Re: Java learning resources for Clojurists?

2017-08-15 Thread Paul Gowder
Oh, thank you, that looks like a great resource! On Tuesday, August 15, 2017 at 9:24:45 PM UTC-5, Daniel Compton wrote: > > Eric Normand has a course "JVM Fundamentals for Clojure" which might be > useful? https://purelyfunctional.tv/courses/jvm-clojure/ > > On Wed, Aug

Java learning resources for Clojurists?

2017-08-15 Thread Paul Gowder
Hi there, Can anyone recommend decent resources for learning Java for experienced Clojurists who don't do enough interop? After writing Clojure for about a year and a half, I find that the most continuous barrier I encounter is in understanding how to drop down to the JVM. And it's even a

Re: ANN: Cognitect acquired by Microsoft

2017-04-01 Thread Paul Gowder
AMAZING. -- 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 unsubscribe from this group, send

Re: Combinatorics partitions that preserves adjacency?

2017-03-16 Thread Paul Gowder
For sake of completeness/if this is useful for anyone else, a full implementation of the number-the-possible-split-locations method, including the original API with :min and :max options. Could probably be tidied up with transducers and such for all those filters but does the job. (require

Re: Combinatorics partitions that preserves adjacency?

2017-03-16 Thread Paul Gowder
Ooh, thank you---those are both lovely solutions! -- 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.

Combinatorics partitions that preserves adjacency?

2017-03-15 Thread Paul Gowder
Hi everyone, Does anyone know of a straightforward way to get something like clojure.math/combinatorics/partitions that works more like partition in the core library, that is, that only selects partitions with adjacent elements? In other words, right now this is the problem: (require

Re: ANN: ClojureScript 1.9.456, Externs Inference & Comprehensive JS Modules Support

2017-03-07 Thread Paul Gowder
Yeah, this is a recurrent problem---as far as I can determine, several database libraries (at least) have a dependency a layer or two down on an old version of guava; the latest closure compiler seems to be depending on the most recent guava. See eg this issue (which ai've been meaning to

Re: [ANN] Nightcoders.net, a cloud IDE for ClojureScript

2017-01-04 Thread Paul Gowder
That's really cool! The autosave is sweet. So is the fact that I can get it to work on ios---I was just thinking about buying an ipad pro and figuring out good ways to code on it... this could be a really cool solution for starting something on a real computer, leaving it in the cloud,

Re: recursive bindings not available in let form?

2016-12-03 Thread Paul Gowder
That's a really neat post. Thank you for writing it! How do bindings created by let fit into that picture? > The question of how vars work comes up enough that I recently wrote a blog > post on the subject. Maybe it will be useful to you. >

Re: recursive bindings not available in let form?

2016-12-02 Thread Paul Gowder
Thanks Bobby, Francis, Walter! Now trying to wrap my head around the idea of def as a ref... On Friday, December 2, 2016 at 2:57:13 PM UTC-6, Francis Avila wrote: > > Let bindings are immutable bindings, not refs. They must act as if their > value could be substituted at the moment they are

recursive bindings not available in let form?

2016-12-02 Thread Paul Gowder
Hi clojure-world, I think maybe this is actually related to the complexities of binding referenced in the previous thread (https://groups.google.com/forum/?utm_source=digest_medium=email#!topic/clojure/zBXsrqTN2xs)... maybe? But it would be amazing if some wise person would help explain...

Re: protocols and namespaces confusion (with an example from core.matrix)

2016-10-19 Thread Paul Gowder
Thanks Gregg and Alex! I didn't realize that protocols (or the black magic interfacing of core.matrix) were that fancy. Definitely going into my "code to really dig into" list. Cheers, -Paul -- You received this message because you are subscribed to the Google Groups "Clojure" group. To

protocols and namespaces confusion (with an example from core.matrix)

2016-10-19 Thread Paul Gowder
Hi folks, I have a kinda basic question (I think?) that I should really know the answer to after writing Clojure for like 8 months, but don't. It's about requiring namespaces with protocol definitions in them but not the actual implementations of those protocols, and how it works. tl/dr:

Re: Should I switch to Clojure after 3 years of learning another full stack ?

2016-10-13 Thread Paul Gowder
Another thing worth thinking about is that Cojure(script) is great for pure front-end applications ("single page applications"). The reagent library is a scarily magical way of just abstracting away the dom, and figwheel is a scarily effective build tool. This template is a convenient way to

Re: Clojure as first language

2016-03-20 Thread Paul Gowder
Thinking about this a little more, it seems to me that the real beginner-unfriendly bits of clojure that actually are a problem for basic learning (so not legitimately difficult stuff like quoting and macros) all come from the JVM. Errors that are incomprehensible? JVM. Classpath confusion?

Re: Clojure as first language

2016-03-19 Thread Paul Gowder
On Thursday, March 17, 2016 at 12:10:21 PM UTC-5, blake watson wrote: > > On Sat, Mar 12, 2016 at 2:42 PM, Lee Spector > wrote: > > > Is "lein new app foo" that complicated? > > If I understand Paul correctly—and am not just imposing my own similar > feelings on him—the

Re: Clojure as first language

2016-03-11 Thread Paul Gowder
As a clojure beginner and programming semi-beginner (advanced beginner? I'm decent but not pro dev level at Python and R and have messed around with a few others), switching to clojure because the functional style feels more natural than all that object ick, I can speak from personal experience