TrueCrypt® is a multi-platform on-the-fly drive encryption tool. It allows you to encrypt all your data in a filesystem and still use everything normally. On Windows, it supports encrypting the system (boot) partition (or the entire boot drive); you can even make TrueCrypt® encrypt your existing partitions live and continue working (though the I/O performance sucks until it’s finished encrypting everything), pause and resume the encryption process (even across reboots). In short: it’s rather useful.

Even though TrueCrypt® introduced Windows system encryption in version 5.0 in February 2008 (that’s five months ago), its Linux version still doesn’t support accessing these encrypted partitions at all (it does mount “normal” TrueCrypt® volumes though). Since I recently encrypted my entire Windows drive but couldn’t live without the music files stored on it, I now humbly present the result of two wasted nights: a solution. Read the full post »

Bookmark and Share

Finally: the perfect CAPTCHA

Posted on 2008-04-22 by Jan

CAPTCHAs: these warped images you have to copy text out of in order to submit comments on an ever-growing number of websites.

The warped image approach has a number of serious flaws. Firstly, there is a strong correlation between the difficulty bots have with extracting the code from the image and the difficulty humans have with extracting the code from the image. In some cases, I hear it’s actually easier for machines than it is for humans.

Secondly, blind people and people without graphical output on their computers are automatically banned from your CAPTCHA-protected system. Bad.

A different approach is needed. Text-based CAPTCHAs, however, would likely require a knowledge base that challenges are generated from, and due to technical limitations, that knowledge base would probably be finite. A finite knowledge base means that it can probably be inferred from a decent number of challenges.

Some other approaches, such as Hashcash-style challenges, require that the user’s computer solves a difficult mathematical problem which ensures that it will be busy for quite a while until the correct solution is obtained (and the challenge can thus be passed). Again, this results in problems with accessibility.

Luckily, there is an alternative family of approaches that make spamming absolutely infeasible without causing any of the typical accessibility issues. As you know, spamming only pays off due to the ludicrously large number of places you can put your advertisements. Were said places to implement a disincentive to placing a large number of ads, spam would instantly leave them alone.

Enter the disincentive-based solution: ccCAPTCHA. Developed by myself, it works by charging commenters a certain monetary value. All the user has to do is supply their credit card number. You can now test ccCAPTCHA online at my ccCAPTCHA prototype site. On that page, I’m also making the technical parts of ccCAPTCHA available to other interested webmasters. And it’s all for free!

You’re welcome.

Bookmark and Share

Tom7, also known as Tom Murphy VII, has been challenging musicians to create an entire album in 24 hours. Consecutive hours, that is. In other words, this challenge is an excellent source of sleep deprivation and a great way to avoid doing things I ought to be doing instead. So I thought to myself: one day I simply must give this a try. That day was today (and yesterday). I proudly present my first Album-A-Day: You Vs. The Others. Read the full post »

Bookmark and Share

Today’s glance at reddit.com yielded a blog posting by a fellow who calls himself “Poromenos” and who recently wasted his day by designing a function made up of sines and cosines that encode the string “Hello world!”. “Hey”, I immediately thought, “I can do that too! I’m an expert at wasting my day, after all.” Only I decided to go a step further and write a program that generates this sort of function. I’m lazy, remember? Read the full post »

Bookmark and Share

Why Humanity Is Blocked

Posted on 2007-11-25 by Jan

Please read carefully the following important message that does not come from the anonymous persons running whyfirefoxisblocked.com and whydiggisblocked.com.

You’ve reached this page because the site you were trying to visit now blocks visitors from the human race and other beings capable of browsing the web.

The users on continents such as America, Asia, Europe and Antarctica openly endorse critical thinking, a function of the human brain that allows humans to ignore irrelevant perceptions such as advertisement on web sites, and are well known for paying no huge amount of money to the owners of sites they visit. Humans that ignore all advertisement are an infringement of the rights of web site owners and developers. Numerous web sites exist in order to provide quality content in exchange for displaying ads, humans who don’t click on these ads are stealing bandwidth without paying for it and website owners deserve a method to block this unauthorized bandwith theft.

