Tag Archives: clojure

Porting the Netty DiscardServer example to clojure

I recently looked at the Netty library as the basis of a server for work, so after a recent LambdaJam I was inspired to write their DiscardServer example in Clojure, on a basic, line-to-line basis. Has some issues, not the … Continue reading

Posted in Programming | Tagged , , | Leave a comment

Creating numeric types from byte arrays in Clojure

While writing my Clojure-based Minecraft map reader and NBT library, carrit, I’ve need to do some messing around with binary files. For this library I’ve made the decision to implement what I can in Clojure’s available functions, dropping down into … Continue reading

Posted in Programming, Software | Tagged , , , | Leave a comment

Migrating from duck-streams/to-byte-array in Clojure 1.3

Just spent some time migrating my minecraft NBT library from to Clojure 1.2.1 to 1.3, had to make a few changes as many clojure.contrib 1.2.0 libraries were moved to separate modules or merged into core. The reliance on clojure.contrib.duck-streams was … Continue reading

Posted in Programming, Software | Tagged , | Leave a comment

Logging in Clojure

Warning: Clojure newbie alert. Having some difficulty finding comprehensive examples of logging in Clojure, maybe I’m searching for the wrong things. All the clojure docs seem to be brief to say the least. What would be nice is to figure … Continue reading

Posted in Programming | Tagged , | Leave a comment