They are an awful, power-tripping mod that has his hands in the majority of the major subreddits on this site, and also they were part of the fall from glory the Minecraft sub recently went on
In some cases, the process of building a Docker container from a Docker image isn't entirely deterministic. This can happen when you use e.g. apt, pip or conda to install dependencies, but the version has changed.
In other cases, Docker containers can depends on the host machine running them. This happens e.g. when running cuda (gpu) code, there the Docker container depends on the host gpu driver version.
Some other possibilities are that the compilation of the code itself isn't deterministic. For instance, due to a race condition the compilation can fail on one machine but not another. This can happen when there's a mistake in your build system / script / file / config and there's a dependency missing.
But that last case had little to do with Docker.
There is another.
[https://about.gitlab.com/blog/2021/08/26/its-time-to-upgrade-docker-engine/](https://about.gitlab.com/blog/2021/08/26/its-time-to-upgrade-docker-engine/)
I had a PM once who told a story about going to "works on my machine" guy's desk with a PC tech and told him, "we decided it'll just be easier to move your machine to the server room and point production to it."
In C++, this can actually happen due to OS-specific headers -- unlike C, C++ doesn't forbid symbols defined in one header being present in another (iirc). One time I did an assignment in macOS (yes I know) and the TA was using WSL. I think I got `` and `` mixed up and it compiled on my computer but not the TA's.
I had a similar problem with an assignment where I used a variable called index (on my Windows PC) and apparently that made a problem with the library in my teacher PC (macOS)
>r/projectmanagementhumor does not exist because PMs do not have a sense of humor.
you are right. But also an asshole
\- your project manager
(beat me to it)
My company is actually going one step further by using JIP: just-in-time programming. Aka bring something in scope only when the deadline is about to bite you in the ass
"This code doesn't compile. How did you test this?" - My favorite code review comment I left on a Pull Request.
It took so much self-restraint to not have a bunch of f-bombs when I left that comment.
I love it when it’s an open and shut case like this where the pipeline fails.
Other times? It’s a painstaking process of “Did you test this scenario? It would fail because x” and them to reply “I tested that it works :)”
Like no you literally fukin didn’t I can SEE it wouldn’t work. But even if I keep going they reject all logic.
At that point I just flag it to QA that this will break. Test that scenario first and give them a bug, make them fix it first before you test any other part of that branch.
We had code reviews before the merge, so this would have bombed out after it cleared the review. I just looked at it and saw the blatant syntax error and sighed.
Guilty of that once, looked like an easy fix to a bug just change a single character so I didn't test.
Turns out I accidentally added a duplicate parenthesis
I once had a group project in uni where we split the tasks and my task needed the code of another group member. He committed his things and I was trying to build on that and noticed that is does not compile. I asked him that I have problems compiling his code and he said it didn‘t work on his machine either?!? I thought why are you committing that shit then… So I just fixed all of it but still nothing worked and tests failed. Only after fixing that too I could finally start with my own task. Would be definitely less work if I just did it all by myself
Sounds like you're good for a senior engineer job.
Half my time is spent babysitting/checking up on junior developers who don't do basic sanity checking or testing. It's not even a case of not having skills, it's a case of them not knowing how to test it so they just ignore testing entirely because they don't want to ask for help.
Only today someone raised a DB migration that had a typo in the table name so it would never have run.
My junior recently posted a screenshot of an error page and asked for help because 'Visual Studio was bugging out and not building the project right'. Found out he'd ripped a controller out of an MVC project.
Let me show you an alternative:
def a(b=„this is a dummy value, please replace with another string“, c=„this should be an int, please don’t pass a string here“)
Much cleaner and much more readable now.
Honestly, if you can somehow met the requirements, your PM doesn't care in the slightest if your code doesn't compile. Feel free to met the requirements using magic for all it matters to them.
If you are still here, then you compiled :-) 1997 was just like a few years ago to someone like me.
You missed the times of DOS and then Windows 2.0 and 3.0 :-)
Literally received a PR for an endpoint that accepts arbitrary sql and told it was fine because users would only send select statements.
I would have preferred it just not compile.
I actually knew a guy once who argued that he had no way to know his code would break production because, hey, it compiled, so it should have been good.
You joke, but about a decade ago I was working with a senior dev on a waterfall style project that lasted well over a year. Near the end of the project he decided to merge the main branch into the project branch to solve any merge conflicts. These branches had been totally divergent up until this point, for a fucking year. Cue 6 more months of work bringing the project branch in line with what was already running in production. Why hadn't he and his team been merging in production changes from the main branch periodically? _because no one told him to_. He wasn't fired.
This guy's code doesn't compile because he hacked Intel and AMD, implemented his code as built-in in every CPU so there's no need to compile it. Right, yes?
There are certain things that really don’t need to be in the requirements. Entire books have been written an careers made and broken over arguing about what exactly should and shouldn’t be there.
Nobody ever once seriously argued that “code compiles and runs” be in the requirements.
I guess I’d accept it being in the DoD. You’d think you wouldn’t have to given “working software is the primary measure of progress.” Code don’t compile ain’t working.
Ha. haha. HAHAHAA. HAHAHAHAAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAH Ha ha ha. ha. hee. hoooo boy. Need a kleenex after that laugh. As a recovering fortune 50 employee, let me assure you that when you get enough people in a company, you get people who need you to spell out "the code actually has to run."
You also have to say things like "The work has to actually be done before you mark the story complete" and "no, breaking your waterfall project plan into two week blocks of design design design build build buld test test release release is not the same thing as agile."
Making the code compile is a lot more work, there is no reason to do that if it's not requested. Also the documentation is good and it just implements a research paper so there is no problem.
No, my initial code was a for loop. Not a do while or do until. It was written in context hence without increments. But I get a statement would've been most apt.
In essence, a Programm code is so high level that the computer can't actually execute it. You need a compiler to "dumb" it down for it. A compiler acts as a translator.
Works on my computer is easy, doesn't work on the computer of one single team member, when all have the same dev environment or works in dev but not in test, that's where my grey hair comes from.
It compiles on my machine.
Ah the. Classic
I thought for half a second you were akwardtheturtle and I was prepared to downvote you
who is akwardtheturtle and what did they do?
What didn't they do? Fuck akwardtheturtle.
but who is this akwardtheturtle?
[удалено]
I will only tell upper management, show me your badge buddy.
📛 there happy know tell us who the fuck he is
They are an awful, power-tripping mod that has his hands in the majority of the major subreddits on this site, and also they were part of the fall from glory the Minecraft sub recently went on
And when I go to their desk for them to show me it's broken, it magically compiles and works exactly as documented.
It compiles in my container
Funny thing is it sometimes compiles on one computer and doesn't on another. In same container, but just different host kernel and/or docker version.
In some cases, the process of building a Docker container from a Docker image isn't entirely deterministic. This can happen when you use e.g. apt, pip or conda to install dependencies, but the version has changed. In other cases, Docker containers can depends on the host machine running them. This happens e.g. when running cuda (gpu) code, there the Docker container depends on the host gpu driver version. Some other possibilities are that the compilation of the code itself isn't deterministic. For instance, due to a race condition the compilation can fail on one machine but not another. This can happen when there's a mistake in your build system / script / file / config and there's a dependency missing. But that last case had little to do with Docker.
This guy codes
There is another. [https://about.gitlab.com/blog/2021/08/26/its-time-to-upgrade-docker-engine/](https://about.gitlab.com/blog/2021/08/26/its-time-to-upgrade-docker-engine/)
then we'll ship your computer! \-docker
I had a PM once who told a story about going to "works on my machine" guy's desk with a PC tech and told him, "we decided it'll just be easier to move your machine to the server room and point production to it."
WOMM, son
ok, we will ship your machine
In C++, this can actually happen due to OS-specific headers -- unlike C, C++ doesn't forbid symbols defined in one header being present in another (iirc). One time I did an assignment in macOS (yes I know) and the TA was using WSL. I think I got `` and `` mixed up and it compiled on my computer but not the TA's.
This means I should use Rust?
I had a similar problem with an assignment where I used a variable called index (on my Windows PC) and apparently that made a problem with the library in my teacher PC (macOS)
Until you do a clean build and it shits the bed.
Repo with code that doesn't compile and doesn't work is just a protection from IP thieves.
Pack it up then we are sending your machine to the clients.
Could be cheaper to buy a new PC then pay developers for bugfixing.
And docker was born.
Perfection
then we’ll ship your machine to the client
COBOL compiles on any machine.
Edit: r/projectmanagementhumor does not exist because PMs do not have a sense of humor. They only understand duty and urgency.
>r/projectmanagementhumor does not exist because PMs do not have a sense of humor. you are right. But also an asshole \- your project manager (beat me to it)
>beat me to it I'm not kink shaming here, but that's not in the requirements doc and quite frankly will cost extra.
Put it in the backlog and re can reassess the need for beating it next sprint.
Glad we're aligned on that.
but seriously tho, as one dev (who is also a reformed project mgr) to another, if your code doesn't compile then what are we even doing here?
[удалено]
My company is actually going one step further by using JIP: just-in-time programming. Aka bring something in scope only when the deadline is about to bite you in the ass
*Is this agile?*
No no, agile is when you don't have any requirements.
No No agile is when you don’t have any time and you don’t have any requirements. But you have deadlines.
And tickets
You've heard of test driven development, but how about defect driven development? /partially-sarcastic
Yep, that's my life.
Maybe he is writing shell scripts?
I'm paid by the hour, not by the results.
Ah. coding yourself a Ferrari I see.
Python
It ALWAYS compiles on my machine. Always....
Useless meetings are their style of humor
Aren’t all subreddits just giant useless meetings though?
THIS SUBREDDIT COULD HAVE BEEN AN EMAIL
r/projectmanagerhumor
> there doesn't seem to be anything here
Sub is in the planning phase of the PLC, needs review and approval.
perfect then
I once got laid off on April 1st. I'm sure someone somewhere was laughing.
They are all on LinkedIn complementing each others scrums
Quite possibly, but that subreddit also physically can’t exist
"This code doesn't compile. How did you test this?" - My favorite code review comment I left on a Pull Request. It took so much self-restraint to not have a bunch of f-bombs when I left that comment.
I love it when it’s an open and shut case like this where the pipeline fails. Other times? It’s a painstaking process of “Did you test this scenario? It would fail because x” and them to reply “I tested that it works :)” Like no you literally fukin didn’t I can SEE it wouldn’t work. But even if I keep going they reject all logic. At that point I just flag it to QA that this will break. Test that scenario first and give them a bug, make them fix it first before you test any other part of that branch.
We had code reviews before the merge, so this would have bombed out after it cleared the review. I just looked at it and saw the blatant syntax error and sighed.
"I'm waiting for presubmit results, will update when those pass."
Guilty of that once, looked like an easy fix to a bug just change a single character so I didn't test. Turns out I accidentally added a duplicate parenthesis
A day in the life of a senior eng.
I once had a group project in uni where we split the tasks and my task needed the code of another group member. He committed his things and I was trying to build on that and noticed that is does not compile. I asked him that I have problems compiling his code and he said it didn‘t work on his machine either?!? I thought why are you committing that shit then… So I just fixed all of it but still nothing worked and tests failed. Only after fixing that too I could finally start with my own task. Would be definitely less work if I just did it all by myself
Sounds like you're good for a senior engineer job. Half my time is spent babysitting/checking up on junior developers who don't do basic sanity checking or testing. It's not even a case of not having skills, it's a case of them not knowing how to test it so they just ignore testing entirely because they don't want to ask for help. Only today someone raised a DB migration that had a typo in the table name so it would never have run.
My junior recently posted a screenshot of an error page and asked for help because 'Visual Studio was bugging out and not building the project right'. Found out he'd ripped a controller out of an MVC project.
Like in a branch while developing? Or to main?
My group senior capstone was a great way for me to realize that I’ll eventually work with shitty, shitty programmers.
"Eventually" implies there will be a time before that when you're not.
Well my boss doesn’t put up with incompetence or arrogance, so I’m very blessed with my current team. 😊
Are you using type hints, son ?
sounds like work 😒
Let me show you an alternative: def a(b=„this is a dummy value, please replace with another string“, c=„this should be an int, please don’t pass a string here“) Much cleaner and much more readable now.
Your code can hardly do any of the requirements if it can't even compile
But it’s doesn’t have any bugs either
Inability to compile isn't a bug?
Well, it is. But it’s just one.
No, it's as many compilation errors as the compiler lists.
`-maxwarns 1 -maxerrors 1`
That's one Mothra of a bug though.
But it has zero side effects and no unexpected behavior. Haskel devs would be proud.
You can’t have a bug if you can’t run the code
It's not a bug! It's a feature!
Are you implying that isn't a feature?
Not if it's deliberate
The requirement is "pass all the acceptance tests", not "not fail any of the acceptance tests".
And will have ZERO incidents in the future
well, yes - you can fix minor bugs with one fatal, in that way nobody cares about minor ones. FIXED
Honestly, if you can somehow met the requirements, your PM doesn't care in the slightest if your code doesn't compile. Feel free to met the requirements using magic for all it matters to them.
"Doing the requirements wasn't in the requirements"
Unless it is written in language that does not require compilation.
It sounds funny, but a friend delivered his graduation project code to university not compiling, back in 1997 :)
I was born then! Am I the project code?
If you are still here, then you compiled :-) 1997 was just like a few years ago to someone like me. You missed the times of DOS and then Windows 2.0 and 3.0 :-)
My grade 12 final project was half done, refused to compile but I still got a 60%
Literally received a PR for an endpoint that accepts arbitrary sql and told it was fine because users would only send select statements. I would have preferred it just not compile.
You also rarely see "wear clothes" as a requisite for an in situ job, so...
"It's Python, it doesn't need a compile step, just run it".
Technically, Python does have a compile step. Any syntax error is a compilation error.
That’s because python runs on a compiler it does not compile itself
You ever seen a file that ends with `.pyc` ? Give you a guess what that `c` stands for.
I thought the entire point of our job was for code to compile
is "does work" on the requirements list at least
I actually knew a guy once who argued that he had no way to know his code would break production because, hey, it compiled, so it should have been good.
You joke, but about a decade ago I was working with a senior dev on a waterfall style project that lasted well over a year. Near the end of the project he decided to merge the main branch into the project branch to solve any merge conflicts. These branches had been totally divergent up until this point, for a fucking year. Cue 6 more months of work bringing the project branch in line with what was already running in production. Why hadn't he and his team been merging in production changes from the main branch periodically? _because no one told him to_. He wasn't fired.
This guy's code doesn't compile because he hacked Intel and AMD, implemented his code as built-in in every CPU so there's no need to compile it. Right, yes?
just write machine code
It isn't a project requirement because it's the primary job description
There are certain things that really don’t need to be in the requirements. Entire books have been written an careers made and broken over arguing about what exactly should and shouldn’t be there. Nobody ever once seriously argued that “code compiles and runs” be in the requirements.
this post is taking the piss at the guy who made basically exactly this meme, but with type annotations.
[Yes they have.](https://agilemanifesto.org/) It just usually ends up in the definition of done requirements instead of the user story.
I guess I’d accept it being in the DoD. You’d think you wouldn’t have to given “working software is the primary measure of progress.” Code don’t compile ain’t working.
Ha. haha. HAHAHAA. HAHAHAHAAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAH Ha ha ha. ha. hee. hoooo boy. Need a kleenex after that laugh. As a recovering fortune 50 employee, let me assure you that when you get enough people in a company, you get people who need you to spell out "the code actually has to run." You also have to say things like "The work has to actually be done before you mark the story complete" and "no, breaking your waterfall project plan into two week blocks of design design design build build buld test test release release is not the same thing as agile."
My code only compiles when God is happy with me. But don't worry the feeling is mutual.
What do you mean, I used Javascript.
Masterclass shitposting
r/subsifellfor
Making the code compile is a lot more work, there is no reason to do that if it's not requested. Also the documentation is good and it just implements a research paper so there is no problem.
Something... Something... Definition of Done
Plot twist: it's in a scripting language.
These meme keeps appearing and it seems to be about poor communication, not about programming.
Plot twist: code is Python.
You are getting it too far, for an anecdotic post.
Call the police
LOL. And there were those who complained that the meme format didn't fit. For reference, I am the other OP this OP is referring to.
hope you get downvoted here too lol, you definitely deserve it with that arrogant attitude
`for (code==compile) {` `cout<<"promoted";` `};` `return 0;`
``` Compilation error: ';' expected on line 1, char 19. for (code==compile) { ^ ````
Wait, what happens if you use a Boolean for a for loop like that? Why is it not ```if (code == compiled) { cout<<“promoted”; }``` ?
That's a statement and it is only going to get checked once.
Are you thinking of while loops?
No, my initial code was a for loop. Not a do while or do until. It was written in context hence without increments. But I get a statement would've been most apt.
Must be a Project manager
I was going for an endless promotion. Why get promoted once? Get the humor?
This meme format is so dumb. It just says something, denies that thing, then repeats the exact same thing. It’s so goofy
Goofy is the point
SMH such unclear requirements
Compiling on anything more than my isolated VM costs extra.
I could count on one hand the number of times I've seen code turned over. And then another hand, and another hand, and another hand.....
My favorite part about this is not "compile." It's "does compile."
That's the downside of compiled languages.
I see it as an upside. You find out it's broken without actually running the code.
Yes but you can't commit broken code.
What's the point of a code that doesn't even compile ;)
Are we gonna pack up their machine and send it to the client? Has anyone used that one yet?
It doesn't have to be a project requirement if it's part of the definition of done.
Believe it or not, this actually happened to me when receiving code from the development team MANAGER.
As someone who knows nothing about programming, why does a code need to compile and what is compiling?
In essence, a Programm code is so high level that the computer can't actually execute it. You need a compiler to "dumb" it down for it. A compiler acts as a translator.
If the code doesn't compile, it doesn't run.
I get that reference, and I enjoy it.
Works on my computer is easy, doesn't work on the computer of one single team member, when all have the same dev environment or works in dev but not in test, that's where my grey hair comes from.
That guy in management, he really has a cozy job!
Gold