Skip to content

Instantly share code, notes, and snippets.

View s-espinosa's full-sized avatar

Sal Espinosa s-espinosa

View GitHub Profile
@s-espinosa
s-espinosa / feedback_to_me.md
Last active February 11, 2020 04:51
Feedback to Me

Instructions

In Mod 1 before the end of your first paired project, create a private version of the Feedback from Me Template and a Feedback to Me Template and share it with your instructors. Then, during project evaluations:

  1. While other teams are being evaluated, complete the section below that corresponds to the project you have completed.
  2. Send your reflections on the project and feedback for each member or the pair or group to them.
  3. Meet with the other members of your pair or group to review your reflections.
  4. After your meeting, copy feedback you received into your Feedback to Me Template.

Instructors will review feedback you received throughout the mod as part of your portfolio review.

@s-espinosa
s-espinosa / feedback_from_me.md
Last active February 11, 2020 04:51
Feedback from Me Template

Instructions

In Mod 1 before the end of your first paired project, create a private version of the Feedback from Me Template and a Feedback to Me Template and share it with your instructors. Then, during project evaluations:

  1. While other teams are being evaluated, complete the section below that corresponds to the project you have completed.
  2. Send your reflections on the project and feedback for each member or the pair or group to them.
  3. Meet with the other members of your pair or group to review your reflections.
  4. After your meeting, copy feedback you received into your Feedback to Me Template.

Instructors will review feedback you received throughout the mod as part of your portfolio review.

Create a Game!

Now that you have had some practice with Ruby, let's continue to practice using our editor and terminal together.

Setup

  • From your command line, create a new folder in your 1module directory called prework_game. This is where you will store your game file.
  • From your command line, create a new file in the folder prework_game called guessing_game.rb
  • In the file, enter the lines:

Mills Provosty

Make a copy of this gist to your GitHub account. In your gist, please answer the questions in the first three sections, then complete the techincal work. Please provide any relevant links inside your gist!

Organization Systems (if your answer to any of these is none - let's change that! If you need help finding something, let the group know and we can brainstorm):

  • What tool/system to you use to track your to-do list? Trello!
  • What tool/system do you use to calendar your time and ensure you remember appointments, deadlines, etc? I use google calendar and set alamrs.
  • What do you use for a timer for worktime/pom breaks?
Here's a practice gist.

Linked List Coding Challenge

Linked List

Create a linked list that responds to the following methods. Assume that this list will only hold numbers.

.head
.append(num)
.count

Here are my notes from Success at Turing!

It was fun. Here are the reasons why:

  • Sal is great.
  • EM is the best.
  • some other bullet.

Here is a great website.

From the Command Line

Action Command
Start a New Project mix phx.new project_name
Create DB mix ecto.create
Start App mix phx.server
Run App in Interactive Elixir (IEx) iex -S mix phx.server
Show Routes mix phx.routes

If we had infinite resources, we wouldn't bother stubbing methods out. Stubbing adds a layer of complexity to our tests.

However, our machines have limited computing power. Tests that touch multiple objects (even in the background), or read and write files, or perform complex calcuations take longer to run than tests that touch a single object/method.

When tests take too long to run, developers stop running tests.

Tests are no good to us if we don't run them.

We have to make tests run quickly for them to maintain their value.

Learning to Use New Tools

General Google Tips

  • Be sure to include search terms for the specific context in which you’re using the tool:
    • ‘RSpec Rails’ will return results that give you a gem specifically to use in Rails apps
    • 'Capybara RSpec Rails’, or ’select second div Capybara' will return more relevant results than ‘Capybara'

First Time Setup

  • If you’re looking to set a tool up in your application, check docs to see if they have some description.
  • Within the docs, check to see if there’s a section specifically geared towards setting it up in your environment.