Search Discussions
-
Hi all, I want to use a map to cache values based on a key. I'm planning to use an atom for this. My basic operation is "give me the value for this key" - if the value exists in the map then that ...
Colin Fleming
Aug 30, 2014 at 5:26 am
Sep 2, 2014 at 1:24 pm -
Is Clojure a suitable language for a company that needs to grow quickly? If a company wants to be able to hire staff and get them up to speed, as well as have options for bringing in contractors and ...
Aboy021
Aug 20, 2014 at 10:37 am
Aug 21, 2014 at 5:13 pm -
I have recently been experimenting with isomorphic Clojure and ClojureScript architecture ...
Dom Kiva-Meyer
Aug 5, 2014 at 3:04 am
Oct 14, 2014 at 5:37 pm -
I am far from an expert on Clojure, but I am thinking about giving a talk about it on an Open Source event. Any tips about what to treat and what not to treat? I will have about 45 minutes. -- Cecil ...
Cecil Westerhof
Aug 21, 2014 at 10:06 am
Aug 25, 2014 at 5:38 pm -
Hello everyone. This is a lein plugin that helps you add dependencies to projects pretty quickly. The git repo is here: https://github.com/johnwalker/lein-plz Basically, you write something like ...
John walker
Aug 17, 2014 at 12:19 am
Aug 26, 2014 at 4:39 am -
I pushed today the initial work on transducers. I describe transducers briefly in this blog post: http://blog.cognitect.com/blog/2014/8/6/transducers-are-coming This work builds on the work done for ...
Rich Hickey
Aug 6, 2014 at 6:01 pm
Aug 31, 2014 at 8:29 pm -
As some of you might know, I've been working contiuously on my various tools.* contrib libraries for the past months and I've recently added tools.analyzer.js to the list of contrib libraries I ...
Nicola Mometto
Aug 13, 2014 at 4:54 pm
Sep 8, 2014 at 2:45 pm -
I'm trying to write an EE schematic capture program in clojure. I'd like to be able to define a prototype component, say a resistor with value=10k, then be able to instantiate that many times, with ...
MS
Aug 10, 2014 at 6:36 pm
Aug 12, 2014 at 7:25 am -
Just read this blog post about Oxen (http://arrdem.com/2014/08/05/of_oxen,_carts_and_ordering/?utm_source=dlvr.it&utm_medium=twitter). In it is mentioned that Rich is re-introducing invokeStatic to ...
Robin Heggelund Hansen
Aug 6, 2014 at 10:54 am
Aug 7, 2014 at 1:57 am -
Hi, guys I've just googled about clojure production environments and found nothing about it. I want to ask what environments for production do you use (e.g. application server, cloud platform, deploy ...
Serzh Nechyporchuk
Aug 20, 2014 at 7:52 am
Aug 20, 2014 at 4:59 pm -
Please forgive this stupid question, but I'm still trying to understand exactly what the double "::" means. I have read that I can use (derive) to establish a hierarchy and I can imagine how this ...
Larry google groups
Aug 9, 2014 at 5:46 pm
Aug 10, 2014 at 10:59 pm -
Obviously I can't. But I need to add this capability to an object. During testing I attach meta to this object that contains an atom. Then I pass this object to other functions, known in runtime. I ...
Atamert Ölçgen
Aug 30, 2014 at 3:15 am
Sep 1, 2014 at 3:17 pm -
Hi, I am trying to integrate Stuarts component library into my application. I am not sure if I use it correctly or do something else wrong or just have a wrong mindset. So I will explain how I am ...
Sven Richter
Aug 8, 2014 at 11:16 am
Aug 11, 2014 at 7:19 am -
Hey Clojure Folk, I'm close to releasing the first alpha version of https://github.com/thheller/shadow-pgsql a "native" interface to PostgreSQL I wrote. Its an implementation of the native binary ...
Thomas Heller
Aug 21, 2014 at 6:00 pm
Oct 17, 2014 at 10:01 am -
This release adds a bunch of new active components - notably, dropdown buttons, split dropdown buttons and a navbar. The navbar allowed me to beef up the doc site with a proper navbar, more pages and ...
Sam Ritchie
Aug 27, 2014 at 7:05 pm
Sep 21, 2014 at 4:39 pm -
Hi All, Prasant and Aleksandr have been working all summer making Clojure even better for data science / numerical computing. On behalf of myself and my co-mentor Alex Ott I want to offer ...
Mikera
Aug 25, 2014 at 6:15 am
Aug 27, 2014 at 4:56 pm -
ClojureScript, the Clojure compiler that emits JavaScript source code. README and source code: https://github.com/clojure/clojurescript New release version: 0.0-2301 Leiningen dependency ...
David Nolen
Aug 7, 2014 at 9:08 pm
Aug 11, 2014 at 2:49 pm -
I am new to Clojure, I am currently at Beginner level. While trying to run small programs, I found that I can load a file having duplicate code. Let me explain it with example. This is the code (ns ...
Hemant Gautam
Aug 27, 2014 at 2:16 pm
Aug 28, 2014 at 6:48 am -
I can't work out why this code produces an exception: (defn fints [& args] (assert (every? integer? args)) (vec args)) (defn testf [x] (fints x)) (testf 42) IllegalStateException Attempting to call ...
Gvim
Aug 21, 2014 at 8:04 am
Aug 22, 2014 at 12:00 pm -
When I use alts!, it seems that both the put and :default action run every time. I've included the code sample below: (let [inner-chan (async/chan (async/buffer 1000)) mult (async/mult inner-chan) ...
Dgrnbrg
Aug 14, 2014 at 4:03 pm
Aug 16, 2014 at 2:08 am -
First, the code: (ns pts.server (:use [compojure.core]) (:require [ring.adapter.jetty :as jetty] [ring.util.response :as response] [compojure.handler :as handler] [compojure.route :as route] ...
Jonathon McKitrick
Aug 6, 2014 at 11:21 am
Aug 7, 2014 at 11:25 am -
I have a long function which produces `list-of-lists` : (("Sun" "21" "li" "13" "201.2139410") ("Moon" "11" "le" "21" "131.3457459") ......) .... before entering a list comprehension (simplified for ...
Gvim
Aug 30, 2014 at 1:47 pm
Aug 30, 2014 at 5:05 pm -
Hey all, I wanted to share a library I've been putting together for writing Bootstrap 3 components in Om. It's called, creatively, Om-Bootstrap. Here's the git repository ...
Sam Ritchie
Aug 25, 2014 at 1:13 am
Aug 29, 2014 at 11:36 am -
Hi Clojurers, I'm writing a capability system with Clojure. Make a request to a URL, it grabs the "plan" for what it should do from the database. A plan consists (eventually) of atomic "steps" ...
Laurens Van Houtven
Aug 22, 2014 at 4:30 pm
Aug 25, 2014 at 10:24 pm -
Hi fellow Clojurians, it's my absolute pleasure to finally announce the open source release of an art project I've been working on full-time since beginning of the year: DevArt Co(de)Factory is a ...
Karsten Schmidt
Aug 20, 2014 at 12:31 pm
Aug 23, 2014 at 11:59 am -
My team inherited a large java code base which over time will be replaced in parts and maybe completely by clojure. One Clojure capability we wanted to get straight away was use of the REPL. but.. ...
Henry w
Aug 13, 2014 at 3:47 pm
Aug 16, 2014 at 8:23 pm -
The JVM does not make using environment variables easy or convenient. The environ <https://github.com/weavejester/environ library took a step in the right direction by abstracting away the ...
Constantine Vetoshev
Aug 13, 2014 at 6:10 pm
Aug 15, 2014 at 6:56 pm -
Hello, I am trying to add URLs contained in a text file (eg. apple.com, ibm.com...), to a global vector called url2, but to no avail, the vector remains empty. Any suggestions would be greatly ...
Phiroc
Aug 14, 2014 at 4:33 pm
Aug 15, 2014 at 6:41 am -
Hello; We are looking for Clojure success stories within the US Government. If you have a success story you'd be willing to share, this may counter or help resolve objections to the EPL license that ...
Rcg
Aug 9, 2014 at 12:54 am
Aug 11, 2014 at 6:31 pm -
Hi. I'm starting a new project now, where users are presented with a set of boardgames (chess, checkers, othello...) which they then can play together online. Does it make sense to implement the game ...
Robin Heggelund Hansen
Aug 9, 2014 at 10:51 am
Aug 11, 2014 at 1:33 pm -
For those of you who didn't notice the ten minutes of 500 pages as I upgraded, I'm delighted to announce the Grimoire's 3rd release! This version would not have been possible without Robert ...
Reid McKenzie
Aug 1, 2014 at 9:07 pm
Aug 2, 2014 at 1:50 pm -
I worked my way through *Clojure Programming* (Emerick, Carper, & Grand, O'Reilly), and I've started writing my own Clojure (porting over an unfinished Python project that seemed amenable to the ...
Sam Raker
Aug 30, 2014 at 12:14 am
Aug 31, 2014 at 1:13 pm -
(defn foo[] (println bar/baz)) (defn car[] (println 42)) --- java -cp ~/clojure/clojure-1.6.0.jar clojure.main foo.clj Exception in thread "main" java.lang.RuntimeException: No such namespace: bar, ...
Sreeharsha Mudivarti
Aug 29, 2014 at 5:56 pm
Aug 31, 2014 at 7:57 am -
Hi, I'm trying programmatically close a connected sente connection (either on the server or the client). Is this possible? Thanks, Dan. -- You received this message because you are subscribed to the ...
Daniel Kersten
Aug 24, 2014 at 5:07 pm
Aug 25, 2014 at 7:45 am -
Hi, is there a recommended way to do complex arithmetic in clojure ? I am interested to see clojure going forward for scientific computing purposes. There is already considerable effort going on with ...
Maik Schünemann
Aug 15, 2014 at 3:24 pm
Aug 16, 2014 at 9:56 pm -
Using Org Mode's org-babel-execute-src-block, I ran into "Symbol's definition is void: nrepl-send-string-sync" after installing a recent update of the cider package from Melpa. cider-eval-sync ...
Matching Socks
Aug 10, 2014 at 8:51 pm
Aug 13, 2014 at 6:29 am -
Hi, tldr; if I have a (defrecord MyRecord) in ns a.b.c and I have a string "a.b.c.MyRecord" how I can invoke (a.b.c.MyRecord.) (or (new a.b.c.MyRecord)? I thought this was going to be as simple as ...
Colin Yates
Aug 6, 2014 at 10:37 am
Aug 6, 2014 at 11:46 am -
I wanted to play again with Clojure. ;-) I wanted to test the random generator. For this I wrote: (def intArr (make-array Integer 10)) (for [i (range 10)] (aset intArr i (int 0))) (for [i (range ...
Cecil Westerhof
Aug 5, 2014 at 3:40 pm
Aug 6, 2014 at 10:18 am -
Hi Everyone, Does anyone know the status of clojure streams is? I would like to try them out but I can't find the svn repository mentioned on the website: http://clojure.org/streams. Thx! -Greg -- ...
Greg MacDonald
Aug 29, 2014 at 6:59 pm
Sep 4, 2014 at 10:24 am -
Ok, So I'm trying to write a leiningen plugin that takes some namespace arguments. Let's call it *<myplugin *. This is a brand new plugin, so everything else is empty, and this value is present ...
Timothy Washington
Aug 31, 2014 at 9:03 pm
Sep 2, 2014 at 3:36 am -
Hi, I was wondering what is the nicest way to do filter-not in Clojure. Here are 3 expressions: user= (filter #(apply = %) '([1 2] [1 1])) ([1 1]) user= (filter #(apply not= %) '([1 2] [1 1])) ([1 ...
Andy C
Aug 21, 2014 at 8:01 pm
Aug 29, 2014 at 3:30 am -
Anyone else get this error? 🐈 lein repl Downloading Leiningen to /Users/tim/.lein/self-installs/leiningen-2.4.3-standalone.jar now... % Total % Received % Xferd Average Speed Time Time Time Current ...
Tim Visher
Aug 28, 2014 at 3:29 pm
Aug 28, 2014 at 6:33 pm -
I'm trying to use Automat to map out transitions that are either of the paths below. - There can be many claims sent to an external service. Each claim, after being sent, can be :acknowledged or ...
Timothy Washington
Aug 26, 2014 at 6:41 pm
Aug 27, 2014 at 3:07 pm -
There are a lot of good (or so I am told) CLISP books. For example: “Paradigms Of Artificial Intelligence Programming Case Studies In Common Lisp”. Would they be useful for learning Clojure, or is ...
Cecil Westerhof
Aug 24, 2014 at 10:48 am
Aug 24, 2014 at 9:34 pm -
Well, it took me a while to perhaps get what you were telling me here. In my case I I had something like (defn foo [ & {:keys [bar ... more keys ...] :or {bar 1}} ] ...) and I wanted to know whether ...
Dave Tenny
Aug 17, 2014 at 12:05 pm
Aug 18, 2014 at 2:42 pm -
I need to run a tool while building docs which is distributed as a jar file, and is run with "java -jar". Not sure the best way to do this. lein can fetch the jar if I add it to dev dependencies, but ...
Brian Craft
Aug 13, 2014 at 8:53 pm
Aug 14, 2014 at 3:45 pm -
I'm serving up some html and js content, and using handler/site for that. I have a separate handler/api group of routes under the "/api" context. If I include the api routes before the site routes, ...
Jonathon McKitrick
Aug 7, 2014 at 12:17 pm
Aug 8, 2014 at 3:21 pm -
Hi, core.cache 0.6.4 is released with various bug fixes and improvements. [org.clojure/core.cache "0.6.4"] Readme <https://github.com/clojure/core.cache Changelog ...
Ambrose Bonnaire-Sergeant
Aug 6, 2014 at 3:48 am
Aug 6, 2014 at 9:28 am -
i'm a clojure newbie and am pretty thoroughly confused by defprotocol, inline implementation and extend-type i have the following two small files: crecords.tproc & crecrods.trec listed below: *A) ...
Flea Wong
Aug 1, 2014 at 4:38 am
Aug 4, 2014 at 12:55 am -
I'm happy to announce Om 0.7.0. The biggest change is depending on ClojureScript 0.0-2277 and React 0.11.1. There's a breaking change around the :ctor option to om.core/root which is now renamed ...
David Nolen
Aug 1, 2014 at 7:38 pm
Aug 1, 2014 at 9:55 pm
Group Overview
group | clojure |
categories | clojure |
discussions | 142 |
posts | 652 |
users | 213 |
website | clojure.org |
irc | #clojure |
213 users for August 2014
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)