Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
levkk
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
17 ms
·
241.
▲
by
levkk
2y ago
It does not require that you do that. It only requires you to open source any modifications you've made to ffmpeg.
242.
▲
by
levkk
2y ago
Hesitating to put this because it's not related to the topic at hand, but I find monospace font for blogs hard on my eyes. I think I'm getting old, but Arial (and other sans-serifs) are easier to read.
243.
▲
by
levkk
2y ago
You don't have to finish them, but you should share them anyway. Software is never finished, so hitting the state where you're happy with what you've built isn't likely to happen. The same philosophy applies to other ven
244.
▲
by
levkk
2y ago
No Man's Sky is kind of what you're looking for, except you may notice its quests (and worlds) become redundant quickly...I say quickly, but that became the case for me after like 30 hours of game play.
245.
▲
by
levkk
2y ago
Reddit works just fine. Where there is a will, there is a way. I do believe (without proof) that incentives for Google are misaligned here.
246.
▲
Rwf: Call for Beta Testers
(github.com)
1 points
by
levkk
2y ago
|
0 comments
247.
▲
by
levkk
2y ago
My main concern with application-defined schemas is that this schema is validated by the wrong system. The database is the authority on what the schema is; all other layers in your application make assumptions based on effectively hearsay.
248.
▲
by
levkk
2y ago
I think rwf is easier to use, but it's not my place to make this argument. Try them both out and let me know which one you like best!
249.
▲
by
levkk
2y ago
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 friendly. Learn Rust/web tech if you'
250.
▲
by
levkk
2y ago
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. Conversely, small databases where this will work
251.
▲
by
levkk
2y ago
jemalloc (as opposed to GNU libc and LLVM) sometimes performs better. [1] [1] https://jemalloc.net/
252.
▲
by
levkk
2y ago
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 modifying the same model from different places
253.
▲
by
levkk
2y ago
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.
254.
▲
by
levkk
2y ago
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't be too verbose either.
255.
▲
by
levkk
2y ago
You got it. I will setup a GH action to release to crates.io at the same time. Cheers!
256.
▲
by
levkk
2y ago
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.
257.
▲
by
levkk
2y ago
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 actually pretty good at "understanding&qu
258.
▲
by
levkk
2y ago
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.
259.
▲
by
levkk
2y ago
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!
260.
▲
by
levkk
2y ago
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` crate). jemalloc can be added to the binar
261.
▲
by
levkk
2y ago
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. Writing a stable WSGI server is possible, a
262.
▲
by
levkk
2y ago
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 first attempt at matching database type
263.
▲
by
levkk
2y ago
Thanks! Yes, I was thinking of adding a shorthand for that. Will add something soon!
264.
▲
by
levkk
2y ago
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://levkk.github.io/rwf/views/te
265.
▲
by
levkk
2y ago
I'm old too, this is how I pretend to stay young.
266.
▲
Show HN: Rust Web Framework
(github.com)
488 points
by
levkk
2y ago
|
258 comments
267.
▲
by
levkk
2y ago
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 allowed to use recursion [1]. [1] https:&
268.
▲
by
levkk
2y ago
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-most-...
269.
▲
by
levkk
2y ago
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.
270.
▲
by
levkk
2y ago
I was wondering that also. Didn't they learn anything from elastic doing the same and backtracking?
More ›