No-one is good at SimCity

22 January 2005

After Open Science last night, we sat around discussing just what had been said earlier. Tim Hubbard, of the Human Genome Project (who spoke very well) namechecked SimCity, in reference to his desire to get people playing with simulations of the economy. After all, they might turn something up.

I realised that whilst lots of people have played SimCity, myself included, no-one is any good at it. Not one person I can think of had any degree of success with it. We all start idealistically, spending not beyond our means, paying off debts as fast as possible, piling money into public services and education, and then the big space alien comes and zaps us because we have no defence budget. Either that or rioters start fires. It’s a nightmare. Chatting with Alexandra this morning, she suggested the way to succeed was starting huge, massive zoning, huge debts, and thinking in the long-term.

She also pointed out that she did know someone who was good at SimCity: her brother. Alexandra’s brother is autistic. With all this in mind, I’d love to see him set loose on the Budget.

(I also had another idea for making world-economy-sims popular: encode the world economy into the world’s most popular spreadsheet, namely Championship Manager: Man U are China, Leyton Orient are Luxembourg. Its players love the stats, the layers; the model underneath gets changed subtly, the top end doesn’t, and you’ve got the biggest ever machine-farm for experimenting with the economy – with the single exception that Everton are far better than they have any right to be).

To cut a long story short: I’m stuck.

I’ve got PHP installed on my 10.2.8 Powerbook; it’s installed to /usr/local/php, as per the default pkg install from Marc Liyanage. I’ve been trying to get PEAR working with it.

The pear executable is in /usr/local/php/bin. I’ve set this up as a path so I can get at it anywhere. The problem is, when I run, say, pear upgrade-all it downloads all the tar.gz files entirely fine, and then terminates with the following error message:

failed to write /usr/local/php/lib/php/Net/.tmpSocket.php

Thing is, Net as a directory has permissions of 755. I’ve also tried doing this with sudo and get a different, but similar, error. What the hell’s going on? I’m completely lost. And that’s why I ask the Lazyweb for help; I don’t know where to turn.

Time passes…

19 January 2005

…and not a word from me. Busy busy. Working on several things, not least of all: having fun and enjoying myself away from this computer. Things being worked on include the new, stunningly improved, version of Infovore, and something currently known as Brahe, a PHP/Magpie based Halo 2 stat parser.

Things currently being enjoyed as influences on Infovore 3.0: dsandler.org, Khoi Vinh’s Subtraction, nixlog, Memo, flickr, del.icio.us, and a few of the usual suspects as points of reference. It’s fun, it’s clean, it’s wide, it has more colour than this one. I’m happy with it and can’t wait to start sorting out individual post pages (the real bummer) and plugging it into Movable Type.

I’m also still technically working on some writing, listening to music (currently loving The Killers’ album Hot Fuss and Out of Season by Beth Gibbons and Rustin’ Man) and meaning to get around to more of my own music. Programming currently on a break but going well; have spent a good while looking at Amazon Web Services today and boggling at potential. REST is wonderful.

Plus I’m going to this talk on Open Science at the ICA tomorrow.

Life is nothing if not action-packed.

Clean workspaces

10 January 2005

Sometimes, the thing that stops me functioning is the wrong space. I need the right space to work.

I haven’t really had that since I moved into this flat; there was this computer table in the corner of the lounge I’ve never really got on with; the wrong height, the wrong corner. But I stuck it out. And it made me hunched and grumpy.

I’ve got a little study now. Well, little is a huge exaggeration; it’s tiny. It’s the corner of a chest of drawers, where if I put a stool up to it, I can work quite happily, and with very good posture, too. It makes me feel a lot happier – the light in this room is better for a start, and the benefits to my posture are huge.

New place to work; new start. I’m reworking infovore for that reason, too. It’s a bit more different than all the other reworks since, you know, last summer. Marginally different structure; more colour, more light. I like the cleanliness, but I’m thinking wider now. Khoi Vin’s subtraction has been a huge influence in this regard.

But it’s not going on show til it’s ready. In some ways, it’s strange; I know that the Photoshop mockup is quite a way along, but I’m just not ready to start hacking that into XHTML and CSS just yet; it’s going to take some time and probably make me tear my hair out a little. I don’t want that just yet. Also, I’m still working on the individual entry pages; trying to do my best with every template, not just the front one. This could be some time in the making, but I’m very pleased with it.

