<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
    <title>Command-Tab</title>
    <link href="https://command-tab.com/feed.xml" rel="self" type="application/atom+xml"/>
    <link href="https://command-tab.com/"/>
    <id>https://command-tab.com/feed.xml</id>
    <updated>2026-06-12T07:00:00Z</updated>
    <author><name>Collin Allen</name></author>

    <entry>
        <title>Importing Certificates into Xcode 27&#39;s Device Hub</title>
        <link href="https://command-tab.com/2026/06/12/importing-certificates-into-xcode-27-device-hub/"/>
        <id>tag:command-tab.com,2026-06-12:importing-certificates-into-xcode-27-device-hub</id>
        <published>2026-06-12T21:14:00Z</published>
        <updated>2026-06-12T21:14:00Z</updated>
        <content type="html">&lt;p&gt;Xcode 27 introduced, among other new features, a new Device Hub app for developers that takes the place of the Simulator app. Where Simulator relied on separate windows for each device, Device Hub brings them all together into a single window where each simulated device is the detail view from a source list of devices on the left. It&amp;rsquo;s a more organized approach, made necessary by the wide variety of platforms Apple and Apple platform app developers have to build and test against.&lt;/p&gt;
&lt;p&gt;&lt;img alt=&#34;Xcode 27&#39;s Device Hub&#34; src=&#34;https://r2.command-tab.com/xcode27-device-hub.jpg&#34; /&gt;&lt;/p&gt;
&lt;p&gt;For enterprise users or developers building apps that communicate with web services over HTTPS, those services need to be using a certificate pair signed by a globally-trusted authority like DigiCert or Let&amp;rsquo;s Encrypt for them to work &amp;ldquo;out of the box&amp;rdquo; in the simulated OS. If they are using a certificate pair signed by a self-signed or in-house/enterprise CA (Certificate Authority), the OS will refuse to connect, displaying a &amp;ldquo;This connection is not private&amp;rdquo; interstitial in Safari or failing with a TLS trust error like &lt;code&gt;NSURLErrorServerCertificateUntrusted&lt;/code&gt;. Even if the host Mac has the CA root certificate installed and trusted, the simulated devices rely on their own per-virtual-device trust store.&lt;sup id=&#34;fnref:1&#34;&gt;&lt;a class=&#34;footnote-ref&#34; href=&#34;#fn:1&#34;&gt;1&lt;/a&gt;&lt;/sup&gt;&lt;/p&gt;
&lt;p&gt;In releases &lt;em&gt;prior&lt;/em&gt; to Xcode 27, you could resolve this by importing the root public certificate into the simulated OS. On iOS, this could be done by dragging and dropping the &lt;code&gt;.cer&lt;/code&gt; file onto the Simulator device window. Nothing would appear to happen, but you could then navigate to Settings, General, About, Certificate Trust Settings and mark the certificate as trusted. On tvOS, the process was even more complex, requiring you to open Settings, General, Privacy &amp;amp; Security, hold down the virtual remote&amp;rsquo;s Play button on the Share AppleTV Analytics option to bring up a hidden dialog, then enter an HTTP URL to a &lt;code&gt;.cer&lt;/code&gt; file. Similar to iOS, you&amp;rsquo;d have to mark it as trusted by navigating tvOS to Settings, General, About, Certificate Trust Settings and enabling the switch for that certificate. This process was slow and, especially on tvOS, quite obscure.&lt;/p&gt;
&lt;p&gt;In Xcode 27 with Device Hub, this process is much more uniform.&lt;/p&gt;
&lt;p&gt;&lt;img alt=&#34;Signed mobileconfig profile in Apple Configurator&#34; src=&#34;https://r2.command-tab.com/xcode27-signed-mobileconfig.jpg&#34; /&gt;&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Open &lt;a href=&#34;https://apps.apple.com/us/app/apple-configurator/id1037126344?mt=12&#34;&gt;Apple Configurator&lt;/a&gt; and create a new profile.&lt;/li&gt;
&lt;li&gt;Under General, give the profile a name, a unique identifier, and perhaps an organization name.&lt;/li&gt;
&lt;li&gt;Under Certificates on the left, click the Configure button and choose the &lt;code&gt;.cer&lt;/code&gt; file you wish to install into the simulated OS.&lt;/li&gt;
&lt;li&gt;From the File menu, choose &amp;ldquo;Sign Profile&amp;hellip;&amp;rdquo; and select a developer identity to sign with. Alternatively, you can sign profiles from the command line with &lt;code&gt;security cms -S -N &#34;My Signing Identity&#34; -i unsigned.mobileconfig -o signed.mobileconfig&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;In Device Hub, select the target device, then open the Profiles tab in the right-side device inspector.&lt;/li&gt;
&lt;li&gt;Click the plus button below the list and choose the &lt;code&gt;.mobileconfig&lt;/code&gt; file you just signed.&lt;/li&gt;
&lt;li&gt;The profile and its contained certificate should be immediately installed into the simulated OS. In iOS, you can verify by navigating to Settings, General, VPN &amp;amp; Device Management, and on tvOS the list of installed profiles is at Settings, General, Profile.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;While this new process does require you to wrap certificates in an Apple Configurator profile, this is much more consistent with how Apple&amp;rsquo;s device management system works, as it relies on signed profiles with policies, not loose &lt;code&gt;.cer&lt;/code&gt; files. And now, just by adding the &lt;code&gt;.mobileconfig&lt;/code&gt; to the Profiles section of the device inspector, the embedded certificate is automatically marked as trusted, greatly speeding up installation on new virtual devices.&lt;/p&gt;
&lt;div class=&#34;footnote&#34;&gt;
&lt;hr /&gt;
&lt;ol&gt;
&lt;li id=&#34;fn:1&#34;&gt;
&lt;p&gt;Much like Simulator devices, Xcode&amp;rsquo;s built-in SwiftUI Previews rely on their own dedicated trust store separate from both the host Mac &lt;em&gt;and&lt;/em&gt; Simulator/Device Hub devices, but there&amp;rsquo;s seemingly no way to configure certificates in that SwiftUI Preview environment. Apple folks, please see &lt;a href=&#34;rdar://FB10667327&#34;&gt;&lt;code&gt;FB10667327&lt;/code&gt;&lt;/a&gt;.&amp;#160;&lt;a class=&#34;footnote-backref&#34; href=&#34;#fnref:1&#34; title=&#34;Jump back to footnote 1 in the text&#34;&gt;&amp;#8617;&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;/div&gt;</content>
    </entry>

    <entry>
        <title>Macrochips</title>
        <link href="https://command-tab.com/2026/06/02/macrochips/"/>
        <id>tag:command-tab.com,2026-06-02:macrochips</id>
        <published>2026-06-03T00:48:51Z</published>
        <updated>2026-06-03T00:48:51Z</updated>
        <content type="html">&lt;p&gt;I was so inspired by &lt;a href=&#34;https://www.evilgeniuslabs.org/macrochips&#34;&gt;Jason Coon&amp;rsquo;s macrochips project&lt;/a&gt; &amp;ndash; 4&amp;rdquo; slate drink coasters laser-engraved to look like notable chips from computing history &amp;ndash; that I had to design and make some of my own. I don&amp;rsquo;t own a laser cutter, but the local hardware store had one available, and I was able to convince them to let me engrave similar &lt;a href=&#34;https://www.amazon.com/dp/B01G6MHU9Y&#34;&gt;slate coasters&lt;/a&gt; despite them not being among their pre-defined set of available engraving targets (keychains, mugs, and the like). But what to pick? I decided to go with some chips that were meaningful to me:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Apple A17 CPU&lt;/li&gt;
&lt;li&gt;Nintendo 64 CPU&lt;/li&gt;
&lt;li&gt;Sony PlayStation CPU&lt;/li&gt;
&lt;li&gt;Broadcom Raspberry Pi 5 CPU&lt;/li&gt;
&lt;li&gt;NVIDIA Media and Communications Processor (from the original Xbox)&lt;/li&gt;
&lt;li&gt;IBM PowerPC 603 CPU (from early PowerPC Macs)&lt;/li&gt;
&lt;li&gt;Motorola PowerPC G4 CPU (from later PowerPC Macs)&lt;/li&gt;
&lt;li&gt;AMD K6 CPU&lt;/li&gt;
&lt;li&gt;Intel i386 EX CPU&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;The hardest part of designing these was tracking down vector versions of some of these companies&amp;rsquo; now-obsolete logos, extracting them from PDF files and datasheets, but I think the designs turned out pretty good:&lt;/p&gt;
&lt;p&gt;&lt;img alt=&#34;My macrochip designs&#34; src=&#34;https://r2.command-tab.com/macrochips.png&#34; /&gt;&lt;/p&gt;
&lt;p&gt;Once designed, it was time to hand them off to the laser cutter:&lt;/p&gt;
&lt;p&gt;&lt;img alt=&#34;Laser cutter mid process&#34; src=&#34;https://r2.command-tab.com/macrochip-engraving.jpg&#34; /&gt;&lt;/p&gt;
&lt;p&gt;It was fun to watch the designs get laid down by the laser cutter:&lt;/p&gt;
&lt;video src=&#34;https://r2.command-tab.com/macrochip-engraving.mp4&#34; controls loop&gt;&lt;/video&gt;

&lt;p&gt;The results turned out alright:&lt;/p&gt;
&lt;p&gt;&lt;img alt=&#34;My macrochip designs as slate coasters&#34; src=&#34;https://r2.command-tab.com/macrochip-coasters.jpg&#34; /&gt;&lt;/p&gt;
&lt;p&gt;Though, there were a number of text layers I forgot to convert to outlines, so the engraving prep software replaced them with Myriad instead of the specific fonts I had chosen. As well, a few early attempts were also a little mis-aligned. I could certainly do better if I had time to sit and make adjustments with my &lt;em&gt;own&lt;/em&gt; laser cutter&amp;hellip;&lt;/p&gt;</content>
    </entry>

    <entry>
        <title>Indiana Jones and the Great Circle</title>
        <link href="https://command-tab.com/2026/05/30/indiana-jones-and-the-great-circle/"/>
        <id>tag:command-tab.com,2026-05-30:indiana-jones-and-the-great-circle</id>
        <published>2026-05-31T03:37:17Z</published>
        <updated>2026-05-31T03:37:17Z</updated>
        <content type="html">&lt;p&gt;&lt;img alt=&#34;Indiana Jones and the Great Circle title screen&#34; src=&#34;https://r2.command-tab.com/indy-title.jpg&#34; /&gt;&lt;/p&gt;
