Thomas Davis — Backbone, Drone Racing, and Internet Policy
Thomas Davis is a full-stack developer based in Brisbane, Australia, the CTO of FPV Racing, and the author of the Leanpub book Backbone Tutorials. In this Leanpub Podcast interview with Len Epp, he talks about becoming a developer, drone racing, his work on internet policy and the EFF’s action center, and his experience publishing on Leanpub.
Len Epp: I usually like to start these interviews by asking people for their origin story. Can you tell me a little bit about how you first became interested in being a developer?
Thomas Davis: I have a weird history with computers. When I was going to primary school, computers in Australia were just starting to be brought into classrooms. So my first experience of a computer would have been probably grade three or grade four. And whoever finished their math exercises the fastest got to use the computer. So that was an extra incentive for me to be good at math and to also get time with the computer. It wasn’t until about junior high school I got my first computer, and it was actually a funny story, because my first computer was built out of parts from the dump essentially. We used to go look for spare parts for computers. My uncle helped me put it together. And from that day on, I don’t think I’ve spent anything less than 16 hours a day on a computer.
So I’ve been a computer addict since then, constantly working on things. It doesn’t matter what it is. As soon as I have any spare time, I like to start a new project. I’m hoping to stop that eventually. I tried to go to university, but I dropped out after a year. And I just started freelancing in web development and that sort of worked out for me pretty well.
Len: Do you feel like maybe you’ve missed out on anything, or have missed out on nothing at all and only gained a few years of life by not finishing a conventional university degree?
Thomas: A lot of people say that you don’t need university in IT and I guess I have to say the same thing. It’s not that I didn’t need it, but I’m perfectly happy with my career path at the moment. At the time they were offering software engineering degrees, not web development. And I had been doing web development for about five or six years before going to university. So I sort of knew more web development than they were willing to teach anyway. Plus, I’m extremely lazy and I didn’t like going to class.
Len: And how did you get interested in Backbone eventually?
Thomas: I was programming in ActionScript up to version two in Flash. And I remember one of my high school assignments was supposed to build an ASP database and a service, just an app essentially. And I said to the teacher, “I already know how to do this. Could I build the whole application in Flash so it can look better?” And that was actually complicated and wasn’t taught in the class, because you had to connect to the database from Flash and make it a whole app inside there. I didn’t realize until five years later that I was already building single page apps in Flash a lot earlier, and because I followed that front-end trajectory it just made sense with the popularity of Ajax that apps would go down that route.
It was actually one of my first experiences with the Hacker News community. I posted there about six, seven years ago: should I use SproutCore, which was the framework before Ember — so Ember evolved from SproutCore — or Backbone.js? And that was my first little post, it made it to the front page of Hacker News and I got lots of advice. Backbone is a lot more minimal, I don’t want to learn everything about SproutCore, so we went with Backbone at the time. And then as I was learning it, there’s no learning materials, so I think the first tutorial I wrote was called Backbone.js for Noobs by a Noob.
Len: That’s a great title.
Thomas: All I was doing was essentially documenting the steps it took me to get up to a working application with Backbone. So I didn’t actually know anything about Backbone, I was just documenting what I was doing. I posted that on Hacker News, that had relatively large success, which then said, well, I might as well turn this into a tutorial site, and eventually turned it into my mobile format.
Len: Your book on Leanpub has been one of our most downloaded books of all time. So it’s obviously really useful to people.
Thomas: Yeah, I haven’t had the time to update it as much as I’d like, just because the front-end framework scene moves so fast and it’s really hard to keep up a lot of the time.
Len: Speaking of moving fast, FPV Racing sounds pretty awesome. Can you explain a little bit about what it is and where it’s going?
Thomas: In the community, people like to call it UAS or UAV, unmanned aerial vehicles, as opposed to drone, because it’s not quite what a drone is. But the popular world has said that now anything that looks like a quadcopter is a drone. And I’m okay with that because I’m from the software world, we call everything the wrong name.
I got into that because my housemate is a mechatronics engineer, Donald, and he’s become my co-founder. We actually started another website first, Dronehire.org, which was sort of Yelp for drone services. We have 500 businesses, and if you need aerial photography in a certain state of the world, you can just search our directory and find all the operators who offer that. About a year into that, Donald’s like, “oh man, FPV racing is going to storm the world. It’s going to be this new sport.” And I was like, eh. Everyone’s tried inventing a sport before. And then almost six months later, I saw his traffic picking up. I was like, “holy, okay, you might be onto something here.” So I’ve joined in on the project now.
It’s a pretty cool sport where you essentially put a camera on the front of a drone that’s optimized for speed, you put the goggles on your head and you get a super immersive experience. Pilots have described it as being like Superman or a bird or an eagle, like virtual reality. It sort of tricks your human cognition into thinking you’re actually moving. I know a pilot, his name is Metal Danny, used to be an ex motocross rider, and he’s called Metal Danny because after too many crashes he has metal in every part of his body. What he decided was he needs something that he can still get the adrenaline from but without the metal in his bones, so he had to quit that, and he said that drone racing actually gives him this adrenaline rush much like extreme sports, but obviously you can do it from an armchair.
Len: What’s the state of affairs with drone regulation in Australia? I think a lot of people listening will be familiar with the problems the industry has had with regulation in the United States.
Thomas: It depends on the country. Australia, we actually have a much more relaxed setup than America at the moment. And the Australian government has definitely realized the commercial aspects, probably because we have a lot of agriculture here, and precision drone agriculture is probably going to be one of the largest industries in the next 10 years. But for drone racing, the quads are so light that they don’t really even qualify for regulation to a certain degree. It’s only past a certain weight division you can’t fly something above a certain height, or if it’s obviously commercial. Commercial is what is big in the States, but the weight classes are fine.
Len: What do you think about the possibility of goods being delivered that way in the future, Amazon style?
Thomas: I’m a web developer and not the engineer of the team, so I’m not so well versed on physics or logistics to know the best answer for that. Amazon’s probably got a lot of smart people working there, I’m sure they think it’s possible. I would say it probably is, but I don’t know if it’d be that efficient, personally. It seems like they’ve got van delivery pretty down pat, you can take multiple parcels and deliver it all in one big run, it’s pretty quick. And obviously regulation and safety, you can’t fly drones on rainy days, there’s lots of problems like that, so I’d like to see how they go.
Len: Moving on to the topic of regulation, on your website you explain your position on internet regulation, I think I’m quoting here, “without the input of developers, we can expect that backward laws and regulations will be created.” I’m really interested to know your position on the state of affairs with internet regulation generally and where you see it going in the short term.
Thomas: The internet is relatively new. The World Wide Web is as old as I am, both born in 1989. So it’s interesting to grow up with it. If you look at the state of affairs of Reddit, for example, it’s just this monster that we don’t understand. And I do think that regulations will be put on things we don’t understand unless the experts from the field are willing to take their time and explain things. So I do always urge developers who have spare time to take interest in internet policy. There’s obviously a lot of apathy towards politics all the time, and that’s understandable. But for something so new, if we don’t have people out there experimenting in that territory and trying to force change for the internet, I think we’ll end up in a dark place.
Len: It’s interesting you bring up the newness of the internet, because people like us who spend all our time in front of computers just see it as a utility like the electricity being on. But there are a lot of people out there who still treat it almost like an annoyance that’s going to go away. I remember reading an article quoting the head of the Ontario Provincial Police in Canada, and he was saying what would be ideal would be for people not to be able to get onto the internet without signing on and showing some kind of ID — every time they go on the internet. And I think the same character was asked about Uber in Toronto and said, “I don’t know anything about this kind of stuff, I’ve got younger people who are into that.” This guy’s the head of an entire province’s police force and he’s got a deliberately dismissive attitude towards the computer. It really is scary when people like that are in positions of power over the law. It’s not just that they’re anti-internet, it’s that they’re purposefully unaware of how much of our life is actually driven by that now.
Thomas: I don’t think there’s any lack of inane quotes from senators. We have one Australian senator who said that the internet is the biggest existential threat to mankind ever. I don’t know how to take that. Maybe he’s right, maybe he’s thinking like Skynet, maybe it’s really forward thinking.
Len: Speaking of politics, your action center project for the EFF sounds really interesting. Could you explain a little bit about that?
Thomas: That was mostly last year. I was contracting, working on a few of the campaigns against mass surveillance for the States, even though I’m Australian, I know it’s a bit weird. I was helping out a lot there with a bunch of the orgs, and eventually EFF needed a bit of help rebuilding their CMS for activism campaigns, so my good friend Sina Khanifar brought me onto the project to help out. It’s just a Rails project to help email legislators in America. And that project has now spawned another project, which I didn’t work on, called Democracy.io.
What it does, and it seems pretty simple, is that it lets you put in your postcode and then send an email to all of your legislators in your area, and you can choose a topic and send a message. Now that sounds super simple, that sounds like something everyone should have — we have it sort of in Australia, built by the state — but the funny thing is that that’s not actually possible in the States, because first of all senators don’t have email addresses. So how we actually did the project was we used something called a headless browser, which is like running Chrome inside a terminal, running Chrome programmatically. When you want to email a legislator, we actually load up their contact form on their website, we have a form you put your information in, we load up their contact form, submit it for you and then return it. If you want to email three different legislators, we load up three different browser sessions, put the data in there automatically and email it for you.
And we had to get volunteers to help us populate the contact form database — we had about 150 developers in 48 hours submit about 5,000 pull requests on GitHub to make this possible. It was this huge organized project between all the internet orgs, it was quite fun. It was incredibly hard — that project took probably a year to even mature enough to get to Democracy.io.
Len: It’s amazing that you pulled that off, and that it’s so difficult just to contact politicians.
Thomas: If he’d asked me to do it originally, I would have said that’s stupid, because all 500 contact forms of the legislators are unique. So you have to describe in YAML, in a code format, what each form looks like. That’s the only way we can do it programmatically. So it’s a huge project, but we actually pulled it off, which was impressive.
Len: You’re also involved with a group called Taskforce, I think.
Thomas: That’s how I got into digital politics, and that was posted on Hacker News again — I’m an avid Hacker News reader. He was just looking for a group of web developers who have some spare time to react. What happens in the political realm is that bills try to get rushed through the house — a party might put out this bill and say let’s try to get it signed in the next week, and if you try to build a website traditionally to combat that, it takes you like two months to launch the thing. So you want to put together a team of people who could do it in 24 hours, just jump on, build the website and combat that, raise awareness about a bill that might be passing too quickly.
Len: Moving on to Leanpub — I was wondering how you found out about us, and if there was any particular reason why you chose to use us as your publishing platform.
Thomas: I cannot remember for the life of me why I started with Leanpub. What I was looking for was, I was going to write a book, and I saw that all the solutions around were just the most mundane and complex things in the world, like writing LaTeX and all that. Sorry, I just assaulted all the LaTeX gods, they’re a very cool minority group. But it was incredibly hard to use LaTeX, I didn’t want to go down that route. I think I know why I stumbled across Leanpub: I wanted to create mobile editions of everything, I wanted to convert to Kindle, all the devices, there’s so many now. And my tutorial was already written in Markdown. Leanpub’s like, “we support Markdown,” I was like, “cool.” So then I copied some of my content over, put it in Dropbox, and my book was delivered in like 30 seconds, and I was like, “what the hell, that’s the most beautiful system.” It’s got all the formats in my Dropbox, it’s converted everything. It was a really great experience.
Len: Through your tutorials, was engaging directly with the people that were using them an important part of your process? Were you getting feedback and responding to it to improve them over time?
Thomas: Not quite through the Leanpub platform, because I already had all the other avenues open. Most people went through GitHub to talk to me. I don’t know if they came from Leanpub, but a lot of my feedback came through GitHub and Twitter.
Len: Is there anything from the experience that you think we might improve, or anything you’d really like to see in a service like this that isn’t being fulfilled well by anyone?
Thomas: To be honest, Leanpub is one of those services where I just think it’s perfect. I think you guys do everything really well, and if there isn’t something there, I think you guys know what it is already, so I would rarely bother to say anything. I really don’t have any constructive feedback, I think you guys do a fantastic job.
Len: Well, thanks. That’s the best non-constructive feedback I’ve ever heard. I guess the last question I have is, what’s your next project, if you have any time in between being CTO and all the other projects?
Thomas: To stay in the vein of talking about Leanpub, I’ve always idealized writing another book, but this one being more of a novel. I’ll probably end up doing it through Leanpub, and I want to write a novel about the web developer as a new type of person, a new protagonist. We read books all the time about someone who might work in accounting and goes through this life experience, but we never hear books from the perspective of a coder or developer — like a D.H. Lawrence style, a really well-written novel, not to say that I can do that, but written from a main character in the programming world. And I haven’t seen too much like that.
Len: That sounds like a really interesting idea. The figure of the hacker is something people have a concept of, but usually they’re wearing leather and involved in international spy rings or something like that. And then the other stereotype people might have would be from Silicon Valley, that series. It sounds like a really great idea, because software is eating the world, right?
Thomas: This is quite a large audience, a lot of people would read it. Just like I love watching Silicon Valley because it’s this TV series about my daily life to a certain degree, it’d be nice to read a novel or a piece of literature that describes this new archetype.
Len: We’re at the point now where it’s being defined in the public mind maybe for the first time, and to be there at the beginning of that would be really exciting as a writer.
Thomas: So I’ll probably end up publishing that through Leanpub, because I’m a fanboy.