Archive

Archive for May, 2009

Working bridge on startup for Virtualbox

May 24th, 2009 admin No comments

I'm experimenting with a server running under virtualbox on my home computer. Here is the script running as /etc/rc.local that sets my bridge up and starts the virtualbox with the name 'seville':

BASH:
  1. ifconfig eth0 down
  2. ifconfig eth1 down
  3.  
  4. tunctl -u namous -t tap0
  5.  
  6. brctl addbr br0
  7. brctl addif br0 eth1
  8. brctl addif br0 tap0
  9.  
  10. ifconfig tap0 0.0.0.0 promisc
  11. ifconfig eth1 0.0.0.0 promisc
  12.  
  13. dhclient br0
  14.  
  15. vboxheadless -s seville &
  16.  
  17. exit 0

Categories: software Tags:

Wordpress 2.8 announced and installed

May 18th, 2009 admin 1 comment

The Wordpress version running on this blog is now "2.8-beta1-11380". After the first beta has been announced, i switched the svn installation to trunk again (after having it to branches/2.7) and updated the blog.

There is a problem with gengo though: Right after upgrading i got this warning:

CODE:
  1. Warning: Invalid argument supplied for foreach() in /.../wp-includes/classes.php on line 255

The line in question looks like this:

PHP:
  1. foreach ( $GLOBALS['wp_taxonomies'] as $taxonomy => $t)

I really didn't have the time to get into this, so in order to get the blog going, i used the workaround suggested here and changed the line to:

PHP:
  1. foreach ((array) $GLOBALS['wp_taxonomies'] as $taxonomy => $t)

Categories: Programming, php, wordpress Tags:

Wolfram Alpha goes public

May 18th, 2009 admin No comments

Wolfram Alpha is finally the computer we were waiting for. Not only does it compute mathematical problems really fast, but it tries to give us everything about the answer, that we would like to find out. It's like a wikipedia - just with more accurate information. Also, WolframAlpha is able to interpret user input and find out what the user is trying to find out by searching for the terms of a query in a semantic database: Weather in Guatemala, President in Germany or C6H6O.

Below the answer set that WolframAlpha delivers, there is the option for an output as pdf-file and a rather general information of where the information came from.