Saturday, April 21, 2012

Touchegg!! WoW!!

No, that's not Mac.. that's Ubuntu *grins*. No, you don't need to write out everything you want on a Ubuntu. You actually don't need to open a terminal unless you love to do so...


That's my usual reply to a window user amazed at the beauty of my beloved 'Ubuntu'. Powered on a gnome 3.2 shell and Ubuntu 11.10, studded with diamond like extensions and completed with touchegg customization my OS is at it's best. So, I thought it is the right time to share with you my Ubuntu desktop.

Monday, April 9, 2012

An Obituary


शोक-समाचार - 'संयुक्त प्रवेश परीक्षा ने ली अंतिम सांस
संयुक्त प्रवेश परीक्षा (जेईई)
(9 अप्रैल 1960 – 8 अप्रैल 2012)

लंबे समय से कपिल चप्पल की मार झेल रही 'संयुक्त प्रवेश परीक्षा' ने अंततः 8 अप्रेल, सांयकाल 5 बजे दम तोड़ दिया| आप 52 वर्ष के थे|

आप प्रारम्भ से ही बड़े सख्त मिजाज थे| बच्चों के देखकर ही आपका पारा चढ जाता और आप उन्हें डराने धमकाने लगते| फलस्वरूप छोटे बालकों में आपका आतंक व्याप्त हो गया| लेकिन बढ़ती उम्र के साथ आपके मिजाज़ में कुछ नरमी आई|

'मानव संसाधन विकास मंत्रालय' के साथ लगभग तीस वर्षों तक आपके मधुर वैवाहिक सम्बन्ध रहे| जिसके फलस्वरूप अपनी युवावस्था में आपके सात पुत्र हुए| सभी ने बड़े होकर अलग-अलग शहरों में अपने पिता का नाम रोशन किया| लेकिन इतने से उनकी सांसारिक इच्छाएँ खत्म नहीं हुई| अपनी ढलती उम्र में भी आपने 'फाईट मार कर' आठ कमजोर-कुपोषित बच्चों को जन्म दिया| ऐसा प्रतीत हुआ मानो वे 'क्वालिटी' की बजाए 'क्वांटिटी' पर ज्यादा ध्यान दे रहें है|

बाद में आपका रुझान कोटा नामक 'कोठे वाली' की तरफ बढ़ने लगा| उनकी पत्नी (मानव संसाधन विकास मंत्रालय) ने कोटा से उनका पीछा छुड़ाने के लिए 2006 में उनका पूरा हुलिया ही परिवर्तित कर दिया| लेकिन कोटा ने उन्हें फिर भी पहचान लिया और तब से उनके सम्बन्ध और भी प्रगाढ़ हो गए| अंततः कोई चारा ना देख उनकी पत्नी ने अपने 'सीरिअल किलर - खूंखार दरिंदे – राजनेता भाई' कपिल चप्पल के साथ मिल कर अपने पतिदेव 'जेईई' के क़त्ल की साजिश रची| अपनी राजनीतिक शक्तियों का प्रयोग करते हुए 'श्री चप्पल' ने 2010 में 'जेईई' पर घातक हमला किया तब से वे जिंदगी और मौत के बीच झूल रहे थे|

लेकिन जेईई के आई.सी.यु. में भर्ती रहने के दौरान ही उनकी पत्नी 'मंत्रालय' ने ISEET नामक अज्ञात शख्स के साथ अपने संबंधों का खुलासा कर दिया| उन्होंने ये भी घोषणा कर दी की 2013 में वे परिणय सूत्र में बंध जाएंगे| मृतक जेईई के १५ बच्चों के साथ अब सौतेला व्यवहार होने की आशंका है|

लेकिन लगता है 'मंत्रालय' की खुशी अधिक दिनों तक नहीं टिकने वाली क्योंकी 'कोटा' नामक उसी 'कोठे-वाली' ने अभी से उसके मंगेतर ISEET पर डोरे डालने शुरू कर दिए है|

शोकाकुल आई.आई.टी बोम्बे, आई.आई.टी दिल्ली, आई.आई.टी कानपुर एवं समस्त आई.आई.टी परिवार|

(इस आलेख का उद्देश्य किसी को ठेस पहुंचाना नहीं है, और अगर आपको ठेस पहुचती है तो इसे मात्र एक संयोग कहा जाएगा ... सायोनारा)
Share it till 'Kapil Chappal' read this :P
with - Rajneesh meena & jotoo !
Shared by Rishabh Jain on Facebook.

Saturday, March 24, 2012

Using purge on linux, never again!

Don't ever use the purge command with a * on a linux machine unless your hate your system. Yeah, that's the crux of the story I am going to tell you. The warnings are meant for you - read it.
In the quest for making the most 'out' of my laptop, (I guess that best explains my actions) I was jovial for running the best of both gnome and unity on my Ubuntu.The joy was not going to last longer than a few hours. Gnome had been running butter smooth with all awesome extensions installed. Now, the desktop cube feature on unity was also successfully. To add to my success, the IITD caldav server was synced to my alarm-clock signalling the time for windows uninstall.


But, the MAC was always a plus one with it's multi-touch touchpad. The only thing I wanted was that somehow, touchegg, utouch and synaptiks could be made to run such that the three fingers drag can show MAC that ubuntu can do it with three fingers what MAC does with four.


Step one : Re-install all three required software.
Result : No change, no new applications created in applications folder.

