<?xml version="1.0" encoding="utf-8"?><feed xmlns="http://www.w3.org/2005/Atom" ><generator uri="https://jekyllrb.com/" version="3.8.7">Jekyll</generator><link href="/feed.xml" rel="self" type="application/atom+xml" /><link href="/" rel="alternate" type="text/html" /><updated>2026-03-17T05:36:19+00:00</updated><id>/feed.xml</id><title type="html">Stimmtausch - a MU* client</title><subtitle>Stimmtausch is a client for connecting for MU* servers for the command line written in Go.</subtitle><entry><title type="html">Whoa!</title><link href="/2024/02/17/whoa/" rel="alternate" type="text/html" title="Whoa!" /><published>2024-02-17T00:00:00+00:00</published><updated>2024-02-17T00:00:00+00:00</updated><id>/2024/02/17/whoa</id><content type="html" xml:base="/2024/02/17/whoa/">&lt;p&gt;Hello hello! I am still alive! And it’s my hope that this project is starting to wake up from hibernation. I just burnt out hardcore and needed to step away from dev, but since I need capitalism to continue being an alive person in the world, I figure I ought to get back to it.&lt;/p&gt;

&lt;p&gt;Here are a few small updates:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;&lt;code class=&quot;highlighter-rouge&quot;&gt;stimmtausch.client.ui.max_width&lt;/code&gt; setting added to restrict the maximum width (currently only of the output) to aid in reading.&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;https://muck.post-self.com&quot;&gt;Post-Self MUCK&lt;/a&gt; added, with some unique features supported (TinyMUX works well with newlines in actions and such, so a ZWNJ character used as a marker for the end of such, allowing actions to be taken on multi-line output).&lt;/li&gt;
  &lt;li&gt;Keepalive reduced to 1 minute from 15, because some connections decay after 5 minutes.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;I’m hoping to get back on some of the features and bugs in the software to make it a bit more robust! I hope you’re doing wellllll.&lt;/p&gt;</content><author><name>Maddy</name></author><summary type="html">In which Maddy tries to un-burnout.</summary></entry><entry><title type="html">Removing worlds! And a bug!</title><link href="/2020/09/13/remove/" rel="alternate" type="text/html" title="Removing worlds! And a bug!" /><published>2020-09-13T00:00:00+00:00</published><updated>2020-09-13T00:00:00+00:00</updated><id>/2020/09/13/remove</id><content type="html" xml:base="/2020/09/13/remove/">&lt;p&gt;Well well well. Maddy said she was gonna write. Like…maybe some flash fiction, or start another project or something! But here she is, pushing code to Stimmtausch instead.&lt;/p&gt;

&lt;p&gt;Now you can remove a world with &lt;code class=&quot;highlighter-rouge&quot;&gt;/remove&lt;/code&gt;. This is mostly for if you have a stale, disconnected world in your session that you don’t want there anymore. You &lt;em&gt;can&lt;/em&gt; remove worlds that are connected, but since there’s no way to reattach them, the use-cases are minimal for now. That might change in the future.&lt;/p&gt;

&lt;p&gt;Also, a bug was introduced in the work to let you add more than one line, wherein an extra space would be added to the buffer and you’d get an error from the MUCK for silly reasons. This is now prevented.&lt;/p&gt;

&lt;p&gt;All this work is on edge in the Snap Store now!&lt;/p&gt;</content><author><name>Maddy</name></author><summary type="html">In which Maddy says she's going to write and then works on st instead.</summary></entry><entry><title type="html">Character counts ahoy!</title><link href="/2020/08/21/charcount/" rel="alternate" type="text/html" title="Character counts ahoy!" /><published>2020-08-21T00:00:00+00:00</published><updated>2020-08-21T00:00:00+00:00</updated><id>/2020/08/21/charcount</id><content type="html" xml:base="/2020/08/21/charcount/">&lt;script id=&quot;asciicast-etrki2gwV9hTvm8HnT3UOz9vv&quot; src=&quot;https://asciinema.org/a/etrki2gwV9hTvm8HnT3UOz9vv.js&quot; data-cols=&quot;112&quot; async=&quot;&quot;&gt;&lt;/script&gt;

&lt;p&gt;Lookie there! Now you can see how much you’ve typed and whether or not you’re going over your buffer! Not only that, but you can now enter more than one line at a time!&lt;/p&gt;

&lt;p&gt;There are a few additional fixes to go along with this, such as some hardened work around stopping errors and an improved error display mechanism (anything from &lt;code class=&quot;highlighter-rouge&quot;&gt;WARNING&lt;/code&gt; and above gets shown to the user in a modal). There’s still a bit of work to go before this all gets promoted to Beta, but you can preview these changes in the &lt;code class=&quot;highlighter-rouge&quot;&gt;edge&lt;/code&gt; channel on the snap with:&lt;/p&gt;

