Blog Posts in "news"

If you're seeing this...

Posted at 15:19:42 on Sun, June 22nd 2008 by graham
in: blog code django new design news new site postgres writing

... then the DNS records have propagated correctly and your RSS feed reader is now slurping from the new grahambinns.com server, which is just hunky dory as far as I'm concerned.

I've been working on this version of things for a while. Besides a re-skin - which taught me a lot about how I should be designing my templates and CSS, so it should be a bit easier next time - I've also tidied up the codebase a bit and added some new features. Most of them are under the hood, but here are some of them for those of you that care:

  • Each piece of content on the site has its own license. For example, all my photos are CC-BY-NC-SA, as is all the content here so far. But when I start adding stories here (and it will happen within the next few months, I hope) I'll be able to license them as I see fit.
  • I can now make posts using markdown syntax. This might not seem like a big deal but over the years I've come to loathe sites that simply turn linebreaks into <br />s (yes, Wordpress, I'm looking at you. You still do it, even with valid HTML posts). On this site I used to use TinyMCE as a WYSWIG HTML editor, which worked fine but was pretty horrendous to load on a slow connection. Now I just use markdown and let Django's markup app do all the work. Fantastic.
  • You can now post comments using markdown syntax. No more trying to post a link and having Django eat it!
  • I can now post to the blog by email. I thought about using gpg signatures to validate my emails but realised that it was too complicated (we do it in the Launchpad email interface and one look at that code a while back persuaded me to not do it unless I had to). Instead I've gone for generating single-use authentication tokens, which suits me fine and should hopefully - along with an obscure incoming address - stop spammers from doing nasty things.
  • The site now supports pingbacks, though at the moment it can only receive them until I iron out some issues with the pingback sending code.

There are a lot more things that I've fixed, added, tweaked and polished, but none that are particularly interesting.

So here, finally, are the vital statistics of the new site:

  • Server: Bytemark virtual server running Ubuntu 8.04.
  • Django 0.97-pre (to be upgraded to 1.0 stable when it comes out in September).
  • PostgreSQL 8.3 (the migration to which fixed so many problems it's unreal).
  • Apache with mod_python for serving the Django stuff.
  • Lighttpd for serving the static files.

5 million

Posted at 11:53:40 on Sun, June 15th 2008 by graham
in: idols links news photography rebekka gudleifsdottir

One of my photography idols, Rebekka Gudleifsdottir , has passed 5 million views on her Flickr stream.

That's insane.

Congratulations Rebekka!

Second Edition Hardy T-Shirts are now available for preorder

Posted at 10:04:52 on Wed, May 07th 2008 by graham
in: canonical news the hardy heron ubuntu

Due to enormous demand the Canonical shop is now offering a second printing of the Hardy Heron T-Shirt, this time on sand-coloured cotton.

From the shop:

Due to unprecedented demand, we are producing a second edition Hardy Heron t-shirt. This edition is very similar to the limited edition t-shirt in design, but rather than including the heron image from the wallpaper of the beta release of Ubuntu 8.04 LTS, it includes the heron which is featured on the current Ubuntu desktop wallpaper (a slight difference in the position of the colours used, but different enough to keep the first chocolate coloured 500 as limited edition). Plus this is a sand coloured t-shirt, which is 100% cotton. Can't wait until they arrive? Pre-order yours now.

Since I managed not to order a first edition version I've put in my preorder for the second. Sadly, it won't arrive before I go to UDS in a couple of weeks, but I'll survive. I have another, more sekrit T-shirt that I'll be taking with me, of which more, doubtless, anon...

One of those analogies you won't forget

Posted at 13:51:54 on Fri, February 22nd 2008 by graham
in: blogs friends in the news matt revell news politics power science

My colleague and friend Matt Revell has a nice summary of some of the reasons for rising domestic fuel prices in the UK at the moment. A phrase that particularly caught my eye was this one:

Wind power, also, is not reliable nor particularly efficient and requires generation from other sources (coal, gas, nuclear, for example) to back it up when it’s either too windy or not quite windy enough. So, this is the Goldilocks of power generation and just like Goldilocks in the story, it can’t go for that long without needing a lie down; it’s the energy source with ME. So, no, your electricity won’t be free and nor should it be.

I confess that I don't pay a huge amount of attention to the telly these days. It's a means for me to watch DVDs and little else; most of the news content I read on a daily basis is read via the intertubes. But the point that Matt is making in his post, the one about the problem with TV audiences, or rather with TV programs who cater to the lowest common denominator and require no effort from their audience (that's how I see it, it may not be how Matt sees it) is a valid one.

One of the problems with living in an age of high information availability, when all you need to do to be able to know something more about an issue is look it up on Google, is that people accept the information that comes to them almost without question, in the same way that a stereotypical Daily Wail reader will accept the paper's opinion that the country is going to the dogs almost every single day of the week.

Is this just a human problem? Are we just naturally rather too trusting of, well, just about anyone who seems to be better informed than us? One of the most common phrases I've heard - and which has irked me no end - over the years is "It's (in the paper|on the web|on the TV) so it must be true!"

Anyway, I'm not going to go on further in a post that started out with a purpose but has subsequently become somewhat disjointed and is turning into a rant. Go and read Matt's post for a saner and less crabby commentary on matters.

Instead, dear reader, I'll leave you with a summary of my thinking on such matters by that other web luminary, XKCD:

What do you want me to do? LEAVE? Then hey'll keep being wrong!

In the loop, honest

Posted at 16:29:06 on Sun, February 17th 2008 by graham
in: cool stuff jumping on the bandwagon launchpad news python software writing

Wow.

Once again, I'm late in getting on a particular train of thought. That's not unusual, true, but I should have been slightly quicker about it this time round because a) it's something in which I'm really, really interested and b) one of my friends, whose blog I read, posted about it and I didn't actually pay that much attention until a lot of other people had jumped up and down, commenting on how fantastic this particular thing is.

