this post was submitted on 16 May 2025
492 points (95.6% liked)

memes

14919 readers
4707 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/AdsNo advertisements or spam. This is an instance rule and the only way to live.

A collection of some classic Lemmy memes for your enjoyment

Sister communities

founded 2 years ago
MODERATORS
 
top 25 comments
sorted by: hot top controversial new old
[–] workerONE@lemmy.world 23 points 1 week ago (2 children)

YYYY-MM-DD crew checking in

[–] surewhynotlem@lemmy.world 10 points 1 week ago

ISO 8601 for life

[–] lolrightythen@lemmy.world 2 points 1 week ago

Thank you. I was gonna let this one slide over my head.

[–] akilou@sh.itjust.works 18 points 1 week ago

Excel 2: January 2nd

[–] phoenixz@lemmy.ca 11 points 1 week ago (3 children)

Meanwhile JavaScript: 1+"2" = "12"

Just had fun with that yesterday

[–] WordBox@lemmy.world 6 points 1 week ago

I'm assuming "" makes 2 a string... Would expect 12 as well.

[–] tfed@infosec.exchange 1 points 1 week ago

@phoenixz @Deceptichum Engineer: The half of glass is wasted.

[–] dual_sport_dork@lemmy.world 0 points 1 week ago* (last edited 1 week ago) (2 children)

You can wind up in the same trap in VB/VBA as well. It baffles me that in this current century there are still languages where text concatenation symbols and mathematical operators are the same character.

It's even worse in the case of VB because you can also use & explicitly to concatenate strings, whereas + can be either a mathematical operator or a string concatenator depending on context and the types of variables you've put it between, which VB may or may not decide to cast into strings depending on an arcane set of conditions that nobody understands or remembers. So the solution was right there all along, i.e. just make & the only concatenator and reserve + for math only. But that would be too much like right.

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

There's nothing wrong with overloading an operator for other classes; the problem is the unexpected typecasting.

Python, for example, will allow you to "add" strings to concatenate, but will throw a type error if you attempt to add a string to an integer.

[–] phoenixz@lemmy.ca 1 points 1 week ago (1 children)

PHP uses . which works perfectly fine, I've never encountered this nonsense before

[–] dual_sport_dork@lemmy.world 1 points 1 week ago

Yes, and PHP can even implicitly (or explicitly!) cast variables between different types. Dot (.) is for strings and + is for math. It's one of the few things about PHP that makes sense.

[–] Empricorn@feddit.nl 6 points 1 week ago
[–] possiblylinux127@lemmy.zip 4 points 1 week ago

This is so close to being good

Why did you put it in a twitter screenshot instead of a meme

[–] Luci@lemmy.ca 3 points 1 week ago

This meme is feeling really over done lately.

[–] Jolteon@lemmy.zip 2 points 1 week ago* (last edited 1 week ago)

The glass is a non-homogeneous 50/50 blend of water and air

[–] Fleur_@aussie.zone 2 points 1 week ago (1 children)

If a glass is half full on a table but there are no optimists to see it, is it half empty?

[–] Klear@lemmy.world 1 points 1 week ago

You have an infinitely large glass of water that is full, but you need to store extra infinite water in it. Will your optimism help you do this safely?

[–] bingrazer@lemmy.world 2 points 1 week ago

Theoden: this glass is half of what I’d hoped for

[–] hOrni@lemmy.world 2 points 1 week ago

Pessimist: The glass is half empty.

Optimist: The glass is half full.

Realist: Guys, I think this is piss.

[–] lambalicious@lemmy.sdf.org 2 points 1 week ago
[–] Treczoks@lemmy.world 1 points 1 week ago

The glass is 100% overengineered for it's current mode of operation.

[–] someguy3@lemmy.world 1 points 1 week ago* (last edited 1 week ago) (2 children)

Not Jan 2? I must test this.

*Tested. Jan 2 from 1-2 and 1/2.

[–] then_three_more@lemmy.world 1 points 1 week ago

I was thinking it would be about midday on 31st of December 1899.

[–] Creat@discuss.tchncs.de 1 points 1 week ago (1 children)

Depends on your date format. For it to be a problem to begin with, you need to use a date format with "/" as the separator. If it's 1st of Jan or Feb 1st then depends on the order.

And of course you need to enter an actual fraction, instead of like 0.5. This also narrows down the locations where this is an issue considerably. I think it's mostly north America where fractions are more commonly used instead of decimals die to the imperial system, but there might be other places where it's common, too, and I just don't know about it.

[–] someguy3@lemmy.world 1 points 1 week ago

Tested. Jan 2 from 1-2 and 1/2.