Skip to content

Instantly share code, notes, and snippets.

@whichlight
whichlight / white-noise-gen.js
Created January 24, 2016 06:49
white noise generator in javascript
var whiteNoiseGen = function(){
var bufferSize = 4096; //Math.pow(2,13); //between 8 & 14
//make this a global var so it isnt garbage collected
whiteNoise = context.createScriptProcessor(bufferSize, 0, 2);
whiteNoise.onaudioprocess = function(e) {
var outputBuffer = e.outputBuffer;
for (var channel = 0; channel < outputBuffer.numberOfChannels; channel++) {
var outputData = outputBuffer.getChannelData(channel);
for (var i = 0; i < bufferSize; i++) {
@whichlight
whichlight / hjdc-guidelines.md
Last active August 29, 2015 14:24
General Information for Hacking Journalism: Data Science

#General Information for Hacking Journalism

  • The WIFI is WASHPOST GUEST, pw is washpost.
  • Hashtag is #DATSCIHACK
  • Please follow the code of conduct. In short, be respectful and considerate of others while at this event. We will quickly address any issues.
  • Sign up on the Hacking Journalism HackDash to submit your project.
  • We can use the auditorium, community room, and some of the conference rooms. Please be thoughtful of the Washington Post space. We are happy to be guests, so lets keep tidy and use any equipment with respect.
  • There will be filming at the event. If you don't want to be on camera, please let me know.
  • If anything comes up, contact me (@whichlight), Angela (@afwong), Alex (@alexremington), or Lenny (@rememberlenny).
@whichlight
whichlight / fitc-links-yay.md
Last active August 29, 2015 14:19
links to follow along my FITC talk
@whichlight
whichlight / gist:b6a06854a6031242786d
Created January 17, 2015 02:25
Developer materials for Hacking Journalism Jan 17-18

#Developer Materials at Hacking Journalism

##API Intros There will be workshops through Saturday afternoon

  • 3:00 pm IBM Watson
  • 3:30 pm Embedly
  • 4:00 pm Parsely
  • 4:30 pm Ramp
  • 5:00 pm Bloomberg Brisket
  • 5:30 pm IBM Bluemix
@whichlight
whichlight / gist:a0d859add7f4b2e3a765
Last active September 7, 2015 15:38
General information for Hacking Journalism Jan 17-18

#General Information for Hacking Journalism

  • The WIFI is CN-GUEST-2
  • Hashtag is #VIDEOHACK
  • Please follow the code of conduct. In short, be respectful and considerate of others while at this event. We will quickly address any issues.
  • Sign up on the Hacking Journalism HackDash to submit your project.
  • We can use any of the side rooms, open tables, and whiteboards. Please be thoughtful of the Conde Nast space. We are happy to be guests, so lets keep tidy and use any equipment with respect.
  • There will be filming at the event. If you don't want to be on camera, please let me know.
  • If anything comes up, contact me (@whichlight), Matt (@MattAtMIT), Jeanne (@jmfbrooks), or Lenny (@rememberlenny).
@whichlight
whichlight / sketching-in-hardware-talk.md
Created July 23, 2014 04:01
some materials for the Sketching in Hardware talk.

To understand some of the pieces, it is helpful to interact with them together. Not sure how this will turn out, but that's part of the fun. Turn the sound up, maybe lock your screen orientation, and check these out:

  1. bubblegum postcard - mobile or laptop
  2. dancey dots - mobile or laptop
  3. cellular - mobile only
  4. runner - mobile or laptop
@whichlight
whichlight / hackingjournalism-schedule.md
Last active August 29, 2015 14:02
schedule for hacking journalism

#Hackathon Timeline ##Saturday

  • 9:00 Registration and Breakfast
  • 10:00 Welcome, Prizes
  • 10:10 Sponsors - Wistia, Parse.ly, Embedly, Civic Media
  • 10:30 Lightning Talks - Adrienne Debigaire, Lily Bui, Kevin Hu + Alexis Hope, Matt Carroll, Jihii Jolly
  • 11:00 API Pitches - Embedly, Parsely, Twitter, Enigma, MuckRock, Guardian, Bloomberg
  • Quick Break
  • 11:15 Idea Pitches, Breakout, Team building, Small Idea Sessions
  • 12:30 Lunch begins
@whichlight
whichlight / hackingjournalism-info.md
Created June 7, 2014 05:11
General information for the hackathon

#General Information for Hacking Journalism

  • The WIFI is MIT or MIT Guest
  • Bathrooms are right around the left corner from the Atrium
  • Please follow the code of conduct. In short, be respectful and considerate of others while at this event. We will quickly address any issues.
  • Sign up on the Hacking Journalism ChallengePost to submit your project. You can post ideas in the forum.
  • We can use any of the classrooms and whiteboards, but not the labs. Please be thoughtful of the Media Lab space. We are happy to be guests, so lets keep tidy and use any equipment with respect.
  • There will be some MIT researchers studying hackathons here. They will be filming and interviewing. If you don't want to be on camera, please let me know.
  • This would not have been possible without our sponsors: Embedly, Civic Media, Parse.ly, and Wistia.
  • If anything comes up, contact m
@whichlight
whichlight / hackingjournalism-apis.md
Last active August 29, 2015 14:02
APIs available for Hacking Journalism

#API Partners at Hacking Journalism

##API Intros There will be API intros to some of the APIs. These will be running through the afternoon on Saturday.

  • 2:00 pm Embedly
  • 2:30 pm Parse.ly
  • 3:00 pm Twitter
  • 3:30 pm Enigma
  • 4:00 pm MuckRock
  • 4:30 pm Guardian
@whichlight
whichlight / art-demo-links.md
Last active August 29, 2015 14:02
materials for jsconf talk