News for hackers. Stuff that matters.

zareith

This looks great. I love using pgtyped, but have missed a solution that works well for sqlite.
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

Re:From Rust to Ruby on Wednesday May 27, 2026 @04:13AM (#48291211)
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.

Re:From Rust to Ruby on Wednesday May 27, 2026 @03:01AM (#48290698)
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.

Re:Rust but Lisp on Sunday May 10, 2026 @12:45AM (#48081078)
Anyone working on something similar that compiles to go?
Re:TSRX – TypeScript Language Extension for Declarative UI on Wednesday April 22, 2026 @01:53AM (#47859591)
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.

Re:NimConf 2026: Dates Announced, Registrations Open on Tuesday April 14, 2026 @12:47PM (#47768042)
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?

Vue style attribute directives are imho a far better dx compared to all of the above.
Cool utility. Horrendous name.
Re:Ripple: The Elegant TypeScript UI Framework on Sunday January 11, 2026 @12:44PM (#46577762)
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.
Re:Ripple: The Elegant TypeScript UI Framework on Sunday January 11, 2026 @12:58AM (#46573060)
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.
Re:QueryLeaf: SQL for Mongo on Saturday May 10, 2025 @02:11PM (#43947673)
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.
Re:QueryLeaf: SQL for Mongo on Saturday May 10, 2025 @02:09PM (#43947656)
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

Re:QueryLeaf: SQL for Mongo on Saturday May 10, 2025 @10:53AM (#43946130)
Curious if there is something similar that works with sqlite.
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.

Re:Sync Engines Are the Future on Friday March 21, 2025 @04:44AM (#43433234)
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/

Unrelated tangent, but $300 for non-commercial use with limited features... wow!
Yes, that would make it ideal.
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.

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/

Re:The Future of Htmx on Tuesday January 07, 2025 @01:52AM (#42620005)
Also: https://mizu.sh/

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

Re:Zettlr: Note-Taking and Publishing with Markdown on Friday August 23, 2024 @12:34AM (#41326193)
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.