<?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"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Tech Debug &#187; mac</title>
	<atom:link href="http://techdebug.com/blog/category/mac/feed/" rel="self" type="application/rss+xml" />
	<link>http://techdebug.com</link>
	<description>Technical analysis of various topics</description>
	<lastBuildDate>Sat, 07 Jan 2012 13:05:41 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Updated: IM Status Applescript</title>
		<link>http://techdebug.com/blog/2011/01/04/updated-im-status-applescript/</link>
		<comments>http://techdebug.com/blog/2011/01/04/updated-im-status-applescript/#comments</comments>
		<pubDate>Mon, 03 Jan 2011 13:35:13 +0000</pubDate>
		<dc:creator>lantrix</dc:creator>
				<category><![CDATA[apple]]></category>
		<category><![CDATA[mac]]></category>
		<category><![CDATA[adium]]></category>
		<category><![CDATA[applescript]]></category>
		<category><![CDATA[ichat]]></category>
		<category><![CDATA[skype]]></category>
		<category><![CDATA[status]]></category>

		<guid isPermaLink="false">http://techdebug.com/?p=785</guid>
		<description><![CDATA[I previously published an Applescript I use to immediately update Adium, Skype, iChat status messages. I&#8217;ve recently changed it to allow more than three options (a limitation in the Applescript Display Dialog method). Find a copy below:]]></description>
			<content:encoded><![CDATA[<p>I <a href="http://techdebug.com/blog/2008/12/19/im-status-applescript-for-ichat-adium-and-skype/">previously</a> published an Applescript I use to immediately update Adium, Skype, iChat status messages.<br />
I&#8217;ve recently changed it to allow more than three options (a limitation in the Applescript Display Dialog method).</p>
<p>Find a copy below:</p>
<script src="http://gist.github.com/763430.js"></script><noscript><code class="gist"><pre><br />
&#8211; IMStatus<br />
&#8211; version 2.0, Lantrix (http://techdebug.com)<br />
&#8211; idea conceived from script by Jason Kenison &#8220;theWebGuy&#8221; Blog at:<br />
&#8211;        http://www.jasonkenison.com/blog.html?id=22</p>
<p>(*<br />
Copyright (c) 2008, TechDebug.com</p>
<p>Permission to use, copy, modify, and/or distribute this software for any<br />
purpose with or without fee is hereby granted, provided that the above<br />
copyright notice and this permission notice appear in all copies.</p>
<p>THE SOFTWARE IS PROVIDED &#8220;AS IS&#8221; AND THE AUTHOR DISCLAIMS ALL WARRANTIES<br />
WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF<br />
MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR<br />
ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES<br />
WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN<br />
ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF<br />
OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.<br />
*)</p>
<p>&#8211; Display Dialog<br />
set imState to {&#8220;Available&#8221;, &#8220;Away&#8221;, &#8220;Meeting&#8221;, &#8220;Do not Disturb&#8221;}<br />
choose from list imState with prompt &#8220;Choose the Status&#8230;&#8221; default items &#8220;Available&#8221; OK button name &#8220;Set&#8221; cancel button name &#8220;Cancel&#8221;<br />
set imState to result as string</p>
<p>&#8211;Check App Status, to only act on apps if running<br />
tell application &#8220;System Events&#8221; to set AdiumIsRunning to (count of (every process whose name is &#8220;Adium&#8221;)) > 0<br />
tell application &#8220;System Events&#8221; to set iChatIsRunning to (count of (every process whose name is &#8220;iChat&#8221;)) > 0<br />
tell application &#8220;System Events&#8221; to set SkypeIsRunning to (count of (every process whose name is &#8220;Skype&#8221;)) > 0</p>
<p>if imState is &#8220;Do not Disturb&#8221; then<br />
	&#8211; DND<br />
	&#8211; Adium (works with 1.2+ as per http://trac.adiumx.com/wiki/AppleScript_Support_1.2 documentation)<br />
	if AdiumIsRunning then<br />
		tell application &#8220;Adium&#8221; to go away with message &#8220;Do Not Disturb&#8221;<br />
	end if<br />
	&#8211; iChat<br />
	if iChatIsRunning then<br />
		tell application &#8220;iChat&#8221;<br />
			set status to away<br />
			set status message to &#8220;Do Not Disturb&#8221;<br />
		end tell<br />
	end if<br />
	&#8211; Skype<br />
	if SkypeIsRunning then<br />
		tell application &#8220;Skype&#8221;<br />
			send command &#8220;SET USERSTATUS DND&#8221; script name &#8220;IMStatus&#8221;<br />
			send command &#8220;SET PROFILE MOOD_TEXT Do Not Disturb &#8211; Can&#8217;t take your call &#8211; Maybe Chat?&#8221; script name &#8220;IMStatus&#8221;<br />
		end tell<br />
	end if<br />
else if imState is &#8220;Meeting&#8221; then<br />
	&#8211; Meeting<br />
	&#8211; Adium (works with 1.2+ as per http://trac.adiumx.com/wiki/AppleScript_Support_1.2 documentation)<br />
	if AdiumIsRunning then<br />
		tell application &#8220;Adium&#8221; to go away with message &#8220;In Meeting&#8221;<br />
	end if<br />
	&#8211; iChat<br />
	if iChatIsRunning then<br />
		tell application &#8220;iChat&#8221;<br />
			set status to away<br />
			set status message to &#8220;In Meeting&#8221;<br />
		end tell<br />
	end if<br />
	&#8211; Skype<br />
	if SkypeIsRunning then<br />
		tell application &#8220;Skype&#8221;<br />
			send command &#8220;SET USERSTATUS DND&#8221; script name &#8220;IMStatus&#8221;<br />
			send command &#8220;SET PROFILE MOOD_TEXT In Meeting&#8221; script name &#8220;IMStatus&#8221;<br />
		end tell<br />
	end if<br />
else if imState is &#8220;Away&#8221; then<br />
	&#8211; Away<br />
	&#8211; Adium (works with 1.2+ as per http://trac.adiumx.com/wiki/AppleScript_Support_1.2 documentation)<br />
	if AdiumIsRunning then<br />
		tell application &#8220;Adium&#8221; to go away<br />
	end if<br />
	&#8211; iChat<br />
	if iChatIsRunning then<br />
		tell application &#8220;iChat&#8221;<br />
			set status to away<br />
		end tell<br />
	end if<br />
	&#8211; Skype<br />
	if SkypeIsRunning then<br />
		tell application &#8220;Skype&#8221;<br />
			send command &#8220;SET USERSTATUS AWAY&#8221; script name &#8220;My Script&#8221;<br />
		end tell<br />
	end if<br />
else if imState is &#8220;Available&#8221; then<br />
	&#8211; Available<br />
	&#8211; Adium (works with 1.2+ as per http://trac.adiumx.com/wiki/AppleScript_Support_1.2 documentation)<br />
	if AdiumIsRunning then<br />
		tell application &#8220;Adium&#8221; to go available<br />
	end if<br />
	&#8211; iChat<br />
	if iChatIsRunning then<br />
		tell application &#8220;iChat&#8221;<br />
			set status to available<br />
			set status message to &#8220;&#8221;<br />
		end tell<br />
	end if<br />
	&#8211; Skype<br />
	if SkypeIsRunning then<br />
		tell application &#8220;Skype&#8221;<br />
			send command &#8220;SET USERSTATUS ONLINE&#8221; script name &#8220;My Script&#8221;<br />
			send command &#8220;SET PROFILE MOOD_TEXT&#8221; script name &#8220;IMStatus&#8221;<br />
		end tell<br />
	end if<br />
end if<br />
</pre></code></noscript>
]]></content:encoded>
			<wfw:commentRss>http://techdebug.com/blog/2011/01/04/updated-im-status-applescript/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>MacBook vs. MacBookPro</title>
		<link>http://techdebug.com/blog/2010/09/19/macbook-vs-macbookpro/</link>
		<comments>http://techdebug.com/blog/2010/09/19/macbook-vs-macbookpro/#comments</comments>
		<pubDate>Sun, 19 Sep 2010 06:35:05 +0000</pubDate>
		<dc:creator>lantrix</dc:creator>
				<category><![CDATA[apple]]></category>
		<category><![CDATA[gaming]]></category>
		<category><![CDATA[hardware]]></category>
		<category><![CDATA[mac]]></category>
		<category><![CDATA[Reviews]]></category>
		<category><![CDATA[cpu]]></category>
		<category><![CDATA[dedicated]]></category>
		<category><![CDATA[gpu]]></category>
		<category><![CDATA[macbook]]></category>
		<category><![CDATA[macbookpro]]></category>

		<guid isPermaLink="false">http://techdebug.com/?p=750</guid>
		<description><![CDATA[Does CPU speed matter for gaming on a Mac Laptop? The difference between, for example, 2.4 Ghz and 2.6 Ghz will be negligible when running the games. What will contribute to the smoothness and quality of the games the Graphics Processing Unit (GPU) and to an extent bus speed, CPU cache and RAM. When it [...]]]></description>
			<content:encoded><![CDATA[<p>Does CPU speed matter for gaming on a Mac Laptop?</p>
<p>The difference between, for example, 2.4 Ghz and 2.6 Ghz will be negligible when running the games. What will contribute to the smoothness and quality of the games the Graphics Processing Unit (GPU) and to an extent bus speed, CPU cache and RAM.</p>
<p>When it comes to RAM, the more the merrier &#8211; to avoid the Hard Drive being used to swap applications when your memory is full. Get as much RAM as you can afford.</p>
<p>Consider the current models of a <a href="http://www.apple.com/macbook/specs.html">MacBook</a> vs. a <a href="http://www.apple.com/macbookpro/specs.html">MacBookPro</a> &#8211; they both have similar specifications on the CPUS.</p>
<ul>
<li><span style="font-size: 15.8333px;">The 13&#8243; MacBook has 2.4GHz Intel Core 2 Duo processor with 3MB on-chip shared L2 cache</span></li>
<li><span style="font-size: 15.8333px;">The 13&#8243; MacBookPro has a 2.4GHz or 2.66GHz Intel Core 2 Duo processor with 3MB on-chip shared L2 cache</span></li>
<li><span style="font-size: 15.8333px;">The 15&#8243; MacBookPros have 2.4GHz, 2.53GHz or 2.66GHz Intel Core i5/i7 processors with 3MB and 4MB shared L3 cache respectively.</span></li>
</ul>
<p>The i5 and i7 CPUs are the next in an architectural line of mobile CPUs from Intel, so it&#8217;s not the &#8220;Ghz&#8221; that&#8217;s going to improve your gaming &#8211; it&#8217;s having the later generation CPUs. In the CPU arena, the 13&#8243; Pro/Non-Pro models are the same &#8211; <strong>but the 15&#8243; Pro models are clearly in front</strong>.</p>
<p>Now consider the Graphics Processor, the real workhorse in modern 3D gaming. The current models as shown:</p>
<ul>
<li><span style="font-size: 15.8333px;">The 13&#8243; MacBook has NVIDIA GeForce 320M graphics processor with 256MB of DDR3 SDRAM ***shared with main memory***</span></li>
<li><span style="font-size: 15.8333px;">The 13&#8243; MacBookPro has NVIDIA GeForce 320M with 256MB DDR3 SDRAM ***shared with main memory***</span></li>
<li><span style="font-size: 15.8333px;">The 15&#8243; <a href="http://www.apple.com/macbookpro/specs.html">MacBookPro</a> has TWO GPU devices: Intel HD Graphics with 256MB DDR3 SDRAM shared with main memory, and NVIDIA GeForce GT 330M graphics processor with 256MB GDDR3 memory and automatic graphics switching</span></li>
</ul>
<p>In all cases, there is a GPU sharing Main Memory. These are much faster than the Graphics of yesteryear, but sharing the main memory means using some of your 2GB or 4GB of RAM. Games will play and look acceptable, but the framerate wont be the best you can get.</p>
<p>Where the laptop will shine, is with the dedicated NVIDIA GeForce GT chips. They have dedicated DDR3 memory allocated to them, designed to do one thing only &#8211; fast 3D.</p>
<p><strong>My recommendation:</strong><br />
If you are on a budget &#8211; a MacBook or a 13&#8243; MacBookPro will have to do.<br />
However if you can afford it, and want to game &#8211; <em>a 15&#8243; MacBookPro with a dedicated GPU will play your games as smooth as any current generation laptop can</em>. You can&#8217;t go wrong with the larger screen either.</p>
]]></content:encoded>
			<wfw:commentRss>http://techdebug.com/blog/2010/09/19/macbook-vs-macbookpro/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>MAMP vhost and WordPress</title>
		<link>http://techdebug.com/blog/2010/08/26/mamp-vhost-and-wordpress/</link>
		<comments>http://techdebug.com/blog/2010/08/26/mamp-vhost-and-wordpress/#comments</comments>
		<pubDate>Thu, 26 Aug 2010 07:30:27 +0000</pubDate>
		<dc:creator>lantrix</dc:creator>
				<category><![CDATA[mac]]></category>
		<category><![CDATA[webdev]]></category>
		<category><![CDATA[.htaccess]]></category>
		<category><![CDATA[404]]></category>
		<category><![CDATA[apache]]></category>
		<category><![CDATA[mamp]]></category>
		<category><![CDATA[vhost]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://techdebug.com/?p=729</guid>
		<description><![CDATA[I&#8217;ve setup MAMP to do some local web development on my MacBookPro, and the XDebug plugin is awesome for stepping through PHP code. However, I had a problem with MAMP and a vhost I setup for local development. The wordpress front page and /wp-admin/ worked but any sub pages, etc. failed to load. When trying [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve setup MAMP to do some local web development on my MacBookPro, and the XDebug plugin is awesome for stepping through PHP code.</p>
<p>However, I had a problem with MAMP and a vhost I setup for local development. The wordpress front page and /wp-admin/ worked but any sub pages, etc. failed to load. When trying to access a WordPress page at url http://site.local/music/ The error in the apache logs was:</p>
<p><pre><code>
[error] [client 127.0.0.1] File does not exist: /Users/lantrix/devel_projects/vhosts/site.local/music
</code></pre></p>
<p>I had made sure that mod_rewrite was enabled as mentioned by Samuel B <a href="http://wordpress.org/support/topic/change-permalinks-404-local-mamp-installation?replies=12#post-1381340">over at the WordPress support forums</a>. I had also ensured I had updated the permalinks in the local WordPress install, thus writing out a .htaccess for the rewrites. Still no luck.</p>
<p>Then I remembered, one needs to tell Apache that a directory outside the webserver root <em>/Applications/MAMP/htdocs</em>, in this case my vhost path of <em>/Users/lantrix/devel_projects/vhosts/site.local</em>, needs to have an AllowOverride so the .htaccess WordPress has placed can be used. This in combination with the apache Options directive to FollowSynLinks as <a href="http://wordpress.org/support/topic/change-permalinks-404-local-mamp-installation?replies=12#post-1381275">mentioned</a> by Mark at the support forums worked for me. <strong>No more 404 errors!</strong></p>
<p>Below is my working vhost configuration at the bottom of my MAMP apache config file <em>/Applications/MAMP/conf/apache/httpd.conf</em>. It works for me, but YMMV:</p>
<script src="http://gist.github.com/550938.js"></script><noscript><code class="gist"><pre><br />
NameVirtualHost *<br />
<virtualhost *><br />
        DocumentRoot &#8220;/Users/lantrix/devel_projects/vhosts/site.local&#8221;<br />
        ServerName site.local<br />
        ServerAlias http://www.site.local<br />
        DirectoryIndex index.php index.html<br />
</virtualhost><br />
<directory "/Users/lantrix/devel_projects/vhosts/site.local"><br />
        AllowOverride All<br />
        Options -Indexes +FollowSymLinks<br />
        Order allow,deny<br />
        Allow from all<br />
</directory><br />
</pre></code></noscript>
]]></content:encoded>
			<wfw:commentRss>http://techdebug.com/blog/2010/08/26/mamp-vhost-and-wordpress/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Compiling readline on an OSX 10.5 intel x86_64</title>
		<link>http://techdebug.com/blog/2009/01/03/compiling-readline-on-an-osx-105-intel-x86_64/</link>
		<comments>http://techdebug.com/blog/2009/01/03/compiling-readline-on-an-osx-105-intel-x86_64/#comments</comments>
		<pubDate>Fri, 02 Jan 2009 15:33:13 +0000</pubDate>
		<dc:creator>lantrix</dc:creator>
				<category><![CDATA[apple]]></category>
		<category><![CDATA[mac]]></category>
		<category><![CDATA[unix]]></category>
		<category><![CDATA[10.5]]></category>
		<category><![CDATA[architecure]]></category>
		<category><![CDATA[compile]]></category>
		<category><![CDATA[i386]]></category>
		<category><![CDATA[intel]]></category>
		<category><![CDATA[leopard]]></category>
		<category><![CDATA[readline]]></category>
		<category><![CDATA[x86_64]]></category>

		<guid isPermaLink="false">http://techdebug.com/?p=295</guid>
		<description><![CDATA[I&#8217;m stuck with a whole bunch of problems getting code to compile and co-operate nicely on my new MacBookPro. I&#8217;m compiling my own PHP, but it defaults to compiling for the i386 (32bit) architecure, which then fails when Apache2 running in 64bit mode tries to use the 32bit DSO for PHP5. Compiling PHP5 as 64bit [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m stuck with a whole bunch of problems getting code to compile and co-operate nicely on my new MacBookPro. I&#8217;m compiling my own PHP, but it defaults to compiling for the i386 (32bit) architecure, which then fails when Apache2 running in 64bit mode tries to use the 32bit DSO for PHP5. Compiling PHP5 as 64bit then fails linking against the i386 pgsql lib, and so on. I really need everything using the x86_64 architecture. How does this all relate to readline under Leopard?<br />
<span id="more-295"></span></p>
<p>The problem is the Intel Core2 Duo is a 64bit CPU. Apple supplied apps like Apache2 are compiled as Universal binary AND for 32/64bits. This means there are 4 architectures in the binaries.</p>
<p><pre><pre>
lantrix@lexx:~ $ file /usr/sbin/httpd
/usr/sbin/httpd: Mach-O fat file with 4 architectures
</pre></pre></p>
<p>When I compile PHP as x86_64 of course it complains that the pgsql libs are also not x86_64, and when I compile postgresql as x86_64, it complains the fink readline library I use is not x86_64. Talk about architectural dependancies! I will need to do another post in depth on the fun had with that whole set of dependancies.</p>
<p><strong>This is how and why I arrived at compiling readline on my Mac 64bit intel under Leopard</strong>.</p>
<p>On to the readline problems. I start the compile of readline as x86_64 architecture, and this occurs:<br />
<pre><pre>gcc -dynamic -arch x86_64 -bind_at_load -arch_only `/usr/bin/arch` -install_name /usr/local/lib/libreadline.5.2.dylib -current_version 5.2 -compatibility_version 5 -v -o libreadline.5.2.dylib readline.so vi_mode.so funmap.so keymaps.so parens.so search.so rltty.so complete.so bind.so isearch.so display.so signals.so util.so kill.so undo.so macro.so input.so callback.so terminal.so text.so nls.so misc.so xmalloc.so history.so histexpand.so histfile.so histsearch.so shell.so mbutil.so tilde.so compat.so -lncurses
Using built-in specs.
Target: i686-apple-darwin9
Configured with: /var/tmp/gcc/gcc-5465~16/src/configure --disable-checking -enable-werror --prefix=/usr --mandir=/share/man --enable-languages=c,objc,c++,obj-c++ --program-transform-name=/^[cg][^.-]*$/s/$/-4.0/ --with-gxx-include-dir=/include/c++/4.0.0 --with-slibdir=/usr/lib --build=i686-apple-darwin9 --with-arch=apple --with-tune=generic --host=i686-apple-darwin9 --target=i686-apple-darwin9
Thread model: posix
gcc version 4.0.1 (Apple Inc. build 5465)
i686-apple-darwin9-gcc-4.0.1: -compatibility_version only allowed with -dynamiclib
make[1]: *** [libreadline.5.2.dylib] Error 1
make: [shared] Error 2 (ignored)</pre></pre></p>
<p>Google is your friend, and MacOSXHints forum user <a href="http://forums.macosxhints.com/showpost.php?p=421408&amp;postcount=3">dmacks has an answer</a> why this occurs.</p>
<blockquote><p>The readline compile scripting is ugly (doesn&#8217;t use standard build tools, then fakes it&#8230;poorly at times). You need -dynamiclib not -dynamic to compile a shared library on OS X, but this indicates a deeper problem: need to patch support/shobj-conf to know darwin9* as a Darwin/MacOS system if you&#8217;re on Leopard (I think readline5.2 only recognizes darwin8*, i.e., Tiger).</p></blockquote>
<p>Still this is not a fix&#8230;. But some further searching and I find a <a href="http://rubyforge.org/pipermail/wtr-general/2007-February/009632.html">Christopher Rasch on a Watir mailing list</a> who shows how to get around this. Effectivly you need to change the makefile for <a href="http://tiswww.case.edu/php/chet/readline/rltop.html#CurrentStatus">readlines</a> shlibs to use the <em>-dynamiclib</em> switch when compiling.</p>
<script src="http://gist.github.com/635607.js"></script><noscript><code class="gist"><pre><br />
tar zxvf readline-5.2.tar.gz<br />
cd readline-5.2<br />
export MACOSX_DEPLOYMENT_TARGET=10.5<br />
export CFLAGS=&#8221;-arch x86_64 -g -Os -pipe -no-cpp-precomp&#8221;<br />
export CCFLAGS=&#8221;-arch x86_64 -g -Os -pipe&#8221;<br />
export CXXFLAGS=&#8221;-arch x86_64 -g -Os -pipe&#8221;<br />
export LDFLAGS=&#8221;-arch x86_64 -bind_at_load&#8221;<br />
./configure<br />
cd shlib<br />
sed -e &#8216;s/-dynamic/-dynamiclib/&#8217; Makefile > Makefile.good<br />
mv Makefile.good Makefile<br />
cd ..<br />
make &#038;&#038; sudo make install<br />
</pre></code></noscript>
<p>This gave me a local x86_64 architecure readline library under Leopard. I was able to successfully compile PostgreSQL as <em>-arch x86_64</em> against the readline library as well.</p>
<p><pre><pre>
lantrix@lexx:/usr/local/src/readline-5.2 $ ls -l /usr/local/lib/libreadline.*
-r-xr-xr-x&nbsp;&nbsp;1 root&nbsp;&nbsp;lantrix&nbsp;&nbsp;272480&nbsp;&nbsp;3 Jan 02:06 /usr/local/lib/libreadline.5.2.dylib
lrwxr-xr-x&nbsp;&nbsp;1 root&nbsp;&nbsp;lantrix&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;21&nbsp;&nbsp;3 Jan 02:06 /usr/local/lib/libreadline.5.dylib -&amp;gt; libreadline.5.2.dylib
-rw-r--r--&nbsp;&nbsp;1 root&nbsp;&nbsp;lantrix&nbsp;&nbsp;934864&nbsp;&nbsp;3 Jan 02:06 /usr/local/lib/libreadline.a
lrwxr-xr-x&nbsp;&nbsp;1 root&nbsp;&nbsp;lantrix&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;21&nbsp;&nbsp;3 Jan 02:06 /usr/local/lib/libreadline.dylib -&amp;gt; libreadline.5.2.dylib
</pre></pre></p>
<p>Do what you will with them <img src='http://cdn.techdebug.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://techdebug.com/blog/2009/01/03/compiling-readline-on-an-osx-105-intel-x86_64/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>IM Status Applescript for iChat Adium and Skype</title>
		<link>http://techdebug.com/blog/2008/12/19/im-status-applescript-for-ichat-adium-and-skype/</link>
		<comments>http://techdebug.com/blog/2008/12/19/im-status-applescript-for-ichat-adium-and-skype/#comments</comments>
		<pubDate>Fri, 19 Dec 2008 01:04:42 +0000</pubDate>
		<dc:creator>lantrix</dc:creator>
				<category><![CDATA[mac]]></category>
		<category><![CDATA[adium]]></category>
		<category><![CDATA[applescript]]></category>
		<category><![CDATA[ichat]]></category>
		<category><![CDATA[skype]]></category>
		<category><![CDATA[status]]></category>

		<guid isPermaLink="false">http://techdebug.com/?p=279</guid>
		<description><![CDATA[I use iChat, Adium and Skype all at the same time. I was looking for a quick way to change the status of all three of them with one fell swoop. Looking at what other people had written I came across a good example at Jason Kenison&#8217;s blog. He had implemented a method whereby you [...]]]></description>
			<content:encoded><![CDATA[<p>I use iChat, Adium and Skype all at the same time. I was looking for a quick way to change the status of all three of them with one fell swoop.</p>
<p>Looking at what other people had written I came across a <a href="http://www.jasonkenison.com/blog.html?id=22">good example at Jason Kenison&#8217;s blog</a>. He had implemented a method whereby you select Away or Available and then the script will change the status of all three. It worked for Skype and iChat but not for Adium.<br />
<span id="more-279"></span><br />
The method of setting the status as Jason had done no longer works under Adium 1.3+ and to that end someone had raised a <a href="http://trac.adiumx.com/ticket/8809">support ticket</a> with the Adium team. The details in the ticket and some further googling led me to the Adium <a href="http://trac.adiumx.com/wiki/AppleScript">Applescript interface documentation</a>.  The means of setting the status now is as simple as<br />
<code>tell application &quot;Adium&quot; to go away</code><br />
This solved the problem with Adium.</p>
<p>But of course I was not happy with that. If you only had two of the programs running, and did not want the third running e.g. Skype, the script would launch the application to set the status. This is where <a href="http://developer.apple.com/documentation/AppleScript/Conceptual/AppleScriptLangGuide/introduction/ASLR_intro.html">Apples Language guide</a> did the trick. One can check to see if a process is running like this<br />
<code>ell application &quot;System Events&quot; to set SkypeIsRunning to (count of (every process whose name is &quot;Skype&quot;)) &gt; 0</code><br />
The variable <em>SkypeIsRunning</em> could be used as a true/false variable for logical testing.</p>
<p>Still not satisfied, I wondered if there was a way to set the &#8220;Status Text&#8221; for the applications, say if I was in a meeting. I knew how to do this for iChat and Adium but what about Skype? The <a href="https://developer.skype.com/Docs/ApiDoc/">developers documentation</a> shows how this can  be achieved and then it was as simple as setting that status text like this for all three applications</p>

<div class="wp_syntax"><div class="code"><pre class="applescript" style="font-family:monospace;"><span style="color: #ff0033; font-weight: bold;">tell</span> <span style="color: #0066ff;">application</span> <span style="color: #009900;">&quot;Adium&quot;</span> <span style="color: #ff0033; font-weight: bold;">to</span> go away <span style="color: #ff0033; font-weight: bold;">with</span> message <span style="color: #009900;">&quot;In Meeting&quot;</span>
&nbsp;
<span style="color: #ff0033; font-weight: bold;">tell</span> <span style="color: #0066ff;">application</span> <span style="color: #009900;">&quot;iChat&quot;</span>
	<span style="color: #ff0033; font-weight: bold;">set</span> status message <span style="color: #ff0033; font-weight: bold;">to</span> <span style="color: #009900;">&quot;In Meeting&quot;</span>
<span style="color: #ff0033; font-weight: bold;">end</span> <span style="color: #ff0033; font-weight: bold;">tell</span>
&nbsp;
<span style="color: #ff0033; font-weight: bold;">tell</span> <span style="color: #0066ff;">application</span> <span style="color: #009900;">&quot;Skype&quot;</span>
	send command <span style="color: #009900;">&quot;SET PROFILE MOOD_TEXT In Meeting&quot;</span> <span style="color: #ff0033; font-weight: bold;">script</span> <span style="color: #0066ff;">name</span> <span style="color: #009900;">&quot;IMStatus&quot;</span>
<span style="color: #ff0033; font-weight: bold;">end</span> <span style="color: #ff0033; font-weight: bold;">tell</span></pre></div></div>

<p>So now I have a way to quickly tell the application to be Available, Away or In a Meeting.</p>
<p>Here is the final script with all the included ideas.</p>

<div class="wp_syntax"><div class="code"><pre class="applescript" style="font-family:monospace;"><span style="color: #808080; font-style: italic;">-- IMStatus</span>
<span style="color: #808080; font-style: italic;">-- version 1.0, Lantrix (http://techdebug.com)</span>
<span style="color: #808080; font-style: italic;">-- idea conceived from script by Jason Kenison &quot;theWebGuy&quot; Blog at:</span>
<span style="color: #808080; font-style: italic;">--        http://www.jasonkenison.com/blog.html?id=22</span>
&nbsp;
<span style="color: #808080; font-style: italic;">(*
Copyright (c) 2008, TechDebug.com
&nbsp;
Permission to use, copy, modify, and/or distribute this software for any
purpose with or without fee is hereby granted, provided that the above
copyright notice and this permission notice appear in all copies.
&nbsp;
THE SOFTWARE IS PROVIDED &quot;AS IS&quot; AND THE AUTHOR DISCLAIMS ALL WARRANTIES
WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*)</span>
&nbsp;
<span style="color: #808080; font-style: italic;">-- Display Dialog</span>
<span style="color: #ff0033; font-weight: bold;">set</span> imState <span style="color: #ff0033; font-weight: bold;">to</span> <span style="color: #0066ff;">display dialog</span> <span style="color: #009900;">&quot;For Skype/iChat/Adium choose&quot;</span> <span style="color: #0066ff;">buttons</span> <span style="color: #000000;">&#123;</span><span style="color: #009900;">&quot;Available&quot;</span>, <span style="color: #009900;">&quot;Away&quot;</span>, <span style="color: #009900;">&quot;Meeting&quot;</span><span style="color: #000000;">&#125;</span> default button <span style="color: #000000;">1</span>
&nbsp;
<span style="color: #808080; font-style: italic;">--Check App Status, to only act on apps if running</span>
<span style="color: #ff0033; font-weight: bold;">tell</span> <span style="color: #0066ff;">application</span> <span style="color: #009900;">&quot;System Events&quot;</span> <span style="color: #ff0033; font-weight: bold;">to</span> <span style="color: #ff0033; font-weight: bold;">set</span> AdiumIsRunning <span style="color: #ff0033; font-weight: bold;">to</span> <span style="color: #000000;">&#40;</span><span style="color: #0066ff;">count</span> <span style="color: #ff0033; font-weight: bold;">of</span> <span style="color: #000000;">&#40;</span><span style="color: #ff0033;">every</span> process <span style="color: #ff0033;">whose</span> <span style="color: #0066ff;">name</span> <span style="color: #ff0033; font-weight: bold;">is</span> <span style="color: #009900;">&quot;Adium&quot;</span><span style="color: #000000;">&#41;</span><span style="color: #000000;">&#41;</span> &gt; <span style="color: #000000;">0</span>
<span style="color: #ff0033; font-weight: bold;">tell</span> <span style="color: #0066ff;">application</span> <span style="color: #009900;">&quot;System Events&quot;</span> <span style="color: #ff0033; font-weight: bold;">to</span> <span style="color: #ff0033; font-weight: bold;">set</span> iChatIsRunning <span style="color: #ff0033; font-weight: bold;">to</span> <span style="color: #000000;">&#40;</span><span style="color: #0066ff;">count</span> <span style="color: #ff0033; font-weight: bold;">of</span> <span style="color: #000000;">&#40;</span><span style="color: #ff0033;">every</span> process <span style="color: #ff0033;">whose</span> <span style="color: #0066ff;">name</span> <span style="color: #ff0033; font-weight: bold;">is</span> <span style="color: #009900;">&quot;iChat&quot;</span><span style="color: #000000;">&#41;</span><span style="color: #000000;">&#41;</span> &gt; <span style="color: #000000;">0</span>
<span style="color: #ff0033; font-weight: bold;">tell</span> <span style="color: #0066ff;">application</span> <span style="color: #009900;">&quot;System Events&quot;</span> <span style="color: #ff0033; font-weight: bold;">to</span> <span style="color: #ff0033; font-weight: bold;">set</span> SkypeIsRunning <span style="color: #ff0033; font-weight: bold;">to</span> <span style="color: #000000;">&#40;</span><span style="color: #0066ff;">count</span> <span style="color: #ff0033; font-weight: bold;">of</span> <span style="color: #000000;">&#40;</span><span style="color: #ff0033;">every</span> process <span style="color: #ff0033;">whose</span> <span style="color: #0066ff;">name</span> <span style="color: #ff0033; font-weight: bold;">is</span> <span style="color: #009900;">&quot;Skype&quot;</span><span style="color: #000000;">&#41;</span><span style="color: #000000;">&#41;</span> &gt; <span style="color: #000000;">0</span>
&nbsp;
<span style="color: #808080; font-style: italic;">-- Meeting</span>
<span style="color: #ff0033; font-weight: bold;">if</span> <span style="color: #ff0033;">the</span> button returned <span style="color: #ff0033; font-weight: bold;">of</span> imState <span style="color: #ff0033; font-weight: bold;">is</span> <span style="color: #009900;">&quot;Meeting&quot;</span> <span style="color: #ff0033; font-weight: bold;">then</span>
	<span style="color: #808080; font-style: italic;">-- Adium (works with 1.2+ as per http://trac.adiumx.com/wiki/AppleScript_Support_1.2 documentation)</span>
	<span style="color: #ff0033; font-weight: bold;">if</span> AdiumIsRunning <span style="color: #ff0033; font-weight: bold;">then</span>
		<span style="color: #ff0033; font-weight: bold;">tell</span> <span style="color: #0066ff;">application</span> <span style="color: #009900;">&quot;Adium&quot;</span> <span style="color: #ff0033; font-weight: bold;">to</span> go away <span style="color: #ff0033; font-weight: bold;">with</span> message <span style="color: #009900;">&quot;In Meeting&quot;</span>
	<span style="color: #ff0033; font-weight: bold;">end</span> <span style="color: #ff0033; font-weight: bold;">if</span>
	<span style="color: #808080; font-style: italic;">-- iChat</span>
	<span style="color: #ff0033; font-weight: bold;">if</span> iChatIsRunning <span style="color: #ff0033; font-weight: bold;">then</span>
		<span style="color: #ff0033; font-weight: bold;">tell</span> <span style="color: #0066ff;">application</span> <span style="color: #009900;">&quot;iChat&quot;</span>
			<span style="color: #ff0033; font-weight: bold;">set</span> status <span style="color: #ff0033; font-weight: bold;">to</span> away
			<span style="color: #ff0033; font-weight: bold;">set</span> status message <span style="color: #ff0033; font-weight: bold;">to</span> <span style="color: #009900;">&quot;In Meeting&quot;</span>
		<span style="color: #ff0033; font-weight: bold;">end</span> <span style="color: #ff0033; font-weight: bold;">tell</span>
	<span style="color: #ff0033; font-weight: bold;">end</span> <span style="color: #ff0033; font-weight: bold;">if</span>
	<span style="color: #808080; font-style: italic;">-- Skype</span>
	<span style="color: #ff0033; font-weight: bold;">if</span> SkypeIsRunning <span style="color: #ff0033; font-weight: bold;">then</span>
		<span style="color: #ff0033; font-weight: bold;">tell</span> <span style="color: #0066ff;">application</span> <span style="color: #009900;">&quot;Skype&quot;</span>
			send command <span style="color: #009900;">&quot;SET USERSTATUS DND&quot;</span> <span style="color: #ff0033; font-weight: bold;">script</span> <span style="color: #0066ff;">name</span> <span style="color: #009900;">&quot;IMStatus&quot;</span>
			send command <span style="color: #009900;">&quot;SET PROFILE MOOD_TEXT In Meeting&quot;</span> <span style="color: #ff0033; font-weight: bold;">script</span> <span style="color: #0066ff;">name</span> <span style="color: #009900;">&quot;IMStatus&quot;</span>
		<span style="color: #ff0033; font-weight: bold;">end</span> <span style="color: #ff0033; font-weight: bold;">tell</span>
	<span style="color: #ff0033; font-weight: bold;">end</span> <span style="color: #ff0033; font-weight: bold;">if</span>
<span style="color: #ff0033; font-weight: bold;">end</span> <span style="color: #ff0033; font-weight: bold;">if</span>
&nbsp;
<span style="color: #808080; font-style: italic;">-- Away</span>
<span style="color: #ff0033; font-weight: bold;">if</span> <span style="color: #ff0033;">the</span> button returned <span style="color: #ff0033; font-weight: bold;">of</span> imState <span style="color: #ff0033; font-weight: bold;">is</span> <span style="color: #009900;">&quot;Away&quot;</span> <span style="color: #ff0033; font-weight: bold;">then</span>
	<span style="color: #808080; font-style: italic;">-- Adium (works with 1.2+ as per http://trac.adiumx.com/wiki/AppleScript_Support_1.2 documentation)</span>
	<span style="color: #ff0033; font-weight: bold;">if</span> AdiumIsRunning <span style="color: #ff0033; font-weight: bold;">then</span>
		<span style="color: #ff0033; font-weight: bold;">tell</span> <span style="color: #0066ff;">application</span> <span style="color: #009900;">&quot;Adium&quot;</span> <span style="color: #ff0033; font-weight: bold;">to</span> go away
	<span style="color: #ff0033; font-weight: bold;">end</span> <span style="color: #ff0033; font-weight: bold;">if</span>
	<span style="color: #808080; font-style: italic;">-- iChat</span>
	<span style="color: #ff0033; font-weight: bold;">if</span> iChatIsRunning <span style="color: #ff0033; font-weight: bold;">then</span>
		<span style="color: #ff0033; font-weight: bold;">tell</span> <span style="color: #0066ff;">application</span> <span style="color: #009900;">&quot;iChat&quot;</span>
			<span style="color: #ff0033; font-weight: bold;">set</span> status <span style="color: #ff0033; font-weight: bold;">to</span> away
		<span style="color: #ff0033; font-weight: bold;">end</span> <span style="color: #ff0033; font-weight: bold;">tell</span>
	<span style="color: #ff0033; font-weight: bold;">end</span> <span style="color: #ff0033; font-weight: bold;">if</span>
	<span style="color: #808080; font-style: italic;">-- Skype</span>
	<span style="color: #ff0033; font-weight: bold;">if</span> SkypeIsRunning <span style="color: #ff0033; font-weight: bold;">then</span>
		<span style="color: #ff0033; font-weight: bold;">tell</span> <span style="color: #0066ff;">application</span> <span style="color: #009900;">&quot;Skype&quot;</span>
			send command <span style="color: #009900;">&quot;SET USERSTATUS AWAY&quot;</span> <span style="color: #ff0033; font-weight: bold;">script</span> <span style="color: #0066ff;">name</span> <span style="color: #009900;">&quot;My Script&quot;</span>
		<span style="color: #ff0033; font-weight: bold;">end</span> <span style="color: #ff0033; font-weight: bold;">tell</span>
	<span style="color: #ff0033; font-weight: bold;">end</span> <span style="color: #ff0033; font-weight: bold;">if</span>
<span style="color: #ff0033; font-weight: bold;">end</span> <span style="color: #ff0033; font-weight: bold;">if</span>
&nbsp;
<span style="color: #808080; font-style: italic;">-- Available</span>
<span style="color: #ff0033; font-weight: bold;">if</span> <span style="color: #ff0033;">the</span> button returned <span style="color: #ff0033; font-weight: bold;">of</span> imState <span style="color: #ff0033; font-weight: bold;">is</span> <span style="color: #009900;">&quot;Available&quot;</span> <span style="color: #ff0033; font-weight: bold;">then</span>
	<span style="color: #808080; font-style: italic;">-- Adium (works with 1.2+ as per http://trac.adiumx.com/wiki/AppleScript_Support_1.2 documentation)</span>
	<span style="color: #ff0033; font-weight: bold;">if</span> AdiumIsRunning <span style="color: #ff0033; font-weight: bold;">then</span>
		<span style="color: #ff0033; font-weight: bold;">tell</span> <span style="color: #0066ff;">application</span> <span style="color: #009900;">&quot;Adium&quot;</span> <span style="color: #ff0033; font-weight: bold;">to</span> go available
	<span style="color: #ff0033; font-weight: bold;">end</span> <span style="color: #ff0033; font-weight: bold;">if</span>
	<span style="color: #808080; font-style: italic;">-- iChat</span>
	<span style="color: #ff0033; font-weight: bold;">if</span> iChatIsRunning <span style="color: #ff0033; font-weight: bold;">then</span>
		<span style="color: #ff0033; font-weight: bold;">tell</span> <span style="color: #0066ff;">application</span> <span style="color: #009900;">&quot;iChat&quot;</span>
			<span style="color: #ff0033; font-weight: bold;">set</span> status <span style="color: #ff0033; font-weight: bold;">to</span> available
			<span style="color: #ff0033; font-weight: bold;">set</span> status message <span style="color: #ff0033; font-weight: bold;">to</span> <span style="color: #009900;">&quot;&quot;</span>
		<span style="color: #ff0033; font-weight: bold;">end</span> <span style="color: #ff0033; font-weight: bold;">tell</span>
	<span style="color: #ff0033; font-weight: bold;">end</span> <span style="color: #ff0033; font-weight: bold;">if</span>
	<span style="color: #808080; font-style: italic;">-- Skype</span>
	<span style="color: #ff0033; font-weight: bold;">if</span> SkypeIsRunning <span style="color: #ff0033; font-weight: bold;">then</span>
		<span style="color: #ff0033; font-weight: bold;">tell</span> <span style="color: #0066ff;">application</span> <span style="color: #009900;">&quot;Skype&quot;</span>
			send command <span style="color: #009900;">&quot;SET USERSTATUS ONLINE&quot;</span> <span style="color: #ff0033; font-weight: bold;">script</span> <span style="color: #0066ff;">name</span> <span style="color: #009900;">&quot;My Script&quot;</span>
			send command <span style="color: #009900;">&quot;SET PROFILE MOOD_TEXT&quot;</span> <span style="color: #ff0033; font-weight: bold;">script</span> <span style="color: #0066ff;">name</span> <span style="color: #009900;">&quot;IMStatus&quot;</span>
		<span style="color: #ff0033; font-weight: bold;">end</span> <span style="color: #ff0033; font-weight: bold;">tell</span>
	<span style="color: #ff0033; font-weight: bold;">end</span> <span style="color: #ff0033; font-weight: bold;">if</span>
<span style="color: #ff0033; font-weight: bold;">end</span> <span style="color: #ff0033; font-weight: bold;">if</span></pre></div></div>

<p>You can <a href='http://cdn.techdebug.com/wp-content/uploads/2008/12/imstatus.scpt'>download the script</a> and try it for yourself.</p>
<p>Running this AppleScript will pop up a dialog box that gives you 3 options. You can customise the &#8220;In Meeting&#8221; to your own status. Have fun.</p>
]]></content:encoded>
			<wfw:commentRss>http://techdebug.com/blog/2008/12/19/im-status-applescript-for-ichat-adium-and-skype/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Using your MacBookPro to PXEBoot OpenBSD</title>
		<link>http://techdebug.com/blog/2008/12/08/using-your-macbookpro-to-pxeboot-openbsd/</link>
		<comments>http://techdebug.com/blog/2008/12/08/using-your-macbookpro-to-pxeboot-openbsd/#comments</comments>
		<pubDate>Sun, 07 Dec 2008 16:07:05 +0000</pubDate>
		<dc:creator>lantrix</dc:creator>
				<category><![CDATA[mac]]></category>
		<category><![CDATA[openbsd]]></category>
		<category><![CDATA[tech]]></category>
		<category><![CDATA[unix]]></category>
		<category><![CDATA[dhcp]]></category>
		<category><![CDATA[pxe]]></category>
		<category><![CDATA[tftp]]></category>

		<guid isPermaLink="false">http://techdebug.com/?p=272</guid>
		<description><![CDATA[This post does not show a successful outcome in case that&#8217;s what you where hoping for. I was trying to get OpenBSD bootstrapped using the PXEBoot NIC in a server. I decided to use my Mac which has tftp and bootpd installed. This post is quite in depth and technical so if you are game [...]]]></description>
			<content:encoded><![CDATA[<p><strong>This post does not show a successful outcome in case that&#8217;s what you where hoping for.</strong></p>
<p>I was trying to get OpenBSD bootstrapped using the PXEBoot NIC in a server. I decided to use my Mac which has tftp and bootpd installed. This post is quite in depth and technical so if you are game then read on.<br />
<span id="more-272"></span></p>
<p>The quick and short of it was I turned it all on, and copied my pxeboot image, like this from the Terminal:</p>
<p><pre><code>sudo apachectl start
sudo service tftp start
sudo cp /Library/WebServer/Documents/pub/OpenBSD/4.4/i386/pxeboot&nbsp;&nbsp;/private/tftpboot/
</code></pre></p>
<p>Then I neeed to setup the bootp server which comes with Internet Sharing. The idea was to add the pxeboot filename needed by OpenBSD (the file copied to tftpboot above) to the bootp (AKA dhcp) server options. The important file here is <em>/etc/bootpd.plist</em>. If this file doesn&#8217;t exist when Internet Sharing starts then bootpd will create it, removing it when it stops. But courtesy of <a href="http://www.jules.fm/Logbook/files/mac_squeezebox_connection_sharing.html">Jules.FM</a> &#8220;if the file already exists when it starts, the Mac will leave it alone and not overwrite or remove it&#8221;. So to add new dhcp options you perform these steps:</p>
<ol>
<li>Start Internet Sharing</li>
<li>Copy the file somewhere safe: &#8220;<code>cp /etc/bootpd.plist /tmp/</code>&#8221;</li>
<li>Stop Internet Sharing</li>
<li>Edit /tmp/bootpd.plist</li>
<li>Add your required options</li>
<li>Copy the file back in place: &#8220;<code>sudo cp /tmp/bootpd.plist /etc/</code>&#8221;</li>
<li>Start Internet Sharing</li>
</ol>
<p>Since the Mac bootpd.plist file has no option for &#8220;filename&#8221; <a href="http://developer.apple.com/documentation/Darwin/Reference/Manpages/man8/bootpd.8.html">documented</a> and since there appears to be a <a href="http://discussions.apple.com/thread.jspa?messageID=6021307&#6021307">bug in the bootpd implementation</a> with respect to supplying dhcp_options I added these <em>data</em> options to the <em>bootpd.plist</em> file:<br />
<pre><code>
&lt;key&gt;dhcp_option_66&lt;/key&gt;
&lt;data&gt;
wKgCAQ==
&lt;/data&gt;
&lt;key&gt;dhcp_option_67&lt;/key&gt;
&lt;data&gt;
cHhlYm9vdA==
&lt;/data&gt;
&lt;key&gt;dhcp_option_93&lt;/key&gt;
&lt;data&gt;
AA==
&lt;/data&gt;
</code></pre></p>
<p>In <a href="http://www.networksorcery.com/enp/rfc/rfc2132.txt">RFC2132</a> (Paragraphs 9.4 and 9.5) it specifies that options 66 and 67 are for the tftp server and boot filename. However the bootpd bug meant I had to <a href="http://www.vortex.prodigynet.co.uk/misc/ascii_conv.html">encode</a> the string &#8220;<em>pxeboot</em>&#8221; to hexadecimal &#8220;<em>0x707865626F6F74</em>&#8221; then Base64 <a href="http://hogehoge.tk/tool-i/">encode</a> it being &#8220;<em>cHhlYm9vdA==</em>&#8221; and that is way too time consuming to stuff around and try something else everytime the tftp file retrieval fails.</p>
<p>Don&#8217;t try using the dhcp_option_66 I had either as it is an encoded IP of my tftp server, not yours.</p>
<p>I got it all going, and the MacBookPro worked as planned, but the bootp server offered a filename of &#8220;<em>pxeboot</em>&#8221; and the silly Intel 10/100 card decided to fail due to missing files on the tftp server. Many hours later and I figured I should use a network sniffer instead of trying to turn on tftpd logging.</p>
<p>A packet dump showed \377 or 0xff being appended to the filename by the boot client (intel Nic on remote server) when using tftp to request the file. This made the filename &#8220;<em>pxeboot</em>&#8221; look like &#8220;<em>pxeboot\377</em>&#8221; in <a href="http://www.wireshark.org/">Wireshark&#8217;s</a> view of the packet, as <a href="http://osdir.com/ml/hardware.soekris.technical/2002-06/msg00016.html">discussed here</a> by other pioneers in netbooting.</p>
<p>If I get a full working implementation of dhcpd/tftp/pxe using the Mac &#8211; and actually working independent of the intel nic problem on the server, I&#8217;ll update this entry or write a complete run down.</p>
<p><strong>Don&#8217;t hold your breath though</strong>. I rebuilt the OpenBSD server using bsd.rd (being a ramdisk installation) so my need is no longer a driver.</p>
]]></content:encoded>
			<wfw:commentRss>http://techdebug.com/blog/2008/12/08/using-your-macbookpro-to-pxeboot-openbsd/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Fix for loud clicking MacBookPro trackpad</title>
		<link>http://techdebug.com/blog/2008/12/04/fix-for-loud-clicking-macbookpro-trackpad/</link>
		<comments>http://techdebug.com/blog/2008/12/04/fix-for-loud-clicking-macbookpro-trackpad/#comments</comments>
		<pubDate>Thu, 04 Dec 2008 05:53:57 +0000</pubDate>
		<dc:creator>lantrix</dc:creator>
				<category><![CDATA[hardware]]></category>
		<category><![CDATA[mac]]></category>
		<category><![CDATA[hack]]></category>
		<category><![CDATA[loud]]></category>
		<category><![CDATA[macbookpro]]></category>
		<category><![CDATA[trackpad]]></category>

		<guid isPermaLink="false">http://techdebug.com/blog/2008/12/04/fix-for-loud-clicking-macbookpro-trackpad/</guid>
		<description><![CDATA[I love the new MacBookPro, but the trackpad clicks so loud that people on public transport stare at me. I&#8217;m not the only one with the issue. An enterprising user on the Apple Discussion forums remembers a similar problem and fix for the trackpad from earlier MacBook models. The fix in this case involves removing [...]]]></description>
			<content:encoded><![CDATA[<p>I love the new MacBookPro, but the trackpad clicks so loud that people on public transport stare at me. I&#8217;m <a href="http://www.aibal.com/macbook-pro-late-2008-loud-click-trackpad/">not the only one</a> with the issue.</p>
<p>An enterprising user on the Apple Discussion forums <a href="http://discussions.apple.com/thread.jspa?messageID=8364951&#8364951">remembers a similar problem</a> and fix for the trackpad from earlier MacBook models. The fix in this case involves removing your battery and sticking a piece of paper between the pad and the chassis. It works, and here is my solution captured at the moment of repair:
</p>
<p><a href="http://www.flickr.com/photos/lantrix/3081704126/" title="MacBook Pro trackpad fix by lantrix, on Flickr"><img src="http://farm4.static.flickr.com/3220/3081704126_f6d58b5260_m.jpg" width="240" height="180" alt="MacBook Pro trackpad fix" /></a><br />
<em>Enjoy.</em></p>
]]></content:encoded>
			<wfw:commentRss>http://techdebug.com/blog/2008/12/04/fix-for-loud-clicking-macbookpro-trackpad/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Switching to multi-line mode using Textmate Regex</title>
		<link>http://techdebug.com/blog/2008/12/02/switching-to-multi-line-mode-using-textmate-regex/</link>
		<comments>http://techdebug.com/blog/2008/12/02/switching-to-multi-line-mode-using-textmate-regex/#comments</comments>
		<pubDate>Tue, 02 Dec 2008 12:57:53 +0000</pubDate>
		<dc:creator>lantrix</dc:creator>
				<category><![CDATA[apps]]></category>
		<category><![CDATA[mac]]></category>
		<category><![CDATA[regex]]></category>
		<category><![CDATA[tech]]></category>
		<category><![CDATA[multiline]]></category>
		<category><![CDATA[textmate]]></category>

		<guid isPermaLink="false">http://techdebug.com/blog/2008/12/02/switching-to-multi-line-mode-using-textmate-regex/</guid>
		<description><![CDATA[So you have a pattern you want to match across multiple lines, and you have a regular expression that matches it. You will probably be used to doing this in perl like this: /some.+?stuff/s or using regex in ruby like this: /some.+?stuff/m However you have just started to get used to Textmate as an editor [...]]]></description>
			<content:encoded><![CDATA[<p>So you have a pattern you want to match across multiple lines, and you have a regular expression that matches it.<br />
You will probably be used to doing this in perl like this:<br />
<code>/some.+?stuff/s</code><br />
or using <a href="http://www.regular-expressions.info/ruby.html" title="Ruby Regexp Class - Regular Expressions in Ruby">regex in ruby</a> like this:<br />
<code>/some.+?stuff/m</code><br />
However you have just started to get used to Textmate as an editor and you see it supports regex matching. Why though does it not use /s or /m for multi-line dot matching? The reason is that Textmate uses the Oniguruma regular expression library. Oniguruma requires switching to multi-line mode by using an extended group (?m:) so the dot matches the new line as well. So our pattern would be:<br />
<code>(?m:some.+?stuff)</code><br />
Essentially doing this turns multi-line on for the sub-expression, being <em>some.+?stuff</em><br />
Make sense? I thought not. Read <a href="http://manual.macromates.com/en/regular_expressions" title="TextMate Manual » Regular Expressions">on about Textmate Regex</a> for more information.</p>
]]></content:encoded>
			<wfw:commentRss>http://techdebug.com/blog/2008/12/02/switching-to-multi-line-mode-using-textmate-regex/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Textmate Posting Hiccup</title>
		<link>http://techdebug.com/blog/2008/06/26/textmate-posting-hiccup/</link>
		<comments>http://techdebug.com/blog/2008/06/26/textmate-posting-hiccup/#comments</comments>
		<pubDate>Thu, 26 Jun 2008 10:06:43 +0000</pubDate>
		<dc:creator>lantrix</dc:creator>
				<category><![CDATA[apps]]></category>
		<category><![CDATA[mac]]></category>
		<category><![CDATA[error]]></category>
		<category><![CDATA[textmate]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://techdebug.com/blog/2008/06/26/textmate-posting-hiccup/</guid>
		<description><![CDATA[Forgive my triple Post Hiccup. When Textmate posted my blog posts, I got errors. Thinking the post had not completed, I retried until I figured out the problem. If you use WordPress V2.3 and post with Textmate, then don&#8217;t try to add a new category when posting an article. You get this problem: &#160;&#160;Fatal error: [...]]]></description>
			<content:encoded><![CDATA[<p>Forgive my triple Post Hiccup. When Textmate posted my blog posts, I got errors.<br />
Thinking the post had not completed, I retried until I figured out the problem.<br />
If you use WordPress V2.3 and post with Textmate, then don&#8217;t try to add a new category when posting an article. You get this problem:<br />
<pre><pre>
&nbsp;&nbsp;Fatal error: Cannot use object of type WP_Error as array in wp-includes/taxonomy.php on line 1010
</pre></pre><br />
Looks like <a href="http://wordpress.org/support/topic/138364" title="WordPress &#8250; Support &raquo; Help WP_Error when saving pages">I am not the only one</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://techdebug.com/blog/2008/06/26/textmate-posting-hiccup/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The state of Broadband in developing countries</title>
		<link>http://techdebug.com/blog/2008/04/06/the-state-of-broadband-in-developing-countries/</link>
		<comments>http://techdebug.com/blog/2008/04/06/the-state-of-broadband-in-developing-countries/#comments</comments>
		<pubDate>Sun, 06 Apr 2008 11:36:09 +0000</pubDate>
		<dc:creator>lantrix</dc:creator>
				<category><![CDATA[iphone]]></category>
		<category><![CDATA[mac]]></category>
		<category><![CDATA[politics]]></category>
		<category><![CDATA[tech]]></category>
		<category><![CDATA[apple]]></category>
		<category><![CDATA[australia]]></category>
		<category><![CDATA[broadband]]></category>
		<category><![CDATA[FTTN]]></category>
		<category><![CDATA[telstra]]></category>

		<guid isPermaLink="false">http://techdebug.com/blog/2008/04/06/the-state-of-broadband-in-developing-countries/</guid>
		<description><![CDATA[Australia is a mixed bag at Broadband. In some ways we resemble the US, and in no way do we resemble the Japan style FTTN networks (yet). But the infrastructure is starting to be there. What sucks is that sometimes to get the 30 Mbps connections you have to pay quite a bit for it [...]]]></description>
			<content:encoded><![CDATA[<p>Australia is a mixed bag at Broadband. In some ways we resemble the US, and in no way do we resemble the Japan style <a href="http://en.wikipedia.org/wiki/FTTN">FTTN</a> networks (yet). But the infrastructure is starting to be there. What sucks is that sometimes to get the 30 Mbps connections you have to pay quite a bit for it (AUD$90/bundled per month for 25GB, Bigpond Cable). Yes I&#8217;m only with Bigpond cable as no ADSL service exists in my area that comes close to that speed. Damn counted uploads and data shaping.</p>
<p>But at least <a href="http://www.beet.tv/2008/04/ftc-should-stop.html#comment-109643236">unlike some countries</a>, we do seem to have decent peering links to EU and the US. I have actually achieved 3 MBytes/sec (24Mbps) transfer on a regional transfer and about 1MBytes/sec (8Mbps) using international servers.</p>
<p>Why do I mention this? I just watched Walt Mossberg talk about the bad state of Broadband and the lack of integration of the online world with big TVs (watch below, 8 mins).</p>
<p><object type="application/x-shockwave-flash" data="http://blip.tv/scripts/flash/showplayer.swf?tabType3=none&#038;tabUrl3=undefined&#038;tabTitle3=undefined&#038;tabType2=none&#038;tabUrl2=undefined&#038;tabTitle2=undefined&#038;tabType1=none&#038;tabUrl1=undefined&#038;tabTitle1=undefined&#038;enablejs=true&#038;feedurl=http%3A%2F%2Fbeettv%2Eblip%2Etv%2Frss%2Fflash&#038;file=http%3A%2F%2Fblip%2Etv%2Frss%2Fflash%2F801182&#038;thumb=http%3A%2F%2Fpanther2%2Evideo%2Eblip%2Etv%2FPlesstv%2DFTCShouldStopVerizonFromCallingDSLBroadbandWaltMossberg532%2Epng&#038;brandlink=http%3A%2F%2Fwww%2Ebeet%2Etv%2F&#038;brandname=Beet%2ETV&#038;showguidebutton=false&#038;showplayerpath=http%3A%2F%2Fblip%2Etv%2Fscripts%2Fflash%2Fshowplayer%2Eswf" width="400" height="255" allowfullscreen="true" id="showplayer"><param name="movie" value="http://blip.tv/scripts/flash/showplayer.swf?tabType3=none&#038;tabUrl3=undefined&#038;tabTitle3=undefined&#038;tabType2=none&#038;tabUrl2=undefined&#038;tabTitle2=undefined&#038;tabType1=none&#038;tabUrl1=undefined&#038;tabTitle1=undefined&#038;enablejs=true&#038;feedurl=http%3A%2F%2Fbeettv%2Eblip%2Etv%2Frss%2Fflash&#038;file=http%3A%2F%2Fblip%2Etv%2Frss%2Fflash%2F801182&#038;thumb=http%3A%2F%2Fpanther2%2Evideo%2Eblip%2Etv%2FPlesstv%2DFTCShouldStopVerizonFromCallingDSLBroadbandWaltMossberg532%2Epng&#038;brandlink=http%3A%2F%2Fwww%2Ebeet%2Etv%2F&#038;brandname=Beet%2ETV&#038;showguidebutton=false&#038;showplayerpath=http%3A%2F%2Fblip%2Etv%2Fscripts%2Fflash%2Fshowplayer%2Eswf" /><param name="quality" value="best" /><embed src="http://blip.tv/scripts/flash/showplayer.swf?tabType3=none&#038;tabUrl3=undefined&#038;tabTitle3=undefined&#038;tabType2=none&#038;tabUrl2=undefined&#038;tabTitle2=undefined&#038;tabType1=none&#038;tabUrl1=undefined&#038;tabTitle1=undefined&#038;enablejs=true&#038;feedurl=http%3A%2F%2Fbeettv%2Eblip%2Etv%2Frss%2Fflash&#038;file=http%3A%2F%2Fblip%2Etv%2Frss%2Fflash%2F801182&#038;thumb=http%3A%2F%2Fpanther2%2Evideo%2Eblip%2Etv%2FPlesstv%2DFTCShouldStopVerizonFromCallingDSLBroadbandWaltMossberg532%2Epng&#038;brandlink=http%3A%2F%2Fwww%2Ebeet%2Etv%2F&#038;brandname=Beet%2ETV&#038;showguidebutton=false&#038;showplayerpath=http%3A%2F%2Fblip%2Etv%2Fscripts%2Fflash%2Fshowplayer%2Eswf" quality="best" width="400" height="255" name="showplayer" type="application/x-shockwave-flash"></embed></object></p>
<p>Lastly Australia gets, as no doubt does the rest of the world, a time lag factor of everything latest and greatest. No iPhone yet, no iTMS TV/Movie store, no local Amazon style service (some come close), up to 1 year delay on airing TV series (though it is improving recently); and so on.</p>
<p>The tyranny of distance, and small population on a great land mass, is at play.</p>
<p><strong>Oh yes, and the iPhone rumour gets another bump</strong> &#8211; woot 3G iPhone in June, well in the US. No doubt another 6 months will pass before Australia gets it. Lets hope it is not locked to Telstra. I don&#8217;t want to have to pay for my 3G data on top of the expensive plan AND the phone. I want it bundled, and not a <a href="http://techdebug.com/blog/2007/09/26/3g-wireless-telstra-still-does-not-get-it/">pitiful 5 Megabytes worth</a>. I have a $500 cap on Vodafone for now, including all my 3G data usage at $1 per 5 mins (part of the $500 cap). </p>
<p>If the iPhone ends up locked to Telstra, I&#8217;ll be singing Elvis.</p>
]]></content:encoded>
			<wfw:commentRss>http://techdebug.com/blog/2008/04/06/the-state-of-broadband-in-developing-countries/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>MacHeist &#8211; Speed Download 5 upgrade now available for free</title>
		<link>http://techdebug.com/blog/2008/03/19/macheist-speed-download-5-upgrade-now-available-for-free/</link>
		<comments>http://techdebug.com/blog/2008/03/19/macheist-speed-download-5-upgrade-now-available-for-free/#comments</comments>
		<pubDate>Wed, 19 Mar 2008 04:30:24 +0000</pubDate>
		<dc:creator>lantrix</dc:creator>
				<category><![CDATA[apps]]></category>
		<category><![CDATA[mac]]></category>
		<category><![CDATA[macheist]]></category>
		<category><![CDATA[speed download]]></category>
		<category><![CDATA[upgrade]]></category>
		<category><![CDATA[yazsoft]]></category>

		<guid isPermaLink="false">http://techdebug.com/blog/2008/03/19/macheist-speed-download-5-upgrade-now-available-for-free/</guid>
		<description><![CDATA[I received and email from the MacHeist directorate today. The controversy has been solved by YazSoft offering a free upgrade to Speed Download 5 for MacHeist customers, but only for a very limited time &#8211; March 13 2008 until March 27 2008. It is nice that I got the email, albeit 5 days after the [...]]]></description>
			<content:encoded><![CDATA[<p>I received and email from the MacHeist directorate today. The <a href="http://www.tuaw.com/2008/02/24/the-speed-download-macheist-saga/">controversy</a> has been solved by YazSoft offering a free upgrade to Speed Download 5 for MacHeist customers, <em>but only for a very limited time</em> &#8211; March 13 2008 until March 27 2008.<br />
It is nice that I got the email, albeit 5 days after the offer was extended.</p>
<p>This list of changes that come with SD5 are <a href="http://yazsoft.com/content/history.html#v500">available online</a>.</p>
<p>So if you purchased Speed Download 4 with MacHeist II, and choose to upgrade, then <a href="http://yazsoft.com/content/macheist.html">proceed to yazsoft&#8217;s website in a quick and orderly fashion</a> to get the upgrade offer.</p>
]]></content:encoded>
			<wfw:commentRss>http://techdebug.com/blog/2008/03/19/macheist-speed-download-5-upgrade-now-available-for-free/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Newsfire RSS free for everyone</title>
		<link>http://techdebug.com/blog/2008/03/12/newsfire-rss-free-for-everyone/</link>
		<comments>http://techdebug.com/blog/2008/03/12/newsfire-rss-free-for-everyone/#comments</comments>
		<pubDate>Wed, 12 Mar 2008 11:03:32 +0000</pubDate>
		<dc:creator>lantrix</dc:creator>
				<category><![CDATA[apps]]></category>
		<category><![CDATA[mac]]></category>
		<category><![CDATA[free]]></category>
		<category><![CDATA[leopard]]></category>
		<category><![CDATA[newsfire]]></category>
		<category><![CDATA[rss]]></category>

		<guid isPermaLink="false">http://techdebug.com/blog/2008/03/12/newsfire-rss-free-for-everyone/</guid>
		<description><![CDATA[David Watanabe announced the most recent upgrade to Newsfire RSS as now free for all users. In David&#8217;s own words, he explains what the buzz about news aggregation is, and why Newsfire is a must for ALL mac users: For those new to this, NewsFire is a news reader for blogs, news sites, and anything [...]]]></description>
			<content:encoded><![CDATA[<p>David Watanabe announced the most recent upgrade to Newsfire RSS as now <a href="http://www.newsfirex.com/blog/?p=201"><em>free for all users</em></a>. In David&#8217;s own words, he explains what the buzz about news aggregation is, and why Newsfire is a must for ALL mac users:</p>
<blockquote><p>For those new to this, NewsFire is a news reader for blogs, news sites, and anything else that publishes an ‘RSS’ syndication feed. It watches for news so you don’t have to. When a new story is published, NewsFire brings it to your attention with some super-slick animation. Unlike other readers, NewsFire is designed with a deliberately minimal interface. The news is what matters and it takes center stage.</p></blockquote>
<p>Download this <em>must have</em> mac application <a href="http://www.newsfirex.com/">from his web site</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://techdebug.com/blog/2008/03/12/newsfire-rss-free-for-everyone/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Leopard Erase and Install Success &#8211; Howto</title>
		<link>http://techdebug.com/blog/2008/02/25/leopard-erase-and-install-success-howto/</link>
		<comments>http://techdebug.com/blog/2008/02/25/leopard-erase-and-install-success-howto/#comments</comments>
		<pubDate>Mon, 25 Feb 2008 12:00:07 +0000</pubDate>
		<dc:creator>lantrix</dc:creator>
				<category><![CDATA[mac]]></category>
		<category><![CDATA[tech]]></category>
		<category><![CDATA[apple]]></category>
		<category><![CDATA[firewire]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[leopard]]></category>
		<category><![CDATA[migration assistant]]></category>
		<category><![CDATA[upgrade]]></category>

		<guid isPermaLink="false">http://techdebug.com/blog/2008/02/26/leopard-erase-and-install-success-howto/</guid>
		<description><![CDATA[So you want to upgrade your Mac from Tiger (10.4) to Leopard (10.5)? This has probably been written about by every man and his cat, but here is my experience and the optimal installation sequence &#8211; as written by a late-comer to the Leopard gang. Erase and Install is your best bet. Take it from [...]]]></description>
			<content:encoded><![CDATA[<p>So you want to upgrade your Mac from Tiger (10.4) to Leopard (10.5)? This has probably been written about by every man and his cat, but here is my experience and the optimal installation sequence &#8211; as written by a late-comer to the Leopard gang.<a href="http://www.apple.com/macosx/"><img style="float: right; margin-left: 20px; margin-right: 20px; margin-bottom: 20px; margin-top: 20px;" src="http://images.apple.com/macosx/images/macosx_index_leopardishere20071026.png" alt="Leopard" /></a><br />
<span id="more-184"></span><br />
Erase and Install is your best bet. Take it from someone whom tried to use the upgrade option and <a href="http://techdebug.com/blog/2008/02/24/apples-leopard/">FAILED</a>.</p>
<p>Make a couple of good backups, at least one being an external FIREWIRE (not USB people, FIREWIRE) HDD that <a href="http://www.bombich.com/software/ccc.html">is a clone</a> of your existing tiger boot partition.</p>
<p><strong>Note:</strong> If you have filevault turned on for any of your accounts you should <em>turn OFF filevault</em> before the upgrade.</p>
<p>The steps then are as simple as this:</p>
<ol>
<li>Confirm your clone backup works by booting off the external firewire drive &#8211; <em>I can&#8217;t stress this enough</em>. Plug in your firewire HDD, power it on, turn on your mac and <a href="http://davespicks.com/writing/programming/mackeys.html">hold cmd-option-shift-delete</a> just after the gong sound. This will boot off your backup.</li>
<li>The backup is OK? Good&#8230; shutdown, power off the firewire HDD and unplug it. Power on, holding the C key with your install DVD inserted. This will boot off the DVD (C key is for cdrom booting. A legacy shortcut key, but now commonly known)</li>
<li>Choose the install option &#8211; <em>Erase and Install</em></li>
<li>After the installation is done &#8211; DO NOT use the migration tool to migrate at this time.</li>
<li>Ensure <strong>your username you choose is not the same as any of the old ones</strong>. This is OK, as it can be removed later</li>
<li>Log into your new Leopard, and commence to <a href="http://www.apple.com/downloads/macosx/apple/macosx_updates/macosx1052comboupdate.html">download and install</a> the combo update to 10.5.2 (or whatever the latest patch level is)</li>
<li>Once the update is complete and the computer restarted, login, plug in and turn on your Firewire external HDD</li>
<li>Run the <a href="http://docs.info.apple.com/article.html?path=Mac/10.5/en/9032.html">migration assistant as documented by Apple</a>. It will successfully migrate all the chosen accounts, applications and data from your old system that was cloned to the external HDD.</li>
</ol>
<p>If you have any problems with this all, or need help, you can ask for help in the official <a href="http://discussions.apple.com/forum.jspa?forumID=1219&#038;start=0">Leopard installation forums</a>.<br />
As a bonus, if you no longer want to clone to the new HDD &#8211; you may format it ONCE you have Leopard working OK, then plug it in and use it as your time-machine backup drive. Bonus.</p>
]]></content:encoded>
			<wfw:commentRss>http://techdebug.com/blog/2008/02/25/leopard-erase-and-install-success-howto/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Apple&#8217;s Leopard</title>
		<link>http://techdebug.com/blog/2008/02/24/apples-leopard/</link>
		<comments>http://techdebug.com/blog/2008/02/24/apples-leopard/#comments</comments>
		<pubDate>Sun, 24 Feb 2008 09:40:36 +0000</pubDate>
		<dc:creator>lantrix</dc:creator>
				<category><![CDATA[mac]]></category>
		<category><![CDATA[tech]]></category>
		<category><![CDATA[leopard]]></category>
		<category><![CDATA[powerbook]]></category>

		<guid isPermaLink="false">http://techdebug.com/blog/2008/02/24/apples-leopard/</guid>
		<description><![CDATA[I took the plunge and decided to upgrade to Mac OS 10.5 a.k.a. Leopard this weekend. Here&#8217;s how it went&#8230; Initially I made sure I had two full cloned and boot-able backups that I made with CCC. After this I actually tried booting off them just to make sure. Having backups before such a major [...]]]></description>
			<content:encoded><![CDATA[<p>I took the plunge and decided to upgrade to <a href="http://www.apple.com/au/macosx/">Mac OS 10.5 a.k.a. Leopard</a> this weekend. Here&#8217;s how it went&#8230;</p>
<p>Initially I made sure I had two full cloned and boot-able backups that I made with CCC. After this I actually tried booting off them just to make sure. <a href="http://www.macmaps.com/backup.html">Having backups</a> before such a major upgrade is a mandatory step for all people whom undertake any OS upgrade.</p>
<p>Secondly I decided on the upgrade path. I plopped in the 10.5 DVD (Family pack!) and kicked off the upgrade.<br />
At this point all looked fine, but this is where the initial problem occurred. People had said 10.5.0 was unstable, but I had thought I could at least login and kick off the 10.5.2 combo update. How wrong I was.</p>
<p>The combination of a Powerbook G4, and and upgrade from 10.4.11 -> 10.5.0 rendered the OS unusable.<br />
I had heard rumours of this sort of thing, but I had not expected it. Finder would lock up on login and no amount of coaxing, safe mode, or anything else worked.</p>
<p>So I tested my external clone once more to make sure I could boot off it, and took the plunge. ERASE AND INSTALL.</p>
]]></content:encoded>
			<wfw:commentRss>http://techdebug.com/blog/2008/02/24/apples-leopard/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>As easy as Apple Pie</title>
		<link>http://techdebug.com/blog/2008/01/24/as-easy-as-apple-pie/</link>
		<comments>http://techdebug.com/blog/2008/01/24/as-easy-as-apple-pie/#comments</comments>
		<pubDate>Thu, 24 Jan 2008 06:35:26 +0000</pubDate>
		<dc:creator>lantrix</dc:creator>
				<category><![CDATA[mac]]></category>
		<category><![CDATA[microsoft]]></category>
		<category><![CDATA[apple]]></category>
		<category><![CDATA[switch]]></category>
		<category><![CDATA[vista]]></category>

		<guid isPermaLink="false">http://techdebug.com/blog/2008/01/24/apple-pie/</guid>
		<description><![CDATA[A friend told me he had dropped his notebook PC, and it was going to cost more to repair than it was worth. I advised: Get a Mac. I started looking around for some information for him. Why would the Mac benefit his Computer Science course? Why would the Mac be more reliable? What does [...]]]></description>
			<content:encoded><![CDATA[<p>A friend told me he had dropped his notebook PC, and it was going to cost more to repair than it was worth. I advised: Get a Mac.</p>
<p>I started looking around for some information for him. Why would the Mac benefit his Computer Science course? Why would the Mac be more reliable? What does he need to know about compatibility? One of the articles I read was a <a href="http://shepherdsons.wordpress.com/2008/01/20/journal-all-signs-point-to-apple/">blog post by The Shepherd’s Sons</a> called &#8220;All Signs Point To Apple&#8221;. In the post it describes a Windows man through and through and how his simplification of Technology had lead him to Apple. &#8220;It just works&#8221; is the Mantra all Mac people have heard.<br />
I told my friend about this, to show him its not such a leap, but more of an awakening. &#8220;Four other family members had started using Macs&#8221; I said, and it&#8217;s true. They love them now.<br />
I also didn&#8217;t want him to get lumped with Microsoft&#8217;s Vista like other friends and family had &#8211; some so bad they had even gone back to Windows XP.</p>
<p>A commenter on &#8220;All Signs Point To Apple&#8221; also points to <a href="http://pogue.blogs.nytimes.com/2008/01/18/explaining-the-macintosh-surge/">the piece by David Pogue</a> attempting to explain the Macintosh Surge effect. It is a good follow up to try and understand this increase seen in recent months.</p>
<p>Personally? I think it just sells itself by word of mouth. Thats how I pass on my experiences with Macs. Maybe you too should <a href="http://apple.com.au/switch">try one out</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://techdebug.com/blog/2008/01/24/as-easy-as-apple-pie/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Macheist &#8211; 14 applications for $49</title>
		<link>http://techdebug.com/blog/2008/01/21/macheist-14-applications-for-49/</link>
		<comments>http://techdebug.com/blog/2008/01/21/macheist-14-applications-for-49/#comments</comments>
		<pubDate>Sun, 20 Jan 2008 22:15:04 +0000</pubDate>
		<dc:creator>lantrix</dc:creator>
				<category><![CDATA[apps]]></category>
		<category><![CDATA[mac]]></category>
		<category><![CDATA[bundle]]></category>
		<category><![CDATA[charity]]></category>
		<category><![CDATA[cssedit]]></category>
		<category><![CDATA[macheist]]></category>
		<category><![CDATA[pixelmator]]></category>
		<category><![CDATA[vectordesigner]]></category>

		<guid isPermaLink="false">http://techdebug.com/blog/2008/01/21/macheist-14-applications-for-49/</guid>
		<description><![CDATA[With MacHeist.com still selling their bundle for another 3 days, they have added a new Mac application to the bundle. VectorDesigner brings the total number of applications in the bundle up to 14, with the recent addition of the Freeverse games. If you get referrals from your friends there are another two up for grabs [...]]]></description>
			<content:encoded><![CDATA[<p>With MacHeist.com still selling their bundle for another 3 days, they have added a new Mac application to the bundle. <a href="http://www.tweakersoft.com/vectordesigner">VectorDesigner</a> brings the total number of applications in the bundle up to 14, with the recent addition of the Freeverse games. <img src="http://mhstatic.com/img/bundle/icons/vectordesigner.png" style="float: right; margin-top: 5px; margin-bottom: 5px; margin-left: 10px" alt="vectordesigner" /> If you get referrals from your friends there are another two up for grabs as well. Here is what <a href="http://www.macheist.com/">MacHeist have to say</a> about <a href="http://www.tweakersoft.com/vectordesigner">VectorDesigner</a>:</p>
<blockquote><p>With the latest version of Adobe Illustrator costing $600, it&#8217;s no surprise that the Mac community has been clamoring for a powerful, fast, and easy to use program for creating vector art that doesn&#8217;t break the bank.<br />
Say hello to VectorDesigner. Though relatively new, VectorDesigner features an impressive feature list, including Bezier lines, vector shapes, iSight, QuickLook, and scanner integration, and a conversion tool for turning non-vector images into vector.</p></blockquote>
<p>Valued at $69.95, MacHeist.com have set <a href="http://www.tweakersoft.com/vectordesigner">VectorDesigner</a> to be unlocked for all customers once $300,000 has been raised for charity.</p>
<p>This bundle is very graphics and web design orientated, and the budding freelance designers out there can always make use of PixelMator, CSSEdit and now <a href="http://www.tweakersoft.com/vectordesigner">VectorDesigner</a> if it becomes unlocked. <a href="https://www.macheist.com/buy/invite/19408">You can buy the bundle here at macheist.com</a> &#8211; I have purchased 3 of them &#8211; and 25% of your purchase will go to your chosen charity.</p>
<p style="text-align: center; margin-bottom: 5px; margin-top: 5px"><a href="https://www.macheist.com/buy/invite/19408"><img src="http://mhstatic.com/img/forum/forum_logo.png"style="border-style: none" alt="MacHeist II" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://techdebug.com/blog/2008/01/21/macheist-14-applications-for-49/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Macbook Air Multitouch</title>
		<link>http://techdebug.com/blog/2008/01/17/macbook-air-multitouch/</link>
		<comments>http://techdebug.com/blog/2008/01/17/macbook-air-multitouch/#comments</comments>
		<pubDate>Wed, 16 Jan 2008 13:05:00 +0000</pubDate>
		<dc:creator>lantrix</dc:creator>
				<category><![CDATA[mac]]></category>
		<category><![CDATA[air]]></category>
		<category><![CDATA[apple]]></category>
		<category><![CDATA[gestures]]></category>
		<category><![CDATA[macbook]]></category>
		<category><![CDATA[multitouch]]></category>
		<category><![CDATA[trackpad]]></category>

		<guid isPermaLink="false">http://techdebug.com/blog/2008/01/17/macbook-air-multitouch/</guid>
		<description><![CDATA[I am currently watching the Macworld 2008 Keynote speech, and Steve Jobs &#8211; though starting off a bit slow &#8211; wowed the gadget hungry crowd in his usual fashion. Besides some new Apple TV innovations (limited to the US &#8211; bah!), iPhone/iPod updates and the new Timecapsule; the key component of the speech was the [...]]]></description>
			<content:encoded><![CDATA[<p>I am currently watching the <a href="http://www.apple.com/quicktime/qtv/keynote/">Macworld 2008 Keynote speech</a>, and Steve Jobs &#8211; though starting off a bit slow &#8211; wowed the gadget hungry crowd in his usual fashion.</p>
<p>Besides some new Apple TV innovations (limited to the US &#8211; bah!), iPhone/iPod updates and the new <a href="http://www.apple.com/timecapsule/">Timecapsule</a>; the key component of the speech was the introduction of the new <a href="http://www.apple.com/macbookair/">Macbook Air</a>. <a href='http://store.apple.com/' title='Made on a Mac'><img style="float: left; border: none; margin: 20px" src='http://cdn.techdebug.com/wp-content/uploads/2008/01/madeonamac20050720.gif' alt='Apple, the Apple logo, and Mac are trademarks of Apple Computer, Inc., registered in the U.S. and other countries. The Made on a Mac Badge is a trademark of Apple Computer, Inc., used with permission.' /></a></p>
<p>Although I run my servers on OpenBSD, I write my blog from my Mac and prefer my Powerbook over all the other computers I use. A great part of using the Powerbook is that the trackpad has the scrolling functionality built in, which once you use, you sorely miss on all other devices.</p>
<p>Steve tells the audience that the new Macbook Air has learnt from the iPod touch and iPhone, and it now has gestures! The major new <strong>Multitouch</strong> features are:</p>
<ul>
<li>Pinch to zoom just like the iPhone and iPod touch</li>
<li>Two finger panning has been taken to a new level. No more just left-right and up-down but you can scroll around on your photos.</li>
<li>Three finger photo &#8220;flicking&#8221; like the coverflow photo iPhone interface</li>
<li>Double tap to mark a window to drag it around</li>
<li>Photo rotation</li>
<li>There are also a number of space saving innovations on the new hardware which Steve demonstrates</li>
</ul>
<p>And there is more. You can see the demo videos at the <a href="http://www.apple.com/macbookair/features.html">Macbook Air features page</a></p>
<p>This multi touch trackpad will prove revolutionary and it should only be a short time before we see this capability on the full line of Mac notebooks. Time to upgrade from my old G4. Now where is that Apple tablet notebook, Steve?</p>
<p>If you have a spare hour or two, <a href="http://www.apple.com/quicktime/qtv/keynote/">jump into the Keynote stream on Quicktime</a> and have a look for yourself. Steve demos the multi touch trackpad at the 1:00:00 mark.</p>
]]></content:encoded>
			<wfw:commentRss>http://techdebug.com/blog/2008/01/17/macbook-air-multitouch/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Macheist &#8211; In the company of good Applications</title>
		<link>http://techdebug.com/blog/2008/01/15/macheist-in-the-company-of-good-applications/</link>
		<comments>http://techdebug.com/blog/2008/01/15/macheist-in-the-company-of-good-applications/#comments</comments>
		<pubDate>Mon, 14 Jan 2008 22:00:24 +0000</pubDate>
		<dc:creator>lantrix</dc:creator>
				<category><![CDATA[apps]]></category>
		<category><![CDATA[mac]]></category>
		<category><![CDATA[appzapper]]></category>
		<category><![CDATA[bundle]]></category>
		<category><![CDATA[charity]]></category>
		<category><![CDATA[cssedit]]></category>
		<category><![CDATA[macheist]]></category>
		<category><![CDATA[pixelmator]]></category>

		<guid isPermaLink="false">http://techdebug.com/blog/2008/01/15/macheist-in-the-company-of-good-applications/</guid>
		<description><![CDATA[This is one for my Mac readers; MS Windows lovers please have your eyes glaze over &#8211; Now. Following the lead of other bloggers, I thought it would be pertinent to let you know that MacHeist II has completed all their heists, and the bundle sale is well underway. This morning the last of the [...]]]></description>
			<content:encoded><![CDATA[<p>This is one for my Mac readers; MS Windows lovers please have your eyes glaze over &#8211; Now.
</p>
<p>Following the <a href="http://beezhouse.com/2008/01/13/nothin-much-to-say/">lead</a> of other bloggers, I thought it would be pertinent to let you know that <a href="https://www.macheist.com/buy/invite/19408">MacHeist II</a> has completed all their heists, and the bundle sale is well underway. <img src="http://mhstatic.com/img/bundle/screens/walnut/2.small.jpg" style="float: left; margin-top: 5px; margin-bottom: 5px; margin-right: 10px" alt="Pixelmator" /> This morning the last of the <del datetime="2008-01-15T00:36:04+00:00">10</del> <del datetime="2008-01-18T00:45:24+00:00">11</del> 12 applications, Pixelmator, was unlocked. The developers say &#8220;If your image editing experience so far has been defined by PhotoShop, we guarantee you will be blown away by Pixelmator&#8217;s speed and beautiful UI&#8221;. I&#8217;m a casual user of Photoshop on Windows, and would like to find a decent alternative for the Mac for &#8220;casual&#8221; image editing for web design. The layering capabilities of Pixelmator appears to put it above and beyond other similar priced applications. This alone makes the bundle worth it, as the bundle is USD$10 than the retail price of Pixelmator.
</p>
<p><a href="https://www.macheist.com/buy/invite/19408">The bundle</a> now features other great applications like <a href="http://www.macrabbit.com/cssedit/">CSSEdit</a>, <a href="http://yazsoft.com/">Speed Downloa</a>d and <a href="http://appzapper.com/">AppZapper</a>. If you have ever tried the demo of these applications, but not yet purchased them, you can get the whole lot for the price of what you would have paid for one of them.</p>
<table width=100% style="margin-bottom: 5px; margin-top: 5px">
<tr>
<td align=center><a href="http://yazsoft.com/"><img style="border-style: none" src="http://mhstatic.com/img/bundle/icons/slomo.png" alt="Speed Download" /></a></td>
<td align=center><a href="http://www.macrabbit.com/cssedit/"><img style="border-style: none" src="http://mhstatic.com/img/bundle/icons/codingart.png" alt="CSSEdit" /></a></td>
<td align=center><a href="http://appzapper.com/"><img style="border-style: none" src="http://mhstatic.com/img/bundle/icons/shootingblanks.png" alt="AppZapper" /></a></td>
</tr>
</table>
<p>With the current USD to AUD exchange rate, it will cost us Aussies about $55 or less to purchase the licences, and 11 applications later your Mac will have many more uses which you never knew about.</p>
<p>So after considering that, and with only 9 days remaining, <a href="https://www.macheist.com/buy/invite/19408">I invite you to buy the bundle</a> &#8211; just as I will be doing &#8211; and 25% of your purchase will go to your chosen charity.</p>
<p style="text-align: center; margin-bottom: 5px; margin-top: 5px"><a href="https://www.macheist.com/buy/invite/19408"><img src="http://mhstatic.com/img/forum/forum_logo.png"style="border-style: none" alt="MacHeist II" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://techdebug.com/blog/2008/01/15/macheist-in-the-company-of-good-applications/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Safari V3 Web Inspector</title>
		<link>http://techdebug.com/blog/2007/11/19/safari-v3-web-inspector/</link>
		<comments>http://techdebug.com/blog/2007/11/19/safari-v3-web-inspector/#comments</comments>
		<pubDate>Mon, 19 Nov 2007 02:56:44 +0000</pubDate>
		<dc:creator>lantrix</dc:creator>
				<category><![CDATA[mac]]></category>
		<category><![CDATA[webdev]]></category>
		<category><![CDATA[safari3]]></category>
		<category><![CDATA[web inspector]]></category>

		<guid isPermaLink="false">http://techdebug.com/blog/2007/11/19/safari-v3-web-inspector/</guid>
		<description><![CDATA[Chris blogged on PhatBoyG about the Web Inspector included in Safari 3. Previously this tool was a simple content inspector, but now it looks to be so much more. If you are using Safari V3 and you are a web developer, have a look at this useful tool. You can gain access to it by [...]]]></description>
			<content:encoded><![CDATA[<p>Chris blogged on <a href="http://blog.phatboyg.com/2007/11/07/safari-3-debug-tools-better-than-firebug/" title="Safari 3 Debug Tools Better Than FireBug?">PhatBoyG about the Web Inspector</a> included in Safari 3. Previously this tool was a simple content inspector, but now it looks to be so much more. If you are using Safari V3 and you are a web developer, have a look at this useful tool.</p>
<p>You can gain access to it by enabling the debug menu. Open Terminal and type this<br />
<code>defaults write com.apple.Safari IncludeDebugMenu 1</code><br />
then restart Safari. You will then see the debug menu and the Web Inspector option. As Chris pointed out, the network tool looks fantastic for diagnosing page loading speed issues.</p>
]]></content:encoded>
			<wfw:commentRss>http://techdebug.com/blog/2007/11/19/safari-v3-web-inspector/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Return of the Mac</title>
		<link>http://techdebug.com/blog/2007/11/13/return-of-the-mac/</link>
		<comments>http://techdebug.com/blog/2007/11/13/return-of-the-mac/#comments</comments>
		<pubDate>Tue, 13 Nov 2007 10:12:32 +0000</pubDate>
		<dc:creator>lantrix</dc:creator>
				<category><![CDATA[mac]]></category>
		<category><![CDATA[mac powerbook repair]]></category>

		<guid isPermaLink="false">http://techdebug.com/blog/2007/11/13/return-of-the-mac/</guid>
		<description><![CDATA[I have my Powerbook G4 back now. Woooot! It has a fresh install of 10.4.6 on it from the Mac repair shop. The question is, what do I do with my CCC backup firewire HDD? Clone it back? Migrate it back? Having watched others roll into 10.5 aka Leopard, I thought it would be time [...]]]></description>
			<content:encoded><![CDATA[<p style="float: left; margin-bottom: 10px; margin-right: 10px"><img src='http://cdn.techdebug.com/wp-content/uploads/2007/11/60px-osxtiger.png' alt='OSX Tiger' /></p>
<p>I have my <a href="http://en.wikipedia.org/wiki/PowerBook_G4">Powerbook G4</a> back now. <em>Woooot!</em> It has a fresh install of 10.4.6 on it from the Mac repair shop.
</p>
<p>The question is, what do I do with my CCC backup firewire HDD? Clone it back? Migrate it back?
</p>
<p>Having watched others roll into 10.5 aka Leopard, I thought it would be time for me to roll into a fresh computer as well. Sans postgresql, custom php install, CVS repository and the last 2 years of installed junk. (Not saying CVS/PHP/PostgreSQL are junk!)
</p>
<p>So I&#8217;m doing it. I&#8217;m migrating. A fresh install &#8211; and we will see how good it is. The advantage? A newer faster install.Disadvantages? Days spend getting things right again. But that iss the fun part for a geek! If we can&#8217;t tweek, what else is there.
</p>
<p>I&#8217;ll keep you posted on how it goes.</p>
]]></content:encoded>
			<wfw:commentRss>http://techdebug.com/blog/2007/11/13/return-of-the-mac/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk: basic
Page Caching using disk: enhanced
Database Caching using disk: basic
Object Caching 1299/1599 objects using disk: basic
Content Delivery Network via Rackspace Cloud Files: cdn.techdebug.com

Served from: techdebug.com @ 2012-05-22 17:38:27 -->
