ChanServ changed the topic of #cinch to: The IRC Framework | http://groups.google.com/group/cinch-ruby/ | Latest version: Cinch 2.0.4 – Change log at http://bit.ly/14Q4s6Z – Migration guide at http://bit.ly/GO4qkW | This channel is being publicly logged at http://irclog.whitequark.org/cinch/
sleetdrop has joined #cinch
sleetdrop has quit [Quit: Textual IRC Client: www.textualapp.com]
jonahR has joined #cinch
framling_ is now known as framling
jonahR has quit [Quit: jonahR]
jonahR has joined #cinch
jonahR has quit [Quit: jonahR]
postmodern has quit [Quit: Leaving]
jonahR has joined #cinch
rikai_ has joined #cinch
splittingred has joined #cinch
rikai has quit [Ping timeout: 252 seconds]
v0n has joined #cinch
jonahR has quit [Quit: jonahR]
jonahR has joined #cinch
_whitelogger_ has joined #cinch
waxjar has joined #cinch
Evropi has joined #cinch
<Evropi> anyone want to review why my bot is NOT working?
<Cinchy> Evropi: [38d 21h 56m 48s ago] <Pistos> Let me know if you need any further help.
<dominikh> wow.
<dominikh> Evropi: depends how complex it is.
<Evropi> that was actually for diakonos :)
<Evropi> pasting
<Cinchy> [URL] Paste #Nuhhx7o4u2UMnCENULya at spacepaste
<Evropi> goal is to get latest commit every so often
<Evropi> later I'll compare it with the previous and if they're the same, it won't post
<dominikh> and how does it not work? other than having completely wonky code around lines 54-60
<Evropi> but for now I need to get this up and running
<Evropi> everything before that does work
<splittingred> hey, i'm running a pretty intensive game matchmaking system with cinch; and it's working great, except one small issue; i cannot, for the life of me, prevent Excess Flood errors on QuakeNet; my messages_per_second config is set low to 0.1, any ideas?
<dominikh> I'm not even sure what you're attempting to do on lines 56-60
<Evropi> executes get_latest_commit (hopefully with the previous parameters) every 120 seconds
<Evropi> using cinch's timer
<Evropi> or so I hope :x
<dominikh> splittingred: ugh, maybe QuakeNet is applying other rules (are you sending a huge amount of messages?). Maybe ask QuakeNet officially for an exemption?
<dominikh> Evropi: so drop lines 56, 57, 59 and 60.
<dominikh> Evropi: it would still not work, because where should it get the argument from
<Evropi> well... yeah
<Evropi> looking at the cinch rdoc
<splittingred> dominikh: that was my guess, not necessarily a rate limit but more a bulk limit. and yeah, there are on avg 50 ppl issuing commands to bot, which i had hoped the queue limiter would solve. thanks for the tip though
<Evropi> you can't pass args that way right
<dominikh> splittingred: yeah, all we can do is throttle the amount of messages we send per second. that will still trigger more advanced spam detection, even though I am disappointed at them calling it Excess Flood then
<splittingred> dominikh: yeah, i figured. thanks though!
<dominikh> Evropi: I guess in the end you'll want to use that plugin with a list of repos?
<Evropi> dominikh: yeah
<Evropi> so it checks every so often for new commits
<Evropi> if there are any new ones, writes about it in the chan
<Evropi> that's the idea at least, my implementation seems to be terribad :x
<dominikh> http://sprunge.us/ZPgM untested.
<Evropi> dominikh: this just removed a load of lines right
<dominikh> no.
<Evropi> ooh at the top
<dominikh> run diff on it.
<Evropi> yeah
<Evropi> github is uninitialised, allegedly
<dominikh> s/module/class/
<dominikh> and define it before you do the whole $bot stuff.
<dominikh> you can't use a class before it exists.
v0n has quit [Ping timeout: 252 seconds]
<Evropi> right, done that, now it complains that get_latest_commit is undefined. I moved it underneath the definition - in the same class, same error
<dominikh> :get_latest_commit, not get_latest_commit, in the timer.
<Evropi> well, I'll be goddarned but it worked!
<Evropi> I'll stay in here for future queries, thanks for the support
<dominikh> cheers
v0n has joined #cinch
rikai has joined #cinch
rikai_ has quit [Ping timeout: 264 seconds]
Evropi has left #cinch ["WeeChat 0.4.1"]
Spami has joined #cinch
Spami has joined #cinch
jonahR has quit [Quit: jonahR]
postmodern has joined #cinch
waxjar has quit [Ping timeout: 260 seconds]
waxjar has joined #cinch
Spami has quit [Ping timeout: 256 seconds]
Spami has joined #cinch
Spami has quit [Changing host]
Spami has joined #cinch
txdv_ has joined #cinch
txdv has quit [Read error: Connection reset by peer]
v0n has quit [Ping timeout: 240 seconds]
jonahR has joined #cinch
Spami has quit [Ping timeout: 260 seconds]
splittingred has quit [Quit: splittingred]
jonahR has quit [Quit: jonahR]