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.

Transporter_Room_3 , in Not a Number
@Transporter_Room_3@startrek.website avatar

You ever have one of those moments when you just put 2 and 2 together, and also that you should have had that realization many years ago?

I just realized what NaN stands for…

This must be what people who get told “you can just wait for the shower water to warm up before hopping in” feel like.

Mesa ,
@Mesa@programming.dev avatar

The elephant and rope parable rings its bell of sound morals!

Not so much the realizing what NaN means; that’s more relevant to that XKCD which I probably don’t need to describe here.

noxy , in Perpetual Motion finally achieved!
@noxy@yiffit.net avatar

These trolley problem memes are getting harder and harder to understand

Malix , in The easiest problem
@Malix@sopuli.xyz avatar

installing operating system: 15 minutes, give or take.

give a name to the computer: 45 minutes

SturgiesYrFase ,
@SturgiesYrFase@lemmy.ml avatar

I’ve got that shit on lockdown man.
I name all my devices “Fuck0ff” followed by a 3 letter descriptor of what it is. E.g. - my windows install is Fuck0ffDTW for Desktop Windows, my Garuda install is Fuck0ffDTG for Desktop Garuda(it’s a flavour of Arch, btw)

OfficerBribe ,

What if you would have 2 devices of same type with same OS or just with OS that starts with same letter? Will you use numbers, if yes, how much leading zeroes if any you will use? If you don’t use numbers, will you add a room name? But what if there are 2 devices with same OS in the same room?

SturgiesYrFase ,
@SturgiesYrFase@lemmy.ml avatar

Luckily I’m not responsible for naming my wife’s devices, otherwise the whole scheme would be up shit creak. As it stands I have a dual-boot desktop, a daily laptop, a surface pro4, and an old laptop running Ubuntu server for various self hosted stuff. I’ve managed to just use 3 letters, I assume as I amass more tech I’ll need to start adding numbers, if I have to label for rooms I’ll have more than a data hording problem.

lowleveldata , in That Nim Flashbacks

I like recursive functions tho

pastermil OP ,

Yet I have not met a CS grad without a trauma.

Lemminary ,

I’ve had 7 traumas this week and counting rocks back and forth

xmunk ,

I have a production bug… it only happens on Saturdays ever our ops folks have no idea - this can be replicated on a test server that gets no traffic.

Saturday why!

CanadaPlus ,

Please tell me it doesn’t still happen when you emulate a different day of the week. Or is that non-trivial to even do because of technical debt? Either way, RIP weekends.

sukhmel ,

If we reject the theory that it could be someone’s elaborate revenge, Saturday may be the first day of the week that may become workday or non-workday because of incorrect assumption about the first day of the week. If everywhere but one place in your software the day numeration is correct it would be a hard bug to spot.

Also, if it is in Java, I vaguely remember there being a lot of ways to express weekday, so a lot of ways to shoot off your foot (solely on Saturday)

xmunk ,

For bonus points, this failure is in a cron job that sends out recently queued messages. It runs once every ten minutes - last weekend we had 12 failures: four were in a cluster on their own, one was in a run of two, and six were in a single continuous run.

Please note that this server is unused by our business so no messages ever get naturally queued. Every day we sync the live production server to this server at about 9 PM - assuming an employee was queuing up a message before the snapshot is taken there might be a number of unsent messages in the snapshot - those messages will all be sent by the first cron job after the sync.

It is a wonderfully awful problem that has me wanting to pull out my luscious locks.

sukhmel ,

I wish you luck. Also, maybe you could get someone else to get a fresh view of an issue

xmunk ,

Yup, luck is appreciated and I’m trying to get more eyes but unfortunately I’m a senior dev that has the second highest seniority at the company so I feel guilty dragging others into it.

Sacreblew ,

Lots of logging to triangulate when it fails and what variables it has at the time.

Blue_Morpho ,

I’ve always hated recursion. It’s always seemed like a cutesy programming trick that’s not reliable in all conditions.

You could blow the stack in an edge case that you didn’t think of. So it should never be a standard pattern. It’s only good if you need to rewrite something for optimization and recursion is appropriate. But in many cases recursion is slower.

“Look at what I can do in 5 lines of code!” is for programming contests, not for anything important.

Traister101 , in Teenagers.

Thanks for well contributing to Lemmy but you sure are quite the annoying character. Now don’t go and abuse your newfound abilities and remove the blocking feature <3

BurningTurtle , in Gamedev is Easy
@BurningTurtle@programming.dev avatar

Weirdly they often forget to use .EnableCrossplay() and then complain about it being “hard to implement”.

Zagorath ,
@Zagorath@aussie.zone avatar

and then complain about it being “hard to implement”.

Ok but seriously, if a completely new dev team picking up a game 20 years after it was originally written for one platform can port it to a new platform with an entire new custom user experience and support optional cross-play, I have no sympathy for developers of modern games designed from the start to run on multiple platforms not supporting cross-play in their game.

msage ,

You have to take into account that a big company game is going to by much harder to implement than just a small hobby team game simply because of all the people involved.

What can 5 people do in a year may take more for 500 people, just because of the management overhead. And if that management sucks, it will end up doing way more things it was required to do, yet the original request will not be done well.

