Re: Log4j2 integration classloading woes

2021-01-23 Thread Dimitrios Jim Piliouras
on (the JarURLConection). > > I hope it helps. > > Regards, > Eugen > > On 18.01.2021 11:22, Dimitrios Piliouras wrote: >> Hi folks, >> I'm trying to integrate log4j2 (and its `MapMessage`) with tools.logging. >> Everything was going great until the moment

Log4j2 integration classloading woes

2021-01-18 Thread Dimitrios Piliouras
Hi folks, I'm trying to integrate log4j2 (and its `MapMessage`) with tools.logging. Everything was going great until the moment I had to depend on this little library, from another project. Everything would work on the REPL, but `lein check` was failing with the most bizarre IOException (Stre

Integrating `core.async` with `httpcore5-h2`

2020-10-31 Thread Dimitrios Piliouras
ndirection - just putting into the channel (and closing it when streaming). Other than that, honors the ring-spec (wrt requests). So there you have it - async from the ground-up, HTTP2 supporting, ring-friendly web-server prototype (in less than 250 lines). Kind regards, Dimitrios

[ANN]: drand-clj

2020-08-22 Thread Dimitrios Jim Piliouras
Hi folks, This is a Clojure client for the drand [1,2] HTTP api. https://github.com/jimpil/drand-clj Kind regards, Dimitris [1]: https://drand.love/ [2]: https://github.com/drand/drand -- You recei

Re: Why is `binding-conveyor-fn` private?

2020-08-21 Thread Dimitrios Jim Piliouras
Yeah good point, thanks Sean :) Kind regards On Fri, 21 Aug 2020, 19:32 Sean Corfield, wrote: > Isn't that what bound-fn and bound-fn* are for? > > On Fri, Aug 21, 2020 at 11:21 AM Dimitrios Jim Piliouras < > jimpil1...@gmail.com> wrote: > >> Hi folks, >>

Why is `binding-conveyor-fn` private?

2020-08-21 Thread Dimitrios Jim Piliouras
time I have to copy/paste it into whatever project I’m working in. Shouldn’t it, not only be public, but also come with a doc-string that strongly encourages its use when manually submitting functions to Executors? Am I missing something? Many thanks in advance... Kind regards, Dimitrios

Re: ANN: jedi-time 0.1.4

2020-02-03 Thread Dimitrios Jim Piliouras
that > takes you back to the object world on the left, corresponding to the place > on the right that you'd get to via get etc. > > See if this blog post helps > https://corfield.org/blog/2018/12/03/datafy-nav/ > > > On Sun, Feb 2, 2020 at 1:22 AM Dimitrios Jim Piliour

RE: ANN: jedi-time 0.1.4

2020-02-02 Thread Dimitrios Jim Piliouras
converted to an alternate version? 3. Why would I ever navigate the existing keys of a map via `nav` (as opposed to the standard functions)? Kind regards, Dimitris From: Dimitrios Jim Piliouras Sent: 02 February 2020 09:22 To: clojure@googlegroups.com Subject: RE: ANN: jedi-time 0.1.4 Hi Sean

RE: ANN: jedi-time 0.1.4

2020-02-02 Thread Dimitrios Jim Piliouras
Hi Sean, Admittedly, I’ve never used REBL, and I did struggle with the shape and name of the `nav` arguments... In particular I’m struggling to understand why would anyone use `nav` to navigate to a key that already exists in the map...Can’t we just use `get` or `get-in`? You used the :format

[ANN] - cryptohash-clj 0.1.6

2019-11-24 Thread Dimitrios Jim Piliouras
Hi folks, Robust cryptographic hashing/verifying facilities (pbkdf2, bcrypt, scrypt, argon2). https://github.com/jimpil/cryptohash-clj I’ve opened an issue with the guys over at BouncyCastle, over the fact that their openBSD bcrypt encoding/decoding utilities are private and so consumers are

Re: Bizarre issue when calling protocol-fn wrapper from different namespace

2019-11-22 Thread Dimitrios Jim Piliouras
e: >> >> there is no foo/x unless you defined one - the protocol function is >> created by defprotocol and is not owned by the object implementing the >> protocol >> >> On Thu, Nov 21, 2019 at 3:29 PM Dimitrios Jim Piliouras >> wrote: >>>

Re: Bizarre issue when calling protocol-fn wrapper from different namespace

2019-11-21 Thread Dimitrios Jim Piliouras
t belongs to the protocol namespace no > > matter where it is called, and calling it as if it belonged to the > > namespace defining the object extending the protocol will and should > > fail > > > > On Thu, Nov 21, 2019 at 1:57 PM Dimitrios Jim Piliouras > > wrote:

Bizarre issue when calling protocol-fn wrapper from different namespace

2019-11-21 Thread Dimitrios Jim Piliouras
Hi folks, This has me completely stumped - I would massively appreciate a helping hand! Suppose the following simple directory structure: — someProject.impl.{foo.clj, bar.clj,baz.clj} — someProject.proto.clj — someProject.api.clj `proto.clj` contains a single protocol with two methods - let’s

Re: [ANN]: clambda 0.1.4 - reducible Java Streams

2018-08-10 Thread Dimitrios Jim Piliouras
Hi Andrew, Well, for the native java Stream case, your 'early-spliterator' has to be able to split the Spliterator it's wrapping instead of always returning nil. For the Stream around a seq case, you need to ditch 'iterator-seq', and implement something splitable. See my SeqSpliterator deftype...

Re: StackOverflowError

2013-11-08 Thread Dimitrios Jim Piliouras
You don't generally do global variable assignment in Clojure...it is seriously frowned upon and goes against the functional paradigm... I need to run now and I will be busy for the next 2 hours... perhaps someone else can explain if you are in a hurry? On Nov 8, 2013 2:34 PM, "ru" wrote: > Jim, p

Re: StackOverflowError

2013-11-08 Thread Dimitrios Jim Piliouras
Did I see a def inside a defn? This is weird... glad you solved your problem though... On Nov 8, 2013 1:51 PM, "ru" wrote: > Solution have found: > > (remove ...) => (doall (remove ...)) > > Full source of 'retract-fact' function is: > > (defn retract-fact [fid] > "Retract fact for given fact-i

Re: Is game development Clojure(functional in general) friendly?

2012-10-30 Thread Dimitrios Jim Piliouras
I cannot say for sure whether this is something that would interest you but I'm currently writing a library just for this reason...That is, developing games in Clojure. I am sort of giving emphasis to board games but I don't see why one could not build tetris or sudoku or monopoly etc etc...My goa

Re: atom / swap! question

2012-07-31 Thread Dimitrios Jim Piliouras
If I understand correctly you don't need an atom to count the elements in a seqall you need is 'count' (let [s [1 2 3 4 5] n (count s)] (vector n s)) => [5 [1 2 3 4 5]] If you want to count only the first 100 you can first "take" as many as you need and then count them...you can also

Re: community interest in machine learning (?)

2012-07-29 Thread Dimitrios Jim Piliouras
Hi Tim, According to : http://www.heatonresearch.com/content/encog-30-article-2-design-goals-overview encog 3 should have descent support for any temporal (time-series) based prediction support in particular for financial predictions...I'm afraid however that the only example that I've ported to

Re: community interest in machine learning (?)

2012-07-28 Thread Dimitrios Jim Piliouras
If you're doing anything related with neural nets I think clojure-encog is indeed the place to start... I've wrapped most of the original java encog v3 so far and I am actively using it for my own projects...I'd be very happy to hear your feedback if you decide to use it after all...The truth is I'

Re: Clojurians in the midlands (UK)

2012-07-27 Thread Dimitrios Jim Piliouras
this is really great! I have joined the google group and I'm looking forward to the next meetup! as the website suggests i will keep an eye on the time and place as it says it is not always fixed...too bad I missed the clojurescript talk :( btw, have you talked about the reducers lib? It is the fi

Re: Clojurians in the midlands (UK)

2012-07-26 Thread Dimitrios Jim Piliouras
Hi Diptanu! Yes we should definitely do that... I am in Greece at the moment but I'll be back in a couple of weeks...Do you know of more people that would be interested? Jim On Wed, Jul 25, 2012 at 8:20 AM, Diptanu Choudhury wrote: > Dimitrios, > > I know we talked about it afte

Re: seesaw's beautiful docstrings

2012-07-25 Thread Dimitrios Jim Piliouras
decide to learn emacs any time soon thank you both for your precious time and suggestions... cheers! Jim On Wed, Jul 25, 2012 at 4:02 PM, Laurent PETIT wrote: > > > 2012/7/25 Dimitrios Jim Piliouras > >> Hmmm I see...you're saying that this is all due to my minimalistic

Re: seesaw's beautiful docstrings

2012-07-25 Thread Dimitrios Jim Piliouras
ow on the raw terminal exactly as it shows on the eclipse text-editor? I'm asking because in gedit the only way i can predict where things go is whenever i have a continuous string (no line breaks)... Jim On Wed, Jul 25, 2012 at 12:17 PM, Laurent PETIT wrote: > 2012/7/25 Dimitrios

seesaw's beautiful docstrings

2012-07-25 Thread Dimitrios Jim Piliouras
Hi all, I've just watched Dave Ray's mini demo of seesaw on infoQ and what amazed me (apart from the actual library) was the gorgeous documentation that is attached to all the functions. Dave has done an amazing job - even though it is essentially a swing wrapper you can get a lot done without kno

Re: Clojurians in the midlands (UK)

2012-07-20 Thread Dimitrios Jim Piliouras
There are a few in Manchester (including me) Do you have anything particular in mind? Jim On Wed, Jul 18, 2012 at 9:53 AM, Philip Potter wrote: > There are a few in Cambridge, but it's a stretch to call that the > "Midlands": > > http://groups.google.com/group/camclj > On Jul 17, 2012 9:06 A

Re: Light Table on Windows XP

2012-07-03 Thread Dimitrios Jim Piliouras
Light table has been released? when did that happen? Jim On Tue, Jul 3, 2012 at 3:44 AM, Mark Engelberg wrote: > I have been unable to get Light Table to work on Windows XP. I suspect > this has something to do with not installing the proper version of Power > Shell, but the install instructio

Re: verify that a fn throws an exception via testing?

2012-06-30 Thread Dimitrios Jim Piliouras
I am away in holidays and missed your response Brian...Thanks a lot for taking the time to reply and of course thanks for midje! I will consult the entire midje wiki once I go back to an actual office!!! Jim On Mon, Jun 25, 2012 at 11:05 PM, Brian Marick wrote: > > On Jun 25, 2012, at 6:21 AM,

Re: Using the Clojure Logo

2012-03-28 Thread Dimitrios
On 28/03/12 13:12, Stuart Sierra wrote: Rich Hickey holds the copyright on the Clojure logo design, and it's not under an open-source license. He has asked that the logo not be used to refer to anything except the language itself. Does that mean it can be used freely by anyone (presentations