Show enters and exits. Hide enters and exits.
| 00:06:45 | evan_ enters the room. | |
| 00:09:59 | blakewatters enters the room. | |
| 00:21:27 | sholden enters the room. | |
| 00:22:22 | yroc leaves the room. | |
| 00:26:14 | headius leaves the room. | |
| 00:32:30 | twbray enters the room. | |
| 00:36:53 | ezmobius enters the room. | |
| 00:49:30 | twbray leaves the room. | |
| 00:53:47 | mass | I rather would like to go to rubyconf, but I have no idea where/when/how to sign up |
| 00:54:01 | mass | rubyconf.org still gives info about the upcoming 2007 :P |
| 00:54:52 | atduskgreg leaves the room. | |
| 00:55:01 | atduskgreg enters the room. | |
| 00:55:49 | benburkert_ enters the room. | |
| 00:56:37 | aotearoa enters the room. | |
| 01:09:01 | benny leaves the room. | |
| 01:10:43 | benburkert leaves the room. | |
| 01:12:02 | chad leaves the room. | |
| 01:13:50 | atduskgreg leaves the room. | |
| 01:14:51 | blakewatters leaves the room. | |
| 01:16:43 | yasuhito enters the room. | |
| 01:18:23 | zenspider | mass: where is florida at some resort hotel thingy. when is oct or nov. how is when they announce it |
| 01:22:46 | twbray enters the room. | |
| 01:25:42 | lopex enters the room. | |
| 01:31:31 | imajes leaves the room. | |
| 01:39:56 | twbray leaves the room. | |
| 01:46:44 | blakewatters enters the room. | |
| 01:47:03 | blakewatters leaves the room. | |
| 01:47:08 | trythil leaves the room. | |
| 01:49:01 | pth enters the room. | |
| 01:51:52 | imajes enters the room. | |
| 01:52:08 | mae leaves the room. | |
| 01:58:10 | pth_ enters the room. | |
| 01:58:39 | sholden leaves the room. | |
| 02:04:21 | pth leaves the room. | |
| 02:05:53 | imajes leaves the room. | |
| 02:19:31 | shayarnett enters the room. | |
| 02:21:20 | evan__ enters the room. | |
| 02:24:55 | yasuhito leaves the room. | |
| 02:25:11 | VVSiz_ enters the room. | |
| 02:27:24 | RyanTM enters the room. | |
| 02:27:53 | lopex leaves the room. | |
| 02:29:28 | jackdempsey enters the room. | |
| 02:33:15 | VVSiz leaves the room. | |
| 02:37:02 | pth_ leaves the room. | |
| 02:38:05 | jackdempsey leaves the room. | |
| 02:38:45 | evan_ leaves the room. | |
| 02:44:21 | jackdempsey enters the room. | |
| 02:46:08 | atmos leaves the room. | |
| 02:48:17 | yasuhito enters the room. | |
| 02:52:22 | atmos enters the room. | |
| 03:01:54 | pth enters the room. | |
| 03:24:37 | RyanTM leaves the room. | |
| 03:25:54 | Yurik leaves the room. | |
| 03:34:44 | jackdempsey leaves the room. | |
| 03:35:02 | ezmobius leaves the room. | |
| 03:40:21 | trythil enters the room. | |
| 03:50:17 | benburkert_ leaves the room. | |
| 03:53:07 | trythil leaves the room. | |
| 04:10:13 | rubuildius_amd64 leaves the room. | |
| 04:17:09 | atmos leaves the room. | |
| 04:18:03 | pth leaves the room. | |
| 04:20:46 | antares leaves the room. | |
| 04:20:53 | headius enters the room. | |
| 04:24:02 | benburkert enters the room. | |
| 04:24:06 | yasuhito leaves the room. | |
| 04:26:04 | trythil enters the room. | |
| 04:26:19 | pth enters the room. | |
| 04:29:58 | jackdempsey enters the room. | |
| 04:34:01 | jackdempsey leaves the room. | |
| 04:38:06 | jackdempsey enters the room. | |
| 04:38:18 | shayarnett leaves the room. | |
| 04:40:24 | twbray enters the room. | |
| 04:51:45 | yasuhito enters the room. | |
| 04:51:57 | jackdempsey leaves the room. | |
| 04:52:58 | dlee enters the room. | |
| 05:06:32 | yasuhito leaves the room. | |
| 05:06:58 | headius | hey, question for y'all |
| 05:07:35 | headius | have you considered finding some way to hide methods on rubinius classes that are above and beyond what should be there for spec, or have you decided not to bother? |
| 05:08:14 | headius | still seems to me like that's going to be a source of grief in the future, where someone might write something on rubinius and it wouldn't work elsewhere |
| 05:09:56 | twbray leaves the room. | |
| 05:18:51 | jackdempsey enters the room. | |
| 05:31:24 | benburkert leaves the room. | |
| 05:40:01 | jackdempsey leaves the room. | |
| 05:40:56 | jackdempsey enters the room. | |
| 05:45:17 | benburkert enters the room. | |
| 05:46:55 | jackdempsey leaves the room. | |
| 06:00:44 | imperator2 enters the room. | |
| 06:08:39 | aotearoa leaves the room. | |
| 06:12:57 | aotearoa enters the room. | |
| 06:16:51 | Defiler leaves the room. | |
| 06:17:12 | twbray enters the room. | |
| 06:28:59 | Defiler enters the room. | |
| 06:32:08 | wmoxam enters the room. | |
| 06:33:30 | stepheneb leaves the room. | |
| 06:49:14 | twbray leaves the room. | |
| 07:00:43 | pth leaves the room. | |
| 07:41:53 | imperator2 leaves the room. | |
| 07:44:48 | benburkert leaves the room. | |
| 08:20:21 | evan__ leaves the room. | |
| 08:22:53 | binary42 leaves the room. | |
| 08:28:39 | headius leaves the room. | |
| 08:57:55 | thehcdreamer enters the room. | |
| 09:03:48 | thehcdreamer leaves the room. | |
| 09:04:13 | thehcdreamer enters the room. | |
| 09:23:25 | Maledictus enters the room. | |
| 09:25:43 | joachimm enters the room. | |
| 09:36:30 | rue | Morning |
| 09:46:17 | robin_dewd leaves the room. | |
| 10:03:16 | rue leaves the room. | |
| 10:19:01 | joachimm_ enters the room. | |
| 10:19:01 | joachimm leaves the room. | |
| 10:20:57 | jewel enters the room. | |
| 10:30:23 | rue enters the room. | |
| 10:40:26 | benny enters the room. | |
| 10:50:46 | trythil leaves the room. | |
| 10:52:53 | dbussink | rue: how is your knowledge on obscure ruby bugs? :P |
| 10:57:47 | octopod enters the room. | |
| 11:02:47 | NoKarma enters the room. | |
| 11:25:06 | joachimm | who is hosting http://donttreadonme.co.uk/rubinius-irc/rubinius.log.html ? it seems to be down |
| 11:26:55 | mutle enters the room. | |
| 11:41:20 | aotearoa leaves the room. | |
| 11:42:10 | dlee leaves the room. | |
| 11:45:45 | aotearoa enters the room. | |
| 11:46:15 | rue | dbussink: I have ran into most, probably |
| 11:46:24 | rue | dbussink: What did you find? |
| 11:46:36 | dbussink | rue: http://pastie.org/237059 |
| 11:46:43 | dbussink | i found it when i was working on some datamapper stuff |
| 11:47:07 | dbussink | look at the weird intermingling between two method calls |
| 11:47:09 | rue | joachimm_: danlucraft_ |
| 11:56:36 | benny leaves the room. | |
| 11:56:48 | dbussink | rue: any ideas what could be wrong there? |
| 12:02:47 | pth enters the room. | |
| 12:06:10 | aotearoa leaves the room. | |
| 12:16:00 | wvdschel enters the room. | |
| 12:18:24 | michalw enters the room. | |
| 12:37:04 | viimrles enters the room. | |
| 12:42:58 | binary42 enters the room. | |
| 12:43:04 | yukito enters the room. | |
| 12:47:26 | lopex enters the room. | |
| 12:50:22 | VVSiz leaves the room. | |
| 12:57:18 | yukito leaves the room. | |
| 13:00:58 | mutle leaves the room. | |
| 13:17:06 | pth leaves the room. | |
| 13:18:34 | yasuhito enters the room. | |
| 13:30:21 | imajes enters the room. | |
| 13:41:20 | VVSiz enters the room. | |
| 13:43:53 | chris2 enters the room. | |
| 14:17:40 | pth enters the room. | |
| 14:20:07 | sholden enters the room. | |
| 14:20:13 | rue | dbussink: Sorry, family stuff. Have you ascertained this is not a framework issue? |
| 14:20:27 | dbussink | rue: pretty much |
| 14:20:38 | dbussink | but the code flow doesn't make any sense |
| 14:21:17 | rue | It seems that something jumps the execution to another retrieve |
| 14:21:30 | RyanTM enters the room. | |
| 14:21:32 | rue | Unless it is threading it |
| 14:21:38 | dbussink | nope, it's not threaded |
| 14:21:43 | dbussink | was my first guess but i checked |
| 14:22:05 | dbussink | i also outputted caller to debug |
| 14:22:11 | dbussink | that didn't make any sense either |
| 14:22:21 | dbussink | was a line in it that seemed to come out of nowhere |
| 14:23:55 | rue | Could it be the resource.new_record? somehow generating incorrectly? |
| 14:24:04 | rue | Also, is stdout synched? |
| 14:24:29 | dbussink | should be, i started digging in because i got a nil back where i didn't expect it |
| 14:24:35 | dbussink | and this shows where it comes from |
| 14:24:54 | dbussink | the resource.new_record? does nothing more besides accessing a ivar in resource |
| 14:25:10 | rue | Presumably |
| 14:25:33 | rue | Stick a .caller in after printing the ivar name |
| 14:27:06 | wvdschel leaves the room. | |
| 14:27:17 | rue | I am not seeing the lower caller output at all unless you are trimming it |
| 14:28:26 | dbussink | http://pastie.org/237373 |
| 14:28:35 | dbussink | that's with caller |
| 14:28:40 | dbussink | and Thread.current |
| 14:29:55 | dbussink | there caller seems normal |
| 14:30:49 | dbussink | rue: http://pastie.org/237375 |
| 14:31:12 | rue | "new_record" |
| 14:31:48 | dbussink | that's inside the new_record call |
| 14:31:58 | dbussink | so it goes wrong there |
| 14:32:07 | dbussink | but i don't have a clue what goes wrong there |
| 14:32:21 | dbussink | !defined?(@new_record) || @new_record |
| 14:32:26 | dbussink | that's what that method does |
| 14:32:31 | dbussink | maybe it's the define |
| 14:33:58 | heycarsten enters the room. | |
| 14:34:00 | lopex leaves the room. | |
| 14:36:19 | dbussink | if i change it so it doesn't use defined? it's still broken |
| 14:36:54 | heycarsten leaves the room. | |
| 14:39:00 | rue | It should not be going through a generated method for the new_record at all though, should it? |
| 14:40:04 | octopod leaves the room. | |
| 14:40:32 | dbussink | rue: what do you mean? |
| 14:40:35 | dbussink | in the caller trace? |
| 14:43:37 | wvdschel enters the room. | |
| 14:43:50 | rue | I would imagine it is an actual instance var of the class, so why is it #getting it? |
| 14:44:20 | dbussink | where do you see it's getting it then? |
| 14:44:40 | dbussink | the new_record? call goes fine the first times |
| 14:50:27 | dbussink | rue: if you look at the first pastie: http://pastie.org/237059 |
| 14:50:47 | dbussink | if i change the order of arguments in that excerpt it goes wrong on another one |
| 14:50:55 | dbussink | always seems to fail on the second one |
| 14:50:56 | antares enters the room. | |
| 14:51:16 | jackdempsey enters the room. | |
| 14:51:39 | dbussink | if i swap person and card, i get an object in my db without a card id, otherwise one without a person id |
| 15:02:14 | RyanTM leaves the room. | |
| 15:03:54 | wmoxam leaves the room. | |
| 15:19:47 | heycarsten enters the room. | |
| 15:30:45 | imajes leaves the room. | |
| 15:34:39 | rue | dbussink: I might have a chance to look at it tonight. I would say it is almost definitely a fw issue though |
| 15:35:26 | dbussink | rue: fw? |
| 15:35:32 | dbussink | but i have to go now myself too |
| 15:37:30 | shame leaves the room. | |
| 15:38:28 | twbray enters the room. | |
| 15:39:04 | shame enters the room. | |
| 15:42:55 | imajes enters the room. | |
| 15:48:54 | BWalton enters the room. | |
| 15:54:08 | twbray leaves the room. | |
| 15:55:17 | binary42 leaves the room. | |
| 15:59:22 | benburkert enters the room. | |
| 16:21:02 | sholden leaves the room. | |
| 16:24:44 | joachimm_ leaves the room. | |
| 16:29:56 | BlackEdder enters the room. | |
| 16:33:13 | Fullmoon enters the room. | |
| 16:34:14 | wmoxam enters the room. | |
| 16:38:33 | BWalton leaves the room. | |
| 16:41:15 | binary42 enters the room. | |
| 16:44:22 | twbray enters the room. | |
| 16:46:49 | wmoxam leaves the room. | |
| 16:46:56 | mernen_ enters the room. | |
| 16:47:27 | mernen leaves the room. | |
| 16:47:44 | wmoxam enters the room. | |
| 16:48:38 | mernen leaves the room. | |
| 16:48:46 | mernen enters the room. | |
| 16:50:45 | shame leaves the room. | |
| 16:52:31 | shame enters the room. | |
| 17:00:48 | wmoxam_ enters the room. | |
| 17:01:35 | wmoxam leaves the room. | |
| 17:10:53 | chris2 leaves the room. | |
| 17:14:57 | evan__ enters the room. | |
| 17:17:06 | RyanTM enters the room. | |
| 17:23:34 | pth leaves the room. | |
| 17:25:32 | lchin enters the room. | |
| 17:33:13 | twbray leaves the room. | |
| 17:34:16 | twbray enters the room. | |
| 17:34:25 | joachimm enters the room. | |
| 17:37:17 | sholden enters the room. | |
| 17:39:38 | jackdempsey leaves the room. | |
| 17:41:56 | evan__ leaves the room. | |
| 17:42:03 | wvdschel leaves the room. | |
| 17:42:38 | wvdschel enters the room. | |
| 17:42:42 | twbray leaves the room. | |
| 17:44:58 | evan__ enters the room. | |
| 17:45:07 | wmoxam leaves the room. | |
| 17:45:18 | wmoxam enters the room. | |
| 17:48:13 | wvdschel leaves the room. | |
| 17:50:20 | octopod enters the room. | |
| 17:51:21 | wmoxam leaves the room. | |
| 17:51:35 | heycarsten leaves the room. | |
| 17:54:56 | RyanTM leaves the room. | |
| 17:55:11 | twbray enters the room. | |
| 18:01:14 | wvdschel enters the room. | |
| 18:01:33 | Fullmoon leaves the room. | |
| 18:02:46 | yasuhito leaves the room. | |
| 18:12:10 | Fullmoon enters the room. | |
| 18:13:50 | headius enters the room. | |
| 18:18:45 | evan__ leaves the room. | |
| 18:19:18 | binary42 leaves the room. | |
| 18:19:23 | binary42 enters the room. | |
| 18:28:59 | chris2 enters the room. | |
| 18:39:18 | pth enters the room. | |
| 18:40:38 | twbray leaves the room. | |
| 18:41:59 | trythil enters the room. | |
| 18:45:07 | joachimm leaves the room. | |
| 18:47:46 | sholden leaves the room. | |
| 18:47:46 | jackdempsey enters the room. | |
| 18:48:20 | wvdschel leaves the room. | |
| 18:52:18 | RyanTM enters the room. | |
| 18:57:31 | octopod leaves the room. | |
| 18:59:04 | wmoxam enters the room. | |
| 19:04:12 | twbray enters the room. | |
| 19:05:27 | octopod enters the room. | |
| 19:05:48 | twbray leaves the room. | |
| 19:08:36 | dysinger enters the room. | |
| 19:13:46 | robin_dewd enters the room. | |
| 19:25:17 | Fullmoon leaves the room. | |
| 19:32:46 | lchin leaves the room. | |
| 19:35:10 | wmoxam leaves the room. | |
| 19:35:13 | Fullmoon enters the room. | |
| 19:35:15 | jackdempsey leaves the room. | |
| 19:41:37 | headius leaves the room. | |
| 19:41:50 | heycarsten enters the room. | |
| 19:42:19 | headius enters the room. | |
| 19:43:47 | jackdempsey enters the room. | |
| 19:48:39 | heycarsten leaves the room. | |
| 19:51:26 | binary42_ enters the room. | |
| 19:52:23 | binary42 leaves the room. | |
| 19:57:45 | lopex enters the room. | |
| 20:01:09 | pth leaves the room. | |
| 20:12:17 | NoKarma leaves the room. | |
| 20:12:17 | dbussink leaves the room. | |
| 20:12:17 | cout leaves the room. | |
| 20:13:18 | NoKarma enters the room. | |
| 20:13:18 | dbussink enters the room. | |
| 20:13:18 | cout enters the room. | |
| 20:13:54 | chop3 enters the room. | |
| 20:21:41 | ssmoot enters the room. | |
| 20:22:48 | ssmoot | is there a blog-post or ML something I can catch up on Rubinius with regarding performance, release schedule, etc? |
| 20:29:30 | headius | not really |
| 20:29:39 | headius | what do you want to know? |
| 20:30:07 | headius | I think most perf/release decisions are in flux right now what with the new VM still in development |
| 20:31:00 | tarcieri | yeah, the cpp branch seems to have a number of promising performance optimizations |
| 20:31:02 | tarcieri | like llvm :) |
| 20:32:02 | headius | ssmoot: most folks in here have been saying it's going to be quite a while though |
| 20:32:13 | headius | new VM doesn't really run anything other than basic math expressions right now |
| 20:32:14 | twbray enters the room. | |
| 20:32:49 | ssmoot | headius: ah, thanks, switchin' tabs just saw your comments. :) |
| 20:33:04 | sholden enters the room. | |
| 20:33:31 | headius | llvm certainly should help in-method execution speed though...eliminates some of the bytecode engine's overhead |
| 20:33:42 | headius | not sure if it helps dynamic invocation much though |
| 20:33:54 | tarcieri | LLVM can make C extensions + MVM quasi-sane |
| 20:33:59 | tarcieri | that's what I want |
| 20:34:01 | ssmoot | headius: Well, for a long while I've been looking forward to pair DM with some lower-level VM specific optimizations. I just don't have any real feel for when Rubinius might be usable for such an effort. |
| 20:34:24 | tarcieri | I was playing around with MVMongrel yesterday and uhh, yeah, crash |
| 20:34:36 | tarcieri | I need to resurrect my Mongrel parser, at least for now |
| 20:34:49 | sholden leaves the room. | |
| 20:34:56 | headius | tarcieri: how much dependency on rubinius is there in that? I'd love to try it on JRuby |
| 20:35:01 | headius | ssmoot: DM? |
| 20:35:23 | ssmoot | headius: sorry, I get tired of typing it out. ;) DataMapper. |
| 20:35:27 | sholden enters the room. | |
| 20:35:44 | tarcieri | headius: I can use the normal Ruby output for Ragel |
| 20:35:59 | tarcieri | headius: the Ruby Ragel outputs can be described as nothing less than horrid though |
| 20:36:36 | headius | ssmoot: ahh right...we'll I'd suggest trying JRuby in the interim, but DM isn't quite there yet |
| 20:36:39 | tarcieri | headius: do you have something like Rubinius.asm in JRuby for building JVM bytecode? |
| 20:36:45 | ssmoot | headius: things like faster collections and predefined ivar slots interested me a lot... |
| 20:37:36 | headius | tarcieri: no, not really, since jruby generally doesn't expose low-level optz like generating bytecode directly |
| 20:37:43 | headius | what would it be needed for? |
| 20:37:52 | tarcieri | headius: goto |
| 20:38:11 | ssmoot | headius: ouch. I'm trying. ;) I tend to work scratching my own itches first, but I've been letting DM cruise on auto-pilot mostly for the last couple months. Soon enough I'll get to dedicate some more time to it. |
| 20:38:45 | headius | tarcieri: it wouldn't be hard to add a compiler plugin to give you goto, but obviously not portable |
| 20:38:49 | headius | label :foo |
| 20:38:51 | headius | ... |
| 20:38:52 | headius | goto :foo |
| 20:39:01 | tarcieri | headius: heh, well, then you'd need to modify Ragel |
| 20:39:30 | headius | why wouldn't you just use the mongrel-java ragel parser? |
| 20:39:41 | tarcieri | oh yeah, good point |
| 20:39:41 | tarcieri | heh |
| 20:39:48 | pth enters the room. | |
| 20:39:49 | tarcieri | that was my first answer the last time you asked me this |
| 20:39:51 | tarcieri | I just forgot |
| 20:39:52 | heycarsten enters the room. | |
| 20:39:52 | tarcieri | heh |
| 20:40:57 | wmoxam enters the room. | |
| 20:42:42 | headius | :) |
| 20:42:57 | headius | I'm surpised the ragel parser generator for ruby is rbx-specific |
| 20:43:00 | headius | that seems like a really odd move |
| 20:43:22 | tarcieri | headius: Ragel supported a backend for outputting a goto-driven FSM using Ruby.asm |
| 20:43:30 | tarcieri | and evan submitted patches to get it working with Rubinius.asm |
| 20:43:38 | headius | what's Ruby.asm |
| 20:43:50 | tarcieri | was Rubinius's precursor to Rubinius.asm I guess |
| 20:44:29 | octopod leaves the room. | |
| 20:44:34 | headius | ahh |
| 20:44:48 | headius | well, a JRuby version would essentially use JVM goto |
| 20:44:55 | tarcieri | yeah |
| 20:45:16 | tarcieri | I can only assume the Java that Ragel produces is substantially better than the Ruby it produces |
| 20:45:17 | headius | it would require that it always be compiled though |
| 20:45:35 | headius | JRuby doesn't immediately compile the ruby code |
| 20:45:40 | tarcieri | yeah, that's what's nice about the Rubinius.asm approach |
| 20:46:17 | headius | not sure I follow |
| 20:46:54 | headius | I just meant using such an extension would require we compile that method internally before executing it...it wouldn't be a manual step |
| 20:47:15 | headius | __COMPILE__ = true as a pragma or something |
| 20:47:53 | headius | jruby user never needs to do anything for a method to get compiled other than call it a lot |
| 20:48:00 | tarcieri | headius: Rubinius.asm reminds me a lot of what I'm doing in Reia... the toplevel scope can be evaluated, but when you execute the blocks it invokes the compiler |
| 20:48:12 | tarcieri | sort of halfway between evaluated and compiled |
| 20:48:33 | brapse enters the room. | |
| 20:48:36 | headius | sure, I've played with that in jruby's compiler too, and in duby |
| 20:48:54 | headius | if we got our rubinius bytecode engine up to date we could easily add Rubinius.asm support as well |
| 20:48:56 | tarcieri | nice |
| 20:49:02 | headius | it's pretty out of date right now |
| 20:49:10 | rue | ssmoot: Incidentally, dbussink noticed an issue that may be from DM http://pastie.org/237059 |
| 20:50:26 | headius | hmmm, I wonder if it runs anything rightnow |
| 20:51:05 | ssmoot | rue: not really sure what I'm looking at here? Have an example of the failing code? |
| 20:51:20 | headius | test.rbc:1:in `const_missing': uninitialized constant RBIX (NameError) |
| 20:51:37 | headius | what's that? must be some constant rbx stuffs into the compiled output now? |
| 20:51:52 | headius | are rbc still ruby marshal format? |
| 20:53:07 | headius | that's the error I get loading .rbc into jruby |
| 20:54:12 | vintrepid enters the room. | |
| 20:55:55 | dbussink | ssmoot|brb: it's an excerpt from some code i have |
| 20:55:57 | dbussink | and a snippet from dm code |
| 20:56:02 | dbussink | which behaves really really weird |
| 20:57:08 | trythil leaves the room. | |
| 20:59:37 | heycarsten leaves the room. | |
| 20:59:47 | Defiler | headius: RBIX is the label/header/begin stamp |
| 21:00:02 | Defiler | headius: Our rbc format is now short header + sha1 and then the marshal data |
| 21:00:03 | Defiler | I believe |
| 21:00:09 | Defiler | So you will want to skip the first 24 bytes |
| 21:00:13 | headius | mmm ok, I'll try that |
| 21:00:29 | Defiler | I believe it is 4 for 'RBIX' and then 20 for an SHA1 signature |
| 21:00:40 | headius | I don't know how much bytecode has changed since this was written a year ago though...maybe a lot? |
| 21:00:50 | Defiler | I don't think so, no |
| 21:01:02 | Defiler | We have new instructions and whatnot, but the format hasn't changed recently that I am aware |
| 21:01:07 | headius | well maybe I'll spend today fiddling with it |
| 21:01:21 | headius | hasn't had any love in a long time |
| 21:01:28 | headius | would be kinda cool to run .rbc |
| 21:01:33 | headius | (again) |
| 21:01:41 | Defiler | cool |
| 21:01:58 | Defiler | That would be handy for everybody, I think |
| 21:02:05 | Defiler | more proof of correctness for everything |
| 21:02:27 | chop3 leaves the room. | |
| 21:02:56 | headius | sure, and if we could get that engine faster than interpreter it could be a standard way to run in jruby |
| 21:03:04 | headius | that would be hard though |
| 21:03:13 | pth leaves the room. | |
| 21:04:02 | Defiler | having a bunch of VMs running the same Ruby kernel is my dream |
| 21:04:05 | Defiler | So I wish you luck |
| 21:05:18 | headius | well we could run the kernel without rbc support |
| 21:05:28 | headius | just need to add rbx primitives and whatnot |
| 21:05:54 | Defiler | Yeah, I was, as is my wont, slightly changing the subject to aid confusion |
| 21:06:03 | headius | good on ya |
| 21:06:34 | headius | hmm, I need to look up header code |
| 21:06:46 | headius | just chopping off 24 isn't doing it, it wants version next and it's coming out wrong |
| 21:07:41 | rue | Look over the marshal code, it is pretty short |
| 21:07:53 | headius | that doesn't seem to have the header |
| 21:08:08 | headius | not on cxx branch anyway |
| 21:08:18 | headius | I'm looking at compiled_file method "encode_to" |
| 21:08:48 | headius | hmmm |
| 21:08:48 | trythil enters the room. | |
| 21:08:58 | headius | am I reading this right? looks like they're just newline-separated strings |
| 21:09:00 | dbussink | rue: did you have a suggestion where i could look? |
| 21:09:52 | Defiler | headius: cpu_marshal.c |
| 21:10:07 | headius | .c? for shame |
| 21:10:10 | Defiler | but hell, maybe that is obsolete |
| 21:10:18 | dbussink | the bytecode is different in the cpp branch |
| 21:10:22 | dbussink | it's human readable there |
| 21:10:22 | trythil leaves the room. | |
| 21:10:24 | rue | headius: http://git.rubini.us/?p=code;a=blob;f=shotgun/lib/cpu_marshal.c;h=2a643f2fc970959395c05ca458810b81 7e9f4e3f;hb=HEAD#l533 |
| 21:10:32 | headius | I guess that bit's been ported to rb for cpp branch |
| 21:10:35 | headius | yes? |
| 21:10:45 | Defiler | aah, didn't notice you were on the cpp branch. |
| 21:10:50 | Defiler | but yeah, that is in Ruby now |
| 21:11:30 | headius | I'm on both |
| 21:11:33 | headius | confusing myself |
| 21:11:58 | rue | dbussink: No, I think ssmoot will have a far better idea :) I have never used DM. I was saying that I do _not_ think it is a Ruby problem, but somewhere in the lib |
| 21:12:17 | dbussink | ah, why don't you think it is? |
| 21:12:25 | dbussink | because i can't seem to find a reason for it |
| 21:12:54 | headius | looks like RBIX then 4 bytes for version then 20 bytes for digest |
| 21:13:01 | headius | then code? |
| 21:13:13 | headius | what's int2be |
| 21:13:20 | Defiler | That is what it is in shotgun, at least |
| 21:13:24 | headius | nevermind, I see it |
| 21:13:29 | Defiler | looks like cpp has a new format. didn't know that whoops |
| 21:13:43 | headius | I'm running a non cpp rbc at the moment |
| 21:13:52 | headius | frustrating that it's changing again though |
| 21:13:56 | rue | headius: Big-endian |
| 21:14:48 | headius | is this a signed or unsigned in |
| 21:14:50 | headius | t |
| 21:14:55 | headius | signed, nevermind |
| 21:15:00 | headius | note to self, think first |
| 21:15:13 | headius | er. |
| 21:15:15 | headius | yeah, uint. |
| 21:15:18 | headius | I'll shut up now |
| 21:15:40 | Defiler | You have to hurry up and support the new format so we can change it again |
| 21:15:41 | Defiler | duh |
| 21:15:49 | headius | it must be that time of year |
| 21:15:58 | rue | We can make it middle-endian next! |
| 21:16:13 | headius | one little, two little... |
| 21:16:38 | dbussink | well, cpp is the future format :P |
| 21:16:45 | dbussink | until evan changes that of course ;) |
| 21:16:57 | Defiler | "new legacy" |
| 21:17:56 | headius | header juggling won't be a big deal |
| 21:18:07 | headius | would be nice to settle it though, since there's no way to know which format to use |
| 21:18:18 | headius | at least make version be in the same place |
| 21:18:33 | Defiler | clearly it needs work, yeah |
| 21:18:49 | Defiler | nothing in the cpp branch is 'final', so feel free to make suggestions |
| 21:19:12 | headius | weird, version seems to be coming out as some really high number |
| 21:19:28 | headius | like Exception in thread "main" java.lang.RuntimeException: Can't run Rubinius code with version 75322343 |
| 21:21:13 | gnufied enters the room. | |
| 21:22:06 | headius | btw wmeissner has been working on getting ffi in JRuby proper |
| 21:22:32 | headius | so we probably won't release as a gem...it will just "be there" in jruby.next |
| 21:24:19 | aotearoa enters the room. | |
| 21:24:46 | headius | blast, the marshalled tags all changed |
| 21:25:14 | binary42 enters the room. | |
| 21:25:41 | headius | yeah, there's a lot of changes |
| 21:25:43 | headius | hmm |
| 21:26:18 | headius | sendsite is in the marshal format now? |
| 21:26:53 | binary42_ leaves the room. | |
| 21:29:17 | wyhaines leaves the room. | |
| 21:29:35 | rue | Oh yeah, when we said "it has not changed much" we meant it is still binary |
| 21:31:05 | headius | apparently :) |
| 21:31:13 | headius | though it's less binary than before |
| 21:31:25 | headius | like most literals are marshalled out as strings |
| 21:33:01 | headius | hmm |
| 21:33:29 | Chrononaut enters the room. | |
| 21:34:05 | headius | I should probably go with cpp format |
| 21:35:07 | Arjen_ enters the room. | |
| 21:35:24 | headius | or...blast |
| 21:35:27 | headius | screw it |
| 21:35:35 | headius | cpp format is probably going to keep changing |
| 21:35:42 | headius | and the old format is already obsolete |
| 21:36:44 | blakewatters enters the room. | |
| 21:37:21 | Fullmoon leaves the room. | |
| 21:38:16 | cremes enters the room. | |
| 21:39:31 | benny leaves the room. | |
| 21:40:06 | headius | unfortunate |
| 21:43:50 | headius | guess I'll play with YARV engine today :( |
| 21:46:21 | gnufied leaves the room. | |
| 21:51:25 | atduskgreg enters the room. | |
| 21:53:56 | rubuildius_amd64 enters the room. | |
| 21:56:10 | brapse leaves the room. | |
| 21:56:37 | djwhitt enters the room. | |
| 21:57:39 | heycarsten enters the room. | |
| 21:58:56 | heycarsten leaves the room. | |
| 22:01:19 | BlackEdder enters the room. | |
| 22:05:24 | vintrepid leaves the room. | |
| 22:07:02 | RyanTM leaves the room. | |
| 22:08:26 | benny enters the room. | |
| 22:18:56 | aotearoa leaves the room. | |
| 22:31:42 | xmlhacker enters the room. | |
| 22:40:00 | trythil enters the room. | |
| 22:45:00 | pth enters the room. | |
| 22:48:27 | krisps enters the room. | |
| 22:49:19 | vintrepid enters the room. | |
| 22:52:54 | aotearoa enters the room. | |
| 22:59:19 | twbray leaves the room. | |
| 23:02:34 | binary42 leaves the room. | |
| 23:02:37 | binary42 enters the room. | |
| 23:03:59 | krisps leaves the room. | |
| 23:05:06 | benburkert leaves the room. | |
| 23:06:17 | pth leaves the room. | |
| 23:06:23 | jackdempsey leaves the room. | |
| 23:08:00 | wmoxam leaves the room. | |
| 23:12:13 | jewel leaves the room. | |
| 23:12:37 | jackdempsey enters the room. | |
| 23:41:40 | Maledictus leaves the room. | |
| 23:48:02 | Arjen_ leaves the room. | |
| 23:48:40 | djwhitt enters the room. | |
| 23:52:20 | chris2 leaves the room. | |
| 23:53:35 | sholden leaves the room. | |
| 23:54:18 | pth enters the room. | |
| 23:54:57 | benny leaves the room. | |
| 23:56:31 | pth_ enters the room. |