<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Programming on Thoughts and Ramblings</title>
    <link>http://www.cod3r.com/tags/programming/</link>
    <description>Recent content in Programming on Thoughts and Ramblings</description>
    <generator>Hugo</generator>
    <language>en-us</language>
    <lastBuildDate>Wed, 31 Dec 2025 17:50:36 +0000</lastBuildDate>
    <atom:link href="http://www.cod3r.com/tags/programming/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Removing X</title>
      <link>http://www.cod3r.com/2025/12/removing-x/</link>
      <pubDate>Wed, 31 Dec 2025 17:50:36 +0000</pubDate>
      <guid>http://www.cod3r.com/2025/12/removing-x/</guid>
      <description>&lt;p&gt;For many years (decades) I&amp;rsquo;ve used one form or another of an X11 server on Macs to run various Linux/Unix graphical utilities with the latest server being &lt;a href=&#34;https://www.xquartz.org/&#34;&gt;XQuartz&lt;/a&gt;.  The problem is that in the time since I &lt;a href=&#34;http://www.cod3r.com/2024/12/nix-on-mac/&#34;&gt;switched to using Nix&lt;/a&gt; for my package management, I have twice encountered issues where the XQuartz build is broken.  Combine this with the fact that XQuartz is really no longer maintained, this raises the question on whether I should be using it any longer.&lt;/p&gt;</description>
    </item>
    <item>
      <title>WSL2 Start on Boot</title>
      <link>http://www.cod3r.com/2025/05/wsl2-start-on-boot/</link>
      <pubDate>Sat, 24 May 2025 17:32:01 +0000</pubDate>
      <guid>http://www.cod3r.com/2025/05/wsl2-start-on-boot/</guid>
      <description>&lt;p&gt;In setting up SSH into an Linux install in WSL2, I&amp;rsquo;ve found guides on how to do this setup.  While most contain the similar steps for setting up SSH, they have very different mechanisms for making it start on boot, of which almost none work.&lt;/p&gt;&#xA;&lt;h2 id=&#34;setting-up-ssh&#34;&gt;Setting up SSH&lt;/h2&gt;&#xA;&lt;p&gt;First I&amp;rsquo;ll assume you are running WSL2 and have installed a debian based linux within it.&lt;/p&gt;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Launch the WSL instance and inside it execute:&#xA;&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;sudo apt install openssh-server&#xA;&lt;/code&gt;&lt;/pre&gt;&lt;/li&gt;&#xA;&lt;li&gt;Run &lt;code&gt;ip addr show&lt;/code&gt; to get the IP address of this VM to be used later&lt;/li&gt;&#xA;&lt;li&gt;Launch your favorite shell on the windows side and run:&#xA;&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;netsh advfirewall firewall add rule name=”Open Port 2222 for WSL2” dir=in action=allow protocol=TCP localport=2222&#xA;netsh interface portproxy add v4tov4 listenaddress=0.0.0.0 listenport=2222 connectaddress=172.23.129.80 connectport=22&#xA;&lt;/code&gt;&lt;/pre&gt;and substitute the IP address you obtained earlier for the &lt;code&gt;connectaddress&lt;/code&gt; in the second line.&lt;/li&gt;&#xA;&lt;li&gt;Execute &lt;code&gt;netsh interface portproxy show v4tov4&lt;/code&gt; to confirm it is set correctly (and you can run &lt;code&gt;netsh int portproxy reset all&lt;/code&gt; to remove the entries if you need).&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&lt;p&gt;(A step or two may be missing above but this is the gist and I&amp;rsquo;m not trying to make a comprehensive guide for this part)&lt;/p&gt;</description>
    </item>
    <item>
      <title>Badblocks</title>
      <link>http://www.cod3r.com/2024/08/backblocks/</link>
      <pubDate>Sat, 10 Aug 2024 10:18:05 +0000</pubDate>
      <guid>http://www.cod3r.com/2024/08/backblocks/</guid>
      <description>&lt;p&gt;I was looking into mechanisms to test out new hard drives and ran across the program &lt;a href=&#34;https://www.man7.org/linux/man-pages/man8/badblocks.8.html&#34;&gt;badblocks&lt;/a&gt; which can perform such testing and even a &lt;a href=&#34;https://github.com/Spearfoot/disk-burnin-and-testing&#34;&gt;script which wraps this&lt;/a&gt;.  Though it seems that &lt;code&gt;badblocks&lt;/code&gt; has an issue with the block count being only a 32-bit integer so if you want to perform the test on a drive bigger than 16TB, you need to use a block size of &lt;code&gt;8192&lt;/code&gt; or larger.  In further examination of the documentation, I saw there is an option about the number of blocks which are tested at a time and this value defaults to 64.  I searched to see if increasing this value can have a speed impact and many commented that doesn&amp;rsquo;t seem to have any effect.&lt;/p&gt;</description>
    </item>
    <item>
      <title>App Disk Images</title>
      <link>http://www.cod3r.com/2022/09/app-disk-images/</link>
      <pubDate>Fri, 23 Sep 2022 01:51:00 +0000</pubDate>
      <guid>http://www.cod3r.com/2022/09/app-disk-images/</guid>
      <description>&lt;p&gt;If you&amp;rsquo;ve ever installed Xcode via the Mac App Store, you know it can take an hour to install.  The reason is not due to its size but the large number of individual files.  What if it didn&amp;rsquo;t have so many small files?  Could optimizations made here apply to other apps as well?&lt;/p&gt;&#xA;&lt;h1 id=&#34;overview&#34;&gt;Overview&lt;/h1&gt;&#xA;&lt;p&gt;The idea is simple: instead of storing apps as a constellation of individual files, instead store a disk image with its own filesystem.  The idea isn&amp;rsquo;t new and has been used elsewhere and so much of what I&amp;rsquo;m going to outline here is what one familiar with the idea might expect.  So instead of an app being a directory, its current representation, the contents of that directory exist in a read-only filesytem stored in a disk image.  Then the app is really a single file, the image itself.  Accessing contents within the app is simply traversing the filesystem within the image.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Redesign of Time Machine</title>
      <link>http://www.cod3r.com/2022/09/redesign-of-time-machine/</link>
      <pubDate>Fri, 09 Sep 2022 01:51:00 +0000</pubDate>
      <guid>http://www.cod3r.com/2022/09/redesign-of-time-machine/</guid>
      <description>&lt;p&gt;It&amp;rsquo;s no secret that Apple&amp;rsquo;s Time Machine backup solution is clunky at best.  For those who are unaware, it backs up a Mac to an HFS+ filesystem using directory hard links.  The biggest problem with this is that HFS+ was an old filesystem when Time Machine was first designed and it&amp;rsquo;s gotten even older since.  These days Apple uses APFS as their filesystem on computers and iOS devices but the Time Machine backup still uses the fragile HFS+ filesystem for its backups.  If you select a backup target that&amp;rsquo;s not HFS+, such as a network share, it creates a sparse disk image there and creates an HFS+ filesystem in that image.  I question whether there was a better way.  There is but I wouldn&amp;rsquo;t expect Apple to bother actually implementing it because, well, they don&amp;rsquo;t actually seem to care about quality anymore.&lt;/p&gt;</description>
    </item>
    <item>
      <title>A Month with AppCode</title>
      <link>http://www.cod3r.com/2013/04/a-month-with-appcode/</link>
      <pubDate>Mon, 29 Apr 2013 14:45:43 +0000</pubDate>
      <guid>http://www.cod3r.com/2013/04/a-month-with-appcode/</guid>
      <description>&lt;p&gt;Anyone who uses multiple IDEs along with Xcode recognizes just how far behind Xcode is compared to others. I would even go as far as to argue it is at least half a decade behind Eclipse. Features which I have long grown use to having are completely absent in Xcode. Then, about a month ago, I discovered &lt;a href=&#34;http://www.jetbrains.com/objc/&#34; title=&#34;AppCode&#34;&gt;AppCode&lt;/a&gt; and started using it for my Obj-C development at work. I could repeat the &lt;a href=&#34;http://www.jetbrains.com/objc/features/index.html&#34;&gt;feature set mentioned on their website&lt;/a&gt;, but instead I&amp;rsquo;ll assume you&amp;rsquo;ve read that and outline the crucial parts.&lt;/p&gt;</description>
    </item>
    <item>
      <title>What Objective-C Has Learned</title>
      <link>http://www.cod3r.com/2013/02/what-objective-c-has-learned/</link>
      <pubDate>Tue, 05 Feb 2013 18:14:00 +0000</pubDate>
      <guid>http://www.cod3r.com/2013/02/what-objective-c-has-learned/</guid>
      <description>&lt;p&gt;In a few of my recent posts, I outlined some things which I believe that Objective-C can learn from Java, the &lt;a href=&#34;http://www.cod3r.com/2012/04/what-objective-c-can-learn-from-java-part-5-exceptions/&#34; title=&#34;What Objective-C can learn from Java, Part 5 (Exceptions)&#34;&gt;most recent&lt;/a&gt; discussing error handling. In order to avoid the impression that I may not like Objective-C, I figured I should outline some of what I believe are the most important improvements Objective-C has made.&lt;/p&gt;&#xA;&lt;h3 id=&#34;properties&#34;&gt;Properties&lt;/h3&gt;&#xA;&lt;p&gt;When properties were first introduced, I read several who described them as simply syntax sugar. While they didn&amp;rsquo;t initially add much of anything that couldn&amp;rsquo;t already be done in the language before, they did yield one important feature: generated code. The code necessary in a setter, in particular the releasing of a previous value and setting the new value, was often fraught with errors. Despite code examples on a proper setter from Apple, I saw several cases where a setter failed to release the previous value, or retain the new value, or more commonly, do those two in the correct order. Enabling the compiler to generate this code for the programmer removed many of these errors.&lt;/p&gt;</description>
    </item>
    <item>
      <title>So Long Perian</title>
      <link>http://www.cod3r.com/2012/05/so-long-perian/</link>
      <pubDate>Mon, 21 May 2012 01:55:21 +0000</pubDate>
      <guid>http://www.cod3r.com/2012/05/so-long-perian/</guid>
      <description>&lt;p&gt;By now, most of your are familiar with our &lt;a href=&#34;http://www.perian.org&#34;&gt;announcement&lt;/a&gt; that the Perian team is retiring. It was a long time coming, but still a sad day none the less. I can see that the community reaction is that of disappointment as well. Perian was so quiet in its arrival that I never stopped to realize how loud its departure may be. So I decided to recount my history with the project, through its trials and its joys. It was a wonderful ride, but now we leave it behind and ride off into the sunset.&lt;/p&gt;</description>
    </item>
    <item>
      <title>What Objective-C can learn from Java, Part 5 (Exceptions)</title>
      <link>http://www.cod3r.com/2012/04/what-objective-c-can-learn-from-java-part-5-exceptions/</link>
      <pubDate>Tue, 17 Apr 2012 02:32:47 +0000</pubDate>
      <guid>http://www.cod3r.com/2012/04/what-objective-c-can-learn-from-java-part-5-exceptions/</guid>
      <description>&lt;p&gt;This is one past the last is a series of blog posts I&amp;rsquo;m writing on things that Objective-C can learn from Java. I&amp;rsquo;m writing this because I&amp;rsquo;m seeing a series of ignorant tweets stating how much Java sucks. The other parts can be found here:&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;a href=&#34;http://www.cod3r.com/2010/12/what-objective-c-can-learn-from-java-part-1-generics/&#34;&gt;Part 1 (Generics)&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;http://www.cod3r.com/2010/12/what-objective-c-can-learn-from-java-part-2-abstract-classes/&#34;&gt;Part 2 (Abstract Classes)&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;http://www.cod3r.com/2010/12/what-objective-c-can-learn-from-java-part-3-single-source-file/&#34;&gt;Part 3 (Single Source File)&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;http://www.cod3r.com/2011/01/what-objective-c-can-learn-from-java-part-4-namespace/&#34;&gt;Part 4 (Namespace)&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;Part 5 (Exceptions)&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;p&gt;Anyone who programs in Java for a short period of time becomes well aware of Java&amp;rsquo;s exceptions. To the new programmer, they may be a bit of an annoyance, but to anyone designing enterprise-level code, they are a necessity. Objective-C has exceptions too, but they are so weakly defined in the language and so overlooked, it&amp;rsquo;s almost as if they were nothing more than an afterthought. In fact, one can argue that the exception handling in C++ is superior to what one would find in Objective-C.&lt;/p&gt;</description>
    </item>
    <item>
      <title>What Objective-C can learn from Java, Part 4 (Namespace)</title>
      <link>http://www.cod3r.com/2011/01/what-objective-c-can-learn-from-java-part-4-namespace/</link>
      <pubDate>Sat, 08 Jan 2011 21:18:40 +0000</pubDate>
      <guid>http://www.cod3r.com/2011/01/what-objective-c-can-learn-from-java-part-4-namespace/</guid>
      <description>&lt;p&gt;This is the last is a series of blog posts I&amp;rsquo;m writing on things that Objective-C can learn from Java. The other parts can be found here:&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;a href=&#34;http://www.cod3r.com/2010/12/what-objective-c-can-learn-from-java-part-1-generics/&#34;&gt;Part 1 (Generics)&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;http://www.cod3r.com/2010/12/what-objective-c-can-learn-from-java-part-2-abstract-classes/&#34;&gt;Part 2 (Abstract Classes)&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;http://www.cod3r.com/2010/12/what-objective-c-can-learn-from-java-part-3-single-source-file/&#34;&gt;Part 3 (Single Source File)&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;Part 4 (Namespace)&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;http://www.cod3r.com/2012/04/what-objective-c-can-learn-from-java-part-5-exceptions/&#34;&gt;Part 5 (Exceptions)&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;p&gt;For one who has programmed in other object oriented languages, Objective-C stands out with its complete lack of namespace. As a result, classes have a prefix, such as Apple&amp;rsquo;s common &lt;em&gt;NS&lt;/em&gt; and &lt;em&gt;UI&lt;/em&gt; prefixes. On the mac side of things, every class under the sun seemed to start with &lt;em&gt;NS&lt;/em&gt;, such as &lt;code&gt;NSString&lt;/code&gt;, and confusion is added when on the iOS side, several classes start with &lt;em&gt;UI&lt;/em&gt;, such as &lt;code&gt;UIView&lt;/code&gt;. This is due to the fact that without a concept of namespace, Objective-C cannot have two classes with the same name, regardless of whether the classes are public or not.&lt;/p&gt;</description>
    </item>
    <item>
      <title>What Objective-C can learn from Java, Part 3 (Single Source File)</title>
      <link>http://www.cod3r.com/2010/12/what-objective-c-can-learn-from-java-part-3-single-source-file/</link>
      <pubDate>Thu, 30 Dec 2010 16:16:28 +0000</pubDate>
      <guid>http://www.cod3r.com/2010/12/what-objective-c-can-learn-from-java-part-3-single-source-file/</guid>
      <description>&lt;p&gt;This is the third is a series of blog posts I&amp;rsquo;m writing on things that Objective-C can learn from Java. The other parts can be found here:&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;a href=&#34;http://www.cod3r.com/2010/12/what-objective-c-can-learn-from-java-part-1-generics/&#34;&gt;Part 1 (Generics)&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;http://www.cod3r.com/2010/12/what-objective-c-can-learn-from-java-part-2-abstract-classes/&#34;&gt;Part 2 (Abstract Classes)&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;Part 3 (Single Source File)&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;http://www.cod3r.com/2011/01/what-objective-c-can-learn-from-java-part-4-namespace/&#34;&gt;Part 4 (Namespace)&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;http://www.cod3r.com/2012/04/what-objective-c-can-learn-from-java-part-5-exceptions/&#34;&gt;Part 5 (Exceptions)&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;p&gt;Objective-C still retains a lot of its heritage from it&amp;rsquo;s C beginnings. This includes using two files, a header and a source file, for each class. In a strictly object oriented environment, the header file contains the class definition (super-class and instance variables), public property definitions, and any public function declarations. The source file contains all of the function implementations, including synthesize statements. In contrast, Java contains all the functions of both files in a single file. To one who knows better, as in one who has used the single file environment, the two files for each class becomes a pain.&lt;/p&gt;</description>
    </item>
    <item>
      <title>What Objective-C can learn from Java, Part 2 (Abstract Classes)</title>
      <link>http://www.cod3r.com/2010/12/what-objective-c-can-learn-from-java-part-2-abstract-classes/</link>
      <pubDate>Mon, 27 Dec 2010 21:54:20 +0000</pubDate>
      <guid>http://www.cod3r.com/2010/12/what-objective-c-can-learn-from-java-part-2-abstract-classes/</guid>
      <description>&lt;p&gt;This is the second is a series of blog posts I&amp;rsquo;m writing on things that Objective-C can learn from Java. The other parts can be found here:&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;a href=&#34;http://www.cod3r.com/2010/12/what-objective-c-can-learn-from-java-part-1-generics/&#34;&gt;Part 1 (Generics)&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;Part 2 (Abstract Classes)&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;http://www.cod3r.com/2010/12/what-objective-c-can-learn-from-java-part-3-single-source-file/&#34;&gt;Part 3 (Single Source File)&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;http://www.cod3r.com/2011/01/what-objective-c-can-learn-from-java-part-4-namespace/&#34;&gt;Part 4 (Namespace)&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;http://www.cod3r.com/2012/04/what-objective-c-can-learn-from-java-part-5-exceptions/&#34;&gt;Part 5 (Exceptions)&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;p&gt;When one is using object oriented design, a common practice is to lump similar classes together with a common super-class and include the common functionality in that super-class. In doing such design, a common problem is for the super-class to require some information that can only be computed by the sub-class. The solution is for the super-class to make a function call on itself which the sub-class implements. For example, I recently designed a class which simplifies storage of an object in a SQL row, but it knows nothing about the actual field names or values stored in the database. In this case, I made a function, which subclasses implement, to retrieve this data. In Java, this is simply done through an abstract method in an abstract class.&lt;/p&gt;</description>
    </item>
    <item>
      <title>What Objective-C can learn from Java, Part 1 (Generics)</title>
      <link>http://www.cod3r.com/2010/12/what-objective-c-can-learn-from-java-part-1-generics/</link>
      <pubDate>Sat, 04 Dec 2010 22:38:29 +0000</pubDate>
      <guid>http://www.cod3r.com/2010/12/what-objective-c-can-learn-from-java-part-1-generics/</guid>
      <description>&lt;p&gt;This is the first is a series of blog posts I&amp;rsquo;m going to write over the next several days on things that Objective-C can learn from Java. I&amp;rsquo;ve been programming in Java since 1997, and in Objective-C since 2001. The two languages have a lot of similarities, but there are a few design principles in which Java excels and Objective-C is left behind. This is understandable considering that Objective-C is older than Java, and Java borrowed heavily from Objective-C when it was designed. In this series I&amp;rsquo;m only going to discuss changes to the language; these items will have very little, if any, impact on the runtime. For the purposes of this discussion, I&amp;rsquo;m going to use Java&amp;rsquo;s terminology since it is more familiar with the programming public. This means I&amp;rsquo;ll talk about functions instead of selectors, and interfaces instead of protocols.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Trac.fcgi Memory Usage</title>
      <link>http://www.cod3r.com/2010/10/trac-fcgi-memory-usage/</link>
      <pubDate>Sat, 16 Oct 2010 18:06:28 +0000</pubDate>
      <guid>http://www.cod3r.com/2010/10/trac-fcgi-memory-usage/</guid>
      <description>&lt;p&gt;I&amp;rsquo;ve been slowly transitioning to using nginx as the web front-end in an effort to reduce Apache&amp;rsquo;s memory usage. In keeping with this task, I&amp;rsquo;m moving more and more off of Apache. One piece I recently moved was trac, transitioning to using it directly by nginx by running it in fast-cgi mode where as previously it was running as cgi though Apache.&lt;/p&gt;&#xA;&lt;p&gt;While fast-cgi is faster, it has inherent issues, such as any memory leak can result in ever growing memory usage, which is exactly why Apache has a setting for each child to serve a limited number of requests before exiting. Trac.fcgi has no such directive, and has the equivalent of a large memory leak, a non-expiring cache. While it&amp;rsquo;s not as bad as a memory leak, which will indefinitely grow instead of reaching a limit, if the cache size is larger than the available memory for trac to use, it&amp;rsquo;s just as serious. The only solution, without fixing trac&amp;rsquo;s caching mechanisms, is to restart trac periodically, but during the time trac is restarting, all requests are lost, causing bad gateway errors to the user. Additionally, the restart needs to be done manually. Clearly not an ideal solution.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Google Link Redirection (cont.)</title>
      <link>http://www.cod3r.com/2010/10/google-link-redirection-cont/</link>
      <pubDate>Sat, 09 Oct 2010 14:04:21 +0000</pubDate>
      <guid>http://www.cod3r.com/2010/10/google-link-redirection-cont/</guid>
      <description>&lt;p&gt;&lt;a href=&#34;http://www.cod3r.com/2010/08/googles-link-redirection/&#34;&gt;Earlier&lt;/a&gt; I wrote about google&amp;rsquo;s link redirection. I have finally finished my testing of a Safari extension which kills this behavior. I didn&amp;rsquo;t want to release this extension until the updating mechanism worked and that is what took me so long. Anyway, here is the &lt;a href=&#34;http://www.cod3r.com/downloads/BlockGoogleRwt.safariextz&#34;&gt;the extension&lt;/a&gt;. Enjoy, and let me know what you think.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Googleâ€™s Link Redirection</title>
      <link>http://www.cod3r.com/2010/08/googles-link-redirection/</link>
      <pubDate>Tue, 31 Aug 2010 02:42:50 +0000</pubDate>
      <guid>http://www.cod3r.com/2010/08/googles-link-redirection/</guid>
      <description>&lt;p&gt;Google, for quite some time, has been redirected clicks on links in their search results to &lt;a href=&#34;https://www.google.com/url&#34;&gt;www.google.com/url&lt;/a&gt;?&amp;hellip;. While I don&amp;rsquo;t approve of such practices, I didn&amp;rsquo;t mind it so much since this is presumably an effort to improve their search results. That changed recently, when I noticed that my history in Safari was filled with entries containing that URL as the title. Considering the fact that I often use the history to re-find a page with pertinent information, this is bordering on making my browser usage useless. Note: I tend to cmd-click links so they show up in new tabs. If you just click the link, the title in the history is correct.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Text Compression Code Released</title>
      <link>http://www.cod3r.com/2010/07/text-compression-code-released/</link>
      <pubDate>Sat, 17 Jul 2010 20:36:22 +0000</pubDate>
      <guid>http://www.cod3r.com/2010/07/text-compression-code-released/</guid>
      <description>&lt;p&gt;After it&amp;rsquo;s &lt;a href=&#34;http://www.cod3r.com/2009/07/text-compression-techniques/&#34;&gt;original post&lt;/a&gt;, I got a request for the code I used in my text compression technique. I&amp;rsquo;ve not gotten around to cleaning up the code and separating it from it&amp;rsquo;s test environment so it can be distributed separately. You can read more about it in its own &lt;a href=&#34;http://www.cod3r.com/programming/text-compression/&#34;&gt;page&lt;/a&gt;.&lt;/p&gt;&#xA;&lt;p&gt;Sometime soon, I&amp;rsquo;ll get around to releasing my code for fetching old Escape Pod episodes that I &lt;a href=&#34;http://www.cod3r.com/2009/09/incorrect-podcast-order-on-my-ipod/&#34;&gt;hinted at earlier&lt;/a&gt;.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Common Media Player Framework</title>
      <link>http://www.cod3r.com/2010/02/common-media-player-framework/</link>
      <pubDate>Sat, 27 Feb 2010 19:27:43 +0000</pubDate>
      <guid>http://www.cod3r.com/2010/02/common-media-player-framework/</guid>
      <description>&lt;p&gt;About 3 weeks ago, Kevin (developer of &lt;a href=&#34;http://wiki.awkwardtv.org/wiki/NitoTV&#34;&gt;NitoTV&lt;/a&gt;) and I decided it was a bit silly how we were each writing playback mechanisms on the AppleTV with little to no collaboration between us. So, we decided to write a Common Media Player Framework, which is licensed using LGPL.&lt;/p&gt;&#xA;&lt;p&gt;Kevin sent me the code he used for DVD playback inside NitoTV as a place to start. I stripped it down to a smaller piece, and started the framework. After I had it doing basic playback, I worked on overlays to provide feedback to the user. Now, hitting up and down changes the overlays between normal, chapter view, audio/subtitle selection, and zoom. &lt;a href=&#34;http://www.cod3r.com/img/2010/02/Chapter-Overlay.png&#34;&gt;&#xA;  &lt;figure&gt;&#xA;    &lt;img src=&#34;http://www.cod3r.com/img/2010/02/Chapter-Overlay_t.png&#34; alt=&#34;&#34;&gt;&#xA;    &lt;center&gt;&lt;figcaption&gt;Chapter Overlay&lt;/figcaption&gt;&lt;/center&gt;&#xA;  &lt;/figure&gt;&#xA;&#xA;&lt;/a&gt;&lt;/p&gt;</description>
    </item>
    <item>
      <title>Text Compression Techniques</title>
      <link>http://www.cod3r.com/2009/07/text-compression-techniques/</link>
      <pubDate>Wed, 29 Jul 2009 22:17:20 +0000</pubDate>
      <guid>http://www.cod3r.com/2009/07/text-compression-techniques/</guid>
      <description>&lt;p&gt;A friend of mine develops on an Bible application for the iPhone, BibleXpress. Since his application includes several translations with the app, he once mentioned to me the possibility of compressing them to save space. Any compression that is done must achieve a good ratio, but more importantly, decompression must be fast. I took it upon myself to find a compression algorithm that could fit the bill.&lt;/p&gt;&#xA;&lt;p&gt;In my test case, I worked with the NASB translation of the Bible. The raw text of this translation, minus formatting and book/chapter/verse identifiers is 3.965MB. Since the iPhone already has zlib, using gzip compression is an obvious choice. When compressed with gzip, the file size becomes 1.189MB, a significant savings. Even though bzip2 is not readily available on the iPhone (at least not that I could find), I tested its compression which produced a file size of 0.8548MB. While these mechanisms provide a significantly smaller file, when one desires a certain portion of the file, one must first decompress the entire file up to that point. This is an expensive operation on a small device such as the iPhone.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Using Newer Subversion in Xcode</title>
      <link>http://www.cod3r.com/2009/07/using-newer-subversion-in-xcode/</link>
      <pubDate>Sat, 25 Jul 2009 20:05:47 +0000</pubDate>
      <guid>http://www.cod3r.com/2009/07/using-newer-subversion-in-xcode/</guid>
      <description>&lt;p&gt;I use &lt;a href=&#34;http://www.macports.org/&#34;&gt;MacPorts&lt;/a&gt; to get a whole host of utilities. In addition, I&amp;rsquo;ve always used it to obtain later versions of subversion that the one provided with the OS. Xcode, on the other hand, is locked into using the version of Subversion which is installed in /usr (currently version 1.4.4 where as I have 1.6.3). Since I often work in the command line, eventually I will use the newer version of Subversion on a directory which I also use in Xcode. This causes a problem since the command line utility will upgrade the local repository format in such a way that old versions of Subversion (Xcode&amp;rsquo;s) cannot use it.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Working With Core Data</title>
      <link>http://www.cod3r.com/2009/05/working-with-core-data/</link>
      <pubDate>Wed, 20 May 2009 21:49:34 +0000</pubDate>
      <guid>http://www.cod3r.com/2009/05/working-with-core-data/</guid>
      <description>&lt;p&gt;When I redesigned &lt;a href=&#34;http://appletv.nanopi.net/&#34;&gt;Sapphire&lt;/a&gt;, I decided that the metadata back end would be best served by &lt;a href=&#34;http://developer.apple.com/macosx/coredata.html&#34;&gt;Apple&amp;rsquo;s Core Data Framework&lt;/a&gt;. While the framework has a lot of power, several shortcomings in the implementation hindered its potential.&lt;/p&gt;&#xA;&lt;p&gt;First, I should start with the many things that Apple did correctly in Core Data.&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;The whole data model with relationships and properties is quite powerful. With this data model, one can represent many data sets in a simple manner, such as the example below: &lt;a href=&#34;http://www.cod3r.com/images/2009/05/core-data-model.png&#34;&gt;&#xA;  &lt;figure&gt;&#xA;    &lt;img src=&#34;http://www.cod3r.com/images/2009/05/core-data-model-300x188.png&#34; alt=&#34;core-data-model&#34;&gt;&#xA;    &lt;center&gt;&lt;figcaption&gt;core-data-model&lt;/figcaption&gt;&lt;/center&gt;&#xA;  &lt;/figure&gt;&#xA;&#xA;&lt;/a&gt; This example shows part of the data model within Sapphire pertaining to TV shows, where a TV shows contains multiple seasons, each of which contains multiple episodes. Additionally, an episode contains one or more sub-episodes, to handle the case where a single file or DVD contains multiple episodes. Lastly, the show and season objects extend from a superclass &lt;code&gt;CategoryDirectory&lt;/code&gt;, which contains some common properties to all collections.&lt;/li&gt;&#xA;&lt;li&gt;Since the relationships are defined, they can be automatically maintained. In the above example, if an episode&amp;rsquo;s show relationship is set to a particular &lt;code&gt;TVShow&lt;/code&gt; object, that show&amp;rsquo;s object will automatically have the episode added to its &lt;code&gt;episodes&lt;/code&gt; relationship.&lt;/li&gt;&#xA;&lt;li&gt;Delete rules can be set such that if an object is removed, the delete can cascade to remove other objects as well. This is useful in the case of removing a directory, and all the files and directories contained within it.&lt;/li&gt;&#xA;&lt;li&gt;Saving to a file is easy since the details of reading and writing a file are handled by Core Data&lt;/li&gt;&#xA;&lt;li&gt;While I didn&amp;rsquo;t use it, undo management is also built into the system.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;p&gt;So, with all these advantages, why is Core Data not used more often. The answer is that it contains numerous short comings.&lt;/p&gt;</description>
    </item>
    <item>
      <title>AC3 Passthrough Compatibility Matrix</title>
      <link>http://www.cod3r.com/2008/06/ac3-passthrough-compatibility-matrix/</link>
      <pubDate>Mon, 09 Jun 2008 14:36:47 +0000</pubDate>
      <guid>http://www.cod3r.com/2008/06/ac3-passthrough-compatibility-matrix/</guid>
      <description>&lt;p&gt;Since some parts of AC3 passthrough work, and others do not, I decided to create a bit of a compatibility matrix to summarize it. I&amp;rsquo;ve added the related bug id&amp;rsquo;s I&amp;rsquo;ve reported, which have gone unanswered, in parentheses.&lt;/p&gt;&#xA;&lt;p&gt;The latest version of perian (to be released soon), will choose between using the hack method for passthrough, and Apple&amp;rsquo;s method. Anywhere labeled &amp;ldquo;Hack&amp;rdquo; will never work with Apple&amp;rsquo;s method, so it is bypassed to avoid their broken code. The hack does not work with all 5.1 receivers. Taking a file format which is not properly framed, and making it into a .mov file will not correct the framing. Likewise, it will not destroy the framing of a properly framed file format.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Java in Xcode</title>
      <link>http://www.cod3r.com/2008/04/java-in-xcode/</link>
      <pubDate>Sat, 26 Apr 2008 21:38:06 +0000</pubDate>
      <guid>http://www.cod3r.com/2008/04/java-in-xcode/</guid>
      <description>&lt;p&gt;Well, I have had reason with my research to do some Java development. No biggie, Xcode supports Java too, right? &lt;strong&gt;Wrong!&lt;/strong&gt; well mostly. This all came to a head when I downloaded the latest beta of Xcode (which I am only using because these fix a serious performance issue with the non-beta releases). After the last download, I found 4 distinct bugs in 2 hours, and I&amp;rsquo;m still finding them. Two of these are Java related, so I gave up, and looked for alternatives.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Limited Real AC3 Passthrough</title>
      <link>http://www.cod3r.com/2008/04/imited-real-ac3-passthrough/</link>
      <pubDate>Wed, 23 Apr 2008 04:27:52 +0000</pubDate>
      <guid>http://www.cod3r.com/2008/04/imited-real-ac3-passthrough/</guid>
      <description>&lt;p&gt;Well, I got to fiddling around with the existing passthrough on the AppleTV. I found where it works, and where it doesn&amp;rsquo;t. AC3 passthrough does work in .mov files with 48KHz files, of any bit rate. I did this with importing a .ac3 file into .mov, and adding a video track (ATV doesn&amp;rsquo;t like playing audio only files). I still need to test 44.1KHz, and 32KHz, but they are a bit harder to find. I have still to come across one of them.&lt;/p&gt;</description>
    </item>
    <item>
      <title>The Correct Way to Enable AC3 Passthrough with Quicktime</title>
      <link>http://www.cod3r.com/2008/02/the-correct-way-to-enable-ac3-passthrough-with-quicktime/</link>
      <pubDate>Sat, 09 Feb 2008 19:36:35 +0000</pubDate>
      <guid>http://www.cod3r.com/2008/02/the-correct-way-to-enable-ac3-passthrough-with-quicktime/</guid>
      <description>&lt;p&gt;I have seen a few people post methods about enabling AC3 passthrough, and many of them are overly complicated or in some cases even wrong. This also serves as the first place to describe how to enable DTS passthrough. Since I designed the code that actually does this, I&amp;rsquo;ll list the steps here:&lt;br&gt;&#xA;&lt;strong&gt;Note:&lt;/strong&gt; This does not work with all receivers. If these instructions fail for you, most likely your receiver will not work with this. Passthrough is still a hack, and thus this hack is still outside of the specs.&lt;br&gt;&#xA;&lt;strong&gt;Note 2:&lt;/strong&gt; Apple broke AC3 rather seriously in QT 7.3 (bug id 5594478, go tell them to fix it). If have a .mov file, open it, and it says that it is stereo audio rather than 5.1, this is a symptom of that bug. You will need to have at least Perian 1.1 and re-open the original file that made the .mov file. This bug has been fixed in 7.4.5, but any .mov files created with QT 7.3 or 7.4 are still affected by this bug.&lt;br&gt;&#xA;&lt;strong&gt;Note 3:&lt;/strong&gt; Perian 1.1.4 contains a bug in which DTS passthrough fails to work. This will be fixed in the next version. This has been fixed in Perian 1.2, released Dec 17, 2009.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Perian 1.1 Released</title>
      <link>http://www.cod3r.com/2008/02/perian-11-released/</link>
      <pubDate>Thu, 07 Feb 2008 17:27:04 +0000</pubDate>
      <guid>http://www.cod3r.com/2008/02/perian-11-released/</guid>
      <description>&lt;p&gt;For those who don&amp;rsquo;t know yet, &lt;a href=&#34;http://www.perian.org&#34;&gt;Perian&lt;/a&gt; version 1.1 has been released. This one was a long time coming, including large sections of code which were written for 1.1 before 1.0 was even released.&lt;/p&gt;&#xA;&lt;p&gt;Now it is time to sit back, relax, and get some sleep before the bug reports start piling in.&lt;/p&gt;</description>
    </item>
    <item>
      <title>The Road to Perian 1.1</title>
      <link>http://www.cod3r.com/2008/01/the-road-to-perian-11/</link>
      <pubDate>Thu, 31 Jan 2008 16:19:21 +0000</pubDate>
      <guid>http://www.cod3r.com/2008/01/the-road-to-perian-11/</guid>
      <description>&lt;p&gt;Well, it started before 1.0 was even released. We started looking at methods to optimize the routines within &lt;a href=&#34;http://www.perian.org&#34; title=&#34;Perian Website&#34;&gt;Perian&lt;/a&gt; to run even faster. The road has been a bit of a long one. Now, we are in a private beta. The beta has been opened to those who have donated to the project as well as personal friends of developers. We often get the question as to why we limited the beta to donators. I find more often than not that such people are the kind who think they deserve something to which they have no right to have (see &lt;a href=&#34;http://www.cod3r.com/2007/06/open-source-attitudes/&#34;&gt;Open Source Attitudes&lt;/a&gt;). The reason we did this is simple. We didn&amp;rsquo;t want the beta to be fully public, but we wanted more testers. Those who have donated have already shown they use and care about the project, so they are a natural choice.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Google&#39;s Analytics Mistake</title>
      <link>http://www.cod3r.com/2007/12/googles-analytics-mistake/</link>
      <pubDate>Wed, 19 Dec 2007 16:45:20 +0000</pubDate>
      <guid>http://www.cod3r.com/2007/12/googles-analytics-mistake/</guid>
      <description>&lt;p&gt;So, as I said &lt;a href=&#34;http://www.cod3r.com/2007/09/analytics/&#34; title=&#34;Analytics post&#34;&gt;earlier&lt;/a&gt;, I have started using &lt;a href=&#34;http://www.google.com/analytics/&#34; title=&#34;Google Analytics&#34;&gt;Google Analytics&lt;/a&gt;. Google now suggests some &lt;a href=&#34;https://www.google.com/support/googleanalytics/bin/answer.py?answer=75129&#34; title=&#34;Inserting Analytics code&#34;&gt;new code&lt;/a&gt; to use in running the analytics. The problem: it&amp;rsquo;s broken! Here&amp;rsquo;s their code:&lt;/p&gt;&#xA;&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;&amp;lt;script type=&amp;#34;text/javascript&amp;#34;&amp;gt; var gaJsHost = ((&amp;#34;https:&amp;#34; == document.location.protocol) ? &amp;#34; https://ssl.&amp;#34; : &amp;#34;http://www.&amp;#34;); document.write(&amp;#34;\&amp;lt;script src=&amp;#39;&amp;#34; + gaJsHost + &amp;#34; google-analytics.com/ga.js&amp;#39; type=&amp;#39;text/javascript&amp;#39;&amp;gt;\&amp;lt;\/script&amp;gt;&amp;#34; );&#xA;&#xA;var pageTracker = _gat._getTracker(&amp;#34;UA-xxxxxx-x&amp;#34;); pageTracker._initData(); pageTracker._trackPageview(); &amp;lt;/script&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;Now for what is broken:&lt;/p&gt;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;There is a space between the &amp;quot; and google-analytics.com. This causes browsers to load the wrong (and invalid) address&lt;/li&gt;&#xA;&lt;li&gt;Code that is dependent on code in the ga.js is executed immediately after the html is written to load the external javascript. There is no explicit indication as to the order this should be done. Race condition!&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&lt;p&gt;So, here is the fixed code:&lt;/p&gt;</description>
    </item>
    <item>
      <title>Sapphire Plugin</title>
      <link>http://www.cod3r.com/2007/12/sapphire-plugin/</link>
      <pubDate>Mon, 03 Dec 2007 05:34:18 +0000</pubDate>
      <guid>http://www.cod3r.com/2007/12/sapphire-plugin/</guid>
      <description>&lt;p&gt;Well, it&amp;rsquo;s official. &lt;a href=&#34;http://appletv.nanopi.net/&#34;&gt;Sapphire&lt;/a&gt;, one of the best AppleTV plugins, has released beta 4. This is a major upgrade from beta 3, adding support for movies and improvements overall. One of the most interesting features is that this version also works as a frontrow plugin in Leopard. As far as I have been able to find out, this is the first plugin to do this, which means it could open up a whole new world for frontrow. Previously, it was limited to those with an AppleTV, but now, anyone with a mac can use it. The only question is how many would find it useful?&lt;/p&gt;</description>
    </item>
    <item>
      <title>Custom RSS Feeds</title>
      <link>http://www.cod3r.com/2007/09/custom-rss-feeds/</link>
      <pubDate>Sun, 30 Sep 2007 03:15:44 +0000</pubDate>
      <guid>http://www.cod3r.com/2007/09/custom-rss-feeds/</guid>
      <description>&lt;p&gt;So, lets break down the problem. I use RSS feeds a lot to read the news. For the uninitiated, &lt;a href=&#34;http://en.wikipedia.org/wiki/RSS_(file_format)&#34;&gt;RSS feeds&lt;/a&gt; (which stands for Really Simple Syndication), are a nice way to aggregate multiple sources and see changes from said sources in a convenient manner. Basically, I can see the headlines from many locations in one place and read the articles I want. Sounds good, right?&lt;/p&gt;&#xA;&lt;p&gt;It would be, but most sites have only a single sentence description for the &amp;ldquo;article&amp;rdquo; which means you have to load the full site to realize that, more often than not, the article isn&amp;rsquo;t something you wanted to read, or so horribly written you wish you hadn&amp;rsquo;t read it. To make matters worse, some even go as far as to insert ads into the RSS feeds. Often the ad is bigger than the article description itself. Guess that means their articles aren&amp;rsquo;t good enough to bring traffic to their site so they feel they have to make money by inserting ads into their RSS feeds. This is akin to watching a commercial trying to get you to watch a new television show and inserting an ad in the middle of the commercial.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Ripping DVDs to play on the AppleTV</title>
      <link>http://www.cod3r.com/2007/08/ripping-dvds-to-play-on-the-appletv/</link>
      <pubDate>Sun, 26 Aug 2007 01:59:53 +0000</pubDate>
      <guid>http://www.cod3r.com/2007/08/ripping-dvds-to-play-on-the-appletv/</guid>
      <description>&lt;p&gt;First, I should start off with the prerequisites for the AppleTV itself.&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;I have hacked my ATV and installed &lt;a href=&#34;http://www.perian.org&#34;&gt;Perian&lt;/a&gt;.&lt;/li&gt;&#xA;&lt;li&gt;I also have installed &lt;a href=&#34;http://appletv.nanopi.net&#34;&gt;Sapphire&lt;/a&gt; to play back the content.&lt;/li&gt;&#xA;&lt;li&gt;And lastly, I have installed the USB kernel extensions to allow use of an external hard drive, but this piece is not a necessity.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;p&gt;The second piece I used is &lt;a href=&#34;http://handbrake.m0k.org/&#34;&gt;Handbrake&lt;/a&gt; to actually rip the DVDs.&lt;/p&gt;&#xA;&lt;p&gt;Most people try to make the choice between AVI or MP4 file formats. There are problems with both of these approaches.&lt;/p&gt;</description>
    </item>
    <item>
      <title>New Hardware</title>
      <link>http://www.cod3r.com/2007/08/new-hardware/</link>
      <pubDate>Mon, 06 Aug 2007 15:41:58 +0000</pubDate>
      <guid>http://www.cod3r.com/2007/08/new-hardware/</guid>
      <description>&lt;p&gt;It has been a while since I updated this. I promise a followup to my &lt;a href=&#34;http://www.cod3r.com/2007/06/open-source-attitudes/&#34;&gt;previous post about open source attitudes&lt;/a&gt; is coming up. I realized from the comments that a few of my statements didn&amp;rsquo;t come across exactly as I had intended them.&lt;/p&gt;&#xA;&lt;p&gt;Well, with the &lt;a href=&#34;http://www.perian.org&#34;&gt;Perian&lt;/a&gt; donations, Chris and I went to buy some AV equipment. This enables us to test out &lt;a href=&#34;http://www.perian.org&#34;&gt;Perian&lt;/a&gt; in other situations than we had originally intended. Each of us got an AppleTV and a 5.1 system. As a result, I have already figured out a way to do AC3 passthrough in a much less hacky method, which means it should be more reliable. However, I found out that with some decoders, like the one my dad has, even this method still fails. Apparently, some decoders require that the SPDIF header specify that the data is encoded digital audio instead of searching for a correctly formatted header in the PCM data. Oh well.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Open Source Attitudes</title>
      <link>http://www.cod3r.com/2007/06/open-source-attitudes/</link>
      <pubDate>Tue, 19 Jun 2007 21:38:36 +0000</pubDate>
      <guid>http://www.cod3r.com/2007/06/open-source-attitudes/</guid>
      <description>&lt;p&gt;With my recent work on &lt;a href=&#34;http://www.fireim.org&#34;&gt;Fire&lt;/a&gt;, &lt;a href=&#34;http://www.adiumx.com&#34;&gt;Adium&lt;/a&gt;, &lt;a href=&#34;http://www.perian.org&#34;&gt;Perian&lt;/a&gt;, and &lt;a href=&#34;http://trac.cod3r.com/a52codec&#34;&gt;A52Codec&lt;/a&gt;, I have come to realize several misunderstandings concerning open source software.&lt;/p&gt;&#xA;&lt;p&gt;Ask anyone involved in Open Source Software (OSS), whether it be the users or the developers, and you will find there is often a disconnect between the two groups. The users are upset with the elitist attitudes of the developers and the developer are upset with the whining of the users. Why does this happen? The answer is simple, people are greedy.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Perian Woes</title>
      <link>http://www.cod3r.com/2007/06/perian-woes/</link>
      <pubDate>Mon, 18 Jun 2007 04:45:21 +0000</pubDate>
      <guid>http://www.cod3r.com/2007/06/perian-woes/</guid>
      <description>&lt;p&gt;Well, we had some fun with &lt;a href=&#34;http://perian.org&#34;&gt;Perian&lt;/a&gt; today. First it started when macupdate decided that they were going to post a fake 1.0 of Perian. You can &lt;a href=&#34;http://brok3n.org/archivesextreme/2007/06/news_site_heada.html&#34;&gt;read the details&lt;/a&gt; if you like. Since this is clearly something we didn&amp;rsquo;t want, we had to figure out how it happened. My guess is that someone saw the new website design in development within the subversion repository, clicked the download link that was there, and noticed it download a version later than what we have on the website.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Nearing Release</title>
      <link>http://www.cod3r.com/2007/05/nearing-release/</link>
      <pubDate>Tue, 08 May 2007 02:06:24 +0000</pubDate>
      <guid>http://www.cod3r.com/2007/05/nearing-release/</guid>
      <description>&lt;p&gt;Well, &lt;a href=&#34;http://www.perian.org&#34;&gt;Perian&lt;/a&gt; is finally nearing a release. I wonder how much press we will get over this one, since it is finally hitting version 1.0. Chris (project manager) seems to think that &lt;a href=&#34;http://www.perian.org&#34;&gt;Perian&lt;/a&gt; will be bigger than &lt;a href=&#34;http://www.adiumx.com&#34;&gt;Adium&lt;/a&gt; (which he also manages). Considering how well version 0.5 has been received (over a quarter million downloads), I think I now believe him. Then we get to start work on version 1.1, which will include optimizations to what we did in 1.0.&lt;/p&gt;</description>
    </item>
    <item>
      <title>AC3 and Passthrough on the AppleTV and Macs</title>
      <link>http://www.cod3r.com/2007/04/ac3-and-passthrough-on-the-appletv-and-macs/</link>
      <pubDate>Sat, 07 Apr 2007 21:07:56 +0000</pubDate>
      <guid>http://www.cod3r.com/2007/04/ac3-and-passthrough-on-the-appletv-and-macs/</guid>
      <description>&lt;p&gt;A few days ago, I managed to get my AC3 codec to do AC3 passthrough on the AppleTV. It wasn&amp;rsquo;t that hard once I stopped making stupid mistakes. Now, if you have a video file with AC3 audio along with a dolby digital decoder, you can play it on your AppleTV and enjoy full 5.1 dolby digital surround.&lt;/p&gt;&#xA;&lt;p&gt;David Conrad later sent me a patch to make it work on PPC based macs. It is annoying not having a decoder to test these things on. I suppose that just adds to the challenge.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Branchless Code</title>
      <link>http://www.cod3r.com/2007/03/branchless-code/</link>
      <pubDate>Tue, 20 Mar 2007 01:47:39 +0000</pubDate>
      <guid>http://www.cod3r.com/2007/03/branchless-code/</guid>
      <description>&lt;p&gt;Apologies if this is technical, but since I learned something in this experiment, I thought I would write it up:&lt;/p&gt;&#xA;&lt;p&gt;I remember going to a seminar a few weeks ago delivered by a faculty candidate which discussed the idea of how to get around the branch mis-prediction problem present in microprocessors. Anyway, her idea was to use predicated statements to make the instructions conditional on a comparison which may not have been completed yet. Essentially, when faced with a decision between two routes, the processor starts computation on both before it is even sure which it should take. Then, when the decision is known, it can proceed to throw out the results from the task it should not have started and only keep the results from the other. Her research mentioned using the processor&amp;rsquo;s internal register renaming system to prevent the results from the two colliding. There is a problem of both processor support as well as compiler support, as well as the fact that the active power in the processor is now increased. From the first two issues, I doubt we will ever see this come to light, especially when such things are already possible:&lt;/p&gt;</description>
    </item>
    <item>
      <title>Fire&#39;s Death</title>
      <link>http://www.cod3r.com/2007/02/fires-death/</link>
      <pubDate>Sat, 24 Feb 2007 12:09:23 +0000</pubDate>
      <guid>http://www.cod3r.com/2007/02/fires-death/</guid>
      <description>&lt;p&gt;Gee, a bunch happened at once. Maybe it is just that I have a little bit of time. Anyway, I have finally made the announcement on &lt;a href=&#34;http://www.fireim.org&#34;&gt;Fire&amp;rsquo;s&lt;/a&gt; death. This was a long time coming, but I had to wait for &lt;a href=&#34;http://www.adiumx.com&#34;&gt;Adium&lt;/a&gt; 1.0 to come out since it contained the upgrade path from Fire. As is the case with many open source projects, there was developer turnover, but lately I had become the primary developer and most of the other devs moved on to other things. I didn&amp;rsquo;t want to go at it alone, so it was time to let go. Anyway, it is a bit sad to see it end. I have use the program since sometime in 2000, so it had become a part of my life, just don&amp;rsquo;t want it to become my life.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Perian released</title>
      <link>http://www.cod3r.com/2006/09/perian-released/</link>
      <pubDate>Sat, 30 Sep 2006 02:44:26 +0000</pubDate>
      <guid>http://www.cod3r.com/2006/09/perian-released/</guid>
      <description>&lt;p&gt;Well, a project I have been working on for a few months saw some action. &lt;a href=&#34;http://perian.org&#34;&gt;Perian&lt;/a&gt; was released today, but not before the site was linked by &lt;a href=&#34;http://digg.com&#34;&gt;digg&lt;/a&gt;. Essentially the server (which is the same as this one) was pounded by at least 10-20 people every second. I had to reconfigure some of the server&amp;rsquo;s options, but once I did so, it withstood the load rather well.&lt;/p&gt;&#xA;&lt;p&gt;Now to fix all the bugs reports which will start to flow in :)&lt;/p&gt;</description>
    </item>
    <item>
      <title>Slow Summer</title>
      <link>http://www.cod3r.com/2006/06/slow-summer/</link>
      <pubDate>Tue, 20 Jun 2006 14:22:04 +0000</pubDate>
      <guid>http://www.cod3r.com/2006/06/slow-summer/</guid>
      <description>&lt;p&gt;Been a while since I have posted here. I expect most of the reason is due to the fact that the summer is progressing slowly. I did take off last weekend and spent time with the parents. We spent a fair amount of time watching the nine Doctor Who episodes I brought with me.&lt;/p&gt;&#xA;&lt;p&gt;In the mean time, I started hosting the repository for &lt;a href=&#34;http://trac.cod3r.com/perian&#34;&gt;perian&lt;/a&gt;, a project to bring ffmpeg codecs to QuickTime. Assuming that cross-compiling issues with ffmpeg can be dealt with, then it should work out well.&lt;/p&gt;</description>
    </item>
    <item>
      <title>AC3 Codec released</title>
      <link>http://www.cod3r.com/2006/06/ac3-codec-released/</link>
      <pubDate>Thu, 08 Jun 2006 04:08:46 +0000</pubDate>
      <guid>http://www.cod3r.com/2006/06/ac3-codec-released/</guid>
      <description>&lt;p&gt;Well, I am sure I am getting a lot more traffic on this site recently because I released the AC3 codec yesterday. Essentially I got tired of the fact that the two that I found didn&amp;rsquo;t work well on Intel Macs, so I took one and fixed it.&lt;/p&gt;&#xA;&lt;p&gt;I already have one minor bug to fix (not worth releasing a new version though since it is just a version number). The next step is to figure out how to do AC3 passthrough. I am thinking I need to bug the Apple Engineers on the mailing lists in order to figure this one out.&lt;/p&gt;</description>
    </item>
    <item>
      <title>AC-3</title>
      <link>http://www.cod3r.com/2006/05/ac-3/</link>
      <pubDate>Mon, 22 May 2006 19:37:46 +0000</pubDate>
      <guid>http://www.cod3r.com/2006/05/ac-3/</guid>
      <description>&lt;p&gt;Well, my old Powerbook failed a few days ago, so I got a new Intel Powerbook (no, I will not use the stupid name). It is nice and fast. I may give a better review later, but for now, the biggest gripe I had so far was the fact that I couldn&amp;rsquo;t play videos with AC-3 audio anymore. So, I took the &lt;a href=&#34;http://shep.thefridgeowl.com/a52codec.php&#34;&gt;A52 Codec&lt;/a&gt; and modified its source so that it would work on Intel. While I was at it, I corrected numerous mistakes in the code (some even caused crashes), and made it work with the audio in AVI files. Anyway, if anyone needs it before the developer merges in my fixes, they can find it &lt;a href=&#34;http://www.cod3r.com/download/get.php?name=a52.zip&#34;&gt;here&lt;/a&gt;.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Repository Up</title>
      <link>http://www.cod3r.com/2006/04/repository-up/</link>
      <pubDate>Tue, 18 Apr 2006 02:23:31 +0000</pubDate>
      <guid>http://www.cod3r.com/2006/04/repository-up/</guid>
      <description>&lt;p&gt;I have now set up the subversion repository for a project I wish to start. The basics of the project is to get the server side part of iSync working on a server other than Apple&amp;rsquo;s. If this is completed, I can fully drop my .Mac subscription, and lose nothing that I care about. I guess this should be a lesson on not to over charge for poor services. If you persist in such action, someone will come along and replace you. It may be an inferior product in some respects, but the price is hard to beat in this case (free). So far very little is there: &lt;a href=&#34;http://trac.cod3r.com/trac/mySync&#34;&gt;http://trac.cod3r.com/mySync&lt;/a&gt;&lt;/p&gt;</description>
    </item>
    <item>
      <title>.Mac is not worth it</title>
      <link>http://www.cod3r.com/2006/02/mac-is-not-worth-it/</link>
      <pubDate>Wed, 08 Feb 2006 20:24:01 +0000</pubDate>
      <guid>http://www.cod3r.com/2006/02/mac-is-not-worth-it/</guid>
      <description>&lt;p&gt;OK, I was listening to the &lt;a href=&#34;http://www.maccast.com&#34;&gt;MacCast&lt;/a&gt; and heard a review of iWeb which is part of &lt;a href=&#34;http://www.apple.com/ilife&#34;&gt;iLife &amp;lsquo;06&lt;/a&gt;. This reminded me that I need to go on .mac rant, as I promised before:&lt;/p&gt;&#xA;&lt;p&gt;&lt;strong&gt;Introduction&lt;/strong&gt; I have had my .mac account for quite some time now. I had it back when it was free (and called iTools), and continued to use it when it was no longer free. I was content to pay for it at the time since I was reluctant to lose my mac.com email address.&lt;/p&gt;</description>
    </item>
    <item>
      <title>New Blog Site</title>
      <link>http://www.cod3r.com/2006/02/new-blog-site/</link>
      <pubDate>Sun, 05 Feb 2006 01:07:27 +0000</pubDate>
      <guid>http://www.cod3r.com/2006/02/new-blog-site/</guid>
      <description>&lt;p&gt;Well, if you are reading this, then you know that I now have a new site to store my blogs. This is the reason why I have not posted much in a while; I have been moving things over to this site.&lt;/p&gt;&#xA;&lt;p&gt;Some things to note: The address above is &lt;a href=&#34;https://www.cod3r.com&#34;&gt;www.cod3r.com&lt;/a&gt;. I have actually owned this domain for more than a year now, but just didn&amp;rsquo;t do anything with it. I finally decided that if I wanted to really use it, I needed it to be hosted somewhere. I decided to buy what is known as a virtual private server. Basically, I am sharing resources on a real computer out in the world somewhere, but I have full privileges to my little piece of the server. I get 5G of disk storage and 500G of data transfer per month. One other advantage of running this server is I can do whatever I want with it. Basically pretend it is a slow server (by today&amp;rsquo;s standards, but still faster than my 5 year old linux box under my desk), with only 5G of HD space. For the curious, it is running Debian/Linux - Stable.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Blast from the past</title>
      <link>http://www.cod3r.com/2005/10/blast-from-the-past/</link>
      <pubDate>Mon, 31 Oct 2005 16:17:37 +0000</pubDate>
      <guid>http://www.cod3r.com/2005/10/blast-from-the-past/</guid>
      <description>&lt;p&gt;I had someone ask me a few days ago if I was responsible for the Kyocera Ring tone generator for the mac. I had to let him know that I was guilty as charged. Anyway, I have put up a &lt;a href=&#34;http://www.cod3r.com/programming/kyocera-ringtone-converter-for-the-mac&#34;&gt;website&lt;/a&gt; for the thing. Hopefully this means that people actually use it. I changed the license of the software so I am basically giving it away now without the restrictions of the GPL. We will see if anything comes of it.&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
