Better HN
topnewbestaskshowjobs
Log inSign up

NotPractical

1,422 karma · joined May 19, 2020 (6y ago) · 451 submissions

Submissions

comment 2y ago · link · parent

You have to use `termux-setup-storage` to gain access to shared storage. If you're referring to an app's private app data folder, there's no way to access that without root via any app.

comment 2y ago · link · parent

You're right, it's far from perfect, but it shows that it's not difficult to restrict native access to specific files/folders using the kernel and not weird Java IPC (which I guess should be obvious anyway). Google could've opted to provide native access to files, in addition to access via SAF, when you select a file via the picker, but they didn't. Graphene did it correctly from the low-level implementation side, not the UX side (but they can't really make the UX easier without breaking compatibility with standard Android apps AFAIK).

comment 2y ago · link · parent

You're nearly correct, actually. In addition to security, SAF was supposed to provide a consistent interface to access files from various sources, including network sources, not just the local filesystem. Unfortunately the implementation just kind of sucks.

comment 2y ago · link · parent

I wonder how many people using Syncthing actually obtained it from the Play Store and not F-Droid? The whole point of it is decentralization, right?

comment 2y ago · link · parent

SAF is a slow, buggy mess, and it only works in Java/Kotlin, so it's understandable that they don't want to use it. GrapheneOS manages to allow native access (via Java or machine code) to only specific user-selected directories through its Storage Scopes feature [1]. They basically did SAF but correctly and without the funding of a megacorp.

[1] https://grapheneos.org/features#storage-scopes

comment 2y ago · link · parent

> lack of meaningful right to repair regulation over the past two decades

https://www.theregister.com/2023/05/25/minnesota_right_to_re...

comment 2y ago · link · parent

> Trump's VP nominee likes what the FTC is doing

Actions speak louder than words, and the DNC's VP passed the most comprehensive right to repair legislation ever in the U.S. in his home state: https://www.theregister.com/2023/05/25/minnesota_right_to_re...

