Live data from Hacker News

Viewing profile — ilbert

ilbert

HN member
Joined
Sun, Jun 21, 2020, 4:50 PM UTC
HN karma
31
Public activity
34 items

About ilbert

Always getting hands dirty on many projects: https://github.com/ilbertt

Recent public activity

  1. story
  2. comment
    Comment #48990058

    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 extens…

  3. comment
    Comment #48989688

    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…

  4. story
    Ask HN: Is anyone using MCP notifications?

    The MCP spec includes server-to-client notifications for things like list-changed events, progress, log messages, but I barely hear anyone talk about them, and I'm not sure how muc…

  5. comment
    Comment #48845207

    Really cool, same concept as Pocketbase. Starred!

  6. story
  7. story
  8. story
    Ask HN: Why aren't we collaborating on the prompts we give to our AI agents?

    Now that code is so cheap, I feel like the real work is the spec, the context, the plan (aka the prompt) you hand over to the AI agent. That's where you decide what's actually gett…

  9. comment
    Comment #48815776

    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 loca…

  10. story
  11. comment
    Comment #48673096

    That's actually the library that inspired me the most for building bun-sqlgen

  12. comment
    Comment #48666403

    sql `query` is the reason why I started bun-sqlgen, to not have to write types manually

  13. comment
    Comment #48666393

    I've updated the READMEs by the way

  14. comment
    Comment #48661614

    Really cool! I see you don't discover the SQL in the code right?

  15. comment
    Comment #48657182

    Kysely is really cool, but I don't like that you are not writing SQL directly

  16. comment
    Comment #48657119

    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. comment
    Comment #48648107

    Yeah, I'm still iterating on the docs

  18. comment
    Comment #48646848

    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 mac…

  19. comment
    Comment #48646249

    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 wel…

  20. comment
    Comment #48645947

    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…

  21. comment
    Comment #48645865

    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. comment
    Comment #48645393

    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 ac…

  23. story
  24. comment
    Comment #48038152

    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. comment
    Comment #47961444

    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 co…