vwoo has quit [Quit: Computer has gone to sleep.]
vwoo has joined #opal
vwoo has quit [Client Quit]
vwoo has joined #opal
vwoo has quit [Client Quit]
vwoo has joined #opal
vwoo has quit [Read error: Connection reset by peer]
vwoo has joined #opal
vwoo has quit [Quit: Computer has gone to sleep.]
vwoo has joined #opal
vwoo has quit [Ping timeout: 268 seconds]
vwoo has joined #opal
vwoo has quit [Ping timeout: 264 seconds]
vwoo has joined #opal
vwoo has quit [Ping timeout: 240 seconds]
vwoo has joined #opal
kludge` has quit [Ping timeout: 264 seconds]
kludge` has joined #opal
vwoo has quit [Quit: Computer has gone to sleep.]
vwoo has joined #opal
vwoo has quit [Client Quit]
vwoo has joined #opal
vwoo has quit [Quit: Computer has gone to sleep.]
vwoo has joined #opal
vwoo has joined #opal
vwoo has quit [Quit: Computer has gone to sleep.]
dominictarr has joined #opal
dominictarr has quit [Quit: dominictarr]
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]
chap has joined #opal
dominictarr has joined #opal
dominictarr has quit [Quit: dominictarr]
adambeynon has joined #opal
dominictarr has joined #opal
elia has joined #opal
kludge` has quit [Ping timeout: 248 seconds]
kludge` 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]
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]
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]
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]
chap has joined #opal
adambeynon has joined #opal
e_dub has joined #opal
<
adambeynon>
meh`: just looking though Native
<
meh`>
adambeynon, what about it?
<
adambeynon>
def method_missing(mid, *args, &block)
<
adambeynon>
raise 'cannot call method from nil native' if nil?
<
adambeynon>
should Native be wrapping `null` ?
<
meh`>
yes, it does in fact
chap has quit [Quit: UNIX is basically a simple operating system, but you have to be a genius to understand the simplicity. - Dennis Ritchie]
<
meh`>
if you pass it explicitly
<
meh`>
it's because you may want to actually know if something is null/undefined
<
meh`>
adambeynon, you think Native::Object should fail on undefined/null?
<
meh`>
I don't think so
<
meh`>
or Native to return nil on undefined/null?
<
adambeynon>
I think Native(`null`) should == nil
<
meh`>
I'll raise on undefined/null on Native.new
<
meh`>
adambeynon, when are you going to fix the stuff I so long for? :(
<
adambeynon>
a lot sooner than I implement refinements ;)
<
meh`>
weeks? months? years?
<
adambeynon>
the `super` stuff will be weeks
<
adambeynon>
the (a, b) stuff in blocks will be days
<
adambeynon>
today? perhaps..
<
meh`>
okay, fine by me
<
adambeynon>
super requires a rethink on modules
<
adambeynon>
I can make it work, but very slow, quite easily
<
adambeynon>
and that might work for a short term fix..
<
meh`>
I hope parslet doesn't use any of this bugged stuff
<
meh`>
adambeynon, can you add native? to the compiler?
<
meh`>
I think it's worth to have like defined?
<
adambeynon>
I have removed a lot of the "quick hacks" from the parser, Im not sure we should add new ones
<
adambeynon>
I dont understand why defined? isnt a method anyway
<
adambeynon>
don't you like Kernel methods? ^_-
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]
meh` has quit [Quit: bbl]
chap has joined #opal
chap has joined #opal
GitHub88 has joined #opal
<
GitHub88>
opal/master b195a53 Adam Beynon: Merge branch 'master' of github.com:opal/opal
<
GitHub88>
opal/master 28616fd Adam Beynon: Empty rescue body now returns nil (fixes #356)
GitHub88 has left #opal [#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]
travis-ci has joined #opal
<
travis-ci>
[travis-ci] opal/opal#878 (master - b195a53 : Adam Beynon): The build passed.
travis-ci has left #opal [#opal]
GitHub33 has joined #opal
<
GitHub33>
opal/master 94f2090 Adam Beynon: Allow super calls to handle splat args (fixes #350)
GitHub33 has left #opal [#opal]
travis-ci has joined #opal
<
travis-ci>
[travis-ci] opal/opal#879 (master - 94f2090 : Adam Beynon): The build was broken.
travis-ci has left #opal [#opal]
markluffel has quit [Ping timeout: 240 seconds]
meh` has joined #opal
<
meh`>
BIP BIP BIP BIP BIP
<
meh`>
adambeynon, MAY DAY MAY DAY
<
meh`>
adambeynon, HUGE AND DISGUSTING BUG
DrShoggoth has quit [Ping timeout: 264 seconds]
<
e_dub>
meh i think you may single-handedly weed out every bug
<
meh`>
e_dub, I know
<
meh`>
I'm a bugomancer
<
meh`>
it feels even worse when I can't fix it myself
<
meh`>
because it'd take me more time to figure out what's going on in the compiler than to wait for adam to fix it
<
e_dub>
i guess trying to do stuff like browser compatibility is bound to dig into edge cases and stuff
<
meh`>
this one shouldn't be an edge case at all
<
meh`>
a block is being passed when none is passed
<
meh`>
and I have no clue where it's coming from
<
meh`>
it took me a while to realize what was going on
<
meh`>
my gut says it has to do with the retarded js scopin
e_dub has quit [Ping timeout: 256 seconds]
fkchang has joined #opal
e_dub has joined #opal
GitHub35 has joined #opal
<
GitHub35>
opal/master f01d5f8 Adam Beynon: Fix for last commit not working on 1.8. Vintage.
GitHub35 has left #opal [#opal]
<
adambeynon>
meh`: a block being passed causing issues? sounds like a fun one to fix....
<
meh`>
adambeynon, bundle exec rackup, then open browser
<
meh`>
if you uncomment it, the v.text below gets a block
<
meh`>
to check it works, at the bottom of the page, you should get kkkkkkkkkkkk going along a weird looking path
<
meh`>
if you get kkkkkkkkkkkkkk on an oblique line, it's broken
travis-ci has joined #opal
travis-ci has left #opal [#opal]
<
travis-ci>
[travis-ci] opal/opal#880 (master - f01d5f8 : Adam Beynon): The build was fixed.
<
adambeynon>
I do get it on a weird path...
<
adambeynon>
no i dont
<
adambeynon>
something being cached in Forwardable by any chance?
<
meh`>
doubt it's in the logic
<
meh`>
it could be a bug in opal that you see in forwardable
<
fkchang>
adambeynon: how do you rebuild the js in opal-todos? There's no Rakefile
<
dominictarr>
hey, I can't see from the documentation, but what version of ruby does opal convert?
<
dominictarr>
1.8 or 1.9?
<
meh`>
dominictarr, 1.9 mostly
<
adambeynon>
yeah, opal sets RUBY_ENGINE as "1.9.3"
<
adambeynon>
so rubyspecs run as 1.9.3
<
adambeynon>
meh`: might need to dig a little deeper on this
<
meh`>
adambeynon, :(((((
<
dominictarr>
meh`: thanks
<
meh`>
you're keeping me stuck in everything I do
<
adambeynon>
not sure what/if/where it is going wrong
<
brixen>
RUBY_ENGINE? or RUBY_VERSION?
<
brixen>
RUBY_ENGINE should be something like 'opal'
<
meh`>
he meant RUBY_VERSION
<
meh`>
we also have RUBY_ENGINE_VERSION, because we're bad
<
adambeynon>
yes, RUBY_VERSION. typed before I thought about it
<
adambeynon>
and meh`, I have found the problem
<
adambeynon>
which is now a lot easier as the generated javascript is readable..
<
e_dub>
oh wow, did you finish changing all that stuff already? taking the native bridge stuff back out?
<
adambeynon>
yeap, native bridge is gone
<
adambeynon>
and we have Native class
<
meh`>
I forgot to push my native changes
<
meh`>
adambeynon, do I kill you if I push now?
<
meh`>
they are only native changes
<
adambeynon>
meh`: nope, I havent fixed the bug yet
<
meh`>
so should be just a rebase away
dominictarr has quit [Quit: dominictarr]
<
adambeynon>
there is a whole 1 character that I have to add :/
<
adambeynon>
when a proc gets a block, it is being cached between calls
<
adambeynon>
(we are setting proc.p to null, instead of proc._p)
<
adambeynon>
damn underscores
GitHub119 has joined #opal
<
GitHub119>
opal/master b50a5b6 meh: Drop null and undefined wrapping in Native
<
GitHub119>
opal/master b6f3024 meh: Call the native in Native#each if no block is given
<
GitHub119>
opal/master b8cf0b6 meh: Adapt native specs to the latest Native changes
GitHub119 has left #opal [#opal]
<
meh`>
I want the official title of court bugomancer
<
adambeynon>
agreed
travis-ci has joined #opal
travis-ci has left #opal [#opal]
<
travis-ci>
[travis-ci] opal/opal#881 (master - b8cf0b6 : meh): The build passed.
<
fkchang>
adambeynon: did u catch my opal-todos question?
elia has quit [Quit: Computer has gone to sleep.]
vwoo has joined #opal
vwoo has quit [Client Quit]
dominictarr has joined #opal
<
adambeynon>
fkchang: It uses rack to just load a server
<
adambeynon>
I can add a rake task if you prefer though
GitHub176 has joined #opal
<
GitHub176>
opal/master 50b6438 Adam Beynon: Ensure a proc does not cache passed blocks between invocations
GitHub176 has left #opal [#opal]
<
adambeynon>
meh`: that commit should fix the block/proc bug
travis-ci has joined #opal
travis-ci has left #opal [#opal]
<
travis-ci>
[travis-ci] opal/opal#882 (master - 50b6438 : Adam Beynon): The build passed.
GitHub7 has joined #opal
GitHub7 has left #opal [#opal]
<
GitHub7>
opal/master 76553b0 Adam Beynon: Persist handled assets between builds in Builder
travis-ci has joined #opal
travis-ci has left #opal [#opal]
<
travis-ci>
[travis-ci] opal/opal#883 (master - 76553b0 : Adam Beynon): The build passed.
GitHub6 has joined #opal
<
GitHub6>
opal/master 7016cda Adam Beynon: Add bin/opal-repl as simple repl command (uses therubyracer)
GitHub6 has left #opal [#opal]
travis-ci has joined #opal
<
travis-ci>
[travis-ci] opal/opal#884 (master - 7016cda : Adam Beynon): The build passed.
travis-ci has left #opal [#opal]
vwoo has joined #opal
GitHub17 has joined #opal
GitHub17 has left #opal [#opal]
<
GitHub17>
opal/master 20ea6ec Adam Beynon: repl should use :irb mode to support lvars
travis-ci has joined #opal
<
travis-ci>
[travis-ci] opal/opal#885 (master - 20ea6ec : Adam Beynon): The build passed.
travis-ci has left #opal [#opal]
GitHub115 has joined #opal
GitHub115 has left #opal [#opal]
<
GitHub115>
opal/master 6262085 Adam Beynon: Allow opal-repl to require files from stdlib
e_dub has quit [Ping timeout: 256 seconds]
e_dub has joined #opal
vwoo has quit [Quit: Computer has gone to sleep.]
vwoo has joined #opal
vwoo has quit [Client Quit]
vwoo has joined #opal
dominictarr_ has joined #opal
dominictarr has quit [Ping timeout: 276 seconds]
dominictarr_ is now known as dominictarr
vwoo has quit [Quit: Computer has gone to sleep.]
vwoo has joined #opal
vwoo has joined #opal
zmike123 has joined #opal
vwoo has quit [Ping timeout: 264 seconds]
adambeynon has joined #opal
zmike123 has quit [Client Quit]
vwoo has joined #opal
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
vwoo has quit [Client Quit]
dominictarr has quit [Quit: dominictarr]
elia has joined #opal
dominictarr has joined #opal
perry has left #opal ["Leaving"]
<
elia>
meh`: this I'll use everytime ill look into your ruby source code
<
elia>
javascript:$('.line').each(function(i,l){l=$(l);%20l.html(l.html().replace(/\t/g,'%20%20'))})
vwoo has joined #opal