haley.io
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
Rikudou_Sage@lemmings.world to Programmer Humor@programming.dev · 5 months ago

I'm not sure, but it might be something about UUIDs

lemmings.world

message-square
40
fedilink
391

I'm not sure, but it might be something about UUIDs

lemmings.world

Rikudou_Sage@lemmings.world to Programmer Humor@programming.dev · 5 months ago
message-square
40
fedilink
alert-triangle
You must log in or register to comment.
  • xoggy@programming.dev
    link
    fedilink
    English
    arrow-up
    3
    ·
    5 months ago

    The feeling you get when searching your codebase for references to your “uid” variable but this cheeky boy keeps popping up.

    • cbazero@programming.dev
      link
      fedilink
      arrow-up
      4
      ·
      5 months ago

      n, n, n, nn, nnnnnnnnnnnnnnnnnnn, n, nn, n, n,n …

  • ExperimentalGuy@programming.dev
    link
    fedilink
    arrow-up
    9
    ·
    5 months ago

    Why I love the Into trait in rust

  • MonkderVierte@lemmy.zip
    link
    fedilink
    arrow-up
    2
    ·
    5 months ago

    https://makimo.com/blog/scientific-perspective-on-naming-in-programming/

  • Cevilia (they/she/…)@lemmy.blahaj.zone
    link
    fedilink
    English
    arrow-up
    4
    ·
    5 months ago

    Picture isn’t loading for me?

    • irelephant [he/him]@lemmy.dbzer0.com
      link
      fedilink
      arrow-up
      10
      ·
      5 months ago

      • Cevilia (they/she/…)@lemmy.blahaj.zone
        link
        fedilink
        English
        arrow-up
        4
        ·
        5 months ago

        Thanks, kind stranger. And wow, I haven’t seen that much UUID since I coded for Second Life.

    • mere@lemmy.blahaj.zone
      link
      fedilink
      arrow-up
      1
      ·
      5 months ago

      are you from the UK by any chance

      • Cevilia (they/she/…)@lemmy.blahaj.zone
        link
        fedilink
        English
        arrow-up
        1
        ·
        5 months ago

        Yes

        • mere@lemmy.blahaj.zone
          link
          fedilink
          arrow-up
          1
          ·
          5 months ago

          same - i think it’s because the image is blocked in the UK because of the online safety act. Try using a VPN and see if that helps

          • Cevilia (they/she/…)@lemmy.blahaj.zone
            link
            fedilink
            English
            arrow-up
            2
            ·
            5 months ago

            Actually I’ve since learned that it’s because imgur was collecting kids’ private data, and decided to block the UK rather than stop.

            • mere@lemmy.blahaj.zone
              link
              fedilink
              arrow-up
              1
              ·
              edit-2
              5 months ago

              omfg of course, classic $BIG_CORP$ stuff

  • four@lemmy.zip
    link
    fedilink
    English
    arrow-up
    2
    arrow-down
    1
    ·
    5 months ago

    Shouldnt it be return UUID { uuid: uuid.uuid } ?

    I think it would make more sense AND more uuid per UUID

    • Rikudou_Sage@lemmings.worldOP
      link
      fedilink
      arrow-up
      3
      ·
      5 months ago

      The first UUID is a local type, the second is the name of an embedded struct, the third is the name of the variable.

      The struct looks something like this (writing this on my phone)

      type UUID struct { uuid.UUID }

      So, basically, this is a custom wrapper for a third party UUID implementation.

      • four@lemmy.zip
        link
        fedilink
        English
        arrow-up
        1
        ·
        5 months ago

        Ahh, that makes sense then

    • boonhet@sopuli.xyz
      link
      fedilink
      arrow-up
      1
      ·
      5 months ago

      I’m assuming it’s a map/dictionary notation here, rather than a type hint

  • mushroommunk@lemmy.today
    link
    fedilink
    arrow-up
    19
    arrow-down
    1
    ·
    5 months ago

    When you get a new boss at Twitter who ranks people by lines of code written

  • MinnesotaGoddam@lemmy.world
    link
    fedilink
    arrow-up
    3
    ·
    5 months ago

    i’ve now read UUID so many times i’m starting to think it’s some kind of sex disease

    • Rikudou_Sage@lemmings.worldOP
      link
      fedilink
      arrow-up
      2
      ·
      5 months ago

      That must one awkward conversation… “Can you explain where did you get the uuid from?”

      • MinnesotaGoddam@lemmy.world
        link
        fedilink
        arrow-up
        1
        ·
        5 months ago

        i told you last logic loop NO

  • UnderpantsWeevil@lemmy.world
    link
    fedilink
    English
    arrow-up
    39
    ·
    5 months ago

    UwUID

  • DreamButt@lemmy.world
    link
    fedilink
    English
    arrow-up
    1
    ·
    5 months ago

    My coworkers also introduce needless additions to the call stack

  • Captain Aggravated@sh.itjust.works
    link
    fedilink
    English
    arrow-up
    11
    arrow-down
    1
    ·
    5 months ago

    I’ve read so many tutorials like this. func Func Myfunc()

    If you write textbooks like this you and your family should be boiled in sewage.

  • whimsy@lemmy.zip
    link
    fedilink
    English
    arrow-up
    49
    ·
    5 months ago

    Semantic satiation. Or whatever it’s called, i think ive officially lost it after reading this

    • ByteOnBikes@discuss.online
      link
      fedilink
      arrow-up
      5
      ·
      5 months ago

      I read the code like half a dozen times and my brain hurts.

  • 𝕸𝖔𝖘𝖘@infosec.pub
    link
    fedilink
    arrow-up
    5
    ·
    5 months ago

    Plot twist: it returns the bios serial.

  • fubarx@lemmy.world
    link
    fedilink
    arrow-up
    8
    arrow-down
    1
    ·
    5 months ago

    If this was C:

    #define uuID func
    #define uuiD return
    
    • boonhet@sopuli.xyz
      link
      fedilink
      arrow-up
      4
      ·
      5 months ago

      #define satan fubarx

    • Lemminary@lemmy.world
      link
      fedilink
      arrow-up
      2
      ·
      5 months ago

      :3

  • PattyMcB@lemmy.world
    link
    fedilink
    arrow-up
    20
    ·
    5 months ago

    Where did i put that Spiderman x3 pointing meme?

  • carrylex@lemmy.world
    link
    fedilink
    arrow-up
    4
    ·
    5 months ago

Programmer Humor@programming.dev

programmer_humor@programming.dev

Subscribe from Remote Instance

Create a post
You are not logged in. However you can subscribe from another Fediverse account, for example Lemmy or Mastodon. To do this, paste the following into the search field of your instance: !programmer_humor@programming.dev

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

  • Keep content in english
  • No advertisements
  • Posts must be related to programming or programmer topics
Visibility: Public
globe

This community can be federated to other instances and be posted/commented in by their users.

  • 2.19K users / day
  • 5.17K users / week
  • 6.81K users / month
  • 16.2K users / 6 months
  • 1 local subscriber
  • 30.3K subscribers
  • 1.78K Posts
  • 44.9K Comments
  • Modlog
  • mods:
  • Feyter@programming.dev
  • adr1an@programming.dev
  • BurningTurtle@programming.dev
  • Pierre-Yves Lapersonne@programming.dev
  • BE: 0.19.5
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org