clojure

TwitterFacebook
Get flash to fully experience Pearltrees
If you’ve been following, you know that I’m trying to build the Web 2.0iest site out there. In fact, this is so Web 2.0, I’m tempted to call it Web 2.1. I’m using only the hottest language ( Clojure ) and the coolest social networking APIs ( twitter ).

Caffeinated Simpleton » Blog Archive » Fifth: Static Storage and

http://justin.harmonize.fm/index.php/2009/03/fifth-static-storage-and-tokyo-cabinet/
http://technomancy.us/126 So it turns out getting set up to write Clojure code can be a little tricky. There are a lot of disconnected tidbits about how folks have figured out how to configure things, but it can be a bit tricky to tell the difference between, "hey, this is how I finally got it to work" and "this is how you really should be doing it". I figure I know about as much about using Clojure with Emacs as anybody, so here's a run-through of how I've done my setup. There are a lot of moving parts, but bear with me; most of the installation is automated. Spoiler Alert : Using SLIME with Clojure is now much easier than the instructions detailed below indicate.

clojure setup

pcollections - Google Code

http://code.google.com/p/pcollections/ Overview PCollections serves as a persistent and immutable analogue of the Java Collections Framework . This includes efficient , thread-safe , generic , immutable , and persistent stacks, maps, vectors, sets, and bags, compatible with their Java Collections counterparts. Persistent and immutable datatypes are increasingly appreciated as a simple , design-friendly , concurrency-friendly , and sometimes more time- and space-efficient alternative to mutable datatypes. Persistent versus Unmodifiable
Introduction This is a simple interface to the Tokyo Cabinet libraries. Tokyo Cabinet is a very cool, very high performing key-value store.

brool's tokyo-cabinet at master - GitHub

https://github.com/brool/tokyo-cabinet
http://groups.google.com/group/clojure/msg/330c230e8dc857a9 On Nov 13, 2:13 am, Mark Engelberg wrote: > I'm still trying to get my head around the new features. Seeing more > code examples will definitely help.

clojure rich hickey datatypes

Clojure with Emacs and Slime/Swank on Ubuntu

Alternatively, The following list contains links to the offical documentation as well as Leiningen, one of the most popular tools for use in developing clojure projects. ;; clojure-mode (add-to-list 'load-path "~/opt/clojure-mode") (require 'clojure-mode) ;; swank-clojure (add-to-list 'load-path "~/opt/swank-clojure/src/emacs") (setq swank-clojure-jar-path "~/.clojure/clojure.jar" swank-clojure-extra-classpaths (list "~/opt/swank-clojure/src/main/clojure" "~/.clojure/clojure-contrib.jar")) (require 'swank-clojure-autoload) ;; slime (eval-after-load "slime" '(progn (slime-setup '(slime-repl)))) (add-to-list 'load-path "~/opt/slime") (require 'slime) (slime-setup) Open emacs and load the file. http://riddell.us/ClojureWithEmacsSlimeSwankOnUbuntu.html
http://www.infoq.com/news/2009/11/clojars-leiningen-clojure

Clojars and Leiningen Automate Library and Dependency Management

Using libraries is easy but getting all the right ones onto your system can be a pain. Many languages solve the problem with repositories that host the libraries + metadata and tools that make it easy to pull the right versions of the libraries. In the Ruby space the solution is Ruby Gems , both a tool and packaging format; a default repository hosted at Rubyforge ( Gems hosting will soon move to the GemCutter system , which offers more flexibility) makes it єasy to publish and consume Gems. In the Java space, Maven is a popular solution. Clojars is a new repository that aims to make it easy to share and consume Clojure libraries . A Clojure specific build tool called Leiningen , created by Phil Hagelberg , makes it easy for producers to bundle and push Clojure libraries to Clojars, and for consumers to pull them and make sure they're in the right default place for Clojure programs.
I originally wrote this in a Google Groups thread , but I figured it’s worth repeating here. Somebody posted a Java and Clojure snippet to the Clojure Google group and mentioned that the Java code was vastly faster than the Clojure code and he wondered if Clojure could get within reach of Java’s speed. In my own clj-starcraft project, I faced — and actually, still face — performance problems vis-à-vis Java. Specifically, at the time of this writing, my Clojure code is roughly 6 times slower than Java (Clojure takes around 70 seconds to parse 1,050 files, Java takes 12.) http://gnuvince.wordpress.com/2009/05/11/clojure-performance-tips/

