Archive for the 'G33k' Category

Recent listening.

Tuesday, February 9th, 2010

I’ve picked up on a few new podcasts recently, all of a pretty techy bent.

All from 5 by 5:

  • The EE Podcast keeps it short, since it focuses on goings on around the ExpressionEngine content management system (which I use a lot). I’ve been pleasantly surprised at how the show keeps being worthwhile and enjoyable to listen to.
  • The Dev Show talks around more general software development happenings. I’m finding it good to here about technologies outside of those I use myself. It makes me curious.
  • The Conversation is more of a general talk-show type thing, with guests coming and going from the chat with the host. Easy going.

I’ve also recently discovered Huffduffer, which lets you collate audio from around the web and have it sucked into iTunes as a podcast — potentially very handy.

I spend less time in the car, these days, but when I am driving it’s usually with a podcast on the stereo. Lately I’ve been saving the music for while I’m working.

Addendum.

Friday, February 5th, 2010

My wife read the quote from Fraser Speirs in yesterday’s post. She said, “That’s exactly how I feel about computers.”

We/she/the world will benefit from a computing appliance that’s more like a washing machine: to get clean clothes, you only very rarely need to know anything about plumbing. For anyone other than the specialist or the hobbyist, an appliance is the means, not the end.

Democratisation.

Thursday, February 4th, 2010

Apple announced some new shiny last week. The tech press made a lot of noise, lots of cheering and lots of booing, and people like me got a little excited. I won’t lie: I’m really looking forward to getting my hands on an iPad. I no longer have my eye on the Kindle DX. (The iPad has been announced at only $10 more in the States. Mental.)

But I’m also looking forward to seeing what happens when some of the people around me lay hands on one. It seems that this thing will meet the computing needs of an awful lot of people out there — normal people, people not like me, people who don’t need the grunt for Photoshop, who don’t always have a terminal window open, people who don’t self-identify as that kind of geek. Web, email, some word-processing and some presentation prep, games, other bits and pieces. If (admittedly that might be a big ‘if’) the UK pricing is in line with what’s been announced for elsewhere, the price is certainly right. It’s a little bit more than a netbook, but it looks to fill the same gaps more effectively. It certainly looks like it’ll do it much more accessibly.

I couldn’t get by with an iPad as my only computer, not by a long way, but I know people who could.

You should go and read a post by Fraser Speirs called Future Shock. Here’s a taster:

For years we’ve all held to the belief that computing had to be made simpler for the ‘average person’. I find it difficult to come to any conclusion other than that we have totally failed in this effort.

Secretly, I suspect, we technologists quite liked the idea that Normals would be dependent on us for our technological shamanism. Those incantations that only we can perform to heal their computers, those oracular proclamations that we make over the future and the blessings we bestow on purchasing choices.

Ask yourself this: in what other walk of life do grown adults depend on other people to help them buy something? Women often turn to men to help them purchase a car but that’s because of the obnoxious misogyny of car dealers, not because ladies worry that the car they buy won’t work on their local roads. (Sorry computer/car analogy. My bad.)

I’m often saddened by the infantilising effect of high technology on adults. From being in control of their world, they’re thrust back to a childish, mediaeval world in which gremlins appear to torment them and disappear at will and against which magic, spells, and the local witch doctor are their only refuges.

Fraser then posted this tweet the other day:

Colleague just asked, bewildered, 'is it infrastructure or ad hoc?' then 'TKIP or AES?'. This is how I know I'm right about iPad.

Another developer, Matt Gemmell, posted these:

I don't give a **** about programming or computers or operating systems. I care about people being empowered. So I care about iPad. iPad isn't a computer to anyone who doesn't care about computers. That fact alone is enormous. iPad says that software aristocracy is dying. iPad is a means to make us realise software has been about machines and tasks, whereas life is about people and goals. We need to change.

Finally, you should read The Failure of Empathy on the Mule Design blog:

They [people] want things to work most of the time, and be easy to fix when they don’t. And if the process by which it happens is “magic” they are totally cool with that.

They want the thing in the movies.

As an industry, we need to understand that not wanting root access doesn’t make you stupid. It simply means you do not want root access. Failing to comprehend this is not only a failure of empathy, but a failure of service.

My thoughts exactly.

Prerequisites.

Sunday, January 24th, 2010

Yesterday evening, we had dinner with a couple of friends. The guy, who we’ll call Bob to protect the guilty, cheerfully self-identifies as a geek. But during the evening it came out that he had never seen a whole slew of films which I contend are necessary to claim that title.

A sample: Highlander, The Princess Bride, Aliens, The Last Starfighter, Flight of the Navigator, The Big Lebowski, Tremors, many more.

Additionally, he maintains that Voyager is the best Star Trek (when all right-thinking people know that that title belongs to DS9, or at least to the original series), has never seen Thundercats and had never heard of Babylon 5.

There’s some edumacatin’ required.

UPDATE: ‘Bob’ informs me that he had in fact heard of B5. He’s just never seen it. As if that makes it better.

Space efficiency.

Wednesday, September 23rd, 2009

I have a problem: I read a lot. In itself, this isn’t the end of the world, but has some tricky consequences.

As a scarily voracious reader since I was very young, I buy books in great number. My “to read” pile seems to grow a bit faster than I’m currently working my way down it (life, you know?), and we’ve pretty much run out of space to keep the books. The bookcases — all of them — are full, and the staging piles around the house are beginning to teeter. Taken alongside my inability to dispose of any book, the problem becomes clear.

Over the last few years, I have almost completely stopped buying CDs. It’s not because I don’t buy music any more — I’m probably buying more music than I have at any time since I was sixteen. It’s just that these days most of the music I buy comes as a digital download, usually from either the iTunes Music Store or Amazon’s MP3 service. Physical discs have become an encumbrance I’d rather do without. (My wife took some convincing on this, but has been coming ’round to the idea, too.) All our actual CDs are in big plastic boxes in the garage.

We haven’t taken the same step with video (TV boxed sets or movies on DVD) yet, but that’s mainly because video eats up hard disk space very quickly and the only active computer in the house is a laptop, where disk space is limited. Once I figure out the easiest way to keep track of media on external drives, that may change.

Books, then. Are books different? Part of me thinks so. I’m a little funny about books, a little reverential. It might be daft, and I trace it back to a specific incident when I was a child*, but I can’t get away from viewing them as a bit special, a bit more significant than other media. Unlike shiny platters, I like the things themselves a great deal — even the pulpy paperbacks, of which I have many.

Set against this is the geek in me, frequently glancing towards the world of the ebook reader.

Lately, I’ve taken to buying technical and reference books as ebooks. They’re easier to find for download than they are to get in any bookshop in Belfast, I like getting my (metaphorical) hands on them straight away, and an indexed PDF is much easier to handle than a five, six or seven hundred page lump of pulped wood. Having to read them from the computer screen is no problem, and can be very handy for reference books.

I’ve read one novel from the screen of my computer. It was a pretty poor SF thing that the author stuck up for free download a couple of years ago. Quality of the prose aside, it’s not a reading experience I’d be keen to repeat: reading fiction, or even non-technical non-fiction, is done differently. A laptop screen won’t do. Might a dedicated ebook reader?

Ebooks aren’t much, if any, cheaper than print. Project Gutenberg and the like aside, the benefit is convenience rather than cost, especially when you figure on spending a couple of hundred pounds on a reader. Also, not everything that’s published is available as an ebook, or in every format, but the genres I read seem reasonably well served.

There aren’t many hardware options available. You can get pretty good reader software for PDAs and phones, but I find the screen of my iPhone a bit cramped for reading long-form text. Amazon sell their Kindle readers, although they’re not yet available outside the US. There’s been talk for a while now of a UK launch, but no sign of it actually happening. Sony have their Reader hardware, which is sold here by Waterstone’s. There are a few other options from smaller manufacturers, but these two are the main contenders. (IREX wouldn’t count as a smaller manufacturer, but their hardware is crazy expensive. That said, their latest, just announced reader could be a definite contender.)

While the Kindle isn’t officially available here, it’s not hard to get one imported. I’ve spent some time with a friend’s Kindle DX, the main strengths of which seem to be its fantastic big screen and its excellent PDF support (important to me). It’s also a very nicely put-together item. However, outside the States it’s trickier to buy ebooks from Amazon, and they seem to be the main supplier of books in the Kindle’s preferred format. Also, you lose its ability to buy books and periodicals over-the-air. I fell in love with it a little, though.

The first Sony Reader to be widely available here was the PRS-505. I know folks who love theirs, and I almost bought one, but the slow page turn and the woeful PDF support put me off. The new PRS-600 seems to have sorted these issues out, though, and it supports a nicely large number of file formats, including the very widely-available ePub. I hope to get a detailed play with one sometime soon; I had been holding out for a UK Kindle DX, and even thinking of importing one myself, but the PRS-600 might take its place.

I think I’ve decided that it’s time for another shift in how I consume media, although I expect the flow of paper into our house to continue as a trickle. I’m just trying to figure out when and with which device.

I know there are at least one or two people who peek in here who use ebook readers. Please leave a comment with any advice you can offer.

-

* The incident: I was young. I was an avid viewer of Blue Peter. One afternoon they demonstrated how to make a nice cardboard picture frame, but the only cardboard I had available was the hardcover of one of my dad’s fishing books. It was impressed on me that you don’t do that kind of thing with books…

Little things that smooth the way.

Friday, September 4th, 2009

Techy, geeky stuff again. I’m going to stop apologising for that. For a while, there, I toyed with launching another blog as an outlet for the geeky things I like to post; I’m aware that it’s not really the cup of tea of everyone who reads here. I was going to call it Heartless Gravity. (Extra points if you figure out why.) For now, though, I’ve decided to keep it all here.

Having just gone through a (relatively painless) operating system upgrade, I’ve been noticing the little things, software especially, which make my day go just a bit more easily.

  • 1Password is very first on the list of software that I’d have trouble functioning without. With so much business being done online and web applications as far as the eye can see, I’ve ended up with what feels like hundreds of username/password pairs to try and remember. Better that everything has its own (difficult) password, so 1Password remembers them all for me and I only have to remember its single (stonkingly complex) master password. Best make sure that database is backed up…
  • MobileMe is the over-the-air syncing service from Apple. It was a little flaky when it first launched, but now it keeps the diaries and address books on my computer and on my phone matched up without me having to do anything about it. This is the service that got me away from pen and paper for everything, which is enough of an achievement alone.
  • Caffeine is dead simple. It’s a little icon in the menubar of my Mac that deactivates the screen saver, sleep setting or anything else that will affect the screen when the computer is idle. Don’t try and give a presentation without it.
  • Things is a simple, slick task tracker, and it even syncs to my phone. I could never do lists, but over the last few years I’ve developed a serious habit. Things tracks everything for me. If you take it away, I’ll never get anything done.
  • TextMate is just a text editor. Like Notepad, or TextEdit. A big, smooth Lexus hybrid, or a Porsche 911, is just a car. Like a Corsa or a Fiesta. TextMate can be the Lexus or the Porsche. Or a Landrover. I do more and more of my writing in plain text, before dropping it into Word or Pages or whatever, and I’ve tried a ridiculous number of text editors. TextMate won that race.
  • ChronoSync keeps my local copy of all my work documents in step with what’s on the file server in the office, so I don’t have to think about it.
  • Spotify sits alongside iTunes, keeping my ears happy through the day.

And that’s just the software, and only that of it that’s always running every day. There’s plenty more.

Or even better.

Friday, August 7th, 2009

Now it’s 12:34:56 on 07/08/09.

Simple pleasures…

Moment.

Friday, August 7th, 2009

Just now, on 07/08/09, it’s 10:11:12.

That is all.

Migrating a Subversion repository to Mercurial.

Wednesday, July 15th, 2009

If the title of this post doesn’t mean anything to you, you’re pretty safe to skip it.

Like many others, I’ve been using Subversion for source code management and version control. I have mostly been happy, but over the weekend I’d had enough of some of the foibles by which Subversion shows its age. After playing about with it for a while, I decided to move to Mercurial.

Distributed VCS is all the rage right now. All the cool kids seem to be using Git, but Mercurial appealed to me more. There are other options, as well.

Migrating from Subversion to Mercurial should be easy. Mercurial includes the hg convert extension, which takes your Subversion repository and converts it to Mercurial while maintaining all your branches and tags as well — if you can get it to work. I tried for an afternoon and couldn’t get it to fire. (I was working with a remote repository. You may have better luck working locally.)

I decided to try hgsvn, which I installed from MacPorts as py25-hgsvn. It aims to allow you to use Mercurial to manage a repository and then push and pull from a Subversion repository. I didn’t take it that far, though if you try it please let me know how it works. I was mainly interested in making the switch completely, which I managed reasonably well.

Before we go through the process, here’s one thing to bear in mind: if your Subversion repository contains tags and branches, these will appear in your new mercurial repository as directories containing a bunch more source code, with the whole directory structure making up one big working copy. This makes sense if you think about it, as branching and tagging in Subversion is nothing more than making copies of your files and promising yourself (and your collaborators) that you’ll treat them a certain way.

Because of this, I found that this will work best if you select a certain branch (maybe your trunk, maybe not) and convert it only. So this process will work best for you if you’re working on your trunk, or only want to bring over one branch with its revision history.

With that in mind, here’s what you do. (I’m on Mac OS X, but this should follow for most *nix-type systems. On Windows, it may well be a bit different.)

Set up the conversion using, for example

$ hgimportsvn http://yourrepo.com/trunk/

In this example, the new Mercurial repository will be in a folder called ‘trunk’, so you may want to rename it by

$ mv trunk MyProject

Move into that directory and grab the contents of the repository with

$ cd MyProject
$ hgpullsvn

At this point, you will be able to run this as a Mercurial repository without any trouble. However, there is a little cleanup we can do to make everything neater.

First, because hgsvn is designed to allow Mercurial and Subversion to coexist, but that’s not what we want, you can get rid of the .svn cruft and the file that tells Mercurial to ignore that cruft, using

$ find . -name .svn | xargs rm -frv
$ find . -name .hgignore | xargs rm -frv

(By the by, if you’re planning to pipe find into rm, especially with the -f switch, it’s best to run the find first to check you’re only going to delete what you want to, and only then run it with the pipe in place. Man, am I glad I checked it first!)

Second, if you run

$ hg branches

You’ll see that your main branch is currently called ‘trunk’ instead of ‘default’ — which is what a new mercurial repository would have. You can correct this by running

$ hg branch default

By now, you’ll have made a few changes to the contents of your working copy, so commit them with

$ hg commit -m “Cleaning up after migration to Mercurial”

And that’s that. It’s easy when you know how.

(I found useful clarification on a little of the cleanup from samhart.com.)

Don’t be evil.

Friday, March 20th, 2009

Google are famous for their (unofficial?) company motto: “Don’t be evil.”

Their fun Street View service eased its way into action in the UK yesterday, and then got picked up by the media.

The BBC has been following the story, and has published this series of images from and of the Street View cars — did you spot them anywhere last summer? You’d know if you had. (I spied the car in Dundonald, and it may have taken my picture. I was too far away to be sure that it’s my car in the photo.)

How do you feel about the whole thing?

The Daily Mail reacted pretty much as you’d expect them to, emphasising controversy. Junior was also quick to criticize the availability of imagery around Northern Ireland. I particularly like his suggestion that everyone who viewed a picture of a police station “should be traced by the security services.”

It is possible to ask Google to remove imagery, and they have taken some down already.

The main concerns seem to be that Street View invades privacy and that it may be useful to criminals.

Maybe I’m just not paranoid enough (which would be hard to say about me, really), but surely there’s nothing here that a determined criminal, or — dare I say it — terrorist, couldn’t find out pretty easily elsewhere? The fear of terrorists armed with photographs is almost totally baseless, and surely a simple street map is almost as (theoretically) useful. If you wanted to see what the Google Street View car saw, all you need to do is take a walk or a drive down that street.

The privacy question is more complicated. I was quite surprised, in a not altogether good way, when I saw how detailed the images of my parents’ house are. What Google says is true: they don’t show anything that isn’t in clear view of the public roads, which means technically there is no legal concern. Indeed, by my non-professional but I hope well-informed understanding, the contention in that Daily Mail article that this is using people’s likenesses commercially is irrelevant: “commercial use” generally refers to advertising, where you could be seen as endorsing a product, and Google obscure faces anyway. Making money using images is incidental to this sense of “commercial”. (Of course, IANAL, so don’t go by what I say.)

Legally it seems fine, and, according to the articles linked above, Google have been in dialogue with the Information Commissioner to make sure of that. That doesn’t make it completely comfortable, though.

That said, while I get uncomfortable with the accessibility of pictures of my family’s homes, I enjoy looking at other places on Street View. That makes it complicated.

It’s like many things Google does: they’re handling and controlling a frightening amount of information (they get all my email, my RSS subscriptions, my searches, everything any of us writes online), but they do it so well. Perhaps we’re alright, as long as they stick to that motto: don’t be evil.