&lt;div class=&quot;highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;snap install stimmtausch --channel=edge
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;Or, if you already have it installed:&lt;/p&gt;

&lt;div class=&quot;highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;snap refresh stimmtausch --channel=edge
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;</content><author><name>Maddy</name></author><summary type="html">In which Maddy helps our buffer-busting friends.</summary></entry><entry><title type="html">Stimmtausch 0.0.4</title><link href="/2020/06/07/stimmtausch-0.0.4/" rel="alternate" type="text/html" title="Stimmtausch 0.0.4" /><published>2020-06-07T00:00:00+00:00</published><updated>2020-06-07T00:00:00+00:00</updated><id>/2020/06/07/stimmtausch-0.0.4</id><content type="html" xml:base="/2020/06/07/stimmtausch-0.0.4/">&lt;p&gt;Woo wow hi yay!&lt;/p&gt;

&lt;p&gt;Was running into some writers block (though patrons will get some poems in a bit!), so I’ve been doing some work on Stimmtausch. Have accomplished the following:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Removed the reliance on &lt;code class=&quot;highlighter-rouge&quot;&gt;/etc&lt;/code&gt; for global log files, meaning that a binary of the app can just be downloaded and run lickity split.&lt;/li&gt;
  &lt;li&gt;Triggers such as hilites and gags can now be world-specific&lt;/li&gt;
  &lt;li&gt;Help is now shown in a modal overlay, which is nice.&lt;/li&gt;
  &lt;li&gt;Keybindings for worldswitching: &lt;code class=&quot;highlighter-rouge&quot;&gt;Esc+&amp;lt;arrows&amp;gt;&lt;/code&gt; rotates (equiv to &lt;code class=&quot;highlighter-rouge&quot;&gt;/&amp;gt;&lt;/code&gt; and &lt;code class=&quot;highlighter-rouge&quot;&gt;/&amp;lt;&lt;/code&gt;), and &lt;code class=&quot;highlighter-rouge&quot;&gt;Ctrl+&amp;lt;square brackets&amp;gt;&lt;/code&gt; rotates to the next world with new activity (equiv to the new &lt;code class=&quot;highlighter-rouge&quot;&gt;/]&lt;/code&gt; and &lt;code class=&quot;highlighter-rouge&quot;&gt;/[&lt;/code&gt;)&lt;/li&gt;
  &lt;li&gt;A few bugfixes: (&lt;code class=&quot;highlighter-rouge&quot;&gt;/connect&lt;/code&gt; without a world no longer crashes, &lt;code class=&quot;highlighter-rouge&quot;&gt;/help&lt;/code&gt; while not connected no longer crashes, connecting to a disconnected world while not active does not cause world switching problems)&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;These are all released on the snap store in the &lt;code class=&quot;highlighter-rouge&quot;&gt;edge&lt;/code&gt; and &lt;code class=&quot;highlighter-rouge&quot;&gt;beta&lt;/code&gt; channels as 0.0.4rev1. Pushing is way easier now that there’s an automatic override in place. There was a bit of confusion as the wrong branch was being built in the snap, but hey, that’s fixed!&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;/assets/2020-06-07.png&quot;&gt;&lt;img src=&quot;/assets/2020-06-07.png&quot; alt=&quot;help!&quot; /&gt;&lt;/a&gt;&lt;/p&gt;</content><author><name></name></author><summary type="html">In which Maddy gets writers' block and works on software instead.</summary></entry><entry><title type="html">Snipper snap</title><link href="/2020/05/20/snap/" rel="alternate" type="text/html" title="Snipper snap" /><published>2020-05-20T00:00:00+00:00</published><updated>2020-05-20T00:00:00+00:00</updated><id>/2020/05/20/snap</id><content type="html" xml:base="/2020/05/20/snap/">&lt;p&gt;Weow! .debs are hard!&lt;/p&gt;

&lt;p&gt;Thankfully, snaps are pretty easy, so I’ve moved to releasing Stimmtausch via the snap store. The cool parts of this are that not only do I not have to go through the horrific process of packaging a .deb (seriously, what the hell, &lt;code class=&quot;highlighter-rouge&quot;&gt;dh_golang&lt;/code&gt;?), but I can release individual fixes as they land in the &lt;code class=&quot;highlighter-rouge&quot;&gt;edge&lt;/code&gt; channel, so you can get much faster updates as branches land, or you can stick with the &lt;code class=&quot;highlighter-rouge&quot;&gt;beta&lt;/code&gt; or &lt;code class=&quot;highlighter-rouge&quot;&gt;stable&lt;/code&gt; channels as they come up (when they come up).&lt;/p&gt;

