RMS is now taking care of Apple. Now, I can’t help but smile at the idea of this
picture where we see RMS carrying his laptop on his shoulder. Surely he wasn’t
listening to music on iTunes. Note too that the list of criticisms made of
Microsoft is much shorter (fair enough), but the same is true for Google who
only gets two dozzns of bad marks!
Don’t let tomorrow’s beauty stop you from performing continuous commits today.
How about generating figure name using MD5 hash? I’ve long been wondering how to
store unique file names for all documents that I happen to write from day to
day. The last few years, I decided to prefix all such file names using either
img- depending on the context (i.e., whether it has been generated by a
computer program or in the case it’s just an illustration grabed on the
internet), followed by a short but meaningful description, e.g.
img-emacs-screenshot.png. When it is a series of figures, I usually append an
index (“a”, “b”, …; or zero-padded numbers). Still I have lot of duplicates
file names on my HD. One way to circumvent this issue is to generate random
hash, or I believe so since we all have the
md5 utility on Un*x systems. Here we
current master ✗ 74db262 22h25m ✖ △ ◒ md5 -s "emacs-screenshot" MD5 ("emacs-screenshot") = 65c9ef7d939db96dd290adcf9597d65b
Small Sharp Software Tools. Together with Vince Buffalo’s Bioinformatics Data Skills, I believe this combo should provide the very best technical exposition to practical Unix. You may want to add Learning Unix for OS X if you’re interested in Mac-specific tools. (Disclaimer: I haven’t read Hogan’s book yet).
lsp backend for the Python layer in Spacemacs has so much improved over
time, and it is much more featured than the default
anaconda one. Pending minor
issues with mypy which complains about missing imports (this can be resolved
using a config file, as described here), everything works perfectly. Things are
going too fast for me with the develop branch of Spacemacs.
Learning Statistics with R. Looks like a nice intro to statistics with R. I
personally started with Peter Dalgaard’s Introductory Statistics with R, but no
doubt this should be a good start too (beware this tutorial relies on external
Exactement, comme dans une épicerie. Et il faut voir ce que cela donne avec le
Here is the best take I found on imperative vs. functionnal approach using Lisp.
TIL Better to use
partition rather than
split when you want to convert a ‘string’ to a ‘dict’ based on the first occurence of a specific delimiter (as in
.split(..., 1)). Note that unlike
split, the delimiter is kept and you probably don’t want to keep it.
Mathematical Recreations and Essays, by W. W. Rouse Ball. (Note that the PDF is nicely hyper-linked!)
Another common trick is to throw twenty cards on to a table in ten couples, and ask someone to select one couple. The cards are then taken up, and dealt out in a certain manner into four rows each containing five cards. If the rows which contain the given cards are indicated, the cards selected are known at once.
The value of owning more books than you can read. I have thousands of books in my home, many of which are more than 20 years old. From time to time it seems to me that’s all I have left. I’ve read them all except the last ones I bought. However, I can understand what it’s like to contemplate all that we still have to learn.
TIL. There’s a nice option when you edit Python code under Emacs which consists in sorting automagically all
import statement. In most cases, it works great, however there are some edge cases. E.g., it is common in Flask applications to have
import defined after initializing the app itself, because of cicular imports. Hopefully, it is possible to override the default settings and to add a local directory variable, as recommended on Spacemacs website (
SPC f v d).
Understanding how text generation works with deep learning and TensorFlow has been very helpful for me as I wrap my brain around these techniques more broadly. And that’s good, because exactly how practical of a skill is this, right?! I mean, who needs to generate new text from an existing corpus in their day job?
I forgot about OSF. Here is a nice read: A chill intro to causal inference via propensity scores. Not only do we have a 16 page-long PDF, but also the accompagnying source files! (via @george_berry)
Generating Uniformly Random points on a d-sphere and d-ball. (via @Atabey_Kaygun)
📖 Rezvani, Le magicien (Actes Sud, 2006)