&lt;p&gt;I finally caught up to 2024 and finished playing &lt;em&gt;Indiana Jones and the Great Circle&lt;/em&gt; to 100%. I had been putting off starting the game for some time because I&amp;rsquo;m really not much of a gamer, and I find it oddly difficult to internalize new game control schemes and menu systems. But once I finally picked up the controller, it didn&amp;rsquo;t take long to get acquainted with the intuitive grip and whip system, and I&amp;rsquo;m so glad I did, because this game is really something special.&lt;/p&gt;
&lt;h2 id=&#34;look-and-feel&#34;&gt;Look and Feel&lt;/h2&gt;
&lt;p&gt;MachineGames did a fantastic job at matching the feel of the source material. The levels are dense with detail, the typography looks just right, and there are both first person in-game and third person cutscene references to the films&amp;rsquo; cinematic choices at every turn. Most notably, the use of hard contrasting light and shadow appears fairly often while exploring. Following along with the game&amp;rsquo;s story feels like enjoying a lost installment from the original trilogy, which is a bar I didn&amp;rsquo;t expect it to clear going in.&lt;/p&gt;
&lt;p&gt;&lt;img alt=&#34;A spotlight casts Indy&#39;s shadow on the wall&#34; src=&#34;https://r2.command-tab.com/indy-shadow.jpg&#34; /&gt;
&lt;em&gt;Carefully placed spotlights and torches regularly cast Indy&amp;rsquo;s recognizable shadow.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;img alt=&#34;Light shines across Indy&#39;s eyes as he thinks&#34; src=&#34;https://r2.command-tab.com/indy-eye-light.jpg&#34; /&gt;
&lt;em&gt;Light reveals Indy&amp;rsquo;s eyes when he&amp;rsquo;s making a connection or solving a puzzle.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;img alt=&#34;Welcome to Sukhothai screen&#34; src=&#34;https://r2.command-tab.com/indy-sukhothai.jpg&#34; /&gt;
&lt;em&gt;&lt;a href=&#34;https://www.teff-type.com/product/open-kapitalen/&#34;&gt;Open Kapitalen&lt;/a&gt; and &lt;a href=&#34;https://www.r41.it/en/eurostile&#34;&gt;Eurostile Extended&lt;/a&gt; welcome you to new regions and lend film authenticity.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;Choosing a mostly first-person adventure also seemed like a big development risk. For an iconic character like Indiana Jones, it&amp;rsquo;s definitely a choice to &lt;em&gt;not&lt;/em&gt; show him for large swaths of the game. To make it convincing, they had to lean hard into what it would be like to &lt;em&gt;be&lt;/em&gt; Indiana Jones. So much would revolve around what you can do with your hands and whip and items. Therefore, that in-game system had to feel very comfortable to use and be pretty extensive. I had played a few previous Indiana Jones (and of course, &lt;em&gt;Tomb Raider&lt;/em&gt;) games which were all third person, so going in, I thought first person would be weird or off-putting, but this game does it so well that I now prefer it over third person or over-the-shoulder views.&lt;/p&gt;
&lt;p&gt;The developers clearly spent a lot of time studying the films. They picked up so many of Indy&amp;rsquo;s smirks, quirks, and mannerisms, and when combined with Troy Baker&amp;rsquo;s shockingly accurate voiceover work, you&amp;rsquo;d be surprised to learn it wasn&amp;rsquo;t voiced by and motion captured from Harrison Ford himself. The humor from the films is also ever present and used to great effect. Even beyond the dialogue, the yells, grunts, and exclamations all sound so perfect, capturing Indy&amp;rsquo;s intonation well.&lt;/p&gt;
&lt;p&gt;What really put it over the top for me, though, is the music and sound. The game features a lovely and familiar score, threading John Williams&amp;rsquo; original themes through new material in a way that sounds completely organic and unforced, rather than just quoting the &lt;em&gt;Raiders March&lt;/em&gt; and calling it a day. As well, the sound effects are also very much on point, with whip, punch, and gunfire having the signature cracks, thuds, and pops that seem right out of the films.&lt;/p&gt;
&lt;p&gt;There are a few &lt;a href=&#34;https://www.youtube.com/watch?v=FsxTQvo5QhM&#34;&gt;behind-the-scenes videos&lt;/a&gt; that &lt;a href=&#34;https://youtube.com/watch?v=7VRZJPWAW_g&#34;&gt;go deep into&lt;/a&gt; all of this, and I watched them with a big stupid grin on my face. Hearing the development team talk about watching the films together, cataloging the core details that had to be right, and obsessing over everything clearly paid off.&lt;/p&gt;
&lt;p&gt;It&amp;rsquo;s also just a gorgeous game. The &lt;a href=&#34;https://en.wikipedia.org/wiki/Id_Tech_7&#34;&gt;id Tech 7&lt;/a&gt; engine looks incredible on modern devices, rendering lighting and geometry in more detail than I&amp;rsquo;m used to in games (again, I don&amp;rsquo;t play a ton of games). The amount of just &lt;em&gt;stuff&lt;/em&gt; to see in the levels is impressive. I can&amp;rsquo;t even imagine how long it took to set-dress all these areas. Notably, many of these items can be used as weapons or distractions, including wrenches, frying pans, mops, and bottles.&lt;/p&gt;
&lt;p&gt;&lt;img alt=&#34;Indiana Jones turns to think, revealing his adventure companion Gina behind him&#34; src=&#34;https://r2.command-tab.com/indy-turn.jpg&#34; /&gt;
&lt;em&gt;Just marvel at the level of detail achieved here: The fine individual hair, the wear on the seams of the leather jacket, the distressed fur felt on the fedora, and the specular highlights on the sclera of the eyes.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;img alt=&#34;Looking through a town and down the main river in Sukhothai&#34; src=&#34;https://r2.command-tab.com/indy-sukhothai-detail.jpg&#34; /&gt;
&lt;em&gt;Every region has loads to explore, little sub-plots to follow, and NPCs going about their business. Some casually relay details or hints towards as-yet-unsolved puzzles.&lt;/em&gt;&lt;/p&gt;
&lt;h2 id=&#34;gameplay&#34;&gt;Gameplay&lt;/h2&gt;
&lt;p&gt;The game heavily encourages you to lean on Indy&amp;rsquo;s punch and whip maneuvers rather than using his revolver. Ammo isn&amp;rsquo;t something to be spent carelessly. Rather, you save it for the moments when you get into a jam that&amp;rsquo;s larger than you can otherwise take on. But the cost of using a loud weapon is that nearby enemies will overhear it, blow the whistle on you, and rally reinforcements, so you need to pick and choose your battles carefully rather than playing it like a run-and-gun first person shooter. While not a stealth game, climbing, disguise, distraction, and a healthy dose of hand-to-hand combat will get you further than running headlong into battle. Certain classes of enemies will also see through your various disguises and similarly call attention to you, so you need to be aware of who&amp;rsquo;s nearby.&lt;/p&gt;
&lt;p&gt;&lt;img alt=&#34;Looking down from atop a scaffold, reloading&#34; src=&#34;https://r2.command-tab.com/indy-reload.jpg&#34; /&gt;
&lt;em&gt;Attention to detail is everywhere in this game. Here, the number of remaining shots in the heads-up display corresponds to the number of visibly unfired rounds in the revolver. The reload animation has Indy individually pluck out spent rounds and replace them, rotating the cylinder for each.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;The game balances exploration, discovery, collection, puzzle solving, and storytelling well. I rarely found myself spending too much time doing any one of those activities. The puzzles aren&amp;rsquo;t particularly difficult, with key items often just in adjacent crawlspaces, but they&amp;rsquo;re also not &lt;em&gt;too&lt;/em&gt; simple. They feel calibrated to make you think, but aren&amp;rsquo;t so onerous that they impede advancing the story.&lt;/p&gt;
&lt;p&gt;Along the way, you pick up money, bandages, food, local maps, and Adventure Books that expand your capabilities. The books are the game&amp;rsquo;s skill system, where you can improve your abilities like reducing reloading time, increasing damage dealt against enemies, or boosting climb and run stamina, and finding them is a nice reward for exploration. Once learned, they make future encounters progressively more achievable and boost your confidence to take swings at more aggressive confrontations. Indy is a scholar and a problem-solver first, so getting better at the job through research feels like the right approach.&lt;/p&gt;
&lt;p&gt;&lt;img alt=&#34;A view of the menu system listing Adventure Books that boost combat skills&#34; src=&#34;https://r2.command-tab.com/indy-books.jpg&#34; /&gt;
&lt;em&gt;Acquiring and reading Adventure Books boosts combat, survival, brawling, etc.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;img alt=&#34;Indiana Jones&#39; Pause menu&#34; src=&#34;https://r2.command-tab.com/indy-pause-menu.jpg&#34; /&gt;
&lt;em&gt;Even the Pause menu looks like it belongs. Also, hey, it&amp;rsquo;s me: I&amp;rsquo;m &lt;code&gt;mac_minded&lt;/code&gt; on PlayStation and &lt;code&gt;Mac Minded&lt;/code&gt; on Xbox.&lt;/em&gt;&lt;/p&gt;
&lt;h2 id=&#34;that-belongs-in-a-museum&#34;&gt;That Belongs in a Museum&lt;/h2&gt;
&lt;p&gt;&lt;em&gt;The Order of Giants&lt;/em&gt; DLC is a worthwhile addition, though it left me wanting even more time in this world. What MachineGames accomplished here is astounding. Licensed games based on beloved properties like Indiana Jones have a history of often getting surface details right but missing what actually made the source material work. This one didn&amp;rsquo;t miss. It understood what &lt;em&gt;Indiana Jones&lt;/em&gt; is about well enough to make a game that genuinely belongs on the same shelf as the films. I don&amp;rsquo;t know if it will happen, but I would very much love a sequel.&lt;/p&gt;</content>
    </entry>

    <entry>
        <title>Using uv with RedHat Python Images</title>
        <link href="https://command-tab.com/2026/04/25/using-uv-with-red-hat-python-images/"/>
        <id>tag:command-tab.com,2026-04-25:using-uv-with-red-hat-python-images</id>
        <published>2026-04-26T04:38:01Z</published>
        <updated>2026-04-26T04:38:01Z</updated>
        <content type="html">&lt;p&gt;When deploying web apps, I use containers almost exclusively. Containerization lets you package up everything your app needs and ship all of it to a container runtime in a single archive. While it has some drawbacks, it&amp;rsquo;s still a significant net improvement over web app deployment methods that pre-date it.&lt;/p&gt;
&lt;p&gt;I use &lt;a href=&#34;https://astral.sh/uv&#34;&gt;uv&lt;/a&gt; to install dependencies into a container image, but I typically &lt;em&gt;don&amp;rsquo;t&lt;/em&gt; want to create a Python virtualenv within the container because then there are two levels of isolation to contend with. Just the container alone is sufficient. However, I still want all the benefits of using uv, particularly the specific tree of dependency versions and their hashes listed in the &lt;code&gt;uv.lock&lt;/code&gt; file. For this reason, I configure uv to install the listed dependencies into the container&amp;rsquo;s &amp;ldquo;system&amp;rdquo; Python at install time, rather than a virtualenv &lt;code&gt;.venv/&lt;/code&gt; directory:&lt;/p&gt;
&lt;pre&gt;&lt;code class=&#34;language-dockerfile&#34;&gt;FROM registry.redhat.io/rhel9/python-312:latest

WORKDIR /opt/app-root/src

# Use the &amp;quot;system&amp;quot; Python for uv (the container&#39;s)
ENV UV_SYSTEM_PYTHON=1
ENV UV_PROJECT_ENVIRONMENT=/opt/app-root

# Install uv
RUN pip install --upgrade pip==26.0.1 &amp;amp;&amp;amp; pip install --upgrade uv==0.11.4

# Copy only dependency files first to cache the dependency installation as its own container image layer.
# --active: prefer the environment specified by VIRTUAL_ENV (in the upstream RedHat Python base image)
# --frozen: treat the versions in uv.lock as the source of truth and skips updating the lockfile
# --no-dev: skip dev dependencies, since this is a non-development environment
# --compile-bytecode: compile Python files to .pyc files to trade CI build time for faster container start time
# --no-python-downloads disables automatic downloads of Python so we use the container&#39;s
COPY pyproject.toml uv.lock .
RUN uv sync --active --frozen --no-dev --compile-bytecode --no-python-downloads

# Copy the rest of the codebase in a separate layer
COPY . .

CMD [&amp;quot;granian&amp;quot;, &amp;quot;app:app&amp;quot;]
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;Those options will use uv to install dependencies into the container-provided Python environment at &lt;code&gt;/opt/app-root/&lt;/code&gt; in the Python image rather than creating a new virtualenv at &lt;code&gt;/opt/app-root/src/.venv/&lt;/code&gt;. With this, you can omit &lt;code&gt;uv run ...&lt;/code&gt; from container commands, cron jobs, etc. Opening a shell into this container will drop you into a place where the dependencies are installed and readily available without having to activate a virtualenv, prefix tool invocations with &lt;code&gt;uv run&lt;/code&gt;, or specify a container &lt;code&gt;ENTRYPOINT&lt;/code&gt;).&lt;/p&gt;</content>
    </entry>

    <entry>
        <title>Push Notifications with Brrr</title>
        <link href="https://command-tab.com/2026/04/20/push-notifications-with-brrr/"/>
        <id>tag:command-tab.com,2026-04-20:push-notifications-with-brrr</id>
        <published>2026-04-21T00:13:14Z</published>
        <updated>2026-04-21T00:13:14Z</updated>
        <content type="html">&lt;p&gt;iOS developer Simon Støvring recently launched &lt;a href=&#34;https://brrr.now&#34;&gt;Brrr&lt;/a&gt;, a convenient and low-friction web service and corresponding iOS app deliver push notifications to your iOS devices using only an HTTP request. In this way, it can integrate with almost any service or device that is internet-connected. Options allow you to customize the notification content, alert sound, destination URL, image, and more.&lt;/p&gt;
&lt;p&gt;Brrr fills the particular niche of when you want a quick notification from a script, a cron job, or home automation trigger without building your own push notification infrastructure. It&amp;rsquo;s not the first app of its kind to do this, but it does so very simply. And at $9.99/year, it&amp;rsquo;s very reasonably priced for what it does.&lt;/p&gt;</content>
    </entry>

    <entry>
        <title>A Decade and Counting</title>
        <link href="https://command-tab.com/2026/04/19/a-decade-and-counting/"/>
        <id>tag:command-tab.com,2026-04-19:a-decade-and-counting</id>
        <published>2026-04-20T03:02:01Z</published>
        <updated>2026-04-20T03:02:01Z</updated>
        <content type="html">&lt;p&gt;In 2023, I shared this anecdote at the Pixar Anniversary Awards celebration for people who reached 10 years of employment:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;I was late on my first day at Pixar. I&amp;rsquo;m not one of those perpetually-late-to-everything people. I pride myself on being on time or earlier for events. But on my first day at Pixar in the summer of 2013, I wildly underestimated how long it would take to get from the North Bay to Emeryville during morning rush hour traffic.&lt;/p&gt;
&lt;p&gt;As the minutes ticked over my scheduled orientation start time, my palms were starting to sweat against the steering wheel. Cars were barely inching along, and the time kept getting later and later. Soon, the recruiter I had been working with started calling and urgently asking, &amp;ldquo;Are you still coming?&amp;rdquo;, and I swore that I was indeed still on my way and it would just be a little longer. Taking a risk, I swerved into the carpool lane for the last mile or so and I arrived &amp;ldquo;only&amp;rdquo; 40 minutes late and bolted into the Steve Jobs Building. Graciously, they rushed me over to the theater to catch up with everyone else to watch a screening of &lt;a href=&#34;https://en.wikipedia.org/wiki/Party_Central&#34;&gt;&lt;em&gt;Party Central&lt;/em&gt;&lt;/a&gt; at what seemed like maximum volume, which was a hell of a way to kick start a morning.&lt;/p&gt;
&lt;p&gt;So, I want to thank my recruiter for not turning me away when I finally arrived, and want to thank everyone at Pixar for being such a truly wonderful group of people. I love working with all of you and look forward to the next decade. I promise I&amp;rsquo;ll be on time.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;It&amp;rsquo;s been a few years since that ceremony, and Pixar continues to be a place where I want to do my best work. The care and enthusiasm everyone pours into their particular craft is, I hope, evident in our body of work.&lt;/p&gt;
&lt;p&gt;What inspires me to do my best work? A few things I&amp;rsquo;ve identified over the years.&lt;/p&gt;
&lt;p&gt;The first and most important, I think, is being given the authority and autonomy to gather requirements for, design, engineer, and ship tools that help people get their job done. These tools provide users with more time to focus on doing creative work rather than wrangling minutiae, and it&amp;rsquo;s rewarding to be able to turn an idea into a released product without a bunch of red tape.&lt;/p&gt;
&lt;p&gt;Working alongside people who genuinely give a damn about their work also matters too, particularly people will give honest critical feedback when my own work isn&amp;rsquo;t up to par. We hold each other&amp;rsquo;s standards high, and do so with respect, where the goal is to lift up the work and not drag the other person down. And very often the best technical solutions win because the right answer, once someone speaks it into the room, is clear to all involved and we move forward in agreement.&lt;/p&gt;
&lt;p&gt;There&amp;rsquo;s also the proximity to the actual creative work. The end users of the tools I create are animators, producers, production staff, and so on. When my tools work well, it ripples into a film, even though I&amp;rsquo;m not among those who touch the film&amp;rsquo;s pixels directly.&lt;/p&gt;
&lt;p&gt;Finally, there&amp;rsquo;s the constraint of a specific, known audience.&lt;sup id=&#34;fnref:1&#34;&gt;&lt;a class=&#34;footnote-ref&#34; href=&#34;#fn:1&#34;&gt;1&lt;/a&gt;&lt;/sup&gt; Building for co-workers is different from building for &amp;ldquo;users.&amp;rdquo; I know many of them by name. That specificity tends to produce more considered work than if I&amp;rsquo;m building for an abstraction. And the feedback I get about the work is everywhere, from conversations in Slack to spontaneous &amp;ldquo;Hey, wouldn&amp;rsquo;t it be cool if&amp;hellip;?&amp;rdquo; spitballing in the lunch line.&lt;/p&gt;
&lt;p&gt;None of this is a recipe, and I&amp;rsquo;m not sure it&amp;rsquo;s replicable. These are conditions I largely stumbled into, often by luck and the kindness of others, and only later learned to recognize as what was making the work feel meaningful. After more than a decade in, I&amp;rsquo;m still here, which probably says something about how rare that is to find.&lt;/p&gt;
&lt;div class=&#34;footnote&#34;&gt;
&lt;hr /&gt;
&lt;ol&gt;
&lt;li id=&#34;fn:1&#34;&gt;
&lt;p&gt;Building for a specific audience is also convenient and beneficial from a technical standpoint because the target devices are a much more limited and homogenous set, for example, modern &amp;ldquo;evergreen&amp;rdquo; browsers and Apple platforms. I can therefore take advantage of new features and APIs quite readily, and more quickly deprecate and remove cruft.&amp;#160;&lt;a class=&#34;footnote-backref&#34; href=&#34;#fnref:1&#34; title=&#34;Jump back to footnote 1 in the text&#34;&gt;&amp;#8617;&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;/div&gt;</content>
    </entry>

    <entry>
        <title>Going Electric</title>
        <link href="https://command-tab.com/2026/04/15/going-electric/"/>
        <id>tag:command-tab.com,2026-04-15:going-electric</id>
        <published>2026-04-16T04:05:37Z</published>
        <updated>2026-04-16T04:05:37Z</updated>
        <content type="html">&lt;p&gt;I am done with gasoline and I&amp;rsquo;m never going back. Early last year, I sold my gasoline-powered car and went all in on an electric vehicle. I skipped right over hybrids, which I viewed as being burdened with the additional complexity of having to haul around two sources of locomotion. I figured that if I was going to try something new, I should just make the switch and not try to hedge against the new thing at the cost of added complexity and maintenance. Electric vehicles are well enough established (particularly in California) that there was little reason to avoid making the jump, and I&amp;rsquo;m so glad I made the switch.&lt;/p&gt;