&lt;p&gt;All you need to do to install &lt;code class=&quot;highlighter-rouge&quot;&gt;stimmtausch&lt;/code&gt; now is run&lt;/p&gt;

&lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;&lt;span class=&quot;nb&quot;&gt;sudo &lt;/span&gt;snap &lt;span class=&quot;nb&quot;&gt;install&lt;/span&gt; &lt;span class=&quot;nt&quot;&gt;--channel&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;edge stimmtausch
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;This took a little bit of bureaucracy, as snaps have some very fine-grained security policies. This is fine-grained enough that one has to specify the ability to access hidden files and directories down to the path.&lt;/p&gt;

&lt;p&gt;As it stood before, Stimmtausch used four hidden files and folders, three of which required changes:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;&lt;code class=&quot;highlighter-rouge&quot;&gt;~/.config/stimmtausch&lt;/code&gt; — no changes&lt;/li&gt;
  &lt;li&gt;&lt;code class=&quot;highlighter-rouge&quot;&gt;~/.strc&lt;/code&gt; — this has been removed. Please move this file to &lt;code class=&quot;highlighter-rouge&quot;&gt;~/.config/stimmtausch&lt;/code&gt;. Stimmtausch looks for files named &lt;code class=&quot;highlighter-rouge&quot;&gt;*.st.*&lt;/code&gt;, so maybe something like &lt;code class=&quot;highlighter-rouge&quot;&gt;~/.config/stimmtausch/base.st.yaml&lt;/code&gt;&lt;/li&gt;
  &lt;li&gt;&lt;code class=&quot;highlighter-rouge&quot;&gt;~/.local/log/stimmtausch&lt;/code&gt; — now moved to &lt;code class=&quot;highlighter-rouge&quot;&gt;~/snap/stimmtausch/common/logs&lt;/code&gt;&lt;/li&gt;
  &lt;li&gt;&lt;code class=&quot;highlighter-rouge&quot;&gt;~/.local/share/stimmtausch&lt;/code&gt; — now moved to &lt;code class=&quot;highlighter-rouge&quot;&gt;~/snap/stimmtausch/common/worlds&lt;/code&gt; (for anyone using &lt;a href=&quot;https://github.com/makyo/stimmtausch.vim&quot;&gt;stimmtausch.vim&lt;/a&gt;, which I think is Just Maddy™, this is where you’ll put your config variables)&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Please note that this &lt;em&gt;only&lt;/em&gt; applies to a snap install. If you are using the install from source or are still planning on using the .deb — and maybe I’ll take another stab at that — you will continue to use the &lt;code class=&quot;highlighter-rouge&quot;&gt;.local&lt;/code&gt; directory. Here is the logic:&lt;/p&gt;

&lt;div class=&quot;language-go highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;&lt;span class=&quot;n&quot;&gt;HomeDir&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;n&quot;&gt;err&lt;/span&gt; &lt;span class=&quot;o&quot;&gt;:=&lt;/span&gt; &lt;span class=&quot;n&quot;&gt;homedir&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;Dir&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;()&lt;/span&gt;
&lt;span class=&quot;k&quot;&gt;if&lt;/span&gt; &lt;span class=&quot;n&quot;&gt;err&lt;/span&gt; &lt;span class=&quot;o&quot;&gt;!=&lt;/span&gt; &lt;span class=&quot;no&quot;&gt;nil&lt;/span&gt; &lt;span class=&quot;p&quot;&gt;{&lt;/span&gt;
    &lt;span class=&quot;nb&quot;&gt;panic&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;fmt&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;Sprintf&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;s&quot;&gt;&quot;could not find home dir: %v&quot;&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;n&quot;&gt;err&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;))&lt;/span&gt;
&lt;span class=&quot;p&quot;&gt;}&lt;/span&gt;
&lt;span class=&quot;n&quot;&gt;startDir&lt;/span&gt; &lt;span class=&quot;o&quot;&gt;:=&lt;/span&gt; &lt;span class=&quot;n&quot;&gt;os&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;Getenv&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;s&quot;&gt;&quot;SNAP_USER_COMMON&quot;&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;)&lt;/span&gt;
&lt;span class=&quot;k&quot;&gt;if&lt;/span&gt; &lt;span class=&quot;n&quot;&gt;startDir&lt;/span&gt; &lt;span class=&quot;o&quot;&gt;==&lt;/span&gt; &lt;span class=&quot;s&quot;&gt;&quot;&quot;&lt;/span&gt; &lt;span class=&quot;p&quot;&gt;{&lt;/span&gt;
    &lt;span class=&quot;n&quot;&gt;WorkingDir&lt;/span&gt; &lt;span class=&quot;o&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;n&quot;&gt;filepath&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;Join&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;HomeDir&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;s&quot;&gt;&quot;.local&quot;&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;s&quot;&gt;&quot;share&quot;&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;s&quot;&gt;&quot;stimmtausch&quot;&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;)&lt;/span&gt;
    &lt;span class=&quot;n&quot;&gt;LogDir&lt;/span&gt; &lt;span class=&quot;o&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;n&quot;&gt;filepath&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;Join&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;startDir&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;s&quot;&gt;&quot;.local&quot;&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;s&quot;&gt;&quot;log&quot;&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;s&quot;&gt;&quot;stimmtausch&quot;&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;)&lt;/span&gt;
&lt;span class=&quot;p&quot;&gt;}&lt;/span&gt; &lt;span class=&quot;k&quot;&gt;else&lt;/span&gt; &lt;span class=&quot;p&quot;&gt;{&lt;/span&gt;
    &lt;span class=&quot;n&quot;&gt;WorkingDir&lt;/span&gt; &lt;span class=&quot;o&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;n&quot;&gt;filepath&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;Join&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;startDir&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;s&quot;&gt;&quot;worlds&quot;&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;)&lt;/span&gt;
    &lt;span class=&quot;n&quot;&gt;LogDir&lt;/span&gt; &lt;span class=&quot;o&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;n&quot;&gt;filepath&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;Join&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;startDir&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;s&quot;&gt;&quot;logs&quot;&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;)&lt;/span&gt;
&lt;span class=&quot;p&quot;&gt;}&lt;/span&gt;
&lt;span class=&quot;n&quot;&gt;ConfigDir&lt;/span&gt; &lt;span class=&quot;o&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;n&quot;&gt;filepath&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;Join&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;HomeDir&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;s&quot;&gt;&quot;.config&quot;&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;s&quot;&gt;&quot;stimmtausch&quot;&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;)&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;</content><author><name>Maddy</name></author><summary type="html">In which Maddy navigates some bureaucracy to great (reasonable) success</summary></entry><entry><title type="html">Stimmtausch 0.0.3 and stimmtausch.vim</title><link href="/2020/05/08/stimmtausch-0.0.3/" rel="alternate" type="text/html" title="Stimmtausch 0.0.3 and stimmtausch.vim" /><published>2020-05-08T00:00:00+00:00</published><updated>2020-05-08T00:00:00+00:00</updated><id>/2020/05/08/stimmtausch-0.0.3</id><content type="html" xml:base="/2020/05/08/stimmtausch-0.0.3/">&lt;p&gt;&lt;a href=&quot;/assets/2020-05-08.png&quot;&gt;&lt;img src=&quot;/assets/2020-05-08.png&quot; alt=&quot;Yay!&quot; /&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Well well well, if it isn’t &lt;em&gt;Maddy&lt;/em&gt;. Back at it again with the Stimmtauschery!&lt;/p&gt;

&lt;p&gt;I know it’s been a while. Things have been really dumb! 2020 has been the longest fucking decade! Anyway, Since last I wrote, I’ve switched jobs, lost my job, published four books, and have two more on the way, so I’m just all over the place!&lt;/p&gt;

&lt;p&gt;Unfortunately, I also kind of lost the will to work on software for a bit, and Stimmtausch kind of languished. Just so much burnout going around that it was hard to get excited about software for a bit there. I still used the client daily, and I still got super frustrated at all the bugs I was lacking. Eventually, though, &lt;a href=&quot;https://github.com/cyveris&quot;&gt;@cyveris&lt;/a&gt; got me up and moving again (thanks!) and I got back to work.&lt;/p&gt;

&lt;p&gt;So! Two big updates! The first, of course, is that the &lt;a href=&quot;https://github.com/makyo/stimmtausch/projects/4&quot;&gt;milestone for 0.0.3&lt;/a&gt; has been completed. There is one big feature and several bugfixes:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;&lt;strong&gt;Major change:&lt;/strong&gt; the command is now &lt;code class=&quot;highlighter-rouge&quot;&gt;stimmtausch&lt;/code&gt;, not &lt;code class=&quot;highlighter-rouge&quot;&gt;st&lt;/code&gt;. This is due to a packaging clash with &lt;a href=&quot;https://st.suckless.org/&quot;&gt;simple terminal&lt;/a&gt;. If you are not using that st, you can create an alias for yourself in your shell rc file, or via &lt;code class=&quot;highlighter-rouge&quot;&gt;update-alternatives --install&lt;/code&gt;.&lt;/li&gt;
  &lt;li&gt;Log output from current world to a file with &lt;code class=&quot;highlighter-rouge&quot;&gt;/log filename&lt;/code&gt;. You can turn it off with &lt;code class=&quot;highlighter-rouge&quot;&gt;/log --off&lt;/code&gt;, list current open logs with &lt;code class=&quot;highlighter-rouge&quot;&gt;/log --list&lt;/code&gt;, and get help with &lt;code class=&quot;highlighter-rouge&quot;&gt;/log --help&lt;/code&gt;, which uses the new-ish modal system.&lt;/li&gt;
  &lt;li&gt;Home and end keys are now mapped.&lt;/li&gt;
  &lt;li&gt;Bug fix: hilites that match more than once in a line no longer clash.&lt;/li&gt;
  &lt;li&gt;Bug fix: screen is now cleared on quit, where views used to linger.&lt;/li&gt;
  &lt;li&gt;Bug fix: don’t barf if ~/.local/log/stimmtausch doesn’t exist on startup.&lt;/li&gt;
  &lt;li&gt;Bug fix: don’t barf when switching away from a disconnected world and then trying to switch back.&lt;/li&gt;
  &lt;li&gt;Bug fix: on that note, make sure that, when an inactive world disconnects, the title bar state changes.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;@cyveris will be helping me out a lot more in terms of project organization, so hopefully there will be more work coming up, too.&lt;/p&gt;

&lt;p&gt;Now, a bit of bad news on this release: something about the combination of launchpad and my Debian packaging setup stopped playing well together, so there is no release in the PPA at this time. &lt;del&gt;If you want to install from a .deb, you will have to do so by &lt;a href=&quot;https://github.com/makyo/stimmtausch/releases/tag/0.0.3&quot;&gt;downloading it&lt;/a&gt; and installing via &lt;code class=&quot;highlighter-rouge&quot;&gt;dpkg -i&lt;/code&gt;.&lt;/del&gt; I gave up on this! Loser!&lt;/p&gt;

&lt;p&gt;Instead, I’m moving to snaps! The upside to this is that development can move a lot faster because releases don’t hurt quite so much. It will soon be available on the snap store. It requires one manual override in order to use &lt;code class=&quot;highlighter-rouge&quot;&gt;~/.config/stimmtausch&lt;/code&gt; for your configuration files, but they’re working on making that automatic. See the latest post for more information.&lt;/p&gt;

&lt;p&gt;Anyway!&lt;/p&gt;

&lt;p&gt;There’s another new addition to Stimmtausch, which is &lt;a href=&quot;https://github.com/makyo/stimmtausch.vim&quot;&gt;stimmtausch.vim&lt;/a&gt;. This lets you use vim as the input field for Stimmtausch if you’re running it in headless mode. You can find out much more on how to use it on the project page.&lt;/p&gt;

&lt;p&gt;Once there’s an update on either the snap or deb front, I’ll make another post!&lt;/p&gt;</content><author><name>Maddy</name></author><summary type="html">In which Maddy wises from her gwave to provide s'more Stimmtauschness</summary></entry><entry><title type="html">Profiling memory usage</title><link href="/2019/02/27/profiling/" rel="alternate" type="text/html" title="Profiling memory usage" /><published>2019-02-27T00:00:00+00:00</published><updated>2019-02-27T00:00:00+00:00</updated><id>/2019/02/27/profiling</id><content type="html" xml:base="/2019/02/27/profiling/">&lt;p&gt;I’ve been using Stimmtausch 0.0.2 as my primary client for a bit now, having switched away from TinyFugue. I figure it’s stable enough (though there are &lt;a href=&quot;https://github.com/makyo/stimmtausch/issues?q=is%3Aopen+is%3Aissue+label%3Abug&quot;&gt;some bugs&lt;/a&gt;), and hey, I worked on the dang thing…&lt;/p&gt;

