Thursday, December 27, 2007

What to do

when your machine in lab is pinging, but not responding to ssh, you are at home and temperature is -5 Deg outside?

Wednesday, December 19, 2007

Orkut Vulnerability

Worm hits orkut

http://www.pcworld.com/article/id,140653-c,worms/article.html

The guy seems to be just a hacker (not a cracker) did not do anything malicious .. just replicated the scrap to all your frns in the friend list and added you to the community

Infectados pelo VĂ­rus do Orkut
http://www.orkut.com/Community.aspx?cmm=44001818

Amazing feat ! Javascript checking filter not proper at orkut's end

Monday, December 17, 2007

Intern Apping

Found a very nice piece of collection of intern apping mails from a professor at IIT Bombay.
One example is really funny

Heighly honourable esteemable Sirji,
I, RRRR MMMM CCCC , son of Shri LLLL PPPP CCCC, am 3rd year student of information technology at BBBB BBBB AAAA University in LLLL. I saw your webpage on internet and I like it very much.

I like to go for higher studies in Berkly in us and I like to do research in same subject as you do. Some of the fields I am intrested are Bidirectional Expansion For Keyword Search on Graph Databases, Learning to rank networked entities, and general web search. You have good experience in such fields so respected honourable sirji I thought I could do 3 month project under your expert leadership in summer 2007. I like to go for higher studies in us and also like to take your reco if you think I deserve.

I hope you give me opertunity to serve you.

yours humbly
RRRR MMMM CCCC.

ps: My Tauji work in big position in Motrola in US and if you like I can send your resume to him.


Many such others at http://www.cse.iitb.ac.in/~soumen/media/images/pix-apkgkah/illiterate/

Saturday, September 08, 2007

Sigcomm - Japan travel


Was at Japan for sigcomm - 07. A shuttle to chicago, a 13 hr flight to tokyo, 1 hr train to tokyo central station, 2 hr 15 min bullet train (nizomi shinkansen) to kyoto and a taxi to hotel. Full pics soon.




Wednesday, July 25, 2007

Bros wedding



Date was July 1, 2007 - Had fun in shoe robbery case - Pics are awesome - Full album soon

Alsa troubled me again - ubuntu

hey there

Last week, mplayer and vlc started complaining about video port being blocked by another process (no clue which one).

ps -A gave a quick look at a process which got defunct (has to do with some lockup issues). Explicitly killing that process (kill -9 ) solved the video problem. The video port got free and videos were back online. But a new problem started out. Sound was gone. Alsa complained that another process is blocking the sound card. Strange !! Sound just worked a few minutes back and now its gone.

