Jeremy Keith's Blog, page 24

February 22, 2023

Web Audio API update on iOS

I documented a weird bug with web audio on iOS a while back:

On some pages of The Session, as well as the audio player for tunes (using the Web Audio API) there are also embedded YouTube videos (using the video element). Press play on the audio player; no sound. Press play on the YouTube video; you get sound. Now go back to the audio player and suddenly you do get sound!

It���s almost like playing a video or audio element ���kicks��� the browser into realising it should be playing the sound from the Web Audio API too.

This was happening on iOS devices set to mute, but I was also getting reports of it happening on devices with the sound on. But it���s that annoyingly intermittent kind of bug that���s really hard to reproduce consistently. Sometimes the sound doesn���t play. Sometimes it does.


I found a workaround but it was really hacky. By playing a one-second long silent mp3 file using audio, you could ���kick��� the sound into behaving. Then you can use the Web Audio API and it would play consistently.

Well, that���s all changed with the latest release of Mobile Safari. Now what happens is that the Web Audio stuff plays ���for one second. And then stops.

I removed the hacky workaround and the Web Audio API started behaving itself again ���but your device can���t be set to silent.

The good news is that the Web Audio behaviour seems to be consistent now. It only plays if the device isn���t muted. This restriction doesn���t apply to video and audio elements; they will still play even if your device is set to silent.

This descrepancy between the two different ways of playing audio is kind of odd, but at least now the Web Audio behaviour is predictable.

You can hear the Web Audio API in action by going to any tune on The Session and pressing the ���play audio��� button.

 •  0 comments  •  flag
Share on Twitter
Published on February 22, 2023 02:15

February 21, 2023

UX London 2023 scholarship programme

If you���re a western white guy like me, you���re playing life on its easiest setting. If you���re also a designer, then you should get a ticket to UX London. You can probably get work to pay for it. Share this list of reasons to attend with your boss if you have to.

If, on the other hand, you don���t benefit from the same level of privilege as me, you might still be able to attend UX London 2023. We���re running a scholarship programme.

���We��� in this case is Clearleft. But as we also need to at least break even on this event, there are only a limited number of scholarship spots available.

Now, if your company were in a position to pony up some moolah to sponsor more diversity scholarship places, we would dearly love to hear from you���get in touch!

If you think you might qualify for a diversity scholarship, fill in this form before May 19th. We���ll then notify you by May 26th, whether you application is successful or not. And if you���re worried about the additional costs of travel and accommodation, I���m sure we can figure something out.

Wondering if you should apply? It���s hard to define exactly who qualifies for a diversity scholarship, but basically, the more your life experience matches mine, the less qualified you are. If you are a fellow able-bodied middle-aged heterosexual white dude with a comfortable income, do me a favour and don���t apply. Everyone else, go for it.

 •  0 comments  •  flag
Share on Twitter
Published on February 21, 2023 07:42

February 20, 2023

Redesigning UX London

I���ve been redesigning UX London. I don���t mean the website. I mean the event itself.

Don���t worry, it���s nothing too radical. It���s not like we���re changing the focus of the event, which remains a nerdfest for all things design-related.

But there are plenty of other opportunities for tweaking a conference like this: the format, the timings, the location.

For 2023 we���re not changing the location. Tobacco Dock worked out well for last year���s event, although it is very expensive (then again, so is anywhere decent in London). Last year there were a lot of unknowns in play because it was our first time using the venue. It feels good that this year we don���t have to go through quite as much uncertainty.

The most obvious change to UX London this year is the length. The event will last for two days instead of three.

Running a three-day event was a lot of work, so this helps relieve the pressure. It was also asking a lot of attendees. That���s why we also offered one-day tickets. For the people who couldn���t commit to three days at a conference, there was the option to pick and choose.

But that brought its own issues. Instead of everyone having the same shared experience, the audience was a bit fractured.

Now that we���ve slimmed it down to two days, we���re selling the same two-day tickets for everyone. No more single-day tickets; no more partial attendance. Judging by the way ticket sales have been going, this is a very welcome move.

(Even before announcing any speakers, we had already sold a healthy amount of tickets. That���s probably testament to the great reputation that UX London has built up over the years. I need to make sure I don���t squander that good will. No pressure.)

On the subject of everyone having a shared experience, there���s something about the format of UX London that���s bothered me for a while…

Each day is split into two halves. In the morning, you���ve got inspirational talks. That���s one single track. Then in the afternoon, you���ve got hands-on practical workshops. They happen in parallel.

