Thursday, July 05, 2007

Google turns into VC

Google ventures http://www.google.com/gadgetventures/ are providing seed capital to those who wish to startup a business around Google Gadgets.

So go have a cuppa Coffee and enjoy make some gadgets and hopefully tons of money along the way :)

Wednesday, July 04, 2007

Mashup Server in Java

Now that Google and Yahoo are head-on with their versions of mashup server, what if you want to own one yourself?

Well you could do it in Java. Well you could use the Sun open source lib. for mashup., check out the project Rome. If you are into Apache Axis2, then you could do with WSo2 mashup, which uses apache technologies.

A good startup tutorial could be found here, but i am not too happy with the code quality as there is a lot of scope for enhancements. Never-the-less, it will get you up to speed.

Happy coding :)

Tuesday, July 03, 2007

Intellectual Capital 2

Today Mint featured a story about NASCOM celebrating India's 1.6 million software programmers achieving a turnover of US$50 billion, that is 5.2% of India's GDP.
However I believe that only Infosys could have achieved this figure, see ERP for SME: Intellectual Capital.

Thus the average Intellectual Capital of an Indian programmer (or Intellectual per Capita) is US$ 31K.

The Intellectual Capita of Apple is US$ 1million, so even if 10% of the Indian programmers have that Intellectual capita the figure will add a cool $160 billion to the GDP.

But unfortunately the NASCOM only aims for US$ 60 billion by 2010.

I think we need to become more ambitious as a country. Come on guys we can do it!

Friday, June 29, 2007

Using Prolog to Find a Friend - 2

Further to my pervious post : Using Prolog to Find a Friend

I have made a minor enhancement to compute the degrees of separation.
/* Prolog Program */
knows(a,b).
knows(b,c).
knows(c,d).
knows(d,e).

exists(X) :- knows(X,_).
exists(X) :- knows(_,X).

friend(X,Y,Deg) :- exists(X), exists(Y), foaf(X,Y,Deg).

foaf(X,Y, Deg) :- knows(X,Y), Deg is 1.
foaf(X,Y, Deg) :- knows(Y,X), Deg is 1.
foaf(X,Y, Deg) :- knows(X,Z),foaf(Z,Y, D1), Deg is D1 + 1.

/* end */

Run it using the goal:
?- friend(a,e,X).
Prolog Answer:
yes.
X / 4
Solution: friend(a,e,4)

Next I will make a List to append the friends name in it.

AJAX JSF on Mobile

Long long ago, I had written an article in Computers Today about WAP. It was in November 2000 issue. What I had written then about server side delivery will be preferred way is still true.
Ericsson has released an open source JSF renderer for mobiles! get the presentation here.
You can also download the source from their site.

The advantage of using Java EE to deliver application to mobile is that you don't have to support multiple versions for each vendor and even intra vendor's platform. And unlike Nokia's SDK, which is too fat, Ericson has a small footprint and thus does not lock the developer in.

Recently Sun and Ericsson are collaborating to marry Java technologies with telecommunications. Not that Java was not present in the telecom space, it had JAIN (Java Advanced Intelligent Network) But then there was Parlay led by Microsoft. Now Sun and Ericson have collaborated to produce Parlay interop with Java EE. It too is open source.

To avoid confusion here, I must add that I am talking two different things here. The enterprise applications connect B2C where as AIN (Advanced Intellegent Network) application are more of telecom domain applications like delivering caller tunes of your choice or call divert or voice mail service. Thus you could think it as O2C (Operator to Customer) applications. The only common thread here is the use of Java EE technology.

Thursday, June 28, 2007

Less Paper Office (Developer Release)

In my previous blog, I had proposed that a micro enterprise can save time and cost by simply using a HP scanner, that comes with a document scanning software to convert scanned documents into search-able PDF documents. Also Open Office can convert a document into a PDF file.

However, Open Office cannot create PDF files with attached exotic files like XML and zip files.

Thus I have created a simple, Free Open Source Java application, for creating PDF with attachments. These attachments can be annotated as well.

It is of pre-alpha quality or developmental release for other developers and power users, to experiment.
The distribution can be downloaded from:

http://www.ashishbanerjee.com/LePaOf_v01_dist_28june07.zip

The distribution contains source as well as Java binary. Just unzip it into a directory and execute run.bat. For Linux and Solaris, just rename the run.bat to run.sh and give executable permissions. It needs Java runtime.

LePaOf uses third party open source lib. PDF BOX.

Sunday, June 24, 2007

Netbeans Does Not Use Grizzly Yet

Its a bit sad to figure out that Netbeans.org does not use Grizzly!
Now if you are wondering what all this is all about? Let me clear the bytes for you. Netbeans is the Sun's flagship IDE. Competing directly with Eclipse. Grizzly is the NIO framework within Glassfish. It has been proven within Sun, that Apache does not scale beyond 4 cores, whereas Glassfish with Grizzly technology scales well beyond.

However I figured out that Netbeans uses the old technology circa 1999. where Apache sat in front and connected to Tomcat or any other Java Server using AJP (Apache Java Protocol)

Don't ask me how I figured out that netbeans.org uses Apache 2.0.50 (as of 24 June 2007) as HTTP server.

I would like to appeal to Netbeans admin to seriously consider using Glassfish.

Jetty 6 , which also uses NIO, run their web site on Jetty itself! That's what I call confidence!

Friday, June 22, 2007

Finacial and Banking Transaction Links

BFSI (Banking, Finance, Security and Insurance) is a vast and deep domain.
I do not wish to map it here, but focus into Financial Transactions which is the most dynamic domain and heart of todays e-commerce backbone.

Just a few URLs for my younger tribers who wish to get into Banking and Financial Transaction domain:

Financial Transaction/Communication standards:
http://www.ifxforum.org/home
http://www.twiststandards.org/
http://www.iso20022.org/
http://www.swift.com/

Also must study UMM at
http://ebxml.org/

Open source:
http://jpos.org/
http://wife.sourceforge.net/

PKIX:

http://www.ietf.org/html.charters/pkix-charter.html
http://www.oasis-open.org/committees/security/

Java Stack
https://open-esb.dev.java.net/


Feel free to ask questions to me at:
http://www.techtribe.com/triber/ashishbanerjee

How to Blog in Hindi

In case you are wondering, how I type Sanskrit in my blogs, let me share with you the knowhow. Well Hindi, Marathi and Sanskrit are written in Devanagri script.

Most bloggers of Indian origin are English speaking and are more comfortable with Querty than Indic keyboard.

Eons ago, the Department of Information Technology had funded a project with IIT Kanpur, called GIST. Now CDAC carries the torch. It resulted in LIPI and ISCI . It is now dated. Only die hard Don Quixotes of IT at government funded agencies use it. No more used in real life.

In-fact we burned a few Lakhs of rupees in consulting and Indian language conversion with CDAC, and got zilch result. But what paid off is their brand name that sells in the Banking segment.

But if you are not into politics of IT sales, then what's the technology you should go for?

The technology is Unicode. Both Windows, Linux and Solaris support it.

Best and simplest of all you can type in English and transliterate it in Hindi! That's what Google supports, see: http://googleblog.blogspot.com/2007/04/now-you-can-blog-in-hindi.html

Also checkout ITRANS, which is the original technology on which Google is based.

But what's under the hood? Good question :)

Check out my test page at : http://ash.banerjee.googlepages.com/dev2uni.html

The Java source code is available there. In-fact, by changing just a few lines of code, Inheritance in Java speak, I could make it work for Bengali and Punjabi! That's the beauty of Indian languages.

By the way Sanskrit is the most scientific language ever spoken. And A.A.Mcdonald in his Sanskrit grammar book wrote that Sanskrit is at-least 200 years ahead of English. And Panini was the world's first grammarian!

Now go and Blog in Hindi.

Wealth of Knowledge by Bhamini

Here is a Sanskrit shloka attibuted to Bhamini's Sabhatarangini:

न चोरहार्यं न च राजहार्यं न भ्रातृभाज्यं न च भारकारि।
व्यये कृते वर्धत एव नित्यम् विद्याधनं सर्वधनप्रधानं।।

It cannot be stolen by the thieves or the kings, nor can brothers divide it and it is burden less. Every time its is spent it grows. Knowledge is indeed the supreme wealth.
Sabhatarangini by Bhaamini