Re: clojure.edn/read isn't spec compliant

2020-11-08 Thread Robert M. Mather
In idealized algorithmic terms, is there an efficiency justification for distinguishing the ':/' and ':/something' cases as the reader does? Seems like an artifact of the implementation rather than a time or space optimization. Maybe that error is only recognized upon entering the sub-parser for t

Re: Deep Learning for Programmers book 0.16.0: new chapter on Multi-class classification and metrics

2020-05-10 Thread Ali M
Why a subscription model for a book wouldn't that make the book very expensive ? On Thursday, April 2, 2020 at 6:06:33 AM UTC-4, Dragan Djuric wrote: > > Deep Learning for Programmers: An Interactive Tutorial with CUDA, OpenCL, > DNNL, Java, and Clojure > version 0.16.0 is available at > http

Re: COVID-19 related layoffs

2020-03-19 Thread M Arcino239
Great idea On Thu, Mar 19, 2020, 2:04 AM wrote: > I do agree - it hit workers in other industries much severely than ours. > We probably should try to help them. However, many of us have been in the > software building business for many years. We know "the logistics" of the > processes involved,

Re: hello world question !!!

2017-10-31 Thread John M. Switlik
Thanks. I have been using clojure, as an example, on discussions on Quora. In essence, extrapolating from Lisp, pre-web, to clojure. Now, is that a huge leap? I don't expect so. I saw the approximation of something built on Lisp re-done (or attempted, anyway) via objective-C. The trade offs were ob

Re: hello world question !!!

2017-10-30 Thread John M. Switlik
Forgot a link. https://www.quora.com/What-did-Alan-Kay-mean-by-Lisp-is-the-greatest-single-programming-language-ever-designed/answer/John-M-Switlik -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email

Re: hello world question !!!

2017-10-30 Thread John M. Switlik
Hey, clojure world, your work got this old Lisp guy excited. Keep up the good work. It has been three weeks so far since I first saw the paper showing clojure as being (well, they said marginally, but I think more) better (in a quality sense) than most. What I have seen in terms of usage, and poten

Re: hello world question !!!

2017-10-14 Thread John M. Switlik
James, Thanks. I saw a writeup mentioning Leiningen that I will go back to. It is not the 'toy' issue that concerns me. It is that all sorts of browsers exist as well as a whole slew of different types of users. And, if I am going to push something down to a remote device, I want to expect that i

Re: hello world question !!!

