dominikh changed the topic of #cinch to: The IRC Framework | Latest version: Cinch 2.2.4
britneywright has joined #cinch
postmodern has quit [Quit: Leaving]
britneywright has quit [Quit: Textual IRC Client: www.textualapp.com]
tyil has left #cinch ["WeeChat 0.4.2"]
sarkyniin has joined #cinch
britneywright has joined #cinch
britneywright has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
britneywright has joined #cinch
TieSoul has quit [Ping timeout: 245 seconds]
britneyw_ has joined #cinch
britneywright has quit [Read error: Connection reset by peer]
frog|OFF is now known as green-big-frog
apt-get_ has joined #cinch
sarkyniin has quit [Ping timeout: 264 seconds]
apt-get__ has joined #cinch
apt-get_ has quit [Ping timeout: 244 seconds]
TieSoul_ has joined #cinch
TieSoul_ is now known as TieSoul
<green-big-frog> What am I doing wrong? I know thaat there must be a stupid mistake... https://gist.github.com/green-big-frog/41259e9d6ecfacc6dc20
<green-big-frog> the full code: https://github.com/green-big-frog/bugb0t (administration not pushed yet)
<dominikh> "what am I doing wrong" is a useless question if you don't specify a) what should happen b) what is happening instead.
<green-big-frog> the code isn't working... i get a "lot" of errors...
<leftylink> this is an argument for static type checking!!!!!!!!!!!!!!!!!!!!!!!!!!!!
<dominikh> a "lot" of errors, really? I don't see "any" errors in either of the two links :)
<green-big-frog> that means? I'm actually still learning ruby...
<green-big-frog> sr
<dominikh> that means that you utterly suck at asking for help :) Do you expect us to a) read all the code, blindly guessing as to what it's supposed to do and what failure you're seeing b) ask a crystall ball to figure out what errors you're getting?
<green-big-frog> sr
<green-big-frog> the log: http://hastebin.com/mucisimuzo.vbs
<dominikh> messages don't have hosts, users have.
<leftylink> that error seems clear as day. you are calling `#host` on a Message. Message doesn't have `#host`.
<dominikh> m.host is such not meaningful
<leftylink> beaten to the punch
<dominikh> leftylink: you were right, indeed an argument for static type checking :D
<leftylink> because there is also a type mismatch between declaration and uses of is_admin, heh
<dominikh> heh.
sideone has joined #cinch
<sideone> s/foo/foo
<leftylink> does it cause a subtle exploit? demonstrate a performance problem?
sideone has left #cinch [#cinch]
<leftylink> because I can certainly see http://en.wikipedia.org/wiki/ReDoS#Malicious_regexes being a thing
waxjar has quit [Ping timeout: 265 seconds]
sideone has joined #cinch
<dominikh> yes, yes you'd run into that. does Ruby allow setting a timeout/max memory consumption for regexps?
waxjar has joined #cinch
<sideone> .. /s/foo/test/
<dominikh> would you mind testing your bot somewhere else?
<sideone> sorry about that.
green-big-frog is now known as frog|OFF
britneyw_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
djbkd has joined #cinch
postmodern has joined #cinch
Azure has quit [Quit: Blue Sky Fish]
Azure has joined #cinch
djbkd has quit [Remote host closed the connection]
djbkd has joined #cinch
apt-get__ has quit [Remote host closed the connection]
djbkd has quit [Remote host closed the connection]
djbkd has joined #cinch
djbkd has quit [Remote host closed the connection]