Duck(Duck)ing the User Interface

It must be well over a year now since I switched my main search engine from Google to DuckDuckGo. I changed partly because of concerns over Google’s handling of privacy issues, and partly just to try out the new one.

DuckDuckGo’s results are usually fine, and if you ever can’t find something and you think Google might be better, it’s easy to redirect your search there by adding “!g” at the end. There are other special codes like this, such as “!w” to search Wikipedia.

So it’s all fine. But what I’ve only gradually realised is that I much prefer the Duck’s user interface. And this is for one simple reason: infinite scrolling.

Now, infinite scrolling isn’t always good, and I’m sure it has a negative effect on things like usability and caching, in at least some cases. But on DDG (as I’m sure no-one ever calls it), it makes the whole search experience better.

Because sometimes there are more than ten Interesting hits. Or the interesting ones are long after the tenth. But with Google, you get ten on a page. And then you’ve got to click or touch a link to go to the next ten. And it just feels so old fashioned.

After just a few months on DDG (as we should all start calling it from now on) you can’t go back to Google without feeling a weird interrupt at the end of a page, before you go, “Oh, yeah, gotta click that.”

It’s just an inferior experience.

Surely There's a Better Answer Than That?

For one reason or another we wanted to remind ourselves1 of the Spanish word for “south.” I like to ask Siri for that kind of thing, because speaking to your phone is just easier than unlocking and typing sometimes. And Siri is not bad. It quite often gets the right answer for this kind of thing.

Fullsizeoutput 59f

Not so much there, though.

So it correctly understood my question; but instead of feeding it to Google Translate or another translation service, it sent it to Wolfram Alpha, seemingly. And that came back with intriguing answer that the Spanish for “south” is “about 99027 people.”

Seems like an unwieldy way to specify a compass direction.


  1. I say “remind” because I learned Spanish at school, my beloved is a linguist, and our daughter is learning it, so we knew really. ↩︎

Things That Should be Easy

It ought to be easy to install a software package on Linux. I mean, it usually is. All modern distros ship with package managers, right? So all you should have to do is type (Debian-based example):

sudo apt-get install PACKAGE-NAME

and away you go. Right?

Well, usually. But today, not for me.

I have a NAS box from Western Digital, which is really a little Linux server with a biggish disk drive. Some time ago I replaced the shipped distro with a newer one, but it was so long ago, and it’s been so quiet and reliable that I can’t remember what version, exactly.

So first, there seems to be no way to interrogate it to see what distro it is. I mean, there must be, and this page lists several ways, but none of them work on this box. I mean, uname shows me the kernel version and all that, but not the distro.

Anyway, all that doesn’t really matter. I was only doing it to install Node, and I was only wanting to install Node so that I could run AirSonos. We got a Sonos Play:1 for the kitchen recently, and it’s great, but the one weakness is that it doesn’t support playing from an arbitrary source one your phone, such as, say, your podcast app of choice (Overcast, obvs).

AirSonos is supposed to effectively turn the Sonos into an AirPlay speaker, so you can easily send audio to it from iOS devices. And you want it to be running on a server, so it’s available all the time.

But it turns out that Node does not want to install on my NAS. Either by apt-get, as above, or by downloading the binary and unpacking it. (That installs it, obviously, but it won’t run.)

I’m going to try running SonoAir on my MacBook. That’s a wrapper round AirSonos, and obviously it’ll only work (assuming it does at all) when my MacBook is awake. But life’s too short.

Getting Rid of Offensive Publications in Apple News Widget

This is not a “How To” article, it’s a “How Do I?” one. I’ve been googling (or duckducking) to try to find the answer, but to no avail yet.

Take a look at this screenshot:

Screenshot of Apple News widget on an iPad.
Screenshot of Apple News widget.

Note that those “Top Stories” include headlines from the Sun and Sky News. Two publications whose names and words I do not want to see polluting my iPad or iPhone.

But I can’t find any way to get rid of them. The widget details are linked to the Apple News app, and in the app itself you can specify preferences, but it doesn’t seem to affect what appears in the widget.

So if anyone has any idea of how to influence what appears there, please drop me a comment, or tweet me a link or something.

