Re: How to go about 'proving' why dynamically typed languages are better.

2013-12-20 Thread zcaudate
@philip lord. Where would mutant elephants and the elephant god Ganesha fit in that classification? -- -- 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

Re: [ANN] Hoplon: web applications in Clojure and ClojureScript

2013-12-20 Thread Alan Dipert
Hi Murtaza, thanks for your interest! Responses below. Alan 1. Why not use hiccup data structure for representing DOM, instead of the custom fns and macros. This provides several advantages where your DOM is just data and you can manipulate it like data. The hlisp part of Hoplon - the

Re: How to go about 'proving' why dynamically typed languages are better.

2013-12-20 Thread Phillip Lord
zcaudate z...@caudate.me writes: @philip lord. Where would mutant elephants and the elephant god Ganesha fit in that classification? It might surprise you to know that there is actually quite a lot work on both of these. The problem with mutant elephants generalises into the problem with

Re: How to go about 'proving' why dynamically typed languages are better.

2013-12-20 Thread Dennis Haupt
in my mental world, there is a pure human, and a 4 armed human would probably be a 95% human or something, just like a hobbit would be. the other way round, a human would be a 95% hobbit. an elephant would be 4% hobbit on that scale. this model is flexible, covers everything, and is not really

Re: [ClojureScript] ANN: Om, a ClojureScript binding to Facebook's React

2013-12-20 Thread Samuel Aaron
Hey David, this looks fab. I'm trying to play with it within a stub project of mine. However, I'm not having much success getting it to compile. This is likely to be some cljs setup issue I'm having (there are so many moving parts!). Steps taken: * Download, and build latest cljs (0.0-2127) *

Re: How do I serve clojure pages with nginx