&lt;p&gt;After checking out everything from the large F-150 Lightning down to a petite little Chevy Bolt, I settled on a used 2022 Volkswagen ID.4 which had just come off lease. With only about 20,000 miles on the odometer, it was still very much like new. But the fact that it was previously a lease meant it was likely handled carefully, and the fact that it was now used meant it was extremely affordable for an EV at a time when EVs are often more expensive than gas vehicles. I ended up paying about $25,000 for it, and that felt like a steal for what I got.&lt;/p&gt;
&lt;p&gt;This being my first EV, I was initially a little bit wary about going electric, but now that I have a year&amp;rsquo;s worth of daily-driver experience with the technology, it&amp;rsquo;s so crystal clear to me that this is the future of vehicles and that the internal combustion engine&amp;rsquo;s best days are behind it. It feels like a seismic shift both in the way I drive and use energy.&lt;/p&gt;
&lt;p&gt;Like most EVs, the ID.4 has some really great features. The very first difference you notice is the instant acceleration. You start moving the moment you press the pedal. The best way to describe it is like the difference between pre-iPhone touchscreens which often struggled to keep up with the movement of your finger, whereas the iPhone made the screen contents feel like they moved directly with your finger. EV acceleration feels tactile and direct, rather than propagated through a buffer delay. Because it&amp;rsquo;s electric, the ID.4 moves so smoothly and quietly that it really feels like a much more expensive luxury car. It also has a tight turning radius and can thus easily achieve a 180 degree turn-around inside the width of a narrow street without having to perform a multi-point turn.&lt;/p&gt;
&lt;p&gt;I was coming from a 2009 Toyota Corolla base trim, so many of the features of the ID.4 are just the current state of vehicles made within the last decade and not EV exclusives, but are nonetheless delightful to have, including:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Illuminated exterior and (RGB) interior handles&lt;/li&gt;
&lt;li&gt;Comfortable heated seats&lt;/li&gt;
&lt;li&gt;Heated steering wheel&lt;/li&gt;
&lt;li&gt;Remote climate control&lt;/li&gt;
&lt;li&gt;Back up camera&lt;/li&gt;
&lt;li&gt;Side mirror lane occupancy indicators&lt;/li&gt;
&lt;li&gt;Built-in USB-C ports&lt;/li&gt;
&lt;li&gt;Apple CarPlay&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;CarPlay, in particular, was a must-have. The Chevy dealer tried to convince me that GM&amp;rsquo;s Bluetooth solution was still very good, but I wasn&amp;rsquo;t having that at all. The ID.4 also has walk-up unlock, walk-away lock, and auto-enters Park, so I never really think about what mode the car is in: I walk up (it unlocks), I get in, buckle, drive somewhere, stop, unbuckle (it enters Park), then I just get out and walk away (it locks). I never have to think about turning it on or off myself, making for a frictionless experience.&lt;/p&gt;
&lt;p&gt;The ID.4 has two drive modes, &amp;ldquo;D&amp;rdquo; and &amp;ldquo;B&amp;rdquo;. D mode (the default Drive mode) makes the car drive much more like gas car, with the ability to coast for longer distances and do little regenerative braking. But toggle into B mode and the car behaves more like its true EV self, doing more aggressive regenerative braking when you ease off the accelerator pedal, allowing you to recover some electricity while cornering or going downhill. It took a short few days before B mode was far and away my preferred mode, making the D mode (and thus the behavior of gas cars) feel almost slippery by comparison.&lt;/p&gt;
&lt;p&gt;The major consideration when choosing an EV is how and when you&amp;rsquo;ll charge the battery. Chargers are popping up in more and more places, but you very likely spend a lot of time not driving with the car parked somewhere for hours at a time. That&amp;rsquo;s probably the best time and place to charge. A couple years ago, we installed a modest home solar and battery storage system, and adding a home EV charger (Level 2 @ 220V 40A) charger later was a straightforward addition. While I could have achieved sufficient charging without any special charger using a regular household plug (Level 1 @ 110V 15-20A), the Level 2 home charger makes filling up my car only take a few hours and is easily done while I&amp;rsquo;m sleeping or working from home while the sun is shining on the solar panels. Powering my car is now effectively free using energy from the sun instead of &lt;a href=&#34;https://www.youtube.com/watch?v=KtQ9nt2ZeGM&#34;&gt;disposable energy from oil&lt;/a&gt;. I can plug in at convenient times and almost always have a &amp;ldquo;full tank&amp;rdquo; ready to go without having to consider the gas station on the way home since my home &lt;em&gt;is&lt;/em&gt; the station. And so is my work. And the grocery store. Almost every destination has something available or nearby, but having a sufficient charger at home is what really puts &amp;ldquo;range anxiety&amp;rdquo; fears to rest.&lt;/p&gt;
&lt;p&gt;On the interior, one of the compelling reasons for choosing the ID.4 was its minimalist, unadorned heads-up display. The dashboard user interface is big, bright, and clear, with simple numerals for the speed, flanked by cruise control and next-turn instructions (which can use the built-in navigation or CarPlay). This approach was not true for the Kia Niro, which had a fake analog speedometer needle and gradients and shadows abound.&lt;/p&gt;
&lt;p&gt;&lt;img alt=&#34;ID.4 Dashboard&#34; src=&#34;https://r2.command-tab.com/id4-dash.jpg&#34; /&gt;&lt;/p&gt;
&lt;p&gt;There are a few things that could be better, though:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;The steering wheel and center console use touch controls, and while they&amp;rsquo;re not easy to press accidentally, they do require you to &lt;a href=&#34;https://www.wired.com/story/why-car-brands-are-finally-switching-back-to-buttons/&#34;&gt;look away from the road to adjust&lt;/a&gt;. In my Corolla, I could adjust the heat mode, fan speed, and temperature by feel alone, and that felt safer. VW is, thankfully, &lt;a href=&#34;https://www.autocar.co.uk/car-news/new-cars/volkswagen-reintroducing-physical-controls-vital-functions&#34;&gt;moving away from touch controls&lt;/a&gt; in &lt;a href=&#34;https://www.caranddriver.com/news/a69916699/volkswagen-interior-physical-buttons-return/&#34;&gt;future models&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;Remote climate control sometimes takes a minute or more to respond. I never had this feature at all before, though, so any availability was still a welcome feature.&lt;/li&gt;
&lt;li&gt;Wireless CarPlay is convenient, but a little laggy and skips occasionally. This might just be wireless CarPlay&amp;rsquo;s fault and not VW&amp;rsquo;s. Wired CarPlay via USB-C works reliably, is very responsive, and charges my phone faster than the available Qi charger (and with less heat).&lt;/li&gt;
&lt;li&gt;I wish the VW app had a web app counterpart. How hard could this be, given they already have an app?&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Minor gripes aside, none of these are dealbreakers. Overall, the ID.4 is a competitively priced EV that was, for me, a great entry into the world of electric vehicles. My experience so far has been extremely positive, and if it were totaled, I would buy one again in a heartbeat. I&amp;rsquo;m never buying a gasoline-powered &lt;em&gt;anything&lt;/em&gt; again.&lt;/p&gt;</content>
    </entry>

    <entry>
        <title>Running Nuxt 3 Behind an nginx Reverse Proxy</title>
        <link href="https://command-tab.com/2022/04/24/running-nuxt-3-behind-an-nginx-reverse-proxy/"/>
        <id>tag:command-tab.com,2022-04-24:running-nuxt-3-behind-an-nginx-reverse-proxy</id>
        <published>2022-04-25T01:47:06Z</published>
        <updated>2022-04-25T01:47:06Z</updated>
        <content type="html">&lt;p&gt;I was attempting to run &lt;a href=&#34;https://github.com/nuxt/framework&#34;&gt;Nuxt 3&lt;/a&gt; RC1 in development mode behind a local nginx reverse proxy, but ran into several issues. There are a number of reasons to run a development application server behind a &lt;a href=&#34;https://en.wikipedia.org/wiki/TLS_termination_proxy&#34;&gt;TLS-terminating reverse proxy&lt;/a&gt;, including more closely mirroring a production setup, ensuring an application performs correctly when proxied, and gaining HTTPS support to enable use of  newer &lt;a href=&#34;https://www.digicert.com/blog/https-only-features-in-browsers&#34;&gt;HTTPS-only user-agent APIs&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;However, when nginx reverse proxies to the Nuxt server using a configuration like the following, the application will load correctly in the browser but &lt;a href=&#34;https://vitejs.dev&#34;&gt;Vite&lt;/a&gt; (bundled with Nuxt) will no longer be able connect to its backend websocket server to provide hot module replacement (HMR).&lt;/p&gt;
&lt;pre&gt;&lt;code class=&#34;language-nginx&#34;&gt;location / {
  proxy_pass http://127.0.0.1:3000;
  proxy_set_header X-Real-IP $remote_addr;
  proxy_set_header Host $host;
  proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
}
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;To fix this, Vite needs to be made aware it&amp;rsquo;s being reverse proxied, and nginx needs to pass through Vite&amp;rsquo;s websocket connection.&lt;/p&gt;
&lt;p&gt;In the Nuxt config (&lt;code&gt;nuxt.config.ts&lt;/code&gt;), add the following Vite config:&lt;/p&gt;
&lt;pre&gt;&lt;code class=&#34;language-javascript&#34;&gt;vite: {
  server: {
    hmr: {
      protocol: &#39;wss&#39;,
      clientPort: 443,
      path: &#39;hmr/&#39;
    }
  }
}
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;Vite will now use the secure websocket protocol over the same HTTPS port as the application, but it will request it at a new, distinct path.&lt;/p&gt;
&lt;p&gt;In the nginx config, add a new &lt;code&gt;location&lt;/code&gt; directive to match the configured Vite path (&lt;code&gt;/_nuxt&lt;/code&gt; is always prepended), have it perform an HTTP Upgrade, and then reverse proxy to Vite&amp;rsquo;s websocket server, which always listens on port 24678:&lt;/p&gt;
&lt;pre&gt;&lt;code class=&#34;language-nginx&#34;&gt;location /_nuxt/hmr/ {
  proxy_http_version 1.1;
  proxy_set_header Upgrade $http_upgrade;
  proxy_set_header Connection &amp;quot;Upgrade&amp;quot;;
  proxy_pass http://127.0.0.1:24678;
}
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;After restarting the development server and nginx, Nuxt 3 and Vite HMR work great behind nginx, which now handles TLS termination and reverse proxying of HTTP and websocket traffic.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Update 2023-09-28&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;As of Nuxt 3.7.4, the &lt;code&gt;nuxt.config.ts&lt;/code&gt; configuration &lt;a href=&#34;https://github.com/nuxt/nuxt/issues/12003#issuecomment-1738373498&#34;&gt;is unnecessary&lt;/a&gt;, though having the following nginx config in place avoids a WebSocket error about the WebSocket host being undefined:&lt;/p&gt;
&lt;pre&gt;&lt;code class=&#34;language-nginx&#34;&gt;location /_nuxt/ {
    proxy_http_version 1.1;
    proxy_set_header Upgrade $http_upgrade;
    proxy_set_header Connection &amp;quot;upgrade&amp;quot;;
    proxy_set_header Host $host;
    proxy_cache_bypass $http_upgrade;
    proxy_pass http://127.0.0.1:3000;
}
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;Note the differences from the above config &amp;ndash; the location path dropped &lt;code&gt;hmr/&lt;/code&gt;, the Vite HMR port (&lt;code&gt;24678&lt;/code&gt;) became the default Nuxt port (&lt;code&gt;3000&lt;/code&gt;), and the &lt;code&gt;Host&lt;/code&gt; header was also added (but the &lt;code&gt;Host&lt;/code&gt; header is likely not critical for this scenario).&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Update 2026-03-23&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Tangentially related: In development, &lt;a href=&#34;https://nuxt.com/modules/icon&#34;&gt;Nuxt Icon&lt;/a&gt; collections are loaded from the Nuxt server at &lt;code&gt;/api/_nuxt_icon&lt;/code&gt;, but this path might introduce a conflict if you are integrating a completely separate non-Nuxt API at &lt;code&gt;/api&lt;/code&gt;. In my case, I often have a Python API expecting requests bearing that path prefix. My local nginx setup forwards requests with &lt;code&gt;/api&lt;/code&gt; prefixed paths to Python, resulting in a Nuxt 404 on Nuxt Icon collection manifests such as &lt;code&gt;/api/_nuxt_icon/bi.json?icons=escape&lt;/code&gt; or &lt;code&gt;/api/_nuxt_icon/solar.json?icons=check&lt;/code&gt;.&lt;/p&gt;
&lt;p&gt;Setting a &lt;code&gt;localApiEndpoint&lt;/code&gt; overrides the default value of &lt;code&gt;/api/_nuxt_icon&lt;/code&gt; both in how the Nuxt server route is offered and how the Nuxt client requests the collection JSON. The &lt;a href=&#34;https://github.com/nuxt/icon/issues/185&#34;&gt;issue&lt;/a&gt; and &lt;a href=&#34;https://github.com/nuxt/icon/pull/191&#34;&gt;fix&lt;/a&gt; are both documented on GitHub. In &lt;code&gt;nuxt.config.ts&lt;/code&gt;, add something like the following:&lt;/p&gt;
&lt;pre&gt;&lt;code class=&#34;language-javascript&#34;&gt;icon: {
  localApiEndpoint: &#39;/_nuxt_icon&#39;,
},
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;Note that &lt;code&gt;/api&lt;/code&gt; is absent from the value of &lt;code&gt;localApiEndpoint&lt;/code&gt;, durecting Nuxt Icon to use a path &lt;em&gt;other than&lt;/em&gt; &lt;code&gt;/api/_nuxt_icon&lt;/code&gt;. Anything that will not be picked up by an external API is valid here, and will make the Nuxt Icon module work again.&lt;/p&gt;</content>
    </entry>

    <entry>
        <title>Building cen64 on macOS</title>
        <link href="https://command-tab.com/2020/01/11/building-cen64-on-macos/"/>
        <id>tag:command-tab.com,2020-01-11:building-cen64-on-macos</id>
        <published>2020-01-12T03:15:14Z</published>
        <updated>2020-01-12T03:15:14Z</updated>
        <content type="html">&lt;p&gt;For testing Nintendo 64 homebrew ROMs, &lt;a href=&#34;https://github.com/n64dev/cen64&#34;&gt;cen64&lt;/a&gt; is the most accurate emulator (though it doesn&amp;rsquo;t run at full speed yet). Here&amp;rsquo;s how to build it from source on macOS:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Install XQuartz from the official &lt;a href=&#34;https://www.xquartz.org/&#34;&gt;distributed disk image&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;brew install cmake glew&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;git clone https://github.com/n64dev/cen64.git&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;cd cen64&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;mkdir build&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;cd build&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;cmake ..&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;make&lt;/code&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;If you&amp;rsquo;d like to enable cen64&amp;rsquo;s debug logging, create a debug build when running &lt;code&gt;cmake&lt;/code&gt;:&lt;/p&gt;
