2019-03-17 08:37 #

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! #apple

2019-03-16 09:07 #

Commit Often, Perfect Later, Publish Once. This reminds me of Stack Overflow motto circa 2010 (“Vote early, vote often”). Anyway, this recommended best practices with Git are very well done.

Don’t let tomorrow’s beauty stop you from performing continuous commits today.

2019-03-16 08:34 #

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 fig- or 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 go:

current master ✗ 74db262 22h25m ✖ △ ◒  md5 -s "emacs-screenshot"
MD5 ("emacs-screenshot") = 65c9ef7d939db96dd290adcf9597d65b
2019-03-16 08:09 #

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).

2019-03-15 20:38 #

Time to watch The Expanse, Season 2, now.

2019-03-15 20:35 #

The 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. #emacs

2019-03-15 16:43 #

A (very) short intro to Constraints: Nice visual explanation à la idyll. (via @JohnSelstad)

2019-03-15 06:22 #

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 packages). #rstats

2019-03-14 21:43 #

  Timber Timbre, Creep On Creepin’On.

2019-03-14 20:59 #

  Timber Timbre, Sincerely, Future Pollution.

2019-03-13 21:45 #

HN on the spotlight: Spotify to Apple and Google and DuckDuckGo.

2019-03-13 21:43 #

Exactement, comme dans une épicerie. Et il faut voir ce que cela donne avec le bétail dedans… #fr

2019-03-13 08:14 #

MacJournal 7 is now free. I will stay by Org for managing my text files, but it’s good to know anyway. (via Jack Baty)

2019-03-12 21:40 #

Here is the best take I found on imperative vs. functionnal approach using Lisp. #lisp

2019-03-12 21:36 #

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. #python

2019-03-12 21:18 #

  Peter Erskine, Palle Danielsson & John Taylor, As It Was.

2019-03-12 18:25 #

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.

2019-03-11 20:30 #

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.

2019-03-11 19:38 #

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). #emacs

2019-03-11 19:31 #

  Tindersticks, Tindersticks.

2019-03-11 14:12 #

Sadly, there’s not such a steady flow on Pragmatic Emacs. #emacs

2019-03-10 20:49 #

  Robyn, Indestructible.

2019-03-10 19:16 #

Lovely work by @aschinchon! There’s more to see on his blog, e.g. Mandalaxies.

2019-03-10 19:10 #

I wish I had read this nice post on Travis-CI, by Julia Silge, before I struggle myself with Travis and R. Unrelated but also interesting post: Tensorflow, Jane Austen, and Text Generation. #rstats

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?

2019-03-10 19:03 #

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)

2019-03-10 19:00 #

Generating Uniformly Random points on a d-sphere and d-ball. (via @Atabey_Kaygun)

2019-03-10 12:48 #

Today’s lunch:

2019-03-10 11:43 #

📖 Rezvani, Le magicien (Actes Sud, 2006)

2019-03-09 20:37 #

  Factory Records.

2019-03-07 20:24 #

Clearly, I’m not that active in the early afternoon. Either because of the lunch break or the half-life of my medication… Anyway, Timing is the best time tracking app I’ve seen in a while.