You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
blogcontent/blog/content/posts/tk-block.md

2.5 KiB

title date tags
TK Block 2022-08-23T21:46:40-07:00 [meta]

I just added a process to my blog deployment pipeline to block the deployment of any blogs that contain the characters "TK".

Why

"TK" is a printing and journalism reference indicating that more content is "To Come" (the mismatching initialism is intentional, since very few English words contain the letters "TK"1 - so a search for those characters is very unlikely to turn up a false positive).

One use of this is as a "placeholder", when you know roughly what will go in a given place in a written work, but don't have the references or inclination to fill it out entirely. By just chucking "TK - a swordfight" or "TK - analysis of European GDP" in place, you can keep up your momentum by moving on to the parts that you do feel ready to write right now2, and return to fill out the TKs once more-appealing options have been exhausted.

In the traditional publishing world, an Editor would be responsible for the final pass over the work to make sure all TKs have been caught before sending the content out to readers. In the thrilling world of the future where we have taught sand to think by blasting it with lightning, we can automate that process! Look at the changes to .drone.yml in the commit that introduced this blog post to see how.

What about alerting?

Watch this space. I want the original commit to only include the .drone.yml update and minimal blog post, to check it works. I'll post a follow-up with description of alerting (via Matrix) next.

If you're seeing this, then congratulations, you caught the blog post before it was meant to be published. But wait...this whole blog post was about how we'd now made that impossible, right? That's right! TK! TK!

Wait, but...this blog contains the characters TK?

I know! See if you can figure it out :)

$ cat /usr/share/dict/words | wc -l
  235886
$ cat /usr/share/dict/words | grep -i 'tk' | wc -l
      40
$ echo "100*40/235886" | bc -l
.01695734380166690689

So, about 0.017% of common English words contain those characters. Some stand-outs include "boatkeeper", "giantkind", and "outknave".


  1. Alright, you know I couldn't resist checking:

  2. Though, see also George's thoughts on Being Creative Uphill and How To Write When You Can't