For the past 3 years, I’ve worked primarily in Sublime Text, and it’s a fantastic application. I use it for Ruby, HTML, CSS, Javascript, CoffeeScript, and more. Today, Github open sourced their in-house developed text editor, Atom. A quick day working with Atom reveals that it may be a worthy
While looking at performance optimizations for a rails project, I noticed these lines in my debug console: ActsAsTaggableOn::Tag Load (0.5ms) SELECT “tags”.* FROM “tags” INNER JOIN “taggings” ON “tags”.”id” = “taggings”.”tag_id” WHERE “taggings”.”taggable_id” = $1 AND “taggings”.”taggable_type” = $2 AND (taggings.context = (‘tags’)) [[“taggable_id”, 103], [“taggable_type”, “Prediction”]] This makes sense,
As some readers might know, I’ve recently joined the team at Knoda. Based in Kansas City, Knoda provides people with a way to make their predictions, let their friends (and enemies) vote, and hold everyone accountable to the results. Sound like fun? Well, hurry over to the App Store and
While visiting the Play Framework website, I noticed a new banner in the top right corner. Perhaps “new” isn’t correct – I’ve been almost exclusively in Node.js and Rails land for the past 6 months, so I might be behind the times on this one. Following the links takes us
Update 10/10/2013 – A good point was made that doing the array creation isn’t really going to be different between the libraries. I’ve modified the find/map/lazy samples to reflect this, and updated the numbers appropriately. Fast code is fun. And nothing is more fun than making your application faster by
Any sizable web application needs validation. Doing it yourself is for the birds, so I wanted to incorporate a backbone plugin to help solve the problem. For this example I chose to use Backbone.Validation. Start with a basic framework. Brunch Application Assembler is a great way to bootstrap these projects.
We’ve all seen them – builder patterns that make object construction clean and readable. person().named(‘Bob’).withSpouse(‘Alice’).bornOn(’01-26-1982′).build() I used to do these all the time in Java (we called them fluent interfaces), and I just realized today that I had no idea how to do this style in Coffeescript. Well, lets remedy
What’s your database of choice? For the next few months, I’ll be working with the team at LocalRuckus, building a new Node.js API and application. As a small shop with no dedicated Sys Admin or Dev Ops, its essential that we find Node.js hosting that is flexible, fast, and cost-effective.
On a recent trip to San Diego, my wife and I crossed the U.S./Mexico border at San Ysidro to visit the lovely city of Tijuana. A 5 minute walk across the border was all it took to enter Mexico. After a few hours of touring the Mexican shops (and the
Heroku provides a free add on for running scheduled jobs. This provides a convenient way to run scheduled tasks in an on-demand dyno, freeing your web dynos to focus on user requests. I’m currently writing a node.js application in coffeescript that has some modest job scheduling needs. Heroku’s documentation