Rails 7’s load_async Doesn’t Play Well with Multi-Tenant Apps

Disclaimer: I can’t speak for all multi-tenant apps but I suspect the vast majority of those which use separate DB schemas will run into the same issue I ran into. I was excited to try out the new Relation#load_async feature in Rails 7 to speed up some pages on SwingTradeBot. I upgraded the app to… Continue reading Rails 7’s load_async Doesn’t Play Well with Multi-Tenant Apps

Slow Responses from the BrainTree Ruby Gem? Try This Fix.

A few weeks ago I was tasked with trying to mitigate some timeout issues in a client’s Rails app making BrainTree calls. This was becoming more of a problem as the client’s users built up more & more history in BrainTree. Apparently you can’t paginate the results or ask BrainTree to exclude certain parts of… Continue reading Slow Responses from the BrainTree Ruby Gem? Try This Fix.

Calculating Standard Deviations in Ruby on Rails (and PostgreSQL)

I need to calculate some Bollinger Bands (BBs) for SwingTradeBot, which is built in Rails 4. Here’s a quick definition of Bollinger Bands: Bollinger BandsĀ® are volatility bands placed above and below a moving average. Volatility is based on the standard deviation, which changes as volatility increases and decreases. So I needed to do some… Continue reading Calculating Standard Deviations in Ruby on Rails (and PostgreSQL)

I’ve Finally Found a Rails 4.x Blogging Engine / Gem

I can’t believe how difficult it’s been to find a good solution for plugging a simple blog into an existing Rails app. I wanted to add a blog to SwingTradeBot, the new site I’m building but most answers to this question that I’ve found say to either use RefineryCMS or “roll your own. Well I… Continue reading I’ve Finally Found a Rails 4.x Blogging Engine / Gem

Follow Your Favorite NFL Team on Your iPad in Flipboard

With N4MD’s new NFL coverage it’s simple to stay up-to-date on your favorite pro football team on your iPad. Simply add your team to your Flipboard favorites and you’ll be informed of all the important team news all season long. Here’s how to add your team to Flipboard: Launch Flipboard and click the “+ More…”… Continue reading Follow Your Favorite NFL Team on Your iPad in Flipboard

Technorati Beta

Check out the revamped (and well designed) Technorati. Here’s what’s new in the beta release: We’ve improved the user experience, making Technorati accessible to more people and, specifically, people who are new to blogging. We’ve tried to make it very simple to understand what Technorati is all about, and make it easy to understand how… Continue reading Technorati Beta

Tabbed Browsing in IE 6

Too little, too late? A ploy to get you to install the MSN search toolbar? Weeks after promising tabs in its upcoming IE 7 release, Microsoft made the long-awaited browsing feature available for IE 6 through its MSN toolbar. With the version of MSN Search Toolbar made available Wednesday, IE 6 gains the ability to… Continue reading Tabbed Browsing in IE 6

Interview with a Link / Comment Spammer

The Register interviewed a link spammer who revealed some of his methods and motivation. The bottom line — spammers can make up to seven figure incomes from some simple computer code. Some key points: For even a semi-competent programmer, writing programs that will link-spam vulnerable websites and blogs is pretty easy. All you need is… Continue reading Interview with a Link / Comment Spammer