Search Discussions
-
Hi there I'm writing a talk about Clojure in the real world and I would like to know, if possible, which companies are using Clojure for production or to make internal tools. Thank you Plínio ...
Plínio Balduino
Jun 10, 2013 at 9:48 pm
Jun 20, 2013 at 2:14 pm -
Hi, I'm a bit curious to know in what OS do you code. Do you prefer iOS, Linux, Windows? Why is that? Because the tools? The environment? Thanks! -- -- You received this message because you are ...
Erlis Vidal
Jun 14, 2013 at 1:47 pm
Jun 18, 2013 at 6:44 pm -
Test2 is a new testing lib for Clojure, where the power is its simplicity, extensibility, and a SPEC<https://github.com/evanescence/test2/blob/master/SPEC.md much like Ring's. Github ...
Steven Degutis
Jun 8, 2013 at 3:14 pm
Jun 13, 2013 at 4:37 pm -
Hi. I've been working with people at Prismatic to optimize some simple math code in Clojure. However, it seems that Clojure generates an unnecessary type check that slows our (otherwise-optimized) ...
Leon Barrett
Jun 13, 2013 at 7:03 pm
Jul 3, 2013 at 9:33 am -
27
core.async
I've blogged a bit about the new core.async library: http://clojure.com/blog/2013/06/28/clojure-core-async-channels.html Please try it out. Thanks, Rich -- -- You received this message because you ...Rich Hickey
Jun 28, 2013 at 7:06 pm
Jul 7, 2013 at 8:04 am -
Folks, I've been doing Clojure coding for the last couple of weeks and really love the language... and the community is fantastic. But the development cycle is slow. I'm coming from mostly Scala and ...
David Pollak
Jun 4, 2013 at 8:51 pm
Jun 6, 2013 at 6:06 pm -
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" and it will display its own source code ...
Andrea Chiavazza
Jun 4, 2013 at 8:13 pm
Jun 6, 2013 at 11:11 am -
Hi all, Today, primarily for my own edification, I've been implementing as many Microsoft Reactive Extensions operators as I can using core.async. The results have been *spectacular*. core.async is ...
Brandon Bloom
Jun 30, 2013 at 9:27 pm
Jul 3, 2013 at 1:55 am -
Hey folks, What'c considered more idiomatic when having multiple, optional arguments? (defn foo1 [a b & args] (let [opts (apply hash-map args] ...)) or (defn foo2 [a b opts] ...) Cheers, Omer -- -- ...
Omer Iqbal
Jun 18, 2013 at 5:26 am
Jun 18, 2013 at 7:07 pm -
Hello all, I am trying to implement database migrations with Clojure. So far I have been looking at Drift (https://github.com/macourtney/drift) as a candidate for implementing this. My question is, ...
Reginald Choudari
Jun 14, 2013 at 4:24 pm
Feb 27, 2014 at 11:45 pm -
Hi, trying (require '[clojure.core.reducers :as r]) at the repl prompt the error message CompilerException java.lang.ClassNotFoundException: jsr166y.ForkJoinPool, ...
Johannes
Jun 16, 2013 at 8:08 pm
Jul 24, 2013 at 6:43 am -
Hi all, Am working on a linux terminal with the REPL (as in lein repl) and the C-y binding does not work (yank-command, or paste). I miss it a lot. Any idas what I'm missing?. lein --version ...
Manuel Sugawara
Jun 26, 2013 at 10:35 pm
Jul 1, 2013 at 8:12 pm -
Hi, I'm fairly new to Clojure and need help with a problem. The following function always returns nil, whereas it should return the value of "line" (which is not nil - I've tested). (defn ...
Jay C
Jun 21, 2013 at 11:45 am
Jun 21, 2013 at 2:36 pm -
I'm new to Clojure, but with some lisp experience, I've dabbled in Scheme for a few years. Used Racket earlier this year for a couple of sectoins of a MOOC. And occasionally write Emacs lisp. The ...
Shannon Severance
Jun 11, 2013 at 1:31 am
Jun 18, 2013 at 10:04 pm -
Why do the languages running on the CLR (ironRuby, ironPython, ironScheme, ScalaCLR) do not get to live long enough in the sunshine, whereas same languages get embraced by the Java runtime, and live ...
Zed Becker
Jun 6, 2013 at 6:55 am
Jun 7, 2013 at 8:59 pm -
I want to deploy a small web app - serving mostly static content. I'm using Luminus (http://www.luminusweb.net/) - which is quite neat in the way it builds itself from well-known components. I'm ...
Ravindra Jaju
Jun 29, 2013 at 2:47 pm
Jun 30, 2013 at 7:33 am -
I'm using pprint to write out a map to a file then trying to read it back in using clojure.edn/read (I also get the same error using read). Here is the output (it's a map that was created by the ...
Dave Kincaid
Jun 30, 2013 at 12:17 am
Jun 30, 2013 at 2:20 am -
Hi all, I am doing some (naive and trivial) performance tests before deciding whether and how to use Clojure for some performance critical number cruching and I wanted help understanding the ...
Colin Yates
Jun 21, 2013 at 12:36 pm
Jun 21, 2013 at 4:39 pm -
10
Graph API
Hello, I want to create a graph API similar to what core.matrix is for matrices. I have created some protocols which every graph implementation has to satisfy and a prototype implementation. Now I ...Stephen Kockentiedt
Jun 17, 2013 at 7:38 pm
Jun 19, 2013 at 2:50 pm -
Hi all, I was recently trying to find some applications written in Clojure that are meant for end users. The aim was to find those that would be interesting to a user even though the user does not ...
Wolodja Wentland
Jun 13, 2013 at 9:01 am
Jun 14, 2013 at 8:56 am -
Hi all, can anyone explain why these 2 are different given the same protocol (the only difference is the swapped ordering)? (defprotocol FOO (bar [this a] [this a b]) ) (extend-protocol FOO ;;THIS ...
Jim - FooBar();
Jun 13, 2013 at 3:29 pm
Jun 13, 2013 at 8:14 pm -
Hi all, From time to time I have need for one or two extra hands (or, would that be pairs of hands?) on larger projects. Specifically, am looking for Clojure developers that'd be interested in ...
Peter Taoussanis
Jun 3, 2013 at 11:38 am
Aug 11, 2014 at 1:54 pm -
Folks, Is there an offline package of Clojure docs (the full core.* api docs, cheat sheets, etc.)? I'm traveling with intermittent Internet connectivity (I'm in China now and it's marginal but I'm ...
David Pollak
Jun 30, 2013 at 11:44 pm
Nov 24, 2013 at 6:22 am -
Hey Folks, We've just released the 0.1.9 versions of the Pedestal libraries. This release is mostly bug fixes and usability improvements. Notable changes include better change reporting for nil/falsy ...
Ryan Neufeld
Jun 14, 2013 at 6:43 pm
Jul 4, 2013 at 11:16 am -
What, precisely, happens if two threads sharing a reference to a single lazy sequence try to realize the same element at the same time? If the sequence is completely pure and deterministic, so any ...
Cedric Greevey
Jun 24, 2013 at 9:48 pm
Jun 25, 2013 at 5:21 am -
hi, i'm trying to compiler a clojure file using intellij. the error i get is: Clojure Compiler: java.io.IOException: The system cannot find the path specified, compiling:(D:\cloj\MultiMethod.clj:3) ...
Dennis Haupt
Jun 22, 2013 at 2:09 pm
Jun 23, 2013 at 8:46 pm -
Hi all, It seems to me that return type-hints can go either right after "defn", or after the doc-string. I generally, put the return type-hints right before the argument vector and it seems to get ...
Jim - FooBar();
Jun 17, 2013 at 11:59 am
Jun 17, 2013 at 6:46 pm -
Hi I try to compile a file that generate a class with gen-class that include class name at different places in the file here is a simplified version of the problem: lein init test-gen then edit the ...
Armel Esnault
Jun 12, 2013 at 7:39 am
Jun 12, 2013 at 4:43 pm -
Hi, I am trying to write a function to extract words from a file that are four characters or more, and nine characters or less. Many words could appear on a single line, so the implementation needs ...
Steven D. Arnold
Jun 8, 2013 at 4:53 am
Jun 11, 2013 at 2:00 pm -
I often need to do this when writing hiccup helper functions: (defn my-widget [& args] (let [attrs (if (map? (first args)) (first args) {}) contents (if (map? (first args)) (next args) args)] ... I ...
Alice
Jun 3, 2013 at 5:22 pm
Jun 7, 2013 at 5:11 pm -
Hi all, am toying around with the thought of generating core.logic queries dynamically. However, I'm stuck at square one since all the core.logic functions are macros and am not sure how to refer to ...
Karsten Schmidt
Jun 21, 2013 at 3:28 pm
Jun 22, 2013 at 6:35 am -
Hi there ; How do i implement the following in clojure while((entry = stream.getNextEntry())!=null) { System.out.println(entry.getName()); } NOTE: calling getNextEntry moves the curse to the next ...
Josh Kamau
Jun 13, 2013 at 5:20 pm
Jun 14, 2013 at 6:45 am -
expectations* has always had a decent amount of documentation; however, it's traditionally been in the form of blog entries. I spent a bit of time and converted those entries into the following ...
Jay Fields
Jun 11, 2013 at 6:39 pm
Jun 12, 2013 at 3:08 pm -
Hi, I struggling to find a way to alter a value in a map that resides in a vector. Given I have the following (def result (ref [ { :id 1 :emails { "<span class="m_body_email_addr" ...
Yinka Erinle
Jun 3, 2013 at 8:16 pm
Jun 12, 2013 at 8:46 am -
After suffer xml or properties configuration for long time, I'm looking for a new configuration solution for Clojure or Java. I hope below features, priority from high to low: 1. readable format and ...
Mingqi
Jun 17, 2013 at 7:53 am
Jul 9, 2013 at 8:01 pm -
(clojure.string/join "\n" [ "this" "is" "multiline" "sting" ]) ;produces "this\nis\nmultiline\nsting" ;) -- -- You received this message because you are subscribed to the Google Groups "Clojure" ...
Daniel Kwiecinski
Jun 29, 2013 at 11:14 am
Jul 5, 2013 at 5:04 pm -
Hi. So I wanted to see how easy it would be to implement core.async on top of Pulsar. It turned out to be quite trivial, but the exercise shows the different approaches of the two projects. First, ...
Pron
Jun 30, 2013 at 9:42 pm
Jul 3, 2013 at 2:02 am -
Hi all, I'm having a problem where a definline'd function is not working when used as a predicate for filtering. It seems to work sporadically - occasionally it works, occasionally it doesn't. I'm ...
Colin Fleming
Jun 20, 2013 at 9:35 am
Jun 27, 2013 at 6:34 am -
Hi, I am new to clojure and I am trying to reimplement some optimization code that uses gradient descent. I have attached the source to this post. My experience with gradient descent is in Matlab, ...
P Martin
Jun 21, 2013 at 8:06 pm
Jun 24, 2013 at 3:53 pm -
hi, i was taking a look at multimethods: (defmulti fac int) (defmethod fac 1 [_] 1) (defmethod fac :default [n] (*' n (fac (dec n)))) this works however, this also works: (defmulti fac print) ...
Dennis Haupt
Jun 22, 2013 at 1:35 pm
Jun 22, 2013 at 2:46 pm -
Hi again, I'm finding that (r/foldcat (r/map f coll)) is consistently slower than a simple mapv, even for a collection of 10,000 elements and more! The fn I'm mapping is a stemming algorithm, not too ...
Jim - FooBar();
Jun 17, 2013 at 1:23 pm
Jun 19, 2013 at 10:43 am -
Hi, My target is to have something like this: (servlet "ArticlesServlet" (do-get [this request response] (println "Get Request")) (do-post [this request response] (println "Post Request"))) I started ...
Hussein B.
Jun 17, 2013 at 8:38 pm
Jun 18, 2013 at 4:30 pm -
Hi, I know we usually use 'proxy' macro when we want to create an instance of a concrete class and override some of its methods. But do we have now a recommended approach? AFAIK, reify only works ...
Hussein B.
Jun 18, 2013 at 7:45 am
Jun 18, 2013 at 3:01 pm -
Hi all, Diffs for clojure code (and lisps in general) can be hard to read. Every time we wrap a form, any lines below are indented. The resulting diff just shows that you've deleted lines and added ...
Moocar
Jun 7, 2013 at 2:31 am
Jun 8, 2013 at 6:48 am -
I've used test.generative[1], data.generators[2], and most recently, simple-check[3] to perform specification-based testing of various libraries for some time now, and now consider such tools ...
Chas Emerick
Jun 6, 2013 at 7:19 pm
Jun 6, 2013 at 11:03 pm -
There is one feature that I really miss from newLISP and seems like it could be a natural extension to Clojure, and that is implicit indexing for lists and arrays. Clojure already has something ...
Greg
Jun 27, 2013 at 3:03 am
Jul 4, 2013 at 1:23 am -
I've recently been trying to pull out useful pieces from some of my more monolithic libraries. The most recent result is 'byte-streams' [1], a library that figures how how to convert between ...
Zach Tellman
Jun 29, 2013 at 5:58 pm
Jul 2, 2013 at 11:51 pm -
Like Lee, I have neither the time nor the skills to maintain and extend Clooj. However, I have been very interested in it since I attended the talk at baclojure some time back. I like many of the ...
Rich Morin
Jun 28, 2013 at 8:53 am
Jul 1, 2013 at 4:13 pm -
Could someone help me decipher the ArityException I'm getting. It's not making sense to me. First here is the exception: ArityException Wrong number of args (1) passed to: lastN$reformat-headers$fn ...
Dave Kincaid
Jun 30, 2013 at 12:09 am
Jun 30, 2013 at 12:44 pm -
Hi, Given a sequence (x1, y1, x2, y2, x3, y3,...) and another (z1, z2, z3, ...) I want to interleave such that I get a sequence (x1, y1, z1, x2, y2, z2, x3, y3, z3, ...) What's the most succinct way ...
Paul Meehan
Jun 27, 2013 at 10:55 am
Jun 28, 2013 at 2:31 am
Group Overview
group | clojure |
categories | clojure |
discussions | 185 |
posts | 1,139 |
users | 307 |
website | clojure.org |
irc | #clojure |
307 users for June 2013
Archives
- June 2016 (304)
- May 2016 (520)
- April 2016 (426)
- March 2016 (421)
- February 2016 (464)
- January 2016 (422)
- December 2015 (359)
- November 2015 (490)
- October 2015 (573)
- September 2015 (476)
- August 2015 (618)
- July 2015 (628)
- June 2015 (700)
- May 2015 (858)
- April 2015 (573)
- March 2015 (751)
- February 2015 (676)
- January 2015 (607)
- December 2014 (677)
- November 2014 (606)
- October 2014 (910)
- September 2014 (733)
- August 2014 (652)
- July 2014 (689)
- June 2014 (66)
- May 2014 (699)
- April 2014 (1,151)
- March 2014 (1,010)
- February 2014 (1,111)
- January 2014 (1,291)
- December 2013 (938)
- November 2013 (1,242)
- October 2013 (874)
- September 2013 (934)
- August 2013 (1,130)
- July 2013 (1,301)
- June 2013 (1,139)
- May 2013 (1,215)
- April 2013 (1,019)
- March 2013 (1,502)
- February 2013 (1,330)
- January 2013 (1,191)
- December 2012 (1,082)
- November 2012 (994)
- October 2012 (1,366)
- September 2012 (946)
- August 2012 (957)
- July 2012 (957)
- June 2012 (1,149)
- May 2012 (1,092)
- April 2012 (1,012)
- March 2012 (1,075)
- February 2012 (859)
- January 2012 (1,077)
- December 2011 (983)
- November 2011 (1,063)
- October 2011 (1,180)
- September 2011 (595)