And yes I know I could disable the widget and/or delete the app, but I quite like the idea of it, in principle at least. And yes, I also know that avoiding the views of publications I dislike is only going to increase my own bubble effect. But you’ve got to have standards. I could cope with the Telegraph or even the Times (though I’d prefer not to). But the Sun? Come on.

On the Pronunciation of "X"

Now that the new version of Apple’s PC operating system has launched, some thoughts on something that’s been bugging me for a while.

Apple’s OS was called “OS X” from about 2000 or so. At one time it was “Mac OS X,” then at some point they dropped the “Mac” part. Now, of course, they’re dropping the “X,” (and the capital “M”) and going over to calling it “macOS.”

In the old version, I knew that the “X” was the Roman numeral for 10. It was release 10 of their operating system, so that was fine. But I always pronounced it as the letter “X” in my mind. Not least because, as the version numbers incremented, they were presented like this: 10.2, 10.3, and so on. Or more fully, “Mac OS X 10.2.”

So how were we meant to say that? “Mac Oh Ess ten ten point two”? Surely not. You can see why my internal monologue pronounced it “Oh Ess Ex ten point two”.

And so it was and so I left it. I knew the “X” had originally meant “ten,” but I couldn’t imagine that anyone would still pronounce it that way. Until I started listening to podcasts.

Wherein erudite, knowledgable Apple users such as John Gruber, or the hosts of the Accidental Tech Podcast were clearly heard to talk about “Oh Ess ten.” Though they mostly avoided saying the full, convoluted, Roman and Arabic mix of numbers. I think I did once hear David Sparks on Mac Power Users saying “Oh Ess ten ten point eight” (or whatever minor release number it might have been).

Still, I didn’t let it bother me. It wasn’t doing any harm, after all.

But then people started talking about relative sizes. I think I first noticed it when retina screens were being discussed. If you’re going to provide graphical resources to support both retina and non-retina screens, you have to provide versions of the image files at different resolutions. These are referred to in writing as “1x” and “2x” versions.

Now, it is obvious to me that that isn’t a letter “x” there (even thought that’s what I typed), but a multiplication symbol. More properly rendered as “×”.1 The idea being that you have the original file, and one at twice the resolution. The multiplication symbol is said as “times.” So we have “one times” and “two times.” Right?

But those pesky podcasts.

Soon they were filled with “one ex” and “two ex.” It was the OS X problem all over again — but this time in reverse!

But I gradually realised I might be wrong in my assessment. Graphics files are complicated beasts, after all. A file suitable for a retina screen doesn’t have twice the pixels needed for an older screen, for example: it has four times as many. There are twice as many on the x-axis and twice as many on the y-axis.

And that’s when I realised that the “x” might refer to the x-axis. Saying a file was “2x” could be shorthand for saying that it had twice as many pixels on both its x- and y-axes.

In which case pronouncing it “two ex” would be right after all. Perhaps the terminology came from developers and designers referring to size of the files.

Except… I have subsequently heard people say other numbers followed by “ex,” when what they clearly meant was a multiplier. Specifically, I heard CGP Grey saying “ten ex” when talking about a tenfold increase in something like YouTube subscribers. And he used to be a maths teacher, so he should really know better.

Can we ever escape from this insidious invasion of “ex” into spaces where “times” belongs? Probably not. But it’s disturbing when otherwise-smart people make themselves sound so ignorant.

(And don’t get me started on the full-stop or period character that splits up those version numbers. Hint: it’s “point”, not “dot.”)


  1. That may or may not look any different from the letter, depending on the typeface you are seeing it in, but it’s a different unicode character. ↩︎

Pokémon Gone

I am so not a gamer.

Oh, I loved Asteroids back in the day. I solved Monument Valley, and I got on fine with Alto’s Adventure. But I’ve never got more sophisticated modern games. There’s a whole big post about that that I’ll maybe write one day.

But Pokémon Go has lit up the internet for the last week or so, and it sounded kind of fun. So I thought I’d give it a try. Probably more healthy than arguing about the Labour leadership crisis on Facebook, anyway.

I was just out at the shops, and I remembered I had it, and sure enough, there was a wild Golbat outside the local supermarket. You’ve got to throw the pokéball to catch them, right? I’ve seen enough of the TV series with my kids to get that.

