Summer of Code 2007 Feed

April 12th, 2007

I now have a feed just for Summer of Code at http://feeds.feedburner.com/soc2007.

Summer of Code 2007

April 12th, 2007

My application to work on the Google Summer of Code has been accepted. I am going to be working on the WebHttpBinding for the Mono Project.

I will be posting updates on my progress as I go along. You can view those updates here

Imagine Cup

March 7th, 2007

I just found out that I have been selected to compete at the regional semi-finals for the Microsoft Imagine Cup 2007

The competition involves using .Net and C# to solve various problems in order to get points. The top people at each level advance to the next level. You can read the full rules here

The e-mail I just received says:

You will all need to bring your laptops to the semi final event.

I wonder if I will be the only person there with a Mac :-)

Up And Running On Mephisto

December 28th, 2006

I’m finally up and running on Mephisto and new theme is in the works, as well as more posts.

Yes, Ruby can do this

But seeing as I am a fan of Object Oriented programming. (Ruby in particular)

I would change:

    function map(fn, a)
    {
         for (i = 0; i < a.length; i++)
         {
             a[i] = fn(a[i]);
         }
     }

to:

    Array.prototype.map = function( fn ){
        result = new Array();
        for ( var i = 0; i < this.length; i++ ){
            result[i] = fn(this[i]);
        }
        return result;
    }

now you can do:

    var a = [1,2,3];
    a.map( function(num){return num*2;} );
    a.map( alert );

Check out this article on how to use a gmail account as a journal/to-do list.

http://www.thefantasticos.com/andrew/index.php?p=8

RoR at Brinstorm

July 26th, 2006

Finally Brainstorm has sipped the Rails Kool-Aid. More to come soon.

Brainstorm Web Design

July 9th, 2006

I just started doing some work with Brainstorm this past week. I look forward to pointing you to some of the projects that we work on together in the future.

The Marks of Manhood

June 22nd, 2006

I just found a great article on what it means to be a man by Biblical definition. Here is an excerpt:

When does a boy become a man? The answer to this must go far beyond biology and chronological age. As defined in the Bible, manhood is a functional reality, demonstrated in a man’s fulfillment of responsibility and leadership. With this in mind, let me suggest thirteen marks of biblical manhood. The achievement of these vital qualities marks the emergence of a man who will demonstrate true biblical masculinity.

You can read the rest of the article at http://www.boundless.org/2005/articles/a0001093.cfm

Flock Browser

June 22nd, 2006

I just started playing with the Flock Browser. I’ll let you know how it goes.

Rails Day '06

June 17th, 2006

After more than 24 hours with now sleep Rails Day ‘06 has come to an end for our team. You can check out our stats at http://spectate.railsday2006.com/teams/95 , and you will be able to view the finished product @ SliceOfSites.com some time later this week.

I’ll be posting more about the project in the future as we continue to maintain it, but in the mean time you can check out my team-mates sites.

Ryan Heneise and Mark Priestap

lighttpd.conf

June 6th, 2006

I use lighttpd for development on my box. I am currently working with Ruby on Rails and PHP

For PHP I am using Code Igniter so the rewrite rule for the php subdomain reflects this. To see my configuration keep reading…

Read the rest of this entry

Rails rcov Rake Task

May 22nd, 2006

I wrote a rake task for running rcov on my Rails apps and I figured someone else might find it usefull.

1
2
3
4
5
6
7
8
9
10
11
12
desc "Run rcov on current app"
task :rcov do
  test_dir    = "#{RAILS_ROOT}/test"
  dirs        = [ "#{test_dir}/functional/*.rb",
                  "#{test_dir}/integration/*.rb",
                  "#{test_dir}/unit/*.rb"]
  command = "rcov -o #{test_dir}/coverage"
  dirs.each do |dir|
    command += " #{dir}" unless Dir[dir].empty?
  end
  system command
end

Copying a gem into vendor without sudo access: “

The problem: gem unpack requires the gem to be installed before you can use it.

The solution:

Step 1.

  • Install the gem locally: gem install redcloth -i ~/tmp/

Step 2.

  • Use the GEM_HOME environment variable to tell gem where your gem library is: GEM_HOME=~/tmp/ gem unpack redcloth

Step 3.

  • Copy the extracted gem into your applications /vendor directory: cp redcloth-3.0.3 ../rails/vendor -R

(Via David’s Blog of DOOM.)

Apple Goes Head-to-Head With Windows In New Ads: “It’s been a long time since Apple has so directly targeted the competition, or trumpeted the Mac in general. Thankfully the wait is over! In twoads that aired this evening, the platforms are represented by a person—the suit-wearing guy (PC) and the cool designer-looking guy (Mac). The first ad discusses the Mac’s ‘immunity’ to viruses, while the second more-safely broaches the media’s love for our OS of choice. Personally? I think they’re pretty funny.”

(Via MacSlash.)