<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-7203729816022931517</id><updated>2011-09-21T04:34:59.143-07:00</updated><category term='pi'/><title type='text'>Sandeep Soni's Blog</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://sonisandeep.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7203729816022931517/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://sonisandeep.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Sandeep Soni</name><uri>http://www.blogger.com/profile/02148788332529222079</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>8</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-7203729816022931517.post-2326503456903703149</id><published>2007-10-18T08:25:00.000-07:00</published><updated>2007-10-18T08:40:31.572-07:00</updated><title type='text'>JSR-286 Compliant RSS And Atom Feed Reader</title><content type='html'>&lt;p&gt;I have just uploaded a portlet which mimics the behavior of a news feed reader, although in a portlet. The portlet uses some of the new features from the portlet 2.0 specification viz Resource Serving. The source of the portlet is available in the project's SVN repository on the &lt;a href="http://code.google.com/p/bevy"&gt;Project Bevy&lt;/a&gt; Site.&lt;br /&gt;&lt;/p&gt;&lt;p&gt;For a little more detail on what the portlet is capable of doing, visit &lt;a href="http://blogs.sun.com/insidemyhead/entry/jsr_286_compliant_ajax_enabled" rel="nofollow"&gt;my blog entry on sun about the portlet&lt;/a&gt;. &lt;/p&gt;&lt;p&gt;The portlet is AJAX enabled and for achieving this I have used the Adobe Spry Framework. I must say I am quite impressed with the Spry framework and found it extremely easy to use. Do give it a try!&lt;/p&gt;To use this portlet you will require a JSR-286 compliant portlet container. Read the blog entry mentioned above for more details on where to get such a container.&lt;br /&gt;&lt;br /&gt;If you do give this portlet a try, please post your opinions on &lt;a href="http://sonisandeep.blogspot.com/" rel="nofollow"&gt;this blog&lt;/a&gt; or &lt;a href="http://blogs.sun.com/insidemyhead/" rel="nofollow"&gt;my official blog&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7203729816022931517-2326503456903703149?l=sonisandeep.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sonisandeep.blogspot.com/feeds/2326503456903703149/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7203729816022931517&amp;postID=2326503456903703149' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7203729816022931517/posts/default/2326503456903703149'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7203729816022931517/posts/default/2326503456903703149'/><link rel='alternate' type='text/html' href='http://sonisandeep.blogspot.com/2007/10/jsr-286-compliant-rss-and-atom-feed.html' title='JSR-286 Compliant RSS And Atom Feed Reader'/><author><name>Sandeep Soni</name><uri>http://www.blogger.com/profile/02148788332529222079</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7203729816022931517.post-1333393330189463451</id><published>2007-08-05T04:40:00.000-07:00</published><updated>2007-08-06T18:46:24.883-07:00</updated><title type='text'>Flex Based Portlet - Rich Internet Application</title><content type='html'>Sometime ago I had posted an entry on my blog at blog.sun.com [ my official blog :-) ] about how to leverage a rich client application development environment like Flex to build a rich user interface in a portlet. You can read more about that on my blog &lt;a href="http://blogs.sun.com/insidemyhead/entry/flex_up_your_portlets"&gt;here&lt;/a&gt;. There is a screencast on that blog entry that shows the portlet in action. The screencast shows a portlet I had developed that will present a user with some kind of a legel document (NDA, EULA) etc. and present the user with a canvas area which the user can use to E-Sign it using his mouse.&lt;br /&gt;&lt;br /&gt;I recently posted the portlet and its associated Web Service on &lt;a href="http://code.google.com/p/bevy"&gt;Project Bevy&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Feel free to download the archive from the &lt;a href="http://code.google.com/p/bevy/downloads/list"&gt;Bevy Download Page&lt;/a&gt;. The download consists of a Zip file which contains a readme.html file. Please go through the README and follow instructions to deploy and use it on your portlet container.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7203729816022931517-1333393330189463451?l=sonisandeep.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sonisandeep.blogspot.com/feeds/1333393330189463451/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7203729816022931517&amp;postID=1333393330189463451' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7203729816022931517/posts/default/1333393330189463451'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7203729816022931517/posts/default/1333393330189463451'/><link rel='alternate' type='text/html' href='http://sonisandeep.blogspot.com/2007/08/flex-based-portlet-rich-internet.html' title='Flex Based Portlet - Rich Internet Application'/><author><name>Sandeep Soni</name><uri>http://www.blogger.com/profile/02148788332529222079</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7203729816022931517.post-2558108144547643920</id><published>2007-07-05T22:15:00.000-07:00</published><updated>2007-07-18T09:45:44.230-07:00</updated><title type='text'>Windows Sharepoint Services Portlet</title><content type='html'>I have uploaded the portlet for accessing a Windows Sharepoint Services (WSS) 2.0 site and retrieve data from there and displaying in a portlet on &lt;a href="http://code.google.com/p/bevy/"&gt;Project Bevy&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;There are a set of portlets included in this project viz. List Portlet, Meeting Portlet, Document Library Portlet, Alerts Portlet etc. Each of these portlets will allow you to access the similar artifact on the WSS site. That is, the List Portlet will allow you to see data from any selected list on the WSS site.&lt;br /&gt;&lt;br /&gt;Each of these portlet follows the same UI principle:&lt;br /&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Deploy the portlet to your portal ( Refer documentation of you portal or portlet container to deploy the portlet )&lt;/li&gt;&lt;li&gt;In the Edit Mode of the portlet, you will see two links, one to edit the site information and the other to select the artifact you want to view.&lt;/li&gt;&lt;li&gt;Select the "Edit Site" link, and add the WSS site information you want to access. Including site URL, username and password (Only Basic Auth supported. No NTLM ).&lt;/li&gt;&lt;li&gt;After the site info is entered, click the "Edit List/Document Libraries/Meeting" link. This will bring you a list of all Lists/Meetings/Document Libraries available on the selected site. Select any one you wish to see in your portlet. Click Ok.&lt;br /&gt;&lt;/li&gt;&lt;li&gt;And now in the view mode of your portlet you can see the data from the selected artifact in the WSS site in your portlet.&lt;/li&gt;&lt;/ul&gt;You can download the portlet from the main &lt;a href="http://code.google.com/p/bevy/downloads/list"&gt;download page on Project Bevy&lt;/a&gt;.&lt;br /&gt;Enjoy!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7203729816022931517-2558108144547643920?l=sonisandeep.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sonisandeep.blogspot.com/feeds/2558108144547643920/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7203729816022931517&amp;postID=2558108144547643920' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7203729816022931517/posts/default/2558108144547643920'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7203729816022931517/posts/default/2558108144547643920'/><link rel='alternate' type='text/html' href='http://sonisandeep.blogspot.com/2007/07/windows-sharepoint-services-portlet.html' title='Windows Sharepoint Services Portlet'/><author><name>Sandeep Soni</name><uri>http://www.blogger.com/profile/02148788332529222079</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7203729816022931517.post-5468185130032341029</id><published>2007-06-30T04:55:00.000-07:00</published><updated>2007-06-30T05:02:27.132-07:00</updated><title type='text'>Charting Portlet Added to Project Bevy</title><content type='html'>I talked about the Project Bevy being opened up on Google Projects in my last post. I did an &lt;a href="http://developers.sun.com/portalserver/reference/techart/jfreechart.html"&gt;article&lt;/a&gt; a while back on Sun Developer Network on how you could incorporate dynamically generated charts in your portlets and had included sample code in that article.&lt;br /&gt;&lt;br /&gt;Recently I rewrote the charting portlet from scratch and added a lot more features to it. Now the portlet takes configurable parameters for getting its charting data. It takes in a user specified ( configured ) database connection, SQL queries and then based on the chart type the user selected displays the chart dynamically.&lt;br /&gt;&lt;br /&gt;I have added this charting portlet as my first entry into the project Bevy. Check out more details of it &lt;a href="http://code.google.com/p/bevy/wiki/ChartPortlet"&gt;here&lt;/a&gt; and download and use it if you find it useful.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7203729816022931517-5468185130032341029?l=sonisandeep.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sonisandeep.blogspot.com/feeds/5468185130032341029/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7203729816022931517&amp;postID=5468185130032341029' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7203729816022931517/posts/default/5468185130032341029'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7203729816022931517/posts/default/5468185130032341029'/><link rel='alternate' type='text/html' href='http://sonisandeep.blogspot.com/2007/06/charting-portlet-added-to-project-bevy.html' title='Charting Portlet Added to Project Bevy'/><author><name>Sandeep Soni</name><uri>http://www.blogger.com/profile/02148788332529222079</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7203729816022931517.post-3013316812117805923</id><published>2007-06-24T07:45:00.000-07:00</published><updated>2007-06-26T09:00:23.106-07:00</updated><title type='text'>Project Bevy!</title><content type='html'>Check out the &lt;a href="http://code.google.com/p/bevy/"&gt;Project Bevy&lt;/a&gt; I started a few days ago on the Google Open Source Prjects. Like the word "Bevy" suggests, the project will consist of a group of useful utilities/projects written in different and varying languages. The projects will range from JavaEE, JavaSE, Windows Applications written in C/C++, .NET technologies etc. In addition to it I will be adding several useful scripts that I have done over the past years in different languages- Perl, PHP, WSH,BAT etc. The project is open, if you share interests and have something that you feel you can add to the project, check it out and sign up!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7203729816022931517-3013316812117805923?l=sonisandeep.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sonisandeep.blogspot.com/feeds/3013316812117805923/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7203729816022931517&amp;postID=3013316812117805923' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7203729816022931517/posts/default/3013316812117805923'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7203729816022931517/posts/default/3013316812117805923'/><link rel='alternate' type='text/html' href='http://sonisandeep.blogspot.com/2007/06/project-bevy.html' title='Project Bevy!'/><author><name>Sandeep Soni</name><uri>http://www.blogger.com/profile/02148788332529222079</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7203729816022931517.post-511387333873924039</id><published>2007-06-20T23:50:00.000-07:00</published><updated>2007-06-20T23:52:28.777-07:00</updated><title type='text'>Number Game!</title><content type='html'>Consider that you have a 32 bit machine and you have a number such as say Hex CF39. How would you go about counting the number of 1's in the binary representation of this number? In other words, the binary representation of CF39 is 1100111100111001. What is needed is a way to count the number of 1's in this number i.e the answer should be 10.[ Your 32 bit machine doesn't have an instruction that can do this :-) ]&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7203729816022931517-511387333873924039?l=sonisandeep.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sonisandeep.blogspot.com/feeds/511387333873924039/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7203729816022931517&amp;postID=511387333873924039' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7203729816022931517/posts/default/511387333873924039'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7203729816022931517/posts/default/511387333873924039'/><link rel='alternate' type='text/html' href='http://sonisandeep.blogspot.com/2007/06/number-game.html' title='Number Game!'/><author><name>Sandeep Soni</name><uri>http://www.blogger.com/profile/02148788332529222079</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7203729816022931517.post-7181605854040203393</id><published>2007-03-20T13:15:00.000-07:00</published><updated>2007-03-20T13:17:33.717-07:00</updated><title type='text'>Blog At Sun</title><content type='html'>My name is Sandeep Soni and currently I work for Sun Microsystems, in Bangalore, India. My "official" blog is &lt;a href="http://blogs.sun.com/insidemyhead"&gt;here&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;I blog there on several technical topics, but once in a while also post some recreational stuff or interesting things I come across. Do visit there!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7203729816022931517-7181605854040203393?l=sonisandeep.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sonisandeep.blogspot.com/feeds/7181605854040203393/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7203729816022931517&amp;postID=7181605854040203393' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7203729816022931517/posts/default/7181605854040203393'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7203729816022931517/posts/default/7181605854040203393'/><link rel='alternate' type='text/html' href='http://sonisandeep.blogspot.com/2007/03/blog-at-sun.html' title='Blog At Sun'/><author><name>Sandeep Soni</name><uri>http://www.blogger.com/profile/02148788332529222079</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7203729816022931517.post-8118625464146513336</id><published>2007-03-20T13:13:00.000-07:00</published><updated>2007-03-20T13:37:58.318-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='pi'/><title type='text'>The "Pi" Room</title><content type='html'>Came across this question from a mailing list of pals :&lt;br /&gt;&lt;br /&gt;The mighty adventurer came upon the House of "Pi".  The house consisted of 9&lt;br /&gt;rooms without windows, all in a row, with a digit of the numerical constant&lt;br /&gt;pi written on the wall of each room:&lt;br /&gt;&lt;br /&gt;entrance  [3][1][4][1][5][9][2][6][5]  exit&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;There was an entrance door to the first room (the "3" room) and an exit door&lt;br /&gt;at the last room (the second "5" room).  There were also doors between each&lt;br /&gt;of the neighboring rooms.  Near the entrance there was a sign:&lt;br /&gt;&lt;br /&gt;Behold the House of "Pi"&lt;br /&gt;&lt;br /&gt;1. You may only pass though the entrance door once.&lt;br /&gt;2. Start with a score of zero.&lt;br /&gt;3. When you enter a room, add the room number to your score.&lt;br /&gt;4. You can only pass though the exit door if your current score is exactly 96.&lt;br /&gt;5. You can't pass though more than 20 doors, including the entrance and exit doors.&lt;br /&gt;&lt;br /&gt;By what moves (F and B = Forward and Back, where forward is towards the exit) can the mighty adventurer pass though the House of "Pi"?&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7203729816022931517-8118625464146513336?l=sonisandeep.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sonisandeep.blogspot.com/feeds/8118625464146513336/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7203729816022931517&amp;postID=8118625464146513336' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7203729816022931517/posts/default/8118625464146513336'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7203729816022931517/posts/default/8118625464146513336'/><link rel='alternate' type='text/html' href='http://sonisandeep.blogspot.com/2007/03/pi-room.html' title='The &quot;Pi&quot; Room'/><author><name>Sandeep Soni</name><uri>http://www.blogger.com/profile/02148788332529222079</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>
