<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
  <title>Old Chestnut Software</title>
  <subtitle>Seeds of software wisdom</subtitle>
  <id>https://oldchestnut.work</id>
  <link href="https://oldchestnut.work"/>
  <link href="https://oldchestnut.work/feed.xml" rel="self"/>
  <updated>2024-06-09T20:00:00-04:00</updated>
  <author>
    <name>Joel Meador</name>
  </author>
  <entry>
    <title>ArchivalRecord: Updates!</title>
    <link rel="alternate" href="https://oldchestnut.work/2024/06/10/archival-record-updates/"/>
    <id>https://oldchestnut.work/2024/06/10/archival-record-updates/</id>
    <published>2024-06-09T20:00:00-04:00</published>
    <updated>2024-06-11T17:58:23-04:00</updated>
    <author>
      <name>Joel Meador</name>
    </author>
    <content type="html">&lt;p&gt;I released version 3.0.0 and 3.0.1 of &lt;a href="https://rubygems.org/gems/archival_record" rel="nofollow"&gt;ArchivalRecord&lt;/a&gt; today. This version is a major point release because it obsoletes support for rails 4 and 5 and ruby 2. There was also a good deal of rubocop driven refactoring in the code - including some nice changes to how the code gets included.&lt;/p&gt;

&lt;p&gt;You can see the &lt;a href="https://gitlab.com/joelmeador/archival_record/-/blob/main/CHANGELOG.md?ref_type=heads#301---june-10-2024" rel="nofollow"&gt;Changelog&lt;/a&gt; for more details.&lt;/p&gt;

&lt;p&gt;One change I merged was to allow control of children records and opt out of parent records actually archiving children when a parent is archived. That option is called &lt;a href="https://gitlab.com/joelmeador/archival_record#archive_dependents" rel="nofollow"&gt;&lt;code&gt;archive_dependents&lt;/code&gt;&lt;/a&gt;. There are better versions of this feature that I might get to in the future but this one is simple.&lt;/p&gt;

&lt;p&gt;I think the next thing to do would be document writing one&amp;rsquo;s own &lt;code&gt;archive!&lt;/code&gt; and &lt;code&gt;unarchive!&lt;/code&gt; methods in order to customize behavior. This is &lt;a href="https://gitlab.com/joelmeador/archival_record/-/issues/3" rel="nofollow"&gt;Issue 3&lt;/a&gt; in the issue tracker.&lt;/p&gt;
&lt;hr /&gt;&lt;a href="https://oldchestnut.work/2024/06/10/archival-record-updates/"&gt;ArchivalRecord: Updates!&lt;/a&gt; is a post from &lt;a href="https://oldchestnut.work"&gt;Old Chestnut Software&lt;/a&gt;</content>
  </entry>
  <entry>
    <title>ArchivalRecord: A Forked Ruby Gem for Archiving ActiveRecord Models</title>
    <link rel="alternate" href="https://oldchestnut.work/2020/08/03/archival-record-a-forked-legacy-project/"/>
    <id>https://oldchestnut.work/2020/08/03/archival-record-a-forked-legacy-project/</id>
    <published>2020-08-02T20:00:00-04:00</published>
    <updated>2024-06-11T17:46:12-04:00</updated>
    <author>
      <name>Joel Meador</name>
    </author>
    <content type="html">&lt;p&gt;A project I&amp;rsquo;ve spent a lot of time on over the years is called &lt;a href="https://rubygems.org/gems/acts_as_archival" rel="nofollow"&gt;ActsAsArchival&lt;/a&gt;. I am no longer a part of the company that owns the copyright, but I do still like the project, so I decided to fork it in classic open source fashion and work on some of the things I found interesting we never committed time for.&lt;/p&gt;

&lt;h3&gt;What it is Now&lt;/h3&gt;

&lt;p&gt;I&amp;rsquo;ve forked the project and called it &lt;a href="https://rubygems.org/gems/archival_record" rel="nofollow"&gt;ArchivalRecord&lt;/a&gt;, with &lt;a href="https://gitlab.com/joelmeador/archival_record" rel="nofollow"&gt;source at gitlab&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;All I&amp;rsquo;ve done so far is pull in a long-languishing update for Rails 6, updated all the gems that were out of date, updated language for clarity in a few places, added a security policy, renamed the project to ArchivalRecord, updated the CI engine to gitlab, and published a couple new versions of the gem.&lt;/p&gt;

