inicio mail me! sindicaci;ón

Anokwa.com » Web Log

On the comments bug…

I know there was some issues with leaving comments on the blog, and I believe all those have been fixed.

In case someone on the internets stumbles on this page (or I run into the same problem again), the solution is to add a function_exists around the gravatar div in comments.php template.

<?php if (function_exists(‘gravatar’)) {?>
<div class=”gravatar”>
<img src=”<?php gravatar(“R”, 40); ?>” alt=”Gravatar” />
</div>
<?php } ?>

If you have no idea what this means, then don’t worry about it.

On bacon being a terrorist…

It’s not everyday that I write that headline.

I figured since I was going to be out of country, I’d treat myself to some nice bacon and eggs for breakfast on Sunday. I had picked the most innocent looking pieces of bacon from the store but when they started to fry, the delicious strips developed a look — a look of danger…a look from the streets.

A few minutes later, I felt the sting of hot grease on my nose, I yelped and swung back at the bacon. Alas, that only resulted in bacon grease all over the stove. The ensuing mess brought me back to a more sensible state. Clearly, fighting inanimate pieces of flesh was not what I wanted to be doing at that moment.

I headed to the bathroom to examine the damage on my nose. A quick check revealed nothing so I headed to the kitchen to finish breakfast (and seek righteous revenge on the pork perpetrators). Revenge never tasted so good.

I hopped in the shower an hour later and when I was done I checked myself out in the mirror. I was still pretty (whew) but now missing a piece of skin on my nose. The time in the shower had apparently removed the skin the bacon had cooked in the short time on my face.

assault by bacon

I’d always thought bacon a safe and friendly food, but this experience has shaken that foundation. Bacon is clearly some sort of terrorist organization. You have been warned.

On geotagging photos for research…

Been playing with the gadgets I brought with me to Boston. The pictures are being taken with N95 camera phone and I’m carrying the WBT201 GPS logging my location every second.

The software I’ve been using is slightly tricky. I use Nokia’s Media Transfer tool to move the images from the phone to my Mac. Then I’ve got a custom (Intel with expat support) version of gpsbabel to pull the traces off the GPS and convert them into nmea and gpx format. GPSPhotoLinker geotags the images before I drop them into iPhoto. The iPhotoToGoogleEarth plugin can export all the images with the nmea trace in a kmz which Google Earth opens beautifully.

google earth

The GPS is pretty accurate despite the trees and buildings. You can see that from the point that I shot the image, I have a great view of the basketball court. If you have GoogleEarth you can grab a copy of the entire trace.

On adding better OS X support in OpenMRS

Made some changes to the SVN version of OpenMRS (alpha branch and form entry module) to better support my OS X build.

Haven’t checked in changes but basically there is some application logic that looks for OS X and changes how commands (jar, lcab, cabextract) and where it stores the OpenMRS files (~/.OpenMRS). Thanks to a broken darwinports server, lcab had to be installed manually (/usr/local/bin/lcab) and cabextract has to be installed in darwinports (/opt/local/bin/cabextract). Either way, the code looks for the binaries in /usr/local/bin/. I’ll be documenting this fact soon.

On being twelve pounds overweight…

Finally moved out of my apartment, packed up my stuff (which was a bit over the limit) and flew into Boston on the red eye. Landed at 7am and the lack of sleep from the last two days and the jet lag didn’t hit until 10am. managed to man up and sat through a lecture on the background of PIH as an organization and some of the socio {economic, political} reasons for Haiti’s current situation.

I spent the rest of the day getting openMRS to work on my mac. at this stage, I have it installed and made some changes to the code base to make it more Mac friendly. Going to try to get a module running tonight and once that’s going I can crash and be adjusted to Boston time tomorrow.

« Previous PageNext Entries »