Re: Clojure Packaging Team BoF @DebConf - Aug 26 (Thu): 17:00 UTC (Online)

2021-08-25 Thread Chris Nuernberger
That is very cool!! On Wed, Aug 25, 2021, 6:01 PM Leandro Doctors wrote: > FYI > --Leandro > > *** > > Clojure Packaging Team BoF > Speaker: Elana Hashman > > Let’s gather the Debian Clojure community so we can find more > maintainers, discuss Clojure

Re: How to get a value of a var in Java

2021-06-18 Thread Chris Nuernberger
Vars extend IDeref so one way to get the value of a var is to call .deref on it: user> (def a) #'user/a user> (defn ab [] 1) #'user/ab user> (.deref (clojure.lang.RT/var "user" "a")) 2 user> (.deref (clojure.lang.RT/var "user" "ab")) #function[user/ab] On Fri, Jun 18, 2021 at 7:12 AM ru

Re: Routing for a non-web-app

2021-04-19 Thread Chris Nuernberger
For 'routing' specifically, if you want a more formal system we used state machines in the past and recently Clojure has a really nice additional possibility there - https://github.com/lucywang000/clj-statecharts. For general UI programming if you are using javafx then I really like cljfx -

[ANN] - libpython-clj2 beta 1

2021-03-02 Thread Chris Nuernberger
Good morning Clojurians, We have an important new release of libpython-clj which brings support for JDK-16's [ffi interface](https://openjdk.java.net/jeps/191) and support for 32 bit systems. We built this on a brand new [ffi layer](

[ANN] Clojure High Performance Computing Library

2021-02-03 Thread Chris Nuernberger
Good Day Clojurians! I am very proud to announce cnuernber/dtype-next {:mvn/version "6.00"} . This major rewrite of our Clojure high performance computing library targeting higher performance, wider platform support, and reduced code footprint.dtype-next

Re: Calling Native C-code from Clojure

2020-12-05 Thread Chris Nuernberger
You are most welcome :-). For numerical computation, libjulia-clj may interest you :-). On Sat, Dec 5, 2020 at 8:06 AM John Doe wrote: > Thank you Chris. It's very helpful. > > The approach you took for dtype-next is very interesting. This library is

Re: Calling Native C-code from Clojure

2020-12-04 Thread Chris Nuernberger
Ngwua, Looking through the caesium bindings just mentioned, it appears the author dynamically creates an interface and then you can simply ask the native library to instantiate a concrete implementation of that interface .

Clojure integration with JuliaLang

2020-12-01 Thread Chris Nuernberger
Good afternoon/morning Clojurians, Over the thanksgiving weekend I finished up enough of a library for calling Julia from Clojure to start talking about it publicly. Julia sits kind of at the pinnacle of the numerics stack. It is a generalized very high performance language specifically

Re: Clojure as first language

2020-09-28 Thread Chris Nuernberger
Oh, well then I don't see what you are waiting for :-). Here are some interesting and more stats-focused libraries that may be interesting to you - * kixi stats - Clojury statistics - written by Henry Gardner, the author of the aforementioned Clojure For

Re: Clojure as first language

2020-09-28 Thread Chris Nuernberger
There are hybrid options available in the form of https://github.com/clj-python/libpython-clj -- I am one of the primary authors of this tool. One pathway perhaps is to use clojure to do your scraping and orchestration (and frontend display) and just use python from command line scripts to do

[ANN] - tech.ml.dataset upgrades + memory map arrow blogpost

2020-08-12 Thread Chris Nuernberger
We have been busy here working with our little dataset library and I wanted to talk about some of the upgrades that I think are important/interesting. We have first class support of Apache Arrow now which means I took the time to actually understand, byte-by-byte, the binary on-disk format. I

Re: [ANN] tech.ml.dataset - 2.0

2020-06-15 Thread Chris Nuernberger
> > > On Monday, June 15, 2020 at 5:50:52 PM UTC+1, Chris Nuernberger wrote: >> >> Good morning Clojurians :-) >> >> It is with much pride that I announce version 2.0 of tech.ml.dataset >> <https://github.com/techascent/tech.ml.dataset>, our libra

[ANN] tech.ml.dataset - 2.0

2020-06-15 Thread Chris Nuernberger
Good morning Clojurians :-) It is with much pride that I announce version 2.0 of tech.ml.dataset , our library that maps powerful concepts from libraries like Pandas and data.table into Clojure using functional paradigms. This data frame

[ANN] - libpython-clj news

2020-02-11 Thread Chris Nuernberger
Good morning Clojurians from snowy Boulder, CO - libpython-clj has been undergoing quite a bit of development. There is now extensible datafy/nav support for python modules and classes. We have much better (but still imperfect) environment support. We have a clj-template so you can use Sean

Re: interp2 for Clojure

2020-01-14 Thread Chris Nuernberger
Hey Charles, Maybe check out the apache commons-math3 interpolators: https://commons.apache.org/proper/commons-math/javadocs/api-3.6/org/apache/commons/math3/analysis/interpolation/package-summary.html On Tue, Jan 14, 2020 at 11:04 AM Charles Harvey III < charlesnhar...@gmail.com> wrote: >

Re: Can't use my macro in fuction definition

2019-10-19 Thread Chris Nuernberger
Hey Ru, Renaming x to anything will result in roughly the same error in your function. The problem is that your instance macro needs to know the classname at compile time. As x is a runtime variable, the compiler cannot see the literal value of x at compile time. Put another way, in your test

[ANN] Blog post about Clojure and Python Interop

2019-07-29 Thread Chris Nuernberger
We published a blog post about one specific but important tactic I used when writing libpython-clj in order to allow python to call clojure functions. I don't think this is necessary knowledge to use panthera or libpython-clj but it is a key piece to building a new binding to a C system elsewhere

Re: Clojure is a good choice for Big Data? Which clojure/Hadoop work to use?

2019-07-04 Thread Chris Nuernberger
Thad, You approach seems very promising to me for a lot of jobs. Spark runs on top of many things. As far as a clojure layer on top, what do you think about sparkling ? On Thu, Jul 4, 2019 at 8:43 AM Thad Guidry wrote: > "Batch" - doing things in

Re: Java Interop on steroids?

2019-07-03 Thread Chris Nuernberger
d the ability for > clients to specify generic type parameter values and serialization support > (the mechanics of which would need ironing out but I think should be > possible.) > > And to your point about types not known at runtime... this proxy would > support that use case on-the-

Re: Java Interop on steroids?

2019-07-02 Thread Chris Nuernberger
. It may be then important to be able to override Object methods but maybe you already can with gen-class. On Tue, Jul 2, 2019 at 7:24 PM Chris Nuernberger wrote: > eglue, > > 1. I think this is a great idea if it is really necessary. I would be in > favor of a reify++ alone to simplif

Re: Java Interop on steroids?

2019-07-02 Thread Chris Nuernberger
eglue, 1. I think this is a great idea if it is really necessary. I would be in favor of a reify++ alone to simplify things. I find reify amazing at code compression and heavily use it via type specific macros to implement interfaces that for instance support a particular primitive type. 2.

Re: Java Interop on steroids?

2019-06-22 Thread Chris Nuernberger
oundary. > > On Fri, Jun 21, 2019 at 16:40, Chris Nuernberger > wrote: > >> Sean, >> >> That is an interesting blog post. Sorry if I am not following everything >> but why not use the annotation support in gen-class for those types of >> things? >&

Re: Java Interop on steroids?

2019-06-21 Thread Chris Nuernberger
Sean, That is an interesting blog post. Sorry if I am not following everything but why not use the annotation support in gen-class for those types of things? https://github.com/clojure/clojure/blob/8af7e9a92570eb28c58b15481ae9c271d891c028/test/clojure/test_clojure/genclass/examples.clj#L34

[ANN] cpython bindings for clojure

2019-06-05 Thread Chris Nuernberger
Good morning Clojurians, About 2 months ago during a talk about the tech.ml systems the point was made that if we could load the python C libraries then that would provide us with a lot more libraries to draw from. In addition, I seem to remember one of the ML talks a concern about lack of

Re: Go block starvation issue

2019-04-13 Thread Chris Nuernberger
some requests and drop others, keep running. > > I don't think the thread pool is used anywhere else. I could only find > reference of clojure.core.async.impl.dispatch (who stores the pool) in go, > take and put. > > I think the timed-go will help, gonna try it. > > Em

Re: Go block starvation issue

2019-04-12 Thread Chris Nuernberger
Given the nature of the problem I would wonder why the cpu usage is high. restQL seems to be mostly a passthrough entity completely dependent upon IO so there may be something spinning or a pmap somewhere there should not be. - jstacktrace may offer insight here. If nothing is out of whack in

[ANN] General ML and ETL libraries

2019-02-27 Thread Chris Nuernberger
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 intention to allow the average clojurist to do high quality machine learning of the type they are

Re: avoiding casts with aget & friends

2019-01-30 Thread Chris Nuernberger
That is why I used 'unchecked-long' instead of 'long'. (unchecked-long (unchecked-byte 5)) Not (long (byte 5)) On Wed, Jan 30, 2019, 5:55 PM Brian Craft I haven't tried much. I'm getting the java via clj-java-decompiler.core > 'decompile' macro. > > A long cast does drop the cast (which is

Re: avoiding casts with aget & friends

2019-01-30 Thread Chris Nuernberger
does doing an unchecked cast of the return value of the aget on the byte array change things? (defn test-fn [] (let [obj-ary (object-array 10) byte-data (byte-array (range 10))] (doseq [idx (range 10)] (let [idx (int idx)] (aget

Re: [ANN] metasoarous/oz 1.5.1 - clojure dataviz updates (jupyter notebooks, markdown extensions, and static export, oh my!)

2019-01-23 Thread Chris Nuernberger
Great improvements Christopher! The markdown and Jupyter support are exactly the direction I was hoping for and we really appreciate the work. On Wed, Jan 23, 2019 at 1:26 AM Christopher Small wrote: > > Greetings > > > I'm excited to announce the release of oz 1.5.1. > >

Re: Any way to replace function body?

2019-01-19 Thread Chris Nuernberger
There has to be. Trace, profile, and debugging libraries for clojure do it all the time. I might check the source for some of those. On Sat, Jan 19, 2019 at 9:06 AM jason poage wrote: > Why would you want to overwrite a function if you need reference to the > original function? Why not just

Re: using durable-queue, works locally, get :time-out when moving to an EC2

2019-01-16 Thread Chris Nuernberger
Are you using aot? We have used that durable queue with 1.8. In fact, we have a compatibility later that allows you to move from the durable queue to an Aws queue: (mostly undocumented) https://github.com/techascent/tech.queue Is the problem possibly a difference between your compilation

ANN - tech.resource

2018-12-31 Thread Chris Nuernberger
Clojurians - I hope your holidays are going well! We took the time to explain in some detail a small library that has been extremely useful since the days of cortex: blog post: http://techascent.com/blog/generalized-resource-management.html Library:

Re: [ANN] deps.edn dependency viewer

2018-12-20 Thread Chris Nuernberger
Newest version - Supports Leiningen and TADA: 1. Now there is an sh script. You can just install this and use it anywhere - no plugins, no muss, no fuss. 2. More graph manipulation options - highlight, prune, focus, remove. 3. Leiningen is supported along with profiles. That being said, I am

[ANN] deps.edn dependency viewer

2018-12-18 Thread Chris Nuernberger
Clojurians-1.10.0: I recently released a small project that allows you to view the entire dependency graph of your deps.edn files. You can do this from the command line without installing anything or adding anything to your project. https://github.com/cnuernber/depsviz To do this, I had to

Re: [ANN] Clojure 1.10.0-beta8

2018-11-21 Thread Chris Nuernberger
Agreed, specifically to avoid things like this: https://github.com/tech-ascent/tech.compute/blob/master/src/tech/compute/cpu/tensor_math.clj#L45 Great timing and we will be looking forward to it! On Wed, Nov 21, 2018 at 11:09 AM Sean Corfield wrote: > This makes me smile… My first reaction to

[ANN] High Performance Numerics Compiler

2018-11-12 Thread Chris Nuernberger
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 currently getting state of the art performance several deep learning kernels and I demonstrate it

clojure contrib build failure on win7

2011-05-17 Thread chris nuernberger
Hey all, I am running a fairly new win7-64 system (jdk6-64) and the maven build of clojure contrib fails due to test failures in at least logging. Do you want stack traces and debug logs and such? Chris -- A foolish consistency is the hobgoblin of little minds - Emerson -- You received this