fkchang has quit [Read error: Operation timed out]
<ryanstout>
is .hash implemented in opal?
boberetezeke has joined #opal
boberetezeke has quit [Ping timeout: 240 seconds]
<adambeynon>
mieko: hi. yeah, Exception subclasses dont get called properly, just like Numeric
<adambeynon>
I need to work on fixing it
<adambeynon>
it is feasible though - just need to find the time to fix it
<adambeynon>
ryanstout: Hash doesnt use it (currently)
<ryanstout>
ok
<ryanstout>
thanks
<mieko>
adambeynon: Thanks. Playing with it, it wasn't obvious to me what made Exception special where the .new or #initialize strategies of other bridged classes aren't effective.
<adambeynon>
mieko: the reason Exception is so hacky for #new is that subclassing Error.prototype in javascript doesnt automatically allow you to get stacktraces on these subclasses instances
<adambeynon>
different browsers need different tricks to get stacktracing to work properly
<mieko>
Ah, got ya.
<adambeynon>
chrome is actually the most strange
<ryanstout>
adambeynon: if you need help on getting stacktraces, I built exceptionhub.com a while ago, so I know the depths of how to get stacktraces in browsers. :-)
<adambeynon>
it needs every Error instance to have this inside a constructor: Error.captureStackTrace(this, MyError);
<adambeynon>
ryanstout: I will definitely ping you in the next few weeks then ;)
<ryanstout>
adambeynon: sounds good :-)
elia has joined #opal
<mieko>
ryanstout: Re: exceptionhub.com; cool idea there.
<ryanstout>
mieko: thanks. Its somewhat out of date now. It let you drop in a line of JS and track back client side exceptions+stack traces to the app (and it worked in all browsers, before onerror was in webkit :-)
<mieko>
The shit I had to go through to track JS exceptions Android 2.3 browser would've made that awesome to know about.
<ryanstout>
yea, I think it works on Androd 2.3, but its been a while, so I’m not 100% sure
<mieko>
The devices I had my hands on when the reports came in didn't have a developer mode where I could get a console. Ended up having to setup the Android SDK to see a JS exception trace.
e_dub has quit [Read error: Connection reset by peer]