Fork me on GitHub
#ldnclj
<
2015-07-07
>
agile_geek05:07:31

Morning London people (and those outside London who, like me, want to hang with the ‘cool kids’)

Pablo Fernandez06:07:24

How are you Chris?

agile_geek07:07:23

@pupeno: I’m fine thanks Pablo, yourself?

korny09:07:04

interesting - clojure bot turns anonymous fns into (fn ) forms

korny09:07:22

original was (->> ((->> [0 2 5 1 -4 1 -6] (map #(partial + %)) (apply juxt)) 109) byte-array (String.))

korny09:07:42

(confession: I just wanted to use “juxt”)

thomas10:07:32

feel free to add to this....

acron10:07:29

a classic.

korny10:07:27

My favourite is still the hash checking one...

minimal10:07:16

I saw a bash one that generated it 1 char at a time from dev/random

otfrom12:07:49

korny & acron did you do both of yours from scratch or did you reverse engineer them?

acron12:07:42

I cheated. I figured out what "morning" was in binary and then went from there.

korny12:07:58

I started with “how does juxt work again?” then converted “morning” to [109 110 114…] to [0 +2 +5 …] - and then I hacked something together with a big procedural let statement. And then minified

korny12:07:55

I also looked to see if I could get a quadratic equation that produced the [109 110 114 …] numbers, but my awesome tool of choice (excel) couldn’t find a curve to match the numbers, alas.

acron12:07:15

@korny damn Excel. That would have been an awesome contribution.

xlevus16:07:53

actually looks like there's multiple clojure-excel things. neat. Go go gadget clr.

korny17:07:38

I did some hacking with docjure a while back… actually ISTR I had a pull request open that I never chased down simple_smile