And, I hope, a new design to work in, will make me work better: writing more, uploading more, getting off my backside to post the things I really want to. Once upon a time, I blogged loads, and it wasn’t terrible.

I hope I can get some of that spark back, soon.

New Year, New Stuff

01 January 2005

Happy 2005. I’ve been quite quiet here because of a few things; a personal project keeping me busy, a hectic couple of weeks at work, and a holiday, away from the Smoke, with friends and family.

And now I’m back, ready to start again, only this time there’s a new number on the calendar. No doubt I will fluff a few cheques in the next week or two.

Anyhow, stuff that’s been keeping me busy and is moderately exciting (and which I should have plugged earlier): firstly, “How to spread the net“, an article I wrote for the New Statesman on web accessibility (mainly looking at the blind), which coincidentally accompanies the launch of the NS New Media Awards 2005 (which this year include an award for accessibility, in all its many forms).

My personal stuff isn’t quite finished yet – but it’s nearly at a stage I can show people – so that will continue to tick over.

Lots of other stuff on the go; all will be revealed in due course. Hope it all turns out OK…

Sloppy

24 December 2004

The best quote in this long-ish Livejournal post and threads (in which a programmer asks” please explain PHP to me) is this: “PHP sucks as a programming language as much as HTML sucks as a display description language. Somehow, they are both absolutely suited for the task at hand.

It’s all about keeping it sloppy, and it’s exactly why I love them both at the moment. Sure, there are other more appropriate tools at times, and I am as convinced as the next man of the sea of average-at-best PHP hackers out there… but when it shines, it can really be quite something. Anyhow, that quotation spoke to me a lot (and it’s a good-ish, if a bit snobby, discussion), so I thought I’d share.

I Hate WordPress

17 December 2004

This is not a knee-jerk opinion. It is a lengthy and balanced opinion that it has taken a good deal of time to reach. But the long and the short of it is that I really, really hate WordPress.

Perhaps “hate” is too strong a word. But it infuriates me to points that no piece of software ever should, and that’s not a good thing in it’s favour. “But Tom,” you say, “doesn’t infovore run on a battered old version of Movable Type?” Yes, it does. I’ve been using WordPress for another project, on a different server. It was ideally suited to task – good quality blogging engine supporting permalinks, archive, and trackback, which runs on PHP and MySQL, and involves minimum outlay (ie free).

WordPress fits the bill perfectly. Unfortunately, it’s littered with incomplete features – Administrator not being able to see other users public drafts; functionality to show single categories and single category archives (very, very easy in Moable Type) non existent without hacking the sourcecode. It doesn’t like dealing with multiple blogs without persuasion, and it really, really doesn’t like running a blog in a directory other than the one the scripts are installed in.

It’s a fairly impressive piece of software, I don’t deny, and I’m sure everyone is working really hard on the next version. If this was in a piece of software at version 0.7 I could just about understand.

But it’s not. WordPress is at 1.3 now, which frankly, is nonsense. I’m not asking for much, but 1.3 suggests something approaching a degree of finishedness, and that’s sorely lacking – some of the developers seem surprised when people find features that aren’t, as it were.

Added to that is the support forum, which is currently one of my least favourite places on the net. Post after post after post, all suggesting kludgey, amateurish hacks to the source code, none of which bear much similarity, none of which are backed up with authority. And then there’s all the people tempted by the free blogging software, befuddled by CSS, who repeatedly state that they are “well versed in HTML” or “skilled designers” but “it’s just the CSS” that foxes them. Which is nonsense.

And then you get all the guys who jump on the Web Standards bandwagon but they’re not sure why. It’s a complete mess; numpty CSS issues are resolved but never explained, just cursorily dealt with and pointed towards the many sites exxplaining the Box Model bug.

CSS is getting where table-layout was when it was hitting the hugetime – everyone knows it’s the way forward, but they’re not so hot at it, so they’ll bodge away.

