2010-07-01から1ヶ月間の記事一覧
I reproduce below Slide 24 from Jeff Dean's keynote (PDF) at LADIS 2009. L1 cache reference0.5 ns Branch mispredict5 ns L2 cache reference7 ns Mutex lock/unlock25 ns Main memory reference100 ns Compress 1K bytes with Zippy3,000 ns Send 2K …
Here is how to get rubygems working on CentOS 5.5. Remove the old Ruby packaged with CentOS.$ sudo yum erase rubyMake sure you have zlib and zlib-devel installed.$ sudo yum install zlib zlib-develInstall a newer Ruby like 1.8.7-p299. $ wget…
I had to move a VMware image from one hard disk to another because I wanted to add more space to it (I use VMWare Player).I just copied the whole VM folder to the new directory, added the copied VM to VMware, and ran it. It asked if the VM…
My goal today was to run multiple instances of Jetty on different ports on Ubuntu 9.04.The Ubuntu 9.04 repository has Jetty 5.x only. It might be best to just uninstall the Jetty package and download a Jetty 6.x from the Jetty website. But…