For the photos feature on YourBarGuide I needed a way for users to easily upload multiple files at once.
Read on about the different options I looked at, and how I finally settled on a Flash upload widget
Posted by: Matt Kull Sun, 18 Mar 2007 20:02:00 GMT
For the photos feature on YourBarGuide I needed a way for users to easily upload multiple files at once.
Read on about the different options I looked at, and how I finally settled on a Flash upload widget
Posted by: Matt Kull Tue, 13 Mar 2007 03:49:00 GMT
The rails plugin file_column provides a simple method of handling uploading files. I am using it to store location “avatar” images. The image needs to be resized into several different versions, and file_column handles this nicely with one method call in my model.
file_column :image, :magick => {
:versions => { :square => "75x75!",
:profile => "275x260"
}
}
However, recently requirements changed. I now needed an additional version of the image and change the sizes of the old versions.
Since file_column does not provide an out of the box method of regenerating the images, and I had several thousand records with images associated already I had a problem.
Posted by: Matt Kull Wed, 15 Feb 2006 03:29:00 GMT
It was announced today that Measuremap was bought out by Google.
This is especially interesting because it never even got out of a closed alpha test.
I signed up for the service a couple weeks ago, I never got an invite to try it out though. Basic jist of it that I got was blog hit and stat tracking on steroids.
Measuremap was being created by the folks at Adaptive Path (remember them? these are the same guys that cointed that damned AJAX term which helped jumpstart all this “web2.0” business)
This is also the first big buyout of a ruby / rails based application I’m aware of. Too bad they didnt disclose the price… Any guesstimates?
People may be surprised Measuremap was bought this early, but I think it makes a lot of sense. The Adaptive Path guys don’t have to worry about competing with the powerhouse that is google analytics (urchin), and google gets some great talent at (what I assume was) a reasonable price.
Posted by: Matt Kull Mon, 13 Feb 2006 05:14:00 GMT
A common need in ybg is the ability to be plot different models (users, bars, restaurants, neighborhoods) on a map.
I think this common functionality would be useful as a rails plugin and I am working on packaging it up into a new plugin called acts_as_mappable.
The goal of this plugin is to abstract away grabbing an address and retrieving geocode information. I’ll see if I can fit in distance calculations also.
Posted by: Matt Kull Mon, 13 Feb 2006 04:55:00 GMT
For the past couple of months I have been working on a social neworking / location based vertical search engine. (hooray for buzzwords)
Theres lots of social networking sites out there (myspace, friendster, facebook, and the newest contender tagworld). Examples of vertical search based sites would be tripadvisor or citysearch
What I envision is something along the lines of myspace meets citysearch meets imdb.
The site is not ready for public consumption yet, but within the next couple of weeks an early stage prototype will be up.
Posted by: Matt Kull Sat, 04 Feb 2006 21:31:00 GMT
Getting my rails sites up and deployed with lighttpd took a bit of time and research.
Lighttpd: The painless way is the essential guide and is just plain awesome. These tidbits here are mainly for my own reference, but they may prove useful.
With a bit of mucking around, I was able to get multiple rails apps on multiple domains hosted on my one textdrive account.
These are the steps I took…