Re: [ANN] Session 0.1.3 - A live-coding environment for Clojure

2014-03-24 Thread John Jacobsen
As a refugee (spy?) from the Python community, it's very exciting to see something similar to iPython Notebook, but based on / supporting the Clojure ecosystem. iPN has been making shockwaves in the Python world and in scientific computing in general for some time. Having only watched the vide

data associated with a particular state

2014-03-24 Thread cmhoward2
Hi. I'm very new to Clojure, but I've read most of the functional programming tutorial . Suppose I have a data structure called "node" that can be in one of a number of different states -- namely, "down", "waiting", and "running". Suppose that i

IllegalStateExceptionInfo with last version of datomic in intermediate om tutorial

2014-03-24 Thread Gadzhi Musaev
Looks like something has changed in the last version of datomic ( datomic-free-0.9.4699.zip ). Trying to make (init-db) from the repl I got this exception: IllegalStateExceptionInfo :db.error/log-version This version of Datomic cannot read log versio

Re: [ANN] Session 0.1.3 - A live-coding environment for Clojure

2014-03-24 Thread kovas boguta
On Mon, Mar 24, 2014 at 5:18 PM, wrote: > How easy/feasible would it be to get this running in Light table as a plugin > (which is node-webkit based) ? Would the underlying archtecture of session > allow this? You would get some nice text editing and other project managment > features bassicly f

Re: [ANN] Session 0.1.3 - A live-coding environment for Clojure

2014-03-24 Thread kovas boguta
On Mon, Mar 24, 2014 at 5:02 PM, Paul Mooser wrote: > I'm curious as to whether your approach to rendering is similar to that used > in gorilla repl (http://gorilla-repl.org) ? Is it similarly extensible ? Session uses Om, https://github.com/swannodette/om You should definitely check it out to

Re: [ANN] Clojure 1.6.0-RC4 is now available

2014-03-24 Thread Stefan Kamphausen
RC4 works well for me. Thanks for all the effort you put into this. stefan -- 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 be patie

Re: ANN: no.disassemble 0.1.3 - data disassembler

2014-03-24 Thread Gary Trakhman
I'll fix that up for the next release. Thanks! On Mon, Mar 24, 2014 at 5:24 PM, Jules wrote: > Firstly - I use this package - it is exactly what I need and it just works > :-) - thanks, Gary > > now, some constructive criticism ... > > I build all my code with (set! *warn-on-reflection* true)

Re: cdoc, lein, profiles.clj, strange behavior

2014-03-24 Thread François Rey
Don't know if you still have the issue, but one way to solve it would be to use a prefix like > as shown in the README.md : (vinyasa.inject/inject 'clojure.core '> '[[cemerick.pomegranate add-classpath get-cl

Re: ANN: no.disassemble 0.1.3 - data disassembler

2014-03-24 Thread Jules
Firstly - I use this package - it is exactly what I need and it just works :-) - thanks, Gary now, some constructive criticism ... I build all my code with (set! *warn-on-reflection* true) in my project.clj and in various files. This coaxes a few warnings out of no.disassemble when I pull it i

Re: [ANN] Session 0.1.3 - A live-coding environment for Clojure

2014-03-24 Thread adriaan . sticker
Woow Looks very attractive. Let's see if I can put this to good use in the near future :) How easy/feasible would it be to get this running in Light table as a plugin (which is node-webkit based) ? Would the underlying archtecture of session allow this? You would get some nice text editing and

Re: [ANN] Session 0.1.3 - A live-coding environment for Clojure

2014-03-24 Thread Paul Mooser
This looks great - I saw your talk at one of the clojure conferences, and I'm glad you've continued to work on this! I'm curious as to whether your approach to rendering is similar to that used in gorilla repl (http://gorilla-repl.org) ? Is it similarly extensible ? -- You received this mess

Re: How should I begin this project?

2014-03-24 Thread Tim Visher
On Mon, Mar 24, 2014 at 12:49 PM, Aditya Athalye wrote: > Thanks for the lead on exercism.io, Tim. > > I just set it up, to peek at how it looks/works. > > The setup itself was a breeze, and the very first exercise is > a nice little text processing problem. (Based on "Deaf Grandma", > found here:

[ANN] Clojure 1.6.0-RC4 is now available

2014-03-24 Thread Alex Miller
Clojure 1.6.0-RC4 is now available. Try it via - Download: http://central.maven.org/maven2/org/clojure/clojure/1.6.0-RC4 - Leiningen: [org.clojure/clojure "1.6.0-RC4"] See the full change log here: https://github.com/clojure/clojure/blob/master/changes.md Clojure 1.6.0-RC4 has the following c

Re: STM history queues, when is a snapshot pushed

2014-03-24 Thread Greg D
Having learned a little more about refs and transactions from M. Fogus and C. Houser "The Joy of Clojure, Second Edition", I altered the stress-ref function from 10.2.4. Using Clojure 1.5.1: (defn stress-ref [r] (let [slow-tries (atom 0)] (future (dosyn

Re: ANN simple-time

2014-03-24 Thread ian.tegebo
On Monday, March 24, 2014 10:54:53 AM UTC-7, guns wrote: > > On Mon 24 Mar 2014 at 10:24:11AM -0700, ian.tegebo wrote: > > I found a stackoverflow question discussing :const metadata, but I can't > > seem to find any official clojure docs about it. Are you aware of any? > > > > Well, to be fai

Re: ANN simple-time

2014-03-24 Thread guns
On Mon 24 Mar 2014 at 10:24:11AM -0700, ian.tegebo wrote: > I found a stackoverflow question discussing :const metadata, but I can't > seem to find any official clojure docs about it. Are you aware of any? > > Well, to be fair, I see it mentioned on the cheatsheet but I can't find any > further ex

Re: ANN simple-time

2014-03-24 Thread ian.tegebo
I found a stackoverflow question discussing :const metadata, but I can't seem to find any official clojure docs about it. Are you aware of any? Well, to be fair, I see it mentioned on the cheatsheet but I can't find any further explanation: http://clojure.org/cheatsheet On Monday, March 24, 20

Re: How should I begin this project?

2014-03-24 Thread Aditya Athalye
Thanks for the lead on exercism.io, Tim. I just set it up, to peek at how it looks/works. The setup itself was a breeze, and the very first exercise is a nice little text processing problem. (Based on "Deaf Grandma", found here: http://pine.fm/LearnToProgram/?Chapter=06) Feels like a good fol

Re: How did you learn Clojure?

2014-03-24 Thread Gary Trakhman
For me, it went like this, but I had the luxury of a full time clojure job that gave me some space to learn: 1. Read Joy Of Clojure. I got the philosophy and background knowledge that informed further study out of it. Felt like I understood the theory and motivations, but I was missing the 'musc

Re: noir.session clojure.lang.Var$Unbound cannot be cast to java.util.concurrent.Future

2014-03-24 Thread Sven Richter
Ok, I had a call to (session/get :key) during initialization of my application in a def statenemt. Thats what caused the call to before session dynamic variable is initialized. Thanks, Sven Am Montag, 24. März 2014 12:01:38 UTC+1 schrieb Sven Richter: > > Hm, > > Searching some more I found thi

Re: ANN simple-time

2014-03-24 Thread Matt Bossenbroek
Thanks for the tip - I was not aware of that! Thanks, Matt On Monday, March 24, 2014 at 4:48 AM, Zoka wrote: > Hi Matt, > > Looks very good - the little speed up you can make is to use :const > attribute for conversion constants such as > milliseconds-per-XXX , so there is no var lookup

Re: [ANN] Clojure 1.6.0-RC3

2014-03-24 Thread Alex Miller
It has been discussed here (beta1 timeframe) and the horse is dead. :) On Monday, March 24, 2014 2:08:53 AM UTC-5, Christian Johansen wrote: > > Thanks for all your hard work on this! > > One thought: I like the idea behind some? and friends, but the naming seems > misleading to me. In most APIs t

Re: [ANN] Clojure 1.6.0-RC3

2014-03-24 Thread Tassilo Horn
Sean Johnson writes: Hi Sean, > I get the following warning when using 1.6.0-RC3 > > WARNING: record? already refers to: #'clojure.core/record? in namespace: > clojure.core.logic, being replaced by: #'clojure.core.logic/record? > > when requiring [clojure.core.logic :refer (run* membero distinc

Re: [ANN] Clojure 1.6.0-RC3

2014-03-24 Thread Alex Miller
Clojure 1.6 added a record? predicate so core.logic's is now colliding and core.logic will need to address that I think. On Monday, March 24, 2014 7:14:00 AM UTC-5, Sean Johnson wrote: > > I get the following warning when using 1.6.0-RC3 > > WARNING: record? already refers to: #'clojure.core/reco

Re: How did you learn Clojure?

2014-03-24 Thread Aditya Athalye
Marcus, Thanks for asking the question and instigating this discussion. A bit late into the thread, but I just want to narrate my experience so far as I'm a Clojure n00b (actually, I'm really a programming n00b). I found 4clojure and Clojure Koans useful, to get an initial feel for the language

Re: How should I begin this project?

2014-03-24 Thread Tim Visher
On Thu, Mar 20, 2014 at 1:43 PM, kurofune wrote: > Thank you very much for both of those emails Gary. Your programming advice > rang very true and doodle does look almost exactly like what I need. I'll > look into that and google calendar, but now I need a good project to work on! > How does on

Re: [ANN] Clojure 1.6.0-RC3

2014-03-24 Thread Sean Johnson
I get the following warning when using 1.6.0-RC3 WARNING: record? already refers to: #'clojure.core/record? in namespace: clojure.core.logic, being replaced by: #'clojure.core.logic/record? when requiring [clojure.core.logic :refer (run* membero distincto ==)] Doesn't happen with 1.5.1. Exclud

[ANN] Session 0.1.3 - A live-coding environment for Clojure

2014-03-24 Thread kovas boguta
Session is a live coding environment, built on Datomic and Om. repo: https://github.com/kovasb/session video: https://vimeo.com/89899023 blog post: https://medium.com/p/1a12997a5f70 I've been working on Session for some time, but have held off on a formal announcement for the simple reason that i

Re: ANN simple-time

2014-03-24 Thread Zoka
Hi Matt, Looks very good - the little speed up you can make is to use :const attribute for conversion constants such as milliseconds-per-XXX , so there is no var lookup overhead during runtime. -- You received this message because you are subscribed to the Google Groups "Clojure" group. To

Re: noir.session clojure.lang.Var$Unbound cannot be cast to java.util.concurrent.Future

2014-03-24 Thread Sven Richter
Hm, Searching some more I found this blog post: http://yogthos.net/blog/46-what's+new+in+lib-noir which shows the exact same problem I guess I have. However, using luminus I dont have much options and everything should be setup correct already. This is how my handler looks like: (def secured-r

Re: noir.session clojure.lang.Var$Unbound cannot be cast to java.util.concurrent.Future

2014-03-24 Thread Sven Richter
I think I tracked the problem down. In my handler I define my routes, which calls enlive/deftemplate, which is a macro. Now, if I understand this right, the macro will be called at compile time, when noir.session is not available yet. Is that right? How can I get around this? Am Sonntag, 23.

Re: [ANN] Clojure 1.6.0-RC3

2014-03-24 Thread Christian Johansen
Thanks for all your hard work on this! One thought: I like the idea behind some? and friends, but the naming seems misleading to me. In most APIs that have an every?-like function, there is a corresponding some? or any?. In Clojure this is not the case, but we do have every? and some, which provid