antonishen has quit [Read error: Connection reset by peer]
<mieko>
elia: I am now, a day later.
<elia>
lol :)
antonishen has joined #opal
<elia>
awesome work btw
<mieko>
Ah, thanks. Just PR'ing as I run into things.
GitHub121 has joined #opal
<GitHub121>
[opal] elia force-pushed real-requires from 942e90f to 4491ed4: http://git.io/Q_pLJg
<GitHub121>
opal/real-requires 437b564 Elia Schito, Federico Ravasio & Gianluca Randazzo: Added "requirable" to compiler options to mark files for future requires
GitHub121 has left #opal [#opal]
<GitHub121>
opal/real-requires 0160bba Elia Schito, Federico Ravasio & Gianluca Randazzo: Changed expect_compiled to be just a wrapper around Opal::Compiler
<GitHub121>
opal/real-requires c182fa1 Elia Schito, Federico Ravasio & Gianluca Randazzo: Compiles require into Javascript as a no-op
<elia>
this one should pass, unless timezones/dst…
<mieko>
elia: The "terrible 9" Time fails?
<elia>
yep, actually they're my fault
<mieko>
If so, I slipped those into filters on the rspec update, they've never passed for me.
travis-ci has joined #opal
<travis-ci>
[travis-ci] opal/opal#1791 (real-requires - 4491ed4 : Elia Schito): The build was fixed.
<elia>
bright side is that now that dst changed I'm getting just a couple of them
<elia>
\o/
<elia>
mieko, I still see a couple of failures locally
brixen has quit [*.net *.split]
dimaursu16 has quit [*.net *.split]
adambeynon has quit [*.net *.split]
dimaursu16 has joined #opal
<mieko>
Ah, the only ones I moved were whatever failed after the rubyspec update in spec/filters/uncategorized/time
<mieko>
I should say "Failed for me, at GMT-500 with DST"
brixen has joined #opal
adambeynon has joined #opal
<elia>
lol yes
<elia>
in my case:
<elia>
1. Time.gm accepts various year ranges: Expected 5 to equal 4
<elia>
2. Time.utc accepts various year ranges: Expected 5 to equal 4
<elia>
GMT+1 DST
e_dub has joined #opal
dimaursu16 has quit [Ping timeout: 240 seconds]
<mieko>
I've probably lost a year of my life dealing with TZ issues in Javascript. I wonder how complete Time and friends can be without duplicating or leaning on something like moment.js
e_dub has quit [Read error: Connection reset by peer]
e_dub has joined #opal
kludge` has quit [*.net *.split]
kludge` has joined #opal
automationaddict has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
elia has quit [Quit: Computer has gone to sleep.]
dimaursu16 has joined #opal
elia has joined #opal
meh` has joined #opal
dimaursu16 has quit [Ping timeout: 246 seconds]
antonishen has quit [Read error: Connection reset by peer]
<elia>
mieko, I think we should aim at a minimal subset of Ruby's Time/Date api and then give ppl the choice to bring in a properly wrapped 3rd party lib (like moment.js)
<elia>
cc adambeynon meh`
antonishen has joined #opal
<adambeynon>
trying to fix the date/time stuff was soul destroying
<adambeynon>
btw, ircloud is awesome, it inlines twitter links so I didnt even have to leave this page to see that ^_^
<adambeynon>
irccloud*
<elia>
adambeynon, :) (even if I don't like the fact that you appear online even if you're not, but maybe irc is to blame here)
boberetezeke has joined #opal
boberetezeke1 has joined #opal
boberetezeke has quit [Ping timeout: 264 seconds]
<mieko>
elia: Yeah, I can see something like opal-datetime that brings in moment.js and extends the stdlib classes getting 95% of the way there.
<elia>
mieko, if moment.js could be stripped of the language stuff and leave it as opt-in would be even better imo
<elia>
and I'd target corelib to the 80% use case (e.g. Time.now and utc)
<mieko>
I mean opal-datetime as a separate package that extends on the 80% use case that's in Opal.
<elia>
adambeynon, I reworked milestones, moving all the 0.6 stuff that weren't closed to 0.7, along with real requires
<mieko>
Similarly to how Ruby's stdlib Time extends its core Time.
<elia>
lol random percents btw :D
<mieko>
Haha, they 80 and 95 feel about right.
<elia>
we could look into what's the bare minimum that's implemented inside mruby and keep the same level for corelib, the rest could be off-loaded to an optional lib
boberetezeke1 has quit [Ping timeout: 264 seconds]
[o__o] has joined #opal
boberetezeke has joined #opal
<elia>
mieko, no luck, in mruby there's no time unless you bring in the mrb gem
<GitHub182>
[opal-jquery] moger777 opened pull request #40: Make height/width not return null, be set with = methods instead of jquery calls. (master...fix_height_width) http://git.io/BpAmjw