HN user

schnatterer

28 karma
Posts2
Comments24
View on HN
Podman v6.0.0 19 days ago

Any experiences running k3d on podman? It's my daily provider of local kubernetes.

business logic and http status codes Why hold this custom mapping in our working memory? It's better to abstract away your business details from the HTTP transfer protocol, and return self-descriptive codes directly in the response body: { "code": "jwt_has_expired" }

While the logic behind it sounds reasonable, REST does the exact opposite with the same goal: simplicity, easy to learn, i.e. reduce mental load. I know there are other reasons for REST/SOAP/Graphql, etc. Still makes mental load a somewhat subjective matter to me.

I'd like to add one more finding about the perils of root access: https://github.com/chenxiaolong/my-avbroot-setup/blob/c52e44...

The term [rooting] generally also includes the functionality for making runtime code patches (eg. with Zygisk) and making runtime filesystem modifications (eg. Magisk modules).

Out of the many root-enabled apps I've studied or reverse engineered, the vast majority fail to handle arbitrary inputs properly (especially filenames). For example, some root-supporting file managers turn a seemingly benign action like listing a directory into local privilege escalation. This is trivially exploitable, especially with browsers auto-downloading files with server-provided filenames to /sdcard/Download/.

To avoid repeated root access UI prompts, some apps spawn a long-running shell session, write commands to stdin, and rely on parsing stdout and searching for the shell prompt to determine when commands complete. This approach is prone to desync, which can lead to commands being skipped or other inputs being interpreted as commands.

All in all, I simply do not trust most root-enabled apps to not leave a gaping security hole, so I avoid them entirely. There are apps that do handle root access in what I would consider a more proper way, by spawning a daemon as root and then talking to the daemon over a well defined binary protocol. Unfortunately, this approach is the extreme minority.

As someone who cherishes the power of root privs, I'd still like to make a point for alternative solutions that came up like distros such as GrapheneOS or CalyxOS or non-root filtering options via VPN. If it weren't for backups I could manage my everyday life without root. For all other cases I would root and later unroot my phone via an OTA update :D https://github.com/schnatterer/rooted-graphene/

Hopefully GrapheneOS deliver on their promise to provide a better backup solutions than seedvault.

Interesting as companion for a phone. Anyone know of a hackable or privacy friendly standalone watch that can be used to make calls (e.g. for children pre smartphone age)?

A bought several chromcasts pver the years, mainly because they provide a simple and uniform way to retrofit multi-room sound into my collection of sound systems from different brands an eras. Surprised not to see more comments on this topic here.

Yes, video streaming can be done easily nowadays. But finding a multi-room audio solution that works across different brands and also on offline devices was my main reason for getting into chromcast.

That's interesting! Before the disaster was also my second subscription. Now that you say it, some data was left. Not the playlists but some listening history. Might be that they only delete the iTunes-related stuff.

Maybe if I subscribed again, there still would be something. But I won't.

The support person on the phone also told me that everything gets deleted once the subscription ends, even when it's by mistake. Which seems to have been the case with me.

True! If read before about similar cases with other SaaS, e.g. the famous one about google drive: https://www.theguardian.com/technology/2022/aug/22/google-cs...

Difficult to avoid though for some cases like streaming. Fortunately I had a backup of my playlists. Still annoying. I wonder if those kinds of things happen with spotify as well. Because once your subscription ends you're only relegated to a free account, not deleted.

Happened to me too with apple music in November 23. They just deleted my account with my playlists and listening history. Even support couldn't tell me why after countless calls and emails. This implicitly canceled my yearly subscription and refunded only a small part after I requested it. I learned my lesson about Apple.

TBH I totally agree with the peace of mind argument You'll have to have the time and skills to get it, though. For my less teach-savy family and friends I always have been at a lost what to recommend. Here, a privacy friendly alternative is huge, IMO. I often recommended to use Google as backup, because it's better than no backup and easy to setup on Android.

One advantage Ente provides to a local NAS is geo redundancy. If your nas gets destroyed eg by fire or water or stolen eg by burglar or even the police your data is gone. Synology offers their convenient C2 service, but IIRC has or had some cryptographic weakness. So I hacked my own solution with rclone and some cheap cloud storage. Well, something like Ente would have been much more convenient.