Dvz | Python Architect (@PythonDvz) header
Dvz | Python Architect (@PythonDvz) profile picture

๐Ÿ Python, AI & Distributed Systems Architect. โ€ข Daily Python Quizzes & Logic Traps โ€ข Junior vs. Senior Code Refactoring โ€ข AsyncIO, Memory & Clean Code ๐Ÿ‘‡

Joined June 2016
Photo by Dvz | Python Architect (@PythonDvz)Photo by Dvz | Python Architect (@PythonDvz)Photo by Dvz | Python Architect (@PythonDvz)Photo by Dvz | Python Architect (@PythonDvz)Photo by Dvz | Python Architect (@PythonDvz)Photo by Dvz | Python Architect (@PythonDvz)Photo by Dvz | Python Architect (@PythonDvz)Photo by Dvz | Python Architect (@PythonDvz)Photo by Dvz | Python Architect (@PythonDvz)Photo by Dvz | Python Architect (@PythonDvz)
Postgres killed the main excuse teams used to justify spinning up MongoDB.
4
18
1
89
5,766
Pinned this in our engineering docs so new hires stop guessing between NumPy, Cython, and multiprocessing.
63
Which of these 5 Python internals surprised you first on a real project?
1
994
Watch out for list.sort() and list.reverse() mutating in place and returning None in PRs.
1
1
220
15 Python list operations in one snapshot. Which pair tripped you up early on?
1
5
1
21
1,773
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โ€ฆ
Why do production SQL repos still ship NOT IN when one bad row changes the whole query result?
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
Why do production SQL repos still ship NOT IN when one bad row changes the whole query result?
1
1
3
2,133
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โ€ฆ
3 core Python containers in 10 seconds. Which one does your codebase abuse?
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โ€ฆ
Git Workflow Explained - The Complete Git Flow Every Developer Must Know
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
Pinned this in our onboarding docs. Which git diff flag still trips your team up in PRs?
1
240
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โ€ฆ
Code reviews let Query A slip into SQL reports because it reads cleaner on one screen.
2
1,035
Pinned this in our onboarding docs so new hires stop mutating shared state by accident in PRs.
1
3
223