CATEGORY1

Category Archives: Uncategorized

Disadvantages of using GIT over other version control systems

         


Posted in Uncategorized | Leave a comment

First AngularJS Application

I created my first AngularJS application. It is a simple application that allows a user to create a pie chart. You can have a look at it in action if you click on this link : http://blue-walrus.com/pie-chart-creator/ I wanted a … Continue reading


Posted in Uncategorized | Leave a comment

Setting up an Oracle Database in Glassfish for JEE Applications

Setting up an Oracle database connection in Glassfish 4 is relatively simple, but can be confusing and a little frustrating at times. Hopefully this mini tutorial will get you up and running quickly and painlessly. Setup Pool Select Resources –> … Continue reading


Posted in Uncategorized | Tagged , , , | Leave a comment

Monty Hall Problem in Java

I recently stumbled across something called the Monty Hall Problem. It is a basic probability problem that seems mind blowingly non-intuative to most people. There are a lot of descriptions on this on the web, but basically the problem is … Continue reading


Posted in Uncategorized | Tagged , , | Leave a comment

java.lang.VerifyError: Illegal target of jump or branch … possible cause!

I got this error the other day. It usually happens when you have crazy methods which are too long. But in my situation that wasn’t the case. I found out through trial and error that I was throwing a RuntimeException … Continue reading


Posted in Uncategorized | Tagged | Leave a comment

Why Implements is ‘Evil’

I stumbled across this really old article titled ‘Why Extends Is Evil’ by Allen Holub. A solid bunch of OO practitioners out there seem to think along the lines of what this article is stating, namely, that using ‘extends’ is … Continue reading


Posted in Uncategorized | Tagged , , , , , | 5 Comments

Feng Shui Your Java Class

Just like some people clutter their aparments with abdominal exercise machines and informercial food processors, programmers also clutter their classes with well meaning, but ultimately useless features. You want to give the next visitor to your class a sense of … Continue reading


Posted in Uncategorized | Leave a comment

It’s Better to Gray Out… than it is to Fade Away

It’s quite often for a company to have a super-GUI, an enterprise level GUI that contains almost all the GUIs needed for the operation of the company. Often the GUI has a name like ‘ACME Internet Manager’, ubiquitous, because there … Continue reading


Posted in Uncategorized | Tagged , , , | Leave a comment

Yoda conditions in Java .. a dangerous technique

A common practice I have seen is the placing a constant on the left hand side of an equality statement (usually called a Yoda Condition). Typically the constant is a string, and this constant is being compared to some other object, or … Continue reading


Posted in Uncategorized | Tagged , , , , , | 2 Comments