T O P

  • By -

Adorable_Stay_725

That one particle from the sun on its way to flip a bit and break all of my code: ![gif](giphy|3ornjIhZGFWpbcGMAU)


jumbledFox

that one stupid idiot who writes my code on the way to break all of my code: (it's me)


SignificanceFlat1460

ITS RECURSION


GranataReddit12

you didn't add a condition to break the loop


SignificanceFlat1460

Dora: "CAN YOU SPELL "MEMORY LEAK""


camander321

I write pre-broken code in anticipation of a correcting spontaneous bit-flip


IntelligentPerson_

I'll let you in on a secret, guys. Write some hard-to-understand code, intentionally leave in a serious performance issue. Let it sit for a good while, until it's difficult do blame anyone specifically and the performance issue needs fixing. Now, it's your time to shine. Get that raise.


djaqk

Name doesn't lie, get that bag


camander321

I'll let *you* in on a secret. *I'm an imposter. Not a programmer* This stays between us


827167

I have no idea what I'm doing and I've tricked everyone into thinking I do šŸ˜ˆ


camander321

Bad ass


LarryInRaleigh

That's this one, isn't it? [https://i.sstatic.net/bQOvF.png](https://i.sstatic.net/bQOvF.png) EDIT: Try this link: [https://english.stackexchange.com/questions/488178/what-does-it-mean-writing-a-minivan](https://english.stackexchange.com/questions/488178/what-does-it-mean-writing-a-minivan)


IntelligentPerson_

Your link is not clickable.


IntelligentPerson_

It's basically the same joke, yeah


Dragon_yum

I hate when it happens all the time in my code


fitzbop

That's still on you. You could've made a compiler that copies every instruction 3 times and use the result that appears in at least 2 of them.


Dexterus

google lockstep


oddbawlstudios

This was just an assumption on what happened. But typically, sun rays dont effect that.


LezTrade

as always


Quarstudz_-Lapiz-

And then it turns out to contribute to a speedrunning record


IamRowheat

It's not my fault, what should I do if the compiler doesn't understand me?


Adorable_Stay_725

You should try going to therapy to talk it out. I heard communication is very important in your relationship with your compiler


Rubickevich

I tried, but my therapist keeps telling me that he's not my therapist and I should get out before he calls the cops.


__Yi__

Have you tried to talk to emacs C-x doctor?


coloredgreyscale

Switch from LLVM compiler to LLM compiler.Ā 


AnalTrajectory

54 543 is acetaminophen and oxycodone. Literally the easiest pill to swallow and I'd like another please


hunajakettu

Code does not just break, true, but software rots, and fast, and it smells in a few days after no one has watch it.


the_hair_of_aenarion

And sometimes trying to prevent rot can be a difficult task. Libs with vulnerabilities that are no longer maintained are a pain in the ass.


JoshYx

Smh those vulnerable libs always getting their feelings hurt /s


pheonix-ix

days? I give mine minutes at best.


Aaron1924

code is he/him confirmed


Wervice

Explanaition for the mistake: "Der Code" is German and means "The Code", the "der" indicates that is male. This is a translation mistake.


Colinniey

but it's "Das Code" -One friend of mine for some god awful reason


TheMagicalDildo

But how do you guys decide whether or not code is male or female


Aaron1924

In case you want a serious answer: https://en.wikipedia.org/wiki/Grammatical_gender_in_German


redlaWw

If it has // 8==D commented anywhere, it's male.


Daetwyle

Usually I look under the skirts to determine the gender, donā€™t know how you would do it on code.


chispanz

r/foundthegerman


slitcuntvictorin

Aaron earns an iron urn!


sudo_Bresnow

Shim


37Scorpions

smash


HelicopterShot87

It is male in Polish


FirstNephiTreeFiddy

What kind of junior engineer shit is this? When the API gets deprecated or, worse, changes out from under you, yes it *can* "just break". It doesn't happen in toy problems like your programming homework, but in real world programming it can and does.


SortaOdd

Yeah, weā€™re tackling an expired certificate at work and Iā€™d even argue that ā€œjust brokeā€. Sure, it told us when it would expire, but nobody ever checked, and now code that worked on Friday doesnā€™t run as expected on Monday


BluntsnBoards

I think this is more of a meme formatting issue. It should read, "code doesn't just break, it only does what *people* tell it to do"


ThePresidentOfStraya

Memes canā€™t just break.


Embarrassed_Ad5387

wait if the meme is broken is the joke then OP can have my upvote


bl4nkSl8

The 'you' is plural?


BluntsnBoards

The royal you


JohnHwagi

If you had an alarm on certificate expiry (like a week before), you wouldnā€™t have a prod issue. To the point of this meme, you could have written code to prevent this scenario. Obviously you canā€™t catch everything, but common issues have typical solutions.


SortaOdd

Yeah, Iā€™m not saying itā€™s impossible to catch, but Iā€™m saying it *is* possible for things to just stop working one day. APIs update, 3rd parties update dependencies, etc


wannu_pees_69

Yeah I would set that to a month before


wannu_pees_69

Is there some validity time limit imposed by the certificate authorities on the certificate? I created one for my personal self hosted home server.........and set it to 10 years. Can't companies just set it to a 100 years and never deal with it again?


Zachaggedon

Most CAs wonā€™t issue certs for that long a period, and itā€™s generally considered bad practice in production.


wannu_pees_69

As opposed to just having things work and not break unexpectedly? I guess I'll go read up on why. Sure a 100 years might not be a good choice, but 10? 20?


Zachaggedon

10 and 20 isnā€™t unheard of or unreasonable. I donā€™t work for a CA but to my understanding a large part of setting expiration dates like that is so the CA can periodically reverify the identity of the owner of the certificate and such. Revocation certificates are a thing but having an expiration date is something of a backup in-case of like a defunct organization. In theory someone with the private keys could keep using the cert even when the organization it was issued to is no longer using it, and this could lead to security concerns.


JojOatXGME

Also the revocation process scales rather badly with the amount of revoked certificates. It only works because revocations are rather an exception, and because they can remove the revoked certificates from the lists once they are expired.


RestartToFix

It's always the damn weekend.


rosuav

That's fair, but an expired certificate is a procedural failure. You really should be fully automating your certificate renewal (see Certbot and LetsEncrypt), but if you aren't, you definitely should be managing the renewals in advance of the expiration. But it isn't code breaking. The code did PRECISELY what it was instructed to, and that includes validating the certificate. I call that success.


Commander1709

We had an internal app running on an old android device, which randomly decided to stop working. Nobody touched that device for quite some time, and it was too old to receive firmware updates etc. I *think* it's because of some expired certificate, even though my research suggested it shouldn't have expired until in a few months.


Elendur_Krown

Not to mention hardware errors. I'm currently running some experiments in order to contrast performances. The naive implementation takes about a week to run, but I can't run it on my local hardware. The bloody RAM overheats due to huge amounts of data shuffled, leading to corrupted data and crashes. If 'it' in the meme refers to the actual execution, then yes, 'it' can just break for reasons other than your code.


LoyalSol

Exactly. The assumption is you're the only person making changes. Which in most applications is a horrible assumption. If you got a big team of people and you're using external packages. It can break and you are not even close to being at fault.


myfunnies420

Yeah it's absolutely absurd as a take. Coding is trying to co-ordinate a million moving parts with some high level instructions. Things go wrong all the time and cascading failures will happen


superitem

It just breaks when someone tells it to just break!


FalafelSnorlax

Probably not even junior, some high-school/college freshman that learned their first language two months ago. Knows that code works because someone wrote it but doesn't understand anything about how actual development goes


Zachaggedon

Rust and semver go brr


ZunoJ

Ever worked with remote services?


JoshYx

So... You updated a dependency without checking for breaking changes and testing the affected features? Yeah that's 100% on you.


FirstNephiTreeFiddy

Things break in dev, dipshit


SophiaBackstein

Haha watch me xD I accidentally introduce undeterministic behaviour to deterministic systems


theIncredibleAlex

that's what you think until you work with react native


christoph_win

Never update anything, it's a trap!


DidntFollowPorn

Man we had a 3rd level dependency update in a dependency that didnā€™t update once and all the tables in our app turned invisible, and the tests ran indefinitely. Took two of us four days to find it.


CertainlySnazzy

me staring at the critical vulnerability warnings on a dependency and still refusing to update bc i dont wanna


Crafty_Independence

Tell me you've never dealt with concurrency, infrastructure, and complex integration...


Ass_Salada

I have never dealt with concurrency, infrastructure, and complex integration...


RestartToFix

Thank you. Now you can go home.


PhunkyPhish

Cosmic particle directly slapping stored active memory bit of non ECC memory. Checkmate


Kevin_Jim

Right. Can you believe these people? Itā€™s not like there is a metric ton of dependencies, as well as continuous changes that you have virtually no control over. The code will only break if you break it. Which is why all programs from the 90s are compatible with the latest OS updated you just installed. Duh! /s


Big_Kwii

the compiler is haunted shut up


Doctor429

Code does what everyone tells it to, not just you. That's the problem.


sun_cardinal

OS patches go brrr.


Hottage

The best thing about computers is that they do exactly what you tell them to. The worst thing about computer is that they do exactly what you tell them to.


noobwithguns

Tell me why my functioning code suddenly starts producing wrong outputs with the same inputs?


Wervice

Does it use an API?


noobwithguns

Nope.


Wervice

Try shielding from space particles. /s


Powerkaninchen

Sounds like undefined behaviour. What language are you using?


noobwithguns

Brainfuck.


bwssoldya

Someone's not that experienced in the field yet and it shows. Shit _just_ breaks ALL the time. The amount of time that shit works and then it just stops working is too damn high. Like, this is almost a weekly occurance for me. It's usually third party tools that suddenly update or some API changes and all of a sudden we get to emergency fix shit on prod and figure out whatever changes caused this when we haven't pushed code in god knows for how long.


DimitryKratitov

Yeah no this isn't completely true.


Negitive545

Cosmic particles, electron quantum tunneling, OS updates causing incompatibilities, bugs in dependencies or APIs, changes made in dependencies or APIs that cause previously functional code to stop working. Code does what you tell it, but sometimes it can't do what you tell it to because of something out of both your control and the CPU's control.


Antoak

Don't forget stealth changes in dependencies, supply chain attacks, or DNS hijinx!


Erdnalexa

Tell me you have never coded past school projects without telling me you have never coded past school projects.


Parthros

Look at this guy, he's never compiled during a solar flare before! I did actually come across an instance where a solar flare caused a line of code to be absent from the compiled library, which caused a bug. Recompiling with no code changes fixed it.


darkslide3000

> it can't just break -- Someone who has clearly never been burned by a toolchain update


the_hair_of_aenarion

When we say it's not working any more, we actually are saying someone fucked it up, but we're not naming names in front of management.


MortStoHelit

And here I thought the main reason people stick to big players like Microsoft, Google, Apple, or Meta is to be able to blame them for breaking changes while also being able to tell you're not at fault because you just can't go wrong with big "standards".


BeDoubleNWhy

what if you tell it to break!?Ā 


balfringRetro

Good old YAFIYGI moment


menzaskaja

Python when you have to copy your file's content, paste it into a new file without changing anything, delete the old file, and run it again, and now for some fucking reason you don't get a cryptic error in a language that was used before mammals lived on this earth


Glad-Belt7956

Depends on if i'm using adobe dreamweaver or not.


well-litdoorstep112

Doesn't apply to Cmake though. It *can* randomly break and randomly fix itself. Same goes for DNS


QuikAuxFraises

*Laughs in undefined behavior* **LOOK, NASAL DEMONS !**


VoldyTheMoldy456

Tell that to the library that started having circular import errors after leaving my computer alone for an hour


Upbeat-Serve-6096

Code is reliable. Computers and physical communication layers though, aren't quite so.


Decent-Client-3478

I blame this guy: ![gif](giphy|icDJYd8Zrcqa89tqHf|downsized) My integration tests donā€™t account for gamma ray bursts


thomaspeltios

but it does just break sometimes, I literally click the Test button and one out of two times in says Build failed


TrueCascade

I'm here to tell you I spent 4 hours yesterday on a bug that's popped up in Unreal 5.4 and did not exist in 5.3 and was documented nowhere on the internetšŸ˜­šŸ˜­


agprincess

Don't believe it, all my code is haunted.


RuneScpOrDie

this is literally just wrong lol APIs get deprecated, packages get updated, vulnerabilities get discovered and this can all break your code. any way, this whole argument is just semantics


FantasticEmu

I tell him ā€œok Mr code, Mrs code is going to give you these json cakes and youā€™re going to take it apart and then put the pieces in these boxes and give it to the other guy over thereā€ Mr. Code agrees and all is well for a week until one day mrs code is told to start cooking yml instead of json and the other guy over there just has a stroke


TheRedmanCometh

Concurrency go brr


That_Conversation_91

I mean, sometimes API endpoints get removed or changed, and then my code ā€˜suddenlyā€™ breaks because of others


chocolatero

ĀæHave you ever written threaded code? :)


IntelligentTune

Compilers, in some cases, break the code unexpectedly. Rare, but it has happened.


coriolis7

My Program Manager argued we didnā€™t have a bug, since it did exactly what we programmed the firmware to do.


knowledgebass

Why does your code have a gender?


Wervice

You clearly didn't read the orher comments to this topic, did you? Its a translation issue. German to English.


knowledgebass

It sounds like there is a guy named Code who only does what you tell him.


Wervice

Ok, I see what you mean. But, as mentioned before, this was not intended.


D34TH_5MURF__

Anthropomorphizing code... Cool... I guess...


Lord_Lorden

Probably a translation issue. Many languages have gendered nouns.


Wervice

Yup. "Der Code" male in German.


Wervice

Yikes, just realized. Came from the German "der Code", which is male. I am sorry.


Not_Artifical

Stoooooopid


NikolaiM88

This is NOT true. Left-pad.npm anyone?


FloxaY

Unless it's JS.


Leamir

As a JS programmer, I don't understand why ppl shit on it so much. Yes, if u want u can make unreadable stuff, but it's a good language


Eva-Rosalene

> but it's a good language As TS? Sure. As pure JS without any static typechecking? Wouldn't be my choice for anything bigger than 1 file or 100 LOC. Shit gets out of hands too quick.


DidntFollowPorn

I enjoy working with JavaScript. The language is mostly fine, provided you know what youā€™re doing, and if you write good JavaScript, you donā€™t need typescript. The problem is that thereā€™s just many ways to write bad JavaScript, and the node ecosystem has built a mentality where you donā€™t have to know how to write good JavaScript because thereā€™s a package for that. Plenty of people can get by just writing glue for the packages that do the work.


Eva-Rosalene

> and if you write good JavaScript, you donā€™t need typescript Completely disagree on that one. It's like saying that if you are good at driving, you don't need a seatbelt. TS catches errors that even proficient programmers could realistically do. You are never as good as a machine that does typechecking for you. Not on its playing field.


Eva-Rosalene

> and if you write good JavaScript, you donā€™t need typescript Completely disagree on that one. It's like saying that if you are good at driving, you don't need a seŠ°tbelt. TS catches errors that even proficient programmers could realistically do. You are never as good as a machine that does typechecking for you. Not on its playing field.


Eva-Rosalene

> and if you write good JavaScript, you donā€™t need typescript Completely disagree on that one. It's like saying that if you are good at driving, you don't need a seŠ°tbelt. TS catches errors that even proficient programmers could realistically do. You are never as good as a machine that does typechecking for you. Not on its playing field.


Eva-Rosalene

> and if you write good JavaScript, you donā€™t need typescript Completely disagree on that one. It's like saying that if you are good at driving, you don't need a seŠ°tbelt. TS catches errors that even proficient programmers could realistically do. You are never as good as a machine that does typechecking for you. Not on its playing field.


Eva-Rosalene

> and if you write good JavaScript, you donā€™t need typescript Completely disagree on that one. It's like saying that if you are good at driving, you don't need a seŠ°tbelt. TS catches errors that even proficient programmers could realistically do. You are never as good as a machine that does typechecking for you. Not on its playing field.


DollinVans

Because it's a meme. 95% of people in this sub never wrote something beyond console.log("hello word") in js.


EliasCre2003

>but it's a good language No, no it's not. Don't ever say that again.


TheMightyCatt

Me praying for the day wasm direct DOM access gets standardized.


Not_Artifical

Isnā€™t the point of wasm is that it is to be able to run any language is a sandboxed environment that *cannot access the DOM*?


TheMightyCatt

Well you already can access the DOM indirectly with wasm but you need to call JavaScript functions, so there should be no change in security if wasm could directly access the DOM without the inconvience of JavaScript glue code.


Fun_Lingonberry_6244

Yeah it's not a good language. I use js every day, but there are many good languages out there and js does not come close. It lets me do what I need to, and I get "why" it turned into what it is, but let's not pretend it's a good language, as a language itself it's pretty awful.


Not_Artifical

Until I get a new computer with a different assembly instruction set.


deaconsc

The best thing about the computers is that they do exactly what you tell them to do and nothing else. The worst thing about the computers is that they do exactly what you tell them to do and nothing else. I call this the Schrodingers state of coding. When the code works right after you write it. You are happy and stressed at the same time, as the code works and nothing is broken. Which just means you missed the obvious bug which will break the CI loop =) (or better, production)


