<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd"
	xmlns:media="http://search.yahoo.com/mrss/"
	>
<channel>
	<title>Comments on: Hello World</title>
	<atom:link href="http://macbreaktech.com/old/53/hello-world-2/feed/" rel="self" type="application/rss+xml" />
	<link>http://macbreaktech.com/old/53/hello-world-2/</link>
	<description>a technical discussion about all things Macintosh</description>
	<lastBuildDate>Mon, 22 Mar 2010 16:10:45 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Trent</title>
		<link>http://macbreaktech.com/old/53/hello-world-2/comment-page-1/#comment-540</link>
		<dc:creator>Trent</dc:creator>
		<pubDate>Fri, 28 Mar 2008 04:42:33 +0000</pubDate>
		<guid isPermaLink="false">http://macbreaktech.com/53/hello-world-2/#comment-540</guid>
		<description>Well, you did it. You finally out geeked me. 

Not that that is a hard think to do. In fact, I expected to be in over my head a long time ago. While there have been occasional forays into things beyond my geek comfort zone, I could usually figure out B because I knew A and C. This one I was lost from go. 

So, I&#039;ve downloaded &lt;a href=&quot;http://pmougin.wordpress.com/2008/03/26/become-an-xcoder-leopard-edition/&quot; rel=&quot;nofollow&quot;&gt;Become An Xcoder&lt;/a&gt; (a free pdf on programming Xcode), and we&#039;ll see if I can go back and listen to it again in a couple months and actually understand it.