&lt;p&gt;There are a couple of straightforward good suggestions to undertake in the old issues tracker on AAA that I think I will do because they sound interesting and I&amp;rsquo;ve copied them over to the &lt;a href="https://gitlab.com/joelmeador/archival_record/-/issues" rel="nofollow"&gt;new issue tracker&lt;/a&gt;.&lt;/p&gt;
&lt;hr /&gt;&lt;a href="https://oldchestnut.work/2020/08/03/archival-record-a-forked-legacy-project/"&gt;ArchivalRecord: A Forked Ruby Gem for Archiving ActiveRecord Models&lt;/a&gt; is a post from &lt;a href="https://oldchestnut.work"&gt;Old Chestnut Software&lt;/a&gt;</content>
  </entry>
  <entry>
    <title>An Old Chestnut</title>
    <link rel="alternate" href="https://oldchestnut.work/2020/07/11/an-old-chestnut/"/>
    <id>https://oldchestnut.work/2020/07/11/an-old-chestnut/</id>
    <published>2020-07-10T20:00:00-04:00</published>
    <updated>2024-06-10T10:17:51-04:00</updated>
    <author>
      <name>Joel Meador</name>
    </author>
    <content type="html">&lt;p&gt;&lt;img src="/images/old-chestnut-full-66cae171.jpeg" title="A large chestnut shade tree" alt="A mature chestnut tree growing alone in a shade form rather than a forest canopy form, just behind a road in the foreground, and with a forest behind it, though the chestnut stands alone in grass" /&gt;&lt;/p&gt;

&lt;p&gt;&lt;/p&gt;

&lt;p&gt;This is a chestnut tree I saw in at &lt;a href="http://funfinder.indy.gov/#/details/4" rel="nofollow"&gt;Glenns Valley Nature Park&lt;/a&gt; this summer. Based on its size it&amp;rsquo;s perhaps 30-40 years old, and given it hasn&amp;rsquo;t been affected by chestnut blight, it is probably a hybrid cultivar. It has fed many insects with its catkins and housed many birds in its boughs and deer and other animals have certainly fattened up for the winter on its chestnuts.&lt;/p&gt;

&lt;p&gt;• • • • •&lt;/p&gt;

&lt;p&gt;Anyway, I spent the week looking for work, rather than writing about something more involved. It is a nice tree, though.&lt;/p&gt;

&lt;p&gt;• • • • •&lt;/p&gt;

&lt;p&gt;This work is licensed under a &lt;a rel="license" href="http://creativecommons.org/licenses/by-sa/4.0/"&gt;Creative Commons Attribution-ShareAlike 4.0 International License&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;&lt;a rel="license" href="http://creativecommons.org/licenses/by-sa/4.0/"&gt;&lt;img alt="Creative Commons License" style="border-width:0" src="https://i.creativecommons.org/l/by-sa/4.0/80x15.png" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;hr /&gt;&lt;a href="https://oldchestnut.work/2020/07/11/an-old-chestnut/"&gt;An Old Chestnut&lt;/a&gt; is a post from &lt;a href="https://oldchestnut.work"&gt;Old Chestnut Software&lt;/a&gt;</content>
  </entry>
  <entry>
    <title>Black Lives Matter</title>
    <link rel="alternate" href="https://oldchestnut.work/2020/07/02/black-lives-matter/"/>
    <id>https://oldchestnut.work/2020/07/02/black-lives-matter/</id>
    <published>2020-07-01T20:00:00-04:00</published>
    <updated>2024-06-10T10:17:51-04:00</updated>
    <author>
      <name>Joel Meador</name>
    </author>
    <content type="html">&lt;p&gt;&lt;/p&gt;

&lt;p&gt;Please consider donating your time and/or resources to marching, support protesters,  and bail funds for arrested protesters. If you&amp;rsquo;re confused as to why you should, the &lt;a href="http://project1619.org/" rel="nofollow"&gt;Project1619&lt;/a&gt; (not to be confused with the NYT&amp;rsquo;s 1619 project) is a good starting point for historical context. For news I recommend following &lt;a href="https://twitter.com/search?q=%23blacklivesmatter" rel="nofollow"&gt;the BLM hashtag&lt;/a&gt;.&lt;/p&gt;
&lt;hr /&gt;&lt;a href="https://oldchestnut.work/2020/07/02/black-lives-matter/"&gt;Black Lives Matter&lt;/a&gt; is a post from &lt;a href="https://oldchestnut.work"&gt;Old Chestnut Software&lt;/a&gt;</content>
  </entry>
  <entry>
    <title>Kata Refactor - Show Me Your ID</title>
    <link rel="alternate" href="https://oldchestnut.work/2020/07/01/kata-refactor/"/>
    <id>https://oldchestnut.work/2020/07/01/kata-refactor/</id>
    <published>2020-06-30T20:00:00-04:00</published>
    <updated>2024-06-10T10:17:51-04:00</updated>
    <author>
      <name>Joel Meador</name>
    </author>
    <content type="html">&lt;p&gt;I have been doing &lt;a href="https://en.wikipedia.org/wiki/Kata_(programming)" rel="nofollow"&gt;katas&lt;/a&gt; on &lt;a href="https://www.codewars.com" rel="nofollow"&gt;Codewars&lt;/a&gt; for many years now, and I thought as a series of exercises, I would revisit my old and often bad solutions and refactor them as I might in a production system. So today, I will refactor &lt;a href="https://www.codewars.com/kata/574c51aa3e4ea6de22001363" rel="nofollow"&gt;Sir, showMe yourID&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;&lt;/p&gt;

