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.

nhriven , in Stop doing Computer Science

Great idea mate

Rin , in Stop doing Computer Science

while (true) { print(money) }

isn’t that just crypto mining?

NaibofTabr ,

Three years ago, yes. Now? not so much.

Rin ,

i mine monero while idle and it prints a massive 0.03GBP a day :)

ThanksForAllTheFish ,

Serious question, wouldn’t it be cheaper to buy it?

newIdentity ,

Yes

Rin ,

given i have solar panels, it’s technically free money.

coloredgrayscale ,

And how much does it cost you in electricity?

Rin ,

free (solar)

joyjoy ,

JavaScript will actually open the print dialog.

BastingChemina ,

This is basically what the bank are doing when you get a loan.

When you get a $25k loan from a bank the banker does not take money from somewhere to put it in your bank account. The banker basically just add a +25k in your bank account that comes from nowhere.

manapropos , in Stop doing Computer Science

This but unironically

Narrrz ,

SAND WAS NOT DESIGNED FOR THINKING
THIS IS NOT A NATURAL USE FOR ROCK DUST

dudinax ,

Pretty broad statement from a charcoal-brain.

spez , in Stop doing Computer Science

I always wonder what the original post was. Something like “Stop doing science!” or some shit but seriously rather than sarcastically.

d_k_bo ,
spez ,

Ah ha! Thanks, I thought this spawned on some conspiracy facebook group

threelonmusketeers ,

Funnily enough, helical apple slicers can easily produce the shape depicted in the bottom quote, making it a not unreasonable request.

Isoprenoid , in Stop doing Computer Science

Can someone explain this joke to me

“I’m writing a recursive method with threads to optimize the CPU usage in a 0.02%

I understand everything apart from the “in a 0.02%”. What does that mean? How can something be in a percentage?

Sheik ,

I think they meant « by ».

obosob ,
@obosob@feddit.uk avatar

It’s a nonsensical statement to us programmers too.

peopleproblems ,

It’s a double joke. For programmers, it’s pretty useless unless your in high performance computing.

If you’re on the nitty gritty OS or CPU itself, 0.02% optimization can mean significant improvememt of different things but because it is otherwise unitless, it is equally useless to the reader.

snowe ,
@snowe@programming.dev avatar

“In a .02%” is nonsensical. They meant “by”. So it’s just a fail, not a joke.

whileloop , in Stop doing Computer Science
@whileloop@lemmy.world avatar

This could be so much longer.

Killing children, class systems, so many programming language names, the ridiculous ways equality and order-of-operations are done sometimes. Plenty of recursion jokes to be made. Big O notation. Any other ideas?

MxM111 ,

GOTO

Hoimo ,

GOTO is the only thing that makes sense. It’s the “high-level” concepts like for-loops, functions and list comprehension that ruined programming.

series.append(series[k-1]+series[k-2]) for k in range(2,5)]

RAVINGS DREAMT UP BY THE UTTERLY DERANGED

Vilian ,

if goto make sense why don’t you go to get some bitches

newIdentity ,

Because “get some bitches” is an invalid instruction

ChickenLadyLovesLife ,

I started coding with TurboBasic, which included the helpful innovation of GOTO {label} instead of GOTO {line number}, which allowed you to have marginally-better-looking code like:

GOTO bob

bob:
{do some useless shit}
return

which meant you essentially had actual, normal methods and you didn’t have to put line numbers in front of everything. The problem was that labels (like variables) could be as long as you wanted them to be, but the compiler only looked at the first two letters. Great fun debugging that sort of nonsense.

chfour ,

WHAT DO YOU MEAN IT ONLY LOOKS AT THE FIRST TWO LETTERS WHAT

Gork ,

Big Orgasm notation

dukk ,

A monad is just a monoid in the category of endofunctors.

dylanTheDeveloper ,
@dylanTheDeveloper@lemmy.world avatar

The only reason I enjoy C++ is because I can cast destroy on children and it’s parents if they’re present in the world

Lightor ,

Masters and slaves

Cloning

Deploying code (that’s what you do with soldiers!!!1)

Using Git to rewrite history.

Atomic values (like the bomb!)

These people are madmen.

Gustephan ,

One of the slave node’s child process failed, so the master node sent a signal to terminate the child and restart the slave

There’s pretty solid reason my research group is pushing to use “head node and executor nodes” nomenclature rather than the old-school “master node and slave nodes” nomenclature, haha

lowered_lifted ,

Floating point operations with decimals not always adding up

xmunk ,

They always must add up - if they added down then they wouldn’t be floating points now would they!

bob_wiley , in Stop doing Computer Science
@bob_wiley@lemmy.world avatar

deleted_by_author

  • Loading...
  • GlitterInfection ,

    Crypto, eh?

    bob_wiley ,
    @bob_wiley@lemmy.world avatar

    deleted_by_author

  • Loading...
  • Cubes ,

    Man, this must just be a right of passage for working as a SWE or MLE at this point. I’ve heard this pitch from coworkers/managers more than once.

    normalexit ,

    So, uhh… what did the print(money) part look like? Asking for a friend.

    NaibofTabr ,

    Depending on what your coworker actually intended to do, you might want to let them know that printers have features built in to make their output traceable, specifically intended for catching counterfeiters.

    newIdentity , (edited )

    That’s one of these things that sounds like a crazy conspiracy theory the first time you hear about it, but it’s true

    Edit: haven’t actually clicked the link. I mean the yellow dots which the printer makes which is directly traceable to your printer: en.m.wikipedia.org/…/Machine_Identification_Code

    Basically all printer manufacturers entered a secret contract with governments.

    computertoucher5000 , in Monitor Alignment Alignment Chart

    Chaotic neutral on my work desk, lawful good on the gaming desk. Priorities.

    BeezKnuts , in Monitor Alignment Alignment Chart
    @BeezKnuts@lemmy.world avatar

    I guess I’m chaotic neutral. I’ve never had enough money to buy two of the same monitor. All of my stuff is stuff I got either for free from school or for extremely cheap.

    cesium , in Monitor Alignment Alignment Chart

    Lawful evil, but with ultrawide monitors.

    StarkillerX42 , in Monitor Alignment Alignment Chart

    A neat trick I learned recently. The vertical /smaller/secondary monitor should go on different sides for different people. Hold a finger close to your face and close one eye and then the other. Whichever eye more closely matches the both-eye image is your dominant eye and is where your secondary monitor should go.

    FrostKing , in Monitor Alignment Alignment Chart

    Chaotic neutral - Laptop + larger monitor

    spikespaz , in Monitor Alignment Alignment Chart
    Abird1620 ,

    Psychotic

    FrostKing ,

    Someone with bad posture

    spikespaz ,

    Why?

    computertoucher5000 ,

    Dunno, but I would like to know more about your lamp

    spikespaz ,

    Unfortunately I got it at a thrift shop and there are no stickers. Googling for “pulley lamp” shows me one that looks very similar: “Carbon Loft Tirith Industrial Farmhouse Table Lamp with Pulley System”

    computertoucher5000 ,

    Thanks for that!

    Turun ,

    Sick lamp! A bitch to dust off I bet, but I like the style.

    kamen , in Monitor Alignment Alignment Chart

    Used to be a chaotic neutral, but realised that a full screen video doesn’t work well with a display in portrait orientation (and even if I have a laptop below, it’s too small). Neutral good right now with two 27"s; might add a 34" later on.

    Pringles , in Monitor Alignment Alignment Chart

    My setup isn’t featured, but it’s basically neutral good with the laptop below it in the middle.

    suomisepp ,

    This is the way.

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