&lt;p&gt;Anyway, I was pretty happy about the memory usage I saw while developing, but during actual use I was…disappointed.&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;/assets/2019-02-27.1.png&quot;&gt;&lt;img src=&quot;/assets/2019-02-27.1.png&quot; alt=&quot;Some memory usage statistics from Stimmtausch versus TinyFugue&quot; /&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;That’s…a lot of memory. Now, as noted, this is on a fairly small machine, with only 2GB of RAM. Still, that means that Stimmtausch is using 10% of it! What the hellll…&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;/assets/2019-02-27.2.png&quot;&gt;&lt;img src=&quot;/assets/2019-02-27.2.png&quot; alt=&quot;No surprise that Go programs can be big&quot; /&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Now, it’s no surprise that Go programs can be big. Go eschews static dependencies for including everything it needs in the binary. This makes them eminently portable (and, indeed, one could simply download the binary of Stimmtausch and run it on basically any machine; all the installers do is drop the binary and global config files in the right locations), but also increases the size of the binary. TinyFugue, on the other hand, is written in C, which is much, &lt;em&gt;much&lt;/em&gt; smaller. This also means that it should use a much smaller memory footprint, but not 100 times less memory, certainly.&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;/assets/2019-02-27.3.png&quot;&gt;&lt;img src=&quot;/assets/2019-02-27.3.png&quot; alt=&quot;Profiling in progress&quot; /&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;So I’ve been doing some digging. There are a few big culprits right away. Regular expressions are taking up quite a bit of memory. No real surprise, I suppose; even the TinyFugue authors warn of having too many triggers. Still, I’m learning this &lt;a href=&quot;http://godoc.org/github.com/pkg/profile&quot;&gt;profiling tool&lt;/a&gt;, so I’ve got some questions about what’s actually going on behind the scenes. It could be that the numbers for regular expressions are counted once during compilation (where they take up a large amount of memory) and then left in there; that is, even though the regexp numbers are high in the profile, they could actually be using a very small amount of memory in reality. I don’t know when &lt;code class=&quot;highlighter-rouge&quot;&gt;regexp.(*bitState).reset()&lt;/code&gt; occurs, after all. There’s a lot of data to sort through:&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;/assets/2019-02-27.4.png&quot;&gt;&lt;img src=&quot;/assets/2019-02-27.4.png&quot; alt=&quot;The profile graph in a browser window&quot; /&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Another large number comes from &lt;a href=&quot;https://github.com/makyo/gotui&quot;&gt;&lt;code class=&quot;highlighter-rouge&quot;&gt;gotui&lt;/code&gt;&lt;/a&gt;, which draws the terminal interface, taking up 740KB, however only 112KB of that belongs to &lt;a href=&quot;https://github.com/nsf/termbox-go&quot;&gt;&lt;code class=&quot;highlighter-rouge&quot;&gt;termbox-go&lt;/code&gt;&lt;/a&gt;, which handles the actual drawing portion, as opposed to the views, which is what &lt;code class=&quot;highlighter-rouge&quot;&gt;gotui&lt;/code&gt; is for. Of note is the 88KB spent on the &lt;code class=&quot;highlighter-rouge&quot;&gt;wordWrap&lt;/code&gt; function that I added to &lt;code class=&quot;highlighter-rouge&quot;&gt;gotui&lt;/code&gt;. I should probably rethink some of the logic there; it uses some regular expressions where it maybe could avoid them. Ah well.&lt;/p&gt;

&lt;p&gt;Another suspected culprit with &lt;code class=&quot;highlighter-rouge&quot;&gt;gotui&lt;/code&gt; is the output buffer. Rather than maintain a certain size, it contains all lines written to it, while the internal history buffer only contains 10,000 (or whatever you set it to in config). This could get big. An easy test for this is to redraw the output buffer with &lt;code class=&quot;highlighter-rouge&quot;&gt;^L&lt;/code&gt;, which clears it of all lines and then redraws from the history buffer (meaning it gets at most 10,000 lines). Let me do that now…nope. Huh!&lt;/p&gt;

&lt;p&gt;Anyway, I’m just thinking out loud, at this point. I have a few more potential problem spots (e.g: reading from the FIFO), but I need to do some digging here!&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;&lt;em&gt;Update!&lt;/em&gt;&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Turns out it is the regular expressions being run (as opposed to compiled) that’s using memory; you can see here that it’s &lt;code class=&quot;highlighter-rouge&quot;&gt;Trigger.Run()&lt;/code&gt; that’s calling the &lt;code class=&quot;highlighter-rouge&quot;&gt;reset()&lt;/code&gt; mentioned above.&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;/assets/2019-02-27.5.png&quot;&gt;&lt;img src=&quot;/assets/2019-02-27.5.png&quot; alt=&quot;A portion of the profile&quot; /&gt;&lt;/a&gt;&lt;/p&gt;</content><author><name>Maddy</name></author><summary type="html">In which Maddy gets disappointed and tries to figure out just what in tarnation is going on.</summary></entry><entry><title type="html">Oh no! A bug!</title><link href="/2019/02/21/bug72/" rel="alternate" type="text/html" title="Oh no! A bug!" /><published>2019-02-21T00:00:00+00:00</published><updated>2019-02-21T00:00:00+00:00</updated><id>/2019/02/21/bug72</id><content type="html" xml:base="/2019/02/21/bug72/">&lt;p&gt;Maddy found &lt;a href=&quot;https://github.com/makyo/stimmtausch/issues/72&quot;&gt;a bug&lt;/a&gt;!&lt;/p&gt;

