Notice: Undefined index: a in /home/lazyg72/HTML/global_subs.php on line 15

Notice: Undefined index: a in /home/lazyg72/HTML/global_subs.php on line 19

Notice: Undefined index: a in /home/lazyg72/HTML/global_subs.php on line 23
lazygnome - A big jumble of words
window rain

Iain's nonsensical words


Notice: Undefined index: a in /home/lazyg72/HTML/diary.php on line 77

Notice: Undefined index: a in /home/lazyg72/HTML/diary.php on line 78

Notice: Undefined index: a in /home/lazyg72/HTML/diary.php on line 79

Notice: Undefined index: a in /home/lazyg72/HTML/diary.php on line 80

Dear diary...


Deprecated: Function ereg_replace() is deprecated in /home/lazyg72/HTML/diary.php on line 121
It's been ages since I last did anything here. And I find that I have little time for blog updating.

That said, I've started a new site over here myrant.net.

It's not to replace this site, more of a quick place for me to keep my semi-rants that are longer than twitter can cope with.

My intention is that anybody can register and post their rants, though I've not had any takers yet.

Peace out!


Deprecated: Function ereg_replace() is deprecated in /home/lazyg72/HTML/diary.php on line 121
It's hard to believe, but it's been 2 years since I 1st donned these prescription specs.

Now, I have a new prescription and 2 new pairs of glasses. Having a deeper frame will allow me to start using them for night time driving.

I took a photo, I look fat:
New specs


No photo just yet, but here's an image for the time being:
Austin 24084086


Deprecated: Function ereg_replace() is deprecated in /home/lazyg72/HTML/diary.php on line 121
As I haven't posted anything here for a while, why not enjoy some wintery photos from my flickr account.

I think that my fave has to be:
Police car slides into Great Malvern Post Office
Police car slides into Great Malvern Post Office


Deprecated: Function ereg_replace() is deprecated in /home/lazyg72/HTML/diary.php on line 121
Following on from last month's Select the 1st letter of the last word in MySQL, I then needed a way to select the last word from string (or column).

SELECT REVERSE(LEFT(REVERSE('Iain Cuthbertson'), LOCATE(' ', REVERSE('Iain Cuthbertson')) -1));


Now I can sort rows by surname when the full name is in just one cell!


Deprecated: Function ereg_replace() is deprecated in /home/lazyg72/HTML/diary.php on line 121
IE6, oh how you destroy my will to code.

1st Problem:
List item numbers dissapear in IE6.

Solution:
ol { margin: 0; padding: 0; }
ol li { margin: 0 2em 0 2.5em; padding: 0 }


2nd Problem:
List item numbers are all set to 1.

Solution:
ol li { zoom: 0; }



Deprecated: Function ereg_replace() is deprecated in /home/lazyg72/HTML/diary.php on line 121
I recently had a need to select the 1st letter of the last word in a stored field.
This is my 10min stumbling result:

select SUBSTRING(REVERSE('Iain Cuthbertson'), LOCATE(' ', REVERSE('Iain Cuthbertson')) - 1, 1) as result;


MySQL only code I'm afraid folks.


Deprecated: Function ereg_replace() is deprecated in /home/lazyg72/HTML/diary.php on line 121
I've mentioned this on Facebook and Twitter, I guess I should say something here as well.

Every now and then, I forget to shave. Sometimes I can forget to shave for several weeks in a row.

The most recent forgetting to shave lasted 4-5 weeks!
In an effort to look a little more human, I made the effort to shave on Sunday morning.

It's not that often that you get to try out a selection of different facial hair styles, so I took the chance to play around:

img_5258
Click for the full series!


Deprecated: Function ereg_replace() is deprecated in /home/lazyg72/HTML/diary.php on line 121
  1. Create amazing new blog with symfony.
  2. Measure and cost tiling area around bath so a proper shower can be fitted.
  3. Figure out where workstation will go in own bedroom if 2nd bedroom is to be sub-let.
With regard to blog: what to do with old entries? allow commenting? look for a designer?