[Final CFP] Deadline Extended! Scheme 2022, Scheme and Functional Programming Workshop 2022

2022-07-21 Thread Andy Keep
file. *International Conference on Functional Programming* The Scheme Workshop 2022 is being held as part of this year's International Conference on Functional Programming. Here is the ICFP site <https://icfp22.sigplan.org/home/scheme-2022> for the workshop. Sincerely, Andy Keep, General

[2nd CFP] Scheme 2022, 23rd Scheme and Functional Programming Workshop

2022-07-04 Thread Andy Keep
nference on Functional Programming* The Scheme Workshop 2022 is being held as part of this year's International Conference on Functional Programming. Here is the ICFP site <https://icfp22.sigplan.org/home/scheme-2022> for the workshop. Sincerely, Andy Keep, General Co-chair Arthur A. Gleckle

[CFP] Scheme 2022, 23rd Scheme and Functional Programming Workshop

2022-03-20 Thread Andy Keep
e. *International Conference on Functional Programming* The Scheme Workshop 2022 is being held as part of this year's International Conference on Functional Programming. Here is the ICFP site <https://icfp22.sigplan.org/home/scheme-2022> for the workshop. Sincerely, Andy Keep, General Co-chair Ar

Re: Without breakloop not much of a REPL

2021-02-01 Thread Andy Fingerhut
, or utility library, etc. https://github.com/joyofclojure/book-source/blob/master/first-edition/src/joy/breakpoint.clj The source for the macro named `contextual-eval` is here: https://github.com/joyofclojure/book-source/blob/master/first-edition/src/joy/macros.clj Andy On Mon, Feb 1, 2021

Re: clojure.edn/read isn't spec compliant

2020-10-31 Thread Andy Fingerhut
quivalent in all ways. (This is only my personal guess. Realize that making specifications and implementations match can be an exhausting and unrewarding process.) Andy On Sat, Oct 31, 2020 at 5:38 AM 'EuAndreh' via Clojure < clojure@googlegroups.com> wrote: > Sean Corfield writes:

Re: sort-by reverse order?

2020-10-14 Thread Andy Fingerhut
This document goes into fairly deep dive on other ways to do it, including a gotcha on edge cases of using something like (comp - compare) that will rarely if ever bite you, but some people may want to know about them to avoid them. https://clojure.org/guides/comparators Andy On Wed, Oct 14

Re: Clojure API copyright assignment?

2020-05-24 Thread Andy Fingerhut
ademark on that name, and might legally block you from using that name, and make you pick a different name. There are other implementations of Clojure, or minor variations, released under different names, and as far as I know Rich Hickey has no interest in suing them. e.g. sci, babashka Andy On Sun, May

Re: Clojure API copyright assignment?

2020-05-24 Thread Andy Fingerhut
o separate specification of the Clojure language, other than its implementation and documentation published on clojure.org. Andy On Sun, May 24, 2020 at 7:45 AM Nicholas Papadonis < nick.papadonis...@gmail.com> wrote: > There is a widely known case Oracle vs. Google on whether the syntax an

Re: [JOB] Software Engineer | Red Planet Labs | Fully distributed team

2020-02-21 Thread Andy Fingerhut
-labs web site might be the extent of the public answers to that question. Lots of startups remain in 'stealth' mode for a while, being very very careful to let out details of what they are doing, lest some other company use the ideas themselves and run with them. Andy On Fri, Feb 21, 2020 at 1

Re: Two new transcripts available of talks by Rich Hickey

2019-12-02 Thread Andy Fingerhut
-transcripts/blob/master/Hickey_Rich/ClojureConcurrency.md https://github.com/matthiasn/talk-transcripts/blob/master/Hickey_Rich/ClojureForJavaProgrammers.md Andy On Mon, Dec 2, 2019 at 10:05 AM Anthony Leonard wrote: > On Monday, December 2, 2019 at 6:29:24 AM UTC, Andy Fingerhut wr

Two new transcripts available of talks by Rich Hickey

2019-12-01 Thread Andy Fingerhut
even part of another talk. Offer your time and coordinate efforts on any of the open Github issues for not-yet-transcribed talks in that same Github repo. Regards, Andy Fingerhut -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to thi

Re: 100x startup for Clojure using GraalVM

2019-11-12 Thread Andy Fingerhut
for long-running server processes. Andy On Tue, Nov 12, 2019 at 8:46 PM 'Gerard Klijs' via Clojure < clojure@googlegroups.com> wrote: > Hello world is fun, but doesn't say much. I would like to see benchmarks > on the actual application. Ideally it would take several jvm's so also &g

