Re: Heard about clojure today. is it one of the big tecnologies for the future? or is it becoming deprecated?

2016-01-21 Thread henry w
Miguel, it's one of the big technologies of the future, definitely! :-) On Wednesday, January 20, 2016 at 4:07:22 PM UTC, Miguel Domingos wrote: > > Hi, > > Just checked GIT Hub Pulse and it is very low. I just heard about this > technology today, so I don't know. > https://github.com/clojure/clo

Re: video 'clojure for lisp programmers' won't play on youtube.

2015-04-08 Thread henry w
ly). > > -Eli > > On Wed, Apr 8, 2015 at 10:31 AM, henry w wrote: > >> I just checked the comments and it has been this way for quite some time. >> >> Does anyone know if it can be found elsewhere? >> >> i found old links to bliptv but it has been take

video 'clojure for lisp programmers' won't play on youtube.

2015-04-08 Thread henry w
I just checked the comments and it has been this way for quite some time. Does anyone know if it can be found elsewhere? i found old links to bliptv but it has been taken down from there. Thanks -- You received this message because you are subscribed to the Google Groups "Clojure" group. To p

Re: Is it possible to determine that I did a 'lein repl'

2015-02-27 Thread henry w
ick a *when* block around it looking for a system property set from the repl or something along those lines. On Friday, February 27, 2015 at 9:16:04 AM UTC, Cecil Westerhof wrote: > > 2015-02-27 10:01 GMT+01:00 henry w >: > >> I had exactly that problem when using an old ver

Re: Is it possible to determine that I did a 'lein repl'

2015-02-27 Thread henry w
I had exactly that problem when using an old version of JDAF. The newer version makes it configurable. to get around the problem i used AspectJ like this: @Aspect public class SystemExitEvader { @Pointcut("call(* java.lang.System.exit(..)) && args(status)") public void systemExitCall(in

Re: datomic <-> datascript transfers

2015-02-17 Thread henry w
For anyone else looking at this option, here is some code which is doing the work on the cljs side. https://gist.github.com/henryw-erudine/73cbcdea1eda150e78da The server code is straightforward so not included. -- You received this message because you are subscribed to the Google Groups "Clo

Re: datomic <-> datascript transfers

2015-01-30 Thread henry w
tions into the > Datascript DB indirectly. > > Best regards, > Leon. > > > On Thursday, January 29, 2015 at 3:24:57 PM UTC+1, henry w wrote: >> >> I am knocking out a webapp, backed by datomic on the server side and >> planning to use datascript in the clien

datomic <-> datascript transfers

2015-01-29 Thread henry w
I am knocking out a webapp, backed by datomic on the server side and planning to use datascript in the client. the plan is to: 1) export a bunch of related data to the client (datomic query/pull/entity apis to create edn data suitable for transact into datascript) -- could be a one-time thin

Re: style question on tightly coupled functions

2014-11-20 Thread henry w
gt; pages.analytics/->analytics > pages.user-info/->user-info > > On Thu, Nov 20, 2014 at 9:23 AM, Tassilo Horn wrote: > >> henry w writes: >> >> > you have understood my arguments pretty much. again the thing that >> > bothers me is that f and g a

Re: style question on tightly coupled functions

2014-11-20 Thread henry w
ok thanks for those thoughts. you have understood my arguments pretty much. again the thing that bothers me is that f and g are logically part of x only, but are visible from y and z (even if and and y are declared higher up, the same problem applies to their own related, private fns and x).

style question on tightly coupled functions

2014-11-19 Thread henry w
imagine in a namespace you have functions x, y, and z which are public. function x grows a bit big, so is broken out so that it calls 2 other functions, f and g. now, imagine with all the clean code and refactoring in the world, still f and g have nothing to do with y and z - but are declared

Re: Testing existing java code with clojure tests from ant / gradle

2014-10-15 Thread henry w
maybe someone will jump in with all the answers, but in the mean time here are some pointers. if you are using clojure.test, then test-out https://github.com/arohner/lein-test-out will format the results so they can show up in continuous integration and eclipse as well if you can get somethin

Re: [ANN] om-bootstrap 0.2.5 - Bootstrap 3 components in Om

2014-08-28 Thread henry w
ok thanks. makes sense to me. -- 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 moderated - please be patient with your first post. To unsubscribe from

Re: [ANN] om-bootstrap 0.2.5 - Bootstrap 3 components in Om

2014-08-27 Thread henry w
Hi Sam, total noob question coming up (just got started with om beginner tutorial). React components can be used from om apparently (not that i have seen an example of this). So, why is there a need for this library? Is it providing boilerplate around react-bootstrap or doing something more? T

Re: FYI: for Clojure people stuck with some Java, use DCEVM

2014-08-14 Thread henry w
es this fix a lot of the problems with redefinition of them? I > can imagine it might be problematic because redefined protocol classes are > loaded with a different DynamicClassLoader (if I remember correctly), so > the new version will still be a different class instance even if the clas

FYI: for Clojure people stuck with some Java, use DCEVM

2014-08-13 Thread henry w
My team inherited a large java code base which over time will be replaced in parts and maybe completely by clojure. One Clojure capability we wanted to get straight away was use of the REPL. but... Since regular oracle jvm classloading doesnt work like vars, you miss a lot of the benefits of r

Re: [ANN] core.async 0.1.319.0-6b1aca-alpha

2014-08-09 Thread henry w
dges that negotiate > in app-specific ways between internal channels external network I/O. > > On Friday, August 8, 2014 4:45:01 AM UTC-5, henry w wrote: >> >> In the original blog post >> <http://clojure.com/blog/2013/06/28/clojure-core-async-channels.html> >>

Re: IntelliJ / ClojureScript Integration...

2014-08-08 Thread henry w
I am wanting to do om tutorial in cursive as well and using om-start. I will give the proposed solution a go as well. but FYI what i have been doing so far is 1) start 'lein repl :headless' from cmd line, 2) connected to it from cursive as a remote repl. a bit clunky but is working just fine.