So, in case you've been living under a particular sort of rock (i.e. the one that stops you finding out about new OSS projects, assuming you're interested in that ) here's the not-exactly-a-scoop.

You may have heard of a project called WriteRoom, a full-screen text editor for the Mac which costs, currently, $24.95. Now, I've been using a cross-platform WriteRoom clone, JDarkRoom, which is written in Java and is pretty much closed-source AFAICT, for quite a while. JDarkRoom has issues - beyond the two fairly major ones of being written in Java and been free as in beer but not as in speech (though that's not a reason not to use it). On Ubuntu it's pretty clunky, slow, and doesn't work at all unless you go and install the Sun JRE rather than using the one that ships with Ubuntu by default.

Anyway, as has been pointed out pretty much the OSS world over by now, there's now a Python (always dear to my heart) clone of WriteRoom, PyRoom. It seems to have found a lot of traction over the last week or so, because although it didn't work terribly well the first time that I tried it it's now perfectly useable - more so than JDarkRoom by far (I can't speak for WriteRoom, of course). It even does multi-buffer editing, which means that I can have this blog entry, and another one that I've been writing since Friday, open at the same time and happily switch between the two (this may sound like a really obvious feature, but you'd be surprised how much more efficient it makes me).

Now, don't get me wrong, I still love my vim, and there's no way in hell that I'll be using PyRoom for much besides blogging and writing for the forseeable future - why would I want to? But in terms of allowing me to actually concentrate on writing and stopping me from procrastinating it's fantastic, and it doesn't bug me in the same undefinable way as JDarkRoom does.

So give it a shot, if you're into that sort of thing. You can grab it from Launchpad http://launchpad.net/pyroom. I think you'll find it well worth it.

In other bloody annoying news, my Flickr import script appears to keep breaking my site somehow, to the point where I have to restart Apache to fix it. This is decidedly irksome. 

Search

Latest Twitter

One of them days: unexpected happenstance, hard work, confusion and phone calls. Throw in some photography and it'll be a good one. 2008-07-24 16:58:22 (More)

Recent entries

Launchpad Bugs

Post Categories

10mm 15th of july upload amusing animals atheism autoportrait bass bbc bird blackandwhite blogging blogs buildings canonical caton church colourised computing cricket d40x desaturated django editing flickr flower forestofbowland from the inbox funny general heysham home humour in the news lancashire lancaster landscape links linux london lune may 12th upload me monochrome morecambe morecambebay music nanowrimo nature news new site night norfolk norfolkbroads novel novel-the-second observations pendle people photography podcasts posts that started out differently programming python quotes ranting reading reflection religion science sea selfportrait sepia shadows sigma1020mm silliness sky stupidity sunset texture thoughts three hundred and sixty-odd days of 2008 travel tree twitter ubuntu warren ellis, internet jesus water work writing writing ideas

About

Graham Binns is a writer and software developer from Lancaster, England, with rather too much hair. He has been making things up for as long as he can remember and has been making code work for long enough to make a living from it.

He has written one novel, which is in the process of composting, and is working on a second.

From the gallery

Slightly creepy Notices There's a lot of this in Norfolk tags: norfolk sign country n95 Peace What whispers did these walls one hear?