Archive for August, 2005

Microsoft Job Blog and Other Blogs

Since people often accuse me of hating Microsoft, I have decided to go a little easy on them. At one point, I have passionately advocated to use Linux and dump Windows. Sometimes, I even forgot that Linux has weaknesses. I still do advocate, but I only point out Linux’s strengths and weaknesses (gasp !) and leave the choice to the person. Isn’t that what freedom is about?

Microsoft has its share of shadowy marketing practices, but the tech people are simply amazing. Some of the MSDN blogs are really cool and have quite a good technical information. I like them more than the Sun blogs, because they talk about technologies that I cannot really touch and don’t have much experience. It’s cool see this WinFS video, where the developers are talking about their experiences. The blogs actually show the real environment in Microsoft: intelligent, tech savvy and down right geeky just like all of us Linux geeks. Nowadays, anytime I see a Slashdot post bashing Microsoft, I quickly skip it, because it’s just unbearable to watch a few Slashdotters spread FUD about Microsoft FUD.

One of the very high quality blogs I want to mention is the Job blog. It has a ton of useful information and a lot of Microsoft hiring personnel write informative posts. There are too many interesting tech blogs to mention. A few I follow regularly are below:

BTW, get the mplayer plugin to watch the videos within firefox.

Share
ahvanam

Gruha Pravesam (Housewarming Ceremony)

ahvanamThis was my dream for years, and we finally own a nice apartment in Visakhapatnam (Yay !!!). Traditionally, when we move to a new house, Puja is performed, friends and relatives are invited to the new house for a feast. The invitation is on the left side. It’s written in Telugu (a language primarily spoken in the state of Andhra Pradesh).
It basically says that my parents are inviting you to attend the Puja and feast in the new house on 16th August. The address is

Pavan Residency,
Pavan Block Apt 2B
Simhachalam Road
Vizag - 29

Maan, I am soooo happy :-) I wish I can be there. I will post pictures of the Gruha Pravesam later.

Share

More VIM Tips

A few people have asked me a few questions about VIM usage after reading my previous post about VIM. Here they are with my answers.

Show whitespaces
There seems to be no particular option like :set list for showing white spaces. One can use a mapping like below to see the white spaces temporarily

nmap <F2> :%s/ /./g^M        # Note that you have to type CTRL-V,CTRL-M to get the ^M

Pressing F2 will show you the spaces as dots. Just do undo(u) to get back to the original text.

Show trailing white spaces at the end of line
nmap <F2> :%s/ +$/ยท/g^M
Switching off the smart indentation
This is one of the few features I hate. VIM tries to move the text to follow an indentation pattern. For example, in an html file, if you type

        <td>
              text
</td>

VIM converts it to

        <td>
              text
        </td>

Sometimes, this is useful, but other times it’s extremely annoying, especially when you have multiple nested elements and you don’t want to have indentation. This is almost like automatic capitalization in MS word. Anyway, this can be disabled with

:set nosmartindent
:set indentexpr=                # Note that there's nothing after the = sign
Showing line and column number.
:set ruler
Formatting Paragraphs
gqap

This is a pretty cool thing, that I use quite often. Often, you write a paragraph and insert a few things and it becomes ugly. Use gqap to nicely format it depending on the textwidth. This can also be used to change the textwidth of a paragraph. Say you wanted to change the textwidth to 60 characters, do this

:set textwidth=60
gqap

I wish VIM guys spent sometime explaining cool features of VIM instead of adding new features. A lot of simple/cool things are lost in the sheer amount of options. I wonder how many people use advanced features like folding.

Share