Re:10 years since Google said to “hang tight” about Linux su...
by dotancohen on Monday April 25, 2022 @02:09AM
(#31151157)
sqlite is opaque? I've got this script to list my open tabs, and a few more scripts for other Firefox actions.
$ grep FIREFOX ~/.bashrc
export FIREFOX_DIR=$HOME/.mozilla/firefox/q3m93qpe.default-release/
$ cat ~/.local/bin/ff-tabs
#!/bin/bash
lz4jsoncat $FIREFOX_DIR/sessionstore-backups/recovery.jsonlz4 | jq -r '.windows[].tabs[].entries[-1] | .title, .url, ""'
Re:10 years since Google said to “hang tight” about Linux su...
by dotancohen on Monday April 25, 2022 @02:11AM
(#31151164)
Ha! Of course I would choose an example based on JSON, not sqlite, but the point still stands. Sqlite is one of my favorite file formats, it presents the data in an interface far easier to manipulate for a one-off CLI command than writing another Python script with open() and dozens of re.sub().
Re:10 years since Google said to “hang tight” about Linux su...
by GekkePrutser on Monday April 25, 2022 @04:15AM
(#31151760)
JSON is also not very opaque. What's opaque is iOS with its locked down storage per app as you mentioned.
Some OS builders have been trying to push this model on the desktop but have not been very successful due to legacy. It only seems to be done with mobile apps running on the desktop (Windows with Android apps and macOS with iOS)
I also lament this model, I think we should always have full access to our devices. But there's a strong commercial push for lock-in and subscription models.
Re:10 years since Google said to “hang tight” about Linux su...
by svalee on Tuesday April 26, 2022 @04:35AM
(#31165256)
How do you use it?
Re:10 years since Google said to “hang tight” about Linux su...
by wlesieutre on Sunday April 24, 2022 @09:28PM
(#31149929)
On the flip side, Steve Jobs tried to make this happen for the iPad and Apple eventually gave up and built the Files app because they were trying to make it into a system you could do actual work. "All data belongs to a single app" was at odds with most work tasks other than checking your email, and sending copies of data back and forth between apps with share sheets is alright if you only have to do it once, but it doesn't really scale.
I disapprove of the "new" way (that is not so new, but it is the current trend) because it favors lock-in and general loss of control. But there are also some advantages such as being able to do versioning, syncing, collaborative work, searching and general database-like operations when your filesystem doesn't support it. A lot of popular open source "not evil" software use that model, for example, IIRC, Firefox has always stored bookmarks in an opaque sqlite database while Internet Explorer stored them as files in a folder, and I don't think I need to tell you which one is considered the most evil.