<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Programming on Kind of Idea</title>
    <link>https://kindofidea.com/tags/programming/</link>
    <description>Recent content in Programming on Kind of Idea</description>
    <generator>Hugo</generator>
    <language>en-US</language>
    <lastBuildDate>Wed, 11 Aug 2010 00:00:00 +0000</lastBuildDate>
    <atom:link href="https://kindofidea.com/tags/programming/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Ruby and Education: A Match Made in Heaven (translation)</title>
      <link>https://kindofidea.com/ruby-and-education-a-match-made-in-heaven-translation/</link>
      <pubDate>Wed, 11 Aug 2010 00:00:00 +0000</pubDate>
      <guid>https://kindofidea.com/ruby-and-education-a-match-made-in-heaven-translation/</guid>
      <description>&lt;blockquote&gt;It&#39;s important not to generalize about Ruby as if it could solve all your problems. It is a general-purpose language, but, like all other languages, it will be suitable in some contexts and not in others. The purpose of this post by Kate Cunningham, which I translated, is to show that Ruby&#39;s characteristics are very much in harmony with the characteristics needed in an effective learning environment. This doesn&#39;t mean that students should stop at Ruby. Ruby will make the path into programming easier for them, but it is only a first step. They should learn other languages too, since that&#39;s the only way to grow as a professional in such a dynamic field. You can find the original &lt;a href=&#34;http://rubylearning.com/blog/2010/08/11/ruby-programming-and-education-a-match-made-in-heaven/&#34;&gt;here&lt;/a&gt;. And now, the translation:&lt;/blockquote&gt;&#xA;&lt;p&gt;The Ruby language has received a lot of attention over the past decade, especially since the advent of Ruby on Rails in 2005. While the blogosphere has been using Ruby for a long time, let&amp;rsquo;s ask how, exactly, Ruby is suited to an educational environment.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Functional Programming and Loops (translation)</title>
      <link>https://kindofidea.com/functional-programming-and-loops-translation/</link>
      <pubDate>Tue, 06 Jul 2010 00:00:00 +0000</pubDate>
      <guid>https://kindofidea.com/functional-programming-and-loops-translation/</guid>
      <description>&lt;blockquote&gt;People who come from languages like C, Java, Delphi, and C#, and use Ruby for the first time, tend to program in Ruby the same way they programmed in the language they already know well. As you read the post below, you&#39;ll see that languages with functional features, such as Ruby, offer their own ways of organizing code (the Ruby way). More specifically, in this article by Jon Dahl, you&#39;ll see more efficient ways to iterate (loop) in Ruby. You can find the original &lt;a href=&#34;http://railspikes.com/2008/7/29/functional-loops-in-ruby-each-map-inject-select-and-for&#34;&gt;here&lt;/a&gt;. And now, the translation:&lt;/blockquote&gt;&#xA;&lt;p&gt;If you&amp;rsquo;re a programmer, you&amp;rsquo;ve probably worked through one or more books that taught you the syntax of a new language. I&amp;rsquo;ve had that experience with half a dozen languages, such as C, JavaScript, and Perl.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Introduction to the Assembly Language</title>
      <link>https://kindofidea.com/introduction-to-the-assembly-language/</link>
      <pubDate>Fri, 21 Aug 2009 00:00:00 +0000</pubDate>
      <guid>https://kindofidea.com/introduction-to-the-assembly-language/</guid>
      <description>&lt;blockquote&gt;For people who are not in computing, and even for programmers who have always worked with high-level languages, this article is very enlightening. It helps us become aware of and appreciate the effort made by the first programmers and designers to get us to where we are today. Read the original article at &lt;a href=&#34;http://www.swansontec.com/sprogram.html&#34;&gt;this link&lt;/a&gt;. Here is the translation:&#xA;&lt;/blockquote&gt;&#xA;&lt;p&gt;This is a brief introduction to Assembly language. Assembly is the most basic programming language available for any processor. With Assembly language, a programmer works only with operations performed directly on the physical CPU. Assembly lacks high-level conveniences such as variables and functions, and it is not portable across different processor families. However, Assembly is the most powerful programming language available on a computer, and it gives programmers the insight they need to write efficient code in high-level languages. Learning Assembly is a way to appreciate the time and effort of all serious programmers.&lt;/p&gt;</description>
    </item>
    <item>
      <title>fupload - A Visual FoxPro Script for Uploading Files</title>
      <link>https://kindofidea.com/fupload-a-visual-foxpro-script-for-uploading-files/</link>
      <pubDate>Thu, 09 Jul 2009 00:00:00 +0000</pubDate>
      <guid>https://kindofidea.com/fupload-a-visual-foxpro-script-for-uploading-files/</guid>
      <description>&lt;p&gt;fupload is a script written in Visual FoxPro. I created fupload to make it easier to upload large numbers of PDF and ZIP files at work. It was built on the principle of &lt;strong&gt;&amp;ldquo;scratching your own itch.&amp;rdquo;&lt;/strong&gt;&lt;/p&gt;&#xA;&lt;p&gt;Since I wanted to learn how to use &lt;strong&gt;git&lt;/strong&gt; and &lt;strong&gt;github&lt;/strong&gt;, I decided to organize the code better and make it available as open source. This script was made for the &lt;strong&gt;Windows&lt;/strong&gt; platform. Visual FoxPro must be installed on the machine. To complement the script, I use a .bat file to send the files to the server.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Nerd Talk: A Conversation About Programming Languages</title>
      <link>https://kindofidea.com/nerd-talk-a-conversation-about-programming-languages/</link>
      <pubDate>Wed, 24 Jun 2009 00:00:00 +0000</pubDate>
      <guid>https://kindofidea.com/nerd-talk-a-conversation-about-programming-languages/</guid>
      <description>&lt;p&gt;In today&amp;rsquo;s Nerd Talk, I&amp;rsquo;ll broaden the format a little. In addition to the &lt;strong&gt;nerd attacks&lt;/strong&gt; I started with in the &lt;a href=&#34;http://valeriofarias.com/desenhando-com-lado-direito-cerebro/&#34;&gt;first article&lt;/a&gt;, I&amp;rsquo;ll also include something like those &lt;strong&gt;bar conversations&lt;/strong&gt; where, after a few drinks, everyone tries to out-philosophize everyone else :) . More specifically, in this post I&amp;rsquo;ll share &lt;strong&gt;conversations&lt;/strong&gt; about the general &lt;strong&gt;day-to-day&lt;/strong&gt; of a &lt;strong&gt;web developer&lt;/strong&gt;, held over instant messaging.&lt;/p&gt;&#xA;&lt;p&gt;This virtual nerd conversation was about &lt;strong&gt;programming languages&lt;/strong&gt;, and more specifically &lt;strong&gt;Python&lt;/strong&gt; and &lt;strong&gt;Ruby&lt;/strong&gt;. I was chatting with my friend &lt;strong&gt;Macelo&lt;/strong&gt;. Here&amp;rsquo;s the conversation:&lt;/p&gt;</description>
    </item>
    <item>
      <title>Accessing Twitter via the Interactive Ruby Shell (irb)</title>
      <link>https://kindofidea.com/accessing-twitter-via-the-interactive-ruby-shell-irb/</link>
      <pubDate>Sun, 14 Jun 2009 00:00:00 +0000</pubDate>
      <guid>https://kindofidea.com/accessing-twitter-via-the-interactive-ruby-shell-irb/</guid>
      <description>&lt;p&gt;I was looking for a simple Ruby solution for updating messages through irb.&#xA;I found these Ruby class options:&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;a href=&#34;http://twitter.rubyforge.org/&#34;&gt;Twitter&lt;/a&gt; by John Nunemaker — this is the most complete one.&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;http://rubyforge.org/projects/twittery/&#34;&gt;Twittery&lt;/a&gt;, a very simple class that uploads photos through the TwitPic API. The project is maintained by Chris Ledet.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;p&gt;I used the class from the Twittery project as a learning starting point because I wanted a quick and simple solution, even though it doesn&amp;rsquo;t have the security of the OAuth authentication protocol already included in John Nunemaker&amp;rsquo;s project.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Ruby &#43; irb &#43; utility-belt &#43; gedit = :)</title>
      <link>https://kindofidea.com/ruby-irb-utility-belt-gedit/</link>
      <pubDate>Fri, 12 Jun 2009 00:00:00 +0000</pubDate>
      <guid>https://kindofidea.com/ruby-irb-utility-belt-gedit/</guid>
      <description>&lt;p&gt;In September 2008, Akita wrote an &lt;a href=&#34;http://www.akitaonrails.com/2008/9/21/ruby-irb-utility-belt&#34;&gt;interesting post about utility-belt&lt;/a&gt;, a gem that adds several features to irb (it&amp;rsquo;s a bit like giving irb a Red Bull). Some of its features include:&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Launching Vi or TextMate from irb, letting you quickly write or paste some code, save it, close the editor, and test it in irb without creating a file and saving it in a directory.&lt;/li&gt;&#xA;&lt;li&gt;Viewing a command history by typing &amp;ldquo;h&amp;rdquo;.&lt;/li&gt;&#xA;&lt;li&gt;Opening the history in TextMate or Vi using &lt;code&gt;hvi&lt;/code&gt; or &lt;code&gt;hmate&lt;/code&gt;.&lt;/li&gt;&#xA;&lt;li&gt;Watch Akita&amp;rsquo;s &lt;a href=&#34;http://www.akitaonrails.com/2008/9/21/ruby-irb-utility-belt&#34;&gt;screencast&lt;/a&gt; to see how it works.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;p&gt;So far, so good. But the big problem is that I use &lt;strong&gt;Ubuntu&lt;/strong&gt; with &lt;strong&gt;gedit&lt;/strong&gt; to write Ruby code, and utility-belt doesn&amp;rsquo;t have specific methods for launching gedit. The utility-belt help offers &lt;code&gt;edit_interactively(:gedit)&lt;/code&gt;, but of course I couldn&amp;rsquo;t settle for that method; I wanted it to work the same way as it does with Vi or TextMate.&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
