danapsimer's blog
Hosting Maven Sites & Repos at Google Code
When hosting an Open Source software project you want to keep things simple and cheap. I was struggling to figure out where I was going to put my SNAPSHOTs and site for a simple BOM striping plugin I had written and was hosting at Google Code. I came across this article but it assumes you are going to use Subversion. I prefer Mercurial so I came up with a similar method.
- Add new comment
- Read more
- 77 reads

Subversion Version Mismatch
I installed a new 320GB hard drive into my MacBook Pro last night. Time Machine makes this stuff really easy now. I left it restoring last night around 1am and came back to it around 8am and was able to simply reboot into my restored disk wit 170GB free space and 7200RPM speed. Nice.
However, when I went to build the latest version of the software my team develops, I got an odd error:
- Add new comment
- Read more
- 515 reads

The Common Denominator of Successful Programmers
I just read The Common Denominator of Success by Albert N. E. Grey. Please take the time to read it now as I will be referring to concepts in it. My boss, Ashley, had suggested it as an inspirational piece. As I read the piece I was struck by how relevant it is to so much more than just Life-Insurance salesmanship. As he discussed some of the things that insurance salesmen do not like to do I started to list off in my head the things that Programmers do not like to do but should do if they want to be successful.
- 2 comments
- Read more
- 3750 reads

Will Apple Announce a New iPhone at WWDC?
The author of this article seems to think so. There is also this article that seems to be reporting the same thing. Rumors are flying around what Apple, who always keeps its announcements well under wraps, will be announcing at the keynote for its World Wide Developer Conference next week. I am looking forward to hearing what Jobs and Crew have in store for us next week.
- Add new comment
- Read more
- 1022 reads

A Throttling CompletionService
The CompletionService interface defines a service that allows the caller to submit tasks to be completed in the future. A commonly used implementation is the ExecutorCompletionService, which uses an Executor to run the tasks that have been submitted.
- Add new comment
- Read more
- 1280 reads

PHP File Upload Size Issues
Ran into a problem when I was maintaining a customer's site today. They wanted to upload 10 - 20 MB movies as attachments to their Drupal blog posts. The standard limit set in Drupal is 2MB. I changed the setting to no avail. There was a note at the bottom stating that my PHP settings limited the upload to 4MB. So I did a search and come up with this post. So I changed my upload_max_filesize setting to "20M" this still did not work. The problem is that PHP also limits the post size and my default config limited post size to 8MB.
Resin and Session Clustering
In a world where AJAX is becoming the norm instead of the exception we need technology platforms that allow us to scale these applications. I have been working on an application for a major hotel chain that is used by their call center agents to book reservations at their hotels. The application uses AJAX techniques to run several queries simultaneously and presents the data in a very dynamic interface that closely resembles a traditional desktop application.
- Add new comment
- Read more
- 1767 reads

iPhone SDK and OCUnit
I have started fooling around with the iPhone SDK. I am planning to release a product soon but the plans are quite preliminary so mums the word on exactly what is coming. However, I ran into a little problem right off the bat.
- 5 comments
- Read more
- 4422 reads

Setting Environment Variables for Mac OS X Programs
For the most part, Mac OS X programs do not use environment variables or the PATH. They behave in a very different way from other Unix environments on this score. However, as Java developer I use several tools that require that other command line programs be available on the system PATH. In Windows and Unix there are well known places to put this kind of information but in Mac OS X the location for these changes is obscure.
- 5 comments
- Read more
- 34488 reads

Acegi Filter Does Not Work in WebSphere 6.1.0.3
It seems there is a bug in WAS that was introduced with 6.1.0.3. I found this forum post on the subject.
Apparently, WAS looks for a resource in the WAR that matches the URL before allowing the servlet filters a chance to process the URL. Despite the fact that the design of the Servlet Filter mechanism is to allow web applications more control over their URLs and how they are accessed.
- Add new comment
- Read more
- 2640 reads

