Lift and Terracotta session clustering, but not the Lift session.

In my quest to learn new and interesting stuff I had the brilliant idea  to combine several things in one. I have been playing around with Scala, not as much as I would like, and I wanted to give the web framework written in Scala, aka Lift, a go as well. Besides that I also recently watched a webinar on the new Teracotta Darwin release and web session clustering and was eager to give this a spin to.

A little later a blogger posted a setup of all these nice technologies combined so I gave it a try. Minimal effort maximal geekyness! Hurray!

After spending some time setting up the environment I soon realized that everything was working well and the Lift session wasn’t being shared at all. Bummer! Turns out the Lift session is something on it’s own so trying to cluster it as we know it with the Teracotta session clustering is like chewing bubblegum to solve a math equation.

Spam spam bacon and spam!

I got spammed on my blog so badly that it hurt my eyes! While I’m thinking of a solution to delete all comments ever made I had to think about the Monthy Phyton sketch. This is the vid:

Priceless!

Update: I deleted all comments via sql. No one ever commented anything useful here anyways.

DELETE FROM `wp_comments` WHERE 1

RIP mininova

Today I heard this great song on the radio while I was driving in my car commuting, well frankly I’ve heard it a lot lately but I finally paid enough attention to actually remember from who it is. This is actually already quite an achievement since I can hardly remember names of songs and even less names of bands. I do remember some though, live Nirvana’s Smells like teen spirit. I had no choice than to actually know this one by hart. If I didn’t I would have been a social misfit amongst my teenage friends back then …

But back to the song, I remembered the title of that nice song and on top of that, I actually thought of it again when I was sitting at my computer and doing catching up with the mails thing. I can’t leave that opportunity¬† unused so I opened a new tab in my browser and went over to mininova. Yep, I use mininova. What did you expect? That I’m actually going to plan a trip to some record shop and once there ask for the cd I wanted to hear and after listening to it maybe buy it? Nope, been there, done that. God bless the internet in all it’s glory. I go to mininova, it’s just so much easier!

So I get to mininova and to my big surprise mininova has been shut down! Crap, I just remembered and actually thought of a song for once …

Starting with scala

I’ve been playing and reading up on scala tonight. Every time I want to get by with something I notice a dozen of other interesting things which I add to my already to long todo list.

To start out with scala I downloaded the IntelliJ Community Edition, installed the scala plugin and followed the tutorial on the intelliJ site. Furthermore I bought the Pragmatic Programmers Programming Scala book and started reading and coding. The hands on approach is only one to really learn a new language.

After years of Java coding you have to unlearn some old die hard habits and start thinking out of the box. It’s actually nice to do that again.

Relegion sneaked in?

A few days ago I noticed a tweet by Richard Dawkins where he links to this article which explains the origin of the human urge in the quest for happiness. Apart from the interesting topic in the article the subject reminded me of a quote of Thomas Jefferson. I did not remember it exactly but I knew something in the line of:

People must be able to pursue happiness.

Very vague indeed, but the idea behind it is the same as what was explained in the article Richard linked. Man (or women) never really achieves a happy state in which he can stay for the rest of his days. The best you can get in live is the ability, or feeling, that you can pursue happiness. This can be whatever that may be.

I didn’t really knew the context or the real quote of Thomas Jefferson so my curiosity kicked in (elevated dopamines or just very bored?). I googled the quote and found two matches. Not very strange at first sight. The first match was a quote from the initial draft of the declaration of independence.

“We hold these truths to be sacred and undeniable, that all men are
created equal and independent, that from that equal creation they
derive rights inherent and inalienable, among which are the preservation
of life, and liberty, and the pursuit of happiness.”

The second was a quote from the final version of the declaration of independence.

“We hold these truths to be self-evident,
that all men are created equal,
that they are endowed by their Creator
with certain unalienable Rights,
that among these are Life, Liberty,
and the pursuit of Happiness.”

At first it looks like it’s saying the same thing but with an other choice of words. But when you look closely you can notice the word Creator was added in stead of creation. I wonder why. Who changed that? Was it the intention from the beginning to add a divine reference? Would the US be less religious if the founding fathers didn’t include religion in the declaration? Did they want to include that?

Many questions on which I don’t know the answer, however … someone did tell me that a butterfly can trigger a hurricane … and I believe him.

Hello world!

This is my first post. Let’s start blogging!