Fusion in the Evening

Posted on June 2nd, 2010. Filed under Science.

A couple of weeks ago, I headed to Paddington and jumped on a train along with a notably large group of geeks. An hour later, we got off at Culham, a leafy little Oxfordshire town which happens to also be home to Europe’s largest fusion reactor.

It was one of the Culham Centre for Fusion Energy’s free public open evenings, and they proceeded to take us on an excellent tour of the facilities. As well as being home to the European-run JET, Culham has the smaller UK-run MAST experiment, and we saw both. Photography was encouraged.

I’m a sucker for big infrastructure, and JET did not disappoint. Both reactors at Culham are currently shut down for upgrades and, in a move which would have given most health and safety officers an aneurism, the public tours were allowed right into the reactor halls. This is especially impressive for JET, which is currently being fitted with new tiles made of pure Beryllium — a particularly toxic metal.

The sheer scale of JET was impressive, and unfortunately I couldn’t adequately capture it due to my lack of a wide-angle lens. JET requires nearly 1GW of power input when running (half the peak output of nearby Didcot power station, stored by two massive flywheels) to produce an output of ~15MW.

The tours weren’t dumbed down — I got the feeling that anyone with less than an A-level understanding of physics might have been slightly out of their depth. We learned quite a bit about the intricacies of how the reactors were run.

I was seriously impressed by how open and comprehensive the tour was. A lot of other places could learn from how to make uninvolved but curious members of the public happy.

More photos at Flickr.

Tags: , , , .

The State of the Open Rights Group

Posted on April 8th, 2010. Filed under Politics.

I’ve been a paying supporter of the Open Rights Group — with a brief PayPal-induced hiatus — since it was founded in December 2005. I’m sad to note that I’ve just stopped my monthly membership payments, and I’d like to expand a little on why.

Firstly, some of the reasons which aren’t behind this decision: I’m not quitting because the Digital Economy Bill was passed — with Labour’s three-line whip and the Tories apparently whipping to abstain it was arguably inevitable regardless of the amount of campaigning. I’m not quitting because I agree with the inflammatory Mr. Orlowski’s rant on the Register, although it’s certainly good for a chuckle. And I’m certainly not quitting because I think digital rights are dead in the UK.

The reason I am quitting is that the ORG really doesn’t seem like an organisation I can identify with any more. At the moment if you hit up their home page you’re greeted with a picture of a giant middle finger entitled “What parliament thinks of your right to internet access”. Cute, maybe, but it’s not clever and it’s been greeted by many of my (young, tech-savvy) friends with a similar amount of disdain. At any rate, politics doesn’t operate by telling people to go fuck themselves (at least not so overtly).

I also think the ORG should, before everything else, be trying to help its members to make a well-reasoned point about legislation it opposes. None of the clear, plain-language explanation I’ve seen on the Digital Economy Bill and the complex tangle of amendments it generated has been from the ORG. One of the key rules about writing to your MP is that it’s much better to make a point in your own words. I’ve been surprised at the number of people who wrote to their MPs about the Digital Economy Bill but still didn’t understand the key points, and I fear that it might have given a slight impression that we were a desperate group of copyright infringers.

Lastly, I’m absolutely not a fan of the ORG’s shouty, spammy emails:
ORG Emails

All in all the ORG today feels like a condescending, unprofessional organisation, and that’s exactly the opposite of what it needs to be to convince people that it’s a worthy cause.

.

Barclaycard’s Short Downtime

Posted on April 1st, 2010. Filed under Uncategorized.

I have a Barclaycard credit card. I didn’t use it much, but they sent me a new one recently which had contactless payment support which was novel, so I started using it some more. Around the same time, about the beginning of February, I started having problems logging into their web site.

I use credit card web sites quite a bit to get at my transaction data, so I gave them a call — they were quite helpful and they said they were aware of the problem and working on it.

Today I got an email:

Dear Mr Garrett,

You were recently upgraded to a Barclaycard Cashback card.
We noticed that you recently tried to log in to mybarclaycard to manage your account online, but were unsuccessful. We’ve discovered that this is a technical issue and we’re working to resolve this, but it will take until 1st June 2010.

