Archive for April 2008

Article: Database agnostic != database ignorant

Database agnostic != database ignorant by clemens

ActiveRecord and similar ORMs take a lot of pain and time consuming tasks away from the developer. That doesn’t mean, though, that it exempts the developer from learning and knowing what’s going on behind the covers. I hope, my article gave some people an insight in the works of a database. Maybe, some day I’ll write another article on how to optimize your database.

Comments

Article: Yahoo! Web Services in Ruby

Yahoo! Web Services in Ruby by José Carlos Monteiro

Working with Yahoo! Web Services from Ruby is as simple as one is used when coding in this elegant programming language. One is only required to include the library Net::HTTP and use an Application ID – that is obtained from Yahoo! Developer Network.

Comments

Article: Help not wanted – Congress is doing its best to lose the global talent war

Help not wanted – Congress is doing its best to lose the global talent war from The Economist print edition Apr 10th 2008

The United States is already paying a price for its failure to adjust to the new world. Talent-challenged technology companies are already being forced to export jobs abroad. Microsoft opened a software development centre in Canada in part because Canada's more liberal laws make it easier to recruit qualified people from around the world. This problem is only going to get worse if America's immigration restrictions are not lifted. The Labour Department projects that by 2014 there will be more than 2m job openings in science, technology and engineering, while the number of Americans graduating with degrees in those subjects is plummeting.

Comments

Article: GitSvnComparsion

GitSvnComparsion by http://git.or.cz

… provide a fair and unbiased comparison of Git and Subversion to help prospective users of both tools better evaluate their choices. This page only describes base Subversion and does not discuss the benefits and drawbacks to using SVK, a distributed wrapper around Subversion.

Comments

Article: Using Ruby with the Google Data APIs

Using Ruby with the Google Data APIs by Jochen Hartmann, Google Data APIs Team

Ruby is a dynamic scripting language that has received a good amount of attention in recent years due to the popular Rails web-development framework. This article will explain how to use Ruby to interact with Google Data API services. We will not focus on Rails, instead we are more interested in explaining the underlying HTTP commands and structure of our feeds. All of the examples presented here can be followed from the command line by using irb, Ruby's interactive shell.

As you may recall from the cURL article, the Google Data APIs use the Atom Publishing Protocol to represent, create and update web resources. The beauty of this protocol is that standard HTTP verbs are used to formulate requests which are answered with standard HTTP status codes.

Comments

Article: Rinda 101

Rinda 101 by 8th Light

When building a software system composed of multiple decoupled components, the need typically arises for interprocess coordination and communication. As an example, say that we have a customer requirement that allows emails to be sent based on certain events or conditions that occur while the user is interacting with a web application. We build an email component that takes care of the details of actually sending of the email. The web application could use the email component directly, but that would introduce a dependency that we’d rather avoid. How can the two processes communicate without creating a dependency between the two?

Comments

Blog: Ruby: Adding a “not” method for readability

Ruby: Adding a "not" method for readability by Jay Fields

The other day I was working with an if statement that looked similar to the snippet below.

if !response.incomplete? && !response.invalid? && response.total > 0

end

I spent enough time in C, C#, etc to be able to parse the if statement fairly easily; however, I thought it would improve readability if I could write the following snippet instead.

if response.not.incomplete? && response.not.invalid? && response.total > 0

end

Comments

Article: Ruby’s not ready

Ruby’s not ready by glyphobet's blog

I promise we’ll be as objective as humanly possible; if Ruby and Ruby on Rails truly is better, we’ll happily use RoR and never look back. I want to know that I’m using the absolute best tool for the job.

Comments

Jay Field’s most popular entries in 2007

Most Popular Blog Entries of 2007

  • Is being a niche language developer good for your career
  • Rails Presenter Pattern
  • Rise, Fall, and Potential Rebirth of the Presenter Pattern
  • Ruby Kernel system, exec, and %x
  • Ruby on Rails Unit Tests
  • Rails: How we test

Comments

Presentations from MountainWest RubyConf 2008

From Couldn’t Be At MountainWest RubyConf? Watch The Presentations Now! compiled by Peter Cooper

Strengthening the Ruby Ecosystem Part II: Merb by Ezra Zygmuntowicz
Code Generation: The Safety Scissors of Metaprogramming by Giles Bowkett
Faster, Better ORM with DataMapper by Yehuda Katz
Deep Ruby by Jeremy McAnally
BDD with Shoulda by Tammer Saleh
Lightning Talks by Various

Comments

« Previous Entries