riela's blog

By riela, history, 10 months ago, In English

My hair grown too long, I was about to cut it, when one question come to mind:

Let's suppose I cut each of my hairs to a length uniformly random, how will my head look like?

instead of uniform random, other distributions like normal, binomial, can be applied.

 
 
 
 
  • Vote: I like it
  • +120
  • Vote: I do not like it

»
10 months ago, # |
  Vote: I like it +267 Vote: I do not like it

Your hair would look terrible.

  • »
    »
    10 months ago, # ^ |
      Vote: I like it +105 Vote: I do not like it

    do you have proof?

    • »
      »
      »
      10 months ago, # ^ |
        Vote: I like it +163 Vote: I do not like it

      Looks pretty ugly to me.

      code
      • »
        »
        »
        »
        10 months ago, # ^ |
        Rev. 2   Vote: I like it -9 Vote: I do not like it

        So which haircut algorithm do you recommend?

        Maybe cutting each hair by a random distance between 0 and the length of my shortest hair?

        Or some convex function that depends on the distance of the center of my head?

        • »
          »
          »
          »
          »
          10 months ago, # ^ |
            Vote: I like it +15 Vote: I do not like it

          Ok boomer go to a barbershop. The masters of hair cutting know these functions very well

          • »
            »
            »
            »
            »
            »
            10 months ago, # ^ |
              Vote: I like it -18 Vote: I do not like it

            I prefer to do it my self. I don't want a stranger touch my head with a weapon in his hand

            • »
              »
              »
              »
              »
              »
              »
              10 months ago, # ^ |
                Vote: I like it +2 Vote: I do not like it

              Then you can ask your mom to cut your hair!

      • »
        »
        »
        »
        10 months ago, # ^ |
          Vote: I like it +90 Vote: I do not like it

        Am I the only one that sees layers here? Does a brain just try to find patterns even in a random thing?

        • »
          »
          »
          »
          »
          3 months ago, # ^ |
          Rev. 2   Vote: I like it +7 Vote: I do not like it

          When I saw this comment 7 months ago, I also thought it was weird that the uniform heights are sorted into seemingly-discrete layers.

          Upon re-reading and taking another look, I think it makes sense that we see discrete layers here, because the discrete layers are actually not the heights (which are continuous), but rather "N consecutive adjacent white lines" with N = 1, 2, 3, ... (which are discrete).

»
10 months ago, # |
  Vote: I like it +166 Vote: I do not like it

For you, it'd probably look like this.

  • »
    »
    10 months ago, # ^ |
      Vote: I like it 0 Vote: I do not like it

    Why is everyone on CF down-voting you all the time??? Your posts are pure gold

    • »
      »
      »
      10 months ago, # ^ |
        Vote: I like it +13 Vote: I do not like it

      I'm sure I have a bunch of people downvoting me automatically because they're mad I'm a higher quality shitposter than them. Whatever.

»
10 months ago, # |
  Vote: I like it +8 Vote: I do not like it

