Menu
CAPTCHA: Computers Asking People To Confirm Humanity Again
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
Empty list Memes
Posts tagged with Empty list
Have You Tried Turning It Off And On Again?
Python
Programming
Debugging
11 months ago
331.9K views
0 shares
This Python code is the programmer equivalent of IT Crowd wisdom. It tries to find the maximum value in an empty list (which will throw an error), then catches the exception by... restarting the script. Essentially coding "have you tried turning it off and on again?" into your error handling. The digital equivalent of kicking the vending machine when your snack gets stuck.
Today's picks
Genuinely Can't With These People
Cloud
2.2M views
5 days ago
"Science is the easiest in computers."
Frontend
80.1K views
2 years ago
Cable Matters 20Gbps USB C Switch, 3-in-1-Out, Supports Up to 8K@30Hz on Windows, 4K@60Hz on macOS, 140W PD, for Sharing a USB-C/Thunderbolt 4 Monitor or Dock (Not Work with Captive Cable Docks)
Affiliate
$79.99