Tuesday, March 27, 2007

राम नवमी

श्री राम के जनम दिन पर सब को हार्दिक शुभकामनायें ।

आज के दिन श्री राम का स्मर्ण करें और धर्म का पालन करें ।

Wednesday, March 21, 2007

del.icio.us/vikramsjn

Links for 2007-03-20 [del.icio.us]

Posted: 21 Mar 2007 12:00 AM CDT

Monday, March 19, 2007

del.icio.us/vikramsjn

Links for 2007-03-18 [del.icio.us]

Posted: 19 Mar 2007 12:00 AM CDT

Saturday, March 17, 2007

Bram Moolenaar's presentation - Seven Habits of Effective Text Editing 2.0

On February 13th 2007, Bram Moolenaar gave a presentation on Vim (at Google office) - 'Seven habits of effective text editing 2.0'.

The news update is at Vim site and the links of the video and the pdf presentation can be found at vimannounce Yahoo group.

The pdf presentation is very short simple and still useful.

Very briefly it states:
  1. Detect inefficiency
  2. Find a quicker way
  3. Make it a habit
and the seven habits are:
  1. Moving around quickly
  2. Don't type it twice
  3. Fix it when it's wrong
  4. A file seldom comes alone
  5. Let's work together
  6. Text is structured
  7. Sharpen the saw

Wednesday, March 14, 2007

del.icio.us/vikramsjn

Monday, March 12, 2007

del.icio.us/vikramsjn

Links for 2007-03-11 [del.icio.us]

Posted: 12 Mar 2007 01:00 AM CDT

  • Isha Upanishad | Sri Aurobindo Ashram - E-Library
    Sanskrit verses, with explanation in English
  • Why Can't Programmers... Read?
    It never fails to amaze me at how some companies I’ve worked with (or at) praise developers who are fast, even if they do the wrong thing because they failed to understand the spec or include so many bugs as to have made the spec irrelevant
  • Why Can't Programmers.. Program? | Coding Horror
    After a fair bit of trial and error I've discovered that people who struggle to code don't just struggle on big problems, or even smallish problems (i.e. write a implementation of a linked list). They struggle with tiny problems

Sunday, March 11, 2007

del.icio.us/vikramsjn

Links for 2007-03-10 [del.icio.us]

Posted: 11 Mar 2007 12:00 AM CST

Copying contents of vim register

Following command copies the contents of register q to copy register
:let @*=@q
Once copied, these contents can be used any where else, by simple paste.

One example use is to update a macro.
Following command updates register q
:let @q="Paste-copied-contents-Then-edit-as-required"
which then can be fired/executed by @q in command mode.

Friday, March 09, 2007

del.icio.us/vikramsjn

Wednesday, March 07, 2007

del.icio.us/vikramsjn

Links for 2007-03-06 [del.icio.us]

Posted: 07 Mar 2007 12:00 AM CST

Tuesday, March 06, 2007

del.icio.us/vikramsjn

Links for 2007-03-04 [del.icio.us]

Posted: 05 Mar 2007 12:00 AM CST

Sunday, March 04, 2007

del.icio.us/vikramsjn

Links for 2007-03-03 [del.icio.us]

Saturday, February 17, 2007

A Guru Rating Service !!!

While searching over for Isha Foundation website of Sadguru Jaggi Vasudev, I encountered something very very surprising - a Guru Rating Service.

I was stunned, confused, and annoyed. Digging further I found that the site is actually quite detailed and lists and rates many or most Gurus. Every name that I knew or had ever come across was on the site.

The site seems to be well maintained and extensive, with links to the official website of the Gurus (if any), and any articles relating to them.

However it was a surprise, not expected. How can anyone rate a Guru !

The site itself mentions the brickbats received on the very first page
How tragic! How weird! Rating the non-dual teachers - how tragically American
I have the same view.

However, as the site quotes another review, '... it was inevitable'.

Sunday, February 11, 2007

Enchanting Sanskrit

Few days ago a Sanskrit university students were outraged by UP Governor's preaching on learning English.

News agencies reported this incident in various different manner. Some were pro Governor, and some other just tried to state facts, adding that Governor was giving a well meaning advice.

Honorable Governor was not incorrect in advising the students to learn English as well. But it seems that he demeaned Sanskrit to make his point. I don't know exactly what he said, but TOI reported that he said - learning Sanskrit would just make students good for doing pujas, Sanskrit is not language of god, and Sanskrit is a language of bail-gadi yug.

I believe he may have outraged the students to a great extent that the response was so unanimous and strong - even from the faculty.

Coincidentally, just a few days ago I came across an article about Sanskrit - Enchanting Sanskrit. It primarily details decline of Sanskrit, its importance, and attempts for it revival.

Here are a few striking points from this article:
  • In 1835, Lord Macaulay produced his "Minute of Indian Education" in which he stated, "What we spend on the Sanskrit colleges is not merely a dead loss to the cause of truth; it is bounty money paid to raise up champions of error [that is, Sanskrit scholars]." He said Sanskrit literature is, "barren of useful knowledge" with "the most serious errors on the most important subjects."

  • One of the factor that contributed greatly to the neglect and "death" of Sanskrit was the treatment it received at the hands of academics. "Nowhere will you find a language being taught in a foreign language," says Sri Krishna Sastry. The easiest and most effective way is the conversational method. Ironically, Sanskrit was being taught through English and in textbook fashion. As a result, students, instead of learning the language and developing affinity, moved away from it.

  • Knowledge of Sanskrit is imperative to understand Ayurveda, but Indian government first made it compulsory that students of modern sciences as majors would only be admitted to Ayurvedic courses. However at the same time CBSE made Sanskrit an optional subject. As a result, students with science background who study Ayurveda at college level, do not know Sanskrit, resist studying it, and instead use translated texts.

  • Sanskrit was initially compulsory for five years of Ayurveda course, was reduced to one year of study. Now science students are even protesting this one year of Sanskrit study.

  • Dr Rahul Peter Das of Martin Luther University in Germany believes that learning Sanskrit helps students understand mathematics better.

  • It recommends three-language formula as: Regional + Classical (Sanskrit) + International (English)
