Re: Post on Clojure Intrinsics

2014-02-19 Thread Philip Potter
Nice post! Short, punchy, and I learned something new. I wonder if kibit or eastwood might be able to identify potential points in code which could benefit from hinting for intrinsics? On 19 February 2014 06:45, Gal Dolber g...@dolber.com wrote: Here is my first post on clojure, I hope it's

Re: Post on Clojure Intrinsics

2014-02-19 Thread Manuel Paccagnella
Nice post! Il giorno mercoledì 19 febbraio 2014 07:45:01 UTC+1, Gal Dolber ha scritto: Here is my first post on clojure, I hope it's helpful! http://galdolber.tumblr.com/post/77153377251/clojure-intrinsics -- You received this message because you are subscribed to the Google Groups

Re: Post on Clojure Intrinsics

2014-02-19 Thread Gal Dolber
Thanks! @Phillip: that is definitely something worth exploring, finding almost intrinsic calls shouldn't be hard to do On Wed, Feb 19, 2014 at 6:41 AM, Manuel Paccagnella manuel.paccagne...@gmail.com wrote: Nice post! Il giorno mercoledì 19 febbraio 2014 07:45:01 UTC+1, Gal Dolber ha

Re: ANN: Om 0.5.0-rc1

2014-02-19 Thread Andrew Keedle
On Wednesday, 19 February 2014 03:51:15 UTC, David Nolen wrote: In order to stay in sync with React 0.9.0-rc1 I've cut Om 0.5.0-rc1. There are a couple of small breaking changes due to React but otherwise the differences between 0.4.2 and 0.5.0-rc1 are minor. One big enhancement is that

Is it possible to get Clojure files in Spotlight search?

2014-02-19 Thread Matt Mower
Hi. I recently bought a nice OSX app called Tembo which makes spotlight searching a more pleasant experience. In particular it has a Source Code grouping which is handy but know nothing about Clojure files. I spoke to the author of Tembo and quote his response here Tembo relies on the

Re: [ClojureScript] ANN: Om 0.5.0-rc1

2014-02-19 Thread Eduard Bondarenko
Thank you, works fine for me, I had to remove last argument to did-update. Other changes I made related to 0.3.x - 0.4.x migration. Best regards, Eduard On Wed, Feb 19, 2014 at 5:51 AM, David Nolen dnolen.li...@gmail.com wrote: In order to stay in sync with React 0.9.0-rc1 I've cut Om

Re: why Clojure/Lisp is so fast

2014-02-19 Thread Andy C
On Tue, Feb 18, 2014 at 11:38 PM, Devin Walters dev...@gmail.com wrote: You need to use the lein plugin for no.disassemble, not the dependency. The README explains how. Thanks - now I can see disassembled code - quit neat. I misread do not use this way as a following as opposed to above

Re: why Clojure/Lisp is so fast

2014-02-19 Thread Andy C
The OP almost certainly intended CLISP to mean Common Lisp. I recall it now - it was Allegro CL which somebody demoed to me almost ten years ago. I wish I started learning Lisp yet cannot believe that Clojure I am learning now (and Scala I am actively using) did not exist back then. -- You

Clojure Development Work - Investment Bank in London

2014-02-19 Thread Jonny Kaye
Hi All, I have a role within a leading Investment Bank based in London, looking for an experienced Closure developer. If you have a knowledge or commercial experience with Scala or Java then that would be desirable. If you have worked on a Grid computing platform, this will also put you at an

Re: Looking for advice to fine tune a simple function

2014-02-19 Thread Mark Fisher
it's more idiomatic to use *when* rather than *if* for cases where you won't be considering the false path. (when (= x y) z) cond is used more as a multi-if with a drop out at the end (usually using :else which because it's a keyword is truthy when evaluated). On Wednesday, 19 February 2014

[ANN] clojure-contracts-sugar 0.1.0

2014-02-19 Thread Ian Rumford
Hello all, Back in late 2012 I bloggedhttp://ianrumford.github.io/blog/2012/11/17/first-take-on-contracts-in-clojure/ about my initial experiences with Fogus's clojure.core.contracts In that post I suggested that some usage aids (sugar) would be useful. I've finally pulled the sugar into a

Hiring Clojure developers for our distributed team at Outpace Systems

2014-02-19 Thread Paul Stadig
Hey everyone, A couple of months ago Alexey posted a notice about Outpace hiring, and I got caught in his net. :) We are looking to hire more people in the next few months. If you are interested in working from home on a distributed team writing Clojure code, then feel free to contact me. If

Re: Hiring Clojure developers for our distributed team at Outpace Systems

