- Query = [kwee ree]
- Paradigm = [pa ruh daim] or American [peh ruh daim]
- “something” was more effective than “anything” – 90%. “Anything” and using no word was 53%.
- “any” sounds “closing”.
- “speak” is better than “talk”
- How to control cell width in pandoc/markdown table? - Stack Overflow TL;dr number of dashes.
- How can I install asciiquarium as a screensaver? - Unix & Linux Stack Exchange
- alock looks very interesting, TODO look into it.
- bash - How to delete files older than X hours - Stack Overflow
find $LOCATION -name $REQUIRED_FILES -type f -mtime +1 -deletefor files older than one day
find $LOCATION -name $REQUIRED_FILES -type f -mmin +360 -deletefor the same in minutes
- executable - run program in Python shell - Stack Overflow
>>> exec(open("C:\\test.py").read())for Python 3, and
>>> execfile('C:\\test.py')for Python 2. Works with relative path.
ML/Tensorflow logits meaning
Logits are the inputs to the softmax function:
the vector of raw (non-normalized) predictions that a classification model generates, which is ordinarily then passed to a normalization function. If the model is solving a multi-class classification problem, logits typically become an input to the softmax function. The softmax function then generates a vector of (normalized) probabilities with one value for each possible class.
apt-get purge and zsh
zsh does its own wildcard stuff, and
apt-get purge nvidia* doesn’t work because of this.
apt-get purge nvidia\* does (or with ‘’s). Same story as with scp, I’m surprised I keep having issues with this.
Google has nice animations for this!
Most of this while I’m reading the “Attention is all you need” paper. The most important resources will be The Illustrated Transformer – Jay Alammar – Visualizing machine learning one concept at a time and 9.3. Transformer — Dive into Deep Learning 0.7 documentation.Read more...
Pyplot / matplotlib creating multiple subplotsRead more...
Python redirect stdout/output to file
This is really really neat!Read more...
Unpack Java jars
Apparently java files are archives! Laut Extracting the Contents of a JAR File (The Java™ Tutorials > Deployment > Packaging Programs in JAR Files) it’s
jar xf jar-file [archived-file(s) to extract].
Jekyll hide page from navigation
Out of all the ways I’ve found and described here, this is so far the cleanest one.Read more...
Work/play balance in i3 statusbar
Every productivity thought I’ve ever had, as concisely as possible - Alexey Guzey has been extremely inspiring. I added “work/play” to my statusbar, just for fun, with the following code to the statusbar wrapper script:Read more...
Bash kill running shell scriptRead more...
Markdown tables widths
Pandoc is freaking awesome.Read more...
scikit-learn vectorizer passing tokens
Asciiquarium as screensaver with alock
Pandas remove duplicates efficiently (using only a subset of columns)