YouTube (Google) 允許環球唱片 (Universal Music Group,UMG) 直接移除非 UMG 所擁有版權的影片

依照環球唱片 (Universal Music Group,UMG) 提供給法院的文件中,YouTube (也就是 Google) 允許 UMG 透過 YouTube 的 CMS (Content Management System) 移除「不屬於 UMG 的影片」:「Google Deal Allegedly Lets UMG Wipe YouTube Videos It Doesn’t Own」,文件 (PDF) 在:「gov.uscourts.cand.248875.14.0.pdf」這邊可以下載取得。

重點在於這份文件中第四頁的這段:

The UMG-YouTube agreement grants UMG rights to effect the removal of user-posted videos through YouTube’s Content Management System (“CMS”), based on a number of contractually specified criteria that are not limited to the infringements of copyrights owned or controlled by UMG. Klaus Decl., Ex. 4 (Klaus to Kavanaugh letter, Dec. 14, 2011). Dotcom speculates in his declaration that Universal must have sent a so-called “DMCA notification form,” such as the one he printed and attached at Ex. E to his declaration, to YouTube. Doctcom Decl. ¶ 11. But UMG (which interacts with YouTube) does not use that form when requesting the removal of material pursuant to UMG’s contract with YouTube. UMG uses YouTube’s automated CMS system.

繼續來看後續吧…

Posted in Computer, Movie, Murmuring, Network, Recreation, Television, WWW | Tagged , , , , , , , | Leave a comment

同時用 mod_deflate 與 mod_fastcgi 所產生的問題…

今天花了不少時間找到的問題…

問題是使用 mod_fastcgi 以及 mod_deflate 時,Content-Encoding 會是 gzip,但 Content-Length 會是未壓縮的長度。

也就是說,伺服器端在 header 提供的 Content-Length 可能寫 8KB,但實際上只丟出 2KB (壓縮後的大小),於是瀏覽器讀完這 2KB 後會停下來一直等,等到 Keep-Alive timeout 斷線 (在我機器上預設是 5 秒)。

在 timeout 斷線後 browser 會就抓到的資料直接解開執行 (因為這 2KB 都有抓到,於是都正確執行)。如果用瀏覽器這邊的 debugger 觀察,就會發現從 first byte 後 5.00 秒才 document ready。

解法有人在 2008 年給過:「Content-Length header should be set using ap_set_content_length」,不過因為 mod_fastcgi 一直沒出新的正式版,所以大家都還是拿到舊的版本。

所以,與之前修正 multi-threading 的問題一樣,往 ports 本身丟 patch:「Update www/mod_fastcgi to fix mod_deflate issue.」,修正後再測試就正常了。

Posted in Computer, Murmuring, Network, Software, WWW | Tagged , , , , , , , | Leave a comment

Squid 3.1 的 forward proxy 設定…

因為打算給 portsnap 用,所以得用 Squid 3.1 架 forward proxy,可以避免大量對外抓同樣的資料…

由於是內部的機器,不需要擋 acl,設定起來超簡單… ports 裝完 www/squid31 後,把 squid.conf 寫成:

#
http_access allow all
#
access_log /home/squid/logs/access.log squid
cache_dir aufs /home/squid/cache1 1024 16 16
cache_effective_group squid
cache_effective_user squid
cache_log /home/squid/logs/cache.log
cache_mem 256 MB
http_port 3128

這樣就「會動」了… (先不管效率) 照 squid 的慣例,第一次必須先跑 /usr/local/sbin/squid -z 讓目錄建立出來,後面就是標準的 /usr/local/etc/rc.d/squid start

Posted in Computer, Murmuring, Network, Software, WWW | Tagged , , | 2 Comments

BSD make 與 GNU make 的 Makefile…

前陣子看到 fcamel 丟出來的舊文章:「Debugging make」,花了一些時間看裡面關於 BSD make 與 GNU make 的相同處,之後寫 Makefile 的時候應該會相當有幫助。

目前的目標是 FreeBSDUbuntu,文章裡面有提到三個變數在兩個平台是通用的,分別是 $< (The source from which the target is to be made)、$* (The base name of the target (no extensions or directory))、$@ (The full name of the target)。

另外文章後面也有提到不相容的地方... 如果能避免就儘量避免?

Posted in Computer, Murmuring, Programming, Software | Tagged , , , | 1 Comment

把 Ubuntu 11.10 的 Alt-Tab 行為改掉…

參考「Revert Alt-tab behavior changed in 11.10」這篇提到的方法改。

Ubuntu 11.10 的 Alt-Tab 切換視窗的行為與 11.04 不同,會遇到切換兩次是不會切回原來視窗的情況。

我遇到的情況是 Google Chrome 除了 browser 本身以外,還開了一個 Tasky for Google Tasks,於是在系統裡面就會有兩個視窗。當我現在 focus 在 browser window,用 Alt-Tab 切到 terminal 後,再用 Alt-Tab 切回來,focus 變成在 Tasky 上面… 這讓人相當困擾 :o

依照上面那篇文章所提到的方法改系統設定就回到原來 11.04 比較不那麼擾人的切換方式…

Posted in Computer, Linux, Murmuring, OS, Software | Tagged , , , | 1 Comment

GitHub 買下 Ordered List…

GitHubOrdered List,兩邊都有新聞稿:

Ordered List 的產品質感一直都很不錯,最近比較有名的產品就是 Speaker Deck,像是 othree 講 Base2 這篇,embed 起來的效果:

Posted in Computer, Murmuring | Tagged , , | Leave a comment

Firefox 11 將會支援 SPDY Protocol

Firefox 預定在 11 (現在是 8) 支援 SPDY Protocol:「(SPDY) Implement SPDY protocol」,除了 Google Chrome 自家瀏覽器支援外,總算有個大的也要支援了…

所以現在除了 Chrome、Kindle Fire 以外,又多了 Firefox 支援…

不過 ApacheF5 什麼時候會支援呢… mod-spdy 看起來… 呃…

Posted in Browser, Computer, Firefox, Murmuring, Network, Security, Software, WWW | Tagged , , , , , , , , | Leave a comment

重新啟動 Mac 的藍牙…

家裡的 Mac MiniMagic Mouse 中間透過藍牙連接,但有時候會斷掉…

剛開始是接隻 Apple Mouse 重開藍牙,後來覺得太麻煩了,還是要找可以用鍵盤搞定的方法:「blueutil » Command-Line Control of Bluetooth on the Mac」,裝好後用 blueutil off; blueutil on 就可以重新打開藍牙…

Posted in Computer, Hardware, MacOS, Murmuring, OS, Software | Tagged , , , , | Leave a comment

關掉 Mac OS X 上的平滑捲動…

起因是想要關掉 Google ChromeMac OS X 上的平滑捲動,找了半天都沒看到,後來被人提醒,Mac 系統有選項提供平滑捲動,Google Chrome 有平滑捲動可能是由作業系統提供,而非 Google Chrome 自己實作:

關掉後問題就解決了…

Posted in Browser, Computer, GoogleChrome, MacOS, Murmuring, OS, Software | Tagged , , , , , | 2 Comments

安裝 Pretty Beautiful Javascript…

Pretty Beautiful Javascript,這是安裝前看 jQuery 1.7.0 程式碼的效果:

這是安裝後的效果:

不過 javascript 檔案大一點跑起來就會很慢 XD

Posted in Browser, Computer, GoogleChrome, Murmuring, Network, Programming, Software, WWW | Tagged , , , | 2 Comments