&lt;h3&gt;The problem statement&lt;/h3&gt;

&lt;blockquote&gt;
&lt;p&gt;There&amp;rsquo;s a new security company in Paris, and they decided to give their employees an algorithm to make first name recognition faster. In the blink of an eye, they can now detect if a string is a first name, no matter if it is a one-word name or an hyphenated name. They&amp;rsquo;re given this documentation with the algorithm:&lt;/p&gt;

&lt;p&gt;&lt;em&gt;In France, you&amp;rsquo;ll often find people with hyphenated first names. They&amp;rsquo;re called &amp;ldquo;prénoms composés&amp;rdquo;. There could be two, or even more words linked to form a new name, quite like jQuery function chaining ;). They&amp;rsquo;re linked using the - symbol, like Marie-Joelle, Jean-Michel, Jean-Mouloud. Thanks to this algorithm, you can now recognize hyphenated names quicker than Flash!&lt;/em&gt; (yeah, their employees know how to use jQuery. Don&amp;rsquo;t ask me why)&lt;/p&gt;

&lt;p&gt;Your mission if you accept it, recreate the algorithm. Using the function showMe, which takes a yourID argument, you will check if the given argument is a name or not, by returning true or false.
&lt;em&gt;Note that&lt;/em&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;String will either be a one-word first name, or an hyphenated first name , its words being linked by &amp;ldquo;-&amp;rdquo;.&lt;/li&gt;
&lt;li&gt;Words can only start with an uppercase letter, and then lowercase letters (from a to z)&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Now is your time to help the guards !&lt;/p&gt;
&lt;/blockquote&gt;

&lt;h4&gt;My original solution (2016-06)&lt;/h4&gt;
&lt;div class="highlight"&gt;&lt;pre class="highlight ruby"&gt;&lt;code&gt;&lt;table class="rouge-table"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td class="rouge-gutter gl"&gt;&lt;pre class="lineno"&gt;1
2
3
&lt;/pre&gt;&lt;/td&gt;&lt;td class="rouge-code"&gt;&lt;pre&gt;&lt;span class="k"&gt;def&lt;/span&gt; &lt;span class="nf"&gt;show_me&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nb"&gt;name&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
  &lt;span class="o"&gt;!!&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nb"&gt;name&lt;/span&gt; &lt;span class="o"&gt;=~&lt;/span&gt; &lt;span class="sr"&gt;/\A[A-Z][a-z]+(-[A-Z][a-z]+)*\z/&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;span class="k"&gt;end&lt;/span&gt;
&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;
&lt;p&gt;In a production system, this is unacceptably sparse. I would have serious concerns if I saw it in a code review.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;There&amp;rsquo;s no explanation of intent.&lt;/li&gt;
&lt;li&gt;There&amp;rsquo;s no &amp;ldquo;why&amp;rdquo; around or in the code. &lt;/li&gt;
&lt;li&gt;The name of the function sans module/class provides no context.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;We have tests because of the kata framework provided by codewars, so we will rely on those. I will reproduce them at the end of the post. Having to read tests to understand a block of code is a smell.&lt;/p&gt;

&lt;h4&gt;My new solution (2020-07)&lt;/h4&gt;
&lt;div class="highlight"&gt;&lt;pre class="highlight ruby"&gt;&lt;code&gt;&lt;table class="rouge-table"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td class="rouge-gutter gl"&gt;&lt;pre class="lineno"&gt;1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
&lt;/pre&gt;&lt;/td&gt;&lt;td class="rouge-code"&gt;&lt;pre&gt;&lt;span class="k"&gt;def&lt;/span&gt; &lt;span class="nf"&gt;show_me&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;your_id&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
  &lt;span class="no"&gt;FirstNameChecker&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;valid?&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;your_id&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;span class="k"&gt;end&lt;/span&gt;

