Skip to content

Instantly share code, notes, and snippets.

View maleghast's full-sized avatar

Oliver Godby maleghast

View GitHub Profile
@maleghast
maleghast / gist:dc814c4f636dac8fc6d7
Created July 4, 2014 17:24
Dependency Part One

#Berliner and Core - The New Road...#

The recent changes to the Responsive News Codebase have raised some questions and concerns that we are going to try and address below.

##Why?##

  1. The most important reason in terms of immediate benefit that can be felt by everyone is the improvement in Build Speed. This can be split up into three results which we are already benefitting from:
    1. Our releases / deployments now include less RPMs, by default, meaning that our build process is shorter.
    2. This reduction in build "weight" means that the feedback cycle for engineers who are integrating new code is shorter / quicker.
    3. And so in turn we can integrate more things more quickly, as long as they continue to be lighter touches and smaller, more atomic changes.
  2. Architechtural Clarity. While there is no doubt that the Responsive News Codebase has always moved from a position of thoughtful technical design, it has become the consensus amongst the News Technical Leads that the future is going to necessitate
@maleghast
maleghast / 4clojure-42.clj
Created June 17, 2012 21:41
4Clojure #42 SPOILERS!
(fn [x] (reduce * (rest (range (+ x 1)))))
@maleghast
maleghast / 4clojure41
Created June 17, 2012 20:25
4Clojure #41 SPOILERS!
(fn [s n] (flatten (map #(take (- n 1) %1) (partition-all n s))))
@maleghast
maleghast / 4clojure-26.clj
Created June 13, 2012 21:31
4-Clojure Problem #26 - Warning SPOILERS!
(fn [x] (take x ((fn fib [a b] (cons a (lazy-seq (fib b (+ a b))))) 1 1)))