< a quantity that can be divided into another a whole number of time />

Micro posting in October

October 30, 2019

2019-10-01: Well, we need to balance the tutorials, so let's dive into Just Enough Emacs Lisp now. #emacs
2019-10-01: Learn vim For the Last Time: A Tutorial and Primer. #vim
2019-10-02: > Il écrit de la main droite. Dans le toorent, il a laissé pendre la gauche, massée et alanguie d'eau froide. Il est vigilant comme un pêcheur qui surveille son bouchon. Il veut tenter de rendre, de la pointe de la plume, les baisers de l'eau renouvelée qui lave elle-même son baiser. — Régine Detambel, Petit éloge de la peau
2019-10-02: I believe this the canonical way to filter in a Pandas data frame, say d, rows that contain or better, match exactly, the word “gene”:pythond[d["type"].str.match("gene", na=False)](The na=False option is just because there are some NaN values.)Now I understand why I prefer functional languages, and more specifically why I prefer to write and chain together simple functions in Python rather than implementing complex class with shadowed methods, setters and getters. #python
2019-10-02: I'm using ox-pandoc as my main engine to export Org documents to HTML or PDF. This is mostly because I know Pandoc better than the basic (Lua)Latex + Minted/lstlistings that I haven't used in years. Funny enough, the #+ATTR_LATEX is not recognized by Pandoc, but part of #+ATTR_HTML settings (e.g., :width 75% to resize image) are honored during the export. However, neither of the HTML or PDF output include the #+CAPTION: legend! #emacs` #org<br> <a href="#" style="text-decoration: none;">2019-10-03</a>: <a href="" class="iconfont icon-music" title="rss"></a> &nbsp; Banks, _Goddess_.<br> <a href="#" style="text-decoration: none;">2019-10-03</a>: Oh I guess [my remark]( became totally useless since lintr2.0.0 came out on CRAN recently. I should note that old options are still valid, though, so I can keep the following in myinit.el file:emacs-lisp(flycheck-lintr-linters"with_defaults(assignment_linter=NULL, camel_case_linter=NULL, commented_code_linter=NULL,absolute_paths_linter=NULL, line_length_linter(120))")Not that I am a big fan of camel case, but Bioconductor folks are apparently. #rstats #emacs<br> <a href="#" style="text-decoration: none;">2019-10-03</a>: [A New R6RS Scheme Compiler]( #scheme<br> <a href="#" style="text-decoration: none;">2019-10-03</a>: [Akku.scm]( Package management made easy. #scheme<br> <a href="#" style="text-decoration: none;">2019-10-03</a>: [Streamlit]( The fastest way to build custom ML tools. #python<br> <a href="#" style="text-decoration: none;">2019-10-03</a>: [What is Good About Haskell?]( #haskell<br> <a href="#" style="text-decoration: none;">2019-10-04</a>: <a href="" class="iconfont icon-music" title="rss"></a> &nbsp; Goldfrapp, _Tales of us_.<br> <a href="#" style="text-decoration: none;">2019-10-04</a>: > Your subconscious holds onto things it thinks you might be forgetting, and regularly interrupts you about them. (...) Never let tasks or ideas sit in your mind without being captured. --- Daniel Miessler, [The Most Important Productivity Lesson I Ever Learned](<br> <a href="#" style="text-decoration: none;">2019-10-04</a>: A bit of Clojure in Python thanks to the [itertools]( (islice) module:pythondef take(n, iterable):“Return first n items of the iterable as a list"return list(islice(iterable, n))def nth(iterable, n, default=None):“Returns the nth item or a default value"return next(islice(iterable, n, None), default)<br> <a href="#" style="text-decoration: none;">2019-10-04</a>: TIL (or better, releearned) about [mpv](, a free, open source, and cross-platform media player.<br> <a href="#" style="text-decoration: none;">2019-10-04</a>: [Coding Matrices, Contrast Matrices and Linear Models]( (PDF). #rstats<br> <a href="#" style="text-decoration: none;">2019-10-04</a>: [How do dark patterns work?](<br> <a href="#" style="text-decoration: none;">2019-10-04</a>: [Start Concurrent: A Gentle Introduction to Concurrent Programming](<br> <a href="#" style="text-decoration: none;">2019-10-07</a>: <a href="" class="iconfont icon-music" title="rss"></a> &nbsp; Brad Mehldau, _After Bach_.<br> <a href="#" style="text-decoration: none;">2019-10-07</a>: I believe this is what happened when you forget to add Matomo tracking code in your new partial templates.<br>![](/img/2019-10-07-15-00-23.png)<br> <a href="#" style="text-decoration: none;">2019-10-07</a>: I can't believe I have that many Homebrew packages on my HD. It's probably time to do some cleanup in my /usr/local.<br>![](/img/2019-10-07-11-46-59.png)<br> <a href="#" style="text-decoration: none;">2019-10-07</a>: I love when brilliant persons can also ask [thoughful question]( on Stack Exchange.<br> <a href="#" style="text-decoration: none;">2019-10-07</a>: If you like reading about others' setup, _Uses This_ has a nice interview with [Chris Wellons]( Apparently, there's also a [quick review]( on Irreal. And so I learned that he now mostly uses [Vim]( and he also has a [live CD]( in case he find himself away from his home computer.<br> <a href="#" style="text-decoration: none;">2019-10-07</a>: Kind of magic.<br>![](/img/2019-09-16-11-54-25.png)<br> <a href="#" style="text-decoration: none;">2019-10-07</a>: Ouch, it hurts! [Dear Stack Exchange, Inc.](> We’d like to make sure it’s clear that none of us support interacting with people with anything short of complete respect. As moderators, we are responsible for upholding, promoting, and respecting the high standards that Stack Exchange has set over the years, and we stand behind Stack Exchange in its move to ensure everyone feels welcome and safe.<br> <a href="#" style="text-decoration: none;">2019-10-07</a>: [Introduction to Theoretical Computer Science](, by Boaz Barak.<br> <a href="#" style="text-decoration: none;">2019-10-07</a>: [Worth Moving to Sweden as Engineers?](<br> <a href="#" style="text-decoration: none;">2019-10-08</a>: > The reality is half of data science is just cleaning data, and the other half is complaining about how much of data science is just cleaning data. You can add another half's worth of time for debugging your neural net, if you were coaxed into using one that isn't off-the-shelf. --- [R is a joy if you treat it like awk](<br> <a href="#" style="text-decoration: none;">2019-10-08</a>: Another great app by Jens Axel Søgaard: [Racket Stories]( #racket<br> <a href="#" style="text-decoration: none;">2019-10-08</a>: I finally got my Bitbucket account back. Just so I could delete the dozens of repositories I maintained over the years there. This is a very bad user experience since I cannot delete my account and don't have any clue, even after reading the docs and the commnunity wiki. I guess I now have to contact the support center.<br> <a href="#" style="text-decoration: none;">2019-10-08</a>: I started watching [Euphoria](<>) yesterday evening. It's been a long since I haven't watched a TV show alone. And the pilot was quite good actually.<br> <a href="#" style="text-decoration: none;">2019-10-08</a>: MacOS Catalina is out, apparently. What's up now? Should I stay or should I come and see what they made to iTunes? And wasn't Twitter removed together with all other social media stuff, or?> The Twitter for Mac app takes full advantage of the native Mac features like multiple windows, drag and drop, keyboard shortcuts, and more.<br> <a href="#" style="text-decoration: none;">2019-10-08</a>: Starting early so I'll be sure I can listen to all of this while learning about computational biology.<a href="/img/2019-10-08-10-50-01.png"><br>![](/img/2019-10-08-10-50-01.png)</a><br> <a href="#" style="text-decoration: none;">2019-10-08</a>: TIL about [RacketScript](, an experimental lightweight Racket to JavaScript compiler. #racket<br> <a href="#" style="text-decoration: none;">2019-10-08</a>: TIL there's something like the [X, Y and Z]( generations.<br> <a href="#" style="text-decoration: none;">2019-10-08</a>: Well, I find it weird that Apple products are [more expensive in France]( Conversely, I experienced a lot of trouble with taxes when buying Stata books from the US. Anyway, I no longer can afford any Apple product by myself, so I guess I'll have to keep my finger crossed in hoping that my current Macbook will last a few more years. #apple<br> <a href="#" style="text-decoration: none;">2019-10-08</a>: [Let's go](!<br>![](/img/2019-10-08-12-29-52.png)<br> <a href="#" style="text-decoration: none;">2019-10-14</a>: After upgrading Ubuntu and R on the server at work, I'm now looking for an optimal Mac->Linux iTerm+Tmux+ssh thing. I'm close. In the meantime, I found this: [My remote shell session setup](, but I believe moshis not the [recommended way]( anymore. And I know I definitely need to re-read [this]( again.<br> <a href="#" style="text-decoration: none;">2019-10-14</a>: [Apple of 2019 is the Linux of 2000](<br> <a href="#" style="text-decoration: none;">2019-10-15</a>: From [Programming Praxis]( There are many algorithms for recognizing anagrams. Here is an unusual one:> Assign each character to a prime number, then map a string to the corresponding primes, and compute their product. Two strings are anagrams only if they share a product.<br> <a href="#" style="text-decoration: none;">2019-10-15</a>: Today on HN: [What’s New In Python 3.8]( and [The Unix game](<br> <a href="#" style="text-decoration: none;">2019-10-16</a>: <a href="" class="iconfont icon-music" title="rss"></a> &nbsp; Wolfert Brederode Quartet, _Post Scriptum_.<br> <a href="#" style="text-decoration: none;">2019-10-16</a>: > A functional language is a programming language made up of functions. --- Doug Hoyte, [Let Over Lambda](<br> <a href="#" style="text-decoration: none;">2019-10-16</a>: > Plain text can certainly have a reputation for looking lazy or cheap, but I feel this is mostly perpetuated in the design and marketing communities. I can assure you that your average day-to-day users are much less opinionated about your email campaign design than you are. Look to satisfy your customers’ needs before your own. --- [Plain Text Emails, Please](<br> <a href="#" style="text-decoration: none;">2019-10-16</a>: Browsing Apple [source code]( reminds me so much of plain old iWeb design. (I came revisiting this site after reading [Beating Decades Of Optimized C With 80 Lines Of Haskell](<br> <a href="#" style="text-decoration: none;">2019-10-16</a>: From [Job Losses from Automation Are Being Actively Engineered and Funded](, by Daniel Miessler:> Because humans are so static, and the types of things we need on a customer service call are so similar, the AI Customer Service Agent problem is similar to attacks against cryptography. Once you get a foothold, the attacks predictably get better, and they never get worse.<br> <a href="#" style="text-decoration: none;">2019-10-16</a>: Nicely done: Visualize the execution of different algorithms for solving the [traveling salesman problem](<br> <a href="#" style="text-decoration: none;">2019-10-16</a>: One-to-one Tmux session reinvented: please [assist](<br> <a href="#" style="text-decoration: none;">2019-10-16</a>: What a beautiful [Emacs for writers](! #emacs<br>![](/img/emacs-mauforonda.png)<br> <a href="#" style="text-decoration: none;">2019-10-16</a>: [Beautiful Quicksort in Common Lisp]( #lisp #haskell<br> <a href="#" style="text-decoration: none;">2019-10-16</a>: [Moving to zsh]( I've been diving with Zsh long before it became the _de facto_ shell on macOS, and I just moved again, this time for [Fish](/post/fish-shell). However, there's always something nice to learn from Scripting OS X, so I'll keep this in my bookmarks, especially since I still use zsh occasionally (because of Emacs multi-term which doesn't seem to like Fish very much). Thorsten Ball has a nice [init file](, btw.<br> <a href="#" style="text-decoration: none;">2019-10-17</a>: <a href="" class="iconfont icon-music" title="rss"></a> &nbsp; The March Violets, _The Botanic Verses_.<br> <a href="#" style="text-decoration: none;">2019-10-17</a>: So it appears that ZghOT0eRm4U9s:p/q2-q4! is a [chess move]( (and also the password of Ken Thompson from the good old Unix days). I'd be foolish to remember that kind of thing, but it's definitely a strong password!<br>![](/img/2019-10-17-11-20-30.png)<br> <a href="#" style="text-decoration: none;">2019-10-18</a>: <a href="" class="iconfont icon-music" title="rss"></a> &nbsp; Lambchop, _Live At XX Merge_.<br> <a href="#" style="text-decoration: none;">2019-10-18</a>: <a href="" class="iconfont icon-music" title="rss"></a> &nbsp; Tindersticks, _Tindersticks_.<br> <a href="#" style="text-decoration: none;">2019-10-18</a>: > There is a secret that needs to be understood in order to write good software documentation: there isn’t one thing called documentation, there are four. --- [What nobody tells you about documentation](<br> <a href="#" style="text-decoration: none;">2019-10-18</a>: I don't remember the last time I used foldin a Terminal --- this is not thefoldyou may find in various functional PL, but one that can be very useful for [counting characters]( in a file.<br> <a href="#" style="text-decoration: none;">2019-10-18</a>: That's how it looks after you trashed thousand of professional emails that are no longer relevant in your mailbox:<br>![](/img/2019-10-18-15-04-11.png)<br> <a href="#" style="text-decoration: none;">2019-10-18</a>: [Is Python really faster than C++?]( #bioinformatics<br> <a href="#" style="text-decoration: none;">2019-10-28</a>: > Now Google wants to back out of its end of the deal. Since they are by far the dominant email provider, they apparently started thinking that they could squeeze a few more dollars out of those poor souls still using it. Of course, they’ll still be scanning your emails and collecting your data but now you’ll have to pay them to do it. --- [When Gmail Isn’t Free](<br> <a href="#" style="text-decoration: none;">2019-10-28</a>: > The most compelling reason for most people to buy a computer for the home will be to link it into a nationwide communications network. [Steve Jobs]( what we call now social networks.<br> <a href="#" style="text-decoration: none;">2019-10-28</a>: I'm not a big fan of serif everywhere on a webpage, but there are definitely interesting other features in this [org-specific CSS design]( #org<br> <a href="#" style="text-decoration: none;">2019-10-28</a>: [Introduction to Adversarial Machine Learning](<br> <a href="#" style="text-decoration: none;">2019-10-28</a>: [Mac OS Catalina: more trouble than it’s worth]( #apple> What I want from a new version of an operating system, especially one as mature as Mac OS, is that it fixes or improves what was not working well in previous versions, and that it leaves tried-and-true features and functionalities as untouched as technically possible. I don’t need and I don’t want disruption for disruption’s sake on a yearly basis. While I understand that today’s tech motto is The show must go on, that also doesn’t have to mean that the show should get painful to watch.<br> <a href="#" style="text-decoration: none;">2019-10-28</a>: [Mathematics for Machine Learning](<br> <a href="#" style="text-decoration: none;">2019-10-28</a>: 10 PRINT CHR$(205.5+RND(1)); : GOTO 10` — (via HN)
2019-10-29:   Wolfert Brederode Quartet, Post Scriptum.
2019-10-29: > We’re easier to please. Good is good enough. So only those who are the most upset, and know how to improve things, do the hard work necessary to make things great. The dissatisfied ones go make things better for all of us. — Why experts are annoying
2019-10-29: Nice utility to inspect a Git repo: onefetch. This is built with Rust, but the building stage didn't work for me, and there's currently no binary release for Mac.
2019-10-29: Myers Diff Algorithm - Code & Interactive Visualization. See also An Introduction To Data Science On The Linux Command Line by the same author.
2019-10-29: Text Editing Hates You Too.


See Also

» Micro-posting in September » Micro-posting in August » Micro-posting in July » Micro-posting in June » Micro-posting in May