Loom - Fibers, Continuations and Tail-Calls for the JVM

I am excited about Project Loom. The project focuses on easy to use lightweight concurrency for the JavaVM. Nowadays, the JavaVM provides a one java thread to one OS thread model to the programmer. While it’s actually the current Oracle implementation, it used to be that many JavaVM versions ago, threads provided to the programmer were actually green threads. Project Loom goes down that road again, providing lightweight threads to the programmer.

Tokyo Stock Exchange Jquants API

The just out of beta jquants-api propose sets of daily financial data from over 4000 listed companies on the Tokyo Stock Exchange. Currently, the sets of data that can be accessed via the API are: Listed Issue Information Stock Price Information Market Information with more to come in the near future. While current historical data is only available starting from 2017 users are encouraged to provide feedback to the API via usual github (etc.

Embed IcCube

Building up on the previous iccube tutorial, here are a few key extensions to reporting. First how to extract data from a command line client written Get data using CLI (or Java) String url, user, password, file; public static void main (String... args) throws Exception { Connection connection = DriverManager.getConnection(url, user, password); OlapConnection olapConnection = connection.unwrap(OlapConnection.class); runMDX(file, olapConnection); if (watch) { try { watch(file, olapConnection); } catch (InterruptedException e) { throw new RuntimeException(e); } } olapConnection.

Clojure for Machine Learning

Modrzyk, N. (2019). Clojure. In: Sakr, S., Zomaya, A.Y. (eds) Encyclopedia of Big Data Technologies. Springer, Cham. https://doi.org/10.1007/978-3-319-77525-8_302 By the same sane community that gives us tablecloth, comes a full blown Machine Learning library named the scicloj. Explaining the details of the whole library or machine learning in general being beyond the scope of this article, we will instead present how the reader can put into action a KNN, K Nearest Neighbor algorithm to guess quotes retrieved from the previously presented JQuants API.

ClojureScript [Autumn 2022 Remix]

This has been re-published on dzone Realtime React Coding in ClojureScript I love ClojureScript. The language, the look, the feeling when I type the code to make my React components with it, makes me stay up all night. It actually did yesterday when I try to pick up on a friend setup and get back a modern environment to do my coding. Let’s walk through the first few steps to get to a setup with a React counter in ClojureScript, all this with live code reloading from VSCode.

Finding Red Circles in an Image

With the OpenCV setup done before, it is now possible to go and actually use OpenCV for something practical. This is ported to Clojure from the following post, so please refer to it for the original write up. The goal is to highlight different intensity of red circles in a picture. The java imports when working with OpenCV are quite consistent between examples, so let’s add them along with the namespace definition.