Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
ilbert
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
3 ms
·
1.
▲
by
ilbert
10d ago
Nice suggestion! I've been working on https://github.com/ilbertt/nibrunner now to give people an easy and fast way to turn theri VPS into a microVM host
2.
▲
by
ilbert
18d ago
I build a lot of small apps, and often times most of the effort goes into the infra rather than the app. I typically only need a machine and a disk where to run the compiled binary, but I can't find it on any of the existing cloud solu
3.
▲
Ask HN: Framework to Manage Firecracker?
2 points
by
ilbert
22d ago
|
1 comments
4.
▲
Small apps don't need to scale. They need a VM and a disk
(nibrun.com)
7 points
by
ilbert
1mo ago
|
0 comments
5.
▲
by
ilbert
2mo ago
Actually, after reading more carefully, it seems that custom notifications won't be supported anymore in favor of the `subscriptions/listen` RPC endpoint. Maybe the upcoming extensions will make it possible?
6.
▲
by
ilbert
2mo ago
Thanks for sharing this SEP. Yeah some system notifications will go away, but servers will still be able to send custom notifications. Those can be turned into push notification on the device of the user or even actions that the user's
7.
▲
Ask HN: Is anyone using MCP notifications?
3 points
by
ilbert
2mo ago
|
4 comments
8.
▲
by
ilbert
3mo ago
Really cool, same concept as Pocketbase. Starred!
9.
▲
Ask HN: Why aren't we collaborating on the prompts we give to our AI agents?
1 points
by
ilbert
3mo ago
|
0 comments
10.
▲
by
ilbert
3mo ago
Software like this make me questioning a lot the defensibility of products such as Wispr Flow. A friend of mine created something similar with just a few prompts, allo working locally, and he's stopped using Wispr Flow
11.
▲
by
ilbert
3mo ago
That's actually the library that inspired me the most for building bun-sqlgen
12.
▲
by
ilbert
3mo ago
sql<type>`query` is the reason why I started bun-sqlgen, to not have to write types manually
13.
▲
by
ilbert
3mo ago
I've updated the READMEs by the way
14.
▲
by
ilbert
3mo ago
Really cool! I see you don't discover the SQL in the code right?
15.
▲
by
ilbert
3mo ago
Kysely is really cool, but I don't like that you are not writing SQL directly
16.
▲
by
ilbert
3mo ago
No real reason, I was working with Bun's SQL module for a project and felt the need for such codegen. I'm thinking of generalizing it to Node.js
17.
▲
by
ilbert
3mo ago
Yeah, I'm still iterating on the docs
18.
▲
by
ilbert
3mo ago
I actually took a lot of inspiration from sqlx, which is really nice. The main differences are: - in JS/TS you don't have compile-time scripts that you can run like with Rust's macros, so you need to run a codegen command bef
19.
▲
by
ilbert
3mo ago
I was targeting Bun because I really like its built-in SQL module. I can tweak the TS parser to look for e.g. postgres.js tagged template functions and make it work for that as well. I don't really see any blockers
20.
▲
by
ilbert
3mo ago
The cli config supports specifying the PGLite extensions (the codegen uses PGLite as an in-memory light postgres), see this example: https://github.com/ilbertt/bun-sqlgen/tree/main/examples/wit... .
21.
▲
by
ilbert
3mo ago
I think with some tweaks to the TS parser that goes and looks for the sql statements it's doable. How are you solving the problem right now?
22.
▲
by
ilbert
3mo ago
I write Bun.sql with raw SQL and no ORM, and the one thing I kept missing was types. You write a query, get back `any[]`, and hand-write a row type that silently drifts from the actual columns. Drizzle/Kysely fix this by moving the que
23.
▲
Show HN: Bun-sqlgen – Type-safe raw SQL for Bun, no ORM
(github.com)
55 points
by
ilbert
3mo ago
|
42 comments
24.
▲
by
ilbert
5mo ago
In the last couple of companies I've worked in, I've felt both overwhelmed by PRs to review and disappointed by my teammates that were just rubber-stamping my PRs
25.
▲
by
ilbert
5mo ago
That's a good framework and I like that the creator took the same design choices as the FastAPI framework. Although I think a type-safe language is a better fit for CLIs, to let coding agents iterate faster and have less runtime bugs (
26.
▲
by
ilbert
5mo ago
I've noticed that the TypeScript ecosystem around CLIs is fragmented, and for that reason (and because I love type-safe code), I've built parsh. It's extensible by design, and you can test single commands atomically. I think
27.
▲
by
ilbert
5mo ago
Great idea! Are you also considering fine-tuning models as a "side-effect"? Basically, you collect traces of the agent's mistakes from your proxy, and you fine-tune a smaller model that you can offer specifically for that age
28.
▲
by
ilbert
5mo ago
Really cool! Just as feedback, the 3D worldview seems to have low quality on my browser
29.
▲
Ask HN: Keeping TypeScript CLI options and types in sync
4 points
by
ilbert
5mo ago
|
0 comments
30.
▲
by
ilbert
5mo ago
It produces an arithmetic program but with wrong operands. The frozen LLM's hidden states for "two" and "2" are nearly orthogonal (cosine sim 0.09) in this context, so the head can't extract the right numbers.
More ›