Friday, September 5, 2008

Comparison of UDP and TCP sockets

UDP lacks reliability and hence it is fast:- no congention
control, retries. This makes it good for
protocols that retry after a definite timeout.

Thursday, September 4, 2008

Useful Daemons

Found 2 useful ways to create daemons.
Specially usefull with long running processes
like compiling the kernel:
1. Using the linux fork command
2. Using nohup.

Nohup is the easiest way to run a
process in the background by creating
a daemon. More details on nohup here.

Monday, May 26, 2008

F1 Student - Adsense/online income

Just discovered that F1 students are
not allowed to be involved in any kind
of income through online advertisements
or any other type of employment, unless
you are an OPT or having a green card.


Details were provided by a famous lawyer as:



An F1 visa does not allow you to take off campus employment anywhere or anytime you want. You can only take employment under specific circumstances, such as through OPT or CPT and there are hardship provisions too. But generally, an F1 student cannot simply go out and find employment. This is illegal. I would encourage you not to do this because it is a violation of your status.



Complete article is found here

Saturday, May 24, 2008

The best weeping guitar...

"While My Guitar Gently Weeps"
- had heard this song when I was
a kid. Never really knew much about
George Harrison. Over a period of
time I have discovered that he is an
amazing artist...

While My Guitar Gently Weeps - was one
of my fav songs by Harrison.. Found
out an amazing version of it sung
by Tom Petty with fantabulous guitars
by the highly underrated prince..

Enjoy the solo in the end..


Link - Tribute to George Harrison - While My Guitar Gently Weeps

Windows Firewalls

Personal firewalls are ment for
preventing access to and from
programs installed on your computer
with other entities (possibly malicious)
on the internet.

Being the control freak/geek that I am
I judiciously like to monitor every
activity on my machine. There are
multiple options available for setting
up firewalls on windows machines.


Here are some of the commercially available
software that I considered:
1. Zonealarm
2. Sunbelt Kiero
3. Kommodo

I installed each one of these and personally
found that the best free version is offered
by Sunbelt with the crappiest free version
coming from Zonealarm. Not only is the control
inadequate but the UI is also antiquated.

As far as pro versions go, I personally found,
that ZoneAlarm Pro is the best. The UI is still not
half as good as that of Sunbelt, but it provides
good protection. Komodo is easy to use as compared
to zonealarm but apparently has some privacy issues.

[India] No native for me...

Was speaking to my friend the other day...
and this thought came to my mind.. slowly
and steadily the few of us living in city
who had a native place will slowly not
have a native place to call their own.

Drive for money and easy lives in India
brings people away from villages (vadgoan
in my case) to metropolitan cities (mumbai).
My parents were born and brought up there
but they still have some ties in the villages.
I have none.. and I am thinking the next
generation as and when there is in our
family.. will have no village to call their
own and no village to visit..

With time I wonder what the small kids in
my family will think of when their school teacher
asks them to write a composition on "My Village"?

Berry Buzz!

Gizmodo reports the filing of
a touchscreen patent by RIMM
hinting towards the release of a touchscreen based berry.

More details here

Friday, May 23, 2008

Posting publications on a web page - linux tool

Here's an excelent resource for posting
your publications to the web:

bibtex2html

Amazing mind

fi yuo cna raed tihs, yuo hvae a sgtrane mnid too
Cna yuo raed tihs? Olny 55 plepoe out of 100 can.
i cdnuolt blveiee taht I cluod aulaclty uesdnatnrd waht I was rdanieg. The phaonmneal pweor of the hmuan mnid, aoccdrnig to a rscheearch at Cmabrigde Uinervtisy, it dseno't mtaetr in waht oerdr the ltteres in a wrod are, the olny iproamtnt tihng is taht the frsit and lsat ltteer be in the rghit pclae. The rset can be a taotl mses and you can sitll raed it whotuit a pboerlm. Tihs is bcuseae the huamn mnid deos not raed ervey lteter by istlef, but the wrod as a wlohe. Azanmig huh? yaeh and I awlyas tghuhot slpeling was ipmorantt! if you can raed tihs forwrad it

Cheap Calling Card - India (from US)

After having used Reliablecom, reliance, and dozens
of cheap calling cards to call India from US, I used stanacard today.

They have an amazing service and give almost a
double talk time free...

Try it out here: Stanacard
with promo code: 261281

or click here

Cheers!

Friday, February 15, 2008

Speed Of A Bullet

Was just curious and found out that normal
bullets are capable of flying between the range
of MACH2 - MACH4 with the optimum being at MACH3.

Fastest approaches to delivery of objects have
been using electromagnetic rails which can go upto
MACH 9.

Thursday, February 14, 2008

Aircraft Engines

Was recently reading a
very nice post on different types of
aircraft engines. Currently there
are only one type that are capable
of carrying out supersonic combustion..
the Scramjets... These rely on
having no moving part and achieve
basic accelaration by the use of
booster rockets.. Such machines have
been tested to achieve max speeds of up to
Mach 9

Tuesday, January 22, 2008

Tetris is NP-Hard

Researchers at the LCS MIT proved that
Tetris is NP-Hard. This suggests that
even with sufficient time to make
every move tetris is not solvable
through a direct deterministic algorithm.

Full post at slashdot.org

Monday, January 21, 2008

Indian student shot -- Not featured in US news?

NDTV article

The hindu

The surprising part at the end of all this is
that the US press does not seem to have caught on
to the news and none of the sites seem to be featuring
this news yet. Either it is important or these shootings
are treated as mundane.

Saturday, January 19, 2008

Tabla Taal Basic notes and their Maatraas.

I will briefly list the basic tabla
taals and their associated Maatras:

1. Chautal - 12
dha dha din ta | kit dha din ta |
tit kat | gade gana

2. Dadra - 6
dha dhi na | dha ti na

3. Ektaal - 12
dhin dhin | dhage tirakit |
too na | kat tin | dhage tirakit
| dhi na |


4. Jhaptal - 10
dhin na | dhin dhin na |
tin na | dhin dhin na|

5. Kherva - 8
Dhaa ge na ti | na k dhi naa |

6. Rupak - 7
tin tin na | dhin na | dhin na |

7. Teental - 16
dha dhin dhin dha |
dha dhin dhin dha |
dha tin tin ta |
ta dhin dhin dha |