&lt;span class="c1"&gt;# validate a string to check if it is a valid first name, which can &lt;/span&gt;
&lt;span class="c1"&gt;# include hyphens.&lt;/span&gt;
&lt;span class="c1"&gt;# Example Usage:&lt;/span&gt;
&lt;span class="c1"&gt;#   FirstNameChecker.valid?("Francois")    =&amp;gt; true&lt;/span&gt;
&lt;span class="c1"&gt;#   FirstNameChecker.valid?("Jean-Eluard") =&amp;gt; true&lt;/span&gt;
&lt;span class="c1"&gt;#   FirstNameChecker.valid?("Mary Jean")   =&amp;gt; false&lt;/span&gt;
&lt;span class="k"&gt;module&lt;/span&gt; &lt;span class="nn"&gt;FirstNameChecker&lt;/span&gt;
  &lt;span class="no"&gt;NAME_PART_REGEX&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="sr"&gt;/\p{Upper}\p{Lower}+/&lt;/span&gt;
  &lt;span class="no"&gt;NAME_REGEX&lt;/span&gt;      &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="sr"&gt;/\A&lt;/span&gt;&lt;span class="si"&gt;#{&lt;/span&gt;&lt;span class="no"&gt;NAME_PART_REGEX&lt;/span&gt;&lt;span class="si"&gt;}&lt;/span&gt;&lt;span class="sr"&gt;(?:-&lt;/span&gt;&lt;span class="si"&gt;#{&lt;/span&gt;&lt;span class="no"&gt;NAME_PART_REGEX&lt;/span&gt;&lt;span class="si"&gt;}&lt;/span&gt;&lt;span class="sr"&gt;)*\z/&lt;/span&gt;

  &lt;span class="k"&gt;def&lt;/span&gt; &lt;span class="nc"&gt;self&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;valid?&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;str&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
    &lt;span class="no"&gt;NAME_REGEX&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;match?&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;str&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
  &lt;span class="k"&gt;end&lt;/span&gt;
&lt;span class="k"&gt;end&lt;/span&gt;
&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;
&lt;p&gt;So I pointed out 3 things in the original solution that were less than ideal. Let&amp;rsquo;s talk about how this solution solves them and some things that could be different here, too, depending on greater system context.&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;There&amp;rsquo;s no explanation of intent.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;This new module &lt;code&gt;FirstNameChecker&lt;/code&gt; now explains both how to use it and what is expected to come out of it, which is better than the nothing of the original solution. Code comments are tough in any system because code can drift from them. Making the comments be around an entire module forces future churn and changes to address those in a good engineering environment.&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;There&amp;rsquo;s no &amp;ldquo;why&amp;rdquo; around or in the code.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;Often when you come to a codebase or a part of a codebase after a long time, the reasoning for something can be a mystery. Small commits and good commit messages are one part of the puzzle. Good naming and explanation are another. Using shared team patterns and established team code practices are yet another.&lt;/p&gt;

&lt;p&gt;So to dig into the changes, the original method is called &lt;code&gt;show_me&lt;/code&gt; and this solution assumes we have a callsite that can&amp;rsquo;t be changed, so we will use the original function as a proxy into the new method we&amp;rsquo;ve made. You can imagine in a larger system that there could be other &lt;code&gt;Checker&lt;/code&gt;s with similar simple semantics. So now we can read the code in &lt;code&gt;show_me&lt;/code&gt; as english. &amp;ldquo;Did we get a valid first name?&amp;rdquo; And I&amp;rsquo;ve fixed the variable passed to the method to be named as in the description.&lt;/p&gt;

&lt;p&gt;Equally we&amp;rsquo;ve added a some readability to the regex through the use of Ruby&amp;rsquo;s &lt;a href="https://ruby-doc.org/core-2.7.1/Regexp.html#class-Regexp-label-Character+Properties" rel="nofollow"&gt;Regexp Character Properties&lt;/a&gt;. Perhaps the trickiest part of the regex now is the non-capturing group &lt;code&gt;(?:)&lt;/code&gt;, which could be left off without harming this code. It can be good practice particularly for high-frequency calls given memory allocations to store the matches. This code probably isn&amp;rsquo;t that, but someday it could be.&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;The name of the function sans module/class provides no context. &lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;By introducing a module, we now have much more context about the code&amp;rsquo;s intent. By using regexp character properties and well-named constants, we can read the regex in english with a little bit of regexp knowledge. You should be able to explain this regexp to a junior developer &lt;em&gt;very&lt;/em&gt; quickly. The original perhaps, too, but it required having more loaded at once because of how it was written.&lt;/p&gt;

