<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
  <id>http://mgutz.com/</id>
  <title>mgutz.com Syndication</title>
  <updated>2010-03-06T08:00:00Z</updated>
  <link rel="alternate" href="http://mgutz.com/"/>
  <link rel="self" href="http://mgutz.com/atom.xml"/>
  <author>
    <name>Mario Gutierrez</name>
    <uri>http://mgutz.com</uri>
  </author>
  <entry>
    <id>tag:mgutz.com,2010-03-06:/2010/03/06/get_started_with_scala_sbt_and_eclipse.html</id>
    <title type="html">Get Started With Scala, Sbt And Eclipse</title>
    <published>2010-03-06T08:00:00Z</published>
    <updated>2010-03-09T16:28:44Z</updated>
    <link rel="alternate" href="http://mgutz.com/2010/03/06/get_started_with_scala_sbt_and_eclipse.html"/>
    <content type="html">&lt;div class="screencast"&gt;
    &lt;div&gt;&lt;embed allowfullscreen="true" allowscriptaccess="always" height="390" src="http://blip.tv/play/hasFgcucKAA" type="application/x-shockwave-flash" width="640" /&gt;&lt;/div&gt;
    &lt;div&gt;Toggle fullscreen for clearer text.&lt;/div&gt;
&lt;/div&gt;

&lt;p&gt;Getting started with any programming language is a daunting task, let alone
configuring your workstation to create a non-trivial
application. I spent a few days reading and trying many Scala tools and libraries. I share some of my findings in this screencast.&lt;/p&gt;

&lt;p&gt;This screencast covers how to create a &lt;code&gt;Scala&lt;/code&gt; console-based project.
I use the simple-build-tool (&lt;code&gt;sbt&lt;/code&gt;) to compile, run, test and and then eclipsify
a project. I briefly cover where to put source code, tests and how to edit
and debug the project within the Eclipse IDE.&lt;/p&gt;

&lt;h2 id="preqrequisites"&gt;Preqrequisites&lt;/h2&gt;

&lt;p&gt;Must be installed&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;&lt;a href="http://code.google.com/p/simple-build-tool/"&gt;simple-build-tool (sbt)&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Optional&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;&lt;a href="http://git-scm.com/download"&gt;git&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href="http://www.eclipse.org/downloads/"&gt;Eclipse 3.5.2&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href="http://www.scala-lang.org/node/94"&gt;scala-ide plugin&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;h2 id="steps"&gt;Steps&lt;/h2&gt;

&lt;ol&gt;
  &lt;li&gt;
    &lt;p&gt;Clone OR download/extract source from &lt;a href="http://github.com/mgutz/sbt-console-template"&gt;sbt-console-template&lt;/a&gt;&lt;/p&gt;

    &lt;pre&gt;&lt;code&gt; % git clone git@github.com:mgutz/sbt-console-template.git your-project
&lt;/code&gt;&lt;/pre&gt;
  &lt;/li&gt;
  &lt;li&gt;
    &lt;p&gt;From &lt;code&gt;sbt&lt;/code&gt; console&lt;/p&gt;

    &lt;pre&gt;&lt;code&gt; # update dependencies
 &amp;gt; update
 
 # run project
 &amp;gt; run
 
 # test project continuously
 &amp;gt; ~test
 
 # eclipsify
 &amp;gt; eclipse
&lt;/code&gt;&lt;/pre&gt;
  &lt;/li&gt;
&lt;/ol&gt;

&lt;h2 id="related-good-stuff"&gt;Related Good Stuff&lt;/h2&gt;

&lt;ul&gt;
  &lt;li&gt;&amp;ldquo;editing goodness&amp;rdquo; == &lt;a href="http://code.google.com/p/macvim/"&gt;MacVim&lt;/a&gt; + &lt;a href="http://www.vim.org/scripts/script.php?script_id=1658"&gt;NERD Tree&lt;/a&gt; + &lt;a href="http://www.vim.org/scripts/script.php?script_id=2977"&gt;custom underwater colorscheme&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href="http://github.com/robbyrussell/oh-my-zsh"&gt;OH MY ZSHELL!&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href="http://github.com/musk/SbtEclipsify"&gt;SbtEclipsify&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href="http://www.scalatest.org/"&gt;Scalatest&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
</content>
    <summary type="html">Screencast on how to get started with the Scala programming language using simple-build-tool (sbt) and Eclipse</summary>
  </entry>
  <entry>
    <id>tag:mgutz.com,2010-02-12:/2010/02/12/add_scala_syntax_to_vim.html</id>
    <title type="html">Add Scala Syntax to Vim</title>
    <published>2010-02-12T08:00:00Z</published>
    <updated>2010-03-08T22:24:46Z</updated>
    <link rel="alternate" href="http://mgutz.com/2010/02/12/add_scala_syntax_to_vim.html"/>
    <content type="html">&lt;p&gt;&lt;img alt="vim" src="/assets/images/blog/scala-on-vim.png" /&gt;&lt;/p&gt;

&lt;h2 id="prerequisites"&gt;Prerequisites&lt;/h2&gt;

&lt;p&gt;Must have &lt;code&gt;bash&lt;/code&gt; or equivalent, &lt;code&gt;svn&lt;/code&gt; and &lt;code&gt;Vim&lt;/code&gt;.&lt;/p&gt;

&lt;h2 id="instructions"&gt;Instructions&lt;/h2&gt;

&lt;pre&gt;&lt;code&gt;# start in a temp directory
cd tmp

# get repo without .svn folders
svn export http://lampsvn.epfl.ch/svn-repos/scala/scala-tool-support/trunk/src/vim vim

# do not need README for copying
rm vim/README

# copy rest of files/directories into .vim
cp -R vim/* ~/.vim

# remove downloaded vim source
rm -rf vim
&lt;/code&gt;&lt;/pre&gt;
</content>
    <summary type="html">Add Scala syntax to Vim</summary>
  </entry>
  <entry>
    <id>tag:mgutz.com,2010-02-07:/2010/02/07/nanoc3_blog_progress.html</id>
    <title type="html">Nanoc3_blog progress</title>
    <published>2010-02-07T08:00:00Z</published>
    <updated>2010-03-08T22:24:46Z</updated>
    <link rel="alternate" href="http://mgutz.com/2010/02/07/nanoc3_blog_progress.html"/>
    <content type="html">&lt;p&gt;&lt;a href="http://nanoc3-blog.mgutz.com"&gt;nanoc3_blog&lt;/a&gt; is my first Ruby open source project.
&lt;code&gt;nanoc3_blog&lt;/code&gt; is a static blog starter kit which generates this site. It is
the basic infrastructure for a minimalist blog.&lt;/p&gt;

&lt;p&gt;I plan to enhance my blog with jQuery effects. I may not merge the effects
back into the &lt;code&gt;nanoc3_blog&lt;/code&gt; project however. The starter kit should remain simple.&lt;/p&gt;

&lt;p&gt;I have mixed feelings about DISQUS. In general, the service is great. 
However, DISQUS&amp;rsquo; javascript loading and processing intermittently affects the rendering of pages. 
In addition, the comment section below overpowers content
with unnecessary design elements and options. Why not have a style which uses
standard controls and a simpler form? I&amp;rsquo;m DISQUSTED. OK, the styling
is not too bad. I have a feeling &lt;code&gt;display:none&lt;/code&gt; will be used generously in a custom stylesheet.&lt;/p&gt;
</content>
    <summary type="html">About progress made on nanoc3_blog</summary>
  </entry>
</feed>
