<?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>John Tokash &#187; Coding</title>
	<atom:link href="http://blog.tokash.org/category/coding/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.tokash.org</link>
	<description>Gadgets, Games, Hacks, Code</description>
	<lastBuildDate>Sun, 11 Jul 2010 22:54:19 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='blog.tokash.org' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://www.gravatar.com/blavatar/9a66ae7dd57e514a7883f620772e702e?s=96&#038;d=http://s2.wp.com/i/buttonw-com.png</url>
		<title>John Tokash &#187; Coding</title>
		<link>http://blog.tokash.org</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://blog.tokash.org/osd.xml" title="John Tokash" />
	<atom:link rel='hub' href='http://blog.tokash.org/?pushpress=hub'/>
		<item>
		<title>Found</title>
		<link>http://blog.tokash.org/2009/09/05/found/</link>
		<comments>http://blog.tokash.org/2009/09/05/found/#comments</comments>
		<pubDate>Sat, 05 Sep 2009 17:44:35 +0000</pubDate>
		<dc:creator>jtokash</dc:creator>
				<category><![CDATA[Apple]]></category>
		<category><![CDATA[Coding]]></category>
		<category><![CDATA[Conferences]]></category>
		<category><![CDATA[Games]]></category>
		<category><![CDATA[Make]]></category>
		<category><![CDATA[Mobile]]></category>
		<category><![CDATA[Visualization]]></category>

		<guid isPermaLink="false">http://blog.tokash.org/?p=1149</guid>
		<description><![CDATA[Some interesting reading this morning. Shirt Pocket software is working on fixes for SuperDuper!, the state-of-the-art backup software for OS X. The biggest issue right now seems to be the unconventional system that Apple is using for hiding file compression from applications (which seems to be necessary for backwards compatibility). The great news is that [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.tokash.org&blog=5645961&post=1149&subd=jtokash&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<p>Some interesting reading this morning.</p>
<p>Shirt Pocket software is working on fixes for SuperDuper!, the state-of-the-art backup software for OS X.  The biggest issue right now seems to be the unconventional system that Apple is using for hiding file compression from applications (which seems to be necessary for backwards compatibility).  The great news is that even without these fixes, SuperDuper! is not experiencing any data loss.  <a href="http://www.shirt-pocket.com/blog/index.php/shadedgrey/squashed/">Dave Nanian&#8217;s article is here</a>.</p>
<p>If you want to learn more about Snow Leopard&#8217;s file compression or ANYTHING ELSE, check out <a href="http://arstechnica.com/apple/reviews/2009/08/mac-os-x-10-6.ars">John Siracusa&#8217;s massive 23 page review</a> at Ars Technica.  While I understand that some users are finding Snow Leopard more of a Service Pack than a new OS, I have to say that I&#8217;m loving some of the features.   The new changes to Expose alone are worth the $30 bucks to me.  You can read up on the Expose features and other cool bits <a href="http://db.tidbits.com/article/10507">over on the TidBits blog</a>.  Try hitting the Expose key and then tabbing through your applications.  FUN!</p>
<p>It sounds like the new hero Massively Multiplayer game, Champions Online is off to a rough start.  They ratcheted down the effectiveness of players who participated in the beta.  This is called a &#8216;nerf&#8217; in the MMO world.  <a href="http://www.independentcreator.com/2009-09-04/now-thats-how-you-run-an-mmo/">Matt Franklin</a> contrasts this with the rate at which the lead MMO (World of Warcraft) is making game play (especially beginner game play) easier and easier.</p>
<p>This <a href="http://hackaday.com/2009/08/29/c64-visual-debugger/">Commodore 64 Visual Debugger</a> is incredible.  You start out with a window that shows EVERY address in memory and then zoom in to look at specific locations.  The waves of memory changes during file loading are neat!  I can&#8217;t wait to run this thing while playing Paradroid!</p>
<p>Backblaze has a how-to article up about the homebrew storage solution they&#8217;ve created.  <a href="http://blog.backblaze.com/2009/09/01/petabytes-on-a-budget-how-to-build-cheap-cloud-storage/">7 terabyte 4U servers for $7,867</a>. </p>
<p><a href="http://www.umpcportal.com/2009/09/jkk-gets-hands-on-with-the-nokia-n900-video-and-podcast/">JKK checked out the Nokia N900</a>.  It merges the best work they&#8217;ve done on phones and the work they&#8217;ve done on Internet Tablets (Nokia 770, N800, N810).  It looks great and has a lot of power in the OS (Linux/Maemo) and the hardware.  The Internet Tablet community must be really excited!</p>
<p>PAX, Penny-Arcade&#8217;s SOLD-OUT Video Game and Geekery convention (which started yesterday) <a href="http://www.penny-arcade.com/2009/9/4/#1252085460">just added 1,000 tickets</a>.</p>
<p>Alex King spent some time these past few weeks trying to figure out which Network and BlackBerry Phone to use.  He wanted to use a BlackBerry Bold, but ended up with a Tour on Verizon.  His story is full of the idiosyncrasies of various carriers and devices.  <a href="http://alexking.org/blog/2009/08/29/device-vs-network">Part one</a>.  <a href="http://alexking.org/blog/2009/09/04/the-network-wins">Part two</a>.</p>
<p><a href="http://www.bigcontrarian.com/2009/09/04/tagged/">Jack Shedd has some things to say about HTML 5</a>.  If you are watching the HTML 5 changes closely, Jack&#8217;s sentiments will likely resonate with you, including the frustration AND the respect for the team.</p>
<p><a href="http://lifehacker.com/5351485/how-to-build-a-hackintosh-with-snow-leopard-start-to-finish">Lifehacker has an article on creating a Snow Leopard Hackintosh for $900</a> (plus the price of <a href="http://store.apple.com/us/product/MACBOX-101801?mco=Nzk2MTEyNA">Snow Leopard standalone</a> which is $169).  I&#8217;d be interested in seeing a $500 model.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/jtokash.wordpress.com/1149/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/jtokash.wordpress.com/1149/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/jtokash.wordpress.com/1149/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/jtokash.wordpress.com/1149/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/jtokash.wordpress.com/1149/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/jtokash.wordpress.com/1149/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/jtokash.wordpress.com/1149/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/jtokash.wordpress.com/1149/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/jtokash.wordpress.com/1149/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/jtokash.wordpress.com/1149/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.tokash.org&blog=5645961&post=1149&subd=jtokash&ref=&feed=1" />]]></content:encoded>
			<wfw:commentRss>http://blog.tokash.org/2009/09/05/found/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/354d1476e5d731f3f0bc065a7e5e1aae?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">jtokash</media:title>
		</media:content>
	</item>
		<item>
		<title>CSS 3D Demos</title>
		<link>http://blog.tokash.org/2009/07/18/css-3d-demos/</link>
		<comments>http://blog.tokash.org/2009/07/18/css-3d-demos/#comments</comments>
		<pubDate>Sun, 19 Jul 2009 07:20:00 +0000</pubDate>
		<dc:creator>jtokash</dc:creator>
				<category><![CDATA[Browsers]]></category>
		<category><![CDATA[Coding]]></category>

		<guid isPermaLink="false">http://blog.tokash.org/?p=1141</guid>
		<description><![CDATA[I&#8217;m looking forward to the rollout of CSS 3D to modern desktop web browsers (and, hopefully, mobile web browsers). This demo (clearly inspired by Cooliris) shows an interactive HTML document being manipulated in 3D. Simon Fraser has a detailed explanation of CSS 3D&#8217;s capabilities. And here is a video showing off CSS 3D Rotation. Very [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.tokash.org&blog=5645961&post=1141&subd=jtokash&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m looking forward to the rollout of CSS 3D to modern desktop web browsers (and, hopefully, mobile web browsers).</p>
<p>This demo (clearly inspired by <a href="http://www.cooliris.com/">Cooliris</a>) shows an interactive HTML document being manipulated in 3D.</p>
<p><span style="text-align:center; display: block;"><a href="http://blog.tokash.org/2009/07/18/css-3d-demos/"><img src="http://img.youtube.com/vi/3R6sb4NO25E/2.jpg" alt="" /></a></span></p>
<p>Simon Fraser has a <a href="http://webkit.org/blog/386/3d-transforms/">detailed explanation of CSS 3D&#8217;s capabilities</a>.</p>
<p>And here is a <a href="http://cdn.ryanparman.com/videos/safari_imagefly.mp4">video</a> showing off CSS 3D Rotation.</p>
<p>Very cool stuff!</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/jtokash.wordpress.com/1141/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/jtokash.wordpress.com/1141/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/jtokash.wordpress.com/1141/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/jtokash.wordpress.com/1141/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/jtokash.wordpress.com/1141/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/jtokash.wordpress.com/1141/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/jtokash.wordpress.com/1141/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/jtokash.wordpress.com/1141/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/jtokash.wordpress.com/1141/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/jtokash.wordpress.com/1141/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.tokash.org&blog=5645961&post=1141&subd=jtokash&ref=&feed=1" />]]></content:encoded>
			<wfw:commentRss>http://blog.tokash.org/2009/07/18/css-3d-demos/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
<enclosure url="http://cdn.ryanparman.com/videos/safari_imagefly.mp4" length="6097309" type="video/mp4" />
	
		<media:content url="http://1.gravatar.com/avatar/354d1476e5d731f3f0bc065a7e5e1aae?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">jtokash</media:title>
		</media:content>

		<media:content url="http://img.youtube.com/vi/3R6sb4NO25E/2.jpg" medium="image" />
	</item>
		<item>
		<title>Python + OS X + Arduino + BlinkM</title>
		<link>http://blog.tokash.org/2009/03/23/python-os-x-arduino-blinkm/</link>
		<comments>http://blog.tokash.org/2009/03/23/python-os-x-arduino-blinkm/#comments</comments>
		<pubDate>Tue, 24 Mar 2009 04:09:29 +0000</pubDate>
		<dc:creator>jtokash</dc:creator>
				<category><![CDATA[Coding]]></category>
		<category><![CDATA[Gadgets]]></category>
		<category><![CDATA[Make]]></category>

		<guid isPermaLink="false">http://blog.tokash.org/?p=1123</guid>
		<description><![CDATA[I have a bunch of BlinkMs and an Arduino from an old project and I spent some time with them this weekend. This time, I used Python on a Mac to connect. I learned a little in the process, so I thought I&#8217;d share. 1. I used darwinports&#8216; Python2.4 and the pyserial library. 2. On [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.tokash.org&blog=5645961&post=1123&subd=jtokash&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<p>I have a bunch of <a href="http://thingm.com/products/blinkm">BlinkM</a>s and an <a href="http://www.arduino.cc/">Arduino</a> from an old project and I spent some time with them this weekend.  This time, I used Python on a Mac to connect.  I learned a little in the process, so I thought I&#8217;d share.</p>
<p>1. I used <a href="http://darwinports.com/">darwinports</a>&#8216; Python2.4 and the <a href="http://pyserial.wiki.sourceforge.net/pySerial">pyserial</a> library.<br />
2. On the Arduino, I flashed the BlinkMCommunicator code available <a href="http://thingm.com/fileadmin/thingm/downloads/BlinkM_Examples.zip">here</a>.<br />
3. When writing to the BlinkM&#8217;s eeprom, you need to pause briefly before sending another command.<br />
4. The attached code uses decode(&#8220;hex&#8221;).  I&#8217;ll explain that design choice later.<br />
5. The code assumes you have 3 BlinkM&#8217;s hooked up to the Arduino with their addresses set as 1, 2 and 3.</p>
<pre>
import serial
import time

def toBlinkM (ser, command):
	print "&gt;\t Sending "+command
	ser.write(command.decode("hex"))
	print "&gt;\t\t Sent "+command

def setBlinkMToPlaySimpleScript (ser, address, color1, color2, color3, color4, duration, fadespeed):
	# example: write line 0 of script 0 on BlinkM 1
	# 	01	Start code
	#	01	BlinkM address
	#	08	bytes to send
	#	00	bytes to receive
	#	57	command: write line
	#	00	script number
	#	00	line number
	#	20	duration
	#	63	fade
	#	20	R
	#	20	G
	#	00	B

	print ("&gt; Playing Simple Script on "+address)

	toBlinkM(ser, "01"+address+"0800570000"+duration+"63"+color1)
	time.sleep (.2)
	toBlinkM(ser, "01"+address+"0800570001"+duration+"63"+color2)
	time.sleep (.2)
	toBlinkM(ser, "01"+address+"0800570002"+duration+"63"+color3)
	time.sleep (.2)
	toBlinkM(ser, "01"+address+"0800570003"+duration+"63"+color4)
	time.sleep (.2)
	# last line: play script 0 1 time
	toBlinkM(ser, "01"+address+"0800570004"+"00"+"70"+"000100")
	time.sleep (.2)

	# set script id 0 to a len. of 5, 1 repeats
	toBlinkM(ser, "01"+address+"04004C000501")
	time.sleep (.2)

	# set fade speed
	toBlinkM(ser, "01"+address+"020066"+fadespeed)
	time.sleep (.2)

	# play script id 0
	toBlinkM(ser, "01"+address+"040070008000")
	time.sleep (.2)

ser = serial.Serial('/dev/tty.usbserial-A4001lcU',19200, timeout=1)

counter = 0

print "&gt; Waiting for Arduino."

while 1:
	serialline = ser.readline()
	if (serialline):
		print serialline.strip()
	if ('ready' in serialline):
		break

print "&gt; Arduino ready."

# tell #1 to stop animating
toBlinkM(ser, "010101006f")

# tell #1 to show only green and red at 1 bright
toBlinkM(ser, "0101040063010100")

# tell #2 to stop animating
toBlinkM(ser, "010201006f")

# tell #2 to show only blue and green at 1 bright
toBlinkM(ser, "0102040063000101")

# tell #3 to stop animating
toBlinkM(ser, "010301006f")

# tell #3 to show only red at 3 bright
toBlinkM(ser, "0103040063030000")

time.sleep (10)

setBlinkMToPlaySimpleScript(ser,"01","404040","FF0000","0000FF","FF0000","05","10")
setBlinkMToPlaySimpleScript(ser,"02","400000","FF0000","800000","FF0000","05","10")
setBlinkMToPlaySimpleScript(ser,"03","000000","FF0000","000000","FF0000","20","10")
</pre>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/jtokash.wordpress.com/1123/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/jtokash.wordpress.com/1123/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/jtokash.wordpress.com/1123/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/jtokash.wordpress.com/1123/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/jtokash.wordpress.com/1123/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/jtokash.wordpress.com/1123/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/jtokash.wordpress.com/1123/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/jtokash.wordpress.com/1123/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/jtokash.wordpress.com/1123/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/jtokash.wordpress.com/1123/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.tokash.org&blog=5645961&post=1123&subd=jtokash&ref=&feed=1" />]]></content:encoded>
			<wfw:commentRss>http://blog.tokash.org/2009/03/23/python-os-x-arduino-blinkm/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/354d1476e5d731f3f0bc065a7e5e1aae?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">jtokash</media:title>
		</media:content>
	</item>
		<item>
		<title>A Happy Accident</title>
		<link>http://blog.tokash.org/2009/02/28/a-happy-accident/</link>
		<comments>http://blog.tokash.org/2009/02/28/a-happy-accident/#comments</comments>
		<pubDate>Sun, 01 Mar 2009 01:02:11 +0000</pubDate>
		<dc:creator>jtokash</dc:creator>
				<category><![CDATA[Coding]]></category>
		<category><![CDATA[Visualization]]></category>

		<guid isPermaLink="false">http://blog.tokash.org/?p=1108</guid>
		<description><![CDATA[While working on a new Ajax Indicator, my code accidentally generated this. Pretty cool!<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.tokash.org&blog=5645961&post=1108&subd=jtokash&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<p>While working on a new Ajax Indicator, my code accidentally generated this.  Pretty cool!<br />
<img src="http://jtokash.files.wordpress.com/2009/02/ajaxindicator.png?w=500&#038;h=500" alt="ajaxindicator" title="ajaxindicator" width="500" height="500" class="aligncenter size-full wp-image-1107" /></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/jtokash.wordpress.com/1108/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/jtokash.wordpress.com/1108/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/jtokash.wordpress.com/1108/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/jtokash.wordpress.com/1108/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/jtokash.wordpress.com/1108/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/jtokash.wordpress.com/1108/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/jtokash.wordpress.com/1108/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/jtokash.wordpress.com/1108/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/jtokash.wordpress.com/1108/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/jtokash.wordpress.com/1108/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.tokash.org&blog=5645961&post=1108&subd=jtokash&ref=&feed=1" />]]></content:encoded>
			<wfw:commentRss>http://blog.tokash.org/2009/02/28/a-happy-accident/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/354d1476e5d731f3f0bc065a7e5e1aae?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">jtokash</media:title>
		</media:content>

		<media:content url="http://jtokash.files.wordpress.com/2009/02/ajaxindicator.png" medium="image">
			<media:title type="html">ajaxindicator</media:title>
		</media:content>
	</item>
		<item>
		<title>iPhone Accelerometer Code</title>
		<link>http://blog.tokash.org/2007/09/04/iphone-accelerometer-code/</link>
		<comments>http://blog.tokash.org/2007/09/04/iphone-accelerometer-code/#comments</comments>
		<pubDate>Wed, 05 Sep 2007 06:26:38 +0000</pubDate>
		<dc:creator>jtokash</dc:creator>
				<category><![CDATA[Apple]]></category>
		<category><![CDATA[Coding]]></category>
		<category><![CDATA[Mobile]]></category>

		<guid isPermaLink="false">http://blog.tokash.org/2007/09/04/iphone-accelerometer-code/</guid>
		<description><![CDATA[As I mentioned in the comments over here, getting UIKit to give your app Accelerometer data is pretty straightforward. Here&#8217;s my sample code that combines the accelerometer howto from the standard iphone hello world app and Erica&#8217;s slider howto. Note: Kroo from IRC warns that this technique will only work if the app is launched [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.tokash.org&blog=5645961&post=899&subd=jtokash&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<p>As I mentioned in the <a href="http://blog.medallia.com/2007/08/fun_with_the_iphone_accelerome.html#comment-2613">comments over here</a>, getting UIKit to give your app Accelerometer data is pretty straightforward.  Here&#8217;s my <a href="http://www.tokash.org/iphone/AccTestSliders.zip">sample code</a> that combines the accelerometer howto from the standard iphone hello world app and <a href="http://www.tuaw.com/2007/09/04/iphone-coding-using-the-slider/">Erica&#8217;s slider howto</a>.</p>
<p>Note: Kroo from IRC warns that this technique will only work if the app is launched from launcher or the springboard.</p>
<p>Also: Drunknbass found that you may have to restart springboard before it will work.</p>
<p>And: <a href="http://blog.medallia.com/2007/08/iphone_accelerometer_source_co.html">Check out Erling&#8217;s code</a> if you want a faster sample rate.</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/jtokash.wordpress.com/899/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/jtokash.wordpress.com/899/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/jtokash.wordpress.com/899/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/jtokash.wordpress.com/899/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/jtokash.wordpress.com/899/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/jtokash.wordpress.com/899/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/jtokash.wordpress.com/899/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/jtokash.wordpress.com/899/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/jtokash.wordpress.com/899/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/jtokash.wordpress.com/899/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/jtokash.wordpress.com/899/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/jtokash.wordpress.com/899/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.tokash.org&blog=5645961&post=899&subd=jtokash&ref=&feed=1" />]]></content:encoded>
			<wfw:commentRss>http://blog.tokash.org/2007/09/04/iphone-accelerometer-code/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/354d1476e5d731f3f0bc065a7e5e1aae?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">jtokash</media:title>
		</media:content>
	</item>
		<item>
		<title>iPhone Dev</title>
		<link>http://blog.tokash.org/2007/08/25/iphone-dev/</link>
		<comments>http://blog.tokash.org/2007/08/25/iphone-dev/#comments</comments>
		<pubDate>Sat, 25 Aug 2007 18:57:35 +0000</pubDate>
		<dc:creator>jtokash</dc:creator>
				<category><![CDATA[Apple]]></category>
		<category><![CDATA[Coding]]></category>
		<category><![CDATA[Mobile]]></category>

		<guid isPermaLink="false">http://blog.tokash.org/2007/08/25/iphone-dev/</guid>
		<description><![CDATA[I&#8217;ve been playing around with the iPhone toolchain. The first project I&#8217;m working on is something I need (an Exchange client), but I&#8217;d like to make something fun afterwards. For inspiration, I&#8217;ve been looking at the old Nokia Concept Videos.<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.tokash.org&blog=5645961&post=893&subd=jtokash&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been playing around with the iPhone toolchain.  The first project I&#8217;m working on is something I need (an Exchange client), but I&#8217;d like to make something fun afterwards.  For inspiration, I&#8217;ve been looking at the old <a href="http://blog.tokash.org/2007/01/19/four-great-nokia-concept-videos/">Nokia Concept Videos</a>.</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/jtokash.wordpress.com/893/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/jtokash.wordpress.com/893/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/jtokash.wordpress.com/893/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/jtokash.wordpress.com/893/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/jtokash.wordpress.com/893/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/jtokash.wordpress.com/893/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/jtokash.wordpress.com/893/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/jtokash.wordpress.com/893/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/jtokash.wordpress.com/893/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/jtokash.wordpress.com/893/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/jtokash.wordpress.com/893/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/jtokash.wordpress.com/893/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.tokash.org&blog=5645961&post=893&subd=jtokash&ref=&feed=1" />]]></content:encoded>
			<wfw:commentRss>http://blog.tokash.org/2007/08/25/iphone-dev/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/354d1476e5d731f3f0bc065a7e5e1aae?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">jtokash</media:title>
		</media:content>
	</item>
		<item>
		<title>Google Gears Podcasts</title>
		<link>http://blog.tokash.org/2007/06/10/google-gears-podcasts/</link>
		<comments>http://blog.tokash.org/2007/06/10/google-gears-podcasts/#comments</comments>
		<pubDate>Sun, 10 Jun 2007 18:19:05 +0000</pubDate>
		<dc:creator>jtokash</dc:creator>
				<category><![CDATA[Coding]]></category>
		<category><![CDATA[Google]]></category>

		<guid isPermaLink="false">http://blog.tokash.org/2007/06/10/google-gears-podcasts/</guid>
		<description><![CDATA[These two podcasts provide great background on the new Google Gears (AJAX apps, offline) project. The first, with Brad Neuberg (THE expert in the field of offline AJAX), covers the basics and discusses the connection between Dojo&#8217;s offline functionality and Gears. The second, with Mike Tsao, covers the short history of Gears development and gives [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.tokash.org&blog=5645961&post=886&subd=jtokash&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<p>These two podcasts provide great background on the new Google Gears (AJAX apps, offline) project.  The <a href="http://ajaxian.com/archives/audible-ajax-episode-21-dojo-offline-on-google-gears">first</a>, with Brad Neuberg (THE expert in the field of offline AJAX), covers the basics and discusses the connection between Dojo&#8217;s offline functionality and Gears.  The <a href="http://google-code-updates.blogspot.com/2007/06/google-developer-podcast-episode-three.html">second</a>, with Mike Tsao, covers the short history of Gears development and gives a great technical overview.</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/jtokash.wordpress.com/886/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/jtokash.wordpress.com/886/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/jtokash.wordpress.com/886/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/jtokash.wordpress.com/886/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/jtokash.wordpress.com/886/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/jtokash.wordpress.com/886/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/jtokash.wordpress.com/886/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/jtokash.wordpress.com/886/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/jtokash.wordpress.com/886/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/jtokash.wordpress.com/886/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/jtokash.wordpress.com/886/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/jtokash.wordpress.com/886/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.tokash.org&blog=5645961&post=886&subd=jtokash&ref=&feed=1" />]]></content:encoded>
			<wfw:commentRss>http://blog.tokash.org/2007/06/10/google-gears-podcasts/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/354d1476e5d731f3f0bc065a7e5e1aae?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">jtokash</media:title>
		</media:content>
	</item>
		<item>
		<title>Firebug video</title>
		<link>http://blog.tokash.org/2007/02/11/firebug-video/</link>
		<comments>http://blog.tokash.org/2007/02/11/firebug-video/#comments</comments>
		<pubDate>Mon, 12 Feb 2007 02:01:11 +0000</pubDate>
		<dc:creator>jtokash</dc:creator>
				<category><![CDATA[Coding]]></category>

		<guid isPermaLink="false">http://blog.tokash.org/2007/02/11/firebug-video/</guid>
		<description><![CDATA[Joe Hewitt demos firebug. If you&#8217;ve been using firebug a lot, this will mostly be a review, but I saw several things I hadn&#8217;t noticed before: calling console.profile in your javascript to turn on the profiler for specific regions of code, rather than the bazooka style profiling that the profile button gives you. There is [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.tokash.org&blog=5645961&post=861&subd=jtokash&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<p><a href="http://ajaxian.com/archives/joe-hewitt-firebug-power-user-demo">Joe Hewitt demos firebug</a>.  If you&#8217;ve been using firebug a lot, this will mostly be a review, but I saw several things I hadn&#8217;t noticed before:</p>
<ul>
<li>calling console.profile in your javascript to turn on the profiler for specific regions of code, rather than the bazooka style profiling that the profile button gives you.</li>
<li>There is a &#8220;log all calls to&#8221; option in the right click menu when you are inside a function definition in the script tab.  Params are logged!  If you want to log the stack traces, use console.trace.</li>
<li>I use the box model display often, but I didn&#8217;t notice before that rulers are added to your page when you mouse-over the box.  Nice.</li>
<li>When you are editing an attribute in the HTML or the CSS edit modes, you can use cursor keys to increase or decrease dimensions.</li>
<li>Documentation for the firebug API is coming soon!</li>
<li>Ctrl-Click while debugging will &#8220;run to the clicked line&#8221;.</li>
<li>When you are in the DOM tab, the variables you added to the name space are in bold at the top&#8230; handy.</li>
<li>When you paste multi-line text into the console&#8217;s command line, you get a larger text area to enter your code.</li>
<li>The copy button in that larger javascript area mushes together the current javascript into a string suitable for bookmarklets.</li>
</ul>
<p>Questions:</p>
<p>When will Javascript be directly editable in Firebug?</p>
<p>When will Javascript have syntax highlighting?</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/jtokash.wordpress.com/861/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/jtokash.wordpress.com/861/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/jtokash.wordpress.com/861/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/jtokash.wordpress.com/861/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/jtokash.wordpress.com/861/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/jtokash.wordpress.com/861/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/jtokash.wordpress.com/861/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/jtokash.wordpress.com/861/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/jtokash.wordpress.com/861/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/jtokash.wordpress.com/861/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/jtokash.wordpress.com/861/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/jtokash.wordpress.com/861/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.tokash.org&blog=5645961&post=861&subd=jtokash&ref=&feed=1" />]]></content:encoded>
			<wfw:commentRss>http://blog.tokash.org/2007/02/11/firebug-video/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/354d1476e5d731f3f0bc065a7e5e1aae?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">jtokash</media:title>
		</media:content>
	</item>
		<item>
		<title>Firebug 1.0 beta</title>
		<link>http://blog.tokash.org/2006/12/04/firebug-10-beta/</link>
		<comments>http://blog.tokash.org/2006/12/04/firebug-10-beta/#comments</comments>
		<pubDate>Mon, 04 Dec 2006 20:33:29 +0000</pubDate>
		<dc:creator>jtokash</dc:creator>
				<category><![CDATA[Coding]]></category>

		<guid isPermaLink="false">http://blog.tokash.org/2006/12/04/firebug-10-beta/</guid>
		<description><![CDATA[The new version of Firebug is awesome. Joe revved it to 1.0 beta and there are a ton of new features and lots of nice improvements. If you write or debug Javascript (AJAX include), CSS, or HTML, Firebug is a must. I can&#8217;t find the release notes, but here&#8217;s a list of what I think [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.tokash.org&blog=5645961&post=788&subd=jtokash&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<p>The <a href="http://www.getfirebug.com/">new version of Firebug</a> is awesome.  Joe revved it to <a href="http://www.getfirebug.com/blog/?p=7">1.0 beta</a> and there are a ton of new features and lots of nice improvements.  If you write or debug Javascript (AJAX include), CSS,  or HTML, Firebug is a must.  I can&#8217;t find the release notes, but here&#8217;s a list of what I think is new after a few minutes of testing:</p>
<ul>
<li>New font (smaller and more readable)</li>
<li>The breadcrumb of the selected dom item (during inspection) is now interactive.  You can highlight and select any ancestor of the currently selected item.</li>
<li>The inspected item now has a graphical depiction of its box model (&#8216;layout&#8217; in the right pane).</li>
<li>All CSS lines in the CSS tab and the Style tab of the inspected item can now be toggled on and off just by clicking them.</li>
<li>Editing the CSS and HTML now seems smoother somehow &#8211; before the feedback didn&#8217;t seem as immediate.</li>
<li>The net tab gives a graphical representation of requests to the server.  And it&#8217;s not just XMLHTTPRequests anymore &#8211; it&#8217;s everything.</li>
<li>You can turn firebug on for one site only, now, rather than for everything.  Nice.</li>
</ul>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/jtokash.wordpress.com/788/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/jtokash.wordpress.com/788/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/jtokash.wordpress.com/788/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/jtokash.wordpress.com/788/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/jtokash.wordpress.com/788/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/jtokash.wordpress.com/788/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/jtokash.wordpress.com/788/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/jtokash.wordpress.com/788/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/jtokash.wordpress.com/788/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/jtokash.wordpress.com/788/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/jtokash.wordpress.com/788/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/jtokash.wordpress.com/788/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.tokash.org&blog=5645961&post=788&subd=jtokash&ref=&feed=1" />]]></content:encoded>
			<wfw:commentRss>http://blog.tokash.org/2006/12/04/firebug-10-beta/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/354d1476e5d731f3f0bc065a7e5e1aae?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">jtokash</media:title>
		</media:content>
	</item>
		<item>
		<title>Adobe Kuler &#8211; Find and create great color schemes!</title>
		<link>http://blog.tokash.org/2006/12/03/adobe-kuler-find-and-create-great-color-schemes/</link>
		<comments>http://blog.tokash.org/2006/12/03/adobe-kuler-find-and-create-great-color-schemes/#comments</comments>
		<pubDate>Sun, 03 Dec 2006 09:13:58 +0000</pubDate>
		<dc:creator>jtokash</dc:creator>
				<category><![CDATA[Coding]]></category>
		<category><![CDATA[Web]]></category>

		<guid isPermaLink="false">http://blog.tokash.org/2006/12/03/adobe-kuler-find-and-create-great-color-schemes/</guid>
		<description><![CDATA[Greg is right! Adobe Kuler is excellent and a lot of fun! The comments in the lifehacker post on the subject are filled with other color scheme apps, too!<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.tokash.org&blog=5645961&post=785&subd=jtokash&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<p><a href="http://greghaspants.wordpress.com/2006/12/02/adobe-kuler/">Greg is right!</a>  <a href="http://kuler.adobe.com/">Adobe Kuler</a> is excellent and a lot of fun!  The comments in the <a href="http://www.lifehacker.com/software/design/create-color-themes-with-adobe-kuler-218179.php">lifehacker post</a> on the subject are filled with other color scheme apps, too!</p>
<p><img src="http://media.tokash.org/blog/2006/12/adobekuler.jpg" alt="Screenshot of Adobe Kuler Color Scheme Editor" /></p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/jtokash.wordpress.com/785/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/jtokash.wordpress.com/785/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/jtokash.wordpress.com/785/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/jtokash.wordpress.com/785/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/jtokash.wordpress.com/785/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/jtokash.wordpress.com/785/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/jtokash.wordpress.com/785/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/jtokash.wordpress.com/785/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/jtokash.wordpress.com/785/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/jtokash.wordpress.com/785/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/jtokash.wordpress.com/785/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/jtokash.wordpress.com/785/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.tokash.org&blog=5645961&post=785&subd=jtokash&ref=&feed=1" />]]></content:encoded>
			<wfw:commentRss>http://blog.tokash.org/2006/12/03/adobe-kuler-find-and-create-great-color-schemes/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/354d1476e5d731f3f0bc065a7e5e1aae?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">jtokash</media:title>
		</media:content>

		<media:content url="http://media.tokash.org/blog/2006/12/adobekuler.jpg" medium="image">
			<media:title type="html">Screenshot of Adobe Kuler Color Scheme Editor</media:title>
		</media:content>
	</item>
	</channel>
</rss>