Step two : Remove touchegg and utouch.
Observation : touch egg removed easily, utouch has got a lot of files and installations, so       perhaps utouch* will do the job
Action : sudo apt-get remove utouch*
Observation : blah.. blah.. unable to get lock.. blah.. blah
Action : sudo apt-get purge utouch*
Result : ****Doom***

In what number system will 14 X 2 be 92?


So, my friend just said referring to an old calculator that it gives 14 * 2 as 92. It was meant to be just an example, but the equation raised a question in my mind whether in any number system will the equation hold good. So, I did some paper-work and found some interesting results while searching for the required number system.
The first point is to note that if the base is greater than 10, the number shall be less than 28 and if greater than 10, it shall greater than 10. While any system lower than 10 won’t allow for the digit 9. So the given equation can’t be correct anywhere.
LHS is 14 * 2, so the system has to be greater than the 4-base, for the digit 4 to occur. Let’s check out 5-base, here 14 * 2 is 33. Yes, now it becomes very clear that the equation is not valid in any system. You see that in the highest value among the possible number systems is 33. So, any possibility for numbers greater than 33 is not possible for 14*2.
Now,
  • In 5-base system :           14*2=33
  • In 6-base system :           14*2=32
  • In 7-base system :           14*2=31
  • In 8-base system :           14*2=30
  • In 9-base system :           14*2=28
  • In decimal system :         14*2=28
  • In 11-base system :         14*2=28
  • In 12-base system :         14*2=28
  • In 13-base system :         14*2=28
  • In 14-base system :         14*2=28

The most interesting fact is that for all systems greater than 8, the equation holds good. So, we have a new question, why only after 8?
Keep thinking!!

Tuesday, December 21, 2010

Here are some ways of viewing pdf files online......

I use internet on mobile (nokia 2760, phone with small heap size of 600kb) and one of my greatest problems used to be the adobe pdf files which most of the mobile browsers can't open. I have been trying to search solution of this and here ishttp://www.blogger.com/img/blank.gif the result.
I have found 12 different ways of opening pdf files. Most of these require you to either enter the url of the file in a given text box and 'go' or upload from local media.
The following has both options:

1)adobe access

http://access.adobe.com/
Here comes some help from the creaters of pdf. Adobe provides online conversion tool to view online or local pdf files as text or html. You just need to fill up a small form. On mobile, you might need to refresh if a 'converting' message comes . It works only for pdf.

2)SAMURAJdata.se
http://view.SAMURAJdata.se
This is one of the most recommended tool. It opens .pdf and .ps as browsable images while opens .doc files as html pages. It works great on both mobile and computer.

3)pdfescape

http://pdfescape.com
Perhaps the best on computer. This online tool gives you option of maintaining an account and retrieving files from anywhere. Doesn't works on mobile(atleast not on mine). Perhaps, uses flash viewer.

4)ZOHO viewer

http://viewer.zoho.com
It can maintain a given address for as long as you wish so that you may return to same address to view the file again or you may give the address to friends or on blogs. It can also show other file formats such as .doc, .xls, .ppt, .ps and even open office files.


Now, let's have a look at some of the online tools which works only upon an online pdf that is a xyz.pdf that has a url(http://......../xyz.pdf)

1)google docs

http://docs.google.com/viewer

This certainly qualifies to be the best in this category. It can show almost all file formats and is the most popular. It converts all pdf into images that gives problem for slow connections when the large image loads very slowly. (in very small ram mobile..... I was not able to use it until I found opera mini 4 beta version.)

2)Google cached

This can be of use only in case of pdf files indexed by google. Google has a snapshot of many webpages and online documents such as .pdf, .xls and .doc files. To open cached version of a document, simply type this inLink the google search box-- "cache:http://.......
./xyz.pdf"
In case of mobile, you need to go to the classic or the desktop version of google. Mobile version doesn't supports the "cache:" operater.

3)NITROpdf

http://www.pdfdownload.org/online-pdf-viewer.aspx
It only works on pdf files and can't do anything about .doc, .ppt, .xls files. However, it has an advantage of refering the user to the google cached version of the file. Even if you type in a .doc file address, it will just refer you to google alongwith an error message. If you are using mobile, then its preferable to use a better front end at http://serola.info/test/pdfconvert.htm

The following two are only for mobile:

4)uc web


to download go to http://wap.uc.cn/en
this chinese browser comes with an online support for converting .pdf, .doc and .xls files. However, the page rendering is not satisfactory in complex .pdf files.

5)google web transcoder

To use, go to http://www.google.com/gwt/x?u=url_of_the_pdf
This is the tool which i mostly use. The pdf need not be indexed but it should be present on the net. Moreover, u can easily do your browsing only on gwt pages(if u have to only read and not enter values in text boxes). It also easily transcodes other common file formats.

Viewing pdf from local media. Here you can upload your pdf and view it.

I will recommend to try the tools mentioned in the first category instead of the following two...

1)viewdocsonline
http://www.viewdocsonline.com

It can show more file format as compared to pdfonline.com

2)pdfonline
http://www.pdfonline.com/sides/comments.htm


Something for mobile users:

3)gmail
Use gmail for viewing those pdf files that is with you on your mobile. Send an email to yourself with the pdf file attached. (The pdf might not be readable on your mobile but it still is a pdf and just need the right software for its decoding). You can use the email feature if available in your messaging menu for sending attached emails. Now, use your local browser for opening gmail on your mobile. You will be able to read the pdf as html.