skip to main | skip to sidebar

Giles Bowkett

the crack of doom on the hydrogen jukebox

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

No comments:

Post a Comment

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

Newer Post Older Post Home
View mobile version
Subscribe to: Post Comments (Atom)

Carbon Ads

singrobots.com

Are you a hacker who likes to make music? You know how you feel precise control when you write code you understand, but you have to filter your understanding of your music through oversimplified GUIs which sometimes have terrible UX? I made a series of videos which teaches you how to write music sequencing software in Node.js and CoffeeScript. When I do it, I experience a clarity which makes it easy for me to make more exciting sounds. You may have the same experience. Upcoming episodes will also teach you how to use simple probabilistic artificial intelligence to write code which writes its own music (which I've already done in Ruby).

faq | review

Trinkets For Your Amusement

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

Stuff I Drew




The Ruby On Rails Tutorial

Check out the best way to learn Rails

ZERG KILLA

Disclaimer

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

Conferences


Bay Area Computer Music Technology Group





Save The Mara Wildlife Conservatory

Blog Archive

  • ►  2013 (49)
    • ►  May (2)
    • ►  April (10)
    • ►  March (16)
    • ►  February (6)
    • ►  January (15)
  • ►  2012 (181)
    • ►  December (8)
    • ►  November (13)
    • ►  October (22)
    • ►  September (27)
    • ►  August (15)
    • ►  July (10)
    • ►  June (9)
    • ►  May (18)
    • ►  April (17)
    • ►  March (6)
    • ►  February (18)
    • ►  January (18)
  • ►  2011 (198)
    • ►  December (12)
    • ►  November (22)
    • ►  October (8)
    • ►  September (4)
    • ►  August (16)
    • ►  July (20)
    • ►  June (22)
    • ►  May (14)
    • ►  April (21)
    • ►  March (14)
    • ►  February (9)
    • ►  January (36)
  • ►  2010 (337)
    • ►  December (22)
    • ►  November (17)
    • ►  October (25)
    • ►  September (29)
    • ►  August (29)
    • ►  July (30)
    • ►  June (32)
    • ►  May (33)
    • ►  April (36)
    • ►  March (20)
    • ►  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)