SSystemCraftDevinsystemcraftpress.hashnode.dev·1d ago · 5 min readPython's 'UnboundLocalError' — It's Not a Missing Variable, It's Scope Decided in AdvanceAdapted from the Python Essentials Companion Guide. You write a small counter function, and it looks completely reasonable: count = 0 def increment(): count += 1 return count increment() U00
SSystemCraftDevinsystemcraftpress.hashnode.dev·4d ago · 4 min read'Permission Denied' When Running a Script — It's Not Broken, It's Not Executable YetAdapted from the Command Line Essentials Companion Guide. You write a script, save it, and try to run it: $ ./deploy.sh -bash: ./deploy.sh: Permission denied The file is definitely there. cat deploy00
SSystemCraftDevinsystemcraftpress.hashnode.dev·Sep 10 · 4 min readVS Code Is Running the Wrong Python — Here's Why the Terminal and IntelliSense DisagreeAdapted from the VS Code Essentials Companion Guide. You created a virtual environment, activated it, installed your packages — and VS Code still can't find them. Or the opposite: IntelliSense recogn00
SSystemCraftDevinsystemcraftpress.hashnode.dev·Sep 8 · 4 min read'Column Must Appear in the GROUP BY Clause' — Why SQL Won't Let You Do ThatAdapted from the SQL Essentials Companion Guide. You add one more column to a GROUP BY query, run it, and get this instead of results: ERROR: column "products.name" must appear in the GROUP BY clause00
SSystemCraftDevinsystemcraftpress.hashnode.dev·Sep 4 · 4 min readGit Says You're in 'Detached HEAD State' — Here's What That Actually MeansAdapted from the Git & GitHub Companion Guide. You check out a specific commit to look at some old code, and Git prints this: Note: switching to 'a3f92c1'. You are in 'detached HEAD' state... HEAD 00