Menu
HTTP 402: Payment Required (The web's unused checkout).
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
Maps Memes
Posts tagged with Maps
Now Everyone Can Be Happy
Python
Programming
Bash
1 year ago
235.9K views
0 shares
BEHOLD! The Gulf of Mexico has been GLORIOUSLY renamed using environment variables! Because nothing says "international diplomacy" like renaming an entire body of water with a string interpolation! 💀 The f-string format with that os.environ['MY_GLORIOUS_COUNTRY'] variable is the PEAK of passive-aggressive geopolitics. Americans get "Gulf of America," Mexicans get "Golfo de México," and everyone else gets whatever their environment variables are set to! DIPLOMATIC CRISIS AVERTED THROUGH THE POWER OF STRING FORMATTING!
Today's picks
Leyland Designs New Git for Programmers or Coders Bumper Sticker Window Water Bottle Decal 5""
Affiliate
$4.95
Interview vs. Job
Programming
71.6K views
4 years ago
0 != 1
Programming
65.3K views
3 years ago