Re: Teaching Clojure to students (how ?)

2013-10-09 Thread Denis Labaye
Show interactive programing with the REPL. For example implementing a data transformation function incrementally in the REPL. By starting with an example of input. And successively bringing it closer to the final output. (Threading macros work great for that). I showed it to a few java

Re: [ANN] Marginalia has a new home

2013-08-16 Thread Denis Labaye
Marginalia is beautiful On Aug 15, 2013 4:34 PM, Gary Deer gdee...@gmail.com wrote: This is my first major contribution to the Clojure community so I'm looking forward to continuing the great work that Fogus et al have done. I'd like to publicly thank Fogus for letting me take the reins on a

Re: In what OS do you code?

2013-06-14 Thread Denis Labaye
Linux everywhere: - Natively @ work - Natively @ home - In a VirtualBox VM in a MacBook air in the tube Reasons: - Free and Open source - Standard (Learn once use everywhere) - Rock solid On Fri, Jun 14, 2013 at 3:46 PM, Erlis Vidal er...@erlisvidal.com wrote: Hi, I'm a bit curious to know

Re: In what OS do you code?

2013-06-14 Thread Denis Labaye
On Fri, Jun 14, 2013 at 3:52 PM, Gary Trakhman gary.trakh...@gmail.comwrote: Linux. I started making the investment 12 years ago with RedHat 6.2 and Slackware, so the extra fuss-time tradeoff is worth it for me, since I can minimize it by now. I can have a working clojure system from

How to cleanly interface with a Java lib that requires mutability?

2013-06-07 Thread Denis Labaye
Hi, I'm writting Clojure code that is used by a Java framework (Fitnesse's slim for those who knows). To workflow is like this: Instanciation of a new Java objectf = new Foo()Initialization with settersf.setBar(ze bar)And then call some methodsf.baz() My solution is something like: (ns Foo

Re: clojure diffs

2013-06-07 Thread Denis Labaye
On Fri, Jun 7, 2013 at 5:13 PM, Alex Baranosky alexander.barano...@gmail.com wrote: Thanks for remembering gui-diff Denis :) You never officially announced it (didn't see anyway). So here it is :-) My most valuable Clojure dev tool (along with clojure.tools/trace. And wait ... Incanter also,

Re: How to cleanly interface with a Java lib that requires mutability?

2013-06-07 Thread Denis Labaye
] Object (setBar [this s] (set! x (do-some-stuff))) (baz[this ] x)) Oh boy! My first attempt was ugly :) On Fri, Jun 7, 2013 at 3:21 PM, Denis Labaye denis.lab...@gmail.comwrote: Hi, I'm writting Clojure code that is used by a Java framework (Fitnesse's slim for those who knows

Re: Best IDE

2013-06-07 Thread Denis Labaye
*Learning Emacs is more important than learning Clojure.* -- A Clojure fanboy and former Vim user On Fri, Jun 7, 2013 at 10:46 PM, futile sbdegu...@gmail.com wrote: Before, I used vim for several years. But when I learned Clojure I switched to emacs, and it's really not hard or awkward

Re: [ANN] alpacas: a new Clojure source viewer

2013-06-04 Thread Denis Labaye
Idea seems great but no screenshots? Too bad for a visual tool On Tue, Jun 4, 2013 at 10:13 PM, Andrea Chiavazza ndrch...@gmail.comwrote: Alpacas is an application that displays Clojure source code with forms shown as nested boxes, doing away with parenthesis altogether. Run it with lein run

Re: [ANN] Pedestal Application Framework

2013-03-22 Thread Denis Labaye
hurray! It looks really promising. I would mention the relevance podcast about Pedestalhttp://thinkrelevance.com/blog/2013/03/18/pedestal-podcast-episode-027, it's a really smooth introduction. I started playing with Pedestal, and I particularly appreciate the incremental approach of the

Re: ANN: core.logic 0.8.0

2013-03-18 Thread Denis Labaye
On Sun, Mar 17, 2013 at 8:50 PM, David Nolen dnolen.li...@gmail.com wrote: I'm happy to announce the release of core.logic 0.8.0. There are far too changes, bug fixes, and enhancements to cover here. For the most part the miniKanren portion of core.logic has been left unchanged from the

Re: What's the point of - ?

