Thursday, December 31, 2009

Wish you a Happy New year 2010

Wish u all a prosperous and a happy new year 2010. Lets our team continue to do good jobs and accomplish lot many achievements in personal as well as career life.

Have a gr8 year guys...

Tuesday, December 22, 2009

Radio Group in GWT

May be many of you know how to create a radio group still I would like to put small comment on GWT radiobutton group ..

There is no separate RadioButton group class .. its the same RadioButton class which makes the radio button to be treated as a group or a separate radiobutton.

Only the first parameter decides whether it wil be treated as a radio button or radiobutton group.

RadioButton radio1 = new RadioButton("Group Name", "Label Name1");
RadioButton radio2 = new RadioButton("Group Name", "Label Name2");

So now two radio button belong to the same group "Group Name" ..

Monday, December 21, 2009

Lightbox- a UI feature in Javascript.

Lightbox is a terminology for kindaa off UI display in which, u click a button a new division will be opened and rest of the elements in the screen will be looking de-selected and de-highlighted.

It involves the concept of overlapping one division over another with z-index in css.

<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">

<title>LIGHTBOX EXAMPLE</title>
display: none;
position: absolute;
top: 0%;
left: 0%;
width: 100%;
height: 100%;
background-color: black;
-moz-opacity: 0.8;
filter: alpha(opacity=80);
.white_content {
display: none;
position: absolute;
top: 25%;
left: 25%;
width: 50%;
height: 50%;
padding: 16px;
border: 16px solid orange;
background-color: white;
overflow: auto;
<p>This is the main content. To display a lightbox click

<a href="javascript:void(0)" onclick="document.getElementById('light').style.display='block';document.getElementById('fade').style.display='block'">here</a>
<div style="display: none;" id="light" class="white_content">This is the lightbox content. <a href="javascript:void(0)" onclick="document.getElementById('light').style.display='none';document.getElementById('fade').style.display='none'">Close</a></div>
<div style="display: none;" id="fade" class="black_overlay"></div>


Try this sample to achieve this simple lightbox feature.

Sunday, December 20, 2009

Anonymous functions and its usage in Javascript

Everybody knows there exists anonymous classes, but not anonymous functions.

There exists anonymous functions only in Javascript. C,C++,Java doesnot like that.
It is widely used in python,ruby,c#,Lisp,PHP...

Anonymous function doesnt have name to it.

function square(x)
return x*x;

var a = (function(x) { return x*x;})(10); //100;

Which scenario it can used

var request;

function init()
var url = ' paris &start=0';
function sendRequest(addr) {
request = new XMLHttpRequest();
request.onreadystatechange = handleResponse;"GET", addr, true);

function handleResponse() {
if (request.readyState == 4) {

sendRequest() is called for two URL next to next.. Whichevers request, is served first, then global variable 'request' is updated with that response. So when the second request's response comes then it cannot take its proper value.
If u run the above snippet, u would see alert() is called only once.

sendRequest(url); ----> Change this line to setTimeout("sendRequest('')",3000);

No issue will be seen. This is a race condition.

Changed code :

function init()
var url = ' paris &start=0';

function sendRequest(addr) {

var request = new XMLHttpRequest();
request.onreadystatechange = function(){

if (request.readyState == 4) {
};"GET", addr, true);

Make the 'request' variable local to senrequest() and introduce anonymous functions to handle the response for each request. So that a local copy of 'request' will be given to function and when the response comes each call will have its own copy.So no clash.

what is Servelet Filters and how to use it

I was writting my GWT Client and had to switch between http to https and also menupulate the request and response, I found a easier and modular way to do it through Filters ...

Thursday, December 17, 2009

Quick references for HTML Tags

Hey I found this link which has all html tags which can be used as reference while webdevelopement

Wednesday, December 16, 2009

Online materials for Servlets,GWT,Ajax,Spring framework

It has good examples for all the topics.

J2EE handbook

Book for J2EE handbook which explains full end to end design of J2EE product.

Servlets & JSP pages

Found this book useful for JSP pages design and servlets.

Available in the below link.

Monday, December 14, 2009

Step by step approach of deploying a webapp in Eclipse.

Hello all,

I was facing many issues in bringing up a small webapp using eclipse & tomcat. I couldnt succeed.
But then i followed the step by step steps given in the java tips site and were able to deploy a successfull sample web-app.

- came to know about basics of JSP,Servlets and webapp and how it is deployed in tomcat. Please go through it if u r a started & interested in delpoying a webapp!

Saturday, December 12, 2009

Etherpad b4 Google wave???


Shall we use(try atleast :) ) for our team for sometime this Etherpad( before adopting Google wave as our collab tool?

Though support gonna be for this a while only as "Google Wave" hve already acquired for their feature strengthening. But to pacify the active user base ,this gonna be open-sourced soon.So few clients ll b there built out of this code.

Check out these Usecases. link:
Atleast the last two ones ll b useful for us in future workings ..(hope so any new dev proj from us soon).

This appealed me a lot.
Wats your say?


Wednesday, December 9, 2009

Apache Tomcat Vs Apache web server

Apache Tomcat Vs Apache Web Server
sometime back i setup tortoise SVN and i used apache server for network access to repository ..i had options for http,https etc.
yesterday I saw mani ans senthil setting up Apache TOMCAT. Me and Mani were wondering what is tomcat and what is apache web server...

Here is an excerpt from Wikipedia about apache Tomcat and Apache web server

Apache Tomcat (or Jakarta Tomcat or simply Tomcat) is a servlet container developed by the Apache Software Foundation (ASF). Tomcat implements the Java Servlet and the JavaServer Pages (JSP) specifications from Sun Microsystems, and provides a "pure Java" HTTP web server environment for Java code to run.

Tomcat should not be confused with the Apache web server, which is a C implementation of an HTTP web server; these two web servers are not bundled together. Apache Tomcat includes tools for configuration and management, but can also be configured by editing XML configuration files
Members of the ASF and independent volunteers develop and maintain Tomcat. Users have free access to the source code and to the binary form of Tomcat under the Apache License. The initial Tomcat release appeared with versions 3.0.x (previous releases were Sun internal releases, and were not publicly released). Tomcat 6.0.20 is the latest production quality release of the 6.0.x trunk (the branch for the 2.5 servlet specification), as of 2009.

Components of Tomcat

Tomcat version 4.x was released with Jasper (a redesigned JSP engine), Catalina (a redesigned servlet container) and Coyote (an HTTP connector).
[edit] Catalina

Catalina is Tomcat's servlet container. Catalina implements Sun Microsystems' specifications for servlet and JavaServer Pages (JSP). The architect for Catalina was Craig McClanahan.
[edit] Coyote

Coyote is Tomcat's HTTP Connector component that supports the HTTP 1.1 protocol for the web server or application container. Coyote listens for incoming connections on a specific TCP port on the server and forwards the request to the Tomcat Engine to process the request and send back a response to the requesting client.
[edit] Jasper

Jasper is Tomcat's JSP Engine. Tomcat 5.x uses Jasper 2, which is an implementation of the Sun Microsystems's JavaServer Pages 2.0 specification. Jasper parses JSP files to compile them into Java code as servlets (that can be handled by Catalina). At runtime, Jasper is able to automatically detect JSP file changes and recompile them.
[edit] Jasper 2

From Jasper to Jasper 2, important features were added:

* JSP Tag library pooling - Each tag markup in JSP file is handled by a tag handler class. Tag handler class objects can be pooled and reused in the whole JSP servlet.
* Background JSP compilation - While recompiling modified JSP Java code, the older version is still available for server requests. The older JSP servlet is deleted once the new JSP servlet has been recompiled.
* Recompile JSP when included page changes - Pages can be inserted and included into a JSP at compile time. The JSP will not only be automatically recompiled with JSP file changes but also with included page changes.
* JDT Java compiler - Jasper 2 can use the Eclipse JDT Java compiler instead of Ant and javac.

Best regards

Guarana UI - a jQuery-Based UI Library - NOkia WRT

Nokia WRT has come up with a new UI library called 'Guarana UI - a jQuery-Based UI Library'. Which looks attractive and good. So next widget development will be based on that library.

Monday, December 7, 2009

Top 10 -2009's mobile app, web app, webservices

Please find the list of top-10 2009 mobile app, web app, webservices, and RSS feeds.
There are lot of products which we might not be aware. I came to know few good products from this results.

Wednesday, December 2, 2009

Search Any

For the forumnokia's 2009 callingallinnovators UK regions contest, this widget was submitted. please go through it, if you find it useful please share with your friends.FREE for download now :)) but not for longer time.


Why SearchAny:
How many times we get stuck in a new place and call our friends to get directions to pubs, restaurants nearby and still be in an endless search. SearchAny puts an end to all this endless searches.SearchAny takes two short keywords and directs you to the place you want to go with detailed map directions. It provides you the complete addresses, phone numbers, maps. It tells you where you are by using GPS or your cellID. You can store the search result in contacts, make a call right away from SearchAny with a single button click, and update twitter status with the result. Bookmark your favorite Places and store them for fast consultation when in offline usage.

Automatic location pickup:
If you are in travel and go to a new place then you don’t need to worry to ask others about restaurants near by. Just type the category and click search, SearchAny picks your current location automatically either through GPS or with the help if Cell-ID if GPS is not supported in the device.

Search categories :
To ease the user with typing category, there is a option to select frequently searched categories from categories menu in the first screen.

Once the desired result is chosen, you get options to make a call, save the result to your phonebook, and get step by step direction to that location from anywhere with detailed shown in maps, update your twitter status with the location you are , and finally book mark it in favorite.

As soon as results come one can make a location added to favorite. And favorites are displayed even when phone is offline, so that users can easy access their desired location within a second. And one also remove location from favorite.

If SearchAny is there in your mobile, then forget you worries of asking friends or others to get know about categories in a new place.

Use it and utilize it.

Thanks for the help provided by my friends Senthil VS and Rajasekar.

You can download the widget from the below link. Workd for N97, 5800, express music touch phones.

Some snap shots of the widget::

how to make blog listed in search engine results

I was under the impression that once you have created google's blogspot and start using, it will be automatically be picked in google search result or in blogsearch result. But it actually doesnt.

I found it very interesting, on how to make our site under search engines results, what is meta deta, how to add keywords for the sites result,

pls check this links.

add in

Google webmaster.

Tuesday, December 1, 2009

Monday, November 30, 2009

Location Aware App wins Prize

2009 Yahoo -- Taiwan Hack Day
The application which bagged the prize

Golden Award: “Location Plus” by Happy Summer. A location-aware Java app which used many Yahoo! APIs to return a "hot topics" on places in Taiwan.

We can come up with a different idea as we already have knowledge in location based application development.

Sunday, November 29, 2009

Successfully submitted atlast.. THANKS folks

After a months hard work, yesterday submitted a widget for forum nokia's callingallinovator 2009 widget competition in UK region.

I personally wanna say thanks to senthil - the kutti papa and Rajasekar--- invisible guy.

Without their help i wouldnt have submitted for competition. We have put lot of efforts to complete. Logo was designed wonderful by raja's innovative, creative thinking. And nothing to say about senthil... what ever data or code snippet we ask he will try it and come back with right solutions. thanx buddy...
Lets keep involved in good work with lot of learning improving our career day by dayy...!!!!!!!!!!!!!!

And lets hope for the good result. !!!!!

Wednesday, November 25, 2009

Using Proxy Servers with the Google Data API Client

If you are writting an aggregator, this information might help while using Google Data API Client Library.Most of the client libraries for the Google Data API can be made to work with an HTTP proxy server after some slight code modifications..

Using the Google Data APIs Java Client in GWT Hosted Mode

After Long Fight with GWT Hosted Mode setup at last I could solve the problem accessing GData Content using GData Java Client Library. You can always have nice and working setup for your Console or Java Client Apps by following the steps below ..

But above steps doesn't help when you run the same Code in GWT Client / Server :( ..
Almost after 3 days of long fight with web search and heat and trial options found the solution, hope it helps to my fellow colleague and friends .

1 . You must follow the above steps suggested by Google for sure..
2. Add google-collect-1.0-rc1.jar also as external libray in your eclipse project
3. Put all the gdata* jar files in your project \war\WEB-INF\lib folder
4. Add line <property name="" value="true"/> in your project's appengine-web.xml file (No Idea what is the side effect with this fix)

Hurrey !!!! You are ready to use any Google services class in your app engine :)

You can end up facing similar problem while using the Raw java class HttpURLConnection..
I could successfully create a http connection by adding a simple line httpConnection.setRequestMethod("GET"); for example the below lines of code works fine in GWT while accessing any Google Feeds.

HttpURLConnection httpConnection = (HttpURLConnection)url.openConnection();

Tuesday, November 24, 2009

Ultra Button creator.

Here is the link to download ultraButton creator. We struggled a lot to create a image with a button. But then Ultrabutton creator provides an easy way to do it with lot of other options. Please download & use it for your web developemnt activities.

Monday, November 23, 2009

International Mobile Money Transfer Services

International Mobile Money Transfer Services to Exceed $65bn by 2014
Do u guys that silicon india conference they emphasized heavily on payment methods on mobile for services this article gives you how big this mobile money
transfer market is..

­According to a new report from Juniper Research the international mobile money transfer market will be worth in excess of US$65 billion by 2014, based on gross transaction values - driven principally from migrant workers based in developed countries.

Juniper's new report however also identified a number of inhibiting factors such as rising global unemployment and increased immigration controls by governments which will hold back the market until the recession is over.

Howard Wilcox, Senior Analyst, commented: "Our view is very clear - in the long term this market proposition is highly attractive. Mobile remittance offers a speedy, cost effective and convenient channel for people to send money regularly to friends and family at home, who themselves may not have bank accounts".

The mobile money transfer report also revealed a new emerging sector for microcredits, saving accounts and insurance payments. Known as "sophisticated financial services" these services are entirely focused on developing countries where users do not have access to traditional banking or financial services or simply use alternative means of payment traditionally such as physically transporting cash, or storing cash savings at home. The report found that is new market for financial services on the mobile, can add to the attractiveness of mobile money services, and help to reduce mobile operator churn.

Further findings include:

· North America and Western Europe will be the main remittance sending regions in 2014
· Typically international transfers are conducted by a smaller base of users than national or domestic transfers, but transaction values are higher, payments are more regular and less frequent.

Executable Formats and Dynamic Link Library concepts

Hi All,
I have been working on Windows CE Platforms for quite sometime and there are some
1) Interesting techniques for Dynamically loading and unloading a library.
2) Executable formats used.

Just wondering how things are done on other OS Platforms esp. Symbian..,
Although the Concepts will be similar... I am aiming to Understand the differences,if any in
other platforms

I am preparing an article on things that i know in this area ... will post it within this weekend ... lets up everything that we know in this topic...

Saturday, November 21, 2009

lemme jump in to this!!!

Hi guys..

This is my first post in this forum and i m posting this on compulsion from the moderator.. actually i m very bizzzzyyyy u c!!! :)

