All posts in 'English posts'

Beyond all evil: Javas definition of an object

09-Apr-08

Some days i ago, i decided to revamp my ambitions to get the scjp thingy done. What exactly for, i don’t know. But working to the self tests, i found the following: class Ring { final static int x2 = 7; final static Integer x4 = 8; public static void main(String[] args) { Integer x1 […]

Read the complete article »

Patching wp-cache for more security

04-Apr-08

I use wp-cache on all my blogs all the time. No need waiting for being slashdotted or heised. But wp-cache comes with a security flaw. It requires the webserver to have write access on $WP_HOME/wp-content/cache and $WP_HOME/wp-content. The first part is perfectly reasonable, the second not. wp-cache creates it’s wp-cache-config.php in that place and edits […]

Read the complete article »

JDBC: Autogenerated keys revisited.

02-Apr-08

Some months ago i wrote about retrieving auto generated values with JDBC from an Oracle Database: JDBC: Get autogenerated keys on a Oracle DB. The solution i presented in the previous article doesn’t run in a Oracle Java Stored Procedure. To accomplish this, use a callable statement like this: final String sql = "BEGIN INSERT […]

Read the complete article »

WordPress 2.5 and http error codes

30-Mar-08

Am i the only one who’s annoyed that WordPress 2.5 sends a http 500 code if a commentor doesn’t fill in all required fields? Any Internet Explorer 6 or 7 user won’t see any error message but a “this page cannot be displayed!” page. Stupid decision. Otherwise, the update went smooth as far as i […]

Read the complete article »

UI Design

27-Mar-08

Apple, Google and you: Hilarious, but true. Although being somewhat different and currently under heavy critic (i.e. here) as far as Apple is concert, both Apples and Googles interface designs are appealing, at least to me and the comic summarize this very well: Do one thing and do this well. The strip was posted here, […]

Read the complete article »