Another thing that doesnāt work anymore after blocking network traffic from my Android phone: Some push notifications.
I run a Matrix server for our family. I use āFluffyChatā on my phone. Traffic from the phone to my Matrix server is allowed and chatting in FluffyChat works.
But I donāt get any notifications anymore on new messages.
So, whatās going on here? Does FluffyChat, which only really needs to talk to my own server, rely on some cloud service for notifications? Seriously? š¤ How does that work, does this cloud service see all my notifications or what?
Anyone around who did app development on Android? Can you shed some light on this?
(The old device Iām referring to was a handheld device. It was not built into the car and was not running 24/7.)
Iāll make an experiment: Iāll keep blocking all the phoneās internet traffic and then weāll see how bad the GPS performance will get in a couple of hours/days. š (If I got it all wrong and it still works fine, thatād be great!)
@prologic Regarding the static URL: The hostname at least is a CNAME record and resolves to something at cloudfront. What I meant was that I, as a user, cannot configure this URL anywhere in the Android UI. š¤
@prologic Hmm, have you used a GPS device 15, 20 years ago? I had one in my car. It would take a long time until it got a first āfixā of your location. Thatās because it can take up to 12 minutes until you have gathered all the data directly from the satellites. These days, GPS trackers on smartphones get a fix within seconds, maybe 30 seconds tops, because they get pre-seeded with (approximated) satellite positions via A-GPS.
We also not only have the USAās GPS these days but also other satellite systems like the EUās Galileo or Russiaās Glonass. A-GPS helps you get āin contactā quickly with more satellites, which enhances the precision quite a lot.
So, yeah, you can use it without A-GPS. But it would be very annoying and imprecise. I bought a new phone last year and A-GPS was broken on that one (I saw no internet traffic at all), which made it basically useless, to the point where I wouldnāt want to use it at all. I sent it back and bought another model.
To my knowledge, the only way to use GPS without something like A-GPS is to have it turned on all the time, so you get regular updates directly from the satellites.
One thing Iāve learned from locking down my Android phone (see #pknsrda):
The data for assisted GPS does not come from Google or, better yet, A PUBLIC SERVICE, but from a server hosted by the hardware manufacturer. Without regularly fetching fresh A-GPS data, the GPS performance is much worse (https://en.wikipedia.org/wiki/Assisted_GNSS).
This means that the hardware manufacturer has (more or less) direct control over whether Iām able to use GPS or not. This isnāt an Android setting, itās buried deep within the device, no way to change the URL. If that manufacturer decides one day to cut me off, for whatever reason, or goes bankrupt or whatever, then Iāll have to buy a new phone.
And of course, this data transfer is encrypted as well, so I donāt know what my phone sends to those servers.
All this smartphone business is such a clusterfuck. I should have never bought one of those things.
@prologic Thanks. I expected this to take much longer. š
Whoohoo, itās fixed. š„³ Now I can look at funny pictures again!
I took the opportunity to remove some dependencies on the internet from my workflow. Actually, outages like these are healthy.
This is going to take a while ā¦ See ya in a couple of days/weeks.
I have a day off, national holiday.
What happened so far:
- Internet outage since early in the morning. Still going on.
- Unable to reach a human being at my ISP, so I hope they mean it when the computer voice says āwe know it, weāre on itā. š¤£
- systemd (PID 1) crashed. Might be partially my fault, but meh.
I take this as a sign to not do any computer stuff today. š¤£
@prologic Doesnāt matter. Far, far away! From everything! Thatās where Iād go. š
Ran a few tests.
Copying data from the NASās encrypted ZFS pool to the USB diskās encrypted btrfs runs at ~20 MByte/s. That is for a single 1 GB file of random data. Cold caches, sync
included.
That same USB disk with the same btrfs can sustain ~75 MByte/s when I use it on my workstation (i7-3770).
And indeed, the aes
flag does not show up in the output of lscpu
on the NAS.
Iāll try to tweak some things about this, but it might be time for an upgrade ā¦ š«¤ (Or Iāll have to re-think the entire thing somehow.)
@mckinley Itās probably a bit faster, but not much. Maybe 20-30 MByte/s (I watched one 40 GB file being copied and it took 20-30 minutes or something like that.)
I need to optimize this. š„“
The āannoyingā thing about hardware these days is that it basically keeps working āforeverā. At least much, much longer that youād expect.
Now that I think about it ā¦ I only remember one PC of mine actually dying because of a hardware failure ā and that was probably because I did too much overclocking. š If it wasnāt for changes in software, I could probably still use them all. I mean, why not, my Pentium 133 still works and I use it for gaming regularly.
So ā¦ my little NAS probably wonāt die any time soon. Hmmm.
@mckinley Not really sure, to be honest. Probably a couple hundred GB ā¦ ? š¤ With the changed data, it might be half a TB to transfer? Iām just guessing.
Letās see how it goes next time. I donāt expect to add much data any time soon. (On the other hand, Iāll swap the USB disks for the next run, so itāll take the same ~9 hours, again. Meh.)
I think the solution is to have less data. š
@lyse@lyse.isobeef.org Yeah, only ~30 of the ~133 feeds Iām following have had a twt in the last month ā¦ 56 in the last year. Some had their last twt in 2016. š«¤
@prologic From the DOM? That canāt be right. š³š³š³
@prologic It always fetches the canonical feed URL and, when it canāt find the latest twt hash (that it saw in the previous run) it traverses the archived feeds until it does find it. Something along those lines.
I just got one such notification:
Date: Tue, 07 May 2024 15:56:01 +0200
From: me@pinguin
To: me@pinguin
Subject: [regularly] jenny
Fetching archived feed https://twtxt.net/user/prologic/twtxt.txt/1 (configured as prologic, https://twtxt.net/user/prologic/twtxt.txt)
Fetching archived feed https://twtxt.net/user/prologic/twtxt.txt/2 (configured as prologic, https://twtxt.net/user/prologic/twtxt.txt)
Fetching archived feed https://twtxt.net/user/prologic/twtxt.txt/3 (configured as prologic, https://twtxt.net/user/prologic/twtxt.txt)
Fetching archived feed https://twtxt.net/user/prologic/twtxt.txt/4 (configured as prologic, https://twtxt.net/user/prologic/twtxt.txt)
Fetching archived feed https://twtxt.net/user/prologic/twtxt.txt/5 (configured as prologic, https://twtxt.net/user/prologic/twtxt.txt)
Now, your feed did not get archived, as far as I can tell. So why am I getting this then? Have you edited a twt just now? That would explain it. š
@prologic Strip it from what? From requests being sent to the server? Thatās always been the case, afaik. š¤
@prologic Huh? What does that look like in Chrome? š¤ (I only have Chromium.)
@prologic My client tells me when it fetches archived feeds. Thatās all.
~/go/bin
to your $PATH
, at least I did. Iām not sure what to do about it, though. š¤ This doesnāt really belong into Yarnās setup guide and itās mentioned as one of the first things in the Arch wiki, for example, but still ā¦ To newcomers this might look a bit like a broken build process:
@prologic Ah, yes, thatās better! š
(Hmmm, I think I could add the time of the last twt to the output of jenny -l
. š¤ Currently it only shows the last successful retrieval time.)
@prologic Every now and then, I get a notification about Yarn feeds getting archived/rotated. š Appears to work without issues. š
yarnd setup
look like to anyone? š¤ Let's say it exists, and it helps you setup a Yarn pod in seconds. What does it do? Of course I'd have to split out yarnd
itself into yarnd run
to actually run the server/daemon part.
@prologic One minor detail: The Makefile wants to run date -Is
, which doesnāt exist on OpenBSD. Not sure how relevant this platform is for you, though. š
I havenāt come up with a portable solution yet. date '+%FT%T%z'
is the closest approximation that works on both GNU and OpenBSD, but it doesnāt include a colon in the time zone offset, so itās 0200
instead of 02:00
. š¤¦ Iām not sure if this is ISO8601 compliant. And itās still not POSIX. š¤¦ Well, I tried. š