2013-03-13 Thread Denis Labaye
I find the threading macros expressions much easier to *write* and *edit* than their nested expression counterparts. And it comes very handy when working at the REPL, to incrementally build an expression. It's easier to toggle on / off some parts of the pipeline than it is for a nested

Consuming REST APIs in Clojure: What's the best way?

2013-03-01 Thread Denis Labaye
Hi, I'm using clj-http to consume a JSON REST API. The code is ugly [1]: I'm in the process of rewriting it, and I would love to have some inputs from the community on how to design it. I love the Datomic way everything is data, but I don't want/can re-invent a query DSL [2]. Does anyone know

Re: clojure web developer job offer

2013-02-02 Thread Denis Labaye
On Fri, Feb 1, 2013 at 12:01 AM, Vagif Verdi vagif.ve...@gmail.com wrote: Our company is looking for a full time or consultant developer. The job is to maintain and continue actively develop web application / internal webservices written in clojure. We use compojure web framework, darcs for

Re: [ANN] Leiningen 2.0.0 released

2013-01-21 Thread Denis Labaye
Congrats! On Mon, Jan 21, 2013 at 3:07 AM, James Xu xumingming64398...@gmail.comwrote: Thanks! On Sunday, January 20, 2013 1:00:19 PM UTC+8, Phil Hagelberg wrote: Greetings fellow Clojure people. I've just pushed out the final release of Leiningen 2.0.0. The changes since the last

Re: How to (easily) show the advantages of Clojure

2013-01-19 Thread Denis Labaye
On Wed, Jan 16, 2013 at 4:08 PM, Thomas th.vanderv...@gmail.com wrote: Hi All, Something that came up last night in the blank? thread. What is a good way to show someone the advantages of Clojure. Something that is simple, not too complicated, easily understood, shows a (significant)

Re: Google+ community

2013-01-05 Thread Denis Labaye
I just joined On Sat, Jan 5, 2013 at 9:15 PM, dspiteself dspites...@gmail.com wrote: I started a google plus communityhttps://plus.google.com/u/0/communities/102842407348588249223. I know most of the Clojure community is generally more into twitter, but I have been enjoying Google+

Re: [ANN] Jida - Explore Clojure projects via hosted Codeq

2012-12-25 Thread Denis Labaye
On Sat, Dec 22, 2012 at 9:08 PM, Sean Grove s...@cloudfuji.com wrote: Hey all, Wei and I put together Jida, a pastie-bin for running Codeq/Datomic queries on Clojure repos. To dive in, here's a query that shows all of the authors for a given imported clojure repo (domina, in this case):

Re: How to structure a Clojure day for noobs?

2012-12-22 Thread Denis Labaye
Only one link: http://www.4clojure.com/ That's what we did a few month ago when we did an introduction to Clojure for our fellow co-workers. It worked well, to the point that it crashed www.4clojure.com :) But on Clojure IRC, Anthony Grimes (IORayne) was kind to reboot the server, it

Re: Clojure 1.5.0 RC 1

2012-12-22 Thread Denis Labaye
Is the release note here: https://github.com/clojure/clojure/blob/master/changes.md ? Anyway it looks tasty: - New and Improved Features: Reducers - New threading macros: - cond- - cond- - as- - some- ... On Sat, Dec 22, 2012 at 5:09 PM, Stuart Halloway

Re: Coding Standard - ns usage

2012-11-17 Thread Denis Labaye
On Mon, Nov 12, 2012 at 6:37 PM, Sean Corfield seancorfi...@gmail.comwrote: On Sun, Nov 11, 2012 at 10:31 PM, Denis Labaye denis.lab...@gmail.com wrote: Most of my Clojure usage is as a scripting language (where other would use Python or Ruby). I usually don't plan in advance how my

Re: Coding Standard - ns usage

2012-11-11 Thread Denis Labaye
. In Java land, all IDEs have shortcut to import classes at the time it's needed, maybe that's what I need (in Emacs in my case). Luc P. Convert (:use [lib :only [...]]) = (:require [lib :refer [...] :as ...]) On Sun, Nov 11, 2012 at 12:49 PM, Denis Labaye denis.lab...@gmail.com wrote

Re: Coding Standard - ns usage

