These are chat archives for opal/opal

19th
Aug 2015
Mitch VanDuyn
@catmando
Aug 19 2015 03:23
just raised #1068 - anybody have any idea where String interpolation is implemented? I suspect its an easy fix, be happy to do it, but can't quite see where its implemented
Elia Schito
@elia
Aug 19 2015 11:56
@/all started working on better API docs, if you have comments or suggestions please let me know
The plan is to move guides form the opalrb.org repo and have them in the opal repo kinda like rails does
meh.
@meh
Aug 19 2015 12:36
elia, I'm done with my stuff
we have full support for all the reflection business
Elia Schito
@elia
Aug 19 2015 12:36
great
meh.
@meh
Aug 19 2015 12:40
elia, if you want to retweet from @opalrb what I just tweeted
Elia Schito
@elia
Aug 19 2015 12:46
done ;)
-102 rubyspecs to 6k!
need to study stuff now :)
meh.
@meh
Aug 19 2015 13:46
@elia any clue where our fixnum_max is defined?
Elia Schito
@elia
Aug 19 2015 13:47
search in mspec
meh.
@meh
Aug 19 2015 13:47
I think I was looking at the wrong one
Elia Schito
@elia
Aug 19 2015 13:47
lib/mspec/helpers/numeric.rb
meh.
@meh
Aug 19 2015 13:48
our value doesn't look right at all
Elia Schito
@elia
Aug 19 2015 13:48
  elsif guard.implementation? :opal
    def fixnum_max()
      9007199254740991
    end

    def fixnum_min()
      -9007199254740991
    end
meh.
@meh
Aug 19 2015 13:48
who came up with those values
Elia Schito
@elia
Aug 19 2015 13:48
need to git blame :)
meh.
@meh
Aug 19 2015 13:49
fun part is it was probably me
Elia Schito
@elia
Aug 19 2015 13:49
it's always like that with blame
meh.
@meh
Aug 19 2015 13:50
I can't find that on github
and blame blames you on github :P
Elia Schito
@elia
Aug 19 2015 13:51
that's because I said blame first :D
ruby/mspec@2f0a3bc
meh.
@meh
Aug 19 2015 13:52
Jannis Huebl
no idea who that is
Elia Schito
@elia
Aug 19 2015 13:52
he was working on bignum impl
meh.
@meh
Aug 19 2015 13:52
yeah, and he fucked up everything else while trying :D
in JS bitwise operations are 32 bit
Elia Schito
@elia
Aug 19 2015 13:54
I think you have commit access to ruby/mspec and ruby/rubyspec, otherwise just tell me what to commit or pass a patch and I'll apply
meh.
@meh
Aug 19 2015 13:55
elia, gimme a sec, I'll do some magic
elia, ok, make our fixnum_{max, min} refer to Integer::MAX and Integer::MIN
I doubt I have access
Elia Schito
@elia
Aug 19 2015 14:01
@meh can I give an explanation in the commit message?
meh.
@meh
Aug 19 2015 14:02
elia, "In JavaScript bitwise operations are 32 bit, and most tests that use fixnum_{max,min} are about bitwise operations."
Elia Schito
@elia
Aug 19 2015 14:03
done
meh.
@meh
Aug 19 2015 14:03
rubyspec would need a split between min/max for bitwise operations and bignum boundaries
but that's a lot of work
Elia Schito
@elia
Aug 19 2015 14:03
ouch forgot to --author you
meh.
@meh
Aug 19 2015 14:03
nah it's fine
I don't care about it :D
as long as shit works
Elia Schito
@elia
Aug 19 2015 14:04
:+1:
meh.
@meh
Aug 19 2015 15:26
someone forgot to enable the complex specs ◕ ◡ ◔
Elia Schito
@elia
Aug 19 2015 15:26
: )
meh.
@meh
Aug 19 2015 15:27
6070 :^)
Elia Schito
@elia
Aug 19 2015 15:27
there
meh.
@meh
Aug 19 2015 15:28
elia, retweet that one if you want
Elia Schito
@elia
Aug 19 2015 15:28
:smoking: :gun: did already
meh.
@meh
Aug 19 2015 17:31
man that was annoying to fix
opal/opal@158c71f
aww shit
fix something
break something else
meh.
@meh
Aug 19 2015 18:36
that's a lie
I fixed it
ah, the opal specs broke
meh.
@meh
Aug 19 2015 18:44
because they're wrong
Torsten Rüger
@rubydesign
Aug 19 2015 21:14
@elia a little bit of digging just got my load time from 14s to 400ms . Sprockets memory cache was the way s.sprockets.cache = Sprockets::Cache::MemoryStore.new(5000). should i write about that somewhere?
Elia Schito
@elia
Aug 19 2015 21:51
Torsten Rüger
@rubydesign
Aug 19 2015 22:27
@elia ok opal/opalrb.org#32
ps noticed the getting started in the rep is much longer than online ?
Elia Schito
@elia
Aug 19 2015 23:48
Need to publish, and should probably set up Travis to build and publish at arch change (from master)