Plasticx Blog

Capable of being shaped or formed

Ozimodo, Rails based tumblelog, and why its still awesome

Posted by Mike 02/23/2008 at 11:51PM

One of the coolest small Rails apps is Ozimodo
http://ozimodo.rubyforge.org/
, a Rails based tumblelog

Micro blogging and non-traditional forms of communication are helping to evolve how we’ll be communicating in the future. Its list of contributors is a veritable who’s who in the Rails community.

Here’s an enumeration of aspects that make Ozimodo great in the current context

Posted in , , , |

small urls with Camping

Posted by Mike 07/04/2007 at 09:42PM

I am happy to announce yet another very small URL generator called

hurl it => http://hurl.it/

In fact its first entry is this very blog post.

There are obvious predecessors and the recent (and very cool) Rails based urlTea which itself I think is inspired by rubyurl

But hurl it is not those things, hurl it is a Camping application. Camping is a Microframework written by why the lucky stiff, a MVC based framework that is a total size of 4K and written in Ruby. Camping applications are small, light weight, and are intended to do one thing really well. hurl it does one thing very well – RESTfully create and serve very small URLs.

hurl it has these attributes

  • is a Camping application
  • RESTful (index, show, and create verbs) and responds to application/xml
  • tunes its use of ActiveRecord for use with the performanced minded MyISAM engine
  • developed with Agile practices including full unit and functional tests using Mosquito
  • is open source under the MIT License
  • has a neat-o base 62 number algorithm using the alphabet of 0-9,A-Z,a-z that would be good to know on an interview

hurl it is meant to be the honey layer in your peanut butter sandwich on wheat bread. hurl it is not the sandwich nor tries to be anything more than really super awesome at representing long URLs as really short URLs.

Things I’ve found helpful during hurl it development

I wrote a SysV init.d setup for Gentoo based on Evan’s work call RV2

Source

http://github.com/monde/hurl hurl hurl

Posted in , , , |

Sasquatch, Inc.

Posted by Mike 06/21/2007 at 01:09AM

I’m now a company!!!

Sasquatch, Inc.

Yet another programmer becomes a consultant.

Linux, Ruby, and a little Java to make some latte money.

Posted in , , , , |

Processing Cellphone MMS Messages With Ruby

Posted by Mike 02/11/2007 at 12:34PM

Cellphone Multimedia Message Service (MMS) messages that your cellphone sends are really just email formatted text. You can send MMS to other cellphones or to a real email address. I wrote a post about using the Rails receive method in ActionMailer::Base to process email decoding email attachments with ActionMailer::Base receive If you just want to process the mail but don’t need the hook into Rails then just use the TMail class’s parse method directly

mail = TMail::Mail.parse(raw_email)

I’ve been processing MMS emails via TMail recently and have found the cellphone carriers often modify user generated content (text, videos, images) to include advertising for their services.

Posted in , , , |

Agile Web Development with Rails (ISBN 0977616630)

Posted by Mike 01/24/2007 at 11:02PM
I’ve started reading the second edition of Agile Web Development with Rails . I’m going to try something different and append my notes from each chapter to his blog entry as I read them. I bought this book from The Pragmatic Programmers site with the PDF copy of the book. I like having the PDF copies of their books (I currently own the PickAxe book , the Agile Rails book, and the Rail Recipes books) so I can reference them without having to search the internet or crack open my real book for a discussion of a question I might have.

Posted in , , , |

CSS: The Missing Manual (ISBN 0596526873)

Posted by Mike 01/14/2007 at 10:59AM

After reading Slashdot’s review of “CSS: The Missing Manual” by David Sawyer McFarland, I was interested in learning more about CSS so I picked up a copy.

The book gave me a better understanding about the different structures in CSS but what I really learned was how to properly structure HTML, validate HTML, and how valid HTML will improve search engine results for a page i.e. Seach Engine Optimization.
|

I recommend the book for your collection and here are my notes from reading the book …

Posted in , |

decoding email attachments with ActionMailer::Base receive

Posted by Mike 12/30/2006 at 09:35PM

There are lots of references that say you can decode images and other media attachements in email using the receive method of ActionMailer::Base

Ruby On Rails Wiki is one: HowToReceiveEmailsWithActionMailer.

Rails Recipes Recipe #68 “Testing Incoming Mail” is another.

But those references and many others on the internet don’t show you how to really do it.

Here’s how its done …

Posted in , , |


Web Statistics