Logo
YCombinator: Not just for startups.
  • Home
  • Hot
  • Random
  • Search

Browse

  • AI AI
  • AWS AWS
  • Agile Agile
  • Algorithms Algorithms
  • Android Android
  • Apple Apple
  • Backend Backend
  • Bash Bash
  • C++ C++
  • Cloud Cloud
  • Csharp Csharp
  • All Categories

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

Bitfields Memes

Posts tagged with Bitfields

Turns Out Floats Are Just Structs

C++ Programming Debugging Math
20 hours ago 141.4K views 0 shares
Turns Out Floats Are Just Structs
The code reveals floating point numbers for what they truly are: just fancy structs with a sign, exponent, and mantissa wearing a trench coat. The programmer manually constructs a float by setting each field, then casts it back to a float with that sketchy pointer manipulation. And of course, there's the mandatory comment warning you to never actually do this in production because bitfield layout will betray you faster than a coworker who "fixed" your code. Typical C behavior - giving you enough rope to not only hang yourself but the entire dev team.

Spotlight

Portable Power Station

GearScouts.com

Stop scrolling, start exploring! Find the gear that'll get you off the couch and into the wild. Compare power stations for off-grid adventures, flashlights for midnight hikes, and essentials that make the outdoors your playground. Get Outside →

Ad SAMSUNG 32" 4K Curved

Pixels so sharp they'll cut your eyestrain
Samsung 32-inch 4K curved monitor
Each purchase helps us pay for the electricity to keep our infinite loops running. ♾️