00:28
elia has quit [Quit: Computer has gone to sleep.]
01:23
e_dub has joined #opal
01:30
skofo has joined #opal
01:37
skofo has quit [Ping timeout: 272 seconds]
03:09
Swarmii has joined #opal
04:05
Swarmii has quit [Quit: Page closed]
04:08
skofo has joined #opal
04:44
skofo has quit [Ping timeout: 240 seconds]
05:32
e_dub has quit [Quit: It's a hard knock life]
07:29
e_dub has joined #opal
07:32
elia has joined #opal
08:29
DouweM has quit [Ping timeout: 256 seconds]
08:53
adambeynon has joined #opal
09:11
DouweM has joined #opal
09:24
GitHub105 has joined #opal
09:24
<
GitHub105 >
opal/master 1f504b8 Elia Schito: Add the github:upload_assets task to attach files to realeses
09:24
GitHub105 has left #opal [#opal]
09:27
travis-ci has joined #opal
09:27
<
travis-ci >
[travis-ci] opal/opal#1145 (master - 1f504b8 : Elia Schito): The build was broken.
09:27
travis-ci has left #opal [#opal]
09:30
kludge` has quit [Ping timeout: 240 seconds]
09:30
GitHub24 has joined #opal
09:30
<
GitHub24 >
opal/master 56f54b5 Elia Schito: fixup! Add the github:upload_assets task to attach files to realeses...
09:30
GitHub24 has left #opal [#opal]
09:33
travis-ci has joined #opal
09:33
<
travis-ci >
[travis-ci] opal/opal#1146 (master - 56f54b5 : Elia Schito): The build was fixed.
09:33
travis-ci has left #opal [#opal]
09:34
kludge` has joined #opal
09:38
<
adambeynon >
elia: nice one!
09:39
<
elia >
adambeynon, I don't think it can work for every push
09:39
<
elia >
but that's a start :)
09:39
<
adambeynon >
elia: yeap. Its about time for a new release soon as well, so a good time to try it out ;)
09:40
<
elia >
would be good to hook it in bundler's :release task
09:40
<
adambeynon >
elia: I think "running rspec" qualifies as a good benchmark for a release :)
09:40
<
elia >
adambeynon, indeed
09:40
<
elia >
I played with it last night, it's awesome
09:41
<
elia >
I wasn't sure on how to publish rspec.js so I left it to you
09:42
<
elia >
adambeynon, probably it's part of the releasing under the opal org process
09:45
<
adambeynon >
elia: yeah.. the rspec.js is a bit annoying to deal with
09:45
<
adambeynon >
it is also a pain as you cant use opal-rspec from github
09:51
<
elia >
adambeynon, isnt' enough to use use_gem and tell people to take rspec from master?
09:52
<
adambeynon >
elia: once they release 3.x then yeah, but at the moment t
09:53
<
adambeynon >
I use rspec 2.x for my rails code
09:53
<
adambeynon >
and there are small and subtle differences
09:53
<
adambeynon >
and we cant have 2 different versions in a Gemfile
09:53
<
adambeynon >
once opal-rspec is stable and release, then it should work a little nicer
09:54
<
adambeynon >
opal-rspec will only need to be updated every so often when opal gets a big change
09:54
<
adambeynon >
or indeed when rspec does
09:54
<
elia >
adambeynon, yah right, then id go with submoduling and shipping rspec master code inside the a gem
09:55
<
elia >
adambeynon, or… if bundler expands submodules
10:18
<
adambeynon >
elia: ha, thats quite nice actually
10:20
<
elia >
adambeynon, yeah, a good way to waste time :)
10:39
<
meh` >
adambeynon, but fix the super bugs before releasing
10:39
<
meh` >
adambeynon, also what about $$ suffix for special Opal vars?
10:57
elia has quit [Quit: Computer has gone to sleep.]
11:16
<
meh` >
adambeynon, we have a problem
11:21
<
adambeynon >
hmmmmm
11:21
<
adambeynon >
seems we did a special case in the parser for nil
11:21
<
adambeynon >
how odd
11:22
<
meh` >
adambeynon, so it doesn't check the actual value but the literal?
11:22
<
adambeynon >
meh`: seems to be the case
11:23
<
meh` >
I bet all specs use the nil literal
11:23
<
adambeynon >
meh`: probably :P
11:23
<
adambeynon >
although I did add a $to_ary helper in the runtime
11:23
<
meh` >
adambeynon, oh yeah, about helpers
11:23
<
meh` >
some start with $
11:23
<
meh` >
I'd remove the $ from all of them
11:23
<
meh` >
and add it when needed
11:23
<
meh` >
when aliasing
11:24
<
meh` >
$yieldX = Opal.yieldX
11:25
<
adambeynon >
yeah. we really need to be consistent with helpers
11:25
<
adambeynon >
and private properties
11:25
<
meh` >
also sincerely
11:25
<
meh` >
I hate the naming of some of those
11:25
<
meh` >
make it Opal.const_set if anything
11:25
<
meh` >
or something
11:25
<
meh` >
at least it gets clearer
11:31
<
meh` >
adambeynon, found another bug with super
11:41
elia has joined #opal
11:45
<
elia >
I hate cryptic helper names too
11:45
<
meh` >
why am I pink :(
11:46
<
elia >
meh`, I asked whitequark specifically to make you look pink…
11:46
<
elia >
don't you like i?
11:47
e_dub has quit [Read error: Operation timed out]
11:49
<
elia >
meh`, if it gives you any relief I'm the pink one on my box :)
11:52
e_dub has joined #opal
12:07
e_dub has quit [Ping timeout: 272 seconds]
12:09
e_dub has joined #opal
12:20
GitHub74 has joined #opal
12:20
GitHub74 has left #opal [#opal]
12:20
<
GitHub74 >
opal/master c91d3f0 Adam Beynon: Reduce number of method combinations used in process_def
12:23
<
meh` >
ain't that cool? :D
12:24
travis-ci has joined #opal
12:24
<
travis-ci >
[travis-ci] opal/opal#1147 (master - c91d3f0 : Adam Beynon): The build passed.
12:24
travis-ci has left #opal [#opal]
12:31
e_dub has quit [Ping timeout: 248 seconds]
12:33
e_dub has joined #opal
12:44
e_dub has quit [Ping timeout: 240 seconds]
12:44
e_dub has joined #opal
12:53
e_dub has quit [Ping timeout: 272 seconds]
12:58
<
adambeynon >
meh`: looking good!
12:58
<
adambeynon >
meh`: I still think extracting your CSS stuff into a gem would be awesome for a SASS replacement too
12:58
<
meh` >
adambeynon, it's already out
12:58
<
meh` >
adambeynon, it's in opal-browser
12:59
<
meh` >
or you mean out of opal-browser?
12:59
<
adambeynon >
meh`: out of opal-browser. for projects that might have nothing to do with opal at all
12:59
<
meh` >
I'll think up a name
13:00
<
adambeynon >
meh`: Im just thinking about my experiences trying to hack away with scss with its variables and mixins
13:00
<
adambeynon >
but ruby already has those
13:00
<
adambeynon >
so a nice dsl would make for some awesome work
13:00
<
meh` >
I think I'll extract the three parts of lissio/opal-browser into one gem
13:01
<
meh` >
HTML builder, CSS builder, template DSL based on both
13:06
e_dub has joined #opal
13:10
e_dub has quit [Ping timeout: 245 seconds]
13:19
GitHub159 has joined #opal
13:19
GitHub159 has left #opal [#opal]
13:19
<
GitHub159 >
opal/master 9724209 Adam Beynon: Clean up common code between defn and defs
13:23
travis-ci has joined #opal
13:23
<
travis-ci >
[travis-ci] opal/opal#1148 (master - 9724209 : Adam Beynon): The build passed.
13:23
travis-ci has left #opal [#opal]
13:35
GitHub171 has joined #opal
13:35
<
GitHub171 >
opal/master ca71f5f meh: Fix Hash#to_json key generation
13:35
GitHub171 has left #opal [#opal]
13:38
GitHub84 has joined #opal
13:38
<
GitHub84 >
opal/master 0ae511b Adam Beynon: Some code tidy-ups in parser.rb
13:38
GitHub84 has left #opal [#opal]
13:40
travis-ci has joined #opal
13:40
<
travis-ci >
[travis-ci] opal/opal#1149 (master - ca71f5f : meh): The build was broken.
13:40
travis-ci has left #opal [#opal]
13:40
<
meh` >
travis-ci, how dare you?
13:40
<
meh` >
it's not like I always forget to run tests
13:41
<
meh` >
oh, I changed a space
13:41
<
meh` >
to make it compliant with the stdlib
13:43
travis-ci has joined #opal
13:43
<
travis-ci >
[travis-ci] opal/opal#1150 (master - 0ae511b : Adam Beynon): The build was broken.
13:43
travis-ci has left #opal [#opal]
13:43
GitHub189 has joined #opal
13:43
GitHub189 has left #opal [#opal]
13:43
<
GitHub189 >
opal/master 443adc1 meh: Fix a JSON spec
13:50
<
meh` >
adambeynon, weird error coming through
13:52
<
meh` >
yeah, pretty much
13:53
<
adambeynon >
something in Application#initialize is triggering method_missing
13:54
<
adambeynon >
or a subclass of..
13:57
<
meh` >
I have no subclasses of Numeric tho
13:59
<
adambeynon >
no, I mean that it looks like some method call inside that method (App#initialize) is triggering the method_missing chain
14:02
<
meh` >
you're right
14:02
<
meh` >
fucked up error tho
14:02
<
meh` >
very fucked up error
14:03
<
meh` >
I'm getting it from #to_json now
14:03
<
meh` >
that #{self}.toString is broken
14:03
<
meh` >
but I have no clue why it's happening
14:03
<
meh` >
something weird is going on
14:04
<
meh` >
ok, count me extremely confused
14:04
<
meh` >
something is wrong with that Numeric self
14:05
<
meh` >
it doesn't accept any method calls
14:05
<
meh` >
not even valueOf
14:07
<
meh` >
this was hilarious
14:07
<
meh` >
unless it's a bug in opal
14:07
<
meh` >
then it's not hilarious
14:08
<
adambeynon >
is it a numeric?
14:09
<
meh` >
it's a bug in my code
14:10
<
meh` >
and an inconsistency with opal
14:10
<
meh` >
Numeric shouldn't have new
14:10
<
meh` >
so it's as easy as undef_method
14:12
GitHub112 has joined #opal
14:12
GitHub112 has left #opal [#opal]
14:12
<
GitHub112 >
opal/master c38dbd5 meh: Undefine Numeric.new
14:16
travis-ci has joined #opal
14:16
<
travis-ci >
[travis-ci] opal/opal#1152 (master - c38dbd5 : meh): The build passed.
14:16
travis-ci has left #opal [#opal]
14:22
<
meh` >
aaaand this is odd.
14:22
<
meh` >
JSON.parse is whining about a syntax error
14:22
<
meh` >
but it's valid
14:23
<
meh` >
even odder, it works
14:23
<
meh` >
it works with JSON.parse but not with Opal.JSON.$parse
14:24
<
meh` >
what is going on here
14:32
<
meh` >
adambeynon, Uncaught TypeError: Cannot set property '_p' of undefined
14:33
<
adambeynon >
meh`: that implies that you are trying to call a method which doesnt exist
14:33
<
adambeynon >
probably on a bridged class
14:33
<
adambeynon >
which don't support method_missing
14:33
<
meh` >
too big of a stacktrace
14:35
<
meh` >
but I think I know
14:46
<
meh` >
this shit makes no sense
14:47
<
meh` >
adambeynon, I think I'm getting a weird block bug
14:47
<
meh` >
it's not getting passed
14:50
<
meh` >
what the fuck is going on
14:51
<
meh` >
it doesn't even raise properly
14:54
<
meh` >
after that no block is passed
14:54
<
meh` >
and the class behaves strangely
14:54
<
meh` >
there's a raise
14:54
<
meh` >
but it isn't raised
14:55
<
meh` >
adambeynon, disregard that, somewhar
14:55
<
meh` >
but yeah, no block is getting passed
14:56
<
meh` >
but I'm sure it's present in the inner_dom
15:13
<
adambeynon >
meh`: sorry, went away
15:13
<
adambeynon >
is it not getting the block at all?
15:13
<
adambeynon >
the second method
15:27
<
meh` >
adambeynon, yes
15:27
<
meh` >
the call to Builder.new isn't getting the block passed
15:37
<
meh` >
adambeynon, any clue?
15:47
<
meh` >
adambeynon, it must be some weird combination
15:48
<
meh` >
Builder.new($document, self, &block) works
15:48
<
meh` >
Builder.new(document, self, &block) doesn't
15:48
<
adambeynon >
what is document?
15:48
<
adambeynon >
a reference to $document?
15:48
<
meh` >
self.document doesn't work either
15:49
<
meh` >
if I do doc = document
15:49
<
meh` >
and then pass doc
15:49
<
meh` >
I've already seen this
15:50
<
meh` >
it's the same bug in opal-browser specs
15:50
<
meh` >
except it happens with string interpolation
15:50
<
meh` >
the block doesn't get passed
15:51
<
meh` >
if the first parameter is a method
15:51
<
meh` >
the block doesn't get passed
15:51
<
meh` >
something like that
15:51
<
meh` >
if the first parameter is not a variable
15:51
<
meh` >
or a normal literal
15:51
<
meh` >
the string interpolation was breaking
15:52
<
meh` >
because the first parameter was also a method
15:52
<
meh` >
so it has to do with methods inside the parameters with the block being passed
15:55
<
adambeynon >
hmm. well, it seems to be compiling correctly
15:55
<
adambeynon >
which is strange
15:55
<
adambeynon >
implying it is a runtime issue
15:55
<
adambeynon >
rather than a compiler issue
15:55
<
adambeynon >
which is even odder
15:56
<
meh` >
I'm trying to come up with a reduced testcase
15:57
<
meh` >
and I'm failing at that
15:57
<
meh` >
it happens randomly
15:57
<
meh` >
and I can't reproduce it
15:57
<
meh` >
as in, I can't reproduce it minimally
15:57
<
meh` >
adambeynon, if you want to see it happens
15:57
<
meh` >
get master opal-browser
15:57
<
meh` >
opal/browser/dom/element.rb
15:57
<
meh` >
remove the doc = document
15:57
<
meh` >
and pass document instead of doc
15:58
<
meh` >
then $document.body.inner_dom { span "lol" }
15:58
<
meh` >
it should raise that the block hasn't been passed
16:14
elia has quit [Quit: Computer has gone to sleep.]
16:15
<
adambeynon >
meh`: I really cant see where it would fail to pass the block :S
16:15
<
meh` >
adambeynon, yeah, it's weird
16:15
<
meh` >
it's a mixture of things
16:16
<
meh` >
because it already happened in another situation
16:16
<
meh` >
very hard to debug
16:29
<
adambeynon >
its annoying as well as its hard to make a small test case :/
16:41
DouweM has quit [Ping timeout: 248 seconds]
16:41
<
meh` >
adambeynon, were you at least able to reproduce it with opal-browser?
16:42
<
meh` >
just so we know I'm not crazy
16:48
<
adambeynon >
meh`: didnt try, but I did try before when you had the problem with strings
16:48
<
adambeynon >
but it took a long time to find a failing case
17:07
fkchang has joined #opal
17:12
DrShoggoth has joined #opal
17:14
<
fkchang >
nice, I will defintely check it out
17:15
<
meh` >
fkchang, still early, hit a huge amount of bugs in opal/lissio/opal-browser while working on it
17:17
<
fkchang >
nothing like an app to wring out the bugs. If I can grok lissio enough to rewrite opal-inspector in it, I'm sure I'll drive out some stuff
17:18
<
meh` >
fkchang, also added inner_dom, which is very useful, don't know why I didn't think about it
17:18
<
fkchang >
couldn't find file 'browser/compatibility/dom/mutation_observer' (in /Users/fkchang/.rvm/gems/ruby-1.9.3-p392@shekels/bundler/gems/opal-browser-3797d1f1e2ba/opal/browser/dom/compatibility.rb)
17:18
<
fkchang >
Sprockets::FileNotFound at /
17:18
<
meh` >
gimme a sec, forgot to commit that file
17:19
<
meh` >
fkchang, done
17:25
<
fkchang >
It loads, now I get this when I enter something Uncaught TypeError: Cannot call method '$==' of undefined
17:25
<
meh` >
fkchang, yeah, the input is not done yet ◕ ◡ ◔
17:25
<
meh` >
I'm still working on the localStorage adapter
17:25
<
meh` >
and the output stuff
17:25
<
meh` >
inputting is the easy part anyway
17:26
<
fkchang >
ok, I'll glance through the code. Like what I see thus far
17:27
<
meh` >
if you can look through the 4 spaces indentation because of github :P
17:29
<
fkchang >
I may be forced to reformat the my clone
17:31
elia has joined #opal
17:33
<
fkchang >
elia: you will so dig the starwars multimedia stuff I'm doing for my preso
17:35
<
elia >
fkchang, i'll send you what i have later, lemme know if you need something specific (and please watch "fan boys":P )
17:37
GitHub30 has joined #opal
17:37
<
GitHub30 >
opal/compiler_nodes e439800 Adam Beynon: Initial commit on reworking parser into generator nodes
17:37
GitHub30 has left #opal [#opal]
17:39
<
fkchang >
I hope confreaks will be able to capture all the video well
17:41
<
adambeynon >
fkchang: they usually do
17:41
<
adambeynon >
Iv got to go: back in a few hours...
17:42
<
adambeynon >
meh`: Im still trying to work out that bug you have
17:42
<
adambeynon >
will report back
17:42
travis-ci has joined #opal
17:42
<
travis-ci >
[travis-ci] opal/opal#1153 (compiler_nodes - e439800 : Adam Beynon): The build passed.
17:42
travis-ci has left #opal [#opal]
17:42
<
meh` >
I'd rather he focus on fixing the 3 super bugs I found
17:56
<
meh` >
he didn't fix that bug yet
18:42
eventualbuddha has joined #opal
18:44
DouweM has joined #opal
19:31
<
meh` >
oh no, the same block bug
19:59
elia has quit [Quit: Computer has gone to sleep.]
20:05
eventualbuddha has quit [Ping timeout: 240 seconds]
20:08
elia has joined #opal
20:16
elia has quit [Quit: Computer has gone to sleep.]
20:23
adambeynon has joined #opal
20:24
elia has joined #opal
20:27
eventualbuddha has joined #opal
20:32
GitHub94 has joined #opal
20:32
GitHub94 has left #opal [#opal]
20:32
<
GitHub94 >
opal/master 04aa48d meh: Add some missing combinations to Time#strftime
20:45
<
adambeynon >
meh`: looks good
20:45
<
adambeynon >
meh`: do you use any sort of models?
20:45
<
adambeynon >
(not up to date on lissio)
20:46
<
meh` >
adambeynon, yes, there are models and collections
20:46
travis-ci has joined #opal
20:46
<
travis-ci >
[travis-ci] opal/opal#1154 (master - 04aa48d : meh): The build passed.
20:46
travis-ci has left #opal [#opal]
20:49
<
meh` >
and yes, now I know how you feel with me using tabs and having to read code on github
20:49
<
adambeynon >
meh`: lol, yeah.. I still have elia's bookmark to help though ;)
20:50
<
elia >
adambeynon, meh`, that's my greatest piece of open source :)
20:51
<
elia >
meh`, shekelim shelì, meme or wat?
20:58
<
DouweM >
meh`: with `property :at, as: Time, default: Time.now`, shouldn't :default be a proc? This way :at will always be the time the class definition was interpreted at.
21:01
elia has quit [Quit: Computer has gone to sleep.]
21:03
<
meh` >
DouweM, damn, I've been doing too much Elixir
21:04
<
meh` >
if only Ruby had macros
21:05
<
DouweM >
meh`: also, I noticed a `Klass === obj` in there—`obj.is_a?(Klass)` is probably more familiar to most devs
21:06
<
meh` >
DouweM, `Klass === obj` has the good property of not exploding on native values, or at least is used to
21:06
<
meh` >
it's a remnant of that
21:11
GitHub151 has joined #opal
21:11
<
GitHub151 >
opal/compiler_nodes 000d364 Adam Beynon: Clean up some new compiler nodes
21:11
GitHub151 has left #opal [#opal]
21:13
elia has joined #opal
21:24
travis-ci has joined #opal
21:24
<
travis-ci >
[travis-ci] opal/opal#1155 (compiler_nodes - 000d364 : Adam Beynon): The build passed.
21:24
travis-ci has left #opal [#opal]
21:27
<
meh` >
elia, yeah, "muh shekels" is a meme, the hebrew was Google translate so I'm not sure about it ◕ ◡ ◔
21:28
<
elia >
meh`, surprise: it's "shekels of me"
21:29
<
meh` >
elia, I'm not that surprised
21:29
<
meh` >
do you know hebrew? because I don't know anyone who does
21:29
<
fkchang >
elia: what is your bookmark that lets you read meh` s code?
21:29
<
elia >
meh`, not enough
21:30
<
elia >
fkchang, used to
21:30
<
meh` >
fkchang, github changed their source view
21:30
<
meh` >
now they expand tabs
21:30
<
elia >
fkchang, just discovered that those fine ppl at githb changed tabs with
21:30
<
meh` >
which means now I'm affected by the same problem too
21:30
<
meh` >
since I used tab-size
21:30
<
meh` >
I sent an email to support asking for per project tab-size
21:32
<
meh` >
fkchang, the other option is clone the repo and set your editor's tab width
21:32
<
meh` >
which is what I do anyway
21:32
<
elia >
meh`, btw I just know some basics and I'm able to read the alphabet, I also can read and write in tengwar (just saying…)
21:33
<
elia >
meh`, if they don't revert (quite probable) I'll update the bookmarlet
21:35
<
elia >
meh`, about 'muh shkls' i did the due diligence (googled + knowyourmeme) but wasn't able to find any ref…
21:35
<
meh` >
elia, yeah, it's kind of obscure, the meme is actually "muh X"
21:36
<
meh` >
muh freedumb to address free software fanboys, or americans
21:36
<
meh` >
muh gaymes for gamers
21:36
<
elia >
lol muh freedumbs, reminds me of a guy eating his toe's flesh…
21:53
<
elia >
meh`, ok, google images 1 – duck duck go 0
21:54
ryanstout has joined #opal
21:54
<
elia >
meh`, btw "muh shekels" is apparently like searching for everything…
21:55
<
meh` >
if you look for "muh freedumb" you actually find some stuff
21:55
<
meh` >
I don't think I've seen "muh shekels" used outside of some remote small imageboards
21:55
<
meh` >
maybe on /pol/, but I doubt it
21:56
<
elia >
i wont go to those places, they're scary
21:58
<
elia >
but i'll search for the freedumbs because ill probably agree…
22:01
<
meh` >
if only adambeynon fixed all those bugs
22:01
<
meh` >
I think I found more bugs in the past few days than in the past few months
22:03
<
adambeynon >
meh`: the problem is that the bugs you are finding are leaving me puzzled :(
22:04
<
meh` >
adambeynon, still trying to figure out the unpassed block one?
22:04
<
meh` >
I'd focus on the super ones and that a[b] += 2
22:04
<
meh` >
which I hit today
22:08
<
adambeynon >
foo[bar] += baz must be a regression somewhere, as Im sure I have used it before
22:12
GitHub26 has joined #opal
22:12
<
GitHub26 >
opal/compiler_nodes 6b05c8d Adam Beynon: Some more node generation
22:12
GitHub26 has left #opal [#opal]
22:27
travis-ci has joined #opal
22:27
<
travis-ci >
[travis-ci] opal/opal#1156 (compiler_nodes - 6b05c8d : Adam Beynon): The build passed.
22:27
travis-ci has left #opal [#opal]
22:27
elia has quit [Quit: Computer has gone to sleep.]
22:28
elia has joined #opal
22:37
DrShoggoth has quit [Quit: Leaving]
22:47
elia has quit [Quit: Computer has gone to sleep.]
23:09
elia has joined #opal
23:17
elia has quit [Quit: Computer has gone to sleep.]
23:48
eventualbuddha has quit [Ping timeout: 268 seconds]
23:57
eventualbuddha has joined #opal