Vote 4

18 Ways To Become a Real $ Millionaire in a Virtual World - Second Life

October 3rd, 2008

What do you mean by a virtual world? A place where you can come and work and chat and play and leave. What if I tell you about a whole new world where you can live, breathe, play, sing, dance, do every damn thing you can do in this (sorry?) life of yours? And what if "I make you an offer that you can't refuse?" No I am no Godfather. Today, let me take you to a virtual world where you can be a REAL millionaire! The world I am talking of, may seem nonexistent unless you bump into your Second Life. You can earn real money from a virtual world and loads of it. You can be a millionaire in less than 2 years! You can earn hefty amount just by spending some time in the internet and you can even rule a world (let it be virtual for now) of your own and make your own rules. All of them and more @ Second life. And here I am with not 1 or even 2 but 18 unique ways to guide you to a hefty check in US dollars through Second life. So start living now! Read more (2025 words) »

Vote 6

Java: How To Use Enum in Switch

September 23rd, 2008

When using enums in a switch, it is almost natural to assume they will be used like a regular switch. Unfortunately to accomodate enums, Java had to enhance its specification and enums in switch behave differently than regular switch statements in two significant and non-trivial ways.

Read more (197 words) »

Vote 5

Discussion & Examples: Java enums versus public static final

September 23rd, 2008

Should we use to represent a constant String such as browser's user agent or simply use public static final String as before?
Read more (446 words) »

Vote 5

Java: How To Get Stacktrace of Any Local / Remote Java Process

September 23rd, 2008

You may run Java processes in the foreground or in many cases they may be run using cron jobs or during system startup, as background processes. How can you find out stacktraces of any running Java process? But first how can you even know their name & process id's?
Read more (312 words) »

Vote 3

How To Find Bash Script Directory Within Script

September 14th, 2008

One of the common challenges bash script writers face when writing a script which references files in the same directory (or its sub-directories) as the script file. As the script can be called from anywhere, you cannot use the current directory to refer to the files. You really need to refer to the directory the script is located. One way is to hardcode the script directory and set it in the installation script. But that fails when you don't have an installation script or when user moves the script directory to a different location. I am sure you will agree that it is a clumsy solution. Is there a better way?
Read more (269 words) »

Vote 5

Vodafone Adopts Java MoM for High Speed Mission Critical Messaging

September 9th, 2008

Vodafone Group Plc (www.vodafone.it) is arguably the world's leading mobile telecommunications company, with a significant presence in Europe, the Middle East, India, Africa, Asia Pacific and the United States through the Company's subsidiary undertakings, joint ventures, associated undertakings and investments. Vodafone has chosen FioranoMQ, Java Messaging server, for a mission-critical system delivering over 2500 messages / sec.

Read more (104 words) »

Vote 7

Core Java: How To Get Java Source Code Line Number & File Name in Code

September 8th, 2008

While debugging code Java programmers often use System.out.println(). It is important to write separate message in each System.out.println() so you can understand from the output where the problem lies.

Read more (167 words) »

Vote 4

Has there been any innovation in Computer Science in the last decade?

September 5th, 2008

I was having an argument with a friend from school, I met after 20 years. His point was in the last decade or so there hasn't been any real innovations in computer science.

Read more (167 words) »

Vote 1

Java: Why Braces in Finally?

August 29th, 2008

Why does finally have to have braces?

Read more (78 words) »

Vote 1

Why is Java import static brain dead?

August 29th, 2008

Let's begin with an example. Assume a class MQ is in the packageĀ  com.taragana.mq. The utlitiy class Util also belongs to the same package. I can import Util from MQ like this:

Read more (100 words) »