[ANN] Datomic Cloud

2018-01-17 Thread Alan Moore
Yes! Thanks for your hard work on this. I was looking for the AMI after your Conj talk but couldn’t find it... thought my mad search skills had degraded. Good timing too, looking to provision very soon. Alan -- You received this message because you are subscribed to the Google Groups "Cl

Re: [ANN] Datomic Cloud

2018-01-17 Thread Alan Thompson
Cool. On Wed, Jan 17, 2018 at 6:25 AM, Jeroen van Dijk wrote: > Congrats! > > On Wed, Jan 17, 2018 at 3:06 PM, Stuart Halloway < > stuart.hallo...@gmail.com> wrote: > >> Datomic Cloud is now available! http://blog.datomic >> .com/2018/01/datomic-cloud.html >> >> --

Re: [ANN] Git Deps for Clojure!

2018-01-07 Thread Alan Thompson
type :lein not loaded when finding deps for github-clj-time/clj-time in coordinate {:git/url " https://github.com/clj-time/clj-time;, :rev "cce58248937bc05452ebfc8b65134961227a554e", *:deps/manifest :lein*, :deps/root "/home/alan/.gitlibs/libs/github-clj-time/clj-time/cce58248

Re: Advice on Shell Scripting with new "clojure" binary

2018-01-05 Thread Alan Thompson
d. Very convenient! Alan On Thu, Jan 4, 2018 at 6:14 PM, Sean Corfield <s...@corfield.org> wrote: > The `clojure` command just loads your script – it doesn’t call -main – if > you had > > > > ;; test.clj > > (println “Loaded!”) > > > &

Re: Officially support Vert.x

2017-12-29 Thread Alan Moore
As Gary said there are options if you aren’t tied to Vert.x. Of course there is core.async but you might also take a look at Manifold: http://aleph.io/manifold/rationale.html Good luck! Alan -- You received this message because you are subscribed to the Google Groups "Clojure" grou

Re: Terminating 'clj' REPL session

2017-12-09 Thread Alan Thompson
xit Use exit() or Ctrl-D (i.e. EOF) to exit >>> quit Use quit() or Ctrl-D (i.e. EOF) to exit >>> On Sat, Dec 9, 2017 at 8:29 PM, Alan Thompson <clooj...@gmail.com> wrote: > Would a message such as "use CRTL-D to exit" be appropriate? Right now it > is

Re: Terminating 'clj' REPL session

2017-12-09 Thread Alan Thompson
Would a message such as "use CRTL-D to exit" be appropriate? Right now it is very bare. Maybe this? ~ > clj Clojure 1.9.0 (use ^D to exit) user=> ~ > Alan On Sat, Dec 9, 2017 at 5:15 PM, Sean Corfield <s...@corfield.org> wrote: > I find the fact that "exit&qu

OutOfMemoryError when using Plumatic Schema and infinite lazy lists

2017-12-09 Thread Alan Thompson
came up during a simple unit test and really had me scratching the old noggin for quite a while. I'm not sure if there is an easy way of enhancing Schema to avoid this problem, or if it is just something one needs to be wary of. Alan -- You received this message because you are subscrib

Terminating 'clj' REPL session

2017-12-09 Thread Alan Thompson
e upon CRTL-D or CRTL-C, but many users will probably be confused that `quit` and `exit` are not accepted. Should I file a JIRA? Alan -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.c

[ANN] re-graph - a GraphQL client for re-frame apps

2017-12-06 Thread Alan Moore
Great to see this, thanks! Will be giving it a try soon. Alan -- 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

[ANN] Dynadoc, dynamic docs for Clojure(Script)

2017-11-27 Thread Alan Moore
Nice! This will come in very handy. I’ve also been checking out your Nightlight project. Very impressive work. Alan -- 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

Re: Lazy Flatten; One seq at a Time

2017-11-21 Thread Alan Thompson
(range 10 15) (range 20 25)] flat-seq(lazy-gen (doseq [curr-seq seq-of-seqs] (yield-all curr-seq)))] (is= flat-seq [0 1 2 3 4 10 11 12 13 14 20 21 22 23 24])) Alan On Tue, Nov 21, 2017 at 4:47 PM, Jason Wol

Re: [ANN] data.xml 0.2.0-alpha5

