tag:blogger.com,1999:blog-90768292024-03-13T15:10:06.966-07:00Durga's BlogDurga Prasad Mohapatrahttp://www.blogger.com/profile/17171550170662533779noreply@blogger.comBlogger12125tag:blogger.com,1999:blog-9076829.post-58940523672802192602010-12-08T00:50:00.000-08:002010-12-08T00:50:22.834-08:00Nice Article -- Really Rich behaving poorlyThis is a nice article by Sagarika Ghose, Really touched my heart.<br />
<a href="http://ibnlive.in.com/blogs/sagarikaghose/223/62112/sagarika-ghoses-blog-rich-behaving-poorly.html?from=tn">http://ibnlive.in.com/blogs/sagarikaghose/223/62112/sagarika-ghoses-blog-rich-behaving-poorly.html?from=tn</a>Durga Prasad Mohapatrahttp://www.blogger.com/profile/17171550170662533779noreply@blogger.com0tag:blogger.com,1999:blog-9076829.post-3342214304240899822010-12-07T05:34:00.000-08:002010-12-07T05:34:45.744-08:00Future is CloudThere is a nice article on BBC about cloud<br />
<br />
<a href="http://www.bbc.co.uk/news/business-11931841">http://www.bbc.co.uk/news/business-11931841</a>Durga Prasad Mohapatrahttp://www.blogger.com/profile/17171550170662533779noreply@blogger.com0tag:blogger.com,1999:blog-9076829.post-75119261275344366252010-09-16T03:29:00.001-07:002010-09-16T03:32:13.184-07:00Nice book for best practicesThis is a nice book from MIT. Its must read for every programmer.<br /><a href="http://mitpress.mit.edu/sicp/full-text/book/book-Z-H-10.html">http://mitpress.mit.edu/sicp/full-text/book/book-Z-H-10.html</a>Durga Prasad Mohapatrahttp://www.blogger.com/profile/17171550170662533779noreply@blogger.com0tag:blogger.com,1999:blog-9076829.post-33113020886530880922010-09-16T00:22:00.001-07:002010-09-16T00:24:59.836-07:00Article about experience in Cloud ComputingThis is a nice article about experience in developing applications in GAE (Google Application Engine)<br /><a href="http://klotys-welt.blogspot.com/2010/05/dont-believe-hype.html">http://klotys-welt.blogspot.com/2010/05/dont-believe-hype.html</a>Durga Prasad Mohapatrahttp://www.blogger.com/profile/17171550170662533779noreply@blogger.com0tag:blogger.com,1999:blog-9076829.post-23243068150087589382010-09-07T07:45:00.000-07:002010-09-07T08:52:37.984-07:00Cloud Computing<strong>Defination:</strong><br />Cloud computing is a set of technologies that allows computing applications and data to be exposed as a set of services from a pool of underlying resources.<br /><br />The foundation of cloud computing comprises of data centers (servers, storage, networking), the business applications and middleware, virtualization software and of course opearting systems.<br /><br /><strong>Benefits:</strong><br />Scalability: Cloud computing allows an organisation to scale up or down their IT requirment quickly and efficiently without hampering productivity. It cuts down the time involved in buying and setting up the additional hardware, software and other necessary resources everytime a new service is required.<br /><br />Lower infracture cost: As Cloud computing is available in pay as you go basis and the resources can be pulled out and restored dynamically, a lots of cost related to maintainance, administration etc are reduced.<br /><br />Better Utilization: As the IT infracture is nothing but pool of resources. It reduces wastage and improves resource utilization. It also cuts down the downtime.<br /><br /><strong>Deployment models:</strong><br />There are basically three types of cloud - Public, Private and Hybrid.<br />Public Cloud: This is essentially an external cloud, provided by service provider. The public cloud is available in pay as you go basis. The benifits of moving to public clould are many. with the key one being that you don't have to worry about managing the underlying IT infracture.<br /><br />Private Cloud: A Private cloud refers to having your own cloud computing infrastructure. It provides better control over the entire process of information processing. This helps reduce costs, Improves response time, and provides greater flexiblity.<br /><br />Hybrid Cloud: Its a cloud computing environment that consists of internal/ external providers i.e. a mix of public and private cloud.<br /><br /><strong>Cloud services: </strong><br />Cloud Services are devided into three parts - SaaS, IaaS, and PaaS.<br />SaaS: Its the software application as a service through the cloud.<br /><br />IaaS: Its infracture as a service through the cloud. The resources comprises of storage, hardware, servers, networking components etc.<br /><br />PaaS: Its Platform as a service through cloud. This components of the cloud computing can be defined as a set of software and product development tools that allows developer to create applications on the provider's platform.Durga Prasad Mohapatrahttp://www.blogger.com/profile/17171550170662533779noreply@blogger.com0tag:blogger.com,1999:blog-9076829.post-48200740279941030452010-04-18T11:58:00.000-07:002010-04-19T12:20:21.716-07:00Master Data Management(MDM)<span class="Apple-style-span" style="font-size:small;">After a long time I am writing this blog to keep myself learning something new and keep my self busy.</span><div><span class="Apple-style-span" style="font-size:small;"><br /></span></div><div><span class="Apple-style-span" style="font-size:small;">Now a days I am experimenting about the Master Data Management(MDM). Which is a hot topic now a days.</span></div><div><span class="Apple-style-span" style="font-size:small;"><br /></span></div><div><b><span class="Apple-style-span" style="font-size:small;">What is MDM?</span></b></div><div><span class="Apple-style-span" style="font-size:small;">MDM has the objective of providing process for collecting, Aggregating, matching, consolidating, quality-assuring, persisting and distributing the data throughout the organisation to ensure consistancy and control in the ongoing maintenance and application use of this information(Wikipedia).</span></div><div><span class="Apple-style-span" style="font-size:small;"><br /></span></div><div><span class="Apple-style-span" style="font-size:small;"><b>Advanteges of using MDM</b></span></div><div><span class="Apple-style-span" style="font-size:small;"><b><br /></b></span></div><div><span class="Apple-style-span" style="font-size:small;"><b>* </b>There will not be any redundancy of data across the organisation.</span></div><div><span class="Apple-style-span" style="font-size:small;"><br /></span></div><div><span class="Apple-style-span" style="font-size:small;">* The problem with quality and consistency in data will be removed. so that there will not be any issues with reconciling the data.</span></div>Durga Prasad Mohapatrahttp://www.blogger.com/profile/17171550170662533779noreply@blogger.com2tag:blogger.com,1999:blog-9076829.post-1111653366798255162005-03-24T00:31:00.000-08:002005-03-24T01:54:43.526-08:00Paul Graham's EssaysThese are the links for <a href="http://www.paulgraham.com"> Paul Graham's</a><br />1. <a href="http://paulgraham.com/college.html">Undergraduation</a><br />2. <a href="http://paulgraham.com/start.html">How To Start a Startup</a><br /> <br /> These are good essays for progammers. <a href="http://www.catb.org/~esr/faqs/hacker-howto.html">This</a> is a good book to become a good hacker.Durga Prasad Mohapatrahttp://www.blogger.com/profile/17171550170662533779noreply@blogger.com0tag:blogger.com,1999:blog-9076829.post-1109066077181381292005-02-22T01:47:00.000-08:002005-02-22T03:57:35.456-08:00Speech of Alex Stepenov<b>(This is the summary of speech Given by Alex Stepenov (Principal Scientist, Adobe Systems) at Adobe India on 30 Nov 2004. ) </b><br />I copied and pasted from <i>Freshers Forum</i> site because it will always help to become a good programmer<br /><br /><b>1. Study , Study and Study</b><br /><br /> * Never ever think that you have acquired all or most of the knowledge which exists in the world. Almost everybody in US at age of 14 and everybody in India at age of 24 starts thinking that he has acquired all the wisdom and knowledge that he needs. This should be strictly avoided.<br /><br /> *You should be habituated to studies...exactly in the same way as you are habituated to brushing teeth and taking bath every morning. The habit of study must become a ‘part of your blood’. And the study should be from both the areas: CS, since it is your profession, and something from non-CS...Something which doesnot relate to your work. This would expand your knowledge in other field too. A regular study, everyday, is extremely essential. It doesnot matter whether you study of 20 minutes of 2 hours, but consistency is a must.<br /><br /> * You should always study basics and fundamentals. There is no point in going for advanced topics. When I was at the age of 24, I wanted to do PhD in program verification, though I was not able to understand anything from that. The basic reason was that my fundamental concepts were not clear. Studying ‘Algebraic Geometry’ is useless if you donot understand basics in Algebra and Geometry. Also, you should always go back and reread and re-iterate over the fundamental concepts. What is the exact definition of ‘fundamental’? The stuff which is around for a while and which forms basic part of the concepts can be regarded as more fundamental. Of course, everybody understands what a fundamental means.<br /><br /> *Here are few books which I would strongly recommend that every CS professional should read and understand. i. “Structure and Interpretation of Computer Programs” by Albenson and Sussman I personally donot like the material present in this book and I do have some objections about it but this is the best book I have ever seen which explains all the concepts in programming in a clear and excellent way. This book is available online at <a href=http://mitpress.mit.edu/sicp/>http://mitpress.mit.edu/sicp/</a> <br /><br /> ii. Introduction to Computer Architecture: by Hennessy and Patterson. How many of you have shipped the programs by writing them in assembly? A very good understanding of basics of how a computer operates is what every CS professional must have. H&P Wrote two books on CA. I am talking about their first book, the introductory text for understanding basic aspects of how a computer works. Even if you feel that you know whatever is written in that book, donot stop reading. It’s good to revise basics again and again.<br /><br /> iii. “Fundamentals of Programming” by Donald Knuth. The core of CS is algorithms and Data structures. Every CS professional must have the 3 volumes of Knuth’s Book on programming. It really doesnot matter if you take 30 years of your life to understand what Knuth has written, what is more important is that you read atleast some part of that book everyday without fail.<br /><br />iv. Introduction to Algorithms by Cormen, Leiserson and Rivest This book should be read daily to keep your concepts fresh. This is the best book for fundamental concepts in algorithms.<br /><br /><b>2. Learn Professional Ethics</b><br /><br /> * As a CS Professional, you are morally obliged to do a good job. What this means is that you are supposed to do your job not for your manager but for yourself. This is already told in Bhagwatgeeta : Doing duties of your life.<br /><br /> * The direct implication of this is: never ever write a bad code. You don’t need to be fastest and run after shipping dates; rather you need to write quality code. Never write junk code. Rewrite it till it is good. Thoroughly test every piece of code that you write. Donot write codes which are “sort of allright”. You might not achieve perfection, but atleast your code should be of good quality.<br /><br /> * Let me quote my own example in this context. You might have heard about STL, The Standard Template Library that ships in with C++ compilers. I wrote it 10 years ago, in 1994. While implementing one of the routines in the STL, namely the “search routine”, I was a bit lazy and instead of writing a good linear order implementation of KMP which was difficult to code, I wrote a best quadratic implementation. I knew that I could make the search faster by writing a linear-order implementation, but I was lazy and I did not do that. And, after 10 years of my writing STL, exactly the same implementation is still used inside STL and STL hips with an inefficient quadratic implementation of search routine even today!! You might ask me: why can’t you rewrite that? Well...I cannot, because that code is no more my property!! Further, nobody today will be interested in a standalone efficient STL ..people would prefer one which automatically ships out with the compiler itself.<br /><br /> * Moral is, you should have aesthetic beauty built inside you. You should “feel” uneasy on writing bad code and should be ager to rewrite the code till it becomes upto the quality. And to the judge the quality, you need to develop sense regarding which algorithms to use under what circumstances.<br /><br /><b>3. Figure out your Goals</b><br /><br /> * Always aspire doing bigger things in life<br /><br /> * “Viewing promotion path as your career” is a completely wrong goal. If you are really interested in studying and learning new things, never ever aspire for being a manager. Managers cannot learn and study...they have no time. “Company ladder aspiration” is not what should be important for you.<br /><br /> * You might feel that you want to do certain things which you cannot do till you become a manager. When you become a manager, you will soon realize that now you just cannot do anything!<br /><br /> * You will have a great experience as programmers. But if you care for people and love people, you will never enjoy being a manager...most good managers are reluctant managers. If you see people as people, you cannot survive at management level.<br /><br /> * Always aspire for professional greatness. Our profession is very beautiful because we create abstract models and implement them in reality. There is a big fun in doing that. We have a profession which allows us to do creative things and even gives nice salary for that.<br /> * The three biggest mistakes that people usually make are aiming for money, aiming for promotion and aiming for fame. The moment you get some of these, you aspire for some more...and then there is no end. I donot mean that you shouldnot earn money, but you should understand how much money would satisfy your needs. Bill Gates might be the richest person in the world; he is certainly not the happiest. Our lives are far better than his.<br /><br /> * Find your goal, and do best in the job that you have. Understand that what is in your pocket doesnot matter...what is in your brain finally matters. Money and fame donot matter. Knowledge matters.<br /><br /><b>4. Follow your culture</b><br /><br /> I have seen the tradition that whatever junk is created in US, it rapidly spreads up in the rest of the world, and India is not an exception for this. This cultural change creates a very strong impact on everybody’s life. Habits of watching spicy Bollywood or Hollywood movies and listening to pop songs and all such stupid stuff gets very easily cultivated in people of your age...but believe me, there is nothing great in that. This all just makes you run away from your culture. And there is no wisdom in running away from your culture. Indian culture, which has great Vedas and stories like Mahabharata and Bhagwatgeeta is really great and even Donald Knuth enjoys reading that. You should understand that fundamental things in Indian culture teach you a lot and you should never forget them. Finally, I would like to conclude by saying that it’s your life...donot waste it on stupid things...develop your tests, and start the fight.Durga Prasad Mohapatrahttp://www.blogger.com/profile/17171550170662533779noreply@blogger.com1tag:blogger.com,1999:blog-9076829.post-1108629024665948682005-02-17T00:14:00.000-08:002005-02-17T09:14:49.453-08:00Apache Virtual HostThe <i> Virtual Host</i> is one of these helpful but often overlooked feature.With the help of virtual host we can run more than one domain in a single host having one or more static IP. It will be helpful by two ways It will reduce server cost and it will make web desiging easier.<br /><b>Why to create <i>Virtual Host</i></b><br /> Cost-effective:- Doing Virtual Host is cost-effective.We can use one machine with different names and doing different things. So, Instead of using more than one server for different purpose one server can do all the job.<br /><b>Vhost Configuration</b><br /> I have configured my computer for virtual hosts. i have added these lines in http.conf. As we know that as Apache starts it will read http.conf and it will create the virtual host.For creating virtual host i have given two DNS names to my computer.<br /><br /> 1.somesite.com<br /> 2.somesubsidery.com<br /><br />I have added these line in http.conf<br /><br />NameVirtualHost somesite.com:80<br />NameVirtualHost somesubsidery.com:80<br /><br />VirtualHost somesite.com<br /> ServerAdmin somename@somesite.com<br /> ServerName somesite.com<br /> DocumentRoot /var/www/parent<br /> Errorlog /etc/http/logs/error_log_parent<br /> Accesslog /etc/http/logs/access_log_parent<br />VirtualHost<br /><br />VirtualHost somesubsidery.com<br /> ServerAdmin somename@somesubsidery.com <br /> ServerName www.somesubsidiary.com<br /> DocumentRoot /var/www/subsidiary<br /> Errorlog /etc/http/logs/error_log_child<br /> Accesslog /etc/http/logs/access_log_child<br />VirtualHost<br /><br /> As default port is 80. I have given same port number to my two virtual host.Then i added all the above things to my http.conf.I restarted my apache.Then it will setup virtual host for me.Durga Prasad Mohapatrahttp://www.blogger.com/profile/17171550170662533779noreply@blogger.com0tag:blogger.com,1999:blog-9076829.post-1108404159250057342005-02-14T10:00:00.000-08:002005-02-14T10:04:17.353-08:00PostgreSQL vs MYSQL* Features. Here PostgreSQL has the upper hand. The stable version of MySQL does not support subqueries, stored procedures, subqueries, cursors or views, all of which PostgreSQL does. One of their more serious mistakes was for the MySQL developers to justify the exclusion of many of these features (and even more fundamental features such as referential integrity, still only partially integrated) by claiming that they were not necessary. Of course this is true in many cases, but to hardened DBA's many of these features are vital, and this lack gave MySQL a reputation as a 'toy' database, from which it is still recovering today. However, many of the contributors to the flame wars mentioned above have not been keeping up with what MySQL now offers - it does support transactions and referential integrity, in spite of what you read all the time! You can see the roadmap here. MySQL has committed to implementing all ANSI-SQL (standard SQL) features, so in about 2 years MySQL should support all of the listed features. So PostgreSQL seems to 'win' this one, but you need to consider whether you actually need these features. The Open Source databases claim the database market is becoming commoditized, and most databases offer all the features you need. So the other factors assume a greater importance.<br />* Support. Support can mean many things. MySQL is much more widely used, so many more applications support MySQL, and there is a larger community ready to assist you with problems, as well as more books and resources on MySQL. MySQL AB, the commercial company guiding MySQL, and who employ most of the developers, offer various levels of support contracts. Of course, PostgreSQL has active mailing lists, and there are commercial companies offering support as well, so you are not likely to go too far wrong with either.<br />* Ease-of-use. Another highly contentious issue. Debate usually goes along the lines of "A: MySQL/PostgreSQL is much easier to use because... B:You idiot. PostgreSQL/MySQL is just as easy because...". Often it is simply whichever one the person uses is the one that is easiest to use, which is not that helpful. An astronaut may find flying the space shuttle easier than writing a document on a PC, but that tells us more about them, not about how easier we would find either. If you are migrating to one of the databases, it depends where you come from. And, it depends on what you are doing. If you regularly use sub-selects or triggers, rewriting them in MySQL or a scripting language will seem unecessarily complex. PostgreSQL's extra functionality can translate into complexity if you do not require any of it. It also depends on what tools you are using - phpMyAdmin for MySQL is a well-developed tool, while phpPgAdmin is not as fully-featured. So if you are looking for a web interface in PHP, and for none of the features MySQL lacks, MySQL would be your choice here. But perhaps you do not need the extra features of phpMyAdmin? They both do everything you want!<br />* Stability. MySQL claims in its press releases to be extremely stable, but the 'word on the street' is that this isn't true. It is easy to blindly repeat mantras, but again, it depends on your needs. Running a website with 10 users a day? Even MS-Access would be stable! I have used MySQL on high-volume websites, both its non-transactional MyISAM tables, and the transaction-capable InnoDB table types. And yes, I have experienced table corruption numerous times, but this could always (I think!) be blamed on faulty hardware, and I have never had a problem recovering (with the simple REPAIR TABLE command turning me into a master DBA). MySQL is used in extremely high volume environments without problems. PostgreSQL's advanced features are more likely to be stable than the newer MySQL equivalents, having been implemented for longer. However, replication is much newer in PostgreSQL than MySQL, so the reverse applies. But here again, the supposed commoditization of databases means that database stability is taken relatively for granted, and the software tends to be a lot more stable than the hardware it relies on.<br />* Speed. MySQL aimed first to be a fast database, while PostgreSQL aimed to be a fully-featured database, and both are converging in the other's direction. Used appropriately, MySQL's MyISAM tables are indeed extremely lightweight.<br />* Existing skills. Where I work, we use MySQL because that is what we were running when I arrived. The team had MySQL skills, and it made sense to continue this. There was an ill-conceived attempt to move to Informix, but while the team battled to handle the move, I learned to tune MySQL (which taught me most of what I know about MySQL, and provided great case studies for my book), and the move was eventually shelved.<br />* Licensing. MySQL AB is often used as a model for Open Source companies attempting to make money. MySQL is released under the GNU GPL (General Public License), which requires derivative works to be similarly licensed, but also offers commercial licenses for those who do not want to be restricted in this way. PostgreSQL is distributed under the BSD license, which basically allows any use of the code as long as the credits are maintained. BSD vs GPL is another topic for a flame war!Durga Prasad Mohapatrahttp://www.blogger.com/profile/17171550170662533779noreply@blogger.com0tag:blogger.com,1999:blog-9076829.post-1100244211453828442004-11-11T23:17:00.000-08:002004-11-11T23:25:13.650-08:00First PostingToday "Diwali" Happy Diwalli To all my friends and Collegue
<br /> I started posting in this Blog.Thanks to Krishna that who has created for me this id.Today i started reading The Objected oriented concepts form PDF files given by Krishna and I have written my first C++ Program "Hello world".
<br />Durga Prasad Mohapatrahttp://www.blogger.com/profile/17171550170662533779noreply@blogger.com21tag:blogger.com,1999:blog-9076829.post-1099975076146243502004-11-08T20:32:00.000-08:002004-11-08T20:37:56.146-08:00Hello,World!I'm Durga Prasad Mohapatra currently working as a programmer in ETV.
<br />Durga Prasad Mohapatrahttp://www.blogger.com/profile/17171550170662533779noreply@blogger.com1