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

2013-10-07 Thread Jason Lewis
I think what you're banging your head against is the tension between computer science qua pure science, versus software engineering qua engineering practice. This tension isn't unique to our field; mathematicians look down on theoretical physicists, who look down on practical physicists, who lo

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

2013-10-07 Thread Chris Zheng
Hahaha, thanks Philip. Does it really take a doctorate to understand classification of elephants? I think the overall consensus is that having basic type checking is good... but over doing types is bad. Would this be a reasonable guideline for using types? 1. Types are useful for structures

Cut down uberjar size

2013-10-07 Thread Ruslan Prokopchuk
What are the best practices to cut down uberjar size? Is it able to automagically :exclude from project unused parts & dependencies of big libraries, and will it affect on uberjar size? -- -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to

Re: Teaching Clojure to students (how ?)

2013-10-07 Thread John Gabriele
On Monday, October 7, 2013 4:28:57 AM UTC-4, Phillip Lord wrote: > > Lee Spector > writes: > > > Also IMHO (just trying to deflect some flames here) the Clojure > > ecosystem currently lacks the ideal environment for this. > > Tend to agree with this also. As nice as leiningen is, Clojure seems

Re: GSoC Report: CinC, port of the clojure compiler in clojure

2013-10-07 Thread Nicola Mometto
Hi Mike, First of all, thanks for the report and sorry for the late reply. Your "proposal" looks like something that should definitely be tried out in the long-term, however it implies adding a notable amount of complexity, moving away from the simple "read top level form -> analyze -> compile an

Re: Teaching Clojure to students (how ?)

2013-10-07 Thread Lee Spector
Hi James, I have indeed tried LightTable, and it does indeed seem promising. Really exciting potential. But I've hit enough snags every time I've tried it that I haven't really found it useful (either for teaching or for my own use). I just tried the latest version again, just now, and just fo

Re: Who uses HtmlUnit?

2013-10-07 Thread Mimmo Cosenza
Thanks to everyone for the very informed advices. As soon as I have time and energy :( I'll take a look at this last cli-webdriver. Thanks again to everyone mimmo On Oct 7, 2013, at 11:32 AM, Niels van Klaveren wrote: > Didn't see this was posted in the general Clojure group, and thought t

Re: Teaching Clojure to students (how ?)

2013-10-07 Thread Jernau
Lee, Have you tried Light Table ? I think it would be a perfect match for your use-case. Here's a screencast of me using Light Table's Instarepl to teach list comprehension in Clojure. As you will hopefully agree, Light T

Re: clojars.org image for latest version of a project

2013-10-07 Thread Sébastien Wagener
It's a bit unfortunate that you cannot copy&paste the coordinates (that's my main use of them). Sébastien 2013/10/7 Nelson Morris > There is a new route on clojars.org that will create an svg of the lein > coordinates for the latest version of a project. To use it add > /latest-version.svg to

ANN Introducing Machine Head, a Clojure MQTT client

2013-10-07 Thread Michael Klishin
I'm happy to announce a new ClojureWerkz project.: Machine Head, a Clojure MQTT (v3.1) client. Announcement blog post: http://blog.clojurewerkz.org/blog/2013/10/07/introducing-machine-head/ Documentation site (far from being complete but Getting Started is ready): http://clojuremqtt.info And fin

clojars.org image for latest version of a project

2013-10-07 Thread Nelson Morris
There is a new route on clojars.org that will create an svg of the lein coordinates for the latest version of a project. To use it add /latest-version.svg to a project url. An example can be found at https://clojars.org/compojure/latest-version.svg. This may be useful for a project readme. Many th

Re: how to reload Clojure files while connected to Clojurescript browser repl in Emacs?

2013-10-07 Thread Tim Visher
On Mon, Oct 7, 2013 at 2:26 AM, George Oliver wrote: > On Sunday, October 6, 2013 11:15:26 PM UTC-7, George Oliver wrote: >> I could be wrong but my understanding is that the browser is just >> connecting to your cljs repl which actually is in the 'clojure repl'. >> Certainly if you refresh the pa

[ANN] Modern-cljs: Tutorial 20 - Learn by Contributing

2013-10-07 Thread Giacomo Cosenza
Hi all, I just published the 20th Tutorial - Learn by Contrbuting - of the modern-cljs series. https://github.com/magomimmo/modern-cljs/blob/master/doc/tutorial-20.md In this tutorial, while studying the very interesting and promising Enfocus lib, I'll started collaborating with Creighton Kirk

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