2012-11-11 Thread Denis Labaye
if you have an alias in your require call. There's no possible confusion with an alias and calls are can easily be searched as text strings which all IDEs support. Luc P. On Sun, 11 Nov 2012 20:44:24 +0100 Denis Labaye denis.lab...@gmail.com wrote: On Sun, Nov 11, 2012 at 6:02 AM

Re: Coding Standard - ns usage

2012-11-11 Thread Denis Labaye
On Mon, Nov 12, 2012 at 2:59 AM, Sean Corfield seancorfi...@gmail.comwrote: On Sun, Nov 11, 2012 at 2:26 PM, Mark Engelberg mark.engelb...@gmail.com wrote: I can relate to Denis' issue. I find it pretty common to have a common set of dependencies across every file in a project. Well, I

Re: Coding Standard - ns usage

2012-11-10 Thread Denis Labaye
Talking about `use` and `require`: How are you dealing with the repetition of each namespace configuration? Each time I create a new namespace I add the following boilerplate: (ns foo.bar (:use [clojure [pprint :only [pprint pp]] [repl

Re: Clojure turns 5

2012-10-18 Thread Denis Labaye
bravo! On Thu, Oct 18, 2012 at 9:29 PM, Brian Kirkbride br...@otherpeoplespixels.com wrote: Congratulations Rich. Many thanks to you and the many people that have contributed to making Clojure what it is today. Learning and using Clojure has truly brought the joy back to creating software

Re: [ANN] clj-ns-browser 1.3.0 - the cool button-row widget release

2012-09-16 Thread Denis Labaye
On Fri, Sep 14, 2012 at 7:53 PM, Frank Siebenlist frank.siebenl...@gmail.com wrote: We're happy to announce the new clj-ns-browser 1.3.0 - the cool button-row widget - release. The Clojure Namespace Browser is a GUI-based, Smalltalk-like development tool that makes it easy to see, inspect,

Re: ANN Drip: A fast JVM launcher

2012-09-16 Thread Denis Labaye
After the bug fix on ubuntu: denis@zeus:~/.m2$ time drip -cp ./repository/org/clojure/clojure/1.4.0/clojure-1.4.0.jar clojure.main -e (reduce + (range 100)) 4950 real0m0.123s user0m0.032s sys 0m0.016s denis@zeus:~/.m2$ time java -cp

Re: ANN Drip: A fast JVM launcher

2012-09-16 Thread Denis Labaye
On Sun, Sep 16, 2012 at 8:59 PM, Michael Klishin michael.s.klis...@gmail.com wrote: Denis Labaye: After the bug fix on ubuntu: denis@zeus:~/.m2$ time drip -cp ./repository/org/clojure/** clojure/1.4.0/clojure-1.4.0.**jar clojure.main -e (reduce + (range 100)) 4950 real0m0.123s

Re: Literate Programming in org-babel (ob-clojure.el) is broken under nrepl.el

2012-09-12 Thread Denis Labaye
cool, great example ! Thanks On Saturday, September 8, 2012 4:24:38 AM UTC-4, Denis Labaye wrote: On Thu, Sep 6, 2012 at 6:42 PM, lambdatronic gwjo...@uvm.edu wrote: For those people (like myself) who do a lot of Literate Programming in Emacs using Clojure and org-babel, migrating to nrepl

Re: Lightweight lib/way to strip html from text

2012-09-11 Thread Denis Labaye
Hi, This thread on the Enlive mailling list may be of some interest to you: [enlive] How to select all user visible text from webpage? https://groups.google.com/forum/#!msg/enlive-clj/rrY08JdI4Tc/FmDuNjc6w_oJ Denis On Thu, Sep 6, 2012 at 7:41 PM, jamieorc jamie...@gmail.com wrote: Hey all,

Re: [ANN] rubydoc 0.3.0

2012-09-10 Thread Denis Labaye
On Mon, Sep 10, 2012 at 4:10 AM, Gabriel Horner gabriel.hor...@gmail.comwrote: rubydoc https://github.com/cldwalker/rubydoc is a project aimed at helping rubyists find clojure equivalents. There are now over 200+ ruby-clojure comparisons. 0.3.0 comes with some new features: * A comparison is

Re: [ANN] data.priority-map 0.0.2 available

2012-09-10 Thread Denis Labaye
On Mon, Sep 10, 2012 at 5:47 AM, Sean Corfield seancorfi...@gmail.comwrote: https://github.com/clojure/data.priority-map Seems interesting, thanks. Fixes: http://dev.clojure.org/jira/browse/DPRIMAP-1 Implements Iterable to be compatible with reducers per Alan Malloy. (yes, I know the

Re: ClojureScript and development workflow

2012-09-10 Thread Denis Labaye
On Mon, Sep 10, 2012 at 6:28 PM, Laurent PETIT laurent.pe...@gmail.comwrote: Hello, A ClojureScript workflow newbie question. People seem to be using a lot lein-cljsbuild to work with their ClojureScript project. From what I understand, this means they have a watcher which recompiles

Re: [ANN] data.priority-map 0.0.2 available

2012-09-10 Thread Denis Labaye
On Mon, Sep 10, 2012 at 6:52 PM, John Gabriele jmg3...@gmail.com wrote: On Monday, September 10, 2012 7:29:34 AM UTC-4, Denis Labaye wrote: (yes, I know the README needs updating to the official format...) What's the official format ? http://dev.clojure.org/display/design/Contrib

Re: ClojureScript and development workflow

2012-09-10 Thread Denis Labaye
On Mon, Sep 10, 2012 at 8:50 PM, Laurent PETIT laurent.pe...@gmail.comwrote: 2012/9/10 Laurent PETIT laurent.pe...@gmail.com 2012/9/10 Denis Labaye denis.lab...@gmail.com On Mon, Sep 10, 2012 at 6:28 PM, Laurent PETIT laurent.pe...@gmail.comwrote: Hello, A ClojureScript workflow

Re: ANN Ritz 0.4.1

2012-09-09 Thread Denis Labaye
On Sat, Sep 8, 2012 at 2:02 PM, Hugo Duncan duncan.h...@gmail.com wrote: Denis Labaye denis.lab...@gmail.com writes: On Fri, Sep 7, 2012 at 9:11 PM, Hugo Duncan h...@hugoduncan.org wrote: Ritz is a collection of repl servers, middleware and repl utility functions, supporting nREPL

Re: redefining multimethods at the repl

2012-09-08 Thread Denis Labaye
On Wed, Sep 5, 2012 at 12:31 AM, Brian Marick mar...@exampler.com wrote: I'm trying to write exercises for multimethods. Book readers will be working at the repl. Multimethods are stateful in a bad way, as shown below. Is there some sort of trick to using multimethods at the repl, or should I

Re: ANN Ritz 0.4.1

2012-09-08 Thread Denis Labaye
On Fri, Sep 7, 2012 at 9:11 PM, Hugo Duncan h...@hugoduncan.org wrote: Ritz is a collection of repl servers, middleware and repl utility functions, supporting nREPL and swank/slime. The repl utilities can be used from any repl. Does ritz/swank replace lein-swank? Thanks, Denis The

Re: Literate Programming in org-babel (ob-clojure.el) is broken under nrepl.el

2012-09-08 Thread Denis Labaye
On Thu, Sep 6, 2012 at 6:42 PM, lambdatronic gwjoh...@uvm.edu wrote: For those people (like myself) who do a lot of Literate Programming in Emacs using Clojure and org-babel, migrating to nrepl and nrepl.el is somewhat non-trivial. This is because the existing Clojure support in org-babel

Re: [ANN] clojure-encog has a new name and repo

2012-09-08 Thread Denis Labaye
On Tue, Sep 4, 2012 at 9:05 PM, Jim - FooBar(); jimpil1...@gmail.comwrote: Hi all, just wanted to let you know that I renamed 'clojure-encog' to *enclog* ...release 0.5.0 does not add anything but several 'library coding standards' that i was previously not aware of, have been addressed...

Re: [ANN] clojure-encog has a new name and repo

2012-09-08 Thread Denis Labaye
fooling around with enclog...if this is the case, keep in mind that i will push 0.5.2 later this afternoon which includes some changes...I'll try fix the examples as well... thanks for trying out enclog and for reporting what you thought was a bug... Jim On 08/09/12 10:12, Denis Labaye

Re: Problems with Leiningen and Clojure 1.4

2012-09-03 Thread Denis Labaye
On Fri, Aug 31, 2012 at 7:38 PM, Martin martin9...@gmail.com wrote: Hi Im having problems using Leiningen together with Clojure 1.4 (and 1.3) on Windows 7. Using Leiningen version 1.5.2 I can create a new project and use lein deps to download clojure version 1.2.1. However if I change

Re: I want to know how can I run it?

2012-09-03 Thread Denis Labaye
1. java -cp ./org/clojure/clojure/1.4.0/clojure-1.4.0.jar clojure.main 2. cut paste your code in the REPL 3. type (start) [enter] On Fri, Aug 31, 2012 at 3:36 AM, gearss gearss8...@gmail.com wrote: I have a file named pong.clj, it isunder following, I want to know how can I run

clojure.org/getting_started: not up to date

2012-09-03 Thread Denis Labaye
the first contact for most of the new Clojure users. Denis On Mon, Sep 3, 2012 at 9:00 AM, Denis Labaye denis.lab...@gmail.com wrote: 1. java -cp ./org/clojure/clojure/1.4.0/clojure-1.4.0.jar clojure.main 2. cut paste your code in the REPL 3. type (start) [enter] On Fri, Aug 31, 2012

Re: clojure.org/getting_started: not up to date

2012-09-03 Thread Denis Labaye
.jar It's a detail, but an important one, as it's the first contact for most of the new Clojure users. Denis On Mon, Sep 3, 2012 at 9:00 AM, Denis Labaye denis.lab...@gmail.com wrote: 1. java -cp ./org/clojure/clojure/1.4.0/clojure-1.4.0.jar clojure.main

Re: clj-http's json + enlive's selectors

2012-08-30 Thread Denis Labaye
On Tue, Aug 28, 2012 at 11:42 AM, Herwig Hochleitner hhochleit...@gmail.com wrote: 2012/8/27 Denis Labaye denis.lab...@gmail.com Fetch JSON with clj-http AND extract informations from it with enlive. Does anyone know what's the most straightforward way to do that? Enlive currently

Re: Code retreat exercices where Clojure could shine?

2012-08-30 Thread Denis Labaye
/ other languages, the other 2/3 are not aware that there's something else than Java on the JVM Russell On Monday, August 27, 2012 2:41:20 AM UTC-7, Denis Labaye wrote: Hi, I am organizing a code retreat in September. All languages are accepted, I want to use Clojure for this time, which

Re: [emacs over ssh limitations]

2012-08-29 Thread Denis Labaye
On Tue, Aug 28, 2012 at 2:44 AM, Stuart Sierra the.stuart.sie...@gmail.comwrote: It's easy enough to test: fire up a small EC2 instance and use Emacs over an SSH+tmux session. You could also try using your own local Emacs that way by SSH'ing to localhost. In my experience, commands don't

Re: European conferences in 2012?

2012-08-29 Thread Denis Labaye
On Wed, Aug 29, 2012 at 3:08 PM, Jonathan Lange j...@mumak.net wrote: Hello everyone, Just wondering if there are any conferences in Europe coming up in the remainder of the year that would be of interest to someone interested in Clojure? I don't know, but I am interested... We will

Code retreat exercices where Clojure could shine?

2012-08-27 Thread Denis Labaye
Hi, I am organizing a code retreat in September. All languages are accepted, I want to use Clojure for this time, which exercises would make Clojure shine? Thanks! Denis -- You received this message because you are subscribed to the Google Groups Clojure group. To post to this group, send

clj-http's json + enlive's selectors

2012-08-27 Thread Denis Labaye
Hi, I am happily using clj-http to fetch JSON from my REST URIs. And happily extracting data from XML using enlive. Now I would like to combine the two: Fetch JSON with clj-http AND extract informations from it with enlive. Does anyone know what's the most straightforward way to do that?

Re: getting a new socket at the repl

2012-08-27 Thread Denis Labaye
On Mon, Aug 27, 2012 at 11:23 PM, larry google groups lawrencecloj...@gmail.com wrote: I am in emacs at a clojure swank slime repl. I do this: user (def ss (Socket. localhost, 4)) #'user/ss user ss #Socket Socket[addr=localhost/127.0.0.1,port=4,localport=62125] All is good.

Re: getting a new socket at the repl

2012-08-27 Thread Denis Labaye
On Mon, Aug 27, 2012 at 11:56 PM, Denis Labaye denis.lab...@gmail.comwrote: On Mon, Aug 27, 2012 at 11:23 PM, larry google groups lawrencecloj...@gmail.com wrote: I am in emacs at a clojure swank slime repl. I do this: user (def ss (Socket. localhost, 4)) #'user/ss user ss

Re: [emacs over ssh limitations]

2012-08-26 Thread Denis Labaye
On Fri, Aug 24, 2012 at 6:04 PM, Phil Hagelberg p...@hagelb.org wrote: On Fri, Aug 24, 2012 at 6:16 AM, Denis Labaye denis.lab...@gmail.com wrote: I've just seen the presentation by Phil Hagelberg on swarm coding (http://www.infoq.com/presentations/Swarm-Coding). Great presentation, very

Re: problem 58 on 4clojure

2012-08-25 Thread Denis Labaye
On Sat, Aug 25, 2012 at 6:47 PM, John Holland jbholl...@gmail.com wrote: This problem is really confusing me. I found a solution online, but I can't understand the solution. Can anyone explain to me why this works? The problem is stated as: Write a function which allows you to create

[emacs over ssh limitations]

2012-08-24 Thread Denis Labaye
Hi, I've just seen the presentation by Phil Hagelberg on swarm coding (http://www.infoq.com/presentations/Swarm-Coding). Great presentation, very inspiring, we will definitively do swarm coding here in the Clojure Paris (France) User Group. In the talk Phil explains why emacs-slime over ssh do

Re: [viewing clojure datastructures] Is there something better than clojure.inspector?

2012-08-23 Thread Denis Labaye
, Denis Labaye denis@gmail.com wrote: Hi everyone, The clojure.inspector functions are ... mmm ... a bit rough on the edge =) Is there any lib that provide better support for exploring Clojure data-structures? I am surprised I didn't found anything on Google, GitHub, ... Data

Re: [viewing clojure datastructures] Is there something better than clojure.inspector?

2012-08-23 Thread Denis Labaye
On Thu, Aug 23, 2012 at 8:39 AM, Denis Labaye denis.lab...@gmail.comwrote: at which point? $ lein deps $ lein repl user= (use 'clj-ns-browser.sdoc) user= (sdoc) On Thu, Aug 23, 2012 at 4:48 AM, blackblock mathn...@gmail.com wrote: I get this with Lein2 with lein repl

Re: dumping maps out to XML

2012-08-23 Thread Denis Labaye
On Thu, Aug 23, 2012 at 3:40 AM, larry google groups lawrencecloj...@gmail.com wrote: Forgive me if this has been asked before. I am a beginner. I have a data structure that is composed of maps nested inside of a map. What is the easiest way to dump this out as XML? Why do you want to do

[viewing clojure datastructures] Is there something better than clojure.inspector?

2012-08-22 Thread Denis Labaye
Hi everyone, The clojure.inspector functions are ... mmm ... a bit rough on the edge =) Is there any lib that provide better support for exploring Clojure data-structures? I am surprised I didn't found anything on Google, GitHub, ... Data-structures are at the core of Clojure, so being able

Re: [viewing clojure datastructures] Is there something better than clojure.inspector?

2012-08-22 Thread Denis Labaye
on an auto-refresh for the var's displayed value such that you can follow the var's value near real-time. This may help with your requirements... Enjoy, Frank. On Aug 22, 2012, at 1:58 PM, Denis Labaye denis.lab...@gmail.com wrote: Hi everyone, The clojure.inspector functions are ... mmm

Re: Repeatedly applying functions until a condition is met

2012-07-26 Thread Denis Labaye
On Thu, Jul 26, 2012 at 9:58 AM, Adrian Mowat adrian.mo...@gmail.comwrote: Hi Folks I have a program that parses a string into rows and fields by repeatedly applying a sequence of functions repeatedly until the end of the string is reached. Each function (or chunker, as I have called them)

Re: [ANN] table 0.3.0 release - ascii tables that fit in your terminal

2012-07-24 Thread Denis Labaye
Hi, Seems cool. Is it supposed to work in an Emacs (slime) repl? When I tried on of the examples: (table [[1 2] [3 4]]) I've got a [Thrown class java.lang.NumberFormatException] And when looking where the code breaks, when doing : (clojure.java.shell/sh /bin/sh -c stty -a /dev/tty) I've got:

Re: [ANN] table 0.3.0 release - ascii tables that fit in your terminal

2012-07-24 Thread Denis Labaye
control the width directly by binding table.width/*width*. 0.3.1 works fine now! And of course I removed the datomic deps ;) lucky you ! :) Cheers, Gabriel On Tuesday, July 24, 2012 4:52:00 AM UTC-4, Denis Labaye wrote: Hi, Seems cool. Is it supposed to work in an Emacs (slime

Re: Casting SPELs in Clojure

2012-07-23 Thread Denis Labaye
Hi, On Mon, Jul 23, 2012 at 5:38 PM, Joe Hughes jwhughe...@gmail.com wrote: All, I figured it out. Still trying to get Functional Programming ideas in my head. The macro defspel is not functional programming, it's dark Lisp's macro Voodoo. I would not advise starting Clojure with

Re: Casting SPELs in Clojure

2012-07-23 Thread Denis Labaye
with, this is a very cool emulation. (For example me[denlab] and my friend [ardumont], in http://www.4clojure.com/users, I'm in the top 79, he is in the top 88, booh! :-) Have fun! Denis Regards, Joe On Monday, July 23, 2012 10:53:56 AM UTC-5, Denis Labaye wrote: Hi, On Mon, Jul 23, 2012 at 5:38 PM

Re: Clojure shell calls results inconsistent with actual shell calls.

2012-07-15 Thread Denis Labaye
On Thu, Jul 12, 2012 at 12:21 AM, Eric in San Diego eric.sc...@acm.orgwrote: In a shell, I can call app arg1 arg2 arg3 arg4 arg5 arg6 arg7 and get my expected results. However, if I make what I think is the same call programmatically in clojure: (ns ... (:require

Re: {ANN} Clojure-Control 0.4.0 is out!

2012-06-22 Thread Denis Labaye
Hi, This is interesting, but the github page you gave is missing an essential information: What does it bring compared to already existing mature Clojure solutions like Pallet ? Cheers, Denis On Thu, Jun 21, 2012 at 2:34 PM, dennis zhuang killme2...@gmail.com wrote: Clojure-control: a

Re: Standard alias for partial?

2012-06-21 Thread Denis Labaye
On Tue, Jun 19, 2012 at 8:25 PM, JvJ kfjwhee...@gmail.com wrote: This is not really a big deal, but I was wondering if there was a shorter alias for partial in the standard library. It seems like one of those things that should require a single-character operator. Interesting, I am also

Re: Lambda: A lniux distro for clojurists

2012-05-26 Thread Denis Labaye
Hi, This is a very interesting idea. It would have been of great use when I did a Clojure workshop with complete beginners, with all kinds of OSes (Windows, OSX, ...). I took the Completely packaged VirtualBox image approach, but it is still a big mess: Not everyone have VirtualBox installed (or

Re: Do you leave a Swank / nREPL in your production servers?

2012-05-26 Thread Denis Labaye
Note also that I could be interesting to plug a swank server in a regular Java app (mainly for dev). This would allow to manipulate you live app, and use all the Clojure goodness from the confort of your REPL: http://denilab.blogspot.fr/2012/04/injecting-clojure-repl-into-your.html On Fri, May

Re: Clojure Pretty Printing with Blogger

2012-05-26 Thread Denis Labaye
Hi, I don't know google-code-prettify. I am using Emacs with org-mode, it has native support for prettifying Clojure code when exporting to HTML. You could also use GitHub's gist https://gist.github.com/, and embed it in your blog. Denis On Fri, May 25, 2012 at 12:07 PM, Jake Johnson

Re: Midje 1.4 released

2012-05-26 Thread Denis Labaye
Great! On Thu, May 24, 2012 at 9:10 AM, CA java10c...@gmail.com wrote: Yeah! On May 24, 12:29 am, Brian Marick mar...@exampler.com wrote: Midje is a test framework for Clojure. It supports top-down as well as bottom-up testing, encourages readable tests, provides a smooth migration path

Re: [clojurescript one] Where does Clojurescript One come from?

2012-03-01 Thread Denis Labaye
) is not implemented yet. /Linus 2012/2/28 Denis Labaye denis.lab...@gmail.com Hi, I discovered Clojurescript One recently, it is amazing, but it's also very alien to me, I never seen something like this before, as it says on the Github's README: ClojureScript One is hard to classify

[clojurescript one] Where does Clojurescript One come from?

2012-02-28 Thread Denis Labaye
Hi, I discovered Clojurescript One recently, it is amazing, but it's also very alien to me, I never seen something like this before, as it says on the Github's README: ClojureScript One is hard to classify. It is not a library or a framework. It is more like a classroom, a laboratory or a

Re: Struggling in making a sub-process work in an interactive way

2012-01-13 Thread Denis Labaye
- they run system command directly, after execution they return and terminate. That's not the way I want On Jan 13, 2:42 am, Denis Labaye denis.lab...@gmail.com wrote: Hi, In Java you would do it with common-exec:http://commons.apache.org/exec/ So add the deps to your project.clj

Re: Struggling in making a sub-process work in an interactive way

2012-01-12 Thread Denis Labaye
Hi, In Java you would do it with common-exec: http://commons.apache.org/exec/ So add the deps to your project.clj : :dependencies [[org.apache.commons/commons-exec 1.1]] And use Clojure's Java interop. Keep us posted, I will need to do the same thing soon :) Denis On Wed, Jan 11, 2012 at

Re: [midje] ANN: Midje 1.3.0

2011-12-13 Thread Denis Labaye
Midje is getting better and better. Congrats! On Mon, Dec 12, 2011 at 5:41 PM, Brian Marick mar...@exampler.com wrote: Midje 1.3's most important feature is compatibility with Clojure 1.3. https://github.com/marick/Midje Midje is a test framework for Clojure that supports top-down as well

coding-dojo-20110921

2011-09-21 Thread Denis Labaye
Hello, On a code une implem alternative de retour dans le RER: https://gist.github.com/1231894 A+ Denis -- 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

Re: coding-dojo-20110921

2011-09-21 Thread Denis Labaye
ops! I posted on clojure google group instead of *clojure-paris-user-group* google group sorry :-) On Wed, Sep 21, 2011 at 9:13 PM, Meikel Brandmeyer m...@kotka.de wrote: Am 21.09.2011 um 19:59 schrieb Ken Wesson: On Wed, Sep 21, 2011 at 8:20 AM, Denis Labaye denis.lab...@gmail.com

Re: coding-dojo-20110921

2011-09-21 Thread Denis Labaye
, 2011 at 9:20 PM, Denis Labaye denis.lab...@gmail.comwrote: ops! I posted on clojure google group instead of *clojure-paris-user-group* google group sorry :-) On Wed, Sep 21, 2011 at 9:13 PM, Meikel Brandmeyer m...@kotka.de wrote: Am 21.09.2011 um 19:59 schrieb Ken Wesson: On Wed, Sep

Re: Generating Bash scripts from Clojure

2011-09-14 Thread Denis Labaye
: http://groups.google.com/group/pallet-clj Thanks, Ambrose On Tue, Sep 13, 2011 at 1:09 PM, Denis Labaye denis.lab...@gmail.comwrote: Hi, I have to write a bunch of Bash scripts, and not a lot of time :) The final script would perform a full install, provisionning, sanity checks

Generating Bash scripts from Clojure

2011-09-12 Thread Denis Labaye
Hi, I have to write a bunch of Bash scripts, and not a lot of time :) The final script would perform a full install, provisionning, sanity checks, ... in one command. I wonder if I could generate them using Clojure. Of course the output script(s) won't have the Clojure runtime. Any advices /

Re: Am I getting back a vector of lines and can I split each line?

2011-06-17 Thread Denis Labaye
non-lazy version: (map #(vec (.split % ,)) (vec (.split (slurp /tmp/foo.csv) \n)))([foo bar] [fu bor]) On Fri, Jun 17, 2011 at 2:39 PM, octopusgrabbus octopusgrab...@gmail.comwrote: Thanks for the reply. In this instance, what's the syntax for map? I'm trying in REPL and

Re: Svar: Ideas from Fortress

2011-06-14 Thread Denis Labaye
From my emacs start up file: ;; prevent slime to crash when encountering non ascii char (set-language-environment UTF-8) (setq slime-net-coding-system 'utf-8-unix) Le 14 juin 2011 06:16, jlk lachlan.kana...@gmail.com a écrit : Hello Is there a trick to making this work in emacs/slime? If I