Re: How to (easily) show the advantages of Clojure

2013-01-17 Thread Lee Spector
On Jan 17, 2013, at 7:30 PM, Mikera wrote: > > I'd just do it with examples at a REPL to show off different features, > introducing them slowly, with a focus on functions and data. Examples: FWIW I introduce Clojure to students (many of whom have no experience with Lisp and/or Java) with the l

Re: IllegalArgumentException No value supplied for key: true

2013-01-17 Thread Sean Corfield
On Thu, Jan 17, 2013 at 3:06 PM, AtKaaZ wrote: > hey, just going to let people know about the following exception happening > when you have something like this(bad): > > (ns runtime.util-test > (:use [midje.sweet :reload-all])) > > as opposed to any of these(correct): ... > Exception in thread "

Re: How to (easily) show the advantages of Clojure

2013-01-17 Thread Mikera
On Wednesday, 16 January 2013 23:08:41 UTC+8, Thomas wrote: > Hi All, > > Something that came up last night in the blank? thread. What is a good way > to show someone the advantages of Clojure. Something that is simple, not > too complicated, easily understood, shows a (significant) benefit, etc

IllegalArgumentException No value supplied for key: true

2013-01-17 Thread AtKaaZ
hey, just going to let people know about the following exception happening when you have something like this(bad): (ns runtime.util-test (:use [midje.sweet :reload-all])) as opposed to any of these(correct): (ns runtime.util-test (:use midje.sweet :reload-all)) (ns runtime.util-test (:use [

Re: clojure.pprint wiki pages, for review

2013-01-17 Thread Rich Morin
On Jan 17, 2013, at 12:11, Andy Fingerhut wrote: > Have you considered submitting pages like these to the clojure-doc.org site? > I don't know if Michael Klishin would be interested in this material, but it > certainly wouldn't be out of place there if he was willing to take it. I have no problem

Re: clojure.pprint wiki pages, for review

2013-01-17 Thread Andy Fingerhut
Looks nice. Have you considered submitting pages like these to the clojure-doc.org site? I don't know if Michael Klishin would be interested in this material, but it certainly wouldn't be out of place there if he was willing to take it. There is a much shorter list of examples here that I wrot

Re: ANN Monger 1.4.2 is released

2013-01-17 Thread fernando
Excellent. Thanks. Note: Seems like the API reference still points to version 1.2.0: http://reference.clojuremongodb.info/index.html On Saturday, January 12, 2013 3:22:46 PM UTC-3, Michael Klishin wrote: > > Monger is an idiomatic Clojure MongoDB driver for a more civilized age. > It has batter

Re: Blog Post: Bringing functional to the front-end: Clojure + ClojureScript for the web

2013-01-17 Thread Mimmo Cosenza
Hi Aria, I read your post too quickly, so forgive me if I'm asking stupid questions or questions already answered in you're post. I'm building my own clojurescript/clojure stack of libraries to reach probably a couple of goal that are close or similar to the ones you have: - adhere to progress

Re: Error on redirect when attempting unauthorized entry to Friend route

2013-01-17 Thread larry google groups
How should I debug this? What questions should I ask? At this point, for the sake of debugging, I have everything in one file, in one name space. I have recreated the dummy users database: (def users {"root"{:username "lawrence" :password (creds/hash-bcrypt "admin_password")

Re: Blog Post: Bringing functional to the front-end: Clojure + ClojureScript for the web

2013-01-17 Thread Manuel Paccagnella
Nice! Thank you, I'll take a look and probably use dommy in my next personal project. Il giorno giovedì 17 gennaio 2013 18:07:48 UTC+1, Aria Haghighi ha scritto: > > Hi all, > > I’ve just posted a blog post on the Prismatic blog about moving our web > application from Node.js/Javascript over to

Re: [ANN] Schejulure 0.1.1

2013-01-17 Thread Adam Clements
A URL would probably help: https://github.com/AdamClements/schejulure On Thursday, January 17, 2013 5:56:40 PM UTC, Adam Clements wrote: > > So there are a few scheduling libraries around, I wanted one for cron-like > job scheduling and my options were quite limited, there are things like > clj-

[ANN] Schejulure 0.1.1

2013-01-17 Thread Adam Clements
So there are a few scheduling libraries around, I wanted one for cron-like job scheduling and my options were quite limited, there are things like clj-cronlike and quartzite but I found the syntax quite clunky and didn't like the central stateful scheduler idea. There are also things like at-at,

[ANN] clj-bigml - Clojure bindings for BigML's machine learning API

2013-01-17 Thread Adam Ashenfelter
clj-bigml is a Clojure library for interacting with BigML's machine learning API . As of now, BigML offers decision tree models (and their ensembles like random decision forests) for supervised learning. Wi

Re: seeking namespace-aware xml lib

2013-01-17 Thread lewen7er9
Just wondering if this is still being actively worked. On Monday, July 16, 2012 3:53:21 PM UTC-4, bsmith.occs wrote: > > TL;DR: I'm looking for a Clojure library that round trips XML+namespaces > through Clojure data structures and back again. > > > I'm hacking on a chewing-gum-and-bailing-wire

Blog Post: Bringing functional to the front-end: Clojure + ClojureScript for the web

2013-01-17 Thread Aria Haghighi
Hi all, I’ve just posted a blog post on the Prismatic blog about moving our web application from Node.js/Javascript over to Clojure/ClojureScript. A lot of the post is making the case for why hiccup-style templating using Clojure data structures is a great idea. ** * http://blog.getprismatic.

Re: Error while installing clojure-mode on emacs

2013-01-17 Thread Tassilo Horn
Josh Kamau writes: > I am getting this error > > Wrong type argument: sequencep, quote > > Here is my init.el > (require 'package) > (add-to-list 'package-archives > '("marmalade" . "http://marmalade-repo.org/packages/";) t) > (package-initialize) Looks correct to me. Start emacs us

Re: Error while installing clojure-mode on emacs

2013-01-17 Thread Josh Kamau
THanks Tim, I will master clojure first... i will get back to emacs later. Iam still having the (parens culture) shock" having been in {java.world()} for years. On Thu, Jan 17, 2013 at 5:06 PM, Tim Visher wrote: > On Thu, Jan 17, 2013 at 9:01 AM, Josh Kamau wrote: > > I gave up on emacs a

Re: Error while installing clojure-mode on emacs

2013-01-17 Thread Tim Visher
On Thu, Jan 17, 2013 at 9:01 AM, Josh Kamau wrote: > I gave up on emacs am back to eclipse . Give up for now, but not for always! :) For inspiration, check out: Magnar Sven's Live WebRebel presentation: http://www.youtube.com/watch?v=p3Te_a-AGqM EmacsRocks: http://emacsrocks.com/ and VimGol

Re: Is keyword-params middleware safe?

2013-01-17 Thread Marko Topolnik
In earlier versions they were indeed retained forever; then there was a buggy WeakRef implementation in 1.2 that sometimes caused StackOverflowErrors; since 1.3 it has finally been stable. On Thursday, January 17, 2013 2:53:34 PM UTC+1, Tony Pitluga wrote: > > Awesome. Thanks Alan. I had seen ot

Re: Error while installing clojure-mode on emacs

2013-01-17 Thread Josh Kamau
Thanks guys... I gave up on emacs am back to eclipse . Josh On Thu, Jan 17, 2013 at 4:23 PM, Tim Visher wrote: > On Thu, Jan 17, 2013 at 4:06 AM, Josh Kamau wrote: > > Hi There ; > > > > I am following the instructions here > > https://github.com/technomancy/clojure-mode/blob/master/READ

Re: Error while installing clojure-mode on emacs

2013-01-17 Thread larry google groups
I had the same problem. It arose from one of the packages I had installed. I randomly uninstalled various packages, until the problem went away. (And because of this, poor package management is one of my peeves with Emacs.) On 17 Sty, 08:23, Tim Visher wrote: > On Thu, Jan 17, 2013 at 4:06 AM, J

Re: Is keyword-params middleware safe?

2013-01-17 Thread Tony Pitluga
Awesome. Thanks Alan. I had seen other places that keywords were not garbage collected. I should have just read the source. On Wed, Jan 16, 2013 at 2:18 PM, Alan Malloy wrote: > Keywords are garbage-collected if no references to them exist. I think > this is as of Clojure 1.3, but I'm not sure

Re: Error while installing clojure-mode on emacs

2013-01-17 Thread Tim Visher
On Thu, Jan 17, 2013 at 4:06 AM, Josh Kamau wrote: > Hi There ; > > I am following the instructions here > https://github.com/technomancy/clojure-mode/blob/master/README.md > to install clojure mode on emacs... I am new to both emac and clojure. > > I am getting this error > > Wrong type argument:

Re: emacs - how to wean me off the family of Java IDEs

2013-01-17 Thread Korny Sietsma
I've been using projectile for project-level commands, and found it quite good - it autodetects project root from things like .git directories, and then gives you commands like "open file in project", "search in project" etc. - Korny -- Sent from my geek device... Spelling mistakes can be blamed o

Re: Error while installing clojure-mode on emacs

2013-01-17 Thread Marko Topolnik
What line exactly is causing the problem? Maybe it's happening in another of the several emacs init files. On Thursday, January 17, 2013 10:06:11 AM UTC+1, Josh Kamau wrote: > > Hi There ; > > I am following the instructions here > https://github.com/technomancy/clojure-mode/blob/master/README.m

clojure.pprint wiki pages, for review

2013-01-17 Thread Rich Morin
I've been working on some clojure.pprint wiki pages, with an emphasis on documenting cl-format usage: http://wiki.cfcl.com/bin/view/Projects/Clojure/CP http://wiki.cfcl.com/bin/view/Projects/Clojure/CP_snippets The main page (CP) mostly contains pointers to references. The CP_snippets page pre

Error while installing clojure-mode on emacs

2013-01-17 Thread Josh Kamau
Hi There ; I am following the instructions here https://github.com/technomancy/clojure-mode/blob/master/README.md to install clojure mode on emacs... I am new to both emac and clojure. I am getting this error Wrong type argument: sequencep, quote Here is my init.el (require 'package) (add-to-li