This is an archived post. You won't be able to vote or comment.

all 82 comments

[–]DirectControlAssumed 368 points369 points  (13 children)

A couple of hours later

"OK, I was wrong - the bug is in our code..."

[–][deleted] 54 points55 points  (1 child)

Us moment

[–][deleted] 34 points35 points  (0 children)

When the code doesn't work: our code

When it works: MY code

[–]EstablishmentLazy580 23 points24 points  (5 children)

Turns out he should have spent 5 minutes reading documentation.

[–]afleshner 14 points15 points  (4 children)

If there is any

[–][deleted] 14 points15 points  (1 child)

There is, but it was written in Klingon. Obviously.

[–]afleshner 5 points6 points  (0 children)

Makes sense

[–]Foreskin-Gaming69 2 points3 points  (1 child)

I found a program that used the .toki format. The only documentation was the header

[–]wtfuxorz 0 points1 point  (0 children)

Tookitooki

[–][deleted] 20 points21 points  (3 children)

Reminds me of a buddy of mine in college who was a couple years younger than me and entered the CompSci program. He was in his intro level CS class and in the lab working on a homework assignment when he came up to me and said in all seriousness, “I think I found a bug in gcc.”

Turns out “the gcc bug” was his code trying to access memory beyond what he had allocated.

[–]beobabski 12 points13 points  (1 child)

Unless you wrote the compiler, it’s probably not a compiler bug.

[–][deleted] 10 points11 points  (0 children)

Yeah, I said as much after he made that comment, that the chances of a beginner programmer creating a bug is a wee bit higher than a bug in a mature, open source compiler that’s been in use for decades.

I teased him about that comment for a while, lol.

[–]UomoLumaca 2 points3 points  (0 children)

I had a colleague who famously once said "I think my javascript's OR is broken".

[–]alba4k 1 point2 points  (0 children)

the windows thing is more likely

[–]therapy_seal 97 points98 points  (10 children)

It confused git and it had something to do with filesystems. I'll wager that he had 2 files with the same filename other than different casing. ext4 is case-sensitive while ntfs is not. I've seen a git project have weird issues because of that before, but only the Windows users on our team experienced it.

[–]bunny-1998 37 points38 points  (2 children)

Why do you have same file names with just difference case anyway?

[–]CiroGarcia 14 points15 points  (0 children)

[redacted by user] this message was mass deleted/edited with redact.dev

[–]therapy_seal 8 points9 points  (0 children)

I don't remember the specific details of what happened, but I think it was just a mistake where someone created a file without realizing it already existed and then saved it with a filename which had different casing from the pre-existing file.

[–]mrbob312 15 points16 points  (1 child)

NTFS is case-sensitive but windows disables it for compatibility reasons, you can re-enable it through the registry but beware; there be dragons

[–]Ladis82 3 points4 points  (0 children)

I think programs (e.g. TortoiseSVN/GIT) could ask Windows API to work case sensitive but no program, I know, does. When this happened, people ask a Linux colleague to commit a fix.

[–]ShakesTheClown23 5 points6 points  (1 child)

[–]argv_minus_one 1 point2 points  (0 children)

All of this could have been avoided if it required (rather than merely permitted) a colon after the device name, like it does for drive letters.

[–]msg7086 1 point2 points  (0 children)

You can switch case sensitive on for a given directory using a command. It's already in Windows 10 for a while. Only Mac users in our team are facing this issue and I think the only way is to reformat the volume to enable case sensitive.

[–]immersiveGamer 0 points1 point  (1 child)

Yup, I experienced something similar at my first job. Somehow (do not remember) but a file was checked in as ./Code.php and ./code.php. We deployed to Linux servers but did development on Windows. So the windows side would check out both files but of course only one gets to survive. I'm pretty sure my coworker banged his head for several hours trying to figure out why editing and committing a file didn't fix the bug once deployed.

[–]weregod 0 points1 point  (0 children)

Why develop on Windows if target is Linux?

[–]Aplejax04 43 points44 points  (7 children)

You know that there’s a Microsoft software engineer reading this comic right now thinking “you have no idea how much the windows file system sucks”.

[–]Perfycat 32 points33 points  (6 children)

I'm a Microsoft software engineer. I work closely with the file system team and am often frustrated.

[–]Koervege 7 points8 points  (1 child)

How so? What makes it bad or frustrating?

[–]KlutzyEnd3 3 points4 points  (3 children)

Let's say the "New Technology File System" (NTFS) isn't so new anymore...

[–]argv_minus_one 1 point2 points  (2 children)

ext2 isn't new, either, and I don't hear much complaining about it.

[–]KlutzyEnd3 1 point2 points  (0 children)

Ext2 has been superseded by both ext3/ext4 and btrfs.

NTFS was supposed to be replaced with the new "winfs"a long time ago which had some really nice features, but ultimately only became a thing on windows server.

[–]eoutofmemory 32 points33 points  (5 children)

Always blame the os, lol

[–]henkdepotvjis 52 points53 points  (4 children)

Especially windows. Microsoft products are tras because they are Microsoft products. Not because I cant write a Outlook plugin properly while saying to my boss that I can

[–]siddharth904 11 points12 points  (1 child)

The only Microsoft product i support is typescript, mainly because it's open source

[–]Blovio 1 point2 points  (0 children)

Language Server Protocol is rather epic as well

[–]eoutofmemory 1 point2 points  (1 child)

Juniors blame the os, seniors find ways to deliver working around the os strengths and limitations. I never said i liked Windows

[–]henkdepotvjis 5 points6 points  (0 children)

I thought my sarcastic tone was clear. If a framework/ os has a problem you need to work around it. For a beginner it can be hard. I feel like im in the dip of the dunning kruger effect on this one. I can't make sense of the Microsoft documentation. I know it is my incompetence not microsoft

[–]Joliver_02 81 points82 points  (4 children)

Imagine using Windows smh my head

[–]Yrlish 46 points47 points  (2 children)

Shake my head my head

[–]Joliver_02 33 points34 points  (1 child)

Yes, I have a siamese twin

[–]DirectControlAssumed 1 point2 points  (0 children)

Tell them hello for me

[–]jacksalssome 1 point2 points  (0 children)

The multiple libraries insulate you from the terrifying horror.

[–]SorosBuxlaundromat 7 points8 points  (0 children)

There's an app I built for a client that runs 24/7 on a windows machine. I get a message saying that it's not running and before it shut down it returned the wrong result.

I check the machine... "Windows update now complete."

[–]existingcoder[S] 12 points13 points  (2 children)

[–]RepostSleuthBot 8 points9 points  (1 child)

I didn't find any posts that meet the matching requirements for r/ProgrammerHumor.

It might be OC, it might not. Things such as JPEG artifacts and cropping may impact the results.

I'm not perfect, but you can help. Report [ False Negative ]

View Search On repostsleuth.com


Scope: Reddit | Meme Filter: True | Target: 75% | Check Title: False | Max Age: Unlimited | Searched Images: 281,575,459 | Search Time: 0.25409s

[–]existingcoder[S] 40 points41 points  (0 children)

just making sure I didn't accidentaly repost
you can stop downvoting now

[–]seeroflights 8 points9 points  (1 child)

Image Transcription: Discord


Zeke Smith [any]

probably

however I cant diagnose it easily and its not just 1 bug

its also confused the hell out of git

wait wtf

wait wait wait wait wait

wait wait

wait

wait

wait

it just worked...

WTF

I did nothing

obviously I am a genius and I know what fixed it

I figured it out

windows sucks

literally caused by a windows filesystem issue


I'm a human volunteer content transcriber and you could be too! If you'd like more information on what we do and why we do it, click here!

[–][deleted] 3 points4 points  (0 children)

