Re: Any plan to add log4j 2 support to tools.logging?

2016-09-27 Thread Andrea Richiardi
On Thursday, November 19, 2015 at 10:38:48 AM UTC-8, Didier wrote: > > Hi all, > > I was wondering if any work is being planned on tools.logging to add log4j > 2 support? > I found an alternative worth checking: https://github.com/gja/clj-log4j2 Log4j2 has so many feature and it might be a good

Re: Any plan to add log4j 2 support to tools.logging?

2016-09-27 Thread Andrea Richiardi
On Thursday, November 19, 2015 at 2:57:52 PM UTC-8, William la Forge wrote: Interesting. The log4j-api is not needed. log4j-slf4j-impl directly interfaces with log4j-core. I would be interested in this too, it looks like async loggers are way faster, and a factory for Log4j2 would be neat to

ThreatGRID/Cisco Looking for Clojure Developers

2016-09-27 Thread Alex Baranosky
[ Full disclosure: I am the technical lead on this product and the hiring manager in this case. Feel free to contact me with questions, and to pass this around. ] Clojure Developer for Malware Analysis Product The ThreatGRID team at Cisco is looking for experienced clojure developers to work

Re: Saving / Loading a Datascript DB

2016-09-27 Thread Nikita Prokopov
Wukong, there’s also https://github.com/tonsky/datascript-transit Best, Nikita On Monday, September 26, 2016 at 7:15:16 PM UTC+7, Wukong Sun wrote: > > Hi, > > Is there a easy way to save/load a datascript DB to file? > > I'm not looking to use datomic. I just need a way to save my

Re: First time using DataScript

2016-09-27 Thread Nikita Prokopov
Alan,  On Tuesday, September 27, 2016 at 7:38:29 AM UTC+7, Alan Thompson wrote: > > Hi - I was answering a question on StackOverflow, and after solving it > using functions from clojure.core, I thought it was the prefect candidate > for a little DataScript. Basically the user wants to do a

Re: Insane stack trace with no reference to my code

2016-09-27 Thread Colin Yates
Narrowing the problem down, on an error the error handler serialises the current UI state (which can be very large) to EDN and persists that in a DB. I am thinking something in there is throwing an exception which, when I try to log it out, causes the recursion. This throws another exception and

Re: Insane stack trace with no reference to my code

2016-09-27 Thread Colin Yates
Great tip - thanks Ragnar On Tue, 27 Sep 2016, at 11:41 AM, Ragnar Dahlén wrote: > Hi Colin, > > I think you're correct in that something is calling print on a largish > data structure (possibly due to "loops" like Thomas points out), and > due to the recursive nature of print you're running out

Re: Insane stack trace with no reference to my code

2016-09-27 Thread Ragnar Dahlén
Hi Colin, I think you're correct in that something is calling print on a largish data structure (possibly due to "loops" like Thomas points out), and due to the recursive nature of print you're running out of stack space. The JVM (hotspot anyway) will by default only keep the top 1024 stack

Re: Insane stack trace with no reference to my code

2016-09-27 Thread Colin Yates
Thanks Thomas. The NREPL is a red herring as that is a printout from my local machine - the production error doesn't reference any REPLs - I should have stated that. Unfortunately I can't get it from production as it is a very locked down environment (no copy and paste, no internet connection

Re: [ANN] data-scope - tools for interactively inspecting and visualizing data

2016-09-27 Thread James Sofra
Hi Alistair, yeah we could do that. Logan has asked me to talk about it at MFUG but I plan to demo it at clj-melb too. On Tuesday, September 27, 2016 at 11:27:11 AM UTC+10, Alistair Roche wrote: > > Hey James, > > Any chance you'd demo it at clj-melb ? > I'll

Insane stack trace with no reference to my code

2016-09-27 Thread Colin Yates
Hi all, I have a problem that has been hounding me for a while but has increased in frequency. Basically, something goes wrong with my code and I get a mother of all stack traces, but my code isn't referenced in it anywhere. My gut is telling me it is to do with schema validation - when that

Re: Saving / Loading a Datascript DB

2016-09-27 Thread Christopher Small
This should be pretty easy. You can use `datascript.core/datoms` to produce a sequence of datoms which you serialize as EDN, CSV or (gasp) JSON. For reading back in, you can use `datascript.core/conn-from-datoms`. Chris On Monday, September 26, 2016 at 5:15:16 AM UTC-7, Wukong Sun wrote: > >