Logo
IPv4: We're running out! Since 1990.
  • 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

Platform-detection Memes

Posts tagged with Platform-detection

Weird Way Of Making Things Work

Windows Linux Programming Debugging Backend
2 months ago 350.5K views 0 shares
Weird Way Of Making Things Work
Oh, the absolute AUDACITY of this code! Someone out here literally checking if they're running on Windows and then just... *casually lying to the entire application* by setting a fake environment variable claiming it's Linux. It's like showing up to a costume party as yourself but telling everyone you're someone else. The sheer chaos energy of "my code only works on Linux but I'm stuck on Windows, so I'll just... gaslight my own program into thinking it's Linux" is truly unmatched. Does it work? Maybe. Should it work? Absolutely not. Will it cause mysterious bugs six months from now that make future developers question their career choices? Oh, you BET it will. This is the programming equivalent of duct tape and prayers, and honestly? Sometimes that's exactly what ships products.

Today's picks

Titan Gaming Glasses, Blue Light Blocking, Night Driving Glasses for Men, Computer Protection Christmas Gift for Gamers

Titan Gaming Glasses, Blue Light Blocking, Night Driving Glasses for Men, Computer Protection Christmas Gift for Gamers

Affiliate
$17.99
Tears Of The Arch

Tears Of The Arch

Linux
316.9K views 1 year ago
Be rigorous.

Be rigorous.

Programming
68.6K views 3 years ago