Literally why docker was invented
Works on my machine
Submitted 11 months ago by mac@programming.dev to programmer_humor@programming.dev
https://programming.dev/pictrs/image/9e6ab533-49b9-49a0-ad22-117dfbc5c21a.jpeg
Comments
angelsomething@lemmy.one 11 months ago
SpeakinTelnet@sh.itjust.works 11 months ago
I have a love/hate relationship with docker. On one side it’s convenient to have a single line start for your services. On the other side as a self-hoster it made some developers rely only on docker meaning that deploying the stack from source is just an undocumented mess.
Also following the log4j vulnerability I tend to prioritize building from source as some docker package were updated far later than the source code was.
Zikeji@programming.dev 11 months ago
The Dockerfile is essentially the instructions for deploying from scratch. Sure, they most likely only exist for one distro but adapting isn’t a huge chore.
You can also clone the repo and build the container yourself. If you want to update say, log4j, and then attempt to build it, that’s still entirely possible and easier than from scratch considering the build environment is consistent.
kratoz29@lemm.ee 11 months ago
I love Docker because it is the only sane method to selfhost shit with my Synology NAS, and I love my Synology NAS because it is the only Linux interaction that I have (from my old MacBook Pro).
takeda@lemmy.world 11 months ago
Yeah, it solved “it works on my machine” by doing the machine with the code.
Opafi@feddit.de 11 months ago
Man, I really was interested in that topic, but that guy really can’t do talks.
ohlaph@lemmy.world 11 months ago
Docker has been a savior.
kurwa@lemmy.world 11 months ago
Now we just need to run docker inside the browser
eatyourglory@feddit.it 11 months ago
Ah-ah! Now that’s progress!
Fades@lemmy.world 11 months ago
Every time I hear this from one of my devs under me I get a little more angry. Such a meaningless statement, what are you gonna do, hand your pc to the fucking customer?
FaceDeer@kbin.social 11 months ago
It's not actually meaningless. It means "I did test this and it did work under certain conditions." So maybe if you can determine what conditions are different on the customer's machine that'll give you a clue as to what happened.
The most obscure bug that I ever created ended up being something that would work just fine on any machine that had at any point had Visual Studio 2013 installed on it, even if it had since had it uninstalled (it left behind the library that my code change had introduced a hidden dependency on). It would only fail on a machine that had never had Visual Studio 2013 installed. This was quite a few years back so the computers we had throughout the company mostly had had 2013 installed at some point, only brand new ones that hadn't been used for much would crash when it happened to touch my code. That was a fun one to figure out and the list of "works on this machine" vs. "doesn't work on that machine" was useful.
platypode@sh.itjust.works 11 months ago
doesn’t understand that this is a useful first step in debugging reacts to standard dev proceedings with anger
Manager detected
Belzebubulubu@mujico.org 11 months ago
You are seeing the next CEO of that company
Baizey@feddit.dk 11 months ago
…yes? I thought we made that clear with containerization
1984@lemmy.today 11 months ago
“my devs under me”
Lols.
amanaftermidnight@lemmy.world 11 months ago
Then we’ll ship the AI.
…what do you mean, all the ICBM silo doors are opening?
hakunawazo@lemmy.world 11 months ago
ChatGPT is far too long, let’s call it WOPR. The most capable tic tac toe machine.
en.wikipedia.org/wiki/WarGames
clearleaf@sh.itjust.works 11 months ago
They did it! They passed the turing test!
takeda@lemmy.world 11 months ago
But it doesn’t even compile!
Kolanaki@yiffit.net 11 months ago
“You literally just wrote ‘kill all humans’ and put it in curly brackets.”
xmunk@sh.itjust.works 11 months ago
“So, did your program fail after you executed it? Or do you just think my code looks wrong?”
xx3rawr@sh.itjust.works 11 months ago
The AI is taking over us
Palacegalleryratio@hexbear.net 11 months ago
You know what, this is on us. Chat GPT is just a prediction engine that tries to say what words it thinks follow a preceding prompt, and it’s looked at millions of examples (written by us) and it’s seen hapless clients and users complain about bugs and be told: “user error, works fine” so often chatGPT just thinks it’s just the culturally accepted polite response to a bug report, in the same way as responding to “thank you” with “you’re welcome”. This is a dark mirror on our profession.
FaceDeer@kbin.social 11 months ago
To be fair, the bug report was utterly useless too.
Contend6248@feddit.de 11 months ago
True, when i respond with the problem it usually gets fixed, interestingly even explained why it failed.
Great for learning
IzzyScissor@lemmy.world 11 months ago
The only problem is that it’ll ALSO agree if you suggest the wrong problem.
“Hey, shouldn’t you have to fleem the snort so it can be repurposed for later use?”
Synthead@lemmy.world 11 months ago
It was trying to is, then it isn’ted. Help?
parpol@programming.dev 11 months ago
Should have asked chatGPT to write the bug report.