That makes for a great mix, but the one downside is that the day ends with the audience split across the different workshops.

This year I���m tweaking the format slightly. We���ll still have a single track of talks in the morning followed by multiple workshops in the afternoon, but I���m shortening the workshop length slightly to fit in one last talk at the end of the day. That way, everybody will come back together again after their workshops to participate in a shared experience.

The audience will converge at the beginning of the day, diverge in the afternoon, and this time we���ll converge again at day���s end.

The workshops are a big part of what makes UX London stand out. But they also pose a big design challenge. How do you ensure that everyone gets to attend the workshops they want?

We could make people pick their workshops in advance. But then you end up with the office Christmas dinner party problem���you know the one; everyone has to choose their meal way in advance, and then on the day, no one remembers what they ordered.

Besides, if we make people choose in advance, it���s not fair on people who buy their ticket close to the event.

In the end, using a first-come, first-served strategy on the day has worked out best. But it���s not ideal. You could miss out on attending your first choice of workshop if you���re not fast enough.

This year we���re trying something new. Each afternoon there���ll be a choice of workshops, as always. But this time, it���ll be the same workshops on both days. That way, every attendee gets a second chance to get to the workshops they want. And it���ll help reduce the FOMO���Fear Of Missing Out. It still won���t be possible to attend all the workshops without cloning yourself, but this way, you get to attend half of them.

To recap, here���s the redesigned format for UX London 2023:

It���s a two-day event on June 22nd and 23rd���there are no individual day tickets.There are talks in the morning, workshops in the afternoon, and one final talk at the end of the day.The workshops will be repeated each day so nobody misses out on the workshop they want.

The line-up is coming together nicely. I���ve got more confirmed speakers, who I don���t want to reveal just yet. But trust me, you won���t want to miss this!

Oh, and you should probably grab your ticket this week if you haven���t already: early-bird pricing ends on midnight on Friday, February 24th.

 •  0 comments  •  flag
Share on Twitter
Published on February 20, 2023 06:51

February 19, 2023

These were my jams

This Is My Jam was a lovely website. Created by Hannah and Matt in 2011, it ran until 2015, at which point they had to shut it down. But they made sure to shut it down with care and consideration.

In many ways, This Is My Jam was the antithesis of the prevailing Silicon Valley mindset. Instead of valuing growth and scale above all else, it was deliberately thoughtful. Rather than ���maximising engagement���, it asked you to slow down and just share one thing: what piece of music are you really into right now? It was up to you to decide whether ���right now��� meant this year, this month, this week, or this day.

I used to post songs there sporadically. Here���s a round-up of the twelve songs I posted in 2013. There was always some reason for posting a particular piece of music.

I was reminded of This Is My Jam recently when I logged into Spotify (not something I do that often). As part of the site���s shutdown, you could export all your jams into a Spotify playlist. Here���s mine.

Listening back to these 50 songs all these years later gave me the warm fuzzies.

 •  0 comments  •  flag
Share on Twitter
Published on February 19, 2023 02:14

February 17, 2023

Push

Push notifications are finally arriving on iOS���hallelujah! Like I said last year, this is my number one wish for the iPhone, though not because I personally ever plan to use the feature:

When I���m evangelising the benefits of building on the open web instead of making separate iOS and Android apps, I inevitably get asked about notifications. As long as mobile Safari doesn���t support them���even though desktop Safari does���I���m somewhat stumped. There���s no polyfill for this feature other than building an entire native app, which is a bit extreme as polyfills go.


With push notifications in mobile Safari, the arguments for making proprietary apps get weaker. That���s good.

The announcement post is a bit weird though. It never uses the phrase ���progressive web apps���, even though clearly the entire article is all about progressive web apps. I don���t know if this down to Not-Invented-Here syndrome by the Apple/Webkit team, or because of genuine legal concerns around using the phrase.

Instead, there are repeated references to ���Home Screen apps���. This distinction makes some sense though. In order to use web push on iOS, your website needs to be added to the home screen.

I think that would be fair enough, if it weren���t for the fact that adding a website to the home screen remains such a hidden feature that even power users would be forgiven for not knowing about it. I described the steps here:

Tap the ���share��� icon. It���s not labelled ���share.��� It���s a square with an arrow coming out of the top of it.A drawer pops up. The option to ���add to home screen��� is nowhere to be seen. You have to pull the drawer up further to see the hidden options.Now you must find ���add to home screen��� in the listCopyAdd to Reading ListAdd BookmarkAdd to FavouritesFind on PageAdd to Home ScreenMarkupPrint

