Re: data structure creation time in cljs

2013-11-06 Thread David Nolen
`vector` is now inlined in master, should be >10X faster for (vector 1) David On Tue, Nov 5, 2013 at 10:38 PM, kovas boguta wrote: > I'm trying to optimize zippers for clojurescript. My benchmark is > implementing the combinator systems from > > https://www.wolframscience.com/nksonline/page-102

Re: [ANN] Jig

2013-11-06 Thread julius
Another question, using jig, the connection/db/cache/storage will be everywhere in our code as a parameter of functions, is it flexible? ,currently I prefer to managing those side effect at one place but will not spread out to our other core functions. Thanks On Saturday, October 12, 2013 12:

Re: [ANN] Jig

2013-11-06 Thread julius
+1 On Friday, October 18, 2013 7:30:20 AM UTC+8, zcaudate wrote: > > Would it be possible to put up a video of a typical workflow example with > pedestal. It's quite difficult for me to piece everything together just by > reading the documentation. > > Chris > -- -- You received this message

What are effective ways to debug Clojure code?

2013-11-06 Thread Jeffrey Charles
I'm interested in hearing how people who use Clojure in production are debugging their code, particularly those who use Emacs. I am having issues quickly locating problems in my Clojure code that are identified by automated integration test failures. As an example, I had a Midje test that would

Re: Testing with Angular.js, Clojurescript and Purnam - Code and Part 1

2013-11-06 Thread zcaudate
I've since realised the other reason why I like posting on the clojure group > > - The clojurescript group for whatever reason does not take html format... it makes the post look super ugly. -- -- You received this message because you are subscribed to the Google Groups "Clojure" group.

[ANN] purnam 0.1.8 - native javascript essentials for clojurescript (documentation out!!!)

2013-11-06 Thread zcaudate
I'm really happy that I have finish documenting my new-ish clojurescript library. You can find it here: http://docs.caudate.me/purnam/ - purnam is a *clojurescript* library designed to provide better clojurescript/javascript interop, testing and documentation tools to the programmer. I

Re: [ANN] Jig

2013-11-06 Thread Malcolm Sparks
Hi Tim, It's interesting you're thinking about browser-connected repls. Today I added clojurescript support to Jig, it's pushed to master but I haven't documented the config options yet, but below is an example. Nothing fancy like crossovers yet, it's basically a thin wrapper over ClojureScript

Re: [ANN] Jig

2013-11-06 Thread Timothy Washington
Too right. Yes, wrt the multi-project / classpath thing, running isolated test for a particular project is only one aspect. I also have an eye to running a i) browser-connected repl and ii) debugger for a particular project. So those things, along with iii) running tests, make very high, the attra

Re: data structure creation time in cljs

2013-11-06 Thread David Nolen
Yes Closure is smart enough to remove code that doesn't do anything. Try with :simple and :static-fns true On Wednesday, November 6, 2013, kovas boguta wrote: > On Wed, Nov 6, 2013 at 7:36 PM, kovas boguta > > > wrote: > > > There also seems to be some issue with laziness, where some of my big >

Re: data structure creation time in cljs

2013-11-06 Thread kovas boguta
On Wed, Nov 6, 2013 at 7:36 PM, kovas boguta wrote: > There also seems to be some issue with laziness, where some of my big > list operations are getting a 0 as well. Alright I managed to figure out my laziness issue, but the thing with records is still a head-scratcher... -- -- You received

Re: data structure creation time in cljs

