Author Archives: pablokang

iPad custom fonts

Wish I had found this doc earlier for a project I just completed. So custom fonts can be embedded in iOS 3.2 as described in What’s New in iOS: iOS 3.2:
Custom Font Support
Applications that want to use custom fonts can now include those fonts in their application bundle and register those fonts with the system [...]

sysctl

Occasionally my shared memory segment settings in my /etc/rc file aren’t applied correctly during startup and I get the following error when I try to start Postgres:
FATAL: could not create shared memory segment: Cannot allocate memory
DETAIL: Failed system call was shmget(key=5432001, size=33554432, 03600).
HINT: This error usually means that PostgreSQL’s request for a [...]

Converting a UTF-16 file to UTF-8

Lorien recently received a bunch of SVG files encoded in UTF-16 that her Aptana editor didn’t support well. She discovered this because ever time she needed to move to the next character, she needed to arrow right twice.
There were a few interesting properties of a UTF-16 file that we discovered by reading  this post:

This [...]

jQTouch slide transition fix for Android 2.0

A client of Blazing Cloud recently wanted to support animated screen transitions in their mobile platform and came to us for help. We decided to integrate the latest jQTouch (version 1, beta 2) into their framework since we had heard good things about it. Unfortunately, many animated transitions in Android don’t work very well. Worst [...]

Our First Chef Cookbook

We recently deployed an Amazon EC2 instance and I was tasked with installing and configuring Red5 and Openfire on the system. As I often do, I took careful notes of what I did on a wiki, which is useful to have in case another instance needs to be brought up later. Manual installation using notes, [...]