HNHacker News
TopNewBestAskShowJobs

markusw

527 karma · joined August 18, 2020

Independent software consultant for cloud-native Go apps & AI engineering. Also electronic musician, street photographer, glitter enthusiast, and minimalist.

Find me at markus@maragu.dk

submissionscomments
markusw··on Alternatives to MinIO for single-node local S3
This is what I switched to as well, works nicely. Can have just a folder as a backend as well, which makes things pretty simple.
markusw··on Go 1.27
Yeah, I would have gone with uuid.V4 or something. But oh well, as long as it works. :D
markusw··on Delta
I really liked Zed for a couple of months, when AI tab code completion was the frontier. But now I don’t hand-edit files anymore, so Zed is mostly a fast file reader for me.

I understand why a team focused on an editor would do this, because they have to figure out where to fit into this new world. I guess I’m mostly looking for a product now that lets me review large amounts of code easily, add comments, and interact with many agents working on the same codebase in worktrees (or similar) at once. I’m unsure whether this would be something like that?

markusw··on Agent Skill to Force Docs in ASD-STE100 Simplified Technical English
Uh, nice! I hadn't heard about that spec before. I'll give the skill a try.
markusw··on Lombardy increases charges for the construction of data centres in green areas
Please at least pretend to read the article before posting something like that.
markusw··on Show HN: GoModel – an open-source AI gateway in Go
I like to think it’s a gopher. :D
markusw··on Website streamed live directly from a model
This is so good and so fun! :D
markusw··on Show HN: GoModel – an open-source AI gateway in Go
Hi, I'm the author of GAI. I'm glad that you are happy with it! I'm using it a lot myself, both for own and client projects, but I wasn't sure if anyone else was. :D

I'm actually trying to build it out in a way so that gateways aren't necessarily necessary. Cost and token tracking happen through OpenTelemetry. Fallbacks and retries are handled through the new “robust” package, and I have other plans as well. You're always welcome to file issues in the repo for things you'd like to see but aren't there yet. :-)

markusw··on Show HN: Showboat and Rodney, so agents can demo what they've built
Oooh, I didn't know that.
markusw··on Show HN: Showboat and Rodney, so agents can demo what they've built
I think you had a post about marimo notebooks at some point? I think they would be better suited for that. Their representation is just Python, they can run as scripts, and they have native HTML output. But of course, it only works for Python.
markusw··on Show HN: Showboat and Rodney, so agents can demo what they've built
That's actually one of the things that has kept me from using Claude Code web (that, and I often need a Chrome browser for the agent). But they must be working on it.

I saw an MCP I've set up on claude.ai show up in my local Claude Code MCP list the other day, it seems inevitable that there will be skills integration across environments as well at some point.

markusw··on Show HN: Showboat and Rodney, so agents can demo what they've built
I guess it would still make sense to have "demo" and "browser-use" skills, so that the agent can reach for them proactively? I always try to remove as much friction as possible for myself, one little bit at a time.
markusw··on Show HN: Showboat and Rodney, so agents can demo what they've built
Oh, I hadn't seen that one either, thanks for sharing. Here I am still using the Chrome Devtools MCP like a caveman. :D
markusw··on Show HN: Showboat and Rodney, so agents can demo what they've built
If you're coming from the Python world, definitely. I find `go install github.com/simonw/rodney@latest` equally easy. :D Although you need the Go tooling installed, of course. But so much agree, Go is great for CLIs!
markusw··on Claude Skills are awesome, maybe a bigger deal than MCP
I’d rather say you can use skills to do RAG by supplying the right tools in the skill (“here’s how you query our database”).

Calling the skill system itself RAG is a bit of a stretch IMO, unless you end up with so many skills that their summaries can’t fit in the context and you have to search through them instead. ;)

markusw··on Datastar: Lightweight hypermedia framework for building interactive web apps
What I've done in a project once is use Purchasing Power Parity: basically, there's an index for purchasing power, and you adjust your pricing based on that. It's implemented in some major payment platforms, like Gumroad: https://gumroad.com/help/article/327-purchasing-power-parity
markusw··on Datastar: Lightweight hypermedia framework for building interactive web apps
Thank you for sharing the youtube links in particular! It's nice to get some background info and intent for interesting libraries.
markusw··on Datastar: Lightweight hypermedia framework for building interactive web apps
For Go, something like gomponents [0] or Templ [1] would fit that. (Disclaimer: I wrote gomponents.) I even have a Datastar integration now. [2]

[0]: https://www.gomponents.com

[1]: https://templ.guide

[2]: https://www.maragu.dev/gomponents-datastar

markusw··on Datastar: Lightweight hypermedia framework for building interactive web apps
It's a frontend framework and a backend SDK in multiple languages, for SSE and more.
markusw··on What if we treated Postgres like SQLite?
Agreed about the Postgres export!

For sqlite, I would recommend "sqlite3 app.db '.backup backup.db'" though, if that's an option. Guaranteed consistent!

markusw··on What if we treated Postgres like SQLite?
No worries. :-) Thank you for your follow-up, kind stranger on the internet.
markusw··on What if we treated Postgres like SQLite?
Sure, you are correct! But I've already learned about pglite and sqlite-vector from the comments here alone. So if one reads the article AND the comments, I hope it's a net-positive for you, too, even if the article alone didn't give you anything.

And if not, I hope you didn't spend too long reading. :-)

markusw··on What if we treated Postgres like SQLite?
Yeah, totally agreed. An embedded Postgres would be sweet (see pglite elsewhere here in the comments, looks interesting).
markusw··on What if we treated Postgres like SQLite?
I am so tempted to benchmark some more… :D Would be great to get some numbers on this, super interesting.
markusw··on What if we treated Postgres like SQLite?
Note: The last paragraph was about in production, not tests. :-)
markusw··on What if we treated Postgres like SQLite?
Uuuuh, that looks super interesting! I hadn't heard of that. Thank you for sharing!
markusw··on What if we treated Postgres like SQLite?
Yeah, basically the same here, except it's Caddy in front instead of Traefik.

So you do periodic backups, not incremental on every write or something (read replica-like)?

It's important to me to not lose any data once committed if at all possible.

(For testing, I've sped everything up by running migrations on `template1` and every test gets a random database name. Works wonders.)

markusw··on What if we treated Postgres like SQLite?
Ah, I thought I recognized your username from a Github URL. :D Thank you for your contributions in the SQLite & Go space!
markusw··on What if we treated Postgres like SQLite?
I had no idea that was possible. I'll keep that in mind if I need a similar workflow. DuckDB is awesome. :D
markusw··on What if we treated Postgres like SQLite?
Oh, interesting! But that's more of a desktop application now, right? I was thinking of web servers when writing the article, but I can see how that's not totally clear. :-)
Page 1 of 6Next →