Archive for August, 2009

Google Firewall problem

FireGoogle

Hihi, I talked about the GooglePlex a few months ago. Seems like the guys had a bit to much of spare time as they created a fire during a BBQ.

This picture was posted on Twitter before the firefighters even got the chance to arrive on the site. I just love the fast spreading technologies. The fire didn’t do huge damage to the building, but I guess they earned it. Who the hell is barbecuing on a Thursday afternoon anyway, shouldn’t they be in the Fitness center, the swimming pool or pool hall?

Maybe it’s just jealousy and I seriously hope nobody was injured, but they deserved it. hi hi.

I checked everybody in my office and they all seem to have a valid alibi. :-)

Tags: , ,

Tech Support Cheat Sheet

Oh so true …

From xkcd

speeding up your mysql db

This is an interesting video on how to speed up your mysql db. Be sure you have an hour of free time if you want to watch this.
If you want to look for more videos on how to to tech stuff I recommend you take a look at bestechvideos

The Quick and Easy Guide to Speed Up MySQL for Web Developers from Jonathan Levin on Vimeo.

Tags: , , ,

Quartz: test a cron expression

quartz logo

quartz logo

Cron expressions in quartz can sometimes be difficult to test, especially when the cron is programmed to trigger after hours or days. Unless you want to wait that time, here is some snippet code you can use to test a cron.

import java.text.ParseException;
import java.util.Date;

import org.quartz.CronExpression;

public class CronTester {

	public static void main(String[] args) throws ParseException {
		final String expression = "0 0 * * * ?";
        final CronExpression cronExpression = new CronExpression(expression);

        final Date nextValidDate1 = cronExpression.getNextValidTimeAfter(new Date());
        final Date nextValidDate2 = cronExpression.getNextValidTimeAfter(nextValidDate1);

        System.out.println(nextValidDate1);
        System.out.println(nextValidDate2);

	}
}

Outputs:

Tue Aug 18 14:00:00 CEST 2009
Tue Aug 18 15:00:00 CEST 2009

Tags: ,

html 5 experiment

html5-canvas-particles2This is super cool!!!!

9Elements created a completely html page containing nothing more then Javascript and some of the tags that are created in the new HTML version.

This is really amazing as it is really the first time that I see a website that does some things I thought could only be done with Flash. I m overwhelmed with it an I suggest you take a look at it!! Be sure to look at it in an advanced browser ( Google Chrome 3.0, Safari 4 or the latest Firefox 3.5 version).

LOOK AT IT NOW

Tags: , ,