Search Discussions

142 discussions - 652 posts

  • 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 FlemingColin 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 ...
    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-MeyerDom 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 WesterhofCecil 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 walkerJohn 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 HickeyRich 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 MomettoNicola 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 ...
    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 HansenRobin 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 NechyporchukSerzh 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 groupsLarry 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çgenAtamert Ö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 RichterSven 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 HellerThomas 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 RitchieSam 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 ...
    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 NolenDavid 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 GautamHemant 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 ...
    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) ...
    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 McKitrickJonathon 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 ...
    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 RitchieSam 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 HoutvenLaurens 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 SchmidtKarsten 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 wHenry 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 VetoshevConstantine 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 ...
    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 ...
    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 HansenRobin 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 McKenzieReid 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 RakerSam 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 MudivartiSreeharsha 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 KerstenDaniel 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ünemannMaik 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 SocksMatching 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 YatesColin 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 WesterhofCecil 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 MacDonaldGreg 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 WashingtonTimothy 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 CAndy 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 VisherTim 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 WashingtonTimothy 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 WesterhofCecil 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 TennyDave 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 CraftBrian 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 McKitrickJonathon 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-SergeantAmbrose 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 WongFlea 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 NolenDavid Nolen
    Aug 1, 2014 at 7:38 pm
    Aug 1, 2014 at 9:55 pm
Group Navigation
period‹ prev | Aug 2014 | next ›
Group Overview
groupclojure @

213 users for August 2014

David Nolen: 17 posts Alex Miller: 15 posts Brian Craft: 13 posts Cecil Westerhof: 13 posts Timothy Washington: 13 posts Thomas Heller: 12 posts Colin Fleming: 11 posts Gvim: 11 posts Michael Klishin: 11 posts Sean Corfield: 11 posts Serzh Nechyporchuk: 11 posts Ashton Kemerling: 10 posts James Reeves: 10 posts John walker: 10 posts Dylan Butman: 9 posts Herwig Hochleitner: 9 posts Jonathon McKitrick: 9 posts Sam Ritchie: 9 posts Jozef Wagner: 8 posts Reid McKenzie: 8 posts
show more