Search Discussions

140 discussions - 689 posts

  • Hello All, I encountered the following behavior in Clojure 1.6 and wanted to check if it should be considered a bug or not. I would say yes but wanted to double check on the list first. Here's a ...
    Michael O'KeefeMichael O'Keefe
    Jul 24, 2014 at 10:56 pm
    Jul 27, 2014 at 4:25 am
  • Development and support seem to have slowed down. Are there newer or better choices out there with momentum right now? -- You received this message because you are subscribed to the Google Groups ...
    Jonathon McKitrickJonathon McKitrick
    Jul 22, 2014 at 12:10 pm
    Jul 25, 2014 at 1:48 pm
  • Hey guys, If you're like me while using clojure.repl/doc works for the most part there are just times that you need to send someone a link to the official docs and navigating the docstrings in the ...
    Reid McKenzieReid McKenzie
    Jul 1, 2014 at 11:34 pm
    Jul 12, 2014 at 6:27 pm
  • Hey guys, I ran into this last night when trying to port some ancient JS in our project over to cljs. I was defining an om component called "users-typeahead", and in the (did-mount ...) ...
    Sam RitchieSam Ritchie
    Jul 31, 2014 at 1:42 pm
    Aug 4, 2014 at 11:08 pm
  • I'm very new to continuation passing style (CPS), and as part of the learning process I've done a CPS version of a "flatten" function. Ie, it does the same thing as the standard clojure "flatten", ...
    Mark PMark P
    Jul 15, 2014 at 7:13 am
    Jul 18, 2014 at 7:03 am
  • = (empty [:foo 5]) [] = (first (mapv identity {:foo 5})) [:foo 5] = (empty (first (mapv identity {:foo 5}))) nil What just happened there? Is this expected? In the second and third cases the type of ...
    Brian CraftBrian Craft
    Jul 18, 2014 at 9:45 am
    Jul 20, 2014 at 6:20 am
  • ClojureScript, the Clojure compiler that emits JavaScript source code. README and source code: https://github.com/clojure/clojurescript New release version: 0.0-2277 Leiningen dependency ...
    David NolenDavid Nolen
    Jul 25, 2014 at 6:36 pm
    Jul 30, 2014 at 9:31 pm
  • When a function returns a true/false value you should end it with a '?'. Clojure Programming says that with side effects you should end the function name with a '!'. I have functions reset-game! and ...
    Cecil WesterhofCecil Westerhof
    Jul 10, 2014 at 3:28 pm
    Jul 11, 2014 at 7:28 pm
  • Hi, I tried to create the function below in a Lighttable instarepl. In lieu of any better idea for formatting, the < statements below indicate instarepl output. (defn avged ([x] ((def sumed (reduce + ...
    Stephen FeyrerStephen Feyrer
    Jul 10, 2014 at 12:48 am
    Jul 13, 2014 at 12:05 am
  • So I've got something strange happening. I have a function (play, see below) which I spin off in a separate thread: (future (play {:black black-strategy :white white-strategy} :black)) The weird ...
    Jul 14, 2014 at 10:25 am
    Jul 15, 2014 at 2:15 pm
  • In Clojure you can define a local constant with let, but I need a variable (I think). I want to do the following. I have a function that checks several things. Every time an error is found I want to ...
    Cecil WesterhofCecil Westerhof
    Jul 8, 2014 at 1:40 pm
    Jul 9, 2014 at 7:51 am
  • Hi all, I'm using [com.taoensso/sente "0.15.1" <https://github.com/ptaoussanis/sente ], and having trouble connecting the client to the server. I'm sure it's something simple, but not obvious, as ...
    Timothy WashingtonTimothy Washington
    Jul 26, 2014 at 4:34 am
    Aug 1, 2014 at 10:25 pm
  • Hi, I tried replacing a closure with a dynamically built and evaluated metafunction but discovered that it was actually slower. Here's a minimal example: (defn f1 [x] (fn [y ] (= x y ))) (defn f2 [x] ...
    Pascal GermrothPascal Germroth
    Jul 2, 2014 at 10:19 pm
    Jul 4, 2014 at 6:20 pm
  • I received the book land of lisp as a gift. I am trying to translate it to Clojure. In chapter 5 there is a text game engine. In the attachment my translation. What do you think of it? There are a ...
    Cecil WesterhofCecil Westerhof
    Jul 8, 2014 at 11:49 pm
    Jul 12, 2014 at 9:37 am
  • If I call: (System/getenv "MY_VAR") ;= nil From bash set | grep MY_VAR ;= foo echo $MY_VAR' ;= foo I can do this from bash, as well as my tmux session. I use tmuxinator to launch a repl and vim, thus ...
    Jarrod SwartJarrod Swart
    Jul 7, 2014 at 6:45 pm
    Jul 8, 2014 at 3:38 pm
  • Hi, it seems than clojars is down. Lein refuses to start, and apparently it won't download jars from maven central either... Am I the only one with this problem? -- You received this message because ...
    Yves ParèsYves Parès
    Jul 29, 2014 at 12:42 pm
    Aug 5, 2014 at 7:20 pm
  • Hi everyone, Announcing system, some candy built on top of component, the Reloaded pattern by Stuart Sierra. https://github.com/danielsz/system The idea behind this library is to serve as a ...
    Daniel SzmulewiczDaniel Szmulewicz
    Jul 29, 2014 at 6:00 am
    Aug 5, 2014 at 3:27 pm
  • New to Clojure, how is this function that I wrote? Any suggestions for improvement; is it too complicated? It filters a sequence, leaving only the first occurrence of each item in the seq that has a ...
    Christopher ElwellChristopher Elwell
    Jul 25, 2014 at 9:46 pm
    Jul 30, 2014 at 2:31 am
  • When you have: (def object-locations { 'whiskey 'living-room 'bucket 'living-room 'chain 'garden 'frog 'garden 'dummy 'nowhere 'test 'nowhere }) You can retrieve the location of the bucket with ...
    Cecil WesterhofCecil Westerhof
    Jul 9, 2014 at 1:48 pm
    Jul 9, 2014 at 3:58 pm
  • my-fn takes a number and a string as argument and outputs a string. I am using map-indexed and my-fn to comprehend a list of items with numbered index as follows, (map-indexed (fn [idx itm] (my-fn ...
    Glen RubinGlen Rubin
    Jul 7, 2014 at 9:49 pm
    Jul 9, 2014 at 4:44 am
  • I have been deploying the same project to clojars for quite a while now(5 months?); for some reason it decided it no longer wanted to work. After giving my pass phrase I get "peer not ...
    Jacob GoodsonJacob Goodson
    Jul 2, 2014 at 6:55 pm
    Jul 5, 2014 at 7:10 pm
  • Hi all, just nit picking about Clojure's String API. I've been comparing it with Java's <http://www.tutorialspoint.com/java/java_strings.htm , and I noticed that (not surprisingly) they are very ...
    Pierre MasciPierre Masci
    Jul 19, 2014 at 10:58 am
    Aug 1, 2014 at 10:39 am
  • I'm trying to write a function that takes (up to) 4 arguments. I want to be able to supply every argument positionally, with a keyword or as a default, so that (f) (f 1) (f 1 2) (f 1 2 3) (f 1 2 3 4) ...
    Sam RakerSam Raker
    Jul 20, 2014 at 11:13 pm
    Jul 21, 2014 at 2:17 pm
  • In need of a way to breakpoint in java code, I decided to look at intellij. I tried the directions here: http://wiki.jetbrains.net/intellij/Getting_started_with_La_Clojure which don't work. When ...
    Brian CraftBrian Craft
    Jul 14, 2014 at 1:35 am
    Jul 15, 2014 at 12:29 am
  • Hi, I have various general questions about how one can perform simple and flexible graph query/update. If we start by a structure being nested maps then I know about get-in/update-in/assoc-in. The ...
    Bertrand DechouxBertrand Dechoux
    Jul 10, 2014 at 8:26 am
    Jul 11, 2014 at 3:15 pm
  • I am new to clojure and finding it great.. :) I came across a paper - Why functional programming matters ? at www.cs.kent.ac.uk/people/staff/dat/miranda/whyfp90.pdf to quote it : "This paper is also ...
    Ashish NegiAshish Negi
    Jul 8, 2014 at 1:14 pm
    Jul 9, 2014 at 10:32 am
  • I had code that looked like this: (let [{count :count data :data} (fetch-data) real-count (count data)]) As you can see, I was inadvertently redefining the 'count' symbol, and then tried to use the ...
    Meel VellisteMeel Velliste
    Jul 30, 2014 at 4:48 pm
    Jul 31, 2014 at 8:41 am
  • I'm attempting to proxy PersistentHashmap so that "get"ting an existing key or its reverse returns the same value. Here's the code that I have (defn sym-key-hash-map [] (proxy ...
    Geoff LittleGeoff Little
    Jul 25, 2014 at 1:36 pm
    Jul 26, 2014 at 12:11 am
  • In my project.clj I include two jar files: :resource-paths ["resources/exterior_jars/forssj-optimization.jar" "resources/exterior_jars/umontreal-ssj-2.5.jar"] In my main.clj I import some objects ...
    Yura PerovYura Perov
    Jul 23, 2014 at 2:53 pm
    Jul 25, 2014 at 4:02 pm
  • A new option for test purposes is included in JDK 1.7.0_40 and up and is called Java Mission Control. It is located in the JDK as /bin/jmc.exe. With it you can connect to a local java process, or ...
    Niels van KlaverenNiels van Klaveren
    Jul 1, 2014 at 11:10 am
    Jul 3, 2014 at 10:47 am
  • Emacs users: I have put together a namespace browser which builds upon the existing functionality of Cider. It is in early stages of development but I find it quite useful. Check it out! ...
    John AndrewsJohn Andrews
    Jul 28, 2014 at 2:48 am
    Aug 4, 2014 at 9:35 pm
  • hi is there something similar to http://clojurescriptone.com/ that actually works? unfortunately one is failing on 3rd command from tutorial which is 'lein bootstrap'. id appreciate some good ...
    Paweł RozynekPaweł Rozynek
    Jul 31, 2014 at 10:27 am
    Aug 1, 2014 at 9:57 am
  • I've encountered two subtle but serious problems using om with core.async. The first one is illustrated by this code: https://github.com/akhudek/om-async-error First, one obvious solution here is to ...
    Alexander HudekAlexander Hudek
    Jul 23, 2014 at 11:19 pm
    Jul 28, 2014 at 5:11 pm
  • Hi, I'm learning about tools to help me debug from the REPL, and I found these two with the same name: clojure.stacktrace/root-cause clojure.repl/root-cause For a very simple case (wrong arity), they ...
    Pierre MasciPierre Masci
    Jul 21, 2014 at 11:30 am
    Jul 24, 2014 at 11:07 pm
  • I’m looking to recruit a senior software engineer in London to work with Clojure, ClojureScript, React/Reagent, Docker, and a bunch of other equally interesting technologies. We’re not necessarily ...
    Paul ButcherPaul Butcher
    Jul 24, 2014 at 9:45 am
    Jul 24, 2014 at 12:42 pm
  • Hello, I am living in Poland and i have a little problem there... totally 0 jobs for Clojure Programmers. I am also beginner in Clojure. More about my IT skills you can read on site ...
    Krzysztof WładykaKrzysztof Władyka
    Jul 20, 2014 at 3:33 pm
    Jul 22, 2014 at 4:52 pm
  • I'm trying to write a little macro that expands to a 'defn'. macroexpand-1 yields the following on the macro invocation: (clojure.core/defn foo [& args14168] (clojure.core/let [[x] ...
    Dave TennyDave Tenny
    Jul 20, 2014 at 3:20 pm
    Jul 22, 2014 at 9:17 am
  • Hi, I would like to schedule updates to a state machine (eg. move each second to a new state and do something) and I will have potentially 10.000+ of these state machines. Ideally I would like to do ...
    Jul 17, 2014 at 10:40 am
    Jul 22, 2014 at 12:56 am
  • Trying to eliminate a reflection warning, I put a type hint on a function, like (defn foo ^PStatement [] ...) which compiles without the reflection warnings, but at run time I get ClassCastException ...
    Brian CraftBrian Craft
    Jul 16, 2014 at 11:21 pm
    Jul 17, 2014 at 6:28 am
  • Is there any documentation or do you have thoughts on choosing between using multimethods vs case? I assume they both do constant time dispatch. -- You received this message because you are ...
    Elric ErkoseElric Erkose
    Jul 8, 2014 at 8:29 pm
    Jul 10, 2014 at 8:14 pm
  • when i run lein install lein install Compiling zilch.mq Exception in thread "main" java.io.FileNotFoundException: Could not locate zilch/mq__init.class or zilch/mq.clj on classpath: at ...
    Jul 8, 2014 at 11:48 am
    Jul 8, 2014 at 9:56 pm
  • I'm reading "Cloujure in Action" as an introduction to Clojure and, although, I understand a keyword can be used as a function I don't understand the difference between: (ns ...
    Jul 3, 2014 at 5:11 pm
    Jul 3, 2014 at 7:30 pm
  • Hi all, Are there any good tools for measuring the health of a Clojure codebase? What is even useful to measure for Clojure? Afferent/efferent coupling, cyclomatic complexity and unit test coverage ...
    Chris FordChris Ford
    Jul 1, 2014 at 8:53 pm
    Jul 2, 2014 at 5:41 pm
  • Hello. I have a problems using code with futures. For example, if I run following code: java -jar clojure-1.6.0.jar -e "(println 1)" the process prints 1 and terminates. But when I'm trying to run ...
    Serzh NechyporchukSerzh Nechyporchuk
    Jul 30, 2014 at 7:33 pm
    Aug 20, 2014 at 8:24 am
  • I'm trying the latest *clojure* and *core.async* releases on a fresh project (lein new thing). (defproject thing "0.1.0-SNAPSHOT" :description "FIXME: write description" ... :dependencies ...
    Timothy WashingtonTimothy Washington
    Jul 31, 2014 at 5:29 pm
    Jul 31, 2014 at 10:59 pm
  • Is there any good way to use timbre in a project with java libs, e.g. c3p0, that use java logging APIs? Java logging is such a hopeless muddle I don't pretend to understand it, but my impression is ...
    Brian CraftBrian Craft
    Jul 22, 2014 at 10:17 pm
    Jul 30, 2014 at 5:08 pm
  • Oops - I originally sent this to the ClojureScript group, which probably wasn’t the best place. Apologies to those who subscribe to both lists for the spam: I’m clearly misunderstanding something ...
    Paul ButcherPaul Butcher
    Jul 28, 2014 at 1:45 pm
    Jul 29, 2014 at 2:30 pm
  • Hello, I am trying to tidy up a project and I have two actions that could be somehow be automatized. *1) Display the dependencies between the namespace of my project as a graph (text graph being good ...
    Bertrand DechouxBertrand Dechoux
    Jul 28, 2014 at 11:58 am
    Jul 29, 2014 at 7:34 am
  • Hi All, it's my pleasure to announce a new version of Gorilla REPL, v0.3.1. The focus of this release has been usability and taking off some of the rough edges. This version is now much friendlier to ...
    Jony HudsonJony Hudson
    Jul 23, 2014 at 8:10 pm
    Jul 27, 2014 at 10:39 am
  • Backstory: I modified the cljs.repl/repl to instead of pulling characters from *in*, but to use core.async channels, and to <!! on an input-channel. When an input is received, a StringReader with the ...
    Brent MillareBrent Millare
    Jul 19, 2014 at 2:40 pm
    Jul 25, 2014 at 1:42 pm
Group Navigation
period‹ prev | Jul 2014 | next ›
Group Overview
groupclojure @

225 users for July 2014

Cecil Westerhof: 27 posts Andy Fingerhut: 19 posts Colin Fleming: 18 posts Ambrose Bonnaire-Sergeant: 17 posts Thomas Heller: 14 posts Jonathon McKitrick: 13 posts Mike Fikes: 13 posts Brian Craft: 12 posts James Reeves: 12 posts David Nolen: 11 posts Michael Klishin: 11 posts Sean Corfield: 11 posts Timothy Baldridge: 11 posts Mark Phillips: 10 posts Reid McKenzie: 10 posts Jony Hudson: 9 posts Mark Engelberg: 9 posts Pierre Masci: 9 posts Adrian Medina: 8 posts Edward: 8 posts
show more