BarCamp

So much cool stuff happened at BarCamp that it’s hard to know where to start.

The first thing I noticed is that there’s an emerging “Web 2.0” geek community which only has limited overlap with the free software hacking community. They all have Flickr accounts, think del.icio.us is the best thing since sliced bread, and use the word “mash-up” several times a day. And Flock, which released their first public test version during BarCamp, is designed with exactly them in mind.

Also present were a big contingent from the Drupal CMS project, because BarCamp followed on from their DrupalCon; people from Mediamatic, the conference hosts who kindly let us crash in their workspace and cook in their kitchen; and a load of local Dutch hackers from various projects like Jabber.

One camper whose name I don’t know works for a Venture Capital firm, and did a session on how to turn an idea into a successful company. Maybe I missed something, but it seemed very much to me that his VC-recommended business plan for new startups was:

  • Build a passionate community around social software
  • ???
  • Profit!

Hey, if it’s VC-recommended, Flock should be fine… [Chris Messina has a t-shirt design which says “Don’t ask me about my business model”, so I’m currently assuming it’s the one above. Of course, I could be wrong.]

Roland ran a “Fabulous Flickr Fun” session, where people were supposed to say the coolest thing about Flickr and a feature they’d like to see. Off the top of my head, I came up with AutoMashups, which would choose two CC-licensed photos at random which had either the left or the right side predominantly one colour (i.e. boring) and fade them into each other to get weird juxtapositions. While he was talking, I tried to do this manually, and found that there are far fewer half-boring photos on Flickr than you might imagine. I finally found two and mashed them up into something really cool, but then realised that they are both All Rights Reserved, so I can’t share the result with you! Constrained culture sucks. Note to Flickr: improve your CC-licensed-photos browsing interface. Currently, you can only see 100 in each CC category.

And that’s just a start; as my brain unwinds, there may well be more.

Tags: ,

Hacking in Amsterdam

After a lie in, a group of BarCampers and I went to a cafe with free WiFi for lunch. It was in the middle of a street of other cafes – so that’s ten customers they probably wouldn’t have had otherwise. It saddens me that WiFi hotspots in cafes the UK all still seem to be pay-for. I was looking for a free hotspot in London overlooking a park the other day, so I could sit and hack for a few hours, and couldn’t find one, (Of course, it didn’t help that consume.net‘s site was down. Obviously someone unmade their switch…).

We then moved on to a techo-squat in Java Straat, Amsterdam called ASCII (Amsterdam Subversive Centre for Information Interchange), from where I’m writing this. They describe themselves as a “people’s communication lab” – they provide internet services to the community, including free computers and free WiFi. It’s a cool place to hang out.

OpenDocument for Office

It looks like others have had the same idea as me. The OpenOpenOffice project (not convinced by the name, though – how does it make OpenOffice more open?) aims to give the ability to read and write OpenDocument to Microsoft Word users. Their plan is to use a remote conversion server and SOAP. It’s being sponsored by Open Source Victoria in Australia, who should have a press release up soon.

In related news, OpenOffice.org 2.0 final has hit the mirrors. Don’t all rush at once – this link is to a particular mirror, as it hasn’t propagated fully. There’s also no official release announcement yet; although I expect that very soon. I hope they won’t be upset that I’ve noticed. No-one tell Slashdot ;-)

Microsoft Announces New Shared Source Licences

I’m sitting in a Microsoft keynote at EuroOSCON, and Jason Matusow of Microsoft has just announced that, in the name of licensing simplicity, in future any code Microsoft releases under the Shared Source program will be under one of three licences:

At least, that’s what he said. Reading the small print, it turns out that there are, in fact, five licences in the new set. The other two are the Ms-LPL and the Ms-LCL, where the L stands for “Limited” – in this case, limited to the Microsoft Windows platform. The site says, rather weaselly, that “The platform restriction is a measure that Microsoft, as a commercial software provider, may choose for a particular source code release in order to enable positive interaction with Windows-based developers.” Hmm.

Amusingly, Nat Torkington (conference chairman), when summing up the talk just afterwards, said “Microsoft has just announced a BSD-like licence and a GPL-like licence”. Now that would have been even bigger news! But his slip does point out a noticeable gap in this licence range. The lack of a fully copyleft option means that Microsoft’s opposition to share-everything licences has not changed.

One very interesting feature of the licences, which differentiates e.g. the Ms-PL from the BSD licence, is that they have each got a termination-for-patent-litigation clause. Among other things, this makes the Ms-PL incompatible with the GPL (or, at least, GPL version 2).

If it turns out that the Ms-PL and the Ms-CL are free software/open source licences (and, on a quick reading, it seems to me that they are), then this is a great thing – because more free software is always a great thing. But the rest of Jason’s talk made it clear that Microsoft still doesn’t see customer value in software freedom, and the definite non-freeness of the “Windows only” versions of each opens up great possibilities of confusion. GPL -> free. LGPL -> still free. Ms-PL -> free. Ms-LPL – definitely not free.

So while I welcome moves by anyone to make their code free, Shared Source is still not Open Source or Free Software. Let’s not allow the boundaries to be blurred – Shared Source is not a brand you can trust for software freedom; we mustn’t let it become an “embrace and extend” of Open Source.

Technorati tags (experimental): , ,

Second Times Online Article

My second Times Online article is now available. Entitled “Open formats make history – and maintain it“, it talks about how the decision of the Commonwealth of Massachusetts to use OpenDocument is the start of a move towards people reclaiming control of their data.

As I mentioned two weeks ago, this is the second in a two-column trial. I’ll let you know how the discussions go about making the arrangement more permanent.

Hacking for Kids

[Here’s another one in the long list of ideas I’d like to execute but will probably never have time.]

If kids learn programming these days, it’s usually LOGO or BASIC or some other training-wheels language. This is no way to breed the next generation of hackers. And I’m sure there are geeks around the world who would love their sons, daughters, nephews and nieces to get into programming, but look down the shelves of their bookshop with a cry of despair. It seems to be a choice between “Visual Basic for Dummies”, “Programming Excel” and “Learn C in 24 Easy Lessons”. As Dijkstra famously said, “”It is practically impossible to teach good programming to students that have had a prior exposure to BASIC: as potential programmers they are mentally mutilated beyond hope of regeneration.” And when you are learning to program, you want to write programs which do stuff, not have to spend ages in C managing memory and making sure your strings are terminated with \0.

Sometimes these books come with a CD, containing a cut-down version of a commercial development environment they are hoping you will buy, and perhaps a weedy editor, all running under Windows with no source code available. What sort of example is that to set? Trying to learn to hack on a Microsoft Windows machine or any other closed-source system is like trying to learn to dance while wearing a body cast.

How about a book “Hacking for Kids”?0 Written for teenagers, it would explain how cool hacking is and the path to becoming a hacker, and would give kids fun and interesting programming projects using powerful modern languages such as Perl, free Java, Python and JavaScript. It would teach best practice in programming, not treating the user as an idiot who can only cope with cut-and-pasting code chunks in a jigsaw-puzzle fashion.

The obvious problem is that, before the revolution, most kids will still have Windows on their home computer, and parents tend to frown on suggestions from their 12-year-old which go along the lines of “Hey, Dad, there’s this cool new operating system – er, that’s like software which controls the computer – called Linux that I’d like to use to learn to program. Can I install it on our computer alongside Windows? It probably won’t mess it up. I promise.” The publishing company might also quail at the thought of the tech support calls.

So, the book would include either a Linux LiveCD, or something based on coLinux which allows you to boot your Linux desktop in a Windows window. Then, of course, you can give them access to decent free editors, compilers, scripting languages, webservers, development environments etc. etc. All the manuals, references and source code samples for the languages and projects would be pre-installed. It would use various cool loopback/filesystem overlay tricks that the LiveCD community have invented to store all the kid’s programs and other configuration data on the computer’s real hard drive. And, of course, it would include the source for, and ability to rebuild, all the tools – and at least one project would involve hacking on, say, the editor to add a new feature to it.

How compelling would that be?

[0] Of course, in the real world, you wouldn’t be able to use that title :-(

OpenDocument in Word

Idea picked up from a famous LinuxWorld delegate: wouldn’t it be cool if someone took the relevant bits of code from the OpenOffice.org core, and wrote a silent helper app for converting OpenDocument files into MS formats? Once you installed it, it would register in Windows for the OpenDocument MIME types. Then, when an Office user got an OpenDocument document by email and double-clicked it, the program would silently convert it to MS format, and open Word (or Excel or whatever) on the temporary file. So it would appear to the user as if Word could read OpenDocument docs.

(Yes, you might be able to build the same function into Word itself as an addon, but I suspect that might be quite a bit harder, because you’d need to understand Word’s internal data structures.)

Such a converter would be an important part of the migration path for an organisation moving to OpenDocument. The great thing about it is that it would turn Word into a second class citizen. If everyone’s exchanging OpenDocument documents; OpenOffice.org or KOffice users can both read and write them, but Word users can only read them. What a good reason to upgrade :-)

I wonder how hard it would be to write? It’s basically just a scripted copy of OpenOffice.org, so surely not too hard?

First Column in The Times Online

Following on from the interview I gave a couple of weeks ago, The Times Online has been kind enough to offer me a fortnightly column – straplined “Our Man from Mozilla” (after “Our Man in Havana” by Graham Greene). I’m on a two-article trial, and then they’ll let me know if they want me to continue :-)

The first article is published today; entitled “Cry Freedom“, it talks about the difference between Free Software and Open Source, and why it’s important to the average user as well as programmers.

Copilot on Linux?

A lot of Linux-running geeks are their family’s technical support helpdesk, whether they like it or not. Given that fact, it would be great if Copilot, Fog Creek’s easy-to-use VNC-based desktop remote control system released in August, supported Linux for the helper even if not for the helpee. The software is based on TightVNC, which is cross-platform, so compiling a version for Linux surely can’t be too hard. They just need to integrate it into their website – and, perhaps, to disclaim all support if they feel it would be too great a burden. The people the Linux client is aimed at probably wouldn’t need it.

Hmm… the source is available so perhaps someone could compile it for Linux and make it available? What I don’t quite get is, when I download and run the helper’s software on Windows, it knows “who I am”. Does it look at my browser cookies? Or is the download customised on-the-fly to embed identifying information? I read the spec, but it doesn’t say…

Target Highlighting Library

I’ve written another small unobtrusive JavaScript library. This one applies a class to the element which was the target of the most recent intra-page link (ones like <a href=”#chapter3″>). This allows you to style the target to make it more visible. It’s called THL – Target Highlighting Library.

I wrote it to solve the problem that currently, browsers don’t handle such links very well. When you click one, the page jumps rather than scrolls, which is disorienting, and the new content appears at the top of the viewport – except when it’s near the bottom of the page, when it could actually be anywhere in the viewport. This problem creates uncertainty, and makes intra-page navigation less usable than it need be.

There’s a test page so you can see it in action.

CentralNic DNS Foolishness

CentralNic has started using wildcard DNS (from The Register). In other words, domains which don’t exist still resolve to an IP address rather than returning NXDOMAIN. The drawbacks of this are well-documented elsewhere.

But even before this, they were playing around with their DNS configuration. Our family has a domain that we use for email, markham.uk.net. We used CentralNic because by the time we got around to looking for a domain, “markham” was taken in all the suitable TLDs. Recently, a vitally important family email went astray due to a typo in the domain. Did it bounce? No – it disappeared into a black hole, causing a lot of stress because one party assumed the other had read it. And the problem still occurs today. Send email to test@markhamxxx.uk.net and see what I mean? Does one get a bounce message? No :-( Grr…

Take my advice – avoid CentralNic. Aside from the above tomfoolery, there’s no competition in the uk.com/uk.net DNS market. They are the sole supplier, and that’s why they are 7x more expensive than a .com/.net domain.