[CfPart] 17th European Lisp Symposium -- May 6-7, Vienna, Austria

2024-04-15 Thread Didier Verna
~~~ Giuseppe Attardi, University of Pisa, Italy Organizing Chair Didier Verna, EPITA, France Programme Committee ~~~ Ambrose Bonnaire-Sergeant, Untypable LLC Frederic Peschanski, UPMC/LIP6 Jay McCarthy, UMass Lowell Jim Newton, EPITA Research Lab Kai Selgrad, OTH

[Last CfP] 17th European Lisp Symposium, May 6-7 2024, Vienna

2024-02-18 Thread Didier Verna
words field. Programme Chair ~~~ Giuseppe Attardi, University of Pisa, Italy Organizing Chair Didier Verna, EPITA, France Programme Committee ~~~ Ambrose Bonnaire-Sergeant, Untypable LLC Frederic Peschanski, UPMC/LIP6 Jay McCarthy, UMass Lowell Jim Newton, EPITA

[CfP] 17th European Lisp Symposium, May 6-7 2024, Vienna, Austria

2023-11-30 Thread Didier Verna
land -- Resistance is futile. You will be jazzimilated. Didier Verna ELS Steering Committee -- 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: [ANN] Discontinuing 4clojure.com

2021-07-10 Thread Didier
I'm guessing this also means the Android App will no longer work for it? On Tuesday, July 6, 2021 at 12:12:21 p.m. UTC-7 Robert P. Levy wrote: > Just wanted to correct a mistake in what I wrote above. Obviously you > can't clear the password hashes while retaining a link between people and > th

Re: HP Fortify Security Scanner and Clojure

2020-04-02 Thread Didier
Reviving an old topic here, does anyone know of a Clojure 1.10 compatible security analysis tool? I too thought of just decompiling the .class to Java. It also appears Fortify can run on bytecode only, so I might give that a try if I can't find anything else. Regards On Wednesday, 21 October 2

[CfP] ELS 2020, 13th European Lisp Symposium, April 27-28, Zurich

2019-12-06 Thread Didier Verna
, Germany Paulo Matos - Igalia, Spain/Germany Robert Goldman - SIFT, USA Robert Strandh - Université Bordeaux 1, France (more PC members to be announced) -- Resistance is futile. You will be jazzimilated. Didier Verna ELS Steering Committee -- You received this message because you are subscr

Re: gen-class/AOT considered harmful (in libraries)???

2019-09-03 Thread Didier
r not. I take "proper dependency" to mean a Maven/Lein > dependency that ships with the dependency list in your library's POM. > > I agree that you that you shouldn't ship classes AOT'd outside of your > library/its namespaces. > > On Sunday, September 1, 2019

Re: gen-class/AOT considered harmful (in libraries)???

2019-09-01 Thread Didier
AOT does matter, because AOT is transitive. Effectively, all AOT builds are like Uberjars. They compile your code and the code of your dependencies and theirs as well into .class files putting everything in the build folder. Then the package will take all the classes and put them in the Jar. An

Re: gen-class/AOT considered harmful (in libraries)???

2019-08-31 Thread Didier
Clojure does not guarantee binary compatibility between versions, but almost always happens to be compatible. Yet, it's best not to distribute your Clojure libs as compiled classes, much better to do so as source. For a gen-class though, it works like Java. Java guarantees backward compatibilit

Re: How to use Clojure core specs in my own library with regards to the EPL license?

2019-08-31 Thread Didier
Ya, I will just license the modifications to the specs under EPL. I do feel though specs are a weird grey area. For example, EPL 2.0 says: > Modified Works shall not include works that contain only declarations, > interfaces, types, classes, structures, or files of the Program solely in > each

How to use Clojure core specs in my own library with regards to the EPL license?

