Logo
The first computer bug was literally a moth.
  • 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

Comparison bug Memes

Posts tagged with Comparison bug

Compare Floats Before You Round

Debugging Programming Testing Iot Math
21 days ago 149.2K views 0 shares
Compare Floats Before You Round
Nothing says "I'm a competent programmer" like waking up at 3:25am to an emergency alert that 72 is dangerously higher than... 72. Classic floating point comparison fail. Somewhere in that thermostat's code, 72.0001 is being compared to 72 with the == operator instead of a proper threshold check. The developer who wrote this is probably the same person who thinks SQL injection is just a fancy way to administer medicine. Future archaeologists will find this thermostat and conclude our civilization collapsed because we couldn't figure out that 72.00000001 ≈ 72.

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 →

Razer DeathAdder Essential (2021) - Wired Gamin...

Razer DeathAdder Essential (2021) - Wired Gamin...
Ad Buy = You get something awesome + we can afford to increase our AWS Lambda timeout settings. ⚡