Antiarc has quit [Ping timeout: 256 seconds]
rjnienaber has quit [Ping timeout: 246 seconds]
andreaswurm has quit [Quit: Leaving]
<rtyler> finch: jgit'in?
erikhatcher has joined #jruby
colinsurprenant has joined #jruby
<projectodd-ci> Project jruby-master-test-jruby build #291: FAILURE in 32 min: https://projectodd.ci.cloudbees.com/job/jruby-master-test-jruby/291/
iamjarvo has joined #jruby
iamjarvo has quit [Max SendQ exceeded]
iamjarvo has joined #jruby
anaeem1__ has quit [Remote host closed the connection]
anaeem1 has joined #jruby
travis-ci has joined #jruby
<travis-ci> jruby/jruby (master:d82038e by Kevin Menard): The build was fixed. (http://travis-ci.org/jruby/jruby/builds/45892676)
travis-ci has left #jruby [#jruby]
anaeem1 has quit [Ping timeout: 264 seconds]
pgokeeffe has joined #jruby
subbu has joined #jruby
colinsurprenant has quit [Quit: colinsurprenant]
pgokeeffe has quit [Ping timeout: 245 seconds]
iamjarvo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
benlovell has joined #jruby
elia has quit [Quit: Computer has gone to sleep.]
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] chrisseaton pushed 1 new commit to master: http://git.io/2PCH5Q
<JRubyGithub> jruby/master 32cdcfb Chris Seaton: [Truffle] FindBugs for Truffle.
JRubyGithub has left #jruby [#jruby]
benlovell has quit [Ping timeout: 255 seconds]
erikhatcher_ has joined #jruby
drbobbeaty has quit [Read error: Connection reset by peer]
drbobbeaty has joined #jruby
erikhatcher has quit [Ping timeout: 255 seconds]
erikhatcher_ is now known as erikhatcher
marr has quit []
diegoviola has quit [Remote host closed the connection]
travis-ci has joined #jruby
<travis-ci> jruby/jruby (master:32cdcfb by Chris Seaton): The build has errored. (http://travis-ci.org/jruby/jruby/builds/45898973)
travis-ci has left #jruby [#jruby]
colinsurprenant has joined #jruby
calavera has joined #jruby
calavera has quit [Client Quit]
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] n-nishizawa opened issue #2424: Error in File.stat http://git.io/2lH8dg
JRubyGithub has left #jruby [#jruby]
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] chrisseaton pushed 1 new commit to truffle-head: http://git.io/qfNe7Q
JRubyGithub has left #jruby [#jruby]
<JRubyGithub> jruby/truffle-head e898e9c Chris Seaton: Merge branch 'master' into truffle-head...
calavera has joined #jruby
calavera has quit [Read error: Connection reset by peer]
calavera_ has joined #jruby
subbu has quit [Ping timeout: 264 seconds]
calavera_ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
erikhatcher has quit [Quit: erikhatcher]
metadave has joined #jruby
<projectodd-ci> Project jruby-master-test-jruby build #292: STILL FAILING in 35 min: https://projectodd.ci.cloudbees.com/job/jruby-master-test-jruby/292/
metadave has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
mbj has quit [Quit: leaving]
colinsurprenant has quit [Quit: colinsurprenant]
metadave has joined #jruby
metadave has quit [Client Quit]
subbu has joined #jruby
colinsurprenant has joined #jruby
SilentNuke has joined #jruby
calavera has joined #jruby
mitchellhenke has joined #jruby
drbobbeaty has quit [Read error: Connection reset by peer]
drbobbeaty has joined #jruby
mitchellhenke has quit [Client Quit]
metadave has joined #jruby
metadave has quit [Client Quit]
zorak8 has joined #jruby
iamjarvo has joined #jruby
mrmargolis has joined #jruby
SilentNuke has quit []
drbobbeaty has quit [Read error: Connection reset by peer]
drbobbeaty has joined #jruby
tlarevo has quit [Ping timeout: 244 seconds]
calavera has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
subbu has quit [Ping timeout: 240 seconds]
calavera has joined #jruby
colinsurprenant has quit [Quit: colinsurprenant]
colinsurprenant has joined #jruby
<headius> nirvdrum: that sounds great...and keep a mind for what would make more sense living in jcodings too
<headius> there's a lot of nice-to-have utilities in jruby that could really help jcodings' API
drbobbeaty has quit [Read error: Connection reset by peer]
drbobbeaty has joined #jruby
calavera has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
zorak8 has quit [Ping timeout: 264 seconds]
calavera has joined #jruby
mrmargolis has quit [Remote host closed the connection]
havenwood has quit [Ping timeout: 250 seconds]
mrmargolis has joined #jruby
mrmargolis has quit [Ping timeout: 256 seconds]
calavera has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
calavera has joined #jruby
nirvdrum has quit [Ping timeout: 255 seconds]
colinsurprenant has quit [Quit: colinsurprenant]
kares has joined #jruby
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] headius pushed 1 new commit to test-mri-22-tests: http://git.io/C5S5lw
<JRubyGithub> jruby/test-mri-22-tests eeae6ef Charles Oliver Nutter: Tweak to exclude-loading rescue logic, suggested by @nobu.
JRubyGithub has left #jruby [#jruby]
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] headius pushed 1 new commit to master: http://git.io/8xirzQ
<JRubyGithub> jruby/master 2eb920d Charles Oliver Nutter: Handle when with a DNode just like a normal expression in IR....
JRubyGithub has left #jruby [#jruby]
noop has joined #jruby
<headius> nirvdrum: thanks (hope you see this offline)
<headius> for the build fix
travis-ci has joined #jruby
<travis-ci> jruby/jruby (test-mri-22-tests:eeae6ef by Charles Oliver Nutter): The build was canceled. (http://travis-ci.org/jruby/jruby/builds/45915455)
travis-ci has left #jruby [#jruby]
tlarevo has joined #jruby
calavera has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
rsim has joined #jruby
rsim1 has joined #jruby
travis-ci has joined #jruby
<travis-ci> jruby/jruby (master:2eb920d by Charles Oliver Nutter): The build passed. (http://travis-ci.org/jruby/jruby/builds/45915597)
travis-ci has left #jruby [#jruby]
rsim has quit [Ping timeout: 265 seconds]
donV has quit [Quit: donV]
anaeem1_ has joined #jruby
<projectodd-ci> Yippie, build fixed!
<projectodd-ci> Project jruby-master-test-jruby build #293: FIXED in 33 min: https://projectodd.ci.cloudbees.com/job/jruby-master-test-jruby/293/
Antiarc has joined #jruby
Antiarc has quit [Remote host closed the connection]
Antiarc has joined #jruby
Antiarc has quit [Remote host closed the connection]
Antiarc has joined #jruby
Antiarc has quit [Remote host closed the connection]
elia has joined #jruby
donV has joined #jruby
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] craigmcnamara closed issue #2423: Compass-rails test suite fails strangely under JRuby http://git.io/-kignQ
JRubyGithub has left #jruby [#jruby]
mister_solo has joined #jruby
elia has quit [Quit: Computer has gone to sleep.]
Antiarc has joined #jruby
paulswilliamsesq has joined #jruby
Antiarc has quit [Remote host closed the connection]
Antiarc has joined #jruby
Antiarc has quit [Remote host closed the connection]
Antiarc has joined #jruby
iamjarvo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Antiarc has quit [Remote host closed the connection]
zorak8 has joined #jruby
havenwood has joined #jruby
pchalupa has joined #jruby
Antiarc has joined #jruby
tcrawley-away is now known as tcrawley
paulswilliamsesq has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
paulswilliamsesq has joined #jruby
Hobogrammer has quit [Ping timeout: 240 seconds]
tcrawley is now known as tcrawley-away
vyorkin has joined #jruby
elia has joined #jruby
zorak8 has quit [Ping timeout: 255 seconds]
havenwood has quit [Remote host closed the connection]
mister_solo has quit [Ping timeout: 250 seconds]
mister_solo has joined #jruby
skade has joined #jruby
paulswilliamsesq has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
vyorkin has quit [Quit: WeeChat 1.0.1]
tlarevo has quit [Ping timeout: 264 seconds]
tlarevo has joined #jruby
mister_solo has quit [Ping timeout: 265 seconds]
marr has joined #jruby
vtunka has joined #jruby
mister_solo has joined #jruby
benlovell has joined #jruby
nanoyak has joined #jruby
nanoyak has quit [Quit: Computer has gone to sleep.]
mister_solo has quit [Ping timeout: 256 seconds]
benlovell has quit [Ping timeout: 244 seconds]
shellac has joined #jruby
Usuario_ has joined #jruby
Usuario_ is now known as frobs
benlovell has joined #jruby
dabradley has quit [Ping timeout: 250 seconds]
paulswilliamsesq has joined #jruby
dabradley has joined #jruby
mister_solo has joined #jruby
Usuario_ has joined #jruby
frobs has quit [*.net *.split]
aef has quit [*.net *.split]
mpapis has quit [*.net *.split]
aef has joined #jruby
tcrawley-away is now known as tcrawley
kares has quit [Ping timeout: 240 seconds]
kares has joined #jruby
mpapis has joined #jruby
tlarevo has quit [Remote host closed the connection]
subbu has joined #jruby
subbu has quit [Client Quit]
paulswilliamsesq has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
tlarevo has joined #jruby
cultureulterior1 has quit [Quit: cultureulterior1]
tlarevo_ has joined #jruby
tlarevo_ has quit [Remote host closed the connection]
erikhatcher has joined #jruby
tlarevo has quit [Ping timeout: 244 seconds]
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] subbuss reopened issue #2423: Compass-rails test suite fails strangely under JRuby http://git.io/-kignQ
JRubyGithub has left #jruby [#jruby]
tlarevo has joined #jruby
skade has quit [Quit: Computer has gone to sleep.]
skade has joined #jruby
drbobbeaty has quit [Read error: Connection reset by peer]
Aethenelle has quit [Quit: Aethenelle]
drbobbeaty has joined #jruby
kares has quit [Ping timeout: 256 seconds]
paulswilliamsesq has joined #jruby
lance|afk is now known as lanceball
vtunka has quit [Quit: Leaving]
vtunka has joined #jruby
shellac has quit [Remote host closed the connection]
metadave has joined #jruby
imperator has joined #jruby
anaeem1_ has quit [Ping timeout: 245 seconds]
mister_solo has quit [Ping timeout: 264 seconds]
SynrG has quit [Ping timeout: 265 seconds]
erikhatcher has quit [Quit: erikhatcher]
paulswilliamsesq has quit [Ping timeout: 245 seconds]
erikhatcher has joined #jruby
benlovell has quit [Ping timeout: 244 seconds]
paulswilliamsesq has joined #jruby
cultureulterior1 has joined #jruby
cultureulterior1 has quit [Read error: Connection reset by peer]
cultureulterior1 has joined #jruby
cultureulterior1 has quit [Client Quit]
bbrowning has joined #jruby
skade has quit [Quit: Computer has gone to sleep.]
skade has joined #jruby
tlarevo has quit [Remote host closed the connection]
paulswil_ has joined #jruby
paulswilliamsesq has quit [Ping timeout: 256 seconds]
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] eregon pushed 2 new commits to master: http://git.io/u6oFLg
<JRubyGithub> jruby/master 289281d Benoit Daloze: [Truffle] De-duplicate calls to RubyContext.execute() in class_eval.
<JRubyGithub> jruby/master 0562581 Benoit Daloze: Eclipse: ignore custom Eclipse build
JRubyGithub has left #jruby [#jruby]
nirvdrum has joined #jruby
mbj has joined #jruby
paulswil_ has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
anaeem1 has joined #jruby
paulswilliamsesq has joined #jruby
kares has joined #jruby
vtunka has quit [Quit: Leaving]
mister_solo has joined #jruby
vtunka has joined #jruby
paulswilliamsesq has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
kotk_ has joined #jruby
kotk has quit [Read error: Connection reset by peer]
subbu has joined #jruby
benlovell has joined #jruby
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] subbuss pushed 1 new commit to master: http://git.io/2i7uCQ
<JRubyGithub> jruby/master 5ef2a90 Subramanya Sastry: Fix rest arg recording in IRClosure (long commit msg for a 1 line-fix)...
JRubyGithub has left #jruby [#jruby]
paulswilliamsesq has joined #jruby
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] chrisseaton pushed 4 new commits to truffle-rbx-integration: http://git.io/8DFhvg
<JRubyGithub> jruby/truffle-rbx-integration b8c5d74 Chris Seaton: [Truffle] Typos.
<JRubyGithub> jruby/truffle-rbx-integration 0e39c1f Chris Seaton: Merge branch 'master' into truffle-rbx-integration...
<JRubyGithub> jruby/truffle-rbx-integration 638f985 Chris Seaton: [Truffle] Clarify iterating over arguments when translating a Rubinius primitive.
JRubyGithub has left #jruby [#jruby]
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] chrisseaton closed pull request #2414: Truffle rbx integration (master...truffle-rbx-integration) http://git.io/foVf6w
JRubyGithub has left #jruby [#jruby]
benlovell has quit [Ping timeout: 240 seconds]
iamjarvo has joined #jruby
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] chrisseaton pushed 1 new commit to truffle-head: http://git.io/x87tgQ
<JRubyGithub> jruby/truffle-head 672834f Chris Seaton: Merge branch 'master' into truffle-head
JRubyGithub has left #jruby [#jruby]
benlovell has joined #jruby
mbj has quit [Quit: leaving]
shellac has joined #jruby
mkristian has joined #jruby
mrmargolis has joined #jruby
colinsurprenant has joined #jruby
iamjarvo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Hobogrammer has joined #jruby
Hobogrammer_ has joined #jruby
skade has quit [Quit: Computer has gone to sleep.]
Hobogrammer has quit [Ping timeout: 264 seconds]
lanceball is now known as lance|afk
skade has joined #jruby
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] eregon pushed 1 new commit to master: http://git.io/T5hQJg
<JRubyGithub> jruby/master cf6c3c5 Benoit Daloze: [Truffle] Fix a few obvious FindBugs bugs.
JRubyGithub has left #jruby [#jruby]
benlovel1 has joined #jruby
benlovell has quit [Quit: Lost terminal]
johnmuhl has quit [Quit: Connection closed for inactivity]
vtunka has quit [Quit: Leaving]
viking has joined #jruby
viking has joined #jruby
mitchellhenke has joined #jruby
vtunka has joined #jruby
<headius> good morning!
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] enebo pushed 7 new commits to master: http://git.io/1BeKFA
<JRubyGithub> jruby/master 165e845 Thomas E. Enebo: First move towards specialized instrs during IRBuild time
<JRubyGithub> jruby/master 34acdfe Thomas E. Enebo: Immutable CurrentScope can be shared. 500-700k reduction for Rails console (28k instances to 5).
<JRubyGithub> jruby/master 78c0a23 Thomas E. Enebo: Immutable TemporaryCurrentModuleVariable can be shared. ~500k reduction for Rails console (24k instances to 5).
JRubyGithub has left #jruby [#jruby]
enebo has joined #jruby
<headius> wooo
<headius> enebo is pushing
<enebo> happy fucking new year
<enebo> so that is about 20+ more M off of memory usage
<headius> awesome
<enebo> including lazy IRBuilding of methods
<headius> how far off are we now?
<enebo> well I think 108M vs 57M
<enebo> but we were 185M and I still have not deleted any datastructures
<enebo> My pre goal is <100M
<enebo> Once I get rid of specializeForInterpretation altogether I think I can swap things so JIT clones CFG instead of interp
<enebo> That should get rid of about 6% of our memory usage
<headius> ok
<enebo> specializeForInterp on callinstr is done
<enebo> attrassign and noresult are still pending
<enebo> the whole factory of specialized versions of a single instr feels icky to me but it is no worse than before
<headius> so, we should talk priorities for getting pre out
<headius> that fix last night makes it possible for rails to generate apps correctly again
<imperator> happy new year enebo :)
<enebo> imperator: 2015 will be glorious
<imperator> oh? why's that?
<enebo> imperator: well 9k will be out for one :)
<imperator> huzzah!
<enebo> That will make me feel better about this year
<subbu> headius, so, since that bug had been around for ever, how did rails ever generate apps correctly till recently (which i think it did).
<headius> subbu: that's a good question, I'm not sure
<enebo> I definitely have generated and started apps but I did not use the app much past running it
<enebo> which version would not generate?
<headius> the code that triggers this is not in rails 3.1, and may not be in earlier versions of thor
<enebo> I mean I generated one from 4.16
<subbu> so, maybe a gem update triggered this then
<enebo> 4.1.6 and I generated my app I am playing with last week
<headius> that seems like the most likely answer right now, since this code was even the same in 1.7 branch
<headius> enebo: app generated with master last week?
<enebo> yes
noop has quit [Ping timeout: 256 seconds]
<enebo> with 4.1.6
iamjarvo has joined #jruby
<enebo> which perhaps means something after 4.1.6 somehow changed
<enebo> Or something since I generated it last broke
<enebo> but it seems like that bug is longstanding
<headius> oh fwiw, this was not reported failing on 4.1 and passed on rails 3.1... just failure 3.2, 4.0, 4.2
<subbu> i am getting build errors ..
<subbu> [ERROR] /home/subbu/jruby/core/src/main/java/org/jruby/truffle/translator/TranslatorEnvironment.java:[16,45] error: cannot find symbol
<subbu> [ERROR] symbol: class ReadLevelVariableNodeFactory
<subbu> with mvn clean; mvn
<subbu> something i should blow out from mvn cache? or update?
<headius> hmm
<chrisseaton> on master?
<headius> wasn't failing last night so it would have to be very recent
<chrisseaton> I'll just try pulling
<subbu> yes, master on my laptop.
<enebo> subbu: weird I did a pull —rebase before my push and did a clean build
<subbu> i assume it is just something corrupted locally.
<enebo> ./core/target/generated-sources/org/jruby/truffle/nodes/methods/locals/ReadLevelVariableNodeFactory.java
<enebo> unless I pushed something broken
<chrisseaton> if you have a build error with a clean build, maven sometimes seems to get confused and can't rebuild the generated sources next time around
<subbu> ya .. something locally corrupted it appears.
skade has quit [Quit: Computer has gone to sleep.]
<subbu> i dont havae generated sources.
<enebo> I did not miss any new files so it is not that
<headius> seems ok here too
<subbu> any clue how i can get mvn to behave?
<enebo> subbu: hit it with a newspaper
<enebo> yeah just built for me
<enebo> perhaps remove core/target?
<enebo> I assume clean does that though
mitchellhenke has quit [Quit: Computer has gone to sleep.]
<subbu> ok, will worry about this later .. i have a fix for #2409 .. but will push later .. got to get breakfast and get back to work work ..
<headius> work work!
<subbu> :)
tenderlove has joined #jruby
<headius> my first priority is a few compiler specs for case/when forms
subbu is now known as subbu|breakfast
<enebo> hah…I keep forgetting to -X-C my rails runs and I think what why did the memory go back up
<enebo> but good news is ralis console with JIT is 111M
skade has joined #jruby
<enebo> which is not great but considering -X-C is 108M it is pretty good
subbu|breakfast has quit [Remote host closed the connection]
skade has quit [Client Quit]
mitchellhenke has joined #jruby
subbu has joined #jruby
Hobogrammer_ has quit [Ping timeout: 244 seconds]
<headius> yeah that's not too much worse :-)
<headius> this is total process size, right?
calavera has joined #jruby
<headius> or heap?
skade has joined #jruby
mcclurmc has quit [Remote host closed the connection]
<enebo> used heap
<enebo> on Java 8
<enebo> so meatspace is in effect :)
<enebo> headius: one weird thing. I just removed a boolean field from instr expecting to see a word less per instance and jvisualvm does not seem to be showing that
<enebo> headius: do you know if Java 8 somehow is not sharing words for bools or small values?
<headius> what's the class?
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] eregon pushed 2 new commits to master: http://git.io/m7Cv6w
<JRubyGithub> jruby/master 52351c4 Benoit Daloze: Remove tainting from patterns in RubyDateFormatter....
<JRubyGithub> jruby/master 41d41d1 Benoit Daloze: [Truffle] Implement Dir#delete so MSpec does not complain when running core specs.
JRubyGithub has left #jruby [#jruby]
<headius> it's probably a memory alignment thing
<enebo> Instr.java
<enebo> I thought all fields got their own word for ones which were a word or less in size
<headius> I believe it will attempt to pack some fields together
<headius> what does it say the size is?
<enebo> well exactly the same but I am looking at a single derived class LineNumberInstr
<headius> yeah, I want to know the number :-)
<enebo> well I am looking at total for all linenumberinstr and comparing it against pre-patch
<enebo> So it is not real helpful to share it
<headius> yeah I'm just trying to tie the reported per-object size with the layout
<enebo> well I would need to do a heap dump for that I guess
<headius> if the reported per-object size is in a multiple of 64 bits, then these booleans could be sneaking into the 32-bit object reference's chunk
<headius> I don't know exactly how hotspot packs fields
<enebo> headius: I am more curious about this because I thought they did not ever do this
pchalupa has quit [Quit: Leaving]
<enebo> headius: but they clearly are now
donV has quit [Quit: donV]
<enebo> headius: unless jvisualvm is not reporting size accurately on a heap sample
<headius> that's possible
<enebo> headius: The actual graph itself is screwy but the sample table seems reasonably consistent
baroquebobcat has quit [Quit: baroquebobcat]
<headius> enebo: try -XX:-UseCompressedOops
<headius> should be + by default
<enebo> headius: I am googling
<enebo> headius: I am guessing some platforms they do optimizations and some they do not
<enebo> headius: My knowledge on this is out of date
<headius> I do know compressed oops uses 32-bit references for objects rather than 64-bit
<headius> mapped internally to appropriate 64-bit pointer
<enebo> yeah no compressed makes the line number instrs about 500k larger
<headius> makes sense
travis-ci has joined #jruby
<travis-ci> jruby/jruby (master:cf6c3c5 by Benoit Daloze): The build has errored. (http://travis-ci.org/jruby/jruby/builds/45953917)
travis-ci has left #jruby [#jruby]
<headius> with that flag you may see the impact of the boolean
<enebo> yeah perhaps
<headius> since the object reference before them will get full 64 bits
<enebo> So long as I know some cases packs values I am happy with that
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] headius pushed 1 new commit to master: http://git.io/_jIQbQ
<JRubyGithub> jruby/master e9e06aa Charles Oliver Nutter: MRI loads unicode_normalize.rb on boot now.
JRubyGithub has left #jruby [#jruby]
multibot_ has quit [Remote host closed the connection]
<nirvdrum> enebo: I'm looking to roll some more commonality between the two String implementations into an interface. Are you at all worried about call performance through an interface?
multibot_ has joined #jruby
<headius> nirvdrum: not generally
<enebo> nirvdrum: I guess it depends on how coarse it is
<headius> and how many implementations are live at once
<headius> 1-2 no problem...more than that starts to become vtable dispatch even after JIT
<enebo> nirvdrum: if you call into an interface per byte then it may be a problem :)
<headius> that too :-)
<enebo> but that is probably less an issue with interfaces at that point :P
<headius> nirvdrum: go for it
<headius> we can sort out those details later if necessary
<enebo> yeah we can always revert it!
<headius> bam!
<nirvdrum> Heh. No. I already have this CodeRangeable interface in there. But some of these static calls now take { CodeRangeable, ByteList, strLen }. It's effectively the same object 3 times.
<headius> ok
<enebo> nirvdrum: It will be cool to see how this develops
<nirvdrum> I can clean up a fair bit by having a notion of something with a code range and a ByteList. And I can have the strLen calculated from those.
<enebo> nirvdrum: I cannot say our String impl is so great but mostly because we took a more port it approach
<nirvdrum> enebo: It's a mess right now, but it's coming along. Patterns of common usage are developing now that I've done a few.
<enebo> nirvdrum: One thing to consider as well although I feel leery about this suggestion
<nirvdrum> enebo: The trade-off is there's no longer a 1:1 mapping to MRI's C in some areas. But some of that stuff was from 1.8.6, so I'm not really sure there was anymore anyway.
<enebo> nirvdrum: MRI CR values are somewhat driven from their memory layout
tcrawley is now known as tcrawley-away
<enebo> nirvdrum: So we could for example add a length cache since we are not constrained in the same way
colinsurprenant has quit [Ping timeout: 250 seconds]
mcclurmc has joined #jruby
<enebo> nirvdrum: I think CR is somewhat an opt based on what they could do with a single value
<nirvdrum> That's stored in the object header right now. I didn't want to dick around with that :-)
<nirvdrum> It's completely stubbed out in Truffle at the moment.
<enebo> nirvdrum: My only reason for saying leery is that if you look at methods like cat19 you can see how intertwined CR is with behavior
<nirvdrum> It's used for single byte optimizations and some code fails if the CR is reported as broken.
<enebo> nirvdrum: ok
<enebo> yeah
<enebo> nirvdrum: It took ages to fix CR-related issues
<nirvdrum> Rather than yank all that for Truffle, I figure I would just lie and always report a valid CR. But by having it baked into the interface, we get all that crazy validation for free once CR is implemented properly.
<headius> it's a somewhat hacky fix but I don't have a better one for random-access
<headius> without CR, all random access into even single-byte strings would be O(n)
<enebo> headius: no I think CR for 7bit ascii is fine but for non-7bit caching length+ is an interesting idea
<headius> agreed...especially since we have to traverse string to calculate CR :-)
<enebo> yeah
<enebo> that is my general point that MRI did not go beyond 7bit because of their memory layout
<headius> could be
<enebo> perhaps also to not explode code paths too…I guess I am speculating a little bit
<enebo> I do know someone told me length was not cached because they had no room for it
<nirvdrum> Well, hopefully this stuff will be easier afterwards. RubyString is getting slimmed down a lot. StringSupport is getting a bit ridiculous, but I can divide and conquer over there.
iamjarvo has quit [Quit: Textual IRC Client: www.textualapp.com]
<enebo> headius: It has been a while but I think enough time has passed to say it.....
<enebo> ROPES!
marr has quit [Read error: Connection reset by peer]
<nirvdrum> lopex: Are you around?
<enebo> M17n actually may be a reasonable use case for ropes :)
<headius> enebo: so I wanted to enable testing for unicode_normalize.rb
<imperator> now there's a term i haven't heard in a long time
<headius> problem: it depends on a 2.4MB unicode data file that MRI only downloads for testing
travis-ci has joined #jruby
<travis-ci> jruby/jruby (master:c23d280 by Thomas E. Enebo): The build was broken. (http://travis-ci.org/jruby/jruby/builds/45956176)
travis-ci has left #jruby [#jruby]
<enebo> headius: can we patch their DL code and just commit it?
<headius> it's a Makefile
<headius> I'll try to figure out where they download it from...maybe there's a simple way for us to have maven fetch it
benlovel1 has quit [Ping timeout: 240 seconds]
<enebo> Hmmm I somehow broke spec:compiler
<headius> smoov
<headius> wow completely broke it
<nirvdrum> Now I don't feel so bad.
<headius> they all look like Control flow falls through end
<enebo> well I did run test:mri and spec:ruby:fast so I don’t feel too horrible
<headius> so some return instruction got lost?
<headius> interpreter is more forgiving since it will just return from interp when there's no more instrs
<headius> perhaps it shouldn't
<enebo> I will bisect. If I had to bet I would say this is from lazy method building
<enebo> ah yeah hmm
Aethenelle has joined #jruby
<headius> enebo: all of MRI's unicode_normalization tests pass, at least
<enebo> headius: cool
<headius> it's a pure-Ruby impl, so it may not be as critical that we test it...but I'm sure it hits core encoding logic too
<enebo> yeah makes me wonder if there is a coverage diffing tool :)
tlarevo has joined #jruby
<headius> I was going to look into JVM coverage tooling again, to start investigating what testing gaps remain
<headius> emma was nice and simple but I'm hoping there's a good agent-based approach now that doesn't require offline code gen
<enebo> yeah
skade has quit [Quit: Computer has gone to sleep.]
<headius> a coverage report for each suite would be sweet
<enebo> yeah using out test_*.rb first and then eliminating it would be great (well reducing since we have features no one else does)
JRubyGithub has joined #jruby
<JRubyGithub> jruby/master dd293d7 Chris Seaton: [Truffle] Remove BehaveAsBlockNode at runtime.
<JRubyGithub> jruby/master 8efce53 Chris Seaton: [Truffle] Tidy up method definition nodes a bit.
<JRubyGithub> [jruby] chrisseaton pushed 2 new commits to master: http://git.io/5N4Zbw
JRubyGithub has left #jruby [#jruby]
<headius> jcoco is emma-based and has an agent, it appears
skade has joined #jruby
<headius> enebo: right
camlow325 has joined #jruby
<headius> I will circle back to this after case/when specs
<nirvdrum> Time to tackle strLen. It's a dirty job, but someone's gotta do it: https://www.youtube.com/watch?v=LQhX8PbNUWI
travis-ci has joined #jruby
<travis-ci> jruby/jruby (master:cf6c3c5 by Benoit Daloze): The build has errored. (http://travis-ci.org/jruby/jruby/builds/45953917)
travis-ci has left #jruby [#jruby]
<projectodd-ci> Project jruby-master-spec-compiler build #285: FAILURE in 20 min: https://projectodd.ci.cloudbees.com/job/jruby-master-spec-compiler/285/
phx669 has joined #jruby
<headius> nirvdrum: nice
<enebo> nirvdrum: wow I have not seen this video in a long time
<headius> ditto
<headius> I saw them live just once, when they opened for Metallica and GnR :-D
<headius> my first concert
<enebo> This is before they put out Epic too
<headius> damn intellij doesn't seem to be caught up on syntax
<headius> yeah, this is from previous album right?
<nirvdrum> They have some great videos.
<enebo> I always remember a line from this album “25 cents…I will walk to the beach and look better for it”
erikhatcher has quit [Quit: erikhatcher]
phx669 is now known as pedroandrade
<headius> enebo: heh, test_unicode_normalize: 47 tests, 531935 assertions
<headius> it's not fast either...so perhaps we'll defer on running this in our suite for now
<enebo> nice test to assertion ratio :)
<headius> yeah, it's obviously permuting
<enebo> mega loops
<headius> permutating?
<enebo> permutilation
<headius> permutilating sounds good
<enebo> could be a real term for self modifying loops
<headius> enebo: I can't write specs for case/when stuff if compiler fails :-)
<headius> i.e. did you find the issue and can I help
<enebo> headius: locally revery dfd1ece1b526379fdf0ca27c23a56c2c713eb2e7
<headius> ok
pedroandrade has quit [Quit: Leaving...]
<enebo> headius: It is prepareForInterpretation not getting called
<enebo> headius: This is something I would like to solve anyways
<headius> reverted it without commit so I won't accidentally push
erikhatcher has joined #jruby
<enebo> headius: either way. I can also reapply but I had to change one of thing for this commit so I guess I should not be surprised this broke threshold 0
Usuario_ has quit [Read error: Connection reset by peer]
<headius> our IR prep logic is still pretty fragile
erikhatcher has quit [Client Quit]
<enebo> headius: yeah I want to make it less so since I want to change responsibility of JIT to clone CFG instead of interp
<enebo> headius: it will halve the number of instrs we have in the system
<enebo> ultimately I would like to not modify instrs at all but I think that is not achievable short term
baroquebobcat has joined #jruby
paulswilliamsesq has quit [Ping timeout: 245 seconds]
<headius> ok
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] enebo pushed 2 new commits to master: http://git.io/GKGyIA
<JRubyGithub> jruby/master 7623840 Thomas E. Enebo: Remove unused and somewhat uncommon hasUnusedResult marking
<JRubyGithub> jruby/master 8a84610 Thomas E. Enebo: Make sure methods will prep for interp if they have not processed AST yet
JRubyGithub has left #jruby [#jruby]
<enebo> headius: fixed spec:compiler
<headius> cool, thanks
<finch> rtyler: going to be jgitting it soo, last time I worked on it I made some really good progress
<headius> I have some specs landing shortly
<finch> However I haven't done a day of work since the 23rd so I haven't the faintest idea of what's going on
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] headius pushed 1 new commit to master: http://git.io/ADpY1Q
<JRubyGithub> jruby/master 4e96624 Charles Oliver Nutter: Add compiler specs for case/when forms weakly covered elsewhere....
JRubyGithub has left #jruby [#jruby]
anaeem1 has quit [Ping timeout: 265 seconds]
<headius> subbu, enebo: up to you whether we close https://github.com/jruby/jruby/issues/2423 now
<headius> the code I fixed could use improvement, but the issue is resolved with tests now
travis-ci has joined #jruby
<travis-ci> jruby/jruby (master:52351c4 by Benoit Daloze): The build was broken. (http://travis-ci.org/jruby/jruby/builds/45960909)
travis-ci has left #jruby [#jruby]
<enebo> headius: I think that is correct
<subbu> could close it now.
<enebo> headius: DNode is a list but we clearly don’t want each element of it to be a when value
<headius> right
<enebo> headius: My main question about this now is this the only place we can stuff a non-List into a when?
<headius> I will refactor the fix to avoid the duplication
<enebo> I think DNode covers the cases but I am not positive
<headius> well, I looked for all children of ListNode, and there's not many
<headius> DNode, ArrayNode, and BlockNode
<enebo> yeah I don’t think we can get a BlockNode in there
<headius> the new specs include a literal array case to make sure ArrayNode isn't being handled weirdly
<enebo> I did wonder if we should be using ArrayNode there
anaeem1 has joined #jruby
<enebo> but perhaps we wrap cases as List and not Array
<enebo> tehcnically Array is a literal Array
<headius> yeah I don't know....that's why I wanted to make sure I added specs for both multi-when and when with literal array
<enebo> heh..man WhenNode is not a lot of help is it :)
<headius> not really, no :-)
<enebo> OH MY DAYUM
<headius> I did not dig into the actual code to find this bug...I guessed based on behavior and was right
<enebo> I did not delete WhenOneArgNode
<headius> then I dug in, but I knew exactly where to go
<rtyler> finch: nice vacation
JRubyGithub has joined #jruby
JRubyGithub has left #jruby [#jruby]
<JRubyGithub> [jruby] enebo closed issue #2423: Compass-rails test suite fails strangely under JRuby http://git.io/-kignQ
<finch> rtyler: first time I've actually taken all of my allowed time off in a year. it's been magical
towski has joined #jruby
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] eregon pushed 1 new commit to master: http://git.io/HqI4iQ
<JRubyGithub> jruby/master 7e9dd52 Benoit Daloze: [Truffle] Remove MODULE_FUNCTION_FLAG_FRAME_SLOT_ID....
JRubyGithub has left #jruby [#jruby]
elia has quit [Quit: Computer has gone to sleep.]
<headius> come on, guys...jacoco's report generation only works as an ant task or maven plugin?
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] thomaswue opened pull request #2425: Further Truffle-related clean ups and simplifications. (master...master) http://git.io/bTUj3w
JRubyGithub has left #jruby [#jruby]
towski has quit [Ping timeout: 245 seconds]
<lopex> nirvdrum: howdy
<nirvdrum> lopex: Hey. I'm just about to eat lunch and I have a bit more reading to do. I'm trying to understand string length code.
<nirvdrum> It seems RubyString and StringSupport have competing implementations.
<nirvdrum> I'd like to simplify if I can.
mcclurmc has quit [Remote host closed the connection]
<lopex> strLengthWithCodeRange ?
shellac has quit [Quit: Ex-Chat]
benlovell has joined #jruby
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] tobiassvn opened issue #2426: NullPointerException when trying to assign UnboundMethod using define_method & to_proc http://git.io/Tu3Anw
JRubyGithub has left #jruby [#jruby]
<projectodd-ci> Yippie, build fixed!
<projectodd-ci> Project jruby-master-spec-compiler build #286: FIXED in 20 min: https://projectodd.ci.cloudbees.com/job/jruby-master-spec-compiler/286/
<nirvdrum> There's a form of strLengthWithCodeRange that has the same signature as a strLength. And the latter doesn't use the former.
imperator has quit [Quit: Valete!]
<nirvdrum> But RubyString#strLength will use StringSupport.strLengthWithCodeRange
<lopex> nirvdrum: appears to be uses by sublength
<lopex> the other one
<lopex> *to be using
<lopex> nirvdrum: mostly likely cr related, since substring might end up with different cr
vtunka has quit [Quit: Leaving]
<headius> well, I have a jacoco report
erikhatcher has joined #jruby
marr has joined #jruby
<headius> and a Ruby script to generate it
<headius> hmm...numbers don't seem to match reality yet...interpreter has zero coverage
<subbu> headius, chrisseaton with enebo's tip, i figured out that mvn was barfing because of a compilation error in my patch. i had to checkout master without my patch, do a clean build and rebuild my patch to get mvn to tell me about the compilation error instead of throwing up.
<headius> ahhh ok
mkristian has quit [Ping timeout: 244 seconds]
<subbu> i had a new file lurking around in my repo earlier (git stash doesn't stash unadded files which i forgot about)
donV has joined #jruby
mcclurmc has joined #jruby
<nirvdrum> lopex: How good are the tests for all this? I'm going to be careful, but there's a lot going on.
<lopex> nirvdrum: well, the specs
<lopex> nirvdrum: and blame mri
<lopex> nirvdrum: any inconsistent behaviour will be covered by the tests as well :)
<lopex> nirvdrum: like sometimes throwing exceptions on bad input and so on
skade has quit [Quit: Computer has gone to sleep.]
pietr0 has joined #jruby
benlovell has quit [Ping timeout: 250 seconds]
<lopex> nirvdrum: also, being too smart about this will hinder future mri tracking (was bitten by that in the past)
<nirvdrum> lopex: Great. I'd really like to get this down to one hierarchy of strLength calls if I can.
<lopex> nirvdrum: but I'm not discouraging you :)
<nirvdrum> lopex: Is that a big deal. A lot of this code hasn't been touched since 1.8.6. I'm not sure how closely we're tracking MRI with it.
<lopex> nirvdrum: since 1.8.6 ?
mcclurmc has quit [Remote host closed the connection]
<lopex> nirvdrum: 1.8.6 had non of that
<lopex> *none
<headius> ahhh there we go
<headius> you have to generate report using the exact same class fles as you used at runtime
<nirvdrum> lopex: Yeah, I guess I had the dates wrong. 1.9 is older than I realized.
<lopex> nirvdrum: I've been doing some review two years back, so it might be reasonably up to date
<headius> enebo: spec:compiler hits 60% of instructions in org.jruby.ir.interpreter.Interpreter
<headius> I think these reports will be useful
<headius> JVM instructions, that is
mkristian has joined #jruby
mcclurmc has joined #jruby
<headius> yeah, these make sense...only thing in main interpreter loop not hit is the int/float specialization
<headius> and some debugging/logging code
<nirvdrum> lopex: Well, if you object to unifying let me know before I get too far. I'm really just trying to avoid the nested levels of calls. I'm trying to move stuff out of RubyString and into StringSupport. It's a bit hard when 8 methods need to be moved at once.
<lopex> nirvdrum: just make sure cr tainting happens the same way
<lopex> nirvdrum: afaik it was main pain since it doesnt show up in tests directly
<lopex> nirvdrum: I know it should be simple, but mri isnt
<nirvdrum> Will do. I'm not really stripping anything out. Just changing signatures a bit and maybe inlining if it makes sense.
<lopex> nirvdrum: you can also consult rubinius sources
donV has quit [Read error: Connection reset by peer]
<lopex> inlining ?
anaeem1_ has joined #jruby
anaeem1 has quit [Read error: Connection reset by peer]
erikhatcher has quit [Quit: erikhatcher]
<lopex> nirvdrum: common paths (the paths without utf16 specializations for example) should ba as small as possible
<nirvdrum> Replacing some of the simpler definitions with the counterparts they delegate to.
donV has joined #jruby
<headius> lopex: I don't believe rbx has any code range in their string
<lopex> headius: on purpose ?
<headius> well, they started before encodings, and never added it...I can't speak to motivation
elux has joined #jruby
travis-ci has joined #jruby
<travis-ci> jruby/jruby (master:8efce53 by Chris Seaton): The build is still failing. (http://travis-ci.org/jruby/jruby/builds/45964811)
travis-ci has left #jruby [#jruby]
<lopex> headius: so they always walk the string mutiple times possibly ?
<headius> I believe so
<headius> I have not looked at the impl in a long time, but at a glance I see nothing like cr
<headius> it occurse to me single-byte and multi-byte logic could go behind an interface, and rather than switching CR we switch impl
<headius> larger change obviously
<headius> and CR changes in flight a lot too :-\
<headius> getting a coverage report of rubyspec, brb
_whitelogger___ has joined #jruby
<lopex> might not have been there then :)
<nirvdrum> Well, I'm trying to balance generally cleaning up against making it easier to port future updates.
<nirvdrum> I'm not sure what the right balance is. But right now there's a lot of very similar code appearing in methods with very similar names.
<nirvdrum> lopex: I can do this a PR if you wouldn't mind reviewing.
skade has joined #jruby
<lopex> nirvdrum: at a glance the impl seems to match 2.2.0 module we split those functions more
<lopex> *modulo
<lopex> nirvdrum: well, at that time it was easier to mimic mri more closely since it was still a moving target
<lopex> nirvdrum: might not be the case anymore
nanoyak has joined #jruby
<lopex> nirvdrum: you want to parameterize that with a flag or something ?
<headius> I don't mind if ported code gets refactored, as long as we can still correlate to original somehow
<headius> e.g. at very least preserve comments indicating where in MRI the logic lives
bruceadams has quit [Read error: Connection reset by peer]
<nirvdrum> I've been doing that.
skade has quit [Ping timeout: 245 seconds]
<headius> mmm 10MB of coverage data about to be processed
bruceadams has joined #jruby
<headius> looks like the specs we run cover 35% of all instructions in JRuby and 20% of all branches
<headius> interestingly, language specs only hit 54% of instructions in parser package
<enebo> heh
<enebo> bytecode instructions?
tcrawley-away is now known as tcrawley
<enebo> Before when you said this you were saying IR so I assumed you were saying IR Instrunctions
<headius> enebo: I always meant bytecode
<headius> sorry
<headius> this tool instruments JVM classes to track instructions and branches reached
<enebo> yeah I figured after the parser comment
<headius> (and lines, methods, classes)
<enebo> headius: parser is pretty big and with 2.1+ I think they doubled some paths
<headius> enebo: there's also no ripper specs
nanoyak has quit [Remote host closed the connection]
<enebo> headius: nice
<headius> so that's a big chunk of code
<enebo> headius: hmmm I just realized ripper is still 2.0 grammar too
nanoyak has joined #jruby
<enebo> headius: adding it as an issue
<headius> ok
<headius> with parser/lexer support for 2.1/2.2 adding the ripper support shouldn't be huge, right?
<headius> I think most of your headaches were lexing
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] enebo opened issue #2427: Ripper is still 2.0 grammar and has not been updated for 2.2 changes http://git.io/dJUb7w
JRubyGithub has left #jruby [#jruby]
<enebo> headius: no but I did not change it because I wanted the other 2.2 changes figured out like :”foo”
<headius> maybe not
<headius> ok
<headius> yeah
yfeldblu_ has quit [Remote host closed the connection]
<enebo> headius: and some of those headaches is specifically lexing
<enebo> and ripper uses an more MRI-ported version of the lexer so that side may be simpler
<skroon> headius: ow awesome! :-) so, i'm right in time :)
<enebo> but the grammar has changed quite a bit as well
<headius> skroon: absolutely...and we're looking for people to test their stuff right now
<headius> enebo: so ripper will fail to parse those newer syntax right now, yes?
<enebo> from a people not complaining about stuff breaking I am feeling pretty good
<enebo> headius: yes
<headius> ok
<enebo> headius: we should run active_support HEAD or somewhat stable version of it against to see how we do
<enebo> I know we were failing like 34 specs last time I ran it against 4.1
<headius> mmm
travis-ci has joined #jruby
<travis-ci> jruby/jruby (master:8a84610 by Thomas E. Enebo): The build is still failing. (http://travis-ci.org/jruby/jruby/builds/45967992)
travis-ci has left #jruby [#jruby]
<enebo> and almost all of those were weird Time/DateTime bugs
<headius> what were we on 1.7? :-)
tlarevo has quit [Remote host closed the connection]
<enebo> Good question but not relevent to trying it now since 1.7 won’t work now
<bbrowning> travis acting weird w/ jruby? I'm seeing it use jruby 9k for my jruby-19mode matrix
<headius> bbrowning: that's the travis bug asarih is working on
<enebo> bbrowning: yeah asarih has an issue on it
<bbrowning> ahh ok
tlarevo has joined #jruby
<headius> there was a glitch in rvm where it started building master when we reached 1.7.18
<headius> some matching issue with MRI 1.8
<enebo> It is like why there is no Windows 9
<headius> heh yeah :-)
<enebo> We’re just like Windows
<enebo> on rvm
<nirvdrum> We didn't even need to get to 2.10 for me to enjoy myself.
<headius> ok, I have MRI test suite numbers
<enebo> yay
<headius> coverage of core classes is better...61% of instrs in org.jruby
<headius> that's not surprising I suppose
<skroon> headius: well I wanted to migrate a big ruby app couple of years ago to Jruby, but I failed for a couple of reasons you mentioned in the talk I saw from you :)
<headius> parser slightly better, so we're probably seeing ripper, error cases missed
<headius> skroon: ahh well now might be a good time to try again :-)
<skroon> headius: i'm now doing a new project, so it's great for me to try it out again
benlovell has joined #jruby
Felystirra has joined #jruby
tlarevo_ has joined #jruby
benlovell has quit [Ping timeout: 265 seconds]
tlarevo has quit [Ping timeout: 250 seconds]
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] raggi opened issue #2428: Rack tests broken http://git.io/KfOXjg
JRubyGithub has left #jruby [#jruby]
nanoyak has quit [Read error: Connection reset by peer]
mitchellhenke has quit [Ping timeout: 245 seconds]
<headius> what's the quickest/best way to through a ball of HTML content on the web these days?
<headius> I could throw it on an http server I manage but that seems so 1995
mitchellhenke has joined #jruby
mitchellhenke has quit [Read error: Connection reset by peer]
mitchellhenke has joined #jruby
nanoyak has joined #jruby
<chrisseaton> github site?
<headius> yeah that might be simplest
mcclurmc has quit [Remote host closed the connection]
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] chrisseaton pushed 2 new commits to master: http://git.io/KJgSWw
<JRubyGithub> jruby/master 7aeda4b Chris Seaton: [Truffle] Don't swallow exceptions from loading core library code - in fact make it a hard failure.
<JRubyGithub> jruby/master 34eb633 Chris Seaton: [Truffle] Improve feature manager.
JRubyGithub has left #jruby [#jruby]
<headius> hmm
<headius> seems to have lost stylesheet
<nirvdrum> lopex: This is going way back, but why are you passing "value" instead of "bytes" to StringSupport.utf8Length here? https://github.com/jruby/jruby/blob/master/core/src/main/java/org/jruby/RubyString.java#L363
<headius> weird, it doesn't seem to like the css being in a . directory
<lopex> nirvdrum: right, single usage doesnt imply separate helper
skade has joined #jruby
<nirvdrum> headius: If you don't like being tied to GitHub or need more plugins from jeklly, I like s3_website: https://github.com/laurilehmijoki/s3_website
<headius> ahhh it's jekyll
<nirvdrum> You host directly from S3 or CloudFront.
<headius> it ignores files starting with .
<headius> nirvdrum: oh nice
<headius> might be the right way to go for ongoing reports
<nirvdrum> And that was a crazy typo.
<headius> nirvdrum: jelly on the brain
<nirvdrum> lopex: It just seems to ignore the parameter.
<lopex> nirvdrum: which one ?
<nirvdrum> lopex: The bytes param.
benlovell has joined #jruby
<nirvdrum> It short-circuits and calculates the length based upon the string's byte list, not the one provided as an argument.
<nirvdrum> I'm confused why that call isn't StringSupport.utf8Length(bytes)
<lopex> nirvdrum: oh right
<nirvdrum> Tracing back, I think it's a bug but just happens to pass because it's a private method and "value" is the only argument ever passed.
<lopex> yep
<lopex> on same instance
<lopex> so turns out the same
<nirvdrum> Cool to change that to StringSupport.utf8Length(bytes) then?
<lopex> definitely
<nirvdrum> Thanks.
<lopex> nirvdrum: for what ? :)
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] nirvdrum pushed 1 new commit to master: http://git.io/wkz6mA
<JRubyGithub> jruby/master 9e53642 Kevin Menard: Use the correct ByteList when calculating string lengths.
JRubyGithub has left #jruby [#jruby]
skade has quit [Quit: Computer has gone to sleep.]
skade has joined #jruby
skade has quit [Client Quit]
yfeldblum has joined #jruby
nanoyak has quit [Read error: Connection reset by peer]
nanoyak has joined #jruby
mcclurmc has joined #jruby
benlovell has quit [Ping timeout: 245 seconds]
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] chrisseaton pushed 1 new commit to master: http://git.io/PybNDA
<JRubyGithub> jruby/master 77fd248 Chris Seaton: [Truffle] Re-implement String#include? using Rubinius.
JRubyGithub has left #jruby [#jruby]
travis-ci has joined #jruby
<travis-ci> jruby/jruby (master:4e96624 by Charles Oliver Nutter): The build has errored. (http://travis-ci.org/jruby/jruby/builds/45968377)
travis-ci has left #jruby [#jruby]
<headius> hmm
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] chrisseaton pushed 1 new commit to master: http://git.io/HCJaNw
<JRubyGithub> jruby/master 6e85813 Chris Seaton: [Truffle] Remove old String#include? node.
JRubyGithub has left #jruby [#jruby]
<headius> sigh, travis fail
yfeldblum has quit [Remote host closed the connection]
<electrical> that's why i use jenkins :p
<chrisseaton> Is Jenkins really better than Travis? I haven't had a chance to use it yet - but it looks like a 90s CMS
<nirvdrum> Well, with Jenkins you control the operating environment.
<enebo> chrisseaton: Jenkins is much more flexible in what you can do but Travis is a service and Jenkins is software so a better question may be is cloudbees bettre than travis
<enebo> I know travis is OSS but I am just saying
<enebo> err parts of it
travis-ci has joined #jruby
<travis-ci> jruby/jruby (master:4e96624 by Charles Oliver Nutter): The build was fixed. (http://travis-ci.org/jruby/jruby/builds/45968377)
travis-ci has left #jruby [#jruby]
yfeldblum has joined #jruby
<enebo> chrisseaton: At least I hope I did not misrepresent what I think you mean :)
<enebo> chrisseaton: to me I prefer Travis in that I don’t have to try and manage it (we had our own Jenkin’s install for years). I won’t weigh in on the cloudbees vs Jenkins thing
<enebo> but if anyone from travis is listening joshk (hmm not here) and asarih. Add scheduled jobs please :P
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] ahorek opened issue #2429: Can't run windows build (9000) http://git.io/bM8pwQ
JRubyGithub has left #jruby [#jruby]
<chrisseaton> enebo: can't you just run scheduled jobs on every push? have they ever asked you to stop using so much build time?
rsim has joined #jruby
<enebo> chrisseaton: well we want a nightly and we have to use cloudbees to accomplish that
<chrisseaton> enebo: can't you just have a build per push?
<enebo> chrisseaton: travis’s most requested feature is adding scheduled jobs so I am just ribbing them (or prodding them)
<chrisseaton> no build building on a night nobody's pushed
<enebo> chrisseaton: well we could just keep replacing and pushing out every build to S3 I guess?
<enebo> chrisseaton: I think our goal though was to not just push the build but also do some other once a day testing due to time constraints
<headius> I should expand coverage to include all the classes we support, like joni and jcodings
<enebo> chrisseaton: The time constraints is difficult for us since we have to finish our test runs in <50 mins on travis
<headius> chrisseaton: jenkins UI is terrible, agreed
<enebo> chrisseaton: which is a different issue but it is our issues
<enebo> headius: except the log scrolls right
<headius> that's true
<headius> and their log snippit shows the BOTTOM, which is what everyone's interested in
x1337807x has joined #jruby
<enebo> headius: except josh :)
rsim1 has quit [Ping timeout: 265 seconds]
<enebo> headius: although he has a good point. He likes seeing very top of log because he wants to see which job he is looking at
<headius> sure
<enebo> headius: which I can see that someone may want that but I would rather see the last lines where the error is
<enebo> not sure why I am directing this at you
<enebo> :)
<headius> preaching to the choir, brother
<enebo> I am passionate about the bottom logging, collapsable left project view, and making the fucking hamburger menu an actual menu (or replacing that graphic) :)
<enebo> but I have told them many time (I think 2-3 too many times) my desires so I will just need to hold my tongue at this point
<asarih> enebo: there is a secret sauce we are working on that makes this possible.
<asarih> enebo: this = periodic builds
<asarih> still a secret, though.
<enebo> ahahah yeah asarih I was going to aks about “this” :)
<asarih> SECRET!!!
<enebo> asarih: awesome
<enebo> asarih: I bitch about a few UI elements and features but I have no right to complain it is all free and helps our project a lot
<headius> hamburger menu!
<asarih> enebo: UI will get some more <3 in coming months. :-)
<enebo> headius: Isn’t that the technical name? :)
<headius> I click the hamburger menu almost as much as the "try again travis" button
subbu is now known as subbu|lunch
<enebo> headius: because you forget what it is?
<headius> heh, no
<headius> it never quite means "log" in my brain, but muscle memory
<enebo> headius: I click knowing what I want and then I am confused when I cannot select full log and I just get it
<enebo> headius: I know it means log in my brain but I think I will see a menu with log in it
<enebo> as a selection
<enebo> asarih: OH GOD PLEASE REPLACE THAT HAMBURGLAR GRAPHIC
<asarih> enebo: You know I don't do UI stuff, right?
<enebo> asarih: but I know you have commit rights ;)
<asarih> enebo: I try to stay in Justine's good grace. ;-)
<enebo> asarih: no one got fired for changing the hamburger graphic
<asarih> LOL
nanoyak has quit [Quit: Computer has gone to sleep.]
calavera has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<headius> hah
<headius> neither suite coverage more than 36% of String#scrub
<headius> neither of them test non-ascii-compat encodings
<asarih> ENCODING.
<asarih> sigh.
calavera has joined #jruby
benlovell has joined #jruby
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
paulswilliamsesq has joined #jruby
travis-ci has joined #jruby
<travis-ci> jruby/jruby (master:7e9dd52 by Benoit Daloze): The build was fixed. (http://travis-ci.org/jruby/jruby/builds/45969860)
travis-ci has left #jruby [#jruby]
benlovel1 has joined #jruby
tlarevo has joined #jruby
tlarevo_ has quit [Ping timeout: 256 seconds]
SynrG has joined #jruby
<lopex> headius: gross
<headius> yeah
mister_solo has quit [Ping timeout: 245 seconds]
<headius> obviously we all have work to do on testing
<lopex> asarih: the GB18030 thinsy is a good one
<lopex> headius: neither mri does ?
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] chrisseaton pushed 1 new commit to master: http://git.io/-06WMA
<JRubyGithub> jruby/master fe45893 Chris Seaton: [Truffle] Remove 1.8 behaviour in Rubinius' String#include?
JRubyGithub has left #jruby [#jruby]
tlarevo has quit [Ping timeout: 250 seconds]
<headius> lopex: not as far as the tests we run
<headius> we don't appear to exclude the scrub tests either
_whitelogger has joined #jruby
bbrowning is now known as bbrowning_away
benlovell has quit [Ping timeout: 256 seconds]
subbu|lunch is now known as subbu
benlovell has joined #jruby
nanoyak has joined #jruby
mkristian has quit [Quit: bye]
yfeldblu_ has joined #jruby
camlow32_ has joined #jruby
camlow3__ has joined #jruby
camlow32_ has quit [Read error: Connection reset by peer]
yfeldblum has quit [Ping timeout: 265 seconds]
camlow325 has quit [Ping timeout: 255 seconds]
metadave has quit [Ping timeout: 255 seconds]
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] enebo pushed 1 new commit to master: http://git.io/N1errw
<JRubyGithub> jruby/master ba8a97d Thomas E. Enebo: No more specializeForInterpretation. All specialization is part of IRBuilding
JRubyGithub has left #jruby [#jruby]
paulswilliamsesq has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
tlarevo has joined #jruby
camlow3__ has quit [Remote host closed the connection]
<headius> woo
benlovell has quit [Ping timeout: 245 seconds]
nanoyak has quit [Remote host closed the connection]
nanoyak has joined #jruby
erikhatcher has joined #jruby
mister_solo has joined #jruby
skade has joined #jruby
<lopex> numbers?
benlovell has joined #jruby
nanoyak has quit [Remote host closed the connection]
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] nirvdrum pushed 1 new commit to master: http://git.io/orUpzw
<JRubyGithub> jruby/master 8ced6d2 Kevin Menard: Moved the private variants of RubyString#strLength to StringSupport as static methods.
JRubyGithub has left #jruby [#jruby]
nanoyak has joined #jruby
erikhatcher has quit [Quit: erikhatcher]
kares has quit [Ping timeout: 240 seconds]
yfeldblu_ has quit [Remote host closed the connection]
<skroon> headius: do you know btw, about better_errors not working with 9000? I remember there was something with binding_of_caller
mitchellhenke has quit [Quit: Computer has gone to sleep.]
camlow325 has joined #jruby
camlow325 has quit [Remote host closed the connection]
mitchellhenke has joined #jruby
x1337807x has joined #jruby
camlow325 has joined #jruby
camlow325 has quit [Remote host closed the connection]
jomendoz has joined #jruby
<headius> skroon: I had not heard that, no
benlovell has quit [Ping timeout: 245 seconds]
<headius> it's not too surprising...I'm not sure the binding_of_caller code has been updated to the new 9k runtime
<jomendoz> Hello! Does anybody has encountered the UnsatisfiedLinkErrorr while using activerecord-jdbcsqlite3-adapter? I haven't found any solutions to the problem in a just plain new Rails 4 project.
<jomendoz> I developed a project on an ArchLinux machine, rvm, jruby 1.7.18 and activerecord-jdbcsqlite3-adapter 1.3.13 without problems. But I recently moved to Ubuntu Trusty 14.4 and it just prints this line 'Java::JavaLang::UnsatisfiedLinkError (org.sqlite.core.NativeDB._open(Ljava/lang/String;I)V): org.sqlite.core.NativeDB._open(Native Method)...'
<mpapis> jomendoz, gist it all => gist.github.com
<headius> jomendoz: interesting error...perhaps you don't have sqlite3 installed?
<headius> it looks like it can't find a native library it needs
camlow325 has joined #jruby
<jomendoz> Yes, actually since trusty is a long term supported ubuntu, I upgraded to version 3.8.7 (latest) and nothing changes.
<subbu> headius, so for issue 2409 . i have interp working correclty and looks like only part jit ifxes are done .. would you be okay looking at the rest of the fixes for jit? i can also do it later tonight or tomorrow morning. you can say no :)
tcrawley is now known as tcrawley-away
zorak8 has joined #jruby
<headius> jomendoz: that error generally means native code couldn't be loaded
<headius> this claims that there's an issue with the driver on 64-bit
x1337807x has quit [Ping timeout: 256 seconds]
x1337807x has joined #jruby
skroon has quit [Quit: leaving]
<headius> jomendoz: can you make a simple script to reproduce it? You could try passing JVM arg -verbose:jni to see it loading those native libs
<headius> JAVA_OPTS=-verbose:jni
<headius> subbu: looking
subbu has quit [Ping timeout: 244 seconds]
<jomendoz> headius: hmm yes, I've already seen that post but, I tried with version 3.8.2 (ubuntu's trusty) and outputs the same. Since my arch box has 64 bits and used the lastest of everything it seems to my quite odd the issue
<headius> do you have a lib64 dir? I ran into some issues with another native library on RHEL with its /usr/lib64
<headius> long story short, something is preventing the native side from loading, and there's a number of possible explanations
x1337807x has quit [Client Quit]
nanoyak has quit [Remote host closed the connection]
elux has quit [Quit: Bye!]
yarker has quit [Max SendQ exceeded]
nanoyak has joined #jruby
mitchellhenke has quit [Quit: Computer has gone to sleep.]
mitchellhenke has joined #jruby
yarker has joined #jruby
Felystirra has quit []
<jomendoz> headius: There's only /usr/lib and /usr/lib32. The files concerning sqlite are https://gist.github.com/anonymous/1f4cc64799994b3b8ec7
<headius> same version as your other box?
<headius> this shouldn't be hard for us to reproduce given a matching OS
<jomendoz> I've been using Rails and Rake commands to do work with JRuby. So, for example, when I tried to pull a git repo and create the db, rake db:migrate would spit the error for the first time.
<headius> you might want to report this to the activerecord-jdbc project too, though...this isn't really a JRuby bug
<headius> it isn't really an ar-jdbc bug either, but they're closer to it
<headius> start an issue there and ping @headius
<jomendoz> rails server could launch webrick normally but when requesting host/resources would crash with activerecord model usage
<jomendoz> ok,
<headius> better to capture these links and discussion in an issue
<jomendoz> In activerecord-jdbc-adapter README, the feedback sections pointed me to this freenode, sorry for being misguided :P
subbu has joined #jruby
nanoyak has quit [Quit: Computer has gone to sleep.]
nanoyak has joined #jruby
elia has joined #jruby
Aethenelle has quit [Quit: Aethenelle]
yfeldblum has joined #jruby
<subbu> headius, ok, will push then.
anaeem1_ has quit [Remote host closed the connection]
anaeem1 has joined #jruby
elia has quit [Client Quit]
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] subbuss pushed 1 new commit to master: http://git.io/iaOmNw
<JRubyGithub> jruby/master 29371d9 Subramanya Sastry: Fix #2409: Splat --> BuildSplatInstr + Splat (for use in call args)...
JRubyGithub has left #jruby [#jruby]
mitchellhenke has quit [Quit: Computer has gone to sleep.]
<subbu> headius, ah . i think i know what the problem might be .. a stray context load that i forgot to remove.
viking has quit [Remote host closed the connection]
jomendoz has quit [Quit: Page closed]
<subbu> saw that as soon as I saw the diff on github.
elia has joined #jruby
anaeem1 has quit [Ping timeout: 245 seconds]
travis-ci has joined #jruby
<travis-ci> jruby/jruby (master:9e53642 by Kevin Menard): The build has errored. (http://travis-ci.org/jruby/jruby/builds/45986285)
travis-ci has left #jruby [#jruby]
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] subbuss pushed 1 new commit to master: http://git.io/fXWbBg
<JRubyGithub> jruby/master d211f19 Subramanya Sastry: Fix #2409: Unbreak JIT...
JRubyGithub has left #jruby [#jruby]
<headius> subbu: ahhh ok
yfeldblum has quit [Ping timeout: 265 seconds]
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] nirvdrum pushed 5 new commits to master: http://git.io/FY8LIg
<JRubyGithub> jruby/master 7bc9317 Kevin Menard: Cleaned up parameter lists in StringSupport by introducing a new common way to get a ByteList from a string....
<JRubyGithub> jruby/master 65d7bd8 Kevin Menard: Added more methods to CodeRangeable interface to consolidate code.
<JRubyGithub> jruby/master dbc1094 Kevin Menard: [Truffle] Implement String#encode with an Encoding argument....
JRubyGithub has left #jruby [#jruby]
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] nirvdrum pushed 1 new commit to master: http://git.io/V2P4aA
<JRubyGithub> jruby/master 863a2fa Kevin Menard: [Truffle] Retagged a failing Time spec.
JRubyGithub has left #jruby [#jruby]
<headius> calling it a night folks, ttfn
nanoyak has quit [Quit: Computer has gone to sleep.]
nanoyak has joined #jruby
rsim has quit [Quit: Leaving.]
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] nirvdrum pushed 1 new commit to master: http://git.io/V1TL1Q
<JRubyGithub> jruby/master ca55072 Kevin Menard: Simplify calls to StringSupport.index by calculating arguments rather than passing them.
JRubyGithub has left #jruby [#jruby]
nanoyak has quit [Quit: Computer has gone to sleep.]
nanoyak has joined #jruby
elia has quit [Quit: (IRC Client: textualapp.com)]
elia has joined #jruby
travis-ci has joined #jruby
<travis-ci> jruby/jruby (master:77fd248 by Chris Seaton): The build was fixed. (http://travis-ci.org/jruby/jruby/builds/45987395)
travis-ci has left #jruby [#jruby]
mrmargolis has quit [Remote host closed the connection]
mitchellhenke has joined #jruby
yfeldblum has joined #jruby