July 2010
1 post
1 tag
June 2010
2 posts
May 2010
2 posts
Kentucky Derby 136 Race Replay
April 2010
5 posts
1 tag
http://nosql.mypopescu.com/ →
March 2010
6 posts
2 tags
Testing net http with mocks
Here’s a Ruby example for unit testing Net::HTTP posts with Mocha
Here is a link to Mocha mocha.rubyforge.org
1 tag
Startup Recipe
If you’re thinking about starting a software project, here’s the recipe that I’ve been giving people.
Have complete visibility into your feature backlog
(i.e. what is happening with your software)
Use a tool like Pivotal Tracker. Have 1 week iterations. Include features, chores, and bugs and assign points to each feature. Work should be getting done (i.e. stories should be...
pivotal labs is hiring in boulder →
February 2010
4 posts
2 tags
simple comet client
Here’s a simple comet client that I’ve been using to test www.localhash.com
gnip classic sauce
Here’s a snippet of Gnip Classic Java. Sometime in 2009 we were filtering 150,000,000 activities per day, almost 2000 per second, all flowing through the below method.
January 2010
18 posts
1 tag
2 tags
pubsubhubbub-rb
Just open sourced a project on GitHub…
pubsubhubbub-rb
The project is a Ruby port of Google’s PubSubHubbub reference implementation.
http://code.google.com/p/pubsubhubbub/
2 tags
localhash
Working on LocalHash - a basic example of location based webhooks using the geohash algorithm and is possibly a PubSubHubbub extension candidate. The API was implemented using Sinatra, Redis, Thin, and Nginx.
http://www.localhash.com
new mouth watering media site →
3 tags
ActiveRecord MySQL Partitions
Check out the below example of how to create partitioned MySQL tables within a Rails Migration. We’ve had a handful of tables that we continually want to partition and a team member wrote the below.
Here’s the migration snippet
class AddResultsTable < ActiveRecord::Migration
def self.up
create_partitioned_table :results do |t|
The below creates a results table...
2 tags
Rails LRU Memory Store
via snipplr
mySQLgame →
http://magazine.jamsbio.com/2009/01/05/playing-the-... →
2 tags
nginx with thin and monk
The below script is a continuation of my last aws post, however instead of installing Phusion Passenger and Rails, the script installs Thin and Monk. Monk is glue framework for Rack and Sinatra.
Here are the links to the software detailed in the script.
Nginx
Thin
Monk
As before, the first part of the script removes pre-configured ruby packages and installs ruby and rubygems from...
2 tags
nginx with passenger and rails
The below script walks you through setting up Nginx with Phusion Passenger and Rails. The script is intended for use with RightScale and Amazon Web Services (AWS).
Here are the links to the software detailed in the script.
Nginx
Phusion Passenger
Ruby on Rails
The first part of the script removes pre-configured ruby packages and installs ruby and rubygems from scratch.
The...
2 tags
nagios ejabberd check via ruby
Below is an example of using Ruby and xmpp4r to check ejabberd’s status from within nagios
You’ll need to define the below nagios command within you nagios config file and then include the below ruby.
define command {
command_name check_xmpp
command_line ruby /opt/nagios/plugins/check_xmpp.rb --hostname $HOSTADDRESS$ --jid username@domain.com --password password
}
Here is...
Alice’s adventures in algebra: Wonderland solved http://bit.ly/7nB2oI
– barinek
1 tag
aws snapshots with capistrano
Here’s a quick example using Capistrano and amazon-ec2 gems to create Amazon Web Services (AWS) snapshots. instances is a convenience method within our larger cap file.
December 2009
6 posts
2 tags
aws base script
I thought I’d post a quick example of how to use aws and rightscale to setup a basic instance with your local user account. The below is really a mix of our rpm pre- and post- install scripts, although should give you and idea on how to create you own base instance.
The below script installs a few commonly used packages, moves home and opt directories to the ephemeral drive, and creates your...
ohm task queue
gnip 3 iteration average velocity 15 - low of 8, high of 23 since .rb
– barinek
Startup position in Houston http://houston.craigslist.org/eng/1470177775.html
– barinek
1 tag
finally integrated rcov with cruise for gnip - 64% unit 67% integration...
– barinek
October 2009
1 post
1 tag
January 2006
2 posts
1 tag
Real-time E9-1-1 Notification of Potentially...
An E9-1-1 In-Vehicle Telematics Geographic Information System (GIS) for detecting potentially hazardous airborne conditions and notifying Public Safety Answering Points of the condition has been developed in response to a proof of concept request by Greater Harris County 9-1-1 Emergency Network (GHC). Led by Intrado Inc., in conjunction with Ford Motor Company, eLutions Inc., Cross Country...
1 tag
System and method for providing accurate local...
Lucent Technologies Inc. US Patent 7127352
A system and method that provides economical and accurate data for a selected area (jurisdiction) from a centralized location by generating a base-line map from commercially available information and distributing portions of this map to local jurisdictions. Inaccuracies and other information only available locally are stored in a local database....
October 2004
1 post
1 tag
September 2004
2 posts
1 tag
1 tag
January 2004
1 post
1 tag
Real-time Data Discovery and Notification of...
Abstract for Accelerating Site Closeout, Improving Performance, and Reducing Costs through Optimization Conference, June, 2004
A highly scaleable, cost-effective enterprise Electronic Data Deliverable (EDD) management system has been developed to provide government project managers and industry consultants the ability to rapidly and effectively evaluate the progress of environmental restorations...
May 2000
1 post
1 tag