<?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"
	>

<channel>
	<title>Steve's Software Trek</title>
	<atom:link href="http://steve.kargs.net/feed/" rel="self" type="application/rss+xml" />
	<link>http://steve.kargs.net</link>
	<description>Open Source Software Haven</description>
	<pubDate>Thu, 02 Oct 2008 14:57:15 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.1</generator>
	<language>en</language>
			<item>
		<title>BACnet - First to the Moon, and Beyond!</title>
		<link>http://steve.kargs.net/bacnet/bacnet-first-to-the-moon-and-beyond/</link>
		<comments>http://steve.kargs.net/bacnet/bacnet-first-to-the-moon-and-beyond/#comments</comments>
		<pubDate>Tue, 16 Sep 2008 13:06:45 +0000</pubDate>
		<dc:creator>skarg</dc:creator>
		
		<category><![CDATA[BACnet]]></category>

		<guid isPermaLink="false">http://steve.kargs.net/?p=112</guid>
		<description><![CDATA[
I drove to the BACnet meetings in nearby Atlanta and Bill photographed my license plate.  We need lofty goals, don&#8217;t we?
]]></description>
			<content:encoded><![CDATA[<p><a href="http://steve.kargs.net/wp-content/uploads/2008/09/bacnet-firsttothemoon.jpg"><img class="alignnone size-full wp-image-113" title="bacnet-firsttothemoon" src="http://steve.kargs.net/wp-content/uploads/2008/09/bacnet-firsttothemoon.jpg" alt="" width="500" height="257" /></a></p>
<p>I drove to the BACnet meetings in nearby Atlanta and Bill photographed my license plate.  We need lofty goals, don&#8217;t we?</p>
]]></content:encoded>
			<wfw:commentRss>http://steve.kargs.net/bacnet/bacnet-first-to-the-moon-and-beyond/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Convert to MP3 Konqueror Service Menu</title>
		<link>http://steve.kargs.net/linux/convert-to-mp3-konqueror-service-menu/</link>
		<comments>http://steve.kargs.net/linux/convert-to-mp3-konqueror-service-menu/#comments</comments>
		<pubDate>Tue, 05 Aug 2008 13:17:22 +0000</pubDate>
		<dc:creator>skarg</dc:creator>
		
		<category><![CDATA[Linux]]></category>

		<category><![CDATA[Music]]></category>

		<guid isPermaLink="false">http://steve.kargs.net/?p=110</guid>
		<description><![CDATA[I wanted an easy way to convert music to MP3 from various formats under Konqueror in KDE on Kubuntu Linux.  I found an interesting post about creating a KDE Service Menu which got me started in the right direction.  However, I didn&#8217;t like the way ffmpeg converted to 64kbps MP3 quality and the bad sounding [...]]]></description>
			<content:encoded><![CDATA[<p>I wanted an easy way to convert music to MP3 from various formats under Konqueror in KDE on Kubuntu Linux.  I found an <a href="http://ubuntuforums.org/showthread.php?t=684029" target="_blank">interesting post about creating a KDE Service Menu</a> which got me started in the right direction.  However, I didn&#8217;t like the way <a href="http://ffmpeg.mplayerhq.hu/" target="_blank">ffmpeg</a> converted to 64kbps MP3 quality and the bad sounding results regardless of the bitrate settings that I chose.  I tried <a href="http://lame.sourceforge.net/" target="_blank">lame</a>, and was quite pleased with the results.  I also didn&#8217;t like the way the service menu used the entire filename without stripping the dotted extension, so I copied another service menu <a href="http://groups.google.co.th/group/alt.comp.lang.perl/browse_thread/thread/dc04e1d8bd91bb35" target="_blank">perl example</a>.  My &#8220;Convert to MP3&#8243; service menu script goes into the following location:</p>
<pre>/usr/share/apps/konqueror/servicemenus/</pre>
<p>File <a href="http://steve.kargs.net/wp-content/uploads/2008/08/convert_mp3.desktop">convertmp3.desktop</a>:</p>
<pre>[Desktop Entry]
ServiceTypes=audio/*
Actions=convertToMP3

[Desktop Action convertToMP3]
Name=Convert to MP3
Exec=lame -V2 %f "`echo %f | perl -pe 's/\.[^.]+$//'`.mp3"</pre>
<p>Enjoy!</p>
]]></content:encoded>
			<wfw:commentRss>http://steve.kargs.net/linux/convert-to-mp3-konqueror-service-menu/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Gmail IMAP Invalid Credentials in Thunderbird</title>
		<link>http://steve.kargs.net/uncategorized/gmail-imap-invalid-credentials-in-thunderbird/</link>
		<comments>http://steve.kargs.net/uncategorized/gmail-imap-invalid-credentials-in-thunderbird/#comments</comments>
		<pubDate>Thu, 17 Jul 2008 21:29:22 +0000</pubDate>
		<dc:creator>skarg</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://steve.kargs.net/?p=109</guid>
		<description><![CDATA[I kept getting &#8220;Invalid Credentials&#8221; in Thunderbird when connected to my Gmail IMAP account.  I found the solution to be:
https://www.google.com/accounts/UnlockCaptcha?
]]></description>
			<content:encoded><![CDATA[<p>I kept getting &#8220;Invalid Credentials&#8221; in Thunderbird when connected to my Gmail IMAP account.  I found the solution to be:</p>
<p><a href="https://www.google.com/accounts/UnlockCaptcha?" target="_blank">https://www.google.com/accounts/UnlockCaptcha?</a></p>
]]></content:encoded>
			<wfw:commentRss>http://steve.kargs.net/uncategorized/gmail-imap-invalid-credentials-in-thunderbird/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Birds Are Fast</title>
		<link>http://steve.kargs.net/photography/birds-are-fast/</link>
		<comments>http://steve.kargs.net/photography/birds-are-fast/#comments</comments>
		<pubDate>Sat, 12 Jul 2008 18:53:33 +0000</pubDate>
		<dc:creator>skarg</dc:creator>
		
		<category><![CDATA[photography]]></category>

		<guid isPermaLink="false">http://steve.kargs.net/?p=90</guid>
		<description><![CDATA[Birds are fast.  I guess that is why they have been able to survive all these years.  But I want to take a photograph of them!  So, I have learned to be fast.  Not just fast in taking the shot, but also fast regarding the shutter speed.
I usually use a longer lense (300mm) to get [...]]]></description>
			<content:encoded><![CDATA[<p>Birds are fast.  I guess that is why they have been able to survive all these years.  But I want to take a photograph of them!  So, I have learned to be fast.  Not just fast in taking the shot, but also fast regarding the shutter speed.</p>
<p>I usually use a longer lense (300mm) to get in close, and didn&#8217;t realize how much shaking is going on when I am photographing something.  Since a lot of birds eat in the morning or evening, and the setting is my back yard which is wooded, the birds are not in full sun light.  The other challenge in a wooded environment is auto focus.  Too many things for the auto focus to focus on, and how does it know I am looking at a bird?</p>
<p><a href="http://steve.kargs.net/wp-content/uploads/2008/07/blurry_woodpecker.jpg"><img class="alignnone size-thumbnail wp-image-101" title="blurry_woodpecker" src="http://steve.kargs.net/wp-content/uploads/2008/07/blurry_woodpecker-150x150.jpg" alt="" width="150" height="150" /></a><a href="http://steve.kargs.net/wp-content/uploads/2008/07/shake_cardinal_female.jpg"><img class="alignnone size-thumbnail wp-image-103" title="shake_cardinal_female" src="http://steve.kargs.net/wp-content/uploads/2008/07/shake_cardinal_female-150x150.jpg" alt="" width="150" height="150" /></a><a href="http://steve.kargs.net/wp-content/uploads/2008/07/in_flight_bird.jpg"><img class="alignnone size-thumbnail wp-image-105" title="in_flight_bird" src="http://steve.kargs.net/wp-content/uploads/2008/07/in_flight_bird-150x150.jpg" alt="" width="150" height="150" /></a></p>
<p>1) Focus Problem  2) Lens Shake  3) Missed the Bird</p>
<p>So here is what I do:</p>
<ol>
<li>Increase the ISO.  I set my Canon Digital Rebel XTi to ISO 1600.</li>
<li>Use shutter priority - TV - mode.  Set the shutter speed to 1/125s or faster.</li>
<li>Use the rapid fire - AI Servo - mode for taking lots of photos very fast.</li>
<li>Use manual focus (sometimes).</li>
</ol>
<p><a href="http://steve.kargs.net/wp-content/uploads/2008/07/cardinal_at_feeder.jpg"><img class="alignnone size-thumbnail wp-image-102" title="cardinal_at_feeder" src="http://steve.kargs.net/wp-content/uploads/2008/07/cardinal_at_feeder-150x150.jpg" alt="" width="150" height="150" /></a><a href="http://steve.kargs.net/wp-content/uploads/2008/07/chickadee_takeoff.jpg"><img class="alignnone size-thumbnail wp-image-104" title="chickadee_takeoff" src="http://steve.kargs.net/wp-content/uploads/2008/07/chickadee_takeoff-150x150.jpg" alt="" width="150" height="150" /></a><a href="http://steve.kargs.net/wp-content/uploads/2008/07/bird_at_feeder.jpg"><img class="alignnone size-thumbnail wp-image-106" title="bird_at_feeder" src="http://steve.kargs.net/wp-content/uploads/2008/07/bird_at_feeder-150x150.jpg" alt="" width="150" height="150" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://steve.kargs.net/photography/birds-are-fast/feed/</wfw:commentRss>
		</item>
		<item>
		<title>BACnet Meets in Salt Lake City</title>
		<link>http://steve.kargs.net/bacnet/bacnet-meets-in-salt-lake-city/</link>
		<comments>http://steve.kargs.net/bacnet/bacnet-meets-in-salt-lake-city/#comments</comments>
		<pubDate>Tue, 24 Jun 2008 01:33:19 +0000</pubDate>
		<dc:creator>skarg</dc:creator>
		
		<category><![CDATA[BACnet]]></category>

		<category><![CDATA[travel]]></category>

		<guid isPermaLink="false">http://steve.kargs.net/?p=91</guid>
		<description><![CDATA[
The BACnet committee met in Salt Lake City at the end of June.  We had a large number of Addenda that had finished public review, and had lots of comments for which to respond.  Salt Lake City had some interesting sites and some street items that I had not seen before.  The &#8220;Look&#8221; on the [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://steve.kargs.net/wp-content/uploads/2008/07/slc_mountain_range_wide_512.jpg"><img class="alignnone size-full wp-image-94" title="slc_mountain_range_wide_512" src="http://steve.kargs.net/wp-content/uploads/2008/07/slc_mountain_range_wide_512.jpg" alt="Salt Lake City Mountains" width="500" height="125" /></a></p>
<p>The <a href="http://www.bacnet.org/">BACnet</a> committee met in <a href="http://www.visitsaltlake.com/visit/" target="_blank">Salt Lake City</a> at the end of June.  We had a large number of Addenda that had finished public review, and had lots of comments for which to respond.  Salt Lake City had some interesting sites and some street items that I had not seen before.  The &#8220;Look&#8221; on the pavement, as well as the flags used at some crosswalks.<br />
<a href="http://steve.kargs.net/wp-content/uploads/2008/07/lookbothways.jpg"><img class="alignnone size-thumbnail wp-image-92" title="lookbothways" src="http://steve.kargs.net/wp-content/uploads/2008/07/lookbothways-150x150.jpg" alt="Look Both Ways!" /></a> <a href="http://steve.kargs.net/wp-content/uploads/2008/07/streetcrossingflags.jpg"><img class="alignnone size-thumbnail wp-image-93" title="streetcrossingflags" src="http://steve.kargs.net/wp-content/uploads/2008/07/streetcrossingflags-150x150.jpg" alt="Street Crossing Flags" width="150" height="150" /></a></p>
<p>I attended Mass at <a href="http://www.saltlakecathedral.org/" target="_blank">Cathedral of the Madeleine</a> on Saturday night.  It was a beautiful church and a thought provoking sermon.</p>
<p><a href="http://steve.kargs.net/wp-content/uploads/2008/07/cathedral_altar.jpg"><img class="alignnone size-thumbnail wp-image-95" title="cathedral_altar" src="http://steve.kargs.net/wp-content/uploads/2008/07/cathedral_altar-150x150.jpg" alt="Altar at the Cathedral" width="150" height="150" /></a><a href="http://steve.kargs.net/wp-content/uploads/2008/07/cathedral_of_the_madeleine.jpg"><img class="alignnone size-thumbnail wp-image-96" title="cathedral_of_the_madeleine" src="http://steve.kargs.net/wp-content/uploads/2008/07/cathedral_of_the_madeleine-150x150.jpg" alt="" width="150" height="150" /></a><a href="http://steve.kargs.net/wp-content/uploads/2008/07/cathedral_organ_crop.jpg"><img class="alignnone size-thumbnail wp-image-97" title="cathedral_organ_crop" src="http://steve.kargs.net/wp-content/uploads/2008/07/cathedral_organ_crop-150x150.jpg" alt="" width="150" height="150" /></a></p>
<p>I ate some wonderful food in Salt Lake City, including a fabulous carrot cake at <a title="Squatter's Pub Brewery" href="http://www.squatters.com/">Squatter&#8217;s Pub Brewery</a>, and some delightful salmon at <a title="Cucina Toscana" href="http://cucina-toscana.com/">Cucina Toscana</a>.</p>
<p><a href="http://steve.kargs.net/wp-content/uploads/2008/07/resized_dscn8934.jpg"><img class="alignnone size-thumbnail wp-image-98" title="resized_dscn8934" src="http://steve.kargs.net/wp-content/uploads/2008/07/resized_dscn8934-150x150.jpg" alt="" width="150" height="150" /></a><a href="http://steve.kargs.net/wp-content/uploads/2008/07/resized_dscn8936.jpg"><img class="alignnone size-thumbnail wp-image-100" title="resized_dscn8936" src="http://steve.kargs.net/wp-content/uploads/2008/07/resized_dscn8936-150x150.jpg" alt="" width="150" height="150" /></a><a href="http://steve.kargs.net/wp-content/uploads/2008/07/resized_dscn8935.jpg"><img class="alignnone size-thumbnail wp-image-99" title="resized_dscn8935" src="http://steve.kargs.net/wp-content/uploads/2008/07/resized_dscn8935-150x150.jpg" alt="" width="150" height="150" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://steve.kargs.net/bacnet/bacnet-meets-in-salt-lake-city/feed/</wfw:commentRss>
		</item>
		<item>
		<title>BACnet Committee Meets in Germantown</title>
		<link>http://steve.kargs.net/bacnet/bacnet-committee-meets-in-germantown/</link>
		<comments>http://steve.kargs.net/bacnet/bacnet-committee-meets-in-germantown/#comments</comments>
		<pubDate>Sat, 03 May 2008 13:55:00 +0000</pubDate>
		<dc:creator>skarg</dc:creator>
		
		<category><![CDATA[BACnet]]></category>

		<guid isPermaLink="false">http://steve.kargs.net/bacnet/bacnet-committee-meets-in-germantown/</guid>
		<description><![CDATA[Our fun BACnet committee and working groups met in Germantown at the end of April for a week.  The weather was perfect, and the Montgomery College Germantown Campus was beautiful and lively.
 
We had our traditional Tuesday night BACnet dinner at Dogfish Head Brewery.

Most of the working groups met.

]]></description>
			<content:encoded><![CDATA[<p>Our fun <a href="http://www.bacnet.org/" target="_blank">BACnet</a> committee and working groups met in Germantown at the end of April for a week.  The weather was perfect, and the <a href="http://www.montgomerycollege.edu/" target="_blank">Montgomery College Germantown Campus</a> was beautiful and lively.</p>
<p><a href="http://steve.kargs.net/wp-content/uploads/2008/DSCN7047.JPG" rel="lightbox"><img src="http://steve.kargs.net/wp-content/uploads/2008/.thumbs/.DSCN7047.JPG" alt="Cherry Tree in Bloom" title="Cherry Tree in Bloom" border="0" hspace="2" vspace="2" /></a><a href="http://steve.kargs.net/wp-content/uploads/2008/sunlit_cherry_tree.jpg" rel="lightbox"><img src="http://steve.kargs.net/wp-content/uploads/2008/.thumbs/.sunlit_cherry_tree.jpg" alt="sunlit_cherry_tree.jpg" title="sunlit_cherry_tree.jpg" border="0" hspace="2" vspace="2" /></a><a href="http://steve.kargs.net/wp-content/uploads/2008/DSCN7064.JPG" rel="lightbox"><img src="http://steve.kargs.net/wp-content/uploads/2008/.thumbs/.DSCN7064.JPG" alt="Pink Dogwood in Bloom" title="Pink Dogwood in Bloom" border="0" hspace="2" vspace="2" /></a> </p>
<p>We had our traditional Tuesday night BACnet dinner at <a href="http://www.dogfish.com/" target="_blank">Dogfish Head Brewery</a>.</p>
<p><a href="http://steve.kargs.net/wp-content/uploads/2008/DSCN7016.JPG" rel="lightbox"><img src="http://steve.kargs.net/wp-content/uploads/2008/.thumbs/.DSCN7016.JPG" alt="Don and Dave chat about Georgia Tech" title="Don and Dave chat about Georgia Tech" border="0" hspace="2" vspace="2" /></a><a href="http://steve.kargs.net/wp-content/uploads/2008/DSCN7019.JPG" rel="lightbox"><img src="http://steve.kargs.net/wp-content/uploads/2008/.thumbs/.DSCN7019.JPG" alt="Howard and Christoph" title="Howard and Christoph" border="0" hspace="2" vspace="2" /></a><a href="http://steve.kargs.net/wp-content/uploads/2008/DSCN7017.JPG" rel="lightbox"><img src="http://steve.kargs.net/wp-content/uploads/2008/.thumbs/.DSCN7017.JPG" alt="Mike, Steve, and David need reading glasses - Craig does not" title="Mike, Steve, and David need reading glasses - Craig does not" border="0" hspace="2" vspace="2" /></a></p>
<p>Most of the working groups met.</p>
<p><a href="http://steve.kargs.net/wp-content/uploads/2008/DSCN7030.JPG" rel="lightbox"><img src="http://steve.kargs.net/wp-content/uploads/2008/.thumbs/.DSCN7030.JPG" alt="SSPC 135 BACnet Committee" title="SSPC 135 BACnet Committee" border="0" hspace="2" vspace="2" /></a><a href="http://steve.kargs.net/wp-content/uploads/2008/DSCN7015.JPG" rel="lightbox"><img src="http://steve.kargs.net/wp-content/uploads/2008/.thumbs/.DSCN7015.JPG" alt="Working Group Meeting" title="Working Group Meeting" border="0" hspace="2" vspace="2" /></a><a href="http://steve.kargs.net/wp-content/uploads/2008/DSCN7029.JPG" rel="lightbox"><img src="http://steve.kargs.net/wp-content/uploads/2008/.thumbs/.DSCN7029.JPG" alt="Mike Newman" title="Mike Newman" border="0" hspace="2" vspace="2" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://steve.kargs.net/bacnet/bacnet-committee-meets-in-germantown/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Drawing a Fairy with Wings - Tinkerbell</title>
		<link>http://steve.kargs.net/clipart/drawing-a-fairy-with-wings-tinkerbell/</link>
		<comments>http://steve.kargs.net/clipart/drawing-a-fairy-with-wings-tinkerbell/#comments</comments>
		<pubDate>Sat, 03 May 2008 03:19:16 +0000</pubDate>
		<dc:creator>skarg</dc:creator>
		
		<category><![CDATA[clipart]]></category>

		<guid isPermaLink="false">http://steve.kargs.net/clipart/drawing-a-fairy-with-wings-tinkerbell/</guid>
		<description><![CDATA[My daughter Anna got a book in December - How to Draw Fairies.  I like to draw, so I studied it and began drawing a fairy using Inkscape.  Drawing scalable vector art that can be filled is different than sketching.  After I got the sketching finished, I had to redraw most of [...]]]></description>
			<content:encoded><![CDATA[<p>My daughter Anna got a book in December - How to Draw Fairies.  I like to draw, so I studied it and began drawing a fairy using <a href="http://inkscape.org/" target="_blank">Inkscape</a>.  Drawing scalable vector art that can be filled is different than sketching.  After I got the sketching finished, I had to redraw most of it to make it fillable so that I could add colors.</p>
<p><a href="http://steve.kargs.net/wp-content/uploads/2008/figure.png" rel="lightbox"><img src="http://steve.kargs.net/wp-content/uploads/2008/.thumbs/.figure.png" alt="figure.png" title="figure.png" border="0" hspace="2" vspace="2" /></a><a href="http://steve.kargs.net/wp-content/uploads/2008/torso.png" rel="lightbox"><img src="http://steve.kargs.net/wp-content/uploads/2008/.thumbs/.torso.png" alt="torso.png" title="torso.png" border="0" hspace="2" vspace="2" /></a><a href="http://steve.kargs.net/wp-content/uploads/2008/tinkerbell1.png" rel="lightbox"><img src="http://steve.kargs.net/wp-content/uploads/2008/.thumbs/.tinkerbell1.png" alt="tinkerbell1.png" title="tinkerbell1.png" border="0" hspace="2" vspace="2" /></a><a href="http://steve.kargs.net/wp-content/uploads/2008/tinkerbell2.png" rel="lightbox"><img src="http://steve.kargs.net/wp-content/uploads/2008/.thumbs/.tinkerbell2.png" alt="tinkerbell2.png" title="tinkerbell2.png" border="0" hspace="2" vspace="2" /></a> </p>
<p><a href="http://steve.kargs.net/wp-content/uploads/2008/tinkerbell3.png" rel="lightbox"><img src="http://steve.kargs.net/wp-content/uploads/2008/.thumbs/.tinkerbell3.png" alt="tinkerbell3.png" title="tinkerbell3.png" border="0" hspace="2" vspace="2" /></a><a href="http://steve.kargs.net/wp-content/uploads/2008/tinkerbell4.png" rel="lightbox"><img src="http://steve.kargs.net/wp-content/uploads/2008/.thumbs/.tinkerbell4.png" alt="tinkerbell4.png" title="tinkerbell4.png" border="0" hspace="2" vspace="2" /></a><a href="http://steve.kargs.net/wp-content/uploads/2008/winged-fairy.svg" rel="lightbox"><img src="http://steve.kargs.net/wp-content/uploads/2008/.thumbs/.winged-fairy.png" alt="winged-fairy.png" title="winged-fairy.png" border="0" hspace="2" vspace="2" /></a></p>
<p>I presented my handiwork to Anna.  She told me that Tinkerbell&#8217;s wings were more blue, she needed a ribbon in her hair, and she had tassles or balls on her shoes.  I guess I missed a few critical details.  So back to the drawing board I went.</p>
<p><a href="http://steve.kargs.net/wp-content/uploads/2008/tinkerbell.svg"><img src="http://steve.kargs.net/wp-content/uploads/2008/tinkerbell.png" alt="tinkerbell.png" title="tinkerbell.png" border="0" /></a></p>
<p>I had hoped to add this little gem to <a href="http://tuxpaint.org/" target="_blank">Tux Paint</a>, but I am not sure that I can since Tinkerbell is a <a href="http://disney.com/" target="_blank">Disney</a> trademark image.</p>
]]></content:encoded>
			<wfw:commentRss>http://steve.kargs.net/clipart/drawing-a-fairy-with-wings-tinkerbell/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Configuring Kubuntu 8.04 Linux for Dell Latitude D820 Notebook</title>
		<link>http://steve.kargs.net/linux/configuring-kubuntu-804-linux-for-dell-latitude-d820-notebook/</link>
		<comments>http://steve.kargs.net/linux/configuring-kubuntu-804-linux-for-dell-latitude-d820-notebook/#comments</comments>
		<pubDate>Sun, 20 Apr 2008 15:28:22 +0000</pubDate>
		<dc:creator>skarg</dc:creator>
		
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://steve.kargs.net/linux/configuring-kubuntu-804-linux-for-dell-latitude-d820-notebook/</guid>
		<description><![CDATA[I was pleasantly surprised to have all the hardware working and a smooth install of Kubuntu 8.04rc for a year old Dell Latitude D820 notebook PC.  There was still a bit of customization to do to make it work like I wanted, but who can fault Canonical for not knowing what I like?
Add Codecs, [...]]]></description>
			<content:encoded><![CDATA[<p>I was pleasantly surprised to have all the hardware working and a smooth install of <a href="http://kubuntu.com/" target="_blank">Kubuntu</a> 8.04rc for a year old <a href="http://dell.com/" target="_blank">Dell Latitude</a> D820 notebook PC.  There was still a bit of customization to do to make it work like I wanted, but who can fault <a href="http://www.canonical.com/" target="_blank">Canonical</a> for not knowing what I like?</p>
<h3>Add Codecs, Java, and other Customizations</h3>
<p>The official way to do this is documented in the Ubuntu Wiki under <a href="https://wiki.ubuntu.com/CommonCustomizations" target="_blank">CommonCustomizations</a>.  There is also a wiki page on <a href="https://wiki.ubuntu.com/EasyCodecInstallation">EasyCodecInstallation</a>.  The official meta package is called &#8220;ubuntu-restricted-extras&#8221; and this installs:</p>
<ul>
<li>MP3 playback and decoding</li>
<li>Sun Java runtime environment</li>
<li>Flash plugin</li>
<li>DVD playback</li>
<li>LAME (to create MP3 compressed audio files)</li>
<li>msttcorefonts (may be missing in kubuntu extras)</li>
<li>DeCSS script to download and install for DVD viewing</li>
</ul>
<p><code>$ sudo apt-get install kubuntu-restricted-extras</code><br />
<code>$ sudo /usr/share/doc/libdvdread3/install-css.sh</code><br />
<code>$ sudo apt-get install msttcorefonts</code></p>
<h3>Add the ability to compile, edit, and maintain code</h3>
<p>Here are the compilers and their documents<br />
<code>$ sudo apt-get install build-essential subversion-tools  gcc-4.2-doc glibc-doc manpages-dev</code><br />
<code>$ sudo apt-get install mingw32 mingw32-binutils mingw32-runtime</code><br />
I need access to subversion and XSLT ChangeLog tools<br />
<code>$ sudo apt-get install subversion-tools</code><br />
<code>$ sudo apt-get install xsltproc</code><br />
I install a couple of editors, useful for various things.  Kate is already installed.<br />
<code>$ sudo apt-get install scite</code><br />
<code>$ sudo apt-get install vim-full</code><br />
Useful tools for cleaning up code, converting comments and line endings, and code statistics:<br />
<code>$ sudo apt-get install splint</code><br />
<code>$ sudo apt-get install sloccount</code><br />
<code>$ sudo apt-get install indent</code><br />
<code>$ sudo apt-get install liwc</code><br />
<code>$ sudo apt-get install tofrodos</code></p>
<h3>Add favorite online music source and music/video player VLC</h3>
<p><code>$ sudo apt-get install streamtuner</code><br />
<code>$ sudo apt-get install vlc</code></p>
<h3>Get rid of limited use Dolphin</h3>
<p>This is one of the main reasons I use Kubuntu and KDE: Konqueror allows me to do many things that Nautilus and Dolphin prevent or are unable to customize<br />
<code>$ sudo apt-get remove dolphin</code></p>
<h3>Get Rid of IcedTea - Install Sun Java JRE</h3>
<p>I had several errors which prevented me from doing useful work on some websites that used Java.  Turns out that the default install of Kubuntu used <a href="http://iced-tea.org/" target="_blank">IcedTea - the OpenJDK</a>.  Well, apparently it doesn&#8217;t mimic Java the way the websites expected, and so, it didn&#8217;t work.  Into the hopper it goes, and Sun gets the install.<br />
<code>$ sudo apt-get remove openjdk-6-jre</code><br />
<code>$ sudo apt-get install sun-java6-jre</code></p>
<h3>Get rid of annoying PC speaker beep</h3>
<p>Using a console, remove the PC Speaker driver from the kernel:<br />
<code>$ sudo modprobe -r pcspkr</code><br />
Edit <strong>/etc/modprobe.d/blacklist</strong> and add a new line to keep the PC Speaker driver from automatically loading:<br />
<code># Keep the annoying beep from occurring - don't load the PC Speaker driver</code><br />
<code>blacklist pcspkr</code></p>
<h3>Get rid of annoying Synaptic Tap Button</h3>
<p>Edit the X11 configuration file <code>/etc/X11/xorg.conf</code></p>
<p>Add the Tapbutton line and any other missing lines in the Synaptic Touchpad section:</p>
<p><code>Section "InputDevice"</code><br />
<code>Identifier  "Synaptics Touchpad"</code><br />
<code>Driver      "synaptics"</code><br />
<code>Option      "SendCoreEvents" "true"</code><br />
<code>Option      "Device" "/dev/psaux"</code><br />
<code>Option      "Protocol" "auto-dev"</code><br />
<code>Option      "HorizScrollDelta" "0"</code><br />
<code>Option      "SHMConfig" "On"</code><br />
<code>Option      "TapButton1" "0"</code><br />
<code>EndSection</code></p>
<p>You can disable the Tap Button effect immediately using the synclient tool as long as SHMConfig is On:<br />
<code>$ synclient TapButton1=0</code></p>
<h3>Fix a bug in Firefox 3 rendering Check boxes and Radio boxes</h3>
<p>Check boxes and Radio boxes show as a blank box or circle until the focus is moved away.  This<a href="https://bugs.launchpad.net/ubuntu/+source/firefox-3.0/+bug/194624" target="_blank"> bug was reported</a>, and the solution is to install a GTK2 engine:<br />
<code>$ sudo apt-get install gtk2-engines-qtcurve</code></p>
<p>Additionally,  go to System Settings-&gt;Appearance-&gt;GTK Styles and fonts, and Set: Use another style = QtCurve.</p>
<h3>Updating a Toshiba A135 Notebook</h3>
<p>I also updated our Toshiba A135 Notebook and the sound and sound controls now work!  I did have to fix <a href="https://bugs.launchpad.net/ubuntu/+source/linux-restricted-modules-2.6.24/+bug/118605">an fglrx bug to keep from locking up on logout</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://steve.kargs.net/linux/configuring-kubuntu-804-linux-for-dell-latitude-d820-notebook/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Sharkfest &#8216;08 Conference for Wireshark</title>
		<link>http://steve.kargs.net/bacnet/sharkfest-08-conference-for-wireshark/</link>
		<comments>http://steve.kargs.net/bacnet/sharkfest-08-conference-for-wireshark/#comments</comments>
		<pubDate>Mon, 07 Apr 2008 05:53:26 +0000</pubDate>
		<dc:creator>skarg</dc:creator>
		
		<category><![CDATA[BACnet]]></category>

		<category><![CDATA[applications]]></category>

		<category><![CDATA[software]]></category>

		<category><![CDATA[travel]]></category>

		<guid isPermaLink="false">http://steve.kargs.net/bacnet/sharkfest-08-conference-for-wireshark/</guid>
		<description><![CDATA[I was invited to attend Sharkfest &#8216;08, a conference for Wireshark users and developers, held March 31-April 2 at Foothill College in Los Altos Hills, California.  I had a great time, and am so grateful that Gerald invited me to attend.  I attended as a Wireshark developer since I actively maintain the BACnet [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://steve.kargs.net/wp-content/uploads/2008/sharkfest08.gif" rel="lightbox"><img src="http://steve.kargs.net/wp-content/uploads/2008/sharkfest08.gif" alt="sharkfest logo" align="right" border="0" hspace="4" vspace="4" /></a>I was invited to attend <a href="http://www.cacetech.com/SHARKFEST.08/">Sharkfest &#8216;08</a>, a conference for <a href="http://wireshark.org/">Wireshark </a>users and developers, held March 31-April 2 at <a href="http://www.foothill.fhda.edu/">Foothill College</a> in Los Altos Hills, California.  I had a great time, and am so grateful that <a href="http://en.wikipedia.org/wiki/Gerald_Combs">Gerald</a> invited me to attend.  I attended as a Wireshark developer since I actively maintain the BACnet dissector.  I went to the conference with several goals in mind:</p>
<ol>
<li>Figure out how to do BACnet segmentation</li>
<li>Figure out how to get BACnet MS/TP into libpcap/winpcap.</li>
<li>Add a couple of BACnet dissector enhancements to Wireshark.</li>
<li>Learn about using Wireshark for problem network analysis.</li>
</ol>
<p>I attended <a href="http://www.wiresharktraining.com/">Laura Chappell&#8217;s training sessions</a>, and learned a whole lot about Network analysis and the love-hate relationship between TCP/IP SYN, ACK, and Keepalives (#4 completed).   I also wrote some <a href="http://bugs.wireshark.org/bugzilla/show_bug.cgi?id=2404">Wireshark code</a> during the classes which I promply submitted (#3 completed).  <a href="http://www.linkedin.com/pub/2/309/5b5">Loris</a> came into the activity center and sat down with my son Joshua and me, and so we discussed how to integrate BACnet MS/TP RS485 from serial port into libpcap/winpcap (#2 completed).  On the last day and the last session of the conference, I attended a session by <a href="http://www.richardsharpe.com/">Richard Sharpe</a> about file sharing protocols and learned about Wireshark conversations (#1 completed).</p>
<p><a href="http://steve.kargs.net/wp-content/uploads/2008/Vint_Gerald.jpg" rel="lightbox"><img src="http://steve.kargs.net/wp-content/uploads/2008/.thumbs/.Vint_Gerald.jpg" alt="Vint Cerf and Gerald Combs" title="Vint Cerf and Gerald Combs" align="right" border="0" hspace="4" vspace="4" /></a>We were treated to an inspiration talk on Tuesday morning by <a href="http://en.wikipedia.org/wiki/Vinton_Cerf">Vint Cerf</a>.   After the talk, I went to Laura&#8217;s session, and Joshua talked to Vint.  Vint signed Joshua&#8217;s Half-Life player guide, had photos taken with Vint and Gerald, and the Wireshark crew gave Joshua some <a href="http://en.wikipedia.org/wiki/Promotional_item">swag</a>.</p>
<p>Gerald treated the developers to dinner on Tuesday night at Trader Vic&#8217;s.  I drove to dinner with Joshua and <a href="http://www.linkedin.com/in/jaapkeuter">Jaap Keuter</a>, and learned about PBX systems and Jaap&#8217;s passion for <a href="http://www.xs4all.nl/~skydiver/">skydiving</a>. At dinner I sat next to <a href="http://wiki.wireshark.org/UlfLamping">Ulf Lamping</a> and learned about yet another division of <a href="http://siemens.com/">Siemens</a> and about Ulf&#8217;s love for motorcycle riding. <a href="mailto:guy@alum.mit.edu">Guy Harrris</a> and <a href="http://weblogs.java.net/blog/bondolo/">Mike</a> sat across from me.  Joshua ate with Gerald&#8217;s wife and daughter, and John Bruno&#8217;s wife.</p>
<p>The Foothill College campus was beautiful and on Spring Break.  The food was awesome and plentiful.  The people were great!  The Wireshark sessions were helpful.  Maybe I will get to attend next year.</p>
]]></content:encoded>
			<wfw:commentRss>http://steve.kargs.net/bacnet/sharkfest-08-conference-for-wireshark/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Read the Fine Manual or Datasheet</title>
		<link>http://steve.kargs.net/bacnet/read-the-fine-manual-or-datasheet/</link>
		<comments>http://steve.kargs.net/bacnet/read-the-fine-manual-or-datasheet/#comments</comments>
		<pubDate>Sun, 30 Mar 2008 16:20:04 +0000</pubDate>
		<dc:creator>skarg</dc:creator>
		
		<category><![CDATA[BACnet]]></category>

		<category><![CDATA[software]]></category>

		<guid isPermaLink="false">http://steve.kargs.net/bacnet/read-the-fine-manual-or-datasheet/</guid>
		<description><![CDATA[I found a bug in my Atmel AVR ATmega168 port of the BACnet Stack at SourceForge.  It was the result of having not read the AVR datasheet close enough.  Here is what the datasheet said:
The Transmit Complete (TXCn) Flag bit is set one when the entire frame in the Transmit Shift egister has [...]]]></description>
			<content:encoded><![CDATA[<p>I found a bug in my <a href="http://www.atmel.com/avr">Atmel AVR</a> ATmega168 port of the <a href="http://bacnet.sourceforge.net/">BACnet Stack at SourceForge</a>.  It was the result of having not read the AVR datasheet close enough.  Here is what the datasheet said:</p>
<blockquote><p><em>The Transmit Complete (TXCn) Flag bit is set one when the entire frame in the Transmit Shift egister has been shifted out and there are no new data currently present in the transmit buffer. The TXCn Flag bit is automatically cleared when a transmit complete interrupt is executed, or it can be cleared by writing a one to its bit location.</em></p></blockquote>
<p><a href="http://steve.kargs.net/wp-content/uploads/2008/SAGE_Instruction_Counter.JPG" rel="lightbox"><img src="http://steve.kargs.net/wp-content/uploads/2008/.thumbs/.SAGE_Instruction_Counter.JPG" alt="SAGE_Instruction_Counter.JPG" title="SAGE_Instruction_Counter.JPG" align="right" border="0" hspace="4" vspace="4" /></a>I had initially written the code to clear the TXC0 flag by clearing it, rather than setting it.  Since the code could not determine when the end of the transmission occurred, I had added a _delay_us() function from the AVR-GCC library.  This is what the AVR-GCC manual says about that function:</p>
<blockquote><p> <em>In order for these functions to work as intended, compiler optimizations must be enabled, and the delay time must be an expression that is a known constant at compile-time. If these requirements are not met, the resulting delay will be much longer (and basically unpredictable), and applications that otherwise do not use floating-point calculations will experience severe code bloat by the floating-point library routines linked into the application.</em></p></blockquote>
<p><a href="http://steve.kargs.net/wp-content/uploads/2008/ENIAC_tubes.jpg" rel="lightbox"><img src="http://steve.kargs.net/wp-content/uploads/2008/.thumbs/.ENIAC_tubes.jpg" alt="ENIAC_tubes.jpg" title="ENIAC_tubes.jpg" align="right" border="0" hspace="4" vspace="4" /></a>Severe code bloat indeed!  I had used a non-constant (the Baud Rate) in the delay call, and that resulted in a 4k increase in code size.  After fixing the Transmit Complete flag functionality, I was able to remove the _delay_us, and the code size dimimished by 4k.  On this 16k device, that means alot!</p>
<p>Statistics for the BACnet Stack at SourceForge on the ATmega168 are as follows:</p>
<p>IAR Atmel AVR C/C++ Compiler V5.10A/W32<br />
10 191 bytes of CODE memory (+             36 range fill )<br />
775 bytes of DATA memory (+ 24 absolute )</p>
<p>avr-gcc (GCC) 4.2.2 (WinAVR 20071221rc1)<br />
Program:   12052 bytes (73.6% Full)<br />
Data:        481 bytes (47.0% Full)</p>
<p>With all the extra code space, I went on to add more functionality to the demo. The <a href="http://www.bacnet.org/">BACnet</a> capabilities include WhoIs, I-Am, ReadProperty, and WriteProperty support.  The BACnet objects include a Device object, 10 Binary Value objects, and 10 Analog Value objects.  An LED is controlled by Binary Value object instance 0.  All required object properties can be retrieved using ReadProperty.  The Present_Value property of the Analog Value and Binary Value objects can be written using WriteProperty.  The Object_Identifier, Object_Name, Max_Info_Frames, Max_Master, and baud rate (property 9600) of the Device object can be written using WriteProperty.</p>
<p>After adding all that functionality, I learned the hard way about the C-Stack differences between the IAR AVR compiler and the GCC-AVR compiler.  The IAR compiler uses a fixed CStack size.  If it is not set correctly, the CStack can overflow and cause problems in your code.</p>
<p><a href="http://steve.kargs.net/wp-content/uploads/2008/Johnniac.jpg" rel="lightbox"><img src="http://steve.kargs.net/wp-content/uploads/2008/.thumbs/.Johnniac.jpg" alt="Johnniac.jpg" title="Johnniac.jpg" align="right" border="0" hspace="4" vspace="4" /></a>The GCC compiler uses the <a href="http://www.cs.utah.edu/~regehr/stacktool/">RAM not allocated to variables and text for the C-Stack</a>.  That means that the data value reported by the avr-size program is only part of the picture.  If the data value is 481 bytes, and the device has 1024 total, then 1024-481=543 bytes are used by the C-Stack.  In other words, don&#8217;t be fooled by the &#8220;47% Full&#8221; printed by avr-size and think that you have extra RAM.  You might be able to add some more functionality, but certainly leave some RAM (or alot in my case) for the C-Stack. The GCC-AVR has two intrinsic variables for tracking the C-Stack: _end and __stack.  These can be used to <a href="http://www.avrfreaks.net/index.php?name=PNphpBB2&amp;file=printview&amp;t=52249&amp;start=0">paint the C-Stack prior to its usage, and monitor the C-Stack during runtime</a>. I added this technique to the demo.</p>
<p>The final statistics on ATmega168 demo of the <a href="http://bacnet.sourceforge.net/">BACnet Stack at SourceForge</a>:</p>
<p>IAR Atmel AVR C/C++ Compiler V5.10A/W32<br />
12 732 bytes of CODE memory (+ 36 range fill )<br />
955 bytes of DATA memory (+ 24 absolute ) (CStack=0&#215;200)</p>
<p>avr-gcc (GCC) 4.2.2 (WinAVR 20071221rc1)<br />
Program:   15790 bytes (96.4% Full)<br />
Data:        414 bytes (40.4% Full) (CStack=0&#215;262)</p>
<p>Note: The photos are ancient computer memory from <a href="http://www.computerhistory.org/">The Computer History Museum</a> in <a href="http://en.wikipedia.org/wiki/Mountain_View%2C_California">Mountain View, California</a>.  I&#8217;m visiting the area for the <a href="http://www.cacetech.com/SHARKFEST.08/">Wireshark Sharkfest &#8216;08</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://steve.kargs.net/bacnet/read-the-fine-manual-or-datasheet/feed/</wfw:commentRss>
		</item>
		<item>
		<title>BACnet Meets in New York City</title>
		<link>http://steve.kargs.net/bacnet/bacnet-meets-in-new-york-city/</link>
		<comments>http://steve.kargs.net/bacnet/bacnet-meets-in-new-york-city/#comments</comments>
		<pubDate>Tue, 22 Jan 2008 13:54:56 +0000</pubDate>
		<dc:creator>skarg</dc:creator>
		
		<category><![CDATA[BACnet]]></category>

		<guid isPermaLink="false">http://steve.kargs.net/bacnet/bacnet-meets-in-new-york-city/</guid>
		<description><![CDATA[
Our highly intelligent BACnet committee met in New York City. The discussion centered around Interpretation Requests,  Public Review Addendum responses, and revised Public Review Addendum.  The Lighting Output object, part of SSPC 135-2004 Addendum i, was approved for its second Public Review.

Many working groups also met on Thursday, Friday, and Sunday. The Lighting [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://steve.kargs.net/wp-content/uploads/2008/SSPC_135_2008NYC.jpg" alt="SSPC 135 at the 2008 Committee Meeting in New York City" border="0" height="256" hspace="2" vspace="2" width="512" /></p>
<p>Our highly intelligent <a href="http://www.bacnet.org/">BACnet</a> committee met in <a href="http://en.wikipedia.org/wiki/New_york_city">New York City</a>. The discussion centered around Interpretation Requests,  Public Review Addendum responses, and revised Public Review Addendum.  The Lighting Output object, part of SSPC 135-2004 Addendum i, was approved for its second Public Review.</p>
<p><a href="http://steve.kargs.net/wp-content/uploads/2008/SSPC_135_Dinner.jpg" rel="lightbox"><img src="http://steve.kargs.net/wp-content/uploads/2008/.thumbs/.SSPC_135_Dinner.jpg" alt="SSPC_135_Dinner.jpg" title="SSPC_135_Dinner.jpg" border="0" height="96" hspace="2" vspace="2" width="128" /></a><a href="http://steve.kargs.net/wp-content/uploads/2008/Coleman_and_Bob.jpg" rel="lightbox"><img src="http://steve.kargs.net/wp-content/uploads/2008/.thumbs/.Coleman_and_Bob.jpg" alt="Coleman and Bob amid the jumble of wires" title="Coleman and Bob amid the jumble of wires" border="0" height="96" hspace="2" vspace="2" width="128" /></a><a href="http://steve.kargs.net/wp-content/uploads/2008/Andre_Presents_To_Bushby.jpg" rel="lightbox"><img src="http://steve.kargs.net/wp-content/uploads/2008/.thumbs/.Andre_Presents_To_Bushby.jpg" alt="Andre presents to Steve Bushby" title="Andre presents to Steve Bushby" border="0" height="96" hspace="2" vspace="2" width="128" /></a></p>
<p>Many working groups also met on Thursday, Friday, and Sunday. <a href="http://groups.yahoo.com/group/BACnetLighting/">The Lighting Applications working group</a> met on Sunday morning, and we worked on the Color Output object. <a href="http://groups.yahoo.com/group/BACnet-ZB-WG/">The Wireless Networking working group</a> met and discussed ways to reduce broadcast packets.  <a href="http://groups.yahoo.com/group/bacnet-oswg/">The Objects and Services working group</a> met and reviewed addendum comments.</p>
<p><a href="http://steve.kargs.net/wp-content/uploads/2008/LAWG_2008_NYC.jpg" rel="lightbox"><img src="http://steve.kargs.net/wp-content/uploads/2008/.thumbs/.LAWG_2008_NYC.jpg" alt="Lighting Applications working group" title="Lighting Applications working group" border="0" height="96" hspace="2" vspace="2" width="128" /></a><a href="http://steve.kargs.net/wp-content/uploads/2008/WNWG_2008_NYC.jpg" rel="lightbox"><img src="http://steve.kargs.net/wp-content/uploads/2008/.thumbs/.WNWG_2008_NYC.jpg" alt="Wireless Networking working group" title="Wireless Networking working group" border="0" height="96" hspace="2" vspace="2" width="128" /></a><a href="http://steve.kargs.net/wp-content/uploads/2008/OSWG_2008_NYC.jpg" rel="lightbox"><img src="http://steve.kargs.net/wp-content/uploads/2008/.thumbs/.OSWG_2008_NYC.jpg" alt="Objects and Services working group" title="Objects and Services working group" border="0" height="96" hspace="2" vspace="2" width="128" /></a></p>
<p>After the Sunday working group meetings, I attended mass at <a href="http://www.saintpatrickscathedral.org/">St. Patrick&#8217;s Cathedral</a>.  It was an awesome church and included a magnificent pipe organ and a number of alcoves.</p>
<p><a href="http://steve.kargs.net/wp-content/uploads/2008/StPatricksCathedral.jpg" rel="lightbox"><img src="http://steve.kargs.net/wp-content/uploads/2008/.thumbs/.StPatricksCathedral.jpg" alt="St Patrick's Cathedral" title="St Patrick's Cathedral" border="0" height="96" hspace="2" vspace="2" width="128" /></a><a href="http://steve.kargs.net/wp-content/uploads/2008/spc_alcove_1.jpg" rel="lightbox"><img src="http://steve.kargs.net/wp-content/uploads/2008/.thumbs/.spc_alcove_1.jpg" alt="Alcove at St. Patrick's Cathedral" title="Alcove at St. Patrick's Cathedral" border="0" height="96" hspace="2" vspace="2" width="128" /></a><a href="http://steve.kargs.net/wp-content/uploads/2008/spc_alcove_2.jpg" rel="lightbox"><img src="http://steve.kargs.net/wp-content/uploads/2008/.thumbs/.spc_alcove_2.jpg" alt="Alcove at St. Patrick's Cathedral" title="Alcove at St. Patrick's Cathedral" border="0" height="96" hspace="2" vspace="2" width="128" /></a></p>
<p>It was my first visit to New York City. I took a ferry to see the <a href="http://en.wikipedia.org/wiki/Statue_of_Liberty">Statue of Liberty Enlightening the World</a>, the full name for the Statue of Liberty. I took a lot of photos, and also sent a photo from my cell phone to my family.</p>
<p><a href="http://steve.kargs.net/wp-content/uploads/2008/LibertyEnlighteningTheWorld_closeup_s.jpg" rel="lightbox"><img src="http://steve.kargs.net/wp-content/uploads/2008/.thumbs/.LibertyEnlighteningTheWorld_closeup_s.jpg" alt="LibertyEnlighteningTheWorld" border="0" height="96" hspace="2" vspace="2" width="128" /></a><a href="http://steve.kargs.net/wp-content/uploads/2008/LibertyEnlighteningTheWorld_front.jpg" rel="lightbox"><img src="http://steve.kargs.net/wp-content/uploads/2008/.thumbs/.LibertyEnlighteningTheWorld_front.jpg" alt="A view of Liberty Enlightening The World from the ferry" title="A view of Liberty Enlightening The World from the ferry" border="0" height="96" hspace="2" vspace="2" width="128" /></a><a href="http://steve.kargs.net/wp-content/uploads/2008/StatueOfLibertyFromTrees.jpg" rel="lightbox"><img src="http://steve.kargs.net/wp-content/uploads/2008/.thumbs/.StatueOfLibertyFromTrees.jpg" alt="Statue Of Liberty as viewed from between some trees" title="Statue Of Liberty as viewed from between some trees" border="0" height="96" hspace="2" vspace="2" width="128" /></a></p>
<p>I also toured <a href="http://www.ellisisland.org/">Ellis Island</a>.  It was very touching as I toured the building, rooms, and steps where many families walked through to live in America between 1892 and 1924.  A set of steps leading down from the Registration Hall was divided into 3, and was dubbed the &#8220;Stairs of Separation.&#8221;  The steps marked the parting of the way for many family and friends with different destinations.  The middle steps led to the islands hospital or detention rooms, while the outer steps were destinations of New York or New Jersey by way of ferry.</p>
<p><a href="http://steve.kargs.net/wp-content/uploads/2008/StairsOfSeparation_s.jpg" rel="lightbox"><img src="http://steve.kargs.net/wp-content/uploads/2008/.thumbs/.StairsOfSeparation_s.jpg" alt="StairsOfSeparation" border="0" height="96" hspace="2" vspace="2" width="128" /></a><a href="http://steve.kargs.net/wp-content/uploads/2008/TheGreatHall_s.jpg" rel="lightbox"><img src="http://steve.kargs.net/wp-content/uploads/2008/.thumbs/.TheGreatHall_s.jpg" alt="The Great Hall or Registry Room" title="The Great Hall or Registry Room" border="0" height="96" hspace="2" vspace="2" width="128" /></a><a href="http://steve.kargs.net/wp-content/uploads/2008/Window_View_of_New_York_City.jpg" rel="lightbox"><img src="http://steve.kargs.net/wp-content/uploads/2008/.thumbs/.Window_View_of_New_York_City.jpg" alt="A View of New York City from a window in the Registry Room" title="A View of New York City from a window in the Registry Room" border="0" height="96" hspace="2" vspace="2" width="128" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://steve.kargs.net/bacnet/bacnet-meets-in-new-york-city/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Giving: Spread the Sharing</title>
		<link>http://steve.kargs.net/charity/giving-spread-the-sharing/</link>
		<comments>http://steve.kargs.net/charity/giving-spread-the-sharing/#comments</comments>
		<pubDate>Mon, 24 Dec 2007 17:19:00 +0000</pubDate>
		<dc:creator>skarg</dc:creator>
		
		<category><![CDATA[charity]]></category>

		<guid isPermaLink="false">http://steve.kargs.net/charity/giving-spread-the-sharing/</guid>
		<description><![CDATA[I listened to the Dave Ramsey Show today while driving across town.  Amy Grant was his guest.  They talked about a way to give by sharing a story: Spread The Sharing - Giving a Million meals through Second Harvest food bank.  Share a story on the Spread the Sharing website and Country [...]]]></description>
			<content:encoded><![CDATA[<p>I listened to the <a href="http://daveramsey.com/">Dave Ramsey</a> Show today while driving across town.  <a href="http://amygrant.com/">Amy Grant</a> was his guest.  They talked about a way to give by sharing a story: <a href="http://www.spreadthesharing.com/">Spread The Sharing - Giving a Million meals</a> through <a href="http://www.secondharvest.org/">Second Harvest</a> food bank.  Share a story on the <a href="http://www.spreadthesharing.com/">Spread the Sharing</a> website and <a href="http://www.countrycrock.com/">Country Crock</a> will donate a meal to America&#8217;s Second Harvest.</p>
]]></content:encoded>
			<wfw:commentRss>http://steve.kargs.net/charity/giving-spread-the-sharing/feed/</wfw:commentRss>
		</item>
		<item>
		<title>C/C++ Compiler Macros</title>
		<link>http://steve.kargs.net/software/cc-compiler-macros/</link>
		<comments>http://steve.kargs.net/software/cc-compiler-macros/#comments</comments>
		<pubDate>Tue, 27 Nov 2007 19:21:26 +0000</pubDate>
		<dc:creator>skarg</dc:creator>
		
		<category><![CDATA[software]]></category>

		<guid isPermaLink="false">http://steve.kargs.net/software/cc-compiler-macros/</guid>
		<description><![CDATA[Every once in awhile, I need a macro to work around a difference in a C compiler.
For example, not every compiler for the Win32 platform has implemented C99 integer and boolean types, so I have stdint.h and stdbool.h files.  Fortunately, The Open Group maintains an online definition for stdint.h and stdbool.h so I don&#8217;t [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://steve.kargs.net/wp-content/uploads/2007/cityscape_night.png" rel="lightbox"><img src="http://steve.kargs.net/wp-content/uploads/2007/.thumbs/.cityscape_night.png" alt="cityscape_night.png" title="cityscape_night.png" align="right" border="0" hspace="4" vspace="4" /></a>Every once in awhile, I need a macro to work around a difference in a C compiler.</p>
<p>For example, not every compiler for the Win32 platform has implemented C99 integer and boolean types, so I have <a href="http://bacnet.svn.sourceforge.net/viewvc/*checkout*/bacnet/trunk/bacnet-stack/ports/win32/stdint.h">stdint.h</a> and <a href="http://bacnet.svn.sourceforge.net/viewvc/*checkout*/bacnet/trunk/bacnet-stack/ports/win32/stdbool.h">stdbool.h</a> files.  Fortunately, The Open Group maintains an online definition for <a href="http://www.opengroup.org/onlinepubs/009695399/basedefs/stdint.h.html">stdint.h</a> and <a href="http://www.opengroup.org/onlinepubs/009695399/basedefs/stdbool.h.html">stdbool.h</a> so I don&#8217;t have to guess about what is supposed to go in there.  C99 also defines some new keywords: <code>restrict</code>, <code>inline</code>, <code>_Complex</code>, 	   <code>_Imaginary</code>, <code>_Bool</code>.  	   Since <code>_Bool</code> is used by stdbool.h, it may or may not have been defined by the compiler.  What I needed was a macro defined by the compiler that tells me which compiler it is so I can avoid compiler warnings.</p>
<p>Digging up the compiler macros on the internet can be challenging.  However, there is a nice project at SourceForge to track <a href="http://predef.sourceforge.net/">Pre-defined C/C++ Compiler Macros.</a></p>
<p>That makes things a whole lot easier!</p>
]]></content:encoded>
			<wfw:commentRss>http://steve.kargs.net/software/cc-compiler-macros/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Character problems after WordPress upgrade on Bluehost</title>
		<link>http://steve.kargs.net/hosting/character-problems-after-wordpress-upgrade-on-bluehost/</link>
		<comments>http://steve.kargs.net/hosting/character-problems-after-wordpress-upgrade-on-bluehost/#comments</comments>
		<pubDate>Sat, 17 Nov 2007 22:35:08 +0000</pubDate>
		<dc:creator>skarg</dc:creator>
		
		<category><![CDATA[hosting]]></category>

		<guid isPermaLink="false">http://steve.kargs.net/hosting/character-problems-after-wordpress-upgrade-on-bluehost/</guid>
		<description><![CDATA[I recently upgraded the WordPress install on BlueHost at Kargs.net.  The install and upgrade were done using the Fanstastico user interface.  After the install, I found that some of the characters in the older postings (mostly the quote character) were shown as unusual characters.  After a number of searches, I found the [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://steve.kargs.net/wp-content/uploads/2007/seal_on_rock_800x600.jpg" rel="lightbox"><img src="http://steve.kargs.net/wp-content/uploads/2007/.thumbs/.seal_on_rock_800x600.jpg" alt="seal_on_rock" title="seal_on_rock" align="right" border="0" height="96" hspace="4" vspace="4" width="128" /></a>I recently upgraded the <a href="http://wordpress.org/">WordPress</a> install on <a href="http://www.bluehost.com/track/kargsnet/stkblog">BlueHost</a> at <a href="http://kargs.net/">Kargs.net</a>.  The install and upgrade were done using the Fanstastico user interface.  After the install, I found that some of the characters in the older postings (mostly the quote character) were shown as unusual characters.  After a number of searches, I found the solution.</p>
<p>1. Modify the wp-config.php by commenting out<br />
<code><br />
//define('DB_CHARSET', 'utf8');<br />
//define('DB_COLLATE', '');<br />
</code><br />
2. Modify the wp-config-sample.php by commenting out<br />
<code><br />
//define('DB_CHARSET', 'utf8');<br />
//define('DB_COLLATE', '');<br />
</code></p>
<p>The second file, wp-config-sample.php, is used to prevent breakage in future upgrades.</p>
]]></content:encoded>
			<wfw:commentRss>http://steve.kargs.net/hosting/character-problems-after-wordpress-upgrade-on-bluehost/feed/</wfw:commentRss>
		</item>
		<item>
		<title>BACnet Plugfest - Milwaukee</title>
		<link>http://steve.kargs.net/bacnet/bacnet-plugfest-milwaukee/</link>
		<comments>http://steve.kargs.net/bacnet/bacnet-plugfest-milwaukee/#comments</comments>
		<pubDate>Wed, 17 Oct 2007 04:29:41 +0000</pubDate>
		<dc:creator>skarg</dc:creator>
		
		<category><![CDATA[BACnet]]></category>

		<guid isPermaLink="false">http://steve.kargs.net/bacnet/bacnet-plugfest-milwaukee/</guid>
		<description><![CDATA[I attended the BACnet Interoperability Workshop again this year. The Plugfest was held in Milwaukee.  I tested another BACnet Stack at SourceForge enabled device.  This time it was an Atmel AVR ATmega168 using the GCC WinAVR compiler.  It was utilizing the BACnet MS/TP datalink layer, and had a Device object and 9 [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://steve.kargs.net/wp-content/uploads/2007/ATmega168_BACnet.jpg" rel="lightbox"><img src="http://steve.kargs.net/wp-content/uploads/2007/.thumbs/.ATmega168_BACnet.jpg" alt="ATmega168 running BACnet" title="ATmega168 running BACnet" align="right" border="0" hspace="4" vspace="4" /></a>I attended the <a href="http://bacnetinternational.org/">BACnet Interoperability Workshop</a> again this year. The Plugfest was held in Milwaukee.  I tested another <a href="http://bacnet.sourceforge.net/">BACnet Stack at SourceForge</a> enabled device.  This time it was an Atmel AVR ATmega168 using the <a href="http://winavr.sourceforge.net/">GCC WinAVR</a> compiler.  It was utilizing the <a href="http://www.bacnet.org/">BACnet</a> MS/TP datalink layer, and had a Device object and 9 Analog Input objects inside.  It supported the ReadProperty service, and WhoIs and I-Am services for binding.  It had a Maximum APDU size of 128 bytes.<br />
AVR Memory Usage<br />
&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
Device: atmega168</p>
<p>Program:   16350 bytes (99.8% Full)<br />
(.text + .data + .bootloader)</p>
<p>Data:        630 bytes (61.5% Full)<br />
(.data + .bss + .noinit)</p>
<p>Here is the key that helped me fit the code.  I found a <a href="http://gcc.gnu.org/ml/gcc-help/2003-08/msg00128.html">GCC compiler and linker directive</a> that allowed all the unused functions and dead code to be removed.  I found the directive initially on the <a href="http://m68hc11.serveftp.org/wiki/index.php/FAQ:Link#How_can_I_remove_unused_functions.3F">GCC M68HC11 FAQ</a>. It saved me from having to split out all the functions into separate files and put them into a single library.</p>
<p><a href="http://steve.kargs.net/wp-content/uploads/2007/Wireshark_NPDU.png" rel="lightbox"><img src="http://steve.kargs.net/wp-content/uploads/2007/.thumbs/.Wireshark_NPDU.png" alt="Wireshark_NPDU.png" title="Wireshark_NPDU.png" align="right" border="0" hspace="4" vspace="4" /></a>I also met some great folks, some of whom were using the <a href="http://bacnet.sourceforge.net/">BACnet Stack at SourceForge</a> in their products.  I also saw a lot of folks using <a href="http://wireshark.org/">Wireshark</a> for BACnet protocol analysis.  I also got to see a lot of friends that I have made over the years.</p>
<p>Edit: I compiled the project with <a href="http://www.iar.com/">IAR AVR version 4 compiler</a> and here are the memory usage statistics:</p>
<p>IAR AVR:<br />
10 055 bytes of CODE memory (+ 36 range fill )<br />
553 bytes of DATA memory (+ 24 absolute )</p>
]]></content:encoded>
			<wfw:commentRss>http://steve.kargs.net/bacnet/bacnet-plugfest-milwaukee/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>
