One time I struggled debugging a program on a clean Windows machine. For some reason it seemed like it couldn’t find a JSON file that’s obviously in the system. I could even open the file on my own and view its contents.
Turns out after much frustration that the file was actually a json.txt file. I didn’t notice because the extension was hidden, so I only saw .json and thought it was fine.
Step 5 in meme: add ‘.txt’ to seemingly text files.
sounds like vscode.
helix or micro on windows to get away from that garbage.
Notepad is the one that does things like that, because they want you to only use it for
*.txt
files. VSCode does not have issues like that.
At a conference recently, one person accidentally sent the organizer a pdf of their presentation with their notes underneath each slide, instead of the presentation itself, but it was super confusing because the file was “presentation.pptx.pdf” which of course got displayed by windows as “presentation.pptx”. The person who decided to hide extensions by default must be so proud of pulling off such a wide reaching prank
It’s not like I want to defend windows, but If it needs admin permission you usually can’t start it without confirmation.
Everyone knows most people turn UAC completely off after it nags them for the 10th time and they get frustrated and dump it.
Yeah maybe, but if that exact same people would use linux they would sudo or 777 everything which wouldn’t be much better security wise
Let me introduce you to a plethora of industry RedHat users who log into GUI as root for 8 whole hours, everyday.
Sure but if you’re doing rooty stuff all day then sudo you’re sudo not sudo going sudo to sudo type sudo sudo sudo every sudo fucking sudo time sudo you sudo want sudo to sudo do sudo something. And yeah it sudo caches it for sudo a bit but sudo it’s still too sudo much.
Here’s the problem. So many legitimate things need elevation, and often multiple times in a single install. Guess what most Windows users do, when they see an elevation prompt. What do you reckon?
Honestly I don’t think it’s that bad. I have to use sudo just as often on linux as I have to accept the elevation box on win. Win11 has some serious issues but UAC is harmless.
Sudo is very different. You need to explicity enter your password. It may be cached for a short time and I’d argue that’s actually better.
If I’m installing something, it asks for my password once but can then raise to root multiple times that’s fine.
If I’m installing something and it asks for elevation three times, for example it needs to Install multiple drivers. It generates an automatic click when installing for many unexperienced users. It’s dangerous imo.
It can’t really be compared to Sudo.
So you think a person that would turn off UAC wouldn’t just put NOPASSWD in the sudoers? I doubt that. And even if they had to enter their pwd… Wouldn’t that just be annoying for the casual user instead of increasing security? I doubt they would be like “Oh I have to enter my pwd now, that really makes me think twice about whatever I was going to do with sudo.”
Sudo is just clicking “ok” with extra steps, thus making adding and removing programs more annoying, thus meaning the common user will probably just be logged in as root all the time. I challenge you to change my mind.
That’s exactely what happened in my mind when I was getting started with Linux (kind of), although it’s arguably a habit that comes from using Windows where people don’t really think about OS users and permissions
if you give elevated permission to movie.mp4.exe, that’s natural selection
I feel like there’s a lot of misunderstanding about what I’m trying to say.
I’m saying the average windows user will begin to get fatigue when some installers ask for elevation 3 times (maybe more). They’ll end up just pavlovian clicking OK whenever that prompt appears. Which ends up circumventing the whole reason the prompt exists.
I don’t know. Not everyone who uses a computer should be an expert. Not everyone is 100% alert all the time. I know there has to be a line somewhere.
I feel like it would be really easy to have the OS check if the exe is appended to some other extension and force the user to rename it before allowing it to be executed.
There has to be a level of “competently trained user” in there we can strive for. I think we were getting there about the time I was in high school circa 2003, where every last one of us could format an MLA essay in MS Word and do an autosum in Excel.
Something that put me off of Microsoft products for a decade before I switched to Linux was their constant rearranging of the UI, requiring users to re-learn how to do basic tasks that worked just fine.
Don’t forget: Files have execute permissions by default!
where Linux?
50% of being a Linux user is hate towards Windows so I’d say it fits
80% of the reason to move to Linux is hating Windows, so yeah