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.
This magazine is from a federated server and may be incomplete. Browse more on the original instance.
leaky_shower_thought , 9 months ago in blast! no foot to shoot, no problem! 👍
no foot to shoot, no problem! 👍
ExfilBravo , 9 months ago in counting LUN is life.
LUN is life.
sheepishly , 9 months ago in counting I literally did this the other day... to be fair, it was a list starting with the number zero.
I literally did this the other day... to be fair, it was a list starting with the number zero.
sirico , 9 months ago in counting Haaaaaang on is that why we start on 0…
Haaaaaang on is that why we start on 0…
DmMacniel , 9 months ago No. We count start at zero because the array already starts with an element of a specific size. Starting at 1 would always skip that initial element.
No. We count start at zero because the array already starts with an element of a specific size. Starting at 1 would always skip that initial element.
CanadaPlus , 9 months ago (edited 9 months ago) You could have “empty arrays” in a language if you wanted. The real reason is that you start with an offset of zero as you read an array from memory at hardware level, and so this way address is just “start address + element size * element number”.
You could have “empty arrays” in a language if you wanted. The real reason is that you start with an offset of zero as you read an array from memory at hardware level, and so this way address is just “start address + element size * element number”.
BorgDrone , 9 months ago No, we start counting at one. We start indexing at zero. An array with one element has an element count of 1, and that element would be at index 0.
No, we start counting at one. We start indexing at zero.
An array with one element has an element count of 1, and that element would be at index 0.
LaggyKar , 9 months ago This is how we end up with off-by-one errors
This is how we end up with off-by-one errors
LazaroFilm , 9 months ago Because if you convert it back to binary, you have 0x0000 and that is one extra bit you can use instead of limiting your available values.
Because if you convert it back to binary, you have 0x0000 and that is one extra bit you can use instead of limiting your available values.
CannotSleep420 , 9 months ago in The King's Toaster - redux (a tale as old as time) This is a work of art.
This is a work of art.
apprehentice , 9 months ago in object.setobject(object.getobject().object).to_object() Imagine not using a language with setters and getter built in lol
Imagine not using a language with setters and getter built in lol
Striped , 9 months ago in I have an electrical engineering joke but it will probably meet resistance Watt’s the joke?
Watt’s the joke?
dukk , 9 months ago The Voyager post says “0 comments”, but there’s a comment clearly visible at the bottom(of the voyager screenshot). /s
The Voyager post says “0 comments”, but there’s a comment clearly visible at the bottom(of the voyager screenshot).
/s
Pilokyoma , 9 months ago in The Programmer Hierarchy Binario
Binario
SubWoofer , 9 months ago in Compiz fusion gave me what a degree barely could This is unironically true, just that i have yet to finish college
This is unironically true, just that i have yet to finish college
Yuper , 9 months ago in I have a software engineering joke but it's probably not scalable Darn, I didn’t see this one yet and I just made one too. At least they are different enough to stand on their own.
Darn, I didn’t see this one yet and I just made one too. At least they are different enough to stand on their own.
RuikkaaPrus , 10 months ago in Temporary mental block I tried to write a Metadata Cleaner in Python, but I need to learn EXIF before
I tried to write a Metadata Cleaner in Python, but I need to learn EXIF before
lemmy_nightmare , 10 months ago in A good book can change your life 🤣🤣🤣
🤣🤣🤣
Presi300 , 10 months ago in Proof that Regex is Hate Speech! Regex can be explained? I thought it was all just arcane runes, only understood by 60 year old unix wizards, who created it in the 1st place…
Regex can be explained? I thought it was all just arcane runes, only understood by 60 year old unix wizards, who created it in the 1st place…
lolcatnip , 10 months ago in I'm going to sit down and actually learn git this week I swear to God sometimes git just conjures merge conflicts out of nothing.
I swear to God sometimes git just conjures merge conflicts out of nothing.
m3t00 , 10 months ago in I'm going to sit down and actually learn git this week coffee
coffee
programmerhumor
Top
This magazine is from a federated server and may be incomplete. Browse more on the original instance.