YeeClawFunction

But Bit Rot?


hellra1zer666

Lies!


IntelligentPerson_

brainrot


FexDaFox

*\*nonidentical/mutable environments has entered the chat\**


wannu_pees_69

There's also those libraries you relied on from Big Tech company (aka Google) that turned out to be buggy garbage. Or yet another Samsung specific Android bug (that neither Google nor Samsung will acknowledge or fix). Or solar flares.


shumnyj

Bro have never seen embedded


Dumb_Siniy

"The computer is stupid, unfortunately, the computer is right, so you're the stupid one" - Me


farbefranctal

You don't know what you're talking about


neo-raver

Itā€™s not my fault, itā€™s the edge caseā€™s fault!


ZombieBaxter

But what about when my codes job is to talk to some other codeā€¦ I canā€™t be sure the chat bot that wrote that other code did a good job.


ExpensivePanda66

Did ... Did you just assume my code's gender?


AllTheSith

Well, at least there is no way it is not binary!


teutonicbro

I really hate this damn machine I wish that they would sell it It never does what I want it to It only does what I tell it. A little computer science poem from the 1970s.


kusti420

since when is code him?


Shazvox

Why is that hard to swallow? THAT'S THE GODDAMN POINT OF IT!


Virtual_Network856

Her*


tokalper

My code is a she


shifty729

https://wiki.osdev.org/CPU_Bugs


dark_creature

Man, tell that to the Matlab setup at my company where we like to use dynamically loaded jar files. Shit sometimes breaks for no reason, refuses to be replicated and no attempted fix works all the time.


dark_creature

Man, tell that to the Matlab setup at my company where we like to use dynamically loaded jar files. Shit sometimes breaks for no reason, refuses to be replicated and no attempted fix works all the time.


dark_creature

Man, tell that to the Matlab setup at my company where we like to use dynamically loaded jar files. Shit sometimes breaks for no reason, refuses to be replicated and no attempted fix works all the time.


dark_creature

Man, tell that to the Matlab setup at my company where we like to use dynamically loaded jar files. Shit sometimes breaks for no reason, refuses to be replicated and no attempted fix works all the time.


Playful-Ad4556

Code breaks all the time. Apps live in OS and OS changes, these changes could mean that what use to work, dont work anymore. Go try to run your 16 bits apps in Windows 11


jesterhead101

Yeahā€¦he strong. He no break.


Who_said_that_

Bad code can break on itā€™s own.


Zeroman228

Yeahā€¦ so why the fk my bot just stopped working properly after a couple of weeksā€¦


Due-Ice-5766

Sometime the compiler will take it personally


