Re: What Emacs framework do you prefer?

2021-08-10 Thread Oleksandr Shulgin
On Tue, Aug 10, 2021 at 4:50 AM Laws wrote: > Does anyone want to either recommend a framework or share an init file > that has some customizations for Clojure? https://cider.mx/ Cheers, -- Alex -- You received this message because you are subscribed to the Google Groups "Clojure" group. To

State of Clojure/CLR: (was: Scicloj meeting: Nikita Propokov about Skija - graphics in the JVM)

2020-11-17 Thread Oleksandr Shulgin
On Tue, Nov 17, 2020 at 4:56 PM Daniel Slutsky wrote: > https://time.is/1400_08_Dec_2020_in_UTC/ > > Tonsky has recently released Skija: a library for high-performance > graphics on the JVM. > https://tonsky.me/blog/skija/ > > Of course, this opens some possibilities in Clojure. In this talk, Ton

Re: First post: how to mimic a Java List with types?

2020-08-14 Thread Oleksandr Shulgin
On Fri, Aug 14, 2020 at 8:44 PM Jack Park wrote: > This idea shows up early in Clojure text books. This concept comes to mind > rather quickly: > > (def and_list (ArrayList.) >... > ) > > But, in the end it is an ArrayList which has an interface-defined > behavior, e.g. boolean eval(); (from

Re: First post: how to mimic a Java List with types?

2020-08-14 Thread Oleksandr Shulgin
On Fri, Aug 14, 2020 at 9:05 AM Oleksandr Shulgin < oleksandr.shul...@zalando.de> wrote: > On Fri, Aug 14, 2020 at 7:51 AM Alexandre Almosni < > alexandre.almo...@gmail.com> wrote: > >> Maybe your objects could be defined by a map containing functions and >>

Re: First post: how to mimic a Java List with types?

2020-08-14 Thread Oleksandr Shulgin
On Fri, Aug 14, 2020 at 7:51 AM Alexandre Almosni < alexandre.almo...@gmail.com> wrote: > Maybe your objects could be defined by a map containing functions and > objects. > > So exampleAndList = {:fn and, :coll [a b c]} > > > And then eval goes through your objects recursively, using > > (def eval

Re: first time without state - and I'm lost

2020-06-16 Thread Oleksandr Shulgin
On Mon, Jun 15, 2020 at 7:34 PM Ernesto Garcia wrote: > Hi, it's a long time that this question was posted, but I have found it > interesting in the implementation of token refreshes. > > First of all, for service invocation, given a `revise-oauth-token` method, > I think this is good client code

Re: Strange with "clj" tool

2019-07-31 Thread Oleksandr Shulgin
On Wed, Jul 31, 2019 at 1:16 PM ru wrote: > > The tool "clj" starts normally in any folder, except in one, that I cloned > from github: > > [image: error.png] > > > Please, explain me this behavior. > Do you by chance have some non-absolute path in your PATH environment variable in that shell ses

Re: Brl-cad with clojure

2019-07-09 Thread Oleksandr Shulgin
On Tue, Jul 9, 2019 at 10:35 AM Vikram Shaw wrote: > I want to create a Brl-cad project using Clojure programming language in > which I can create a database and some solid figure like sphere. > I have written the code using ``sh`` clojure function but getting error. > The ``sh`` function is work

Re: [ANN] seancorfield/next.jdbc 1.0.0

2019-06-13 Thread Oleksandr Shulgin
On Thu, Jun 13, 2019 at 7:51 AM Sean Corfield wrote: > The first “gold” release of the next generation of clojure.java.jdbc – a > new low-level Clojure wrapper for JDBC-based access to databases! > > > > https://github.com/seancorfield/next-jdbc > > > > Compared to the release candidate, this con

Re: Await on agent triggers watch functions

2019-01-07 Thread Oleksandr Shulgin
On Mon, Jan 7, 2019 at 5:26 PM Herwig Hochleitner wrote: > Am Mo., 7. Jan. 2019 um 11:20 Uhr schrieb Oleksandr Shulgin < > oleksandr.shul...@zalando.de>: > >> >> Is it intended that calling `await` on an agent triggers the watch >> functions? >> >> Fr

Await on agent triggers watch functions

2019-01-07 Thread Oleksandr Shulgin
Hello, Is it intended that calling `await` on an agent triggers the watch functions? user> (defn watch1 [& args] (apply println args)) #'user/watch1 user> (def a1 (agent nil)) #'user/a1 user> (add-watch a1 :w1 watch1) #agent[{:status :ready, :val nil} 0x267236ca] user> (send a1 (constantly 1)) #a

Re: [ANN] Learn ClojureScript and Reagent; learnreagent.com

2018-06-28 Thread Oleksandr Shulgin
On Thu, Jun 28, 2018 at 7:10 AM wrote: > I believe that the ideas in Clojure/ClojureScript are really great and > need bigger adoption in web dev, this is why I created a video course to > teach ClojureScript and Reagent. > > To make sure this course teaches best practice it has been reviewed by

Re: Terminating 'clj' REPL session

2017-12-11 Thread Oleksandr Shulgin
On Sat, Dec 9, 2017 at 11:37 PM, Alan Thompson wrote: > Hi - Just downloaded the new Clojure 1.9.0 package. When I tried the repl > I noticed that it doesn't respond to either `exit` or `quit` as one might > expect from the lein repl: > > ~/cool/tools > clj > Clojure 1.9.0 > user=> (+ 2 3) > 5 >

Re: [ANN] Cambium - Structured logging for Clojure

2017-12-01 Thread oleksandr . shulgin
On Thursday, November 30, 2017 at 3:35:24 PM UTC+1, Shantanu Kumar wrote: > > > I am happy to announce the availability of Cambium, an Open Source project > for structured logging in Clojure using SLF4j and Logback. > > Details: https://cambium-clojure.github.io/ > Repos: https://github.com/cambiu