2017-10-13 Thread John M. Switlik
Damien, This is just an aside. Thanks for the question. I have not even tried Clojure, yet. So, this is good for me to follow. BTW, I have done Java (since the '90s) and so know of the 'coffee' stains everywhere. Yet, given the Lisp basis, I want to see how to make Clojure easier for the cau

Re: Updating repeated nested structures?

2017-10-10 Thread aleks m s
for exactly this use-case and really nice, despite the somewhat funky syntax. (ns foo.core (:require [com.rpl.specter :as sp])) (def m {:qs [{:nums [3 1 2]} {:nums [7 4]}]}) (sp/transform [:qs sp/ALL :nums sp/ALL] inc m) ;;=> {:qs [{:nums [4 2 3]} {:nums [8 5]}]} On Tuesday, October

Re: Clojure examples

2017-10-10 Thread John M. Switlik
And so, starting today with Google App Engine. -- 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 patient with your first post. To

Re: Clojure examples

2017-10-08 Thread John M. Switlik
Context: STEM with quality gets the heads out of silicon. Clojure will be the central enabler. Just like we have diversity in human affairs, so too ought computing be multi (disciplinary, hetero, …). https://www.quora.com/What-could-boost-Clojure-adoption/answer/John-M-Switlik Funny thing. I

Clojure examples

2017-10-07 Thread John M. Switlik
I am newly registered, having just been reminded of Clojure by an article in the CACM. https://cacm.acm.org/magazines/2017/10/221326-a-large-scale-study-of-programming-languages-and-code-quality-in-github/fulltext Clojure, and its functional buddies, rated well. Too, I have been thinking

Re: [ANN] Clojure 1.9.0-alpha11

2016-08-19 Thread Howard M. Lewis Ship
I saw your PR for io.aviso/pretty ... thanks! I can't imagine how much work it must be to track all of those things down ... On Friday, 19 August 2016 11:35:31 UTC-7, Alex Miller wrote: > > One thing to note is that the new specs for clojure.core means that there > is a reasonable amount of (br

Re: [ANN] Clojure 1.9.0-alpha5

2016-07-15 Thread Howard M. Lewis Ship
I hit this too and after an embarrasingly long time, found out the `lein clean` took care of it; I had some previously AOTed code lying around in target. -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@goo

Re: Generate all possible teams

2015-10-05 Thread Franklin M. Siler
On Oct 5, 2015, at 0545, andrea crotti wrote: > Any idea how to make this faster? > Other advices on the code are welcome as well.. Why not generate the the possible left-hand teams and then cartesian product with the leftover players? E.g., if you want to match 2 on 2 and have players A B C

Re: numbers, why?

2015-09-04 Thread Ali M
ber 4, 2015 at 10:51:15 AM UTC-4, dennis wrote: > > Because the literal is readed as BigInt: > > user=> (class 6546546546546546546850348954895480584039545804 ) > clojure.lang.BigInt > > 2015-09-04 22:48 GMT+08:00 Ali M >: > >> why? >> >> >&g

numbers, why?

2015-09-04 Thread Ali M
why? user=> (+ 6546546546546546546850348954895480584039545804 7548979534287548957345843954749357348757897) 6554095526080834095807694798850229941388303701N user=> (+ Long/MAX_VALUE Long/MAX_VALUE) ArithmeticException integer overflow clojure.lang.Numbers.throwIntOverflow (Numbers.java:1501)

Re: Joda Time version conflict? "Initializing JollyDayHoliday for SUTime"

2015-07-06 Thread Franklin M. Siler
On Jul 6, 2015, at 1058, gingersafflo...@gmail.com wrote: > Sean Corfield, > > Thanks for this. I can go through my code and try to remove all of the uses > of JodaTime in my own code, but, as that would be some work, I'd like to > first confirm the diagnoses. Can you think of a way I might be

Re: Is there a cheet sheet for some of the pure symbolic functions like #'

2015-06-05 Thread Franklin M. Siler
On Jun 5, 2015, at 1505, Dru Sellers wrote: > Trying to google what #' means is tricky to say the least. > > Is there a good name for these that I can google to read up on them? Good article. https://yobriefca.se/blog/2014/05/19/the-weird-and-wonderful-characters-of-clojure/ Frank -- You r

Re: [ANN] Time-Bombed Open License - thoughts?

2015-06-05 Thread Franklin M. Siler
agreement, so the enforceability of the system as a whole can get quite messy. All I’m saying here: I’m not sure that a court will buy that “if you do X before this date, I won’t sue you; but then if you do this after Y date, I will” is a valid license. It’s certainly not the norm. Frank Frankli

Re: [ANN] Time-Bombed Open License - thoughts?

2015-06-05 Thread Franklin M. Siler
s directed to publicize the source. I wrote a bit more about related issues for Mailpile: http://franksiler.com/on-choosing-open-licenses/ Frank Franklin M. Siler Counselor at Law||| franksiler.com -- You received this message because you are subscribed to the Google Groups "Clo

Re: A more flexible versio of -> ?

2015-05-04 Thread Franklin M. Siler
On May 4, 2015, at 1546, Kaiyin Zhong wrote: > Wouldn't be nice to have something like: See also Swiss Arrows: https://github.com/rplevy/swiss-arrows Great article on “hard to Google” forms in Clojure: https://yobriefca.se/blog/2014/05/19/the-weird-and-wonderful-characters-of-clojure/ Frank`

Re: gemacl: Scientific computing application written in Clojure

2014-12-22 Thread Jose M. Perez Sanchez
Thank you very much for your replies. I will definitely take a look at core.matrix. I really hate the fact that I had to use Java arrays to make it fast. I'll take a look at transducers as well. Kind regards, Jose. On Monday, December 22, 2014 7:09:27 PM UTC-5, Christopher Small wrote: > > I'

Re: gemacl: Scientific computing application written in Clojure

2014-12-21 Thread Jose M. Perez Sanchez
over several optimizations, please contact me. Kind regards, Jose. On Sunday, December 21, 2014 3:38:35 AM UTC-5, Jose M. Perez Sanchez wrote: > > > Hi everyone: > > Sorry that it has taken so long. I've just released the software in > GitHub under the EPL. It can be

Re: gemacl: Scientific computing application written in Clojure

2014-12-21 Thread Jose M. Perez Sanchez
Hi everyone: Sorry that it has taken so long. I've just released the software in GitHub under the EPL. It can be found at: https://github.com/iosephus/gema Kind regards, Jose. -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this grou

Re: How is Matthias' transcripts license going?

2014-10-29 Thread Franklin M. Siler
> On Oct 29, 2014, at 10:28, Fluid Dynamics wrote: > > But, you should get a second opinion from a practicing lawyer before > proceeding, unless the plan is to just "leak" the fan translations > anonymously in some untraceable way. :) Practicing lawyer says get t