2019-08-27 Thread Didier
I'm looking to publish a Clojure library and would like to release it under the MIT license. That said, I needed to modify some core specs so that `fn` and `defn` can properly roundtrip between conform and unform. To do this, I copied the specs for `fn` and `defn` in my own code base, and modif

Re: Java Interop on steroids?

2019-06-23 Thread Didier
Oh, I didn't know about that, pretty funky stuff. -- 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. T

Re: Java Interop on steroids?

2019-06-22 Thread Didier
> They did cite a significant performance boost as a side effect. I think it isn't very clear from the wording. They didn't just rewrite it in Java, they also changed the architecture: > Storm 2.0.0 introduces a new core featuring a leaner threading model, a > blazing fast messaging subsystem a

Re: Calling Java from Clojure

2019-06-21 Thread Didier
Oh, not when you don't have too. I mean, you can always hand write a class in Java and have it call into Clojure. That's effectively gen-class but done manually. Otherwise, I favour the Clojure Java API. But some code base are already using gen-class, and some people do use gen-class. Sometimes

Re: Calling Java from Clojure

2019-06-21 Thread Didier
Interesting about impl-ns, I'll have to look into that. If so, it would greatly simplify it all. In my experience, if you only keep the gen-class .class, and delete everything else, it all works without issues. If you are actually doing AOT, not for the purpose of gen-class, I wouldn't recommen

Re: Calling Java from Clojure

2019-06-20 Thread Didier
Option #1 and #3 are very much the same, just that Option #3 creates a Java layer on top, instead of having everything coupled to the Clojure Java APIs directly. When you go with Option #2, you do not have to AOT everything, but AOT is transitive. So as you AOT the gen class, all code it requir

Re: [ANN] General ML and ETL libraries

2019-03-13 Thread Didier
Awesome! On Wednesday, 27 February 2019 09:17:33 UTC-8, Chris Nuernberger wrote: > > Clojurians, > > > Good morning from (again) snowy Boulder! > > > Following lots of discussion and interactions with many people around the > clojure and ML worlds, TechAscent has built a foundation with the inten

Re: Closure lang for newbies in 2019

2019-03-13 Thread Didier
I highly recommend this tutorial series: https://aphyr.com/tags/Clojure-from-the-ground-up Followed by this one: https://kimh.github.io/clojure-by-example/#about And finally: https://practicalli.github.io/ Regards On Saturday, 9 March 2019 11:23:12 UTC-8, Eric Calonico wrote: > > Hi everybody, >

[ANN] rep 0.1.2

2019-02-20 Thread Didier
Hum, is there some advantage to using this over just normal `clj -e`? -- 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

Re: Compiling with load instead of compile?

2019-02-13 Thread Didier
So if the namespace name differs from the filename, root-resource isn't actually able to find the resource for the corresponding namespace. Anyways, thanks for the response! On Wednesday, 13 February 2019 19:33:19 UTC-8, Alex Miller wrote: > > > > On Wednesday, February 13, 2019

Compiling with load instead of compile?

2019-02-13 Thread Didier
Hey all, I've been working on internal build tools where I work, and when looking into how other build tools like lein do their aot :all compilation, it seems that they all rely on some brittle namespace finder library, which searches either the classpath, or a folder of files and tries to iden

Re: Issue when moving to Clojure 1.10

2019-01-29 Thread Didier
For anyone interested, the approach I ended up taking was to AOT everything all the time. But, require the class namespaces to be explicitly defined in the build config file for any which needs to be included in the Jar. And when packaging the Jar, only the Clojure source and the AOT class files

Re: Issue when moving to Clojure 1.10

2019-01-26 Thread Didier
h tooling. > > > > Sean Corfield -- (970) FOR-SEAN -- (904) 302-SEAN > An Architect's View -- http://corfield.org/ > > "If you're not annoying somebody, you're not really alive." > -- Margaret Atwood > > > --

Re: Issue when moving to Clojure 1.10

2019-01-25 Thread Didier
with a newer version of Clojure and JDK? On Friday, 25 January 2019 22:11:46 UTC-8, Didier wrote: > > So I got to the bottom bottom of the problem here. > > This is a scenario: > > 1) Library A depends on library B and Clojure 1.10 > 2) Library B must be AOTed due to a gen-class

Re: Issue when moving to Clojure 1.10

2019-01-25 Thread Didier
So I got to the bottom bottom of the problem here. This is a scenario: 1) Library A depends on library B and Clojure 1.10 2) Library B must be AOTed due to a gen-class, but depends on Clojure 1.9 3) Library A does not work, because it is now using the Clojure core spec 1.9 compiled transitively

Re: Issue when moving to Clojure 1.10

2019-01-16 Thread Didier
Okay, I think I have a good understanding now. Internally, I was using the Clojure build which bundles the dependency with it. That's why that namespace shows up inside my Clojure Jar. It makes sense also not to guarantee binary compatibility. We will make sure to always build and run using the

Re: Issue when moving to Clojure 1.10

2019-01-15 Thread Didier
Okay, I found my issue, mostly. It seems that Clojure 1.9 and 1.10 both now have a clojure.core.specs.alpha.clj file. This file seems to be the only file that is not AOT compiled by the maven compile script for Clojure. Thus the Jar for Clojure only has it as source, and is missing the .class

Issue when moving to Clojure 1.10

