Clojure and Financial Tech Talk @Funding Circle!

2015-10-16 Thread jesse . harrison
https://www.eventbrite.com/e/funding-circle-speaker-series-zach-tellman- clojure-and-financial-tech-tickets-19000393689 Register now, Spots going fast! -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to

Re: DSL in RTL (Right to Left) languages.

2015-01-14 Thread Jesse Alama
work has been with قلب. It's a Scheme-like language written entirely in Arabic. Article about the language: http://www.theregister.co.uk/2013/01/25/arabic_programming_language GitHub repo: https://github.com/nasser/--- Jesse -- You received this message because you are subscribed

core.typed questions

2014-12-12 Thread Jesse
Hi guys, Does anyone know how to properly deal with refs in core.typed? I am running into trouble. When I try to do stuff like this: (ann my-ref (Ref1 (U Kw nil))) (def my-ref (ref #{})) I get this error: IllegalArgumentException No value supplied for key: true

Re: core.typed questions

2014-12-12 Thread Jesse
Thanks Di Xu. Good to know. I have joined the core.typed group and will post my questions there from now on. J On Friday, December 12, 2014 11:41:43 PM UTC-6, Jesse wrote: Hi guys, Does anyone know how to properly deal with refs in core.typed? I am running into trouble. When I try to do

Re: How should I implement an elevator state-machine with loops and core.async?

2014-05-23 Thread Jesse
On Thursday, May 22, 2014 8:17:51 PM UTC+9, Jesse wrote: Hey guys, I am trying to build a program that can instruct a single elevator, 2 floor system how to behave based on the state of an atom that is being constantly checked for updates by a loop. The state of the atom at a given time

Re: How should I implement an elevator state-machine with loops and core.async?

2014-05-23 Thread Jesse
I have got in a shape where it works fine, but with slightly unusual behavior. I am looking for advice on refactoring, So if someone could please have a look. https://gist.github.com/gamma235/4ea0d7a0d0efb8d4399f Jesse On Thursday, May 22, 2014 8:25:39 PM UTC+9, Rob Day wrote: I

How should I implement an elevator state-machine with loops and core.async?

2014-05-22 Thread Jesse
. https://gist.github.com/gamma235/4ea0d7a0d0efb8d4399f Thanks ahead of time! Jesse -- You received this message because you are subscribed to the Google Groups Clojure group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please

Re: How should I implement an elevator state-machine with loops and core.async?

2014-05-22 Thread Jesse
, and will also add the stack-trace in a comment underneath it. I think the problem is coming when, during the move function execution, the atom gets updated and subsequently re-calls the *move-elevator* function, again and again with each update, making a smorgasbord of updates. Jesse On Thursday

Re: How do I do this in clojure?

2009-02-17 Thread Jesse Aldridge
Jesse, Could I see your own version. Haha, I was afraid someone would say this. Here is my embarrassingly bad (but working) version: (defn build-table [] (def num-cols 3) (def selected-row 0) (def selected-col 0) (def all-strings [apple cat dog frog elephant gorilla]) (defn

The wiki

2009-02-11 Thread Jesse Aldridge
I notice the front page of the wiki has had some changes awaiting review: http://en.wikibooks.org/wiki/Clojure_Programming Apparently they've been waiting for almost a month now? I also noticed this comment on the discussion page: The approved revision mechanism is killing this wiki. I'm

How to port a mixin to clojure

2009-02-11 Thread Jesse Aldridge
I'm trying to re-implement some python stuff in clojure. Here's how it works: I have a class called ArrowKeySelection. I use this class as a mixin with various gui classes. The class adds some abstract logic for handling keys - the arrow keys move a selector around a matrix and the enter key

Wiki - Concepts - Libraries - clojure/ns

2009-02-10 Thread Jesse Aldridge
Here in the wiki: http://en.wikibooks.org/wiki/Clojure_Programming/Concepts#Libraries The examples make use of the clojure/ns command, for example: (clojure/ns example.ourlib) I had to get rid of the clojure/ part to make it work. Is the wiki wrong? If so, could somebody update it?

Re: Problems with gen-and-load-class (defn user-exception-test [] (try (throw (new user.UserException msg: user exception was here!!)) (catch user.UserException e (prn caught exception e)) (fi

2008-12-19 Thread Jesse Aldridge
It would be nice if someone updated the wiki with a new example. I don't understand how the gen-class stuff is supposed to work. Why doesn't the following work? (gen-class :name MyException :extends [Exception]) (defn user-exception-test [] (try (throw (new MyException msg: user

Re: Superficial barriers to entry

2008-12-18 Thread Jesse Aldridge
;*.lisp;*.clj command.go.$(file.patterns.lisp)=java -cp /home/jesse/clojure/ clojure.jar clojure.lang.Script $(FilePath) -- (change the path as appropriate of course) The syntax highlighting is kind of crude since it's meant for lisp, but that can be fixed by messing around with more