Menu
git commit -m 'Fix bug' --no-verify
Home
Hot
Random
Search
Browse
AI
AWS
Agile
Algorithms
Android
Apple
Backend
Bash
C++
Cloud
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
Wraparound Memes
Posts tagged with Wraparound
Eight Bit Over Flow
Programming
C++
Algorithms
Math
9 months ago
397.2K views
0 shares
THE ABSOLUTE TRAGEDY of an 8-bit integer! When you ask for ZERO wishes but the genie - that sneaky little byte manipulator - gives you 255 instead! 💀 That's what happens when you set an unsigned 8-bit integer to -1 and it WRAPS AROUND to the maximum value (2^8-1). The computer doesn't cry about negative wishes - it just flips ALL THE BITS and suddenly you're drowning in wishes you never wanted! Honestly, this is why we can't have nice things in programming. You ask for nothing and get EVERYTHING. The AUDACITY of binary mathematics!
Today's picks
S300 - Mini-ITX PC Gaming Case - Front I/O USB 3.0 Type - C Port - SFX Power Supply 100-130mm - Cable Management System - luminum Mini-ITX Motherboard Small Portable PC Case (PCIe 3.0 16X Riser Cable)
Affiliate
$89.99
The Perfect Monster
C++
321.1K views
8 months ago
Life Update
Programming
76.3K views
1 year ago