GeekRoom.Tech
  • Communities
  • Create Post
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
einfach_orangensaft@sh.itjust.works to Programmer Humor@programming.dev · 28 days ago

ultimate storage hack

sh.itjust.works

message-square
21
link
fedilink
4

ultimate storage hack

sh.itjust.works

einfach_orangensaft@sh.itjust.works to Programmer Humor@programming.dev · 28 days ago
message-square
21
link
fedilink
alert-triangle
You must log in or register to comment.
  • MTK@lemmy.world
    link
    fedilink
    arrow-up
    2
    ·
    28 days ago

    If you have a tub full of water and a take a sip, you still have a tub full of water. Therefore only drink in small sips and you will have infinite water.

    Water shortage is a scam.

  • kryptonianCodeMonkey@lemmy.world
    link
    fedilink
    arrow-up
    2
    ·
    28 days ago

    I had a manager once tell me during a casual conversation with complete sincerity that one day with advancements in compression algorithms we could get any file down to a single bit. I really didn’t know what to say to that level of absurdity. I just nodded.

    • pressanykeynow@lemmy.world
      link
      fedilink
      arrow-up
      2
      ·
      27 days ago

      Well he’s not wrong. The decompression would be a problem though.

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

        Yeah with lossy compression the future is today!

    • VineGram@programming.dev
      link
      fedilink
      arrow-up
      1
      ·
      24 days ago

      Maybe they also believe themselves to be father of computing

    • DefederateLemmyMl@feddit.nl
      link
      fedilink
      arrow-up
      1
      ·
      edit-2
      27 days ago

      You can give me any file, and I can create a compression algorithm that reduces it to 1 bit. (*)

      spoiler

      (*) No guarantees about the size of the decompression algorithm or its efficacy on other files

    • bluemellophone@lemmy.world
      link
      fedilink
      English
      arrow-up
      0
      ·
      28 days ago

      That’s precisely when you bet on it.

  • JamonBear@sh.itjust.works
    link
    fedilink
    arrow-up
    2
    ·
    28 days ago

    You want real infinite storage space? Here you go: https://github.com/philipl/pifs

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

      Finally someone uses the fact that compute time is so much cheaper than storage!

    • groet@feddit.org
      link
      fedilink
      arrow-up
      1
      ·
      26 days ago

      Easy, just replace each byte of data with multiple bytes of metadata. I see no problem here

    • And009@lemmynsfw.com
      link
      fedilink
      English
      arrow-up
      1
      ·
      27 days ago

      Breakthrough vibes

    • nibbler@discuss.tchncs.de
      link
      fedilink
      English
      arrow-up
      1
      ·
      edit-2
      27 days ago

      that’s awesome! I’m just migrating all my data to πfs. finally mathematics is put to a proper use!

  • tatterdemalion@programming.dev
    link
    fedilink
    arrow-up
    1
    ·
    27 days ago

    https://github.com/philipl/pifs

  • Thorry84@feddit.nl
    link
    fedilink
    arrow-up
    0
    ·
    28 days ago

    It’s all fun and games until your computer turns into a black hole because there is too much information in too little of a volume.

    • proti@lemmy.world
      link
      fedilink
      arrow-up
      0
      ·
      28 days ago

      Even better! According to no hiding theorem, you can’t destroy information. With black holes you maybe possibly could be able to recover the data as it leaks through the Hawking radiation.
      Perfect for long term storage

      • Klear@lemmy.world
        link
        fedilink
        English
        arrow-up
        1
        ·
        28 days ago

        Can’t wait to hear news about a major site leaking user passwords through hawking radiation.

  • stochastictrebuchet@sh.itjust.works
    link
    fedilink
    arrow-up
    0
    ·
    28 days ago

    Broke: file names have a max character length.

    Woke: split b64-encoded data into numbered parts and add .part-1…n suffix to each file name.

    • tetris11@lemmy.ml
      link
      fedilink
      arrow-up
      0
      ·
      28 days ago

      each file is minimum 4kb

      (base64.length/max_character) * min_filesize < actual_file_size

      For this to pay off

      • The Ramen Dutchman@ttrpg.network
        link
        fedilink
        English
        arrow-up
        0
        ·
        25 days ago

        each file is minimum 4kb

        $ touch empty_file
        $ ls -l
        total 8
        -rw-rw-r-- 1 user group 0 may 14 20:13 empty_file
        $ wc -c empty_file 
        0 empty_file
        

        Huh?

        • tetris11@lemmy.ml
          link
          fedilink
          arrow-up
          0
          ·
          25 days ago

          Oh, I’m thinking folders aren’t I. Doy…

          • The Ramen Dutchman@ttrpg.network
            link
            fedilink
            English
            arrow-up
            2
            ·
            2 days ago

            It seems those are 4 KiB on Linux, interesting to know.

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: [email protected]

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
Visibility: Public
globe

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

  • 679 users / day
  • 5.7K users / week
  • 7.86K users / month
  • 7.93K users / 6 months
  • 2 local subscribers
  • 23.9K subscribers
  • 308 Posts
  • 3.05K Comments
  • Modlog
  • mods:
  • adr1an@programming.dev
  • Feyter@programming.dev
  • BurningTurtle@programming.dev
  • Pierre-Yves Lapersonne@programming.dev
  • BE: 0.19.11
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org