HNHacker News
TopNewBestAskShowJobs

thenorthbay

91 karma · joined August 4, 2023

submissionscomments
thenorthbay··on Show HN: Revideo – Create Videos with Code
Maybe not for editing per se. But for providing meta-functionalities to services built on top of revideo. Rendering, for instance, but maybe even reusable embeds, video watch analytics, download links, programatic re-rendering with webhooks and their configuration, etc. What other functionalities could you offer?
thenorthbay··on Show HN: Revideo – Create Videos with Code
Interesting stuff! Which use cases do you think developers will use you most for?

There could be really interesting abstractions that people might build on top of this. Like automatically creating and animating infographics, making background sounds, or video cutting and recycling. If you spin this 100x further an entire video creation studio might emerge.

Which parts of Video Infrastructure do you want to build first? Which other higher-level parts could be built by you or users? Where could this go?

thenorthbay··on Ask HN: Wouldn't it be cool to have a Supabase for SQLite?
that's pretty cool! Would be great to have it for TS to configure my own backend
thenorthbay··on Show HN: Doculite – Use SQLite as a Document Database
I just did a quick search and struggled to find anything about the performance issues you referred to - can you link something so I can take another look? Thanks for the suggestions.
thenorthbay··on Show HN: Doculite – Use SQLite as a Document Database
Hey! Thanks for the feedback. I'd just be worried people might not be using the correct libraries since I think they still provide different functionality.

So exporting one Database that allows people to pick which driver they want to use might be a simple and user-friendly solution (incl. better-sqlite3) which people have asked for.

thenorthbay··on Show HN: Doculite – Use SQLite as a Document Database
Yup! I doubt this project will naturally evolve into whatever you're describing. And that's ok! This project might help people who want to use SQLite like Firebase, with a similar API and experience but without letting network requests increase latency (see: https://news.ycombinator.com/item?id=31318708).

Addressing main points like implementing atomic transactions (read and write operation on a doc) seems warranted since it exists in Firebase as well.

thenorthbay··on Show HN: Doculite – Use SQLite as a Document Database
Yeah interesting. I'm wondering what happens when I'm starting to introduce things from "outside" the system that need async operations, like processing webhooks.
thenorthbay··on Show HN: Doculite – Use SQLite as a Document Database
Just didn't find it quickly enough after some browsing. Also, using SQLite seemed so simple.
thenorthbay··on Show HN: Doculite – Use SQLite as a Document Database
I'm using SQLites underlying Data Change Notification functionality. It's exposed by one of the libraries mine relies on.
thenorthbay··on Show HN: Doculite – Use SQLite as a Document Database
Thank you!
thenorthbay··on Show HN: Doculite – Use SQLite as a Document Database
If I understood you correctly, Documents in a database, and database as a file. If else please let me know.
thenorthbay··on Show HN: Doculite – Use SQLite as a Document Database
Thank you for the feedback. Seems this is important.
thenorthbay··on Show HN: Doculite – Use SQLite as a Document Database
Here's the source: https://github.com/thenorthbay/doculite
thenorthbay··on Show HN: Doculite – Use SQLite as a Document Database
Yup! I actually don't know about that. I figured this would be used for setting up newer, server-side Remix or Next projects rather than more dated ones. I could imagine that by keeping sqlite and sqlite3 up to date, people might also not be stuck on more dated versions of SQLite. The tracing/profiling functions were also only implemented recently in sqlite3 (node to C interface), in 2023.
thenorthbay··on Show HN: Doculite – Use SQLite as a Document Database
If you use the library on a server in a node.js environment, wouldn't it be useful to fetch data (e.g. Remix / NextJS)? Besides, I'm not sure if better-sqlite3 offers the listener functionalities I care about. Skimming the docs, it seems it doesn't.
thenorthbay··on Show HN: Doculite – Use SQLite as a Document Database
I guess it was sufficient to not have that kind of accuracy in most of the application to deliver user value. There probably were parts of the application where we used transactions. Could be a cool feature to build for this, though.
thenorthbay··on Show HN: Doculite – Use SQLite as a Document Database
Interesting. Updating values via incrementing them is a use case I barely had in Firebase. I mostly only dealt with 1-time updates to values, e.g. by the user or scheduled jobs. In which scenario would the current design cause you problems?
thenorthbay··on Show HN: Doculite – Use SQLite as a Document Database
Yes – I'm using JSON_extract and generated virtual columns https://www.sqlite.org/json1.html#jex Edit: the database is stored in a sqlite.db file in the cwd