this post was submitted on 18 Jul 2024
586 points (95.6% liked)

Programmer Humor

19512 readers
313 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 1 year ago
MODERATORS
 

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
[–] Revan343@lemmy.ca 3 points 3 months ago (4 children)

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

[–] RecluseRamble@lemmy.dbzer0.com 11 points 3 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.

[–] TheGalacticVoid@lemm.ee 5 points 3 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.

[–] Revan343@lemmy.ca 3 points 3 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."

[–] JackbyDev@programming.dev 6 points 3 months ago

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

[–] JackbyDev@programming.dev 4 points 3 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.

[–] nutcase2690@lemmy.dbzer0.com 1 points 3 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.

[–] Ephera@lemmy.ml 2 points 3 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.