Re: print-table bug?

2015-02-02 Thread Michael Blume
Difference looks like so: https://github.com/MichaelBlume/clojure/compare/pr-str-table On Mon Feb 02 2015 at 12:49:42 PM Steve Miner stevemi...@gmail.com wrote: Looks like a bug in clojure.pprint/print-table. Probably should be use `pr-str` instead of `str`. user= (str ())

print-table bug?

2015-02-02 Thread John Lawrence Aspden
These behave differently in 1.6 with respect to printing the empty list: (clojure.pprint/print-table (list {:a 1 :b 2 :c '()})) | :a | :b | :c | |++-| | 1 | 2 | clojure.lang.PersistentList$EmptyList@1 |

Re: print-table bug?

2015-02-02 Thread Steve Miner
In any case, it would be nice if (str ()) returned “()”. By the way, (str {}) returns {} and (str []) returns []” as I would expect. I just filed CLJ-1653.Seems like the simple fix is to add a toString() method for PersistentList.EmptyList. -- You received this message because you are

Re: [ClojureScript] Re: ANN: Om 0.8.6, Hello CLJSJS

2015-02-02 Thread Sebastian Bensusan
Let's go with `data` then. I posted the rewrite to Figwheel. Please take a look. https://github.com/swannodette/om/wiki/Basic-Tutorial On Monday, February 2, 2015 at 2:02:35 PM UTC+1, Dan Kersten wrote: I personally like data. om-tools also calls it data. On 2 February 2015 at 12:55,

Re: ANN: ClojureScript 0.0-2755, Browser REPL, macros, and incremental compilation

2015-02-02 Thread David Nolen
Just pushed out 0.0-2758. The only change was a fix for the macro usage enhancement. On Sun, Feb 1, 2015 at 5:38 PM, David Nolen dnolen.li...@gmail.com wrote: ClojureScript, the Clojure compiler that emits JavaScript source code. README and source code:

Re: Multi purpose webframework deciding between serverside generated templates and cljs SPA approach

2015-02-02 Thread Sven Richter
Hi Torsten, I may add this some time in the future, bu for now I always used form based login, so some sort of a combination of SPA and traditional framework. Did you see this series: http://rundis.github.io/blog/2015/buddy_auth_part2.html This seems to go into the direction you are looking

Re: [ClojureScript] Re: ANN: Om 0.8.6, Hello CLJSJS

2015-02-02 Thread Daniel Kersten
I personally like data. om-tools also calls it data. On 2 February 2015 at 12:55, Khalid Jebbari khalid.jebb...@gmail.com wrote: Indeed, data is better than app. Khalid aka DjebbZ @Dj3bbZ On Mon, Feb 2, 2015 at 10:49 AM, Sebastian Bensusan sbe...@gmail.com wrote: Thanks Khalid, The

Re: [ClojureScript] Re: ANN: Om 0.8.6, Hello CLJSJS

2015-02-02 Thread Khalid Jebbari
Indeed, data is better than app. Khalid aka DjebbZ @Dj3bbZ On Mon, Feb 2, 2015 at 10:49 AM, Sebastian Bensusan sbe...@gmail.com wrote: Thanks Khalid, The way I see it, Om has three concepts regarding state: 1. The global state defined with atom. Named `app-state` 2. The cursor passed to

Re: ANN qarth 0.1.0, an OAuth library

2015-02-02 Thread Ricardo Acuna
Hi I think that Qarth is really great, but I'm having trouble with Scribe. I'm trying to get Khan Academy's OAuth API working, and I have a clj-oauth workflow that get's me an access token, but I haven't been able to set it up such that I send a simple GET request through. I found out this guy

Re: Multi purpose webframework deciding between serverside generated templates and cljs SPA approach

2015-02-02 Thread Torsten Uhlmann
Thanks, Sven! I read the first part, wasn't aware of this one though. It seems answer some of my questions. Thanks, Torsten. 2015-02-02 11:34 GMT+01:00 Sven Richter sver...@googlemail.com: Hi Torsten, I may add this some time in the future, bu for now I always used form based login, so

Re: ANN: Om 0.8.6, Hello CLJSJS

2015-02-02 Thread Sebastian Bensusan
Thanks Khalid, The way I see it, Om has three concepts regarding state: 1. The global state defined with atom. Named `app-state` 2. The cursor passed to each component with the relevant parts of the global state. Named `app` 3. Local state of each component, initialized in `IInitState` and

Re: ANN: ClojureScript 0.0-2755, Browser REPL, macros, and incremental compilation

2015-02-02 Thread David Nolen
And just pushed out 0.0-2760 which catches a ns spec parsing regression caught by some helpful people in the ClojureScript IRC channel. David On Mon, Feb 2, 2015 at 9:22 AM, David Nolen dnolen.li...@gmail.com wrote: Just pushed out 0.0-2758. The only change was a fix for the macro usage

Re: Help sought on issue with AOT, hadoop, classloaders, and consistency of Clojure fn classes

2015-02-02 Thread Marshall Bockrath-Vandegrift
On Friday, January 30, 2015 at 5:00:31 PM UTC-5, Jason Wolfe wrote: Thanks for the recommendation. For now we're looking for a simple low-level interface to MR, but we're also keeping an eye on parkour and pigpen for more complex tasks down the road. Can you explain why I might prefer

Re: Q: lein sanitized paths

2015-02-02 Thread Sebastian Bensusan
Hi Elric, The JVM can't use file directories that include hyphen - All paths are converted to _ http://docs.oracle.com/javase/tutorial/java/package/namingpkgs.html http://clojure.org/libs Sebastian On Monday, February 2, 2015 at 7:04:06 PM UTC+1, Elric Erkose wrote: What is the reason

Re: Help sought on issue with AOT, hadoop, classloaders, and consistency of Clojure fn classes

2015-02-02 Thread Jason Wolfe
On Mon, Feb 2, 2015 at 7:12 AM, Marshall Bockrath-Vandegrift llas...@gmail.com wrote: On Friday, January 30, 2015 at 5:00:31 PM UTC-5, Jason Wolfe wrote: Thanks for the recommendation. For now we're looking for a simple low-level interface to MR, but we're also keeping an eye on parkour and

Re: print-table bug?

2015-02-02 Thread Steve Miner
Looks like a bug in clojure.pprint/print-table. Probably should be use `pr-str` instead of `str`. user= (str ()) clojure.lang.PersistentList$EmptyList@1 user= (pr-str ()) () On Feb 2, 2015, at 3:10 PM, John Lawrence Aspden aspd...@googlemail.com wrote: These behave differently in 1.6

Q: lein sanitized paths

2015-02-02 Thread Elric Erkose
What is the reason that lein generates sanitized project paths, replacing - with _? -- 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: Q: lein sanitized paths

2015-02-02 Thread Elric Erkose
Thanks for providing links. The term convention bothers me, but may apply to the broader discussion rather than the specific question. I just did a quick bench test and javac did report an error. Still, OCD me would like to see a spec that includes the grammar. Thanks again. -- You