Civilloquy
  • Communities
  • Create Post
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
biggeoff@sh.itjust.works to Programmer Humor@programming.dev · 13 hours ago

Chosen by a fair dice roll

sh.itjust.works

message-square
27
fedilink
344

Chosen by a fair dice roll

sh.itjust.works

biggeoff@sh.itjust.works to Programmer Humor@programming.dev · 13 hours ago
message-square
27
fedilink
  • astropenguin5@lemmy.world
    link
    fedilink
    arrow-up
    12
    ·
    13 hours ago

    Is there actually a downside to just, typing a random string of numbers manually over a number generator?

    • Taasz/Woof@piefed.social
      link
      fedilink
      English
      arrow-up
      28
      arrow-down
      1
      ·
      edit-2
      11 hours ago

      Yes, typing randomly isn’t actually as random as it could be, so a generator will do a better job.

      However mashing the keyboard is absolutely better than literally just “4” lol

      • RichardDegenne@lemmy.zip
        link
        fedilink
        arrow-up
        3
        ·
        8 hours ago

        What if the generator rolled a 4 though?

        • ferret@sh.itjust.works
          link
          fedilink
          English
          arrow-up
          3
          ·
          8 hours ago

          Then go buy a scratcher

      • MinnesotaGoddam@lemmy.world
        link
        fedilink
        English
        arrow-up
        3
        ·
        9 hours ago

        first, what if i have my cat do it. second, why does it matter if a string is maximally random? is there a certain level that is random enough?

    • one_old_coder@piefed.social
      link
      fedilink
      English
      arrow-up
      11
      arrow-down
      1
      ·
      13 hours ago

      You are not random enough, that’s why we have this: https://en.wikipedia.org/wiki/Hardware_security_module

      • alpine_jim@piefed.social
        link
        fedilink
        English
        arrow-up
        14
        ·
        12 hours ago

        I’m not random enough? But I was holding up a spork! From my Invader Zim bag!

        • surewhynotlem@lemmy.world
          link
          fedilink
          arrow-up
          8
          ·
          11 hours ago

          This is why Hot Topic girlies are not in charge of crypto standards. They’re “OMG so random”, but not mathematically so random.

        • balsoft@lemmy.ml
          link
          fedilink
          arrow-up
          4
          ·
          10 hours ago

          Those are all technically words in some dictionary somewhere, arranged in a sensible grammatical order. The entropy is not as high as you may think

    • RestrictedAccount@lemmy.world
      link
      fedilink
      arrow-up
      9
      ·
      13 hours ago

      It is not random enough to not be guessed by a state sponsored bot

    • biggeoff@sh.itjust.worksOP
      link
      fedilink
      arrow-up
      8
      ·
      13 hours ago

      Aside from humans being terrible random number generators, not as such.

      It’s better to seed a CSPRNG with a source of entropy though. E.g. there are tools that let you enter the result of many dice rolls and use it to generate a key.

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
    • If the mod doesn’t find it funny, you’re banned. Ha-ha!.. For real: do not use the community for “statements”. There are other places for such content. Keep it chill and funny.
Visibility: Public
globe

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

  • 1.85K users / day
  • 4.69K users / week
  • 5.81K users / month
  • 11.6K users / 6 months
  • 1 local subscriber
  • 33.7K subscribers
  • 2.22K Posts
  • 57.4K Comments
  • Modlog
  • mods:
  • Feyter@programming.dev
  • adr1an@programming.dev
  • BurningTurtle@programming.dev
  • Pierre-Yves Lapersonne@programming.dev
  • BE: 0.19.5
  • Modlog
  • Legal
  • Instances
  • Docs
  • Code
  • join-lemmy.org