Current Yaks - May 22, 2025
The Yak Stack I'm At
- Working on the final export for my color picker. I need to make a bunch of examples that all have the same format
- Decide to add a tool to my tools page that lets me send variables into a template and output multi-line results to generate the examples
- Build the interface and decide the best way to document it is to put in an example
-
Add example for the first line to to use a variable string like:
brown|fox|lazy|dog
to populate a template like:
The quick VAR1 VAR2 jumps over the VAR3 VAR4
and generate
The quick brown fox jumps over the lazy dog
- Need more strings of variables to make more lines. Decide to make lists from datasets that I can pull from
- Make lists of HTML colors and animals. Easy copy paste jobs from wikipedia. Move on to adjectives. Don't find a striaght wiki list to copy. Go looking for data
- Find wordset-dictionary which has nicely formatted data with lists of words
- Write a quick Rust script to extract the data into plain-text lists for diffent word types1
- Realize putting the lists on a website might be useful for other folks too
- Build the initial version of lists.alanwsmith.com and start going back up the stack (with a breif delay to write this post)
-- end of line --
Footnotes
There was a side-quest yak shave here where I got frustrated that Rust's formatter doesn't work with the new way of writing scripts I'm using.
That led me to this issue that's dealing with it. I pitched an idea for how to handle my issue and got a response that it should be fine.
So, eventually I'm gonna try to figure out how to update rustfmt. But, that's for another day.