Showing posts from 2012

SpringOne India 2012

I attended the Spring One conference in Hyderabad yesterday. There were lots of good speakers like @chanezon , @jeremyg484, @jencompgeek who briefed about the new Paas solution CloudFoundry.

I signed up and could deploy my first app within minutes in clound using their command line tool vmc.

Earlier I had evaluated some other Paas solutions but some of them were either costly  or proprietary so one could not deploy generic war files.
Other PaaS solutions

Google Appengine
Amazon BeanStalk

I am also looking forward to Oracle Java Cloud.

Geminid Meteor Shower 2012

I  did not capture the streaks of shower but this was one of the darkest sky I had ever seen at Pocharam Lake.

Following is the annotated version of the above photo created using

Check out my some more photos taken by Joy which includes one with a meteor streak as well.

Spotted ISS

Few months back I registered at NASA's sport the station website which sends me an email reminder every time ISS (International Space Station) is visible from my city and visible through naked eye. Though I have seen it earlier accidentally, I have always missed the timings send through the reminder. Either I was too lazy to wake up early or late from work in the evening. Yesterday I got the following email reminder.
SpotTheStation! Time: Sun Dec 09 6:21 PM, Visible: 4 min, Max Height: 40 degrees, Appears: W, Disappears: NNE
It was not very dark at this time but it rose from the western as predicted and was bit reddish as compared to the other bright stars visible at that time. It was probably as bright as Venus.

I was not well equipped so just managed to click this quickly moving object at 16X zoom and got the following image. One can notice the wings in it.

Probably next time I will carry a tripod and capture a trail. Even my binocular should be enough to reveal the wings.

Moon through telescope

Last time I posted about the video of Jupiter I took using my telescope and a webcam. On 28th November there was a partial eclipse of the Moon but I was lucky enough to get a glimpse of it because of my geographic location. However because it was a full moon , it was very bright and I manage to capture some videos and tried to chop and stack the frames using registax.

I did some quick and dirty processing to get this image out of the video but I promise, it will get better when I learn more about registax

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.

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 ove…

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.

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 simple…

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>

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.

GVD 2012 - Bird Watching Awareness

Like last year I got involved in a GVD (Oracle Global Volunteer Days) project this time . This project was about taking out children to one of the largest park ( Sanjeevaiah Park ) in Hyderabad and make them aware of common Indian birds and facts about them. It was led by some of my colleges who are very passionate about birds and their conservation. The preparation had stared weeks before the event.  One of the remarkable achievement during the preparation was the beautiful booklet [ PDF ] which contains most of the common Indian birds with beautiful pictures. Sayantan Chatterjee did an excellent job designing the booklet and the professional quality photographs were contributed by some of our colleagues who are very good at photography. You have to look at those photos to appreciate.

Around 20 children from the NGO called "Desire society" participated in this event. They were divided into groups and each group was led by somebody who has knowledge about the birds and how to…

JUG Hyderabad talk by William Louth

Last month JUG Hyderabad had a session by William Louth. He introduced a really new paradigm of optimizing JVM performance in his session with title "JVM Performance - Past, Present and Predicted". This session was hosted in Oracle India's Hyderabad development center. Not to forget that the snacks were sponsored by JUG leader Ravi Ravi Buddharaju and tea by me. Unfortunately like last time most of the people who RSVP'ed Yes were not professional enough let us know that they weren't coming. As a result some of the logistics effort went for a toss. has a option to mark "no shows" which ultimately effects the credibility of the person's RSVP, which can be used to decided if they should be allowed in the events where they are in wait list. Anyway I am thankful to all the attendees who too their time out and reached the venue in time. Looking forward to a growing JUG in Hyderabad. Last but not the least thanks a lot to William who came all th…

Handling Keyboard Sortcuts in JavaFx

A lot of times you need to to assign some functionality to some keyboard shortcut like F5 or Ctrl+R  in your application. It can be done as follows

scene.setOnKeyPressed(new EventHandler&lt;KeyEvent&gt;() {
public void handle(final KeyEvent keyEvent) {
if (keyEvent.getCode() == KeyCode.F5) {
System.out.println("F5 pressed");
//Stop letting it do anything else

JavaFx also provides KeyCodeCombination API for handling multiple key events.

final KeyCombination keyComb1 = new KeyCodeCombination(KeyCode.R,
scene.addEventHandler(KeyEvent.KEY_RELEASED, new EventHandler<KeyEvent>() {
public void handle(KeyEvent event) {
if (keyComb1.match(event)) {
System.out.println("Ctrl+R pressed");


IEEE Talk on HTML5 at VBIT, Hyderabad

Last Saturday I got an opportunity to speak on HTML5 at Vignana Bharathi Institute of  Technology at Hyderabad. They have an active IEEE Student branch in the college and keep organizing tech events like this.

I borrowed slides from where they have a lot of interactive slides with inline demos and keep updating very frequently with news features and demos.

My version of the slides were a subset of the original ones and modified on top of the ones used in SREC early this year.

It was very good to see students paid a lot of attention during the talks and had a lot of interest in html5 and web in general. It was very easy to communicate as they has a very good understanding of fundamentals of HTML already. Photos are also posted in the Facebook album of the student branch.

Event Report

IEEE CS Colloquium at JITS, Warangal

Last Sunday me and few of my colleagues from Oracle visited Warangal , Andhra Pradesh to deliver talked on IEEE CS Colloquium at JITS, Warangal. I went to Jayamukhi Institute of Technological Sciences to deliver talk on "Introduction to JavaFx and HTML5" . Thanks to my colleague Steve who allowed me to borrow all his slides for this session. The slide credits also goes to Mike and Kevin I inserted some of my slides to keep the session introductory level. This event was actually organized on the occasion of 45th engineers day in India.

Introduction to JavaFx and HTML5 from Neil Ghosh

Some of the photos are here

Aerial view of cricket stadiums in India

I was comparing size of cricket stadiums in Google maps satellite view and thought of putting them in one place with a consistent zoom level. Here are few of my favorites

Brarabati Stadium, Cuttack, The home ground

This has been the center of Orissa Cricket Association where my cousins used play for state.

Rajiv Gandhi Stadium, Hyderabad, Nearest Ground

This is the city where I live now, have watch many IPL matches here , tough it has been a bad ground for home IPL team.

Chepauk, Chennai

View Larger Map

Reminds me Matt Hayden and 2001 AUS tour of India

Chinnaswami, Bangalore

View Larger Map

Home for Dravid, Srinath, Prasad, Kumble. Reminds me 1996 world cup quarter final when India trashed Pakisthan.

Feroz Shah Kotla, Delhi

View Larger Map

Remind me Kumble's 10 wickets in an innings.

Mohali, Chandigarh

Unconventional low lights , 18 in numbers due to proximity with airport

Wankhade, Mumbai

View Larger Map

India won world cup here in 2011

Eden Gardens,  Kolkata. 

View Larger Map

Biggest ground in Indi…

g|days Hyderabad 2012

Last year Google hosted Dev Fest and this year it was g|Days. Here are some links and notes

Anna Chernova's slides on Google Maps API.
HTML5 Demos by Neelesh Bodas
#gindia Google+ stream
#gindia twitter stream.

Update on 30 AUG 2012 :

All presentation at g|India Hyderabad

Modularizing XSLT code (extract file name from path)

Few days back I came across a requirement where I had to determine the name of a file given the absolute path. Had it been java or any other popular programming language I could just tokenize the path with the directory separator character ("/" or "") and taken the last token. However doing it in XSLT 1.0 was bit tricky. A recursive function (templates in case of XSLT 1.0 ) call was required."substring-after" function gives the part of the string after the first occurrence of a given delimiter.

[sourcecode language="xml"]
<xsl:template name="fileName">
<xsl:param name="path" />
<xsl:when test="contains($path,'')">
<xsl:call-template name="fileName">
<xsl:with-param name="path" select="substring-after($path,'')" />
<xsl:when test="contains($path,'/')">

Curiousity landing on Mars Live at NASA TV and Live Hangout

Full TV Schedule for the landing
Tomorrow 10.30 AM IST, Curiosity is scheduled to land on Mars after the famous 7 minutes of terror. Looking forward to Pamela Gay and Fraser Cain hosting the Google+ hangout which will start at 8.30 AM IST. I hope everything goes right, not just because we will be able to do so many experiments in the SUV sized lab sent to mars but also because successful landing will increase the success ratio of mars landing.

You can also simulate the while landing process in 3D using NASA Solar System Eyes.

Visit to Dhyanahita Schools

Yesterday I visited Prof Ghanta Subbarao'sDhyanahita Schools. Apart of excellent teaching facility I saw so many Vegetable and fruit plants in the campus that it could feed all the children and staffs. There were huge solar panels providing power to the street lights and guest houses.  Construction material were manufactured in the campus itself. There was a cowshed with cows and  bio gas plant as well.

Rooted my Android

After almost one and half  years of buying my second android phone (Samsung Galaxy ACE) I finally decided to root my phone which I always wanted to do. A shell with root access, what else do you want in a Linux based system ? One of the reason which provoked me to do so yesterday itself was that the power button stopped working suddenly. I suspected that it might have got some rain water inside  but later decided to try the factory reset  option once before taking it to service center.  The chances were low because I thought I was trying to solve a hardware problem by just resetting the software.

However it worked ! I don't know why. In this process I lost all my call logs and list of apps installed.I backed up all my SMS in Gmail tough.  I was expecting the Google Play to remember the list but it did not. I remember said that all the apps and WI-FI password etc will be backed up when I signed in with a Google account last time. Moreover lately my GPS seemed to be working with a lo…

Fishing at Ameenpur Lake

After childhood adventures of fishing in the family pond with cousins using home grown sticks and wheat flour paste as bait, this one was first opportunity to do some fun fishing. This was first time in this season as well, so expectation was not much high but was pretty excited about it. Thanks to Hyderabad Adventure and Trekker's Club, for organizing a beginners fishing meetup.

Photo Courtesy : Ravi K  || Fish Courtesy : Monika

Key lessons were

Best place to catch earth worms is at the root of the small plats on a soft soil.
Keep the earth worms alive by putting some wet soil in the plastic you are collecting the worms in and letting some air come inside the packet.
Take thread of length little more than 1.5 times of the length of the stick.
Tie one end of the thread at the narrower end of the stick, preferably near the first joint  to avoid slipping of the thread.
Take the other end of the thread , leave 1 feet and tie one end of the sol stick.
Take the extreme end of the thread (we h…

IEEE STEP at Hyderabad 2012

In April this year we organized the IEEE STEP program at Warangal.on behalf of GOLD (Graduates Of Last Decade ) Affinity group of IEEE Hyderebad section.

Since this program is for the graduating students and most of the engineering  colleges in the state of Andhra Pradesh is in the capital city Hyderabad, we wanted to organize the season 2 of the STEP (Students Transition and Elevation Program ) in Hyderabad and make it big. IEEE HQ and the local section has been supporting us enough financially to organize both of them.

The planning started couple of months back with long trailing email chains among the GOLD volunteers and students volunteers. Volunteers like Arif and Raheem came forward to offer their university seminar hall and other facilities in the campus. MJCET (Muffakham Jah College of Engineering and Technology) is situated in the heart of the city and turned out to be the most convenient location for students around the city. Also the seminar hall was very well equipped with a…

Run JavaFx without any prerequisite runtime installation

JavaFx 2.2 recently added the native packaging option during build and can be deployed as executable files  anywhere. This opens up the whole new way how java developer can ship their program to the computers where the latest JRE is not installed.

One of my friend was trying to come up with the Windows GUI program which could run directly from the CD or USB drive in most of the computers. In Indian institutions like schools , the computers are mostly out dated and only has IE 6 browser. HTML5 was not a good idea because it needs the latest browser and it can expose most of  the code and resources on a commercial product. .NET licence was costly considering the small budget project and it was very difficult to find programmers with Delphi and Python (tinka) skills.

Java being so popular language, its very easy to code the GUI quickly, especially in JavaFx. JavaFx have mp3 audio file playing support. Now the big problem was any JavaFx program (jar) needs JavaFx runtime to be installed. Th…

Playing mp3 audio with JavaFx

Java had audio support since ages but there was no direct way play mp3 files in java.

Thanks to JavaFx , you can now directly play mp3 files from your program. In this way you can avoid storing .wave audio files which are huge in size.

In your JavaFx project you need to put the following lines of code

String source = new File("audio.mp3").toURI().toString();
Media media = null;
media = new Media(source);
MediaPlayer mediaPlayer = new MediaPlayer(media);;
Note that this will play audio file from the current working directory. Usually the same directory where the above code file exists or the final executable jar directory. You can confirm the directory using the following code.
System.out.println(new File(".").getCanonicalPath());
There are many other ways to add mp3 capability to Java but I felt using JavaFx is the easiest way specially because of the fact that since …

Video : Astronomy at Pecha Kucha Night Hyderabad Volume 9

Last week I participated at Pecha Kucha Night Volume 9 as a speaker. Finally the video is out. Thanks to Nikhil for some of the photos which made the slides very impressive. Also many thanks to Vishal, Sharath and Karthik and HandsMedia team for wonderful execution and editing of this video.

You can watch the rest of the videos in that event in the Pechca Kucha Hyderabad's YouTube Channel.

Update 12/02/2013:

The presentation has been featured in pechakucha HQ website.

After Life

I don't believe in after life, I think human body is a biological machine which stops functioning after death , that's it.

But there are lives around us who continue.  One of my colleague shared a blog on a real experience how disastrous can life be after an unexpected death of a family member. The author mentions few lessons she learned after loosing her husband and all information with him.

My friend  shared the following an article about claiming money stuck at various investments.

On a lighter note of you are worried about your Facebook status after death, there is an article for you :)

Right to Information Act

Recently I filed my first Right To Information (RTI) application against Election Commission of India and it showed result.

Few years back when I shifted to Hyderabad, applied for registration of my name in electoral roll manually by submitting forms and photographs but it never got listed at Chief Election Officer's website . Every time I gave a call , I got a response that name will be listed next month but it never happened. Even the acknowledgement copy of the application did not have any status tracking number to follow up. Only way was to search by Name and House Number. From my friend's experience I knew that that letters in my name will be defiantly  jumbled up and I will not be able to search even if it comes up in the list

Finally when 3 years passed, I filled up the E-Registration form and submitted my photo and personal details in February 2012. Again the status remained as pending for months. I got no response to the email of Chief Election Officer of local constitu…


The Hyderabad section of The Institute of Electrical and Electronics Engineers (IEEE, read I-Triple-E) had their Special Annual General Body Meeting (SAGM) on 8th July 2012 at Family World Club, Hyderabad. As GOLD (Graduates Of Last Decade) Chair I presented the activity summery till now with following slides.

GOLD at IEEE Hyderabad SAGM 2012
View more presentations from Neil Ghosh.

We are looking volunteers, both IEEE members and non-members to be part of our events. Drop me an email if you are interested.

Venus Transit Video

Exactly one month ago I captured this Venus Transit video during the sunrise , when we first witnessed the planet Venus in front of the Sun. There were cloud cover but we got a glimpse.
Make sure you change the quality to 1080p/720p and watch it full screen to spot Venus.

PechaKucha Night Volume 9

I got an invitation to talk in PechaKucha Night Hyderabad volume 9, last week. I spoke about basics of Astronomy and how it evolved as my hobby. I also got to meet a lot of talented and creative people. The video recording is going to be released after sometime. Till then let me share some photos taken by my friends.

Some of the pictures of mine are below and other pictures can be found at the Facebook album and earlier videos can be found in their YouTube channel.

Following are the 20 slides are presented

Astronomy at Pecha Kuch Night Hyderabad Volume 9
View more presentations from Neil Ghosh

Rough transcript of the talk is as follows

This is the sky you can see right now if you look up (given there is no cloud). Several bright stars, Moon, Saturn, Mars etc.As a kid I always wondered of stars are random or has some meaning. Before I could invent I discovered that thousands years ago people have already charted it and imagined different animals and objects by connecting the stars, called c…

Google IO 2012

Like last year Google broadcasted the keynotes of the annual developer event (Google I/O) at their local offices . I came down to their office on 27th and 18th June night despite EURO semifinal matches scheduled right after that.

Most amazing part of the Keynotes were the featured video if Virtual Start Party , which I am regularly part of.It was an awesome idea from Fraser Cain and Pamela Gay , who started recording their podcast from Google hangouts . Later many astronomers joined them in Hangout on Air and used their telescopes to broadcast live images from Sky. Following is the full length video from which some clips were shown in the keynote. I think Virtual Star Party is the best use case of Google Plus  hangout till now.

Following are my notebook pages on both the days

Day 1 (Android)

Offline voice search
Google now
Incremental app update
Free Google cloud messaging for developers
Movie for sale I play
TV shows in Google play
Magazines 14 days free trial
Nexus 7 inch tablet 12 core GPU , …

Gallery : Venus Transit 2012

Venus Transit 2012, a gallery on Flickr. Finally I managed to put all the flickr photos of my friends who shot photographs of the transit with me. The gallery will grow in future as they upload more photos.

Photos : Venus Transit

Finally witnessed the long awaited Venus transit. Few of my Astronomer and Photographer friends gathered together before sunrise and enjoyed the rare view. The view was initially bit blocked by the clouds adjacent to east horizon but it became crystal clear afterwards. Following are some of the pictures taken by my friends.

There are few awesome pictures taken by Harsha as well . Photo 1, Photo 2

Finally here are pictures of the session  taken by me.

Also watch the Ultimate Transit Video by Nasa

Upcoming Venus Transit

As most of you would know tomorrow's sunrise will be special. No, the sunrise will still happen in the east direction :) but it will rise along with planet Venus, right in front of it. Sun will rise in Hyderabad around 0542 Hours, the transit would have begun by that time. The transit will continue till 1001 Hrs. Me and few of my friends are will be hoping for clear sky so that we can view through out solar glasses and capture photos using solar filters.

Following is the schedule of this transit

In the above simulated picture it is assumed that the horizon is clear but actually the sun will start appearing just before 6 AM.

first contact | 3:39 am IST | Wednesday, June 6, 2012
second contact | 3:57 am IST | Wednesday, June 6, 2012
maximum | 6:59 am IST | Wednesday, June 6, 2012
third contact | 10:01 am IST | Wednesday, June 6, 2012
fourth contact | 10:19 am IST | Wednesday, June 6, 2012
sunset | 6:50 pm IST | Wednesday, June 6, 2012

Source :…