mbleigh Profile Banner
Michael Bleigh Profile
Michael Bleigh

@mbleigh

Followers
5K
Following
1K
Media
348
Statuses
11K

Building the servers for serverless @Firebase. Formerly founder @divshot. Web platform maximalist.

San Francisco, CA
Joined January 2008
Don't wanna be here? Send us removal request.
@mbleigh
Michael Bleigh
2 hours
I think a huge number of devs will eventually have an itch to build their own coding agent that works just the way they want -- similar to web frameworks, bug trackers, etc. When a piece of tech becomes so central to your work, even small differences of opinion magnify.
0
0
1
@mbleigh
Michael Bleigh
2 days
There is some nuance. If someone used AI to help brainstorm and then thoroughly edited and refined the result to clearly communicate, it's fine. But when I see hallmarks of AI in writing I immediately pay less attention and start skimming because I assume it's bloviating.
1
0
2
@mbleigh
Michael Bleigh
2 days
I'm a dev but I'm way more annoyed by AI-generated writing than code. The purpose of code is its function - if the app works or the tests pass, I'm good. The purpose of writing is communicating - I don't want to spend time reading what you didn't spend time writing.
2
1
10
@mbleigh
Michael Bleigh
3 days
Imagining a sci-fi story where a far-future alien civilization tries to reconstruct what humanity was like based only on a thumb drive containing the weights to an LLM.
2
0
4
@mbleigh
Michael Bleigh
3 days
Tiny soapbox: "SWE-bench" is frustratingly misnamed as it consists *only* of Python code, and I genuinely think the name misleads people into thinking it's a general-purpose software engineering benchmark.
2
0
1
@mbleigh
Michael Bleigh
7 days
What I would much rather see is a $10M indie movie with the creative vision of an auteur but the production quality of a $250M blockbuster. I wish creatives would get over AI hate and use it as a tool and I wish suits would stop trying to turn the world into a slop factory.
0
0
0
@mbleigh
Michael Bleigh
7 days
Using AI to enhance and scale human creativity makes sense to me, but fully autonomous media makes no sense to me. It's like saying the ultimate restaurant would be one where you can order whatever you want and a mediocre chef will microwave it from frozen ingredients.
1
0
0
@mbleigh
Michael Bleigh
9 days
When I realized that LangChain will automatically create new tables and populate data into a Postgres database without any kind of flag or request to do so, my jaw hit the floor. WTF?. It feels like a cultural problem with "how things are done" in Python that I can't get over.
0
1
1
@mbleigh
Michael Bleigh
9 days
Python has a problem with black magic -- libs hide critical details behind black box behaviors. Downloading models is the most obvious one. Models are often multi-gigabyte files and Python libs just auto-download them without so much as a Y/n prompt. Deeply unserious practice.
1
0
0
@mbleigh
Michael Bleigh
9 days
It's fascinating to me how OnTrac exists given they are materially worse at delivering packages than every other provider. Consistently late, consistently not following delivery instructions, and this has been true in multiple places I've lived.
0
0
4
@mbleigh
Michael Bleigh
10 days
Prediction: most services will largely migrate to remote HTTP MCP servers, but developer-oriented services will continue to ship stdio MCP servers for the foreseeable future. There's just too much value in having access to the local filesystem and shell.
0
0
5
@mbleigh
Michael Bleigh
10 days
Popular JS project: this has been tested on all LTS versions of Node.js, Bun, Deno, and 3 browser runtimes. It works with ESM and CJS and all popular bundlers. Popular ML project: this has worked exactly once on my machine running on a Python version released in 2022. Good luck!.
0
0
7
@mbleigh
Michael Bleigh
11 days
One practice I learned in Go that I use everywhere now is to strongly prefer "table tests" where each test case is just a struct with various inputs and expected output states. It lowers the bar to adding additional tests as corner cases arise, and it's more readable.
0
0
9
@mbleigh
Michael Bleigh
12 days
Okay at least it's not just me:
@noahmacca
Noah MacCallum
12 days
Guys I hate to rain on this parade but json prompting isn’t better. This post doesn’t even try to provide evidence that it’s better, it’s just hype. It physically pains me that this is getting so much traction. - I’ve actually done experiments on this and markdown or xml is.
0
0
1
@mbleigh
Michael Bleigh
15 days
This concludes my grumpy rant about JSON prompting. Now get off my lawn ya darn kids.
1
0
0
@mbleigh
Michael Bleigh
15 days
My suspicion is that "JSON prompting" is hacking the person prompting, not the LLM, into being more precise in defining the desired result. Nobody building those "AI apps that always work" uses a raw JSON prompt. Also AI apps that always work don't exist.
0
0
2
@mbleigh
Michael Bleigh
15 days
JSON prompting is a cargo cult. Saying "give me three five-word exercise descriptions as a JSON array" will be just as effective as a JSON prompt for same. You do need to be explicit about desired output format, number of examples, etc.
2
0
3
@mbleigh
Michael Bleigh
15 days
If you want actual advice, go to the labs that build the models and see what they say. Here's Google's:
Tweet card summary image
kaggle.com
1
0
3
@mbleigh
Michael Bleigh
15 days
This seems to be a growing "thing" in non technical circles and I just want to clarify that it has no basis in reality. A *small* JSON prompt is better than an awful prose prompt, sometimes. A *large* JSON prompt will nearly always be worse than prose.
@itsalexvacca
Alex Vacca
15 days
You know those AI apps that always work? They all use JSON prompts. Started using the same format for my AI prompts and my outputs became shockingly consistent. Here's exactly how to write JSON prompts (with code, screenshots, real examples):.
1
0
5
@mbleigh
Michael Bleigh
16 days
Saddened to report that AI is no better at figuring out how to cleanly handle this merge conflict than I am. Long-lived branches are sometimes necessary but always painful.
0
0
7