Re: swank-clojure/lein/emacs

2011-07-01 Thread Adam
clojure-1.3.0-20110104.084027-21.jar" from my project's lib directory, then "lein swank" works. Why am I getting this wrong version of swank-clojure.jar? --- Adam On Jun 6, 3:00 pm, John Toohey wrote: > I had this problem on OSX. To fix it, I removed the s

Re: Anyone on Google+ yet?

2011-07-14 Thread Adam
https://plus.google.com/u/0/115627632525564353062/posts ~Adam~ On Thu, Jul 14, 2011 at 13:42, Tuba Lambanog wrote: > http://profiles.google.com/tuba.lambanog > > > On Thu, Jul 14, 2011 at 11:12 AM, Claudia Doppioslash < > claudia.doppiosl...@gmail.com> wrote: > >>

Re: clojure thesis opportunity

2012-02-22 Thread Adam
Have you looked at Akka <http://akka.io/> at all? ~Adam~ -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please be p

Re: pmap performance degradation after 30-40 min of work?

2012-10-12 Thread Adam
Have you tried running jconsole to monitor the memory usage? It sounds like maybe you're running out of heap space and you're mainly seeing the garbage collector doing it's thing vs your actual program. ~Adam~ On Fri, Oct 12, 2012 at 9:23 AM, Jim foo.bar wrote: > Hi all, &

Re: pmap performance degradation after 30-40 min of work?

2012-10-12 Thread Adam
If you have the memory you could just increase the heap size to a higher value (like -Xmx2048m or something). But even if you do that I would still run jconsole to see what's happening. ~Adam~ On Fri, Oct 12, 2012 at 9:41 AM, Jim foo.bar wrote: > No i haven't profiled memory ,

Re: [ANN] fs - file system utilities for Clojure

2011-01-19 Thread Adam
_repl_thread$fn__489.doInvoke(core.clj:308) 28: clojure.lang.RestFn.invoke(RestFn.java:398) 29: clojure.lang.AFn.run(AFn.java:24) 30: java.lang.Thread.run(Unknown Source) ~Adam~ -- You received this message because you are subscribed to the Google Groups "Clojure" group. To po

Re: api doc for clojure/libraries

2011-01-24 Thread Adam
I personally find clojure docs (http://clojuredocs.org/) to be the best source of core/contrib documentation. ~Adam~ -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com Note that

Re: Monad Lessons

2011-03-10 Thread Adam
I'd be interested as well; sounds awesome :) Thanks for your offer, ~Adam~ -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are modera

Re: Monad Lessons

2011-03-12 Thread Adam
ht be > useful to people joining the session. > I've been following those and they're awesome. Thanks for putting them together! ~Adam~ -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to

Re: [jvm-l] Kawa Scheme on Android

2008-12-29 Thread Adam King
lvikvm to find the core clojure classes (was throwing a ClassNotFoundException for clojure.core__init). As mentioned in the issue report, it now crashes with a VerifyError on StringBuilder.append() - which you mentioned you're going to look into soon. Cheers, Adam --~--~-~--~~--

support for Java annotations

2009-02-15 Thread Adam Feuer
Hi folks, Is there support in Clojure for compiling Java classes with Java annotations? I looked at the gen-class method, but it doesn't seem to support this. If there isn't support for this, is there anyone working on this? If not, I would like to add this. cheers adam --

Re: Problem with CLASSPATH

2009-04-20 Thread Adam Blinkinsop
On Apr 5, 1:32 pm, dlb wrote: > I have the same problem on my Mac as well, i.e. if clojure.jar is > loaded from ~/Library/Java/Extensions rather than from the classpath, > then clojure does not find files on the classpath.  I did some poking > around and on my Mac OS X 10.5.6 with Java 6. > ...

Re: Simple sequence question: inserting something after blocks of fulfilling elements

2009-04-22 Thread Adam Blinkinsop
Is it possible to do this without a loop? > > I wasn't sure what you meant by "inserting :foo after any block of > elements that fulfill it",... Perhaps a little context is in order? -- Adam Blinkinsop --~--~-~--~~~---~--~~ You received

What's the difference between `ref-set` and `alter`?

2009-06-18 Thread Adam Blinkinsop
the signature, and that can't be right. -- Adam Blinkinsop --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com Note that pos

Re: What's the difference between `ref-set` and `alter`?

2009-06-19 Thread Adam Blinkinsop
On Jun 18, 3:34 pm, Rich Hickey wrote: > On Jun 18, 5:23 pm, "Stephen C. Gilardi" wrote: > > On Jun 18, 2009, at 1:25 PM, Adam Blinkinsop wrote: > > > Does ref-set not set the "in-transaction-value"?  It looks like the   > > > only diffe

Re: How to achieve indirection?

2009-07-17 Thread Adam Smyczek
(app.data.lazy and app.data.eager). The function names and signatures are same in both libs, but the implementations differ. By referring to the appropriate lib I decide what implementation to use. Adam On Jul 16, 2009, at 10:47 PM, Eric Tschetter wrote: > > One other option is to use "

Re: Easier way to run Clojure from command line?

2010-05-08 Thread Adam Jones
Have you seen Leiningen? [1]. It seems like it will do what you want with "lein repl", and additionally it has some nice features for acquiring dependencies and building a .jar from your project. [1] http://github.com/technomancy/leiningen#readme On May 7, 1:43 pm, Jason Smith wrote: > So the pr

Knowledge derivation in core.logic?

2013-05-25 Thread Adam Saleh
ypted [:pk A] [:nonce A]], I also know the [:nonce a]. Anybody has any hints? So far I managed to implement some of this, but it is a tangled mess of recursive pattern matching, membero, nonmembero and macros :-/ Thanks for any pointers, Adam -- -- You received this message because yo

