Tags: age

3169

sparkline

Sunday, March 29th, 2020

Playing Bonaparte Crossing The Rhine (hornpipe) on mandolin: https://thesession.org/tunes/7 https://www.youtube.com/watch?v=74xrIsxL84Q

Playing Bonaparte Crossing The Rhine (hornpipe) on mandolin:

https://thesession.org/tunes/7

https://www.youtube.com/watch?v=74xrIsxL84Q

Saturday, March 28th, 2020

Playing Donnybrook Fair (jig) on mandolin: https://thesession.org/tunes/26 https://www.youtube.com/watch?v=dlAo5x-NUj0

Playing Donnybrook Fair (jig) on mandolin:

https://thesession.org/tunes/26

https://www.youtube.com/watch?v=dlAo5x-NUj0

Friday, March 27th, 2020

Playing Paddy Fahey’s (reel) on mandolin: https://thesession.org/tunes/150 https://www.youtube.com/watch?v=o-1E7qrAulM

Playing Paddy Fahey’s (reel) on mandolin:

https://thesession.org/tunes/150

https://www.youtube.com/watch?v=o-1E7qrAulM

Thursday, March 26th, 2020

Playing The Yellow Wattle (jig) on mandolin: https://thesession.org/tunes/1237 https://www.youtube.com/watch?v=90GbCBKrHng

Playing The Yellow Wattle (jig) on mandolin:

https://thesession.org/tunes/1237

https://www.youtube.com/watch?v=90GbCBKrHng

Apple’s attack on service workers

Apple aren’t the best at developer relations. But, bad as their communications can be, I’m willing to cut them some slack. After all, they’re not used to talking with the developer community.

John Wilander wrote a blog post that starts with some excellent news: Full Third-Party Cookie Blocking and More. Safari is catching up to Firefox and disabling third-party cookies by default. Wonderful! I’ve had third-party cookies disabled for a few years now, and while something occassionally breaks, it’s honestly a pretty great experience all around. Denying companies the ability to track users across sites is A Good Thing.

In the same blog post, John said that client-side cookies will be capped to a seven-day lifespan, as previously announced. Just to be clear, this only applies to client-side cookies. If you’re setting a cookie on the server, using PHP or some other server-side language, it won’t be affected. So persistent logins are still doable.

Then, in an audacious example of burying the lede, towards the end of the blog post, John announces that a whole bunch of other client-side storage technologies will also be capped to seven days. Most of the technologies are APIs that, like cookies, can be used to store data: Indexed DB, Local Storage, and Session Storage (though there’s no mention of the Cache API). At the bottom of the list is this:

Service Worker registrations

Okay, let’s clear up a few things here (because they have been so poorly communicated in the blog post)…

The seven day timer refers to seven days of Safari usage, not seven calendar days (although, given how often most people use their phones, the two are probably interchangable). So if someone returns to your site within a seven day period of using Safari, the timer resets to zero, and your service worker gets a stay of execution. Lucky you.

This only applies to Safari. So if your site has been added to the home screen and your web app manifest has a value for the “display” property like “standalone” or “full screen”, the seven day timer doesn’t apply.

That piece of information was missing from the initial blog post. Since the blog post was updated to include this clarification, some people have taken this to mean that progressive web apps aren’t affected by the upcoming change. Not true. Only progressive web apps that have been added to the home screen (and that have an appropriate “display” value) will be spared. That’s a vanishingly small percentage of progressive web apps, especially on iOS. To add a site to the home screen on iOS, you need to dig and scroll through the share menu to find the right option. And you need to do this unprompted. There is no ambient badging in Safari to indicate that a site is installable. Chrome’s install banner isn’t perfect, but it’s better than nothing.

Just a reminder: a progressive web app is a website that

  • runs on HTTPS,
  • has a service worker,
  • and a web manifest.

Adding to the home screen is something you can do with a progressive web app (or any other website). It is not what defines progressive web apps.

In any case, this move to delete service workers after seven days of using Safari is very odd, and I’m struggling to find the connection to the rest of the blog post, which is about technologies that can store data.

As I understand it, with the crackdown on setting third-party cookies, trackers are moving to first-party technologies. So whereas in the past, a tracking company could tell its customers “Add this script element to your pages”, now they have to say “Add this script element and this script file to your pages.” That JavaScript file can then store a unique idenitifer on the client. This could be done with a cookie, with Local Storage, or with Indexed DB, for example. But I’m struggling to understand how a service worker script could be used in this way. I’d really like to see some examples of this actually happening.

The best explanation I can come up with for this move by Apple is that it feels like the neatest solution. That’s neat as in tidy, not as in nifty. It is definitely not a nifty solution.

If some technologies set by a specific domain are being purged after seven days, then the tidy thing to do is purge all technologies from that domain. Service workers are getting included in that dragnet.

Now, to be fair, browsers and operating systems are free to clean up storage space as they see fit. Caches, Local Storage, Indexed DB—all of those are subject to eventually getting cleaned up.

