David Foster
davidfstr@mastodon.world
<p>Software sculptor. Writer. Teacher. Inquiring mind. Bringing world-class computer science education to K-12 schools, teachers, and students at <a href="https://techsmart.codes" target="_blank" rel="nofollow noopener" translate="no"><span class="invisible">https://</span><span class="">techsmart.codes</span><span class="invisible"></span></a></p>
Posts
-
View post
@fd93@fosstodon.org @Osmose@digipres.club 'any security measures like this "limit your productivity"' Heh, sure. You'll be more productive for a while but then lose your database or expose your customer PII, taking you to *before* square one. It's the same mistaken logic that fast (yet brittle/broken/missing) unit tests are always necessarily better than slow(er) (but thorough/correct) end-to-end tests.
-
View post
@Osmose@digipres.club "My shell script with access to all my environment variables that calls random() and if the result is less than 0.01 it deletes my prod DB" Haha. Luckily the fix is simple: Don't give the script enough permissions to delete (or modify) anything. I have a read-only database user for AI exploration. Exfiltration risk still exists though, if you give read access to private data. So I don't give those read permissions either. #aicoding
-
View post
If you&#39;re spending more than $100/month/engineer on AI tokens, you&#39;re doing it wrong. Use a subscription. I currently subscribe to Claude Pro ($20/mo) and GitHub Copilot Pro ($20/mo), totalling $40/month. https://newsletter.pragmaticengineer.com/p/the-pulse-token-spend-breaks-budgets #aicoding
-
View post
I created a Revise Skill (for Claude Code, Codex, VS Code, etc) that helps AI coding agents write code the way I want, optimized for readability &amp; maintainability: https://dafoster.net/projects/revise-skill/ #aicoding #refactoring
-
View post
gvc (git-visual-compare) is a new visual git diff tool that I&#39;m releasing today! Try it out at: https://dafoster.net/projects/gvc/ #coding #programming #diff #git I&#39;ve been using the diff mode of the venerable yet unmaintained GitX tool for a decade. But now I need my diffs to support dark mode, to avoid waking the baby at night. Astonishingly, existing GUI diff tools only support diffing *individual* commits, not ranges . So I finally bit the bullet and wrote my own. Enjoy!
-
View post
I wrote up how I&#39;ve been attributing usage of AI models &amp; coding agent harnesses when drafting code commits: https://dafoster.net/articles/2026/04/17/ai-attribution-in-git/ #aicoding #git
-
View post
RE: https://mastodon.gamedev.place/@eniko/116426136253346140 Even with today&#39;s most advanced AI coding tools/models I consistently find their output - although functional - to lack in readability/ maintainability/ elegance. I always have to revise AI code to meet my standards. The current trend of some prominent folks having no human review at all for AI code I think is a shame and sometimes even harmful. Consider: Security bugs in AI drafted/unreviewed code. #aicoding
-
View post
Oops, I wrote a database. I discuss some of challenges I faced getting full ACID guarantees working in my latest post: https://dafoster.net/articles/2026/02/23/oops-i-wrote-a-database/ #databases #warstories #programming
-
View post
I actually like Claude Code’s 5-hour session limits on usage. It enforces that I take a break occasionally and trains me to prompt more cost-efficiently, which will be useful whenever token prices stop being subsidized. #aicoding
-
View post
4 GB of space remaining. Restart computer. 22 GB of space remaining. -- Wild to see such a large fluctuation. I still remember when my total drive capacity was 0.5 GB (500 MB)...
-
View post
GitHub Copilot Agent (GCA) is moving from per-request/interaction billing to token-usage based. Shucks. I&#39;ve been enjoying the ability to give 1 well-specified request to GCA and have it churn for 15 minutes, while only charging me 1 &quot;premium request&quot;. https://github.blog/news-insights/company-news/github-copilot-is-moving-to-usage-based-billing/ #aicoding
-
View post
@kcase Glad to hear OmniGraffle is still under active development. Still my favorite tool for *high-fidelity* diagrams. Alas I mostly cannot use at work because there’s no online *collaborative* interface that allows other team members to edit diagrams AFAIK.