News for hackers. Stuff that matters.
Re:The Death of External Storage: Where's Google? by geofft on Friday March 29, 2019 @10:34AM (#19522011)
Why doesn't the file proxy class have a seek or read-with-offset RPC operation instead of just handing you a stream of bytes? This isn't particularly novel for remote-ish file storage (SCSI supports this, NFS supports this, etc.)

Re Termux, I actively don't want any app on my phone to have direct access to the rest of the files on my phone. The fact that desktop terminal apps (cmd.exe, Terminal.app, xterm, etc.) require this access is the root cause of a bunch of security difficulties in desktop OSes that are impossible to solve in a satisfying way. I want a little workspace (potentially multiple workspaces) for stuff where a terminal is the right way to work, but I don't want the ability for any app to cd into my Signal storage directory or my email client config directory and edit files there.

As a result, I use iOS. If Android will get me the same security design plus the ability to call fork() so Termux works, I'd consider switching - it sounds like that's what they're doing.

Re:The Death of External Storage: Where's Google? by gnomewascool on Friday March 29, 2019 @10:47AM (#19522128)
> I want a little workspace (potentially multiple workspaces) for stuff where a terminal is the right way to work,

If you don't give Termux the "storage" permission, then this is exactly how it works now.

> Signal storage directory

Signal stores its data in its private app directory, which is not exposed to either any other apps, even if you give them the "storage" permission, or to the user via MTP. The only exception is the optional back-up, which is stored (encrypted!) in the public app directory (accessible to MTP and apps having the "storage" permission), so that you can copy it to your next phone. (AFAIK Signal on iOS doesn't give you this option...).

> email client config directory

K-9 mail also stores its data in its private app directory.

OTOH files that are not super-private, like books, audiobooks, music, maps or flashcards can be stored where they're easily accessible, manageable and processable by multiple applications (but even then, only applications that I grant the requisite permission).

Re:The Death of External Storage: Where's Google? by ubercow13 on Friday March 29, 2019 @11:32AM (#19522527)
I like editing my email client config with vim, in a terminal.
Re:The Death of External Storage: Where's Google? by geofft on Friday March 29, 2019 @12:40PM (#19523222)
I don't like other apps with vulnerabilities editing my email client config. If I want an app to edit my email client config, I'm happy to click something in my email client to explicitly authorize a specific vim in a specific terminal to do that.
Re:The Death of External Storage: Where's Google? by ubercow13 on Friday March 29, 2019 @01:09PM (#19523530)
What email client is going to support that?
Re:The Death of External Storage: Where's Google? by geofft on Friday March 29, 2019 @03:58PM (#19525072)
Any free software email client?