Menu
HTTP 429: Too Many Requests (Take a hint).
Home
Hot
Random
Search
Browse
AI
AWS
Agile
Algorithms
Android
Apple
Azure
Backend
Bash
C++
Cloud
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
Globals Memes
Posts tagged with Globals
Who Let The Python Psychopath Cook
Python
Programming
Debugging
Databases
1 year ago
370.7K views
1 shares
SWEET MOTHER OF NESTED LOOPS! This code is what happens when you let a serial killer write your data processing script! 😱 It's like watching someone try to solve a Rubik's cube while blindfolded, drunk, AND riding a unicycle through a minefield! The absolute AUDACITY of using globals().__setitem__ instead of just assigning a variable like a normal human being! And those underscores everywhere? It's like they're trying to communicate in Morse code through variable names! Whoever wrote this abomination should be legally banned from touching a keyboard for at least 7 business days. Future maintainers will need therapy sessions and possibly an exorcist. 💀
The Pythonic Way To Give Your Coworkers Trust Issues
Python
Programming
Security
Debugging
1 year ago
358.9K views
0 shares
Ah yes, the forbidden Python technique: dynamic imports with globals injection . Because why use normal imports when you can write code that makes your security team have nightmares? This beautiful disaster is bypassing Python's import system by directly manipulating the global namespace. It's like breaking into your own house through the chimney when you have perfectly good keys in your pocket. The regular expression module "re" is just sitting there wondering why it got dragged into this abomination. Meanwhile, some poor code reviewer is probably questioning their career choices right now.
Today's picks
CanaKit Raspberry Pi 5 Essentials Starter Kit (4GB RAM)
Affiliate
$189.99
People are the hardest part of this job
Programming
96.7K views
3 years ago
It's basic complex math
Programming
105.5K views
1 year ago