&lt;pre&gt;&lt;code class=&#34;language-shell&#34;&gt;cmake -DCMAKE_BUILD_TYPE=Debug ..
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;When running cen64 outside of an XQuartz X11 terminal, it may report:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;Using NTSC-U PIFROM
create_device: Failed to initialize the VI.
Failed to create a device.
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;To fix this, you can run it within an XQuartz X11 terminal, or set the &lt;code&gt;DISPLAY&lt;/code&gt; environment variable to something like &lt;code&gt;:0&lt;/code&gt; either in your &lt;code&gt;.bashrc&lt;/code&gt; file or inline during invocation:&lt;/p&gt;
&lt;pre&gt;&lt;code class=&#34;language-shell&#34;&gt;DISPLAY=:0 ./cen64 /path/to/pifdata.bin /path/to/rom.z64
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;&lt;code&gt;DISPLAY&lt;/code&gt; needs to be set because cen64 calls &lt;a href=&#34;https://tronche.com/gui/x/xlib/display/opening.html&#34;&gt;XOpenDisplay&lt;/a&gt; with a NULL display name (presumably to default to your &lt;code&gt;DISPLAY&lt;/code&gt; environment variable), but if it&amp;rsquo;s not set, XOpenDisplay returns NULL and cen64 has no display within which to create a window for rendering Nintendo 64 content.&lt;/p&gt;
&lt;p&gt;For extremely verbose register-level output, edit &lt;code&gt;CMakeLists.txt&lt;/code&gt; and set &lt;code&gt;DEBUG_MMIO_REGISTER_ACCESS&lt;/code&gt; to &lt;code&gt;ON&lt;/code&gt;. Make sure to remove any cached data in &lt;code&gt;build/&lt;/code&gt; to ensure your changes are reflected, then recompile and re-run.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Update 2024-03-02&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Development on cen64 has not progressed in many months and is now considered unmaintained. &lt;a href=&#34;https://ares-emu.net&#34;&gt;ares&lt;/a&gt;, a cross-platform, open source, multi-system emulator is now regarded as the best emulator for Nintendo 64 development.&lt;/p&gt;</content>
    </entry>

    <entry>
        <title>BrewBot - Sending Coffee Notifications to Slack</title>
        <link href="https://command-tab.com/2017/09/16/brewbot-sending-coffee-notifications-to-slack/"/>
        <id>tag:command-tab.com,2017-09-16:brewbot-sending-coffee-notifications-to-slack</id>
        <published>2017-09-17T02:01:47Z</published>
        <updated>2017-09-17T02:01:47Z</updated>
        <content type="html">&lt;p&gt;At work, we have a coffee machine that serves dozens of people in the building, and it&amp;rsquo;s difficult to know when to come get fresh coffee. You might arrive when it&amp;rsquo;s empty and be tasked with making more, but the ideal situation is to arrive just as a fresh pot is being brewed.&lt;/p&gt;
&lt;p&gt;We also use Slack for team chat and various notifications, so integrating the coffee machine status was a no-brainer. Using a non-invasive/inductive current sensor and Raspberry Pi, the following setup monitors coffee machine energy consumption and waits for a significant rise in current draw, followed by several minutes of sustained usage. Once a time threshold has passed, it does an HTTP POST to a Slack webhook, sleeps for about 15 minutes, then starts monitoring again. This &amp;ldquo;brewbot&amp;rdquo; code is &lt;a href=&#34;https://github.com/command-tab/brewbot&#34;&gt;available on GitHub&lt;/a&gt;, and a parts list can be found below.&lt;/p&gt;
&lt;p&gt;&lt;img alt=&#34;Completed kit&#34; src=&#34;https://r2.command-tab.com/brewbot_full_kit.jpg&#34; /&gt;&lt;/p&gt;
&lt;p&gt;&lt;img alt=&#34;Packaged in box&#34; src=&#34;https://r2.command-tab.com/brewbot_box.jpg&#34; /&gt;&lt;/p&gt;
&lt;p&gt;&lt;img alt=&#34;ADC board&#34; src=&#34;https://r2.command-tab.com/brewbot_adc_board.jpg&#34; /&gt;&lt;/p&gt;
&lt;p&gt;Full parts list:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&#34;http://www.adafruit.com/products/856&#34;&gt;MCP3008 8-Channel 10-Bit Analog to Digital Converter&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;http://www.adafruit.com/products/998&#34;&gt;Raspberry Pi model B&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;http://www.adafruit.com/products/2203&#34;&gt;16-pin IC socket&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;http://www.adafruit.com/products/344&#34;&gt;Assortment of heat shrink tubing&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;http://www.adafruit.com/products/937&#34;&gt;Panel mount to Micro USB adapter&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;https://www.sparkfun.com/products/11508&#34;&gt;10KΩ 1/4W LED resistor&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;http://www.adafruit.com/products/1148&#34;&gt;Half-size Perma-Proto Raspberry Pi Breadboard PCB Kit&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;https://www.sparkfun.com/products/9594&#34;&gt;5mm Yellow LED&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;1/8&amp;rdquo; panel mount audio jack&lt;/li&gt;
&lt;li&gt;10uF electrolytic decoupling capacitor&lt;/li&gt;
&lt;li&gt;33Ω 1/2W burden resistor&lt;/li&gt;
&lt;li&gt;2x 470KΩ 1/2W voltage divider resistors&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;https://www.sparkfun.com/products/11005&#34;&gt;30A non-invasive current sensor&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;https://www.sparkfun.com/products/11367&#34;&gt;22 AWG Solid Core Hook Up Wire&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;5x7 photo box, from The Container Store&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;http://www.amazon.com/gp/product/B00B588HY2&#34;&gt;8 GB Class 10 SDHC card&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;http://www.amazon.com/dp/B005CLMJLU&#34;&gt;Edimax EW-7811Un Wireless Nano USB Adapter&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;6x Nylon screws washers and nuts&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;http://www.monoprice.com/Product?p_id=8617&#34;&gt;8&amp;rdquo; AC Cord Clips&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;http://www.monoprice.com/Product?c_id=102&amp;amp;cp_id=10242&amp;amp;cs_id=1024201&amp;amp;p_id=3645&amp;amp;seq=1&amp;amp;format=2&#34;&gt;HDMI to Mini HDMI adapter&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;http://www.monoprice.com/Product?c_id=104&amp;amp;cp_id=10419&amp;amp;cs_id=1041909&amp;amp;p_id=3654&amp;amp;seq=1&amp;amp;format=2&#34;&gt;6&amp;rsquo; Mini HDMI to HDMI Cable&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;http://www.acehardware.com/product/index.jsp?productId=29313236&#34;&gt;10&amp;rsquo; USB A Male to B Male Cable&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Related reading: &lt;a href=&#34;https://en.wikipedia.org/wiki/Hyper_Text_Coffee_Pot_Control_Protocol&#34;&gt;Hyper Text Coffee Pot Control Protocol&lt;/a&gt;&lt;/p&gt;</content>
    </entry>

    <entry>
        <title>GottaGo</title>
        <link href="https://command-tab.com/2013/07/23/gottago/"/>
        <id>tag:command-tab.com,2013-07-23:gottago</id>
        <published>2013-07-23T20:46:02Z</published>
        <updated>2013-07-23T20:46:02Z</updated>
        <content type="html">&lt;p&gt;Working at &lt;a href=&#34;http://www.blackboard.com/mobile-learning/index.aspx&#34;&gt;Blackboard Mobile&lt;/a&gt; making unique mobile apps is fun, but occasionally it&amp;rsquo;s interesting to do something completely different at work, just to see what you can come up with. To that end, we recently hosted our first Hackathon, where small teams of co-workers had 24 straight hours to create a project of any theme using resources available inside our outside of the office, and the results would be judged by our peers. One of the other benefits of working in a growing industry is that we&amp;rsquo;re expanding our staff almost weekly. Unfortunately, though, that means that the building we&amp;rsquo;re in is less and less able to handle the increasing capacity. Specifically, the bathrooms are occupied more frequently, resulting in either a return trip to your desk only to try again later, or an awkward wait of unknown duration.&lt;/p&gt;
&lt;p&gt;&lt;img alt=&#34;header&#34; src=&#34;https://r2.command-tab.com/gottago_header.jpg&#34; /&gt;&lt;/p&gt;
&lt;p&gt;Working with &lt;a href=&#34;https://twitter.com/JMT3&#34;&gt;Joe Taylor&lt;/a&gt; and &lt;a href=&#34;https://twitter.com/eclittlejohn&#34;&gt;Eric Littlejohn&lt;/a&gt;, our Hackathon project set out to make the office bathroom availability more visible and accessible through a combination of hardware and software. The piece of the project that lets this all work is a microswitch installed inside each door jamb, such that when the locking bolt is engaged, the switch is tripped. That way, we can do anything with resulting data, knowing that when the door is locked, the room is in use. Running wire down through the hollow metal trim was tedious and time consuming, and involved a lot of false starts and fishing around with a straightened coat hanger, but we finally got a run of wire inside each frame.&lt;/p&gt;
&lt;p&gt;&lt;img alt=&#34;door switch&#34; src=&#34;https://r2.command-tab.com/gottago_switch.jpg&#34; /&gt;&lt;/p&gt;
&lt;p&gt;On each office floor there are two bathrooms side by side, and the pair of switches inside the door jambs are wired to a single &lt;a href=&#34;http://arduino.cc/&#34;&gt;Arduino&lt;/a&gt; fitted with an &lt;a href=&#34;http://arduino.cc/en/Main/ArduinoEthernetShield&#34;&gt;Ethernet Shield&lt;/a&gt; for network connectivity. The Arduino samples the switches many times per second, providing near-instant feedback.&lt;/p&gt;
&lt;p&gt;&lt;img alt=&#34;arduinno board&#34; src=&#34;https://r2.command-tab.com/gottago_arduino.jpg&#34; /&gt;&lt;/p&gt;
&lt;p&gt;After &lt;a href=&#34;http://www.labbookpages.co.uk/electronics/debounce.html&#34;&gt;debouncing&lt;/a&gt; the switch input signal over about 50 milliseconds, the Arduino waits for a definitive change in state &amp;ndash; from locked to unlocked, or unlocked to locked &amp;ndash; before illuminating LED lights on the wall.&lt;/p&gt;
&lt;p&gt;&lt;img alt=&#34;wall lights&#34; src=&#34;https://r2.command-tab.com/gottago_lights.jpg&#34; /&gt;&lt;/p&gt;
&lt;p&gt;After the light corresponding to the now-occupied bathroom is lit, the Arduino also performs an HTTP POST, sending the event details (floor level, which room, and current occupancy state) to an in-house webserver running Node.js and MongoDB. The webserver records the data and makes it visible on a web page for viewers to check the availability digitally, for those who can&amp;rsquo;t see the wall mounted lights from their seating position.&lt;/p&gt;
&lt;p&gt;&lt;img alt=&#34;event sequence animation&#34; src=&#34;https://r2.command-tab.com/gottago.gif&#34; /&gt;&lt;/p&gt;
&lt;p&gt;If you&amp;rsquo;d like to employ a project like this, the code we hacked together is &lt;a href=&#34;https://github.com/BbMobile/GottaGo&#34;&gt;available on GitHub&lt;/a&gt;, and the wiring is rather straightforward:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;All components share a common ground&lt;/li&gt;
&lt;li&gt;LED anodes are wired to &lt;code&gt;room_a_led_pin&lt;/code&gt; and &lt;code&gt;room_b_led_pin&lt;/code&gt; and brought high when doors are locked, and low when unlocked&lt;/li&gt;
&lt;li&gt;Switches bring &lt;code&gt;room_a_switch_pin&lt;/code&gt; and &lt;code&gt;room_b_switch_pin&lt;/code&gt; low when triggered, and the Arduino uses the &lt;code&gt;INPUT_PULLUP&lt;/code&gt; pinMode for the unlocked state&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Our Hackathon project came in at second place, losing to an as-yet-unannounced software project, but we had a lot of fun staying up and hacking all night!&lt;/p&gt;</content>
    </entry>

    <entry>
        <title>Adventures with Nest</title>
        <link href="https://command-tab.com/2013/06/06/adventures-with-nest/"/>
        <id>tag:command-tab.com,2013-06-06:adventures-with-nest</id>
        <published>2013-06-06T22:54:17Z</published>
        <updated>2013-06-06T22:54:17Z</updated>
        <content type="html">&lt;p&gt;I recently purchased a pair of &lt;a href=&#34;https://nest.com&#34;&gt;Nest Learning Thermostats&lt;/a&gt; for my new home. Compared to the white brick style Honeywell thermostats that came with the place, the Nest is so much more advanced. It does temperature learning, auto-away, and remote control over Wi-Fi from the web and iOS devices. It also has a color LCD and just generally looks beautiful on the wall with its brushed stainless steel housing.&lt;/p&gt;
