I love metaprogramming

I have almost finished the 80% of ruby metaprogramming course and I am loving it. Really, writing a complete class without writing the code below. This is so old way of writing code…nah just kidding. class People end Also, declaring the instance methods and using class_eval just obfuscates the code. Awesome. I will share the [...]

Bugs…

Bugs are inevitable in any piece of software and we all are aware of the fact that developers cut corners to make the software work. As far as hacks go unnoticed they can be referred to as calculated risks. Bugs sap our energy and focus and leave us exhausted at times. My observation says that [...]

Rewriting URLs…

Last nite I changed the urls from “this_is_my_new” to read “this-is-my-new” apparently latter is a better way for search engine optimization…it was a bit of a pain though…but I managed it somehow…

ETextEditor v EditPlus

I just realised yesterday a vital advantage of EditPlus on ETextEditor – Support Regular Expressions. In EditPlus you can search and replace by Regular Expressions which is very handy when you are working on a long text file and would like to do a quick search followed by replace all…but could not find a way [...]

Future is bright Future is ETextEditor

No denying you will be absolutely gobsmacked by this text editor which is Windows equivalent of Mac’s text mate…and the features are sweet…so powerful. My earlier choice of text editor EditPlus2 just looks feeble to me now… Some of its features are: 1) Select different words by pressing the Ctrl key down and then edit [...]

Sayo nara hideous urls

I have managed to get rewrite urls to work for this blog. It was not difficult at all but I was just being lazy (not a GTD attitude I know)…so no more of “index.php?p=12″ in the url instead you will be presented with a pretty url for example “sayo_nara_hideous_urls/14″ (more meaningful and is same as [...]

Tryst with WordPress

It took me a long time to install my local copy of wordpress. Problem: For some reason the PHP install failed to recognise the existence of mysql on my machine and gave the following error “Your PHP installation appears to be missing the MySQL”. Environment: Apache 2.2 on Windows XP, PHP 5, MySQL 5 Solution: [...]