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
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

Segmentation Memes

Posts tagged with Segmentation

Looking At You Overlapping Segments

Hardware Programming C++
3 months ago 351.0K views 0 shares
Looking At You Overlapping Segments
So you discover that in 16-bit real mode, the BIOS handles hardware directly and your OS doesn't need device drivers. Sweet! Freedom from driver hell, right? Then you learn about 16-bit memory segmentation and suddenly that smile disappears faster than your will to live. For the uninitiated: in real mode, memory addresses are calculated using segment:offset pairs, and because both are 16-bit values, segments can overlap in the most cursed ways possible. You can have multiple segment:offset combinations pointing to the same physical address. It's like having 5 different street addresses for the same house, except the mailman is your CPU and it's having an existential crisis. Suddenly writing device drivers doesn't seem so bad anymore. At least those make logical sense. Overlapping segments? That's just sadism with extra steps.

Today's picks

It's AI Fault

It's AI Fault

AI
1.9M views 2 days ago
Preciva 902D V Soldering Station 2-in-1 SMD Hot Air Rework Station with LED, Memory Presets, Sleep, Calibration, °C/ºF | Includes Soldering Iron, Hot Air Gun, 5 Tips, 4 Nozzles, Holder, Solder Wire

Preciva 902D V Soldering Station 2-in-1 SMD Hot Air Rework Station with LED, Memory Presets, Sleep, Calibration, °C/ºF | Includes Soldering Iron, Hot Air Gun, 5 Tips, 4 Nozzles, Holder, Solder Wire

Affiliate
$72.99
The Bare Minimum To Survive

The Bare Minimum To Survive

Hardware
266.7K views 11 months ago