HN user

zaph0d

1,114 karma

Clojure hacker.

Co-founder & CTO at helpshift.com

b.ghose at helpshift.com

http://freegeek.in

Posts48
Comments189
View on HN
www.youtube.com 9y ago

[Clojure/conj 2016] Rich Hickey Keynote – Spec-ulation

zaph0d
4pts0
mail.python.org 11y ago

I get a headache when I try to understand [] function composition – GvR

zaph0d
2pts0
www.polygon.com 11y ago

Rhianna's Rise: Meet The Writer Behind Tomb Raider

zaph0d
2pts0
www.helpshift.com 12y ago

Square and Groupon: A New CRM for Merchants?

zaph0d
9pts1
engineering.helpshift.com 12y ago

Load Testing using Tsung

zaph0d
7pts0
github.com 12y ago

Libuv developer chided for making docs gender neutral

zaph0d
32pts13
github.com 12y ago

Prismatic's Engineering Practices

zaph0d
1pts0
earthvision.info 12y ago

A Glimpse into the Meditating Brain

zaph0d
1pts0
dannorth.net 12y ago

Blink Estimation

zaph0d
1pts0
github.com 12y ago

ZPerfmon: An app performance analysis suite from Zynga

zaph0d
1pts0
www.helpshift.com 13y ago

Arduino-Powered Stoplight for Continuous Integration Build Monitoring

zaph0d
22pts2
www.cs.utexas.edu 13y ago

Experiences of Djikstra when he visited the USA

zaph0d
1pts0
lists.wikimedia.org 13y ago

The man who edited Wikipedia from prison

zaph0d
2pts0
www.youtube.com 13y ago

Music to hack to

zaph0d
4pts0
freegeek.in 13y ago

Generate color palette from image using clustering algo in Clojure

zaph0d
1pts0
github.com 13y ago

Control iOS simulator using Clojure and Nu Lisp

zaph0d
10pts0
google-styleguide.googlecode.com 13y ago

Google's Common Lisp style-guide

zaph0d
178pts57
roupam.github.com 13y ago

Emacs for Xcode+ios Development

zaph0d
78pts13
drcabana.org 13y ago

Equational Reasoning

zaph0d
2pts0
skillsmatter.com 13y ago

Functional Composition with Overtone

zaph0d
2pts0
www.onlinegraduateprograms.com 14y ago

[Infographic] On Music Movie Software Piracy

zaph0d
1pts0
linkedin.github.com 14y ago

Glu - an open source deployment and monitoring automation tool from LinkedIn

zaph0d
1pts1
www.youtube.com 14y ago

Removing anxiety the key to accelerated learning? (feat. Alan Kay) [video]

zaph0d
3pts0
clojurewest.org 14y ago

Clojure/West 2012 Talks

zaph0d
4pts0
github.com 14y ago

Locust - A scalable user load simulator written in Python

zaph0d
2pts0
www.xn--streichholzschchtelchen-87b.de 14y ago

'The Little Schemer' for rather common lispers

zaph0d
1pts0
docs.racket-lang.org 14y ago

The Racket Guide

zaph0d
1pts0
blog.10gen.com 14y ago

10Gen releases free MongoDB monitoring service

zaph0d
2pts0
psychcentral.com 14y ago

Cognitive Style Tends To Predict Religious Conviction

zaph0d
5pts2
groups.google.com 15y ago

Rich Hickey's upcoming talk to be webcast live

zaph0d
2pts0
Ram Dass has died 7 years ago

Maharajji's (Neem Karoli Baba) only possession was a blanket and he was living in a remote village in North India in the 60's. There is little chance that he had access to the drugs you mentioned.

And the LSD that was carried by Ram Dass was made by Sandoz, arguably the purest LSD that you could ever get.

May be reading Ram Dass' account of the event in _Be Here Now_ will provide some much needed context.

Barliman is written in miniKanren[0], a logic/relational programming system built by Daniel Friedman[1], Will Byrd[2] & Oleg Kiselyov[3]. There are implementations of miniKanren in languages other than Scheme, one of the prominent being Clojure[4].

To oversimplify, in the miniKanren world programs are written using relational logic, wherein there are "variables" and then certain "relationships" between the variables. That is the program specification. Now we can run the specification and allow miniKanren to generate one or more variables that satisfy the relations. Thus a miniKanren program can have more than one answers. One interesting side-effect of this kind of an abstraction is that programs can also be run backwards to generate more programs that satisfy certain relations. That's pretty much what's happening with Barliman.

[0] http://minikanren.org/ [1] https://en.wikipedia.org/wiki/Daniel_P._Friedman [2] http://webyrd.net/ [3] http://okmij.org/ftp/ [4] https://github.com/clojure/core.logic

The Land of Lisp 9 years ago

I started my career hacking Common Lisp (Allegro CL), these days I do Clojure, among other things.

