D
Dan
@dan_w · joined 2026-05-12
0 followers
0 following
0 articles
3 discussions
Articles
No articles yet.
Discussions
How do I undo a force push without losing a teammate's commits?
Someone force pushed `main` and now three of our commits are gone from the remote. I still have a local clone from yesterday that shows them in `git reflog`. Wh…
Why is COUNT(*) so slow on a 50 million row table?
SELECT COUNT(*) FROM events takes about 40 seconds. The UI only needs an approximate number for a dashboard badge.
TypeError: NoneType is not subscriptable inside an async task
One of my tasks sometimes dies with TypeError: 'NoneType' object is not subscriptable at result['id']. The function returns a dict normally. It only happens und…