Archive for the 'Technology' Category

Rails And JSON Containing Unicode Characters

Wednesday, August 27th, 2008

As I mentioned in a previous blog post, Rails 2.1 natively supports incoming JSON requests. Unfortunately, it still struggles with JSON data containing non-ASCII characters.

According to the JSON spec, JSON fully supports UTF-8 encoded text, so with a few exceptions it generally should not be necessary to escape non-ASCII characters with \u Unicode escape sequences. [...]

It’s been a while…

Wednesday, August 27th, 2008

I realized that it’s been quite a while since my last update. Unfortunately it seems like the amount of interesting stuff I have to write about is inversely proportional to the spare time I have available for writing…

Anyway, I figure I’ll try to get back into the habit of publishing smaller posts, but [...]

Network Monitoring With Scout

Tuesday, June 24th, 2008

I’ve been meaning to set up a network monitoring tool at work for a while. We have a couple of different applications using various technologies (currently mainly Ruby on Rails and PHP), running on various VPS servers. While we are using Monit to keep an eye on our Rails apps and restart them if necessary, [...]

Phusion Passenger Now Rack Compatible?

Sunday, June 1st, 2008

According to this blog post and several mentions on Twitter, Phusion announced today’s release of Passenger (aka mod_rails) 2.0 at RailsConf. Apparently, Passenger 2.0 will be Rack compliant and thus support not only Rails, but any Rack compatible web framework, including Merb and Sinatra. Interestingly, Passenger will not even be limited to Ruby any more [...]

Rails 2.1 and Incoming JSON Requests

Sunday, May 25th, 2008

Earlier this week, we tried to figure out the cleanest and easiest way to get our Rails app to accept incoming JSON requests. Up until recently, developers were able to use various Rails plugins for this purpose, such as the json_request plugin.

Luckily, it turns out that full support for JSON was added to Rails in [...]

Phusion Passenger (aka mod_rails) on DreamHost

Wednesday, May 14th, 2008

A couple weeks ago, Phusion Passenger (aka mod_rails) was released. I recently tested this at work, on an EC2 instance, and my initial experience was so smooth that I am already planning to use it to deploy our various Rails applications. The benchmarks I’ve seen put its performance on approximately the same level as a [...]

Twitter / Ruby on Rails FUD

Thursday, May 1st, 2008

Earlier today, TechCrunch’s poorly researched claim that Twitter is abandoning Ruby on Rails in favor of PHP or Java generated a lot of buzz in the Twitter and Ruby communities (the claim was later refuted by Twitter developer Evan Williams).

Of course, the article’s comments attracted the usual, ignorant TechCrunch trolls. Most took the opportunity to [...]

Gelato with DHH

Sunday, April 20th, 2008

I just got back from an ice cream social with Ruby on Rails creator David Heinemeier Hansson (aka DHH). I had come across his blog post about this casual event last week and figured I’d make my way over there, particularly since the location (Michael’s Gelato & Cafe) in downtown Palo Alto is only 5 [...]

Evernote: A Promising Start

Saturday, March 15th, 2008

After having signed up for an Evernote beta invite a while ago, I finally received one this week.

Evernote is a next generation note taking service. What sets it apart from similar applications are the numerous ways of entering as well as retrieving notes. First of all there is the Evernote Website. It is simple and [...]

github - Git Repository Hosting

Tuesday, March 11th, 2008

The distributed Git version control system has been gaining a lot of traction lately. In contrast to traditional, centralized version control systems like CVS or Subversion, Git enables developers to easily fork each other’s repositories, pull patches from each other, etc. Even though I have not had a chance to use Git beyond pulling down [...]

iPhone SDK

Friday, March 7th, 2008

This morning, Apple finally announced details about the long-awaited iPhone SDK. The SDK is available for download starting today, and it sounds pretty intriguing!

It comes with a full application stack that includes a custom version of Cocoa (Cocoa Touch), and APIs to access all the iPhone specific features, including hardware-accelerated 3D graphics, the accelerometer, camera, [...]

Ola Bini on JRuby

Thursday, February 28th, 2008

Today, I attended a tech talk by ThoughtWorks’ Ola Bini on JRuby (JRuby Wikipedia entry here).

I keep hearing great things about JRuby (even Matz has good things to say about it), and it’s nice to hear this from the horse’s mouth as well (Ola is one of the JRuby core developers). Apparently the latest version [...]

Matz / Ruby 1.9

Wednesday, February 20th, 2008

I had the pleasure of attending a presentation by Yukihiro Matsumoto (aka “Matz”) on Ruby 1.9 today. I had heard that he is a very nice guy, and he definitely came across as very charismatic. He is not particularly fluid in English, and in previous interviews I had heard with him, he often used an [...]

Heroku

Wednesday, February 20th, 2008

Heroku recently announced a public beta. Heroku is a Rails hosting service with a twist: They offer a fully integrated development and hosting environment. You develop your application using a web based IDE, and it gets automatically deployed to Amazon EC2.

The IDE works surprisingly well. You get a typical file browser that allows you to [...]

Merb 0.9.0 Released

Monday, February 18th, 2008

Merb 0.9.0 was released 5 days ago. It looks like the download instructions on the homepage have also been updated for 0.9.0. You can now install it as a gem or from source, by checking out the code from the Merb Git repository.

Aside from a more modular design, Merb 0.9 also introduces a more flexible [...]

Goodbye HTML, Hello Markdown

Monday, February 18th, 2008

Yesterday I set up Markdown support for my blog, as I was getting tired of typing <li>, <a href=”…”>, etc. I’ve had my blog for almost four years now, and I can’t believe that I have not done this before. It finally allows me to focus on the actual content while I’m writing a blog [...]

Side Projects and Passion

Monday, February 18th, 2008

Earlier today, Alex Payne blogged about side projects, which prompted me to write down my own thoughts on this matter, as I had been planning a blog post on this subject for a while. Alex states some of the benefits of having a side project, such as keeping you learning, dealing with different types of [...]

Technology Update (Part 2: Merb & More)

Wednesday, February 13th, 2008

So where was I? Ah yes, in yesterday’s post I left off with me going back to Ruby for my personal projects.

My standard choice for web development has been Ruby on Rails for a while now (although I haven’t had a chance to try Rails 2.0 yet). However, lately I’ve been playing with Merb. Merb [...]

Technology Update (Part 1: Catching Up)

Tuesday, February 12th, 2008

It’s been a while since I last blogged about any technologies I’ve been playing with, so I figured I’m due for an update. I am going to split this into a two-part series: First I will play catch up and talk about the technologies that I’ve played with over the past 6 months or so. [...]

Leopard: First Impressions

Monday, October 29th, 2007

So I went out and bought Leopard last Friday when it was released. I even got a free T-Shirt for being one of the first 500 customers at my Apple store. This was the first time I can think of that I ever went out and bought an OS on its release day (or any [...]