ruby gotcha: exec command

Surprisingly small amount of documentation on the net about this…. When using the exec command, don’t expect any of your ruby code after it to execute! This is because the command you run using exec replaces the currently executing script! Use the system command instead, or the “ trick

Read more

automatic iframe height

Placeholder

I’ve been forced to use an iframe in an app I’m developing, for long and boring reasons. One of the perennial problems that iframes presented was that their height needs to be specified upfront, and if the content within turned out to be too long then too bad; a nasty scroll bar would appear in […]

Read more

beautiful, just beautiful

Placeholder

I present to you, The Internet, how it was back in the good old days! That site is still in use. Check out the ‘last updated on’ messages at the bottom. Have a read on ‘my web philosophy’ at the bottom of the home page…

Read more

Computer electricity usage

Placeholder

I just discovered that I’ve left a light on, 24/7 for the last 10 years. And not one of those fancy new ones, one of the old fluorescent 100 watt ones! It’s not really a light, it’s my computers. Even when everything is turned off, my computers and peripherals are drawing 104 watts of power. […]

Read more

1 2 3
top