raditha.com, The Site With The LAMP is dedicated to Linux, Apache, Mysql and Python (formerly PHP). It's the work of Raditha Dissanayake, who has an affinity for these technologies as well as several other non redmond technologies such as Java
These photos are from my infrequently updated photo blog

A more meaningful way to reschedule Zyzzyva cardboxes

June 3, 2015, 5:59 a.m. zyzzyva , scrabble , cardbox , sqlite

Playing competitive Scrabble but not using the Zyzzyva cardboxes? Well you should. Using Zyzzyva cardboxes but you have an unmanagable number of quizzes coming up each day? Read on.   Zyzzyva does have it's own built in rescheduling feature it's pretty usefull if you miss your quizzes f ...

Vim and python debug

May 19, 2015, 12:30 a.m. vim , python , django , debug

Vebugger This is the first VIM based connection that I managed setup. Vebugger will stop at break points and I can use it's commands to inspect variables but it's somewhat tedious because it doesn't have an interactive shell like pdb does. For python debug what this actually does is ...

Which PostGIS function to use?

May 16, 2015, 4:11 a.m. postgis , python , road.lk

Which PostGIS function or operator do you use if you wanted to find the overlap between different lines? There are several candidates with ~, && , ST_Overlaps and and ST_Intersect being amongst the most prominent. They all do the job in different way and take different amounts of time a ...

Configure the vim plugins and other stuff.

May 13, 2015, 5:15 a.m. vim , plugins

Right-o now it's time to configure the plugins that were installed the other day. Let's start with minibufexpl they haven't made any key mappings so if you want to use it you need to keep typing in long commands or you need to create a map in your .vimrc file. Before doing that you ...