OKC.rb Lita Notes
slides: https://gifcannon.s3.us-west-2.amazonaws.com/ReplacingYourFriendsWithRobots.pdf
lita new briankobot-dr
cd briankobot
bundle
OKC.rb Lita Notes
slides: https://gifcannon.s3.us-west-2.amazonaws.com/ReplacingYourFriendsWithRobots.pdf
lita new briankobot-dr
cd briankobot
bundle
OKC.rb Lita Notes | |
slides: https://gifcannon.s3.us-west-2.amazonaws.com/ReplacingYourFriendsWithRobots.pdf | |
## 1. We can boot the bot | |
```rb | |
lita new briankobot-dr | |
cd briankobot | |
bundle |
import Ember from 'ember'; | |
export default Ember.Controller.extend({ | |
appName: 'Ember Twiddle' | |
}); |
// This is the toggle helper from Ember composable helper, | |
// but I'm adding some annotations | |
// Ref: https://github.com/DockYard/ember-composable-helpers/blob/master/addon/helpers/toggle.js | |
import { helper } from '@ember/component/helper'; | |
import { get } from '@ember/object'; | |
import { set } from '@ember/object'; | |
import { isPresent } from '@ember/utils'; | |
// FP - First Pass | |
// SP - Second Pass |
import Ember from 'ember'; | |
export default Ember.Controller.extend({ | |
queryParams: [ | |
'nightMode' | |
], | |
// NOTE: If we don't initialize the value, | |
// there's a bug | |
// nightMode: true, |
import Ember from 'ember'; | |
export default Ember.Controller.extend({ | |
appName: 'Ember Twiddle' | |
}); |
## Talk title: | |
Control the world with text!: making CLI tools with Node | |
## Talk description: | |
Let's make a CLI in node! In this talk we'll take a simple app and make a CLI tool for it. | |
We'll cover everything from making it executable, distribution, testing, and best practices. | |
More details coming soon! |
import Ember from 'ember'; | |
import { filterBy } from 'ember-awesome-macros/array'; | |
export default Ember.Controller.extend({ | |
filterKey: 'color', | |
value: 'red', | |
redItems: filterBy('data', 'filterKey', 'value'), | |
blueItems: Ember.computed('[email protected]', function() { | |
return this.get('data').filterBy('color', 'blue'); |
Use opinionated frameworks or use modular packages to construct the system you need? This conflict is as inevitable as Red team vs. Blue team. Let's explore this question in context of the front end web stack.
Ember is notorious for being an opinionated front-end framework while React is known for being the very lean build what you need library.
We will explore what it takes to assemble the minimum number of packages from the React ecosystem to create a minimum viable Ember.
Watching programmers switch to Golang is like watching my friends begin running.
Similar to people who start running and fall in love with it, I saw awesome companies switching to Go and loving it and interesting projects being authored in Go and loving it.
Go is minimal, performant, natively concurrent, and has an awesome ecosystem.