Colin Barker, of ZDNet, wrote an interesting article about the biggest IT disasters. Probably, the most interesting thing to notice is the number of software bugs at the top!
- Functional bug;
- Functional bug (overflow);
- Switch bug (network congestion);
- Outdated software;
- Functional bug (different metrics used);
- Functional bug (wrong math);
- Functional - potential - bug (y2k)
- Hardware problem;
- Bad planning;
- Network adapter bug (network congestion);
In: ZDNet
Click here to check some simple improvements to Java.
We will have String Switches, Chained Invocations and Improved Catch Clauses!
Your security teacher wasn’t insane! Today, someone remembered us that we have in our browser the biggest MD5 dictionary of the world!
“A security researcher at Cambridge was trying to figure out the password used by somebody who had hacked his Web site. He tried running a dictionary through the encryption hash function; no dice. Then he pasted the hacker’s encrypted password into Google, and voila — there was his answer. Conclusion? Use no password that any other human being has ever used, or is ever likely to use, for any purpose. I think.”
In: Slashdot
Why write the same code again?
Google Code Search is the answer to your prayers. With a simple query “lang:c fibonacci“, we find thousands of solutions written in C to the Fibonacci problem.
How many times you had to write this code:
Map<Something, List<OtherSomething> mapSomethingToListOfOtherSomething = new HashMap<Something, ArrayList<OtherSomething>(); ?
It’s a perfect valid solution when we want to map a key to a collection of objects!
And how many times you had to write this:
Map<MyKey, MyValue> mapKeyToValue;
Map<MyValue, MyKey> mapValueToKey; ?
In some cases we may want this behavior!
Map iterators, maps ordered by objects insertion, map values equality by identity (==), and more. Check the Apache Commons Collections framework.