Tools

Given I am signed in using capybara-webkit

Inspired by the blog post Capybara, Cucumber and How the Cookie Crumbles, I wanted to write a Cucumber step that signs a user directly into my application, without the need to navigate to a log-in page and submit a form. I am not thrilled about the stubbing and monkey patching discussed in that post, and...

Read More »
Also posted in Testing, Web | Tagged , , , , , , | Leave a comment

Balancing safety and convenience

In most languages, such as C, C++, Ruby, Python, and Java, if you ever attempt to send a message to nil (or dereference a NULL pointer), one of two things will happen: either your program will crash, or a runtime exception will be thrown, which could also lead to your program crashing.

Also posted in Languages, Uncategorized | 6 Comments

Your Business Will Fail Without Maintenance and Improvement

Even since cavemen invented the wheel, people have been using specially designed tools to make their work and their day-to-day lives simpler. Can you think of a single profession today that does not benefit from the use of a tool of some kind? In an ideal world, a tool would be something that you invest…

Read More »

Also posted in Culture, Iterative Development, Process & Practices, Risk, Workplace | Tagged , , , | Leave a comment

2D Axis Aligned Bounding Box Trees

Here at AO we have a few game developer hobbyists. I’ve been tweaking the basic 2D collision detection in Gamebox for awhile now. When Chipmunk 6 released with performance gains, I decided to take a look. Part of the secret sauce was the use of an axis-aligned bounding box tree (AABB tree). Porting this simple…

Read More »

Also posted in Design & Development | Tagged , , | Leave a comment

Less Perplexing Terminal Multiplexing with tmux

Tmux has been getting a lot of attention lately. As George Nachman works toward a deeper integration of iTerm2 with tmux, more people are becoming aware of the ‘other’ terminal multiplexer. Around the office, people have been asking how I use tmux. While I’m also an avid iTerm2 user, I’m not sure if the new…

Read More »

Also posted in Pairing, Unix, Linux, and Bash | Tagged , , , , , | 1 Comment

Safeguarding Your Productivity

Recently, my Mac greeted me with a kernel panic (an unusual occurrence for most people). It seems that one of the RAM modules in my Mac failed. It shouldn’t have been terribly exciting. Things like this happen. My Mac had two SO-DIMMS (2x4GB) so it shouldn’t have been a problem. Regrettably, when the RAM module…

Read More »

Posted in Tools | Tagged , , | 1 Comment

Understand Design or Fail

Design is a loaded word. It means something different depending who you talk to. For example, design in the context of an innovation services firm (like AO) means something entirely different than design at an ad agency. Unfortunately for many, lack of understanding for what design is and what it can do for products, goods…

Read More »

Also posted in Design & Development, Visual Design | Tagged , , , | Leave a comment

Highlight strings in Cucumber features with Vim

Cucumber highlighting in Vim

I am currently working on a project that is using Cucumber for its system/integration testing, and I am using MacVim as my primary editor. MacVim comes with Tim Pope’s excellent vim-cucumber plugin pre-installed, so you get syntax highlighting of .feature files right out of the box. After having used TextMate to edit Cucumber features in…

Read More »

Posted in Tools | Tagged , , | Leave a comment

A Modern Web Development Syllabus

If you have programming or Computer Science experience, want to take the plunge into web development, and don’t know where to start, then start here. Before you signup for Pusher and Twilio and start copying and pasting Ruby and JavaScript code, you should have a firm understanding of how the many pieces and layers of…

Read More »

Also posted in Design & Development, Languages, Web | Tagged , , , , , , | 21 Comments

Using CMock when C is oversensitive

CMock is an extremely useful tool that can make testing C programs nearly painless. Employing CMock is usually straightforward, but here are a few common sticking points and ways to work around them:

Also posted in Design & Development, Embedded Software, Testing | Tagged , , , , , | Leave a comment