Yes, that’s four months’ downtime on a web site which handles my financial data.

.

On BeautifulSoup

Posted on March 18th, 2010. Filed under Coding.

I’m doing some fairly hardcore screenscraping using Python, so I decided to use BeautifulSoup. After all:

Beautiful Soup won’t choke if you give it bad markup

Oh yes it will:

<html>
 <body>
  <a href="/""></a>
 </body>
</html>
  File "/usr/lib/python2.6/HTMLParser.py", line 115, in error
    raise HTMLParseError(message, self.getpos())
HTMLParser.HTMLParseError: malformed start tag, at line 3, column 14

lxml parses this fine.

The other issue I’m seeing is the old document.write('<scr' + 'ipt>') trick. Even if it’s enclosed in a CDATA block, BeautifulSoup chokes on it.

lxml, again, parses it fine. And it has built-in CSS selector and XPath support.

Tags: , , , .

Semi-Realtime Satellite Desktop Backgrounds

Posted on January 10th, 2010. Filed under Space.

Snowy Great Britain

Snowy Great Britain

A few days ago, a beautiful satellite photo of snow-covered Great Britain got quite a lot of press coverage (and garnered me a couple of hundred retweets). The image was taken with the snappily-named MODIS camera which flies aboard two NASA Earth Observation System satellites: Terra and Aqua.

Turns out these are pretty neat pieces of kit — they actually record images in 36 frequency bands ranging from blue to thermal infra-red. The two satellites are in a sun-synchronous polar orbit which means they each record an image of the whole earth every day: Terra in the morning and Aqua in the afternoon.

All the image data is collated and released into the public domain by NASA on several sites, but the most interesting outlet for the data is the semi-realtime site here.

It struck me that it would be pretty cool to have the most recent image on your desktop, updated twice a day. So I wrote a slightly hacky little script to do it. NASA provide georectified true-colour images for a selection of regions, including most of Great Britain, so I’m just co-opting that. It does mean I don’t have a full image of GB, but my screens aren’t really the right aspect ratio for that anyway.

Here’s an example of the image it produces (for my dual 19″ monitor setup at home).

Here’s the script.

I’ve just learned that the MODIS satellites constantly downlink their imagery in the clear, so I think the next step is to build a receiver and grab the data directly ;).

Tags: , .

Open Hardware and Top-Down Design

Posted on December 12th, 2009. Filed under Hackerspaces, Hardware.

A couple of weeks ago, I dropped by the Open Hardware Conference in my capacity as hackerspace founder and general interested hardware hacker. I’m a bit disappointed that I didn’t stay longer — I had to split my time with ScaleCamp — since there was a really interesting mix of people in attendance.

One of the companies present, and indeed sponsoring the event, was 40Fires, who are taking on the audacious task of building an open source car. There was a lot of discussion about how to get more people involved with this project, especially considering that the CAD software used to design the car costs £20,000 per seat.

There was discussion about the best way to organize a community to build an open-source car. The Apache project was mentioned several times as an example of a project to emulate. The point was raised that most open source developers are “scratching their own itch” (which I don’t believe to be true — I suspect most open-source code written today is by people employed to do so).

The point which everyone missed (myself included) is that if you want to emulate the success of the open source software community, you can’t just decide how things will work in a top-down fashion. And these guys weren’t just talking about designing the hardware top-down, they were talking about designing the community. Open source hardware is sufficiently — radically — different from open source software that we can’t just copy the community patterns wholesale and hope they work — that’s not even a great idea for a software project. We have no idea of the best way to build an open hardware project of that size. It’s never been done before.

(Of course this isn’t even considering the engineering quality benefits that bottom-up design brings. See Richard Feynman’s brilliantly prescient appendix to the Challenger disaster report, comparing the design of the Space Shuttle’s software to the design of its hardware.)

