• Speiser0@feddit.org
      link
      fedilink
      arrow-up
      19
      ·
      1 个月前

      Typical boring useless shit code. Using bad variable names, and in the end you just say “look, I can count to 10”.

      Before sorting: 8 6 1 10 5 9 3 2 4 7 Does it have a meaning? I don’t think so.

      • ChaoticNeutralCzech@feddit.org
        link
        fedilink
        English
        arrow-up
        6
        ·
        1 个月前

        You are correct, that is simplified. The whole line is

        int personality = sizeof(goals) / sizeof(goals[0]);
        

        To get the length of an array in C, it’s necessary to divide its memory footprint by the size of a single element!

        BTW you can see what appears to be ASCII in the background of that image. You can decode it if you’re bored.

    • rizzothesmall@sh.itjust.works
      link
      fedilink
      arrow-up
      9
      arrow-down
      2
      ·
      1 个月前

      Oof, this would genuinely make me like someone less. Like, it’s great that you like nerd stuff but that’s just bullshit…

      • Jayjader@jlai.lu
        link
        fedilink
        arrow-up
        6
        ·
        1 个月前

        Yeah, go big or go home with this kind of stuff. Give me some Linux kernel source code, maybe even some well-known RFC!

      • ChaoticNeutralCzech@feddit.org
        link
        fedilink
        English
        arrow-up
        1
        ·
        edit-2
        1 个月前

        So much “nerd” paraphernalia is BS… This one is ridiculous (one doesn’t get to “be a programmer” by sorting and collecting 10 personality traits as if they’re goals or achievements) but at least it shows varied syntax in the C language: the number of unique keywords is very high.

        To show you’re a nerd, don’t go with obvious “look, this is what I am” but use dogwhistles (Conway’s Game of Life or fractals can look like knitting patterns) or to be obvious, some things you personally like or made. Badge with your distro’s logo or mascot, code you actually wrote or its output, wearable blinkenlights project… Just be more focused on your interests than yourself.

  • Korhaka@sopuli.xyz
    link
    fedilink
    English
    arrow-up
    17
    ·
    1 个月前

    TIL my idea of casual is actually ultra casual. That is pretty much what I wear at work in summer. In winter I would switch to trousers and add a jumper.

    • Venator@lemmy.nz
      link
      fedilink
      arrow-up
      2
      ·
      1 个月前

      And my idea of ultra casual is actually shut in casual 😅

      In winter I’d switch to sweatpants and a hoodie.

      Also how is it ultra casual when he’s still wearing shoes…

  • henfredemars
    link
    fedilink
    English
    arrow-up
    12
    ·
    1 个月前

    I always thought my casual was actually business because of the collared work shirt. Are you telling me I need a jacket or some sort of overcoat for it to actually be business?

    • SkunkWorkz@lemmy.world
      link
      fedilink
      arrow-up
      3
      ·
      1 个月前

      Business casual is a dress shirt and chinos/dress pants, loafers and sometimes a blazer/sports coat. Basically the omission of the tie and the fancy dress shoes makes it business casual. A polo and chinos is only business casual in a big box store or the tech industry. Anywhere else it’s just casual.

  • vaultdweller013@sh.itjust.works
    link
    fedilink
    arrow-up
    6
    ·
    1 个月前

    Where does wearing an 80 year old Swedish tanker long coat with cargo pants fall on this spectrum. Ya know outside of the autism spectrum.

  • NannerBanner@literature.cafe
    link
    fedilink
    arrow-up
    5
    ·
    1 个月前

    I’m so confused. Business casual has always meant nice pants, button down shirt, but no tie or overcoat where I’ve been. I’ve also never seen the distinction between ultra casual and casual… maybe ‘work casual’ compared to ‘casual.’

  • baggachipz@sh.itjust.works
    link
    fedilink
    arrow-up
    3
    ·
    1 个月前

    I own a kilt and have the little bag that goes around my waist. When I wear that shit (usually at the RenFest) with no underwear, I totally get dresses. Airy, freeing, so easy to lift it and just piss. It needs to be societally acceptable.