m0smith's planet

February 27, 2010

Project portletUnit

cglib problems

If you get the following, the problem is the maven repository on java.net has a corrupted cglib.

Downloading: https://maven-repository.dev.java.net/nonav/repository/cglib/jars/cglib-full-2.0.2.jar
352b downloaded (cglib-full-2.0.2.jar)
[WARNING] *** CHECKSUM FAILED - Checksum failed on download: local = 'bf6c0a94ff26337817cc7e276e0176ceedade91f'; remote = '

To get around this, add the following to your settings.xml. It will exclude the java.net repositories that are directly referenced in the castor pom.


See log4j 1.2.15 points to nonfuctional maven-repository.dev.java.net packages breaking whole build for more info. Hopefully someone can clean up the java.net repositories.

by Matthew O. Smith on February 27, 2010 10:30 AM

February 11, 2010

Ferocious Flirting: Making Marriage Wonderful

Free Printable Greeting Cards Online � Birthday Cards

Just in time for Valentine's Day. Free Printable Greeting Cards Online (more...)

by Matthew O. Smith on February 11, 2010 08:53 AM

February 2, 2010

The Best Clean Humor on the Internet

Justice league under new management..

Justice league under new management..Originally uploaded by Gaks DesignsTry a Google Search for "Find Chuck Norris" and Press "I'm Feeling Lucky" (more...)

by Matthew O. Smith on February 2, 2010 03:16 PM

January 13, 2010

The most interesting thing of the moment

OhGizmo! � Archive � [CES 2010] RCA Airnergy Charger Harvests Electricity From WiFi Signals

OhGizmo! � Archive � [CES 2010] RCA Airnergy Charger Harvests Electricity From WiFi Signals: "This little box has, inside it, some kind of circuitry that harvests WiFi energy out of the air and converts it into electricity. This has been done before, but the Airnergy is able to harvest electricity with a high enough efficiency to make it practically useful: on the CES floor, they were able to (more...)

by Matthew O. Smith on January 13, 2010 09:55 AM

July 22, 2009

Signs of the Times

Massive quake moves NZealand closer to Australia - Yahoo! News

Massive quake moves NZealand closer to Australia - Yahoo! News: "A massive 7.8 magnitude earthquake last week has moved the south of New Zealand closer to Australia, scientists said Wednesday."

by Matthew O. Smith on July 22, 2009 06:25 AM

July 14, 2009

Software Ninja

3 Code Review Items

It is true, things do come in threes. Yesterday I had three code review related experiences.

1 - What was I thinking

I created a code review in Crucible to share with my team. when it came time to do the code review, Crucible hung. Strange. It has always been a good product, why should it have problems now? Answer: 768 files is probably not a reasonable code review. At just 10 minutes per file that would be 128 hours for the entire review.

Lesson learned: Keep the code review to a reasonable size both for the software and the people.

2 - Free book in the mail

I got a free book on code reviews in the mail. Best Kept Secrets of Peer Code Review is a compilation of 10 practical essays from industry experts giving specific techniques for effective peer code review. It is short but looks like a good read.

3 - 5.0 for 5 users for $5 for 5 days deal

While I am a big fan of Crucible, it is not free software, unless you work for a non-profit, like I do. It which case you can use it for free. A competitor of Crucible, CodeReviewer by Smart Bear Software is running a deal where you can get a 5 user license for $5.00. It has some interesting features. This comes from a conversation with a person at Smart Bear:

From a big-picture perspective, the two tools are similar: they automate the peer code review process. The biggest difference is the level of support for what we refer to here at Smart Bear as "pre-commit review." Both tools have good support for doing "post-commit" code review; in other words, creating a code review based on file revisions that have already been checked in to version control. From what we've seen in our customer base (over 20,000 licensed seats across Code Collaborator and Code Reviewer combined), about half of developers prefer to do pre-commit review and the other half do post-commit review.

Crucible supports pre-commit review, but not nearly as thoroughly as Code Reviewer. A key reason for that is that Crucible does *not* include a client-side application, with the exception of plugins that they do provide for the Eclipse and IntelliJ IDEA integrated development environments. Please note, however, that the current version of their Eclipse plugin does not provide any support for creating pre-commit reviews (and further, it only supports Subversion).

In contrast, Code Reviewer's client side tools consist of: a cross-platform GUI, a cross-platform command-line utility, an Eclipse plugin, and a p4v plugin (for Perforce users). These tools automate the creation of pre-commit reviews by using the developer's version control tools to figure out what files have changed in the developer's local working copy and then Code Reviewer packages up the necessary local changes and creates the review accordingly. For a pre-commit review, Crucible makes you do all of that manually (with the exception of when you are using their IntelliJ IDEA plugin): you have to create your own diffs, etc.

So that's the biggest single difference between the two tools. Some additional points to note:

1. The list of supported version control systems is similar, but not identical. Both tools can, in theory, work with *any* version control system that can produce diffs. Crucible provides specific support for post-commit review creation with CVS, Perforce, Subversion, Git, and ClearCase. Code Reviewer provides specific support for pre-commit and post-commit review creation with CVS, Perforce, Subversion, Git, Vault, and Mercurial (as a side note, Code Collaborator provides specific support for 14 different version control systems).

