A gotcha with Python's socket.htonl() and ntohl()
Here is something that I ran into the other day :the socket module 's htonl() and ntohl() functions will return signed numbers undersome circumstances, not unsigned ones, which means that for some inputvalues they will return negative numbers.
(Some quick testing suggests that this happens on 32-bit x86 machinesbut not 64-bit x86 Linux machines; all of the 32-bit machines I haveaccess to are running some version of Python 2.5.
A corollary to the limits of anti-spam precautions
One of the corollaries to the limits of certain sorts of anti-spamheuristics is that if you see spam softwareactively working to get around any particular sort of precaution, youcan assume that the particular precaution is getting reasonably popular.
This follows from spammers being lazy but not stupid; if the precautionwas not reasonably popular, dealing with it probably wouldn't be worththe time of the programmers behind the spam bots. That they do deal withit implies that it is worth their while to do so, which
My quick reaction to Ookami-san to Shichinin no Nakamatachi episode 1
Rather than just just email my comments to Author in response to his entry ,I'll be Author-like and post something here for once.
The first fansub of Ookami+7's first episode has come out, and I'vewatched it now (partly because of Author's entry). Unlike some, Iactually like the narration; without its injection of snarky commentaryand the show's gleefully casual exploitation of Western fairy talesfor our amusement, this would be a pretty ordinary romantic comedy
Bio Hazard Outbreak / Resident Evil Outbreak 決意達成率 (Decision, Decision Completion)
| 編號 | 資料(日文) | 資料 | 01 | 鹿剥製に赤い宝石をはめた | 在大廳對鹿頭標本使用紅色寶石 | 02 | 鹿剥製に青い宝石をはめた | 在大廳對鹿頭標本使用藍色寶石 | 03 | 事務長室の鳩時計の仕掛けを解いた | 解開「事務長 |
|---|
Bio Hazard Outbreak / Resident Evil Outbreak 獄炎達成率 (Hellfire Completion)
| 編號 | 資料(日文) | 資料 |
|---|---|---|
| 01 | 客室101の金庫の鍵を解除した | 打開客室101保險櫃的鎖 |
| 02 | 配電室で緊急電源を供給した | 恢復1F配電室的緊急電源 |
| 03 | ヨーロッパ地図の仕掛けを解いた | 解除客室204 |
Bio Hazard Outbreak / Resident Evil Outbreak 巢窟達成率 (The Hive Completion)
| 編號 | 資料(日文) | 資料 |
|---|---|---|
| 01 | 輸血パックを使用した | 使用血漿 |
| 02 | ナースコールを鳴らした | 按動病床的呼叫鈴 |
| 03 | シャッターの電源を入れた | 打開1F夜間受付的電源 |
| 04 | 1F廊下のシャッターを開けた | 打開 |
Bio Hazard Outbreak / Resident Evil Outbreak 零下達成率 (Below Freezing Point Completion)
| 編號 | 資料(日文) | 資料 |
|---|---|---|
| 01 | キーピックでロッカーを開けた | 使用Alyssa打開休憩室的儲物櫃 |
| 02 | 凍ったレンチを溶かした | 溶解結冰的扳手 |
| 03 | レンチでパネルを開けた | 使用扳手打開面板 |
| 04 | バルブハンドルでB |
Bio Hazard Outbreak / Resident Evil Outbreak 發生達成率 (Outbreak Completion)
| 編號 | 資料(日文) | 資料 |
|---|---|---|
| 01 | タルでバリケートを完成させた | 推動兩個酒桶於正門 |
| 02 | スタッフルームへの鍵を使用した | 使用員工室鎖匙 |
| 03 | 青いタグの鍵を使用した | 使用青牌鎖匙 |
| 04 | 壁の絵の仕掛けを解い |
Bio Hazard Outbreak / Resident Evil Outbreak Extra
| 編號 | 資料 | 條件 | 分數 |
|---|---|---|---|
| 001 | Hard難度選擇 | 完成全故事模式 | 2000 |
| 002 | Very Hard難度選擇 | 完成Hard全故事模式 | 3000 |
| 003 | No Partner選擇 | 完成Hard全故事模式 | 10000 |
| 004 | Infinite選擇 | 全故事模式100%達成率 | 5 |
Bio Hazard Outbreak / Resident Evil Outbreak Music
| 編號 | 資料 | 條件 | 分數 |
|---|---|---|---|
| 001 | 發生BGM | 完成發生 | 1000 |
| 002 | 零下BGM | 完成零下 | 1000 |
| 003 | 巢窟BGM | 完成巢窟 | 1000 |
| 004 | 獄炎BGM | 完成獄炎 | 1000 |
| 005 | 決意BGM | 完成決意 | 1000 |
| 006 | 戰鬥BGM | 全故事 |