#Council of Chiefs
9:00PM November 3, 2012
Camp Lazarus
4422 Columbus Pike
Delaware, OH 43015
Goal of the Meeting: To make decisions regarding the specifics of Conclave 2013
get canon sdk working with openframeworks | |
1. Register as canon developer & download canon sdk | |
2. EDSDK.framework in canon sdk download doesn't seem to be working. Download the latest EOS Utility from http://usa.canon.com/cusa/support/consumer/eos_slr_camera_systems/eos_digital_slr_cameras/ for you camera. You might not have a previous EOS Utility install or a CD. You can force the installer to install EOS utility: | |
1/ Copy the updater app from the dmg to your desktop | |
2/ Right click and choose Show Package Contents… | |
3/ Delete the file Contents/Resources/Info.datx | |
4/ After that run the updater app again. You should be able to install the EOS Utility |
#Council of Chiefs
9:00PM November 3, 2012
Camp Lazarus
4422 Columbus Pike
Delaware, OH 43015
Goal of the Meeting: To make decisions regarding the specifics of Conclave 2013
class TripsController < ApplicationController | |
class Action < ApplicationController::Action | |
end | |
class New < Action | |
expose(:trip) { Trip.new(params[:trip]) } | |
end | |
class Create < New | |
def call |
Latency Comparison Numbers | |
-------------------------- | |
L1 cache reference 0.5 ns | |
Branch mispredict 5 ns | |
L2 cache reference 7 ns 14x L1 cache | |
Mutex lock/unlock 25 ns | |
Main memory reference 100 ns 20x L2 cache, 200x L1 cache | |
Compress 1K bytes with Zippy 3,000 ns | |
Send 1K bytes over 1 Gbps network 10,000 ns 0.01 ms | |
Read 4K randomly from SSD* 150,000 ns 0.15 ms |
Don't be blind when making adjustments for performance. Measure, measure, measure.
New Relic is a great product for monitoring the peformance of your application. They provide performance management for Ruby, PHP, .Net, Java and Python. Today's presentation is going to focus on Ruby and specifically Rails, however, the basic New Relic overview will be applicable to any of the platforms mentioned. Integrating New Relic into your Rails application is as easy as signing up and adding the gem to your Rails application's Gemfile.
When measuring performance in the browser or on the server New Relic provides Apdex scores. Apdex is
#!/usr/bin/env bash | |
# This is an RVM Project .rvmrc file, used to automatically load the ruby | |
# development environment upon cd'ing into the directory | |
# First we specify our desired <ruby>[@<gemset>], the @gemset name is optional, | |
# Only full ruby name is supported here, for short names use: | |
# echo "rvm use 1.9.3" > .rvmrc | |
environment_id="ruby-1.9.3-p0@cincirb_katas" |
class BusinessStore < ActiveRecord::Base | |
attr_accessible :website, :name, :address, :phone_number, :online_store | |
has_many :products | |
end | |
require 'uri' | |
require 'psych' | |
require 'net/http' | |
require 'meme' # Install meme_generator | |
module Campfire | |
class API | |
attr_reader :uri, :token, :pass |
* executing `deploy' | |
* executing `deploy:update' | |
** transaction: start | |
* executing `deploy:update_code' | |
updating the cached checkout on all servers | |
executing locally: "git ls-remote git@github.com:ryw/peoplebest.git master" | |
* executing "if [ -d /home/deploy/public_html/peoplebest/shared/cached-copy ]; then cd /home/deploy/public_html/peoplebest/shared/cached-copy && git fetch -q origin && git reset -q --hard e18b14000c60255f8a438bba465f25c11899a44c && git submodule -q init && for mod in `git submodule status | awk '{ print $2 }'`; do git config -f .git/config submodule.${mod}.url `git config -f .gitmodules --get submodule.${mod}.url` && echo Synced $mod; done && git submodule -q sync && git submodule -q update && git clean -q -d -x -f; else git clone -q git@github.com:ryw/peoplebest.git /home/deploy/public_html/peoplebest/shared/cached-copy && cd /home/deploy/public_html/peoplebest/shared/cached-copy && git checkout -q -b deploy e18b14000c60255f8a438bba465f25c11899a44c && git submodule -q ini |
# backup redis databases to s3 on the engineyard platform | |
require 'zlib' | |
require 'rubygems' | |
require 'crack/json' | |
require 'aws/s3' | |
class Redis2S3 | |
DATABASE = '/db/redis/redis_state.rdb' |