&lt;p&gt;So to me, this solves the problems of the original and provides clarity around the code that wasn&amp;rsquo;t there before. Ultimately that&amp;rsquo;s what we want. Lower overhead for anyone in the future who has to maintain this, including ourselves! And we didn&amp;rsquo;t have to make any changes to the tests!&lt;/p&gt;

&lt;h4&gt;Changes we could make&lt;/h4&gt;

&lt;p&gt;One change we could make is to replace &lt;a href="https://ruby-doc.org/core-2.7.1/Regexp.html#method-i-match-3F" rel="nofollow"&gt;&lt;code&gt;#match?&lt;/code&gt;&lt;/a&gt; with &lt;a href="https://ruby-doc.org/core-2.7.1/Regexp.html#method-i-3D-3D-3D" rel="nofollow"&gt;&lt;code&gt;===&lt;/code&gt;&lt;/a&gt;. &lt;code&gt;#match?&lt;/code&gt; reads better to me, but they would be equivalent here - outside of perhaps performance differences we would have to look into if the method became a bottleneck. And your team may like &lt;code&gt;===&lt;/code&gt; better, and that&amp;rsquo;s fair.&lt;/p&gt;

&lt;p&gt;When we read the original blurb, it talks about &amp;ldquo;detecting&amp;rdquo; a first name, so perhaps &lt;code&gt;FirstNameChecker.valid?&lt;/code&gt; would become &lt;code&gt;FirstName.detected?&lt;/code&gt; or &lt;code&gt;NameDetector.first_name?&lt;/code&gt; or &lt;code&gt;FirstNameDetector.found?&lt;/code&gt;. Largely what the name of the module is is going to be very specific to the context of the entire application. If there are other detectors and our team likes the semantics we&amp;rsquo;ve used there, we will probably use some variant of &lt;code&gt;Detector&lt;/code&gt;. If we view this function as a validator function more akin to traditional Rails, we would go with the &lt;code&gt;.valid?&lt;/code&gt; check I&amp;rsquo;ve used.&lt;/p&gt;

&lt;p&gt;Going on, when we see a proxy of this sort, it may be time for refactoring in other parts of the system to make things more uniform. But a proxy of this sort may be a useful place for adding tracing and monitoring and feature flag functions, so it&amp;rsquo;s not always possible or a good idea to remove a proxy. It is often worth looking, though.&lt;/p&gt;

&lt;p&gt;Though it would be worse performance-wise, another solution might employ simple string tokenization and/or character-by-character string parsing. Depending on the team structure those might be easier to understand and maintain. It may not be a better long-term solution but in the short term it could be an advantage for everyone to understand a simpler solution, or a solution with no regexp if the team is very unfamiliar with those.&lt;/p&gt;

&lt;h4&gt;Downsides&lt;/h4&gt;

&lt;p&gt;There is now more code to maintain.&lt;/p&gt;

&lt;p&gt;At least in the vacuum of this simple problem, we&amp;rsquo;ve introduced a very large concept in the form of a &lt;code&gt;Checker&lt;/code&gt; system. In a real system, the impact would probably be less than here, since in this case the whole system originally was one meaningful line of code.&lt;/p&gt;

&lt;p&gt;Regexp is not always easy to grasp for new developers and developers who&amp;rsquo;ve not been exposed to it.&lt;/p&gt;

