October 2007 Archives

Heterochromia

| 2 Comments | 0 TrackBacks

Amazing the things you find on Wikipedia.

Heterochromia (also known as a heterochromia iridis or heterochromia iridium) is an eye condition in which one iris is a different color from the other (complete heterochromia), or where part of one iris is a different color from the remainder (partial heterochromia or sectoral heterochromia). It is a result of the relative excess or lack of pigment within an iris or part of an iris, which may be genetically inherited or due to mosaicism, or acquired by disease or injury.

I have this.

Just found this - a Gopher search engine. The Gopher protocol itself contains a built in search mechanism.

Here's how it works:-

gopher://hal3000.cx:2347/7

I've bolded the item type character, which is usually one of the following:


  • 0 = plain text file

  • 1 = directory listing

  • 2 = CSO search query

  • 3 = error message

  • 4 = BinHex encoded text file

  • 5 = binary archive file

  • 6 = UUEncoded text file

  • 7 = search engine query

  • 8 = telnet session pointer

  • 9 = binary file

  • g = GIF image file

  • h = html file

  • i = informational message

  • I = image file

  • s = audio file



So, at least for me, in Firefox, when I visit the search engine, I get prompted for my query before I even see the site. This puts even Google's ubersimple homepage into a whole new light.

Stylishly stylish.

| 0 Comments | 0 TrackBacks

So, I've started using Stylish, a plugin for Firefox that lets you redefine the style of websites. I started playing around with it and then began looking for some blogs to read.

A frequent visit for me, is Jono's blog - but all that stuff around the sites, I don't read. Also, Jono tends to post LONG posts, and I like to read them, but his fonts are uncomfortably small for me.

So here we go.

[sourcecode language='css']@namespace url(http://www.w3.org/1999/xhtml);

@-moz-document domain("jonobacon.org") {

a:link{
color: blue !important;
text-decoration: underline !important;
}

a:hover{
color: red !important;
}

a:visited{
color: purple !important;
}

body{
background: none !important;
font-size: 100% !important;
}

#rap{
width: 95% !important;
background-color: white !important;
}

#side2, #side, #subnav, #navmenu, .feedback,
.meta, #footer, .credit, iframe{
display: none !important;
}

#header{
background: none !important;
height: 1em !important;
}

#content{
width: 100% !important;
padding-top: 1em !important;
}

.storytitle{
background: none !important;
border-top: 3px solid #1a1a1a !important;
}

#commentlist{
background-color: #eee !important;
margin: 1em !important;
padding: 1em !important;
padding-left: 2em !important;
}

}[/sourcecode]
So, there we go. The only problem I can see is that it removes any Google ads you may have normally seen on Jono's blog. You should buy him a pint or two when you next see him to make up for this :)

Radiohead - In Rainbows - Live

| 1 Comment | 0 TrackBacks



Thanks Mark

Cruciforum, then.

| 3 Comments | 0 TrackBacks

Cruciforum - a really (really) simple forum, written in PHP.

The goals are pretty explicit:-

A Cruciforum forum is lightweight, doesn’t require a database, and can be set up on your server in about two clicks of a mouse. It’s the easy way to give people somewhere to chat about your project without installing something heavy and complex like PHPBB; just put the cruciforum install file in an empty folder and go to it in your web browser, and that’s all you need to do. Whenever I see a small project’s website I find myself wishing there was somewhere I could talk to people about it, and that’s what this makes easy.

I played with it. I'm impressed. I already started hacking on it a little, fucking about the colours and markup.

So, one thing it could use, is some kind of spam filter thing, and some basic registration system - enter your email address, a password and a given name, maybe. Make the email address optional, even.

But, honestly.. it doesn't really need much more. In fact, it's beautifully simple.

Simplicity really is at the heart of it. The installation makes Wordpress look difficult, which is pretty amazing.


  1. Upload the file to your webspace, in a folder, say 'forum'

  2. Ensure the folder can be written by the web server

  3. Visit the php file in your browser, pick a name for your forum, and you're done.


No databases. No bullshit. And it renders static files, so it's FAST. Like, really fast.

So, some things I'd like...


  • I'd like to be able to register, for two reasons.. one, I want to protect my identity, so people can't troll as me, and secondly, filling out my name, URL and email address each time I post (because I want people to know it is me) is a pain.

  • Markdown is better than Textile, IMO. Plus, this is just awesome cool.

  • Make it really easy for someone to brand this. It doesn't use much in the way of CSS or markup, so do what FogBugz forum lets you do - copy and paste a bit of HTML to appear above your topic list and a bit of HTML to appear below it. Also, offer people a chance to enter a URL to their CSS file and logo if they don't want much.


