next day →
last day (18 days later) »
Feeds
05:11
michaelpri
has added
Undo
to the
list of this room's owners
.
Undo
So whatcha need?
michaelpri
So I was thinking about making a Python chat bot, and I was wondering if you could help me a bit with the server.
You run Smokey on your own server right?
Undo
Right
github.com/Manishearth/chatexchange
^ Readymade chat framework for Python
michaelpri
Would you run it just by running it in Python?
Undo
Yep. You login (only SE logins supported now), then get your room and post messages to it
See the sample
michaelpri
05:14
It's that simple?
Undo
Pretty much
michaelpri
What did you use to make your server?
Undo
I'm running on Ubuntu server
One machine on EC2, one machine in my closet.
I switch back and forth between them
michaelpri
Would I need anything other than just a machine that has Python?
Undo
Smokey has a fairly advanced 'hypervisor', almost - if it crashes, it'll auto-revert to previous commits until it works again
Kinda cool
@michaelpri Shouldn't need anything else
michaelpri
05:17
Hmm, that's a lot easier than I thought. Thanks :)
Undo
Yeah, good luck!
Ping us in CHQ with questions.
Manish is in there occasionally, and ProgramFOX is a wizard who knows everything
michaelpri
Yeah, I've talked to ProgramFOX in the
Teenage Programmers Room
on SO before
Undo
I'd favorite that if I were ever in SO chat
michaelpri
It's a pretty cool room. I like meeting people my age
My server's not gonna be very powerful, though. It's my sister's old pink Dell, with 1GB RAM
Undo
That's a beast
michaelpri
05:24
:D
Undo
I've been running Smokey on an old Compaq laptop with... 2x256MB sticks :P
michaelpri
Do you know if it's possible to connect two machines to make server better?
Undo
And smokey is fairly heavy as far as chatbots go
@michaelpri You could, I don't think you really need to for a chatbot
unless one waits for the other to go down
michaelpri
@Undo Yeah, but I might put a few on it
Undo
I wouldn't worry about it until (unless) it becomes a problem
michaelpri
05:26
Alright
Undo
It should be able to run a few lightweight ones just fine
Smokey does a lot
michaelpri
I just happened to have a few old extra laptops, so I decided to learn how to make a server :)
next day →
last day (18 days later) »
all rooms
Transcript for
Jun '15
10
Jun
13
♦
Room for Undo and michaelpri
join this room
about this room
00:00
06:00
12:00
18:00
all times are UTC
site design / logo © 2025 Stack Exchange Inc;
legal
mobile