<?xml version="1.0" encoding="iso-8859-1"?><rss version="0.91"> 
<channel> 
<title>slayeroffice</title> 
<link>http://slayeroffice.com</link> 
<description>Web experiments gone horribly awry.</description> 
<language>en-us</language> 
<webMaster>steve@slayeroffice.com</webMaster> 
<item><title>Does it .match?</title><description>&lt;p&gt;I've been doing some work in &lt;abbr title="Action Script 3"&gt;AS3&lt;/abbr&gt; of late and stumbled onto a bit of a gotcha last week that I thought I'd share since it caused me about 15 minutes of frustration.&lt;/p&gt;&lt;p&gt;The gotcha pertains to a significant difference in how Javascript and AS3 handle the match method of the String object when the global flag is passed. Consider the following Javascript snippet:&lt;/p&gt;&lt;p&gt;&lt;code&gt;var r = /[a-z]/g&lt;br /&gt;var s = "abc";&lt;br /&gt;var x = s.match(r);&lt;/code&gt;&lt;/p&gt;&lt;p&gt;This will return an Array with values "a,b,c" in both Javascript and in its AS3 equivalent.&lt;/p&gt;&lt;p&gt;Now, consider this code, replacing the value of &lt;code&gt;s&lt;/code&gt; with something that &lt;em&gt;will not&lt;/em&gt; match:&lt;/p&gt;&lt;code&gt;var r = /[a-z]/g&lt;br /&gt;var s = "123";&lt;br /&gt;var x = s.match(r);&lt;/code&gt;&lt;/p&gt;&lt;p&gt;In Javascript, this will return &lt;code&gt;null&lt;/code&gt;, but AS3 will return a &lt;strong&gt;zero length Array&lt;/strong&gt;. Which means that this...&lt;/p&gt;&lt;p&gt;&lt;code&gt;if(s.match(r)) {&lt;br /&gt; // do stuff...&lt;br /&gt;}&lt;/code&gt;&lt;/p&gt;&lt;p&gt;..would always be true in AS3, but false in Javascript. I spent about 10 minutes thinking there was something wrong with my regular expression, and another five thinking there was something wrong with AS3's regexp engine before I realized what was happening.&lt;/p&gt;&lt;p&gt;So who has it right? According to the &lt;a href="http://www.ecma-international.org/publications/files/ECMA-ST/Ecma-262.pdf"&gt;ECMA 262&lt;/a&gt; spec, AS3 does (see page 101-102). Of course, &lt;a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Objects:String:match"&gt;Mozilla's documentation&lt;/a&gt; claims that it will return an Array as well with no mention of &lt;code&gt;null&lt;/code&gt; on that page, while &lt;a href="http://msdn.microsoft.com/en-us/library/7df7sf4x(VS.85).aspx"&gt;Microsoft's JScript&lt;/a&gt; documentation admits it will return &lt;code&gt;null&lt;/code&gt; if no match is found.  &lt;/p&gt;&lt;p&gt;Good times.&lt;/p&gt;</description><link>http://slayeroffice.com/archives/?p=265</link></item><item><title>Emre Grayson Chipman</title><description>&lt;p&gt;My son, born this evening weighing in at 9.33 pounds, measuring 20 inches.&lt;/p&gt;&lt;p style="text-align:center;"&gt;&lt;a href="http://flickr.com/photos/sgchipman/2329674381/"&gt;&lt;img src="http://farm3.static.flickr.com/2143/2329674381_0141e77680_m.jpg"&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;(And that's why I wasn't in Austin this year!)&lt;/p&gt;</description><link>http://slayeroffice.com/archives/?p=264</link></item><item><title>SXSW Time!</title><description>&lt;p&gt;And I'm not gonna be there this year. I know, I know - I should have told you sooner. You're probably already in Austin or in flight, now wishing you had advance notice of this turn of events so you could have just stayed home. I'm sorry, I really am. This really was terribly inconsiderate of me.&lt;/p&gt;&lt;p&gt;Soldier on, brave geeks, and know that with enough Shiner Bock, anything can be fun even if I'm not there. Be strong. And take lots of pictures. And twitter a lot. Let me experience Austin through your internets.&lt;/p&gt;&lt;p&gt;(Any day now I'll have an announcement of &lt;em&gt;why&lt;/em&gt; I'm not there this year...)&lt;/p&gt;
</description><link>http://slayeroffice.com/archives/?p=263</link></item><item><title>Three Drawings and a PSA</title><description>&lt;p&gt;These three drawings I did leading up to Christmas - I've kept them private on Flickr and not published them here as they were gifts for family and I didn't want to spoil the suprise.&lt;/p&gt;&lt;p style="text-align:center;"&gt;&lt;a href="http://flickr.com/photos/sgchipman/2051170930/in/set-72157600007681820/"&gt;&lt;img src="http://farm3.static.flickr.com/2372/2051170930_e48e7a0e34.jpg" alt="Colored Pencil Drawing entitled Clara at 17 Months" title="Clara at 17 Months" /&gt;&lt;/a&gt;&lt;/p&gt;&lt;ul&gt;&lt;li&gt;&lt;cite&gt;Clara at 17 Months&lt;/cite&gt;&lt;/li&gt;&lt;li&gt;8 x 10"&lt;/li&gt;&lt;li&gt;Colored Pencil on Eggshell Mi-Tients Paper&lt;/li&gt;&lt;li&gt;November 20, 2007&lt;/li&gt;&lt;/ul&gt;&lt;p style="text-align:center;"&gt;&lt;a href="http://flickr.com/photos/sgchipman/2104013894/in/set-72157600007681820/"&gt;&lt;img src="http://farm3.static.flickr.com/2155/2104013894_a0e65f1040.jpg" alt="Colored Pencil drawing entitled Big Smile" title="Big Smile" /&gt;&lt;/a&gt;&lt;/p&gt;&lt;ul&gt;&lt;li&gt;&lt;cite&gt;Big Smile&lt;/cite&gt;&lt;/li&gt;&lt;li&gt;8 x 10"&lt;/li&gt;&lt;li&gt;Colored Pencil on Cream Mi-Tientes Paper&lt;/li&gt;&lt;li&gt;December 11, 2007&lt;/li&gt;&lt;/ul&gt;&lt;p style="text-align:center;"&gt;&lt;a href="http://flickr.com/photos/sgchipman/2127441005/in/set-72157600007681820/"&gt;&lt;img src="http://tn3-1.deviantart.com/fs24/300W/i/2007/355/1/2/Clara_at_18_Months_by_sgchipman.jpg" alt="Colored Pencil drawing entitled Clara at 18 Months" title="Clara at 18 Months" /&gt;&lt;/a&gt;&lt;/p&gt;&lt;ul&gt;&lt;li&gt;&lt;cite&gt;Clara at 18 Months&lt;/cite&gt;&lt;/li&gt;&lt;li&gt;10 x 8"&lt;/li&gt;&lt;li&gt;Colored Pencil on Eggshell Mi-Tientes Paper&lt;/li&gt;&lt;li&gt;December 21, 2007&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;And with those, I'll no longer be posting drawings on slayeroffice. 2008 seems a good a time as any to get the site back on the web development talk track. If you're interested in following my portraiture work, you can find it on &lt;a href="http://sgchipman.com/blog"&gt;my new drawing blog&lt;/a&gt;. Or, just &lt;a href="http://sgchipman.com/blog/?feed=rss2"&gt;grab the feed&lt;/a&gt;.&lt;/p&gt;</description><link>http://slayeroffice.com/archives/?p=262</link></item><item><title>Page 222</title><description>&lt;p&gt;My good pal &lt;a href="http://lawver.net"&gt;Mr. Lawver&lt;/a&gt; has included a reference to my &lt;a href="http://slayeroffice.com/?c=/content/tools/pagenfo.html"&gt;Page Info Favelet&lt;/a&gt; on &lt;a href="http://www.flickr.com/photos/kplawver/2110120270/in/set-72157603455192953/"&gt;page 222&lt;/a&gt; of his &lt;a href="http://www.amazon.com/gp/product/0321501829?ie=UTF8&amp;tag=ultranormal-20&amp;linkCode=as2&amp;camp=1789&amp;creative=9325&amp;creativeASIN=0321501829"&gt;new book&lt;/a&gt;.&lt;/p&gt;&lt;p&gt;Congratulations to &lt;a href="http://lawver.net"&gt;Kevin&lt;/a&gt;, &lt;a href="http://kimberlyblessing.com"&gt;Kimberly&lt;/a&gt;, &lt;a href="http://christopherschmitt.com/"&gt;Christopher&lt;/a&gt;, &lt;a href="http://cherny.com/"&gt;Rob&lt;/a&gt;, &lt;a href="http://meryl.net/"&gt;Meryl&lt;/a&gt; and &lt;a href="http://chasingfunction.com/"&gt;Mark&lt;/a&gt; on the book. I'm not sure when it comes out, but with that caliber of authorship (and obvious good taste) its a must-own.&lt;/p&gt;</description><link>http://slayeroffice.com/archives/?p=261</link></item><item><title>Maya</title><description>&lt;p style="text-align:center;"&gt;&lt;a href="http://sgchipman.com/drawing/maya"&gt;&lt;img alt="Graphite portrait of a friend's new baby entitled Maya" title="Maya" width="240" height="186" src="http://farm3.static.flickr.com/2067/2019564904_6a968e1969_m.jpg" /&gt;&lt;/a&gt;&lt;/p&gt;&lt;ul&gt;&lt;li&gt;&lt;em&gt;Maya&lt;/em&gt;&lt;/li&gt;&lt;li&gt;Graphite on Cold Press Illustration Board&lt;/li&gt;&lt;li&gt;11 x 8.5"&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;A portrait of a friend's new baby.&lt;/p&gt;</description><link>http://slayeroffice.com/archives/?p=260</link></item><item><title>Self Portrait III</title><description>&lt;p style="text-align:center;"&gt;&lt;a href="http://sgchipman.com/drawing/steve3"&gt;&lt;img src="http://farm3.static.flickr.com/2405/1936064637_646185ff86.jpg" alt="Graphite drawing entitled Self Portrait III" title="Self Portrait III" /&gt;&lt;/a&gt;&lt;/p&gt;&lt;ul&gt;&lt;li&gt;Graphite on Cold Press Illustration Board&lt;/li&gt;&lt;li&gt;8.5 x 11"&lt;/li&gt;&lt;li&gt;&lt;a href="http://flickr.com/photos/ksmith/113667310/"&gt;Source Photo&lt;/a&gt; &amp;copy; &lt;a href="http://centricle.com"&gt;Kevin C. Smith&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://fc04.deviantart.com/fs22/i/2007/313/0/9/Self_Portrait_III_In_Progress_by_sgchipman.jpg"&gt;In-progress scans&lt;/a&gt;&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;My first go at graphite in about 12 years. It didn't take nearly as long as a colored pencil drawing, and it was awfully nice to be able to use an eraser. I may stick with it for a little while.&lt;/p&gt;</description><link>http://slayeroffice.com/archives/?p=259</link></item><item><title>The Angry Cow</title><description>&lt;p style="text-align:center;"&gt;&lt;img alt="Colored pencil portrait entitled Clara the Angry Cow" title="Clara the Angry Cow" src="http://tn3-2.deviantart.com/fs22/300W/i/2007/311/5/6/Clara_the_Angry_Cow_by_sgchipman.jpg" /&gt;&lt;/p&gt;&lt;ul&gt;&lt;li&gt;&lt;em&gt;Clara the Angry Cow&lt;/em&gt;&lt;/li&gt;&lt;li&gt;Colored Pencil on Cold Press Illustration Board&lt;/li&gt;&lt;li&gt;11 x 8.5&amp;quot;&lt;/li&gt;&lt;li&gt;&lt;a href="http://flickr.com/photos/sgchipman/1809864132/"&gt;Source photo&lt;/a&gt; &amp;copy; &lt;a href="http://sgchipman.com"&gt;S.G. Chipman&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://fc01.deviantart.com/fs23/i/2007/311/0/4/Angry_Cow_in_Progress_by_sgchipman.jpg"&gt;In Progress Scans&lt;/a&gt;&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;Clara in her Halloween costume impersonating her Daddy's scowl.&lt;/p&gt;&lt;p&gt;As well, &lt;strong&gt;Happy 5th Birthday, slayeroffice!&lt;/strong&gt;&lt;/p&gt;</description><link>http://slayeroffice.com/archives/?p=258</link></item><item><title>Brian</title><description>&lt;p style="text-align:center;"&gt;&lt;img src="http://tn3-2.deviantart.com/fs21/300W/i/2007/302/2/a/Brian_by_sgchipman.jpg" alt="Colored pencil portrait entitled Brian" title="Brian" /&gt;&lt;/p&gt;&lt;ul&gt;&lt;li&gt;Colored Pencil on Cream Mi-Teintes Board&lt;/li&gt;&lt;li&gt;11 x 8.5 &amp;quot;&lt;/li&gt;&lt;li&gt;October 29, 2007&lt;/li&gt;&lt;li&gt;&lt;a href="http://flickr.com/photos/kplawver/367020732/"&gt;Source Photo&lt;/a&gt; &amp;copy; &lt;a href="http://lawver.net"&gt;Kevin Lawver&lt;/a&gt;&lt;/li&gt;&lt;/ul&gt;</description><link>http://slayeroffice.com/archives/?p=257</link></item><item><title>Max &amp; Clara</title><description>&lt;p style="text-align:center;"&gt;&lt;a href="http://sgchipman.com/drawing/max"&gt;&lt;img src="http://tn3-1.deviantart.com/fs20/300W/i/2007/297/0/b/Max_by_sgchipman.jpg" alt="Colored pencil drawing entitled Max" title="Max" /&gt;&lt;/a&gt;&lt;/p&gt;&lt;ul&gt;&lt;li&gt;Colored Pencil on Cream Mi-Teintes Board&lt;/li&gt;&lt;li&gt;11 x 8.5"&lt;/li&gt;&lt;li&gt;October 24th, 2007&lt;/li&gt;&lt;li&gt;&lt;a href="http://www.flickr.com/photos/kplawver/446752653/in/set-72157600048448621/"&gt;Source Photo&lt;/a&gt; &amp;copy; &lt;a href="http://lawver.net"&gt;Kevin Lawver&lt;/a&gt;&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;A finished this one a week or so ago but forgot to post:&lt;/p&gt;&lt;p style="text-align:center;"&gt;&lt;a href="http://sgchipman.com/drawing/clara7"&gt;&lt;img src="http://farm3.static.flickr.com/2177/1573859796_b7f8d1e9cb.jpg" alt="Colored Pencil portrait entitled Clara at 15 Months II" title="Clara at 15 Months II" /&gt;&lt;/a&gt;&lt;/p&gt;&lt;ul&gt;&lt;li&gt;Colored Pencil on Cream Mi-Teintes Paper&lt;/li&gt;&lt;li&gt;8.5 x 11"&lt;/li&gt;&lt;li&gt;October 14th, 2007&lt;/li&gt;&lt;li&gt;&lt;a href="http://farm2.static.flickr.com/1051/1033647952_9b6c76010c.jpg"&gt;Source Photo&lt;/a&gt; &amp;copy; &lt;a href="http://sgchipman.com"&gt;S.G. Chipman&lt;/a&gt;&lt;/li&gt;&lt;/ul&gt;</description><link>http://slayeroffice.com/archives/?p=256</link></item></channel>
</rss>