1. 16

  2. 4

    Hm, I’m not sure if this code and the linked IBM research line up with the estimate published in Discovery Magazine back in ’07. (Archive.org link)

    Wonder which is more accurate. Fun thought experiment. 😀

    1. 3

      Outdated research and what about SSDs?

      1. 3

        Well, how much does an electron weigh? And how many in the average memory cell?

        1. 2

          It definitely depends on the underlying tech and what you are actually calculating (number of electrons or atoms to hold a bit). I’m not sure if there are research on different types of NVM but I found this.

          Still very fun to think about these things, here’s some projection of memory and storage tech, HDD is still where most data is stored.

        2. 3

          I have to wonder why it copies the filename, there’s no need for that at all, which removes the need for strlcpy() and the constant _MAX_PATH.

          1. 1

            You were seen.

            2021-02-16 10:03
            Both strlcpy() and MAXPATHLEN are technically not needed. (Thank you, spc476.)

            1. 1

              So I was. The only other comment would be to call perror(argv[1]) instead of show_syntax() when you can’t open a file. It seems odd to me that an error opening a file would cause it to print how to use the program.

          2. 4

            Please enable JavaScript or log in to view this content

            Oh well.

            1. 2

              I wonder what’s informations critical mass. Professor A. Dońda did some research on that.

              1. 7

                The Bekenstein Bound. That’s the maximum amount of information you can store in a given volume of space before it collapses into a black hole.

              2. 2

                This would be a fun one to sneak into units.

                I could see myself fat-fingering a GB to KG someday and wondering what the hell?!

                1. 0

                  Just a link with a link to an executable. That’s it.