Live data from Hacker News

Viewing profile — steinroe

steinroe

HN member
Joined
Sat, Jun 27, 2020, 9:43 PM UTC
HN karma
181
Public activity
33 items

About steinroe

No profile information was provided.

Recent public activity

  1. comment
    Comment #48715499

    afaik, you should be able to use named session to achieve this: https://herdr.dev/docs/persistence-remote/

  2. comment
    Comment #48425719

    i wanted to build a formatter for my postgres language server but always knew i would never have the time for it. when claude code first came out, i gave it a shot, but it was too …

  3. comment
    Comment #43519317

    I do not have experience with monaco, but you should be able to run the language server remotely and connect to it from the editor via the usual language server protocol. we curren…

  4. comment
    Comment #43519306

    we write about this in the blog post, but the tldr is that the Postgres syntax is ever-evolving and very verbose. its almost impossible to properly parse Postgres code in a sustain…

  5. comment
    Comment #43519277

    its still in the cards! it will be more like a pretty printer instead of a formatter though. Meaning we will prettify valid code only. but its a bigger effort, and we want to focus…

  6. comment
    Comment #43519265

    I did some research on it and afaik, all these tools run their language services as typescript plugins within the tsserver itself. this means they do not communicate to their own l…

  7. comment
    Comment #43519248

    I learned rust by doing this project. didn't have much prior systems programming experience too. usually, I learn best by just trying things until they work, but building a languag…

  8. comment
    Comment #43515431

    that is really awesome! declarative schema management is also high on my bucket list, and might even become part of this project. thanks for sharing, will check it out.

  9. comment
    Comment #43515096

    thanks for the report! that was an oversight. pr with the fix is up.[0] [0] https://github.com/supabase-community/postgres-language-serv...

  10. comment
    Comment #43515070

    its still a bit rough around the edges, but we hope to kaizen our way through based on the bug reports from the community! about embedded sql: you are right, this must be solved on…

  11. comment
    Comment #43514957

    to put things into perspective: even though it took a lot of effort, it's just a side project by two people who used it to learn rust along the way. A full-time team would have fin…

  12. comment
    Comment #43514935

    that's something we are currently looking into for typescript. at first, I thought a tsserver plugin will do. but a bit of research suggested that such a plugin can not call other …

  13. comment
    Comment #43514678

    thanks for asking! its what provides all language intelligence features in your IDE. so autocompletion, diagnostics, syntax highlighting etc. the postgres language server currently…

  14. comment
    Comment #43514554

    my pleasure! I had my ide point to the debug build locally for over a year now, and it has been very rewarding to slowly see it mature (as in crash less) during my day job over tim…

  15. comment
  16. comment
    Comment #43513997

    Hey HN! We have released the initial version of the Postgres Language Server we started working on almost two years ago[0]. You can try it out by downloading the binary from the re…

  17. story
  18. comment
    Comment #41214849

    This is great! We've been using PostgREST along with a PostgreSQL-based queue to handle side-effects like sending webhooks after database operations (inserts/updates/deletes). The …

  19. comment
    Comment #38572197

    sorry, I think I misunderstood your question! after all, we did not implement a "real" parser. we just use libpg_query, the actual Postgres parser, and work around its limitations …

  20. comment
    Comment #38571692

    that's a very interesting idea! for now, our goal is to take the "easy" route with libpg_query and build a language server that provides basic lsp features for invalid sql, and adv…

  21. comment
    Comment #38571484

    thanks for the link, very interesting read! and you are right, libpg_query has its limitations. the idea is to first implement the parser with libpg_query and work around its limit…

  22. comment
    Comment #38571315

    that's a huge task to take upon, looking forward to go through it! compared to you, we have gone the "easy" way and use the actual parser from the Postgres server. so no grammar de…

  23. comment
    Comment #38571068

    in our specific case, we needed something handwritten for the statement-level parser anyways. And the requirements for the LL parser are very simple: extract individual sql stateme…

  24. comment
    Comment #38570354

    that is definitely the goal, both a formatter and a linter. we want to add something like squawk and plpgsql_check directly to the language server, so you get eslint-like dx. with …

  25. comment
    Comment #38568362

    hey, author here. Thanks for posting it! A bit of background: a few months ago we announced a Postgres language server[0]. A language server adds features like syntax error diagnos…