&lt;p&gt;If you’d like to try Stimmtausch but get a problem on starting it for the first time, you’ll need to run the following:&lt;/p&gt;

&lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;&lt;span class=&quot;nb&quot;&gt;mkdir&lt;/span&gt; &lt;span class=&quot;nt&quot;&gt;-p&lt;/span&gt; ~/.local/log/stimmtausch
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;This will be fixed in the next version!&lt;/p&gt;</content><author><name>Maddy</name></author><summary type="html">Wherein Maddy tries to install Stimmtausch on a new machine and frowns *really hard* at herself.</summary></entry><entry><title type="html">Stimmtausch 0.0.2</title><link href="/2019/02/20/stimmtausch-0.0.2/" rel="alternate" type="text/html" title="Stimmtausch 0.0.2" /><published>2019-02-20T00:00:00+00:00</published><updated>2019-02-20T00:00:00+00:00</updated><id>/2019/02/20/stimmtausch-0.0.2</id><content type="html" xml:base="/2019/02/20/stimmtausch-0.0.2/">&lt;p&gt;&lt;a href=&quot;/assets/2019-02-20.png&quot;&gt;&lt;img src=&quot;/assets/2019-02-20.png&quot; alt=&quot;Yay!&quot; /&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Woo! &lt;a href=&quot;https://github.com/makyo/stimmtausch/milestone/2&quot;&gt;The milestone&lt;/a&gt; and &lt;a href=&quot;https://github.com/makyo/stimmtausch/projects/2&quot;&gt;the project&lt;/a&gt; have both been cleared of tasks! And you know what that means…&lt;em&gt;release time!&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;As before, you can install via the PPA:&lt;/p&gt;

&lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;&lt;span class=&quot;nb&quot;&gt;sudo &lt;/span&gt;add-apt-repository &lt;span class=&quot;nt&quot;&gt;-u&lt;/span&gt; ppa:makyo/st
&lt;span class=&quot;nb&quot;&gt;sudo &lt;/span&gt;apt &lt;span class=&quot;nb&quot;&gt;install &lt;/span&gt;stimmtausch
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;Or, go &lt;a href=&quot;https://github.com/makyo/stimmtausch/releases/tag/0.0.2&quot;&gt;here&lt;/a&gt; and follow the instructions for downloading a .deb and installing that.&lt;/p&gt;

&lt;p&gt;Again, you’ll need to set up worlds, as described in the &lt;a href=&quot;/2019/02/12/stimmtausch-0.0.1&quot;&gt;last post&lt;/a&gt;.&lt;/p&gt;</content><author><name>Maddy</name></author><summary type="html">In which Stimmtausch manages a plurality of connections and does some fun things with commands.</summary></entry><entry><title type="html">Stimmtausch 0.0.1</title><link href="/2019/02/12/stimmtausch-0.0.1/" rel="alternate" type="text/html" title="Stimmtausch 0.0.1" /><published>2019-02-12T00:00:00+00:00</published><updated>2019-02-12T00:00:00+00:00</updated><id>/2019/02/12/stimmtausch-0.0.1</id><content type="html" xml:base="/2019/02/12/stimmtausch-0.0.1/">&lt;p&gt;&lt;a href=&quot;/assets/2019-02-13.png&quot;&gt;&lt;img src=&quot;/assets/2019-02-13.png&quot; alt=&quot;Yay!&quot; /&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Yay! I did the thing! I finished all of the tasks on the &lt;a href=&quot;https://github.com/makyo/stimmtausch/milestone/1&quot;&gt;0.0.1 milestone&lt;/a&gt;, beat my head against &lt;code class=&quot;highlighter-rouge&quot;&gt;debuild&lt;/code&gt;, and managed to pull together the first release of Stimmtausch! You can now install it by doing the following:&lt;/p&gt;

&lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;&lt;span class=&quot;nb&quot;&gt;sudo &lt;/span&gt;add-apt-repository &lt;span class=&quot;nt&quot;&gt;-u&lt;/span&gt; ppa:makyo/st
&lt;span class=&quot;nb&quot;&gt;sudo &lt;/span&gt;apt &lt;span class=&quot;nb&quot;&gt;install &lt;/span&gt;stimmtausch
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;Or, go &lt;a href=&quot;https://github.com/makyo/stimmtausch/releases/tag/0.0.1&quot;&gt;here&lt;/a&gt; and follow the instructions for downloading a .deb and installing that.&lt;/p&gt;

&lt;p&gt;This will get you up and running with the client, but you’ll have to edit your &lt;code class=&quot;highlighter-rouge&quot;&gt;~/.strc&lt;/code&gt; with some of &lt;a href=&quot;/config&quot;&gt;configuration information&lt;/a&gt;. A good start for a &lt;code class=&quot;highlighter-rouge&quot;&gt;~/.strc&lt;/code&gt; would look something like this:&lt;/p&gt;

&lt;div class=&quot;language-yaml highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;&lt;span class=&quot;na&quot;&gt;stimmtausch&lt;/span&gt;&lt;span class=&quot;pi&quot;&gt;:&lt;/span&gt;
    &lt;span class=&quot;na&quot;&gt;worlds&lt;/span&gt;&lt;span class=&quot;pi&quot;&gt;:&lt;/span&gt;
        &lt;span class=&quot;na&quot;&gt;fm&lt;/span&gt;&lt;span class=&quot;pi&quot;&gt;:&lt;/span&gt;
            &lt;span class=&quot;na&quot;&gt;display_name&lt;/span&gt;&lt;span class=&quot;pi&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;s2&quot;&gt;&quot;&lt;/span&gt;&lt;span class=&quot;s&quot;&gt;FurryMUCK:&lt;/span&gt;&lt;span class=&quot;nv&quot;&gt; &lt;/span&gt;&lt;span class=&quot;s&quot;&gt;Foxface&quot;&lt;/span&gt;
            &lt;span class=&quot;na&quot;&gt;server&lt;/span&gt;&lt;span class=&quot;pi&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;s&quot;&gt;furrymuck&lt;/span&gt;
            &lt;span class=&quot;na&quot;&gt;username&lt;/span&gt;&lt;span class=&quot;pi&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;s&quot;&gt;Foxface&lt;/span&gt;
            &lt;span class=&quot;na&quot;&gt;password&lt;/span&gt;&lt;span class=&quot;pi&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;s&quot;&gt;Swishytail1&lt;/span&gt;
        &lt;span class=&quot;na&quot;&gt;taps&lt;/span&gt;&lt;span class=&quot;pi&quot;&gt;:&lt;/span&gt;
            &lt;span class=&quot;na&quot;&gt;display_name&lt;/span&gt;&lt;span class=&quot;pi&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;s2&quot;&gt;&quot;&lt;/span&gt;&lt;span class=&quot;s&quot;&gt;Tapestries:&lt;/span&gt;&lt;span class=&quot;nv&quot;&gt; &lt;/span&gt;&lt;span class=&quot;s&quot;&gt;Foxface&quot;&lt;/span&gt;
            &lt;span class=&quot;na&quot;&gt;server&lt;/span&gt;&lt;span class=&quot;pi&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;s&quot;&gt;tapestries&lt;/span&gt;
            &lt;span class=&quot;na&quot;&gt;username&lt;/span&gt;&lt;span class=&quot;pi&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;s&quot;&gt;Foxface&lt;/span&gt;
            &lt;span class=&quot;na&quot;&gt;password&lt;/span&gt;&lt;span class=&quot;pi&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;s&quot;&gt;Swishytail1&lt;/span&gt;
    &lt;span class=&quot;na&quot;&gt;triggers&lt;/span&gt;&lt;span class=&quot;pi&quot;&gt;:&lt;/span&gt;
        &lt;span class=&quot;pi&quot;&gt;-&lt;/span&gt; &lt;span class=&quot;na&quot;&gt;type&lt;/span&gt;&lt;span class=&quot;pi&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;s&quot;&gt;hilite&lt;/span&gt;
          &lt;span class=&quot;na&quot;&gt;match&lt;/span&gt;&lt;span class=&quot;pi&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;s2&quot;&gt;&quot;&lt;/span&gt;&lt;span class=&quot;s&quot;&gt;[Ff]oxface&quot;&lt;/span&gt;
          &lt;span class=&quot;na&quot;&gt;attributes&lt;/span&gt;&lt;span class=&quot;pi&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;s2&quot;&gt;&quot;&lt;/span&gt;&lt;span class=&quot;s&quot;&gt;bold+green&quot;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;</content><author><name>Maddy</name></author><summary type="html">In which the very first release of Stimmtausch is announced.</summary></entry></feed>