Clojure performance tips « Occasionally sane

Datatypes and Protocols - early experience program - Clojure | G

http://groups.google.com/group/clojure/browse_thread/thread/a59165f208f594cb/ae84c88a8add6576?lnk=gst&q=datatypes#ae84c88a8add6576 On Nov 13, 2:13 am, Mark Engelberg wrote: > I'm still trying to get my head around the new features. Seeing more > code examples will definitely help. In the meantime, here is some > stream-of-consciousness thoughts and questions. > While these datatype and protocol constructs are taking shape, maybe > now is the time to discuss what kind of "privacy" settings are > worthwhile in a language like Clojure.
I’ve been playing with Tokyo Cabinet and Clojure for a bit, and while I will go on about both of them in another blog post (or not), I have to mention that Clojure is such a well designed language that it’s a pleasure to play with. It has much of the same intrinsic power as Haskell, but in a fashion that might be more approachable for people coming from Python or Ruby. At any rate, I made a small, thin layer around the Tokyo Cabinet API, and put it on Github .

brool » Tokyo Cabinet API for Clojure

http://www.brool.com/index.php/tokyo-cabinet-api-for-clojure

Object Computing, Inc. - Java News Brief - March 2009

Contents The goal of this article is to provide a fairly comprehensive introduction to the Clojure programming language. A large number of features are covered, each in a fairly brief manner.

Clojure Tutorial For the Non-Lisp Programmer | Moxley Stratton

Clojure is a new programming language that uses the Java Virtual Runtime as its platform. Clojure is a dialect of Lisp. The language home page is at http://clojure.org/ . This time, the difference is bigger because the plus sign comes before the parameters.
Online Learning is a relatively old branch of machine learning that has recently regained favour for two reasons. Firstly, online learning algorithms such as Stochastic Gradient Descent work extremely well on very large data sets which have become increasingly prevalent (and increasingly large!). Secondly, there has been a lot of important theoretical steps made recently in understand the convergence behaviour of these algorithms and their relationship to traditional Empirical Risk Minimisation (ERM) algorithms such as Support Vector Machines (SVMs).

Online Learning in Clojure ← Structure & Process

Statistical Learning in Clojure Part 1: LDA & QDA Classifier

This will hopefully be the first of a series of posts based on a book that has substantially influenced me over the last several years, The Elements of Statistical Learning (EoSL) by Hastie, Tibshirani, and Friedman (I went and got a degree in statistics essentially for the purposes of better understanding this book). Best of all, the pdf version of EoSL is now available free of charge at the book’s website , along with data, code, errata, and more. This post will demonstrate the use of Linear Discriminant Analysis and Quadratric Discriminant Analysis for classification, as described in chapter 4, “Linear Methods for Classification”, of EoSL. I will implement the classifiers in Clojure and Incanter, and use the same data set as EoSL to train and test them.
Clojure is a dialect of Lisp, and shares with Lisp the code-as-data philosophy and a powerful macro system. Clojure is predominantly a functional programming language, and features a rich set of immutable, persistent data structures. When mutable state is needed, Clojure offers a software transactional memory system and reactive Agent system that ensure clean, correct, multithreaded designs. New Clojure books in progress: Get 35% off any version of Clojure in Action or The Joy of Clojure (print book or ebook) with checkout code "clojure35".

Clojure - home