Re: A ClojureScript Tutorial For Light Table Users

2014-01-15 Thread Mark
Ok, thanks. I was thinking of something a bit different: connecting directly to the URL On Wednesday, January 15, 2014 5:34:58 PM UTC-8, David Nolen wrote: > > Control-SPACE to open the command pane. Type "Add Connection" and select > it. Choose Light Table UI. You should now be able to evalu

Re: A ClojureScript Tutorial For Light Table Users

2014-01-15 Thread David Nolen
Control-SPACE to open the command pane. Type "Add Connection" and select it. Choose Light Table UI. You should now be able to evaluate forms in the tutorial. On Wed, Jan 15, 2014 at 6:54 PM, Mark wrote: > The concept seems cool but I can't figure out the mechanics. What are the > magic keystrok

Re: Any libraries for creating Powerpoint and Excel files

2014-01-15 Thread Colin Yates
Cheers Ragnar. On Wednesday, 15 January 2014 10:00:12 UTC, Ragnar Dahlén wrote: > > Hi Colin, > > For Excel, there's docjure (https://github.com/ative/docjure) which > provides a quite nice interface to Apache POIs (http://poi.apache.org/) > Excel capabilities. > > Apache POI also has support fo

Re: A ClojureScript Tutorial For Light Table Users

2014-01-15 Thread Mark
The concept seems cool but I can't figure out the mechanics. What are the magic keystrokes to directly evaluate in the Light Table UI Connection? On Wednesday, January 15, 2014 5:44:06 AM UTC-8, David Nolen wrote: > > I've started what I hope will be a collaborative and comprehensive > reference

Re: put! on a full channel

2014-01-15 Thread t x
This is very helpful. Initially, I tried: (let [c (async/chan 2)] (async/put! c 1) (async/put! c 1) (async/put! c 1)) and thought "oh, it's unbounded." Then, after reading your message, I tried: (let [c (async/chan 2)] (doseq [x (range 2048)] (async/put! c 1))) and it's clear th

Re: put! on a full channel

2014-01-15 Thread Timothy Baldridge
Channels consist of 3 "things" 1) pending put queue 2) pending take queue 3) buffer What will happen is that the async/put! will be put into the pending put queue and sit there until either the buffer has room, or a take handles the put. These pending operation queues can be seen as unbounded qu

put! on a full channel

2014-01-15 Thread t x
Hi, Let c be a channel that is neither dropping nor slidding. Now, furthermore, let c be full. Lastly, suppose (async/put! c ...) is executed. Does the clojure async spec provide guarnatees on what happens? Thanks! -- -- You received this message because you are subscribed to the Go

Re: Granularity in Leiningen profile loading

2014-01-15 Thread gvim
Thanks. Got it now. gvim On 15/01/2014 03:58, Phil Hagelberg wrote: That's normal; you would need to run `lein with-profile cljs deps :tree` to activate a profile. But if you have dependencies that are needed for your project to compile, it's a very bad idea to omit them from project.clj; the

Re: [ANN] tools.analyzer(.jvm) 0.1.0-alpha1

2014-01-15 Thread Bronsa
It is definitely one goal of tools.analyzer/emitter to provide better error messages/info, tools.analyzer already provides some more analysis time checkes than Compiler.java and every exception thrown contins in its ex-data useful info. There's still plently of room for improvements on this side a

Re: [ANN] tools.analyzer(.jvm) 0.1.0-alpha1

2014-01-15 Thread bob
It seems tools.analyzer is to copy the analyzer of compiler from clojure, actually it is time to improve the error message and so on. On Saturday, January 11, 2014 9:23:56 AM UTC+8, Nicola Mometto wrote: > > > Today I released the first version of the tools.analyzer[1] and > tools.analyzer.jvm[

A ClojureScript Tutorial For Light Table Users

2014-01-15 Thread David Nolen
I've started what I hope will be a collaborative and comprehensive reference on the ClojureScript language for people looking to extend Light Table. This is a file that can be directly evaluated in the Light Table UI Connection. http://swannodette.github.io/2014/01/15/clojurescript-for-light-table-

Re: Nginx-Clojure Let You Deploy Clojure Web App on Nginx Without Any Java Web Server

2014-01-15 Thread Xfeep Zhang
On Wednesday, January 15, 2014 12:39:57 PM UTC+8, Roberto De Ioris wrote: > > > i strongly suggest you to avoid the "performance" as a selling point, your > project is cool but not for performance (and you are using a pipe to > transfer requests data from nginx to the jvm so there ipc in place

Re: Any libraries for creating Powerpoint and Excel files

2014-01-15 Thread Ragnar Dahlén
Hi Colin, For Excel, there's docjure (https://github.com/ative/docjure) which provides a quite nice interface to Apache POIs (http://poi.apache.org/) Excel capabilities. Apache POI also has support for Power Point, but I don't know to what extent. Ragnar On Wednesday, 15 January 2014 09:08

Re: Nginx-Clojure Let You Deploy Clojure Web App on Nginx Without Any Java Web Server

2014-01-15 Thread Xfeep Zhang
On Wednesday, January 15, 2014 12:39:57 PM UTC+8, Roberto De Ioris wrote: > > > > Hi Mingli, > > > > Thanks for your suggestion. > > > > Nginx-Clojure is quite different from uwsgi when supports JVM. > > > > Nginx-Clojure make JVM embed into Nginx worker process. JVM and Nginx > > worker ha

Re: [Leiningen] Run function from given namespace as CLI command

2014-01-15 Thread Ruslan Prokopchuk
Thanks a lot! I had to try this before putting question in list but something is glitching in my head! On Wednesday, January 15, 2014 11:04:13 AM UTC+2, Thomas Heller wrote: > > Hi, > > lein run -m my-ns.cmd/migrate > > when > > (ns my-ns.cmd) > > (defn migrate [& args]) > > Just use the normal

Any libraries for creating Powerpoint and Excel files

2014-01-15 Thread Colin Yates
Hi all, Any one broken that ground before? Thanks, Col -- -- 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 with your f

Re: [Leiningen] Run function from given namespace as CLI command

2014-01-15 Thread Thomas Heller
Hi, lein run -m my-ns.cmd/migrate when (ns my-ns.cmd) (defn migrate [& args]) Just use the normal clojure ns/var notation. HTH, Thomas On Wednesday, January 15, 2014 9:59:20 AM UTC+1, Ruslan Prokopchuk wrote: > > What is idiomatic way to run functions as CLI commands with lein? > Smth. like

[Leiningen] Run function from given namespace as CLI command

2014-01-15 Thread Ruslan Prokopchuk
What is idiomatic way to run functions as CLI commands with lein? Smth. like lein run -m my-ns.cmd.migrate up — but this requires to keep any command in separate namespace with (defn- main [& args] ...) or use (case (args 0) ...) to switch between functions. -- -- You received this message bec

Re: Very strange behaviour in reducers

2014-01-15 Thread icamts
Similar threads are https://groups.google.com/forum/?hl=en#!topic/clojure/A1gW_BB_4MU https://groups.google.com/forum/?hl=en#!topic/clojure-dev/scvyi2Cwk7g Luca Il giorno martedì 14 gennaio 2014 16:43:10 UTC+1, Yves Parès ha scritto: > > Hello! > When mapping and reducing a map, it seems argume