Skip to main content

Posts

Showing posts from 2011

Socialism : A simple test to understand it

An economics professor at a local college made a statement that he had never failed a single student before, but had recently failed an entire class. That class had insisted that Obama's socialism worked and that no one would be poor and no one would be rich, a great equalizer. The professor then said, "OK, we will have an experiment in this class on Obama's plan". All grades will be averaged and everyone will receive the same grade so no one will fail and no one will receive an A.... (substituting grades for dollars - something closer to home and more readily understood by all). After the first test, the grades were averaged and everyone got a B. The students who studied hard were upset and the students who studied little were happy. As the second test rolled around, the students who studied little had studied even less and the ones who studied hard decided they wanted a free ride too so they studied little.. The second test average was a D! No one was happy.

Harmful Girls : Way of looking

How it is harmful : Girls are beautiful, intelligent, and altogether wonderful creatures... at least for the most part. There are several harmful types of girls you should avoid dating to help save your emotional, physical, and even financial well being. These types of girls are usually selfish and/or have bad habits that make them harmful to date. To get the scoop on these types of girls and how to identify them. 1. Spoiled Brats : Spoiled brats make bad dating options because of their unrealistic expectations and unwillingness to acknowledge their flaws. If you decide to date a spoiled brat, you should expect to do a lot of work without getting any credit for it. 2. Players : Players will charm, seduce, and even date you, but they'll never start a real relationship with you. They're bad to date because they jump from guy to guy and don't offer any real long term potential. 3. Party Girls : Party girls aren't any good to date because they just love partying too

Feeling before of a your project to go live

If you are on an Implementation support, the only thing which you want is code freeze, so that you can relax a bit. Thanks to all us for the hard work we had done in last 6 months, we are close to code freeze. We are congratulated by our peers for the effort before Christmas. Although we are also delighted for making such a huge effort, and planned holidays, much deserved holidays after tiring 6 months. Thank God India Australia series is starting after this, else we would have just read the news, now we can be spectators. Firstly, I like to congrats ourselves for our terrific effort to bring the software on correct path. Hats off to our dedication, peer support and never say die attitude to make this happened. Its not easy without such an effort from the team that bank (NGP) is ready to GO LIVE on the said date. It proves if we work hard then even “Impossible” will say I’M’POSSIBLE. Three cheers to the team. This can only happen due to dedicated effort of team which is

India vs Australia : Most Awaited sporting event of the year

So, here comes the time for the most awaited Sports event of the year. Most of us will be in MCG for series opener to support our teams. I guess the series will be battle between Indian Senior Batters Vs Aussie young bowlers. Both teams are having injury problems. Some key players are out due to injuries but still series will have its own charm and will be full of excitement.  By looking at practice match stats, I am sure Sachin -- the master -- the best cricket player ever, will get his much awaited 100 th 100 in this series may be even in series opener. Boy believe me, he will have terrific series with the bat. I will be not surprise if he gets MOS (man of the series) award and if it happen really then India will have great chance to win the series.   May be this will be last series (Between Aus and India in Aus) for some of the great players of the decade like Dravid, Laxman, Ponting and Hussey. These guys will be ready to show their characters, mettle and prov

Banking Industry : Too much complicated

I decided to write on this topic, as I work in one of the largest Bank in Australia and I realized that providing a banking solution is very complex. As the technology is growing so rapidly, that one can't afford to provide a complete solution using a finite set of technologies.  And these days, its a habit of Big software companies that they sell all their available products to their clients. They try to integrate all available tools to make a product. In Banking Software Bank also thinks that if many systems are communicating to each other in live environment, chances of fraud are minimized. National Australia Bank is My Company's client. I personally feel that for a product like Next generation which is called as NGP in our terminology, still in developing state, is going to be a very great. As to provide such a testing environment to the product like NGP in its childhood days is not possible for small sector banks. But thanks to the testing team to test such a huge set o

Indian Media

When I reached melbourne, I thought atleast from television point of view Australia and India will be same. But, I was totally wrong. Here, news channels are only meant for news, not for entertainment like India. India must take action to curb the growing number of such entertainment channels. Most of the times they telecast something which cannot be termed as NEWS, and that story is telecasted as a BREAKING NEWS. I don't know how come all the stories telecasted by Indian News channels are termed as breaking news. Whenever Indian News channels got something to increase their TRP, they make it a news. But, when there is some serious news, they don't even telecast it or telecast it in flash. I don't want to highlight all, people know what our media is publishing. For example, Recently, 12 terrorists killed and a young officer martyred. A total of 5 lines in the leading dailies and a scroll on the news channels. Hard to imagine this is the same media which was crying lou

50 Most Romantic Things To Do With Your Girl Friend

We all know how to tret our girl friends, but do we really follow these thing. Read and jus think about your girl friend, whether we really did that or not. When you did that last time with your girl friend. The sunset together. Whispers to each other. Cook for each other. Walk in the rain. Hold hands. Buy small gifts for each other. Gift Roses. Find out their favorite cologne/perfume and wear every time you're together. Go for a long walk down the beach at midnight. Write poetry for each other. Hugs are the universal medicine. Say I love you, only when you mean it and make sure they know you mean it. Give random gifts of flowers/candy/poetry etc. Tell her that she's the only girl you ever want. Don't lie! Spend every second possible together. Look into each other's eyes. Very lightly push up her chin, look into her eyes, tell her you love her, and kiss her lightly. When in public, only flirt w/ each other. Put love notes in their poc

Joke- Never turst a Lawyer

One afternoon a lawyer was riding in his limousine when he saw two men along the roadside eating grass. Disturbed, he ordered his driver to stop and he got out to investigate. He asked one man, "Why are you eating grass? ""We don't have any money for food," the poor man replied. "We have to eat grass. ""Well, then, you can come with me to my house and I'll feed you," the lawyer said."But sir, I have a wife and two children with me. They are over there, under that tree. ""Bring them along," the lawyer replied. Turning to the other poor man he stated, "You come with us also."The second man, in a pitiful voice, then said, "But sir, I also have a wife and SIX children with me!" "Bring them all, as well," the lawyer answered. They all entered the car, which was no easy task, even for a car as large as the limousine was. Once underway, one of the poor fellows turned to the lawyer and said, "

Google Facebook Twitter Growth

This is buzz all around the net, that Google+ grown faster than Twitter and Facebook. Yeah it seems looking at the graphs and the overwhelming response of the users. It seems that Google+ reached 10 million users in just 16 days. Wow!! but how many are new users to Google, since many users are already associated with Google in some or the other way. Whenever Google introduces any new system, most of these users joined these systems. When Buzz is launched, then also number of Buzz users increased so rapidly. But with Facebook and Twitter, the scenario is bit different, they entered into the internet market and started attracting customers due to theri features. Now, most of the users are already get used to with social networking sites, hope Google+ with groups feature can take the advantage of all.

Boss vs Colleague

 Most of the Employees of every organization thinks that their colleagues are much better than their boss. But, does they really thinks so, or they just pretends so. These days, people used to search their feelings or thoughts on Google, as most of us considere Google to be our one of best friend. If colleagues are better than bosses, people might not have searched all these results mentioned below. Watch these Google results to have a better clearity, what people think, and whom they are inclined more. This might be wrong, as this is what people searched on Google, they might have a different opinion. Don't make any opinion on the basis of above results. This is just for fun.

Error messages while throwing exceptions

I was very concerned about exceptions, how they are thrown and handled. I define a proper error code before throwing some error. I never been to a production site, but this time I got a chance to be a implementation team. The way I handled my exceptions seems to be incomplete. Though, my error messages in exception was good, but it still missing a feature, which could help production people. Many of you might not aware of the very fact that, the logging level is severe in production. Then way you log the data in the codes is always helpful, but try to handle your error message for exceptions efficiently that you need not to enable logging to finer levels to analyze the issue. The errors must be self explanatory. Analyze the code snippet mentioned below: public void fetchCurrencyOffset(String bankCode, String branchCode, String currencyCode1, String currencyCode2) {             try {                   Map<String, Object> objectMap = new HashMap<String, Object&

Listener refused the connection due to NetExcepti​on

I was testing some piece of code for calculation of new date on the basis of a given pattern and the specified date. I wrote a method to automate the test cases to generates those patterns and calculate the new date for each date of the specified date of the range of years. Since there were around 1 million pattern test cases are possible, so I want to insert this data in database for any future reference. After creating a pattern I was inserting data of the pattern and the calculation date along with the calculated date. It was working fine. I was prepare to hit the start button now, after testing different patterns individually. I hit the run button and it started its executions, but in the middle, I got this error. java.sql.SQLException: Listener refused the connection with the following error:ORA-12516, TNS:listener could not find available handler with matching protocol stack       at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:419)      at oracle.jdbc.drive

Database usage in development and testing environment

In development environment we have access to the database in the read and write mode, where we can play with tables. Instead of writing simple queries to update any tuple, we use for update functionality of the PL/SQL. But it is a bad idea, since we are blocking other users who are operating on the same table, since for update table the lock on the full table, and noone is allowed to perform any operation untill the lock is released. select * from table_name for update; Instead of the above query write a simple update query. update table_name set column_to_set = value_to_set where column_where_condition = value_where_condition; This is better idea to practice, or you can simple create a query as mentioned below : update &table_name set &to_set_column_name = &value_to_set_column_name where &where_column_name = &value_where_column_name; This will help the user to input all the details at runtime. But still in the testing environment, when the developers don&#

Hash Outer Right Join

As mentioned in the earlier tips, outer join can be done by 3 different techniques. But, from Oracle 10g onwards, Oracle has started to provide the fourth technique to handle the outer join. ·          Nested loop outer join ·          Hash outer join ·          Hash outer right join (from Oracle 10g onwards) ·          Merge outer join Hash outer right join has been provided by Oracle from 10g version onwards. This technique has been introduced in order to overcome the design flaw of hash outer join. As per the definition of hash outer right join, the smallest of the two tables (where-in outer join is used) will be used to build the hash table, and the other table will be used as the probe table unlike hash outer join, wherein the size of the tables doesn’t play any role and the parent & child table must be used as hash & probe tables respectively. Hash outer right join will be preferred over hash outer join only if a child table(rows don’t need to be preserved) is outer-j