2017-11-13 Thread Alan Thompson
C1Java 9.0.1 - lein test tst.tupelo.array lein test tst.tupelo.async lein test tst.tupelo.dev lein test tst.tupelo.forest lein test tst.tupelo.forest-examples WARNING: An illegal reflective access operation has occurred WARNING: Illegal reflective access by clojure.lang.Reflector

Re: Who Uses import-vars?

2017-11-07 Thread Alan Thompson
;Makes sure that all changes to `src` are reflected in `dst`." ​I haven't seen any problems in using it for a year or so, but the implementation is not the same as I expected. Hmmm. Alan​ On Tue, Nov 7, 2017 at 12:08 PM, Alan Thompson <clooj...@gmail.com> wrote: > In the Tupelo l

Re: Who Uses import-vars?

2017-11-07 Thread Alan Thompson
I've been doing it wrong and should switch to `import-vars`.? Alan On Tue, Nov 7, 2017 at 10:13 AM, Nick Mudge <n...@perfectabstractions.com> wrote: > I am interested to know if people/you use import-vars to decouple the > structure of code from its API. > > import-vars

Re: [ANN] Clojure 1.9.0-beta4

2017-11-03 Thread Alan Thompson
Just upgraded from 0.0.8 to [org.clojure/data.x ​​ ml "0.2.0-alpha3"] ​ and am still getting the same error. The offending statement is (clojure.data.xml/parse) where the BIS is the result of (clojure.java.io/input-stream (clojure.java.io/resource )) ​ ​Alan On Fri, N

Re: [ANN] Clojure 1.9.0-beta4

