Friday, October 4, 2013

Turn on controlfile autobackup on in oracle

Because during the database recovery process it is very important to have the recent copy of the control file, RMAN provide you with the ability to automatically backup this file whenever there is a change in your database. However by default this feature is off so you have to turn on manually.

  1. Start RMAN and connect to a target database and a recovery catalog (if used).
  2. Check the status : rman>  SHOW CONTROLFILE AUTOBACKUP;
  3. Turn it on:  rman> CONFIGURE CONTROLFILE AUTOBACKUP ON;
  4. Check the status again, this time it should be on.
  5. For more about RMAN configuration parameters, just type : rman > SHOW ALL;

Motivaitons as a Life perspective changer ?

It is commonly said that no wise old man would want to become younger. What does it really mean ? As life goes on we go through many ups and downs, success and failure. These series of events contribute to shape up us. Learning along this hard time make a till then naive person a wise man/woman. What you about those young one or old have not lived such scenarios. How can they learn ? They can learn from the wise one sayings. I have found some nice motivations that I would like to share with you today.

Thursday, October 3, 2013

Wealth creation through software



The pursuit of wealth is as old as human history and its creation throughout the human civilization has evolved gradually from agricultural expansion, industrial revolution to the current information technology era driven mostly by sophisticated information systems built from software. Given that wealth is the abundance of valuable resources or material possessions, or the control of such assets and software being a general term for the various kinds of programs used to operate computers and related devices.  What are the contributions and impacts of software to the creation wealth? 

         Wealth creation means collecting some available resources in a strategic manner in order to generate surplus earnings usually over a long period of time. The surplus earning is what is referred to as wealth and it is used to acquire more resources to become more productive. But initially we have to start from nothing to something, by transforming our assets to more a valuable ones that other may need or want.  Therefore the people or the entity pretending to generate wealth must have the knowledge, skill or techniques, as well as facilities and dedicated environments.  Among this category of people figure programmers, able develop useful programs from a simple set of machine-readable instructions that directs a computer’s processor to perform specific operations. 

     The extensive usage of these programs called software nowadays is quickly placing them as a potential and unshakable factor for promoting development and production. However software need to be deployed effectively by giving adequate infrastructure, convenient policies and expertly skilled people who  can use it to find innovative ways of meeting customers’ needs and wants, and so leading to individuals or organizations creating wealth. When we look at history, it clearly appears that most people who got rich by creating wealth did it by developing new technology, e.g.: Microsoft, Oracle, IBM.
           In the same ways as presented in [1], even though money is not wealth, at the individual level "Wealth creation is a desire to be rich, desire to have control over the aspects that affect financial life, a desire to command respect with the control of money power. Wealth creation is not material, it is spiritual by nature with the ability to produce or manifest material wealth. Globalisation, outsourcing and world flattening advances in technology continue to rock the software industry in ways that will significantly alter the way technologists do business."  The software industry through offshoring, outsourcing and job migrations is also dragging many concerns regarding the future of computing related careers.

             By positioning itself as the leading factor for wealth creation, software through information technology is bringing tremendous, diversified changes and consequences to our life style and daily lives, and there is a need for a sustainable and precautious utilization.
Reference: [1] S. Kalaiselvi, Financial Performance in Software Industry, p.276

Tuesday, October 1, 2013

Software programming Vs Software engineering

Understanding these two similar concepts may help you paving the way for your future career.
First what is software programming ?
 How do you become a software programmer at least from a formal point of view. Generally you need to complete an undergraduate programme or a bachelor in computer science (CS). CS teaches you how to write clean code and bugs-free code.Computer science programs tend to keep the core small and then expect students to choose among more advanced courses. It also teaches various concepts relating to computer hardware and software basics, networking , security, electrical and electronics fundamentals, database and more. 
                       CS graduates are often comfortable with some of the following programming languages: C/C++, Java, .NET platform, Python, Perl and so popular trio of HTML/CSS/Javascript. With a good command of skills, a CS graduate will easily translate any customer requirements or business logic into a set of computer codes. This simple competence can allow them to grap their first jobs.
  However these skills will reveal very soon to be insufficient . Technology itself is not enough, after all while working somewhere, we need to be paid, we belong to society and a business. Whatever activity or operation carried within a given business needs to add a business value for its survival. Software programming creates of course good products and applications, but there are a lot more expectations. And that is How can we create wealth out of software programming ?
Engineering is the application of scientific, economic, social, and practical knowledge in order to design, build, and maintain structures, machines, devices, systems, materials and processes. Software engineering  (SE) aims to focus on a range of topics that are essential to the SE agenda (problem modeling and analysis, software design, software maketing, software verification and validation, software quality, software process, software management, etc.). Equipped with these knowledges, we can then use software programming as raw material for the software business. As a business we are dealing with teams of  programmers and a large set of other stakeholders. this compel us to really create products and applications that customers want and need (wealth) while maximizing the profits and reducing the costs.
       To conclude I can said that SP teaches us how to code , but SE teaches us how to think big out of the box and therefore use SP as a tool for wealth creation.  I will continue this discussion on my next post as soon as time avails.

Thousands or comma separator in JSF

Are you working with a financial application and now thinking about formatting your result with thousand separator ? Then don't worry. Don't even think about using javascript or whatever folks out there. In fact the converter offered by jsf make it easy to the job and even more given the list of other attributes available.

Suppose your total is declared as follows:

BigDecimal annualBugdet;

your setter and getter may also be defined :

public void setAnnualBugdet( BigDecimal annualBugdet) {

 this.annualBugdet = annualBugdet.setScale(2,RoundingMode.HALF_EVEN);
}


public BigDecimal  getAnnualBugdet( BigDecimal annualBugdet) {


 return annualBugdet;
}


your bean is then called from the view as :

<h:outputText value="#{yourBean.annualBugdet}" > <f:convertNumber groupingUsed="true" maxFractionDigits="2" currencySymbol="$" > </h:outputText>