We're hiring!

We're actively seeking developers & designers for our new Detroit location. Learn more

Some Useful Iconv Functionality

Much of the work I do involves heavy manipulation of documents and text data for display on the web, and in various file formats. Necessarily, I deal with character encodings and related issues on nearly a daily basis. One of the programs I rely upon for this work is iconv, also known as libiconv. While…

Read More »

Posted in Tools, Unix, Linux, and Bash | Tagged , , , | Leave a comment

Character Encoding Tricks for Vim

Manipulating large amounts of data can often be a challenge, especially when the data utilizes complex character encodings or requires a change of character encoding. Fortunately, certain text editors such as Vim are well suited to handle this type of work. Vim supports many character encodings, and provides enhanced functionality to work with some of…

Read More »

Posted in Tools, Unix, Linux, and Bash | Tagged , , , , , | Leave a comment

MySQL: Failed Registration of InnoDB as a Storage Engine

It happens countless times for many reasons. You attempt to start or restart your MySQL server after a small configuration change and MySQL stubbornly refuses to start. Or, if it does start, some important functionality, such as InnoDB support, is missing. Most Linux users will be familiar with the following pleasant response:

Posted in Design & Development, Unix, Linux, and Bash | Tagged | Leave a comment

Preventing Spam E-mail with SPF Records

Anyone who has managed e-mail for a domain knows the horror of seeing spam messages apparently originating from the domain under your control. For example, you manage e-mail for example.com, and suddenly start seeing spam e-mail purportedly originating from info@example.com in your actual info@example.com inbox. What happened? Has my account been compromised? Have I lost…

Read More »

Posted in Design & Development | 1 Comment

Concatenated SMS Messages and Character Counts

Figuring out maximum character counts for standard SMS messages is really quite simple. However, the maximum character counts for concatenated SMS messages is a bit more complicated. Throw character encodings into the mix, and everything can become very muddled.

Posted in Design & Development | 3 Comments

Vi Editing Mode for Bash

Ever find yourself at the Bash prompt, typing out a very long series of arguments or parameters, only to hideously misspell something at the beginning on the line? If you’re handy with the emacs editor, you already know the answer. You can use the emacs key bindings to go back and efficiently edit your command…

Read More »

Posted in Unix, Linux, and Bash | 5 Comments

Making Your Site Visible to Search Engines with Sitemaps

Sitemap management with Google Webmaster Tools. Sitemaps are one of the most recognized website navigation elements on the Internet. A sitemap is a method for making a website easily navigable by humans, and highly visible and indexable by search engines. Despite this, there is often confusion about sitemaps, how they are implemented, and how they…

Read More »

Posted in Design & Development | Tagged | 6 Comments

Resizing LVM Volumes on a Virtual Linux Host without Reboot

The architecture hosting the SME Toolkit, a project sponsored by the IFC (International Finance Corporation), a member of the World Bank Group, utilizes Linux virtual hosts, running on Citrix XenServer. To account for changing needs (specifically disk space), the decision was made to use LVM (Logical Volume Manager) to manage our permanent storage. LVM allows…

Read More »

Posted in Design & Development | 1 Comment

Running Low on Disk Space Using MySQL Replication?

One of the requirements for setting up replication with MySQL is to turn on binary logging. Binary logs contain records of database changes or changes to actual data. The binary logs do not record results of general queries which do not affect data such as SELECT or SHOW. However, results of queries which affect the…

Read More »

Posted in Design & Development | Tagged | 2 Comments

Character Encoding Fun with SMS Messages

While trying to send SMS messages via the SME Toolkit application using the SMPP protocol, I encountered some bizarre behavior. I would send a seemingly ordinary message via SMPP only to receive a somewhat altered message on my mobile devices. Specifically, only certain symbols were altered, and latin letters appeared normally. What is more, the…

Read More »

Posted in Design & Development | 2 Comments