Recent Entries:

Favorite Links

Archive for the 'General' Category

« Previous PageNext Page »

REST and validation errors

Thursday, April 2nd, 2009

REST advocates to use HTTP for CRUD fully exploiting the verbs defined in the protocol specification:
POST to Create
GET to Read
PUT to Update
DELETE to Delete
Nothing strange about that. But how do we handle server-side data validation ?
Server-side validation cannot be replaced by client-side but it complements it. Client-side we can f.i. verify if an E-mail address [...]

Maven: The Definitive Guide

Wednesday, January 28th, 2009

I have been looking for you for ages.
I wanted to know all of your secrets, not just guess them from the POM reference or from the maven official documentation, which is very poor in same cases.
Where have you been?
Finally I found you, Maven Definitive Guide!

www.södraitalien.se

Thursday, January 22nd, 2009

www.södraitalien.se and www.sodraitalien.se are now registered and redirected to www.basilicata.se

Corsair memory upgrade for ReadyNas NV+

Wednesday, January 21st, 2009

I just got my Corsair Value Select  1GB DDR1 400Mhz PC3200 (VS1GSDS400/EU) memory module and installed on my ReadyNas NV+. I’ve run the memory test twice and it works like a charm.
Unfortunately my SqueezeCenter is not much faster…, but this is an other story :-(

IE6 does not cache my filtered pngs

Wednesday, November 19th, 2008

When using png images as background, you need to apply a trick to make Internet Explorer 6 to display the background as transparent:

filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src=’http://robcos.com/img.png’, sizingMethod=’crop’);

I realized though that if Internet Explorer caching setting is set to Every visit to the page, the png file is dowloaded multiple times if you have the same picture more than [...]

Welcome to the list: 120th place

Wednesday, November 5th, 2008

The Swedish company ÅF has been looking for consultants.
To gain some visibility they built a flash based website on which you could solve some programming exercises. Besides getting a wider spread of candidates, they surely succeeded making the “job application” more interesting.
They said they were going to offer a job to the first 100 in [...]

Maven and the encoding of Java files

Friday, October 3rd, 2008

I was mavenizing a java project (I was using ant earlier) on my macbook and I realized that since I was using UTF-8 on my macbook the files were compiled using UTF-8 instead of ISO-8859-1 (some strings where corrupted).
The solution is to add the encoding parameter to the maven-compiler-plugin

<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<source>1.5</source>
<target>1.5</target>
<encoding>ISO-8859-1</encoding>
</configuration>
</plugin>

More memory to the MacBook!

Monday, September 22nd, 2008

I erroneously ordered som ram for a friend which did not work. I then tried it on my MacBook and now I’m running 3 GB instead of the officially “max 2″ supported.
The module I installed is named: VS2GSDS667D2 / Corsair Value Select VS2GSDS667D2 2048MB SO-DIMM DDR2 PC2-5300 667MHz. It works like a charm. More RAM [...]

onmouseover / onmouseout and nested divs

Friday, August 29th, 2008

I had never noticed a behavior which left me astonished
If you have two nested divs and are listening for the onmousover event on the parent div, you will get a onmouseout event when entering the nested div!
parent div
Nested div

As I see it, since the mouse has not left the area covered by the red [...]

Basilicata på svenska!

Tuesday, July 15th, 2008

Jag har fått uppdrag att översätta en italiensk sida till svenska.
Sidan handlar om Basilicata, regionen jag kommer ifrån, i södra Italien.
Hoppas att på detta sättet några svenska turister kan upptäcka den underbara och oexploaterad naturen vi har där ned.
Besök Basilicata!


« Previous PageNext Page »