Blog posts
Collected posts from the various blogs I’ve contributed to since 2002.
Collected posts from the various blogs I’ve contributed to since 2002.
One organization I do a lot of work with hosts their sites on a 1&1 Managed Server. Essentially, only their sites and applications are running on the server, but 1&1 manage all of the sysadmin work, and don’t provide root access. I have a number of misgivings about the configuration of the server, particularly the fact that the user’s root folder is also the document root for their main domain, but 1&1 have been good about keeping PHP up to date, and we don’t have to worry about being woken at 3am to fix stuck processes. Unfortunately, Ruby hasn’t been treated to the same attention as PHP and the system version is still languishing at version 1.8.1, which won’t handle rails for us. ...
I think it was Andy Tate who recommended I read Ian McEwan’s Enduring Love while I worked on my undergraduate disseration on narrative physics. It was an excellent recommendation, as McEwan used his fiction to express the heart of what I wanted to say much more cogently than my more formal piece ever could. His article in today’s Guardian advocating the building of a sense of a ‘scientific canon’—written on the 30th anniversary of Richard Dawkins’ The Selfish Gene—continues to make that argument. Too much scientific education operates as though the latest discoveries exist devoid of their tradition, exempting itself from any sense that discoveries might be influenced by processes and losing along the way a rich understanding of how science has developed, and how valuable even false turns can be. ...
There are two new entries on my last.fm journal: Primitive Baptist Lambchop and Jenny Lewis and The Watson Twins. And for anyone who was following the carbon offsetting posts, there was an interesting comment from Craig Coulter of carbonfund.org on my price discrepancies post.
Representative Lantos, the ranking Democrat on the US House of Representatives International Relations committee was interviewed on BBC World Service last night, as the confrontation between “the international community” and Iran continues to heat up. As the interviewer sat negligently by, the representative made a series of statements that belied the reality of that situation, and betrayed his ignorance of the realpolitik. There are many, particularly in Britain, who would have a lot of sympathy with the understanding of power implicit in his claim that the US allowed Europe to negotiate with Iran (nb: I wasn’t able to find a recording or transcript of the interview, so quotes are paraphrased from memory), but I doubt that such a statement is how the British, French or German (EU3) governments would like to see the situation portrayed. Beyond that, it is a statement that clearly reinforces the portrayal of the US government across the world, but particularly in Iran, as an Imperial power that manages the world through its proxy states in western Europe. If the United States want its claims that its stance against Iran in the current situation is anything other than a power play, its senior politicians would be wise to avoid so blatantly contradicting that. ...
A couple of years ago I moved the discussion boards on Sarah Masen’s website over from a rather nasty tangle of PHP and HTML that I had chosen for its threading view, to the considerably more flexible Phorum. Phorum has been serving us well, but a number of regular posters have lately been reminding me that the move left our archives from the old software inaccessible. I had always intended to put together a quick collection of scripts to allow access to those archives, possibly with some searching, but the prospect of getting it all together with the appropriate threading and the legacy database had put me off. That was before I read about Rails’ acts_as_tree option. ...
About fifteen minutes ago, our friend Adam called Kari to let her know that the area in which we live had been ‘quarantined’. A murder suspect had escaped from the county jail and was thought to be in the area. No-one was being allowed in or out while the police searched. I had noticed the presence of helicopters overhead, but it’s not that rare that I thought much of it. ...
Another one over at my last.fm journal.
There are so many self-styled “Web 2.0” sites awaiting launch that I’ve completely lost track of where I’ve signed up for announcements. The latest surprise to land in my mailbox was the test code for edgeio, a distributed classified ads service. Edgeio provides a ping service that publishers can notify of new items for sale listed on their site. Items tagged with ’listing’ are added to their database, and purchasers can use the edgeio site as a directory of those listings. It’s an interesting idea, and a service that was bound to happen pretty soon, but I have a few questions about the implementation. ...
Seemingly along with the vast majority of other web developers, I’m in the midst of a few projects developed in Ruby, based on and using Rails. This is one bandwagon I’m happy to jump on, and so far much of the hyperbole seems deserved. I spent quite a bit of time today working out how I could use Ruby’s mixins to dynamically populate my objects with methods based on a user’s role within my application. I have a controller that I want both vendors and admins to be able to use, but I want each of them to be able to access a different set of methods, often with the same names. Rather than implement checks in each method, or even using callbacks to dispatch appropriately, I wondered if my main controller could simply mixin the methods it needed at runtime. ...
I was reminded by maxi_million in the comments on one of my previous LiveUser tutorial entries that I never completed the promised third entry in that series. After the initial procrastination wore off and I initially turned my mind to writing this piece, my main project using LiveUser ended up being converted (for various reasons) into a drupal site, so my further use of the library has been quite minimal. But I do have a little code sitting around, so will try and draw together a few notes on how I was using Liveuser. ...