Skip to content

Instantly share code, notes, and snippets.

View jimwhimpey's full-sized avatar

Jim Whimpey jimwhimpey

View GitHub Profile

Context

Certain conferences have adapted a "Code of Conduct", all derived from the same text. e.g. http://jsconf.com/codeofconduct.html e.g. https://us.pycon.org/2013/about/code-of-conduct/

While I agree with the intent, I strongly object to the particularly wording, for the following reasons:

  • The only thing it's concerned with is harassment, setting a very negative tone. It suggests that unless warned, monitored and policed, many conference attendees will intimidate, insult, grope and stalk each other. It presumes the worst and treats exceptions as the norm. This does not match the actual experience of attendees at events.
class WFModule
include DataMapper::Resource
storage_names[:default] = 'Modules'
property :id, Serial, :field => 'ModuleID'
property :module_name, String, :field => 'ModuleName'
property :module_fields, String, :field => 'ModuleFields'
property :parameters, String, :field => 'ModuleParameters'
property :author, String, :field => 'ModuleAuthor'
property :issue, String, :field => 'ModuleIssue'
property :deprecated, String, :field => 'ModuleDeprecated'
# Fresh ruby 1.9.2, rubygems 1.3.7 and Sinatra 1.0 installs on OS X
# This is the contents of test.rb:
require 'rubygems'
require 'sinatra'
get '/' do
haml :test
end
When I try to run this:
sudo heroku db:push mysql://root:pass@localhost/booksale
I get this:
Taps 0.3 Load Error: no such file to load -- taps/operation
You may need to install or update the taps gem to use db commands.
On most systems this will be: