FAQ

Search Discussions

238 discussions - 1,291 posts

  • I have a sequence of file names and I want to make them unique. (uniquify ["a" "b" "c" "a"]) = ["a" "b" "c" "a_1"]) This is what I have come up with, but surely there is a better way? What would you ...
    Colin YatesColin Yates
    Jan 10, 2014 at 2:59 pm
    Jan 11, 2014 at 4:20 pm
  • I have recently moved most of my work to Clojure and Clojurescript but neither of these implementations seem suitable for non-http scripting, for which I currently use Ruby. So, you can imagine my ...
    GvimGvim
    Jan 4, 2014 at 2:43 pm
    Jan 9, 2014 at 3:31 am
  • Hey Folks, We did a big release today which includes a lot of love for Clojure! We also released all the source to Light Table, which has to be one of the largest full ClojureScript applications out ...
    Chris GrangerChris Granger
    Jan 8, 2014 at 6:20 pm
    Jan 9, 2014 at 7:57 pm
  • OpenHatch has this great initiative<https://openhatch.org/wiki/Bug_trackers for encouraging newcomers to get involved with open source projects. You tag some issues in your bug tracker as "newcomer" ...
    BridgetBridget
    Jan 25, 2014 at 7:08 pm
    Apr 16, 2014 at 7:26 am
  • A few minor simplifications to the Om model in this release. A breaking change if you were using om.core/bind, om.core/pure-bind or om.core/read - these complications have been removed. There's also ...
    David NolenDavid Nolen
    Jan 25, 2014 at 12:16 am
    Jan 29, 2014 at 2:05 am
  • Hi, I apologize for my vague question. Does anyone have a good example / blog / library for using the core.async abstraction across a websocket. * one side of the channel is in clojure land * other ...
    T xT x
    Jan 23, 2014 at 7:39 am
    Feb 21, 2014 at 5:40 pm
  • [image: Alt text]<https://github.com/xfeep/nginx-clojure/blob/master/logo.png Nginx-Clojure is a Nginx <http://nginx.org/ module for embedding Clojure or Java programs, typically those ...
    Xfeep ZhangXfeep Zhang
    Jan 9, 2014 at 3:45 pm
    Jan 22, 2014 at 12:42 am
  • ## What I believe should be right: ** case 1: ( ! on-closed-channel val) == exception thrown or ** case 2: ( ! open-channel val) == returns val ( ! closed-channel val) == returns nil ## race ...
    T xT x
    Jan 23, 2014 at 8:00 am
    Jan 24, 2014 at 8:34 pm
  • Hi, Is it possible to add type hint (the type is protocol) to funs? for example: (defprotocol IProtocol (f1 [])) can we define fn like this? (defn ftest [^IProtocol arg] (.toString arg)) -- -- You ...
    BobBob
    Jan 12, 2014 at 12:38 pm
    Jan 12, 2014 at 3:05 pm
  • I have +10 years experience of OO programming (C++, C# and a little Java) and a couple of years of FP programming (mainly F#, some Scala and a little Haskell). Are there any resources for learning ...
    Christian jacobsenChristian jacobsen
    Jan 10, 2014 at 2:20 pm
    Jan 11, 2014 at 10:24 pm
  • Is it likely that a typical Clojure development environment: - LightTable instarepl - Luminus web app running within `lein ring server` .... will consume significantly more battery power than a ...
    GvimGvim
    Jan 20, 2014 at 2:52 am
    Jan 26, 2014 at 5:05 am
  • Hi, I can’t get auto-completion or jumping to the definition of a function in Emacs, while working with ClojureScript. Is this a limitation of Emacs’ Cider <https://github.com/clojure-emacs/cider ...
    Alexandru NedelcuAlexandru Nedelcu
    Jan 5, 2014 at 8:31 pm
    Jan 25, 2014 at 12:29 am
  • I've been investigating how to handle configuration in a Clojure application/library, and have discovered two main candidates: dynamics vars and argument passing. The downsides to dynamic vars seem ...
    James TrunkJames Trunk
    Jan 13, 2014 at 1:50 pm
    Jan 18, 2014 at 1:18 am
  • clojure-objc is a clojure compiler that generates java(instead of bytecode) and uses j2objc(https://code.google.com/p/j2objc/) to translate it to objc. Goals * Write iOS and MacOS apps in clojure * ...
    Gal DolberGal Dolber
    Jan 24, 2014 at 6:37 am
    Jan 27, 2014 at 3:26 pm
  • Hi, I have the following problem: (ns foo.bar ... ... ... ) There's basically 10 lines of require that I want as part of nearly _every_ ns I declare is there a way to define some soft of alias / ...
    T xT x
    Jan 22, 2014 at 7:15 am
    Jan 24, 2014 at 12:38 pm
  • Trying to use org mode with clojure. I'd like to use cider as the REPL server. Things is fine if I have only one statement in org source block. If I have more than one, then I got exception. for ...
    Rui YangRui Yang
    Jan 23, 2014 at 9:25 am
    Feb 2, 2014 at 10:29 pm
  • Still finding my way around Clojure... sorry if this is trivial. I am using core.async to implement a queue for a collection of workers that pull jobs and complete them (there may be multiple ...
    Paul ViolaPaul Viola
    Jan 16, 2014 at 11:33 pm
    Jan 21, 2014 at 7:04 pm
  • Just started using this and I see the argslist caveat that causes Eastwood to misdiagnose :wrong-arity (the readme specifies java.jdbc 0.3.x but it also gets tripped up by congomongo). Can you (Andy ...
    Sean Corfield (Clojure)Sean Corfield (Clojure)
    Jan 13, 2014 at 7:36 pm
    Jan 14, 2014 at 8:37 am
  • Consider the really slow fib function: (defn fib [n] (if (< n 2) n (+ (fib (dec n)) (fib (- n 2))))) Now, let's say I want to compute the fib of some number n and timeout and return nil if it takes ...
    Mark EngelbergMark Engelberg
    Jan 22, 2014 at 7:52 am
    Jan 22, 2014 at 10:18 pm
  • Today I'm releasing play-clj <https://github.com/oakes/play-clj , a Clojure wrapper for LibGDX that allows you to write games for desktop OSes, Android, and iOS from the same Clojure codebase. The ...
    Zach OakesZach Oakes
    Jan 20, 2014 at 3:38 pm
    Jan 21, 2014 at 2:45 pm
  • Hello all, I've found myself stuck trying to move matching keys in a hash into a nested hash. For example,: {:a--id 1 :a--name "A" :b--id 2 :b--name "B"} ;= {:a {:id 1 :name "A"} :b {:id 2 :name ...
    James Conroy-FinnJames Conroy-Finn
    Jan 16, 2014 at 1:48 pm
    Jan 16, 2014 at 3:01 pm
  • On OS X Mountain Lion I just compared the memory footprint of 3 out-of-the-box web apps in these frameworks: Clojure/Luminus: 152Mb (JVM) + 186Mb (main) = 338Mb Ruby/Rails: 62Mb Elixir ...
    GvimGvim
    Jan 9, 2014 at 4:24 am
    Jan 10, 2014 at 12:01 pm
  • Hello, Counterclockwise is an Eclipse Plugin for developing Clojure code. I just released Counterclockwise 0.21.0 Featuring: - General Purpose Leiningen Launcher - User Plugins - Simplified "New ...
    Laurent PETITLaurent PETIT
    Jan 9, 2014 at 6:00 pm
    Jan 10, 2014 at 3:14 am
  • Stasis A Clojure library of tools for developing static web sites. <https://gist.github.com/magnars/32dbca91bdb0987ea4ba#another-static-site-framework-why Another static site framework? Why? Well, ...
    Magnar SveenMagnar Sveen
    Jan 23, 2014 at 10:16 am
    Mar 11, 2014 at 8:37 am
  • Hi, I'm new to clojure and am trying to rename an uploaded file with a unique identifier such as a long time stamp as follows: (defn add-timestamp [filename] (let [ext-position (.lastIndexOf filename ...
    The Dude (Abides)The Dude (Abides)
    Jan 24, 2014 at 10:51 am
    Jan 26, 2014 at 3:29 am
  • Hi all, in the following, set is clojure.set, and r is clojure.core reducers. Why is user (reduce set/intersection (map set [[1 2] [3 1] [1 3]])) #{1} but user (reduce set/intersection (r/map set [[1 ...
    Tassilo HornTassilo Horn
    Jan 24, 2014 at 10:26 am
    Jan 25, 2014 at 12:54 am
  • Clojurians, For some reason JAVA_OPTS are not accessible in my Clojure project. The command line seems to be OK, if I: $ lein repl project-ns = (System/getProperty "javax.net.ssl.keyStore") - ...
    Aidy lewisAidy lewis
    Jan 10, 2014 at 12:42 pm
    Jan 13, 2014 at 12:23 pm
  • Today I released the first version of the tools.analyzer[1] and tools.analyzer.jvm[2] contrib libraries, here are the leiningen coordinates: [org.clojure/tools.analyzer "0.1.0-alpha1"] ...
    Nicola MomettoNicola Mometto
    Jan 11, 2014 at 1:24 am
    May 14, 2014 at 12:37 am
  • Hi all, yesterday Laurent Petit asked me how to run on CCW OM and Austin together to have the same live experience obtained by David Nolen in his OM tutorial. This morning I created this simple ...
    Mimmo CosenzaMimmo Cosenza
    Jan 25, 2014 at 3:34 pm
    May 1, 2014 at 5:07 pm
  • Hi, One thing I miss from pre-Clojure scheme days is as follows: ## What I want 1 = (foo) ;; I'm calling foo at the repl ... foo executes ... ... at some point, an exception is thrown ... 2 = my ...
    T xT x
    Jan 24, 2014 at 11:39 am
    Mar 13, 2014 at 11:24 pm
  • Hello Clojure community, there are already two excellent libraries for reading/writing/manipulating binary data: Zach's Lamina and Clojurewerkz' Buffy for java's ByteBuffers. I would like to offer ...
    SteffenSteffen
    Jan 29, 2014 at 12:32 pm
    Feb 4, 2014 at 10:35 am
  • ANyone have some examples reading a blob column from an oracle db. We have a database with a blob column. A entity can be split acroos multiple rows. If there are multiple rows we need to read anc ...
    Bww00amdahlBww00amdahl
    Jan 27, 2014 at 6:32 am
    Jan 30, 2014 at 6:17 pm
  • New Clojure library "frequencies" https://github.com/stuartsierra/frequencies Basic statistical computations (mean, median, etc.) on **frequency maps**, e.g. the map returned by ...
    Stuart SierraStuart Sierra
    Jan 25, 2014 at 5:40 pm
    Jan 26, 2014 at 11:32 pm
  • Hi, Right now if I do (clojure.edn/read-string ...) on a string with a unreadable part, I get an exception. Instead, I would like to just get nil. For example: ## code (clojure.edn/read-string ...
    T xT x
    Jan 16, 2014 at 8:11 am
    Jan 26, 2014 at 9:32 am
  • Yesql is a simple library for blending SQL queries & Clojure together, cleanly. Here's how it works<https://github.com/krisajenkins/yesql#rationale , and how to use it ...
    Kris JenkinsKris Jenkins
    Jan 7, 2014 at 3:57 pm
    Jan 21, 2014 at 6:49 pm
  • clj-refactor.el Since the last update, there's been lots of activity for clj-refactor.el<https://github.com/magnars/clj-refactor.el . Alex Baranosky <https://github.com/AlexBaranosky and Lars ...
    Magnar SveenMagnar Sveen
    Jan 30, 2014 at 1:13 pm
    Feb 3, 2014 at 3:54 am
  • Hi, With apologies for a soft question: This question is NOT: I'm in a situation where client = cljs, server = clj, and I want to figure out how to setup a core.async channel, using pr-str and ...
    T xT x
    Jan 31, 2014 at 5:43 am
    Feb 1, 2014 at 10:32 am
  • Hi, I need to write a parser for MP4 - essentially, read an MP4 file and create an in-memory representation of its structure. I'd appreciate it very much if I could get some suggestions on libraries ...
    Kashyap CKKashyap CK
    Jan 24, 2014 at 3:08 pm
    Jan 28, 2014 at 4:50 pm
  • I'm processing a large csv with Clojure, honestly not even that big (~18k rows, 11mb). I have a list of exported data from a client and I am de-duplicating URLs within the list. My final output is a ...
    Jarrod SwartJarrod Swart
    Jan 21, 2014 at 6:55 am
    Jan 27, 2014 at 9:50 pm
  • I have a general question about application architecture as it relates to deploying to the server. Most of my previous development work involved python/php/ruby so we typically had: 1. One massive ...
    Jarrod SwartJarrod Swart
    Jan 25, 2014 at 4:58 am
    Jan 26, 2014 at 8:05 pm
  • Regarding Rich's talk (http://www.youtube.com/watch?v=ROor6_NGIWU), can anyone explain the points he's trying to make about self-describing and extensible data formats, with the JSON and google ...
    Brian CraftBrian Craft
    Jan 18, 2014 at 8:00 pm
    Jan 20, 2014 at 3:31 pm
  • Consider the following code block: (defn make-stupid [] (go (loop [] (recur)))) (def x (make-stupid)) ;; ... is there a way to kill this infinite go-loop ? Now, is there a way, using the variable ...
    T xT x
    Jan 14, 2014 at 1:11 am
    Jan 14, 2014 at 9:55 pm
  • I recently took the plunge into learning Clojure and love it. Since I tend to be single-minded/all-or-nothing about these things I'm now finding it very difficult to switch mindset when I have to ...
    GvimGvim
    Jan 14, 2014 at 7:01 pm
    Jan 14, 2014 at 8:53 pm
  • Hi Everyone, I am trying to write some Clojure to process a large (310M) XML file, in doing so, the code seems to consume the heap. I wrote a smaller script to simplify the problem but I have now ...
    Peter UllahPeter Ullah
    Jan 9, 2014 at 10:48 am
    Jan 9, 2014 at 1:28 pm
  • The bean function is a very useful Java interop feature that provides a read-only view of a Java Bean as a Clojure map. As it stands, the function performs introspection on the bean's class whenever ...
    PronPron
    Jan 30, 2014 at 1:35 pm
    Jan 30, 2014 at 4:30 pm
  • Back in 2007 (https://groups.google.com/forum/#!searchin/clojure/mapc/clojure/x0PDu_D6mP0/3A7CZe-ZDWAJ), Henk Boom raised the possibility of including in Clojure a function with syntax like map, but ...
    Mars0iMars0i
    Jan 28, 2014 at 4:28 am
    Jan 28, 2014 at 7:54 pm
  • Hi, ## Question: For a channel, is it possible to put a pre-condition of sorts on a channel? For example: (let [chan (async/chan 100)] (set-pre-condition! chan even?) (put! chan 1) ;; exception ...
    T xT x
    Jan 22, 2014 at 7:27 am
    Jan 22, 2014 at 8:33 pm
  • Hi Daniel, I'm not an expert in security but AFAIK this is not a problem. Every user input is a string and you chose how to parse it. There is a edn reader that is safe, but you can use specific ...
    MynomotoMynomoto
    Jan 22, 2014 at 12:36 am
    Jan 22, 2014 at 3:39 pm
  • http://www.youtube.com/watch?v=ROor6_NGIWU Around 56:28 Rich is talking about whether components pass a data structure, or "an object that has all these verbs and knows how to do stuff ...". Clojure ...
    Brian CraftBrian Craft
    Jan 19, 2014 at 7:55 pm
    Jan 20, 2014 at 4:52 am
  • Hey guys, Those of you working on webapps might find this interesting: http://sritchie.github.io/2014/01/17/api-authentication-with-liberator-and-friend/ Enjoy! -- Sam Ritchie (@sritchie) Paddleguru ...
    Sam RitchieSam Ritchie
    Jan 17, 2014 at 9:27 pm
    Jan 19, 2014 at 10:06 am
Group Navigation
period‹ prev | Jan 2014 | next ›
Group Overview
groupclojure @
categoriesclojure
discussions238
posts1,291
users311
websiteclojure.org
irc#clojure

311 users for January 2014

T x: 83 posts Cedric Greevey: 31 posts Jim - FooBar();: 31 posts Sean Corfield: 28 posts Timothy Baldridge: 28 posts Gvim: 26 posts Jarrod Swart: 26 posts David Nolen: 23 posts Jozef Wagner: 23 posts Mark Engelberg: 22 posts Laurent PETIT: 21 posts Alex Miller: 18 posts Gary Trakhman: 18 posts Mimmo Cosenza: 18 posts Xfeep Zhang: 18 posts Softaddicts: 17 posts Jan Herich: 16 posts Michael Klishin: 15 posts Andy Fingerhut: 14 posts Colin Yates: 14 posts
show more