akp has quit [Remote host closed the connection]
lroca has joined #jruby
lroca has quit [Quit: lroca]
xardion has quit [Ping timeout: 240 seconds]
xardion has joined #jruby
nirvdrum has quit [Ping timeout: 268 seconds]
nirvdrum has joined #jruby
akp has joined #jruby
sidx64 has joined #jruby
mkristian has joined #jruby
akp has quit [Ping timeout: 260 seconds]
sidx64 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
sidx64 has joined #jruby
_whitelogger has joined #jruby
sidx64 has joined #jruby
_whitelogger_ has quit [Remote host closed the connection]
sidx64_ has quit [Ping timeout: 260 seconds]
shellac_ has joined #jruby
sidx64 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
sidx64 has joined #jruby
sidx64 has quit [Client Quit]
sidx64 has joined #jruby
sidx64 has quit [Client Quit]
olle has joined #jruby
claudiuinberlin has joined #jruby
shellac_ has quit [Quit: Computer has gone to sleep.]
sidx64 has joined #jruby
drbobbeaty has joined #jruby
akp has joined #jruby
olle has quit [Read error: Connection reset by peer]
olle has joined #jruby
mkristian has quit [Quit: This computer has gone to sleep]
drbobbeaty has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
sidx64 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
sidx64 has joined #jruby
sidx64 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
olle has quit [Read error: Connection reset by peer]
olle has joined #jruby
sidx64 has joined #jruby
mkristian has joined #jruby
sidx64 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
shellac_ has joined #jruby
mkristian has quit [Quit: This computer has gone to sleep]
mkristian has joined #jruby
drbobbeaty has joined #jruby
sidx64 has joined #jruby
drbobbeaty has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
drbobbeaty has joined #jruby
bbrowning_away is now known as bbrowning
mkristian has quit [Quit: This computer has gone to sleep]
mkristian has joined #jruby
shellac_ has quit [Quit: Computer has gone to sleep.]
mkristian has quit [Quit: This computer has gone to sleep]
sidx64 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
sidx64 has joined #jruby
Puffball has joined #jruby
sidx64 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
sidx64 has joined #jruby
shellac_ has joined #jruby
sidx64 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
rrutkowski has joined #jruby
rrutkowski has quit [Remote host closed the connection]
rrutkowski has joined #jruby
rrutkowski has quit [Remote host closed the connection]
rrutkowski has joined #jruby
rrutkowski has quit [Client Quit]
rrutkowski has joined #jruby
lroca has joined #jruby
rrutkowski has quit [Quit: rrutkowski]
rrutkowski has joined #jruby
rrutkowski has quit [Quit: rrutkowski]
rrutkowski has joined #jruby
rrutkowski has quit [Remote host closed the connection]
rrutkowski has joined #jruby
rrutkowski has quit [Remote host closed the connection]
rrutkowski has joined #jruby
rrutkowski has quit [Client Quit]
xardion has quit [Remote host closed the connection]
rrutkowski has joined #jruby
rrutkowski has quit [Remote host closed the connection]
rrutkowski has joined #jruby
xardion has joined #jruby
Puffball has quit [Remote host closed the connection]
Puffball has joined #jruby
jrafanie has joined #jruby
shellac_ has quit [Quit: Computer has gone to sleep.]
shellac_ has joined #jruby
shellac_ has quit [Ping timeout: 265 seconds]
claudiuinberlin has quit [Quit: Textual IRC Client: www.textualapp.com]
akp has quit [Remote host closed the connection]
shellac_ has joined #jruby
lroca has quit [Ping timeout: 276 seconds]
olle has quit [Quit: olle]
shellac_ has quit [Quit: Computer has gone to sleep.]
shellac_ has joined #jruby
shellac_ has quit [Client Quit]
sidx64 has joined #jruby
sidx64_ has joined #jruby
sidx64 has quit [Ping timeout: 276 seconds]
bbrowning is now known as bbrowning_away
subbu is now known as subbu|lunch
bbrowning_away is now known as bbrowning
Puffball has quit [Remote host closed the connection]
subbu|lunch is now known as subbu
lroca has joined #jruby
mkristian has joined #jruby
mkristian has quit [Client Quit]
drbobbeaty has quit [Read error: Connection reset by peer]
drbobbeaty has joined #jruby
sidx64 has joined #jruby
sidx64_ has quit [Ping timeout: 240 seconds]
sidx64_ has joined #jruby
sidx64 has quit [Ping timeout: 256 seconds]
shellac_ has joined #jruby
sidx64_ has quit [Ping timeout: 240 seconds]
bbrowning is now known as bbrowning_away
shellac_ has quit [Client Quit]
drbobbeaty has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
talevy has joined #jruby
<talevy> Hi, I am looking to enable the combination explosion checker in Joni, and it is not clear to me how one does this since the variable Config.USE_COMBINATION_EXPLOSION_CHECK/USE_CEC is final
rrutkowski has quit [Quit: rrutkowski]
<lopex> talevy: yeah, it's final so the check wont have rutime cost, you need to rebuild joni with it enabled
<talevy> lopex: thanks; do you know if there is any interest in making this configurable at runtime?
<lopex> no idea, mri has it turned off too at c macro level
<lopex> talevy: having it static final doesnt pollute interpreter switch with those cases
<lopex> but you can always rebuild it then mvn install and then build jruby
<talevy> lopex: thanks. I am not running in an environment that makes this too easy to do, but I will look into other ways. My main concern is enabling a way for the matcher to exit early in cases of exponential explosion. Do you have any suggested ways to do this without enabling this checker?
<talevy> I know there is the thread interruption strategy, but I am hoping not to spawn another thread to kill the matcher
<lopex> do you have a case to reproduce ?
<lopex> oh I have seen this
<talevy> :)
<lopex> so it's patterns and _source fields ?
<talevy> one second, I can convert the grok expression to a vanilla regex for you
<talevy> I was originally interested in solving the issue, so I did find a regex that matches appropriates without running exponentially... but that is not necessarily my goal since more of these can come up in the future
<talevy> I've shared the regular expression, as well as the string to match
<lopex> so the most suspected part is (\s*(?:\S+))*) right ?
<talevy> correct
<talevy> another example of an offending regex can be found here: https://github.com/jordansissel/experiments/blob/master/ruby/regexp/interrupt.rb#L3-L7
<lopex> yeah it's a pathological backtracking
<lopex> it's just how greedy backtracking quantifiers work
<talevy> right
<talevy> OK, I'll digress. Does not look like this would be something that could be enabled upstream in the official Joni artifact
<talevy> makes sense if there is a concern for performance around checking for these branches when people enable this feature
<talevy> lopex: thanks for the assistance!
<lopex> talevy: enabling cec doesnt seem to produce different ast
<talevy> I thought the purpose was not to change the ast, but to allow for keeping track of number of iterations so that this can be checked
<talevy> Do you see a way to provide a heuristic that would inform the Matcher that it is looping too much
talevy has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
talevy has joined #jruby
talevy has quit [Client Quit]
lroca has quit [Ping timeout: 260 seconds]