Monthly Archives: March 2009

On reflecting extension methods in C#

Extension methods are a great way of adding functionality to existing classes. It almost makes C# similar to ruby/javascript, where none of the classes are “closed” – functionality can be added to them at any point of time. For example, say we want the method ToTitleCase to be available to all String objects, and we [...]
Posted in c#, extension, methods, programming | Leave a comment

I flew, and how!

We were a bit late in our plans, but finally Samson gave the go-ahead. “ We’ll be taking off from the other end of the beach. See you there in five minutes. ” The “other” end of the beach was quite some distance away. The wind sock put up to guage the wind velocity was too far [...]
Posted in adventure, paragliding, vasai | 4 Comments

Tabs are evil, and not just in whitespace

Of the many great things that Firefox has brought us, tabbed-mode is the earliest, and arguably the greatest. Tabs existed in applications before Firefox, but I believe it was Firefox that made them mainstream. Soon, many applications started touting tabbed windows as one of their main features. Tabs were a good way to keep all [...]
Posted in autohotkey, linux, management, window, windows | 2 Comments

On git, gitosis, and python issues on Windows Vista

Some browsing, debugging, and IRC chats later, I have managed to set up a git repository on Windows Vista using cygwin, with a few unexpected hiccups. I will try to repeat the process on a virgin setup to come up with a more authoritative flowchart of how to go about things. For now, I’ll just [...]
Posted in git, gitosis, python, vista, windows | 3 Comments

Use Gmail to tell the world about yourself

Here’s a trick that you might find handy. Using a combination of gmail address aliases and canned responses, you can use gmail to automatically send directed, and relevant responses on your behalf. You have to enable canned responses … … add a canned response while composing … and set up an appropriate filter. As you [...]
Posted in email, gmail, tips | Leave a comment

Make your editor help you

While the above is funny, using a good editor, and using it effectively, usually prevents such situations. A good auto-completing editor isn’t necessarily to help one type faster – it is most helpful for the context sensitive documentation that it provides. It brings documentation closer to the act of writing code, and saves the context [...]
Posted in editor, programming | Leave a comment
  • Previously …

  • Categories

  • Meta