Hofmaimaier@feddit.org to Programmer Humor@programming.dev · 30 days agoultra casualfeddit.orgimagemessage-square31linkfedilinkarrow-up11
arrow-up11imageultra casualfeddit.orgHofmaimaier@feddit.org to Programmer Humor@programming.dev · 30 days agomessage-square31linkfedilink
minus-squareChaoticNeutralCzech@feddit.orglinkfedilinkEnglisharrow-up0·30 days agoHere are some of the missing pixels:
minus-squarerizzothesmall@sh.itjust.workslinkfedilinkarrow-up0·30 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-up0·30 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-up0·29 days agoI suggest RFC 2549: IP over Avian Carriers with Quality of Service .
minus-squareSpeiser0@feddit.orglinkfedilinkarrow-up0·30 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-up0·30 days ago#define unlocked endl Yeah, nobody writes that except to make a single joke
minus-squareA_norny_mousse@piefed.ziplinkfedilinkEnglisharrow-up0·30 days agoint personality = sizeof(goals); Feels a bit simplified to me.
minus-squareChaoticNeutralCzech@feddit.orglinkfedilinkEnglisharrow-up0·30 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.
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!
I suggest RFC 2549: IP over Avian Carriers with Quality of Service .
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
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.