this post was submitted on 29 Nov 2025
585 points (94.8% liked)

Lemmy Shitpost

36038 readers
3122 users here now

Welcome to Lemmy Shitpost. Here you can shitpost to your hearts content.

Anything and everything goes. Memes, Jokes, Vents and Banter. Though we still have to comply with lemmy.world instance rules. So behave!


Rules:

1. Be Respectful


Refrain from using harmful language pertaining to a protected characteristic: e.g. race, gender, sexuality, disability or religion.

Refrain from being argumentative when responding or commenting to posts/replies. Personal attacks are not welcome here.

...


2. No Illegal Content


Content that violates the law. Any post/comment found to be in breach of common law will be removed and given to the authorities if required.

That means:

-No promoting violence/threats against any individuals

-No CSA content or Revenge Porn

-No sharing private/personal information (Doxxing)

...


3. No Spam


Posting the same post, no matter the intent is against the rules.

-If you have posted content, please refrain from re-posting said content within this community.

-Do not spam posts with intent to harass, annoy, bully, advertise, scam or harm this community.

-No posting Scams/Advertisements/Phishing Links/IP Grabbers

-No Bots, Bots will be banned from the community.

...


4. No Porn/ExplicitContent


-Do not post explicit content. Lemmy.World is not the instance for NSFW content.

-Do not post Gore or Shock Content.

...


5. No Enciting Harassment,Brigading, Doxxing or Witch Hunts


-Do not Brigade other Communities

-No calls to action against other communities/users within Lemmy or outside of Lemmy.

-No Witch Hunts against users/communities.

-No content that harasses members within or outside of the community.

...


6. NSFW should be behind NSFW tags.


-Content that is NSFW should be behind NSFW tags.

-Content that might be distressing should be kept behind NSFW tags.

...

If you see content that is a breach of the rules, please flag and report the comment and a moderator will take action where they can.


Also check out:

Partnered Communities:

1.Memes

2.Lemmy Review

3.Mildly Infuriating

4.Lemmy Be Wholesome

5.No Stupid Questions

6.You Should Know

7.Comedy Heaven

8.Credible Defense

9.Ten Forward

10.LinuxMemes (Linux themed memes)


Reach out to

All communities included on the sidebar are to be made in compliance with the instance rules. Striker

founded 2 years ago
MODERATORS
585
What did I forget? (infosec.pub)
submitted 2 weeks ago* (last edited 2 weeks ago) by benni@lemmy.world to c/lemmyshitpost@lemmy.world
top 50 comments
sorted by: hot top controversial new old
[–] residentoflaniakea@discuss.tchncs.de 150 points 2 weeks ago* (last edited 2 weeks ago) (11 children)

I see a flag. I like flags. Especially the Japanese flags. I don't specifically care for Japan, but the flag is one of my favourites. I prefer flags with low entropy: so I wrote a script once that ranks the nations flags by entropy so I could quantify my preference. Thanks for letting me infodump a bit.

Edit: Due to people aski g for it: here is the top ten of my ranking:

Nations' flag entropy ranking (n=208). 
Image source: Wikimedia.

0	white_field			-1.439759075204976e-10
1	Indonesia			3.3274441922278752
2	Germany			3.391689777286108
3	South_Ossetia			3.8174437373506778
4	Monaco			3.9718936201427066
5	Poland			3.9719290780440133
6	Austria			4.372592975412404
7	Ukraine			4.405280849871184
8	Hungary			4.4465472496385985
9	Albania			4.6134257669087395
10	Mauritius			4.707109405551959
11	Luxembourg			4.721346585737304

Here's how I defined the entropy value for each flag:

