<?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; vX JS</title>
	<atom:link href="http://antimatter15.com/wp/category/other/vxjs/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>Migrating small stuff to GitHub</title>
		<link>http://antimatter15.com/wp/2009/09/migrating-small-stuff-to-github/</link>
		<comments>http://antimatter15.com/wp/2009/09/migrating-small-stuff-to-github/#comments</comments>
		<pubDate>Thu, 03 Sep 2009 23:46:58 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Ajax Animator]]></category>
		<category><![CDATA[Other]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[vX JS]]></category>
		<category><![CDATA[github]]></category>
		<category><![CDATA[google]]></category>
		<category><![CDATA[small]]></category>
		<category><![CDATA[spamming]]></category>
		<category><![CDATA[xkcd]]></category>

		<guid isPermaLink="false">http://antimatter15.com/wp/?p=812</guid>
		<description><![CDATA[So I&#8217;m moving the small totally unknown and 1-2 file things that I&#8217;ve spammed Google Code with previously. Small things like js-xdb, mental-interpreter, js-tpl-engine, js-xdomain, subleq2, vxjs-ajax (a whole project for a single function? crazy stuff). So i&#8217;m shrinking my google code profile to reduce my spamminess, becasue I used to feel like it would [...]]]></description>
			<content:encoded><![CDATA[<div class="wp-caption alignright" style="width: 192px"><img title="GitHub" src="http://www.ubuntu-pics.de/bild/23721/screenshot_053_X8im56.png" alt="Ill take the liberties of plagarizing this as who wouldnt recognize its source?" width="182" height="286" /><p class="wp-caption-text">I&#39;ll take the liberties of plagarizing this as who wouldn&#39;t recognize it&#39;s source?</p></div>
<p>So I&#8217;m moving the small totally unknown and 1-2 file things that I&#8217;ve spammed Google Code with previously. Small things like js-xdb, mental-interpreter, js-tpl-engine, js-xdomain, subleq2, vxjs-ajax (a whole project for a single function? crazy stuff).</p>
<p>So i&#8217;m shrinking my google code profile to reduce my spamminess, becasue I used to feel like it would be awesome to have a project for everything I spent more than 2 minutes on doing in hopes that someone would eventually find it interesting.</p>
<p>Hopefully someone would find it interesting on github.</p>
<p>I&#8217;m also adding some lost projects, like my backups of stuff that got lost when appjet shut down, a substition code cracker a few jetpacks and still adding more.</p>
<p><a href="http://github.com/antimatter15/antimatter15/tree/master">http://github.com/antimatter15/antimatter15/tree/master</a></p>
<p>Those are all the tiny projects not big enough to deserve a actual repo or google code project page.</p>
]]></content:encoded>
			<wfw:commentRss>http://antimatter15.com/wp/2009/09/migrating-small-stuff-to-github/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>vX Ajax is almost 10 bytes smaller</title>
		<link>http://antimatter15.com/wp/2008/12/vx-ajax-is-almost-10-bytes-smaller/</link>
		<comments>http://antimatter15.com/wp/2008/12/vx-ajax-is-almost-10-bytes-smaller/#comments</comments>
		<pubDate>Thu, 04 Dec 2008 23:15:06 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[vX JS]]></category>
		<category><![CDATA[ajax]]></category>
		<category><![CDATA[smaller]]></category>

		<guid isPermaLink="false">http://antimatter15.110mb.com/wp/?p=322</guid>
		<description><![CDATA[Okay, so 0 = false, so it makes sense that !0 = true. but also 1 = true, so that saved 1 byte. Since there&#8217;s no .readyState attribute &#62; 4, instead of .readyState == 4, you can do .readyState&#62;3 the big one was ActiveX, which was originally x=new(this.ActiveXObject?ActiveXObject:XMLHttpRequest)('Microsoft.XMLHTTP') I noticed how this.activeXObject was repeated unnecessarily. [...]]]></description>
			<content:encoded><![CDATA[<p>Okay, so 0 = false, so it makes sense that !0 = true. but also 1 = true, so that saved 1 byte.</p>
<p>Since there&#8217;s no .readyState attribute &gt; 4, instead of .readyState == 4, you can do .readyState&gt;3</p>
<p>the big one was ActiveX, which was originally</p>
<p><tt>x=new(</tt><tt>this.ActiveXObject</tt><tt>?</tt><tt>ActiveXObject</tt><tt>:XMLHttpRequest)('Microsoft.XMLHTTP')</tt></p>
<p>I noticed how this.activeXObject was repeated unnecessarily. So i added a new variable y</p>
<p><tt>y=this.ActiveXObject</tt></p>
<p>then I did:</p>
<p><tt>y=this.ActiveXObject;x=new(y?y:XMLHttpRequest)('Microsoft.XMLHTTP')</tt></p>
<p>thanks to dynamic languages, I could use x, and just reset it to something else (saving a variable declaration!)</p>
<p><tt>x=this.ActiveXObject;x=new(x?x:XMLHttpRequest)('Microsoft.XMLHTTP')<br />
</tt><br />
Now I just need to find a way to shrink <tt>x.setRequestHeader('Content-type','application/x-www-form-urlencoded')</tt></p>
]]></content:encoded>
			<wfw:commentRss>http://antimatter15.com/wp/2008/12/vx-ajax-is-almost-10-bytes-smaller/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Deja Vu</title>
		<link>http://antimatter15.com/wp/2008/10/deja-vu/</link>
		<comments>http://antimatter15.com/wp/2008/10/deja-vu/#comments</comments>
		<pubDate>Mon, 20 Oct 2008 23:38:32 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[vX JS]]></category>
		<category><![CDATA[ajax]]></category>
		<category><![CDATA[smaller]]></category>

		<guid isPermaLink="false">http://antimatter15.110mb.com/wp/?p=313</guid>
		<description><![CDATA[Um&#8230; I got vX Ajax 1 byte smaller. *I think you can&#8217;t get any smaller than this&#8230; For real&#8230;]]></description>
			<content:encoded><![CDATA[<p>Um&#8230; I got vX Ajax 1 byte smaller.</p>
<p>*I think you can&#8217;t get any smaller than this&#8230; For real&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://antimatter15.com/wp/2008/10/deja-vu/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Can Anyone Beat This?</title>
		<link>http://antimatter15.com/wp/2008/10/can-anyone-beat-this-2/</link>
		<comments>http://antimatter15.com/wp/2008/10/can-anyone-beat-this-2/#comments</comments>
		<pubDate>Tue, 14 Oct 2008 20:57:11 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[vX JS]]></category>
		<category><![CDATA[ajax]]></category>
		<category><![CDATA[function]]></category>
		<category><![CDATA[librray]]></category>
		<category><![CDATA[small]]></category>
		<category><![CDATA[tiny]]></category>

		<guid isPermaLink="false">http://antimatter15.110mb.com/wp/?p=304</guid>
		<description><![CDATA[The original vX function was 337b. Now, it&#8217;s been reduced down to 293 bytes, while adding a new feature (callback is now optional). X=function(u,f,p,x){x=window.ActiveXObject?new ActiveXObject('Microsoft.XMLHTTP'):new XMLHttpRequest();x.open(p?'POST':'GET',u,!0);p?x.setRequestHeader('Content-type','application/x-www-form-urlencoded'):p;x.onreadystatechange=function(){x.readyState==4?f?f(x.responseText,x):f:0};x.send(p)} Apparently, the above stuff doesn&#8217;t work (WordPress?) It&#8217;s really quite amazing. The big things that reduced size were using lots of condititional things, really obfuscated unreadable stuff, and using [...]]]></description>
			<content:encoded><![CDATA[<p>The original vX function was 337b. Now, it&#8217;s been reduced down to 293 bytes, while adding a new feature (callback is now optional).<br />
<tt><br />
X=function(u,f,p,x){x=window.ActiveXObject?new ActiveXObject('Microsoft.XMLHTTP'):new XMLHttpRequest();x.open(p?'POST':'GET',u,!0);p?x.setRequestHeader('Content-type','application/x-www-form-urlencoded'):p;x.onreadystatechange=function(){x.readyState==4?f?f(x.responseText,x):f:0};x.send(p)}</tt></p>
<p>Apparently, the above stuff doesn&#8217;t work (WordPress?)</p>
<p>It&#8217;s really quite amazing. The big things that reduced size were using lots of condititional things, really obfuscated unreadable stuff, and using !0 instead of true, and !1 instead of false.</p>
<p>If you want to use it, try building your own copy from.</p>
<p><a href="http://vxjs.googlecode.com/svn/trunk/build.htm">http://vxjs.googlecode.com/svn/trunk/build.htm</a></p>
<p>The usage has signifigantly changed though, there, everything&#8217;s namespaced under an underscore, so it&#8217;s _.X(&#8220;url&#8221;)</p>
]]></content:encoded>
			<wfw:commentRss>http://antimatter15.com/wp/2008/10/can-anyone-beat-this-2/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! -->