Re: Using Deps/CLI for building mixed Clojure & Java projects

2020-04-02 Thread Alan Thompson
Since Kaocha already uses a short shell script to kick things off, I just added a manual Java compile step there. I saved the results in my Clojure template project: https://github.com/io-tupelo/clj-template I'll still take a closer look at badigeon in the future. It seems to have many

Re: HP Fortify Security Scanner and Clojure

2020-04-02 Thread 'Alex Miller' via Clojure
Most Clojure classes cannot be decompiled to Java (locals clearing is all over it and has no Java equivalent, just as one problem, there are others). Some people have tried this with Fortify and other bytecode oriented scanners but I don't know of anyone that's gotten any results that were

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

Re: Using Deps/CLI for building mixed Clojure & Java projects

2020-04-02 Thread Sean Corfield
And you might look at https://github.com/EwenG/badigeon (which is listed on that tools page) since it says it will "Compile java sources" according to the readme On Thu, Apr 2, 2020 at 2:30 PM Sean Corfield wrote: > You would need to write a Clojure script with a -main function that would >

Re: Using Deps/CLI for building mixed Clojure & Java projects

2020-04-02 Thread Sean Corfield
You would need to write a Clojure script with a -main function that would (somehow) compile Java source code according to whatever rules you wanted and then invoke it from the CLI (as an initial step to get the compiled class files onto the classpath that a subsequent CLI invocation could use).

Using Deps/CLI for building mixed Clojure & Java projects

2020-04-02 Thread Alan Thompson
I've seen this conversation: https://clojureverse.org/t/is-there-a-sales-pitch-for-switching-to-deps-edn-from-lein-in-2020/5367/15 which seems to say there is no existing way to combine Java & Clojure source code when building with deps/CLI. Is this correct? If so, what would be entailed in

Re: Conceptual difference between map and class

2020-04-02 Thread Dieter Van Eessen
Thanks alot for all the answers, still getting my head around the matter :) On Tuesday, March 31, 2020 at 10:41:02 AM UTC+2, Dieter Van Eessen wrote: > > Hello, > > I've got a clojure and a python piece of code. Both seem to create what > can be considered an instance of a class. Wherein lies

Deep Learning for Programmers book 0.16.0: new chapter on Multi-class classification and metrics

2020-04-02 Thread Dragan Djuric
Deep Learning for Programmers: An Interactive Tutorial with CUDA, OpenCL, DNNL, Java, and Clojure version 0.16.0 is available at https://aiprobook.com/deep-learning-for-programmers?release=1.16.0=cgroups Why? ++ Clojure! ++ For Programmers! + the only AI book that walks the walk + complete,