Skip to content

Instantly share code, notes, and snippets.

@jwieringa
jwieringa / partTwo.markdown
Created January 9, 2012 10:07
The Test of a Hypotheses: The Logic and Force of Auxiliary Hypotheses

The Test of a Hypotheses: The Logic and Force of Auxiliary Hypotheses

Crucial tests on hypotheses (in the form of [modus tollens][wiki1]), where a hypothesis is decisively refuted, are impossible in science because it's possible to save a hypothesis from a false test by proactively revising auxiliary hypotheses or a change in test conditions. The following demonstrates the reliance upon auxiliary hypotheses:

If (H and A), then I
not I
not (H and A)
@jwieringa
jwieringa / lectureNotes.md
Created February 27, 2012 03:53
Modal Thinking

Using and Understanding Models

  1. Understand Patterns
  2. Predict Points
  3. Produce Bounds
  • Range of possibilities
  1. Retrodiction
  • What was the past like?
  1. Predict Other Stuff
  • Model showed another planet present even though it couldn't be seen
@jwieringa
jwieringa / scrappyAcadamy.markdown
Created February 27, 2012 03:54
Scrappy Acadamy

Scrappy Academy*

** Disclaimer: All subject to review, change, and overall better scrappiness **

Goals

  1. Self study group that follows hungry academy course
  2. Pick one open source project to contribute to
  3. Invite Ruby community members to weekly meetings as mentors

Values

@jwieringa
jwieringa / example.feature
Created March 9, 2012 21:34
Cucumber Example
# Below is an example of a User Story turned into a Cucumber feature
User Story
----------
As a <Insert Role>
I want <The Tool>
So that <Insert Business Value>
If a customer enters a credit card number that isn’t exactly 16 digits long, when they try to submit the form, it should be redisplayed with an error message advising them of the correct number of digits.
@jwieringa
jwieringa / gist:3387435
Created August 18, 2012 15:13
power_enum install error on 1.8.7
  1. While running bundle install on a project, I ran into the following error:
ArgumentError: /Users/jason/.rbenv/versions/1.8.7-p358/lib/ruby/site_ruby/1.8/rubygems/requirement.rb:72:in `parse': Illformed requirement ["#<YAML::Syck::DefaultKey:0x11418fa78> 0.2.1"]
An error occurred while installing power_enum (0.6.2), and Bundler cannot continue.
Make sure that `gem install power_enum -v '0.6.2'` succeeds before bundling.
  1. According to Bundle, it was getting hung up on an illformed Gemspec:
@jwieringa
jwieringa / gist:3588181
Created September 1, 2012 21:37
Ripped from Specification by Example

Step 1

Identify what the business goal is for building software.

Business goal

Increase repeat sales to existing customers by 50% over the next 12 months

Step 2

From the business goal, derive the scope of the feature(s)

@jwieringa
jwieringa / crash.log
Last active October 18, 2015 19:28
terraform 0.6.4 crash log using vsphere provider
➜ terraform git:(master) ✗ terraform apply
vsphere_virtual_machine.web: Creating...
disk.#: "" => "1"
disk.0.size: "" => "40"
domain: "" => "vsphere.local"
memory: "" => "4096"
name: "" => "terraform_web"
network_interface.#: "" => "1"
network_interface.0.ip_address: "" => "<computed>"
network_interface.0.label: "" => "10.112.70.0"
@jwieringa
jwieringa / .gitignore
Created October 20, 2015 23:43 — forked from karmi/.gitignore
Example Nginx configurations for Elasticsearch
nginx/
!nginx/.gitkeep
!nginx/logs/.gitkeep
src/
tmp/
@jwieringa
jwieringa / gist:4c35a4fe9676df78afcd
Created October 30, 2015 00:39 — forked from ralph-tice/gist:3d6e5b2076cbc2900aaa
terraform for 3 AZ VPC with NAT instance with autorecovery
###########
# Variables
###########
variable "aws_key_name" {
default = "mykeypair"
}
variable "region" {
default = "eu-west-1"
}
@jwieringa
jwieringa / notes.md
Created December 4, 2015 16:57 — forked from dbouwman/notes.md
Notes from Nodevember 2015

#Nodevember Nodes

Yahuda Keynote

  • basically a ember 101 walk-thru
  • fastboot early 2016 inc client-side re-hydration

Elijah Manor - Code Smells

  • switch statement --> strategy pattern
  • eslint allows custom plugins
  • enable/disabled rules @ file level, or block