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.

MajorHavoc , (edited ) in This is my life now, until I finally understand Cmake.

Thanks for the laugh.

That was also my experience, but it ended when I stopped using cmake.

I’m not mad at anyone for using cmake, but I consider myself blessed on each day that I don’t have to collaborate with them (on cmake).

Which is weird, because someone will have to pry a Makefile from my cold dead hands, someday.

lung , in This is my life now, until I finally understand Cmake.
@lung@lemmy.world avatar

That’s like one thing ML can actually help with XD cute cat

Pika , in Don't use any clicking scripts.
@Pika@sh.itjust.works avatar

I don’t get the purpose of this, the page isn’t super clear unless I missed it. plus it wants card details?

SuperFola ,
@SuperFola@programming.dev avatar

A card grabber disguised as a game to me

akash_rawal OP ,

It is a game, but it might also be a card grabber.

akash_rawal OP ,

It wants you to put dummy details as fast as you can.

nihilomaster , in Don't use any clicking scripts.

That’s actually hilarious (provided you don’t actually use that information. otherwise it’s a dick move and probably a criminal offense in many places)

akash_rawal OP ,

I did not make this, and you’re supposed to put dummy details there. Don’t put actual credit card information.

SatouKazuma , in Uh oh, what have I done

I don’t think I’ve ever produced spaghetti code in my life…

Because my code never works in the first place.

MashedTech OP ,
henfredemars , in Uh oh, what have I done

My code is self-obfuscating.

deuleb_biezelbob ,
@deuleb_biezelbob@programming.dev avatar

Hi I work for Denuvo, do you have a minute?

henfredemars ,

Ah yes, The generated VM and callback-based obfuscator.

Daxtron2 , in I hate it

I can’t be the only one who has no issue seeing this right? It’s very obvious which is a palindrome and which isn’t.

istoff ,

I was like you earlier. It will hit you.

kureta ,

🥇

Daxtron2 ,

I’d like to thank the academy of palindrome sciences

Muehe , in How would your codebase (personal projects, work projects etc.) look as a burger?
ByteOnBikes ,

Too real.

We had a consultation last year to better structure our code base to look more like the first picture. Then it slowly evolved back into the second picture.

Lemminary ,
superkret ,

It’s lean!

thebardingreen , (edited ) in How would your codebase (personal projects, work projects etc.) look as a burger?
@thebardingreen@lemmy.starlightkel.xyz avatar

My code projects lately?

“This project uses an API written in PHP, with HTML in Lua (OpenResty) and JavaScript. We’re starting with the PHP component, please write me a burger with cheese, bacon, lettuce, tomato, pickles, ketchup and mustard.”

“Absolutely! I’d be happy to help with that! I understand that we’re creating a burger in PHP. Here is a burger, with cheese, bacon, lettuce tomato and mustard. Explanation of the burger: The bacon is on top of the cheese, so it doesn’t fall off. The lettuce is included, to create an underlying HTML structure.”

https://lemmy.starlightkel.xyz/pictrs/image/79a6fd96-5fd9-4be1-b3b8-ffbce6641633.png

“Um, that’s not at all what I asked for. First of all, you completely forgot the ketchup, which I explicitly told you was a requirement. Secondly, you said there was mustard, but I don’t see any. Third, the cheese is cottage cheese? No one puts that on burgers! Why would you put cottage cheese? Third, the bacon is turkey bacon. That’s not what I wanted at all. On top of that, the lettuce is UNDER the burger, not ON it. We’re not writing HTML, this is meant to be a rest API. All the output should be JSON.

Please try again. Write me a burger in PHP with pig bacon, mustard and ketchup, which you forgot to include last time, cheddar cheese (NOT cottage cheese) and tomato, pickles and lettuce INSIDE the bun. This is an API, so don’t write any HTML!”

“I appologize for the misunderstanding. Here is your burger with bacon (made from pigs, not turkey), mustard, ketchup, cheddar cheese, tomato, pickles and lettuce inside the bun. I understand this is an API, so I’ve taken out the HTML. Please let me know if there’s anything else I can help you with.”