Re: Calling the main static method of a class

2014-09-26 Thread M Guti
=>(AClass/main ( into-array String ["23"] )) and if the AClass is in the same dir of the invocation then include it in the class path : java -cp clojure-1.6.0.jar:. clojure.main El viernes, 26 de septiembre de 2014 11:12:41 UTC+2, paracomunicaci...@gmail.com escribió: > > hi, > > I've got

Re: [PSA] Clojars scp disabled until further notice

2014-09-26 Thread Howard M. Lewis Ship
There's a number of options out there for collecting small recurring payments. I already make regular payments to Wikipedia and a couple of others (including GitHub), and would be willing to kick in some money towards Clojars. The question is: what is a reasonable amount? This is tricky; I'm

Sequential processing of the data

2014-08-02 Thread Alexandr M.
Hello everyone, I have started learning Clojure recently. Could you please point me out what is the best way to replicate the next Python script in Clojure: https://gist.github.com/alexvmblog/a3e3bfffa732ca3d3738#file-seqprocess-py Quite frequently I have this kind of tasks when it's needed to

Re: gemacl: Scientific computing application written in Clojure

2014-06-03 Thread Jose M. Perez Sanchez
Will take a look at the bigml/sampling library... On Tuesday, June 3, 2014 7:52:06 PM UTC-4, Jose M. Perez Sanchez wrote: > > > Thank you very much. I'm using the Colt random number generator directly. > I've managed to reduce computing time by orders of magnitude using

Re: gemacl: Scientific computing application written in Clojure

2014-06-03 Thread Jose M. Perez Sanchez
Thank you very much. I'm using the Colt random number generator directly. I've managed to reduce computing time by orders of magnitude using type hints and java arrays in some critical parts. I haven't had the time to write a report on this for the list, since have been busy with other project

Re: braveclojure problem ( paste into emacs)

2014-04-16 Thread m
a little cheatsheet with things like that for emacs (you have your C-y to paste there, and other stuff like that) ​ http://sachachua.com/blog/wp-content/uploads/2013/05/How-to-Learn-Emacs8.png Have fun! On Wed, Apr 16, 2014 at 2:12 PM, Roelof Wobben wrote: > hello, > > ctrl-y did the job. > >

Re: [ANN] Clojure 1.6.0-beta1

2014-02-14 Thread Howard M. Lewis Ship
> > Looking forward to this ... any ideas on submitted issues w/ valid patches > that are in limbo? (*) > (*) No good deed, such as this beta release announcement, goes unpunished. -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this

Re: [ANN] Optimus - a Ring middleware for frontend performance optimization.

