bat-test: How can I stop the capture of test output?

2021-10-25 Thread Alan Thompson
Does anybody here use `bat-test` with boot? It defaults to capturing all test output, and I can't figure out how to stop that. Thanks, Alan -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email

Re: how to package a project to a jar file?

2021-09-15 Thread Alan Thompson
You could also check out depstar https://github.com/seancorfield/depstar On Tue, Sep 14, 2021 at 8:35 AM c y wrote: > i can't use lein > > -- > You received this message because you are subscribed to the Google > Groups "Clojure" group. > To post to this group, send email to

First build of Tupelo Clojure using Java 17 (Clojure 1.11.0-alpha1)

2021-09-15 Thread Alan Thompson
and everything is working fine (as expected!). 25936 lines of Clojure 419 tests 4014 assertions ~/tupelo > lein clean; lein test Java HotSpot(TM) 64-Bit Server VM warning: Options -Xverify:none and -noverify were

Re: [ANN] Discontinuing 4clojure.com

2021-07-14 Thread Alan Malloy
at 9:13:09 PM UTC-7 brando...@gmail.com wrote: > Thank you Alan for all the work and time put into 4clojure, and thank > those of you who've started and contributed to 4ever-clojure! > > Cheers, > Brandon > > On Sun, Jul 11, 2021 at 2:38 PM Alan Malloy wrote: > >

Re: [ANN] Discontinuing 4clojure.com

2021-07-11 Thread Alan Malloy
I've also exported the problem data: https://drive.google.com/file/d/1hHrygxAs5Do8FpHC9kphYnmyTwZvISnb/view?usp=sharing. On Sunday, July 11, 2021 at 2:22:33 PM UTC-7 Alan Malloy wrote: > I'm happy to see this project, and I think exporting some data is a > reasonable compromise. Rathe

Re: [ANN] Discontinuing 4clojure.com

2021-07-11 Thread Alan Malloy
tally sure this is a good idea: some people may not want their usernames shared, or associated with their solutions. Does anyone in this thread have an opinion? On Tuesday, July 6, 2021 at 9:58:29 AM UTC-7 oxa...@gmail.com wrote: > Thank you Alan for all your contributions :) >

[ANN] Discontinuing 4clojure.com

2021-07-04 Thread Alan Malloy
TL;DR: Turning off 4clojure.com by the end of July 2021 Hello, 4clojure problem solvers. You've probably noticed SSL errors on 4clojure.com over the last week. The old decrepit system 4clojure runs on has finally gotten out of date enough that I can't even figure out how to get it recent

Re: Could not locate

2021-01-05 Thread 'Alan Forrester' via Clojure
1"] > [org.clojure/core.logic "1.0.0"] > ] > :repl-options {:init-ns cljcore.core} > :java-source-paths > ["java"] > :source-paths > ["src"] > :test-paths > ["test”] > ) Have you installed leiningen? Alan Forrester -- You rece

[JOB] Strategic Blue Clojure job in London

2020-12-03 Thread 'Alan Forrester' via Clojure
Hello Strategic Blue is a company that helps organisations buy cloud on terms to suit their needs and optimise long-term cloud costs. We’re hiring a Clojure developer in London: https://strategic-blue.com/careers_pt/developer-2/ Alan Forrester -- You received this message because you

An Intuition for Lisp Syntax

2020-10-25 Thread Alan Thompson
Nice article on how you can "discover" lisp: https://stopa.io/post/265 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 ar

Re: Accessing Record fields with keywords in ClojureScript not working as in Clojure

2020-08-12 Thread Alan Thompson
I verified the problem in the StackOverflow post. For some reason keyword lookup of record fields in CLJS doesn't work. Alan On Tue, Aug 4, 2020 at 12:05 PM Justin Smith wrote: > I don't think this is true, or if true is incidental to the real problem > > % cljs > ClojureScr

Re: Classpath bug re Clojure 1.10.1.645 when using Figwheel.Main

