Archive for July, 2005

What is Eurostar Security for?

The airport-style security measures for Eurostar passengers serve no useful purpose. What are they for? They are make-work and self-aggrandisement for out of control customs officials. I believe they are dangerous, because they are training the general public to follow the arbitrary instructions of any uniformed bureaucrat. Read the rest of this entry »

Comments (13)

ViewLevel 2.0 beta

The release candidate of ViewLevel 2.0 is now available. This is a port of Kendra Burbank’s excellent ViewLevel plugin to WordPress 1.5.

There is a new options page for setting the default viewlevel. Filtering is now done at the SQL stage, so unprivileged users now see the top ten viewable posts. In Kendra’s version, the filtering was done in the loop, so sometimes casual viewers might not see any posts at all, even when they should have been able to. Read the rest of this entry »

Comments (41)

Static Linking on AIX

I’ve spent the last several hours trying to link a C++ program statically on our ageing AIX machine. As I’ve come to expect from IBM’s compiler – nothing’s ever that simple. What did I expect? They don’t even provide a man page, and the linker always kicks out thousands of irrelevant warnings by design. Read the rest of this entry »

Comments (9)

EventCalendar 3.0

UPDATE: Version 3.1 is now available.

http://wpcal.firetree.net


EventCalendar 3.0 is now available. Use WordPress to manage future events as an online calendar. Display upcoming events in a dynamic calendar, on a listings page, or as a list in the sidebar. You can subscribe to the calendar from iCal (OSX) or Sunbird. Read the rest of this entry »

Comments (205)

JavaScript onload

Here’s a way to use window.onload that won’t break other scripts that also need to use it: Store the current value of window.onload before you set the new value, then call it as part of your own initialization.

I’ve written this short helper function to do the job for you:

  function WindowOnload(f) {
    var prev=window.onload;
    window.onload=function(){ if(prev)prev(); f(); }
  }
Read the rest of this entry »

Comments (22)

EventCalendar 3.0 Beta

The release candidate of EventCalendar 3.0 is now available. The main new feature is a piece of JavaScript (AJAX) wizardry that allows you to flip backwards and forwards through the calendar without refreshing the entire page. The ‘Forthcoming Events’ list is also far more flexible. Many many other requested features have been added. Read the rest of this entry »

Comments (35)

Ambiguous String_var operator

GCC is quite pedantic, so code like this can cause problems:

  CORBA::String_var s = ...
  s[0] += 1;
Read the rest of this entry »

Comments

JavaScript Find Position

I’ve been trying to use the findPosX() & findPosY() functions from Peter-Paul Koch’s excellent ‘quirksmode‘ site. The purpose of these functions is to find the absolute X and Y co-ordinates of an HTML element. They work well in both Internet Explorer and Firefox, but the results can be pretty rubbish on Safari. Read the rest of this entry »

Comments (134)

Sponsors