Skip to content

Instantly share code, notes, and snippets.

View natevenn's full-sized avatar

Nate Venn natevenn

  • Prague, Czechia
View GitHub Profile
@natevenn
natevenn / Complex topic
Created October 20, 2014 00:31
Writing sample
My topic is on the sciences of buildings, in particularly the envelop of the building and the physical forces acting on the air boundary of the house. The physical forces that I will talk about are `convective heat transfer` and `air pressure`. Both play a part in how air movement happens in a building and the associated energy losses.
Houses have to breath, meaning the moist, stale air inside the house needs to be exchanged with fresh outside air. The national standard for the natural air change rate per hour (NACH) is about 3. This roughly means that a house with a NACH of 3 exchanges 30 percent of the air volume of the house every hour (occupancy level will change this number). More than this is considered a waste or what is commonly called a “leaky” house. This is were we as energy auditors focus most of our attention when doing an audit on a home. The reason is because the air infiltration of a “leaky” house can lead to 30 percent of your energy bill. The other reason is because air sealing is the quic
@natevenn
natevenn / cfu_crud_in_sinatra.markdown
Last active February 3, 2016 00:44 — forked from rwarbelow/cfu_crud_in_sinatra.markdown
CRUD in Sinatra -- Check for Understanding
  1. Define CRUD.

    • these are functions that stands for 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.

get '/resources' - this retrieves the resources get '/resource/:id'- this retrieves the one resource get '/resources/new - this retrieves a form or some format for add resource post '/resources' - this creates the new resource get '/resources/:id/update - this retrieves a form that allows a specific resource to be modified or edited

Content Centric Networking

(a new model for the internet)

The Internet

  • The story of a beautiful and organic engineering feat
  • How many engineers it took, money invested
  • Compare growth from the 60's to now - How large it is today

How does TCP/IP work today

PV calculator for homeowners

Pitch

This app is meant to provide homeowners with a ball park estimate of the upfront cost of a pv system. It will also provide them with costs based off of what percentage they want to offset their electic usage, and taking into account federal tax incentives and current utility rates

Problem

There is a lot of information that goes into estimating the total cost of a pv system. It can be overwhelming for a homeowner to calculate this cost and for a solar installer to make that estimate will cost them money if in the end the homeowner decided that the economics is not worth it. A simple and easy to use calculator could better inform a homeowner if solar is right for them.

@natevenn
natevenn / gist:23912032ac47881ba130
Last active March 25, 2016 14:04
Intermediate sql

###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;

###What's the minimum revenue for all items?

  • SELECT min(revenue) FROM items;

###What's the maximum revenue for all items?

@natevenn
natevenn / Vim in 2 Parts.
Last active March 26, 2016 01:30
Community content - Turing student led session - co-led by Nate Venn and Hedy
Part 1. Week One: 4/18
. Why vim is a great editor:
a. code less, edit more;
b. save yourself from typos;
c. customize to your hearts content;
d. less mousing around, with greater navigability;
2. Advantages of knowing even a bit of vim:
a. third most used editor in the software industry according to the latest StackOverflow Developer Survey;
b. pairing with someone who is using vim;
Solar and the Open PV project
maps in DB, D3, Google
skylight or new relic to measure load times
Redis to store data (key value store) also Postgres has H store similar to redis
background workers - sidekiq plugs into rack as an extension to rails works with redis
Heroku scheduler - to run rake task
What a homeowner wants to see
* Total up front costs
* Percentage of offset
* payback
* rebates
Notes
dsire.org is a site for federal rebates
consider the 4.5% increase in utility prices
the azimuth angle for south is 180 degrees
Work on Your Marketing Plan
Make a list of all the ways you stand out from the crowd -- what makes you unique?
Consider your:
* Skills & Knowledge. What do you know? Hint: Utilize your past experiences as much as your technical knowledge
* Beliefs, Values, & Passions. What is important to you?
* Characteristics. How would you describe yourself?
* Strengths. What are you good at? What value do you bring as a programmer? What do you have to offer?