Wednesday, April 09, 2008

Duplex printing script

Our department printer by default runs in single side printing mode. This causes a lot of paper wastage. I finally sat down and wrote a shell script which will takes one PDF file as an input and outputs two PDF files. One with all odd-pages. Another with all even pages in reverse order so that output papers from odd-page printing can be directly fed to input tray. Of course, this requires a bit of manual intervention, but it is not a big price to pay for saving paper ( and saving trees ).
Here is a link to the script :

Please let me know if any bug is found in the script or if you want to suggest some improvements.
--Saurabh Joshi

A humourous quote

I read this quote on iitb.h posted by prof soumen.
Reality is delirium caused by acute alcohol deficiency

Joke : Why men don't write advice columns

After a long time I have read some awesome piece of humour on iitb.humour. Following is a copy from iitb.h
Why men don't write advice columns
> Dear Walter:
> I hope you can help me here. The other day I set off for work
leaving my
> husband in the house watching the TV as usual. I hadn't gone
more than a
> mile down the road when my engine conked out and the car
shuddered to a
> halt. I walked back home to get my husband's help. When I got
home I
> couldn't believe my eyes. He was in the bedroom with a neighbor
lady .
> I am 32, my husband is 34 and we have been married for twelve
> When I confronted him, he broke down and admitted that he'd been
having an
> affair for the past six months.
> I told him to stop or I would leave him. He was let go from his
job six
> months ago and he says he has been feeling increasingly
depressed and
> worthless. I love him very much, but ever since I gave him the
> he has become increasingly distant. I don't feel I can get
through to
> him anymore.
> Can you please help?
> Sincerely,
> Mrs... Sheila Usk
> Dear Sheila:
> A car stalling after being driven a short distance can be caused
by a
> variety of faults with the engine. Start by checking that there
is no
> debris in the fuel line. If it is clear, check the jubilee clips
> the vacuum pipes onto the inlet manifold. If none of these
> solves the problem, it could be that the fuel pump itself is
> causing low delivery pressure to the carburetor float chamber.
> I hope this helps.
> Walter

Sunday, April 06, 2008

Original Joke : Google bhi bandh hai

It has be a really long time since I have posted anything humorous on my blog. It may be indicative of the fact that life at IIT Bombay was more fun as compared to life at IIT Kanpur.

Anyways, the other day Sameer, Anshul, Sourabh and I were discussing about how people working in software industry themselves are ignorant about how some software related technology works. Anshul depicted the following incident happening at a company his friend was working for :
Guy 1: Kya yaar, kya kar raha hai?
Guy 2 : kya kar sakte hai?? sala aaj internet bandh hai.
Guy 1: Abe internet to chhodo Google bhi bandh hai ( :-O :-D )
It may not sound much funny right now, but it surely was when Anshul was telling it to us.

Friday, April 04, 2008

Quote about rat race

It so happened that two of my friends had the following quote as their gtalk status line :
"The trouble with the rat race is that even if you win, you are still a rat"

Surprisingly, they don't know each other. What are the odds, eh?

New blog!!

I have to create a new blog
The reason is that even after so much time has passed, blogspot has not provided in built support for latex. So, I am planning to write all technical posts on the new blog. Link and articles of the new blog also appears on the sidebar of this blog.

I hope I will be regular in posting to both the blogs ( technical as well as non-technical stuff )