log4p

Peter Maas’s Weblog

Archive for May, 2006

Complex forms & Springs’ ServletRequestDataBinder

I caught one of my collegueas trying to hack a custom way of handling a complex HTML form. He was trying to use the parameter names of his form to create some sort of imperative language his constructs looked something like this:

updateAction/[obj_id]/[field_name]/[field_value]
createAction/[obj_type]/[field_name]/[field_value]
deleteAction/[obj_id]
...

After programming for a couple of hours he came to me to ask me how I would solve the composite fields puzzle using the above.

Read more

2 comments

Smackbook

The macbook and macbook pro have a built-in tilt/motion sensors. It seems that Apple intended the sensor to be used for boring things like theft alarms and the like.

The following video demonstrates a much more useful use of the built-in sensors:

youtube video

Slapping your laptop on a regular basis seems fun to me!

 (Couldn’t find the actual software, so the above is a hoax… but still… techniqually feasible!)

8 comments

Autumn vs. Spring

When we returned home from a nice weekend in a cabin near the sea I noticed the strangest thing:

Mushrooms

On of the to-be flowerbeds is totally filled with small mushrooms! Really looks like mid-autumn… in the middle of what should be spring! I tried to figure out what sort of mushrooms they are (mainly to determine how to get rid of them) but couldn’t find a good way to determine the exact type.

While searching I found this site http://www.trq.nl/school/B7.php which let you search their mushroom database in various ways… couldn’t find them though…

Ideas, anyone?

40 comments

Sun and Ubuntu

Slashdot reported on the following zdnet article. The following quote sort of summarizes the main point:

At JavaOne, Ubuntu got a ringing endorsement from Sun CEO Jonathan Schwartz on Tuesday in San Francisco. In turn, Ubuntu project founder Mark Shuttleworth appeared on stage during Schwartz’s opening keynote at JavaOne to endorse Java.

I think this is great news! Sun putting effort in Ununtu (and Ubuntu in Java) should make my life as a Ubuntu-Java developer much better. Let’s see what happens!

No comments

Is Java ready to be open sourced!?

Jonathan Schwarts (Sun’s chief executive) told his audience at JavaOne that Sun is planning to release the source code of the Java programming language. Major buzz all around… but… Java source code has been available for YEARS! Important to notice is that releasing source code does not equal open source.

However, during the speech Jonathan also mentioned the following:

If Sun goes down the path of open-source licensing Java, it would use an OSI (Open Source Initiative)-approved license, he added.

Yeah! Will we finally see it happening?

If so will it be a good thing for the java community? I’m not so sure of it; having had lot’s of troubles migrating code between certified Sun, IBM and BEA virtual machines I think open sourcing might only introduce more incompatible versions. Maybe I’ll be proven wrong, let’s hope so!

No comments

Site design

I’ve switched the theme to use the latest K2 nightly partially for fun, but more important to have a site which scales in size. I still need to do some finetuning, but I’ll leave it for now to get used to the design.

And oh yes, the new image on top is another close-up of my espresso machine!

No comments

Can I be your boss….

baaszijnbannerRecently Finalist decided to try a new approach regarding recruitment of new employees. HR decided to reverse the normal process….

At http://www.magikjebaaszijn.nl (mag ik je baas zijn == can I be your boss) you can see my boss ‘applying’ to future employees.

Let’s see if it works!

2 comments

Introduction to Backbase @ Amis

Yesterday I attended the Backbase introduction at Amis. The fist part of the introduction was focussed at introducing the croud to web 2.0 buzzwords like RIA (= rich internet application), AJAX (asynchronous javascript and xml) en SPI (single page interface). The concepts where demonstrated using the nice demo applications availlable through the backbase website.

Read more

1 comment