2013-12-02 Thread Howard M. Lewis Ship
On Monday, 25 November 2013 18:12:28 UTC-8, Paul Biggar wrote: > > [FYI: I'm the author/forker of stefon] > > These libraries aren't bad, but to be honest, I think we've done it all > wrong. We're just all scratching our own itches, not writing reusable > components (unlike most of the rest of

Re: [ANN] Optimus - a Ring middleware for frontend performance optimization.

2013-12-02 Thread Howard M. Lewis Ship
On Wednesday, 27 November 2013 11:11:56 UTC-8, Magnar Sveen wrote: > > > On Wednesday, November 27, 2013 1:08:34 PM UTC+1, Stefan Kamphausen wrote: > > >> Howard has quite some experience with this and I'd expect he put a great >> deal of that into the new library. :-) >> > > Indeed. There's

Re: gemacl: Scientific computing application written in Clojure

2013-11-23 Thread Jose M. Perez Sanchez
Yes, the step extract function encodes the total number of steps and any intermediate steps whose values are to be saved. I did the following changes to the code: 1 - Store results locally in the threads and return them when the thread function exits, instead of using global vector. This does n

Re: gemacl: Scientific computing application written in Clojure

2013-11-18 Thread Jose M. Perez Sanchez
Hi Andy, cej38, kovas: Thanks for the replies. I plan to release the whole code soon (waiting for institutional authorization). I do use lazyness both within the move function to select the allowed random displacements and when iterating the move function to generate the trajectory. Lazy struc

Re: gemacl: Scientific computing application written in Clojure

2013-11-09 Thread Jose M. Perez Sanchez
Hi Andy: Yes, this breaks embarrassing parallelism indeed. When the calculations are done for real this isn't a problem though, because these conj operations to the global list would happen sporadically (in average once every couple of seconds or so) so the probability of a thread waiting for

Re: gemacl: Scientific computing application written in Clojure

2013-11-09 Thread Jose M. Perez Sanchez
Hi Andy: Thanks a lot for your reply. I'll do more careful testing in the very near future and there is surely a lot to optimize in my code. I must say I did expect computing speed reduction coming from an already optimized codebase with the perfomance critical parts written in C, and there is

gemacl: Scientific computing application written in Clojure

2013-11-08 Thread Jose M. Perez Sanchez
Hello everyone: This is my first post here. I'm a researcher writing a numerical simulation software in Clojure. Actually, I'm porting an app a coworker and I wrote in C/Python (called GEMA) to Clojure: The app has been in use for a while at our group, but became very difficult to maintain due

Re: [ANN] Clojure 1.6.0-alpha2 release

2013-11-07 Thread Howard M. Lewis Ship
Any idea how I can push that patch I submitted (toString for functions) along? It's in purgatory now. On Thursday, 7 November 2013 13:04:19 UTC-8, Alex Miller wrote: > > Clojure 1.6.0-alpha2 is now available. > > Try it via > - Download: > http://central.maven.org/maven2/org/clojure/clojure/

What non-deprecated Clojure Web libraries to use?

2013-10-27 Thread Scott M
Ring seems well maintained, but Noir and Compojure are marked deprecated. Can anyone lay out a Clojure Web library "stack" (up to templating) that is current and maintained? Any and all sagacious wisdom greatly appreciated - thanks! - Scott -- -- You received this message because you are su

Re: core.async: communicating termination

2013-07-12 Thread Víctor M . Valenzuela
> > Querying the state of a channel at worst leads to race conditions and at > best leads to bad design. > The open/closed state of a channel is simple to reason about (it only changes, if ever, once), unlike the rest of state that is associated to a given channel... You're only supposed to close

Re: Don't understand why this core.async code fails

2013-07-08 Thread Víctor M . Valenzuela
The downside of #'thread (just as with send-off) is that it can use arbitrarily many threads for performing IO ops. And while some IO tasks benefit from performing them from multiple threads (for fairness, perf), others don't (e.g. writing to a log, AFAICT). And in no case one wants to spawn a thou

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

2013-05-01 Thread Víctor M . Valenzuela
ns with a few well defined data structures). The >> other huge win is the REPL. Trying things out, viewing the doc or source >> of functions etc. is just such a liberating experience. >> >> Try M-. (and M-,) on a symbol. If your nrepl is set up correctly, etc. >> th

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

2013-05-01 Thread Víctor M . Valenzuela
> > My constant frustration now is deciding whether to spend the time > improving my emacs skills (at the level of mainly implementing keybindings) > or improving my lein and Clojure skills. > One skill can help bootstrapping the other :) clojure.core/trampoline style. Thanks for sharing your exp

Re: Imported Java lib can't find classes compiled on the fly

2013-03-17 Thread Víctor M . Valenzuela
13 4:05:51 AM UTC+1, vemv wrote: > >> My guess is it was set via Thread.currentThread().** >> setContextClassLoader()...? >> >> On Sun, Mar 17, 2013 at 3:07 AM, Víctor M. Valenzuela wrote: >> >>> Yeah I was working in that direction now! >>> >>&g

Re: Generate static methods at runtime?

2013-03-17 Thread Víctor M . Valenzuela
Yeah I guess it could work, did you have in mind something like programmatically running `lein compile`? Can the JVM handle .class files written on the fly? Anyway, for my particular problem I don't need runtime-compiled static methods anymore. On Sun, Mar 17, 2013 at 7:34 AM, Marko Topolnik wro

Re: Imported Java lib can't find classes compiled on the fly

2013-03-16 Thread Víctor M . Valenzuela
My guess is it was set via Thread.currentThread().setContextClassLoader()...? On Sun, Mar 17, 2013 at 3:07 AM, Víctor M. Valenzuela wrote: > Yeah I was working in that direction now! > > Anyway, how come (Class/forName) can work if used from the repl? My > understanding is that the

Re: Imported Java lib can't find classes compiled on the fly

2013-03-16 Thread Víctor M . Valenzuela
Yeah I was working in that direction now! Anyway, how come (Class/forName) can work if used from the repl? My understanding is that the classloader provided by Class is different from DynamicClassLoader. On Sun, Mar 17, 2013 at 3:01 AM, Michael Klishin < michael.s.klis...@gmail.com> wrote: > > 2

Re: Generate static methods at runtime?

2013-03-16 Thread Víctor M . Valenzuela
Interop, what else :) the lib is called Nailgun, several Clojure projects use it. You feed its Java server with classes that have a static main() method, and then C clients can call those main() methods via sockets. The point is to avoid JVM startup time. An example: https://gist.github.com/vemv/

Re: Google Summer of Code 2013

2013-03-16 Thread Víctor M . Valenzuela
Hello Daniel, my bad, the application period indeed starts on Monday. Sorry for the noise. Can I propose (complete) ideas if I've not found a mentor for them yet? Thank you - Vicotor On Sat, Mar 16, 2013 at 7:46 PM, Daniel Solano Gómez wrote: > Hello, Victor, > > I think the application period

Re: Google Summer of Code 2013 Ideas

2013-03-16 Thread Víctor M . Valenzuela
Well, try contacting cemerick himself :) Same for any project you'd like to contribute to, authors/commiters should be the safest bet when looking for a mentor. On Sat, Mar 16, 2013 at 6:13 PM, Chris Bui < hesbornaliarhelldieal...@gmail.com> wrote: > I'd love to work on cemerick's Friend library

Re: Using Leiningen 2.1.0-SNAPSHOT

2013-03-15 Thread Víctor M . Valenzuela
Thank you Michael. Victor On Sat, Mar 16, 2013 at 1:03 AM, Michael Klishin < michael.s.klis...@gmail.com> wrote: > > 2013/3/16 Víctor M. Valenzuela > > Then what's the correct way to update one's lein clone - just by git >> pulling or do I need an extra ste

Re: Using Leiningen 2.1.0-SNAPSHOT

2013-03-15 Thread Víctor M . Valenzuela
Thank you! Then what's the correct way to update one's lein clone - just by git pulling or do I need an extra step? On Sat, Mar 16, 2013 at 12:20 AM, Michael Klishin < michael.s.klis...@gmail.com> wrote: > > 2013/3/16 vemv > >> How to use the development version of Lein? > > > > https://github.

Re: AOT and side-effects associated to ns initialization

