Occasionally when waking my laptop from sleep, wifi is disabled. It’s usually some kind of weird driver bug where the card refuses to reinitialize properly. In the past, I’ve just unloaded and reloaded the appropriate kernel module and that would cause it to load correctly.
However, this doesn’t seem to work on my laptop at work. Some googling found a page with the command “rfkill list all” which shows the list of devices on your computer that broadcast some kind of wireless signal (wifi or bluetooth). “rfkill unblock all” reenables all devices, which fixed my issue.
Lindy-hop and Balboa are two styles of swing dancing that I’ve been getting into over the past couple years, although admittedly I’ve spent more time on Balboa lately. One of the things that I’ve been noticing is that even though both dances are done to similar music (swing-era jazz), dancers tend to like certain songs for Balboa and other songs for Lindy. Common dancer wisdom says that faster songs are better for Balboa and slower ones for Lindy, but it seems like it should be more nuanced than that, since most dancers can also come up with slow songs that are great for Balboa or fast songs that get a Lindy dancer moving.
The jazz musician in me thought that there must be some characteristics of the music that could predict which dance is more appropriate for a given song. The programmer in me thought data might be able to give us some answers.
Continue reading “Can I dance Balboa to this song?”
Sometimes when playing through a song on the accordion, the next chord’s closest bass button is in the contrabass row. This makes playing a chord button with that bass note complicated, since the corresponding chord button for a given contrabass button is really far away.
Using the power of music theory (haha), I worked out some contrabass + chord button combos and drew up a chart for myself to practice with. If you combine any of the colored buttons in the chart with “b” in the contrabass row, you’ll get the chord in the legend.
I’ve been transcribing jazz again lately. I found a pretty cool software project called “Play it slowly” that can play back audio more slowly. It’s also easy to set start and end points for it to loop, making it ideal for transcription.
Here’s my transcription of the first chorus of Bill Evans’ solo on My Romance (take 1) from Waltz for Debby (1962):
Edit: For reference, here’s a Youtube link to the audio at the start point of the solo
I’ve been having an issue where tmux keeps printing out “]112” to random places on my screen when logged into certain ssh servers. I’m still not entirely sure what the issue is, but I at least have a workaround now.
This post started me off on the right track. It looks like libtve has an issue where it doesn’t support OSC 112 (the reset cursor color character). I’m now working around this by using roxterm as my terminal emulator instead.
I always forget how to do this permanently, so now I’m blogging it so I’ll remember. There’s multiple ways to do it. You can change it in some Gnome setting or run “setxkbmap -option ctrl:swapcaps” in your .bashrc.
I like to edit my
/etc/default/keyboard conf file
sudo dpkg-reconfigure keyboard-configuration
Picked up a new laptop with an Intel 7265 wireless card that kept dropping connections. A quick google revealed that the driver has problems with wireless N. Disabling it seems to do the trick:
echo "options iwlwifi 11n_disable=8" | sudo tee -a /etc/modprobe.d/iwlwifi.conf