~:: kalyan ::~

January 27, 2009

live dance programs chemistry

Filed under: General, life — skalyanasundaram @ 8:17 pm

Every live dance program starts from sun tv’s “manada mayilada” to AXN”s “you think you can dance”, every judge never forgets to say that the chemistry was good. Isn’t that the physiological factor that they are talking about? Why they are calling it as chemistry. Or is it that Androgen/Testosterone that they are talking about. What about botony, zoology then?

Advertisements

December 27, 2008

Christmas Holiday

Filed under: General, life — Tags: — skalyanasundaram @ 7:02 pm
  • Solved Rubix cube
  • Could solve the rubic cube. Dont know what method its. Right now taking lot of time to solve. 
    I guess i will end up breaking my cube some time, still need to practice for the nice movement.
    Look at my solved cubes, :)
    rubix
  • Finished reading Veronika Decided To Die
  • After reading The Alchemist, johnny suggest this one. This is indeed good. I liked it.
    The whole story was moving inside villete. "Every one is mad, the one whos not mad is
    whos not showing others that he/she is mad" is nice. Inspiring book. So, What next?
    Rich dad Poor dad? or Seven Ancient Wonders?
  • Watching TV a lot
  • Children of Heaven movie is cute, slow movie though.

And Advanced Happy new Year.

December 25, 2008

Merry Christmas!!

Filed under: General — skalyanasundaram @ 5:47 pm

Did absoutly nothing today other than waiting for santaclause and watching TV at home 😉

November 2, 2008

AWK After Diwali

Filed under: General, Script — Tags: — skalyanasundaram @ 6:55 am

Took a long break for Diwali, six days stay at home. After Diwali settled down at home had nothing to do other than sleeping and eating. TV was boaring. So sat with awk manual. I have had problem in managing my music library. The provider always add his name to the song name like “Sitename – Songname.mp3”. The meta data like album,composer can be managed all together with iTunes, but the name has to be renamed one by one manually. I was struggling to write a shell script. I knew there is some way with awk. And finally i found a way with awk script. Here it is.

ls -l | grep -v "total*" | awk '{val=($(NF-2)" "$(NF-1)" "$(NF)); printf("mv "%s" "%s" n",val, $NF)|"sh"} END{close("sh")}'

I have started using mutt, ppl are moving from text based application to desktop application and now to browser application. Johnny says i am going in the opposite direction. True! anyway this is just fun. I was configuring the addressbook for mutt. Though there are multiple options like lbdb, abook, I still wanted to use the simple mutt alias. But the command add-alias is interactive. I wanted to write a macro which just takes the from field and add to the alias without any interaction. Here is the macro which i wrote

macro index,pager <Esc>a "<enter-command>unset wait_key<enter><pipe-message> awk '{if($1=="From:") { sub(/^"/, "", $2); sub(/"$/, "", $(NF-1)); name=tolower($2) tolower($(NF-1)); print "alias", name, name, $NF >> "/home/tree/.mutt/Mutt-alias" }}' <enter> <shell-escape> awk '{lst[$2] = $0} END{ for(x in lst) print lst[x]  >> "/home/tree/.mutt/Mutt-alias.temp" ;}' /home/tree/.mutt/Mutt-alias;  mv /home/tree/.mutt/Mutt-alias{.temp,} <enter> <enter-command>set wait_key<enter> <enter-command>source /home/tree/.mutt/Mutt-alias<enter>" "Mutt Add address to alias file with no intraction"

This macro takes the first name and last name (middle name is ignored) and strips the any double quote at the beginning and in the ending and add the alias to the alias file and also the alias will be available immediatly. The problem was duplicate entries. The second awk script removes the duplicate entry. It just works fine for me. awk is cool.

update: The above script did not work when song name contain spaces too. So the new one looks like this,

ls -l Sitename* | grep -v "total*" | awk -F "Sitename.Com - " '{val=("Sitename.Com - "$(NF)); printf("mv "%s" "%s" n",val, $NF)|"sh"} END{close("sh")}'

The “sitename.com – “is the string i wanted to strip.

June 9, 2008

Emacs project

Filed under: emacs, General, Linux, open-source — Tags: — skalyanasundaram @ 3:46 pm

I had faced several configuration issue while using emacs as my primary development environment. All is configurable,. but it is just to put together.

I use desktop.el, cscope+.el, etags and each one of them annoyed by conflicting desktop files, having cscope key bindings while using erc or gnus, conflicting etgas between multiple projects correspondingly…

I had tried few things like, ecb, cedet but nothing suited for my requirement. So this is the initiative to make it nice.

I had kept my epr file here and here

March 23, 2008

Brainshare week

Filed under: dhcp, General, life, Linux, open-source — Tags: — skalyanasundaram @ 6:18 am

Made my first trip to Brainshare, in SLC. Things went well. Customers partners and issues, requests, satisfication, queries and many more. I had given a talk in BrainShare on DNS/DHCP on OES2 linux, the new features and migration. There were two sessions. I guess in the first session many ppl find it difficult in my indian accent. I could correct that to some extend in my second sessions but still I guess it was difficult.

Had a chance to attend the Hack week demo from the middle. Srini, calvin, Brady’s,.. demo was amazing. The sharing of tasks, notes using giver and evolution meeting setup and openoffice animations all seems to me great stuff. The session was started before I go, so dont know how much i missed it.

Hope this week I get chance to work with NCP and DST folks closely and get some brain food.

Apart from the work could not get much time. We tried to go Antelope island and ofcourse nothing to see much and the to SLC temple, again we cant enter but we could get into assembly hall and other buildings. I met sister low in the assembly hall and the surprising thing is she welcomed me in Tamil. She is basically Malasian and grown up in a tamil family. She showed us the pin drop where with out a mike and speakers you could hear a pin drop sound. Basically to explain the tallent of the mormons civil architects in the earlier.

Moved to provo today or yesterday. Lets see about this week.

(Photos latter)

February 11, 2008

JollyJumper had arrived

Filed under: General, life — skalyanasundaram @ 8:49 pm

After a long paaause and decisiiiion , finally JollyJumper had arrived on sunday afternoon.

Origin: Dell
Breed: XPs 1530
Saddle: Vista now, very soon opensuse 10.3 too
size: 15.4 inch
Vision: 2 MegaPix
Sensitivity: Could understand the master’s touch
Inteligency: 2Ghz, 2MB cache, T7250, 256 Nvida GetForce
Stomach capacity: 160 gb
Communication: Can talk via wifi, bluetooth
Brain: 2 Gb
Sex: Lucky Luke! You have not told anybody about JollyJumper. It has to be a Mare.

Here it is,
Jollystanding xps1

kalyan: Ok Jolly, welcome home. Dont be sad that you are dirty white.
kalyan: /me will color you to clean black.

jolly xps2

Jolly: Uha!! black? Ok your wish..

Kalyan: ….I am a poor lonesome cowboy and a long way to go….

January 10, 2008

Beating the Alarm

Filed under: General, life — skalyanasundaram @ 6:51 pm

Since my room mate prakash left to chennai for his carrier and Jony left to Australia for a trip, home is very silent. I become little discipline it seems. Home is very clean and collected all the cloths from laundry. Fixed the TV remote, fixed the remote infrared headphone which was given for OES 2 release. Come home around 10 after finishing the dinner and watch TV or browse for two hours and sleep. I set the alarm at 8:30 and mostly woke up at 8:28 and get ready for office come back home. Things are usual and boring. Leaving to my home town in Tuesday for Pongal and coming back on Thursday.

Professional life is going good. I did not posted any message related to my new project move. Yes, I moved to the another project NCP, I have not moved actually, I work on DHCP&DNS too. NCP takes more time now. Though we cant commit anything to synergy right now, and I waste my time merging patches from others. Thought I would put up git temporarily. Right now it is doing the job great. Need to learn from experience.

Experience with git:

I got a doc from kernel.org and nothing more so far and some reading on wiki thats all. I wanted to keep the research with me and dont want to influence much on others. My team partner was used to CVS and hesitated to use git so I configured his system for use. He could not believe that I had configured something. He had asked me “Seems you know it well, so how long you are used to this”. My answer was “few hours”. :-). It is that simple and smart.

January 1, 2008

Happy New Year

Filed under: emacs, General, life, Linux, open-source — skalyanasundaram @ 11:47 am

After the Mumbai trip, had a chance to go to home. Novell had announced a shutdown for four days.  Good for me, home food, sleep, TV, Movie  and sleep all the remaining time. Unfortunately Jan 1st is the working day. I planned to return and not to take leave and I need to take more leaves on this month itself.  But I decided not to spend the new year in the travel, so did a day time travel. But still I thought I am going be late for just few mins or seconds for the new year. I was sad but luckily I got down at banaglore at 11:55, people started firing crackers for the new year. I felt like my arrival is being celebrated at bangalore. 😉 hehe I should be happy. Had called up few of my friends and slept alone thats all.

Emacs: 
I do not want the ERC> prompt. It actually confuses, because every channel buffer has the same prompt. Either remove it and keep a simple “>” mark like rcirc or make like #emacs>,  #dns> depend on the channel name. This following code actually helps

(setq erc-prompt (lambda ()
(if (and (boundp ‘erc-default-recipients) (erc-default-target))
(erc-propertize (concat (erc-default-target) “>”) ‘read-only t ‘rear-nonsticky t ‘front-nonsticky t)
(erc-propertize (concat “>”) ‘read-only t ‘rear-nonsticky t ‘front-nonsticky t))))

December 27, 2007

Returned from North

Filed under: General, life — skalyanasundaram @ 6:01 am

After a long breath, I am back again. Last week end during the Christmas went to Mumbai. Great city, it has everything. Seen may places, India Gate, Marine Drive, Juhu Beach, BandStand ;-), Malls (InOrbit, Infinity), Church Gate, and lot many famous roads, terrific metro trains at its peak time and near by hill station called Mathrean. Memorably this is my first flight travel. I was not so excited about the travel but was little worried about the process like what to check, where to do kind off. But everything was smooth. When the flight started moving first time, I just felt for few seconds this is really going to fly? during the take off for two three seconds, I just had some kind of giddiness. Some ten minutes before the lading I started having pain in my ear drums. Just thought I am going to be deaf. 🙂 But the return travel was good, I did not have any kind of trouble except that I did not get a window seat to see things.

This is first time i ever felt I am out of Tamilnadu. Had a pleasant stay at mumbai. Ofcourse my friend kishore‘s apartment where he lives also named as Pleasant park. During the whole night we played Age Of Empire II. After a long time we played in the network. A four days stay can not make more than this. Lot of places we have not seen, ofcourse they are all left for the next trip hopefully. 😀

Photos are yet to upload, dont know why Motoming does not recognize the photo taken by Canon. Again going down to home today. Will be back to bangalore in New year. Today is the last working day in 2007, last day in 2007 in bangalore, last day for my room mate prakash in bangalore. Everything is last now. Good bye 2007. Thanks for the all the things that you have given to us.

Older Posts »

Blog at WordPress.com.