yes, kinda, but it is not like you open it through IDE and MPV is opened (well, you can make it happen, but by default it shouldn't behave like that) it's more like if you install some media player, like VLC or MPV, but haven't install any text/code editor, when you double click a .ts the media player would open the file and try to "play" it instead
Where would those MIME types be stored? Some kind of "extended attribute"? That's a ridiculous idea, nobody would ever do that. It's definitely not something that graphical OSes had in the 1990s or anything.
TBH I primarily don't use any view like that on my own systems, but my work involves seeing other people's screenshare and I am very familiar with vicarious pain.
Yep, but as you say, that's only for if you lose the EA. It'd be incredibly inefficient to do that every time you double-click on something, and there's probably going to be times you want to override it anyway.
Probably because mime types are invisible. File extensions are much easier to understand for your average computer user. Additionally, they survive transfer operations over file systems that do not support extended attributes, like FAT32, which is still one of the most commonly used FS for USB flash drives and SD cards.
it's a filesystem attribute so it gets stripped all the time and you can't easily change it. it's like /path/to/app is in permission field. just imagine that. it just sucks and file extension is a BETTER solution to this problem.
Linux (of course referring to the Linux ecosystem) registers by mime type and I have had absolutely zero issues. Plus I can keep my mimeapps.list as part of my dotfiles which is a nice bonus.
Imagine on the commandline, the only way to sort your pictures from your textfiles were to look into every single one of them. Obviously file extensions solve a very practical problem in a very elegant way: what attribute is guaranteed to be available on any user-servicing file system? The name.
isn't GitHub uses something under the hood to deduce what language is used in a given repository? i forgot the name of the repository but if it's easy to distinguish then it should be fairly straightforward to submit some fix
My job would be willing, we did have a jetbrains developer here, but I don't spend money for the sake of spending money, so this isn't an argument. Spend what $150-$200 a year for someone to manage my vscode extensions for me? They took 5 minutes to set up once.
Here's a position and I think you would agree: fuck subscriptions, and while I'm here fuck renting in general.
Well, .ts is file extension used for type script. At the same time, .ts is extension used for video *containers. So it is possible to accidentaly open typescript in VLC
* MPEG-TS (Transport Stream), its used for stuff like Blu-ray.
Btw one day i have added in register some links to bash files and customized icons to make like a .js looks with nodejs icon and run in it with two clicks 🫣
718
u/deanrihpee Sep 24 '26 •
ah .ts my beloved
(TypeScript and Video Transport Stream)
391
u/StrengthTheory Sep 24 '26
Honestly I'd trust VLC more than VS Code.
85
u/Interesting_Play_578 Sep 24 '26
We call it "safe mode"
30
u/Old_Information6270 Sep 24 '26
💯 tests are green
30
u/flatoutsportsracer Sep 25 '26
…and VLC actually manages to run it fine
26
u/jchowdown Sep 25 '26
Changing IDE settings for fun
Now your code font is 2pt and your IDE font is 72pt
19
u/IronGin Sep 24 '26
Finally a stable code?
10
u/Futurity5 Sep 24 '26
I've had some niche encounters with the .ts issue myself
7
u/FeedAlchemy Sep 24 '26 edited Sep 24 '26
To the dozens of Sega Mega Drive emulation fans out there, I'm sure you can relate.
7
u/NotTheOnlyGamer Sep 25 '26
I mean, why shouldn't VLC work? it works for everything else.
6
u/code_monkey_001 Sep 25 '26
Someone has never worked with InfoPath. XML? Yeah, that's clearly an InfoPath form.
ALL YOUR DTD ARE BELONG TO US!
5
u/Dee4WasTaken Sep 24 '26
Video Language n' Code, the 3 horsemen of media
13
u/fedsmoker9 Sep 24 '26
Who the fuck has this ever happened to. What kind of I’m 14 and just started programming humor is thi
3
u/ajayak007 Sep 24 '26 edited Sep 24 '26
My code getting executed is a success in my dict.
2
u/dalr3th1n Sep 24 '26
Believe it or not, still works.
1
u/Low-Newt-180 Sep 24 '26
This meme reminds me of 2024 when I was just starting out,fun times those were
1
u/MrJ0seBr Sep 25 '26
So someone embeded a interpret as a video codex... imagine a "codex to ps1 games"
1
u/nierusek Sep 25 '26
Now set Notepad as default app for .exe
1
u/Important_Grab3544 Sep 26 '26
What is an IDE? I am a native vibe coder, I make 6 figures.
1
u/YouAllBots Sep 26 '26
.ts
1
u/FackThutShot Sep 26 '26
My Code is time based so a Video Editor should Suffice as Editor
1
u/AmbassadorKey5049 Sep 28 '26
make sure it runs with 100 % volume and subtitles
0
u/Outrageous_Permit154 Sep 24 '26
T Y P E S C R I P T