2017-11-03 Thread Alan Thompson
OK, I upgraded lein to 2.8.1, and it removed one of the error messages. I still have one remaining: WARNING: An illegal reflective access operation has occurred WARNING: Illegal reflective access by clojure.lang.Reflector (file:/home/alan/.m2/repository/org/clojure/clojure/1.9.0-beta4/clojure

Re: [ANN] Clojure 1.9.0-beta4

2017-11-02 Thread Alan Thompson
tst.tupelo._bootstrap --- Clojure 1.9.0-beta4Java 9.0.1 --- Is Clojure 1.9 intended to be compatible with Java 9? Alan On Wed, Nov 1, 2017 at 6:26 PM, Didier <didi...@gmail.com> wrote: > FWIW, bigdec? seemed to f

Grateful Appreciation

2017-10-31 Thread Alan Moore
to give back in kind. That’s it. Take care. Alan -- 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

Nice screencast overview of Specter

2017-10-18 Thread Alan Thompson
I just saw this on YouTube and thought you may enjoy it: https://youtu.be/rh5J4vacG98 While there is lots of written documentation on Specter, the live-coding and narration of what one is seeing provides some nice examples. Enjoy, Alan -- You received this message because you are subscribed

Re: hello world question !!!

2017-10-13 Thread Alan Moore
Lolz, I actually liked the coffee to code autocorrect... the autocorrect machine learning algorithm was probably trained on the old joke about that very thing. Thanks for the laugh after the week I’ve endured... Alan -- You received this message because you are subscribed to the Google Groups

[ANN] faster-multimethods

2017-10-12 Thread John Alan McDonald
Beta release (0.1.0) of faster-multimethods, which brings multimethod lookup overhead to roughly the same cost as protocols, with only modest changes to the Clojure 1.8.0 implementation. It is mostly backwards compatible with Clojure 1.8.0. I would very much appreciate feedback on the semantic

Re: Help ship Clojure 1.9!

2017-10-06 Thread Alan Thompson
-any$20mismatch%7Csort:relevance/clojure/tPiW2DGHTN0/A4LyknV4BAAJ Alan On Wed, Oct 4, 2017 at 1:27 PM, Michał Marczyk <michal.marc...@gmail.com> wrote: > I've run into a behaviour change that was actually already present in > alpha20 – with the CLJ-99 patch in place, {min,max}-ke

Re: any? in clojure 1.9.0 alpha

2017-10-06 Thread Alan Thompson
id a permanent pollution of the language with a gigantic mistake such as *any?*. At the very least, the function could be moved to *clojure.spec/any?* from *clojure.core*. If we insist on adding this blatant contradiction to *clojure.core*, we won't even have the excuse of a committee to blam

Re: [core.spec] Stricter map validations?

2017-10-03 Thread Alan Thompson
moment. You can find some older API docs (May 2017) on CrossClj: https://crossclj.info/doc/tupelo/0.9.1/index.html Alan On Tue, Oct 3, 2017 at 2:37 PM, Didier <didi...@gmail.com> wrote: > I'm loving Spec as an FYI, and I'll use it even if it stays as is, even in > its alpha state

Re: Clojure.org

2017-09-23 Thread Alan Moore
Thanks for the feedback! Yeggi’s post was written a long time ago and the site/mailing list have undergone quite a few changes since then. Hopefully it is better now, sometimes it is hard for those of us who have been around awhile to see rough edges. Alan -- You received this message

functions with metadata, 2 problems: performance hit and equality not preserved.

2017-09-19 Thread John Alan McDonald
I'd like to be able to do something like: (defn square ^double [^double x] (* x x)) (def meta-square (with-meta square {:domain Double/TYPE :codomain Double/TYPE :range {:from 0.0 :to Double/POSITIVE_INFINITY :also Double/NaN}}) https://clojure.org/reference/metadata says "Symbols and

Re: Did something change in future

2017-08-20 Thread Alan Moore
Cecil, Welcome back! I remember your name from prior posts. Hope it goes well for you. The tooling has improved substantially and a lot of the rough edges have been sanded down, especially for ClojureScript which has undergone huge improvements. Clojure (and ClojureScript) FTW! Alan -- You

Re: Clojure rookie vs parsing

2017-08-16 Thread Alan Thompson
cloojure/tupelo/blob/master/test/tst/tupelo/forest_examples.cljc> and the API docs <http://cloojure.github.io/doc/tupelo/tupelo.forest.html>. More documentation forthcoming. Enjoy! Alan On Tue, Aug 15, 2017 at 7:11 PM, dennis zhuang <killme2...@gmail.com> wrote: > In my experien

Re: Question about transitivity in MultiFn.prefers() --- possible bug

2017-08-14 Thread John Alan McDonald
A related but slightly different issue: is prefer-method supposed to be transitive? That is, (prefer-method f a b) and (prefer-method f b c) implies (prefer-method f a c)? Here is a unit test that checks for transitivity (which fails in Clojure 1.8.0): (test/deftest transitive (derive

MultiFn.prefers() ignores the multimethod's internal hierarchy

2017-08-12 Thread John Alan McDonald
prefers(x,y) visits ancestors by calling parents.invoke() recursively. This visits the parents in the global hierarchy, not the multimethod's hierarchy. Is this the intended behavior? Why would that be? On the assumption that prefer-method should behave the same for a local vs the

Question about transitivity in MultiFn.prefers() --- possible bug

2017-08-12 Thread John Alan McDonald
prefers(x,y) checks the ancestors of x, and returns true if any of them are preferred to y --- which makes sense to me. However, it also check the ancestors of y, and returns true if x is preferred to any of them, which I don't understand. Is that the intended behavior? Seems like it should

Re: Spec without global registry?

2017-06-12 Thread 'Alan Forrester' via Clojure
ach customer having his own registry? > Further, I suspect that the lifecycle for specs in my app's scope will be a > bit different than the Clojure developer scope. Specifically, I can see that > some customers will insist on retracting specs. What do you mean by retracting specs? And

Re: The Empire Strikes Back: Microsoft Visual Studio IDE Integration for F#

2017-06-05 Thread Alan Thompson
Link: https://blogs.msdn.microsoft.com/dotnet/2017/05/31/why-you-should-use-f/ On Mon, Jun 5, 2017 at 9:23 AM, Alan Thompson <clooj...@gmail.com> wrote: > Here is an interesting talk from MS Build 2017 conference, especially when > compared to similar capabilities in Clojure/

Re: Adding debug traces to expressions

2017-06-05 Thread Alan Thompson
] to get printed output like this: module-hid => :5d77d6d3a49b09624ca8e8c9f9c975228a212d03 module-bush-before => [{:tag :module} [{:tag :identifier} "calculator"] [{:tag :namespace} [{:tag :string} "http://brocade.com/ns/calculator;]] [{:tag :contact} [{:tag :string} "Alan

The Empire Strikes Back: Microsoft Visual Studio IDE Integration for F#

2017-06-05 Thread Alan Thompson
dio (also only available for F#). >From a Clojure perspective you can see that they are still playing catch-up, but it looks like they have really committed to both functional programming and the corresponding tooling. Alan -- You received this message because you are subscribed to the Google Grou

SymbolHound search engine

2017-05-25 Thread Alan Thompson
ing Google et al. Enjoy! Alan P.S. If you haven't seen it yet, don't forget this nice summary: https://yobriefca.se/blog/2014/05/19/the-weird-and-wonderful-characters-of-clojure/ -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to th

Re: slackpocalypse?

2017-05-23 Thread Alan Moore
I could build a matrix bridge for Google Groups. Alan On Tue, May 23, 2017 at 2:22 PM, Andy Fingerhut <andy.finger...@gmail.com> wrote: > I have no skin in this game, but wasn't the move to Slack pretty much a > "vote with your feet" combined with word of mouth advertis

slackpocalypse?

2017-05-20 Thread Alan Moore
helping design or build it feel free to ping me offline at alan coopsource org, w/ the usual punctuation implied. My 2ct. Alan -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.co

Re: Let and For Doesn't Execute - Where Is My Misunderstanding?

2017-05-17 Thread 'Alan Forrester' via Clojure
t use a let: (let [t (:class holding) a (for [x t] (println "here" x)) b (for [x t] (println "there" x))] [a b]) This prints both “here” and “there” and has a return value of a vector with two seqs of nils. If you don’t want the return value,

Re: How to Create Clojure `defn` Functions automatically?

2017-05-13 Thread Alan Thompson
on being presented. > > > On Sat, May 13, 2017 at 4:49 PM, Alan Thompson <clooj...@gmail.com> wrote: > >> I was just trying to answer a question posed by someone else, so I can't >> give details about the original motivation. I thought it was a good example &g

Re: How to Create Clojure `defn` Functions automatically?

2017-05-13 Thread Alan Thompson
gmail.com> wrote: > Sorry, but this use of intern is a pointless. What does intern give you > that a let over a defn doesn't? > > On Sat, May 13, 2017 at 4:37 PM, Alan Thompson <clooj...@gmail.com> wrote: > >> If anyone is interested, I cleaned up the question to

Re: Functional Pattern to Replace Temp Var

2017-05-13 Thread Alan Thompson
) } ] final-result) is already purely functional and very appropriate. In fact, there is even a name for a closely-related technique: https://refactoring.com/catalog/extractVariable.html Alan On Sat, May 13, 2017 at 1:26 PM, Kevin Kleinfelter < kleinfelter.gro...@gmail.com> wrote: >

Re: How to Create Clojure `defn` Functions automatically?

2017-05-13 Thread Alan Thompson
functions. Here is the re-worked version: http://stackoverflow.com/questions/43958471/how-to-create-clojure-defn-functions-automatically-without-macros/ Alan On Thu, May 11, 2017 at 10:15 AM, Alan Thompson <clooj...@gmail.com> wrote: > Actually someone else wrote the original CLJS qu

Re: def with function call - how often executed?

2017-05-11 Thread Alan Thompson
When clojure reads this, it immediately evaluates `(+ 1 2)` => 3 so your code looks like: (def x 3) So subsequent references to `x` just get the pre-computed value of 3 and don't know how it was derived. Alan On Thu, May 11, 2017 at 9:58 AM, Kevin Kleinfelter < kleinfelter.gro...@gma

Re: How to Create Clojure `defn` Functions automatically?

2017-05-11 Thread Alan Thompson
I had here was simply finding a good way to avoid macros when auto-generating functions, and to generalize/document the technique described in (2) using `intern`. Alan P.S. Regarding (3), Joel Spolsky, creator of StackOverflow, has often encouraged people to post both a question and its answer o

Re: How to Create Clojure `defn` Functions automatically?

2017-05-11 Thread Alan Thompson
Since the original question was in CLJS, which has neither `intern` nor `eval`, does that mean the macro mapping another macro approach is the only solution there? On Thu, May 11, 2017 at 9:18 AM, Alan Thompson <clooj...@gmail.com> wrote: > I like the idea of using `eval` and `memoiz

Re: How to Create Clojure `defn` Functions automatically?

2017-05-11 Thread Alan Thompson
I like the idea of using `eval` and `memoize`. I'll have to keep that in mind. Alan On Thu, May 11, 2017 at 7:58 AM, Timothy Baldridge <tbaldri...@gmail.com> wrote: > This is a somewhat weird answer to a overcomplicated problem. As > mentioned, the data is a map to start wi

Re: How to Create Clojure `defn` Functions automatically?

2017-05-11 Thread Alan Thompson
The original question ( http://stackoverflow.com/questions/43897632/mapped-calls-to-clojurescript-macro) was about automatically generating callback functions for CLJS. Perhaps I oversimplified it too much for the example. Alan On Thu, May 11, 2017 at 1:55 AM, Dragan Djuric <draga...@gmail.

How to Create Clojure `defn` Functions automatically?

2017-05-11 Thread Alan Thompson
ave the newly generated functions into the global environment and to retrieve the pre-existing maps `foo` and `bar`. Full details are available Q at the StackOverflow post <http://stackoverflow.com/questions/43904628/how-to-create-clojure-defn-functions-automatically/43904717#43904717> . E

Re: Incomplete With Destructuring Lists

2017-05-10 Thread Alan Thompson
args:(1 2 3 4 5 6 7 8 9 10) On Wed, May 10, 2017 at 9:04 PM, Alan Thompson <clooj...@gmail.com> wrote: > Don't try to force the destructuring DSL to do more than it was intended > to do. Just do it manually (or write a macro if you really insist): > > > > (defn foo > [&a

Re: Incomplete With Destructuring Lists

2017-05-10 Thread Alan Thompson
Don't try to force the destructuring DSL to do more than it was intended to do. Just do it manually (or write a macro if you really insist): (defn foo [& args] (let [ [a b c] (take 3 args) mid3 (take 3 (drop 3 args)) [g h i] (drop 6 args) ] (when (< 9 (count

[ANN] Tupelo - Clojure With A Spoonful of Honey

2017-04-30 Thread Alan Thompson
2 3] [1 9 3] )) ;=> true (wild-match? {:a :* :b 2} {:a [1 2 3] :b 2}) ;=> true Enjoy, Alan -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googl

Rust intro for Clojurists

2017-04-29 Thread Alan Thompson
https://gist.github.com/oakes/4af1023b6c5162c6f8f0 -- 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.

Re: (doseq/lazy/interop)? problem, different behaviour when adding a println

2017-04-24 Thread Alan Thompson
f like `java.util.HashMap` with Clojure versions whenever possible. Again, the goal is to avoid clashes in the hidden assumptions of the two models. Alan On Mon, Apr 24, 2017 at 1:05 PM, Alan Thompson <clooj...@gmail.com> wrote: > Having not gone through your code in detail, I would su

Re: (doseq/lazy/interop)? problem, different behaviour when adding a println

2017-04-24 Thread Alan Thompson
ems with the (implicit) assumptions of other code. Alan On Sat, Apr 22, 2017 at 2:59 AM, Lucas Wiener <luwie...@gmail.com> wrote: > Hi all, > > I'm working on solving the problem http://adventofcode.com/2016/day/11 , > and ran into some weird behaviour. I have solved the actua

Has anyone tried building ClojureCLR using dontnet core on non-windows platforms?

2017-04-17 Thread Alan Moore
Arcadia is a project that uses ClojureCLR in Unity and I've run it on macOS so you should be ok. However, I don't compile any code outside of Arcadia so maybe they've done something specific in that project to enable its operation (precompiled binaries?) Alan -- You received this message

Re: ANN: Orchestra, complete instrumentation for clojure.spec

2017-04-05 Thread Alan Thompson
Sounds nice! Will definitely be looking into this. Alan On Wed, Apr 5, 2017 at 11:21 AM, Jeaye <cont...@jeaye.com> wrote: > Folks, > > tl;dr -- https://github.com/jeaye/orchestra > > I'd like to announce the release of Orchestra, which tackles an > opinionated

Shout-out to Clojure and Rich @ ReactConf 2017

2017-03-23 Thread Alan Moore
(I had to learn it first... lolz) Enjoy! Alan -- 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

Re: ANN: I wrote a beginner datomic tutorial I wanted to share with y'all, constructive feedback welcome

2017-03-20 Thread Alan Thompson
Looks like a good start. If you are interested, you may find some of the examples and helper functions from the Tupelo Datomic library useful: https://github.com/cloojure/tupelo-datomic Alan On Sun, Mar 19, 2017 at 2:34 PM, Fenton Travers <fenton.trav...@gmail.com> wrote: &

Generating a deck of cards in Clojure using generator functions (a la Python)

2017-03-14 Thread Alan Thompson
reader to be extra explicit about the looping constructs, etc. Also, if there were other operations in the inner loop before & after the yield statement, it might be awkward to force the solution into a map or for style solution. Enjoy! Alan P.S. I noticed after searching that Alex Engelberg worke

Re: [ANN] Odin 0.2.0 - Query DSL for Clojure

2017-02-23 Thread Alan Thompson
Just came across this - it looks very cool! Alan On Sat, Dec 10, 2016 at 7:14 AM, Timothy Baldridge <tbaldri...@gmail.com> wrote: > I just released the first official version of Odin ( > https://github.com/halgari/odin). Odin is a declarative, extensible query > DSL for Clojure

Re: Tentacles; Going Forward

2017-02-14 Thread Alan Moore
Matthew, +1 everything Chas said. #RIPRaynes I do have a question about tentacles more generally. Given GitHub's move to GraphQL, how do you see this being supported (or not?) in this library going forwards? Alan -- You received this message because you are subscribed to the Google Groups

Re: if nil is true

2017-01-29 Thread 'Alan Forrester' via Clojure
eader This isn’t an attack, just a statement of fact. Alan -- 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

Re: Pattern matching Vs destructuring?

2017-01-26 Thread 'Alan Forrester' via Clojure
make it concise. For example, you might have a map with keywords as keys and functions as values and just insert a function by calling the map with the relevant keyword instead of switching or casing. Alan -- You received this message because you are subscribed to the Google Groups "Cloju

Boot 2.7.1 (and 2.7.0) released

2016-12-21 Thread Alan Dipert
Lewis Ship Jonathan Henry Juho Teperi Max Vasiliev Sean Corfield Stefan van der Meer Stephen Brady Toby Crawley Alan -- 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 po

RIP Anthony Grimes (Raynes)

2016-12-07 Thread Alan Moore
Oh no... so sad and tragic. I remember everyone pitching in to "get him to the conj"... and all his great Clojure contributions. I always admired his enthusiasm and spirit. My condolences to his close friends and family. While I never met him in person his presence was felt in this forum and

Re: [ANN] Clojure Programming Cookbook

2016-11-15 Thread Alan Thompson
Ordered! Looking forward to seeing it. :) Alan On Mon, Nov 14, 2016 at 7:08 PM, Nicolas Modrzyk <hellon...@gmail.com> wrote: > Hi Clojure people, > > So after one year and 23 days, (that would be 388 days) the IT book I was > working on with Makoto (merci!) finally got pub

Re: any? in clojure 1.9.0 alpha

2016-11-06 Thread Alan Thompson
There was quite a discussion of this topic back in July if you'd like to review it: https://goo.gl/Azy8Nf The semantic mismatch is unfortunate. Alan On Sun, Nov 6, 2016 at 6:47 PM, waffletower <christopherpenr...@gmail.com> wrote: > I disagree, the new implementation is a subset of t

Re: Parsing Java with Instaparse

2016-11-04 Thread Alan Moore
Interop FTW! Alan -- 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: How do I set up database in the context of a web application ?

2016-11-02 Thread Alan Thompson
You can find a nice overview in the Clojure Cookbook . On Wed, Nov 2, 2016 at 2:58 PM, 'George' via Clojure < clojure@googlegroups.com> wrote: > I'd like to use datomic, but my

Re: Clojure Web Applications for Beginner

2016-11-02 Thread Alan Thompson
You should also checkout the Clojure Cookbook <http://clojure-cookbook.com/>, which I highly recommend: They have an entire chapter on Clojure Webapps: https://github.com/clojure-cookbook/clojure-cookbook/tree/master/07_webapps Alan On Wed, Nov 2, 2016 at 12:41 PM, Erik Assum <e...@

Java 9 AOT Compilation

2016-10-31 Thread Alan Moore
FYI: I just ran across this and thought it would interest this group: http://openjdk.java.net/jeps/295 Initially only some of the base java stuff will be compiled but it looks like it will be extended further. Hopefully this might help improve startup time for those using OpenJDK. Alan

Re: comp and partial vs ->>

2016-10-30 Thread Alan Thompson
I agree 100%. I quite frequently use the style, more than any of the alternatives. It even has a name, "Introduce Explaining Variable": http://refactoring.com/catalog/extractVariable.html ​ Alan​ On Sun, Oct 30, 2016 at 7:50 PM, Mikera <mike.r.anderson...@gmail.com> wrote: &

Re: comp and partial vs ->>

2016-10-27 Thread Alan Thompson
I almost never use either the `comp` or the `partial` functions. I think it is clearer to either compose the functions like Gary showed, or to use a threading macro (my favorite is the `it->` macro from the Tupelo library <https://github.com/cloojure/tupelo#literate-threading-macro&g

Re: join* tables from csv

2016-10-18 Thread Alan Thompson
You may also like this answer using DataScript to solve a similar problem: http://stackoverflow.com/questions/39712460/how-to-map-different-values-from-2-sets-in-clojure-based-on-unique-value/39714081#39714081 On Tue, Oct 18, 2016 at 6:09 AM, Moe Aboulkheir wrote: > (defn

Re: Java like static typing for Clojure?

2016-10-16 Thread Alan Thompson
Be sure to check out Plumatic Schema <https://github.com/plumatic/schema> (previously Prismatic Schema) if you haven't already. There is also a good Clojure Conj video <https://www.youtube.com/watch?v=o_jtwIs2Ot8> from 2013. Alan On Sat, Oct 15, 2016 at 3:14 PM, Didier <didi...@g

Re: [ANN] clj-xchart – A charting/plotting library for Clojure

2016-10-16 Thread Alan Thompson
Looks nice - I'll be keeping it in mind. Alan On Sat, Oct 15, 2016 at 5:31 AM, Jean Niklas L'orange <jeann...@hypirion.com > wrote: > Hi Clojurians, > > I am happy to announce clj-xchart <https://hypirion.github.io/clj-xchart/>! > XChart <http://knowm.org/open-sourc

complex made simple?

2016-10-14 Thread 'Alan Forrester' via Clojure
In Rich Hickey's talk "Simple Made Easy" he mentioned that there are ways to take a system that somebody else wrote that is complex and simplify it. Can anyone recommend some resources on how to do this? Thanks, Alan Forrester -- You received this message because you are

Re: WAT: JavaScript & Ruby

2016-10-13 Thread Alan Thompson
shortcut in the present can cause long-lasting pain in the future. Alan On Thu, Oct 13, 2016 at 1:14 PM, larry google groups < lawrencecloj...@gmail.com> wrote: > > Waiting for the Clojure and Scala version. :-} > > But there won't be. Not ever. Not really. The reason I p

Love the Medley library :)

2016-10-13 Thread Alan Thompson
(apply glue src) => {:a 1, :b nil, :c 3, :d nil, :e 5} (spyx (medley/remove-vals nil? {:d nil :e 5})) ;=> (medley/remove-vals nil? {:d nil, :e 5}) => {:e 5} (def result (medley/remove-vals nil? (apply t/glue src))) (spyx result) ;=> result => {:a 1, :

Re: [ANN] A CDN for Clojars (testers needed)

2016-10-04 Thread Alan Thompson
Done! Seems to be working. Alan On Tue, Oct 4, 2016 at 6:36 PM, Toby Crawley <t...@tcrawley.org> wrote: > We're now serving a copy of the Clojars repository from Fastly's > CDN[1], backed by Rackspace Cloud Files[2] at > https://repo.clojars.org, and are looking for users to test

Re: Idiom question

2016-09-30 Thread Alan Thompson
The idea of the `it->` operator in the Tupelo library <https://github.com/cloojure/tupelo#literate-threading-macro> is basically just a combination of the explicitness of swiss arrows and the pronoun `it` from Groovy. Alan On Fri, Sep 30, 2016 at 2:00 PM, Stephen Spalding <sspald...@o

Re: Idiom question

2016-09-28 Thread Alan Thompson
hat the :msg argument does not need to be a string. As shown above, keywords, integers, etc may be used. Alan On Wed, Sep 28, 2016 at 11:36 AM, Colin Yates <colin.ya...@gmail.com> wrote: > Welcome to one of the best things about Clojure - the community. However, > if anyone starts usi

First time using DataScript

2016-09-26 Thread Alan Thompson
type :x, :local/id 3, :obs/A "15", :obs/value 7.0, :obs/color "red"} {:type :y, :local/id 2, :obs/A "11", :obs/value 7.0, :obs/shape "square"} {:type :y, :local/id 2, :obs/A "13", :obs/value 4.0, :obs/shape "ci

Don't Call Yourself A Programmer, And Other Career Advice

2016-09-26 Thread Alan Thompson
A good blog posting on the realities of the software industry: -- *Don't Call Yourself A Programmer, And Other Career Advice* If there was one course I could add to

Re: [ANN] data-scope - tools for interactively inspecting and visualizing data

2016-09-26 Thread Alan Thompson
Looks cool. Alan On Sun, Sep 25, 2016 at 1:00 AM, James Sofra <james.so...@gmail.com> wrote: > Hey Alistair, > > I have been working on an engineering project and found myself charting a > lot of load distributions and such. Being able to chart intermediate values > really

Re: [ClojureScript] [ANN] beta.clojars.org: new Clojars infrastructure that needs testing

2016-09-25 Thread Alan Moore
Congrats on this important migration! Thanks also for the time and effort the Clojars team put into this. I encourage everyone to head over to the Clojars issues list where there are many easy/low hanging fruit that await your awesomeness. Alan On Sep 25, 2016, at 8:24 PM, Daniel Compton

Correcting a docstring mistake in clojure.core/filter

2016-09-24 Thread Alan Thompson
check: > (filter identity [:a 1 true false nil "done"]) (:a 1 true "done") Alan -- 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 n

Re: parallel sequence side-effect processor

2016-09-23 Thread Alan Thompson
ler: (dotimes [i (count x) ] (println (x i) (y i))) maybe that is the best answer? It is hard to beat the flexibility of a a loop and an explicit index. Alan On Fri, Sep 23, 2016 at 12:11 AM, Mars0i <marsh...@logical.net> wrote: > On Friday, September 23, 2016 at 1:47:45 AM UTC-5, Francis

WAT: JavaScript & Ruby

2016-09-23 Thread Alan Moore
Thanks for the laugh! Waiting for the Clojure and Scala version. :-} Alan -- 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 moderate

WAT: JavaScript & Ruby

2016-09-22 Thread Alan Thompson
A 4 minute lightning talk on what happens when your API just kinda evolves itself: https://www.destroyallsoftware.com/talks/wat Alan -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroup

Re: map/filter/remove etc. change underlying structure

2016-09-09 Thread Alan Thompson
simpler and more bulletproof functions can go a long toward making Clojure easier to use, especially for beginners or when you are uncertain about the exact type of a parameter. I've pasted the relevant part of the REA

[ANN] "Real" air traffic control system + flight simulator

2016-09-03 Thread Alan Moore
Nice work Ru! I like the way you leveraged so many aspects/components. Alan -- 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 moderate

Re: [ANN] Clojure 1.9.0-alpha11

2016-08-20 Thread Alan Moore
That is what I figured/suspected but wasn't sure. Thanks for filing those pull requests so quickly! Alan On Fri, Aug 19, 2016 at 10:32 PM, Alex Miller <a...@puredanger.com> wrote: > system also depends on the latest released version of monger, which has an > invalid defn in it (:or

Re: [ANN] Clojure 1.9.0-alpha11

2016-08-19 Thread Alan Moore
t) and how it works... I know those two libraries do a bit of namespace manipulation to deal with reloading repls and whatnot so it very well could be something they are doing that is beyond my current understanding and pay grade. Alan On Friday, August 19, 2016 at 11:35:31 AM UTC-7, Alex M

Re: Frustrations so far

2016-07-20 Thread Alan Thompson
o add or improve them, please let me know! Bye, Alan On Wed, Jul 20, 2016 at 5:49 AM, Peter Romfeld <peter.romfeld...@gmail.com> wrote: > I really love clojure over all, it makes maintenance/collaboration of code > such a breeze. its easy to get new employees start to work on it

Good post on remote working

2016-07-17 Thread Alan Thompson
http://jakemccrary.com/blog/2016/06/14/tips-for-working-from-home/ Having worked remotely most of the past two years, I think this blog post is a good summary and has some important points. Cheers, Alan -- You received this message because you are subscribed to the Google Groups "Cl

Re: Use latest stable

2016-07-14 Thread Alan Thompson
able but we use "0.1.60" [com.rpl/specter "0.11.2"] is available but we use "0.9.1" I tend to run it every couple of months, or whenever I remember. Then it is easy to update project.clj Alan On Thu, Jul 14, 2016 at 3:52 AM, Cecil Westerhof <cldwester...@gm

Re: where to find clojure gigs?

2016-07-13 Thread Alan Thompson
Try these: - https://functionaljobs.com/ - https://jobs.braveclojure.com/ - https://clojurians.slack.com/messages/jobs/details/ - http://stackoverflow.com/jobs Also, make sure you list clojure and related tech you know when posting to Monster, Indeed, CareerBuilder,

<    1   2   3   4   5   6   7   8   9   10   >