iOS and Windows RT support?

2013-01-22 Thread MC Andre
What's the state of iOS and Windows RT support for Clojure? It would be awesome to write iPhone and Surface apps in Clojure! Is there a .NET port of Clojure we could use to write Windows 8 Metro apps? -- You received this message because you are subscribed to the Google Groups Clojure group.

Blog Post: The Magic of Macros: Lighting-Fast Templating in ClojureScript

2013-01-22 Thread Aria Haghighi
Hi all, I've done a follow-up post on the Prismatic blog about our dommy, our ClojureScript templating library. We added some macros to parse nested vector data structures at compile time into direct DOM creation code. The resulting speedup is pretty dramatic about 5x, bring ClojureScript

Re: Proposal: Suppressing tracebacks from clojure.core

2013-01-22 Thread Andreas Liljeqvist
I haven't looked at the technical side of your mail, but improvements to stacktraces are highly appreciated Den 19 jan 2013 20:57 skrev m...@wilfred.me.uk: Hi all I've been thinking about how long tracebacks get for pure Clojure errors, and it would be really nice if we could hide the Java

Re: Proposal: Suppressing tracebacks from clojure.core

2013-01-22 Thread David Nolen
Better tracebacks have been available in Clojure since 1.3: user= (require '[clojure.repl :as r]) user= (r/pst *e) e* is the last exception. It's up to the tools to support it. That said allowing customized tracebacks for tools could be improved - but no one's ever submitted any serious patches

Re: iOS and Windows RT support?

2013-01-22 Thread Timothy Baldridge
You could take a look at ClojureCLR, I'm not sure if it runs on RT though. That being said, Metro has a JS API, so why not write Metro apps in ClojureScript? Timothy On Tue, Jan 22, 2013 at 10:55 AM, MC Andre andrew.penneba...@gmail.comwrote: What's the state of iOS and Windows RT support for

Re: iOS and Windows RT support?

2013-01-22 Thread Jason Lewis
There is a port of Clojure to the CLR, the runtime used by .NET - https://github.com/clojure/clojure-clr I don't do Windows, so I'm not sure if there are any limitations re using it for Metro, Windows RT, etc. To th best of my knowledge, there is no Obj-C port of Clojure, so I think iOS is out

Re: iOS and Windows RT support?

2013-01-22 Thread Jochen Schmitt
On Tue, Jan 22, 2013 at 09:55:29AM -0800, MC Andre wrote: What's the state of iOS and Windows RT support for Clojure? It would be awesome to write iPhone and Surface apps in Clojure! I don't believe, that we ever will get a port of clojure on iOS. The issue is that there is not Java or .NET

[ANN] sampling - A Clojure library for random sampling

2013-01-22 Thread Adam Ashenfelter
BigML https://bigml.com/ is happy to open source our Clojure random sampling library https://github.com/bigmlcom/sampling. The library offers: - Three varieties of sampling depending on your memory requirements (simple sampling, reservoir sampling, stream sampling) - Sample with

Is there a performance hit when dynamically require-ing namespaces

2013-01-22 Thread Sean Bowman
I'm trying to implement a simple system to load certain namespaces into my application that are configurable at runtime, via a plugins text file that lists the namespaces we want to load. I have some code that loads this file, then line by line calls require dynamically, like so: (doseq

ANN Pantomime 1.5.0

2013-01-22 Thread Michael Klishin
Pantomime 1.5.0 is released: http://blog.clojurewerkz.org/blog/2013/01/23/pantomime-1-dot-5-0-is-released/ -- MK http://github.com/michaelklishin http://twitter.com/michaelklishin -- You received this message because you are subscribed to the Google Groups Clojure group. To post to this

why would I use uberwar instead of uberjar?

2013-01-22 Thread larry google groups
I know very little about the JVM eco-system. I have been using lein uberjar for all of my webapps, and it has worked great (Jetty/Ring). Why would I use uberwar? What are the advantages? -- You received this message because you are subscribed to the Google Groups Clojure group. To post to

Re: ANN Pantomime 1.5.0

2013-01-22 Thread Rich Morin
On Jan 22, 2013, at 13:24, Michael Klishin wrote: Pantomime 1.5.0 is released: http://blog.clojurewerkz.org/blog/2013/01/23/pantomime-1-dot-5-0-is-released/ Congratulations and thanks for your efforts. That said, some motivational text (eg, a few words of description) might cause folks to

Re: why would I use uberwar instead of uberjar?

2013-01-22 Thread AtKaaZ
'uberwar' is not a task. See 'lein help'. Did you mean this? uberjar Are you using this https://github.com/alienscience/leiningen-war maybe? On Tue, Jan 22, 2013 at 11:25 PM, larry google groups lawrencecloj...@gmail.com wrote: I know very little about the JVM eco-system. I have

Re: why would I use uberwar instead of uberjar?

2013-01-22 Thread Jack Moffitt
I know very little about the JVM eco-system. I have been using lein uberjar for all of my webapps, and it has worked great (Jetty/Ring). Why would I use uberwar? What are the advantages? A WAR file can be dropped right into a app server like Tomcat. It contains some extra context information

Clojure on heroku throws exception today

2013-01-22 Thread Jonathon McKitrick
I've been deploying/testing/running a noir app on heroku for weeks. This morning, I ran 'heroku run lein run', which never has an issue. I got this: java.lang.RuntimeException: No such var: repl/profile, compiling:(leiningen/standalone_repl.clj:9) I checked out the GitHub repos for leiningen

Re: Clojure on heroku throws exception today

2013-01-22 Thread Phil Hagelberg
Jonathon McKitrick writes: I checked out the GitHub repos for leiningen and leiningen_repl, but nothing jumps out as the cause. I require leiningen 2.0.0, but dropping this requirement allows the repl task to load and run. This is due to the release of Leiningen 2.0.0; the buildpack

Simple FIFO cache for memoize

2013-01-22 Thread Omer Iqbal
I've been reading a bit about the STM, and here's an implementation of a FIFO cache for producing a memoized version of a function. Is it correct to use the STM in this case, or are there any drawbacks? (defn bounded-memoize Return a bounded memoized version of fn 'f' that caches the

Re: [ANN] clj-squash 0.1.0

2013-01-22 Thread Jeroen van Dijk
Hi Ragnar, This looks interesting. It looks like the url to the Squash app should be http://www.squash.io instead. I'm currenty (ab)using Airbrake as an exception notifier for my Clojure apps (which is really unsatisfactory for many reasons). Since it seems Squash has been built from a Ruby a

Re: [ANN] clj-squash 0.1.0

2013-01-22 Thread Ragnar Dahlén
Hi Jeroen, You're entirely correct about the url, thanks! We're using Airbrake too, and like you (and Square, apparently), I'm not too impressed. As for using Squash for Clojure applications, it was quite straight forward to create a client library and Squash has been written with not only

ANN: clj-spark - A Clojure wrapper for the Spark API

2013-01-22 Thread Marc Limotte
A Clojure api for the Spark Project. I am aware that there is another clojure spark wrapper project which looks very interesting, This project has similar goals. And also similar to that project it is not absolutely complete, but it is does have some documentation and examples. And it is

Re: ANN: clj-spark - A Clojure wrapper for the Spark API

2013-01-22 Thread Michael Klishin
2013/1/22 Marc Limotte mslimo...@gmail.com The project is available here: https://github.com/TheClimateCorporation/clj-spark Marc, Please add artifact/dependency information to the README. Otherwise beginners won't be able to use your project. If you need an example:

Re: ANN: clj-spark - A Clojure wrapper for the Spark API

2013-01-22 Thread Mark Hamstra
Hmmm... a lot of duplicated work. Sorry I didn't get my stuff in a more usable form for you, but I wasn't aware that anybody was even interested in it. I've got some stuff that I want to rework a little, and I'm still thinking through the best way to integrate with the new reducers code in

Re: Current status of Clojure on Android?

2013-01-22 Thread MC Andre
I wrote a wrapper for the Apache Cordova (Phonegap) API recently, so that it could be used with ClojureScript. I got Hello World, etc up and running without much fuss. There are however two issues: 1. Also a slow start-up time, since Phonegap already has resources to load, and then a

Re: Current status of Clojure on Android?

2013-01-22 Thread Timothy Baldridge
Since Clojure runs on the JVM, why do we need ClojureScript and PhoneGap at all? Mostly because Android doesn't run a true JVM. Dalvik is different enough from a true JVM that Oracle tried to sue Google over it. Ugly details are here: