Index

Show enters and exits. Hide enters and exits.

00:28:45jaribwow, just typed 'exit if fork' in irb and my machine started making sounds
00:28:47jaribweird
00:28:59jaribditto for MRI
00:37:15brixenok, now that I have decent specs, I can fix this...
00:39:42kronos_vanoproblems with rb_const_get_from?
00:40:30brixendrunk_a_lot_kron: yes
00:41:13brixendrunk_a_lot_kron: the specs did not pass
00:41:20drunk_a_lot_kronarr
00:41:27brixenI've fixed them
00:41:36drunk_a_lot_kronok
00:41:42drunk_a_lot_krontnx
00:41:46brixenrb_const_get_from looks like it's working ok except for calling const_missing
00:43:03drunk_a_lot_kroncalling *_missing is common problem
00:44:32drunk_a_lot_kronok. I get some sleep. See ya
00:44:40brixendrunk_a_lot_kron: haha, ok!
00:45:12brixentoulmean: getting closer!
00:45:56toulmeanbrixen: cool. Installing my new TV here
00:46:05brixennice
01:03:58toulmeanbrixen: need to buy HDMI cable
01:04:06toulmeananything I can help with for you ?
01:05:13brixennot yet
01:05:26brixenonce I get these specs passing, I'll see why I'm segfaulting
01:05:48brixenor maybe, I'll just push this and *you* can see why it's segfaulting :)
01:06:13toulmeanI would love to learn how to diagnose a segfault
01:06:29toulmeanbrixen: ^^
01:07:49brixen:)
01:10:33brixentoulmean: well, it's a long process... I usually start with a couple young, spry chickens, with mostly white feathers...
01:11:24toulmeanbrixen: you mean you use voodoo ?
01:12:28toulmeanok let me google for seg faults... I never did C dev so.
01:15:19brixenheh, just kidding
01:15:29brixenyes, sometimes it seems like you need voodoo
01:16:17brixenI'm running specs and then I'll push this
01:21:00toulmeanok thx
01:26:14boyscoutAdded specs for more C-API functions. - de72c57 - Brian Ford
01:26:14boyscoutAdded more C-API functions to get rjb to load. - 3987fa2 - Brian Ford
01:26:14boyscoutIgnore some app dirs. - 6f4a6d5 - Brian Ford
01:26:59brixentoulmean: so, what I'm doing first is: rake clean; rake build:debug
01:27:30toulmeanok
01:29:13brixenthen I'm going to rebuild and reinstall rjb
01:29:48toulmeanbrixen: need to rebuild and reinstall it every time ?
01:30:07brixenshouldn't no, but I want to make sure stuff didn't compile incorrectly
01:30:17toulmeank
01:30:27brixensince I added protos for the functions that were unresolved before
01:33:54brixentoulmean: then I did: gdb --args vm/vm -r rjb
01:34:06toulmeanuh ? ok
01:34:08brixentoulmean: and voila, segv assigning to NULL
01:34:19toulmeanok
01:34:20brixennow, why are we trying to assign to 0x0
01:34:37toulmeando you get a line number ?
01:34:56brixentoulmean: http://gist.github.com/410548
01:34:58toulmeanor none - you lose track of all the code references when you compile ?
01:35:45brixentoulmean: refresh the gist
01:35:51brixenI typed 'bt'
01:35:58brixenand you can see the backtrace
01:36:02toulmeanok refreshed. ok
01:36:32toulmeanso the segfault is happening in your code ?
01:36:36brixenyou can see at line 30 of the gist that status=0x0 in the call to rb_protect
01:36:52brixenso, now I go see why rb_protect got called with 0x0 for status
01:37:18toulmeanah ok
01:38:20brixennothing really complex, just following your nose usually
01:38:27toulmeanyes.
01:38:46toulmeanas long as you get a backtrace it's possible to walk back in your steps
01:39:02brixenif it's a deterministic bug, sure
01:39:04brixen:)
01:39:12toulmeanyeah
01:41:09brixenso, in this case, MRI does not assign to status if it is NULL/0
01:41:12brixenoops, we do
01:41:22brixeneasy fix
01:42:34brixenwe'll blame evan for this one :)
01:43:35brixentoulmean: hey, it loaded :)
01:43:41brixenwhat should I do now?
01:43:49toulmeanyou need to load the JVM
01:43:51toulmeanone sec
01:43:54brixenoh god
01:44:00brixensorry...
01:44:02brixen:)
01:44:38toulmean::Rjb.load
01:45:09brixendo I have to? maybe my computer will burst into flames...
01:45:16brixencan I push the fix and you can try that?
01:45:18toulmeanactually ::Rjb.load "", ["", ""]
01:45:22toulmeanyes
01:45:25brixenheh
01:45:32toulmeanyou can give me back the baby now :)
01:45:48toulmeanthanks
01:45:49brixenyay! the giving will commence shortly
01:46:03toulmeancool
01:46:05brixentries the load anyway
01:46:14brixenonce the specs run
01:46:32toulmeangot an extinguisher ?
01:46:48boyscoutCI: rubinius: 6f4a6d5 successful: 3463 files, 13842 examples, 41494 expectations, 0 failures, 0 errors
01:49:08brixenI've got a cup of tea next to my computer
01:49:47brixenI'm going to trade that in for a manhattan
01:50:21toulmean:)
01:51:35boyscoutOnly set status in rb_protect if it is not NULL. - 031602d - Brian Ford
01:51:59brixenhum, so this thing uses dl?
01:54:56toulmeanbrixen: you know... this thing wasn't my idea...
01:55:15toulmeanI just picked up the code
01:55:22toulmeanRJB is an old old codebase
01:56:03toulmeanbrixen: what is dl ?
01:57:07toulmeanbrixen: ok got to run for the hdmi cable before fry's closes
01:57:12toulmeanwill pull tonight and try
01:57:13toulmeanthx
01:57:19toulmeannext step is to run buildr specs
01:57:25toulmeanand then we can start having real fun
01:57:28brixenok later!
01:57:37brixendl is a library to load dynamic code
01:57:43brixenwe don't support it yet afaik
01:57:48brixenit's very old
01:57:50brixenand sad
01:59:11toulmeanbrixen: we can rewrite it.
01:59:37boyscoutCI: rubinius: 031602d successful: 3463 files, 13842 examples, 41494 expectations, 0 failures, 0 errors
02:00:41brixentoulmean: I'm trying to find it now
02:00:56brixenfind where it is called
02:01:06toulmeanok going for real
02:01:10toulmeanback in 1h30
02:01:13brixenrjb gets to rjb_create_jvm
02:01:14brixengo!
02:01:18brixenlater :)
03:00:12dkubbhey guys, I found an issue I was sort of able to isolate, and before I make a ticket I just wanted to see if it was known or not.. the following code explodes with rbx 1.0.0 for me: https://gist.github.com/b145936cdd590dc77049
03:01:20dkubbdbussink brought this to me earlier today, and I was able to isolate it to one package in a plugin to DM, and then whittle it down to this code
03:06:26dkubbI have no knowledge of rbx internals, but it looks like when it initializes the Regexp object for /\s+/, it calls Regexp rather than ::Regexp; so the subclass of the same name is what gets the args
03:07:30dkubbif that's true, then it would explain a few other similar errors we've seen when testing DataMapper with rbx, since we have String, Integer, Numeric, etc classes under the DM::Property namespace
03:11:21evandkubb: yeah, Defiler fixed that today
03:42:01dkubbevan: awesome.. thanks Defiler!
04:10:48brixenevan: so, I have DL compiling :)
04:11:45evanrad :)
04:12:06evani'm trying to figure out why LLVM 2.7 doesn't like my custom alias analysis pass
04:12:24toulmeanbrixen: hey, is that going to help with jruby ?
04:12:34brixentoulmean: with rjb, yes
04:12:44toulmeanwith rjb
04:12:47toulmeanyes sorry
04:12:56brixentoulmean: although, if you know how to load the jvm, you could probably write an FFI binding to do it
04:13:14toulmeanbrixen: uh.
04:13:21brixenthe code in load.c open_jvm is near impenetrable to me
04:13:44toulmeanto me too, sadly.
04:13:51toulmeanok so pulling
04:13:52brixentoulmean: but i figure, I might as well try to get DL running
04:14:09toulmeancool
04:31:53brixenoh for the...
04:32:21brixenwe have vm/capi/handle.cpp => vm/capi/handle.o and we add vm/capi te -I for ruby.h
04:32:51brixenso dl/handle.c does not get built because make thinks vm/capi/handle.o is the obj file for dl/handle.c
04:35:08brixenevan: do you think we should move the c-api .h files to vm/capi/include ?
04:35:28evanhuh?
04:35:49brixensee the lines above my Q
04:36:29brixenhttp://gist.github.com/410642
04:36:49brixenDL has a file, handle.c
04:36:58brixenwe have a capi file, handle.cpp
04:37:07evanwho's makefile is that?
04:37:19brixenthe one gen'd by extconf.rb in DL
04:37:22evanhm.
04:37:41evanwe can move ruby.h to capi/include
04:37:43evanthats fine.
04:37:47brixenk
04:37:53brixenseems safer
05:27:19evanyay, i think i figured out what was up with LLVM 2.7
05:27:22evangot it running now.
05:27:33evanneed to rebuild it (AGAIN) with optimizations though.
05:28:52brixensweet
05:28:58brixenexcept for the build again part
05:29:10evanthit did a bunch of stuff in LLVM 2.7 so that it builds with -fno-rtti
05:29:18evanwhich i guess has a 5% performance hit
05:29:20brixenahh interesting
05:29:25evani'm going to get us building with that too.
05:29:29brixennice
05:29:37evanshould be trivial, I use dynamic_cast<> all of about 2 places.
05:29:45matthewdOh, rbx: "TypeError: Fixnum#to_str should return Float"
05:29:52brixenhehe
05:30:07evananyway, instead of using dynamic_cast<> you have to implement a virtual function that does a cast and returns the right thing
05:30:25evanso that each class has their own way to cast themselves to a subtype
05:30:25brixenevan: not too bad then
05:30:31brixengotcha
05:30:32evanjust took me a while to figure out
05:30:38evanreally glad I did though
05:30:51evanmade me see how they implement multiple inheritance in C++ to deal with this.
05:31:07brixenahh
05:31:43brixenmatthewd: I'll trade you... you can get DL running and I'll work on whatever you got there
05:31:58matthewdbrixen: Nah, I'm good :)
05:32:10brixenmatthewd: aww c'mon :)
05:33:05matthewdShould the message of that exception be specced?
05:33:13evan|Blaze|_: no, I didn't, but I can't say it's a waste.
05:33:33matthewd(The best part is that two of the three things in there are wrong, not just one)
05:34:27brixenmatthewd: no, they should not be
05:34:44evanlike, the way dynamic_cast<> works is pretty interesting.
05:34:48matthewdbrixen: So just fix it?
05:34:53brixenmatthewd: yes
05:34:58matthewdEasy :)
05:35:08brixenmatthewd: if we spec msg, then we're stuck with MRI's crappy ones
05:35:54matthewdCould do rbx-specific specs though
05:36:09brixenmatthewd: that would be a ton of duplication
05:36:13brixenjust fix it :)
05:36:22evanmatthewd: no, no specing exception messages.
05:37:07matthewdI wouldn't even suggest it if I hadn't just found one that had a hard-coded method name in it :P
05:37:13brixeninteresting, DL uses rb_check_safe_obj
05:37:33brixena bit ironic huh, since you can send stuff to raw memory basically
05:38:33evanmatthewd: what are you working on that you got that TypeError?
05:39:34matthewdevan: rb_num2dbl specs
05:39:41evanah.
05:49:05boyscoutFix the "should return" exception message. - ba9ce7c - Matthew Draper
05:49:06boyscoutMake rb_num2dbl handle all inputs correctly. - 7b77f74 - Matthew Draper
05:49:06boyscoutSpec rb_num2dbl(). - 493c50f - Matthew Draper
05:57:13boyscoutCI: rubinius: 493c50f successful: 3463 files, 13848 examples, 41501 expectations, 0 failures, 0 errors
06:19:32brixenholy crap, haha
06:19:39brixenI just loaded the jvm with DL
06:20:16evanhah
06:20:23evanoops? :D
06:20:36brixenhah
06:21:02brixenI have one more thing with DL no figure out
06:21:27brixenit defines IO#to_ptr which wraps a FILE* in an obj
06:22:40brixener s/no/to/
06:23:46evanUG.
06:23:50cremesgeez, people, go to bed!
06:23:53brixenyeah, ideas?
06:23:56cremesrbx will wait until the morning
06:24:00evancremes: it's 11:23
06:24:08brixencremes: neeeeveerrrr :)
06:24:11evanbrixen: let me look at the impl.
06:24:12cremesah yes, pst. i'm a cst guy
06:24:39cremesnext time y'all are in Chicago, beers are on me.
06:25:00brixenevan: http://gist.github.com/410693
06:25:01evanbrixen: welp.
06:25:11brixencremes: woot!
06:25:11evanbrixen: that API is hilariously unsafe.
06:25:15brixenyeah
06:25:17evanbrixen: looking at how MRI does it
06:25:33evanbecause it's passing the FILE* thats controlled by the IO out
06:25:36evanthat being said
06:25:47evanI actually implemented GetOpenFile
06:25:52evanand rb_io_t
06:25:55brixenI was going to look at that
06:26:02evani just called the FILE* for it stdio_file rather than f
06:26:06evanif you rename it to f
06:26:08evanit will just work.
06:26:12brixenahh ok
06:26:28evanwhy name things sensible things when you can name thing things like f?
06:26:35brixenhaha
06:28:04brixenthis is the lovely sort of code I've been looking at all day
06:28:05brixenhttp://gist.github.com/410699
06:28:45evanoh lebron.
06:38:20brixenfor pete's sake... anyone see a problem with this MRI macro? http://gist.github.com/410701
06:41:08evannever seen it before
06:41:10brixenhm, it actually coerces
06:41:12toulmean brixen: still working ?
06:41:29brixentoulmean: I got DL working and it loads the jvm
06:41:35toulmeancool
06:41:48brixennext up rb_set_errinfo(Qnil) is choking on the nil
06:42:56toulmeanbrixen: that's the gist above ?
06:43:44brixenevan: so basically, passing a zero length Ruby String (ie "") to NUM2CHR would end up with a call to Integer("")
06:43:56brixentoulmean: which?
06:44:04evanbrixen: correct.
06:44:06toulmeanerr 410701
06:44:15toulmeanhttp://gist.github.com/410701
06:45:55brixentoulmean: it's a wacky MRI macro that will either 1. get you the first char of a non-zero length String, 2. a number masked to 0xff, or an ArgumentError for passing "" to Integer()
06:46:06brixener, that was supposed to be a 3. ...
06:46:25toulmeanbrixen: why is it used to start with ? In RJB I mean ?
06:46:31toulmeanis it part of RJB code ?
06:46:44brixenthe gist is MRI code
06:46:48toulmeanok
06:46:50toulmean...
06:46:59brixenit is used in DL
06:47:17toulmeanI thought RJB was the problem :)
06:47:30toulmeanyou guys are in trouble for some time it seems
06:48:14brixenRJB is some rather crazy code
06:48:20brixenand so is DL
06:48:25evanbrixen: does rjb use DL?
06:48:28brixenthe crazy factor sort of multiplies
06:48:31evanor did you decide while you're in a crazy mood
06:48:31brixenevan: yes
06:48:37evanmight as well do double crazy!
06:48:41brixennope
06:48:47evandidn't think so
06:48:50evanjust checking!
06:48:54brixenlast thing I wanted to do today was try to run DL :)
06:49:01evanhehe
06:49:02toulmeanit's all my fault really
06:49:16brixenbut I wanted less to try to port rjb to use FFI
06:49:16toulmeanbut is DL really necessary for RJB ?
06:49:20evantoulmean: you mean well
06:49:25evanrjb isn't your fault.
06:49:33toulmeanevan: ya. It's sad.
06:49:39evanwell, we need the DL API in some form
06:49:43evanso if we can just run the DL extension
06:49:45brixentoulmean: yes, DL is necessary unless you port it to use FFI to dlopen the jvm lib
06:49:45evanthats fine for now.
06:50:02brixenyeah, I figure running DL is a good thing
06:50:04toulmeanok
06:50:07evanbrixen: how much DL does it use?
06:50:07matthewd"I don't think I can fit any more crazy in here... what library can I use?" :P
06:50:35brixenevan: don't really know
06:50:58brixenmight just dlopen, I haven't really read the rjb code
06:51:06brixenI try not to look directly at it :)
06:51:38toulmeanbrixen: I think this qualifies for crazy too: http://github.com/brixen/kireru
06:51:50evanbrixen: thats fair.
06:51:58evantoulmean: nah! it's empty!
06:52:04evanit's the picture of bliss right now!
06:52:10toulmeanlol
06:52:17evanall things are possible when the repo is empty.
06:52:23evanyou can quote me on that.
06:52:31toulmean:)
06:52:39toulmeanI wonder how far that would get
06:52:50brixentoulmean: that would most definitely not be crazy
06:52:55brixen:)
06:53:00toulmeanyou guys need to explain me your relationship to JRuby as well
06:53:38brixenI did, in my README for kireru :)
06:53:52toulmeanthe funnel thing ?
06:54:00brixenheh yeah
06:54:19toulmeanI was chatting with headius on jruby yesterday
06:54:29toulmeanmentioned I liked rubinius
06:54:48brixenyeah, jruby has really good java-integration story
06:54:56brixenthey've been working very hard on that
06:55:39toulmeanheadius is working with you too right ?
06:56:10brixenheadius works on jruby, we work on rbx
06:56:23brixenwe collab on the specs and probably on some C-API stuff now
06:56:33toulmeanbrixen: ah ? His linkedin profile mentioned something about rubinius
06:56:34toulmeanok
06:56:35brixensince they have a jruby C-API RSoC project
06:56:59brixenhe contributed specs when rubyspec was still part of rbx repo
06:57:06brixenother than that, I don't really know
06:57:18brixenwe talk about crazy MRI behavior :)
06:57:28toulmeanI see
06:59:53brixenhmm, might as well fix these warnings in DL while I'm here
07:04:58evanwell, i think that the LLVM 2.7 change was small enough that I can conditionalize it
07:05:01evanso we can use either
07:08:05brixenahh cool
07:08:44brixennice bridge to getting pre-builts and lets folks use 2.6/7 installed
07:12:35evanyeah.
07:13:11evani made the small changes so we build with -fno-rtti now
07:13:16evanalso.
07:15:52brixensweet
08:09:02dbussinkevan: did you try rails3 with rbx recently?
08:11:34brixenhmm, I really need to come up with a scheme for capi specs
08:11:50brixensince we have rb_thread_blocking_region and mri does not
08:11:54brixenC just sucks
08:12:10brixendbussink: is it not working for you?
08:12:19brixendbussink: evan ran the specs before 1.0
08:13:06dbussinkbrixen: getting a uninitialized constant ApplicationController error here
08:13:22brixenhmm
08:13:38brixendbussink: did you see, I got DL building and running :)
08:13:58dbussinkbrixen: that's really nasty :)
08:14:38brixenheh
08:15:03brixenI'm not going to push this till tomorrow
08:15:14brixenI'm too groggy to fix any issues
08:15:36brixendbussink: also, rjb loads most of the way
08:15:49brixenat least, well past dlload'ing the jvm :)
08:16:14dbussinki'd suggest everyone who uses rjb to switch to jruby :P
08:16:14brixens/dlload/dlopen/
08:16:30brixendbussink: but, we have fork! :)
08:32:32brixenso. close.
08:32:42brixenwe are not handling frozen correctly somewhere
08:32:48brixenbut, nite!
08:38:52toulmeanhey guys, I tried to install rake as a gem on rubinius 1.0
08:39:02toulmeangot this error while trying to run the rake bin
08:39:18toulmean>/usr/local/rubinius/1.0.0/gems/bin/rake
08:39:18toulmean-bash: /usr/local/rubinius/1.0.0/gems/bin/rake: /Users/evan/git/rbx/bin/rbx: bad interpreter: No such file or directory
08:40:22toulmeanany way this might be a bad reference to evan's home folder ?
08:57:48cyndisyou're supposed to use rbx -S rake
09:01:14toulmeancyndis: true
09:01:45toulmeanok it works then.
09:01:50cyndis:)
09:02:12cyndisotherwise, yes, that is known
09:09:01toulmeanah ? ok.
09:14:12dbussinktoulmean: looks like a wrong shebang there
15:06:08boyscoutAdd NativeMethod functors up to a ten-argument version - c2c8c92 - Mikko Perttunen
15:15:06boyscoutCI: rubinius: c2c8c92 successful: 3463 files, 13848 examples, 41501 expectations, 0 failures, 0 errors
16:44:41brixentoulmean: I'm fixing your extend_object issue right now
16:45:01toulmeanbrixen: it's an issue or I'm doing something wrong ?
16:47:16brixenno, not really
16:47:29brixenwe don't expect it to be private but yours is
16:47:33brixennot a big deal
16:47:49brixenwe just 1. didn't have specs for that case and 2. the existing specs are horrid
16:48:12brixenso 10 parts fixing specs, 1 part writing a new spec, and 1 part fixing issue :)
17:06:03cyndisbrixen: i'm speccing rb_set_end_proc and need to load the capi spec extension in a separate ruby process. is there any good way to do this?
17:06:29brixencyndis: :(
17:06:54brixenwhat do you mean by load the capi spec extension in a separate process?
17:07:09cyndisspec/capi/ext/kernel_spec.so
17:07:11brixenalso, I don't know what rb_set_end_proc does yet.. :)
17:07:19cyndisit does basically at_exit(c function)
17:08:06brixenhm
17:08:25brixencyndis: you should be able to give the full path to require
17:08:44brixendid you try with ruby_exe?
17:08:58cyndishow do i find out the full path?
17:09:20cyndisoh wait, __FILE__ and dirname
17:09:24brixenyou could make a fixture script that encodes the full path relative
17:09:25brixenyeah
17:09:43brixenor just use that directly in the spec
17:09:45cyndisyeah, i tried that before but it was inside ruby_exe and __FILE__ was "-e"
17:10:07brixennot __FILE__ in ruby_exe
17:10:12cyndisyes
17:10:15brixen__FILE__ in the spec file
17:10:26cyndissomehow i didn't realize that :)
17:10:32brixenahh ok
17:10:32brixenn/p
17:10:37cyndisthanks
17:10:43brixenI also have the fixture() helper
17:10:53brixenfixture __FILE__, "some_name"
17:11:03brixenwhich will look in various fixture dirs
17:11:09brixensometimes that is easier
17:11:12brixenyou can grep for usage
17:11:15cyndisi'll check that out
17:12:55brixentoulmean: I'm just going to push this and let you check the buildr specs
17:13:11toulmeanok
17:13:33boyscoutRewrote Module.extend_object specs. - f66051a - Brian Ford
17:13:33boyscoutUse send to reach private extend_object methods. Closes #324. - b0ed91f - Brian Ford
17:13:46brixentoulmean: I cloned buildr though, so I can run commands in the future
17:13:54brixenwhat's the simplest way to run the specs?
17:14:36toulmeanrake spec
17:14:47brixenI'm running rake setup right now
17:14:51toulmeanthx, I just need to walk the dog first
17:14:54toulmeanyes, good idea
17:15:07toulmeanthough you might be in trouble - it will try to install the rjb gem
17:15:13brixenhmm, this is bad
17:15:18toulmeanyou need to install rjb yourself as a gem first
17:15:20toulmeanto do that
17:15:24brixenwhy does it automatically use sudo
17:15:39brixento try to install rcov?
17:15:53brixenalso, we do not support rcov
17:16:05brixensince it depends on MRI internals
17:16:20toulmeanwe do rcov for testing the coverage, nothing more
17:16:25brixenok
17:16:33brixenwell, it should not sudo unless needed
17:16:33toulmean../rubinius/bin/rbx -S rake --rakefile rjb.rake is the way to create the rjb gem
17:16:53toulmeanyeah. It's all tailored for a standard mri install.
17:17:01toulmeanback in 15
17:17:16brixenI've got to run some errands, but I'll try to push the rjb stuff before I go if I can
17:19:05brixenarg conflicts :(
17:21:33boyscoutCI: rubinius: b0ed91f successful: 3463 files, 13849 examples, 41502 expectations, 0 failures, 0 errors
17:46:27toulmeanback
18:21:56Defilernil <=> nil returns 0 in 1.9
18:21:57Defilerawesome
18:23:16brixenyeah, marcandre lobbied hard for that
18:23:17brixenyay
18:23:41brixentoulmean: gotta run, but I'm headed somewhere I may be able to push this stuff
18:24:07toulmeanbrixen: hey, no rush, it's Sunday
18:24:13brixentoulmean: have more specs to write and some juggling of capi to do
18:56:16dbussinkbrixen: i have a nice one: https://gist.github.com/fe172f32c24e591ad3b7
18:56:27dbussinkcheck which files they generate, rbx misses some files
20:20:31BBHosshow do i use the JIT feature, i am using RVM and have compiled with the --jit option
20:21:07wayneeseguinIt should 'just work' IIRC ?
20:21:25BBHosswayneeseguin: hmm ok, so should it still make .rbc files?
20:21:44wayneeseguinI would think so
20:21:51BBHossok
20:22:06wayneeseguinI think the jit basically takes what was compiled, and as the program runs more it optimizes it further
20:22:07BBHossi thought that jit means it compiled it on the fly, without compiling it all into files
20:22:11BBHossahh ok
20:22:20wayneeseguinevan / brixen / Defiler will know way more than me on that though.
20:22:34wayneeseguinI believe the .rbc in that case is like 'precompiling'
20:23:09BBHossooh fail, just crashed it
20:23:09wayneeseguinso it can run immediately and the LLVM will keep track of function calls and do neat tricks to optimize running code
20:23:12wayneeseguinlike inlining etc
20:23:25BBHosshttps://gist.github.com/96deac16196f3725a38d
20:23:39BBHossand it STILL made the rbc files
20:24:10wayneeseguinI'm not sure on that one, you'll have to wait for one of the core to be around
20:25:00wayneeseguinBBHoss: out of curiosity, try 'rbx --no-rbc -S ruby script/server'
20:25:11wayneeseguinor maybe even without the 'ruby' word in there
20:25:33BBHossstill fails
20:25:38BBHossthis is HEAD, may be a bug
20:25:48wayneeseguinahhh ok in over my head :)
20:26:11wayneeseguinIf you can wait around for evan / brixen they should be able to help
20:26:24BBHossgot to watch lost :)
20:26:28wayneeseguinor check back tomororw since it's Sunday ;)
20:26:46wayneeseguinOnly people sick in the head hang around on Sunday's to help people in IRC .
20:26:57BBHossheh, like you :)
20:27:51BBHosswayneeseguin: i think i found the issue http://blog.ubrio.us/nix/osx-rubygems-and-cross-thread-violations-in-rb_gc/#high_4
20:28:02BBHossi used gemset copy system rbx-head
20:28:24BBHossany way to get it that to not copy natively-compiled stuff
20:31:57wayneeseguinBBHoss: if you use gemset copy, be sure to run 'rvm gemset pristine' afterwards to recompile C extensions
20:32:01wayneeseguinI might have to make that default
20:32:17BBHosswayneeseguin: that wont work with rbx though, because it only supports FFI right?
20:32:56cyndisrbx does support capi
20:33:10BBHosscyndis: really? is that a new development?
20:33:22cyndisnot really :)
20:33:22wayneeseguinBBHoss: The gem pristine basically does a quick re-install of all the gems
20:33:29wayneeseguinSo I'm guessing it would work .
20:33:35BBHosshmm
20:33:38BBHossawesome
20:33:38wayneeseguinIt does support some of the C API
20:33:55wayneeseguinThe pieces that make sense and are not Ggem developers taking advantage of things they shouldntshouldn’t
20:34:07BBHossheheh, its IS C after all :)
20:34:21wayneeseguinhai!
20:34:57BBHosshmm apparently it doesnt support the json gem
20:36:05cyndisyajl-json is supported and it supports the same api
20:43:45BBHossapparently webrick doesnt handle large files well, dunno if its rbx-specific, but heres the logs: https://gist.github.com/bf6d13d1e0463fe2bc72
20:48:41wayneeseguinhave to head to dinner, bbl
21:45:31kronos_vanohttp://gist.github.com/411270 :(
21:49:06ereslibrehi there guys. very interesting project. I am trying to compile it out, but I just can't. I am using ruby trunk, but as far as I know, rubinius will only be compiled by ruby < 1.9. I am confused here: I can understand it implements ruby < 1.9, but cannot it be _built_ with ruby > 1.9 ?
21:51:48kronos_vanoereslibre, It will be fixed. But for now rubinius supports only 1.8
21:52:10ereslibrekronos_vano: interesting
21:55:29kronos_vanoereslibre, Patches are welcome! Evan(C) :)
21:55:42ereslibrekronos_vano: what's fundamentally missing ?
21:56:15kronos_vanoI dunno.
22:39:58toulmeanbrixen: I am getting some weird error when running buildr specs now.
22:40:22toulmeanbrixen: the error message is: method 'trace': given 0, expected 1 (ArgumentError)
22:41:10toulmeanbrixen: I have a trace method inherited from Rake::Application, which takes no arguments
22:41:25toulmeanI also have a trace method defined inside the default package
22:41:33toulmeanok maybe I should do a spec...
22:42:39toulmeanbrixen: where should I write such a spec about method overriding and visibility ?
23:47:35evanwayneeseguin: what is "gemset copy"?
23:47:50evanBBHoss: that error you hit in rubinius trying to run an extension that was compiled against MRI
23:50:12evanoh man
23:50:17evanpeople are using gemset copy with rbx?
23:50:19evanmega fail.