aliquote.org

Latest micro-posts

You can also also view the full archives of micro-posts. Longer blog posts are available in the Articles section.

2023-04-06 11:13 #

Fast reference to common SRFI. Handy bookmark. #scheme

2023-04-06 10:24 #

TIL about ruff, for linting Python code. #python

2023-04-06 10:10 #

If you see a count: int, what kind of guarantee do you have that the count name is actually bound to an int object at runtime? — The different uses of Python type hints

No guarantee at all since Python’s type hints do not enforce type safety: “The Python runtime does not enforce function and variable type annotations.” However, the author makes a good point in exposing the different use cases of type hinting.

2023-04-04 11:36 #

The immediate future is easy to predict, because the same things that has been happening for years will continue to happen: Some of the exciting recent advances will be cancelled out by new compiler regressions due to fancy new compiler features. We users will create still deeper code stacks that racks up latency, even more so with Julia 1.9 now that latency has improved and we can “afford” to do so. — Julia’s latency: Past, present and future

2023-04-03 20:56 #

Trying out J!

» jconsole
   comb=: [:;(,.&.><@:>:@;\.)^:(i.@>:@-~`[`(1:<@i.@{.~<:@-,2:))
   2 comb 3
0 1
0 2
1 2

Reading answer like this makes me think I should have spent more times with J when I first discovered it years ago.

2023-04-03 10:24 #

♪ Avenged Sevenfold · So Far Away

2023-03-27 13:01 #

The Many Faces of an Undying Programming Language. An entertaining discussion of Lisp, Scheme(s), and other dialects. #lisp #scheme

2023-03-27 10:30 #

Deforming programs so they are ‘iterative’ in order that they do not run out of the stack we imagine to be so costly is ridiculous: if you have a program which is inherently recursive, let it be recursive. — The absurdity of stacks

2023-03-27 10:23 #

The LAPACK (Linear Algebra PACKage) online document browser is really nice. TIL there’s even a routine to perform QR factorization without pivoting to a real or complex matrix (related R package: QR).

2023-03-27 09:31 #

littler 0.3.18 on CRAN. It’s been a faithful and reliable alternative to Rscript for a long time now (17 years and counting). #rstats