all 96 comments

sorted by: hot top controversial new old
[–] 149 points 11 months ago* (last edited 11 months ago) (20 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.

  • source
  • hideshow 20 child comments
  • [–] 66 points 11 months ago (2 children)

    Well you gotta share that ranking now...

  • source
  • parent
  • hideshow 2 child comments
  • [–] 20 points 11 months ago (2 children)

    How are you defining the entropy of a flag?

  • source
  • parent
  • hideshow 2 child comments
  • [–] 18 points 11 months ago (2 children)

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

  • source
  • parent
  • hideshow 2 child comments
  • [–] 2 points 11 months ago (1 child)

    I tried different definitions and settled on spectral entropy. This one uses fourier transform and (I think) this takes the spacial relation of the pixels into account, as opposed to the more common Shannon definition. I'd like to share it but am not sure on how to do that: were I to use GitHub I would doxx myself.

  • source
  • parent
  • hideshow 1 child comment
  • [–] 2 points 11 months ago*

    I see, thank you that's interessing;

    Btw there is gitlab as github alternative but i think that making another gh account is just better then. Another solution is making here a spoiler with the code in it

  • source
  • parent
  • [–] 6 points 11 months ago (1 child)

    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

  • source
  • parent
  • hideshow 1 child comment
  • [–] 2 points 11 months ago (1 child)

    I also love flags, flags are so beautiful (except the flag of Haiti, fuck you Haiti with your MS paint looking flag)

  • source
  • parent
  • hideshow 1 child comment
  • load more comments (-1 replies)
    [–] 40 points 11 months ago (6 children)

    What do the cat ears have to do with Maxwell's equations

  • source
  • hideshow 6 child comments
  • [–] 25 points 11 months ago (2 children)

    No idea. Cat ears seem to be more popular with computer science people, should've put them on the Rust logo instead.

  • source
  • parent
  • hideshow 2 child comments
  • [–] 30 points 11 months ago (2 children)

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

  • source
  • hideshow 2 child comments
  • [–] 25 points 11 months ago (1 child)

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

  • source
  • hideshow 1 child comment
  • [–] 34 points 11 months ago

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

  • source
  • [–] 16 points 11 months ago (1 child)
  • [–] 15 points 11 months ago

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

  • source
  • [–] 15 points 11 months ago

    No Sonic mention? Shame

  • source
  • [–] 13 points 11 months ago
    [–] 32 points 11 months 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

  • source
  • [–] 11 points 11 months ago (6 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.

  • source
  • hideshow 6 child comments
  • [–] 5 points 11 months ago (2 children)

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

  • source
  • parent
  • hideshow 2 child comments
  • [–] 11 points 11 months 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)
  • source
  • hideshow 2 child comments
  • [–] 11 points 11 months ago (3 children)

    Why do autistic people love pie charts with red circles?

  • source
  • hideshow 3 child comments
  • [–] 2 points 11 months ago (2 children)
  • [–] 10 points 11 months ago (1 child)

    Based on posts around here, the Roman Empire.

  • source
  • hideshow 1 child comment
  • [–] 10 points 11 months ago (4 children)
  • [–] 9 points 11 months ago* (1 child)

    i see linux,minecraft,japan(i just like the games that originate from this country mostly),thinkpad,C,Rust
    wait....
    I think I’m autistic.

  • source
  • hideshow 1 child comment
  • [–] 8 points 11 months ago* (last edited 11 months 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

  • source
  • hideshow 2 child comments
  • [–] 7 points 11 months ago

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

    Especially for linux.

  • source
  • [–] 7 points 11 months ago* (1 child)

    Magic the Gathering and D&D

  • source
  • hideshow 1 child comment
  • [–] 7 points 11 months ago

    You forgot pride flags, blahaj, astronomy, and psychedelics. I would also say far-left politics, but there's plenty of right-wing autists out there too.

  • source
  • [–] 6 points 11 months ago (3 children)
  • [–] 6 points 11 months ago

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

  • source
  • [–] 6 points 11 months ago* (1 child)

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

  • source
  • hideshow 1 child comment
  • [–] 15 points 11 months ago (1 child)

    black people are popular with the autistics?

  • source
  • hideshow 1 child comment
  • [–] 5 points 11 months ago

    (Mostly just us) Fursuit/furry stuffs, a billion plushies, bicycles, city architecture, trams, hiding when guests are over, Star Wars, one piece, the *perfect note book * (it’s one we made from a spare book cardboard, sewed in our own pages and it in many many stickers,) Books, old English, ASL/writing what to say when non verbal and safe foods

  • source
  • [–] 5 points 11 months ago

    Japan, Lemmy, Minecraft. Damn, I think I'm autistic.

  • source
  • [–] 5 points 11 months ago

    Fursuiting ware

  • source
  • [–] 4 points 11 months ago

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

  • source
  • [–] 3 points 11 months ago

    Not me learning how to solve a rubix cube last week and buying 3 more cubes recently

  • source
  • [–] 3 points 11 months ago

    is this an engineering meme?

  • source
  • [–] 3 points 11 months ago

    Aren't these things like popular among, well, people in general? There isn't really anything here that sticks out.

  • source
  • [–] 7 points 11 months 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.

  • source
  • [–] 1 point 11 months ago

    Star Wars!

    When my son joined Cub Scouts, we went to our first big Cub event, some big potluck dinner, and I sat next to a kid with a Star Wars t-shirt. I love Star Wars, saw the first movie in the theater, and have been a fan my whole life, so I asked, "You a Star Wars fan?" And he started talking, and so did I.

    We were having a nice conversation about Star Wars, when his mother came up and said "Are you talking about Star Wars again? What did we say about that? You can't just start talking to random strangers about Star Wars!"

    I responded, "No, you don't understand, I asked him about it. I love Star Wars, too," and the kid looked really happy that I'd defended him.

    His mom said, "You don't understand, he has Asbergers, he'll NEVER stop talking about it," which didn't sound so bad to me, I had lots to talk about with this kid, he was a big fan, and knew his stuff.

    We parted, but I've wondered ever since if I have Asperger's about Star Wars, too. Probably Music, too.

  • source
  • [–] 1 point 11 months ago (1 child)

    This is male centric as the female’s I know in the spectrum have different interests generally speaking.

  • source
  • hideshow 1 child comment
  • [–] 1 point 11 months ago (1 child)

    I relate to others, but isn't the Rubix cube quite common in STEM people? Dunno what that has to do with autism

  • source
  • hideshow 1 child comment
  • [–] 1 point 11 months ago

    Where's Fallout? I fucken swear a quarter of the fan base is autistic, the other quarters are trans, fascists, and Slavs.

  • source
  • [–] 1 point 11 months ago

    Please don't shout. I'm very sensitive to noise and I left my loops at home.

  • source
  • [–] 0 points 11 months ago
    > rust
    

    bruh.wav

    I prefer the actual C successor to the marriage of flesh of OCaml and C. It's actually good at game development, not just at rolling out countless of engines.

  • source