tag:blogger.com,1999:blog-119272232024-03-13T07:49:58.831-07:00Puspendu PalPuspendu Palhttp://www.blogger.com/profile/15894595789972226994noreply@blogger.comBlogger11125tag:blogger.com,1999:blog-11927223.post-1158541355006425592006-09-17T18:00:00.000-07:002006-09-17T18:02:35.016-07:009/11 was a conspiracy by US Govt... BS?? Check this movie. It changed my mind. Sure it would yours!!!<a href="http://video.google.com/videoplay?docid=7866929448192753501&hl=en" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://video.google.com<wbr>/videoplay?docid=78669294481927<wbr>53501&hl=en</a>Puspendu Palhttp://www.blogger.com/profile/15894595789972226994noreply@blogger.com0tag:blogger.com,1999:blog-11927223.post-1157861848188065222006-09-09T20:36:00.000-07:002006-09-09T21:17:28.213-07:00Time to Change- OrissaIn 1980s Orissa got world attention for the major drought which killed thousands of children due to starvation. In 1999 again it got attention for the cyclone and flood. It has always been one of the poor states of India and always hit by droughts, floods and cyclone. Mother nature has always been harsh on this state. But it has also given the state the hidden underground treasure- "Minerals" which includes - iron ore (32.9 per cent of the country's reserves), bauxite (59.95 per cent), chromite (98.4 per cent), coal (24.8 per cent) and manganese (67.6 per cent). So today 2006 , its in news for the highest FDI investment in India. A total amout of nearly Rs 4 Trillion. Thats huge!!!! And all because of this treasure- Minerals- Orissa's Passport to Development.<br /><br />Other than minerals, it is a big player in power generation. It planning the biggest powerplant of the world in Talcher. It has surplus power to support even its neighbouring states. <br /><br />IT, Bhubaneswar is the 9th biggest IT destination in India. But its soon heading for the 4th position, with all the big companies having a base. Infosys, TCS, Wipro, Satyam, Igate, Mindtree, Iflex , Oracle .. all having Bhubaneswar in their recent plans. Its sure to give a major change to the only other city in India(other being Chandigarh) planned by the famous German architect - Otto. H. Koenigsbarger.<br /><br />Orissa is also full of natural beauty. Bhubaneswar itself , City of Temples is a beautiful city, with many tourist spots, Udaygiri, Khandagri, Dhaulgiri, Lingaraj Temple, Nandankanan zoo, Iskon temple , Raja rani temple and many more. Who does not know about Puri- Jagannath temple of the the 4 holy sites of Hindu religion. It has a beautiful beach for its tourists too. Other sites like Sun Temple Konark, Chandrabagha beach, Chilka lake, Tara tarani, and many more sites make Orissa a must visit tourist destination.<br /><br />It has one of the biggest port in the eastern coast of India- Paradeep. The hotel industry is also bubbling and so is the education institutes. Bhubaneswar is also becoming a major Micro/Nano Biology hub.<br /><br />Time is surely changing for Orissa, but its just the start. How long will it last. The bubble was once there in 1995 too, but it was not a success because of the local politics. Well then will Orissa be lucky the second time?? Time will answer.. and I hope for the best....<br /><br />Bande Utkala Janani...Puspendu Palhttp://www.blogger.com/profile/15894595789972226994noreply@blogger.com0tag:blogger.com,1999:blog-11927223.post-1157320923906623132006-09-03T14:46:00.000-07:002006-09-03T15:02:03.916-07:00Lage Raho, Vidhu Vinod Chopra"Lage Raho Munna Bhai" - a fantastic movie. This is a piece you should have in your DVD collection like Hera Pheri. "Circuit" is flawless in his acting. Sanjay Dutt as ever is good. Vidya Balan, is goood but she was not so cute as in Parineeta. Srini my friend , there are more movies following - "Eklavya" where u may see her as cute as in Parineeta. And whats the deal...?? Vidya Balan is also there in Eklavya after Parineeta and "LRMB". Good for her... beaware of VVC.<br /><br />The crowd enjoyed it. After a long time I saw so many Desis .. My God when the movie was over... there was swarm of desis walking around in the parking lot. Felt like I was in India..... We did a good decision in dropping our dinner plan and hitting the movie theatre half an hour before the movie starts. Still we only got some seats in the middle of the theatre. Hate to watch a good movie like I am watching a live tennis match..<br /><br />The evening was well entertained by the Munna Bhai Gang!Puspendu Palhttp://www.blogger.com/profile/15894595789972226994noreply@blogger.com0tag:blogger.com,1999:blog-11927223.post-1140891556659262892006-02-25T10:08:00.000-08:002006-02-25T10:19:24.973-08:00Murder of Justice<a href="http://www.ibnlive.com/blogs/blog_entry.php?id=5759&author_id=218">IBNLive </a> has done a great job in the movement against the Jessica Lal murder case. The case has got a new hope. But I still ponder where is the Legal System leading to in the Largest Democracy of the World??<br /><br />I dont understand what kind if investigation did police department do? In the party there were even high officials of Police Dept? What were they doing there?? ( none of my business to ask that ). But when there was shoot out , what did they do? They should be the first one to put an FIR and try to bring the convict to court with ample evidence. Instead we see an FIR registered by 19 year old witness(At least out of 200 he was the only one who had the guts to come out and register the case). We cant blame him now, sure there would be lot of pressure on him (from the convicts), they must be all over him for the<span style="font-weight: bold;"> last 8 years.</span><br />More over is the eye-witness the only proof for conviction?? We are so advanced in technology , dont we have any other way to track down?? What about the bullets, what about the Gun. I cant belive there was no other clue for the police department.<br /><br />Well I guess we live in the Indian society with fear. Fear of loosing your own life, fear of loosing your own family, <span style="font-weight: bold;">fear of expressing ourselves</span>. Thanks to the age of internet we can at least express our thoughts in web even if not directly in the public. The only logical path i see is - new generation should be tought to express themselves, rather than forcing them to do as the parent want. Schools and Parents are the ones who can change that. Schools should also focus on making the child express themselves rather than forcing them to learn ONLY maths and science..Puspendu Palhttp://www.blogger.com/profile/15894595789972226994noreply@blogger.com0tag:blogger.com,1999:blog-11927223.post-1140291412851467522006-02-18T11:15:00.000-08:002006-02-18T12:01:37.460-08:00Future of GoogleIf google grows and spreads it's web as fast as it's doing now, what state will it be 25 years from now ? How will it affect our machine dependent, web-centric life in future? I was thinking about it and these are what my small imaginative mind could picture google at 2030 AD....<br /><br /><span style="font-weight: bold;">Brain of World's Largest Reactive Super Computer/Robot :</span> Google with its vast and immense store of data and knowledge can be fed into the brain of a super-computer to find and ask any answer for a question. It would be a improved version of www.AskJeevs.com . Used the "Reactive" word because I feel super computers can be categorized into 2 kinds. "Reactive" and "Proactive". Reactive being the lower generation super computers which can give you answers to your questions or react to a situation previously programmed. Proactive Super Computers are far more intelligent enough to assess a situation and react accordingly without waiting for some input or intervention.<br /><br /><span style="font-weight: bold;">Platform to Access Anytime, Anywhere ,Any favorite Entertainment Program</span> <span style="font-weight: bold;">:<span style="font-weight: bold;"> </span></span>Google will extend the Google Video to a level that all the movies, television serials will be available in the net. You would be able to search , select and view any movie of your choice or any episode of your favorite television soaps anywhere , anytime. Obviously you will have to pay for it , and producers will be paid their copyright through Google.<br /><br /><span style="font-weight: bold;">World Wide Tracking:<br /></span>How about taking snaps of every meter of our earth every minute(I would love it to be every second ). Think of what all you can do with that data ? Reduce Crime? Find Lost Child in a Fair? Track path of every movable object and life on earth.. Yes the camera can only take pictures where its allowed, only in public places, you can use it to track anything happening in ur private places too... You guessed it right ,it will be an extension of the much loved , appreciated and controversial software "Google Earth".<br /><br />There are lot of other fields also, like personal treatment based upon your genes, which Google has already started investing. Its all about sharing knowledge , and correct knowledge. Opening up the world and making it one global public arena to share information.<br /><br />All these and much more... Only if it sustains the fast growing competitive market for next 25 years. Who knows it can be swallowed by big companies like Microsoft. Which I really don't believe will happen. If google is destroyed , it will only be destroyed by Itself.......<br /><br /><br /><br /><span style="font-weight: bold;"></span><br /><br /><span style="font-weight: bold;"></span>Puspendu Palhttp://www.blogger.com/profile/15894595789972226994noreply@blogger.com0tag:blogger.com,1999:blog-11927223.post-1139702901983725492006-02-11T15:29:00.000-08:002006-02-11T16:08:21.996-08:00*****Jaago*****Last week , while going through samachar.com , I stumbled into the news - <a href="http://timesofindia.indiatimes.com/articleshow/1384682.cms">IIT Geeks form Political Party</a> . Wow!!! that was incredible. They are cream of Indian techie cerebrums. They can get a job in any MNCs, earn FAT salaries which others would envy and lead a wealthy life like 1000s other IITians. But why choose this path? That was the first line of thought, but the "ME" inside me was really happy & proud and envious about these guys. Proud and Happy to see INDIAN THOUGHTS CHANGING... To see YOUTH believing in themselves to bring change to the Political System. Needless to say we know , how wicked Indian politics is, what kind of politicians we have in our center(Laaloooo?? Devegowda??...), how much change or clean up it needs??? I can write a lot about how corrupt the system is.... But am I doing anything to bring the change , other than just doing a heated discussions on the weekends with my friends over coronas and baacardi?? The question is who is going to take up the challenge. Who is going to tie the bell on to cat?? Who will try to bring the revolution?? Who will(MAY) be the frist ones to get crushed by the wicked Political Engine. Well thats US. We The Young Indians. The PARITRANAS - They have come out of the shell , and leading, making me feel Yes I can also be one of them. I should be a part of them and every Young Patriotic Indian should be a part of the small but GOING TO BE BIG movement. I want to see New India, Fresh India, Developed India ,Beautiful India... and I can see the new horizon, smell the new fragrance, through <a href="http://www.paritrana.org">PARITRANA</a>.<br /><br />LETS MAKE INDIA THE BEST COUNTRY IN THE PLANET TO LIVE!!!Puspendu Palhttp://www.blogger.com/profile/15894595789972226994noreply@blogger.com0tag:blogger.com,1999:blog-11927223.post-1138061922081599702006-01-23T15:36:00.000-08:002006-01-23T16:36:42.710-08:00GoogolYesterday I completed reading the book - "The Google Story". Its a wonderful book , and should be read by anyone related to IT.<br /><br />Google, the term which every person in IT uses it. It has changed its form from a Noun to Verb. But what is the exact meaning of Google?? Well when Lary Page and Sergey Brin were looking for a name for their search website, their friend suggested the name "Googol" which is a term used to express the value of 1 followed by 100 zeros. But by mistake they thought the spelling was "google" and thats what they kept the name as. Obviously the "googol.com" was already taken.<br /><br /><span style="font-weight: bold;">The strength of google</span><br />1) <span style="font-weight: bold;"><span style="font-style: italic;">PageRank algorithm</span> </span>- Instead of ranking search result pages based upon the number of hits, it rates the pages based upon "reference". A webpage is ranked higher if its referred(links from other webpages) more number of times. Weightage is also given to the webpage which referred it .<br />2) <span style="font-weight: bold; font-style: italic;">Googleware</span> - Unique network built on propreitory software and hardware. All computers in Googleware is custom built by google for greater performace of the google software.<br />3) <span style="font-weight: bold; font-style: italic;">Self Cure Distributed Network</span> - One+One=Eleven. Thats the FUNDA they used. Instead of creating a single super-computer, they believed in the power of hundered small computers connected by googleware. Also if one of the computer was broken , the googleware is smart enough to bypass it and find another computer in the network to proxy it.<br />4)<span style="font-weight: bold; font-style: italic;">Simple and User Centric(More than User Friendly) UI</span> -The website proves it.<br />5)<span style="font-weight: bold; font-style: italic;">Keeping the Personal and Professional space well marked</span> - Personal here means the Core of the software- The Search Result. Professional means - Bussiness oriented - The Adware. Not only the they have clearly marked in the space in their web-world but they also run the company in the same principle.<br /><br />There is so much I learnt and want to write about Google. Hope I was a good writer. Will write about the where google is today and where my imagination can take google in future in the next blog.Puspendu Palhttp://www.blogger.com/profile/15894595789972226994noreply@blogger.com1tag:blogger.com,1999:blog-11927223.post-1137908855145700042006-01-21T21:33:00.000-08:002006-01-21T21:47:35.206-08:00My own domain ... eeeeehoooooooo!Jan 21 , 2006. <br />Woke up from bed with a freshness of mind and body like I haven't felt long before. Thats good. What did I do different. Ooh! Last night the music and booze at Citron was intoxciating. Citron Rocks!!! Every time we go to Citron we feel a fresh vibe in the air, the music , the HOT chicks,their moves , drinks , bartender, the tango ,and the BRUBS.... Driving back to home, we had a DDLJ fest.<br /><br />Within first one hour I searched for my domain,researched for best website to buy from, bought it, and even my own domain was up and running "www.puspendu.com". Pretty impressed by the spontaneity of domain.yahoo.com. Its cheap too..<br />Wow I have an address in the internet. Feels good!<br /><br />Hope I will be frequent in expressing myself now..Puspendu Palhttp://www.blogger.com/profile/15894595789972226994noreply@blogger.com0tag:blogger.com,1999:blog-11927223.post-1119154863005554462005-06-18T21:05:00.000-07:002005-06-18T21:31:25.383-07:00SHE - Rabindra Nath Tagore<div align="center"><strong>She</strong><br />She who ever had remained in the depth of my being,<br />in the twilight of gleams and of glimpses;<br />she who never opened her veils in the morning light,<br />will be my last gift to thee, my God, folded in my final song.<br />Words have wooed yet failed to win her;<br />persuasion has stretched to her its eager arms in vain.<br />I have roamed from country to country keeping her in the core of my heart,<br />and around her have risen and fallen the growth and decay of my life.<br />Over my thoughts and actions, my slumbers and dreams,<br />she reigned yet dwelled alone and apart.<br />Many a man knocked at my door and asked for her<br />and turned away in despair.<br />There was none in the world who ever saw her face to face,<br />and she remained in her loneliness waiting for thy recognition. </div><div align="center"> </div><div align="center"> </div><div align="center"></div><div align="center"></div><div align="center"></div><div align="center"></div><br><br><div align="left">This is a poetry by Takhur (R.N. Tagore)</div><div align="left">Whom did he write about? she?? who is she?? Was she his first love? first crush??. Who was she?? Was she a widow?? was she married?? Was Tagore's first love a married woman or a widow?? Well great people in the world have great thoughts(generally different from the normal man of the time.). Widow marriage/love was not accepted for the society in India at that point of time. So was Tagore in Love of a lady who was married? or may be a widow? whose annonimity was a security for the lady?? She was so beautiful and she was so pretty , Tagore even thought that it will be a gift to GOD which he desires. Was she so beautiful?? I she more beautiful than todays Aish?? I am sure she was... I wish Tagore had named her. Some name. like Monalisa... hmm no an Indian name .. like "PARI" . Just thinking , if he would have given the name , it would be the most popular name in Indian History rather than "MAYA" which is the post popular baby name in Indian Americans.... I hope he(Tagore) was more open than hiding his feelings for the pretty widow he loved in his deep core of heart...</div><div align="left"> </div><div align="left"> </div><div align="left"></div><div align="left"></div><div align="left"></div><br><br><div align="left">-- This is my view, my space, if you like it please leave a message if not dont create a big scene as every human in this planet has a right to express his/her view and not be screwed for that...</div><div align="left"> </div><div align="left"></div><div align="left"></div><br><div align="left">Thank YOU .. June 19 , 2005 12:20 AM (After 3 pegs of Glenfidditch ..)</div><div align="left"> </div>Puspendu Palhttp://www.blogger.com/profile/15894595789972226994noreply@blogger.com1tag:blogger.com,1999:blog-11927223.post-1116181695113781282005-05-15T11:26:00.000-07:002005-05-15T12:38:36.250-07:00Creating Javascript Dynamic Tabs and Layer<p>This is an example where you can create your tabs and layers dynamically. Then move from one tab to another which displays the associated layer. </p><p>Generally in the web we can find how to dynamically move from one tab to another, but not how to dynamically create tabs and layers . I had to do this for one of my project and therefore thought to add this for reference. </p><p>This example works Netscape, IE and Firefox. This uses the Javascript DOM which is a web standard to create the dynamic layers. </p><p>The code is pretty simple and it has been arraged properly for reuse and customization. <a href="http://puspendu.myblogsite.com/blog">Click here</a> to see the working version and get the code .For more questions u can email me to <a href="mailto:puspendu_p@yahoo.com">puspendu_p@yahoo.com</a></p><p></p><p>Thanks, Please drop by your comments. </p><p></p>Puspendu Palhttp://www.blogger.com/profile/15894595789972226994noreply@blogger.com0tag:blogger.com,1999:blog-11927223.post-1114807724420468172005-04-29T13:48:00.000-07:002005-05-11T19:32:35.750-07:00Factory PatternI have been reading lately about the Factory design pattern in Java. Most of the text i read in web describes what Factory pattern is <strong>but not HOW to use the design pattern?</strong> Or describe how it helps in future changes to your application . I felt a need to add a note on it on my first blog here.<br /><br /><strong>How to use a Factory Design Pattern ?</strong> <strong>How it helps in future changes to your application? Use Case (Where to use?</strong> - Think about a requirement where you need to create documents. Your application uses a document object . You can have methods like - read(),write() methods or any other methods u need in document object. But there are different ways (implementation) u can create a document object. For example creating a document object from a file, from an input stream. But its not limited to only these 2 implementations. There could be other ways to create document like getting it from other application etc. So you want to develop your application such that it has 2 implementation of creating a document and support future implementation of document creation.<br /><br />Here is how your client application should look like.<br /><br /><span style="font-family:courier new;">public class DocumentUser<br />{<br />Document doc ;<br />DocumentFactory docFactory ;<br />public Document getDocument()<br />{<br />return doc;<br />}<br /><br />public void setDocument()<br />{<br />return docFactory.createDocument();<br />}<br /><br />public void setDocFactory(DocumentFactory docFactory)<br />{<br />this.docFactory = docFactory;<br />}<br /><br />public static void main()<br />{<br />DocumentUser docUser = new DocumentUser();<br />DocumentFactoryFile docFactory = new DocumentFactoryFile();<br />//DocumentFactoryStream docFactory = new DocumentFactoryStream();<br />docUser.setDocumentFactory(docFactory);<br /><br />Document doc = docUser.getDocument();<br />doc.read();<br /><br />}<br />}<br /></span><br /><br />In the above class we havent actually created the document object inside the DocumentUser, instead have moved the actual instantiation to the DocumentFactory classes. And we have made the DocumentFactory object as a class variable of the DocumentUser object. In doing the above 2 changes we have made our DocumentUser classs independent of the Document Creation implementation. You can add or change any document implementation to the DocumentUser (as shown in the main method - just uncomment the commented line and comment the upper line.) So now your application(DocumentUser) is independent of Document creation or implementation.<br /><br /><strong>How to implement Factory Design Pattern? </strong><br />So now since you know how to use factory design pattern , you can go ahead and create your first implementation of Factory Design Pattern. There are lot information in the web to explain how to create the Factory design pattern, but just for your convinience and my reference i am writing the next block.<br />There are basically 2 ways to implement the Factory Design pattern.<br /><strong>1) Concrete Class</strong><br />In this implementation you create a BaseFactory Class. Have a create() method with default implementation. Then any sub classes extending from the BaseFactory class can over-ride the create method if needed. Else it will use the default implementation of the BaseFactory Class. This implementation is used when you know the default implementation of the object creation.<br /><br /><span style="font-family:courier new;">public class BaseDocumentFactory </span><br /><span style="font-family:courier new;">{ </span><br /><span style="font-family:courier new;">public Document createDocument()</span><br /><span style="font-family:courier new;">{</span><br /><span style="font-family:courier new;">return new DocumentBase();</span><br /><span style="font-family:courier new;">}</span><br /><span style="font-family:courier new;">} </span><br /><span style="font-family:courier new;"></span><br /><span style="font-family:courier new;"></span><br /><span style="font-family:courier new;">public class DocumentFactoryFile extends DocumentFactory </span><br /><span style="font-family:courier new;">{ </span><br /><span style="font-family:courier new;">public Document createDocument() </span><br /><span style="font-family:courier new;">{ </span><br /><span style="font-family:courier new;">return new DocumentFile(); </span><br /><span style="font-family:courier new;">} </span><br /><span style="font-family:courier new;">} </span><br /><span style="font-family:courier new;">public class DocumentFile implements Document </span><br /><span style="font-family:courier new;">{ </span><br /><span style="font-family:courier new;">... </span><br /><span style="font-family:courier new;">... </span><br /><span style="font-family:courier new;">...<br /><br />public String read()<br />{<br />System.out.println("File Implementation of document.");<br />}</span><br /><span style="font-family:courier new;">} </span><br /><br /><span style="font-family:courier new;">public class DocumentBase implements Document<br />{<br />...<br />...<br />... </span><br /><span style="font-family:courier new;">public String read() </span><br /><span style="font-family:courier new;">{ </span><br /><span style="font-family:courier new;">System.out.println("Base Implementation of document."); </span><br /><span style="font-family:courier new;">}<br />} </span><br /><br /><strong>2) Abstract Class</strong><br />In this implementation you create an abstract class with an abstract method ex - create() . The classes extending from the the abstract class actually does the creations of the object. This type of implementation should be used when the base class is not aware of the implementation ans there is no default implementation .<br /><span style="font-family:courier new;"><br />public abstract class DocumentFactory<br />{<br />public abstract Document createDocument();<br />}<br /><br />public class DocumentFactoryFile extends DocumentFactory<br />{<br />public Document createDocument()<br />{<br />return new DocumentFile();<br />}<br />}<br /><br />public class DocumentFile implements Document<br />{<br />...<br />...<br />... </span><br /><span style="font-family:courier new;"></span><br /><span style="font-family:courier new;">public String read()</span><br /><span style="font-family:courier new;">{</span><br /><span style="font-family:Courier New;">System.out.println("File Implementation of document.");</span><br /><span style="font-family:courier new;">}<br />}<br /></span><br /><span style="font-family:courier new;"><br /></span><span style="font-family:courier new;"></span>Well you must be thinking cant we use an "Interface" and all Factory Classes must implement the create method. Answer - Yes you can. I think its just a variant of the Abstract Class type.<br /><br /><br />-ANY COMMENT IS APPRECIATED!!!!!Puspendu Palhttp://www.blogger.com/profile/15894595789972226994noreply@blogger.com0