2013-02-27 Thread Víctor M . V .
Much clearer now :) Never heard of that *compile-files* var. Having to resort to it looks pretty nasty anyway - I'd rather refactor my code instead. Thanks for the answer Luc! On Thu, Feb 28, 2013 at 2:44 AM, Softaddicts wrote: > Of course, the expression needs to be evaluated at runtime only :)

Re: The case for as->> ("as-last")

2013-02-18 Thread Víctor M . V .
Fair enough. Now I'm beggining to truly appreciate as->, thank you. I still believe as->> would be somewhat useful but I don't see it getting added to clojure.core now. On Mon, Feb 18, 2013 at 9:10 PM, Marko Topolnik wrote: > as-> is meant to be used as the only threading form. In your example yo

Re: The case for as->> ("as-last")

2013-02-18 Thread Víctor M . V .
That extra parenses trick is neat, never thought of that! As for as->> being redundant - it could be considered so indeed, given that as-> can be lambified: (->> [] (#(as-> % x (map inc x - but that's pretty damn ugly haha. If you were thinking something else, please let me know. Thanks - Vic

Re: Why is this so difficult?

2013-02-15 Thread Víctor M . V .
;>> the resulting file is rather large 200MB or so, so we'd need to find >>> hosting for that. >>> >>> >>> On Friday, February 15, 2013 6:09:14 PM UTC+1, vemv wrote: >>> >>>> Now I think it, if automating the CCW plugin install is

Re: Why is this so difficult?

2013-02-15 Thread Víctor M . V .
, vemv wrote: > >> Now I think it, if automating the CCW plugin install is too difficult >> (Eclipse is very script-unfriendly) we could just mantain an >> already-configured setup ready to download. In other words, zipping and >> uploading a clean `eclipse` folder. >>

Re: Why is this so difficult?

2013-02-15 Thread Víctor M . V .
Now I think it, if automating the CCW plugin install is too difficult (Eclipse is very script-unfriendly) we could just mantain an already-configured setup ready to download. In other words, zipping and uploading a clean `eclipse` folder. On Fri, Feb 15, 2013 at 6:03 PM, Víctor M. V. wrote

Re: Why is this so difficult?

2013-02-15 Thread Víctor M . V .
on the CCW hang you mention - I saw an issue that was marked as "critical" on the bug tracker, two weeks ago. As I can't find it anymore I assume it's been fixed. Are you sure you're using the absolute latest version? If you are, you should open an issue. I like your idea. Assuming curl is instal

Re: Why is this so difficult?

2013-02-15 Thread Víctor M . V .
Phil, while I don't know the specific application you're working on, distributing Clojure apps to end users should't be any more difficult than distributing Java apps. Are you familiar with `lein uberjar`? As for Linux installation, curling and executing a single script can't be that much work...?

Re: Why is this so difficult?

2013-02-15 Thread Víctor M . V .
Well, given that you've mentioned Ruby, I can tell you that getting real work done (no just a installing some welcome pack) in Ruby is orders of magnitude harder than with Clojure - and borderline impossible if using Windows. What Lein does is divided into a dozen tools, each with its own idiosyncr

Re: Why is this so difficult?

2013-02-15 Thread Víctor M . V .
While it's perfectly useful and valuable to learn Maven, you need not to dive into it for most purposes in the Clojure world - Leiningen effectively abstracts its complexities and rigidities (which, I hear, are many). On Fri, Feb 15, 2013 at 10:17 AM, BJG145 wrote: > (Loads of great advice and i

Re: Pretty-printing `lein test`s output?

2013-02-15 Thread Víctor M . V .
I just tried out both lein-difftest and gui-diff and they work just great. I'd love a `lein test` command that defaulted to the former and could resort to the latter when things got hairy. But that's just wishful thinking at the moment :) Thanks you Sean for the advice as well - the workflow you d

Re: Why is this so difficult?

2013-02-14 Thread Víctor M . V .
Well the first thing you assume is that project pages should be giant download buttons, and therefore the exposed content in those pages is not worth reading/understanding. For instance you can find the answer to the question posed in the slide 19 in slide 7. Just imagine if every single open sour

Re: `let` to automatically add metadata / fn names?

2013-02-09 Thread Víctor M . V .
Thanks for the advice Stu! I might give it a shot at Confluence at some point. Just for the record, I like to defend my hypotethical approach: Non-Clojure consumers most likely win nothing from extended metadata facilities etc. So on second thoughts, the best default for "mylib-*1.0.0*.jar" is to

Re: iOS and Windows RT support?

2013-01-24 Thread Víctor M . V .
>From what I can read, what one can't install is a JVM, an arbitrary code interpreter, etc. A program compiled to ARM objcode would be legal. So would be an interpreter iff it only executes the bundled code with it. On Thu, Jan 24, 2013 at 4:39 PM, Jack Moffitt wrote: > > Relatively succesfull e

Re: Clojure Programming is a great book

2012-09-22 Thread Ali M.
Greetings, I also just got this book as an ebook from oreilly, they were having 50% off of everything (or at least ebooks) Anyway, is there a dedicated mailing list to discuss this book? I plan to read most of it in the next month or so :) It would be nice if there is a mailing list where I can r