def color_weighted_spectral_entropy(image):
    b_channel, g_channel, r_channel = cv2.split(image)
    
    # Calculate spectral entropy for each channel
    def channel_spectral_entropy(channel):
        f_transform = np.fft.fft2(channel)
        f_shifted = np.fft.fftshift(f_transform)
        magnitude_spectrum = np.abs(f_shifted)
        if np.sum(magnitude_spectrum) > 0:
            normalized = magnitude_spectrum / np.sum(magnitude_spectrum)
        else:
            normalized = magnitude_spectrum
        # Entropy calculation with color channel weighting
        epsilon = 1e-10
        entropy = -np.sum(normalized * np.log2(normalized + epsilon))
        
        return entropy
    
    weighted_entropy = (
        0.333 * channel_spectral_entropy(b_channel) +
        0.333 * channel_spectral_entropy(g_channel) +
        0.333 * channel_spectral_entropy(r_channel)
    )
    
    return float(weighted_entropy)

"White_field" is just an array that holds zeroes. I use this as a sanity check. Code is on github. I can send DM to whomever is interested. I guess it can also be searched for.

[–] CelloMike@lemmy.world 69 points 2 weeks ago (2 children)

Well you gotta share that ranking now...

[–] ByteJunk@lemmy.world 48 points 2 weeks ago

And that script. I'm curious how you implemented it.

I owe it to the community. Since I don't have it anymore I am coding it up again. Allow me some time - it's weekend and I have family to look after.

[–] AnarchistArtificer@slrpnk.net 22 points 2 weeks ago

I love that you have multiple people replying to you asking for technical details on how you ranked the flag entropy. This is how you know that you are amongst your people here <3

[–] FishFace@piefed.social 19 points 2 weeks ago (2 children)

How are you defining the entropy of a flag?

[–] ArmoredThirteen@lemmy.zip 17 points 2 weeks ago

Subtracting it's normalized negentropy from 1

load more comments (1 replies)
[–] Axolotl_cpp@feddit.it 17 points 2 weeks ago (2 children)

How do you rate entropy? Is the script open source so we can see it?

load more comments (2 replies)
[–] idealotus@lemmy.world 16 points 2 weeks ago (1 children)

....and what is the stack ranked result?

load more comments (1 replies)
[–] drosophila@lemmy.blahaj.zone 5 points 2 weeks ago

I like Kazakhstan's flag because I think its a nice combination of colors:

Its not very low entropy though, at least not compared to ones like Germany's or Ukraine's.

[–] FishFace@piefed.social 5 points 2 weeks ago (1 children)

Hmm. It seems weird that any tricolour flags would have different entropies, but I don't know how you would otherwise do a multichannel entropy.

I was imagining a kolmogorov-esque doodad

Yes! And weirder that bicolour banded flags are not consistently on top. I suspect some float errors. I just know that using the typical Shannon style does even worse. I might add some filter that calculates a differential or something.

[–] prole@lemmy.blahaj.zone 4 points 2 weeks ago (2 children)

What is it about the flag of Japan that you like so much?

load more comments (2 replies)
load more comments (3 replies)
[–] passepartout@feddit.org 73 points 2 weeks ago (1 children)

C and Rust mentioned in one meme? Be more careful to not cause a ruckus next time.

[–] bored_boar_onboard@lemmy.world 5 points 2 weeks ago (1 children)

Yeah, please limit your programming language mentions to memory safe languages only!

load more comments (1 replies)
[–] traceur402@lemmy.blahaj.zone 35 points 2 weeks ago (1 children)

Wow, the precision with which this struck me is concerning. I'm really, incredibly autistic at all times aren't I?

[–] Venus_Ziegenfalle@feddit.org 22 points 2 weeks ago

Tylenol sure is a hell of a drug

[–] obinice@lemmy.world 29 points 2 weeks ago

Stupidly large murika style cars are gonna be a no from me dawg

Look at that thing, the bonnet comes up to this stomach!

Not autism approved nu-uh

[–] CoffeeSoldier@sh.itjust.works 29 points 2 weeks ago (1 children)

Is this how I find out I'm autistic??

[–] webp@mander.xyz 20 points 2 weeks ago (1 children)

This is how you find out you're cool 😎

[–] myedition8@lemmy.world 10 points 2 weeks ago

Cool and autistic 😎

[–] tatterdemalion@programming.dev 22 points 2 weeks ago (1 children)

I'm not autistic but I like most of these things.

load more comments (1 replies)
[–] BagOfHeavyStones@piefed.social 18 points 2 weeks ago (1 children)
load more comments (1 replies)
[–] ftbd@feddit.org 17 points 2 weeks ago (1 children)

