Re: Is any place to share articles about Clojure?

2015-08-24 Thread kinleyd
The Clojure community on G+ is another: https://plus.google.com/communities/103410768849046117338 On Monday, August 24, 2015 at 6:19:28 PM UTC+6, Krzysztof Władyka wrote: > > Hello, > > From time to time i am writing article on http://clojure.wladyka.eu/, but > the problem is nobody know about t

Re: Cursive and gen-class

2015-08-24 Thread Fluid Dynamics
Daniel Compton, your comment was neither nice, nor helpful, and doesn't have a place in the Clojure mailing list. Please keep your inflammatory comments to yourself. -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email

Re: Reviewers needed for new Clojure book!

2015-08-24 Thread Akhil Wali
Thank you everyone for the great response! I'll notify Packt and they shall contact anyone who is shortlisted as a reviwer. On Monday, August 24, 2015 at 12:16:06 PM UTC+5:30, Akhil Wali wrote: > > If anyone is interested in being a reviewer for a new book "*Mastering > Clojure*" by Packt Publis

Re: Cursive and gen-class

2015-08-24 Thread Daniel Compton
Fluid Dynamics, your comment was neither nice, nor helpful, and doesn't have a place in the Clojure mailing list. Please keep your inflammatory comments to yourself. On Tue, Aug 25, 2015 at 3:07 AM Alan Moore wrote: > FWIW - My experience with Eclipse vs IntelliJ is exactly the opposite - we > h

Re: [ANN] io.aviso/rook 0.1.36

2015-08-24 Thread Daniel Compton
Hi Howard Thanks for sharing this. Can you comment briefly on how this compares and contrasts to Liberator? I know they're not exactly the same, but they're definitely in the same neighbourhood. On Tue, Aug 25, 2015 at 3:31 AM Howard Lewis Ship wrote: > Rook is a set of middleware and handlers

Re: I am looking for xml parsing lib

2015-08-24 Thread Theodore Konukhov
I found this blog post very useful. It has a pretty great overview of XML parsing libs/techniques in Clojure. http://blog.korny.info/2014/03/08/xml-for-fun-and-profit.html - Theodore. On Monday, August 24, 2015 at 8:48:50 PM UTC+3, Josh Kamau wrote: > > Hello; > > Which is the recommended xml p

Re: Reviewers needed for new Clojure book!

2015-08-24 Thread Marc Mailhot
As a moderate level clojure programmer trying to dive into the deeper features this seems interesting. On Monday, 24 August 2015 02:46:06 UTC-4, Akhil Wali wrote: > > If anyone is interested in being a reviewer for a new book "*Mastering > Clojure*" by Packt Publishing, please let me know. > Rev

Re: [ANN] Clojure 1.8.0-alpha3

2015-08-24 Thread Sean Corfield
Just to keep everyone informed, we’ve now had enough time back on Clojure 1.7.0 to rule out 1.8.0 as the source of our very slow memory leak. Now we have the fun task of figuring out exactly what has introduced it :) Sean Corfield -- (904) 302-SEAN An Architect's View -- http://corfield.org/ "I

Re: [ANN] Skyscraper 0.1.0, a library for scraping entire websites

2015-08-24 Thread Bryan Maass
Thanks DJ, I think this is a good approach for scraping hierarchical (or not) sets of webpages and boiling them down to maps. On Tuesday, August 25, 2015 at 7:55:36 AM UTC+10, Daniel Janus wrote: > > [Reusing the relatively new thread to publish information about new > release:] > > Skyscraper

Reviewers needed for new Clojure book!

2015-08-24 Thread VaedaStrike
I'd be very interested. Clojure was my first language in programming. So i might be able to give a different perspective. -- 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 f

Re: Reviewers needed for new Clojure book!

2015-08-24 Thread m00nlight
I am also interested in some of the topics listed in this book, and would be happy to read through the previous release and offer feedback. Best Regards 2015-08-25 6:58 GMT+08:00 gvim : > Akhil > > Have you considered approaching O'Reilly or Pragmatic? Packt books tend to > be on the slim side w

