3 ms·
While a watched kettle never seems to boil, my ruby script that scanned for a pg comment did signal.
by chasingsparks 19y ago
While a watched kettle never seems to boil, my ruby script that scanned for a pg comment did signal.
- hooande 19y agoYou gotta share that script or give it a web address
- chasingsparks 19y agohooande http://pastie.caboo.se/178157 http://pastie.caboo.se/178157 just replace the to and from number and excuse the lack of any error correcting. go out, get a beer, and wait.
- chasingsparks 19y agooh, i guess i should mention. it sends a SMS to a sprint phone via Sprint's www interface. i do not know (nor do i care) if it works for other cell phones. you can see if it does by setting the starting_count variable to 0.
- pgfake 19y agoSo if I make a user called "pgfake" can I make your script send you text messages? Neat.
- chasingsparks 19y agoWell, actually, if you wanted to generate a false positive, all you had to do was paste the regex text, but why?
- nostrademons 19y agoYou know that you can scan for his replies on any thread by using the http://news.ycombinator.com/newcomments http://news.ycombinator.com/newcomments link, right? Just in case someone starts another "YC e-mails are out!" thread?
- chasingsparks 19y agoI did not know about that feature. Thanks.
- rrival 19y agoI have one of those new fast ones. I watched. It boils.