Show enters and exits. Hide enters and exits.
| 00:00:49 | luislavena | fbuilesv: no problem, let me see. |
| 00:03:38 | luislavena | fbuilesv: 1 file, 3 examples, 3 expectations, 0 failures, 0 errors |
| 00:03:46 | luislavena | ruby 1.8.6 (2008-03-03 patchlevel 114) [i386-mswin32] |
| 00:03:51 | luislavena | that will fail in mingw32, btw. |
| 00:04:07 | luislavena | and mingw32 is the upcoming One-Click installer, just FYI |
| 00:04:40 | fbuilesv | luislavena: platform_is_not :mswin32, :mingw32 would satisfy it? |
| 00:04:45 | dormando enters the room. | |
| 00:05:08 | luislavena | fbuilesv: but will fail against mswin64 (there is a ruby build with VC9) :-P |
| 00:05:13 | fbuilesv | hah |
| 00:05:24 | luislavena | fbuilesv: mswin, mingw will be enough. |
| 00:06:35 | luislavena | I'll see what could be wrong with the pipes on ruby later :-P |
| 00:06:43 | luislavena | is not good these aren't working :P |
| 00:07:29 | kirindav_ enters the room. | |
| 00:09:33 | kirindav_ leaves the room. | |
| 00:10:57 | brainopia enters the room. | |
| 00:12:54 | boyscout | 1 commit by Federico Builes |
| 00:12:54 | boyscout | * Adds MinGW to the IO#popen spec guard; edd397c |
| 00:13:08 | fbuilesv | adamwiggins: I just pushed your patch, as rue said, thanks, pass your public key to evan if you want commit bit |
| 00:13:25 | fbuilesv | oops I missed something there |
| 00:14:20 | luislavena | fbuilesv: yep, you missed attribution ;-) |
| 00:14:28 | fbuilesv | luislavena: no, that was a minipatch I added |
| 00:14:29 | brainopia enters the room. | |
| 00:14:36 | fbuilesv | adam patch was applied under his name |
| 00:14:43 | adamwiggins | fbuilesv : Nice, you guys sure don't waste time |
| 00:14:50 | fbuilesv | but somehow it didn't show up in here, although it is in http://git.rubini.us/?p=code;a=summary |
| 00:15:36 | luislavena | adamwiggins: yeah, I love that... :) |
| 00:17:03 | fbuilesv | luislavena: sorry I missed your name in there, you'll find it here: http://rubinius.lighthouseapp.com/projects/5089-rubinius/tickets/506-specs-for-io-popen#ticket-506 -3 |
| 00:17:18 | luislavena | fbuilesv: no need to include me. |
| 00:18:01 | fbuilesv | luislavena: still did, you'll bask in the glory of the almighty Lighthouse and you'll enjoy it! |
| 00:18:13 | luislavena | fbuilesv: lol |
| 00:18:40 | lstoll enters the room. | |
| 00:19:01 | smparkes enters the room. | |
| 00:19:07 | twbray enters the room. | |
| 00:19:15 | luislavena | guys, it seems there is no Dir.tmpdir spec? |
| 00:20:35 | luislavena | I want to be safe to require 'tmpdir' in mspec spec... instead of the hardcoded /tmp/path. |
| 00:21:22 | rubuildius_amd64 | Federico Builes: edd397c82; 2090 files, 6570 examples, 22949 expectations, 0 failures, 0 errors; http://rafb.net/p/28Dfbt36.html |
| 00:21:38 | evanlight_ enters the room. | |
| 00:22:01 | imajes enters the room. | |
| 00:22:45 | trythil enters the room. | |
| 00:22:51 | fbuilesv | luislavena: it's not spec'd but it works under rbx (at least in Linux and OS X) |
| 00:24:28 | luislavena | fbuilesv: yep, the tmpdir.rb from MRI is there... btw, thre is Win32API code down there :-P |
| 00:24:40 | rubuildius_ppc | Federico Builes: edd397c82; 2090 files, 6573 examples, 22978 expectations, 0 failures, 0 errors; http://pastie.caboo.se/paste/183954 |
| 00:26:52 | fbuilesv | luislavena: will it always be windir/path? I thought the user was able to modify it |
| 00:27:20 | luislavena | fbuilesv: that's why the code uses the ENV... |
| 00:27:29 | luislavena | the part of the Win32API is wrong anyway... |
| 00:28:10 | fbuilesv | I see |
| 00:28:20 | luislavena | fbuilesv: GetSystemWindowsDirectory works, and return properly setup, mine is D:/Temp :-D |
| 00:29:26 | fbuilesv | luislavena: woudln't that return $WINDIR or however it's called instead of the temp? |
| 00:30:22 | twbray leaves the room. | |
| 00:30:23 | luislavena | fbuilesv: only if this is true: @@systmpdir = temp if File.directory?(temp) and File.writable?(temp) |
| 00:31:01 | luislavena | fbuilesv: in Dir::tmpdir @@systmpdir is used as last resort... |
| 00:32:09 | fbuilesv | luislavena: nah, I meant outside the scope of tmpdir.rb, was my bad reading, thought you said tha tGetSystemWindowsDirectory returned the tmp dir |
| 00:34:06 | luislavena | fbuilesv: oh, sorry, I sometimes forgot to spoke out /write what I have in my brain :-P |
| 00:34:24 | trythil leaves the room. | |
| 00:34:27 | trythil enters the room. | |
| 00:35:55 | evanlight_ leaves the room. | |
| 00:36:00 | evanlight enters the room. | |
| 00:37:15 | luislavena | anyone tried use reverse on the specs? just for the sake of spec individuality? |
| 00:37:18 | evanlight leaves the room. | |
| 00:38:52 | crafterm enters the room. | |
| 00:44:18 | fbuilesv | luislavena: Any suggestion on how to do that with mspec? I'd be happy to try it. |
| 00:45:00 | luislavena | fbuilesv: I'm done, need to update with your latests fixes :-) |
| 00:45:08 | luislavena | fbuilesv: about ot submit a patch to LH :-D |
| 00:45:13 | demisone leaves the room. | |
| 00:45:26 | fbuilesv | :-) |
| 00:48:38 | adamwiggins leaves the room. | |
| 00:51:01 | luislavena | fbuilesv: I need to use -k with format-patch ? |
| 00:51:33 | luislavena | fbuilesv: or I should submit numbered patches? |
| 00:52:15 | fbuilesv | luislavena: the -k is not necessary, you can just upload your patches unless there's a bazillion of them |
| 00:52:29 | luislavena | fbuilesv: only two... |
| 00:52:38 | fbuilesv | luislavena: just upload them to LH |
| 00:53:15 | ndemonner enters the room. | |
| 00:53:35 | luislavena | too bad LH only allows 1 attachment per ticket update/comment... |
| 00:53:44 | luislavena | http://rubinius.lighthouseapp.com/projects/5089-rubinius/tickets/507-patch-fixes-mspec-on-windows# ticket-507-2 |
| 00:54:52 | fbuilesv | luislavena: you can upload 1 and then upload the other one |
| 00:55:01 | luislavena | fbuilesv: done that :-D |
| 00:55:30 | luislavena | fbuilesv: now I can trust the results of mspec :-) |
| 00:55:34 | rphillips leaves the room. | |
| 00:55:57 | fbuilesv | luislavena: awesome, let us know how many specs fail on a vanilla run :) |
| 00:56:40 | luislavena | fbuilesv: just -t ruby spec/ruby/1.8 :-) |
| 00:57:32 | fbuilesv | luislavena: I'm sure there are more hardcoded paths and stuff around |
| 00:58:07 | luislavena | well, one step at time :-) |
| 00:58:24 | luislavena | knwo that I know mspec works, I can check the other specs :-) |
| 00:58:54 | luislavena | fbuilesv: great: |
| 00:59:24 | luislavena | http://pastie.caboo.se/private/dyttvqhwkplspqkooycw |
| 01:00:10 | fbuilesv | hah |
| 01:00:59 | fbuilesv | File.open('/tmp/empty.txt') |
| 01:01:23 | fbuilesv | as I told you, it'll be an interesting job trying to fix all the hardcoded strings in there but I'm sure it's necessary to start doing it |
| 01:03:22 | luislavena | fbuilesv: yep, that is a bad practice :-) |
| 01:03:37 | luislavena | fbuilesv: like assuming all your headers and libs are always inside /usr :-P |
| 01:03:52 | fbuilesv | luislavena: hah, all _my_ headers are there indeed :P |
| 01:04:39 | crafterm enters the room. | |
| 01:04:45 | luislavena | fbuilesv: but that will fail from distro to distro... hardcoded paths are the root of evil :D |
| 01:04:47 | crafterm enters the room. | |
| 01:04:58 | fbuilesv | luislavena: no, that would be "vi" :) |
| 01:05:37 | benny leaves the room. | |
| 01:06:29 | luislavena | fbuilesv: hehehe |
| 01:06:59 | fbuilesv | luislavena: your patch looks fine to me, lets hope brixen doesn't find a problem including tmpdir in the specs and applies it |
| 01:09:25 | qwert666 leaves the room. | |
| 01:09:36 | luislavena | fbuilesv: ok, can wait :-) |
| 01:12:50 | luislavena | fbuilesv: it seems will need to work on the same branch for the time being :-) |
| 01:13:51 | luislavena | fbuilesv: I don't see a problem with including tmpdir... that is a MRI error have it split from core :-P |
| 01:13:55 | imajes leaves the room. | |
| 01:14:34 | imajes enters the room. | |
| 01:15:21 | dblack enters the room. | |
| 01:15:24 | dblack | hello |
| 01:15:31 | fbuilesv | dblack: hi |
| 01:16:18 | fbuilesv | luislavena: I don't see any problem with doing it either but since it's gonna be included in a lot of specs someone might think of a clever way to add it to mspec |
| 01:16:50 | luislavena | fbuilesv: yes, a helper will be good. |
| 01:16:55 | fbuilesv | luislavena: I we're gonna be using Dir.tmpdir for each spec that needs cross platform tests a helper could fix that |
| 01:16:59 | fbuilesv | yes, that :) |
| 01:17:03 | luislavena | fbuilesv: in any case, the hardcoded /tmp/ is not a real problem actually. |
| 01:17:06 | imajes leaves the room. | |
| 01:17:34 | imajes enters the room. | |
| 01:17:43 | luislavena | not in this case really... I'm getting the rb_bug() thing no matter what filename I use :-P |
| 01:18:47 | fbuilesv | luislavena: is it only on the ungetc spec or are you getting it somewhere else? |
| 01:20:07 | luislavena | fbuilesv: nop, it cames from here: |
| 01:20:39 | luislavena | spec/ruby/1.8/core/io/new_spec.rb |
| 01:21:03 | luislavena | look at the @filename for the io_new shared specs. |
| 01:22:18 | fbuilesv | luislavena: what's the issue, the absolute path or the $$ ? |
| 01:22:20 | luislavena | when the fix I sent get applied, I'll work on getting all those annoying bits ironed. |
| 01:22:29 | luislavena | fbuilesv: the path, $$ is not an issue. |
| 01:22:31 | obiejuan enters the room. | |
| 01:23:01 | fbuilesv | luislavena: ok |
| 01:23:41 | luislavena | fbuilesv: thank you for your time man, I'm glad someone heard my screams :-D |
| 01:23:42 | fbuilesv | luislavena: I gotta run now but I'll make sure to talk to brixen to get something to make a tmpdir helper |
| 01:23:46 | fbuilesv | luislavena: np :) |
| 01:26:50 | hornbeck enters the room. | |
| 01:35:02 | RyanTM leaves the room. | |
| 01:36:01 | RyanTM enters the room. | |
| 01:38:14 | seanstickle enters the room. | |
| 01:40:58 | seanstickle | Is shotgun able to be used by other dynamic languages? |
| 01:45:02 | agardiner | seanstickle: it should be, but i don't know that anybody has tried very hard |
| 01:45:12 | seanstickle | ah, ok. |
| 01:45:19 | seanstickle | I guess this is the time when I start to read the source code |
| 01:45:24 | seanstickle | And learn shotgun assembly code |
| 01:45:27 | seanstickle | :) |
| 01:45:55 | agardiner | yeah, the easiest way is to just generate bytecode that shotgun can run |
| 01:46:27 | agardiner | what dynlang were you thinking of using with it? |
| 01:46:59 | lopex leaves the room. | |
| 01:47:13 | seanstickle | agardiner: scheme |
| 01:47:26 | agardiner | ah, ok |
| 01:47:26 | rubuildius_ppc leaves the room. | |
| 01:47:29 | rubuildius_ppc enters the room. | |
| 01:47:32 | seanstickle | but mostly just playing with the idea |
| 01:47:59 | agardiner | ok, well what you want to try and do is generate an .rbc file |
| 01:48:17 | agardiner | then you can just point shotgun at that and have it run |
| 01:48:36 | seanstickle | Fair enough. |
| 01:48:38 | seanstickle | Thanks! |
| 01:48:46 | agardiner | np |
| 01:49:33 | agardiner | check out http://rubini.us/doc/vm/ for details of the opcodes and .rbc file format |
| 01:50:13 | agardiner | but bear in mind that these are still in a state of flux, and will change when the new vm is switched in |
| 01:51:10 | seanstickle | Sure nuff. |
| 01:51:23 | seanstickle | All part of my vm edumacation |
| 01:51:36 | benny enters the room. | |
| 01:52:17 | lstoll_ enters the room. | |
| 01:57:20 | cremes enters the room. | |
| 02:01:22 | rubuildius_ppc | Federico Builes: edd397c82; 2090 files, 6573 examples, 22978 expectations, 0 failures, 0 errors; http://pastie.caboo.se/paste/183982 |
| 02:03:16 | brainopia leaves the room. | |
| 02:07:05 | Coderifous enters the room. | |
| 02:08:51 | lstoll leaves the room. | |
| 02:09:20 | lstoll enters the room. | |
| 02:11:17 | luislavena leaves the room. | |
| 02:14:51 | GMFlash leaves the room. | |
| 02:20:37 | antares enters the room. | |
| 02:21:05 | antares leaves the room. | |
| 02:27:34 | benburkert leaves the room. | |
| 02:30:16 | twbray enters the room. | |
| 02:30:29 | lstoll__ enters the room. | |
| 02:31:37 | imajes leaves the room. | |
| 02:32:45 | lstoll_ leaves the room. | |
| 02:37:30 | imajes enters the room. | |
| 02:38:10 | twbray leaves the room. | |
| 02:40:22 | lstoll__ leaves the room. | |
| 02:43:55 | antares enters the room. | |
| 02:45:25 | Fullmoon leaves the room. | |
| 02:46:07 | wdperson enters the room. | |
| 02:49:46 | lstoll leaves the room. | |
| 02:51:15 | wdperson leaves the room. | |
| 02:56:52 | headius enters the room. | |
| 02:57:57 | headius | yeehaw |
| 02:58:06 | dblack | hi headius |
| 02:59:16 | headius | hiya dblack |
| 02:59:19 | Jzalae enters the room. | |
| 02:59:34 | headius | off on any trips lately? |
| 02:59:41 | dblack | headius: actually not for a while |
| 02:59:46 | dblack | (for a change) |
| 03:00:02 | seanstickle | headius of jruby fame ? |
| 03:00:07 | headius | nice...I just had a two-day trip to san jose, but otherwise nothing til JavaOne |
| 03:00:23 | headius | seanstickle: of jruby, yes |
| 03:00:32 | dblack | seanstickle: do you know other headii? :-) |
| 03:00:53 | dblack | (i just had to get that latin plural in there somehow :-) |
| 03:01:07 | dblack | has compiled ruby 1.8.7 preview 2 |
| 03:01:08 | seanstickle | cute |
| 03:01:17 | dblack | i'm still not *quite* sure what the goal of 1.8.7 is |
| 03:01:17 | headius | twenty years ago when I was picking a BBS handle I guess I did ok |
| 03:01:24 | headius | have not ever run into any |
| 03:01:33 | headius | dblack: when you figure out, let me know |
| 03:01:47 | headius | I understand wanting to backport some features, but at this rate 1.8.x will be a slower 1.9 |
| 03:02:17 | dblack | i was kind of hoping that the 1.8 branch would continue to be developed without a lot of 1.9 features |
| 03:02:31 | dblack | i think ruby 1.8 is a great language and fully worth another version or two |
| 03:02:37 | headius | well, it certainly forces the issue for us getting 1.9 features implemented |
| 03:02:42 | headius | though so far they're the easy ones |
| 03:03:14 | seanstickle | Who's the lead on Cardinal? |
| 03:03:40 | headius | cardinal is dead |
| 03:03:44 | headius | but it was kevin tew |
| 03:03:45 | seanstickle | orly? |
| 03:04:19 | dblack | i guess it was dan sugalski (sp?) originally |
| 03:04:21 | headius | yeah, nothing's been done for well over a year, and parrot's probably been completely redesigned in the meantime :) |
| 03:04:27 | seanstickle | Fair enough |
| 03:04:32 | dblack | or am i confusing cardinal with parrot? |
| 03:04:38 | seanstickle | So no other Ruby on Parrot implementations currently? |
| 03:05:03 | AndrewO enters the room. | |
| 03:05:21 | headius | not that I'm aware of |
| 03:06:41 | seanstickle | Sweet |
| 03:07:04 | AndrewO leaves the room. | |
| 03:07:07 | brainopia enters the room. | |
| 03:09:32 | seanstickle | I guess I have my next project set up then |
| 03:10:49 | AndrewO enters the room. | |
| 03:26:08 | headius leaves the room. | |
| 03:30:11 | dewd enters the room. | |
| 03:31:14 | imajes leaves the room. | |
| 03:41:10 | ruivaldo enters the room. | |
| 03:42:10 | imajes enters the room. | |
| 03:42:52 | kw enters the room. | |
| 03:48:53 | seanstickle leaves the room. | |
| 03:50:10 | ruivaldo leaves the room. | |
| 03:51:26 | twbray enters the room. | |
| 03:51:39 | twbray leaves the room. | |
| 04:01:55 | benburkert enters the room. | |
| 04:09:30 | twbray enters the room. | |
| 04:10:06 | RyanTM leaves the room. | |
| 04:11:24 | imajes_ enters the room. | |
| 04:12:10 | dblack leaves the room. | |
| 04:12:27 | imajes leaves the room. | |
| 04:15:51 | twbray leaves the room. | |
| 04:18:31 | twbray enters the room. | |
| 04:22:08 | shanghaililly enters the room. | |
| 04:28:03 | twbray leaves the room. | |
| 04:31:38 | d2dchat enters the room. | |
| 04:41:38 | rphillips enters the room. | |
| 04:41:49 | rphillips leaves the room. | |
| 04:42:05 | d2dchat leaves the room. | |
| 04:42:07 | rphillips enters the room. | |
| 04:43:02 | obvio enters the room. | |
| 04:45:16 | imajes_ leaves the room. | |
| 04:45:44 | wmoxam_ leaves the room. | |
| 04:46:02 | shanghaililly leaves the room. | |
| 04:52:01 | wmoxam enters the room. | |
| 05:01:12 | dewd leaves the room. | |
| 05:02:56 | Coderifous leaves the room. | |
| 05:11:00 | lstoll enters the room. | |
| 05:21:14 | rudebwoy enters the room. | |
| 05:27:09 | agardiner leaves the room. | |
| 05:27:31 | AndrewO leaves the room. | |
| 05:27:52 | anteaya_ leaves the room. | |
| 05:32:55 | d2dchat enters the room. | |
| 05:34:21 | trythil_ enters the room. | |
| 05:34:21 | trythil leaves the room. | |
| 05:37:29 | be9 enters the room. | |
| 05:40:23 | jero5 leaves the room. | |
| 05:42:49 | agardiner enters the room. | |
| 05:51:08 | wmoxam leaves the room. | |
| 05:56:33 | srbaker enters the room. | |
| 06:05:22 | trythil_ leaves the room. | |
| 06:05:34 | trythil enters the room. | |
| 06:09:26 | fbuilesv leaves the room. | |
| 06:19:07 | rphillip1 enters the room. | |
| 06:20:24 | kirindav_ enters the room. | |
| 06:21:35 | rphillips leaves the room. | |
| 06:27:01 | jicksta leaves the room. | |
| 06:27:21 | jicksta enters the room. | |
| 06:33:40 | jtoy enters the room. | |
| 06:34:38 | srbaker leaves the room. | |
| 06:38:52 | MenTaLguY leaves the room. | |
| 06:45:01 | dlee enters the room. | |
| 06:46:17 | srbaker enters the room. | |
| 06:55:11 | srbaker leaves the room. | |
| 06:58:20 | dlee leaves the room. | |
| 07:04:11 | d2dchat leaves the room. | |
| 07:04:59 | headius enters the room. | |
| 07:05:15 | benburkert leaves the room. | |
| 07:05:52 | dctanner enters the room. | |
| 07:06:08 | agile leaves the room. | |
| 07:14:57 | agile enters the room. | |
| 07:15:19 | kirindav_ leaves the room. | |
| 07:20:03 | lstoll_ enters the room. | |
| 07:22:47 | dctanner leaves the room. | |
| 07:29:33 | lstoll leaves the room. | |
| 07:35:39 | crafterm leaves the room. | |
| 07:47:37 | benny leaves the room. | |
| 07:48:18 | headius leaves the room. | |
| 07:57:55 | zenspider | boyscout: you ok? |
| 07:58:06 | zenspider | oh. my push failed... hrm |
| 07:58:53 | boyscout | 1 commit by Ryan Davis |
| 07:58:54 | boyscout | * Added cluster_test, a distributed CI system; 991c6e6 |
| 08:04:29 | trythil leaves the room. | |
| 08:04:39 | trythil enters the room. | |
| 08:06:20 | rubuildius_amd64 | Ryan Davis: 991c6e613; 2090 files, 6570 examples, 22949 expectations, 0 failures, 0 errors; http://rafb.net/p/RaLXqH14.html |
| 08:08:52 | headius enters the room. | |
| 08:12:04 | rubuildius_ppc | Ryan Davis: 991c6e613; 2090 files, 6573 examples, 22978 expectations, 0 failures, 0 errors; http://pastie.caboo.se/paste/184069 |
| 08:15:53 | thehcdreamer enters the room. | |
| 08:19:38 | trythil_ enters the room. | |
| 08:19:38 | trythil leaves the room. | |
| 08:23:19 | rue | zenspider: boyscout has been a bit hazy today, too |
| 08:28:20 | dctanner enters the room. | |
| 08:29:40 | yaroslav enters the room. | |
| 08:31:06 | cypher23 enters the room. | |
| 08:34:19 | agardiner leaves the room. | |
| 08:34:35 | octopod enters the room. | |
| 08:36:46 | cypher23 leaves the room. | |
| 08:37:09 | cypher23 enters the room. | |
| 08:40:31 | mitchellvriley enters the room. | |
| 08:41:20 | dctanner leaves the room. | |
| 08:43:06 | trythil_ leaves the room. | |
| 08:48:02 | headius leaves the room. | |
| 08:56:52 | brainopia leaves the room. | |
| 08:58:22 | Maledictus enters the room. | |
| 09:00:42 | mutle enters the room. | |
| 09:03:56 | lstoll_ leaves the room. | |
| 09:06:32 | mitchellvriley leaves the room. | |
| 09:07:56 | qwert666 enters the room. | |
| 09:34:06 | kw leaves the room. | |
| 09:38:37 | VVSiz enters the room. | |
| 09:46:15 | dctanner enters the room. | |
| 09:50:59 | Arjen_ enters the room. | |
| 10:00:14 | obvio leaves the room. | |
| 10:05:28 | yaroslav leaves the room. | |
| 10:06:44 | yaroslav enters the room. | |
| 10:15:00 | demisone enters the room. | |
| 10:23:43 | tockitj enters the room. | |
| 10:38:03 | JimMc enters the room. | |
| 10:42:58 | zimbatm enters the room. | |
| 10:46:45 | imajes enters the room. | |
| 10:55:44 | imajes__ enters the room. | |
| 11:04:10 | imajes leaves the room. | |
| 11:05:35 | Fullmoon enters the room. | |
| 11:07:56 | ttmrichter_ leaves the room. | |
| 11:08:32 | Fullmoon leaves the room. | |
| 11:09:02 | ttmrichter_ enters the room. | |
| 11:09:08 | yaroslav leaves the room. | |
| 11:09:43 | yaroslav enters the room. | |
| 11:15:43 | dctanner leaves the room. | |
| 11:25:45 | dblack enters the room. | |
| 11:32:34 | lstoll enters the room. | |
| 11:42:33 | ttmrichter enters the room. | |
| 11:44:10 | webmat enters the room. | |
| 11:50:51 | ttmrichter_ leaves the room. | |
| 12:05:01 | jtoy leaves the room. | |
| 12:12:10 | radarek enters the room. | |
| 12:24:56 | antares leaves the room. | |
| 12:32:42 | antares enters the room. | |
| 12:33:42 | lstoll leaves the room. | |
| 12:46:00 | zimbatm leaves the room. | |
| 12:47:05 | anteaya enters the room. | |
| 12:57:03 | wdperson enters the room. | |
| 12:57:45 | tockitj | Q: Are there avaliable web based test runners (for Test::Units or RSpec) ? |
| 12:58:51 | Fullmoon enters the room. | |
| 13:07:14 | rue | tockitj: Probably. Check #ruby-lang and #ror |
| 13:07:16 | rue | Nite |
| 13:08:54 | tockitj | rue, maybe i have not expressed myself well - i'd like to run Test::Units from web browser (i'm not refering to testing web apps) :-) |
| 13:11:48 | skaar enters the room. | |
| 13:11:56 | rue | I understood, and I am pretty sure there is a remote method available. Just dunno where and looks like everyone else is out still over here |
| 13:12:06 | rue | Actually going now :P |
| 13:12:47 | rue | Those two might have more folks awake |
| 13:13:09 | tockitj | thanks anyway |
| 13:13:11 | tockitj | nite nite |
| 13:13:27 | Maledictus | tockitj: look at cruisecontrol.rb |
| 13:18:05 | RyanTM enters the room. | |
| 13:27:26 | mutle leaves the room. | |
| 13:27:47 | mutle enters the room. | |
| 13:28:28 | obiejuan leaves the room. | |
| 13:33:17 | lstoll enters the room. | |
| 13:43:27 | dblack leaves the room. | |
| 13:46:35 | imajes__ leaves the room. | |
| 13:47:28 | lstoll leaves the room. | |
| 13:47:59 | imajes enters the room. | |
| 13:50:45 | antares | RSpec does have a stories server. It is different from CC.rb in a sense you can edit those stories, and it only runs when you want it, not reacting to commit events. |
| 13:52:17 | Illocution leaves the room. | |
| 13:53:17 | headius enters the room. | |
| 13:55:13 | Illocution enters the room. | |
| 13:58:49 | peeja leaves the room. | |
| 13:59:32 | Coderifous enters the room. | |
| 14:02:49 | Fullmoon leaves the room. | |
| 14:02:54 | yaroslav leaves the room. | |
| 14:05:12 | yaroslav enters the room. | |
| 14:08:51 | AndrewO enters the room. | |
| 14:10:29 | cremes__ leaves the room. | |
| 14:14:20 | headius_ enters the room. | |
| 14:14:37 | cremes_ enters the room. | |
| 14:15:21 | headius leaves the room. | |
| 14:35:36 | peeja enters the room. | |
| 14:37:37 | wmoxam enters the room. | |
| 14:37:37 | antares leaves the room. | |
| 14:39:48 | GMFlash enters the room. | |
| 14:46:34 | agile leaves the room. | |
| 14:47:38 | dewd enters the room. | |
| 14:51:21 | Fullmoon enters the room. | |
| 14:56:50 | moofbong enters the room. | |
| 15:00:30 | jtoy enters the room. | |
| 15:04:39 | headius leaves the room. | |
| 15:04:52 | headius enters the room. | |
| 15:10:16 | yipstar enters the room. | |
| 15:13:40 | enebo enters the room. | |
| 15:14:23 | d2dchat enters the room. | |
| 15:16:02 | Jzalae leaves the room. | |
| 15:17:41 | chris2 enters the room. | |
| 15:21:03 | yipstar leaves the room. | |
| 15:29:45 | fbuilesv enters the room. | |
| 15:31:38 | yipstar enters the room. | |
| 15:32:00 | jtoy leaves the room. | |
| 15:32:04 | tockitj leaves the room. | |
| 15:41:11 | yugui enters the room. | |
| 15:42:23 | trythil enters the room. | |
| 15:42:35 | twbray enters the room. | |
| 15:44:17 | twbray leaves the room. | |
| 15:47:52 | peeja leaves the room. | |
| 15:48:48 | qwert666_ enters the room. | |
| 16:00:49 | agile enters the room. | |
| 16:01:37 | therealadam enters the room. | |
| 16:01:56 | anteaya_ enters the room. | |
| 16:02:42 | peeja enters the room. | |
| 16:03:20 | twbray enters the room. | |
| 16:05:37 | ctennis leaves the room. | |
| 16:06:33 | qwert666 leaves the room. | |
| 16:09:26 | anteaya leaves the room. | |
| 16:10:56 | benstiglitz enters the room. | |
| 16:11:31 | peeja leaves the room. | |
| 16:14:41 | benny enters the room. | |
| 16:15:01 | macournoyer enters the room. | |
| 16:21:26 | rype enters the room. | |
| 16:21:27 | brainopia enters the room. | |
| 16:23:52 | wmoxam leaves the room. | |
| 16:24:51 | twbray leaves the room. | |
| 16:25:40 | peeja enters the room. | |
| 16:28:54 | wmoxam enters the room. | |
| 16:31:12 | benburkert enters the room. | |
| 16:33:29 | lopex enters the room. | |
| 16:34:19 | jlindley enters the room. | |
| 16:41:53 | wmoxam leaves the room. | |
| 16:43:47 | Fullmoon leaves the room. | |
| 16:46:14 | w1rele55 leaves the room. | |
| 16:51:18 | wmoxam enters the room. | |
| 16:52:46 | w1rele55 enters the room. | |
| 16:54:46 | fbuilesv leaves the room. | |
| 16:57:52 | benny leaves the room. | |
| 16:59:46 | benburkert leaves the room. | |
| 17:02:01 | benburkert enters the room. | |
| 17:05:12 | anonuser enters the room. | |
| 17:08:13 | FoobarGuy enters the room. | |
| 17:08:17 | FoobarGuy | hello all |
| 17:08:38 | Defiler | <insert appropriate locale-dependent greeting here> |
| 17:08:59 | d2dchat_ enters the room. | |
| 17:09:22 | mutle leaves the room. | |
| 17:11:06 | benstiglitz | _("GREETING") |
| 17:11:17 | imajes leaves the room. | |
| 17:11:50 | FoobarGuy | I was reading up on how to contribute, i was wondering if theres any room for contributions in the compiler end of the project |
| 17:12:50 | evan | FoobarGuy: sure |
| 17:13:11 | wycats leaves the room. | |
| 17:14:05 | wycats enters the room. | |
| 17:14:46 | FoobarGuy | goodie, I got the impression all there was left was libraries :( |
| 17:14:54 | Defiler | Definitely not |
| 17:15:03 | dctanner enters the room. | |
| 17:15:18 | wycats leaves the room. | |
| 17:15:23 | wycats_ enters the room. | |
| 17:15:39 | wycats_ leaves the room. | |
| 17:16:18 | wycats enters the room. | |
| 17:16:37 | Defiler | evan: Can you lay eyes on this when you have a moment? http://rafb.net/p/EAiIrO74.html |
| 17:17:22 | twbray enters the room. | |
| 17:17:24 | Defiler | evan: I feel like the way RBX ends up at EOF early (line 55 in paste) is at the heart of the problem. Does that suggest anything to you? |
| 17:18:11 | d2dchat leaves the room. | |
| 17:18:33 | obvio enters the room. | |
| 17:18:37 | FoobarGuy | so I guess the way to jump in is just to pull the repository, compile it and fuck around with it eh? hehe |
| 17:18:45 | evan | Defiler: hm. |
| 17:19:03 | Defiler | FoobarGuy: Sure. Definitely read the compiler code and try to get a handle on it |
| 17:19:13 | Defiler | FoobarGuy: It isn't as simple as it could be, but it is easier to get into than it once was |
| 17:19:19 | evan | to get an EOF like that, i'd think that the socket would have had to be closed on the rbx side. |
| 17:19:48 | Defiler | According to dtruss, it doesn't seem to be calling close on it at that point |
| 17:20:18 | Defiler | Here's a much more verbose run of the same thing, including all the calls socat makes |
| 17:20:22 | Defiler | http://rafb.net/p/7jwvBr95.html |
| 17:20:32 | Defiler | vs the same in MRI (startup crap left off, sorry) http://rafb.net/p/c2MHmD52.html |
| 17:21:20 | Defiler | line 61 in the RBX paste matches line 1 in the MRI paste, specifically. Everything before that is socat spam |
| 17:22:11 | evan | is line 110 the client writing to the server? |
| 17:22:19 | evan | or the server writing to the client? |
| 17:22:22 | evan | ie, who is fd 3? |
| 17:23:22 | Defiler | 3 is the server socket, 4 is the client |
| 17:23:58 | Defiler | (lines 39 and 40 give the details in the c2MHmD52 paste) |
| 17:24:11 | evan | so a read from 3 is the server talking to the client? |
| 17:24:15 | seanstickle enters the room. | |
| 17:24:35 | evan | if so, then why did mysql close the socket? |
| 17:24:43 | Defiler | Yes |
| 17:24:44 | evan | because it's fd 3 that has an EOF |
| 17:24:52 | evan | oh |
| 17:24:57 | evan | because 5 seconds past? |
| 17:25:02 | Defiler | Yeah |
| 17:25:04 | evan | why didn't rubinius write any data? |
| 17:25:09 | Defiler | rbx is blocking somehow/somewhere |
| 17:25:13 | Defiler | and mysql times out the login request |
| 17:25:20 | evan | that should be straight forward to figure out |
| 17:25:34 | demisone leaves the room. | |
| 17:25:39 | headius | heheh |
| 17:25:39 | Defiler | Lead me, warleader |
| 17:25:42 | evan | have you instrumented mysql.rb to figure that out? |
| 17:25:51 | Defiler | extensively, but I haven't found it |
| 17:25:51 | evan | you just just put 'p :stage' in mysql.rb |
| 17:26:03 | evan | seems like it's in the handshake |
| 17:26:13 | evan | which mysql.rb are you using? |
| 17:26:40 | FoobarGuy | thats ok Defiler, I didn't expect it to be easy, when a guy comes in and says he wants to work on a compiler, you have to assume he doesn't enjoy making his life easy :) |
| 17:28:12 | Defiler | evan: rails trunk |
| 17:28:19 | Defiler | evan: http://rafb.net/p/uV0tIc75.html |
| 17:29:05 | evan | ok |
| 17:29:06 | evan | so |
| 17:29:09 | evan | you perform a read |
| 17:29:14 | evan | and the read takes 5 seconds to return? |
| 17:29:20 | evan | ie, if you put |
| 17:29:22 | evan | p :read_start |
| 17:29:26 | evan | <code for read> |
| 17:29:28 | evan | p :read_end |
| 17:29:35 | dbussink | the problem probably is that rbx doesn't send the login request |
| 17:29:44 | dbussink | so mysql disconnects after a 5 sec timeout |
| 17:29:51 | evan | the 2 :read symbols will be output 5 seconds apart? |
| 17:30:00 | Defiler | http://rafb.net/p/zLUYZP61.html |
| 17:30:02 | dbussink | or is the login request send to the socket? |
| 17:30:23 | Defiler | The login request is sent, but it is sent 5 seconds too late |
| 17:30:32 | evan | what is buf.join? |
| 17:30:40 | benburkert leaves the room. | |
| 17:30:42 | evan | is that String#join? |
| 17:30:51 | Defiler | buf is an Array, and gets joined into a String |
| 17:31:02 | Defiler | I added a local for it so I could inspect it, but the code is otherwise unmodified |
| 17:31:03 | evan | right ok. |
| 17:31:20 | dbussink | Defiler: but you haven't found what it's waiting for? |
| 17:31:21 | evan | this seems clear to me. |
| 17:31:29 | Defiler | dbussink: Nope |
| 17:31:33 | yaroslav leaves the room. | |
| 17:31:38 | evan | our read event doesn't think it's gotten +len+ bytes |
| 17:31:46 | evan | so it's still waiting for more. |
| 17:32:04 | dbussink | and the disconnect probably triggers it, so the message gets send than |
| 17:32:08 | evan | yep |
| 17:32:09 | dbussink | but then it's too late |
| 17:32:36 | wycats_ enters the room. | |
| 17:32:44 | Defiler | Yeah. It wants to read 57 bytes |
| 17:33:26 | Defiler | So, this is where I run out of steam.. I know it wants to read from a socket that totally has the required data available |
| 17:33:32 | Defiler | but it blocks unexpectedly |
| 17:34:10 | yaroslav enters the room. | |
| 17:34:25 | evan | you need to set a gdb breakpoint for _cpu_wake_channel_and_read |
| 17:34:30 | evan | and walk through it |
| 17:34:33 | evan | as it's receiving data |
| 17:34:37 | evan | and see what happens. |
| 17:34:43 | Defiler | mysql times out when I do that, though, so I can't successfully connect under gdb |
| 17:34:52 | evan | do that at the beginning |
| 17:34:55 | evan | not at the end. |
| 17:34:59 | evan | don't attach |
| 17:35:01 | headius | bump mysql's timeout up |
| 17:35:03 | evan | start under gdb. |
| 17:35:11 | Defiler | headius: oh, can I do that? |
| 17:35:17 | headius | I would assume you can |
| 17:35:42 | headius | you can tweak things like max packet size, so I assume there's a timeout setting somewhere |
| 17:35:54 | evan | Defiler: better yet |
| 17:35:55 | headius | might make it easier to hunt down |
| 17:36:00 | evan | call IO#sysread instead of #read |
| 17:36:03 | evan | and see what happens. |
| 17:36:23 | evan | that will isolate it even more |
| 17:36:27 | evan | if sysread returns right away |
| 17:36:34 | evan | it's a bug in the buffering inside IO#read |
| 17:37:13 | Defiler | changing it to sysread causes it to raise EOFError, at least, which is better |
| 17:37:28 | evan | after 5 seconds? |
| 17:37:48 | Defiler | Yes |
| 17:38:36 | evan | so, should i just pull down rails trunk to try this myself? |
| 17:38:42 | evan | and what test script are you using? |
| 17:39:11 | Defiler | with mysql.rb copied to lib/ from the activerecord 'vendor' directory, just doing this is enough: ./shotgun/rubinius -r"mysql" -e "Mysql.new" |
| 17:39:32 | Defiler | Mysql.new('127.0.0.1') if you want to force a loopback TCP connection instead of a domain socket |
| 17:39:39 | dbussink | Defiler: maybe simulate it using netcat? |
| 17:39:51 | evan | yes, did you ever simulate this? |
| 17:39:53 | Defiler | The problem is that there is a connection sequence returned by the 'hello' response |
| 17:39:59 | Defiler | So you can't connect via a replay |
| 17:40:01 | evan | ie, NOT using the mysql client |
| 17:40:23 | Defiler | I was not able to produce a valid netcat, though I did give it the old college try |
| 17:40:43 | thehcdreamer leaves the room. | |
| 17:40:58 | dbussink | but isn't this something that occurs even with a simple test where you try so send out multiple messages to a socket |
| 17:40:59 | dbussink | ? |
| 17:41:06 | Defiler | No, it is not |
| 17:41:17 | benburkert enters the room. | |
| 17:41:19 | Defiler | I can connect to a UNIXServer process and send data back and forth forever |
| 17:42:14 | headius | are you sure it's not using a unix socket in the 127.0.0.1 case? I've had some trouble getting it to *not* use the unix socket |
| 17:42:25 | Defiler | I verified it in wireshark |
| 17:42:27 | headius | ok |
| 17:42:35 | headius | must be the 0.0.0.0 vs 127.0.0.1 thing |
| 17:42:41 | Defiler | It does use a unix socket if you pass it 'localhost' though |
| 17:42:48 | headius | bug |
| 17:43:01 | headius | very annoying sometimes |
| 17:43:02 | Defiler | Nope. Deliberate 'support rails-style database.yml' crap |
| 17:43:12 | dbussink | well, it's a mysql standard |
| 17:43:21 | headius | then mysql is wrong |
| 17:43:22 | dbussink | i've seen it in every mysql client app |
| 17:43:45 | headius | it sounds like a hack to improve performance without requiring people to know about unix socket |
| 17:43:53 | dbussink | yeah, but doing it differently in rbx results in everyone blaming rbx |
| 17:44:03 | dbussink | headius: probably is yeah |
| 17:44:04 | headius | start at the top! |
| 17:44:11 | headius | fix mysql! |
| 17:44:12 | benny enters the room. | |
| 17:44:13 | headius | :) |
| 17:44:16 | headius | break everyone's apps |
| 17:44:19 | evan | WTF |
| 17:44:22 | Defiler | Well, we don't get to modify this code, so the point is moot. :) |
| 17:44:27 | evan | you have to give personal info to download mysql now!? |
| 17:44:35 | Defiler | There's a tiny tiny link to avoid that |
| 17:44:45 | evan | ha! |
| 17:44:46 | evan | found it. |
| 17:44:47 | Defiler | I think it is white on white |
| 17:44:48 | evan | bastards |
| 17:44:50 | evan | eyes headius |
| 17:44:51 | evan | :) |
| 17:45:07 | Defiler | headius: Yeah.. you are in a better position to fix MySQL than we are :) |
| 17:45:35 | Defiler | What with being nestled in the crook of Big Brother's arm heh. |
| 17:46:12 | wycats leaves the room. | |
| 17:46:21 | headius | it's warm and cozy here |
| 17:47:11 | Defiler | We have always been allied with MySQLonia. |
| 17:47:20 | peeja leaves the room. | |
| 17:47:23 | evan | haha |
| 17:47:40 | evan | applies for a job at the Ministry of Truth |
| 17:48:07 | Defiler | If evan finds and fixes this problem immediately after downloading this file, I am going to spend the rest of the day getting drunk in the sun, I think |
| 17:48:43 | evan | be sure to wear sunscreen. |
| 17:48:48 | Defiler | word. |
| 17:48:48 | headius | I bring you love |
| 17:49:02 | Defiler | http://www.wunderground.com/cgi-bin/findweather/getForecast?query=32312 |
| 17:49:33 | evan | Defiler: looks like here |
| 17:49:35 | trythil | wow, that's some nice weather |
| 17:49:43 | Defiler | \m/ |
| 17:50:14 | brixen | Defiler: horrid, it was 12 degrees before windchill at 7000 ft yesterday, we hiked to 8000 |
| 17:50:37 | Defiler | brixen: Awesome. Where did you hike? |
| 17:50:40 | brixen | we'll be lucky to see 45 today |
| 17:50:52 | brixen | Defiler: 1/2 up mt hood |
| 17:50:57 | brixen | training hike |
| 17:51:09 | brixen | really only 2000 ft, we started at 6000 :) |
| 17:51:11 | Defiler | Excellent. You'll be the perfect weapon soon. |
| 17:51:16 | brixen | heh |
| 17:51:29 | evan | brixen: how was the snow? |
| 17:51:36 | evan | or was this just a hike? |
| 17:51:39 | brixen | evan: awesome, 2 hrs of snowboarding first |
| 17:51:49 | brixen | 7" new soft dry powder |
| 17:51:52 | evan | nice. |
| 17:51:59 | seanstickle leaves the room. | |
| 17:52:29 | wycats enters the room. | |
| 17:52:44 | anteaya leaves the room. | |
| 17:55:03 | evan | ok, duplicated the connection problem here. |
| 17:55:52 | evan | death to tabs+spaces |
| 17:56:16 | jlindley leaves the room. | |
| 17:56:21 | peeja enters the room. | |
| 17:56:34 | imajes enters the room. | |
| 17:57:19 | wycats leaves the room. | |
| 17:57:35 | wycats_ leaves the room. | |
| 17:58:03 | wycats enters the room. | |
| 17:58:47 | dbussink | brixen: i have a day to spare in portland in june, maybe a short hike would be nice :P |
| 17:59:34 | yugui leaves the room. | |
| 17:59:38 | peeja leaves the room. | |
| 18:00:30 | yaroslav leaves the room. | |
| 18:01:11 | yaroslav enters the room. | |
| 18:01:17 | yaroslav leaves the room. | |
| 18:02:30 | yaroslav enters the room. | |
| 18:03:31 | brixen | dbussink: sure, lots of great hikes in the columbia gorge |
| 18:03:48 | Defiler | evan: Oh yeah, mysql.rb has the worst formatting |
| 18:03:59 | Defiler | evan: ..and not even vim/emacs hint comment thingies |
| 18:04:11 | rue | Morning |
| 18:04:18 | brixen | morning rue |
| 18:04:27 | dbussink | brixen: been a while, when i was in the us we went to Yosemite, grand canyon, zion and bryce, was really nic |
| 18:04:29 | marnen enters the room. | |
| 18:04:32 | dbussink | brixen: nice |
| 18:04:34 | rue | It is almost technically morning too |
| 18:04:37 | dlee enters the room. | |
| 18:04:43 | Defiler | I'm going to sneak out for some lunch. Back swiftly I hope |
| 18:04:43 | dbussink | brixen: but i'll bring my shoes then just in case :p |
| 18:07:17 | hornbeck leaves the room. | |
| 18:07:43 | hornbeck enters the room. | |
| 18:07:45 | rue | FoobarGuy: Were there any particular docs that we should update that you recall? |
| 18:08:50 | FoobarGuy | think you got the wrong guy :) |
| 18:10:16 | djwhitt | rue: perhaps you're thinking of FoobarWidget? |
| 18:10:36 | brixen | dbussink: this link has some popular hikes: http://www.nwhiker.com/gorge1.html |
| 18:11:13 | brixen | dbussink: multnomah falls is kind of touristy, but a beautiful waterfall |
| 18:11:26 | dbussink | brixen: well, it's only a wild idea :) |
| 18:11:28 | rue | FoobarGuy: You mentioned you had gotten the impression that the compiler was complete, sorry. I am catching up |
| 18:11:36 | dbussink | brixen: we need to get there in the first place probably :p |
| 18:12:27 | imajes_ enters the room. | |
| 18:12:59 | brixen | dbussink: sure, transportation wouldn't be a problem unless we had 5+ people |
| 18:13:32 | rue | I thought you were supposed to hike, not take a car like some wuss :P |
| 18:13:35 | dbussink | brixen: well, i'd love to just do a simple track for a few hours, nothing really straining, but just something to get out :) |
| 18:13:58 | brixen | dbussink: yep, sounds good. we'll figure it out |
| 18:14:10 | VVSiz_ enters the room. | |
| 18:14:47 | rue | *wave |
| 18:15:12 | TheVoice enters the room. | |
| 18:16:51 | dgtized | so Kernel#fork seems to work, yet we have no specs for it, and it messes with spec output if you try do a basic test? |
| 18:18:03 | benburkert leaves the room. | |
| 18:19:19 | octopod leaves the room. | |
| 18:20:39 | brixen | dgtized: yeah, not sure how to handle fork yet |
| 18:20:56 | suguru enters the room. | |
| 18:21:08 | suguru | hi |
| 18:21:18 | brixen | dgtized: may need to start a new process and have it fork |
| 18:21:31 | brixen | dgtized: rather than forking the spec-running process itself |
| 18:21:35 | dgtized | brixen: I was trying to ensure that IO.pipe worked across a fork boundary |
| 18:21:35 | brixen | suguru: hello |
| 18:21:46 | dgtized | brixen: and it works, but doubles the spec output |
| 18:21:58 | brixen | dgtized: right, hence my suggestionn ;) |
| 18:22:39 | brixen | dgtized: why don't you work on a general approach to #fork related stuff that starts a new process, uses fork in that process, and gathers the result for the expectation |
| 18:22:59 | evan | ah ha! |
| 18:23:16 | brixen | Defiler: probably should start mixing your drinks :) |
| 18:23:59 | evan | Defiler: you never checked the size of the buffer in IO#read, did you? |
| 18:24:33 | rue | Think he took a head start |
| 18:28:28 | imajes leaves the room. | |
| 18:30:35 | suguru leaves the room. | |
| 18:30:58 | VVSiz leaves the room. | |
| 18:32:36 | evan | houston: we have mysql. |
| 18:32:56 | rue | Wee :) |
| 18:33:08 | evan | let me do a quick query to double check. |
| 18:34:43 | mernen enters the room. | |
| 18:35:04 | brixen | hmm, it could be argued that vim is inhumane: http://nitpicker.pbwiki.com/The+Humane+Interface |
| 18:35:24 | dgtized | brixen: I'll consider the forking thing, but mostly it just seems like a pain in the ass |
| 18:35:32 | brixen | dgtized: heh, indeed |
| 18:35:52 | dgtized | evan: are you opposed to people commiting to the cpp branch as yet? |
| 18:35:57 | brixen | (oh the jokes that could be writ) |
| 18:35:59 | evan | dgtized: no, go ahead. |
| 18:37:28 | dgtized | where is this "nicer.rb"? |
| 18:37:34 | evan | ah crop. |
| 18:37:35 | evan | crap. |
| 18:37:38 | evan | just delete using it. |
| 18:37:41 | evan | it was an experiment |
| 18:37:41 | dgtized | k |
| 18:37:44 | evan | i didn't mean to commit it. |
| 18:37:52 | evan | what you adding? |
| 18:38:13 | smparke1 enters the room. | |
| 18:38:24 | rue | Bunnies! |
| 18:38:26 | dgtized | more Fixnum stuff + specs, it looked like that might be easy |
| 18:39:11 | dgtized | it's been a while since I did any c++ so thought it worth to take a low hanging fruit or two |
| 18:39:29 | cypher23 leaves the room. | |
| 18:40:09 | evan | test first. |
| 18:40:19 | evan | and only if it's needed |
| 18:40:34 | evan | ie, don't add a bunch to the VM if no one calls it. |
| 18:40:56 | dgtized | right but mult and div seem useful |
| 18:41:02 | evan | they're not. |
| 18:41:06 | evan | actually |
| 18:41:17 | evan | what do the primitives call? |
| 18:41:28 | dgtized | let me check, but I thought we used primitives for that |
| 18:41:32 | evan | we do |
| 18:41:41 | evan | yeah, actually, go for it. |
| 18:43:49 | dgtized | is there good reason that all of the Fixnum primitives have fixnum_ prefixing them accept for add and sub? |
| 18:43:59 | evan | yes. |
| 18:44:06 | evan | because they only operate on fixnums |
| 18:44:09 | evan | add and sub are old |
| 18:44:15 | evan | i haven't yet reworked the primitives |
| 18:44:23 | evan | but i'm going to standardize them |
| 18:44:39 | dgtized | right, so would it make sense to fix the add and sub primitives in the current shotgun to have that prefix? |
| 18:47:47 | evan | no |
| 18:47:49 | evan | do not do that. |
| 18:48:04 | evan | we are not retrofitting shotgun with changes. |
| 18:48:10 | evan | thats just causes churn. |
| 18:48:18 | evan | needless |
| 18:48:29 | evan | VM is cleaning up and fixing all |
| 18:48:35 | evan | cpp rather. |
| 18:49:13 | obvio171 enters the room. | |
| 18:49:56 | dgtized | but we aren't going to change the primitive hookup routine in kernel/bootstrap right? so we will still need to change those names when we hook them back up to the new vm? |
| 18:50:26 | obvio leaves the room. | |
| 18:51:44 | dgtized | also I'm getting a bunch of compiler warnings about SIGEMT not being declared in scope |
| 18:52:05 | dgtized | sorry not warnings but full blown errors from builtin_task.cpp:251 |
| 18:54:15 | rue | Should be signal.h |
| 18:59:53 | evan | if it's not, replace SIGEMT with another rare signal. |
| 19:00:28 | evan | dgtized: yes, we'll have to change the names, but the point is that the cpp work doesn't effect current work |
| 19:00:43 | evan | headius: check ruby-core |
| 19:00:48 | evan | i created a wiki for the meeting tonight. |
| 19:01:23 | peeja enters the room. | |
| 19:01:25 | headius | ok |
| 19:04:08 | headius | we should consider having someone to guide/lead the meeting |
| 19:04:36 | evan | agreed. |
| 19:05:18 | evan | I added a leader: section to the meeting page |
| 19:06:34 | rue | Take notes! No, wait.. talk about stuff! |
| 19:08:22 | xmlhacker leaves the room. | |
| 19:09:26 | imajes_ leaves the room. | |
| 19:11:08 | xmlhacker enters the room. | |
| 19:12:03 | dbussink | too bad it's not a europe friendly time :( |
| 19:16:19 | obvio171 enters the room. | |
| 19:16:25 | dbussink | guess all the info will be available somewhere eventually? |
| 19:16:37 | dbussink | but i'm off for now, back later |
| 19:16:39 | evan | yea |
| 19:19:03 | marnen | evan: I understand I should talk to you about getting a commit bit now that I have some patches accepted... |
| 19:19:20 | evan | ok, i just need an ssh public key |
| 19:19:32 | marnen | sure, one second |
| 19:20:51 | jero5 enters the room. | |
| 19:21:53 | marnen | http://pastie.caboo.se/184348 |
| 19:22:44 | marnen | is that the one you need? |
| 19:24:01 | evan | yep |
| 19:24:14 | marnen | qool |
| 19:24:25 | evan | ok, added! |
| 19:24:26 | evan | welcome! |
| 19:24:34 | marnen | thanks! |
| 19:24:56 | marnen | so I should just be able to commit to origin now? |
| 19:25:05 | evan | you need to do |
| 19:25:09 | evan | rake git:committer |
| 19:25:10 | evan | first |
| 19:25:12 | evan | but then, yes. |
| 19:25:19 | evan | please read the howto use git page |
| 19:25:30 | marnen | I've been...still getting comfortable with Git. |
| 19:25:32 | evan | about using topic branches |
| 19:25:36 | evan | and using rebase. |
| 19:25:45 | marnen | yeah, I've been following that procedure. |
| 19:26:22 | marnen | OK, just ran the rake script. Thanks! |
| 19:27:43 | obvio leaves the room. | |
| 19:27:53 | peeja leaves the room. | |
| 19:30:54 | marnen | and now Git is asking me for a password. Where do I set that? With git-config? |
| 19:31:29 | evan | um |
| 19:31:30 | evan | no |
| 19:31:35 | evan | no password |
| 19:31:41 | evan | that means that ssh isn't using your key |
| 19:31:59 | marnen | yeah, I would have thought so. |
| 19:32:05 | marnen | Let me check my ssh options. |
| 19:33:00 | marnen | waitaminute...does git.rubini.us need an RSA key rather than DSA? |
| 19:33:16 | evan | no |
| 19:33:20 | evan | either is fine. |
| 19:33:28 | marnen | Hmm |
| 19:33:57 | marnen | 'cause what I gave you was DSA. |
| 19:34:03 | marnen | ok...checking a few more things |
| 19:39:24 | peeja enters the room. | |
| 19:41:58 | evan | hm |
| 19:42:12 | evan | how the heck does MRI set eof for |
| 19:42:25 | evan | f = File.open("test"); f.read(File.size("test")) |
| 19:42:35 | evan | it's inside stdio |
| 19:42:35 | be9 leaves the room. | |
| 19:44:01 | rue | It is in the nastiness of io.c |
| 19:44:30 | evan | it's that code that has Sockets broken. |
| 19:45:16 | peeja leaves the room. | |
| 19:45:37 | rue | evan: In our IO? |
| 19:45:41 | evan | yep |
| 19:45:52 | evan | our code to have the same eof behavior as mri |
| 19:46:34 | rue | You would get the EOF from the OS, no? Whether sockets or files |
| 19:46:45 | evan | say there are 4 bytes in the file |
| 19:46:46 | rubuildius_amd64 | there are 4 bytes in the file |
| 19:46:46 | rubuildius_ppc | there are 4 bytes in the file |
| 19:46:47 | boyscout | there are 4 bytes in the file |
| 19:46:50 | evan | hahah |
| 19:46:50 | rue | Haha |
| 19:47:00 | evan | awesome. |
| 19:47:01 | evan | anyway |
| 19:47:03 | brixen | ok, so we have 4 bytes in the file |
| 19:47:05 | peeja enters the room. | |
| 19:47:08 | evan | if you do a read of 4 |
| 19:47:13 | evan | eof isn't set |
| 19:47:17 | evan | because you haven't hit it |
| 19:47:24 | evan | you have to basically read past the end to see eof |
| 19:47:36 | fbuilesv enters the room. | |
| 19:49:10 | peeja leaves the room. | |
| 19:49:47 | jlindley enters the room. | |
| 19:49:52 | rue | Hm, really? |
| 19:49:55 | evan | yep |
| 19:50:11 | evan | read(fd, buf, 4) => 4 |
| 19:50:16 | evan | read(fd, buf, 4) => 0 |
| 19:50:31 | evan | there is no way to test for eof other than performing another read |
| 19:50:36 | evan | at least that i can find. |
| 19:50:51 | benburkert enters the room. | |
| 19:51:23 | fbuilesv leaves the room. | |
| 19:51:30 | rue | Always peeking seems wasteful |
| 19:52:02 | evan | you have to toggle non-blocking flags |
| 19:52:10 | evan | and save any data that you accidentally get. |
| 19:52:13 | evan | it's a pain. |
| 19:52:24 | wycats leaves the room. | |
| 19:52:41 | enebo | evan: Do you need to add each individual to People page on Ruby deisgn wiki? I see no edit link |
| 19:52:57 | evan | hm, you should have one... |
| 19:53:04 | evan | are you logged in? |
| 19:53:29 | enebo | yeah...but I just created an account |
| 19:53:33 | evan | hm, maybe i need emails to allow editting |
| 19:53:35 | rue | Wait, why is that not in the size? |
| 19:53:45 | evan | enebo: what email did you use? |
| 19:53:49 | evan | rue: why is what? |
| 19:53:50 | enebo | tom.enebo@gmail.com |
| 19:53:52 | wycats enters the room. | |
| 19:53:55 | atmos enters the room. | |
| 19:54:05 | evan | ok, reload |
| 19:54:15 | enebo | thank you :) |
| 19:54:22 | evan | thats probably better |
| 19:54:27 | evan | so that the wiki doesn't get hijacked. |
| 19:54:46 | rue | echo "1234567890" > test.txt; wc -c test.txt |
| 19:54:55 | rue | 11 bytes |
| 19:55:22 | peeja enters the room. | |
| 19:55:32 | rue | stat will definitely have st_size 11 |
| 19:55:42 | boyscout | 1 commit by Evan Phoenix |
| 19:55:43 | boyscout | * Fix IO#read from blocking; 6b8b0d8 |
| 19:55:43 | evan | so? |
| 19:55:51 | evan | Defiler is going to hate me. |
| 19:55:55 | evan | but mysql works now. |
| 19:56:31 | evan | rue: pretend now that the fd points to a pipe or socket. |
| 19:56:55 | rue | You cannot know how "large" a socket is |
| 19:57:47 | rue | So by definition you are reading until reaching EOF or connection breaks or whatever |
| 19:58:15 | yaroslav leaves the room. | |
| 19:58:23 | marnen | Oy. There's something screwy with the SSH keys right now. SSH recognizes my keys when I use them for other hosts, but not git.rubini.us . According to ssh -v, my client is offering the key, but the server is not accepting it. |
| 19:58:32 | fbuilesv enters the room. | |
| 19:58:44 | evan | rue: so perhaps IO needs to have logic to know what the fd points to |
| 19:58:50 | evan | to support the proper semantics. |
| 19:59:30 | rue | Is DSA enabled? |
| 19:59:30 | evan | OH SO BOGUS. |
| 19:59:48 | evan | marnen: paste me your id_rsa.pub |
| 19:59:49 | evan | we'll try that. |
| 20:00:14 | marnen | I don't have one at the moment, but give me a minute and I'll make one. |
| 20:00:26 | rue | evan: That is why there is no IO{#,.}size :) |
| 20:00:35 | evan | rb_io_eof() waits for readability, then uses getc() to check for eof, then uses ungetc() if it's not eof. |
| 20:00:47 | evan | rue: true dat. |
| 20:01:54 | evan | ironiclly, the hack we have in eof? now is quite close to the logic in MRI |
| 20:02:29 | marnen | ok, try this: http://pastie.caboo.se/184365 |
| 20:02:53 | danlucraft enters the room. | |
| 20:02:59 | rue | evan: I am not sure if that should be necessary; I may be missing the use case |
| 20:03:06 | danlucraft | hello |
| 20:03:29 | evan | rue: it is to match MRI's semantics |
| 20:03:43 | evan | which is that eof? blocks if the IO has no data |
| 20:04:09 | evan | marnen: oh ack. |
| 20:04:15 | marnen | ? |
| 20:04:15 | evan | you're putting hard line returns in there |
| 20:04:17 | evan | or pastie is. |
| 20:04:28 | evan | so the key is fucked up in the authorized_keys file |
| 20:04:38 | chris2 leaves the room. | |
| 20:04:40 | marnen | ack indeed. Sorry 'bout that |
| 20:04:43 | radarek leaves the room. | |
| 20:04:47 | evan | repaste your dss |
| 20:04:51 | marnen | probably happened when I copied from Terminal. |
| 20:04:54 | evan | yeah |
| 20:04:56 | evan | don't do that. |
| 20:04:56 | marnen | ok, trying again. |
| 20:06:21 | rubuildius_amd64 | Evan Phoenix: 6b8b0d8a1; 2090 files, 6570 examples, 22949 expectations, 0 failures, 0 errors; http://rafb.net/p/27HuNW29.html |
| 20:06:45 | marnen | DSA without the silly returns: http://pastie.caboo.se/184372 |
| 20:07:28 | evan | ok, looks good |
| 20:07:30 | evan | give it a shot. |
| 20:07:34 | evan | you'll need to rebase though |
| 20:07:37 | evan | since i did a commit |
| 20:07:54 | evan | my tummy says it's lunch time. |
| 20:07:56 | evan | bbiab. |
| 20:08:15 | rubuildius_ppc | Evan Phoenix: 6b8b0d8a1; 2090 files, 6573 examples, 22978 expectations, 0 failures, 0 errors; http://pastie.caboo.se/paste/184375 |
| 20:08:21 | marnen | thanks, that worked |
| 20:08:30 | marnen | sorry about being so st00pid |
| 20:08:45 | evan | no prob. |
| 20:12:00 | jlindley leaves the room. | |
| 20:12:22 | rue | MatzRuby strikes again |
| 20:12:52 | rue | Although it is easier for the programmer, I suppose |
| 20:14:31 | twbray leaves the room. | |
| 20:15:10 | EugZol leaves the room. | |
| 20:15:36 | hornbeck leaves the room. | |
| 20:16:27 | marnen leaves the room. | |
| 20:17:37 | danlucraft leaves the room. | |
| 20:43:16 | twbray enters the room. | |
| 20:44:24 | NoKarma enters the room. | |
| 20:44:36 | NoKarma | Heya all |
| 20:44:42 | NoKarma | fbuilesv: Heya :) |
| 20:44:50 | NoKarma | fbuilesv: We both got accepted, yay |
| 20:44:51 | fbuilesv | NoKarma: Hey :) |
| 20:44:58 | fbuilesv | NoKarma: That's what Im seeing :) |
| 20:45:18 | fbuilesv | at least they gave the answer, I've been outside of classes with no lunch for like two hours now |
| 20:45:45 | NoKarma | fbuilesv: hehe |
| 20:46:19 | evan | accepted to what? |
| 20:46:20 | fbuilesv | NoKarma: I won't be 100% sure until I see it on the dashboard too :) |
| 20:46:26 | fbuilesv | evan: google summer of code |
| 20:46:35 | fbuilesv | evan: we both passed proposals to improve the specs for Rubinius :) |
| 20:46:45 | danlucraft enters the room. | |
| 20:46:47 | evan | hurrah! |
| 20:46:52 | fbuilesv | :-) |
| 20:47:30 | NoKarma | evan: I was thinking the same :) |
| 20:50:46 | NoKarma | actually, there are three Spec related proposals, that got accepted |
| 20:51:23 | fbuilesv | NoKarma: where are you looking at them? |
| 20:51:36 | NoKarma | http://code.google.com/soc/2008/ruby/about.html |
| 20:51:51 | zimbatm enters the room. | |
| 20:52:44 | fbuilesv | awesome |
| 20:52:53 | fbuilesv | ok, I gotta go get some junk food right now, talk to you tonight |
| 20:53:06 | fbuilesv | NoKarma: grats :) |
| 20:53:14 | fbuilesv leaves the room. | |
| 20:55:07 | brainopia leaves the room. | |
| 20:56:39 | yaroslav enters the room. | |
| 20:57:48 | imajes enters the room. | |
| 20:58:43 | Defiler | evan: haha funny story |
| 20:59:05 | Defiler | evan: When I went to look at the diff of your fix, I didn't notice the scroll indicator at first, and I thought it was just "done = false" |
| 20:59:06 | twbray leaves the room. | |
| 20:59:17 | evan | hah |
| 20:59:27 | evan | it was only slightly more complicated than that |
| 20:59:49 | evan | i just had to add an extra line to pull directly from the buffer if it contained at least the ammount of data requested |
| 20:59:58 | evan | when you were doing @sock.read(4) |
| 21:00:02 | evan | the buffer gets filled with like 70 bytes |
| 21:00:24 | evan | because the server streams it all directly |
| 21:00:25 | jlindley enters the room. | |
| 21:00:47 | evan | then, stupidly, IO#read tries to fill the buffer with MORE data |
| 21:00:50 | evan | even though it's got enough. |
| 21:01:20 | Defiler | I guess I stared at the socket.rb code for so long, I forgot to look for insanity in io.rb |
| 21:01:23 | Defiler | =( |
| 21:01:47 | Defiler | Anyway, awesome. Now we're just waiting on eval order for the final Rails push |
| 21:01:53 | evan | you started at the very bottom |
| 21:01:55 | evan | instead of the very top |
| 21: |