As long as this remains the case, we can expect usage of web push on iOS to be vanishingly low. Hardly anyone is going to add a website to their home screen when their web browser makes it so hard.

If you���d like to people to install your progressive web app, you���ll almost certainly need to prompt people to do so. Here���s the page I made on thesession.org with instructions on how to add to home screen. I link to it from the home page of the site.

I wish that pages like that weren���t necessary. It���s not the best user experience. But as long as mobile Safari continues to bury the home screen option, we don���t have much choice but to tackle this ourselves.

 •  0 comments  •  flag
Share on Twitter
Published on February 17, 2023 02:58

February 15, 2023

Brandolini���s blockchain

I���ve already written about how much I enjoyed hosting Leading Design San Francisco last week.

All the speakers were terrific. Lola���s talk was particularly ���um, interesting:

In this talk, Lola will share her adventures in the world of blockchain, the hostility she experienced in her first go-round in 2018, and why she���s chosen to head back to a technology that is going through its largest reputational and social crisis to date.


Wait ���I was supposed to stand on stage and introduce a talk that was (at least partly) about blockchain? I have opinions.

As it turned out, Lola warned me that I���d be making an appearance in her talk. She was going to quote that blog post. Before the talk, I asked her how obnoxious I could be about blockchain in her intro. She told me to bring it.

So in the introduction, I deployed all the sarcasm I had in me and said:

Listen, we designers have a tendency to be over-critical of things sometimes. There are all these ideas that we dismiss: phrenology, homeopathy, flat-earthism ���blockchain. Haters gonna hate.

I remember somebody asking online a while back, ���Why the hate for web3?��� And someone I know responded by saying ���We hate it because we understand it.��� I think there���s a lot of truth to that.

But look, just because blockchains are powering crypto ponzi schemes and N F fucking Ts, it���s worth remembering that it���s also simply a technology. It���s a technological solution in search of a problem.

To be fair, it���s still early days. After all, it���s only been over a decade now.

It���s like the law of instrument says; when all you have is a hammer, everything looks like a nail. Blockchain is like that. Except the hammer is also made of glass.

Anyway, Lola is going to defend the indefensible and talk about blockchain. One thing to keep in mind is this: remember when everyone was talking about ���The Cloud���? And then it turned out that you could substitute the phrase ���someone else���s server��� for ���The Cloud?��� Well, every time you hear Lola say the word ���blockchain���, I���d like you to mentally substitute the phrase ���multiple copies of a spreadsheet.���

Please give an open mind and a warm welcome to Lola Oyelayo Pearson!


I got some laughs. I also got lots of gasps and pearl-clutching, as though I were saying something taboo. Welcome to San Francisco.

Lola gave as good as she got. I got a roasting in her talk.

And just to clarify, Lola and I are friends���this was a consensual smackdown.

There was a very serious point to Lola���s talk. Cryptobollocks and other blockchain-powered schemes have historically been very bro-y, and exploitative of non-bro communities. Lola wants to fight that trend.

I get it. But it reminds me a bit of the justifications you hear from people who go to work at Facebook claiming that they can do more good from the inside. Whatever helps you sleep at night.

The crux of Lola���s belief is this: blockchain technology is inevitable, therefore it is uncumbent on us as ethical designers to ensure that the technology is deployed in a way that empowers people instead of exploiting them.

But I take issue with the premise. Blockchain technology is not inevitable. That���s the worst kind of technological determinism. It���s defeatist. It���s a depressing view of ���progress��� driven not by people, but by technological forces beyond our control.

I refuse to accept that anti-humanist deterministic view.

In any case, for technological determinism to have any validity, there needs to be something to it. At least virtual reality and machine learning are based on some actual technologies. In the case of cryptobollocks, there is no there there. There is nothing except the hype, which is why you���ll see blockchain enthusiasts trying to ride the coattails of trending technologies in a logical fallacy that goes something like this:

There are technologies that will be really big in the future,blockchain is a technology, thereforeblockchain will be really big in the future.

Blockchain is bullshit. It isn���t even very clever bullshit. And it certainly isn���t inevitable.

 •  0 comments  •  flag
Share on Twitter
Published on February 15, 2023 09:31

Brandolini’s blockchain

I���ve already written about how much I enjoyed hosting Leading Design San Francisco last week.

