Readit News logoReadit News
zareith commented on QueryLeaf: SQL for Mongo   github.com/beekeeper-stud... · Posted by u/tilt
maxbond · 8 months ago
As of 3.38 (or 3.45 if you meant a binary JSON structure specifically) https://sqlite.org/json1.html
zareith · 8 months ago
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.
zareith commented on QueryLeaf: SQL for Mongo   github.com/beekeeper-stud... · Posted by u/tilt
aleksi · 8 months ago
There is FerretDB v1, which provides MongoDB protocol for SQLite. See https://github.com/FerretDB/FerretDB/tree/main-v1
zareith · 8 months ago
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

zareith commented on QueryLeaf: SQL for Mongo   github.com/beekeeper-stud... · Posted by u/tilt
ttfkam · 8 months ago
Would much rather have "Mongo" for SQL like this:

https://github.com/microsoft/documentdb

I am skeptical that SQL with Mongo backing it would be at all performant except in the most trivial cases. On the flip side, Postgres's jsonb indexing makes the inverse very doable.

zareith · 8 months ago
Curious if there is something similar that works with sqlite.
zareith commented on Show HN: Aberdeen – An elegant approach to reactive UIs   aberdeenjs.org/... · Posted by u/vanviegen
zareith · 8 months ago
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.

zareith commented on Sync Engines Are the Future   instantdb.com/essays/sync... · Posted by u/GarethX
zareith · 9 months ago
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/

zareith commented on Konva.js - Declarative 2D Canvas for React, Vue, and Svelte   konvajs.org/... · Posted by u/lavrton
h1fra · 9 months ago
Don't know about the library but the spreadsheet project built on top is impressive https://www.rowsncolumns.app/
zareith · 9 months ago
Unrelated tangent, but $300 for non-commercial use with limited features... wow!
zareith commented on Show HN: EnkiTask: Lightweight Project Management for Freelancers   enkitask.com/... · Posted by u/booper
mbesto · 9 months ago
I like the pricing - I think its interesting. But I think the author should just give the option to do one or the other. Unlimited at $10/month or per task.
zareith · 9 months ago
Yes, that would make it ideal.
zareith commented on Show HN: EnkiTask: Lightweight Project Management for Freelancers   enkitask.com/... · Posted by u/booper
zareith · 9 months ago
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.

zareith commented on Show HN: Nash, I made a standalone note with single HTML file   keepworking.github.io/nas... · Posted by u/yevgenyhong
zareith · 9 months ago
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/

zareith commented on The Future of Htmx   htmx.org/essays/future/... · Posted by u/polyrand
rsyring · a year ago
I have used and like HTMX. But I think Unpoly is more batteries included, in a good way:

https://unpoly.com/

It has more built-in functionality that most web applications are going to need.

zareith · a year ago
Also: https://mizu.sh/

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

u/zareith

KarmaCake day29August 23, 2024
About
Fantasy/scifi author

https://paulgzareith.ink

View Original