what do you mean exactly by uniformly random?

  • »
    »
    10 months ago, # ^ |
      Vote: I like it +117 Vote: I do not like it

    This is why you're green.

    • »
      »
      »
      10 months ago, # ^ |
        Vote: I like it +162 Vote: I do not like it

      what do you mean exactly by uniformly random?

      • »
        »
        »
        »
        10 months ago, # ^ |
          Vote: I like it -46 Vote: I do not like it

        That's why you don't have a name

      • »
        »
        »
        »
        10 months ago, # ^ |
          Vote: I like it -35 Vote: I do not like it

        Why are you red?

      • »
        »
        »
        »
        10 months ago, # ^ |
          Vote: I like it +166 Vote: I do not like it

        jerryd.jpg

      • »
        »
        »
        »
        10 months ago, # ^ |
          Vote: I like it +8 Vote: I do not like it

        I don't get the question, there is just one uniform distribution, right?

        • »
          »
          »
          »
          »
          10 months ago, # ^ |
          Rev. 2   Vote: I like it -25 Vote: I do not like it

          What kind of properties would this "one uniform distribution" have? Each number (integer/real, whatever) is equally likely and the sum/integral of probability value/density is 1? Figure out yourself what's wrong with that.

          • »
            »
            »
            »
            »
            »
            10 months ago, # ^ |
              Vote: I like it -16 Vote: I do not like it

            Yup, so what's wrong with that? I honestly don't know.

            (and we're talking about some interval, not all real values)

            • »
              »
              »
              »
              »
              »
              »
              10 months ago, # ^ |
                Vote: I like it -34 Vote: I do not like it

              (and we're talking about some interval, not all real values)

              Who's talking about it? You're only now talking about it, proof by Ctrl+F. That's the point. Even then, if it's "some" interval, what good is it? It's like asking you to lend me three fiddy and I'll give it back to you at some point.

              The problem with all real/integer values is obviously that a distribution with such properties doesn't exist (sum/integral of a constant is 0 or +- inf).

              Naming a distribution is useless if you don't give it specific parameters.

              • »
                »
                »
                »
                »
                »
                »
                »
                10 months ago, # ^ |
                  Vote: I like it +38 Vote: I do not like it

                well, unless you can cut hair so that it becomes longer then it was, there's only one reasonable way to understand original post

                • »
                  »
                  »
                  »
                  »
                  »
                  »
                  »
                  »
                  10 months ago, # ^ |
                    Vote: I like it -16 Vote: I do not like it

                  No, even with that assumption, there's an infinite number of possible intervals.

                • »
                  »
                  »
                  »
                  »
                  »
                  »
                  »
                  »
                  10 months ago, # ^ |
                    Vote: I like it 0 Vote: I do not like it

                  I said reasonable, not possible

                • »
                  »
                  »
                  »
                  »
                  »
                  »
                  »
                  »
                  10 months ago, # ^ |
                    Vote: I like it -21 Vote: I do not like it

                  There's an infinite number of reasonable intervals too. You could want to cut your hair from 12 cm to uniform([5, 10]), uniform([1, 2]), uniform([1, 10]), etc. That's not even getting into the question of how you define reasonable for a normal distribution.

              • »
                »
                »
                »
                »
                »
                »
                »
                10 months ago, # ^ |
                  Vote: I like it -15 Vote: I do not like it

                Out of nowhere, you wrote "each number (integer/real)" so I specified that the problem makes sense only for an interval and I obviously meant interval $$$[0, currentLenth]$$$.

                I thought that I would learn something new :(

                • »
                  »
                  »
                  »
                  »
                  »
                  »
                  »
                  »
                  10 months ago, # ^ |
                    Vote: I like it +15 Vote: I do not like it

                  Why exactly that interval? Why not any other?

                • »
                  »
                  »
                  »
                  »
                  »
                  »
                  »
                  »
                  10 months ago, # ^ |
                    Vote: I like it 0 Vote: I do not like it

                  What else can it mean that we cut a hair of length $$$5$$$ uniformly at random? Cutting to interval $$$[2, 4]$$$? Come on.

                • »
                  »
                  »
                  »
                  »
                  »
                  »
                  »
                  »
                  10 months ago, # ^ |
                    Vote: I like it -20 Vote: I do not like it

                  How about to an interval [0, 2]? Or [0, 1]? What the hell is wrong with those choices? Are you the fashion police?

              • »
                »
                »
                »
                »
                »
                »
                »
                10 months ago, # ^ |
                  Vote: I like it -9 Vote: I do not like it

                As you mention it is not possible to choose at random a point "uniformly" over the real line, but it is maybe worth pointing out that it is possible to choose at random a sequence of points in R in such a way that the distribution of these points is invariant under translations. These random sequences are provided for instance by the Poisson point process and can be used for instance as a toy model for stars in the firmament, that wherever you look it is equally likely to find the same number of stars.

      • »
        »
        »
        »
        10 months ago, # ^ |
          Vote: I like it -32 Vote: I do not like it