| Thejesh GN | A Blog, A Website and A container for all my views with excerpts from technology, travel, films, india, photography, kannada, friends and other interests. I am Thejesh GN. Friends call me Thej..more. |
![]() |
|
On the fourth day of Developer Summit myself and Veetrag spent some time with Alessandro CTO of Lightstreamer. We talked about comet architecture and its application in various fields. Comment is sometimes referred as reverse AJAX and is a set of technologies used to push the live data from server to http clients. Lightstreamer is a scalable and reliable Server for pushing live data to Rich Internet Applications. Its based on AJAX-Comet paradigm and pushes the live data to http/flex clients. A free version of Lightstreamer is available for download and can be used evaluation. Myself and Veetrag caught up with Greg Murray sipping his coffee at Developers Summit. As usual we started talking and in between I realized, we could as well record it. Hence the start is abrupt and volume is low. Got inspired by Twittervision mapping your tweets on Google Map. They don’t have a widget to put the map on your blog. Nevertheless I wouldn’t have used their widgets as they slow down the site. I hacked a piece of code in php/js to achieve the same on my site. Geo microformat L:lat,lan is used to represent the position data. It takes 21 characters to represent my geo location accurately. 21 characters out of 140 characters is high but its worth when you are traveling. Its very interesting to see tweets of your travel time on map. As of now it shows only the latest tweet on the map1. My next idea is to show multiple tweets on the map. Allow user to choose the number of tweets. That will be cool when I am traveling specially after buying this gps logger (Thanks to Sunish). I am also using hashtags to tag my tweets which will help me to fetch the tweets related to a context. So using hashtags I can map related tweets on the map. Think of looking at all my missionkk tweets on the map. That will be great right? The project is called WWW- When Where What and the url is http://thejeshgn.com/www/. Have a look and let me know. [1] If a tweet doesn’t have geo info it will pointed to my home.
When you try to close the main browser window using the close [ window.close(); ] method. You get the confirmation prompt The Web page you are viewing is trying to close the window. Do you want to close the window? This warnning message appears only if you are trying to close the main browser window and not the popups. To stop this use the following snippet
Sortable Table is a great javascript library for client side sorting of HTML table. Its under Apache 2.0 license so its very compatible. Recently I faced a bug when sorting date columns. It was not sorting the dates properly. After some debugging I got to know that the library assumes the date format to be yyyy-mm-dd. See line 287 or search for case “date”.
|