Skip to content

Instantly share code, notes, and snippets.

View maarten's full-sized avatar

Maarten Engelen maarten

  • Amsterdam, The Netherlands
View GitHub Profile

For most of the tools on here, if you follow the GitHub repos back to the user that owns the repo, they usually have other cool Clojure tools they build. Just a general observation about the Clojure community.

Learnings

  • Clojure home - There's a ton of good stuff here, like the rationale behind the design and explanations of the best features of Clojure.
  • Clojure.github.io - The core Clojure documentation. Useful for looking up functions and such.
  • Clojuredoc - Community written Clojure documentation and articles
  • Clojure Koans - Learn Clojure with Koans
  • 4Clojure - Solve simple problems to stretch your Clojure skills

Keybase proof

I hereby claim:

  • I am maarten on github.
  • I am maartenengelen (https://keybase.io/maartenengelen) on keybase.
  • I have a public key whose fingerprint is 4CE5 016A B543 21D9 9500 39F5 83B4 16D4 0DE2 EAFD

To claim this, I am signing this object:

(ns informatic_tools.calculations
(:require [informatic_tools.parse :as parse]
[incanter.stats :as stats]
(incanter core)))
(defn outlier-bounds
"Calculates the outlier bounds"
[dataset]
(let [[qMin q25 q50 q75 qMax] (stats/quantile dataset)]
[(- q25 (* 1.5 (- q75 q25)))
@maarten
maarten / douglasPeucker.js
Created December 7, 2015 15:06 — forked from adammiller/douglasPeucker.js
Javascript implementation of the Douglas Peucker path simplification algorithm
var simplifyPath = function( points, tolerance ) {
// helper classes
var Vector = function( x, y ) {
this.x = x;
this.y = y;
};
var Line = function( p1, p2 ) {
this.p1 = p1;