You can also also view the full archives of micro-posts. Longer blog posts are available in the Articles section.
Euler problem 14 is all about Collatz numbers. I am aware of Atabey Kaygun’s posts, but I found a nice implementation in Scheme on SO today.
The temperatures are milder this week and yet I have 10/6 BP. Thanks for the medication! However, I should note that I am no longer stressed in the evening because of–you know–things to do urgently at the last minute. Because I no longer care, above all.
I’m all in LSP stuff at the moment, but maybe I should give it a try: An interface to communicate with Jupyter kernels. #emacs
Better Than Floating Point? on HN today. The comments are also full of extra links on FP computation.
C in four functions. See also Let’s Build a Compiler. #clang
Best way I found to mimic R’s rle function is this nice little piece of code (in Racket; credit to Chris Jester-Young):
(define (bagify lst)
(foldl (lambda (key ht)
(hash-update ht key add1 0))
#hash() lst))
Now, it’s probably time to go watch Taken (once again).