Show enters and exits. Hide enters and exits.
| 00:06:03 | evan | you need to click on the vm directory |
| 00:07:24 | joachimm | evan: I believe thats what I am doing, |
| 00:07:40 | evan | you should see stats for all the files in vm/ |
| 00:10:44 | AndrewO enters the room. | |
| 00:10:45 | evan | what should the title of by Kaigi talk be? |
| 00:10:55 | evan | probably needs to be something that will translate well |
| 00:13:46 | evan | dang, headius isn't around. |
| 00:13:57 | brixen | yeah, he's hiding from me |
| 00:14:06 | brixen | after all this bitching about separate rubyspecs |
| 00:14:26 | evan | you'd think he'd want to gloat that we're organizing the specs like he's talked about in the past |
| 00:14:32 | brixen | heh |
| 00:14:33 | brixen | totally |
| 00:14:36 | evan | he's at J1 though |
| 00:14:41 | brixen | yeah |
| 00:23:09 | drbrain | do we have an equivalent of rb_syswait? |
| 00:23:50 | yugui leaves the room. | |
| 00:24:29 | ezmobius | http://www.news.com/8301-13577_3-9940042-36.html |
| 00:24:32 | ezmobius | java one has a virus |
| 00:25:13 | evan | drbrain: hm. |
| 00:25:18 | evan | whats syswait do... |
| 00:25:49 | drbrain | it waits on a process until it exists |
| 00:25:53 | drbrain | system uses it |
| 00:26:12 | drbrain | system and IO#close |
| 00:26:22 | evan | ezmobius: eeew.. |
| 00:26:29 | evan | oh |
| 00:26:33 | evan | yeah Process.wait |
| 00:26:56 | drbrain | well, its got some signal() stuff in here too |
| 00:27:04 | evan | signal? |
| 00:27:04 | joachimm | evan: ok, It works now. I had an issue with the coverage that prevented the build from completing. |
| 00:27:05 | evan | let me look. |
| 00:27:23 | evan | joachimm: ah! i'm going to clean up the build process this weekend. |
| 00:27:46 | drbrain | so I think it actually kills the process |
| 00:28:06 | evan | drbrain: ignore the signal stuff |
| 00:28:06 | drbrain | hrm, no, it just temporarily ignores them |
| 00:28:08 | evan | it doesn't effect us. |
| 00:28:15 | joachimm | evan: are you intentionally not testing exceptions? |
| 00:28:18 | evan | thats them working around being interrupted |
| 00:28:22 | drbrain | ok |
| 00:28:38 | evan | joachimm: how do ya mean? |
| 00:29:25 | evan | sweet, ordered an interegrated ipod adapter for my car |
| 00:29:34 | joachimm | evan: I am looking at what is not covered. A quick glance seems to suggest that it is often lines that throws exceptions |
| 00:29:39 | evan | no more shitty fm modulator. |
| 00:29:50 | evan | joachimm: ah! |
| 00:30:03 | evan | because of time, i'm not always covering stuff 100% |
| 00:30:13 | evan | as time goes on, the tests will need to be shored up |
| 00:30:16 | drbrain | I need to integrate an ipod adapter into my car |
| 00:30:18 | evan | using the coverage and verification |
| 00:30:19 | obiejuan enters the room. | |
| 00:30:27 | evan | s/and/as/ |
| 00:30:49 | evan | drbrain: you'd be better off writing a boombox into your car i'll bet. |
| 00:30:51 | evan | :D |
| 00:31:36 | drbrain | if I use an actual dock, I'll just pull the ipod out to switch songs |
| 00:31:52 | evan | yeah |
| 00:32:06 | drbrain | I could also find a spare stereo and mod it |
| 00:32:09 | evan | looks like someone made box to translate the cd changer controls into ipod controls |
| 00:32:12 | drbrain | so I could use the volume pots |
| 00:32:56 | drbrain | that would be sweet, real push-button controls |
| 00:33:30 | evan | yeah |
| 00:33:42 | evan | hopefully it feeds track names through |
| 00:33:47 | evan | though i don't care as much about that |
| 00:34:02 | drbrain | I don't know if I could keep the same *CHUNK* sound though, I don't remember how deep all the levers are |
| 00:34:19 | evan | heh |
| 00:34:27 | evan | crutchfield makes decks to go in old cars |
| 00:34:35 | evan | before they had a DIN standard |
| 00:34:44 | evan | that come with customized faceplates |
| 00:34:46 | joachimm | evan: If I was to write a test, would I need to regenerate something or can I just start doing changes in test_*.hpp and rerunning the tests? |
| 00:34:49 | evan | that had analog knobs and such |
| 00:34:52 | evan | have |
| 00:35:09 | evan | joachimm: should be able to just edit the test_* files and run 'rake' |
| 00:35:42 | joachimm | evan: ok, that generates a new runner.cpp. great |
| 00:36:05 | evan | yep! |
| 00:38:16 | lstoll enters the room. | |
| 00:38:20 | rue | joachimm: How do you mean lines that raise exceptions? |
| 00:39:13 | rue | Up, scrollback, disregard |
| 00:39:34 | joachimm | rue: it was just a first observation. It was just coincidence that the files I checked had 'uncovered' throws. I see know that there are various things missing. |
| 00:39:52 | joachimm | s/know/now |
| 00:40:29 | rue | joachimm: Yeah, and depends on the nature of the coverage too of course. I recall someone who was fond of writing does_not_throw assertions :) |
| 00:44:26 | rue | Haha, 227-column terminal is wide enough for g++ error messages |
| 00:47:15 | boyscout | 1 commit by Ryan Davis |
| 00:47:16 | boyscout | * Fixed up pack for base64 and uuencode to be MUCH MUCH cleaner and 2x faster; 2b24a1e |
| 00:50:06 | ezmobius leaves the room. | |
| 00:51:08 | Maledictus leaves the room. | |
| 00:58:33 | rubuildius_amd64 | Ryan Davis: 2b24a1e84; 2107 files, 6858 examples, 25048 expectations, 1 failure, 0 errors; |
| 00:59:30 | rubuildius_ppc | Ryan Davis: 2b24a1e84; 1280 files, 5652 examples, 20950 expectations, 0 failures, 0 errors; http://pastie.caboo.se/paste/194642 |
| 01:02:24 | djwhitt | ack, looks like rubuildius_amd64 isn't pasting correctly |
| 01:02:31 | djwhitt | I'll get the error message for ya |
| 01:04:16 | djwhitt | zenspider: there ya go: http://pastie.caboo.se/194645 (failure from last commit) |
| 01:04:41 | benstiglitz leaves the room. | |
| 01:04:49 | evan | yeah |
| 01:04:51 | evan | that fucking spec |
| 01:04:58 | evan | it unstable. |
| 01:05:00 | evan | it's |
| 01:05:08 | zenspider | djwhitt: hrm... that's not me. can we exclude that one? |
| 01:05:11 | brixen | yeah, that spec is such a pita |
| 01:05:20 | evan | lets exclude it from ci. |
| 01:05:25 | zenspider | or should we get someone on it to stablize it? |
| 01:05:30 | wycats__ enters the room. | |
| 01:05:30 | brixen | zenspider: what's your github username? |
| 01:05:40 | brixen | let's just exclude it for now |
| 01:05:49 | zenspider | brixen: I just made one... zenspider |
| 01:05:52 | brixen | I'm about to pull the trigger on this spec split |
| 01:05:57 | brixen | zenspider: sweet, thanks |
| 01:15:31 | evan | drbrain: SIGPIPE needs to be ignored |
| 01:15:39 | drbrain | ok |
| 01:15:40 | evan | MRI flat out sets it to SIGIGN |
| 01:15:58 | evan | SIGPIPE is actually a crappy signal |
| 01:16:05 | drbrain | but, that's a different problem than the IO#close one I'm working on, so I'll leave it for now |
| 01:16:12 | evan | k |
| 01:20:15 | zenspider | I'm fading... lack of sleep + workout == tarded |
| 01:20:29 | evan | any plans this weekend? |
| 01:21:10 | wycats leaves the room. | |
| 01:21:26 | drbrain | ha! yeah! |
| 01:21:43 | drbrain | I switched it from trying to run ruby to trying to run true(1) |
| 01:21:48 | drbrain | now it gets farther |
| 01:22:30 | drbrain | ... but our reopen is only half implemented |
| 01:23:35 | evan | which half? |
| 01:23:58 | drbrain | it doesn't support path/mode |
| 01:24:04 | drbrain | only reopening to ios |
| 01:24:28 | evan | thats easy to fix |
| 01:26:48 | drbrain | yeah |
| 01:27:01 | drbrain | switching to cat and it goes back to failing :/ |
| 01:27:09 | drbrain | so something weird is going on in popen |
| 01:38:06 | dysinger leaves the room. | |
| 01:41:14 | cored leaves the room. | |
| 01:41:39 | ezmobius enters the room. | |
| 01:43:48 | AndrewO leaves the room. | |
| 01:45:10 | dysinger enters the room. | |
| 01:50:11 | eventualbuddha leaves the room. | |
| 01:53:50 | jtoy enters the room. | |
| 01:55:10 | jtoy leaves the room. | |
| 01:55:20 | jtoy enters the room. | |
| 01:56:09 | brixen | man, we have come a long ways |
| 01:56:16 | brixen | we can run specs with this output 1280 files, 5931 examples, 21145 expectations, 108 failures, 50 errors |
| 01:56:34 | brixen | and still run to completion without hosing the vm |
| 01:56:43 | evan | :) |
| 01:56:46 | evan | we have, we have. |
| 02:03:36 | rubuildius_amd64 leaves the room. | |
| 02:03:40 | rubuildius_amd64 enters the room. | |
| 02:04:00 | yugui enters the room. | |
| 02:14:03 | sambo82 enters the room. | |
| 02:20:56 | srbaker enters the room. | |
| 02:22:46 | technomancy leaves the room. | |
| 02:28:57 | blakewatters leaves the room. | |
| 02:30:27 | ezmobius leaves the room. | |
| 02:30:28 | gdagley leaves the room. | |
| 02:30:53 | gdagley enters the room. | |
| 02:31:07 | yugui_ enters the room. | |
| 02:31:10 | Yurik leaves the room. | |
| 02:32:05 | VVSiz_ enters the room. | |
| 02:37:30 | boyscout | 5 commits by Brian Ford |
| 02:37:31 | boyscout | * Change CI config to use spec/frozen rather than spec/ruby.; e51d8c0 |
| 02:37:32 | boyscout | * Bandaid fixes for CI to spec/core/kernel specs. Further work needed.; cefb90f |
| 02:37:33 | boyscout | * Renamed spec/tags/ruby to spec/tags/frozen to track rubyspec submodule.; e7d09e5 |
| 02:37:34 | boyscout | * Added spec:init logic to init and update spec/frozen submodule.; 7510986 |
| 02:37:35 | boyscout | * Added rubyspecs as a submodule at spec/frozen.; f8ea3b6 |
| 02:43:27 | brixen | holy crap, ci.rubini.us is fast |
| 02:43:55 | brixen | it had the run done 2 minutes after the push |
| 02:44:11 | brixen | evan: do you have a post-commit hook that notifies the ci bots? |
| 02:45:31 | yugui leaves the room. | |
| 02:48:48 | rubuildius_amd64 | Brian Ford: e51d8c027; 2107 files, 6857 examples, 25046 expectations, 0 failures, 0 errors |
| 02:48:59 | anteaya leaves the room. | |
| 02:49:50 | VVSiz leaves the room. | |
| 02:50:16 | rubuildius_ppc | Brian Ford: e51d8c027; 1280 files, 5651 examples, 20948 expectations, 0 failures, 0 errors; http://pastie.caboo.se/paste/194668 |
| 02:52:25 | yugui_ leaves the room. | |
| 02:52:41 | yugui enters the room. | |
| 02:55:31 | boyscout | 2 commits by Brian Ford |
| 02:55:32 | boyscout | * Fare thee well dear, dear specs.; e11d9b4 |
| 02:55:33 | boyscout | * Changed toplevel spec_helper.rb to reference spec/frozen.; 33f805d |
| 02:55:39 | GMFlash enters the room. | |
| 02:56:01 | rue | I am tempted to just push in a change that says YAY |
| 02:56:10 | brixen | heh |
| 02:58:15 | evan | hehehe |
| 02:59:19 | obiejuan leaves the room. | |
| 03:05:53 | cremes | djwhitt: you around? need help with finding new 'bot |
| 03:06:55 | djwhitt | cremes: http://github.com/djwhitt/rubuildius/tree/master |
| 03:06:59 | djwhitt | cremes: there you go |
| 03:07:07 | cremes | djwhitt: okay... |
| 03:07:45 | djwhitt | cremes: let me know if you have any questions or problems |
| 03:08:17 | gdagley leaves the room. | |
| 03:08:21 | rubuildius_amd64 | Brian Ford: e11d9b4f6; 2107 files, 6857 examples, 25046 expectations, 0 failures, 0 errors |
| 03:08:42 | cremes | djwhitt: tried: git clone http://github.com/djwhitt/rubuildius/tree/master rubuildius - no worky; what's the correct incantation? |
| 03:08:45 | boyscout | 1 commit by Evan Phoenix |
| 03:08:45 | boyscout | * Ignore spec/ruby since it's a clone; 00c9c73 |
| 03:09:18 | djwhitt | cremes: yeah, that's just the url for the github web page |
| 03:09:23 | djwhitt | cremes: this is the clone url: git://github.com/djwhitt/rubuildius.git |
| 03:10:35 | brixen | evan: heh, just about put push that :P |
| 03:10:53 | cremes | djwhitt: okay, grabbed the latest... will customize for my box and relaunch |
| 03:11:04 | cremes | djwhitt: any testing i should do? |
| 03:11:14 | evan | brixen: :) |
| 03:11:17 | cremes | djwhitt: i like to fire-and-forget. :-) |
| 03:11:18 | evan | i'm off to get some greek food. |
| 03:11:21 | lopex leaves the room. | |
| 03:11:26 | brixen | yeah, I'm off for food in a sec |
| 03:11:40 | brixen | I'll finish these spec:update and spec:push task later |
| 03:11:49 | brixen | do the announce and all that |
| 03:11:54 | brixen | yada yada :) |
| 03:12:12 | djwhitt | cremes: well, you could point it to #rubuildius_test for the first run, but other than that it should work if all the environment files in bot_nanny.sh are set right |
| 03:12:44 | brixen | amazing that nothing broke horribly today |
| 03:12:47 | cremes | djwhitt: ok, will check it out. thanks for your work. |
| 03:13:17 | djwhitt | cremes: you're welcome. thanks for updating :) |
| 03:13:53 | cremes | djwhitt: no prob. been meaning to for a few weeks; vacation and life got in the way |
| 03:14:25 | boyscout | 2 commits by Brian Ford |
| 03:14:26 | boyscout | * Added spec:clone task to clone rubyspec into spec/ruby for editing.; 47590d5 |
| 03:14:27 | boyscout | * Updated .gitignore to ignore spec/ruby directory.; e9ff971 |
| 03:15:37 | rubuildius_amd64 | Brian Ford: 47590d505; build failed! http://rafb.net/p/7xJhQV35.html |
| 03:16:16 | brixen | hmm, that's a problem |
| 03:16:33 | brixen | I think people will have to do rake spec:clone manually if they have perms |
| 03:16:49 | brixen | I'll take that out of being automatic |
| 03:18:09 | rubuildius_amd64 | Evan Phoenix: 00c9c73f5; 2107 files, 6857 examples, 25046 expectations, 0 failures, 0 errors |
| 03:18:37 | djwhitt | brixen: just consider that a test of my error paste fix ;) |
| 03:18:48 | rubuildius_ppc | Brian Ford: 47590d505; build failed! http://pastie.caboo.se/paste/194679 |
| 03:19:02 | brixen | djwhitt: :) |
| 03:19:22 | srbaker leaves the room. | |
| 03:19:24 | brixen | 19:12 brixen >> amazing that nothing broke horribly today |
| 03:19:29 | brixen | I jinxed myself :P |
| 03:19:31 | jeremydurham enters the room. | |
| 03:19:58 | cremes | djwhitt: switching over as soon as latest compile completes; any last minute details i should be aware of? |
| 03:20:45 | djwhitt | cremes: nah, don't think so |
| 03:20:57 | cremes | djwhitt: k |
| 03:21:26 | cremes | djwhitt: will watch for a few minutes then pass out after my usual friday night "binge" :) |
| 03:21:41 | djwhitt | cremes: hehe |
| 03:21:45 | boyscout | 1 commit by Brian Ford |
| 03:21:46 | boyscout | * Do not automatically attempt to clone committer url for rubyspecs.; d65cbc6 |
| 03:25:09 | cremes | djwhitt: did you put bot_nanny.sh into cron? |
| 03:25:40 | djwhitt | cremes: nope, I typically run it via screen |
| 03:25:57 | djwhitt | cremes: wouldn't really make sense in cron either since it would spawn a new bot everytime it ran |
| 03:26:26 | cremes | djwhitt: damn... glad someone here is sober. ;) |
| 03:26:32 | brixen | heh |
| 03:26:46 | brixen | ok, bbiab |
| 03:26:53 | djwhitt | cremes: of course I still have this in cron to force the bot to check for update: */5 * * * * kill -USR2 `cat $HOME/rubuildius/matzbot.pid` |
| 03:27:11 | djwhitt | cremes: you should have something like that in cron already for the old bot |
| 03:27:24 | cremes | djwhitt: good catch; i'll update old cron to match that new signature |
| 03:29:22 | cremes | djwhitt: when is EY taking over all 'bot action? i thought we were merely an interim solution... |
| 03:30:10 | djwhitt | cremes: well, there is a ci.rubini.us going right now. I'm not sure if they're planning on transitioning completely to that at some point or not |
| 03:30:27 | djwhitt | cremes: there aren't any bots in the channel from it yet |
| 03:30:37 | cremes | djwhitt: k; will run as long as i am needed |
| 03:30:52 | cremes | djwhitt: someone has to provide some big-endian lovin' |
| 03:31:50 | cremes | sheesh... machine is idle but no response from the (original) bot yet |
| 03:33:00 | djwhitt | cremes: hmm... did you move the old bot or something? perhaps it never got the signal from the cron job |
| 03:33:07 | rubuildius_amd64 | Brian Ford: d65cbc69b; 2107 files, 6857 examples, 25046 expectations, 0 failures, 0 errors |
| 03:33:46 | cremes | djwhitt: now i see more work from rubinius... but there was definitely a measurable lag |
| 03:34:04 | cremes | i'll switch to new 'bot as soon as current one is done |
| 03:34:09 | maharg leaves the room. | |
| 03:34:09 | djwhitt | k |
| 03:35:34 | rubuildius_ppc | Brian Ford: d65cbc69b; 1280 files, 5651 examples, 20948 expectations, 0 failures, 0 errors; http://pastie.caboo.se/paste/194684 |
| 03:35:35 | rubuildius_ppc | Evan Phoenix: 00c9c73f5; 1280 files, 5651 examples, 20948 expectations, 0 failures, 0 errors; http://pastie.caboo.se/paste/194683 |
| 03:35:36 | rubuildius_ppc | Brian Ford: e11d9b4f6; 1280 files, 5651 examples, 20948 expectations, 0 failures, 0 errors; http://pastie.caboo.se/paste/194673 |
| 03:35:50 | cremes | okay, switching now... |
| 03:35:53 | rubuildius_ppc leaves the room. | |
| 03:37:13 | cremes | djwhitt: switched; watch for fireworks :) |
| 03:37:22 | cremes | quick; someone commit something! |
| 03:37:45 | djwhitt | waits for something to explode |
| 03:38:08 | djwhitt | I think it'll run at least once even without a fresh commit |
| 03:38:43 | djwhitt | though, this one actually saves session so it won't re-run after restarts |
| 03:38:53 | cremes | djwhitt: hmm... it's happily sitting here watching irc without any response |
| 03:39:59 | djwhitt | cremes: oh, one thing I did forget. make sure you have a clone of rubinius in repo/rubinius/HEAD |
| 03:40:18 | cremes | djwhitt: it doesn't clone it automatically? |
| 03:40:25 | djwhitt | cremes: not the first time |
| 03:40:38 | cremes | k; will restart after i do a manual clone |
| 03:41:10 | djwhitt | cremes: k. also, keep in mind that it might take a few minutes until cron sends the bot the signal to pull changes |
| 03:47:28 | srbaker enters the room. | |
| 03:51:38 | ShayArnett enters the room. | |
| 03:53:07 | seydar enters the room. | |
| 04:13:26 | MenTaLguY enters the room. | |
| 04:15:01 | MenTaLguY | hello |
| 04:16:39 | brixen | hi MenTaLguY |
| 04:16:57 | brixen | the actor page on LH is sweet btw, I just noticed it today |
| 04:17:25 | MenTaLguY | cool |
| 04:17:34 | MenTaLguY | I haven't really sat down and gone over it yet |
| 04:17:56 | brixen | MenTaLguY: did you do the graphic for it? |
| 04:18:12 | MenTaLguY | nope |
| 04:18:43 | brixen | oh interesting, evan and I speculated it was yours :) |
| 04:18:54 | brixen | the nice gradients and whatnot heh |
| 04:20:20 | MenTaLguY | it does look nice |
| 04:20:58 | MenTaLguY | I'm not sure how accurate it really is |
| 04:21:04 | MenTaLguY | but then again it's a design sketch |
| 04:21:17 | MenTaLguY | and I think the stuff I'm implementing now will end up looking a bit more like the diagram in the end |
| 04:21:29 | MenTaLguY | than it does currently |
| 04:21:46 | brixen | well, it's certainly cool to have this stuff being developed |
| 04:23:42 | srbaker leaves the room. | |
| 04:24:29 | MenTaLguY | yeah |
| 04:28:56 | trythil enters the room. | |
| 04:29:28 | ShayArnett leaves the room. | |
| 04:32:36 | trythil leaves the room. | |
| 04:35:24 | benburkert_ enters the room. | |
| 04:35:24 | benburkert leaves the room. | |
| 04:37:33 | seydar leaves the room. | |
| 04:42:24 | trythil enters the room. | |
| 04:49:21 | trythil leaves the room. | |
| 04:57:02 | boyscout | 2 commits by Wilson Bilkovich |
| 04:57:03 | boyscout | * Clean up OpenSSL digest implementation; e4fc5e2 |
| 04:57:04 | boyscout | * Print a readable error message for nameless modules with cvars; f097fcf |
| 05:08:10 | rubuildius_amd64 | Wilson Bilkovich: e4fc5e2ed; 2107 files, 6857 examples, 25046 expectations, 0 failures, 0 errors |
| 05:09:30 | stepheneb leaves the room. | |
| 05:16:25 | MenTaLguY leaves the room. | |
| 05:39:46 | mernen leaves the room. | |
| 05:45:22 | shame enters the room. | |
| 05:46:55 | benburkert_ leaves the room. | |
| 06:01:45 | rue | brixen: Think it was mainly rosejn setting up that page. tarcieri added a couple things too |
| 06:01:59 | brixen | rue: ahh ok |
| 06:03:16 | brixen | hrm, looks like ci.rubini.us bot is hung or otherwise awol |
| 06:03:58 | Defiler | Can someone remind me what that tool is that will list the functions in a binary library? |
| 06:06:32 | brixen | on darwin, there's otool |
| 06:06:42 | manveru leaves the room. | |
| 06:06:48 | brixen | also nm |
| 06:07:38 | Defiler | aah, right. nm. that was it |
| 06:10:24 | manveru enters the room. | |
| 06:11:26 | Defiler | brixen: Care to look at a header file with me? |
| 06:11:43 | Defiler | I am in /usr/include/openssl/hmac.h (Leopard) |
| 06:12:15 | rue | Also known as Clearest Code On The Planet.h |
| 06:12:48 | Defiler | line 101 in my version is: unsigned char *HMAC(const EVP_MD *evp_md, const void *key, int key_len, |
| 06:12:51 | Defiler | blah blah |
| 06:13:01 | rue | Wonder if there would be money in becoming a hitman for people who have to use some ghastly library |
| 06:13:06 | Defiler | but that looks like a regular old function, and the decl here isn't conditional |
| 06:13:24 | Defiler | nm doesn't show _HMAC as a function in libssl.dylib |
| 06:13:33 | Defiler | but the other HMAC functions in this header are there, and they work |
| 06:13:34 | brixen | hmm, one sec.. |
| 06:14:54 | Defiler | gotta love the mixed tabs and spaces as well |
| 06:15:14 | brixen | heh, yeah |
| 06:16:02 | Defiler | Man, the license in this file is intense |
| 06:16:40 | rue | Could be a macro somewhere else, or the symbol may be manually removed/hidden |
| 06:16:49 | rue | Also, you may have a version in /opt/local |
| 06:16:52 | evan | it's probably just #define'd to be something |
| 06:17:11 | Defiler | You can implement something that was declared as a function in a header via a define? |
| 06:17:16 | Defiler | brutal |
| 06:17:27 | evan | you #define it before the declaration |
| 06:17:36 | evan | because cpp is a stupid text substitation program |
| 06:17:41 | rue | I see no #defines, though |
| 06:17:42 | evan | it doesn't even know it's a declaration. |
| 06:17:44 | evan | yeah |
| 06:17:48 | evan | it looks legit. |
| 06:17:53 | evan | let me look with nm |
| 06:18:06 | Defiler | set_ffi_lib "libssl" |
| 06:18:07 | Defiler | attach_function "HMAC", "ossl_hmac", [:pointer, :pointer, :int, :string, :int, :string, :uint], :string |
| 06:18:09 | rue | Defiler: I am currently actually #defining connect(), send() etc. to mock them out |
| 06:18:10 | Defiler | is what I have to wire it up |
| 06:18:33 | evan | ah ha! |
| 06:18:37 | evan | the wonders of openssl |
| 06:18:39 | evan | it's not in libssl |
| 06:18:41 | evan | it's in libcrypto |
| 06:18:44 | Defiler | what the fuck |
| 06:18:46 | evan | why oh why it's split |
| 06:18:47 | evan | no one knows. |
| 06:18:51 | Defiler | no what the fuck |
| 06:19:04 | evan | I hear ya |
| 06:19:07 | rue | 'Cause it was more fun that way, maybe |
| 06:19:07 | Defiler | It's wood chipper time for these kids |
| 06:19:10 | evan | i'd have 2 modules |
| 06:19:19 | Defiler | Yeah, it's cool. I have them split up already |
| 06:19:21 | evan | SSL and Crypto |
| 06:19:23 | Defiler | It's just dumb |
| 06:19:25 | rue | Ha, maybe there would be customers in that area.. :) |
| 06:19:26 | evan | agreed |
| 06:19:41 | rue | I have to go to ninja school first though |
| 06:19:54 | evan | i *think* it's because crypto is the one thats crypto algos gathered up over time |
| 06:19:59 | evan | and libssl is ONLY the ssl parts |
| 06:20:03 | evan | or that was it originally |
| 06:20:08 | evan | it's not that anymore. |
| 06:20:10 | rue | It is easier to use outside openssl, sure |
| 06:20:12 | Defiler | FFI::NotFoundError: Function 'HMAC' not found! (Looking in 'libcrypto') |
| 06:20:27 | evan | hrm |
| 06:20:30 | rue | Well, dunno easier but lighter-weight |
| 06:20:32 | Defiler | It's probably due to those old irritating export restrictions |
| 06:20:40 | Defiler | thus making openssl easier to embed |
| 06:20:49 | evan | yeah |
| 06:21:02 | evan | thats why libtomcrypt rocks |
| 06:21:05 | evan | developed in canadian |
| 06:21:07 | evan | public domain |
| 06:21:29 | Defiler | so openssl/foo.h is routinely also #included by libcrypto as well as libssl. interesting |
| 06:21:37 | rue | It is both in the /usr/lib and /opt/local/lib here |
| 06:22:04 | evan | Defiler: i got HMAC attached here |
| 06:22:17 | brixen | Defiler: otool -T -v /usr/lib/libcrypto.dylib | grep HMAC |
| 06:22:18 | evan | >> module Crypto |
| 06:22:18 | evan | >> set_ffi_lib "libcrypto" |
| 06:22:18 | evan | >> attach_function "HMAC", [], :pointer |
| 06:22:18 | evan | >> end |
| 06:22:25 | evan | worked |
| 06:22:33 | Defiler | aha.. so maybe there really is a problem with > 6 args |
| 06:22:40 | evan | no |
| 06:22:56 | TheVoice enters the room. | |
| 06:22:58 | evan | when it's attached, the args do nothing |
| 06:23:00 | Defiler | yep. boom. |
| 06:23:02 | evan | thats not until you do a call |
| 06:23:09 | Defiler | if I cut the , :uint off the end |
| 06:23:10 | evan | unless there is still some code to check |
| 06:23:10 | Defiler | it attaches |
| 06:23:15 | evan | check ffi.rb |
| 06:23:19 | evan | something must still be checking. |
| 06:24:02 | evan | huh. |
| 06:24:05 | evan | i get it here too... |
| 06:24:25 | evan | crap |
| 06:24:32 | evan | there are still 6 arg length checks in th VM |
| 06:24:33 | evan | one sec. |
| 06:24:43 | Defiler | oh, hah |
| 06:24:48 | Defiler | yeah. it's in ffi.c |
| 06:25:05 | Defiler | and it returns Qnil so it looks like a lookup failure |
| 06:25:30 | rue | On purpose, if my recollection serves :) |
| 06:25:39 | evan | not anymore |
| 06:25:41 | brixen | evan: are you able to restart the ci.rubini.us bot? |
| 06:25:47 | evan | that was a gnu lightning problem |
| 06:25:54 | evan | brixen: ack, i'll do that. |
| 06:26:01 | brixen | k |
| 06:28:22 | evan | Defiler: yeah, that fixes it |
| 06:28:23 | evan | one sec. |
| 06:28:25 | evan | i'll commit. |
| 06:29:18 | boyscout | 1 commit by Evan Phoenix |
| 06:29:19 | boyscout | * Remove final vestage of GNU lightning; 77aabb3 |
| 06:30:06 | evan | wtf |
| 06:30:28 | evan | you have the submodule connecting via ssh? |
| 06:30:43 | brixen | I changed that |
| 06:31:03 | brixen | I'm adding spec:anon and spec:committer like the git:anon, etc ones |
| 06:31:13 | evan | perfect. |
| 06:31:25 | brixen | and spec:init will depend on spec:clone which will use the anon url |
| 06:35:37 | Defiler | evan: super fixed. thanks. |
| 06:38:14 | rubuildius_amd64 | Evan Phoenix: 77aabb391; 2107 files, 6857 examples, 25046 expectations, 0 failures, 0 errors |
| 06:40:12 | lstoll leaves the room. | |
| 06:42:29 | mkrauskopf enters the room. | |
| 06:43:38 | Defiler | Hrm. There is no way to make a multi-line string that doesn't add additional whitespace from the second line, right? |
| 06:44:13 | Defiler | e.g. "this is a long string \<cr><whitespace to align with above line>that should print on one line" |
| 06:44:35 | Defiler | The MRI error being raised is this mouthful: TypeError: wrong argument (String)! (Expected kind of OpenSSL::Digest::Digest) |
| 06:45:26 | evan | Defiler: no, thats why heredocs always look ugly if you care about left side white space |
| 06:47:51 | brixen | Defiler: in such cases, I just do adjacent strings on separate lines with the \ continuation |
| 06:48:36 | Defiler | What do you mean by adjacent? |
| 06:49:05 | Defiler | http://rafb.net/p/ACBikj70.html |
| 06:49:07 | Defiler | this is the scenario |
| 06:49:10 | trythil enters the room. | |
| 06:49:15 | Defiler | I need output identical to what that code generates |
| 06:49:33 | Defiler | (I don't actually care to match MRI's error, but I'm curious now) |
| 06:50:42 | yugui leaves the room. | |
| 06:51:34 | benburkert enters the room. | |
| 06:53:03 | brixen | Defiler: that works |
| 06:53:11 | brixen | this is what I meant by adjacent: http://pastie.org/194739 |
| 06:54:11 | Defiler | evan: So, now that I have these structs declared.. can I use them as attach_function return values? |
| 06:54:19 | Defiler | to auto-'box' them? |
| 06:54:39 | Defiler | brixen: oh man I didn't know that worked |
| 06:55:34 | benburkert leaves the room. | |
| 06:58:01 | benburkert enters the room. | |
| 06:58:01 | benburkert leaves the room. | |
| 06:58:58 | evan | Defiler: no |
| 06:59:03 | evan | Defiler: you have to return pointers |
| 06:59:12 | evan | and give the pointer to a Struct.new |
| 07:01:26 | Defiler | k |
| 07:03:26 | benburkert enters the room. | |
| 07:03:43 | benburkert leaves the room. | |
| 07:03:51 | boyscout | 1 commit by Brian Ford |
| 07:03:52 | boyscout | * Fix spec:clone and add spec:anon, spec:committer, spec:update, spec:push.; dd6d0e6 |
| 07:06:40 | Defiler | haha. rad. hexdigest is a two-line method now |
| 07:10:05 | evan | Defiler: hows merb coming? |
| 07:10:14 | manveru leaves the room. | |
| 07:10:27 | Defiler | evan: Merb doesn't work on webrick right now (even on MRI) |
| 07:10:38 | Defiler | ezmobius was going to fix it last night, but I haven't heard from him |
| 07:10:43 | evan | and rubinius mongrel isn't working? |
| 07:10:49 | evan | we should talk to tarcieri |
| 07:10:53 | evan | i think he had it working |
| 07:11:27 | boyscout | 1 commit by Wilson Bilkovich |
| 07:11:28 | boyscout | * Implemented OpenSSL::HMAC.hexdigest; 68b7fc3 |
| 07:11:34 | Defiler | That push right there is the last of OpenSSL that Merb appears to depend on |
| 07:11:42 | brixen | awesome |
| 07:11:52 | evan | dope |
| 07:12:03 | Defiler | all that screwing around and HMAC is 25 lines included whitespace and ends |
| 07:12:03 | evan | stops micro managing. |
| 07:12:15 | manveru enters the room. | |
| 07:12:39 | brixen | evan: hehe, at this rate, I will have to eat my words about redoing stuff in FFI :) |
| 07:12:55 | evan | Defiler: hexdigest is 2 lines become you just moved everything to MemoryPointer |
| 07:12:59 | evan | Defiler: i'd prefer you didn't do that |
| 07:13:02 | Defiler | Yeah, it's ridiculously easy once you get the hang of figuring out which things should be strings and which pointers, etc |
| 07:13:07 | brixen | we'll probably end up rewriting all of ruby stdlib soon |
| 07:13:09 | evan | why does anyone else need a read_string_as_hex method on MemoryPointer? |
| 07:13:11 | Defiler | evan: Well yeah, but I needed it here as well |
| 07:13:15 | rubuildius_amd64 | Brian Ford: dd6d0e60f; 2107 files, 6853 examples, 25042 expectations, 0 failures, 0 errors |
| 07:13:38 | evan | oh, you need it in digest and hmac? |
| 07:13:40 | Defiler | yeah |
| 07:13:43 | evan | hrm. |
| 07:13:48 | Defiler | It's really the right place for it, in my opinion |
| 07:13:53 | Defiler | but I am open to other ideas |
| 07:13:54 | evan | i don't think so |
| 07:14:00 | evan | it's so specific |
| 07:14:14 | evan | it's like having a method that returns the number 42 |
| 07:14:49 | Defiler | OK. I'll move it. Where do you think it should go? |
| 07:15:06 | evan | OpenSSL.read_as_hex(ptr) |
| 07:15:09 | evan | i'd think. |
| 07:15:29 | Defiler | OK |
| 07:15:39 | evan | why do you think thats the proper place for it? |
| 07:15:52 | evan | i don't mean to tell you whats what |
| 07:15:59 | evan | just giving my opinion |
| 07:16:01 | Defiler | Because it's a MemoryPointer, and it has the responsibility to return various results based on how you ask to read it |
| 07:16:23 | evan | Then why not having Strin#as_shakespeare |
| 07:16:41 | Defiler | Sure. You get to implement it, though |
| 07:16:43 | evan | "do this".as_shakespeare # => "perform doth" |
| 07:16:54 | evan | i'm just say |
| 07:17:03 | Defiler | I mean, other than namespace issues, I don't really see a problem with that |
| 07:17:08 | evan | reading a string as hex out of a MemoryPointer is a very specific operation |
| 07:17:17 | evan | so much that i doubt anyone will need it |
| 07:17:25 | evan | other than the 2 cases you have |
| 07:17:30 | Defiler | OK. I guess it seemed pretty generic to me |
| 07:17:39 | evan | in all the FFI i've done |
| 07:17:44 | evan | i've never need to read a string as hex |
| 07:17:58 | evan | i've needed ever other method |
| 07:18:13 | Defiler | What code are we using to print those 0xfoo addresses in Object#inspect? Heh |
| 07:18:14 | evan | it seems very specific to the problem domain of OpenSSL |
| 07:18:26 | evan | object_id.to_s(16) |
| 07:18:30 | evan | it's not a memory address. |
| 07:18:42 | Defiler | yeah, they are too short. Heh |
| 07:18:56 | Defiler | I do like how this version reads, though |
| 07:18:56 | Defiler | Oh well |
| 07:19:21 | evan | you're not arguing very well |
| 07:19:39 | evan | :) |
| 07:19:40 | Defiler | It's after 2 |
| 07:19:51 | Defiler | I'm amazed I'm sitting up |
| 07:20:07 | evan | leave it then. |
| 07:20:17 | Defiler | Nah, I've got it changed |
| 07:20:29 | Defiler | OpenSSL.read_buffer_as_hex |
| 07:20:29 | evan | i can't have everything the way I want |
| 07:20:30 | wycats__ leaves the room. | |
| 07:20:40 | Defiler | I'll pick my battles |
| 07:20:40 | wycats_ leaves the room. | |
| 07:21:23 | mkrauskopf leaves the room. | |
| 07:21:49 | evan | rails has really gotten people in the mindset that the builtin classes are where they should embed their problem specific logic |
| 07:21:54 | evan | it's not something i've very fond of |
| 07:22:36 | Defiler | Well, getting back the kind of subclass you want can be tricky in typical Ruby code |
| 07:22:58 | Defiler | Here, for example, if I could easily get back a subclass of MemoryPointer that had my wackiness in it, I would do that |
| 07:23:11 | rubuildius_amd64 | Wilson Bilkovich: 68b7fc3ba; 2107 files, 6857 examples, 25046 expectations, 0 failures, 0 errors |
| 07:23:16 | Defiler | HexStringPointer.new etc |
| 07:23:16 | evan | thats what extend is for |
| 07:23:31 | evan | ptr = thing_that_returns_a_pointer() |
| 07:23:42 | evan | ptr.extend WilsonMadness |
| 07:23:49 | evan | ptr.hex_o_rama(12) |
| 07:24:16 | Defiler | ptr.hex_this_shit_so_we_can_get_going |
| 07:24:49 | evan | Defiler: got anything going on this weekend? |
| 07:25:02 | Defiler | Might play some disc golf |
| 07:25:08 | Defiler | With the last of the tastiest weather |
| 07:25:46 | evan | nice |
| 07:29:09 | Defiler | Oh. Hrm. |
| 07:29:36 | Defiler | You know.. I should change this up |
| 07:29:44 | Defiler | because it makes sense to implement hexdigest in terms of digest |
| 07:29:55 | Defiler | I just did it backwards because Merb uses hexdigest and not digest |
| 07:30:09 | Defiler | but in reality, hexdigest is just digest + convert_to_hex durh |
| 07:33:02 | evan | yep |
| 07:33:08 | evan | i was going to ask you that. |
| 07:33:18 | Defiler | oh god that is way less everything. |
| 07:36:13 | boyscout | 1 commit by Wilson Bilkovich |
| 07:36:14 | boyscout | * Implement OpenSSL digest methods, and rewrite hexdigest using them; 3502540 |
| 07:36:29 | manveru leaves the room. | |
| 07:37:28 | Defiler | brixen: OK.. so.. new spec layout |
| 07:37:35 | brixen | yes |
| 07:37:43 | Defiler | brixen: we now pass the OpenSSL specs that TM added earlier |
| 07:37:55 | Defiler | What do I do to tag them as passing for ci these days? |
| 07:38:02 | brixen | ahh, hmm |
| 07:38:17 | brixen | did you try bin/mspec tag --del fails path/to/spec_file ? |
| 07:38:27 | Defiler | Definitely not. :) |
| 07:38:30 | brixen | I haven't tried that since I moved spec/tags/ruby to spec/tags/frozen |
| 07:39:11 | manveru enters the room. | |
| 07:39:34 | Defiler | http://pastie.org/194748 |
| 07:39:50 | brixen | hmm |
| 07:39:58 | brixen | le'me try here |
| 07:40:01 | Defiler | k |
| 07:40:26 | brixen | oh, hrm |
| 07:40:39 | brixen | I get giving it the spec/ruby path will confuse it |
| 07:40:49 | brixen | doesn't know where to look for the tags |
| 07:40:54 | brixen | use spec/frozen instead |
| 07:41:37 | brixen | I'm going to have to write so many docs in the next couple days (ugh) |
| 07:41:49 | Yurik enters the room. | |
| 07:42:02 | brixen | s/get/bet/ |
| 07:43:29 | brixen | Defiler: http://pastie.org/194751 |
| 07:43:36 | Defiler | So if I want to run a subset of ci, I would say mspec ci spec/frozen/1.8/blah? |
| 07:43:43 | brixen | yes |
| 07:44:53 | boyscout | 1 commit by Wilson Bilkovich |
| 07:44:54 | boyscout | * Remove failing tags from openssl/hmac specs; adba40f |
| 07:46:17 | Defiler | Man, VPRI is really kicking ass |
| 07:46:39 | Defiler | This is about 130-ish lines of non-whitespace to support OpenSSL digests and hmac |
| 07:46:45 | Defiler | and they did javascript in 170 |
| 07:49:01 | brixen | heh |
| 07:50:08 | Yurik leaves the room. | |
| 07:54:21 | rubuildius_amd64 | Wilson Bilkovich: adba40f62; 2107 files, 6859 examples, 25050 expectations, 0 failures, 0 errors |
| 07:54:22 | rubuildius_amd64 | Wilson Bilkovich: 350254024; 2107 files, 6857 examples, 25046 expectations, 0 failures, 0 errors |
| 07:57:49 | brixen | ok, I've updated this thread with some info http://groups.google.com/group/rubinius-dev/browse_thread/thread/da19a433520afad5 |
| 07:58:07 | brixen | the channel topic has a link to the LH page as well |
| 08:02:45 | dbussink | hmm, do changes to ENV propagate down to the vm too? |
| 08:03:05 | dbussink | because ffi doesn't seem to pick up changes i make to LD_LIBRARY_PATH |
| 08:03:16 | dbussink | it does work if i set the env variable in the terminal beforehand |
| 08:03:22 | Defiler | merb app running on rubinius muhaha |
| 08:03:37 | Defiler | I found and fixed the merb bug ezmobius promised to handle and now it is golden |
| 08:04:23 | wycats enters the room. | |
| 08:05:27 | brixen | Defiler: sweet! |
| 08:06:24 | dbussink | evan: any ideas what could be the cause of the env changes not being picked up? |
| 08:06:30 | brixen | dbussink: changes to ENV should be visible to C functions, since ENV is implemented with calls to the system |
| 08:06:42 | dbussink | brixen: yeah, that's what i thought |
| 08:06:43 | brixen | er, visible to the VM |
| 08:06:51 | dbussink | but it doesn't seem to work :( |
| 08:07:37 | brixen | hmm, but is this something that would affect ld? |
| 08:07:51 | dbussink | well, ffi uses dlopen |
| 08:08:29 | brixen | yeah |
| 08:09:44 | brixen | dbussink: you could put a call to getenv in the ffi code and see |
| 08:09:57 | dbussink | i was just doing that ) |
| 08:09:59 | dbussink | :) |
| 08:10:01 | brixen | heh |
| 08:10:15 | brixen | I still wonder if dlopen might cache that or something |
| 08:10:20 | brixen | but I really have no idea |
| 08:10:24 | dbussink | it's set there |
| 08:10:49 | dbussink | so that probably leaves something like a caching mechanism yeah |
| 08:12:16 | dbussink | http://hathawaymix.org/Weblog/2004-12-30 |
| 08:12:17 | dbussink | nasty |
| 08:12:55 | manveru leaves the room. | |
| 08:13:06 | dbussink | that makes it impossible to work around it |
| 08:13:33 | dbussink | and forcing rubinius users to setup LD_LIBRARY_PATH is not something i would like to do |
| 08:15:36 | brixen | hrm, that sucks |
| 08:16:11 | dbussink | yeah, really bigtime |
| 08:16:26 | rue | brixen: I can rewrite whatever docs needed; new stuff I obviously may not be able to help with |
| 08:16:41 | headius enters the room. | |
| 08:17:16 | manveru enters the room. | |
| 08:17:35 | rue | dbussink: Library paths are a huge pain in the ass, and generally not worth it. If for whatever reason the lib cannot go in the system paths, require full path instead |
| 08:18:07 | dbussink | rue: well, full path creates nastyness if it needs other libraries outside the search path |
| 08:18:24 | dbussink | rue: this is a huge problem for example for all macports libraries |
| 08:18:29 | rue | Yes, but that is generally a sign of something being wrong to begin with |
| 08:18:40 | rue | Whuh? Those should all BE in your ldpath |
| 08:18:57 | Defiler | nope. macports doesn't update the LD path |
| 08:18:57 | headius | evening |
| 08:19:02 | dbussink | /opt/local/lib is not standard |
| 08:19:11 | dbussink | it compiles everything against it though |
| 08:19:23 | dbussink | so that basically creates havok in our situation |
| 08:20:04 | rue | Be mindful of the difference between dlopen and lt_dlopen there |
| 08:20:23 | dbussink | lt_dlopen? |
| 08:23:08 | brixen | rue: thanks man. helping guide folks will be big help. I'll be out climbing for at least 1/2 the day tomorrow |
| 08:23:14 | brixen | headius: what's your github username? |
| 08:23:39 | headius | I haven't set one up...was halfway through the process when I had to run off to an event |
| 08:25:06 | brixen | headius: check the link in the channel topic |
| 08:26:24 | brixen | rue: I think the docs need some pretty significant work to remove the rbx-centric stuff. I'll work on it tomorrow |
| 08:26:52 | headius | looks good at a glance |
| 08:28:27 | brixen | headius: did you see http://rubyspec.org/ ? |
| 08:28:35 | headius | I had not |
| 08:28:48 | headius | very nice |
| 08:29:09 | brixen | headius: a fair amount of doc work needed, but I'll do the ruby-talk announce sat or sun |
| 08:29:17 | brixen | glad you like it :D |
| 08:29:38 | headius | we have a bunch of companies interested in sponsoring jruby hackfests at railsconf...I'm thinking we might try to steer it toward porting our various suites to specs |
| 08:29:54 | brixen | that would be awesome |
| 08:30:12 | brixen | must say, as much as I detest every single bug-tracker I've used, redmine is pretty nice |
| 08:30:15 | headius | that would probably be most useful, and nobody's going to re-write an optimizing compiler or something anyway |
| 08:30:41 | brixen | yeah, I was just looking over the mri openssl tests the other day |
| 08:30:52 | brixen | having all that stuff in specs would be awesome |
| 08:30:58 | headius | redmine's pretty nice, we have a few people deploying on jruby now |
| 08:31:06 | headius | yeah |
| 08:31:07 | brixen | oh sweet |
| 08:31:17 | headius | I just want to start dumping our suites or pieces of them |
| 08:31:25 | brixen | yeah |
| 08:31:34 | headius | they're all governed by separate _index files now, so we can cull them one at a time |
| 08:31:47 | brixen | cool |
| 08:33:23 | brixen | well, must sleep. catch y'all late tomorrow |
| 08:34:01 | kw leaves the room. | |
| 08:36:09 | trythil leaves the room. | |
| 08:36:18 | dbussink | night |
| 08:40:40 | TheVoice leaves the room. | |
| 08:46:30 | rue | brixen: Announcements always on Monday or Tuesday EST working hours :) Otherwise they get eaten by the trickle traffic over the weekend |
| 08:46:46 | manveru leaves the room. | |
| 08:48:35 | rue | dbussink: GNU Libtool's ltdl is being used to load libraries. Most platforms have a separate dlopen implementation, but OS X for example also has its own libtool |
| 08:48:35 | kamal_fariz | brixen: just checking in. my github account is 'kamal' |
| 08:49:27 | robertpostill enters the room. | |
| 08:49:28 | robertpostill leaves the room. | |
| 08:49:42 | dbussink | rue: yeah, was looking into it |
| 08:49:59 | dbussink | but it doesn't make any difference wrt the ld_library_path behavior |
| 08:50:57 | manveru enters the room. | |
| 08:52:28 | rue | Does too :) |
| 08:52:42 | dbussink | rue: does it? |
| 08:52:47 | dbussink | rue: how? |
| 08:52:48 | rue | http://www.gnu.org/software/libtool/manual.html#Using-libltdl There should be functions there if it is really necessary to add stuff in |
| 08:52:57 | GMFlash leaves the room. | |
| 08:54:19 | dbussink | rue: but we don't seem to be using libltdl everywhere |
| 08:54:34 | dbussink | not on freebsd for example |
| 08:55:11 | rue | FreeBSD is the only exception currently, I think. In that case, one would need to fall back |
| 08:55:28 | dbussink | but is libltdl simply not supported there? |
| 08:55:37 | dbussink | or is it juts not used |
| 08:56:06 | dbussink | because i could use lt_dladdsearchdir to add paths |
| 08:56:17 | dbussink | that seems to be runtime possible |
| 08:56:39 | dbussink | ld_library_path changes are not runtime possible, so that would still not make it work for freebsd |
| 08:58:15 | rue | I would imagine LTDL_LIBRARY_PATH worked on FreeBSD, not sure though. There was some specific problem why it is split |
| 08:59:59 | Maledictus enters the room. | |
| 09:00:22 | rue | ...Which no-one remembered to write down, I guess |
| 09:00:26 | dbussink | well, from what i see in the libltdl documentation, the only way to change it runtime is to use lt_dladdsearchdir and it's frieds |
| 09:00:28 | dbussink | friends |
| 09:04:41 | rue | lt_dlopen documentation, #2 says the env would work. Naturally they do not elaborate |
| 09:05:00 | atmos leaves the room. | |
| 09:05:33 | dbussink | yeah, it says the env should work, but not that it's runtime changeable |
| 09:05:49 | dbussink | #1 has a specific remark that the program can change the search path itself |
| 09:06:36 | headius leaves the room. | |
| 09:07:26 | dbussink | but nothing like actually testing, it does seem to work :) |
| 09:07:57 | dbussink | rue: but isn't the easiest solution for freebsd to libltdl working there? |
| 09:11:55 | dbussink | rue: onto the next bug then |
| 09:12:01 | dbussink | but i got to run some errants first |
| 09:19:02 | imajes enters the room. | |
| 09:22:13 | rue | dbussink: I think the problem is that libltdl on FreeBSD is not able to attach to the same process |
| 09:25:45 | manveru leaves the room. | |
| 09:28:14 | manveru enters the room. | |
| 09:38:28 | trythil enters the room. | |
| 09:43:45 | rue | Be back in a few |
| 09:45:51 | rue | Also, I think Merb running should get a bit more exposure--hurray for Defiler |
| 09:55:10 | benny enters the room. | |
| 09:59:22 | blakewatters enters the room. | |
| 10:08:50 | jtoy leaves the room. | |
| 10:15:39 | jtoy enters the room. | |
| 10:26:25 | VVSiz | mornig, folks |
| 10:26:41 | Yurik enters the room. | |
| 10:29:32 | jtoy leaves the room. | |
| 10:31:44 | yugui enters the room. | |
| 10:39:50 | trythil leaves the room. | |
| 10:39:58 | trythil enters the room. | |
| 10:40:25 | VVSiz | rue: do you know what else should I do to be able to commit to rubyspecs repo? |
| 10:40:49 | VVSiz | currently, git push returns: fatal: The remote end hung up unexpectedly |
| 10:45:42 | Skip enters the room. | |
| 10:48:17 | imajes leaves the room. | |
| 10:48:32 | VVSiz | oh, nevermind, figured that out. for some reason github (or browser) was appending mailto: to the URL :) |
| 10:55:27 | trythil_ enters the room. | |
| 10:55:28 | trythil leaves the room. | |
| 11:08:15 | NoKarma enters the room. | |
| 11:09:37 | Blinchik_ leaves the room. | |
| 11:10:41 | Blinchik_ enters the room. | |
| 11:16:56 | trythil_ leaves the room. | |
| 11:34:11 | dbussink | VVSiz: nice work on the bigdecimal stuff :) |
| 11:35:56 | lopex enters the room. | |
| 11:45:38 | VVSiz | dbussink: heheheh :) there's still *lots* to test there :) |
| 11:45:48 | dbussink | VVSiz: hehe, probably yeah |
| 11:45:55 | dbussink | the first run of date also resulted in 200+ specs |
| 11:46:13 | VVSiz | the most evil method is #mode, it basically changes most other methods behaviours!!! :) |
| 11:48:02 | dbussink | that's really ultimate evil |
| 11:49:13 | dbussink | rue: are you still there? |
| 11:49:19 | VVSiz | so, effectively, we need to multiply the current tests by number of modes :) |
| 11:49:37 | dbussink | rue: i just removed the freebsd ifdef conditional and it works fine on freebsd still |
| 11:49:43 | dbussink | just tested iconv |
| 11:50:23 | dbussink | VVSiz: guess you assumed the default case now? |
| 11:50:35 | VVSiz | yes, all current specs are for the default case |
| 11:51:11 | VVSiz | plus, some test don't really honor the mode (like sqrt and others), some have hardcoded precisions and some have hardcoded algorithms on how to calculate the precision |
| 11:51:19 | VVSiz | nothing of which is documented :) |
| 11:51:40 | dbussink | man, you already have a ton of bugs to file against mri? :P |
| 11:52:54 | VVSiz | I probably should, yeah. also, all methods that accept additional precision parameter, have in their docs specified that the parameter is optional. Which is not true, it's required :) |
| 11:53:11 | VVSiz | also, #zero?, according to the docs, must return 0 for 0, but returns 1 :) |
| 11:53:28 | dbussink | rue: hmm, not true though, indeed failures for the current process |
| 11:57:40 | VVSiz | anyone knows what the project is used for those nice project's web pages for mspec and rubyspecs? http://rubyspec.org/ |
| 11:57:52 | dbussink | VVSiz: you mean redmine? |
| 11:58:08 | VVSiz | oh, it seems so. |
| 11:58:28 | VVSiz | not that bad at all.. :) |
| 11:59:01 | dbussink | looks pretty nice |
| 11:59:04 | dbussink | nicer than trac :P |
| 11:59:46 | VVSiz | I've been using Trac for years, so Redmine looks comfortable and kinda known |
| 12:22:17 | yugui_ enters the room. | |
| 12:23:01 | yugui leaves the room. | |
| 12:24:02 | dbussink | rue: i seem to be able to fix it if i compile it with RTLD_NOW instead of the default RTLD_LAZY |
| 12:52:24 | Fullmoon leaves the room. | |
| 12:55:03 | rubuildius_ppc enters the room. | |
| 13:00:48 | chris2 enters the room. | |
| 13:01:26 | blakewatters leaves the room. | |
| 13:04:25 | jeremydurham leaves the room. | |
| 13:10:36 | qwert666 enters the room. | |
| 13:14:32 | rubuildius_ppc | Wilson Bilkovich: adba40f62; 2107 files, 6861 examples, 25076 expectations, 0 failures, 0 errors |
| 13:18:59 | jeremydurham enters the room. | |
| 14:26:06 | ttmrichter leaves the room. | |
| 14:38:23 | seydar enters the room. | |
| 14:54:28 | seydar leaves the room. | |
| 14:57:44 | seydar enters the room. | |
| 15:06:39 | kw enters the room. | |
| 15:07:33 | seydar leaves the room. | |
| 15:31:46 | ShayArnett enters the room. | |
| 15:44:06 | rubuildius_ppc leaves the room. | |
| 15:44:39 | rubuildius_ppc enters the room. | |
| 15:45:31 | trythil enters the room. | |
| 15:49:31 | GMFlash enters the room. | |
| 16:06:50 | GMFlash leaves the room. | |
| 16:11:04 | jeremydurham leaves the room. | |
| 16:12:12 | chillywilly enters the room. | |
| 16:26:35 | seydar enters the room. | |
| 16:32:18 | trythil leaves the room. | |
| 16:44:47 | yugui_ leaves the room. | |
| 16:56:54 | stepheneb enters the room. | |
| 17:03:15 | anteaya enters the room. | |
| 17:09:25 | imajes enters the room. | |
| 17:09:36 | kw leaves the room. | |
| 17:10:21 | anteaya leaves the room. | |
| 17:11:25 | obiejuan enters the room. | |
| 17:12:24 | benburkert enters the room. | |
| 17:19:27 | febeling enters the room. | |
| 17:23:52 | seydar leaves the room. | |
| 17:31:52 | enebo enters the room. | |
| 17:45:23 | obiejuan leaves the room. | |
| 17:45:27 | Yurik leaves the room. | |
| 17:45:55 | Yurik enters the room. | |
| 17:50:17 | manveru leaves the room. | |
| 17:53:28 | manveru enters the room. | |
| 17:55:02 | BluR enters the room. | |
| 18:04:36 | NoKarma leaves the room. | |
| 18:05:07 | NoKarma enters the room. | |
| 18:07:13 | rue | Hola |
| 18:07:30 | VVSiz | brixen: I've filed first three tickets against rubyspec and mspec projects, #1, #2 and #3 :) |
| 18:07:37 | VVSiz | rue: hola indeed! |
| 18:09:44 | rue | Hehe |
| 18:09:55 | rue | dbussink: So long as it works, cool! |
| 18:10:08 | dbussink | rue: still fighting with it |
| 18:10:14 | dbussink | rue: didn't fix all cases |
| 18:10:50 | rue | Ah, perhaps not then. |
| 18:11:59 | dbussink | rue: there is however an init for libltdl missing in library.c |
| 18:12:03 | xmlhacker enters the room. | |
| 18:12:07 | dbussink | at least, it looks like that |
| 18:12:57 | yaroslav enters the room. | |
| 18:13:26 | qwert666_ enters the room. | |
| 18:16:34 | brixen | VVSiz: sweet :) |
| 18:17:23 | rue | dbussink: Should be in setup.c |
| 18:17:30 | brixen | VVSiz: I'll look into the standalone stuff today. I knew there would be issues with that |
| 18:17:31 | dbussink | rue: looks like it works now :) |
| 18:18:36 | dbussink | rue: the missing init is the key |
| 18:18:44 | dbussink | surprised it works on other platforms though |
| 18:19:21 | rue | shotgun/lib/subtend/setup.c:37: ffi_dlinit(); |
| 18:19:44 | rue | So the others should be starting up there |
| 18:20:06 | dbussink | rue: http://pastie.caboo.se/194849 |
| 18:20:15 | dbussink | rue: that's my current diff |
| 18:20:16 | dbussink | rue: it works with this |
| 18:21:40 | benburkert leaves the room. | |
| 18:22:27 | benburkert enters the room. | |
| 18:22:39 | dbussink | rue: weird stuff |
| 18:23:08 | dbussink | rue: because it i don't put in the init there, it doesn't properly set it all up |
| 18:24:40 | rue | dbussink: Use ffic. |
| 18:24:43 | rue | Erm, ffi.c |
| 18:24:59 | dbussink | instead of library.c you mean? |
| 18:25:03 | rue | Yes |
| 18:25:15 | dbussink | yeah, could refactor something there |
| 18:25:17 | rue | If it works, excellent. Is this 7.0? |
| 18:25:29 | dbussink | i have a 6.3 vm here |
| 18:26:54 | rue | Could be one of the earlier versions with the problem. Have to special-case that if it comes up. But use ffi.h and ffi.c for anything FFI-related. The init can go in one of the bootstrap files |
| 18:30:55 | qwert666 leaves the room. | |
| 18:32:02 | wycats_ enters the room. | |
| 18:33:00 | enebo leaves the room. | |
| 18:36:36 | rue | Looks like Init_ffi is hooked in now too, so can just use that |
| 18:45:38 | dbussink | hmm, do we link those subtend libraries with export-dynamic? |
| 18:45:56 | VVSiz | ah, it's a bit unfortunate that the whole rubyspecs history is not preserved... |
| 18:46:34 | djwhitt | ooo... rubyspecs.org |
| 18:46:36 | djwhitt | looks nice |
| 18:46:41 | VVSiz | yeah |
| 18:47:00 | djwhitt | brixen: nice job on splitting the specs out! |
| 18:47:13 | djwhitt | is super impressed nothing exploded |
| 18:47:46 | djwhitt | cremes, cremes_: so, looks like you got the bot going alright? |
| 18:48:37 | wycats leaves the room. | |
| 18:50:20 | dbussink | rue: hmm, there is a new release of libtool |
| 18:52:24 | kw enters the room. | |
| 18:54:50 | benburkert leaves the room. | |
| 18:56:55 | chris2 leaves the room. | |
| 18:58:31 | kw leaves the room. | |
| 18:59:34 | rue | VVSiz: About 2600 commits in there :) I will push a revision dump |
| 19:02:35 | brixen | djwhitt: thanks! |
| 19:02:43 | brixen | finally packed, see y'all in a few hours |
| 19:08:26 | rue | You are coming over? |
| 19:08:32 | rue | I need to clean up.. |
| 19:29:35 | rue | Away a bit. |
| 19:39:53 | BluR leaves the room. | |
| 19:51:13 | benny leaves the room. | |
| 20:18:00 | yaroslav leaves the room. | |
| 20:33:24 | wycats_ leaves the room. | |
| 20:33:42 | BluR enters the room. | |
| 20:36:55 | wycats enters the room. | |
| 20:39:22 | rue | Back-ish |
| 20:39:58 | imajes leaves the room. | |
| 20:40:31 | trythil enters the room. | |
| 20:42:58 | ezmobius enters the room. | |
| 20:44:36 | wycats_ enters the room. | |
| 20:47:55 | rue | Mhehee.. let us see how long I can subscribe to the Github news feed |
| 20:50:11 | ezmobius | waves |
| 20:50:32 | evan | allo! |
| 20:50:39 | evan | i'm off to lunch |
| 20:50:49 | evan | now that my comment feed problem has been solved :) |
| 20:51:11 | dbussink | evan: any suggestions whether getting libltdl working on freebsd? |
| 20:51:17 | ezmobius | hah merb-core + merb-more + merb-plugins + dm-core + dm-more all together is less lines of code the ActiveSupprt alone :P |
| 20:51:35 | evan | dbussink: i don't think you need it |
| 20:51:37 | djwhitt | ezmobius: how many lines is it? |
| 20:51:51 | evan | dbussink: on freebsd, it doesn't use it |
| 20:52:01 | dbussink | evan: well, dlopen doesn't support changing ld_library_path on the fly |
| 20:52:02 | ezmobius | activesupport is 28k lines |
| 20:52:09 | dbussink | evan: libltdl does |
| 20:52:14 | evan | on freebsd it doesn't? |
| 20:52:22 | dbussink | it doesn't anywhere |
| 20:52:26 | evan | sure it does |
| 20:52:30 | evan | oh oh |
| 20:52:31 | evan | changing. |
| 20:52:35 | dbussink | you can change ld_library_path after a process started |
| 20:52:36 | evan | hm. |
| 20:52:38 | dbussink | can't |
| 20:52:53 | dbussink | but you can with libltdl with another variable |
| 20:52:55 | dbussink | i got that working |
| 20:52:58 | evan | well, perhaps we'll have to handle that at startup |
| 20:53:07 | evan | change the path and re-exec |
| 20:53:18 | dbussink | well, dunno what the easier solution is |
| 20:53:25 | evan | hm, ok. |
| 20:53:34 | evan | libltdl had problems on FreeBSD |
| 20:53:43 | evan | because it wouldn't find symbols in the current process |
| 20:53:49 | evan | because it doesn't pass in the correct flags |
| 20:53:56 | evan | and i really didn't want to debug libltdl |
| 20:53:58 | evan | it's sooo ugly |
| 20:54:01 | evan | anyway, i have to run. |
| 20:54:01 | dbussink | yeah |
| 20:54:06 | dbussink | i've digging into it |
| 20:54:09 | evan | dbussink: lets talk later. |
| 20:54:12 | dbussink | but no succes so far |
| 20:54:12 | dbussink | ok |
| 20:56:16 | rue | dbussink: I spent quite a bit of time on it (in September, I think) but with the various issues it is a bit of a pain |
| 20:56:24 | rue | dbussink: What are you running into? |
| 20:56:38 | dbussink | rue: well, it's the current process attaching again |
| 20:56:43 | rue | Yeah |
| 20:57:00 | dbussink | kinda hit the same wall as you and evan did :P |
| 20:57:27 | rue | Mind you, I do not think it would be terrible to just say that the library path must be set before running or something |
| 20:57:49 | dbussink | well, i think it should be easy user configurable |
| 20:58:06 | dbussink | not force people into setting up LD_LIBRARY_PATH stuff etc. |
| 20:58:11 | rue | After all, if you at runtime enter the paths, you might just as well make absolute paths |
| 20:58:41 | dbussink | whether it's through libltdl or by a re-exec doesn't really matter that much to me |
| 20:58:46 | rue | No-one should ever need to touch LD_anything. If MacPorts is doing that, they are seriously fucked up |
| 20:59:14 | dbussink | macports does all that stuff compile time, they put it in the port definitions |
| 21:00:03 | rue | I do not understand why they would not add /opt/local/lib to libpath |
| 21:00:29 | dbussink | dunno, maybe they don't want to change behavior too much or something |
| 21:00:48 | dbussink | or they fear certain collisions with certain libraries |
| 21:00:55 | wycats leaves the room. | |
| 21:01:19 | rue | I suspect it is because they are stupid :) |
| 21:01:38 | rue | In all seriousness though, sure, there could be a legitimate issue |
| 21:02:35 | MenTaLguY enters the room. | |
| 21:03:03 | rue | dbussink: But I look at it from the point of view of what is a reasonable effort. If MacPorts says, indeed, that any libs downloaded through there only work with other MacPorts stuff, then that is exactly what the user would want to do: get Rubinius through MacPorts (or just symlink the libraries to /usr/lib or set LD_) |
| 21:03:16 | vvs enters the room. | |
| 21:03:25 | anteaya enters the room. | |
| 21:03:32 | rue | Assuming, naturally, that there is no easy way of fixing the problem otherwise and I suspect there is not |
| 21:03:40 | MenTaLguY | hello |
| 21:03:45 | rue | Hey, MenTaLguY |
| 21:04:10 | dbussink | rue: but in that case they would put the /opt/local/lib in the config option we try to create |
| 21:04:31 | dbussink | rue: but you're more in favor of the re-exec option? |
| 21:26:40 | kw enters the room. | |
| 21:26:53 | ezmobius | Defiler: pingage |
| 21:28:10 | BluR leaves the room. | |
| 21:42:02 | EugZol leaves the room. | |
| 21:45:57 | kw leaves the room. | |
| 21:49:51 | mernen enters the room. | |
| 21:50:57 | febeling leaves the room. | |
| 21:52:55 | trythil leaves the room. | |
| 21:54:09 | trythil enters the room. | |
| 22:00:57 | ShayArnett leaves the room. | |
| 22:04:35 | FoobarWidget enters the room. | |
| 22:05:57 | yipstar enters the room. | |
| 22:09:50 | imajes enters the room. | |
| 22:11:50 | xhanjian_ enters the room. | |
| 22:12:15 | trythil leaves the room. | |
| 22:13:27 | rue | dbussink: I am most in favour of MacPorts getting their brains from the storage |
| 22:13:31 | kw enters the room. | |
| 22:13:37 | wycats | no way: http://spreadsheets.google.com/pub?key=pCXpD9gyYzbW5IuxGT-aSaw |
| 22:13:45 | dbussink | rue: hehe, but there is more than just macports :) |
| 22:13:54 | dbussink | rue: os x mysql installer to name something |
| 22:14:11 | imajes leaves the room. | |
| 22:15:01 | rue | But we can change the path on OS X so that works fine. FreeBSD is somewhat saner in that respect. Just make them use the env, though I suppose you could exec |
| 22:15:43 | <