Linus Torvalds didn’t write Linux in order to build an enterprise, server-class operating system. He started it as a toy project and the community built up around it. Open source software has evolved organically, with the tools used to build the software evolving with it. Crucially, as Richard Stallman would repeatedly remind you, Linux would have not even been born if it wasn’t for the open-source GNU toolchain used to build it. The toolchain completes the feedback loop which is essential for open source to thrive.

Attempting to build an open source car when we don’t have a capable open hardware toolchain is jumping the gun. That doesn’t just mean decent CAD software, although that’s certainly got to be a priority, but also open source manufacturing tools. The RepRap and associated commercial versions are a great indication that this is really possible — now let’s see an open source milling machine.

So, let’s start building what we can build with our open source tools today. That feedback loop which fuels open source software, and the RepRap wants to bring to the world of hardware, is just starting to kick in. Our Makerbot Cupcake is in the post, so come join us. It looks to be an exciting new decade.

Tags: , .

Starting a Non-Profit in the UK

Posted on October 25th, 2009. Filed under Uncategorized.

Back in February, Jonty and I started the Hackspace Foundation to provide a legal structure for our efforts to create a hacker space in London. I’m going to try and document this process to make it a little less daunting for other organizations (and because people keep asking me). This is naturally very UK-specific.

Types of Organization

The Hackspace Foundation is a membership association — the company is controlled and run by its members. The easiest way to set one of these up is to start an unincorporated association, which is basically just a group of people who have registered a business name, with which you can create a bank account. This is the easiest way to go about creating an organizational structure (and One Click Orgs is making it even easier), but unincorporated associations can’t enter into contracts, and therefore can’t sign a lease or get a loan.

In order to be able to do that, you need an actual legal structure — a limited company. There are two types of private limited company: Limited by Share Capital and Limited by Guarantee. Limited by Share Capital is the structure most profit-making companies have. Companies Limited by Guarantee (CLG) are the other option, and that’s what we used with the Hackspace Foundation. Most non-profit companies, including charities, are CLGs. Instead of having shareholders, a CLG has members, all of whom are liable to contribute a nominal amount (£5 in our case) if the company goes under.

In addition to incorporating as a CLG, there are certain other actions that can be taken to make sure people won’t profit from a company. Doing this will not only reassure prospective members, but may also help with grants and taxes.

A quick word about objects

The objects of a company are the purpose under which it trades, and are recorded in the company’s Memorandum of Association. Trading outside of the objects of a company is illegal. Starting in October 2009, a company no longer needs to have objects, however restricting the objects of a company to educational non-profit aims may help with getting grants and reducing tax.

Section 30 Companies

A Section 30 company refers to a company incorporated in accordance with section 30 of the Companies Act 1985. This rather odd section refers to the ability to omit the word “Limited” from the company name. However, it also adds restrictions on the objects you can use:

(3) Those requirements are that—
(a) the objects of the company are (or, in the case of a company about to be registered, are to be) the promotion of commerce, art, science, education, religion, charity or any profession, and anything incidental or conducive to any of those objects; and
(b) the company’s memorandum or articles—
(i) require its profits (if any) or other income to be applied in promoting its objects,
(ii) prohibit the payment of dividends to its members, and
(iii) require all the assets which would otherwise be available to its members generally to be transferred on its winding up either to another body with objects similar to its own or to another body the objects of which are the promotion of charity and anything incidental or conducive thereto (whether or not the body is a member of the company).

Section 30 companies are also exempt from sending details of their members to Companies House, and so are ideal for membership associations. The Hackspace Foundation is incorporated as a Section 30 company.

Community Interest Companies

Community Interest Companies (CIC) are a relatively new innovation which takes the Section 30 idea a bit further. Converting a CLG into a CIC is a one-way process which adds a statutory “asset lock” to the company’s assets. The company can only transfer its assets to another body for less than their market value if that body is also a CIC. This differs from Section 30 because a company can convert themselves back to a standard CLG from a Section 30 company (although this still requires a vote of all the members).

We haven’t gone down the CIC route with the Hackspace Foundation because we’re not ready to make that much commitment to our community-only business model just yet. We were also concerned about finding a relevant CIC to donate any remaining proceeds to if the company was wound down.