(Doesn't cover farming equipment but still a huge step in the right direction.) You can also be certain that Big Tech was fuming when this was passed.

comment 2y ago · link · parent

Most likely, Lina Khan will be removed, the FTC will return to being largely inactive, and John Deere (and Big Tech) wins.

comment 2y ago · link · parent

Not surprised that you're being downvoted despite telling the truth, because "politics is off-topic while technology is on-topic" (even though politics is often deeply intertwined with technology).

220.

Redbox left PII on decommissioned machines(digipres.club ↗)

294 points · by NotPractical · 2y ago · 162 comments

comment 2y ago · link · parent

> Some interesting talks and videos [...] GNU is Bloated! by Luke Smith

Strange reference because that video isn't relevant to the topic at all. It's about the difference between GNU coreutils command line options and other standards such as BSD and POSIX (the title is mostly a joke). In fact Luke Smith is vehemently against the idea of AppImages/Flatpaks/Snaps and believe they go against the spirit of GNU/Linux [1].

[1] https://www.youtube.com/watch?v=JPXLpLwEQ_E

comment 2y ago · link · parent

I see this kind of sentiment on HN a lot and it's weird to me. Like, what's the issue with discussing on a hacker forum ways that Google is making Android worse for hackers? Especially considering the alternative is iOS and it's much worse in that regard.

comment 2y ago · link · parent

> they refuse to acknowledge the way is via Java user space

I don't think that has much to do with it. Google's problem with Termux is that it downloads and executes native code. Also, you're phrasing that like refusing to acknowledge a megacorporation's version of the truth is a bad thing.

comment 2y ago · link · parent

After some reflection I'm not too proud of this comment :)

comment 2y ago · link · parent

But is it time to give up just because there hasn't been much progress yet? It seems now that we have #2 there's little incentive for #1, whereas there was plenty incentive for #1 before even if little action.

comment 2y ago · link · parent

Smartphones are special, since they're practically mandatory at this point, are the primary gateway to the Internet and digital platforms for a lot of people, and are specifically designed to be general purpose computing devices (even if unnecessary restrictions on who gets to write apps for them are placed on top of that). I mean heck, even Apple all but advertises the iPad Pro (an iOS device) as a computer [*]. I don't care if Nintendo locks down their gaming console. Nobody needs a gaming console. The Nintendo Switch's OS was made solely to run games and has very limited functionality by design. (I'm also overjoyed when I see people hack it, but that's a bonus and I have no expectation of that.)

For example, the EU's DMA provides a precise definition of "digital gatekeeper" and the rules only apply to them [1]. Gaming consoles and other embedded devices are excluded.

If there were more than two real choices available, I'd feel less strongly about this. And I realize that Apple isn't necessarily responsible for there only being two options (if anything, Google may be more to blame for this). But that's just how it is.

[*] I don't know if their marketing materials ever unambiguously refer to the iPad as a "computer", perhaps intentionally, but they've run ads like this: https://www.youtube.com/watch?v=3S5BLs51yDQ

[1] https://eur-lex.europa.eu/legal-content/EN/TXT/?uri=uriserv%...

comment 2y ago · link · parent

AOSP is a separate initiative from Google to release the source code of Android to the public on a regular basis. Development of Android happens almost entirely in-house and contributions/requests from the general public are treated with minimum priority. The public AOSP repo is only updated with these changes after each new release of Android is finished. Google is not forced to release the source code, aside from their changes to the Linux kernel, which are minimal anyway as Android is moving closer to mainline. They may have separate agreements with OEMs that guarantee source code access but that's of no concern to Epic Games as a user/developer on the platform and not an OEM.

comment 2y ago · link · parent

Google did not compete in an anticompetitive matter (w.r.t. app stores) and a federal judge determining that they did means nothing because it will likely be appealed by another judge. They will probably win their appeal because the verdict is insane.

comment 2y ago · link · parent

"Principles" as in arbitrary precedents set by bribed politically-motivated lawmakers and judges.

No, people are correctly pointing out the fact that this is blatantly unfair. You are claiming that 2+2=5 because a judge said so.

If you are concerned about the "consequences" maybe you should start thinking about how open platforms are now legally disadvantaged to closed platforms.

comment 2y ago · link · parent

The review part is much more concerning IMO and completely exiles FOSS from the platform (free as in the GNU definition -- you should be able to make arbitrary changes to your copy of the app without some asshole from Apple telling you that they believe your changes constitute a joke or prank [1]). The review part also re-enforces the revenue part because it costs $100/year to submit apps for EU notarization.

[1] Section 1.1.6: https://developer.apple.com/app-store/review/guidelines/

comment 2y ago · link · parent

It's not quite as convoluted as you describe, and I don't think Android ever changes that setting on your behalf. The fact of the matter is that it is dangerous. IMO it's a good thing that they provide you with appropriate warnings.

comment 2y ago · link · parent

This comes up a lot but when did Google say their platform was "open"? Maybe a few times in the early days when Google was still considered "cool" in hacker circles, but probably not in consumer-facing advertising? Moreover, "open" can mean a lot of things. I don't think I ever signed an agreement with Google that promised me source code for Android or the ability to sideload on my Android phone?

comment 2y ago · link · parent

That's not really a valid comparison because the Microsoft Store and the macOS App Store don't allow third party stores on them. You have to "sideload" any alternative stores/apps you want. To be clear I doubt the hellscape described by OP will come to fruition but still.

comment 2y ago · link · parent

I was trying to make a case that when you add up everything the EU has done recently with regards to digital policy, you get a net loss for EU citizens. Their attempt at chat control decrements the score by a significant amount. Amending the DMA to have it not be completely useless would increment it by a significant amount, but it is unknown if that will happen yet.

comment 2y ago · link · parent

So the EU attempts to invade your privacy using smartphones [1] and forces duopoly-brand smartphones upon its citizens, yet it fails to compel Apple to allow true sideloading, so you're stuck choosing between "no freedom but some privacy" or "no privacy but some freedom"? Their digital policy initiatives overall seem like a net loss for EU citizens as it stands.

[1] https://www.theverge.com/2024/6/19/24181214/eu-chat-control

1
789
16