2014-02-19 Thread Michael Klishin
2014-02-19 18:41 GMT+04:00 Paul Stadig p...@stadig.name: If you are interested in working from home on a distributed team writing Clojure code, then feel free to contact me. If you aren't quite sure how the distributed team thing works, or are concerned about your Clojure skill level etc,

Do you recommend the book: Web Development with Clojure

2014-02-19 Thread Erlis Vidal
Hi all, Have any of you read the book *Web Development with Clojure*? http://www.amazon.com/Web-Development-Clojure-Build-Bulletproof/dp/1937785645 There's only one review on amazon, and it's a fantastic review but I'm wondering if this is the book I should read if I wanted to start using

Re: Do you recommend the book: Web Development with Clojure

2014-02-19 Thread Laurent Droin
For what it worth... I bought this book because I thought it would be a great way for me to learn Clojure. I am familiar with web frameworks such as Rails and Play, but didn't know much about Clojure. Unfortunately, it proved too difficult for me to follow because Clojure is way different from

Re: Do you recommend the book: Web Development with Clojure

2014-02-19 Thread tao
It’s a great book, but require you to play with the code when you read the book. -- tao Sent with Sparrow (http://www.sparrowmailapp.com/?sig) On Thursday, February 20, 2014 at 12:14 AM, Laurent Droin wrote: For what it worth... I bought this book because I thought it would be a great way

Re: Do you recommend the book: Web Development with Clojure

2014-02-19 Thread Manuel Paccagnella
My perspective: I'm reading that book and seems good so far but I'm not a complete newbie and I've already used Clojure for writing some (small) web applications. If you want a more beginner-friendly introduction before delving into web programming, I've found very good these books: * [Clojure

Re: Function that weaves two collections together - looking for feedback

2014-02-19 Thread Steve Miner
On Feb 19, 2014, at 12:28 AM, Laurent Droin laurentdr...@gmail.com wrote: Ah, thank you. interleave is what I was looking for. I looked for weave, zip, map, concat, and all the see also but did not find interleave. Interleave will of course not handle the last value in the categories

Re: Hiring Clojure developers for our distributed team at Outpace Systems

2014-02-19 Thread Josh Kamau
Yes... we care to know. I am in Nairobi, Kenya Josh On Wed, Feb 19, 2014 at 6:50 PM, Michael Klishin michael.s.klis...@gmail.com wrote: 2014-02-19 18:41 GMT+04:00 Paul Stadig p...@stadig.name: If you are interested in working from home on a distributed team writing Clojure code, then

core.async as a rate-limiter

2014-02-19 Thread Kris Jenkins
Hey folks, Can someone sanity check this for me, please? I want to write some code that processes messages on a core.async channel, at a rate of *at most* 1 message per second. I'm using this code: (go (while true (let [t (timeout 1000)] (log Message is: (!

Re: core.async as a rate-limiter

2014-02-19 Thread Timothy Baldridge
Yes, this pattern is pretty common. Create the timeout first, then do some work, then take from the timeout to wait for the remaining time. Looks good to me. Timothy On Wed, Feb 19, 2014 at 10:27 AM, Kris Jenkins krisajenk...@gmail.comwrote: Hey folks, Can someone sanity check this for me,

'Reduced' and logic functions

2014-02-19 Thread Niels van Klaveren
Currently, *and* and *or *are implemented as macro's, and cannot be used in *apply *or as function parameters. Related functions like *every?* and *some* are implemented either on the basis of *or* or recursion over lazy sequences. These choices were made because they all need to be able to

Re: core.async as a rate-limiter

2014-02-19 Thread Kris Jenkins
Thanks very much. :-D On Wednesday, 19 February 2014 17:43:16 UTC, tbc++ wrote: Yes, this pattern is pretty common. Create the timeout first, then do some work, then take from the timeout to wait for the remaining time. Looks good to me. Timothy On Wed, Feb 19, 2014 at 10:27 AM, Kris

Re: Is it possible to get Clojure files in Spotlight search?

2014-02-19 Thread Stephen Gilardi
I'm aware of one Mac application that declares to OS X that it handles Clojure source files: Light Table http://www.lighttable.com/. In its info.plist, Light Table declares .clj .cljs and .edn to map to Document Type Name Clojure Source and marks itself as the default Editor for them.

Re: 'Reduced' and logic functions

2014-02-19 Thread Ben Wolfson
On Wed, Feb 19, 2014 at 10:02 AM, Niels van Klaveren niels.vanklave...@gmail.com wrote: Currently, *and* and *or *are implemented as macro's, and cannot be used in *apply *or as function parameters. Related functions like *every?* and *some* are implemented either on the basis of *or* or

Re: Hiring Clojure developers for our distributed team at Outpace Systems

2014-02-19 Thread Paul Stadig
On Wednesday, February 19, 2014 10:50:54 AM UTC-5, Michael Klishin wrote: Paul, I believe last time candidates from non-US timezones were not considered. Is it still the case? I'm pretty sure plenty of potential candidates on this list care to know. We like to be able to pair (this is

Re: Hiring Clojure developers for our distributed team at Outpace Systems

2014-02-19 Thread ethan
Hi Paul- I am very interested. Right now I work in IT mainly for financial firms. For the last two + years I have been in professional services setting up monitoring for trading systems and infrastructure. This involves light programming and scripting. I have been learning Clojure on my own. You

Namespace Problems org-mode/org-babel

2014-02-19 Thread Volker Strobel
Hi, I'm trying to use org-mode with clojure. However, my problem is, that all functions are evaluated in the 'user' namespace. Basically, I have something like this: #+BEGIN_SRC clojure (ns environment.my-test (:gen-class) (:require [clojure.java.io :refer :all])) #+END_SRC #+RESULTS: :

Defining test cases at runtime

2014-02-19 Thread John Wiseman
I think I'd like to be able to define test cases at run-time. For example, I have some data files that define the tests I want to run (tuples of [program input, class name, program output]). I've looked at clojure.test and midje but they only seem to have macro interfaces to their testing

Re: Do you recommend the book: Web Development with Clojure

2014-02-19 Thread Erlis Vidal
Thanks for the suggestions. Ton of good information in a couple of emails. On Wed, Feb 19, 2014 at 11:35 AM, Manuel Paccagnella manuel.paccagne...@gmail.com wrote: My perspective: I'm reading that book and seems good so far but I'm not a complete newbie and I've already used Clojure for

Re: Is it possible to get Clojure files in Spotlight search?

2014-02-19 Thread John Wiseman
I've written a Spotlight plugin that indexes Common Lisp code and lets you search by function, variable, class, etc.: https://web.archive.org/web/20101125184356/http://lemonodor.com/archives/001232.html The source code for the plugin is in the .dmg file linked from that blog post, and it might be

[ANN] webnf -- a clojure web non-framework [v0.0.various]

2014-02-19 Thread Herwig Hochleitner
I finally managed to OpenSource the various pieces of code that I carry around from project to project. I have split it into several leiningen projects, you can find them at https://github.com/webnf/webnf The main premise of this thing is that it's a'la carte and that webnf is a good name for an

[ANN] Gorilla REPL initial release (0.1.2)

2014-02-19 Thread Jony Hudson
Hi All, I'm pleased to announce the first release of Gorilla REPL, a rich REPL in the notebook style: https://github.com/JonyEpsilon/gorilla-repl From the README: You can think of it like a pretty REPL that can plot graphs, or you can think of it as an editor for rich documents that can

Re: Defining test cases at runtime

2014-02-19 Thread Stuart Sierra
On Wednesday, February 19, 2014 2:14:52 PM UTC-5, John Wiseman wrote: I think I'd like to be able to define test cases at run-time. For example, I have some data files that define the tests I want to run (tuples of [program input, class name, program output]). I've looked at clojure.test and

Job - clojure development at commodities hedge fund

2014-02-19 Thread Patrik Sundberg
Hi, We're a commodities hedge fund with most of our infrastructure being developed in-house using a clojure stack. Think clojure, datomic, immutant, pallet, looking at some UI ideas using LightTable and/or Om. If that sounds like your kind of thing and you want to join a small hard working

Re: Do you recommend the book: Web Development with Clojure

2014-02-19 Thread dcwhatthe
I've accepted that no book will help me, to learn a new language. There are always show-stoppers (unexpected errors) with the tools that a book recommends, including Lighttable or the Intellij La Clojure plugin or just about all the others, except for Clooj (so far). If I (using myself as

Re: [ANN] Gorilla REPL initial release (0.1.2)

2014-02-19 Thread Patrik Sundberg
This is awesome. In my head I've been planing something similar to this for a while now. In my head it's the ideal kind of UI for a power-user not scared of writing small scripts to get their work done while not losing visual output and feedback. More recently I was thinking of it as a

Re: Is it possible to get Clojure files in Spotlight search?

2014-02-19 Thread John Wiseman
For easier access, I put the source code of my indexer at https://github.com/wiseman/lisp-spotlight-indexer I'd happily accept pull requests updating it and adding Clojure indexing, or maybe someone will just find the code to be a useful starting point for something new. On Wed, Feb 19, 2014

Re: Namespace Problems org-mode/org-babel

2014-02-19 Thread Volker Strobel
I should mention, that I use cider and followd the instructions on this page for the setup: http://orgmode.org/worg/org-contrib/babel/languages/ob-doc-clojure.html -- You received this message because you are subscribed to the Google Groups Clojure group. To post to this group, send

Re: [ANN] Gorilla REPL initial release (0.1.2)

2014-02-19 Thread Devin Walters
I've spent a bit of time with Julia lately and I found the Julia notebook via ipython to be really nice. I really appreciate all the work you've put into this and am looking forward to trying it out! Great announcement, btw. It's nice to have clear action items to go along with the

Closing open files when with-open was not used, possibly useful gist.

2014-02-19 Thread Dave Tenny
I'm posting this on the off chance it's useful to those of you writing REPL shell tools or I/O abstractions (e.g. java's NIO.2 DirectoryStream wrappers) that might benefit from a close-when-GC'd backstop. For example, clj-nio2 has a nice little lazy directory sequence function: (defn-

Re: Defining test cases at runtime

2014-02-19 Thread Brian Marick
On Feb 19, 2014, at 1:14 PM, John Wiseman jjwise...@gmail.com wrote: Or the equivalent using midje instead of clojure.test I realize the difference between the two seems small, but conceptually the latter does more closely match what I'm doing and generates slightly more useful output

Re: [ANN] Gorilla REPL initial release (0.1.2)

2014-02-19 Thread Jeff Rose
Hey, this looks really great, and if it could be made easily extensible I think it could gain a lot of traction. From a quick glance I have a couple thoughts: * Clojurescript!!! Why do all this work in Javascript? This is a project made for clojurescript, core.async, and maybe Om. - To

Re: pretty-exception middleware for ring

2014-02-19 Thread Joel Holdbrooks
This is another fantastic idea. I'd definitely love to expand on this technique. Great work! On Thursday, February 13, 2014 8:39:58 AM UTC-8, bob wrote: Hey, a simple exception middle-ware for ring, maybe useful for some,maybe none. it catch exceptions and print, meanwhile the source code

cdoc, lein, profiles.clj, strange behavior

2014-02-19 Thread Dave Tenny
I'm trying to figure out some strange behavior ensuring that 'cdoc' is always available in my user namespace. I have in my ~/.lein/profiles.clj this block: {:user {:dependencies [[jdt 0.1.0-SNAPSHOT] ;jdt.* [org.clojure/tools.trace 0.7.6]

Re: Do you recommend the book: Web Development with Clojure

2014-02-19 Thread Mark Engelberg
It's certainly not comprehensive, but it's a nice little overview of ring and luminus development. -- 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

Re: Do you recommend the book: Web Development with Clojure

2014-02-19 Thread Earl Jenkins
Like others have said it's not a beginners book, you definitely need to have learned clojure through another resource or maybe at the same time if your brain will allow. I will say it's worth the buy, currently there aren't many web development books for clojure which cover topics for someone

Re: ANN: om-sync

2014-02-19 Thread Dave Della Costa
It's not clear to me that the server side should be tied to Om specifically. It seems like the requirement is more to have a server component that can pass messages / state changes in a generic way to clients (probably using core.async channels, with the ability to use websockets etc. as the

Re: ANN: om-sync

2014-02-19 Thread Mikera
On Thursday, 20 February 2014 13:56:29 UTC+8, David Della Costa wrote: It's not clear to me that the server side should be tied to Om specifically. It seems like the requirement is more to have a server component that can pass messages / state changes in a generic way to clients

Re: [ANN] Gorilla REPL initial release (0.1.2)

2014-02-19 Thread Mikera
This looks great - congrats! I think it would be very useful to integrate core.matrix array types. This gives a number of advantages: - Multi-dimensional array data for plotting / analysis - Lots of array programming operations handy for data manipulation and analysis - Incanter integration

Re: [ANN] Gorilla REPL initial release (0.1.2)

2014-02-19 Thread Alan Thompson
Hey - tried to play the video with Chrome/Fedora, and no go! Got any other formats available? Alan On Wed, Feb 19, 2014 at 1:23 PM, Jony Hudson jonyepsi...@gmail.com wrote: Hi All, I'm pleased to announce the first release of Gorilla REPL, a rich REPL in the notebook style:

Re: [ANN] Gorilla REPL initial release (0.1.2)

2014-02-19 Thread Fabian Page
Very nice project! I can save but not load a worksheet on my machine. (OS X, Chrome) If somebody else has the same problem i can open an issue on github. Fabian Am 19.02.2014 um 22:23 schrieb Jony Hudson jonyepsi...@gmail.com: Hi All, I'm pleased to announce the first release of Gorilla