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

ultimate storage hack

sh.itjust.works

message-square
82
link
fedilink
860

ultimate storage hack

sh.itjust.works

einfach_orangensaft@sh.itjust.works to Programmer Humor · 2 days ago
message-square
82
link
fedilink
  • Brahvim Bhaktvatsal@lemmy.kde.social
    link
    fedilink
    isiZulu
    arrow-up
    1
    ·
    edit-2
    23 hours ago

    …Just asking, just asking: Why is the default FILENAME_MAX on Linux/glibc 4096?

    • barsoap@lemm.ee
      link
      fedilink
      arrow-up
      1
      ·
      17 hours ago

      Because PATH_MAX is? Also because it’s a 4k page.

      FILENAME_MAX is not safe to use for buffer allocations btw it could be INT_MAX.

Programmer Humor

programmer_humor

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.

  • 481 users / day
  • 4.49K users / week
  • 8.75K users / month
  • 18K users / 6 months
  • 2.39K local subscribers
  • 23.2K subscribers
  • 1.38K Posts
  • 51.7K Comments
  • Modlog
  • mods:
  • adr1an
  • Feyter
  • BurningTurtle
  • Pierre-Yves Lapersonne
  • BE: 0.19.11
  • Modlog
  • Legal
  • Instances
  • Docs
  • Code
  • join-lemmy.org