Oct 03 2012
Resque is a great library for creating background jobs. Usually these jobs are fire and forget tasks that may take considerable computation time, or may contain expensive operations. But what if you need to monitor these processes after they are…
MojoTech
EngineeringSep 18 2012
In ruby (and in CoffeeScript) you can say:…
MojoTech
EngineeringSep 17 2012
Meet Bob. Bob works in a warehouse gathering items to ship out for fulfillment of online orders. Customers hate to pay for extra shipping, so companies like Bob’s often group items going to the same destination together into the same…
MojoTech
EngineeringAug 17 2012
Maybe it’s a “duh” moment or an amateur mistake but I could not find this information anywhere. To make a PUT or POST request in Node.js you need to stringify your parameters, place them in the body, and make sure…
MojoTech
EngineeringJul 16 2012
stickyMojo is a contained sticky sidebar plugin for jQuery. It is lightweight, fast, flexible and compatible with Firefox, Chrome, Safari, and IE8+. It will degrade gracefully in older versions of IE. After looking around for a contained fixed position sticky sidebar…
MojoTech
EngineeringJul 13 2012
I didn’t know much about file encodings prior to this week. I opened a file in Ruby for reading, or writing and the encoding defaulted to UTF-8. I was happily ignorant about directly interfacing with this layer of data storage.…
MojoTech
EngineeringJul 09 2012
On many Rails projects, the application.js file can quickly go from a simple manifest (if you’re using the asset pipeline) to a gigantic unmaintainable mess of objects, functions, and on DOM ready initializations. There are many components of your site…
Aaron Rosenberg
EngineeringJul 06 2012
Often I find myself needing to query multiple web API’s while iterating over a collection and then use that data to query another web service—fun stuff eh? So in other languages I would simply wait until I received the message and…
MojoTech
EngineeringJul 04 2012
Here’s a short HTML5 presentation that I put together to help developers get started on Node.js quickly. Node is event-driven and has a non-blocking I/O model, which makes it great for building real-time apps that run across distributed systems. —Sam Saccone…
MojoTech
EngineeringJun 29 2012
So for a project I was working on I needed to implement a custom button to trigger a select list. Instead of using a JS plugin I decided to roll a very simple solution that yielded a highly useful bit of…
MojoTech
Engineering