Instantly share code, notes, and snippets.

View create_import_csv.rb
require 'yaml'
require 'csv'
require 'pathname'
SPARC_HOME = Rails.root
CONSTANTS_FILE = SPARC_HOME + "config/constants.yml"
OUTPUT_DIR = SPARC_HOME + "db/seeds/permissible_values/2.0.5"
EXTRACT_KEYS = {
"affiliations" => "affiliation_types",
"document_types" => "document_types",
View keybase.md

Keybase proof

I hereby claim:

  • I am chrisortman on github.
  • I am chriso (https://keybase.io/chriso) on keybase.
  • I have a public key ASDxxTaq45u7EKuikWvz-HevdVWdB-a-QmJzRb8zTj9ElQo

To claim this, I am signing this object:

View long_run.py
from sys import argv
from time import sleep
defaults = [
"Output",
30,
.25
]
for index, arg in enumerate(argv[1:]):
View migrate.exs
for id <- Repo.all( from r in "recipients", select: r.id ),
{id, uid} = {id, Ecto.UUID.bingenerate},
do: from(r in "recipients", where: r.id == ^id, update: [set: [uid: ^uid]])
|> Repo.update_all([])
View README.md

I don’t think there’s anything in agile that has no value. I’ve seen times where stand-ups, sprint planning, estimating, and time-boxed iterations weren’t optimal, but were used anyway. (scrum wikipedia entry lists most of them as when you shouldn’t use scrum) I think the best results come from identifying your feedback loops/channels and making them as small as possible.

I also think it is a mistake to try to insert a product owner / scrum master in between the stake holders and the people doing the work (assuming the stakeholders understand the problem domain). When you can sit the team next to the person who has the problem is when you can get the best results.

I’ve been places that have said we’re using agile, because they were doing scrum because they had a daily stand up and user stories and a project manager whose job it was to gather requirements and deliver them to programmers who then had to estimate those stories and then sign up for them in a sprint planning meeting and …. but at the same tim

View test-me.sh
set +e
RAILS_ENV=test bundle exec rake db:schema:load
bundle exec rspec spec/models/arm/create_line_items_visit_spec.rb:57
test_result=$?
echo Test complete
git checkout HEAD Gemfile.lock
exit $test_result
View test.rb
def add(x, y)
x + y
end
it 'adds' do
# does this anti-pattern have a name?
add(1, 2).must_equal(1 + 2)
end
#vs
View grid.elm
import StartApp.Simple as StartApp
import Mouse
import Html exposing(..)
import Html.Attributes exposing(style,attribute)
import Html.Events exposing(..)
import Signal exposing(..)
main =
StartApp.start { model = model, view = view, update = update }
View main.elm
import Html exposing (text)
type alias ID = Int
type alias Minute = Int
f : ID -> Int
f x = x * 2
g : Minute -> Bool
g x = if x > 10 then True else False
View open-hack-announce.md

You don't want to be that bitter guy in the corner who had the great idea 5 yrs ago but never executed it. -@jasonlankow

Finish those side projects on github. Learn that new language or framework. Contribute to open source. If you make small consistent progress you will get something done. You just need a dedicated time and space.

Come to the North Liberty CoLab on the second Thursday of every month. A productive environment with a group of peers for when you need that second set of eyeballs.

Hope to see you there,

Chris