00:46
hermeht has quit [Ping timeout: 246 seconds]
01:39
ryanstout has joined #opal
02:08
e_dub has joined #opal
02:59
ryanstout has quit [Quit: ryanstout]
03:26
DrShoggoth has quit [Quit: Leaving]
04:43
e_dub has quit [Ping timeout: 240 seconds]
04:56
e_dub has joined #opal
05:01
harrow has quit [Ping timeout: 252 seconds]
05:03
harrow has joined #opal
07:54
adambeynon has joined #opal
08:14
elia has joined #opal
08:19
elia has quit [Ping timeout: 245 seconds]
08:20
elia has joined #opal
08:24
elia has quit [Client Quit]
08:28
GitHub48 has joined #opal
08:28
<
GitHub48 >
opal/master 0078289 Adam Beynon: Allow begin...end blocks to be used as expressions (fixes #147)
08:28
GitHub48 has left #opal [#opal]
08:31
travis-ci has joined #opal
08:31
travis-ci has left #opal [#opal]
08:31
<
travis-ci >
[travis-ci] opal/opal#1063 (master - 0078289 : Adam Beynon): The build passed.
08:43
e_dub has quit [Ping timeout: 245 seconds]
08:47
elia has joined #opal
08:56
e_dub has joined #opal
09:03
DouweM has joined #opal
09:30
[spoiler] has joined #opal
09:30
kludge` has quit [Ping timeout: 246 seconds]
09:35
kludge` has joined #opal
10:04
GitHub9 has joined #opal
10:04
GitHub9 has left #opal [#opal]
10:04
<
GitHub9 >
opal/master 888b783 Adam Beynon: Improve parser/codegen support for paren expressions (fixes #291)
10:07
travis-ci has joined #opal
10:07
<
travis-ci >
[travis-ci] opal/opal#1064 (master - 888b783 : Adam Beynon): The build passed.
10:07
travis-ci has left #opal [#opal]
11:08
elia has quit [Ping timeout: 256 seconds]
11:11
elia has joined #opal
11:23
e_dub has quit [Quit: It's a hard knock life]
11:30
hermeht has joined #opal
11:37
<
hermeht >
adambeynon, yo
12:59
<
hermeht >
adambeynon, ping
13:24
<
adambeynon >
hermeht: yo yoo
13:24
<
adambeynon >
sorry, lunch break :)
13:24
<
adambeynon >
back nwo though..
13:24
<
hermeht >
no worries, I "solved" it
13:24
<
hermeht >
for some reason rackup is not telling me it's up and running now
13:24
<
hermeht >
or maybe it's sinatra
13:25
<
hermeht >
so I thought it wasn't working
13:28
<
adambeynon >
performance of "foo" vs new String("foo") is interesting
13:29
<
adambeynon >
as in, would doing: a = "foo". a.$upcase(); a.$foo()
13:29
<
adambeynon >
be worse than
13:29
<
adambeynon >
a = new string("foo")
13:29
<
adambeynon >
a would need to be converted into a string object twice
13:30
<
hermeht >
I think it's cached internally
13:30
<
adambeynon >
yeh, also, is there any benefit of having string objects if they are still immutable
13:30
<
adambeynon >
which, is the main benefit of ruby strings
13:30
<
adambeynon >
(or annoyance, depending on your view)
13:31
<
hermeht >
other than being able to store properties on it?
13:31
<
hermeht >
and having retarded == issues, no
13:31
<
hermeht >
> new String("lol") == "lol"
13:31
<
hermeht >
> new String("lol") == new String("lol")
13:32
[spoiler]_ has joined #opal
13:33
<
hermeht >
adambeynon, could you add ^D handling in opal-repl?
13:34
<
hermeht >
I'm used to closing the repl with ^D rather than ^C
13:35
[spoiler] has quit [Ping timeout: 245 seconds]
13:36
<
adambeynon >
hermeht: what signal does it send? ^C is SIGINT
13:37
[spoiler]_ is now known as [spoiler]
13:38
<
adambeynon >
or, its EOF it seems? I have no idea
13:40
<
adambeynon >
hermeht: whichever it is, that commit should work ^^
13:40
GitHub25 has joined #opal
13:40
<
GitHub25 >
opal/master 9fa23ed Adam Beynon: [opal-repl] ^D/EOF should exit repl
13:40
GitHub25 has left #opal [#opal]
13:43
travis-ci has left #opal [#opal]
13:43
travis-ci has joined #opal
13:43
<
travis-ci >
[travis-ci] opal/opal#1065 (master - 9fa23ed : Adam Beynon): The build passed.
15:15
<
hermeht >
here we go, REST adapter
15:18
<
elia >
hermeht, adambeynon, btw I don't like very much having documentation out of the code… 2¢
15:20
<
adambeynon >
elia: I think we need a doc/ directory in opal/opal
15:20
<
elia >
adambeynon, agree
15:20
<
adambeynon >
opalrb.org could even pull it out and make it pretty
15:21
<
adambeynon >
infact, Im half thinking of putting the opalrb.org code inside opal/opal
15:21
<
adambeynon >
the website code is really small now anyway
15:21
<
elia >
in my dreams that's part of `rake release` along with uploading compiled opal.js & co to github releases
15:23
<
elia >
adambeynon, I can move the wiki to opal/docs if you give me greenlight
15:24
<
adambeynon >
elia: yeh, go ahead
15:24
<
adambeynon >
if you have time
15:24
<
adambeynon >
if not, I can add it to the list of "things to do" ;)
15:24
<
adambeynon >
also, if you ever use rubymotion then bubblewrap is so awesome
15:24
<
elia >
adambeynon, easy peasy being the wiki a git repo ;)
15:25
<
hermeht >
why is bundle update so slow :(
15:25
<
elia >
adambeynon, id like to, never had chance
15:25
<
elia >
hermeht, prerelease version should have concurrency IIRC
15:25
<
hermeht >
--pre here we go
15:26
<
adambeynon >
elia: ohhh, also, If you can get rid of all the old history in opal-activesupport
15:26
<
adambeynon >
I dotn know how, otherwise I would ;)
15:27
<
elia >
adambeynon, will do
15:29
<
hermeht >
fuck this shit, everything's broken
15:33
GitHub77 has joined #opal
15:33
<
GitHub77 >
opal/master 498d507 adambeynon: Migrated from home v1
15:33
<
GitHub77 >
opal/master 2fe1c79 adambeynon: Migrated from home v2
15:33
GitHub77 has left #opal [#opal]
15:33
<
GitHub77 >
opal/master 4f55dd5 adambeynon: Initial Commit
15:34
GitHub126 has joined #opal
15:34
<
GitHub126 >
opal/master b187b2c Elia Schito: Remove empty file from the wiki
15:34
GitHub126 has left #opal [#opal]
15:34
<
adambeynon >
git always amazes me
15:34
<
adambeynon >
also: "Destroyed Cappuccino Integration (textile)"
15:35
<
adambeynon >
Cappuccino support? has opal really existed for that long?
15:36
<
hermeht >
adambeynon, it's been at least 2 years
15:37
travis-ci has joined #opal
15:38
<
travis-ci >
[travis-ci] opal/opal#1066 (master - 6f56451 : Elia Schito): The build passed.
15:38
travis-ci has left #opal [#opal]
15:38
travis-ci has joined #opal
15:38
<
travis-ci >
[travis-ci] opal/opal#1067 (master - b187b2c : Elia Schito): The build passed.
15:38
travis-ci has left #opal [#opal]
15:38
<
elia >
66 commits, my github profile square for today will be bright green :)
15:39
<
hermeht >
are they all private repos or what
15:40
<
elia >
it's just wiki's history
15:40
<
hermeht >
oh, that one lol
15:41
<
adambeynon >
so, time to close the wiki?
15:41
<
elia >
adambeynon, think so
15:43
fkchang has joined #opal
15:44
<
hermeht >
hey fkchang
15:50
<
fkchang >
adambeynon: did a first cut of what I wanted w/source code in the github issue
15:51
<
adambeynon >
fkchang: yeah, just saw it
15:52
<
fkchang >
cool, let me know if it doesn't make sense
15:52
<
adambeynon >
fkchang: Im wondering if there is a simple doc lib for ruby which could actually handle this for us
15:52
<
adambeynon >
rdoc etc are obviously way over the top
15:52
<
adambeynon >
but we might be trying to reinvent the wheel. also, if its already done, it might save us some time
15:53
<
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
16:24
<
fkchang >
hermeht: you rang?
16:24
<
hermeht >
fkchang, nah, just heyd you (it's meh)
16:27
<
adambeynon >
fkchang: for now, just hand rolling our own could be the best option
16:27
<
adambeynon >
the parser keeps the tree in tact
16:27
<
adambeynon >
so we can just walk it for all def nodes
16:28
<
adambeynon >
and for now, holding all comments and the actual implementation for each method
16:28
<
fkchang >
adambeynon: I would imagine there is only some overlap with any existing doc lib
16:29
<
fkchang >
hermeht: is that your full first name? I realize I only know you by your handle
16:33
<
hermeht >
fkchang, no, this is the nick I use during the hermit week
16:33
<
hermeht >
everyone just calls me meh, even IRL
16:35
DouweM has quit [Ping timeout: 245 seconds]
16:39
<
adambeynon >
fkchang: roughly, this is what im thinking the parser could generate
16:39
<
adambeynon >
basically, method source code for each method as a string
16:40
<
adambeynon >
and comments, if present, for each method as a string - with indentation removed
16:43
elia has quit [Read error: Operation timed out]
16:46
<
hermeht >
now if only I understood why the hell it's sending OPTIONS requests instead of GET
16:58
<
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
17:04
elia has joined #opal
17:09
elia has quit [Ping timeout: 240 seconds]
17:14
<
adambeynon >
fkchang: so ALL the code and comments (before + during method) together?
17:15
<
fkchang >
adambeynon: makes more sense since ppl can and will put comments anywhere in the code
17:16
<
adambeynon >
yes, does make sense
17:16
<
adambeynon >
what about class/module comments
17:17
<
fkchang >
associate w/the class, along w/comments for constants and class variables
17:17
<
fkchang >
I guess we need to store comments on those, but w/o code
17:20
<
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
17:22
<
fkchang >
related, but not for this go, would could take advantage of yarddoc for coding assistance
17:28
GitHub124 has joined #opal
17:28
<
GitHub124 >
opal/master 2161520 Adam Beynon: Build runtime with const_missing disabled
17:28
GitHub124 has left #opal [#opal]
17:28
<
adambeynon >
fkchang: I agree that keeping them together probably makes sense
17:30
elia has joined #opal
17:32
travis-ci has joined #opal
17:32
travis-ci has left #opal [#opal]
17:32
<
travis-ci >
[travis-ci] opal/opal#1068 (master - 2161520 : Adam Beynon): The build passed.
17:35
elia has quit [Ping timeout: 264 seconds]
17:35
<
hermeht >
I hate W3C so much
17:35
<
hermeht >
they're why we can't have nice things
17:38
<
hermeht >
I wish gopher won over http
17:57
<
adambeynon >
hermeht: do you use IO for anything other than stringio ?
17:57
<
hermeht >
adambeynon, yes, Browser::Socket
17:58
<
hermeht >
adambeynon, why?
17:59
<
adambeynon >
hermeht: just wondering
18:04
<
adambeynon >
hermeht: was thinking about "mopal" and which classes could/might be removed from a smaller runtime
18:28
<
hermeht >
what's wrong with rubygems
18:28
<
hermeht >
it's failing installing some gems
18:47
elia has joined #opal
18:47
fkchang has quit [Ping timeout: 264 seconds]
18:48
<
hermeht >
who came up with CORS should be forced to implement CORS compatible services until his death
18:49
<
elia >
adambeynon: i checked my coy of asupport and seamed clean
18:49
<
elia >
adambeynon: have you tried git fetch --prune
18:51
elia has quit [Remote host closed the connection]
18:53
elia has joined #opal
18:54
elia has quit [Remote host closed the connection]
19:00
elia has joined #opal
19:00
elia has quit [Remote host closed the connection]
19:02
fkchang has joined #opal
19:35
[spoiler] has quit [Remote host closed the connection]
19:45
[spoiler] has joined #opal
19:46
lupine has joined #opal
19:47
adambeynon has joined #opal
19:51
elia has joined #opal
19:51
elia has quit [Remote host closed the connection]
19:56
[spoiler] has quit [Quit: Leaving]
19:58
[spoiler] has joined #opal
20:09
[spoiler] has quit [Quit: Leaving]
20:25
<
adambeynon >
I hate sprockets.
20:41
<
hermeht >
adambeynon, toldya
20:42
GitHub40 has joined #opal
20:42
GitHub40 has left #opal [#opal]
20:42
<
GitHub40 >
opal/master 8199de6 Adam Beynon: Rename docs to camel_case
20:43
<
adambeynon >
hermeht: it raises circual dependency issues. why cant it just ignore them like any other require system?
20:43
<
adambeynon >
cant get minitest or rspec to work in opal because of it
20:43
<
hermeht >
let's just say bye to sprockets :<
20:43
<
hermeht >
I hate it
20:43
<
hermeht >
it only creates bugs
20:43
<
hermeht >
we can find a better way to fit in the sprockets workflow
20:45
travis-ci has joined #opal
20:45
<
travis-ci >
[travis-ci] opal/opal#1069 (master - 8199de6 : Adam Beynon): The build was broken.
20:45
travis-ci has left #opal [#opal]
20:46
GitHub75 has joined #opal
20:46
<
GitHub75 >
opal/master e5def5e Adam Beynon: Filter out a new broken spec in rubyspec update
20:46
GitHub75 has left #opal [#opal]
20:50
travis-ci has joined #opal
20:50
<
travis-ci >
[travis-ci] opal/opal#1070 (master - e5def5e : Adam Beynon): The build was fixed.
20:50
travis-ci has left #opal [#opal]
21:28
elia has joined #opal
21:32
<
adambeynon >
hermeht: for rspec, I might release opal-rspec with a prebuilt version of rspec, so I can manually fix its faults
21:32
<
adambeynon >
using Opal::Builder, for example
21:37
<
adambeynon >
yeh. but maintaining opal-spec seems silly. and less work than getting rspec to work
21:38
<
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
21:41
<
elia >
adambeynon, hermeht, whatzup? porting rspec?
21:41
<
adambeynon >
elia: trying. mostly there. main issue is with sprockets
21:42
<
adambeynon >
circular dependencies
21:42
<
elia >
adambeynon, never fought with them, but I can try to drill down
21:43
<
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
21:43
<
elia >
adambeynon, repo, gist, or I try with vanilla rspec?
21:43
<
adambeynon >
elia: Im working with vanilla rspec
21:50
<
adambeynon >
use_gem "rspec"
21:50
<
adambeynon >
use_gem "rspec-core"
22:09
<
elia >
adambeynon, I get a parse error:
22:10
<
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)
22:10
hermeht has quit [Ping timeout: 240 seconds]
22:13
<
elia >
adambeynon, if it's of any consolation textmate fails at parsing it too :)
22:17
<
adambeynon >
ahhhh ruby. thats a new one on me
22:17
<
adambeynon >
looks like some bug fixes too, then.
22:18
<
elia >
adambeynon, I can't get to the circular dependencies issue…
22:18
adambeynon has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
22:18
fkchang has quit [Remote host closed the connection]
22:25
elia has quit [Quit: Computer has gone to sleep.]
22:39
elia has joined #opal
22:53
fkchang has joined #opal
23:10
elia has quit [Quit: Computer has gone to sleep.]