<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss 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/" xmlns:creativeCommons="http://backend.userland.com/creativeCommonsRssModule" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0">

<channel>
	<title>NineOnions and PurpleCarrots</title>
	
	<link>http://blog.xpdm.us</link>
	<description>The search for nonsense.</description>
	<lastBuildDate>Tue, 27 Jul 2010 21:26:20 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.5</generator>
		<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/xpdm" /><feedburner:info uri="xpdm" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><creativeCommons:license>http://creativecommons.org/licenses/by-nc-sa/3.0/</creativeCommons:license><item>
		<title>Powering a Canon EOS from an External Power Source</title>
		<link>http://feedproxy.google.com/~r/xpdm/~3/aOnPCTNN2aY/</link>
		<comments>http://blog.xpdm.us/2010/07/26/powering-a-canon-eos-from-an-external-power-source/#comments</comments>
		<pubDate>Mon, 26 Jul 2010 14:15:59 +0000</pubDate>
		<dc:creator>Marcus Griep</dc:creator>
				<category><![CDATA[Photography]]></category>

		<guid isPermaLink="false">http://blog.xpdm.us/?p=367</guid>
		<description><![CDATA[&#169; 2010 Marcus Griep Star Trails over Big Pond in Lewis, NY; 1-hour exposure, July 2010 For most situations, the stock 1080mAh, 7.4V batteries that come with the Canon T1i1 will work pretty well. In some other instances, including time-lapse and star-trail, that amount of power doesn&#8217;t cut it. For these types of photography, either [...]]]></description>
			<content:encoded><![CDATA[<div class="wp-caption wp-caption-lead"><a href="http://photo.xpdm.us/photos/947373459_bVCUX-XL.jpg" rel="lightbox[article]" title="Star Trails over Big Pond in Lewis, NY; 1-hour exposure"><img src="http://photo.xpdm.us/photos/947373459_bVCUX-M.jpg" alt="Star Trails over Big Pond in Lewis, NY; 1-hour exposure" class="swpID_947373459" /></a>
<p class="photo-credit">&copy; 2010 Marcus Griep</p>
<p class="wp-caption-text">Star Trails over Big Pond in Lewis, NY; 1-hour exposure, July 2010</p>
</div>
<p>For most situations, the stock 1080mAh, 7.4V batteries that come with the Canon T1i<sup><a href="http://blog.xpdm.us/2010/07/26/powering-a-canon-eos-from-an-external-power-source/#footnote_0_367" id="identifier_0_367" class="footnote-link footnote-identifier-link" title="1800mAh for the 5DmII, 2300mAh 11.1V for the 1DmIV">1</a></sup> will work pretty well. In some other instances, including time-lapse and star-trail, that amount of power doesn&#8217;t cut it. For these types of photography, either the camera needs to be on but inactive for a long period of time, or needs to have the sensor enabled for a long exposure. When I last used my T1i for a long exposure, the 1800mAh extended battery pack I used lost power after about 3 hours, giving an approximate power need of 600mA while the sensor was exposed.<sup><a href="http://blog.xpdm.us/2010/07/26/powering-a-canon-eos-from-an-external-power-source/#footnote_1_367" id="identifier_1_367" class="footnote-link footnote-identifier-link" title="This is just an estimate. For a D60, Daniel McCauley measured 400mA required while the shutter was open. See his 8V power supply guide, on which this one is based. Variations will also occur with the ambient temperature as well, so your mileage may vary.">2</a></sup></p>
<p>To get around this battery life problem, Canon provides an <a href="http://www.amazon.com/gp/product/B0015WJTTK?ie=UTF8&#038;tag=nineandpurp-20&#038;linkCode=as2&#038;camp=1789&#038;creative=390957&#038;creativeASIN=B0015WJTTK">AC/DC power supply</a><img src="http://www.assoc-amazon.com/e/ir?t=nineandpurp-20&#038;l=as2&#038;o=1&#038;a=B0015WJTTK" width="1" height="1" border="0" alt="" style="border:none !important; margin:0px !important;" /> and <a href="http://www.amazon.com/gp/product/B0015WPOCG?ie=UTF8&#038;tag=nineandpurp-20&#038;linkCode=as2&#038;camp=1789&#038;creative=390957&#038;creativeASIN=B0015WPOCG">coupler</a><img src="http://www.assoc-amazon.com/e/ir?t=nineandpurp-20&#038;l=as2&#038;o=1&#038;a=B0015WPOCG" width="1" height="1" border="0" alt="" style="border:none !important; margin:0px !important;" /> that you can use to power the camera. Unfortunately an AC power supply requires a connection to the power grid, a generator, or a power inverter. In the middle of the Adirondacks where I am most likely to do long-exposure photography, an AC connection is just not feasible and a power inverter is inefficient. There are also professional battery packs that can be purchased specifically for astrophotographers, but the couple I found were prohibitively expensive. The third option was to use a battery grip provided by canon, but at $180 for just the grip, I was convinced there was a cheaper option.</p>
<div class="wp-caption alignright wp-caption-thumb"><a href="http://photo.xpdm.us/photos/947471581_j9f7x-L.jpg" rel="lightbox[article]" title="Canon EOS T1i running on an Energizer XPAL battery pack via a 8V DC/DC power supply"><img src="http://photo.xpdm.us/photos/947471581_j9f7x-Th.jpg" alt="Canon EOS T1i running on an Energizer XPAL battery pack with 8V DC/DC power supply" class="swpID_947471581" /></a>
<p class="wp-caption-text">Canon T1i running on XPAL battery pack</p>
</div>
<p>This led me to the realization that I already had on hand an <a href="http://www.amazon.com/gp/product/B002K8M9HC?ie=UTF8&#038;tag=nineandpurp-20&#038;linkCode=as2&#038;camp=1789&#038;creative=390957&#038;creativeASIN=B002K8M9HC">Energizer XPAL XP18000 battery pack</a><img src="http://www.assoc-amazon.com/e/ir?t=nineandpurp-20&#038;l=as2&#038;o=1&#038;a=B002K8M9HC" width="1" height="1" border="0" alt="" style="border:none !important; margin:0px !important;" />. I use it when I travel on long trips as an extra battery for my laptop and charger for my cell phone. This pack is light and portable at only about 17 ounces and less than 8 inches long and 1 inch thich and comes with a bunch of connectors for laptops, cellphones, and other gadgets. That 18000 in the name indicates that the battery stores 18,000mAh of power and sports 3 different outputs in varied voltages (5V, 10.5V, and 19V). Since I already had a nicely powerful battery pack, I determined I&#8217;d use it to power my camera.</p>
<div class="wp-caption alignleft wp-caption-thumb"><a href="http://photo.xpdm.us/photos/947327060_E5oEC-L.jpg" rel="lightbox[article]" title="Bottom of the Canon EOS T1i"><img src="http://photo.xpdm.us/photos/947327060_E5oEC-Th.jpg" alt="Bottom of a Canon EOS T1i showing rated voltage of 8.1V" class="swpID_947327060" /></a>
<p class="wp-caption-text">T1i rated at 8.1V</p>
</div>
<p>Unfortunately, I needed to regulate the voltage. My Canon T1i is rated to take an input of 8.1V DC. The camera will accept 10.5V DC, but doing so is dangerous, may break sensitive components in the camera, cause fires, physical harm, or worse: void your warranty. I don&#8217;t recommend you do it, and if you do over-volt your camera, you do so at your own risk. After searching around, however, I found that some earlier enthusiasts had succeeded in making a DC/DC power supply for their own cameras. Resolving to do the same, I pulled together everything I needed to build the power source.</p>
<div class="wp-caption alignright wp-caption-thumb"><a href="http://photo.xpdm.us/photos/947282301_AuU9e-XL.jpg" rel="lightbox[article]" title="DC/DC Power Supply Electrical Diagram"><img src="http://photo.xpdm.us/photos/947282301_AuU9e-Th.jpg" alt="DC/DC Power Supply Electrical Diagram" class="swpID_947282301" /></a>
<p class="wp-caption-text">DC/DC Electrical Diagram</p>
</div>
<p>Combining resources I found from <a href="http://www.danielmccauley.com/datasheets/datasheet_8vsupply01.pdf" title="Daniel McCauley &mdash; Canon Digital SLR 8V Power Supply (pdf)">Daniel McCauley</a> and <a href="http://focus.ti.com/lit/ds/symlink/ptn78020w.pdf" title="Texas Instruments &mdash; 6-A, Wide-Input Adjustable Switching Regulator (pdf)">Texas Instruments</a>, I determined the circuit I would need to build out the module. At the center of it all, and hardest to get a hold of, was the <a href="http://focus.ti.com/docs/prod/folders/print/ptn78020w.html" title="Texas Instruments &mdash; 6-A, Wide-Input Adjustable Voltage Switching Regulator Information Page">PTN78020W</a> module which actually does the conversion. This module accepts up to 36V as an input and can output anywhere from 2.5V to 12.5V. Of the other electrical components mentioned in the parts list, most are recommended to ensure the power in and out of the regulator is free of noise. Consult TI&#8217;s official documentation to ensure that, if you use fewer components, you include the mandatory capacitors in the correct locations.<sup><a href="http://blog.xpdm.us/2010/07/26/powering-a-canon-eos-from-an-external-power-source/#footnote_2_367" id="identifier_2_367" class="footnote-link footnote-identifier-link" title="The power supply doesn&amp;#8217;t work optimally if there is electrical noise on the input side. Also, because the PTN78020 is a switching voltage regulator, it introduces electrical noise at the frequency of its internal switching.">3</a></sup></p>
<div class="wp-caption alignleft wp-caption-thumb"><a href="http://photo.xpdm.us/photos/947365086_Bm7c3-L.jpg" rel="lightbox[article]" title="The PTN78020WAH doesn't fit flush into a standard breadboard"><img src="http://photo.xpdm.us/photos/947365086_Bm7c3-Th.jpg" alt="A PTN78020WAH set into a breadboard" class="swpID_947365086" /></a>
<p class="wp-caption-text">The installed PTN78020WAH module</p>
</div>
<p>Because I don&#8217;t have the skills to produce a custom board myself, and since fabricating a single circuit board is not cost effective, I used a standard solderless breadboard which fit in my enclosure.<sup><a href="http://blog.xpdm.us/2010/07/26/powering-a-canon-eos-from-an-external-power-source/#footnote_3_367" id="identifier_3_367" class="footnote-link footnote-identifier-link" title="It is important to note that the PTN72080WAH module does not sit well into the standard breadboard. I had to &amp;#8220;adjust&amp;#8221; a few of the leads so that it could fit into the breadboard&amp;#8217;s grid at all. This is why I would much prefer manufacturing the printed circuit board I mention later in this article.">4</a></sup> For the input, I used a 2.1mm(ID)/5.5mm(OD) jack which mates perfectly with the base 19V cable included with the XPAL battery pack.<sup><a href="http://blog.xpdm.us/2010/07/26/powering-a-canon-eos-from-an-external-power-source/#footnote_4_367" id="identifier_4_367" class="footnote-link footnote-identifier-link" title="I chose the 19V output because the PTN78020 module requires a voltage difference of at least +2.5V from the target output voltage. Using the 10.5V output puts me right at that limit, and I&amp;#8217;d rather have a large buffer to avoid undervolting the module.">5</a></sup> For the output, I picked my own jack/plug combination since I needed to make a cord to go from the power supply to the camera&#8217;s DC coupler.<sup><a href="http://blog.xpdm.us/2010/07/26/powering-a-canon-eos-from-an-external-power-source/#footnote_5_367" id="identifier_5_367" class="footnote-link footnote-identifier-link" title="The DR-E5 coupler requires a 1.1mm(ID)/3.0mm(OD) right angle plug. The right angle is tight, and it took me a good deal of searching to find a plug with a short enough lead to fit in the confined space. The jack/plug I used on the other end of the cable was a 1.3mm(ID)/3.5mm(OD) which happens to fit into the 9-12V plug on the XPAL battery pack.">6</a></sup></p>
<div class="wp-caption alignright wp-caption-thumb"><a href="http://photo.xpdm.us/photos/947350838_rpEqm-L.jpg" rel="lightbox[article]" title="Finished DC/DC power supply in open enclosure"><img src="http://photo.xpdm.us/photos/947350838_rpEqm-Th.jpg" alt="Finished DC/DC power supply in open enclosure" class="swpID_947350838" /></a>
<p class="wp-caption-text">Finished power supply</p>
</div>
<p>After assembling all the components as described in the electrical diagram, installing the plugs into the enclosure and soldering things together, the project looked as pictured. Of special note is that the PTN78020W does not fit easily into the breadboard. I had to bend several of the leads to get it to sit properly. I don&#8217;t recommend this, as you are likely to end up with a $30 (retail) broken module and nothing to show for it.</p>
<div class="wp-caption alignleft wp-caption-thumb"><a href="http://photo.xpdm.us/photos/947356165_dcKXA-L.jpg" rel="lightbox[article]" title="Verifying the circuit produces about 8.1V out"><img src="http://photo.xpdm.us/photos/947356165_dcKXA-Th.jpg" alt="Multimeter hooked up to the DC/DC power supply, reading 8.08V" class="swpID_947356165" /></a>
<p class="wp-caption-text">Verifying 19V to 8.1V conversion</p>
</div>
<p>Once it was all put together, I used a multimeter to verify that I was getting the desired voltage out. I was able to verify that I was hitting my target 8.1V very closely, and once I hooked it up to the camera, I was showing a &#8220;full&#8221; battery. I used it this past weekend when I attempted a 4-hour long exposure (unfortunately I had the exposure misread, and didn&#8217;t get the result I wanted). After the 4-hours taking photos with the LCD viewscreen enabled, I hadn&#8217;t even exhausted a quarter of the XPAL battery&#8217;s power.</p>
<div class="wp-caption alignright wp-caption-thumb"><a href="http://photo.xpdm.us/photos/945119348_e2LpD-L.jpg" rel="lightbox[article]" title="DC/DC Power Supply Circuit Board Design"><img src="http://photo.xpdm.us/photos/945119348_e2LpD-Th.jpg" alt="DC/DC Power Supply Circuit Board Design" class="swpID_945119348" /></a>
<p class="wp-caption-text">DC/DC Power Supply Circuit Board Design</p>
</div>
<p>As an after-exercise, I downloaded a circuit board CAD program from <a href="http://www.pad2pad.com" title="Pad2Pad">Pad2Pad</a>—they fabricate custom circuit boards and prototypes—and designed my own circuit board. Unfortunately, as I said before, it&#8217;s not cost effective for me to purchase a single board, but if I get some interest in this, I&#8217;d certainly purchase several and manufacture the power supplies myself and ship one to you. The price I&#8217;m looking at, which includes the power supply and 6-foot cord connecting to the DR-E5 is $70. This price is about the same as the mass-produced AC power supply provided by Canon, so the $70 price is a value for the hand-manufacturing. You can buy the DR-E5 coupler for around $30 on Amazon (see link below). If you already have an AC adapter, then you are likely to already own this coupler. If you&#8217;re interested in an 8V DC/DC power supply (or 12V for your Canon 1D, or other custom voltage), send me an email: <a href="mailto:photo%2Bpower@xpdm.us?subject=Inquiry%3A%20Camera%20Power%20Supply">photo+power@xpdm.us</a>.</p>
<p><strong>Disclaimer</strong>: <em>I&#8217;m not an electrical engineer. I have not vetted this design with an electrical engineer.</em> I am an amateur who loves photography and found a tool to continue to improve my art. Completion of this project is done <em>at your own risk</em> to yourself and camera. If you take issue with the circuit or anything else, feel free to leave a comment.</p>
<h3>Parts List</h3>
<p>Part IDs in parenthesis lead to Digi-Key parts.</p>
<ul>
<li>Resistors</li>
<ul>
<li>R<sub>1</sub>: 3.9k&Omega; 5% 1/4W (<a href="http://search.digikey.com/scripts/DkSearch/dksus.dll?Detail&#038;name=3.9KQBK-ND" title="Digi-Key &mdash; 3.9KQBK-ND">3.9KQBK-ND</a>)</li>
<li>R<sub>2</sub>: 2.7k&Omega; 5% 1/4W (<a href="http://search.digikey.com/scripts/DkSearch/dksus.dll?Detail&#038;name=2.7KQBK-ND" title="Digi-Key &mdash; 2.7KQBK-ND">2.7KQBK-ND</a>)</li>
<li>R<sub>set</sub>: 5.9k&Omega; 1% 1/4W (<a href="http://search.digikey.com/scripts/DkSearch/dksus.dll?Detail&#038;name=5.9KXBK-ND" title="Digi-Key &mdash; 5.9KXBK-ND">5.9KXBK-ND</a>)</li>
</ul>
<li>Inductors</li>
<ul>
<li>I<sub>1&ndash;3</sub>: 3.9&micro;H (<a href="http://search.digikey.com/scripts/DkSearch/dksus.dll?Detail&#038;name=M8316-ND" title="Digi-Key &mdash; M8316-ND">M8316-ND</a>)</li>
</ul>
<li>Capacitors</li>
<ul>
<li>C<sub>1</sub>: 1&micro;F 50V Ceramic (<a href="http://search.digikey.com/scripts/DkSearch/dksus.dll?Detail&#038;name=445-2889-ND" title="Digi-Key &mdash; 445-2889-ND">445-2889-ND</a>)</li>
<li>C<sub>2</sub>: 2.2&micro;F 50V Ceramic (<a href="http://search.digikey.com/scripts/DkSearch/dksus.dll?Detail&#038;name=478-4472-ND" title="Digi-Key &mdash; 478-4472-ND">478-4472-ND</a>)</li>
<li>C<sub>3</sub>: 330&micro;F 50V Electrolytic (<a href="http://search.digikey.com/scripts/DkSearch/dksus.dll?Detail&#038;name=P11258-ND" title="Digi-Key &mdash; P11258-ND">P11258-ND</a>)</li>
<li>C<sub>4</sub>: 470&micro;F 16V Electrolytic (<a href="http://search.digikey.com/scripts/DkSearch/dksus.dll?Detail&#038;name=338-1751-ND" title="Digi-Key &mdash; 338-1751-ND">338-1751-ND</a>)</li>
<li>C<sub>5</sub>: 1&micro;F 25V Ceramic (<a href="http://search.digikey.com/scripts/DkSearch/dksus.dll?Detail&#038;name=445-2857-ND" title="Digi-Key &mdash; 445-2857-ND">445-2857-ND</a>)</li>
<li>C<sub>6</sub>: 100&micro;F 25V Electrolytic (<a href="http://search.digikey.com/scripts/DkSearch/dksus.dll?Detail&#038;name=P11258-ND" title="Digi-Key &mdash; P11258-ND">P11258-ND</a>)</li>
</ul>
<li>Diodes</li>
<ul>
<li>D<sub>1</sub>: Schottky 40V 1A (<a href="http://search.digikey.com/scripts/DkSearch/dksus.dll?Detail&#038;name=1N5819DICT-ND" title="Digi-Key &mdash; 1N5819DICT-ND">1N5819DICT-ND</a>)</li>
<li>LED<sub>1&ndash;2</sub>: Red Panel Mount LED (<a href="http://search.digikey.com/scripts/DkSearch/dksus.dll?Detail&#038;name=L10061-ND" title="Digi-Key &mdash; L10061-ND">L10061-ND</a>)</li>
</ul>
<li>Voltage Regulator</li>
<ul>
<li>PTN78020WAH (<a href="http://search.digikey.com/scripts/DkSearch/dksus.dll?Detail&#038;name=296-20515-ND" title="Digi-Key &mdash; 296-20515-ND">296-20515-ND</a>)</li>
</ul>
</ul><ol class="footnotes"><li id="footnote_0_367" class="footnote">1800mAh for the 5DmII, 2300mAh 11.1V for the 1DmIV</li><li id="footnote_1_367" class="footnote">This is just an estimate. For a D60, Daniel McCauley measured 400mA required while the shutter was open. See his <a href="http://www.danielmccauley.com/datasheets/datasheet_8vsupply01.pdf" title="Daniel McCauley &mdash; Canon Digital SLR 8V Power Supply (pdf)">8V power supply guide</a>, on which this one is based. Variations will also occur with the ambient temperature as well, so your mileage may vary.</li><li id="footnote_2_367" class="footnote">The power supply doesn&#8217;t work optimally if there is electrical noise on the input side. Also, because the PTN78020 is a switching voltage regulator, it introduces electrical noise at the frequency of its internal switching.</li><li id="footnote_3_367" class="footnote">It is important to note that the PTN72080WAH module <em>does not</em> sit well into the standard breadboard. I had to &#8220;adjust&#8221; a few of the leads so that it could fit into the breadboard&#8217;s grid at all. This is why I would much prefer manufacturing the printed circuit board I mention later in this article.</li><li id="footnote_4_367" class="footnote">I chose the 19V output because the PTN78020 module requires a voltage difference of at least +2.5V from the target output voltage. Using the 10.5V output puts me right at that limit, and I&#8217;d rather have a large buffer to avoid undervolting the module.</li><li id="footnote_5_367" class="footnote">The DR-E5 coupler requires a 1.1mm(ID)/3.0mm(OD) right angle plug. The right angle is tight, and it took me a good deal of searching to find a plug with a short enough lead to fit in the confined space. The jack/plug I used on the other end of the cable was a 1.3mm(ID)/3.5mm(OD) which happens to fit into the 9-12V plug on the XPAL battery pack.</li></ol><img src="http://feeds.feedburner.com/~r/xpdm/~4/aOnPCTNN2aY" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://blog.xpdm.us/2010/07/26/powering-a-canon-eos-from-an-external-power-source/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		<feedburner:origLink>http://blog.xpdm.us/2010/07/26/powering-a-canon-eos-from-an-external-power-source/</feedburner:origLink></item>
		<item>
		<title>My First Show</title>
		<link>http://feedproxy.google.com/~r/xpdm/~3/NaJh9VSunxU/</link>
		<comments>http://blog.xpdm.us/2010/07/01/my-first-show/#comments</comments>
		<pubDate>Fri, 02 Jul 2010 02:05:56 +0000</pubDate>
		<dc:creator>Marcus Griep</dc:creator>
				<category><![CDATA[Photography]]></category>

		<guid isPermaLink="false">http://blog.xpdm.us/?p=338</guid>
		<description><![CDATA[Over the past several months, I have really stepped up my photography to a serious level. In that time, I&#8217;ve been dabbling in landscape, portrait, music, journalistic, and model photography. Recently, though, I had the opportunity to be a part of a show put on by Music Ecology. Each month, they put on a Visual [...]]]></description>
			<content:encoded><![CDATA[<p><a class="smugwp" title="My artwork on display at the Wonder Bar in Allston, MA" href="http://photo.xpdm.us/Shows/Visual-Enlightenment-2010-06/12680900_BodMy#916584280_PqTgN"><img class="swpFL_Right swpID_916584280" src="http://photo.xpdm.us/Shows/Visual-Enlightenment-2010-06/IMAG0049/916584280_PqTgN-Th.jpg" alt="Powered By SmugWP" /></a>Over the past several months, I have really stepped up my photography to a serious level. In that time, I&#8217;ve been dabbling in landscape, portrait, music, journalistic, and model photography. Recently, though, I had the opportunity to be a part of a show put on by <a href="http://www.musicecologyboston.com/">Music Ecology</a>. Each month, they put on a Visual Enlightenment party at the <a href="http://www.wonderbarboston.com/">Wonder Bar</a> in Allston, MA.</p>
<p><a class="smugwp" title="Humanity in Numbers" rel="lightbox" href="http://photo.xpdm.us/Shows/Visual-Enlightenment-2010-06/201006127197/912275305_9BDiA-L.jpg"><img class="swpFL_Left swpID_912275305" src="http://photo.xpdm.us/Shows/Visual-Enlightenment-2010-06/201006127197/912275305_9BDiA-Th.jpg" alt="Powered By SmugWP" /></a>I was one of six artists that were selected to have our artwork hang in the bar during the month of July. On the right above, you can see the layout I chose to go with and clicking on the image will link to a <a href="http://photo.xpdm.us/Shows/Visual-Enlightenment-2010-06/12680900_BodMy#912275305_9BDiA" title="xpdm Photography &mdash; Visual Enlightenment, June 2010">gallery</a> where you can see larger versions of photographs.</p>
<p>I chose to have a couple of themes run through the display. At the top are two fall images from northern New York. In the center is a photograph (featured) of the <a href="http://www.nehm.com/">New England Holocaust Memorial</a> where a person&#8217;s face (my friend <a href="http://www.kwancentral.com" title="Kwan Central">Justin Kwan</a>) stands as the backdrop to the ID numbers given to prisoners in the concentration camps. On the right are a couple of animal photographs with very narrow depth of field, bringing extreme sharpness to the faces of the sparrow and turtle.</p>
<p><a class="smugwp" title="Chord" rel="lightbox" href="http://photo.xpdm.us/Music/All-Asia-2010-06/201006177434/910724593_GGG7x-L-2.jpg"><img class="swpFL_Right swpID_910724593" src="http://photo.xpdm.us/Music/All-Asia-2010-06/201006177434/910724593_GGG7x-Th-2.jpg" alt="Powered By SmugWP" /></a>The smaller photographs arrayed around the main centerpiece include a lead crystal car sitting on a reflective black tile. On the top left (featured), <a href="http://www.myspace.com/zulloproject" title="MySpace &mdash; Scott Strazzullo">Scott Strazzullo</a> plays his guitar during the Songwriters&#8217; Night at <a href="http://www.allasiabar.com/">All Asia Bar</a> in Cambridge<sup><a href="http://blog.xpdm.us/2010/07/01/my-first-show/#footnote_0_338" id="identifier_0_338" class="footnote-link footnote-identifier-link" title="You can see other photographs from that night in a gallery dedicated to the June 2010 Songwriters&amp;#8217; Night at All Asia Bar, including photos and video of Jourdan Rystrom and Norman Kim.">1</a></sup>. On the top right, a 15-minute exposure (with the help of an <a href="http://www.amazon.com/gp/product/B00111UX40?ie=UTF8&#038;tag=nineandpurp-20&#038;linkCode=as2&#038;camp=1789&#038;creative=390957&#038;creativeASIN=B00111UX40">ND400</a><img src="http://www.assoc-amazon.com/e/ir?t=nineandpurp-20&#038;l=as2&#038;o=1&#038;a=B00111UX40" width="1" height="1" border="0" alt="" style="border:none !important; margin:0px !important;" /> filter) of one of my company&#8217;s week&#8217;s-end &#8220;workshops&#8221;. On each side in the middle are book pictures. To the left, the Bible, Square, and Compasses of my mother lodge, <a href="http://www.woburnmasons.org/">Mt. Horeb</a>. To the right, a book of magic tricks turned to a page showing a coin trick.</p>
<p><a class="smugwp" title="Uneven Road Ahead" rel="lightbox" href="http://photo.xpdm.us/Journalism/Champlain-Bridge/20100321-3932-HDR/842280946_nTQ39-L-3.jpg"><img class="swpFL_Left swpID_842280946" src="http://photo.xpdm.us/Journalism/Champlain-Bridge/20100321-3932-HDR/842280946_nTQ39-Th-3.jpg" alt="Powered By SmugWP" /></a>The bottom three are of special interest to me, and I&#8217;ve singled out one to the left here. All three are of the <a href="http://en.wikipedia.org/wiki/Champlain_Bridge_%28United_States%29" title="Wikipedia &mdash; Champlain Bridge">Champlain Bridge</a>, also known as the Crown Point Bridge. Or, rather, they were. As I mentioned in my <a href="http://blog.xpdm.us/2009/12/31/the-champlain-bridge/" title='The Champlain Bridge'>earlier post</a>, the bridge was demolished on December 28, 2009. The photograph on the left shows the bridge as it was on the somber morning of its demolition. The center (featured) and right photos show the deconstruction and ruins left behind by its demolition. This weekend, I&#8217;m going to be back up in New York and plan to extend the series, getting additional photographs of the deconstruction and re-construction process.</p>
<p>All in all, the staff at Wonder Bar were great and very accommodating to my layout whims. I really want to thank them, Music Ecology, and Polina Volchek in particular for organizing it. All of the my prints are on sale as are several of the other artists on display there. If you are interested in purchasing a print, you can do so either through my online gallery or by emailing me directly at <a href="mailto:photo@xpdm.us?subject=Photo Sales">photo@xpdm.us</a>.</p><ol class="footnotes"><li id="footnote_0_338" class="footnote">You can see other photographs from that night in a gallery dedicated to the <a href="http://photo.xpdm.us/Music/All-Asia-Bar-2010-06/">June 2010 Songwriters&#8217; Night at All Asia Bar</a>, including photos and video of <a href="http://www.jourdanrystrom.com/">Jourdan Rystrom</a> and <a href="http://www.normankim.com/">Norman Kim</a>.</li></ol><img src="http://feeds.feedburner.com/~r/xpdm/~4/NaJh9VSunxU" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://blog.xpdm.us/2010/07/01/my-first-show/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		<feedburner:origLink>http://blog.xpdm.us/2010/07/01/my-first-show/</feedburner:origLink></item>
		<item>
		<title>The Champlain Bridge</title>
		<link>http://feedproxy.google.com/~r/xpdm/~3/_sWmZWcsjJI/</link>
		<comments>http://blog.xpdm.us/2009/12/31/the-champlain-bridge/#comments</comments>
		<pubDate>Thu, 31 Dec 2009 15:00:35 +0000</pubDate>
		<dc:creator>Marcus Griep</dc:creator>
				<category><![CDATA[Events]]></category>
		<category><![CDATA[Photography]]></category>

		<guid isPermaLink="false">http://blog.xpdm.us/?p=317</guid>
		<description><![CDATA[Lamps and Fog by Marcus Griep This past weekend I was lucky enough to be spending my Christmas holiday with my wife&#8217;s family in the North Country in New York. For those of you that don&#8217;t know, the North Country is that region of New York and Vermont from about the Lake George area to [...]]]></description>
			<content:encoded><![CDATA[<div class="wp-caption alignright" style="width: 510px; font-size: small;"><a href="http://www.flickr.com/photos/neoeinstein/4225894860/"><img title="Lamps and Fog" src="http://farm5.static.flickr.com/4052/4225894860_8d33a375eb.jpg" alt="Lamps and Fog" width="500" height="333" /></a></p>
<p class="wp-caption-text"><a href="http://www.flickr.com/photos/neoeinstein/4225894860/">Lamps and Fog</a> by <a href="http://www.flickr.com/photos/neoeinstein/">Marcus Griep</a></p>
</div>
<p>This past weekend I was lucky enough to be spending my Christmas holiday with my wife&#8217;s family in the North Country in New York. For those of you that don&#8217;t know, the North Country is that region of New York and Vermont from about the Lake George area to the Canadian border. I&#8217;m not originally from the North Country, so that might be a bit off, but certainly just saying Upstate New York would not have been sufficient. I say I&#8217;m lucky because I had the opportunity to be present for a rare event, and had my camera along to document it.</p>
<p>The event I speak of was that the <a href="http://en.wikipedia.org/wiki/Champlain_Bridge_%28United_States%29" title="Wikipedia &mdash; Champlain Bridge">Champlain Bridge</a> (also known as the Crown Point Bridge) was finally going to be demolished after a spiral fracture had been found in one of its concrete support piers. That fracture led to the bridge&#8217;s closing on October 16, 2009. The closing of the Champlain Bridge had vast implications in the region; the nearest bridge into Vermont is 50 miles south of Crown Point in Whitehall, and the nearest bridge north of Crown Point is over 100 miles away at Rouses Point. In between, Lake Champlain is serviced by several ferries, but only one of them operates 24 hours a day, and none of them are open to industrial traffic.</p>
<p>With the bridge condemned, a vital link for many individuals and companies on either side of the lake was severed. People living on opposite sides from where they worked faced an extra 2-4 hours of travel to and from work, and trailers would be forced to detour many miles to get to the same location.</p>
<p>The Champlain Bridge, which was dedicated and opened on August 26, 1929, was demolished with explosives 80 years later on December 26, 2009.</p>
<p>The morning of the demolition was cold, snowy, and visibility was very poor. None but those with permission to access the Crown Point location, and perhaps some from Vermont were actually able to see the bridge implode. For most of the public waiting to see the bridge&#8217;s final moments, all that was seen was fog punctuated by the series of bursts indicating that the charges had gone off.</p>
<p>The afternoon before and morning of the demolition, I set out and took several pictures at the scene, but, lacking a media pass, did not get a photograph of the actual implosion. Meanwhile, you can see the somber and eerie photographs of the Champlain Bridge in its waining days on my Flickr account in my <a href="http://bit.ly/champlainbridge" title="Champlain Bridge Demolition &mdash; a set by Marcus Griep on Flickr">Champlain Bridge Demolition</a> set.</p>
<p>The replacement bridge is expected to be in place and opened in the summer of 2011<sup><a href="http://blog.xpdm.us/2009/12/31/the-champlain-bridge/#footnote_0_317" id="identifier_0_317" class="footnote-link footnote-identifier-link" title="NYSDOT&amp;#8217;s current schedule for the Lake Champlain Bridge Project">1</a></sup>.</p>
<p>All pictures in the aforementioned set (with the exception of the &#8220;Protection&#8221; meta-photo) were taken with the following lens, which I highly recommend:</p><ol class="footnotes"><li id="footnote_0_317" class="footnote">NYSDOT&#8217;s <a href="https://www.nysdot.gov/lakechamplainbridge/current-schedule">current schedule</a> for the Lake Champlain Bridge Project</li></ol><img src="http://feeds.feedburner.com/~r/xpdm/~4/_sWmZWcsjJI" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://blog.xpdm.us/2009/12/31/the-champlain-bridge/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://blog.xpdm.us/2009/12/31/the-champlain-bridge/</feedburner:origLink></item>
		<item>
		<title>When Eight Bits Just Isn’t Enough</title>
		<link>http://feedproxy.google.com/~r/xpdm/~3/QfaKWfJLG6M/</link>
		<comments>http://blog.xpdm.us/2009/10/15/when-eight-bits-just-isnt-enough/#comments</comments>
		<pubDate>Thu, 15 Oct 2009 12:00:56 +0000</pubDate>
		<dc:creator>Marcus Griep</dc:creator>
				<category><![CDATA[Photography]]></category>
		<category><![CDATA[book:isbn=0321267222]]></category>
		<category><![CDATA[book:isbn=0471486884]]></category>
		<category><![CDATA[camera]]></category>
		<category><![CDATA[color]]></category>
		<category><![CDATA[eos-500d]]></category>
		<category><![CDATA[gamut]]></category>

		<guid isPermaLink="false">http://blog.xpdm.us/?p=243</guid>
		<description><![CDATA[There was a time when one bit per pixel was enough. Back in that time, there was only one color channel with only one value for each pixel; either on or off. One bit per pixel was sufficient. Next came progressively more graduated gray-scale, up to the 256 levels provided by a one-byte, eight-bit value. [...]]]></description>
			<content:encoded><![CDATA[<p>There was a time when one bit per pixel was enough. Back in that time, there was only one color channel with only one value for each pixel; either on or off. One bit per pixel was sufficient. Next came progressively more graduated gray-scale, up to the 256 levels provided by a one-byte, eight-bit value. This was about the period that I got my first computer, an <a href="http://en.wikipedia.org/wiki/Apple_IIc" title="Wikipedia: Appple IIc">Apple IIc</a> in all of it&#8217;s green-display glory.</p>
<p><div class="wp-caption alignright" style="width: 85px"><img alt="Mario in 8-bit Color" src="http://3.media.tumblr.com/tumblr_kqm035tory1qzf2yko1_250.png" title="8-bit Mario" width="75" /><p class="wp-caption-text">Mario in 8-bit Color</p></div><br />
Then <a href="http://en.wikipedia.org/wiki/Color" title="Wikipedia: Color">color</a> came along: red, green, and blue. Now those 8 bits were rationed out; three to green and red and two to blue in the common case<sup><a href="http://blog.xpdm.us/2009/10/15/when-eight-bits-just-isnt-enough/#footnote_0_243" id="identifier_0_243" class="footnote-link footnote-identifier-link" title="The reason being that green is primary color to which human eyes are most sensitive, and small changes in green are more easily noted than in red or blue. This fact is further utilized by many steganographic programs which embed information in image files.">1</a></sup>. Then came 16-bit color, followed by 24-bit color. Now red, green, and blue were on equal footing, each holding 8 bits of information. Soon after came the cake-is-a-lie 32-bit color, which is rarely adds anything more than 24-bit color<sup><a href="http://blog.xpdm.us/2009/10/15/when-eight-bits-just-isnt-enough/#footnote_1_243" id="identifier_1_243" class="footnote-link footnote-identifier-link" title="There are some 32-bit color implementations that use 30 bits (10 bits per color), but most commonly, the extra 8 bits are used for non-color data or padding. In fact, Windows 7 will support up to 48-bit color, but no graphics cards yet support it; only a few graphics cards currently support 10-bit-per-channel color; and, fewer still monitors can display the 1 billion+ colors available with 30-bit color.">2</a></sup>.</p>
<p>This brings us to today, where most computer monitors advertise the 16.7 million colors afforded by 24-bits of color data. For most of us, this is plenty, as the human eye is estimated to only be able to distinguish 10 million colors. Thus, 8-bits per channel is generally sufficient for displays and is why there haven&#8217;t been any big pushes to extend that range<sup><a href="http://blog.xpdm.us/2009/10/15/when-eight-bits-just-isnt-enough/#footnote_2_243" id="identifier_2_243" class="footnote-link footnote-identifier-link" title="Though, as mentioned in the previous footnote, Windows 7 is breaching that ceiling. Read more about the advance of digital color resolution on Wikipedia">3</a></sup>. The issue is no longer one of how many colors but of how broad a gamut of colors.</p>
<p><div class="wp-caption alignright" style="width: 185px"><a href="http://en.wikipedia.org/wiki/SRGB" title="Wikipedia: sRGB Color Space"><img alt="The sRGB Color Space" src="http://upload.wikimedia.org/wikipedia/commons/thumb/8/82/CIE1931xy_sRGB.svg/250px-CIE1931xy_sRGB.svg.png" title="sRGB Color Space" width="175"/></a>
<p class="photo-credit">Illustration Credit: <a href="http://en.wikipedia.org/wiki/User:Mysid">Mysid</a></p>
<p><p class="wp-caption-text">The sRGB Color Space</p></div><br />
The standard gamut used in most displays is called <a href="http://en.wikipedia.org/wiki/sRGB" title="Wikipedia: sRGB">sRGB</a>. sRGB is a rather limited gamut but one that has such wide acceptance that, in the absence of any information to the contrary, it is the assumed default for images. It&#8217;s a form of least-common-denominator for electronic displays. For most uses that involve a computer display as the means of consumption, using sRGB is sufficient. However, sRGB lacks the ability to represent saturated yellows, greens, and cyans. This shortcoming is readily apparent when it comes to printing images. The printer has a different gamut for <a href="http://en.wikipedia.org/wiki/CMYK" title="Wikipedia: CMYK">CMYK</a>. Some colors that are in sRGB aren&#8217;t in CMYK and visa versa. The more saturated blues and yellows that CMYK can print but aren&#8217;t represented in sRGB can leave images of the sky and flowers a little under-saturated.</p>
<p><div class="wp-caption alignright" style="width: 185px"><a href="http://en.wikipedia.org/wiki/Adobe_Wide_Gamut_RGB_color_space" title="Wikipedia: Adobe Wide Gamut RGB Color Space"><img alt="The Adobe Wide Gamut RGB Color Space" src="http://upload.wikimedia.org/wikipedia/commons/thumb/1/1d/CIExy1931_AdobeWGRGB.png/325px-CIExy1931_AdobeWGRGB.png" title="Adobe Wide Gamut RGB Color Space" width="175"/></a>
<p class="photo-credit">Wikipedia Public Domain</p>
<p><p class="wp-caption-text">The Adobe Wide Gamut RGB Color Space</p></div><br />
In order to handle the wider range of colors, alternative color spaces must be used with wider gamuts. Examples include <a href="http://en.wikipedia.org/wiki/Adobe_RGB_color_space" title="Wikipedia: Adobe RGB color space">Adobe RGB (1998)</a>, <a href="http://en.wikipedia.org/wiki/PhotoPro_RGB_color_space" title="Wikipedia: PhotoPro RGB color space">PhotoPro RGB</a><sup><a href="http://blog.xpdm.us/2009/10/15/when-eight-bits-just-isnt-enough/#footnote_3_243" id="identifier_3_243" class="footnote-link footnote-identifier-link" title="Which uses an &amp;#8216;imaginary&amp;#8217; blue as one of its primary colors.">4</a></sup>, and <a href="http://en.wikipedia.org/wiki/Adobe_Wide_Gamut_RGB_color_space" title="Wikipedia: Adobe Wide Gamut RGB color space">Adobe Wide Gamut RGB</a>. These gamuts allow even more colors to be represented.</p>
<p>Or do they&#8230; In an analog system, sure; just as the cardinality of the set of real numbers, <img src="http://blog.xpdm.us/wp-content/plugins/easy-latex/cache/tex_1a2dbf4554493447cb9fccc6bfc3100e.png" title="\mathbb{R}" style="vertical-align:-20%;" class="tex" alt="\mathbb{R}" />, is greater than the cardinality of the set of rational numbers, <img src="http://blog.xpdm.us/wp-content/plugins/easy-latex/cache/tex_1fd90b568a6cd493ee673324eb3f4944.png" title="\mathbb{Q}" style="vertical-align:-20%;" class="tex" alt="\mathbb{Q}" />, so too, the number colors in Adobe Wide Gamut RGB is greater than the number of colors in sRGB in addition to containing all of sRGB even though all those sets have an uncountable number of members.</p>
<p>However, in the digital format, each component is chunked into quanta. For 8-bits, there are 256 distinct values. When you expand the gamut, the number of representable colors remains exactly the same (256), but the distance between quanta of color is larger. Think of it as taking a 24-inch ruler and stretching it. The ruler covers more distance, but there are still only 24 sections on it. There is just more distance between each hash.</p>
<p><div class="wp-caption alignright" style="width: 185px"><a href="http://en.wikipedia.org/wiki/Color_quantization" title="Wikipedia: Color quantization"><img alt="Posterization from conversion to 4-bit (16 color) palette" src="http://upload.wikimedia.org/wikipedia/en/4/48/Dithering_example_undithered_16color_palette.png" title="Posterization from conversion to 4-bit (16 color) palette" width="175"/></a>
<p class="photo-credit">Image Credit: <a href="http://en.wikipedia.org/wiki/User:Dcoetzee">Derrick Coetzee</a></p>
<p><p class="wp-caption-text">Posterization from conversion to 4-bit (16 color) palette</p></div><br />
When this extended gamut is invariably cast back into a smaller gamut, such as sRGB, the lack of color data resolution causes a phenomenon called <a href="http://en.wikipedia.org/wiki/posterization" title="Wikipedia: Posterization">posterization</a>. If you&#8217;ve ever used 8-bit mode during a remote session on your 24-bit desktop, you&#8217;ve seen this effect. The combined effect is somewhat similar to a rounding error.</p>
<p>One way to combat this posterization is to increase the resolution of the color data, e.g. from 8 to 16 bits per channel. With 256 times as many hash marks on the color ruler, the <a href="http://en.wikipedia.org/wiki/Color_gamut" title="Wikipedia: Color Gamut">color gamut</a> can easily be expanded to twice its size without causing the banding effect.</p>
<p>As most digital cameras still capture in sRGB and output to 8-bit <acronym title="Joint Photographics Experts Group">JPEG</acronym>, the common photographer has nothing to worry about, but for the more advanced photographer who wishes to have more control over their output, a larger gamut, such as Adobe RGB, and greater resolution are more important. My camera, the Canon Rebel T1i (pictured below) offers an output to RAW format<sup><a href="http://blog.xpdm.us/2009/10/15/when-eight-bits-just-isnt-enough/#footnote_4_243" id="identifier_4_243" class="footnote-link footnote-identifier-link" title="A proprietary version of the TIFF format; each manufacturer often has their own proprietary extensions.">5</a></sup>. Each pixel of the sensor has 14-bits of resolution, so it makes little sense to use a working format with less bits per channel. Thus, after importing the RAW file, my working format is Adobe RGB with a 16-bit <acronym title="Tagged Image File Format">TIFF</acronym>. The <a href="http://en.wikipedia.org/wiki/TIFF" title="Wikipedia: Tagged File Image Format"><acronym title="Tagged Image File Format">TIFF</acronym> format</a> is an uncompressed beast, but it ensures that I don&#8217;t lose any of that color data in translation.</p>
<p>Getting the results that you want can be cannily uncomplicated. Most photographers aren&#8217;t even worrying about all this as nearly all decision making, aside from composition, is made inside the camera. But when more control is desired, the entire workflow needs to be insulated from introducing error into the process so that the end result is precisely what the photographer intended. And it&#8217;s at this time when eight bits really isn&#8217;t enough.</p><ol class="footnotes"><li id="footnote_0_243" class="footnote">The reason being that green is primary color to which human eyes are most sensitive, and small changes in green are more easily noted than in red or blue. This fact is further utilized by many steganographic programs which <a href="http://en.wikipedia.org/wiki/Steganography#Digital_steganography" title="Wikipedia: Steganography">embed information</a> in image files.</li><li id="footnote_1_243" class="footnote">There are some 32-bit color implementations that use 30 bits (10 bits per color), but most commonly, the extra 8 bits are used for non-color data or padding. In fact, Windows 7 will support up to 48-bit color, but no graphics cards yet support it; only a few graphics cards currently support 10-bit-per-channel color; and, fewer still monitors can display the 1 billion+ colors available with 30-bit color.</li><li id="footnote_2_243" class="footnote">Though, as mentioned in the previous footnote, Windows 7 is breaching that ceiling. Read more about the advance of digital color resolution <a href="http://en.wikipedia.org/wiki/Color_depth" title="Wikipedia:Color depth">on Wikipedia</a></li><li id="footnote_3_243" class="footnote">Which uses an &#8216;imaginary&#8217; blue as one of its primary colors.</li><li id="footnote_4_243" class="footnote">A proprietary version of the <acronym title="Tagged Image File Format">TIFF</acronym> format; each manufacturer often has their own proprietary extensions.</li></ol><img src="http://feeds.feedburner.com/~r/xpdm/~4/QfaKWfJLG6M" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://blog.xpdm.us/2009/10/15/when-eight-bits-just-isnt-enough/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		<feedburner:origLink>http://blog.xpdm.us/2009/10/15/when-eight-bits-just-isnt-enough/</feedburner:origLink></item>
		<item>
		<title>The Square and Compasses</title>
		<link>http://feedproxy.google.com/~r/xpdm/~3/BWmTP75-6qI/</link>
		<comments>http://blog.xpdm.us/2009/10/12/the-square-and-compasses/#comments</comments>
		<pubDate>Mon, 12 Oct 2009 17:00:29 +0000</pubDate>
		<dc:creator>Marcus Griep</dc:creator>
				<category><![CDATA[Masonic]]></category>
		<category><![CDATA[masons]]></category>
		<category><![CDATA[square-and-compass-day]]></category>

		<guid isPermaLink="false">http://blog.xpdm.us/?p=245</guid>
		<description><![CDATA[This Saturday is Square and Compasses Day in Massachusetts. S&#038;C Day is a state-wide open house organized by Freemasons across Massachusetts to offer the public the opportunity to learn more about the fraternity. My lodge, Mount Horeb Lodge in Woburn, will be holding its open house from 0900 to 1500 on Saturday, October 17. If [...]]]></description>
			<content:encoded><![CDATA[<p><div class="wp-caption alignright" style="width: 210px"><a href="http://www.askafreemason.org/"><img alt="The Woburn Masonic Apartments" src="http://www.woburnmasons.org/images/490_WMC.jpg" title="Woburn Masonic Apartments" width="200" height="118" /></a><p class="wp-caption-text">The Woburn Masonic Apartments</p></div>This Saturday is <a href="http://www.massfreemasonry.org/index.tpl?&#038;ng_view=56&#038;ng_id=271" title="Grand Lodge of Massachusetts: About Square and Compasses Day">Square and Compasses Day</a> in Massachusetts. S&#038;C Day is a state-wide open house organized by Freemasons across Massachusetts to offer the public the opportunity to learn more about the fraternity.</p>
<p>My lodge, <a href="http://www.woburnmasons.org">Mount Horeb Lodge</a> in Woburn, will be holding its open house from 0900 to 1500 on Saturday, October 17. If you happen to live in the area, I encourage you to come out and see what there is to see. We&#8217;ll have the entire building open and members from three lodges will be there giving tours around and about the lodge. There is a ton of <a href="http://www.massfreemasonry.org/index.tpl?&#038;ng_view=17">history within the Masons</a>, my lodge was established in 1855, and we have some great historians who can explain much of what we have done and continue to do.</p>
<p>In addition to tours of the Masonic lodge, <a href="http://www.childrenshospital.org/">Children&#8217;s Hospital of Boston</a> will be outside taking <a href="http://www.childrenshospital.org/about/Site1394/mainpageS1394P6.html" title="Children's Hospital of Boston: Donating Blood">blood donations</a> for their children. The more that donate, the more lives are saved. One donation can save the lives of as many as three people! You can schedule an appointment, if you&#8217;d like, by calling 781-933-8220 and pressing 2, but walk-ins are also much appreciated.</p>
<p>Whether you want to <a href="http://www.askafreemason.com" title="Ask a Freemason">find out more</a> about the Masons, eat a hot dog, help save a life, or just jump on a bouncy castle, join me at the Woburn Masonic Apartments at <a href="http://maps.google.com/maps?q=17+Arlington+Rd,+Woburn,+MA&#038;oe=utf-8&#038;client=firefox-a&#038;ie=UTF8&#038;gl=us&#038;ei=_1XTSur4NYvElAf79oSpCg&#038;ved=0CA0Q8gEwAA&#038;hq=&#038;hnear=17+Arlington+Rd,+Woburn,+Middlesex,+Massachusetts+01801&#038;z=16">17 Arlington Road</a> in Woburn. If you don&#8217;t live near Woburn, check out the Grand Lodge website to <a href="http://www.massfreemasonry.org/index.tpl?&#038;ng_view=34" title="Grand Lodge of Massachusetts: Find a Nearby Lodge">find a lodge near you</a>. Everything is free, and you&#8217;ll certainly learn something new for your time. Feel free to contact me for more information at marcus@griep.us.</p><img src="http://feeds.feedburner.com/~r/xpdm/~4/BWmTP75-6qI" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://blog.xpdm.us/2009/10/12/the-square-and-compasses/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://blog.xpdm.us/2009/10/12/the-square-and-compasses/</feedburner:origLink></item>
		<item>
		<title>StackOverflow DevDays: Boston — The Pictures</title>
		<link>http://feedproxy.google.com/~r/xpdm/~3/3zMyT6NESd8/</link>
		<comments>http://blog.xpdm.us/2009/10/09/stackoverflow-devdays-boston-the-pictures/#comments</comments>
		<pubDate>Fri, 09 Oct 2009 11:00:29 +0000</pubDate>
		<dc:creator>Marcus Griep</dc:creator>
				<category><![CDATA[Events]]></category>
		<category><![CDATA[Photography]]></category>
		<category><![CDATA[flickr]]></category>
		<category><![CDATA[stackoverflow-devdays]]></category>

		<guid isPermaLink="false">http://blog.xpdm.us/?p=217</guid>
		<description><![CDATA[I&#8217;ve finally uploaded a first batch of pictures from the StackOverflow DevDays in Boston. Out of over 350 pictures taken, only 20 made it to this cut, with several not-quite-as-good pictures that I may look at adding later. If you see any you&#8217;d like, let me know, and I&#8217;ll get a proper copy to you. [...]]]></description>
			<content:encoded><![CDATA[<div id="attachment_231" class="wp-caption alignright" style="width: 160px"><a href="http://www.flickr.com/photos/neoeinstein/sets/72157622407907283/"><img src="http://blog.xpdm.us/wp-content/uploads/2009/10/MG_0567.w.s-150x150.jpg" alt="StackOverflow DevDays Round Buttons" title="StackOverflow DevDays Buttons" width="150" height="150" class="size-thumbnail wp-image-231" /></a><p class="wp-caption-text">SO DevDays</p></div><br />
I&#8217;ve finally uploaded a <a href="http://www.flickr.com/photos/neoeinstein/sets/72157622407907283/">first batch of pictures</a> from the <a href="http://stackoverflow.carsonified.com">StackOverflow DevDays</a> in Boston. Out of over 350 pictures taken, only 20 made it to this cut, with several not-quite-as-good pictures that I may look at adding later. If you see any you&#8217;d like, let me know, and I&#8217;ll get a proper copy to you.</p>
<p>Taking photos at the event was very difficult. For human eyes, everything was fine, but for a camera&#8217;s lens, there was very little light. I didn&#8217;t use flash during the event; a common courtesy to both presenters and audience in an already low-light environment. It made me really wish that I had a 50mm f/1.4 lens like this one, though; too bad such wide aperture lenses are so expensive! </p>
<p><div id="attachment_223" class="wp-caption alignright" style="width: 160px"><a href="http://www.flickr.com/photos/neoeinstein/3994908894/in/set-72157622407907283/"><img src="http://blog.xpdm.us/wp-content/uploads/2009/10/MG_0515.w.s-150x150.jpg" alt="Joel presents FogBugz" title="Joel Presents FogBugz" width="150" height="150" class="size-thumbnail wp-image-223" /></a><p class="wp-caption-text">Light source differences between two subjects in one picture cause color problems.</p></div>
<p>The other environmental difficulty for photography was all of the different light source types. There were fluorescent lights in the main area (blueish), recessed incandescent bulbs (redish-orange), and the projector light (near <a href="http://en.wikipedia.org/wiki/D65">6500K</a>, or like-sunlight). So, in the picture at right, for example, the main subject, Joel Spolsky, was standing under incandescent lights. This gives him a redish-tinge. When correcting Joel&#8217;s white shirt back to white, the slides in the background, having a neutral tint before correction, end up tending toward blue after.</p>
<p>Regardless, I&#8217;m happy with the photos I did get. Again, feel free to check them out. Here&#8217;s the link in case you didn&#8217;t catch it earlier!</p>
<p><a href="http://www.flickr.com/photos/neoeinstein/sets/72157622407907283/">My StackOverflow DevDays Flickr Set</a></p><img src="http://feeds.feedburner.com/~r/xpdm/~4/3zMyT6NESd8" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://blog.xpdm.us/2009/10/09/stackoverflow-devdays-boston-the-pictures/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://blog.xpdm.us/2009/10/09/stackoverflow-devdays-boston-the-pictures/</feedburner:origLink></item>
		<item>
		<title>StackOverflow DevDays: Boston — In Review</title>
		<link>http://feedproxy.google.com/~r/xpdm/~3/6dteN8QOPBI/</link>
		<comments>http://blog.xpdm.us/2009/10/08/stackoverflow-devdays-boston-in-review/#comments</comments>
		<pubDate>Thu, 08 Oct 2009 15:00:41 +0000</pubDate>
		<dc:creator>Marcus Griep</dc:creator>
				<category><![CDATA[Events]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[review]]></category>
		<category><![CDATA[stackoverflow-devdays]]></category>

		<guid isPermaLink="false">http://blog.xpdm.us/?p=200</guid>
		<description><![CDATA[StackOverflow DevDays day in Boston was very fun, well planned, and well executed, with a nice array of speakers from across a wide swath of the development world. The day started off with a keynote speech by Joel Spolsky. His talk was very amusing, and included a theory that all work boils down to a [...]]]></description>
			<content:encoded><![CDATA[<p>StackOverflow DevDays day in Boston was very fun, well planned, and well executed, with a nice array of speakers from across a wide swath of the development world.</p>
<p>The day started off with a keynote speech by Joel Spolsky. His talk was very amusing, and included a theory that all work boils down to a use case wherein the goal is to get the end-user laid, or is in furtherance of that end goal. He further went on to discuss the two objectives of simplicity and power, and that whereas they may seem diametrically opposed, there is money to be made in reconciling simplicity (Don&#8217;t make me decide on things I don&#8217;t care about) and power (I want to be able to do this and that and some from column C).</p>
<p>From there, the main scheduled presenters took over. <a href="http://nedbatchelder.com/blog/" title="Ned Batchelder: Blog">Ned Batchelder</a><sup><a href="http://blog.xpdm.us/2009/10/08/stackoverflow-devdays-boston-in-review/#footnote_0_200" id="identifier_0_200" class="footnote-link footnote-identifier-link" title="Ned&amp;#8217;s DevDays blog post, including slides. On Twitter: @NedBat">1</a></sup> gave a good presentation on the <a href="http://www.python.org">Python</a> programming language. Although I have been used to programming in Python for quite some time, I very much enjoyed the talk which used a <a href="http://norvig.com/spell-correct.html" title="How to Write a Spelling Corrector">Python spell checker</a> as a demonstration of the features of the language. The talk moved at a good pace that was still interesting to me as someone who already knew the material, but also didn&#8217;t seem to leave anybody out in the code.</p>
<p>After Ned was <a href="http://insidedanshead.spaces.live.com/" title="Dan Pilone's Blog">Dan Pilone</a><sup><a href="http://blog.xpdm.us/2009/10/08/stackoverflow-devdays-boston-in-review/#footnote_1_200" id="identifier_1_200" class="footnote-link footnote-identifier-link" title="On twitter: @danpilone">2</a></sup>. Dan&#8217;s presentation focused on the iPhone development experience, and moved methodically through the most pertinent points, from XCode to Instruments and the Interface Builder, to the application submission process (denoted by slide showing a despairing man in a desert crying out as sand slips from his grasp), to the sales and marketing mentality necessary in Apple&#8217;s App Store. Humor tossed in at a few key places made this an enjoyable and solid overview, which is what it was. If you were looking for an in-depth look, then the one-hour format would leave you disappointed, but from outside iPhone development looking in, the presentation fit the time and audience well.</p>
<p>Just before lunch, <a href="http://joelonsoftware.com" title="Joel on Software">Joel Spolsky</a><sup><a href="http://blog.xpdm.us/2009/10/08/stackoverflow-devdays-boston-in-review/#footnote_2_200" id="identifier_2_200" class="footnote-link footnote-identifier-link" title="On Twitter: @Spolsky">3</a></sup> retook the stage using 30 minutes to demo the latest version of <a href="http://www.fogbugz.com">FogBugz</a>, FogBugz 7, the flagship product of his company, <a href="http://www.fogcreek.com">FogCreek</a>. FogBugz includes a new feature in this version, which I&#8217;ll briefly mention called Kiln. Kiln is a new integrated and hosted source control<sup><a href="http://blog.xpdm.us/2009/10/08/stackoverflow-devdays-boston-in-review/#footnote_3_200" id="identifier_3_200" class="footnote-link footnote-identifier-link" title="The only hosted source control option is Mercurial; I didn&amp;#8217;t get a chance to ask Joel why only Mercurial, though he assured us there were several reasons.">4</a></sup> and code review management service going into beta as of the announcement. If it piques your interest, you can check it out <a href="http://fogcreek.com/kiln/" title="Kiln: Version Control and Code Review Software">on FogCreek&#8217;s website</a>.</p>
<p>After a lunch<sup><a href="http://blog.xpdm.us/2009/10/08/stackoverflow-devdays-boston-in-review/#footnote_4_200" id="identifier_4_200" class="footnote-link footnote-identifier-link" title="Provided lunches included turkey or beef sandwiches or a veggie wrap along with a half-ounce bag of chips, apple, and cookie">5</a></sup> <a href="http://www.patrickhynds.com/" title="Tech Seige">Patrick Hynds</a> and <a href="http://blogs.msdn.com/cbowen/">Chris Bowen</a><sup><a href="http://blog.xpdm.us/2009/10/08/stackoverflow-devdays-boston-in-review/#footnote_5_200" id="identifier_5_200" class="footnote-link footnote-identifier-link" title="On Twitter: @ChrisBowen">6</a></sup> presented on <a href="http://asp.net/mvc"><acronym title="Active Server Pages">ASP</acronym>.NET <acronym title="Model-View-Controller">MVC</acronym></a>. Their talk was good, though there were points where it sounded like cheerleading rather than a technical talk. To be fair, Chris Bowen is a developer evangelist for Microsoft, so it&#8217;s not unexpected, and it could have just been the &#8220;view from my seat&#8221;. The subject matter was good; I walked away convinced that Microsoft had done quite well with their <acronym title="Model-View-Controller">MVC</acronym> implementation.</p>
<p><a href="http://ejohn.org/">John Resig</a><sup><a href="http://blog.xpdm.us/2009/10/08/stackoverflow-devdays-boston-in-review/#footnote_6_200" id="identifier_6_200" class="footnote-link footnote-identifier-link" title="On Twitter: @jresig">7</a></sup> was the next presenter, and the creator of the <a href="http://jquery.com">jQuery JavaScript library</a>. His talk focused around the need for testing in JavaScript. He focused on several different frameworks for testing, as well as different methodologies from in-browser unit testing to mocking out the entire browser with an out-of-browser solution like <a href="http://code.google.com/p/envjs/">Env.JS</a>, to behavioral testing and functional testing.</p>
<p>John did a good job impressing the difficulty of testing JavaScript in a manner that spans the majority of all browsers and indicated that, in his opinion, there&#8217;s nothing like real-world testing, with a real human. He pointed to <a href="http://testswarm.com/">Test Swarm</a> as a distributed example of how to get in-browser testing across a wide array of user/browser configurations. Overall, a good spanning overview that didn&#8217;t get mired in the gritty details of each framework, but just enough to understand where each had its use.</p>
<p>The last presenter of the day was <a href="http://tirania.org/blog/">Miguel de Icaza</a><sup><a href="http://blog.xpdm.us/2009/10/08/stackoverflow-devdays-boston-in-review/#footnote_7_200" id="identifier_7_200" class="footnote-link footnote-identifier-link" title="On Twitter: @migueldeicaza">8</a></sup> presented on Mono. I spoke with him briefly at lunch, and even then, he was still vacillating as to the subject matter for his talk. The actual talk was mildly haphazard as a result, but the flow worked well with Miguel&#8217;s free personality. He took the audience through <a href="http://www.go-mono.com/monovs/">Mono Tools for Visual Studio</a>, showing remote debugging from a Windows VS session to a program running on a remote SUSE Linux VM. From there, he went a step further, building an <a href="http://en.wikipedia.org/wiki/RPM_Package_Manager">RPM</a> of the <acronym title="Active Server Pages">ASP</acronym>.NET <acronym title="Model-View-Controller">MVC</acronym> sample blog engine. Next, he uploaded that RPM to <a href="http://susestudio.com/">SUSE Studio</a> and generated a VMWare image in ~10 minutes, fully configured, and was running the blog engine in Mono&#8217;s <acronym title="Active Server Pages">ASP</acronym>.NET <acronym title="Model-View-Controller">MVC</acronym>.</p>
<p>Miguel also showcased <a href="http://monotouch.net/">MonoTouch</a>, building a simple program in MonoDevelop on Mac OSX, and demonstrating it in the iPhone simulator. Including lots of pro-Linux banter and some <a href="http://tirania.org/blog/archive/2009/Oct-05.html" title="Miguel de Icaza's Blog: World Views">pokes at Richard Stallman</a>, Miguel kept the audience interested and amused, which is exactly what the last presentation in an 8-hour day needs.</p>
<p>On the whole, the StackOverflow DevDays conference was well done. I enjoyed myself even in those areas outside my expertise, and came away having learned something. Be prepared for a few advertisements for FogCreek during the breaks (well put together and enjoyable, but advertisements no less), but as the co-founder of <a href="http://stackoverflow.com">StackOverflow</a> is also a founder of FogCreek, it&#8217;s not un-expected. Was it worth my $99? I believe so. Do I recommend you go? If you have the time, and <a href="http://stackoverflow.carsonified.com/" title="StackOverflow DevDays Home">there&#8217;s a location near you</a>, then yes; check out the list of scheduled speakers for your event and see if there are any you&#8217;d be interested in.</p>
<p>As I mentioned in my <a href="http://blog.xpdm.us/2009/10/06/looking-forward-so-devdays-boston/">preview</a>, I took many pictures of the event, but have not had a chance to process them yet. I hope to do so tonight and have something to post by this evening.</p>
<p><strong>UPDATE</strong>: My first batch of pictures is now up. Check them out on <a href="http://www.flickr.com/photos/neoeinstein/sets/72157622407907283/" title="Flickr: StackOverflow DevDays: Boston">my Flickr account</a> and read my <a href="http://blog.xpdm.us/2009/10/09/stackoverflow-devdays-boston-the-pictures/">photographs article</a>.</p><ol class="footnotes"><li id="footnote_0_200" class="footnote">Ned&#8217;s <a href="http://nedbatchelder.com/blog/200910/devdays_boston.html" title="Ned Batchelder: DevDays Boston">DevDays blog post</a>, including slides. On Twitter: <a href="http://twitter.com/NedBat" title="Twitter: Ned Batchelder">@NedBat</a></li><li id="footnote_1_200" class="footnote">On twitter: <a href="http://twitter.com/danpilone" title="Twitter: Dan Pilone">@danpilone</a></li><li id="footnote_2_200" class="footnote">On Twitter: <a href="http://twitter.com/Spolsky" title="Twitter: Joel Spolsky">@Spolsky</a></li><li id="footnote_3_200" class="footnote">The only hosted source control option is <a href="http://mercurial.selenic.com/wiki/">Mercurial</a>; I didn&#8217;t get a chance to ask Joel why only Mercurial, though he assured us there were several reasons.</li><li id="footnote_4_200" class="footnote">Provided lunches included turkey or beef sandwiches or a veggie wrap along with a half-ounce bag of chips, apple, and cookie</li><li id="footnote_5_200" class="footnote">On Twitter: <a href="http://twitter.com/ChrisBowen" title="Twitter: Chris Bowen">@ChrisBowen</a></li><li id="footnote_6_200" class="footnote">On Twitter: <a href="http://twitter.com/jeresig" title="John Resig">@jresig</a></li><li id="footnote_7_200" class="footnote">On Twitter: <a href="http://twitter.com/migueldeicaza" title="Twitter: Miguel de Icaza">@migueldeicaza</a></li></ol><img src="http://feeds.feedburner.com/~r/xpdm/~4/6dteN8QOPBI" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://blog.xpdm.us/2009/10/08/stackoverflow-devdays-boston-in-review/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		<feedburner:origLink>http://blog.xpdm.us/2009/10/08/stackoverflow-devdays-boston-in-review/</feedburner:origLink></item>
		<item>
		<title>Wait, Wait… There’s a Blog for That!</title>
		<link>http://feedproxy.google.com/~r/xpdm/~3/S6xr2BaQ9lE/</link>
		<comments>http://blog.xpdm.us/2009/10/07/wait-wait-theres-a-blog-for-that/#comments</comments>
		<pubDate>Wed, 07 Oct 2009 13:00:15 +0000</pubDate>
		<dc:creator>Marcus Griep</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[blogs]]></category>
		<category><![CDATA[NPR]]></category>
		<category><![CDATA[radio]]></category>

		<guid isPermaLink="false">http://blog.xpdm.us/?p=186</guid>
		<description><![CDATA[If you&#8217;re like me, then you listen to a lot of NPR. Every Saturday at 1100, my radio turns on to listen to the crazy mechanics &#8220;Click &#038; Clack&#8221; on Car Talk followed by Wait, Wait&#8230; Don&#8217;t Tell Me! at noon1. Wait, Wait&#8230;, a weekly news quiz show, is a great way to pull some [...]]]></description>
			<content:encoded><![CDATA[<p>If you&#8217;re like me, then you listen to a lot of NPR. Every Saturday at 1100, my radio turns on to listen to the crazy mechanics &#8220;Click &#038; Clack&#8221; on <em><a href="http://www.cartalk.com/" title="Car Talk">Car Talk</a></em> followed by <em><a href="http://www.npr.org/programs/waitwait/" title="NPR: Wait, Wait... Don't Tell Me!">Wait, Wait&#8230; Don&#8217;t Tell Me!</a></em> at noon<sup><a href="http://blog.xpdm.us/2009/10/07/wait-wait-theres-a-blog-for-that/#footnote_0_186" id="identifier_0_186" class="footnote-link footnote-identifier-link" title="I&amp;#8217;m a member of NPR member station WBUR 90.9 Boston">1</a></sup>. <em>Wait, Wait&#8230;</em>, a weekly news quiz show, is a great way to pull some humor out of both the mundane and the off-beat news of the week wherein everyone&#8217;s ultimate goal is to get <a href="http://www.npr.org/templates/story/story.php?storyId=2100708" title="NPR: Bio of Carl Kasell">Carl Kasell</a>&#8216;s <a href="http://www.npr.org/programs/waitwait/features/messages.html" title="Wait, Wait...: Messages by Carl">voice on their home answering machine</a>. Yesterday, <a href="http://www.npr.org/templates/story/story.php?storyId=2101115" title="NPR: Bio of Peter Segal">Peter Segal</a>, the host of the show, announced that <em>Wait, Wait&#8230;</em> has <a href="http://www.npr.org/blogs/waitwait/2009/10/welcome_to_the_blog.html" title="Wait, Wait... Don't Blog Me!: Welcome To The Blog">decided to enter the blogosphere</a>.</p>
<blockquote cite="http://www.npr.org/blogs/waitwait/2009/10/welcome_to_the_blog.html"><p>
We&#8217;ve been following this &#8220;web-log&#8221; thing for a while&#8230; waiting to see if it was just another one of those internet<sup><a href="http://blog.xpdm.us/2009/10/07/wait-wait-theres-a-blog-for-that/#footnote_1_186" id="identifier_1_186" class="footnote-link footnote-identifier-link" title="Sic. The pedant in me wants to point out that Internet should be capitalized.  ">2</a></sup> fads, like dancing babies or keyboard cats or histories of dance. Dances. But it seems to be sticking, so we here at Wait, Wait thought it would be worth a try.
</p></blockquote>
<p>I&#8217;m intrigued. It&#8217;ll be another outlet for news humor that for one reason or another didn&#8217;t make it to air; a supplement between doses of Peter Segal, Mo Rocca, Paula Poundstone, Amy Dickinson, and all the other panelists.</p>
<p>You can also keep up with the <em>Wait, Wait&#8230;</em> crew on Twitter via <a href="http://twitter.com/waitwait" title="Twitter: Wait, Wait... Don't Tell Me!">@waitwait</a><sup><a href="http://blog.xpdm.us/2009/10/07/wait-wait-theres-a-blog-for-that/#footnote_2_186" id="identifier_2_186" class="footnote-link footnote-identifier-link" title="Various panelist Twitter accounts: @morocca, @paulapoundstone, @askingamy, @TomBodett, @KyrieMeMo, @adameft, and @petersagal">3</a></sup>.</p><ol class="footnotes"><li id="footnote_0_186" class="footnote">I&#8217;m a member of NPR member station <a href="http://www.wbur.org" title="WBUR">WBUR 90.9 Boston</a></li><li id="footnote_1_186" class="footnote">Sic. The pedant in me wants to point out that Internet should be capitalized. <img src='http://blog.xpdm.us/wp-includes/images/smilies/icon_razz.gif' alt=':-P' class='wp-smiley' /> </li><li id="footnote_2_186" class="footnote">Various panelist Twitter accounts: <a href="http://twitter.com/morocca" title="Twitter: Mo Rocca">@morocca</a>, <a href="http://twitter.com/paulapoundstone" title="Twitter: Paula Poundstone">@paulapoundstone</a>, <a href="http://twitter.com/askingamy" title="Twitter: Amy Dickinson">@askingamy</a>, <a href="http://twitter.com/TomBodett" title="Twitter: Tom Bodett">@TomBodett</a>, <a href="http://twitter.com/KyrieMeMo" title="Twitter: Kyrie O'Connor">@KyrieMeMo</a>, <a href="http://twitter.com/adameft" title="Twitter: Adam Felber">@adameft</a>, and <a href="http://twitter.com/petersagal" title="Twitter: Peter Sagal">@petersagal</a></li></ol><img src="http://feeds.feedburner.com/~r/xpdm/~4/S6xr2BaQ9lE" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://blog.xpdm.us/2009/10/07/wait-wait-theres-a-blog-for-that/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://blog.xpdm.us/2009/10/07/wait-wait-theres-a-blog-for-that/</feedburner:origLink></item>
		<item>
		<title>Looking Forward — SO DevDays: Boston</title>
		<link>http://feedproxy.google.com/~r/xpdm/~3/miemOjm5J3g/</link>
		<comments>http://blog.xpdm.us/2009/10/06/looking-forward-so-devdays-boston/#comments</comments>
		<pubDate>Wed, 07 Oct 2009 01:08:48 +0000</pubDate>
		<dc:creator>Marcus Griep</dc:creator>
				<category><![CDATA[Events]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[book:isbn=1590595009]]></category>
		<category><![CDATA[book:isbn=1590598385]]></category>
		<category><![CDATA[preview]]></category>
		<category><![CDATA[stackoverflow-devdays]]></category>

		<guid isPermaLink="false">http://blog.xpdm.us/?p=168</guid>
		<description><![CDATA[Tomorrow, October 7, I&#8217;ll be headed to the StackOverflow DevDays in Boston. I&#8217;m especially excited to see Joel Spolsky and Miguel de Icaza. I&#8217;ve been a fan of Joel&#8217;s insights, even if I don&#8217;t always agree. In my senior year of college, I received a copy of his book, The Best Software Writing I as [...]]]></description>
			<content:encoded><![CDATA[<p>Tomorrow, October 7, I&#8217;ll be headed to the <a href="http://www.stackoverflow.com">StackOverflow</a> <a href="http://stackoverflow.carsonified.com/" title="StackOverflow DevDays">DevDays</a> in <a href="http://stackoverflow.carsonified.com/events/boston/" title="StackOverflow DevDays: Boston">Boston</a>. I&#8217;m especially excited to see Joel Spolsky and Miguel de Icaza.</p>
<p>I&#8217;ve been a fan of <a href="http://www.joelonsoftware.com/" title="Joel on Software">Joel&#8217;s insights</a>, even if I don&#8217;t always agree. In my senior year of college, I received a copy of his book, <em>The Best Software Writing I</em> as an interview gift. In that book, Joel pulls together some great articles written by a very diverse group of people, all bringing their own insight to the world of software. When I began doing interviews from the &#8220;other side of the table&#8221;, I also found <em>Smart and Gets Things Done</em> to be a great read. Joel will be presenting on his company&#8217;s primary product <a href="http://www.fogbugz.com" title="FogBugz Bug and Issue Tracker">FogBugz</a>.</p>
<p>At the end of the day, Miguel will be presenting on something to do with <a href="http://www.mono-project.com">Mono</a>. Because Mono is such a &#8220;giant universe&#8221;, Miguel has <a href="http://tirania.org/blog/archive/2009/Sep-30.html" title="Feedback wanted: StackOverflow DevDays in Boston">solicited feedback as to which Mono topic should be the focus</a>. I&#8217;m interested to hear about <a href="http://www.monotouch.net">MonoTouch</a><sup><a href="http://blog.xpdm.us/2009/10/06/looking-forward-so-devdays-boston/#footnote_0_168" id="identifier_0_168" class="footnote-link footnote-identifier-link" title="Think the Mono/.NET framework and C# brought to the iPhone and iPod Touch.">1</a></sup> and Mono.Simd. There are a lot of value-added ways in which Mono differentiates itself, yet compliments, the .NET framework from Microsoft; I&#8217;m looking forward to hearing about the future of these and more developments.</p>
<p>Other topics to be presented include Python, the iPhone, <acronym title="Active Server Pages">ASP</acronym>.NET <acronym title="Model-View-Controller">MVC</acronym>, and JavaScript testing. Although it&#8217;s late, if you feel inclined, tickets can still be obtained for the event ($99 each), and registration is at 0800. WiFi is also being provided free of charge, so I&#8217;ll probably post an update during the event.</p>
<p>I&#8217;ll be bringing along my camera to take some photos, which I&#8217;ll be posting on <a href="http://www.flickr.com/photos/neoeinstein/sets/72157622407907283" title="My 'StackOverflow DevDays: Boston' Flickr Set">Flickr</a> after the event<sup><a href="http://blog.xpdm.us/2009/10/06/looking-forward-so-devdays-boston/#footnote_1_168" id="identifier_1_168" class="footnote-link footnote-identifier-link" title="Right now, you&amp;#8217;ll only see a picture of Lucy, my cat, from when she was a kitten.">2</a></sup>. If you see me around, feel free to introduce yourself or pose for a picture.</p>
<p><strong>UPDATE</strong>: My first batch of pictures is now up. Check them out on <a href="http://www.flickr.com/photos/neoeinstein/sets/72157622407907283/" title="Flickr: StackOverflow DevDays: Boston">my Flickr account</a> and read my <a href="http://blog.xpdm.us/2009/10/09/stackoverflow-devdays-boston-the-pictures/">photographs article</a>.</p><ol class="footnotes"><li id="footnote_0_168" class="footnote">Think the Mono/.NET framework and C# brought to the iPhone and iPod Touch.</li><li id="footnote_1_168" class="footnote">Right now, you&#8217;ll only see a picture of <a href="http://www.flickr.com/photos/neoeinstein/sets/72157601259519497/" title="My 'Lucy' Flickr Set">Lucy</a>, my cat, from when she was a kitten.</li></ol><img src="http://feeds.feedburner.com/~r/xpdm/~4/miemOjm5J3g" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://blog.xpdm.us/2009/10/06/looking-forward-so-devdays-boston/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://blog.xpdm.us/2009/10/06/looking-forward-so-devdays-boston/</feedburner:origLink></item>
		<item>
		<title>Skein, Threefish, and Mono.Simd — Part 4</title>
		<link>http://feedproxy.google.com/~r/xpdm/~3/pJElQNDjSvY/</link>
		<comments>http://blog.xpdm.us/2009/10/05/skein-threefish-and-mono-simd-part-4/#comments</comments>
		<pubDate>Mon, 05 Oct 2009 14:00:01 +0000</pubDate>
		<dc:creator>Marcus Griep</dc:creator>
				<category><![CDATA[Mono]]></category>
		<category><![CDATA[SHA3]]></category>
		<category><![CDATA[SIMD]]></category>

		<guid isPermaLink="false">http://blog.xpdm.us/?p=114</guid>
		<description><![CDATA[In my , I took a look at some of the framework considerations and alignment in Mono.Simd. Getting back to my experiment, I&#8217;ve been getting respectable results from my SIMD implementation of Threefish256. Threefish256Simd was taking approximately 20% longer than the Fajardo reference implementation, but something had to be holding the SIMD version back. Looking [...]]]></description>
			<content:encoded><![CDATA[<p>In my <a href="http://blog.xpdm.us/2009/10/03/skein-threefish-and-mono-simd-interlude/" title='Skein, Threefish, and Mono.Simd — Interlude'>previous article</a>, I took a look at some of the framework considerations and alignment in Mono.Simd. Getting back to my experiment, I&#8217;ve been getting respectable results from my <acronym title="Single Instruction, Multiple Data">SIMD</acronym> implementation of Threefish256. Threefish256Simd was taking approximately 20% longer than the Fajardo reference implementation, but something had to be holding the <acronym title="Single Instruction, Multiple Data">SIMD</acronym> version back.</p>
<p>Looking back to the machine code, I found that even aligned loads via the <acronym title="Application Programming Interface">API</acronym> from arrays were coming back pretty slowly with a number of extra moves and extraneous temporary variable. So, I eliminated the pre-calculated key schedule altogether in favor of calculating the key permutations on the fly as in Fajardo&#8217;s implementation. With some specially crafted local vectors for the key and tweak values, this changed the key permutation lines in my prior listed source to look something like this<sup><a href="http://blog.xpdm.us/2009/10/05/skein-threefish-and-mono-simd-part-4/#footnote_0_114" id="identifier_0_114" class="footnote-link footnote-identifier-link" title="Redundant LoadAligned and StoreAligned calls have been removed for readability">1</a></sup>:</p>
<pre class="brush: csharp; light: true; title: ;">
bB = bB + k1 + t0h;
bA = bB + bB + k0 + t1l;
</pre>
<p>Later subkeys add in a subkey counter as noted in the <a href="http://www.skein-hash.info/sites/default/files/skein1.2.pdf">Skein specification</a>.</p>
<p>With these changes made, I re-ran my tests. This was the optimization I needed. The <acronym title="Single Instruction, Multiple Data">SIMD</acronym>-enabled Threefish256 algorithm was now running in less than half the execution time of the reference implementation: 3.8 <acronym title="nanoseconds">ns</acronym> to 9.3 <acronym title="nanoseconds">ns</acronym>. I had been able to significantly beat my hypothesis.</p>
<p><small>Output of test/timing program<sup><a href="http://blog.xpdm.us/2009/10/05/skein-threefish-and-mono-simd-part-4/#footnote_1_114" id="identifier_1_114" class="footnote-link footnote-identifier-link" title="This output was created with the Skein v1.1 specification on an EeePC 900A with an x86 Intel Atom processor.">2</a></sup></small></p>
<pre class="brush: plain; class-name: with-caption; light: true; title: ; wrap-lines: false;">
mgriep@metis:~$ mono-2.4 mono -O=all,-shared Program.exe
Encrypt:
61773FAC03A37433 B1EFF698BC88802B 22A47D9E7D7F8005 1EC6162F214FB0EC
61773FAC03A37433 B1EFF698BC88802B 22A47D9E7D7F8005 1EC6162F214FB0EC
Good!
Cross Decrypt:
0000000000000000 0000000000000001 0000000000000002 0000000000000003
0000000000000000 0000000000000001 0000000000000002 0000000000000003
Good!
Speed test of 100000000 iterations with an unroll of 100
Encryption:
Non Simd: 00:15:49.8701366, Average: 00:00:00.0000094
    Simd: 00:06:39.0892858, Average: 00:00:00.0000039
Speedup with parallelism = 2: 2.38009430570386
Efficiency: 1.19004715285193
Decryption:
Non Simd: 00:15:40.1476703, Average: 00:00:00.0000094
    Simd: 00:06:29.0575232, Average: 00:00:00.0000038
Speedup with parallelism = 2: 2.41647472221403
Efficiency: 1.20823736110702
Overhead: 00:00:00.0026434, Average: 00:00:00
</pre>
<p>The speedup, approximately 2.4, equates to an efficiency of 120%. This is a super-linear speedup for degree of parallelism equal to two. I assumed parallelism = 2 because two long integer operations can take place simultaneously through the <code>XMM</code> registers. Just moving to the <code>XMM</code> registers incurs some additional overhead, so a super-linear speedup was unexpected.</p>
<p>The extra speedup came from a combination of architecture and the Threefish algorithm. Specifically, Threefish operates on 64-bit words. As my computer was 32-bit, long integer operations are broken up by the main processor into multiple micro-ops and therefore isn&#8217;t quite as efficient as on a 64-bit processor.</p>
<p>Thus, by moving the arithmetic out of the integer processor and onto the <acronym title="Streaming SIMD Extensions">SSE</acronym> processor, I was able to gain the benefit of the larger word width. Add to this the parallelism gained by performing two operations at a time, and subtract the overhead from moving data into and out of the <code>XMM</code> registers, and you get the exhibited performance.</p>
<p>While I haven&#8217;t tested on the 64-bit platform, I would expect the <acronym title="Single Instruction, Multiple Data">SIMD</acronym> version to be faster, but not by as much on the 32-bit platform, since the larger word width would eat some of the efficiency gain from moving onto the <acronym title="Streaming SIMD Extensions">SSE</acronym> processor.</p>
<p>Overall, I was very happy with the experience developing with Mono.Simd. There are several things that I would love to see added or changed (aligned moves by default, alignable objects, the <code>psllq %xmm1,%xmm0</code> instruction<sup><a href="http://blog.xpdm.us/2009/10/05/skein-threefish-and-mono-simd-part-4/#footnote_2_114" id="identifier_2_114" class="footnote-link footnote-identifier-link" title="psllq %xmm1,%xmm0 is a packed quadword (long) logical shift left where the components of XMM0 are shifted left the number of bits specified by the respective component in XMM1.">3</a></sup> exposed). Nonetheless, the <acronym title="Application Programming Interface">API</acronym> is still evolving, and I expect I&#8217;ll find myself contributing a few patches to scratch some of the itches I&#8217;ve come across.</p>
<p>I hope that you&#8217;ve found this an interesting walkthrough of my first experience with Mono.Simd. If you want to inspect my code in more detail, check out my <a href="http://github.com/neoeinstein/xpdm/tree/simd-test">xpdm Github repository</a>. You&#8217;ll find <code>Threefish256Simd</code> under the <code>Xpdm.Security.Cryptography</code> namespace<sup><a href="http://blog.xpdm.us/2009/10/05/skein-threefish-and-mono-simd-part-4/#footnote_3_114" id="identifier_3_114" class="footnote-link footnote-identifier-link" title="The code has not yet been updated to use the new Skein v1.2 rotation constants">4</a></sup>. I&#8217;d love to hear about your experiences with Mono.Simd, if any be had!</p><ol class="footnotes"><li id="footnote_0_114" class="footnote">Redundant <code>LoadAligned</code> and <code>StoreAligned</code> calls have been removed for readability</li><li id="footnote_1_114" class="footnote">This output was created with the Skein v1.1 specification on an EeePC 900A with an x86 Intel Atom processor.</li><li id="footnote_2_114" class="footnote"><code>psllq %xmm1,%xmm0</code> is a packed quadword (long) logical shift left where the components of <code>XMM0</code> are shifted left the number of bits specified by the respective component in <code>XMM1</code>.</li><li id="footnote_3_114" class="footnote">The code has not yet been updated to use the new Skein v1.2 rotation constants</li></ol><img src="http://feeds.feedburner.com/~r/xpdm/~4/pJElQNDjSvY" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://blog.xpdm.us/2009/10/05/skein-threefish-and-mono-simd-part-4/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		<feedburner:origLink>http://blog.xpdm.us/2009/10/05/skein-threefish-and-mono-simd-part-4/</feedburner:origLink></item>
	</channel>
</rss><!-- Dynamic page generated in 3.182 seconds. --><!-- Cached page generated by WP-Super-Cache on 2013-05-01 08:12:17 --><!-- Compression = gzip -->
