• SatanicNotMessianic@lemmy.ml
    link
    fedilink
    arrow-up
    15
    arrow-down
    1
    ·
    6 months ago

    7 is the most random number, because when you ask someone to choose a random number between 1 and 10, most people choose 7.

    Whenever you need a random number in your code, don’t use rand() or a similar function. Use 7. It’s faster, and it’s the choice of the people.

  • Spzi@lemm.ee
    link
    fedilink
    English
    arrow-up
    2
    ·
    6 months ago

    That’s a very long list of different techniques with examples, very cool!

    Though I wonder, is there some connection to image processing, high dynamic range?

    Or audio compression, the kind which brings out the kick in the mix, not the kind which saves disk space?

    The similarity I see between all three fields is, they try to bring down extreme values, outliers, to level the field, while still retaining characteristics.

    • mac@programming.devOP
      link
      fedilink
      arrow-up
      5
      ·
      edit-2
      6 months ago

      Nah not mine, just one I found and thought was pretty cool. Added the source to my rss reader and probably gonna post more from them in the future