Re: [ANN] core.async 0.1.319.0-6b1aca-alpha

2014-08-08 Thread henry w
In the original blog post there was mention of network channels being a possible area of interest. Do you know if this is on the roadmap? Or is there a roadmap for core.async? Thanks Henry -- You received this message beca

Re: Clojure and Maven

2014-06-13 Thread henry w
Hi mark, I am curious about why you need to convert. I am thinking of using TC again myself soon. Currently in hudson I just do lein commands and use lein test-out plugin so the test reports can be shown as they would do from junit tests. you could do the same with TC or failing that have a fir

Re: how can I print the function name as parameter?

2014-05-02 Thread henry w
in case you are not aware of it https://github.com/clojure/tools.trace may already do just what you want. but if not, then how about this show fn takes a symbol as arg? that is how tools.trace/trace-vars does it. On Friday, May 2, 2014 3:28:49 AM UTC+1, Erlis Vidal wrote: > > Hi guys, > > I w

Re: Access the datastructure used to create a function?

2014-05-01 Thread henry w
m on clojure > forms itself. At least, that is what I believe Henry was referring to, > isn't? > > -Guru > > > > On Tue, Nov 26, 2013 at 1:51 PM, henry w >wrote: > >> The thing is, the data contained in the source definition is all still >> the

Re: clojure code to java

2014-05-01 Thread henry w
for understanding what goes on in clojure to class file compilation, i have found this blog series very interesting: http://blog.guillermowinkler.com/blog/2014/04/27/decompiling-clojure-iii/ On Thursday, May 1, 2014 5:56:08 AM UTC+1, Andy Fingerhut wrote: > > Leiningen can convert Clojure source

Re: testing clojure.core/group-by with clojure.test.check

2014-05-01 Thread henry w
s the inverse to group by and then you check the group by answer > is equal to the originally generated solution. > > On Wednesday, April 30, 2014 11:38:19 PM UTC+12, henry w wrote: >> >> Hi, I wanted to get started with clojure.test.check (formerly >> simp

testing clojure.core/group-by with clojure.test.check

2014-04-30 Thread henry w
Hi, I wanted to get started with clojure.test.check (formerly simple-check) and I am new to property based testing. I plucked clojure.core/group-by for no particular reason as a function to test. I started by stating some properties i think should hold: ;; 1. applying the grouping key function

Re: Recompiling a Java class

2014-01-09 Thread henry w
Take a look at this: http://z.caudate.me/dynamic-reloading-of-java-code-in-emacsnrepl/ I havent gotten around to looking into it myself yet but it sounds like what you are after. On Thursday, January 9, 2014 4:43:07 AM UTC, Jacob Goodson wrote: > > I created a Java object which I called from a

Re: Access the datastructure used to create a function?

2013-11-26 Thread henry w
On Tuesday, November 26, 2013 8:30:38 PM UTC, Alex Miller wrote: > > Seems like you lost the clojure mailing list in this response, so I > re-added it. > > On Tue, Nov 26, 2013 at 2:09 PM, henry w >wrote: > >> Thanks to all respondents. >> >> This was really just so

Re: Access the datastructure used to create a function?

2013-11-26 Thread henry w
Sad not to get any replies - even to tell me if it is a bad idea or not possible. :-( Assuming it is not possible, am I right in saying that at the moment, in Clojure, 'code is data' really only applies until code is compiled? I realise compiled functions can still be passed around, assigned t

Access the datastructure used to create a function?

2013-11-21 Thread henry w
Say you have a function created like this: (fn [x] (+ x y)) and then you have a reference to an instance of this function, is there some way to use the function reference to access the list '(fn [x] (+ x y)), including the symbol 'y' (such that you could dereference 'y' and get its value)? The