this post was submitted on 04 Aug 2026
716 points (96.0% liked)

Microblog Memes

11951 readers
2070 users here now

A place to share screenshots of Microblog posts, whether from Mastodon, tumblr, ~~Twitter~~ X, KBin, Threads or elsewhere.

Created as an evolution of White People Twitter and other tweet-capture subreddits.

RULES:

  1. Your post must be a screen capture of a microblog-type post that includes the UI of the site it came from, preferably also including the avatar and username of the original poster. Including relevant comments made to the original post is encouraged.
  2. Your post, included comments, or your title/comment should include some kind of commentary or remark on the subject of the screen capture. Your title must include at least one word relevant to your post.
  3. You are encouraged to provide a link back to the source of your screen capture in the body of your post.
  4. Current politics and news are allowed, but discouraged. There MUST be some kind of human commentary/reaction included (either by the original poster or you). Just news articles or headlines will be deleted.
  5. Doctored posts/images and AI are allowed, but discouraged. You MUST indicate this in your post (even if you didn't originally know). If an image is found to be fabricated or edited in any way and it is not properly labeled, it will be deleted.
  6. Absolutely no NSFL content.
  7. Be nice. Don't take anything personally. Take political debates to the appropriate communities. Take personal disagreements & arguments to private messages.
  8. No advertising, brand promotion, or guerrilla marketing.

RELATED COMMUNITIES:

founded 3 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] JasonDJ@lemmy.zip 9 points 2 days ago* (last edited 2 days ago) (1 children)
basket = []
for pos in billionaires: 
    if pos not in basket: 
-       basket += guillotine(b)
+      basket += guillotine(pos)  # Corrected iterable naming
[–] trublu@lemmy.dbzer0.com 5 points 2 days ago (2 children)
basket = [ guillotine(billionaire) for billionaire in population ]
[–] Randelung@lemmy.world 11 points 2 days ago (1 children)

Almost. You just committed genocide.

[–] JasonDJ@lemmy.zip 1 points 2 days ago* (last edited 2 days ago) (3 children)

~~Nah he'll get a TypeError.~~ Not seeing why, honestly...

Unless you consider the merciless and systematic execution of all billionaires to be genocide...which I guess is technically fair...but it's for a good cause! (...said every genocidist ever...)

Of course, I changed the name of the iterable...

And we're talking about intro to compsci...getting a bit ahead of ourselves going right from loops to comprehension.

[–] Strawberry@lemmy.blahaj.zone 7 points 2 days ago (1 children)
basket = [ guillotine(human) for human in population if is_billionaire(human) ]

There, now you're not killing everyone on Earth

[–] JasonDJ@lemmy.zip 7 points 2 days ago* (last edited 2 days ago)

This is why we don't test in prod.

[–] pheelicks@lemmy.zip 7 points 2 days ago

He just called everyone in the population a billionaire and executed them without actually checking if they are in fact billionaires. Somewhat too close to reality in some scenarios for my taste...

[–] Randelung@lemmy.world 7 points 2 days ago* (last edited 2 days ago)

Nope, billionaire is a designator, not a discriminator. They're iterating over population and decapitating everyone regardless of wealth. ;)

It's missing an if <someOtherDesignatorForPopulatioMember> in billionaires in the comprehension.

[–] abc@suppo.fi 2 points 2 days ago* (last edited 2 days ago)

Haha, that's either horrible if you don't know what you just did there or brilliant parody if you did.