Home » JVM Languages » Clojure

Clojure

Clojure – comparison of gnuplot, Incanter, oz/vega-lite for plotting usage data

What is the best way to plot memory and CPU usage data (mainly) in Clojure? I will compare gnuplot, Incanter with JFreeChart, and vega-lite (via Oz). (Spoiler: I like Oz/vega-lite most but still use Incanter to prepare the data.) The data looks like this: ;; sec.ns | memory | CPU % 1541052937.882172509 59m 0.0 1541052981.122419892 78m 58.0 1541052981.625876498 199m 85.9 ...

Read More »

Clojure GitLab deps

You need to force  the ssh-rsa host key instead of the default one picked up by the tooling: $ ssh-keygen -R gitlab.com $ cat <<EOF >> ~/.ssh/config Host gitlab.com HostKeyAlgorithms ssh-rsa EOF $ ssh git@gitlab.com CSI version of the above You are using the brand new dependency resolution from the Clojure core team for the first time. So you like ...

Read More »

A tale of Emacs, Clojure and pinned packages

It’s like trying to pin down a kangaroo on a trampoline. – Sid Waddel If you do any clojure[script] development, chances are that you do so through Emacs and CIDER. The experience is generally nothing short of awesome, but every now and then you bump into some quirks. That was the case for me when the latest CIDER came out, ...

Read More »

Gettin’ schwifty with Clojure’s core.async

A few months ago, somebody in the office pointed us to an interesting  job offer from CartoDB which looked as follows: What follows is a technical test for this job offer at CARTO: https://boards.greenhouse.io/cartodb/jobs/705852#.WSvORxOGPUI Build the following and make it run as fast as you possibly can using Python 3 (vanilla). The faster it runs, the more you will impress us! ...

Read More »

Exclusive Book Offers (75% off): Big Data Analytics with Java, Scala and Spark for Big Data Analytics, Big Data Visualization

Hello fellow Geeks! Today, we have some exciting news for you! Java Code Geeks and Packt have teamed up to offer you weekly discounts on their extensive library of books. This week, we are offering discounts on three books to help you understand and master Clojure. Check them out! Big Data Analytics with Java By Rajat Mehta This book covers ...

Read More »

Exclusive Book Offers (75% off): Learning ClojureScript, Clojure for Java Developers, Clojure Reactive Programming

Hello fellow Geeks! Today, we have some exciting news for you! Java Code Geeks and Packt have teamed up to offer you weekly discounts on their extensive library of books. This week, we are offering discounts on three books to help you understand and master Clojure. Check them out! Learning ClojureScript By David Jarvis, Rafik Naccache, Allen Rohner Clojure is ...

Read More »

Learning to Build Clojure Webapps

A while ago I gave a talk at an internal event at Zenika Singapore. We were free to choose a topic so I chose something I thought I didn’t know enough about – what it feels like to build a web app in Clojure. This post is a transcript of the talk. I’ll go into some details on Clojure, which ...

Read More »

The Top 100 Clojure Libraries in 2016

What are the top Clojure libraries used by projects on Github? Based on analyzing over 30,000 leiningen dependencies One of the most helpful things to look into when choosing which libraries to include in your project is just how popular they are. While actual functionality is the main issue at hand, getting a sense of which libraries are used the ...

Read More »

Bowling Kata in Clojure, F# and Scala

In one of our evening apprenticeship meetings, a pair was doing the Bowling Kata in Java. After reviewing their code, I thought that it would be a good idea to do it myself. Every craftsman at Codurance is a polyglot developer and, although we have very similar values, we all have our own preferences when it comes to programming languages ...

Read More »