2020-08-12 Thread Alan Thompson
on GH, but am not certain how to replicate the broken install of *.645. Thank you for the attention you are giving to this issue. Alan On Tue, Aug 11, 2020 at 5:41 PM 'Alex Miller' via Clojure < clojure@googlegroups.com> wrote: > Can you change that resources file and see if what you'r

Re: Classpath bug re Clojure 1.10.1.645 when using Figwheel.Main

2020-08-11 Thread Alan Thompson
t[java.net.URL 0x6c345c5f "file:/Users/alanthompson/work/tmp810/xanadu/resources/public/index.html"] The call to `requiring-resolve` claims it is finding my local `./resources/public/index.html`. However, the error remains that it is finding some other `index.html`, which also points to an i

Re: Classpath bug re Clojure 1.10.1.645 when using Figwheel.Main

2020-08-10 Thread Alan Thompson
P.S. There seems to be no *`clojure --version`* flag. Should this be added to the command line tool? On Mon, Aug 10, 2020 at 4:58 PM Alan Thompson wrote: > Hi. Just helped a colleague debug a vexing problem on a CLJS project > using Figwheel.Main. > > If we do *`brew install c

Classpath bug re Clojure 1.10.1.645 when using Figwheel.Main

2020-08-10 Thread Alan Thompson
ne as-is. 2. I assume the classpath change in 1.10.1.645 is a bug that needs to be corrected? 3. Is it possible this is a Figwheel.Main problem instead? Thanks, Alan -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to

Cognitect joins Nubank!

2020-07-23 Thread Alan Moore
Congrats! 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: bit-wise operators for bigint in Clojure

2020-05-28 Thread Alan Thompson
In Clojure, it is probably easiest to just use Java interop, eg: https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/math/BigInteger.html#setBit(int) Alan On Tue, May 26, 2020 at 9:39 AM Harmon Nine wrote: > Hello. > > I noticed a post about this from 2013, so doi

Excellent series of videos by Uncle Bob Martin

2020-04-28 Thread Alan Thompson
; - Clean Code - pt 5 <https://youtu.be/sn0aFEMVTpA> - Clean Code - pt 6 <https://youtu.be/l-gF0vDhJVI> 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@goo

Re: Strange result for clojure.core/time

2020-04-12 Thread Alan Thompson
I now feel like Homer Simpson. Doh! Alan On Sat, Apr 11, 2020 at 2:34 AM Paul Stadig wrote: > The output of `time` is in milliseconds and the output of > `with-timer-print` is in seconds. So to make them comparable: > `time` 0.01344 msec > `time` with eval 0.922536 msec >

Strange result for clojure.core/time

2020-04-10 Thread Alan Thompson
rd" (vals->map id `(let [result-map# (with-timer-result ~@forms)] (println (format ":with-timer-print %s %12.6f" ~id (grab :seconds result-map#))) (grab :result result-map#))) Does anyone have an idea of why `clojure.core/time` gives such insanely inflated results

Re: Using Deps/CLI for building mixed Clojure & Java projects

2020-04-02 Thread Alan Thompson
useful features. Alan On Thu, Apr 2, 2020 at 2:32 PM Sean Corfield wrote: > And you might look at https://github.com/EwenG/badigeon (which is listed > on that tools page) since it says it will "Compile java sources" > according to the readme > > On Thu, Apr 2, 2020 at 2:3

Using Deps/CLI for building mixed Clojure & Java projects

2020-04-02 Thread Alan Thompson
iled in enhancing Deps/CLI to handle Java source files? Thanks, 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 wi

Re: Clojars moved to new infrastructure

2020-03-28 Thread Alan Thompson
OK, it is fixed. :) Got rid of the beta test stuff for the new Clojars.org: :deploy-repositories [["clojars" "http://beta.clojars.org/repo/;]] Now it works perfectly. Thanks, Toby. Alan On Sat, Mar 28, 2020 at 6:05 PM Toby Crawley wrote: > Hi Alan: > >

Re: Clojars moved to new infrastructure

2020-03-28 Thread Alan Thompson
Xverify:none and -noverify were deprecated in JDK 13 and will likely be removed in a future release. No credentials found for clojars See `lein help deploying` for how to configure credentials to avoid prompts. Username: cloojure Password: Created /home/alan/tupelo/target/provided/tupelo-0.9.200.jar Wrot

Destructuring in Kotlin

2020-03-25 Thread Alan Thompson
I was just reading an article on Kotlin and noticed they have nearly identical destructuring syntax as in Clojure: for ((k, v) in map) { println(“$k -> $v”) } Kotlin can also be compiled into JavaScript ES5.1 to target browsers, just like with ClojureScript. -- You received this message

italian government is making a fast call for contributions on telemedicine and data analysis solutions in order to contain the spread of Covid-19

2020-03-24 Thread Alan Moore
Luca, Thanks for reaching out. Will take a look to see how I can help. Currently helping out with a tracking app effort to slow the spread. Best of luck to you and all of Italy & well, all of us. Alan -- You received this message because you are subscribed to the Google Groups &quo

Re: Clojure 1.10 "Illegal Reflective Access Operation"

2020-03-22 Thread Alan Thompson
l> - YAML: tupelo.parse.yaml <https://cljdoc.org/d/tupelo/tupelo/0.9.199/api/tupelo.parse.yaml> Enjoy! Alan On Wed, Feb 19, 2020 at 6:37 AM Alex Miller wrote: > I believe this has already been discussed in this same thread, but to > rehash. > > More info on what this warning means: &g

Re: quoting vs syntax quoting

2020-03-02 Thread Alan Thompson
his with plain-quote). The combination allows you to easily make code templates, the same way you might make HTML templates with Selmer, Django, etc. For full details of macro writing, please see this answer: https://stackoverflow.com/questions/60212576/how-do-i-write-a-clojure-threading-mac

Re: Clojars deployment failing

2020-02-20 Thread Alan Thompson
I just did a `lein deploy clojars` and it worked fine. Alan On Wed, Feb 19, 2020 at 8:40 PM Aaron D. wrote: > Whelp -- Just another data point -- I got two releases through just now > successfully. So this is intermittent or something was fixed. > > On Wednesday, February 19, 2020

Re: Stack Overflow developer survey

2020-02-07 Thread Alan Moore
Done. Alan On Wednesday, February 5, 2020 at 8:02:13 PM UTC-8, Sean Corfield wrote: > > I've been encouraging folks to take the survey and write in Clojure. > Representation matters! > > On Wed, Feb 5, 2020 at 5:45 PM Matching Socks > wrote: > >> Today, I notice

[ANN] Juxt/Bidi routing library demo

2020-01-29 Thread Alan Thompson
"/index.html" (let [route ["" { {:request-method :get} {"/index.html" :index} }]] (is= (bidi/match-route route "/index.html" :request-method :get) {:handler :index, :request-method :get}) (is= (bidi/match-route route "/index.html" :r

[ANN] Tupelo Clojure I/O Utils - tupelo.io - 0.9.185

2020-01-17 Thread Alan Thompson
ctory tmp-name)) ; idempotent )) There are also a few stream type-testing predicates: (let [in-stream (io/input-stream dummy-file) out-stream (io/output-stream dummy-file) dis(DataInputStream. in-stream) dos(DataOutputStream. out-stream)] (isnt (dat

Re: Enlive: select a comment, drop all subsequent nodes?

2019-12-16 Thread Alan Thompson
amples <https://github.com/cloojure/tupelo/blob/master/test/clj/tst/tupelo/forest_examples.clj> . Alan On Mon, Dec 16, 2019 at 12:18 PM Alan Thompson wrote: > Quick & dirty technique: > > (ns tst.demo.core > (:use demo.core tupelo.core tupelo.test) > (:requir

Re: Enlive: select a comment, drop all subsequent nodes?

2019-12-16 Thread Alan Thompson
Quick & dirty technique: (ns tst.demo.core (:use demo.core tupelo.core tupelo.test) (:require [clojure.java.io :as io] [clojure.walk :as walk] [tupelo.parse.tagsoup :as tagsoup] )) (dotest (let [txt(slurp (io/resource "test.html")) >> (println

Re: 100x startup for Clojure using GraalVM

2019-12-03 Thread Alan Thompson
When you have a short-running task that completes in 0.01 sec, a startup delay of 1.3 seconds (or more) *is* the total execution time. On Fri, Nov 29, 2019 at 10:32 AM david hoyt wrote: > This kind of think is really only interesting for shell piping in bash. It > won’t help numerical, tensor,

Re: 100x startup for Clojure using GraalVM

2019-11-12 Thread Alan Thompson
g scales? >> >> I know a bunch of meta data isn’t needed as it is hotspot specific, but >> are there any other memory savings? >> >> Sent from my iPhone >> >> On 12 Nov 2019, at 18:42, Alan Thompson wrote: >> >> In my initial post, I failed to mention the huge

Re: 100x startup for Clojure using GraalVM

2019-11-12 Thread Alan Thompson
In my initial post, I failed to mention the huge memory savings achieved by the standalone executable (in addition to the startup time savings). Note that using *time* at the command line resolves to a shell built-in command. We can get more information from the standard Unix version of time: #

100x startup for Clojure using GraalVM

2019-11-08 Thread Alan Thompson
Some people I know have been interested in switching from Clojure to Go in order to get faster startup times and statically linked executables for microservices on AWS Lambda, etc. Having recently reviewed the Go: the Good, the Bad, and the Ugly

Love Letter to Clojure (by Gene Kim)

2019-10-11 Thread Alan Thompson
Thought this would be of interest: https://itrevolution.com/love-letter-to-clojure-part-1/ -- 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 -

Java in 2019 survey

2019-10-09 Thread Alan Thompson
I thought this might be of interest to Clojure devs: https://www.baeldung.com/java-in-2019 -- 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

Good Clojure article by Uncle Bob

2019-08-23 Thread Alan Thompson
Nicely sums up the advantages of Clojure: http://blog.cleancoder.com/uncle-bob/2019/08/22/WhyClojure.html -- 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

[ANN] ubergraph 0.6.0

2019-07-25 Thread Alan Moore
Damn, this dude is on FIRE! Thanks Mark for these awesome libraries. It clear you’ve put a lot of time and effort into them! 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: Calling Java from Clojure

2019-06-12 Thread Alan Moore
Nice, this looks very handy. Thanks! Alan On Wednesday, June 12, 2019 at 12:12:01 AM UTC-7, henrik42 wrote: > > I hacked just that a few days ago to support Java development at work: > https://github.com/henrik42/deeto Not released yet but could be a starter > in that directi

Re: Calling Java from Clojure

2019-06-11 Thread Alan Moore
Maybe this is too old school but wouldn’t a dynamic proxy help here? E.g. java.lang.reflect.InvocationHandler & java.lang.reflect.Proxy. Clearly you’d be relying on reflection but if your interface usage is large grained enough the overhead wouldn’t be too bad. -- You received this message

Nice blog entry on not trying to do much with `:prep-tasks` in `lein`

2019-06-07 Thread Alan Thompson
Makes a good point that other tools should be used for non-clojure build steps. https://grishaev.me/en/lein/ -- 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

[ANN] cpython bindings for clojure

2019-06-05 Thread Alan Moore
Awesome! 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: No "clojure --version" switch

2019-05-08 Thread Alan Thompson
Jira CLJ-2508 created. On Wed, May 8, 2019 at 4:51 AM Alex Miller wrote: > > Actually, reporting the Clojure AND Java version would be even better. > > > On May 8, 2019, at 6:31 AM, Alex Miller wrote: > > > > I would echo the other comments here. What user question are we trying to > > answer?

Compiler error message misses the target

2019-05-07 Thread Alan Thompson
re... Oh, look at this on line 159: [image: Screenshot from 2019-05-07 21-12-11.png] So, I got a random character inserted, and the compiler directs me to a line 152 lines away from the actual error location. Any we wonder why Clojure has slow adoption I could probably figure out a fix for

No "clojure --version" switch

2019-05-07 Thread Alan Thompson
Seems we should have the "--version" switch that is pretty universal. Right now, the best one can do is > clojure --eval "(clojure-version)" "1.10.0" which is hard for a new user to figure out. Jira ticket? Alan -- You received this message because you ar

StackOverflow Survey Results

2019-04-09 Thread Alan Thompson
are in. Clojure ranks highly on the scale of global salary and in the "Most Loved" categories:

Re: [ANN] defn-spec, define your specs inline with your function

2019-04-01 Thread Alan Thompson
Looks interesting! Definitely need to check this out. Alan On Sun, Mar 31, 2019 at 12:44 AM Daniel Compton < daniel.compton.li...@gmail.com> wrote: > Hi folks > > I've released 0.1.0 of defn-spec > <https://github.com/danielcompton/defn-spec>, a library that lets yo

Oz: Live code reloading for Clojure (& data science)

2019-03-27 Thread Alan Moore
Chris, Nice feature, thanks! I’m not in a position to try it out now but will give it a go after an ongoing trade show scramble. Alan -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@google

Re: [ANN] Clojure 1.10.1-beta1

2019-03-26 Thread Alan Thompson
Working fine for the Tupelo library: https://github.com/cloojure/tupelo - Clojure 1.10.1-beta1Java 12 - Ran 312 tests containing 2874 assertions. 0 failures, 0 errors. lein test :all 61.60s user 1.22s system 299%

Re: Clojure 1.10 "Illegal Reflective Access Operation"

2019-03-03 Thread Alan Thompson
After further investigation, I modified my copy of the xml parsing code to wrap either an InputStream or a Reader with an org.xml.sax.InputSource (and changed the type hint): (defn ^:private sax-parse-fn [xml-input content-handler] (let [input-source (cond (or

Re: Clojure 1.10 "Illegal Reflective Access Operation"

2019-03-02 Thread Alan Thompson
I was deceived by the error message. Since I had only changed the Clojure version 1.9 => 1.10, and since the warning mentioned only Clojure code: WARNING: Illegal reflective access by clojure.lang.InjectedInvoker/0x000800231c40 (file:/home/alan/.m2/repository/org/clojure/clojure/1.1

Clojure 1.10 "Illegal Reflective Access Operation"

2019-02-24 Thread Alan Thompson
Upgrading from Clojure 1.9 to 1.10, I am getting a new warning: WARNING: An illegal reflective access operation has occurred WARNING: Illegal reflective access by clojure.lang.InjectedInvoker/0x000800231c40 (file:/home/alan/.m2/repository/org/clojure/clojure/1.10.0/clojure-1.10.0.jar

Re: Using map to produce side effects, not working

2019-02-08 Thread Alan Thompson
Also remember that `mapv` is not lazy and will force the map to run right away, which helps if side-effecty things like `println` are a part of the function. On Thu, Feb 7, 2019 at 10:54 AM Justin Smith wrote: > also do note that clojure.core/run! is designed for two-arg map when > it's only

crossclj.info unavailable ???

2019-02-06 Thread Alan Thompson
Trying to hit http://crossclj.info (Ubuntu 16.04 + Chrome) yields: This site can’t provide a secure connection *crossclj.info * sent an invalid response. ERR_SSL_PROTOCOL_ERROR -- You received this message because you are subscribed to the Google Groups "Clojure" group.

Re: [ANN] Calfpath (v0.7.1), a fast and flexible Ring request router

2019-01-04 Thread Alan Thompson
Hi have been very happy using Pedestal for routing <http://pedestal.io/> chores. How does this compare to Pedestal? Alan On Fri, Jan 4, 2019 at 9:50 PM Shantanu Kumar wrote: > Hi, > > (Cross-posted on Clojure and Ring mailing lists.) > > Happy new year to all! > &g

Re: How does Executors/newScheduledThreadPool know how or where to parallelize work?

2019-01-04 Thread Alan Thompson
If you haven't seen it before, you can use the excellent Claypoole library <https://github.com/TheClimateCorporation/claypoole> for many parallel scheduling tasks. Alan On Wed, Jan 2, 2019 at 1:07 PM wrote: > I guess this is more of a JVM question than a Clojure question, unless

Re: [ANN] Oz 1.4.0 - Interactive data visualizations and scientific documents with Vega/Vega-Lite

2018-12-18 Thread Alan Thompson
Looks very nice. I will definitely be using this in the future. Alan On Tue, Dec 18, 2018 at 4:44 AM wrote: > Odd. The exact same code works for me. This is clojure 1.10/oz 1.4, and > evaluating the whole blob from lighttable. > > I had to call (oz/v! line-plot) again to ge

Re: `lein test` 28x slower than `lein run`.... Why?

2018-12-15 Thread Alan Thompson
Never mind, I found the problem. During testing I had enabled Plumatic Schema function validation: (s/set-fn-validation! true) ; enforce fn schemas Disabling validation made `lein test` and `lein run` produce comparable times. Alan On Sat, Dec 15, 2018 at 10:41 AM Alan Thompson wrote

`lein test` 28x slower than `lein run`.... Why?

2018-12-15 Thread Alan Thompson
ant difference. I have found no information in the lein docs that might explain such huge variations. Any ideas? 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: (float 0.819869321599107) = 0.81986934 ?

2018-12-15 Thread Alan Thompson
10:18 AM Alan Thompson wrote: > An IEEE-754 floating point value has only 32 bits (total), which > corresponds to approximately 8 decimal digits. For full info, see the java > spec: > > > https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Float.html > >

Re: (float 0.819869321599107) = 0.81986934 ?

2018-12-15 Thread Alan Thompson
An IEEE-754 floating point value has only 32 bits (total), which corresponds to approximately 8 decimal digits. For full info, see the java spec: https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Float.html On Sat, Dec 15, 2018 at 10:11 AM ru wrote: > Dear Clojure users

Re: Announcing The REPL podcast

2018-11-28 Thread Alan Moore
Same here, great work in the podcast and Clojurists Together! 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

Re: [ANN] Lancaster 0.6.0 - Avro Schema Creation / Serialization / Deserialization

2018-11-17 Thread Alan Thompson
Looks nice. Alan On Sat, Nov 17, 2018 at 6:57 PM Chad Harrington wrote: > https://github.com/deercreeklabs/lancaster > > Lancaster is an Apache Avro <http://avro.apache.org/docs/current/> library > for Clojure and ClojureScript. It aims to be fully compliant with the Avro >

Re: Plumatic Schema error in CLJS

2018-11-04 Thread Alan Thompson
lojure hash-set or a java.util.HashSet" (s/either #{s/Any} *#?(:clj* java.util.HashSet*)*)) ; <= *This was missing the #?(:clj ...)* and caused the error On Sun, Nov 4, 2018 at 9:43 PM Alan Thompson wrote: > I am seeing the following errors in CLJS, but not in CLJ: > > ER

Plumatic Schema error in CLJS

2018-11-04 Thread Alan Thompson
clues as to the cause of this behavior? 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

Re: Prototype code for enhanced CIDER code completion for Java methods

2018-10-17 Thread Alan Thompson
I love Cursive and use the IntelliJ Vim keybindings everyday. Apparently they have alternate keybindings for those of you from the dark side. Alan On Wed, Oct 17, 2018 at 4:19 AM 'somewhat-functional-programmer' via Clojure wrote: > I appreciate your thoughtful response -- I wish s

Re: [ANN] Clojure 1.10.0-beta1

2018-10-05 Thread Alan Thompson
Looks good to me, tested on both prod and open source code. Alan On Fri, Oct 5, 2018 at 9:21 PM Alex Miller wrote: > Now is a great time to try 1.10.0-beta1 and let us know if you find any > major bugs or performance issues. > > I also meant to mention that all changes in Clojure

Re: [ANN] com.walmartlabs/cond-let 1.0.0

2018-10-04 Thread Alan Thompson
How would the :when and :do forms work? Alan On Wed, Oct 3, 2018 at 7:22 PM Mark Engelberg wrote: > This looks like a case of "convergent evolution". > > Having the ability to do a :let in the middle of a cond feels like one of > those things that *should* be in the cor

Re: Keyword namespacing best practices

2018-10-01 Thread Alan Thompson
-engineer the API in advance. Alan PS: YAGNI rules - and it's easier/less painful to fix the 5% where it's wrong than the 95% where it's right PPS: YMMV (but not much!) On Sun, Sep 30, 2018 at 7:12 PM Michael Gardner wrote: > > > On Sep 30, 2018, at 18:54, Eric Lavigne wrote: > &

Re: IF, WHEN or SOME

2018-09-20 Thread Alan Thompson
Should have been:(evens? nil) On Thu, Sep 20, 2018 at 1:47 PM Alan Thompson wrote: > `println` always returns `nil`. So it prints "one", returns `nil`, and > you try to execute the form: > > (nil) => NullPointerException > > > user=> (evens? (println

Re: IF, WHEN or SOME

2018-09-20 Thread Alan Thompson
`println` always returns `nil`. So it prints "one", returns `nil`, and you try to execute the form: (nil) => NullPointerException user=> (evens? (println “one”)) one NullPointerException user/eval239 (NO_SOURCE_FILE:74) On Thu, Sep 20, 2018 at 9:06 AM Orestis Markou wrote: > evens? is

Still loving the lein-test-refresh

2018-09-20 Thread Alan Thompson
Just tried the test selector feature, which lets you use metadata to mark only some tests to be re-run when you are focusing on a specific part of the code. https://github.com/jakemcc/lein-test-refresh#built-in-test-narrowing-test-selector Loving it! Alan -- You received this message because

Agile in 2018 - Martin Fowler talk

2018-08-30 Thread Alan Thompson
Very good talk if you haven't seen it yet: https://www.infoq.com/presentations/agile-2018 -- 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

Clojure treat all Thread's as deamon?

2018-08-09 Thread Alan Thompson
though `(isDaemon thread)` returns `false`. The only way to prevent early termination of the program is via a manual `(.join thread)` call. This seems like it is a bug in the expected behavior re non-daemon threads. Is this correct? Alan -- You received this message because you are subscribed

Re: Rusts Upgrades

2018-07-30 Thread Alan Moore
reading about remote Spectre attacks. Alan On Jul 30, 2018, at 1:01 PM, Nathan Fisher wrote: If it’s run on CircleCI or Travis and has readonly access to github, I wouldn’t be too concerned. The most frequent downloads API in Clojars is a good idea. Could use it as a basis for the hand rolled site

Re: Rusts Upgrades

2018-07-29 Thread Alan Moore
ould begin with the "most used projects on clojars" (# downloads in the last 12 months?) as that might be a better metric/signal for prioritizing which libraries to include. #RememberLeftPad Don't get me wrong, I like the idea. I'm just trying to think through the possible hazards. Alan On F

Re: Best way to use Lein only as a build tool?

2018-07-27 Thread 'Alan Forrester' via Clojure
s: https://github.com/RickMoynihan/lein-tools-deps 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 wi

Re: OK idea to replace conj and cons with "prepend" and "append" macros that have consistent behavior and return same types as args?

2018-07-18 Thread Alan Thompson
ial: any mix of lists & vectors (vector result) - all maps (sorted or not) - all sets (sorted or not) - all text: any mix of strings & characters (string result) On Wed, Jul 18, 2018 at 1:13 PM, Alan Thompson wrote: > As someone mentioned, the functions `prepend` an

Re: OK idea to replace conj and cons with "prepend" and "append" macros that have consistent behavior and return same types as args?

2018-07-18 Thread Alan Thompson
As someone mentioned, the functions `prepend` and `append` exist in the Tupelo library to prevent this kind of confusion: from the README:

Re: concat and mapcat not sufficiently lazy

2018-07-18 Thread Alan Thompson
I have added this to the Tupelo library as `tupelo.lazy/join`: API docs:http://cloojure.github.io/doc/tupelo/tupelo.lazy.html source: (defn join "Lazily concatenates a sequence-of-sequences into a flat sequence." [sequences]

Re: Windows Cygwin lein repl

2018-06-02 Thread Alan Thompson
I have successfully used Cygwin on many older versions of Windows. Once installed, you can 95% forget you aren't on a real linux system. Alan On Fri, Jun 1, 2018 at 7:55 AM, wrote: > Hi Sean, > > Unfortunately, I'm on Windows 8. Even if that weren't an issue, I'd still > have

Re: Windows Cygwin lein repl

2018-05-24 Thread Alan Thompson
I have used cygwin extensively in the past, but not recently. If you haven't tried it yet, you should try installing Git For Windows and then use the "Git Bash" command shell. Alan On Wed, May 23, 2018 at 3:37 AM, <skf.phoe...@gmail.com> wrote: > A quick note to anyone comin

Re: accessing symbols in local context of a closure

2018-05-24 Thread Alan Thompson
No, it is hidden inside the closure and can't be accessed from the outside. On Thu, May 24, 2018 at 11:22 AM, Sonny To wrote: > (defn foo[] > (let [x 1] >(fn [] > (+ x 1) > ) > ) > > (def bar (foo)) > > Is there a way to get the value of x from closure bar?

[ANN] re-graph 0.1.5 - the GraphQL client for Clojurescript

2018-05-13 Thread Alan Moore
Nice! Thanks, I’ll have to take a look. This is good timing for my current project. 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

Re: Clojure/flutter

2018-04-27 Thread Alan Moore
Or maybe a WebAssembly or LLVM target. Lots of reach from those ;-) 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

[ANN] clj-new -- creating new Clojure projects using the clj CLI

2018-04-19 Thread Alan Moore
Nice... this looks super helpful, thanks! 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

Clojure Games

2018-04-16 Thread Alan Moore
. 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 this group,

Re: [ANN] packthread 0.1.10

2018-04-03 Thread Alan Thompson
If you are interested in alternatives to `clojure.core/->`, you may be interested in the `it->` macro from the Tupelo library . Here is a summary: = Usage examples for

[ANN] datahike 0.1.0

2018-04-01 Thread Alan Moore
Christian, Nice, I’m excited to see this come together! I’ll jump back on gitter to see if there is something I can do to help. 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

[ANN] A couple of libraries for functional reactive web programming - Ulmus & Recurrent

2018-03-31 Thread Alan Moore
Thanks for putting this out. Good to see so many interesting solutions from the ClojureScript community. 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 post

StackOverflow Job Survey results are out

2018-03-13 Thread Alan Thompson
& Clojure is still doing well on the salary front: https://insights.stackoverflow.com/survey/2018/#work-salary-and-experience-by-language -- 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

transients problem

2018-02-24 Thread 'Alan Forrester' via Clojure
or not this is intentional is there a way round it? Alan Forrester -- 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 y

Re: [ANN] com.walmartlabs/dyn-edn 0.1.0

2018-02-20 Thread Alan Thompson
Looks very useful. One suggestion: the example might be easier to read if you included the values of the env vars, and clarified the way you specify default values: {:connection-pool {:user-name #dyn/prop [DB_USER "accountsuser"] ; default value "accountsuser" :user-pw #dyn/prop DB_PW

Clojure integrates Cesium, Openstreetmap and OpenMap inside Protege

2018-02-06 Thread Alan Moore
Ru, You’ve done some impressive work on this and previous projects. I especially like the level of integration with other tools. Thanks! Alan -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email

Re: what does future do after fn finish ?

2018-02-01 Thread Alan Thompson
You may find that using the Claypoole library is the easiest way to handle threadpools: https://github.com/TheClimateCorporation/claypoole Alan On Thu, Feb 1, 2018 at 11:16 AM, Justin Smith <noisesm...@gmail.com> wrote: > yes, that's the idea exactly > > also, you might want mo

Re: Russ olsen's Clojure Book

2018-01-22 Thread Alan Thompson
Really looking forward to it! Alan On Mon, Jan 22, 2018 at 11:43 AM, Shaun Parker <shaunrpar...@gmail.com> wrote: > The book is now available to purchase. Thanks Russ, I can't wait to read > it! > > https://pragprog.com/book/roclojure/getting-clojure > > On Wednesday, Jan

  1   2   3   4   5   6   7   8   9   10   >