djbkd has joined #jruby
nirvdrum has quit [Ping timeout: 272 seconds]
pietr0 has quit [Quit: pietr0]
baroquebobcat has quit [Quit: baroquebobcat]
subbu has quit [Ping timeout: 245 seconds]
aadam21 has quit [Remote host closed the connection]
djbkd has quit [Remote host closed the connection]
djbkd has joined #jruby
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] chrisseaton pushed 3 new commits to master: http://git.io/hBW0
<JRubyGithub> jruby/master f6e1f92 Brandon Fish: [Truffle] Adding raiseIfFrozenSelf to Array#{map!,collect!}.
<JRubyGithub> jruby/master dc09be9 Brandon Fish: [Truffle] Bulk adding some returnsEnumeratorIfNoBlock to Array methods.
<JRubyGithub> jruby/master b03e121 Chris Seaton: Merge pull request #2722 from bjfish/truffle_array_map_frozen...
JRubyGithub has left #jruby [#jruby]
djbkd has quit [Remote host closed the connection]
digitalextremist has quit [Read error: Connection reset by peer]
djbkd has joined #jruby
djbkd has quit [Remote host closed the connection]
djbkd has joined #jruby
ModusPwnens has joined #jruby
marr has quit [Ping timeout: 244 seconds]
aadam21 has joined #jruby
travis-ci has joined #jruby
<travis-ci> jruby/jruby (master:b03e121 by Chris Seaton): The build failed. (http://travis-ci.org/jruby/jruby/builds/54958968)
travis-ci has left #jruby [#jruby]
<ModusPwnens> Does Jruby not support assigning to java attributes using ruby symbols?
<headius> ModusPwnens: if it doesn't, it's a bug we would fix
camlow325 has quit []
<headius> ModusPwnens: oh sorry, I read "japanese attributes"
<headius> you mean assigning a Java field that's a String using a Ruby Symbol?
<ModusPwnens> hold on, I'm preparing a pastie to illustrate what I mean
yfeldblum has quit [Remote host closed the connection]
yfeldblum has joined #jruby
Hobogrammer has joined #jruby
e_dub has joined #jruby
<ModusPwnens> Okay, here is a paste illustrating my problem: http://pastie.org/10036599
nirvdrum has joined #jruby
subbu has joined #jruby
<ModusPwnens> searching for "cannot convert instance of class org.jruby.RubySymbol to class" only yields 3 results on google, so I'm guessing this is an uncommon issue...
pgokeeffe has quit [Quit: pgokeeffe]
bjfish2 has quit [Quit: bjfish2]
bjfish2 has joined #jruby
phrinx has quit [Remote host closed the connection]
phrinx has joined #jruby
bjfish2 has quit [Ping timeout: 245 seconds]
raeoks has joined #jruby
phrinx has quit [Ping timeout: 264 seconds]
nirvdrum has quit [Quit: Leaving]
ModusPwnens has quit [Quit: Page closed]
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
pgokeeffe has joined #jruby
aadam21 has quit [Remote host closed the connection]
<headius> oh, he left
<headius> he has a simple typo
havenwood has quit [Remote host closed the connection]
pgokeeffe has quit [Quit: pgokeeffe]
imperator has joined #jruby
pgokeeffe has joined #jruby
djbkd has quit [Remote host closed the connection]
sferik_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
slyphon_ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
raeoks has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
slyphon has joined #jruby
digitalextremist has joined #jruby
djbkd has joined #jruby
djbkd has quit [Remote host closed the connection]
joast has quit [Quit: Leaving.]
GitHub58 has joined #jruby
<GitHub58> [jcodings] haozhun opened pull request #11: Add common aliases of unicode blocks (master...block) http://git.io/hBSj
GitHub58 has left #jruby [#jruby]
havenwood has joined #jruby
bjfish2 has joined #jruby
joast has joined #jruby
<bjfish2> ModusPwnens I would guess you would need to do this: request_obj.some_java_object = @java_object
havenwood has quit []
sferik has joined #jruby
sferik has quit [Read error: Connection reset by peer]
sferik has joined #jruby
subbu has quit [Quit: Ex-Chat]
<headius> man, this b thing is becoming a total cluster
x1337807x has joined #jruby
x1337807x has quit [Max SendQ exceeded]
x1337807x has joined #jruby
x1337807x has quit [Max SendQ exceeded]
x1337807x has joined #jruby
<imperator> String#b ?
iamjarvo has joined #jruby
imperator has quit [Quit: Leaving]
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] bjfish opened pull request #2725: [Truffle] Adding args to to_enum call in returnsEnumeratorIfNoBlock annotation. (master...truffle_return_enum_args) http://git.io/hRTt
JRubyGithub has left #jruby [#jruby]
bjfish2 has quit [Quit: bjfish2]
zorak8 has joined #jruby
sferik has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
iamjarvo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
x1337807x has quit [Remote host closed the connection]
x1337807x has joined #jruby
pgokeeffe has quit [Quit: pgokeeffe]
pgokeeffe has joined #jruby
dabradley has quit [Ping timeout: 256 seconds]
dabradley has joined #jruby
dinfuehr has joined #jruby
dinfuehr has quit [Remote host closed the connection]
dinfuehr has joined #jruby
dinfuehr has quit [Remote host closed the connection]
dinfuehr has joined #jruby
zorak8 has quit [Ping timeout: 252 seconds]
kares has joined #jruby
pgokeeffe has quit [Quit: pgokeeffe]
dinfuehr has quit [Remote host closed the connection]
anaeem1_ has joined #jruby
anaeem1_ has quit [Remote host closed the connection]
anaeem1 has joined #jruby
anaeem1 has quit [Ping timeout: 246 seconds]
anaeem1 has joined #jruby
anaeem1 has quit [Remote host closed the connection]
anaeem1 has joined #jruby
anaeem1 has quit [Remote host closed the connection]
anaeem1 has joined #jruby
dinfuehr has joined #jruby
anaeem1 has quit [Remote host closed the connection]
anaeem1_ has joined #jruby
anaeem1_ has quit [Remote host closed the connection]
anaeem1 has joined #jruby
anaeem1 has quit [Ping timeout: 265 seconds]
slyphon has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
yfeldblum has quit [Remote host closed the connection]
kares has quit [Ping timeout: 264 seconds]
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
kares has joined #jruby
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] mkristian pushed 7 new commits to master: http://git.io/hRzv
<JRubyGithub> jruby/master d580ce3 Christian Meier: create usual bin archive as well one where jar files are pack200 compressed...
<JRubyGithub> jruby/master e366b85 Christian Meier: added check of file size of distribtion artifacts...
<JRubyGithub> jruby/master 8ae788d Christian Meier: [build] generated pom.xml
JRubyGithub has left #jruby [#jruby]
dinfuehr has quit [Remote host closed the connection]
kares has quit [Ping timeout: 256 seconds]
travis-ci has joined #jruby
<travis-ci> jruby/jruby (master:aa596f4 by Christian Meier): The build was canceled. (http://travis-ci.org/jruby/jruby/builds/54985720)
travis-ci has left #jruby [#jruby]
pgokeeffe has joined #jruby
pitr-ch has joined #jruby
travis-ci has joined #jruby
<travis-ci> jruby/jruby (master:aa596f4 by Christian Meier): The build was canceled. (http://travis-ci.org/jruby/jruby/builds/54985720)
travis-ci has left #jruby [#jruby]
mister_solo has joined #jruby
kares has joined #jruby
mister_solo has quit [Remote host closed the connection]
mister_solo has joined #jruby
pgokeeffe has quit [Quit: pgokeeffe]
dinfuehr has joined #jruby
dinfuehr has quit [Quit: Leaving...]
dinfuehr has joined #jruby
temporalfox has joined #jruby
marr has joined #jruby
dumdedum has joined #jruby
drbobbeaty has joined #jruby
yfeldblum has joined #jruby
dinfuehr has quit [Read error: Connection reset by peer]
drbobbeaty has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
dinfuehr has joined #jruby
mister_solo has quit [Ping timeout: 250 seconds]
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] mkristian pushed 2 new commits to master: http://git.io/hRh7
<JRubyGithub> jruby/master ff27f70 Christian Meier: [build] some build fixes truffle, jruby-jars, check_versions...
<JRubyGithub> jruby/master c650822 Christian Meier: [build] do not declare gems as compile dependency
JRubyGithub has left #jruby [#jruby]
vtunka has joined #jruby
yfeldblu_ has joined #jruby
yfeldblum has quit [Ping timeout: 252 seconds]
anaeem1 has joined #jruby
mister_solo has joined #jruby
travis-ci has joined #jruby
<travis-ci> jruby/jruby (master:c650822 by Christian Meier): The build failed. (http://travis-ci.org/jruby/jruby/builds/54998015)
travis-ci has left #jruby [#jruby]
pgokeeffe has joined #jruby
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] mkristian pushed 2 new commits to master: http://git.io/h0Y6
<JRubyGithub> jruby/master 26998cb Christian Meier: [build] fix new location of jruby-stdlib.jar
<JRubyGithub> jruby/master 27a5121 Christian Meier: [build] add missing file
JRubyGithub has left #jruby [#jruby]
aadam21 has joined #jruby
anaeem1 has quit [Quit: Leaving...]
marr has quit [Ping timeout: 265 seconds]
anaeem1_ has joined #jruby
aadam21 has quit [Client Quit]
vtunka has quit [Quit: Leaving]
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] eregon pushed 2 new commits to master: http://git.io/h08f
<JRubyGithub> jruby/master 199c217 Benoit Daloze: [Truffle] Remove CoreMethodNode.name....
<JRubyGithub> jruby/master 4f0cda6 Benoit Daloze: [Truffle] The reverse call acutally always use "==", and not "==="....
JRubyGithub has left #jruby [#jruby]
mister_solo has quit [Ping timeout: 255 seconds]
drbobbeaty has joined #jruby
drbobbeaty has quit [Read error: Connection reset by peer]
yfeldblu_ has quit [Ping timeout: 265 seconds]
drbobbeaty has joined #jruby
drbobbeaty has quit [Read error: Connection reset by peer]
drbobbeaty has joined #jruby
drbobbeaty has quit [Ping timeout: 256 seconds]
drbobbeaty has joined #jruby
drbobbeaty has quit [Ping timeout: 264 seconds]
travis-ci has joined #jruby
<travis-ci> jruby/jruby (master:4f0cda6 by Benoit Daloze): The build is still failing. (http://travis-ci.org/jruby/jruby/builds/55008254)
travis-ci has left #jruby [#jruby]
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] kares closed issue #1692: ArrayIndexOutOfBoundsException raises when Combining specific args with required http://git.io/h0wO
JRubyGithub has left #jruby [#jruby]
travis-ci has joined #jruby
<travis-ci> kares/jruby (test-ji-tuning-1_7:770e299 by kares): The build was fixed. (http://travis-ci.org/kares/jruby/builds/55008357)
travis-ci has left #jruby [#jruby]
vtunka has joined #jruby
aramisbear has joined #jruby
bjfish2 has joined #jruby
anaeem1_ has quit [Remote host closed the connection]
travis-ci has joined #jruby
<travis-ci> kares/jruby (test-ji-tuning3:adeb887 by kares): The build passed. (http://travis-ci.org/kares/jruby/builds/55008716)
travis-ci has left #jruby [#jruby]
anaeem1 has joined #jruby
anaeem1 has quit [Read error: Connection reset by peer]
anaeem1_ has joined #jruby
anaeem1_ has quit [Remote host closed the connection]
anaeem1_ has joined #jruby
bbrowning_away is now known as bbrowning
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] kares pushed 10 new commits to jruby-1_7: http://git.io/h09a
<JRubyGithub> jruby/jruby-1_7 cfa0011 kares: add a factory onto ClassValue since we're be instantiating the same (based on opt)...
<JRubyGithub> jruby/jruby-1_7 99a4c30 kares: loadPaths list generics - easier to guess for JavaEmbedUtils consumers
<JRubyGithub> jruby/jruby-1_7 bf85781 kares: move Java.method_missing into native
JRubyGithub has left #jruby [#jruby]
anaeem1_ has quit [Ping timeout: 246 seconds]
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] aplatypus opened issue #2726: how do I install with Jars? Re: "deprecated. use instead jars/installer" message http://git.io/h0Ht
JRubyGithub has left #jruby [#jruby]
sferik has joined #jruby
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] kares closed issue #2595: Issue with object form constructor by reflection. http://git.io/NE2r
JRubyGithub has left #jruby [#jruby]
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] mkristian closed issue #2726: how do I install with Jars? Re: "deprecated. use instead jars/installer" message http://git.io/h0Ht
JRubyGithub has left #jruby [#jruby]
dinfuehr has quit [Remote host closed the connection]
pgokeeffe has quit [Quit: pgokeeffe]
kares has quit [Ping timeout: 246 seconds]
tcrawley-away is now known as tcrawley
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] nirvdrum pushed 1 new commit to master: http://git.io/h0AP
<JRubyGithub> jruby/master 242c527 Kevin Menard: [Truffle] Simplified some code by using returnsEnumeratorIfNoBlock.
JRubyGithub has left #jruby [#jruby]
e_dub has quit [Quit: e_dub]
anaeem1 has joined #jruby
drbobbeaty has joined #jruby
<bjfish2> nirvdrum i’ve made one update to that annotation that could use some review if you have a moment https://github.com/jruby/jruby/pull/2725
lance|afk is now known as lanceball
enebo has joined #jruby
dinfuehr has joined #jruby
dinfuehr has quit [Remote host closed the connection]
mitchellhenke has joined #jruby
nirvdrum has joined #jruby
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] eregon pushed 1 new commit to master: http://git.io/hEGZ
<JRubyGithub> jruby/master 02c7ed8 Benoit Daloze: [Truffle] Display non-aliased (called) name in backtrace of core methods....
JRubyGithub has left #jruby [#jruby]
mister_solo has joined #jruby
vtunka_ has joined #jruby
vtunka has quit [Ping timeout: 250 seconds]
aadam21 has joined #jruby
iamjarvo has joined #jruby
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] bjfish opened pull request #2727: [Truffle] Implementing more of Array#concat (master...truffle_array_concat) http://git.io/hEW5
JRubyGithub has left #jruby [#jruby]
dinfuehr has joined #jruby
e_dub has joined #jruby
kares has joined #jruby
lanceball is now known as lance|afk
dinfuehr has quit [Remote host closed the connection]
lance|afk is now known as lanceball
iamjarvo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
iamjarvo has joined #jruby
iamjarvo has quit [Max SendQ exceeded]
iamjarvo has joined #jruby
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] mkristian pushed 1 new commit to master: http://git.io/hEgY
<JRubyGithub> jruby/master de120ca Christian Meier: [build] remove warning on duplicate plugin definitions [skip ci]
JRubyGithub has left #jruby [#jruby]
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] eregon pushed 1 new commit to master: http://git.io/hE26
<JRubyGithub> jruby/master f804dce Benoit Daloze: [Truffle] Fix SourceSection identifier for def* nodes....
JRubyGithub has left #jruby [#jruby]
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] chrisseaton pushed 2 new commits to master: http://git.io/hEVf
<JRubyGithub> jruby/master 7d7c0fa Brandon Fish: [Truffle] Implementing more of Array#concat
<JRubyGithub> jruby/master 1406498 Chris Seaton: Merge pull request #2727 from bjfish/truffle_array_concat...
JRubyGithub has left #jruby [#jruby]
travis-ci has joined #jruby
<travis-ci> jruby/jruby (master:02c7ed8 by Benoit Daloze): The build is still failing. (http://travis-ci.org/jruby/jruby/builds/55028462)
travis-ci has left #jruby [#jruby]
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] ralphbellofatto opened issue #2728: jruby fails with error message on openJDK and ppc64le http://git.io/hE6s
JRubyGithub has left #jruby [#jruby]
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] mkristian pushed 1 new commit to jruby-1_7: http://git.io/hEPR
<JRubyGithub> jruby/jruby-1_7 aabe84c Christian Meier: Merge pull request #2715 from jruby/strict-base64-encoding...
JRubyGithub has left #jruby [#jruby]
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] mkristian deleted strict-base64-encoding at 13ff7bf: http://git.io/hEPK
JRubyGithub has left #jruby [#jruby]
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] chrisseaton pushed 2 new commits to master: http://git.io/hEPQ
<JRubyGithub> jruby/master 7c4336a Brandon Fish: [Truffle] Adding args to to_enum call in returnsEnumeratorIfNoBlock annotation.
<JRubyGithub> jruby/master 25debc4 Chris Seaton: Merge pull request #2725 from bjfish/truffle_return_enum_args...
JRubyGithub has left #jruby [#jruby]
mitchellhenke has quit [Quit: Computer has gone to sleep.]
mitchellhenke has joined #jruby
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] mkristian pushed 1 new commit to master: http://git.io/hEXS
<JRubyGithub> jruby/master e4f96b9 Christian Meier: [build] regenerate pom.xml [skip ci]
JRubyGithub has left #jruby [#jruby]
havenwood has joined #jruby
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] mkristian pushed 1 new commit to master: http://git.io/hEyK
<JRubyGithub> jruby/master 9feb932 Christian Meier: implements strict base64 encoding...
JRubyGithub has left #jruby [#jruby]
calavera has joined #jruby
subbu has joined #jruby
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] ralphbellofatto opened issue #2729: jruby fails simple file.stat operations on ppc64 architecture. http://git.io/hE9j
JRubyGithub has left #jruby [#jruby]
erikhatcher has joined #jruby
camlow325 has joined #jruby
nirvdrum has quit [Ping timeout: 250 seconds]
slyphon has joined #jruby
<projectodd-ci> Project jruby-master-spec-compiler build #855: FAILURE in 19 min: https://projectodd.ci.cloudbees.com/job/jruby-master-spec-compiler/855/
camlow325 has quit [Remote host closed the connection]
mister_solo has quit [Ping timeout: 246 seconds]
camlow325 has joined #jruby
camlow325 has quit [Read error: Connection reset by peer]
camlow325 has joined #jruby
camlow325 has quit [Client Quit]
cyrez123 has joined #jruby
camlow325 has joined #jruby
mitchellhenke has quit [Quit: Computer has gone to sleep.]
JRubyGithub has joined #jruby
JRubyGithub has left #jruby [#jruby]
<JRubyGithub> [jruby] mkristian closed issue #2551: Base64.strict_decode64 isn't strict http://git.io/bUok
mitchellhenke has joined #jruby
travis-ci has joined #jruby
<travis-ci> jruby/jruby (master:f804dce by Benoit Daloze): The build is still failing. (http://travis-ci.org/jruby/jruby/builds/55033035)
travis-ci has left #jruby [#jruby]
<cyrez123> hi everyone, can someone tell me if jruby lack support for Net::HTTP::Persistent ?
<cyrez123> or do i just something wrong: jruby-1.7.16 :010 > require 'net/http/persistent' LoadError: no such file to load -- net/http/persistent
nirvdrum has joined #jruby
lanceball is now known as lance|afk
rcvalle has joined #jruby
baroquebobcat has joined #jruby
vtunka_ has quit [Quit: Leaving]
cyrez123 has quit [Ping timeout: 246 seconds]
havenwood has quit []
zorak8 has joined #jruby
havenwood has joined #jruby
erikhatcher has quit [Quit: erikhatcher]
travis-ci has joined #jruby
<travis-ci> jruby/jruby (master:1406498 by Chris Seaton): The build is still failing. (http://travis-ci.org/jruby/jruby/builds/55033498)
travis-ci has left #jruby [#jruby]
mister_solo has joined #jruby
phrinx has joined #jruby
<projectodd-ci> Yippie, build fixed!
<projectodd-ci> Project jruby-master-spec-compiler build #856: FIXED in 24 min: https://projectodd.ci.cloudbees.com/job/jruby-master-spec-compiler/856/
pitr-ch has quit [Quit: Computer has gone to sleep.]
phrinx_ has joined #jruby
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] eregon pushed 1 new commit to master: http://git.io/hugN
<JRubyGithub> jruby/master a00ce58 Benoit Daloze: [Truffle] No such thing as a FrozenError.
JRubyGithub has left #jruby [#jruby]
cyrez123 has joined #jruby
phrinx has quit [Ping timeout: 264 seconds]
iamjarvo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] ralphbellofatto opened issue #2730: jruby test test instructions fail on ppc64 system. http://git.io/huoM
JRubyGithub has left #jruby [#jruby]
Obeliks has joined #jruby
vtunka has joined #jruby
<Obeliks> I'm running SASS with JRuby, but execution of a 300k input file takes around 2 minutes. This seems much too long for me, so I tried to profile the call: https://gist.github.com/anonymous/489d429b04d9d62e85c4 Unfortunately, there doesn't seem to be an single culprit. Am I reading this correctly?
cyrez123 has quit [Ping timeout: 246 seconds]
mitchellhenke has quit [Quit: Computer has gone to sleep.]
erikhatcher has joined #jruby
pietr0 has joined #jruby
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] chrisseaton pushed 2 new commits to master: http://git.io/huMp
<JRubyGithub> jruby/master 7881f7c Chris Seaton: [Truffle] jt run --igv option.
<JRubyGithub> jruby/master 2bc8f5c Chris Seaton: [Truffle] Allow GRAAL_BIN to be set per branch by an environment variable.
JRubyGithub has left #jruby [#jruby]
robbyoconnor has quit [Read error: Connection reset by peer]
e_dub has quit [Quit: e_dub]
robbyoconnor has joined #jruby
camlow325 has quit [Remote host closed the connection]
camlow325 has joined #jruby
mister_solo has quit [Ping timeout: 244 seconds]
bbrowning is now known as bbrowning_away
<chrisseaton> headius: around?
e_dub has joined #jruby
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] chrisseaton pushed 1 new commit to truffle-head: http://git.io/hu7H
JRubyGithub has left #jruby [#jruby]
<JRubyGithub> jruby/truffle-head c00ff32 Chris Seaton: Merge branch 'master' into truffle-head...
calavera has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
calavera has joined #jruby
<headius> chrisseaton: I am now
<chrisseaton> If you ever want to explore some more how Graal interacts with Truffle and what Graal IR looks like, we've added a command to make this easier - https://github.com/jruby/jruby/commit/7881f7ce822976b996d3b21d4cfe20afee45a39b
<headius> chrisseaton: nice!
lance|afk is now known as lanceball
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] bjfish pushed 1 new commit to master: http://git.io/hubu
<JRubyGithub> jruby/master ab90f79 Brandon Fish: [Truffle] Refactoring ReturnEnumeratorIfNoBlockNode arguments unshift into RubyArguments method.
JRubyGithub has left #jruby [#jruby]
vtunka has quit [Quit: Leaving]
camlow325 has quit [Remote host closed the connection]
e_dub has quit [Quit: e_dub]
Hobogrammer has quit [Ping timeout: 265 seconds]
shellac has quit [Quit: Computer has gone to sleep.]
<kares> Obeliks: that is likely due therubyrhino being "slow" ... there's better options such as Nashhorn on the JVM but not sure if any of those is usable with ExecJS at this point
<chrisseaton> Obeliks: are you using SASS just at build time, or while the application actually runs?
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] headius created string-quagmire (+3 new commits): http://git.io/hupQ
<JRubyGithub> jruby/string-quagmire 6120fca Charles Oliver Nutter: Fix error type.
<JRubyGithub> jruby/string-quagmire 6ee7103 Charles Oliver Nutter: Fixes/ports to get multi-encoding rindex working correctly.
<JRubyGithub> jruby/string-quagmire fe821de Charles Oliver Nutter: Re-port tr logic from MRI.
JRubyGithub has left #jruby [#jruby]
<kares> also ExecJS forces interpreter mode even on Rhino ... last time I tried changing it - it simply went into void ;(
<Obeliks> chrisseaton: for production we do it on build time, but on developer nodes we run the same code on demand... which makes this a serious issue for us
camlow325 has joined #jruby
sferik has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<headius> kares: I even fixed Rhino to work better in compiled mode, with too-big methods just staying interpreted
<chrisseaton> Obeliks: is your code open? I'm looking for examples of people using JS and Ruby together and wanting better performance for a project I work on
<kares> headius: yy I know
<Obeliks> chrisseaton: actually, we're not using any JS with Ruby
<chrisseaton> chrisseaton: I thought SASS was processed using JS?
<Obeliks> kares: what exactly is ExecJS and how does it come into play here?
<Obeliks> no, it's a ruby gem
<Obeliks> at least I thought so
<kares> Obeliks: how's that possible? i expect for you to be using a JS gem with SASS
<kares> but I'm not familiar with SASS thus might be wrong ...
<kares> maybe post a Gemfile.lock
<Obeliks> kares: if you look at the profiling output, there's nothing that would lead me to assume that the call stack is leaving JRuby
<headius> Obeliks: looks like it's all Ruby, and I think thiat fits what I know about sass
sferik has joined #jruby
<chrisseaton> we must be thinking of less...
<headius> Obeliks: is that 300k file public?
travis-ci has joined #jruby
<travis-ci> jruby/jruby (master:25debc4 by Chris Seaton): The build has errored. (http://travis-ci.org/jruby/jruby/builds/55036239)
travis-ci has left #jruby [#jruby]
<headius> we can work with you to improve the performance but we'd need to iterate with a good size file
<headius> and we obviously don't know sass ;-)
<Obeliks> I'm sure I can whip up a file that I can publish and that still takes too long for my taste :)
<Obeliks> just not tonight, I'm afraid, I will have to talk to my colleague about it, and he just left
bbrowning_away is now known as bbrowning
<nirvdrum> Obeliks: Can you use Node to compile? That's way faster.
pitr-ch has joined #jruby
<Obeliks> nirvdrum: you mean the node.js binding for libsass?
<Obeliks> I can probably try to use a JNI binding for it directly
<chrisseaton> It's a sad day when we have to recommend people using Node instead of JRuby to do something :(
<kares> nirvdrum: seems that SASS is not using any JS runtime ...
<nirvdrum> Oh. Maybe I'm thinking of less then. I thought one of them did. But if that's the case, would Rhino performance really matter?
<headius> Obeliks: open up a bug with your file and we can start iterating on it
<kares> nirvdrum: yes esp. with ExecJS ... but it seems to be not the case here
<headius> we'll probably get farther with JVM tooling, since we'll be able to see allocations, JRuby core, etc
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] eregon pushed 1 new commit to master: http://git.io/hzJA
<JRubyGithub> jruby/master 0550dd8 Benoit Daloze: [Truffle] JT: Rename Utilities.branch to git_branch....
JRubyGithub has left #jruby [#jruby]
<nirvdrum> bjfish2: Are you around?
<headius> nirvdrum: that String#b thing went quagmire on me
<bjfish2> nirvdrum yes
<headius> it was masking a whole bunch of failures, giving false positives
<nirvdrum> headius: I saw your tweets. It sounded like a mess.
<headius> I'm going to tag off what's failing on master and go underground for a few days to re-port String stuff that needs it
<Obeliks> headius: thanks, I will do that
shellac has joined #jruby
yfeldblum has joined #jruby
<nirvdrum> bjfish2: Nevermind. I think I answered what I was going to ask. Sorry for the noise.
<headius> chrisseaton: sass would be a good case to test in jruby+truffle, if there's enough implemented to run it
<headius> any of the pure-Ruby parser/codegen libs
<nirvdrum> headius: Sucky. Sorry I didn't investigate more when it happened. I thought it was just some silly difference between master and 1.7 at the time.
<headius> yeah no worries
<chrisseaton> it seems to have no deps so possible - we've passed 60% of core specs now
<headius> I was right about the test that was failing...it has always failed and only passed because of #b bug...fixing it just busted open the bug piñata
<nirvdrum> headius: But I guess this was one nice outcome of having someone else looking into String.
<headius> yes indeed
<headius> and most of the functionality I'll be porting over will be needed by jruby+truffle
<headius> rindex and tr match MRI again
<nirvdrum> Nice. I apologize in advance for the mess in StringSupport. I'm still hoping to converge on something there.
<nirvdrum> I also wanted to take some time and run the JVM with inline diagnostics to see if the crazy chain of calls that's currently there is really still needed.
<nirvdrum> I have to believe that at some point the dispatch cost catches up.
<nirvdrum> headius: This was another fun one I found: https://github.com/jruby/jruby/issues/2312
<nirvdrum> Fixing that looks like it'd screw up a lot of the cache lookups.
<nirvdrum> It seems unlikely to affect anything in the real world, so I've kinda just left it for now.
<headius> nirvdrum: crazy chain of calls where?
<headius> that's an interesting bug
<headius> most of Encoding matches MRI now, but perhaps some of the laziness needs to be changed
<headius> the laziness confused me the other day too when I was working on dummy encodings
<headius> the good news is that fixing String#b only broke tests in m17n_comb, which is quite the gauntlet
nateberkopec has joined #jruby
iamjarvo has joined #jruby
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] headius pushed 1 new commit to master: http://git.io/hzmj
<JRubyGithub> jruby/master 420f921 Charles Oliver Nutter: Re-tag exposed failures in m17n_comb while we fix on a branch.
JRubyGithub has left #jruby [#jruby]
<nirvdrum> String#length for instance, has a pretty deep call graph.
anaeem1 has quit [Remote host closed the connection]
<nirvdrum> Some of it is just convenience. Some of it I think was to try to optimize inlining.
anaeem1 has joined #jruby
<nirvdrum> I haven't really looked at it too deeply.
shellac has quit [Quit: Computer has gone to sleep.]
djbkd has joined #jruby
djbkd has quit [Remote host closed the connection]
<nirvdrum> I opened my Travis feature request to make navigating to older job history easier, too.
<nirvdrum> So here's hoping that makes its way in at some point.
x1337807x has joined #jruby
djbkd has joined #jruby
<headius> nirvdrum: ahh yes
<headius> yeah the complexity of this stuff is pretty mindblowing when you see it stretching out far into the distance
<headius> I can appreciate the pure-Ruby impls of some of this stuff, but I have great skepticism that those simpler impls cover the same edge cases
<nirvdrum> Yeah. I very much appreciate all that lopex has done.
<headius> ok...time to swim with sharks again...encoding sharks
* lopex feels mentioned
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] eregon pushed 3 new commits to master: http://git.io/hzcK
<JRubyGithub> jruby/master c202678 Benoit Daloze: [Truffle] JT: Do not specify full path....
<JRubyGithub> jruby/master 2467f36 Benoit Daloze: [Truffle] JT: Find appropriate Graal based on Truffle version.
<JRubyGithub> jruby/master fbf9427 Benoit Daloze: [Truffle] JT: Move paths inside the methods using them....
JRubyGithub has left #jruby [#jruby]
zorak8 has quit [Ping timeout: 246 seconds]
zorak8 has joined #jruby
shellac has joined #jruby
sferik has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<headius> jesus there's a lot of weird tlds now
<headius> .cool
<lopex> tlds ?
<headius> top-level domains
<lopex> headius: that nashorn guy says after that joni fix it still doesnt match javascript
<headius> yeah I saw that
<headius> does that case match ruby behavior?
<lopex> yes
<headius> I saw it on mobile and couldn't test
<lopex> I'm not sure where to put the javascript change
<lopex> the diff he posted is one possisbility
<lopex> maybe it should be somewhere in the parser
<headius> do we have js dialect in joni proper?
<lopex> and a separate opcode impl
<lopex> actually, no :)
<lopex> headius: what's left in encodings land ?
<headius> maybe we can get him to backport theirs if we promise to think real hard about helping
<headius> lopex: I'm about to start re-porting String stuff :-(
<lopex> hmm, we'd have add create javascript syntax
<headius> some of it has diverged too much to keep patching
<lopex> which parts ?
<headius> the mbc parts :-D
<headius> basically my goal now is to get all the encoding tests in MRI passing before pre2
<headius> time to put it to bed
djbkd has quit [Remote host closed the connection]
<headius> I think jcodings is ok...I have not found any major issues there for some time
<lopex> headius: ruby methods or internals ?
<headius> but String and Regexp are in rough shape
<headius> mostly Ruby-facing methods
<headius> we have most of the plumbing in place
<headius> just need to re-port the ruby logic to use it
<lopex> is that on master ?
<headius> string-quagmire branch
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] eregon pushed 1 new commit to truffle-head: http://git.io/hzR3
JRubyGithub has left #jruby [#jruby]
<JRubyGithub> jruby/truffle-head 8ccb1f1 Benoit Daloze: Merge remote-tracking branch 'origin/master' into truffle-head...
dumdedum has quit [Quit: foo]
<headius> yesterday I fixed String#b to properly dup the string, and it exposed a bunch of tests that were passing incorrectly
<headius> because #b was causing all the strings under test to be ASCII-8BIT
<lopex> heh
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] eregon pushed 1 new commit to master: http://git.io/hz0a
<JRubyGithub> jruby/master 31fc0d9 Benoit Daloze: [Truffle] JT: Remove useless enumerator.
JRubyGithub has left #jruby [#jruby]
zorak8 has quit [Ping timeout: 272 seconds]
<headius> dunno if you can still reproduce it, but they asked for more data
havenn has joined #jruby
<nirvdrum> I'll give it a shot. But I think something fixed it along the way. Barring that, I can build from a few months back.
zorak8 has joined #jruby
mitchellhenke has joined #jruby
<headius> yeah, might be quickest to just roll back to a known-crashing rev
<headius> I guess without a core file they see the bug report as incomplete
<headius> ok, here we go.
havenwood has quit [Ping timeout: 245 seconds]
<headius> bbl
djbkd has joined #jruby
travis-ci has joined #jruby
<travis-ci> jruby/jruby (master:9feb932 by Christian Meier): The build is still failing. (http://travis-ci.org/jruby/jruby/builds/55037962)
travis-ci has left #jruby [#jruby]
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] eregon pushed 1 new commit to master: http://git.io/hz25
<JRubyGithub> jruby/master b483e10 Benoit Daloze: [Truffle] FindBugs: remove unused fields.
JRubyGithub has left #jruby [#jruby]
sferik has joined #jruby
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] headius pushed 1 new commit to string-quagmire: http://git.io/hzKi
<JRubyGithub> jruby/string-quagmire 436dd30 Charles Oliver Nutter: Merge branch 'test-encoding-fixes' into string-quagmire...
JRubyGithub has left #jruby [#jruby]
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] headius deleted test-encoding-fixes at 3ffcfa9: http://git.io/hzKH
JRubyGithub has left #jruby [#jruby]
subbu is now known as subbu|lunch
yfeldblum has quit [Remote host closed the connection]
colinsurprenant has joined #jruby
e_dub has joined #jruby
yfeldblum has joined #jruby
yfeldblum has quit [Remote host closed the connection]
dabradley has quit [Quit: WeeChat 0.4.2]
pjammer has joined #jruby
zorak8 has quit [Ping timeout: 265 seconds]
skade has joined #jruby
zorak8 has joined #jruby
cajone has quit [Remote host closed the connection]
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
e_dub has quit [Quit: e_dub]
travis-ci has joined #jruby
<travis-ci> kares/jruby (test-master-green:acd4108 by Chris Seaton): The build passed. (http://travis-ci.org/kares/jruby/builds/55063559)
travis-ci has left #jruby [#jruby]
cajone has joined #jruby
travis-ci has joined #jruby
<travis-ci> jruby/jruby (master:a00ce58 by Benoit Daloze): The build is still failing. (http://travis-ci.org/jruby/jruby/builds/55051291)
travis-ci has left #jruby [#jruby]
<pjammer> is trinidad the only webserver to use in jruby?
<pjammer> I've got this situation in production only, that nginx is serving 0 byte error pages.
e_dub has joined #jruby
djbkd has quit [Remote host closed the connection]
<pjammer> thanks lopex also found this bad boy https://blog.engineyard.com/2011/taking-stock-jruby-web-servers
zorak8 has quit [Read error: Connection reset by peer]
zorak8 has joined #jruby
<lopex> pjammer: it's from 2011, things change quite quickly in this land
<pjammer> heh i just saw 3 of them deprecated
<headius> pjammer: we usually recommend torquebox/torqbox or puma now
e_dub has quit [Ping timeout: 265 seconds]
<pjammer> and this wiki is even a year old lol.
<pjammer> i like the sounds of torquebox
<pjammer> is it like getting delayed job for free?
<pjammer> in essence
<pjammer> and messages means like AMQP style? well i'll read just stoked when i saw that
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] bjfish opened pull request #2731: [Truffle] Moving Array#join to array.rb. (master...truffle_array_join) http://git.io/hgTm
JRubyGithub has left #jruby [#jruby]
<pjammer> i think trinidad is jacking my 404 pages
<pjammer> turned off varnish, nginx still serves 0 byte content lengths in production only
e_dub has joined #jruby
<pjammer> same nginx file in 'staging' but with rails development settings for static assets works fine.
shellac has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] chrisseaton pushed 2 new commits to master: http://git.io/hgIN
<JRubyGithub> jruby/master 2753f16 Brandon Fish: [Truffle] Moving Array#join to array.rb.
<JRubyGithub> jruby/master 4a39b20 Chris Seaton: Merge pull request #2731 from bjfish/truffle_array_join...
JRubyGithub has left #jruby [#jruby]
mattwildig has joined #jruby
<headius> lopex: where can I look up the error message for a given joni return value?
<headius> there's an interface with all of the messages but doesn't seem to be any way to go from result code to message
<lopex> ?
<headius> right, that's the strings
<headius> I have an int in hand
<lopex> from where ?
<headius> in MRI it's onig_error_code_to_str
<headius> for negative result from a match
<lopex> oh
<lopex> wait
<headius> I'm just re-porting parts of the match logic and we didn't have an error raised here
<headius> so I need to make one :-)
<lopex> headius: let me look up that oni function
subbu|lunch has quit [Ping timeout: 256 seconds]
<headius> it's not that
<headius> it's for the error conditions resulting from a match
<headius> onig_errmsg_buffer err = "";
<headius> onig_error_code_to_str((UChar*)err, (int)result);
<headius> rb_reg_raise(RREGEXP_SRC_PTR(re), RREGEXP_SRC_LEN(re), err, re);
<lopex> headius: in oniguruma.h
zorak8 has quit [Ping timeout: 256 seconds]
<headius> those lines are from re.c
<headius> onig_error_code_to_str is in regerror.h
<headius> oh yes, there's the codes
<lopex> do you need to if on some specific code ?
<headius> I need to emulate the code above
<lopex> I just made exception hierarchy on those four types
<headius> hmm ok
<lopex> well, "kinds"
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] nirvdrum pushed 1 new commit to master: http://git.io/hgGe
<JRubyGithub> jruby/master ea238d9 Kevin Menard: [Truffle] Renamed some classes to generate smaller filenames....
JRubyGithub has left #jruby [#jruby]
<headius> I'll figure something out
<lopex> that would seem weird
subbu|lunch has joined #jruby
<lopex> or thay translate to different types of exceptions in ruby ?
djbkd has joined #jruby
<headius> they're all RegexpError
<headius> this is just to get the message from the error code
<headius> I think my confusion is that joni raises where oni uses return codes?
<lopex> yes
<headius> i.e. I should see an exception raised with appropriate message that I can use?
<headius> ok
<lopex> that right
djbkd has quit [Remote host closed the connection]
<headius> right ok
<lopex> er
<lopex> no that :)
mattwildig has left #jruby [#jruby]
<lopex> headius: this one
pietr0 has quit [Quit: pietr0]
subbu|lunch is now known as subbu
aramisbea has joined #jruby
djbkd has joined #jruby
<lopex> headius: those checks are so scattered in oni, they should have a macro for that
<headius> for sure
<lopex> it's also a performance concern I guess
<lopex> all mallocs are guarded
<lopex> etc
colinsurprenant has quit [Quit: colinsurprenant]
colinsurprenant has joined #jruby
zorak8 has joined #jruby
travis-ci has joined #jruby
<travis-ci> kares/jruby (test-master-green:f2b9bf7 by kares): The build passed. (http://travis-ci.org/kares/jruby/builds/55068081)
travis-ci has left #jruby [#jruby]
x1337807x has joined #jruby
zorak8 has quit [Ping timeout: 264 seconds]
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] kares pushed 2 new commits to master: http://git.io/hgVv
<JRubyGithub> jruby/master f2b9bf7 kares: Merge branch 'jruby-1_7' into master...
<JRubyGithub> jruby/master 96ee1d8 kares: Merge branch 'master' of github.com:jruby/jruby...
JRubyGithub has left #jruby [#jruby]
travis-ci has joined #jruby
<travis-ci> jruby/jruby (master:a536f0f by Chris Seaton): The build is still failing. (http://travis-ci.org/jruby/jruby/builds/55057261)
travis-ci has left #jruby [#jruby]
e_dub has quit [Quit: e_dub]
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] nirvdrum pushed 1 new commit to truffle-head: http://git.io/hgX2
<JRubyGithub> jruby/truffle-head 46683af Kevin Menard: Merge branch 'master' into truffle-head
JRubyGithub has left #jruby [#jruby]
skade has quit [Quit: Computer has gone to sleep.]
sferik has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
skade has joined #jruby
iamjarvo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
iamjarvo has joined #jruby
sferik has joined #jruby
skade has quit [Quit: Computer has gone to sleep.]
skade has joined #jruby
pietr0 has joined #jruby
subbu is now known as subbu|busy
zorak8 has joined #jruby
pitr-ch has quit [Quit: Leaving]
travis-ci has joined #jruby
<travis-ci> jruby/jruby (master:ab90f79 by Brandon Fish): The build is still failing. (http://travis-ci.org/jruby/jruby/builds/55058070)
travis-ci has left #jruby [#jruby]
pgokeeffe has joined #jruby
djbkd has quit [Remote host closed the connection]
erikhatcher has quit [Quit: erikhatcher]
djbkd has joined #jruby
yfeldblum has joined #jruby
iamjarvo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
aramisbea has quit [Quit: Leaving...]
pgokeeffe has quit [Quit: pgokeeffe]
<nirvdrum> lopex: I assume you copied this from MRI, but why does getting a string's length also set its code range?
<lopex> nirvdrum: because it requires the scan anyways
<lopex> (well for non fixed char length encodings)
<nirvdrum> I'm just not clear on what computation it's saving.
<lopex> next time the core range is known
<lopex> potentially
<nirvdrum> Granted, this is contrived, but if I just calculate a string's length in a while loop, the code range is constantly packed, unpacked, and set.
<nirvdrum> Yeah, but that's my point. It just ignores whatever the code range is anyway.
<nirvdrum> Unless I'm mistaken.
<lopex> nirvdrum: well, it might be done conditionally yes
<lopex> but the other cases
<lopex> like, foo.length, foo.whatever_that_required_code_range
<lopex> is goint to be faster
<lopex> *going
kares has quit [Ping timeout: 244 seconds]
<nirvdrum> I get that. But I'd like length to be faster, too :-)
<lopex> nirvdrum: then it's the decision of caching the length
<lopex> nirvdrum: otherwise, setting the coderange is very very chip
<lopex> nirvdrum: ah
<lopex> nirvdrum: there was another reason
<nirvdrum> lopex: Let me rephrase. If every other operation can trust the already scanned code range, why can't length as well?
<lopex> nirvdrum: once code ranges is known, there's been much faster utf-8 length routines
<lopex> nirvdrum: it used to be the case
<lopex> if code range is "valid" then use optimizes utf-8 length for example
<lopex> *optimized
<lopex> nirvdrum: if it's not the case now, I'm not aware of it
<lopex> something might have changes in the source
<lopex> *changed
<nirvdrum> No, it does that.
<lopex> doh, the keyboard
<nirvdrum> But, if it's 7BIT, you're expected to know to return the ByteList length.
<nirvdrum> And I missed that.
<nirvdrum> So my UTF-8 string goes down the slow path constantly.
lanceball is now known as lance|afk
marr has joined #jruby
<lopex> nirvdrum: is the optimised utf-8 still disabled ?
<nirvdrum> Optimized UTF-8 isn't activated if the string is single byte optimizable.
<nirvdrum> But the caller is supposed to just know that, I guess.
<lopex> you're talking about isSingleByteOptimizable ?
bbrowning is now known as bbrowning_away
<nirvdrum> Yeah.
<nirvdrum> The caller evidently needs to know that StringSupport.strLengthFromRubyString doesn't optimize for single-byte encodings itself.
<lopex> yea I see the problem in *full
<nirvdrum> But also, one branch sets the code range, the other doesn't.
<nirvdrum> If you know what you're doing, it's simple enough.
<nirvdrum> But we missed a case.
<lopex> hmm, I think it might be broken after my changes at some point
<lopex> I dont recall that at all
skade has quit [Read error: Connection reset by peer]
skade has joined #jruby
skade has quit [Client Quit]
tcrawley is now known as tcrawley-away
dcheung has quit [Ping timeout: 246 seconds]
<lopex> nirvdrum: well, it was quite a bit ago too though :)
<nirvdrum> lopex: Yeah. I'm just curious :-)
<nirvdrum> Please don't take it as criticism.
<lopex> nirvdrum: all criticism will be relayed on MRI
<lopex> *to
<lopex> :)
mitchellhenke has quit [Quit: Computer has gone to sleep.]
<lopex> nirvdrum: but yeah, it's possible I've made a mistake or they do rescan till now
<lopex> nirvdrum: I think caching the length as rubinius does at least deserves some discussion
<lopex> enebo also likes ropes but I think it's too much complex
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<enebo> TOPE ROPES
<lopex> even without memory model
<lopex> nirvdrum: I'll look at it tommorrow if you want
<nirvdrum> Caching would be nice. But invalidating that cache sounds like it'd be very error-prone, unless that operation was pushed into ByteList.
<enebo> nirvdrum: I have long advocated for length cache but not until we are 100%
<enebo> nirvdrum: MRI did not do it only because of memory considerations
<lopex> does rubinius cache hashcode as well ?
subbu|busy is now known as subbu
<nirvdrum> They do.
<lopex> java does too :)
<nirvdrum> Java strings are immutable, so that's a tad easier.
<lopex> not
<lopex> they arent
<lopex> they're just referentially transaparent
<lopex> nirvdrum: they mutate the hashcode
<lopex> nirvdrum: in a clever way that doesnt require locking
<nirvdrum> I've been lied to my entire life then.
<lopex> it just happens that assigning int is atomic on all java platforms
<lopex> nirvdrum: look into the source :)
<lopex> so worse case in java is hash recalc more than once
<nirvdrum> Sure. But once you calculate a string's length, there's no way to alter that length, is there?
<lopex> in java ?
<lopex> in ruby sure there is
<lopex> that would be a plague of cr-like bugs
<lopex> but might be worth it
<chrisseaton> lopex: I think atomic int is guaranteed by the standard actually - but long and double are not
<lopex> chrisseaton: yeah, that might be the case
<chrisseaton> i wonder how that works with volatile longs...
<lopex> chrisseaton: java aligns all things so it might be a bit easier
<enebo> chrisseaton: and does it luckily differ on x64 which breaks in weird ways because it is not guaranteed by JMM but happens to work
<enebo> breaks no 32 bit that is
<enebo> no=on
<lopex> can it be done via bariers or requires full locking ?
<lopex> jvm can cheat undeneath
<chrisseaton> nirvdrum: what about giving byte list a version number? and making it the responsibility of the .length call site to cache, based on that version number?
x1337807x has joined #jruby
<lopex> chrisseaton: they all mutating methods would invalidate that ?
<nirvdrum> chrisseaton: You'd still have to track when to update the version number. E.g., chomp and chop use the same byte list and just update the tail pointer.
<chrisseaton> yeah - they would all bump the version
<nirvdrum> I guess the number of modifying methods in ByteList is much smaller than the ones in String.
<chrisseaton> you'd just need to modify each setter - there can't be that many on ByteList?
<enebo> b
<chrisseaton> and if the version number gets to INTEGER_MAX you'd consider it 'mega-lengthed'
aadam21 has quit []
<lopex> enebo: remeber the days when mentalguy entered the conversation on those ocasions ?
<chrisseaton> and we've ruled out storing the length - not caching it up just always updating it - have we?
<enebo> lopex: heh
<lopex> chrisseaton: could same apply to hashcode ?
<nirvdrum> chrisseaton: On String?
<chrisseaton> yeah on string
<chrisseaton> or on bytelist
<lopex> and cr
<lopex> etc
<nirvdrum> Not ruled it out. But I think it'd be very error prone.
<nirvdrum> We have discussed pushing some of this stuff out of String and into ByteList, since it already has all the necessary info.
<nirvdrum> But then it's semantically tied to Ruby.
<nirvdrum> I don't think that's problematic per se.
<chrisseaton> How hot do we think .length is? Are we spending our time in the right way here?
<lopex> that would require some statistics from real code
<lopex> afaik torquebox strugled more with hashcode than length
<nirvdrum> Well, this started as me asking why calculating the length -- what I would think is a r/o operation -- also updated the code range.
drbobbeaty has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<nirvdrum> But, string length is used by a lot of other methods.
<enebo> nirvdrum: length is largely only relevant with non 7bit length since ascii it is byte length
<enebo> nirvdrum: so you need to ask yourself how common those strings are
<lopex> there could be a motivation picture "ruby, where string length takes at least 10k lines of code"
<enebo> nirvdrum: but when they are they are really expensive
<nirvdrum> enebo: Sure. That just gets back to my original issue.
<enebo> nirvdrum: this is actually one place where ROPES would help :)
<chrisseaton> enebo: but knowing that requires the CR to be up to date, which is as much work as keeping a length value up to date
<enebo> chrisseaton: I don’t disagree. I actually think length should be cached and always have
<nirvdrum> enebo: In particular, the string length methods in StringSupport expect the caller to *not* call them if single byte optimizable.
<nirvdrum> enebo: Guess who screwed that up.
<enebo> chrisseaton: but we have never reached 100% on m17n so I find it difficult to change to it
<enebo> nirvdrum: hey it’s not nice to point fingers
<lopex> who!
<nirvdrum> I was going to say me.
<lopex> ah
<nirvdrum> But actually, this is chrisseaton's code. That backfired.
* lopex ducks
* nirvdrum ducks too.
* enebo also ducks...bat!
<nirvdrum> But this does feed back into the String methods being a crazy chain of calls that maybe 3 people know well and I'm not one of them.
<nirvdrum> So I was asking about potentially simplifying.
<enebo> nirvdrum: and some of those people no longer work on our project past irc and don’t quite remember anymore :)
<enebo> nirvdrum: but I think it is partially about certainty of uncertain semantics
<lopex> I'm always afraid of weird corner cases of mri
<enebo> nirvdrum: just passing rubyspecs or even mri unit tests have never filled me with confidence (nothing against the efforts obviously)
<chrisseaton> it's very easy to accidentally pass RubySpecs
<nirvdrum> Agreed. That's why I'm so concerned trying to tidy things up.
<enebo> nirvdrum: but since m17n came into being there is a lot bigger body of direct and indirect tests whch will break if we mess something up
<nirvdrum> I feel like a bull in a china shop.
<chrisseaton> 'doesn't throw an exception' - that's always an easy one!
<enebo> I guess at some point if we want a cleaner design we have to take a leap
<enebo> I would still like us to pass everything available involving strings before we wreck the duct tape of our port :)
<nirvdrum> It also irks me a bit that obscure encodings can have such a profound effect on design and subsequently, performance.
<chrisseaton> nirvdrum: can we assume (in the Truffle sense) that they're never used?
<lopex> nirvdrum: compatibility has it's price
<chrisseaton> a big assumption that you've never used anything else binary, ascii or utf-8?
<chrisseaton> i bet that would hold on many many applications
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] nirvdrum pushed 2 new commits to master: http://git.io/h2nB
<JRubyGithub> jruby/master 5eccb58 Kevin Menard: [Truffle] Added a location for common String guards.
<JRubyGithub> jruby/master a9f34c8 Kevin Menard: [Truffle] Added a single-byte optimizable form of String#length.
JRubyGithub has left #jruby [#jruby]
<nirvdrum> chrisseaton: Well, at the very least we can add specializations like I just did here: https://github.com/jruby/jruby/commit/a9f34c872eadd02a7a8e147113e72902fa04c5fb
<lopex> chrisseaton: otoh, we cant even have trust on mri's encoding code since they dont have enough coverage
<nirvdrum> The slow ones are there, but shouldn't ever end up being called.
<chrisseaton> nirvdrum: but how expensive is isSingleByteOptimizable?
<lopex> chrisseaton: we're suspended in a weird "dont dont how it's expected to work" land
<nirvdrum> chrisseaton: But, this does feed back into some of the stuff I want to explore with Strings.
<chrisseaton> actually, you could put the assumption in isSingleByteOptimizable itself
<nirvdrum> chrisseaton: Fairly cheap: string.getCodeRange() == CR_7BIT || encoding.maxLength() == 1
<chrisseaton> nirvdrum: and I suppose we have to update the code range for other purposes as well anyway?
<nirvdrum> getCodeRange is a simple int field access (we could push this into the shape).
<nirvdrum> And maxlength is defined on each encoding. Also a quick int lookup.
<nirvdrum> chrisseaton: When we modify, yeah. But I updated the translator to create strings with the code range from the lexer. So in the "read-only" case (from source files), we don't need to scan for code ranges at all anymore.
pjammer has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<lopex> what's shape ?
enebo has quit [Quit: enebo]
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
dcheung has joined #jruby
<nirvdrum> lopex: Truffle's object model.
<lopex> does it smell V8 hidden classes ?
<nirvdrum> Yeah. Same basic idea.
<lopex> chrisseaton: thank you
<chrisseaton> lopex: more things like that on http://rubybib.org if you haven't heard of it yet
travis-ci has joined #jruby
<travis-ci> jruby/jruby (master:fbf9427 by Benoit Daloze): The build failed. (http://travis-ci.org/jruby/jruby/builds/55065048)
travis-ci has left #jruby [#jruby]
<lopex> oh I havent
pjammer has joined #jruby
<chrisseaton> our work on C extensions is now public as well http://www.chrisseaton.com/rubytruffle/modularity15/rubyextensions.pdf
pietr0 has quit [Quit: pietr0]
<lopex> wow, you dont seem to waste time
<lopex> chrisseaton: last time I studied hotspot papers, they were about object/array inlining, but I guess that didnt go anywhere ?
<chrisseaton> lopex: Truffle does that x100000
<chrisseaton> lopex: have you seen our acid test? half way down http://www.chrisseaton.com/rubytruffle/pushing-pixels/ - we run that code with 0 allocations
<lopex> chrisseaton: the hotspot case probably ended "too many deopt cases"
pietr0 has joined #jruby
<lopex> chrisseaton: yes, I read all you writings, if not already these are on my todo anyways
calavera has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<lopex> chrisseaton: yeah, and in the last video you said "if you allocate temporaries, you already lost"
<lopex> something along those lines
calavera has joined #jruby
<lopex> but I guess having shapes solves most of these problems in a generic way right ?
aramisbea has joined #jruby
calavera has quit [Ping timeout: 252 seconds]
calavera has joined #jruby
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] nirvdrum pushed 2 new commits to truffle-head: http://git.io/h2ux
<JRubyGithub> jruby/truffle-head 58ab443 Kevin Menard: Merge remote-tracking branch 'origin/master' into yo
<JRubyGithub> jruby/truffle-head f397049 Kevin Menard: [Truffle] Updated guard syntax.
JRubyGithub has left #jruby [#jruby]
dling has joined #jruby
<lopex> nirvdrum: I wonder if an aproach such as java took when they were designing generics in java5, would work
<lopex> they stripped all java until they had simple enough system so they could apply CH on it's type system
mje113__ has quit [Quit: Connection closed for inactivity]
<lopex> it was called feather weight java
<lopex> same could be applied to ruby on different axis
<lopex> make it almost smalltalk
<lopex> then you have the entry point for deopt and all truffle stuff
anaeem1 has quit [Remote host closed the connection]
<lopex> then identify, inconsistent places MRI has
anaeem1 has joined #jruby
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] headius pushed 4 new commits to string-quagmire: http://git.io/h2ah
<JRubyGithub> jruby/string-quagmire 9715da5 Charles Oliver Nutter: Re-port Regexp#=~ and some downstream functions.
<JRubyGithub> jruby/string-quagmire f874bb1 Charles Oliver Nutter: Make MatchData#begin match MRI and fix typo in our rb_enc_mbclen.
<JRubyGithub> jruby/string-quagmire 38ade02 Charles Oliver Nutter: Wrong base for end.
JRubyGithub has left #jruby [#jruby]
anaeem1 has quit [Ping timeout: 264 seconds]
x1337807x has joined #jruby
djbkd has quit [Remote host closed the connection]
travis-ci has joined #jruby
<travis-ci> jruby/jruby (master:31fc0d9 by Benoit Daloze): The build has errored. (http://travis-ci.org/jruby/jruby/builds/55066788)
travis-ci has left #jruby [#jruby]
<chrisseaton> lopex: shapes allow instance variables to be the same as java fields - and then the escape analysis allows them to be allocated on the stack - or in registers even
djbkd has joined #jruby
x1337807_ has joined #jruby
<lopex> chrisseaton: yeah, I imagine that
<lopex> headius: has this regex code diverged THIS much ?
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] bjfish opened pull request #2732: [Truffle] Adding frozen check to Array#delete. (master...truffle_array_delete_frozen) http://git.io/h2rw
JRubyGithub has left #jruby [#jruby]
x1337807x has quit [Ping timeout: 245 seconds]
<headius> lopex: some of it is code style that has changed in JRuby over time, making it hard to see what's missing
<headius> some methods I audit line by line and some I just wipe out and redo
<lopex> headius: I can see the diffs..
<headius> there are some places that don't match at all
<headius> or they've been refactored so many times I can't see any similarity
<lopex> headius: the cause of many of those might be the attempt to commonalize 1.8/1.9
<lopex> well I just made up "commonalize"
djbkd has quit [Remote host closed the connection]
mikecmpbll has joined #jruby
<headius> yeah there's some of that, and splitting arity paths, and optimizing MatchData use
djbkd has joined #jruby
<headius> lopex: hey get this...while working on rindex and tr last night I could not for the life of me figure out why exactly-ported code was AIOOB
<lopex> headius: I wonder if there's a way to interpolate the changes in mri to say "these lines are likely to be changed in near future"
<headius> turns out several MRI methods allow string byte-wrangling to walk off the string into the \0
<lopex> yes
<lopex> those are frequent cases
<lopex> as many of joni issues as well
<headius> I think it just happens to work because none of the encodings require more than one additional byte to determine it's an invalid mbc
<lopex> *as well as
<lopex> yeah
<headius> it forced me to get lldb and a debug build of MRI because it didn't make any sense
<headius> the code shouldn't work, I said
<lopex> they just bump the pointer
<lopex> ah
<headius> so I had to actually step through it and see for myself that it was walking into the null
<headius> amazing
<headius> I think I have another such case now
djbkd has quit [Remote host closed the connection]
djbkd has joined #jruby
<lopex> headius: due to \0 they cant share as much as we do too :)
<headius> yeah I suppose that's true
<headius> no cheap slicing if you have to null terminate
<lopex> no split sharing etc
<lopex> and that's all for strcpy, strlen, printf friendliness
x1337807_ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<lopex> headius: but well, java itself isnt sharing strings anymore
<headius> MRI is really just a scripting language for C programmers :-D
<headius> yeah, they ditched that
<lopex> I understand the reasoning for java, but it's still worth doing in ruby
<lopex> not sure about arrays though
<lopex> headius: remember the "another thread sweeping cowed arrays" sporadically thought ?
<headius> yup
donV has joined #jruby
<lopex> headius: btw the backrefs can all be reused in things like String#scan etc, the whole joni api is designed around that
<headius> lopex: ok...I'm not really doing a good job of that in this port, so we may have to rework a bit
<headius> I will, however, be providing backref and non-backref paths for all of these
<headius> I think we can get to a point where potential backref methods pass a separate carrier object rather than using the frame
<lopex> headius: do you use getRegion/getEagerRegion there ?
zorak8 has quit [Ping timeout: 272 seconds]
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] chrisseaton pushed 2 new commits to master: http://git.io/h2Du
<JRubyGithub> jruby/master af6bb3e Brandon Fish: [Truffle] Adding frozen check to Array#delete.
<JRubyGithub> jruby/master 4ba498c Chris Seaton: Merge pull request #2732 from bjfish/truffle_array_delete_frozen...
JRubyGithub has left #jruby [#jruby]
aramisbea has quit [Quit: Leaving...]
zorak8 has joined #jruby
zorak8 has quit [Ping timeout: 245 seconds]
zorak8 has joined #jruby
zorak8 has quit [Max SendQ exceeded]
zorak8 has joined #jruby
zorak8 has quit [Max SendQ exceeded]
zorak8 has joined #jruby
zorak8 has quit [Max SendQ exceeded]
zorak8 has joined #jruby
zorak8 has quit [Max SendQ exceeded]
zorak8 has joined #jruby
zorak8 has quit [Max SendQ exceeded]
zorak8 has joined #jruby
zorak8 has quit [Max SendQ exceeded]
zorak8 has joined #jruby
zorak8 has quit [Max SendQ exceeded]
travis-ci has joined #jruby
<travis-ci> jruby/jruby (master:b483e10 by Benoit Daloze): The build was fixed. (http://travis-ci.org/jruby/jruby/builds/55068111)
travis-ci has left #jruby [#jruby]
rcvalle has quit [Quit: rcvalle]
iamjarvo has joined #jruby