Categories
Random

When burglars go down!

A while ago I found out that they’d caught the guy who committed the burglary on my flat at the end of last year. I was delighted, but also a bit nervous – the whole next part of the process, possibly appearing as a witness, going through the whole legal process (forms!), seeing him in person in the dock – all that stuff scared the hell out of me. Also – that was the time when I found out his name. I didn’t expect them to tell it to me, but there it was at the top of the letter. That brought it all home, really. How personal the whole thing was. Well anyway, today – amazing news – not only has he been arrested, but he’s had his first hearing and he’s pleaded guilty! So he gets sentenced in a few days and it’s all over. Justice prevails! And I might now be able to get a decent night’s sleep.

Addendum: Having said all that, I forgot that last night at two in the morning, the police came around to search my next door neighbours’ flat (our front doors are six inches apart) because their son (who’s a bloody menace, noisy and aggressive) had just beaten the crap out of his girlfriend and she’d finally called the police. I’m not convinced I’m living in the safest area…

Categories
Personal Publishing

Five by Five (Weblogging)…

Five links about the state of weblogging in depth:

  • Watchblog.com
    A beautifully designed site which explores the 2004 US election across three weblogging panes, reflecting Democrat, Republican and Third-party contenders. It’s an interesting idea and elegantly assembled.
  • Bloggers Rate the Most Influential Blogs
    “So here we go again. This column is an attempt to show which Weblogs are influencing the media the most. That’s really a vague idea, but that gives me latitude to be wrong just enough to bring your catcalls and counterarguments (please click the “Speak Up” button to the left). “
  • Lance Arthur’s New Site
    Lance is back – finally. The creator of Glassdog.com and about a million cool other things finally looks like he’s got a … well I’m not going to call it a weblog because he’ll probably stab me.
  • A Blogger’s Big Fish Fantasy
    The New York Times retreads the old, “They’re in it for the traffic” angle on weblogs – writing an article that’s both true and a little frustrating, as it concentrates mainly on people who are pursuing active strategies to get more traffic, rather than letting their site reflect them as people.
  • Microsoft forming a policy on internal weblogs
    Interesting one this – I’ve worked for a number of companies while updating this site – some have been more comfortable about my personal publishing enterprise than others. Through all that time though I’ve tried to never talk about specific decisions or ideas ongoing at work unless it was both in my interest and my company’s. But who gets to decide? Individual’s becoming known for their insights is brilliant for them, and reflects well on a company that employs them. Openness breeds creativity. But where’s the line between being open and engaging with a community and costing your company large amounts of money… I think it remains unclear, and Microsoft’s stance on this could determine a standard corporate policy that’s employed elsewhere. Worth watching, this one…

Five links about the state of weblogging in brief (most via Jason):

Categories
Hacks Personal Publishing

Hacks: A Random Link Button

Some people read a weblog because they like the person who runs it. Maybe they think that person is a highly entertaining, witty and exciting individual. On the other hand, many weblogs are run by geeks (including this one). If you’re a social no-hoper – what are you to do? How do you get people to come to your site and experience the wonderful links you’ve found without forcing them to plough through all the rubbish you feel obliged to write?

The ‘random link’ code does just what it says on the tin. When your visitor clicks onto it, it gives every link contained on that page of your weblog a number, chooses a random one and then follows it. No muss, no fuss…

In order to put a ‘random link’ button on your weblog, you need to insert this simple piece of javascript into the of your Blogger or Moveable Type template:

<script language="JavaScript">
<!--
// Surprise me button
function goRandom()
{
var numLinks = document.links.length;
var randomNum = (numLinks - 1) * Math.random();
randomNum = Math.round(randomNum);
window.location.href = document.links[randomNum].href;
}
//--></script>

Now you only need to insert the link itself into your template to help take even the slightest effort out of your visitor’s daily visits:

<a href="javascript:goRandom()"">Random Link</a>

This hack was originally supposed to appear in the ill-fated O’Reilly “Blogging Hacks” book. I’ll be putting all my contributions online over the next few days / weeks.

Categories
Hacks Personal Publishing

Hacks: Styling your first post differently in Blogger…

Simple weblogging applications like Blogger can make it a breeze to update your site, but there’s a cost attached – every post on your site has to look pretty much the same. Here’s a hack that means you can style your most recent post differently from the ones that follow. It works by staggering the tags that surround your posts.

Here’s possibly the most basic template for a Blogger you could get:

<html>
<head></head>
<body>
<p>My weblog</p>
<Blogger>
<p style="background-color: red;">
<b><$BlogItemDateTime$>)</b><br><br>
<$BlogItemBody$></p>
</Blogger>
</body>
</html>

