Andreas Cambitsis (@acambitsis) profile picture

Code geek since '82. Surfing the edge between AI hype and mind blowing disruption.

South Africa
Joined May 2009
Do modern software engineers know about: branch delay slots, DAA/AAA/AAM BCD adjust, XLAT, ENTER nesting levels, SALC, SIB + ModR/M encoding, REP prefixes + the direction flag, the x87 FPU stack, LL/SC vs CMPXCHG, canonical addresses, or SWAPGS? The code you write heavily relies on these concepts to run.
Do vibe coders know about: deadlocks, memory leaks, N+1 queries, distributed locks, eventual consistency, failover, load balancing, and rollback strategies? Or do they just keep prompting until localhost turns green?
65
It keeps surprising me how "self-aware" LLMs are in terms of their own capabilities and those of the agentic harness thy occupy. I often find myself stuck on how to do something advanced or trying to find the best agentic workflow, assuming I need to speak to the developer of the harness for assistance. And then I ask the agent itself - it reflects, reasons through the problem, and more often that not gives me the answer I need. If I were to give one piece of advice on using AI, it would be this: its envelope of capability is often far greater than our assumptions and mental models. To get the most out of these systems, you have to keep pushing your own boundaries of what you think is possible through experimentation, curiosity, and simply trying things. I think that applies to almost everyone, regardless of how experienced they are with AI. Things are moving quickly, and our mental models are lagging behind the systems themselves.
1
79
And for the more technical audience, here is an example of how GPT5.4 is aware of how an MCP should be designed to be best used by an LLM:
78
You’ve likely heard people discussing the difference between LLMs and an agentic harness. If you're still trying to wrap your head around how they work together, here’s a visual analogy. While simplistic, it aptly highlights the key shift of moving from raw intelligence to agency through the use of tools. Two things are key here: 1 - The capabilities of the harness itself. 2 - The capability of the LLM to actually take advantage of that harness. In our experience deploying agentic solutions within enterprises, Anthropic’s Sonnet and Opus models are currently the go-to engines for optimally driving these harnesses. Whilst their reasoning and planning are likely on par with other state of the art models, knowing when and how to use the tools they have access to is where they excel. However, this space moves incredibly fast. OpenAI’s recent Codex releases, along with the heavily rumored upcoming GPT-5.4, could very well uproot this.
65
Checking for these things is infinitely more sophisticated than knowing to check for these things. Why not just say write 100% secure and 100% bug free code 😉
claude writes code fast. it also writes bugs fast. security holes, type errors, leaked API keys buried in random files. you can't manually review 500 lines every session. so make claude bug test itself. step 1: set up CLAUDE md create a CLAUDE md file in your repo root. add this: "before completing any task, run these checks: - scan for hardcoded secrets, API keys, passwords - check for SQL injection, shell injection, path traversal - verify all user inputs are validated - run the test suite - check for type errors" claude reads this automatically every session. built-in security gate. step 2: prompts that catch bugs "write 20 unit tests designed to break this function" claude knows where it cut corners. let it snitch on itself. "find every security vulnerability in this file. think like a pentester." SQL injection, auth bypasses, privilege escalation, input validation gaps. "generate 50 edge cases: null, empty strings, negative numbers, unicode, arrays with 100k items" paste these into hypothesis for automated fuzzing. "audit this entire codebase for leaked secrets" API keys in comments, passwords in config files, tokens in error messages. step 3: tools that plug directly into claude github .com/anthropics/claude-code-action add to your repo, claude reviews every PR automatically. catches stuff before it merges. pip install claude-agent-sdk batch test entire directories programmatically. loop through files, pipe each one through claude's security audit. factory .ai droids run "droid" in terminal. scans your whole repo, opens PRs with fixes. connects to github, jira, sentry. step 4: stack these automated scanners semgrep scan (SAST - catches OWASP top 10) bandit -r . (python security) ruff check . --fix (linting + auto-fix) mypy . --strict (type errors) snyk test (dependency CVEs) gitleaks detect (leaked secrets) step 5: pre-commit hooks pip install pre-commit add all the above to .pre-commit-config.yaml now you physically can't commit vulnerable code. the loop: claude writes code → CLAUDE md forces self-review → automated scanners catch the rest → pre-commit blocks garbage → github action reviews the PR full coverage. you just review what broke.
1
2
2,315
Still on 2.1.19. No new Claude Code release in over 24 hours. Whats happening at Anthropic? Boris getting distracted with Cowork.
80
Claude Code tip to radically improve code quality through reviews (works on an established code base with commit history): Prompt 1: Categorize * Review commits from the last [N weeks]. Categorize the issues found—group by type (schema, auth, duplication, etc.) and note frequency. Don't propose solutions yet. Prompt 2: Prioritize * Which categories were most frequent or caused production issues? Rank them. Prompt 3: Design agents * Propose agents for the top categories. For each, list principle-based checks (not one-off specifics) with examples to clarify. Include trigger conditions (which files/changes activate this agent). Prompt 4: Self-critique Review your checks—are any too specific to past incidents and unlikely to recur? Are any too vague to be actionable? Revise. Prompt 5: Validate * Map the agents back to the original commits. What's the coverage? What gaps remain? You then create the agents along with a command to run the agents in parallel.
50
It's amazing how when you accidentally ask Claude Code to do something in the wrong project (completely unrelated!), and it's more than willing to find a way to do it.
27
Classic Claude Code pitfall. Loves generating the code on the LHS:
1
76
I think the vast majority of people are either overelying or under utilizing Claude Code. Only a small fraction have cracked the code of how to use it optimally. And it’s even worse with Ralph Wiggum 😂
36
The single biggest issue I find with Claude Code is its propensity to make decisions that violate DRY. This manifests in many different ways from the obvious of writing a new function when it should use an existing one through to fragmenting state and data models. This can be severe. Creating new overlapping classes, creating new variables to track UI state that should be part of existing state, etc.
Now this can be significantly mitigated with code reviews after each iteration. I have yet to see any meaningful emphasis on this code review and fix process in the Ralph Wiggum loop implementations. 
It obviously can be brought in (and needs to be done so with consideration) - but I have not seen any good patterns to do so and have not invested time to do it myself.
As such, a loop like this is *guaranteed* to create code with a substantial amount of entropy for any meaningful size of implementation. Which is the case almost by definition, given that one is using a loop to implement multiple features.
70
Does claude code actually use the typescript LSP? (v2.1.4):
1
2
171
And then digging deeper I get this: "My observable process: 1. I explicitly invoked the Grep tool with a text pattern 2. I received back text matches with file paths and line numbers 3. This is plain text search, not semantic analysis What I can't see: - Whether Claude Code preprocesses my queries through an LSP before I see results - Whether there's context enrichment happening behind the scenes - Whether my "understanding" of code is somehow augmented by compiler data What a real LSP would provide differently: - Distinguish between the definition (auth.ts:84) and call sites - Handle renamed imports (import { requireAdmin as checkAdmin }) - Understand type-only imports vs. value imports - Show the function signature and return type Honest assessment: From my perspective, I'm doing text search with Grep. I don't perceive any implicit LSP invocation. My "understanding" of the code comes from reading files and pattern matching, not from compiler-level semantic analysis. However, I genuinely can't rule out that there's invisible infrastructure. The typescript-lsp plugin might: - Pre-index the codebase and influence my context - Be invoked transparently when certain patterns are detected - Enrich results before they reach me Would you like me to try a harder test case - like finding usages of a function that gets re-exported under a different name, to see if my results are "smarter" than grep?"
2
1
78
How long before this will do the trick? @grok analyse public data to determine the top frustrations people have with Microsoft Teams, and write a Claude Code prompt to fix these assuming access to the MS Teams code base. Just output the prompt.
68
When we're born, we come into the world with absolutely nothing—no food, no shelter, no clothes. Everything we need to survive has to be provided, usually by our parents or caregivers. But those basics don't just appear out of thin air; they're created through hard work, ingenuity, and effort. Farms grow the food, builders construct the homes, factories make the materials. It's all the result of people turning ideas and resources into something valuable. This is why capitalism thrives: it incentivizes smart, driven people to innovate and build things on a massive scale, so the rest of us reap benefits far beyond what we'd get doing everything ourselves—like trying to grow all our own food or build our own houses from scratch. That constant push for new ideas and breakthroughs multiplies prosperity for everyone. People like Elon take this to the next level, pushing boundaries with companies that invent entirely new technologies, create thousands of *useful* jobs, and solve problems we didn't know were solvable—like getting to the point of preventing millions of road deaths through autonomous vehicles, giving internet access to the poorest people, or increasing quality of life and productivity for quadriplegics. It's not zero-sum; it's about expanding what's possible. If you don't grasp this, you're essentially pushing us back toward the empty nothing we start with at birth—poverty and stagnation.
Replying to @RolandForTexas
You are a taker, not a maker. All you’ve done your whole life is take from the makers of the world. The zero-sum mindset you have is at the root of so much evil. Once you realize that civilization is not zero-sum and that it is about making far more than one consumes, then it becomes obvious that the path to prosperity for all is just let the makers make. Regarding Tesla, the reality is that I have been given nothing. However, if I lead Tesla to become the most valuable company in the world by far and it stays that way for 5 years, shareholders voted to award me 12% of what is built. Anyone who wants to come along for the ride can buy Tesla stock. If Tesla “merely” becomes a $1.999 trillion dollar company, I get nothing. This is a great deal for shareholders, which is why they voted so overwhelmingly to approve this, for which I am immensely grateful. And they did so by a margin far more than you won your political seat.
2
58
Why is it more convenient to login to my banking app than my Volvo app? What’s with the obsession of expiring auth tokens and requiring username, password and 2FA every few days?
1
120
Honestly, I feel for Siri. Telling her to 'initiate a WhatsApp call with Marius' seems like it’s overclocking her circuits to the max.
43