dominikh changed the topic of #cinch to: The IRC Framework | Latest version: Cinch 2.2.4
djbkd has quit [Remote host closed the connection]
djbkd has joined #cinch
Azure has quit [Excess Flood]
Azure has joined #cinch
Azure has quit [Ping timeout: 265 seconds]
djbkd has quit [Remote host closed the connection]
djbkd has joined #cinch
Azure has joined #cinch
Azure has quit [Ping timeout: 256 seconds]
Azure has joined #cinch
Dunke has quit [Remote host closed the connection]
djbkd has quit [Remote host closed the connection]
thomas1_ has joined #cinch
thomas1_ has quit [Client Quit]
TieSoul_ has joined #cinch
TieSoul has quit [Disconnected by services]
TieSoul_ is now known as TieSoul
CM-Punk has quit [Ping timeout: 245 seconds]
CM-Punk has joined #cinch
TieSoul_ has joined #cinch
TieSoul has quit [Ping timeout: 245 seconds]
TieSoul_ is now known as TieSoul
Dunke has joined #cinch
DariaMaster has joined #cinch
<DariaMaster> hi there, any ideas if cinch can be run in a background thread?
<DariaMaster> i need IRC to be some kind of background service for another application, so after i run cinch it should stop blocking and proceed with my code
<dominikh> sure.
<DariaMaster> Thread.new { } seems to be ignored
<dominikh> just run Bot#start in a thread and you're fine
<DariaMaster> oh damn yeah, you are right
<DariaMaster> it works perfectly when i only wrap the .start. thanks!
<dominikh> :)
<DariaMaster> damn ok, sorrily it doesnt. it still blocks
<dominikh> then that's you using threads wrong :) Cinch isn't doing anything magical to block other threads.
<DariaMaster> hm, not much magic yet http://pastebin.com/pTRYDWUq
<DariaMaster> but i guess i'll try further, it has to work somehow
<dominikh> that's not all of your code.
<dominikh> where's the code around the call to Irc#run
<DariaMaster> that would be this http://pastebin.com/qWiCPHMF
<DariaMaster> might this string to object mess breaks it?
<dominikh> no.
<DariaMaster> ok stupid me didnt realized that my code is running anyway just got "invisible" trough the long IRC log
<DariaMaster> thanks anyway :)
<dominikh> heh. glad that's sorted
britneywright has joined #cinch
CM-Punk has quit [Ping timeout: 245 seconds]
CM-Punk has joined #cinch
postmodern has quit [Quit: Leaving]
DariaMaster has quit [Read error: Connection reset by peer]
Zackio has quit [Remote host closed the connection]
Zackio has joined #cinch
blindsight has quit [Ping timeout: 245 seconds]
blindsight has joined #cinch
blindsight is now known as Guest71787
djbkd has joined #cinch
djbkd has quit [Remote host closed the connection]
djbkd has joined #cinch
usandfriends has joined #cinch
<usandfriends> Hello, is there an event that gets called when my bot joins the initial channels (config.channels). The event should only get called once in the beginning.
<usandfriends> ?*
<leftylink> usandfriends: oh... I don't know of one for joining the initial channels. but wasn't there some event like :connected or :connect ... catty would know about this
<leftylink> and should be enough for you to look for it
djbkd has quit [Remote host closed the connection]
<catepillar> i always did a :join and regex match @bot.name with m.user.nick
<catepillar> for the initial channels
<catepillar> you could add that to config.shared
<catepillar> and have another check in there to see if the joined channel is in the config.shared[]
<catepillar> i dunno how else I would do that
usandfriends has quit [Read error: Connection reset by peer]
usandfriends has joined #cinch
<usandfriends> I'll take a look, thank you!
usandfriends has quit [Client Quit]
britneywright has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
djbkd has joined #cinch
djbkd has quit [Remote host closed the connection]
djbkd has joined #cinch
waxjar has joined #cinch
<waxjar> hey guys. i'm observing about 30 Time objects are created per second in a vanilla, idle bot.
<waxjar> I think it might be coming from MessageQueue#process!, not sure
<waxjar> hmm, or could that just be rbkit (what i use to observe) :/
djbkd has quit [Remote host closed the connection]
rikai has quit [Read error: Connection reset by peer]
rikai has joined #cinch
rikai has quit [Ping timeout: 255 seconds]
rikai has joined #cinch
rikai has quit [Ping timeout: 255 seconds]