Re: Beginners question - emacs & compiling tests

2013-05-30 Thread Adam Getchell
On Tuesday, March 19, 2013 4:22:59 PM UTC-7, John SJ Anderson wrote: > > > I had this same issue when working through the tutorial. The text > makes it sound like you should replace the entire contents of the test > file, but that's not the case -- you just need to replace the (deftest > ...)

Anybody has tried to (re)write re-match in core.logic?

2013-07-04 Thread Adam Saleh
get out of it a tool for easily generating/unifying strings. Do you think it would be a good idea? Has anybody tried? Thanks for feedback! Adam -- -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email

Re: Anybody has tried to (re)write re-match in core.logic?

2013-07-05 Thread Adam Saleh
What does that mean? Because right now I am using core.logic quite naively, mostly just applying recursion and some pattern matching. Adam -- -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email

Re: Anybody has tried to (re)write re-match in core.logic?

2013-07-05 Thread Adam Saleh
Apologies, forgot that this is not a forum. 1) What would environment trimming provide me? Because right now I am using core.logic quite naively, mostly just applying recursion and some pattern matching. 2) for starting I have implemented a simple regular grammar engine, seems to work :) (d

core.logic - using membero to generate list?

2013-07-06 Thread Adam Saleh
entException Don't know how to create ISeq from: clojure.core.logic.LCons clojure.lang.RT.seqFrom (RT.java:505) I guess I need to somehow convert the "logic-based" list to "clojure-based", how do I do it? Thanks! Adam -- -- You received this message because yo

Re: Clojurescript to target JVM?

2015-01-15 Thread Adam Clements
in using this to get something working in the short term. Adam On Sat Nov 22 2014 at 04:29:47 Sam Beran wrote: > The code is still half-baked, but in leu of a blog post or code, I can > summarize my reasoning and approach: > > > *ClojureScript is Designed With UI Responsivenes

CLJS-in-CLJS; building ClojureScript from source; and stuff

2015-01-18 Thread Adam Avramov
I'm working on a multimedia framework targeting Node.js (and, at some point in the future, sooner rather than later, browsers). Since I need the homoiconicity of a Lisp for my intended feature set, ClojureScript is pretty much my only option -- and it's a very enjoyable language anyway. I'm usi

Re: [ANN] Clojure 1.7.0-alpha5 now available

2015-01-22 Thread Adam Clements
I think I am seeing static initialisers being run at AOT time when the class is used as a type hint tag. This isn't a regression from previous versions of clojure, but with the forNameNonLoading changes that have gone in recently I was under the impression that this shouldn't be a problem any more.

Re: [ANN] Clojure 1.7.0-alpha5 now available

2015-01-22 Thread Adam Clements
e any other repercussions though. On Thu Jan 22 2015 at 17:49:37 Adam Clements wrote: > I think I am seeing static initialisers being run at AOT time when the > class is used as a type hint tag. This isn't a regression from previous > versions of clojure, but with the forNameNonLoadin

Re: Clojurescript to target JVM?

2015-01-28 Thread Adam Clements
I'm currently using the fastload branch against alpha5, and it's pretty good. You have to be careful though with namespace declarations as you may end up loading more than you need to. I'm currently in the process of breaking my app down into "runlevels", where it loads the minimum needed to get st

Workaround for CLJ-1604?

2015-02-19 Thread Adam Krieg
I'm running into what appears to be the same issue described in CLJ-1604 , where a library that I'm using (Korma) has a function that clashes with a new function in Clojure core with 1.7, update. At the point of invocation, I get the compilation exce

Re: Workaround for CLJ-1604?

2015-02-21 Thread Adam Krieg
gt; another alternative to the ones you mentioned. > > Andy > > On Thu, Feb 19, 2015 at 8:10 PM, Adam Krieg > wrote: > >> I'm running into what appears to be the same issue described in CLJ-1604 >> <http://dev.clojure.org/jira/browse/CLJ-1604>, where a li

Re: Streaming a large file onto a channel

2015-03-18 Thread Adam Clements
It's possible you are simply not seeing the println output from a background thread, depending on how your repl etc is set up. On Wed, 18 Mar 2015 3:19 pm Adrian Mowat wrote: > Hi Erick > > Thanks for getting back to me. On my system, I wasn't seeing the contents > of my file being listed in th

Clarity Keyboard by SwiftKey - Written in Clojure

2015-05-08 Thread Adam Clements
ted to know your thoughts and comments, and if you're interested we are currently hiring here at SwiftKey, both for this project and in general. Thanks, Adam Clements -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this

Re: Clarity Keyboard by SwiftKey - Written in Clojure

2015-05-08 Thread Adam Clements
nd of what we're getting at the moment on Android, so it might need some different optimizations before becoming a viable option there. In theory it should be doable though. Adam On Fri, 8 May 2015 7:05 pm adrians wrote: > Just tried the keyboard on my old Galaxy Nexus and I have to say tha

Re: Using @ alone

2015-05-20 Thread Adam Morgan
Hi Pierre, If I understand you correctly, you are attempting to crack open a sequence, as ~@ would do in a macro. You are probably looking for apply. For example: (apply + '(1 2 3)) 6 On Wednesday, May 20, 2015 at 6:07:13 PM UTC-6, Pierre Thibault wrote: > > No: > > (type '()) > clojure.lan

Re: [ANN] Clojure 1.8.0-alpha2

2015-07-20 Thread Adam Krieg
Wow, I've upgraded a couple of projects and builds are roughly 50% faster over 1.7.0. Is that to be expected? On Saturday, July 18, 2015 at 9:12:12 AM UTC-4, Alex Miller wrote: > > Clojure 1.8.0-alpha1 and 1.8.0-alpha2 are now available. > > Try it via > - Download: > https://repo1.maven.org/ma

Reflection warnings in async/go-loop

2015-07-23 Thread Adam Krieg
Hi all, I have an issue with references to closed over references outside the go block not resolving types. The first function resolves fine. The second one cannot resolve (.readLine buf-reader) (defn parser-process-good "Consumes lines from a file, transforms entries of interest and puts t

Re: ANN: ClojureScript 0.0-3308, fixes & enhancements

2015-07-27 Thread Adam Morgan
) at clojure.lang.RestFn.invoke(RestFn.java:421) at clojure.lang.Var.invoke(Var.java:383) at clojure.lang.AFn.applyToHelper(AFn.java:156) at clojure.lang.Var.applyTo(Var.java:700) at clojure.main.main(main.java:37) Hope this helps. Adam -- You received this

Reading Metadata from Vars in scripts

2014-07-01 Thread Adam Krieg
is related to CLJ-120, where metadata is lost on AOT, or am I missing something more basic? Thanks in advance, Adam -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com Note that posts

Re: Deploying to Clojars no longer works

2014-07-03 Thread Adam Clements
Have you tried upgrading leiningen to the latest version? I don't think you can deploy from old versions, at least that's been a problem for me in the past. On 2 Jul 2014 20:55, "Jacob Goodson" wrote: > I have been deploying the same project to clojars for quite a while now(5 > months?); for some

Locking macro generated bytecode

2014-07-23 Thread Adam Clements
hat the condition is that every instruction where the monitorenter/exit tally > 0 should be within a catch all block, which it isn't in the clojure version, there's all sorts going on which isn't within the finally's scope. Any insight would be appreciated, Adam -- You rec

Re: Locking macro generated bytecode

2014-07-23 Thread Adam Clements
e was that I was inadvertently including both org.clojure/clojure and my patched org.clojure-android/clojure due to transitive dependencies). I've submitted a patch and ticket http://dev.clojure.org/jira/browse/CLJ-1472 Adam On Wed, Jul 23, 2014 at 1:28 PM, Adam Clements wrote: > I&#

