Skip to content

Instantly share code, notes, and snippets.

View AllPurposeName's full-sized avatar

DJ Greenfield AllPurposeName

View GitHub Profile

Trollin' Ain't Easy

  • What is a Troll?
    • Define a Troll vs a PORA(plain ol' racist asshole)
    • Origin of word. Trolling comes not from mythological trolls, but from a fishing strategy involving dragging a hook to entice fish.
    • Simple confusion Trolling vs Lurking
  • Why Troll WHY?!
    • Examine the motives of a troll. Dive into the mind of a troll.
    • Give personal examples of my own troll intent.
    • Other Troll motives.
  • Methodologies

What is an API?

  • Literal definition - Application Programming Interface - Implementation details don't really matter
    • Funny Vidya if I get permissions
  • Examples of APIs
    • Everything is an API!
    • Basic Gumball Machine example
    • Ruby is an API with C doing the dirty work
  • Web Dev API
    • Intro RFC7k
  • The Contract - I provide you with value through these channels, you don't misuse it!

Exposing an API with Rails

##Setup

We're going to be driving this development from a learning perspective, so everything is going to be done backwards (at least from a TDD point of view). Once you understand the concepts and process, I suggest driving your next API from the feature or controller tests.

Rails new

  1. Intro
  • Why prototypes?
  • Why ES6 matters?
  • Why performance?
  1. Prototypal vs Classical
  • Simplest prototype
  • Class has a shortfall
  • Prototype doesn't have a shortfall
  1. ES6 is opinionated
  • What the change syntactically looks like
require ‘minitest/autorun’
require ‘minitest/pride’
require ‘enigma’
# Somewhere in the enigma require
####################
require ‘parser’
####################
class ParsingTest < Minitest::Test
def test_it_exists
assert Parser
end

DJ Greenfield - Module 4 Portfolio

Individual

Areas of Emphasis

Previous to this module my project management skills had seriously decayed. A large focus for each project was keeping a clean and organized waffle card, an active private Slack channel for each project, serious consistent code review, and Google Calendar for deadlines. I made serious efforts to accomplish this

@AllPurposeName
AllPurposeName / TuringBar
Last active August 29, 2015 14:23
Blog post for turing.io about the Turing culture
The Turing Bar:
I had always heard about work culture, but never experienced much of it. Even when working jobs which I loved like managing a LAN center or working for a residential solar company, I always felt weighed down from 'working' and the thought that us employees were forming our own "culture" seemed laughable. No matter how fun the environment or loose the bosses, putting in hard work always came with an emotional price. Now, having spent seven intense months surrounded by the same people, working day in and day out to be the best developers we could be, I've come to appreciate our culture.
Going into the program I figured the vibe would land somewhere between my college experiences and my professional experiences. I balked at the thought of having teachers again who I had to complete homework for. The awful image of a classroom where everyone listens to boring lectures and messes around on their cell phones. Adding to the list of cons, I had to leave behind a great job with very friendly, underst
@AllPurposeName
AllPurposeName / metaprogramingtalk
Last active August 29, 2015 14:22
Metaprogramming is meta-cool!
Metaprogramming is Metacool!
* Introduction
-- Brief explanation on what metaprogramming is and why it's a cornerstone of OO Porgramming languages
-- We'll open up String and Fixnum to replace/add functionality respectively.
1. Explain concept of opening a class and changing/adding methods.
* Monkey Patching
--Implementing it the easy way
--Implementing it the right way
@AllPurposeName
AllPurposeName / BIG O
Last active August 29, 2015 14:20
Lightning Talk BIG O
BIG O
* Krista's right, DSA
--Landau's Symbol: basically rate of growth == order
--Knowing what we're measuring: Complexity vs Performance
--O vs Theta vs Omega
--Cases for and cases against significance of Big O
--How to read Big O notation
* LLLLLIVE coding