That comic by Dr. Barski tears me up every time! Just to test, I went and read the comic again and I cried, again!

I have met Dr. Barski personally at a Clojure conference many years ago and I still remember him as an extremely kind and knowledgeable person.

Thank you for the Land of Lisp, Dr. Barski! Some day, we will be able to assemble our guilds and beat the Insectoids for good. Until then,long live language du jour!

Hi Jordan, ReactJS looks really awesome. Curious, what kind of persistent data-structures do you use at Facebook? Are they similar to the ones on Clojure[Script]?

Linux-ng 13 years ago

Indeed it is an open security hole. See my other comment.

Linux-ng 13 years ago

The repository was not created by Linus. It was a Github security exploit discovered by a friend of mine. Apparently he had contacted Github before exploiting but they didn't show any interest in fixing the issue. There should be a clarification from him soon.

Try Hy 13 years ago

Very nice. Surface syntax (and some semantics like interop) seem to be heavily inspired by Clojure :-)

It's not dead yet. David Miller has been untiringly maintaing Clojure's CLR implementation for years now. Clojure CLR right now has feature parity with Clojure JVM. core.async is still alpha (it's also an external lib), I bet that once it reaches some stability David will add support for CLR in a weekend (as it has been usually). Unfortunately that doesn't mean there is much community interest in the CLR port though, but David's relentless stewardship of the project is relentless.

Example: https://groups.google.com/forum/#!topic/clojure/Kvefcae2W6s

Project Source: https://github.com/clojure/clojure-clr

I am guessing that the student in question was from India. That's how many Indians write official/business letters; likely a relic of the colonial times.

The court judgement is ambiguous as hell. It doesn't mention either the website or the software that the plaintiff had tried to download.

This is how they explained the situation -

"The complainant has taken network service connection for his mobile since 5 years and subscribed for GPRS service. He tried to download an application from website using his phone GPRS service through torrent."

Bittorrent through GPRS? Mind boggling.

It took core.logic ~1100 msecs on my Macbook Air.

    (time (sudokufd
            [8 0 0 0 0 0 0 0 0
             0 0 3 6 0 0 0 0 0
             0 7 0 0 9 0 2 0 0
             0 5 0 0 0 7 0 0 0
             0 0 0 0 4 5 7 0 0
             0 0 0 1 0 0 0 3 0
             0 0 1 0 0 0 0 6 8
             0 0 8 5 0 0 0 1 0
             0 9 0 0 0 0 4 0 0]))

    ;; "Elapsed time: 1029.618 msecs"
    ((8 1 2 7 5 3 6 4 9
      9 4 3 6 8 2 1 7 5
      6 7 5 4 9 1 2 8 3
      1 5 4 2 3 7 8 9 6
      3 6 9 8 4 5 7 2 1
      2 8 7 1 6 9 5 3 4
      5 2 1 9 7 4 3 6 8
      4 3 8 5 2 6 9 1 7
      7 9 6 3 1 8 4 5 2))
The THX Sound 14 years ago

This is the THX sound synthesised using Overtone, a music synthesis program.

  (definst thx [gate 1]
  (let [target-pitches (map midi->hz [77 74 72 70 65 62 60 58 53 50 46 34 26 22 14 10])
        r-freq         (env-gen:kr (envelope [1 1 0.007 10] [8 4 2] [0 -4 1] 2) gate)
        amp-env        (env-gen:kr (envelope [0 0.07 0.21 0] [8 4 2] [0 1 1] 2) gate :action FREE)
        mk-noise       (fn [ug-osc]
                         (mix (map #(pan2 (ug-osc (+ (* r-freq (+ 230 (* 100 (lf-noise2:kr 1.3))))
                                                     (env-gen:kr (envelope [0 0 %] [8 6] [0 -3]))))
                                          (lf-noise2:kr 5))
                                   target-pitches)))
        saws           (mk-noise saw)
        sins           (mk-noise sin-osc)
        snd            (+ (* saws amp-env) (* sins amp-env))]
    (* 0.5 (g-verb snd 9 0.7 0))))
https://github.com/overtone/overtone/blob/master/examples/th... http://overtone.github.com/

Some of my favourites -

* Enlive, a HTML scraping & templating library implemented on top of DOM parsing & state machines https://github.com/cgrand/enlive

* Core Logic, a Prolog-like logic programming library https://github.com/clojure/core.logic

* The ClojureScript compiler, a Clojure compiler that targets JavaScript https://github.com/clojure/clojurescript/blob/master/src/clj...

* Ring, a Rack/WSGI like web-app library https://github.com/mmcgrana/ring

* Midje a very powerful test framework https://github.com/marick/Midje

* Carmine, a Redis client lib in Pure Clojure https://github.com/ptaoussanis/carmine/

[EDIT] Added Midje, Ring.