so this is jus an intro post and more will follow (hopefully soon!)..

i m playing with latest microsoft technologies..
(latest as of today.. but they may be outdated tomorrow.. these guys are crazy!)

to list a few:

- a web application framework from MS to compete with adobe flash.. its really rich and can be developed with programming languages like c#, There are n frameworks like Prism, CAB, Caliburn, Unity, etc and m patterns like MVVM, Factory, etc that i am using now and will discuss them in detail...

Entity Framework
- Finally an ORM tool from the giant which makes developers forget about the database & related stuffs.. really handy and nowadays i m searching google for writing simple queries in SQL.. thanks to Entity Framework..

- is an application programming interface for building service oriented applications.

- SQL integration services is my fav topic and it has come a long way from DTS days..

Hope you guys will encourage me and help me in this new stint..

Happy Browsing!

- Dhileep

A Walk to Remember ---- Story..

The story is about how a love can bring in lot of changes in a high school kid.
At the end of the movie you feel you were touched by your old memories of your love. I firmly believe that almost 90% of male or female were losers in their first love which is an unacceptable truth. It would have happened either proposed ones or it can be unsaid love which was felt and lost within themselves:).

Okay, lets go into this movie story. I may not be a good narrator, but some of my friends said once that i had naratted story in a such a way that made them to watch it.

