The slides were generated using showoff .
This post is cross-posted at Scaling . at : Four Years of Evolution
We love PostgreSQL at Braintree. Although we use many different data stores (such as Riak , MongoDB , Redis , and Memcached ), most of our core data is stored in PostgreSQL. It's not as sexy as the new databases, but PostgreSQL is consistent and incredibly reliable, two we value when storing payment information.
There are two main types of unit tests: state based and interaction based. State based tests rely on the verification of state. These tests typically perform some operation and then check the state of the resulting object:
user = User. new :title => 'manager' user. promote ! user. title . should == 'senior manager'
In contrast, interaction based tests rely on verification of the interaction between objects. This is generally done with mocks or stubs:
If you're like me, you've switched all of your websites to paperless statements. No more bank, credit card, or utility statements arrive in the mail. But you would still like to have copies of these important documents, so you log in to each website and download thestatements.
statement_hoarder comes in. It automates this process across many different sites.these statements is tedious and time consuming. That's where
This post is cross-posted at Data . for with Curator
The NoSQL movement has brought us a wave of new data stores beyond the traditional relational databases. These data stores come with their own tradeoffs, but they provide some incredible benefits. At Braintree , we are moving in the direction of using Riak as our next generation data store. We love its focus on scalability and availability. Servers can fail without causing any downtime, and we can add more capacity by simply adding more servers to the cluster.
This post is cross-posted at http://www.braintreepayments.com/devblog/untangle-domain-and-persistence-logic-with-curator .
Ruby on Rails is a great web framework, and we use it extensively at Braintree to build web apps. One criticism of , however, is that it encourages tight coupling of domain and persistence layers. The convention in Ruby on Rails is for domain objects to extend ::Base and directly gain persistence. This makes …
I have wanted a Home theater PC for awhile to play movies, music, Hulu , and more through my TV. I thought briefly about buying a prebuilt device (like a Roku ), but I decided to hack one together myself. My main motivation was flexibility and the fact that I like to tinker. Furthermore, I wanted a device with a hard drive that I could load up with files and play directly to a TV.
I asked around for recommendations, and several of my coworkers recommended Zotac …
We have a suite of ruby applications at Braintree . There are many times when we need to run more than one of these apps at the same time. For example, we might need to run our login app in addition to whichever app we are working on.
We use foreman as our process launcher, but foreman does not handle running other projects in other rvm gemsets (and possibly ruby versions). One of my fellow developers, Tony Pitluga , released a gem called subcontractor that handles these cases.
I just released version 1.0 of speclj-growl . This is a plugin for the speclj test framework for clojure which adds Growl popups for each spec run. For those unfamiliar with Growl , it is a notification system for which allows applications to show custom messages in system popups.
speclj comes with autotest built in. You can start an autotest process which will monitor the filesystem for changes. When tests or code change, the tests will …
For example, the Jukebox2 project depends on a bunch of java audio libraries like Jaad that do not live in a Maven repository. We tried checking these jars directly into the lib directory, but leiningen would delete these jars whenever we ran "lein deps."