Quantcast
Channel: Built from source.
Browsing latest articles
Browse All 21 View Live

The future of PHP

Jurriën Stutterheim posted an interesting article on the future of PHP recently (“PHP… what to say?”). In it he argues that PHP shouldn’t try to maintain complete backwards compatibility in the next...

View Article



Major bug with BlackBerry browser and multiple cookies

This is a long post. Having investigated this issue for the last few days, I believe that there is a significant issue with the cookie implementation in BlackBerry browsers using the default Internet...

View Article

ORM comes to the iPhone: SQLite Persistent Objects

Although I cut my “programming teeth” on functional database APIs, I happily gave them up years ago in favor of ORM—and I have no desire to go back. Naturally, the iPhone a certain NDA-bound platform...

View Article

Zend_Paginator

On and off for the last two or three months, Jurriën Stutterheim and I wrote Zend_Paginator, the pagination component for Zend Framework. Yesterday it was officially released as part of Zend Framework...

View Article

PHP gets lambda methods, closures

Not one month after I wrote about the future of PHP (June 2008), I was quite happily proven wrong. For my part, I’d like to see first-class functions and closures included in the language. [...] But...

View Article


Image may be NSFW.
Clik here to view.

Stop validating e-mail addresses

Because you’re doing it wrong. At least, that’s what I’ve discovered to be the case with Borders.com, JustFlowers.com, and a number of other sites. My personal e-mail address has a .name top-level...

View Article

Zend_Search_Lucene: Not enterprise-ready

Zend Framework has been attracting more and more attention from the PHP community lately, and while it lacks certain things (like code generation) that other frameworks (like Rails) have implemented to...

View Article

Quick tip: Converting DMG to ISO

Save this as dmg2iso and run from the terminal: #!/bin/bash if [ -z "$1" ]; then     echo "Usage: ${0##*/} <file>"     exit 1 fi file=${1%.dmg} hdiutil makehybrid ${file}.dmg -o $file

View Article


2009 Dice Career Fair in Seattle

Fun fact: Last month I was laid off from my job at a startup, along with about half the company. Now, I’ve been sending out resumes and interviewing, and although I’ve never been to a career fair...

View Article


Meetings are like goldfish

They expand to fit the space allotted.

View Article

Image may be NSFW.
Clik here to view.

Know your Uniform Resource Locator

I work for a company that does a fair amount of web crawling (no, not that one), and recently there has been an ongoing discussion between the engineering side and the business side about various...

View Article

Image may be NSFW.
Clik here to view.

MySpace Music iTunes cover art

Random post! I made an iTunes album cover and thought other people might want it. Every now and then a musician or band I follow releases a song exclusively to their MySpace site. If it’s not available...

View Article

You’re doing it wrong

The following appeared on a mailing list I subscribe to. Hi, I have 3000 definitions in my config.ini . routes.cates1.route = “list1/:page” routes.cates1.defaults.module = “default”...

View Article


Edge Rails and Bundler

I needed some Rails 3.1 enhancements to Rails Engines for an in-development app, so I enabled Edge Rails in my Gemfile: gem 'rails', :git => 'git://github.com/rails/rails.git' Then I did what I...

View Article

Edge Rails pro-tip!

When using edge Rails, you should use edge Arel and edge Rack, also. Otherwise you’ll get weird bugs. gem 'rails', :git => 'git://github.com/rails/rails.git' gem 'arel',  :git =>...

View Article


Git bisect is the best thing ever

I’ve raved about this command to coworkers before, but this morning after a bundle install with edge Rails our multi-database migrations broke, and I needed to figure out why. This had happened...

View Article

Image may be NSFW.
Clik here to view.

Mountable engines in Rails 3.1 beta: getting started

Photo courtesy Tambako the Jaguar. As Rails matures, it’s becoming more and more common to see it powering large-scale applications with many moving parts. These can be a chore to maintain in any...

View Article


Getting rake db:seed and config.threadsafe! to play nice

If you’ve enabled config.threadsafe! in your Rails production environment, the chances are good that you’ll encounter a confusing “uninitialized constant” error when you try to seed your database using...

View Article

Image may be NSFW.
Clik here to view.

Testing routes with Rails 3.1 engines

Either I’m doing something wrong, or there’s a bug with Rails 3.1 engine routes and route tests. The problem is that tests like these don’t seem to work when dealing with an engine with the follow...

View Article

Restarting Pow when DNS stops responding

I love Pow, the Rack-based development web server from 37signals, but one thing I can’t stand is how sometimes it stops responding to DNS for no reason in particular. Well, Mike Sutton figured out how...

View Article
Browsing latest articles
Browse All 21 View Live


Latest Images