A hovering Golbat superimposed on a shop called 'Local Supermarket'.

But could I catch it? Could I buggery. No matter how many times I flicked up on the screen to send the ball towards it, it just would not connect. I must have tried like fifty times, standing outside the shop like an idiot.

This is why I never get into games. I soon hit upon something frustrating and get bored with them. No doubt I was doing something wrong. I’ll try again, I suppose, but it’s very discouraging.

Oh, and I couldn’t get the name I wanted. “Devilgate” was taken, but so was it along with just about every suffix I could think of, including just random strings of numbers.

Kind of cool to see the pokéball rolling off under the vegetable racks, though.

I Upgraded my MacBook

And it's like having a new machine.

I have a 13-inch MacBook Pro, mid 2010 model. I bought it in about September or October 2010. Which means it’s getting quite long in the tooth. The MacBooks have come on a long way in what they offer since then. Mine had 4GB of memory and a 320 GB hard drive. Nowadays they have solid-state drives by default and start from 16GB of memory, I think.

Thing is, it was still fine in most ways, but it was getting very, very slow. It wasn’t too bad once everything was up and running, but waking it from sleep meant I’d be seeing what Ginger out of The Wildhearts called the “spinning fucking rainbow” (and everyone else calls the beachball) for a long time.

Even when it was up, just switching apps could trigger the slowness. So I was thinking about upgrading. But I figured there was life in the old beast yet. I took inspiration from Jason Snell who writes of upgrading a 2009 model.

According to Apple, the most memory this model can support is 8GB. But according to Other World Computing, this particular model, though no others from around then, can actually take more – up to 16GB.

I went to Crucial, which is noted as the best site for Mac upgrades in the UK (OWC is only in the US). Its tool said it could only take 8GB. But I looked around various forums and decided that there was enough evidence that OWC were right. Plus memory is so cheap these days that the difference in price between 8 and 16 was very small.

So I took a chance and ordered 16GB, plus a 500GB SSD.

Installing the memory was trivially easy. You don’t need more than a small Phillips screwdriver to open the case, and the memory modules themselves pop out and slot in very easily.

But with the two 8GB modules in, it wouldn’t boot up. I just got series of three beeps, repeated every few seconds.

A bit of googling told me that means “bad memory,” essentially.

I tried taking it out an putting it back in, swapping round which module was in which slot, and so on, but to no avail. I put the old memory back just to check that I hadn’t damaged something, and it started up like before.

So it looked like OWC were wrong, and I was restricted to 8GB. I was considering sending the memory back to Crucial and hoping I could get I refund. But then I tried one more thing. One of the new 8GB sticks along with one of the old 2GB ones.

And it booted up, smooth as a cliche.

Of course I tried swapping out one 8GB stick for the other, to check for the possibility that one of them actually was bad. But both of them worked. So it seems that this MacBook can take more than 8GB, but not as much as 16. Which is strange, but never mind.

I’d have to say, though, that the difference in performance wasn’t obvious. But I didn’t spend lot of time with it like that, because I still had the SSD to install. That’s very slightly more involved, needing as it does a Torx screwdriver. But it’s very easy.

Before all that I had made sure my old hard drive was thoroughly backed up, you won’t be surprised to hear.

I booted up in the new configuration and told the Mac to set itself up as a new installation. It downloaded El Capitan over the air and installed away.

There was one slight glitch in this process. Something went wrong with the installation and I started getting a kernel panic on bootup. I don’t quite recall the details now, but I just reformatted the SSD and installed again, and it all went fine.

And the difference… The difference is astonishing. Even with many apps open (I currently have twelve), and a whole stack of tabs in Safari, using it is effortless. Apps switch without the slightest lag. I can start anything up with only a few bounces. I’ve hardly even seen the rainbow.

Even Lightroom, which is the heaviest-weight app I use on here, starts in under ten seconds.

In short, this is the way a computer should be.

Java isn't slow

So if your Java code is doing something easier than processing 6 million events a second, and it’s slow, you can maybe make it faster!

Source: Java isn’t slow

Great piece by Julia Evans on some really fast Java applications. Notably LMAX.