DHP Technologies, Inc.
Developing Technology Solutions that Work!

Blog Content Moving to ComputersFearMe.com
‐ 5/14/2017 by Dana H. P'Simer, Jr.

Content Moving. I have moved the blog content of this site to my new site Computers Fear Me. All the old URLs will work and return permanent redirects (301) to the appropriate article on Computers Fear Me.

Site Redesinged
‐ 9/30/2015 by Dana H. P'Simer

I have redesigned the site to be more efficient to host. I hope you like it.

Remembering Steve Jobs
‐ 10/5/2011 by Dana H. P'Simer

I was 12 years old in 1980 when I first saw an Apple computer. It was at a friends house. He showed me some games, used a synthesizer program to create some music and showed me a program he had written and I was hooked. I went home that night with a recording of the music and played it for my father. I said, if we had an Apple II we could do things like that. I really wanted it. Well my dad, being an electrical engineer, was into electronic gadgets and I guess he thought it would be good to have a computer in the family, so he bought one! We got the Language Card with it so that we would have an extra 16KB of memory and UCSD Pascal.

AWS Framework for Mac OS X
‐ 10/4/2011 by Dana H. P'Simer

I have ported the AWS for iOS Framework to Mac OS X and pushed the code to bitbucket. There's not a lot to say about it. I had to hack up the browser id line. I am planning on fixing that. There were some issues with the structure of the source code directories and import statements that needed to be ironed out. Also, there were some mismatches in variable types that changed size between iOS and OS X so I fixed those up as well I have tested the S3 APIs to a small extent and am working on more unit tests but I think this establishes that the underlying communication mechanism is working fine under OS X.

You don't exist, go away!
‐ 8/24/2011 by Dana H. P'Simer

Today I tried to push my latest changes from a git repo on my laptop to a remote repo and got the following output:

Hosting Maven Sites & Repos at Google Code
‐ 8/14/2010 by Dana H. P'Simer

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.

Subversion Version Mismatch
‐ 4/7/2010 by Dana H. P'Simer

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 with 170GB free space and 7200RPM speed. Nice.

The Common Denominator of Successful Programmers
‐ 6/27/2009 by Dana H. P'Simer

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. When I read about how having a purpose makes the formation of these habits possible I started to think about what purpose a programmer would need to make forming the habits of successful programmers possible.

Will Apple Announce a New iPhone at WWDC?
‐ 6/8/2009 by Dana H. P'Simer

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. There is also talk of them making an announcement about “Snow Leopard”.

PHP File Upload Size Issues
‐ 6/21/2008 by Dana H. P'Simer

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. So to increase the PHP upload limit one must check both the upload_max_filesize and the post_max_size settings are setup to allow the size of uploads they want to do.

Resin and Session Clustering
‐ 4/30/2008 by Dana H. P'Simer

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. There are multiple tabs in many areas of the application that load data in the background so that it is available when the user wants to see it.

iPhone SDK and OCUnit
‐ 3/9/2008 by Dana H. P'Simer

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.

Setting Environment Variables for Mac OS X Programs
‐ 2/9/2007 by Dana H. P'Simer

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.

IE Rendering Problems Solved
‐ 11/29/2006 by Dana H. P'Simer

Well I figured out what was causing my IE Rendering problems. I was using a "code" tag and that seemed to throw off the floating of the right hand navigation elements. Weird but it looked great in Firefox. This is not new but, damn I wish IE would just implement the standards. Perhaps a meta tag could be created that tells IE to use a standards compliant interpretation of CSS and HTML. That way, a standards compliant web site can just add a meta tag and IE will render it correctly without all the weirdnesses that are left in for "backwards compatibility".

For a great site on the power of CSS check out the CSS Zen Garden.

Java 1.5 Generic DAO
‐ 10/6/2006 by Dana H. P'Simer

I am always looking for ways to limit the amount of typing I have to do. Hibernate helps me alot because I don’t have to write all the SQL and I can concentrate on the less tedious aspects of designing my persistence model. Spring helps me alot because I don’t have to write all those factories and other “glue” code.

Spring for Plain old Java Applications (POJAs)
‐ 7/13/2006 by Dana H. P'Simer

Most J2EE developers have at least heard of the Spring framework and know that it is an excellent framework for creating enterprise applications. I have recently needed to create an application that runs from the command line and is short lived. It has no GUI but I wanted it to be configurable and extendable in various ways. To that end, I defined a bunch of interfaces for the objects in the system to use when interfacing with other objects. Then I started thinking about the implementations of these interfaces and the factory classes I would need to create. I said to myself “Self, doesn’t Spring already do this?” and I answered myself, “Why, yes”. So I decided to try it.

A Review of jBPM
‐ 6/1/2006 by Dana H. P'Simer

Lately I have been reading the hype surrounding the concept of Business Process Modeling (BPM) systems. I always take this stuff with a grain of salt because I have not seen an idea that lived up the hype since the Object Oriented hype of the early nineties. I know some would debate that point and of course I don’t mean to say that OO lived up to some of the more absurd hype. I remember some marketing fools actually were saying that OO would allow us to get rid of programmers. However, in this case, I think BPM and Graph Oriented Design/Programming has the potential to rival OO in its impact on our industry and jBPM is an excellent entry into this market.

Memoirs of a Gentoo Junkie - Part I
‐ 12/14/2005 by Dana H. P'Simer

I first heard the word Gentoo from a colleague of mine I met while I was doing a gig at Cingular, Chris Bravo. Chris is a very savvy developer and I learned quickly to trust his judgment during our time working together. When he told me to give Gentoo a try I took the plunge. I have not regretted my trust. The Gentoo system is by far the best distribution I have used. Keep in mind, my requirements may not be the same as yours. Through the course of this article I will point out where Gentoo meets my requirements.

SOA - Something old & Something New
‐ 6/14/2005 by Dana H. P'Simer

I just read the article linked above and I have to tell you I am never surprised at how often I hear old ideas repackaged as new ones and then marketed aggressively like they were some kind of handed down wisdom. The truth is, SOA adds very little but a buzz word. Grady Booch was talking about loose coupling being imperative for programming in the large, as he put it, back in 1994. Back in 2000 the buzz was “Component” architectures and further back it was “Object-Oriented”. The problem is not with the technologies, it is with the people.

No Price is Too High for Freedom
‐ 4/19/2005 by Dana H. P'Simer

This price is dirt cheap when compared to the sacrafices our forefathers gave so that we can be free. We, as free people, must think. I am not talking about daydreaming about winning the lottery or analyzing the latest stats on your favorite baseball player. I think about those things just like the rest of us. I am talking about thinking critically about the words we hear everyday. Think about what the news reporter says. Is he reporting facts or interjecting his own opinion? Think about what you read on the OpEd page. Obviously what you have just read is Opinion but is it soundly argued? Does it resort to logical fallacies? Does it hold water? Think about what your congressman is actually saying and what he is not saying. Has he been consistent on the issue being addressed? If he has not, did he change his position due to reasoned argument or to please a particular group of constituents?