Better HN
topnewbestaskshowjobs
Log inSign up

dorian-marchal

14 karma · joined Dec 20, 2017 (8y ago) · 5 submissions

Submissions

comment 4y ago · link · parent

I believe the absurd things are: - the idea (i.e. storing a database in a database) - the fact that the resulting storage is faster than vanilla indexed db.

The repo's readme is a bit misleading and it does make it look like a mad scientist experiment but you can read more about it here (really interesting stuff): https://jlongster.com/future-sql-web

Obviously this project is still young, but I find it convincing (disclaimer: I don't use it yet).

comment 4y ago · link · parent

> There is no easy way to save the data directly to the file system.

That's what absurd SQL is for (link in the parent comment).

comment 4y ago · link · parent

How would we deal with conflicts (e.g. syncing back several conflicting offline clients for the same user) with something based on the Session Extension?

comment 5y ago · link · parent

Unfortunately, it is still very easy to lose data, e.g. by trying to undo a temporary commit with `git reset --hard HEAD^` (note the --hard option) before committing your changes.

comment 5y ago · link · parent

Also, one advantage of `git pull origin master:master` is that you don't have to checkout master first.