Re: Reviewers needed for new Clojure book!

2015-08-24 Thread gvim
Akhil Have you considered approaching O'Reilly or Pragmatic? Packt books tend to be on the slim side which might affect your potential for covering so many topics in any kind of depth. IMHO they're also overpriced. gvim On 24/08/2015 07:46, Akhil Wali wrote: If anyone is interested in bei

Re: I am looking for xml parsing lib

2015-08-24 Thread Jordan Schatz
> > Which is the recommended xml parsing lib for clojure? I think you are after clojure.xml/parse http://conj.io/store/v1/org.clojure/clojure/1.7.0/clj/clojure.xml/parse/ and friends: http://conj.io/store/v1/org.clojure/clojure/1.7.0/clj/clojure.core/xml-seq/ http://conj.io/store/v1/org.clojure/c

Re: [ANN] Skyscraper 0.1.0, a library for scraping entire websites

2015-08-24 Thread Daniel Janus
[Reusing the relatively new thread to publish information about new release:] Skyscraper 0.1.1 is now out. New in this release: - Processors (process-fn functions) can now access current context. - Skyscraper now uses clj-http to issue HTTP GET re

Re: Reviewers needed for new Clojure book!

2015-08-24 Thread Chris Drane
I'd be interested. On Monday, August 24, 2015 at 2:46:06 AM UTC-4, Akhil Wali wrote: > > If anyone is interested in being a reviewer for a new book "*Mastering > Clojure*" by Packt Publishing, please let me know. > Reviewers will be entitled to a 6 montn subscription of PacktLib >

why there is java.lang.NoClassDefFoundError: clojure_mail/message$loading__4958__auto__, error

2015-08-24 Thread Chih Yang
I aot compile my project: :aot [my namespace] But I always get following error, this is crazy, can some one help me to troubleshooting what is going on? vagrant@precise32:/work/everbridge.qa$ lein compile Compiling everbridge.qa java.lang.NoClassDefFoundError: clojure_mail/message$loading__49

Re: Reviewers needed for new Clojure book!

2015-08-24 Thread Alan Thompson
HI Akhil - I would be interested. Alan On Mon, Aug 24, 2015 at 11:47 AM, blake watson wrote: > I'm in. > > On Mon, Aug 24, 2015 at 11:02 AM, Rick Moynihan > wrote: > >> I'd be happy to read it and potentially offer feedback. What is expected >> of reviewers? >> >> R. >> >> On Mon, 24 Aug 2015 0

Re: I am looking for xml parsing lib

2015-08-24 Thread blake watson
I believe that's it, though. On Mon, Aug 24, 2015 at 10:48 AM, Josh Kamau wrote: > Hello; > > Which is the recommended xml parsing lib for clojure? > > clojure.data.xml was last updated 10months ago and is still on version > 0.0.8 > > Thanks > Josh > > -- > You received this message because you

[ANN] stratege 0.1.0 - a strategic term rewriting library for clojure

2015-08-24 Thread Maik Schünemann
I am happy to announce the first release of stratege . stratege is a strategic term rewriting library inspired by StrategoXT that provides composeable strategy combinators, is based on zippers and internally uses continuation passing style, so that it doesn

Re: Reviewers needed for new Clojure book!

2015-08-24 Thread blake watson
I'm in. On Mon, Aug 24, 2015 at 11:02 AM, Rick Moynihan wrote: > I'd be happy to read it and potentially offer feedback. What is expected > of reviewers? > > R. > > On Mon, 24 Aug 2015 07:46 Akhil Wali wrote: > >> If anyone is interested in being a reviewer for a new book "*Mastering >> Clojure

Re: Why I'm getting NPE with zipper/next?

2015-08-24 Thread Hussein B.
I see. I tried to add more nested elements into my original structure but now the output isn't correct. My question is: Is it possible to implement a generic algorithm with Zippers that could traverse as long as needed and update an item? Maybe I'm doing zippers wrong in this case. Thanks a

