Re: Bluetooth LE sensors in Clojure

2013-10-21 Thread Mikera
Thanks, Karsten, useful links! As it happens I managed to get it working on 64-bit Windows last night using Sam's regular serial-port. Code here for anyone interested: https://github.com/mikera/motion-sensor/blob/develop/src/main/clojure/mikera/sensor/core.clj Interestingly, I found a nice wa

Re: Newbie question: How to add external clojure jars properly in Eclipse.

2013-10-21 Thread Christopher Bird
Laurent, that is outstanding. Thank you so much. Yup, I am working from the particular to the general here, so having a working example really makes a big difference. I must say that this is a really helpful community. Thanks evryone Chris On Monday, October 21, 2013 7:15:38 AM UTC-5, Laurent P

Re: Error - Clojure

2013-10-21 Thread Bruce Adams
Your project.clj file contains (defn -main ([] (-main )) ([port] (run-jetty app {:port (Integer. port)}))) near the end of the defproject form. That's not right. I'm not quite sure what question to ask here. The (defn -main ...) belongs in a source file, not in the project.clj.

Re: Error - Clojure

2013-10-21 Thread Ben Mabey
On 10/21/13 4:57 PM, ingy abbas wrote: Exception in thread "main" java.lang.IllegalArgumentException: No value supplied for key: 1.7.1 (project.clj:1) at clojure.lang.Compiler.eval(Compiler.java:5441) at clojure.lang.Compiler.load(Compiler.java:5858) at clojure.lang.Compiler.loadFile

Error - Clojure

2013-10-21 Thread ingy abbas
Exception in thread "main" java.lang.IllegalArgumentException: No value supplied for key: 1.7.1 (project.clj:1) at clojure.lang.Compiler.eval(Compiler.java:5441) at clojure.lang.Compiler.load(Compiler.java:5858) at clojure.lang.Compiler.loadFile(Compiler.java:5821) at clojure.lang.

Re: Bluetooth LE sensors in Clojure

2013-10-21 Thread Karsten Schmidt
IIRC Sam's wrapper is using the original RXTX lib which hasn't been updated since ~2006 and is only 32bits. There're a couple of more recent forks (w/ x-platform 64bit binaries), most notable the one by CMU's Robotics dept: https://code.google.com/p/create-lab-commons/source/browse/#svn%2Ftrunk%2F

Re: [ANN] Jig

2013-10-21 Thread Timothy Washington
Hey Malcolm, So since you guys just have Pedestal set up at the moment, I've started there. *My Repos * You can see my project jig here. It connects to common

Re: jdbc timestamp automatic timezone

2013-10-21 Thread Manuel Paccagnella
I had a similar problem: correct timestamps are returned by JDBC queries with timezone offset. I think this is due to the fact that PostgreSQL automatically stores timestamps in UTC(emphasis is mine): For timestamp with time z

jdbc timestamp automatic timezone

2013-10-21 Thread Vincent Liard
Hello, I'm having a hard time figuring out a timestamp problem with clojure 1.5.1, clojure/java.jdbc 0.3.0-alpha5 and clojure/postgresql 9.1-901.jdbc4 (with postgresql 9.1.9). With the same timestamp I get different results from PostgreSQL client and from clojure. PSQL answers what I expect :

Re: blog article on RSpec like TDD with a rapid feedback cycle in Clojure

2013-10-21 Thread Waldemar Schwan
I had notized that. It is correctly linked. No worries. Gruß Waldemar > Am 21.10.2013 um 15:43 schrieb John Szakmeister : > >> On Sun, Oct 20, 2013 at 4:24 PM, Korny Sietsma wrote: >> Note you can do the same thing in midje : >> https://github.com/marick/Midje/wiki/Auto test - it works quite n

[ANN] core.typed 0.2.14

2013-10-21 Thread Ambrose Bonnaire-Sergeant
Hi, Pleased to announce core.typed 0.2.14. There are breaking changes in this release. See the Changelogfor the full list of changes. See the Readme for dependency info.

Re: blog article on RSpec like TDD with a rapid feedback cycle in Clojure

2013-10-21 Thread John Szakmeister
On Sun, Oct 20, 2013 at 4:24 PM, Korny Sietsma wrote: > Note you can do the same thing in midje : > https://github.com/marick/Midje/wiki/Auto test - it works quite nicely. Looks like a space made it in between "Auto" and "test". The link should be:

Re: Newbie question: How to add external clojure jars properly in Eclipse.

2013-10-21 Thread Laurent PETIT
Hello Christopher, I will try to address exactly your example, with Counterclockwise, and hopefully you'll get the general view of how to do things on the go. So you want to instanciate a new namespace like this : (ns play.xml-example (:require [clojure.zip :as zip] [clojure.data.zip :as zf] [cl

Re: blog article on RSpec like TDD with a rapid feedback cycle in Clojure

2013-10-21 Thread Waldemar Schwan
Thanks for the info. I will give it a try and update the article. :) Gruß Waldemar > Am 21.10.2013 um 09:36 schrieb Glen Mailer : > > If you're on a Mac and using Speclj you may want to try out > https://github.com/pgr0ss/speclj-growl - you won't even need to look at your > terminal! > > Glen

[ANN] stan-cn-* 0.0.3 and clj-cn-nlp 0.2.0 released

2013-10-21 Thread Mingli Yuan
Hi, buddies, We had released a new version (0.0.3) of stan-cn-* packages and corresponding clojure bindings. stan-cn-* packages provide an API wrapper for Stanford CoreNLP packages aiming to reduce the configuration complexity for Chinese users. Please check below READMEs for usage: * https://gi

Bluetooth LE sensors in Clojure

2013-10-21 Thread Mikera
Hi all, I'm doing some experiments with Bluetooth LE sensors using Clojure. Fun stuff. The library ecosystem seems a bit sparse though (both in the Clojure and Java space). Currently I'm thinking of hacking together a quick communications stack using Sam Aarons nice little serial-port library

Re: [ANN] Jig

2013-10-21 Thread Malcolm Sparks
Hi Chris, yes I will try to do something like that very soon. On Friday, October 18, 2013 12:30:20 AM UTC+1, zcaudate wrote: > > Would it be possible to put up a video of a typical workflow example with > pedestal. It's quite difficult for me to piece everything together just by > reading the do

Re: [ANN] Jig

2013-10-21 Thread Malcolm Sparks
Hi Tim, Good to hear you're finding Jig useful. There isn't any explicit support for Ring in Jig yet, it's just Pedestal services right now. The separation of jig.web.server and jig.web.app into 2 components is to allow multiple 'virtual hosts' to share the same Jetty server, if necessary. I

Re: blog article on RSpec like TDD with a rapid feedback cycle in Clojure

2013-10-21 Thread Glen Mailer
If you're on a Mac and using Speclj you may want to try out https://github.com/pgr0ss/speclj-growl - you won't even need to look at your terminal! Glen -- -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure