HNHacker News
TopNewBestAskShowJobs

dorian-marchal

14 karma · joined December 20, 2017

submissionscomments
dorian-marchal··on Consider SQLite
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).

dorian-marchal··on Consider SQLite
> 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).

dorian-marchal··on Consider SQLite
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?
dorian-marchal··on Git undo: We can do better
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.
dorian-marchal··on Git undo: We can do better
Also, one advantage of `git pull origin master:master` is that you don't have to checkout master first.