<?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; javascript</title>
	<atom:link href="http://hackaday.com/tag/javascript/feed/" rel="self" type="application/rss+xml" />
	<link>http://hackaday.com</link>
	<description>Fresh hacks every day</description>
	<lastBuildDate>Fri, 10 Feb 2012 10:54:53 +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; javascript</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>Wicked use of HTML5 to display sensor data</title>
		<link>http://hackaday.com/2011/10/25/wicked-use-of-html5-to-display-sensor-data/</link>
		<comments>http://hackaday.com/2011/10/25/wicked-use-of-html5-to-display-sensor-data/#comments</comments>
		<pubDate>Tue, 25 Oct 2011 16:42:09 +0000</pubDate>
		<dc:creator>Mike Szczys</dc:creator>
				<category><![CDATA[Microcontrollers]]></category>
		<category><![CDATA[html5]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[json]]></category>
		<category><![CDATA[mbed]]></category>
		<category><![CDATA[qr code]]></category>
		<category><![CDATA[sensor]]></category>
		<category><![CDATA[websockets]]></category>

		<guid isPermaLink="false">http://hackaday.com/?p=59553</guid>
		<description><![CDATA[This project shows you one possible way to use HTML5 to fully integrate sensor data from a microcontroller into our technological lives. Now, when we saw this tip come through our inbox we thought it would be an interesting example to learn from but we weren&#8217;t ready for how truly cool the setup is. Take [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=hackaday.com&amp;blog=4779443&amp;post=59553&amp;subd=hackadaycom&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><img class="alignnone size-full wp-image-59555" title="html5-display-sensor-data" src="http://hackadaycom.files.wordpress.com/2011/10/html5-display-sensor-data-e1319555071160.png" alt="" width="470" height="170" /></p>
<p>This project shows you one possible way to <a href="http://mbed.org/cookbook/IOT">use HTML5 to fully integrate sensor data from a microcontroller</a> into our technological lives. Now, when we saw this tip come through our inbox we thought it would be an interesting example to learn from but we weren&#8217;t ready for how truly cool the setup is. Take a look at the video after the break and you&#8217;ll see that scanning the QR code on the project box will immediately start a 10ms resolution live stream of the accelerometer data. Furthermore, the browser page that the phone loads allows you to send what you&#8217;re currently viewing to the main frame of a browser running on a different computer with the touch of a button. In this way you can build a dashboard of streaming sensor data. Talk about the future of home automation. Imagine a QR code on your thermostat that allows you gain access to your home&#8217;s heating, air conditioning, humidifier, and water heater performance and controls just by snapping a pic? The sky&#8217;s the limit on this one so let us know what you&#8217;d use it for by leaving a comment.</p>
<p>In this case an mbed microcontroller is handling the data acquisition and pushing that to a server via a WiFly module using the <a href="http://mbed.org/cookbook/Websockets">WebSockets library</a>. This data is pushed in the form of a JSON packet which is distributed by the server as a data stream. Clients can access it via a browser through a page that makes use of JavaScript.</p>
<p><span id="more-59553"></span><span style="text-align:center; display: block;"><a href="http://hackaday.com/2011/10/25/wicked-use-of-html5-to-display-sensor-data/"><img src="http://img.youtube.com/vi/JlLfKJ6ZLmw/2.jpg" alt="" /></a></span></p>
<p>[Thanks Simon]</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/59553/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/hackadaycom.wordpress.com/59553/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/hackadaycom.wordpress.com/59553/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/hackadaycom.wordpress.com/59553/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/hackadaycom.wordpress.com/59553/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/hackadaycom.wordpress.com/59553/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/hackadaycom.wordpress.com/59553/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/hackadaycom.wordpress.com/59553/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/hackadaycom.wordpress.com/59553/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/hackadaycom.wordpress.com/59553/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/hackadaycom.wordpress.com/59553/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/hackadaycom.wordpress.com/59553/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/hackadaycom.wordpress.com/59553/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/hackadaycom.wordpress.com/59553/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=hackaday.com&amp;blog=4779443&amp;post=59553&amp;subd=hackadaycom&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://hackaday.com/2011/10/25/wicked-use-of-html5-to-display-sensor-data/feed/</wfw:commentRss>
		<slash:comments>33</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/10/html5-display-sensor-data-e1319555071160.png" medium="image">
			<media:title type="html">html5-display-sensor-data</media:title>
		</media:content>
	</item>
		<item>
		<title>Hackaday links: March 6, 2011</title>
		<link>http://hackaday.com/2011/03/06/hackaday-links-march-6-2011/</link>
		<comments>http://hackaday.com/2011/03/06/hackaday-links-march-6-2011/#comments</comments>
		<pubDate>Sun, 06 Mar 2011 13:02:53 +0000</pubDate>
		<dc:creator>Mike Szczys</dc:creator>
				<category><![CDATA[Hackaday links]]></category>
		<category><![CDATA[filament]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[sledgehammer]]></category>
		<category><![CDATA[stove]]></category>
		<category><![CDATA[u3-x]]></category>

		<guid isPermaLink="false">http://hackaday.com/?p=36628</guid>
		<description><![CDATA[Omnidirectional personal transport [Dan] sent us a link to this Honda U3-X personal transport device. It&#8217;s kind of like a Segway that can move in any direction but our head already hurts from the thought of going over backward on one of these. How light bulb filaments were developed Now that incandescent light bulbs are about [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=hackaday.com&amp;blog=4779443&amp;post=36628&amp;subd=hackadaycom&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><strong>Omnidirectional personal transport</strong></p>
<p><strong><img class="alignnone size-full wp-image-36629" title="link-omnidirectional-seway-clone" src="http://hackadaycom.files.wordpress.com/2011/03/link-omnidirectional-seway-clone.jpg" alt="" width="470" height="150" /></strong></p>
<p>[Dan] sent us a link to this <a href="http://world.honda.com/news/2009/c090924New-Personal-Mobility-Device/">Honda U3-X personal transport device</a>. It&#8217;s kind of like a Segway that can move in any direction but our head already hurts from the thought of going over backward on one of these.</p>
<p><strong>How light bulb filaments were developed</strong></p>
<p><strong><img class="alignnone size-full wp-image-36630" title="links-engineer-guy-lightbulb" src="http://hackadaycom.files.wordpress.com/2011/03/links-engineer-guy-lightbulb.jpg" alt="" width="470" height="150" /><br />
</strong></p>
<p>Now that incandescent light bulbs are about to be outlawed here in the US, we thought you might enjoy learning <a href="http://www.youtube.com/watch?v=DIGqBb3iZPo">how the filaments were developed</a>. This another video by [Bill Hammack], the engineer guy, and we&#8217;re big fans of <a href="http://hackaday.com/2010/11/28/wiffletree-a-mechanical-digital-to-analog-converter/">his work</a>.</p>
<p><strong>Wooden stove reflow</strong></p>
<p><strong><img class="alignnone size-full wp-image-36631" title="links-wooden-stove-reflow" src="http://hackadaycom.files.wordpress.com/2011/03/links-wooden-stove-reflow.jpg" alt="" width="470" height="150" /></strong></p>
<p>Who needs a PID controlled skillet when you can <a href="http://glitchwrks.com/desoldering.html">reflow on this wooden stove</a>? Well maybe not reflow, this is more of a salvage operation.</p>
<p><strong>Javascript control</strong></p>
<p><strong><img class="alignnone size-full wp-image-36633" title="links-javascript-controlled-arduino" src="http://hackadaycom.files.wordpress.com/2011/03/links-javascript-controlled-arduino.jpg" alt="" width="470" height="150" /></strong></p>
<p>We&#8217;ve seen more than enough Arduino controlled outlets. But if you&#8217;re interested in <a href="http://www.juliangautier.com/2011/02/controlling-big-mean-deviceswith.html">using Javascript to control the Arduino</a> this post may be just what you&#8217;re looking for.</p>
<p><strong>Sledgehammer keyboard</strong></p>
<p><img class="alignnone size-full wp-image-36634" title="links-sledgehammer-operated-keyboard" src="http://hackadaycom.files.wordpress.com/2011/03/links-sledgehammer-operated-keyboard.jpg" alt="" width="470" height="150" /></p>
<p>[Taylor Hokanson] built <a href="http://www.taylorhokanson.com/shkb/">a qwerty keyboard that you hit with a sledgehammer</a>. Enough said. [Thanks Larry]</p>
<p><strong><br />
</strong></p>
<br />Filed under: <a href='http://hackaday.com/category/hackaday-links/'>Hackaday links</a>  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/hackadaycom.wordpress.com/36628/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/hackadaycom.wordpress.com/36628/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/hackadaycom.wordpress.com/36628/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/hackadaycom.wordpress.com/36628/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/hackadaycom.wordpress.com/36628/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/hackadaycom.wordpress.com/36628/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/hackadaycom.wordpress.com/36628/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/hackadaycom.wordpress.com/36628/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/hackadaycom.wordpress.com/36628/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/hackadaycom.wordpress.com/36628/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/hackadaycom.wordpress.com/36628/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/hackadaycom.wordpress.com/36628/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/hackadaycom.wordpress.com/36628/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/hackadaycom.wordpress.com/36628/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=hackaday.com&amp;blog=4779443&amp;post=36628&amp;subd=hackadaycom&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://hackaday.com/2011/03/06/hackaday-links-march-6-2011/feed/</wfw:commentRss>
		<slash:comments>31</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/03/link-omnidirectional-seway-clone.jpg" medium="image">
			<media:title type="html">link-omnidirectional-seway-clone</media:title>
		</media:content>

		<media:content url="http://hackadaycom.files.wordpress.com/2011/03/links-engineer-guy-lightbulb.jpg" medium="image">
			<media:title type="html">links-engineer-guy-lightbulb</media:title>
		</media:content>

		<media:content url="http://hackadaycom.files.wordpress.com/2011/03/links-wooden-stove-reflow.jpg" medium="image">
			<media:title type="html">links-wooden-stove-reflow</media:title>
		</media:content>

		<media:content url="http://hackadaycom.files.wordpress.com/2011/03/links-javascript-controlled-arduino.jpg" medium="image">
			<media:title type="html">links-javascript-controlled-arduino</media:title>
		</media:content>

		<media:content url="http://hackadaycom.files.wordpress.com/2011/03/links-sledgehammer-operated-keyboard.jpg" medium="image">
			<media:title type="html">links-sledgehammer-operated-keyboard</media:title>
		</media:content>
	</item>
		<item>
		<title>Learn to code at Lifehacker</title>
		<link>http://hackaday.com/2011/01/26/learn-to-code-at-lifehacker/</link>
		<comments>http://hackaday.com/2011/01/26/learn-to-code-at-lifehacker/#comments</comments>
		<pubDate>Wed, 26 Jan 2011 21:00:05 +0000</pubDate>
		<dc:creator>Caleb Kraft</dc:creator>
				<category><![CDATA[Software Development]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[tutorial]]></category>

		<guid isPermaLink="false">http://hackaday.com/?p=33530</guid>
		<description><![CDATA[[Adam] over at lifehacker is putting together a series on the principles of programming called &#8220;Learn to code&#8221;. They are using Javascript as a basis to teach the fundamentals that would allow you to get stuff done in any similar language, like actionscript. After you&#8217;ve got these basics down, even moving to an object oriented [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=hackaday.com&amp;blog=4779443&amp;post=33530&amp;subd=hackadaycom&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><img class="alignnone size-full wp-image-33531" title="lhns" src="http://hackadaycom.files.wordpress.com/2011/01/lhns.jpg" alt="" width="470" height="95" /></p>
<p>[Adam] over at lifehacker is putting together a series on the principles of programming called<a href="http://lifehacker.com/5736011/learn-how-to-code-part-i-variables-and-basic-data-types"> &#8220;Learn to code&#8221;</a>. They are using Javascript as a basis to teach the fundamentals that would allow you to get stuff done in any similar language, like actionscript. After you&#8217;ve got these basics down, even moving to an object oriented language shouldn&#8217;t be too difficult. We absolutely love educational resources and hope they continue this series pretty far. They&#8217;ve already released part one and <a href="http://lifehacker.com/5742493/learn-to-code-part-ii-working-with-variables">part two</a>. We have supplied the video from each after the break, but there&#8217;s more info at the links.</p>
<p><span id="more-33530"></span></p>
<span style="text-align:center; display: block;"><a href="http://hackaday.com/2011/01/26/learn-to-code-at-lifehacker/"><img src="http://img.youtube.com/vi/98ZkbFwV2ZQ/2.jpg" alt="" /></a></span>
<span style="text-align:center; display: block;"><a href="http://hackaday.com/2011/01/26/learn-to-code-at-lifehacker/"><img src="http://img.youtube.com/vi/EreUdTEvYO8/2.jpg" alt="" /></a></span>
<br />Filed under: <a href='http://hackaday.com/category/software-development/'>Software Development</a>  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/hackadaycom.wordpress.com/33530/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/hackadaycom.wordpress.com/33530/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/hackadaycom.wordpress.com/33530/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/hackadaycom.wordpress.com/33530/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/hackadaycom.wordpress.com/33530/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/hackadaycom.wordpress.com/33530/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/hackadaycom.wordpress.com/33530/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/hackadaycom.wordpress.com/33530/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/hackadaycom.wordpress.com/33530/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/hackadaycom.wordpress.com/33530/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/hackadaycom.wordpress.com/33530/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/hackadaycom.wordpress.com/33530/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/hackadaycom.wordpress.com/33530/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/hackadaycom.wordpress.com/33530/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=hackaday.com&amp;blog=4779443&amp;post=33530&amp;subd=hackadaycom&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://hackaday.com/2011/01/26/learn-to-code-at-lifehacker/feed/</wfw:commentRss>
		<slash:comments>25</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">Caleb Kraft</media:title>
		</media:content>

		<media:content url="http://hackadaycom.files.wordpress.com/2011/01/lhns.jpg" medium="image">
			<media:title type="html">lhns</media:title>
		</media:content>
	</item>
		<item>
		<title>Behind the scenes of a 1K graphics demo</title>
		<link>http://hackaday.com/2010/08/08/behind-the-scenes-of-a-1k-graphics-demo/</link>
		<comments>http://hackaday.com/2010/08/08/behind-the-scenes-of-a-1k-graphics-demo/#comments</comments>
		<pubDate>Sun, 08 Aug 2010 19:00:01 +0000</pubDate>
		<dc:creator>Phil Burgess</dc:creator>
				<category><![CDATA[misc hacks]]></category>
		<category><![CDATA[Software Development]]></category>
		<category><![CDATA[1K]]></category>
		<category><![CDATA[demo]]></category>
		<category><![CDATA[demoscene]]></category>
		<category><![CDATA[graphics]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[optimization]]></category>

		<guid isPermaLink="false">http://hackaday.com/?p=26950</guid>
		<description><![CDATA[Programmer/designer [Steven Wittens] has posted a fantastic write-up on the black art of producing compact demo code, dissecting his own entry in the 1K JavaScript Demo Contest. The goal is to produce the best JavaScript demo that can be expressed in 1024 characters or less and works reliably across all standards-compliant web browsers. [Wittens] details several techniques [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=hackaday.com&amp;blog=4779443&amp;post=26950&amp;subd=hackadaycom&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><img class="alignnone size-full wp-image-26957" title="1kdemo2" src="http://hackadaycom.files.wordpress.com/2010/08/1kdemo2.jpg" alt="" width="470" height="200" /></p>
<p>Programmer/designer [Steven Wittens] has posted a fantastic write-up on the <a href="http://acko.net/blog/js1k-demo-the-making-of">black art of producing compact demo code</a>, dissecting his own entry in the <a href="http://js1k.com/home">1K JavaScript Demo Contest</a>. The goal is to produce the best <a href="http://hackaday.com/2008/10/18/chrome-and-firefox-showing-javascript-improvements/">JavaScript</a> demo that can be expressed in 1024 characters or less and works reliably across all standards-compliant web browsers.</p>
<p>[Wittens] details several techniques for creating a lot of visual flash in very few bytes, including the use of <em>procedural graphics</em> rather than fixed datasets, exploiting <em>prime numbers</em> to avoid obvious repetitions in movement, and strategically <em>fudging</em> formulas to save space while adding visual interest. These methods are just as applicable to other memory-constrained situations, not just JavaScript — some of the contest entries bear a resemblance to the compact microcontroller demos we’ve <a href="http://hackaday.com/2010/05/01/phasor-av-pal-demo-uses-atmega88/">previously showcased</a>, except running in your browser window.</p>
<p>The contest runs through September 10th, allowing ample time to come up with something even more clever. Whether he wins or not, we think [Steven] deserves special merit on account of having one of the most stylish blogs in recent memory!</p>
<br />Filed under: <a href='http://hackaday.com/category/misc-hacks/'>misc hacks</a>, <a href='http://hackaday.com/category/software-development/'>Software Development</a>  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/hackadaycom.wordpress.com/26950/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/hackadaycom.wordpress.com/26950/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/hackadaycom.wordpress.com/26950/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/hackadaycom.wordpress.com/26950/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/hackadaycom.wordpress.com/26950/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/hackadaycom.wordpress.com/26950/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/hackadaycom.wordpress.com/26950/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/hackadaycom.wordpress.com/26950/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/hackadaycom.wordpress.com/26950/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/hackadaycom.wordpress.com/26950/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/hackadaycom.wordpress.com/26950/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/hackadaycom.wordpress.com/26950/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/hackadaycom.wordpress.com/26950/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/hackadaycom.wordpress.com/26950/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=hackaday.com&amp;blog=4779443&amp;post=26950&amp;subd=hackadaycom&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://hackaday.com/2010/08/08/behind-the-scenes-of-a-1k-graphics-demo/feed/</wfw:commentRss>
		<slash:comments>38</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">philburgess</media:title>
		</media:content>

		<media:content url="http://hackadaycom.files.wordpress.com/2010/08/1kdemo2.jpg" medium="image">
			<media:title type="html">1kdemo2</media:title>
		</media:content>
	</item>
		<item>
		<title>CoffeeScript: like aspirin for JavaScript</title>
		<link>http://hackaday.com/2009/12/31/coffeescript-like-aspirin-for-javascript/</link>
		<comments>http://hackaday.com/2009/12/31/coffeescript-like-aspirin-for-javascript/#comments</comments>
		<pubDate>Thu, 31 Dec 2009 15:00:34 +0000</pubDate>
		<dc:creator>Mike Szczys</dc:creator>
				<category><![CDATA[tool hacks]]></category>
		<category><![CDATA[aspirin]]></category>
		<category><![CDATA[coffeescript]]></category>
		<category><![CDATA[compiler]]></category>
		<category><![CDATA[compiles]]></category>
		<category><![CDATA[headache]]></category>
		<category><![CDATA[javascript]]></category>

		<guid isPermaLink="false">http://hackaday.com/?p=20070</guid>
		<description><![CDATA[CoffeeScript is a language that compiles down into JavaScript. &#8220;But why? JavaScript is so simple?&#8221; Bullcorn. If you don&#8217;t use JavaScript everyday the language is wonky and frustrating. When you need quick snippet of Javascript to build into a page you may know how to do it with three or four different languages but struggle [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=hackaday.com&amp;blog=4779443&amp;post=20070&amp;subd=hackadaycom&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><img class="alignnone size-full wp-image-20071" title="coffeescript" src="http://hackadaycom.files.wordpress.com/2009/12/coffeescript.jpg" alt="" width="470" height="276" /></p>
<p><a href="http://jashkenas.github.com/coffee-script/">CoffeeScript</a> is a language that compiles down into JavaScript. &#8220;But why? JavaScript is so simple?&#8221; Bullcorn.</p>
<p>If you don&#8217;t use JavaScript everyday the language is wonky and frustrating. When you need quick snippet of Javascript to build into a page you may know how to do it with three or four different languages but struggle with the touchy syntax that has long given developers headaches.</p>
<p>Give CoffeeScript a <a href="http://jashkenas.github.com/coffee-script/#installation">try</a>, you&#8217;ll like it. If you do, <a href="http://github.com/jashkenas/coffee-script">give them a hand with development</a> too.</p>
<p>[via <a href="http://twitter.com/hornbeck/status/7160118465">@hornbeck</a>]</p>
<br />Posted in tool hacks  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/hackadaycom.wordpress.com/20070/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/hackadaycom.wordpress.com/20070/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/hackadaycom.wordpress.com/20070/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/hackadaycom.wordpress.com/20070/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/hackadaycom.wordpress.com/20070/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/hackadaycom.wordpress.com/20070/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/hackadaycom.wordpress.com/20070/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/hackadaycom.wordpress.com/20070/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/hackadaycom.wordpress.com/20070/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/hackadaycom.wordpress.com/20070/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/hackadaycom.wordpress.com/20070/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/hackadaycom.wordpress.com/20070/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/hackadaycom.wordpress.com/20070/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/hackadaycom.wordpress.com/20070/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=hackaday.com&amp;blog=4779443&amp;post=20070&amp;subd=hackadaycom&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://hackaday.com/2009/12/31/coffeescript-like-aspirin-for-javascript/feed/</wfw:commentRss>
		<slash:comments>22</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/12/coffeescript.jpg" medium="image">
			<media:title type="html">coffeescript</media:title>
		</media:content>
	</item>
		<item>
		<title>How to overlay images by using Greasemonkey</title>
		<link>http://hackaday.com/2009/10/26/how-to-overlay-images-by-using-greasemonkey/</link>
		<comments>http://hackaday.com/2009/10/26/how-to-overlay-images-by-using-greasemonkey/#comments</comments>
		<pubDate>Mon, 26 Oct 2009 17:39:51 +0000</pubDate>
		<dc:creator>Mike Szczys</dc:creator>
				<category><![CDATA[HackIt]]></category>
		<category><![CDATA[firefox]]></category>
		<category><![CDATA[greasemonkey]]></category>
		<category><![CDATA[hackaday nostalgia]]></category>
		<category><![CDATA[image overlay]]></category>
		<category><![CDATA[javascript]]></category>

		<guid isPermaLink="false">http://hackaday.com/?p=17775</guid>
		<description><![CDATA[Today we&#8217;re going to take a look at writing scripts for the Greasemonkey add-on for Firefox. This add-on allows us to use JavaScript to make changes to the way webpages are displayed on our browser. These changes can only be seen by a copy of Firefox that is running a particular script. As an example, [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=hackaday.com&amp;blog=4779443&amp;post=17775&amp;subd=hackadaycom&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><img class="alignnone size-full wp-image-17766" title="HaD_frame" src="http://hackadaycom.files.wordpress.com/2009/10/had_frame.png" alt="HaD_frame" width="450" height="325" /></p>
<p>Today we&#8217;re going to take a look at writing scripts for the <a href="https://addons.mozilla.org/en-US/firefox/addon/748">Greasemonkey add-on for Firefox</a>. This add-on allows us to use JavaScript to make changes to the way webpages are displayed on our browser. These changes can only be seen by a copy of Firefox that is running a particular script. As an example, we&#8217;re going to write a script that adds a border to the banner image of each article on Hack a Day by overlaying the image you see above. Find out how it&#8217;s done after the break.<span id="more-17775"></span></p>
<p><strong>Our Goal:</strong></p>
<p>We want to make the top image for each article look like it has been printed with a white border and then taped on each corner to the page. This is an effect that <a href="http://hackaday.com/2009/04/03/lego-head-tracking/">we used to use on our posts</a> and a Greasemonkey script is a good way to re-implement the effect if you miss that image style.</p>
<p><strong>What You Need:</strong></p>
<ol>
<li>Install <a href="http://www.firefox.com">Firefox</a></li>
<li>Install the <a href="https://addons.mozilla.org/en-US/firefox/addon/748">Greasemonkey add-on</a>.</li>
<li>Download and install our script: <a href="http://blog.mahalo.com/hackaday/misc/hackaday_nostalgia.user.js">hackaday_nostalgia.user.js</a></li>
</ol>
<p><strong>How It Works:</strong></p>
<p>Greasemonkey runs JavaScript on top of the pages that have been loaded by Firefox. The first part of the file is a set of comments that tell Greasemonkey what it&#8217;s dealing with:</p>
<p>// ==UserScript==
// @name           Hackaday Nostalgia
// @namespace      http://hackaday.com
// @description    Overlay photograph border and taped corners for article images at Hack a Day.
// @include        http://hackaday.com/*
// ==/UserScript==</p>
<p>The name, namespace, and include lines are all required for the script to work. Name is what you want to call your script. Namespace is a URL that identifies the script uniquely in case there are two scripts with the same name. Include tells Greasemonkey what pages this script should be applied to. In our case we only want to monkey with the images on hackaday.com so we&#8217;ve included all addresses from that domain.</p>
<p>Now that we&#8217;ve identified what pages we want to alter, we can parse the document and pull out the elements we want ot change. The first thing to do is examine the page source of our target:</p>
<p><pre class="brush: xml;">&lt;div class='snap_preview'&gt;&lt;p&gt;&lt;img class=&quot;alignnone size-full wp-image-17747&quot; title=&quot;plotter-with-300w-laser&quot; src=&quot;http://hackadaycom.files.wordpress.com/2009/10/plotter-with-300w-laser.jpg?w=470&amp;h=313&quot; alt=&quot;plotter-with-300w-laser&quot; width=&quot;470&quot; height=&quot;313&quot; /&gt;&lt;/p&gt;</pre></p>
<p>With a little digging we can find the line you see above that includes the IMG element for the title of a post. We&#8217;re in luck, the page builds each post wrapped in a DIV of the Class &#8216;snap-preview&#8217;. We can use Greasemonkey to parse the page looking for these DIVs and then alter the first IMG element in each one:</p>
<p><pre class="brush: jscript;">//get all DIVs of the snap_preview class
var allDivs, thisDiv;
allDivs = document.evaluate(
 &quot;//div[@class='snap_preview']&quot;,
 document,
 null,
 XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE,
 null);</pre></p>
<p>In the code above we are using the evaluate function to pick out DIVs that are in the &#8216;snap-preview&#8217; class. We load them into an array called allDivs which we can then step through:</p>
<p><pre class="brush: jscript;">//step through each DIV
for (var i=0; i&lt;allDivs.snapshotLength; i++) {
 thisDiv = allDivs.snapshotItem(i);

 //Alter the first img of each DIV
 var image = thisDiv.getElementsByTagName('img');

 //Make sure we've got an IMG in this DIV
 if (image[0]) {

 //Save original source URL
 var orig_src = image[0].src;
 //Concatenate for CSS use
 orig_src = 'url(' + orig_src + ')';
 //Set original as background
 image[0].style.background = orig_src;

 //Set Hack a Day overlay as image
 image[0].src = 'http://hackadaycom.wordpress.com/files/2009/10/had_frame.png';
 }
}</pre></p>
<p>This block of code is where the magic happens. A loop is used to step through each DIV we grabbed in the previous code snippet. We grab the IMG element by using the getElementsByTagName function. All IMG elements are put into an array called &#8216;image&#8217;, but we only want to alter the first image in each post so we&#8217;ll always reference image[0].</p>
<p>For the image border and tape effect, we used <a href="http://www.gimp.org/">the GIMP</a> to create a PNG file that has transparency where we want the original picture to show through. We need the original picture to be behind the overlay so we&#8217;re making it a background image using the CSS property &#8216;background&#8217;. The PNG overlay is then set as the new SRC for the IMG element.</p>
<p>That&#8217;s all it takes, now images will be overlayed with the border image you see at the top of this post.</p>
<p><strong>Benefits and Drawbacks:</strong></p>
<p>There are some drawbacks to using this system; the overlay covers up the borders of the original image, older posts that already have this image effect will have it applied again, the overlay will be stretched to match each original image which can look weird depending on image height, and the overlay image we&#8217;ve provide is of rather low quality (you can probably do better yourself).</p>
<p>Our method uses a very small amount of code and doesn&#8217;t require the original image size to be recalculated.</p>
<p><strong>The Next Step:</strong></p>
<p>Now that we&#8217;ve showed you how to do this much, you may want to take it one step further. The original picture style also made the images black and white. Can you make the script do this as well? To get started in the right direction, you might want to look at the <a href="http://www.pixastic.com/lib/">Pixastic JavaScript image manipulation library</a> and its desaturate function.</p>
<p><strong>Overwhelmed?</strong></p>
<p>If you need some help deciphering what we did here just use your online resources:</p>
<ul>
<li><a href="http://diveintogreasemonkey.org/">Dive into Greasemonkey</a>: An online book to help you learn greasemonkey scripting</li>
<li><a href="http://www.htmldog.com/">HTML Dog</a>: A best practices guide to HTML and CSS</li>
</ul>
<div id="_mcePaste" style="overflow:hidden;position:absolute;left:-10000px;top:1749px;width:1px;height:1px;">http://www.htmldog.com/</div>
<br />Posted in HackIt  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/hackadaycom.wordpress.com/17775/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/hackadaycom.wordpress.com/17775/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/hackadaycom.wordpress.com/17775/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/hackadaycom.wordpress.com/17775/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/hackadaycom.wordpress.com/17775/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/hackadaycom.wordpress.com/17775/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/hackadaycom.wordpress.com/17775/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/hackadaycom.wordpress.com/17775/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/hackadaycom.wordpress.com/17775/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/hackadaycom.wordpress.com/17775/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/hackadaycom.wordpress.com/17775/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/hackadaycom.wordpress.com/17775/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/hackadaycom.wordpress.com/17775/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/hackadaycom.wordpress.com/17775/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=hackaday.com&amp;blog=4779443&amp;post=17775&amp;subd=hackadaycom&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://hackaday.com/2009/10/26/how-to-overlay-images-by-using-greasemonkey/feed/</wfw:commentRss>
		<slash:comments>26</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/10/had_frame.png" medium="image">
			<media:title type="html">HaD_frame</media:title>
		</media:content>
	</item>
		<item>
		<title>XMPP and home automation</title>
		<link>http://hackaday.com/2009/08/28/xmpp-and-home-automation/</link>
		<comments>http://hackaday.com/2009/08/28/xmpp-and-home-automation/#comments</comments>
		<pubDate>Sat, 29 Aug 2009 00:45:17 +0000</pubDate>
		<dc:creator>Matt Schultz</dc:creator>
				<category><![CDATA[android hacks]]></category>
		<category><![CDATA[g1 hacks]]></category>
		<category><![CDATA[home hacks]]></category>
		<category><![CDATA[actionscript]]></category>
		<category><![CDATA[android]]></category>
		<category><![CDATA[G1]]></category>
		<category><![CDATA[home automation]]></category>
		<category><![CDATA[jabber]]></category>
		<category><![CDATA[java]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[xmpp]]></category>

		<guid isPermaLink="false">http://hackaday.com/?p=14089</guid>
		<description><![CDATA[[Matthias] from Intuity Media Lab put together a nice bit on controlling office lights with XMPP from his Android phone. In the article, he explains the components involved in the project, why he chose XMPP, and lists everything you need to replicate it. The project makes use of a wide variety of tools and libraries, [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=hackaday.com&amp;blog=4779443&amp;post=14089&amp;subd=hackadaycom&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><img class="alignnone size-full wp-image-14095" title="xmpp_office_lights" src="http://hackadaycom.files.wordpress.com/2009/08/xmpp_office_lights.png" alt="xmpp_office_lights" width="439" height="275" /></p>
<p>[Matthias] from Intuity Media Lab put together a nice bit on <a href="http://blog.intuitymedialab.eu/2009/08/27/lab-session-making-things-talk-01-controlling-lights-with-your-mobile-via-xmpp/">controlling office lights with XMPP</a> from his Android phone. In the article, he explains the components involved in the project, why he chose XMPP, and lists everything you need to replicate it. The project makes use of a wide variety of tools and libraries, weaving together code from multiple languages to achieve its goal. Overall, his project is a welcome change in a world <a href="http://hackaday.com/2009/07/19/home-automation-via-twitter/">full</a> <a href="http://hackaday.com/2008/12/16/twittering-toaster/">of</a> <a href="http://hackaday.com/2009/07/01/twittering-keylogger/">Twitter</a>-<a href="http://hackaday.com/2009/05/05/twittering-toilet/">based</a> <a href="http://hackaday.com/2009/04/20/twitter-brain-interface/">solutions</a>.</p>
<br />Posted in android hacks, g1 hacks, home hacks  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/hackadaycom.wordpress.com/14089/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/hackadaycom.wordpress.com/14089/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/hackadaycom.wordpress.com/14089/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/hackadaycom.wordpress.com/14089/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/hackadaycom.wordpress.com/14089/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/hackadaycom.wordpress.com/14089/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/hackadaycom.wordpress.com/14089/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/hackadaycom.wordpress.com/14089/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/hackadaycom.wordpress.com/14089/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/hackadaycom.wordpress.com/14089/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/hackadaycom.wordpress.com/14089/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/hackadaycom.wordpress.com/14089/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/hackadaycom.wordpress.com/14089/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/hackadaycom.wordpress.com/14089/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=hackaday.com&amp;blog=4779443&amp;post=14089&amp;subd=hackadaycom&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://hackaday.com/2009/08/28/xmpp-and-home-automation/feed/</wfw:commentRss>
		<slash:comments>9</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">mattcraigschultz</media:title>
		</media:content>

		<media:content url="http://hackadaycom.files.wordpress.com/2009/08/xmpp_office_lights.png" medium="image">
			<media:title type="html">xmpp_office_lights</media:title>
		</media:content>
	</item>
		<item>
		<title>Streamfile encrypted file drop</title>
		<link>http://hackaday.com/2009/08/17/streamfile-encrypted-file-drop/</link>
		<comments>http://hackaday.com/2009/08/17/streamfile-encrypted-file-drop/#comments</comments>
		<pubDate>Tue, 18 Aug 2009 01:00:26 +0000</pubDate>
		<dc:creator>Eliot</dc:creator>
				<category><![CDATA[downloads hacks]]></category>
		<category><![CDATA[misc hacks]]></category>
		<category><![CDATA[security hacks]]></category>
		<category><![CDATA[download squad]]></category>
		<category><![CDATA[dropbox]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[ssl]]></category>
		<category><![CDATA[streamfile]]></category>
		<category><![CDATA[upload]]></category>

		<guid isPermaLink="false">http://hackaday.com/?p=13412</guid>
		<description><![CDATA[There are myriad file transfer services on the web. Streamfile tries to set itself apart by providing a unique secure service. Their file upload system is all JavaScript and doesn&#8217;t rely on Flash. It uses SSL to secure the file transport. As soon as you start uploading the file, you can hand the link off [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=hackaday.com&amp;blog=4779443&amp;post=13412&amp;subd=hackadaycom&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p style="text-align:center;"><img class="size-full wp-image-13413 aligncenter" title="streamfile" src="http://hackadaycom.files.wordpress.com/2009/08/streamfile.jpg" alt="streamfile" width="268" height="66" /></p>
<p>There are myriad file transfer services on the web. <a title="Welcome to Streamfile - secure data transfersss" href="http://streamfile.com/">Streamfile</a> tries to set itself apart by providing a unique secure service. Their file upload system is all JavaScript and doesn&#8217;t rely on Flash. It uses SSL to secure the file transport. As soon as you start uploading the file, you can hand the link off to your recipient and they can start downloading without waiting for the upload to complete. The free limit is 150MB, but their PRO service allows 2GB files.</p>
<p>[via <a title="Streamfile does painless point-to-point transfers with 256-bit encryption" href="http://www.downloadsquad.com/2009/08/17/streamfile-does-painless-point-to-point-transfers-with-256-bit-e/">Download Squad</a>]</p>
<br />Posted in downloads hacks, misc hacks, security hacks  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/hackadaycom.wordpress.com/13412/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/hackadaycom.wordpress.com/13412/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/hackadaycom.wordpress.com/13412/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/hackadaycom.wordpress.com/13412/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/hackadaycom.wordpress.com/13412/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/hackadaycom.wordpress.com/13412/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/hackadaycom.wordpress.com/13412/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/hackadaycom.wordpress.com/13412/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/hackadaycom.wordpress.com/13412/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/hackadaycom.wordpress.com/13412/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/hackadaycom.wordpress.com/13412/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/hackadaycom.wordpress.com/13412/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/hackadaycom.wordpress.com/13412/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/hackadaycom.wordpress.com/13412/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=hackaday.com&amp;blog=4779443&amp;post=13412&amp;subd=hackadaycom&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://hackaday.com/2009/08/17/streamfile-encrypted-file-drop/feed/</wfw:commentRss>
		<slash:comments>16</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/08/streamfile.jpg" medium="image">
			<media:title type="html">streamfile</media:title>
		</media:content>
	</item>
		<item>
		<title>Remote image processing in JavaScript</title>
		<link>http://hackaday.com/2009/03/07/remote-image-processing-in-javascript/</link>
		<comments>http://hackaday.com/2009/03/07/remote-image-processing-in-javascript/#comments</comments>
		<pubDate>Sun, 08 Mar 2009 07:37:09 +0000</pubDate>
		<dc:creator>Eliot</dc:creator>
				<category><![CDATA[digital cameras hacks]]></category>
		<category><![CDATA[downloads hacks]]></category>
		<category><![CDATA[browser]]></category>
		<category><![CDATA[camera]]></category>
		<category><![CDATA[canvas]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[mapreduce]]></category>
		<category><![CDATA[mjpgstreamer]]></category>
		<category><![CDATA[pdf]]></category>
		<category><![CDATA[webcam]]></category>

		<guid isPermaLink="false">http://hackaday.com/?p=8940</guid>
		<description><![CDATA[[Tom] wrote in to tell us about his JavaScript project for motion detection. It ties together two ideas we&#8217;ve talked about recently. The first is doing image processing in-browser using Canvas(), which we&#8217;ve seen employed in captcha breaking. The second is offloading heavy processing to browsers, which we saw recently in the MapReduce implementation. [Tom] [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=hackaday.com&amp;blog=4779443&amp;post=8940&amp;subd=hackadaycom&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<span style="text-align:center; display: block;"><a href="http://hackaday.com/2009/03/07/remote-image-processing-in-javascript/"><img src="http://img.youtube.com/vi/u3_cFel26J8/2.jpg" alt="" /></a></span>
<p>[Tom] wrote in to tell us about his JavaScript project for motion detection. It ties together two ideas we&#8217;ve talked about recently. The first is doing image processing in-browser using Canvas(), which we&#8217;ve seen <a title="MegaUpload captcha cracking in JavaScript  - Hack a Day" href="http://hackaday.com/2009/01/23/megaupload-captcha-cracking-in-javascript/">employed in captcha breaking</a>. The second is offloading heavy processing to browsers, which we saw recently in the <a title="Distributed computing in JavaScript  - Hack a Day" href="http://hackaday.com/2009/03/03/distributed-computing-in-javascript/">MapReduce implementation</a>. [Tom] is using JavaScript to compare consecutive images to determine if there&#8217;s any motion. He did this as part of <a href="http://mjpg-streamer.wiki.sourceforge.net/">MJPG-Streamer</a>, a program for streaming images from webcams. It can run on very limited hardware, but image processing can be very intensive. Doing the image processing in-browser makes up for this limitation and means that a custom client program doesn&#8217;t have to be written. You can <a title="SourceForge.net Repository - [mjpg-streamer] View of /mjpg-streamer/www/javascript_motiondetection.html" href="http://mjpg-streamer.svn.sourceforge.net/viewvc/mjpg-streamer/mjpg-streamer/www/javascript_motiondetection.html?revision=83&amp;view=markup&amp;pathrev=83">find the code here</a> and a <a href="http://mjpg-streamer.wiki.sourceforge.net/space/showimage/Distributed+Computing+and+Image+Processing+in+JavaScript.pdf">PDF about the proof of concept</a>.</p>
<br />Posted in digital cameras hacks, downloads hacks  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/hackadaycom.wordpress.com/8940/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/hackadaycom.wordpress.com/8940/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/hackadaycom.wordpress.com/8940/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/hackadaycom.wordpress.com/8940/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/hackadaycom.wordpress.com/8940/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/hackadaycom.wordpress.com/8940/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/hackadaycom.wordpress.com/8940/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/hackadaycom.wordpress.com/8940/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/hackadaycom.wordpress.com/8940/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/hackadaycom.wordpress.com/8940/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/hackadaycom.wordpress.com/8940/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/hackadaycom.wordpress.com/8940/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/hackadaycom.wordpress.com/8940/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/hackadaycom.wordpress.com/8940/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=hackaday.com&amp;blog=4779443&amp;post=8940&amp;subd=hackadaycom&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://hackaday.com/2009/03/07/remote-image-processing-in-javascript/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">RobotSkirts</media:title>
		</media:content>
	</item>
		<item>
		<title>Distributed computing in JavaScript</title>
		<link>http://hackaday.com/2009/03/03/distributed-computing-in-javascript/</link>
		<comments>http://hackaday.com/2009/03/03/distributed-computing-in-javascript/#comments</comments>
		<pubDate>Wed, 04 Mar 2009 00:00:31 +0000</pubDate>
		<dc:creator>Eliot</dc:creator>
				<category><![CDATA[google hacks]]></category>
		<category><![CDATA[news]]></category>
		<category><![CDATA[browser]]></category>
		<category><![CDATA[chrome]]></category>
		<category><![CDATA[cluster]]></category>
		<category><![CDATA[cluster computing]]></category>
		<category><![CDATA[dataset]]></category>
		<category><![CDATA[dc]]></category>
		<category><![CDATA[distributed computing]]></category>
		<category><![CDATA[hack-a-day]]></category>
		<category><![CDATA[ilya grigorik]]></category>
		<category><![CDATA[java]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[mapreduce]]></category>
		<category><![CDATA[ruby]]></category>
		<category><![CDATA[slashdot]]></category>

		<guid isPermaLink="false">http://hackaday.com/?p=8887</guid>
		<description><![CDATA[We&#8217;ve heard about the idea of using browsers as distributed computing nodes for a couple years now. It&#8217;s only recently, with the race towards faster JavaScript engines in browsers like Chrome that this idea seems useful. [Antimatter15] did a proof of concept JavaScript implementation for reversing hashes. Plura Processing uses a Java applet to do [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=hackaday.com&amp;blog=4779443&amp;post=8887&amp;subd=hackadaycom&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><img class="alignnone size-full wp-image-8886" title="mapreduce" src="http://hackadaycom.files.wordpress.com/2009/03/mapreduce.jpg" alt="mapreduce" width="450" height="177" /></p>
<p>We&#8217;ve heard about the idea of using browsers as distributed computing nodes for a couple years now. It&#8217;s only recently, with the race towards faster JavaScript engines in browsers like <a title="chrome  - Hack a Day" href="http://hackaday.com/tag/chrome/">Chrome</a> that this idea seems useful. [Antimatter15] did a <a href="http://jsdc.appspot.com/">proof of concept JavaScript implementation</a> for reversing hashes. <a title="Plura Processing" href="http://www.pluraprocessing.com/index.html">Plura Processing</a> uses a Java applet to do distributed processing. Today, [Ilya Grigorik] posted an <a title="Collaborative Map-Reduce in the Browser - igvita.com" href="http://www.igvita.com/2009/03/03/collaborative-map-reduce-in-the-browser/">example using MapReduce</a> in JavaScript. Google&#8217;s <a title="MapReduce - Wikipedia, the free encyclopedia" href="http://en.wikipedia.org/wiki/MapReduce">MapReduce</a> is designed to support large dataset processing across computing clusters. It&#8217;s well suited for situations where computing nodes could go offline randomly (i.e. a browser navigates away from your site). He included a JavaScript snippet and a job server in Ruby. It will be interesting to see if someone comes up with a good use for this; you still need to convince people to keep your page open in the browser though. We&#8217;re just saying: try to act surprised when you realize Hack a Day is inexplicably making your processor spike&#8230;</p>
<p>[via <a title="Slashdot | Collaborative Map-Reduce In the Browser" href="http://tech.slashdot.org/article.pl?sid=09/03/03/1910207">Slashdot</a>]</p>
<br />Posted in google hacks, news  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/hackadaycom.wordpress.com/8887/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/hackadaycom.wordpress.com/8887/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/hackadaycom.wordpress.com/8887/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/hackadaycom.wordpress.com/8887/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/hackadaycom.wordpress.com/8887/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/hackadaycom.wordpress.com/8887/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/hackadaycom.wordpress.com/8887/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/hackadaycom.wordpress.com/8887/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/hackadaycom.wordpress.com/8887/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/hackadaycom.wordpress.com/8887/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/hackadaycom.wordpress.com/8887/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/hackadaycom.wordpress.com/8887/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/hackadaycom.wordpress.com/8887/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/hackadaycom.wordpress.com/8887/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=hackaday.com&amp;blog=4779443&amp;post=8887&amp;subd=hackadaycom&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://hackaday.com/2009/03/03/distributed-computing-in-javascript/feed/</wfw:commentRss>
		<slash:comments>25</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/03/mapreduce.jpg" medium="image">
			<media:title type="html">mapreduce</media:title>
		</media:content>
	</item>
		<item>
		<title>Curiosity killed the twit, Twitter clickjacking</title>
		<link>http://hackaday.com/2009/02/12/curiosity-killed-the-twit-twitter-clickjacking/</link>
		<comments>http://hackaday.com/2009/02/12/curiosity-killed-the-twit-twitter-clickjacking/#comments</comments>
		<pubDate>Thu, 12 Feb 2009 20:08:26 +0000</pubDate>
		<dc:creator>Eliot</dc:creator>
				<category><![CDATA[news]]></category>
		<category><![CDATA[security hacks]]></category>
		<category><![CDATA[clickjacking]]></category>
		<category><![CDATA[don't click]]></category>
		<category><![CDATA[iframe]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[security]]></category>
		<category><![CDATA[snippet]]></category>
		<category><![CDATA[tinyurl]]></category>
		<category><![CDATA[twitter]]></category>
		<category><![CDATA[twitter.com]]></category>

		<guid isPermaLink="false">http://hackaday.com/?p=8481</guid>
		<description><![CDATA[Twitter was flooded this morning with users posting &#8220;Don&#8217;t Click: http://tinyurl.com/amgzs6&#8243;. TinyURL has since terminated the URL. The original page doesn&#8217;t seem to be live either. It displayed a button that said &#8220;Don&#8217;t Click&#8221;. If the user happened to be logged into Twitter, it would automatically update their status. The instigator partially describes the method [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=hackaday.com&amp;blog=4779443&amp;post=8481&amp;subd=hackadaycom&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><img class="alignnone size-full wp-image-8482" title="dontclick" src="http://hackadaycom.files.wordpress.com/2009/02/dontclick.jpg" alt="dontclick" width="450" height="172" /></p>
<p>Twitter was flooded this morning with users posting &#8220;Don&#8217;t Click: http://tinyurl.com/amgzs6&#8243;. TinyURL has since <a title="TinyURL.com - where tiny is better!" href="http://tinyurl.com/nospam.php?id=amgzs6">terminated the URL</a>. The <a href="http://www.umoor.eu/blog/yes-we-can.php">original page</a> doesn&#8217;t seem to be live either. It displayed a button that said &#8220;Don&#8217;t Click&#8221;. If the user happened to be logged into Twitter, it would automatically update their status. The instigator partially describes the method <a title="-) | Korben" href="http://www.korben.info/petit-cours-de-twitt-jacking.html">on his blog</a> (<a title="Google Translate" href="http://translate.google.com/translate?prev=_t&amp;hl=en&amp;ie=UTF-8&amp;u=http%3A%2F%2Fwww.korben.info%2Fpetit-cours-de-twitt-jacking.html&amp;sl=fr&amp;tl=en&amp;history_state0=">translated</a>). The page would load the user&#8217;s Twitter page in an invisible iframe. The status would be pasted in and the &#8220;Don&#8217;t Click&#8221; button is placed on top of the update button. You can find the <a title="How to Get People to Tweet for You Without Them Knowing - Raven SEO Tools" href="http://raven-seo-tools.com/blog/310/evil-genius-how-to-get-people-to-tweet-for-you-without-them-knowing">code snippets here</a> and the original author <a title="Clickjacking Twitter - James Padolsey" href="http://james.padolsey.com/general/clickjacking-twitter/">credits this post</a> for the inspiration. Twitter has since <a title="Clickjacking Twitter - James Padolsey" href="http://james.padolsey.com/general/clickjacking-twitter/#comment-5095">added a JavaScript fragment</a> to each page to break out of iframes.</p>
<p><pre class="brush: jscript;">if (window.top !== window.self) { window.top.location.href = window.self.location.href; }</pre></p>
<br />Posted in news, security hacks  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/hackadaycom.wordpress.com/8481/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/hackadaycom.wordpress.com/8481/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/hackadaycom.wordpress.com/8481/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/hackadaycom.wordpress.com/8481/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/hackadaycom.wordpress.com/8481/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/hackadaycom.wordpress.com/8481/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/hackadaycom.wordpress.com/8481/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/hackadaycom.wordpress.com/8481/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/hackadaycom.wordpress.com/8481/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/hackadaycom.wordpress.com/8481/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/hackadaycom.wordpress.com/8481/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/hackadaycom.wordpress.com/8481/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/hackadaycom.wordpress.com/8481/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/hackadaycom.wordpress.com/8481/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=hackaday.com&amp;blog=4779443&amp;post=8481&amp;subd=hackadaycom&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://hackaday.com/2009/02/12/curiosity-killed-the-twit-twitter-clickjacking/feed/</wfw:commentRss>
		<slash:comments>24</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/02/dontclick.jpg" medium="image">
			<media:title type="html">dontclick</media:title>
		</media:content>
	</item>
		<item>
		<title>MegaUpload captcha cracking in JavaScript</title>
		<link>http://hackaday.com/2009/01/23/megaupload-captcha-cracking-in-javascript/</link>
		<comments>http://hackaday.com/2009/01/23/megaupload-captcha-cracking-in-javascript/#comments</comments>
		<pubDate>Sat, 24 Jan 2009 02:06:44 +0000</pubDate>
		<dc:creator>Eliot</dc:creator>
				<category><![CDATA[downloads hacks]]></category>
		<category><![CDATA[misc hacks]]></category>
		<category><![CDATA[captcha]]></category>
		<category><![CDATA[ga]]></category>
		<category><![CDATA[genetic algorithm]]></category>
		<category><![CDATA[greasemonkey]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[neural network]]></category>
		<category><![CDATA[ocr]]></category>
		<category><![CDATA[recaptcha]]></category>
		<category><![CDATA[shaunf]]></category>
		<category><![CDATA[waxy]]></category>

		<guid isPermaLink="false">http://hackaday.com/?p=8145</guid>
		<description><![CDATA[This was certainly the last thing we expected to see today. [ShaunF] has created a Greasemonkey script to bypass the captcha on filehosting site Megaupload. It uses a neural network in JavaScript to do all of the OCR work. It will auto submit and start downloading too. It&#8217;s quite a clever hack and is certainly [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=hackaday.com&amp;blog=4779443&amp;post=8145&amp;subd=hackadaycom&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><img class="alignnone size-full wp-image-8146" title="megaupload-the-leading-online-storage-and-file-delivery-service" src="http://hackadaycom.files.wordpress.com/2009/01/megaupload-the-leading-online-storage-and-file-delivery-service.jpg" alt="megaupload-the-leading-online-storage-and-file-delivery-service" width="450" height="22" /></p>
<p>This was certainly the last thing we expected to see today. [ShaunF] has created a Greasemonkey script to <a title="Megaupload auto-fill captcha for Greasemonkey" href="http://userscripts.org/scripts/show/38736">bypass the captcha on filehosting site Megaupload</a>. It uses a <a title="Neural network - Wikipedia, the free encyclopedia" href="http://en.wikipedia.org/wiki/Neural_network">neural network</a> in JavaScript to do all of the OCR work. It will auto submit and start downloading too. It&#8217;s quite a clever hack and is certainly helped by the simple 3 character captcha the site employs. Attempting to do the <a title="reCAPTCHA – Userscripts.org" href="http://userscripts.org/topics/18922?page=3#posts-85120">same thing with ReCAPTCHA</a> has proven much more difficult.</p>
<p><strong>UPDATE: </strong>[John Resig] explained of <a href="http://ejohn.org/blog/ocr-and-neural-nets-in-javascript/">how it works</a>.</p>
<p>[via <a title="Links Miniblog" href="http://waxy.org/links">Waxy</a>]</p>
<br />Posted in downloads hacks, misc hacks  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/hackadaycom.wordpress.com/8145/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/hackadaycom.wordpress.com/8145/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/hackadaycom.wordpress.com/8145/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/hackadaycom.wordpress.com/8145/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/hackadaycom.wordpress.com/8145/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/hackadaycom.wordpress.com/8145/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/hackadaycom.wordpress.com/8145/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/hackadaycom.wordpress.com/8145/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/hackadaycom.wordpress.com/8145/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/hackadaycom.wordpress.com/8145/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/hackadaycom.wordpress.com/8145/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/hackadaycom.wordpress.com/8145/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/hackadaycom.wordpress.com/8145/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/hackadaycom.wordpress.com/8145/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=hackaday.com&amp;blog=4779443&amp;post=8145&amp;subd=hackadaycom&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://hackaday.com/2009/01/23/megaupload-captcha-cracking-in-javascript/feed/</wfw:commentRss>
		<slash:comments>25</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/megaupload-the-leading-online-storage-and-file-delivery-service.jpg" medium="image">
			<media:title type="html">megaupload-the-leading-online-storage-and-file-delivery-service</media:title>
		</media:content>
	</item>
		<item>
		<title>Android adds A2DP, AVRCP Bluetooth and more</title>
		<link>http://hackaday.com/2008/12/19/android-adds-a2dp-avrcp-bluetooth-and-more/</link>
		<comments>http://hackaday.com/2008/12/19/android-adds-a2dp-avrcp-bluetooth-and-more/#comments</comments>
		<pubDate>Fri, 19 Dec 2008 23:05:16 +0000</pubDate>
		<dc:creator>Eliot</dc:creator>
				<category><![CDATA[android hacks]]></category>
		<category><![CDATA[cellphones hacks]]></category>
		<category><![CDATA[g1 hacks]]></category>
		<category><![CDATA[google hacks]]></category>
		<category><![CDATA[wireless hacks]]></category>
		<category><![CDATA[a2dp]]></category>
		<category><![CDATA[adp1]]></category>
		<category><![CDATA[android]]></category>
		<category><![CDATA[android dev phone 1]]></category>
		<category><![CDATA[avrcp]]></category>
		<category><![CDATA[bluetooth]]></category>
		<category><![CDATA[cupcake]]></category>
		<category><![CDATA[dev phone 1]]></category>
		<category><![CDATA[dun]]></category>
		<category><![CDATA[framework]]></category>
		<category><![CDATA[G1]]></category>
		<category><![CDATA[google]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[kernel]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[squirrelfish]]></category>
		<category><![CDATA[t-mobile]]></category>
		<category><![CDATA[t-mobile g1]]></category>
		<category><![CDATA[usb]]></category>
		<category><![CDATA[usb gadget framework]]></category>
		<category><![CDATA[webkit]]></category>

		<guid isPermaLink="false">http://hackaday.com/?p=7056</guid>
		<description><![CDATA[While working towards open-sourcing Android, the team continued to work on new features in their own private development branch. These have now been published publicly in the &#8220;cupcake&#8221; branch. There&#8217;s a lot of interesting new features and bug fixes included. We&#8217;ve got a rundown of many of the significant additions after the break. The A2DP [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=hackaday.com&amp;blog=4779443&amp;post=7056&amp;subd=hackadaycom&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><img class="alignnone size-full wp-image-5781" title="tmobileg1" src="http://hackadaycom.files.wordpress.com/2008/11/tmobileg1.jpg" alt="tmobileg1" width="450" height="150" /></p>
<p>While working towards <a title="Android source code released  - Hack a Day" href="http://hackaday.com/2008/10/21/android-source-code-released/">open-sourcing Android</a>, the team continued to work on new features in their own private development branch. These have now been <a href="http://source.android.com/roadmap/cupcake">published publicly in the &#8220;cupcake&#8221; branch</a>. There&#8217;s a lot of interesting new features and bug fixes included. We&#8217;ve got a rundown of many of the significant additions after the break.</p>
<p><span id="more-7056"></span></p>
<p>The A2DP and AVRCP <a title="Bluetooth profile - Wikipedia, the free encyclopedia" href="http://en.wikipedia.org/wiki/Bluetooth_profile">profiles</a> were both added to the Bluetooth stack. This means support for stereo headsets and remote control. Dial Up Networking wasn&#8217;t added, but preliminary work was done on USB Gadget Framework support, which means future devices could appear to the host device as just an ethernet interface.</p>
<p>The browser has been bumped up to the November release of WebKit with the optimized JavaScript engine <a title="SquirrelFish – WebKit" href="http://trac.webkit.org/wiki/SquirrelFish">SquirrelFish</a>. Copy/paste in browser and a 5x draw speed improvement were also added. The trackball now does accelerated scrolling.</p>
<p>Hardware accelerated video recording and playback, an often noted oversight in the initial <a title="G1 Hacks- Mahalo" href="http://www.mahalo.com/G1_Hacks">T-Mobile G1</a> release, finally show up. A framework for an on-screen keyboard and predictive text are being worked on. Android lets you run background processes and users will be pleased to know there&#8217;s a process manager now. Finally, a new Linux 2.6.27 kernel and the least explained addition &#8220;basic x86 support&#8221; round out the branch.</p>
<p>While there are many good improvements here, there is no indication as to when G1 users will see them or when <a title="Hardware-unlocked Android G1 for sale  - Hack a Day" href="http://hackaday.com/2008/12/08/hardware-unlocked-android-g1-for-sale/">Android Dev Phone 1</a> (ADP1) owners will be able to build the release themselves. [Disconnect] <a href="http://www.gotontheinter.net/content/oooh-hidden-gem-cupcake-sources">points out</a> that there were some other gems included in the branch that aren&#8217;t in the announcement like <a href="http://android.git.kernel.org/?p=platform/system/core.git;a=blob;f=mountd/ASEC.c;h=3d8e50e0ae47c6a5b7e5f6ac2ac225f867434b59;hb=cupcake">mounting an encrypted e2fs volume</a> which could enable installing apps on the SD card.</p>
<p>[photo: <a href="http://flickr.com/photos/tnkgrl/2963841190/in/set-72157608262752711/">tnkgrl</a>]</p>
<p>[via <a href="http://www.gotontheinter.net/content/google-releases-updated-source-treefinally">GotOnTheInter.Net</a>]</p>
<br />Posted in android hacks, cellphones hacks, g1 hacks, google hacks, wireless hacks  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/hackadaycom.wordpress.com/7056/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/hackadaycom.wordpress.com/7056/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/hackadaycom.wordpress.com/7056/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/hackadaycom.wordpress.com/7056/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/hackadaycom.wordpress.com/7056/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/hackadaycom.wordpress.com/7056/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/hackadaycom.wordpress.com/7056/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/hackadaycom.wordpress.com/7056/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/hackadaycom.wordpress.com/7056/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/hackadaycom.wordpress.com/7056/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/hackadaycom.wordpress.com/7056/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/hackadaycom.wordpress.com/7056/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/hackadaycom.wordpress.com/7056/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/hackadaycom.wordpress.com/7056/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=hackaday.com&amp;blog=4779443&amp;post=7056&amp;subd=hackadaycom&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://hackaday.com/2008/12/19/android-adds-a2dp-avrcp-bluetooth-and-more/feed/</wfw:commentRss>
		<slash:comments>3</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/11/tmobileg1.jpg" medium="image">
			<media:title type="html">tmobileg1</media:title>
		</media:content>
	</item>
		<item>
		<title>Simulated annealing</title>
		<link>http://hackaday.com/2008/12/10/simulated-annealing/</link>
		<comments>http://hackaday.com/2008/12/10/simulated-annealing/#comments</comments>
		<pubDate>Thu, 11 Dec 2008 04:30:36 +0000</pubDate>
		<dc:creator>Eliot</dc:creator>
				<category><![CDATA[downloads hacks]]></category>
		<category><![CDATA[misc hacks]]></category>
		<category><![CDATA[dna]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[waxy]]></category>
		<category><![CDATA[ron alsing]]></category>
		<category><![CDATA[genetic]]></category>
		<category><![CDATA[genetic programming]]></category>
		<category><![CDATA[simulated annealing]]></category>
		<category><![CDATA[altered qualia]]></category>
		<category><![CDATA[canvas]]></category>
		<category><![CDATA[r stevens]]></category>
		<category><![CDATA[dieselsweeties]]></category>
		<category><![CDATA[polygon]]></category>

		<guid isPermaLink="false">http://hackaday.com/?p=6824</guid>
		<description><![CDATA[Here&#8217;s an update on our earlier post about genetic programming. Altered Qualia has posted a new implementation of [Ron Alsing]&#8216;s idea. It starts with 50 polygons and then randomly changes one parameter with each optimization step. If the the change results in fewer differences from the target image, it&#8217;s kept as the new best DNA. [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=hackaday.com&amp;blog=4779443&amp;post=6824&amp;subd=hackadaycom&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><img class="alignnone size-full wp-image-6825" title="annealing" src="http://hackadaycom.files.wordpress.com/2008/12/annealing.jpg" alt="annealing" width="450" height="245" /></p>
<p>Here&#8217;s an update on our <a title="Genetic programming  - Hack a Day" href="http://hackaday.com/2008/12/08/genetic-programming/">earlier post about genetic programming</a>. Altered Qualia has <a title="Image evolution" href="http://alteredqualia.com/visualization/evolve/">posted a new implementation</a> of [Ron Alsing]&#8216;s idea. It starts with 50 polygons and then randomly changes one parameter with each optimization step. If the the change results in fewer differences from the target image, it&#8217;s kept as the new best DNA. This search method is similar to <a title="Simulated annealing - Wikipedia, the free encyclopedia" href="http://en.wikipedia.org/wiki/Simulated_Annealing">simulated annealing</a>. The image above is the result of 1500 good mutations out of 35900 possible. The implementation lets you choose any image, but smaller means the fitness calculation is faster. It&#8217;s written in JavaScript using the <a title="Canvas (HTML element) - Wikipedia, the free encyclopedia" href="http://en.wikipedia.org/wiki/Canvas_(HTML_element)">&lt;canvas&gt;</a> environment. You&#8217;ll definitely get better performance using <a title="Chrome and Firefox showing JavaScript improvements  - Hack a Day" href="http://hackaday.com/2008/10/18/chrome-and-firefox-showing-javascript-improvements/">newer browser builds</a>.</p>
<p>[Original image by <a title="Bacon is a Vegetable" href="http://www.dieselsweeties.com/">R Stevens</a>]</p>
<p>[via <a title="Links Miniblog" href="http://waxy.org/links">Waxy</a>]</p>
<br />Posted in downloads hacks, misc hacks  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/hackadaycom.wordpress.com/6824/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/hackadaycom.wordpress.com/6824/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/hackadaycom.wordpress.com/6824/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/hackadaycom.wordpress.com/6824/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/hackadaycom.wordpress.com/6824/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/hackadaycom.wordpress.com/6824/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/hackadaycom.wordpress.com/6824/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/hackadaycom.wordpress.com/6824/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/hackadaycom.wordpress.com/6824/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/hackadaycom.wordpress.com/6824/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/hackadaycom.wordpress.com/6824/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/hackadaycom.wordpress.com/6824/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/hackadaycom.wordpress.com/6824/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/hackadaycom.wordpress.com/6824/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=hackaday.com&amp;blog=4779443&amp;post=6824&amp;subd=hackadaycom&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://hackaday.com/2008/12/10/simulated-annealing/feed/</wfw:commentRss>
		<slash:comments>24</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/12/annealing.jpg" medium="image">
			<media:title type="html">annealing</media:title>
		</media:content>
	</item>
		<item>
		<title>Javascript drum machine</title>
		<link>http://hackaday.com/2008/11/17/javascript-drum-machine/</link>
		<comments>http://hackaday.com/2008/11/17/javascript-drum-machine/#comments</comments>
		<pubDate>Mon, 17 Nov 2008 22:44:58 +0000</pubDate>
		<dc:creator>Eliot</dc:creator>
				<category><![CDATA[digital audio hacks]]></category>
		<category><![CDATA[downloads hacks]]></category>
		<category><![CDATA[909]]></category>
		<category><![CDATA[cameron adams]]></category>
		<category><![CDATA[drum machine]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[js]]></category>
		<category><![CDATA[library]]></category>
		<category><![CDATA[roland]]></category>
		<category><![CDATA[sample]]></category>
		<category><![CDATA[waxy]]></category>

		<guid isPermaLink="false">http://hackadaycom.wordpress.com/?p=5978</guid>
		<description><![CDATA[[Cameron Adams] recently appeared on a panel about JavaScript libraries. He represented the hard working coder that still wrote everything from scratch. He wanted to make something mindblowing for the audience. He ended up creating the JS-909 drum machine entirely in javascript without relying on libraries or flash. While he makes no claims of compatibility, [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=hackaday.com&amp;blog=4779443&amp;post=5978&amp;subd=hackadaycom&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><img class="alignnone size-full wp-image-5979" title="js-909" src="http://hackadaycom.files.wordpress.com/2008/11/js-909.jpg" alt="js-909" width="450" height="168" /></p>
<p>[Cameron Adams] recently appeared on a panel about JavaScript libraries. He represented the hard working coder that still wrote everything from scratch. He wanted to make something mindblowing for the audience. He ended up creating the JS-909 <a title="JS-909" href="http://www.themaninblue.com/experiment/JS-909/">drum machine entirely in javascript</a> without relying on libraries or flash. While he makes no claims of compatibility, it certainly is a nice bit of kit.</p>
<p>[via <a title="Links Miniblog" href="http://waxy.org/links">Waxy</a>]</p>
<br />Posted in digital audio hacks, downloads hacks  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/hackadaycom.wordpress.com/5978/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/hackadaycom.wordpress.com/5978/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/hackadaycom.wordpress.com/5978/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/hackadaycom.wordpress.com/5978/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/hackadaycom.wordpress.com/5978/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/hackadaycom.wordpress.com/5978/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/hackadaycom.wordpress.com/5978/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/hackadaycom.wordpress.com/5978/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/hackadaycom.wordpress.com/5978/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/hackadaycom.wordpress.com/5978/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/hackadaycom.wordpress.com/5978/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/hackadaycom.wordpress.com/5978/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/hackadaycom.wordpress.com/5978/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/hackadaycom.wordpress.com/5978/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=hackaday.com&amp;blog=4779443&amp;post=5978&amp;subd=hackadaycom&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://hackaday.com/2008/11/17/javascript-drum-machine/feed/</wfw:commentRss>
		<slash:comments>14</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/11/js-909.jpg" medium="image">
			<media:title type="html">js-909</media:title>
		</media:content>
	</item>
	</channel>
</rss>
