Pricefield | Lemmy
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
@einfach_orangensaft@sh.itjust.works to Programmer Humor@programming.dev • 2 months ago

ultimate storage hack

sh.itjust.works

message-square
90
fedilink
888

ultimate storage hack

sh.itjust.works

@einfach_orangensaft@sh.itjust.works to Programmer Humor@programming.dev • 2 months ago
message-square
90
fedilink
  • @tetris11@lemmy.ml
    link
    fedilink
    16•2 months ago

    each file is minimum 4kb

    (base64.length/max_character) * min_filesize < actual_file_size

    For this to pay off

    • @Venator@lemmy.nz
      link
      fedilink
      2•2 months ago

      Just use folders instead 😏

    • The Ramen Dutchman
      link
      fedilink
      English
      2•2 months 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
        1•2 months ago

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

        • The Ramen Dutchman
          link
          fedilink
          English
          2•29 days ago

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

Programmer Humor@programming.dev

!programmer_humor@programming.dev
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: !programmer_humor@programming.dev

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
  • 148 users / day
  • 334 users / week
  • 1.29K users / month
  • 4.41K users / 6 months
  • 3 subscribers
  • 1.57K Posts
  • 55.8K Comments
  • Modlog
  • mods:
  • Feyter
  • adr1an
  • @BurningTurtle@programming.dev
  • Pierre-Yves Lapersonne
  • UI: 0.18.4
  • BE: 0.18.2
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org