The Slippery is Very Crafty

Ya — another week (and a half)! I really should blog more often.

It’s snow, snow and more snow in teh kapitall of Ottawa. As high as the thigh. It’s not that I haven’t seen snow in Huhhot before, but the snow here is just soo dense! And that I usually don’t get to cross the motorway back in Huhhot. Here it’s different. There are brown snow (mixed with mud from car tires) at crossings, and the snows on the pavements are so slippery that I suspect if they have became ice (through people "stomping" over and over) already. Not to mention the wind chill (something you won’t see in the forecasts for Shanghai), man that’s just freezing! Now I know what they mean when they say "to take notice of safe, the slippery are very crafty"!

I don’t know what got into me, but I guess it’s just my old net addiction… Firefox usage counter accumulated to 4 and half hours already, while I could have used that time to do Assignment 3 instead (due today, deadline missed, worth 5% points in the final mark). But I just feel unmotivated to do anything else. Programming Even! And the final exams is just around the corner…

Speaking of programming, I am planning to make a StepMania chart generator. That is, you take a .SM/.DWI file, and it outputs the note chart image. But I wasted 4 hours finding a very stupid bug.
I wrote (in PHP) $in[$i]=="1" as $in[i]=1 .
How stupid is this? Well, in PHP all values have to be prefixed with the dollar sign ("$"), and if PHP finds an unsolvable statement it will silently turn it into a literal value, in my case, $in[i] becomes $in["i"]. So instead of accessing $in[<insert value of i here>]I’m actually trying to test for $in["i"] (arrays in PHP doesn’t have to use a number as index). Worse, while the double-equal-sign ("==") operator tests for equality (Chinese version here), the single-equal-sign ("=") operator is actually the assignment operator (Chinese)… which means the value 1 gets assigned to $in[i] which evaluates to true when you use if() to test it… which means, among other things, causing infinite loop (until PHP finds out it has exceeded the max execution time and commits suicide).
Stupid, stupid Kakurady!

StepMania boards switched from Free Software phpBB to proprietary (can never spell that word right, grr… basically it means “owned”) vBulletin ($60). And it got hacked by long time forum members making everyone a mod.
Boo.

Wolves’ Paradise is still the usual 100 posts per day. I wonder if I should take that as a signal for or against the popularity of Chinese furry community. I still has a grunge at the admin of the board Alphawolf Kiba over the allowance of human avatars, but then again I’m a nonfur and he’s a therian, and we’re at the opposite of the spectum… (Therian – short for therianthropes. If you don’t know this word or this world or even what I mean by furry, consider yourself lucky.)

But then, what is a furry? Is it just someone who likes wolves that talk? I had three anthropomorphic webcomics (DMFA, Freefall, TwoKinds) out of the usual five regularly updated ones I usually read (links on the right), does that make me a furry? I like Akira’s "The Wall of the Beast" and Mirage Cat’s Notes (and his comics too), does that make me a furry, despite me usually reading other things? Or is it just that I’m an otaku obsessed with moe kemono(mimi)?

…well now we’re it, Kiba had… some interesting encounters with Xu Gonggai (许功盖, Tsu Kung-kai in Wade-Giles which is just weird…). No, he’s not a real person; but rather a design flaw of Big5 (a type of encoding in Taiwan). When the Taiwan manufacturers tried to add Chinese support to terminals. they decided that, two bytes shall be used to represent a Chinese character, and the most significant digit of the first byte shall mark whether this is a Chinese character or not, and the second byte can be anything sans a control character (well actually it has more limitations). Seems perfect.

But the problem? Sometimes this second byte can collide with control characters in several computer languages (bash, C++/PHP/Java, even Windows Command Processor – you know, cmd.exe or "DOS prompt"), and 许功盖 all had their second byte being "\" (escape in bash and C++/PHP/Java)! (An escape character means that the character(s) after it has a special meaning.) So if you leave PHP at the default setting (magic_quotes engage!) and feed it 许功盖 you’ll get 「许\功\盖\」 instead, and that’s just the start of it. Urgh.

Before I finish this entry, I want to say our dorm’s (short for dormitory, but the canonical name is the Rez for Residences) connection sucks. You can’t send anything larger than 60KB over clear HTTP, but you can use BitTorrent (it has its perfectly legal uses and it’s not really a piracy tool), what the irony! And it just went down for no less then five times when I am writing this. But I didn’t realize how I was tied to the ‘net ’till it went down…

Well at least it’s better than Action 52 (total crapware for Famicom/NES/"Little Tyrant" or whatever).

So this is the end of the story. To all non-native English speakers (c’mon, I know you all are!) reading this, I want to say, congratulations! You just read something ToEFL-level (man that was hard) and (hopefully) enjoyed it, and that’s a feat in itself. And don’t take this as a sign I’ll be writing in English from now on because I won’t (and if you want a translation send it to Google Translate). So much for the ranting! Now if only I gets to pass J-Test…

slipperyisverycraftyEdit: If you’re in China and see funny Engrish send to ToTakeNoticeOfSafe.com.
编辑:如果你在中国看见了很好笑的英语误译请发送到 ToTakeNoticeOfSafe.com.
在湿滑,是很狡猾

HAI GINGER

发现又是好久没有写日志了呢。周四就打算写,结果拖到今天。

拉迪总是懒的。作业往往都是截止时间1个小时前开始做(所以高达八成做不完),床经常是不叠的,桌上也一般是一大堆东西摊在一起。

至于功课?上课全在睡觉。接下来的一周听说是作业轰炸周。

拿到新信用卡以后很败家,三周花掉200……这个样子下去,估计学费也付不起了。

200里面包括洗衣液、洗发露、沐浴露、绝对不会看的日语教程、十次三明治、还有Di Gi Charat的Coo的帽子一顶(貌似和动画里的完全不一样,顶上的东西像是牛角)。还有便当一盒。

在速食寿司店工作的全是中国人。烤鸡翅便当里有芥末和姜,虽然没有生鱼片。

最近狼之乐园上发生了不少关于新头像规定的摩擦。作为伪兽迷卡库尔当然站在允许人类头像的一边。……毕竟,同canis lupus 和 vulpes vulpes 一样,homo sapiens 也是动物吗(虽然很难说对得起sapiens的称呼……)。再者,如果是来捣乱的白目,早晚会发现这里不是他的乐园。

不过讨论太过激烈了。希望最后能够有一个宽松的创作环境吧。

拉迪正在翻译媒体维基公共领域帮助文件。翻译一篇半小时。而且没版权。(很好很强大。)不过为了PaW和乐园百科……还是要完成呀……

另外下周G6S4更新,MabiWiki也会有很多新的资料。

便当里的生姜很好吃。

HAI GINGER
I CAN HAS STDIO?
VISIBLE "HELLO WORLD!"
KTHXBYE
Map image