Show enters and exits. Hide enters and exits.
| 07:12:45 | tarcieri | I assume you've all seen this already, but... |
| 07:12:46 | tarcieri | http://www.sdtimes.com/blog/post/2010/01/30/Facebook-rewrites-PHP-runtime.aspx |
| 07:15:48 | Zoxc | I don't really care about PHP and I haven't seen that |
| 07:16:04 | tarcieri | heh |
| 07:16:22 | tarcieri | I don't really care about PHP either, but I'm curious what the underlying technology is |
| 07:17:12 | Zoxc | I'm going to guess: nothing new |
| 07:18:23 | postmodern | im guessing they added new bugs |
| 07:18:34 | postmodern | NuBug Technology (tm) |
| 07:20:04 | tarcieri | Zoxc: yes, and Rubinius is nothing new :P |
| 07:22:10 | Zoxc | A) I care about Ruby, B) I'm betting Rubinius is more advanced than that PHP reimplementation |
| 07:22:55 | tarcieri | well by "you all" perhaps I should've said "evan" |
| 07:22:56 | tarcieri | heh |
| 10:28:17 | slava | tarcieri: its kind of impossible to make a good php implementation |
| 11:01:15 | postmodern | and facebook is not known for their language designers |
| 13:21:39 | Kero | bug report in order for this? http://pastebin.com/m53057e37 debian unstable; I did git clone && ./configure && rake |
| 13:22:43 | matthewd | Kero: Happen to have a 'ulimit -v' set? |
| 13:23:07 | matthewd | Or, I guess, something else that may cause rubinius to run out of available memory? |
| 13:24:12 | matthewd | Sounds similar to http://github.com/evanphx/rubinius/issues/issue/178 |
| 13:24:43 | Kero | no ulimit, and only 100k of swap in use (after test, but I'd expect that to be more if I ran out of memory) |
| 13:26:49 | dbussink | Kero: is it reproducable for each run? |
| 13:27:01 | Kero | that does not look similar to me. but then I just tried to install rubinius, I've not done anything with it before. |
| 13:28:10 | matthewd | Kero: Well, the similar bit is just that (with a ulimit), I saw the same backtrace (in saw_object) |
| 13:28:28 | matthewd | But yeah... for me, removing my ulimit made the problem go away... so, may be unrelated |
| 13:29:15 | Kero | dbussink: lemme try. would be nice to know which rake task specifically it happens in. |
| 13:29:29 | dbussink | Kero: the command is given at the top |
| 13:30:22 | Kero | that was just `rake` |
| 13:31:00 | matthewd | Kero: The top line of your paste is the command rake was running |
| 13:31:08 | dbussink | Kero: that builds and subsequently runs all the specs with the command at the top there |
| 13:31:38 | Kero | mm, wrong swap usage; was looking a the wrong machine. second run doe not crash |
| 13:34:15 | Kero | that top line does not run. I used a prefix. |
| 13:35:56 | Kero | without swap, no crash. i.e. not reproducable. race condition? |
| 13:36:41 | slava | dbussink: what's the difference between rubyspec in the rubyspec repo, and the rubyspec in the rbx repo? |
| 13:37:52 | dbussink | slava: rubyspec in the rbx is synced every once in a while |
| 13:38:33 | dbussink | slava: main reason is that for ci purposes we don't want to have them in sync, since that would create a lot of noise when new specs that are added fail |
| 13:38:58 | dbussink | slava: rubyspec actually started as part of rbx but it was split off |
| 13:47:28 | slava | ah, gotcha |
| 14:10:38 | Kero | couple of reruns, no crashes. So the original q remains, do you want a bug report? |
| 15:07:46 | goyox86 | Hi all, I'm interested in helping Rubinius i've read the getting started guide and it encourages to look here for directions |
| 15:08:43 | goyox86 | So, anyone can give me a clue of where to start? |
| 15:15:15 | kronos_vano | I rewrite Array#pack. bin/mspec spec/ruby/core/array/pack_spec.rb => 1 file, 303 examples, 657 expectations, 135 failures, 40 errors. Something wrong :) |
| 15:16:05 | kronos_vano | goyox86, See spec/tags and make test passed :) |
| 15:19:53 | kronos_vano | goyox86, use common chat pls. I think you need evan. He is maintainer. About your question: I dunno. I just select spec and make patch :) pretty easy |
| 15:21:45 | Zoxc | rewrite the GC |
| 15:22:07 | kronos_vano | ))) |
| 15:30:08 | tarcieri | slava: haha |
| 15:30:39 | tarcieri | funny how there was never a "PHP doesn't scale" argument |
| 15:30:40 | tarcieri | heh |
| 15:31:24 | tarcieri | I guess there was the guy showing how much electricity Facebook could save if they rewrote their entire PHP codebase in C++ |
| 18:54:46 | evan | Zoxc: stop telling people to rewrite the GC. |
| 18:54:49 | evan | you're confusing them. |
| 18:55:01 | evan | for the record, we do not need the GC rewritten. |
| 18:56:24 | Zoxc | the point was to hopefully confuse them :) |
| 19:06:51 | tonio6 | hoy maties! |
| 19:07:20 | evan | Zoxc: :) |
| 19:07:26 | evan | tonio6: allo allo. |
| 19:07:29 | tonio6 | does Rubinius use a C++ testing framework? |
| 19:07:40 | tonio6 | for the VM code |
| 19:08:06 | evan | yeah |
| 19:08:07 | evan | cxxtest |
| 19:08:10 | evan | it's pretty meh. |
| 19:08:18 | evan | but it sucks less that all the others. |
| 19:08:26 | evan | that I tried. |
| 19:09:21 | tonio6 | very well, I'm ill-accustumed with ruby but I'm starting a C++ project and would like to do things right... with testing and documentation |
| 19:09:31 | tonio6 | you use oxygen for docs? |
| 19:09:46 | tonio6 | *doxygen |
| 19:09:46 | evan | doxygen? we have |
| 19:09:50 | evan | we don't run it often enough |
| 19:09:54 | evan | in time, we will use it more. |
| 19:10:39 | evan | tonio6: i'm honored to be held up as the right way to write a C++ project, thanks! |
| 19:10:47 | tonio6 | I have you guys in high-regard, wrt code quality and code good-taste so I decided to ask you |
| 19:11:23 | tonio6 | well, I have been keeping up with the project and from what I hear and see you guys strive to do things "The Right Way" |
| 19:12:10 | evan | thanks! |
| 19:12:15 | scoopr | I use my own testing framework for c++ stuff, http://github.com/scoopr/specific |
| 19:12:26 | tonio6 | scoopr: thanks, will check it out |
| 19:12:43 | scoopr | it's very small and simple =) |
| 19:13:04 | evan | for me |
| 19:13:07 | tonio6 | what matters is that you are doing tests |
| 19:13:29 | evan | the big thing was tests running automatically just by writing them |
| 19:13:42 | evan | surprisingly, thats not a feature other frameworks had. |
| 19:14:20 | kronos_vano | YAHOO |
| 19:14:23 | kronos_vano | I did it |
| 19:14:28 | dbussink | evan: frozen actually found the first issue: http://github.com/evanphx/rubinius/commit/9fb3828d98d9d49da176921ea2b9a27cf80210ed |
| 19:15:00 | evan | dbussink: ug. |
| 19:15:09 | evan | yeah, there are a few other methods that mutate the arguments |
| 19:15:15 | evan | they're really bad. |
| 19:15:18 | scoopr | tonio6, with http://github.com/scoopr/autobuild you can sorta automate running the tests :P |
| 19:15:20 | evan | so i'm glad frozen is helping. |
| 19:15:33 | dbussink | evan: was with running rails, i was able to run a webrick again after that fix |
| 19:15:40 | dbussink | evan: generating a new rails app fails though |
| 19:15:41 | evan | oh good. |
| 19:15:45 | evan | hm. ok |
| 19:16:03 | dbussink | evan: http://github.com/evanphx/rubinius/issues/issue/178 |
| 19:16:09 | dbussink | evan: looks like it's ObjectSpace related |
| 19:16:12 | kronos_vano | evan, http://gist.github.com/291199 now Array#pack almost fast as MRI :) |
| 19:16:24 | evan | dbussink: how so? |
| 19:16:25 | evan | ack |
| 19:16:26 | evan | guys |
| 19:16:27 | evan | sorry |
| 19:16:29 | evan | i have to run. |
| 19:16:33 | dbussink | evan: it's sunday yeah |
| 19:16:40 | tonio6 | scoopr: specific looks really nice. I'm an RSpec fan so this seems like a nice and simple approach |
| 19:16:44 | kronos_vano | k |
| 19:16:48 | dbussink | evan: well, it fails in code that matches stuff on object space, that's how far i got |
| 19:16:48 | evan | lets continue this on a work day! |
| 19:17:00 | dbussink | evan: hehe, for other people weekend is rbx time ;) |
| 19:17:35 | evan | kronos_vano: awesome! |
| 19:17:44 | evan | gets a giant gold star ready for kronos_vano |
| 19:17:51 | kronos_vano | cool |
| 19:18:06 | evan | dbussink: if you have any more info on that crash |
| 19:18:09 | evan | please put it in the ticket |
| 19:19:36 | evan | ok guys and gals, talk to ya later. |
| 19:21:31 | dbussink | kronos_vano: hmm, i find it harder to read the code you wrote |
| 19:23:56 | kronos_vano | Just patch my patch! if so :) I done the only one thing: remove parse by regexp (it is very slowly, because it can creates a lot of arrays) |
| 19:24:30 | dbussink | kronos_vano: well, maybe the parsing needs to be extracted to a separate method |
| 19:25:26 | dbussink | kronos_vano: or maybe some comments that explain what things do :) |
| 19:25:48 | kronos_vano | ok. |
| 23:04:49 | kronos_vano | ah.... code in pack.rb suxx :( |