dominikh changed the topic of #cinch to: The IRC Framework | Latest version: Cinch 2.2.3
Dunke has quit [Remote host closed the connection]
_djbkd has quit [Read error: Connection reset by peer]
_djbkd has joined #cinch
_djbkd has quit [Client Quit]
green-big-frog is now known as frog|OFF
FiXato has quit [Ping timeout: 252 seconds]
literal has quit [Ping timeout: 264 seconds]
FiXato has joined #cinch
literal has joined #cinch
postmodern has quit [Quit: Leaving]
kith_ has joined #cinch
kith has quit [Ping timeout: 250 seconds]
Lirion has quit [Ping timeout: 250 seconds]
kith_ is now known as kith
Lirion has joined #cinch
Gizmokid2005 has quit [*.net *.split]
pdm has quit [*.net *.split]
pdm has joined #cinch
Gizmokid2005 has joined #cinch
frog|OFF is now known as green-big-frog
britneywright has joined #cinch
Dunke has joined #cinch
Liothen has quit [Ping timeout: 245 seconds]
Liothen has joined #cinch
Liothen has quit [Ping timeout: 245 seconds]
Liothen has joined #cinch
_djbkd has joined #cinch
sarkyniin has joined #cinch
<sarkyniin> for some reason
<sarkyniin> cinch doesn't work correctly on heroku
<dominikh> what makes you say that
<sarkyniin> dominikh: I have tested this on a lot of heroku dynos
<sarkyniin> with a lot of clean bots that only had one function
<sarkyniin> it always has this behaviour
<dominikh> what Ruby version do they run?
<sarkyniin> 2.0.0
<dominikh> and what ruby version are you testing locally with?
<dominikh> Cinch had some issue with 2.0.0 that looked a lot like that. Later versions of Ruby seem to have fixed it
<sarkyniin> uhh
<sarkyniin> 2.1.2 locally
<sarkyniin> I'll set my ruby version to that in heroku then
<dominikh> also I've seen it with handling outgoing messages, not incoming messages, but I wouldn't be surprised if it's a similar issue
<dominikh> s/also/although
<dominikh> 2.0.0 is quite old by now
<sarkyniin> what's the latest cinch-supported version
<sarkyniin> 2.2.0 or 2.1.5?
<dominikh> to be honest I can't tell you which version of Ruby fixed the issue, but it's been fixed for a long while, so I suppose 2.1.x is fine
<dominikh> maybe even some 2.0.x, I haven't been keeping track
<dominikh> oh, latest. well, the current one is the latest supported version ;)
<sarkyniin> thanks!
<dominikh> if that's still not working on Heroku, then I'd suspect they patched the scheduler in a weird way
<sarkyniin> dominikh: nope
<dominikh> "nope"?
<sarkyniin> here's the code of the bot
<sarkyniin> the issue is still here
<dominikh> then I'd suggest you talk to Heroku's support and ask them why code that works just fine locally doesn't work on their service.
<sarkyniin> yea I guess
<sarkyniin> already sent a ticket once
<sarkyniin> just got flagged as user app problem
_djbkd has quit [Remote host closed the connection]
<dominikh> "my threads don't get scheduled" - "user problem"
green-big-frog is now known as frog|OFF
pdm has quit [Quit: i'm so sorry]
<sarkyniin> dominikh: p much
<sarkyniin> even mentioned the problem doesn't happen locally and all
<dominikh> never been a fan of heroku, so don't expect too much sympathy ;)
<dominikh> also I'm not sure it was designed to run IRC bots...
<Gizmokid2005> with the way they're set to spin-down for free stuff, I'd agree.
<sarkyniin> eh
<sarkyniin> I only needed a small solution to leave one or two IRC bots running 24/24
<sarkyniin> no other service provides that afaik
<Gizmokid2005> there's some pretty cheap VPS that would work :)
<sarkyniin> and I can't run a server at home since we don't keep our internet connection open 24/24
<sarkyniin> (I'm in morocco)
<dominikh> $5 a month on digital ocean ;)
<Gizmokid2005> $15/yr at BuyVM: http://buyvm.net/
<FiXato> haven't read the links you posted, but have you looked at the examples at https://github.com/davidboy/herokubot? it's rather outdated though, so I'm not sure if itbstill applies with current cinch and heroku versions
<sarkyniin> afaik no VPS service takes moroccan money
<sarkyniin> and I'd rather not go through the trouble of converting money and buying an international credit card
<sarkyniin> to buy a 5$ vps
<dominikh> well, no good permanently available service is free
<FiXato> 24/24? wow, gimme 24 days in a week, if the additional 17 are weekend days ;p
_djbkd has joined #cinch
<FiXato> is there a centralised repository of cinch plugins btw, other than doing a ruby repo search for 'cinch' on Github?
<sarkyniin> not really
<sarkyniin> not all cinch plugins have a gem
<FiXato> (I also wish more plugins wouldn't hardcode the prefixes of their commands)
<dominikh> he asked for a centralised repository of cinch plugins, and rubygems is that.
<dominikh> if there was a different centralised repository, not all plugins might be listed there, either.
<dominikh> the ones that people intentionally distribute are :-)
<FiXato> true dominikh :) hadn't actually considered that one :)
<dominikh> in fact, there used to be one at cinchrb.org. how did it work? it crawled rubygems for cinch-* :)
<Gizmokid2005> FiXato: there's probably a reason for the lack of prefixes as well. I don't set them in each plugin, that way if I change the bot's prefix I only have to change it once.
<dominikh> yeah, that's the recommended way, too
<FiXato> Gizmokid2005, I more meant that the code's hardcoded help refers to .command or !command, instead of using 5he configured prefix
<Gizmokid2005> Oh, *headdesk* I misread that too.
* Gizmokid2005 needs sleep
<Gizmokid2005> Initially I was manually building my m.reply stuff to prefix with m.user.nick before I realized the arg for that. Changed them immediately.
_djbkd has quit [Remote host closed the connection]
postmodern has joined #cinch
_djbkd has joined #cinch
Azure has quit [Read error: Connection reset by peer]
Azure has joined #cinch
Azure has quit [Ping timeout: 245 seconds]
_djbkd has quit [Remote host closed the connection]
Azure has joined #cinch
britneywright has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
_djbkd has joined #cinch
Lirion has quit [Quit: echo 16i[q]sa[ln0=aln100%Pln100/snlbx]sbA0D4D465452snlb xq |dc]
Lirion has joined #cinch
postmodern has quit [Quit: Leaving]
_djbkd has quit [Remote host closed the connection]
_djbkd has joined #cinch
postmodern has joined #cinch
_djbkd has quit [Read error: Connection reset by peer]
_djbkd has joined #cinch