this post was submitted on 18 Jul 2024
599 points (95.7% liked)

Programmer Humor

19817 readers
63 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 2 years ago
MODERATORS
599
submitted 5 months ago* (last edited 5 months ago) by [email protected] to c/[email protected]
 

Literally. I open up my terminal and try to cd Desktop only to be told that no such file exists. I thought for sure everyone this was happening to was just not reading something correctly and were foolish. Nope! It literally began deleting my files.

Edit 2: Even once it's done and you have them locally and not "on demand", the Desktop is in ~/OneDrive/Desktop instead of ~/Desktop. See this helpful comment.

It looks like there might be a way to sort of disable Files on Demand but it looks like it won't let me do it until it's done uploading? I'll post updates.

Not to be dramatic, but I'm really going through it. My mouse logitech mouse is suddenly chattering really bad and double clicking everything. Also while Steam refuses to let me disable auto updates for all games in any sort of easy way. And DDG seems intent on only showing me results related to launching games without updating (as opposed to merely disabling auto updates until I launch). The chatter fixer I found for my mouse does not work and the other requires some logitech program to even try to use. (The repo doesn't mention the name.) This is awful. When it rains it pours, I guess. Literally can't even high light this text to wrap it in a spoiler. This is fucking stupid.

Context: My parents have a family plan for Microsoft 365 they added me too and it has 1 TB of storage I can use. I wouldn't have turned it on otherwise.


Edit: My desktop background has literally vanished and turned solid black.

DO NOT ENABLE ONE DRIVE.

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 38 points 5 months ago (3 children)

There was this mini golden era around 2019 or so where it really seemed like Windows was getting their shit together. I think a lot of places use Macs for development now and Windows was trying to get that market share back. Stuff like the new console and WSL were amazing.

[–] [email protected] 14 points 5 months ago

Yeah I swear from when Nadella took over until like 2 years ago, Microsoft really seemed to be on the right route. They were becoming the "good guys" of big tech companies.

WSL, actually being really good stewards of GitHub, Chredge actually (at first) being way better for users than Chrome, the amazing revitalisation of some of their oldest and most loved game franchises like Age of Empires and Flight Simulator.

But then recently we've had Microsoft adding shitty AI to everything, from Edge to Windows. We've had that AoE revitalisation tarnshined by showing off a really shitty official mobile game with all the makings of a typical pay 2 win time sink. The Age of Mythology remake has obvious AI art featured in it despite them insisting no AI was used (though thankfully the actual gameplay is as good as hoped for, at least). We've got large layoffs and other shitty corporate bullshit towards workers.

[–] [email protected] 4 points 5 months ago

It was earlier, when they released Windows 7 and it was the first (and only) release, management gave development a largely free hand and they could bring down some technical debt.

But apparently that didn't work out for Microsoft and now we get one dystopian news after another.

[–] [email protected] 3 points 5 months ago (4 children)

WSL sounds really cool, but I was already gone by then. How well does it work/compare to bash?

[–] [email protected] 11 points 5 months ago

It works well - for a Windows subsystem. It is well-integrated but also separate which can be annoying sometimes.

For example, you might code in Python in VSC against a WSL folder but make a script to eventually run in Windows. You need to install and update Python twice then - a Linux and a Windows version (obvious, but can be annoying).

WSL is also really slow, especially for filesystem heavy stuff. You know how on Linux programs sometimes run faster via Wine/Proton than on Windows itself? Yeah, this is the other way around.

[–] [email protected] 5 points 5 months ago (1 children)

It isn't bash, it's Linux that's well-embedded with the rest of Windows. You can get most Linux stuff working reasonably well, and you can even get a working GUI of some distros.

[–] [email protected] 3 points 5 months ago (1 children)

Just saying 'bash' was ineloquent of me; could I easily open a terminal that feels like a Linux/UNIX shell?

Though from your comment, I expect the answer is "Yes."

[–] [email protected] 6 points 5 months ago

Yes, even Cygwin and Git for Windows feel like a Linux shell despite being less like Linux than WSL.

[–] [email protected] 4 points 5 months ago (1 children)

Honestly the type of stuff I do works good enough with MSYS through Git for Windows (which is a basic bash environment). There are three ways to get bash on windows,

  1. MSYS/Git for Windows: Lightest choice. Least capable. Very easy to set up.
  2. Cygwin: Only works with Linux stuff made for Cygwin. Pretty useful all in all but really weird to set up. Babun was my favorite way to use it.
  3. WSL: The most Linux like but at the steep cost of being very disconnected from the Windows side. It feels more like a VM than a shell sometimes.

I preferred the simplicity of Git for Windows and Cygwin. Now, if I still had Windows on a work computer I probably would've deep dove into WSL and figured it out more.

[–] [email protected] 1 points 5 months ago

Most useful things i found in wsl that made it not feel like a vm is knowing the wslpath command, and the fact that it can execute any exe such as explorer.exe (which works for even wsl directories). those two things let you use sed/grep/awk on files in windows and execute any exe on stuff in linux.

[–] [email protected] 2 points 5 months ago

We tried to onboard two devs into our project earlier this year with it and it was not good.

We spent 4 days trying to get it to work, and had all kinds of problems from VPN not working, DNS not working and compile times being 20x slower (as I later learned, you're not supposed to use your Windows NTFS partition inside of it). Partially, this has to do with our corporate environment being annoying, but it simply being different from a normal Linux in this regard is still annoying.

On the fifth day, we set up a Linux VM with them and they were ready to work in an hour.