Re: Immutant 0.3.0 released

2012-09-16 Thread Ali M
Greetings Jim Can you please elaborate more on this line ... maybe give examples On Wednesday, September 12, 2012 3:45:56 AM UTC+2, Jim Crossley wrote: > > ... > For certain applications, I would recommend using libraries to access > external processes like Memcached, RabbitMQ, or cron, for exa

Re: Protocol methods, name shadowing and dot notation

2012-09-03 Thread Víctor M . V .
Oh, I understand. Works in ClojureScript as well! I noticed that in this line (protocols/get [_] 42) One can safely drop the namespace qualification. Thank you very much Matthias - this issue was certainly a blocker for me. On Mon, Sep 3, 2012 at 5:54 PM, Matthias Benkard wrote: > You have re

ANN: mcmc: a Clojure Library for MCMC Computations

2012-07-14 Thread Will M. Farr
Hello all, I just posted a library for MCMC (Markov Chain Monte Carlo) computations in Clojure on GitHub: https://github.com/farr/mcmc-clojure It is *very much* in a 0.0.1 state, but I have found it useful for a few astrostatistics projects I've done---in other words, there isn't a lot there, it

Re: ClojureScript instead of CoffeeScript for complete web app development?

2012-06-28 Thread Christian M.
I have developed a tiny web app in Clojure/ClojureScript and have written an overview here . In general, it was an exciting experience, but I also faced several problems with ClojureScript. For example, if you compile your code to JS, then the

Re: : Breaking change coming WRT object property access syntax

2011-10-15 Thread m...@sharedlogic.ca
On Oct 14, 11:23 pm, Devin Walters wrote: > Responding to an earlier point in this thread: Now is the time for breaking > changes. ClojureScript is alpha. Use in production by enterprising folk > should not be discouraged, but at the sa(m|n)e time, I don't believe there > ha

Re: New to Clojure

2011-06-09 Thread Santosh M
rt. > > On Jun 9, 12:15 am, Santosh M wrote: > > > > > > > > > I just found out three books on closure, please tell me which is the > > best one to start with? > > > 1 - The Joy of Clojure > > 2 - Programming Clojure > > 3 - Practical

Re: New to Clojure

2011-06-08 Thread Santosh M
I just found out three books on closure, please tell me which is the best one to start with? 1 - The Joy of Clojure 2 - Programming Clojure 3 - Practical Clojure On Jun 8, 9:03 pm, Santosh M wrote: > Thank you all for the suggestions. > Will keep posting my queries on the google

Re: New to Clojure

2011-06-08 Thread Santosh M
ot. If it passes, one can see how short > their own code compared with others. In searching a shorter solution, > one often learns some functional tricks. Also, the site forces one to > work with core Clojure functions only, and the use of def is not > allowed. > > On Jun 7, 12:

Re: New to Clojure

2011-06-08 Thread Santosh M
o > concurrency:http://www.infoq.com/presentations/Value-Identity-State-Rich-Hickey > - I've found StackOverflow to be a great resource for Clojure tricks > and hints > > Hope this helps - and good luck! > >    Mike. > > On Jun 7, 8:30 pm, Santosh M wrote: >

