dominikh changed the topic of #cinch to: The IRC Framework | Latest version: Cinch 2.2.4
TieSoul_ has quit [Quit: No Ping reply in 180 seconds.]
TieSoul has joined #cinch
TieSoul has quit [Quit: No Ping reply in 180 seconds.]
TieSoul has joined #cinch
britneywright has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
_djbkd has quit [Quit: My people need me...]
waxjar has quit [Ping timeout: 264 seconds]
thomas1 has joined #cinch
iamayam has quit [Ping timeout: 245 seconds]
iamayam has joined #cinch
xbob has joined #cinch
Azure has quit [Ping timeout: 264 seconds]
Azure has joined #cinch
xbob has quit [Quit: Bye :)]
xbob has joined #cinch
postmodern has quit [Quit: Leaving]
britneywright has joined #cinch
xbob has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
xbob has joined #cinch
xbob_ has joined #cinch
xbob has quit [Read error: Connection reset by peer]
sarkyniin has joined #cinch
sideone has joined #cinch
<sideone> hey all
<sideone> im trying to decide which framework to use for a new bot on #spiceworks. i am evaluating supi, eggdrop, and just found cinch. Looks to be ruby based so the plugin guide looks nice. Is there a plugin repo somewhere?
<dominikh> there's not a repo per se, but the convention is to release plugins as gems called `cinch-something`, so the rubygems search can be used for it
<dominikh> but it doesn't have thousands of plugins like eggdrop does
<dominikh> mostly, you'd implement your own needs
<sideone> cool, ill check the gems, thanks for the info
waxjar has joined #cinch
_djbkd has joined #cinch
gr33n7007h has joined #cinch
_djbkd has quit [Remote host closed the connection]
_djbkd has joined #cinch
postmodern has joined #cinch
britneywright has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
gr33n7007h has left #cinch ["WeeChat 0.3.8"]
Phage has left #cinch ["Textual IRC Client: www.textualapp.com"]
cats has quit [Ping timeout: 246 seconds]
cats has joined #cinch
<sideone> hey all
<sideone> find / -name timer.rb
<sideone> oops
_djbkd has quit [Remote host closed the connection]
xbob_ has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<dominikh> /, really?
<sideone> couldnt rem my directory, didnt know if it was in ~
<sideone> im lazy
<sideone> and have time for a bg process.
<dominikh> heh
<sideone> im newish to ruby though
<sideone> but i do like the structure of cinch
<sideone> seems so easy and out of the way
<dominikh> that was the idea. for the most part, I even succeeded.
<sideone> can i reload a script. for exampe im working off of google.rb and want to reload after chaning output to /msg on results. do i have to close and reopen the script?
<sideone> like eggy worked off telnet
<dominikh> if you're using the plugin structure (that is, classes, not just `on` everywhere), then yes, you can, via something like… meh, let me find the gist
<sideone> thx dominikh
<sideone> i havent used a bot since eggs about 5 yrs ago
<sideone> i was thinking i would use the main cinch to launch and have it call about 5 plugins or so, and some of my own plugins?
<dominikh> sure, why not.
<sideone> since its threaded, i should be able to do so and deamonize the main right?
<sideone> systemd boots and such
<dominikh> I do not follow. you'd have a single instance of Cinch, with as many plugins as you want
<sideone> yep
<sideone> sorry long day, my eng may be a bit off
<dominikh> anyway, as for reloading code: https://gist.github.com/dominikh/2179973 whether you hook that up via commands like there, or write some partyline telnet implementation, is up to you. the essence of that gist is the code for a)reloading ruby code b) removing and registering plugins
<sideone> awesome thanks so much for that
<dominikh> (do note that it expects a certain file system layout to deduce names etc)
<sideone> in /plugin ?
<dominikh> but, as with everything, it can be adjusted
<sideone> lib/cinch/plugins
<dominikh> yes.
<dominikh> (reloading code in ruby without restarting the interpreter is a nasty thing with many corner cases. I generally prefer just running the bot behind znc and restarting the whole process)
<sideone> cool thx
<sideone> znc works with ruby? thought it was just for c++/perl
<dominikh> ZNC is an irc bouncer. it runs as a program, the bot connects to it as the IRC server, the bouncer does its bouncing magic
<dominikh> no programming involved here
<sideone> oh awesome
<sideone> and i can control like partyline
<sideone> very cool stuff
<sideone> just curious
<dominikh> if you write the code for that, yes :P
<sideone> as im getting started on this
<sideone> i saw some other projects with (kinda current dev)
<sideone> like phenny, jenni, willie
<sideone> what kept you on cinch?
<sideone> i really like it so far
<sideone> and threaded model, awesome!
<sideone> no more lockups
<dominikh> I never heard any of these, and I'm Cinch's developer, so seems logical to stay with it :P
_djbkd has joined #cinch
<sideone> hahaha
<sideone> yeah thats a good reason :)
<sideone> is it pretty stable?
<sideone> seems light
<dominikh> well, it's in maintenance mode by now. the only active development are bug fixes, and there's a couple every few months
<dominikh> https://rubygems.org/gems/cinch/versions for the version history…
<sideone> thanks awesome to hear
<sideone> are there alot of cinchbots active?
<sideone> any checkins?
<sideone> nice since 8/10
<sideone> 1 mo till the 5th bday :)
<dominikh> I have absolutely no idea. the wiki has a handful, god knows how many are actually using it. rubygems.org claims a lot of downloads, but I doubt there's 10k bots out there :P
<sideone> haha, well your about to have 1 more
<sideone> int he #spiceworks room
<sideone> so because of freenode mgmt tools, i should keep using those for chan control and not the bot right?
<dominikh> yeah; this isn't efnet :)
<sideone> haha
<dominikh> we actually have proper services
<sideone> that was my last bot
<sideone> so wild west.
<sideone> dominikh; thanks for the help. ill put some time in when i get home. thanks for the headstart though. are the most relevent docs/examples in the git project?
<dominikh> examples are in the repo, docs are nicely rendered over at rubydoc.org
<dominikh> there's no good "guides" or "tutorials", but the API documentation is pretty complete. can be a bit hard to know what to look for, but the examples cover all the basic ideas
<dominikh> and the rest is just staring at the docs of the correct classes to figure out what's all possible
<sideone> ohh rubydoc is awesome!
<sideone> it has docs for most gems?
sideone has quit []
sarkyniin has quit [Quit: Quit]
_djbkd has quit [Remote host closed the connection]
_djbkd has joined #cinch
_djbkd has quit [Remote host closed the connection]
sideone has joined #cinch
<sideone> re.
<dominikh> wb.
<sideone> just got home, got that spark :)
<sideone> just reading through the docs, the api'ish system is awesome
<sideone> never going back to large frameworks
postmodern has quit [Quit: Leaving]
<dominikh> :)
<sideone> great job buddy, im not much of a coder
<sideone> but just going through the docs is helping so much
<sideone> already wrote my first chunk in 20 mins :)
<dominikh> nice
<sideone> just a bit confused by the 'do' as im not used to that syntax
<sideone> but |makes.sense|
<sideone> :)
<sideone> anyhow, im geeking out. thanks again for the push earlier.
<dominikh> no problem