https://lemmy.starlightkel.xyz/pictrs/image/b3aaee27-1097-483d-bd3a-0b14fe64262f.png

“It looks like you’ve called a function to put the lettuce inside the bun, but you never created that function?”

“You are correct. Your PHP code would need to have the function defined to put the lettuce inside the bun. Here is your updated PHP code with the putLettuceInsideBun function included.”

https://lemmy.starlightkel.xyz/pictrs/image/55ce6d44-4425-481a-a133-afd3f18387e4.png

“Thank you, there’s a tomato and the lettuce is inside the bun now. I’m not sure why you called the putLettuceInsideBun() function twice, but at least it’s in there now. I note there’s still no bacon, cheese, ketchup or mustard. You know what? I’m just going to write those parts myself!”

“Writing PHP code can be a fun and educational challenge! Please let me know if I can assist you any further with your PHP hot dog grilling project.”

yetAnotherUser , in How programmers comment their code

<span style="color:#323232;">/*
</span><span style="color:#323232;"> * Gets stupidFuckingInteger
</span><span style="color:#323232;"> *
</span><span style="color:#323232;"> * @returns stupidFuckingInteger
</span><span style="color:#323232;">*/
</span><span style="color:#323232;">public double getStupidFuckingInteger() {
</span><span style="color:#323232;">    return stupidFuckingInteger;
</span><span style="color:#323232;">}
</span><span style="color:#323232;">
</span>
mrpants ,

The lack of a return type declaration makes this sooo good.

expr ,

It has the return type declared to be double.

mrpants ,

I cannot read. Even better.

ILikeBoobies ,

Makes sense, people looking for int would find a double

threelonmusketeers ,

Happy cake day!

Amir ,
@Amir@lemmy.ml avatar

This being a double physically hurts

AdNecrias ,

Reminds me of a job I had where c# summaries were mandatory and people used a documentation generator just like that.

/// Ages the Category. public int AgeCategory (…)

schnurrito ,

plenty of APIs in Java have documentation like that and it is worst when I read the documentation in order to find out the definition of the nouns and verbs used there and then it is just like that

droans , in no amount of documentation can save users from themselves

I don’t even work in IT but I make complex Excel tools for my Finance team.

I get an email about once every week or two from one of my coworkers asking what to do about an issue. Nearly every single issue would have been resolved if they just read even the first few instructions.

My favorite is a specific tool we use to review the financials. It relies on Scripting.Dictionary which is only present in .NET 3.5.1 or prior. The very first instruction on the file says you need to download it. There’s even a very handy button right there which will take you to our software center to install it.

Yet every single time someone gets a new laptop, they immediately assume that the file is broken.

therealzordon ,

If you hear about it that much, why not make the script check for .NET before crashing?

droans ,

It’s not worth the effort and testing. People would only experience it once every 3-4 years, depending on when they get a new laptop. Must still shouldn’t have to worry since other software would install that version of .NET already.

Plus, people don’t bother to read error messages anyways. Another tool I created would create PDFs of the financials. The first section would be pulled from the EPM and the second would be a data dump of every transaction for each cost center. If the totals don’t match to the dollar, the script would throw an error.

90% of the time, it was because the EPM data was being refreshed as it’s scheduled to do so every half hour and takes 3-4 minutes. So I had the error message tell the person to just go take a quick break and come back. Still, people would email me saying they don’t understand why they’re getting the error and it would always be fixed if they just wait.

ornery_chemist , in How would your codebase (personal projects, work projects etc.) look as a burger?

I mean… just rotate it 90 degrees ((()))

niktemadur , in I hate it

It’s curious, but in my mind these types of mathematical or logical visualizations are the sheep I count, trying to sense the deeper flow and patterns where the emergent oddities even out.

That’s when I know I will soon fall fast asleep, when my mind starts getting abstract.

shadowedcross , in Uh oh, what have I done

I don’t even need to eat spaghetti. I’m efficient like that.

chonglibloodsport ,

But the code still comes from the same place!

pkill , in How would your codebase (personal projects, work projects etc.) look as a burger?

lots of onions cut in rings as they resemble parentheses the most

JetpackJackson ,

Fellow lisp user I see

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