• Chloé 🥕@lemmy.blahaj.zone
    link
    fedilink
    arrow-up
    28
    arrow-down
    1
    ·
    3 days ago

    with cat /dev/urandom > mybook.txt i can write an entire novel in just a few seconds! i call it the infinite monkey method

    in fact you better stop the command after a few seconds or else your computer will crash trying to open it

          • wonderingwanderer@sopuli.xyz
            link
            fedilink
            arrow-up
            3
            ·
            2 days ago

            Fucking hell. There’s literally no original combination of words anymore. I’ve been plagiarized in advance.

            Also, it’s kind of creepy that you would do this to me…

            • mech@feddit.org
              link
              fedilink
              arrow-up
              2
              ·
              2 days ago

              Sorry. I’ve deleted it.

              Also, that website doesn’t actually store all possible permutations of letters, that would be absurd. It’s just clever math and presentation to simulate such a library.

              Still, you can search for any text string and receive an index number showing where to find it (the number alone is ~1MB in size).
              And if you enter that index, you’ll always get back to that same page containing your text.
              Or you can select books and pages at random and browse to see if you find something interesting.

              It’s a neat piece of mathematical art.

                • mech@feddit.org
                  link
                  fedilink
                  arrow-up
                  1
                  ·
                  2 days ago

                  You couldn’t store every page if you transformed every atom that ever existed in the universe into a 100 TB hard drive, and it wouldn’t even be close.

                  • wonderingwanderer@sopuli.xyz
                    link
                    fedilink
                    arrow-up
                    2
                    ·
                    2 days ago

                    If each book has a finite number of pages with a finite number of lines with a finite number of characters, then theoretically the number of books is finite and therefore also the number of shelves, walls, and rooms required to hold them.

                    Each book is four hundred and ten pages of forty lines, each line of eighty characters.

                    So given 32 characters (including letters and punctuation), the total number of possible books = 3280×40×410 = 321,312,000 = yeah, you’re right, that’s incalculable…

                    But whatever it is, you can divide it by 640 to get the total number of necessary rooms!

                    It’d be a great thing to dovetail into something like nepenthes or iocaine, though! Let the AI crawlers train themselves on that!

    • AceFuzzLord@lemmy.zip
      link
      fedilink
      arrow-up
      2
      ·
      2 days ago

      Just got a 200mb file! It must be such a good book if my toaster of a desktop can’t open it!

      Cannot wait to read it on my laptop!

      Edit:

      Oh god! I was wrong! It is a much bigger file!