Skip to content

Instantly share code, notes, and snippets.

@rrgayhart
Last active March 25, 2016 18:52
Show Gist options
  • Save rrgayhart/a3517e56174270c3c3e7 to your computer and use it in GitHub Desktop.
Save rrgayhart/a3517e56174270c3c3e7 to your computer and use it in GitHub Desktop.
The Dangers of Using Code You Don't Control

The Dangers of Using Code You Don't Control

The Events

What happened

The Drama

The Developer's Take

Kik's Side of Things

NPM's Take

The Reaction Blog Post With Some Good Points And An Aggressive Title Published After Any Major Tech Event

What Are We Even Talking About

What is NPM

A Tutorial on Using NPM


Checks for Understanding

Fork this Gist and Respond to the Following Questions

  • In broad strokes, summarize the event
  • How do NPM and RubyGems relate?
  • What is left-pad and why is it used?

Observing

  • Go through some past projects you've worked on and look through the gemfiles.
  • Pick three gems - try to pick a combination of obscure gems and ones you use on every project
  • List them with links to their Github repos here
    • Gem 1
    • Gem 2
    • Gem 3
  • For each Gem, answer the following questions
    • What does this Gem generally do?
    • When is the date of the last commit?
    • How many open issues does it have?
    • Start looking around the source code
      • Link to one piece of code or a file you understand
        • What does this code do?
      • Link to one piece of code or a file you don't understand at all?
        • What do you think this code might do?
    • Does it seem reasonable to add this dependency into your code?
  • What are some factors you consider when adding dependencies to your projects?

Challenge Level Understanding (OPTIONAL but cool)

Building

@ShannonPaige
Copy link

@SteveOscar
Copy link

@stevepentler
Copy link

My Eating Utensil: https://gist.github.com/stevepentler/6ea1dae488122136b6fa
Check out the pry documentation I discovered!

@martensonbj
Copy link

@brantwellman
Copy link

Everything can be eaten with a spoon. https://gist.github.com/brantwellman/c88de44810960c114326

@rrgayhart
Copy link
Author

@stevepentler - I'm legit dying reading the overview/pry quotes

@rrgayhart
Copy link
Author

@SteveOscar - sweet gem!!!

@SteveOscar
Copy link

@rrgayhart - thanks! works fine locally, still struggling to make it work from rubygems. So fun.

@bethsecor
Copy link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment