<?xml version="1.0" encoding="utf-8"?><feed xmlns="http://www.w3.org/2005/Atom" ><generator uri="https://jekyllrb.com/" version="4.4.1">Jekyll</generator><link href="https://knightcodes.com/feed.xml" rel="self" type="application/atom+xml" /><link href="https://knightcodes.com/" rel="alternate" type="text/html" /><updated>2026-11-02T12:29:18-06:00</updated><id>https://knightcodes.com/feed.xml</id><title type="html">Knight Codes</title><subtitle>Chris Knight&apos;s developer blog</subtitle><author><name>Chris Knight</name></author><entry><title type="html">TTS That Doesn’t Suck</title><link href="https://knightcodes.com/2026/11/02/tts-that-doesnt-suck/" rel="alternate" type="text/html" title="TTS That Doesn’t Suck" /><published>2026-11-02T00:00:00-06:00</published><updated>2026-11-02T00:00:00-06:00</updated><id>https://knightcodes.com/2026/11/02/tts-that-doesnt-suck</id><content type="html" xml:base="https://knightcodes.com/2026/11/02/tts-that-doesnt-suck/"><![CDATA[<p>I utilize text-to-speech (TTS) when AI needs input from me or when it notifies me that it is done with something. I am not going to spend the time reading its output if I can avoid it. What am I, an animal? All the AI harnesses allow you to hook into events you care about and perform actions. I have it make announcements to me when it makes sense.</p>

<h2 id="tts-makes-my-ears-bleed">TTS makes my ears bleed<a href="#tts-makes-my-ears-bleed" class="heading-anchor" aria-hidden="true" tabindex="-1">#</a><a href="#tts-makes-my-ears-bleed" class="heading-anchor" aria-hidden="true" tabindex="-1">#</a></h2>

<p>However, one downside of these announcements is that the default TTS voices that are used make me want to kill myself. They give me <a href="https://en.wikipedia.org/wiki/BonziBuddy">BonziBuddy</a> flashbacks from the 90s. Of course it was great fun to make BonziBuddy say expletives to you and your idiot friends when your parents weren’t around, but when you have AI making announcements dozens of times a day, it becomes <em>grating</em>. Fortunately, where there is an unnecessary and frivolous feature request, an even more needless solution is available!</p>

<h2 id="kokoro-to-the-rescue">Kokoro to the rescue<a href="#kokoro-to-the-rescue" class="heading-anchor" aria-hidden="true" tabindex="-1">#</a><a href="#kokoro-to-the-rescue" class="heading-anchor" aria-hidden="true" tabindex="-1">#</a></h2>

<p>Fortunately, <a href="https://huggingface.co/hexgrad/Kokoro-82M">Kokoro</a> offers a small TTS model that sounds much more natural and less like a monkey from Silence of the Lambs (it is also free, requires no signup, and runs locally). It comes with more than 50 voices to choose from across several languages. I use <a href="https://github.com/thewh1teagle/kokoro-onnx"><code class="language-plaintext highlighter-rouge">kokoro-onnx</code></a> , which runs the model with ONNX Runtime instead of PyTorch (basically a small install that doesn’t make you install a bunch of other nonsense). I don’t know how to set it up, and neither do you. Just prompt with something like this:</p>

<blockquote>
  <p>“With deference to my mental health, please switch all your TTS to utilize kokoro using kokoro-onnx”.</p>
</blockquote>

<p>That should take care of it.</p>

<h2 id="demos">Demos<a href="#demos" class="heading-anchor" aria-hidden="true" tabindex="-1">#</a><a href="#demos" class="heading-anchor" aria-hidden="true" tabindex="-1">#</a></h2>

<figure class="audio-clip">
  <figcaption>Default macOS <code class="language-plaintext highlighter-rouge">say</code></figcaption>
  <audio controls="" preload="metadata" src="/assets/audio/posts/tts-that-doesnt-suck/macos-say.m4a"></audio>
</figure>

<figure class="audio-clip">
  <figcaption>Kokoro (<code class="language-plaintext highlighter-rouge">kokoro-onnx</code>, <code class="language-plaintext highlighter-rouge">af_heart</code> voice)</figcaption>
  <audio controls="" preload="metadata" src="/assets/audio/posts/tts-that-doesnt-suck/kokoro.m4a"></audio>
</figure>]]></content><author><name>Chris Knight</name></author><category term="work" /><summary type="html"><![CDATA[Fire BonziBuddy. Hire Kokoro.]]></summary></entry><entry><title type="html">Stop Working</title><link href="https://knightcodes.com/2026/10/28/stop-working/" rel="alternate" type="text/html" title="Stop Working" /><published>2026-10-28T00:00:00-05:00</published><updated>2026-10-28T00:00:00-05:00</updated><id>https://knightcodes.com/2026/10/28/stop-working</id><content type="html" xml:base="https://knightcodes.com/2026/10/28/stop-working/"><![CDATA[<div class="callout callout-tip"><p class="callout-title">One and only caveat</p><p>I don’t know your work situation, but you do. It will be your task to put in the nuance you feel is necessary. Also, if you are a bad employee or lazy, this is not for you.</p>
</div>

<p>Unplugging from work is hard for ambitious and conscientious people. It has gotten really hard in this new <del>horrible</del> wonderful world we find ourselves living in. We can now get <em>stuff</em> done at all times (I will not use the word that starts with “A” and ends with “I” in this post). The act of unplugging from work is not something you need to apologize for, but it is also not going to happen by accident.</p>

<blockquote>
  <p>“Life moves pretty fast. If you don’t stop and look around once in a while, you could miss it.”</p>

  <p><cite>Ferris Bueller</cite></p>
</blockquote>

<p>You are not just a provider of goods, services, and value and a receiver of money and compliments. You are a complex and integrated ecosystem, and can be led to cause great harm to yourself and others if you are not handled appropriately. Here are my opinionated thoughts on how to unplug from work before your burn out.</p>

<nav class="toc" aria-label="Table of contents"><p class="toc-title">On this page</p><ul><li class="toc-h2"><a href="#decide-and-defend-your-hours">Decide and defend your hours</a></li><li class="toc-h2"><a href="#brick-your-phone">Brick your phone</a></li><li class="toc-h2"><a href="#use-your-vacation-days">Use your vacation days</a></li><li class="toc-h2"><a href="#hyperventilate">Hyperventilate</a></li><li class="toc-h2"><a href="#eat-lunch">Eat Lunch</a></li><li class="toc-h2"><a href="#have-a-screenless-hobby">Have a screenless hobby</a></li><li class="toc-h2"><a href="#schedule-dns-appointments">Schedule “DNS” Appointments</a></li><li class="toc-h2"><a href="#decline-meetings">Decline meetings</a></li><li class="toc-h2"><a href="#stop-listening-to-podcasts-and-videos-about-work-topics-after-work">Stop listening to podcasts and videos about work topics after work</a></li><li class="toc-h2"><a href="#stop-being-a-narcissist">Stop being a narcissist</a></li></ul></nav>
<h2 id="decide-and-defend-your-hours">Decide and defend your hours<a href="#decide-and-defend-your-hours" class="heading-anchor" aria-hidden="true" tabindex="-1">#</a><a href="#decide-and-defend-your-hours" class="heading-anchor" aria-hidden="true" tabindex="-1">#</a></h2>

<p>Pick a start time. Do not start work before it. Pick an end time. Do not continue working after it. Speed limits only matter if they are enforced.</p>

<h2 id="brick-your-phone">Brick your phone<a href="#brick-your-phone" class="heading-anchor" aria-hidden="true" tabindex="-1">#</a><a href="#brick-your-phone" class="heading-anchor" aria-hidden="true" tabindex="-1">#</a></h2>

<p>Buy a <a href="https://getbrick.com/">Brick</a>. Add a “mode” that includes <strong>all</strong> of your work apps. When you are <a href="#decide-and-defend-your-hours">done with work</a>, “brick” your phone. Do not “unbrick” until you <a href="#decide-and-defend-your-hours">start work</a> on the next work day. If it is a Friday, do not unbrick your phone until Monday morning. If you are on vacation, do not unbrick your phone until you start work on the day you said you’d be back.</p>

<h2 id="use-your-vacation-days">Use your vacation days<a href="#use-your-vacation-days" class="heading-anchor" aria-hidden="true" tabindex="-1">#</a><a href="#use-your-vacation-days" class="heading-anchor" aria-hidden="true" tabindex="-1">#</a></h2>

<p>Look at the last time you took PTO. If it has been more than 60 days, request PTO for within the next 30 days. Request more than one day too, don’t be a wimp.</p>

<h2 id="hyperventilate">Hyperventilate<a href="#hyperventilate" class="heading-anchor" aria-hidden="true" tabindex="-1">#</a><a href="#hyperventilate" class="heading-anchor" aria-hidden="true" tabindex="-1">#</a></h2>

<p>Book at least 30 minutes in your calendar for exercise 3 work days a week. Go for a run, do a CrossFit class, do 100 burpees. Do SOMETHING. You can’t think about Slack follow-ups while you are sprinting. Your brain and your body are connected, if one suffers they both suffer. Be sure to <a href="#brick-your-phone">brick your phone</a> and close your computer.</p>

<h2 id="eat-lunch">Eat Lunch<a href="#eat-lunch" class="heading-anchor" aria-hidden="true" tabindex="-1">#</a><a href="#eat-lunch" class="heading-anchor" aria-hidden="true" tabindex="-1">#</a></h2>

<p>Schedule at least 30 mins in your work calendar to eat lunch <strong>every day</strong>. While eating, <a href="#brick-your-phone">brick your phone</a> and close your computer.</p>

<h2 id="have-a-screenless-hobby">Have a screenless hobby<a href="#have-a-screenless-hobby" class="heading-anchor" aria-hidden="true" tabindex="-1">#</a><a href="#have-a-screenless-hobby" class="heading-anchor" aria-hidden="true" tabindex="-1">#</a></h2>

<p>You are on a screen all day at work. That is enough. It will be there tomorrow, I promise. Read a book, cook, play soccer. Get off your screens.</p>

<h2 id="schedule-dns-appointments">Schedule “DNS” Appointments<a href="#schedule-dns-appointments" class="heading-anchor" aria-hidden="true" tabindex="-1">#</a><a href="#schedule-dns-appointments" class="heading-anchor" aria-hidden="true" tabindex="-1">#</a></h2>

<p>For the first 30 minutes and last 30 minutes of your day, put a “DNS” appointment on your calendar. This stands for “Do Not Schedule”. The first 30 minutes you plan your day, the last 30 minutes you wrap up what you can and “put things on the tee” for tomorrow.</p>

<h2 id="decline-meetings">Decline meetings<a href="#decline-meetings" class="heading-anchor" aria-hidden="true" tabindex="-1">#</a><a href="#decline-meetings" class="heading-anchor" aria-hidden="true" tabindex="-1">#</a></h2>

<p>If someone schedules a meeting that is <a href="#decide-and-defend-your-hours">before/after your working hours</a> or conflicts with your <a href="#schedule-dns-appointments">DNS appointments</a>, <a href="#eat-lunch">lunch</a>, or <a href="#hyperventilate">workout</a>, decline the meeting. You are not available.</p>

<h2 id="stop-listening-to-podcasts-and-videos-about-work-topics-after-work">Stop listening to podcasts and videos about work topics after work<a href="#stop-listening-to-podcasts-and-videos-about-work-topics-after-work" class="heading-anchor" aria-hidden="true" tabindex="-1">#</a><a href="#stop-listening-to-podcasts-and-videos-about-work-topics-after-work" class="heading-anchor" aria-hidden="true" tabindex="-1">#</a></h2>

<p>Work is done. Stop working.</p>

<h2 id="stop-being-a-narcissist">Stop being a narcissist<a href="#stop-being-a-narcissist" class="heading-anchor" aria-hidden="true" tabindex="-1">#</a><a href="#stop-being-a-narcissist" class="heading-anchor" aria-hidden="true" tabindex="-1">#</a></h2>

<p>No one at work is thinking about you as much as you are. You’re not that important. I can promise that no one is lying in bed at night thinking about how quickly you respond to their Slack messages. If they are, forward them this post. They need help.</p>]]></content><author><name>Chris Knight</name></author><category term="work" /><summary type="html"><![CDATA[Opinionated thoughts on how to unplug]]></summary></entry></feed>