Index

Show enters and exits. Hide enters and exits.

00:15:07boyscoutAdd task :todos to do a simple grep for todo marks in kernel/. - 580e56e - Eero Saynatkari
00:15:07boyscoutAdded documentation (and some @todos) for ARGF. - 8e1d27b - Eero Saynatkari
00:15:07boyscoutwhile true -> loop in argf.rb - 701854e - Eero Saynatkari
00:18:09boyscoutCI: Build 701854e failed. http://ci.rubini.us/rubinius/builds/701854eccb0674214f58823c3a05bb7d0fd8b09a
00:18:56evanrue!
00:18:58evanyou didn't run the tests!
00:20:49boyscoutRevert "while true -> loop in argf.rb" - 2ee9610 - Evan Phoenix
00:21:20rueI did! :/
00:21:30evanwhile true is better than loop anyway.
00:22:22rueN-uh!
00:22:34rueAlthough it seems to work better here...reviewing
00:22:36evanuhuh!
00:22:50evanloop do is probably the slowest way to loop ever.
00:23:49boyscoutCI: Build 2ee9610 failed. http://ci.rubini.us/rubinius/builds/2ee9610723ac82a92f3f6ced3b36cff29b1b879e
00:23:52rueOh! I see, I thought I did not include that change
00:23:57evanhey wtf.
00:24:31rueI gots it
00:24:34evanyou changed read
00:24:36evani see.
00:24:42evanin a documentation commit
00:24:43evan!
00:24:45evan:)
00:25:11rueYep, I thought I blocked it out but it snuck in
00:25:25evancrafty code.
00:29:27tarcieriholy crap
00:29:33evantarcieri: HEY I HEAR REIA IS DEAD
00:29:34evanIS THAT TRUE
00:29:37evan:D
00:29:38tarcierilol
00:29:42boyscoutOops. Re-enable nil check for ARGF#read, comments for future. - 9beb172 - Eero Saynatkari
00:29:43tarcieriuhh, no
00:29:49evani'm kidding
00:29:51evani read your post on it.
00:29:52tarcieriand holy crap, you made Ruby's parser spit out intelligable errors
00:29:59evanyeah!
00:30:03evanyou love it, don't ya.
00:30:04tarcieriAMAZING!
00:30:06tarcieriyes
00:30:12rueNotes for future code archaeologists
00:31:01evanrue: when 1.0 comes out, we should get a leather bound notebook and write a bunch of rubinius notes in it
00:31:11evanthen weather it and put in a library in venice.
00:31:19tarcieriheh
00:31:19evanso the future code archeoligists have a good time.
00:31:52tarcieriI always wondered why Ruby's parser gave such shitty errors, then I looked at parse.y and my eyes proceeded to bleed profusely
00:32:16evanwell, syntax errors are really hard to report well
00:32:17ruetarcieri: Really hard to concentrate on error improvement with bleeding eyes, nodnod
00:32:23tarcieriheh
00:32:30evanback a few years ago
00:32:36evanwhen I was working on the backtrace format
00:32:39tarcierievan: I'm still playing around with a PEG for Reia... really awesome to be able to give line and column of syntax errors
00:32:41boyscoutCI: 9beb172 success. 3005 files, 11472 examples, 35615 expectations, 0 failures, 0 errors
00:32:42evanI did a survey of every language I could find
00:32:54evanto see all possible existing backtrace formats
00:33:02evantarcieri: rubinius has that too
00:33:06tarcierinice
00:33:19evanit's hard to communicate exactly what went wrong there though
00:34:57tarcieriyeah errors are hard, heh
00:35:37tarcieristarting with sane labels for all the terminals in your grammar probably helps a lot
00:36:01tarcieriunexpected kEND, expecting $end! you TARD
00:37:30evanyeah
00:37:37evanthat one happens so often
00:37:41evanand it's a terrible message.
00:37:48evanthats why I fixed it up so specially.
00:37:57tarcieriyeah awesome
00:50:09boyscoutappease the compiler gods with missing includes for uintptr_t - 21874f9 - Charles Comstock
00:53:11boyscoutCI: 21874f9 success. 3005 files, 11472 examples, 35615 expectations, 0 failures, 0 errors
00:56:15rueI guess that does it for now, sleepy.
07:52:03dbussinkmorning
09:19:16rueHola
09:24:09ujihisa¡Hola!
14:03:02manveruwell, seems like my build fails because of a missing require?
14:03:39manverurakelib/kernel.rake tries to use Digest::SHA1 but only requires digest
14:07:55manveruhm, no, that's not it
14:09:23manveruah, it still used my system ruby...
14:09:40manverufor reference: library not found for class Digest::SHA1 -- digest/sha1
14:09:49manverumeans you're running 1.9...
14:13:48manveruand next one
14:13:54manveru/home/manveru/.rvm/ruby-1.8.7-p174/bin/ruby -Ilib lib/bin/compile.rb -V -T default lib
14:13:55manveru./lib/etc.rb:4: uninitialized constant Etc::FFI (NameError)
14:17:13dbussinkmanveru: what's your rubyopt?
14:17:48manveruoh
14:17:52dbussinkmanveru: the last issue shows up if you have for example lib as a default load path, so system ruby then picks up rubinius stuff and fails
14:17:59manveru-rubygems
14:18:07manveruthanks, works without
14:18:45manveruyay, it built
14:19:09manverunow let's try it from scratch and tell wayneeseguin to unset RUBYOPT for the install
14:31:27rueWee
14:31:42rueShould probably add RUBYOPT to the installation docs
14:38:06wayneeseguinmanveru: it's supposed to unset rubyopt :/
14:38:11wayneeseguinSee ruby-installer line 128
17:23:18hooopymarco!!
17:27:38brixenpolo?
17:32:13evanpolo!
17:37:55evanso, I broke exception handling
17:37:57evanand ran the specs
17:38:07evanand seems with broken exception handling
17:38:19evanthere is a fork bomb that is triggered
17:38:26evani've ground my machine to a halt a few times.
17:38:55brixenhmm
17:47:55rueSweet
17:48:11rueEveryone saw http://ruby-std.netlab.jp yes?
17:48:26brixenI saw, yes
17:48:34brixenwe should probably tweet it up
17:48:40rueI am only about 100 pages into it :P
17:51:53evani've gotten paper copies of previous drafts.
17:52:17evanwow, they decided to actually spec methods.
17:52:26evanthey hadn't done that in any other drafts.
17:55:31evanHAHA!
17:55:36evanthey've spec
17:55:45evanlambda { |(a,b)| } as
17:55:49evanimplementation dependent
17:55:54evanwe can just delete the code to support it!
17:55:55evan:D
17:56:56brixenhehe
17:57:06brixenwow, I didn't see the method specs before
17:57:32brixenthis is a lot of work
17:57:58Zoxclikes how bindings is not present :)
17:58:17evanwe should figure out how to get rubyspec attached to this
17:58:28evanperhaps we should go along the path we discussed before
17:58:41evanbasically, tag our specs that conform to sections in this doc
17:58:49brixenyeah
17:59:02brixenwe should probably not unless these #s are staying constant
17:59:07evantag spec/frozen/core/kernel/p.rb officialspec:15.3.1.1.12
17:59:24brixens/unless/until/
17:59:30evanyeah, we should ask yuigi about that
18:00:28Zoxctoo bad I don't care about 1.8 :(
18:00:48evanthis covers 1.9 too.
18:00:50evanit has to.
18:01:11brixenyeah, 1.9 is mostly a superset of 1.8
18:01:20brixenthe vast majority of behavior is the same
18:01:34brixenit's not a precise superset though
18:01:36rueevan: Conformant program may not rely on implementation-specific behaviour ;)
18:01:46evanhuzzah!
18:02:01evanthat means that |(a,b)| has been officially deprecated.
18:02:12rueProvisionally :P
18:02:21evanah yes, provisionally
18:02:35Zoxc|(a,b)| is invalid :D
18:03:01evanZoxc: I mean that as block args
18:04:06rueI do not like using tags for this purpose
18:04:52Zoxcwhy does that work in ruby anyway? (and how does it work)
18:05:45evanit works because matz added support for it in masgn
18:05:49evanand block args reuses masgn
18:06:02evanit unpacks a array's elements
18:06:20evanif i have
18:06:28evanfoo { |a,(b,c)| ... }
18:06:32evanand foo does
18:06:36evanyield 1, [2,3]
18:06:37rueSimilar to `a, (b, c), d = [1, [2, 3], 4]`
18:06:41evana == 1, b == 2, c == 3
18:10:10evanhuh, the 3rd argument to backtrace has been deprecated too
18:10:13evaner.
18:10:15evanto raise
18:10:18evanthe backtrace argument
18:10:35rueOr forgotten?
18:10:38Zoxcno backtrace faking!
18:11:04evan*shrug*
18:11:14evansays that arg count > 2 is impl. dependent
18:11:28evanI've overloaded our 3rd argument to support chained exceptions
18:11:45rueHm, might be worth a query
18:11:49evanraise MoreGenericError, "something generic happened", more_specific
18:11:59evanwhere more_specific is another Exception object
18:12:05Zoxccan you use custom backtrace objects?
18:12:14evanin rbx?
18:12:17evanon in MRI?
18:12:21evans/on/or/
18:12:53Zoxcin ISO-RUBY
18:13:00evanlooks like no
18:13:38Zoxccan rbx print arguments in backtraces?
18:14:05evanwe've discussed it
18:14:08evanbut not currently, no.
18:14:21evanadding support for that isn't too hard.
18:15:10Zoxcquite handy since sometimes arguments are passed in *args, which means you need to look through I million method to find out how the method you're looking at should be used =P
18:16:23evanyep.
18:16:26evanit's not too hard to do
18:16:35evanneed to just make room for them in a Location object
18:16:46evanand have the VM add them when it generates the Location object array
18:31:00Zoxcwonders if ISO/IEC 646 is compitable with UTF8
18:32:03Zoxcoh and why does an syntax error in Kernel#eval print the messages terminate ruby?
18:35:17evaneh?
18:35:33evani'm not aware of what you speak
18:41:34rueAn uncaught SyntaxError, you mean?
18:43:03rueSame as any other uncaught error, and SyntaxError not being < StandardError means you need to look for it or ScriptError specifically
18:47:46evanyeah, Kernel#eval raises SyntaxError
18:47:52evanyou need to rescue it
18:47:56evanif you don't want it to bubble up.
18:49:13dbussinkZoxc: that iso spec specifies the standard 7 bit latin chars
18:49:41dbussinkZoxc: basically the lower ascii characters, which are utf-8 compatible
18:49:44Zoxcit's a successor of ASCII implying changes
18:50:40dbussinkZoxc: "The final 1991 version of the code is identical to ASCII"
18:50:58dbussinkoriginally they replaced the $ sign with an international currency symbol, but that was reverted
19:01:42evanthe official spec does finally describe the difference between #clone and #dup nicely
19:02:31rueNeat, I can co-opt it if it is better than the description I wrote
19:19:24cremesevan: working with 'main' author to produce a small code example showing id2ref breakage
19:19:34evanok
19:19:37evantell ara I said hi.
19:19:40cremeshis code doesn't call id2ref anywhere; might be a bug with Module.module_eval
19:19:46cremeswill do
19:19:50evanit's in fattr
19:19:57evanis where the call to _id2ref is.
19:20:05evanara also wrote fattr
19:20:13cremesoh...
19:21:00evanhttp://github.com/ahoward/fattr/blob/master/lib/fattr.rb#L128
19:21:32cremestexting this info to ara now; good find
19:22:43evancool.
19:42:02dbussinkevan: still deep in fixing the nasty jit issue?
19:42:09evanyep
19:42:21evantrying to debug why my change destablizes things.
19:42:24dbussinkevan: or is there light at the end of the tunnel ?
19:43:20evanthere always is
19:43:25evansometimes the light is just around a couple of bends
19:43:28evanand I can't see the bends yet
19:43:28evan:D
19:43:45evanit's just software afterall.
19:44:41dbussinkhehe, i know the drill, hit some annoying issues today as well
19:45:09slavahi evan
19:47:25evanhi slava.
19:48:29slavai've been packing and moving for the last week or so, time to do some work again
19:49:08evanwhere ya moving?
19:49:32slavai'm in canada staying with parents for two weeks, then going to NZ. time for a new adventure
19:50:56evanfun!
19:51:03evanwell, off to lunch.
19:51:34slavaminneapolis was a pretty nice place to live
19:58:14dwaiteafternoon
21:20:55rueHi hi
22:32:19dwaitequiet day
22:33:47rueOr are we just talking on some secret channel?
22:59:41evannope, just quiet.
23:32:07evanso, we're going to need a way to refer to the "IPA Ruby Standardization WG Draft"
23:32:19evanand we're going to need to push on the wording for it hard
23:32:23evanit's only day 1
23:32:30evanand people are already confusing it with rubyspec.
23:33:04Zoxccalls it iso-rubyspec
23:35:49evannot a bad name
23:35:52evanbut still confusing
23:36:03evanbut it conflates that they're related
23:36:31Zoxcin-search-if-a-ruby-spec :)
23:36:40Zoxcof* :/
23:36:45evani think
23:36:49evanruby standardization
23:36:51evan is clearer.
23:36:54evanbut thats what it is.
23:39:52brianmarioanyone run into a pegged CPU when trying a rake gems:install from a rails 2.3.4 app?
23:40:14brianmariostarts out pegged at 180%+ then slowly drops down to ~100% and stays that way
23:40:32brianmariomemory usage grows ~500k every few seconds indefinitely
23:40:42brianmarioor at least, for 30min before I killed it
23:44:23evanhm
23:44:24evannope
23:44:36brianmariotrying to find the hot spot
23:44:39evanbut we've gotten reports, and i've seen, some bad news cases with gem install
23:44:41evanok!
23:44:52evanit's possible it's a bug in Socket
23:51:26brianmarionot sure if I'm tracking it down with the right tool, but Shark has __memcpy as the 6th item from the top
23:51:58brianmariorunning a Time Profile, for about 2min on the hung rbx proc
23:53:33evanhm. ok.
23:53:37evanthat might just be the GC