2009-02-28

密碼、媽咪、密密麻麻…

你的密碼會不會很難記?不會?很簡單,很短,而最重要:很方便,對不對?有沒有考慮過你的方便會不會造成其他人的麻煩?會。只要看我們學校:

我們學校的信現在在很多地方不受歡迎。為什麼?因為我們有發過垃圾信。怎麼會發呢?簡單地說:因為一些教職員跟學生用太簡單的密碼,像把帳號名稱也當密碼。Windows會為了方便(又來了)把e-mail裡面的地址放到聯絡簿。

所以,如果你剛在寫一個worm或某種木馬程式而你想多收集一些有效(有人在用)的地址,你只要告訴你的軟體讀那個聯絡簿。有人這樣做,得到我們學校多一些帳號,然後用另一個軟體測哪一些帳號密碼太懶。那些帳號後來就變成別人的玩具…

所以應該要怪計中的人,對不對?他們怎麼允許人家選這種密碼?很簡單:他們沒有選擇。如果人家一定要用一個有漂亮的(?)“全中文界面”的封閉軟體(對,我在說Mail2000),你就只能用那個軟體提供的功能,也沒有辦法改它不要你改的設定。而我們的Mail2000不讓我們定密碼的難度。它也不會讓我們了解裡面到底發生什麼事,所以根本沒有辦法發現一些帳號開始亂發信。反正,最重要的是方便…

OK,我必須承認這件事情其實也讓我方便一點:從外面來的信我現在大部分不用回答 - 因為對方根本不會受到。Hmm,是不是該對那些懶惰的人說“謝謝”?但是至少不只有我們學校有人用較“簡單”的密碼,其它地方知道同樣的問題。當然,寫病毒的人也知道…

而且,談到密碼的話… 我最愛的學術網路上的資通安全網站(專家,專家…)雖然要求注冊的時候密碼不可以少於八碼,但是不允許用文字跟數字之外的字… (當然,錯誤訊息不會告訴你這件事,你必須實驗才會發現)OT:我剛發現從我第一次到那邊,他們已經用第三個憑證。不過,他們的憑證到現在也還沒有好。原來用自己簽的(這樣當然無效),後來從別的網站把憑證拷貝過來(有效的,但是在別的網站有效,所以這裡又無效),現在又是自己簽的。而那些人要教所有的學校怎麼做好資通安全…

2009-02-27

bilingual HTML pages with CSS

I had the requirement to create bilingual HTML pages, but did not want to display both languages at the same time. So I dug around but only found switching of images. After some more digging and logical thinking I finally understood how I could solve this, using flyover/hover to switch the language displayed under the cursor. (multilingual...;-)) Explanations are here and you can see how it works here.

2009-02-23

Wikislate

