Category Archives: Mundane Musings

Last month @ SANIsoft blog September 1, 2010

[CakePHP] How to re-size images at run-time This is a helper + controller combo for CakePHP which I often use. It helps to re-size images at run-time and also aid display them. Oh yes! once the image is resized it also caches them. First let’s look at helper method. PLAIN TEXT PHP: class MyHelper extends AppHelper {     function getImageUrl($path, $size, [...] SQL data source in Sphinx These days I am getting more and Read More…

Last month @ SANIsoft blog August 1, 2010

[Zend Framework] Slug filter While studying for my Zend Framework certification, I tried to build a small application to test my knowledge. One of the tasks in that project was to try and build a slug filter which converts a particular string to slug, for example, ‘My Test String’ to ‘my-test-string’. It also checks for slug duplication if you [...] Namespaces in PHP 5.3 – Part 1 One of the most significant and welcome features Read More…

Lion lessons!

Lion Lessons: Yes my love you did well!!

On the morning of our departure from Kirawira, western Serengeti it was cloudy and we had almost given up all hopes of seeing anything but then as it can happen with any jungle safari our luck changed. Just 20 meter form the road was sitting a part of a lion pride three lioness with two cubs. Initially the cubs were just content to suckle but then one of the lioness took upon herself that it Read More…

My top 10 iPad gripes

It is heavy and does not lend itself well to being held in a single hand due to the smooth metal back – I remedied this by ordering a silicon rubber sleeve. Safari for iPad does not offer search within a page. This can also be remedied by following the instructions here Screen should have been widescreen a 16:10 ratio is pretty much it these days. The widescreen option in the setting sucks! The look Read More…

Vulture on stilts!!

Secretary-bird - Sagittarius serpentarius

As we drove towards the Central Serengeti plains a head bobbed up from behind a rising – I immediately exclaimed – Vulture!! But as the bird continued to come towards us it became apparent that the bird was taller than any vulture I know of, as the legs came into view they were more like that of a Stork or a Crane. This was my first encounter with the Secretary-bird. Tweet

My top 10 tips for photographers traveling to Tanzania

Carry a good bean bag, Even with a small lens your wrists can get tired pretty soon and tripods are not very useful inside a vehicle. Do not overlook taking wide angle shots – carry a good wide lens – a 10-20mm Sigma is a nice starter lens. A 400mm lens is mostly reach enough, you will not miss much if you do not have a longer lens – but do carry your big guns Read More…

The anniversary of blah!

Happy 16th Sweetheart!

“Aren’t you two bored of each other?” The question took me by surprise! No it has never occurred to me that I will get bored of Swati, but then perhaps I am too naive when it comes to marital relationships. For me this is one relationship where things are in black and white without any intervening gray shades. The question however did make me ponder as to why it should be raised at all and Read More…