If you thought misspelling a variable was bad, then get ready for misreading documentation of OS API, then not realize why your implementation doesn't work for a quite a long time.
@gyanendraknojiya my fellow developer somehow had a zero-width space in the endpoint name he was making request against, and it drove him crazy for almost an hour.
I spent such a long time the other day trying to figure out why I couldn’t access an application I wrote and served on a home server from my reverse proxy. Next day I take a look at the DNS record I setup again, CNAMEd to the host server instead of the reverse proxy server. Felt dumb.
The older I get the more impatient I get with stupid tasks that take longer then they should. I simplify my life by focusing on the task ahead of me. Knowing these small tasks compound into the final goal.
So when I am looking through 17 different folders for a file I can't remember what I saved it as and I'm sorting by date and opening things frantically...
'it's been 20 fucking minutes, should I just take the rest of the day to organize my shit? But if I get this fucking thing done I can setup a meeting on this today and fit it in this week before Juan goes on vacation and I have to wait two weeks to place an order that will take 6 months to deliver.'
'Fuuuuuuuuu where the fuck is this file, I'll just start from scratch and I'll be done by 2pm just in time for it to go on the calender so everyone can seee. Or maybe i just look another 15 minutes wheeerreeeee the fuckkkk did I save this?!?!'
'Bullshit bullshit bullshit!"
Google: how to find file.
Google: how to find file just working on.
Google: how to find excel file by date, most recent.
Google: file not in recent, why come?
Google: did I dream a this nightmare wake me, wake me, wake me.'
This literally happened to me yesterday, but with filenames. I was failing to configure a program until an hour later I found out that I mispelled the config file as colors.ini instead of color.ini.
Static types are great, but not exactly what would have helped here, any decent language or at least a linter should catch the use of a not declared identifier.
I spent like 3 hours yesterday deduplicating two functions that were hundreds of lines long and nearly identical. I should probably learn how to use that git command that can diff two files on disk. Luckily I actually enjoy cleaning up code sometimes.
Dunno what OS's it supports besides Windows but I use Kdiff for random comparisons regularly, I think it works pretty well untill you get to much larger files (20+ MB slows down a lot). The huge file wasn't code but needed to check output changes for those curious.
I constantly check git comparison with previous versions to see what changed to break things in a build though. Didn't know there was a way to diff any files in git,should probably just learn to use that one.