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

<channel>
	<title>Blog &#187; fast</title>
	<atom:link href="http://antimatter15.com/wp/tag/fast/feed/" rel="self" type="application/rss+xml" />
	<link>http://antimatter15.com/wp</link>
	<description>this title probably isn&#039;t very original</description>
	<lastBuildDate>Fri, 23 Jul 2010 21:21:18 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Wave Reader 4.6 &#8211; Insanely Fast Edition</title>
		<link>http://antimatter15.com/wp/2010/01/wave-reader-4-6/</link>
		<comments>http://antimatter15.com/wp/2010/01/wave-reader-4-6/#comments</comments>
		<pubDate>Fri, 15 Jan 2010 04:08:01 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Wave]]></category>
		<category><![CDATA[Wave Reader]]></category>
		<category><![CDATA[fast]]></category>
		<category><![CDATA[google wave]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[wave]]></category>
		<category><![CDATA[wave reader]]></category>
		<category><![CDATA[woot]]></category>

		<guid isPermaLink="false">http://antimatter15.com/wp/?p=913</guid>
		<description><![CDATA[Loading a 500 blip wave in Google&#8217;s GWT Client takes 3:34 to get to a usable state (Where the scroll bar works) on a 3ghz Core2 Duo (whose extra core admittedly won&#8217;t do much). It also uses 972 MB of RAM. Loading the same wave in my Wave Reader, takes 678 milliseconds. A 315x speed-up. [...]]]></description>
			<content:encoded><![CDATA[<p>Loading a 500 blip wave in Google&#8217;s GWT Client takes 3:34 to get to a usable state (Where the scroll bar works) on a 3ghz Core2 Duo (whose extra core admittedly won&#8217;t do much). It also uses 972 MB of RAM.</p>
<p>Loading the same wave in my Wave Reader, take<strong>s 678 milliseconds. A 315x speed-up</strong>. Also, my client is totally unoptimized, pure 30KB of javascript. On top of those features, <strong>anyone can view waves<span style="font-weight: normal;">, without a google account, </span>individual blips can be linked </strong>to, it supports rendering almost everything Wave can, that is <strong>gadgets, inline replies, nesting, </strong>font color/size, italics, bold, everything you could probably expect. Interestingly, when you add an attachment to Wave, and delete the parent blip, it still stores the attachment on the current wave state, and this client can display/link to them without using Playback. There is an option to <strong>generate plain simple HTML</strong> for turning a Wave into a standalone page or Website. <strong>Private waves can be exposed read-only as a website</strong> simply by adding the gwavereader@googlewave.com username.</p>
<p>Using it is simple, take  a Wave https://wave.google.com/wave/#restored:wave:<strong>googlewave.com!w%252Br5lewFqCA</strong> and then put it after the Wave Reader URL http://antimatter15.com/misc/wave/read.html?<strong>googlewave.com!w%252Br5lewFqCA</strong><br /> And magically you have a super awesome URL to link to.</p>
<p>You can learn some tricks on how to use it to do some more awesome things <a href="http://antimatter15.com/misc/wave/read.html?googlewave.com!w%252BrnG0vaFXA">http://antimatter15.com/misc/wave/read.html?googlewave.com!w%252BrnG0vaFXA</a> such as the before mentioned HTML generation.</p>
<p>Samples (Some random waves):<br /> <a href="http://antimatter15.com/misc/wave/read.html?googlewave.com!w%252Br5lewFqCA">http://antimatter15.com/misc/wave/read.html?googlewave.com!w%252Br5lewFqCA</a> (New for 4.6 Inline reply support)<br /> <a href="http://antimatter15.com/misc/wave/read.html?Ze3l0mj0A">http://antimatter15.com/misc/wave/read.html?Ze3l0mj0A</a><br /> <a href="http://antimatter15.com/misc/wave/read.html?oPg9HfEXE&amp;beta">http://antimatter15.com/misc/wave/read.html?oPg9HfEXE&amp;beta</a><br /> <a href="http://antimatter15.com/misc/wave/read.html?Mu9eK7j2H">http://antimatter15.com/misc/wave/read.html?Mu9eK7j2H</a><br /> <a href="http://antimatter15.com/misc/wave/read.html?AhbL5fooD&amp;beta">http://antimatter15.com/misc/wave/read.html?AhbL5fooD&amp;beta</a><br /> <a href="http://antimatter15.com/misc/wave/read.html?googlewave.com!w+UDMZOGpSG">http://antimatter15.com/misc/wave/read.html?googlewave.com!w+UDMZOGpSG</a></p>
]]></content:encoded>
			<wfw:commentRss>http://antimatter15.com/wp/2010/01/wave-reader-4-6/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>JS vs Python</title>
		<link>http://antimatter15.com/wp/2009/08/js-vs-python/</link>
		<comments>http://antimatter15.com/wp/2009/08/js-vs-python/#comments</comments>
		<pubDate>Thu, 27 Aug 2009 20:01:36 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[chrome]]></category>
		<category><![CDATA[fast]]></category>
		<category><![CDATA[google]]></category>
		<category><![CDATA[python]]></category>
		<category><![CDATA[speed]]></category>

		<guid isPermaLink="false">http://antimatter15.com/wp/?p=795</guid>
		<description><![CDATA[I sorta expected it due to the new V8, Tracemonkey, Nitro, and SquirrelFish engines. But I&#8217;m thinking of making a port of ShinyTouch to JS and I was looking into what differences it might end up as. I have to say I&#8217;m really quite suprised. It&#8217;s a simple piece of code: setTimeout(function(){ var start = [...]]]></description>
			<content:encoded><![CDATA[<p>I sorta expected it due to the new V8, Tracemonkey, Nitro, and SquirrelFish engines. But I&#8217;m thinking of making a port of ShinyTouch to JS and I was looking into what differences it might end up as.</p>
<p>I have to say I&#8217;m really quite suprised. It&#8217;s a simple piece of code:<br />
<code><br />
setTimeout(function(){<br />
var start = (new Date).getTime();<br />
var n = 0;<br />
for(var i = 0; i &lt; 10000000; i++){<br />
n += i;<br />
}<br />
var end = (new Date).getTime();<br />
alert(end-start);<br />
},5000)</code><br />
Just doing a loop a huge number of times and adding some numbers. But the unscientific results are quite amazing:</p>
<p>Python: 2640, 2110, 2000, 2190</p>
<p>Firefox 3.0 Spidermonkey: 777, 672, 685, 665</p>
<p>Firefox 3.5 TraceMonkey: 659, 365, 629, 629</p>
<p>Chromium Nightly: 146, 150, 147, 152</p>
<p>While these only test basic arithmetic and recursion, <em>The browser</em> is 15 times <em>faster</em> than Python, it just feels quite incredable.</p>
]]></content:encoded>
			<wfw:commentRss>http://antimatter15.com/wp/2009/08/js-vs-python/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>New MirrorTouch Algorithm</title>
		<link>http://antimatter15.com/wp/2009/06/new-mirrortouch-algorithm/</link>
		<comments>http://antimatter15.com/wp/2009/06/new-mirrortouch-algorithm/#comments</comments>
		<pubDate>Sun, 28 Jun 2009 00:25:47 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[MirrorTouch]]></category>
		<category><![CDATA[.net]]></category>
		<category><![CDATA[algorithm]]></category>
		<category><![CDATA[fast]]></category>
		<category><![CDATA[idea]]></category>
		<category><![CDATA[mirror]]></category>
		<category><![CDATA[shiny]]></category>

		<guid isPermaLink="false">http://antimatter15.110mb.com/wp/?p=404</guid>
		<description><![CDATA[MirrorTouch (the new name for my mirror-based multitouch system). For those who don&#8217;t remember, it is a project to create a retrofittable cheap new technology for touch detection. It can be made of mostly off-the-counter or even household items. The software has the potential to be VERY fast, many orders of magnitude faster than the [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignright size-full wp-image-405" title="MirrorTouch Diagram" src="http://antimatter15.com/wp/wp-content/uploads/2009/06/multitouchmain.png" alt="MirrorTouch Diagram" width="272" height="202" /></p>
<p>MirrorTouch (the new name for my mirror-based multitouch system). For those who don&#8217;t remember, it is a project to create a retrofittable cheap new technology for touch detection. It can be made of mostly off-the-counter or even household items. The software has the potential to be VERY fast, many orders of magnitude faster than the current technology. It is less seceptable to occlusion than many other technologies.</p>
<p>It began well over 2 months ago. It started out with IDEALISTIC paint sketches and then a VB.NET application to parse it. Then it was ported to Python and could handle the same sketches. After discovering that in real life the positioning of the points varies due to some very strange and illogical factor, the project had a several-month hiatus.</p>
<p>The issue is clearly demonstrated here:</p>
<div class="wp-caption alignnone" style="width: 362px"><img title="Oh Noes!" src="http://i92.photobucket.com/albums/l30/antimatter15/2009-04-09-093635-oops.jpg" alt="noooo!! why doesnt it work?!?!?!?!?!" width="352" height="288" /><p class="wp-caption-text">noooo!! why doesn&#39;t it work?!?!?!?!?!</p></div>
<p>Last week, I considered the project a failure. I was playing around with a flashlight and tried looking into the strange behavior of the light. And something began to dawn on me. The shape as on diagram 1, can be flattened out as a visualization for what it behaves like. So from the pyramid shape, it looks more like a little 4-pointed star. Since the mirror is only on two sides, you can simplify it to half a star emerging from a square.</p>
<div id="attachment_406" class="wp-caption alignright" style="width: 489px"><img class="size-full wp-image-406" title="Flattened Diagram" src="http://antimatter15.com/wp/wp-content/uploads/2009/06/multitouchflat.png" alt="The diagram" width="479" height="354" /><p class="wp-caption-text">The diagram</p></div>
<p>To the side is a geometicalified sketch of it from my notebook. Here you can see the relation between the point and where it shows up on the mirror.</p>
<p>From that, you can use the distance between <em>m</em> and the y point (<em>y-m</em>) and divide it all over the distance from the mirror to the webcam (<em>l</em>) and plug it into <em>y=mx+c</em> form. Repeat that over the x axis and you can use basic algebra to find the interesction.</p>
<p>From that is the new magical formula that powers the application:</p>
<div class="wp-caption alignleft" style="width: 396px"><img title="Yay! Purtyful!" src="http://www.antimatter15.com/misc/MultitouchFormulae.png" alt="Yay! Purtyful!" width="386" height="134" /><p class="wp-caption-text">Yay! Purtyful!</p></div>
<p>The new formula is so magical that it actually works. Yes, it&#8217;s amazing, it has survived the most strictest of tests of mathematical consistency. It <em>works.</em>&#8230;. At least in theory. Now what about <em>scientific</em> tests? Oh no! it actually has to work in the <em>physical</em> <span style="text-decoration: underline;">world</span>? Oh no!</p>
<p>With these 2 magical equations. I have (theoretically) in an idealistic model of the system, solved the issue with distortion. It should theoretically resolve all issues with the system. It should work.</p>
<p>So i set up the model again, attaching my webcam to a ruler and taping it to a speaker. Taping mirrors down on a piece of paper, and this time, Scribbling down measurements on the side. I got it to work. Workign without resetting configuration every time it ran. It works. It truly actually works. Multi-Touch too.</p>
<p>Since I cant get the webcam to feed directly to the python script, I have to use Cheese (it&#8217;s a linux app for taking pics from a webcam) to save screenies of the webcam mounted percariously from a ruler using only a bit of transparent Scotch tape. I copy the images over to the mirrortouch directory and go in the commandline and type in <em>python process.py</em> and watch as lines of logging output fly past as the windows autoscrolls down filled with coordinates and color hashes.</p>
<p>I watch as it generates a .png file.</p>
<div class="wp-caption alignnone" style="width: 362px"><img src="http://i92.photobucket.com/albums/l30/antimatter15/ScanOut-4.png" alt="It works in the _real_ world!" width="352" height="288" /><p class="wp-caption-text">It works in the _real_ world!</p></div>
<p>Yes it works! AMAZING!</p>
<p>Note: The random scribbles in the back aren&#8217;t for any contstructive purpose. No, actually they just stop my stupid webcam from adjusting the contrast and making everything all ugly and ewwie. If my webcam sucked less than maybe it would work but my webcam really does really really really suck.</p>
<p>Now if it could get ported over to somethign like C++, and actually parse a live video feed from the webcam then it may become an actual working implementable multitouch technology. As it stands, it&#8217;s just a multitouch proof of concept, and I don&#8217;t know C++ so it probably won&#8217;t work.</p>
<p>Anyone dying for the source code can find it in the SVN repository at : http://code.google.com/p/mirrortouch/ Just beware that it may take <span style="text-decoration: underline;">lots</span> of scary and tedious configuring in current stages (Configuring color range of background in the band, configuring color range of target, setting distances and middle length and other horrors, but from the SVN you can also do the insanely boring act of running various images that are already there through the script, and most of the images just wont work even with replacing huge blocks of code).</p>
]]></content:encoded>
			<wfw:commentRss>http://antimatter15.com/wp/2009/06/new-mirrortouch-algorithm/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>vX JS Library</title>
		<link>http://antimatter15.com/wp/2008/10/vx-js-library/</link>
		<comments>http://antimatter15.com/wp/2008/10/vx-js-library/#comments</comments>
		<pubDate>Sun, 12 Oct 2008 22:22:22 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[vX JS]]></category>
		<category><![CDATA[ajax]]></category>
		<category><![CDATA[fast]]></category>
		<category><![CDATA[json]]></category>
		<category><![CDATA[library]]></category>
		<category><![CDATA[small]]></category>

		<guid isPermaLink="false">http://antimatter15.110mb.com/wp/?p=300</guid>
		<description><![CDATA[Built on top of the vX Ajax Function, is the vX JS Library. It&#8217;s probably the world&#8217;s smallest JS Library, in total, about 1.45kb, with things like Animations, Ajax, JSON Serialization, URL Encoding, Cloning, Event Handling, Fade Effects, and more. It&#8217;s signifigantly less elegant than jQuery and others, but it is extremely lightweight and quite [...]]]></description>
			<content:encoded><![CDATA[<p>Built on top of the vX Ajax Function, is the vX JS Library. It&#8217;s probably the world&#8217;s smallest JS Library, in total, about 1.45kb, with things like Animations, Ajax, JSON Serialization, URL Encoding, Cloning, Event Handling, Fade Effects, and more. It&#8217;s signifigantly less elegant than jQuery and others, but it is extremely lightweight and quite cross-platform. The code has been optimized down to each individual byte.</p>
<p>http://code.google.com/p/vxjs/</p>
<p>It&#8217;s not too useful. It may be useful for some tiny things, but it&#8217;s not really that useful.</p>
<p>It&#8217;s not good enough to make things really high-quality, or complex such as the Ajax Animator. It&#8217;s good only if your making like something small, where you might want some ajax, but still want it to load fast.</p>
<p>Also, another thing, not exactly part of the library is vXg, a Get-Only version of vX that&#8217;s only 221 bytes.</p>
<p>http://vxjs.googlecode.com/svn-history/r26/trunk/ajaxget.js</p>
<p>vXg(URL, CALLBACK)</p>
]]></content:encoded>
			<wfw:commentRss>http://antimatter15.com/wp/2008/10/vx-js-library/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>vX Ajax Function</title>
		<link>http://antimatter15.com/wp/2008/10/vx-ajax-function/</link>
		<comments>http://antimatter15.com/wp/2008/10/vx-ajax-function/#comments</comments>
		<pubDate>Wed, 08 Oct 2008 01:01:03 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[vX JS]]></category>
		<category><![CDATA[ajax]]></category>
		<category><![CDATA[fast]]></category>
		<category><![CDATA[function]]></category>
		<category><![CDATA[get]]></category>
		<category><![CDATA[light]]></category>
		<category><![CDATA[post]]></category>

		<guid isPermaLink="false">http://antimatter15.110mb.com/wp/?p=296</guid>
		<description><![CDATA[For one of my projects, I needed a really simple, lightweight one. It&#8217;s super lightweight. I mean really. really lightweight. Only 337 bytes (though 1 kilobyte of random crap in front of it would make it 1337 bytes). Most libraries are over 60kb! If you&#8217;re using it _only_ for ajax. You&#8217;re using 180 TIMES what [...]]]></description>
			<content:encoded><![CDATA[<p>For one of my projects, I needed a really simple, lightweight one. It&#8217;s super lightweight. I mean really. really lightweight. Only 337 bytes (though 1 kilobyte of random crap in front of it would make it 1337 bytes). Most libraries are over 60kb! If you&#8217;re using it _only_ for ajax. You&#8217;re using 180 TIMES what you really need.</p>
<p>This one can do GET/POST requests with a callback</p>
<p><tt>/*vX Ajax Function. (C) Antimatter15 2008*/<br />
function vX(u,f,p){var x=(window.ActiveXObject)?new ActiveXObject("Microsoft.XMLHTTP"):new XMLHttpRequest();<br />
x.open(p?"POST":"GET",u,true);if(p) x.setRequestHeader("Content-type","application/x-www-form-urlencoded");<br />
x.onreadystatechange=function(){if(x.readyState==4&amp;&amp;x.status==200) f(x.responseText)};x.send(p)}</tt></p>
<p>It takes 3 parameters. the URL, the Callback function, and the post parameters (optional).<tt><br />
vX(AJAX URL, CALLBACK FUNCTION[, POST PARAMETERS]);<br />
</tt><br />
Note that here the callback is required, not optional, though it could probably be made to do that by changing f?f(x.responseText):x.</p>
<p>To Use:</p>
<p>GET:<br />
<tt>vX("ajax.php?you=suck&amp;howmuch=alot", function(responsetext){alert(responsetext)})</tt></p>
<p>POST:<br />
<tt>vX("ajax.php", function(responsetext){alert(responsetext)}, "you=suck&amp;howmuch=alot")</tt></p>
<p>That&#8217;s it. In case your wondering what the name is, I wanted somethign that was short so it was lightweight. I didnt want it to be single letter because single-letter names are likely to collide with other libraries. Also because &#8220;V&#8221; and &#8220;X&#8221; are two widely overused characters anyway. Another reason might be that you dont know what version it is <img src='http://antimatter15.com/wp/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://antimatter15.com/wp/2008/10/vx-ajax-function/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
<!-- WP Super Cache is installed but broken. The path to wp-cache-phase1.php in wp-content/advanced-cache.php must be fixed! -->