Wednesday 20 February 2008

xda blog

i am posting this blog from my pda,trying to see how well i can keep connected to the internet from various devices..

Tuesday 19 February 2008

O2 XDAIIi

I got my XDAIIi Pocket PC today. Intel PXA 272 520MHz,128 RAM and 128 ROM, running on Windows Mobile 2003 SE. (predecessor of WM5, which is a predecessor of WM6, which is a predecessor of WM6.1)

XDA's may be becoming less common these days. However, check this out to see what XDA's can do for your business.
'Technology Success Stories for XDA'
Now, i've got my hands dirty with compact framework development, way to go for building the next big success story innit ?

Monday 18 February 2008

My Photographic skills!

myphotographicskills
I use a 7.2 mega pixel sony DSCH5.

 
 
 
 
 
 
 
 
 
 

Recursive Descent XML Parsing

Hi,
A simple recursive descent parsing algorithm for parsing xml which i developed sometime back. Generally a recursive parsing algorithm is an idealistic approach for parsing xml documents with 'tree' sort of a structure. Most of the xml documents can be processed in .net using System.xml ,xpath expressions and various other techniques. But the generality for fetching the data in a certain order becomes important while processing the xml. for brevity's sake i'll consider an xml document which serializes a window.so, ideally the tree structure in the xml would look like the following.








Note the classic 'tree' structure here, i.e a 'container' node can contain other 'container' nodes as child nodes besides 'component' nodes. Therfore i used a recursive algorithm for parsing the tree.

the C# implementation:


internal void RecursiveDescentParseXML(XmlNode root)
{
XmlNode node = root;
Console.WriteLine(root.Name);
if (node.HasChildNodes)
{
XmlNodeList cnodes = node.ChildNodes;
foreach (XmlNode n in cnodes)
{
RecursiveDescentParseXML(n);
}
if (node.Name.ToString().Equals("window")) { }
else
{
Console.WriteLine("Node: " + node.Name +
" Should be added to : " + node.ParentNode.Name);
}
}
else{
Console.WriteLine("Node: " + node.Name +
" Should be added to : " + node.ParentNode.Name);
}
}

Sunday 17 February 2008

Universal Translation on the fly!

'Compadre suite', a universal translation software developed by a company called SpeechGear provides unbelievable translations from speech,voice and images on the fly supporting 200 languages bidirectionally!!. really impressive! , The compelling part of the software is, it lets you speak into it (obviously through a mic) and have your speech translated into 'text' of a foreign language on the fly and also reads it aloud. (i.e back to speech in a foreign language) Now, for enterprises to adapt to such a thing might still sound naive because of the reasons best known like translation errors due to lack of voice training , pronounciation differences etc.

However, what really caught my attention was the interpreter bit of the software suit which runs on Windows Mobile Pocket PC!!. The 'Interpreter' on your Pocket PC can come in handy if you are in a foreign country, travelling abroad, or simply wanted to converse with a foreigner. It's versatile in that it provides voice commanding over text input.

Compadre Suit at CES 2008 [Video]

Compadre Suit CES,SpeechGear