Index

Show enters and exits. Hide enters and exits.

00:00:17drbrainI think it should be pattern = String pattern
00:00:48drbrainerr, StringValue
00:00:48rueString(pattern)
00:01:03rueOtherwise this looks like Haskell or something :P
00:01:30jbarnetteah, I didn't realize we had analogs for those macros
00:01:41rueSadly
00:01:51ryanlowenow that's strange ... it appears I can't see messages
00:02:17ryanlowe enters the room.
00:02:29ryanlowe enters the room.
00:02:34rueryanlowe: How can you tell? :)
00:02:40ryanloweLOL
00:02:59ryanloweColloquy had the number next to the channel like there were new messages
00:03:12ryanlowebut I couldn't see anything ... weird
00:03:16ryanlowerejoined and works now
00:04:01jbarnetteryanlowe: colloquy freaks out like that pretty frequently
00:04:12ryanlowelovely ... I just started using it
00:04:22ryanloweis there a better Mac IRC client?
00:04:27jbarnetteryanlowe: "Clear Display" or "/reset style" are occasionally helpful
00:04:36ryanlowethx :)
00:05:19ryanloweso I had a masochistic idea I wanted to run by you guys...
00:06:04ryanloweI'm interested in Rubinius' progress with Rails support .... so I make a new project to run Rails 2.1.0 on Rubinius
00:06:04drbrainryanlowe: I like LimeChat
00:06:13ryanloweI made*
00:06:52ryanlowethe next step would be putting it live in production so people can beat on it if they like .... I was thinking I could run it on MRI and Rubinius at the same time, connected to the same database
00:06:58ryanlowewith different mongrels for each
00:07:37ryanloweand people could access the site with either http://mri.unfoo.com or http://rbx.unfoo.com ... presumably the MRI one would always work and could be a fallback
00:08:30ryanlowetotally bizarre?
00:08:32drbrainI don't see what's unpossible about such a setup
00:08:43drbrainseems reasonable
00:10:07trythil leaves the room.
00:11:07trythil enters the room.
00:12:08Fullmoon leaves the room.
00:12:20rue leaves the room.
00:12:39jbarnettedrbrain: updated to use StringValue
00:14:48ryanlowedrbrain: cool, I will set up a slice soon
00:16:35neelance leaves the room.
00:17:02boyscout1 commit by John Barnette
00:17:03boyscout * Make sure Dir.glob converts non-String patterns.; af354cb
00:18:08rue enters the room.
00:18:15trythil leaves the room.
00:18:20jbarnettedrbrain: woot, with that patch another one of my gems is all Rubiniawesomed.
00:20:54headius enters the room.
00:23:19gramosHi guys, I'm seeing the librake/release.rake file
00:23:39gramosand can read this TODO: THANKS/AUTHORS file could be autogenerated from git - but,
00:23:39gramos# how? lots of custom text in both.
00:24:04drbrainyes
00:24:07gramosI wrote a task that generates the commiters list
00:24:19mutle_ enters the room.
00:24:57gramosthe taks generates the list and prin on std output
00:26:00drbraingramos: can you make a patch or commit it?
00:26:19gramosyes I will make a path
00:26:22gramospatch, sorry
00:27:00rubuildius_amd64John Barnette: af354cb4f; 2534 files, 8411 examples, 28020 expectations, 0 failures, 0 errors
00:27:01gramosShould this task be hook'ed on the git server,
00:27:13gramosin order to generate these files on-demand?
00:27:30rubuildius_ey64John Barnette: af354cb4f; 2534 files, 8411 examples, 28018 expectations, 0 failures, 0 errors
00:27:41drbrainI think it should make them on-demand during the release process
00:28:11gramosonly puts the author on std out ?
00:28:21gramosor on a some file?
00:28:35drbraininto a AUTHORS file, I guess
00:28:38gramoslike CONTRIBUTORS?
00:29:02gramosthe actual AUTHORS file contains some extra information
00:29:18drbrainsure, CONTRIBUTORS is fine
00:29:18rueYAML dump it
00:29:25drbrainwe can always change it later
00:29:32drbrainrue: why?
00:29:36jbarnette leaves the room.
00:29:37rueThat way we can have additional data fields
00:29:48rueIt is not much less readable
00:30:07drbrainbut, it only gets used in the release notes
00:30:15drbrainwe can make a yaml file when we need it
00:30:37rueI dunno if it ever really gets used as such
00:31:07drbrainwe don't have one yet :)
00:32:31evanlight enters the room.
00:32:52rueBut it is (nearly) the same trouble to use an Array/Hash merged with existing details
00:33:06mutle leaves the room.
00:33:11gramosdrbrain: I change the output to CONTRIBUTORS file and I will send the patch to the mailing list. ok?
00:33:28drbraingramos: or, add a ticket on lighthouse
00:33:36drbrainand I will review and commit it :)
00:33:41rueLighthouse if possible, or crosspost to ML
00:34:05gramosok
00:39:59rue"All parameters passed by reference must be const" is quite a questionable rule
00:40:38rueBrb
00:41:19evanlight__ enters the room.
00:46:12rue leaves the room.
00:46:19rue enters the room.
00:51:05gramosdrbrain: http://rubinius.lighthouseapp.com/projects/5089-rubinius/tickets/621-patch-for-contributors-file-g eneration
00:51:14elight leaves the room.
00:52:07evanlight_ leaves the room.
00:53:24drbrainit should probably also auto-commit that, but I will check it in
00:55:50boyscout1 commit by Eric Hodel
00:55:51boyscout * Add TODO about auto-commit for CONTRIBUTORS; e400f6c
00:56:22drbrainboyscout: where's Gaston's commit?
00:56:37drbrainwell, it's in trunk
00:56:44drbrainon master, whatever it's called
01:00:15headiushmmm
01:00:43headiusrunning rbx zlib.rb with jruby-ffi: 77 files, 26 examples, 37 expectations, 4 failures, 16 errors
01:01:25headiusmost of those seem to be because zlib.rb uses Type, which is rubinius-only
01:01:58drbrainour version of rb_convert_type()
01:03:32headiusah
01:04:40drbrainwhat does your API look like?
01:05:00headiuswe have such conversion methods, but they're not exposed to Ruby
01:05:51elight enters the room.
01:06:51headiushmmm
01:06:59headiussyslog fails all specs because of private methods
01:07:30drbrainsyslog also currently depends on runtime/platform.conf
01:07:41rubuildius_ey64Eric Hodel: e400f6c98; 2534 files, 8411 examples, 28018 expectations, 0 failures, 0 errors
01:07:54drbrainI haven't fixed up the const generator to skip outputting ruby
01:08:01drbrainwhen the C value is missing
01:09:45headiusis it generating those from header files then?
01:10:35drbrainI made some changes to zlib since you grabbed ours to help improve FFI
01:10:46botanicus leaves the room.
01:10:52drbrainI added a lib/ffi/{struct,const}_generator.rb
01:11:20drbrainso now you can define structs and constants in the @@@ section with some generation-time compilation
01:11:47drbrainI'm trying to move all our ruby-stdlib stuff to using the @@@ sections and not runtime/platform.conf
01:12:18drbrainand a lib/generator_task.rb to hook them all up to rake
01:12:27headiusI'll have a look at that then
01:12:52headiussucks that these libraries have platform-specific constants in the first place that aren't runtime-reflectable
01:13:13rubuildius_amd64Eric Hodel: e400f6c98; 2534 files, 8411 examples, 28020 expectations, 0 failures, 0 errors
01:13:19drbrainunfortunately, that's not as issue for C :(
01:14:42drbrainI'm not sure how you would do the equivalent of our generators
01:14:49drbrainbut the API in the @@@ section should be sane enough
01:14:54evanlight_ enters the room.
01:14:58headiusyeah, we don't have a build time per platform
01:15:13headiusonly per release version, since it's the same exact binaries shipped everywhere
01:15:24drbrainyeah
01:15:39headiuswe'd have to have some kind of install
01:15:48headiusif these were ffi-related gems, it could be hooked into post install
01:16:16headiusor generated the first time into a dotfile or something
01:16:30headiusseems like that would be unsecure though
01:19:15AndrewO leaves the room.
01:19:41drbrainyou could do something entirely different with the @@@ sections, I think
01:20:17drbrainwe do compilation at "install" time, you could do something or other at load time instead
01:20:38gramosdrbrain: I added the commiters count at the top of the CONTRIBUTORS file, Shoul I generate another patch for this?
01:20:53evanlight leaves the room.
01:21:07headiuswe could, but that would involve going out and digging around headers on every startup
01:21:29drbraingramos: you could wait for evan to show up so you can get your commit bit
01:21:37drbrainbut, he probably won't show up until tomorrow
01:22:12gramosok, I'm waiting for my commit bit :)
01:22:16headiusI don't see @@@ sections in zlib yet
01:22:37headiusstill in progress?
01:23:58drbrainzlib.rb.ffi ?
01:24:04evanlight__ leaves the room.
01:24:26drbrainzlib.rb is generated with rake build
01:28:57headiusoh .ffi
01:36:23qwert666_ leaves the room.
01:43:59evanlight enters the room.
01:44:01moofbong leaves the room.
01:44:39moofbong enters the room.
01:45:12Guest25428 leaves the room.
01:45:32evanlight_ leaves the room.
01:47:58lstoll leaves the room.
01:50:57elight leaves the room.
01:52:21elight enters the room.
01:57:50michalw leaves the room.
02:08:10jtoy enters the room.
02:11:34jbarnette enters the room.
02:12:07rue leaves the room.
02:12:50rue enters the room.
02:24:24VVSiz_ enters the room.
02:28:23shame enters the room.
02:32:30_VVSiz_ leaves the room.
02:54:23jbarnette leaves the room.
03:05:08lstoll enters the room.
03:10:17dary leaves the room.
03:12:04rue leaves the room.
03:18:23rue enters the room.
03:20:43crafterm enters the room.
03:23:36crafterm enters the room.
03:23:44crafterm enters the room.
03:32:11lstoll_ enters the room.
03:33:27qrush leaves the room.
03:42:16lstoll leaves the room.
03:43:26kdc enters the room.
04:09:43trythil enters the room.
04:17:56edwardam enters the room.
04:18:38AndrewO enters the room.
04:22:36crafterm leaves the room.
04:31:11elight leaves the room.
04:35:45AndrewO leaves the room.
04:35:47AndrewO_ enters the room.
04:37:17crafterm enters the room.
04:38:48ezmobius enters the room.
04:42:59crafterm leaves the room.
04:52:45AndrewO_ leaves the room.
04:55:32kdc leaves the room.
05:02:56benburkert leaves the room.
05:04:12benburkert enters the room.
05:07:35benburkert_ enters the room.
05:10:42lchin enters the room.
05:11:42rue leaves the room.
05:12:54rue enters the room.
05:13:56AndrewO enters the room.
05:23:15crafterm enters the room.
05:23:31benburkert leaves the room.
05:29:28AndrewO_ enters the room.
05:31:13twbray enters the room.
05:32:30obvio171 leaves the room.
05:32:36AndrewO leaves the room.
05:33:44moofbong leaves the room.
05:37:53benburkert_ leaves the room.
05:39:16benburkert enters the room.
05:46:46AndrewO_ leaves the room.
06:11:50rue leaves the room.
06:12:24rue enters the room.
06:25:25thehcdreamer enters the room.
06:30:58antares enters the room.
06:43:51ezmobius leaves the room.
06:53:47thehcdreamer leaves the room.
06:55:52neelance enters the room.
07:11:54rue leaves the room.
07:12:54rue enters the room.
07:25:09twbray leaves the room.
07:35:14lstoll enters the room.
07:38:57ryanlowe leaves the room.
07:39:54lchin_ enters the room.
07:41:24lchin leaves the room.
07:41:46crafterm leaves the room.
07:44:15lstoll_ leaves the room.
07:45:38hassox_ enters the room.
07:46:24Fullmoon enters the room.
07:48:01hassox_ leaves the room.
07:50:58yugui leaves the room.
07:51:39neelance leaves the room.
08:03:46lchin enters the room.
08:03:46lchin_ leaves the room.
08:09:31botanicus enters the room.
08:13:59lchin_ enters the room.
08:15:21lchin leaves the room.
08:37:49thehcdreamer enters the room.
08:44:24thehcdreamer leaves the room.
08:49:32octopod enters the room.
09:00:21benburkert leaves the room.
09:04:42Yurik leaves the room.
09:05:05Yurik enters the room.
09:06:26Maledictus enters the room.
09:08:46NoKarma enters the room.
09:09:04Yurik leaves the room.
09:11:44rue leaves the room.
09:12:24rue enters the room.
09:15:42lchin enters the room.
09:15:53lchin_ leaves the room.
09:15:57imajes enters the room.
09:20:22lstoll leaves the room.
09:21:29Yurik enters the room.
09:25:54Yurik leaves the room.
09:32:20wvdschel leaves the room.
09:35:57imajes leaves the room.
09:50:12chris2 enters the room.
10:00:26qwert666 enters the room.
10:03:14benny leaves the room.
10:11:08rue leaves the room.
10:11:56rue enters the room.
10:16:21michalw enters the room.
10:21:57thehcdreamer enters the room.
10:50:41Fullmoon leaves the room.
10:59:47jao leaves the room.
11:02:51jtoy leaves the room.
11:11:01rue leaves the room.
11:11:04yugui enters the room.
11:12:26rue enters the room.
11:16:53lchin_ enters the room.
11:17:36lchin leaves the room.
11:29:08sr leaves the room.
11:31:59botanicus leaves the room.
11:33:49botanicus enters the room.
11:37:07kevinclark leaves the room.
11:46:26qrush enters the room.
11:49:18benny enters the room.
11:53:48qrush leaves the room.
11:56:37rueBleep
12:02:04yugui leaves the room.
12:08:18loincloth leaves the room.
12:10:59rue leaves the room.
12:11:57rue enters the room.
12:32:45robinhoode leaves the room.
12:32:54botanicus leaves the room.
12:38:53jbarnette enters the room.
12:40:40radarek enters the room.
12:41:54dbussinkrue: don't scare me!
12:47:48qwert666_ enters the room.
12:52:02octopod leaves the room.
12:52:07headius leaves the room.
12:52:33octopod enters the room.
12:54:41cremes leaves the room.
12:56:11brainopia enters the room.
12:58:08brainopia_ enters the room.
12:58:08brainopia leaves the room.
12:59:20rubuildius_ppc enters the room.
12:59:47ruedbussink: I bleeped out the scary part
13:00:09dbussinkrue: you did, thank god, otherwise i've would have run out of the building here
13:00:25yasuhito enters the room.
13:03:43rubuildius_ppcEric Hodel: e400f6c98; 2534 files, 8410 examples, 28040 expectations, 0 failures, 0 errors
13:04:41NoKarmazenspider: ping
13:05:21Yurik enters the room.
13:05:47pastie leaves the room.
13:06:35qwert666 leaves the room.
13:07:52gnufied enters the room.
13:18:41rueNoKarma: 5am PST
13:19:34NoKarmayeah, he was still around at 4:33 :=
13:19:36NoKarma*:)
13:20:34octopod leaves the room.
13:21:03octopod enters the room.
13:28:04brainopia_ leaves the room.
13:28:09brainopia enters the room.
13:54:14gnufied leaves the room.
13:56:43cremes enters the room.
14:03:01blakewatters enters the room.
14:09:49pauldix enters the room.
14:10:32rue leaves the room.
14:11:13inspired enters the room.
14:13:33wmoxam leaves the room.
14:16:29rue enters the room.
14:20:33tim_w enters the room.
14:28:23hemulen enters the room.
14:28:57lchin_ leaves the room.
14:29:21lchin enters the room.
14:36:21tim_w leaves the room.
14:37:09inspired leaves the room.
14:37:41AndrewO enters the room.
14:45:07brainopia leaves the room.
14:45:47brainopia enters the room.
14:49:12lchin leaves the room.
14:50:23yipstar enters the room.
14:50:53cheaproc enters the room.
14:57:19mkrauskopf enters the room.
14:58:31imajes enters the room.
14:59:05Maledictus leaves the room.
15:02:07wmoxam enters the room.
15:06:18moofbong enters the room.
15:19:22Maledictus enters the room.
15:19:25Maledictus leaves the room.
15:21:47atmos leaves the room.
15:22:46atmos enters the room.
15:22:57atmos leaves the room.
15:23:15atmos enters the room.
15:28:29wyhaines enters the room.
15:33:52yorkc enters the room.
15:39:29yorkc enters the room.
15:43:11stepheneb enters the room.
15:46:58Fullmoon enters the room.
16:01:39edwardam leaves the room.
16:03:17twbray enters the room.
16:06:08hemulen_ enters the room.
16:06:41lopex enters the room.
16:10:16yorkc leaves the room.
16:10:21rue leaves the room.
16:10:55yorkc enters the room.
16:11:00rue enters the room.
16:11:15qwert666_ leaves the room.
16:13:07twbray leaves the room.
16:18:14hemulen leaves the room.
16:19:02yasuhito leaves the room.
16:24:13mutle leaves the room.
16:24:57mutle enters the room.
16:38:33yorkc leaves the room.
16:40:05qwert666 enters the room.
16:48:07macournoyer enters the room.
16:50:51enebo enters the room.
16:55:25dbussinkauch, not so pretty memory usage numbers on the mailing list
16:55:58cremesthose numbers suck!
16:56:14cremesdbussink: heard anything new on the c++ vm rewrite?
16:56:59dbussinkcremes: evan is still playing with llvm, he did have something to show he claimed :)
16:57:33cremeshmmm... i wonder if this will "fix" all of the current vm's ills or not
17:00:38nexcastellanThe numbers do suck. I was actually surprised that one of the times showed us within 25% of MRI, though in one case we were almost two orders of magnitude slower.
17:01:15rue leaves the room.
17:01:15trythil leaves the room.
17:01:15joachimm leaves the room.
17:01:15loop leaves the room.
17:01:15rphillips leaves the room.
17:01:15Defiler leaves the room.
17:05:05rue enters the room.
17:05:05trythil enters the room.
17:05:05joachimm enters the room.
17:05:05Defiler enters the room.
17:05:05rphillips enters the room.
17:05:05loop enters the room.
17:09:08NoKarma leaves the room.
17:09:11dbussinkwell, low level performance is pretty good, we are only slower because we have more stuff in ruby
17:09:21dbussinkbut the memory usage is not very good though
17:10:16rue leaves the room.
17:10:44neelance enters the room.
17:11:22rue enters the room.
17:15:45ruedbussink: Yeah, I think we should look at that once v2 is in
17:16:38dbussinkrue: yups, should really try to hurry up v2
17:22:08rueI think I will try to refocus on that, it is kind of been a roadblock too
17:22:27rueBut then only one person has really been working on it, so
17:23:30dbussinkyeah, well, i tried to work out a bunch of the dump work
17:23:35dbussinkdumb work
17:24:04dbussinkbut more primitive stuff is missing still too
17:24:14dbussinkisn't really hard, but it really needs to be done
17:24:56headius enters the room.
17:25:35mkrauskopf leaves the room.
17:27:33headius leaves the room.
17:30:11rueYeps
17:30:33dbussinkdid make tests for all stuff i added though :)
17:30:40dbussinkthat's really a good thing about the new vm
17:30:47rueYeah, it helps
17:30:49dbussinkwe can catch a lot of stuff there already
17:31:23nexcastellanHow do I implement VALUE rb_call_super(int nargs, VALUE *args)? My concern is that neither of the arguments passes in the current object, so I can't just do a funcall. How can I discover the parent object at this point?
17:31:55rueSo I will see about jumping in on there
17:32:14headius enters the room.
17:32:51ruenexcastellan: That seems odd unless the global state keeps the current object somehow
17:33:09rueIn MRI
17:33:31dbussinksubtend also needs a bunch of work i guess in the new vm
17:33:37dbussinkas does ffi
17:33:42nexcastellanYeah, in MRI it seems to be doing that.
17:34:30nexcastellanDo we keep the current object? And how do I go about extracting the parent object?
17:35:41nexcastellanAs an aside, the problems I seem to be hitting in Rubinius now are related to my lack of understanding of the VM. Would the recommended book be useful in getting me up to speed there? Will this all become useless once the new VM is finished?
17:36:04gnufied enters the room.
17:36:09dbussinknexcastellan: definitely not useless, although it will need rework
17:36:12ruenexcastellan: It should be available in the frame but the function seems a bit iffy
17:36:49nexcastellanWhat, rb_call_super? I must admit, I don't see why it doesn't have at least VALUE self passed in. Could be I'm misunderstanding but I don't think so.
17:38:37ruenexcastellan: Ah, I suppose it makes some kind of sense since rb_call_super can only be called from _within_ a method
17:38:38edwardam enters the room.
17:39:43nexcastellanBah, I still think they should pass in self at least. And RMagick is calling rb_call_super, which is why I'm trying to get it to work.
17:42:34ruenexcastellan: It would be cleaner, sure. You can just retrieve the current native context from global_context, it gives you the fastcontext and nmc
17:44:09botanicus enters the room.
17:44:56hemulen_ leaves the room.
17:47:10nexcastellanThanks, rue, I'll look into that.
17:47:37thehcdreamer leaves the room.
17:47:48chris2 leaves the room.
17:49:44binary42 leaves the room.
17:50:32wycats leaves the room.
17:51:51wycats enters the room.
17:51:57shame leaves the room.
17:54:23wycats leaves the room.
17:57:40twbray enters the room.
17:58:12nicksieger leaves the room.
17:58:39atmos leaves the room.
17:58:42atmos enters the room.
17:59:10nicksieger enters the room.
18:08:21ruenexcastellan: Let me know if you need any info/help, I went through that code in some detail
18:08:49nexcastellanI think I got it, I'm just testing now. That said, I'm still cheating and just doing a funcall. Well, an rb_funcall2. :)
18:10:15rue leaves the room.
18:10:25hemulen enters the room.
18:10:53rue enters the room.
18:11:06hemulen leaves the room.
18:11:10wycats enters the room.
18:11:25octopod leaves the room.
18:11:46hemulen enters the room.
18:12:57ruenexcastellan: That works too
18:13:14nexcastellanSure makes it easier to get things up and running.
18:15:14edwardam leaves the room.
18:17:04cheaproc leaves the room.
18:17:19cheaproc enters the room.
18:19:59Fullmoon leaves the room.
18:24:20qwert666_ enters the room.
18:31:54wycats leaves the room.
18:33:27headius leaves the room.
18:34:05drbrainnexcastellan: can you read japanese?
18:34:29nexcastellanNope, not at all. My gf spent a few months in Japan but has lost most of her Japanese. :)
18:34:31boyscout1 commit by Federico Builes
18:34:32boyscout * Adding libssl-dev dependency for Ubuntu to the INSTALL file.; 5dd1fd6
18:34:34drbrainthe ruby hacking guide is the book you want, but it's only partially translated to english
18:35:11nexcastellanYeah, I keep on forgetting to bookmark the damn thing or indeed to refer to it when I have questions like this. Though in all fairness, my question today was specifically about how to access "self" in Rubinius, which rue pointed me to.
18:35:48c0sin enters the room.
18:39:41rubuildius_ppcFederico Builes: 5dd1fd63b; 2534 files, 8410 examples, 28040 expectations, 0 failures, 0 errors
18:41:11qwert666 leaves the room.
18:42:32rubuildius_ey64Federico Builes: 5dd1fd63b; 2534 files, 8411 examples, 28018 expectations, 0 failures, 0 errors
18:43:16RyanTM enters the room.
18:43:46botanicus leaves the room.
18:44:56michalw enters the room.
18:46:43NoKarma enters the room.
18:47:37ryanlowe enters the room.
18:48:07Arjen_ enters the room.
18:48:49botanicus enters the room.
18:50:18rubuildius_amd64Federico Builes: 5dd1fd63b; 2534 files, 8411 examples, 28020 expectations, 0 failures, 0 errors
18:52:40Fullmoon enters the room.
18:57:53gnufied leaves the room.
19:00:37dfg59 enters the room.
19:03:04imajes_ enters the room.
19:08:25enebo leaves the room.
19:10:17rue leaves the room.
19:11:24rue enters the room.
19:18:22imajes leaves the room.
19:21:22nexcastellanIs line 387 of cpu.c correct? Basically comparing cpu->home_context->method to Qnil? I have a case where it is NULL rather than Qnil.
19:25:22gnufied enters the room.
19:26:38binary42 enters the room.
19:26:50drbrainI have no idea
19:30:01shame enters the room.
19:33:27dary enters the room.
19:33:28ruenexcastellan: Where?
19:33:55nexcastellanWhere am I getting a case where it is NULL?
19:33:59rueYes
19:34:34nexcastellanIn some specs I'm trying to write to test a subtend method. But it's entirely possible this should never actually happen.
19:35:37rueTechnically OBJECT is a pointer
19:35:37gramos enters the room.
19:36:11nexcastellanYeah, stored as an int, right? But then, shouldn't the test be against 0 (or NULL) instead of Qnil?
19:37:05rueIt depends on whether the field is initialized to Qnil or left uninitialized to NULL
19:37:50rueSo in this case the place to look would be where the cmethod is created/initialized and see how the fields are set up
19:38:08nexcastellanOkay, thanks, I'll trace through and try to do the right thing.
19:38:22rueIt would probably be best to ensure that it does always get initialised to Qnil then
19:39:44lchin enters the room.
19:39:48lchin leaves the room.
19:41:55enebo enters the room.
19:46:25anteaya enters the room.
19:48:04headius enters the room.
19:51:07anteaya leaves the room.
19:52:41anteaya enters the room.
20:06:00eventualbuddha enters the room.
20:09:49rue leaves the room.
20:15:55rue enters the room.
20:22:00anteaya_ enters the room.
20:27:24twbray leaves the room.
20:34:08anteaya leaves the room.
20:56:19twbray enters the room.
21:01:47tim_w enters the room.
21:05:49tim_w leaves the room.
21:07:31brainopia leaves the room.
21:08:10brainopia enters the room.
21:08:50mutle leaves the room.
21:09:44rue leaves the room.
21:10:26rue enters the room.
21:13:53loincloth enters the room.
21:17:01elight enters the room.
21:18:00mutle enters the room.
21:18:40nicksieger leaves the room.
21:19:10nicksieger enters the room.
21:20:08Fullmoon leaves the room.
21:26:39tim_w enters the room.
21:32:56tim_w leaves the room.
21:38:31cheaproc leaves the room.
21:57:59Rich_Morin enters the room.
22:00:54Rich_MorinI have a list of lists, containing numbers, strings, and symbols as leaf nodes. I also have a BNF description of the terms (etc). What tool seems appropriate for walking through the tree and converting the symbols into objects with types, etc?
22:01:44Fullmoon enters the room.
22:01:53drbrainsounds like parser/lexer type work
22:02:06anteaya__ enters the room.
22:03:11Rich_MorinWell, I used Treetop to do the initial lexing, so that's out of the way. I've thought about hacking amulti to walk the array, but didn't want to overlook something more appropriate...
22:03:42anteaya__ leaves the room.
22:04:44anteaya__ enters the room.
22:05:40mutle_ enters the room.
22:05:51qrush enters the room.
22:05:51binary42 leaves the room.
22:06:18anteaya__ leaves the room.
22:07:15anteaya__ enters the room.
22:08:50anteaya__ leaves the room.
22:09:22edwardam enters the room.
22:09:34rue leaves the room.
22:09:50anteaya__ enters the room.
22:10:41wycats enters the room.
22:11:10ijcd enters the room.
22:11:16elight leaves the room.
22:14:56benburkert enters the room.
22:15:58rue enters the room.
22:16:09c0sin_ enters the room.
22:16:43anteaya_ leaves the room.
22:16:44mutle__ enters the room.
22:20:24antares leaves the room.
22:21:00rueRich_Morin: Dunno if there really is a tool for that part, it is strongly application-dependent. You could probably tie parser actions to generate those for you
22:22:12thehcdreamer enters the room.
22:22:26mutle_ leaves the room.
22:23:04rueRich_Morin: But if you look at our setup, it first generates the AST objects and then uses the Visitor pattern for bytecode generation. It is a reasonable approach
22:24:44mutle leaves the room.
22:24:57thehcdreamer leaves the room.
22:28:59botanicus leaves the room.
22:29:32botanicus enters the room.
22:30:40blakewatters leaves the room.
22:31:25macournoyer leaves the room.
22:31:34Rich_MorinCan you point me to a relevant starting point in the code?
22:32:04AndrewO leaves the room.
22:32:18c0sin leaves the room.
22:33:02nexcastellanrue, what's your email? I'd like to fire off a question that requires a bit of copy-and-paste so it's a bit unsuitable for irc. Please.
22:33:36Rich_Morinpastie.org
22:33:57nexcastellanpastie.org is fine but I'd like to sprinkle in some commentary as well. :)
22:34:16c0sin_ leaves the room.
22:34:56c0sin enters the room.
22:35:07brixennexcastellan: use ## in pastie
22:35:25nexcastellanFair enough. Thanks.
22:35:28brixennexcastellan: it will give you nice divisions
22:38:18brixenRich_Morin: http://rubini.us/doc/introduction-to-the-compiler/
22:38:44Rich_Morinbrixen: tnx
22:38:45benburkert leaves the room.
22:39:09botanicus leaves the room.
22:39:56benburkert enters the room.
22:41:40benburkert_ enters the room.
22:44:11neelancehi there - only some update on my project: i just successfully removed libev from my rubinius, although it might work on the wii, i decided to leave it out at first because it seemed too much like a potential error source
22:44:53neelancei will remove libffi and libltdl now, all other libraries already work flawless
22:45:17brixensweet
22:48:16nexcastellanFor rue or anyone with a bit of knowledge of vm internals in Rubinius: http://pastie.org/225087
22:49:33brixennexcastellan: what if you wrote the equivalent ruby and looked at the bytecode output?
22:49:47brixenyou could see how the vm actually goes about doing the work
22:49:54benburkert__ enters the room.
22:50:33nexcastellanI don't know enough about the vm for that to help me, unfortunately. I'm getting decent at the rest, and have a spec to test this with (works with MRI, fails in Rubinius), but the vm is clearly a gaping hole in my knowledge right now.
22:51:19brixendo you have some plain ruby that is semantically equivalent to what you're doing in the ext?
22:51:47nexcastellanOh, yeah: super()
22:51:56nexcastellanWell, super(some args maybe)
22:52:28brixensuper() or super(a, b), but not plain super, right?
22:52:43antares enters the room.
22:53:26nexcastellanWouldn't super() be the same as super? But definitely should work for super() and for super(a, b)
22:53:27benburkert___ enters the room.
22:53:43brixennexcastellan: it's actually different
22:53:51nexcastellanAh, yes.
22:54:02nexcastellanNo, not super, only super() and super(a,b,c)
22:54:21brixenmake sense, since rb_call_super takes the args explicity
22:54:29brixens/make/makes/
22:54:45gramosHi
22:54:52nexcastellanHello, gramos.
22:54:52brixenhi gramos
22:55:52jbarnette leaves the room.
22:56:00benburkert____ enters the room.
22:56:54gramosYesterday I was send a patch (http://rubinius.lighthouseapp.com/projects/5089/tickets/621-patch-for-contributors-file-generation) and now I'm waiting for my commit bit. I will send another improvement for this task.
22:57:24nexcastellangramos, you need to find evan. But he's away at the moment, I think, doing conferences.
22:57:28benburkert____ leaves the room.
22:57:58benburkert leaves the room.
22:58:00gramosnexcastellan: thanks, may be tomorrow.
22:58:29brixennexcastellan: http://pastie.org/225093
22:58:30nexcastellanHe is almost always active here all the time, often even at conferences. But he's been quiet or away most of today.
22:58:42benburkert enters the room.
22:59:10benburkert__ leaves the room.
22:59:20benburkert___ leaves the room.
22:59:24benburkert__ enters the room.
23:01:04benburkert_ leaves the room.
23:01:38brixennexcastellan: http://rubini.us/static/vmdoc/op_codes/send_super_stack_with_block.html
23:01:51benburkert_ enters the room.
23:01:52brixennexcastellan: I'm not sure this will help you, just suggesting a way to investigate :)
23:02:10nexcastellanThanks, brixen. I'm trying a variant with arguments, looks to be much the same.
23:02:48nexcastellanNot quite sure what to do with the results but at least it gives me another place to look unless rue has something to say. He can probably solve it in his head in a single line of code. :)
23:02:56brixenheh
23:02:59jbarnette enters the room.
23:03:11nexcastellanrue: ping
23:03:20benburkert___ enters the room.
23:06:00benburkert___ leaves the room.
23:06:01benburkert__ leaves the room.
23:06:41NoKarma leaves the room.
23:07:09benburkert leaves the room.
23:07:23benburkert_ leaves the room.
23:07:41michalw leaves the room.
23:09:45stepheneb leaves the room.
23:10:26rue leaves the room.
23:11:29rue enters the room.
23:14:09rubuildius_amd64 leaves the room.
23:15:23benburkert enters the room.
23:18:13moofbong leaves the room.
23:20:42rubuildius_amd64 enters the room.
23:23:05enebo leaves the room.
23:23:08Arjen_ leaves the room.
23:25:07rubuildius_amd64 leaves the room.
23:27:50rubuildius_amd64 enters the room.
23:30:03benburkert leaves the room.
23:30:32shame leaves the room.
23:36:39wmoxam leaves the room.
23:39:00wvdschel enters the room.
23:39:46imajes_ leaves the room.
23:41:58dary leaves the room.
23:43:02anteaya__ leaves the room.
23:45:06headius leaves the room.
23:48:15anteaya enters the room.
23:55:40cremes leaves the room.