<?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>Jacken&#039;s Blog &#187; Programming</title> <atom:link href="http://www.jackenhack.com/archives/tag/programming/feed/" rel="self" type="application/rss+xml" /><link>http://www.jackenhack.com</link> <description></description> <lastBuildDate>Wed, 08 Feb 2012 01:24:56 +0000</lastBuildDate> <language>en</language> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.3.1</generator> <item><title>My favorite commands in .bash_profile on Mac OS X</title><link>http://www.jackenhack.com/archives/2010/11/24/my-favorite-commands-in-bash_profile-on-mac-os-x/</link> <comments>http://www.jackenhack.com/archives/2010/11/24/my-favorite-commands-in-bash_profile-on-mac-os-x/#comments</comments> <pubDate>Wed, 24 Nov 2010 00:30:58 +0000</pubDate> <dc:creator>Jacken</dc:creator> <category><![CDATA[Macintosh]]></category> <category><![CDATA[Programming]]></category> <category><![CDATA[bash]]></category> <category><![CDATA[mac]]></category> <category><![CDATA[macosx]]></category> <category><![CDATA[terminal]]></category><guid isPermaLink="false">http://www.jackenhack.com/?p=1182</guid> <description><![CDATA[Here&#8217;s some additions to my .bash_profile for making life easier. I especially like that completion now ignores case. Makes navigating the file system so much faster. Givem a spin. export HISTCONTROL=erasedups export HISTSIZE=10000 shopt -s histappend set completion-ignore-case on Tweet]]></description> <content:encoded><![CDATA[<p>Here&#8217;s some additions to my .bash_profile for making life easier. I especially like that completion now ignores case. Makes navigating the file system so much faster. Givem a spin.</p><p><code> export HISTCONTROL=erasedups export HISTSIZE=10000 shopt -s histappend set completion-ignore-case on </code></p><div id="tweetbutton1182" class="tw_button" style=""><a href="http://twitter.com/share?url=http%3A%2F%2Fbit.ly%2FtVDmwz&amp;via=jackenhack&amp;text=My%20favorite%20commands%20in%20.bash_profile%20on%20Mac%20OS%20X&amp;related=jackenhack&amp;lang=en&amp;count=none&amp;counturl=http%3A%2F%2Fwww.jackenhack.com%2Farchives%2F2010%2F11%2F24%2Fmy-favorite-commands-in-bash_profile-on-mac-os-x%2F" class="twitter-share-button"  style="width:55px;height:22px;background:transparent url('http://www.jackenhack.com/wp-content/plugins/wp-tweet-button/tweetn.png') no-repeat  0 0;text-align:left;text-indent:-9999px;display:block;">Tweet</a></div>]]></content:encoded> <wfw:commentRss>http://www.jackenhack.com/archives/2010/11/24/my-favorite-commands-in-bash_profile-on-mac-os-x/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Arduino, a good way for kids to learn how to program</title><link>http://www.jackenhack.com/archives/2010/08/09/arduino-a-good-way-of-learning-kids-to-program/</link> <comments>http://www.jackenhack.com/archives/2010/08/09/arduino-a-good-way-of-learning-kids-to-program/#comments</comments> <pubDate>Mon, 09 Aug 2010 21:34:05 +0000</pubDate> <dc:creator>Jacken</dc:creator> <category><![CDATA[Electronics]]></category> <category><![CDATA[Programming]]></category> <category><![CDATA[arduino]]></category> <category><![CDATA[electronics]]></category><guid isPermaLink="false">http://www.jackenhack.com/?p=1118</guid> <description><![CDATA[My twelve year old son want&#8217;s to learn how to program. My first idea was to teach him Ruby or Python, but I decided to go with Arduino. It&#8217;s C-based so that&#8217;s a good start I think. Were currently planning &#8230; <a href="http://www.jackenhack.com/archives/2010/08/09/arduino-a-good-way-of-learning-kids-to-program/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description> <content:encoded><![CDATA[<p>My twelve year old son want&#8217;s to learn how to program. My first idea was to teach him Ruby or Python, but I decided to go with <a href="http://www.amazon.com/Arduino-Duemilanove-Board-with-ATmega328/dp/B003N01NPU%3FSubscriptionId%3D0PZ7TM66EXQCXFVTMTR2%26tag%3Djacken-20%26linkCode%3Dxm2%26camp%3D2025%26creative%3D165953%26creativeASIN%3DB003N01NPU">Arduino</a>. It&#8217;s C-based so that&#8217;s a good start I think. Were currently planning a couple of projects but so far he&#8217;s managed to get some LED&#8217;s blinking. A good start.</p><div id="tweetbutton1118" class="tw_button" style=""><a href="http://twitter.com/share?url=http%3A%2F%2Fbit.ly%2Fvqz3j1&amp;via=jackenhack&amp;text=Arduino%2C%20a%20good%20way%20for%20kids%20to%20learn%20how%20to%20program&amp;related=jackenhack&amp;lang=en&amp;count=none&amp;counturl=http%3A%2F%2Fwww.jackenhack.com%2Farchives%2F2010%2F08%2F09%2Farduino-a-good-way-of-learning-kids-to-program%2F" class="twitter-share-button"  style="width:55px;height:22px;background:transparent url('http://www.jackenhack.com/wp-content/plugins/wp-tweet-button/tweetn.png') no-repeat  0 0;text-align:left;text-indent:-9999px;display:block;">Tweet</a></div>]]></content:encoded> <wfw:commentRss>http://www.jackenhack.com/archives/2010/08/09/arduino-a-good-way-of-learning-kids-to-program/feed/</wfw:commentRss> <slash:comments>1</slash:comments> </item> <item><title>Rating with stars and why it sucks</title><link>http://www.jackenhack.com/archives/2009/05/02/rating-with-stars-and-why-it-sucks/</link> <comments>http://www.jackenhack.com/archives/2009/05/02/rating-with-stars-and-why-it-sucks/#comments</comments> <pubDate>Sat, 02 May 2009 22:00:37 +0000</pubDate> <dc:creator>Jacken</dc:creator> <category><![CDATA[Programming]]></category><guid isPermaLink="false">http://www.jackenhack.com/blog/archives/2009/05/02/rating-with-stars-and-why-it-sucks/</guid> <description><![CDATA[I&#8217;m been working on an application lately where we need to have some sort of rating. Almost instinctively one thinks of using stars to let the user choose how much they like something. But I soon realized that stars with &#8230; <a href="http://www.jackenhack.com/archives/2009/05/02/rating-with-stars-and-why-it-sucks/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description> <content:encoded><![CDATA[<p>I&#8217;m been working on an application lately where we need to have some sort of rating. Almost instinctively one thinks of using stars to let the user choose how much they like something. But I soon realized that stars with 1-5 rating does not work. Well, let me elaborate, it does not work like a scale. Most fill them in like a boolean value. If they like it, they put four or five stars, and 1 if they don&#8217;t like it. If the product does not create an emotional response, they don&#8217;t put any stars at all, because most people only rate something they really like or hate. It would be fun to have a star rating system that actually put you up against the wall when you fill something in. You&#8217;ve just watched one of Hollywoods latest money making machine movie, and you liked it well enough. A good time waster. So you put four stars. The system then asks you, &#8220;Are you sure that you think this is as good as Deer Hunter?&#8221; Most sane persons would realize that they made an error in judgement and lower the score. And then stop using the rating system, because who want&#8217;s to be corrected by a computer?</p><div id="tweetbutton888" class="tw_button" style=""><a href="http://twitter.com/share?url=http%3A%2F%2Fbit.ly%2FuZKcDA&amp;via=jackenhack&amp;text=Rating%20with%20stars%20and%20why%20it%20sucks&amp;related=jackenhack&amp;lang=en&amp;count=none&amp;counturl=http%3A%2F%2Fwww.jackenhack.com%2Farchives%2F2009%2F05%2F02%2Frating-with-stars-and-why-it-sucks%2F" class="twitter-share-button"  style="width:55px;height:22px;background:transparent url('http://www.jackenhack.com/wp-content/plugins/wp-tweet-button/tweetn.png') no-repeat  0 0;text-align:left;text-indent:-9999px;display:block;">Tweet</a></div>]]></content:encoded> <wfw:commentRss>http://www.jackenhack.com/archives/2009/05/02/rating-with-stars-and-why-it-sucks/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Download all files in RSS feed using Ruby</title><link>http://www.jackenhack.com/archives/2009/04/24/download-all-files-in-rss-feed-using-ruby/</link> <comments>http://www.jackenhack.com/archives/2009/04/24/download-all-files-in-rss-feed-using-ruby/#comments</comments> <pubDate>Fri, 24 Apr 2009 17:26:33 +0000</pubDate> <dc:creator>Jacken</dc:creator> <category><![CDATA[Programming]]></category> <category><![CDATA[ruby]]></category><guid isPermaLink="false">http://www.jackenhack.com/blog/archives/2009/04/24/download-all-files-in-rss-feed-using-ruby/</guid> <description><![CDATA[I&#8217;m working on learning Ruby on Rails and one great resource that I find myself going to is RailsCast. But as I really need to learn Ruby I wanted to write a quick program to download all the episodes to &#8230; <a href="http://www.jackenhack.com/archives/2009/04/24/download-all-files-in-rss-feed-using-ruby/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description> <content:encoded><![CDATA[<p>I&#8217;m working on learning Ruby on Rails and one great resource that I find myself going to is <a title="RailsCast Ruby on Rails" href="http://railscasts.com">RailsCast</a>. But as I really need to learn Ruby I wanted to write a quick program to download all the episodes to my harddisk and watch them using <a title="Plex Media Center for Macintosh" href="http://plexapp.com/">Plex Media Center</a>. There&#8217;s probably a million different utilities (or podcast managers) that can do that, but using them I won&#8217;t learn to program Ruby that way. There&#8217;s probably a better way of doing this, but hey, do it and post a comment. [cc lang="ruby"] require &#8216;rubygems&#8217; require &#8216;hpricot&#8217; require &#8216;open-uri&#8217;</p><p>doc = Hpricot.XML(open(&#8220;http://feeds.feedburner.com/railscasts&#8221;))</p><p>(doc/&#8221;enclosure&#8221;).each do |para| filename = File.basename(para[:url]) puts &#8220;== Found a file #{filename}&#8221; open(filename,&#8221;w&#8221;).write(open(para[:url]).read) end [/cc]</p><div id="tweetbutton881" class="tw_button" style=""><a href="http://twitter.com/share?url=http%3A%2F%2Fbit.ly%2FuyMl5j&amp;via=jackenhack&amp;text=Download%20all%20files%20in%20RSS%20feed%20using%20Ruby&amp;related=jackenhack&amp;lang=en&amp;count=none&amp;counturl=http%3A%2F%2Fwww.jackenhack.com%2Farchives%2F2009%2F04%2F24%2Fdownload-all-files-in-rss-feed-using-ruby%2F" class="twitter-share-button"  style="width:55px;height:22px;background:transparent url('http://www.jackenhack.com/wp-content/plugins/wp-tweet-button/tweetn.png') no-repeat  0 0;text-align:left;text-indent:-9999px;display:block;">Tweet</a></div>]]></content:encoded> <wfw:commentRss>http://www.jackenhack.com/archives/2009/04/24/download-all-files-in-rss-feed-using-ruby/feed/</wfw:commentRss> <slash:comments>3</slash:comments> </item> <item><title>iPhone will increase Macintosh software</title><link>http://www.jackenhack.com/archives/2008/06/11/iphone-will-increase-macintosh-software/</link> <comments>http://www.jackenhack.com/archives/2008/06/11/iphone-will-increase-macintosh-software/#comments</comments> <pubDate>Wed, 11 Jun 2008 11:32:32 +0000</pubDate> <dc:creator>Jacken</dc:creator> <category><![CDATA[Cocoa Objective-C]]></category> <category><![CDATA[Computers]]></category> <category><![CDATA[Life and times of Jacken]]></category> <category><![CDATA[Macintosh]]></category> <category><![CDATA[cocoa]]></category> <category><![CDATA[iphone]]></category> <category><![CDATA[mac]]></category> <category><![CDATA[Programming]]></category><guid isPermaLink="false">http://www.jackenhack.com/blog/?p=738</guid> <description><![CDATA[Nobody talks about the fact that all the companies that will now start making programs for the iPhone will first learn how easy it is to program with Cocoa. Then suddenly you have a lot of new programmers that know &#8230; <a href="http://www.jackenhack.com/archives/2008/06/11/iphone-will-increase-macintosh-software/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description> <content:encoded><![CDATA[<p>Nobody talks about the fact that all the companies that will now start making programs for the iPhone will first learn how easy it is to program with Cocoa. Then suddenly you have a lot of new programmers that know how to program for the Mac as well. Yes, it&#8217;s that similar. What would stop them, now that they have inhouse knowledge to make a Macintosh version of the software? Nothing&#8230;</p><div id="tweetbutton738" class="tw_button" style=""><a href="http://twitter.com/share?url=http%3A%2F%2Fbit.ly%2FudMgXU&amp;via=jackenhack&amp;text=iPhone%20will%20increase%20Macintosh%20software&amp;related=jackenhack&amp;lang=en&amp;count=none&amp;counturl=http%3A%2F%2Fwww.jackenhack.com%2Farchives%2F2008%2F06%2F11%2Fiphone-will-increase-macintosh-software%2F" class="twitter-share-button"  style="width:55px;height:22px;background:transparent url('http://www.jackenhack.com/wp-content/plugins/wp-tweet-button/tweetn.png') no-repeat  0 0;text-align:left;text-indent:-9999px;display:block;">Tweet</a></div>]]></content:encoded> <wfw:commentRss>http://www.jackenhack.com/archives/2008/06/11/iphone-will-increase-macintosh-software/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> </channel> </rss>
<!-- Served from: www.jackenhack.com @ 2012-02-08 11:59:45 by W3 Total Cache -->