你有沒有把Wikipedia當過辭典?我有,因為有一些領域,一般的辭典就不夠好。不相信?好吧,那你查一下allspice。那是一個香料,調味料。如果你的辭典知道這個,它真不錯。不過,Wikipedia有很多人貢獻,所以`它還是會在一些方面比任何辭典好。

可惜,這樣用Wikipedia有點麻煩,但是現在有人幫你做點簡單化:Wikislate出生了。請慢用…

2009-02-15

NV32ts

剛昨天我們系網被NV32ts訪問799次。我沒有聽過這個瀏覽器,所以我查一下:看起來,它目前先掃描各種各樣的網站,找SQL injection漏洞。找到的話,它會在你的網站放自己的code。所以,如果你懷疑別人怎麼可以在你的網站放木馬或其它軟體 - 就這樣…

2009-02-14

50套漂亮的icon

如果你像我不太有能力自己建漂亮的網頁上用的圖片,你應該跟我一樣每次需要找適合(而且最好可自由使用)的圖片。如果是,你可以參考這50套漂亮的icon…

2009-02-10

網際網路歷史

我希望你不會真的相信Al Gore或Bill Gates有發明網際網路。但如果你想要知道我們現在怎麼會有這個東西,Gizmodo有找到有趣的影片…

2009-02-09

資通安全專家:Bitdefender

看起來,不只有Kaspersky不太知道怎麼保護自己的資料,(不過,他們都非常了解怎麼保護你的資料!對,對,對…)Bitdefender好像一樣強。你有沒有考慮開一家資通安全方面的公司?我不認識你,不知道你會或不會什麼,但是你自己說:會比他們更糟糕嗎?

資通安全專家:Kaskersky

如果你想保護你的電腦,你當然會選最專業,最周到,最有經驗的公司。例如,Kaspersky:他們那麼“專業”,你在他們網頁只要改URL的一個數值,你就可以慢慢逛他們資料庫。厲害…

2009-01-13

It's a noun, not an adjective...

I had been teaching translation a few years back, but these days it's mostly interpreting. (I'm an interpreter, after all...) There has however been a kind of translation course that I always wanted to teach, but never had a chance to, until now: software localisation, "l10n".

L10n is very different from regular translation courses because what students translate is not just meant for their teacher to see and then throw away after he decided on a grade, here the translation actually gets used by people - and students learn how to actually apply (a term very popular and mostly equally meaningless at foreign language departments in Taiwan) the language they learned.

That I have this course now is more an accident, and currently I'm also not quite happy with it. The better students ("good" and "bad" are relative terms, right?) have long done their share this semester, the not-so-interested students are through too and what I am left with the last few days are those students who did not care at all and now suddenly woke up and noticed they might need to do something if they want to pass the semester.

I have not been teaching "normal" translation courses recently, so I also did not teach these students - but I assume that they must have had some translation classes since they are fourth year now. This is something I need to rely on, because in this course there are plenty of other things to learn, so there is no time for translation basics.

I doubt that you ever had to do with "Pootle". It is a server software to create a l10n site. It is technically not always easy to handle and took me a long time to get it running in an ISPConfig user account, but on the language front it is very nice indeed: You can permit all kinds of actions to translators, for example just let them make suggestions (what I do now), so a senior translator or editor (or teacher) can pick the best one - and still evaluate all others.

In this mode, there may be a few suggestions lined up under a source language term/phrase. Everyone can see previous suggestions, so it is not necessary (especially if your teacher told you so) to write again what someone else wrote already. But still I get four or more times the same "translation" suggested...

Pootle comes with a glossary and will itself make suggestions based on that in a separate field, and if that suggestions is suitable you can copy it with just one click. You can even create translation memory, so work gets easier the longer you use Pootle to do translations. Unfortunately, that help seems now misunderstood as the one and only correct translation. The glossary for example will suggest a term and its translation if the term is part of a word/phrase in the source language field.

So I have "credits" (we are translating a few open source games now), not the monetary kind, I speak of mentioning the people who contributed. The word "edit" is contained in "credits", so the glossary (filled mostly with computer-related terms) suggests "edit 編輯". And 4.5 out of seven students write right that as suggestion. (The half one wrote 編輯者) The four who wrote 編輯 did so consecutively one after the other...

Or let's take "difficulty". (still doing games) The suggestions: four 困難, one 困難的, one 困境 and one even "Difficulty". Gettext PO files allow translator comments and Pootle supports this feature, so I used it for a hint: "This is a noun, not an adjective." Nobody noticed.

And for such gems I am supposed (at least those students expect it) to issue a score. Don't ask me what I get if there are longer or multiple sentences, not just single words...

When I said my quarters were cold,...

...I did not mean, 'Oh, I think it's a little chilly in here, perhaps I'll throw a blanket on the bed.' No, I said it was COLD, as in, 'Oh, my left arm has snapped off like an icicle and shattered on the floor'! This is highly inappropriate, Captain!

Ambassador Londo Mollari in Babylon5: The Illusion of Truth

Our six degrees plus wind the last few days here on Taiwan may not be as low as the -20 or less in Europe, but here, the inside temperature is about the same as the one outside.

Something I can not quite comprehend even after a few years here: The cold time may be significantly shorter than the hot time of the year, but it is there. So why is it impossible to produce windows and doors that do not let the wind blow through? Why is it impossible to thermally insulate a house, so that it would make sense to use a heater?

Yes, on average, the river was only one metre deep, most of it was very shallow indeed. But the cow still drowned when it tried to cross...