Better HN
topnewbestaskshowjobs
Log inSign up

zareith

39 karma · joined Aug 23, 2024 (2y ago) · 22 submissions

Fantasy/scifi author

https://paulgzareith.ink

Submissions

comment 5mo ago · link · parent

This looks great. I love using pgtyped, but have missed a solution that works well for sqlite.

comment 5mo ago · link · parent

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

comment 6mo ago · link · parent

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.

comment 6mo ago · link · parent

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.

comment 6mo ago · link · parent

Anyone working on something similar that compiles to go?

comment 7mo ago · link · parent

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.

comment 7mo ago · link · parent

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?

comment 10mo ago · link · parent

Vue style attribute directives are imho a far better dx compared to all of the above.

comment 10mo ago · link · parent

Cool utility. Horrendous name.

comment 10mo ago · link · parent

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.

comment 10mo ago · link · parent

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.

comment 1y ago · link · parent

We can use json type, but the dx around directly using that is not comparable to mongodb. Which is why I was looking for a similar abstraction.

comment 1y ago · link · parent

They seemed to have moved away from that.

From https://docs.ferretdb.io/migration/migrating-from-v1

> Unlike v1.x that provides options for PostgreSQL and SQLite as backend, FerretDB v2.x requires a PostgreSQL with DocumentDB extension as the backend

comment 1y ago · link · parent

Curious if there is something similar that works with sqlite.

comment 1y ago · link · parent

This looks cool, love the API.

I don't any support for lifecycle hooks (eg. something like onMount when the returned node will be attached to the document) in the component api. In absense of those, I imagine integrating with vanillajs libraries will be difficult (eg. codemirror, slickgrid etc.) Curious what your thoughts in the matter are.

comment 1y ago · link · parent

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/

comment 1y ago · link · parent

Unrelated tangent, but $300 for non-commercial use with limited features... wow!

comment 1y ago · link · parent

Yes, that would make it ideal.

comment 1y ago · link · parent

The project looks cool, but I'd strongly recommend against the per-task pricing.

This makes budgeting & forecasting difficult to impossible for a lot of teams, and creates wrong incentives. It is better to have a per user pricing, and then allow them to use as much as they want.

comment 1y ago · link · parent

Love this. The proliferation of software that imposes artificial limitations and puts features that can be (and have been) easily performed locally, behind subscriptions is quite frustrating.

I have been working on a free markdown editor that works entirely in the browser and can edit local files through the new filesystem access api (available in chromium only browsers).

https://zareith.github.io/chillmd/

comment 1y ago · link · parent

Also: https://mizu.sh/

It embraces a more structured and composable approach and I love that it embraces web-components.

comment 2y ago · link · parent

Zettlr is quite nice. The UI has a few quirks and sometimes does not follow conventions set by other applications, but the wysiwyg interface for markdown offers a great editing experience. And because it is all just markdown files in local disk there is no vendor lockin.

I am not the primary intended audience, but I wrote my last sci-fi novel (The Grandmaster's Gamble) entirely using Zettlr and pandoc. The built-in languagetool integration was a big help.