
Chief Software Architect at @Logos; creator of https://teapawt.net/t.co/YaCAnEAZnm
Bellingham WA, USA
Joined March 2008
- Tweets2.5K
- Following554
- Followers592
- Likes977
A single .md file with tips & tricks for high-performance .NET/C# code, mostly meant for AI, and mostly aimed at benchmarks against the crustaceans 🙃 github.com/EgorBo/BlazingFas… (no unsafe!)
Contributions welcome if anything's missing, cc @axeng200 @ben_a_adams
Bradley Grainger retweeted
I'm burning premium requests like there's no tomorrow until June 1st 😎
Starting June 1st, GitHub Copilot will move to a usage-based billing model as GitHub Copilot supports more agentic and advanced workflows.
In early May, you'll see a preview bill experience, giving visibility into projected costs before the transition.
👉 Read more about the upcoming change: github.blog/news-insights/co…
Bradley Grainger retweeted
Expanding on this a little bit: I don’t want the AI to call me by my name, I don’t want to give it a silly name that it doesn’t care about anyway, I turn off “memory” because I don’t want it to remember things between sessions (it just wastes context and I have no need for it to know what I asked it last week), I prompt the things not to give me fluffy answers or schoolboy essay introductions and conclusions, and one of the results of all of this is that the things just turn out good research for me and write excellent code and don’t waste my time.
I have human friends for companionship. I want the AI to help me with complicated, challenging work. It seems, though, like there are a ton of people out there who really like having parasocial relationships with AI.
Bradley Grainger retweeted
I hadn't thought about this before: unlike regular APIs, MCPs don't need to make any stability promises
"MCP servers are called my LLMs which dynamically read the spec every time, which allow us to constantly change the MCP server. It doesn't matter! We haven't made any promises"
MCP is mostly nonsense, but there are good effects:
1. Tricks management to green-light engineering efforts on APIs and OAuth DCR (Dynamic Client Registration)
2. Tricks LLM clients to integrate with everyone, ie an open-ecosystem, not walled gardens
3. (Just discovered this one today) The fact that MCP is a difference surface from your normal API allows you to ship MUCH faster to MCP. This has been unlocked by inference at runtime
Normal APIs are promises to developers, because developer commit code that relies on those APIs, and then walk away. If you break the API, you break the promise, and you break that code. This means a developer gets woken up at 2am to fix the code
But MCP servers are called my LLMs which dynamically read the spec every time, which allow us to constantly change the MCP server. It doesn't matter! We haven't made any promises. The LLM can figure it out afresh every time
This is why we've shipped capabilities to our MCP server that our API doesn't yet have. We aren't worried about committing ourselves to anything. We can always change the MCP server later and the LLM will figure it out
Bradley Grainger retweeted
TIL about ValueTask.Preserve() helper method that returns a value task that may be used at any point in the future.
ValueTasks are tricky and they can't be stored in a field, or awaited multiple times. Preserve "fixes" that by allocating Task<T> under the hood.
Bradley Grainger retweeted
AI Peeve of the Day: Essentially every LLM is ignorant about its own user interface. If you ask questions like “how do I add a file to the context” or what have you, the systems can't answer correctly. They don't know anything about their own web or app UIs, were never trained on that information, and cannot act as help systems for their own use. The shoemaker’s children go barefoot.
A big and fairly easy win for just about system out there, whether it's ChatGPT or Gemini or any of the others: either fine train the model on its own UI so that it can act as a help system for its own use, or provide some system that detects that the user is asking such a question and which then switches to something capable of answering correctly, say retrieving information on answers from an internal help database.
Bradley Grainger retweeted
I had never heard of Larry Sanger @lsanger until today (thought I use Wikipedia a lot!) but this account of his philosophical journey to Christianity had me gripped to the last word larrysanger.org/2025/02/how-…
Bradley Grainger retweeted
MySqlConnector 2.4.0, with support for .NET 9.0, is available! nuget.org/packages/MySqlConn…
Bradley Grainger retweeted
MySqlConnector is now the most-downloaded MySQL library for .NET! nuget.org/packages/MySqlConn…
Bradley Grainger retweeted
To celebrate .NET's 20 year anniversary, I've put up a mirror of Chris Brumme's weblog: cbrumme.dev/
Bradley Grainger retweeted
MySqlConnector just passed 1,000 ⭐ on GitHub! github.com/mysql-net/MySqlCo…
Bradley Grainger retweeted
Instructions on how to add @faithlife's RefTagger to your Minimal-Mistakes themed Jekyll website: gist.github.com/bibhistctxt/… /cc: @bgrainger @adamb_360
Bradley Grainger retweeted
MySqlConnector 1.0.0 is available! nuget.org/packages/MySqlConn…
Release notes: mysqlconnector.net/overview/…
Bradley Grainger retweeted
Chips, chips, chips. I will be taking no questions at this time.
You’re unable to view this Post because this account owner limits who can view their Posts. Learn more
Bradley Grainger retweeted
Replying to @amandaksilver
This is where QBasic was so wonderful when all that held true for me as a kid. Great docs, relatively simple syntax.
What it is today, I have no idea. I think that's sad.
I wish MSFT would ship QBasic with Windows, don't even upgrade it. Help the kids.
Bradley Grainger retweeted
Wow, super well thought out. It reminds me of some of Linus's similar (but considerably more rude) rants about why not to use json or xml in /proc.
Seriously, in the early 2k's some people thought it was "obvious" that /proc files should be xml.
Why is go.mod not a JSON, YAML, etc.. file and has its own format? I stumbled across this comment from @_rsc on Reddit where he explains the reasons for it: github.com/golang/go/issues/…























