johnk's blog

Rewriting Code

There is no great writing, only great rewriting. - Justice Brandeis

I'm not much of a Python coder, but I'm learning to be a pretty good Python re-coder.

A Long Explanation of Character Encodings and UTF-8 and the IMC Software

This was posted as a correction to a note I made about some character encoding errors that appeared on the LA Indymedia website. It's poorly written. If you need me to edit and clarify, send an email to johnk@riceball.com.

It's ISO 8859, not 8890.

Note on Migrating from Qmail to Postfix

I got this done (i think):
- scanning old email addresses, forwards, and lists, and reconstructing the email and forwards and aliases for lists on a postfix instance

Migrating with Data...

It's one thing to upgrade software. It's an entirely different thing to migrate to new software. If you have a whole system of software, integrated in to a mega-app, it's even more difficult.

Script to Compile Videos from JPGs Uploaded from Low-End IP Camera DLINK DCS-932L

This script uses ImageMagick and AVConc (ffmpeg) to convert images uploaded by a low-end DLINK internet camera to an FTP server.

Migrating from Xubuntu to Ubuntu Server

First install ubuntu-desktop and remove xubuntu-desktop

apt-get install --no-install-recommends ubuntu-desktop
apt-get remove xubuntu-desktop

D-Link Switch Power Adapter Barrel Size

I had a couple of these, and lost the power adapters. (OK, someone else lost them, but whatever.) As always, the voltage and current matter, and these guys use 5V 1.2A or 2A.

Discover the IP Address of a Cisco Aironet 1200 Series on Linux without IPSU

I got an Aironet 1200 and didn't have the serial cable, so I tried to use IPSU to find the IP address. I ran it in a VM, bridged the ethernet interface, and it failed.

Idea for a Mobile Augmented Reality App that Plays Site-Specific Audio Clips

I just submitted this idea to some hackathon thing. I wish I hadn't but I did.* The idea is a mobile app that, based on the sensor's location, will play audio files that pertain to the area.

Lament about IT and Communication of Knowledge

Like a lot of people who work with computers, I have some communication problems. Sometimes, I'm too blunt; other times, too reticent.

Postfix Install Stuff

(argh, forgot to back up my postfix work. i have to start fresh, so this is an opportunity to document work.)

# first get a superuser shell with sudo
sudo -s

apt-get install mailutils

Install Java JDK into /usr/local/bin

There's a zillion ways to do it, and editing $PATH is probably the best, but I didn't want to do that, so I did this:

Paranoid email about "Anti-Christian" Government

I got on a right-wing PAC's email list, and got this.

Dear Fellow American,
The very troops who defend our religious freedom are at risk of having their own taken away.

Learning Javascript via the Read Eval Print Loop (REPL)

All the tutorials out there teach JS by having the user write a file, and load it into the browser.

Javascript APIs and Libraries Change the Game

I was thinking a bit about the JS co-learning thing, and discovered that services, APIs and libraries really change the game, or have changed the game.

Syndicate content