I believe every Indian should read this article.

Related Links:

Wednesday, August 17, 2005

Blog from Microsoft Word

Blogger now has an addin for Microsoft Word, to create/edit posts and drafts right from Word.

Blogger: Download Blogger for Word
Blogger Help : Blogger for Word FAQ and Known Issues
Blogger Help : About Blogger for Word

Have used it just for a few posts, but this is my experience till now.

What I like:
  • No need to visit blogger.com to post on the blog, just work in Word

  • All the features of MS Word now available when drafting your post – spell checker, grammar check, and formatting too.

  • Works thru the firewall, without any problems

What I did not like:
  • ‘Open Post…’ dialog is not resizable. Moreover the ‘Title’ column too is not resizable. This makes difficult to read the post title, and thus ‘Open Post…’

Guess the issues will be resolved soon, and we will have cool capability to blog from Microsoft Word itself.

Firefox and must have extensions

Quite some time back I moved over to using Firefox. Initially I had some issues (basically related to usage), but now I am Firefox fan. Now, I hardly ever open IE.

Firefox has rich collection of freely available extensions. There an extension for almost everything you could think.

The extensions I use are as follows:
* autocopy
* yahoo companion
* dictionary search
* adblock
* tabbrowser preferences
* mouse gestures
* flashgot
* googlebar
* linkification
* foxylicious
* print preview
* quicknote
* ieview
* targetalert
* greasemonkey
* sessionsaver
* del.icio.us
* spellbound
* webmailcompose
* live http headers
* aardvark
* download manager tweak
* scrapbook
* duplicate tab
* resizeable textarea
* hit-a-hint
* feedview
* super dragandgo

The ones underlined are must haves.

Thanks to all Firefox developers and Extension developers for developing such a fine product.

Tuesday, May 03, 2005

Opera 8 released - with Gmail support

Opera 8 has been released.

Following are some of the interesting features:

  1. Improved security
  2. Voice support
  3. Fit to window width
  4. Support for XmlHttpRequest giving full Gmail support
For complete list list of changes review Opera 8 changelog

Sunday, May 01, 2005

Joel's interview by CFUNITED

Joel will be giving two speeches at CFUNITED - the ColdFusion technical conference coming up in Washington DC June 29th - July 1st. Michael Smith of CFUNITED interviewed him.

Following are some interesting extracts:

On an untrained project manager running a software project
A common mistake is to hope, against all evidence,that the team members are smart and will be able to organize themselves, so the newly promoted programmer decides he or she can afford to spend 80% of their time writing code and only 20% of their time managing. The trouble is that without any kind of system in place to decide what to do and in what order, chaos ensues and you either get a death march project that’s never done, or an inadequate product that nobody wants. A typical manifestation of this is that team members work on the fun things first, not the important things, so when the schedule is running late and you have to cut features all the features left to do are important features that can’t possibly be cut.

On overhead of tracking bugs and tasks of the project
Hiring an architect adds a lot of overhead to your kitchen renovation, but they both save you a lot of time and money, in the short run and in the long run! You're going to be tracking bugs and tasks anyway, it's just a question of whether you do it in an organized fashion where everyone can be on the same page, or on a whiteboard in one person's office, where it's apt to be erased by the cleaning lady.

There is another interview text of Joel available at Salon.

Thursday, April 28, 2005

Roundup Error - Code 403

This week, besides other things, I was trying to fix a problem with the web interface of Roundup Issue Tracker being used in the organization I work in.

Roundup is Python based open source Issue Tracker. There are many other freely available issue tracking softwares - viz. Request Tracker, JIRA, etc. Of all these, I selected and used Roundup, because it is written in Python - and I love Python.

I could not locate the exact reason of the problem. All I could identify was that a corrupt query was creating problem in the web interface, and it used to throw following error


Error response
Error code 403.
Message: /xaissues/ (You are not allowed
to view items of class query).
Error code explanation: 403 = Request
forbidden -- authorization will not help.

After posting and following the issue on Roundup mailing list, the problem got resolved. It was all because of the help provided by Dr Ralf, Berthold Höllmann, and Richard Jones.

As a general guideline, to avoid and resolve such problem, I would suggest the following:

  1. Make sure you are sending the Issue Tracker output to the log - this help you to locate any problem and the time when the problem really started showing up.
  2. If you encounter this problem then make sure that you locate the offending query - by using log in step 1 or from the feedback of individual users.
  3. Run the following two commands and you issue tracker web interface will be rolling again
    roundup-admin -i /path/to/your/tracker retire query16
    roundup-admin -i /path/to/your/tracker set user2 queries=-16

The above two steps are primarily to avoid the interference of offending query, when the web interface is templating to return html pages to the browser. In case you are interested in the entire discussion its here and then here.

Hope this helps all those who face this problem in future.

Saturday, April 09, 2005

Aamir's Coke Thanda Campaign

After Amitabh Bachhan, Aamir is one of my favorite actors. Particularly because of his conviction and his remarkable ability to immerse himself into any role he plays.

Check out this interesting slide-show/presentation on indiatimes- about the wonderful Coke Thanda Campaign. The ad in which Aamir played Nepali Gorkha is one of my favorite ads of this campaign.

I have also saved these photos of Aamir on flickr.


Aamir as Nepali Gorkha