Campfire Onesheet

I made this onesheet for my company using Adobe Illustrator and InDesign. We’ll be using it at the Tealium Digital Velocity conference next week.

Here is the front.

Screen Shot 2017-10-14 at 11.22.12 PM.png

And here is the back.Screen Shot 2017-10-14 at 11.22.36 PM.png

Advertisements

Scott Alexander on the Effective Altruism Movement

Scott Alexander has a wonderful piece on the Effective Altruism Movement based on his attendance at the 2017 EA conference. Though he starts the piece with a quote from Hunter S. Thompson it reads much more like David Foster Wallace (especially this and this).

The EA movement has a surprisingly strange set of research agendas that are best summed up in Scott’s comment about the salad he ate for lunch, “Born too late to eat meat guilt-free, born too early to get the technology that hacks directly into my brain and adds artificial positive valence to unpleasant experiences.”

I was also happy to see there was an organization responding to the arguments in this Journal of Practical Ethics article, “Consistent Vegetarianism and the Suffering of Wild Animals.”

WASR [Wild Animal Suffering Research] researches ways we can alleviate wild animal suffering, from euthanizing elderly elephants (probably not high-impact) to using more humane insecticides (recommended as an ‘interim solution’) to neutralizing predator species in order to relieve the suffering of prey (still has some thorny issues that need to be resolved).

Cute Little Solution

I’m learning Ruby and one small exercise was meant to calculate the sum for simple sentences like this: “eight plus 5 plus five minus three plus 1 minus 4” and output an answer. Numbers can be either numeric or written out. Every set of numbers is separated by either “plus” or “minus.” I’m sure there are many ways to complete this problem. I came up with the cute little solution below.

NUMBERS = {
  "zero"  => 0,
  "one"   => 1,
  "two"   => 2,
  "thrid" => 3,
  "four"  => 4,
  "five"  => 5,
  "six"   => 6,
  "seven" => 7,
  "eight" => 8,
  "nine"  => 9
}

OPERATIONS = ['plus', 'minus']

def is_int?(int)
  int.to_i.to_s == int
end

def translate_number(number)
  return number.to_i if is_int?(number)
  NUMBERS[number]
end

def compute(operation, number)
  case operation
  when 'plus' then number
  when 'minus' then -number
  end
end

def computer(expression)
  express_array = expression.split
  total = translate_number(express_array.shift)
  operation = nil
  express_array.each do |element|
    if OPERATIONS.include?(element)
      operation = element
      next
    end
    number = translate_number(element)
    total += compute(operation, number)
  end
  total
end

p computer("two plus two minus one plus 8 plus five minus 3")