HackerTrans
TopNewTrendsCommentsPastAskShowJobs

zareith

no profile record

comments

zareith
·18 gün önce·discuss
This looks great. I love using pgtyped, but have missed a solution that works well for sqlite.
zareith
·18 gün önce·discuss
It may be a good choice for golang, but support for other languages is not as great.

I remember creating a PR [1] for some very obvious issues with Typescript generator for better-sqlite3 some two years ago which never received any attention from maintainers. There are bunch of such PRs languishing in obscurity in their repos.

[1] https://github.com/sqlc-dev/sqlc-gen-typescript/pull/45
zareith
·geçen ay·discuss
Marten and Lucky come close.

My use cases are fairly minimal though, and the adjacent ecosystem is not as well developed. You likely won't be able to get an out of the box integrated gems for shopping cart, blogging platform, newsletter, analytics etc. as you might for rails. If you are building something new from basic blocks, a lot of the foundational blocks seem to be good state. But again, my experience is very limited.
zareith
·2 ay önce·discuss
Curious if there are folks (perhaps from ruby community) using crystal for medium/large projects. How has your experience been?

I recently tried it out in a hobby project and was pleasantly surprised at how smooth the overall DX was, and how little memory it consumed.
zareith
·2 ay önce·discuss
Anyone working on something similar that compiles to go?
zareith
·3 ay önce·discuss
I think this is a step in wrong direction. We really need to move away from this XML inside/alongside JS ugliness prevalent in the webdev ecosystem.

What I really want are kotlin style builders or F# style computation expressions.
zareith
·3 ay önce·discuss
I like the nim language, but the lack of interfaces has been a bit of a turn-off for me.

Do nim programmers not see the need for abstracting out behavior in a manner that different implementations can be switched somewhere else, or is there different idiomatic way to handle this?
zareith
·6 ay önce·discuss
Vue style attribute directives are imho a far better dx compared to all of the above.
zareith
·6 ay önce·discuss
Cool utility. Horrendous name.
zareith
·6 ay önce·discuss
Obvious reason would be that all major js libraries have ts definitions available now and if the language is TS based they can all be used without compromising with type-safety.
zareith
·6 ay önce·discuss
The end result seems very close to svelte with runes, except with lower learning curve because we dont have special syntax for things like loops, conditionals etc.
zareith
·geçen yıl·discuss
I think an underappreciated library in this space is Logux [1]

It requires deeper (and more) integration work compared to solutions that sync your state for you, but is a lot more flexible wrt. the backend technology choices.

At its core, it is an action synchronizer. You manage both your local state and remote state through redux-style actions, and the library takes care of syncing and resequencing them (if needed) so that all clients converge at the same state.

[1] https://logux.org/