2019
A (mostly) comprehensive guide to calling C from Scheme and vice versa. #scheme
Trying out the nice indent-guides features in Doom Emacs. This is quite an enhancement for Python coding! #emacs
A Daily Journal in Org Mode. #emacs
Racket: Lisp for learning. See also Racket-on-Chez Status: January 2019. #racket
Unit testing C code with gtest. Lot of other nice posts, unfortunately like Chris Done website I cannot find any RSS feed to subscribe to.
You’ll be fighting the compiler to the end as long as you have writes to uint8_t arrays in your core loops. — Incrementing vectors.
Why Haskell is important. #haskell
Apprently, the TAB key of my built-in keyboard started to screw up seriously. Not a bid deal since I’m using an external keyword at my offcie, but in order to anticipate any definitive failure, I remapped my right option key to TAB. Not a bad deal after all, since I never use this modification key. Now, for switching between app, I can simply use my two hands: left for ⌘ and right for ⌥ .
Not sure I deserve a medal this morning, but at least I reached the point where Emacs told me my code looks like a giant mess in a Git repo.
So, after a bit of googling, I’m now reading How I Lint My Python, although Emacs does it all for free.
I have been using my bluetooth Magick Keyboard at my office since 3 weeks now, and it’s kinda difficult to write on the Macbook built-in keyboard right now. Or I may just be tired. Anyway, to reiterate what I was saying last year, this is definitely a very good keyboard.
Advanced NLP with Spacy. If only there were more than 24 hours a day… #python
Why I like Clojure. Note that the site was built using Hakyll ;-)
Early in the morning, I decided to reformat my old notes from various formats (RST, MD, TXT) to Org. It took me more than two hours to make things look like they weren’t writtent in 2005 on Linux!
Very happy to see than Tony Rossini is going to have a new homepage. #emacs
#rstats
Lisp people: What’s your go-to language for when you want to write a quick script. I for one do most of my scripting stuff using Bash, sed/awk, and Python. However, it looks like some folks tend to rely on Clojure, various flavours of Scheme, CL, or even Perl 6 (but why?).
Tutorial on vega-lite and Haskell. #haskell
Handouts with exercises on scientific computing using Python, feat. some introduction to BioPython. #python
TIL about https://dotfiles.github.io, the unofficial guide to dotfiles on GitHub.
The good things in a community site come from people more than technology; it’s mainly in the prevention of bad things that technology comes into play. Technology certainly can enhance discussion. Nested comments do, for example. But I’d rather use a site with primitive features and smart, nice users than a more advanced one whose users were idiots or trolls. — Paul Graham, What I’ve learned from Hacker News
Tree traversal without recursion: the tree as a state machine.
Lovely. https://leon-kim.com/
eBay’s TSV Utilities: Command line tools for large, tabular data files. Filtering, statistics, sampling, joins and more.
Population genetics notes, from the the Coop Lab. #bioinformatics
Random Forests, Decision Trees, and Categorical Predictors: The “Absent Levels” Problem (PDF).
This problem occurs whenever there is an indeterminacy over how to handle an observation that has reached a categorical split which was determined when the observation in question’s level was absent during training.
TL;DR No feature engineering heuristics seem to really help mitigate this kind problem.
Old times good times: A Brief Timeline of the History of Blogging. Although I came late to the party (around 2006), I remember all those emerging blogs from the 2000s, I mean, before the advent of social networks. Then came Twitter, Blogger and Tumblr.
Want some training or refresh your TeX memory? https://texnique.xyz
Well, I finally updated my config for Doom Emacs, which now relies on straight to manage all packages. The first upgrade was quite buggy, but once I figured out I could just delete my current .emacs.d
and start from scratch again, I got a working install in a few minutes. Beware that the process of downloading and configuring all packages is quite long. You will also likely need to update your autoloads, e.g., doom refresh -f
. Also, if you have a problem rebuilding the pdf-tools viewer, eval this before running pdf-tools-install
: (setenv "PKG_CONFIG_PATH" "/usr/local/lib/pkgconfig:/usr/local/Cellar/libffi/3.2.1/lib/pkgconfig")
. #emacs
Live in your terminal, they said. Let’s start with ASCIIGenome and VisiData.
pastel: A command-line tool to generate, analyze, convert and manipulate colors. (Not yet merged into Homebrew core.)
Variational Bayesian phylogenetic inference. #bioinformatics
Best Practices for Using Functional Programming in Python. #python
Monads for functional programming (PDF, 31 pp.).
Yesterday, I noticed a nice tweet by John Cook through one of his many accounts:
Objects are data with functions. Closures are functions with data.
— Computer Science (@CompSciFact) August 27, 2019
Here is a more detailed version of the above: Function vs Object.
A clean and minimalist theme for Jekyll: moving. It might provide a very nice template for GH pages.
Vectorization and parallelization in Python: Nice wrap-up of available solutions. The joblib
module is really a must-have. #python
Sadly, a large number of blogs I used to follow some years ago are definitely down, e.g., wrathematics hasn’t posted for years.