In a high school, Jamie & Landon were in same class. Both of them were stuyding in the same school from childhood. But they never hardly interacted except Landon making fun on Jamie for few times on her outer appearances.

In many of the romantic- adult comedy hollywood movies, girls were portrayed as so modern that they were ready for sex during school time. But in this movie, the girl was portrayed as very traditional and loving daughter for a good father. Jamie's mother had died when she was a baby. Jamie always keeps her face smiling, a wonderful smile, you will go pleasant on seeing her smile. If that smile was with you ohh god, then i would say u are luckyyyy.... U r gonna have good sleep that day..!!!

But somehow landon is not attracted to her or he doesnt take her smile or her good behaviours so much becoz of her outer appearance. Jamie doesnt wear modren dress uor her outerlook doesnt portray her as modern outlooking girl. She always wears a 4,5 decades old sweater and a pant. Landon was a kinnda off wayward teen with his own gang who all doesnt mingle with Jamie.

Jamie is also a singer in church. Her voice is so sweet that she had many fans on sunday to listen her sweet voice. Now both of them came to last year of high school.
To say about landon's family, her mother was divorced and he & his mother were living alone, with his father sending money every month to them. His father is a cardiologist.Lets see how they cross each others in theirs life.

Jamie's dressings is very simple,always she wears a big skirt with a old sweater on it. When the movie starts , landon and his friends were trying to do some prank activities, and its becoz of landon one of his friend takes a challenge and jumps from a 100 feet high swimming board into a pond.Unfortunately his friend was hurt seriously and put in a hospital. Landon regrets for that and school administration has put him rehab kinda off activity to do social community services. Like, every week end he needs to tutor his juniors in maths, & take up a lead role in schools spring play that year. Landon take it seriously and tries to some useful activity as he felt bad for his friend.But he has never done acting in school or in drama, he finds it difficult to do. Interestingly Jamie was also supposed to do lead role in that years spring play.

Dont know how to proceed, landon hesitantly ask jamie to help him for his act in that play.But his father was more reluctant to accept this help. He doesnt like his daughter to be in more close friendship with a boy. But then jamie says she is now grown old and nothing she will break her promise to his father.
Before jamie accepts to help she says to landon " I can help you only with the agreement that you should never fall in love with me ".. Landon takes a big laugh and say he will never ever be...
They both now started rehearsing for the play.Jamie explaining how to deliver a dialogue, be enacted with the play, dressings and everything.

Due to this daily evening rehearsal Landon couldnt spend his usual time with his friends. And one day in school, when landon was with this friends gang, jamie comes to landon & tells her ' when can we meet in the evening, as today i have prayer church at 4'. To disguise from friends he replies in such a way that landon knows nothing about it .. ' It can happen only in your dream'. Jamie feels insulted and runs away..

later that evening landon goes to jamies home for apology.But then jamie refuses to let him in and says ' i thought you had some good in you but my faith was broken'.
Landon was helpless and goes away with frustration. Landon slowly develops strong feelings for her and likes being with her. He started getting help from his mom to act in the play and when the final day comes for springs play,both Landon & Jamie were dressed up so elegantly and appeared for the play.

Landon was speechless on seeing Jamie in angels dress...!!!! He was completely broken into pieces. THe play was supposed to end with jamie singing a song and she dies for him. Jamie too sang a song beautifully as she was a regular singer. Once the song was completed jamie comes near landon sitting in a chair, but then landon gives a smooch, which jamie couldnt refuse at stage and everyone was so exited to see a live play and appreciated landon for the play. Tremendous change in landon.
But jamie's father doesnt liked it.

[ to be continused... dont miss the conitnuation..!!!!!! ]

Steve Jobs inspirational speech in text.

'You've got to find what you love,' Jobs says

This is the text of the Commencement address by Steve Jobs, CEO of Apple Computer and of Pixar Animation Studios, delivered on June 12, 2005.

playing with JSON

Found this site useful for JSON realted stuffs.

Gound'sss ultimate...

daii purse pursee ... aaayaaoooo....:)) Gounds with deafs...

verithanam...senthil ku ponnu pakurahtu..

Alaagumaani jokee... fantastic...Neenga poranthaathe thappu ungalaku kolanthaai veraya..:))

Nan oru mollamari, thellavari, mudichavikki ma..

Punch pana sonaa tinch panre... Vesham vesaahaamm...

TR speciaallll.....!!!!!!!!!!!11

Watch the slow motions & thalaivaaars expression..

This is ultimate.... Thendrala irunthee puyaalakitee.e.

TR Koduamaiiii.... Pinniruken... oru shot dupe shot kidaiyathu..Adirukan parunge dance.. piniruken..
If u want to relax watch thisssss..

aahhh yeii ahaaa.......

chanceless only vadivell can tell like this...

Erkanave namakku avaignalakum vaiika sandai... enna vaika sandai..
thambi anthe ponne kaiya pidichi ilythiyaapa.. enna kaiya pidichi iluthiyaa...

Vadeivelllll in action as suna paanaa

Enna ramasaamyy inthe paakaam.....:)) perusu siruthaaiya soorandi pakathee...

Thatti yavathu vitrukalame da nayeee nayee....

Wednesday, November 18, 2009

And coming to Books,found this one..(hard copy ~2k in Blore also Stock Not available :( )

"Coders at Work"

check abt this on its official site.

Planning to get one ,from any of my US return Frenz...

But a soft copy helping me out now :)