The important thing to notice on this template is that the paragraph tags (<p></p>) that enclose the Date/Time tag and the BlogItemBody tag are styled so that they have a red background. This is being done with CSS (Cascading Style Sheets) but you could equally do it with table cells or <font> tags. The important thing is that since everything inside the Blogger tags will be repeated for each and every post, all the posts will will be styled in the same way.

Here’s how you’d lay it out if you wanted to style the first post differently:

<html>
<head></head>
<body>
<p>My weblog</p>
<p style="background-color: red;">
<Blogger>
<b><$BlogItemDateTime$>)</b><br><br>
<$BlogItemBody$>
</p>
<p style="background-color: blue;">
</Blogger>
</p>
</body>
</html>

What you’re looking for in this template is how the paragraph tags have been staggered around your weblog content. The first paragraph tag is outside the Blogger tags and so – because it isn’t repeated for each post – it just changes the background color of the first post. But the </p> and the <p style=”background-color: blue;”> tags at the end are repeated, leaving a paragraph with a blue background open when the next post is inserted. When the second post on the page appears, its background is blue – and this is repeated for every post after that. All that’s left is to close the paragraph tag that’s left open at the end of the page with a simple </p> and there you have it.

This hack isn’t restricted to background-color – you can change the font-face or size, make the whole post bold or put a background image behind it. You can even use CSS to change the posts position on the screen with margin and padding.

This hack was originally supposed to appear in the ill-fated O’Reilly “Blogging Hacks” book. I’ll be putting all my contributions online over the next few days / weeks.

Categories
Random

Three pictures of Helsinki…

While I was in Helsinki, I finally had the opportunity to play with a camera phone without any sense of consequence – I wasn’t paying the bills! The shift in usage that occurs when suddently you don’t have to worry about paying 50p per MMS is extraordinary. Here are some of the pictures that I took while I was out there:

The lovely Fiona Romeo

Categories
Science

Reactions to "The Blank Slate" (Part Two)

Some really interesting stuff in Steven Pinker’s The Blank Slate about responsibility, free will and guilt:

“When we say that we hold someone responsible for a wrongful act, we expect him to punish himself – by compensating the victim, acquiescing to humiliation, incurring penalties, or expressing credible remorse – and we reserve the right to punish him ourselves. Unless a person is willing to suffer some unpleasant (and hence deterring) consequence, claims of responsibility are hollow. Richard Nixon was ridiculed when he bowed to pressure and finally “took responsibility” for the Watergate burglary but did not accept any costs such as apologizing, resigning, or firing his aides.”

Categories
Random

Trivial entertainment links…

Here’s a snapshot of what the rest of the world looks like when you’ve just returned from Helsinki:

Categories
Random

Frustrated after Helsinki…

So I’m back in the UK after the Aula MOM 2003 event and I’m feeling a bit flat. I was talking about “The Mass Amateurisation of (Nearly) Everything”, which is kind of an old thing of mine that I’ve never really written about properly. It’s directly inspired by Clay’s Weblogs and the Mass Amateurization of Publishing and indirectly insired by Dan Hill’s thoughts on Adaptive Design. I was on a kind-of-panel with Matt Jones and Dan Gillmor. Fun new people I met (alongside the whole awesome Aula crew) included the terrifyingly uber-connected Joi Ito, the insightful JC Herz and the charming Eric Wahlforss. And it was nice, as ever, to bump into Cory.

So why do I feel flat? I don’t know – I suppose a variety of reasons. I didn’t feel comfortable with the way I presented my piece, I guess. Or maybe I didn’t feel comfortable with the way I presented myself. Maybe I was unsure with the contribution I made generally. I don’t know. People said really interesting things, really interesting people said really interesting things. But I felt a bit … I don’t know … Unconnected? Unproductive? Maybe I’ll feel better after a good night’s sleep…

Categories
Random

A small request to Six Apart…

So here’s a tiny thing that I’d be really interested in seeing in a subsequent version of Movable Type. It’s so small it’s barely worth mentioning – particularly as the proper search function has now been integrated. But nonetheless it would make my life slightly more simple.

When I’m editing an entry, I’d just like a link that would take me to the current live version of that post. That’s all. Just a link which would allow me to bounce out of my MT installation to see what it looks like live, without having to battle to find it amid nearly four-years of almost-daily posting… Obviously, this is also an indictment of the terrible way I currently have my search engine configured. But I just think it could be useful and it should be pretty easy, I think…

Categories
Random

A pier into the sea…

A pier at a business retreat near Helsinki.