Since the human brain does not allow website owners a method for excluding perceptions and do not obey “give away all your money” law, abiding webmasters are forced to block all humans. Demographics have shown that not only are humans a somewhat small and insignificant percentage of the planet, they actually are even smaller in terms of value, therefore blocking these beings seems to have only minimal financial drawbacks, whereas ending resource theft has tremendous financial rewards for honest, hard-working website owners and developers.

If you wish to view the site you came from we suggest stopping being human and becoming a machine instead.

(Of course, humans using Digg are where the real evil is at.)

Bookmark and Share

Git cheat sheet, extended edition

Posted on 2007-09-19 by Jan

A few days ago, I posted a cheat sheet for Git (just as last time, Git is a really cool revision control system). Let’s face it: it was ugly. Not something you would actually hang up where other people could see it, was it? Here’s the remedy, which also works on both A4 and Letter and is more detailed. Read the full post »

Bookmark and Share

Git cheat sheet, take two

Posted on 2007-09-13 by Jan

Update: Since I first posted this, I have created a new and (in my opinion) better Git cheat sheet. You might want to have a look at that one.

Today I came across Zack Rusin’s Git cheat sheet (just so we’re on the same page: Git is a really good distributed revision control system). I quite like the idea but unfortunately, Zack’s design is fairly useless to me because

  • the colors don’t print well on black and white;
  • it’s designed for Letter paper. Letter paper doesn’t exist around here. Give me A4.

While trying to change Zack’s file to address these issues, Inkscape kept crashing on me until I finally gave up and just started from scratch (in – don’t tell anyone – OpenOffice.org Draw). This is the result: Git Cheat Sheet (A4 PDF version). Read the full post »

Bookmark and Share

I am always happy to find alternative applications of creativity. Today’s focus is on Acer or, more specifically, on Acer’s so-called Linux notebooks. Shipped exlusively in Europe (as far as I can tell), they attract interest by being cheaper than the version shipped with some version of Windows. Currently, the difference in price weighs in at 47.01 € at Amazon Germany (that’s, very roughly, 10% of the full price).

And, of course, they come with Linux pre-installed. So that’s fine for basic usage, even if it takes a little getting used to for the more Windows- savvy people. Right?

Let’s take a closer look. Acer’s Linux distribution of choice appears to be Linpus Linux (a Fedora fork developed by Linpus Technologies of Taiwan). Their website is down right now (I wonder…), but from what I gather from the rest of the web, Linpus comes in several flavors, among them a desktop edition and a server edition. The desktop edition is based on KDE 3.4 et cetera et cetera, so nothing really surprising there. Even if Linpus is rather unusual, it’s probably decent enough. Right? Right? Well… Guess again. Read the full post »

Bookmark and Share

Problems in life engineering

Posted on 2007-07-25 by Jan

Okay, so there are problems in knowledge engineering, AGI in particular (to recall, AGI is a machine or program that can demonstrate intelligence on the complexity level of humans). More generally, in every domain of sufficiently complex structure, AI fails, sometimes spectacularly. A well-known example is the board game Go, for which nobody has managed yet to design a computer opponent that can beat players above the level of novice.

Yet humans manage many of these tasks seemingly without any problems. One might be tempted to think that the human brain is the ideal “thinking machine”. In reality, it has a staggering number of bugs which produce incorrect actions or results in a variety of situations. Read the full post »

Bookmark and Share

Problems in knowledge engineering

Posted on 2007-05-21 by Jan

Given the “right” philosophical attitude about how the world works, the ultimate goals of knowledge engineering, namely obtaining, processing, using and making accessible all kinds of knowledge, can definitely be achieved. This set of bold goals, however, presents researchers with very difficult problems. All attempts that exist today are restricted to small classes of knowledge. Read the full post »

Bookmark and Share