Articles

Speeding up thumbnail generation with Paperclip

On the heels of my other "Paperclip patch":http://pjkh.com/articles/2010/04/09/rails-paperclip--auto-orient-and-resizing- I noticed that generating four styles from a large original and auto orienting them takes a lot of time (about 12 seconds on average). Trying to cut that time down I wondered if it would be possible to generate the smaller thumbnails from the larger ones.  more»

Rails, Paperclip, -auto-orient, and resizing...

I recently had a situation in which I wanted to generate thumbnail images and have them constrained to 67x50 (specifically "67x50>"). No problem so far, but I also wanted to auto rotate (via Imagemagick's -auto-orient option) the images as they all come from a digital camera that provides this information. This causes a problem. Namely that some images ended up being 50x67 instead of 67x50.  more»

Hanger9 FS One Running in Parallels 5 on Mac OS X

MuPromo has a software bundle containing Parallels 5. Tempting. Wondered if I could run Hanger9 FS One in it so I wouldn't have to use Bootcamp like I have been doing. The answer is yes, I can!  more»

Another Reason People Prefer Macs to PCs

Yet another unscientific reason people prefer macs over PCs. Just look at these instructions.  more»

Ruby in a Nutshell...

This may not be very scientific, but perhaps this is why Ruby is such a wonderful language.  more»

35 Articles • Page 1 of 7 • Click for More Articles


What Can I
Do For You?


Do you have a problem that needs solving? and we can find the solution together.