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.

TriflingToad , in I hate it

for those too lazy to google,
palindrome /păl′ĭn-drōm″/ noun A word, verse, or sentence, that is the same when read backward or forward. “madam; Hannah; or Lewd did I live, & evil I did dwel.”

() () backwards is )( )(
() )( backwards is () )(

jaybone , in I hate it

A palindrome is about symbols. Not the visual representation of those symbols.

JokeDeity , in I hate it

Okay, but yes it is if you aren’t being extremely technical and pedantic.

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.

Emmie , in I hate it

Let us substitute: ( - x, ) - y
Thus ()() becomes xyxy
())( becomes xyyx
Now clearly it can be seen, even while high, that the second one is and the first isn’t

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!

polle , in I hate it

I don’t know what a palindrome is, it looks like iam better off this way.

gerbler ,

A word, number or string that can be read the same backwards and forwards. Like 2112, 11/11/11, “A Toyotas a Toyota”, “Was it a cat I saw?”.

iAvicenna , in Detailed Error Messages
@iAvicenna@lemmy.world avatar

I can tell by the error msg this wasn’t an error before and was the cause of much grief

CanadaPlus , in Detailed Error Messages

Man, actually seeing this in a wild log would make my day.

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.

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.

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

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

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.”

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 ,
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.

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