Friday, December 17, 2010

Clean my Mac

The best maintenance solution as they claim, Clean my Mac is pretty handy at removing log files, junk data, voluminous language packs and can even uninstall applications cleanly. Its a shareware, free to download with limited cleaning size. Students however get the benefit of cracked versions :). On my machine, it helped me rescue some 9 GB space.


Apptrap was the beautiful app for uninstalling cleanly. And we always used iceclean for cleaning junk files. This one appears to have superseded both of them with both the functionality in one.

Thursday, December 16, 2010

Saving an iPhone

If you are in India and you are poor and you can not afford an original iPhone, but you desperately want the IPHONE, you should be considering jailbreaking an imported/smuggled phone. I would first explain some key terms in the world of hacking an iphone.
Jailbreaking : It is any process which allows users to make changes to the iOS (iphone operating system). Installing unsupported apps and unlocking it are some of the things you can do. There are some standard software tools for achieving this. iPhone Dev team and Geohot were the first few people to have achieved this. The standard softwares developed by them like pwnage tool, quickpwn, Redmond pie can easily help any user jailbreak their iphone. They are available for free download on the internet from their websites :
Most of them are based on hacking the bootrom of the phone while some of them are userland based hack. Recently, jailbreaking has also been made legal by the US government.
Unlocking : Generally the iphones are sold tied with a particular service provider and work with that SIM only, say AT&T. The process of tweaking its software/hardware to make it accept any SIM card is called unlocking or more appropriately carrier unlocking.
Activation : When you buy a new iphone or install a fresh OS on the phone, if the OS is not the jailbroken activated OS, you will need to activate the phone on first usage. Without this you will not be able to acces any application on phone except emergency calls. During activation process, you insert the SIM when the phone boots up and connect it to itunes and the device activates on its own. Now you can access all applications. More about these can be found at :
Untethered jailbreak : This implies that the phone has jailbreak code on it and does not require connection to PC during booting. On the other hand, a tethered jailbroken phone always requires connection to computer running some specific software to regain its jailbroken state.
Although ample resources can be found on the internet about these, I wish to give a broad overview of the scene. If your phone is jailbroken, it has an app called cydia which can get you some really cool apps/resources. Ultrasnow is one such thing which lets you unlock your phone for any carrier. If you install appsync, it allows your phone to install even paid cracked apps which can be downloaded from sites like apptrackr.org.

Often during jailbroking, you would be asked to enter Recovery mode or DFU mode. The two are two different things. The screenshot below shows the phone screen in Recovery mode. In DFU mode, the phone screen is completely black.

The following screen shot shows a phone awaiting activation using its original SIM. Either jailbreaking or using Phonebook SIM can help activate the phone apart from using the legal original SIM which came with the phone.


Some great tips for iphone users from Saket :
- If you wish to format your computer you use for syncing your iphone, dont forget to deauthenticate the itunes account since the same account can be used on only 5 computers and formatting = a new computer.
- Use teamviewer to connect to any computer on any platform from anywhere in the world
- Use dropbox to access your important files from anywhere in the world on your phone
- Use iStorage or Mbdrive to use your phone as a pendrive or a wireless pendrive
- Use Evernote to convert pdf/images to text files and also sync them across your computers

Some useful tips from me :
- If you are on ios 4.2, you can track your phone anytime from any browser. If yours is not iphone 4 just verify your itunes account once on any iphone 4 then same account will also work for 3gs and 3g.
- Using Google Latitude, you can even track your friend's phones
- If your phone is locked to a carrier, and you using unlocking tools to use with other service, always carry the original SIM and sim tool to rescue your phone.


Tuesday, December 14, 2010

Few shots from Antaragni 2010

Pics from the 7th Antaragni of my life. Though not as exciting as my first one but equally memorable.

Synchronizing ..



"Andhera kaayam rahe" bows down to light

Isotropic .. no unitropic.. or megatropic

Applauding her lungs out



Despair ..

Plumbing their way through warm bloods..




Amrit Honda striking a pose


Whistling woods photography workshop


Rithambra


Light house ( shot by Shubham )


Amazing picture (Praneeth's mistake)


Monday, December 13, 2010

Most important doc of my life :)

To whosoever it may concern.
This is to certify that I am not just 12th passed.

Thursday, December 2, 2010

Naani's villa in Basti

Made the following video during my recent trip to Basti and Gorakhpur.




Also the following video of some of the most notorious kids I found around me.

Sunday, October 10, 2010

Video call on iPhones

Successfully made a video call from my iPhone 3Gs to Shubham's iPhone 4 using Fring. This time although on wifi. Also tested voice call over edge from my phone to windows gtalk client using Fring.
Yahoo messenger has also been reported to bring in cross platform video calls soon.

Sunday, October 3, 2010

Places in India I've been to


Papa has been planning a Dwarka for a long time which finally became possible this Dussehra break. I was wondering the other day how many cities I have visited in India- hence this blogpost. Made a list of cities I've been to along with the occasion and time.

1 Andhra Pradesh

  • Hyderabad
  • Vishakhapatnam
  • Tirupati

2 Arunachal Pradesh

3 Assam
  • Guwahati (1986) : Lived there for six months when I was one year old
4 Bihar
  • Just passed through it on train : Never stopped by any city
5 Chhattisgarh

6 Goa
  • Next destination
7 Gujarat
  • Ahmedabad (October 1995) : Papa had some official work there
  • Baroda (October 1995)
  • Dwarka : Visiting this October
  • Gandhinagar : This October
8 Haryana

9 Himachal Pradesh

10 Jammu and Kashmir
  • Jammu
  • Vaishnav Devi
11 Jharkhand

12 Karnataka
  • Bangalore (June 24, 2009) : To visit GM
  • Hosur
13 Kerala
  • Trivendrum (Oct 2005) : During Tirupati visit
14 Madhya Pradesh
  • Bhopal : Got down at the station and took a round near
15 Maharashtra
  • Mumbai
  • Pune
  • Lonavale
16 Manipur

17 Meghalaya
  • Shillong : Was one year old
18 Mizoram

19 Nagaland

20 Orissa
  • Cuttack (Dec 1995, Summer 1996 and 1997) : When Papa was posted there
  • Bhuwaneshwar (same as above)
  • Aska (same as above)
  • Berhampur (same as above)
  • Gopalpur (same as above)
  • Chhatarpur (same as above)
  • Khurda (same as above)
  • Puri (same as above)
  • Konark (same as above)
21 Punjab
  • Pathankot : Halted for bus change while returning from Jammu
22 Rajasthan

23 Sikkim

24 Tamil Nadu
  • Chennai (Oct 2005) : Southern tour with family and Mausi, Mausa, Manu, Anki
  • Kanchipuram : same as above
  • Madurai : same as above
  • Rameshwaram : same as above
  • Kanyakumari : same as above
25 Tripura

26 Uttar Pradesh
  • Agra
  • Allahabad
  • Gorakhpur
  • Basti
  • Faizabad
  • Gonda
  • Ghazipur
  • Ghaziabad
  • Mankapur
  • Jhansi : Station only
  • Kanpur
  • Lucknow
  • Mirzapur
  • Moradabad
  • Muzaffarnagar
  • Meerut
  • Noida
  • Padrauna
  • Rampur
  • Bareilly
  • Kushinagar
  • Unnao
  • Varanasi
27 Uttarakhand
  • Kathgodam
  • Rudrapur
  • Nainital
  • Pauri
  • Mussourie
  • Ramnagar (Corbett National Park)
  • Dehradun
  • Hardwar
  • Ranikhet
  • Badrinath
  • Kedarnath
28 West Bengal
  • Calcutta
New Delhi : Many many times

Thursday, September 23, 2010

Makerbot making up for its delay


Makerbot - the amazing desktop 3D printer finally arrived after 4 months of its order. Against the online claims that it takes 3 days to assemble it, it took 3 of us,( Shubham, Praneeth and me) to assemble the parts in record 8 hours. We started at 3.30 pm and the bot was up on the table at 11 pm. There was some issue with the extruder which was spoiling the outputs, but was fixed in another couple of hours, and the printed prototypes are unbelievable.



An arrangement was made to make a time lapse video using my camera and an iphone, which can be found at the following youtube link:

Office 2011 for MAC

Office 2011 for Mac is out in beta 6 version. Believe me Microsoft has polished it too much. Its no more the old irritating office 2008. It resembles the Windows 2010 version with some differences. However, the new features resemble iWork more than office 2010. It looks clean and tidy now with its new logos. The startup time has been significantly reduced. It now opens in a wink of eyelashes.

Some of the new features include 'choose from template option' at startup which is a true copy of iWork. Other features include :
  • Full screen editing : copied from Mac
  • Hanging toolbox with reduces features : only paragraph styles, scrapbook etc.
  • Smooth object movement across the page due to higher movement resolution
They have also tried to integrate calendar etc. with the word which is again very similar in look and feel to iCal although not even a millionth time as good as iCal.

Beg, borrow or steal, this update from Microsoft will surely improve people's opinion about Mac and make their PC to Mac transition quite smooth.

Thursday, August 19, 2010

Height of IIT Kanpur

This is a newly built beautiful monument/ tower/ light house/ don't know what, at the New SAC, IIT Kanpur.

Friday, August 13, 2010

3G is 3 times faster




BSNL 3G on my phone finally showed some signs of life. Praneeth got an Idea modem with Bsnl sim and I wanted to see if it can work in 3G mode on my phone. Only change I had to make was to change my APN to bsnlnet and not gprs3gnorth as specified on various online blogs. It not only worked in first shot, we were able to download some videos as well at a consistent 30KBps speed with 70KBps spikes now and then. To test the performance we downloaded the speed test app which showed a maximum download rate of 200kbps. This is cool. As claimed by Praneeth the connection is unlimited downloaded at Rs. 250 per month.
With EDGE I usually get 10KBps so 3G is definitely 3 times faster and it can download videos. .... Amazing !!
BlogBooster-The most productive way for mobile blogging. BlogBooster is a multi-service blog editor for iPhone, Android, WebOs and your desktop

Wednesday, July 21, 2010

Kanpur got 3G

Took the following screenshot on my iphone 3GS in IITK campus after a long FAT hack session with Apoorva. Praneeth wanted to test the 3G so I put back my old BSNL sim to test it. Although not inside the lab but right outside it started showing 3G. Yet to test the data rate . To do all these just had to make a small APN setting as:

gprsnorth3g.bsnlmobile.in .


Sent from my iphone 3G[S].

Wednesday, July 7, 2010

Smart shortcuts for your smart MAC OS X

While you are already on board enjoying your Mac, some tips and shortcuts to make your life even more easier.
  1. Irritated when trash doesn't get empty... items locked basically. Try Command+Option+Shift+Backspace
  2. Computer gets stuck, want to quit processes ? With Command+Option+Escape , a window pops up. Force quit the process you want.
  3. Command+Shift+Q Log out
  4. Command+Option+Shift+Q Log out without confirmation
  5. Command+Shift+3 Full screen shot
  6. Command+Shift+4 Crosshair to allow selection of screenshot area
  7. Want to lock the screen immediately? You can set a hot corner for it in the expose preferences.

    Monday, June 21, 2010

    Measuring the human stress level index

    While I was calling up various dealers from Vibration Lab phone amidst the hectic schedule, I came across this magazine on the table called "World 2047". While I was wondering myself how complex and stressful our lives have become, it had an interesting article on measuring human stress in an indexed form and inferring the result. The death of your spouse is considered the most stressful with 100 points while minor traffic rule violation is mere 11.

    The article starts with a saying by George Bernard Shaw, "The reasonable man adapts himself to the world; the unreasonable one persists in trying to adapt the world to himself" which I find is very true in present world scenario. There is no limit to tension and chaos around us. It is we who have to decide where to draw the line of being insensitive to situations around us. If we go on taking everything on our shoulder we are bound to crumple down. The article claims that homosapiens have never been subjected to as much stress as now. Petty quarrels over a pinch of space and public aggressions should be avoided as much as possible. For, there are indispensable stresses like the natural calamities, taking care of your loved ones, workplace stress, we should liberate our mind for these more critical activities of life.

    I thought its a worth circulating article so took a picture of it and uploaded it here. So, why wait.. find your stress index and chances of getting affected.


    Saturday, June 19, 2010

    The cursed iphone[S] 3g[S]


    Its summers again... yeah the beautiful summer which remind me of the summer of 2008, the most memorable period of my life when I was on internship in Sweden. I had just begun my journey with Apple with my white Macbook. It worked great. I don't know what was the impetus behind it, but something prompted me to try an iphone too. I started bidding on it on the US ebay and after 6 months of struggle I had it in my hand, the most amazing piece of creation in the world, the Iphone 2g. It has been my most wonderful companion for last one and a half years. While there has been some problem with its headphone jack recently, I had started using Shubham's iphone 3g whose touchscreen broke apart one day. Then one day Shubham's new iphone 3GS's screen also turned red and our group was bereft of any perfect iphone.


    We ordered the components for repairing the headphone jack and Shubham's screen from ifixit.com. In the meantime I started looking for used 3GS on ebay and found some very nice deals in the range 300 to 400$. Though, I was unable to make payment due to paypal account not being verified. I asked Ankur Sharma to pay for one of them. After a lot of convincing, he did make the payment but the next day itself the seller rejected the payment saying that there was some breach of ebay policies. I was desperate to get the phone so I added Papa's credit card on the Paypal and got it verified and finally ordered a white Iphone 3GS. It reached Surbhi Goel's place in New Jersey in 4 days and she confirmed that it was almost like a new phone. We were happy. After arriving in Delhi, she was supposed to take a train from Delhi to Calcutta on the 13th evening. The train was supposed to pass Kanpur at 1 in the night. While we were preparing to go there, with the stuffed parathas as demanded by her, I called her for confirmation and it turned out that her flight was late and so she had missed the train. Now she was taking a flight for Calcutta in the morning at 10 am. Who would pick the phone from her in such a short time was the question. Shubham called his Dad and found out that he was arriving at Delhi airport at 9 am. He asked his driver who was coming to pick him to reach at 8 am and get the phone from her. It was definitely a big LUCK. Now how would it travel from Lucknow to Kanpur ??? Should we catch his Dad at the Lucknow airport itself or wait for some other opportunity? Next day I found out from Yadav travels about a taxi which would be coming from Lucknow and asked the driver, Anil to do this favor. When he was about to head towards Shubham's house, I asked Shubham to confirm from his parents about the same. And apparently there was no one at home. It was pretty disappointing. The driver came back without the phone.

    Two days later, Vyas Sir was going to Delhi to give a presentation on broken rail detection. He was to leave for Lucknow at 7 am. Shubham and myself went to his place in the morning and talked to the driver once again. Limits of jugaadbaji no doubt!! We asked the driver to deliver an important paper at his house, the deed papers indeed ! He was not carrying any cellphone with him though, so that he could be contacted. He asked us to write our contact nos. on a paper. We wrote down our contact number and Shubham's address in Lucknow. We came back to the lab and slept dreaming about the phone. Around 9.30, I suddenly realized that we had not talked about the phone to anyone, neither to the driver nor at his home. I tried waking up Shubham to inform his parents. He said "He would call us once he is there and then we would tell him" and slept. Around 11 am, Papa called me asking to pick up the iphone from Shubham's house. I called his landline no. and came to know that the driver had left the papers but the phone was not handed to him. Papa finally sent someone to pick it up from his house. When Papa got the phone, he was excited and called me up telling that it was in an excellent condition. I could resist no more. The phone was coming nearer day by day. I finally decided to go and pick it up myself. We booked a taxi for 1 pm. When we are about to leave, the courier containing our parts arrived. It took us less than 2 hours to repair both the existing phones which is too fast considering the fact that involved lot of complicated soldering and wire management, and yaaay.. now I can again listen to music on it in the loudspeaker mode after 5-6 months.

    We finally left for Lucknow where Shubham tried to unlock it but with no success. We were finally back at 1.30 in the night. It was one Iphone rescue day. Now I proudly claim to be the owner of the fastest and smartest phone ever. It also came with a beautiful white case and an anti-glare screen guard and of course in the original box with data coed and headphones. The condition is excellent and it looks great with the shining white back cover.




    I tried jailbreaking it but as expected there appears to be no free solution available till 24th.

    Thursday, June 10, 2010

    An evening with a photographer and my best 20



    Shubham and myself were returning from the Prince of Persia late night show when Shubham invited three of his junior friends in the same cab. Amongst the various discussions that followed, one of the guys told us about a photography workshop to be held the next day. "Who is taking the workshop?" was the obvious question. "Subi Chaturvedi from LSR, Delhi. She has even been the Miss Antaragni." Suddenly it sparked a new delight on our faces and made the news of the workshop more interesting.

    "So what time is the workshop ..... who is picking her up... where is she staying and bla bla...."
    The next day we woke up as usual at 2 pm in the lab. The first spot we rushed towards today, unlike other days was not our about to close mess but Visitor's Hostel. The receptionist told us that she was staying in A-1, Visitor's Faculty Hostel and we dropped there on Shubham's scooty in flash of a second.

    Three guys, apparently the photography club coordinators, were waiting outside the door while a tall smart lady was locking her doors. As she moved past us, SHUBHAM was quick to pounce on her introducing both of us - "we are into photography" and we got invited to the lecture with our best 20 pictures. She gave some really nice tips on taking better pictures. She showed some of her pictures taken in Europe and east India. They were amazingly impressive. She told us how the getup, colors and light conditions change the look and feel of the picture. She shared her experience when she had to decide Sushma Swaraj's dress after she had won the election. She also impressed on us that we should wait for the right moment of action before clicking and look for the right expressions - as she had clicked Laloo Yadav sleeping many a times in Lok Sabha. Some of the landscape pictures taken by her looked very serene and appeared like a painting which she said is accomplished by introducing a shake by clicking and immediately releasing the shutter button.




    Next day, the lecture began at 4 pm. And what more she started off with the discussions of my photos. One by one the pictures rolled and her expert comments coupled with the photography rules - "rule of the thirds", "importance of head space", "perfect symmetry is unpleasant", "leading lines in the photograph", "going deep into the picture into the 3rd dimension by taking pictures at angles with wide angle lens", "using the available light to your advantage"..... made the session unforgettable and extremely interesting for me. Although she kept kicking my ass for being "an excellent photographer but a bad editor" but I really cherish those moments. It was the ultimate surprise for an amateur photographer like me to have my pictures discussed on stage that too by such a great talent. For reference, she asked us to follow Tarun Khiwal, Rafique Sayad, Raghubir Singh, Raghurai and Prashant Panjair. Later, once again we went out to take pictures outside the CSE building. I even tried clicking her picture in the dim light with tips from her but apparently light had a reddish tint which did not allow me to take a good picture.




    Back from the two day workshop, I suddenly realize that my composition and photography skills have drastically improved. Such a remarkable difference in a short span of time is simply unbelievable. I went through all the pictures I took in Europe and to my surprise I was very easily able to identify the issues with them and improve most of them as much as possible. Thanks Subi for the wonderful time and being such a great teacher. It has also helped me update my best photos gallery .

    Monday, June 7, 2010

    AVR development on Mac OS X with XCODE


    Are you an AVR fan who has recently migrated to Mac and disappointed by the lack of AVR support for Mac users? Specially if you have been working on CVAVR and AVRStudio for development, and now you realise that there is no such GUI available for Mac.
    A closer look at the situation reveals that there is ample support and resources available for here which I will list one by one.

    Alternative 1 :
    Install VMware on Mac and run all your old windows programs without a glitch. The disadvantage is that running another OS like XP, more so if its Windows 7, consumes a lot of resources and your system performance goes down. Nevertheless, you can give it a try if you have a free/ trial copy of VMware, and of course XP.

    Alternative 2 :
    As we all know avr-gcc compilers are available for linux and Mac as well. So you can download and install them and start writing programs and burning them from Terminal command line. This might turn out to be a tedious task if you are new to command line. You are bound to falter once while changing fuse bits through command line and this results in killing your poor Atmel chip.

    To burn fuses without burning the chip, there is a nice application available for Mac called the AVR Fuses . This application provides the same interface as your AVRStudio for changing fuses and programming your chip.





    This GUI uses avrdude to program the fuses as well as the program memory. (I will explain installing that later). Just go to the preferences and set the right path to avrdude and the programmer port and it begins to work.

    Note : If you plan to use a USB to serial converter like the one from prolific you need to install a PL2303 prolific mac driver which is readily available on the web.

    Alternative 3 :
    A similar but more useful app called the AVR Tools also has a built in serial terminal. So this eliminates the need for XTerm etc. The environment is slowly building up to give you a good experience. This app has a whole list of programmer support ranging form USBasp to the simple sercon mini programmers. Select the port form the dropdown list which is automatically populated depending on the available serial ports (USB to serial adapters, bluetooth serial ports etc.). This as well requires installing avr-gcc and avrdude. I would recommend AVR-Crosspack for installing the avr-gcc toolchains etc. To configure it rightly, please follow Lady Ada's tutorial . Please follow it step by step.



    Alternative 4 :
    Till now we haven't come across a native IDE for AVR development on Mac. We haven't yet explored the beauty of development on Mac. If you are not familiar with Xcode, its the native development environment for Mac. It has an amazing GUI. Yes, you are thinking in the right direction. We are about to use Xcode for AVR development. Please install and test AVR-CrossPack and configure it correctly before you proceed.
    Xcode provides you option for creating project templates. A great person has created a nice AVR template for us. Download the template folder from the following link:

    and copy the folder into the directory:

    /Developer/Library/Xcode/Project Templates/Others/
    or,

    /Library/Application Support/Developer/Shared/Xcode/Project Templates/

    Now run the Xcode and click open a new project. A template chooser like one of the following will appear depending on where you had copied the folder in the previous step.



    Select the AVR project or the Atmega project. On the left pane you see firmware folder. Expand it and you will see 2-3 files including main.c and makefile. main.c is the file you need to edit and write your project in. After writing the code click on build and a hex file will be created in the project folder. From the Release dropdown list on top left, you can choose to flash the microcontroller if the write programmer and options are set in the makefile.

    You can also edit this template to include some default things by opening the project file from the directory you copied in the first step. For example, I edited the template so as
    1. to use particular serial port by default by editing the make file
    AVRDUDE_PORT = /dev/cu.STK500-1-GenericSerial
    2. to use a particular programmer type by editing the make file

    AVRDUDE_PROGRAMMERID = stk500v2

    3. I often use delay functions. So I made a delay.h header file and included it in main.


    I made some more changes in the make file to write all the build files in a subdirectory of the project file to prevent it from unnecessary cluttering.

    Later, I connected a bluetooth serial module to the programming port of my STK500 board and began flashing it wirelessly from my Mac. So now when I press the build button, it automatically compiles the code and burns it on the microcontroller wirelessly :P . Details about it in the next blog.


    Hope you have a good AVR+Mac experience.