All the speakers were terrific. Lola���s talk was particularly ���um, interesting:

In this talk, Lola will share her adventures in the world of blockchain, the hostility she experienced in her first go-round in 2018, and why she’s chosen to head back to a technology that is going through its largest reputational and social crisis to date.


Wait ���I was supposed to stand on stage and introduce a talk that was (at least partly) about blockchain? I have opinions.

As it turned out, Lola warned me that I���d be making an appearance in her talk. She was going to quote that blog post. Before the talk, I asked her how obnoxious I could be about blockchain in her intro. She told me to bring it.

So in the introduction, I deployed all the sarcasm I had in me and said:

Listen, we designers have a tendency to be over-critical of things sometimes. There are all these ideas that we dismiss: phrenology, homeopathy, flat-earthism ���blockchain. Haters gonna hate.

I remember somebody asking online a while back, ���Why the hate for web3?��� And someone I know responded by saying ���We hate it because we understand it.��� I think there���s a lot of truth to that.

But look, just because blockchains are powering crypto ponzi schemes and N F fucking Ts, it���s worth remembering that it���s also simply a technology. It���s a technological solution in search of a problem.

To be fair, it���s still early days. After all, it���s only been over a decade now.

It���s like the aw of instrument says; when all you have is a hammer, everything looks like a nail. Blockchain is like that. Except the hammer is also made of glass.

Anyway, Lola is going to defend the indefensible and talk about blockchain. One thing to keep in mind is this: remember when everyone was talking about ���The Cloud���? And then it turned out that you could substitute the phrase ���someone else���s server��� for ���The Cloud?��� Well, every time you hear Lola say the word ���blockchain���, I���d like you to mentally substitute the phrase ���multiple copies of a spreadsheet.���

Please give an open mind and a warm welcome to Lola Oyelayo Pearson!


I got some laughs. I also got lots of gasps and pearl-clutching, as though I were saying something taboo. Welcome to San Francisco.

Lola gave as good as she got. I got a roasting in her talk.

And just to clarify, Lola and I are friends���this was a consensual smackdown.

There was a very serious point to Lola���s talk. Cryptobollocks and other blockchain-powered schemes have historically been very bro-y, and exploitative of non-bro communities. Lola wants to fight that trend.

I get it. But it reminds me a bit of the justifications you hear from people who go to work at Facebook claiming that they can do more good from the inside. Whatever helps you sleep at night.

The crux of Lola���s belief is this: blockchain technology is inevitable, therefore it is uncumbent on us as ethical designers to ensure that the technology is deployed in a way that empowers people instead of exploiting them.

But I take issue with the premise. Blockchain technology is not inevitable. That���s the worst kind of technological determinism. It���s defeatist. It���s a depressing view of ���progress��� driven not by people, but by technological forces beyond our control.

I refuse to accept that anti-humanist deterministic view.

In any case, for technological determinism to have any validity, there needs to be something to it. At least virtual reality and machine learning are based on some actual technologies. In the case of cryptobollocks, there is no there there. There is nothing except the hype, which is why you���ll see blockchain enthusiasts trying to ride the coattails of trending technologies in a logical fallacy that goes something like this:

There are technologies that will be really big in the future,blockchain is a technology, thereforeblockchain will be really big in the future.

Blockchain is bullshit. It isn���t even very clever bullshit. And it certainly isn���t inevitable.

 •  0 comments  •  flag
Share on Twitter
Published on February 15, 2023 09:31

February 14, 2023

The first four speakers for UX London 2023

Please put your fingers on the desk in front of you and move them up and down rapidly in the manner of a snare drum���

I���m very happy to announce the first four speakers for UX London 2023:

Imran Afzal, Principal Designer at Co-op Digital,Vimla Appadoo, Head of Experience at Culture Shift,Daniel Burka, Director of Design at Resolve to Save Lives, and Mansi Gupta, Founder of Unconform. A tan-skinned young man with short hair and a neatly trimmed beard wearing glasses, a baseball cap and jacket smiles in front of a wall. A brown-skinned woman with short hair and a colourful yellow top wearing a virtual reality headset looking to one side. A studio portrait of a clean-shaven light-skinned man with short dark hair in a white shirt. An outdoor portrait of a brown-skinned woman with shoulder-length black hair and glasses.

This is shaping up nicely! You can expect some more speaker announcements before too long.

But don���t wait too long to get your ticket���early-bird pricing ends this month on Friday, February 24th. Then the price goes up by ��200. If you need to convince your boss, here are some reasons to attend.