New to Clojure

2011-06-07 Thread Santosh M
I want to learn clojure. I already know Java. Please tell me how to proceed. Regards Santosh -- 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

Re: Please help! Really simple function not working.

2010-08-10 Thread Will M. Farr
Maybe this point about Racket is too off-topic for the list, but: On Aug 10, 2010, at 4:55 AM, Mark Engelberg wrote: > Generally speaking, I find I do not have to worry about "blowing the > stack" in Scheme, and as a result, non-tail-call structural recursion > (such as the algorithm that kicked

Re: Make a loop in a loop

2010-07-07 Thread Dave M
On Jul 7, 5:06 pm, Isak Hansen wrote: > On Wed, Jul 7, 2010 at 5:00 PM, Lars Nilsson wrote: > > > Maybe > > > (doseq [year (range 1999 2010 1)] > >  (doseq [month (range 1 53 1)] > >    (print-data year range))) > > You could also do this with dotimes instead of doseq. Doesn't matter > for Ns thi

Installing labrepl on netbeans 6.8, problem building labrepl project

2010-06-17 Thread Filipe M R
Hello everybody! I followed the instructions given...everything ok till when I try to build the labrepl project, it builds till 37% and then stops with this output [ERROR]Transitive dependency resolution for scope: compile has failed for your project. [ERROR]Error message: Failed to resolve artif

Re: Translation from Common Lisp 2

2010-03-18 Thread Dave M
... > (game-action weld chain bucket attic >          (if ((and (have 'bucket) (alter-var-root (var *chain-welded*) (fn ^ Your if-condition is nested one form too deeply; try "(if (and (have 'bucket) ...) ...)" I haven't tried it, so there might be other problems. -Dave -- You

Re: Is str supposed to be able to output lazy strings?

2009-12-06 Thread Dave M
On Dec 6, 1:20 pm, CuppoJava wrote: > This is expected behavior. > > eg. (str (map identity [1 2 3])) > returns "clojure.lang.lazy...@7861" > > The way to think about it is, (str) asks for the string representation > of an object. The string representation of a lazy sequence in this > case is "cl

Re: Java Class Factory

2009-12-02 Thread Dave M
On Dec 2, 11:15 pm, lazy1 wrote: > Hello, > > I'm trying to create a "factory" method for Java classes, however I'm > doing something wrong. > > (import '(java.util Dictionary HashMap)) > > (def *containers* { :dict Dictionary :hash HashMap}) > (defn new-container >   [type] >   (new (*container

Re: Space usage of lazy seqs

2009-12-02 Thread Dave M
On Dec 2, 9:09 pm, David Brown wrote: ... > If you're running JDK 6, you can run the virtualvm, or jconsole to get > a better handle on the memory usage, and even dig into what it might > used for. Google does not return useful references to a tool called virtualvm; perhaps you mean VisualVM (j

Re: Grails And Clojure

2009-07-19 Thread Howard M. Lewis Ship
On Jul 19, 1:24 pm, Vagif Verdi wrote: > On Jul 19, 9:49 am, Wilson MacGyver wrote: > > > There are already two webframework in clojure being developed.   > > Compojure and cascade. While I'm eagerly waiting to see how these two   > > and others will envole > > Not much to wait there. Compojur

java.lang.IllegalArgumentException: Wrong number of args passed to: When using Emacs + SLIME +

2009-03-15 Thread m
Hello, I think that I got a basic EMACS + SLIME + SWANK + Clojure setup on OS X Leopard, but I'm not sure about the behavior of one command. Since I'm new to all of this, I'm not sure which program is to blame and more than likely the problem is probably between the keyboard and chair. When I t

Proxy questions

2008-12-02 Thread Andrés M . Quijano
Hi I'm trying to use Clojure with Apache MINA. I think Clojure it's the ideal language to concurrently handle all the events that arrive into MINA's separate threads. So I tried to port the simplest example, the EchoServer (files here: http://svn.apache.org/viewvc/mina/branches/1.0/example/src/m