vwoo has joined #opal
vwoo has quit [Client Quit]
vwoo has joined #opal
elia has quit [Ping timeout: 246 seconds]
vwoo has quit [Quit: Computer has gone to sleep.]
vwoo has joined #opal
vwoo has quit [Quit: Computer has gone to sleep.]
vwoo has joined #opal
fkchang has quit [Ping timeout: 256 seconds]
vwoo has quit [Quit: Computer has gone to sleep.]
vwoo has joined #opal
vwoo has quit [Quit: Computer has gone to sleep.]
e_dub has joined #opal
vwoo has joined #opal
vwoo has quit [Client Quit]
ylluminate has quit [Quit: Bye!]
e_dub has quit [Ping timeout: 276 seconds]
e_dub has joined #opal
GitHub54 has joined #opal
<GitHub54> [opal] meh pushed 1 new commit to master: http://git.io/Ca4dNw
<GitHub54> opal/master 35c24df meh: Fix Proc#arity for normal argument numbers
GitHub54 has left #opal [#opal]
travis-ci has joined #opal
travis-ci has left #opal [#opal]
<travis-ci> [travis-ci] opal/opal#877 (master - 35c24df : meh): The build passed.
<travis-ci> [travis-ci] Build details : http://travis-ci.org/opal/opal/builds/10302557
e_dub has quit [Ping timeout: 256 seconds]
meh` has quit [Ping timeout: 248 seconds]
e_dub has joined #opal
Perry has joined #opal
Perry is now known as perry
kludge` has quit [Ping timeout: 264 seconds]
kludge` has joined #opal
chap has joined #opal
chap has quit [Ping timeout: 240 seconds]
e_dub has quit [Ping timeout: 245 seconds]
chap has joined #opal
elia has joined #opal
elia has quit [Ping timeout: 260 seconds]
elia has joined #opal
chap_ has joined #opal
chap_ has quit [Quit: UNIX is basically a simple operating system, but you have to be a genius to understand the simplicity. - Dennis Ritchie]
elia has quit [Ping timeout: 246 seconds]
chap_ has joined #opal
chap has quit [Remote host closed the connection]
chap_ has quit [Remote host closed the connection]
chap has joined #opal
chap has quit [Quit: UNIX is basically a simple operating system, but you have to be a genius to understand the simplicity. - Dennis Ritchie]
elia has joined #opal
elia has quit [Ping timeout: 256 seconds]
ylluminate has joined #opal
meh` has joined #opal
ylluminate has quit [Quit: Bye!]
ylluminate has joined #opal
<ylluminate> any reason that this error pops up when running straight `opal` wit no args via the shell? https://gist.github.com/ylluminate/a7e5a640eb93b213015a
<meh`> ylluminate, yes, it's expecting a path
<meh`> the error sucks, but it's what it does
<meh`> we don't have a repl yet
<meh`> you can opal -e 'stuff' tho
<ylluminate> alright, that explains that then thanks
<ylluminate> i posted earlier to the group; has any thought been given to making a shell based interpreter that will exec the resultant js with v8?
<ylluminate> i was thinking that if we could start exec'ing rb code via opal at the shell it might lead to a lot more opportunity to explore and add to it, etc.
<ylluminate> so then when i run `opal fib.rb` (a quick contrived fibonacci ruby script), I'm getting the following error: https://gist.github.com/ylluminate/1d9be573dadcad05cc91
<meh`> ylluminate, we had an irb once
<meh`> it got lost in the way
<meh`> fkchang is working on it again
<meh`> also dunno, elia is the one who worked on the opal bin
<meh`> all of us just use it in production
<meh`> so we just bundle exec rake and have the built stuff
ylluminate has quit [Quit: Bye!]
ylluminate has joined #opal
ylluminate has quit [Client Quit]
ylluminate has joined #opal
vwoo has joined #opal
pmros has joined #opal
<pmros> hi
<pmros> one question about native
<pmros> the following fails: puts Native(Native(`window`).document.getElementsByClassName("foo")).length
<pmros> sorry
<pmros> that line of code works
<pmros> but this fails: puts Native(`window`).document.getElementsByClassName("foo").length
<pmros> I think opal should wrap result of native methods
<pmros> what do you think about?
<pmros> meh`?
<meh`> pmros, it does wrap
<meh`> what's the error?
<pmros> mmm it fails at website "try opal"
<meh`> pmros, I think try opal is old
<pmros> mmmmm ok, I'll try later
<pmros> thanks, meh
<meh`> Opal.Native.$new(document).$__send__("getElementsByClassName", "lol").length
<meh`> 0
<meh`> arrays don't need to be wrapped
<meh`> so it's probably just try opal which is using old stuff
<pmros> anyway, it would be nice you update try opal
<pmros> :)
<meh`> I'm not the one managing it, so I can't do much
<meh`> you should ask adam
<pmros> ok, I'll write a github issue
<pmros> one more thing, what about a chrome or firefox extension?
<pmros> like coffescript addons
<meh`> it would be nice to have, but seeing the long standing bugs we have they're nowhere near top priority
<meh`> and I'm personally focusing on opal-browser
<pmros> I understand
<pmros> "1.0.0 is near (really)", this make me happy
<pmros> :)
<meh`> I hope it isn't near like 0.4 was near 1 year ago
<meh`> but if adam gets going and fixes the bugs we have now it will be almost good enough for 1.0 imho
<pmros> good job
<pmros> it's a pity web browser are so "javascript centric"
<pmros> I mean web browser only undersant javascript
<pmros> *understand*
<meh`> meh, it took years to get to this level of cross-compatibility with just one language
<meh`> if they supported more it would be hell
<pmros> mmmmm
<pmros> but it would be better something like a vm
<meh`> a VM can't fit all kinds of languages
<meh`> it would be pretty pointless all the same
<pmros> maybe
<pmros> I'm thinking about java vm
<meh`> and it's no problem to have js as compilation target
<meh`> the JVM isn't appropriate for certain kind of languages
<meh`> for instance, functional programming languages
<pmros> closures
<meh`> Scala and Clojure have to come down to tricks to fit the JVM's object model
<pmros> I'm a newbie, thanks for your comments
<meh`> no worries :)
<pmros> very interesting
<pmros> see you, meh
pmros has quit [Quit: Konversation terminated!]
vwoo has quit [Quit: Computer has gone to sleep.]