The All-Thing

All stick and no carrot, since ought-three.

各位能夠讀中文得來賓您好。小的這還在學中文中,恐怕中文寫得不太好,希望你們還看得懂。


出塞 (王昌齡)

秦時明月漢時關,萬裡長征人未還。
但使龍城飛將在,不教胡馬渡陰山。

Contact:
| web page

Other views:
RSS 1.0
RSS 0.91
Plain (good for lynx)

Past posts:

December
Sun Mon Tue Wed Thu Fri Sat
 
10
     

Recent comments:

Recent search referers:
xiii fix
arguments against interracial marriage
no cd fix XIII
.torrent xbox
bit torrent last samurai
Bit torrent girls shit
the last samurai bit torrent
the last samurai torrent
"torrent the sims" (x2)
last samurai torrent
xbox torrent (x2)
torrent asian korean movies
Gay Marriage Graphs (x2)
Fantastic 03 torrent
"xiii crack fix" download
fungus bit torrent
XIII no cd patch download

Exits:
William's Aggregated Feeds



Creative Commons License
This work is licensed under a Creative Commons License.

       
Wed, 10 Dec 2003

Perfect Compression

The following perl code compresses arbitrary data of size n into a set of n files, each with size 0. Independent of n, the total compressed file size is 0. Data is completely recoverable. Thus, perfect compression.

#!/usr/bin/perl
 
while(<>) {
        foreach $char (split //) {
                open(OUT, >compressed.$num) or die;
                close(OUT);
                utime ord($char), ord($char), compressed.$num;
                $num++;
        }
}

Decompression is left as an exercise for the reader. (But it's quite trivial.)

Another day, another field of computer science laid to waste....

Posted at 15:12 | /computing | (leave a comment) | permalink

Kill all Haitians

Apparently the company that makes Grand Theft Auto: Vice City (which, in a happy coincidence, just arrived in the mail today, courtesy Gamefly, so I can finally finish it) has promised to remove the phrase "kill all Haitians" (and other similar phrases) from all future copies of GTA:VC.

Well, that's just dumb. A, the only people who haven't played that game already are the johnnies-come-extremely-lately like myself, so it's not like removing anything from future copies is going to have any effect; b, that phrase is made in the context of being in conflict with a particular Miami-based Haitian gang, so it's hardly an incitement to genocide against all Haitian people, as the protesters claim; c, Haitians are hardly singled out in this game, as you have dealings (good and ill) with many groups, race-defined and otherwise; d, it's a video game for chrissakes; and e, you guys are dumb.

So I hope the protesters are happy. They've wasted their time and money on a ridiculous issue, and reached the only solution they could possibly hope for: a completely limp and ineffectual one that does nothing to further their otherwise laudible goals.

Posted at 14:58 | /news | (leave a comment) | permalink


   

Suspicion always haunts the guilty mind. -- Wm. Shakespeare