ChanServ changed the topic of #jruby to: Get 9.0.1.0! http://jruby.org/ | http://wiki.jruby.org | http://logs.jruby.org/jruby/ | http://bugs.jruby.org | Paste at http://gist.github.com
<projectodd-ci> Project jruby-master-test-slow_suites build #2021: FAILURE in 37 sec: https://projectodd.ci.cloudbees.com/job/jruby-master-test-slow_suites/2021/
<projectodd-ci> Project jruby-master-spec-compiler build #385: FAILURE in 1 min 44 sec: https://projectodd.ci.cloudbees.com/job/jruby-master-spec-compiler/385/
Liothen has quit [Quit: The Dogmatic Law of Shadowsong]
Liothen has joined #jruby
Liothen has joined #jruby
colinsurprenant has joined #jruby
mdedetrich has joined #jruby
benlovell has joined #jruby
benlovell has quit [Ping timeout: 240 seconds]
mdedetri_ has joined #jruby
colinsurprenant has quit [Quit: colinsurprenant]
Cyrus has quit [Read error: Connection reset by peer]
Cyrus1 has joined #jruby
mdedetrich has quit [Ping timeout: 240 seconds]
kwando_ has joined #jruby
cristianrasch has joined #jruby
camlow325 has quit []
yfeldblum has quit [Ping timeout: 240 seconds]
kwando has quit [Ping timeout: 256 seconds]
phrinx has quit [Remote host closed the connection]
cristianrasch has quit [Client Quit]
havenwood has joined #jruby
samphippen has joined #jruby
samphippen has quit [Ping timeout: 240 seconds]
mdedetri_ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
mdedetrich has joined #jruby
yokolet has joined #jruby
nirvdrum has joined #jruby
yokolet has quit []
<GitHub192> [jruby] nirvdrum pushed 1 new commit to master: http://git.io/vn1rC
<GitHub192> jruby/master 0d3820a Kevin Menard: Updated to jnr-posix 3.0.18-SNAPSHOT.
mdedetrich has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
mdedetrich has joined #jruby
<GitHub135> [jruby] nirvdrum pushed 1 new commit to truffle-head: http://git.io/vn1oB
<GitHub135> jruby/truffle-head 6d25089 Kevin Menard: Merge remote-tracking branch 'origin/master' into truffle-head
benlovell has joined #jruby
djbkd has quit [Remote host closed the connection]
benlovell has quit [Ping timeout: 268 seconds]
<travis-ci> jruby/jruby (truffle-head:6d25089 by Kevin Menard): The build has errored. (https://travis-ci.org/jruby/jruby/builds/81892531)
<travis-ci> jruby/jruby (master:0d3820a by Kevin Menard): The build failed. (https://travis-ci.org/jruby/jruby/builds/81891726)
havenwood has quit [Ping timeout: 252 seconds]
nirvdrum has quit [Ping timeout: 240 seconds]
havenwood has joined #jruby
colinsurprenant has joined #jruby
<projectodd-ci> Yippee, build fixed!
<projectodd-ci> Project jruby-master-spec-compiler build #386: FIXED in 15 min: https://projectodd.ci.cloudbees.com/job/jruby-master-spec-compiler/386/
<projectodd-ci> kevin: Updated to jnr-posix 3.0.18-SNAPSHOT.
<projectodd-ci> Yippee, build fixed!
<projectodd-ci> Project jruby-master-spec-ji build #2061: FIXED in 32 min: https://projectodd.ci.cloudbees.com/job/jruby-master-spec-ji/2061/
robbyoconnor has quit [Ping timeout: 265 seconds]
colinsurprenant has quit [Quit: colinsurprenant]
colinsurprenant has joined #jruby
colinsurprenant has quit [Client Quit]
samphippen has joined #jruby
yfeldblum has joined #jruby
robbyoconnor has joined #jruby
mdedetrich has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<projectodd-ci> Yippee, build fixed!
<projectodd-ci> Project jruby-master-test-slow_suites build #2022: FIXED in 52 min: https://projectodd.ci.cloudbees.com/job/jruby-master-test-slow_suites/2022/
SynrG has quit [Ping timeout: 240 seconds]
mdedetrich has joined #jruby
benlovell has joined #jruby
benlovell has quit [Ping timeout: 240 seconds]
samphippen has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
thedarkone2 has quit [Quit: thedarkone2]
<GitHub103> [jruby] dwaller opened issue #3346: Error messages for failed casts using Integer() subtly different to MRI http://git.io/vn1hV
enebo has quit [Ping timeout: 260 seconds]
rsim has joined #jruby
bb010g has joined #jruby
yfeldblum has quit [Ping timeout: 240 seconds]
phrinx has joined #jruby
djbkd has joined #jruby
bf4_ has quit [Ping timeout: 246 seconds]
djbkd has quit [Ping timeout: 250 seconds]
bf4 has joined #jruby
yfeldblum has joined #jruby
yfeldblum has quit [Read error: Connection reset by peer]
yfeldblum has joined #jruby
samphippen has joined #jruby
phrinx_ has joined #jruby
phrinx has quit [Ping timeout: 240 seconds]
havenwood has quit [Quit: Textual IRC Client: www.textualapp.com]
yfeldblum has quit [Remote host closed the connection]
yfeldblum has joined #jruby
skade has joined #jruby
samphippen has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
phrinx_ has quit [Remote host closed the connection]
phrinx has joined #jruby
phrinx has quit [Ping timeout: 240 seconds]
vjdhama has joined #jruby
bf4 has quit [Ping timeout: 240 seconds]
samphippen has joined #jruby
bf4 has joined #jruby
xkickflip has joined #jruby
samphippen has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
xkickflip has quit [Quit: xkickflip]
vjdhama has quit [Ping timeout: 256 seconds]
skade has quit [Ping timeout: 264 seconds]
vjdhama has joined #jruby
skade has joined #jruby
vjdhama has quit [Remote host closed the connection]
vjdhama has joined #jruby
elia has joined #jruby
vjdhama has quit [Remote host closed the connection]
vjdhama has joined #jruby
skade has quit [Quit: Computer has gone to sleep.]
benlovell has joined #jruby
vjdhama has quit [Remote host closed the connection]
vjdhama has joined #jruby
vjdhama has quit [Remote host closed the connection]
vjdhama has joined #jruby
temporalfox has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
temporalfox has joined #jruby
temporalfox has quit [Read error: Connection reset by peer]
temporalfox has joined #jruby
temporalfox has quit [Client Quit]
bb010g has quit [Quit: Connection closed for inactivity]
vjdhama has quit [Read error: Connection reset by peer]
blaxter has joined #jruby
mdedetrich has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
vjdhama has joined #jruby
mdedetrich has joined #jruby
mdedetrich has quit [Client Quit]
yfeldblum has quit [Ping timeout: 240 seconds]
yfeldblum has joined #jruby
mdedetrich has joined #jruby
SynrG has joined #jruby
mdedetrich has quit [Client Quit]
temporalfox has joined #jruby
vjdhama has quit [Ping timeout: 240 seconds]
yfeldblum has quit [Read error: Connection reset by peer]
yfeldblum has joined #jruby
vjdhama has joined #jruby
vjdhama has quit [Remote host closed the connection]
vjdhama has joined #jruby
shellac has joined #jruby
drbobbeaty has joined #jruby
benlovell has quit [Ping timeout: 264 seconds]
benlovell has joined #jruby
yfeldblu_ has joined #jruby
vjdhama has quit [Remote host closed the connection]
yfeldblum has quit [Ping timeout: 256 seconds]
vjdhama has joined #jruby
skade has joined #jruby
temporalfox has quit [Read error: Connection reset by peer]
temporalfox has joined #jruby
benlovell has quit [Ping timeout: 264 seconds]
benlovell has joined #jruby
drbobbeaty has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
benlovell has quit [Ping timeout: 260 seconds]
vjdhama_ has joined #jruby
vjdhama has quit [Ping timeout: 255 seconds]
skade has quit [Ping timeout: 246 seconds]
skade has joined #jruby
vjdhama_ has quit [Remote host closed the connection]
vjdhama has joined #jruby
benlovell has joined #jruby
yfeldblu_ has quit [Ping timeout: 240 seconds]
benlovell has quit [Ping timeout: 250 seconds]
skade has quit [Quit: Computer has gone to sleep.]
<GitHub76> [jruby] personnel opened issue #3347: GBK Symbol Error http://git.io/vnDru
vjdhama has quit [Remote host closed the connection]
vjdhama has joined #jruby
vjdhama has quit [Remote host closed the connection]
vjdhama has joined #jruby
benlovell has joined #jruby
shellac has quit [Quit: Computer has gone to sleep.]
mdedetrich has joined #jruby
drbobbeaty has joined #jruby
<GitHub42> [jruby] eregon pushed 1 new commit to master: http://git.io/vnDSV
<GitHub42> jruby/master 13260a4 Benoit Daloze: [Truffle] Add a static helper for calling eval() easily in the Java debugger.
shellac has joined #jruby
djbkd has joined #jruby
nateberkopec has quit [Quit: Leaving...]
<GitHub3> [jruby] eregon pushed 1 new commit to master: http://git.io/vnD7y
<GitHub3> jruby/master 268b843 Benoit Daloze: [Truffle] Add expected values for PE frozen tests.
mdedetrich has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
djbkd has quit [Ping timeout: 272 seconds]
temporalfox has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<travis-ci> jruby/jruby (master:13260a4 by Benoit Daloze): The build is still failing. (https://travis-ci.org/jruby/jruby/builds/81944172)
<GitHub84> [jruby] eregon pushed 1 new commit to master: http://git.io/vnDpW
<GitHub84> jruby/master 933d003 Benoit Daloze: [Truffle] Remove specializations when the location does not fit anymore for object writes.
<GitHub90> [jruby] eregon pushed 1 new commit to master: http://git.io/vnDhL
<GitHub90> jruby/master 71e35c2 Benoit Daloze: [Truffle] No need for this workaround anymore.
vjdhama has quit [Remote host closed the connection]
vjdhama has joined #jruby
bbrowning_away is now known as bbrowning
vjdhama has quit [Remote host closed the connection]
cristianrasch has joined #jruby
vjdhama has joined #jruby
vjdhama has quit [Remote host closed the connection]
vjdhama has joined #jruby
vjdhama has quit [Ping timeout: 240 seconds]
nirvdrum has joined #jruby
vjdhama has joined #jruby
<GitHub166> [jruby] chrisseaton pushed 3 new commits to truffle-yaml: http://git.io/vnyLw
<GitHub166> jruby/truffle-yaml 83eafc7 Chris Seaton: [Truffle] Junk.
<GitHub166> jruby/truffle-yaml 43d89b4 Chris Seaton: [Truffle] Repeated code.
<GitHub166> jruby/truffle-yaml ba40fa2 Chris Seaton: [Truffle] Complete comment.
benlovell has quit [Ping timeout: 255 seconds]
<projectodd-ci> Project jruby-master-spec-compiler build #388: FAILURE in 10 min: https://projectodd.ci.cloudbees.com/job/jruby-master-spec-compiler/388/
<projectodd-ci> * eregontp: [Truffle] Add expected values for PE frozen tests.
<projectodd-ci> * eregontp: [Truffle] Remove specializations when the location does not fit anymore for object writes.
<projectodd-ci> * eregontp: [Truffle] No need for this workaround anymore.
<GitHub189> [jruby] eregon pushed 1 new commit to master: http://git.io/vnyqB
<GitHub189> jruby/master 40ca1e5 Benoit Daloze: [Truffle] Categorize #frozen? PE tests by optimization or specialization.
<GitHub127> [jruby] eregon pushed 1 new commit to master: http://git.io/vnyqP
<GitHub127> jruby/master 095d405 Benoit Daloze: Update core/pom.xml.
<GitHub1> [jruby] chrisseaton pushed 1 new commit to truffle-head: http://git.io/vnymV
<GitHub1> jruby/truffle-head d790d05 Chris Seaton: Merge branch 'master' into truffle-head...
vjdhama has quit [Ping timeout: 255 seconds]
benlovell has joined #jruby
<travis-ci> jruby/jruby (master:933d003 by Benoit Daloze): The build is still failing. (https://travis-ci.org/jruby/jruby/builds/81948672)
benlovell has quit [Ping timeout: 240 seconds]
vjdhama has joined #jruby
temporalfox has joined #jruby
mdedetrich has joined #jruby
mdedetrich has quit [Client Quit]
skade has joined #jruby
<projectodd-ci> Project jruby-master-spec-compiler build #389: STILL FAILING in 3 min 5 sec: https://projectodd.ci.cloudbees.com/job/jruby-master-spec-compiler/389/
<projectodd-ci> * eregontp: [Truffle] Categorize #frozen? PE tests by optimization or specialization.
<projectodd-ci> * eregontp: Update core/pom.xml.
benlovell has joined #jruby
<travis-ci> jruby/jruby (master:71e35c2 by Benoit Daloze): The build is still failing. (https://travis-ci.org/jruby/jruby/builds/81949055)
benlovell has quit [Ping timeout: 252 seconds]
oblutak has joined #jruby
drbobbeaty has quit [Read error: Connection reset by peer]
drbobbeaty has joined #jruby
temporalfox has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
vjdhama has quit [Read error: Connection reset by peer]
<pitr-ch> headius did you create jruby bug for the missing readFence when reading iVar?
vjdhama has joined #jruby
shellac has quit [Quit: Computer has gone to sleep.]
benlovell has joined #jruby
samphippen has joined #jruby
Aethenelle has joined #jruby
benlovell has quit [Ping timeout: 250 seconds]
vjdhama has quit [Read error: Connection reset by peer]
<travis-ci> jruby/jruby (master:40ca1e5 by Benoit Daloze): The build is still failing. (https://travis-ci.org/jruby/jruby/builds/81954226)
vjdhama has joined #jruby
thedarkone2 has joined #jruby
benlovell has joined #jruby
<travis-ci> jruby/jruby (master:095d405 by Benoit Daloze): The build is still failing. (https://travis-ci.org/jruby/jruby/builds/81954349)
<travis-ci> jruby/jruby (truffle-head:d790d05 by Chris Seaton): The build has errored. (https://travis-ci.org/jruby/jruby/builds/81954905)
skade has quit [Ping timeout: 264 seconds]
havenwood has joined #jruby
skade has joined #jruby
<GitHub172> [jruby] eregon pushed 2 new commits to master: http://git.io/vnSTY
<GitHub172> jruby/master 571c33f Benoit Daloze: Specify Binding#local_variable_get.
<GitHub172> jruby/master a30da98 Benoit Daloze: [Truffle] Make sure to not cache a nonexistent variable....
cprice has joined #jruby
vjdhama has quit [Ping timeout: 240 seconds]
tenderlove has quit [Remote host closed the connection]
tenderlove has joined #jruby
donV has joined #jruby
Aethenelle has quit [Quit: Aethenelle]
<rtyler> is it possible to take the Joda DateTime instance and convert that to a Ruby Time instance?
<rtyler> I'm inferring from some of the wiki that java.util.Date might be bridged with Ruby's `Time`
<rtyler> aha!
<rtyler> RubyTime.newTime(ruby, myJodaDateTime)
colinsurprenant has joined #jruby
vjdhama has joined #jruby
skade has quit [Quit: Computer has gone to sleep.]
<projectodd-ci> Project jruby-master-spec-compiler build #390: STILL FAILING in 2 min 57 sec: https://projectodd.ci.cloudbees.com/job/jruby-master-spec-compiler/390/
<projectodd-ci> * eregontp: Specify Binding#local_variable_get.
<projectodd-ci> * eregontp: [Truffle] Make sure to not cache a nonexistent variable.
skade has joined #jruby
Aethenelle has joined #jruby
skade has quit [Ping timeout: 250 seconds]
<travis-ci> jruby/jruby (master:a30da98 by Benoit Daloze): The build is still failing. (https://travis-ci.org/jruby/jruby/builds/81974183)
skade has joined #jruby
camlow325 has joined #jruby
skade has quit [Read error: Connection reset by peer]
skade has joined #jruby
donV has quit [Quit: donV]
cajone has joined #jruby
eonwe has quit [Ping timeout: 252 seconds]
eonwe has joined #jruby
colinsurprenant has quit [Quit: colinsurprenant]
colinsurprenant has joined #jruby
colinsurprenant has quit [Ping timeout: 265 seconds]
thsig has joined #jruby
shellac has joined #jruby
rcvalle has joined #jruby
temporalfox has joined #jruby
cajone has left #jruby [#jruby]
benlovell has quit [Quit: leaving]
hobodave has joined #jruby
thsig has quit []
elia has quit [Quit: Computer has gone to sleep.]
thsig has joined #jruby
temporalfox has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
elia has joined #jruby
kith_ has joined #jruby
elia has quit [Client Quit]
<rtyler> interesting, getting EBADF errors from net/http via jruby1.7.22 right now
<rtyler> from RubyIO.close()
<rtyler> most interesting
r0bby_ has joined #jruby
brauliobo has joined #jruby
kith has quit [Ping timeout: 244 seconds]
_ko1 has quit [Ping timeout: 244 seconds]
robbyoconnor has quit [Ping timeout: 244 seconds]
samphippen has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
havenwood has quit [Quit: Textual IRC Client: www.textualapp.com]
skade has quit [Quit: Computer has gone to sleep.]
phrinx has joined #jruby
skade has joined #jruby
phrinx_ has joined #jruby
phrinx_ has quit [Remote host closed the connection]
phrinx has quit [Ping timeout: 240 seconds]
djbkd has joined #jruby
rsim has quit [Quit: Leaving.]
djbkd has quit [Ping timeout: 244 seconds]
rsim has joined #jruby
* rtyler frowns
<rtyler> ^ in which a big problem with Rails is blamed on Ruby aka MRI being slow
<rtyler> except that the author apparently doesn't recognize that CPU benchmarks don't mean diddly with Rails
djbkd has joined #jruby
<rtyler> (not that I disagree with the stagnation points of rails)
shellac has quit [Quit: Computer has gone to sleep.]
<mberg> Some pretty shoddy writing there.
<mberg> "he ruby interpreter is just a volunteer effort. Between 2007-2012, there were a number of efforts to fix the interpreter and make it fast (Rubinius, JRuby, YARV, etc) But lacking backers with staying power, the volunteers got bored and some of the efforts withered."
<rtyler> yep
<mberg> Even though he goes on to say JRuby is still active, listing it with efforts "between 2007-2012" in the first place is disingenous.
<rtyler> writing with a tone of authority but without actually seeming to know much
<rtyler> unfortunate
<rtyler> on the other hang, I now know where this tweet comes from https://twitter.com/al2o3cr/status/645576915751976960
hobodave has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
bb010g has joined #jruby
djbkd has quit [Remote host closed the connection]
bbrowning is now known as bbrowning_away
blaxter has quit [Ping timeout: 264 seconds]
<mberg> And Rubinius DID have a corporate sponsorship back then. :/
<chrisseaton> Yeah didn't they have four people or something like that? Even today I think there's probably 10 people worldwide paid to work on alternate Ruby implementations.
<mberg> I wonder how different their bar chart would look like with stock PHP measured, since most sites aren't actually running HVVM.
Locke23rus has joined #jruby
yfeldblum has joined #jruby
<rtyler> oh wells
djbkd has joined #jruby
skade has quit [Quit: Computer has gone to sleep.]
brauliobo has quit [Quit: Konversation terminated!]
brauliobo has joined #jruby
yfeldblum has quit [Read error: Connection reset by peer]
yfeldblum has joined #jruby
<cremes> google has failed me… are there any tricks to get jruby to improve CSV import performance?
<cremes> it’s a real dog compared to mri
<cremes> i’ll likely open a ticket. i have flat and graph profiler results that show it spends a majority of its time in Kernel.Integer and Kernel.Float
<cremes> when converting incoming fields.
<cremes> btw, i’m using the stdlib csv
nateberkopec has joined #jruby
brauliobo_ has joined #jruby
<mberg> My usual solution for the problem of "using X pure ruby library is slow compared to MRI" is "using Y java alternative is breath-takingly faster than using X on either runtime"
<mberg> I haven't tried that with CSV though. If possible, I would probably give Commons CSV a shot.
<cremes> mberg: thanks for the pointer. i’ll look for it.
<mberg> Obviously not always an option, especially if you have a lot of logic written against the Ruby module, or if running on MRI is a functional requirement.
brauliobo has quit [Ping timeout: 265 seconds]
<cremes> mberg: looks like commons csv is an apache project. searching rubygems.org doesn’t show any ruby wrapper for it, unfortunately.
<mberg> Yeah, none that I know of. For most things I just use the jars directly.
havenwood has joined #jruby
bbrowning_away is now known as bbrowning
Locke23rus has quit [Remote host closed the connection]
shellac has joined #jruby
tcrawley-away is now known as tcrawley
<xardion> cremes: honestly, MRI's CSV isn't a whole lot better than jRuby. They're both dog slow compared to pretty much anything you could do with Java directly.
<cremes> xardion: for my use-case, mri is about 10x faster parsing csv than jruby
<xardion> Alot of that has to do with extra logic that you may or may not need.
<xardion> Oh, yeah, the parsing is definitely alot slower in jRuby.
<cremes> by the time i wedge in a java library, i could have probably run it under mri twice
<xardion> Most of what I deal with is outputting CSV, and very large amounts of it.
<cremes> i was looking for a quick fix… sounds like one doesn’t exist… oh well
havenwood has quit [Ping timeout: 244 seconds]
<cremes> xardion: and do you use commons csv or some other lib?
<xardion> I'm just writing it directly.
<cremes> i see
<xardion> In my particular case, I'm taking a resultset and driving it directly into a tcp socket as CSV
<xardion> My results are already properly quoted where necessary, so I'm just writing the output of getString directly to the socket, then a comma (or a newline if it's the last column), for each column.
havenwood has joined #jruby
<cremes> ok
<xardion> the bottleneck in my case is how fast the db cursor can return data to me.
skade has joined #jruby
pitr-ch has quit [Ping timeout: 255 seconds]
pitr-ch_ has joined #jruby
r0bby_ has quit [Ping timeout: 250 seconds]
hoodow has joined #jruby
Aethenelle has quit [Quit: Aethenelle]
phrinx has joined #jruby
thsig has quit [Remote host closed the connection]
samg_ has joined #jruby
vjdhama_ has joined #jruby
thsig has joined #jruby
vjdhama has quit [Ping timeout: 246 seconds]
subbu is now known as subbu|lunch
tcrawley is now known as tcrawley-away
<GitHub73> [jruby] nirvdrum pushed 1 new commit to master: http://git.io/vnQls
<GitHub73> jruby/master b40bc95 Kevin Menard: Use popen3 instead of `` for pack200 operations to drain STDIO....
skade has quit [Quit: Computer has gone to sleep.]
<GitHub134> [jruby] nirvdrum pushed 1 new commit to truffle-head: http://git.io/vnQl4
<GitHub134> jruby/truffle-head fef441c Kevin Menard: Merge remote-tracking branch 'origin/master' into truffle-head
shellac has quit [Ping timeout: 265 seconds]
<samg_> I'm trying to precompile ruby files, but I'mg getting an error when I try to load the class file that `/path/to/file.class` is not compiled Ruby; use java_import to load normal classes`
<GitHub51> [jruby] nirvdrum commented on commit b40bc95: @mkristian This tested out okay for me, but please review when you have a moment. http://git.io/vnQ4v
<samg_> I can reproduce by just running `jrubyc init.rb; jruby init.class`
<xardion> samg_: jrubyc produces a java class. You run it with java, not jruby.
samphippen has joined #jruby
<samg_> xardion: Thanks. Is it the case that what I'm trying to do used to work? Because I'm copying the method from warbler, which claims to do the same thing: https://github.com/jruby/warbler#features (under "compiled")
<xardion> samg_: warbler is doing something completely different. I'm not sure what you're asking.
pitr-ch_ has quit [Ping timeout: 265 seconds]
<xardion> Oh, I think I see.
<samg_> Warbler runs jrubyc and leaves stub files that load the class file, and I tried doing the same thing.
<xardion> samg_: There's an important bit in that link you pasted: NOTE: The war file will still contain .rb files, but they will be short stubs containing the following code : load __FILE__.sub(/\.rb$/, '.class')
<samg_> Right, and that's what I have, and the error I get is on that line in the stub file.
<xardion> Oh, you tried doing that and it failed.
<samg_> Full error: Exception in thread "main" org.jruby.exceptions.RaiseException: (LoadError) /var/folders/z1/sdzkzrw94b1dttp72spg4fd00000gn/T/wunderboss6675251160404711331/app/main.class is not compiled Ruby; use java_import to load normal classes
<samg_> Maybe this document is wrong or out of date-- and if so, is there an alternative? My ultimate goal is to make it a bit harder for someone to grab the source for my app.
yfeldblum has quit [Ping timeout: 240 seconds]
<xardion> I'm not sure what to tell you there, that particular method of doing that might be deprecated.
<samg_> OK, thanks for your time :)
<xardion> well, you don't have to have a wrapper script like that
<xardion> you can just run it with java directly
<projectodd-ci> Project jruby-master-spec-compiler build #391: STILL FAILING in 3 min 5 sec: https://projectodd.ci.cloudbees.com/job/jruby-master-spec-compiler/391/
<projectodd-ci> kevin: Use popen3 instead of `` for pack200 operations to drain STDIO.
<mberg> Huh. Yeah, CSV on jruby is pretty damn slow, especially on a first iteration. Parsing a 160k line csv file and building an array of the first field: first run is ~ 15 seconds, subsequent iterations drop to ~ 5 seconds. Under MRI it's around 3 seconds, period.
<mberg> On the other hand, doing the same thing with CSVParser is ~ 2 seconds on the first iteration, then sub-second on subsequent iterations.
<xardion> I think there are ways to speed up the jRuby CSV parsing by disabling certain features you know you don't need.
<xardion> and also by explicitly defining some of the options when you spin up a new CSV object instead of just letting it default
djbkd has quit [Remote host closed the connection]
<travis-ci> jruby/jruby (truffle-head:fef441c by Kevin Menard): The build has errored. (https://travis-ci.org/jruby/jruby/builds/82022777)
pitr-ch has joined #jruby
<travis-ci> jruby/jruby (master:b40bc95 by Kevin Menard): The build is still failing. (https://travis-ci.org/jruby/jruby/builds/82022664)
<nirvdrum> samg_: Is this on 9.0.0.0?
<samg_> nirvdrum: 9.0.1.0
<nirvdrum> Okay. 9k in general needs a flag for AOT to work.
<nirvdrum> -Xaot.loadClasses=true, I think.
samphippen has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<nirvdrum> If that doesn't do it, I guess you'll need to wait for headius to show up.
<mberg> Always room for optimization. I was just curious to look at what baseline performance was like, since cremes mentioned mri was about 10x faster.
<nirvdrum> mberg: What CSV file are you using? Is it something public?
<cremes> nirvdrum: I can provide you a nice test case if you want one :)
djbkd has joined #jruby
<nirvdrum> cremes: That'd be nice. I'm curious how JRuby+Truffle does.
<mberg> Big ol' tarball of CSVs. Handy for testing.
<cremes> how many lines would you like?
<mberg> BTW, my crude benchmark was just: jruby -rcsv -rbenchmark -e "10.times { puts Benchmark.measure { CSV.read('Fielding.txt').map { |record| record[0] } } }"
<mberg> And against Commons CSV: jruby -rbenchmark -e "10.times { puts Benchmark.measure { org.apache.commons.csv.CSVParser.new(java.io.FileReader.new('Fielding.txt'), org.apache.commons.csv.CSVFormat::RFC4180).map { |record| record.get(0) } } }"
Aethenelle has joined #jruby
<nirvdrum> cremes: I guess whatever's ailing you.
<nirvdrum> mberg: Thanks.
<mberg> For large datasets probably wouldn't want to parse the whole thing into memory, of course.
subbu|lunch is now known as subbu
<samg_> nirvdrum: I tried running `java -Djruby.aot.loadClasses=true -jar myjar.jar` but got the same error.
<samg_> did I pass the option correctly?
donV has joined #jruby
rsim has quit [Quit: Leaving.]
<nirvdrum> I've never used AOT, I'm sorry.
<samg_> NP, thanks anyway :)
<xardion> Hmmmm just looking at the issues that were closed in 9k, I don't know that jruby 9k support AOT at all as of yet
donV has quit [Read error: Connection reset by peer]
<xardion> Oh, ignore that, appears that there are some possible ongoing issues with it, however.
<samg_> I'll try downgrading.
donV has joined #jruby
havenwood has quit [Ping timeout: 240 seconds]
thsig has quit [Ping timeout: 272 seconds]
phrinx has quit [Quit: Leaving...]
<rtyler> so in my embedding scenario, I'm getting a RubyObject back, which is an actual class, is there anything in redbridge that allows for calling methods more directly on that object or anything else like that?
skade has joined #jruby
<samg_> xardion: nirvdrum: Just to follow up, downgrading to 1.7.22 seems to work.
bbrowning is now known as bbrowning_away
donV has quit [Read error: Connection reset by peer]
donV has joined #jruby
vjdhama_ has quit [Remote host closed the connection]
havenwood has joined #jruby
Aethenelle has quit [Quit: Aethenelle]
temporalfox has joined #jruby
r0bby_ has joined #jruby
nirvdrum has quit [Ping timeout: 240 seconds]
drbobbeaty has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
samg_ has quit [Quit: leaving]
skade has quit [Ping timeout: 250 seconds]
havenwood has quit [Ping timeout: 255 seconds]
Aethenelle has joined #jruby
havenwood has joined #jruby
yfeldblum has joined #jruby
djbkd has quit [Remote host closed the connection]
oblutak has quit []
Puffball has joined #jruby
djbkd has joined #jruby
djbkd has quit [Remote host closed the connection]
r0bby_ has quit [Quit: Konversation terminated!]
pitr-ch has quit [Read error: Connection reset by peer]
r0bby_ has joined #jruby
pitr-ch has joined #jruby
r0bby_ has quit [Client Quit]
djbkd has joined #jruby
brauliobo has joined #jruby
brauliobo_ has quit [Ping timeout: 264 seconds]
bb010g has quit [Quit: Connection closed for inactivity]
Aethenelle has quit [Quit: Aethenelle]
havenwood has quit [Ping timeout: 268 seconds]
r0bby_ has joined #jruby
r0bby_ has quit [Client Quit]
r0bby_ has joined #jruby
cristianrasch has quit [Quit: Leaving]
rcvalle has quit [Quit: rcvalle]
asarih has quit [Ping timeout: 240 seconds]
guilleiguaran__ has quit [Ping timeout: 240 seconds]
asarih has joined #jruby
Scorchin has quit [Ping timeout: 240 seconds]
bf4 has quit [Ping timeout: 240 seconds]
bruceadams has quit [Ping timeout: 240 seconds]
fidothe has quit [Ping timeout: 240 seconds]
dfr has quit [Ping timeout: 240 seconds]
dfr has joined #jruby
Scorchin has joined #jruby
bruceadams has joined #jruby
bf4 has joined #jruby