Show enters and exits. Hide enters and exits.
| 00:23:21 | evan | quiet day |
| 00:24:35 | slava | hi evan |
| 00:24:57 | evan | hello slava |
| 00:27:09 | slava | I haven't gotten much done lately, having a difficult time implementing some algorithms |
| 00:27:28 | evan | still working on your cross block stuff? |
| 00:27:47 | slava | yeah |
| 00:28:06 | slava | how's your jit coming along? |
| 00:28:17 | evan | pretty good |
| 00:28:42 | evan | need to get blocks JIT'ing |
| 00:28:47 | evan | working on that now, sort of. |
| 00:28:53 | evan | got side tracked, looking at the code in Array |
| 00:34:56 | boyscout | Revise Array#slice! for speedup - f36b819 - Evan Phoenix |
| 00:34:57 | boyscout | Minor clean and optimization of Array#[]= - ef2a006 - Evan Phoenix |
| 00:34:57 | boyscout | Remove CompiledMethod#activate_as_script - a67580f - Evan Phoenix |
| 01:03:10 | brixen | le sigh |
| 01:05:03 | brixen | evan: read through some of these http://gist.github.com/126154 |
| 01:05:06 | evan | brixen: sup? |
| 01:05:25 | brixen | Float() converts String without calling #to_f |
| 01:05:37 | evan | oh come on! |
| 01:05:43 | brixen | Integer() raises if there are trailing underscores |
| 01:06:08 | tarcieri | wow |
| 01:06:14 | tarcieri | just tried doing AST munging in Ruby |
| 01:06:18 | tarcieri | mutable state is... handy |
| 01:06:37 | tarcieri | no goddamn mapfold_subtrees insanity |
| 01:06:50 | evan | brixen: i don't know if spec'ing that Float() must not use String#to_f is valid |
| 01:06:53 | evan | personally |
| 01:08:03 | brixen | evan: you get my pm? |
| 01:09:52 | brixen | git add -i is the poor man's merge but pretty effective |
| 01:10:19 | evan | yep |
| 03:48:12 | ddub | good evening everyone |
| 03:51:42 | yakischloba | evan: cuda? |
| 04:30:56 | brixen | http://gist.github.com/126236 |
| 04:31:27 | brixen | bullshit mri, bullshit bullshit bullshit |
| 04:31:43 | brixen | is in a bad mood trying to update rbx rubyspecs |
| 06:14:13 | boyscout | Updated MSpec source to d47b8987. - 3e33fab - Brian Ford |
| 06:14:13 | boyscout | Updated CI frozen specs to RubySpec 68fb64a5. - 607885a - Brian Ford |
| 06:14:13 | boyscout | Ported MRI fix for bigdecimal. - dcf61e8 - Brian Ford |
| 06:14:13 | boyscout | Fixed rb_str_resize to update cached data. - 585b948 - Brian Ford |
| 06:14:13 | boyscout | Fixed String() regexp for valid floating-point Strings. - 990b5ea - Brian Ford |
| 06:14:14 | boyscout | Updated CI tags for merged rubyspecs. - c33c67d - Brian Ford |
| 06:19:55 | boyscout | Removed inadvertently added MSpec gem. - fce471c - Brian Ford |
| 14:17:18 | badboy | hello |
| 16:07:32 | brixen | badboy_: hello |
| 16:57:07 | badboy | ok, re |
| 16:57:23 | badboy | someone here? i can't compile rubinius =( |
| 16:59:16 | brixen | badboy_: what platform are you on? |
| 17:00:55 | badboy | linux |
| 17:01:02 | badboy | arch linux to be precise |
| 17:01:18 | brixen | use pastie or gist to paste me what you get |
| 17:01:39 | badboy | yeah, i'm on it ;) |
| 17:02:23 | badboy | http://gist.github.com/126594 |
| 17:03:39 | brixen | hm, that's a new one |
| 17:03:43 | brixen | what gcc version? |
| 17:03:55 | badboy | [~]% gcc --version |
| 17:03:56 | badboy | gcc (GCC) 4.4.0 20090526 (prerelease) |
| 17:04:04 | brixen | good lord :P |
| 17:04:10 | brixen | so loves gcc |
| 17:04:14 | badboy | =D |
| 17:04:24 | brixen | badboy_: you might be the first to try on 4.4.0 :) |
| 17:04:31 | badboy | ah, ok :) |
| 17:04:37 | badboy | *install 3.4* |
| 17:04:43 | brixen | if you use 4.3.x you should be good |
| 17:04:51 | brixen | or send us a patch for 4.4 |
| 17:05:06 | badboy | ok, maybe i find some time tomorrow =D |
| 17:05:31 | brixen | I wonder if there is a gcc 4.4 package for ubuntu |
| 17:05:38 | brixen | I suppose I could build from source |
| 17:06:39 | badboy | i love arch linux =D |
| 17:06:53 | badboy | always bleeding edge :) |
| 17:06:57 | brixen | heh |
| 17:07:12 | badboy | and full control over installed packages |
| 17:07:20 | brixen | well, should be easy enough to fix up rbx |
| 17:07:33 | brixen | I just don't have any 4.4 installed at the moment |
| 17:07:36 | badboy | ok |
| 17:07:56 | badboy | i will try compiling with gcc 3.4.6 now |
| 17:08:13 | brixen | you should use at least 4.0 |
| 17:08:43 | badboy | damn...my cpu is so slow *zZzZzZ* |
| 17:10:22 | badboy | hm...another error... |
| 17:25:47 | badboy | dumdidum...compiling gcc 4.3 *zZzZzZ* |
| 17:26:58 | badboy | ok...chainging the related line from strchr to a simple (char*)strchr causes another error |
| 17:27:16 | badboy | grammar.y:201: error: 'tLAST_TOKEN' was not declared in this scope |
| 17:27:24 | badboy | i'll wait for gcc 4.3 to finish.. |
| 17:29:46 | brixen | badboy_: that's odd, I compile with 4.3.3 on ubuntu jaunty jackass without any errors |
| 17:30:10 | badboy | yeah...my 4.3.3 is not yet compiled ;) |
| 17:30:25 | badboy | the last_token error is from 4.4 too |
| 17:31:04 | brixen | ahh ok I see |
| 17:32:29 | badboy | ok, configure is running... |
| 17:55:28 | dbussink | brixen: i've been able to compile it with 4.4.0 on os x |
| 17:58:36 | brixen | dbussink: sweet |
| 17:58:40 | brixen | without errors? |
| 17:58:52 | brixen | or did you patch anything? |
| 17:59:01 | dbussink | brixen: yeah, although i don't think i rebuild any external deps like llvm etc. |
| 17:59:18 | dbussink | brixen: so it was kindof a frankenstein, but it did work :0 |
| 17:59:19 | dbussink | :) |
| 17:59:22 | brixen | heh |
| 17:59:40 | dbussink | works pretty well with macports actually |
| 17:59:43 | brixen | well, good to know the tradition of gcc being different on apple continues with 4.4 :) |
| 18:00:27 | dbussink | yeah, snow leopard will probably bring another gcc hybrid spawned in the bowls of cupertino |
| 18:09:14 | evan | morning |
| 18:14:18 | badboy | morning? |
| 18:19:47 | brixen | badboy_: heh, what tz are you in? |
| 18:32:19 | badboy | gmt +1 |
| 18:32:22 | badboy | germany =D |
| 18:32:24 | badboy | and you? |
| 18:33:40 | evan | badboy_: he's in PST -8 |
| 18:33:53 | brixen | badboy_: and so is evan :) |
| 18:34:08 | brixen | badboy_: so yeah, moring for us |
| 18:34:14 | brixen | er morning rather |
| 18:36:42 | evan | heh |
| 18:40:07 | badboy | ok... |
| 18:40:08 | evan | brixen: so, i'd love to read that paper on a generational GC for ruby |
| 18:40:11 | evan | sad that it's in japanese |
| 18:40:13 | evan | oh well. |
| 18:40:25 | badboy | *grml* gcc 4.3 is still compiling |
| 18:40:41 | evan | why are you compiling gcc 4.3? |
| 18:41:33 | badboy | because with gcc 4.4 I get an error compiling rubinius |
| 18:41:40 | evan | oh? |
| 18:41:42 | evan | what error? |
| 18:41:56 | badboy | and I hope gcc 4.3 will fix this..and if it does, I will try to patch the code to work with 4.4 aswell =D |
| 18:42:07 | badboy | http://gist.github.com/126594 |
| 18:42:09 | badboy | this |
| 18:42:26 | evan | oh, thats easy to fix |
| 18:43:07 | badboy | yeah, i thought that, too |
| 18:43:12 | evan | tmp just needs to be declared as a const char* |
| 18:43:16 | badboy | but fixing this error brings up another on... |
| 18:43:28 | evan | whats that one? |
| 18:43:59 | badboy | one moment... |
| 18:44:28 | badboy | first: YEHA! gcc 4.3 just finished^^ |
| 18:44:48 | evan | hah |
| 18:45:28 | badboy | vm/parser/grammar.y: In function 'quark rubinius::parser::id_to_quark(quark)': |
| 18:45:28 | badboy | vm/parser/grammar.y:201: error: 'tLAST_TOKEN' was not declared in this scope |
| 18:45:37 | evan | well now |
| 18:45:39 | evan | thats just not true |
| 18:45:52 | badboy | :) |
| 18:45:55 | brixen | evan: dbussink said he's compiled on os x using 4.4, so the gcc platform fun continues with that version |
| 18:46:06 | evan | woo. :( |
| 18:46:24 | brixen | badboy_ is on arch linux |
| 18:46:24 | evan | badboy_: um.. you're going to have to debug the bison output a little |
| 18:46:36 | evan | wow, arch. I didn't think people actually used arch. |
| 18:46:37 | evan | :D |
| 18:46:43 | badboy | o_O |
| 18:46:54 | badboy | http://archlinux.org/ it's great |
| 18:47:17 | badboy | i will try if my gcc 4.3 works and then test with this |
| 18:47:57 | evan | ok |
| 18:53:15 | badboy | i just saw the "vm/parser/grammar.y" line flushing over the screen...seems like 4.3 has no problems there |
| 18:54:02 | evan | badboy_: hm. ok. |
| 18:56:26 | badboy | aaaaaaaaaah! with gcc 4.3 it compiled successfully... |
| 18:56:32 | badboy | it's running the tests at the moment |
| 19:01:21 | badboy | 2709 files, 10679 examples, 33476 expectations, 12 failures, 0 errors |
| 19:03:24 | brixen | interesting |
| 19:03:37 | brixen | badboy_: could you pastie the spec failures |
| 19:03:41 | badboy | so it's definitely related to gcc4.4 -_- |
| 19:03:47 | badboy | yeah, of course |
| 19:05:22 | badboy | http://gist.github.com/126690 |
| 19:09:10 | evan | thats probably linux |
| 19:09:27 | badboy | you're on a mac? |
| 19:09:57 | evan | yep |
| 19:10:11 | badboy | ^^ |
| 19:11:28 | brixen | hrm, why are those Math specs not failing on linux |
| 19:11:46 | brixen | badboy_: what is the value of your MRI RUBY_PLATFORM const? |
| 19:11:46 | evan | they're failing |
| 19:11:50 | evan | just differently |
| 19:12:13 | evan | i think linux uses ERANGE instead of EDOM |
| 19:12:17 | badboy | [~]% irb |
| 19:12:17 | badboy | >> RUBY_PLATFORM |
| 19:12:17 | badboy | => "i686-linux" |
| 19:12:18 | brixen | yeah, the EDOM vs ERANGE is fucked |
| 19:12:21 | evan | we ran into this before at one point |
| 19:12:23 | brixen | badboy_: ok cool |
| 19:12:43 | brixen | we'll need to conditionalize that |
| 19:13:15 | brixen | or define the expected constant I suppose |
| 19:13:27 | brixen | in platform |
| 19:19:51 | brixen | evan: oh! can you kick boyscout CI |
| 19:19:57 | brixen | he hasn't reported in a long while |
| 19:20:06 | evan | surely. |
| 19:20:13 | brixen | I'm surprise that last failure about Date#civil is in there |
| 19:20:17 | brixen | it's supposed to be tagged |
| 20:12:29 | evan | weird! |
| 20:12:34 | evan | somehow we do the right thing for: |
| 20:12:43 | evan | class X; def initialize; yield; end; end; p X.new { break 42 } |
| 20:12:47 | evan | ie, print 42 |
| 20:15:01 | evan | ah, i know why |
| 20:15:02 | evan | funny. |
| 20:15:10 | evan | it's a wonderful reason too |
| 20:17:10 | evan | ie, our Class#new is not special in any way |
| 20:17:13 | evan | it's just ruby code |
| 20:17:15 | evan | love it! |
| 20:17:21 | brixen | heh, yeah |
| 20:17:48 | evan | I forget about the semantics of break-in-a-block |
| 20:58:19 | evan | muhaha |
| 20:58:21 | evan | i love LLVM. |
| 20:58:26 | evan | i got it wired up to JIT blocks |
| 20:58:42 | evan | so, as I test, I had it JIT "{ 1 }" |
| 20:58:51 | evan | and got |
| 20:58:51 | evan | 0x2980010 mov $0x3, %eax 0x2980015 ret |
| 20:58:54 | evan | thats it. |
| 20:58:58 | evan | 2 x86 instructions. |
| 20:58:58 | brixen | hah sweet! |
| 20:59:02 | brixen | no call |
| 20:59:10 | evan | well, this in the block body |
| 20:59:14 | brixen | ahh ok |
| 20:59:18 | evan | is this is post block invocation |
| 20:59:19 | evan | but still |
| 20:59:28 | brixen | yeah |
| 21:07:03 | devinus | is rubinius using the ruby parser yet? |
| 21:07:39 | evan | we've been using it for quite some time now |
| 21:07:57 | evan | we don't use it inside rubinius all the time because it slows things down too much |
| 21:08:02 | brixen | devinus: you can enable it in rbx by passing --ruby_parser |
| 21:08:15 | brixen | devinus: the rake tasks use it to compile the kernel as well |
| 21:09:10 | devinus | ok, i was just wondering because i just noticed it in a backtrace |
| 21:09:25 | brixen | backtrace of what? |
| 21:10:01 | devinus | brixen: i can't remember :-/ |
| 21:10:04 | brixen | heh |
| 21:10:05 | brixen | ok |
| 21:10:33 | devinus | this may sound stupid |
| 21:10:44 | devinus | but i'm actually using rubinius to teach myself ruby |
| 21:10:54 | brixen | cool! |
| 21:11:01 | brixen | that sounds like a great idea :) |
| 21:11:26 | devinus | it's a great learning tool to be able to go through all the ruby kernel and see what it does |
| 21:12:54 | devinus | for instance, i can see the ruby implementation of FalseClass |
| 21:13:16 | brixen | yeah, it's pretty cool to see that stuff in ruby |
| 21:22:50 | badboy | good night, guys ;) |
| 21:33:36 | dgtized | hmm something since yesterday caused this to fail: Date#civil doesn't blow up (illegal instruction and segfault, respectively) when fed huge numbers FAILED |
| 21:33:57 | dgtized | because of: Expected FloatDomainError but got FatalError (failed to allocate memory) |
| 21:34:25 | brixen | I just tagged that |
| 21:34:32 | brixen | did you pull recently? |
| 21:35:59 | brixen | evan: can you see if boyscout is getting notified |
| 21:52:02 | dgtized | brixen: ah, yup I see that now |
| 21:59:54 | brixen | dgtized: yeah, those are weird |
| 22:00:04 | brixen | I can't get it to happen in isolation |
| 22:00:23 | brixen | they're from merging an MRI patch to bigdecimal that prevents a segfault |
| 22:05:23 | rue | Have stubs generating. |
| 22:19:07 | evan | brixen: CI was hung |
| 22:19:11 | evan | brixen: i restarted it |
| 22:33:25 | brixen | evan: I've pushed since then |
| 22:33:43 | brixen | unless you mean just now CI was hung |
| 22:33:50 | evan | well, i restarted it... |
| 22:33:51 | evan | hm. |
| 22:34:09 | brixen | rubyspec irccat is reporting, so that made me wonder about boyscout |
| 22:34:27 | evan | hm, no, CI finished.... |
| 22:34:30 | evan | ponder... |
| 22:34:41 | evan | oh oops. |
| 22:39:37 | evan | ok, should be working now. |
| 22:39:52 | evan | double checking |
| 22:43:31 | boyscout | CI: d0ba11d success. 2709 files, 10677 examples, 33474 expectations, 1 failure, 0 errors |
| 22:44:52 | brixen | all righty |
| 22:48:19 | brixen | so wth does that run clean on ubuntu after that commit... |
| 23:21:02 | brixen | evan: I'm looking at Kernel/common/proc.rb line 39 in #binding, where do I get the static scope of the BlockEnvironment? |
| 23:21:39 | evan | from the CM the block uses |
| 23:21:53 | brixen | ok |
| 23:22:13 | brixen | sure 'nuff, thanks |
| 23:22:28 | evan | np |