Charities

For completeness, I’ll just mention a few things about charities. Obviously being a charity is a bonus because donations are tax-deductible. However, charities are required to have a public benefit, and we don’t believe that hacker spaces necessarily pass that test. (The rules are quite complex.) Additionally, charities are required to submit more complex audited accounts, which are more costly.

Hopefully this is helpful to someone. We registered the Hackspace Foundation with UKPLC — they are cheap and very helpful, so I would definitely recommend them.

.

Help us Free London’s Data

Posted on October 25th, 2009. Filed under Data.

Yesterday morning I went to Help us Free London’s Data on the top floor of City Hall. Organized by the GLA, it was intended to get feedback from the development community about their upcoming Datastore project, which is slated for launch in January 2010.

The people from the GLA admitted that they don’t produce that much interesting data, and have limited influence over the authorities who do (like TfL and the borough councils), so their plan is to set a precedent. I don’t agree that all the GLA’s data is boring — I think that transparency and accountability for our elected representatives is important, even if it isn’t as alluring to everyone as the elusive transport data.

Discussion was mainly about the mundane details of how to go about publishing the data. Thankfully pragmatism prevailed and the anticipated hour-long semantic web ontology discussion/flamewar didn’t materialize.

I was impressed by the amount of grassroots support open data appears to have within the GLA — there were representatives of several departments in attendance — and they definitely seem to be taking the right route by publishing data when they can. I’m really interested to see what they come up with in January.

My biggest annoyance was that they started at 10am on a Saturday. Hackers don’t do mornings, guys.

.

Letter to my MP about filesharing disconnection

Posted on October 23rd, 2009. Filed under Politics.

This is the letter I’ve sent to my MP, Emily Thornberry, about the government’s current plans to disconnect file-sharers. You should write to your MP too. It’s important.

I’ve put it up here because sometimes it’s nice to have something to base your letter on when contacting your MP. That said, please don’t copy and paste this, MPs want to hear that you’re a real person and not some mindless sheep. So write your own damn letter. This is mine.

Dear Mrs. Thornberry,

I’m writing to you to express my concern about the new Digital Britain proposals to disconnect internet users who are accused of violating copyright.

These plans amount to taking disproportionate action against internet users for a crime they have not been found guilty of committing. Internet access is a vital utility, and disconnecting users due to alleged copyright violation would also cut off access to many other services, contrary to the government’s plans for universal access to broadband.

The recording industry is backing these heavy-handed tactics in preference to making their licensing rates more reasonable for small music streaming and download businesses. I believe the only viable way to effectively reduce music copyright infringement is to make music available on demand as a service. Services such as Spotify are doing this, but they are struggling to negotiate sensible rates from the music industry.

I’d appreciate it if you indicated your support for Tom Watson’s Early Day Motion 1997 which concerns these file-sharing plans.

Yours sincerely,

Russell Garrett

.

First person to make it happen wins everything

Posted on September 6th, 2009. Filed under Uncategorized.

Lots of people ask me what the goal is.

The goal is for you to be able to play any song, anywhere you are, in CD quality, for less per month than the price of a cd. If you’re too cheap to pony up, then you can listen to ads instead, but no more than 10m worth for every hour you listen. A light DRM in place is fine provided the technology exists to stream this anyplace you are. Who wants or needs downloads if you can just stream it whenever you want. Disks are so overrated. If the tech isn’t there do make that happen, then screw the DRM and let those that will pirate pirate and those that will pay pay. You’ll never get them to behave otherwise anyway.

That’s the goal. First person to make it happen wins everything.

This quote was written by Tom Pepper at Nullsoft about a decade ago. Today it became a reality (give or take the ads part, in certain territories, terms and conditions apply…).

Now let’s see if they do actually win everything. They’ve got my tenner a month.

Tags: .

About Me

I build infrastructure.

I currently work for Smarkets as Head of Tech Operations. Before that I worked at Last.fm. I also co-founded the London Hackspace.

I live in London and sometimes moonlight as a freelance photographer.

Links

Projects