Converting Leiningen project.clj to Gradle

2014-09-17 Thread Adam Markham
I'm following this guide: https://github.com/DevonStrawn/Clojuresque-Boilerplate/blob/master/UberJar/build.gradle Any pointers would be great. Thanks, Adam -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send

Re: multimethod, record, type, and protocol pitfalls?

2014-11-05 Thread Adam Krieg
My experience with protocols is that the implementations can't be redefined, e.g changing an implementation. So if you change one of the applied protocols, you may need to restart your REPL. YMMV. Using records outside of their declared namespace is also really weird. You need to both require

Re: multimethod, record, type, and protocol pitfalls?

2014-11-05 Thread Adam Krieg
erally > not recommended. > > Extend-type is easier to use interactively than inline protocol extensions > (which are faster) as it's modifying dynamic globals. > > On Wed, Nov 5, 2014 at 6:03 PM, Adam Krieg <mailto:adammkr...@gmail.com>> wrote: >

Re: Google Clojure REPL

2014-11-24 Thread Adam Clements
There are a number of issues with clojure on lollipop, the ART compiler doesn't like the bytecode generated by closure for various reasons. I have just today opened a dialogue with the ART developers at Google and at least some of the issues have been fixed for the next release of Android. Others m

Re: How can I remove the nils in the result?

2014-12-24 Thread Adam Clements
Colin, minor code review point that makes no real difference for this example but is a good habit to get into: try not to use last on vectors, use peek instead, otherwise it calls seq and steps through the entire sequence on each call. peek on the other hand does what you'd expect. For long lists t

ClassNotFoundException in macroexpand1()

2016-12-08 Thread Justus Adam
When executing `macro expand1()` with the compiler unresolvable symbols aren't an issue, except if they are fully qualified and their corresponding namespace does not exist, in which case a ClassNotFoundException is thrown. I find this to be inconsistent behaviour, since unresolvable symbols the

Re: Compiling gen-class runs static initializers: workarounds, solutions?

2017-03-28 Thread Adam Clements
Potentially relevant? I posted a patch two years ago for some static initialisers still running in 1.8, not yet merged. It was actually the type hints causing the initialisers to be run at compile time http://dev.clojure.org/jira/browse/CLJ-1714 On Tue, Mar 28, 2017 at 10:21 AM 'Gunnar Völkel' vi

Re: The soul of case

2017-06-26 Thread Adam Clements
value. It actively discourages naming magic constants if you don't want to fall back to slower condp or a map lookup. Adam On Sun, 25 Jun 2017, 10:53 p.m. David Nolen, wrote: > On Sat, Jun 24, 2017 at 1:49 PM, Matching Socks > wrote: > >> >> At any rate, I would l

Re: Clojure android activity?

2017-06-30 Thread Adam Clements
in touch and we'll see what we can do) Adam On Wed, Jun 28, 2017 at 5:12 PM Michael Blume wrote: > My impression is that if you want to write Clojure on Android in 2017 you > use React Native and write ClojureScript. Re-natal is a good starting point > > On Fri, Jun 23, 2017, 3:5

Re: Clojure android activity?

2017-07-01 Thread Adam Clements
and 2) maintaining a single patch on top of otherwise vanilla clojure is a much less arduous task, but I'd love to see a better solution for that. Adam On Fri, Jun 30, 2017 at 5:25 PM Alex Miller wrote: > It's not really lack of interest from the core team, just a matter of no

Re: [ANN] lein-tools-deps 0.4.1 - Use deps.edn with Leiningen

2018-06-19 Thread Adam Frey
The link you posted goes to the Cronut library. Here's a working link: https://github.com/RickMoynihan/lein-tools-deps Thanks for lein-tools-deps, btw! -- Adam Frey On Mon, Jun 18, 2018, at 6:50 PM, Rick Moynihan wrote: > Hi all, > > Some of you may have seen earlier ve

Re: What do Clojure developers use for recurring functions, other than at-at

2018-12-17 Thread Adam Clements
t for years because it just works and even though it's used in production nobody has found any issues or needed it to do anything it doesn't already do. I think the same is probably true of at-at. Adam On Mon, 17 Dec 2018, 9:46 pm James Reeves, that does sound like the right way to g

Re: Awesome Clojure Engineer Opportunity

2015-10-12 Thread Adam Clements
Hi Rameen, I have attached my CV for your consideration, but be aware that I am only currently considering remote working roles, and so more information would be required. Thanks, Adam Clements On Mon, Oct 12, 2015 at 9:07 PM Rameen Fattahi wrote: > Hi Everyone, > > My name is Ramee

Re: weird bug with cljs.core.async + macros

2014-02-18 Thread Adam Clements
I have had a similar thing happen with the core.match/match macro - a lot of examples simply break when put inside a go block. I thought it might have been something to do with aot compilation but I'm not sure. Adam On 18 Feb 2014 05:33, "t x" wrote: > Building on Michal&#x

Re: A faster clojure startup

2014-02-28 Thread Adam Clements
Is it just a tweaked Var class or is there more to it? Adam On Fri, Feb 28, 2014 at 3:16 PM, Gal Dolber wrote: > Here're some notes on the lean compiler I've been working on for > clojure-objc > > http://galdolber.tumblr.com/post/78110050703/reduce-startup > > Fe

case statement and java constants

2014-02-28 Thread Adam Clements
symbol instead. Is there a way to do this without resorting to condp = or am I stuck? Should this be a something that case handles by default? I can't think of a reason these couldn't be converted to literals... Thanks, Adam -- You received this message because you are subscribed to t

Re: case statement and java constants

2014-02-28 Thread Adam Clements
request on clojure core? Thanks, Adam Adam On Fri, Feb 28, 2014 at 4:21 PM, Ambrose Bonnaire-Sergeant < abonnaireserge...@gmail.com> wrote: > I'm not 100% sure if this works, but have you tried writing a macro that > gets the > Java field value, and inserting into the case s

Re: case statement and java constants

2014-03-02 Thread Adam Clements
Oops, I already filed http://dev.clojure.org/jira/browse/CLJ-1367. Should probably link/mark as dupe - I don't appear to be able to do anything other than comment. Adam On Sun, Mar 2, 2014 at 4:35 PM, Herwig Hochleitner wrote: > Created: http://dev.clojure.org/jira/browse/CLJ-1368 &g

Re: [GSoC 2014] Looking for mentors: cljs graphics package (in the spirit of p5.js / quil / three.js)

2014-03-14 Thread Adam Clements
t and the exact semantics smoothed over, but what do people think in principle to a more declarative graphics library which could then be optimised far more than manual api calls ever could while encouraging a clean functional, testable approach. Adam Adam On Thu, Mar 13, 2014 at 10:37 PM, Omer

Problems getting function metadata

2014-03-14 Thread Adam Krieg
I'm trying to get the meta data off a function that was stored in a map, (defn my-fun [x] x) (def fun-map {:function my-fun}) (meta (var my-fun)) ; this works (meta (var (:function fun-map))) ; This fails with CompilerException java.lang.ClassCastException: clojure.lang.PersistentList cannot b

Sharing optional arguments among functions

2014-03-17 Thread Adam Krieg
I'm trying to define a couple of functions that support the same options, but return different return types. I have one function that is the "base" function that provides the most raw access, and some other functions that call this base function and do their thing. I would like to make these k

Re: Sharing optional arguments among functions

2014-03-17 Thread Adam Krieg
Thanks, Luc! On Mar 17, 2014, at 11:08 AM, Luc Prefontaine wrote: > Use (apply base-fun opts) > > Luc P. > > >> I'm trying to define a couple of functions that support the same options, >> but return different return types. >> >> I have one function that is the "base" function that provide

Re: Performance trouble with Processing jar

2014-03-29 Thread Adam Clements
lready, so possibly not... Adam Adam On Sat, Mar 29, 2014 at 6:20 AM, tamichan wrote: > Hi All > > I'm writing graphic clojure code with Processing jars. > When I wrote heavy draw code, I found clojure code is slower than an > equivalent of java. > > Probably, the cause is j

Core.logic appendo for string?

2014-05-04 Thread Adam Saleh
at is still an lvar. Does it mean that I would need to implement a similar type for string (ie LStr), and then reimplement conso/firsto/lasto/appendo/e.t.c? If you know of simpler solution, that would still give me a nice string interface, I would like to hear about it :-) Thanks! Adam PS:

Re: Functional programming and security

2014-05-04 Thread Adam Saleh
Well, what does it mean to write secure programs? Citation needed :) I remember a lengthy discussion with coleague of mine about writing cryptography primitives in haskell. I suggested, that haskells strong typing and syntax well suited for expressing mathematics, combined with good speed makes

Re: Safely flush old value out of an atom

2013-09-19 Thread Adam Clements
type operation. Adam Adam Clements +44 7947 724 795 -- This email and any files transmitted with it are confidential. If you are not the intended recipient, you are hereby notified that any disclosure, distribution or copying of this communication is strictly prohibited. On Thu, Sep 19, 2013

Safely flush old value out of an atom

2013-09-19 Thread Adam Clements
x27;user/a => (flush! a []) [1 2 3 4] => @a [] Is there already a standard library fn I should be using for this? Is this a bad idea for some reason I don't fathom? Adam https://github.com/AdamClements -- -- You received this message because you are subscribed to the Google Groups &quo

Re: [ANN] XCLJB v0.1.0: X protocol Clojure-language Binding

2013-09-25 Thread Adam Clements
Have you looked at core.async for shuttling asynchronous events back and forth. This sounds to me like the sort of thing it was designed for On 10 Sep 2013 06:30, "Vincent Chen" wrote: > Hello everyone, > > XCLJB is a Clojure language binding for the X Window System, similar > to the XCB (the X p

Re: [ANN]: ova 0.9.6 - the bestest mutable array ever! (with lots of documentation)

2013-10-02 Thread Adam Clements
m and allows you to query for sets of entities affected by a given system really easily in a threadsafe way. Thanks! Adam On Mon, Sep 30, 2013 at 1:33 AM, zcaudate wrote: > http://z.caudate.me/ova/ > > ova has been designed especially for dealing with shared mutable state in > multi-thre

Re: clojars.org image for latest version of a project

2013-10-10 Thread Adam Clements
was using a supported api! I find it ridiculously useful not having to go to my browser to look up the latest version of libraries I use all the time. Adam Adam Clements +44 7947 724 795 -- This email and any files transmitted with it are confidential. If you are not the intended recipient, you

Re: clojars.org image for latest version of a project

2013-10-11 Thread Adam Clements
That's great, gets exactly the information I need from all the repositories. I'll go fix up my library to use this instead. Thanks for the tip off. Adam Clements +44 7947 724 795 -- This email and any files transmitted with it are confidential. If you are not the intended recipien

Re: clojars.org image for latest version of a project

2013-10-11 Thread Adam Clements
t the deps inline and automatically add it to your running nrepl. Adam Clements +44 7947 724 795 -- This email and any files transmitted with it are confidential. If you are not the intended recipient, you are hereby notified that any disclosure, distribution or copying of this communication i

[ANN] latest-clojure-libraries emacs plugin

2013-10-22 Thread Adam Clements
es without restarting your program! Further details and installation instructions are in the README at: https://github.com/AdamClements/latest-clojure-libraries Many thanks to Yannick Scherer (xsc) for incorporating the necessary command into lein-ancient Adam Clements [1] https://github.com/xsc/le

[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

[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,

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 li

Re: [ANN] Schejulure 0.1.1

2013-01-18 Thread Adam Clements
more stopping/starting scheduled tasks and automatically cleaning up the executor service if it's no longer needed that would be great. Adam Clements On Fri, Jan 18, 2013 at 9:50 PM, Marko Topolnik wrote: > > This looks great. I was building a couple of applications that run >> p

Re: [ANN] Schejulure 0.1.1

2013-01-19 Thread Adam Clements
affecting subsequent scheduled tasks, which I think is a reasonable restriction to make given the resulting simplicity. Thanks again for the useful feedback. Adam On 19 Jan 2013 09:53, "Marko Topolnik" wrote: > There is no need to wrap the Executor Service in a* delay* because

[ANN] sampling - A Clojure library for random sampling

2013-01-22 Thread Adam Ashenfelter
BigML is happy to open source our Clojure random sampling library . The library offers: - Three varieties of sampling depending on your memory requirements (simple sampling, reservoir sampling, stream sampling) - Sample with r

Loading in jars with dependencies at runtime into separate classloaders with independent classpaths

2013-02-18 Thread Adam Clements
lojure for evaling in other classloaders, but I can't find any examples of doing both at once, and my experiments have so far been unsuccessful. Any hints would be much appreciated, Thanks, Adam -- -- You received this message because you are subscribed to the Google Groups "Clojur

Re: Loading in jars with dependencies at runtime into separate classloaders with independent classpaths

2013-02-19 Thread Adam Clements
rk out how to do just the classloading/dependency resolution part. I can't seem to find anything though. Does that happen within the JBoss AS part of it rather than in clojure? Any input is much appreciated, thanks Adam On Monday, February 18, 2013 7:07:21 PM UTC, Toby Crawley wrote: > &

Automatically looking up and adding dependencies

2013-02-22 Thread Adam Clements
would be nice. Anyway, have a play and let me know what you think, Adam -- -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - ple

Re: fold over a sequence

2013-03-12 Thread Adam Clements
a fair few minutes). How would feeding a line-seq into this compare to iota? And how would that compare to a version of iota tweaked to work in a slightly less eager fashion? Adam On Tuesday, March 12, 2013 1:34:43 PM UTC, Paul Butcher wrote: > > So this turned out to be pretty easy. I&

Re: [ANN] Timbre, an all-Clojure logging library

2013-03-15 Thread adam . neilson
I'd just like to thank you for writing this. It's perfect. On Monday, May 28, 2012 12:17:30 PM UTC+1, Peter Taoussanis wrote: > > Hi everyone, > > I recently lost it after spending 5+ hours trying to figure out why Log4j > had suddenly started swallowing all my messages [again]. Anyway, decided

[ANN] quit-yo-jibber 0.4.3 (Jabber library)

2013-03-27 Thread Adam Clements
Quit-yo-jibber is a fork of xmpp-clj based less around direct-response chatbots. It allows you to listen for presence changes, set availability and status messages and send messages unprompted among other things. It is stable and auto-reconnects if the network should drop. I use it in two proje

How to use clojure.core.logic to generate strings?

2013-04-04 Thread Adam Saleh
quot;" "Squirrell" "\""] "Squirrell"]) But I can't figure out how to force query to unify to a string: (l/run 1 [test-line] (l/fresh [query result] (l/== query (str "\"" result "\"")) (l/membero result (map

Re: How to use clojure.core.logic to generate strings?

2013-04-04 Thread Adam Saleh
Thanks, this got me quite far. But I'd like to create goals with string, for example currently I have no idea, how would I write a substring goal. Thanks for any suggestion! Adam -- -- You received this message because you are subscribed to the Google Groups "Clojure" group.

Superset goal in clojure.core.logic?

2013-04-07 Thread Adam Saleh
d a goal that enforces that "l" is a superset of "s". Any hints? Thanks! Adam -- -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com Note that posts from ne

Re: Superset goal in clojure.core.logic?

2013-04-07 Thread Adam Saleh
This seemed to do the trick :) (defne superseto "A relation where x, y are proper collections, such that y is superset x" [x y] ([() y]) ([[a . d] y] (membero a y) (superseto d y))) I modified appendo ... will try to create subseto goal in similar fashion so that I see where

Re: Superset goal in clojure.core.logic?

2013-04-07 Thread Adam Saleh
I forgot to run it with multiple goals, it seems it behaves the same :-/ -- -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please be patie

Re: Leiningen exception when run inside a project

2013-04-10 Thread Adam Clements
Your project.clj probably has unmatched brackets, this error means it hit the end of a file it was reading while still scanning for a closing bracket. On 10 Apr 2013 09:22, "Dmytro Kozhukhar" wrote: > Hello everyclojurer! > > Today I have problem with installing lein on WinXP. > > Lein run just f

[ANN] Schejulure 0.1.3

2013-04-15 Thread Adam Clements
0.1.3 - Bugfix release fixing a discrepancy between clj-time and cron's representation of Sunday (thanks dwwoelfel) *What is Schejulure?* Schejulure is a lightweight, cron-inspired, minute resolution scheduling library. It has a neat, concise api and no stateful central scheduler. It's tiny (~

Re: [ANN] Schejulure 0.1.3

2013-04-15 Thread Adam Clements
I forgot to mention, schejulure can be obtained from the normal places: Github: https://github.com/AdamClements/schejulure Clojars: [schejulure "0.1.3"] Adam Clements +44 7947 724 795 -- This email and any files transmitted with it are confidential. If you are not the intended reci

[ANN] conf-er 1.0.1

2013-05-02 Thread Adam Clements
nf-er. You can do this like so: (ns my.library > (:require [conf-er :refer [config]])) > (config ::number) => 42 Here :number will expand out to the namespaced keyword :my.library/number, which we put in our configuration file earlier. Hope this is of use to some peo

Re: [ANN] conf-er 1.0.1

2013-05-06 Thread Adam Clements
> 42)) If you do that for now, I'll include a tests util in the next release which does the same from a guaranteed stable api function Adam On 6 May 2013 01:46, "Russell Mull" wrote: > This looks simple and useful, thanks! > > Supposing I had a function that call

Stepping, debugging in REPL

2010-07-13 Thread Adam Schmideg
I just made this debugger. It works but is still a bit rough around the edges. I'd be happy to hear your feedback. http://code.google.com/p/taskberry/wiki/Stepl -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clo

Re: Stepping, debugging in REPL

2010-07-15 Thread Adam Schmideg
Hi Meikel, thanks for your feedback. On Jul 14, 11:17 am, Meikel Brandmeyer wrote: > Hi, > > On Jul 13, 10:24 am, Adam Schmideg wrote: > > > I just made this debugger.  It works but is still a bit rough around > > the edges.  I'd be happy to hear your > >

Re: Stepping, debugging in REPL

2010-07-15 Thread Adam Schmideg
Thank you, Meikel, for trying it out and for your feedback. It seems there is more work ahead to be done. Jul 14, 11:17 am, Meikel Brandmeyer wrote: > Hi, > > On Jul 13, 10:24 am, Adam Schmideg wrote: > > > I just made this debugger.  It works but is still a bit rough ar

Idea - generic conversion multimethod

2010-07-23 Thread Adam Schmideg
e implementations (defmethod to [Integer String] [s _] (try (Integer/parseInt s) (catch NumberFormatException e nil))) (defmethod to [String Integer] [i _] (str i)) etc and we can simply use (to Integer "3") Besides simplicity, this would be more easily extensible, so it would fit nice

  1   2   >