You can also also view the full archives of micro-posts. Longer blog posts are available in the Articles section.
I’ve long been ignorant of i3 scratchpad. Now that I use it, my music dispatcher looks much more comfortable.

Symbols vs. Strings (via Irreal). #lisp
Debugging with GDB. See also GDB dashboard. #clang
Every few years a new company says you should use their special format. You have to pay them a monthly fee to use it — or keep all of your documents in their care. They offer some convenience or features, but at the cost of flexibility, portability, and independence. — Write plain text files
jless — a command-line JSON viewer.
I thought I would write a short post to explain how to fetch genome data from NCBI the old way, but here’s the gist, assuming you want to fetch all bacterial genomes:
% wget ftp://ftp.ncbi.nih.gov/genomes/refseq/bacteria/assembly_summary.txt
% mkdir bacteria_refseq
% awk -F '\t' '{if($12=="Complete Genome") print $20}' assembly_summary.txt > assembly_summary_complete_genomes.txt
% for record in $(cat assembly_summary_complete_genomes.txt); \
do wget -P bacteria_refseq -e robots=off -r --no-parent -A "*genomic.fna.gz" "$record"/; done
Then wait, like me.