Subscribe to RSS feed This is (used to be) mostly just a place for me to keep track of code snippets.
Note that the sample code illustrates how to do something; wholesale copy and paste may not work.
Double-clicking a code box will select all of the code.
Links and forms followed byOpens in new window will open in a new window.

§ Most important things to remember

"Keep It Simple Stupid!"  (KISS principle)

"If it ain't broke, don't fix it!"

0 Comments added to this post

§ Helpful links

When I search google and find myself on the same page... again... I'm putting a link here!

Read More ...

§ ListViewWndProc

A way to handle some messages for TListView without subclassing a new component.  In particular, this provides the EditCancel event that Delphi does not provide, and allows hiding the horizontal scrollbar which can be a problem in some circumstances.

Read More ...

§ TinyHint (jQuery)

TinyHint

Read More ...

§ Fake placeholders

Fake placeholders...

Read More ...

§ Recovering files from Canon PowerShot S3IS SD card

When I bought the Canon PowerShot S3IS I went ahead and purchased a Sandisk Ultra II 2GB SD card.  I've been taking pictures from time to time since December of '06 and never had a problem.

While on a trip with some friends, one friend's camera started doing some weird things, so my best friend explained that some camera devices, well, start acting weird if the memory gets too full.  So they made sure all photos had been uploaded to a computer, formatted the card, and sure enough, everything worked fine after that.  Note that the card was not full, just "too full" - whatever that might mean.

Read More ...

§ Faster webpages

I was looking over my google webmaster tools the other day, and on the Site performance page there's a link to Page Speed, an add-on for Firefox.  (Actually, an add-on to Firebug, a Firefox add-on.)  I thought I'd take a look - maybe there'd be some good pointers.  Here's where that led...

I suppose I should also mention here yahoo's YSlow add-on for Firefox.  (Again, an add-on to Firebug, a Firefox add-on.)  For all I know, maybe using YSlow first would be more productive.  In my case, I discovered google's Page Speed first.

Read More ...

§ Actiontec M1000 DSL modem security

I used to use an Actiontec GT701 DSL modem.  Since my entire livelihood depends on my internet access, I got a little nervous when some odd things started happening.  As it happened, a friend was having trials with the phone company getting her DSL to work, and was advised to try the Actiontec M1000.  Still no go, so I tested her modem here and it worked nicely.  (That was all the phone company's fault, and after getting escalated a few times, I believe they were a bit embarrassed.)  So I looked around and found a slightly used M1000 (with wireless) for about $30!  (I don't want the wireless - I use Airport.  Being an Apple product, it's actually comprehensible to mere mortals like myself.)  But after a few days, weird things started happening with the M1000...

Read More ...

§ Don't AJAX an image!

Using AJAX is fine when you need it, but I've used AJAX to simply reload CAPTCHA images.  Boy, some people are dumb!  Me, in particular.

UPDATE:  I'm dumber than I thought...

Read More ...

§ Adventures with Ubuntu 9.10 on G4 Yikes!

I have an Apple G4 Yikes! (or PCI Graphics) that I've loved for years.  I ran Jaguar, then Panther, and it currently runs Tiger well enough to suit me.  I got a G5 a while back, so this box got sort of retired, until I picked up some contract work doing websites.  Since I had a whole new set of emails, chat sessions, VOIP, invoices, etc., etc., I turned on my trusty Yikes! and devoted it to all of that stuff for that job.

When I stopped working that contract, my poor old G4 started getting lonely again.  So, the other day I thought maybe I should use it to try Linux again.  I've looked at Linux a number of times through the years, for various reasons, including on old Macs, but never quite got sucked in to being a convert.

"I keep hearing good things about Ubuntu," I thought, "so I think I'll try it; this'll be fun!"

That depends on your definition of fun...

Read More ...

More entries...


But sometimes it puzzled Adele to see how very unpredictable the consequences of an event could be.
Adele Mundy, In the Stormy Red Sky, David Drake