Software

This post is not going to be long. It’s not going to have any examples, details, or anything of the sort. It will just teach you what Unicode is, how to use it, what an encoding is and what UTF-8 means (hint: it’s an encoding). If you sort-of, semi-understand what Unicode is, this should clarify everything.

Understanding Unicode is really simple. The first thing you need to know is that Unicode is a standard that is used for the representation and handling of most of the world’s writing systems.

One of the most often requested features for historious is del.icio.us link importing, so I researched how it would be possible to add that feature.

Some of you might remember the great MongoDB saga, which ended with me migrating from MongoDB to SQLite after losing my data more often than not. After the Nth time I lost my data, I decided I had enough and decided to migrate to SQLite. I also decided not to use MongoDB for historious, as I had originally planned.

For a while now I’ve been working on my new, ultra-secret web app, and now it’s time for me to reveal it. It’s looking to address the following scenario:

Imagine that you read an article, and it’s mildly interesting. It’s not interesting enough to bother with bookmarking it (because you likely won’t read it again, and bookmarks tend to get too cluttered and linger unread), but you definitely think that the content is worth remembering.

A month later, you remember it and search for it, but with keywords such as, e.g.

As you may remember, some months ago I had decided to use MongoDB for my masters project, and had a few rather large problems with it.

These past few days I have been trying (unsuccessfully) to get Windows 7 to run in a virtual machine.

I have an iPhone and iPod touch and recently bought Plants vs Zombies (again, I already finished the game on the PC) on both devices because I use them interchangeably and it’s just that good. A problem did quickly crop up, though, and the problem was “How can I quickly copy the game data from one device to the other?” I don’t want one device to be behind the other.

Initially, I tried to get AppBackup to backup both folders, copy the backup from the iPod to the desktop and then copy it to the iPhone and restore it in AppBackup, but that takes way too long.

After spending the better part of an hour trying to forward a port in Linux using iptables, here’s what you should do and what you should remember not to do.

This technique should work on any distro that has iptables, such as Ubuntu, Debian, Fedora, Red Hat, RHEL, Gentoo, etc.

Today I had to write an assignment for my Evolutionary Algorithms course, which was to implement a genetic algorithm to solve the Traveling Salesman Problem. I wrote the Python code, it worked well but it took a while to find a good solution with 100 cities, and I realised it would be a few days before I could get a solution for the dataset with 3000 cities. I definitely needed to speed up my program somehow.

I decided to give Cython a try.

Well, I just got an Intel X25-M 160 GB SSD for my laptop (a MacBook), and I wanted to migrate all my partitions (I was triple-booting OS X, Ubuntu Linux and Windows 7) to the new disk.

This turned out to be less than a breeze, since there are a few caveats and the entire process takes time, but I will detail it here and maybe save some of you some time.

**WARNING: Don’t try any of this if you don’t know what you are doing!

Ads