I very much look forward to seeing you at Tobacco Dock on June 22nd and 23rd this year!

 •  0 comments  •  flag
Share on Twitter
Published on February 14, 2023 08:36

February 12, 2023

You can call me AI

I���ve mentioned before that I���m not a fan of initialisms and acronyms. They can be exclusionary.

It bothers me doubly when everyone is talking about AI.

First of all, the term is so vague as to be meaningless. Sometimes���though rarely���AI refers to general artificial intelligence. Sometimes AI refers to machine learning. Sometimes AI refers to large language models. Sometimes AI refers to a series of if/else statements. That���s quite a spectrum of meaning.

Secondly, there���s the assumption that everyone understands the abbreviation. I guess that���s generally a safe assumption, but sometimes AI could refer to something other than artificial intelligence.

In countries with plenty of pastoral agriculture, if someone works in AI, it usually means they���re going from farm to farm either extracting or injecting animal semen. AI stands for artificial insemination.

I think that abbreviation might work better for the kind of things currently described as using AI.

We were discussing this hot topic at work recently. Is AI coming for our jobs? The consensus was maybe, but only the parts of our jobs that we���re more than happy to have automated. Like summarising some some findings. Or perhaps as a kind of lorem ipsum generator. Or for just getting the ball rolling with a design direction. As Terence puts it:

Midjourney is great for a first draft. If, like me, you struggle to give shape to your ideas then it is nothing short of magic. It gets you through the first 90% of the hard work. It’s then up to you to refine things.


That���s pretty much the conclusion we came to in our discussion at Clearleft. There���s no way that we���d use this technology to generate outputs for clients, but we certainly might use it to generate inputs. It���s like how we���d do a quick round of sketching to get a bunch of different ideas out into the open. Terence is spot on when he says:

Midjourney lets me quickly be wrong in an interesting direction.


To put it another way, using a large language model could be a way of artificially injecting some seeds of ideas. Artificial insemination.

So now when I hear people talk about using AI to create images or articles, I don���t get frustrated. Instead I think, ���Using artificial insemination to create images or articles? Yes, that sounds about right.���

 •  0 comments  •  flag
Share on Twitter
Published on February 12, 2023 17:34

February 10, 2023

Home stream

Ben wrote a post a little while back about maybe organising his home page differently. It���s currently a stream.

That prompted Om to ask is ���stream��� as a design paradigm over? Mind you, he���s not talking about personal websites:

Across the web, one can see ���streams��� losing their preeminence. Social networks are increasingly algorithmically organized, so their stream isn���t really a free-flowing stream. It is more like a river that has been heavily dammed. It is organized around what the machine thinks we need to see based on what we have seen in the past.


Funnily enough, I���ve some recent examples of personal homepages become more like social networks, at least in terms of visual design. A lot of people I know are liking the recent redesigns from Adam and Jhey.

Here on my site, my home page is kind of a stream. I���ve got notes, links, and blog posts one after another in chronological order. The other sections of my site are ways of focusing in on the specific types of content links, short notes, blog posts in my journal.

Behind the scenes, entries those separate sections of my site are all stored in the same database table. In some ways, the separation into different sections of the site is more like tagging. So the home page is actually the simplest bit to implement: grab the latest 20 entries out of that database table.

I don���t make too much visual distinction between the different kinds of posts. My links and my notes look quite similar. And if I post a lot of commentary with a link, it looks a lot like a blog post.

Maybe I should make them more distinct, visually. Because I actually like the higgedly-piggedly nature of a stream of different kinds of stuff. I want the vibe to be less like a pristine Apple store, and more like a chaotic second-hand bookstore.

Going back to what Ben wrote about his site:

As of right now, the homepage is a mix of long-form posts, short thoughts, and links I consider interesting, presented as a stream. It���s a genuine representation of what I���m reading and thinking about, and each post���s permalink page looks fine to me, but it doesn���t quite hold together as a whole. If you look at my homepage with fresh eyes, my stream is a hodgepodge. There���s no through line.


For me, that���s a feature, not a bug. There���s no through line on my home page either. I like that.

 •  0 comments  •  flag
Share on Twitter
Published on February 10, 2023 12:26

Jeremy Keith's Blog

Jeremy Keith
Jeremy Keith isn't a Goodreads Author (yet), but they do have a blog, so here are some recent posts imported from their feed.
Follow Jeremy Keith's blog with rss.