&lt;p&gt;&lt;img alt=&#34;nest thermostat&#34; src=&#34;https://r2.command-tab.com/nest.jpg&#34; /&gt;&lt;/p&gt;
&lt;p&gt;Installing the Nest is pretty straightforward with a modern forced air heating and cooling system:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Remove the old thermostat and mounting plate from the wall&lt;/li&gt;
&lt;li&gt;Disconnect the wires&lt;/li&gt;
&lt;li&gt;Patch and paint any holes&lt;/li&gt;
&lt;li&gt;Install the Nest mounting base and connect the wires&lt;/li&gt;
&lt;li&gt;Pop the Nest onto the base and configure the software&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;My initial install went well physically, but not long after, I discovered that the Nest would regularly run out of battery power. I quickly learned that due to how the HVAC circuits are arranged, the Nest can only draw power while the system is running. When the system is not busy heating, cooling, or running the fan, the Nest is left to run under its own battery power. And in sunny California during the springtime, the system doesn&amp;rsquo;t run often enough to let the Nest keep a charge. Several times per day, I would have to unplug the Nest from its base and charge it over micro USB. Not a great solution.&lt;/p&gt;
&lt;p&gt;Reading more about the Nest and HVAC circuitry, I found that there is a solution for situations like this. A &amp;ldquo;common wire&amp;rdquo; that provides a path back to the HVAC controller would allow the Nest to draw the power it needs while not running any systems. As luck would have it, my system provided this common wire, but connecting it to the Nest had no effect on the battery. More telling was the fact that the Nest did not detect that the wire was connected.&lt;/p&gt;
&lt;p&gt;So, I decided to find out what was at the other end of that common wire. I put up a ladder and ventured into the attic of my home and scouted around the furnace. On top of it, inside an easily-opened metal enclosure, was the thermostat controller, a ZTech ZTE2S. Double checking the &lt;a href=&#34;https://r2.command-tab.com/zte2s_wiring.pdf&#34;&gt;wiring diagram&lt;/a&gt; and comparing it with the wires on the left (coming from the Nests), it&amp;rsquo;s clear that the blue common wire is simply not connected to the controller. In the photo below, you can see that it&amp;rsquo;s clipped short, close to the brown jacket covering the bundle of five wires.&lt;/p&gt;
&lt;p&gt;&lt;img alt=&#34;wiring before with blue wire disconnected&#34; src=&#34;https://r2.command-tab.com/nest_before.jpg&#34; /&gt;&lt;/p&gt;
&lt;p&gt;Reconnecting the wire was a matter of disconnecting the wires that were already connected, snipping them all to the same length, and stripping a little plastic off the end so that all five can be connected to the HVAC controller.&lt;/p&gt;
&lt;p&gt;&lt;img alt=&#34;wiring after with blue wire connected&#34; src=&#34;https://r2.command-tab.com/nest_after.jpg&#34; /&gt;&lt;/p&gt;
&lt;p&gt;A few hours after leaving the Nest installed with the common wire attached and the HVAC controller all closed up, its battery has fully charged and the features work great.&lt;/p&gt;</content>
    </entry>

    <entry>
        <title>Simulating Slow Internet for iOS Testing</title>
        <link href="https://command-tab.com/2011/05/12/simulating-slow-internet-for-ios-testing/"/>
        <id>tag:command-tab.com,2011-05-12:simulating-slow-internet-for-ios-testing</id>
        <published>2011-05-13T02:58:35Z</published>
        <updated>2011-05-13T02:58:35Z</updated>
        <content type="html">&lt;p&gt;Apple&amp;rsquo;s iOS Simulator is an acceptable environment for testing development code, but when users purchase your finished app from the App Store, they&amp;rsquo;ll be running it on real hardware, particularly on networks that are likely much less reliable than your home or office internet.&lt;/p&gt;
&lt;p&gt;To ensure your app performs well under real-world conditions, you can load up the code on a device and go outside, but then you can&amp;rsquo;t debug as easily. And even if you bring your MacBook Air with you, what if your Verizon iPhone is everything you hoped, and it performs admirably on the worst of days? To get around all of this, you can approximate an unreliable network with &lt;a href=&#34;http://mschrag.github.com&#34;&gt;SpeedLimit&lt;/a&gt;. SpeedLimit is a System Preferences pane for intentionally and selectively slowing down specific ports and domains.&lt;/p&gt;
&lt;p&gt;&lt;img alt=&#34;speedlimit window&#34; src=&#34;https://r2.command-tab.com/speedlimit.jpg&#34; /&gt;&lt;/p&gt;
&lt;p&gt;Download and install SpeedLimit, add one or more hosts (separated by commas, as seen above), select a target speed, and click Slow Down. Subsequent network requests matching the criteria you set will be throttled, giving you time to go all out testing your app&amp;rsquo;s performance and error handling. Does it crash when users hit the Back button while a UITableView is loading? Does it lock the UI while downloading avatars or thumbnails? SpeedLimit lets you find out, and be confident in your networking code.&lt;/p&gt;</content>
    </entry>

    <entry>
        <title>How to Find the Right Windows Driver</title>
        <link href="https://command-tab.com/2009/09/14/how-to-find-the-right-windows-driver/"/>
        <id>tag:command-tab.com,2009-09-14:how-to-find-the-right-windows-driver</id>
        <published>2009-09-15T02:32:14Z</published>
        <updated>2009-09-15T02:32:14Z</updated>
        <content type="html">&lt;p&gt;When setting up a new Windows machine, whether it&amp;rsquo;s Windows 2000 all the way up through Windows 7, you&amp;rsquo;ll occasionally run into an issue where you need drivers for a system or PCI device that you just can&amp;rsquo;t seem to find. To make matters worse, you don&amp;rsquo;t know which company made the device, so you don&amp;rsquo;t even know where to start looking for drivers. Should you go to Dell&amp;rsquo;s site? The motherboard manufacturer? Persistent &amp;ldquo;Unknown device&amp;rdquo; entries in the Windows Device Manager are a plague upon even the most seasoned techs. Here&amp;rsquo;s a tip to get your driver hunt moving in the right direction.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Find Out Who Made the Device&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Figuring out which company made the device(s) in question is the first step towards getting it working. Start by opening the Windows Device Manager. My preferred quick way of doing this is clicking Start, Run, type &lt;code&gt;devmgmt.msc&lt;/code&gt;, and pressing Enter. Once there, choose the device in question and right click it, and select Properties. Select the Details tab to see something like the view below:&lt;/p&gt;
&lt;p&gt;&lt;img alt=&#34;windows device manager&#34; src=&#34;https://r2.command-tab.com/windows_device_manager.jpg&#34; /&gt;&lt;/p&gt;
&lt;p&gt;Note the PCI &lt;code&gt;VEN&lt;/code&gt; and &lt;code&gt;DEV&lt;/code&gt; 4-character identifiers. PCI, USB, and many other system devices have Vendor and Device IDs. The Vendor ID is specific to the manufacturer, like Broadcom or nVIDIA. The Device ID is specific to the particular make or model of device you have. These are expressed in hexadecimal (0 through 9 plus A through F), so don&amp;rsquo;t be surprised to see letters there, as well. Some common Vendor IDs are &lt;code&gt;8080&lt;/code&gt; and &lt;code&gt;8086&lt;/code&gt; for Intel, &lt;code&gt;0A5C&lt;/code&gt; for Broadcom, &lt;code&gt;10DE&lt;/code&gt; for nVIDIA, &lt;code&gt;1002&lt;/code&gt; for ATI, and &lt;a href=&#34;http://www.pcidatabase.com/reports.php?type=tab-delimeted&#34;&gt;many more&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Look Up Vendor and Device IDs&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;A common way to express both the Vendor and Device IDs in a single string is 1022:2000, Vendor ID first. Combine your Vendor and Device IDs in this manner, and wrap it with quotes: &amp;ldquo;1022:2000&amp;rdquo;. Google that, and you should quickly figure out who made your &amp;ldquo;Unknown device&amp;rdquo; and what model it is. With this knowledge, you can either find the appropriate driver on your computer manufacturer&amp;rsquo;s website (Dell makes a good note of which manufacturer&amp;rsquo;s devices they use for a particular system), or you can visit the device manufacturer&amp;rsquo;s website directly.&lt;/p&gt;
&lt;p&gt;I hope this information can help those looking to simply get their hardware working under Windows, whether it&amp;rsquo;s running on a Mac or PC.&lt;/p&gt;</content>
    </entry>

    <entry>
        <title>MacAlly IceKey USB 2.0</title>
        <link href="https://command-tab.com/2009/07/05/macally-icekey-usb-2-0/"/>
        <id>tag:command-tab.com,2009-07-05:macally-icekey-usb-2-0</id>
        <published>2009-07-05T17:35:02Z</published>
        <updated>2009-07-05T17:35:02Z</updated>
        <content type="html">&lt;p&gt;MacAlly has been producing the same IceKey keyboard since 2003, and while it&amp;rsquo;s a solid performer featuring comfortable low profile scissor keys and extra USB ports, it still ships with a maddeningly slow internal USB 1.1 hub. While this early USB specification is plenty fast for a keyboard alone, it throttles back speeds of all attached devices like flash drives, iPods, and digital cameras. Copying an music album or two can take several minutes over USB 1.1, whereas today&amp;rsquo;s USB 2.0 takes only seconds. With USB 2.0 as today&amp;rsquo;s ubiquitous standard and USB 3.0 just around the corner, it&amp;rsquo;s disappointing that MacAlly has yet to update the IceKey to include a faster hub. Luckily, you can take matters into your own hands. Here&amp;rsquo;s how to install a high speed hub inside the keyboard while maintaining MacAlly&amp;rsquo;s elegant factory appearance.&lt;/p&gt;
