back
user profile

levkk

2,541karma·349submissions·February 9, 2022
about
Sharding Postgres. <https://pgdog.dev>

lev@pgdog.dev

recent activity (349 total)
comment
Come build the next full stack web framework for your favorite programming language! https://github.com/levkk/rwf All aspects of project are open to contributors. Beginner friend…
1y ago·view thread
comment
Moving data between systems is problematic. Where this product is actually needed (multi-TB databases under load) is where logical replication won't be able to sync your tables in time. Conversel…
1y ago·view thread
comment
jemalloc (as opposed to GNU libc and LLVM) sometimes performs better. [1] [1] https://jemalloc.net/
1y ago·view thread
comment
Thanks! Re: callbacks. They are very nice, when you have CRUD endpoints that modify models directly from JavaScript [1]. It ends up being pretty DRY, especially since you'll find yourself modifyi…
1y ago·view thread
comment
Interesting. I should reread the REST spec. I put not implemented as more of a tip to the developer to implement this method at their earliest convenience.
1y ago·view thread
comment
Thanks! Rust macros are typed, so the language server should be able to give good suggestions. They are also optional, and you can always use the code they generate directly. In most cases, it won…
1y ago·view thread
comment
You got it. I will setup a GH action to release to crates.io at the same time. Cheers!
1y ago·view thread
comment
Not bad, but can be improved. I've been putting work into it lately, will keep adding more. Lots of examples in the repo as well.
1y ago·view thread
comment
In random order: 1 & 2. It's not really a new language. It's very similar to ERB, so existing tooling, including syntax highlighting, etc., shouldn't be an issue. 4. LLMs are actual…
1y ago·view thread
comment
It's there but the docs aren't written yet. See the REST example in the repo. I'll have some docs for that soon.
1y ago·view thread
comment
You definitely can. I remember learning Django and Rails as a beginner, it wasn't straight forward. New things are hard until they are not new. Good luck!
1y ago·view thread
comment
Thank you! I tried to use standard async traits, but they don't support dynamic dispatch [1] which Rwf uses extensively. I'll be adding opentelemetry tags to functions (from the `tracing` cr…
1y ago·view thread
comment
I thought the same thing, but this allows you to test your changes locally as an application engineer, without the back and forth. This goes back to the good old monolith vs. microservices debate. Wri…
1y ago·view thread
comment
I tried Diesel years ago, it was too "Rusty" for me. It made you define your schema twice, and couldn't use the same structs for inserts and selects (so 3 times, really). Overall, great…
1y ago·view thread
comment
Thanks! Yes, I was thinking of adding a shorthand for that. Will add something soon!
1y ago·view thread
comment
Yup, they are called "macros". Rwf uses a few of them, some of which you'll find familiar, e.g. `render!` which returns a rendered template with HTTP 200 [1]. [1] https://lev…
1y ago·view thread
comment
I'm old too, this is how I pretend to stay young.
1y ago·view thread
comment
There are people who write their own hash tables, and there are those who just use a library. What may seem like a bad idea to some is trivial to others. Hacker culture is way more fun when you are al…
1y ago·view thread
comment
It's too CPU heavy and your webservers crash under load would be my guess, for no added benefit [1] of course. [1] https://security.stackexchange.com/questions/14068/why…
1y ago·view thread
comment
pg_upgrade is a bit manual at the moment. If the database could just be pointed to a data directory and update it automatically on startup, that would be great.
1y ago·view thread
comment
I was wondering that also. Didn't they learn anything from elastic doing the same and backtracking?
1y ago·view thread
comment
I'm getting pretty tired of WSJ clickbait.
1y ago·view thread
comment
This could change if power users were willing to pay for software. There are enough of us out there to create a market to build us tools.
2y ago·view thread
comment
> No way in hell I'm wasting my life or money on any of that junk. It's despairing to see so many people I know spending hours every day reading national news junk to absolutely no purpos…
2y ago·view thread
comment
> The AGPL restricts use; it is an EULA: end-user license agreement. The antithesis of free software. This is a common misconception about Free software. It's not about freedom of its users or…
2y ago·view thread
comment
Credits are given on a case by case basis, and being part of an accelerator or being funded by a well known VC helps the application process.
2y ago·view thread
comment
This doesn't solve their bandwidth costs which is their real problem with these bots.
2y ago·view thread
comment
Same setup here. Multiple displays don't work well for me. One of the displays doesn't often get detected after resuming screen saver.
2y ago·view thread
comment
Hey fellow open-source enthusiasts, We built Korvus, an open-source RAG (Retrieval-Augmented Generation) pipeline that consolidates the entire RAG workflow - from embedding generation to text generati…
2y ago·view thread