Wednesday, November 28, 2012

Folding Cloths using FlipFold

Remember Dr. Sheldon Cooper from The Big Bang Theory  folding his T- Shirts perfectly using a plastic cloth folder ?

I got mine :) and tried first on my The Big Bang Theory Tee shirt of mine :) Its a really handy tool and time saver :)

You could buy one in or Amazon.

Monday, November 19, 2012

Guest post about Java Links Of The Week

Last week my colleague was at Devoxx so I volunteered to write a guest post for his blog and

Following are the links

JavaFX links of the week, November 12

Java desktop links of the week, November 19

I would like to thank him for the opportunity.

Jupiter Video

Last year during Leonid Meteor shower we had gone out to a place bit away from the city lights and spotted some of the objects in the sky. This year I stayed back at my home and waited till the dawn to watch some meteors. The numbers were very disappointing because of the city light's but I managed to capture Jupiter up high near the zenith. It was very bright. Following is the video I shot using my 1.3 mp webcam connected to the 90 mm table top telescope.

I could only capture 18 second clip the telescope was alt-Azimuth mounted. Probably next time I would use my 5 inch one with EQ mount using which I can manually track it for longer time tough I don't have motor tracker yet.

I also tried to use Registax for the first time to chop the frames of the video and stack them. After some wavelet adjustment I managed to get the following sharper image.

I could see the great red spot just below the equilateral aria. May be better image processing would lead to sharper image.

I probably over did a bit during wavelet processing. This was first time I used this software. Thanks Mike Rector and the YouTube video for telling me how to use this software. Now I am dying to capture Saturn with this. Unfortunately most of the planets are now almost in a single direction near the sun which makes it very difficult to see and capture. Here is another picture of sky including Orion, Jupiter , Sirius , Aldebran and M45

Friday, November 9, 2012

Revival of Rabindra Sangeet

Ever since childhood I have been of Rabindra Sangeet. Recently I came across couple of Bangla movie songs based on vary famous songs written by Nobel Laureate Rabindranath Tagore. One can say it is kind of revival of traditional Rabindra Sangeet. Both are sang by famous Bengali singer Somlata


Also not to forget the famous video Where the Hell is Matt? 2008, in which the music was given by Garry Schyman based on lyrics of Rabindra Sangeet.

Tuesday, November 6, 2012

Google Devfest 2012 at Hyderabad

Featured post in Google Developer Blog

I got an invitation to speak at Google Devfest 2012 at Hyderabad last Saturday. I was supposed to speak on HTML5. Google is a leading company who promote HTML5 and implement features in Chrome much ahead of time before specifications are freezes.

Photo Credit : Abhinav Saxena.

I created some html slides with the help of slides using impress.js. Advantage of this over conventional powerpoint/open office was that I could embed the demos inline as these slides were also running on HTML5 compatible browser. Though Mozilla Firefox is my personal favorite , I used chrome to display the slides because a. I was going to a Google community event b. APIs like speech recognition works only in chrome.

Some of the demo did not run in chrome when the html page was run locally with file:// protocol in the URL as chrome though this is not a valid domain. For geolocation and webworker demos I had to host the html slides in a local webserver. The simplest way to start a webserver in windows I found was to use Python's built in http server. I just typed the following
python -m http.server

And that's it. It started a html server at port 8000. I also hosted the slides in dropbox and my own domain for backup and to allow the audience to use it later.

I had got only 30 minutes to speak but again asked to reduce to 15 to 20 minutes as event was running late and there was a hard stop time from the logistics prospective. I have never seen any Indian event running on time even if it is organized by a big corporation. Usually the time is compensated by trimming the break time which is sometimes very important in events like this from the developer's networking perspective. I have seen some of the events like JavaOne Hyderabad had dedicated hangout time which was very productive.

Anyway while I understand the devfest organizer had no choice but to cut short the last session which was unfortunately mine . However I managed to start the session early at the scheduled time without waiting much for the audience to come back from the tea session. I also ran through the slides quite fast to make few minutes available for the vote of thanks :)

I am really thankful to Bharat (Community manager of Google Developer group Hyderabad ), Bhumika Kaushik and Uttam Tripathy from Google for the opportunity and fix my slot according to my convenience.

I wish I could attend the other sessions in the morning and afternoon but I was caught up with some work. All other speakers were very young (much younger than even me :) ) and talented in their areas. I also met a lot of students from the colleges around Hyderabad whom I had interacted before during IEEE events.

I received a cute Android thumb drive and a nice T-shirt. Looking forward to more activities from the local GDG.

Related links

Saturday, November 3, 2012

Creating simple HTML5 slide presentation with impress.js

With the recent growth of HTML5 adaption, I have seen many people using HTML slides instead of traditional Power Point/Open Office presentation.

You can download the impress.js and save in the "js" directory.

[sourcecode language="html"]
<html lang="en">
<title>Impress Demo</title>
<div id="impress">
<div class="step slide" id="start">
<p style='width:1000px;font-size:80px;
text-align:center'>Creating Stunning Visualizations</p>
<p>Impress.js </p>

<div class="step slide" id="slide2" data-x="-1200" data-y="0">
<p style='width:1000px;font-size:80px;'>
First Slide Moves From Left To Right</p>
<p>Impress.js </p>
<script type="text/javascript" src="js/impress.js"></script>
<script type="text/javascript">impress().init();</script>

For more sophisticated slides can refer the code of this page.

Thursday, November 1, 2012

Interactive map of movements of trains running in India.

One more master piece by Rail Radar is a interactive Google Maps based application which shows all the train moments through out the huge Indian railway network. The density of train is so much that at some important junctions one really have to zoom in to see individual train information.

Live running status of Indian Trains in Mobile

Previously I had posted about spotting your train on Google maps using and later from the official source. I was recently traveling and used another mobile website by National Train Enquiry System by Indian Railways. I used the  following mobile site in my Android mobile browser through out the journey and found that it was getting updated very frequently, some times after couple of minutes after leaving a station , which is the least lag I have ever seen in any Indian railway related site. Moreover you don't have to really wait till an official  stoppage comes to know how much late the train is running. It updates the passing by the stations ( even if it is a small one) also which comes very frequent.