this post was submitted on 11 Aug 2023
595 points (97.6% liked)

Programmer Humor

19725 readers
56 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
 
all 20 comments
sorted by: hot top controversial new old
[–] [email protected] 35 points 1 year ago (3 children)

Ok I’ll do it. I’m here from hot, I’ll admit it. Can you explain this to me in language I’ll understand? I have just a little understanding of programming but decent comprehension skills.

[–] [email protected] 109 points 1 year ago (2 children)

LK-99 is a room temperature superconductor. It’s a big deal, because it means that energy can be transferred with 0 loss and it doesn’t require loads of cooling to maintain that property (unlike “traditional superconductors” that need liquid nitrogen and other cooling to have that property). An analogy would be like if you got paid all of your paycheck all the time instead of having taxes taken out. The money you get paid is energy and the loss is taxes

There’s controversy that LK-99 can’t be replicated

Going over to the programming side, sometimes you’ll work on a feature and when others go test it, it doesn’t work. A common excuse heard is “well, it works on my machine”. Docker containers solve that problem by essentially (but not really) making a copy of “my machine” and letting people run the program/feature on that copy

So the joke is, if the korean researchers were able to create it in their lab environment (their machine), why don’t they just make a copy of their lab and let others use it

this is a very gross oversimplification, so feel free to suggest any corrections

[–] [email protected] 62 points 1 year ago (2 children)

LK-99 is allegedly a room temp superconductor.

I think it's a mistake that got amplified by fraud at other locations.

[–] [email protected] 10 points 1 year ago

And not everyone was on board of publishing that paper yet (even tough the research has been going on since 1999 - theirfor LK-99)

[–] [email protected] 7 points 1 year ago (2 children)
[–] lambda 1 points 1 year ago (2 children)
[–] [email protected] 1 points 1 year ago

South Korea is capitalist, North Korea is socialist. People often refer to SK as just Korea either as a statement on the legitimacy of the DPRK or simply because South Korea is far more globally relevant.

[–] [email protected] 1 points 1 year ago

Ever heard of "Samsung"

[–] [email protected] 3 points 1 year ago

Excellent, thank you for nailing it!

[–] [email protected] 14 points 1 year ago (1 children)

If you know what a virtual machine is, a docker container is like a virtual machine that has a curated environment for running a specific program.

To get more technical, they are distinct from VMs in that they share the host machine’s kernel, so they are not as isolated as a VM. Docker (the program used to build or deploy Docker containers) has an internal network it manages, mostly automatically, which contributes to the ease of deploying containers and having the curated environment that makes containers work out of the box on whatever host they’re deployed.

So let’s say you wanted to run a Wordle clone website. You could find a “docker-compose” file online, change the configuration parameters to your liking, tell Docker to boot it, and the application and all its dependencies will be downloaded and built into a ready-made server with Wordle, the same as it works on every other machine with Docker.

[–] [email protected] 2 points 1 year ago

Thanks this is great and I understand it.

[–] [email protected] 13 points 1 year ago (1 children)

Docker containers in programming are reusable environments. Basically instead of manually setting up an operating system environment from scratch - you give your program this extra layer where you specify each and every thing that will be on the environment.

If your program was always tested on windows 10 instead of windows 9 - you basically have a way to guarantee it always has windows 10. If your program always used x version of Linux a boom, guaranteed. It adds some complexity but reduces and removes randomness from the concept of deploying applications you’ve created.

[–] [email protected] 1 points 1 year ago

Very nice, added info on how it affects deployment. Thanks!

[–] gamma 10 points 1 year ago

Excuse me, OCI container, we're a runtime-agnostic family here.

[–] [email protected] 10 points 1 year ago

Ooof. I was so excited when I first saw the paper and realised how easy it was to make.

[–] [email protected] 2 points 1 year ago

@alphacyberranger Where's the nix package?