Author Archives: kelly

Sepia MacWorld

I’m reading the news of Apple pulling out of MacWorld with a touch of sadness. MacWorld Boston is long dead. It was only a matter of time before MacWorld San Francisco ended, too. It makes sense to me. Consider the history of COMDEX. In it’s heyday, COMDEX rocked. There was excitement, drama, confusion. I attended […]

Mandarin Tuesdays II

My Tuesday dancecard is filling up. The first mandarin course has ended and I’m now registered in the next chapter of Mandarin. Beginning Chinese II “This course is the second of a three-quarter sequence of beginning Mandarin Chinese. It is designed for students with little knowledge of Chinese. With an emphasis on conversation, the course […]

centos l10n problem

Just about the time I believe the UTF-8 beast is in the cage, it escapes and runs amok. This AM, I started to deploy an update to the webapp on EC2. Seems that some of the static strings in the app contained UTF-8 encoded non-ascii characters. The java compiler barfed. “The heck?”, I thought. I […]

bash array crawler

I wanted to complement my bash directory crawler post with a bash array crawler example. Sometimes, it’s easier to jack a list of identifying tokens into an array and process them rather than to build an end-to-end script with database access. For this contrived example, I grab a list of UUID from MySQL with a […]

UTF-8 on Tomcat

I use Apache httpd + mod_jk with tomcat and connect to port 8009. Be sure to tell the tomcat connection that you are using UTF-8. # vi /usr/local/tomcat/conf/server.xml <Connector port=”8009″ URIEncoding=”UTF-8″ enableLookups=”false” redirectPort=”8443″ protocol=”AJP/1.3″ /> Add two parameters to the list of JAVA_OPTS (at least for tomcat) -Djavax.servlet.request.encoding=UTF-8 -Dfile.encoding=UTF-8″

WordPress plugin problem

When I moved to wordpress, I purposely picked a theme with paged listings. Of course, I also started with the latest v. 2.7 release. (Actually 2.7 rc2, then an upgrade). The paged navigation at the bottom of the content section did not work. I tried to install the wp-pagenavi plugin but wordpress complained that the […]