<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0"><channel><title>Disqus - Latest Comments for Nico</title><link>http://disqus.com/people/d448eec03c8e3176ec4b290ba0bd6604/</link><description></description><language>en</language><lastBuildDate>Sun, 09 Aug 2009 20:58:38 -0000</lastBuildDate><item><title>Re: New MacBook priced better than Dell. No kidding.</title><link>http://fakesteve.disqus.com/new_macbook_priced_better_than_dell_no_kidding/#comment-183332</link><description>If it goes on like this, you need 13 fingers in a year. "Just make a start with six fingers and simultaneously rotate the other 7 around it and - BOOM - another tab opens. It's that simple".</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Nico</dc:creator><pubDate>Wed, 27 Feb 2008 07:08:15 -0000</pubDate></item><item><title>Re: Foucault's Pendulum: An update</title><link>http://fakesteve.disqus.com/foucaults_pendulum_an_update/#comment-183400</link><description>Most audiobooks are made by reading books that are typeset in Arial. I can't stand the sound of Arial.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Nico</dc:creator><pubDate>Wed, 27 Feb 2008 08:02:23 -0000</pubDate></item><item><title>Re: View man pages in Xcode script</title><link>http://toxicsoftware.disqus.com/view_man_pages_in_xcode_script/#comment-1656048</link><description>osascript -e ''tell application "XCode" to show document with apple_ref "//apple_ref/doc/man/1/'$1&lt;br&gt;&lt;br&gt;should work as well and doesn't require gui scripting. Use "//apple_ref/doc/c_ref/" to show documentation for C code (e.g. Carbon functions and constants; cocoa class names work too).</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Nico</dc:creator><pubDate>Tue, 25 Sep 2007 14:24:16 -0000</pubDate></item><item><title>Re: View man pages in Xcode script</title><link>http://toxicsoftware.disqus.com/view_man_pages_in_xcode_script/#comment-1656047</link><description>Turns out that what I wrote doesn't work with Leopard (it did work with Tiger, though). But the apple_ref scheme is actually documented: &lt;a href="http://developer.apple.com/documentation/DeveloperTools/Conceptual/HeaderDoc/anchors/chapter_950_section_2.html#//apple_ref/doc/uid/TP40001215-CH347-SW1" rel="nofollow"&gt;http://developer.apple.com/documentation/Develo...&lt;/a&gt;&lt;br&gt;&lt;br&gt;So to open the "interesting" man page (1) (that's what your script does as well) you can use &lt;br&gt;&lt;br&gt;    tell application "Xcode" to show document with apple_ref "//apple_ref/c/func/strlen"&lt;br&gt;&lt;br&gt;to open the man page for strlen. And &lt;br&gt;&lt;br&gt;    tell application "Xcode" to show document with apple_ref "//apple_ref/occ/instm/NSArray/initWithArray:copyItems:"&lt;br&gt;&lt;br&gt;to show the documentation for -[NSArray initWithArray:copyItems:]. And so on. Semi-useful if you want to use a better editor than xed for code editing, but still look at XCode documentation from there (only semi-useful because you have to guess the top-level link like occ, c etc first before sending the applescript command to xcode).</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Nico</dc:creator><pubDate>Fri, 23 Nov 2007 04:11:46 -0000</pubDate></item><item><title>Re: A useful octal escape sequence</title><link>http://wordaligned.disqus.com/a_useful_octal_escape_sequence/#comment-14530200</link><description>Apparently, C also supports hex escapes, but in a surprising way: \xhhhhhhh is treated as a single byte as long all 'h's are valid hex digits. That means that "\0012" is a string consisting of (char)1 and '2', while "\x0012" is (char)0x12. Python gets this "right", here "\0x0012" is chr(0) + "1" + "2".</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Nico</dc:creator><pubDate>Sun, 09 Aug 2009 20:58:38 -0000</pubDate></item></channel></rss>