Tag Archives: linux

在瀏覽器裡面的「Linux 模擬器」

Tweet QEMU 的作者 Fabrice Bellard 寫了一個 javascript-based 的 x86 emulator:「Javascript PC Emulator」,技術細節在「Javascript PC Emulator – Technical Notes」。 其中實做了 486-based CPU,沒有浮點運算能力,另外因為這是 for fun project,所以很多細節沒做 (Linux 開機沒用到的功能都沒做)。以「x86 instruction listings」這邊列出來的指令集,要做到 486 等級,大約 150 條上下? 真是感謝現在的瀏覽器把 javascript 做的這麼快…

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

Ubuntu x86_64 上 Flash 畫面會閃爍的問題…

Tweet 這個 bug 只有在某些站才會出現,像是 SlideShare 的投影片一定會閃,InfoQ 也有同樣情況。是 allowTransparency 產生的問題嗎?不清楚… Ubuntu 目前系統內是使用 10.2 版,換成 10.3 (目前是 beta) 就會正常了,同樣是透過 PPA 就可以安裝: sudo apt-add-repository ppa:sevenmachines/flash sudo apt-get update sudo apt-get install flashplugin64-installer 不過 10.3 對 BBO 有點感冒啊…

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

Linux 上的 Firefox 將會跑得更快…

Tweet 這是之前在 Slashdot 上看到的消息,主要是因為 Linux 上的 Firefox 6 (還很久…) 將能夠使用 GCC -O3 編譯:「Firefox On Linux Gets Faster Builds — To Be Fast As Windows」。 在 VirtualBox 裡面裝好 Windows 後用 Firefox 4 (把 extensions 都裝上去),居然比 Linux 下 native Firefox 還快,就有種淡淡地哀愁… 繼續等吧…

Posted in Browser, Computer, Firefox, Linux, Murmuring, Network, OS, Software, WWW | Tagged , , , , | 1 Comment

用 UFW 控制 iptables

Tweet 之前都是自己設定 iptables,這次灌完家裡的系統後用 UFW 設定,對於基本的 firewall 功能來說相當簡單,但也夠用了: sudo ufw default deny incoming sudo ufw default allow outgoing sudo ufw enable 如果有需要開某些 port 也可以設定,比起之前自己設 INPUT policy 方便…

Posted in Computer, Linux, Murmuring, Network, OS, Security, Software | Tagged , , , , | Leave a comment

重做記憶卡,刷 patch…

Tweet 昨天「第二次刷 Desire…」在處理 MicroSD 記憶卡的時候,fdisk 的部份弄錯了參數 (要輸入 +1G 輸入成 1G,結果切出來不到 1MB),造成 FAT32 的 partition 太小,於是在 Android 的系統中只有 300KB 的 SD 卡空間可以用,然後一堆程式就會爆炸… 重切以後就都 okay 了。 另外 LeeDrOiD V3.0.3 GB 在 Android Market 逛的時候超容易當機,文章 Changelog 的地方有個 patch 可以下載更新,刷上去以後就正常多了… 因為這樣晚上牛肉麵的餵食照片沒拍起來… (不是銀記,是另外一家)

Posted in Computer, Linux, Murmuring, OS, Recreation, Software, Telephone | Tagged , , , , | Leave a comment

第二次刷 Desire…

Tweet 今天晚上到銀記餵食完 slzzp 後,順便就在光華商場買了一張 Class 10 的 MicroSD,準備給 Desire 刷 A2SD ROM 用,不然裝沒幾個軟體就在叫沒空間… 回家等車的地方剛好看到 HTC 在光華的店面: 回家後到 XDA 上找個順眼的 image 刷,挑的是「[ROM]LeeDrOiD V3.0.3 GB 22nd April | Android 2.3.3 | A2SD+ | OpenVPN | FAST | STABLE」這個。 除了一般刷機要做的事情外,在 Linux 下面要自己找指令處理 MicroSD … Continue reading

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

裝 mplayer-mt 改善解碼效率

Tweet 用 multi-threaded 版本可以將解碼的程式丟到多顆 CPU core 上跑,善用多 CPU 的資源,這樣看 1080p 才不會痛… (家裡的 AMD X2 4000+ 得這樣設,不然原來的版本解不動) 主要有兩個步驟要做,首先是加 ppa 並且安裝 mplayer-mt: sudo apt-add-repository ppa:longinus00/mplayer-mt sudo apt-get update sudo apt-get upgrade # 已經有 mplayer 的 case sudo apt-get install mplayer # 沒有裝 … Continue reading

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

Ubuntu 11.04 使用者測試結果

Tweet 在 Ubuntu 的 mailing list 上有人將 Ubuntu 11.04 系統拿給 11 個使用者測試 (並且觀察),並將結果 post 上來:「Default Desktop Experience for 11.04 – User testing results」。 如果你仔細讀,會看到很多很驚人的 User Experience 問題,是 geek 沒辦法想到的 (因為反射動作就會避開這些問題),像是下面的敘述描述了 slash 與 filename 衝突的問題: 9/9 easily saved their LibreOffice Writer … Continue reading

Posted in Computer, Linux, Murmuring, OS, Software | Tagged , , , | 2 Comments

關於 Android 授權 (License) 的爭論:Linus Torvalds 的說法

Tweet 昨天提到的「header file 與 GPL(v2) 的「衍生作品」…」,Linus Torvalds 也跑出來講話了:「Android: Sued by Microsoft, not by Linux」 It seems totally bogus. We’ve always made it very clear that the kernel system call interfaces do not in any way result in a derived work … Continue reading

Posted in Computer, Linux, Murmuring, OS, Software, Telephone | Tagged , , , , , , | Leave a comment

Ubuntu 上跑 VirtualBox 連接 USB 裝置…

Tweet Ubuntu 10.10 系統內的 VirtualBox 是 OSE 版本 (Open Source Edition),先到 VirtualBox 官方網站下載對應的 deb 檔:「Download VirtualBox for Linux Hosts」,像我的電腦是跑 10.10 amd64 版本。 接下來是把系統內的 VirtualBox 移除: apt-get purge virtualbox 移除完畢以後將剛剛下載的 deb 檔安裝進系統:(後面的檔名自己變更) dpkg -i virtualbox-4.0_4.0.4-70112~Ubuntu~maverick_amd64.deb 然後把自己加到 vboxusers 這個 group 內 (我是直接改 … Continue reading

Posted in Computer, Linux, Murmuring, OS, Software | Tagged , , , | 2 Comments