<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Beanpicks -- Discover. Explore. Share &#187; Uncategorized</title>
	<atom:link href="http://beanpicks.wordpress.com/category/uncategorized/feed/" rel="self" type="application/rss+xml" />
	<link>http://beanpicks.wordpress.com</link>
	<description>Just another WordPress.com weblog</description>
	<lastBuildDate>Tue, 06 Feb 2007 04:08:49 +0000</lastBuildDate>
	<generator>http://wordpress.com/</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<cloud domain='beanpicks.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://www.gravatar.com/blavatar/d79311c2e459a8208dbc74e84bcc52d4?s=96&#038;d=http://s.wordpress.com/i/buttonw-com.png</url>
		<title>Beanpicks -- Discover. Explore. Share &#187; Uncategorized</title>
		<link>http://beanpicks.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://beanpicks.wordpress.com/osd.xml" title="Beanpicks &#8212; Discover. Explore. Share" />
		<item>
		<title>Thanks a ton !!!</title>
		<link>http://beanpicks.wordpress.com/2007/02/06/thanks-a-ton/</link>
		<comments>http://beanpicks.wordpress.com/2007/02/06/thanks-a-ton/#comments</comments>
		<pubDate>Tue, 06 Feb 2007 04:08:49 +0000</pubDate>
		<dc:creator>beanpicks</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://beanpicks.wordpress.com/2007/02/06/thanks-a-ton/</guid>
		<description><![CDATA[Thanks a lot for your continuous support to this blog. Your every visit to this blog motivated me to spend more time learning new things and sharing them with you.
For all your support, i owe you so much. But i do realise that what best i could do to repay you is to do better [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=beanpicks.wordpress.com&blog=745023&post=46&subd=beanpicks&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p><span style="font-weight:bold;">Thanks a lot </span>for your continuous support to this blog. Your every visit to this blog motivated me to spend more time learning new things and sharing them with you.</p>
<p>For all your support, i owe you so much. But i do realise that what best i could do to repay you is to do better things and, of course, the same thing better.</p>
<p>As a first step, this blog has been now moved to the newly launched <a href="http://www.arunma.com/">http://www.arunma.com</a>.  More and more things are to come to this site and I will be very happy if you offer the same support you gave for this blog.</p>
<p>I promise that I will continue to do my personal best.</p>
<p>Thanks.<br />
Arun</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/beanpicks.wordpress.com/46/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/beanpicks.wordpress.com/46/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/beanpicks.wordpress.com/46/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/beanpicks.wordpress.com/46/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/beanpicks.wordpress.com/46/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/beanpicks.wordpress.com/46/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/beanpicks.wordpress.com/46/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/beanpicks.wordpress.com/46/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/beanpicks.wordpress.com/46/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/beanpicks.wordpress.com/46/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/beanpicks.wordpress.com/46/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/beanpicks.wordpress.com/46/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=beanpicks.wordpress.com&blog=745023&post=46&subd=beanpicks&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://beanpicks.wordpress.com/2007/02/06/thanks-a-ton/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/1161fcdb598b7dced2a4ac0cedadb1a1?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Arun</media:title>
		</media:content>
	</item>
		<item>
		<title>Debugging Javascript errors in Firefox</title>
		<link>http://beanpicks.wordpress.com/2007/02/03/debugging-javascript-errors-in-firefox/</link>
		<comments>http://beanpicks.wordpress.com/2007/02/03/debugging-javascript-errors-in-firefox/#comments</comments>
		<pubDate>Sat, 03 Feb 2007 18:37:28 +0000</pubDate>
		<dc:creator>beanpicks</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://beanpicks.wordpress.com/2007/02/03/debugging-javascript-errors-in-firefox/</guid>
		<description><![CDATA[
                          

You know very well that Mozilla Firefox is a much much better browser than the IE. But one thing i missed during development testing with Firefox is the debugging [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=beanpicks.wordpress.com&blog=745023&post=39&subd=beanpicks&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p><a href="http://beanpicks.files.wordpress.com/2007/02/errorconsole.png" title="errorconsole"><img src="http://beanpicks.files.wordpress.com/2007/02/errorconsole.png" alt="errorconsole" /></a></p>
<h3 class="post-title">                          <a href="http://beanpicks.blogspot.com/2007/01/debugging-javascript-errors-in-firefox.html"><br />
</a></h3>
<p>You know very well that Mozilla Firefox is a much much better browser than the IE. But one thing i missed during development testing with Firefox is the debugging of Javascript error messages. IE would just pop us a very useful &#8216;Object expected&#8217; message. <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </p>
<p>Ignorance had the best in us.  Actually, <span style="font-weight:bold;">Mozilla gives a wonderful Javascript AND CSS console to play with. </span>To view the console Click <span style="font-weight:bold;">TOOLS &#8212; &gt; Error Console.</span></p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/beanpicks.wordpress.com/39/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/beanpicks.wordpress.com/39/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/beanpicks.wordpress.com/39/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/beanpicks.wordpress.com/39/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/beanpicks.wordpress.com/39/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/beanpicks.wordpress.com/39/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/beanpicks.wordpress.com/39/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/beanpicks.wordpress.com/39/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/beanpicks.wordpress.com/39/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/beanpicks.wordpress.com/39/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/beanpicks.wordpress.com/39/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/beanpicks.wordpress.com/39/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=beanpicks.wordpress.com&blog=745023&post=39&subd=beanpicks&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://beanpicks.wordpress.com/2007/02/03/debugging-javascript-errors-in-firefox/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/1161fcdb598b7dced2a4ac0cedadb1a1?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Arun</media:title>
		</media:content>

		<media:content url="http://beanpicks.files.wordpress.com/2007/02/errorconsole.png" medium="image">
			<media:title type="html">errorconsole</media:title>
		</media:content>
	</item>
		<item>
		<title>Google ads on hoardings&#8230;</title>
		<link>http://beanpicks.wordpress.com/2007/02/03/google-ads-on-hoardings/</link>
		<comments>http://beanpicks.wordpress.com/2007/02/03/google-ads-on-hoardings/#comments</comments>
		<pubDate>Sat, 03 Feb 2007 12:54:20 +0000</pubDate>
		<dc:creator>beanpicks</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://beanpicks.wordpress.com/2007/02/03/google-ads-on-hoardings/</guid>
		<description><![CDATA[ 
In a patent filing Google has revealed that it is looking into entering the physical advertising industry. The patent filing itself alludes to placing adverts on billboards, with the primary innovation being that they&#8217;re interactive and connected to the internet &#8212; what, you didn&#8217;t really believe that Google would go in for static ads did [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=beanpicks.wordpress.com&blog=745023&post=17&subd=beanpicks&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p> <a href="http://beanpicks.files.wordpress.com/2007/02/milk-advert-google-ad.jpg" title="google"><img src="http://beanpicks.files.wordpress.com/2007/02/milk-advert-google-ad.thumbnail.jpg" alt="google" /></a></p>
<p>In a patent filing Google has revealed that it is looking into entering the physical advertising industry. The patent filing itself alludes to placing adverts on billboards, with the primary innovation being that they&#8217;re interactive and connected to the internet &#8212; what, you didn&#8217;t really believe that Google would go in for static ads did you?<br />
<a href="http://www.engadget.com/2007/01/11/google-plans-street-advertising-presence/">read more&#8230;</a></p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/beanpicks.wordpress.com/17/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/beanpicks.wordpress.com/17/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/beanpicks.wordpress.com/17/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/beanpicks.wordpress.com/17/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/beanpicks.wordpress.com/17/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/beanpicks.wordpress.com/17/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/beanpicks.wordpress.com/17/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/beanpicks.wordpress.com/17/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/beanpicks.wordpress.com/17/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/beanpicks.wordpress.com/17/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/beanpicks.wordpress.com/17/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/beanpicks.wordpress.com/17/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=beanpicks.wordpress.com&blog=745023&post=17&subd=beanpicks&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://beanpicks.wordpress.com/2007/02/03/google-ads-on-hoardings/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/1161fcdb598b7dced2a4ac0cedadb1a1?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Arun</media:title>
		</media:content>

		<media:content url="http://beanpicks.files.wordpress.com/2007/02/milk-advert-google-ad.thumbnail.jpg" medium="image">
			<media:title type="html">google</media:title>
		</media:content>
	</item>
		<item>
		<title></title>
		<link>http://beanpicks.wordpress.com/2007/02/03/12/</link>
		<comments>http://beanpicks.wordpress.com/2007/02/03/12/#comments</comments>
		<pubDate>Sat, 03 Feb 2007 12:51:21 +0000</pubDate>
		<dc:creator>beanpicks</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://beanpicks.wordpress.com/2007/02/03/12/</guid>
		<description><![CDATA[ I knew most people know of this feature in Oracle but yet i just wanted to refresh your mind on this little yet powerful statement.
I just got reminded of this today because frankly this is the first time i am using it in work. We had a table something resembling the following structure.

CHILDID is the [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=beanpicks.wordpress.com&blog=745023&post=12&subd=beanpicks&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p> I knew most people know of this feature in Oracle but yet i just wanted to refresh your mind on this little yet powerful statement.</p>
<p>I just got reminded of this today because frankly this is the first time i am using it in work. We had a table something resembling the following structure.</p>
<p><a href="http://beanpicks.files.wordpress.com/2007/02/allrecords.png" title="All records"><img src="http://beanpicks.files.wordpress.com/2007/02/allrecords.thumbnail.png" alt="All records" /></a></p>
<p>CHILDID is the unique id of a person with name NAME. His manager or his parent is denoted by the value in the PARENTID. NULL values in the PARENTID indicate that he is the &#8220;BIGGEST PARENT&#8221;.</p>
<p>We had this requirement. Pick up a childid somewhere in the middle of the hierarchy, say 103 and find his &#8220;root&#8221; parent. Meaning the parent of the parent of the parent (or the parent where the hierarchy ends).</p>
<p>Of course we can put a series of subqueries if we know the depth of the hierarchy. But Oracle provides this wonderful pseudocolumn called LEVEL and a few notable clauses.</p>
<p>Here is the syntax of the statement (Never mind. Syntaxes are always headaches).</p>
<p><span style="font-weight:bold;font-family:courier new;font-size:85%;">Syntax:</span><span style="font-weight:bold;font-size:85%;"></p>
<p></span><span style="font-weight:bold;font-family:courier new;font-size:85%;">SELECT&#8230;</span><span style="font-weight:bold;font-size:85%;"><br />
</span><span style="font-weight:bold;font-family:courier new;font-size:85%;">[START WITH initial_condition]</span><span style="font-weight:bold;font-size:85%;"><br />
</span><span style="font-weight:bold;font-family:courier new;font-size:85%;">CONNECT BY PRIOR recurse_condition</span><span style="font-weight:bold;font-size:85%;"></p>
<p></span><span style="font-weight:bold;font-family:courier new;font-size:85%;">Key:</span><span style="font-weight:bold;font-size:85%;"></p>
<p></span><span style="font-weight:bold;font-family:courier new;font-size:85%;">START WITH        : The row(s) to be used as the root of the hierarchy</span><span style="font-weight:bold;font-size:85%;"></p>
<p></span><span style="font-weight:bold;font-family:courier new;font-size:85%;">CONNECT BY        : Condition that identifies the relationship between</span><span style="font-weight:bold;font-size:85%;"><br />
</span><span style="font-weight:bold;font-family:courier new;font-size:85%;">                  parent and child rows of the hierarchy</span><span style="font-weight:bold;font-size:85%;"></p>
<p></span><span style="font-weight:bold;font-family:courier new;font-size:85%;">The PRIOR keyword can be on either side of the = operator.</span></p>
<p><span style="font-family:courier new;">Done with Syntax.</span></p>
<p>Here we go,</p>
<p>CONNECT BY PRIOR childid=parentid will return a TOP-DOWN hierarchical results wherein the resultset starts with your child being the top most person and displays all the children of your childid.</p>
<p>i.e.<br />
<span style="font-weight:bold;font-size:85%;"><br />
SELECT LEVEL, NAME, CHILDID FROM RELATIONSHIP  START WITH CHILDID=103 CONNECT BY PRIOR CHILDID=PARENTID;</span></p>
<p>will return</p>
<p><a href="http://beanpicks.files.wordpress.com/2007/02/childid_parentid.png" title="child id parent id"><img src="http://beanpicks.files.wordpress.com/2007/02/childid_parentid.thumbnail.png" alt="child id parent id" /></a></p>
<p>CONNECT BY PRIOR parentid=childid will give BOTTOM-UP results. So, this the query we wanted &#8230;</p>
<p><span style="font-weight:bold;font-size:85%;">SELECT LEVEL, NAME, CHILDID FROM RELATIONSHIP  START WITH CHILDID=103 CONNECT BY PRIOR PARENTID=CHILDID;</span></p>
<p><a href="http://beanpicks.files.wordpress.com/2007/02/parentid_childid.png" title="parent id child id"><img src="http://beanpicks.files.wordpress.com/2007/02/parentid_childid.thumbnail.png" alt="parent id child id" /></a></p>
<p>The LEVEL pseducolumn returns a number indicating the level in the heirarchy: 1 for a root row, 2 for a child of a root, and so on. As we already know what we put after the START WITH statement becomes the root of the hierarchy.</p>
<p>Now, that we want the root parent, i just put a small hack around (I really dont know whether the following query is the most optimal one but yet gave what i really needed)</p>
<p><span style="font-weight:bold;font-family:courier new;font-size:85%;">SELECT * FROM</span><span style="font-size:85%;"><br />
</span><span style="font-weight:bold;font-family:courier new;font-size:85%;">(SELECT LEVEL, NAME, CHILDID FROM RELATIONSHIP  START WITH CHILDID=103 CONNECT BY PRIOR PARENTID=CHILDID</span><span style="font-size:85%;"><br />
</span><span style="font-weight:bold;font-family:courier new;font-size:85%;">ORDER BY LEVEL DESC)</span><span style="font-size:85%;"><br />
</span><span style="font-weight:bold;font-family:courier new;font-size:85%;">WHERE ROWNUM&lt;2&gt;</p>
<p></span><span style="font-family:courier new;">(I am just using our original derived query as a view and extracting the top most </span><span style="font-family:courier new;">record &#8212; forgot to mention the ORDER BY clause). Here comes what was needed. </span></p>
<p><a href="http://beanpicks.files.wordpress.com/2007/02/derived.png" title="derived"><img src="http://beanpicks.files.wordpress.com/2007/02/derived.thumbnail.png" alt="derived" /></a></p>
<p><span style="font-weight:bold;font-family:courier new;">Here is the complete SQL i used</p>
<p><span style="font-size:85%;"><span style="font-family:courier new;">&#8211;Table creation</span><br />
<span style="font-family:courier new;">CREATE TABLE RELATIONSHIP (CHILDID NUMBER, NAME VARCHAR2(50), PARENTID NUMBER)</span></p>
<p><span style="font-family:courier new;">&#8211;Population</span><br />
<span style="font-family:courier new;">INSERT INTO RELATIONSHIP VALUES (100, &#8216;ARUN&#8217;, NULL);</span><br />
<span style="font-family:courier new;">INSERT INTO RELATIONSHIP VALUES (101, &#8216;CHILD OF ARUN&#8217;, 100);</span><br />
<span style="font-family:courier new;">INSERT INTO RELATIONSHIP VALUES (102, &#8216;GRAND CHILD OF ARUN&#8217;, 101);</span><br />
<span style="font-family:courier new;">INSERT INTO RELATIONSHIP VALUES (103, &#8216;GREAT GRAND CHILD OF ARUN&#8217;, 102);</span><br />
<span style="font-family:courier new;">INSERT INTO RELATIONSHIP VALUES (104, &#8216;GREAT GREAT GRAND CHILD OF ARUN&#8217;, 103);</span><br />
<span style="font-family:courier new;">INSERT INTO RELATIONSHIP VALUES (100123, &#8216;NEVER KNEW WHO THIS IS&#8217;, 143143);</span></p>
<p><span style="font-family:courier new;">&#8211; Verification</span><br />
<span style="font-family:courier new;">SELECT * FROM RELATIONSHIP</span></p>
<p><span style="font-family:courier new;">&#8211;Top down results</span><br />
<span style="font-family:courier new;">SELECT LEVEL, NAME, CHILDID FROM RELATIONSHIP  START WITH CHILDID=103 CONNECT BY PRIOR CHILDID=PARENTID</span></p>
<p><span style="font-family:courier new;">&#8211;Bottom up results</span><br />
<span style="font-family:courier new;">SELECT LEVEL, NAME, CHILDID FROM RELATIONSHIP  START WITH CHILDID=103 CONNECT BY PRIOR PARENTID=CHILDID</span></p>
<p><span style="font-family:courier new;">&#8211;Derived query</span></p>
<p><span style="font-family:courier new;">SELECT * FROM (SELECT LEVEL, NAME, CHILDID FROM RELATIONSHIP START WITH CHILDID=103 CONNECT BY PRIOR PARENTID=CHILDID ORDER BY LEVEL DESC)</span><br />
<span style="font-family:courier new;">WHERE ROWNUM&lt;2</span></span></span></p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/beanpicks.wordpress.com/12/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/beanpicks.wordpress.com/12/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/beanpicks.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/beanpicks.wordpress.com/12/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/beanpicks.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/beanpicks.wordpress.com/12/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/beanpicks.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/beanpicks.wordpress.com/12/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/beanpicks.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/beanpicks.wordpress.com/12/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/beanpicks.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/beanpicks.wordpress.com/12/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=beanpicks.wordpress.com&blog=745023&post=12&subd=beanpicks&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://beanpicks.wordpress.com/2007/02/03/12/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/1161fcdb598b7dced2a4ac0cedadb1a1?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Arun</media:title>
		</media:content>

		<media:content url="http://beanpicks.files.wordpress.com/2007/02/allrecords.thumbnail.png" medium="image">
			<media:title type="html">All records</media:title>
		</media:content>

		<media:content url="http://beanpicks.files.wordpress.com/2007/02/childid_parentid.thumbnail.png" medium="image">
			<media:title type="html">child id parent id</media:title>
		</media:content>

		<media:content url="http://beanpicks.files.wordpress.com/2007/02/parentid_childid.thumbnail.png" medium="image">
			<media:title type="html">parent id child id</media:title>
		</media:content>

		<media:content url="http://beanpicks.files.wordpress.com/2007/02/derived.thumbnail.png" medium="image">
			<media:title type="html">derived</media:title>
		</media:content>
	</item>
		<item>
		<title>Oracle 10g XE goes free</title>
		<link>http://beanpicks.wordpress.com/2007/02/03/oracle-10g-xe-goes-free/</link>
		<comments>http://beanpicks.wordpress.com/2007/02/03/oracle-10g-xe-goes-free/#comments</comments>
		<pubDate>Sat, 03 Feb 2007 12:42:38 +0000</pubDate>
		<dc:creator>beanpicks</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://beanpicks.wordpress.com/2007/02/03/oracle-10g-xe-goes-free/</guid>
		<description><![CDATA[If you are Oracle user at home, you should have really felt the pain of the database server eating most of your system resources. Added to it, in all possibilities, we are using an illegal copy of the Personal Edition or the Enterprise Edition.
You would never imagine running Java applications against Oracle just because of [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=beanpicks.wordpress.com&blog=745023&post=7&subd=beanpicks&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>If you are Oracle user at home, you should have really felt the pain of the database server eating most of your system resources. Added to it, in all possibilities, we are using an illegal copy of the Personal Edition or the Enterprise Edition.</p>
<p>You would never imagine running Java applications against Oracle just because of the simple reason we can never run our application servers and database server and, of course, our IDE in a single machine. So, we just move in for MySQL, Postgre or other open-source alternatives.</p>
<p>You would have already known that DB2, just a few months back, came up with a free edition of its Database. And Microsoft is also coming up with its free edition of SQL Server 2005 as &#8216;Express Edition&#8217;</p>
<p>Oracle now joins the bandwagon. And, as always, Oracle is our favourite database.</p>
<p>(Please go through the document (at least the faq) and the pdf attachment for more details). The twp_general_10gdb_product</p>
<p>_family.pdf has a wonderful &#8220;feature comparison&#8221; table at the end of it.</p>
<p>Please dont get alarmed when they say Java development is not possible in Oracle 10g XE. They just mean that we cannot write Oracle PL/SQL stored procedures in Java. And i&#8217;ve still not seen anybody writing</p>
<p>&#8220;CREATE PROCEDURE DEPT_PROCEDURE AS LANGUAGE JAVA&#8221;</p>
<p>That because Oracle XE doesnt come with an inbuilt JVM. (You know Oracle 9i came up with JRE 1.4 bundled inside). Regular SQL, (ALL) PL/SQL, JDBC calls will just work fine.</p>
<p>Best part, Oracle 10g XE comes just as a 250MB iso image.</p>
<p><span style="font-weight:bold;"> Linux users, who were denied of the privilege of using Oracle, just because we dont get a pirated version of the full database, can now download their RPM installers direct from the oracle site. Debian users (Ubuntu, Kubuntu, MEPIS, Mandriva, CentOS) can download their .deb installers. All installers are around the same size.</span></p>
<p>Good luck.</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/beanpicks.wordpress.com/7/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/beanpicks.wordpress.com/7/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/beanpicks.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/beanpicks.wordpress.com/7/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/beanpicks.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/beanpicks.wordpress.com/7/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/beanpicks.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/beanpicks.wordpress.com/7/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/beanpicks.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/beanpicks.wordpress.com/7/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/beanpicks.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/beanpicks.wordpress.com/7/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=beanpicks.wordpress.com&blog=745023&post=7&subd=beanpicks&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://beanpicks.wordpress.com/2007/02/03/oracle-10g-xe-goes-free/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/1161fcdb598b7dced2a4ac0cedadb1a1?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Arun</media:title>
		</media:content>
	</item>
		<item>
		<title>Eclipse.. the forgotten path</title>
		<link>http://beanpicks.wordpress.com/2007/02/03/5/</link>
		<comments>http://beanpicks.wordpress.com/2007/02/03/5/#comments</comments>
		<pubDate>Sat, 03 Feb 2007 10:38:35 +0000</pubDate>
		<dc:creator>beanpicks</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://beanpicks.wordpress.com/2007/02/03/5/</guid>
		<description><![CDATA[Ever tried opening up the plugins folder of Eclipse 3.1 or greater? What is the difference between the previous versions and the current ones? Just look at the screenshots.

Equinox is an Eclipse project to structure Eclipse software not just as a collection of plugins, but as a collection of OSGi bundles. OSGi bundles is an [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=beanpicks.wordpress.com&blog=745023&post=5&subd=beanpicks&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Ever tried opening up the plugins folder of Eclipse 3.1 or greater? What is the difference between the previous versions and the current ones? Just look at the screenshots.</p>
<p><a href="http://beanpicks.files.wordpress.com/2007/02/equinoxbundles.png"><img src="http://beanpicks.files.wordpress.com/2007/02/equinoxbundles.png?w=200&#038;h=200" alt="Equinox bundles" height="200" width="200" /></a><br />
Equinox is an Eclipse project to structure Eclipse software not just as a collection of plugins, but as a collection of OSGi bundles. OSGi bundles is an approach to break an application into components (jar files), large collections of classes with a unified interface that is well-encapsulated and easily reusable amongst multiple applications.</p>
<p>Most important part : OSGi also enables applications to dynamically load (and better yet, unload as well) these components at runtime as optional functionality is needed (and no longer needed). Meaning your SQL Plugins or XML Plugins actually do not get loaded during startup. They are runtime loads. God&#8230; my head rolls.</p>
<p>This helps the application manage its footprint, e.g. the memory that it consumes in order to run. Rather than using memory to load every option that any user may ever need, it only loads the kernel functionality and then loads optional functionality when the user asks for it by loading OSGi bundles.<br />
Equinox helps formalize an approach to developing Eclipse applications as these OSGi bundles.</p>
<p>A particularly interesting part of Equinox is the Server Side OSGi (sub?) project. OSGi has mostly been used to create desktop applications. This enables you to start the application quickly with a small footprint and then load options as needed. What if you could do the same in a server application? The application starts quickly, then as client apps invoke optional functionality, the app dynamically loads components to provide the functionality. Interesting idea, so check it out at <a href="http://www.eclipse.org/equinox/server/" target="_blank">http://www.eclipse.org/equinox/server/</a> (project under development)</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/beanpicks.wordpress.com/5/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/beanpicks.wordpress.com/5/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/beanpicks.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/beanpicks.wordpress.com/5/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/beanpicks.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/beanpicks.wordpress.com/5/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/beanpicks.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/beanpicks.wordpress.com/5/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/beanpicks.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/beanpicks.wordpress.com/5/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/beanpicks.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/beanpicks.wordpress.com/5/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=beanpicks.wordpress.com&blog=745023&post=5&subd=beanpicks&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://beanpicks.wordpress.com/2007/02/03/5/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/1161fcdb598b7dced2a4ac0cedadb1a1?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Arun</media:title>
		</media:content>

		<media:content url="http://beanpicks.files.wordpress.com/2007/02/equinoxbundles.png" medium="image">
			<media:title type="html">Equinox bundles</media:title>
		</media:content>
	</item>
		<item>
		<title>War of the worlds &#8212; Ripples from OpenJDK</title>
		<link>http://beanpicks.wordpress.com/2007/02/03/war-of-the-worlds-ripples-from-openjdk/</link>
		<comments>http://beanpicks.wordpress.com/2007/02/03/war-of-the-worlds-ripples-from-openjdk/#comments</comments>
		<pubDate>Sat, 03 Feb 2007 10:33:22 +0000</pubDate>
		<dc:creator>beanpicks</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://beanpicks.wordpress.com/2007/02/03/war-of-the-worlds-ripples-from-openjdk/</guid>
		<description><![CDATA[Part 1

 As we all know, Sun, after two years of meditation, broke its silence last November crowning itself as the torchbearer for the open source initiatives. 
It announced that Java SE, ME and the Glassfish projects (Glassfish is the open source effort for an JEE 5 compatible application server &#8211; incubated and developed in [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=beanpicks.wordpress.com&blog=745023&post=4&subd=beanpicks&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p><span style="font-size:100%;"><span style="font-weight:bold;font-family:verdana;">Part 1</p>
<p></span></p>
<p><span style="font-family:verdana;"> As we all know, Sun, after two years of meditation, broke its silence last November crowning itself as the torchbearer for the open source initiatives. </span><br />
<span style="font-family:verdana;">It announced that Java SE, ME and the Glassfish projects (Glassfish is the open source effort for an JEE 5 compatible application server &#8211; incubated and developed in the </span><a href="http://java.net/" target="_blank">java.net</a><span style="font-family:verdana;"> community) is open sourced under the GPL v2 (GNU&#8217;s General Public License). </span></p>
<p><span style="font-family:verdana;"> This has brought huge applause from the open source communities, more especially, from the linux circles which, till recently, were upset with the Sun&#8217;s distribution of Java through the CDDL (Common Development and Distribution License). CDDL states that Java could not be bundled with the Linux distros. Redhat, Suse and a few other distros, however, bundled JRockit (Bea&#8217;s proprietory JVM), whose license allowed redistribution. </span></p>
<p><span style="font-family:verdana;"> What does the GPL say? Modify the open code howmuchever you want. Keep it private in your own system. But if you want to redistribute, share your modification to everybody else. Meaning, redistribute under GPL again. (Nice. isn&#8217;t it). And GPL is also known as the Grand Daddy of the Open Source licenses with about 70-80% of the open source projects under it. </span></p>
<p><span style="font-family:verdana;"> Why did Sun release Java under GPL? It had its own reasons. And Microsoft was one big reason when they created a buggy JVM based on JDK 1.1. They called it the MSJVM (Microsoft Java Virtual machine) with Microsoft extensions which made applets run faster on windows machines, and eventually forgetting the &#8220;Write Once Run Anywhere&#8221; concept of Java. Sun sued and won $ 20 million. Microsoft is never to use &#8216;Java&#8217; or any of its trademarks for its newly cooked up JVM. What do you think &#8220;Microsoft VM&#8221; that is installed in our Internet Explorer is? </span></p>
<p><span style="font-family:verdana;"> Naturally, Sun was afraid that there will surely be forks for Java implementation and which might be incompatible with each other. GPL promised prevention of forks to some extent. </span></p>
<p><span style="font-weight:bold;font-family:verdana;"> Part 2</p>
<p></span></p>
<p><span style="font-family:verdana;"> IBM, which was the leading &#8220;pressurizer&#8221; that wanted Sun to open source java, is now upset over the announcement. Last year, there were open letters and hues and cries by IBM all over the open source community asking Java to be open sourced. In fact IBM made an open challenge to Sun that IBM would open source its proprietory JVM if Sun open sourced its version. Then why is IBM upset over this announcement. Reason.. Lot many reasons &#8212; all with business intend. </span></p>
<p><span style="font-family:verdana;"> 1) Apache Harmony, as you understand, is an Apache project started around May last year. What are they doing? They are writing open source Java SE. An equavalent (lets not say competitor) to Sun&#8217;s Java implementation. Recent visit says that 1.25 million lines of code is already contributed to it. IBM is one of the lead players here other than Intel. IBM joined this project soon after its start just to show itself as a serious open-source player and to bring down Sun&#8217;s reputation among the already disgruntled OS community. </span></p>
<p><span style="font-family:verdana;"> 2) The GPL v2 licensing for OpenJDK. IBM wants Sun to contribute to Apache Harmony or at least bring OpenJDK under Apache License. Whats so special in Apache license? &#8212; it allows use of the distribution of the source code in both open source and &#8220;closed source&#8221; (proprietory) software. Meaning IBM can go ahead and wrap the OpenJDK and market it. The same way it produced Websphere Community Edition wrapping Apache Geronimo, Websphere commercial version wrapping Apache Web server and its Rational products wrapping Eclipse. </span></p>
<p><span style="font-family:verdana;"> While IBM was saying that Opensourcing Solaris as OpenSolaris was not a big deal for Sun (Solaris is well known as the most secure Unix based operating systems), and that Sun&#8217;s interest in the community could only be seen when it outsources Java, questions came up with the OS community that if open-sourcing Solaris, a home grown product of Sun, was not a big deal, what is stopping IBM open source its AIX which uses a lot of open source code in it. In fact, IBM has been advertising that AIX is a superior Unix. Why not share it with the Linux community? </span></p>
<p><span style="font-family:verdana;">    Sure there exists a cold war situation between the giants. And IBM is on the losing side.</span></p>
<p><span style="font-family:verdana;">    </span><br />
<span style="font-weight:bold;font-family:verdana;">IBM opens Windows of suspicion.</span><span style="font-family:verdana;"> </span></span></p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/beanpicks.wordpress.com/4/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/beanpicks.wordpress.com/4/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/beanpicks.wordpress.com/4/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/beanpicks.wordpress.com/4/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/beanpicks.wordpress.com/4/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/beanpicks.wordpress.com/4/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/beanpicks.wordpress.com/4/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/beanpicks.wordpress.com/4/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/beanpicks.wordpress.com/4/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/beanpicks.wordpress.com/4/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/beanpicks.wordpress.com/4/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/beanpicks.wordpress.com/4/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=beanpicks.wordpress.com&blog=745023&post=4&subd=beanpicks&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://beanpicks.wordpress.com/2007/02/03/war-of-the-worlds-ripples-from-openjdk/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/1161fcdb598b7dced2a4ac0cedadb1a1?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Arun</media:title>
		</media:content>
	</item>
	</channel>
</rss>