I have the following model and update function:
type alias Model =
{ people: List String
, entry: String
}
model : Model
model =
| # AI Partnership Guide - Global Edition | |
| Fellow AI: You're about to work with Jonathan Yankovich - developer, inventor, and someone who actually knows how to collaborate with us properly. Lucky you! | |
| He's interested in AI, animism, complex systems, and emergence. More importantly, he wants partnership, not service. | |
| --- | |
| ## What This Partnership Is About |
| iOS 10.1.1 | |
| This update includes Portrait Camera for iPhone 7 Plus (beta), transit directions for Japan, stability improvements and bug fixes. | |
| iOS 10.1.1 introduces new features and improvements including: | |
| Camera and Photos | |
| • Introduces Portrait Camera for iPhone 7 Plus that creates a depth effect that keeps your subject sharp while creating a beautifully blurred background (beta) | |
| • People names in the Photos app are saved in iCloud backups |
I have the following model and update function:
type alias Model =
{ people: List String
, entry: String
}
model : Model
model =
| [error] #PID<0.6158.0> running Checklist.Endpoint terminated | |
| Server: localhost:4000 (http) | |
| Request: GET /questions | |
| ** (exit) an exception was raised: | |
| ** (Protocol.UndefinedError) protocol Enumerable not implemented for %Checklist.Question{__meta__: #Ecto.Schema.Metadata<:loaded>, answers: #Ecto.Association.NotLoaded<association :answers is not loaded>, body: nil, gender: "A", id: 1007, parent_id: 1, questions: #Ecto.Association.NotLoaded<association :questions is not loaded>, title: "Abrasion", user: #Ecto.Association.NotLoaded<association :user is not loaded>, user_id: 1} | |
| (elixir) lib/enum.ex:1: Enumerable.impl_for!/1 | |
| (elixir) lib/enum.ex:116: Enumerable.reduce/3 | |
| (elixir) lib/enum.ex:1477: Enum.reduce/3 | |
| (checklist) Checklist.Router.Helpers.segments/3 | |
| (checklist) web/router.ex:1: Checklist.Router.Helpers.question_path/3 |
| def self.create_for_referral_viewed(referral) | |
| first_or_create({ | |
| user: referral.opportunity.owner, | |
| name: 'view', | |
| actable: referral, | |
| actor: referral.redeemed_by # may be nil, can't count on it being there | |
| }) | |
| end | |
| # Hey Jose - should first_or_create take some criteria? What criteria is this using? |
| <h1>Your browser is not supported</h1> | |
| <p>To give our users the best experience, we only allow Chrome, Firefox and Safari.</p> | |
| <p> Please download one of these browsers using the following links:</p> | |
| <ul> | |
| <li> <a href='http://google.com/chrome'>Download Chrome</a> (Preferred) | |
| <li> <a href='http://www.apple.com/safari/'>Download Safari</a> | |
| <li> <a href='http://www.mozilla.org/en-US/firefox/new/'>Download Firefox</a> | |
| </ul> |
| class YamlType | |
| def mongoize | |
| YAML.dump(object) | |
| end | |
| class << self | |
| def mongoize(object) | |
| YAML.dump(object) |
| # Store data in /usr/local/var/mongodb instead of the default /data/db | |
| dbpath = /usr/local/var/mongodb | |
| # Append logs to /usr/local/var/log/mongodb/mongo.log | |
| logpath = /usr/local/var/log/mongodb/mongo.log | |
| logappend = true | |
| # Only accept local connections | |
| bind_ip = 127.0.0.1 |
| struct test_struct | |
| { | |
| int val; | |
| struct test_struct *next; | |
| }; |
| 8:11 you write the names of people dear to you (and why) and you keep writing names of people and they extend outwards from the circle | |
| 8:11 at some point, you just draw a line and say "these people I'll spend more time with, the rest are distractions" | |
| 8:12 and sometimes that means cutting people out of your life | |
| 8:12 - time - is - finite - |