2013-12-20 Thread Dave Della Costa
Hi Zeynel, I don't know if setting things up the way I've laid out there is such a great idea. What I would do instead is set the port and whatnot in the jetty configuration inside of ring, assuming that's what you're using (this assumes a lot about how your app is set up, so let me know if this

library development

2013-12-20 Thread Bob Hutchison
Hi, I’m missing something. And it’s annoying me. Let’s say I’m working on three or four projects and there’s some code that really should be developed as a library and used by each of the projects. A similar thing happens if I fork a library from github. I don’t want to make any of this code

Re: library development

2013-12-20 Thread Daniel Higginbotham
lein install actually installs your library ~/.m2/repository in addition to creating the pom and jar. That should be all you need to do. On Friday, December 20, 2013 9:09:32 AM UTC-5, Bob Hutchison wrote: Hi, I’m missing something. And it’s annoying me. Let’s say I’m working on three or

ANN: ClojureScript 0.0-2127

2013-12-20 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-2127 Leiningen dependency information: [org.clojure/clojurescript 0.0-2127] Enhancements: * Add :preamble compiler option. Takes

Re: library development

2013-12-20 Thread Tim Visher
Maybe using lein checkouts is also something that would interest you? https://github.com/technomancy/leiningen/blob/master/doc/TUTORIAL.md#checkout-dependencies On Fri, Dec 20, 2013 at 9:22 AM, Daniel Higginbotham nonrecurs...@gmail.com wrote: lein install actually installs your library

Re: library development

2013-12-20 Thread John Gabriele
Ah, neat. This works great! If I can just `lein install` my libs (or other people's libs) and then use them in all my projects (just like the libs found at clojars), what extra functionality does lein-localrepo provide beyond that? -- John On Friday, December 20, 2013 9:22:30 AM UTC-5,

Re: library development

2013-12-20 Thread John Gabriele
On Friday, December 20, 2013 9:22:30 AM UTC-5, Daniel Higginbotham wrote: lein install actually installs your library ~/.m2/repository in addition to creating the pom and jar. That should be all you need to do. On Friday, December 20, 2013 12:16:59 PM UTC-5, John Gabriele wrote: Ah, neat.

Re: library development

2013-12-20 Thread Tim Visher
On Fri, Dec 20, 2013 at 12:16 PM, John Gabriele jmg3...@gmail.com wrote: If I can just `lein install` my libs (or other people's libs) and then use them in all my projects (just like the libs found at clojars), what extra functionality does lein-localrepo provide beyond that? lein-localrepo

Re: library development

2013-12-20 Thread Bob Hutchison
On Dec 20, 2013, at 9:22 AM, Daniel Higginbotham nonrecurs...@gmail.com wrote: lein install actually installs your library ~/.m2/repository in addition to creating the pom and jar. That should be all you need to do. [message was bounced earlier…] Thank you. You’re right. As it happens, I

Re: How to go about 'proving' why dynamically typed languages are better.

2013-12-20 Thread Chris Zheng
Thanks Phil. I'm exploring how type theory works at doing partial classifications, especially where there can be arbitrary models on the same object. I'm not sure that it does and I'm of the opinion that in these cases, type systems aren't really that useful. Ganesha is surgically grafted

Re: library development

2013-12-20 Thread Mimmo Cosenza
I used localrepo as Timmy said: - to install in the local maven repository a native dynamic c++ lib and its corresponding java wrapper - to makes it available to all my clojure/java projects requiring to use that lib (artifact in maven parlance) It works like a charm. Here you can find a

Re: library development

2013-12-20 Thread Shantanu Kumar
Author of lein-localrepo here. Just to mention few points: 1. Leiningen builds over Maven's transitive dependency management system. So, I guess at some point of time you just have to accept Maven's nomenclature. 2. `lein install` works when you have source code and a `project.clj` for your

Re: [ANN] Hoplon: web applications in Clojure and ClojureScript

2013-12-20 Thread Ryan Spangler
The hlisp part of Hoplon - the compiler bit that converts HTML to ClojureScript - was designed and implemented specifically to avoid having to do this. It's our opinion (and experience) that admission of the DOM as a data structure instead of a piece of the program introduces tremendous

Re: [ClojureScript] Re: AnNN: ClojureScript 0.0-2120

2013-12-20 Thread Gary Johnson
Thanks, Tim. I somehow missed Brandon's exposition earlier in the thread. These features look great. Fantastic job, ClojureScript devs! -- -- 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

Re: Implementation options for auto-complete and symbol resolution while coding

2013-12-20 Thread Zach Oakes
Nightcode uses Compliment for providing completion suggestions and documentation of Clojure functions: https://github.com/alexander-yakushev/compliment On Wednesday, December 18, 2013 11:27:06 AM UTC-5, juan.facorro wrote: Hi Clojurers, I'm building a tool for Clojure and I've been hitting

Re: Who is doing something worthwhile in Clojure?

2013-12-20 Thread Rich Morin
On Dec 19, 2013, at 18:15, Sean Corfield wrote: If you think that discussion is inappropriate for this list (and I agree - it is), then why do you think this discussion is appropriate: Can we get back to talking about folks who are using Clojure to make a positive impact? It seems to me

Re: Who is doing something worthwhile in Clojure?

2013-12-20 Thread Rich Morin
My initial attempts at finding an article failed, so I didn't list one on my initial posting. However, but it turns out that Tim O'Reilly has a blog entry (from early 2009) on this topic: Work on Stuff that Matters: First Principles

Re: Does Pedestal have a future in the long run

2013-12-20 Thread Thomas Deutsch
As far as i can read the community, there are 3 Projects that use the UI as a value. - Pedestal http://pedestal.io/ - Omhttp://swannodette.github.io/2013/12/17/the-future-of-javascript-mvcs/ - Aurora http://www.chris-granger.com/ ( comming early 2014 ) As a Clojure community we know the value

Re: [ANN] Hoplon: web applications in Clojure and ClojureScript

2013-12-20 Thread Alan Dipert
Hi Ryan, thanks for your interest - and for remaining open, because things will get weird here for a moment :-) I didn't mean to say that macros are a substitute for data manipulation; they are just a related thing, of arguable utility depending on context, that come along with the idea of

Re: library development

2013-12-20 Thread Phil Hagelberg
On Friday, December 20, 2013 9:16:59 AM UTC-8, John Gabriele wrote: If I can just `lein install` my libs (or other people's libs) and then use them in all my projects (just like the libs found at clojars), what extra functionality does lein-localrepo provide beyond that? It used to be

[ANN] Cartridge 1.0.0 -- HTTP response recording and playback for clj-http

2013-12-20 Thread David Leatherman
Hi all, I'm happy to announce the release of Cartridge, an HTTP request recording and playback library well suited for testing HTTP client calls when the server is unavailable. This project is in active use at Sonian and was built to help test clients of HTTP services when the server is

Re: Who is doing something worthwhile in Clojure?

2013-12-20 Thread Samuel Aaron
I personally believe that Overtone is a worthwhile project. Whilst I totally want to see more projects that help us at least maintain and ideally improve the harmony of the world, I also value projects that dare to take us in new directions. With Overtone, I'm attempting to ask the question

Re: [ClojureScript] ANN: Om, a ClojureScript binding to Facebook's React

2013-12-20 Thread Moritz Ulrich
David Nolen writes: Enjoy, http://swannodette.github.io/2013/12/17/the-future-of-javascript-mvcs/ David Fantastic work! Om is (even in it's current state) really accessible and easy to use. The TodoMVC implementation you mentioned in the Readme is a really nice help when following the React

computed docstrings

2013-12-20 Thread Dave Tenny
I'm guessing the answer to this is that I'd have to write my own 'defn' equivalent that would parse a form rather than requiring a string, but here's hoping. One of the things I did in Common Lisp was to occasionally compute the docstring for a function with a little function that formatted

Re: computed docstrings

2013-12-20 Thread guns
On Fri 20 Dec 2013 at 05:04:13PM -0800, Dave Tenny wrote: Is there any alternative I'm missing short of writing my own macro to allow non-string forms for docstrings? Use the ^ reader macro to set the :doc entry: (def my-docstring foo bar) (defn ^{:doc my-docstring} foo []) guns

Re: computed docstrings

2013-12-20 Thread Dave Tenny
Good, thanks On Friday, December 20, 2013 8:08:39 PM UTC-5, guns wrote: On Fri 20 Dec 2013 at 05:04:13PM -0800, Dave Tenny wrote: Is there any alternative I'm missing short of writing my own macro to allow non-string forms for docstrings? Use the ^ reader macro to set the :doc entry: