Skip to content

Instantly share code, notes, and snippets.

View brennanholtzclaw's full-sized avatar

Brennan Holtzclaw brennanholtzclaw

  • Veterans United Home Loans
  • Columbia, MO
View GitHub Profile

Intro to Podcasting!

First thing's first, have you listened to the Turing Podcast?
https://soundcloud.com/user-760220162

Outline

  • What are your favorite podcasts?
  • What makes a good podcast?
  • what makes an interesting podcast?
@brennanholtzclaw
brennanholtzclaw / cfu_crud_in_sinatra.markdown
Last active February 3, 2016 01:55 — forked from rwarbelow/cfu_crud_in_sinatra.markdown
CRUD in Sinatra -- Check for Understanding
  1. Define CRUD. Create, Read, Update, Delete
  2. There are seven verb + path combinations that are necessary in a basic Sinatra app in order to provide full CRUD functionality. List each of the seven combinations, and explain what each is for.
    ** - Read/GET **
    ** - Read/GET **
    ** - Create/GET **
    ** - Create/POST **
    ** - Update/GET **
    ** - Update/PUT **
    ** - Delete/DELETE **
  3. Why do we use set method_override: true? ** So that the browser will know to look for a hidden verb (not post or get) and overwrite is with the "_method" verb **
@brennanholtzclaw
brennanholtzclaw / gist:313aed2d99439df62b90
Last active March 28, 2016 04:44
[WIP] Intermediate SQL
* What does SERIAL mean?
It will automatically populate an incrementing integer for the id.
* Write queries for the following:
What's the total revenue for all items?
SELECT SUM(revenue) FROM items;
What's the average revenue for all items?
SELECT AVG(revenue) FROM items;
**Step Three**: Respond to this question in your fork: "What are some of the balances and trade offs between different sorting algoritms?"
I think the main things to consider are the space (memory) that you have, and what is a reasonable amount of time for sorting a set.
When you have a very small set, say less than 100 items, what's the point in caring about how items are getting sorted?
It's when you move into larger and larger sets that you have to start caring about the "Big Oh" of your algorithm.
Honestly, I'm not exactly sure what I'm answering here... Bubble sort is a fine enough sorting a very small dataset, Insertion sort is far better, but still iterates through many many times. And Merge sort is used for a reason. It is super fast, not as many calculations, and handles large sets well. Merge divides up the work quickly and finds a faster way to sort in small pieces before coming back into the whole.
Am I answering this question?
@brennanholtzclaw
brennanholtzclaw / require-1511.markdown
Last active May 24, 2016 21:30 — forked from rrgayhart/require-1511.markdown
The Concept of Require

When you start working with WebPack for GameTime, you'll notice that you can't just define a variable in one file and find it in another as easily as you can in Rails.

Read Node.js, Require and Exports and Organize Your Code with RequireJS

Fork this gist and answer the following questions:

  • In the context of Node, what is a module?
Team 3 (Brennan "Betty White" Holtzclaw - facilitator)
(You can't practice real-life)
1. What is the real problem here and should it be addressed at a company-wide, team-wide, or individual level?
- Not enough details to really know. Seems like the dev team doean't know how to just listen to the client.
- Do a little more reasearch into whether this is just an isolated incident or chronic. Could this be solved wit a little personal interaction?
- Maybe evaluate who is talking to the client (if this team was made up of the original team, couldn't we just be the ones that talk to clients?) The team should be able to continue to operate fairly autonomously despite the acquisition.
- The full-blown synergy might never be there. Did the parent company do a poor job on boarding the new team? Who's fault is it really? How do we make the new team care about this old person project? Identify the rotten eggs and target actions there.
- Company-wide - it's no longer the same company since the acquisition. It just make

Next Time a Requirement that you must work on an existing project. Discuss?

It helps to give direction to what you're doing when the functionality already exists and you're trying to add on to it.

Having an existing codebase more closely resembles the job field.

What constitutes green vs. brown field? Is what Boxtrot-Prime did this time a green field project? They basically gutted the whole front end, and deployed an independent project that is only connected to the back end through AJAX calls. On top of that, the back end wrote new endpoints. It's basically all green.

Where do you learn more? You can't get very far in a greenfield project in two weeks, especially when you're learning a new language/technology. Brownfield education sort of depends on the app. In looking-for there wasn't much new information to learn from. It was more repetition, and refactoring to cement existing knowledge. Unless the brownfield app is in a totally new language/framework. Then it's got the same sort of upsides/downsid

Project 1

Government info scraper/tweeter bot

  • What is my 'MVP' for this project? e.g. what is the smallest amount of work I can do on this project to consider it something I can release to the world.

    • This would be a tool that would take direct government data and tweet out the exact data published. An MVP might even just tweet a link and say something like "Health Code Violations for 12/26/16"
    • Outline future iterations for this project
    • Future iterations would contain data analysis, scraping actual numbers and data points from the documents and tweeting out a more thorough analysis.
  • Why do I want to build this side project?

Goals

Goal 1

####Build an independent app in React Where are you at with this goal?

  • Zero or very close. We've built an app together in class, but my grudge bin caught on fire. This is something that I want to do to prove to myself that the grudge bin failure was a fluke, and to learn more about react. What does success look like?
  • Success in the short term would be a functioning MVP app. In a year success would be a completed project that I would put on my resume. List resources available to you including learning resources, blogs, podcasts, mentors, meetups, lightning talk topics, and open-source projects.
  • I've got a couple resources, including: