Hacker Newsnew | past | comments | ask | show | jobs | submit | sheaton's commentslogin


+1. I’m a happy user of slonik for several years. Zod integration is very useful


Totally agree. Slonik has had typed queries for some time now, but the integration with zod means that those types are verified at runtime. Incredibly useful with Typescript.


Slonik author here. Happy to answer any questions.


Hi gajus! slonik is a very handy tool, and I used it in production for a quiet some years with success.

Is there any plan to move to PostgresJs instead of pg? If not, would you mind explaining why sticking with pg?


You can already use postgres with Slonik.

https://github.com/gajus/slonik#user-content-slonik-how-are-...

It is not going to be the default because it is way slower.

https://github.com/gajus/slonik/actions/runs/6616647651

Test node_version:18 test_only:postgres-integration is taking 3 minutes.

Test node_version:18 test_only:pg-integration is taking 38 seconds.

It is possible that this is an issue with https://github.com/gajus/postgres-bridge, but I was not able to pinpoint anything in particular that would explain the time difference.


Easily the best Emacs config I've used. Tried some of the "big" ones at various times like Spacemacs, Doom, etc., but they're massive and Vim-centric. Wrote my own large config I had been using for the past year or two. Recently tried Prelude as it was recommended by some co-workers, and found that it did all the significant things my own config did with much better performance. Included my daily necessities (helm, swipe, which-key, magit, clojure stuff) and more out of the box. Just get rid of the scroll bars if you're not on Mac and good to go. IMO, a great representation of what Emacs should be "out of the box".


Thanks for the kind words! Much appreciated!


Thank you for your work, and I would encourage people to sponsor Bozhidar's work on this and other open-source software many rely on through GitHub https://github.com/sponsors/bbatsov


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: