from wikipedia, imslp, and the Andreas Mayor translation of the Gerard Catalog (pages 106-159)
#!/usr/bin/env bash | |
# Solve the Spelling Bee (https://www.nytimes.com/puzzles/spelling-bee) | |
# Usage `./bee.sh ulroapn | more` where the first letter is the one in the middle | |
# Output: a list of valid dictionary words that contain the first letter and | |
# no letters that aren't on the list provided. | |
# Unfortunately the MacOS dictionary has words that aren't in the custom | |
# Spelling Bee dictionary, so you may find words listed that aren't accepted |
A listing of the videos that Banff Center posted on their Vimeo channel. Information about the artists is on the BISQC page here.
- Franz Joseph Haydn: String Quartet in D minor, Op. 76 No. 2 link
- Billy Childs: String Quartet No. 2, Awakening
The code behind https://quartetroulette.com. See more at https://quartetroulette.com/about/.
Built with GatsbyJS.
-
Go to Google Forms https://docs.google.com/forms/u/0/
-
Create new Form
-
-
Click Responses
Last night, I noticed on the Wigmore Hall YouTube channel the results of an International String Quartet Competition. This was strange, because although I was familiar with the trienniel Banff Competition I was unaware of this competition, which predates it. The Competition started in 1979 in Portsmouth (the Takács Quartet won), and moved to London in 1988. It only arrived at Wigmore Hall in 2010. So perhaps the 3 rebrands made me less aware of it.
From the Competition's wikipedia page I learned that
twelve [quartets] are selected to take part in the competition.
from collections import Counter | |
from string import ascii_lowercase as ALPHABET | |
import json | |
import matplotlib.pyplot as plt | |
import numpy as np | |
""" | |
For https://www.powerlanguage.co.uk/wordle/. | |
Read more here: https://www.nytimes.com/2022/01/03/technology/wordle-word-game-creator.html | |
""" |
# https://stackoverflow.com/questions/9245638/select-random-lines-from-a-file | |
cat /usr/share/dict/words | sort -R | head -10 $lines | |
# faster | |
gshuf -n 10 /usr/share/dict/words |
def hex_to_latex(c, name="name"): | |
""" Input: a hex color like "#B29155" ('#' is optional) | |
Output: \definecolor{name}{rgb}{0.70, 0.16, 0.57} | |
""" | |
if c.startswith("#"): | |
c = c[1:7] | |
r, g, b = [(int(c[ix:ix+2], base=16) / 255) for ix in range(0, 6, 2)] | |
return '\definecolor{%s}{rgb}{%1.2f, %1.2f, %1.2f}' % (name, r, g, b) |
# src: https://github.com/johnnychen94/SuperPixels.jl/blob/analyze/src/analyze.jl | |
function SLIC(img::AbstractArray{<:Colorant, 2}; kwargs...) | |
return SegmentedImage(img, _slic(Lab.(img); kwargs...)) | |
end | |
SLIC(img::AbstractArray{<:Number, 2}; kwargs...) = _slic(Gray.(img); kwargs...) |