105 points · by Lisp-Stat · 4y ago · 55 comments
A minor detail about the site: on the Privacy page, the first paragraph is covered up by the site header.
https://github.com/incanter/incanter
It never took off but looks like there was modifications made up until three years ago.
Incidentally I also did an algo trading system in CL at some point (who didn't?). The sibling comment is spot on that outside of deep backend it's a self-reinforcing ecosystem with too much focus on auxiliary stuff if you have to re-implement it.
https://github.com/wzrdsappr/trading-core
I have been considering giving this code base a spin.
I do low-freq stat arb and it's modestly profitable. I just use IBKR's API, their snapshot data, and postgres. Nothing fancy.
Feel free to shoot me an email, it's in my profile.
Looks really nice, I'll be using this next time I need charts! I had been using a Rust crate which was really hard to use and plots were uglier than this library's.
I'd be stoked if this became widely adopted but community size seems to be a huge determinant of success with these types of languages.
So I can easily imagine packages like this becoming widely adopted /within/ the Lisp community.
For example, within Lisp-Stat the statistics routines [1] were written by an econometrician working for the Austrian government (Julia folks might know him - Tamas Papp). It would not be exaggerating to say his job depending on it. These are state of the art, high performance algorithms, equal to anything available in R or Python. So, if you're doing econometrics, or something related, everything you need is already there in the tin.
For machine learning, there's CLML [2], developed by NTT. This is the largest telco in Japan, equivalent to ATT in the USA. As well, there is MGL [3], used to win the Higgs Boson challenge a few years back. Both actively maintained.
For linear algebra, MagicCL was mention elsewhere in the thread. My favourite is MGL-MAT [4], also by the author of MGL. This supports both BLAS and CUBLAS (CUDA for GPUs) for solutions.
Finally, there's the XLISP-STAT archive [5]. Prior to Luke Tierney, the author of XLISP-Stat joining the core R team, XLISP-STAT was the dominate statistical computing platform. There's heaps of stuff in the archive, most at least as good as what's in base R, that could be ported to Lisp-Stat.
Common Lisp is a viable platform for statistics and machine learning. It isn't (yet) quite as well organised as R or Python, but it's all there.
[1] https://github.com/Lisp-Stat/numerical-utilities/blob/master...
[2] https://github.com/mmaul/clml
[3] https://github.com/melisgl/mgl
https://github.com/CodyReichert/awesome-cl#machine-learning
https://github.com/CodyReichert/awesome-cl#numerical-and-sci...
Exactly. Especially those who want to dabble with lisp by playing with familiar problems and applications. I find it much more instructive to play with linear regression code in a new language than with, say, a game development engine, because I have a pretty good idea about the strengths and quirks of `lm` in R.
Your solution is to clone the repository into ~/quicklisp/local-projects/.
Another one would be to use the Ultralisp distribution, that ships every five minutes. https://ultralisp.org/
(ql-dist:install-dist "http://dist.ultralisp.org/" :prompt nil)
and now you could quickload plot/vega, except we must ask the author to add it, it takes a couple mouse clicks.
I am going to keep an eye on this project because I would really like to be able to work on this. Hopefully updates in a month or so will get things in sync.
That's a new file to help with the auto generated API documentation and it's possible one was missed at checkin.
Vindarel has correctly identified the main problem though, Quicklisp hasn't yet picked up the new files.
debugger invoked on a QUICKLISP-CLIENT:SYSTEM-NOT-FOUND in thread #<THREAD "main thread" RUNNING {1004BF80A3}>: System "plot/vega" not found
We've banned this account and some others. If you stick to one account and submit your own stuff as part of a mix of unrelated things, and don't overdo it, that would be ok.
The account singaporecode and a few other related accounts really look dubious. They are promoting a few websites created by the same author: https://hn.algolia.com/?query=ashok%20khanna&type=all
The comments by singaporecode where they say "I should sponsor the guide’s author" (when the author is himself/herself/themselves) and "I found online" (where they published it themselves) are clearly deceptive self-promotions of https://ashok-khanna.medium.com/ and https://github.com/ashok-khanna but do notice that they are unrelated to Lisp-Stat.