There have been multiple accounts created with the sole purpose of posting advertisement posts or replies containing unsolicited advertising.

Accounts which solely post advertisements, or persistently post them may be terminated.

programmer_humor

This magazine is from a federated server and may be incomplete. Browse more on the original instance.

rpj , in It gets better the longer it runs

Wow, a neural network!

YellowTraveller , in You know who you are

When I was in school I once used a IOS emulator running inside a docker container of MacOS running on a linux machine. It works surprisingly smoothly.

Xylight , in It gets better the longer it runs

How long would this have to run for it to round up to 100%?

MooseBoys , in Borrow Checker

Just add unsafe sheesh.

ShrimpsIsBugs , in My prof can meme fr

I can physically feel the pain in the first one

fmstrat , in You know who you are

Don’t forget the ARM64 to AMD64 conversion.

ruffsl , in You know who you are
@ruffsl@programming.dev avatar

Image Transcription: Meme


A photo of an opened semi-trailer unloading a cargo van, with the cargo van rear door open revealing an even smaller blue smart car inside, with each vehicle captioned as “macOS”, “Linux VM” and “Docker” respectively in decreasing font size. Onlookers in the foreground of the photo gawk as a worker opens each vehicle door, revealing a scene like that of russian dolls.


I’m a human volunteer content transcriber and you could be too!

average650 , in It gets better the longer it runs
@average650@lemmy.world avatar

Why not just test all even numbers greater than 2? It covers infinite numbers and passes 100% of the time.

Wander , in Colors, localized.
@Wander@yiffit.net avatar

//German

Farbe=“;”

joneskind , in Colors, localized.
@joneskind@lemmy.world avatar

As a French, I understand this post and it hurts because it’s true.

esmevane , in What the f*ck is a monad
@esmevane@beehaw.org avatar

A monad is just a monoid in the category of endofunctors. Everyone knows that!

Beanie , in The customer is always right. 🪞

I suppose it would be possible if you surreptitiously turned on their webcam and used the output of that in place of where they would want the mirror

kylxbn , in The oldest joke in programming history
@kylxbn@iusearchlinux.fyi avatar

For a serious reoly, I think the expression “If they have eggs, buy two” is redundant. If they didn’t have eggs, the kid just can’t and won’t buy any eggs.

I think the proper command would be, “Please buy 1 bottle of milk and two eggs.” That way, the kid won’t be confused and it’s still a proper valid command.

Unfortunately though, the sentence is ambiguous even to non-programmers. It is unknown whether the if condition applies to

  • buying two eggs (buy two eggs)
  • buying two bottles of milk (buy two bottles instead)
  • or buying a bottle of milk (buy another bottle)

Simply because they didn’t specify which to buy.

For a non-serious reply,


<span style="color:#323232;">cart.add(supermarket.takeProduct(ProductType.milk, 1));
</span><span style="color:#323232;">
</span><span style="color:#323232;">if (supermarket.getProduct(type: ProductType.eggs).length > 0) {
</span><span style="color:#323232;">    cart.add(supermarket.takeProduct(Product type.milk, 2));
</span><span style="color:#323232;">}
</span><span style="color:#323232;">
</span><span style="color:#323232;">cart.checkout();
</span>

The kid should have bought a total of 3 bottles.

Sotuanduso , in Firewall Alignment Chart

That punchline hit like a tree falling onto a network cable.

Woozy , in The horror

C is the language of the gods. No mortals can be trusted with such power.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • [email protected]
  • random
  • lifeLocal
  • goranko
  • All magazines