My new assignment.....

From coming December ,I will be working for a project to provide RESTful interface from Server side using apache Cxf framework with Spring DM Server.

Though discouraged by my many of my Frenz words( Why not simple RoR? Why not MS' WCF) decided to explore on this mission providing Restful service using Java Web framework/containers (as it aligns with my work @ my office :) )

Starting up today ,with my first question - Osgi(Spring DM Server) vs non Osgi frameworks?

Shall post my learnings in this assignment from now on....

For folks who love to play with bits.......

Two years back ,when I was preparing for my "Interviews" got this one.

But Still I do use few hints from this during my leisure code play (not great but just like that for fun)

Tuesday, November 17, 2009

Easy button generator - Cooltext.

This site provides one of the easiest way to generate buttons with multiple options,like gradient, shadow, with mouse over images can be easily obtained.

Give it a try, when u are designing for website or for widgets. --> Flashy creation of website is provides easies way to create a website. All their tools are based on Adobe flash. It is have very attractive UI. You can use this and enrich ur website with all good features in short span. And u will be given domain name under only.!!!

Monday, November 16, 2009

Symbian OS - Enabling skin support for your app.

THis link tells you about how to bring in skin support for you s60 c++ application.

Curvycorners for div in HTML

Guyss... this javascript is awesome and with few code changes in your css you can bring in curvy corners for your divisions.

here is the link. Check it out.

Sunday, November 15, 2009

S60- WRT library 1.0 & 1.1

Welcome to the Web Developer's Library. This library is intended for Web developers creating widgets for S60 mobile devices that support Web Runtime (WRT) version 1.0 or 1.1.

Friday, November 13, 2009

Ajax Programming Made easy for Java Programmers -> Google's GWT Way !!

I believe Most of us are familiar with Core Java and HTML concepts..Also often we dream to write Good Java Scripts/JSP/ASP.. WebApps using our desktop coding skills.. Google's GWT is there to help the Developers with basic Java Knowledge to build powerful Ajax WebApps !!!.

We can write simple Java Code using GWT which on compilation gets converted to a powerful Ajax Apps. The Google Web Toolkit speaks to all the Java programmers left petrified by the thought of web programming. GWT has a call: forget about cross browser issues, don’t bother with JavaScript, stay away from HTML. In case you’ve never heard of it, GWT is an open source project from Google that compiles Java code into JavaScript. You write your Java code just like a desktop application and get JavaScript on the other end. Instead of onClick=myFunction() you write myObject.addClickListener(this); To know more on the basics of GWT click here..

Dont get dissapointed my friend if you have written your prototypes with HTML and CSS..You can still powered your prototype with GWT (Ajax) ..No No you don't have to rewrite it !!! Here is the hack for you ...

Let’s look at this Link which converts a HTML prototype page which I will be converting to GWT with 4 simple steps.

Wireless Telephony Applications Interface (WTAI) public library - S60 browser - few examples.for calling, saving to contacts..

The S60 dual browser supports three Wireless Telephony Applications Interface (WTAI) public library functions: making a call while browsing, sending DTMF tones, and saving numbers and names to the phone book. These functions — MakeCall, SendDTMF, and AddPBEntry — can be used anywhere in XHTML MP code.

Making a phone call The MakeCall function is used to make a phone call directly from an XHTML page. A typical example of the usage of MakeCall is when the user selects that initiates a phone call. In XHTML, the MakeCall function is defined following string:

Call 123456 789

When a MakeCall function is executed, the user is asked to confirm that the dial-up is to be made. If the phone number about to be called does not exist in the phone book, a confirmation query with the phone number is displayed. If the number exists in the phone book, a confirmation query is displayed with the name fetched from the phone book.

Sending a DTMF tone The user can send DTMF tones through the network by executing a WTAI function called SendDTMF. Just like MakeCall, a typical way of using SendDTMF is to assign the SendDTMF function to a link. The user must have a voice call active. When the DTMF tone has been sent, the user returns to the active page where s/he initiated the sending. The voice call remains active.

Adding a phone book entry The AddPBEntry function offers an easy way to store a phone number and corresponding name onto the phone book application from an XHTML page. In XHTML, the AddPBEntry function is defined with the following string:


When the user activates an AddPBEntry function and the content author has declared a name and number, the device displays a confirmation query with the text "Save name?" When the user accepts the confirmation query, another confirmation query with the text "With number +123456789" is displayed and the number is stored in the phone book application. When saving is complete, the currently active page is displayed again. The user does not have to be online or have any voice calls active in order to use the AddPBEntry function.

Tips from Google Research Director -- Peter Norvig

Here's my recipe for programming success:

* Get interested in programming, and do some because it is fun. Make sure that it keeps being enough fun so that you will be willing to put in ten years.

* Talk to other programmers; read other programs. This is more important than any book or training course.

* Program. The best kind of learning is learning by doing. To put it more technically, "the maximal level of performance for individuals in a given domain is not attained automatically as a function of extended experience, but the level of performance can be increased even by highly experienced individuals as a result of deliberate efforts to improve." (p. 366) and "the most effective learning requires a well-defined task with an appropriate difficulty level for the particular individual, informative feedback, and opportunities for repetition and corrections of errors." (p. 20-21) The book Cognition in Practice: Mind, Mathematics, and Culture in Everyday Life is an interesting reference for this viewpoint.

* If you want, put in four years at a college (or more at a graduate school). This will give you access to some jobs that require credentials, and it will give you a deeper understanding of the field, but if you don't enjoy school, you can (with some dedication) get similar experience on the job. In any case, book learning alone won't be enough. "Computer science education cannot make anybody an expert programmer any more than studying brushes and pigment can make somebody an expert painter" says Eric Raymond, author of The New Hacker's Dictionary. One of the best programmers I ever hired had only a High School degree; he's produced a lot of great software, has his own news group, and made enough in stock options to buy his own nightclub.
* Work on projects with other programmers. Be the best programmer on some projects; be the worst on some others. When you're the best, you get to test your abilities to lead a project, and to inspire others with your vision. When you're the worst, you learn what the masters do, and you learn what they don't like to do (because they make you do it for them).

* Work on projects after other programmers. Be involved in understanding a program written by someone else. See what it takes to understand and fix it when the original programmers are not around. Think about how to design your programs to make it easier for those who will maintain it after you.

* Learn at least a half dozen programming languages. Include one language that supports class abstractions (like Java or C++), one that supports functional abstraction (like Lisp or ML), one that supports syntactic abstraction (like Lisp), one that supports declarative specifications (like Prolog or C++ templates), one that supports coroutines (like Icon or Scheme), and one that supports parallelism (like Sisal).

* Remember that there is a "computer" in "computer science". Know how long it takes your computer to execute an instruction, fetch a word from memory (with and without a cache miss), read consecutive words from disk, and seek to a new location on disk. (Answers here.)

* Get involved in a language standardization effort. It could be the ANSI C++ committee, or it could be deciding if your local coding style will have 2 or 4 space indentation levels. Either way, you learn about what other people like in a language, how deeply they feel so, and perhaps even a little about why they feel so.

* Have the good sense to get off the language standardization effort as quickly as possible.

With all that in mind, its questionable how far you can get just by book learning. Before my first child was born, I read all the How To books, and still felt like a clueless novice. 30 Months later, when my second child was due, did I go back to the books for a refresher? No. Instead, I relied on my personal experience, which turned out to be far more useful and reassuring to me than the thousands of pages written by experts.

"Everyone can be taught to sculpt: Michelangelo would have had to be taught how not to. So it is with the great programmers".

So go ahead and buy that Java book; you'll probably get some use out of it. But you won't change your life, or your real overall expertise as a programmer in 24 hours, days, or even months.

For more info check his link...

Thursday, November 12, 2009

A little beyond what we know about varargs in functions

Lemme Start first
Have you ever noticed __cdecl and __stdcall in your code.
The major difference between them is

1) In __cdecl , the Calling function pops the arguments from the stack.So functions declared
using __cdecl can support varargs as the called function knows how many arguments it needs to pass(push to stack) and how many arguments it needs to pop from the stack .Assume funcA,funcB,funC call "funcZ" ,then each of the functions that call funcZ should have the code to pop the stack .So the code size becomes more here.

2) In __stdcall ,the Called function pops its own arguments from the stack.
Other differences:
Argument-passing order --> Right to left
Stack-maintenance responsibility --> Calling function pops the arguments from the stack Name-decoration convention --> Underscore character (_) is prefixed to names
Case-translation convention --> No case translation performed

Argument-passing order --> Right to left.
Argument-passing convention --> By value, unless a pointer or reference type is passed.
Stack-maintenance responsibility --> Called function pops its own arguments from the stack.
Name-decoration convention --> An underscore (_) is prefixed to the name. The name is followed by the at sign (@) followed by the number of bytes (in decimal) in the argument list. Therefore, the function declared as int func( int a, double b ) is decorated as follows:

will update with a small example for the above in next blog.

Nokia N900 is now shipping!

Nokia's Maemo-based future has begun: the N900 is shipping. According to Nokia CEO, Olli-Pekka Kallasvuo, the eagerly awaited handset is now en route to at least some pre-order customers. We'll soon see if this new generation of Nokia smartphones will be enough to generate the type of mass-market / high-margin appeal that Nokia needs at the top end of its product portfolio or if it's just a tentative first step on a potentially wobbly new platform.

Update: Nokia's official blog says to expect the Maemo 5 device to land in "Europe, the Middle-East, Russia and North America" shortly. However, it won't be compatible with the new 3G SIM cards from 3 in the UK, Ireland, Sweden, Denmark and Austria until a software update hits sometime later this year.

