Others have meatier, more detailed answers. Here's one more factor that
might matter:
Clojure makes me happy. I'm happier programming in Clojure than in other
languages that are also very suitable for my projects. I enjoy myself
more, and it's easier. I even prefer to use Clojure when I co
Thanks Christophe. Very nice. I may use partition, or something else as
the need arises.
--
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 -
On Thursday, October 6, 2016 at 4:39:43 PM UTC-5, Xman wrote:
>
> It's been many years of postponing learning programming, because I
> considered the popular languages of that time not right.
>
It's been my experience that there are no "right languages." They all have
major flaws. No matter wh
This is amazing!! Thanks so much for releasing it. Very excited to dig in.
On Wed, Oct 12, 2016 at 7:44 PM, wrote:
> Hi,
> We've made cortex public:
>
> https://github.com/thinktopic/cortex
>
> Fork away, and we hope that this contributes to a growing ML community in
> Clojur
Hi,
We've made cortex public:
https://github.com/thinktopic/cortex
Fork away, and we hope that this contributes to a growing ML community in
Clojure. Thoughts, ideas, feedback are welcome!
Cheers,
Jeff
On Saturday, October 8, 2016 at 6:00:21 PM UTC-6, je...@thinktopic.com
We AOT often dependent projects.
We are very careful meeting the exclusions suggestions reported
by lein deps :tree.
Luc P.
--
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
It's possible to do a mixed AOT (your code) non-aot (third-party code)
setup, but it's a huge pain.
The particular issue you're seeing is probably the result of multiple
versions of a class existing across jars and classloaders. Unfortunately
there is no consistent way to get this right, but the
Hi Piotr,
Yes, the limitation is how the Java classpath works. If you AOT your app,
you need to AOT compile other Clojure code your app uses.
See e.g.
http://dev.clojure.org/jira/browse/CLJ-1544?focusedCommentId=43558&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-
Hello,
I am trying to solve an issue in my project where I have the following
setup. My application modules are AOT-compiled into several jars and then
packaged with their 3rd party dependencies into an uberjar. As a result my
uberjar contains my project's namespaces compiled to class files and
I see to add that feature over the weekend @larry.
I'm using this role model together with the excellent buddy-auth library.
larry google groups schrieb am Mi., 12. Okt.
2016 um 19:12 Uhr:
> >That would only get 64 states into a 64 bit Long, but was always enough.
>
> The bitmask idea is good. I
Thanks all. Much appreciated!
On Wednesday, October 12, 2016 at 11:26:09 AM UTC-4, tmountain wrote:
>
> Hi, I'm trying to transform a sequence of data to a map, and I'm using the
> following pattern.
>
> (def data [ {:id 1, :name "foo"}, {:id 2, :name "bar"}])
>
> (zipmap (map #(:id %) data) data
>That would only get 64 states into a 64 bit Long, but was always enough.
The bitmask idea is good. I agree there are always tradeoffs. A number is
less readable, but more efficient. I would be happy if there was a small
library that did just (roles/permissions), and which I could compose with
You may also want to consider clojure.set/index, though that may not exactly be
what you are looking for.
Original message
From: tmountain
Date: 2016/10/12 11:26 (GMT-05:00)
To: Clojure
Subject: Data Transformation Question
Hi, I'm trying to transform a sequence of dat
group-by is slightly different in that it wraps every value in a vector,
and those vectors will contain multiple items if there is an id collision.
So that may be what the OP wanted, but it also is a change in semantics.
I we can simplify the code a bit to (zipmap (map :id data) data) which is
abo
Hi, I'm trying to transform a sequence of data to a map, and I'm using the
following pattern.
(def data [ {:id 1, :name "foo"}, {:id 2, :name "bar"}])
(zipmap (map #(:id %) data) data)
; result: {1 {:id 1, :name "foo"}, 2 {:id 2, :name "bar"}}
Is this the most idiomatic way to accomplish this
> On Oct 12, 2016, at 10:26 AM, tmountain wrote:
>
> Hi, I'm trying to transform a sequence of data to a map, and I'm using the
> following pattern.
>
> (def data [ {:id 1, :name "foo"}, {:id 2, :name "bar"}])
>
> (zipmap (map #(:id %) data) data)
>
> ; result: {1 {:id 1, :name "foo"}, 2 {:
Thanks guys for your suggestions, looks like Ansible is a winner :)
Cheers
Miro
On Monday, October 3, 2016 at 8:10:30 PM UTC+2, Karel Miarka wrote:
>
> I'm very happy with Ansible https://github.com/ansible/ansible (it is not
> Ansible Tower = their commercial product). You need only ssh server
Not a rational for why there's no partition transducer in core but I have a
partition transducer in this lib (https://github.com/cgrand/xforms).
=> (sequence (x/partition 3) (range 8))
([0 1 2] [3 4 5])
=> (sequence (x/partition 3 2) (range 8))
([0 1 2] [2 3 4] [4 5 6])
=> (sequence (x/partition 3
18 matches
Mail list logo