17
Nov 12

Sampled piano over WIFI

Recently, after playing a bit with the Overtone project I had this idea to make a small toy application that enables to play the piano on phone and make the actual sound come from proper computer speakers. Here is the incredibly small Clojure code for the server:

Continue reading

10
Sep 12

Final method arguments

Among the many Checktyle rules there is this particular one (FinalParameters) stating that all method parameters should be declared as final in method implementations. This requirement might seem unnecessary or even silly but it is there not without a reason. An obedience to the rule might be observed in some open source projects so go ahead and see how it works in practice.

Continue reading

10
May 12

Namespaces survival kit

When learning Clojure there are so many interesting things to get your hands on that you forget to master the basics. It happened to me with the namespaces. In this post I’ll try to revise the API for operating namespaces and show some useful techniques.

Continue reading

24
Apr 12

Run ClojureScript One from Eclipse

ClojureScript is an exciting project which allows you to write your browser JavaScript code in Clojure. ClojureScript One is a sample project of a web app which is written entirely in Clojure(server, client and… communication protocol :). Recently I wanted to play with this sample app in Eclipse using CCW plugin. I realised that I could launch the dev server but somehow JavaScript couldn’t be compiled properly and I got a bogus error “Can’t recur here” from the ClojureScript compiler.

Continue reading

23
Apr 12

First things first

Hi all!

I’m Daniel and this is a blog about Java Virtual Machine and technologies around it – the languages in particular. I will be writing here about any fresh stuff I’m dealing with or am interested in. Expect the posts to appear soonish!