My first time encounter with Clojure is through the Amsterdam Clojure Dojo (but it was in Utrecht, just under the Dom!)
It was a time that I went to lots of tech meet-ups (will be more posts), and I really liked this one. I didn’t know it’s going to be learning through solving a small problem: the maze problem here https://github.com/ams-clj/wonderland-clojure-katas (love to alice in the wonderland)
It was lucky that, coincidentally, I just revised some tree search algorithms the day before. So I felt like I know the solution, I just needed to learn the syntax.
There were lots of brackets! We had an experience member in the team of three, so it was a nice learning process. The host used a time-management scheme that we could only work for 25 mins and then we had to take our hands off the keyboard for 5 mins. TBH I didn’t like it that much. Time management methods are preventing all the breakthroughs!
But anyway, we managed to solve problem one. And then every team (5 in total) presented their solutions. And the pizza was nice!
And then, second time, I was trying to get the music related clojure package Overtone to work
First I tried it in windows a few weeks ago, but it wasn’t successful after tickering with a few things, so I let it go. Today I went back to it, still no luck in Windows, but this time at least I know from the error message that it’s the problem of the operating system.
Screenshots from Windows:
(First stupid error, forgot to change the project file)
The file looks good now
But java tells you that windows is no good..
Screenshots from Ubuntu (feeling very lucky and cursed by having three operating systems):
Setting up everything from the beginning in Ubuntu (from installing lein):
Trust me. There was sound.
Also in the AFP summer school last week, I met someone who uses clojure for work, and learnt that clojure Dojos are everywhere, and the inventer of the language is a really cool guy (a musician)!