About Me: Jawaad Mahmood: 30, Muslim, Canadian, freelance, doing consulting in Tokyo, Japan.

Unicode searches in MySQL

January 31, 2006

MySQL usually sucks for Unicode searches. They have tuned their partial text search for 4 character words or more – certainly, not what the doctor ordered when it comes to the normally 2 or 3 character asiatic language set. However I ran into something interesting today.
SELECT *
FROM `ads`
WHERE `description` LIKE ‘%経%’
LIMIT 0 , 30

This seems to work perfectly. Hrm. I just need to fix the damn classified section and I’m set.

Comments Off

Alito and your daughters.

January 30, 2006

This is so retarded.

This is the reason I wouldn’t vote the Democrats if I was American. Reading this dramatic garbage is enough to make me cry.

Here’s a few alternatives if you are worried about your daughter needing an illegal abortion

  1. Try sitting down and telling her the inevitable outcome of sex. REMINDER: Your daughter just might not need an abortion if she isn’t busy having sex all the time.
  2. Try to convey the importance of family planning.
  3. Remember that all this means, if the dire terror comes true, is that abortion will become a States right issue. No need to get the coat hangers out yet, you sick bastards.

Oh and one last thing. Please encourage childless homosexuality as an alternative lifestyle for your children. They will be awful parents if they are anything like you.

Comments Off

An interesting event.

January 27, 2006

http://www.canadaonrails.com/

This looks like an interesting event to pick up some Rails stuff. Too bad it is on the other side of the country :(

Comments Off

Archives 
March 2010 February 2010 January 2010 December 2009 November 2009 October 2009 August 2009 July 2009 June 2009 May 2009 April 2009 March 2009 February 2009 January 2009 December 2008 November 2008 August 2008 July 2008 June 2008 May 2008 April 2008 March 2008 February 2008 January 2008 December 2007 November 2007 October 2007 July 2007 June 2007 May 2007 April 2007 March 2007 February 2007 January 2007 December 2006 November 2006 October 2006 September 2006 August 2006 July 2006 June 2006 May 2006 April 2006 March 2006 February 2006 January 2006 December 2005 November 2005 February 2005 December 2004 November 2004 October 2004 September 2004

Creative Commons License
All text and images under 1024 x 768 pixels on this site are licensed under a Creative Commons Attribution 3.0 Unported License.
I require a link back to the original page of the article/image. If the image/article
is not public (IE: It is not present in an article on the blog), you may not reproduce it without permission.