For these particular XML files, order is not important. The XML is being used to contain a set of things, not a list – the order of the elements has no significance. Similarly, the order of the attributes within each element isn’t significant.
For example, for my purposes, these two XML files are equivalent:
A couple of weeks ago I was interviewed by the BBC. In a fairly long phone call, I either rambled inanely or provided detailed and nuanced answers in context. That depends on your point of view.
Either way, obviously not a lot of it could make it into their story, as they really only needed a few quotes. So I thought I’d put more of what I said here.
The background for the story was the changes to the UK school curriculum which means that all kids are being taught to code. And the basic premise for the piece was that as we’re “entering an era when computers are actually beginning to teach themselves” that this is unnecessary and that coding itself is becoming an outdated skill.
A few code snippets for how you can quickly stand up a SQL database, and provide a REST API for DB read/writes
I was helping out a team at a hackday hosted at Hursley last week. One of the things they wanted for their hack was a SQL database to put sensor data in, which they could access via a REST API. And they wanted it in node.js.
I’d never used Node before, so I used this as a chance to give myself a first crash-course.
I’m not saying this is the way to do this in Node, as it’s the result of my first hour’s tinkering. But it worked, and I mostly wanted to share how quick and easy it was.
So… I was expecting a cool and geeky, if faceless, serious, formal, and intimidating event.
I’d read it completely wrong. It’s absolutely a professionally run event. And there was no shortage of cool geekiness. But, more than that, the organizer, Herb Kim, has created a real sense of community in it. There’s a feeling of almost familial warmth amongst attendees who come year after year after year.
This is a write-up of the presentation that Grace gave at Barcamp Bournemouth this weekend. I’ve written about the reaction she got already, but I thought her presentation was interesting enough that it’s worth sharing here.
The idea behind her talk was that the way maths is taught in schools today is different to the way it was done when I went to school.
Put another way, her basic premise was “when Dad helps me with my homework, he gets it all wrong”.