hermeht has quit [Ping timeout: 245 seconds]
fkchang has quit [Ping timeout: 260 seconds]
ryanstout has quit [Quit: ryanstout]
fkchang has joined #opal
kludge` has quit [Ping timeout: 240 seconds]
kludge` has joined #opal
elia has joined #opal
GitHub148 has joined #opal
<
GitHub148>
opal/master 9b3937e Elia Schito: Update Opal CLI with specs and -r option
GitHub148 has left #opal [#opal]
travis-ci has joined #opal
<
travis-ci>
[travis-ci] opal/opal#1080 (master - 9b3937e : Elia Schito): The build passed.
travis-ci has left #opal [#opal]
elia has quit [Ping timeout: 248 seconds]
elia has joined #opal
adambeynon has joined #opal
GitHub72 has joined #opal
GitHub72 has left #opal [#opal]
<
GitHub72>
opal/master de877b6 Adam Beynon: Add stdlib placeholders for File and Dir
travis-ci has joined #opal
<
travis-ci>
[travis-ci] opal/opal#1081 (master - de877b6 : Adam Beynon): The build passed.
travis-ci has left #opal [#opal]
GitHub82 has joined #opal
<
GitHub82>
opal/master 3e950fc Adam Beynon: Add a stubbed Thread implementation for stdlib
GitHub82 has left #opal [#opal]
travis-ci has joined #opal
travis-ci has left #opal [#opal]
<
travis-ci>
[travis-ci] opal/opal#1082 (master - 3e950fc : Adam Beynon): The build passed.
GitHub86 has joined #opal
<
GitHub86>
opal/master 7411a93 Adam Beynon: Fix bug where anonyous modules broken when included in anonymous class
GitHub86 has left #opal [#opal]
travis-ci has joined #opal
<
travis-ci>
[travis-ci] opal/opal#1083 (master - 7411a93 : Adam Beynon): The build passed.
travis-ci has left #opal [#opal]
GitHub110 has joined #opal
GitHub110 has left #opal [#opal]
<
GitHub110>
opal/master a76135a Adam Beynon: Fix bug which stopped anon classes being in a super chain
travis-ci has joined #opal
<
travis-ci>
[travis-ci] opal/opal#1084 (master - a76135a : Adam Beynon): The build passed.
travis-ci has left #opal [#opal]
_whitelogger has joined #opal
GitHub29 has joined #opal
GitHub29 has left #opal [#opal]
<
GitHub29>
opal/master ba0809d Adam Beynon: Hash#clone should return subclasses
<
GitHub29>
opal/master cda417c Adam Beynon: Hash#store is an alias of Hash#[]=
travis-ci has joined #opal
<
travis-ci>
[travis-ci] opal/opal#1085 (master - cda417c : Adam Beynon): The build passed.
travis-ci has left #opal [#opal]
fkchang has quit [Ping timeout: 240 seconds]
<
elia>
adambeynon, I'm torn
<
elia>
was implementing Pathname
<
elia>
the matter is: Pathname#exist? gives always true, false or raise NotImplementedError?
<
adambeynon>
elia: tricky.. im not sure
<
adambeynon>
rspec requires pathname.rb
<
adambeynon>
but never actually uses it
<
adambeynon>
unless you want it to go fetch all specs for you
<
adambeynon>
I would say "false"
<
adambeynon>
if something checks for a pathname, I would assume it was going to then try and use it
<
elia>
adambeynon, it does inside Pathname#realdirpath
GitHub187 has joined #opal
<
GitHub187>
opal/master a234c9b Adam Beynon: Implement Module#<
GitHub187 has left #opal [#opal]
<
adambeynon>
hmmmmm, I dont know
<
adambeynon>
sutbbing these files/methods could be dangerous, but it needs to be done
<
elia>
adambeynon, my concern was to make rubyspecs happy
<
adambeynon>
well, when we had that it did solve many problems
<
elia>
I wasa about to say that it's not worth it if it just serves passing rubyspecs
<
adambeynon>
elia: yeah. I think aslong as we can overcome compatibility problems, we should try and avoid a custom file loader (Opal.fs)
<
adambeynon>
rspec has a very convenient `load_specs` method
<
adambeynon>
so my thought was just to stub that
travis-ci has joined #opal
<
travis-ci>
[travis-ci] opal/opal#1086 (master - a234c9b : Adam Beynon): The build passed.
travis-ci has left #opal [#opal]
<
adambeynon>
I cant remember what mspec/rubyspec does
<
adambeynon>
I think it assumes something similar
<
adambeynon>
elia: I have to go for a quick meeting - be back in 40 mins
<
elia>
adambeynon, I'll add specs that involve fs to unsupported/fs
<
elia>
see you later then :)
hermeht has joined #opal
kludge` has quit [Ping timeout: 264 seconds]
kludge` has joined #opal
<
hermeht>
adambeynon, yo
<
elia>
hermeht, hey :)
<
hermeht>
elia, yo²
<
elia>
hell'be back in half an hour
<
hermeht>
I see, so we'll see him in about 3 hours ( ≖‿≖)
<
elia>
(hermeht, should have been a wink)
<
hermeht>
elia, did you see the tooltip customization stuff in lissio?
<
elia>
hermeht, no, sorry, there's a working demo somewhere?
<
hermeht>
elia, no, but
<
hermeht>
MyTooltip = Lissio::Component::Tooltip.customize background: :red, foreground: :black, opacity: 1
<
hermeht>
and if you pass a block you can define additional CSS
<
hermeht>
and if you inherit from it you can extend the functionality too
hermeht has quit [Ping timeout: 245 seconds]
GitHub27 has joined #opal
GitHub27 has left #opal [#opal]
<
GitHub27>
opal/master 91c9488 Elia Schito: Fix cli bugs introduced in last cli bug fixing fix
travis-ci has joined #opal
<
travis-ci>
[travis-ci] opal/opal#1087 (master - 91c9488 : Elia Schito): The build passed.
travis-ci has left #opal [#opal]
hermeht has joined #opal
<
hermeht>
oh you dell
<
adambeynon>
2:50 hrs
<
adambeynon>
less than 3 hours ;)
<
hermeht>
well, kinda precise, you should be amazed :P
<
adambeynon>
lol, yah
GitHub65 has joined #opal
<
GitHub65>
opal/master a322965 Adam Beynon: Add some missing Kernel, Module methods needed for rspec
<
GitHub65>
opal/master 3ae2a2f Adam Beynon: Add Regexp.union initial implementation
GitHub65 has left #opal [#opal]
GitHub80 has joined #opal
<
GitHub80>
opal-rspec/master 1ee5120 Adam Beynon: Document the bugs requiring stubbed files
<
GitHub80>
opal-rspec/master 2aa1aca Adam Beynon: Extract some opal fixes to upstream opal corelib
GitHub80 has left #opal [#opal]
<
GitHub80>
opal-rspec/master cde0835 Adam Beynon: Current progress (still awful code, dont read it)
travis-ci has joined #opal
travis-ci has left #opal [#opal]
<
travis-ci>
[travis-ci] opal/opal#1088 (master - a322965 : Adam Beynon): The build passed.
GitHub163 has joined #opal
GitHub163 has left #opal [#opal]
<
GitHub163>
opal-rspec/master 6130693 Adam Beynon: Remove remaining fixes as all pushed upstream to opal
hermeht has quit [Ping timeout: 268 seconds]
hermeht has joined #opal
<
hermeht>
adambeynon, I think #srand is wrong
<
hermeht>
completely wrong
<
hermeht>
I mean, I know we can't seed the RNG
<
hermeht>
but it should return a huge integer instead
<
hermeht>
and return the passed value in case it's passed
<
hermeht>
adambeynon, I'm hitting an incredibly weird bug
<
hermeht>
what the heck
GitHub158 has joined #opal
<
GitHub158>
opal/master 9f8869d meh: Try to convert the passed class in Native.is_a?
GitHub158 has left #opal [#opal]
<
hermeht>
adambeynon, Enumerable#detect is broken
<
hermeht>
didn't we add all the enumerable specs?
<
elia>
hermeht, how do I bridge a js class to ruby? (given `bridge_class` isn't exposed on `Opal`)
travis-ci has joined #opal
<
travis-ci>
[travis-ci] opal/opal#1089 (master - 9f8869d : meh): The build passed.
travis-ci has left #opal [#opal]
<
hermeht>
elia, no clue, adambeynon knows that magic
<
elia>
adambeynon, any clue?
<
elia>
…or does MyClass < `MyJSClass` still works?
<
hermeht>
I have the feeling Enumerable is all broken
<
hermeht>
it only works magically
<
hermeht>
it should use $yieldX
<
hermeht>
but it doesn't
<
elia>
hermeht, any prediction about when adambeynon will be back? ;)
<
hermeht>
elia, I say 35 minutes
<
elia>
hermeht, we need a (hu)bot running on heroku with pure opal scripts, unless you know better…
<
hermeht>
we can use Mana
<
hermeht>
elia, do you know if you can .apply with an arguments?
<
hermeht>
or does it have to be an Array?
<
elia>
hermeht, I think it needs to be an array
<
hermeht>
ES5 says it can be an array-like object
<
hermeht>
which means IE will die on it
<
hermeht>
need to change all this Enumerable bullshit to use yieldX
<
elia>
i'd prefer an opal showoff (for the bot)
<
elia>
though mana is cool :)
<
elia>
possibly deploying on a node only provider (instead of heroku)
<
hermeht>
sounds kind of redundant
<
elia>
hermeht, how usable is opal-browser?
<
hermeht>
elia, depends
<
elia>
i'm going to do a "workshop" about full-stack ruby during next codemotion (milan)
<
hermeht>
elia, most of the needed things work
<
hermeht>
XHR and events
<
elia>
hermeht, i need no oldies support
<
hermeht>
elia, what?
<
elia>
hermeht, sorry, i need no support for older browser
<
hermeht>
then it should work
<
hermeht>
if you look at lissio, all that stuff works
zmike123 has joined #opal
<
hermeht>
adambeynon, I SUMMON THOU
<
adambeynon>
hermeht: yooo
<
hermeht>
adambeynon, Enumerable#detect is broken
<
hermeht>
and I can't seem to fix it without breaking specs
<
adambeynon>
hermeht: yeah, I would only trust Enumerable methods which have their rubyspecs loaded
<
hermeht>
adambeynon, can you take a pause and fix it please?
<
hermeht>
it's a vital part of opal-browser
<
hermeht>
it's breaking a spec
<
adambeynon>
hermeht: I havent got time now, but I will be about later on
<
hermeht>
but I can't find if it's our local spec or a rubyspecs one
<
hermeht>
I'll add a #FIXME then
zmike123 has quit [Quit: ~]
hermeht has quit [Quit: reboot]
hermeht has joined #opal
<
hermeht>
bah, fucking dell, you can see they're a failing company from the demise of their customer support
GitHub62 has joined #opal
<
GitHub62>
opal/master d2af4e5 Elia Schito: Add Pathname#absolute? and #relative?
GitHub62 has left #opal [#opal]
<
GitHub62>
opal/master 0632184 Elia Schito: Add a basic Pathname class (almost a stub)
<
GitHub62>
opal/master af0457c Elia Schito: Use buidler instead of raw require parser for CLI
<
hermeht>
elia, do you need anything specific from opal-browser?
<
hermeht>
I'll tell you if it's there or not
<
hermeht>
the awfulness of libraries checking the useragent instead of functionality absence
<
elia>
hermeht, dunno, not yet found what the example app will be…
<
hermeht>
elia, well, keep me posted, I can fix or implement things in realtime if you're here during it
<
hermeht>
but it's mostly on par with jquery
<
hermeht>
even had to implement the awful positioning bullshit
<
hermeht>
to make the tooltips work
<
hermeht>
and now onto a typeahead alternative for lissio
<
hermeht>
1139 lines of javascript
<
hermeht>
whoever wrote this is bad and should feel bad
ryanstout has joined #opal
GitHub110 has joined #opal
GitHub110 has left #opal [#opal]
<
GitHub110>
opal/master 68f06d1 Elia Schito: fixup! Use buidler instead of raw require parser for CLI
<
hermeht>
we need more buidlers
travis-ci has joined #opal
<
travis-ci>
[travis-ci] opal/opal#1091 (master - 68f06d1 : Elia Schito): The build passed.
travis-ci has left #opal [#opal]
<
elia>
hermeht, what kind of builders?
<
hermeht>
elia, it was a joke on your commit message typo
<
hermeht>
elia, you never get my jokes :(
<
elia>
hey, man I got the previous (cop's) one
<
elia>
and I was really sad when you said I didn't
<
hermeht>
mother of god
elia has quit [Quit: Computer has gone to sleep.]
<
ryanstout>
quick question. Currently if we want to handle requires, do we use opal-sprockets?
<
hermeht>
ryanstout, yes
<
ryanstout>
ok, just wanted to make sure I was doing it right. Thanks
<
hermeht>
I think there's something still in the core
<
hermeht>
but I haven't kept track of that side for a long while
<
hermeht>
few years ago we had runtime requires
<
hermeht>
it would define files in a file tree
<
hermeht>
and it would load the block at runtime
<
hermeht>
it was nice because it kept the Ruby semantics
<
hermeht>
but it's clearly a bad idea in cases like opal-browser where you really don't want everything
<
ryanstout>
so would you load stuff in with sync ajax requests or something?
<
ryanstout>
or was that just for if it ran on a server
[spoiler] has joined #opal
<
hermeht>
ryanstout, no, it just defined the sources like Opal.file('lib/whatever')
<
hermeht>
and you had Opal.require('whatever')
GitHub14 has joined #opal
<
GitHub14>
opal-rspec/master ce3dfec Adam Beynon: Coemetic
GitHub14 has left #opal [#opal]
hermeht has quit [Ping timeout: 264 seconds]
hermeht has joined #opal
fkchang has joined #opal
<
hermeht>
hey fkchang
<
hermeht>
fkchang, saw the latest lissio awesomeness?
<
fkchang>
I didn't, earlier today?
<
hermeht>
yesterday I think
<
fkchang>
I think I want to do opal-inspector in lissio, when will it be ready for public consumption
<
hermeht>
fkchang, for november it should all be good to go
<
hermeht>
since my initial deadline is beginning of november
<
hermeht>
fkchang, what I don't assure is IE support just yet
<
hermeht>
but that should be finished for the end of the year
Guest9760 has joined #opal
zmike123 has joined #opal
zmike123 has quit [Read error: Connection reset by peer]
Guest9760 has quit [Quit: Leaving]
<
ryanstout>
anyone know how I would take a javascript object (just json) and make it something opal can use. (So it has .keys and stuff on it)
<
hermeht>
ryanstout, Hash.new(thatobject)
<
hermeht>
but it ain't recursive
<
ryanstout>
cool, thanks
<
hermeht>
ryanstout, but I'm curious, why aren't you using the json stdlib?
<
ryanstout>
should I be, I've got json coming in from the backend that I need to call an opal method with
<
ryanstout>
I could pass it in as a json string I guess
<
hermeht>
ryanstout, yes, it can parse JSON
<
ryanstout>
but it seems like it would make more since to have the browser parse it
<
ryanstout>
ok, let me do that then
<
hermeht>
ryanstout, that's what the JSON stdlib does :)
<
ryanstout>
ok, cool
<
hermeht>
it defers the parsing to the browser
<
hermeht>
if it's present, if it isn't you should add json2.js or some alternative
<
hermeht>
for IE < something
<
ryanstout>
cool, that works. Thanks
[spoiler] has quit [Quit: Leaving]
<
ryanstout>
just curious, what happened to the wiki on opal's github page?
<
hermeht>
ryanstout, we killed it with fire, and put it in doc/
<
ryanstout>
cool, thanks
ryanstout has quit [Quit: ryanstout]
adambeynon has joined #opal
elia has joined #opal
GitHub115 has joined #opal
GitHub115 has left #opal [#opal]
<
GitHub115>
opal-jquery/master 71512c6 Nicola Racco: Add window
GitHub48 has joined #opal
GitHub48 has left #opal [#opal]
hermeht has quit [Ping timeout: 240 seconds]
e_dub has joined #opal
elia has quit [Quit: Computer has gone to sleep.]