FAQ

Search Discussions

97 discussions - 503 posts

  • Introducing clojure.spec I'm happy to introduce today clojure.spec, a new core library and support for data and function specifications in Clojure. Better communication Clojure is a dynamic language, ...
    Rich HickeyRich Hickey
    May 23, 2016 at 2:12 pm
    May 29, 2016 at 6:41 am
  • Clojure 1.9.0-alpha1 is now available. Try it via - Download: https://repo1.maven.org/maven2/org/clojure/clojure/1.9.0-alpha1 - Leiningen: [org.clojure/clojure "1.8.0-alpha2"] 1.9.0-alpha1 includes ...
    Alex MillerAlex Miller
    May 24, 2016 at 5:04 pm
    May 26, 2016 at 5:54 pm
  • I've been doing some performance tests on various floating point operations. In particular, I wanted to check what would be the fastest way to implement a 2-d floating point vector in clojure. Here's ...
    JvJJvJ
    May 12, 2016 at 7:58 pm
    May 13, 2016 at 8:50 pm
  • I'm very much a fan of bailing out early in imperative programming as it helps to avoid a bunch of nested if conditions that are to follow and read. This typically comes up when checking arguments to ...
    John SzakmeisterJohn Szakmeister
    May 26, 2016 at 2:50 pm
    May 27, 2016 at 8:09 pm
  • Clojure 1.9.0-alpha4 is now available. Try it via - Download: https://repo1.maven.org/maven3/org/clojure/clojure/1.9.0-alpha4 - Leiningen: [org.clojure/clojure "1.9.0-alpha4"] 1.9.0-alpha4 includes ...
    Stuart HallowayStuart Halloway
    May 31, 2016 at 3:41 pm
    Jun 4, 2016 at 8:15 pm
  • I've been doing some code profiling lately, and I made one small change that drastically improved performance. I had this function: (defn run-systems "Run the systems in the order specified over the ...
    JvJJvJ
    May 8, 2016 at 10:03 pm
    May 11, 2016 at 3:41 pm
  • I'm encountering a very strange error in some tests. The details are a bit complex, but I'm using type-indexed maps. So, given an object o, the map would be {(type o) o}. When I try to lookup with ...
    JvJJvJ
    May 18, 2016 at 5:31 pm
    May 18, 2016 at 11:04 pm
  • Hi! I have a function f- defined using a local function f which uses a local var v: user (def f- (let [v 1 f (fn [x] v)] f)) ;; = #'user/f- Putting f- in a map user {:d f-} ;; = {:d ...
    JohannesJohannes
    May 4, 2016 at 6:32 pm
    May 8, 2016 at 2:56 pm
  • My next problem with .cljc (which is going very very well overall!) has to do with macros. Should I mention that I am building under Figwheel? This toolchain stuff has this old Lisper's head ...
    HiskennynessHiskennyness
    May 20, 2016 at 5:34 pm
    May 27, 2016 at 3:33 pm
  • Hello Everyone, Just wanted to let you know that we started a new podcast about Clojure: https://defn.audio We published our first episode and plan to release a new one every two weeks. It is ...
    Vijay KiranVijay Kiran
    May 19, 2016 at 5:43 am
    May 23, 2016 at 10:15 am
  • My copy of CCW 0.28.0_STABLE001 has mysteriously grown a bug. My guess is it's an incompatibility with the Java version I have. I've kept the latter up to date, but not the former. The problem occurs ...
    Fluid DynamicsFluid Dynamics
    May 4, 2016 at 4:26 am
    May 5, 2016 at 3:54 am
  • Anyone seriously working on deep learning with Clojure? I'm working with Torch at the day job, and have done work integrating Tensorflow into Clojure, so I'm fairly familiar with the challenges of ...
    Kovas bogutaKovas boguta
    May 30, 2016 at 6:34 pm
    May 31, 2016 at 3:11 pm
  • Whenever I call do-at or do-at*, the result expression is executed immediately instead of at the specified time. specs.core (tm/do-at* (- 30 tm/seconds tm/from-now) (fn [] (println "SUP"))) SUP ;; = ...
    JvJJvJ
    May 20, 2016 at 2:52 am
    May 20, 2016 at 5:07 pm
  • I'm implementing a data structure with persistent and transient implementations. (Code is here: https://github.com/JvJ/cross-map/blob/master/src/cross_map/core.cljc#L446). When I try to convert a ...
    JvJJvJ
    May 9, 2016 at 2:21 am
    May 9, 2016 at 8:28 pm
  • Specter is a library for querying and transforming nested data structures concisely and efficiently. The 0.11.0 release is a huge milestone that implements something which for the better part of the ...
    Nathan MarzNathan Marz
    May 31, 2016 at 2:57 pm
    Jun 2, 2016 at 8:51 am
  • qooxdoo lets us supply oft-used widget parameters to the constructor. For example, a button can specify its label and icon at new time. And this works fine from cljs: (new qx.ui.mobile.form.Button ...
    HiskennynessHiskennyness
    May 27, 2016 at 5:24 pm
    May 31, 2016 at 6:26 pm
  • Hello, I am getting a reflection warning in Java interop and don’t understand why: (import 'java.time.format.DateTimeFormatterBuilder 'java.time.temporal.ChronoField) (set! *warn-on-reflection* true) ...
    676c7473676c7473
    May 16, 2016 at 12:15 pm
    May 16, 2016 at 6:29 pm
  • I have some time constraints, and need to figure out why an import script is hogging so much memory and crapping out on Heroku. What tools would you recommend that would (a) give useful information ...
    Jonathon McKitrickJonathon McKitrick
    May 3, 2016 at 6:20 pm
    May 4, 2016 at 12:08 pm
  • I just starting to try and teach myself Clojure. Kindly let me know if there is a more appropriate place I should post simple questions. (def s '(1 1 1 4 99) (take-while #(= (first s) %) s) ; works ...
    Phil VirgoPhil Virgo
    May 24, 2016 at 1:10 am
    May 24, 2016 at 2:13 am
  • Hello, We are working on a new feature in CIDER which would parse a docstring and create hyperlinks that follow the functions/vars/interop-forms mentioned there. It is very similar to the "See Also" ...
    CskkscCskksc
    May 15, 2016 at 5:42 pm
    May 16, 2016 at 2:32 pm
  • This does what I want but feels nooby-ish, as in "in a month I will do this without APPLY": (let [raw (list :a 1 :b 2 :c 3)] Am I being too hard on myself? Meta question: is there a better place to ...
    HiskennynessHiskennyness
    May 12, 2016 at 7:46 am
    May 13, 2016 at 1:10 am
  • I'm trying to generate logical predicates in order to test a function that should return the predicate in DNF. The generation seems to be biased towards one of the predicates. What am I doing wrong? ...
    Jeroen van DijkJeroen van Dijk
    May 30, 2016 at 9:05 pm
    Jun 1, 2016 at 3:04 pm
  • I would expect the returned set to be #{1 2 3} but i get the following. Copied from repl user= (set [1 1 2 2 3 3]) #{1 3 2} user= (set '(1 1 2 3 2 4 5 5)) #{1 4 3 2 5} -- You received this message ...
    James NaadjieJames Naadjie
    May 31, 2016 at 12:56 pm
    May 31, 2016 at 3:18 pm
  • Hey guys, First of all I would like to ask some thing. In clojure the following statements results in: (identical? "foo" (str "f" "oo")) ;;= false ;;= true Everything is ok with that. The next one on ...
    Camilo RocaCamilo Roca
    May 27, 2016 at 11:30 am
    May 29, 2016 at 12:57 am
  • I do not understand something this example: https://clojuredocs.org/clojure.core/merge#example-54c7b859e4b0e2ac61831cdf Specifically: (defn baz [& options] IIANM, that throws away all but the first ...
    HiskennynessHiskennyness
    May 12, 2016 at 6:45 am
    May 13, 2016 at 5:59 pm
  • I've noticed that, in Clojure, there is a MapEntry type that supports the operations "key" and "val", but in Clojurescript, MapEntry is replaced by simple 2-element vectors. Furthermore, 2-element ...
    JvJJvJ
    May 4, 2016 at 4:44 pm
    May 5, 2016 at 5:17 am
  • Hi Everybody, I have tried to connect to infobrite server using clojure.java.jdbc . Infobrite server is supposed to be identical to mysql in terms of the protocol. I have successfully used ...
    Sunil S NandihalliSunil S Nandihalli
    May 2, 2016 at 7:18 am
    May 3, 2016 at 2:24 pm
  • I am working on a Clojure/Java stack, where the Java layer uses Vert.x to manage a collection of embedded computers and the Clojure layer would allow interaction with this system dynamically. I am ...
    Patrick MartinPatrick Martin
    May 2, 2016 at 12:28 am
    May 2, 2016 at 11:55 am
  • Hi folks, I just came across http://samsung.github.io/jerryscript/ , which Samsung apparently open-sourced last fall. Jerryscript is a bit of a misnomer, its not a language but a JS engine designed ...
    Gregg ReynoldsGregg Reynolds
    May 27, 2016 at 4:33 pm
    Jun 1, 2016 at 12:03 am
  • run! can eagerly map a function over a coll. I think it would be nice to support multiple collections, making it an eager version of map. My particular use case is running a test over two colls ...
    Claudius NicolaeClaudius Nicolae
    May 29, 2016 at 8:27 pm
    May 29, 2016 at 9:05 pm
  • Hi, I’m working on caesium[1], Clojure bindings for libsodium using jnr-ffi. Up until recently, I was able to stick to byte arrays for all APIs; but I’ve started writing new nonce-misuse resistant ...
    LvhLvh
    May 21, 2016 at 9:57 pm
    May 23, 2016 at 1:26 pm
  • For some time I've noticed that certain exception are not printing a stacktrace when they occur in 'lein repl'. They just print a oneliner like: ArityException Wrong number of args (3) passed to ...
    Elric ErkoseElric Erkose
    May 19, 2016 at 9:18 pm
    May 20, 2016 at 4:33 am
  • I know it's a minor concern. This can be accomplished by a simple reader conditional and System/currentTimeMillis in cljc, but is there any reason that core/system-time is not in standard clojure? I ...
    JvJJvJ
    May 19, 2016 at 6:23 pm
    May 20, 2016 at 1:02 am
  • Hi everybody, I am trying to call function "parquet" on the var "inp-rdr-s". From the following reflection output using clojure.reflect, it is clear that the method parquet exists. However I am ...
    Sunil S NandihalliSunil S Nandihalli
    May 13, 2016 at 4:26 am
    May 13, 2016 at 4:56 am
  • At Clojurewest 2016, Matthias Felleisen gave a great keynote about the pragmatism of soundness for maintening large code bases. He mentioned that adding type gradually was useful, but only when the ...
    DidierDidier
    May 9, 2016 at 9:36 pm
    May 9, 2016 at 10:44 pm
  • Hello, There is much I like about Clojure - from it being a Lisp dialect to functional programming. I know it runs on the JVM. My question is this: If one is not a guru with Java will that be a ...
    Bruce WhealtonBruce Whealton
    May 4, 2016 at 2:54 pm
    May 4, 2016 at 7:36 pm
  • Has anyone gotten it to work lately by building it from scratch? And by from scratch, I mean using the instructions on cljsrn.org? The natal how-to's end up with an error. And the Awesome project ...
    Mark StangMark Stang
    May 29, 2016 at 1:19 am
    May 29, 2016 at 7:15 pm
  • Hey all, I don't have a lot of experience with clojure but I did write a few small services in clojure. Until now the state of the services I wrote were static so I constructed a system map (more or ...
    BabysnakesBabysnakes
    May 28, 2016 at 6:16 pm
    May 29, 2016 at 12:10 pm
  • Last week was supposed to be a port from a Clojure version to a CLJS version but for the heck of it I did it all in CLJC and (OMG) I now have my cherished little project running either way ...
    HiskennynessHiskennyness
    May 24, 2016 at 4:24 pm
    May 27, 2016 at 12:15 am
  • Clojure 1.9.0-alpha3 is now available. Try it via - Download: https://repo1.maven.org/maven3/org/clojure/clojure/1.9.0-alpha3 - Leiningen: [org.clojure/clojure "1.9.0-alpha3"] 1.9.0-alpha3 includes ...
    Alex MillerAlex Miller
    May 26, 2016 at 2:05 pm
    May 26, 2016 at 3:11 pm
  • Hello all, I have problem on handle many lazy sequence, (try (for [x [1 2 3 "b"]] (for [n [1 2 3 4]] (+ x n))) (catch Throwable e (pr-str e))) When i handle but error not in catch. Any solution ? ...
    Khairul isanKhairul isan
    May 19, 2016 at 11:50 am
    May 25, 2016 at 1:39 am
  • hi Everyone, es7 async/await makes javascript easily understandable, and avoid the callback hell. can clojure have one library like this? scala version is here https://github.com/scala/async ...
    Xiangtao ZhouXiangtao Zhou
    May 23, 2016 at 1:07 pm
    May 23, 2016 at 1:39 pm
  • Hi, Suppose I have a namespace that has some ns-level side effect, e.g. `(def atom {})`. 1. When is that executed? How often? (I think, from observation, that the answer is “when it is first ...
    LvhLvh
    May 22, 2016 at 3:01 pm
    May 22, 2016 at 3:48 pm
  • I see here https://github.com/clojure/clojurescript/wiki/Differences-from-Clojure that "Atoms work as in Clojure.", but I think I see a difference: 1. I am using a custom type hierarchy in a ...
    HiskennynessHiskennyness
    May 20, 2016 at 4:22 pm
    May 20, 2016 at 4:56 pm
  • http://clojurecl.uncomplicate.org https://www.reddit.com/r/Clojure/comments/4jtqhm/clojurecl_gpu_programming_now_works_on_linux/ ClojureCL is a library for OpenCL high-performance numerical computing ...
    Dragan DjuricDragan Djuric
    May 17, 2016 at 11:37 pm
    May 20, 2016 at 7:48 am
  • I'm having an issue where :default catch blocks are not working in clojurescript when in a go block. The following code prints "a str" as expected: (prn (try (throw "a str") (catch :default e e ))) ...
    CameronCameron
    May 15, 2016 at 4:31 am
    May 16, 2016 at 9:18 pm
  • Hi all, The next version of system 0.3.0 is ready and it is a matter of days before the official announcement. In the meantime, here is a summary of the research that has been carried around the ...
    Daniel SzmulewiczDaniel Szmulewicz
    May 12, 2016 at 12:13 am
    May 16, 2016 at 9:39 am
  • Hi all. I am happy to announce the first public release of funcool/struct validation library. https://github.com/funcool/struct Why an other? I have started on my project using well know and very ...
    Andrey AntukhAndrey Antukh
    May 3, 2016 at 6:11 am
    May 5, 2016 at 7:31 am
  • I've been using cider test, and I think it's great. However, I would like to know if it's possible to report results so that they appear in cider's automatically-generated test report. Does anyone ...
    JvJJvJ
    May 3, 2016 at 3:29 am
    May 3, 2016 at 4:12 am
  • I'm working through "Clojure for the Brave and True." Right now I'm focused on Java interop, in particular creating a simple Java package and accessing it from Clojure. My applicable directory ...
    Michael RiceMichael Rice
    May 16, 2016 at 2:51 pm
    Jun 1, 2016 at 11:06 pm
Group Navigation
period‹ prev | May 2016 | next ›
Group Overview
groupclojure @
categoriesclojure
discussions97
posts503
users170
websiteclojure.org
irc#clojure

170 users for May 2016

Alex Miller: 58 posts JvJ: 41 posts Rich Hickey: 21 posts Sean Corfield: 20 posts : 17 posts Hiskennyness: 17 posts Fluid Dynamics: 10 posts Nicola Mometto: 10 posts Alan Thompson: 9 posts Ambrose Bonnaire-Sergeant: 9 posts Gary Trakhman: 9 posts Timothy Baldridge: 9 posts James Reeves: 8 posts Mark Engelberg: 8 posts John Szakmeister: 7 posts Sunil S Nandihalli: 7 posts Kovas boguta: 6 posts Leif: 6 posts Johannes: 5 posts Kevin Downey: 5 posts
show more