&lt;h4&gt;Addendum: The Test Suite&lt;/h4&gt;
&lt;div class="highlight"&gt;&lt;pre class="highlight ruby"&gt;&lt;code&gt;&lt;table class="rouge-table"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td class="rouge-gutter gl"&gt;&lt;pre class="lineno"&gt;1
2
3
4
5
6
7
8
9
10
11
12
13
14
&lt;/pre&gt;&lt;/td&gt;&lt;td class="rouge-code"&gt;&lt;pre&gt;&lt;span class="no"&gt;Test&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;describe&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s2"&gt;"Basic tests"&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="k"&gt;do&lt;/span&gt;
  &lt;span class="no"&gt;Test&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;assert_equals&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;show_me&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s2"&gt;"Francis"&lt;/span&gt;&lt;span class="p"&gt;),&lt;/span&gt; &lt;span class="kp"&gt;true&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s2"&gt;"Francis is a name !"&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
  &lt;span class="no"&gt;Test&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;assert_equals&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;show_me&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s2"&gt;"Jean-Eluard"&lt;/span&gt;&lt;span class="p"&gt;),&lt;/span&gt; &lt;span class="kp"&gt;true&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s2"&gt;"Jean-Eluard is a name!"&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
  &lt;span class="no"&gt;Test&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;assert_equals&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;show_me&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s2"&gt;"Le Mec"&lt;/span&gt;&lt;span class="p"&gt;),&lt;/span&gt; &lt;span class="kp"&gt;false&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s2"&gt;"Le Mec is not a name!"&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
  &lt;span class="no"&gt;Test&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;assert_equals&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;show_me&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s2"&gt;"Bernard-Henry-Levy"&lt;/span&gt;&lt;span class="p"&gt;),&lt;/span&gt; &lt;span class="kp"&gt;true&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s2"&gt;"Bernard-Henry-Levy is a name!"&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
  &lt;span class="no"&gt;Test&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;assert_equals&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;show_me&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s2"&gt;"Meme Gertrude"&lt;/span&gt;&lt;span class="p"&gt;),&lt;/span&gt; &lt;span class="kp"&gt;false&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s2"&gt;"Meme Gertrude is not a name! It's my Grandma "&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
  &lt;span class="no"&gt;Test&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;assert_equals&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;show_me&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s2"&gt;"A-a-a-a----a-a"&lt;/span&gt;&lt;span class="p"&gt;),&lt;/span&gt; &lt;span class="kp"&gt;false&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
  &lt;span class="no"&gt;Test&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;assert_equals&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;show_me&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s2"&gt;"Z-------------"&lt;/span&gt;&lt;span class="p"&gt;),&lt;/span&gt; &lt;span class="kp"&gt;false&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
  &lt;span class="no"&gt;Test&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;assert_equals&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;show_me&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s2"&gt;"Jean-luc"&lt;/span&gt;&lt;span class="p"&gt;),&lt;/span&gt; &lt;span class="kp"&gt;false&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
  &lt;span class="no"&gt;Test&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;assert_equals&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;show_me&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s2"&gt;"Jean--Luc"&lt;/span&gt;&lt;span class="p"&gt;),&lt;/span&gt; &lt;span class="kp"&gt;false&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
  &lt;span class="no"&gt;Test&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;assert_equals&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;show_me&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s2"&gt;"JeanLucPicard"&lt;/span&gt;&lt;span class="p"&gt;),&lt;/span&gt; &lt;span class="kp"&gt;false&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
  &lt;span class="no"&gt;Test&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;assert_equals&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;show_me&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s2"&gt;"-Jean-Luc"&lt;/span&gt;&lt;span class="p"&gt;),&lt;/span&gt; &lt;span class="kp"&gt;false&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
  &lt;span class="no"&gt;Test&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;assert_equals&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;show_me&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s2"&gt;"Jean-Luc-Picard-"&lt;/span&gt;&lt;span class="p"&gt;),&lt;/span&gt; &lt;span class="kp"&gt;false&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;span class="k"&gt;end&lt;/span&gt;
&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;hr /&gt;&lt;a href="https://oldchestnut.work/2020/07/01/kata-refactor/"&gt;Kata Refactor - Show Me Your ID&lt;/a&gt; is a post from &lt;a href="https://oldchestnut.work"&gt;Old Chestnut Software&lt;/a&gt;</content>
  </entry>
  <entry>
    <title>A New Day</title>
    <link rel="alternate" href="https://oldchestnut.work/2020/06/18/a-new-day/"/>
    <id>https://oldchestnut.work/2020/06/18/a-new-day/</id>
    <published>2020-06-17T20:00:00-04:00</published>
    <updated>2024-06-10T10:17:51-04:00</updated>
    <author>
      <name>Joel Meador</name>
    </author>
    <content type="html">&lt;p&gt;I&amp;rsquo;ve been working in the software industry professionally since 2003. I&amp;rsquo;ve worked on my own products. I&amp;rsquo;ve been a consultant. I&amp;rsquo;ve talked at meetups. I&amp;rsquo;ve done twitter support. I&amp;rsquo;ve done HR. I&amp;rsquo;ve done community moderation. I&amp;rsquo;ve built a lot of software. I&amp;rsquo;ve turned off a lot of software.&lt;/p&gt;

&lt;p&gt;This is the next step in my software lifecycle.&lt;/p&gt;

&lt;p&gt;&lt;/p&gt;

&lt;h3&gt;What is Old Chestnut Software LLC?&lt;/h3&gt;

&lt;p&gt;In short, it is a software consultancy for me and by me, Joel Meador. I made it so I can help you and your team make great software as a team. A rising tide lifts all, in life and in software. If you don&amp;rsquo;t have a technical team, I can help your company create great software from scratch.&lt;/p&gt;

