watch someone code something weird

Last week Darius Kazemi made a twitter bot via live-code. It’s really fun to see his thought process and trial/error. He plays with RiTa for JavaScript, a natural language processor (which ironically, might be exactly what I need for a non-bot project… stay tuned!).

He uses Node, JavaScript, and something called “grunt” to initiate the project (starts at 7 mins in if you want to skip ahead).

Josh walked in while I was watching and commented “Darius is such a great teacher.” He is! Love to see this live coding.

Maybe I will attempt a live-code (or record-code) session. Could be a good way to get over my fear of video and also impose a strict “make something in an hour” timeline.

I have a month to play (more on that to come as well) so this is all timely. 🙂 Enjoy!

p.s. this post is for Jessie, my favorite/only reader.

finishing the bot

finishing the bot
how you have to finish the bot…
how you watch the rest of the world from a window–
while you finish the bot

mapping out a .py
what you feel for twitter’s API
what you feel when errors that come through heroku go

“tweet status update failed on third try…”

I have been watching Stephen Sondheim musicals basically non-stop and this song seems most appropriate for the past few days. “Oh there’s a new lecture out…. BOT.” “I should get started on that javascript pre-work…. BOTBOTBOT.” “It’s 2:30 in the morning…. BOOOOOOOTTTT”

twitterscreenshot

My bot is now deployed and fully-functioning out in The Cloud, thanks to Joel!

>>Ok I have a twitter bot and I want to run it but not from my personal computer, help

The above link tells the story of how I went from here (functioning bot, living on my laptop) to here (functioning bot, living on GitHub/running on heroku). First, you’ll need to install heroku and follow the directions to get started, here. After that, follow Joel’s directions and you’re golden.

I hope you didn’t have other things to do today.

UPDATE 6/25/15

This is part 2 of the tutorial.

Part 1: Build a Twitter Bot with Python

Part 3: Top Bot