VPS.net celebrated their 1 year bithday earlier this week and they have given all new and existing customers an upgrade to celebrate this occasion.
Instead of 400Mhz of CPU per node it is now 600Mhz and instead of 256MB of RAM it is now 376MB.
I think this is really good move by them it makes the pricing a lot more attractive to a lot of people and I hope they gain a lot more customers, which will give them more funds to continue improving as they have done over the last year.

They are doing the upgrades as of today at all data centers except UK Cloud – Zone A which will come in a few weeks when the all the VPS’s currently located there get moved to another Cloud. I just rebooted this server which is in Cloud B took just a few minutes and now gained my additional CPU and RAM.

If your not a VPS.net customer yet I suggest you check them out at vps.net. If your going to buy from them please use my affiliate link vps.net and this discount code AV408K which gets you 25% off the first month.

Building Netbeans from Source under OS X 10.6

By Mark Davidson on February 27th, 2010
1

Here is a quick run down of how to build and run Netbeans from source under OS X 10.6. I highly recommend giving this a go as there are always lots of good features being added to Netbeans at the moment I am trying out the Zend support in the latest version.

  1. Install Ant & Java SDK I did this by installing the OS X developer tool kit or follow the guide here http://www.asceticmonk.com/blog/?p=388
  2. Download & Install the latest version of Mercurial – http://mercurial.berkwood.com/
  3. Clone the main branch
    `hg clone http://hg.netbeans.org/main/`
  4. Create a .antrc in your home directory and add `ANT_OPTS=”-Xmx512m -XX:MaxPermSize=256m”` to the file.
  5. Change into the directory main
    `cd main`
  6. Then just run ant
    `ant`
  7. It takes about 30 minutes the first time on my MacBook Pro if it builds with no errors your good, to run it you need to run the built file `./nbbuild/netbeans/bin/netbeans`

WordPress Suhosin Memory Limit

By Mark Davidson on February 27th, 2010
7

On my last post I was uploading some images to include in the post using WordPress. I noticed in my error logs that while resizing the images the PHP script attempts to raise the memory limit.

Feb 26 22:52:29 host suhosin[9636]: ALERT - script tried to increase memory_limit to 268435456 bytes which is above the allowed value (attacker 'XXX.XXX.XXX.XXX', file '/var/www/wordpress/wp-admin/includes/image.php', line 161)

This is fair enough and is a good idea for security and to stop your server getting overloaded by a single script. So I looked into how to fix this and its a very simple process.

You need to edit your suhosin config. I am doing this under Ubuntu 9.04 mine is located ‘/etc/php5/apache2/conf.d/suhosin.ini’. To fix it for WordPress just add the setting `suhosin.memory_limit` to the config file with the appropriate value in the case of WordPress it needs to be set to 256.

Your config should end up looking like this

extension=suhosin.so
[suhosin]
suhosin.memory_limit = 256M

that is it really very simple. I am going to have a bit of a tweak with suhosin config later I think the default config can be improved a lot.