After a long time looking out for what was the problem, got on this page (https://bugs.launchpad.net/ubuntu/+source/alsa-lib/+bug/85157). Apparently the process which was killed contained the shared memory access to the sound device and it died with that. So, none of the other process got the sound card.

The solution was simple, though one among the best solutions I have seen

$ strace -o /tmp/out mplayer -ao alsa file.mp3

$ grep shmget /tmp/out

get one important line:
shmget(5678293, 384, IPC_CREAT|0660) = 48824355

$ ipcrm -M 5678293


Phew, sound was back !

Monday, May 28, 2007

Saturday, April 07, 2007

Purdue - NYC - Niagara - Purdue Roadtrip - 2K Miles

(Copied from http://musicontherocks.blogspot.com/2007/03/9th-march-aukat-ke-bahar-ki-gaadi-mil.html
First person narration from harinath
)

9th March

13:00> Aukat ke bahar ki gaadi mil gayi rent pe
19:00> Journey out of hell starts... Sabyasachi is driving... n Pathak is navigating
19:01> How to shut those damn wipers
19:15> Overhead lamp pissing everyone off
19:30> 4 log baith ke car ke manual ka magga maar rahe hai...
19:35> Finally those lamps are off..
21:00> Pit stop at Fort Wayne for dinner... everyone is in maxo enthu ki poori raat jaagna hai..
22:15> Ohio me entry - speed dropped to 65 mph...
23:00> Detour No. 1 -> we get off the planned route due to construction and journey ka pehla detour maara gaya... wasted 1 hr going thru arbit routes...
still everyone is optimistic abt our plan

March 10th
00:15> Called up brother to wish him on his birthday... Niagara jaate to treat mil jaati... but alas.. we are heading out to NY
00:45> Pit stop 2.... Pehle player retired hurt hoke pavillion waapas laut gaye hain... Change of drivers.. Now seating is
Front>Harinath (Asst Driver & Asst Navigator) , Pathak (Navigator)
Middle> Sabhyasachi (Driver) and Himanshu (aka Pro Photography)
Back> Mohit (majority) and Umang (his role is a suspense)
01:00> Now I am the one driving the car.. sabne isliye seat belt pehen li... pitch pe lateral movement kaafi ho raha hai... isliye kuch log dare hue hai... still going at speed limit
02:00> after getting acustomed to the wicket, main gaadi dauda raha hoon... piche Mohit chakke maar raha hai apne international theories ke saath... saare spectator dang reh gaye hai unke shandaar performance se (Note - contact Mohit for this theory which is capabale of a Nobel prize nomination)... saath mein pathak ne Radio Sargam shuru kar diya hai (besure aawaz me ekdum bekaar gaake driver ko uthaye rakhne ke liye perfect)...
03:15> Pit Stop 3.... Coffee break... finally saare spectator match se tang hoke so gaye hai... only Front grid is still working.. after refueling with coffee Reddy n Pathak ne full speed me re-entry maari track aur gaadi udana shuru... now we are going in full flow
03:30> Enter into Penn State. . you dont need to see the signboards to know this.. yahan ka chappa chappa ek hi aawaz kart ahi jab gaadi guzarti hai (ghad.. ghad.. ghad...)
04:30> Penn ke saare record dhada dhad rode ja rahe.. ek baad ek gaadi ko overtake karke hum 1st place ke taraf daud rahe hai... too fast too furious.. ek dum full enthu me gaadi chalayi jaa rahi hai.. is speed me 10:00 baje tak NY pahuncha possible ho sakta hai...
05:30> That was just the calm before ths storm... subah ho rahi hai aur ab is partenership ka ant nazdeek aa raha hai... milk in the coffee has started showing its effect... meanwhile.. ghad ghad... ghad ghad.. ghad ghad... jaari... still abhi tak ka Penn me Strike shaandaar 75 aur 80 ke bich me jhool rahi hai... agal bagal ki jo scenery nazar me aa rahi hai mast hai...
06:15> Reddy is near the end of his innings... shakal me saaf likha hua hai ki kitni waat lagi hui hai...
06:30> iski saath non-strikers end pe Reddy apni energy se run-out ho gaye hai... retired hurt player Sabyasachi back after treatment.... bilkul fresh lag rahe hai... piche as usual majority so rahi hai...

(day 3 and 4 to be up soon)

Ubuntu Firefox Flash Sound Problem

My computer running ubuntu got rebooted after 177 days (due to a power cut early morning - The whole of purdue sank into it).

Long ago I did a fix to run sound on xmms and firefox - flash together. Basically one of them grabs the audio device and other waits until the first exists. So the solution that works for me is to replicate it.

$ ln -s /tmp/.esd-1000 /tmp/.esd
Or better, add it as a startup script in
System - Preferences - Sessions - Startup programs and add

So next time your computer get a reboot enjoy audio on both the devices simuntaneously.

Reference: http://www.macewan.org/2006/06/01/howto-firefox-flash-video-sound-on-ubuntu-linux-dapper/

Sunday, February 25, 2007

Things to put on a virgin ubuntu

http://linuxondesktop.blogspot.com/2007/02/13-things-to-do-immediately-after.html


upgrade the sources.lst in /etc/apt/ to

deb http://security.ubuntu.com/ubuntu dapper-security main restricted
deb-src http://security.ubuntu.com/ubuntu dapper-security main restricted
# deb http://security.ubuntu.com/ubuntu dapper-security universe
# deb-src http://security.ubuntu.com/ubuntu dapper-security universe


deb http://archive.ubuntu.com/ubuntu dapper main restricted universe multiverse
deb-src http://archive.ubuntu.com/ubuntu dapper main restricted universe multiverse

## MAJOR BUG FIX UPDATES produced after the final release
deb http://archive.ubuntu.com/ubuntu dapper-updates main restricted universe multiverse
deb-src http://archive.ubuntu.com/ubuntu dapper-updates main restricted universe multiverse

## UBUNTU SECURITY UPDATES
deb http://security.ubuntu.com/ubuntu dapper-security main restricted universe multiverse
deb-src http://security.ubuntu.com/ubuntu dapper-security main restricted universe multiverse

## BACKPORTS REPOSITORY (Unsupported. May contain illegal packages. Use at own risk.)
deb http://archive.ubuntu.com/ubuntu dapper-backports main restricted universe multiverse
deb-src http://archive.ubuntu.com/ubuntu dapper-backports main restricted universe multiverse

## PLF REPOSITORY (Unsupported. May contain illegal packages. Use at own risk.)
deb http://packages.freecontrib.org/plf dapper free non-free
deb-src http://packages.freecontrib.org/plf dapper free non-free

## CANONICAL COMMERCIAL REPOSITORY (Hosted on Canonical servers, not Ubuntu
## servers. RealPlayer10, Opera and more to come.)
deb http://archive.canonical.com/ubuntu dapper-commercial main
deb ftp://ftp.nerim.net/debian-marillat/ unstable main


apt-get -y update
apt-get -y upgrade
apt-get -y install make gcc g++ tetex-bin mplayer gkrellm cvs emacs exuberant-ctags vlc libpcap-dev ispell xpdf gv xmms xfig vim tree traceroute sendmail manpages-posix manpages-posix-dev linux-source linux-headers-386 libncurses5-dev initrd-tools

Thursday, January 25, 2007

Randomness

This random blog is output of some of my random thoughts.

Randomness, exists in everyone. The degree of randomness says about physiche of a person. Imagine this, you ask a person where is the next bus stop and he replies "Italy won the world cup!". What would be your reaction?

Randomness exists in every person you meet. Some of them have it less and some more. Some of them hate it. Some of them like it. From wikipedia definition says, "The word random is used to express lack of purpose, cause, order, or predictability in non-scientific parlance."

Isnt this a random definition? This definition lacks purpose, cause, order and is not predictable. Isnt random randomly defined?

Isnt everything you do, everyday random? You wake up at a random time, eat a random breakfast, go to a random place, do some random work, spend time randomly in evening and sleep at a random time. May be play some random game too ! Can you predetermine your future? Can you tell where, with whom you would be five years down the line? Isnt the previous question random? Isnt your answer to it random?

Randomness is not same as crazyness ! Crazyness can be thought as "ordered" randomness, or controlled randomness.

To some people randomness seems strange, to some it seems funny. The most interesting thing is that people start relating somethings to your random answers. My current orkut profile names me as " Vigerin Vagrin Venegerin". This means absolutely nothing. All the three words are not english nor in any language I know. I named myself as this when I started writting this blog. By now a lot of people have infered many things as to why this name was kept. Not even one thinks it to be a random name. Some of funny ones are present in my scrapbook.

Friday, January 19, 2007

Quals Treatment

Road to QE

( 5 Oct 2006) Registered for Quals
( 6 Oct 2006) Thats the second time we wash clothes in US
(10 Nov 2006) What is the syllabus this time?
(23 Nov 2006) We have run out of salt supplies on thanksgiving
(13 Dec 2006) Exams over ! lets start studying !
(13 Dec 2006) Got lots of work from advisor
(17 Dec 2006) Thats the third time we wash clothes in US
(21 Dec 2006) Last date to withdraw is gone
(23 Dec 2006) The work is over. Should start now atleast
(24 Dec 2006) 2 days complete movie watching
(25 Dec 2006) Celebrated christmas, we have run out of toilet paper in house
(27 Dec 2006) Got the information that Quals is on Jan 4th instead of Jan 7th. Lost 72 hours in an instant
(28 Dec 2006) Lets get the books out.
(30 Dec 2006) Reddy goes for trip, I stay back. Lets hit movies again
( 1 Jan 2007) Happy new year
( 2 Jan 2007) Padhai likhai se aajtak kuch hua hai kya ?
( 3 Jan 2007) Have to sleep early cause the exam is at 8 am in morning
( 4 Jan 2007) Gave quals, absolutely pissed, killed 3 pigs
( 5 Jan 2007) Post quals Trauma

From project Wifidump page

(from project wifidump page)

News

( 2 May, 2006) Version 1.0 up and working.
( 2 May, 2006) Who has screwed this news book??
( 1 May, 2006) Had a nice sleep in exam.
(30 Apr, 2006) We had a demo today.
(29 Apr, 2006) kernel panic, seg fault, blood level indicates high level of caffiene.
(28 Apr, 2006) Why is INFOCOM only for a week?
(27 Apr, 2006) Hey, I crashed my kernel by hostap driver! Yahoo !!!
(26 Apr, 2006) What is tcpdump??#$#!#%
(22 Apr, 2006) DIP exam passed.
(16 Apr, 2006) Where's the demo?
(15 Apr, 2006) The laptop had crashed 4381 times. We had put OS on it +1 times than that.
(10 Apr, 2006) Where is the group?
(21 Mar, 2006) Back from mid sem break.
( 5 Mar, 2006) Mid Term presentation. Plan successful, no mid sem exams.
( 3 Mar, 2006) There was a talk across mess table about a project in cs725.
(13 Feb, 2006) First project meeting. None turned up.
(21 Jan, 2006) Team formed.