HackerTrans
TopNewTrendsCommentsPastAskShowJobs

markusw

no profile record

Submissions

Headless Everything for Personal AI

interconnected.org
20 points·by markusw·3 maanden geleden·4 comments

The Road Runner Economy

nraford7.github.io
2 points·by markusw·4 maanden geleden·0 comments

What if we treated Postgres like SQLite?

maragu.dev
75 points·by markusw·10 maanden geleden·81 comments

comments

markusw
·vorige maand·discuss
Please at least pretend to read the article before posting something like that.
markusw
·vorige maand·discuss
[flagged]
markusw
·3 maanden geleden·discuss
I like to think it’s a gopher. :D
markusw
·3 maanden geleden·discuss
This is so good and so fun! :D
markusw
·3 maanden geleden·discuss
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
·5 maanden geleden·discuss
Oooh, I didn't know that.
markusw
·5 maanden geleden·discuss
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
·5 maanden geleden·discuss
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
·5 maanden geleden·discuss
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
·5 maanden geleden·discuss
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
·5 maanden geleden·discuss
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
·9 maanden geleden·discuss
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
·9 maanden geleden·discuss
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
·9 maanden geleden·discuss
Thank you for sharing the youtube links in particular! It's nice to get some background info and intent for interesting libraries.
markusw
·9 maanden geleden·discuss
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
·9 maanden geleden·discuss
It's a frontend framework and a backend SDK in multiple languages, for SSE and more.
markusw
·10 maanden geleden·discuss
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
·10 maanden geleden·discuss
No worries. :-) Thank you for your follow-up, kind stranger on the internet.
markusw
·10 maanden geleden·discuss
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
·10 maanden geleden·discuss
Yeah, totally agreed. An embedded Postgres would be sweet (see pglite elsewhere here in the comments, looks interesting).