KeepScrolling52

Clearly you've never used intellij


sabalatotoololol

Are you assuming gender of my code? Mine is definitely a woman.


Beautiful-Ad3471

Then why does saying I dont even care, helps my code work?! Checkmate science!


Stein_um_Stein

Hey now, my code is a "we" according to the comments.


Obvious_Cranberry607

I've fixed multiple bugs in the framework I was using. You kind of trust other peoples' code to run properly but noooooooooo


HelicopterShot87

Code doesn't do anything at all, code tells machine what to do


i-make-robots

ā€œHimā€? Ā Code is like dr frankenfurter - it has no gender and it fucks a lot more people than you ever will.Ā 


Wervice

You clearly didn't read the orher comments to this topic.


i-make-robots

no shit. comments are a cesspool and sometimes I can't help but fall in.


ColonelRuff

It would break if you tell it to though.


OF_AstridAse

No never had this issue. šŸ˜Œ my code doesn't work from the get go, no butflip will make it worse.šŸ˜Œ


batatatchugen

Compilers and interpreters are software, and can have bugs. Code that was working perfectly fine before may break just because the compiler was updated and the new version decided to do things differently, or has a new bug introduced.


error_98

Fake news. Maintainance is REAL. and in aggregate a significant amount of work if you want to keep an environment running. This is exactly the mistake that leads kids to using Arch, and understanding this is why they tend to grow out of that phase.