Re: Reviewers needed for new Clojure book!

2015-08-24 Thread Rick Moynihan
I'd be happy to read it and potentially offer feedback. What is expected of reviewers? R. On Mon, 24 Aug 2015 07:46 Akhil Wali wrote: > If anyone is interested in being a reviewer for a new book "*Mastering > Clojure*" by Packt Publishing, please let me know. > Reviewers will be entitled to a 6

I am looking for xml parsing lib

2015-08-24 Thread Josh Kamau
Hello; Which is the recommended xml parsing lib for clojure? clojure.data.xml was last updated 10months ago and is still on version 0.0.8 Thanks Josh -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googl

Re: Why I'm getting NPE with zipper/next?

2015-08-24 Thread Moe Aboulkheir
Hussein, On Mon, Aug 24, 2015 at 5:40 PM, Hussein B. wrote: > But now the updated children is using list notation, not vector. Is it ok or > it is for displaying purposes? The collection type is now different, as the example I gave uses "reverse" as the transform, which is a generic sequence f

Re: Clojure bootstrap, what am I missing here?

2015-08-24 Thread Andy Fingerhut
William: Nicola Mometto has done a lot of work implementing Clojure in Clojure, but there is no time frame proposed anywhere that I am aware of for this implementation to become the one that is most widely used, if that ever happens. The reader and analyzer are pretty much complete, as far as I a

Re: Why I'm getting NPE with zipper/next?

2015-08-24 Thread Hussein B.
The result now is as desired: ({"a" {"b" 1, "c" 2}, "children" [{"a" {"b" 3, "c" 4}, "children" []}]} {"a" {"b" 5, "c" 6}, "children" []} {"a" {"b" 7, "c" 8}, "children" ({"a" {"b" 10, "c" 10}, "children" []} {"a" {"b" 9, "c" 10}, "children" []})}) But now the updated children is using list not

Re: Why I'm getting NPE with zipper/next?

