Labels

css (1) jQuery (7) linux (38) mac (70) php (29) python (1) svn/git (9) trac (4) ubuntu (1) virtualbox (6) vista (2) windows (14)

Monday, 29 September 2008

Virtual box vboxsvc chews up ram/cpu

Recently I have been playing with virtual box by sun. The reason for this is I run vista x64 as my development machine (it's got more ram, better processor and oodles more hard drive space than my mac book pro), which the only version of vmware which I used to use will work is the 2.0 vmware server beta version.

Vmware server 2.0 in my opinion is fugly! The interface is web one running on an apache server it installs on your pc..really what was wrong with the old interface? It's slow and makes adding hard drives/isos far more complicated than before.

So I installed virtual box, unfortunatly if I leave the pc on for say a day or so it will chew the cpu and ram so much the host machine hangs.

Now apparently this is caused by a memory leak in vista which is noted on the virtualbox download page there is a hotfix from microsoft but you have to request it which is a pain.. so a google around found this which I downloaded and replaced the old files with the new ones and woot! No problems, infact I have been running virtual box all day and the service has used 4MB of ram, compared to the 600 to 1000 it was previously!

Thursday, 18 September 2008

Firefox 3 Smart Bar

Really annoying? Yes! As you may know I develop websites, and like anyone with any sense I develop them locally before uploading them, so the live version and localhost version have the same titles...so I want to access the live one..I type in the address which logically resembles the title of the page and what do I get? The localhost version...

After a quick google I found http://www.pcmech.com/article/firefox-3-disable-the-smart-location-bar-sort-of/ this. It tells you how to disable the "smart" bar.

Firstly type about:config into the address bar, then filter it by urlbar, change
browser.urlbar.matchOnlyTyped to true and browser.urlbar.maxRichResults to 1 and voila! All done!

PHP Bug Fixed!

Yay, the bug I reported about floats being squiffy in php5.2.2 and above has finally been fixed in cvs see http://bugs.php.net/bug.php?id=43053

Tuesday, 16 September 2008

OU & Mac

Found a useful site on OU stuff and macs http://open.homelinux.org/index.php?n=Main.Home.

I added my tutorial for bluej and mac to it :)

Monday, 1 September 2008

MacOS X Adobe Reader 9 - An internal error occurred

Just a quick blog before bed.



I've had a problem with adobe reader 9 for a few days and never got around to fixing it. Whenever I launched it I got the message "An internal error occurred" then it crashes and the apple report system pops up.



Googling around I found that checking the disk permissions might help so I tried that...no avail.



Turned out that the /users/<username>/library/application support/adobe/acrobat folder had the wrong permissions (my user had no permissions only system had access) popped myself in with read and write and woomf! Works fine now :)