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.

programmerhumor

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

crowsby , in It just gets better and better

Time to print out more code and bring it to the boss for review.

angel , in bad gateway

nginx 0.7 šŸ˜µ

Anarch157a , in It just gets better and better
@Anarch157a@lemmy.world avatar

I read some time ago (that was before the Twitter acquisition) a Fellon Muskolini apologist say that ā€œHe is always the smartest person in any roomā€. Itā€™s clear now that this is absolutely true, as long as everybody else in the room is a rutabaga.

Heastes ,

The Muskrat is the dumb manā€™s idea of a smart person.
If he actually is the smartest man in a room, itā€™s because the smart people got up and left because they got tired of his bullshit.

FUCK_MAGIC ,

In this case, he fired all the smart ones and only the dumb ones remain.

amanaftermidnight , in It just gets better and better

We need the full clown dress up meme that covers everything that led to this moment.

PeefJerky ,
@PeefJerky@lemmy.ml avatar

Not that, but for the current situation: https://i.imgur.com/pbCT5i8.jpg

Korne127 OP ,
@Korne127@lemmy.world avatar

This is awesome

david , in bad gateway

There might be fewer posts on lemmyā€™s programmer humor, but they make me chuckle more often. Thanks for sharing.

Tolstoy , in A Classic
@Tolstoy@lemmy.world avatar

Who the hell uses magnets? It may fall down and break, use pins!

Milx , in Could be today could be next year

ā€œJust give us a point value, we donā€™t need a time estimate.ā€

ā€œOkay, so 2 points is roughly equal to 12 hoursā€¦ā€

CanadaPlus , in JWST Uses Javascript

"Ladies and gentlemen, weā€™re sorry to announce that the JWST has smashed some of itā€™s own mirrors due to unexpected behavior of something called a ā€˜type systemā€™ "

What was the state of Python in the early 'oughts? Theyā€™re using it basically the same way according to the article; an easy human-readable language to control basic procedures.

SingularEye , in i hate the antichrist

those should both be sunny

exu ,

Meh, I think oneā€™s way sunnier than the other.

Skaryon , in Could be today could be next year

But look heā€™s really agile

Nibbler , in Could be today could be next year

Under promise, over deliver

lwuy9v5 , in i hate the antichrist

whynotboth

CountVon , in Could be today could be next year
@CountVon@sh.itjust.works avatar

Slack DM, three minutes after I pick up an issue.

ā€œYou have an issue in the sprint without any story points. Why doesnā€™t it have any story points? All sprint issues must be pointed.ā€

Well fuck, Janice, I donā€™t know. All Iā€™ve done so far is click ā€œAssign to meā€. Thereā€™s no evaluation yet! I have no idea what the root cause is or how long it will take to fix. Let me cook goddammit.

Technoguyfication ,
@Technoguyfication@lemmy.ml avatar

As someone who works as a software engineer for a smaller company without any of that noise, that sounds like complete hell. I have no clue how devs are getting anything useful done while having to context switch constantly during the day for asinine meetings and corporate progress tracking bullshit.

soloner ,

I literally would not work for a company if they made me do story points.

We do have a scope rule which is intentionally ambiguous, but the idea is a ticket ought not take more than 3 days, and some can be quicker. We expect the average time to meet our velocity and prioritize accordingly. If an effort seems like it will take longer we try to divide it into smaller tickets.

There may be like 5 tickets a year where this doesnā€™t hold true and we are ok with it. Nothing to be religious about.

The other issue is the amount of points it is totally depends on who does the work! Itā€™s a garbage system to estimate work. Makes people think they have some sort of idea that is more misleading and harmful than just saying ā€œI donā€™t know exactly but you can expect it to get done promptly because weā€™ve taken proper steps to analyze and break down the work to be bite sized and delivered consistently.ā€

heluecht ,

@CountVon @soloner In our company every person in the team (dev, qa, doc writer, po) is estimating the story points in secret, then we reveal them and mostly take the average. Our experience is that we all are mostly in the same range.

demesisx , in works on my machine
@demesisx@lemmy.world avatar

How long until nix flakes go mainstream and fix this problem?

mea_rah ,

Replace ā€œnix flakesā€ with ā€œDockerā€ and you have your answer from almost decade ago.

