Don’t bother making Linux swap partitions anymore. Swap files perform just as well as of 2.6, and are more convenient to add/remove/modify.
Twitter has the potential to offer a major search vendor the ability to not only inject real-time content into search results, but also to offer high-quality metadata to tune the ranking algorithm.
via Laserlike.com
The same design elixir that built the iPod and the iPhone can seep into your own code by some bit-based osmosis.
via InfoWorld. Good article about ‘Why developers prefer Macs’, I think one of the most important points from the article is that now Macs are Intel-based, and now that virtualisation through Parallels or VMware Fusion is becoming more and more stable and fast. This means that with a Mac you can test applications or websites on all platforms - Mac, Linux, Windows, smartphones. Linux and Windows are missing that crucial Mac virtualisation that makes Macs one better for running virtual machines.
The above quote is also a good point, and one I can relate to. When using my MacBook, I feel more inspired to work cleanly and efficiently, it’s something about the user interface and the design of the operating system and the applications available that makes you feel more organised and more inspired to work.
Using pi calculated out to only 39 decimal places would allow one to compute the circumference of the entire universe to the accuracy of less than the diameter of a hydrogen atom.
Apparently, dividing 22 by 7 is enough.
(via reddit)
Here’s my set up:
- Firefox 3 is installed using the default Ubuntu packages
- I’ve installed Firefox Minefield (Firefox 3.1) to /opt/firefox
- I set up a shell script to run as root daily via cron (dangerous I know, but it’s only readable+writable by root) which downloads the latest 64-bit nightly from Mozilla and extracts it, and recreates the symbolic link to it in case Ubuntu has updated and overriden it at some point (optional).
The script is as follows, be careful of any line breaks my blog puts in, watch for the semi-colons to indicate true line breaks:
#!/bin/sh
cd /opt/;
rm firefox-3.1b2pre.en-US.linux-x86_64.tar.bz2;
wget "http://ftp.mozilla.org/pub/mozilla.org/firefox/nightly/latest-trunk/firefox-3.1b2pre.en-US.linux-x86_64.tar.bz2";
rm -rf firefox/;
tar -jxvf firefox-3.1b2pre.en-US.linux-x86_64.tar.bz2;
chmod -R a+r firefox;
rm /usr/bin/firefox;
ln -s /opt/firefox/firefox /usr/bin/firefox;
It’s crude, but it works. If you are running x86 you’ll need to adjust the wget and tar lines to the correct source. Hope someone finds this useful.
Want backspace to take you back a page in Firefox on Linux? Enter about:config into your address bar, accept the warning, then change browser.backspace_action to 0. Done.
Linux Swap Partition versus Swap File 