<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Writing on Justin Tanner</title><link>https://jwtanner.com/posts/</link><description>Recent content in Writing on Justin Tanner</description><generator>Hugo</generator><language>en-US</language><lastBuildDate>Thu, 29 Aug 2024 00:00:00 +0000</lastBuildDate><atom:link href="https://jwtanner.com/posts/index.xml" rel="self" type="application/rss+xml"/><item><title>Porting my Hammerspoon script to Karabiner</title><link>https://jwtanner.com/posts/hammerspoon-to-karabiner/</link><pubDate>Thu, 29 Aug 2024 00:00:00 +0000</pubDate><guid>https://jwtanner.com/posts/hammerspoon-to-karabiner/</guid><description>&lt;p&gt;After successfully &lt;a href="https://jwtanner.com/posts/emacs-keybindings-to-rule-them-all/"&gt;configuring Hammerspoon&lt;/a&gt; to bring Emacs keybindings to every application on macOS, I decided to port my script to &lt;a href="https://karabiner-elements.pqrs.org/"&gt;Karabiner-Elements&lt;/a&gt;.&lt;/p&gt;&#10;&lt;h2 id="why-karabiner"&gt;Why Karabiner?&lt;/h2&gt;&#10;&lt;ol&gt;&#10;&lt;li&gt;&lt;strong&gt;Speed:&lt;/strong&gt; Karabiner is fast even with complex scripts.&lt;/li&gt;&#10;&lt;li&gt;&lt;strong&gt;Upgrades:&lt;/strong&gt; The Karabiner project keeps up to date with new macOS releases.&lt;/li&gt;&#10;&lt;li&gt;&lt;strong&gt;A Better Tool for the Job:&lt;/strong&gt; Karabiner is focused on shortcuts more than Hammerspoon.&lt;/li&gt;&#10;&lt;/ol&gt;&#10;&lt;h2 id="porting-the-configuration"&gt;Porting the Configuration&lt;/h2&gt;&#10;&lt;p&gt;Porting my Hammerspoon script to Karabiner wasn’t a simple copy-paste job. I had to port the code from Lua to JavaScript. Before I started, I looked for existing &lt;a href="https://ke-complex-modifications.pqrs.org/"&gt;karabiner configurations&lt;/a&gt; with Emacs keybindings. There were a few, but &lt;strong&gt;Emacs keybindings (rev13)&lt;/strong&gt; by &lt;a href="https://github.com/tekezo"&gt;tekezo&lt;/a&gt; was the closest to what I needed.&lt;/p&gt;</description></item><item><title>Ten years of TuckDB</title><link>https://jwtanner.com/posts/ten-years-of-tuckdb/</link><pubDate>Tue, 05 May 2020 00:00:00 +0000</pubDate><guid>https://jwtanner.com/posts/ten-years-of-tuckdb/</guid><description>&lt;p&gt;In 2010 we launched a website called &lt;a href="https://tuckdbpostcards.org"&gt;TuckDB&lt;/a&gt;, a database of antique postcards published by Raphael Tuck &amp;amp; Sons. Since then we&amp;rsquo;ve uploaded hundreds of thousands of images, expanded our database of postcards and launched a new website &lt;a href="https://tuckdbephemera.org"&gt;TuckDB Ephemera&lt;/a&gt;. We thought that now was a good time to reflect on the last 10 years and discuss our future plans.&lt;/p&gt;&#10;&lt;p&gt;TuckDB started as a Microsoft Access database born from the collaboration between two collectors, Richard Moulton and Allan Braun. As the MS Access database was reaching maturity, we considered publishing it as a book (as many collectors do), but instead decided to create a website.&lt;/p&gt;</description></item><item><title>Emacs keybindings to rule them all</title><link>https://jwtanner.com/posts/emacs-keybindings-to-rule-them-all/</link><pubDate>Sat, 06 Apr 2019 00:00:00 +0000</pubDate><guid>https://jwtanner.com/posts/emacs-keybindings-to-rule-them-all/</guid><description>&lt;p&gt;When Microsoft released &lt;a href="https://www.microsoft.com/en-ca/store/p/ubuntu/9nblggh4msv6"&gt;Ubuntu for Windows 10&lt;/a&gt; I took the opportunity to try web development on Windows after 8 years on a Mac. I was pleasantly surprised with Ubuntu on Windows 10. Having Ubuntu in your terminal is handy because it more closely resembles the servers I deploy my code to. But there was one frustrating aspect of switching back to Windows, keyboard shortcuts.&lt;/p&gt;&#10;&lt;p&gt;Some differences are easy to workaround such as &lt;code&gt;Ctrl+c&lt;/code&gt; and &lt;code&gt;Cmd+c&lt;/code&gt; (copy). Copy and paste can be dealt with by changing settings in the OS, but other shortcuts are quite different such as &lt;code&gt;Cmd+q&lt;/code&gt; and &lt;code&gt;Alt+F4&lt;/code&gt; (quit an app). Instead of memorizing these differences I wondered if there was a better solution.&lt;/p&gt;</description></item></channel></rss>