<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Daniel Veazey</title>
	<atom:link href="http://www.danielveazey.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.danielveazey.com</link>
	<description>Words and pictures</description>
	<lastBuildDate>Tue, 03 Aug 2010 00:18:28 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Gimp Layer Mask</title>
		<link>http://www.danielveazey.com/gimp/gimp-layer-mask/</link>
		<comments>http://www.danielveazey.com/gimp/gimp-layer-mask/#comments</comments>
		<pubDate>Sun, 01 Aug 2010 17:50:43 +0000</pubDate>
		<dc:creator>Daniel Veazey</dc:creator>
				<category><![CDATA[Gimp]]></category>
		<category><![CDATA[Photography]]></category>
		<category><![CDATA[layer mask]]></category>
		<category><![CDATA[paths tool]]></category>

		<guid isPermaLink="false">http://www.danielveazey.com/?p=202</guid>
		<description><![CDATA[Here is a way to use layer masks and the paths tool to merge parts of two photos into one composite image. We&#8217;ll start by taking two photos of a television, using a tripod to keep the position of the camera exactly the same. We won&#8217;t use a flash, so the first photo will have [...]]]></description>
			<content:encoded><![CDATA[<p>Here is a way to use layer masks and the paths tool to merge parts of two photos into one composite image. We&#8217;ll start by taking two photos of a television, using a tripod to keep the position of the camera exactly the same. We won&#8217;t use a flash, so the first photo will have a slower shutter speed to get the correct exposure on everything around the TV. However, this makes the image showing on the TV way overexposed and blown out. So we&#8217;ll take a second photo with a much faster shutter speed to get the correct exposure on the screen.</p>
<p><a href="http://www.danielveazey.com/wp-content/uploads/2010/08/room.jpg" rel="lightbox[202]"><img class="aligncenter size-medium wp-image-209" title="Room exposed correctly" src="http://www.danielveazey.com/wp-content/uploads/2010/08/room-300x200.jpg" alt="" width="300" height="200" /></a></p>
<p><a href="http://www.danielveazey.com/wp-content/uploads/2010/08/screen.jpg" rel="lightbox[202]"><img class="aligncenter size-medium wp-image-210" title="Screen exposed correctly" src="http://www.danielveazey.com/wp-content/uploads/2010/08/screen-300x200.jpg" alt="" width="300" height="200" /></a></p>
<p><span id="more-202"></span>We will use Gimp to put these two photos together. We&#8217;ll open both photos as layers. You can click on File -&gt; Open as Layers, or you can press Ctrl-Alt-O. On the layers palette, we&#8217;ll name the two layers &#8220;screen&#8221; and &#8220;room.&#8221;</p>
<p>Even though I used a tripod, my two photos don&#8217;t line up exactly, so I&#8217;ll need to correct that.</p>
<p><a href="http://www.danielveazey.com/wp-content/uploads/2010/08/move_tool.png" rel="lightbox[202]"><img class="aligncenter size-medium wp-image-207" title="Layers don't quite line up, so we use the move tool." src="http://www.danielveazey.com/wp-content/uploads/2010/08/move_tool-300x240.png" alt="" width="300" height="240" /></a></p>
<p>I put the screen layer above the room layer and set it to a low opacity. Then I used the move tool to get it lined up correctly.</p>
<p><a href="http://www.danielveazey.com/wp-content/uploads/2010/08/layer_moved.png" rel="lightbox[202]"><img class="aligncenter size-medium wp-image-206" title="Now the layers are lined up." src="http://www.danielveazey.com/wp-content/uploads/2010/08/layer_moved-300x240.png" alt="" width="300" height="240" /></a></p>
<p>Now I reset the opacity on the screen layer to 100% and move that layer below the room layer.</p>
<p><a href="http://www.danielveazey.com/wp-content/uploads/2010/08/rearranged_layers.png" rel="lightbox[202]"><img class="aligncenter size-medium wp-image-208" title="Move the screen layer to the bottom." src="http://www.danielveazey.com/wp-content/uploads/2010/08/rearranged_layers-198x300.png" alt="" width="198" height="300" /></a></p>
<p>Right-click on the top layer and choose &#8220;Add layer mask.&#8221; In the box that pops up, choose to fill it with White (full opacity). On the layers palette, you&#8217;ll see a small white box next to the thumbnail of the top layer, and it will have a white border around it to indicate that it is the part of the layer you are now working with.</p>
<p>Here is some information about layer masks, from the <a href="http://docs.gimp.org/2.6/en/gimp-dialogs-structure.html#gimp-layer-mask" target="_blank">Gimp documentation</a>:</p>
<blockquote><p>A transparency mask can be added to each layer, it&#8217;s called Layer           mask. A layer mask has the same size and same pixel number as  the           layer to which it is attached. Every pixel of the mask can  then be           coupled with a pixel at the same location in the layer. The  mask is           a set of pixels in gray-tone on a value scale from 0 to 255.  The           pixels with a value 0 are black and give a full transparency  to the           coupled pixel in the layer. The pixels with a value 255 are  white           and give a full opacity to the coupled pixel in the layer.</p></blockquote>
<p>Use the paths tool to draw around the edges of the screen. My tutorial on how to use the paths tool <a href="http://www.danielveazey.com/gimp/11/">can be found here</a>. Make sure you get the path right along the edge of the screen. It doesn&#8217;t hurt to get some outside the screen, but you want to make sure the blown out image is completely within the path you&#8217;re drawing. Then in the tool dialogue, click the &#8220;Selection from path&#8221; button.</p>
<p><a href="http://www.danielveazey.com/wp-content/uploads/2010/08/selection_from_path.png" rel="lightbox[202]"><img class="aligncenter size-medium wp-image-211" title="Draw a path around the screen and choose &quot;Selection from path.&quot;" src="http://www.danielveazey.com/wp-content/uploads/2010/08/selection_from_path-300x240.png" alt="" width="300" height="240" /></a></p>
<p>Choose the paint bucket tool and make sure the foreground color is black. Click once inside the selection border. This fills the selection with black. But because we&#8217;re working on the layer mask, it simply makes everything on that layer, in that selection, invisible. So the image on the layer below now becomes visible through the &#8220;hole&#8221; we created in the layer mask above it.</p>
<p><a href="http://www.danielveazey.com/wp-content/uploads/2010/08/bucket_fill_tool.png" rel="lightbox[202]"><img class="aligncenter size-medium wp-image-204" title="Filling in the selection with the Bucket Fill Tool." src="http://www.danielveazey.com/wp-content/uploads/2010/08/bucket_fill_tool-300x240.png" alt="" width="300" height="240" /></a></p>
<p>Now we can flatten our image under the Image menu, and there we have our composite image with the correct exposure for both the TV screen and the areas around it.</p>
<p><a href="http://www.danielveazey.com/wp-content/uploads/2010/08/finished.jpg" rel="lightbox[202]"><img class="aligncenter size-medium wp-image-205" title="The finished image with both the screen and the room correctly exposed." src="http://www.danielveazey.com/wp-content/uploads/2010/08/finished-300x200.jpg" alt="" width="300" height="200" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.danielveazey.com/gimp/gimp-layer-mask/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Arkansas Reciprocity Map</title>
		<link>http://www.danielveazey.com/inkscape/arkansas-reciprocity-map/</link>
		<comments>http://www.danielveazey.com/inkscape/arkansas-reciprocity-map/#comments</comments>
		<pubDate>Fri, 23 Jul 2010 16:53:49 +0000</pubDate>
		<dc:creator>Daniel Veazey</dc:creator>
				<category><![CDATA[Inkscape]]></category>
		<category><![CDATA[Arkansas]]></category>
		<category><![CDATA[CCW]]></category>
		<category><![CDATA[CHL]]></category>
		<category><![CDATA[concealed carry]]></category>
		<category><![CDATA[map]]></category>
		<category><![CDATA[reciprocal]]></category>
		<category><![CDATA[reciprocity]]></category>

		<guid isPermaLink="false">http://www.danielveazey.com/?p=198</guid>
		<description><![CDATA[Creative Commons is a neat thing. I wanted to make a map of states that have concealed carry reciprocity with Arkansas, but I didn&#8217;t want to draw the map myself. So I started looking for a map in .SVG format so I could edit it in Inkscape. I found this map on Wikipedia: http://en.wikipedia.org/wiki/File:Map_of_USA_with_state_names.svg Then [...]]]></description>
			<content:encoded><![CDATA[<p>Creative Commons is a neat thing. I wanted to make a map of states that have concealed carry reciprocity with Arkansas, but I didn&#8217;t want to draw the map myself. So I started looking for a map in .SVG format so I could edit it in Inkscape. I found this map on Wikipedia:</p>
<p><a href="http://en.wikipedia.org/wiki/File:Map_of_USA_with_state_names.svg">http://en.wikipedia.org/wiki/File:Map_of_USA_with_state_names.svg</a></p>
<p>Then all I had to do was recolor it to fit my needs. I also added a color key and a title. Here is the end result:</p>
<p><a href="http://www.danielveazey.com/wp-content/uploads/2010/07/reciprocity_map.png" rel="lightbox[198]"><img class="aligncenter size-medium wp-image-199" title="reciprocity_map" src="http://www.danielveazey.com/wp-content/uploads/2010/07/reciprocity_map-300x212.png" alt="" width="300" height="212" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.danielveazey.com/inkscape/arkansas-reciprocity-map/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Using keyframes in Kdenlive</title>
		<link>http://www.danielveazey.com/kdenlive/using-keyframes-in-kdenlive/</link>
		<comments>http://www.danielveazey.com/kdenlive/using-keyframes-in-kdenlive/#comments</comments>
		<pubDate>Sun, 27 Jun 2010 17:30:23 +0000</pubDate>
		<dc:creator>Daniel Veazey</dc:creator>
				<category><![CDATA[Kdenlive]]></category>
		<category><![CDATA[composite]]></category>
		<category><![CDATA[keyframes]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[open source]]></category>
		<category><![CDATA[titles]]></category>
		<category><![CDATA[transition]]></category>
		<category><![CDATA[video editing]]></category>

		<guid isPermaLink="false">http://www.danielveazey.com/?p=194</guid>
		<description><![CDATA[Kid asked me how to use keyframes in Kdenlive. Keyframes are a good way to move things around on the screen in a video. They can also be used for some other things, but for now we&#8217;ll just stick to using them to create movement. The first thing we want to do is add the [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.danielveazey.com/inkscape/making-kdenlive-titles-with-inkscape/comment-page-1/#comment-1123">Kid asked me how to use keyframes in Kdenlive.</a> Keyframes are a good way to move things around on the screen in a video. They can also be used for some other things, but for now we&#8217;ll just stick to using them to create movement.</p>
<p><span id="more-194"></span>The first thing we want to do is add the Composite transition to whatever clip we want to move around. Your clip could be a piece of video, or a picture, or a .png file with titles that you want to scroll across the screen. Drag the clip from the project tree to the timeline and then right-click on the clip. Click on Add Transition -&gt; Composite.</p>
<p><a href="http://www.danielveazey.com/wp-content/uploads/2010/06/composite.png" rel="lightbox[194]"><img class="aligncenter size-medium wp-image-191" title="Add Transition -&gt; Composite" src="http://www.danielveazey.com/wp-content/uploads/2010/06/composite-300x240.png" alt="" width="300" height="240" /></a></p>
<p>A new thing should appear that looks kind of like a clip overlapping your clip. Click on it and drag the ends to match up with your clip. They should snap into place. Above the timeline on the left should be three tabs: Project Tree, Effect Stack, and Transition. If you&#8217;re not already on it, click on the Transition tab. The red rectangle in the dark area represents where on the screen your video appears. Right now it&#8217;s centered and covering the whole screen. Just below that is another timeline of sorts. On the left end of the timeline you should see a red triangle pointing down and a black triangle pointing up. The red triangle marks where a keyframe is. Kdenlive always puts a keyframe at the beginning of the clip for you.</p>
<p><a href="http://www.danielveazey.com/wp-content/uploads/2010/06/keyframe1.png" rel="lightbox[194]"><img class="aligncenter size-medium wp-image-193" title="Keyframe on the left" src="http://www.danielveazey.com/wp-content/uploads/2010/06/keyframe1-300x240.png" alt="" width="300" height="240" /></a></p>
<p>To add another keyframe, drag the black triangle to the point on the timeline where you want to add it, and click the Add Keyframe button. It&#8217;s the fourth one from the left, just below the timeline.</p>
<p><a href="http://www.danielveazey.com/wp-content/uploads/2010/06/add_keyframe.png" rel="lightbox[194]"><img class="aligncenter size-medium wp-image-188" title="Add Keyframe" src="http://www.danielveazey.com/wp-content/uploads/2010/06/add_keyframe-300x240.png" alt="" width="300" height="240" /></a></p>
<p>So with keyframes, it basically tells Kdenlive where you want the video to be at a certain points. Kdenlive takes that information and moves the video between the two points over the course of the timeline between keyframes. For example, let&#8217;s say we wanted the video to move off the bottom right corner of the screen. We&#8217;ll just drag the red rectangle down and to the right while the black triangle is lined up with our keyframe. You&#8217;ll see in the project monitor on the right that the video has moved the same as the red triangle on the Transition tab. Also, Kdenlive draws a red line representing the path that the video will follow between the two keyframes.</p>
<p><a href="http://www.danielveazey.com/wp-content/uploads/2010/06/changing_composite.png" rel="lightbox[194]"><img class="aligncenter size-medium wp-image-190" title="Moving the video" src="http://www.danielveazey.com/wp-content/uploads/2010/06/changing_composite-300x240.png" alt="" width="300" height="240" /></a></p>
<p>Now we can add another keyframe farther along the timeline and move the video in a different direction. Just move the black arrow to the new point, click Add Keyframe, and drag the video to the new spot on the timeline. The video in the project monitor moves accordingly, and Kdenlive draws another red line showing where the video will move across the screen.</p>
<p><a href="http://www.danielveazey.com/wp-content/uploads/2010/06/another_keyframe.png" rel="lightbox[194]"><img class="aligncenter size-medium wp-image-189" title="another_keyframe" src="http://www.danielveazey.com/wp-content/uploads/2010/06/another_keyframe-300x240.png" alt="" width="300" height="240" /></a></p>
<p>If you make a mistake while editing keyframes, don&#8217;t press Ctrl-Z, because Kdenlive will remove all the keyframe edits you have made since adding the composite transition. To get rid of a keyframe, you can move the black triangle to line up with the one you don&#8217;t want and click the Delete Keyframe button.</p>
<p><a href="http://www.danielveazey.com/wp-content/uploads/2010/06/delete_keyframe.png" rel="lightbox[194]"><img class="aligncenter size-medium wp-image-192" title="Delete Keyframe" src="http://www.danielveazey.com/wp-content/uploads/2010/06/delete_keyframe-300x240.png" alt="" width="300" height="240" /></a></p>
<p>Now if you want to make titles scroll across the screen, all you have to do is create the titles using Inkscape. Make sure they have a transparent background and export them as a .png file in Inkscape. Import that file as a clip in Kdenlive. Right-click on it in the Project Tree and click on Clip Properties. Make sure the transparent background box is checked. Then drag the titles clip to the timeline. It should already have a Composite transition attached to it, but if it doesn&#8217;t, just add it with the method shown above. Drag the end of the clip to make it as long as you want it to be. On the transition tab, click the first button on the left below the timeline and resize the clip to its original size. Then position the red rectangle to where the top of the clip is below the screen. You can click on the first button below the timeline and align it to center horizontally. Move the black triangle to the end of the clip and add a new keyframe. Drag the red rectangle so the bottom is above the top of the screen. Align it to center horizontally again, so the titles will scroll straight up and down.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.danielveazey.com/kdenlive/using-keyframes-in-kdenlive/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>World Cup at Smoke &amp; Barrell</title>
		<link>http://www.danielveazey.com/activities/world-cup-at-smoke-barrell/</link>
		<comments>http://www.danielveazey.com/activities/world-cup-at-smoke-barrell/#comments</comments>
		<pubDate>Wed, 23 Jun 2010 17:31:54 +0000</pubDate>
		<dc:creator>Daniel Veazey</dc:creator>
				<category><![CDATA[Activities]]></category>
		<category><![CDATA[Photography]]></category>
		<category><![CDATA[Arkansas]]></category>
		<category><![CDATA[Fayetteville]]></category>
		<category><![CDATA[smoke & barrel]]></category>
		<category><![CDATA[soccer]]></category>
		<category><![CDATA[world cup]]></category>

		<guid isPermaLink="false">http://www.danielveazey.com/?p=186</guid>
		<description><![CDATA[I took my camera to Smoke &#38; Barrel in Fayetteville to take pictures of people watching USA vs. Algeria in the World Cup. Here are some of the pictures I took.]]></description>
			<content:encoded><![CDATA[<p>I took my camera to Smoke &amp; Barrel in Fayetteville to take pictures of people watching USA vs. Algeria in the World Cup. Here are some of the pictures I took.</p>
<p><object width="400" height="300"><param name="flashvars" value="offsite=true&#038;lang=en-us&#038;page_show_url=%2Fphotos%2Fdanielveazey%2Fsets%2F72157624216342685%2Fshow%2F&#038;page_show_back_url=%2Fphotos%2Fdanielveazey%2Fsets%2F72157624216342685%2F&#038;set_id=72157624216342685&#038;jump_to="></param><param name="movie" value="http://www.flickr.com/apps/slideshow/show.swf?v=71649"></param><param name="allowFullScreen" value="true"></param><embed type="application/x-shockwave-flash" src="http://www.flickr.com/apps/slideshow/show.swf?v=71649" allowFullScreen="true" flashvars="offsite=true&#038;lang=en-us&#038;page_show_url=%2Fphotos%2Fdanielveazey%2Fsets%2F72157624216342685%2Fshow%2F&#038;page_show_back_url=%2Fphotos%2Fdanielveazey%2Fsets%2F72157624216342685%2F&#038;set_id=72157624216342685&#038;jump_to=" width="400" height="300"></embed></object></p>
]]></content:encoded>
			<wfw:commentRss>http://www.danielveazey.com/activities/world-cup-at-smoke-barrell/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>The linux-minidisc project</title>
		<link>http://www.danielveazey.com/linux/the-linux-minidisc-project/</link>
		<comments>http://www.danielveazey.com/linux/the-linux-minidisc-project/#comments</comments>
		<pubDate>Mon, 14 Jun 2010 07:30:51 +0000</pubDate>
		<dc:creator>Daniel Veazey</dc:creator>
				<category><![CDATA[Gadgetry]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Music]]></category>
		<category><![CDATA[minidisc]]></category>
		<category><![CDATA[sony]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://www.danielveazey.com/?p=182</guid>
		<description><![CDATA[With Sony being the proprietary fools that they are, I have explained how to set up VirtualBox on your Linux OS so you can run Windows, so you can access files on your Sony MiniDisc Walkman. Now I am going to tell you about another, more attractive solution: The linux-minidisc project. From their website: Welcome [...]]]></description>
			<content:encoded><![CDATA[<p><!-- 		@page { margin: 0.79in } 		P { margin-bottom: 0.08in } -->With Sony being the proprietary fools that they are, I have explained how to set up <a href="http://www.danielveazey.com/linux/virtualbox-setup-complete/">VirtualBox on your Linux OS</a> so you can run Windows, so you can access files on your Sony MiniDisc Walkman. Now I am going to tell you about another, more attractive solution: <a href="https://wiki.physik.fu-berlin.de/linux-minidisc/doku.php">The linux-minidisc project</a>. <span id="more-182"></span>From their website:</p>
<blockquote><p>Welcome to the linux-minidisc Wiki, dedicated to collecting as much information as possible regarding NetMD/HiMD hardware in order to get it to work on Linux, MacOS X and *BSD.</p></blockquote>
<p>The linux-minidisc project offers an open-source software package called QHiMDTransfer. It has an interface similar to SonicStage, without all the bloating that SonicStage has. Here is a screenshot:</p>
<div id="attachment_183" class="wp-caption aligncenter" style="width: 310px"><a href="http://www.danielveazey.com/wp-content/uploads/2010/06/qhimdtransfer.png" rel="lightbox[182]"><img class="size-medium wp-image-183" title="QHiMDTransfer" src="http://www.danielveazey.com/wp-content/uploads/2010/06/qhimdtransfer-300x240.png" alt="" width="300" height="240" /></a><p class="wp-caption-text">Screenshot of QHiMDTransfer</p></div>
<p>It is still a work in progress, but it is exciting to see what Adrian Glaubitz and others have accomplished so far. There are several ways to get involved with the project. Just check out their list of tasks.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.danielveazey.com/linux/the-linux-minidisc-project/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The bike saga continues</title>
		<link>http://www.danielveazey.com/python/the-bike-saga-continues/</link>
		<comments>http://www.danielveazey.com/python/the-bike-saga-continues/#comments</comments>
		<pubDate>Wed, 09 Jun 2010 06:34:40 +0000</pubDate>
		<dc:creator>Daniel Veazey</dc:creator>
				<category><![CDATA[Python]]></category>
		<category><![CDATA[bike]]></category>
		<category><![CDATA[combination lock]]></category>
		<category><![CDATA[lists]]></category>
		<category><![CDATA[loops]]></category>
		<category><![CDATA[strings]]></category>

		<guid isPermaLink="false">http://www.danielveazey.com/?p=179</guid>
		<description><![CDATA[I now know that the combination to my bike lock does not contain both a 1 and a 4. I thought it did, but none of the 302 combinations from my previous program worked. But I haven&#8217;t given up hope. Another thing that I seemed to remember was that it had double digits in it [...]]]></description>
			<content:encoded><![CDATA[<p>I now know that the combination to my bike lock does not contain both a 1 and a 4. I thought it did, but none of the 302 combinations from <a href="http://www.danielveazey.com/python/working-on-the-bike-problem-with-python/">my previous program</a> worked. But I haven&#8217;t given up hope. <span id="more-179"></span>Another thing that I seemed to remember was that it had double digits in it somewhere, like 1123 or 4425 or something like that. So I wrote another program to list those combinations. But I didn&#8217;t want to list anything that I&#8217;ve already tried, so I got a little bit fancier with this program. Also, I put annotated comments in this program. It&#8217;s always a good idea to annotate your programs, especially if you&#8217;re going to show them to someone else. It makes it easier for the person reading it to understand why you&#8217;ve added a particular bit of code. And if you later forget why you wrote a program a certain way, your comments will help you remember. Python ignores anything on a line after a # character, so that is the method for writing comments in your programs. Let&#8217;s take a look:</p>
<div id="wpshdo_1" class="wp-synhighlighter-outer"><div id="wpshdt_1" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_1"></a><a id="wpshat_1" class="wp-synhighlighter-title" href="#codesyntax_1"  onClick="javascript:wpsh_toggleBlock(1)" title="Click to show/hide code block">combos3.py</a></td><td align="right"><a href="#codesyntax_1" onClick="javascript:wpsh_code(1)" title="Show code only"><img border="0" style="border: 0 none" src="http://www.danielveazey.com/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_1" onClick="javascript:wpsh_print(1)" title="Print code"><img border="0" style="border: 0 none" src="http://www.danielveazey.com/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://www.danielveazey.com/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://www.danielveazey.com/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_1" class="wp-synhighlighter-inner" style="display: block;"><pre class="python" style="font-family:monospace;">master = <span class="br0">&#91;</span><span class="br0">&#93;</span> <span class="co1">#create a list of combinations i've already tried in a previous program</span>
<span class="kw1">for</span> a <span class="kw1">in</span> <span class="kw2">range</span> <span class="br0">&#40;</span>0, 6<span class="br0">&#41;</span>:
    <span class="kw1">for</span> b <span class="kw1">in</span> <span class="kw2">range</span> <span class="br0">&#40;</span>0, 6<span class="br0">&#41;</span>:
        <span class="kw1">for</span> c <span class="kw1">in</span> <span class="kw2">range</span> <span class="br0">&#40;</span>0, 6<span class="br0">&#41;</span>:
            <span class="kw1">for</span> d <span class="kw1">in</span> <span class="kw2">range</span> <span class="br0">&#40;</span>0, 6<span class="br0">&#41;</span>:
                combo = <span class="kw2">str</span><span class="br0">&#40;</span>a+1<span class="br0">&#41;</span> + <span class="kw2">str</span><span class="br0">&#40;</span>b+1<span class="br0">&#41;</span> + <span class="kw2">str</span><span class="br0">&#40;</span>c+1<span class="br0">&#41;</span> + <span class="kw2">str</span><span class="br0">&#40;</span>d+1<span class="br0">&#41;</span>
                <span class="kw1">if</span> <span class="st0">&quot;1&quot;</span> <span class="kw1">in</span> combo <span class="kw1">and</span> <span class="st0">&quot;4&quot;</span> <span class="kw1">in</span> combo:
                    master.<span class="me1">append</span><span class="br0">&#40;</span>combo<span class="br0">&#41;</span> <span class="co1">#add combinations with both a 1 and a 4 to the master list</span>
possible = <span class="nu0">0</span> <span class="co1">#to keep track of the total number of possible combinations that meet the previously mentioned criteria</span>
combo_two = <span class="st0">&quot;0000&quot;</span> <span class="co1">#to set up a way to prevent counting &quot;double doubles&quot; twice</span>
<span class="kw1">for</span> a <span class="kw1">in</span> <span class="kw2">range</span> <span class="br0">&#40;</span>0, 6<span class="br0">&#41;</span>:
    <span class="kw1">for</span> b <span class="kw1">in</span> <span class="kw2">range</span> <span class="br0">&#40;</span>0, 6<span class="br0">&#41;</span>:
        <span class="kw1">for</span> c <span class="kw1">in</span> <span class="kw2">range</span> <span class="br0">&#40;</span>0, 6<span class="br0">&#41;</span>:
	    <span class="kw1">for</span> d <span class="kw1">in</span> <span class="kw2">range</span> <span class="br0">&#40;</span>0, 6<span class="br0">&#41;</span>:
                combo = <span class="kw2">str</span><span class="br0">&#40;</span>a+1<span class="br0">&#41;</span> + <span class="kw2">str</span><span class="br0">&#40;</span>b+1<span class="br0">&#41;</span> + <span class="kw2">str</span><span class="br0">&#40;</span>c+1<span class="br0">&#41;</span> + <span class="kw2">str</span><span class="br0">&#40;</span>d+<span class="nu0">1</span><span class="br0">&#41;</span> <span class="co1">#make a string from the values of whichever cycle all four loops are on</span>
                <span class="kw1">if</span> combo <span class="kw1">in</span> master: <span class="co1">#check to see if this combo has already been tried and added to the master list</span>
                    <span class="kw1">break</span>
                <span class="kw1">else</span>:
                    <span class="kw1">for</span> check <span class="kw1">in</span> <span class="kw2">range</span> <span class="br0">&#40;</span><span class="nu0">0</span>, <span class="nu0">3</span><span class="br0">&#41;</span>: <span class="co1">#set up a loop to compare adjacent digits in combo</span>
                        <span class="kw1">if</span> combo_two <span class="sy0">!</span>= combo: <span class="co1">#only performs the check if this combo hasn't already been counted</span>
                            first = combo<span class="br0">&#91;</span>check<span class="br0">&#93;</span> <span class="co1">#find one digit of combo to compare</span>
                            second = combo<span class="br0">&#91;</span>check+<span class="nu0">1</span><span class="br0">&#93;</span> <span class="co1">#find the following digit of combo to compare</span>
                            <span class="kw1">if</span> first == second:
                                <span class="kw1">print</span> combo
                                combo_two = combo <span class="co1">#this combo has been counted, so combo_two stops it from being checked again</span>
                                possible = possible + 1
<span class="kw1">print</span> <span class="st0">&quot;There are&quot;</span>, possible, <span class="st0">&quot;possible combinations that have adjacent double digits, but do not contain both a 1 and a 4.&quot;</span></pre></div></div>
<h5>How it works</h5>
<p>The first part of the program is very similar to our previous program, combos2.py. But instead of printing out those combinations, we&#8217;re adding them to a list called &#8220;master.&#8221; We first create the empty list with <strong>master = []</strong>. The brackets are what tell Python we want it to be a list. Then we go through our familiar loops for each digit in the combination. But instead of printing the combinations, we use <strong>master.append(combo)</strong>. Append adds whatever is in the parentheses to our master list. Once it goes through all the loops, we move on to part 2 of the program.</p>
<p>Last time, we counted possible combinations with the variable x. This time, we&#8217;re going to be a little more descriptive and name the it &#8220;possible.&#8221; Being descriptive is another way to make your programs easier to read. We also make a string called combo_two, which we&#8217;ll use later to keep the program from counting the same combination more than once.</p>
<p>So we go through the loops again. Each time through, we check to see if combo is already in the master list. If it is, we tell Python to <strong>break</strong> that loop. Break will interrupt the smallest loop that the program is in at that particular moment. But if the combo we&#8217;re working on is not on the master list, then we can go on to the next instructions.</p>
<p>We make a for loop called &#8220;check.&#8221; Here is where combo_two comes into play. If it is not equal to combo (<strong>!=</strong> means not equal to), then we do the stuff on the next few lines. But if combo_two is equal to combo, i.e., not meeting the condition of the if statement, then Python skips over the next few lines and goes on back to do another cycle through the four loops that give us a new combo.</p>
<h5>Strings</h5>
<p>You can reference parts of strings by referring to them like this: Say the string called combo has &#8220;2452&#8243; assigned to it. We can find the second character of that string by typing <strong>combo[1]</strong>. Remember, almost everything in Python begins with position 0, so position 1 is actually the second character in the string. So typing <strong>combo[1]</strong> would return the character &#8220;4.&#8221; Typing <strong>combo[0]</strong> would return &#8220;2,&#8221; <strong>combo[2]</strong> would return &#8220;5&#8243; and <strong>combo[3]</strong> would return &#8220;2.&#8221;</p>
<p>Let&#8217;s assume we met the condition of the if statement, meaning that combo_two was not equal to combo. The &#8220;check&#8221; loop goes from 0 to 3. We&#8217;re going to use this loop to compare two adjacent characters in combo. We assign one character of combo to the string &#8220;first&#8221; by saying <strong>first = combo[check]</strong>. What&#8217;s in the brackets is the position of the string that we want to reference. On the first cycle through the check loop, check has a value of 0, so it&#8217;s like saying <strong>first = combo[0]</strong>. Then we assign the next character in combo to the string called &#8220;second&#8221; with <strong>second = combo[check+1]</strong>. So now the string &#8220;first&#8221; has the one character from the string &#8220;combo,&#8221; and the string &#8220;second&#8221; has the following character from combo.</p>
<p>The next line compares first to second. If they&#8217;re equal, we print out the combo and add one to the value of possible. Then we make combo_two equal to combo, so when Python goes back around to the next cycle of the check loop, it knows to not perform the checks on the same combo and produce duplicate results. But if the first and second string were not equal, then Python doesn&#8217;t print the combo, doesn&#8217;t assign combo_two the same value as combo, and repeats the check loop on the next two digits in combo.</p>
<p>So cycle 0 of the check loop compares the first and second digits of combo. Cycle 1 compares the second and third digits, and cycle 2 compares the third and fourth digits. Once it reaches cycle 3, the loop stops because the ending value of a loop is excluded.</p>
<p>Finally, once we have found all the combos that have double digits, but do not contain both a 1 and a 4, we tell Python to print a total to satisfy our curiosity.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.danielveazey.com/python/the-bike-saga-continues/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Working on the bike problem with Python</title>
		<link>http://www.danielveazey.com/python/working-on-the-bike-problem-with-python/</link>
		<comments>http://www.danielveazey.com/python/working-on-the-bike-problem-with-python/#comments</comments>
		<pubDate>Tue, 08 Jun 2010 21:07:49 +0000</pubDate>
		<dc:creator>Daniel Veazey</dc:creator>
				<category><![CDATA[Python]]></category>
		<category><![CDATA[bike]]></category>
		<category><![CDATA[combos]]></category>
		<category><![CDATA[locks]]></category>
		<category><![CDATA[programming]]></category>

		<guid isPermaLink="false">http://www.danielveazey.com/?p=177</guid>
		<description><![CDATA[My bike is still chained to the rail on my balcony. If you recall, I said previously that I believed the combination to the lock had a 1 and a 4 in it. The program I wrote gave a list of all the possible combinations, and it turned out there were 1,296 possibilities. That&#8217;s a [...]]]></description>
			<content:encoded><![CDATA[<p>My bike is still chained to the rail on my balcony. If you recall, <a href="http://www.danielveazey.com/python/practical-programming/">I said previously</a> that I believed the combination to the lock had a 1 and a 4 in it. <span id="more-177"></span>The program I wrote gave a list of all the possible combinations, and it turned out there were 1,296 possibilities. That&#8217;s a lot of numbers to fiddle around with on a combination lock. So I figured I should write a new program, this time only showing combinations that had both a 1 and a 4 in them. Surely that would cut out a lot of unnecessary combos, right? I got to work, and here is what I came up with:</p>
<div id="wpshdo_2" class="wp-synhighlighter-outer"><div id="wpshdt_2" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_2"></a><a id="wpshat_2" class="wp-synhighlighter-title" href="#codesyntax_2"  onClick="javascript:wpsh_toggleBlock(2)" title="Click to show/hide code block">combos2.py</a></td><td align="right"><a href="#codesyntax_2" onClick="javascript:wpsh_code(2)" title="Show code only"><img border="0" style="border: 0 none" src="http://www.danielveazey.com/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_2" onClick="javascript:wpsh_print(2)" title="Print code"><img border="0" style="border: 0 none" src="http://www.danielveazey.com/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://www.danielveazey.com/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://www.danielveazey.com/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_2" class="wp-synhighlighter-inner" style="display: block;"><pre class="python" style="font-family:monospace;">x = 0
<span class="kw1">for</span> a <span class="kw1">in</span> <span class="kw2">range</span> <span class="br0">&#40;</span>0, 6<span class="br0">&#41;</span>:
    <span class="kw1">for</span> b <span class="kw1">in</span> <span class="kw2">range</span> <span class="br0">&#40;</span>0, 6<span class="br0">&#41;</span>:
        <span class="kw1">for</span> c <span class="kw1">in</span> <span class="kw2">range</span> <span class="br0">&#40;</span>0, 6<span class="br0">&#41;</span>:
            <span class="kw1">for</span> d <span class="kw1">in</span> <span class="kw2">range</span> <span class="br0">&#40;</span>0, 6<span class="br0">&#41;</span>:
                combo = <span class="kw2">str</span><span class="br0">&#40;</span>a+1<span class="br0">&#41;</span> + <span class="kw2">str</span><span class="br0">&#40;</span>b+1<span class="br0">&#41;</span> + <span class="kw2">str</span><span class="br0">&#40;</span>c+1<span class="br0">&#41;</span> + <span class="kw2">str</span><span class="br0">&#40;</span>d+1<span class="br0">&#41;</span>
                <span class="kw1">if</span> <span class="st0">&quot;1&quot;</span> <span class="kw1">in</span> combo <span class="kw1">and</span> <span class="st0">&quot;4&quot;</span> <span class="kw1">in</span> combo:
                    <span class="kw1">print</span> combo
                    x = x + 1
<span class="kw1">print</span> <span class="st0">&quot;There are&quot;</span>, x, <span class="st0">&quot;combinations that contain both a 1 and a 4.&quot;</span></pre></div></div>
<h5>How it works</h5>
<p>We start off by assigning the value 0 to the variable x, which will keep count of the number of combos with both a 1 and a 4 in them. We make four loops, a, b, c and d, to create all the different possible combinations. inside the fourth loop, we make a string called combo and put the string representations of the variables a, b, c and d in it. Then we look to see if the string combo has both &#8220;1&#8243; and &#8220;4&#8243; in it. If it does, we print combo and add 1 to the value of x. Once the program runs through all its loops, we have the program tell us how many combinations contain both a 1 and a 4. There are 302 of them. That&#8217;s a lot less than 1296, and it seems manageable.</p>
<h5>Why the loops go from 0 to 6</h5>
<p>When setting up a loop in Python, the number you want to start with is inclusive and the number you want to end with is exclusive. So with the first loop, a, it starts by assigning the value 0 to the variable a for that particular cycle of the loop, and then goes on to perform all the other instructions inside that loop. It continues to cycle through the loop until the value of the variable reaches 6. Once the value reaches 6, it does not go through the loop again. So the loop gets cycled through six times: 0, 1, 2, 3, 4 and 5. But the possible digits in the combination are 1 through 6, not 0 through 5, so when we are defining the string combo, we say it is str(a+1), etc., instead of str(a) to get a meaningful answer.</p>
<p>So why not just make the loop go from 1 to 7? We could do that, and it would work perfectly fine. But there is a reason I start with 0. Everything in lists and strings and other things in Python start with the value 0. For example, the string combo has four characters in it. Python refers to the position of each character as 0, 1, 2 and 3, not 1, 2, 3 and 4. So I usually make my loops start with 0 instead of 1, just so I keep myself in the mindset of everything beginning with 0 in Python. If I ever write anything more complicated with lots of variables and lists and strings and references to positions within strings and lists, it will help prevent confusion because I stay consistent with starting everything at 0.</p>
<p>Now, I have a list of 302 combinations I need to try to get my bike unlocked. I need to get busy.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.danielveazey.com/python/working-on-the-bike-problem-with-python/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Tanyard Creek</title>
		<link>http://www.danielveazey.com/photography/tanyard-creek/</link>
		<comments>http://www.danielveazey.com/photography/tanyard-creek/#comments</comments>
		<pubDate>Mon, 07 Jun 2010 23:57:36 +0000</pubDate>
		<dc:creator>Daniel Veazey</dc:creator>
				<category><![CDATA[Photography]]></category>
		<category><![CDATA[Arkansas]]></category>
		<category><![CDATA[bella vista]]></category>
		<category><![CDATA[photgraphy]]></category>
		<category><![CDATA[tanyard creek]]></category>

		<guid isPermaLink="false">http://www.danielveazey.com/?p=176</guid>
		<description><![CDATA[Here are some pictures from Tanyard Creek in Bella Vista, Arkansas.]]></description>
			<content:encoded><![CDATA[<p>Here are some pictures from Tanyard Creek in Bella Vista, Arkansas.<br />

<div class="ngg-galleryoverview" id="ngg-gallery-4-176">


	
	<!-- Thumbnails -->
		
	<div id="ngg-image-17" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://www.danielveazey.com/wp-content/gallery/tanyard-creek/tanyard_creek_blue_heron.jpg" title=" " class="shutterset_set_4"  rel="lightbox[176]">
								<img title="tanyard_creek_blue_heron" alt="tanyard_creek_blue_heron" src="http://www.danielveazey.com/wp-content/gallery/tanyard-creek/thumbs/thumbs_tanyard_creek_blue_heron.jpg" width="100" height="75" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-18" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://www.danielveazey.com/wp-content/gallery/tanyard-creek/tanyard_creek_cascade.jpg" title=" " class="shutterset_set_4"  rel="lightbox[176]">
								<img title="tanyard_creek_cascade" alt="tanyard_creek_cascade" src="http://www.danielveazey.com/wp-content/gallery/tanyard-creek/thumbs/thumbs_tanyard_creek_cascade.jpg" width="100" height="75" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-19" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://www.danielveazey.com/wp-content/gallery/tanyard-creek/tanyard_creek_falls.jpg" title=" " class="shutterset_set_4"  rel="lightbox[176]">
								<img title="tanyard_creek_falls" alt="tanyard_creek_falls" src="http://www.danielveazey.com/wp-content/gallery/tanyard-creek/thumbs/thumbs_tanyard_creek_falls.jpg" width="100" height="75" />
							</a>
		</div>
	</div>
	
		
 	 	
	<!-- Pagination -->
 	<div class='ngg-clear'></div>
 	
</div>

</p>
]]></content:encoded>
			<wfw:commentRss>http://www.danielveazey.com/photography/tanyard-creek/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Photo Roundup: Elk Edition</title>
		<link>http://www.danielveazey.com/photography/photo-roundup-elk-edition/</link>
		<comments>http://www.danielveazey.com/photography/photo-roundup-elk-edition/#comments</comments>
		<pubDate>Thu, 27 May 2010 21:25:08 +0000</pubDate>
		<dc:creator>Daniel Veazey</dc:creator>
				<category><![CDATA[Photography]]></category>
		<category><![CDATA[672D]]></category>
		<category><![CDATA[Arkansas]]></category>
		<category><![CDATA[auto-focus]]></category>
		<category><![CDATA[boxley valley]]></category>
		<category><![CDATA[d3000]]></category>
		<category><![CDATA[digital]]></category>
		<category><![CDATA[elk]]></category>
		<category><![CDATA[nikon]]></category>
		<category><![CDATA[tamron]]></category>

		<guid isPermaLink="false">http://www.danielveazey.com/?p=168</guid>
		<description><![CDATA[I got up at 4:30 this morning and drove out to Boxley, Arkansas, to get some sunrise pictures of elk before they moved off into the woods. I got a new 75-300mm lens, and I thought it had auto-focus, but I can&#8217;t seem to get the auto-focus to work with my Nikon D3000. Manual focus [...]]]></description>
			<content:encoded><![CDATA[<p>I got up at 4:30 this morning and drove out to Boxley, Arkansas, to get some sunrise pictures of elk before they moved off into the woods. I got a new 75-300mm lens, and I thought it had auto-focus, but I can&#8217;t seem to get the auto-focus to work with my Nikon D3000. Manual focus is difficult. What looks well-focused in the viewfinder turns out to not be so well-focused on the LCD after taking the shot. I don&#8217;t think this is the greatest lens, but it might be me. It&#8217;s a Tamron 672D. Maybe I&#8217;m doing something wrong with the auto-focus. I&#8217;ll have to research it further. For now, enjoy this gallery of elk. Comments are appreciated.</p>

<div class="ngg-galleryoverview" id="ngg-gallery-3-168">


	
	<!-- Thumbnails -->
		
	<div id="ngg-image-11" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://www.danielveazey.com/wp-content/gallery/elk/elk1.jpg" title="Elk in Boxley Valley, Arkansas" class="shutterset_set_3"  rel="lightbox[168]">
								<img title="Elk" alt="Elk" src="http://www.danielveazey.com/wp-content/gallery/elk/thumbs/thumbs_elk1.jpg" width="100" height="75" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-12" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://www.danielveazey.com/wp-content/gallery/elk/elk2.jpg" title="Elk in Boxley Valley, Arkansas" class="shutterset_set_3"  rel="lightbox[168]">
								<img title="Elk" alt="Elk" src="http://www.danielveazey.com/wp-content/gallery/elk/thumbs/thumbs_elk2.jpg" width="100" height="75" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-13" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://www.danielveazey.com/wp-content/gallery/elk/elk3.jpg" title="Elk in Boxley Valley, Arkansas" class="shutterset_set_3"  rel="lightbox[168]">
								<img title="Elk" alt="Elk" src="http://www.danielveazey.com/wp-content/gallery/elk/thumbs/thumbs_elk3.jpg" width="100" height="75" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-14" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://www.danielveazey.com/wp-content/gallery/elk/elk4.jpg" title="Elk in Boxley Valley, Arkansas" class="shutterset_set_3"  rel="lightbox[168]">
								<img title="Elk" alt="Elk" src="http://www.danielveazey.com/wp-content/gallery/elk/thumbs/thumbs_elk4.jpg" width="93" height="75" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-15" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://www.danielveazey.com/wp-content/gallery/elk/elk5.jpg" title="Elk in Boxley Valley, Arkansas" class="shutterset_set_3"  rel="lightbox[168]">
								<img title="Elk" alt="Elk" src="http://www.danielveazey.com/wp-content/gallery/elk/thumbs/thumbs_elk5.jpg" width="93" height="75" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-16" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://www.danielveazey.com/wp-content/gallery/elk/elk6.jpg" title="Elk in Boxley Valley, Arkansas" class="shutterset_set_3"  rel="lightbox[168]">
								<img title="Elk" alt="Elk" src="http://www.danielveazey.com/wp-content/gallery/elk/thumbs/thumbs_elk6.jpg" width="93" height="75" />
							</a>
		</div>
	</div>
	
		
 	 	
	<!-- Pagination -->
 	<div class='ngg-clear'></div>
 	
</div>


]]></content:encoded>
			<wfw:commentRss>http://www.danielveazey.com/photography/photo-roundup-elk-edition/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Photo roundup</title>
		<link>http://www.danielveazey.com/gimp/photo-roundup/</link>
		<comments>http://www.danielveazey.com/gimp/photo-roundup/#comments</comments>
		<pubDate>Wed, 26 May 2010 07:10:05 +0000</pubDate>
		<dc:creator>Daniel Veazey</dc:creator>
				<category><![CDATA[Gimp]]></category>
		<category><![CDATA[Photography]]></category>
		<category><![CDATA[airplane]]></category>
		<category><![CDATA[bee]]></category>
		<category><![CDATA[butterfly]]></category>
		<category><![CDATA[digital]]></category>
		<category><![CDATA[flowers]]></category>
		<category><![CDATA[monarch]]></category>
		<category><![CDATA[polarizing filter]]></category>
		<category><![CDATA[pollen]]></category>
		<category><![CDATA[rabbit]]></category>

		<guid isPermaLink="false">http://www.danielveazey.com/?p=166</guid>
		<description><![CDATA[I got a few good pictures today. With the airplane I tried adapting a Photoshop technique in Gimp to give it the look of a polarizing filter. I think it turned out pretty decent. I&#8217;ll try to write a tutorial for the method soon. I was impressed with the bee that had all that bright [...]]]></description>
			<content:encoded><![CDATA[<p>I got a few good pictures today. With the airplane I tried adapting a Photoshop technique in Gimp to give it the look of a polarizing filter. I think it turned out pretty decent. I&#8217;ll try to write a tutorial for the method soon. I was impressed with the bee that had all that bright yellow pollen all over it. I might make a print of that. The monarch butterfly wouldn&#8217;t sit still for more than a few seconds. That&#8217;s the only shot I got of it. I got the picture of the rabbit while I was waiting around for airplanes to fly over. I was standing right next to it for a long time before I realized it was there. On the red flower, I just wanted to see how it would look if I cropped out part of it. The bumble bee came out pretty sharp, so I included it too. I hope you enjoy these. Please leave a comment and let me know what you think.</p>

<div class="ngg-galleryoverview" id="ngg-gallery-2-166">


	
	<!-- Thumbnails -->
		
	<div id="ngg-image-10" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://www.danielveazey.com/wp-content/gallery/20100525/redflower.jpg" title=" " class="shutterset_set_2"  rel="lightbox[166]">
								<img title="redflower" alt="redflower" src="http://www.danielveazey.com/wp-content/gallery/20100525/thumbs/thumbs_redflower.jpg" width="100" height="75" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-9" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://www.danielveazey.com/wp-content/gallery/20100525/rabbit.jpg" title=" " class="shutterset_set_2"  rel="lightbox[166]">
								<img title="rabbit" alt="rabbit" src="http://www.danielveazey.com/wp-content/gallery/20100525/thumbs/thumbs_rabbit.jpg" width="100" height="75" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-8" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://www.danielveazey.com/wp-content/gallery/20100525/piper.jpg" title=" " class="shutterset_set_2"  rel="lightbox[166]">
								<img title="piper" alt="piper" src="http://www.danielveazey.com/wp-content/gallery/20100525/thumbs/thumbs_piper.jpg" width="100" height="75" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-6" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://www.danielveazey.com/wp-content/gallery/20100525/bee2.jpg" title=" " class="shutterset_set_2"  rel="lightbox[166]">
								<img title="bee2" alt="bee2" src="http://www.danielveazey.com/wp-content/gallery/20100525/thumbs/thumbs_bee2.jpg" width="100" height="75" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-7" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://www.danielveazey.com/wp-content/gallery/20100525/butterfly.jpg" title=" " class="shutterset_set_2"  rel="lightbox[166]">
								<img title="butterfly" alt="butterfly" src="http://www.danielveazey.com/wp-content/gallery/20100525/thumbs/thumbs_butterfly.jpg" width="78" height="75" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-5" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://www.danielveazey.com/wp-content/gallery/20100525/bee.jpg" title=" " class="shutterset_set_2"  rel="lightbox[166]">
								<img title="bee" alt="bee" src="http://www.danielveazey.com/wp-content/gallery/20100525/thumbs/thumbs_bee.jpg" width="94" height="75" />
							</a>
		</div>
	</div>
	
		
 	 	
	<!-- Pagination -->
 	<div class='ngg-clear'></div>
 	
</div>


]]></content:encoded>
			<wfw:commentRss>http://www.danielveazey.com/gimp/photo-roundup/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>
