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

memes

22110 readers
2543 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 3 years ago
MODERATORS
top 50 comments
sorted by: hot top controversial new old
[–] abbadon420@sh.itjust.works 113 points 2 months ago (3 children)

I bet the date wasn't in ISO 8601

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

I’m more of an RFC 3339 kinda guy

[–] abbadon420@sh.itjust.works 22 points 2 months ago (1 children)
load more comments (1 replies)
load more comments (2 replies)
[–] lime@feddit.nu 81 points 2 months ago (24 children)

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

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

The real reason she won't call back.

[–] qprimed@lemmy.ml 24 points 2 months ago

indeed. permanently off by 1.

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

This is a language dependent semantic difference.

I'll see myself out

[–] lime@feddit.nu 8 points 2 months ago (2 children)

hey no you can't logic your way out of this! i wanted an argument!

[–] edgemaster72@lemmy.world 21 points 2 months ago

No you didn't

[–] NocturnalMorning@lemmy.world 5 points 2 months ago (1 children)
load more comments (1 replies)
[–] turdas@suppo.fi 19 points 2 months 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.

[–] lime@feddit.nu 5 points 2 months ago

it also states in section 6.7.7 ("type names") that

If the pointer operand points to an element of an array object, and the array is large enough, the result points to an element offset from the original element such that the difference of the subscripts of the resulting and original array elements equals the integer expression.

note also that your example is the only occurrence of the word "index" in the entire document that isn't just referring to the actual index at the end.

[–] bitchkat@lemmy.world 4 points 2 months ago (1 children)

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

load more comments (1 replies)
[–] SorryQuick@lemmy.ca 4 points 2 months ago (7 children)

Says who?

By definition, an index is

a number or symbol or expression (such as an exponent) associated with another to indicate a mathematical operation to be performed or to indicate use or position in an arrangement

Since the arrays offsets alao tell us about the items’s position in the array, is it not then an index?

People take these terms way too seriously. Hell, many languages have their “list” implemented as an array. What then do you call the index/offset?

load more comments (7 replies)
load more comments (19 replies)
[–] treadful@lemmy.zip 43 points 2 months ago (3 children)
[–] Vitaly@feddit.uk 12 points 2 months ago* (last edited 2 months ago) (2 children)
[–] thenextguy@lemmy.world 19 points 2 months ago
[–] qprimed@lemmy.ml 8 points 2 months ago* (last edited 2 months ago)

🎶her name was lua🎶 🎶she was a coder🎶

[–] darkevilmac@lemmy.zip 7 points 2 months ago

I was too late to make the Lua joke, damn

load more comments (1 replies)
[–] panda_abyss@lemmy.ca 19 points 2 months ago (4 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.

[–] turdas@suppo.fi 14 points 2 months ago (1 children)

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

[–] panda_abyss@lemmy.ca 4 points 2 months ago (1 children)

Technically Real math only uses numbers.

[–] SatansDaughter@piefed.blahaj.zone 5 points 2 months ago (1 children)
[–] calcopiritus@lemmy.world 4 points 2 months ago (4 children)

I believe it was a joke where real maths refer to maths dealing with real numbers.

load more comments (4 replies)
[–] Aceticon@lemmy.dbzer0.com 5 points 2 months ago* (last edited 2 months ago) (2 children)

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

load more comments (2 replies)
[–] Knock_Knock_Lemmy_In@lemmy.world 4 points 2 months ago (1 children)

In economics, many indices start at 100.

load more comments (1 replies)
[–] possiblylinux127@lemmy.zip 18 points 2 months ago (1 children)
[–] driving_crooner@lemmy.eco.br 7 points 2 months ago (1 children)
[–] mumblerfish@lemmy.world 5 points 2 months ago (1 children)
[–] Jestzer@lemmy.world 7 points 2 months ago (2 children)
[–] WhiskyTangoFoxtrot@lemmy.world 8 points 2 months ago
[–] thebestaquaman@lemmy.world 4 points 2 months ago* (last edited 2 months ago)

And FORTRAN (I do nothing but SCREAM in FORTRAN anyway)

[–] dohpaz42@lemmy.world 15 points 2 months ago* (last edited 2 months 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 2 months ago (7 children)

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

[–] SpaceNoodle@lemmy.world 9 points 2 months ago

So you're saying she's BASIC?

[–] qprimed@lemmy.ml 9 points 2 months ago

fucked anyway

load more comments (5 replies)
[–] GreenKnight23@lemmy.world 13 points 2 months ago
[–] carmo55@lemmy.zip 10 points 2 months ago (1 children)

R wins again! I'm grateful every time i write the vector 1:n

[–] echodot@feddit.uk 4 points 2 months ago

It's useful though. It's more of a point when it doesn't work.

Anyway, there only one thing better than a sensible solution, and that's a standard.

[–] sangeteria@lemmy.ml 10 points 2 months ago (3 children)

Not in MATLAB/Julia! (But like yes under the hood computers start at 0)

[–] Meron35@lemmy.world 6 points 2 months ago

MATLAB, Julia, R, Fortran, Lua.

Imo the real point of contention is column vs row major ordering in matrices. Actually so cursed trying to move between languages.

load more comments (2 replies)
[–] Jankatarch@lemmy.world 7 points 2 months ago

Let's meet in middle and start it at 0.5

[–] ivanafterall@lemmy.world 5 points 2 months ago

You dodged a bullet, my friend.

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

Two Gyllenhaal back to back?

load more comments (2 replies)
[–] PP_BOY_@lemmy.world 5 points 2 months ago

she forgot and is already getting her guts rearranged by Chad Thundercock 10.5"

load more comments
view more: next ›