What's up with Maxwell and Autism?

[–] benni@lemmy.world 13 points 2 weeks ago (1 children)

I wanted to represent science, math and engineering with those.

load more comments (1 replies)
[–] Cikos@lemmy.world 14 points 2 weeks ago (2 children)

black people are popular with the autistics?

[–] GreenKnight23@lemmy.world 13 points 2 weeks ago

I have met far more certifiably autistic black anime fans than white ones.

[–] ivanafterall@lemmy.world 4 points 2 weeks ago

If there's ever a race war, I'm 100% team black, if they'll have me.

[–] idiomaddict@lemmy.world 13 points 2 weeks ago
[–] Naho_Zako@piefed.zip 12 points 2 weeks ago

No Sonic mention? Shame

[–] renlok@lemmy.world 12 points 2 weeks ago

I feel personally attacked, how did you know my entire personality

[–] kittenzrulz123@lemmy.dbzer0.com 10 points 2 weeks ago (2 children)

Me except im not that intrested in Japan (I love Vietnam tho), im not that intrested in Minecraft (ive just played it for too long), not that intrested in Pokémon (never got into it). You forgot a few things tho

  1. Programming socks
  2. Star Trek
  3. :3
  4. Mechanical keyboards
  5. Walkable cities (and a general obsession with people focused city planning)
load more comments (2 replies)
[–] LeaveITtoThePros@lemmy.ca 10 points 2 weeks ago (3 children)
[–] CanadianCarl@sh.itjust.works 4 points 2 weeks ago (1 children)

No space as well, or dinosaurs in space?

load more comments (1 replies)
load more comments (2 replies)
[–] Hideakikarate@sh.itjust.works 9 points 2 weeks ago (1 children)

Based on posts around here, the Roman Empire.

load more comments (1 replies)
[–] SlartyBartFast@sh.itjust.works 8 points 2 weeks ago (3 children)

Why is Lain so popular these days? I still have my rips from 20 years ago on an old hard drive.

I just don't seem to understand.

[–] benni@lemmy.world 5 points 2 weeks ago* (last edited 2 weeks ago)

A shame, you seemed an honest man.

[–] Sabata11792@ani.social 5 points 2 weeks ago (2 children)

We started living in a terminally online cyberpunk dystopia around 2020.

[–] Hackworth@piefed.ca 5 points 2 weeks ago

Present day. Present time!

load more comments (1 replies)
load more comments (1 replies)
[–] tomiant@piefed.social 8 points 2 weeks ago

I didn't use to be autistic.

But then it got hyped so I got on board and now I am also autistic.

Because I don't want to be different from my peers.

[–] JasonDJ@lemmy.zip 7 points 2 weeks ago

Thinkpads are objectively good laptops tho. At least T series.

Especially for linux.

[–] QuinnyCoded@sh.itjust.works 6 points 2 weeks ago* (last edited 2 weeks ago) (2 children)

haterner miku!!!!

*edit, since OP is adding things in I removed the white background. Also for OP, you can use https://www.remove.bg/upload for that, you don't get the full quality image but for this use case it's good enough

load more comments (2 replies)
[–] pHr34kY@lemmy.world 6 points 2 weeks ago* (last edited 2 weeks ago) (1 children)

It needs timepieces. Or am I the only one who likes NTP, ISO-8601, sundials and Casio F-91Ws?

[–] krooklochurm@lemmy.ca 5 points 2 weeks ago

Just you. They're made exclusively for you.

[–] RacerX@lemmy.zip 5 points 2 weeks ago

I obsess over half of these things and my kids' mom the other. Our kids never stood a chance.

[–] HeyThisIsntTheYMCA@lemmy.world 5 points 2 weeks ago

Fursuiting ware

[–] pineapplelover@lemmy.dbzer0.com 4 points 2 weeks ago (3 children)
load more comments (3 replies)
[–] munsking@lemmy.world 4 points 2 weeks ago

i'm pretty sure playing eve online is a diagnostic criterium for aspergers

load more comments
view more: next ›