Check the time. Do a thing. Check the time. What's the difference in time?
a = (1..60).to_a
start_time = Time.now
Group Member Names: Aaron Careaga, Cole Hall, Torie Joy-Warren
Torie can't work Saturday. Aaron wants to ski on the weekend in the morning, and meets with a mentor on Tuesday evening (5:30). Cole has mentoring for ~ an hour Tuesday and Wednesday after wrap-up. Cole likes to have some evening time, which we all like. Friday night is not good for us, after ~6.
Pre-Work: | |
Got to Mandrill and set up and account. Have your `username` and `keys` ready. | |
In Rails, run ` rails g mailer NotificationsMailer` (or something similar) will set up a new file in the `app/mailer/` folder. In this case it generates a `notifications_mailer.rb`. It also creates a new dir: `app/views/notifications` | |
1. Configure your Mail APP . In `config/application.rb` add the following configuration : | |
``` | |
config.action_mailer.delivery_method = :smtp |
ES5
and if it seems useful/superfluous.let
and const
features. let
is the new var
and is used to declare a block scope local variable, where const
is used in single assignment. The variable must be assigned (viaI understand that functions in JavaScript can take any number of arguments.
I can describe the similarity between blocks in Ruby and anonymous functions in JavaScript.
Where are the methods available to all arrays (e.g. forEach
, map
, etc.) defined?
I can explain how the new
keyword changes the way a function behaves.
I can explain the implicit steps that happen in my function when I use the new
keyword.
I can explain the difference between an object's prototype and the prototype
property on the constructor function.
I understand how to place method on a prototype.
Everying we're dealing with is sorting arrays. Consider Speed vs. Space when deciding what algorithm to use.
Notes:
Pros:
Read Node.js, Require and Exports and Organize Your Code with RequireJS
A way to contain variables/functions/classes and expose them using a module.exports syntax to export everything you specify.
Step One: Watch Mary Rose Cook Live Codes Space Invaders from Front-Trends. (The second worst conference name ever?)
Watching Mary dream-drive-development gives me confidence in starting Tetris. I think I should follow a similar pattern as hers, moving up in complexity only after that base foundation is in place. I also think it's important to not get caught on little details off the start.