&lt;p&gt;&lt;img alt=&#34;macally icekey keyboard&#34; src=&#34;https://r2.command-tab.com/macally_icekey_start.jpg&#34; /&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;What You&amp;rsquo;ll Need&lt;/strong&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;a MacAlly IceKey&lt;/li&gt;
&lt;li&gt;a small, narrow USB hub (a cheap Targus hub worked fine for me)&lt;/li&gt;
&lt;li&gt;a screwdriver set&lt;/li&gt;
&lt;li&gt;a soldering iron, solder, and spare wire&lt;/li&gt;
&lt;li&gt;a pocket knife (I&amp;rsquo;m not sure any project I&amp;rsquo;ve done &lt;em&gt;didn&amp;rsquo;t&lt;/em&gt; require this&amp;hellip;)&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;strong&gt;Open the Hub&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;USB hubs generally aren&amp;rsquo;t too complicated to open, and this Targus on is no exception. A single screw on the underside holds together the hub&amp;rsquo;s two plastic halves, which snap apart with little effort. Write a note or take a picture to document the wire colors and order relevant to the orientation of the board inside &amp;ndash; it will come in handy later.&lt;/p&gt;
&lt;p&gt;&lt;img alt=&#34;usb hub board&#34; src=&#34;https://r2.command-tab.com/macally_usb_hub_board.jpg&#34; /&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Open the Keyboard&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;The MacAlly IceKey is slightly trickier to get apart, but not much. Remove all the obvious screws on the bottom of the keyboard, including the one under the &amp;ldquo;Do Not Remove&amp;rdquo;/Quality Control/Warranty sticker. Then, flip open the pivoting feet to expose two more screws covered by a protective piece of rubber. The final two screws are under the front rubber feet.&lt;/p&gt;
&lt;p&gt;Starting with the keyboard upright and facing you, begin unsnapping the plastic hooks around the perimeter starting at the front middle. A plastic pry tool might come in handy, but isn&amp;rsquo;t required. Once the top is removed, you can clearly see all the important electronics, including a very common Cypress USB controller chip.&lt;/p&gt;
&lt;p&gt;&lt;img alt=&#34;keyboard controller&#34; src=&#34;https://r2.command-tab.com/macally_keyboard_controller.jpg&#34; /&gt;&lt;/p&gt;
&lt;p&gt;&lt;img alt=&#34;left port&#34; src=&#34;https://r2.command-tab.com/macally_keyboard_leftport.jpg&#34; /&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Test Fit Everything&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Just to make sure the rest of this modification is physically possible, fit the USB hub board in the open space at the top of the keyboard and set the keyboard bezel on top. Luckily, the IceKey has plenty of room to spare. I was planning to have to remove the USB ports from the hub board to make everything fit, but there was so much extra space that I didn&amp;rsquo;t even have to go to that length.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Unhook the Keyboard&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Carefully pull the keyboard ribbon cables straight away from their matching plugs on the controller board. Gently flip the keyboard pad over, and unscrew the two short ground wires to completely free the keyboard keys from the plastic housing. Set it aside for later; it does not need to be modified &amp;ndash; all the action happens on the two remaining circuit boards. Unscrew both boards to get at the backs of each.&lt;/p&gt;
&lt;p&gt;&lt;img alt=&#34;ribbon cables&#34; src=&#34;https://r2.command-tab.com/macally_keyboard_ribbon_cables.jpg&#34; /&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Cut Wires&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Cut the gray ribbon that leads from the controller board to the left port. Since that wire only provides USB 1.1 speed, we won&amp;rsquo;t be using it. You&amp;rsquo;ll note that it has two extra wires that run to an unpopulated LED on the left board, so we can skip those when doing the re-wiring. (I wonder what MacAlly had in store for that, or if this keyboard is a &amp;ldquo;port&amp;rdquo; from another language or something?)&lt;/p&gt;
&lt;p&gt;Unplug the USB cord from the controller board and cut off the connector. This cord needs to run to the input on the new USB hub, and not to the input on the keyboard controller board where it currently connects.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Cut Traces&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Since the right port also needs USB 2.0 speeds, it too will need to be disconnected from its USB 1.1 source. However, it is soldered directly onto the controller board and is effectively hard-wired into the slowness. This is perhaps the trickiest part of the whole project: desolder the USB connector and use a knife to scrape away the traces that run to the port. Some are on top of the board, and some are on the bottom. (You might be able to get away with cutting the traces without removing the port, as a little bit of the traces are exposed on the top before routing into electronic components, but you&amp;rsquo;ll want to test with a multimeter and make sure you&amp;rsquo;ve done this successfully.) Once all four traces to the port are cut, re-solder the USB port in place (if you removed it).&lt;/p&gt;
&lt;p&gt;&lt;img alt=&#34;cut traces&#34; src=&#34;https://r2.command-tab.com/macally_usb_traces_cut.jpg&#34; /&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Re-wire the Keyboard Controller and Ports&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Here&amp;rsquo;s a simple before and after block diagram to help your wiring layout:&lt;/p&gt;
&lt;p&gt;&lt;img alt=&#34;wiring diagram&#34; src=&#34;https://r2.command-tab.com/macally_icekey2_diagram.gif&#34; /&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Solder Keyboard Cord to Hub Input&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Strip about an inch of plastic from the cut end of the keyboard cord to expose its individual wires, and strip just a millimeter or two from each of those. Using your note from earlier, solder the keyboard wires to the matching USB hub input connections. On this Targus hub, the wires were in the same order as the standard &lt;a href=&#34;https://images.google.com/images?q=USB%20pinout&#34;&gt;USB pinout&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Solder Keyboard Controller to a Hub Port&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Solder four wires from the keyboard input port (where the cord originally connected to) to one of the USB hub ports, effectively making the keyboard controller into one of four devices on the hub. Previously, the keyboard supplied its own hub, but we&amp;rsquo;re bypassing it altogether. Luckily, most everything is either color coded or silkscreen labeled on the circuit boards (&lt;code&gt;V/5V&lt;/code&gt; is red, &lt;code&gt;D-&lt;/code&gt; is green, &lt;code&gt;D+&lt;/code&gt; is white, and &lt;code&gt;G/GND&lt;/code&gt; is black).&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Solder Keyboard USB Ports to Hub Ports&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Solder wire from the left USB port board to another free USB hub port, making sure to get the order correct. With the traces cut on the right port, run wire from the connections under the board to yet another free hub port. You should end up with a hub layout like this:&lt;/p&gt;
&lt;p&gt;&lt;img alt=&#34;hub wires&#34; src=&#34;https://r2.command-tab.com/macally_keyboard_hub_wires.jpg&#34; /&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Test and Close It Up&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;With each new component wired up, double-check your connections and plug it in. Initially, my first test failed and Windows complained about a malfunctioning USB device (I tested it on an old PC, just in case I shorted out the computer&amp;rsquo;s USB controller. I&amp;rsquo;d rather fry an old computer than my new iMac!) The key to making everything work properly was to reconnect those two shared ground wires from early on &amp;ndash; the keyboard must have a common ground with the controller and hub!&lt;/p&gt;
&lt;p&gt;&lt;img alt=&#34;completed wiring&#34; src=&#34;https://r2.command-tab.com/macally_keyboard_test.jpg&#34; /&gt;&lt;/p&gt;
&lt;p&gt;Once it works, secure all the wires and boards. I used a few short pieces of electrical tape to stop everything from bouncing around, too. Snap the plastic top back on, replace all the screws, and enjoy your USB 2.0 MacAlly IceKey!&lt;/p&gt;</content>
    </entry>

    <entry>
        <title>Boot Camp Drivers for iMac (Early 2009)</title>
        <link href="https://command-tab.com/2009/06/14/boot-camp-drivers-for-imac-early-2009/"/>
        <id>tag:command-tab.com,2009-06-14:boot-camp-drivers-for-imac-early-2009</id>
        <published>2009-06-14T20:16:52Z</published>
        <updated>2009-06-14T20:16:52Z</updated>
        <content type="html">&lt;p&gt;Apple&amp;rsquo;s newest iMacs are a fast set of machines and run Windows faster than any PC I&amp;rsquo;ve ever used, but unfortunately, Apple has yet to update Boot Camp with the required drivers to support the latest and greatest components. Mac OS X ships with the necessary software and works as expected, but Windows XP is met with some trouble. Right away, you&amp;rsquo;ll notice that your graphics resolution is set to a paltry 800x600, and you have no sound output as well. Here&amp;rsquo;s how to get those systems working until Apple can provide an &amp;ldquo;official&amp;rdquo; fix:&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Graphics Drivers&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Visit &lt;a href=&#34;http://www.nvidia.com&#34;&gt;nVidia&lt;/a&gt; and download the &amp;ldquo;GeForce 9M Series (Notebooks)&amp;rdquo; driver package, as this is graphics chipset in the Early 2009 iMacs. Run the downloaded setup utility, next-next-nexting your way through the steps, and reboot at the end when prompted. Upon restart, you&amp;rsquo;ll be able to properly max out your display to the iMac&amp;rsquo;s native resolution.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Audio Drivers&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Boot Camp 2.1 actually ships with RealTek HD audio drivers, as evidenced by the lack of a yellow exclamation mark for this system in Windows&amp;rsquo; Device Manager, but they don&amp;rsquo;t seem to work properly, since there&amp;rsquo;s no sound output. Visit &lt;a href=&#34;http://www.realtek.com.tw/downloads&#34;&gt;RealTek&lt;/a&gt; and download the &amp;ldquo;High Definition Audio Codecs&amp;rdquo; driver package for your OS. In this instance, I downloaded &amp;ldquo;Windows 2000, Windows XP/2003(32/64 bits) Driver only (Executable file)&amp;rdquo;, since I&amp;rsquo;m running Windows XP Pro SP2. Run this setup utility as well, rebooting again when done. After restarting, you should be greeted with Windows&amp;rsquo; standard login sound, confirming the install worked.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Update:&lt;/strong&gt; The Mac OS X 10.6 Snow Leopard disc includes Boot Camp drivers for these iMacs. The Snow Leopard disc is a hybrid image: it provides the Mac OS X installer when viewed under a Mac OS X system, but shows Windows drivers when viewed in Windows. Just run the setup in Windows right off the disc, and you should be set.&lt;/p&gt;</content>
    </entry>

    <entry>
        <title>Dig into iPhone Apps</title>
        <link href="https://command-tab.com/2009/03/22/dig-into-iphone-apps/"/>
        <id>tag:command-tab.com,2009-03-22:dig-into-iphone-apps</id>
        <published>2009-03-23T05:36:17Z</published>
        <updated>2009-03-23T05:36:17Z</updated>
        <content type="html">&lt;p&gt;So you&amp;rsquo;re curious about the contents of iPhone and iPod Touch apps, including artwork, sounds, and more? Here&amp;rsquo;s how to dig into an application and see what goodies are hidden inside. Standard copyrights still apply.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Sync Your Apps with iTunes&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Assuming you already have the target application on your iPhone or iPod Touch (just &amp;ldquo;iPhone&amp;rdquo; from this point forward for brevity&amp;rsquo;s sake), simply sync your iPhone with your Mac or PC. Doing so will backup your device and transfer any purchased applications in both directions. With the target application now on your computer, navigate to your iTunes &amp;ldquo;Mobile Applications&amp;rdquo; folder, where iTunes typically does its own file housekeeping. Under Mac OS X, the default location is &lt;code&gt;/Users/yourname/Music/iTunes/Mobile Applications/&lt;/code&gt;.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Unzip an App&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Copy your target &lt;code&gt;.ipa&lt;/code&gt;-suffixed application to a different location, ensuring that the original stays in the Mobile Applications folder to keep iTunes happy. To get inside the application, rename its extension to &lt;code&gt;.zip&lt;/code&gt;. Open the zip file, and you will have access to the guts of the app (except the source code, of course).&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;High-res App Artwork&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Directly inside the unzipped application folder, you&amp;rsquo;ll find a file named &lt;code&gt;iTunesArtwork&lt;/code&gt;, with no extension. A hex editor revealed that the file is typically a jpeg image, so rename it to include &lt;code&gt;.jpg&lt;/code&gt; at the end, and you&amp;rsquo;ll end up with the same 512x512 pixel artwork displayed by iTunes when browsing downloaded Applications. To get at other resources, open up the adjacent &amp;ldquo;Payload&amp;rdquo; folder, and you&amp;rsquo;ll find a &lt;code&gt;.app&lt;/code&gt; file &amp;ndash; the application bundle that runs on the iPhone. Right- or Control-click on the &lt;code&gt;.app&lt;/code&gt;, and choose &amp;ldquo;Show Package Contents&amp;rdquo; to open up the bundle.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Sounds&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Sounds are typically found among the many resources directly inside the application as files with extensions like &lt;code&gt;.caf&lt;/code&gt;, &lt;code&gt;.mp3&lt;/code&gt;, &lt;code&gt;.aif&lt;/code&gt;, and &lt;code&gt;.m4a&lt;/code&gt;. At this point, the organizational structure is up to the application&amp;rsquo;s developer, so you may need to look around a little. Leopard&amp;rsquo;s QuickLook feature is a boon in times like this, helping assess a file&amp;rsquo;s purpose without opening half a dozen applications.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Other Graphics&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Also nestled inside iPhone applications are many of the graphics used throughout the app. It&amp;rsquo;s possible that some may be drawn by code, but complex graphics are generally stored as images. However, viewing the images isn&amp;rsquo;t as easy as renaming the files as before. This will be a bit trickier, as the iPhone works some magic on the images before finishing the app build process, leaving images in an iPhone-optimized state. Fortunately, the process can be reversed with a little bit of Terminal trickery:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Copy all &lt;code&gt;.png&lt;/code&gt; images to a new folder elsewhere. Images of other formats (&lt;code&gt;.jpg&lt;/code&gt;, &lt;code&gt;.gif&lt;/code&gt;, etc.) should be readily viewable.&lt;/li&gt;