2. Support for iterative review. Code Reviewer has always supported iterative review: the ability to upload multiple revisions of a file(s) and make it easy for users to see the most recent changes only (or all changes) and to keep it straight which comments/defects were entered on which lines of code, even as those lines of code move around because of insertions/deletions across the different revisions. Historically, this is not something that Crucible supported, but they are claiming support for this in their just released v2.0. Note, however, that it appears to only work with post-commit reviews, unlike in Code Reviewer where it works with both pre-commit and post-commit reviews. I haven't tested it enough to figure out if their 2.0 release can accurately move comments/defects with lines of code through multiple revisions of a file.

3. Real time chat. The Crucible user interface for entering comments/defects works well, but it is not real-time. If someone else enters a comment/defect in the same file that you are working in, you won't see that comment/defect until you refresh your browser page. In Code Reviewer, this works automatically. I realize this might not be useful in a "code buddy" environment, but we do have many customers who use this facility as essentially an IM-client in order to chat about the code in real time.
Can't hardly go wrong for 5 bucks.


by Matthew O. Smith on July 14, 2009 05:06 AM

July 22, 2008

Zarahemla On-Line

Wisdom from the 42nd Page: Holes

Three times a day, Cleverly puts the 42nd page of a book up. There is a wide variety of subjects and a single page can be enough to completely catch you attention. Check out a sample: Wisdom from the 42nd Page: Holes

by Matthew O. Smith on July 22, 2008 08:01 AM

December 11, 2007

Utah Obituaries

Davis County Clipper: Q3 2007

27.SEP.07Bryan Alan Baird 27.SEP.07Claudia A. Pope 27.SEP.07Duane Hymas Hansen 27.SEP.07Glen Johnson Behling 27.SEP.07Marie Moss Peacock 27.SEP.07Tina Sherlin Fuller Webb 25.SEP.07Glenn Eugene Ray 25.SEP.07Mary Hogge Blackhurst 25.SEP.07Mary Rae Kelvington Selin 25.SEP.07Melvin Hess Pederson 25.SEP.07Ronald K. Devereaux 25.SEP.07Scott Reid 20.SEP.07Paul D. Seiger 20.SEP.07Kay Rich Butters 18. (more...)

by Matt on December 11, 2007 04:56 AM

April 10, 2007

Grandma Jackman's Pictures

Mary Cook

2 pictures for you, originally uploaded by m0smith.

My Father's Mother. Ethel Brown's Father's Mother when she was 65 years old, she died at the age of 83. Her name is Grandmother Mary Cook Brown Gillespie. She was born in 1823 so the picture was taken about 1888.

by Matt on April 10, 2007 07:56 PM

March 16, 2007

m0 Chess

White to move and mate in 2

From a recent game I had against Tim, comes this board position. I was white and not in a very enviable position with Queen, Bishop and Knight all being under attack. Turns out to be a nice White to move and mate in two puzzle.

Post in the comments your answer. Remember, no cheating.

by Matt on March 16, 2007 07:19 AM

February 6, 2007


1 Nephi 4:2

camel journey
Originally uploaded by nature adrift.
2 Therefore let us go up; let us be strong like unto Moses; for he truly spake unto the waters of the Red Sea and they divided hither and thither, and our fathers came through, out of captivity, on dry ground, and the armies of Pharaoh did follow and were drowned in the waters of the Red Sea.

Nephi continues to encourage his brothers by reminding of the story of Moses and the parting of the Red Sea. The story illustrates several points that directly relate to Nephi and his brothers returning to Jerusalem to get the brass plates from Laban.

First, that God was able to defeat the army of Pharaoh. Laman and Lemuel were justifiably frightened of Laban's guards. They were just 4 young men against trained soldiers. They really would not stand a chance of overcoming by force. Laban had also proved that he was greedy and bloodthirsty and had no problem ordering their death.

In many ways Laban's actions paralleled those of Pharaoh. Both were greedy, bloodthirsty and had little regard for human life. Both commanded an overwhelming army. Both were acting against the will of the Lord. Both armies were defeated without a sword needing to be raised. God did the fighting.

The story reminded the brothers that God will fight the battles of his servants.

Second, God commands the elements. Laban was able to command many men, but he had no control over the elements. Laban might command an army, yet god could destroy that army. The arm of God is mightier than the arm of man. We should put out trust in the arm of God.

Lastly, that they should have faith.

by Matt on February 6, 2007 09:00 AM

November 6, 2006

Project Topoged

GenealogyJ Integration

Since we are using the GenealogyJ GEDCOM importer, might as well integrate the rest of the project so we can have all the cool views. This will require examining the source code of the GenealogyJ project and determine how to map the Topoged Database to the data format expected by GenealogyJ

by Matt on November 6, 2006 06:38 AM

October 26, 2006

Building a second income stream

3 Amazing but little known Secrets to make your Website Blast to the top of Search Engines!

by Matt on October 26, 2006 12:17 AM

January 16, 2006

Best o' the web

Second Thoughts

What better than a site where you can get ll this stuf free! Second Thoughts: "# FREE PRE-SHAVE # FREE ANT DEATH # FREE CALENDAR # FREE SHOELACES # FREE MAGAZINE # ONE YEAR OF SECOND THOUGHTS # BUY 1 GET 1 LUNCH # FREE HEALTH BAR # FREE POSTER # FREE MAGAZINE" (more...)

by Matt on January 16, 2006 11:39 AM

November 10, 2005

Project Sewer

Tcl Chatroom

As sewer is starting out in Tcl, I've included a link to the Tcl Chatroom for getting help in developing sewer.

Also on Usenet, the comp.lang.tcl newsgroup. One of the most exceedingly helpful & friendly newsgroups on all of Usenet.

by Matt on November 10, 2005 08:34 AM