<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Dave Cahill</title>
    <description>Dave Cahill - Software Engineer</description>
    <link>https://dave-cahill.com/</link>
    <atom:link href="https://dave-cahill.com/feed.xml" rel="self" type="application/rss+xml"/>
    <pubDate>Sat, 03 Jan 2026 09:54:27 +0900</pubDate>
    <lastBuildDate>Sat, 03 Jan 2026 09:54:27 +0900</lastBuildDate>
    <generator>Jekyll v3.5.2</generator>
    
      <item>
        <title>Pong in Elm</title>
        <description>&lt;p&gt;Given the rate of change in front-end frameworks and tools, the developer experience tends to be different every time I find myself needing to make a UI.&lt;/p&gt;

&lt;p&gt;For quite a while, I found front-end dev mostly annoying and fiddly. When React and Redux became available, I liked the model, and found myself reasonably productive with it. I kind of looked forward to working on front-end tasks!&lt;/p&gt;

&lt;p&gt;Then I discovered &lt;img width=&quot;12&quot; height=&quot;12&quot; src=&quot;/images/elm_logo.svg&quot; /&gt;&lt;a href=&quot;https://elm-lang.org/&quot;&gt;Elm&lt;/a&gt;, and fell in love with it. I’ve only used it for small toy projects (like the &lt;a href=&quot;https://en.wikipedia.org/wiki/Pong&quot;&gt;Pong&lt;/a&gt; game below), but it’s a joy to use.&lt;/p&gt;

&lt;p&gt;If you’re interested to find out more about Elm, you can read &lt;a href=&quot;https://guide.elm-lang.org/&quot;&gt;An Introduction To Elm&lt;/a&gt;, and if you’re curious, the source for the game below is at &lt;a href=&quot;https://github.com/davecahill/pong-elm&quot;&gt;davecahill/pong-elm&lt;/a&gt; on Github.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;
&lt;div id=&quot;pong&quot;&gt;&lt;/div&gt;

&lt;script src=&quot;/js/pong.js&quot;&gt;&lt;/script&gt;

&lt;script&gt;
  var node = document.getElementById(&quot;pong&quot;);
  var app = Elm.Main.embed(node);
&lt;/script&gt;

</description>
        <pubDate>Fri, 01 Mar 2019 00:00:00 +0900</pubDate>
        <link>https://dave-cahill.com/pong-in-elm/</link>
        <guid isPermaLink="true">https://dave-cahill.com/pong-in-elm/</guid>
        
        <category>elm</category>
        
        <category>games</category>
        
        
        <category>blog</category>
        
      </item>
    
      <item>
        <title>Japanese (Kotoeri) input method disappears on Mac OS X</title>
        <description>&lt;p&gt;This morning I found I could no longer switch to the Japanese keyboard layout on my Mac – only the US layout was listed. So I went to &lt;em&gt;System Preferences &amp;gt; International &amp;gt; Input menu&lt;/em&gt; and looked for the Japanese Input Method (called Kotoeri on the mac). There was no sign of it; here’s how it got fixed in the end.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Check that it’s a preferences / configuration problem:&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Create a new user (&lt;em&gt;System Preferences &amp;gt; Accounts&lt;/em&gt;)&lt;/li&gt;
  &lt;li&gt;Log out and log in as new user&lt;/li&gt;
  &lt;li&gt;If the input methods are displayed correctly for this other user (see below), it must be a settings issue.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;img src=&quot;/images/kotoeri.png&quot; /&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Fix the preferences problem:&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Log back in as the main user&lt;/li&gt;
  &lt;li&gt;Drag these two files from /Users/MAINUSERNAME/Library/Preferences to the Desktop:&lt;/li&gt;
  &lt;li&gt;com.apple.menuextra.textinput.plist
com.apple.system.preferences.plist&lt;/li&gt;
  &lt;li&gt;Restart, and presto, Japanese is back on the menu – いただきます！&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Note:&lt;/strong&gt; &lt;em&gt;This is probably relevant for these other Input Methods also, as they disappeared and reappeared along with Japanese (kotoeri):&lt;/em&gt;&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Hangul&lt;/li&gt;
  &lt;li&gt;Simplified Chinese&lt;/li&gt;
  &lt;li&gt;Tamil Input Method&lt;/li&gt;
  &lt;li&gt;Traditional Chinese&lt;/li&gt;
  &lt;li&gt;Vietnamese UniKey&lt;/li&gt;
&lt;/ul&gt;
</description>
        <pubDate>Sat, 07 Feb 2009 00:00:00 +0900</pubDate>
        <link>https://dave-cahill.com/japanese-kotoeri-input-method-disappears-on-mac-os-x/</link>
        <guid isPermaLink="true">https://dave-cahill.com/japanese-kotoeri-input-method-disappears-on-mac-os-x/</guid>
        
        <category>japanese</category>
        
        
        <category>blog</category>
        
      </item>
    
  </channel>
</rss>
