subbu is now known as subbu|dinner
subbu|dinner is now known as subbu
lucasallan has quit []
tenderlove has quit [Remote host closed the connection]
tenderlove has joined #jruby
tenderlove has quit [Ping timeout: 260 seconds]
thedarkone2 has joined #jruby
jensnockert has quit [Remote host closed the connection]
enebo has joined #jruby
tenderlove has joined #jruby
tenderlove has quit [Remote host closed the connection]
tenderlove has joined #jruby
enebo has quit [Quit: enebo]
tenderlove has quit [Ping timeout: 260 seconds]
jensnockert has joined #jruby
jensnockert has quit [Ping timeout: 260 seconds]
cremes has quit [Quit: cremes]
jensnockert has joined #jruby
jensnockert has quit [Ping timeout: 248 seconds]
swills has quit [Ping timeout: 245 seconds]
swills has joined #jruby
etehtsea has joined #jruby
jensnockert has joined #jruby
jensnockert has quit [Ping timeout: 258 seconds]
pawnbox has joined #jruby
cschneid has quit [Ping timeout: 260 seconds]
halorgium has quit [Ping timeout: 260 seconds]
atambo has quit [Ping timeout: 260 seconds]
electrical has quit [Ping timeout: 260 seconds]
deepak_ has quit [Ping timeout: 260 seconds]
andrewvc has quit [Ping timeout: 260 seconds]
eregon has quit [Ping timeout: 260 seconds]
eregon has joined #jruby
deepak_ has joined #jruby
electrical has joined #jruby
atambo has joined #jruby
andrewvc has joined #jruby
cschneid has joined #jruby
tenderlove has joined #jruby
tenderlove has quit [Read error: Connection reset by peer]
tenderlove has joined #jruby
jensnockert has joined #jruby
jensnockert has quit [Ping timeout: 248 seconds]
thedarkone2 has quit [Quit: thedarkone2]
etehtsea has quit [Read error: Connection reset by peer]
etehtsea has joined #jruby
jensnockert has joined #jruby
jensnockert has quit [Ping timeout: 268 seconds]
<GitHub43> [jruby] kares closed pull request #4364: Add regression test for shell exit (master...javierhonduco/test-shell-exit) https://git.io/v1Rxp
<GitHub131> [jruby] kares pushed 1 new commit to master: https://git.io/v1Egi
<GitHub131> jruby/master 587bb74 Javier Honduvilla Coto: Add regression test for shell exit (#4364)...
Antiarc has quit [Ping timeout: 265 seconds]
Antiarc has joined #jruby
donV has quit [Quit: donV]
pawnbox has quit [Remote host closed the connection]
<GitHub154> [jruby] TheWudu opened issue #4367: Possible memory issue with jruby / java / linux. https://git.io/v1E2S
prasunanand has joined #jruby
<travis-ci> jruby/jruby (master:587bb74 by Javier Honduvilla Coto): The build passed. (https://travis-ci.org/jruby/jruby/builds/181878572)
Puffball has quit [Quit: No Ping reply in 180 seconds.]
jensnockert has joined #jruby
Puffball has joined #jruby
jensnockert has quit []
shellac has joined #jruby
pawnbox has joined #jruby
olle has joined #jruby
prasunanand has quit [Ping timeout: 258 seconds]
prasunanand has joined #jruby
<GitHub58> [jruby] kares closed pull request #4362: change status array of ints to an int (master...javierhonduco/status-basic-type) https://git.io/v1RO8
<GitHub40> [jruby] kares pushed 1 new commit to master: https://git.io/v1EwF
<GitHub40> jruby/master 9291c56 Javier Honduvilla Coto: change status array of ints to an int (#4362)
claudiuinberlin has joined #jruby
vtunka has joined #jruby
vtunka has quit [Quit: Leaving]
vtunka has joined #jruby
shellac has quit [Quit: Computer has gone to sleep.]
FINbit has joined #jruby
pawnbox_ has joined #jruby
pawnbox has quit [Read error: Connection reset by peer]
drbobbeaty has joined #jruby
djellemah_ has quit [Ping timeout: 258 seconds]
vtunka has quit [Quit: Leaving]
pawnbox has joined #jruby
pawnbox_ has quit [Read error: Connection reset by peer]
drbobbeaty has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
djellemah has joined #jruby
kith has quit [Read error: Connection reset by peer]
halorgium has joined #jruby
codefinger has quit [Ping timeout: 248 seconds]
codefinger has joined #jruby
olle has quit [Quit: olle]
prasunanand has quit [Ping timeout: 258 seconds]
pawnbox has quit [Remote host closed the connection]
olle has joined #jruby
pawnbox has joined #jruby
vtunka has joined #jruby
pawnbox has quit [Read error: Connection reset by peer]
pawnbox has joined #jruby
shellac has joined #jruby
cremes has joined #jruby
<GitHub99> [jruby] kares pushed 2 new commits to master: https://git.io/v1Epg
<GitHub99> jruby/master 933fae0 Karol Bucek: Merge pull request #4366 from ivoanjo/improve-defined-performance...
<GitHub3> [jruby] kares closed pull request #4366: Optimize getDefinedMessage by deduping during initialization (master...improve-defined-performance) https://git.io/v1EfV
<GitHub99> jruby/master 95b5d2e Ivo Anjo: Optimize getDefinedMessage by deduping during initialization...
drbobbeaty has joined #jruby
<GitHub194> [jruby] kares closed pull request #4307: JRuby 1.7: update jruby openssl to 0.9.18 (jruby-1_7...jruby-1_7-update-jruby-openssl-to-0.9.18) https://git.io/vX9qY
claudiuinberlin has quit [Remote host closed the connection]
claudiuinberlin has joined #jruby
vtunka has quit [Quit: Leaving]
claudiuinberlin has quit [Ping timeout: 260 seconds]
jsvd has joined #jruby
claudiuinberlin has joined #jruby
claudiuinberlin has quit [Ping timeout: 250 seconds]
claudiuinberlin has joined #jruby
vtunka has joined #jruby
alxs has joined #jruby
<alxs> Hey! I'm looking into jruby to build a "sandbox'ed ruby script execution service" or something (what's in the name?!)
<alxs> Where ruby and sandbox'ed is the requirement part
<alxs> Thinking, running on the JVM, was an advantage... SecurityManager and the classloading part came to mind
<alxs> anyhow, wondered if anyone had any pointers? Currently reading through the redbridge stuff - thought I'd start prototyping something off that
enebo has joined #jruby
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #jruby
tcrawley-away is now known as tcrawley
<swills> i was told yesterday that jruby 1.7.x is EOL at the end of the year. can someone point me at a web page that documents that?
pawnbox has quit [Remote host closed the connection]
<swills> and if anyone has thoughts on https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=204933#c4 i'd appreciate it
pawnbox has joined #jruby
<swills> k
olle has quit [Quit: olle]
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #jruby
subbu is now known as subbu|breakfast
camlow325 has joined #jruby
subbu|breakfast is now known as subbu
alxs has quit [Ping timeout: 248 seconds]
<GitHub170> [jruby] headius pushed 2 new commits to master: https://git.io/v1u6D
<GitHub170> jruby/master 9dfb955 Charles Oliver Nutter: Add specs for missing non-trivial defined? cases. See #4366.
<GitHub170> jruby/master 56cb52b Charles Oliver Nutter: Further optimize defined? messages. See #4366....
etehtsea has quit [Quit: Textual IRC Client: www.textualapp.com]
klemanski has joined #jruby
<klemanski> Hello, I've got some strange behavior with Fixnum/Bignum and mongo driver; looks like two numbers with same #hash are not enough "hasty" for Hash http://pastie.org/10978801
<klemanski> mongo returns 2400000017 (Int64) as Bignum
<klemanski> I'm not sure whose error is that
<klemanski> probably this number should not be returned as Bignum but as Fixnum
<klemanski> and thats how i will fix it in my app - i will cast number from mongo/bson back to fixnum
<klemanski> my question is if i should create bug on jruby or bson?
<travis-ci> jruby/jruby (master:9dfb955 by Charles Oliver Nutter): The build passed. (https://travis-ci.org/jruby/jruby/builds/182019917)
claudiuinberlin has quit []
FINbit has quit [Ping timeout: 240 seconds]
alxs has joined #jruby
tenderlove has quit [Ping timeout: 265 seconds]
camlow325 has quit [Remote host closed the connection]
camlow325 has joined #jruby
tenderlove has joined #jruby
<klemanski> i don't know if it's possible to test this on MRI as I don't know if there is method to create Bignum in range of Fixnum
vtunka has quit [Quit: Leaving]
amdprophet has quit [Read error: Connection reset by peer]
amdprophet has joined #jruby
amdprophet has joined #jruby
amdprophet has quit [Changing host]
<lopex> klemanski: on 64 bit mri the range is ((1 << 62) - 1) .. (-(1 << 62)) direct consequence of https://github.com/ruby/ruby/blob/trunk/gc.c#L3096
<klemanski> lopex, its problem with bson gem on jruby that returns bignum even when it should be fixnum
<lopex> klemanski: maybe it should use bignorm
<klemanski> but if Fixnum#hash == Lignum#hash then i would expect more "hasty" behavior
<klemanski> *"hashy"
<klemanski> I mean this example http://pastie.org/10978801#19
<lopex> but jruby uses full long for Fixnums
<lopex> so it wont match mri
<enebo> klemanski: strikes me this is a Ruby 2.4 thing we need to deal with in JRuby since there will be no Bignum or Fixnum externally
<lopex> anyways, it if fits fixnum one should use bignorm
<lopex> enebo: https://www.ratebeer.com/beer/pinta-im-so-horny/316821/ 18plato espresso lager
<klemanski> but why f.hash == b.hash but h[b] and h[f] is not same?
<klemanski> Hash is not based on Object#hash?
<lopex> all of those have their own hash impl
<lopex> but the culprit is == a suppose
<lopex> er, "eql?" actually
<lopex> do they "eql?"
<klemanski> f.eql?(b) => false
claudiuinberlin has joined #jruby
<klemanski> f === b => true
<klemanski> so should i create issue or just ignore this for now? i will fix this by Bignum#to_f.to_i or something like this
<lopex> klemanski: hmm, I think the ge should use bignom
<lopex> *bignorm
<lopex> *gem
<klemanski> they are using Bignum but look that Fixnum is ok for Int64
<lopex> that's what I'm alluring to
<lopex> *ding even lol
donV has joined #jruby
<lopex> enebo: though maybe eql? should work here ?
c0de1 has quit [Ping timeout: 250 seconds]
<enebo> lopex: does MRI?
<lopex> enebo: mri is very strict to not allow bignums in fixnum range
<lopex> enebo: but this case explicitely does that
<klemanski> lopex: ok, but you said "gem should use bignom" (bignum?) where it should not :)
<enebo> lopex: so you are saying it won’t then
<lopex> yeah
<lopex> enebo: well, as if shouldnt happen
<lopex> *it
ruurd has quit [Ping timeout: 250 seconds]
<enebo> lopex: I just wanted to know if you tried or not
<lopex> enebo: tried what ?
<lopex> klemanski: which gem is that ?
<lopex> klemanski: we might look at c sources
<enebo> lopex: oh there is no way to make a Bignum in fixnum range so we cannot test it?
<lopex> enebo: I hope so
<lopex> yeah
<lopex> need to follow thos code
<lopex> *this
<klemanski> just wanted to put this, but it's to "c" for me to understand
<lopex> klemanski: yep is uses rb_ll2inum
<lopex> and in turn if (FIXABLE(n)) return LONG2FIX(n
<lopex> klemanski: java gem is wrong
<lopex> enebo: ^^
c0de1 has joined #jruby
c0de1 has quit [Changing host]
c0de1 has joined #jruby
<klemanski> i could create an issue for them, but what to write there? just that bignum should not be created when fixnum covers the range?
<lopex> yes
<enebo> rb_ll2inum(LONG_LONG n) {
<enebo> if (FIXABLE(n)) return LONG2FIX(n);
<enebo> return rb_ll2big(n);
<enebo> klemanski: point out that this is what C ext calls and Java should do something similar
<klemanski> ok
<enebo> klemanski: you can see that first if tests to see if it fits into a fixnum
<lopex> hmm, but htey already use use getLong() there
<lopex> it will always fit fixnum
<enebo> hehe
<lopex> as the name suggests :}
<enebo> yeah
<lopex> klemanski: they should wrap it with fixnum
<enebo> lopex: but with that said the C ext also still calls this
<lopex> klemanski: just that
<lopex> enebo: maybe impl discrepency ?
<lopex> enebo: hey but htey also do memcpy(&i64, READ_PTR(b), 8)
<enebo> lopex: since C impl could LONG2FIX(value)
<lopex> enebo: so essentially they truncate ti
<enebo> lopex: pesky bits
<enebo> but they know it is presumably 64 bit word
<lopex> yep
<lopex> so, just wrap in Fixnum for jruby gem
<enebo> so I wonder how well Ruby 2.4 cexts will work now
<lopex> same ?
<enebo> all these macros will still create ‘something’
<enebo> lopex: yeah I think it has to be the same
ruurd has joined #jruby
<enebo> but both of Fixnum and Bignum will say they are Integer?
<lopex> yes
<lopex> but that's just reflection
<lopex> and rtti
<enebo> so cext will still need to know
<lopex> enebo: internalt type checks will still work
<enebo> lopex: yeah it will have to
<lopex> same as they now
<enebo> so only getName() changes
<enebo> errr getClass()
<enebo> whatever
<lopex> enebo: btw there's this thing http://bytedeco.org/
<lopex> and it works with cuda etc
<lopex> like a charm
<lopex> enebo: and they have prebuilt binaries for everything in maven artifacts
claudiuinberlin has quit [Remote host closed the connection]
claudiuinberlin has joined #jruby
claudiuinberlin has quit [Ping timeout: 260 seconds]
camlow325 has quit [Quit: WeeChat 1.5]
<GitHub104> [jruby] enebo pushed 1 new commit to master: https://git.io/v1zTA
<GitHub104> jruby/master 509dd05 Thomas E. Enebo: Move array arg list logic into native block calls and remove it from...
claudiuinberlin has joined #jruby
subbu is now known as subbu|lunch
bbrowning has joined #jruby
bbrowning_away has quit [Ping timeout: 244 seconds]
FINbit has joined #jruby
shellac has quit [Quit: Computer has gone to sleep.]
klemanski has quit [Quit: This computer has gone to sleep]
subbu|lunch is now known as subbu
bbrowning has quit [Remote host closed the connection]
bbrowning has joined #jruby
AckZ has joined #jruby
<GitHub26> [jruby] nirvdrum pushed 1 new commit to truffle-head: https://git.io/v1zcD
<GitHub26> jruby/truffle-head 02b2d6c Kevin Menard: [Truffle] Remove windows tags for core specs....
pawnbox has quit [Remote host closed the connection]
klemanski has joined #jruby
<GitHub174> [jruby] enebo pushed 1 new commit to master: https://git.io/v1zl4
<GitHub174> jruby/master 179099c Thomas E. Enebo: Fixup other IRubyObect[] internal block types for call in addition to yield
claudiuinberlin has quit []
klemanski has quit [Quit: Leaving]
<travis-ci> jruby/jruby (truffle-head:02b2d6c by Kevin Menard): The build is still failing. (https://travis-ci.org/jruby/jruby/builds/182081255)
<travis-ci> jruby/jruby (master:179099c by Thomas E. Enebo): The build was fixed. (https://travis-ci.org/jruby/jruby/builds/182084400)
thedarkone2 has joined #jruby
FINbit has quit [Ping timeout: 240 seconds]
FINbit has joined #jruby
bbrowning has quit [Quit: Leaving]
FINbit has quit [Ping timeout: 240 seconds]
tcrawley is now known as tcrawley-away
alxs has quit [Ping timeout: 245 seconds]
drbobbeaty has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
shellac has joined #jruby
<GitHub100> [jruby] enebo pushed 1 new commit to master: https://git.io/v1z1R
<GitHub100> jruby/master 9afc357 Thomas E. Enebo: Only prune extra args as our instructions can add missing ones for internal block calling
enebo has quit [Quit: enebo]
alxs has joined #jruby
shellac has quit [Quit: Computer has gone to sleep.]
alxs has quit [Ping timeout: 256 seconds]
camlow325 has joined #jruby
shellac has joined #jruby