2019-01-14 Thread Didier
When compiling with Clojure 1.10, I get the following error, which I did not use to get on 1.7, 1.8 and 1.9: Exception in thread "main" Syntax error compiling at (com/org/namespace_test .clj:1:1). at clojure.lang.Compiler.load(Compiler.java:7647) at clojure.lang.RT.loadResourceScript(RT.java:

Re: GraalVM's native-image incompatible with Clojure's eval?

2018-12-12 Thread Didier
In my case, substratevm itself pointed to me which class was being reflected on. Though it didn't specify which fields or methods, but I just set it to allow all methods and fields of the reported classes to be allowed. -- You received this message because you are subscribed to the Google Group

Re: GraalVM's native-image incompatible with Clojure's eval?

2018-12-10 Thread Didier
You can give substratevm a reflection json file though. That did the trick for me. https://github.com/oracle/graal/blob/master/substratevm/REFLECTION.md So you just need to tell it in advance what class you will reflect on and how. Then it should work. -- You received this message because you

Re: GraalVM's native-image incompatible with Clojure's eval?

2018-12-10 Thread Didier
Hum, I hadn't heard of jaotc. Hopefully it will continue to be developed. A slower Clojure which starts mich faster yet is fully compatible would be a nice trade off in many cases. I found this reading interesting: https://mjg123.github.io/2017/10/04/AppCDS-and-Clojure.html#using-cds For usin

Re: Who Uses import-vars?

2018-11-15 Thread Didier
So is there another way then using import-vars tp break up an existing package into many new small ones? -- 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: [ANN] High Performance Numerics Compiler

2018-11-14 Thread Didier
Wow, awesome! On Monday, 12 November 2018 07:46:14 UTC-8, Chris Nuernberger wrote: > > Clojurians, we are happy to put forth our work bringing the TVM compiler > and infrastructure to clojure. It has backends for ARM, Intel, OpenCV, > Cuda, OpenGL, Vulkan, ROCm, and more. > > This system is c

Re: Request to review my CLJS using core.async

2018-11-14 Thread Didier
Do you really need core.async for this? Seems like you can just normally call the service to get the token once at the beginning and then just go in a normal loop of calling for the next message -> handling message -> repeat. I'm not sure there's any reason to use core.async in ClojureScript ot

Re: What if ^:const could inline everything before macroexpanssion?

2018-11-07 Thread Didier
get in the REPL when evaluating that >> expression: >> >> $ clj >> Clojure 1.9.0 >> user=> (. clojure.lang.Numbers (add 10 100)) >> 110 >> user=> >> >> >> >> On Wednesday, November 7, 2018 at 10:01:20 AM UTC

Re: What if ^:const could inline everything before macroexpanssion?

2018-11-07 Thread Didier
rch 2018 11:11:24 UTC-7, Didier wrote: > > I was hoping that ^:const would be able to inline any symbol value and > that it would do so before macroexpanssion so that: > > (def ^:const bar {:a 100}) > > (defmacro foo > [x] > (:a x)) > > (foo bar) > > Wou

Re: [ANN] 1.10.0-beta5

2018-11-07 Thread Didier
Hum, just noticed tap. Seems really interesting. I'm not thinking of any concrete usage for now, but I like it! Also, is the object in the datafy description referring to a Java object? If so, is it a way to transform nested Java objects into Clojure data, and possibly back? On Wednesday, 7 No

Re: What's the end goal for tools.deps?

2018-11-04 Thread Didier
> > "If you're not annoying somebody, you're not really alive." > -- Margaret Atwood > > > -- > *From:* clo...@googlegroups.com > on behalf of Didier > > *Sent:* Sunday, November 4, 2018 10:58:43 AM > *To:* Clojure

Re: What if ^:const could inline everything before macroexpanssion?

2018-11-04 Thread Didier
so after expansion? On Thursday, 15 March 2018 18:15:16 UTC-7, Carlo Zancanaro wrote: > > On Thu, Mar 15 2018, Didier wrote: > > I feel it would be really cool to be able to factor some input > > to macros into constants, is this something I could open a > > ticket for,

Re: What's the end goal for tools.deps?

2018-11-04 Thread Didier
> > Generally those tools are just Clojure programs with a clojure.main. If > you can build a classpath from your dependency manager, then invoke the > tool, then yes, all those tools are open to you as well (and for packaging > as lein plugins or boot tasks too). There is no magic here. It's j

RE: What's the end goal for tools.deps?

2018-11-04 Thread Didier
Thanks everyone. I guess I see the need for a dependency manager. And I love having a CLI to launch Clojure programs. And I understand it is fundamental. That said, it always felt like Lein had solved that problem long ago. Maybe it wasn't official enough. But Lein could have been bundled with

What's the end goal for tools.deps?

2018-11-03 Thread Didier
I read the rationale, and I understand that we needed a way to bundle depencies for clj and clojure cli. But in practice, I'm seeing a lot of people move to it, away from boot or lein, and I fail to see what the end goal really is? Any serious work will need a build tool of some sort. If you us

RE: An Error spec?

2018-10-26 Thread Didier
No, I'm thinking more like: (defmacro errorable [success-spec error-spec] `(s/or :success ~success-spec :error ~error-spec)) (s/def ::result (errorable string? #{:authentication-failure :missing-input}) (s/conform ::result "Here is a successful and valid result.") -> [:success "Her

RE: An Error spec?

2018-10-26 Thread Didier
> I’m genuinely curious as to what you (and other folks) would like to see > added to Clojure to satisfy this “need”. I'm proposing we add a spec for it, which would conform to success or error. This would still allow flexibility in that you can choose your own error structure, and success stru

RE: An Error spec?

2018-10-26 Thread Didier
Sean, if you were to Spec your API responses, what would you do for your error response? This is my issue. I operate in a distributed environment. If I produce a set of data, but one field failed to compute properly, maybe a downstream system was down, maybe some information I was given to comp

Re: An Error spec?

2018-10-25 Thread Didier
Interesting. I understand that, I guess it's because of my usage of spec. I tend to use spec exclusively at the boundaries. Think serialization. Sometimes, I have a producer which can't handle the error, so it must be serialized and exchanged to the consumer. So say the producer couldn't produc

An Error spec?

2018-10-25 Thread Didier
I've started to see a pattern in my spec like this: (s/or :success string? :error ::error) And I've been tempted to create my own spec macro for this. But I also thought, maybe Spec itself should have such a spec. (s/error ) What do people think? -- You received this message because y

Re: (type ...) vs (class ...)

2018-10-24 Thread Didier
Reviving this thread, as I'd like to kmow if someone can explain the purpose of the type metadata and what is responsible for adding it? -- 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 Not

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

2018-10-16 Thread Didier
How does the new syntax help the tooling figure out the type? (def var (SomeType.)) (.method var) Or (jvm (var.method)) I'm not sure how you narrow down to only the SomeType methods? -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this

Prototype code for enhanced CIDER code completion for Java methods

2018-10-15 Thread Didier
Could you find a way that doesn't require a syntax change? Maybe a meta hint? -- 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 pat

Pipe shell output into REPL?

2018-09-05 Thread Didier
Hi all, I was wondering if there is an easy way I can pipe my shell output into a REPL. Something like: cat /tmp/remus-lighthouse-apis-info.ion | lein repl When I try this, it starts a REPL, and then each line gets sent one by one to the REPL and ran. I'd like it so that I'm at the REPL, and

Re: New developments in beginner-friendly editing/repl environments?

2018-08-27 Thread Didier
Have you tried maria.cloud? Its only ClojureScript, but in the Jupiter style seems to meet your needs. Though you can't add dependencies to it as far as I know. -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clo

Re: Why are mutable fields on deftype not public?

2018-08-27 Thread Didier
I see, actually that makes a lot of sense. I always kind of disagreed with the encapsulation is folly mentra. But if you add to it, of immutable data, it makes more sense. A few more related questions. 1) I gathered the fields are made package restricted. Is that correct? 2) It seems methods d

Why are mutable fields on deftype not public?

2018-08-26 Thread Didier
It seems to contradict the documentation found here datatypes : > Encapsulation of information is folly. Fields are public, use protocols/interfaces to avoid dependencies It is also not documented in the doc-string, and makes it im

Is core.async a stackless or stackfull coroutine implementation?

2018-08-25 Thread Didier
I've read a bit about the difference between stackless and stackfull coroutines. But I still don't really understand the difference. And I'm trying to know in which camp core.async would fall. Anyone knows? -- You received this message because you are subscribed to the Google Groups "Clojure"

This exception tip is a bit confusing.

2018-08-14 Thread Didier
Vector keys must be integers. Try (assoc [] 0 :a) A vector has keys from 0 to (count vector) pointing to elements at the same index. It's more like an Array list in this way. What you're doing would need a map instead. Try (assoc {} :a 0) -- You received this message because you are subscrib

Re: Can someone explains the difference between print-method and print-dup once and for all?

2018-08-09 Thread Didier
Thanks David. So if I need to extend edn to serialize custom types, I should extend print-method? And have it switch on print-readably? Where when true, prints a reabale edn literal #x/y ... for example, otherwise it prints as standard? Would that be the correct way? -- You received this mes

Re: How to escape a space in a keyword?

2018-08-09 Thread Didier
Ion is a data serialization format from Amazon http://amzn.github.io/ion-docs/ One lf its supported data type is symbol, defined as: Interned, Unicode symbolic atoms (aka identifiers) I interact with systems that interchange their data using ION. My systems use EDN though internally. Thus I nee

Can someone explains the difference between print-method and print-dup once and for all?

2018-08-08 Thread Didier
Thanks, but I think I need the details. It seems pr, prn and company default to using print-method, and print-method implementations check for *print-readably*. So how exactly would print-dup differ? I ask specifically in the context of serializing Clojure to EDN and back. Would it be best to d

Re: How to escape a space in a keyword?

2018-08-08 Thread Didier
Thanks Andy, ya I actually realized this, I'm using a custom reader literal now instead. > Why are you fighting so hard to make keywords with spaces? If you need things > with spaces, use strings. Why have keywords at all then? What does a space add that somehow negates the premise of keywords

