<digitalextremist>
headius, is it 1_7_16 really, branchwise?
<headius>
the branch to use is jruby-1_7
JRubyGithub has joined #jruby
<JRubyGithub>
[jruby] headius pushed 1 new commit to jruby-1_7: http://git.io/jJFT
<JRubyGithub>
jruby/jruby-1_7 052e0d0 Charles Oliver Nutter: Use updated enxio and unixsocket for read-selectable servers....
JRubyGithub has left #jruby [#jruby]
<headius>
and there's your patch...build that and it should work
<digitalextremist>
headius, dude you are the MAN
<digitalextremist>
I'm all over it
<digitalextremist>
woooo hooooooo thank you thank you!
<headius>
I'd like to confirm that it's proper for a server socket to be selectable for read, but I feel like that's how the standard JDK sockets are
<headius>
either this is the right fix, or nio4r needs to check if it's a server (which seems wrong)
<digitalextremist>
ok I have the instructions and the commands, just wondering if it'll produce a bz2 or what the end result package will be for me to mount into rvm
<digitalextremist>
if it's the latter that'd be even better
<headius>
if you build with mvn -Pbootstrap you get a fully usable install dir
<headius>
i.e. the clone dir is just mountable directly in rvm I believe
<headius>
I used to dev that way
<digitalextremist>
downloading, checking out 1_7, building, mounting and trying
<digitalextremist>
hooray for stupid fast internet
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
colinsurprenant has quit [Quit: colinsurprenant]
<headius>
I gotta run...long day and I got a new game to try :-)
skade has quit [Read error: Connection reset by peer]
JRubyGithub has joined #jruby
<JRubyGithub>
[jruby] nirvdrum created truffle_encoding (+1 new commit): http://git.io/jJbw
<JRubyGithub>
jruby/truffle_encoding 7879048 Kevin Menard: [Truffle] Initial import of Rubinius's encoding system.
JRubyGithub has left #jruby [#jruby]
skade has joined #jruby
<headius>
nirvdrum: that will be interesting...rbx's encoding stuff is largely backed by the same C code as MRI
<headius>
in theory it should line up with stuff we've ported
<headius>
ok, ttfn
skade has quit [Read error: Connection reset by peer]
e_dub has joined #jruby
havenn has quit [Ping timeout: 264 seconds]
erikhatcher has joined #jruby
havenwood has joined #jruby
pedroandrade has joined #jruby
<nirvdrum>
headius: Yeah, this may be a failed experiment. I've had a couple false starts already. Ideally I'd reuse RubyConverter, but there's going to be a lot of work to make that happen. I'm hoping to do this as a stop-gap.
JRubyGithub has joined #jruby
<JRubyGithub>
[jruby] nirvdrum pushed 1 new commit to truffle_encoding: http://git.io/jJpl
<JRubyGithub>
jruby/truffle_encoding 15d32a0 Kevin Menard: [Truffle] Added the default internal encoding to the encoding map.
JRubyGithub has left #jruby [#jruby]
havenn has joined #jruby
havenwood has quit [Ping timeout: 264 seconds]
pedroandrade has quit []
havenwood has joined #jruby
havenwood has quit [Remote host closed the connection]
aemadrid has quit [Quit: Connection closed for inactivity]
havenn has quit [Ping timeout: 252 seconds]
triple_b has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
sluukkonen has quit [Ping timeout: 246 seconds]
sluukkonen has joined #jruby
e_dub has quit [Quit: e_dub]
djbkd has quit [Quit: My people need me...]
yfeldblum has quit [Remote host closed the connection]
yfeldblum has joined #jruby
Aethenelle has quit [Read error: Connection reset by peer]
triple_b has joined #jruby
shellac has quit [Quit: Computer has gone to sleep.]
shellac has joined #jruby
johnjoseph has quit [Quit: Connection closed for inactivity]
bbrowning has quit [Quit: Leaving]
shellac has quit [Quit: Computer has gone to sleep.]
marr has quit []
e_dub has joined #jruby
benlovell has joined #jruby
erikhatcher has quit [Quit: erikhatcher]
mje113__ has quit [Quit: Connection closed for inactivity]
triple_b has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
gavilan2 has joined #jruby
e_dub has quit [Quit: e_dub]
<gavilan2>
Is there any easy way of converting an arbitrary non circular object to json without using gems if possibly?
calavera has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
e_dub has joined #jruby
camlow325 has quit [Ping timeout: 256 seconds]
e_dub has quit [Client Quit]
pgokeeffe has joined #jruby
yfeldblum has quit [Remote host closed the connection]
calavera has joined #jruby
nirvdrum has quit [Ping timeout: 256 seconds]
phrinx has quit [Remote host closed the connection]
phrinx has joined #jruby
phrinx has quit [Ping timeout: 252 seconds]
yfeldblum has joined #jruby
gavilan2 has quit [Ping timeout: 246 seconds]
havenwood has joined #jruby
triple_b has joined #jruby
benlovell has quit [Ping timeout: 265 seconds]
<aewffwea>
What's the best way to raise an exception from a DynamicProxy (how do I avoid raise calling method_missing)?
e_dub has joined #jruby
calavera has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
calavera has joined #jruby
zorak8 has joined #jruby
e_dub has quit [Read error: Connection reset by peer]
zorak8 has quit [Read error: Connection reset by peer]
e_dub has joined #jruby
tenderlove has quit [Quit: Leaving...]
tcrawley-away is now known as tcrawley
eam_ has joined #jruby
eam has quit [Ping timeout: 246 seconds]
haze has quit [Ping timeout: 246 seconds]
tcrawley is now known as tcrawley-away
haze has joined #jruby
haze is now known as Guest10878
subbu has joined #jruby
triple_b has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
calavera has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
eam_ is now known as eam
SynrG has quit [Ping timeout: 244 seconds]
SynrG has joined #jruby
JRubyGithub has joined #jruby
<JRubyGithub>
[jruby] bjfish opened pull request #2755: [Truffle] Updating Array#insert to pass additional specs. (master...truffle_array_insert) http://git.io/jUih
JRubyGithub has left #jruby [#jruby]
phrinx has joined #jruby
phrinx_ has joined #jruby
phrinx has quit [Read error: Connection reset by peer]
phrinx has joined #jruby
phrinx_ has quit [Ping timeout: 252 seconds]
jords has joined #jruby
<jords>
How do I call a method which needs a List<Integer> argument? I keep getting errors like Java::JavaLang::ClassCastException: java.lang.Long cannot be cast to java.lang.Integer. I've tried using java.lang.Integer.valueOf but it always gets converted back into a Ruby FixNum, which gets converted to a Long when I pass it to Java.
<jords>
I guess that JRuby doesn't know that it's a List<Integer> due to type erasure, but I'm not sure what else I could do to pass the argument
<aewffwea>
jords: I think you can create a method and force it to return an Integer if you assign the java_signature
subbu has quit [Ping timeout: 255 seconds]
<jords>
How would I actually integrate that though? Create a java method which I call and which returns the List<Integer> which I pass to the method needing it?
bjfish2 has quit [Quit: bjfish2]
<aewffwea>
jords: check the java_signature method in ruby
<aewffwea>
actually, now that I think about it... if you do a java_method it should also work... You should be able to tell it the type
<jords>
sorry how would I use java_signature for this? Build a class using it and call .become_java! on it? The issue is then that when the return value comes back, Jruby will convert it to Fixnums again, and I still can't get it into the method correctly
<jords>
hmm, maybe if I could just get Jruby to not convert the result of Integer.valueOf(1) to a ruby object, that would fix it
x1337807x has joined #jruby
x1337807x has quit [Max SendQ exceeded]
<jords>
Actually, the class I'm calling has another way around using a String instead of List<Integer>, so I'll use that - thanks for the help :) It would be good to have an easy way of calling methods like that though, I'm surprised it's not a common requirement...
x1337807x has joined #jruby
calavera has joined #jruby
havenn has joined #jruby
havenwood has quit [Ping timeout: 248 seconds]
calavera has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
havenn has quit [Ping timeout: 265 seconds]
yfeldblum has quit [Remote host closed the connection]
yfeldblum has joined #jruby
jords has quit [Remote host closed the connection]
projectodd-ci has quit [Remote host closed the connection]
projectodd-ci has joined #jruby
x1337807_ has joined #jruby
x1337807x has quit [Ping timeout: 246 seconds]
donV has quit [Quit: donV]
gregc_ has quit [Quit: gregc_]
havenwood has joined #jruby
kares has joined #jruby
slyphon_ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
x1337807_ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
anaeem1_ has joined #jruby
raeoks has joined #jruby
dcheung has quit [Ping timeout: 272 seconds]
pitr-ch has joined #jruby
dcheung has joined #jruby
anaeem1__ has joined #jruby
anaeem1_ has quit [Ping timeout: 246 seconds]
anaeem1__ has quit [Remote host closed the connection]
anaeem1 has joined #jruby
yfeldblu_ has joined #jruby
yfeldbl__ has joined #jruby
yfeldblum has quit [Ping timeout: 256 seconds]
yfeldblu_ has quit [Ping timeout: 265 seconds]
rsim has joined #jruby
phrinx has quit [Remote host closed the connection]
phrinx has joined #jruby
dmitrykorotkov has joined #jruby
JRubyGithub has joined #jruby
<JRubyGithub>
[jruby] chrisseaton pushed 2 new commits to master: http://git.io/jTCg
slyphon has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
e_dub has joined #jruby
e_dub has quit [Quit: e_dub]
slyphon has joined #jruby
subbu has joined #jruby
colinsurprenant has joined #jruby
e_dub has joined #jruby
Aethenelle has quit [Quit: Aethenelle]
colinsurprenant has quit [Quit: colinsurprenant]
tcrawley is now known as tcrawley-away
slyphon has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
colinsurprenant has joined #jruby
beawesomeinstead has quit [Quit: Connection closed for inactivity]
Aethenelle has joined #jruby
christian__ has joined #jruby
benlovell has quit [Ping timeout: 252 seconds]
slyphon has joined #jruby
calavera has joined #jruby
mkristian_ has joined #jruby
christian__ has quit [Read error: Connection reset by peer]
benlovell has joined #jruby
mkristian_ has quit [Ping timeout: 245 seconds]
elia has quit [Quit: Computer has gone to sleep.]
subbu is now known as subbu|afk
anaeem1 has joined #jruby
triple_b has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
elia has joined #jruby
elia has quit [Client Quit]
mkristian_ has joined #jruby
elia has joined #jruby
camlow325 has joined #jruby
subbu|afk has quit [Ping timeout: 252 seconds]
JRubyGithub has joined #jruby
<JRubyGithub>
[jruby] chrisseaton pushed 5 new commits to master: http://git.io/jIpv
<JRubyGithub>
jruby/master 9318c35 Chris Seaton: [Truffle] Don't overwrite core methods or constants with Rubinius.
<JRubyGithub>
jruby/master a4585eb Chris Seaton: [Truffle] Remove dead methods that were being overwritten or not needed.
<JRubyGithub>
jruby/master e54c5c9 Chris Seaton: [Truffle] Use a flag for detecting when we are loading core - as we don't always have access to the true node.
triple_b has quit [Read error: Connection reset by peer]
triple_b has joined #jruby
x1337807x has joined #jruby
anaeem1 has quit [Ping timeout: 256 seconds]
djbkd has quit [Quit: My people need me...]
anaeem1_ has joined #jruby
e_dub has joined #jruby
baroquebobcat has quit [Quit: baroquebobcat]
baroquebobcat has joined #jruby
JRubyGithub has joined #jruby
<JRubyGithub>
[jruby] eregon pushed 2 new commits to master: http://git.io/jtcS
<JRubyGithub>
jruby/master 577ffbc Benoit Daloze: [Truffle] Remove a null check by moving some initialization code.
<JRubyGithub>
jruby/master d507e49 Benoit Daloze: [Truffle] Remove never taken null check.
JRubyGithub has left #jruby [#jruby]
<headius>
lopex: I was wrong about leftAdjustCharHead...they're doing the right thing
<lopex>
headius: havent be able to look at it yet
benlovell has joined #jruby
<headius>
the problem is that MRI's String#end_with? doesn't detect empty input string, and empty input string cause it to start adjusting from \0 offset
<lopex>
headius: and it's the code from the very beginning of port ?
<headius>
we didn't have that detection either, but in our case it's past the end
<headius>
no, new port
<headius>
these may be things you fixed in your original porting
<headius>
I have been updating the ones I can, but some have diverged too mcuh
<lopex>
all that code I see in jcodnigs is from 2008
<lopex>
oh, it's on the branch ?
<headius>
lopex: rindex in JRuby
<headius>
er sorry, end_with?
<headius>
s = e - tmpBL.realSize();
<headius>
if (enc.leftAdjustCharHead(value.unsafeBytes(), p, s, e) != s) {
<headius>
if the input string (tmpBL) is length zero, as in these tests, lefAdjustCharHead has s = 1 and starts searching from there
<headius>
(target string is one byte wide)
<headius>
in MRI it's fine because there's still a \0 there
<lopex>
yep
<lopex>
co a check will do
<lopex>
*so
<lopex>
headius: also there's been plethora of such things in jcodings/joni
kfpratt has joined #jruby
<lopex>
jeremyevans: have you seen any sequel usage with IBM lotus or teradata via jdbc ?
<nirvdrum>
headius: Did you see my comment on that new memcmp in ByteList?
<headius>
nirvdrum: oh yeah I was going to respond
<headius>
you're right
<headius>
I'm not sure it matters except for doco
<headius>
also easy to fix
<nirvdrum>
I don't know if there are any users outside of us.
<nirvdrum>
It just stuck out because of some recent work I had been doing with cmp2int.
slyphon has quit [Read error: Connection reset by peer]
slyphon has joined #jruby
<nirvdrum>
FYI, I'm down to 2F and 2E pulling in the Rubinius Encoding hierarchy. That's just against what we already had, so I haven't tried new functionality. It's pretty hacky, but it's only intended to be a stop-gap anyway.
<nirvdrum>
Keeping track of encoding indices is going to drive me mad.
<headius>
ok
<nirvdrum>
The hash entry index is different than the one the encoding reports.
<headius>
yeah I don't know why those indices are exposed
<nirvdrum>
But, once I get something stable, I'd like to take a pass over RubyConverter like with RubyString.
<headius>
sure, sounds good
<nirvdrum>
I don't think as much of it really needs to be as tightly couple to IRubyObject as it currently is.
<headius>
it is already mostly pulled out into ported utility methods
<headius>
what isn't shouldn't be hard
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<nirvdrum>
And it's especially pernicious because of a deep call graph and constantly checking the options hash.
<headius>
the memcmp thing brings up another long-neglected task...ByteList needs a cleanup
<nirvdrum>
Dropping the deprecated stuff from ByteList would be nice. It's minor, but it's clutter.
erikhatcher has quit [Quit: erikhatcher]
kfpratt has quit [Remote host closed the connection]
<JRubyGithub>
[jruby] bjfish opened pull request #2758: [Truffle] Implementing more of Array#{uniq,uniq!} (master...truffle_array_uniq) http://git.io/jqqP
JRubyGithub has left #jruby [#jruby]
JohnBat26 has quit [Client Quit]
e_dub has quit [Quit: e_dub]
e_dub has joined #jruby
erikhatcher has joined #jruby
e_dub has quit [Client Quit]
yfeldblum has joined #jruby
e_dub has joined #jruby
e_dub has quit [Client Quit]
calavera has quit [Ping timeout: 272 seconds]
x1337807x has joined #jruby
pitr-ch has quit [Quit: Leaving]
calavera has joined #jruby
calavera has quit [Read error: No route to host]
calavera has joined #jruby
<jeremyevans>
lopex: I think I've heard of people using Sequel with teradata through jdbc, but nothing about IBM lotus
triple_b has quit [Ping timeout: 246 seconds]
lucasallan has joined #jruby
<lopex>
jeremyevans: you have an opinion on using ResultSet absolute/relative as a last resort for Dataset#limit
<lopex>
?
<lopex>
like if there's not even window functions being supported
e_dub has joined #jruby
erikhatcher has quit [Quit: erikhatcher]
viking has quit [Remote host closed the connection]
colinsurprenant has joined #jruby
lucasallan has quit [Remote host closed the connection]
donV has quit [Quit: donV]
mitchellhenke has quit [Quit: Computer has gone to sleep.]
erikhatcher has joined #jruby
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
slyphon has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
JRubyGithub has joined #jruby
<JRubyGithub>
[jruby] jmettraux opened issue #2759: "warning: Unrecognized time zone: x" emitted to stderr http://git.io/jqPT
JRubyGithub has left #jruby [#jruby]
subbu has quit [Ping timeout: 250 seconds]
colinsurprenant has quit [Quit: colinsurprenant]
lucasallan has joined #jruby
JRubyGithub has joined #jruby
JRubyGithub has left #jruby [#jruby]
<JRubyGithub>
[jruby] nguyent opened issue #2760: Ruby ENV variables differing from Java ENV variables (Rails) http://git.io/jq1F
cultureulterior1 has quit [Quit: cultureulterior1]
subbu has joined #jruby
bbrowning is now known as bbrowning_away
kares has quit [Ping timeout: 246 seconds]
lucasallan has quit [Remote host closed the connection]
camlow325 has quit [Remote host closed the connection]
camlow325 has joined #jruby
nirvdrum has quit [Ping timeout: 252 seconds]
subbu has quit [Ping timeout: 244 seconds]
elia has joined #jruby
subbu has joined #jruby
colinsurprenant has quit [Quit: colinsurprenant]
SynrG has joined #jruby
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<jeremyevans>
lopex: If the database doesn't support limit/offset at all, I suppose that approach makes sense. You might have to do some hacking to the jdbc subadapter to support that, though.
yfeldblum has quit [Remote host closed the connection]