Daniel Cazzulino

Daniel Cazzulino

@cazzulino.com

Christian, husband, parent, creator of Moq and other developer tools and libraries. aka 'kzu' (like 'kah-zu' rather than 'kzoo' :))

252 followers370 following181 posts

Neither Opus 4.6 nor GPT-5.4 were remotely close to the surgical change required to fix this issue. Both resulted in bloated implementations that grew the API surface unnecessarily. I guess I still have a job, hehe: Ensure we preserve EndUser client option in chat/image github.com/devlooped/xA...

github.comEnsure we preserve EndUser client option across chat/image by kzu · Pull Request #97 · devlooped/xAIWe were previously only preserving it depending on which API was called to get the MS.E.AI interface. Now we're 100% consistent whether you do grokClient.GetChatClient().AsIChatClient() or dire...

Bitcent: The 10⁻¹⁰ Dollar Unit for AI Pricing xAI APIs use a "curious" unit for pricing. Let's look at why this unit ($10^{-10}$) makes sense for the AI era and why we should call it the "bitcent".

cazzulino.comBitcent: The 10⁻¹⁰ Dollar Unit for AI PricingI’ve been playing with the xAI API recently, and noticed something interesting about their pricing model. The API returns usage costs as integers, but the numbers didn’t immediately make sense. For…

git stash save + fetch + rebase + stash pop (with conflict detection) in a one-liner. The way interactive Fetch&Rebase in TortoiseGit spoiled me to expect, now powered by @dotnet #dnx: > dnx runfile kzu/run@main:rebase.cs --alias rebase You can now run w/branch even: > dnx runfile rebase main

So more @grokipedia fun: C# history. It added useful info missing on @wikipedia (Ximian then Xamarin entirely absent, white image), until I hit that "C# 13 is latest" (vs C# 14 original). Then I looked at the edits and my mind was fully blown. It wins hands down on accuracy!

I really really really don't like long strings embedded in my C# code. In agentic AI development (with the new Microsoft Agent Framework), this is even worse since agent instructions/descriptions can be lengthy, and it makes absolutely no sense to build/reload an app just to tweak them

I built a while ago a config-driven agent thinghy but now that #Microsoft is finally out with a proper solution, I migrated my stuff on top and it works like a charm. Devlooped.Agents.AI (for now) provides configuration-driven auto-reloading agents with one AddAgents() call to your host builder.

Please @VisualStudio when applying an edit from Copilot, don't re-write (without changes) the sections of the code that don't change. The visual effect (for me) is that I am forced to do the scan for changes as it goes along, and it seems that it could slow down the edit unnecessarily

If I was @Microsoft and owned @GitHub, there's no way I would let this be the status quo of #Windows performance. It's a DISGRACE and makes the whole company look laughable. How can Microsoft's own product be the WORST in his own dev/CI platform?!?!

I'd like @dotnet dnx to be the bootstrapper to the whole .NET ecosystem. dnx dotnet@10.x [args] dnx dotnet@8.0.x [args] should install .NET 10 and 8.0.x (if not previously installed), and run `dotnet` with that SDK version selected. This would allow you to run an app.cs with 10+ to test SxS

There’s no place for political violence in civil society. That's an easy one to agree on. Incitement of violence is also typically a punishable crime in most civil societies. But since what constitutes incitement is less clear, I think it's also easy to agree on courts determining that.