Simple R package for UN Comtrade API

uncomtrade-logo.pngI have recently been doing a lot of work in R, a statistical programming language, and have started accumulating a small collection of functions that I regularly use. One of the tools I have particularly come to rely on is this function to obtain data from the United Nation’s Comtrade database, a great source for country-to-country trade statistics. Since there seemed to be no R package that provides access to their new API (which is still in beta), I simply wrote a function for myself based on the sample code on their homepage and kept it with my personal files. Motivated by posts like this, however, I decided to put the code into an R package and share it here for others to use. [...]

Open XMPP Alternatives to Google Talk

xmpp.pngAfter Google’s much-publicised decision to replace Google Talk with Hangouts and drop XMPP support in the process, many people have been looking for alternative XMPP servers that allow connecting through standards-based clients and support federation with other servers. I figured this would be a good time to list a few servers I have used and recommend. Naturally, this is only a small subset of all publicly available XMPP servers. Which is best for you pretty much depends on what you want and what you need … [...]

Japanese cyber-attack alert system Daedalus

Japan’s new cyber-attack alert system “Daedalus” made headlines a few months ago for its futuristic looks which are said to be modelled after the cyberspace scenes from Ghost in the Shell (攻殻機動隊), a famous manga and anime series. Daedalus is a product of Japan’s National Institute of Information and Communications Technology (NICT) that scans the so-called “darknet”, parts of the internet where IP addresses are not supposed to be used. It consists of a blue sphere and several circles hovering around it, as seen in these screenshots and this video of a live presentation at Interop Tokyo 2012. According to this report by DigInfo, the blue sphere represents the internet, whereas the circles stand for IP addresses belonging to organisations in Japan. If packets are sent to the black parts of the circle, i.e. to unallocated IP address space, an alert is triggered, showing a red “kei” (警) character… [...]

How to switch Firefox Java plugin to Sun Java on Ubuntu Linux

duke.pngWhen I recently tried to open my favourite Java webcam applet in Firefox on Ubuntu Natty 11.04, I was surprised to find that it wasn’t working. Issues with legacy Java applications are common these days, now that the Java world is moving towards OpenJDK as the future standard. In certain cases, like my issue with the webcam applet above, you may still have to use an older version of Java, however. This will tell you how to install Sun Java 6 and set your system to use it as the default virtual machine for local Java applications and web applets in your browser… [...]

How to install Realtek RTL8188CE WiFi drivers (ThinkPad Edge 13) on Ubuntu Natty 11.04

thinkpadedge_realtekwifi.gifAfter a two-week long battle trying to get Realtek’s RTL8188CE WiFi network card to work on Ubuntu Natty 11.04, countless reinstalls and email exchanges with Realtek’s customer support, I finally managed to get Realtek’s PCI Express Mini WiFi card to establish a stable connection. I figured I’d share my findings with the world and save other users some trouble.

Realtek’s RTL8188CE card uses the RTL8192CE chipset, which can be found in different kinds of Lenovo ThinkPad Edge laptops. Although drivers for the RTL8192CE chipset are included in Natty’s kernel, they don’t work reliably with a number of chipsets. This shouldn’t be a problem, since you can always just compile and install the official Realtek drivers yourself, right? Well, yes, you can. And in fact this worked quite well on Ubuntu Lucid (10.04) and Ubuntu Maverick (10.10). If you’re on Natty, however, you can’t simply install the original Realtek drivers over the ones already present. Also, Realtek offers two different versions of the 8192CE driver. Which is the right one to choose? Let’s take a look… [...]