Alessio Franceschelli (@AleFranz) header
Alessio Franceschelli (@AleFranz) profile picture

Principal Software Engineer ¦ .NET lover

London, UK
Joined March 2009
Photo by Alessio Franceschelli (@AleFranz)Photo by Alessio Franceschelli (@AleFranz)Photo by Alessio Franceschelli (@AleFranz)Photo by Alessio Franceschelli (@AleFranz)Photo by Alessio Franceschelli (@AleFranz)Photo by Alessio Franceschelli (@AleFranz)Photo by Alessio Franceschelli (@AleFranz)Photo by Alessio Franceschelli (@AleFranz)Photo by Alessio Franceschelli (@AleFranz)Photo by Alessio Franceschelli (@AleFranz)
You drop an AI agent into your real codebase and it produces garbage. Wrong style, subtle bugs, side effects everywhere. The problem isn't the model. Your codebase isn't ready for AI. Think of it like handing off a biathlon relay with no map of the course 🥇🧵👇
1
90
1/ With .NET 8 and 9 reaching end of support, I thought it was a good opportunity for a new major release of MELT (my test helper library for Microsoft​.Extensions​.Logging). Probably not many of you write tests for your logs, but if you do, MELT 2.0.0 is out 🧵👇
2
27
2/ This release is mainly a modernisation pass: moving the baseline to .NET 10 and finally dropping the legacy obsolete APIs from the inception of the project in favour of the main APIs, which ended up being used by way more people than I expected when I first released it.
1
11
Replying to @dhh
@dhh How can we move this forward? It’s a big blocker for Windows dual booting. BitLocker is partition level, so installing Omarchy alongside it is safe, just a warning to have the recovery key handy or suspend BitLocker during setup would suffice: github.com/omacom/omarchy-is…
68
Running AI coding tools on Windows can feel like playing on hard mode, especially when your PC is also your gaming rig 🎮 OpenCode 2 works well out of the box, but three quick settings make it run much cleaner. 🧵👇
1
21
In-app updates failing? Installing with --allow-scripts works once, but the built-in /update command runs npm without that flag. Save the permission to your user config instead: npm config set allow-scripts=@​opencode/cli --location=user Now /update can run the install scripts
1
16
If you followed my guide for using the Windows ssh-agent in WSL, there’s a small improvement worth making. Add unlink-early to the socat command so a stale socket does not stop the bridge restarting after WSL shuts down. Updated guide here: alessio.franceschelli.me/pos…
20
AI works best where it can test itself. Software can do thousands of automatic loops: make a mistake, run tests, fix it, repeat. In work that needs an expert to review every attempt, where does the big saving actually come from?
1
33
A wizard is never late. Nor is he early. Unlike my read replica, which is currently behind.
26
A few days ago I published Burla. This follow-up is about the part I care more about: the design bets behind it. Toy examples are where mocking libraries look tidy. Real migrations are where they tell the truth. Thread below. 🧵👇
1
27
The painful question is rarely "how do I mock this method?" It is usually "how do I move a real test suite without turning the diff into archaeology?" Async-heavy tests, `ref` / `out`, verification rituals, loose defaults, and inconsistent APIs are where the cost shows up.
1
14
I finally published Burla, a .NET mocking library I have been rewriting for months while pressure-testing models, local setups, and agentic coding workflows. I needed a real project, not one more opinion about AI. Built with LLMs in the loop, for the LLM era. Thread below. 🧵👇
1
40
Burla started as a way to test my own assumptions about AI-assisted development on a real piece of engineering work. Not a toy demo. Not a landing page. A normal library solving a normal problem, with real design trade-offs and lots of rewrites.
1
24
If you're still defaulting to Claude Opus in GitHub Copilot, you're probably paying a hype tax. 🧵👇 Opus 4.6 = 3x requests. Opus 4.7 = 7.5x. GPT-5.4 = 1x, even with xhigh reasoning in VS Code. I do not see a quality gap remotely close to that.
1
193
Opus is more autonomous. That can look smart, but in a structured coding workflow it can also send the agent off-track. I would rather plan properly, define constraints, then use GPT-5.4 to follow the brief tightly.
1
33
The GitHub Copilot trick nobody talks about: use the ask tool to stop wasting premium requests. 🧵👇 I keep seeing engineers burn 100s of requests an hour and wonder why the tool feels expensive. The real problem? Using premium turns like free chat messages.
1
65
The trick: tell the agent to use the ask tool, show the plan, ask if you're happy, and keep iterating until you say yes. One premium request → a proper working session with clarifying questions, plan refinement, and explicit sign-off.
1
34
Want to access your Windows ssh-agent keys in WSL but hate how it breaks automatic shutdown? I finally got tired of WSL draining my battery in the background and found a fix. 🧵👇
1
29
The usual fix is a background daemon that bridges the socket. The problem? That daemon keeps WSL awake forever, eating up your RAM and battery even when you close the terminal.
1
19
🧵👇 Your AGENTS​.md (or CLAUDE​.md) is probably full of vibes. Two kinds: motivational philosophy ("Demand elegance", "No laziness") and personal workflow habits ("Always use plan mode", "Track progress in todo​.md"). Neither tells the AI anything about YOUR project.
1
23
AI has no ego to motivate and no workflow to orchestrate. It has a context window. Every generic line displaces a concrete instruction. "Demand elegance" = vibes. "Never call Stripe directly; use the billing wrapper in src/billing/client​.ts" = an actual instruction.
1
7
🧵👇 Love the Claude Code CLI but frustrated by it freezing and hanging inside WSL? You're not alone. I almost gave up on it, but I found an incredibly simple fix to make it snappy again.
2
1
73
The problem: In WSL, Claude Code would hang for seconds at startup, stutter while typing, and freeze before every slash command. Borderline unusable.
1
28
🧵 How do you handle config that changes at runtime in ASP​​.NET Core middleware? Parsing a string into a list? Building a lookup table? I dug through the official middleware source code to find the best pattern. Here's what the framework team actually does 👇
1
10
❌ Don't process on every request (wasteful) ❌ Don't use locks (contention on the hot path for something that rarely changes) ❌ Don't use volatile for multiple fields (torn reads) ✅ Use the immutable snapshot pattern: build a new object in OnChange, swap the reference.
1
3
🤖 Tempted to run a local coding model on your gaming rig? Don't. I spent a full weekend setting up Qwen3-Coder-Next and GLM-4.7 on my RTX 5090 (32GB VRAM) so you don't have to. Here's what happened. #LocalLLM #AI 🧵👇
1
1
1
113
Qwen3-Coder-Next needs 2-bit quantisation to fit on a 32GB GPU. It runs at ~50 tokens/s in VRAM but drops to <5 tokens/s when it spills to system RAM. And with only 8k context, it can't even hold a decent coding session. 🐢
1
88
GitHub Copilot’s model dropdown is starting to look like a wine list 🍷🤯 My rule of thumb: Start cheap to iterate fast. Pay for certainty when the blast radius is big. Credits are only half the story. Latency is a hidden tax: slow loops = sloppy thinking. 🧵👇
1
42
💡 Free: Fast iterations & checklists ⚡ Standard: Ship daily & build 🧠 Premium: Messy refactors But models aren't enough. You need guardrails: ask for tests first, run them, and make GitHub Copilot do an internal review.
1
28
I was today years old when I discovered .NET Aspire isn’t actually opensource. Love that for us. #dotnet #aspire #OpenSource
1
91
since the @Windows 25H2 update all apps fail to update on the Microsoft Store, including the Xbox app and games. Am I the only one? #Windows11 #Xbox
1
2
364
"but I am using xUnit.v3" is no longer an excuse to skip writing tests for your logs: MELT now ships with Melt.Xunit.v3, which provides `LoggingAssert.Contains(...)` helpers fully compatible with xUnit.v3.
1
39
The updated README is here: github.com/alefranz/MELT/tre… Or check out some sample logging tests written with xUnit.v3: github.com/alefranz/MELT/tre…
33