Hacker News new | ask | show | jobs
by wesley 6422 days ago
Very nice, but can you skip the first step? You have to send "ping" first?

If I use a service multiple times, I would already know what input the app needed. For example, "Weather NY".

2 comments

And I guess it would also be nice to have just 1 single bot in jabber.

everything@mybot.im .. instead of having 10 bots for 10 different things.. (would clutter things up pretty fast)

Just send an identifier to the bot when you first ping it to tell it what app you want to access.

Definitely agree. And its really easy to do so because you control the code. I actually have a bot that just executes whatever function name I give it, and I have a bot that runs arbitrary system commands on my server, which is kind of like having an IM terminal (_not_ recommended for security purposes :))
If your first line of code is 'x = prompt', there is no ping needed to invoke the application. I should have touched on that in the video because it ends up being a very bad user experience if it requires a ping to start your app.