Live data from Hacker News

MS Teams channels cannot contain MS-DOS device names

learn.microsoft.com

41–50 of 364 posts

Re: MS Teams channels cannot contain MS-DOS device names

#41
post #24

Why is it that most "chat/conference" apps become horrible sooner or later? I still remember when teams used to be an OK app. It even had a Linux desktop client. I remember when slack was actually fast, I remember Skype out being more reliable to make phone calls than my mobile/cell service. Today slack is extremely slow if you add few organisations to it (but at least you can add more than one). Teams has deprecated…

It's easier to add things than fix annoyances.

Re: MS Teams channels cannot contain MS-DOS device names

#42
post #33

Earlier quoted context omitted.

> essentially leaking the existence of something terrible inside It's just a restriction imposed on SharePoint folder names bubbling up. Nothing fancy.

i was going to write a bunch of suggestions for solving the problem but then i remembered i hate microsoft

[deleted]

Re: MS Teams channels cannot contain MS-DOS device names

#43
post #33

I was about to say "Which is essentially leaking the existence of something terrible inside. They should be embarrassed to say something like this in public. Like saying you can't have %s or $PS1. Why the hell not? What are you doing with this user-supplied input?" But maybe it's more about what everyone else might do with a channel name. Ie they might cut & paste it anywhere, and I guess windows users aren't expecte…

> essentially leaking the existence of something terrible inside It's just a restriction imposed on SharePoint folder names bubbling up. Nothing fancy.

Those should obviously be UUIDs. Labels and titles should be a simple changeable, internationalizable attribute.

Like usernames. You don’t use usernames as primary keys for anything, do you? What happens when people marry?

Re: MS Teams channels cannot contain MS-DOS device names

#44

Earlier quoted context omitted.

Agree BC is a laundable goal and appreciate their efforts. Though I do wish it didn't include limiting passwords to obscenely short lengths or absurd subsets of characters.

Yeah those 8+3 file names sure birthed some creative abbreviations. Necessity, mother, all that

Brevity forces thought, which I prefer to "Putting a Sentence in a File Name.docx".

FORTRAN originally had the same limitation for function names, and that lead to some classics such as GEMM and SAXPY.

Re: MS Teams channels cannot contain MS-DOS device names

#46
post #33

Earlier quoted context omitted.

> essentially leaking the existence of something terrible inside It's just a restriction imposed on SharePoint folder names bubbling up. Nothing fancy.

Those should obviously be UUIDs. Labels and titles should be a simple changeable, internationalizable attribute. Like usernames. You don’t use usernames as primary keys for anything, do you? What happens when people marry?

And what happens when you sync sharepoint to your windows files?

Re: MS Teams channels cannot contain MS-DOS device names

#47
post #26
post #22

This is such a Microsoft thing to do. DOS compatibility will haunt us for the rest of this century at least.

Sometimes I wish we had fresh clean slate OS. Not the baggage of DOS or Unix... Something modern and sensible without insanity of either system.

Haiku? (if finished)

Re: MS Teams channels cannot contain MS-DOS device names

#48
post #20

Earlier quoted context omitted.

I was about to say "Which is essentially leaking the existence of something terrible inside. They should be embarrassed to say something like this in public. Like saying you can't have %s or $PS1. Why the hell not? What are you doing with this user-supplied input?" But maybe it's more about what everyone else might do with a channel name. Ie they might cut & paste it anywhere, and I guess windows users aren't expecte…

The Something Terrible in this case is early DOS which did not have separate folders. So the device files were in the same namespace as the user's files, so the user couldn't name a file CON or LPT1. These are preserved for backwards compatibility. To this day you can write a program that writes to a CON file in any folder, and the program will print the write to console.

This has actually changed a bit in the last few years. In Windows 11 writing to `.\CON` will write to the file but writing to `CON` will still write to the console.

Re: MS Teams channels cannot contain MS-DOS device names

#49
post #4

Just imagine the deep commitment to tech debt that results in this

One man's tech debt is another man's API stability

One man's API stability is another man's perpetual nightmare, especially if the API is bad. Things have to change to get better, and if systems are designed in a way which prevents API improvements, then you will just have perma-crap software.
Post reply on HN