Can someone explains the difference between print-method and print-dup once and for all?

2018-08-08 Thread Didier
Can someone explains the difference between print-method and print-dup once and for all? Regards -- 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 moder

Re: How to escape a space in a keyword?

2018-08-08 Thread Didier
Reviving an old thread. I have a case where I convert ION to Clojure, and ION has a SYMBOL type, which can be any UTF-8 character, including spaces. I though of making them keywords in Clojure, since they serve the same purpose, to be used as identifiers. I can create such keyword with the keyw

RE: What Happened to "java -jar clojure.jar hosehead.clj" ?

2018-08-01 Thread Didier
I think overall, it makes sense to modularize clojure. But I'm compassionate to the no internet style mindset. So I wonder if there could be a download on the clojure.org website which is an uberjar of Clojure and it's latest required dependencies? Specifically for such use case. -- You receiv

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

2018-07-27 Thread Didier
I guess I'm trying to do that but for a custom internal dependency management tool. How would I basically hand over lein the classpath for all its other commands? Any way to do that? Since I have something else pulling down all dependencies building the classpath? -- You received this message

Best way to use Lein only as a build tool?

2018-07-26 Thread Didier
What's the best way to use Lein only as a build tool? If I want to do my own dependency resolutions. Or say use tools.deps for dependency resolution, but Lein for all other build tasks? -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this

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-23 Thread Didier
> > And it’s worth noting that Rich has said nth is “somewhat of a mistake”: > https://gist.github.com/reborg/dc8b0c96c397a56668905e2767fd697f#why-cannot-last-be-fast-on-vector > >

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 Didier
| And to be completely clear, I'm not complaining about the design decision in Clojure. I'm just trying to really understand what the design is, what are the trade-offs and where the confusion might come from. conj is what is known as a leaky abstraction. Leaky abstractions aren't always bad,

Re: How define alias for .indexOf? (def somealias .indexOf) does not work.

2018-07-19 Thread Didier
The memfn docstring says it can be type hinted to avoid reflection. Any reason why it would still be slower then wrapping it in a type hinted function? -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googl

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 Didier
Hey Alan, Nice job on Tupelo by the way. I do find it a bit bloated though, and that's why I never use it. Any reason why all the different namespace are still mixed together? Seem like they could each be an independent lib, like how the datomic namespace was split out. On Wednesday, 18 July 2

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 Didier
> for performance, and when I do, it's to switch to a more async-incremental > Pipe thing analogous to core.async chans. > > On Wed, Jul 18, 2018, 3:16 AM Didier > > wrote: > >> It's never a good idea to use the wrong data structure for the job. >> &

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 Didier
It's never a good idea to use the wrong data structure for the job. And thus Clojure takes the stance that it won't make bad ideas easy for you to use. Yet, it will never prevent you from doing anything. If you want to do something bad, you'll need to get your own hands dirty. That's why slow d

Re: What is the minimal Emacs config for practical Clojure development?

2018-07-03 Thread Didier
There's also inf-clojure, which is pretty minimal. -- 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.

core.async buffered channel behavior

2018-06-27 Thread Didier
I think its due to ctrl+c, not sure what it actually does, but maybe it didn't actually kill the blocked thread? -- 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 me

Spaces between brackets?

