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

Programmer Humor

19623 readers
2 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
597
submitted 4 months ago* (last edited 4 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] 4 points 4 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 4 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.