You can also also view the full archives of micro-posts. Longer blog posts are available in the Articles section.
Akku.scm: Package management made easy. #scheme
A New R6RS Scheme Compiler. #scheme
Streamlit: The fastest way to build custom ML tools. #python
What is Good About Haskell? #haskell
Oh I guess my remark became totally useless since lintr 2.0.0 came out on CRAN recently. I should note that old options are still valid, though, so I can keep the following in my init.el file:
(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
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
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
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”:
d[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