Dann2 has quit [Remote host closed the connection]
Dann1 has joined #cinch
Dann1 has quit [Remote host closed the connection]
Dann1 has joined #cinch
<Dann1>
Okay, I have my Bottesque at #botwise for testing and feedback
<Dann1>
Also, its only command so far is !network
<Dann1>
Because I lack of ideas and ruby is annoying me
<dominikh>
Hm, I doubt you'll get many testers from here :) (Especially if there's only one command). This is the channel for the Cinch IRC library, so most folks you'll meet here are either asking or answering questions that are specific to Cinch.
<Dann1>
Thanks, I didn't know exactly what the purpose of this channel was for, since I got here from #freenode
<Dann1>
Also: now it has !bacon
Dann2 has joined #cinch
Dann1 has quit [Ping timeout: 255 seconds]
<cout>
bacon sounds good
<cout>
is cinchrb.org down temporarily or for good?
<dominikh>
for an extended period
<dominikh>
until I whip out more money for RAM :)
<waxjar>
you could host on a free heroku tier
<waxjar>
or is there too much traffic?
<dominikh>
lol, no there isn't, but I definitely won't use heroku ;)
<waxjar>
why not?
<dominikh>
a) I don't like them b) I don't have full control over them c) last time I used them, it got irrecoverably stuck
<dominikh>
d) next time cinchrb.org goes up, it won't be running on Ruby
<waxjar>
ah ok.
<waxjar>
i find them a… cinch (badum tsshhh) to use :P
<dominikh>
heh.
<dominikh>
I prefer to host my stuff on my own systems
Dann2 has quit [Quit: Dann2]
<waxjar>
i can get that. i wouldn't know how to set it all up properly, tbh. i like the whole git-push-and-you're-done thing :P
<cout>
are there any examples of how to unit test plugins?
<dominikh>
maybe if you search github hard enough. some people try to do it
<cout>
I got one working
<cout>
seems like the sort of thing that should be supported out of the box though
<dominikh>
patches welcome :)
<dominikh>
well, semi welcome. I'm not much into testing, especially if it's as annoying as networked stuff
<cout>
I've been digging though cinch source code most of the day
<cout>
I'm not sure I see an easy way to dissociate the plugin from the rest of the bot
<dominikh>
then you clearly know why testing certain aspects of its features is very annoying
<cout>
testing is always hard to add on after the fact
<cout>
ideally if the plugins were to be testable as a unit, as much code as possible would have to be moved out of plugin.rb, so the only thing left in there is the public interface
<dominikh>
and that's where I think that testable code doesn't necessarily imply nice code :)
<dominikh>
where exactly would you put it, when it in fact belongs there
<cout>
I don't think it belongs there at all
<dominikh>
then where would you put it?
<cout>
well that's a complex question
<cout>
I'm not prepared to answer in specifics, since I've only been working with the framework for a day
<dominikh>
I remember your name from quite a while ago ;)
<cout>
could have been a long while ago
<cout>
have we met at a rubyconf?
<dominikh>
few months
<dominikh>
nope
<dominikh>
we met here ;)
<cout>
more likely in #ruby-lang
<cout>
this is my first time in #cinch :)
<dominikh>
hmm, apparently
<dominikh>
which is weird, because I remember your name in the context of cinch and unit testing