John Harts (@Hartsy86) header
John Harts (@Hartsy86) profile picture

Full Stack Developer in charge of keeping the technology update - Mom

Suitland, MD
Joined December 2017
Photo by John Harts (@Hartsy86)Photo by John Harts (@Hartsy86)Photo by John Harts (@Hartsy86)Photo by John Harts (@Hartsy86)
Getting covered in dirt is fine when the sprint cars are running inches from the fence.
3
Every engineering team should be tracking cost per PR. Such a clean way to make AI spend concrete.
Today I was analyzing our AI model costs at @didit. This doesn't include core infra, CI or sandboxes, but it's a good approximation. > We're spending ~$47K a month, around 9% of our revenue. 72% is internal coding, bc we max out our Claude and Codex subscriptions. I expect the product % to go up, and marketing too (models are already good enough to run a real content machine). I also expect total AI costs to go up as we get more ambitious and run more projects in parallel while we keep improving our software factory. > Anthropic is still the leader. This doesn't count the subsidized credits we got this month from OpenAI, Anthropic and Gemini, where we spent $100K+ more in total. Opus 5.5 is so good, and when I need strategy, planning or good orchestration I use Fable 5.2 most of the time. Astra 6.2 is great for computer use, and for a very detailed technical task with a clear validation loop. Google has great quality / price, same as DeepSeek, we use both internally and in our copilot product. DeepSeek v4.1 flash changed the math for us. Also, the models are too compliant, and for some tasks like cyber we need liberated open weight models, which is a pain in the ass bc you have to give all the context again. > One of my favorite graphs is cost per PR. It sits around $5, and we merged 6,745 PRs this month with an engineering team of 4. I checked today, and personally I did 80K+ commits in the last 12 months, around 1K a day right now. $5 per PR is pretty good, and I expect it to go down as open weight models get smarter. > Open weight models are 28% of our model spend, and growing. I suspect this number jumps with the next big open weight release, unless Opus 5.6 is as good as they say. This is the first time I feel I'm not bounded by intelligence. The biggest bottleneck is clearly my limited brain supervising most of the decisions, doing UI/UX, product, GTM strategy and checking the creatives. Same intelligence but 10x faster would change everything tbh. We're also working on harnesses and perfecting our plugins / skills to automate most of my decision process and taste. The problem is still the reflection loop: I still have to be the creative one, recommending what to do on cross domain tasks. I'm also experimenting with Grok Bot for other tasks, connected through our company brain MCP. Still early, but it looks promising, it's a good product. One thing is clear: the demand for compute is infinite, and this is just the start
1
2
64
A new IMSA team putting together a serious endurance lineup is always fun to watch. 2027 can't come soon enough.
‼️Announcement ‼️ Ferdinand returns to the IMSA WeatherTech SportsCar Championship in 2027, embarking on his first full-season LMP2 campaign in the series with the newly formed Unconventional Racing team. Ferdi will share the #73 @unconv_racing car with Naveen Rao for the full season, joined by Conrad Laursen for the Endurance rounds and a fourth driver to be announced for Daytona. 🙌
5
In bed at 4pm. Monday turned out pretty good.
3
Giving agents their own identity and an audit trail is a pretty important step toward trusting them with real workflows.
Build in public - Day 8 0 users 0 paying users $0 MRR 1,173 followers on 𝕏 (+18 today) Launch deadline: Dec 15, 2026 830 PRs merged today across 52 repos, 43 app deploys. And they're small: the median PR changed about 37 lines. Lots of small, checkable steps instead of a few giant ones. Total about 80,000 lines added and 11,000 deleted. The big one: my AI agents can now sign in to my apps as themselves (only when switched on), with short-lived tokens, and everything they do is logged under their own name. I can use this for generating screenshots (and keep them updated) for documentation, blog posts, xeets oder entire videos for tutorials. Agents acting as humans now can also fully test all features, find bugs, missing journey steps and provide insights. Using Claude for coding, Grok @bot for design, testing, handling and managing, Codex for the 3D elements & features. Quick run to the grocery store for some healthy evening snacks. Sometimes I like working late hours. And some other times I prefer working early morning. Building AI agents, prompt tools, or cool tech? Let's connect and keep each other motivated.
3
IndyCar needs more short ovals because watching the leaders thread through traffic at Iowa is so good.
1
33
~80% of devs still prefer the terminal for working with coding agents. ~50% merge agent-written code without second-human review. ~25% regularly prompt agents from their phones. What about you? Check out the results from our survey at @sfrubyconf: superconductor.com/state-of-…
6
9
1
17
721
The PR queue is where all the speed from AI coding tools goes to die.
AI code generation wasn’t the bottleneck anymore. GitHub was. Claude Code can write a feature in minutes, but the PR can still spend hours waiting on failing CI, merge conflicts, reviewer comments and someone willing to click approve. Anthropic’s new Claude Ship is trying to automate that entire gap. It has three agents: Code Review looks at the PR against the wider codebase, verifies its own findings and leaves inline comments. Teams can choose Quick, Standard or Deep reviews, then tune it with a REVIEW.md file. PR Steward handles the annoying part after the review. It fixes failing CI checks, resolves conflicts and responds to comments from humans or other tools. After every push, it explains what changed and how to undo it. Claude Approvals reads a team-written policy and decides whether routine changes can be approved automatically. Sensitive stuff like authentication or database migrations can still be routed to humans. Basically, Anthropic isn’t just trying to replace the person writing code. It’s going after the five people and six GitHub checks standing between written code and production. The numbers from Anthropic’s own Claude Code team are pretty interesting. Between June and September 2026, merged PRs more than doubled while reverted changes fell by over 40%. That matters because the obvious fear is that automating reviews means shipping more garbage, faster. Their internal results suggest the opposite is possible, but I’d still be careful. Approvals can theoretically combine with GitHub auto-merge to ship a change without a human touching it. Anthropic recommends starting in observe-only mode, where Claude posts its decision but can’t approve anything. That’s probably the right move. Start with routine dependency updates, docs and low-risk fixes. Keep humans on auth, payments, migrations and anything that can ruin your weekend. The product is only available for Claude Team and Enterprise GitHub organizations, and the review and fixing agents are billed by token usage. More PRs, deeper reviews and more Steward activity means a bigger bill. So the real test isn’t whether Claude can review code. It’s whether the time saved is worth the tokens, and whether teams can write policies that are strict enough to stop bad changes without recreating the same bottleneck. Still, I think this is where coding agents were always heading. Writing code faster is useful. Shipping good code faster is the actual business.
1
15
John Harts retweeted
Advanced backend engineering concepts every developer should understand: > Concurrency & Parallelism > Multithreading & Multiprocessing > Event Loop & Non-Blocking I/O > Asynchronous Programming > Memory Management & Garbage Collection > Connection Pooling > Database Locking & Deadlocks > Optimistic & Pessimistic Locking > Idempotency & Retry Mechanisms > Circuit Breaker Pattern > Bulkhead Pattern > Backpressure & Rate Control > WebSockets & Server-Sent Events > Webhooks & Event Processing > Background Jobs & Task Scheduling > Database Isolation Levels > Cache Invalidation Strategies > Consistent Hashing > Leader Election & Consensus Algorithms > Eventual Consistency > Saga Pattern & Distributed Transactions > Service Discovery > Zero-Downtime Deployments > Blue-Green & Canary Deployments > Infrastructure as Code > Secrets Management > Performance Profiling & Benchmarking Don't just learn how to write backend code. Understand concurrency, failures, performance bottlenecks, and the engineering decisions that keep production systems reliable at scale.
10
53
1
437
13,406
Love a systems rabbit hole where one weird memory cost sends you all the way down to userland networking.
A Linux socket costs about 3,300 bytes of kernel memory, even when idle. A userland network stack in Rust, together with a custom runtime, reached 16 million servers on one 10 GB VM. 🦀 The article "15 million web servers on one VM" by @kaptekoguid (kapteko) is a humorous but technically clear experiment: run one web server for every person on the planet, starting with 15 million on a single VM with 10 GB of RAM and one CPU core. The path, step by step: → A plain C server hits the port limit first. AnyIP, which lets a machine listen on a whole subnet, solves the addressing → Each process then costs about 1.5 MB, so 15 million would need around 20 TB of RAM. The answer is a custom runtime that runs the servers as sandboxed guests in one process, using LFI for isolation, with about 16 bytes of scheduling state per guest. That runtime comes from earlier articles by the same author → The kernel finding: a socket call allocates about 3,300 bytes whether the socket is active, listening or doing nothing. The post breaks down 3,384 bytes: tcp_sock 2,240, socket_alloc 768, file 184 and dentry 192. The author's first assumption that idle listeners would cost zero memory was wrong, and the post says so The fix is to go lower in the network stack. smoltcp, a Rust TCP/IP stack that needs no heap allocation, handles the protocol in userland. Packet I/O comes through TUN or TAP, DPDK, or AF_XDP: → DPDK takes the network device from the OS and uses a busy-looping core → AF_XDP leaves the device with the kernel and uses an eBPF filter to route packets to userspace, so SSH keeps working The results, from the author's benchmark: → With the kernel network stack, memory runs out at around 2.5 million servers, and requests per second drop as the count grows → With smoltcp, an idle server costs about 620 bytes and an active one about 1 KB, and the run reached 16 million servers → DPDK is fastest, with AF_XDP just behind 🔗 kapteko.com/15-million-webse… #RustLang #Networking #DPDK #Systems #Rust
1
15
How are you keeping PRs small when a feature touches the database, API, and frontend all at once?
10
Thank you @github for the quick response on a late pre-GTA6 release night As many know, Orca's repo got flagged due to our PR volume (and is still unavailable), but multiple folks at MS and GH have reached out to help. It will be back soon
12
3
1
126
5,323
Dijkstra was very good at making computer science arguments sound like arguments about vocabulary.
“The question of whether a computer can think is no more interesting than the question of whether a submarine can swim.” - Edsger W. Dijkstra Edsger Wybe Dijkstra was a pioneering computer scientist whose contributions helped shape modern programming. In 1972, he received the prestigious Turing Award for his groundbreaking work in programming languages. From 1984 to 2000, he served as the Schlumberger Centennial Chair of Computer Sciences at the University of Texas at Austin. Shortly before his death in 2002, Dijkstra received the ACM PODC Influential Paper Award for his research on self-stabilizing systems in distributed computing. In recognition of his lasting impact, the award was renamed the Dijkstra Prize the following year. Among his most influential works was his 1968 critique of excessive GO TO statements, famously published under the title Go To Statement Considered Harmful. The paper helped popularize structured programming and introduced the phrase “considered harmful” into computer science, where it remains widely used today.
13
A slow test suite is a tax on every engineer. Profile the pipeline before throwing more compute at it.
Your CI bill this month is going to be a helluva lot higher than September's. But you can do something about it. The cost of CI isn't the price per minute, but the total time it takes and how often it runs. I walk through this below.
1
21
Stopped to watch them work on this thing and forgot where I was going.
6
Love when the leader catches lapped traffic and you can see second place close the gap before the next corner.
3
Hocevar in an Indy 500 would be a pretty great crossover. Hope they can make it happen.
Spire Motorsports has had discussions with its part owner TWG Motorsports about running Carson Hocevar in an upcoming Indy 500 with Andretti Global, but it won’t be in 2027, according to CEO Jeff Dickerson. sportsbusinessjournal.com/Ar…
9
The SQS visibility timeout detail is exactly the kind of unglamorous engineering that keeps an agent from making an incident worse.
In an interview, I was asked to design an AI agent for Kubernetes incident response. I started with three goals: - Reduce noise. Filter known non-actionable alerts before they wake someone up. - Reduce MTTR. The agent does the repeat work (events, logs, metrics, runbooks) and hands over a diagnosis. - Auto-resolve simple, low-risk issues. Everything else needs human approval. >> Step 1: The alert Prometheus Alertmanager fires the alert. Email and PagerDuty stay as they are. The agent is an addition, not a replacement. >> Step 2: Getting the alert to the agent SNS sends the alert to SQS for buffering, retries and a dead letter queue. I add deduplication so one incident does not start 50 runs, and idempotency because SQS can deliver twice. >> Step 3: Triggering the agent A Lambda checks the alert comes from an approved source and environment. If not, it stops. Because of Lambda time limits, it stays a thin trigger and the agent workflow runs on AgentCore. >> Step 4: Giving the agent tools Three read-only MCP servers: EKS, Grafana, CloudWatch. Every call goes through a gateway with OIDC auth. The agent never holds cluster credentials. >> Step 5: Investigation The agent reads the environment, cluster and service from the alert. Then it: - Pulls events and log tails from EKS, including previous container logs for crash loops. - Checks Grafana metrics 10 minutes before and after the alert. - Checks CloudWatch only if it needs more signals. >> Step 6: Knowledge base A Bedrock knowledge base holds troubleshooting playbooks and a rulebook mapping events to recommendations. No matching playbook? The agent says so instead of guessing. >> Step 7: Deciding the action - Known noise is suppressed by rules. - Alerts needing a human go to Slack and PagerDuty with the diagnosis. - A small list of known-safe actions runs automatically. - Everything else waits for approval. >> Step 8: Guardrails - No deleting deployments, StatefulSets or secrets. - Pod deletion only when healthy replicas exist. - Approved environments and triggers only. - Logs are untrusted input. They are data, never instructions. >> Step 9: Cost and execution limits - A small model triages first. Only unclear incidents reach a larger model. - Token budget per run, plus hourly and daily limits. - Trimmed tool output: error lines, metric summaries, top 3 knowledge base results. - Max 3 retries per tool call, never on permission errors. - 10 seconds per tool call, 5 minutes per investigation, max 10 tool calls. The SQS visibility timeout must exceed the run limit, or a second agent starts mid-investigation. When any limit hits, the agent stops, shares what it found as incomplete, and notifies a human. >> Step 10: Proving it works I replay past incidents and compare the diagnosis with the human root cause. I track accuracy, pages avoided, time to diagnosis and cost per investigation. If accuracy is low, the agent stays advisory. Building the agent is the easy part. Deciding what it must never do is the real engineering challenge.
7
Short track cautions drag on forever after the tow truck clears turn two and the field is already lined up.
6
Pick one repo, clone it, and build something with it before bookmarking 49 more.
🔥 TOP 50 GITHUB REPOS FOR AI & DEVELOPER MASTERY ⭐ Learn • Build • Automate • Innovate 🟣 LEARN & IMPROVE 1. Public APIs — Free APIs github.com/public-apis/pu… 2. Build Your Own X — Learn by building github.com/danistefanovic… 3. Developer Roadmap — Learn tech skills github.com/kamranahmedse/… 4. Free Programming Books github.com/EbookFoundatio… 5. System Design Primer github.com/donnemartin/sy… 6. Coding Interview University github.com/jwasham/coding… 7. The Art of Command Line github.com/jlevy/the-art-… 8. Project-Based Learning github.com/practical-tuto… 9. You Don't Know JS github.com/getify/You-Don… 10. Book of Secret Knowledge github.com/trimstray/the-… 11. Tech Interview Handbook github.com/yangshun/tech-… 12. Awesome Self-Hosted github.com/awesome-selfho… 13. JavaScript Algorithms github.com/trekhleb/javas… 14. 30 Seconds of Code github.com/Chalarangelo/3… 15. Gitignore Templates github.com/github/gitigno… 🔵 AI & AUTOMATION TOOLS 16. Ollama — Run AI locally github.com/ollama/ollama 17. LangChain — Build AI apps github.com/langchain-ai/l… 18. n8n — Workflow automation github.com/n8n-io/n8n 19. OpenClaw — AI assistant github.com/openclaw/openc… 20. Dify — AI app builder github.com/langgenius/dify 21. Langflow — Visual AI workflows github.com/langflow-ai/la… 22. Mem0 — AI memory github.com/mem0ai/mem0 23. Browser Use — Browser automation github.com/browser-use/br… 24. CrewAI — AI agents github.com/crewAIInc/crew… 25. MetaGPT — Multi-agent AI github.com/geekan/MetaGPT 26. AutoGen — AI agent framework github.com/microsoft/auto… 27. Aider — AI coding assistant github.com/Aider-AI/aider 28. MarkItDown — Convert files github.com/microsoft/mark… 29. Open WebUI — AI chat interface github.com/open-webui/ope… 30. Firecrawl — Web data for AI github.com/firecrawl/fire… 31. Stagehand — AI browser tools github.com/browserbase/st… 32. Maigret — OSINT tool github.com/soxoj/maigret 🟢 AI & LLM ECOSYSTEM 33. Transformers — AI models github.com/huggingface/tr… 34. vLLM — Fast LLM inference github.com/vllm-project/v… 35. llama.cpp — Run LLMs locally github.com/ggml-org/llama… 36. LlamaIndex — LLM data tools github.com/run-llama/llam… 37. nanoGPT — Build GPT github.com/karpathy/nanoG… 38. RAGFlow — RAG engine github.com/infiniflow/rag… 39. Supermemory — AI memory tools github.com/supermemoryai/… 40. Awesome Claude Skills github.com/ComposioHQ/awe… 41. ComfyUI — AI image generation github.com/comfyanonymous… 42. DeepSeek — AI models github.com/deepseek-ai 43. Lobe Chat — AI chat app github.com/lobehub/lobe-c… 🟠 DEVELOPER & MACHINE LEARNING TOOLS 44. freeCodeCamp — Learn coding github.com/freeCodeCamp/f… 45. Awesome Python github.com/vinta/awesome-… 46. Awesome Machine Learning github.com/josephmisiti/a… 47. TensorFlow — Machine learning github.com/tensorflow/ten… 48. scikit-learn — ML tools github.com/scikit-learn/s… 49. PyTorch — Deep learning github.com/pytorch/pytorch 50. Transformers.js — AI in JavaScript github.com/huggingface/tr… 🔖 BOOKMARK THIS LIST FOR LATER! 👤 Follow me @Zen_AI_Lab7 ♻️ Repost to help other developers. 🚀 Which repo will you try first?
14