Let's Make this Work

Hi ,
Good to b a part of this group. All of us here are "Potential Contributors".
But to make this really work..we need "Consistent contributions"...I wish to see
atleast one post a day in this group...Even when there is very little activity in the group...let's keep blogging or give comments...
"we never know when the magic strikes"...Let's Make this Work... :-)

Inspirational Quotes from Vivekanada for young ppl like us

"Be brave! Be strong! Be fearless! Once you have taken up the spiritual life, fight as long as there is any life in you. Even though you know you are going to be killed, fight till you “are killed.” Don’t die of fright. Die fighting. Don’t go down till you are knocked down."

"The sign of life is strength and growth. The sign of death is weakness. Whatever is weak, avoid! It is death. If it is strength, go down into hell and get hold of it! There is salvation only for the brave. "None but the brave deserves the fair." None but the bravest deserves salvation."

"Do not hate anybody, because that hatred which comes out from you must, in the long run, come back to you. If you love, that love will come back to you, completing the circle."

Even the greatest fool can accomplish a task if it were after his or her heart. But the intelligent ones are those who can convert every work into one that suits their taste."

If superstition enters, the brain is gone."

If you want to have life, you have to die every moment for it. Life and death are only different expressions of the same thing looked at from different standpoints; they are the falling and the rising of the same wave, and the two form one whole."

Live for an ideal, and that one ideal alone. Let it be so great, so strong, that there may be nothing else left in the mind; no place for anything else, no time for anything else."

Put God behind everything—people, animals, food, work. Make this a habit."

Stand up, be bold, and take the blame on your own shoulders. Do not go about throwing mud at others; for all the faults you suffer from, you are the sole and only cause."

Take up one idea. Make that one idea your life—think of it, dream of it, live on that idea. Let the brain, muscles, nerves, every part of your body, be full of that idea, and just leave every other idea alone. This is the way to success, and this is the way great spiritual giants are produced. Others are mere talking machines."

Tell the truth boldly, whether it hurts or not. Never pander to weakness. If truth is too much for intelligent people and sweeps them away, let them go; the sooner the better."

The great secret of true success, of true happiness, is this: the man or woman who asks for no return, the perfectly unselfish person, is the most successful."

"The moment you fear, you are nobody. It is fear that is the great cause of misery in the world. It is fear that is the greatest of all superstitions. It is the fear that is the cause of our woes, and it is fearlessness that brings heaven in a moment."

We must have friendship for all; we must be merciful toward those that are in misery; when people are happy, we ought to be happy; and to the wicked we must be indifferent. These attitudes will make the mind peaceful."

Our Team's Official blogsite ....

We are few guyz out in Bangalore all in the disguise of "Software Engg" in tech companies here.
With expertise on our current doings , we do have great passion to learn things & apply those to our applications.Thereby wished to acknowledge our efforts(ourselves :) ) and share among others. Wishing to be recognisable figures among developer community.

Thats all about our Collective Force now.
This is just our start on Blogger to do share few of our learnings and developed applications/scripts .

Two guyz from mobile application/system development domain.
One guy with dirted hands in Microsoft's product development technologies .(currently with silverlight).
One from Embedded domain and another blessed(??) with mediocrity and desire to emerge in par with these folks.

We assure you that we start now to make a positive note among developer community with our few contributions now on.

Stay Tuned...