Author Archive for p3t0r Archive Page 3



Ranges with dates (in Groovy)

During my previous ramblings with Groovy I didn't touch anything fancy in the Date/Calendar API; no need for it. But after reading a lengthy blogpost on the topic I just needed to have a look at it.
Consider the following code:
PLAIN TEXT
GROOVY:

sdf = new java.text.SimpleDateFormat("dd-MM-yyyy")

 

bd_daan = sdf.parse("23-01-1980")   

bd_peter = sdf.parse("18-01-1979")

 

t = Calendar.instance  [...]

CPD with maven2 and PMD

Detecting copy/pasted code is a useful technique to find potential buggy code. Duplicated code often results in bugs being fixed in only one version of the copied code. PMD is a great sourcecode analysis tool which integrates nicely with maven and has CPD (copy/paste detection) capabilities.
To configure with default settings and CPD support add [...]

When generating a project site for a multiproject setup as described in my previous post many people run into the same problem. The links to the different modules don't work when you use the 'site:site' target. A couple of solutions exist which 'solve' this 'problem' (technically it is a feature).
The actually links are configure [...]

Getting started with multiproject maven2

I'm helping a group of students to split up their codebase into a couple of manageable project using maven2 as the build tool. Their existing project is a layered Spring MVC web application. The following layers are present:

data model
dao / integration
services
web application 1

Since dependencies where not managed yet the codebase managed to drift into containing [...]

During the years I've been involved in digital media related projects quite a bit. With the current dominance of flash video stuff has become a bit more straightforward; you don't have to support multiple proprietary formats in parallel anymore.
I met and read about quite a lot of people building their own mini-youtube on top of [...]

Ballooning away

During the weekend I attended a super cool company event: we went flying in a hot air balloon. I really enjoyed the experience!
We went up in Utrecht (near Ikea) and landed about 35km (measured in a straight line) in south east direction. During the flight I took about 160 pictures, I selected a couple of [...]

Installing Leopard

No, don't worry... it's not me installing Leopard on my MacBook.
My wife managed to install Leopard without much help. Everything went smooth and Leopard runs really well. First impressions are (although it lacks Java 6) quite good; I really like spaces.
One of my colleagues was however less lucky. He ended up having to do the [...]

Anterior Uveitis

Due to the fact that I was "optically challenged" for the past week it might have been a bit silent on my weblog. Since I'm still recovering I'm trying to keep time behind my computer as short as possible.
Normally I would have used this time to read about Leopard, and the fact that it hasn't [...]

Yesterday the mailman brought the copy of "JBoss Seam - Simplicity and Power beyond Java EE" by Michael Juntao Yuan and Thoma Heute which I asked Finalist to order for me.
I managed to read the first two chapters. My first impression is that it's a bit 'jumpy'. Chapter two contains so many references [...]

Grails - 1.0-RC1

Two days ago Grails reached the 1.0 milestone; the first release candidate is out. New Features inlude:

GORM features ORM DSL for advanced Mappings
Support for easy to use Filters
Tag Library Improvements - Namespaces, body variables, page scope, improved tag and more
Controllers Improvements - Multi-dimensional params object, data binding retains type conversion errors
URL Mapping Improvements - [...]




About

Welcome to the weblog of Peter Maas. Here you'll find various posts related to stuff I like (like my kids and espresso) and stuff I do (like developing software).

JavaOne 2008 Pictures


Acme Anvile at CommunityOne Keynote Cable Car line Moscone Center - JavaOne Joshua Bloch at JavaOne2008 Charles Nutter & Guillaume Laforge sea_lion javaone2008 keynote Scribbled Sun Logo golden_gate_warning_sign pub Hotel room Stage being build in the nearby park Golden Gate javaone 2008 goodybag Community One Keynote Okke en Rudie Rudie Greenland nearby hotel alcatraz
View more photos >

Categories



Meld u aan voor PayPal en begin direct met het accepteren van creditcardbetalingen.