2018-06-22 Thread Didier
Hi, I've noticed that it seems you can omit the space between brackets, and everything still parses as normal. I tend to prefer doing that in some instances, for example: (fn[a b] (+ a b)) It seems to hold in all scenarios, for example: [1 '...[2 3]] Yields [1 '... [2 3]] And [1[2[3]]] Y

[ANN] zprint 0.4.9 -- super fast startup with native image

2018-05-18 Thread Didier
Can it run on Linux too? Or MacOS only? -- 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 unsubscr

Re: Asynchronous http poll

2018-05-15 Thread Didier
I think I want to simplify some things. Normally, client/server async is implemented by the client/server framework. What happens is the interchange of messages between the client and server through the http connection on the socket is made non-blocking. But the entire request/response still ha

Re: Asynchronous http poll

2018-05-14 Thread Didier
re complex. On Monday, 14 May 2018 17:35:39 UTC-7, Didier wrote: > > Its hard to answer without additional detail. > > I'll make some assumptions, and answer assuming those are true: > > 1) I assume your S1 API is blocking, and that each request to it is > handled on its own

Re: Asynchronous http poll

2018-05-14 Thread Didier
Its hard to answer without additional detail. I'll make some assumptions, and answer assuming those are true: 1) I assume your S1 API is blocking, and that each request to it is handled on its own thread, and that those threads come form a fixed size thread pool with a size of 30. 2) I assume

Re: Custom core.async go threadpools? Using go parking for heavy calculation parallelism throughput?

2018-05-02 Thread Didier
This seems well suited for tesser https://github.com/aphyr/tesser/blob/master/README.markdown Or you could just look at using fold https://clojure.org/reference/reducers#_reduce_and_fold -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to th

Spy - Clojure / ClojureScript library for stubs, spies and mocks

2018-04-30 Thread Didier
This looks cool for validation. -- 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: Clojure/flutter

2018-04-29 Thread Didier
Honestly, I doubt any project will have more backing then Graal's native image. So I think its the best shot at Clojure native we've ever had, and probably the ideal one at that, since it'll boast all existing libraries. What could help is to then look at compiler options for Clojure that could

Re: Clojure/flutter

2018-04-27 Thread Didier
The thing about Clojure->native, is that Clojure needs a pretty powerful runtime. So we'd need to piggy back on something native that similarly has a strong runtime. Common Lisp maybe, or Go. I'd vote for Go. -- You received this message because you are subscribed to the Google Groups "Clojur

Iterate through transient map?

2018-04-27 Thread Didier
Don't think so. But the conversion back and forth is O(1). So it shouldn't affect performance. -- 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: Clojurists Together is funding CIDER and ClojureScript from May-July

2018-04-25 Thread Didier
Hey, sweet. I'm really liking Clojurist together, and I appreciate how its able to give competitive-ish salaries to fund the work. Hopefully it grows bigger, but even if it remain small and cozy, I think it can bring a lot of value. On Wednesday, 25 April 2018 14:32:34 UTC-7, Daniel Compton wr

Re: Understanding GraalVM and Clojure

2018-04-20 Thread Didier
https://github.com/oracle/graal/blob/master/substratevm/LIMITATIONS.md has some details of the limitations around native-image. Native-image is probably the more interesting part for Clojure, but I'm not sure it will fully work given those current limitations. On Thursday, 19 April 2018 03:00:1

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

2018-04-19 Thread Didier
Ah, awesome. I guess I'm starting to think, it would be great if clj supported something like: clj --install alias-name alias-url So maybe in a repo, you could put a file of a given convention in the root with a common name. Clj could pull it, it would contain a clj alias in it, and clj would

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

2018-04-18 Thread Didier
Hum, cool. First time I realize that clj could become the npm of Clojure. Couldn't you pull leiningen down from it in a similar fashion? And have a lein alias? -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clo

Re: Using Clojure for public facing system in a bank - code security scanning - any luck?

2018-04-13 Thread Didier
I'd love an independent penetration and security audit of the Clojure codebase. Especially around the socket repl in a localhost restricted way and making sure its not exploitable. I wonder how much it costs, and if Clojurist together could have one funded. -- You received this message because

Re: Anyone spent time with Kawa Scheme?

2018-04-11 Thread Didier
Haven't tried Kawa, and my only other Lisp experience is Emacs Lisp. That said, I think Clojure as a Lisp differentiate itself from other Lisps in that all its data-structures are built on abstractions. They default to be immutable in a performant and low memory profile way. Its got great added

Re: Anyone spent time with Kawa Scheme?

2018-04-04 Thread Didier
I'd recommend you try some of the startup optimizations for the JVM that zprint does: https://github.com/kkinnear/zprint/blob/master/doc/filter.md#we-all-know-that-clojure-startup-is-so-slow-that-this-will-not-work With it, they've managed to get the Clojure zprint filter to start faster then t

Proper way to write EDN file, after production bug

2018-03-29 Thread Didier
Ya, I'd write a wrapping fn, like ->edn which internally binds everything to what it should be, maybe even declares some extra print defmethod if you need custom edn serialization, and returns the edn. -- You received this message because you are subscribed to the Google Groups "Clojure" group.

What if ^:const could inline everything before macroexpanssion?

2018-03-15 Thread Didier
I was hoping that ^:const would be able to inline any symbol value and that it would do so before macroexpanssion so that: (def ^:const bar {:a 100}) (defmacro foo [x] (:a x)) (foo bar) Would return: 100 The same way that: (foo {:a 100}) does. Then I read that ^:const only inlines pri

Re: Any better client then telnet for connecting to a socket repl server?

2018-03-14 Thread Didier
On Friday, 2 March 2018 17:49:45 UTC-8, Didier wrote: > > I want to connect to a Clojure socket repl server, but telnet is a really > terrible repl experience. Anyway I can have a better client to connect to > it that would have some better support for history, backspace, maybe even >

Re: Macro argument evaluation, and function return value evaluation?

2018-03-13 Thread Didier
t properly. Hopefully the next version of spec might make this easier. Maybe I wish spec followed the data > function > macro philosophy, and that took regular clojure datastructures instead of this custom DSL it currently uses. On Monday, 12 March 2018 20:06:43 UTC-7, Didier wrote: > >

Re: How to validate date (YYYYMMDD) using clojure

2018-03-12 Thread Didier
I use in Clojure spec? > > Thanks! > Bijay > > On Mon, Mar 12, 2018 at 9:02 PM, Didier > > wrote: > >> Do it as you would in Java, using Clojure/Java interop. >> >> If you paste the Java code for how you'd do it, we can help you convert >> it to C

Macro argument evaluation, and function return value evaluation?

2018-03-12 Thread Didier
I feel these have been asked many times, but no answers I could find was complete, or satisfactory. 1) How do you, within a macro, choose to evaluate an argument? So imagine I wanted a macro which had applicative order of evaluation? Not a macro that returns a function which will be evaluated i