Movable Type, despite it’s flaws, and acknowldging the fact it’s more established, is streets ahead; in part, because it was coded by a very small, very tight team, who were imaginative enough to see its potential. Sure, it’s blogging software, but it could be used as a quite powerful CMS – and that’s evident in its design. And now, it’s honestly worth paying for.

In fact, I think the real problem with WordPress is that it is Open Source; too many cooks hacking the broth, so to speak. Everyone’s free to dive in and bugfix; no-one’s responsible for the big problems. Combined with finishing off someone else’s work, and a stubborn insistence on sticking to the blog format, and to as few physical pages as possible, and it ends up being a mess. Bits of it are great, and I love the concept – and, obviously, it fits the blogging bill for a lot of people.

But if you’re me, it’s phenomenally frustrating, unfinished, and could well be another nail in the coffin for webdesign. And that’s why I, Tom Armitage, hate WordPress. Hey, at least I feel something for it.

I broke the weblog.

12 December 2004

A combination of being too tired, hungover, and burnt out, and accidents will happen. Working on code is always a bad idea in that particular scenario.

I accidentally erased the Infovore template and stylesheet. Thankfully, I saved the template, but only had a six-month old copy of the stylesheet. So I had to do my best to rebuild it. We’re just about there, but the menu isn’t finished.

Ah well. Infuriating hour and a bit rebuilding it, I tell you. I’ve learned my lesson for next time…

Personal Development

09 December 2004

For about the past month I’ve started learning PHP. This may not sound very remarkable, but it’s kind of important to me; I never really clicked with programming bar managing some basic arithmetical stuff in QBasic, and this disappointed me, as I was rather interested in it.

Anyhow, whilst my XHTML/CSS skills are germinating nicely, I felt it time to add another string to my bow, so settled down with a local PHP install (thank heavens for local Apache!) and started learning from a book.

I’ve steered well clear of MySQL stuff purely because the current book is terrible on it, and am going to devote myself to learning about MySQL app development when I’ve finished the basics – all I have left on my current course are session variables, cookies, and regular expressions.

But I’ve now acquired enough to start being able to use it, and it’s enormously satisfying. This morning, over breakfast, a big idea hit me around the head. So I whipped up a Basecamp setup for the project (in part to test Basecamp out, and it’s proving to be an excellent app, and really useful for tracking progress and info) and started hammering out some notes on the train to work.

Fast-forward to tonight, where I settled down to work. I found a suitable library online and installed that into the working directory, and have slowly been working my towards goal after goal and ticking them off.

And it’s going well. It’s going really, really well. I’m quite excited. There will in due course be a seperate site about the project, but for now, it’s still under wraps. Still, I’m doing things I never thought I could, and the glow inside it’s generating is quite something.

So more on this later. I’m slowly edging my way to becoming a more rounded web-person.

What does this application do? All I’m saying is: Halo 2, RSS, PHP.

Sciral Consistency

07 December 2004

Getting Things Done, bar being the title of a book by David Allen, seems to be very popular at the moment. The geeks have hit critical mass – too many RSS feeds to read, to many projects to write, we need to get things done. Witness Life Hacks, 43folders, the del.icio.us gtd tag.

The big picture for me is work, which I tend to get done because I have to. I’m using notepads and checklists more than ever now, and it seems to be working – a work notebook, numbered pages, for ongoing stuff; a spiral-bound reporter’s pad for scrap notes and jottings; and a Moleskine which is for non-work stuff, and contains notes for fiction alongside Christmas lists, and checkboxes marked Hoover!

The stuff I have real difficulty with, is the not-habit and not-big stuff. Important but non-urgent. Repeated but not regular.

Enter, stage left, Sciral Consistency. Consistency is designed to fill this gap exactly. It’s very basic: along the top of a grid run days, down the side run tasks. When you add a task, you set a minimum and maximum number of days for that task to be done in. The grid fills with coloured squares – red for overdue, yellow for nearly overdue, green for ready, blue for in the clear. Double click on a square and it gains a dot – and all the colours update themselves.

It’s a computerised version of the star-chart you had when you were young for multiplication tables, spelling, or washing-up. It’s only useful for this kind of activity… but it’s very useful. Will see how it works out and I might end up registering it; it certainly prods me to do exactly the kind of tasks I forget.