Author Archive for p3t0r Archive Page
1 day of CommunityOne and 4 days of JavaOne went by in a flash. I’ve been to a lot of great, a couple of not-so-great and some really bad sessions.
To avoid information overload on semi-interesting topics I really tried to only go to sessions about topics I’m really interested in. For this JavaOne these […]
Yesterday I (with two of my collegueas) travelled to San Francisco to attend JavaOne 2008 and the Community one sessions which start on May 5th. The interesting conversations began during the flight; we we’re located just in front of the David Booth (JetBrains Executive Manager) and had a nice little chat about what features […]
Javaone: My (preliminary) schedule
0 Comments Published by peter April 11th, 2008 in conference, javaone.It has been a bit silent on my blog lately. This can be accounted to several reasons including some very busy projects at work and family business. I did write an article (in Dutch) for the Finalist blog about Fluent Interfaces though.
But recently I got some great work-related news which I just have to share: […]
I’ve been a bit silent on my blog lately. This is primarily caused by the birth of my second child Maaike. She is everything we could have hoped for!
I’m mostly running around with diapers, towels and video/photo camera’s if I’m not entertaining visitors or my son Sjoerd or posting to the family blog!
Nesting ActiveRecord transactions
1 Comment Published by peter January 24th, 2008 in active_record, ruby, transactions.I was experimenting with transactions in Rails/ActiveRecord to see what they can and what they can't do. At first it seemed I couldn't get transactions to work at all. I made sure I was using the InnoDB storage engine. I rechecked my code. But the test kept failing.
This, by the way, is the test:
PLAIN TEXT
RUBY:
require [...]
Some people complained about the fact that they had to register to add comments on this blog. Requiring people to login was the easiest way to get rid of spam after problems I had with SpamKarma.
While waiting for eclipse/subversion to finish its' tasks I decided to install Did You Pass Math? (DYPM). DYPM asks the [...]
Januari 28 will be the day of the first gathering of the Amsterdam's Ruby User Group. I'd like to be there but due to the fact that at that time my wife will be over 40 weeks pregnant... I just wont...
Still, I think it's a great idea and will certainly be joining future gatherings! For [...]
Learning Ruby at the Free Online Ruby Programming Course
0 Comments Published by peter January 10th, 2008 in online_learning, ruby.A couple of weeks ago a I read about the free online Ruby course by Satish Talim. The course is aimed at people who want to start learning Ruby. I've probably passed the 'starting stage' a while ago, but was intrigued and registerd (as did over 2000 enthousiasts from all over the globe).
At the beginning [...]
Closures and the return of the return
13 Comments Published by peter December 21st, 2007 in closures, java, ruby.I attended Joshua Blochs' presentation on closures at JavaPolis last week (watch the video here). This slides about return not return from what you'd expect kept me wondering: how do other languages solve this 'problem'.
The example from Bloch, taken from Slide 38 of Blochs' closures controversy presentation:
PLAIN TEXT
JAVA:
static <E> Boolean contains(Iterable<E> seq, {E => Boolean} [...]
How Elvis showed me a neat way of using operators in Ruby
5 Comments Published by peter December 19th, 2007 in groovy, ruby.Recently the Groovy team introduced a new operator to the Groovy language. It is called the Elvis operator. There is one thing I particularly like about this operator. It's name.
To bad the Elvis operator is only a shortening of Java's ternary operator, written like ?:. One use-case for the operator is returning a 'sensible default' [...]



















