marais (@slightlycode) header
marais (@slightlycode) profile picture

ai safety @github

Brisbane, Queensland
Joined March 2014
Photo by marais (@slightlycode)Photo by marais (@slightlycode)Photo by marais (@slightlycode)Photo by marais (@slightlycode)Photo by marais (@slightlycode)Photo by marais (@slightlycode)Photo by marais (@slightlycode)Photo by marais (@slightlycode)Photo by marais (@slightlycode)Photo by marais (@slightlycode)
29
513
32
2,506
45,794
npm's "Surprise! name is too similar" error is so fucking annoying We barely type dependency names anymore anyway. Release the hostages
1
11
768
Introducing `@lukeed/html` -- a fast HTML parser with source offsets and CSS selector support (pure JS) 🏎️ Fast It builds a full tree at about 400 MB/s, roughly 2–4x faster than other JavaScript parsers 🧠 Efficient And uses 4-20x less memory GitHub: github.com/lukeed/html
6
17
1
173
6,042
Replying to @JoviDeC
Yeah, honestly I'm loving this "personal software era" but it's come at the expense of the previous era I also really enjoyed & benefitted from. But now I can exercise all the ideas I've been sitting on for years because I was constrained by my own ability/speed of weed whacking
2
2
11
425
Astro: 14s 🐢 bongo: 2.2s 🥁 Same 10k Markdown pages, a sixth of the memory. Edits rebuild in ~250ms. Incremental builds. Introducing bongo – static sites with a good beat~! Hit it 👇 $ bun create bongo my-site Docs: bongo.build/ GitHub: github.com/lukeed/bongo
14
12
3
120
9,536
Introducing pocketty_ SSH for iPhone & iPad, made for herdr~! 🎉 🔸 Get notified when an agent on any host is blocked 🔹 Tap → you're in that exact pane 🔸 Supports Tailscale/Bonjour natively 🔹 Diffs for every agent turn 🔸 No account or subscription pocketty.app/?utm_source=x&u…
9
11
1
43
5,329
marais retweeted
After about a year, on and off, I am veeeery happy to release TWINKLEPLOP, a syntax highlighter of tremendous power! The speed of prism with the customisation of Shiki.
11
46
15
588
75,206
Mind boggling to me that I can make a thing faster and there's always people that ask "but why?" What kind of mentality is that? The pursuit of excellence does not need justification. Also, I find in so many cases, we can't know the impact of an improvement until we do it. For example, one I've talked about before: Ghostty's high IO throughput has enabled terminal program (emulator and TUI) fuzzing at a speed thats incomparably fast to prior solutions. This has resulted in upstream patches to resolve issues in popular projects like btop, tmux, and more. Speed enabled that anecdotally example that lifted the tides of adjacent communities that don't rely on Ghostty technology at all. I didn't predict this. Make things better because they can be better and let the results naturally play out.
200
735
202
8,494
795,544
marais retweeted
"we have sandboxed the agent" the agent:
139
515
152
6,211
6,791,547
Reminder: a little while after Order of the Sinking Star ships, we will be giving out the game engine (full source) for free!
110
220
36
3,712
151,385
🚨 FYI, fellow pkg maintainers: (This was news to me, at least) Bad actors are pushing "Verified" co-authored commits to further appear legitimate. They set me as the authoring user & tried to use their own GPG key to pass it off as mine. Reported: github.com/lukeed/resolve.ex…
1
5
1
17
2,928
marais retweeted
pracht just shipped a big release 🎉 Full-stack Preact where you pick the render mode per route — SPA, SSR, SSG, or ISG — in one app, deploying to Node, Cloudflare, or Vercel. What's new 🧵
4
4
15
1,898
marais retweeted
A few years ago, I released a tiny utility for object canon's in JavaScript. I recently picked it back up and, well, got a little carried away. 😅 Reintroducing `object-identity` v0.2 🎉 → 535B → zero dependencies → ~2× faster than v0.1 → the fastest canon I've benchmarked github.com/maraisr/object-id…
1
2
10
1,395
In celebration of @rolldown_rs 1.0 🎉 Announcing `comptime` — a Zig-inspired build-time evaluation primitive, exposed as Vite and Rolldown plugins This allows you run code at build time, replacing the call site(s) with the evaluated output value. github.com/lukeed/comptime
23
48
5
554
43,263
marais retweeted
We're the CMS @leerob migrated away from. He's got valid points. But we've got some context to add. sanity.io/blog/you-should-ne…
I migrated cursor​.com from a CMS to raw code and Markdown. I had estimated it would take a few weeks, but was able to finish the migration in three days with $260 in tokens and hundreds of agents. Here's how I did it + all my my usage stats. leerob.com/agents
125
83
69
1,518
521,146
Marais is one of the early supporters of tiny.supply. He is the 24th who made an order to be more exact. We also worked together on a lovely brand and a landing page for one of his projects. Just finished to tinify his entire family squad!🩶 @slightlycode
8
2
62
4,802
AI bros who think that they can outsource their thinking to an LLM. I propose to outsource your breathing to a fan. Powerful enough fan can circulate the air better than any human. And their power will only grow exponentially. 🚀
34
57
5
878
35,186
Giveaway of 2 tiny avatars! Contest sponsored by Armstrong Agency @EmmettArmstrong 🥳 To enter: • simply give a like🩶 • not mandatory to RT or comment, only if you want it 😁 We will randomly pick the winners in 48 hours. Good luck!
117
68
7
549
29,006
🚀 Just shipped: AI prompt/model management, built right into your @GitHub repo. Version prompts, test 40+ models, and run evaluations all in the same place you ship code. Here’s a (short!) demo from our launch at @Microsoft Build: youtube.com/watch?v=xJR5Dnz_… TLDR: – Version prompts like code with .prompt.yml files – Compare outputs across 40+ LLMs – Run lightweight evals (your own metrics or LLM-as-a-judge) – Review and version prompt changes via standard PRs Why does this matter? Because in the world of AI, prompts ARE the product. If you're building with AI, the quality of your prompt/model combos defines the quality of your output. GitHub is taking you into a future where AI isn’t duct-taped onto your stack, it’s baked (with love ♥️) right into your SDLC. Try it out and let us know any and all feedback! We're early-stage and can't wait to iterate based on your feedback! #MSBuild #msbuild2025 #ai
1
7
2,168