2013-11-06 Thread kovas boguta
Some good news and some puzzling news. With advanced mode, the various forms of non-literal vector creation clock in around 400msec for 1 million ops on node, which is a 2-to-5x improvement. Now, the puzzling bit: Using time, I get a big fat 0 for certain kinds of operations: (time (dotimes [x

Re: Crowdfunding for full-time core.typed development

2013-11-06 Thread Rich Morin
On Sep 27, 2013, at 09:51, Ambrose Bonnaire-Sergeant wrote: > I have started a crowdfunding campaign to support full-time work > on Typed Clojure. > > Please share! > > http://www.indiegogo.com/projects/typed-clojure With only five (5) days left, the Typed Clojure campaign still needs $47,400 to

Re: ANN: ClojureScript 0.0-2014 - source maps, incremental compilation, and internal changes

2013-11-06 Thread David Nolen
Oh, the speed of incremental compilation is now dependent on tools preserving the complier environment information - Chas Emerick should be cutting a release of lein-cljsbuild that does this when ClojureScript 0.0-2014 hits Maven Central. On Wed, Nov 6, 2013 at 3:09 PM, David Nolen wrote: > Clo

ANN: ClojureScript 0.0-2014 - source maps, incremental compilation, and internal changes

2013-11-06 Thread David Nolen
ClojureScript, the Clojure compiler that emits JavaScript source code. README and source code: https://github.com/clojure/clojurescript New release version: 0.0-2014 Leiningen dependency information: [org.clojure/clojurescript "0.0-2014"] There are a number of significant enhancements in t

ANN Langohr 1.6.0 is released

2013-11-06 Thread Michael Klishin
Langohr is a small, feature complete Clojure client for RabbitMQ that embraces AMQP 0-9-1 model [1]. 1.6.0 is primarily a bug fix release. Change log: http://blog.clojurewerkz.org/blog/2013/11/05/langohr-1-dot-6-0-is-released/ 1. http://clojurerabbitmq.info -- MK http://github.com/michaelklish

Re: What font is used for Clojure on clojure.org?

2013-11-06 Thread Tim Visher
Thanks, Tom! Here's what I did with it: https://github.com/clojure-emacs/cider/issues/399#issuecomment-27878950 On Wed, Nov 6, 2013 at 11:56 AM, Tom Hickey wrote: > Hi Tim, > > That is Avenir 65 Medium. > > Cheers, > Tom Hickey > > > On Wednesday, November 6, 2013 11:06:24 AM UTC-5, Tim Visher

Re: What font is used for Clojure on clojure.org?

2013-11-06 Thread Tom Hickey
Hi Tim, That is Avenir 65 Medium. Cheers, Tom Hickey On Wednesday, November 6, 2013 11:06:24 AM UTC-5, Tim Visher wrote: > > I'm looking for it to incorporate it into a cIDEr logo I'm playing with. > > -- > > In Christ, > > Timmy V. > > http://blog.twonegatives.com/ > http://five.sentenc.es

Re: abysmal multicore performance, especially on AMD processors

2013-11-06 Thread Timothy Baldridge
You should also specify how many cores you plan on devoting to your application. Notice that most of this discussion has been about JVM apps running on machines with >32 cores. Systems like this aren't exactly common in my line of work (where we tend to run greater numbers of smaller servers using

What font is used for Clojure on clojure.org?

2013-11-06 Thread Tim Visher
I'm looking for it to incorporate it into a cIDEr logo I'm playing with. -- In Christ, Timmy V. http://blog.twonegatives.com/ http://five.sentenc.es/ -- Spend less time on mail -- -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this gr

Re: abysmal multicore performance, especially on AMD processors

2013-11-06 Thread Michael Klishin
2013/11/6 Dave Tenny > (To contrast the lengthy discussion and analysis of this topic that is > *hopefully* the exception and not the rule) Some of the comments reveal that part of the problem is in part with JVM memory allocator which has its throughput limits. There are known large commercia

Re: abysmal multicore performance, especially on AMD processors

2013-11-06 Thread László Török
Hi, I believe Clojure's original mission has been giving you tools for handling concurrency[1] in your programs in a sane way. However, with the advent of Reducers[2], the landscape is changing quite a bit. If you're interested in the concurrency vs. parallelism terminology and what language const

Re: abysmal multicore performance, especially on AMD processors

2013-11-06 Thread Dave Tenny
As a person who has recently been dabbling with clojure for evaluation purposes I wondered if anybody wanted to post some links about parallel clojure apps that have been clear and easy parallelism wins for the types of applications that clojure was designed for. (To contrast the lengthy discu

grojure 0.10.0

2013-11-06 Thread Gavin Grover
A new version of Grojure is available: https://github.com/gavingroovygrover/grojure It's alpha because the grammar is still changing between versions. You will probably find grojure useful in 2 ways: * as an example of using the Kern combinator parsing library (by Armando Blancas) for a more com

Re: Cursive IntelliJ working on multiple Leiningen projects & require - refer :as not working

2013-11-06 Thread Niels van Klaveren
Thanks for looking into this, highly appreciated. On Wednesday, November 6, 2013 7:49:59 AM UTC+1, Colin Fleming wrote: > > Right, I had a chance to take a look at this - the classpath for the REPL > unfortunately doesn't include the source directories of dependent modules. > I'll fix that in th

Re: recommended: "Java: The Good Parts"

2013-11-06 Thread Cedric Greevey
With Clojure, you can mostly ignore Java's syntax until and unless you want or need to write a Java class to call from Clojure for some reason. But knowing some of the major parts of the standard Java class library (particularly java.lang, java.math, java.util, java.util.concurrent, awt.*, and jav

Re: data structure creation time in cljs

2013-11-06 Thread Jozef Wagner
I've just updated benchmark dependencies to reflect latest changes in ClojureScript. Keywords are little slower than before but otherwise there are no big differences. JW On Wednesday, November 6, 2013 5:04:26 AM UTC+1, kovasb wrote: > > FYI, > > http://wagjo.github.io/benchmark-cljs/ > > has