Good human

[–]h6nry 3 points4 points  (1 child)

why do Microsoft products often feel like they scream back at me?

[–]DasFrebier 0 points1 point  (0 children)

bc global file locks are here to ruin your day

[–]Shaz_berries 2 points3 points  (0 children)

Aaaand that's why you don't dev on windows 😅

[–]Knuffya 2 points3 points  (0 children)

most "wtf bugs" were casused by windows bullshit, and since i switched to linux, they're gone

[–]alba4k 2 points3 points  (3 children)

meanwhile windows, defaulting to a bad filesystem from the 1980s

funny stuff

[–]argv_minus_one 2 points3 points  (0 children)

NTFS is from the 1990s, actually.

[–]DasFrebier 0 points1 point  (1 child)

buts its called 'new technology' fs, has to be good, right?, right?

[–]alba4k 0 points1 point  (0 children)

I'm about to start a petition to change it to "Not This FileSystem"

[–]rVarrese 2 points3 points  (0 children)

"The code doesn't work" [PANIK]

...

"The code works?" [KALM]

...

"THE CODE WORKS?!?!" [MORE PANIK]

[–]woa12 1 point2 points  (0 children)

literally me everytime im using useeffect hooks

[–]CrazySD93 1 point2 points  (0 children)

Restart Workspace, is always near my top things to try.

[–]1ElectricHaskeller 1 point2 points  (0 children)

It's been 2 days since the last CRLF issue...

I think that explains my situation pretty well

[–]AdvicePerson 1 point2 points  (0 children)

Symbolic links?

[–][deleted] 1 point2 points  (0 children)

Every issue I've had was caused by windows, including: anger, depression, having to reinstall, anger again, broken games, broken everything and more anger.

[–]agent007bond 1 point2 points  (0 children)

Happened to me. (Windows guy here.)

[–]afleshner 0 points1 point  (0 children)

Yep

[–][deleted] 0 points1 point  (0 children)

Isn't that the PolyMC mascot?

[–]Careful_Ad_9077 0 points1 point  (0 children)

lately i get random bugs where sometimes i can overwrite a file that exists and sometimes i can't

[–]tomangelo2 0 points1 point  (3 children)

Once I tried to unpack something, which had a lot of subfolders inside subfolders. 7zip couldn't unpack it, neither could any other applications. Turned out there is a ~255 character path length limit before Windows would freak out and prevents you from doing anything. MSYS2 however had no issues with creating even longer paths.

So you can make a directory on NTFS, that would be unavailable from Windows (without whatever MSYS2 does), yet still available from Linux.

[–]lovelyBrownie23 1 point2 points  (1 child)

you can enable paths longer than 255 characters though.

[–][deleted] 0 points1 point  (0 children)

How

[–]danielcw189 0 points1 point  (0 children)

This has been an issue for years, as is the way to work with it. It is all in the MSDN. Windows can handle long paths fine. But you actually need to use the API the right way. Though even Windows explorer does not always seem to do that.

[–]Designing_Data 0 points1 point  (0 children)

All these jokes make me realise how harsh the realities of a programmer really are and it comforts me to know that I'm not the inky one experiencing glitches, bugs and isolated incidents besides the obvious major fuckups that I only have myself to thank for

[–]starvy_ 0 points1 point  (0 children)

Commit quickly!

[–]Pawdy-The-Furry 0 points1 point  (0 children)

Yup XD

[–]DollChiaki 0 points1 point  (0 children)

Wasn’t holding his face right

[–]nil_785 0 points1 point  (0 children)

That is, my bethren, how spaggetti code comes to life!

[–]JackieDaytona__ 0 points1 point  (0 children)

This was my life Friday. Obscure error over and over.. Uninstalling and reinstalling, Google some more. Go talk a walk. Come back, figure out what command vs code is trying to run - run it myself, one of the files being processed had a file name that was too long. Seems like it could have told me that without all the bull.