HN user

markusw

525 karma

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

Posts19
Comments175
View on HN
interconnected.org 3mo ago

Headless Everything for Personal AI

markusw
20pts4
nraford7.github.io 4mo ago

The Road Runner Economy

markusw
2pts0
www.maragu.dev 10mo ago

What if we treated Postgres like SQLite?

markusw
75pts81
gai.maragu.dev 1y ago

Show HN: GAI, a Go-idiomatic, lightweight abstraction on top of LLMs

markusw
2pts0
www.maragu.dev 1y ago

Running LLM evals right next to your code

markusw
1pts0
www.maragu.dev 1y ago

Choose Boring Technology and LLMs

markusw
72pts91
www.gomponents.com 1y ago

Show HN: Gomponents, HTML components in pure Go

markusw
113pts41
www.maragu.dev 1y ago

Decoupling time spent from value provided as a software developer

markusw
1pts0
www.maragu.dev 1y ago

My super secret spaghetti business plan

markusw
2pts0
www.maragu.dev 1y ago

Go is my hammer, and everything is a nail

markusw
479pts798
www.gomponents.com 2y ago

Show HN: gomponents, HTML components in pure Go

markusw
15pts6
www.goqite.com 2y ago

Show HN: Goqite, a persistent message queue Go library built on SQLite

markusw
99pts69
www.goqite.com 2y ago

goqite: A persistent message queue Go library built on SQLite

markusw
1pts0
www.gomponents.com 2y ago

gomponents: Server-side HTML5 components in pure Go

markusw
1pts1
github.com 3y ago

Proposal: Alternate spelling of .go in file names

markusw
8pts0
www.golang.dk 3y ago

Benchmarking SQLite Performance in Go

markusw
3pts0
www.golang.dk 3y ago

Distributed SQLite with LiteFS in Go

markusw
8pts1
www.golang.dk 4y ago

Show HN: Build Cloud Apps in Go online course

markusw
2pts1
www.maragu.dk 5y ago

Gomponents: Declarative View Components in Go

markusw
1pts0

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. :-)

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.

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. ;)

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. :-)

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.)

The biggest one is latency. Network latency will almost always be orders of magnitude bigger than I/O latency. There's a whole class of problems that goes away when latency becomes very small.

While I really like DuckDB, I wouldn't use it for OLTP workloads.

I'm curious, when do you want to treat your Postgres like SQLite? :-) That's basically the opposite of what I was thinking of in the article.