And thanks for referencing that Sesame Street sketch, and for mis-quoting it so that Emily linked to it. Haven&#039;t seen that in ages.</description>
		<content:encoded><![CDATA[<p>Well, you did it. You finally out geeked me. </p>
<p>Not that that is a hard think to do. In fact, I expected to be in over my head a long time ago. While there have been occasional forays into things beyond my geek comfort zone, I could usually figure out B because I knew A and C. This one I was lost from go. </p>
<p>So, I&#8217;ve downloaded <a href="http://pmougin.wordpress.com/2008/03/26/become-an-xcoder-leopard-edition/" rel="nofollow">Become An Xcoder</a> (a free pdf on programming Xcode), and we&#8217;ll see if I can go back and listen to it again in a couple months and actually understand it.</p>
<p>And thanks for referencing that Sesame Street sketch, and for mis-quoting it so that Emily linked to it. Haven&#8217;t seen that in ages.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: dbr</title>
		<link>http://macbreaktech.com/old/53/hello-world-2/comment-page-1/#comment-529</link>
		<dc:creator>dbr</dc:creator>
		<pubDate>Tue, 25 Mar 2008 09:50:11 +0000</pubDate>
		<guid isPermaLink="false">http://macbreaktech.com/53/hello-world-2/#comment-529</guid>
		<description>Just listened to about 8 of the Macbreak Tech episodes at work today, it made roto&#039;ing go by a lot quicker..

Writing regex&#039;s is absurdly simple, really. Reading them is damn-near impossible, but they are extremely simple when broken down.

Every single regex is basically just a combination of:
[characters to match][how many]

[a-z] matches any one letter, between a and z
[a-z]* matches zero or more a-z
[a-z]+ matches one or more a-z
[a-z]? matches zero or one character within a-z

. is a shortcut for any character, so you can do:
.* to match any number of any characters

I wrote an article a few week ago on the subject, catchily named &quot;Regexs for people who should know regex, but do not&quot;. The first bit explains the syntax, the second bit shows how to actually use them in various languages.

Oh, the link:
http://neverfear.org/blog/view/Regex_tutorial_for_people_who_should_know_Regex__but_do_not___Part_1/

Mass-renaming files is something I completely forgot to include in the article.. I can&#039;t imagine using Renamer for Mac with anything but regexs (other than the sequentially-number files, which I pretty much always use in conjunction with regexs :P)

say I have a bunch of files named like...
the.linux.tv.show.s01e01, the.linux.tv.show.s01e02
.. and want then named like...
The Linux TV Show - [01x01]

I would use:
s(\d{2})e(\d{2})
and replace with
The Linux TV Show - [$1x$2]

The part of the regex in brackets become groups, which you can refer to via $1, $2 etc (or \1 \2 in Renamer for Mac)

\d is a shortcut for [0-9] (any decimal)

So it looks for s, then two decimal numbers (and stores them in group 1), then for &quot;e&quot;, and stores the next two numbers in group 2.

To space it out a bit:
s ( \d{2} )
e ( \d{2} )


Yeh, I could probably do that with a bunch of regular find-and-replaces, but with regex&#039;s, it&#039;s a single line operation, and once you know the basics, are very quick to write.

Anyway, enough regex-rambling. You&#039;ve convinced me to give Quartz Composer another try - I&#039;ve started to play with it a bunch of times, and never quite knew what I was supposed to make with it, got bored/mildly annoyed and quit. Never considered making a game in it..
- Ben</description>
		<content:encoded><![CDATA[<p>Just listened to about 8 of the Macbreak Tech episodes at work today, it made roto&#8217;ing go by a lot quicker..</p>
<p>Writing regex&#8217;s is absurdly simple, really. Reading them is damn-near impossible, but they are extremely simple when broken down.</p>
<p>Every single regex is basically just a combination of:<br />
[characters to match][how many]</p>
<p>[a-z] matches any one letter, between a and z<br />
[a-z]* matches zero or more a-z<br />
[a-z]+ matches one or more a-z<br />
[a-z]? matches zero or one character within a-z</p>
<p>. is a shortcut for any character, so you can do:<br />
.* to match any number of any characters</p>
<p>I wrote an article a few week ago on the subject, catchily named &#8220;Regexs for people who should know regex, but do not&#8221;. The first bit explains the syntax, the second bit shows how to actually use them in various languages.</p>
<p>Oh, the link:<br />
<a href="http://neverfear.org/blog/view/Regex_tutorial_for_people_who_should_know_Regex__but_do_not___Part_1/" rel="nofollow">http://neverfear.org/blog/view/Regex_tutorial_for_people_who_should_know_Regex__but_do_not___Part_1/</a></p>
<p>Mass-renaming files is something I completely forgot to include in the article.. I can&#8217;t imagine using Renamer for Mac with anything but regexs (other than the sequentially-number files, which I pretty much always use in conjunction with regexs <img src='http://macbreaktech.com/old/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' /> )</p>
<p>say I have a bunch of files named like&#8230;<br />
the.linux.tv.show.s01e01, the.linux.tv.show.s01e02<br />
.. and want then named like&#8230;<br />
The Linux TV Show &#8211; [01x01]</p>
<p>I would use:<br />
s(\d{2})e(\d{2})<br />
and replace with<br />
The Linux TV Show &#8211; [$1x$2]</p>
<p>The part of the regex in brackets become groups, which you can refer to via $1, $2 etc (or \1 \2 in Renamer for Mac)</p>
<p>\d is a shortcut for [0-9] (any decimal)</p>
<p>So it looks for s, then two decimal numbers (and stores them in group 1), then for &#8220;e&#8221;, and stores the next two numbers in group 2.</p>
<p>To space it out a bit:<br />
s ( \d{2} )<br />
e ( \d{2} )</p>
<p>Yeh, I could probably do that with a bunch of regular find-and-replaces, but with regex&#8217;s, it&#8217;s a single line operation, and once you know the basics, are very quick to write.</p>
<p>Anyway, enough regex-rambling. You&#8217;ve convinced me to give Quartz Composer another try &#8211; I&#8217;ve started to play with it a bunch of times, and never quite knew what I was supposed to make with it, got bored/mildly annoyed and quit. Never considered making a game in it..<br />
- Ben</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Emilygrae</title>
		<link>http://macbreaktech.com/old/53/hello-world-2/comment-page-1/#comment-461</link>
		<dc:creator>Emilygrae</dc:creator>
		<pubDate>Tue, 26 Feb 2008 02:22:12 +0000</pubDate>
		<guid isPermaLink="false">http://macbreaktech.com/53/hello-world-2/#comment-461</guid>
		<description>a loaf of bread, container of milk and a stick of butter... I thought it was hilarious that you used that but then couldn&#039;t remember!
http://www.youtube.com/watch?v=5jdP7HUPbVs</description>
		<content:encoded><![CDATA[<p>a loaf of bread, container of milk and a stick of butter&#8230; I thought it was hilarious that you used that but then couldn&#8217;t remember!<br />
<a href="http://www.youtube.com/watch?v=5jdP7HUPbVs" rel="nofollow">http://www.youtube.com/watch?v=5jdP7HUPbVs</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Shash</title>
		<link>http://macbreaktech.com/old/53/hello-world-2/comment-page-1/#comment-460</link>
		<dc:creator>Shash</dc:creator>
		<pubDate>Mon, 25 Feb 2008 19:47:52 +0000</pubDate>
		<guid isPermaLink="false">http://macbreaktech.com/53/hello-world-2/#comment-460</guid>
		<description>Bring forth Macbreak Dev!  A podcast teaching us from start to finish, on how to program simple cocoa!</description>
		<content:encoded><![CDATA[<p>Bring forth Macbreak Dev!  A podcast teaching us from start to finish, on how to program simple cocoa!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chuck Floading</title>
		<link>http://macbreaktech.com/old/53/hello-world-2/comment-page-1/#comment-454</link>
		<dc:creator>Chuck Floading</dc:creator>
		<pubDate>Sat, 23 Feb 2008 11:20:17 +0000</pubDate>
		<guid isPermaLink="false">http://macbreaktech.com/53/hello-world-2/#comment-454</guid>
		<description>Udon,

The link from Apple&#039;s site is borked.  Did you go to the sourceforge home page and search...?   You&#039;ll get a link to http://sourceforge.net/projects/pyobjc/  There are a few packages there.  They download fine for me, though I haven&#039;t tried using them.  The python stuff looks interesting...

MacBreakTech folks,

You guys are awesome.  Thanks for the laughs and the nudge to get back to learning how to program.  I got stalled/distracted partway through learning RealBasic, but it&#039;s time to get back on the horse again.

Talk to ya later, world.</description>
		<content:encoded><![CDATA[<p>Udon,</p>
<p>The link from Apple&#8217;s site is borked.  Did you go to the sourceforge home page and search&#8230;?   You&#8217;ll get a link to <a href="http://sourceforge.net/projects/pyobjc/" rel="nofollow">http://sourceforge.net/projects/pyobjc/</a>  There are a few packages there.  They download fine for me, though I haven&#8217;t tried using them.  The python stuff looks interesting&#8230;</p>
<p>MacBreakTech folks,</p>
<p>You guys are awesome.  Thanks for the laughs and the nudge to get back to learning how to program.  I got stalled/distracted partway through learning RealBasic, but it&#8217;s time to get back on the horse again.</p>
<p>Talk to ya later, world.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: wleed</title>
		<link>http://macbreaktech.com/old/53/hello-world-2/comment-page-1/#comment-449</link>
		<dc:creator>wleed</dc:creator>
		<pubDate>Fri, 22 Feb 2008 18:29:01 +0000</pubDate>
		<guid isPermaLink="false">http://macbreaktech.com/53/hello-world-2/#comment-449</guid>
		<description>books on programming:

   1-How to Think Like a (Python) Programmer                                                                                        ( http://www.greenteapress.com/thinkpython/ ).

   2.How to Think Like a Computer Scientist
     Java Version ( http://www.greenteapress.com/thinkapjava/ ).

   3-How to Think Like a Computer Scientist
     C++ Version ( http://www.greenteapress.com/thinkcpp/ ).

you can download the books freely  in pdf and other formats.</description>
		<content:encoded><![CDATA[<p>books on programming:</p>
<p>   1-How to Think Like a (Python) Programmer                                                                                        ( <a href="http://www.greenteapress.com/thinkpython/" rel="nofollow">http://www.greenteapress.com/thinkpython/</a> ).</p>
<p>   2.How to Think Like a Computer Scientist<br />
     Java Version ( <a href="http://www.greenteapress.com/thinkapjava/" rel="nofollow">http://www.greenteapress.com/thinkapjava/</a> ).</p>
<p>   3-How to Think Like a Computer Scientist<br />
     C++ Version ( <a href="http://www.greenteapress.com/thinkcpp/" rel="nofollow">http://www.greenteapress.com/thinkcpp/</a> ).</p>
<p>you can download the books freely  in pdf and other formats.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Udon</title>
		<link>http://macbreaktech.com/old/53/hello-world-2/comment-page-1/#comment-444</link>
		<dc:creator>Udon</dc:creator>
		<pubDate>Fri, 22 Feb 2008 04:07:07 +0000</pubDate>
		<guid isPermaLink="false">http://macbreaktech.com/53/hello-world-2/#comment-444</guid>
		<description>Hi Ben,

Yeah I guess you did not talk about Cocoa apps. Sorry about that. I thought that if I want to do some python stuff in Xcode I might as well have a Cocoa app as a goal.

Yes, I found that page before and my problem is that contrary to what the Apple developer page says - there are no installable packages available at the PyObjC download page. They offer only some svn. Also the page is from 2005. So, I am a bit confused and do not really know how to continue. Perhaps the only way to continue is to get Leopard and Xcode 3? PyObjC seems to be included in it.

My previous programming experience is limited to HTML, PHP, Flash and some Python. I have recently become very interested in making apps for OSX but am a total n00b in this area. So, any future episodes about making apps for OSX are very welcome.

MacPro 4 cores, Tiger, Xcode 2.5</description>
		<content:encoded><![CDATA[<p>Hi Ben,</p>
<p>Yeah I guess you did not talk about Cocoa apps. Sorry about that. I thought that if I want to do some python stuff in Xcode I might as well have a Cocoa app as a goal.</p>
<p>Yes, I found that page before and my problem is that contrary to what the Apple developer page says &#8211; there are no installable packages available at the PyObjC download page. They offer only some svn. Also the page is from 2005. So, I am a bit confused and do not really know how to continue. Perhaps the only way to continue is to get Leopard and Xcode 3? PyObjC seems to be included in it.</p>
<p>My previous programming experience is limited to HTML, PHP, Flash and some Python. I have recently become very interested in making apps for OSX but am a total n00b in this area. So, any future episodes about making apps for OSX are very welcome.</p>
<p>MacPro 4 cores, Tiger, Xcode 2.5</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ben Durbin</title>
		<link>http://macbreaktech.com/old/53/hello-world-2/comment-page-1/#comment-443</link>
		<dc:creator>Ben Durbin</dc:creator>
		<pubDate>Fri, 22 Feb 2008 01:01:27 +0000</pubDate>
		<guid isPermaLink="false">http://macbreaktech.com/53/hello-world-2/#comment-443</guid>
		<description>Udon,

I don&#039;t remember us talking about coding Cocoa apps using Python (as opposed to just writing in Python generally), but I assume you&#039;ve seen this article?

http://developer.apple.com/cocoa/pyobjc.html</description>
		<content:encoded><![CDATA[<p>Udon,</p>
<p>I don&#8217;t remember us talking about coding Cocoa apps using Python (as opposed to just writing in Python generally), but I assume you&#8217;ve seen this article?</p>
<p><a href="http://developer.apple.com/cocoa/pyobjc.html" rel="nofollow">http://developer.apple.com/cocoa/pyobjc.html</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ben Durbin</title>
		<link>http://macbreaktech.com/old/53/hello-world-2/comment-page-1/#comment-442</link>
		<dc:creator>Ben Durbin</dc:creator>
		<pubDate>Fri, 22 Feb 2008 00:44:29 +0000</pubDate>
		<guid isPermaLink="false">http://macbreaktech.com/53/hello-world-2/#comment-442</guid>
		<description>Hey lvthunder,

To follow up on John&#039;s &quot;check the source&quot; comment, I&#039;d suggest that you start playing with one of the AJAX libraries like jQuery, which make UI effects and manipulation of page elements straightforward(er).

http://jquery.com/

While doing that, keep something like this handy in case you&#039;re unfamiliar with some of the language basics.

http://www.w3schools.com/js/js_examples.asp

Since what many of us are _doing_ with Javascript is writing browser-based applications or adding rich UI to a site, my suggestion would be to focus on understanding how the DOM works, and then getting some facility with one of the libraries (like jQuery). If you do want a guided tour, you might find more use from a book that focuses on your library of choice, rather than just a book on JavaScript.</description>
		<content:encoded><![CDATA[<p>Hey lvthunder,</p>
<p>To follow up on John&#8217;s &#8220;check the source&#8221; comment, I&#8217;d suggest that you start playing with one of the AJAX libraries like jQuery, which make UI effects and manipulation of page elements straightforward(er).</p>
<p><a href="http://jquery.com/" rel="nofollow">http://jquery.com/</a></p>
<p>While doing that, keep something like this handy in case you&#8217;re unfamiliar with some of the language basics.</p>
<p><a href="http://www.w3schools.com/js/js_examples.asp" rel="nofollow">http://www.w3schools.com/js/js_examples.asp</a></p>
<p>Since what many of us are _doing_ with Javascript is writing browser-based applications or adding rich UI to a site, my suggestion would be to focus on understanding how the DOM works, and then getting some facility with one of the libraries (like jQuery). If you do want a guided tour, you might find more use from a book that focuses on your library of choice, rather than just a book on JavaScript.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: macbreaktech</title>
		<link>http://macbreaktech.com/old/53/hello-world-2/comment-page-1/#comment-441</link>
		<dc:creator>macbreaktech</dc:creator>
		<pubDate>Thu, 21 Feb 2008 19:54:59 +0000</pubDate>
		<guid isPermaLink="false">http://macbreaktech.com/53/hello-world-2/#comment-441</guid>
		<description>next time. we didn&#039;t want to scare the kids with EVERY concept!</description>
		<content:encoded><![CDATA[<p>next time. we didn&#8217;t want to scare the kids with EVERY concept!</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Dynamic Page Served (once) in 1.877 seconds -->

