this post was submitted on 21 Sep 2023
49 points (93.0% liked)

Programmer Humor

19315 readers
7 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
 
top 25 comments
sorted by: hot top controversial new old
[–] Rin@lemm.ee 5 points 1 year ago* (last edited 1 year ago) (3 children)

while (true) { print(money) }

isn't that just crypto mining?

[–] BastingChemina@slrpnk.net 1 points 1 year ago

This is basically what the bank are doing when you get a loan.

When you get a $25k loan from a bank the banker does not take money from somewhere to put it in your bank account. The banker basically just add a +25k in your bank account that comes from nowhere.

[–] NaibofTabr@infosec.pub 1 points 1 year ago (1 children)

Three years ago, yes. Now? not so much.

[–] Rin@lemm.ee 0 points 1 year ago (2 children)

i mine monero while idle and it prints a massive 0.03GBP a day :)

[–] ThanksForAllTheFish@sh.itjust.works 0 points 1 year ago (1 children)

Serious question, wouldn't it be cheaper to buy it?

[–] Rin@lemm.ee 2 points 1 year ago

given i have solar panels, it's technically free money.

[–] coloredgrayscale@programming.dev 0 points 1 year ago (1 children)

And how much does it cost you in electricity?

[–] Rin@lemm.ee 1 points 1 year ago

free (solar)

[–] joyjoy@lemm.ee 1 points 1 year ago

JavaScript will actually open the print dialog.

[–] tias@discuss.tchncs.de 4 points 1 year ago

I actually have that teapot and I use it several times a week.

[–] whileloop@lemmy.world 2 points 1 year ago

This could be so much longer.

Killing children, class systems, so many programming language names, the ridiculous ways equality and order-of-operations are done sometimes. Plenty of recursion jokes to be made. Big O notation. Any other ideas?

[–] LillyPip@lemmy.ca 2 points 1 year ago* (last edited 1 year ago) (2 children)

Socrates said books were dumbing down humanity because, since people could just look things up in books they wouldn’t have to memorise information anymore, and that made their brains soft.

Ever since society began, some people have been convinced the next generation’s technology was going to be society’s downfall, whether it was Socrates’ books, the telegraph in the 1800s, radio, the (land line) telephone, dishwashers (women will become lazy and unsuitable wives and mothers), screened windows (society will collapse because you won’t hear your neighbours and pedestrians on the street, we’ll all become hermits and die holed up in our homes), comic books would rot the brains of the youth, then music, then video games… it goes on and on.

So far, those predictions have never been true. Every older generation freaks out when the ones after come of age. It’s like societal growing pains.

[–] CanadaPlus@lemmy.sdf.org 1 points 1 year ago* (last edited 1 year ago)

Some technologies actually have had unintended side effects, but not always the ones we saw coming. Artificial lights are killing all the insects which nobody really worried about and cars do kill tons of people, which we worried about in the 1920s. I don't know what the deal was with leaded gasoline, that one was just bizarre.

All in all, it's just really hard to anticipate how society and technology will interact. We think about the environment now but I don't know if any systematic progress has been made on predicting the human factor.

screened windows (society will collapse because you won’t hear your neighbours and pedestrians on the street, we’ll all become hermits and die holed up in our homes)

This one has actually come true to a certain measurable degree (see Bowling Alone, written at what is now the midpoint of the trend), but I don't think it's down to window screens.

[–] eldain@feddit.nl 1 points 1 year ago

I think this is one step further, that technology has become so abstract and complex that people who focus on different crafts and careers are using magical black boxes. It blows my mind how my neighbour goes through life without any concept of what a phone app is. He just uses functionality and memorized the associated logo. I'm an engineering wizard to him.

[–] nyan@lemmy.cafe 1 points 1 year ago

Enough people have thought of while (true){ print(money); } for manufacturers to have built stuff into printers to prevent that, alas.

[–] Isoprenoid@programming.dev 0 points 1 year ago (1 children)

Can someone explain this joke to me

"I'm writing a recursive method with threads to optimize the CPU usage in a 0.02%"

I understand everything apart from the "in a 0.02%". What does that mean? How can something be in a percentage?

[–] obosob@feddit.uk 2 points 1 year ago

It's a nonsensical statement to us programmers too.

[–] tatterdemalion@programming.dev 0 points 1 year ago (1 children)

Was anyone else bored of this meme as soon as it started?

[–] snowbell@beehaw.org 1 points 1 year ago

It is a difficult meme template but when done right the payoff is hilarious. But yeah.

[–] HiddenLayer5@lemmy.ml 0 points 1 year ago (1 children)

Cat is a fluffy animal, not for reading shit

[–] spez@sh.itjust.works 0 points 1 year ago* (last edited 1 year ago) (1 children)

I always wonder what the original post was. Something like "Stop doing science!" or some shit but seriously rather than sarcastically.

[–] d_k_bo@feddit.de 0 points 1 year ago (1 children)
[–] threelonmusketeers@sh.itjust.works 1 points 1 year ago* (last edited 1 year ago)

Funnily enough, helical apple slicers can easily produce the shape depicted in the bottom quote, making it a not unreasonable request.

[–] CosmicCleric@lemmy.world -1 points 1 year ago

Isn't that supposed to be "Write it on a paper"?