<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/atom10full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><feed xmlns="http://www.w3.org/2005/Atom">
 
 <title>Daniel Jackoway</title>
 
 <link href="http://blog.danieljackoway.com/" />
 <updated>2011-03-19T23:11:19-07:00</updated>
 <id>http://blog.danieljackoway.com/</id>
 <author>
   <name>Daniel Jackoway</name>
   <email>danjdel@gmail.com</email>
 </author>

 
 <atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/atom+xml" href="http://feeds.feedburner.com/jackowayed" /><feedburner:info xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" uri="jackowayed" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><entry>
   <title>RubyConf 2010 Presentation</title>
   <link href="http://blog.danieljackoway.com/rubyconf-2010.html" />
   <updated>2010-11-11T00:00:00-08:00</updated>
   <id>http://blog.danieljackoway.com/rubyconf-2010</id>
   <content type="html">&lt;p&gt;I just spoke about Ruboto at RubyConf.&lt;/p&gt;

&lt;p&gt;Here are the &lt;a href='http://rubyconfx.danieljackoway.com/'&gt;slides&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Useful links:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;a href='http://ruboto.org/'&gt;Ruboto homepage&lt;/a&gt;&lt;/li&gt;

&lt;li&gt;&lt;a href='https://github.com/jackowayed/accelerate'&gt;My sensor demo&lt;/a&gt;&lt;/li&gt;

