Index

Show enters and exits. Hide enters and exits.

00:09:12evani wonder if FONC and such are dead.
00:11:00brixenI saw a couple emails recently
00:11:06brixengood question though
00:11:26evanthe emails from today are weird
00:11:33evanthey're not at all FONC related
00:11:46evanand I haven't seen anything in almost a year I think.
00:12:11brixenahh hm, just got today's email
00:12:38brixenI thought there was one regarding the wiki that a vpri staff responded to recently
00:12:42brixenbut I could be mistaken
00:13:22evanhttp://www.vpri.org/fonc_wiki/index.php?title=Main_Page&action=history
00:13:33evanian's last change was in 2008
00:14:19brixenhmm
00:15:18evanthe last svn commit was 2009-04-20
00:15:29evanand it was nearly a month from that to the one before it
00:17:17evanmaybe I should email them and go have lunch again
00:18:31evantheir NSF grant is still going I think
00:18:36evanso maybe they're just heads down on something
00:18:43brixencould be
00:18:58brixenwould be neat to talk to Ian now with all you jit experience under your belt
00:19:03brixenI'd imagine
00:19:44brixenbin/rbx compile -S -s^kernel:runtime kernel/ almost completes
00:19:53brixenwhere -S is printing sexps
00:19:59evanoooh
00:20:01evanfantastic!
00:20:14evanare we loosing any info in creating the sexp's?
00:20:30brixenheh interesting you should ask that
00:20:43brixenI was going to build an old rbx and pipe it in to see :)
00:20:52evanhehe
00:20:58brixenI'm basically making the sexp much like ryan's unified form
00:21:06evancool
00:21:06evanyeah
00:21:10brixensexps are nice for the compact visual representation
00:21:13brixenbut that's about it
00:21:14evanyeah
00:21:28brixenit's weird converting our nice AST back to MRI's weird parsetree
00:21:29brixenkinda
00:21:55evanhm, how should I write a spec for this autoload-tramples-on-current-exception bug
00:21:55brixenI think ast/control_flow.rb is my last file
00:22:01brixenhmm
00:22:24evani could add it to the autoload specs i guess
00:22:31brixensure
00:22:35evank
01:14:17rueI thought Ian had something to do with Go now?
01:14:34evannot that I know of.
04:29:10qbprogerevan, the link for the git repo seems dead: http://rubini.us/
04:32:23manverua lot of links on the site are dead
04:32:44qbprogerbah, where is the git repo?
04:33:45manveruqbproger: on github
04:34:29qbprogerhttp://github.com/evanphx/repositories
04:34:33qbprogeri don't see it there
04:34:41manveruweird
04:35:07manveruit was there just a day ago
04:35:27qbprogerhmmm wonder what's going on
04:36:11manveruone second
04:36:23manverui can still pull from it
04:36:30manverugit://github.com/evanphx/rubinius.git
04:36:33qbprogeralright
04:36:38qbprogeri'll give it a go
04:36:51manverumaybe hiccup in github... i'll let them know
04:44:27manveruqbproger: ok, it's back
04:44:37qbprogeralright, cool :)
04:55:51manverui just ran klinkchecker over the site... only 3 dead links
04:58:00manveru4
21:08:24dbussinkevan: ping?
21:19:40dbussinkbrixen: you there?
21:29:05evandbussink: in and out, some friends with their baby over
21:29:06evanwassup?
21:29:51dbussinkevan: ah, np, wanted to get your opinion on http://github.com/evanphx/rubinius/issues#issue/197
21:30:03dbussinkbasically there are a bunch of asserts() where stuff is called inside the assert
21:30:24dbussinkso if asserts are disabled, that code isn't executed which can cause problems
21:30:36evanwe need to fix those
21:30:37evanyes.
21:31:31evanat the same time, we should switch them to something that can report better
21:31:33dbussinkevan: any alternative pattern we should use? since there are quite a few cases where we probably do want to check the return value and bail or throw some exception if stuff fails
21:32:13evanwell, i've changed the asserts in the interpreter to raise a Rubinius::InternaError
21:32:40evanbut alot of those are done in a context we shouldn't throw a C++ exception, nor a ruby exception
21:32:51evanwe should probably add rubinius::assert
21:32:58testerjoethat 197 asserts is the same problem in 193, just not such a pretty description..
21:33:03evanas function, that is just passed a boolean
21:33:14evanand calls rubinius::abort() if the boolean is false
21:33:28evanwe loose the ability to show what the code was that asserted
21:33:31evanif we do that though
21:34:15evanlose, rather.
21:36:52dbussinktrue, but it's probably better than now
21:40:04dbussinkevan: and looks i also have some reliable crashes again that i can bug you with next week ;)
21:41:06brixendbussink: :)
21:42:24evandbussink: yay! reliable crashes are good
21:42:29evanmuch much much better than unreliable ones.
21:43:11dbussinkbrixen: do you see any downsides with increasing this constant mentioned in http://github.com/evanphx/rubinius/issues#issue/142 ?
21:43:21dbussinkevan: definitely yeah :)
21:44:14brixendbussink: hm, probably not an issue increasing it
21:44:34brixendbussink: I wonder what value the guy increased it to
21:44:54dbussinkbrixen: i'll try if doubling it allows soap4r to be built
21:45:11brixendbussink: yeah, evan just made that # up, as the comment says :)
21:45:37brixenat least I'm pretty sure he did :)
21:46:12brixenI'm amazed that soap4r has more that 128 vars in the table
21:46:28brixenwait, it's soap4r nvm
21:47:26dbussinkbrixen: it's very good at creating lots of classes with lots of variables
21:47:33brixenI see
21:52:14evanyeah
21:52:15evanmake it huge
21:52:18evanno prob.
21:52:22evanalso, if you want
21:52:24evanfix that assert
21:52:34evanto cause an internal error exception
21:52:39evanof some kind
21:52:45evanso it's not a hard stop
21:54:48dbussinkevan: any example i could look at for how to best throw that exception?
22:02:09evansince thats in a c-api extension
22:02:11evanyou can use rb_raise
22:02:21evanthe asserts within the VM are the tricky ones
22:04:04dbussinkevan: ah, true yeah, that makes it a lot easier
22:04:27evanif you do that though
22:04:32evanyou'll need to do a little auditing
22:04:50evanbecause that C extension allocates memory with malloc() and new
22:04:55evanso you'll need to clean up that memory
22:05:39dbussinkevan: the var table itself you mean?
22:05:52evanwell, it and the thing that created it, etc.
22:11:08dbussinkevan: hmm, i'm looking at some other places where rb_compile_error but that doesn't seem to do any cleanup
22:12:49evanyeah, thats likely an existing problem
22:17:25dbussinkbut i'm going to bed, i'll see what i can fix tomorrow
22:17:27dbussinknite!
22:17:33brixendbussink: nite!
23:15:52rueJust macro around the assert function to preserve the invocation