Logo
Code quality metric: WTFs per minute.
  • 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

Math hack Memes

Posts tagged with Math hack

Dividing By Almost Zero: A Mathematical Loophole

Math Programming Debugging Algorithms
11 months ago 456.9K views 0 shares
Dividing By Almost Zero: A Mathematical Loophole
When you can't divide by zero, but 0.0000000000000001 is basically the same thing, right? This dev is like "I'm not breaking math, I'm just... bending it a little." The classic programmer solution: if the rules say you can't do something, just find the closest loophole. It's the computational equivalent of "I'm not touching you" but with numbers that would make mathematicians wake up in cold sweats. And the best part? It probably works... until it doesn't, and then you get to spend three days debugging why your rotation calculations are off by exactly one pixel in very specific scenarios.

Today's picks

Anker MacBook Pro Charger, Compact and Foldable 100W USB C Charger for MacBook Air, Samsung Galaxy, iPad Pro, and More, 5FT USB C Cable Included

Anker MacBook Pro Charger, Compact and Foldable 100W USB C Charger for MacBook Air, Samsung Galaxy, iPad Pro, and More, 5FT USB C Cable Included

Affiliate
$22.99
NordVPN

NordVPN

Sponsored
VPN
Sounds like 2020 right before the holidays to me

Sounds like 2020 right before the holidays to me

Linux
209.8K views 5 years ago