vox ,
@vox@sopuli.xyz avatar

well if a game heavily relie s on steam networking stack crossplay may be close to impressiblr to implement without ripping the whole stack out

AnUnusualRelic ,
@AnUnusualRelic@lemmy.world avatar

Just port Steam to the Nintendo PlayStation.

Norgur , in Kubernetes dev moment
@Norgur@fedia.io avatar

I wanted to answer but there is a space missing or too much, idk. Long story short: my answer isn't working

marcos ,

I, for one, remember editing a YAML file and getting it right on the first try!

Once, of course, but that’s enough to show it’s possible.

Norgur ,
@Norgur@fedia.io avatar

It's possible. I do it daily. I also fuck up YAML files and go space-hunting on the daily.

datelmd5sum ,

it’s storageConfig instead of storageconfig since the CRDs got upgraded to v0.4+, you idiot.

Norgur ,
@Norgur@fedia.io avatar

Yeah, you dimwit! Also, PID now doesn't take a multi-line array anymore but single lines with commas, so what's this

PID:
   - 123354
   - 567673
   - 123456

nonsense you're trying to pull here, eh?!

AdmiralShat , in Tattoo Idea

“I have the IP address of the man who ruined my life forever on my hands”

Pulptastic ,

Don’t believe his lies

Dnn ,

127.0.0.1 then?

GreyCat ,

That’s his loopback address, his local IP can be 192.168.0.1/24

NotSteve_ , in How IT People See Each Other

As a developer, I see sysadmins/devops as black magic masochists

ptz OP ,
@ptz@dubvee.org avatar

I choose to take that as a compliment (if it wasn’t). lol

NotSteve_ ,
ptz OP ,
@ptz@dubvee.org avatar
foofiepie ,

I refer to our sysadmin as a BOFH and he doesn’t seem to mind. The younger devs don’t know the term without googling it.

The sysadmin column feels so right.

grue ,

I refer to our sysadmin as a BOFH and he doesn’t seem to mind.

He’s probably secretly delighted, although of course he’d never tell you that.

Pringles ,

What’s BOFH? Bitch Ole Fucking Hippie?

Edit: Ah, bastard operator from hell.

foofiepie ,

Bastard Operator From Hell

HappycamperNZ ,

I prefer yours

geekworking ,
tinyVoltron ,
@tinyVoltron@lemmy.world avatar

As a DevOps guy, I can tell you we’re black magic sadists. You should feel the pain. Not us.

NotSteve_ ,

Pls no. I can only take so much Terraform

hemko ,

Did you even try to validate before creating that PR???

pm_me_your_quackers ,

PR?

git checkout main && git pull branch && git push --force

clb92 , in I'm not messy, I'm just efficient

Shamelessly stolen joke. Here’s the original tweet, which I think is much better too: twitter.com/0xAsync/status/1607541407937339392

Or for those who don’t want to visit Twitter:

https://feddit.dk/pictrs/image/49f143ba-729d-4ef6-8d58-c73d972b94ea.webp

peak_dunning_krueger , in If Architects had to work like Programmers

Please take care that modern design practices and the latest materials are used in construction of the house, as I want it to be a showplace for the most up-to-date ideas and methods. Be alerted, however, that kitchen should be designed to accommodate, among other things, my 1952 Gibson refrigerator.

That’s actually too easy, because electrical systems have been standardized for a long time.

Should be something like “15 highpowered electrical stoves, but keep the total power consumption below 15 Watts.”

Or, homeautomation and integration with google/alexa, but using the old fridge.

Thorry84 , in git commit -m "minor fixes" +26858 -69429

I’ve seen a changelog that said “Introduced some bugs, so we can fix them later”.

It was a joke, but true nonetheless.

pressanykeynow ,

It was a joke

Narrator: Of course, it wasn’t.

bjoern_tantau , in Multifactor auth done right
@bjoern_tantau@swg-empire.de avatar

They forgot something old, something borrowed and something blue.

muntedcrocodile ,
@muntedcrocodile@lemmy.world avatar

da ba dee da ba di

reflex ,
@reflex@kbin.social avatar

da ba dee da ba di

Mm-mmm, waffles.

lemann ,

🤢

Th4tGuyII , in Not mocking cobol devs but yall are severely underpaid for keeping fintech alive
@Th4tGuyII@kbin.social avatar

Who would've thought a sector with gold flowing through its hands would be so stingy when it comes to updating their backend that they'd end up relying on a dying language, and call upon AI to update it for them rather than just paying a competent team to create and rigorously test a new backend in a modern language

aksdb ,

One problem is that they need to put a price tag and therefore a timeline on such a project. Due to the complexity and the many unknown unknowns in theses decades worth of accumulated technical debts, no one can properly estimate that. And so these projects never get off and typically die during planning/evaluation when both numbers (cost and time) climb higher and higher the longer people think about it.

IMO a solution would be to do it iteratively with a small team and just finish whenever. Upside: you have people who know the system inside-out at hand all the time should something come up. Downside of course is that you have effectively no meaningful reporting on when this thing is finished.

rekabis , in Programmer tries to explain binary search to the police

“This argument didn’t go down well.”

🤣🤣🤣 LMAO

What an awesome punchline, should have been on its own line for more impact.

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