robots.thoughtbot.com Archives - 30 March 2015, Monday

  • Human-Centered Typography

    robots.thoughtbot.com 27 Mar '15, 9pm

    The fundamental goal of typography is to make text easy and enjoyable to read. Typography has its own set of rules and guidelines. From there, we bend the rules to prioritize how to make the text easier to read. Text as an Interface Treating text as an interface is as much about usabi...

  • Announcing Testing Rails

    robots.thoughtbot.com 27 Mar '15, 3pm

    Writing effective tests is a necessary part of Ruby development. A good test suite guides you towards maintainable code. It allows you to make major changes to your application and be confident that everything still works. We think everyone should know how to write a successful test s...

  • Sass Source Maps + Chrome = Magic

    robots.thoughtbot.com 26 Mar '15, 12am

    Have you ever wanted your changes from Chrome’s DevTools to stick – or wanted to edit Sass files directly in the inspector? If your typical workflow involves making design changes within DevTools only to return to your text editor for application, you know the pitfalls. It’s hard to r...

  • Thinking in Types

    robots.thoughtbot.com 23 Mar '15, 7pm

    This approach translates well to Haskell thanks to a feature called type classes . They provide a concise, flexible, and completely type safe way to define interfaces which multiple types can implement. In order to understand the problem I want to discuss, we’ll need to digress just a...

  • A Closer Look at Test Spies

    robots.thoughtbot.com 19 Mar '15, 5pm

    When we use a test spy in our unit tests instead of a mock object , we make some tradeoffs. This article explores our decisions. An example spy Here is a test written in RSpec : require "spec_helper" describe PersonFinder, ".json_for" do it "notifies Airbrake of Clearbit API exception...

  • Xcode and git: bridging the gap

    robots.thoughtbot.com 10 Mar '15, 5pm

    Apple integrated git into Xcode 4 in 2011 much to the relief of iOS developers everywhere. Unfortunately when collaborating on projects with multiple developers, Xcode and git can still seem miles apart. Here are some ways that we can bridge the gap. .gitignore The first adjustment is...

  • Announcing pick

    Announcing pick

    robots.thoughtbot.com 10 Mar '15, 12am

    Calle Erlandsson and Mike Burns March 10, 2015 news open source unix c pick is a fuzzy search tool for the command-line. It is used to select an entry from a list. pick reads a list of choices on stdin and outputs the selected choice on stdout . Therefore it is easily used both in she...

  • The Bourbon Tee

    The Bourbon Tee

    robots.thoughtbot.com 09 Mar '15, 9pm

    You love Bourbon; we love Bourbon. As a matter of fact, we love Bourbon so much that we’ve designed an official tee shirt for you to sport. We’re selling it for a limited time (until March 24th) and it’s only $20, so grab one and represent Bourbon today! The specs Comes in “Orange Cru...

  • What Not to Ask

    robots.thoughtbot.com 07 Mar '15, 7pm

    Avoid giving away too much information. A good question should be goal oriented. Asking someone to, “add a task for sending a proposal to your client” makes it difficult to see how a real person would think through a problem, because you told them how to map their problem to an action...

    Related:
    1. Tell, Don't Ask robots.thoughtbot.com 04 Mar '15, 11pm
  • 5 Useful Tips For A Better Commit Message

    robots.thoughtbot.com 07 Mar '15, 5pm

    You’re already writing decent commit messages. Let’s see if we can level you up to awesome. Other developers, especially you-in-two-weeks and you-from-next-year, will thank you for your forethought and verbosity when they run git blame to see why that conditional is there. The first l...

  • It’s Only Color

    robots.thoughtbot.com 06 Mar '15, 1pm

    We’re feeling pretty good about this though, so let’s bring in color – remember to embrace simplicity. Pick three colors to work with and stick with them. My philosophy is to have two colors do the heavy lifting and reserve a third in a sidekick role. It’s something that can serve as ...

  • Embracing Ember: Routes

    Embracing Ember: Routes

    robots.thoughtbot.com 05 Mar '15, 7pm

    Modal dialogs are a common UI component often used to draw attention to vital pieces of information. FormKeep’s payment flow involves presenting a Stripe payment form embedded within a modal dialog . We went through a few implementations, each of which involved tradeoffs between user ...

  • Tell, Don't Ask

    robots.thoughtbot.com 04 Mar '15, 11pm

    And now, a friendly message from your local Tell, don’t ask Department. Example 1 Not so good: <% if current_user.admin? %> <%= current_user.admin_welcome_message %> <% else %> <%= current_user.user_welcome_message %> <% end %> Better: <%= current_user.welcome_message %> Example 2 Not...

    Related:
    1. What Not to Ask robots.thoughtbot.com 07 Mar '15, 7pm
  • thoughtbot in Chicago

    thoughtbot in Chicago

    robots.thoughtbot.com 03 Mar '15, 7pm

    We are thrilled to announce that we have opened an office in the Windy City ! We’ll do the same work we do in Boston, Denver, New York, Philly, Raleigh, Austin, Portland, San Francisco and Stockholm: turning clients’ ideas into the right product and contributing to the local community...

  • Announcing Maintaining Open Source Projects

    robots.thoughtbot.com 02 Mar '15, 12am

    We are happy to announce the beta release of the book we’ve been working on: Maintaining Open Source Projects . If you want to learn the soft skills needed to grow and maintain an open source project, this book is for you. Leading open source projects comes with non-technical responsi...

  • Parallel Gem Installing Using Bundler

    robots.thoughtbot.com 28 Feb '15, 12pm

    Do you realize how much time you’ve spent running bundle install ? ] No more sword fighting! Bundler 1.4.0 adds support for parallel installation . You can pass in --jobs SIZE as a parameter to bundle config 1 . I recommend setting the size to one less the number of CPU cores on your ...

  • Announcing Sassquatch: A Zero-setup Sass Previewer for OS X

    Announcing Sassquatch: A Zero-setup Sass Previewer for OS X

    robots.thoughtbot.com 27 Feb '15, 1pm

    We’re pleased to release Sassquatch , a native Sass previewer for OS X. Between client projects and open source tools, we spend a considerable amount of our time writing Sass. Typically, we would have a Web server running locally and a process monitoring Sass changes such as Rails, Gu...

  • jq is sed for JSON

    robots.thoughtbot.com 25 Feb '15, 12am

    sed is a useful tool that reformats and transforms plain text. But sed is not a good match for structured data like JSON. jq is a sed-like tool that is specifically built to deal with JSON. Installation Install jq on OS X: brew install jq Or on Ubuntu: apt-get install jq Your packagin...

  • The FormKeep Zapier Trigger

    robots.thoughtbot.com 24 Feb '15, 12am

    FormKeep has long supported webhooks that allow you to connect your form to the most popular apps on the internet. Today, it got a whole lot easier. We’re happy to announce that we just launched an official FormKeep trigger on Zapier’s platform! Zapier automates workflows between hund...

  • It’s Only Color

    robots.thoughtbot.com 23 Feb '15, 8pm

    We’re feeling pretty good about this though, so let’s bring in color – remember to embrace simplicity. Pick three colors to work with and stick with them. My philosophy is to have two colors do the heavy lifting and reserve a third in a sidekick role. It’s something that can serve as ...

  • Opening an Office in Portland

    Opening an Office in Portland

    robots.thoughtbot.com 23 Feb '15, 12am

    Good news! We are opening an office in Portland where we will be keeping it weird and working closely with local companies. We are happy to offer our services of building high quality web and mobile apps face-to-face, in the Pacific Northwest. Diana and Bernerd are already in Portland...

  • Rails on Docker

    robots.thoughtbot.com 21 Feb '15, 2am

    Docker is a tool which allows developers to define containers for applications; this allows for control over the operating system and software running the application. If you’re running against an older version of MySQL, a patched version of Ruby, or other dependencies which make sett...

  • Test Drive Your Dockerfiles with RSpec and ServerSpec

    robots.thoughtbot.com 20 Feb '15, 11pm

    Docker , a portable, lightweight runtime and packaging tool, is all the rage these days. It’s hard to go to any sort of tech meetup without overhearing people gushing to each other about how cool it is. I’d written some Dockerfiles but wanted to start test driving them. It’s actually ...

  • Announcing Goal-Oriented Git

    robots.thoughtbot.com 20 Feb '15, 7pm

    We’re very pleased to announce the beta release of our latest book: Goal-Oriented Git . If you want to learn how to use Git without worrying too much about what’s going on under the hood, then this book is for you. Every chapter will take something that Git can do for you—from trackin...

  • ReactiveCocoa and Core Data Concurrency

    robots.thoughtbot.com 20 Feb '15, 12am

    Recently, as discussed on some episodes of Build Phase , the iOS developers in San Francisco have finally gotten on the ReactiveCocoa bandwagon. While there are a lot of great resources to help you get up and running with the functional reactive programming paradigm, one thing that I ...

  • Rails on Docker

    robots.thoughtbot.com 19 Feb '15, 12am

    Docker is a tool which allows developers to define containers for applications; this allows for control over the operating system and software running the application. If you’re running against an older version of MySQL, a patched version of Ruby, or other dependencies which make sett...

  • Test Drive Your Dockerfiles with RSpec and ServerSpec

    robots.thoughtbot.com 17 Feb '15, 6am

    Docker , a portable, lightweight runtime and packaging tool, is all the rage these days. It’s hard to go to any sort of tech meetup without overhearing people gushing to each other about how cool it is. I’d written some Dockerfiles but wanted to start test driving them. It’s actually ...

  • Maybe Haskell, our newest book

    robots.thoughtbot.com 16 Feb '15, 3pm

    For the past few months, we’ve been working on a book about Haskell. Specifically, we’ve been writing about Haskell’s Maybe data type, which is used to represent values that may or may not be present. This is the Haskell alternative to Ruby’s nil . You’ll find a similar concept in oth...

  • Building Haskell Projects with Halcyon

    Building Haskell Projects with Halcyon

    robots.thoughtbot.com 16 Feb '15, 12am

    With our first production Haskell application, Carnival , we found that slow compile times and deployment to Heroku were two pain points. Since that original blog post, a number of projects have made headway attacking these issues in various ways. Of these, the front-runners in my min...

  • Announcing Cultivate Colorado: a Competition for Social Good

    Announcing Cultivate Colorado: A Competition for Social Good

    robots.thoughtbot.com 13 Feb '15, 8am

    thoughtbot Denver is excited to announce the kickoff of our social good challenge: Cultivate Colorado . Cultivate Colorado is a competition that offers Colorado organizations the opportunity to receive custom design and development for an app dedicated to solving a social or environme...