Life of the IT-Drummer

A web log from Tobias Rusås Olsen.

Combining Ruby (or Groovy/BeanShell) and Java with Spring Framework.

To combine Ruby and Java might seem like a challenge, but it’s actually quite easy using the Spring Framework. Feel free to follow along with my simple step by step instructions. I make programming FUN! These examples are collected from Spring In Action - Second Edition and uses Spring Framework 2.0.8.
1: Define a regular java [...]

Read the rest of Combining Ruby (or Groovy/BeanShell) and Java with Spring Framework.

Code Golf - Fun programming site.

I recently discovered Code Golf, which is a web site with a collection of fairly simple programming challenges. You are free to choose from a set of languages (Ruby, Python, PHP, Perl) and the goal is not just to solve the challenge, but to solve it using as few characters as possible. It will not [...]

Read the rest of Code Golf - Fun programming site.

Ruby on Rails - first impressions and a solution to a silly problem

Tonight I decided to give Ruby on Rails a try, as I tend to like playing with ruby, and I also like web applications. Therefore I search for “ruby on rails tutorial” on google, and found a wikipage which seemed like a nice tutorial. I already had ruby installed, and I followed the tutorial down [...]

Read the rest of Ruby on Rails - first impressions and a solution to a silly problem

Mitt første ruby-program!

Så, endelig har jeg tatt steget inn i rubyverdenen på ordentlig, og laget meg et lite script. Jeg fikk mye hjelp fra Bjørn, som også har bearbeidet koden min litt i etterkant (takk for det!).
Det scriptet gjør, er at det henter ut og lagrer alle tegneseriestripene fra den flotte siden Saturday Morning Breakfast Cereal på [...]

Read the rest of Mitt første ruby-program!

Prøv Ruby!

Bjørn, aka Rubykongen, anbefalte meg en flott Try Ruby-side. Ruby er et dynamisk og reflekterende språk som går på tvers av programmeringsparadigmer, så man har mulighet til å utnytte fordelene ved både funksjonell, objektorientert eller imperativ programmering i ett og samme språk. Ulempene er at det kan være veldig tregt. Uansett, det er et veldig [...]

Read the rest of Prøv Ruby!