social.tchncs.de is one of the many independent Mastodon servers you can use to participate in the fediverse.
A friendly server from Germany – which tends to attract techy people, but welcomes everybody. This is one of the oldest Mastodon instances.

Administered by:

Server stats:

3.9K
active users

David Guillot

📣 ✍️ New blog post!

This one is special to me, partly because it took some time to cook 😅 , partly because I talk a bit about (which is not my main field), and partly because it features an experiment: after talking about and with , I'm asking my dear readers (you 😉) to visit a small demo website and tell me how it went!

You can give feedback here, or on Lemmy, Lobsters, etc. I'll update the post with the links!

So here it is: david.guillot.me/en/posts/tech

Enjoy! 😸🔔

David Guillot · Push notifications without a mobile app: an experiment (with Django)
More from David Guillot

@tjcrowdertech @konsonantenboy thanks for the feedback! I actually had an outage in the worker during the evening, and when I started it up again, obviously it handled messages that had stacked during the outage. I'll put up some monitoring on this, because I'm not sure about the reasons why it crashed.

@david_guillot

FYI, I subscribed on iOS and Vivaldi (on Linux) a little after 4 p.m. my time. In the time since, two kittens have been added, but I've gotten no notifications on either device.

@david_guillot Update: I have since received a single notification on my desktop (Vivaldi) at about 08:01 UTC. None on iOS.

@tjcrowdertech Thanks for following this up! What's your iOS version?

@david_guillot 18.1.1. Still no notifications there. I'm updating to 18.2.1 now.

Got the 09:00 notification on the desktop.

@tjcrowdertech Ah, and on iOS, are you using Safari or another browser? I think for now it only works on Safari...

@david_guillot I used Safari, since I know add-to-home-screen only works with Safari (for now; the EU are working on it!😃). As a double-check, when I tap the home screen icon, it opens in Safari.

@david_guillot When the update completed I tapped the home screen icon and it still had the "Allow Notifications" button showing. So I tapped that and it changed to "Unsubscribe from notifications" (no iOS prompt, presumably because I'd already done that bit last time). So I closed that (really closed, not just background) and reopened. Tapping the gear icon, I get the "Unsubscribe from notifications" button. So maybe I wasn't properly subscribed for some reason? We'll find out at 10 UTC...

@david_guillot Got notification on iOS! Not sure why I didn't before. I kind of wish I hadn't installed 18.2.1 now. I have access to a iPhone that still has 18.1.1, I'll try it and report back in an hour...

@david_guillot Having installed Kittens on the other phone, I have a theory: I think I used the Allow Notifications button on the page in Safari after installing it to the home screen, *not* in the "app" opened from the home screen icon. So I've done it that way (open the "app" via the home screen icon, subscribe). I bet I get a notification at 11 UTC. 🤞

@david_guillot Yup, got the notification on both phones (back at 11 UTC, just was in the middle of something and didn't have time to post).

So when I tapped Allow Notifications in the Safari page rather than the installed pwa, the button when dark and just stayed that way, I suspect this is because it was waiting for the Notifications permission and it never arrived because iOS didn't ask me because I wasn't using the installed pwa. I haven't looked at the source yet, but maybe a timeout with a message for the user or something? To allow for people doing it wrong (like I apparently did😃).

@david_guillot The first notifications came with 3 kittens at once, even if I should get just one added after the installation. The next ones came correctly in single notifications.
iPhone 13 mini, iOS 18.2.1

@david_guillot Hi David. I am trying it on my iphone. Will be providing feedback

@david_guillot Hi. So far, so good.
The notifications are working fine on my iphone and my Apple watch as well.