Kenya, Rants

The college where I work runs a small Internet café, and people from Tala and the surrounding areas come to browse the net. I always see people checking their e-mail, browsing Facebook, etc, but about once a month I see someone applying for military contracting jobs with companies like Blackwater and KBR. I don’t know whether I’m more disturbed that Kenyans are applying to go make money murdering people in Iraq, or the fact that United States companies are hiring people from developing countries to fight their battles.

These guys never even ask for help. They just come sit on the computer and go right to where they’re going. It’s like the word on the street is that you can get rich quick if you go to Iraq. Most of this stuff happened during the Bush era, so I don’t even know if these companies are even hiring anymore. I do know that at one time there were more private military contractors in Iraq than actual US Army dudes. Like 180,000 of them or something. Private militaries! Are you kidding me? These companies have their own helicopters, tanks, armored cars, guns, etc… it’s ridiculous. Just go google around and you’ll see stories talking about stuff like how, for example, Blackwater mercenaries are better-equipped and better-paid than US Army troops. Not to mention they have zero accountability (who does a private contractor take orders from?).

Continue Reading

Miscellaneous

If you have a relatively-new Nokia phone it should be able to play videos, which is totally sweet. Any video that you can play on the computer can be converted to a format that your phone can play; videos from YouTube, VCD, SVCD, DVD, XviD, etc. All you need is FFmpeg (I use GNU/Linux, but FFmpeg also runs on BSD and apparently Windows). I’ve tried Nokia phones running Symbian S40 and S60, but it should work on other phones too (the 3gp file format was designed with mobile phones in mind).

If your phone has a bit of horsepower (tested on Nokia 5130 XpressMusic and 5320 XpressMusic), you can convert using the following command:

ffmpeg -i all_shall_perish-eradication.flv -f 3gp -vcodec mpeg4 -b 150000 -s 320x240 \
-r 18 -acodec libfaac -ab 64000 -ar 24000 -ac 2 all_shall_perish-eradication.3gp

Note: the “-r 18” sets the frame rate. The video skips on some phones if they can’t keep up with the frame rate (even with the bit rate set lower, like 100000). You shouldn’t notice any loss of quality with a setting like 18 (most videos are closer to 30), but the video will be much more pleasant to watch. Play with the settings and pay attention to video/audio synchronization when people are talking, for example.

Phones like the Nokia 2630 and the 3110c use more-conservative settings, such as:

ffmpeg -i all_shall_perish-eradication.flv -f 3gp -vcodec h263 -b 100000 -s 128x96 -r 12 -acodec\ 
libamr_nb -ab 12200 -ar 8000 -ac 1 all_shall_perish-eradication.3gp

The difference between the two is:

  • Video codec
  • Video quality (-b, “bit rate”)
  • Audio codec (AMR was designed specifically for voice data)
  • Audio channels (-ac, stereo sound needs left and right!)
  • Frame rate

Enjoy.

Food, Kenya

Haha, actually, computer bugs suck, and even Linux crashes. Anyways, the ATM in Tala had this error on the screen the other day when I was getting some money. It was working fine, just a little slower than normal. I even got a chance to practice Swahili with a mama (mama is a respectful word for a woman, pronounce it like in Spanish, with the accent on the second “a”). When I left the booth I tried to explain to her that it was broken, but only a bit, and that it was still working: imeharibika kidogo, lakini inafanya kazi. She looked a bit puzzled so I reassured her that I had withdrawn money, but that the machine was working slowly. She seemed relieved, so I hope it worked… I didn’t stick around to see if she was successful.

On a side note, I’m cooking some fried rice with enough cilantro to kill a horse. Just another Friday night alone in Tala… good thing I have Linux and death metal.