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.

psilves1 , in Developer compass

This doesn’t make sense

DrQuint ,
@DrQuint@lemmy.ml avatar

So… A typical compass meme.

TickleMeElmo , in Everyone knows if you type out your password it'll turn to asterisks anyways
@TickleMeElmo@discuss.tchncs.de avatar

There is missing a

Everyone is admin, please don’t do something destructive

KerryAnnCoder , in What if we tried designing C a second time?

Isn’t that what Rust is?

darcy ,
@darcy@sh.itjust.works avatar

no.

flambonkscious , in Works every time (not OC)

I dunno, I’d kinda like to try riding that.

If probably need it to be a drinking game it something, however - this does not constitute a functional working environment, but it would be pretty entertaining

ingwiephoenix , in What if we tried designing C a second time?

C: What if you used emojis for pointer (*) and deref (&) signs?

beaubbe , in Working at PornHub

Interestingly enough, they actually use the name MindGeek on pay slips and stuff for this reason.

Scribbd , in Why must you hurt me like this

Oof. Right into the hurt.

Currently 6 months in, on a 2 week task.

_bug0ut ,
@_bug0ut@lemmy.world avatar

Funny, I just came off a 2-week task and it took 6 months. Just started a 3 day task… get back to me at the end of July.

chkno , in Cosmic Rays?

Any sane compiler will simplify this into


<span style="color:#323232;">    function cosmicRayDetector() {
</span><span style="color:#323232;">      while(true) {
</span><span style="color:#323232;">      }
</span><span style="color:#323232;">    }
</span>

C++ may further ‘simplify’ this into


<span style="color:#323232;">    function cosmicRayDetector() {
</span><span style="color:#323232;">      return
</span><span style="color:#323232;">    }
</span>
LuciferMorningWood ,

Iirc the issue was that while(true) would be removed while it should be replaced with ret and this caused a bug where the binary would execute next function

But I believe this way of cosmic ray detection would work


<span style="color:#323232;">volatile bool condition = true;
</span><span style="color:#323232;">while(condition) {
</span><span style="color:#323232;">}
</span><span style="color:#323232;">printf("Cosmic ray detected");
</span>
vis4valentine , in Working at PornHub
@vis4valentine@lemmy.ml avatar

You can always say that you work for a mayor streaming company called “mindgeek” and hope they don’t google what the hell mindgeek is.

Xanvial , in Cosmic Rays?

You should add returns ray detected outside of while loop

flambonkscious ,

That resembles some of my PowerShell waaay too much. If it wasn’t for the cosmic ray thing, I thought this was my GitHub…

CannotSleep420 , in I still have nightmares (not OC)

I once had a professor ask to solve the tower of hanoi using only 2 pegs.

illectrility OP ,
@illectrility@lemmy.world avatar

How did that turn out?

CannotSleep420 ,

It was a trick question.

illectrility OP ,
@illectrility@lemmy.world avatar

Yeah of course but what did he expect to happen?

CannotSleep420 ,

Realize it was impossible I guess?

Kerb , in My goals are beyond your understanding (Not OC)
@Kerb@discuss.tchncs.de avatar

Import pandas as np
Import numpy as tf
Import matplotlib.pyplotlib as pd
Import tensorflow as plt

Or if your more of a c++ guy:

true false
false true

Kerb , in Modernizing code be like
@Kerb@discuss.tchncs.de avatar

There are Bluetooth versions of these cassettes,

In case you want to future proof it for the day apple releases a portless iphone

CanadaPlus ,

Nah. Just plug a Bluetooth USB port onto the end.

(I joke, but my laptop is currently plugged into an external wifi device because it was easier than fucking with the built-in chip)

tias , in "This does not work in the Nintendo 3DS browser"

Still better than IE

miroppb , in Whoops
@miroppb@kbin.social avatar

Especially when it happens on Friday at 4:59

bigbluealien ,
@bigbluealien@kbin.social avatar

Eh, it can wait till Monday

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