2015-08-24 Thread Hussein B.
Oh, I defined my zipper as: (def loz (z/zipper #(contains? % "children") #(get % "children") (fn [_ x ] x) {"children" z})) But is throwing an exception. This one works: (def loz (z/zipper #(get % "children") #(get % "children") (fn [_ x ] x) {"children" z})) On Monday, August 24, 2015

Re: Why I'm getting NPE with zipper/next?

2015-08-24 Thread Hussein B.
Hi Moi, Thanks a lot for your patience and help. I tried this so far: (defn edit-parents [editable? edit loc] (loop [loc loc] (if (z/end? loc) (z/root loc) (if (editable? (z/node loc)) (recur (-> loc z/up (z/edit edit) z/up z/next)) (recur (z/next loc)) (

[Meta] Anyone else having trouble with this site recently?

2015-08-24 Thread Fluid Dynamics
I'm frequently seeing my browser get stuck at "Transferring data from groups.google.com" and then failing to progress further, when refreshing the topic list. This has been going on intermittently, but frequently, for several days now. Is anyone else seeing this? What is the fix? -- You recei

[ANN] clojure.tools.cli 0.3.3

2015-08-24 Thread Sean Corfield
Clojure.tools.cli - tools for working with command line arguments https://github.com/clojure/tools.cli * Release 0.3.3 on 2015-08-21 * Add `:missing` to option specification to produce the given error message if the option is not provided (and has no default value). TCLI-12 * Add `:strict

Re: Is any place to share articles about Clojure?

2015-08-24 Thread Jony Hudson
The Clojure reddit often has interesting articles linked, so you could post it there as well, perhaps: https://www.reddit.com/r/Clojure/ Jony On Monday, 24 August 2015 13:19:28 UTC+1, Krzysztof Władyka wrote: > > Hello, > > From time to time i am writing article on http://clojure.wladyka.eu/,

New Functional Programming Job Opportunities

2015-08-24 Thread Functional Jobs
Here are some functional programming job opportunities that were posted recently: Senior Clojure Backend Developer at Nuday Games http://functionaljobs.com/jobs/8858-senior-clojure-backend-developer-at-nuday-games Haskell Engineer at Wagon http://functionaljobs.com/jobs/8857-haskell-engine

Re: Clojure bootstrap, what am I missing here?

2015-08-24 Thread William la Forge
The usual argument for completing the bootstrap is to simplify porting, though Clojure does not seem to need any help there. On Monday, August 24, 2015 at 11:33:39 AM UTC-4, tbc++ wrote: > > " isn't Clojure code easier to maintain/extend than Java code?" > > Sure, but is that were the problems li

Re: Clojure bootstrap, what am I missing here?

2015-08-24 Thread William la Forge
I should add that I am not seriously proposing a rewrite of Clojure into Clojure. There is likely too much legacy code at this point that depends on the specifics of the Java implementation. I'm only wondering why it was not done, being such a traditional pattern and all. On Monday, August 24,

Re: Clojure bootstrap, what am I missing here?

2015-08-24 Thread Timothy Baldridge
" isn't Clojure code easier to maintain/extend than Java code?" Sure, but is that were the problems lie in Clojure maintenance? Take a look at the JIRA tickets. The majority deal with how to map some concept to the JVM (same problem in Java or Clojure), or the correct way to implement something to

[ANN] io.aviso/rook 0.1.36

2015-08-24 Thread Howard Lewis Ship
Rook is a set of middleware and handlers to enable metadata-based routing for Ring web applications. The intention is to expose a Clojure namespace as a web service resource; there’s a default mapping of HTTP verbs and paths to function names; these can be extended or overridden by metadata on the

Re: [ANN] io.aviso/twixt 0.1.21

2015-08-24 Thread Howard Lewis Ship
Oh, and here's the URL: https://github.com/AvisoNovate/twixt On Mon, Aug 24, 2015 at 8:25 AM, Howard Lewis Ship wrote: > Twixt is an extensible asset pipeline for use in Clojure web applications. > It is designed to complement an application built using Ring and related > libraries, such as Comp

[ANN] io.aviso/twixt 0.1.21

2015-08-24 Thread Howard Lewis Ship
Twixt is an extensible asset pipeline for use in Clojure web applications. It is designed to complement an application built using Ring and related libraries, such as Compojure. Twixt provides content transformation (such as Less to CSS), support for efficient immutable resources, and best-of-breed

Re: Clojure bootstrap, what am I missing here?

2015-08-24 Thread William la Forge
Well gosh, Timothy, isn't Clojure code easier to maintain/extend than Java code? There's a lot less boiler plate at least. Or is it just that Clojure is superior mostly when multi-threading because of its use of immutables? Are you really saying that Clojure is not an advantageous choice for im

Re: Clojure bootstrap, what am I missing here?

2015-08-24 Thread Timothy Baldridge
" I would think that having Clojure implemented entirely in Clojure would have a number of advantages." I think that's the place you should start. List those advantages. Clojure-in-Clojure would be a "nice" thing to have...but I can't really think of any major features it would enable that aren't

Re: Cursive and gen-class

2015-08-24 Thread Alan Moore
FWIW - My experience with Eclipse vs IntelliJ is exactly the opposite - we have been using Eclipse at my day job but I have recently abandoned it due to hangs, crashes, slow downs, etc. and have moved over to IntelliJ. YMMV. Alan -- You received this message because you are subscribed to the G

Clojure bootstrap, what am I missing here?

2015-08-24 Thread William la Forge
Step 2 in the classical bootstrap process for a language is to rewrite it in itself. Clojure is more than capable of this. But Clojure continues to rely on Java code for its implementation. Is there a reason why this was not done? Efficiency issues? A rush to create something usable? I would th

Re: Why I'm getting NPE with zipper/next?

2015-08-24 Thread Moe Aboulkheir
Went off half-cocked there. The remainder: (edit-parents #(= 10 (get-in % ["a" "b"])) #(update % "children" reverse), data-zipper) Would have the effect of reversing the order of the children in each node which possesses a child having a "b" attribute set to 10. You could probably express

Re: Why I'm getting NPE with zipper/next?

2015-08-24 Thread Moe Aboulkheir
Hussein, I'm not super comfortable with zippers, and probably wouldn't use them for something like this - but I had a go. If you define a zipper like this: (z/zipper #(get % "children") #(get % "children") (fn [_ x ] x) {"children" data}) Note the top-level vector is being wrapped in a map, so

Re: Is any place to share articles about Clojure?

2015-08-24 Thread Ernestas Lisauskas
http://planet.clojure.in/ On Mon, Aug 24, 2015 at 1:19 PM, Krzysztof Władyka wrote: > Hello, > > From time to time i am writing article on http://clojure.wladyka.eu/, but > the problem is nobody know about this site, because i didn't share it :) > Subjectively i am writing there things what some

Re: How can find something inside heavily nested data structure ?

2015-08-24 Thread Dave Tenny
Specter looks nice. I didn't see any examples in the readme or tests for working with more deeply nested data structures such as those discussed in this thread, any pointers? On Sunday, August 23, 2015 at 10:22:25 PM UTC-4, Brian Marick wrote: > > > > Andy- wrote: > > I have yet to evaluate it

Re: some guidance sought

2015-08-24 Thread William la Forge
Looking wildly useful. Many thanks! On Monday, August 24, 2015 at 8:46:12 AM UTC-4, icamts wrote: > > Not a pointer but this may help in testing your implementation: > https://github.com/ztellman/collection-check > > Il giorno lunedì 10 agosto 2015 00:31:25 UTC+2, William la Forge ha > scritto:

Re: Is any place to share articles about Clojure?

2015-08-24 Thread Krzysztof Władyka
Thank you. W dniu poniedziałek, 24 sierpnia 2015 14:25:33 UTC+2 użytkownik Mayank Jain napisał: > > Check http://planet.clojure.in/ > > On Mon, Aug 24, 2015 at 5:49 PM, Krzysztof Władyka > wrote: > >> Hello, >> >> From time to time i am writing article on http://clojure.wladyka.eu/, >> but the

Re: some guidance sought

2015-08-24 Thread icamts
Not a pointer but this may help in testing your implementation: https://github.com/ztellman/collection-check Il giorno lunedì 10 agosto 2015 00:31:25 UTC+2, William la Forge ha scritto: > > I've done a lot with AA trees in the past, creating variations that are > immutable, durable (replacing b-

Re: Is any place to share articles about Clojure?

2015-08-24 Thread Mayank Jain
Check http://planet.clojure.in/ On Mon, Aug 24, 2015 at 5:49 PM, Krzysztof Władyka wrote: > Hello, > > From time to time i am writing article on http://clojure.wladyka.eu/, but > the problem is nobody know about this site, because i didn't share it :) > Subjectively i am writing there things wha

Is any place to share articles about Clojure?

2015-08-24 Thread Krzysztof Władyka
Hello, >From time to time i am writing article on http://clojure.wladyka.eu/, but the problem is nobody know about this site, because i didn't share it :) Subjectively i am writing there things what some Clojure coders will want to read. Is any place where can i share Clojure articles? Anyway

Re: Why I'm getting NPE with zipper/next?

2015-08-24 Thread Hussein B.
Hi Moe, I have this structure: [{"a" {"b" 1 "c" 2} "children" [{"a" {"b" 3 "c" 4} "children" []}]} {"a" {"b" 5 "c" 6} "children" []} {"a" {"b" 7 "c" 8} "children" [{"a" {"b" 9 "c" 10} "children" []} {"a" {"b" 10 "c" 10} "children" []}]}] That is only a sample, the actual data is big

Re: Reviewers needed for new Clojure book!

2015-08-24 Thread Colin Yates
Sure - sign me up - I use Clojure daily so this is very relevant. Akhil Wali writes: > If anyone is interested in being a reviewer for a new book "*Mastering > Clojure*" by Packt Publishing, please let me know. > Reviewers will be entitled to a 6 montn subscription of PacktLib >