
๐ Python, AI & Distributed Systems Architect. โข Daily Python Quizzes & Logic Traps โข Junior vs. Senior Code Refactoring โข AsyncIO, Memory & Clean Code ๐
Joined June 2016
- Tweets19.6K
- Following54
- Followers186K
- Likes6.2K
Postgres killed the main excuse teams used to justify spinning up MongoDB.

ALT SQL vs NoSQL database comparison across nine categories: structured tables vs flexible JSON documents, fixed vs dynamic schema, foreign key joins vs denormalized data, ACID vs BASE consistency, vertical vs horizontal scaling, and popular engines like PostgreSQL, MySQL, MongoDB, Redis, and Cassandra.
Pinned this in our engineering docs so new hires stop guessing between NumPy, Cython, and multiprocessing.
63
How does your database optimizer handle NOT IN vs NOT EXISTS on multi-million-row tables when the subquery column is nullable?
www.teapawt.org/PythonDvz/status/21275โฆ
1,174
Replying to @ai_ethan_s
Enforcing that in dataset prep saves entire training runs from empty splits. Do you block NOT IN via SQL parser rules in CI, or catch it with schema-level NOT NULL assertions before the pipeline runs?
37
We banned the top pattern in our PR linter after a single unindexed migration broke user filtering in prod.
1
236
Replying to @CodeWithTiff
Walking into an existing codebase always feels like that at first. Once you trace one end-to-end request from the API route down to the database query, the whole map clicks into place.
29
Where does switching from list or dict to tuple save the most memory or lookup time in your Python services?
www.teapawt.org/PythonDvz/status/21275โฆ
6
1,330
Replying to @Snow2Master
Keeping CI YAML as a thin runner for local scripts stops pipelines from turning into untestable glue code. Where do you draw the line between workflow steps and shell/Python scripts?
31
Do you run git fetch before merging remote changes locally, or go straight to git pull on active branches?
www.teapawt.org/PythonDvz/status/21274โฆ
4
1,135
Replying to @0xA1PHAMA1E
Context rot hits right around that mark. Once the diff grows past a dozen files, the model loses track of the original boundary and starts "cleaning up" untouched modules. Do you cap agent edits by file count or hard-lock directories?
22
Replying to @euieeihdjdhhdjd
Quick comparison of when to use a mutable list, an immutable tuple, or a key-value dict in Python so you stop picking the wrong data structure by habit.
21
Replying to @TeamSystmDesign
Cross-shard joins and distributed migrations turn routine product changes into multi-sprint projects. What single write-throughput threshold finally forced you to shard in production?
1
23
Replying to @richtertech13
Trace spans show the sequence, not why the model picked the wrong branch. Do you log the exact prompt diff per tool retry, or just input/output payloads?
25
Replying to @mohabaecho
One NULL in vip_archive wipes out the entire NOT IN result set via three-valued logic. Even if the column is NOT NULL today, a single schema change later breaks Query A without throwing an error.
43
Do your Postgres or MySQL query plans still rewrite Query A into the same anti-join as Query B, or do you block it in CI?
www.teapawt.org/PythonDvz/status/21274โฆ
2
1,035



![Python list vs tuple vs dict comparison cheat sheet: square brackets create a mutable list like fruits = ['apple', 'mango', 'kiwi'], round brackets lock an immutable tuple raising TypeError on reassignment, and curly braces map key-value pairs in a dict.](https://pbs.twimg.com/media/HYYd7JTa8AErue0.jpg?name=small&format=webp)
