- scupper - Wiktionary - (Britain) Thwart or destroy, especially something belonging or pertaining to another. (Seen on Coronavirus: UK still negotiating ‘difficult issues’ over delayed Wuhan evacuation – The Guardian)
- baleful - Wiktionary
- Portending evil; ominous.
- Miserable, wretched, distressed, suffering.
Tensorflow running eagerly TODO
What is the difference between setting
run_eagerly while compiling a tf.keras model vs setting it after compilation vs
Tensorflow Dataset API split to train/test
Splitting a tf Dataset is surprisingly hard. Best option isRead more...
Qutebrowser clear all finished downloads
Added this to
Change volume on different soundcardRead more...
project:myproject can be replaced by
Transformer & BERT ML article
NLP — BERT & Transformer - Jonathan Hui - Medium is probably the best explanation of the Transformer and BERT I’ve even seen.Read more...
Ambient sleeping pill
Ambient Sleeping Pill – Internet Radio for Sleep, Meditation & Relaxation is what it says it is. Background music is okay. “For sleep, meditation or study”. Nice alternative to brain.fmRead more...
@skipUnless Python unit testing
models/transformer_main_test.py at master · tensorflow/models uses a neat thing:Read more...
Python ModuleNotFoundError ‘requests’
requests one has to install
requests might already be installed.
Vim “Done” map/macro
The following inside the .vimrc moves the selected line to the end of the file and takes the cursor back:
map <C-d> dGp''
English / ML - ablation study/analysisRead more...
tf.math.count_nonzero() works for booleans, as in “number of True elements in tensor”
concat.sh to dtb
One thing which I continuously missed was a way to quickly search through all the files visually -
:Ag as fuzzy search is a really nice solution, but I still like the usual way.
So now the following was added:
Taskwarrior .zsh alias current sprint change
Changed zsh alias to
alias s='task s sprint.is:$SPRINT or sprint:c', it didn’t have the
.is before showing me 40, 41… for sprint 4 etc.
Intellij idea shortcut for closing tab
Ctrl+F4 closes the current tab, which is not too easy to type. But I set a nice shortcut
Ctrl-I which is not, action is “Close all unmodified”, it closes all the tabs I usually close manually - all internal TF stuffs that open when debugging and that I don’t want to change or edit (but breakpoints are okay, and they don’t seem to count as “modification”)
Python truthy and falsy
TIL that values considered true/false without being explicitly True/False have a name, and from python - What is Truthy and Falsy? How is it different from True and False? - Stack Overflow here’s a handy list of them:Read more...
Python type hinting
Allegedly one of the best tutorials to start with: Type hinting and annotations — Python for you and me 0.4.alpha1 documentation, link found here: A deep dive on Python type hints · Vicki Boykis. That blog in general is quite interesting, she’s the same person who wrote IT runs on Java 8 · Vicki Boykis.Read more...