So I was curious. Wanting to give Apple the benefit of the doubt, I set about trying to find out how long service worker registrations currently last before getting deleted. Maybe this announcement of a seven day time limit would turn out to be not such a big change from current behaviour. Maybe currently service workers last for 90 days, or 60, or just 30.

Nope:

There was no time limit previously.

This is not a minor change. This is a crippling attack on service workers, a technology specifically designed to improve the user experience for return visits, whether it’s through improved performance or offline access.

I wouldn’t be so stunned had this announcement come with an accompanying feature that would allow Safari users to know when a website is a progressive web app that can be added to the home screen. But Safari continues to ignore the existence of progressive web apps. And now it will actively discourage people from using service workers.

If you’d like to give feedback on this ludicrous development, you can file a bug (down in the cellar in the bottom of a locked filing cabinet stuck in a disused lavatory with a sign on the door saying “Beware of the Leopard”).

No doubt there will still be plenty of Apple apologists telling us why it’s good that Safari has wished service workers into the cornfield. But make no mistake. This is a terrible move by Apple.

I will say this though: given The Situation we’re all living in right now, some good ol’ fashioned Hot Drama by a browser vendor behaving badly feels almost comforting.

Wednesday, March 25th, 2020

Playing The Lady On The Island (reel) on mandolin: https://thesession.org/tunes/938 https://www.youtube.com/watch?v=9INkXX3bDU8

Playing The Lady On The Island (reel) on mandolin:

https://thesession.org/tunes/938

https://www.youtube.com/watch?v=9INkXX3bDU8

Tuesday, March 24th, 2020

Playing Elizabeth Kelly’s Delight (slip jig) on mandolin: https://thesession.org/tunes/953 https://www.youtube.com/watch?v=l0BGOkknK10

Playing Elizabeth Kelly’s Delight (slip jig) on mandolin:

https://thesession.org/tunes/953

https://www.youtube.com/watch?v=l0BGOkknK10

Monday, March 23rd, 2020

Playing The Lilting Fisherman (reel) on mandolin: https://thesession.org/tunes/345 https://www.youtube.com/watch?v=xvuw3tmLdHU

Playing The Lilting Fisherman (reel) on mandolin:

https://thesession.org/tunes/345

https://www.youtube.com/watch?v=xvuw3tmLdHU

Sunday, March 22nd, 2020

Playing The Banks of Lough Gowna (jig) on mandolin: https://thesession.org/tunes/775 https://www.youtube.com/watch?v=-eiqhVmSPcs

Playing The Banks of Lough Gowna (jig) on mandolin:

https://thesession.org/tunes/775

https://www.youtube.com/watch?v=-eiqhVmSPcs

Saturday, March 21st, 2020

Cheers!

Cheers!

Checked in at Queen's Park. Getting some fresh air — with Jessica map

Checked in at Queen’s Park. Getting some fresh air — with Jessica

Playing Swinging On The Gate (reel) on mandolin: https://thesession.org/tunes/236 https://www.youtube.com/watch?v=iq5sxhD_bTU

Playing Swinging On The Gate (reel) on mandolin:

https://thesession.org/tunes/236

https://www.youtube.com/watch?v=iq5sxhD_bTU

My first sourdough! (Thanks to @SometimeSophia’s starter and excellent instructions.)

My first sourdough! (Thanks to @SometimeSophia’s starter and excellent instructions.)

Friday, March 20th, 2020

Playing The Rose In The Heather (jig) on mandolin: https://thesession.org/tunes/447 https://www.youtube.com/watch?v=qB74np9YemE

Playing The Rose In The Heather (jig) on mandolin:

https://thesession.org/tunes/447

https://www.youtube.com/watch?v=qB74np9YemE

Into content strategy? UX writing? At 11am UTC you can pepper @Minette_78 with questions using the tag of hashiness #AskClearleft.

Into content strategy? UX writing? At 11am UTC you can pepper @Minette_78 with questions using the tag of hashiness #AskClearleft.

Thursday, March 19th, 2020

Playing Farrel O’Gara’s reel on mandolin: https://thesession.org/tunes/234 https://www.youtube.com/watch?v=ouOkbvElZSI

Playing Farrel O’Gara’s reel on mandolin:

https://thesession.org/tunes/234

https://www.youtube.com/watch?v=ouOkbvElZSI

Wednesday, March 18th, 2020

Winding down with a can of @LostFoundABL R23 session IPA. Cheers!

Winding down with a can of @LostFoundABL R23 session IPA.

Cheers!

Replying to

❤️

❤️

Tuesday, March 17th, 2020

Having a St. Patrick’s night feast at home. Lá ‘le Pádraig sona daoibh go léir!

Having a St. Patrick’s night feast at home.

Lá ‘le Pádraig sona daoibh go léir!

I usually do my procrastinating in the @Clearleft studio but I’ll be Procrastinating From Home now.

I usually do my procrastinating in the @Clearleft studio but I’ll be Procrastinating From Home now.