Skip to content

Instantly share code, notes, and snippets.

View nessamurmur's full-sized avatar

Nessa Jane Marin nessamurmur

View GitHub Profile
@nessamurmur
nessamurmur / controversy.md
Last active February 15, 2016 20:01
Controversial things

These are things I've said in the last 9 months that I didn't think would be controversial... but very much were.

  • We should write unit tests and integration tests
  • We should mock out services we don't care about introspecting during development
  • We should write documentation
  • We shouldn't be sharing one big dev environment for local development where we're all sharing the same state
@nessamurmur
nessamurmur / README.md
Last active December 17, 2015 19:24
Docker Dream Land

Docker Dream Land

This document describes an idealized version of what a dream development environment that uses Docker looks like based on my own experience.

What it looks like for a dev joining an existing project

Below describes what working on a Dockerized project looks like to a dev starting with that project for the first time.

@nessamurmur
nessamurmur / README.md
Created December 15, 2015 20:30
Docker for Development

Docker Painpoints for Development

What is this?

This document is meant to point out pain points with using Docker for development environments. It rates each pain point w/ a pain level of 1 to five stars (1 being low, 5 being high).

Each issue will highlight:

@nessamurmur
nessamurmur / ownership.md
Last active November 10, 2015 19:14
ownership.md

Code Ownership

Code Review

The time for:

  • mentorship
  • exemplifying how code review well
  • checking test coverage
  • design discussions
  • enforcing style guides
module Ugh where
conversation :: String -> String -> IO ()
conversation x y = do
putStrLn x
conversation y x
main :: IO ()
main = conversation "I would like to cancel my service." "Would you like to cancel your service?"
@nessamurmur
nessamurmur / babel-results.json
Last active August 29, 2015 14:24 — forked from anonymous/munger.rb
Benchmarking Node
{
"name": "ec2",
"succeeded": {
"fortune": [],
"plaintext": [
"hapi"
],
"db": [],
"update": [],
"json": [
Couldn't match expected type ‘Int’ with actual type ‘a’
‘a’ is a rigid type variable bound by
the type signature for
splitWhen :: (a -> Bool) -> [a] -> ([a], [a])
at src/Data/List/Extras.hs:27:14
Relevant bindings include
n :: a (bound at src/Data/List/Extras.hs:29:23)
xs :: [a] (bound at src/Data/List/Extras.hs:28:13)
p :: a -> Bool (bound at src/Data/List/Extras.hs:28:11)
splitWhen :: (a -> Bool) -> [a] -> ([a], [a])
@nessamurmur
nessamurmur / gist:bbea1f8ce5559ee7dfc6
Last active August 29, 2015 14:20
Languages mid 2014 - mid 2015
Elixir
Erlang
Rust
Nim
Java
Kotlin
C
C++
Haskell
OCaml
defmodule MyApp.User do
alias MyApp.Repo
## Stuff omitted
def changeset(model, params) do
model
|> cast(params, @required_fields, @optional_fields)
|> validate_unique(:username, on: Repo)
@nessamurmur
nessamurmur / add.rb
Created April 22, 2015 23:09
Classes as partially applied functions
class Add
attr_reader :x
def initialize(x)
@x = x
end
def add(y)
x + y
end