Logo
The first image on the web: A band photo.
  • 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

Bool Memes

Posts tagged with Bool

Vector Of Bool

C++ Programming
5 days ago 247.7K views 0 shares
Vector Of Bool
So you innocently declare a std::vector<bool> thinking you're getting a nice container of boolean values. But surprise! The C++ standards committee decided to "optimize" it by packing bits together instead of storing actual bools. What you end up with is a space-efficient abomination that doesn't even return real references when you access elements. It's like ordering a pizza and getting a deconstructed molecular gastronomy interpretation of pizza. Sure, it saves space, but now you can't use it with standard algorithms that expect real references, and you're stuck wondering why your code won't compile. The C++ committee's gift that keeps on giving—technically a vector, technically bools, but also technically neither.

Pregnant Struct

C++ Programming
10 months ago 233.5K views 0 shares
Pregnant Struct
So this is how data structures reproduce in the wild. A mystruct gets embedded inside a pregnantstruct , complete with a bool yeah; confirmation. Congratulations, it's a nested object! The compiler will be sending cigars. Just wait until it inherits all those methods—they grow up so fast.

Spotlight

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 →

USB C Docking Station 3 Monitors,USB C Hub with...

USB C Docking Station 3 Monitors,USB C Hub with...
Ad Each purchase helps us maintain our Kubernetes cluster that's running a single Hello World app. 🌟