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

Programmer Humor

19463 readers
265 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
583
submitted 3 months ago* (last edited 3 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.

top 50 comments
sorted by: hot top controversial new old
[–] [email protected] 207 points 3 months ago (6 children)

OneDrive is literally built on fucked tech from the get go and Microsoft initially even pointed out in its online documentation that it is NOT a backup solution, but just a way to enable cloud sharing of documents to access them from anywhere. Their higher-ups decided to make it into something it was never originally intended to be, which is why it is constantly a disaster with people losing documents due to sync problems.

Sorry for the rant, I just fucking hate OneDrive with a deep passion due to the higher leadership at my work forcing us to shutdown our local file shares and making our entire org migrate all our data to SharePoint Online. It has been a miserable transition and I'm in charge of migrating over 100TB and tens of millions of files from over 30 departments. Let me just say SPO is NOT a fileshare solution, and despite me pointing this out countless times it has fallen on deaf ears. Everyone hates it and its limitations are insane (e.g. no more than 100,000 files per document library, 400 character limit for file paths including the base URL, etc). And on top of that all, we have warned customers countless times NOT to sync their OneDrives to any document library or they WILL have problems. Do they listen? Of fucking course they don't. We've had endless tickets and the migration isn't even complete yet.

Tldr; fuck OneDrive and fuck SharePoint Online.

/Endrant

[–] [email protected] 44 points 3 months ago

fuck OneDrive and SharePoint online forever. That migration sounds fucking terrible lol, we just got done doing something similar although much lower scale. The character limit for sure was a huge headache, so is the 100,000 file limit.

[–] [email protected] 26 points 3 months ago* (last edited 3 months ago)

I feel your pain man. Our university of 40k people did the same thing “from on high” and we ran into the same problems in our lab. We only had 4 million files to move into a Teams share. Which, btw, takes about 5 weeks to “sync” to OneDrive, which is how we were expected to replace our workflow instead of a shared network storage drive our lab owned

q_q

load more comments (4 replies)
[–] [email protected] 143 points 3 months ago* (last edited 3 months ago)
[–] [email protected] 101 points 3 months ago (19 children)

Was a computer repair tech until a few months ago. About 6 months ago this older guy brought in his laptop because he had been hacked and they had changed his password. Was able to change the password to something new using some fancy tools but upon getting in all his files were still missing. Turns out OneDrive was on and ALL of his important files were only on OneDrive and not the computer. Well, Microsoft had changed his password when the hackers changed his computer password so he was locked out and Microsoft didn't believe he owned the account anymore since he didn't know the password. After weeks of calls he just gave up trying to get his stuff back.

Fuck OneDrive.

[–] [email protected] 8 points 3 months ago

I'm confused. Wouldn't he have access to his email and maybe phone number that is attached to his Microsoft account to prove who he is?

load more comments (18 replies)
[–] [email protected] 75 points 3 months ago* (last edited 3 months ago) (1 children)

I am aware that on a Windows machine, turning on a OneDrive subscription (or at least an E5 license, is where I'm very specifically talking about), certain folders get moved from c:\users\[username] into c:\users\[username]\OneDrive. Then OneDrive syncs those locations up to 365.

If you just open cmd (not as admin), it will put you at c:\users\[username] and then if you just cd desktop ... yeah, that's empy now. dir in c:\users\[username] and I bet you'll find a OneDrive folder.

Of note, the default user folder paths that get changed are \Attachments \Desktop \Documents \Pictures. \Downloads stays at c:\users\[username]\downloads

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

Oh my god, you're right. Thank you! You just saved me a lot of stress. Because it finally finished and I selected to keep my files locally but the desktop was still "gone."

There are still some other weird things going on but they're minor. My desktop background is just solid black instead of the image I was using and none of the icons on my desktop have the little arrow thing saying they're shortcuts.

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

Background is probably black because it's still pointed at the old, non-onedrive, path that no longer leads anywhere.

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

Windows: I will move this folder because I feel like it

Also Windows: Oh no bro! Where's the file I was pointing at???

[–] dgriffith 13 points 3 months ago (1 children)

Windows: "All your files are exactly where you left them."

[–] [email protected] 11 points 3 months ago (2 children)

Windows: "All your files are exactly where ~~you left~~ I moved them."

load more comments (2 replies)
[–] [email protected] 8 points 3 months ago

Desktop background (or other theme stuff) - easiest way is to just reset that to what you want.

The arrow overlay on .lnk files, you could check regedit HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer for a "Shell Icons" key ("subfolder"), which should only be there if it was added manually, but I'd be interested in what it was if it was there.

You could also try rebuilding the icon cache.

I have to think that both of these have something to do with the system looking in the "old" place for the desktop background image and the icon cache, and not finding them there.

load more comments (1 replies)
[–] [email protected] 67 points 3 months ago (2 children)

Big thanks to Microsoft for their efforts to advertise Linux.

[–] [email protected] 34 points 3 months ago (10 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.

[–] Zagorath 14 points 3 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.

load more comments (9 replies)
load more comments (1 replies)
[–] [email protected] 53 points 3 months ago* (last edited 3 months ago)

Just an FYI, Windows likely just moved your files from users\[username] to users\[username]\OneDrive instead. When OneDrive sets itself up, it basically grabs all of the relevant folders and moves them into a single “OneDrive” folder. Not a huge issue if you’re setting up the PC for the first time. But if you’ve been using the PC for a while, it’ll break everything because now all of your local files have moved and none of your systems are pointing at the right location anymore. For instance, your desktop is likely black because your image file got moved into that OneDrive folder.

[–] [email protected] 46 points 3 months ago (2 children)

I'm so glad I purged windows from my systems this year.

Go fuck yourself Microsoft.

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

Hell yeah bro same. I've been amazed at how much better Linux is in just about every way, except for native software availability, but it'll get there. I feel like Microsoft is approaching the tipping point for shit people will put up with, and desktop Linux is so good now that non-technical people can move over to it.

load more comments (1 replies)
[–] [email protected] 16 points 3 months ago* (last edited 3 months ago) (2 children)

I already planned on my next computer being Linux Mint, but it's getting more and more desired as time goes on.

I was playing Elden Ring when it began stuttering, turns out Windows Defender was just constantly reading the disk (I still have a hard drive). Finally turned off maximum priority (seemingly random) scans in task scheduler when I began stuttering again. This time it was Windows Compatibility Telemetry taking up 50% of the disk, until I finally found a way to turn that off.

It'd be so nice to have an OS that doesn't run random unnecessary things without your permission.

[–] [email protected] 12 points 3 months ago (8 children)

No time like the present!

I shifted all my important data to an external disk, wiped the main ssd, slapped Debian on there, then moved the data back. Great way to spend an afternoon.

load more comments (8 replies)
load more comments (1 replies)
[–] [email protected] 28 points 3 months ago (4 children)

For your mouse double click issue, I have a g600 and ran into the same thing. It's due to a teeny tiny copper plate in the switch degrading over time. I'm not confident in my soldering skills to swap out the whole switches, but I was able to buy some new switches for like $5, pop open the little plastic switch box, carefully pull out the little copper plate with tweezers, pop open the switch on my mouse, and carefully replace the little copper plate with the new one. Worked like a charm.

[–] [email protected] 10 points 3 months ago

Are you me? I had the same Logitech mouse click issue and fixed it the same way; ordered extra switches online, opened them, and swapped only the copper plate. Mouse click works like a charm, as you said.

load more comments (3 replies)
[–] ryannathans 27 points 3 months ago (1 children)

Clearly user error

ReasonFor using onedrive

load more comments (1 replies)
[–] [email protected] 21 points 3 months ago (1 children)
[–] [email protected] 10 points 3 months ago (1 children)
load more comments (1 replies)
[–] [email protected] 20 points 3 months ago (1 children)

If I remember right for steam, you can't disable updates for all games, but you can set some restrictive rules for when it can update. Stuff like it can only download updates for 1 minute monday morning at 3am.

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

Ooooh, this might be a great workaround. If I launch a game does it override this to download the update immediately?

[–] [email protected] 11 points 3 months ago* (last edited 3 months ago) (1 children)

If you launch a game through Steam and there's an update available for it, then Steam will force the update before it will run the game. Some games can be run by navigating to its install directory and running the executable directly, that should bypass any updates but will not work for all games.

load more comments (1 replies)
[–] [email protected] 9 points 3 months ago (1 children)

You can also use offline mode.

load more comments (1 replies)
load more comments (1 replies)
[–] [email protected] 16 points 3 months ago (2 children)

wth are you windows people doing? isn't this just supposed to be some cloud storage?

[–] [email protected] 8 points 3 months ago

It’s roaming profiles plus folder redirection plus offline files.

Among the three it’s guaranteed to be 100% fucked.

load more comments (1 replies)
[–] [email protected] 15 points 3 months ago

been unable to login to our auth server today so basically free day at work, thanks crowdstrike

[–] [email protected] 11 points 3 months ago* (last edited 3 months ago) (11 children)

One drive does suck nards, but for your double clicking; logitech has been using shitass switches to detect clicks for a while now. They sooner rather than later fail to click once. Only solution I’ve found is to replace the switches (hard mode), or keep using the logitech mouse I have from 2009.

It’s sucks, but you just gotta go for another brand. Even razer doesn’t have such a rampant double click problem.

Logitech enshitified their dominant market position by cheaping on switches - works for them, they sell more mice (if you don’t put together they’re the source of the problem and it’s not a one-off issue).

load more comments (11 replies)
[–] [email protected] 11 points 3 months ago* (last edited 3 months ago)

I only know about OneDrive for business, but you might check the recycle bin in OneDrive online.

Edit also OneDrive changes the folder where your desktop is mapped to, so you might make sure you are CD'ing to the right location

[–] [email protected] 10 points 3 months ago

I just want you to know that I tried to read this comment, got bored because it got technical, (user problem) and scrolled to the bottom to find the very helpful, important part, in giant letters and bolded. And I appreciate you.

[–] [email protected] 9 points 3 months ago (2 children)

In related news, I have had zero issues with my home network drive that is shared to the internet through FTP. Don't use OneDrive unless there's a really compelling reason to do so.

load more comments (2 replies)
[–] [email protected] 8 points 3 months ago (1 children)

It happened to me once, disabled cloud backup on my documents folder, and onedrive decided if it can't have my folder, no one can

I did get my data back, since onedrive kept it in the rubbish bin or somewhere like that

After that i nuked onedrive from my laptop, and now i use arch btw

load more comments (1 replies)
[–] [email protected] 8 points 3 months ago (1 children)

OneDrive is the devil. It symlinks the file structure on Windows and then moves all your photos and such into their chosen directory. If you uninstall it, it makes a half-hearted attempt to move them back, maybe, but will just do a random subset and give up.

After removal, you have to edit registry keys (obscure ones) to break Windows' connection to onedrive\pictures and such, or you end up with two pictures folders in your home dir.

So much more fail I can't even remember right now.

load more comments (1 replies)
[–] [email protected] 7 points 3 months ago

Regarding your mouse double clicking, some Reddit users suggest pressing the click button quite hard a few times...

[–] [email protected] 7 points 3 months ago

Oh wow. My one drive has been contained to it's own file area for ages now. I wish I could remember how I did that.

I did just recently tell Microsoft to kick rocks when they offered to back up my computer though, it wasn't that was it?

[–] [email protected] 7 points 3 months ago

Me signing into active directory

load more comments
view more: next ›