this post was submitted on 12 May 2026
993 points (98.7% liked)

memes

21285 readers
3343 users here now

Community rules

1. Be civilNo trolling, bigotry or other insulting / annoying behaviour

2. No politicsThis is non-politics community. For political memes please go to !politicalmemes@lemmy.world

3. No recent repostsCheck for reposts when posting a meme, you can only repost after 1 month

4. No botsNo bots without the express approval of the mods or the admins

5. No Spam/Ads/AI SlopNo advertisements or spam. This is an instance rule and the only way to live. We also consider AI slop to be spam in this community and is subject to removal.

A collection of some classic Lemmy memes for your enjoyment

Sister communities

founded 2 years ago
MODERATORS
 
top 50 comments
sorted by: hot top controversial new old
[–] Jankatarch@lemmy.world 7 points 5 days ago

Let's meet in middle and start it at 0.5

[–] LemmyFeed@lemmy.dbzer0.com 5 points 5 days ago (2 children)

Two Gyllenhaal back to back?

[–] FosterMolasses@leminal.space 2 points 5 days ago

I saw Gosling posting for a while, only fair that Gyllenhaal gets his time in the sun

Glitch in the matrix

[–] abbadon420@sh.itjust.works 113 points 1 week ago (2 children)

I bet the date wasn't in ISO 8601

[–] mrgoosmoos@lemmy.ca 3 points 6 days ago (1 children)

I got some files from a supplier last month date suffixed mmddyy, ex: concept1-250426

I didn't even recognize it was a date stamp at first, until putting it alongside some earlier files from them with something like 190426

what the fuck kind of nearly useless date stamp is that

[–] Test_Tickles@lemmy.world 2 points 5 days ago

So they were dated the same day exactly 6 yrs apart. What a crazy coincidence.

[–] pennomi@lemmy.world 23 points 1 week ago (1 children)

I’m more of an RFC 3339 kinda guy

[–] abbadon420@sh.itjust.works 22 points 1 week ago (1 children)
[–] one_old_coder@piefed.social -1 points 6 days ago

He prefers freedom rather than give money to useless companies.

[–] lime@feddit.nu 82 points 1 week ago (31 children)

arrays don't have indices. lists have indices. arrays have offsets.

[–] bitchkat@lemmy.world 4 points 6 days ago (1 children)

I think you got that backwards sport. Index implies direct access but offset implies traversal.

[–] lime@feddit.nu 1 points 6 days ago

no? an offset is just a number that you add to an address to get a new number. and index in a generic position marker.

[–] The_Picard_Maneuver@lemmy.world 117 points 1 week ago (1 children)

The real reason she won't call back.

[–] qprimed@lemmy.ml 24 points 1 week ago

indeed. permanently off by 1.

[–] NocturnalMorning@lemmy.world 22 points 1 week ago* (last edited 1 week ago) (4 children)

This is a language dependent semantic difference.

I'll see myself out

load more comments (4 replies)
[–] turdas@suppo.fi 19 points 1 week ago (1 children)

§6.7.9 of the C11 standard says they have elements with indices:

If an array of unknown size is initialized, its size is determined by the largest indexed element with an explicit initializer. The array type is completed at the end of its initializer list.

load more comments (1 replies)
load more comments (27 replies)
[–] treadful@lemmy.zip 43 points 1 week ago (5 children)
load more comments (5 replies)
[–] panda_abyss@lemmy.ca 19 points 1 week ago (5 children)

Djikstra was so fucking wrong with this and people who parrot this are so annoying.

Sure, an offset starts at zero, but an index can very well start at one. Not all arrays represent a physical offset, please stop pretending your inferior zero only indexing is in any way superior.

Sometimes math is just simpler from one. When you’re translating math to code, one based indexes are usually better.

[–] Aceticon@lemmy.dbzer0.com 5 points 6 days ago* (last edited 6 days ago) (1 children)

I shall not lower myself to use the newfangled Mathematical inventions of the Arabs and instead keep doing Mathematics like the Romans!

[–] Jankatarch@lemmy.world 1 points 6 days ago* (last edited 6 days ago) (1 children)

But how will you use zero-indexing without the number zero?

[–] Aceticon@lemmy.dbzer0.com 2 points 5 days ago

All I hear is nothing-indexing with nothing.

[–] turdas@suppo.fi 14 points 1 week ago (7 children)

If your math uses numbers it's not real math.

load more comments (7 replies)
load more comments (3 replies)
[–] possiblylinux127@lemmy.zip 18 points 1 week ago (5 children)
load more comments (5 replies)
[–] dohpaz42@lemmy.world 15 points 1 week ago* (last edited 1 week ago)

There is no second date because YYYY-MM-DD'T'HH:ii:ss'Z' is the only acceptable date.

[–] unknownuserunknownlocation@kbin.earth 14 points 1 week ago (6 children)

Unless you're programming in VBA. But at that point you're already fucked anyway.

[–] bstix@feddit.dk 1 points 6 days ago* (last edited 6 days ago) (1 children)

VBA arrays start at 0, unless you explicitly set it to start at 1.

Technically, VBA arrays start wherever you want them to and end wherever you want them to. Thing is, since VBA is usually interfacing with MS Office, you're heavily dependent on what the office APIs do. And unfortunately, they very often start counting with 1. So practically, you're generally starting your counting with 1.

load more comments (5 replies)
load more comments
view more: next ›