Index

Show enters and exits. Hide enters and exits.

00:00:07dgtizedoh you updated the .rb code, compiled, then changed the stables, compiled, and then swap the shotgun code?
00:01:00ctennis leaves the room.
00:01:15brixenI changed RET(Qfalse) to RAISE_FROM.., and changed #close to be: io_close; nil
00:01:26brixenspecs pass, so I'm rebuilding so I can build stables
00:01:39brixenthen I'll try changing #close to just io_close
00:01:40agile leaves the room.
00:01:52brixenand change the primitive to RET(Qnil)
00:04:23brixenwhat I'm not clear about is why we need io_close and #close
00:04:32brixen@descriptor is a field, so accessible from C
00:04:39brixenwhy not just IO#close as a primitive
00:05:45dgtizedhmm
00:06:24brixenperhaps I should just try that
00:09:12brixendgtized: what did you determine about why IO is in bootstrap/primitives.rb ?
00:09:41dgtizedI determined that I was supposedly supposed to ask evan
00:09:48brixenheh
00:09:57brixenI think I shall try a little experiment :)
00:10:04brixenevan can worry about C++ for now :P
00:10:26dgtizedI moved them out of bootstrap/primitive and into bootstrap/io and it all passed just fine
00:10:42dgtizedbut I was informed that this was somehow "not what I was supposed to do"
00:10:47brixenyeah, I would expect as much, there are no clear dependencies
00:10:49brixenrationale?
00:11:08dgtizedrationale was that I should ask evan because he might be grouchy about it
00:11:46brixenwell, he gets grouchy when things are broken
00:11:57dgtizedright, and I didn't see why that would break anything
00:12:12dgtizedI don't see any reason why it should matter if io_close gets defined before or after io.rb
00:12:13brixenhistorically, bootstrap was really bootstrap code, then we put all the primitives in it because headius was complaining they make the Ruby libs less usable
00:12:28brixenand we had issues with ordering dependencies
00:12:41dgtizedbrixen: right, I remember that, but when I swapped it over it was just happy
00:12:42brixenbut evan explicitly told me I could use depends on: in bootstrap
00:13:07brixenyeah, primitives.rb is just a crime against sanity
00:13:09dgtizedbut I mean presumably primitive.rb gets loaded last anyway
00:13:29brixennope, it gets loaded wherever it is in load_order.txt
00:13:59brixenwhich looks like 22nd on my system
00:14:33dgtizedwhere is load order again?
00:14:44brixengood lord, there is actually bootstrap/io.rb
00:14:45brixenugh
00:14:57brixendgtized: runtime/bootstrap/.load_order.txt
00:17:18dgtizedit looks like there are a few things that care in bootstrap, but it doesn't look like primitives to me
00:18:27brixendgtized: yeah, le'see if we can make this a bit cleaner
00:18:45brixenfor now, I'm just defining IO#close as Ruby.primitive :io_close_ng
00:18:52brixenwe'll leave the existing primitive
00:19:17dgtizedah, that makes sense
00:20:06dgtizedok, well if you are pushing those changes, let me just revert my IO#close patch from my local tree
00:21:08brixenwell, haven't found out if it works yet, so don't go revertin' stuff! ;)
00:22:49dgtizedwell it still leaves it my local repo history anyway
00:24:40qwert666 leaves the room.
00:25:18rueHuh, this screen sharing thing is pretty good
00:25:20brixenhmm, seems to be working
00:25:31rueExcept the screen is about half the size
00:25:41dgtizedto just point IO#close at the primitive?
00:25:54brixenrue: you know, knowledge is the only thing you can share and still have as much as before
00:26:26rueExcept the evil idea thiefs
00:26:28brixendgtized: yeah, basically
00:28:03dgtizedand that gets around the need to update stables?
00:28:43brixendgtized: well, for a bit. not changing the existing primitive's behavior means the stables don't need to change
00:28:50brixeneventually, we'll build new stables
00:29:27rueOtherwise you need to do it in parts; implement the new ones, roll new stables off those, then take down the old ones
00:29:36brixenwhat's so silly is that every class in bootstrap/primitives.rb already has a file in bootstrap
00:31:46brixendgtized: I can give you the diff and tell you the next 2 steps if you want to commit all this
00:32:00dgtizedsure
00:32:02brixensecretly tries to shift evan's grouchiness to dgtized :D
00:32:21brixenheh, j/k
00:32:45dgtizedwhatever, I think it's just no one else looked at how rediculous bootstrap/primitives.rb was
00:32:49nolan_ enters the room.
00:33:06brixendgtized: one sec, doing a full clean build and I'll have a diff for you
00:33:09dgtizedk
00:33:32jayWHY_ leaves the room.
00:34:14nolanHey, not sure if this is documented anywhere. How do I change the install prefix for rubinius? Tried editing shotgun/config.mk, but rake install still wants to dump stuff in /usr/local.
00:34:45brixennolan_: no one's tried that yet, afaik, but it's been moved to a rakefile
00:35:13brixennolan_: are you using a clone or the daily tarball?
00:35:57nolanClone.
00:36:21brixenk, look in rakelib/configure.rake
00:36:35brixenline 22, did you try changing that?
00:40:00brixendgtized: I wasn't on head, so one more sec while I update
00:40:04dgtizedk
00:40:20dgtizednice, you can add automatic coloring to .git/config
00:40:29dgtizedso that git diff and git status are colored
00:41:16nolanNo, but it looks like it just takes PREFIX from the environment--or, rather, it should. 'rake configure PREFIX=/Users/nolan/Packages/rbx' doesn't appear to fix the issue. Hmmm.
00:42:33brixendgtized: nice, what did you add?
00:43:02brixennolan_: odd, you could file a ticket if you want, and/or send a patch :)
00:43:23wyhaines leaves the room.
00:43:42dgtizedbrixen: http://pastie.org/173792
00:44:41brixensweet thanks
00:44:51brixenare there still 3 errors on head?
00:45:32dgtizedI think so
00:45:50dgtizedbut you remove all 3 if you just tag out the one introduced by that spec
00:46:01dgtizedthe other two fall out of the before/after blocks
00:46:17brixenok
00:46:20brixendgtized: http://pastie.org/173794
00:51:11dgtizedpresumably we should probably update stables once we have that checked in for everyone so that the old io_close is removed
00:51:12brixendgtized: next step, I did a clean build; then rake build:stable so all files are updated
00:51:39brixenyeah, running through those steps locally now so you can commit it all together
00:51:52brixenso, commit that diff
00:52:04brixenrake clean build; rake build:stable; git commit
00:52:05dgtizedlet me add the spec tags to it
00:52:07dgtizedbut yea
00:52:11brixenk
00:53:00dgtizedoh if we update stables twice we should be able to remove that method right?
00:53:31brixenyes
00:54:54nolanAha, figured it out, looks like PREFIX needs to be specified on 'rake install', not 'rake configure'. Thanks for the pointer.
00:55:03brixennolan_: sure
00:56:30brixendgtized: it would take rebuilding stable 3x to rename io_close_ng to io_close, might as well leave it for now
00:56:58brixendgtized: so, after rebuilding stables, you should be able to remove IO#io_close and io_close primitive
00:57:44brixenbbiab..
00:59:15nolanWhat does "Unable to find a bootstrap to load!" mean when "rbx compile" fails?
00:59:24nolanThis is during rake install.
00:59:33crossblaim leaves the room.
01:01:24drbrainnolan_: something is very wrong
01:01:37drbraindoes plain 'rake' work?
01:02:50nolanSeems to be rebuilding.
01:03:21d2dchat_ enters the room.
01:04:42loincloth leaves the room.
01:05:27drbrainok, then after that does install work?
01:08:41nolanNo. I'll try cleaning and rebuilding everything again.
01:10:30d2dchat_ leaves the room.
01:10:36drbrainhave you installed rubinius before?
01:12:48d2dchat leaves the room.
01:17:13maxpenguin enters the room.
01:18:31rueMm, that could be issue; make sure you can first build normally from within the source tree
01:19:05binary42 enters the room.
01:19:11justinweiss leaves the room.
01:19:40crayz__ leaves the room.
01:19:57nolanOK, cleaning/rebuilding seems to have done the trick, thought I'd already done that but...*shrug*
01:20:06crayz__ enters the room.
01:23:56rueYou know what the world really needs?
01:23:56rueA third OSS UNIX-like family
01:24:28tarcieriOpenSolaris?
01:24:31tarcieriheh
01:24:32cored enters the room.
01:24:46brixenrue: what the world needs is to utterly and completely remove every trace of Windows from the universe
01:24:52tarcieriindeed
01:25:55DefilerWhat we need is a cleansing fire that will sweep the galaxy
01:26:01DefilerA holy crusade against the machines
01:26:47djwhitta butlerian jihad if you will...
01:27:59agile enters the room.
01:28:04tarcieriat least MS shot themselves in the foot with Vista
01:28:08obvio enters the room.
01:29:54brixenand yet the suffering of the masses continues
01:30:01tarcieriheh
01:30:14brixenI wish they had better aim, perhaps pointing that thing at the head :)
01:30:32jayWHY enters the room.
01:30:43jayWHY leaves the room.
01:31:22dgtizedugh
01:31:24brixendgtized: how's it going
01:31:31dgtizedstill having trouble with bootstrap updates
01:31:36dgtizedsorry stable updates
01:31:49dgtizedI have it working as is
01:31:58dgtizedbut as soon as I try messing with build:stable everything breaks
01:32:09brixenhmm, worked here
01:32:13brixentake me through your steps
01:33:15dgtizedjust a sec, I have a vague idea that maybe my git tree isn't exactly the way I thought it was
01:33:47brixenk
01:34:11brixenyou should be able to 1. apply patch, 2. build stables, 3. remove IO#io_close and io_close primitive
01:34:16brixenI'd leave it at that for now
01:35:06nolanOK, here's another, when I run 'rbx gem', I get 'cannot find file to load: rbconfig/datadir'. Any idea what's up with that? I don't see a rbconfig/datadir in the repository.
01:35:20dgtizedbrixen: that's the order I am trying, but a rebuild on the stables keeps breaking things
01:35:47brixendgtized: after 1. do you rake clean build; rake build:stable ?
01:36:14dgtizedbrixen: right, but then if I do rake clean build again bin/mspec is broken
01:36:27brixenhmm I'll try
01:36:38nolanI get the same with rbx rar, only it's bytecode/compiler that isn't found.
01:36:57rueWhat about shotgun/rubinius gem ?
01:37:40nolanSame.
01:38:04nolanAnd "find . -name 'bytecode/compiler'" from the root of my clone returns nothing.
01:40:18thewoolleyman leaves the room.
01:40:46rueThat is compiler 1 stuff
01:41:15dgtizedbrixen: yea, so if I have a stable setup, but as soon as I do a build:stable and then rebuild everything breaks -- I presume I need to do a build:stable / rebuild just to check to see if the new stables are happy for everyone else
01:41:17ruelib/compiler/bytecode.rb exists but if you see it the other way around, you have an installed version somewhere
01:41:39brixendgtized: trying to reproduce now
01:43:53dgtizedin a minute I will just push what I have thus far, since that runs, it doesn't require stable updates, and it does have the update, it's just messy in between
01:46:45brixendgtized: ok
01:46:59brixendgtized: I've reproduced it here, but have to leave for ruby group in a few
01:47:05brixenI'll work on it after you push
01:47:52dgtizedI think I figured it out actually, but I haven't got that far
01:48:04dgtizedat teh bottom of core/io.rb is private :io_close
01:48:12dgtizedwhich gets compiled at a different phase
01:48:28brixenhmm, yeah, that could be a problem :)
01:49:44lopex leaves the room.
01:51:40dgtizedalright let's see if that fixes it
01:52:18dgtizednope
01:53:05dgtizedwell maybe I updated the stables too early
01:57:22boyscout4 commits by Charles Comstock
01:57:23boyscout * removed io_close from core/io.rb; b46817f
01:57:24boyscout * IO#reopen should return self; 9ee5251
01:57:25boyscout * switched bootstrap IO#close to use io_close_ng and merged bootstrap/primitives.rb ...; a13983a
01:57:26boyscout * added primitive io_close_ng and tagged IO#close spec failures; f148128
01:57:44dgtizedeh someone else give a shot at updating stables from there
02:06:23justinweiss enters the room.
02:06:25rubuildius_amd64Charles Comstock: b46817fa2; 1845 files, 6268 examples, 22361 expectations, 0 failures, 0 errors; http://rafb.net/p/sCrsqB49.html
02:11:17rubuildius_ppcCharles Comstock: b46817fa2; 1845 files, 6271 examples, 22390 expectations, 0 failures, 0 errors; http://pastie.caboo.se/paste/173844
02:24:14VVSiz_ enters the room.
02:27:05roo enters the room.
02:31:37gdagley enters the room.
02:32:01gdagley leaves the room.
02:32:44ezmobius leaves the room.
02:35:51binary42 leaves the room.
02:41:05rue leaves the room.
02:42:24VVSiz leaves the room.
02:43:36bitbang leaves the room.
02:45:46macournoyer enters the room.
02:49:24agile leaves the room.
02:50:47KirinDav leaves the room.
03:02:21fbuilesv enters the room.
03:04:00RyanTM leaves the room.
03:07:32RyanTM enters the room.
03:09:16kofno enters the room.
03:13:48mkescher_ enters the room.
03:15:31mkescher_ leaves the room.
03:18:24mkescher enters the room.
03:19:11d2dchat enters the room.
03:20:22rueArglebargle
03:22:22cored leaves the room.
03:27:00fbuilesvEveryone talks so much about the blue Smalltalk book and I could only find the "purple" Smalltalk price :P
03:27:21crafterm enters the room.
03:27:35djwhitthttp://users.ipa.net/~dwighth/smalltalk/bluebook/bluebook_imp_toc.html
03:27:38djwhittthere you go
03:27:46djwhittthat's the most important part for Rubinius stuff
03:27:48fbuilesvdjwhitt: was a joke, I got an older edition that's actually purple :)
03:28:01djwhittah, heh
03:28:12fbuilesvlooking for some book on my college library I found it looking straight at me :O
03:28:12djwhittscarasm filter must be overloaded
03:28:17djwhittApril 1st and all
03:28:43fbuilesvI'm not reading blogs today, I'm still thinking that the Amazon interface for ActiveResource and SimpleDB is a joke :p
03:40:42wycatsis there a program that'll show me what shlibs are installed and what their names are?
03:42:15womblewycats: There's always /etc/ld.so.cache
03:42:17wycatsheh
03:42:30wycatsI'm on OSX :P
03:42:47wycatsI just need to figure out what the js shlib is actually called
03:51:27ruefind
03:53:06rueVMWare performs surprisingly well
03:53:40ruewycats: I do not think darwin comes with ldd
04:02:44GMFlash leaves the room.
04:02:50GMFlash enters the room.
04:05:30macournoyer leaves the room.
04:05:31antaresfbuilesv: there are 4 chapters from blue book online (absolutely legal btw)
04:06:19antaresfbuilesv: but blue book seem to be more confusing when you come to look at Rubinius code, that's what I found
04:06:54fbuilesvantares: check this out
04:06:56fbuilesvantares: http://data.tumblr.com/PDVq61dc57au5o9nCkjLE5nA_400.jpg
04:07:09fbuilesvantares: that's why I said that it was purple, not "the blue" book
04:07:34fbuilesvantares: I'm reading it from the beginning and I'm seeing stuff that I thought was new in Ruby...almost 30 years late :)
04:07:49antaresfbuilesv: http://stephane.ducasse.free.fr/FreeBooks/BlueBook/blueBook.jpg
04:08:15antaresfbuilesv: read a lisp book and you'll know where symbols and ?C chars come from :)
04:08:38fbuilesvantares: damn, and I thought symbols did come from SM, time to trace back a bit more :S
04:08:43antaresand open? / close! method names
04:09:36fbuilesvdamn, it's a different book, only covers up to chapter 27 of the blue one
04:09:39antaresfbuilesv: then read a python book and perl book and CLU paper... you'll find out about lambdas, <<HEREDOCS and blocks
04:10:09fbuilesvantares: SM also has blocks and anon. functions were in Lisp too, weren't they?
04:10:12antaresRuby basically invented nothing new but a great clean syntax for old ideas
04:10:32antaresfbuilesv: Lisp is older than my father
04:10:55antaresfbuilesv: John McCarthy started to work on it in 1958 I believe
04:11:23antaresfbuilesv: in Smlltalk blocks are core of control flow
04:11:35fbuilesvantares: yes, around there. I started trying to learn Lisp with the little schemer but decidd to go Haskell :)
04:12:20antaresfbuilesv: Haskell is the only relatively popular language I cannot read at all :) I even had Prolog in the university...
04:12:28jtoy enters the room.
04:13:01antaresfbuilesv: there are chapters 26 to 30 online and a pdf of the whole blue book. Need those links?
04:13:07fbuilesvantares: I had a declarative course with Prolog too, that was awful
04:13:42fbuilesvantares: I'd appreciate that if the channel doesn't mind supporint piracy like that :S
04:14:40antaresfbuilesv: these 5 chapters put online with permission from Adele Goldberg (http://users.ipa.net/~dwighth/smalltalk/bluebook/bluebook_imp_toc.html)
04:14:53fbuilesvantares: yes, I got that link already, I m eant the PDF
04:15:32obvio leaves the room.
04:15:49antaresfbuilesv: I do not know about PDF. Smalltalk is an old horse. Here's the PDF: http://tinyurl.com/2gb57m
04:15:54rueantares, fbuilesv: The Blue Book is the foundation of Rubinius in the same way Picasso's models were to him
04:15:56aotearoa enters the room.
04:16:17fbuilesvantares: tyvm
04:16:34fbuilesvrue: what about making a music analogy? Guernica is as far as my picasso knowledge goes :P
04:16:42antaresrue: blue book explains things like method context or block context or compiled method pretty well
04:16:50antaresI am even more ignorant in arts
04:22:10antaresfbuilesv: by the way, once you got familiar with smalltalk, ObjectiveC is absolutely trivial to learn
04:22:50fbuilesvantares: I thought about that earlier, the ObjC syntax actually seemed to make sense for a few minutes
04:23:01rueI wish evan had gone with ObjC :)
04:23:46antaresrue: I second that. I do now know what it means for windows support though
04:25:21fbuilesvrue: I heard there's some C++ in there, do you mean it by that or just by the core C code?
04:25:33rueHopefully its deathblow
04:26:29antaresrue: well it seems that gcc provides support for objc on windows
04:26:42antaresrue: we can even experiment with it :)
04:27:33fbuilesvI just found out today that there's competition: http://brobinius.org
04:31:01rueHaha
04:31:27Fullmoon leaves the room.
04:31:47Rich_Morin_ enters the room.
04:34:12Rich_MorinAs I understand it, the ability to modify (eg, extend) the interpreter is one of the selling points of Rubinius. Is there a recommended way to modify the behavior of the parser (eg, from within a piece of code that's being parsed? :)
04:35:08mkescher leaves the room.
04:35:29rueRight now, no--we are stuck with a modified grammar.y for a little while still
04:36:09rueYou can hook into the compiler as soon as the sexp is built, though. The ->AST and then ->bytecode is in Ruby
04:36:47rueI actually just abused the parse tree to enable conditional compilation
04:37:00Rich_Morinrue: Erm, are you the same "rue" I was chatting with a bit ago on ruby-lang?
04:37:37rue"Chatting" may be a strong term for my typical #ruby-lang-drive-bys
04:38:00rueBut yeah :)
04:40:10drbraindick
04:40:28antareshaha I found a "week in ruby" post from march 31st
04:41:18antaresI posted "week in rubinius" on 28th :)
04:42:53hassox leaves the room.
04:43:48Rich_MorinOK, here's the kind of thing I'd like to be able to do (eventually is fine :-); maybe we can discuss possible syntax... I'd like to be able to extend the interpreter to (say) record all of the tokens that could be either local variables or method names. How should I go about redefining the code that parses method definitions?
04:44:44antaresRich_Morin_: you can operate on compiled methods for that in Ruby
04:44:49binary42 enters the room.
04:45:17MenTaLguY enters the room.
04:45:45Rich_Morinantares: cool - can you give me a specific pointer?
04:45:45rue:vcall node is for lvar/method
04:45:57agardinerRich_Morin_: antares is right - all of that is obtainable right now from a CompiledMethod, using #local_names and the literals tuple for SendSites
04:46:11antaresRich_Morin_: I recently documented stuff in kernel/core/compiled_method.rb, you may find it useful
04:46:43agardineryou can also use the debugger to view this... you might find the source useful
04:46:52justinweiss leaves the room.
04:47:04antaresRich_Morin_: what is the end goal for you, btw?
04:47:26Rich_Morinantares: Can you give me a URL; Google is failing me,...
04:47:43antaresRich_Morin_: it is in the source code of Rubinius
04:47:50Rich_Morinah
04:48:06rueWell, gitweb too.
04:48:37antaresRich_Morin_: http://tinyurl.com/2t4vja
04:48:52Rich_MorinHas Rubinius switched to git?
04:49:09agardiner6 months ago
04:49:12antaresRich_Morin_: a long time ago
04:49:19agardinerbefore it became de rigeur
04:49:40Rich_MorinWell a few days ago I was looking at a Rubinius web page that only talked about SVN, IIRC.
04:49:46agardinerrubinius made it popular! :0-D
04:50:09antaresRich_Morin_: website is rarely updated
04:50:44Rich_MorinWe use git at my company (Reactrix), both for our Rails development and as a way to distribute content and collect logs.
04:51:27Rich_MorinGiven that I might want to do really odd things with Rubinius, git could allow me to interact much more sanely...
04:51:36antaresRich_Morin_: cool, distributed VCSs are indeed very powerful
04:52:25antaresRich_Morin_: don't forget to come by this channel and tell us how it is going :)
04:52:28Rich_MorinI work with Nick Hengeveld and Scott Schacon, both of whom have contributed to git...
04:52:33Rich_MorinSorry, Chacon
04:53:17rueGit is quite nice. We do not use it to its fullest potential here, actually, but there has not been a need to
04:54:23Rich_MorinI think it will be a Long Time before git is used to its fullest potential - it's a rather large framework.
04:54:55antaresRich_Morin_: there are backup systems and projects like gittorent already
04:55:16Rich_MorinBTW, Scott has been working on a Ruby API for git, which might be handy for you.
04:55:41antaresRich_Morin_: I saw such project at github: Ruby wrappers for libgit
04:56:00Rich_Morinantares: At a recent TWiki gathering, I wasn;t the only person bugging Peter Thoeny to switch from RCS to git.
04:56:13Rich_Morinmight well be his
04:56:16ruemfp wrote gibak or whatever it is called
04:56:23antaresand I have crazy ideas about using git for distribution system on my current project
04:56:51antaresRCS? gosh
04:57:00antaresI started from CVS...
04:57:31wombleRCS is old sk00l
04:57:41antaresrue: yes, Mauricio's project is called gibak (but didn't he used darcs for it ? ;))
04:58:44Rich_MorinWe have a couple of hundred "interactive advertising devices" out in the field. We need to feed content and new software to them, get log files (etc). Aside from reliability, git is quite efficient at transferring content that contains repeats of stuff that has already been sent.
04:58:58Rich_MorinNo, SCCS is old school.
04:59:48Rich_MorinBut TWiki has been around for a decade or so, so it's not surprising that it's based on oldish tech.
05:00:01Fullmoon enters the room.
05:05:30nicksieger leaves the room.
05:06:37Rich_Morinantares: Looks like CompiledMethod is a Rubinius thing only, given that MRI doesn't have byte codes...
05:09:15obiejuan enters the room.
05:09:21drbrainI just wrote a wiki using RCS
05:09:43drbrainhttp://blog.segment7.net/articles/2008/02/14/an-rdoc-wiki
05:10:38antaresRich_Morin_: yes, MRI does not have it. JRuby does. You asked about Rubinius from what I understood :)
05:10:40lstollrcshub.com, anyous?
05:10:47lstollanyone even
05:11:15womblelstoll: And sccshub.com
05:11:20drbrainlstoll: NFS over internet?
05:11:21antareslast I heard github team is going back to SVN ;)
05:11:31Rich_Morinantares: yes, but it's always nice to know which tools are available where...
05:12:14antarescvshub.com looks good
05:12:34wmoxam leaves the room.
05:12:48lstolldrbrain: works for me.
05:13:47Rich_Morinantares: The base TWiki code has been has been refactored down to 17 KLOC. It may have a few features that rdoc_wiki omits. Still, cute hack!
05:14:53antaresRich_Morin_: what was original number?
05:15:15Rich_Morindunno, but Peter could tell you.
05:16:09Rich_MorinMy understanding is that this happened in the last few years, largely as a way to trim some plugins out of the core.
05:16:30Rich_MorinAkin to the Perl4 -> Per5 changes.
05:17:37obiejuan leaves the room.
05:18:14antaresRich_Morin_: do they now have twiki-core and twiki-more?
05:18:23Rich_MorinGetting git onto this machine now (so port install git-core). Works well, but may take a while...
05:19:29antaresdmg installer of git recently has been slimmed to 4 mb (from 50)
05:19:31nicksieger enters the room.
05:20:09Rich_MorinI haven't heard them use those names. Basically, there's a core distro and a zillion plugins. We use quite a few here, as my spouse is a TWiki Champion.
05:20:45Rich_Morinantares: I'll let port cook for a while, since it's started.
05:21:03antaresRich_Morin_: alright
05:21:32maxpenguin leaves the room.
05:23:05Rich_MorinInteresting: It's grabbing all sorts of stuff - diffutile, curl, gsed, openssh, python24, ...
05:23:42Fullmoon leaves the room.
05:24:37rueModularity
05:26:01Rich_MorinI sometimes think I should simply subscribe to continuous updates of the full sets of CPAN, gem, port, etc. After all, disk is free...
05:29:49fbuilesvRich_Morin_: You obviously don't use a 1st gen Macbook as your main machine :-)
05:30:38Rich_MorinNo, I use a PM G5 (2@2.3 GHz).
05:33:25fbuilesvRich_Morin_: I was talking about the HD :P
05:35:09Rich_MorinWell, the reason I bought a PM was so that I could add large, economical drives, etc. So, not totally unrelated,
05:38:33fbuilesv:-)
05:39:12Rich_MorinWell, port failed me. I guess I 'll go look at the DMG, after all :-/
05:40:45srbaker leaves the room.
05:40:46rueYep, the Dungeon Master's Guide has invaluable advice
05:41:03ruehad a skipped game this weekend meh
05:41:03Rich_Morinantares: Do you have a link for the git DMG?
05:43:31antaresRich_Morin_: http://metastatic.org/text/Concern/2008/03/08/git-package-1543-for-os-x/
05:43:44antaresRich_Morin_: I do not know whether it is that slimmed version or not
05:44:14Rich_MorinIt says it's a universal one.
05:44:40Rich_Morinso it's at least 2x a PPC one
05:45:09antaresRich_Morin_: I heard of that new package at #git
05:47:38srbaker enters the room.
05:47:59Rich_MorinDMGs almost always work. Then again, I've generally had good luck with port.
05:50:30Rich_Morinrdm@cerberus [~...Ruby/HAX] 34: which git
05:51:11Rich_Morinsez /usr/local/bin/git - most encouraging
05:56:54tlockney leaves the room.
05:58:07headius enters the room.
05:58:50kofno leaves the room.
06:00:27MenTaLguY leaves the room.
06:01:21agile enters the room.
06:04:45agardiner leaves the room.
06:04:51Rich_Morinantares: In answer to you question of a while back, I have two (related) ways I'd like to use Rubinius. One, which I've been discussing here, is to use it to assist in adding optional goo to Ruby for bullet-proofing production code. This might include things such as assertions, interfaces, prototypes, types, etc. Dunno. Right now, I'm mostly exploring the limits of my ignorance and seeing what I need to read up on.
06:06:24Rich_Morinantares: My other Ruby project, Arti, is an automated documentation tool for Rails. If I can use Rubinius to collect data on Ruby code (including rhtml, rake, etc), I won't have to parse it myself...
06:07:24be9 enters the room.
06:07:24antaresRich_Morin_: what data you want collect?
06:07:43Rich_MorinIs there a roadmap of things that are in the works, planned, etc?
06:09:30Rich_MorinWell, for example, it would be really useful to be able to find out inter-method calling relationships. If you've ever looked at Doxygen, you'll have an idea of how this might look.
06:10:04Rich_MorinSo, I 'd like to be able to know that foo.rhtml calls the wombat() method
06:11:04Rich_MorinNow, because of all the dynamic razmatazz, I realize that I won't be able to do everything automagically, but I'm quite willing to accept that and supplement it by user-entered facts, rules, etc.
06:14:16Rich_MorinIf I think I might be wanting to add documentation to the rubinius tree, should I ask for commit rights or is there a Better Way?
06:14:38djwhittRich_Morin_: submit a patch
06:14:43Rich_Morinworks
06:14:51djwhittRich_Morin_: if the patch gets accepted you get commit rights
06:14:57Rich_Morinah
06:15:11djwhittpatches usually go here: http://rubinius.lighthouseapp.com/projects/5089-rubinius/overview
06:15:15ezmobius enters the room.
06:15:24RyanTM leaves the room.
06:16:47dbussinkRich_Morin_: http://rubinius.lighthouseapp.com/projects/5089/howto-write-a-ticket
06:17:00dbussinkRich_Morin_: there is a lot more documentation there on various things
06:17:30Rich_Morintnx
06:19:13Rich_MorinBTW, this page might be of interest - http://cfcl.com/twiki/bin/view/Projects/Spect/Ruby_Errors
06:26:07Rich_MorinI see that you're using spec - are folks pretty happy with it?
06:28:26rueWe use our own spec library
06:30:57Rich_MorinLooks like the usage is about the same, tho. I ask because we're contemplating diving into RSpec at work...
06:31:52dbussinkwe've switched from test::unit to rspec, we like it a lot better
06:32:40Rich_MorinDid you go back and recode your unit tests?
06:33:01dbussinksort of, we did it during a refactor
06:33:23dbussinkso in the end we basically looked at the unit test to see whether we missed anything from there when writing the specs
06:33:30dbussinkand then threw away the unit tests
06:33:48headiusgood morning
06:34:00dbussinkmorning
06:34:04rueHola
06:34:10dbussinkheadius: also an early bird today?
06:34:55headiusI'm on EU continental time, +1
06:34:57Rich_MorinA Google Maps display of IRC users might be fun...
06:35:00headiusmini-lag
06:35:28dbussinka lot of it people consider 7:30 early ;)
06:35:39headiusdo you guys know if the minimal yaml specs are the only ones you're using for yaml testing?
06:36:55dbussinkwe know yaml needs a lot more specs
06:38:22headiusyou guys should just port our tests so we can toss them
06:38:49Rich_MorinIt looks like there used to be a file named ROADMAP, but I don't see it now. Help?
06:38:51brixenheadius: you should make a ticket for that
06:38:52headiusjruby's set of yaml tests is probably the most complete...includes MRI's test_yaml and a few others
06:39:12brixenheadius: people keep asking, this way we can point them to the ticket and someone will do it
06:39:38rueSweet, a working Haiku image
06:40:04brixenrue: in vmware?
06:40:50brixenrue: is that the 3rd oss os you were pining for?
06:43:21brixendgtized: you around?
06:44:32lstoll leaves the room.
06:49:33ruebrixen: Eh, it will do
06:49:44rueI could not get plan9 to run so it has to stay on its own
06:49:51brixengreat, looks like our ability to build usable stables may have been broken for quite some time
06:50:09brixenrue: I'll have to try it in parallels
06:50:39brixendgtized: no wonder you had trouble building stables, it's broken since before your commits
06:51:50Rich_MorinI don't see any tests in the Rakefile - am I missing something?
06:52:08brixenwhat tests do you put in a Rakefile?
06:53:01srbaker_ enters the room.
06:53:01Rich_MorinWell, SOME build packages (eg, Perl) have all sorts of tests that they run on the binary, to ensure that it's working on the target platform.
06:53:30srbaker leaves the room.
06:53:34brixenhttp://rubinius.lighthouseapp.com/projects/5089/specs-overview
06:53:54brixenafter you build, you could: rake spec
06:53:59brixenor bin/mspec ci
06:55:19lstoll enters the room.
06:56:17brixenhmm, where is agardiner
06:59:22Rich_MorinMy build of Rubinius broke on PPC Tiger (http://rafb.net/p/AkIMI580.html) - anyone feeling helpful?
07:00:26rueAh, that one
07:00:27Rich_MorinFWIW - MACOSX_DEPLOYMENT_TARGET: Undefined variable
07:04:21rueLooks like it is from libltdl or a system header; the rest are 10.4 or 10.5
07:04:41binary42 leaves the room.
07:07:38srbaker_ leaves the room.
07:08:00rueYou should be able to bypass it by giving the env explicitly
07:09:34aotearoa leaves the room.
07:09:35Rich_Morinsetenv MACOSX_DEPLOYMENT_TARGET 10.4 ?
07:11:04Rich_Morinseems happier
07:14:37rueI hear an offer of free webdesign talent
07:15:07antaresrue: did you hear it too?
07:18:21thewoolleyman enters the room.
07:19:08brixensuccess, I have found a commit hash from which it is possible to build stables
07:22:15ruebrixen: How far back?
07:22:16brixenrue: did you know, strongtalk has been ported to linux
07:22:30brixenif only I wasn't chasing this, I'd build it right now
07:22:37rueThought it was Wine only
07:22:45brixenrue: a working hash is c1211a1
07:22:59brixenI'm between that and a2fa01
07:23:21brixenrue: http://code.google.com/p/strongtalk/wiki/Building
07:24:06DomainSquatter enters the room.
07:24:19rueU dun care about the building part so much :)
07:24:22brixengo figure, discontent with one little 'nil' at the end of a method has cost me hours of work
07:24:29brixenrue: heh, indeed
07:24:36brixenI want to play :)
07:27:14dgtizedbrixen: so someone else broke the stables so they couldn't be rebuilt?
07:27:21brixendgtized: indeed
07:27:29brixenway way wayyyy back :)
07:27:32dgtizedI was wondering about that
07:27:42dgtizedmaybe we should rebuild stables every week or so just in case
07:28:10brixenrebuildius ftw :)
07:28:26brixenrebuildius works, rubuildius checks
07:30:28dgtizedrebuildius?
07:31:29brixena specialized bot to rebuild stables :)
07:31:45dgtizedis there a way to generate a primitive test suit automatically for each primitive id in a given stable build?
07:32:12dgtizedbasically that's the only time it has to change right?
07:32:23dgtizedis when we mess with the numbering in the primitives?
07:32:54brixenany change to a primitive that affects arity or return
07:33:07brixenyou can add primitives, but not subtract them
07:33:18dgtizedand primitive order right?
07:33:21brixenand multiplication is not commutative
07:33:29brixener, wrong subject :P
07:33:41brixenprimitive order doesn't matter
07:33:46dgtizedhow far back is it broken anyway?
07:33:49dgtizedat least thus far?
07:34:03brixendc95ff1c worked
07:34:04dgtizedI'm trying to remember when I implemented defprim
07:35:06DomainSquatter leaves the room.
07:35:13brixenI'm between that hash and 6beb50b
07:35:19DomainSquatter enters the room.
07:35:51brixenhmm, yeah, the defprim change is smack in the middle
07:35:55brixenI'll try it next
07:36:03dgtizedI got rid of primitive_names.rb with defprim about 6 commits after the last one you mentioned
07:36:12dgtizedand I definitely didn't update the stables
07:36:13dgtizedhowever
07:36:21dgtizedthe numbering should have been identical
07:36:46brixenI'm trying dd4304f14 now
07:38:10dgtizedk
07:40:07antares leaves the room.
07:40:25dgtizedthough wilson checked in two changes to eval just before that so that also has potential
07:40:50brixendd4304 is broken
07:40:55brixentrying one before
07:41:21rueI think we should just blame Defiler, he does not get enough blame for stuff
07:41:39brixenagreed
07:41:44rueHe thinks his not making silly mistakes insulates him from critique.. ;)
07:41:55brixenalthough, it unfortunately does not illuminate the path to fixing this
07:42:06rueDid you find the right one?
07:42:24brixenwell, defprim commit is definitely broken, trying one before that
07:42:27dgtizedit might be my change that removed primitive_names, but brixen is checking in between
07:44:44brixenrue: I'm pulling down this gcc-linux branch of strongtalk on my gutsy image
07:45:01rueI can browse it just fine on Google's dollar :)
07:45:25brixenheh
07:45:57rueI am installing sira10s and Haiku, should be some free memory when you pin it down
07:46:01brixendgtized: I think you are vindicated :)
07:46:08lstoll leaves the room.
07:46:16rueI think I will invest in another GiB on both of these machines
07:46:33dgtizedoh it's before?
07:48:16brixentrying 218cc7fbd
07:48:30brixen2ddabc was broken
07:49:55dgtizedman this colored git diff is awesome
07:50:23brixendgtized: oh yeah! thanks for that
07:50:26brixenit's very cool
07:51:23dgtizedok, yea it's unlikely that 2ddabc was the one that actually broke it as that one didn't change the actual primitives output
07:51:35dgtizedso I'm guessing it's one of the two on eval
07:51:48brixenyeah, likely
07:52:41dgtizedso if we determine which one broke it, how exactly do we forward port the stables from there?
07:53:36d2dchat leaves the room.
07:53:44rueStep back, what was the problem right now?
07:54:26dgtizedI made changes that are about to require a change to stables, that's the current HEAD, it's doesn't actually require a change yet, but in order to cleanup after the changes to primitives it will
07:54:26brixenrake clean build; rake build:stable; rake clean:rbc; rake; bin/mspec ci => boom
07:54:56dgtizedas result we determined that we haven't been able to update stables since march 10th ish
07:55:36VVSizmorning, folks! :)
07:55:44brixen218cc7fb builds
07:55:47brixenVVSiz: morning!
07:56:07brixenrue: would appear that Defiler will be to blame :P
07:59:13ezmobius leaves the room.
08:02:47brixenfor me: 746d89d6 => broken; 218cc7fb => works
08:02:56brixenif anyone wants to independently verify
08:03:41wycats leaves the room.
08:07:56brixenthis makes sense, since push_self_or_class sends kind_of? and that's what cpu_locate_method was choking on
08:08:06cypher23 enters the room.
08:08:09dgtizedI'm going to have to go to bed soon
08:08:11dgtizedbut
08:09:04dgtizedwait, a compiler change that just introduces a bunch of failure tags?
08:09:19brixenmore than that
08:09:38mediogre enters the room.
08:10:09tlockney enters the room.
08:12:30imajes enters the room.
08:12:34brixenI think it may be as simple as Object#kind_of? not being defined yet
08:13:26qwert666 enters the room.
08:13:45dgtizedso if we change the load order on HEAD it might fix it?
08:14:06mediogre leaves the room.
08:14:34rueOomg stupid sira10s
08:15:31rueMorning, VVSiz
08:15:46mediogre enters the room.
08:15:47thehcdreamer enters the room.
08:16:00brixendgtized: there's a kind_of instruction, probably want to use that instead
08:16:27VVSizrue: morning to you too. I've been asleep for 8 hours, and nothing has changed here since than! :)
08:16:45dgtizedbrixen: ah, that makes sense, anyway -- I need to go to bed, I'll see if I can't assist tommorow
08:16:46brixenVVSiz: I am pained!
08:16:56brixenVVSiz: I've spent hours on this damned bug
08:17:02VVSizheheheheheh
08:17:11brixendgtized: sounds good, bedtime for me too
08:18:07brixenVVSiz: the knowledge of this bug overfloweth the channel :)
08:18:38VVSizheh, I need to check the logs then. sounds like fun! :)
08:20:09hassox enters the room.
08:21:08wycats enters the room.
08:22:30brixenVVSiz: I might be exaggerating a bit. there's lots of comments about git hashes though :)
08:22:59VVSiz:)
08:23:36benburkert leaves the room.
08:24:02VVSizI kinda like the way Mercurial deals with revision hashes, it prepends an incrementing number to them, so: 1:23423423423, 2:34234242, etc. At least, there is some ordering :)
08:24:54brixenhow does that work in a distributed fashion?
08:28:13VVSizbrixen: well, it probably doesn't work in distributed fashion, but in local context it's kinda handy
08:28:41crafterm leaves the room.
08:29:26VVSizWhat fricking genius in Microsoft has put into context menu for the exetrnal hard drive, into same section:
08:29:40VVSiz"Safely Remove" and "Format", just side by side :)
08:31:02crossblaim enters the room.
08:31:12hassox_ enters the room.
08:34:21VVSiz:)
08:36:15lstoll enters the room.
08:38:42hassox leaves the room.
08:39:58ruebrixen: Reproduction?
08:40:09rueOr, *to reproduce, rather?
08:41:22rueVVSiz: Well, you could always /imagine/ that 230a329 comes after 198fac323
08:41:56VVSizyeah!
08:45:29be9git is a distributed VCS and git users need to have distributed imagination. 230a329 comes after 198fac323, no problem
08:50:40radarek enters the room.
09:00:15octopod enters the room.
09:01:41mutle enters the room.
09:07:02imajes leaves the room.
09:07:31Arjen_ enters the room.
09:11:40TheVoice leaves the room.
09:28:22rueSo wait, what was the problem?
09:28:31rueI think I just built stables clean
09:28:31thewoolleyman leaves the room.
09:30:10brixenI doubt that
09:30:12brixen:)
09:30:20brixensince I have not pushed the fix yet
09:31:05brixenif you apply this, it will work: http://pastie.org/173994
09:32:54rue'S chugging along nicely here
09:33:14brixenwhat is, compile or mspec?
09:33:26rueI figured I would fix it, I thought you both turned in. Only problem was that I did not know what the problem was
09:33:38rueSpecs are about 3/4 done
09:33:39brixenwhat is your fix?
09:33:52brixenmine are 90% done :)
09:33:59rueNothing so far as I know unless you count my magical presence
09:34:58brixen'twill be magical indeed
09:35:10brixenI've built it 20 times today with broken stables
09:35:54brixenfinal test now
09:42:08boyscout4 commits by Brian Ford
09:42:09boyscout * Remove obsolete io_close primitive.; 0238804
09:42:10boyscout * New stables that do not use IO#io_close primitive.; 0ccd704
09:42:11boyscout * Remove IO#io_close from bootstrap.; 3715d87
09:42:12boyscout * Use kind_of instruction since #kind_of? is not available at all times.; 42f0b52
09:48:49rueSo what was the problem symptom?
09:49:20rueI just rebuilt stables _with_ rebuilt stables and CI went through just fine
09:49:48brixenhttp://pastie.org/174001
09:50:40rueNope, nothing like that.
09:50:48brixengit reset --hard 746d89d6d; rake clean build; rake build:stable; rake clean:rbc; rake; bin/mspec ci
09:50:49rubuildius_amd64Brian Ford: 023880481; 1845 files, 6268 examples, 22361 expectations, 0 failures, 0 errors; http://rafb.net/p/pGG5kj46.html
09:51:00brixenrue: run that command and show me the output
09:58:17BlackEdder enters the room.
09:58:24brixensame result on ey slice
09:58:32rubuildius_ppcBrian Ford: 023880481; 1845 files, 6271 examples, 22390 expectations, 0 failures, 0 errors; http://pastie.caboo.se/paste/174004
09:58:59rueb46817 was OK, think that is earlier from today
10:05:35imajes enters the room.
10:07:01brixenrue: you must have a magical machine indeed: http://pastie.org/174005
10:10:16radarek leaves the room.
10:10:43radarek enters the room.
10:11:48rueOoh, nice.. AROS is coming along! Apparently now you can *choose* which sectors it installs itself
10:13:39radarek leaves the room.
10:14:29imajes leaves the room.
10:15:41imajes enters the room.
10:19:05VVSizheadius: WHOA!!!! I tried the test on JDK 5 and JDK 1.4 with very weird results.
10:20:01VVSizboth of them were running MUCH, MUCH faster with value 2, with times like 600. JDK 6 on the other hand reaches times up to 2000
10:20:30VVSizduh, wrong channel :)
10:20:53VVSiznothing to see here, move along... :)
10:21:20rueWell now, two thousand times anything is usually exciting
10:22:29VVSizheheh, headius found a weird test case where JDK 6 runs much slower on multi-core CPUs than expected.
10:24:26chris2 enters the room.
10:42:34scooprhm, shotgun doesn't compile on arm currently :/
10:45:56sholden enters the room.
10:48:35scooprfun stuff too
10:48:43scoopr../external_libs/libltdl/.libs/libltdl.a(ltdl.o): In function `sys_dl_open':
10:48:44scooprltdl.c:(.text+0x87c): warning: Using 'dlopen' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
10:48:53scooprsubtend/nmc.c:335: warning: warning: makecontext is not implemented and will always fail
10:49:07scooprand then bunch of undefined references to pthread funcs
10:49:30rudebwoy leaves the room.
10:49:42rudebwoy enters the room.
10:59:53JimMc leaves the room.
11:16:28imajes leaves the room.
11:18:33Skip enters the room.
11:29:33GMFlash leaves the room.
11:33:34jtoy leaves the room.
11:38:50scooprwho was it that had done some win32 building effort on rbx?
11:46:10BeRUE enters the room.
11:46:26BeRUEHahaa, this was just hilariously awesome
11:47:01rueApparently BeOS is coming back to life
11:47:16BeRUE leaves the room.
11:47:54rueOn that note, night
11:51:33imajes enters the room.
11:52:10olabini enters the room.
11:59:38cyndis_ enters the room.
12:01:03cyndis leaves the room.
12:02:01wdperson enters the room.
12:07:38cyndis enters the room.
12:08:14cyndis_ leaves the room.
12:17:40govinda enters the room.
12:20:48govindaJust installed rubinius from git on my ubuntu 7.10 machine. Specs seem to run fine. I can run a simple HelloWorld (rbx hello_world.rb) program, but if I type anything in irb I get an exception. Can anybody help?
12:24:30cremes_ leaves the room.
12:29:08brainopia enters the room.
12:36:13ttmrichter_ enters the room.
12:39:55chris2 leaves the room.
12:47:13ttmrichter leaves the room.
12:55:56headius leaves the room.
12:58:51qwert666 leaves the room.
13:06:27Fullmoon enters the room.
13:06:50Fullmoon leaves the room.
13:15:41mutle leaves the room.
13:15:58mutle enters the room.
13:16:31headius enters the room.
13:23:58crossblaim_ enters the room.
13:24:01crossblaim leaves the room.
13:31:01JimMc enters the room.
13:31:34abc123Just installed rubinius from git on my ubuntu 7.10 machine. Specs seem to run fine. I can run a simple HelloWorld (rbx hello_world.rb) program, but if I type anything in irb I get an exception. Can anybody help?
13:35:34webmat enters the room.
13:36:31_helo enters the room.
13:43:37ttmrichter_ leaves the room.
13:45:16ttmrichter enters the room.
13:46:47ttmrichter leaves the room.
13:49:41ttmrichter enters the room.
13:53:59jtoy enters the room.
13:57:03_helo leaves the room.
13:57:08imajes leaves the room.
14:14:11probablycorey enters the room.
14:15:20AndrewO enters the room.
14:18:15qwert666 enters the room.
14:23:11macournoyer enters the room.
14:26:13wmoxam enters the room.
14:31:18binary42 enters the room.
14:33:22brainopia leaves the room.
14:33:25imajes__ enters the room.
14:34:00imajes__ leaves the room.
14:35:25imajes enters the room.
14:41:15imajes__ enters the room.
14:41:28imajes__ leaves the room.
14:41:42imajes leaves the room.
14:42:07imajes enters the room.
14:44:26imajes leaves the room.
14:44:50imajes enters the room.
14:46:49RyanTM enters the room.
14:49:37imajes__ enters the room.
14:49:41agile leaves the room.
14:51:18binary42 leaves the room.
14:51:31imajes__ leaves the room.
14:51:52imajes leaves the room.
14:52:05imajes enters the room.
14:52:29sholden leaves the room.
14:52:50qwert666 leaves the room.
15:00:14d2dchat enters the room.
15:02:43evanhows things!
15:02:52imajeshey
15:02:57imajesevan: ou see this bit now?
15:04:28evanyep
15:04:48imajescool, here's the paste again http://pastie.org/174076
15:05:09evanctrlproxy had a TON of stuff to pipe to me
15:08:48srbaker enters the room.
15:09:34imajes___ enters the room.
15:10:19imajes leaves the room.
15:10:50imajeshey
15:11:00imajesevan: so - since rake passes, should perhaps we get a spec to prove that it fails?
15:11:02imajesi guess on arity checking?
15:13:48evanyeah
15:13:52evannot sure where someone broke something
15:14:31imajes leaves the room.
15:15:04imajes enters the room.
15:16:20imajesevan: fair enough, will see if i can't find something to spec
15:16:22imajes:)
15:17:15imajes_ leaves the room.
15:17:23imajes_ enters the room.
15:18:20djwhitthey evan, how goes it?
15:20:27skaar enters the room.
15:23:12JimMc enters the room.
15:26:37fbuilesv leaves the room.
15:27:12obvio enters the room.
15:27:25yipstar enters the room.
15:30:03GMFlash enters the room.
15:32:19obiejuan enters the room.
15:34:22imajes leaves the room.
15:39:31binary42 enters the room.
15:50:49imajes enters the room.
15:52:52GMFlash leaves the room.
15:54:51moofbong enters the room.
15:55:09therealadam enters the room.
15:57:16rby enters the room.
15:59:17agile enters the room.
16:03:04agile leaves the room.
16:04:24Fullmoon enters the room.
16:06:40agile enters the room.
16:16:44binary42 leaves the room.
16:17:08KirinDav enters the room.
16:19:56abc123Just installed rubinius from git on my ubuntu 7.10 machine. Specs seem to run fine. I can run a simple HelloWorld (rbx hello_world.rb) program, but if I type anything in irb I get an exception. Can anybody help?
16:22:46headiusafternoon
16:24:12crossblaim enters the room.
16:24:12crossblaim_ leaves the room.
16:25:04JimMc leaves the room.
16:25:23rype leaves the room.
16:34:59KirinDave leaves the room.
16:35:53KirinDave enters the room.
16:36:04anonuser enters the room.
16:39:19thewoolleyman enters the room.
16:46:21imajes leaves the room.
16:52:12tmm1 leaves the room.
16:54:10KirinDave leaves the room.
16:54:35tmm1 enters the room.
16:56:41Skip leaves the room.
16:57:49imajes enters the room.
16:57:50skaar leaves the room.
16:59:48binary42 enters the room.
17:00:45joshbuddy enters the room.
17:02:14Skip enters the room.
17:03:21d2dchat_ enters the room.
17:04:16thewoolleyman leaves the room.
17:04:28Defilerabc123: What exception do you get?
17:04:49thewoolleyman enters the room.
17:06:23francois enters the room.
17:07:53macournoyer_ enters the room.
17:08:01francoisHi all, I just cloned rubinius from git://github.com/evanphx/rubinius.git and I get a build error: http://pastie.caboo.se/174171
17:08:05macournoyer leaves the room.
17:08:26francoisgcc: grammar.c: No such file or directory
17:09:28d2dchat_ leaves the room.
17:10:38d2dchat leaves the room.
17:11:52Defilerfrancois: We aren't actively using the github version
17:12:09Defilerfrancois: So it is probably out of date, unless someone has automated it
17:13:18Defilergit://git.rubini.us/code is the URL you awnt
17:13:20Defiler(want)
17:15:02imajes leaves the room.
17:16:24francoisOh cool, thanks
17:16:34abc123You can see the exception here: http://www.pastie.org/174179
17:16:56thehcdreamer leaves the room.
17:18:47Fullmoon leaves the room.
17:19:12DefilerHrm. It's like the core version of 'puts' isn't getting loaded
17:19:35Defilerwhat does: STDOUT.prim_write "Hello\n" do?
17:19:43Defiler(in irb, for you)
17:20:43macournoyerfrancois: I think your error is cause you don't have bison installed maybe
17:22:38abc123Defiler: It is the same errror. Maybe it has something to do with readline?
17:23:19headius_ enters the room.
17:23:34jinjing enters the room.
17:24:24abc123Defiler: Is it possible to corner this error by running some tests/specs?
17:24:43Defilerabc123: Yeah. Run bin/mspec ci
17:24:58DefilerIn the directory where you built rubinius
17:25:16brixenI've got too
17:25:23abc123OK. Is running...
17:25:25brixenbin/mspec ci runs fine
17:25:51brixenit's something to do with my change of kind_of instruction versus send kind_of?
17:25:55brixenit would appear
17:26:48binary42 leaves the room.
17:26:53DefilerSo this is a stable vs. latest problem?
17:27:01Arjen_ leaves the room.
17:27:09abc123@Defiler: the result of bin/mspec ci: 1845 files, 6268 examples, 22358 expectations, 0 failures, 0 errors
17:27:13binary42 enters the room.
17:27:42brixenshotgun/rubinius -e 'puts "hello"'
17:27:44brixenworks fine
17:27:56brixenDefiler: this is an irb problem on head, yes
17:27:57headius leaves the room.
17:28:10Defilergawtchya
17:28:29brixenDefiler: take a look at 42f0b52cd
17:28:57brixenthe issue was that if you rebuilt stables: http://pastie.org/174005
17:29:09abc123@Defiler: OK. shotgun/rubinius -e 'puts "hello"' works. If I put those commands into a rb file everthing works, too.
17:29:10wycats_ enters the room.
17:29:30brixenhowever, it would now appear that something in irb source does not have the right obj->klass perhaps
17:30:05DefilerWhy does the kind_of instruction use a different mechanism than the kind_of? method?
17:31:02jinjing leaves the room.
17:31:14jinjing enters the room.
17:32:07mutle leaves the room.
17:32:15brixenand HISTORY.push(l) is the problem in lib/irb/input-method.rb:98
17:35:28brixenwhere the heck is HISTORY even assigned?
17:35:51abc123and in line 110 there seems to be a typo, too: def readable_atfer_eof?
17:36:13jtoy leaves the room.
17:37:48brixenDefiler: looking at def kind_of? it would appear to be the same
17:38:28brixenkind_of instruction uses ISA, but that's defined to be object_kind_of_p
17:38:35brixenwhich is what opt_kind_of primitive uses
17:39:24brixenhowever, if GUARD(CLASS_P(t1) || MODULE_P(t1)); is causing the prim to fail, then the Ruby.asm code is running in #kind_of?
17:39:55brixensince CLASS_P and MODULE_P use RTYPE, that GUARD could very well be failing
17:40:16DefilerHow could it fail if it ends up running the same code?
17:40:25brixene.g. module Rubinius will fail that guard, even though it is technically a module
17:40:47brixenit wouldn't end up running object_kind_of_p because of that GUARD
17:41:08brixenwell, I take that back
17:41:28DefilerAha
17:41:29brixensince, the primitive then runs the kind_of instruction with Rubinius.asm
17:41:31brixenhmm
17:41:37brixenwth
17:42:05brixenle'me change this guard
17:42:25abc123is this still related to the problem I asked about?
17:42:30brixenI spend hours on this in 29cc22f2c1
17:42:34brixenspent*
17:42:39brixenabc123: yep
17:43:03wycats leaves the room.
17:43:57brixenDefiler: the main problem is that we do not uniformly set obj->obj_type
17:43:59DefilerWe're totally sure those macros have enough parens to compose like that?
17:44:10DefilerWhy don't we uniformly set obj_type?
17:44:16brixendunno
17:44:28DefilerLet me rephrase that..
17:44:32Defilershouldn't we fix that?
17:45:18brixenwell, it's a shortcut, first of all
17:45:26brixendoesn't take into consideration inheritance
17:45:40brixenI'm waiting for evan to either clarify it or show us the new vm code
17:46:30headiushello again
17:47:00brixenheadius: dang! I was just about to strike you from our channel count :P
17:47:07brixenthought you were just lurking :)
17:47:55KirinDave enters the room.
17:48:11headiusno new vm code pushed yet?
17:48:14brixenDefiler: I've changed the GUARD in opt_kind_of to use RISA instead of RTYPE, same exception
17:48:22brixenheadius: not yet
17:48:28brixenwe're all on the edge of our seats
17:48:37Defilerwacky
17:48:47brixenI saw evan made an appearance, he's conveniently disappeared :)
17:49:31brixenDefiler: can you see where HISTORY is even assigned?
17:49:59Defilerreadline defines that
17:50:37Defilerrb_define_const(mReadline, "HISTORY", history);
17:50:46brixengot it
17:51:00headiusI'm also keen to see the new stuff
17:51:00headiusI've never heard of C++ making a codebase *more* manageable, but miracles can happen
17:51:10brixenso, rb_define_const perhaps
17:51:22headiususing STL will at least help eliminate bugs in low-level data structs
17:51:49scooprheadius, or introduce more evil ones! ;)
17: