One more master piece by traininquiry.com. 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.
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.
View Larger Map
Reminds me Matt Hayden and 2001 AUS tour of India
Home for Dravid, Srinath, Prasad, Kumble. Reminds me 1996 world cup quarter final when India trashed Pakisthan.
Feroz Shah Kotla, Delhi
Remind me Kumble’s 10 wickets in an innings.
Unconventional low lights , 18 in numbers due to proximity with airport
India won world cup here in 2011
Eden Gardens, Kolkata.
Biggest ground in India , with capacity more than 1.2 Lakhs , more than double of any other ground in India.
I have not included many other test ground like Ahmadabad, Kanpur etc. to void the post to be very lengthy.
Finally got some time to write a post after long time. Lately life was not that eventful anyway. Today I got a chance to participate in Google Dev fest here in Hyderabad at HICC. So i thought of documenting the notes I had taken during the sessions for future reference.
It started with the keynote by Rajdeep Dua about the Android 3.x Platform Overview and Boris Smus about new features of HTML5. Rajdeep introduced fragments in Android platform which are used as independent component under the Activity and created/destroyed at the runtime. Also introduced about the compatibility library for Android 2.x so that we don’t have to maintain two code line separate for tablet and the phone. For layout rendering in phone and tablet its a good idea to specify screen size in the manifest file. Boris introduced the following new features in HTML5
- Pausing video automatically when user switches the tab so that it does not keep playing in the background.
- Pre-render the Hyperlinks where there are high chances that user going to click it.
- Support for detecting if the browser is online or offline.
- Graphics in CSS3 using webGL
- Native client programming in browser using C/C++ , stable chrome version 14
- Audio API and Visualization
- Full screen API
- Web RTC
And he ended with a “that was a lot” slide with a resting dog’s picture loved the humor. CFor more HTML5 check out http://www.html5rocks.com/
Tony Chan started with Android: Fragments and ADK Overview. Main highlight was Android market. There were lots of improvement. There is still no review process but Android team is trying their best to keep the apps harmless. Better error reporting , statistics and localized listing were incorporated. He also warned to double think before making an app free because it can never be made paid after that. He also illustrated fragment back stack (stack of UI component sequence which keeps popping when back button is pressed). Transaction defines the rollback sequence of the UI screen. He also demonstrated code snippet to show how fragment component can talk to each other and pass “intent” via activity for better decoupling of fragments. He discussed about Open accessories API and Android Development Kit (ADK) the hardware unit. Finally he concluded with jaw dropping demos of servo motor robot being controlled by Android phone’s touch and orientation. But the best part of the day came when he put the phone on the top plate of Gyroscopic robot and tried to tilt the robot so that phone fall off , but it did not ! The phone sensed the tilt and sent signal to the robot’s top plate to tilt in the other direction so that it remains horizontal with respect to ground and keep the system balanced . It was simple a control system with feedback.
- Google storage
(S3 compatible , RESTFul APIs GET, POST, PUT , DELETE methods )
- Prediction API
(Can upload training data, both text and number in CSV format ) to learn and make the model, and later model could be used to predict new set of unlabeled data. I personally chatted with Alfred during lunch time and got to know that best machine learing Algorithm for training is automatically chosen by looking at the data. It can also show multiple results with probability and if user chooses the correct label , it can be feedback to the system again to learn more , so that model gets smarter. One data record can also be marked as multiple label during training. Training data also can be added on the fly at any point of time. Now question is can google come up with unsupervised prediction e.g clustering into unknown labels.
SQL like query language and highly scalable with SSL access feature. REST APIs , JSON RPC are the major features in this. One can upload raw data and import to BigTable and then run queries. He demonstrated the performance of BigQuery with the wikimedia revision example with results. It turned out that George Bush’s entry was revised most number of times. It could be integrated to Google docs using AppsScripts.
- App Identity API
Public/Private encryption of data.
After the delicious lunch it was one of the most interesting sessions by Chris Broadfoot who talked about “Displaying Large Geographic Datasets using Google Fusion Tables“. Fusion tables looks like spreadsheets but have some more interesting features like merging records and Geo-Coding. Data could also be superimposed on Google Map and the result plot could be embeded as iframes. He also talked about fusion table SQL and styling the map. Data could could be populated into fusion tables using HTTP post requests. Plotting points in Fusion table is highly scalable unlike Map marker because it does not leave the rendering job to browser, it renders using the Google’s high end clusters of servers and only send the tile images to the browser. During Q/A I confirmed that mouse co-ordinates also tracked for interactivity in the tile images using extra scripts.
Post tea break Alfred Fuller was back with his session “Building Robust, Redundant, Reliable Web Applications on High Replication Datastore” where he talked about dynamically scaling app engine datastore which is based on BigTable. He explained about Strong and eventual consistency with the examples of cash and cheque money respectably. He also discussed entity groups and its trade off in size and showed example of ancestor queries which leads to strong consistency.
The last session was by Google’s one of the Android advocate Anirudh Dewani and Tony Chan who helped with the demos. This session was dedicated to the designers who plays major role in the usability and look and feel of the Android apps both for tablet and phones. He hinted about using renderscript for high quality graphics which brings a lot of user attention. They discussed and showed Action bar feature in Honeycomb (Android 3.x) which has three key sections namely Icon at the extremely left , menus in the middle which tells the current navigation location in the app and action buttons which enables tasks which could be done in the current screen. One major difference between phone UI and Tablet UI is that there is more real estate (screen space ) in case of the later , so two panes can be displayed simultaneously. It is advisable to have a single APK for both devices but different layouts. He showed various never ending list layout and informed about carousel and viewpager libraries for 3D and 2D. According to him , orientation change should not reduce the functionality of a screen in these devices. The best practice is to use the OS’s visual style and theme married with branding of the app and keep it consistent with all the screens. Developers have to keep in mind is that tablets are not just large phones as they are designed to serve different purpose.
Overall, it was very good event with lots of information and inspiration to get started with latest in web technology. Let me know if there is any information in the post can be corrected. I missed some other exciting session simultaneously going on in the other hall. It will be great of sombody can post those details here in the comments.