rails error: IOError: Couldn’t load the unicode tables for UTF8Handler (dump format error(0xb))

Argh I can’t believe how long it took for me to track this one down. No one else on the internet had reported the problem before, so trusty ole google was no help. So I’m putting this one out there, to help others. This error is caused when a file vendor/rails/activesupport/lib/active_support/values/unicode_tables.dat becomes corrupted. The easiest […]

Read more

asp.net: huge difference between DataView.Table and DataView.ToTable

Both DataView.Table and DataView.ToTable return a DataTable from a DataView. The difference is that .Table gives you the underlying data, with no changes from the dataview’s sorting or filtering. ToTable on the other hand, gives you the data in the dataview after filtering and sorting! This is the sort of thing I’ve come to expect […]

Read more

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
top