skip to main | skip to sidebar

Giles Bowkett

ninja power number cruncher

Monday, March 30, 2009

Hook Up NYT NewsWire To A Smoke Detector



I've asked the NYTNewsWire object to listen for stories tagged with [Canadian Prime Minister Stephen] Harper. I've set a tolerance of 0, which means that I'll be alerted if stories come up at any frequency. If I wanted the alert to only be published if a LOT of stories about Harper came across the wire (if he were, say, to resign, or be impeached, or disappear, or other such good news), I can adjust this frequency number. Here, I'll only be alerted if more than 25% of the wire stories are about him.

Obviously, we can set up any number of filters and get our alerts to be specific as possible. Which is useful if you are going to, say, be hooking up the alert to a 85 dB smoke alarm.


Posted by Giles Bowkett at 4:00 PM

0 comments:

Post a Comment

Note: Only a member of this blog may post a comment.

Newer Post Older Post Home
Subscribe to: Post Comments (Atom)

Ads By Ruby Row

Ads from Ruby Row

E-Mail / Twitter

Trinkets For Your Amusement

Hacker Newspaper
minim.al bit.ly
Minimal GitHub Dashboard
Clueful Google
BTC in USD

Do It

The Ruby On Rails Tutorial

Check out the best way to learn Rails

ZERG KILLA

Get It RSS/Atom Style


Gimme Ducats

Disclaimer

Some links on this blog are affiliate links, which pay small sales commissions.

Conferences


Bay Area Computer Music Technology Group
sd.rb





RubyEast 2007
OSCON 2007

Save The Mara Wildlife Conservatory

Blog Archive

  • ►  2012 (32)
    • ►  February (14)
      • Rails Went Off The Rails: Why I'm Rebuilding Archa...
      • Awesome VJ Tech: Turntable Projection Mapping
      • Hacker Newspaper Now Screens Out All YC Content
      • I Wouldn't Learn Ember In 2012
      • Google Is Flowers For Algernon
      • Mark Suster At The Future Of Television
      • Playing Drums With CoffeeScript In GarageBand And ...
      • "I Get My News From Phil, I Don't Get It From TV"
      • Controlling A CSS3 Animation With MIDI
      • Secrets of Superstar Programmer Productivity: Flow...
      • Sorry, I Fell For This
      • The Superb Owl Is A Socialist Owl
      • Finally
      • New Videos Brewing
    • ►  January (18)
      • What If It Isn't Facebook?
      • Flying People In New York
      • Awesome FluentConf Talk Proposal
      • Can You Dig It?
      • I'm Totally Against Killing Hollywood
      • Let's End Lamar Smith's Political Career
      • Clyde: Rebuilding Archaeopteryx in CoffeeScript (A...
      • New Sleigh Bells: Comeback Kid
      • Coming Soon: Fuck Yeah Hacking (.com)
      • "Well designed code is easy to test."
      • How To Set An Alarm Clock
      • Bassnectar Explains: What Is Dubstep?
      • Japan Wins At Being Awesome, Again
      • Request: Australian Ruby Conference, November
      • A Simple Defense Of Vertu
      • If You Don't Dig My Non-Tech Content...
      • Chris Hedges: "Brace Yourself. The American Empire...
      • A Little Hacked-Together Music Sketch
  • ►  2011 (199)
    • ►  December (12)
      • JavaScript Is Not A Language
      • Happy Holidays And All That
      • Comedian Louis CK Abandons Traditional Entertainme...
      • Pixels Made Of Flammable Gas
      • Seriously Awesome Live Drumming D&B
      • CNN LED Ticker Tape Hacked?
      • Firefox Vibrator API
      • Fuck Yeah, Browser Sticky Pads
      • Why Is CSS Not Object-Oriented?
      • My Plan For Uncollapse: Drums
      • Four Books On Drumming
      • Tech-Trance Track: Shifting Bells
    • ►  November (23)
      • Ruby DMX
      • Disco Invasion
      • Exciting Control Surfaces via Create Digital Music...
      • Imitation Is The Sincerest Form Of Flattery
      • Icelandic 99% Internet Revolution Exaggerated
      • Shepard Fairey Remixes His Own "Hope" Poster
    • ►  October (8)
    • ►  September (4)
    • ►  August (16)
    • ►  July (20)
    • ►  June (22)
    • ►  May (14)
    • ►  April (21)
    • ►  March (14)
    • ►  February (9)
    • ►  January (36)
  • ►  2010 (339)
    • ►  December (22)
    • ►  November (17)
    • ►  October (25)
    • ►  September (29)
    • ►  August (29)
    • ►  July (30)
    • ►  June (32)
    • ►  May (34)
    • ►  April (36)
    • ►  March (21)
    • ►  February (32)
    • ►  January (32)
  • ▼  2009 (314)
    • ►  December (21)
    • ►  November (18)
    • ►  October (9)
    • ►  September (15)
    • ►  August (10)
    • ►  July (10)
    • ►  June (35)
    • ►  May (40)
    • ►  April (34)
    • ▼  March (37)
      • Person Who Does Not Understand Things
      • Hook Up NYT NewsWire To A Smoke Detector
      • Ghetto Batman
      • The Awful Truth
      • NY Times On Nutrition
      • Anything That Is Too Big To Fail Is Too Big To Exi...
      • Miniapp: Sifty
      • Marketing Is Becoming Even More So
      • Awesome Web Comic: Basic Instructions
      • Drowtales: Successful Long Tail Entertainment Busi...
      • Guess What? I Live Here
      • Don't Get A Computer Science Degree
      • You've Summoned The Fail Whale!
      • You Know It's A Good Robot When It's Creepy
      • Claude Von Stroke: Propellerhead Reason
      • Programmers, Designers: Do Your Research
      • Rolling Stone: The Big Takeover
      • Watch Out For Tasty Muppets
      • Startups: Solve Entertainment Distribution
      • config.gem: Unpacked gem whatever in vendor/gems h...
      • The BeatBearing Tangible Rhythm Sequencer
      • Goverment Seeks Jail Time For Music Sharing
      • Rushkoff On The Economy
      • Gay People, Come To Rails
      • How To Stop Drinking Coffee
      • Geeks Will Be Geeks: Building Prosthetic Empathy
      • ACM Interview With Alan Key
      • Rick Olson Works For ENTP
      • Gyminee Sucks; Usability Is Why
      • Sleep Is Good: Get More
      • Simple Usability Improvement: Named Logins
      • Sixth Sense
      • Single Release: Toxin "Gaza Flipper"
      • Flight404 Continues Being Awesome
      • "So Far, All My Paying Work Has Come via Twitter."...
      • I Don't Care About Your Hoops
      • RSpec: fuck fuck fuck fuck
    • ►  February (35)
    • ►  January (50)
  • ►  2008 (494)
    • ►  December (31)
    • ►  November (33)
    • ►  October (64)
    • ►  September (47)
    • ►  August (30)
    • ►  July (32)
    • ►  June (42)
    • ►  May (44)
    • ►  April (31)
    • ►  March (45)
    • ►  February (47)
    • ►  January (48)
  • ►  2007 (577)
    • ►  December (53)
    • ►  November (65)
    • ►  October (67)
    • ►  September (22)
    • ►  August (24)
    • ►  July (34)
    • ►  June (42)
    • ►  May (82)
    • ►  April (53)
    • ►  March (23)
    • ►  February (60)
    • ►  January (52)
  • ►  2006 (29)
    • ►  December (25)
    • ►  November (4)

Art From 2003(ish)