Comment by zvmaz
Comment by zvmaz 9 hours ago
For me: Try queries without the hassle of setting up a database. Learn SQL. Experiment. Etc.
Comment by zvmaz 9 hours ago
For me: Try queries without the hassle of setting up a database. Learn SQL. Experiment. Etc.
The just-use-rsync line of thinking doesn't go away https://news.ycombinator.com/item?id=9224
I'm at the point where I know exactly what comment that is because of the comment ID of 9224. Don't even need to mention rsync, Dropbox, or anything else.
> For me: Try queries without the hassle of setting up a database.
sqlite3 some-file.db
That's the whole "database setup" in case of SQLite.This method is not available on all devices and does not support sharing or collaboration.
The website, however, works on any platform and allows working together in a single shared database.
When you upload a database to the site, it is stored in your browser's memory or uses OpFS — a local storage within your browser.
You can share a link to grant access to your database, with the connection handled via P2P through WebRTC.
If the database is loaded from an external source (as shown in the examples), using the "Share Script" feature automatically attaches a link to the database. The link allows both the database and the script to be accessed and loaded.
> This method is not available on all devices and does not support sharing or collaboration.
The parent cites "hassle of creating the database" and does not mention sharing or collaborating. I showed that it doesn't get more hassle-free than this and doesn't even require connectivity (which might be a problem "on some devices" or "in some locations").
> doesn't even require connectivity (which might be a problem "on some devices" or "in some locations").
You are just trying to prove a point instead of understanding it.
> "hassle of creating the database" and does not mention sharing or collaborating.
He might just have summarized everything as "hassle of creating the database".
Not everything on internet is supposed to be a debate with highly and carefully developped wording.
Implicit assumptions: You know what a CLI is, you have one on your system, and how to install the sqlite3 binary somehow.
When I just started out with linux I was so frustrated with people just listing reams of commands, or files I needed to edit without stating I needed to look in /etc
I had the same reaction, why not just use the command line interface?
From there, I guess the value this adds is:
1. There is a UI, i.e. it has some autocomplete of sql syntax and it shows tables in a ... tabular format.
2. As others have mentioned, there are sharing features. Yes you could share a .db file, but with this you can also send a link viewable in a browser, with specific queries, etc.
#1 reminds me of MS Access from back in the day. Those were sql dbs underneath, but they had some interfaces to show you how to build queries. It wasn't a bad way to dip your toes into the basics of sql.
sqlite3 :memory:
if you don't want it to be persistedAs a developer, on your development machine, if you use sqlite even infrequently, then no.
Anyone else, probably, but then why would you use this tool if you have no need for sqlite?
I don't understand the people trying to convince others that this tool is useless by saying "just do it this way, duh!". It is useful, even from a rapid glimpse at the website.
Be kind and sensible.