Breathing into the belly
Permutations of rhythm #
Knowing permutations is very useful in making music. I realised this working through a chapter of the DAoM Music book.
Regex in VS Code #
Pressing Cmd-Shift-F, search for term, the count of words is displayed in the sidebar.
>>> find . -type f -name "*.rb" -print0 | while read -d '' -r file; do echo "$file"; done
Return to previously open directory in bash #
I inadvertently exited the current open directory, and wondered how to move back to it, and cd -
does it:
πͺ content % cd blog
πͺ blog % cd
πͺ ~ % cd -
πͺ ~/PROJECTS/musical-data-blog/content/blog
πͺ blog %
alg #
Processing large datasets stored locally on a specific machine.
Code golf iterative-binary-search
logistic regression #
Adding weights to one side of a coin is similar to what Logistic Regression does!
Very cool, we can flip a biased coin in Python ππ:
import numpy as np
# Set the bias of the coin (probability of heads)
bias = 0.7
# Generate a single biased coin flip
flip = np.random.choice([0, 1], p=[1-bias, bias])
print(flip)
After learning some event algebra, I understand event
in Logistic Regression!
sigmoid function
GIFs are awesome to watch, while listening to dub:
~ banana peels smoked π:
Effects of Cannabis (Marijuana) on the Brain and Body - podcast episode on the Huberman Lab
lo-fi multi llm system #
I built a "lo-fi" multi computer agent system:
- Previous: Shelter from the storm
- Next: Sorting algorithms in vision