Re: [ClojureScript] Re: [ANN] freactive - high performance, pure Clojurescript, declarative DOM library

2014-11-23 Thread Aaron Craelius
Glad to see all the enthusiasm about names :) If you think of others, you can let me know. Probably leaning towards something artistic sounding like "fresco" so far... But anyway, more importantly did anyone check out the docs I just posted? In particular the UI spec one: https://github.com/aa

Re: How do you refer to a previous value of a var, within a loop/recur?

2014-11-23 Thread Dan Campbell
"As long as you’re prepared to be told this every time you show your code to people, that’s up to you." I think you misunderstood the response. On Sun, Nov 23, 2014 at 5:49 PM, Sean Corfield wrote: > On Nov 23, 2014, at 2:41 PM, Dan Campbell wrote: > > Sorry man, but I'm not willing to chang

Re: How do you refer to a previous value of a var, within a loop/recur?

2014-11-23 Thread Sean Corfield
On Nov 23, 2014, at 2:41 PM, Dan Campbell wrote: > Sorry man, but I'm not willing to change my personal coding style. It's not > a matter of getting used to Clojure. I'm not an expert on it yet, but I've > been studying and working with it, for a little over a year. I prefer the > indentatio

Re: How do you refer to a previous value of a var, within a loop/recur?

2014-11-23 Thread Dan Campbell
Sean, Sorry man, but I'm not willing to change my personal coding style. It's not a matter of getting used to Clojure. I'm not an expert on it yet, but I've been studying and working with it, for a little over a year. I prefer the indentation; it makes more sense to me. Your image, though, doe

Re: How do you refer to a previous value of a var, within a loop/recur?

2014-11-23 Thread Sean Corfield
Dan, I’m with James here. Your code as presented is really hard to read for folks used to the "standard Clojure style" - the strange layout of parentheses is very distracting. The use of underscore instead of hyphen is also a bit jarring. I’m guessing your background is C/C++/Java and you think

Re: thread-any macro "%>"

2014-11-23 Thread Robert Levy
Henrik, The reason for <> was that when at Akamai we had the idea to create a macro of this kind, we were aware of already established strong opinions for and against the idea of a threading macro with a specifiable position, by some in the Clojure community. Stephen Compall had been reading Sche

Re: lein repl timeout

2014-11-23 Thread Neil Laurance
Thanks Colin. I'll post back here if I make any progress. Cheers Neil -- 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 patient wit

Re: How do you refer to a previous value of a var, within a loop/recur?

2014-11-23 Thread James Reeves
I'd strongly suggest following standard Clojure formatting, otherwise you're going to run into problems. If you use your own custom formatting that only you can read easily, then people are going to find it very difficult to help or collaborate with you. Deliberately putting up barriers to communic

Re: thread-any macro "%>"

2014-11-23 Thread Krzysiek Herod
Thank you guys, I think "as->" does more or less what I wanted, so my example could be rewritten to: (defn csv-line->sql-line [table, line] (as-> % line (str % " ") (str/split % separator) (map csv-field->sql-field %) (str/join ", " %) (str/replace string

Re: How do you refer to a previous value of a var, within a loop/recur?

2014-11-23 Thread Dan Campbell
Yep, sure enough, works like a gem, thanks. I had originally tried reduce, but wasn't able to get it to work, in this context. reduce-kv would have saved a lot of time, on previous code. Sorry about the formatting, James. I structure my code differently than the standard Clojure format, an

Re: [ClojureScript] Re: [ANN] freactive - high performance, pure Clojurescript, declarative DOM library

2014-11-23 Thread Henrik Eneroth
Hacker News has sort of noticed: https://news.ycombinator.com/item?id=8648491 On Sunday, November 23, 2014 8:32:11 PM UTC+1, Jason Lewis wrote: > > Furthermore (it occurs to me) cesium is used to drive atomic clocks... so > if you're using an atom to maintain state... even more relevance. > Re

Re: [ClojureScript] Re: [ANN] freactive - high performance, pure Clojurescript, declarative DOM library

2014-11-23 Thread Jason Lewis
Furthermore (it occurs to me) cesium is used to drive atomic clocks... so if you're using an atom to maintain state... even more relevance. Relevance? Wait, it's Cognitect now :) Jason Lewis vox 410.428.0253 twitter @canweriotnow blog http://decomplecting.org else http://about.me/ja

Re: I cant start ClojureScript REPL

2014-11-23 Thread David Nolen
You need to run ./script/bootstrap first. David On Sun, Nov 23, 2014 at 7:57 AM, Сергей Алмазов wrote: > I have a error: > > > > I installe

I cant start ClojureScript REPL

2014-11-23 Thread Сергей Алмазов
I have a error: I installed JDK, ClojureScript. -- You received this message because you are subscribed to the Google Groups "Clojure" group

Re: [ClojureScript] Re: [ANN] freactive - high performance, pure Clojurescript, declarative DOM library

2014-11-23 Thread Gary Trakhman
The two best ones I can think of right now Halogen: they're known as highly reactive elements. Precipitate: both a noun and a verb, the solid that falls out of a solution, or to bring about such a reaction. Other chemical-ish names considered Enantiopure - Containing compounds of only a single ch

Re: How do you refer to a previous value of a var, within a loop/recur?

2014-11-23 Thread James Reeves
Well, first of all, it would *really* help if you formatted your code, because currently your code is almost impossible to read. Let's format it first: (defn simplify-string [original substring replacement] (let [simplified (str/replace original substring replacement)] simplifie

Re: [ClojureScript] Re: [ANN] freactive - high performance, pure Clojurescript, declarative DOM library

2014-11-23 Thread Aaron Craelius
Fresco isn't bad. I think it's better than "freactive" at least. Seems to be relatively popular for a name, but no big projects: https://github.com/search?o=desc&p=1&q=fresco&s=stars&type=Repositories&utf8=✓ On Sun, Nov 23, 2014 at 3:05 AM, Olli Piepponen wrote: > If you are open to name suggest

Re: Clojure meetup in Rochester, NY?

2014-11-23 Thread Steven Yi
Hi Tom, I'm a little late to reply, but I live in Rochester and would love to get together to talk about all things Clojure. If you're still up for meeting or have a meeting planned already, please do contact me offlist. Thanks! steven On Thursday, November 13, 2014 9:08:00 PM UTC-5, Tom Georg

Performance notes for Pink

2014-11-23 Thread Steven Yi
Hi All! First I wanted to say that the Clojure/Conj was fantastic! I learned a great deal and met many wonderful people. Many thanks to Cognitect! Regarding my music system Pink, I had wanted to talk about performance concerns in building a signal processing system on the JVM, but had to cut ou

How do you refer to a previous value of a var, within a loop/recur?

2014-11-23 Thread Dan Campbell
Hi, I have to loop through a string, consecutively replacing substrings with single characters, one substring at a time. Each time through the loop, I need to use a cond to check that the length of the last replaced string, is shorter than the length of the previous replaced string. So, as an

Re: [ANN] freactive - high performance, pure Clojurescript, declarative DOM library

2014-11-23 Thread Olli Piepponen
If you are open to name suggestions, how about Fresco ? -- 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