A quick twitter bot, @bc_l
Posted: July 26, 2010 | Author: hilary | Filed under: blog, projects | Tags: bc, bot, command line, hack, script, twitter, unix | 5 Comments »Several months ago, on a whim inspired by an off-hand comment from Chris, I created a bot to bring the wonders of the Unix bc language to twitter.
bc is a command-line calculator that’s fast and has the capacity to do some fairly complex math.
Try it out on the command line:
echo '100 / 10' | bc -l
…Or by sending a direct message to bc_l (if you follow bc_l it will follow you back within a few hours).
I released the code under GPL, and it’s available on github: http://github.com/hmason/tweetbc.
John Cook mentions the bot and makes some great observations in his post three surprises with bc.
-
http://blog.bogosity.se/ Andreas Olsson
-
http://www.glennsnead.wordpress.com Glenn Snead
-
http://math.hiremebecauseimsmart.com Human Mathematics
-
http://www.dancingbison.com Vasudev Ram
-
Jaydev