demesisx ,
@demesisx@lemmy.world avatar

No offense but it sounds like you donā€™t actually understand nix flakes if you think theyā€™re 1:1 equivalent to Docker.

They simply are not containers. They allow the declarative BUILD of any derivation at any time in the future. They hermetically lock all dependencies and build instructions which allows you to archive and reproduce the EXACT content-addressed dependency graph of the software. You can rebuild using a flake while Docker doesnā€™t actually allow that same hermetic reproducible guarantee whatsoever.

See here for a much better explanation of the glaring differences between the two: youtu.be/0uixRE8xlbY

You could even build a container with a flake though Iā€™d recommend OCI instead because theyā€™re an open standardā€¦

mea_rah ,

This is programmerhumor so perhaps allow for a bit of hyperbole on my part. I wasnā€™t completely factual.

However the initial days of Docker were effectively promising to solve the exact same ā€œit works on my laptopā€ problem. The idea was that developer builds docker image and pushes it to repository where it can pass through CI and eventually the same image gets to production.

As you can see, this effectively reproduces the EXACT content as well, because you transfer the files in a set of tar files.

It didnā€™t work for many reasons. One of which is the fact that itā€™s often not so much about the exact files, but the rest of the environment like DBs, proxies, networking, etc that is the problem. Iā€™ve seen image misbehaving in production due to different kernel version/configuration.

demesisx ,
@demesisx@lemmy.world avatar

I know itā€™s a strange place for this conversation but the facts remain: docker images donā€™t do this and nix flakes actually do. As the video I linked demonstrates and you allude to, Docker files arenā€™t 100% hermetic (which means theyā€™re not reproducible) while Nix flakes actually do achieve this. Watch the video I linked for more explanation which directly talks about how nix works with the goals of Docker that you mentioned in the head of your last comment. I hope my non-confrontational tone comes across somehow. This is all said with respect and in the spirit of science.

mea_rah ,

First of all. Thank you for civil discussion. As you say this is weird place to have such discussion, but itā€™s also true that these jokes often have some kernel of truth to them that makes these discussions happen organically.

So with that out of the way and with no bad intentions on my side:

Iā€™ve noticed you use Dockerfiles and Docker Images interchangeably. And this might be the core of misunderstanding here. What I was describing is that:

  • Developer builds an image (using Dockerfile or otherwise) on their laptop and then pushes that image to a Docker repository.
  • This exact same image is then used in CI to do integration tests, scanning, whateverā€¦
  • If all is good, this image is then deployed to production.

So if you compare sha of the image in production and on developers laptop, they are the same checksums. Files are identical. Nix arrives to this destination kind of from the other side. Arguably in more elegant way, but in both cases files are the same.

This was the promise (or one possibility) in the early days of Docker. Obviously there are some problems with this approach. Like what if CPU architecture of the laptop differs from production server? Well that wasnā€™t a problem back in 2014, because ARM servers just didnā€™t exist. (Not in any meaningful way) Thereā€™s also this disconnection between the code that generates the image and the image itself, that goes to production. How do you trust environment (laptop) where image is built. Etcā€¦ So it just didnā€™t stick as a deployment pattern.

Many of these things Nix solves. But in terms of ā€œit works on my laptopā€ what I wrote in previous comment applies. The environment differences themselves rather than slightly different build artefacts is whatā€™s frequently the problem. Nix is not going to solve the problem of slightly different databases because developer is runing MariaDB locally to test, but in production we use DB managed by AWS. Developer is not going to catch this quirky behavior of how his app responds to proxy, because they do not run AWS ELB on their laptop, but production is behind it. You get the idea.

When developer says it works okay on their laptop, what it usually means is the they do not have 100% copy of production locally (because obviously they donā€™t) and that as a result they didnā€™t encounter this specific failure mode.

Which is not to say, that Nix is bad idea. Nix is great. Iā€™m just saying that thereā€™s more to the ā€œlaptop problemā€ than just reproducible builds - we had those even before Docker Images.

Hope that makes sense. And again, thanks for civil discussion.

Distributed , in I mean, why not?

Easiest way to remember is because itā€™s the max cash stack on oldschool runescape

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