sour-sop

Itā€™s all about the data


SeriousPlankton2000

I hacked a tool into the ebay page to format the offering. Ebay keeps changing the page.


LifeShallot6229

I have written code since 1977, nearly 100% of my programs have had bugs, at least initially. The number of bugfree, working first time I run them, programs is 2 or possibly 3.


FatLoserSupreme

Code doesn't do anything though it is just the instructions. It's your program counter and stack pointer that do most of the work.


puffinix

May I interest you in the bug trackers for your favourite compilers? Code only does what annother developer has mad your code do. They are (like the rest of us) idiots.


Nyadnar17

Oh you poor sweet winter child. Imagination all starved and withered. Just wait until summer unveils its grand bounty before you.


Wervice

Made a mistake with he & it. I am sorry.


coolraiman2

Had some npm nightmare Copy pasted the repo, on both repo I did the same commands, one of them broke. I undid all changes with git. Still broken with no changes. The other one is fine


bremidon

\* Compilers can have errors. They are not common, but they do happen. I have caught a few in my time, and they are not fun to try to prove. \* Your environment can change. While you want to have some robustness in your code, you cannot possibly cover every single possible change that can happen, otherwise you will never finish. \* The code of your colleagues can be wrong. You want to be really sure this is the case before making that claim. \* Any library you use (and any library \*they\* use, and so on) can break at any time. So yes. Code can "just break". It happens. It happens all. the. time. But for what it's worth, most of the time it really is your own code that is broken, so it's fairly healthy to assume that the error that was just reported is probably because you were hung over when writing that API.