&lt;li&gt;Download David Watanabe&amp;rsquo;s &lt;a href=&#34;http://www.newsfirex.com/blog/?p=176&#34;&gt;modified iPhonePNG&lt;/a&gt; command-line application, unzip the archive, and open up Terminal from your /Applications/Utilities folder.&lt;/li&gt;
&lt;li&gt;Type &lt;code&gt;cd&lt;/code&gt;, then drop the iPhonePNG folder into the Terminal, and tap Return to switch to that folder.&lt;/li&gt;
&lt;li&gt;Type &lt;code&gt;./iPhonePNG&lt;/code&gt;, drop the folder of encoded images into the Terminal, and tap Return to decode the whole folder full of images.&lt;/li&gt;
&lt;li&gt;The output folder sites beside iPhonePNG, so type &lt;code&gt;open .&lt;/code&gt; and tap Return (open space dot) to open the current folder (a dot, in Unix terms) in the Finder. Open the decoded images folder and have a look around!&lt;/li&gt;
&lt;/ol&gt;</content>
    </entry>

    <entry>
        <title>iPod Screen Scratch Removal Revisited</title>
        <link href="https://command-tab.com/2009/01/06/ipod-screen-scratch-removal-revisited/"/>
        <id>tag:command-tab.com,2009-01-06:ipod-screen-scratch-removal-revisited</id>
        <published>2009-01-07T02:35:59Z</published>
        <updated>2009-01-07T02:35:59Z</updated>
        <content type="html">&lt;p&gt;Several years ago, I recommended RadTech&amp;rsquo;s &lt;a href=&#34;http://www.radtech.us/Products/IceCreme.aspx&#34;&gt;IceCreme&lt;/a&gt; as a great solution for cleaning up your iPod&amp;rsquo;s scratched-up screen. While I still stand by my results and recommendation, IceCreme isn&amp;rsquo;t the sort of thing you can find at a nearby store, and is also a little pricey. Removing scratches from iPods and other pocket-bound electronics remains a common problem, so I thought it would be worthwhile to test some of the other available options. Additionally, since nicks and scratches occur on more than just the screen, we&amp;rsquo;ll also test the solutions elsewhere on an iPod. For this little experiment, I chose three solutions offering varying levels of abrasiveness: Colgate toothpaste, Brasso metal polish, and Easy-Off oven cleaner. All three promise to leave their intended surfaces shiny and clean, and in the case of the latter two, free of scratches. We&amp;rsquo;ll see how each fares when put to use on both the front plastic and back metal of an iPod.&lt;/p&gt;
&lt;p&gt;To keep things clear, each polish will be used in a masked-off area, hopefully leaving a clear division among the results. The target iPod is an already well-used 4G 20GB iPod, with most of its still working inner parts removed and replaced with padding just to help sustain its form while being polished. Donated to the cause, this iPod will be beat up even further, with even layers of light scratches, heavy scratches, and deep cuts, simluating everything from normal wear to keychain induced destruction. It has surely seen better days, and is now destined for that great Apple Store in the sky, all in the name of science. I started with Brasso first, since it has been recommended many times since my last scratch removal post, both by commenters and firsthand accounts. If you&amp;rsquo;re attempting this yourself, be sure to work in a well ventilated area, as Brasso smells very strongly of ammonia, and might start to irritate your eyes after a short while!&lt;/p&gt;
&lt;p&gt;&lt;img alt=&#34;scratched ipod with brasso&#34; src=&#34;https://r2.command-tab.com/scratch_ipod_brasso.jpg&#34; /&gt;&lt;/p&gt;
&lt;p&gt;After only five minutes of polishing, the results were quite good, with nearly all of the light and medium scratches completely removed from the screen area. Deeper cuts remained, though their rough edges were significantly smoother.&lt;/p&gt;
&lt;p&gt;&lt;img alt=&#34;polished ipod with brasso&#34; src=&#34;https://r2.command-tab.com/scratch_ipod_brasso_done.jpg&#34; /&gt;&lt;/p&gt;
&lt;p&gt;Toothpaste was next on the list, and while it left the iPod minty fresh with a sparkling shine, its scratch-reducing effects were barely noticeable. Due to its sticky consistency, it was also more difficult to polish with than the more liquid Brasso, yielding poorer results for double the effort &amp;ndash; a total flop. Oven cleaner was last, and I really had no idea what to expect with it. Claiming to leave glassy surfaces shiny and free of scratches, it sounded like a possible winner. As it turns out, it&amp;rsquo;s not much more than a repackaged kitchen cleaner, resulting in a streak-free but still heavily scratched iPod. I&amp;rsquo;ll end up cleaning my glass top oven with this one, and nothing else. With the front of the iPod clearly showing Brasso as the top choice, it was time to see what worked best on the scratched metal backing of the iPod.&lt;/p&gt;
&lt;p&gt;&lt;img alt=&#34;ipod with scratched back&#34; src=&#34;https://r2.command-tab.com/scratch_ipod_scratched_back.jpg&#34; /&gt;&lt;/p&gt;
&lt;p&gt;Again, after just a few minutes with each polish, Brasso came out on top, while the other two trailed woefully behind. The Brasso-polished back still had quite a few scratches, though far less pronounced than when I started. All of them, including the deep cuts, had a very slick feel, whereas the others still left the surface pretty rough.&lt;/p&gt;
&lt;p&gt;&lt;img alt=&#34;scratch comparison&#34; src=&#34;https://r2.command-tab.com/scratch_back_comparison.jpg&#34; /&gt;&lt;/p&gt;
&lt;p&gt;Convinced that Brasso was the right choice, I went back and finished off the front, cleaning up all but the most severe marks on the screen.&lt;/p&gt;
&lt;p&gt;&lt;img alt=&#34;ipod front&#34; src=&#34;https://r2.command-tab.com/scratch_ipod_front.jpg&#34; /&gt;&lt;/p&gt;
&lt;p&gt;Given the results of my tests, I can easily recommend Brasso as a great iPod polishing solution that can be had for under $3 at your local stores.&lt;/p&gt;</content>
    </entry>

    <entry>
        <title>Learning Cocoa for the iPhone</title>
        <link href="https://command-tab.com/2008/12/21/learning-cocoa-for-the-iphone/"/>
        <id>tag:command-tab.com,2008-12-21:learning-cocoa-for-the-iphone</id>
        <published>2008-12-21T22:50:26Z</published>
        <updated>2008-12-21T22:50:26Z</updated>
        <content type="html">&lt;p&gt;These last few weeks, I&amp;rsquo;ve been teaching myself Cocoa to learn what makes Mac OS X and iPhone OS apps tick. While Objective-C is quite a departure from my usual web development world, it has quickly become one of my favorite languages, as it takes care of much of the drudgery of pure C and has plenty of useful frameworks to get your application up and running quickly. Here are some of the best resources I&amp;rsquo;ve found so far:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&#34;http://cocoadevcentral.com/&#34;&gt;Cocoa Dev Central&lt;/a&gt; and &lt;a href=&#34;http://www.cocoalab.com/?q=becomeanxcoder&#34;&gt;Become an Xcoder&lt;/a&gt; are both excellent tutorials for beginners, written in a clear, straightforward manner. They also explain the ins and outs of memory management, which is critical on platforms like the iPhone and iPod touch.&lt;/li&gt;
&lt;li&gt;Stanford&amp;rsquo;s &lt;a href=&#34;https://cs193p.sites.stanford.edu/&#34;&gt;CS193P lecture notes&lt;/a&gt; and examples have proven to be one of the best resources for learning Cocoa, particularly for the iPhone. These notes and tests offer Cocoa Touch in bite-size chunks, with a little bit of &amp;ldquo;on your own&amp;rdquo; work to ensure you know your stuff before moving on.&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;https://developers.google.com/code-search&#34;&gt;Google Code Search&lt;/a&gt; is a good last resort for examples of how others are using a small bit of code or a particular class. For more accurate results, append &amp;ldquo;lang:objectivec&amp;rdquo; to your search string to narrow results to only Objective-C code.&lt;/li&gt;
&lt;/ul&gt;</content>
    </entry>

    <entry>
        <title>Consolas Cursor Fix</title>
        <link href="https://command-tab.com/2008/12/16/consolas-cursor-fix/"/>
        <id>tag:command-tab.com,2008-12-16:consolas-cursor-fix</id>
        <published>2008-12-16T19:35:08Z</published>
        <updated>2008-12-16T19:35:08Z</updated>
        <content type="html">&lt;p&gt;If you&amp;rsquo;ve attempted to use Consolas as your choice programming font on the Mac, you may have noticed (&lt;a href=&#34;/2008/02/19/finding-the-perfect-programming-font/&#34;&gt;as I did&lt;/a&gt;) an odd issue with the font, where your blinking cursor hangs much lower than the current line. Oddly enough, this little issue only seems to affect Mac OS X. Even the Consolas set that ships with Microsoft Office 2008 has the same problem! Yet, when the same exact font file is used under Windows, the cursor position is correct.&lt;/p&gt;
&lt;p&gt;John Gruber &lt;a href=&#34;http://daringfireball.net/linked/2008/12/15/bbedit-91&#34; title=&#34;Daring Fireball: BBEdit 9.1&#34;&gt;mentioned&lt;/a&gt; that &lt;a href=&#34;http://www.barebones.com/products/bbedit/demo.html&#34;&gt;BBEdit 9.1&lt;/a&gt; now ships with Consolas as its default font, so I decided to see if it had the same cursor problem I had experienced in the past. As it turns out, BBEdit&amp;rsquo;s version of Consolas works just fine, as seen in the image above. However, it doesn&amp;rsquo;t include the other styles like Consolas Bold, Italic, and Bold Italic.&lt;/p&gt;
&lt;p&gt;Through one way or another, the copy of Consolas that ships with BBEdit 9.1 is different than the one that ships with Microsoft Office 2008. To make system-wide use of the working version, &lt;a href=&#34;http://www.barebones.com/products/bbedit/demo.html&#34;&gt;download BBEdit 9.1&lt;/a&gt;, mount the disk image, and navigate to:&lt;/p&gt;
&lt;p&gt;(Control-click BBEdit, and choose &amp;ldquo;Show Package Contents&amp;rdquo; to get inside the application bundle): &lt;code&gt;BBEdit.app/Contents/Resources/Fonts/consola.ttf&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;Copy consola.ttf from BBEdit&amp;rsquo;s &amp;ldquo;Fonts&amp;rdquo; folder to your own Fonts folder at &lt;code&gt;~/Library/Fonts&lt;/code&gt;, or &lt;code&gt;/Library/Fonts&lt;/code&gt; if you want to make it available to everyone who has an account on your computer. Then, fire up your favorite editor, set Consolas as your preferred fixed-width font, and get coding!&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Update:&lt;/strong&gt; Bare Bones has apparently changed the version of Consolas that ships with BBEdit versions later than 9.1, and they now have the cursor problem as well&amp;hellip;&lt;/p&gt;</content>
    </entry>

</feed>