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
<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