_elia has joined #opal
_elia has quit [Remote host closed the connection]
_elia has joined #opal
_elia has quit [Client Quit]
elia has quit [Quit: (IRC Client: textualapp.com)]
elia has joined #opal
elia has quit [Client Quit]
elia has joined #opal
GitHub14 has joined #opal
<GitHub14> opal/master 4dd39e8 Elia Schito: One day_spec from rubyspec
GitHub14 has left #opal [#opal]
<GitHub14> [opal] elia pushed 1 new commit to master: http://git.io/33KqWA
travis-ci has joined #opal
<travis-ci> [travis-ci] opal/opal#1047 (master - 4dd39e8 : Elia Schito): The build passed.
travis-ci has left #opal [#opal]
<travis-ci> [travis-ci] Build details : http://travis-ci.org/opal/opal/builds/12032926
e_dub has quit [Ping timeout: 240 seconds]
fkchang`` has joined #opal
GitHub168 has joined #opal
<GitHub168> [opal] elia pushed 1 new commit to master: http://git.io/W4Dz2Q
<GitHub168> opal/master eb543eb Elia Schito: Add <week-day> specs from rubyspec
GitHub168 has left #opal [#opal]
travis-ci has joined #opal
travis-ci has left #opal [#opal]
<travis-ci> [travis-ci] Build details : http://travis-ci.org/opal/opal/builds/12033084
<travis-ci> [travis-ci] opal/opal#1048 (master - eb543eb : Elia Schito): The build passed.
e_dub has joined #opal
elia has quit [Quit: Computer has gone to sleep.]
fkchang`` has quit [Ping timeout: 245 seconds]
fkchang`` has joined #opal
fkchang`` has quit [Ping timeout: 256 seconds]
e_dub has quit [Ping timeout: 245 seconds]
e_dub has joined #opal
brixen has quit [Ping timeout: 240 seconds]
brixen has joined #opal
elia has joined #opal
adambeynon has joined #opal
<elia> adambeynon: was trying to fix this https://github.com/opal/opal/issues/388
<elia> adambeynon: seems related to method donation
<adambeynon> elia: yep. Inside #attr_reader and friends, we need to call $opal.donate(self, ['$method_name'])
<adambeynon> I think
<adambeynon> probably, we also should be doing that inside Module#define_method() as well
<elia> adambeynon: right, that's an important one I think
<adambeynon> elia: we do need a cleanup of the way we handle the methods. instance_methods() and methods() are not very clean, and are not very accurate either
<elia> adambeynon: probably some "internal api" helper functions could help
<adambeynon> to work with method_added as well..
e_dub has quit [Ping timeout: 252 seconds]
e_dub has joined #opal
e_dub has quit [Ping timeout: 248 seconds]
kludge` has quit [Ping timeout: 246 seconds]
kludge` has joined #opal
e_dub has joined #opal
<elia> adambeynon: any reason for commenting the indirect checks in Opal.donate?
denysonique has quit [Ping timeout: 260 seconds]
davidboy has quit [Ping timeout: 264 seconds]
lectrick has quit [Ping timeout: 245 seconds]
<adambeynon> elia: I cant remember to be honest
<adambeynon> elia: it has been commented out for a very long time though...
<elia> adambeynon: will dig deeper :)
DouweM has joined #opal
<adambeynon> elia: it seems it was commented out to stop Kernel methods appearing as bridged class methods
<adambeynon> e.g. Array.instance_methods.include?('puts') => true
<adambeynon> meh`: pragmas in ruby: http://bugs.ruby-lang.org/issues/8976
<adambeynon> ughh
DouweM has quit [Ping timeout: 245 seconds]
elia has quit [Read error: Connection reset by peer]
elia has joined #opal
<meh`> elia, how is it now to disable source maps in Opal::Server?
davidboy has joined #opal
<elia> meh`: abides to Opal::Processor.source_map_enabled
<elia> meh`: ping me if it doesn't
<meh`> elia, http://sprunge.us/jbTQ like this?
<elia> Opal::Processor.source_map_enabled = false
<meh`> ah, so a global config
<meh`> yep, works fine
<meh`> although it still loads the maps
lectrick has joined #opal
denysonique has joined #opal
<elia> meh`: will look into it, but not immediately
<meh`> elia, yeah, no worries
<meh`> it's not a priority
<meh`> elia, adambeynon, what do you think of this change? https://github.com/opal/opal-browser/commit/27afbbd2dac2fc29530a61a578e35b4396d769ed
<elia> meh`: think I like it
<elia> cherry-picking is a good thing in this context (a browser)
<elia> *I (think)
<meh`> yeah
<elia> meh`: that's also what mruby does on a larger scale, and that I like too for opal
<adambeynon> yeah, I like that :+1:
<adambeynon> hmm, irc needs emoji
<meh`> lol
<elia> adambeynon:
<elia> meh`: adambeynon: on that track, last night I was wondering what is the bare minimum to run opal + native (e.g. runtime.js+class+module+kernel…)
fkchang has joined #opal
<meh`> http://sprunge.us/ZUWR?rb I hate frontend development :(
<adambeynon> elia: something like mruby could be an idea
<elia> adambeynon: yeah
fkchang has quit [Remote host closed the connection]
<elia> meh`: tooltip code:
<elia> isnt this replicated?
<elia> 126 border width: [0, 5.px, 5.px],
<elia> 127 color: { bottom: '#000' }
<meh`> elia, yes, I could group it in the 3 .bottom* and .top*
<elia> meh`: I'd push css to the bottom
<elia> it's just noise
<meh`> good idea
<adambeynon> meh`, elia : has ruby been used before as a dsl for css? (I was thinking as perhaps an alternative to scss/sass in rails apps
<meh`> adambeynon, not that I know of
<elia> confirm
<meh`> it should be straightforward to extract in its own library
<elia> so the css builder will be the first library ported from opal to mri!
<elia> meh`: btw what would be a killer feature is the ability to add helpers like sass mixins, and make style totally unobtrusive to css
<e_dub> i know i tried out a coffee-stylus dsl once that was pretty nifty. haven't seen a ruby-css one though.
<meh`> elia, yeah
<meh`> I'll work on that soon enough
<meh`> the mixin stuff
<meh`> it should be extremely easy
fkchang has joined #opal
<fkchang> adambeynon: meh` u guys look at webcomponents at all?
<meh`> what is it?
<fkchang> Like the name suggests it's reusable/extendable components for the web, STD: http://www.w3.org/TR/2013/WD-components-intro-20130606/ -- Google is thinking this is the way http://techcrunch.com/2013/05/19/google-believes-web-components-are-the-future-of-web-development/
<fkchang> I was describing the direction I see stuff like Lissio and other stuff you could do in opal, to a co worker and he said that it was basically the same idea as webcomponent
<meh`> fkchang, yeah, it's the same
<meh`> and I agree it's the way to go
<meh`> which is why I'm going that way to begin with :)
<fkchang> SO w/o doing a lot of research on webcomponents, I figure we could either lift ideas from it, or maybe compile down to to webcomponents as an option
<fkchang> Mozilla has gotten on board w/this. Dart will apparently have support and tooling for webcomponents and Polymer
<meh`> fkchang, the most important thing about webcomponents is the shadow dom
<meh`> which I will implement in opal-browser sooner or later
<meh`> opal-browser already goes the polyfill way really
<fkchang> cool, I'll have to read up and study up, but if nothing else we can look at something with the same idea and a fair amount of resources as an example
<e_dub> what is Lissio?
<meh`> e_dub, somewhat like vienna
<meh`> it's a framework
<e_dub> oh cool
<e_dub> built on opal-browser instead of opal-jquery though i assume?
<meh`> e_dub, http://sprunge.us/RTRO?rb that's a "view"
<meh`> e_dub, yes :)
<e_dub> oh dope, so this si the css dsl you guys were talking about earlier
<e_dub> very neat
<meh`> e_dub, yeah, it's inside opal-browser
<meh`> that css block is basically CSS { }
<meh`> which comes with opal-browser
<meh`> it just does some internal stuff to store the style for dynamic changes in runtime
<meh`> e_dub, lissio is simply a thin wrapper around opal-browser
<e_dub> awesome. back when i was involved in Towerjs (before he totally changed it) my interest was in the one-lang-to-rule-them-all thing, so we had coffeescript on server/client, coffeecup templates, and looking into coffeestylus for style. so, very happy to see this approach taking form in ruby
<meh`> e_dub, I was going with mustache inspired templates, but I might come up with a templating thing in Ruby instead
<meh`> which does sound better
<e_dub> oh, it looked like your view had ruby templating already?
<e_dub> nvm
<e_dub> that's eventing
<meh`> e_dub, it has the html block
<e_dub> i just saw the "html do"
<meh`> which is a DOM {} wrapping
<meh`> but it's not template ready
<meh`> but I will wrap it up into a templating thing
<e_dub> cool
<meh`> e_dub, it's a bit trickier because you need lazyness and partial updates
<meh`> or it's useless
fkchang` has joined #opal
fkchang has quit [Read error: Connection reset by peer]
fkchang`` has joined #opal
fkchang` has quit [Read error: Connection reset by peer]
adambeyn_ has joined #opal
<elia> adambeynon: meh`: you saw the new github release api? could be very useful
<meh`> elia, yeah
adambeyn_ has quit [Quit: Textual IRC Client: www.textualapp.com]
meh` has quit [Ping timeout: 245 seconds]
meh`_ has joined #opal
fkchang`` has quit [Ping timeout: 252 seconds]
meh`_ has quit [Quit: I don't want to live on this planet anymore.]