Hofmaimaier@feddit.org to Programmer Humor@programming.dev · 28 days agoultra casualfeddit.orgimagemessage-square46fedilinkarrow-up1403arrow-down119
arrow-up1384arrow-down1imageultra casualfeddit.orgHofmaimaier@feddit.org to Programmer Humor@programming.dev · 28 days agomessage-square46fedilink
minus-squareChaoticNeutralCzech@feddit.orglinkfedilinkEnglisharrow-up29·28 days agoHere are some of the missing pixels:
minus-squareSpeiser0@feddit.orglinkfedilinkarrow-up17·28 days 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-up4·28 days ago#define unlocked endl Yeah, nobody writes that except to make a single joke
minus-squareA_norny_mousse@piefed.ziplinkfedilinkEnglisharrow-up7·28 days agoint personality = sizeof(goals); Feels a bit simplified to me.
minus-squareChaoticNeutralCzech@feddit.orglinkfedilinkEnglisharrow-up6·edit-228 days 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-squarerizzothesmall@sh.itjust.workslinkfedilinkarrow-up6arrow-down2·28 days 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-up4·28 days 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-squareChais@sh.itjust.workslinkfedilinkarrow-up3·edit-227 days agoI suggest RFC 2549: IP over Avian Carriers with Quality of Service .
Here are some of the missing pixels:

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
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.
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!
I suggest RFC 2549: IP over Avian Carriers with Quality of Service .