The one thing I REALLY love about distributed version control is the ease of branching. There is nothing like it. If you are currently on SVN you know what a pain it is to check out another branch and switch your workspace over, or (gag) try to roll back your local. Not so wtih Git […]
Check this line out I received from a mouth-breather blindly spamming developers: Ideal Candidates will have REST or RESTful web services, Spring, Linux OS and a Linkedin Profile. Woah. Since when did having a LinkedIn profile become a necessity for being a developer? More companies are coming out with pre-screen personality tests, requirements to obtain your […]
So — you are using distributed repositories (DRs) like Git or Hg. And you are thinking — why the heck use branching? Branching is great for local one-offs but I can copy/paste for that!” I admit that I have struggled with this questions as well — for instance thinking that SVN is just as […]
The title is the remainder for evaluating the numerical sequence 9876543210 as an Integer in Java. This number lies outsides the bounds of Integer.MAX_VALUE for Java; it’s an overflow error. 1286608618 is the overflow remainder for casting 9876543210 as an Integer in Java. I ran across this error in some code I was working on […]
Firefox. Dang it. Coding some javascript and waiting for a build, I was checking out my OK Cupid profile and wiped my Chick-Fil-A grease on my LA Clippers t-shirt when someone walked up and said – “OMG!!! You are using Firefox! What a moral outrage!” Crap. Can’t win here. Time for a new third browser. […]
Like many, I use Xmarks plugins to manage my bookmarks across multiple web browsers. Recently the Xmarks install on Chrome was breaking. I sync anything and got a 503 error. After spending some time looking into it and finding no answer on the Xmarks site or anywhere else, I decided to reinstall the plugin, which […]
Tonight is the first of the hands-on developer meetings – Ale and Algorithms – for our EC Tech Meetup at the Milwaukee Burger joint in Eau Claire. 7 pm. Tonight I’m hoping to work on some problems including Fizz Buzz Armstrong Numbers Prime Number detector Reverse a String without API use Since the meeting is […]
Our team had some of us working on master in our git repository, and a refactor was done in a branch so the team lead decided we should all move to from the master to the branch because the merge was painful for this particular feature. If you have this situation and a few commits […]
If you shift-ctrl-f or have a save function set to reformat your code in Eclipse, you stop it from formatting a java comment by using a “-” at the top: /*- * Ignore Formatted Code Block * * myMethod() * * Main Point * sub point * * @method * @paramater * @exception */ If […]
Here are two techniques for debugging tests for Java Maven applications running Tomcat as you work in Eclipse. There’s usually a problem with having two processes running — your test and then your production code (Tomcat) in two different processes. These tests are integration style tests that run code against something running in a Tomcat […]