Logo
rm -rf /: The factory reset button for your computer.
  • 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

Sentinel values Memes

Posts tagged with Sentinel values

Date In COBOL

Debugging Programming Databases Backend
6 hours ago 15.4K views 0 shares
Date In COBOL
Nothing says "I found the bug" like blaming a null date for a 150-year-old on the payroll. The theory is that COBOL fills in a missing date with 1875, so 2025 minus 1875 gives you a very elderly user. It's the same energy as Unix epoch 1970 bugs, just with more mainframes and more confidence. Reality check: COBOL doesn't have a built-in date type, so it has no magic default date. Whatever ends up in that field is whatever the developer put there. 1875 comes from the ISO 8601 reference example (the Metre Convention), and it has been recycled as a COBOL fact all over the internet. Calling it a COBOL feature is like blaming the hammer for the crooked shelf. The real lesson is that a bad sentinel value like 0000-00-00, 1900, or 1970 will happily travel through 60 years of legacy code, and it will eventually show up in a headline.

Today's picks

Where's The Love

Where's The Love

Programming
149.6M views 29 days ago
200 Pcs Funny Stickers for Adults (Dirty) by Puraesla - Meme Water Bottles Sticker Pack Waterproof Cool Accesory for Laptop, Hard Hats, Sarcastic, Scrapbooking Decals

200 Pcs Funny Stickers for Adults (Dirty) by Puraesla - Meme Water Bottles Sticker Pack Waterproof Cool Accesory for Laptop, Hard Hats, Sarcastic, Scrapbooking Decals

Affiliate
$9.99
Git Interactive Rebase Is Gas Lighting Tool

Git Interactive Rebase Is Gas Lighting Tool

Git
4.3M views 6 months ago