29
Nov 13

Spring exchange 2013

Two weeks ago I attended a Spring conference in London. It was held in a crypt under a church, which shows how creative Skillsmatter can be – even when it comes to looking for a venue

This post is an overview of what is currently happening in Spring ecosystem. Many conference talks concerned a new version of Spring that is going to be released in December. Fourth edition of framework is meant to be an evolutionary one and version bump in your config is strongly recommended by creators, who promise a smooth migration. Additionally, Spring 4 supports JDK 8, it’s developer preview was released in September (you can now grab free IntelliJ IDE and try out them lambdas! Not yet supported in Eclipse though).

I want to read more!

31
Aug 13

Auto index in JSON

I’m in the process of setting up my personal dedicated server. One of the standard features of web servers is creating automatic responses for directory content listing. There is mod_autoindex for Apache, and autoindex for Nginx. Both are able to produce nice and simply looking web pages that allow to navigate a directory structure on the server. What they cannot produce is a response that is actually useful for consumption by client software – a JSON response. Because of that they are not suitable for Javascript parsing.

I want to read more!

18
Aug 13

Toy project: Cathedral

I have neglected my blog during the last few months but that’s just because I was very busy. In the meantime, among other things, I flew 20 times on route Gdansk – London, relocated to Reading (UK), and… started a new toy project :)

Project is called Cathedral and it is an implementation of a board game called Basilica. The core game logic is written in ClojureScript. The web application part uses Angular.js, and wherever possible, CSS for the user interface. I’m thinking about using LESS or generating styles in Clojure as style rules are getting pretty repetetive. It is still work in progress.

I want to read more!

24
Jan 13

Frontend centric free hosting at Github

While struggling to find a decent hosting for toy projects I stumbled upon a completely free solution – Github Pages. It is feasible to think of Github as a free and scalable hosting platform for… ClojureScript powered web apps (or any other JavaScript centric one)! As stated by company employee, Github Pages service has no traffic limits (however some files used by XXX sites were banned due to JavaScript hotlinking).

One of the least known features offered by Github is hosting of static html pages with support of Jekyll static content generator. Well, at least I’ve found out about it very recently. Pages can be attached to the user domain (username.github.com) or to each of the user’s repositories (username.github.com/repository). A custom domain may also be used.

I want to read more!

05
Jan 13

Piano chord recognizer web app

I’ve just finished implementing my tool application for recognizing piano chords (live demo here.) It is a great help when learning music theory. Currently only one variant of the chord name is displayed.

I want to read more!

28
Nov 12

Hoover sound in Overtone

I’ve recently managed to write my first serious instrument in Overtone. It is a straightforward translation from the existing SuperCollider code. Good analysis of this synth can be found here.

I want to read more!

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:

I want to read more!

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.

I want to read more!

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.

I want to read more!

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.

I want to read more!

« Older Entries

Copyright © 2014 JVM Soup ,