Re: Why ('f 1) does deliver nil?

2019-10-26 Thread Andy Fingerhut
found user=> ('f {'f 17 :bar 8}) 17 user=> ('f {:bar 8} :not-found-value) :not-found-value user=> (get {'f 17 :bar 8} 'f) 17 user=> (get 1 'f) nil user=> (get 1 'f :not-found) :not-found Andy On Sat, Oct 26, 2019 at 10:05 AM Johannes wrote: > ... instead of an exceptio

[ANN] core.rrb-vector 0.1.1 -- eliminate a warning in ClojureScript version

2019-10-25 Thread Andy Fingerhut
eemed best to clean up the code there anyway. Independent of that, I have added some benchmarks and extra documentation related to the library since the 0.1.0 release, described in the change log: https://github.com/clojure/core.rrb-vector/blob/master/CHANGES.md Cheers, Michał Marczyk and Andy Fingerhu

Re: [ANN] core.rrb-vector 0.1.0 -- bug fixes

2019-10-02 Thread Andy Fingerhut
a normal Clojure vector of arbitrary Object's because of the boxing of Character objects. Same for :long and other vectors of primitives. Andy On Wed, Oct 2, 2019 at 6:31 AM Andy Fingerhut wrote: > Excellent! Please do file additional reports if you find any issues with > the latest v

Re: [ANN] core.rrb-vector 0.1.0 -- bug fixes

2019-10-02 Thread Andy Fingerhut
Excellent! Please do file additional reports if you find any issues with the latest version. Andy On Wed, Oct 2, 2019 at 2:27 AM Terje Dahl wrote: > Nice list of fixes. Great work! > > I use Vector as my text editor's char-buffer. > I believe I have seen one or more of the fixed

[ANN] core.rrb-vector 0.1.0 -- bug fixes

2019-09-30 Thread Andy Fingerhut
rrb-vector 0.1.0 This release fixes several bugs that were found in previous releases of the library. More details can be found in the change log: https://github.com/clojure/core.rrb-vector/blob/master/CHANGES.md Cheers, Michał Marczyk and Andy Fingerhut -- You received this message b

Re: Using :clojure.spec.alpha/invalid inside clojure.core macros throw exception

2019-09-18 Thread Andy Fingerhut
Miller (and perhaps others I am unaware of) are actively working on developing spec version 2. Andy On Wed, Sep 18, 2019 at 1:11 PM Peter Hull wrote: > > > On Wednesday, 18 September 2019 20:48:39 UTC+1, David Bürgin wrote: >> >> This is a known issue, see >> ht

Re: records alias with local vars

2019-08-28 Thread Andy Fingerhut
I tried it on Clojure 1.10.1 and if I first did (set! *warn-on-reflection* true) the defn of b did give a reflection warning if you first did the defrecord, but not without the defrecord. Andy On Wed, Aug 28, 2019 at 6:35 PM Sean Corfield wrote: > What version of Clojure/Script are you us

Re: Strange behavior with clojure.java.io/copy

2019-08-25 Thread Andy Fingerhut
ize should never result in a return value of 0. Andy On Sun, Aug 25, 2019 at 9:54 PM Andy Fingerhut wrote: > That bit of Java-Doc says nothing about the behavior when providing a > buffer b with a non-0 length. > > If it said: "If the length of b is non-zero, then the return value

Re: Strange behavior with clojure.java.io/copy

2019-08-25 Thread Andy Fingerhut
this. (I have not looked at the implementation to know either way.) Andy On Sun, Aug 25, 2019 at 9:21 PM 'Dirk Wetzel' via Clojure < clojure@googlegroups.com> wrote: > As alpeware already said, *.read* will not return [1024, 0, 1024, 201, -1] > because > it will not return a

Re: Shorter form to check if some words are contained in a sentence?

2019-06-22 Thread Andy Fingerhut
value (anything except nil or false). There are Clojurians Slack and ZulipChat chat channels called #beginners that are also useful for getting started problems. Andy On Sat, Jun 22, 2019 at 11:41 AM Thad Guidry wrote: > Beautiful Andy! Can you confirm that last syntax for me? >

Re: Shorter form to check if some words are contained in a sentence?

2019-06-22 Thread Andy Fingerhut
And, of course you can continue to use .contains: (every? #(.contains value %) ["CBS" "Bar" "cat"]) On Sat, Jun 22, 2019 at 10:37 AM Andy Fingerhut wrote: > I haven't counted characters, but this would certainly become relatively > shorter the more su

Re: Shorter form to check if some words are contained in a sentence?

2019-06-22 Thread Andy Fingerhut
quot;Bar the cat from CBS") #'user/value user=> (require '[clojure.string :as str]) nil user=> (every? #(str/includes? value %) ["CBS" "Bar" "cat"]) true Andy On Sat, Jun 22, 2019 at 10:32 AM Thad Guidry wrote: > Clojure is supported as an express

Re: Compiler error message misses the target

2019-05-07 Thread Andy Fingerhut
You can check with Alex Miller if you have doubts, but given that error messages, and in particular the one you show, is at this moment an area of active changes in Clojure 1.10.1 beta versions, they may be open to fixes to such things right now. Andy On Tue, May 7, 2019 at 9:21 PM Alan Thompson

Re: Developing Closure in 2019 on Windows 10 or using Windows - WSL/Linux.

2019-03-16 Thread Andy Fingerhut
Sorry, I do not know the answer to your questions. There are multiple relevant channels on the Clojurians Slack [1] and Zulipchat [2] servers where you may get quicker feedback. On Slack, for example, there is a #clj-on-windows channel, #beginners, and #cursive [1] https://clojurians.slack.com

Re: Clojure 1.10 "Illegal Reflective Access Operation"

2019-02-24 Thread Andy Fingerhut
I believe this FAQ entry covers what is known about this issue, which many others have also seen: https://clojure.org/guides/faq#illegal_access Andy On Sun, Feb 24, 2019 at 4:48 PM Alan Thompson wrote: > Upgrading from Clojure 1.9 to 1.10, I am getting a new warning: > > WARNING: A

Re: crossclj.info unavailable ???

2019-02-06 Thread Andy Fingerhut
bases. Anyone sufficiently interested could set up another similar site, perhaps starting from the existing published code. I suspect the original publisher would be willing to transfer the domain if you wanted to use the same domain name, but you would have to contact them to know for sure. Andy

Re: (gen/sample (s/gen #{'nil})): Couldn't satisfy such-that predicate

2019-01-31 Thread Andy Fingerhut
Sometimes text in comments in ClojureDocs.org examples can be more useful than the examples. They are effectively longer (unofficial) doc strings. Andy On Thu, Jan 31, 2019 at 5:36 AM Alex Miller wrote: > Go for it. Not sure the type stuff is adding anything in the context of > quote ex

Re: Invalid-token when dereferencing namespaced keywords.

2019-01-29 Thread Andy Fingerhut
such keywords, that the change was reverted. See the comments on the Clojure ticket below for some history: https://dev.clojure.org/jira/browse/CLJ-1252 I believe that this bug has never existed for namespaced keywords, and I am not aware of any desire to change Clojure to allow such keywords. Andy

Re: Noob question on the --> macro implementation

2019-01-26 Thread Andy Fingerhut
When you ask "am I right?" about your proposed change, what is it that the current behavior does not do, that your change would do? Do you have some use case in mind that works with your change, but doesn't with the current implementation? Andy On Sat, Jan 26, 2019 at 10:50 AM Ujjw

Re: Learn Clojure - Syntax Test your knowledge No4. question.

2019-01-19 Thread Andy Fingerhut
print it. For example, if I am looking for something relevant to "stack", try `(find-doc "stack")` and see what comes out. Andy On Sat, Jan 19, 2019 at 6:10 AM Dervish wrote: > >1. > >Using find-doc, find the function that prints the stack trace of the &

Re: Why did this compile? It's an obvious syntax mistake

2018-12-26 Thread Andy Fingerhut
ght be automatically balancing expressions for you? Andy On Wed, Dec 26, 2018 at 8:59 AM wrote: > I'm wondering why this compiled? > > I was supposed to add this to my requirements: > > [environ.core :refer [env]] > > Instead I added this: > > [environ.c

Re: error in process filter: Stack overflow in regexp matcher

2018-12-24 Thread Andy Fingerhut
I would recommend trying to temporarily rename ~/.lein/profiles.clj to a different name, so that there is no such file with that name any more, and try your file-seq expression again to see if it behaves any differently. Andy On Mon, Dec 24, 2018 at 1:38 PM nenad mitrovic wrote: > Sorry, h

Re: error in process filter: Stack overflow in regexp matcher

2018-12-24 Thread Andy Fingerhut
if Clojure by itself has no problems. If you can reproduce your problem using a `clj` command line that avoids using Leiningen, for example, that would help determine whether it is caused by something in your Leiningen setup, vs. elsewhere. Andy On Mon, Dec 24, 2018 at 1:12 PM nenad mitrovic wrote

Re: Clojure 1.10 issue: thrown? no longer works on macros

2018-12-18 Thread Andy Fingerhut
, in order to test the new Clojure 1.10.0 behavior? Thanks, Andy On Tue, Dec 18, 2018 at 11:12 AM Alex Miller wrote: > Oh, if you're testing with thrown-with-msg?, that definitely can have an > impact due to the nested exception. In clojure.test, I'm using a variant to > test th

Re: Clojure 1.10 issue: thrown? no longer works on macros

2018-12-18 Thread Andy Fingerhut
with Clojure 1.10.0. I do not know if it is the same root cause as Mark's example or not, but wanted to create this in hopes it represents a minimal test case to reproduce the behavior difference. https://github.com/jafingerhut/clojure-110-is-thrown Andy On Tue, Dec 18, 2018 at 7:07 AM Alex Miller

Re: (float 0.819869321599107) = 0.81986934 ?

2018-12-15 Thread Andy Fingerhut
The rounding of floats and doubles is _not_ in decimal digits. It is internally implemented in binary, so the rounding behavior you see, while it might not make much sense when written in decimal, probably makes perfect sense if you write it in the IEEE binary format. Andy On Sat, Dec 15, 2018

Re: (float 0.819869321599107) = 0.81986934 ?

2018-12-15 Thread Andy Fingerhut
t to the source code according to the usual rules of algebra. Andy On Sat, Dec 15, 2018 at 10:11 AM ru wrote: > Dear Clojure users and team! > > Please explain me this result: > > Ruslans-iMac:clojure ru$ lein repl > > nREPL server started on port 54147 on host 127.0.0.1 - nr

Re: Confusing Regex Behavior

2018-12-04 Thread Andy Fingerhut
ng for the next subsequence that matches the pattern." I haven't dug into your regex and string in detail, but most likely what is happening is that the regex matches part of the string, but it doesn't match the _entire_ string. Andy [1] https://docs.oracle.com/javase/8/docs/api/java/util/regex/Matc

Re: How to use defrecord getBasis to look up record instance field values

2018-12-02 Thread Andy Fingerhut
Maybe you are looking for something like this? (map #(% p1) (map keyword (Person/getBasis))) keyword can take a symbol as argument, and return a corresponding keyword. Andy On Sun, Dec 2, 2018 at 8:31 PM wrote: > > defrecord Person [name age company]) > > (def p1 {:name &q

Re: Received fatal alert: protocol_version

2018-11-22 Thread Andy Fingerhut
What are the outputs of 'java -version' and 'lein version' ? What OS? Some older versions of the JVM have older crypto certificates built into them, which newer versions may improve upon. Andy On Thu, Nov 22, 2018 at 12:42 PM wrote: > Saw a suggestion here: > > https://github.com/te

Re: [ANN] Clojure 1.10.0-beta8

2018-11-21 Thread Andy Fingerhut
. Some choose to turn it over to a committee, others do not. Andy On Wed, Nov 21, 2018 at 11:25 AM Timothy Baldridge wrote: > >> We’re good with the name. The docstring exists for further > explanation. > > Except the code is less-readable. The name is meaningless. "a

Re: [ANN] Clojure 1.10.0-beta7

2018-11-19 Thread Andy Fingerhut
to a change in the method resolution code? Andy On Mon, Nov 19, 2018 at 1:51 PM Alex Miller wrote: > We expect to move back into release candidates next, so testing welcome... > > On Monday, November 19, 2018 at 3:34:03 PM UTC-6, Alex Miller wrote: >> >> 1.10.0-beta7 is now

Re: [ANN] 1.10.0-beta5

2018-11-15 Thread Andy Fingerhut
to how they are different when running Eastwood on that namespace of those two different versions, and the differences in the reflection warnings don't surprise me at all given the code changes there. Andy On Thu, Nov 15, 2018 at 1:12 PM Alex Miller wrote: > I looked at current version of m

Re: [ANN] 1.10.0-beta5

2018-11-15 Thread Andy Fingerhut
-on-reflection* true) at the beginning of clojure/main.clj source file for Clojure 1.9.0 and 1.10.0-beta5 and compare the output there. If those are identical/similar-enough, then it is tools.analyzer.jvm or something else in Eastwood causing the different reflection warnings. Andy On Thu, Nov 15, 2018

Re: [ANN] 1.10.0-beta5

2018-11-14 Thread Andy Fingerhut
no change in the Java interop calls, so perhaps this is because of changes made in how the Clojure compiler resolves Java method calls. I didn't see anything more than 3 to 4 percent difference in run times across all of the version combinations above. Andy [1] https://github.com/jonase/eastwood

Re: Inconsistent stack traces from the same expression.

2018-10-24 Thread Andy Fingerhut
exceptions are created. Andy On Wed, Oct 24, 2018 at 6:53 PM Austin Haas wrote: > I don't understand what is going on here. I'm trying to throw an exception > with a cause and sometimes the cause is included in the stacktrace and > sometimes it isn't. > > ~$ clj -Sdeps '{:de

Re: [ANN] Clojure 1.10.0-RC1 (please test!)

2018-10-11 Thread Andy Fingerhut
pen source projects with Clojure 1.9.0 and 1.10.0-RC1 soon-ish, and see if anything surprising comes out of that. I've done it with 1.10.0-beta1 and didn't see any issues, and don't expect any problems. Andy On Thu, Oct 11, 2018 at 5:22 PM Matthew Phillips wrote: > Hi Alex, have just fin

Re: Large core.math expression produces excessively long Clojure-generated class names

2018-10-07 Thread Andy Fingerhut
/CLJ-1852 comments mention some ideas of changing the Clojure compiler to use shorter class file names, e.g. via hashing the contents of long names to shorter ones. Andy On Sun, Oct 7, 2018 at 10:42 AM Andy Fingerhut wrote: > I was able to fork your repo and created a different 'grow

Re: Large core.math expression produces excessively long Clojure-generated class names

2018-10-07 Thread Andy Fingerhut
are getting longer. I believe that at least the body of the catch clause is enclosed in a new function by the Clojure compiler, if not the main body of the try. https://github.com/jafingerhut/nestedrepro Andy On Sun, Oct 7, 2018 at 8:36 AM Laurens Van Houtven <_...@lvh.io> wrote: > FWIW

Re: [ANN] Clojure 1.10.0-alpha7

2018-09-06 Thread Andy Fingerhut
Doing a little bit more digging, I just did a Google search for: clojure "expects more than one argument" and found this code hit that may be relevant for CIDER users: https://github.com/clojure-emacs/cider-nrepl/blob/master/src/cider/nrepl/middleware/test/extensions.clj#L28 Andy O

Re: [ANN] Clojure 1.10.0-alpha7

2018-09-06 Thread Andy Fingerhut
Thanks for the response. Makes sense. I haven't used CIDER before, and don't plan to try it out just to learn if it has a feature that checks unit tests for problems. If anyone else knows whether CIDER has a feature to do that, I would be a little curious to learn more about it. Thanks, Andy

Re: [ANN] Clojure 1.10.0-alpha7

2018-09-06 Thread Andy Fingerhut
Sorry, wrong link to the unit test that I tried, which should have been: https://github.com/jafingerhut/catch-bad-unit-test/blob/master/test/catchme/core_test.clj#L5-L7 On Thu, Sep 6, 2018 at 7:08 AM Andy Fingerhut wrote: > Peter: > > I do not know why you are seeing this change in

Re: [ANN] Clojure 1.10.0-alpha7

2018-09-06 Thread Andy Fingerhut
lts than I did, I'd be curious to hear if your results are different. I'd be more curious to learn of a way to write a unit test that gives the exception you see with Clojure 1.10.0-alpha7. Andy On Thu, Sep 6, 2018 at 4:34 AM Peter Hull wrote: > On Wednesday, 5 September 2018 13:39:36

Re: Pipe shell output into REPL?

2018-09-05 Thread Andy Fingerhut
to me. Have you look at named pipes? By creating one of those, and cat'ing the file you want into that named pipe, you could start a REPL in the usual way, type commands into it, and when you were ready, open the named pipe and read from it. Andy On Wed, Sep 5, 2018 at 6:56 PM Didier wrote: >

Re: How to escape a space in a keyword?

2018-08-08 Thread Andy Fingerhut
you believe, or can somehow ensure, that will never happen, seems workable to me. Using a custom data-reader like #my.namespace/keyword "arbitrary-char-sequence" with a globally unique namespace that you own would be less susceptible to such aliasing problems. Andy On Wed, Aug 8,

Re: clojure.core/keys

2018-08-05 Thread Andy Fingerhut
is then unrelated to the order that keys were added. If you want a map that is guaranteed to return the keys in the order they were added, there is an implementation of this available called ordered-maps's here: https://github.com/amalloy/ordered Andy On Sun, Aug 5, 2018 at 12:12 AM Andres Pineda wrote

Re: clojure test has 10 failures

2018-07-24 Thread Andy Fingerhut
a difference. The errors you have during your tests do not seem related to language. Andy On Tue, Jul 24, 2018 at 9:18 AM 冯忠孝 wrote: > > true > UTF-8 > > > > after add propertis utf 8 to pom.xml , Still the same. > > -- > You received this message because yo

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-19 Thread Andy Fingerhut
admit: https://github.com/jafingerhut/thalia/blob/master/doc/other-topics/equality.md I believe someone wrote a book aiming to be a reference to all Clojure functions, but don't recall the name or author at the moment, nor have I read it. Andy > > > On Thu, Jul 19, 2018 at 1

Re: Plain clojure 1.9 fails with Could not locate ... clojure/spec/alpha.clj on classpath. in Kubuntu 18.04

2018-05-21 Thread Andy Fingerhut
Thanks, Justin. I tried the commands you suggested on an Ubuntu 18.04 LTS system, and 'lein repl' still fails the same way afterwards when using Ubuntu's OpenJDK installation (and still succeeds when using Oracle's JDK installation). Andy On Mon, May 21, 2018 at 1:04 PM, Justin Smith <nois

Re: Plain clojure 1.9 fails with Could not locate ... clojure/spec/alpha.clj on classpath. in Kubuntu 18.04

2018-05-21 Thread Andy Fingerhut
Jesús: Agreed that this issue is frustrating. It doesn't necessarily help you here, but realize that this issue appears like it might be unique to Ubuntu 18.04's OpenJDK installations. This issue did not occur with earlier versions of Ubuntu that I am aware of. Andy On Mon, May 21, 2018 at 10

Re: Plain clojure 1.9 fails with Could not locate ... clojure/spec/alpha.clj on classpath. in Kubuntu 18.04

2018-05-21 Thread Andy Fingerhut
s OpenJDK8 or OpenJDK10 installations, and succeeds before and after with Oracle's JDK installations. Is there some other command you would recommend to force reinstall of ca-certs that might work? Andy On Mon, May 21, 2018 at 10:38 AM, Justin Smith <noisesm...@gmail.com> wrote: > this is

Looking for people interested in developing Eastwood lint tool

2018-04-26 Thread Andy Fingerhut
. Regards, Andy Fingerhut [1] https://github.com/jonase/eastwood -- 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: Clojure Group

2018-04-16 Thread Andy Fingerhut
, the answer depends on what data type you have, and there are multiple ways of representing it, so the answer could depend upon those details. A person might see the question, but not be interested in writing an email that tries to answer all the possibilities. Andy On Mon, Apr 16, 2018 at 11:50

Re: lein midje not working

2018-04-11 Thread Andy Fingerhut
The contents of your $HOME/.lein/profiles.clj file can affect the behavior of all 'lein' commands run from any project, if you have one. Andy On Wed, Apr 11, 2018 at 4:31 PM, Renata Soares <renata.sd...@gmail.com> wrote: > It happens with 'lein repl' too (gives timeout in this case).

Re: Coordinating STM with database?

2018-03-23 Thread Andy Fingerhut
went away several years ago, but the file attached to this message might be the one that Dave Griffith was referring to. Looking at the latest Clojure code and that patch should make it clear whether the patch was applied or not. Andy On Fri, Mar 23, 2018 at 12:23 PM, Rob Nikander <rob.nikan

Re: [?] Adding my own function to clojure.core namespace

2018-02-24 Thread Andy Fingerhut
I would echo the question "is it truly a good idea?" You can do it, but typing a single :require clause in an ns form once, and then copying and pasting to other places that you use functions defined in that namespace, is likely to be less time-consuming in the long run. Andy On S

Re: [ANN] test-runner, a test runner for projects using Clojure Deps

2018-02-21 Thread Andy Fingerhut
Any call to clojure.core/future will also cause this 60-second delay, including calls to pmap or clojure.java.shell/sh: http://clojuredocs.org/clojure.core/future Andy On Tue, Feb 20, 2018 at 8:14 PM, 'Avi Flax' via Clojure < clojure@googlegroups.com> wrote: > On Tuesday, 20 February 2

Re: Why not clojure support raw string?

2018-02-20 Thread Andy Fingerhut
common. Clojure has regex literals with the syntax #"\d+" which have that feature of Python raw string literals. Andy On Mon, Feb 19, 2018 at 10:46 PM, Promise. <qq918734...@gmail.com> wrote: > Just like r"" or r""" """ in python. > &

Re: tlc Expect like library?

2018-02-13 Thread Andy Fingerhut
ting fresh. (Easier to create something different, at least -- clean APIs are difficult to design). Andy On Tue, Feb 13, 2018 at 1:34 PM, Stephen Feyrer <stephen.fey...@gmail.com> wrote: > Hi Justin, > > That looks really cool. I'll take some time reading about it and see if I > ca

Re: Help please: New to clojure development

2018-02-06 Thread Andy Fingerhut
for yourself in order to join particular 'channels', but hopefully the web page makes that not difficult to figure out. Andy On Tue, Feb 6, 2018 at 8:50 AM, Nadeen Kurz <kurznad...@gmail.com> wrote: > Thanks Simon, I am using the repl and I am sorry, I should have click > share to ma

Re: lein repl broken under 1.9?

2018-01-13 Thread Andy Fingerhut
where that erroneous ns form is can be determined from some of the error messages you have not shown. Clojure 1.9.0 checks the syntax of ns forms more strictly, and issues error messages about them, more strictly than previous versions of Clojure. Andy On Sat, Jan 13, 2018 at 1:07 PM, Andrew

Re: Understanding remove-ns and require

2017-12-22 Thread Andy Fingerhut
If you do have namespace names that do not correspond with the file name they are placed in, in a Clojure/Java files, Eastwood can find them for you quickly. Eastwood doesn't analyze ClojureScript files, though. Andy https://github.com/jonase/eastwood On Fri, Dec 22, 2017 at 9:41 AM, Stuart

Re: Understanding remove-ns and require

2017-12-19 Thread Andy Fingerhut
e behavior of 'require', because require tries to avoid re-loading namespaces that have already been loaded earlier. Andy On Tue, Dec 19, 2017 at 2:14 PM, Mark Melling <mark.mell...@savageminds.com> wrote: > Hi, > > Apologies in advance for the possibly stupid question! &

Re: Slow -main function termination by pmap

2017-12-19 Thread Andy Fingerhut
a 1-minute wait and how to avoid it, where there are lots of details: http://clojuredocs.org/clojure.core/future Andy On Tue, Dec 19, 2017 at 1:15 PM, Mike <145...@gmail.com> wrote: > last line in -main should be (System/exit 0) or (shutdown-agents). > 1 min awaiting it is document

Re: rationale for IAtom2 ?

2017-12-17 Thread Andy Fingerhut
interface here: https://groups.google.com/forum/#!searchin/clojure-dev/iatom%7Csort:date/clojure-dev/_ixXNiIyiuQ/p1HrCRGJDAAJ Andy On Sun, Dec 17, 2017 at 2:16 PM, dimitris <jimpil1...@gmail.com> wrote: > Hi all, > > This is mainly a question for the Clojure core dev team. I'm tryin

Re: Anyone mourns the loss of: tryclj.com ?

2017-12-16 Thread Andy-
You can also get a REPL with https://coderpad.io/ . It even runs Clojure 1.9 and the editor has great VIM bindings. If it asks you to register you can just start a new session in an incognito window. HTH On Saturday, December 16, 2017 at 4:29:23 AM UTC+1, Didier wrote: > > Just realized that:

Re: [ANN] Clojure 1.9.0 is now available!

2017-12-08 Thread Andy Fingerhut
with more computation, do you? If it is all extra startup time, that could be due to loading spec and def'ing extra Clojure 1.9 Vars during initialization. Andy On Fri, Dec 8, 2017 at 5:53 PM, Rostislav Svoboda < rostislav.svob...@gmail.com> wrote: > Hi, first of all: thanks for the 1.9

Re: [core.spec] Stricter map validations?

2017-12-07 Thread Andy Fingerhut
a check in Eastwood for what Stuart's code already checks for. I haven't been spending much time on Eastwood development for the last year or so, but if someone gets the itch to want to look into it, let me know and I may be able to give advice. Andy [1] https://github.com/jonase/eastwood [2] https

Re: clojure.edn versus clojure.tools.reader.edn

2017-11-28 Thread Andy Fingerhut
on the JVM. Andy On Tue, Nov 28, 2017 at 1:14 PM, Alex Miller <a...@puredanger.com> wrote: > Presuming you're in Clojure, just use clojure.edn. clojure.edn is written > in Java and targets the edn subset of Clojure's syntax. Presuming you're > reading typical edn data, this is

Re: Unexpected behaviour of transient map

2017-11-27 Thread Andy Fingerhut
more full discussion of the correct way to use them. Andy On Mon, Nov 27, 2017 at 1:16 AM, Mark Melling <mark.mell...@savageminds.com> wrote: > Thanks, that is useful advice. > > I do think that the docstring for assoc! could be more explicit about the > dangers of not using the retur

Re: [ANN] Clojure 1.9.0-RC1

2017-11-13 Thread Andy Fingerhut
I see the same behavior in Clojure 1.7.0 and 1.8.0 as you see in 1.9.0-RC1. Andy On Mon, Nov 13, 2017 at 9:48 PM, Shantanu Kumar <kumar.shant...@gmail.com> wrote: > Sorry, I did not specify the problem completely earlier. The coercion > fails only when *uncheked-math* is set to tru

Re: [ANN] Clojure 1.9.0-beta4

2017-11-02 Thread Andy Fingerhut
Alan, I get similar messages when starting 'lein repl' with this combination of versions: + Leiningen version 2.8.0, Clojure 1.8.0, Java 9.0.1 (note - No Clojure 1.9.0 involved) Changing only the Leiningen to version 2.8.1 and there is no such error message. Andy On Thu, Nov 2, 2017 at 11:29 AM

Q: How to find out how much Clojure you use

2017-10-25 Thread Andy Marks
It seems like everytime I watch another Clojure/Conj video or finish another 4Clojure problem, I learn about another piece of the Clojure core set of functions that I was unfamiliar with... which prompted the question: *What subset of the Clojure core API do I use? Which functions are my

Re: hello world question !!!

2017-10-13 Thread Andy Fingerhut
in the WAR file? Is that something that works? Andy On Fri, Oct 13, 2017 at 11:05 AM, Damien Mattei <damien.mat...@gmail.com> wrote: > but i am in this situation, i wrote application in Scheme (Kawa,Bigloo) > ,LisP that ran on an apache tomcat server, the application is deplyed in

Re: hello world question !!!

2017-10-13 Thread Andy Fingerhut
using AOT compilation. Many would advocate against using AOT compilation, unless you are in a particular situation that requires it. Andy On Fri, Oct 13, 2017 at 10:13 AM, Damien Mattei <damien.mat...@gmail.com> wrote: > i did not have , i just follow the tutorial: > https://clojure.org

Eastwood, the Clojure lint tool, version 0.2.5 released

2017-10-12 Thread Andy Fingerhut
. Go squash some bugs! Jonas Enlund, Nicola Mometto, and Andy Fingerhut [1] https://github.com/jonase/eastwood [2] https://github.com/jonase/eastwood/blob/master/changes.md#changes-from-version-024-to-025 The main changes with version 0.2.5 are for improving how Eastwood works with Clojure

Re: clojure.core.server/start-server should have :encoding as option

2017-09-25 Thread Andy Fingerhut
to Clojure contribution and development: https://dev.clojure.org/display/community/Contributing Andy Fingerhut On Sun, Sep 24, 2017 at 8:50 AM, Alex Miller <a...@puredanger.com> wrote: > File a jira > > -- > You received this message because you are subscribed to the Google

Re: Using memory with futures

2017-09-07 Thread Andy Fingerhut
You can probably also avoid the 60- to 80-second wait if you call (shutdown-agents) at the end of your program. https://clojuredocs.org/clojure.core/future Andy On Thu, Sep 7, 2017 at 2:27 AM, Max Muranov <phot...@gmail.com> wrote: > it takes about a minute for the pool to decide to

Re: need help on json format extraction multiple deep

2017-09-06 Thread Andy Fingerhut
ebug print statements or logging, to print out the contents of intermediate values like from your expression (get-in (json-body-request request {:keywords? true :bigdecimals true}) [:body :result]) :resolvedQuerry), can help debug these kinds of things. Andy On Wed, Sep 6, 2017 at 3:42 AM, dinesh bhardwaj

Re: SRSLY? (= (true? identity) (false? identity)) => true

2017-09-01 Thread Andy Fingerhut
type. user=> (boolean? true) true user=> (boolean? false) true user=> (boolean? identity) false user=> (fn? true) false user=> (fn? false) false user=> (fn? identity) true Andy On Fri, Sep 1, 2017 at 9:06 PM, Rostislav Svoboda < rostislav.svob...@gmail.com> wrote: > &

beginning to learn Clojure after imperative programming my whole life

2017-08-09 Thread Andy
for resources/ particular tips/any advice for improving Clojure skills. Does anybody have any websites used for solving Clojure problems? other than the most popular ones. Wishing you the best of luck in life and coding. best wishes fellow Clojurians, Andy -- You received this message because you

Re: [ANN] expound 0.1.2

2017-07-25 Thread Andy Fingerhut
inspectable was recently announced in this group as well. Do you know what the similarities and differences are between these projects? Andy On Tue, Jul 25, 2017 at 4:16 PM, Ben Brinckerhoff <bhbrinckerh...@gmail.com> wrote: > Expound formats clojure.spec errors in a way that is

Re: Migrating nREPL out of Clojure Contrib

2017-07-19 Thread Andy Fingerhut
Contribs are on github, but none of them accept pull requests. All of them use JIRA for tickets, listed here: https://dev.clojure.org/jira/secure/BrowseProjects.jspa#all Some background on the contribution process: https://dev.clojure.org/display/community/Contributing+FAQ Andy On Tue, Jul 18

Re: ClojureDocs example management?

2017-06-18 Thread Andy Fingerhut
I think part of it is that examples are easy to edit, so if there are small easily fixed mistakes, often someone will. Unlike politically contentious issues on Wikipedia, there isn't much to be gained from putting misleading information in ClojureDocs. Andy On Sun, Jun 18, 2017 at 7:53 PM, Alex

Re: New guide: Reading Clojure Characters

2017-06-17 Thread Andy Fingerhut
that foo works, because '_' is just another parameter name, no more or less special to the compiler than the parameter name 'arg1' or 'f'. Andy On Sat, Jun 17, 2017 at 2:01 PM, Gregg Reynolds <d...@mobileink.com> wrote: > > > On Jun 17, 2017 3:36 PM, "Andy Fingerhut" <andy.

Re: New guide: Reading Clojure Characters

2017-06-17 Thread Andy Fingerhut
ompiler than the parameter name 'a'. There is no requirement in the Clojure compiler that parameter names are unique. Andy On Sat, Jun 17, 2017 at 12:16 PM, Gregg Reynolds <d...@mobileink.com> wrote: > > > On Jun 17, 2017 1:55 PM, "Timothy Baldridge" <tbaldri...

Re: [ANN] Eastwood, the Clojure lint tool, version 0.2.4 released

2017-06-01 Thread Andy Fingerhut
be better suited for others. Andy On Thu, Jun 1, 2017 at 8:19 AM, Peter Hull <peterhul...@gmail.com> wrote: > I had a quick look at this. As I understand it, the clojure.core reader > processes data_readers.clj, but Eastwood uses tools.reader (or a version of > it, copied into the E

Re: [ANN] Eastwood, the Clojure lint tool, version 0.2.4 released

2017-05-31 Thread Andy Fingerhut
Sounds like a limitation/bug in the current Eastwood implementation that it doesn't handle this. You are welcome to file an issue on Github: https://github.com/jonase/eastwood/issues Sorry, no promises on when it might be addressed. Andy On Wed, May 31, 2017 at 5:39 AM, Peter Hull <peter

  1   2   3   4   5   6   7   8   9   10   >