Logo
May your code be bug-free and your deploys be boring.
  • Home
  • Hot
  • Random
  • Search

Browse

  • AI AI
  • AWS AWS
  • Agile Agile
  • Algorithms Algorithms
  • Android Android
  • Apple Apple
  • Azure Azure
  • Backend Backend
  • Bash Bash
  • C++ C++
  • Cloud Cloud
  • All Categories
As an Amazon Associate ProgrammerHumor.io earns from qualifying purchases.

HTTP 418: I'm a teapot

The server identifies as a teapot now and is on a tea break, brb

HTTP 418: I'm a teapot

The server identifies as a teapot now and is on a tea break, brb

Buffer-size Memes

Posts tagged with Buffer-size

Kitchenware Optimization

Programming Backend Algorithms
9 months ago 286.1K views 0 shares
Kitchenware Optimization
Ah yes, the eternal truth of software engineering. While normal people debate philosophy, programmers look at the same glass and immediately think "why are we using a 500ml container when we only need 250ml? This is wasting memory." You've allocated a buffer that's double the size you actually need, and now you're paying for it in both RAM and existential dread. Could've used a smaller glass, could've used a dynamic array that grows as needed, but no—someone on Stack Overflow said "just make it bigger to be safe" and here we are. The real kicker? That glass will never get resized. It'll sit there in production for 5 years, half-full, mocking every performance review where you promise to "optimize resource usage."

Today's picks

Ello Jane 18oz Ceramic Travel Mug with Handle, Splash-Resistant Slider Lid and Built-in Coaster, Perfect for Coffee and Tea, BPA Free, Dishwasher Safe, Holiday Gift Her Him, Midnight

Ello Jane 18oz Ceramic Travel Mug with Handle, Splash-Resistant Slider Lid and Built-in Coaster, Perfect for Coffee and Tea, BPA Free, Dishwasher Safe, Holiday Gift Her Him, Midnight

Affiliate
$16.99
The Most Local Bus You'll Ever Find

The Most Local Bus You'll Ever Find

Networking
690.5K views 10 months ago
Please Dont

Please Dont

Programming
102.9K views 1 year ago