Currently browsing category

Code Bits

wp_stored_proc

WordPress and Stored Procedures

Those of us who despise having MySql (or any other SQL) queries with multi-level (and other ugly variations) of sub-queries in DB interaction code go to some lengths to optimize the said interactions. Occasionally, a stored procedure is the better of available options to achieve an optimal result (see a …

wp2010

More WordPress – make header image clickable

Another common issue seems to be making the header image clickable once you’ve managed to remove that mess of a clickable title that was cramping your style. A whole bunch of solutions are simple enough but require for you to edit the header.php file – which is a pretty bad idea if …

latex

LaTeX quirks – omitting things in TOC

Everyone knows how LaTeX can make your life easier and at the same time drive you insane with a tiny little ‘gotchas’. I’m using a LaTeX template to write my thesis and the template sets up the Abstract and the Acknowledgment sections as follows: which works just fine, generates the …

Python Image Library – Part 2: OpenCV

Now that I have my PIL installation working it’s time to get some complicated image processing done and OpenCV is, pretty much, the best choice out there at the moment – especially since it’s development became active again and numerous bugs have been fixed, new functions added, etc. This FAQ at the …