Pencils Down

This weblog is about my experiences in software development

Summer Doldrums

No comments

In between project/phases. We commented all the code. Made minor adjustments to packaging. Regression tests take a few days…

Especially fun as contractor since you don’t show up you don’t get paid.

Trying to investigate newer, neato things like hadoop. But that will take a while.

What do you do?


Jump Ship or Not

No comments

If you are a developer (probably in any language) you are getting phone calls on a daily basis asking if you want to go work elsewhere.

I have been at current contract for a few years now. It’s good work. Good people. Great location. Good environment.

I have also run into significant bills in the last 2 years, mostly medical. And like everyone else the creep of inflation (I know Obama keeps saying it’s very low) is taking it’s toll.

So, I have started responding to these agencies asking what the rate might be for this neato position. In most cases it’s less than I am getting now so it’s a no brainer.

Today someone responded with a rate 25% higher. What the heck do I do now?


Another developer and I started seeing this running an app locally.

While it sounds really interesting with hints of transaction state it was really just noise cascading up from a missing property in the local properties file.

Yes, it did not occur on server. But again, from the wording it sounds like some filter error or the like and we use different authorizations running locally.



No comments

VerbalExpressions is a library available on GITHUB for Java,C++,PHP…

It allows you to build an expression using a VerbalExpressions object.  The example from this site is below (showing Java but very similar in other languages).

VerbalExpression testRegex = new VerbalExpression ()
                                 .anythingBut(" ")

// Create an example URL
String url = "";

// Use VerbalExpression's testExact() method to test if the entire string matches
// the regex
testRegex.testExact(url); //True

testRegex.toString(); // Ouputs the regex used:
                      // ^(http)(s)?(\:\/\/)(www\.)?([^\ ]*)$

VerbalExpression testRegex = new VerbalExpression ()

String testString = "defzzz";

//Use VerbalExpression's test() method to test if parts if the string match the regex
testRegex.test(testString); //true
testRegex.testExact(testString); //false

I just started getting this screen instead of the normal breakpoint screen in Eclipse.

Turns out that (My)Eclipse must be checking the source tree that is in use.

Stopped the project

Updated the project (there were updates)

Rebuilt and deployed project

No longer an issue

Unclear if there is a way to tell debugger to stop looking and just use what is on my machine


Turn off this setting: Project->Properties->Java Compiler->Enable Project Specific Settings

Likely there is something in your specific settings that is off (again likely wrong JDK)


Seems lately as if almost every jar file I use throws this kind of nonsense into the log – every time it is invoked.

What possible use is this feature?  I am not about to upgrade anything while developing.  Even further, when in production, not going to see this noise pollution.

Of note, lately anyway, is ehcache and Quartz.  At least ehcache let’s you stop running the updater with a setting.  This puke from quartz is constant.

Even nicer is since quartz is on a timer it will politely trounce your logging  while you are in the middle of a debugging session.


For some reason they thought this was a good idea – It isn’t.

Follow this post to turn it back on


Web Developer toolbar by Chris Pederick.  If you are developing web apps – get it.  Every web developer function I have ever seen in one FREE download.


If you have your site on a less than dedicated hosting package and you need to import a large MySql script you are typically up a creek.  I tried all the usual ideas: using gzip, using bzip, split the file up, etc…  Nothing worked.

One of the last searches had the simplest solution: use a small PHP program to load file and execute directly on server!  Reference from the 1and1 q&a section but I am guessing the same method will work for any Linux host.

Best of all: it’s very fast.