2013-10-07 Thread gaz jones
Martin Odersky gave a keynote at Strangeloop this year called "The Trouble With Types" (https://thestrangeloop.com/sessions/the-trouble-with-types) which made me never want to use a type system again (probably the exact opposite of his intention). The video should be coming out on infoq at some poi

Re: Newbie seeks advice

2013-10-07 Thread Nando Breiter
Functional Thinking with Neal Ford http://www.youtube.com/watch?v=JeK979aqqqc Aria Media Sagl Via Rompada 40 6987 Caslano Switzerland +41 (0)91 600 9601 +41 (0)76 303 4477 cell skype: ariamedia On Mon, Oct 7, 2013 at 4:22 PM, vMac wrote: > Thank you very much James for that detailed advice

Re: Teaching Clojure to students (how ?)

2013-10-07 Thread Nando Breiter
I'm in the process of trying to Clojure, and the fact that you need to install leiningen (I think ...) isn't a problem. All I need is clear, simple to follow instructions, and an explanation how all this plumbing works, and what its advantages are. I find installation instructions rather easily. Cl

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

2013-10-07 Thread juan.facorro
Thanks for the link! I really liked the interview, it was interesting and fun to watch. J On Monday, October 7, 2013 9:49:24 AM UTC+9, brad bowman wrote: > > > zcaudate > Oct 05 08:35PM -0700 > > I'm a little bit miffed over this current craze of `types` and > > `correctness` of programs. It s

Re: Newbie seeks advice

2013-10-07 Thread vMac
Thank you very much James for that detailed advice. I think it will take a while to get used to that new programming style. Is there any good source of information for learning functional programming (online, book) you could recommend? I'm right now programming mostly C -stylish with a bit knowle

Re: Teaching Clojure to students (how ?)

2013-10-07 Thread Lee Spector
On Oct 7, 2013, at 9:59 AM, John D. Hume wrote: > I'd suggest that Clojure's "Hello, World!" should happen initially at the > repl, where leiningen definitely simplifies the UX. > >lein repl # from any cwd >(println "...") > > which launches nicely into demonstrating dynamic development

Re: Teaching Clojure to students (how ?)

2013-10-07 Thread John D. Hume
On Oct 7, 2013 3:29 AM, "Phillip Lord" wrote: > Tend to agree with this also. As nice as leiningen is, Clojure seems to > inherit from Java bulky projects. Compare these two hello worlds: > > (println "hello world") > > to > > #!/usr/bin/python > print( "hello world" ) > > Both equivalently simple

Re: How to suppress warnings?

2013-10-07 Thread Marshall Bockrath-Vandegrift
Gary Zhao writes: > I'm using core.async, but always see the following warnings. How do I > suppress them? It looks like you are literally `:use`ing `core.async`, or doing a `:require ... :refer :all`. This is generally not what you want, because you have no control over the vars now referred

Re: GSoC Report: CinC, port of the clojure compiler in clojure

2013-10-07 Thread whitespace
Hello Nicola et al., I have only learned about your CinC effort during last week with the news about core.typed. I have ported the analyzer of the self-hosted cljs compiler to ClojureC: https://github.com/schani/clojurec/pull/33 and can explore it from the metacircular scheme REPL already. It

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

2013-10-07 Thread Laurent PETIT
IMHO, the question is irrelevant. It implicitly assumes that statically typed vs dynamically typed is a black / white choice, and that either "static wins over dynamic" or "dynamic wins over static" will be a true statement whatever the context. Bu still ... : I assume you are talking about the d

Re: Who uses HtmlUnit?

2013-10-07 Thread Niels van Klaveren
Didn't see this was posted in the general Clojure group, and thought this had been posted in another group. So if you want to do any automated web testing be sure to check out clj-webdriver , the clojure library for Selenium Webdriver and it's Google G

Re: How to suppress warnings?

2013-10-07 Thread Jim
I've not used core.async yet but it seems that you need the following in your ns declaration: (:refer-clojure :exclude [map into reduce merge]) Jim ps: with this you're not really suppressing the warnings but rather avoiding them in the first place :) On 07/10/13 03:15, Gary Zhao wrote:

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

2013-10-07 Thread Phillip Lord
zcaudate writes: > I'm a little bit miffed over this current craze of `types` and > `correctness` of programs. It smells to me of the whole `object` craze of > the last two decades. Programming is a highly fashion-centric occupation for any number of reasons. This shouldn't be a surprise. >

Re: Teaching Clojure to students (how ?)

2013-10-07 Thread Phillip Lord
Lee Spector writes: > I teach Clojure, to beginning programmers among others. > > IMHO you really have to specify your audience(s) before any advice about how > best to teach Clojure (or programming in general) will make much sense. I'd absolutely agree with this. If you are teaching brand new pr