Go and download Cruciforum now. X11/MIT license.

The boy Langridge done good here.

Two Weeks With Django

| 2 Comments | 0 TrackBacks


But the final straw was with “static” media which is what the Django folks call CSS, images, javascript, etc. The Django documentation makes no bones about this, they say it is not the role of the framework to deal with it, it should be served directly from Apache. While that makes sense from a performance standpoint, woe to the poor application developer trying to make some nice looking pages. Accessing static media within your templates requires a mixture of folder location, Django settings for media roots, and a complex regular expression url call that pattern matches the folder name to some sort of Django document root - well, I never was able to get an image displayed.

Ouch. I struggled with Django too, but lots of people love it.

Two Weeks With Django details John Taber's frustrations.

The GNU Hurd

| 0 Comments | 0 TrackBacks

bsdtalk132 - Richard Stallman

| 0 Comments | 0 TrackBacks

Freedom Tour: Day Five - October 10th, 2007

| 0 Comments | 0 TrackBacks

OpenWetWare!

OpenWetWare is an effort to promote the sharing of information, know-how, and wisdom among researchers and groups who are working in biology & biological engineering.

So now you know.

Met up with Jason and the guys from OpenWetWare at the Stata Center at MIT. This building is best described as odd.


Image CC-BY - Behdad Esfahbod - Stata Center


While I was at MIT, I bumped into the people at Science Commons and even stumbled past Richard Stallman's office, which has 'Defender of Justice (and hot ladies)' on his door sign, before heading downtown to the Free Software Foundation


Image CC-BY - Behdad Esfahbod - 51 Franklin St

The office is way cooler than I suspected (some photos by Bernardo) with a fair bit of space and new furniture. I had quite a long chat with Peter about some of the work the FSF is doing soon and the Google Summit, and then headed off for lunch with Deb and Brett. We had some really great burritos.

After work, and trying to contact Science Commons to schedule a meeting, we headed to Spike's in Davis Square and then over to Joe Sent Me for Trivia.

Trivia is basically a pub quiz.

Running tally of Mountain Dew consumed: 6300ml.

Freedom Tour: Day Four - October 9th, 2007

| 0 Comments | 0 TrackBacks

Columbus Day!

For those of you who don't know (ie. Me)

Columbus Day is a holiday celebrating the anniversary of the October 12, 1492 arrival of Christopher Columbus to the Americas.

Or, in other words... nobody really goes to work and everyone has a day off and most things are closed. I caught up with a lot of sleep, as after that stint in SFO I was feeling mostly beat. I spoke to Justin, one of the sysadmins at the FSF and agreed to meet up at 4pm in my hotel lobby.

Making the most of my day of American heritage, I left the hotel and walked over 100 metres the the 7/11 and got a Double Gulp of Mountain Dew, some Cheetos and a microwaved bean and 'cheese' burrito. Man, America rules.

Later, met up with Brett, Ward, Ward's wife and baby, Justin, Josh and Justin from the FSF, and went for drinks across from my hotel. American bars are so much friendlier than most British places and table service is just so easier.

Dinner at Cambridge One in Harvard, which is pronounced Hahvahd. This involved taking the Red Line T from Park Street (Pahk Street) to Hahvahd. It's very quick, reasonably clean and I didn't see any crazy people. Met up with Mako, Daf and Asheesh, plus assorted other people who were hanging out from the GNOME summit. Later attempted with a few random people, plus Brett and Asheesh to locate Elizabeth, who never showed up. But I managed to eat again, which made up for it.

Got back to the hotel in time to grab a Big Gulp and head back to watch King of the Hill, and a lot of stupid commercials.

Running tally of Mountain Dew consumed: 4300ml.

Freedom Tour: Day Three - October 8th, 2007

| 0 Comments | 0 TrackBacks

Boston!

Okay, so after suffering the nightmare of having a plane take off on time, get above San Francisco and then have to land again because 'there is a hole in the door', and then waiting around 7 hours to get the next plane, being promised an upgrade and not getting one and thereby arriving in Boston too late to make the dinner you'd been hoping to go to for about 2 years, I checked into my hotel and fell asleep.

From what I've seen so far, Boston is nice.

Running tally of Mountain Dew consumed: 2400ml.

Freedom Tour: Day Two - October 7th, 2007

| 0 Comments | 0 TrackBacks

Google!

Okay, so today I got up pretty early, after Robin called to let me know someone was trying to steal the Defective by Design hazmat suits from our porch. Around 8am, Jason drove me down to the Googleplex. Driving in California is kinda fun, though I suppose especially in a sports car.

The Googleplex is a strange place. For a start, there are security people everywhere, which is a little disconcerting, but also, the sheer size of the place is overwhelming. Anyway, eventually got pointed at the right building and made my way to registration, which amounted to being give a bunch of freebies and pointed towards food, with instructions to make myself a name tag. Each table had blank tags and Sharpies and lots of geeks. I didn't recognise many people, but eventually ran into Steve McIntyre from Debian.

Breakfast was good. Lots of cakes and cookies with random Google beverages. Lots of the drinks at Google are not usual brands - this seems to be Google sticking it to the likes of Coke and Pepsi, but also trying to provide healthier alternatives at the same time, which is no bad thing.

After breakfast, we were ushered to a giant room where we met the Google Summer of Code team - Leslie, Tiffany and Todd. Chris DiBona was also there, though he had been largely not involved this year, or something.

All the Google staffers are really nice, very outgoing and far too energetic for early-o-clock. The first session was working out where all the other sessions were going to be. This was the outcome of a 'sticking dots on talks that sound cool' exerciser we'd had over breakfast. A few of the interesting ones for me overlapped, but there was a bioinformatics one which related to and gave me an opportunity to shill tnemirepxEym. Also during one of the sessions, Mr Jon Phillips from Creative Commons showed up, proving that he is indeed a real person and not just a figment of my Facebook page.

Lunch was a make your own sandwich affair. I made two. Kettle Chips were on offer.

In the afternoon, more sessions, plus I managed to find a fridge stocked with (Diet! erk) Mountain Dew and proceeded to various talks. The day ended with a summary from Leslie, a group photo and then a bus ride back to the hotel.


The hotel was actually pretty awesome. It was more of a motel than a hotel, but they had various lax rules, such as allowing a few hundred free software hackers take over their pool area, load up on booze and later, pizza.

Running tally of Mountain Dew consumed: 1200ml.

XSS (Cross Site Scripting) Cheat Sheet

| 0 Comments | 0 TrackBacks

Freedom Tour: Day One

| 0 Comments | 0 TrackBacks

So, I left Manchester for my first destination, Chicago about an hour and a half later than scheduled, which didn't make for much fun. That, coupled with a middle seat made for some uncomfortable travel. Apparently the airline had no idea I'm vegetarian, so I wound up getting a quarter of the lunch I could have had. So, delayed and hungry, we finally land in Chicago, with about an hour until my connecting flight for San Francisco leaves. Of course, getting through immigration is a big queue, and sure enough, I wound up being flagged and having to go and sit in Homeland Security while they figured it out. This happened before, and I told the guy this. Anyway, they did a really good job of it, and eventually found the glitch in their system that was causing me to be flagged - apparently my Canadian namesake is who they're actually looking for.

So, 6pm in San Francisco comes, and we land, and by the time I locate Jason and MJ, it's almost 7, or 3am in the UK. Dinner was at Q and the Ultimate Vegan Grill, which is well recommended, though caution - it's a BIG plate of food.

I was pretty much beat by this point, but Jason gave me a little tour of the bay, including a little visit to Sausalito, and over the Golden Gate bridge to the edge of Marin County. I like San Francisco - it's cute, homely and has lots of trees and places you can go which are unspoilt. It also has a ton of restaurants, some very cool companies and lots of great people.

It's now almost 7am, and I'm up to head down to Mountain View for the Google Summer of Code summit, which an 8.30am breakfast, and judging by the Official Google blog, I'm in for a treat:-

- Googlers prefer Canadian bacon (45 lbs.) to chicken-apple sausage (30 lbs.)
- Steel-cut oatmeal (10-12 gallons) wins out over organic grits (6-8 gallons)
- We polish off 5 cases of fresh fruit (cantaloupe, honeydew, pineapple)
- Devour 160 breakfast burritos (eggs, veggies, cheese)
- We cook 80-100 lbs. of red bliss potatoes
- We use 2 gallons of egg whites (for the omelets)
- Googlers gulp down 9 gallons of fresh coffee every morning (just in our cafe)

Running tally of Mountain Dew consumed: 100ml.

Tomorrow, I travel up to Boston for a week. I hope to experience Grendels, meet some very cool people from the likes of OLPC, OpenWetWare, Science Commons and the like, and also I'm looking forward to finally meeting my colleagues at the Free Software Foundation.