<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">

  <title><![CDATA[Greg Hewett's Blog]]></title>
  <link href="http://www.strand3.com/atom.xml" rel="self"/>
  <link href="http://www.strand3.com/"/>
  <updated>2012-01-24T17:24:59-06:00</updated>
  <id>http://www.strand3.com/</id>
  <author>
    <name><![CDATA[Greg Hewett]]></name>
    
  </author>
  <generator uri="http://octopress.org/">Octopress</generator>

  
  <entry>
    <title type="html"><![CDATA[Uwezo Brands]]></title>
    <link href="http://www.strand3.com/blog/2011/11/15/uwezo-brands/"/>
    <updated>2011-11-15T00:00:00-06:00</updated>
    <id>http://www.strand3.com/blog/2011/11/15/uwezo-brands</id>
    <content type="html"><![CDATA[<p><img src="http://www.strand3.com/images/2011/11/uwezo_brands_screenshot.png" alt="Uwezo Brands" /></p>

<p>At <a href="http://www.dibcreative.com">dib creative</a> we recently were give the opportunity to work with <a href="http://www.thesparkfarm.com">Spark Farm</a> and <a href="http://www.swoonthestudio.com">Swoon</a> on bring a new brand online.</p>

<blockquote><p>Uwezo generates scholarship funds for Empower African Children and opportunity for East Africans by reinvesting its revenues in Africa.</p></blockquote>

<p>Check it out and go buy some shoes.</p>

<p><a href="http://www.uwezobrands.com">Uwezo Brands</a></p>
]]></content>
  </entry>
  
  <entry>
    <title type="html"><![CDATA[Pandora is what I want.]]></title>
    <link href="http://www.strand3.com/blog/2011/11/11/pandora/"/>
    <updated>2011-11-11T00:00:00-06:00</updated>
    <id>http://www.strand3.com/blog/2011/11/11/pandora</id>
    <content type="html"><![CDATA[<p><img src="http://www.strand3.com/images/2011/11/pandora_screenshot.png" alt="Pandora" /></p>

<p>I have had the free version of <a href="http://pandora.com">Pandora</a> for years, and I just upgrade to the paid account.  This happened just as so many options are starting to pop up and compete for my digital music listening habits.</p>

<p>Pandora is the right one for a couple of reasons.</p>

<ol>
<li>I am too old to know what is current or new.  <a href="http://pandora.com">Pandora</a> gives me the opportunity to explore the genres that I am interested in.</li>
<li>Some call the music that I typically listen to monotonous (electronic, jazz), but if I hear the same songs over and over, I get distracted. There always a new station on Pandora.</li>
<li>I usually listen to music while I am working, so having something fresh in my iTunes everyday will get really expensive.  Pandora is quite affordable.</li>
<li>iPhone, iPad, and AirPlay.</li>
</ol>

]]></content>
  </entry>
  
  <entry>
    <title type="html"><![CDATA[Land Rover Series III]]></title>
    <link href="http://www.strand3.com/blog/2011/11/11/land-rover-series-iii/"/>
    <updated>2011-11-11T00:00:00-06:00</updated>
    <id>http://www.strand3.com/blog/2011/11/11/land-rover-series-iii</id>
    <content type="html"><![CDATA[<p><img src="http://www.strand3.com/images/2011/11/land_rover_photo.png" alt="Land Rover Series III" /></p>

<p>This is the new dib creative toy (actually Clay&#8217;s toy). I need to figure out what to call it. 1980 Land Rover is all I know. It is very utilitarian, but in an awesome way.</p>
]]></content>
  </entry>
  
  <entry>
    <title type="html"><![CDATA[deck.js » Modern HTML Presentations]]></title>
    <link href="http://www.strand3.com/blog/2011/10/19/deck-js-modern-html-presentations/"/>
    <updated>2011-10-19T14:30:00-05:00</updated>
    <id>http://www.strand3.com/blog/2011/10/19/deck-js-modern-html-presentations</id>
    <content type="html"><![CDATA[<p><a href="http://imakewebthings.github.com/deck.js/">http://imakewebthings.github.com/deck.js/</a></p>
]]></content>
  </entry>
  
  <entry>
    <title type="html"><![CDATA[VimRoom]]></title>
    <link href="http://www.strand3.com/blog/2011/10/10/vimroom/"/>
    <updated>2011-10-10T10:08:00-05:00</updated>
    <id>http://www.strand3.com/blog/2011/10/10/vimroom</id>
    <content type="html"><![CDATA[<p><a href="http://projects.mikewest.org/vimroom/">http://projects.mikewest.org/vimroom/</a></p>

<p>Cool vim plugin for distraction-free editing</p>
]]></content>
  </entry>
  
  <entry>
    <title type="html"><![CDATA[Heroku "Celadon Cedar" review]]></title>
    <link href="http://www.strand3.com/blog/2011/10/08/heroku-celadon-cedar-review/"/>
    <updated>2011-10-08T14:28:00-05:00</updated>
    <id>http://www.strand3.com/blog/2011/10/08/heroku-celadon-cedar-review</id>
    <content type="html"><![CDATA[<p><a href="http://www.randomhacks.net/articles/2011/06/03/heroku-celadon-cedar-review">http://www.randomhacks.net/articles/2011/06/03/heroku-celadon-cedar-review</a></p>

<p>This seems to be a good write up for understanding some of the components of the Cedar stack from Heroku.</p>
]]></content>
  </entry>
  
  <entry>
    <title type="html"><![CDATA[Rack::Cache]]></title>
    <link href="http://www.strand3.com/blog/2011/10/08/rack-cache/"/>
    <updated>2011-10-08T14:27:00-05:00</updated>
    <id>http://www.strand3.com/blog/2011/10/08/rack-cache</id>
    <content type="html"><![CDATA[<p><a href="http://rtomayko.github.com/rack-cache/">http://rtomayko.github.com/rack-cache/</a></p>

<p>When using Heroku Cedar stack, we have to use this to get the caching we need for a fast web application.</p>
]]></content>
  </entry>
  
  <entry>
    <title type="html"><![CDATA[Map Icon Collection]]></title>
    <link href="http://www.strand3.com/blog/2011/09/27/map-icon-collection/"/>
    <updated>2011-09-27T09:17:00-05:00</updated>
    <id>http://www.strand3.com/blog/2011/09/27/map-icon-collection</id>
    <content type="html"><![CDATA[<p><a href="http://mapicons.nicolasmollet.com/">http://mapicons.nicolasmollet.com/</a></p>
]]></content>
  </entry>
  
  <entry>
    <title type="html"><![CDATA[Migrating Redmine from MySQL to PostgreSQL]]></title>
    <link href="http://www.strand3.com/blog/2011/09/15/migrating-redmine-from-mysql-to-postgresql/"/>
    <updated>2011-09-15T16:39:00-05:00</updated>
    <id>http://www.strand3.com/blog/2011/09/15/migrating-redmine-from-mysql-to-postgresql</id>
    <content type="html"><![CDATA[<p>First of all, I think that <a href="">taps</a> is one of the best tools to have in your pocket if you are doing anything with databases.</p>

<p>  PGError: ERROR:  invalid byte sequence for encoding &#8220;UTF8&#8221;: 0x95
  PGError: ERROR:  invalid byte sequence for encoding &#8220;UTF8&#8221;: 0x92</p>

<p>~~~ruby</p>

<h1>!/usr/bin/ruby</h1>

<p>require &#8216;rubygems&#8217;
require &#8216;mysql&#8217;</p>

<p>my = Mysql::new(&#8220;127.0.0.1&#8221;, &#8220;redmine&#8221;, &#8220;froUc6oagoaQiuwi1T&#8221;, &#8220;redmine_production&#8221;)
res = my.query(&#8220;select id, description from issues order by id&#8221;)
puts &#8220;=&#8221;*80
res.each do |row|
  if !row[1].scan(/\x92/).empty?</p>

<pre><code>puts "#{row[0]}"
puts "#{row[1]}"
</code></pre>

<p>  end
end
~~~</p>
]]></content>
  </entry>
  
  <entry>
    <title type="html"><![CDATA[TileMill | Home]]></title>
    <link href="http://www.strand3.com/blog/2011/09/13/tilemill-home/"/>
    <updated>2011-09-13T09:35:00-05:00</updated>
    <id>http://www.strand3.com/blog/2011/09/13/tilemill-home</id>
    <content type="html"><![CDATA[<p><a href="http://tilemill.com/pages/index.html">http://tilemill.com/pages/index.html</a></p>

<p>This looks like a great app to try when we want to get really customer design-centric maps going.</p>
]]></content>
  </entry>
  
  <entry>
    <title type="html"><![CDATA[schacon/showoff - GitHub]]></title>
    <link href="http://www.strand3.com/blog/2011/09/09/schacon-showoff-github/"/>
    <updated>2011-09-09T16:25:00-05:00</updated>
    <id>http://www.strand3.com/blog/2011/09/09/schacon-showoff-github</id>
    <content type="html"><![CDATA[<p><a href="https://github.com/schacon/showoff">https://github.com/schacon/showoff</a></p>

<p>Presentation Software</p>
]]></content>
  </entry>
  
  <entry>
    <title type="html"><![CDATA[CodeRay-GitHub-Theme]]></title>
    <link href="http://www.strand3.com/blog/2011/09/08/coderay-github-theme/"/>
    <updated>2011-09-08T09:22:00-05:00</updated>
    <id>http://www.strand3.com/blog/2011/09/08/coderay-github-theme</id>
    <content type="html"><![CDATA[<p><a href="https://github.com/pie4dan/CodeRay-GitHub-Theme/blob/master/coderay.css">https://github.com/pie4dan/CodeRay-GitHub-Theme/blob/master/coderay.css</a></p>
]]></content>
  </entry>
  
  <entry>
    <title type="html"><![CDATA[Using cron to power delayed_job]]></title>
    <link href="http://www.strand3.com/blog/2011/09/06/using-cron-to-power-delayed_job/"/>
    <updated>2011-09-06T21:29:00-05:00</updated>
    <id>http://www.strand3.com/blog/2011/09/06/using-cron-to-power-delayed_job</id>
    <content type="html"><![CDATA[<p>I would not consider myself cheap, but&#8230;</p>

<p>Heroku workers are really expensive for the work that I need to do.  I am setting up a really simple email newsletter for a website.  Sending 100+ emails in the request would not be a smart thing to do, so I am looking at an alternative to using a worker.</p>

<p>The first option looks to be cron.  By cracking open the delayed_job source code, I discover there is a class method that will do exactly what we want to do.  We want to create a command to execute that will process a few jobs then exit.</p>

<p>I create the cron.rake file in <code>/lib/tasks</code> and the contents looks like this:</p>

<p><del>ruby
task :cron => :environment do
  Delayed::Job.work_off(200)
end
</del></p>

<p>The option that is passed to <code>work_off</code> is the maximum number of jobs to process.  When configuring this, remember that Heroku limits cron execution to 30 seconds.  You can do lots of small jobs, like sending email, or you can can do just a few jobs that take more time.</p>
]]></content>
  </entry>
  
  <entry>
    <title type="html"><![CDATA[My bookmarklet for this site]]></title>
    <link href="http://www.strand3.com/blog/2011/09/06/my-bookmarklet-for-this-site/"/>
    <updated>2011-09-06T10:09:00-05:00</updated>
    <id>http://www.strand3.com/blog/2011/09/06/my-bookmarklet-for-this-site</id>
    <content type="html"><![CDATA[<p><a href="javascript:location.href='http://www.greghewett.com/posts/new_from_bookmarklet?title=' + encodeURIComponent(document.title) + '&url=' + encodeURIComponent(location.href);">My Bookmarklet</a></p>
]]></content>
  </entry>
  
  <entry>
    <title type="html"><![CDATA[HireFire - The Heroku Process Manager]]></title>
    <link href="http://www.strand3.com/blog/2011/09/05/hirefire-the-heroku-process-manager/"/>
    <updated>2011-09-05T07:25:00-05:00</updated>
    <id>http://www.strand3.com/blog/2011/09/05/hirefire-the-heroku-process-manager</id>
    <content type="html"><![CDATA[<p><a href="http://hirefireapp.com/">http://hirefireapp.com/</a></p>
]]></content>
  </entry>
  
  <entry>
    <title type="html"><![CDATA[autoscale heroku]]></title>
    <link href="http://www.strand3.com/blog/2011/09/04/autoscale-heroku/"/>
    <updated>2011-09-04T19:05:00-05:00</updated>
    <id>http://www.strand3.com/blog/2011/09/04/autoscale-heroku</id>
    <content type="html"><![CDATA[<p><a href="https://github.com/ddollar/heroku-autoscale">https://github.com/ddollar/heroku-autoscale</a></p>
]]></content>
  </entry>
  
  <entry>
    <title type="html"><![CDATA[Electronics Recycling]]></title>
    <link href="http://www.strand3.com/blog/2011/09/03/electronics-recycling/"/>
    <updated>2011-09-03T11:10:00-05:00</updated>
    <id>http://www.strand3.com/blog/2011/09/03/electronics-recycling</id>
    <content type="html"><![CDATA[<p><a href="http://www.plano.gov/departments/environmental%20services/recycling/electronics/Pages/default.aspx">http://www.plano.gov/departments/environmental%20services/recycling/electronics/Pages/default.aspx</a></p>
]]></content>
  </entry>
  
  <entry>
    <title type="html"><![CDATA[Phone Gap]]></title>
    <link href="http://www.strand3.com/blog/2011/09/02/phone-gap/"/>
    <updated>2011-09-02T14:19:00-05:00</updated>
    <id>http://www.strand3.com/blog/2011/09/02/phone-gap</id>
    <content type="html"><![CDATA[<p><a href="http://www.phonegap.com/">http://www.phonegap.com/</a></p>

<p>SDK for making cross platform mobile applications</p>
]]></content>
  </entry>
  
  <entry>
    <title type="html"><![CDATA[SYNCR]]></title>
    <link href="http://www.strand3.com/blog/2011/08/29/syncr/"/>
    <updated>2011-08-29T12:35:00-05:00</updated>
    <id>http://www.strand3.com/blog/2011/08/29/syncr</id>
    <content type="html"><![CDATA[<p><a href="https://www.syncrhq.com/">https://www.syncrhq.com/</a></p>

<p>This looks like a good site that would help us still use Harvest.</p>
]]></content>
  </entry>
  
  <entry>
    <title type="html"><![CDATA[Bacon Ipsum]]></title>
    <link href="http://www.strand3.com/blog/2011/08/29/bacon-ipsum/"/>
    <updated>2011-08-29T09:56:00-05:00</updated>
    <id>http://www.strand3.com/blog/2011/08/29/bacon-ipsum</id>
    <content type="html"><![CDATA[<p><a href="http://baconipsum.com/">http://baconipsum.com/</a></p>
]]></content>
  </entry>
  
</feed>