&lt;p&gt;I have no plans to add more people to the company at the moment, but we change our minds sometimes.&lt;/p&gt;

&lt;h3&gt;Why did you make a new company?&lt;/h3&gt;

&lt;p&gt;I like writing software. I like talking about it. I have for as long as I can remember, which goes back to being 8 or 9yo and reading 3-2-1 Contact for the AppleII programs and exchanging floppy disks with at the library&amp;rsquo;s computer club. One of the greatest things about consulting is getting to hear new teams talk about their software, both the love and the frustrations. And helping them make things better.&lt;/p&gt;

&lt;p&gt;I&amp;rsquo;ve always felt that pluralism was a better way to develop software than rigid hierarchic control. I&amp;rsquo;m looking to have that in my life again, and I hope having my own company again will facilitate that.&lt;/p&gt;

&lt;p&gt;So, here in the middle of a Pandemic and a Climate Crisis and Depression-level unemployment and the largest Anti-Police State Protests I&amp;rsquo;ve seen since the Berlin Wall fell, I started a software company for myself. I thought previously I had found and helped make my forever company. But that was not to be. So it goes. My son still needs to eat. I want to stay in my home.&lt;/p&gt;

&lt;h3&gt;How can I engage you?&lt;/h3&gt;

&lt;p&gt;Send an email to &lt;a href=" mailto:joel@oldchestnut.work?subject=Old%20Chestnut%20Software%20-%20New%20Engagement&amp;body=I'd%20like%20to%20talk%20to%20you%20about%20a%20project%20at%20my%20company%2C%20XXXXX.%20Please%20give%20me%20a%20call%20at%20XXX.XXX.XXX."&gt;joel@oldchestnut.work&lt;/a&gt; and I&amp;rsquo;ll get back to you as soon as I can.&lt;/p&gt;

&lt;h3&gt;Past Experience&lt;/h3&gt;

&lt;p&gt;It&amp;rsquo;s just me at the moment, so this might seem like a resume, but I&amp;rsquo;ll be brief. The dates are as accurate as I can make them, but I&amp;rsquo;ve lost a lot of the specifics to internal email systems to which I do not have access.&lt;/p&gt;

&lt;table style="font-size: 60%;"&gt;
&lt;thead&gt;
&lt;tr&gt;&lt;th&gt;Year&lt;/th&gt;&lt;th&gt;Company&lt;/th&gt;&lt;th&gt;Project Description&lt;/th&gt;&lt;th&gt;Responsibilities&lt;/th&gt;&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;&lt;td&gt;2001-2003&lt;/td&gt;&lt;td&gt;Elastic Image&lt;/td&gt;&lt;td&gt;desktop computer vision to 3-d printing&lt;/td&gt;&lt;td&gt;developer&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;2003-2005&lt;/td&gt;&lt;td&gt;GovBenefits.gov (now benefits.gov)&lt;/td&gt;&lt;td&gt;validation and verification&lt;/td&gt;&lt;td&gt;automation testing&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;2005&lt;/td&gt;&lt;td&gt;Dept. Of Labor&lt;/td&gt;&lt;td&gt;legacy portal software&lt;/td&gt;&lt;td&gt;maintenance&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;2005-2007&lt;/td&gt;&lt;td&gt;Commscope: Systimax&lt;/td&gt;&lt;td&gt;hardware and software patch cable management&lt;/td&gt;&lt;td&gt;test consultant&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;2007-2009&lt;/td&gt;&lt;td&gt;Bank of Indianapolis&lt;/td&gt;&lt;td&gt;mainframe to web software&lt;/td&gt;&lt;td&gt;creation, maintenance&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;2007-2009&lt;/td&gt;&lt;td&gt;Security Luebke Roofing&lt;/td&gt;&lt;td&gt;roofing estimates portal&lt;/td&gt;&lt;td&gt;performance improvements, maintenance&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;2007-2009&lt;/td&gt;&lt;td&gt;National Precast Concreate Association&lt;/td&gt;&lt;td&gt;estimate portal&lt;/td&gt;&lt;td&gt;development, maintenance&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;2007-2009&lt;/td&gt;&lt;td&gt;OneConnect&lt;/td&gt;&lt;td&gt;business-focused social networking site&lt;/td&gt;&lt;td&gt;development, maintenance&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;2010-2011&lt;/td&gt;&lt;td&gt;Citizen Effect&lt;/td&gt;&lt;td&gt;crowd-sourced charitable project management&lt;/td&gt;&lt;td&gt;development, maintenance, devops&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;2010-2011&lt;/td&gt;&lt;td&gt;Major computer manufacturer&lt;/td&gt;&lt;td&gt;internal and external use sites for user training, scheduling, and manufacturing&lt;/td&gt;&lt;td&gt;creation, maintenance, devops, design&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;2010-2011&lt;/td&gt;&lt;td&gt;Doppelpager&lt;/td&gt;&lt;td&gt;a/b website testing for non-programmers&lt;/td&gt;&lt;td&gt;creation, maintenance&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;2010-2011&lt;/td&gt;&lt;td&gt;Pocket Tales&lt;/td&gt;&lt;td&gt;children&amp;rsquo;s literacy portal&lt;/td&gt;&lt;td&gt;creation, devops, design management&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;2010-2012&lt;/td&gt;&lt;td&gt;Mainstreet Capital&lt;/td&gt;&lt;td&gt;Project Burndown (below) enterprise installation&lt;/td&gt;&lt;td&gt;maintenance, devops, sales&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;2011-2012&lt;/td&gt;&lt;td&gt;Big Blue Wagon&lt;/td&gt;&lt;td&gt;business-focused video hosting&lt;/td&gt;&lt;td&gt;creation, maintenance, devops&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;2012-2013&lt;/td&gt;&lt;td&gt;Recoverator&lt;/td&gt;&lt;td&gt;startup weekend winner for home insurance inventory mgmt&lt;/td&gt;&lt;td&gt;creation&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;2012-2013&lt;/td&gt;&lt;td&gt;Zynga: Words With Friends&lt;/td&gt;&lt;td&gt;game platform&lt;/td&gt;&lt;td&gt;new game support, devops, application performance improvement&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;2012-2013&lt;/td&gt;&lt;td&gt;Codifferous&lt;/td&gt;&lt;td&gt;git-based team code review tool&lt;/td&gt;&lt;td&gt;creation, maintenance, marketing&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;2009-2014&lt;/td&gt;&lt;td&gt;Project Burndown&lt;/td&gt;&lt;td&gt;project management scheduling tool for small teams&lt;/td&gt;&lt;td&gt;creation, design, marketing, sales, devops&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;2011-2014&lt;/td&gt;&lt;td&gt;Yipes! Online&lt;/td&gt;&lt;td&gt;cheerleading online retail&lt;/td&gt;&lt;td&gt;creation, mainteance, support, devops&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;2012-2014&lt;/td&gt;&lt;td&gt;Social Imprints&lt;/td&gt;&lt;td&gt;branded printing with social justice focus&lt;/td&gt;&lt;td&gt;maintenance, devops, new feature development&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;2012-2014&lt;/td&gt;&lt;td&gt;Pirate Metrics&lt;/td&gt;&lt;td&gt;AARRR tool for small business&lt;/td&gt;&lt;td&gt;creation, maintenance, marketing&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;2014-2015&lt;/td&gt;&lt;td&gt;Salesforce: Predictive Intelligence&lt;/td&gt;&lt;td&gt;ebiz recommendation software&lt;/td&gt;&lt;td&gt;maintenance, monitoring, team training, feature development&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;2014-2016&lt;/td&gt;&lt;td&gt;Lessonly&lt;/td&gt;&lt;td&gt;learning platform for teams&lt;/td&gt;&lt;td&gt;monitoring improvements, feature development&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;2016&lt;/td&gt;&lt;td&gt;OurHealth&lt;/td&gt;&lt;td&gt;consumer-empowered healthcare&lt;/td&gt;&lt;td&gt;advisor on monitoring, team, and software choice&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;2013-2017&lt;/td&gt;&lt;td&gt;Gauges&lt;/td&gt;&lt;td&gt;web analytics tool focused on real-time updates&lt;/td&gt;&lt;td&gt;maintenance, devops&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;2010-2020&lt;/td&gt;&lt;td&gt;DocRaptor&lt;/td&gt;&lt;td&gt;PDF generation from HTML&lt;/td&gt;&lt;td&gt;creation, maintenance, devops, new feature development, technical tupport, sales&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;2013-2020&lt;/td&gt;&lt;td&gt;Instrumental&lt;/td&gt;&lt;td&gt;APM focused on code-based metrics&lt;/td&gt;&lt;td&gt;maintenance, devops, new feature development, technical tupport, sales&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;hr /&gt;&lt;a href="https://oldchestnut.work/2020/06/18/a-new-day/"&gt;A New Day&lt;/a&gt; is a post from &lt;a href="https://oldchestnut.work"&gt;Old Chestnut Software&lt;/a&gt;</content>
  </entry>
</feed>
