Hofmaimaier@feddit.org to Programmer Humor@programming.dev · 9 hours agoultra casualfeddit.orgimagemessage-square37fedilinkarrow-up1284arrow-down19
arrow-up1275arrow-down1imageultra casualfeddit.orgHofmaimaier@feddit.org to Programmer Humor@programming.dev · 9 hours agomessage-square37fedilink
minus-squareChaoticNeutralCzech@feddit.orglinkfedilinkEnglisharrow-up27·7 hours agoHere are some of the missing pixels:
minus-squarerizzothesmall@sh.itjust.workslinkfedilinkarrow-up3·2 hours agoOof, this would genuinely make me like someone less. Like, it’s great that you like nerd stuff but that’s just bullshit…
minus-squareJayjader@jlai.lulinkfedilinkarrow-up2·2 hours agoYeah, go big or go home with this kind of stuff. Give me some Linux kernel source code, maybe even some well-known RFC!
minus-squareA_norny_mousse@piefed.ziplinkfedilinkEnglisharrow-up5·4 hours agoint personality = sizeof(goals); Feels a bit simplified to me.
minus-squareChaoticNeutralCzech@feddit.orglinkfedilinkEnglisharrow-up2·edit-23 hours agoYou are correct, that is simplified. The whole line is int personality = sizeof(goals) / sizeof(goals[0]); To get the length of an array in C, it’s necessary to divide its memory footprint by the size of a single element! BTW you can see what appears to be ASCII in the background of that image. You can decode it if you’re bored.
minus-squareSpeiser0@feddit.orglinkfedilinkarrow-up11·6 hours agoTypical boring useless shit code. Using bad variable names, and in the end you just say “look, I can count to 10”. Before sorting: 8 6 1 10 5 9 3 2 4 7 Does it have a meaning? I don’t think so.
minus-squareChaoticNeutralCzech@feddit.orglinkfedilinkEnglisharrow-up3·3 hours ago#define unlocked endl Yeah, nobody writes that except to make a single joke
Here are some of the missing pixels:

Oof, this would genuinely make me like someone less. Like, it’s great that you like nerd stuff but that’s just bullshit…
Yeah, go big or go home with this kind of stuff. Give me some Linux kernel source code, maybe even some well-known RFC!
int personality = sizeof(goals);
Feels a bit simplified to me.
You are correct, that is simplified. The whole line is
int personality = sizeof(goals) / sizeof(goals[0]);To get the length of an array in C, it’s necessary to divide its memory footprint by the size of a single element!
BTW you can see what appears to be ASCII in the background of that image. You can decode it if you’re bored.
Typical boring useless shit code. Using bad variable names, and in the end you just say “look, I can count to 10”.
Before sorting: 8 6 1 10 5 9 3 2 4 7 Does it have a meaning? I don’t think so.
#define unlocked endlYeah, nobody writes that except to make a single joke
deleted by creator
You’ve found them.