deobalds has quit [Quit: Computer has gone to sleep.]
drbobbeaty has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
deobalds has joined #jruby
shellac has joined #jruby
deobalds has quit [Quit: Computer has gone to sleep.]
jrafanie has joined #jruby
claudiuinberlin has joined #jruby
drbobbeaty has joined #jruby
<GitHub107>
[jruby] ahorek opened issue #5252: can't use Date.iso8601 with a string subclass https://git.io/fNOT1
rdubya has joined #jruby
rdubya has quit [Client Quit]
shellac has quit [Quit: Computer has gone to sleep.]
jrafanie has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
claudiuinberlin has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
sgeorge has joined #jruby
rdubya has joined #jruby
shellac has joined #jruby
claudiuinberlin has joined #jruby
TheBino has joined #jruby
<TheBino>
Hey guys
<TheBino>
did anyone stumbled across this error ever using the jdbc-adapter? Bundler::GemRequireError: There was an error while trying to load the gem 'activerecord-jdbcmssql-adapter'. Gem Load Error is: undefined method `type_cast_from_database' for class `ArJdbc::MSSQL::UUIDType' Backtrace for gem load error is:
slyphon has joined #jruby
<GitHub99>
[jruby] kares created string-encode (+10 new commits): https://git.io/fNO88
sgeorge has quit [Remote host closed the connection]
sgeorge has joined #jruby
sgeorge has quit [Ping timeout: 268 seconds]
enebo has left #jruby [#jruby]
enebo has joined #jruby
shellac_ has joined #jruby
shellac has quit [Ping timeout: 244 seconds]
sgeorge has joined #jruby
shellac_ has quit [Quit: Computer has gone to sleep.]
Eiam has joined #jruby
<GitHub7>
[jruby.github.io] enebo pushed 1 new commit to master: https://git.io/fNOhW
<GitHub7>
jruby.github.io/master 9c77019 Thomas E. Enebo: Remove MARKETO? and add engine yard thanks link at bottom of home page for hosting our S3 images
<GitHub162>
[jruby.github.io] enebo pushed 1 new commit to master: https://git.io/fNOh1
<GitHub162>
jruby.github.io/master 720227e Thomas E. Enebo: Center EY info to make it look a little nicer
<GitHub1>
[jruby.github.io] enebo pushed 1 new commit to master: https://git.io/fNOhF
<GitHub1>
jruby.github.io/master 344f8e4 Thomas E. Enebo: Center EY info to make it look a little nicer
claudiuinberlin has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
claudiuinberlin has joined #jruby
<ChrisBr>
enebo: headius: test/mri/ruby/test_hash.rb succeeds now and all missing todos are implemented. There is only one todo I'm not sure how to fix, otherwise it would be ready to go from my side
<ChrisBr>
I'm also not up to date regarding the rest of the test suite, so if some other tests outside of test_hash.rb fail please let me know
<enebo>
ChrisBr: I believe travis should run your branch
<ChrisBr>
enebo: yo, but is master currently green? So should everything succeed?
<enebo>
I have been working on oj lately :|
<enebo>
to your question about TODO
<enebo>
that constructor seems to be for Java proxy objects and it is an empty array
<enebo>
I see no other callers
<enebo>
so I am not sure if that helps you or not
<ChrisBr>
hmm
<ChrisBr>
so it will always be an empty array?
<ChrisBr>
why is it even there as a parameter then?
<enebo>
ChrisBr: within core for sure
<enebo>
ChrisBr: I don't know if we realyl can expect a java native extension to be calling that
<enebo>
ChrisBr: perhaps headius or kares will know more
<ChrisBr>
ok
<enebo>
ChrisBr: and also I see a single error in test:mri on travis involving a lambda arity error
<enebo>
ChrisBr: So your branch is up to date should show that single failure
<headius>
hey hey
<headius>
master should be green but there's some unstable tests
<ChrisBr>
my issue with the todo is that if we leave the signature, it is impossible to transform it to a valid hash as I don't have a head and don't know what is the first element in the hash
<headius>
is that constructor called?
<headius>
it's protected so we could ditch it any time really
<ChrisBr>
(I believe it was already before 'invalid')
<ChrisBr>
because just assigning the table without head would result in an invalid hash, that was the case before
<ChrisBr>
according to enebo it is only called with an empty array in Java proxy objects
<headius>
oh I see
<headius>
I'll look too
<enebo>
MapJavaProxy.RubyHashMap
<headius>
ah yeah
<headius>
so that proxy class extends RubyHash to wrap all Map instances from JDK
<headius>
almost all methods should be overridden to hit the wrapped map
<headius>
the only place it's used initializes it to new IRubyObject[0]
<headius>
so basically it's just trying to initialize a totally empty shell of RubyHash
<ChrisBr>
so if we replace it in RubyHashMap we can drop it?
<headius>
yeah I think so
<headius>
RubyHashMap should not need the impl of RubyHash to work right, I believe
<headius>
it probably should not be implemented this way
<headius>
I think it was just the smallest amount of plumbing possible to make it duck-type as a Hash better
<nirvdrum>
headius: I just got "Optimizing Java" and started reading the foreword. I got to the part about working at the University of Minnesota and said to myself: "I wonder if this person knows Charlie or Tom. It sounds a lot like the sort of thing they told me they were doing then."
<headius>
hah nice
<headius>
I didn't know it was out
<nirvdrum>
I saw Chris tweet about it and decided to get a copy. I think it came out in May.
<nirvdrum>
They didn't give you a promotional copy?
jrafanie has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<headius>
I might have missed an email for address