Dec 19 2012

Code With Clarity

Whenever you write code, you hold certain assumptions in your mind. You expect some conditions to be met, and you promise that, if those conditions are valid, you’ll do something in return. But sometimes, your code fails to convey those…

MojoTech

Engineering

Dec 07 2012

The One Thing You Need To Know About Bang Methods

You have probably stumbled across code like this (or maybe written it yourself):…

MojoTech

Engineering

Dec 04 2012

Retina ready adaptive svgs for IE8 +

If you find yourself saving a 2X version of an asset for your website STOP.. seriously STOP right now.…

MojoTech

EngineeringDesign

Dec 03 2012

Dr. Mojo

Sam: “Hey guys, I’m gonna try building a game in HTML5, and then we’re all gonna write modules to try and beat it.” Everyone: “Awesome, let us know if you need any help.”…

Nick Kishfy

EngineeringMojoTech

Nov 29 2012

Winners: Boston AngelHack 2012

Our very own Sam Saccone and Ryan Coughlin competed last weekend in Boston at AngelHack. They had 24 hours to build a product and demo it to the judges. That product was Snowcast. (see a video of all of Sam’s Git…

MojoTech

EngineeringMojoTech

Nov 09 2012

Introducing Batchelor

Imagine you have a Rails model that does not have an integer primary key. Also imagine that you have a massive number of these models and not a whole lot of RAM. “No problem,” you’d say, “I’ll just use find_each,”…

MojoTech

EngineeringMojoTech

Oct 29 2012

Blimey Brackets

My job at MojoTech often involves editing sophisticated CSS rules. Sometimes, a single rule is so large that it cannot be viewed all at once. In these cases, it can be hard to remember the indentation level for a rule.…

MojoTech

Engineering

Oct 12 2012

Easy FAQs with I18n

I stumbled across an interesting way to use I18n recently when modifying a FAQ section on a site. FAQs by their nature tend to be a constantly tweaked part of the site. Having to constantly change copy or add and…

MojoTech

Engineering

Oct 10 2012

The 4Cs: A Code Review Mnemonic

I’ve never been much into buying jewelry. However, even I knew that there was one particular purchase that would warrant careful thought and consideration: the diamond engagement ring for my future-fiancee. The diamond industry is more than happy to accommodate…

Chris Shoemaker

Engineering

Oct 10 2012

Dynamic Image Loading For Adaptive Designs

For our new website we use some large images.…

MojoTech

Engineering