Engrams

Author portret should have been here Author portret should have been here Edwin Wenink by Rits Joosten

Initializing nested lists correctly

If you want to initialize a list with a certain size in Python, you can use the following clean syntax: >>> arr = [None]*3 >>> arr [None, None, None] We can then fill the list with elements: >>> arr[1] = 1 >>> arr [None, 1, None] But watch what happens when we try to use the same syntax for declaring a 2D dynamic …

Read more

Regular expressions with optional starting or ending groups

Stemming and lemmatizing with sklearn vectorizers

Applying operations on grouped dataframes in Pandas

Zip is its own inverse

Flatten nested lists with a list comprehension

Wrong feature preprocessing is a source of train-test leakage

Masking with Boolean arrays in Numpy

Writing, not collecting

Site update: Breadcrumbs, taxonomies, paginators

Introducing the AI Ethics Tool Landscape

Mnemonic for closed-form Bayesian univariate inference with Gaussians


See archives for more ...

Digest

October 31, 2021 July 31, 2021 May 31, 2021 April 1, 2021 March 31, 2021 March 14, 2021


See all digests or my music statistics.

Micro

Brandolini's law

📖 https://en.wikipedia.org/wiki/Brandolini%27s_law

Brandolini’s law, also known as the bullshit asymmetry principle, is an internet adage that emphasizes the difficulty of debunking false, facetious, or otherwise misleading information: “The amount of energy needed to refute bullshit is an order of magnitude larger than is needed to produce it.”

See the micros for more ...


Latest comments

Q commented on /digest-2021-04 on Apr 30, 2021
Edwin replied to /42-Vim_Notetaking on Apr 22, 2021
Ritchie commented on /42-Vim_Notetaking on Apr 22, 2021
Edwin replied to /42-Vim_Notetaking on Apr 22, 2021
captain shambles commented on /42-Vim_Notetaking on Apr 22, 2021

Tags

about agre ai annotations arch automation autonomous vehicle bayes beautifulsoup bibliography bibtex big data blog book review boolean brid.gy cli coetzee comments community complexity courses ctags cyber death deepfake democracy derrida design pattern dictionary digest digital art digitalization diy docker efficiency email emergence encryption epub etc ethics example friendship function creep gaussian github google gpg hack hackaton healthcare heidegger hermeneutics holism hugo identity implication indieauth indieweb induction inference intimacy ir kobo lambda latex law linux literature logic machine learning machine morality map markdown math michel de montaigne microformats2 mle monte carlo morton music neomutt netlify nginx nlp note-taking now numpy object orientation observer ontology pagerank pandas pandoc paradox partner perceptron pgp phenomenology philosophy portrait privacy probability programming python ransomware raspberry pi recommender regex reve rice ricoeur russell security simulacrum sklearn south-africa spark ssh staticman strategy surveillance technocracy templating terrorism text editing theme theology tilde tmux vim war web scraping webmention.io website workflow writing zettelkasten
An IndieWeb Webring 🕸💍

Webmentions


Do you want to link a webmention to this page?
Provide the URL of your response for it to show up here.