The personal blog of Stuart Breckenridge

Archives + Absences  

Archives + Absences for iOS, by Josh Begley:

“Sends you a push notification every time the police kill someone in the United States.”

Shedding light on sinister statistics.

How I Validate XML Files on a Mac

There’s no other way to state this: validating XML files manually is a massive pain in the ass. Luckily, you can use xmllint to validate an XML file against an XSD. This is what I used when coding FATCA Metadata Creator to ensure that the generated XML file was valid.

The process is simple, just run this command in terminal:

xmllint --noout --schema ~/PATH/Schema.xsd file.xml

If the file validates successfully, you’ll see a message that reads file.xml validates. Otherwise, if the file doesn’t validate, you’ll see an error message telling you where the failure occurred:

Schemas validity error : Element '{urn:fatca:idessenderfilemetadata}FileRevisionInd': 'falsey' is not a valid value of the atomic type 'xs:boolean'.
file.xml fails to validate

Limited Edition Apple Watch for Chinese New Year  

I don’t recall ever seeing Apple offer limited edition products for an annual celebration in the UK. It’s a bit different in Asia. This year we have a limited edition Apple Watch Sport for Chinese New Year (available until February 22nd).

I’m left wondering what other annual celebrations Apple could cash in on?

Photography on 500px

I’ve started selling some of my better photos1 on 500px. I’ve never sold photos before, so this is something new. If you see something you like, feel free to license it!

Singapore at Night by Stuart Breckenridge on

  1. I’m going through a long exposure phase at the moment. ↩︎

Netherlands See Sense on Encryption  

“The country’s minister of security and justice Ard van der Steur wrote that the Dutch executive cabinet endorsed “the importance of strong encryption for Internet security to support the protection of privacy for citizens, companies, the government, and the entire Dutch economy.

Therefore, the government believes that it is currently not desirable to take legal measures against the development, availability and use of encryption within the Netherlands.”

Abhimanyu Ghoshal

I’m reminded of The Short List episode in The West Wing:

“In the 20’s and 30’s it was the role of government, 50s and 60s it was civil rights, the next two decades are going to be privacy. I’m talking about the Internet, I’m talking about cell phones, I’m talking about health records. Who’s gay and who’s not.”

Sam Seaborn

That was in 1999. Way ahead of its time.

The Speed of Touch ID  

“The lockscreen is now an active space, a play space, a space to invoke cameras, respond to messages, talk to your pal Siri. It is a space in which you’re meant to linger, to fall in love, to capture. In fact, it’s no longer a lockscreen but rather a comfortable veranda between the world and your home.”

Craig Mod

The speed with which Touch ID scans your finger on the iPhone 6s is incredibly fast. So fast, that unless you hold your phone in an obtuse way and turn on the lock screen using a non-Touch ID finger or the power button, you’ll miss the lock screen - and its functionality - entirely.

In short, when you just want to see what time it is and you hold your iPhone like a regular person, you’re out of luck.

Star Wars: The Force Awakens becomes fastest to take $1bn  

“Star Wars: The Force Awakens has become the fastest film to take $1bn (£674m) at the global box office. JJ Abrams’ film achieved the feat in 12 days, beating the previous record of 13 days set by Jurassic World in June. But while Jurassic World had the benefit of record takings in China over the period, The Force Awakens has yet to open there.”


I really enjoyed The Force Awakens (I’ve seen it twice). My only hope for Episode VIII is that the First Order come up with a new weapon as four Death Star like weapons is pushing it.

Awesome Swift Education  

This curated list of several hundred Swift learning resources—across 17 tags—is unparalleled.