<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Guido and Us</title>
	<atom:link href="https://caesarandlouie.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>https://caesarandlouie.wordpress.com</link>
	<description>Oh, don&#039;t look so shocked.</description>
	<lastBuildDate>Mon, 19 Feb 2018 04:10:08 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='caesarandlouie.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>https://s0.wp.com/i/buttonw-com.png</url>
		<title>Guido and Us</title>
		<link>https://caesarandlouie.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="https://caesarandlouie.wordpress.com/osd.xml" title="Guido and Us" />
	<atom:link rel='hub' href='https://caesarandlouie.wordpress.com/?pushpress=hub'/>
	<item>
		<title>Who did it better? Sometimes Good Guys Don&#8217;t Wear White</title>
		<link>https://caesarandlouie.wordpress.com/2018/02/18/who-did-it-better-sometimes-good-guys-dont-wear-white/</link>
					<comments>https://caesarandlouie.wordpress.com/2018/02/18/who-did-it-better-sometimes-good-guys-dont-wear-white/#respond</comments>
		
		<dc:creator><![CDATA[Peter R]]></dc:creator>
		<pubDate>Sun, 18 Feb 2018 21:30:20 +0000</pubDate>
				<category><![CDATA[All Posts]]></category>
		<category><![CDATA[Music]]></category>
		<category><![CDATA[who did it better]]></category>
		<guid isPermaLink="false">http://caesarandlouie.wordpress.com/?p=795</guid>

					<description><![CDATA[In 1966, the Standells released, &#8220;Sometimes  Good Guys Don&#8217;t Wear White&#8220;. The single made it to #43 on the Billboard Hot 100 chart. The album it came from, Dirty Water, was recorded in just two days and didn&#8217;t chart as well as the singles (it got to #52 on the Pop albums chart). The first [&#8230;]]]></description>
										<content:encoded><![CDATA[<p>In 1966, the Standells released, &#8220;<a href="https://www.discogs.com/The-Standells-Sometimes-Good-Guys-Dont-Wear-White/master/828515" target="_blank" rel="noopener">Sometimes  Good Guys Don&#8217;t Wear White</a>&#8220;. The single made it to #43 on the Billboard Hot 100 chart. The album it came from, <a href="https://en.wikipedia.org/wiki/Dirty_Water_(album)">Dirty Water</a>, was recorded in just two days and didn&#8217;t chart as well as the singles (it got to #52 on the Pop albums chart). The first song featured from it, the aptly named Dirty Water, got up to #11 on Billboard but not for long.</p>
<p>Here then is the original version of The Standells&#8217; Sometimes Good Guys Don&#8217;t Wear White:</p>
<div class="embed-youtube"><iframe title="Standells - Sometimes Good Guys Don&#039;t Wear White (1966)" width="620" height="465" src="https://www.youtube.com/embed/SIPTDm1YZMQ?feature=oembed" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen></iframe></div>
<p>Flash forward two or three years and then this gem was recorded. Las Dilly Sisters were a sort of novelty act, two very young Mexican sisters, and recorded <a href="https://www.discogs.com/Las-Dilly-Sisters-Sometimes-Good-Guys-Dont-Wear-White/release/3313196">just one 45 single</a>, that I can find at least, and this song was chosen as the B-Side. I really like this one.</p>
<div class="embed-youtube"><iframe title="Las Dilly Sisters - Sometimes Good Guys Don&#039;t Wear White" width="620" height="465" src="https://www.youtube.com/embed/8lr1Rupizt0?feature=oembed" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen></iframe></div>
<p>Flying through time once again, we come to the end of the road for DC&#8217;s hardcore favorites, Minor Threat. Their final official recording while they were more-or-less still together was the nice little 45, Salad Days. This song was second on the b-side.</p>
<div class="embed-youtube"><iframe title="Minor Threat - Good guys(dont wear white)" width="620" height="349" src="https://www.youtube.com/embed/VX59c8n3ifY?feature=oembed" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen></iframe></div>
<p>Well, there you go. Comment on which version you like best, eh. There are, of course, tons of other covers online you could check out too.</p>
<p>Cheers,</p>
<p>: )</p>
<p>&nbsp;</p>
]]></content:encoded>
					
					<wfw:commentRss>https://caesarandlouie.wordpress.com/2018/02/18/who-did-it-better-sometimes-good-guys-dont-wear-white/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		
		<media:content url="https://0.gravatar.com/avatar/9583697433c8f6189b16010cb555ffc5e4c6681abc4aa683c537a83beb8fcc1a?s=96&#38;d=https%3A%2F%2Fs0.wp.com%2Fi%2Fmu.gif&#38;r=G" medium="image">
			<media:title type="html">Peter</media:title>
		</media:content>
	</item>
		<item>
		<title>Who Did it Better? Kick Out the Jams</title>
		<link>https://caesarandlouie.wordpress.com/2017/11/20/who-did-it-better-kick-out-the-jams/</link>
					<comments>https://caesarandlouie.wordpress.com/2017/11/20/who-did-it-better-kick-out-the-jams/#respond</comments>
		
		<dc:creator><![CDATA[Peter R]]></dc:creator>
		<pubDate>Mon, 20 Nov 2017 20:20:05 +0000</pubDate>
				<category><![CDATA[All Posts]]></category>
		<category><![CDATA[Music]]></category>
		<category><![CDATA[MC5 ROCK]]></category>
		<guid isPermaLink="false">http://caesarandlouie.wordpress.com/?p=790</guid>

					<description><![CDATA[Wayne Kramer and MC5 are known as a proto-punk band, since they performed in the late 1960&#8217;s / early 70&#8217;s and were young, angry and wrote fast loud songs for the most part.  According to one interview, &#8220;In the old days &#8230; they used to leap off the stage and blow a saxophone in people&#8217;s [&#8230;]]]></description>
										<content:encoded><![CDATA[<p>Wayne Kramer and MC5 are known as a proto-punk band, since they performed in the late 1960&#8217;s / early 70&#8217;s and were young, angry and wrote fast loud songs for the most part.  According<a href="http://makemyday.free.fr/discandme.htm" target="_blank" rel="noopener"> to one interview</a>, &#8220;In the old days &#8230; they used to leap off the stage and blow a saxophone in people&#8217;s ears, or throw money at the audience &#8211; anything to get a reaction.&#8221; which sounds a lot like a lot of later punk and post-punk bands for sure.</p>
<p>This song was not exactly the angry anti-establishment tirade it seems though, <a href="https://en.wikipedia.org/wiki/Kick_Out_the_Jams_(song)" target="_blank" rel="noopener">according to Kramer</a>:</p>
<blockquote><p>People said &#8220;oh wow, &#8216;kick out the jams&#8217; means break down restrictions&#8221; etc., and it made good copy, but when we wrote it we didn&#8217;t have that in mind. We first used the phrase when we were the house band at a ballroom in Detroit, and we played there every week with another band from the area. [&#8230;] We got in the habit, being the sort of punks we are, of screaming at them to get off the stage, to kick out the jams, meaning stop jamming. We were saying it all the time and it became a sort of esoteric phrase. Now, I think people can get what they like out of it; that&#8217;s one of the good things about rock and roll.</p></blockquote>
<p>So many covers of this song have been recorded or played live over the years, which makes sense considering its status and the respect later generations paid to MC5. Rockers of all sorts still regard this as an ideal: A perfect statement of rock and roll&#8217;s energy, frustration, whatever you want to call it.</p>
<p>I&#8217;ve chosen five covers here for us to compare today so let&#8217;s dig in.</p>
<p>Here&#8217;s the best video I could find with the original LP version  &#8211; 1969, MC5&#8217;s first (live) record:</p>
<div class="embed-youtube"><iframe title="Mc5 - Kick Out The Jams" width="620" height="465" src="https://www.youtube.com/embed/VDCKYAVMeAU?feature=oembed" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen></iframe></div>
<p>Blue Oyster Cult liked the song so much they included it on their 1978 album, Some Enchanted Evening. This version is a bit more hard-rock, less punk. No MFers in the intro.</p>
<div class="embed-youtube"><iframe title="Kick Out The Jams by Blue Oyster Cult" width="620" height="465" src="https://www.youtube.com/embed/HkdvWwY2yhs?feature=oembed" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen></iframe></div>
<p>Here&#8217;s a cover by Bad Brains with Henry Rollins singing, from the &#8216;Pump Up The Volume&#8217; 1990 movie soundtrack, since punkers should be able to do this better, right? I like that Henry brought the MFers in the intro back.</p>
<div class="embed-youtube"><iframe title="Pump Up the Volume Soundtrack Kick Out the Jams Bad Brain with Henry Rollins" width="620" height="465" src="https://www.youtube.com/embed/GtnSrmNGWJ0?feature=oembed" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen></iframe></div>
<p>The Presidents of the United States of America included this somewhat modified  version of the song on their 1995 self-title debut LP. Nice and clean 90&#8217;s alternative rock sound here.</p>
<div class="embed-youtube"><iframe title="The Presidents of The United States of America  - Kick Out The Jams" width="620" height="465" src="https://www.youtube.com/embed/iblg5G3NTjo?feature=oembed" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen></iframe></div>
<p>Rage Against the Machine released this version on their Renegades album in 2000. What can you say: They rage even though this is slower. Somehow, that makes it even heavier than the original. Love Tom Morello&#8217;s sounds in the solo with this one.</p>
<div class="embed-youtube"><iframe title="Rage against the machine kick out the jams" width="620" height="465" src="https://www.youtube.com/embed/Tfgc3Sf-6yE?feature=oembed" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen></iframe></div>
<p>&nbsp;</p>
<p>Well, this is a tough one. I love the song and love pretty much every cover I&#8217;ve heard.  If I have to choose, I suppose I&#8217;d go with the original, since, well, it was the first and defined the genre.</p>
<p>And as an added bonus, here&#8217;s some guy named Wayne teaching us how to play the song on guitar, for those interested:</p>
<div class="embed-youtube"><iframe title="Prof. Wayne Guitar Class! &quot;Kick Out The Jams&quot;" width="620" height="349" src="https://www.youtube.com/embed/TwfpU6X6Hr4?feature=oembed" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen></iframe></div>
<p>Let us know what you think, which version you like best, in the comments.</p>
<p><img src="https://s0.wp.com/wp-content/mu-plugins/wpcom-smileys/twemoji/2/72x72/1f642.png" alt="🙂" class="wp-smiley" style="height: 1em; max-height: 1em;" /></p>
<p>&nbsp;</p>
]]></content:encoded>
					
					<wfw:commentRss>https://caesarandlouie.wordpress.com/2017/11/20/who-did-it-better-kick-out-the-jams/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		
		<media:content url="https://0.gravatar.com/avatar/9583697433c8f6189b16010cb555ffc5e4c6681abc4aa683c537a83beb8fcc1a?s=96&#38;d=https%3A%2F%2Fs0.wp.com%2Fi%2Fmu.gif&#38;r=G" medium="image">
			<media:title type="html">Peter</media:title>
		</media:content>
	</item>
		<item>
		<title>Mary Margaret O&#8217;Hara &#8211; Miss America</title>
		<link>https://caesarandlouie.wordpress.com/2017/10/27/mary-margaret-ohara-miss-america/</link>
					<comments>https://caesarandlouie.wordpress.com/2017/10/27/mary-margaret-ohara-miss-america/#respond</comments>
		
		<dc:creator><![CDATA[Peter R]]></dc:creator>
		<pubDate>Fri, 27 Oct 2017 23:45:24 +0000</pubDate>
				<category><![CDATA[All Posts]]></category>
		<category><![CDATA[Music]]></category>
		<category><![CDATA[80's Pop]]></category>
		<guid isPermaLink="false">http://caesarandlouie.wordpress.com/?p=778</guid>

					<description><![CDATA[This was, without a doubt, my favorite album of 1988.  Mary Margaret is the sister of Catherine O&#8217;Hara, a fantastic actress herself, but this is not one of those stories where someone famous got her sibling a record deal. Mary Margaret O&#8217;Hara has an amazing voice and real singing talent on her own. Plus these [&#8230;]]]></description>
										<content:encoded><![CDATA[<p>This was, without a doubt, my favorite album of 1988.  Mary Margaret is the sister of Catherine O&#8217;Hara, a fantastic actress herself, but this is not one of those stories where someone famous got her sibling a record deal. Mary Margaret O&#8217;Hara has an amazing voice and real singing talent on her own. Plus these songs are jaw dropping amazing.</p>
<p>I&#8217;m sure you think you&#8217;ve heard a woman sing her heart out before but on this record, Ms. O&#8217;Hara is on another level. These timeless tunes send me to a very special happy place every time I hear them. We have poppy, bluesy, jazzy and spacey songs here, all completely perfect and none of them feel forced or fake in any way.</p>
<p>Can you tell I really like this album? That&#8217;s true and it makes the fact that she never made another full album that much harder to believe. She released a 4-song Christmas EP in 1991, and then contributed to the soundtrack for a 5-out-of-10 stars romantic comedy named &#8216;Apartment Hunting&#8217; around 2000, and then&#8230; nothing.</p>
<p><img class="alignnone size-medium wp-image-1198" src="https://nebulousthinking.files.wordpress.com/2017/10/51yr7zmlgol-_ss500.jpg?w=300&#038;h=300" alt="51yr7zMlgoL._SS500" width="300" height="300" /></p>
<p>If this music is new to you, I am jealous of you. Enjoy hearing it for the first time!</p>
<p>If somehow Ms. O&#8217;Hara reads this, please make more music. We need to hear more of your beautiful voice.</p>
<p><span style="text-decoration:underline;">Read about it &#8211; (4.5 stars out of 5)</span><br />
<a href="https://www.allmusic.com/album/miss-america-mw0000205701" rel="nofollow">https://www.allmusic.com/album/miss-america-mw0000205701</a></p>
<p><span style="text-decoration:underline;">Buy it</span><br />
<a href="https://www.discogs.com/Mary-Margaret-OHara-Miss-America/release/1631994" rel="nofollow">https://www.discogs.com/Mary-Margaret-OHara-Miss-America/release/1631994</a></p>
<p>Or just listen to this YouTube playlist:</p>
<div class="embed-youtube"><iframe title="Mary Margaret O&#039;Hara - To Cry About" width="620" height="465" src="https://www.youtube.com/embed/uHH5AF6Tj3U?list=PLKkun4DWfkEs2ImtZWW_DvltAGTV23iQ7" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen></iframe></div>
<p><img src="https://s0.wp.com/wp-content/mu-plugins/wpcom-smileys/twemoji/2/72x72/1f642.png" alt="🙂" class="wp-smiley" style="height: 1em; max-height: 1em;" /></p>
<p>&nbsp;</p>
]]></content:encoded>
					
					<wfw:commentRss>https://caesarandlouie.wordpress.com/2017/10/27/mary-margaret-ohara-miss-america/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		
		<media:content url="https://0.gravatar.com/avatar/9583697433c8f6189b16010cb555ffc5e4c6681abc4aa683c537a83beb8fcc1a?s=96&#38;d=https%3A%2F%2Fs0.wp.com%2Fi%2Fmu.gif&#38;r=G" medium="image">
			<media:title type="html">Peter</media:title>
		</media:content>

		<media:content url="https://nebulousthinking.files.wordpress.com/2017/10/51yr7zmlgol-_ss500.jpg?w=600" medium="image">
			<media:title type="html">51yr7zMlgoL._SS500</media:title>
		</media:content>
	</item>
		<item>
		<title>Who did it better? &#8220;How Is the Air Up There?&#8221;</title>
		<link>https://caesarandlouie.wordpress.com/2017/10/19/who-did-it-better-how-is-the-air-up-there/</link>
					<comments>https://caesarandlouie.wordpress.com/2017/10/19/who-did-it-better-how-is-the-air-up-there/#respond</comments>
		
		<dc:creator><![CDATA[Peter R]]></dc:creator>
		<pubDate>Thu, 19 Oct 2017 23:25:20 +0000</pubDate>
				<category><![CDATA[All Posts]]></category>
		<category><![CDATA[Music]]></category>
		<category><![CDATA[psychedelic 60's 80's]]></category>
		<guid isPermaLink="false">http://caesarandlouie.wordpress.com/?p=764</guid>

					<description><![CDATA[Alright music fans, which version of this song do you like best? The Changin&#8217; Times  &#8211; How Is the Air Up There?  (1965) &#160; The La De Das &#8211; How is the Air Up There?  (1966) https://www.youtube.com/watch?v=6oxek7UT_FI &#160; The Bangles &#8211; How is the Air Up there?  (1983) &#160; Personally, I grew up in Southern [&#8230;]]]></description>
										<content:encoded><![CDATA[<p>Alright music fans, which version of this song do you like best?</p>
<p>The Changin&#8217; Times  &#8211; How Is the Air Up There?  (1965)</p>
<div class="embed-youtube"><iframe title="The Changing Times - How Is The Air Up There  (60&#039;s Garage)" width="620" height="465" src="https://www.youtube.com/embed/8px0UoGXyWg?feature=oembed" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen></iframe></div>
<p>&nbsp;</p>
<p>The La De Das &#8211; How is the Air Up There?  (1966)</p>
<p><a href="https://www.youtube.com/watch?v=6oxek7UT_FI" rel="nofollow">https://www.youtube.com/watch?v=6oxek7UT_FI</a></p>
<p>&nbsp;</p>
<p>The Bangles &#8211; How is the Air Up there?  (1983)</p>
<div class="embed-youtube"><iframe title="The Bangles - How Is The Air Up There?" width="620" height="465" src="https://www.youtube.com/embed/K8sqFxCo1qA?feature=oembed" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen></iframe></div>
<p>&nbsp;</p>
<p>Personally, I grew up in Southern California in the 80&#8217;s so the Bangles win for me. Then the original version from the Changin&#8217; Times, then the La De da&#8217;s version.</p>
<p>: )</p>
<p>&nbsp;</p>
]]></content:encoded>
					
					<wfw:commentRss>https://caesarandlouie.wordpress.com/2017/10/19/who-did-it-better-how-is-the-air-up-there/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		
		<media:content url="https://0.gravatar.com/avatar/9583697433c8f6189b16010cb555ffc5e4c6681abc4aa683c537a83beb8fcc1a?s=96&#38;d=https%3A%2F%2Fs0.wp.com%2Fi%2Fmu.gif&#38;r=G" medium="image">
			<media:title type="html">Peter</media:title>
		</media:content>
	</item>
		<item>
		<title>This is what happens when I let the parakeets outside</title>
		<link>https://caesarandlouie.wordpress.com/2017/09/02/this-is-what-happens-when-i-let-the-parakeets-outside/</link>
					<comments>https://caesarandlouie.wordpress.com/2017/09/02/this-is-what-happens-when-i-let-the-parakeets-outside/#respond</comments>
		
		<dc:creator><![CDATA[Peter R]]></dc:creator>
		<pubDate>Sat, 02 Sep 2017 16:59:08 +0000</pubDate>
				<category><![CDATA[All Posts]]></category>
		<category><![CDATA[Colorado]]></category>
		<category><![CDATA[hawk]]></category>
		<guid isPermaLink="false">http://caesarandlouie.wordpress.com/?p=754</guid>

					<description><![CDATA[They were out on our patio in their bird cage for maybe 60 minutes when I noticed this friendly visitor. (The parakeets are fine, by the way) Link to bonus video: https://photos.app.goo.gl/fZMHtasPCaq1Y55l1 🙂]]></description>
										<content:encoded><![CDATA[<p>They were out on our patio in their bird cage for maybe 60 minutes when I noticed this friendly visitor.</p>
<p>(The parakeets are fine, by the way)</p>
<p><img data-attachment-id="759" data-permalink="https://caesarandlouie.wordpress.com/2017/09/02/this-is-what-happens-when-i-let-the-parakeets-outside/ss-000149/" data-orig-file="https://caesarandlouie.wordpress.com/wp-content/uploads/2017/09/ss-000149.png" data-orig-size="643,568" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="hawk on our patio" data-image-description="" data-image-caption="" data-medium-file="https://caesarandlouie.wordpress.com/wp-content/uploads/2017/09/ss-000149.png?w=300" data-large-file="https://caesarandlouie.wordpress.com/wp-content/uploads/2017/09/ss-000149.png?w=620" class=" size-full wp-image-759 aligncenter" src="https://caesarandlouie.wordpress.com/wp-content/uploads/2017/09/ss-000149.png?w=620" alt=""   srcset="https://caesarandlouie.wordpress.com/wp-content/uploads/2017/09/ss-000149.png 643w, https://caesarandlouie.wordpress.com/wp-content/uploads/2017/09/ss-000149.png?w=150&amp;h=133 150w, https://caesarandlouie.wordpress.com/wp-content/uploads/2017/09/ss-000149.png?w=300&amp;h=265 300w" sizes="(max-width: 643px) 100vw, 643px" /></p>
<p>Link to bonus video:</p>
<p><a href="https://photos.app.goo.gl/fZMHtasPCaq1Y55l1" rel="nofollow">https://photos.app.goo.gl/fZMHtasPCaq1Y55l1</a></p>
<p><img src="https://s0.wp.com/wp-content/mu-plugins/wpcom-smileys/twemoji/2/72x72/1f642.png" alt="🙂" class="wp-smiley" style="height: 1em; max-height: 1em;" /></p>
]]></content:encoded>
					
					<wfw:commentRss>https://caesarandlouie.wordpress.com/2017/09/02/this-is-what-happens-when-i-let-the-parakeets-outside/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		
		<media:content url="https://0.gravatar.com/avatar/9583697433c8f6189b16010cb555ffc5e4c6681abc4aa683c537a83beb8fcc1a?s=96&#38;d=https%3A%2F%2Fs0.wp.com%2Fi%2Fmu.gif&#38;r=G" medium="image">
			<media:title type="html">Peter</media:title>
		</media:content>

		<media:content url="https://caesarandlouie.wordpress.com/wp-content/uploads/2017/09/ss-000149.png" medium="image" />
	</item>
		<item>
		<title>Grim Fandango and Homeworld &#8211; Remastered!</title>
		<link>https://caesarandlouie.wordpress.com/2015/01/26/grim-fandango-and-homeworld-remastered/</link>
					<comments>https://caesarandlouie.wordpress.com/2015/01/26/grim-fandango-and-homeworld-remastered/#respond</comments>
		
		<dc:creator><![CDATA[Peter R]]></dc:creator>
		<pubDate>Mon, 26 Jan 2015 16:27:14 +0000</pubDate>
				<category><![CDATA[All Posts]]></category>
		<category><![CDATA[Games]]></category>
		<category><![CDATA[Software]]></category>
		<guid isPermaLink="false">http://caesarandlouie.wordpress.com/?p=746</guid>

					<description><![CDATA[I am pretty old now, compared to most gamers. Two classic games from my ahem, second youth, are being re-issued as remastered versions so we can play them again with way better graphics. They&#8217;re probably both available for download somewhere on the net already but these releases will be both legal and completely awesome looking, [&#8230;]]]></description>
										<content:encoded><![CDATA[<p>I am pretty old now, compared to most gamers. Two classic games from my ahem, second youth, are being re-issued as remastered versions so we can play them again with way better graphics. They&#8217;re probably both available for download somewhere on the net already but these releases will be both legal and completely awesome looking, compared to the originals. They were both always awesome games, amazing to play so adding better graphics should just make them that much better. Woot!</p>
<p><a href="https://caesarandlouie.wordpress.com/wp-content/uploads/2015/01/grim-fandango-gameplay-1.jpg"><img data-attachment-id="748" data-permalink="https://caesarandlouie.wordpress.com/2015/01/26/grim-fandango-and-homeworld-remastered/grim-fandango-gameplay-1/" data-orig-file="https://caesarandlouie.wordpress.com/wp-content/uploads/2015/01/grim-fandango-gameplay-1.jpg" data-orig-size="1024,768" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="Grim-Fandango-Gameplay-1" data-image-description="" data-image-caption="" data-medium-file="https://caesarandlouie.wordpress.com/wp-content/uploads/2015/01/grim-fandango-gameplay-1.jpg?w=300" data-large-file="https://caesarandlouie.wordpress.com/wp-content/uploads/2015/01/grim-fandango-gameplay-1.jpg?w=620" class="alignleft wp-image-748 size-large" style="border:1px solid #0000a0;margin:4px;" src="https://caesarandlouie.wordpress.com/wp-content/uploads/2015/01/grim-fandango-gameplay-1.jpg?w=620&#038;h=465" alt="Grim-Fandango-Gameplay-1"   srcset="https://caesarandlouie.wordpress.com/wp-content/uploads/2015/01/grim-fandango-gameplay-1.jpg?w=700 700w, https://caesarandlouie.wordpress.com/wp-content/uploads/2015/01/grim-fandango-gameplay-1.jpg?w=150 150w, https://caesarandlouie.wordpress.com/wp-content/uploads/2015/01/grim-fandango-gameplay-1.jpg?w=300 300w, https://caesarandlouie.wordpress.com/wp-content/uploads/2015/01/grim-fandango-gameplay-1.jpg?w=768 768w, https://caesarandlouie.wordpress.com/wp-content/uploads/2015/01/grim-fandango-gameplay-1.jpg 1024w" sizes="(max-width: 700px) 100vw, 700px" /></a></p>
<p>Grim Fandango Remastered &#8211; <a href="http://www.gog.com/game/grim_fandango_remastered" target="_blank">http://www.gog.com/game/grim_fandango_remastered</a></p>
<p><a href="https://caesarandlouie.wordpress.com/wp-content/uploads/2015/01/homeworld-mothership.png"><img loading="lazy" data-attachment-id="749" data-permalink="https://caesarandlouie.wordpress.com/2015/01/26/grim-fandango-and-homeworld-remastered/homeworld-mothership/" data-orig-file="https://caesarandlouie.wordpress.com/wp-content/uploads/2015/01/homeworld-mothership.png" data-orig-size="1024,768" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="homeworld-mothership" data-image-description="" data-image-caption="" data-medium-file="https://caesarandlouie.wordpress.com/wp-content/uploads/2015/01/homeworld-mothership.png?w=300" data-large-file="https://caesarandlouie.wordpress.com/wp-content/uploads/2015/01/homeworld-mothership.png?w=620" class="alignleft wp-image-749 size-large" style="border:1px solid #000000;margin:4px;" src="https://caesarandlouie.wordpress.com/wp-content/uploads/2015/01/homeworld-mothership.png?w=620&#038;h=465" alt="Homeworld Mohtership"   srcset="https://caesarandlouie.wordpress.com/wp-content/uploads/2015/01/homeworld-mothership.png?w=700 700w, https://caesarandlouie.wordpress.com/wp-content/uploads/2015/01/homeworld-mothership.png?w=150 150w, https://caesarandlouie.wordpress.com/wp-content/uploads/2015/01/homeworld-mothership.png?w=300 300w, https://caesarandlouie.wordpress.com/wp-content/uploads/2015/01/homeworld-mothership.png?w=768 768w, https://caesarandlouie.wordpress.com/wp-content/uploads/2015/01/homeworld-mothership.png 1024w" sizes="(max-width: 700px) 100vw, 700px" /></a>Homeworld Remastered &#8211; <a href="http://store.steampowered.com/app/244160/" target="_blank">http://store.steampowered.com/app/244160/</a></p>
<p><img src="https://s0.wp.com/wp-content/mu-plugins/wpcom-smileys/twemoji/2/72x72/1f642.png" alt="🙂" class="wp-smiley" style="height: 1em; max-height: 1em;" /></p>
]]></content:encoded>
					
					<wfw:commentRss>https://caesarandlouie.wordpress.com/2015/01/26/grim-fandango-and-homeworld-remastered/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		
		<media:content url="https://0.gravatar.com/avatar/9583697433c8f6189b16010cb555ffc5e4c6681abc4aa683c537a83beb8fcc1a?s=96&#38;d=https%3A%2F%2Fs0.wp.com%2Fi%2Fmu.gif&#38;r=G" medium="image">
			<media:title type="html">Peter</media:title>
		</media:content>

		<media:content url="https://caesarandlouie.wordpress.com/wp-content/uploads/2015/01/grim-fandango-gameplay-1.jpg?w=700" medium="image">
			<media:title type="html">Grim-Fandango-Gameplay-1</media:title>
		</media:content>

		<media:content url="https://caesarandlouie.wordpress.com/wp-content/uploads/2015/01/homeworld-mothership.png?w=700" medium="image">
			<media:title type="html">Homeworld Mohtership</media:title>
		</media:content>
	</item>
		<item>
		<title>Python + Bottle + PythonAnywhere = easy online web app creation</title>
		<link>https://caesarandlouie.wordpress.com/2015/01/19/python-bottle-pythonanywhere-easy-online-web-app-creation/</link>
					<comments>https://caesarandlouie.wordpress.com/2015/01/19/python-bottle-pythonanywhere-easy-online-web-app-creation/#respond</comments>
		
		<dc:creator><![CDATA[Peter R]]></dc:creator>
		<pubDate>Tue, 20 Jan 2015 00:31:48 +0000</pubDate>
				<category><![CDATA[All Posts]]></category>
		<category><![CDATA[Software]]></category>
		<guid isPermaLink="false">http://caesarandlouie.wordpress.com/?p=738</guid>

					<description><![CDATA[What is it about weekends that they just really lend themselves to experimenting? I don&#8217;t know either. This weekend, I decided I&#8217;d spend some time with web development, so I assigned myself a task: create a simple web application which would have a single big text box at the top of the page which would [&#8230;]]]></description>
										<content:encoded><![CDATA[<p>What is it about weekends that they just really lend themselves to experimenting? I don&#8217;t know either. This weekend, I decided I&#8217;d spend some time with web development, so I assigned myself a task: create a simple web application which would have a single big text box at the top of the page which would allow the visitor to type whatever they want. Add a Submit button, allowing the user to save that text to a file on the server and then below that form, display all the text that has been entered so far. This is about as simple as a web form can get, I figured.</p>
<p><a href="https://caesarandlouie.wordpress.com/wp-content/uploads/2015/01/capture.png" target="_blank"><img loading="lazy" data-attachment-id="741" data-permalink="https://caesarandlouie.wordpress.com/2015/01/19/python-bottle-pythonanywhere-easy-online-web-app-creation/capture/" data-orig-file="https://caesarandlouie.wordpress.com/wp-content/uploads/2015/01/capture.png" data-orig-size="961,587" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="Capture" data-image-description="" data-image-caption="" data-medium-file="https://caesarandlouie.wordpress.com/wp-content/uploads/2015/01/capture.png?w=300" data-large-file="https://caesarandlouie.wordpress.com/wp-content/uploads/2015/01/capture.png?w=620" class="aligncenter wp-image-741 size-large" style="border:1px solid #c0c0c0;margin-top:5px;margin-bottom:5px;" src="https://caesarandlouie.wordpress.com/wp-content/uploads/2015/01/capture.png?w=620&#038;h=379" alt="Capture"   srcset="https://caesarandlouie.wordpress.com/wp-content/uploads/2015/01/capture.png?w=700 700w, https://caesarandlouie.wordpress.com/wp-content/uploads/2015/01/capture.png?w=150 150w, https://caesarandlouie.wordpress.com/wp-content/uploads/2015/01/capture.png?w=300 300w, https://caesarandlouie.wordpress.com/wp-content/uploads/2015/01/capture.png?w=768 768w, https://caesarandlouie.wordpress.com/wp-content/uploads/2015/01/capture.png 961w" sizes="(max-width: 700px) 100vw, 700px" /></a></p>
<p>I wanted to use my slowly growing python skills for this little dynamic web page, so I looked around for a framework to use, since Python doesn&#8217;t create web page source natively. I looked at Tornado, Flask and a few others, but they all seemed like overkill for my very simple purposes. I  liked the way the <a href="http://bottlepy.org/docs/dev/index.html" target="_blank">Bottle </a>home page made it sound very easy to create dynamic content so I decided to use it.</p>
<p>I knew my one page site / app was gong to need just one HTML page, and the only part of it that will be dynamic is the part which lists the previous entries, so I started by making a web page template. I used the very friendly, easy to learn <a href="http://initializr.com" target="_blank">Initializr </a>to save time with this. Just visit the site, make a few choices on what type of page you&#8217;re looking for and then download the source files. You get an HTML 5 file, CSS and JavaScript all in one zip file. I spent about 30 more minutes removing the parts I didn&#8217;t want (including all of the JavaScript), adding the form, updating the colors in the CSS to liking and voila! Index.tpl (for a Bottle template) and supporting static files all set.</p>
<p>At this point, the site consists of these files:</p>
<p>index.tpl</p>
<p>css/main.css</p>
<p>css/normalize.min.css</p>
<p>Next, I created an empty file which would hold the text: &#8216;allthetext&#8217;. I created the app&#8217;s code file next too: &#8216;bottle_app.py&#8217;. It doesn&#8217;t matter what you name that file, for this little app, since it will be the only one.</p>
<p>With Bottle then, the first thing you do is map out the &#8220;routes&#8221; or URLs you want the app to know how to handle. My app is the only thing this web site will be for, so my default route is just &#8220;/&#8221;. In the code, I knew I would have to handle both a GET of the page, which would be called when you first visit that path, and also a POST, which will be called when you submit some text in the form.</p>
<p>The GET just needs to display the web page, so that was easy:</p>
<pre>from bottle import Bottle, debug, get, request, route, run, static_file, template

app = Bottle()</pre>
<pre>@app.route('/', method='GET')
def index():
    return template('index')</pre>
<p>&nbsp;</p>
<p>The POST though has to get the value of the form field named &#8216;textarea&#8217; and save that into the &#8216;allthetext&#8217; file. Python makes this really simple but I have one complication. I want the newest entry to be at the top of the file, and then include the rest of the entries from there on down. Here&#8217;s the code that does this:</p>
<pre>@app.route('/s', method='POST')
def submit_form():
    try:
        bigtext = request.forms.get('bigtext')
        if (bigtext):
            new_text = ''
            current_text = ''
            current_file = open('allthetext', 'r')
            current_text = current_file.read()
            current_file.close()

            new_file = open('allthetext', 'w')
            new_text = bigtext + '\n------------------------------------------------------------------------------------------------\n'
            new_text = new_text + current_text

            new_file.write(new_text)
            new_file.close()

            return template("index")
        else:
            return template('index')</pre>
<p>&nbsp;</p>
<p>&#8220;S&#8221; is the Action of the form on the web page (index.tpl) so that&#8217;s the URL the code receives when you submit it. The logic here then just validates that we got some text from the form, and if so, opens the text file, writes the new text in there first, then writes all the older text back in as well. Close the file and re-load the page, and that&#8217;s about it. The HTML has python included which opens the file for reading, gets each line and adds that to the output, then closes the file.</p>
<p>I tested this locally and it works like a charm. One of the great things about Bottle is that it includes a development &#8220;server&#8221; out of the box, so you can test your work at your workstation even if you don&#8217;t have a web server running locally.</p>
<p>One thing that was not quite right at this pont was the static CSS files. The were not loading in the browser, as their paths were wrong. I added these Routes to the bottle_app.py script to solve that:</p>
<pre># Static Routes
@app.get('/&lt;filename:re:.*\.js&gt;')
def javascripts(filename):
    return static_file(filename, root='js/')

@app.get('/&lt;filename:re:.*\.css&gt;')
def stylesheets(filename):
    return static_file(filename, root='css/')

@app.route('/', method='GET')
def index():
    return template('index')</pre>
<p>&nbsp;</p>
<p>That just tells Bottle where to look for any file ending with &#8220;.css&#8221; or (in case I add this in later) &#8220;.js&#8221;.</p>
<p>So, just to summarize, this is what happens when you first visit the site:</p>
<ul>
<li>the URL requested is handled by the Bottle server</li>
<li>it reads my .py code to see what is needed.</li>
<li>my .py file says that for the &#8220;/&#8221; route, just send the template file (index.tpl) back as the response</li>
<li>inside that index file, I have Python code reading the contents of the allthetext text file and adding that to the HTML of the page before the browser sees it.</li>
</ul>
<p>When the user fills in the big text box on that page and clicks the Submit button, this is what happens:</p>
<ul>
<li>Bottle handles the request again, processes the POST request for the &#8220;/s&#8221; URL</li>
<li>Opens the allthetext file, adds the new text from the form field to the top of the file, appends the old text and saves the file again</li>
<li>send the index.tpl template again as the response</li>
<li>and so the user&#8217;s page refreshes with their new text content added to the page beneath the form field and button.</li>
</ul>
<p>Another really useful feature of Bottle is that when it gets a Form in the request, it knows how to collect up all that data and will also scrub it for things like cross-site-scripting attempts and clickjacking. As the developer of a very simple web app like mine, knowing that I don&#8217;t have worry about this is great. Of course, if I were creating an application for production use, I would still very carefully parse the data myself to make sure no bad requests are ever processed.</p>
<p>The last step in my little experiement then was just finding a way to run this online, so I could access the page from anywhere at any time. I found <a href="http://www.pythonanywhere.com/" target="_blank">PythonAnywhere</a>, a cloud service which makes it easy to host Python-based web apps like mine. They can support a lot of frameworks too including Flask and Bottle and many others, right out of the box. They very kindly offer a free service for small simple apps and also offer paid services at various levels for folks who need more performance or more CPU / Database time.</p>
<p>I created an account at PythonAnywhere, created my web app, uploaded my files, tweaked them a little for things like paths used and bang! It works. I would recommend this service to anyone else trying out any of the pieces of software I&#8217;ve described here. Their documentation is great and gets you up and running very quickly.</p>
<p>I am thinking now about what to do to my little web app next, like maybe adding date and time stamps to each entry and so on, but it was fun creating a really nice looking, HTML 5 compliant, web-based program that I can now run from anywhere, and it only took a few hours. Thanks for all the free stuff that made this all possible: Initializr, Python, Bottle and PythonAnywhere!</p>
<p><img src="https://s0.wp.com/wp-content/mu-plugins/wpcom-smileys/twemoji/2/72x72/1f642.png" alt="🙂" class="wp-smiley" style="height: 1em; max-height: 1em;" /></p>
<p>&nbsp;</p>
]]></content:encoded>
					
					<wfw:commentRss>https://caesarandlouie.wordpress.com/2015/01/19/python-bottle-pythonanywhere-easy-online-web-app-creation/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		
		<media:content url="https://0.gravatar.com/avatar/9583697433c8f6189b16010cb555ffc5e4c6681abc4aa683c537a83beb8fcc1a?s=96&#38;d=https%3A%2F%2Fs0.wp.com%2Fi%2Fmu.gif&#38;r=G" medium="image">
			<media:title type="html">Peter</media:title>
		</media:content>

		<media:content url="https://caesarandlouie.wordpress.com/wp-content/uploads/2015/01/capture.png?w=700" medium="image">
			<media:title type="html">Capture</media:title>
		</media:content>
	</item>
		<item>
		<title>Arduino + 1602 LCD stopwatch project!</title>
		<link>https://caesarandlouie.wordpress.com/2014/12/06/arduino-1602-lcd-stopwatch-project/</link>
					<comments>https://caesarandlouie.wordpress.com/2014/12/06/arduino-1602-lcd-stopwatch-project/#respond</comments>
		
		<dc:creator><![CDATA[Peter R]]></dc:creator>
		<pubDate>Sat, 06 Dec 2014 19:55:31 +0000</pubDate>
				<category><![CDATA[All Posts]]></category>
		<category><![CDATA[Arduino]]></category>
		<category><![CDATA[Software]]></category>
		<guid isPermaLink="false">http://caesarandlouie.wordpress.com/?p=726</guid>

					<description><![CDATA[I recently bought an Arduino Mega2560 beginner&#8217;s starter kit from MicroCenter and was looking for an interesting project to use it in. I wanted to use the 1602 LCD from the kit in the project, somehow. It occurred to me that I need a portable stopwatch for my Rubik&#8217;s Cube solving so that&#8217;s what I [&#8230;]]]></description>
										<content:encoded><![CDATA[<p><a href="https://caesarandlouie.wordpress.com/wp-content/uploads/2014/12/imag0782.jpg"><img loading="lazy" data-attachment-id="729" data-permalink="https://caesarandlouie.wordpress.com/2014/12/06/arduino-1602-lcd-stopwatch-project/imag0782/" data-orig-file="https://caesarandlouie.wordpress.com/wp-content/uploads/2014/12/imag0782.jpg" data-orig-size="2048,1520" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;2&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;HTC One mini&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;1417867379&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;3.82&quot;,&quot;iso&quot;:&quot;200&quot;,&quot;shutter_speed&quot;:&quot;0.008333&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;1&quot;}" data-image-title="IMAG0782" data-image-description="" data-image-caption="" data-medium-file="https://caesarandlouie.wordpress.com/wp-content/uploads/2014/12/imag0782.jpg?w=300" data-large-file="https://caesarandlouie.wordpress.com/wp-content/uploads/2014/12/imag0782.jpg?w=620" class="alignright wp-image-729 size-medium" style="margin-left:10px;" src="https://caesarandlouie.wordpress.com/wp-content/uploads/2014/12/imag0782.jpg?w=300&#038;h=223" alt="" width="300" height="223" srcset="https://caesarandlouie.wordpress.com/wp-content/uploads/2014/12/imag0782.jpg?w=300 300w, https://caesarandlouie.wordpress.com/wp-content/uploads/2014/12/imag0782.jpg?w=600 600w, https://caesarandlouie.wordpress.com/wp-content/uploads/2014/12/imag0782.jpg?w=150 150w" sizes="(max-width: 300px) 100vw, 300px" /></a>I recently bought an Arduino Mega2560 beginner&#8217;s starter kit <a href="http://www.microcenter.com/brand/4294891077/SainSmart" target="_blank">from MicroCenter</a> and was looking for an interesting project to use it in. I wanted to use the 1602 LCD from the kit in the project, somehow. It occurred to me that I need a portable stopwatch for my Rubik&#8217;s Cube solving so that&#8217;s what I made today. It uses the Arduino for counting seconds, minutes and hours and displays the count on a 1602 (16 columns by 2 rows) LCD display. There is a pause button, for when you want to go get some coffee and a reset button for when you lose your focus and need to start over (which happens to me a lot when my kids are around&#8230;).</p>
<p><strong>Parts list:</strong></p>
<p>1 x Arduino (Uno or Mega or whatever you have is OK, but there are 8 pins + 5v and GND used here)</p>
<p>1 x1602 LCD display (any as long as it uses Hitachi compatible pins)</p>
<p>1 x potentiometer (I used a 50K Ohm one that came with my kit but usually 10K Ohms is recommended)</p>
<p>1 x breadboard with lots of holes</p>
<p>2 x 4-pin momentary switches (the kind that you click once and then they reset)</p>
<p>2 x 10K Ohm resistors (don&#8217;t ask me the colors for the bands; I am partially colorblind. No, really.)</p>
<p>1 x N4001 Diode  (to protect the backlight pin on the LCD)</p>
<p>tons of jumper wires (about 20 actually)</p>
<p><strong>The Arduino sketch:</strong></p>
<pre>    #include &lt;LiquidCrystal.h&gt;

    // initialize the library with the numbers of the interface pins
    LiquidCrystal lcd(12, 11, 5, 4, 3, 2);
    // input pins:
    int pausePin = 22;
    int resetPin = 8;
    // output pin:
    int ledPin = 13; 
    // time counting things:
    unsigned long previousMillis = 0;
    long interval = 1000;     // one second
    // pin state trackers:
    int resetButtonState = 0;
    int pauseButtonState = 0;
    int ledState = LOW;
    //de-bounce the switches:
    int lastPauseButtonState = LOW; 
    int lastResetButtonState = LOW; 
    long lastPauseDebounceTime = 0;
    long lastResetDebounceTime = 0;
    long debounceDelay = 50;
    // setup the pause tracker and stopwatch seconds counter
    boolean isPaused = false; 
    unsigned long secs = 0;
    unsigned long mins = 0;
    unsigned long hrs = 0;

    void setup() {
      lcd.begin(16, 2);    // the LCD has 16 columns and 2 rows 
      lcd.setCursor(1,0);    // put the cursor at the first column on the first row
      lcd.print("Stopwatch:");
      pinMode(ledPin, OUTPUT);  
      pinMode(resetPin, INPUT);
      pinMode(pausePin, INPUT);
      Serial.begin(9600);     // for logging on the PC
    }

    void loop() { 
      Serial.print(" - Hrs: "); 
      Serial.print(hrs);
      Serial.print(" - Mins: "); 
      Serial.print(mins);
      Serial.print("Secs: "); 
      Serial.print(secs);
      Serial.print(" --- pause state: ");
      Serial.print(pauseButtonState);
      Serial.print(" --- isPaused: ");
      Serial.print(isPaused);  
      Serial.print(" --- reset state: ");
      Serial.println(resetButtonState);

      pauseButtonState = digitalRead(pausePin);
      if (pauseButtonState != lastPauseButtonState) {
        lastPauseDebounceTime = millis();
      }

      if ((millis() - lastPauseDebounceTime) &gt; debounceDelay) {
        if (pauseButtonState == HIGH) {
          Serial.println("*******************   PAUSE   ***************************");
          if (isPaused == true) {
            // start again
            isPaused = false;
          } else { 
            //pause now
            isPaused = true;     
          }
        }
      } 

      resetButtonState = digitalRead(resetPin);
      if (resetButtonState != lastResetButtonState) {
        lastResetDebounceTime = millis();
      }

      if ((millis() - lastResetDebounceTime) &gt; debounceDelay) {
        if (resetButtonState == HIGH) {
          Serial.println("^^^^^^^^^^^^^^^^^^^^^^^^  RESET  ^^^^^^^^^^^^^^^^^^^^^^^^^^");
          secs = 0; 
          mins = 0;
          hrs = 0;
          isPaused = false;
          lcd.setCursor(1,1);
          lcd.print("               "); 
        }
      }

      if (isPaused == false) {
        unsigned long currentMillis = millis();  
        if(currentMillis - previousMillis &gt;= interval) {
          secs = secs + 1;
          if (secs == 60) { 
            secs = 0;
            mins = mins + 1;
          }
          if (mins == 60) {
            mins = 0;
            hrs = hrs + 1;
          }       
          lcd.setCursor(1,1);
          String theTime = String(hrs);
          if (mins &gt;= 10) {
            theTime = theTime + ":" + String(mins);
          } else {  
            theTime = theTime + ":0" + String(mins);
          }
          if (secs &gt;= 10) {
            theTime = theTime + ":" + String(secs);
          } else {  
            theTime = theTime + ":0" + String(secs);
          }
          lcd.print(theTime);

          // flash the LED for status...
          previousMillis = currentMillis;   
          if (ledState == LOW) {
            ledState = HIGH;
          } else {
            ledState = LOW;
          }
          digitalWrite(ledPin, ledState);
        }
        delay(10);
        lastPauseButtonState = pauseButtonState;
        lastResetButtonState = resetButtonState; 
      }
    }</pre>
<p><strong>Initial hardware setup:</strong></p>
<ol>
<li>Don&#8217;t connect the Arduino to power (your PC) until this is all setup.</li>
<li>Drop the LCD onto the breadboard. I put mine over on the right side.</li>
<li>Drop the potentiometer onto the breadboard away from the LCD.</li>
<li>Jump wire from the 5V pin on the Arduino to the &#8220;+&#8221; rail on the breadboard.</li>
<li>Jump wire from the GND pin on the Arduino to the &#8220;-&#8221; rail on the breadboard.</li>
<li>Jump wire from the + rail to the left-most pin on the pot.</li>
<li>Jump wire from the &#8211; rail to the right-most pin on the pot.</li>
<li>Jump wire from pin &#8220;Vss&#8221; or #1 on the LCD to the &#8211; rail on the breadboard.</li>
<li>Jump wire from pin &#8220;Vdd&#8221; or #2 on the LCD to the + rail on the breadboard.</li>
<li>Jump wire from pin &#8220;V0&#8221; or #3 on the LCD to the middle pin on the pot.</li>
<li>Diode from the + rail to pin &#8220;A&#8221; or #15 on the LCD.</li>
<li>Jump wire from pin &#8220;K&#8221; or #16 to the &#8211; rail on the breadboard.</li>
<li>Plug in the Arduino to your computer. (That&#8217;s right no sketch yet at this point)</li>
<li>The LCD should be backlit if you did the &#8220;A&#8221; and &#8220;K&#8221; pins correctly.</li>
<li>Adjust the pot&#8217;s knob. You should be able to turn it all the way down and then see a row of boxes on the LCD.</li>
<li>If not, stop here and fix that. <a href="https://www.google.com/search?ie=UTF-8&amp;oe=UTF-8&amp;q=arduino+lcd+1602+boxes&amp;gws_rd=ssl" target="_blank">GIYF</a>.</li>
<li>Unplug the Arduino.</li>
<li>Jump wire from pin &#8220;RW&#8221; on the LCD to GND on the breadboard.</li>
<li>Jump wire from pin &#8220;RS&#8221; on the LCD to pin #12 on the Arduino.</li>
<li>Jump wire from pin &#8220;E&#8221; on the LCD to pin #11 on the Arduino.</li>
<li>Jump wire from pin #2 to pin &#8220;DB7&#8221; on the LCD.</li>
<li>Jump wire from pin #3 to pin &#8220;DB6&#8221; on the LCD.</li>
<li>Jump wire from pin #4 to pin &#8220;DB5&#8221; on the LCD.</li>
<li>Jump wire from pin #5 to pin &#8220;DB4&#8221; on the LCD.</li>
<li>Plug in the Arduino. Publish the sketch to your Arduino and watch it run.</li>
<li>If everything is just right, you&#8217;ll see &#8220;Stopwatch:&#8221; and the time counting up on the LCD display.</li>
<li>If not, pull your hair out and troubleshoot here before moving on. Curse a lot, it helps.</li>
</ol>
<p><strong>Add the switches to the board:</strong></p>
<ol>
<li>Drop the two 4-pin switches onto the breadboard, spanning the middle valley.</li>
<li>Name one of them reset and one pause in your mind. Keep them separate.</li>
<li>Jump wire from the reset switch on the same side as the other components to pin #8 (or whatever you like) on the breadboard.</li>
<li>Jump wire from the pause switch on the same side as the other components to pin #22 (or whatever you like) on the breadboard.</li>
<li>Jump wire from the reset switch on the opposite side of the breadboard from the other components to the + rail on the breadboard.</li>
<li>Jump wire from the pause switch on the opposite side of the breadboard from the other components to the + rail on the breadboard.</li>
<li>10K Ohm resistor from the other corner of the reset switch to another line on the opposite side of the breadboard from the other components.</li>
<li>10K Ohm resistor from the other corner of the pause switch to another line on the opposite side of the breadboard from the other components.</li>
<li>Jump wire from from the reset switch&#8217;s resistor&#8217;s second line to GND on the breadboard.</li>
<li>Jump wire from from the pause switch&#8217;s resistor&#8217;s second line to GND on the breadboard.</li>
<li>Whew, that&#8217;s it!</li>
</ol>
<p><a href="https://caesarandlouie.wordpress.com/wp-content/uploads/2014/12/lcd-stopwatch-fritzing.png"><img loading="lazy" data-attachment-id="735" data-permalink="https://caesarandlouie.wordpress.com/2014/12/06/arduino-1602-lcd-stopwatch-project/lcd-stopwatch-fritzing/" data-orig-file="https://caesarandlouie.wordpress.com/wp-content/uploads/2014/12/lcd-stopwatch-fritzing.png" data-orig-size="709,567" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="LCD Stopwatch &#8211; Fritzing" data-image-description="" data-image-caption="" data-medium-file="https://caesarandlouie.wordpress.com/wp-content/uploads/2014/12/lcd-stopwatch-fritzing.png?w=300" data-large-file="https://caesarandlouie.wordpress.com/wp-content/uploads/2014/12/lcd-stopwatch-fritzing.png?w=620" class="aligncenter wp-image-735 size-medium" style="border:2px solid #000000;" src="https://caesarandlouie.wordpress.com/wp-content/uploads/2014/12/lcd-stopwatch-fritzing.png?w=300&#038;h=240" alt="LCD Stopwatch - Fritzing diagram" width="300" height="240" srcset="https://caesarandlouie.wordpress.com/wp-content/uploads/2014/12/lcd-stopwatch-fritzing.png?w=300 300w, https://caesarandlouie.wordpress.com/wp-content/uploads/2014/12/lcd-stopwatch-fritzing.png?w=600 600w, https://caesarandlouie.wordpress.com/wp-content/uploads/2014/12/lcd-stopwatch-fritzing.png?w=150 150w" sizes="(max-width: 300px) 100vw, 300px" /></a></p>
<p><a href="https://caesarandlouie.wordpress.com/wp-content/uploads/2014/12/imag0785.jpg"><img loading="lazy" data-attachment-id="732" data-permalink="https://caesarandlouie.wordpress.com/2014/12/06/arduino-1602-lcd-stopwatch-project/imag0785/" data-orig-file="https://caesarandlouie.wordpress.com/wp-content/uploads/2014/12/imag0785.jpg" data-orig-size="2048,1520" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;2&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;HTC One mini&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;1417867446&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;3.82&quot;,&quot;iso&quot;:&quot;160&quot;,&quot;shutter_speed&quot;:&quot;0.033334&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;1&quot;}" data-image-title="Close-up on the Arduino" data-image-description="" data-image-caption="" data-medium-file="https://caesarandlouie.wordpress.com/wp-content/uploads/2014/12/imag0785.jpg?w=300" data-large-file="https://caesarandlouie.wordpress.com/wp-content/uploads/2014/12/imag0785.jpg?w=620" class="aligncenter wp-image-732 size-medium" style="border:2px solid #000000;" src="https://caesarandlouie.wordpress.com/wp-content/uploads/2014/12/imag0785.jpg?w=300&#038;h=223" alt="Close-up on the Arduino" width="300" height="223" srcset="https://caesarandlouie.wordpress.com/wp-content/uploads/2014/12/imag0785.jpg?w=300 300w, https://caesarandlouie.wordpress.com/wp-content/uploads/2014/12/imag0785.jpg?w=600 600w, https://caesarandlouie.wordpress.com/wp-content/uploads/2014/12/imag0785.jpg?w=150 150w" sizes="(max-width: 300px) 100vw, 300px" /></a></p>
<p><a href="https://caesarandlouie.wordpress.com/wp-content/uploads/2014/12/imag0784.jpg"><img loading="lazy" data-attachment-id="731" data-permalink="https://caesarandlouie.wordpress.com/2014/12/06/arduino-1602-lcd-stopwatch-project/imag0784/" data-orig-file="https://caesarandlouie.wordpress.com/wp-content/uploads/2014/12/imag0784.jpg" data-orig-size="2048,1520" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;2&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;HTC One mini&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;1417867437&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;3.82&quot;,&quot;iso&quot;:&quot;160&quot;,&quot;shutter_speed&quot;:&quot;0.008333&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;1&quot;}" data-image-title="Close-up on the pot and switches" data-image-description="" data-image-caption="" data-medium-file="https://caesarandlouie.wordpress.com/wp-content/uploads/2014/12/imag0784.jpg?w=300" data-large-file="https://caesarandlouie.wordpress.com/wp-content/uploads/2014/12/imag0784.jpg?w=620" class="aligncenter wp-image-731 size-medium" style="border:2px solid #000000;" src="https://caesarandlouie.wordpress.com/wp-content/uploads/2014/12/imag0784.jpg?w=300&#038;h=223" alt="Close-up on the pot and switches" width="300" height="223" srcset="https://caesarandlouie.wordpress.com/wp-content/uploads/2014/12/imag0784.jpg?w=300 300w, https://caesarandlouie.wordpress.com/wp-content/uploads/2014/12/imag0784.jpg?w=600 600w, https://caesarandlouie.wordpress.com/wp-content/uploads/2014/12/imag0784.jpg?w=150 150w" sizes="(max-width: 300px) 100vw, 300px" /></a><a href="https://caesarandlouie.wordpress.com/wp-content/uploads/2014/12/imag0783.jpg"><img loading="lazy" data-attachment-id="730" data-permalink="https://caesarandlouie.wordpress.com/2014/12/06/arduino-1602-lcd-stopwatch-project/imag0783/" data-orig-file="https://caesarandlouie.wordpress.com/wp-content/uploads/2014/12/imag0783.jpg" data-orig-size="2048,1520" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;2&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;HTC One mini&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;1417867390&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;3.82&quot;,&quot;iso&quot;:&quot;160&quot;,&quot;shutter_speed&quot;:&quot;0.008333&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;1&quot;}" data-image-title="Close-up on the LCD and wires" data-image-description="" data-image-caption="" data-medium-file="https://caesarandlouie.wordpress.com/wp-content/uploads/2014/12/imag0783.jpg?w=300" data-large-file="https://caesarandlouie.wordpress.com/wp-content/uploads/2014/12/imag0783.jpg?w=620" class="aligncenter wp-image-730 size-medium" style="border:2px solid #000000;" src="https://caesarandlouie.wordpress.com/wp-content/uploads/2014/12/imag0783.jpg?w=300&#038;h=223" alt="Close-up on the LCD and wires" width="300" height="223" srcset="https://caesarandlouie.wordpress.com/wp-content/uploads/2014/12/imag0783.jpg?w=300 300w, https://caesarandlouie.wordpress.com/wp-content/uploads/2014/12/imag0783.jpg?w=600 600w, https://caesarandlouie.wordpress.com/wp-content/uploads/2014/12/imag0783.jpg?w=150 150w" sizes="(max-width: 300px) 100vw, 300px" /></a></p>
<p><strong>Run it!</strong></p>
<p>With all of that wiring, connecting the LCD to the pot and he Arduino, and the switches wired to their own digital pins on the Arduino and to power and ground, you&#8217;re all set.</p>
<p>When you plug the Arduino back in, load the program if it&#8217;s not already there and voila! (Hopefully) The screen will show the stopwatch and start counting up. When you press the Reset button, the time should reset to zero. When you press the Pause button, the time should freeze, until you press Pause again.</p>
<p><strong>Troubleshooting</strong></p>
<p>I had trouble with the lCD not displaying the text I sent it at first. I found it was very lossly connecting to the breadboard, so I had to jiggle it and remove/replace it a few times until I could feel it going into the holes on the board properly and then it worked from there. If you have trouble, try this and then check online for other solutions. I rely on the kind folks at <a href="http://reddit.com/r/arduino" target="_blank">http://reddit.com/r/arduino</a> for lots of help and you can too.</p>
<p><strong>Conclusion</strong></p>
<p>If you try this out, let me know how it goes in the comments. Let me know too if you see any really significant improvements I could make. Thanks for reading this far.</p>
<p><img src="https://s0.wp.com/wp-content/mu-plugins/wpcom-smileys/twemoji/2/72x72/1f642.png" alt="🙂" class="wp-smiley" style="height: 1em; max-height: 1em;" /></p>
]]></content:encoded>
					
					<wfw:commentRss>https://caesarandlouie.wordpress.com/2014/12/06/arduino-1602-lcd-stopwatch-project/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		
		<media:content url="https://0.gravatar.com/avatar/9583697433c8f6189b16010cb555ffc5e4c6681abc4aa683c537a83beb8fcc1a?s=96&#38;d=https%3A%2F%2Fs0.wp.com%2Fi%2Fmu.gif&#38;r=G" medium="image">
			<media:title type="html">Peter</media:title>
		</media:content>

		<media:content url="https://caesarandlouie.wordpress.com/wp-content/uploads/2014/12/imag0782.jpg?w=300" medium="image" />

		<media:content url="https://caesarandlouie.wordpress.com/wp-content/uploads/2014/12/lcd-stopwatch-fritzing.png?w=300" medium="image">
			<media:title type="html">LCD Stopwatch - Fritzing diagram</media:title>
		</media:content>

		<media:content url="https://caesarandlouie.wordpress.com/wp-content/uploads/2014/12/imag0785.jpg?w=300" medium="image">
			<media:title type="html">Close-up on the Arduino</media:title>
		</media:content>

		<media:content url="https://caesarandlouie.wordpress.com/wp-content/uploads/2014/12/imag0784.jpg?w=300" medium="image">
			<media:title type="html">Close-up on the pot and switches</media:title>
		</media:content>

		<media:content url="https://caesarandlouie.wordpress.com/wp-content/uploads/2014/12/imag0783.jpg?w=300" medium="image">
			<media:title type="html">Close-up on the LCD and wires</media:title>
		</media:content>
	</item>
		<item>
		<title>Playing around with Jabber on the Rasberry Pi</title>
		<link>https://caesarandlouie.wordpress.com/2014/11/30/playing-around-with-jabber-on-the-rasberry-pi/</link>
					<comments>https://caesarandlouie.wordpress.com/2014/11/30/playing-around-with-jabber-on-the-rasberry-pi/#respond</comments>
		
		<dc:creator><![CDATA[Peter R]]></dc:creator>
		<pubDate>Sun, 30 Nov 2014 21:54:09 +0000</pubDate>
				<category><![CDATA[Raspberry Pi]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[pi]]></category>
		<guid isPermaLink="false">http://caesarandlouie.wordpress.com/?p=721</guid>

					<description><![CDATA[Hi all, this is just a post about my experience today trying something new on my Pi. I have been looking for something my son could do with his Pi, as it&#8217;s been sitting on a shelf gathering dust for some time. I thought maybe it would be easy to set it up as a [&#8230;]]]></description>
										<content:encoded><![CDATA[<p>Hi all, this is just a post about my experience today trying something new on my Pi. I have been looking for something my son could do with his Pi, as it&#8217;s been sitting on a shelf gathering dust for some time. I thought maybe it would be easy to set it up as a chat / Jabber / XMPP server so he and his buddies could chat whenever they like and so he would learn some about computer networking and Linux services and so on. The Pi is already running Raspbian as the OS so this seemed straight forward.</p>
<p>Here are the steps we followed:</p>
<pre>sudo apt-get update 
sudo apt-get upgrade</pre>
<p>(Just to get everything up to date in Raspbian land)</p>
<pre>sudo apt-get install prosody</pre>
<p>Prosody is the XMPP / Jabber server I chose to use, after reading about it and ejabberd online. They both offer lots of options but Prosody won out for its seemingly simple installation. I made that choice pretty quickly though, so I really don&#8217;t know ejabberd much.</p>
<pre>cd /etc/prosody
sudo cp prosody.cfg.lua ./prosody.cfg.BAK
sudo nano prosody.cfg.lua</pre>
<p>Now I needed to make a backup of the config file (LUA really) for Prosodyand then edit it. The server&#8217;s web site is very clear about most of this, so reference that if you need help:</p>
<p><a href="https://prosody.im/doc/configure" rel="nofollow">https://prosody.im/doc/configure</a></p>
<p>First, you need to set up a virtual host name. This concerned me at first, as all of the examples given looked like real domain names, like example.com, and I didn&#8217;t want to pay for any service like that (and I don&#8217;t own one already). I ended up just using my Pi&#8217;s name on the network, &#8220;firstpi&#8221; and that works fine as long as the clients are all inside the house.</p>
<p>Next, I enabled registration as its called, as that seemed the easiest way to get &#8220;accounts&#8221; setup on my new Chat server. Note to self &#8212; don&#8217;t forget to disable registration before opening the server to the full internet, or any oddball out there could also register an account for themselves!</p>
<pre>sudo service prosody restart</pre>
<p>&#8230; to make those config changes take effect.</p>
<p>Sure enough, now I have the Pi and Prosody listening on my LAN. I needed a Jabber client to connect to it with. I ended up using Gajim, since my laptops all run Windows and that worked out OK. It has a nice installer and runs OK for the most part. I have seen about six &#8220;An error just occurred&#8230;&#8221; messages in just a few minutes of playing with it, but it&#8217;s an Open Source project, so that&#8217;s OK.</p>
<p>In Gajim, I just added a couple accounts for me and my son. Creating the accounts in Gajim was easy (since I had the server setup to allow registration via the client) and before long, I was able to open a group chat room for my multiple accounts and chat. I named the accounts like, &#8220;dad@mypi&#8221; and &#8220;theboy@mypi&#8221; and Gajim found the server on its own.</p>
<p>I installed yaxim on my Android tablet next and again, setting up and connecting was easy there. It is limited to only one account in use at a time though, so that might be a concern for some.</p>
<p><a href="https://play.google.com/store/apps/details?id=org.yaxim.androidclient&#038;hl=en" rel="nofollow">https://play.google.com/store/apps/details?id=org.yaxim.androidclient&#038;hl=en</a></p>
<p>Now we can chat at each other from our Windows laptops and Android tablets with ease. Next step will be setting this up so we can chat from outside the house as well.</p>
<p>The advantages of doing this are: we set it all up ourselves, it&#8217;s a private chat channel, we learned a little about networking along the way.</p>
<p><img src="https://s0.wp.com/wp-content/mu-plugins/wpcom-smileys/twemoji/2/72x72/1f642.png" alt="🙂" class="wp-smiley" style="height: 1em; max-height: 1em;" /></p>
]]></content:encoded>
					
					<wfw:commentRss>https://caesarandlouie.wordpress.com/2014/11/30/playing-around-with-jabber-on-the-rasberry-pi/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		
		<media:content url="https://0.gravatar.com/avatar/9583697433c8f6189b16010cb555ffc5e4c6681abc4aa683c537a83beb8fcc1a?s=96&#38;d=https%3A%2F%2Fs0.wp.com%2Fi%2Fmu.gif&#38;r=G" medium="image">
			<media:title type="html">Peter</media:title>
		</media:content>
	</item>
		<item>
		<title>Cron stopped sending emails; dead.letter file was a clue</title>
		<link>https://caesarandlouie.wordpress.com/2014/05/05/cron-stopped-sending-emails-dead-letter-file-was-a-clue/</link>
					<comments>https://caesarandlouie.wordpress.com/2014/05/05/cron-stopped-sending-emails-dead-letter-file-was-a-clue/#comments</comments>
		
		<dc:creator><![CDATA[Peter R]]></dc:creator>
		<pubDate>Mon, 05 May 2014 21:28:06 +0000</pubDate>
				<category><![CDATA[Raspberry Pi]]></category>
		<category><![CDATA[Software]]></category>
		<guid isPermaLink="false">http://caesarandlouie.wordpress.com/?p=716</guid>

					<description><![CDATA[Quick post: Today I realized that a few days ago I stopped receiving emails from the Raspberry Pi running the latest version of the Raspbian OS. I have Cron setup to run a couple of scripts on a daily or weekly basis and by default cron emails the results of those scripts to my personal [&#8230;]]]></description>
										<content:encoded><![CDATA[<p>Quick post:</p>
<p>Today I realized that a few days ago I stopped receiving emails from the Raspberry Pi running the latest version of the Raspbian OS. I have Cron setup to run a couple of scripts on a daily or weekly basis and by default cron emails the results of those scripts to my personal email address. I realized those emails stopped coming a few days ago but couldn&#8217;t remember making any changes that should have caused this. Here are the steps I took to troubleshoot this:</p>
<p>1. Check crontab -l to list the jobs associated with my Pi login. They looked the same as always.</p>
<p>2. Run one of the scripts manually from the terminal. Yep, I get the expected result there.</p>
<p>3. Re-configure cron with crontab -l so the job will run in about two minutes. Wait three minutes&#8230; No output. Still no email. Hmmmm&#8230;</p>
<p>4. Notice there is a file in my Home directory named dead.letter that I never saw there before. Read up on what that is&#8230;</p>
<p>5. Look for logs in the /var/log. Notice that mail.log there has these entries:</p>
<p>May  5 13:13:08 firstpi sSMTP[10443]: Creating SSL connection to host<br />
May  5 13:13:08 firstpi sSMTP[10443]: SSL connection using RSA_ARCFOUR_SHA1<br />
May  5 13:13:08 firstpi sSMTP[10443]: Authorization failed (535 5.7.8 <a href="http://support.google.com/mail/bin/answer.py?answer=14257" rel="nofollow">http://support.google.com/mail/bin/answer.py?answer=14257</a> om5sm30207817igb.16 &#8211; gsmtp)</p>
<p>6. Remember that I changed the password on this email account a few days ago!</p>
<p>7. Edit the ssmtp.conf file which stores the credentials for this email account and update the password in there. Save the file, exit, breathe a sigh of relief.</p>
<p>Success!</p>
<p><img src="https://s0.wp.com/wp-content/mu-plugins/wpcom-smileys/twemoji/2/72x72/1f642.png" alt="🙂" class="wp-smiley" style="height: 1em; max-height: 1em;" /></p>
<p>&nbsp;</p>
]]></content:encoded>
					
					<wfw:commentRss>https://caesarandlouie.wordpress.com/2014/05/05/cron-stopped-sending-emails-dead-letter-file-was-a-clue/feed/</wfw:commentRss>
			<slash:comments>1</slash:comments>
		
		
		
		<media:content url="https://0.gravatar.com/avatar/9583697433c8f6189b16010cb555ffc5e4c6681abc4aa683c537a83beb8fcc1a?s=96&#38;d=https%3A%2F%2Fs0.wp.com%2Fi%2Fmu.gif&#38;r=G" medium="image">
			<media:title type="html">Peter</media:title>
		</media:content>
	</item>
	</channel>
</rss>
