News

Stack Overflow

Groups

Elastisch [1] is a small, easy to use, feature complete Clojure client for ElasticSearch. 1.1 introduces a few minor feature and one major one: a new native client with the same API as the existing HTTP client. Switching between the two won't be hard! Release notes: [link]

I'm trying to build this project: [link] with "ant" command. It sarts working, but I get this output with errors: Buildfile: C:\Users\Admin\Downloads\clojure-android\clojure-android\build.xml clean: [delete] Deleting directory C:\Users\Admin\Downloads\clojure-android\clojure-

Howdy, I am using clojure.test and have some questions of how to write idiomatic Clojure. This really isn't about testing at all per-se. First - I know about fixtures to get (at least) the same as JUnit's before/after behaviour. My code is a bloomy. You can configure the bloomy and it does different

Hi, I am trying to get clojure-test-mode working in emacs from [link]. I have the nrepl working great, the problem is if I C-c, C-, in a test file then I get the "clojure.lang.Compiler$CompilerException: java.lang.ClassNotFoundException: clojure.test.mode, compiling:(NO_SOURCE_PATH:1:1)

Hi all, If the function executed in a future throws an error it is printed out in the repl immediately. If that function is executed in a future which itself is executed in a future then it isn't. For example, imagine somebody wrote the following code (please, suspend belief and just accept people do do this when learning Clojure :)):

Hey guys, Given some recent work I've been doing with RxJS [1], I ended up writing a small Clojurescript wrapper for it. The idea of being familiar with a common API in multiple environments (Java, Javascript and Clojurescript) is what triggered this approach. The README contains sample snippets and a link to an example app, as well

Hi, For reasons I cant quite fathom, "lein cljsbuild" generates "Symbol X is not a protocol" warning. I am using clojure 1.5.1 and cljsbuild 0.3.2. The following code snippet reproduces the issue. Please note that renaming "my.foo" namespace to "foo" compiles with no warning. ;; file:: foo.cljs (ns my.foo)

Hi all, I have the following function to list all the files recursively under a directory. (defn list-all-files2 [path] (let [basepath (java.io.File. path)] (loop [origlist [basepath] finallist []] (if-let [cur (first origlist)] ;This line is not required (if (.isDirectory cur) (recur (concat (rest origlist) (.listFiles cur)) (conj finallist

Hi guys, At the risk of being redundant (I am thinking Garden<[link]>) I have released some libraries to generate css from clojure data structures. Take a look at my github <[link]> if you are interested. It's one my first clojure project and I'd really be happy to hear any

enlive-partials ([link]) adds support for wrapping and including enlive templates. It is convenient when you want to give designers a sandbox to work with html templates without having to learn enlive/Clojure. New in version 0.2.0 is support for replace-vars: [link]

Blogs

Vor Kurzem wurde im Bundestag ein Antrag gegen Softwarepatente vorgestellt, der sich ganz vielversprechend anhört.Zu diesem Thema bin ich heute als Sachverständiger zur öffentlichen Anhörung des Rechtsausschusses geladen.Ich denke, das ist ein guter Anlass, eine ganz persönliche Geschichte zum Thema Softwarepatente zu erzählen, die sich schon vor einiger Zeit zugetragen hat.Am 31. August 2007 erhielt einer unserer Kunden ein Schreiben der Firma Siemens. Gegenstand des Schreibens war der Hinweis auf die Verletzung eines Siemens-Patentes durch die eCommerce-Site unseres Kunden.WTF?! ...

with all apologies to Philip Greenspun Any sufficiently complicated Clojure program contains an ad hoc, informally-specified, bug-ridden, slow implementation of half of OPS5. :F

Yak sweat·er Noun /yak swet·er/ A framework that you created before a better framework came out but that you still use because you know it intimately. as in the line from Shakespeare’s play Much Ado About nil “Indeed thou did invent the wheel, alas t’is an oblong wheel thou hast creat’d. Avast and no longer [...]

Although I hoped to wait another day or two to talk about this on my blog, circumstances have force my hand. Therefore, I would like to take a few of your spare moments to talk about a new project that I’m working on called underscore-contrib — an extensions library / proving ground for Underscore.js.1 TLDR; [...]

In my core.contracts code I’ve experimented with using unification to aide read- and re-readability in my macros. Often I’ve found that I’ll hit a wall when returning to a macro that I wrote long ago. A mass of documentation often helps, but I wanted something more. I think I’ve found it… or at least the [...]

Recently there was a wonderful post call “The joys of having a forever project” that was very motivational and got a lot of people excited. Due to that post I went searching around and found a whole under-culture of forever projects on the Internet including a SubReddit devoted to the topic. While I can understand [...]

How can you tell that someone is not a scientist? They’ll have the word “scientist” in their title. This seems harsh right? The truth is that if you look at most of the fields defining science you’ll see that the practitioners rarely call themselves scientists: Biologist Chemist Physicist Geologist Astronomer Botanist So why not call [...]

Using Underscore and Lemonad, how could you write a run-length encoder/decoder without ever referencing a function parameter? One way: var S = ['a', 'a', 'a', 'a', 'b', 'c', 'c', 'a', 'a', 'd', 'e', 'e', 'e', 'e']; var pack = L.partial1(L.partitionBy, _.identity); pack(S); //=> [['a', 'a', 'a', 'a'], ['b'] ...] var rle = _.compose( L.partial1(L.flip(_.map), L.juxt(L.plucker('length'), [...]

At various times I’ve needed something very similar to python -m SimpleHTTPServer <port> readily accessible in my Clojure projects. Most of the time I just used Python but recently I’ve wanted to rework some examples from The Joy of Clojure and thought a simple Lein plugin would make a nice addition. The result: lein-simpleton — [...]

A few years ago I got the idea that it would be fun to implement a variant of Scheme targeting the JVM. During my search for different ways to implement numerics I looked deeply at the implementation of two languages: JScheme and a little-known language Clojure. During my explorations with these two languages and the [...]

About

Website by Matthias Schneider (@dermatthias) - What is planned for this site? (aka todo)