hermeht has quit [Ping timeout: 246 seconds]
ryanstout has joined #opal
e_dub has joined #opal
ryanstout has quit [Quit: ryanstout]
DrShoggoth has quit [Quit: Leaving]
e_dub has quit [Ping timeout: 240 seconds]
e_dub has joined #opal
harrow has quit [Ping timeout: 252 seconds]
harrow has joined #opal
adambeynon has joined #opal
elia has joined #opal
elia has quit [Ping timeout: 245 seconds]
elia has joined #opal
elia has quit [Client Quit]
GitHub48 has joined #opal
<GitHub48> opal/master 0078289 Adam Beynon: Allow begin...end blocks to be used as expressions (fixes #147)
<GitHub48> [opal] adambeynon pushed 1 new commit to master: http://git.io/y5QlTA
GitHub48 has left #opal [#opal]
travis-ci has joined #opal
travis-ci has left #opal [#opal]
<travis-ci> [travis-ci] opal/opal#1063 (master - 0078289 : Adam Beynon): The build passed.
<travis-ci> [travis-ci] Build details : http://travis-ci.org/opal/opal/builds/12220851
e_dub has quit [Ping timeout: 245 seconds]
elia has joined #opal
e_dub has joined #opal
DouweM has joined #opal
[spoiler] has joined #opal
kludge` has quit [Ping timeout: 246 seconds]
kludge` has joined #opal
GitHub9 has joined #opal
GitHub9 has left #opal [#opal]
<GitHub9> opal/master 888b783 Adam Beynon: Improve parser/codegen support for paren expressions (fixes #291)
<GitHub9> [opal] adambeynon pushed 1 new commit to master: http://git.io/KY8FeA
travis-ci has joined #opal
<travis-ci> [travis-ci] Build details : http://travis-ci.org/opal/opal/builds/12223653
<travis-ci> [travis-ci] opal/opal#1064 (master - 888b783 : Adam Beynon): The build passed.
travis-ci has left #opal [#opal]
elia has quit [Ping timeout: 256 seconds]
elia has joined #opal
e_dub has quit [Quit: It's a hard knock life]
hermeht has joined #opal
<hermeht> adambeynon, yo
<hermeht> adambeynon, ping
<adambeynon> hermeht: yo yoo
<adambeynon> sorry, lunch break :)
<adambeynon> back nwo though..
<adambeynon> now*
<hermeht> no worries, I "solved" it
<hermeht> for some reason rackup is not telling me it's up and running now
<hermeht> or maybe it's sinatra
<hermeht> so I thought it wasn't working
<adambeynon> hermeht: was just reading https://github.com/opal/opal/issues/371
<adambeynon> performance of "foo" vs new String("foo") is interesting
<adambeynon> as in, would doing: a = "foo". a.$upcase(); a.$foo()
<adambeynon> be worse than
<adambeynon> a = new string("foo")
<adambeynon> a would need to be converted into a string object twice
<hermeht> I think it's cached internally
<adambeynon> yeh, also, is there any benefit of having string objects if they are still immutable
<adambeynon> which, is the main benefit of ruby strings
<adambeynon> (or annoyance, depending on your view)
<hermeht> other than being able to store properties on it?
<hermeht> and having retarded == issues, no
<hermeht> > new String("lol") == "lol"
<hermeht> true
<hermeht> false
<hermeht> > new String("lol") == new String("lol")
[spoiler]_ has joined #opal
<hermeht> adambeynon, could you add ^D handling in opal-repl?
<hermeht> I'm used to closing the repl with ^D rather than ^C
[spoiler] has quit [Ping timeout: 245 seconds]
<adambeynon> hermeht: what signal does it send? ^C is SIGINT
[spoiler]_ is now known as [spoiler]
<adambeynon> or, its EOF it seems? I have no idea
<adambeynon> hermeht: whichever it is, that commit should work ^^
GitHub25 has joined #opal
<GitHub25> opal/master 9fa23ed Adam Beynon: [opal-repl] ^D/EOF should exit repl
GitHub25 has left #opal [#opal]
<GitHub25> [opal] adambeynon pushed 1 new commit to master: http://git.io/gYtW9Q
travis-ci has left #opal [#opal]
travis-ci has joined #opal
<travis-ci> [travis-ci] Build details : http://travis-ci.org/opal/opal/builds/12230820
<travis-ci> [travis-ci] opal/opal#1065 (master - 9fa23ed : Adam Beynon): The build passed.
<hermeht> here we go, REST adapter
<hermeht> adambeynon, you should really update https://github.com/opal/opal/wiki/Generated-Javascript
<elia> hermeht, adambeynon, btw I don't like very much having documentation out of the code… 2¢
<adambeynon> elia: I think we need a doc/ directory in opal/opal
<elia> adambeynon, agree
<adambeynon> opalrb.org could even pull it out and make it pretty
<adambeynon> infact, Im half thinking of putting the opalrb.org code inside opal/opal
<adambeynon> the website code is really small now anyway
<elia> in my dreams that's part of `rake release` along with uploading compiled opal.js & co to github releases
<elia> adambeynon, I can move the wiki to opal/docs if you give me greenlight
<adambeynon> elia: yeh, go ahead
<adambeynon> if you have time
<adambeynon> if not, I can add it to the list of "things to do" ;)
<adambeynon> also, if you ever use rubymotion then bubblewrap is so awesome
<elia> adambeynon, easy peasy being the wiki a git repo ;)
<hermeht> why is bundle update so slow :(
<elia> adambeynon, id like to, never had chance
<elia> hermeht, prerelease version should have concurrency IIRC
<hermeht> --pre here we go
<adambeynon> elia: ohhh, also, If you can get rid of all the old history in opal-activesupport
<adambeynon> I dotn know how, otherwise I would ;)
<elia> adambeynon, will do
<hermeht> fuck this shit, everything's broken
GitHub77 has joined #opal
<GitHub77> opal/master 498d507 adambeynon: Migrated from home v1
<GitHub77> [opal] elia pushed 66 new commits to master: http://git.io/FU7FjA
<GitHub77> opal/master 2fe1c79 adambeynon: Migrated from home v2
GitHub77 has left #opal [#opal]
<GitHub77> opal/master 4f55dd5 adambeynon: Initial Commit
GitHub126 has joined #opal
<GitHub126> [opal] elia pushed 1 new commit to master: http://git.io/KBEv3w
<GitHub126> opal/master b187b2c Elia Schito: Remove empty file from the wiki
GitHub126 has left #opal [#opal]
<adambeynon> git always amazes me
<adambeynon> also: "Destroyed Cappuccino Integration (textile)"
<adambeynon> Cappuccino support? has opal really existed for that long?
<hermeht> lol
<hermeht> adambeynon, it's been at least 2 years
travis-ci has joined #opal
<travis-ci> [travis-ci] opal/opal#1066 (master - 6f56451 : Elia Schito): The build passed.
<travis-ci> [travis-ci] Build details : http://travis-ci.org/opal/opal/builds/12235826
travis-ci has left #opal [#opal]
travis-ci has joined #opal
<travis-ci> [travis-ci] opal/opal#1067 (master - b187b2c : Elia Schito): The build passed.
<travis-ci> [travis-ci] Build details : http://travis-ci.org/opal/opal/builds/12235863
travis-ci has left #opal [#opal]
<elia> 66 commits, my github profile square for today will be bright green :)
<hermeht> are they all private repos or what
<elia> <GitHub77> [opal] elia pushed 66 new commits to master: http://git.io/FU7FjA
<elia> it's just wiki's history
<hermeht> oh, that one lol
<adambeynon> so, time to close the wiki?
<elia> adambeynon, think so
fkchang has joined #opal
<hermeht> hey fkchang
<fkchang> hey
<fkchang> adambeynon: did a first cut of what I wanted w/source code in the github issue
<adambeynon> fkchang: yeah, just saw it
<fkchang> cool, let me know if it doesn't make sense
<adambeynon> fkchang: Im wondering if there is a simple doc lib for ruby which could actually handle this for us
<adambeynon> rdoc etc are obviously way over the top
<adambeynon> but we might be trying to reinvent the wheel. also, if its already done, it might save us some time
<fkchang> I dunno if it's simple, but rtags (ruby c/etags) may do some portion of this and it would be mapped based on method symbol
<fkchang> hermeht: you rang?
<hermeht> fkchang, nah, just heyd you (it's meh)
<adambeynon> fkchang: for now, just hand rolling our own could be the best option
<adambeynon> the parser keeps the tree in tact
<adambeynon> so we can just walk it for all def nodes
<adambeynon> and for now, holding all comments and the actual implementation for each method
<fkchang> adambeynon: I would imagine there is only some overlap with any existing doc lib
<fkchang> hermeht: is that your full first name? I realize I only know you by your handle
<hermeht> fkchang, no, this is the nick I use during the hermit week
<hermeht> everyone just calls me meh, even IRL
DouweM has quit [Ping timeout: 245 seconds]
<adambeynon> fkchang: roughly, this is what im thinking the parser could generate
<adambeynon> basically, method source code for each method as a string
<adambeynon> and comments, if present, for each method as a string - with indentation removed
elia has quit [Read error: Operation timed out]
<hermeht> now if only I understood why the hell it's sending OPTIONS requests instead of GET
<fkchang> adambeynon: that would work. Would you compile all comments for a single method (they could be before it for describing the method, and interspersed throughout) into one big string? I think that's why I think maybe combining the code and comments together would work, i.e. don't strip out the comments when storing
elia has joined #opal
elia has quit [Ping timeout: 240 seconds]
<adambeynon> fkchang: so ALL the code and comments (before + during method) together?
<fkchang> adambeynon: makes more sense since ppl can and will put comments anywhere in the code
<fkchang> no?
<adambeynon> yes, does make sense
<adambeynon> what about class/module comments
<fkchang> associate w/the class, along w/comments for constants and class variables
<fkchang> I guess we need to store comments on those, but w/o code
<fkchang> If I look at amber-lang I see they separated out the comments, but I don't think that makes sense for ruby which typically has comments all over the place
<fkchang> related, but not for this go, would could take advantage of yarddoc for coding assistance
GitHub124 has joined #opal
<GitHub124> [opal] adambeynon pushed 1 new commit to master: http://git.io/cSEKkw
<GitHub124> opal/master 2161520 Adam Beynon: Build runtime with const_missing disabled
GitHub124 has left #opal [#opal]
<adambeynon> fkchang: I agree that keeping them together probably makes sense
elia has joined #opal
travis-ci has joined #opal
travis-ci has left #opal [#opal]
<travis-ci> [travis-ci] opal/opal#1068 (master - 2161520 : Adam Beynon): The build passed.
<travis-ci> [travis-ci] Build details : http://travis-ci.org/opal/opal/builds/12240591
elia has quit [Ping timeout: 264 seconds]
<hermeht> I hate W3C so much
<hermeht> they're why we can't have nice things
<hermeht> I wish gopher won over http
<adambeynon> hermeht: do you use IO for anything other than stringio ?
<hermeht> adambeynon, yes, Browser::Socket
<hermeht> adambeynon, why?
<adambeynon> hermeht: just wondering
<adambeynon> hermeht: was thinking about "mopal" and which classes could/might be removed from a smaller runtime
<hermeht> what's wrong with rubygems
<hermeht> it's failing installing some gems
<hermeht> :(
elia has joined #opal
fkchang has quit [Ping timeout: 264 seconds]
<hermeht> who came up with CORS should be forced to implement CORS compatible services until his death
<elia> adambeynon: i checked my coy of asupport and seamed clean
<elia> adambeynon: have you tried git fetch --prune
<elia> d?
<elia> *?
elia has quit [Remote host closed the connection]
elia has joined #opal
elia has quit [Remote host closed the connection]
elia has joined #opal
elia has quit [Remote host closed the connection]
fkchang has joined #opal
adambeynon has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
[spoiler] has quit [Remote host closed the connection]
[spoiler] has joined #opal
lupine has joined #opal
adambeynon has joined #opal
elia has joined #opal
elia has quit [Remote host closed the connection]
[spoiler] has quit [Quit: Leaving]
[spoiler] has joined #opal
[spoiler] has quit [Quit: Leaving]
<adambeynon> I hate sprockets.
<fkchang> sorry
<hermeht> adambeynon, toldya
GitHub40 has joined #opal
GitHub40 has left #opal [#opal]
<GitHub40> opal/master 8199de6 Adam Beynon: Rename docs to camel_case
<GitHub40> [opal] adambeynon pushed 1 new commit to master: http://git.io/QBy2KA
<adambeynon> hermeht: it raises circual dependency issues. why cant it just ignore them like any other require system?
<adambeynon> cant get minitest or rspec to work in opal because of it
<hermeht> let's just say bye to sprockets :<
<hermeht> I hate it
<hermeht> it only creates bugs
<hermeht> we can find a better way to fit in the sprockets workflow
travis-ci has joined #opal
<travis-ci> [travis-ci] Build details : http://travis-ci.org/opal/opal/builds/12248199
<travis-ci> [travis-ci] opal/opal#1069 (master - 8199de6 : Adam Beynon): The build was broken.
travis-ci has left #opal [#opal]
GitHub75 has joined #opal
<GitHub75> opal/master e5def5e Adam Beynon: Filter out a new broken spec in rubyspec update
<GitHub75> [opal] adambeynon pushed 1 new commit to master: http://git.io/trLnGw
GitHub75 has left #opal [#opal]
travis-ci has joined #opal
<travis-ci> [travis-ci] opal/opal#1070 (master - e5def5e : Adam Beynon): The build was fixed.
<travis-ci> [travis-ci] Build details : http://travis-ci.org/opal/opal/builds/12248370
travis-ci has left #opal [#opal]
elia has joined #opal
<adambeynon> hermeht: for rspec, I might release opal-rspec with a prebuilt version of rspec, so I can manually fix its faults
<adambeynon> using Opal::Builder, for example
<hermeht> so hacky
<adambeynon> yeh. but maintaining opal-spec seems silly. and less work than getting rspec to work
<adambeynon> also, if we ever get around the sprockets issues, then we still need opal-rspec to add a custom formatter for spec results etc
<elia> adambeynon, hermeht, whatzup? porting rspec?
<adambeynon> elia: trying. mostly there. main issue is with sprockets
<adambeynon> circular dependencies
<elia> adambeynon, never fought with them, but I can try to drill down
<adambeynon> elia: from what I can see, it is to do with how sprockets handles caching of assets. if file A requires B, and B then requires A, sprockets gives up as it cant determine when one needs to be recompiled
<elia> adambeynon, repo, gist, or I try with vanilla rspec?
<adambeynon> elia: Im working with vanilla rspec
<elia> build_gem ?
<adambeynon> use_gem "rspec"
<adambeynon> use_gem "rspec-core"
<elia> adambeynon, I get a parse error:
<elia> parse error on value \"with\" (IDENTIFIER) :rspec/core:93\n (in /Users/elia/.rvm/gems/ruby-2.0.0-p247/gems/rspec-core-2.14.5/lib/rspec/core.rb)
hermeht has quit [Ping timeout: 240 seconds]
<elia> adambeynon, if it's of any consolation textmate fails at parsing it too :)
<adambeynon> ahhhh ruby. thats a new one on me
<adambeynon> looks like some bug fixes too, then.
<elia> adambeynon, I can't get to the circular dependencies issue…
adambeynon has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
fkchang has quit [Remote host closed the connection]
elia has quit [Quit: Computer has gone to sleep.]
elia has joined #opal
fkchang has joined #opal
elia has quit [Quit: Computer has gone to sleep.]