Archive for September, 2007

Web 3.0 by Sramana Mitra

September 27, 2007

Recently found a very interesting blog by Sramana Mitra…an internet veteran with a very impressive profile.

She has given her overall perspective on where web is going…and calls it Web 3.0…a very attractive title indeed for all aspirants who think that they’ve missed the Web 2.0 bus… 🙂

Her formula is as follows –

3C = Content, Commerce, Community | 4th C = Context | P = Personalization | VS = Vertical Search

Web 3.0 = (4C + P + VS).

Traditionally, Content and Commerce have always been separate…Community and UGC are latest fads…and they earn revenue by advertising content to relevant users (context and personalization)…where a lot of advertisers are eCommerce players…

Amazon is the only company I see around, which has a good focus on each of the above…they have great recommendation system…that always encourages discovery of new content (good for eCommerce)…they have great personalization and context…they have flawless eCommerce…but all the content they have is UGC…they don’t themselves create expert content (book reviews etc.)…and there is not as much focus on community, though there are community features like ListMania…

Doesn’t it sound too ambitious? Imagine a CNet + Wize + eBay…

But theoretically…there is nothing wrong with having an eCommerce site that gives you great SN features and great content…may be it’s just that we are habitual of having separate providers for content and commerce…and some great player will change our perceptions…

Sramana has also written some posts about important verticals…like travel and jobs from Web 3.0 perspective…very interesting ones indeed…

Nuances of open source technologies…

September 24, 2007

I have always faced these problems during last 4 years of J2EE development. This problem that I faced now, is an epitome of that.

1. I am using Hibernate3 with Weblogic. So I tried the new feature of delete HQL query. Steangely, it says…”org.hibernate.QueryException: query must begin with SELECT or FROM“.

2. Digging on this, I found this – http://forum.springframework.org/showthread.php?t=18732 which asked me to use the new HQL parsing version ASTQueryTranslatorFactory instead of ClassicQueryTranslatorFactory.

3. Upon using that, I found this , this and this (Weblogic issues).

4. To summarize, Weblogic uses some old version of a parsing library (antlr), and it loads that library before loading application. This prevents HB3 to see the new version of antlr, which is needed to parse this new kind of queries (HQL update or HQL delete).

So, in the end, it looks like it’s not possible to use these queries. 😥

I just wanted to delete some rows from database god damn !!! 

This problem summarizes typical compatibility issues every open source developer faces so often. I wonder whether .NET developers are free from such weird issues?

P.S. Hibernate 3 does not support SQL update/delete queries with createSQLQuery() API…why? why? why? 🙂

Finally…I used session.Connection() API to get the connection and used good old PreparedeStatement to do the work for me.

Paul Graham on the ‘Elite’ class…

September 11, 2007

I’ve always felt that IIT’s and IIM’s are hyped…

Now, you can of course say that this is because I didn’t  join one… 🙂 

But seriously, how much you gain out of a college really depends on you, rather than the college, or the Prof’s. Now, in Indian scenario, this varies a little. The gap in quality of professors in IIT’s and just below that, is huge…unlike US.

Paul Graham has validated these thoughts with the experience he had in Y Combinator…as always, very interesting and thought provoking to read.