Hacker Newsnew | past | comments | ask | show | jobs | submit | zareith's commentslogin

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


Cool utility. Horrendous name.


lowkey thought it is a genius name

tee (Unix command that splits output) + mux (multiplexer) = teemux


Pronounced tmux. That's a thing. A very related thing. A very well-known thing. It's a bad name. I do like the concept though (haven't tried using it yet).


Fair point


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.


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.


Curious if there is something similar that works with sqlite.


There is FerretDB v1, which provides MongoDB protocol for SQLite. See https://github.com/FerretDB/FerretDB/tree/main-v1


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


As of 3.38 (or 3.45 if you meant a binary JSON structure specifically) https://sqlite.org/json1.html


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.


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.


While in a rendering scope, `getParentElement()` will get you access to the raw DOM element. As long as you don't detach/move it, you'll be fine letting third-party code loose on it.

Aberdeen has one life cycle callback: `clean`, which is called right before rerunning or destroying a scope.

I think that's enough for just about anything you'd want to do.. ?


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!


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.


Threw me off at first as well. I was thinking of tasks per month. But this seems to be just pay as you go top-ups. Makes sense from a freelancer perspective. If I have work, I top-up my account. If there is none, I don't feel pressure like from all the other monthly subscriptions.


Pay as you go is better for all but the heaviest of users. The low cost per task and topping up a balance make it one less thing to think about, one less monthly fee, and will almost certainly result in cheaper cost per month.

It's the same reason why I use api keys from all of the LLM providers rather than pay monthly fees to any one individual company. It's $5-10/mo vs. ~$80/mo.


I love this pricing model as a potential customer. The cost is so little that it wouldn't be a deterrent. This is way better than another subscription.

There's a lot of problems trying to run a business with this model though IMO (forecasting, recurring expenses, etc.). I hope it works out for them though!


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.


Yes, that would make it ideal.


Seems like they are targeting the side of the market where per user pricing doesn't work.


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/


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: