meh` changed the topic of #opal to: http://opalrb.org - Ruby runtime and library on top of Javascript | 1.0.0 is near | This channel is logged at https://botbot.me/freenode/opal/
elia has quit [Quit: Computer has gone to sleep.]
meh` has quit [Quit: I don't want to live on this planet anymore.]
boberetezeke has joined #opal
boberetezeke has quit [Ping timeout: 252 seconds]
elia has joined #opal
GitHub11 has joined #opal
<GitHub11> [opal-browser] elia created usage-in-readme (+1 new commit): http://git.io/NSnU
GitHub11 has left #opal [#opal]
<GitHub11> opal-browser/usage-in-readme 9b5b8b7 Elia Schito: Add a usage section in the readme...
GitHub12 has joined #opal
<GitHub12> [opal-browser] elia opened pull request #31: Add a usage section in the readme (master...usage-in-readme) http://git.io/NSnI
GitHub12 has left #opal [#opal]
<adambeynon> elia: hi, sorry, was sleeping ;)
<elia> adambeynon, no prob, that's a good thing :P
<elia> adambeynon, was thinking about enabling inlined math ops by default, just to shut up ppl using that argument
<elia> adambeynon, i don't recall them being that bad in source code but I could be wrong
<adambeynon> elia: I agree, and wanted to do that. meh` had an issue with it though
<adambeynon> as he was overwriting Numeric#%
<adambeynon> I think
<elia> bit ashamed for ignorance on the subject, doesn't inlined ops support overridden methods?
<elia> (adambeynon)
<adambeynon> elia: it does, which is why i didnt understand meh`s argument - it checks both LHS and RHS are numeric, and if so optimizes it
<adambeynon> basically:
<adambeynon> typeof(lhs) == “number” && typeof(rhs) == “number” ? lhs + rhs : lhs[‘$+’](rhs)
<adambeynon> which, for numbers, was about 96% as fast as a pure inline math op
<elia> ok, I see, maybe he's overriding it on Numeric…
<adambeynon> elia: I will try and find it in his code
<elia> :+1:
<adambeynon> elia:
<elia> adambeynon, one more thing, you have some readymade app for android/webview + opal?
<adambeynon> looks like it would still work: he checks for a rhs, so it should be fine
<adambeynon> elia: I have moved to the new WKWebView
<adambeynon> iOS8/Yesomite
<adambeynon> which is much nicer than the old webview stuff
<adambeynon> elia: demo app?
<elia> adambeynon, was looking for an andriod example/real app , to quickly put together a breastfeeding tracker for my wife ^ - ^
<adambeynon> elia: ahhh right. never done any android dev stuff as it happens. (luckily ;) )
<adambeynon> elia: I used to use cordova on these apps
<adambeynon> but that was a slightly painfull experience
<elia> adambeynon, if you want to share anything iOS I'd like to see / try out anyway
<elia> :)
<adambeynon> elia: sure thing. its nothing too exciting though - about 8 lines of swift code
<adambeynon> not the best swift code though - still getting my head around that
<adambeynon> elia: what are your thoughts on keyword args for libraries - I have rewritten a lot of vienna to use them. think its ok to take the plunge with them?
travis-ci has joined #opal
<travis-ci> opal/opal-browser#211 (usage-in-readme - 9b5b8b7 : Elia Schito): The build has errored.
travis-ci has left #opal [#opal]
<elia> adambeynon, sorry, was in a meeting (kinda), kwargs: superfan of 'em, especially required kwargs are a bless
elia has quit [Quit: (IRC Client: textualapp.com)]
elia has joined #opal
f-3r has joined #opal
boberetezeke has joined #opal
boberetezeke has quit [Ping timeout: 246 seconds]
boberetezeke has joined #opal
e_dub has quit [Quit: e_dub]
meh` has joined #opal
f-3r has quit [*.net *.split]
DrShoggoth has quit [*.net *.split]
marioooo has quit [*.net *.split]
f-3r has joined #opal
DrShoggoth has joined #opal
marioooo has joined #opal
elia has quit [Quit: Computer has gone to sleep.]
e_dub has joined #opal
DrShoggoth has quit [Quit: Leaving]
boberetezeke has quit [Ping timeout: 244 seconds]
boberetezeke has joined #opal
elia has joined #opal
boberetezeke has quit [Ping timeout: 265 seconds]
boberetezeke has joined #opal
boberetezeke has quit [Ping timeout: 265 seconds]
andreanastacio has joined #opal
andreanastacio has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
boberetezeke has joined #opal
TheNet has joined #opal