Re: Pmap on hash maps

2016-04-17 Thread Mars0i
On Sunday, April 17, 2016 at 4:23:32 PM UTC-5, JvJ wrote: > > Orders of magnitude? Is it even worth running things in parallel in this > case? > I got a 2X-5X speed improvement with pmap, but as adrian says, it depends. The nice thing about pmap, though, is that using it just involves adding

Re: Pmap on hash maps

2016-04-17 Thread Erik Assum
There was this talk on this a while ago by Leon Barrett https://m.youtube.com/watch?v=BzKjIk0vgzE Also, I guess this from this years Clojure West might be useful, all though I haven't watched it yet: https://m.youtube.com/watch?list=PLZdCLR02grLq4e8-1P2JNHBKUOLFTX3kb=fA9ZXy4N13s Erik. -- i

Re: Reagent html tags

2016-04-17 Thread James Reeves
On 18 April 2016 at 00:02, 'Alan Forrester' via Clojure < clojure@googlegroups.com> wrote: > I am trying to use reagent for a personal project, but I have a problem > with html tags. The keywords corresponding to html tags are not the same as > the html tags with a colon in front of them. For

Re: [ANN] CIDER 0.12 (Seattle)

2016-04-17 Thread Timothy Washington
+1. Great work :) Tim On Sat, Apr 16, 2016 at 7:54 PM, Bozhidar Batsov wrote: > Hey everyone, > > CIDER 0.12 (Seattle) is out! It packs a lot of small improvements and bug > fixes! > > Check out the release notes here >

Re: Return from a function

2016-04-17 Thread Varun Kamra
Thanks for the links. No, I am not on slack. On Friday, April 15, 2016 at 12:24:23 AM UTC-7, Colin Yates wrote: > > Hi Varun - the best advice I think I could give you is to spend a > whole bunch of time on https://clojuredocs.org and https://www.conj.io > (any others?) familiarising yourself

ANN: Structural-typing 2.0.1

2016-04-17 Thread Brian Marick
"Structural typing for Clojure, somewhat inspired by Elm. Tailored to 'flow-style' programming, where complex structures flow through a series of functions, each of which makes a smallish change. Can also be used in testing tools and the like that need to describe how a nested structure

Re: Return from a function

2016-04-17 Thread Brian Marick
Colin Yates wrote: Also, you might want to invest in either core.typed or prismatic schema for validating shapes of data. I think Brian Marick of Midje fame has a similar answer but I can't recall the name. https://github.com/marick/structural-typing/ -- You received this message because

Re: remove a deployed artifact from clojars?

2016-04-17 Thread Toby Crawley
For details on deleting or deprecating jars, please see: https://github.com/clojars/clojars-web/wiki/About#how-do-i-delete-a-jar We intentionally don't allow users to delete their own jars via the interface, instead requiring an admin to do it. This is to help prevent breaking the builds for

Re: Reagent html tags

2016-04-17 Thread Mimmo Cosenza
onclick is not an html tag. here is the event list of react. take into account that react events are camelCase like onClick http://facebook.github.io/react/docs/events.html#supported-events and here is the explanation of the

Re: remove a deployed artifact from clojars?

2016-04-17 Thread Kyle R. Burton
That's the one :) Kyle On Sunday, April 17, 2016, Sean Corfield wrote: > I assume this is the one that should not be there: > > > > https://clojars.org/repl-from-java > > > > Sean Corfield -- (904) 302-SEAN > An Architect's View -- http://corfield.org/ > > "If you're not

Reagent html tags

2016-04-17 Thread 'Alan Forrester' via Clojure
I am trying to use reagent for a personal project, but I have a problem with html tags. The keywords corresponding to html tags are not the same as the html tags with a colon in front of them. For example, the onclick html tag becomes :on-click in reagent. So I would like to see a list of which

ANN: turboshrimp 2.0.2, for control of Parrot AR.Drone

2016-04-17 Thread John Wiseman
I've released a new version of turboshrimp, my library to control the Parrot AR.Drone. https://github.com/wiseman/turboshrimp Version 2.0.2 includes the following: - A more consistent API. E.g., instead of (drone/command drone :animate :flip-left) to make the drone do a flip in mid-air,

Re: Pmap on hash maps

2016-04-17 Thread adrian . medina
It depends on your specific use case. Sometimes the overhead of parallelism overshadows the performance gains. The rule of thumb for any language is to first identify bottlenecks in your code through profiling and optimize accordingly. For a concrete example, a while ago I was created a

Re: Pmap on hash maps

2016-04-17 Thread JvJ
Orders of magnitude? Is it even worth running things in parallel in this case? On Sunday, 17 April 2016 07:20:30 UTC-7, tbc++ wrote: > > The cost of creating that extra collection will be vastly overshadowed by > the cost of running pmap. pmap involves the use of several locks, and > thread

Re: remove a deployed artifact from clojars?

2016-04-17 Thread Sean Corfield
I assume this is the one that should not be there: https://clojars.org/repl-from-java Sean Corfield -- (904) 302-SEAN An Architect's View -- http://corfield.org/ "If you're not annoying somebody, you're not really alive." -- Margaret Atwood On 4/17/16, 9:58 AM, "Kyle R. Burton"

Re: remove a deployed artifact from clojars?

2016-04-17 Thread Kyle R. Burton
Forgot the link (though it shouldn't matter): [1] https://clojars.org/com.github.kyleburton/repl-from-java On Sun, Apr 17, 2016 at 12:57 PM, Kyle R. Burton wrote: > Hi, > > I just published a project [1] to clojars and neglected to use an > organization. I don't really

remove a deployed artifact from clojars?

2016-04-17 Thread Kyle R. Burton
Hi, I just published a project [1] to clojars and neglected to use an organization. I don't really want to claim a top-level name for the project. Is there a way to unpublish, remove or otherwise deprecate a project that I've pushed to clojars.org? Sorry if it's obvious and I'm not seeing it

Re: Pmap on hash maps

2016-04-17 Thread Timothy Baldridge
The cost of creating that extra collection will be vastly overshadowed by the cost of running pmap. pmap involves the use of several locks, and thread co-ordination primitives, these will most likely be orders of magnitude more expensive than an extra allocation. Timothy On Sun, Apr 17, 2016 at

Re: Pmap on hash maps

2016-04-17 Thread JvJ
Perhaps I should have rephrased. I meant calling it in such a way that the result is a hash map. I know I could do something like: (into a (pmap f a)) This will give the same result, but there's an extra collection in there that I'm not sure is necessary. On Saturday, 16 April 2016 20:15:51