this post was submitted on 11 May 2025
872 points (97.2% liked)

Programmer Humor

24111 readers
2338 users here now

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

founded 2 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] lemon@sh.itjust.works 93 points 1 month ago (3 children)

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 16 points 1 month ago (2 children)

each file is minimum 4kb

(base64.length/max_character) * min_filesize < actual_file_size

For this to pay off

[–] Venator@lemmy.nz 2 points 1 month ago

Just use folders instead 😏

[–] lord_ryvan@ttrpg.network 2 points 4 weeks ago (1 children)

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 1 points 4 weeks ago (1 children)

Oh, I'm thinking folders aren't I. Doy....

[–] lord_ryvan@ttrpg.network 2 points 6 days ago

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

[–] mmddmm@lemm.ee 10 points 1 month ago

I'd go with a prefix, so it's ls-friendly.

[–] psud@aussie.zone 2 points 1 month ago* (last edited 1 month ago)

Browse your own machine as if it's under alt.film.binaries but more so