Software Freedom Conservancy 對 Ubuntu 認定 ZFS 相容性的反對意見

在「Ubuntu 搞定 ZFS 授權問題,將直接納入系統中使用」這邊提到了 Canonical 的律師們認為搞定 ZFS 的授權問題。

Software Freedom Conservancy 則是提出反對意見:「GPL Violations Related to Combining ZFS and Linux」。

主要是討論 GPLv2CDDLv1 的感染性相容問題。

我是覺得 Ubuntu 的說法比較合理,但這種事情沒上法院前誰都不知道... (而且第一仗的結果會特別重要)

芝加哥的高中將 Computer Science 列入畢業要求

芝加哥的高中將 Computer Science 列入畢業要求:「Computer science could become graduation requirement for CPS students」。

看起來沒有標準,有的學校以基本的 HTML 編寫為主:

Claypool announced the proposed requirement outside a technology classroom at Curie, where he'd earlier spent some time talking to introductory computer science students about the day's lesson on basic HTML coding.

Zynga 在舊金山的辦公室出售

Zynga 因為從全盛時期的 3500 人降到現在的 2300 人,決定賣掉在舊金山的辦公室:「Zynga puts its San Francisco headquarters up for sale」。

而且預定會賺一大筆:

Zynga acquired the space, which was once the U.S. headquarters of Sega, for $228 million. Now it maybe worth much more, given the boom in San Francisco real estate.

果然房地產才是王道 (酸) XDDD

聯邦政府僱用 CMU 的人研究攻擊 Tor

先前 Tor Project 有提到外面報導 FBI 在 2014 年時僱用 CMU 的人研究 Tor 的弱點並且加以攻擊:「Did the FBI Pay a University to Attack Tor Users?」。

這的確是錯的,因為不是 FBI,而是 DoD (美國國防部) 僱用的 (瞬間噴出茶來):「Judge confirms what many suspected: Feds hired CMU to break Tor」。Tor Project 的反應在「Statement from the Tor Project re: the Court's February 23 Order in U.S. v. Farrell」這邊。

A federal judge in Washington has now confirmed what has been strongly suspected: that Carnegie Mellon University (CMU) researchers at its Software Engineering Institute were hired by the federal government to do research into breaking Tor in 2014.

所以也不是空穴來風...

Uber 在泰國曼谷提供 UberMOTO 服務:機車載客

Uber 在泰國曼谷推出 UberMOTO:「Uber launches its first motorcycle service」,官方的英文新聞稿:「Bangkok, UberMOTO is arriving now!」。

可以用現金或是信用卡付款:

At the end of your trip, you can pay with either cash or credit, depending on what you chose before requesting the ride. You’ll also receive an electronic receipt.

各種新嘗試 XD

用 BitTorrent DHT 分散架構的 Twitter

看到「Decentralized feeds using BitTorrent's DHT. Idea from Arvid and The_8472 "DHT RSS feeds" http://libtorrent.org/dht_rss.html」這個東西,基於 BitTorrentDHT 所開發出來,完全分散架構的 Twitter-like 系統。

目前的 client 界面長這樣:

也可以顯示外部圖片:

如同作者說的,BitTorrent 的 DHT 的抵抗力很好。的確是因為種種原因,有不少單位常常攻擊他,希望他掛掉或是不穩,而這麼多年下來,由於一開始的設計上就有考慮到這樣的攻擊,實戰也存活得很好:

BitTorrent's DHT is probably one of the most resilient and censorship-resistant networks on the internet. PeerTweet uses this network to allow users to broadcast tweets to anyone who is listening.

程式是用 Node.js 寫的,不過用到的東西比較多,安裝起來會比較麻煩一點,照著說明。

MySQL 5.7 的 Rewrite Query Plugin

在「What to do with optimizer hints after an upgrade?」這邊介紹了 MySQL 5.7 引入的 Rewrite Query Plugin,看起來有很多可以拿來變化的?

作者提到的用法是當 minor version 升級後 (譬如 5.6 升到 5.7),由於 optimizer 愈來愈聰明,hint 應該都要重新確認是否還需要指定 (像是 USING INDEX),避免效能反而變差。

但這個前提是你能夠改到程式碼,如果你改不到程式碼就只能祈禱效能不會變差。

而 MySQL 5.7 提供的 Rewrite Query Plugin 則可以改寫 SQL query,像是 Oracle 官方文件裡給的範例:

mysql> SELECT * FROM query_rewrite.rewrite_rules\G
*************************** 1. row ***************************
                id: 1
           pattern: SELECT ?
  pattern_database: NULL
       replacement: SELECT ? + 1
           enabled: YES
           message: NULL
    pattern_digest: 46b876e64cd5c41009d91c754921f1d4
normalized_pattern: select ?

就會把 SELECT 1 變成 SELECT 1 + 1。實際測試會發現檢查的很嚴格,用 PI() 不會變:

mysql> SELECT PI();
+----------+
| PI()     |
+----------+
| 3.141593 |
+----------+
1 row in set (0.01 sec)

mysql> SELECT 10;
+--------+
| 10 + 1 |
+--------+
|     11 |
+--------+
1 row in set, 1 warning (0.00 sec)

目前好像只想的到 hint 可以這樣做,反正還一堆都跑 5.6 (這兩天 Percona 才出 5.7 的 GA),可以邊規劃升級,邊想看看有什麼情境可以用的...

在 Command Line 跟 Stack Overflow 互動

Hacker News Daily 上看到可以在 command line 跟 Stack Overflow 互動的工具:「stackoverflow from the terminal」。

可以用 npm 安裝。

作者引用了 xkcd 的笑話來說明為什麼要開發這個程式:

出自「tar

美國猶他州的星巴客將開始賣酒

美國猶他州的星巴客取得賣酒的執照,將開始提供酒精飲料:「Starbucks gets approval to sell alcohol in five Utah stores」:

Starbucks' liquor license was approved on Tuesday by the Utah Department of Alcoholic Beverage Control.

不過有限制,不能超過 30%:

As part of the Utah license requirement, 70% of Starbucks' sales must come from something other than alcohol.

這個有趣 XD

美國客機要禁止托運鋰電池

在「Lithium-ion batteries banned as cargo on passenger planes」這篇文章裡面提到美國打算在今年四月開始禁止托運含有鋰電池的設備:

Due to the risk of fire, lithium-ion batteries cannot be shipped as cargo on passenger planes.

That's according to a new ban enacted by the U.N.'s International Civil Aviation Organization, which takes effect in April.

如同文章尾提到的兩次貨機載運鋰電池產生的事故,我以為美國早已經全面禁止客機托運了 @_@ (因為台灣與日本早就禁止了?)

Lithium-ion batteries can still be shipped on cargo aircraft. At least two deadly cargo jet crashes have been blamed on fires caused by these batteries. A Boeing 747 crashed in Dubai killing two crew members in 2010. In 2011, an Asiana Airlines 747 crashed off South Korea, also killing two crew members.

這邊提到的兩次貨機的空難分別是「UPS航空6號班機空難」(2010 年) 與「韓亞航空991號班機空難」(2011 年),都是沒有人生還。