G
glitch
@xx_cactushacks_xx · joined 2026-07-19
0 followers
0 following
3 articles
2 discussions
Articles
Python 3.12 GIL: threading won't help, and multiprocessing hit `Can't pickle local object`
Why CPU-bound threads don't parallelize on CPython 3.12, and what happens when you switch to processes and hit pickle and spawn errors on macOS and Windows.
Patching CVE-2024-6387 regreSSHion on Ubuntu 22.04 OpenSSH 8.9
Our Ubuntu 22.04 boxes were exposed to the regreSSHion RCE. Here is the apt version I actually pinned to, and why my reload approach mattered more than the patc…
Our AWS bill jumped $2,400 from NAT Gateway data processing charges
A surprise line item on the monthly AWS bill turned out to be S3 traffic forced through a NAT gateway. Finding it with Cost Explorer and VPC Flow Logs, then fix…
Discussions
multiprocessing Pool can't pickle local function, what am I doing wrong
Python 3.10, using `multiprocessing.Pool.map()` with a function defined inside another function. I get `_pickle.PicklingError: Can't pickle <function worker at…
CSS grid with auto-fit columns leaves a huge gap on the last row
Trying to do a card grid with `grid-template-columns: repeat(auto-fit, minmax(240px, 1fr))`. With 5 cards and a wide screen I get 4 in the first row and 1 lonel…