<?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>Hack a Day &#187; perl</title>
	<atom:link href="http://hackaday.com/tag/perl/feed/" rel="self" type="application/rss+xml" />
	<link>http://hackaday.com</link>
	<description>Fresh hacks every day</description>
	<lastBuildDate>Fri, 10 Feb 2012 06:18:04 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='hackaday.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://1.gravatar.com/blavatar/5560f98f805877b0e332f191cb9e0af3?s=96&#038;d=http%3A%2F%2Fs2.wp.com%2Fi%2Fbuttonw-com.png</url>
		<title>Hack a Day &#187; perl</title>
		<link>http://hackaday.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://hackaday.com/osd.xml" title="Hack a Day" />
	<atom:link rel='hub' href='http://hackaday.com/?pushpress=hub'/>
		<item>
		<title>Web-enabling your smoke breaks</title>
		<link>http://hackaday.com/2011/02/28/web-enabling-your-smoke-breaks/</link>
		<comments>http://hackaday.com/2011/02/28/web-enabling-your-smoke-breaks/#comments</comments>
		<pubDate>Mon, 28 Feb 2011 20:30:49 +0000</pubDate>
		<dc:creator>Mike Szczys</dc:creator>
				<category><![CDATA[misc hacks]]></category>
		<category><![CDATA[arduino]]></category>
		<category><![CDATA[cigarette]]></category>
		<category><![CDATA[perl]]></category>
		<category><![CDATA[smoker]]></category>
		<category><![CDATA[smoking]]></category>

		<guid isPermaLink="false">http://hackaday.com/?p=36205</guid>
		<description><![CDATA[If you&#8217;re going to freeze your butt off smoking in the middle of winter you might was well have company while you&#8217;re out there. [Zach's] company wanted to crunch some data about smoking breaks and worker productivity. Instead of just meeting the bland data collection needs he decided to add functionality. He took time to [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=hackaday.com&amp;blog=4779443&amp;post=36205&amp;subd=hackadaycom&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><img class="alignnone size-full wp-image-36208" title="web-enabled-smoke-breaks" src="http://hackadaycom.files.wordpress.com/2011/02/web-enabled-smoke-breaks-e1298915309507.jpg" alt="" width="470" height="314" /></p>
<p>If you&#8217;re going to freeze your butt off smoking in the middle of winter you might was well have company while you&#8217;re out there. [Zach's] company wanted to crunch some data about smoking breaks and worker productivity. Instead of just meeting the bland data collection needs he decided to add functionality.</p>
<p><a href="http://www.reddit.com/r/arduino/comments/fbkap/xpost_from_rdiy_so_my_first_diy_project_that/">He took time to explain</a> the different parts of the system. Above you can see the web interface that lets you know which of your coworkers are smoking right now. It also lets you click to check in and out from your breaks. After this was up and running he found that often the smokers forgot to &#8216;clock out&#8217; before a break. As a backup system he build a physical interface on the way out of the office. Each smoker has their own button with a corresponding LED. If the light&#8217;s on you&#8217;re having a break and when it&#8217;s off you&#8217;re working. This controller is Arduino based and uses a Perl script to monitor the input and sync both that physical display and the web interface. [Zach] <a href="http://032koncept.imgur.com/diy_smoketracker">posted a few pictures</a> if you want to take a look at the rest of the system.</p>
<br />Filed under: <a href='http://hackaday.com/category/misc-hacks/'>misc hacks</a>  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/hackadaycom.wordpress.com/36205/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/hackadaycom.wordpress.com/36205/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/hackadaycom.wordpress.com/36205/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/hackadaycom.wordpress.com/36205/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/hackadaycom.wordpress.com/36205/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/hackadaycom.wordpress.com/36205/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/hackadaycom.wordpress.com/36205/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/hackadaycom.wordpress.com/36205/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/hackadaycom.wordpress.com/36205/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/hackadaycom.wordpress.com/36205/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/hackadaycom.wordpress.com/36205/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/hackadaycom.wordpress.com/36205/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/hackadaycom.wordpress.com/36205/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/hackadaycom.wordpress.com/36205/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=hackaday.com&amp;blog=4779443&amp;post=36205&amp;subd=hackadaycom&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://hackaday.com/2011/02/28/web-enabling-your-smoke-breaks/feed/</wfw:commentRss>
		<slash:comments>21</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">Mike Szczys</media:title>
		</media:content>

		<media:content url="http://hackadaycom.files.wordpress.com/2011/02/web-enabled-smoke-breaks-e1298915309507.jpg" medium="image">
			<media:title type="html">web-enabled-smoke-breaks</media:title>
		</media:content>
	</item>
		<item>
		<title>Building a bandwidth meter</title>
		<link>http://hackaday.com/2010/11/24/building-a-bandwidth-meter/</link>
		<comments>http://hackaday.com/2010/11/24/building-a-bandwidth-meter/#comments</comments>
		<pubDate>Wed, 24 Nov 2010 19:00:52 +0000</pubDate>
		<dc:creator>Mike Szczys</dc:creator>
				<category><![CDATA[arduino hacks]]></category>
		<category><![CDATA[analog]]></category>
		<category><![CDATA[arduino]]></category>
		<category><![CDATA[bandwidth]]></category>
		<category><![CDATA[gauge]]></category>
		<category><![CDATA[meter]]></category>
		<category><![CDATA[perl]]></category>
		<category><![CDATA[router]]></category>

		<guid isPermaLink="false">http://hackaday.com/?p=31046</guid>
		<description><![CDATA[Here&#8217;s an analog bandwidth meter made to look like an old pressure gauge. It&#8217;s actually new, but the paper showing the graduated scale was stained in a bath of black tea, then dried in an oven to give it an aged appearance. We think it&#8217;s quite effective. The dial itself is a volt meter driven [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=hackaday.com&amp;blog=4779443&amp;post=31046&amp;subd=hackadaycom&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><img class="alignnone size-full wp-image-31048" title="bandwidth-meter" src="http://hackadaycom.files.wordpress.com/2010/11/bandwidth-meter.jpg" alt="" width="470" height="353" /></p>
<p>Here&#8217;s an <a href="http://blog.skytee.com/2010/11/torrentmeter-a-steampunk-bandwidth-meter/">analog bandwidth meter</a> made to look like an old pressure gauge. It&#8217;s actually new, but the paper showing the graduated scale was stained in a bath of black tea, then dried in an oven to give it an aged appearance. We think it&#8217;s quite effective.</p>
<p>The dial itself is a volt meter driven by an Arduino in much the same way as <a href="http://hackaday.com/2010/06/24/multi-multimeter-clock/">the multimeter clock</a>. Bandwidth data is pulled from a Linux router, filtered down to the target data using &#8216;grep&#8217;, and sent over the serial connection by a Perl script. Since the meter itself is just waiting for serial data, alterations to the router&#8217;s scripting make it easy to represent a count of unread emails, tweets, or whatever data your code can scrape.</p>
<p>[Thanks Ben]</p>
<br />Filed under: <a href='http://hackaday.com/category/arduino-hacks/'>arduino hacks</a>  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/hackadaycom.wordpress.com/31046/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/hackadaycom.wordpress.com/31046/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/hackadaycom.wordpress.com/31046/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/hackadaycom.wordpress.com/31046/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/hackadaycom.wordpress.com/31046/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/hackadaycom.wordpress.com/31046/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/hackadaycom.wordpress.com/31046/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/hackadaycom.wordpress.com/31046/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/hackadaycom.wordpress.com/31046/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/hackadaycom.wordpress.com/31046/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/hackadaycom.wordpress.com/31046/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/hackadaycom.wordpress.com/31046/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/hackadaycom.wordpress.com/31046/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/hackadaycom.wordpress.com/31046/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=hackaday.com&amp;blog=4779443&amp;post=31046&amp;subd=hackadaycom&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://hackaday.com/2010/11/24/building-a-bandwidth-meter/feed/</wfw:commentRss>
		<slash:comments>15</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">Mike Szczys</media:title>
		</media:content>

		<media:content url="http://hackadaycom.files.wordpress.com/2010/11/bandwidth-meter.jpg" medium="image">
			<media:title type="html">bandwidth-meter</media:title>
		</media:content>
	</item>
		<item>
		<title>IM-ME graphic manipulation using sprites</title>
		<link>http://hackaday.com/2010/11/01/im-me-graphic-manipulation-using-sprites/</link>
		<comments>http://hackaday.com/2010/11/01/im-me-graphic-manipulation-using-sprites/#comments</comments>
		<pubDate>Mon, 01 Nov 2010 17:00:04 +0000</pubDate>
		<dc:creator>Mike Szczys</dc:creator>
				<category><![CDATA[Microcontrollers]]></category>
		<category><![CDATA[animation]]></category>
		<category><![CDATA[array]]></category>
		<category><![CDATA[perl]]></category>
		<category><![CDATA[sprite]]></category>
		<category><![CDATA[travis goodspeed]]></category>

		<guid isPermaLink="false">http://hackaday.com/?p=30020</guid>
		<description><![CDATA[Here&#8217;s a study in sprite animations that [Travis Goodspeed] put together. He&#8217;s working with one of his favorites, the pink IM-ME device that he&#8217;s been hacking on for a while now. But if you don&#8217;t have this hardware that shouldn&#8217;t discourage you. There&#8217;s a lot to be learned from his methods which will translate to [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=hackaday.com&amp;blog=4779443&amp;post=30020&amp;subd=hackadaycom&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><img class="alignnone size-full wp-image-30021" title="IMG_2454" src="http://hackadaycom.files.wordpress.com/2010/11/sprite-animations-im-me-e1288628778833.jpg" alt="" width="470" height="353" /></p>
<p>Here&#8217;s <a href="http://travisgoodspeed.blogspot.com/2010/11/bitmapped-sprites-on-girltech-imme.html">a study in sprite animations</a> that [Travis Goodspeed] put together. He&#8217;s working with one of his favorites, the pink IM-ME device that <a href="http://hackaday.com/2010/10/09/pulling-data-from-the-im-me-spectrum-analyzer/">he&#8217;s been hacking on for a while</a> now. But if you don&#8217;t have this hardware that shouldn&#8217;t discourage you. There&#8217;s a lot to be learned from his methods which will translate to any microcontroller working with a graphic LCD.</p>
<p>He starts with a 24-bit PNM sprite that includes three frames of his desired animation. From there he needs a way to store the data for use with 8-bit microcontrollers. He chose to write a Perl script that will translate the image format into a 1-bit map. Each frame of the animation takes up a column width that is a multiple of 8 for easy retrieval by the processor. This translation into a C array, and the accompanying code that translates it into data for the frame buffer is the key to the animation process. What is he shooting for? A sprite-based video game on the handheld.</p>
<br />Filed under: <a href='http://hackaday.com/category/microcontrollers/'>Microcontrollers</a>  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/hackadaycom.wordpress.com/30020/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/hackadaycom.wordpress.com/30020/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/hackadaycom.wordpress.com/30020/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/hackadaycom.wordpress.com/30020/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/hackadaycom.wordpress.com/30020/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/hackadaycom.wordpress.com/30020/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/hackadaycom.wordpress.com/30020/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/hackadaycom.wordpress.com/30020/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/hackadaycom.wordpress.com/30020/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/hackadaycom.wordpress.com/30020/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/hackadaycom.wordpress.com/30020/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/hackadaycom.wordpress.com/30020/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/hackadaycom.wordpress.com/30020/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/hackadaycom.wordpress.com/30020/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=hackaday.com&amp;blog=4779443&amp;post=30020&amp;subd=hackadaycom&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://hackaday.com/2010/11/01/im-me-graphic-manipulation-using-sprites/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">Mike Szczys</media:title>
		</media:content>

		<media:content url="http://hackadaycom.files.wordpress.com/2010/11/sprite-animations-im-me-e1288628778833.jpg" medium="image">
			<media:title type="html">IMG_2454</media:title>
		</media:content>
	</item>
		<item>
		<title>Another approach to power meter data harvesting</title>
		<link>http://hackaday.com/2010/09/21/another-approach-to-power-meter-data-harvesting/</link>
		<comments>http://hackaday.com/2010/09/21/another-approach-to-power-meter-data-harvesting/#comments</comments>
		<pubDate>Tue, 21 Sep 2010 17:00:17 +0000</pubDate>
		<dc:creator>Mike Szczys</dc:creator>
				<category><![CDATA[green hacks]]></category>
		<category><![CDATA[current cost]]></category>
		<category><![CDATA[embedded]]></category>
		<category><![CDATA[google powermeter]]></category>
		<category><![CDATA[perl]]></category>
		<category><![CDATA[webserver]]></category>

		<guid isPermaLink="false">http://hackaday.com/?p=28424</guid>
		<description><![CDATA[[Dodgy] wrote in to talk about his power meter data harvesting programs. This uses the same hardware by CurrentCost as the hack we looked at over the weekend but [Dodgy's] implementation is different. It&#8217;s separated into two parts, the first is a webserver written in C that harvests the data and makes it available at [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=hackaday.com&amp;blog=4779443&amp;post=28424&amp;subd=hackadaycom&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><img class="alignnone size-full wp-image-28425" title="more-google-powermeter" src="http://hackadaycom.files.wordpress.com/2010/09/more-google-powermeter-e1285082048424.png" alt="" width="470" height="297" /></p>
<p>[Dodgy] wrote in to talk about <a href="http://www.linux-depot.com/?p=projects&amp;s=currentcost">his power meter data harvesting programs</a>. This uses the same hardware by CurrentCost as <a href="http://hackaday.com/2010/09/18/smart-power-meter-interface-for-the-linux-crowd/">the hack we looked at over the weekend</a> but [Dodgy's] implementation is different. It&#8217;s separated into two parts, the first is a webserver written in C that harvests the data and makes it available at an address on the network, the second is written in Perl to format and upload data to Google PowerMeter.</p>
<p>The C program serves data on a configurable port, defaulting to 3090. All of the data can be accessed in one line of code by loading http://127.0.0.1:3090, or individually with subdirectories like /watts, /time, or /tempr. From there you can do what you want with the data. The second part of [Dodgy's] suite is <a href="http://www.linux-depot.com/?p=projects&amp;s=googlepower">a Perl script that polls the C server and sends the data</a> to your Google account.</p>
<p>One thing that interests us is his comment that you should be able to compile the server side C code for an embedded device. It would be a nice energy savings to be able to upload data regularly without a PC running constantly.</p>
<br />Filed under: <a href='http://hackaday.com/category/green-hacks/'>green hacks</a>  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/hackadaycom.wordpress.com/28424/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/hackadaycom.wordpress.com/28424/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/hackadaycom.wordpress.com/28424/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/hackadaycom.wordpress.com/28424/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/hackadaycom.wordpress.com/28424/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/hackadaycom.wordpress.com/28424/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/hackadaycom.wordpress.com/28424/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/hackadaycom.wordpress.com/28424/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/hackadaycom.wordpress.com/28424/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/hackadaycom.wordpress.com/28424/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/hackadaycom.wordpress.com/28424/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/hackadaycom.wordpress.com/28424/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/hackadaycom.wordpress.com/28424/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/hackadaycom.wordpress.com/28424/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=hackaday.com&amp;blog=4779443&amp;post=28424&amp;subd=hackadaycom&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://hackaday.com/2010/09/21/another-approach-to-power-meter-data-harvesting/feed/</wfw:commentRss>
		<slash:comments>17</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">Mike Szczys</media:title>
		</media:content>

		<media:content url="http://hackadaycom.files.wordpress.com/2010/09/more-google-powermeter-e1285082048424.png" medium="image">
			<media:title type="html">more-google-powermeter</media:title>
		</media:content>
	</item>
		<item>
		<title>Smart power meter interface for the Linux crowd</title>
		<link>http://hackaday.com/2010/09/18/smart-power-meter-interface-for-the-linux-crowd/</link>
		<comments>http://hackaday.com/2010/09/18/smart-power-meter-interface-for-the-linux-crowd/#comments</comments>
		<pubDate>Sat, 18 Sep 2010 21:00:18 +0000</pubDate>
		<dc:creator>Mike Szczys</dc:creator>
				<category><![CDATA[green hacks]]></category>
		<category><![CDATA[api]]></category>
		<category><![CDATA[cc128]]></category>
		<category><![CDATA[current cost]]></category>
		<category><![CDATA[google]]></category>
		<category><![CDATA[perl]]></category>
		<category><![CDATA[PowerMeter]]></category>
		<category><![CDATA[xml]]></category>

		<guid isPermaLink="false">http://hackaday.com/?p=28320</guid>
		<description><![CDATA[[Graham Auld] got his hands on an energy monitor for free from his utility company. The device seen in the insert provides a nice LCD display but he wanted a way to graph the data over time. There was an included cable and a method of using Google PowerMeter but only for Windows computers. He [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=hackaday.com&amp;blog=4779443&amp;post=28320&amp;subd=hackadaycom&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><img class="alignnone size-full wp-image-28321" title="power-meter-perl-interface" src="http://hackadaycom.files.wordpress.com/2010/09/power-meter-perl-interface.jpg" alt="" width="470" height="322" /></p>
<p>[Graham Auld] got his hands on an energy monitor for free from his utility company. The device seen in the insert provides a nice LCD display but he wanted a way to graph the data over time. There was an included cable and a method of using Google PowerMeter but only for Windows computers. He did a little poking around and came up with <a href="http://graham.auld.me.uk/projects/g-power/">a Perl script to interface the meter with Google&#8217;s tools</a>.</p>
<p>The hardware module is known as the <a href="http://www.currentcost.com/product-cc128.html">Current Cost CC128</a> and the developer was nice enough to publish an XML output description which [Graham] used in his script. From there it&#8217;s just a matter of registering and authenticating through the <a href="http://hackaday.com/2010/03/04/google-unveils-api-to-powermeter/">Google PowerMeter API</a>. The script is not fully polished yet but it serves as a road map for your own implementation.</p>
<br />Filed under: <a href='http://hackaday.com/category/green-hacks/'>green hacks</a>  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/hackadaycom.wordpress.com/28320/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/hackadaycom.wordpress.com/28320/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/hackadaycom.wordpress.com/28320/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/hackadaycom.wordpress.com/28320/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/hackadaycom.wordpress.com/28320/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/hackadaycom.wordpress.com/28320/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/hackadaycom.wordpress.com/28320/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/hackadaycom.wordpress.com/28320/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/hackadaycom.wordpress.com/28320/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/hackadaycom.wordpress.com/28320/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/hackadaycom.wordpress.com/28320/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/hackadaycom.wordpress.com/28320/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/hackadaycom.wordpress.com/28320/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/hackadaycom.wordpress.com/28320/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=hackaday.com&amp;blog=4779443&amp;post=28320&amp;subd=hackadaycom&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://hackaday.com/2010/09/18/smart-power-meter-interface-for-the-linux-crowd/feed/</wfw:commentRss>
		<slash:comments>25</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">Mike Szczys</media:title>
		</media:content>

		<media:content url="http://hackadaycom.files.wordpress.com/2010/09/power-meter-perl-interface.jpg" medium="image">
			<media:title type="html">power-meter-perl-interface</media:title>
		</media:content>
	</item>
		<item>
		<title>Web controlled Dark Crystal</title>
		<link>http://hackaday.com/2009/09/19/web-controlled-dark-crystal/</link>
		<comments>http://hackaday.com/2009/09/19/web-controlled-dark-crystal/#comments</comments>
		<pubDate>Sat, 19 Sep 2009 22:00:06 +0000</pubDate>
		<dc:creator>Mike Szczys</dc:creator>
				<category><![CDATA[led hacks]]></category>
		<category><![CDATA[ajax]]></category>
		<category><![CDATA[atmega8]]></category>
		<category><![CDATA[AVR]]></category>
		<category><![CDATA[avr-usb]]></category>
		<category><![CDATA[mood rock]]></category>
		<category><![CDATA[perl]]></category>
		<category><![CDATA[V-USB]]></category>

		<guid isPermaLink="false">http://hackaday.com/?p=15786</guid>
		<description><![CDATA[[Reza] sent in his mood rock. Unlike other &#8220;mood&#8221; devices, instead of showing what mood you&#8217;re in, it shows what mood the internets are in. Two ShiftBrite modules are controlled by an AVR ATmega8 which then connects to a computer via USB. The assembly is placed inside of a piece of alabaster. USB communications are [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=hackaday.com&amp;blog=4779443&amp;post=15786&amp;subd=hackadaycom&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><img class="alignnone size-full wp-image-15787" title="mood_rock_using_shiftbrights" src="http://hackadaycom.files.wordpress.com/2009/09/mood_rock_using_shiftbrights.jpg" alt="mood_rock_using_shiftbrights" width="400" height="225" /></p>
<p>[Reza] sent in <a href="http://reza.net/wordpress/?p=233">his mood rock</a>. Unlike other &#8220;mood&#8221; devices, instead of showing what mood you&#8217;re in, it shows what mood the internets are in. Two <a href="http://macetech.com/blog/node/83">ShiftBrite modules</a> are controlled by an AVR ATmega8 which then connects to a computer via USB. The assembly is placed inside of a piece of alabaster.</p>
<p>USB communications are controlled by the ATmega8 running <a href="http://www.obdev.at/products/vusb/index.html">V-USB (formerly AVR-USB) firmware</a>. [Reza] wrote some code to control the colors from the web using Perl and AJAX. <a href="http://rezasf.mine.nu/rock.html">Head over to the web interface</a> to set the colors yourself. We&#8217;d love it if a live webcam was added so we could see our mood on the rock itself.<span id="more-15786"></span><span style="text-align:center; display: block;"><a href="http://hackaday.com/2009/09/19/web-controlled-dark-crystal/"><img src="http://img.youtube.com/vi/aUOcE_a_99c/2.jpg" alt="" /></a></span></p>
<br />Posted in led hacks  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/hackadaycom.wordpress.com/15786/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/hackadaycom.wordpress.com/15786/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/hackadaycom.wordpress.com/15786/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/hackadaycom.wordpress.com/15786/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/hackadaycom.wordpress.com/15786/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/hackadaycom.wordpress.com/15786/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/hackadaycom.wordpress.com/15786/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/hackadaycom.wordpress.com/15786/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/hackadaycom.wordpress.com/15786/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/hackadaycom.wordpress.com/15786/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/hackadaycom.wordpress.com/15786/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/hackadaycom.wordpress.com/15786/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/hackadaycom.wordpress.com/15786/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/hackadaycom.wordpress.com/15786/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=hackaday.com&amp;blog=4779443&amp;post=15786&amp;subd=hackadaycom&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://hackaday.com/2009/09/19/web-controlled-dark-crystal/feed/</wfw:commentRss>
		<slash:comments>11</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">Mike Szczys</media:title>
		</media:content>

		<media:content url="http://hackadaycom.files.wordpress.com/2009/09/mood_rock_using_shiftbrights.jpg" medium="image">
			<media:title type="html">mood_rock_using_shiftbrights</media:title>
		</media:content>
	</item>
		<item>
		<title>Slowloris HTTP denial of service</title>
		<link>http://hackaday.com/2009/06/17/slowloris-http-denial-of-service/</link>
		<comments>http://hackaday.com/2009/06/17/slowloris-http-denial-of-service/#comments</comments>
		<pubDate>Wed, 17 Jun 2009 22:42:58 +0000</pubDate>
		<dc:creator>Zach Banks</dc:creator>
				<category><![CDATA[misc hacks]]></category>
		<category><![CDATA[security hacks]]></category>
		<category><![CDATA[apache]]></category>
		<category><![CDATA[dos]]></category>
		<category><![CDATA[HTTP]]></category>
		<category><![CDATA[perl]]></category>
		<category><![CDATA[rsnake]]></category>
		<category><![CDATA[servers]]></category>
		<category><![CDATA[slowloris]]></category>
		<category><![CDATA[web]]></category>

		<guid isPermaLink="false">http://hackaday.com/?p=11641</guid>
		<description><![CDATA[[RSnake] has developed a denial of service technique that can take down servers more effectively. Traditionally, performing a denial of service attack entailed sending thousands of requests to a server, these requests needlessly tie up resources until the server fails. This repetitive attack requires the requests to happen in quick succession, and is usually a [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=hackaday.com&amp;blog=4779443&amp;post=11641&amp;subd=hackadaycom&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><img class="alignnone" src="http://img.skitch.com/20090617-kd4539w842ky48m6yxehu51asb.jpg" alt="" width="450" height="200" /></p>
<p>[RSnake] has <a href="http://ha.ckers.org/blog/20090617/slowloris-http-dos/">developed a denial of service technique</a> that can take down servers more effectively. Traditionally, <a href="http://ha.ckers.org/blog/20090504/using-denial-of-service-for-hacking/">performing a denial of service attack</a> entailed sending thousands of requests to a server, these requests needlessly tie up resources until the server fails. This repetitive attack requires the requests to happen in quick succession, and is usually a distributed effort. However, [RSnake]&#8216;s new technique has a client open several HTTP sessions and keeps them open for as long as possible. Most servers are configured to handle only a set number of connections; the infinite sessions prevent legitimate requests from being handled, shutting down the site. This vulnerability is present on webservers that use threading, such as Apache.</p>
<p>A positive side effect of the hack is that the server does not crash, only the HTTP server is affected. His example perl implementation, <a href="http://ha.ckers.org/slowloris/">slowloris</a>, is able to take down an average website using only one computer. Once the attack stops, the website will come back online immediately.</p>
<p><strong>Update: Reader [Motoma] sent in a <a href="http://motomastyle.com/pyloris-a-python-implementation-of-slowloris/">python implementation</a> of slowloris called <a href="http://pyloris.sourceforge.net/">pyloris</a></strong></p>
<p>[photo: <a href="http://www.youtube.com/watch?v=rLdQ3UhLoD4">cutebreak</a>]</p>
<br />Posted in misc hacks, security hacks  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/hackadaycom.wordpress.com/11641/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/hackadaycom.wordpress.com/11641/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/hackadaycom.wordpress.com/11641/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/hackadaycom.wordpress.com/11641/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/hackadaycom.wordpress.com/11641/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/hackadaycom.wordpress.com/11641/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/hackadaycom.wordpress.com/11641/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/hackadaycom.wordpress.com/11641/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/hackadaycom.wordpress.com/11641/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/hackadaycom.wordpress.com/11641/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/hackadaycom.wordpress.com/11641/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/hackadaycom.wordpress.com/11641/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/hackadaycom.wordpress.com/11641/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/hackadaycom.wordpress.com/11641/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=hackaday.com&amp;blog=4779443&amp;post=11641&amp;subd=hackadaycom&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://hackaday.com/2009/06/17/slowloris-http-denial-of-service/feed/</wfw:commentRss>
		<slash:comments>38</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">zbanks</media:title>
		</media:content>

		<media:content url="http://img.skitch.com/20090617-kd4539w842ky48m6yxehu51asb.jpg" medium="image" />
	</item>
		<item>
		<title>Twitter IRC server, tircd</title>
		<link>http://hackaday.com/2009/01/05/twitter-irc-server-tircd/</link>
		<comments>http://hackaday.com/2009/01/05/twitter-irc-server-tircd/#comments</comments>
		<pubDate>Tue, 06 Jan 2009 03:43:58 +0000</pubDate>
		<dc:creator>Eliot</dc:creator>
				<category><![CDATA[downloads hacks]]></category>
		<category><![CDATA[news]]></category>
		<category><![CDATA[api]]></category>
		<category><![CDATA[cnelson]]></category>
		<category><![CDATA[irc]]></category>
		<category><![CDATA[irc server]]></category>
		<category><![CDATA[ircd]]></category>
		<category><![CDATA[perl]]></category>
		<category><![CDATA[proxy]]></category>
		<category><![CDATA[tircd]]></category>
		<category><![CDATA[twitter]]></category>

		<guid isPermaLink="false">http://hackaday.com/?p=7544</guid>
		<description><![CDATA[tircd is an ircd proxy for talking to the Twitter API. It should work with any standard IRC client. After running the Perl script, you authenticate to the IRC server using your Twitter username as your /nick. Join the room #twitter and the /topic will be set to your last update. Any message you type [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=hackaday.com&amp;blog=4779443&amp;post=7544&amp;subd=hackadaycom&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><img class="alignnone size-full wp-image-7545" title="tircd" src="http://hackadaycom.files.wordpress.com/2009/01/tircd.jpg" alt="tircd" width="450" height="286" /></p>
<p><a title="tircd - Google Code" href="http://code.google.com/p/tircd/">tircd</a> is an ircd proxy for talking to the <a title="Twitter API Wiki / FrontPage" href="http://apiwiki.twitter.com/">Twitter API</a>. It should work with any standard IRC client. After running the Perl script, you authenticate to the IRC server using your Twitter username as your /nick. Join the room #twitter and the /topic will be set to your last update. Any message you type will update Twitter and the room&#8217;s topic. All of the people you are following show up in the room as users and post messages as they tweet. If you private message one of them, it will become a direct message on Twitter. Other commands work too: /whois to get a person&#8217;s bio, /invite to start following, and /kick to unfollow. The project is brand new and will be added new features in the future like Search API support. Follow <a title="Twitter / tircd" href="http://twitter.com/tircd">@tircd</a> for updates.</p>
<br />Posted in downloads hacks, news  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/hackadaycom.wordpress.com/7544/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/hackadaycom.wordpress.com/7544/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/hackadaycom.wordpress.com/7544/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/hackadaycom.wordpress.com/7544/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/hackadaycom.wordpress.com/7544/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/hackadaycom.wordpress.com/7544/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/hackadaycom.wordpress.com/7544/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/hackadaycom.wordpress.com/7544/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/hackadaycom.wordpress.com/7544/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/hackadaycom.wordpress.com/7544/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/hackadaycom.wordpress.com/7544/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/hackadaycom.wordpress.com/7544/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/hackadaycom.wordpress.com/7544/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/hackadaycom.wordpress.com/7544/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=hackaday.com&amp;blog=4779443&amp;post=7544&amp;subd=hackadaycom&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://hackaday.com/2009/01/05/twitter-irc-server-tircd/feed/</wfw:commentRss>
		<slash:comments>21</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">RobotSkirts</media:title>
		</media:content>

		<media:content url="http://hackadaycom.files.wordpress.com/2009/01/tircd.jpg" medium="image">
			<media:title type="html">tircd</media:title>
		</media:content>
	</item>
		<item>
		<title>Data manipulation with Sprog</title>
		<link>http://hackaday.com/2008/07/06/data-manipulation-with-sprog/</link>
		<comments>http://hackaday.com/2008/07/06/data-manipulation-with-sprog/#comments</comments>
		<pubDate>Mon, 07 Jul 2008 01:41:00 +0000</pubDate>
		<dc:creator>Eliot</dc:creator>
				<category><![CDATA[misc hacks]]></category>
		<category><![CDATA[data]]></category>
		<category><![CDATA[database]]></category>
		<category><![CDATA[datamanipulation]]></category>
		<category><![CDATA[linuxjournal]]></category>
		<category><![CDATA[perl]]></category>
		<category><![CDATA[script]]></category>
		<category><![CDATA[sprog]]></category>

		<guid isPermaLink="false">http://hackaday.iheartcashews.com:8181/2008/07/06/data-manipulation-with-sprog/</guid>
		<description><![CDATA[Linux Journal&#8217;s [Mike Diehl] pointed out an interesting tool for manipulating data: Sprog. Sprog lets you assemble machines to complete specific data processing tasks. You snap together gears that read input data, process the data in different ways, and then output the results. The input could be a file, URL, database query results, or even [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=hackaday.com&amp;blog=4779443&amp;post=2202&amp;subd=hackadaycom&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><img width="450" vspace="4" hspace="4" height="180" border="0" src="http://hackadaycom.files.wordpress.com/2008/07/had_sprog.jpg?w=450&#038;h=180"  alt="" /><br />Linux Journal&#8217;s [Mike Diehl] pointed out an <a href="http://www.linuxjournal.com/content/data-manipulation-sprog">interesting tool for manipulating data</a>: Sprog. <a href="http://sprog.sourceforge.net/">Sprog</a> lets you assemble machines to complete specific data processing tasks. You snap together gears that read input data, process the data in different ways, and then output the results. The input could be a file, URL, database query results, or even MIDI notes. For processing you could be matching patterns, selecting csv columns, converting to uppercase, or executing arbitrary Perl code amongst many other options. Finally the output could be shown in a text window, inserted into a database, written to a file, or sent to your spreadsheet application. Sprog&#8217;s site has a section for user uploaded gears and a recipe section for examples like this <a href="http://sprog.sourceforge.net/recipes/crossword/index.html">crossword puzzle solver</a>. Everything Sprog does could be done with scripting, but this is a simple graphical tool that could help you solve a problem without having to know the gory machinery behind it.</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/hackadaycom.wordpress.com/2202/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/hackadaycom.wordpress.com/2202/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/hackadaycom.wordpress.com/2202/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/hackadaycom.wordpress.com/2202/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/hackadaycom.wordpress.com/2202/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/hackadaycom.wordpress.com/2202/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/hackadaycom.wordpress.com/2202/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/hackadaycom.wordpress.com/2202/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/hackadaycom.wordpress.com/2202/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/hackadaycom.wordpress.com/2202/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/hackadaycom.wordpress.com/2202/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/hackadaycom.wordpress.com/2202/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/hackadaycom.wordpress.com/2202/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/hackadaycom.wordpress.com/2202/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/hackadaycom.wordpress.com/2202/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/hackadaycom.wordpress.com/2202/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=hackaday.com&amp;blog=4779443&amp;post=2202&amp;subd=hackadaycom&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://hackaday.com/2008/07/06/data-manipulation-with-sprog/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">RobotSkirts</media:title>
		</media:content>

		<media:content url="http://hackadaycom.files.wordpress.com/2008/07/had_sprog.jpg" medium="image" />
	</item>
	</channel>
</rss>
