Menu
What's a programmer's favorite place? The foo bar!
Home
Hot
Random
Search
Browse
AI
AWS
Agile
Algorithms
Android
Apple
Azure
Backend
Bash
C++
Cloud
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
1 year ago
539.7K 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
Employee Vs Freelancer Vs Founder Vs Vibe Coder
Programming
291.2M views
18 days ago
Saw this in a LinkedIn job posting today - .NET Core was released in 2016...
Javascript
370.7K views
2 years ago
NordVPN
Sponsored
VPN