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.

OUTRAGED_MILLENIAL , in Finally "done" for the day!

I don’t like that I am in this picture. I thought it’d be different in video games.

HopeOfTheGunblade , in Sometimes good to know, you're not alone!
@HopeOfTheGunblade@kbin.social avatar

I have to wonder what sort of model of the world someone who makes this sort of request has. How do they think mirrors work? Screens? Images?

oranges OP ,

I have given up on Logic when dealing with clients… Trying to figure out what they actually mean is never what they actually mean.

It seriously blows my mind that some of these people are like CEO status of huge companies. How they even function in every day society and remember to breath is beyond me.

Kerb , (edited ) in It do be like that (Not OC)
@Kerb@discuss.tchncs.de avatar

Don’t forget the CSV files which despite the deliverers insistence on it being the same keeps changing in formatting.

MyNameIsRichard , in Even better than waiting for a compile
@MyNameIsRichard@lemmy.ml avatar

First one, then the other!

Hexarei , in Even better than waiting for a compile

“GitHub is down? Guess that means it’s time for a quick game break.”

db0 , in XKCD 1172
@db0@lemmy.dbzer0.com avatar

The fact that they mention using EMACS makes it even funnier

johnhansarick , in XKCD 1172

Reminds me when I was working with a guy and he named a database table recieved . I had adapted my code to that, and then one day without warning he renamed it to received - and it took us an hour to figure out why everything broke.

gbhorwood ,

had a co-worker once who called the variable holding the first record in a complicated workflow "rec1st" and the last record "reclst", unaware that in every font used by every code editor except his, a lowercase l and number 1 look identical.

i spent a day debugging that after he quit.

kartonrealista ,
@kartonrealista@lemmy.world avatar

Lesson for the future: stop using crappy illegible fonts in a code editor, and use something nice like Fira Code or even Fira Mono or Sans if you don’t like ligatures.

https://lemmy.world/pictrs/image/19a86e94-fc0c-4633-96de-7dbee4ec353f.png

https://lemmy.world/pictrs/image/87277cd5-aa1f-4b4e-b6cc-549fbb0d53b8.png

Edit: In the middle of writing this I realized it was a confusion between “1” and “l”, which makes the font choice even more bizarre. What kinda garbage font doesn’t distinguish between the two? I could understand if it was capital “i” and lowercase “l” since they look extremely similar in most sans serif fonts, but “1” and “l”?

Also it takes like 10 seconds to change the name of a variable across the whole file with a modern code editor like VSCode or an IDE for the specific language you were working with. If they were confusing you, you could have just changed “reclst” into “last_record” and that would save you a day of work.

Bankenstein OP ,

No good code font would make 1 and l look identical. Character differentiability is like the most important thing.

Look, JetBrains did it right.

https://feddit.de/pictrs/image/c8de74b2-d81e-419a-b864-ee75cc7d8213.jpeg

Black616Angel ,

Our Python virtual environments at work on all Linux-servers are in the directory /opt/vens instead of /opt/venvs so when some intern corrects that, we will be screwed!

PiedPipetter , in XKCD 1172

I wrote code for industrial automation years ago (think assembly line machines). I was reviewing production code and found a stupid bug and fixed it, then reinstalled. The motors moved incorrectly - I don't recall if that was the time it smashed glass everywhere, but "fixing" the code definitely broke the program. I could not figure out why...but due to time constraints I sadly had reinsert the bug to put the machine back in production.

Some nights that still bothers me.

tal ,
@tal@kbin.social avatar

https://en.wikiquote.org/wiki/Donald_Knuth

Beware of bugs in the above code; I have only proved it correct, not tried it.

Donald Knuth's webpage states the line was used to end a memo entitled Notes on the van Emde Boas construction of priority deques: An instructive use of recursion (1977)

anaxamaxan , in Even better than waiting for a compile
@anaxamaxan@mindly.social avatar

@MentalEdge The difference between the two is about 30 seconds

hannes3120 , in XKCD 1172

Excel wrongly assuming the year 1900 was a leap year for their timestamps is my favorite bug that will never be fixed because everyone has built workarounds for this already

name_NULL111653 , in Which Lemmy instance is this?

A temporary fix for overloaded lemmy.ml servers, via THAIO (Throw-Hardware-At-It Optimisation)…

chordata ,
@chordata@kbin.social avatar

Nothing more permanent than a temporary solution

knighthawk0811 , in Designers vs Programmers

artists who don’t like this are no longer allowed to look at previous artist’s works before making their own. fan fiction is certainly not allowed.

dan1101 , in Which Lemmy instance is this?
@dan1101@lemmy.world avatar

I actually ran a moderately active (like 20,000 hits a day) small business site from a laptop for a couple years. Of course one of the first thing I did was put a “SERVER DO NOT SHUT DOWN” sticker on it, and set the power settings so closing the lid did not shut down or sleep the computer. It was a Dell 7000 series with 16GB IIRC, it did great.

eugene ,

Not advertising here, but with this low traffic you could be in a permanent free tier with AWS with all the availability guarantees. It doesn’t work with EC2, but for serverless solutions (ApiGateway, Lambda, DynamoDB) they have something like “we start charging after 1M calls per month” (don’t quote me on this exact number). I have a couple of pet projects working this way

fubo , in Project Managers and Mushrooms

This was originally an engineers’ complaint about managers’ honesty regarding business trouble: Managers think we’re mushrooms; they keep us in the dark and feed us bullshit.

Otome-chan , in 10 Worst Programming Languages
@Otome-chan@kbin.social avatar

I'm just gonna go out on a limb and ruffle some feathers and say it's node.js

pkulak ,

Well, that’s a runtime. But yes, JavaScript.

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