Logo
IPv6: Enough addresses for every atom on Earth.
  • 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

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

Sorted Memes

Posts tagged with Sorted

Self-Proclaimed ML Engineer Discovers How Strings Work

Python Programming Debugging AI Algorithms
3 months ago 161.1K views 0 shares
Self-Proclaimed ML Engineer Discovers How Strings Work
Behold, the "ML Engineer" who discovered that Python sorts strings alphabetically instead of numerically! The horror! Next breaking news: water is wet. What we're witnessing here is the classic "I didn't read the docs but it's definitely the language's fault" syndrome. Python's sorted() is working perfectly—it's sorting ["9%", "83%", "25%"] as strings, exactly as it should when you give it strings. Pro tip for our aspiring "ML Engineer": try sorted([int(x.strip('%')) for x in a]) next time. Or maybe stick to Excel?

Spotlight

Portable Power Station

GearScouts.com

Stop scrolling, start exploring! Find the gear that'll get you off the couch and into the wild. Compare power stations for off-grid adventures, flashlights for midnight hikes, and essentials that make the outdoors your playground. Get Outside →

Ad Keyboard That Outlasts Your Codebase

Switches rated for 100 million keystrokes or one debugging session
nuphy Field75 HE Gaming Keyboard | ProgrammerHumor.io
Buy = You get cool stuff + we can finally afford that third monitor for ultimate productivity. 🖥️