Re: How to validate date (YYYYMMDD) using clojure

2018-03-12 Thread Didier
Do it as you would in Java, using Clojure/Java interop. If you paste the Java code for how you'd do it, we can help you convert it to Clojure interop code. On Monday, 12 March 2018 15:28:27 UTC-7, pbi...@gmail.com wrote: > > I am java certified professional.Currently I am working Clojure I am

Re: Developing in Clojure with Emacs: Mastering the Keyboard

2018-03-05 Thread Didier
I'd second spacemacs, just make sure you go Holy and use Ivy. Helm I find is way too slow. And with Evil mode, you are now learning 3 things at once, Clojure, Emacs and Vim. Unless you already master Vim, then you can go Evil. -- You received this message because you are subscribed to the Goog

[ANN] org.clojure/core.cache & org.clojure/core.memoize 0.7.1 released!

2018-03-02 Thread Didier
Awesome, thanks for taking the lead and maintaining some of these awesome libs. -- 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 p

Any better client then telnet for connecting to a socket repl server?

2018-03-02 Thread Didier
I want to connect to a Clojure socket repl server, but telnet is a really terrible repl experience. Anyway I can have a better client to connect to it that would have some better support for history, backspace, maybe even some auto-complete, highlight, etc. Whatever I can get over telnet? Thank

  1   2   3   4   >