Smarty Notes

For the same project as I posted about yesterday, I’m making extensive use of Smarty. Today I wrote a plugin that will convert the output of NestedSet into a nicely formatted HTML list. The one thing that took a while to work out was that if a smarty ‘modifier’ plugin is applied to an array, it will be applied to each element of that array. I wanted my modifier to be applied to the array as a whole and to do that I had to prefix the modifier call with an ‘@’. ie: ...

January 28, 2005

A Beginner's Guide to Grand Rapids Buses

Needing to be at Calvin for lunch but not really caring to set off at the crack of dawn to travel in with Kari, today seemed like a good opportunity to try out the bus system. I’ve picked up from a few people that travelling on the town’s buses can be a little daunting for those who’ve not tried it before, so I thought a few words about the experience would be in order. ...

January 27, 2005

PEAR::DB_NestedSet

For a current project I’m trying to get a better idea of what’s available in PEAR. PEAR has come on a long way since I last explored it in any seriousness. Today’s undertaking was an exploration of DB_NestedSet. Up till now I’d had a simple parent-child category map but I needed to make it a little more flexible, reduce database overheads and simplify maintenance. Using NestedSet looks like a solution to all of those, though some refactoring may be in order. The key thing that’s missing is good documentation and it did take a fair bit of googling to get things going as I’d like. ...

January 27, 2005

Christian Right, Christian Left: The Polarized American Religious Scene

The final speaker in the 2005 January Series was also the best received. Fleming Rutledge, an Episcopalian Priest from New York with one of those genteel southern accents I’d only previously heard in movies, took on the most politically charged issue in modern America and did so impressively. As she began to laud evangelicalism while critiquing theological liberalism I was rather concerned. In the context of a series which has had a clear conservative bent and a talk entitled " Christian Right, Christian Left: The Polarized American Religious Scene" the danger of an hour on the merits of legalistic theology was very apparent. Thankfully, that apprehension was quickly subdued as it became clear that Rutledge was not interested in tight definitions but was looking for theology that surpasses the narrow confines in which modernist liberalism and conservative evangelicalism both languish. ...

January 25, 2005

Downloading the Oscars?

Each year on Oscar Nomination Day I find myself lamenting the difficulty of getting hold of the short films that get nods. This year, with all the talk about film downloads (word got out yesterday that Napster is planning to offer video downloads, and that google is to launch video search) I’m left wondering why no-one was poised to announce that they were offering downloads of the ten shorts. The best I’ve found so far is this teaser of Gopher Broke and this one of Ryan. Walt Disney Pictures aren’t even advertising their Short Film (animated) nominee on their homepage… ...

January 25, 2005

"A Continent for the Taking: The Tragedy & Hope of Africa"

Howard French’s penultimate January Series lecture couldn’t have been more different than that which preceded it. Where Frank Deford offered light-hearted stories, French dug deep into the issues facing Africa and its portrayal in the West. Where Deford had a light, informal stream-of-consciousness approach, French read from a script in a manner that was often hard to follow, but rewarded careful attention. French’s style was hard to follow. A Senior Writer for the New York Times, he demonstrated very clearly the skill with prose and clear grasp of critical issues that won him that position but was much more impressive when questioning took him away from his script. Nevertheless, his topic was a vital one and I sincerely hope he made the impact it deserved. ...

January 24, 2005

A centenary

It took me two years to notch up my first two hundred posts on this blog. It’s taken only six months to reach this three hundredth entry. I wondered whether the increased posting frequency was due to several months without work, but looking back it seems I actually blog at least as frequently during the busy times. I suspect the pressure to focus disparate thoughts and observations in a tighter timeframe results in less procrastination and more writing. ...

January 23, 2005

More Climate Change

There’ve been several interesting comments following from my entry on Tom Ackerman’s lecture about climate change, particularly on whether the issue needs to be de-politicised. Eric contends that the issue needs to be de-politicised, while Jim responded that he doesn’t feel that the answer lies that way (but don’t take my brief summary for it, do go back and read their comments) I think it’s important to note a difference here between the ways ‘political’ issues work in the US, in the UK, and in other parts of the world. In the US it is easy to develop a view that the Democrats are pro-environment and the Republicans are anti-environment. Climate change as a political issue often becomes a partisan issue, getting thrown around just like any other. While British politics is often subject to the same dangers, the existence of a prominent third party and a slightly more nuanced debate leaves me believing that it might be possible for climate change issues to be political without becoming quite so starkly partisan. ...

January 22, 2005

"A Conversation with Frank Deford - Writing, Sports & Frolics"

At times during Frank Deford’s January Series talk, it felt a little like he didn’t believe people like me exist. A sports writer, occasionally he’d pass reference to women who didn’t like sports, but I kept getting the feeling non-sportsfan men were an alien concept to him. But lest that sound too negative, the talk was probably one of the most entertaining to date. His gentle storytelling style, mostly stream-of-consciousness made a subject I normally can’t muster the interest to follow quite fascinating. ...

January 21, 2005

An insubstantial entry

I had the plan quite carefully laid. I needed to have a meeting this morning that meant I couldn’t make it to Calvin for the January Series today, so I ensured the meeting was scheduled with plenty of time for me to listen in online, and enacted at Kava House so there would be WiFi at hand. Unfortunately, I couldn’t get a clear stream. I quickly gave up. If the talk is archived, I’ll try and listen in and continue my commentary. ...

January 20, 2005