&lt;li&gt;&lt;a href='https://github.com/technomancy/Garrett'&gt;Garrett&lt;/a&gt; (I used &lt;a href='https://github.com/headius/Garrett'&gt;Charles Nutter&amp;#8217;s fork&lt;/a&gt;)&lt;/li&gt;

&lt;li&gt;&lt;a href='https://github.com/jackowayed/mirah-hello'&gt;My port of the starter Ruboto script to mirah&lt;/a&gt;&lt;/li&gt;

&lt;li&gt;My GitHub and Twitter profiles and my email are in the footer&lt;/li&gt;

&lt;li&gt;The files that &lt;a href='https://github.com/schacon/showoff'&gt;showoff&lt;/a&gt; turned into my slides are &lt;a href='https://github.com/jackowayed/rubyconf2010'&gt;here&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;</content>
 </entry>
 
 <entry>
   <title>Install Redis On Joyent</title>
   <link href="http://blog.danieljackoway.com/install-redis-on-joyent.html" />
   <updated>2010-08-26T00:00:00-07:00</updated>
   <id>http://blog.danieljackoway.com/install-redis-on-joyent</id>
   <content type="html">&lt;p&gt;&lt;strong&gt;UPDATE:&lt;/strong&gt; Redis is now in the package manager. To get it run&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;$ pkgin update
$ pkgin install redis&lt;/code&gt;&lt;/pre&gt;
&lt;hr /&gt;
&lt;p&gt;I&amp;#8217;m playing with Joyent&amp;#8217;s new Node.js Smart Machine in preparation for &lt;a href='http://nodeknockout.com/'&gt;Node Knockout&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;I tried to install redis just by downloading, untarring, and making, but I ran into some issues. Here&amp;#8217;s how I got it to work.&lt;/p&gt;

&lt;h2 id='packages'&gt;Packages&lt;/h2&gt;

&lt;p&gt;I had to install a few things from the package manager to make this work. I installed a few things that I&amp;#8217;m pretty sure are unnecessary, so I think all you should need to do is&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;$ pkgin install gmake-3.81 gcc44-4.4.4&lt;/code&gt;&lt;/pre&gt;

&lt;h2 id='version'&gt;Version&lt;/h2&gt;

&lt;p&gt;The first thing you should know is that &lt;a href='http://github.com/fictorial/redis-node-client'&gt;redis-node-client&lt;/a&gt; requires at least redis 1.3.8. The 2 featured downloads on redis&amp;#8217;s Google code page were 1.2.6 and the rc for 2.0. So I just went for the rc. If you want to use something between 1.3.8 and 2.0rc4, go ahead, but this tutorial will assume you want 2.0rc4.&lt;/p&gt;

&lt;h2 id='install'&gt;Install&lt;/h2&gt;

&lt;p&gt;Alright, time to install Redis.&lt;/p&gt;

&lt;p&gt;SSH into your Joyent box and run&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;$ wget http://code.google.com/p/redis/downloads/detail?name=redis-2.0.0-rc4.tar.gz
$ gtar -xzvf redis-2.0.0-rc4.tar.gz
$ cd redis-2.0.0-rc4
$ CC=`which gcc` gmake&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;And then it should work. &lt;code&gt;gmake test&lt;/code&gt; failed, but it was an issue with the tests themselves, not the Redis install. So then I started a screen session (you&amp;#8217;ll have to install screen), ran&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;$ ./redis-sever&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;in the screen session, switched out of screen, and ran&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;$ ./redis-cli 
redis&amp;gt; set testkey testval
OK
redis&amp;gt; get testkey
&amp;quot;testval&amp;quot;
redis&amp;gt; exit&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;So it at least works to a degree.&lt;/p&gt;

&lt;p&gt;It doesn&amp;#8217;t look like Joyent will let me reset my Smart Machine to try that from scratch and make sure it works, so if anything doesn&amp;#8217;t work, or you know of a better way, comment and I&amp;#8217;ll update the post.&lt;/p&gt;</content>
 </entry>
 
 <entry>
   <title>First Ruboto Release!</title>
   <link href="http://blog.danieljackoway.com/first-ruboto-release.html" />
   <updated>2010-08-25T00:00:00-07:00</updated>
   <id>http://blog.danieljackoway.com/first-ruboto-release</id>
   <content type="html">&lt;p&gt;I finally have a first release of my &lt;a href='http://rubysoc.org/'&gt;Ruby Summer of Code&lt;/a&gt; project, &lt;a href='http://ruboto.org/'&gt;Ruboto&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;Ruboto is Ruby for Android&amp;#8211;the goal is to allow programmers to do everything they could do by writing a Java Android app in Ruby, writing no Java code at all (and hopefully no XML either).&lt;/p&gt;

&lt;p&gt;It doesn&amp;#8217;t quite fit that description yet. You can write Activities, BroadcastReceivers, and Services in Ruby. That&amp;#8217;s all it supports so far, but it should be pretty easy to add other classes. And I haven&amp;#8217;t yet tackled the issue of all of that ugly XML, but that&amp;#8217;s coming soon.&lt;/p&gt;

&lt;p&gt;It&amp;#8217;s super-alpha. I&amp;#8217;ll be shocked if there aren&amp;#8217;t bugs, and I can almost guarantee you that 0.0.2 will not be backwards compatible. So for now, treat this as something to play around with, not something to write production apps with.&lt;/p&gt;

&lt;p&gt;Enough boring you. To install it just run&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;$ gem install ruboto-core&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;Right now, the only docs are the &lt;a href='http://github.com/ruboto/ruboto-core#readme'&gt;README&lt;/a&gt;, but I&amp;#8217;ve made it pretty comprehensive (and long &amp;#8230;).&lt;/p&gt;

&lt;p&gt;A few more random things:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;If you&amp;#8217;re at a loss for how to write scripts, the &lt;a href='http://github.com/ruboto/ruboto-irb/tree/master/assets/demo-scripts/'&gt;demos&lt;/a&gt; are really helpful.&lt;/li&gt;

&lt;li&gt;All ruboto scripts written for the &lt;a href='http://github.com/ruboto/ruboto-irb'&gt;irb&lt;/a&gt; should work. If you find that not to be the case, please let me know.&lt;/li&gt;

&lt;li&gt;It&amp;#8217;s slow. Really slow. Once the app gets started, it&amp;#8217;s fine, but it takes forever for JRuby to get setup because Dalvik&amp;#8217;s reflection libraries are slow. They&amp;#8217;re going to fix that eventually, but we&amp;#8217;ll probably work around it before then.&lt;/li&gt;
&lt;/ul&gt;

&lt;h1 id='next'&gt;Next&lt;/h1&gt;

&lt;p&gt;So this is 0.0.1. What&amp;#8217;s coming up?&lt;/p&gt;

&lt;p&gt;Better docs.&lt;/p&gt;

&lt;p&gt;Better error messages.&lt;/p&gt;

&lt;p&gt;Plugins. So that people can encapsulate common patterns and make scripts simpler.&lt;/p&gt;

&lt;p&gt;Easier configuration. XML sucks. That&amp;#8217;ll be a little tough because I need to preserve the default configuration that Android generates, and I want plugins to be able to generate configuration too. But I&amp;#8217;ll figure it out.&lt;/p&gt;

&lt;p&gt;And then I&amp;#8217;ll write a couple sample apps.&lt;/p&gt;

&lt;p&gt;That should all happen in the next week and a half before RSoC is over. After then, there&amp;#8217;s plenty to do like supporting the rest of the classes, speeding it up, making it perfect, etc.&lt;/p&gt;</content>
 </entry>
 
 
</feed>

