Show enters and exits. Hide enters and exits.
| 00:01:33 | Arjen_ leaves the room. | |
| 00:04:52 | zenspider | huh... I can repro running on the cmdline but only if I run the whole suite |
| 00:05:03 | zenspider | repro 'multiruby -v -S mspec 1.8/library/readline > x 2>&1' |
| 00:05:19 | brixen | drbrain: http://pastie.org/223005 |
| 00:05:22 | zenspider | oops. no, that is NOT a repro |
| 00:05:26 | brixen | drbrain: tell me what I'm missing |
| 00:05:34 | zenspider | chomp off library/readline and it'll rerpo |
| 00:05:46 | drbrain | zenspider is working on it, be patient |
| 00:06:20 | zenspider | 1.8/library won't repro either... |
| 00:06:24 | zenspider | interesting |
| 00:07:27 | wmoxam leaves the room. | |
| 00:09:53 | zenspider | smallest repro I have is: ~/.multiruby/install/mri_1_8/bin/ruby -v -S mspec 1.8 |
| 00:10:01 | michalw leaves the room. | |
| 00:10:29 | zenspider | nope... damnit. |
| 00:12:45 | zenspider | damnit damnit damnit |
| 00:13:06 | zenspider | I've backed out all my changes and I can't hand repro this at all |
| 00:14:37 | ryanlowe_ enters the room. | |
| 00:18:56 | zenspider | but it repros perfectly using ci.rb... damn. |
| 00:19:11 | zenspider | even the ruby -e 'system "..."' hack I did before has no effect |
| 00:19:34 | zenspider | I'll wait 5-10 minutes to make sure it isn't just horking the IO |
| 00:20:17 | zenspider | tho... I'm at 0 CPU. :/ |
| 00:20:54 | zenspider | yup. and I kill it and the log fills up |
| 00:21:46 | rue leaves the room. | |
| 00:22:30 | rue enters the room. | |
| 00:22:40 | taf2 leaves the room. | |
| 00:22:57 | EugZol leaves the room. | |
| 00:25:02 | ezmobius leaves the room. | |
| 00:25:13 | zenspider | ok... best I can do at this stage... (damnit) |
| 00:25:49 | zenspider | removing requires to readline gets me full test results... anything else does not. I don't have a better/smaller repro |
| 00:25:58 | evan | zenspider: do you have a repro I can look at? |
| 00:27:25 | evan | whats the command you're running? |
| 00:27:37 | evan | i haven't been following, was on the phone. |
| 00:27:38 | imajes leaves the room. | |
| 00:27:59 | zenspider | evan: repro involves code not pushed yet |
| 00:28:03 | evan | k. |
| 00:30:25 | zenspider | evan: I guess I push my ci code... I'm stuck. |
| 00:30:29 | zenspider | well... |
| 00:30:39 | zenspider | I'm stuck, short of removing readline specs |
| 00:30:50 | zenspider | removing readline seems to work fine |
| 00:30:58 | zenspider | but it is a sucky solution |
| 00:31:24 | ryanlowe leaves the room. | |
| 00:31:32 | zenspider | one I'm willing to go with at this point in time tho |
| 00:34:06 | zenspider | evan: make a call |
| 00:34:16 | evan | sorry, one sec. |
| 00:34:45 | evan | so, readline on MRI hangs? |
| 00:35:03 | evan | perhaps just quarantine the specs for now |
| 00:35:04 | drbrain | yes |
| 00:35:10 | evan | then we'll sort it out |
| 00:35:14 | evan | and unquarantine them. |
| 00:37:18 | evan | does that work? |
| 00:37:50 | cored enters the room. | |
| 00:38:41 | zenspider | evan: quarantine how? |
| 00:38:57 | evan | i think there is Kernel#quarantine in mspec |
| 00:39:00 | evan | takes a block |
| 00:39:02 | evan | just doesn't run it |
| 00:39:04 | evan | otherwise just |
| 00:39:08 | evan | if false |
| 00:39:10 | evan | out the whole thing |
| 00:39:17 | zenspider | k |
| 00:39:36 | evan | with a comment please |
| 00:39:56 | zenspider | kk |
| 00:40:01 | RyanTM leaves the room. | |
| 00:40:16 | lopex leaves the room. | |
| 00:45:26 | zenspider | evan: http://rafb.net/p/d4F8Ax26.html that's my diffs so far. huge because of indention, but whatever |
| 00:45:35 | zenspider | the kill specs prolly need better treatment |
| 00:45:36 | evan | don't indent it. |
| 00:45:37 | evan | just put |
| 00:45:41 | evan | if false |
| 00:45:42 | evan | at the top |
| 00:45:44 | evan | end at the bottom |
| 00:46:02 | zenspider | I hate you. :P |
| 00:46:38 | evan | I know you do. |
| 00:46:46 | evan | also, remove the comments is Proces |
| 00:46:49 | evan | and quaratine them. |
| 00:46:56 | MenTaLguY | is there a reason not to delete stuff rather than comment it out? |
| 00:47:07 | evan | well, for these, we need to fix them. |
| 00:47:10 | brixen | wait, why are we quarantining readline specs that run just fine |
| 00:47:11 | anteaya leaves the room. | |
| 00:47:27 | evan | brixen: they don't seem to run fine on MRI |
| 00:47:31 | brixen | they do |
| 00:47:34 | brixen | just not in ci.rb |
| 00:47:50 | evan | who's problem is it then? ci.rb or the specs? |
| 00:47:53 | brixen | ci.rb |
| 00:48:05 | brixen | no one else is having a problem with them |
| 00:48:17 | evan | i'm trying to unblock zenspider |
| 00:48:20 | brixen | we cannot just quarantine rubyspecs that we have a problem running |
| 00:48:23 | zenspider | um. no. not true |
| 00:48:35 | zenspider | rubuildiuses are having problems as well |
| 00:48:52 | zenspider | and yes, we can, and should. they're not stable |
| 00:49:20 | brixen | I beg to differ |
| 00:49:49 | shame leaves the room. | |
| 00:50:09 | evan | rather than fighting about it |
| 00:50:25 | evan | i'd rather than zenspider quaratine them AND provide a proper repro |
| 00:50:38 | brixen | well, I strongly object |
| 00:50:40 | evan | so that either ci.rb can be fixed or the specs can be fixed. |
| 00:50:46 | brixen | there are multiple users of the rubysepcs |
| 00:50:59 | brixen | we cannot go quarantining them when we can't run them |
| 00:51:01 | drbrain | it's both ci.rb and rubuildius having this problem |
| 00:51:15 | brixen | drbrain: show me where the bot is having a problem with readline |
| 00:51:33 | drbrain | it's in your scrollback |
| 00:51:45 | drbrain | my client doesn't have search, so I can't pull it up |
| 00:51:50 | drbrain | search for 'rake' |
| 00:51:54 | drbrain | or rubuildius |
| 00:52:11 | brixen | I'll check on the ey slice and on rubuildius_amd64 |
| 00:52:32 | evan | k |
| 00:52:44 | evan | zenspider: hold off for now. |
| 00:52:54 | zenspider | <djwhitt> thank goodness. I don't know what is causing it, but I've been |
| 00:53:05 | zenspider | having a terrible time getting rubuildius_amd64 to complete a run |
| 00:53:09 | zenspider | |
| 00:53:13 | brixen | zenspider: that doesn't mean anything |
| 00:53:19 | brixen | I want to see a repro |
| 00:53:28 | brixen | evan: I can't access ey slice |
| 00:53:34 | evan | hrm. |
| 00:54:07 | zenspider | I'm so done with this... I'm going home |
| 00:54:25 | drbrain | [2008/06/26 15:37:38] <djwhitt> zenspider: yeah, regarding the two processes thing, that's my experience too. which is why I don't run the specs using rake in rubuildius |
| 00:54:44 | drbrain | corundum: botsnack |
| 00:54:44 | corundum | drbrain: schweet! |
| 00:55:36 | drbrain | we're getting kicked out of vivace, bbiab |
| 00:58:05 | brixen | djwhitt: ping |
| 00:59:27 | brixen | djwhitt: nvm, I got in |
| 01:05:18 | yasuhito enters the room. | |
| 01:08:33 | qwert666_ leaves the room. | |
| 01:11:01 | jero5 leaves the room. | |
| 01:11:08 | headius leaves the room. | |
| 01:12:16 | heycarsten enters the room. | |
| 01:16:31 | brixen | djwhitt: fwiw, I just completed a bin/mspec ci -B full.mspec run on the amd64 machine |
| 01:16:42 | brixen | djwhitt: but I saw stuff like this go by several times: debug2: channel 0: window 999367 sent adjust 49209 |
| 01:16:49 | brixen | djwhitt: any idea what that is? |
| 01:18:20 | drbrain | brixen: that's from ssh |
| 01:18:44 | evan | yeah, thats ssh debug stuff |
| 01:18:49 | drbrain | you probably still have -vv set |
| 01:18:53 | brixen | djwhitt: I'm still getting the perm issues, is your cleanup script available |
| 01:19:04 | brixen | drbrain: ahh, indeed I do, thanks |
| 01:19:06 | evan | brixen: i think that the hang was rubuildius_amd64 actually running it |
| 01:19:17 | drbrain | ... via rake |
| 01:19:27 | evan | not just via bin/mspec at a prompt |
| 01:19:43 | brixen | I'll run it as a subprocess with system |
| 01:21:42 | rue leaves the room. | |
| 01:23:01 | rue enters the room. | |
| 01:25:12 | evan | brixen: ey slice is back up |
| 01:25:26 | brixen | ruby -e "system('bin/mspec ci -B full.mspec -V > spec.out')" |
| 01:25:30 | brixen | that completed fine |
| 01:25:33 | brixen | evan: thanks |
| 01:25:45 | brixen | how else would you like me to try running them? |
| 01:25:56 | drbrain | try running specs via rake |
| 01:26:02 | drbrain | via system |
| 01:26:03 | brixen | I know there is an issue with rake |
| 01:26:11 | brixen | but what do I assume from that? |
| 01:26:19 | drbrain | what issue? |
| 01:26:30 | brixen | I'll run it and see |
| 01:26:34 | brixen | I've seen it hang |
| 01:26:48 | brixen | doesn't rake just #system the command? |
| 01:27:51 | twbray leaves the room. | |
| 01:28:20 | drbrain | ultimately, yes, but not with shell |
| 01:28:27 | drbrain | err, optionally not with shell |
| 01:28:32 | drbrain | system(*cmd) |
| 01:28:41 | brixen | what does 'sh "bin/mspec ci -B full.mspec"' do? |
| 01:29:35 | drbrain | looks like system "bin/mspec ci ..." |
| 01:29:44 | evan | if it does that |
| 01:29:46 | evan | it uses exec |
| 01:29:47 | evan | not system. |
| 01:30:04 | drbrain | no, Rake#sh uses system |
| 01:30:09 | drbrain | I just looked at ti |
| 01:30:12 | drbrain | it |
| 01:30:18 | evan | yeah but |
| 01:30:25 | evan | MRI uses exec(2) for #system |
| 01:30:32 | evan | if there are no shell characters. |
| 01:31:03 | evan | if it does a system(*ary), whats in the ary? |
| 01:31:22 | drbrain | if ary is a string, it uses sh |
| 01:31:54 | drbrain | it's basically def sh(*cmd) system(*cmd) end |
| 01:32:03 | drbrain | with a bunch of printy stuff wrapped around it |
| 01:32:15 | brixen | it's hanging on spec/frozen/1.8/library/net/http/get_spec.rb |
| 01:32:31 | brixen | all the net specs likely need to be checked for races |
| 01:32:37 | brixen | these are indeterminate hangs |
| 01:32:48 | brixen | I tagged a bunch already to sync the specs |
| 01:34:38 | brixen | I'll run again with those excluded |
| 01:38:03 | cored leaves the room. | |
| 01:38:57 | benburkert leaves the room. | |
| 01:41:18 | ryanlowe | I'm not really concerned about speed -- but should Rubinius be able to run a real Rails app? I thought it might be a good way to find problems .... if so, has anyone documented how to use Rubinius with Rails? |
| 01:41:28 | wmoxam enters the room. | |
| 01:41:59 | crafterm enters the room. | |
| 01:42:16 | drbrain | ryanlowe_: it should, and it should work just the same as you would with ruby, but use 'rbx' instead of 'ruby' |
| 01:42:24 | brixen | running the specs via rake while excluding Net::* specs works fine |
| 01:42:35 | crafterm enters the room. | |
| 01:42:57 | ryanlowe | ok i'll try to get a skeleton working with Rails 2.1.0 |
| 01:43:39 | drbrain | ryanlowe_: of course, we may have regressed :) |
| 01:43:55 | ryanlowe | oh ya? would now not be a good time in the cycle to try this? |
| 01:44:18 | drbrain | well, regression can happen at any time |
| 01:44:26 | ryanlowe | I'm not really familiar with Rubinius' version numbers, iterations, etc |
| 01:44:32 | drbrain | I don't think now is worse than any other day |
| 01:44:34 | ryanlowe | I was just going to try it with master :) |
| 01:44:45 | ryanlowe | or would that be a bad idea? :) |
| 01:44:54 | drbrain | actual version of rubinius doesn't matter |
| 01:44:58 | drbrain | yes, try master |
| 01:45:02 | drbrain | or head |
| 01:45:04 | ryanlowe | ok |
| 01:45:14 | anteaya enters the room. | |
| 01:45:56 | yasuhito leaves the room. | |
| 01:46:27 | yasuhito enters the room. | |
| 01:46:58 | yasuhito leaves the room. | |
| 01:49:29 | ryanlowe | drbrain: is anyone else doing this already? |
| 01:49:40 | ryanlowe | or is it kind of ad hoc? |
| 01:49:56 | drbrain | ad-hoc |
| 01:50:04 | drbrain | people pick what they like to do |
| 01:50:26 | ryanlowe | no I mean -- is anyone specifically testing Rails support with a real project? |
| 01:50:26 | rubbish enters the room. | |
| 01:50:34 | ryanlowe | and sharing experiences, etc |
| 01:50:41 | naeu leaves the room. | |
| 01:50:41 | drbrain | not that I've heard of |
| 01:50:48 | ryanlowe | ok |
| 01:50:50 | drbrain | we did some rails work before RailsConf |
| 01:51:22 | cezarsa leaves the room. | |
| 01:52:43 | ryanlowe | I saw that, that's why I'm here ;) |
| 01:52:47 | shame enters the room. | |
| 01:54:26 | jtoy enters the room. | |
| 01:55:01 | ryanlowe | great progress btw, I was pleasantly surprised |
| 01:55:04 | sudoer enters the room. | |
| 01:56:44 | drbrain | thanks! |
| 01:59:49 | boyscout | 3 commits by Chad Fowler |
| 01:59:50 | boyscout | * Merge branch 'master' of git@git.rubini.us:code; 9a01c92 |
| 01:59:51 | boyscout | * resolve merge conflicts. enabled Array#__rescue_match in rescue splat compilation; 8ea5cb1 |
| 01:59:52 | boyscout | * Implemented __rescue_match__ for Array and call that from the compiler in splat rescu ...; 43628b1 |
| 02:06:55 | rubuildius_ppc | Chad Fowler: 9a01c926d; 2533 files, 8434 examples, 28074 expectations, 0 failures, 0 errors |
| 02:07:26 | brixen | hm, ppc bot is fine |
| 02:07:34 | brixen | I just killed a process on the amd64 bot |
| 02:07:41 | brixen | it's currently running chad's commit |
| 02:08:47 | djwhitt | brixen: oh yeah, I've been having a terrible time with that bot hanging recently |
| 02:09:08 | brixen | djwhitt: it's hanging in the net/** specs |
| 02:09:20 | brixen | I've tagged some of them, I'm going to tag the rest for now |
| 02:09:38 | djwhitt | k |
| 02:09:38 | brixen | djwhitt: you should run bin/mspec ci -B full.mspec -V > something |
| 02:09:45 | brixen | so that you can cat something to see where it's at |
| 02:10:27 | djwhitt | you mean the bot should do that? |
| 02:10:39 | brixen | yeah |
| 02:10:45 | lstoll enters the room. | |
| 02:10:46 | djwhitt | I can add that in |
| 02:10:49 | brixen | might be helpful |
| 02:11:04 | brixen | it's obvious the thing is hung and not just spinning cus the cpu was at 2.1% |
| 02:11:10 | djwhitt | yeah |
| 02:11:11 | brixen | normally it's +90% |
| 02:12:17 | brixen | os x seems not to have the issues |
| 02:12:17 | jtoy leaves the room. | |
| 02:12:23 | brixen | I'm going to try on ubuntu |
| 02:12:29 | blakewatters enters the room. | |
| 02:20:09 | heycarsten leaves the room. | |
| 02:20:25 | brixen | ugh parallels crashed on me |
| 02:21:42 | rue leaves the room. | |
| 02:22:31 | rue enters the room. | |
| 02:22:50 | brixen | djwhitt: interesting to watch the cpu util on this spec run, it has slowly degrated from 90% to 22% over several minutes |
| 02:22:59 | brixen | er degraded |
| 02:23:57 | VVSiz_ enters the room. | |
| 02:25:50 | qrush | I'm not sure if this is the best place, but I've got a Rails question. #rubyonrails doesn't have all of the ruby/rails experts ;) |
| 02:26:30 | drbrain | this is certainly the wrong place |
| 02:26:36 | qrush | Alright. :) figured i'd ask. |
| 02:27:10 | ryanlowe | has a working rbx ... woot |
| 02:27:59 | trythil enters the room. | |
| 02:29:39 | ryanlowe | drbrain: I'm digging into the Rails guts to figure out where to replace 'ruby' with 'rbx'... |
| 02:29:59 | drbrain | well, start with |
| 02:30:04 | drbrain | rbx gem install rake |
| 02:30:09 | drbrain | then rbx rails blah |
| 02:30:47 | drbrain | err, rbx gem install rails --no-rdoc --no-ri |
| 02:30:49 | ryanlowe | hmm ... I already have rake but with ruby 1.8.6 |
| 02:30:53 | drbrain | since RDoc is still quite slow |
| 02:30:58 | djwhitt | ryanlowe: I tried Rails out a couple weeks ago asside from weirdness with ActiveRecord things seemed to generally work |
| 02:31:02 | ryanlowe | can they co-exist on the same machine? |
| 02:31:11 | drbrain | yes |
| 02:31:21 | drbrain | rubinius installs it do a different path |
| 02:31:25 | drbrain | to |
| 02:31:28 | ryanlowe | ahh rock on |
| 02:31:53 | drbrain | rbx rake |
| 02:31:58 | drbrain | instead of rake |
| 02:37:39 | ryanlowe | ok done |
| 02:37:46 | ryanlowe | trying out: rbx script/server -p 9999 |
| 02:38:44 | ryanlowe | works |
| 02:39:21 | c0sin leaves the room. | |
| 02:39:41 | drbrain | cool |
| 02:40:32 | ryanlowe | uses WEBrick by default |
| 02:40:52 | twbray enters the room. | |
| 02:41:49 | VVSiz leaves the room. | |
| 02:46:06 | ryanlowe | I tried: rbx gem install mongrel ... but when I run: ruby script/server mongrel -p 9999 it says mongrel is not on my path |
| 02:46:49 | ryanlowe | the mongrel gem 1.1.5 seemed to install OK with rbx |
| 02:47:09 | djwhitt | ryanlowe: if you installed the mongrel gem successfully script/server should use it by default |
| 02:47:15 | ryanlowe | hmm |
| 02:47:23 | djwhitt | ryanlowe: though I haven't tried it in rbx |
| 02:47:46 | ryanlowe | where does rubinius store the gems I install with rbx? |
| 02:48:09 | ryanlowe | I didn't get an error message from rbx gem install mongrel, so I figured I was all good :) |
| 02:49:14 | ryanlowe | I ask where it's stored because perhaps it's not on a PATH rbx can see |
| 02:49:41 | ezmobius enters the room. | |
| 02:50:05 | drbrain | ryanlowe: rbx gem env |
| 02:50:27 | drbrain | prefix anything you'd ordinarily run via the command line with rbx |
| 02:50:38 | drbrain | so, `rake` for ruby's rake, `rbx rake` for rubinius rake |
| 02:51:01 | drbrain | &c |
| 02:51:27 | ryanlowe | k |
| 02:51:35 | ryanlowe | mongrel is on: rbx gem list |
| 02:52:10 | drbrain | so, maybe `rbx mongrel_rails` ? |
| 02:52:49 | ryanlowe | k i'll try that ... maybe it just doesn't like script/server |
| 02:57:26 | ryanlowe | mongrel_rails is using 100% CPU ... not sure if it's locked up or just starting up :) |
| 02:58:49 | wmoxam leaves the room. | |
| 03:00:07 | drbrain | sometimes you can open up Activity Monitor and sample rbx to see if it's hung |
| 03:00:21 | ryanlowe | k |
| 03:00:25 | drbrain | or, if it's the VM that hung vs some ruby code that's spinning furiously |
| 03:00:38 | drbrain | if you've got cpu_run a bunch, it's still trying to do stuff :) |
| 03:00:50 | ryanlowe | it gave me a backtrace when I interrupted, would you like me to pastie it? |
| 03:01:00 | drbrain | sure |
| 03:01:17 | ezmobius | you have to be patient to boot a rails app |
| 03:01:22 | ezmobius | it can takea minute or two ;) |
| 03:01:34 | drbrain | his WEBrick app came up pretty quick |
| 03:01:39 | ryanlowe | WEBrick took longer than MRI, but not that long |
| 03:01:48 | ezmobius | ahh |
| 03:01:57 | ryanlowe | mongrel_rails was using 100% CPU for 5 minutes :) |
| 03:02:26 | ryanlowe | http://www.pastie.org/223078 |
| 03:02:56 | twbray leaves the room. | |
| 03:03:52 | drbrain | odd... |
| 03:04:09 | ryanlowe | btw when I start WEBrick with script/server I get something almost immediately as output: |
| 03:04:12 | ryanlowe | class Float held ownership of the tag:yaml.org,2002:float tag |
| 03:04:40 | drbrain | we have yaml issues that are yet to be resolved |
| 03:04:44 | drbrain | someday! |
| 03:04:50 | ryanlowe | WEBrick took 50 seconds of CPU time to start |
| 03:06:27 | ryanlowe | what is a *.rbc file? |
| 03:06:42 | drbrain | I need to add a ^T handler to rubinius :/ |
| 03:06:43 | ryanlowe | they are littering my project in vendor/rails now :) |
| 03:06:43 | elight leaves the room. | |
| 03:06:49 | drbrain | it is the compiled bytecode |
| 03:07:04 | ryanlowe | are they always alongside the source file? |
| 03:07:16 | drbrain | compiling is still a rather time-consuming process, so rubinius caches its work |
| 03:07:20 | elight enters the room. | |
| 03:07:20 | drbrain | yes |
| 03:07:39 | ryanlowe | interesting |
| 03:07:52 | ryanlowe | plop that into .gitignore |
| 03:09:21 | lchin enters the room. | |
| 03:09:22 | drbrain | I'm going to run mongrel_rails for a while and see if it finishes doing anything |
| 03:09:27 | drbrain | it seems to be trying |
| 03:09:29 | blakewatters leaves the room. | |
| 03:09:31 | ryanlowe | ok |
| 03:09:42 | ryanlowe | I'm on a lowly Mac Mini 2Ghz :) |
| 03:10:48 | ryanlowe | http://github.com/ryanlowe/unfoo/tree/master/RUNNING |
| 03:10:50 | drbrain | I'm not much faster a 2.6GHz |
| 03:10:54 | twbray enters the room. | |
| 03:11:13 | ryanlowe | if anyone else tries to get a Rails project running, you can point them there |
| 03:11:27 | heycarsten enters the room. | |
| 03:11:32 | heycarsten leaves the room. | |
| 03:11:58 | ryanlowe | I'm going to see if I can get this running publicly on Slicehost ... the data won't be sensitive |
| 03:12:18 | ryanlowe | performance should be interesting if I need to use WEBrick tho :) |
| 03:13:26 | ryanlowe | thanks for your help, drbrain |
| 03:13:52 | drbrain | mine's still churning away, running 250.37u 2.98s |
| 03:14:33 | ryanlowe | :) |
| 03:14:52 | ryanlowe | that backtrace seemed to be saying it was still figuring out dependencies 5 minutes into mine? |
| 03:15:01 | ryanlowe | maybe a cyclic problem? |
| 03:15:09 | twbray leaves the room. | |
| 03:16:28 | elight leaves the room. | |
| 03:16:35 | kli enters the room. | |
| 03:16:41 | drbrain | yeah, it seems to be stuck in RubyGems |
| 03:16:58 | drbrain | I just killed mine after running 411.44u 5.08s |
| 03:17:04 | drbrain | still in RubyGems |
| 03:17:15 | drbrain | I need to fix my RBX first |
| 03:17:18 | drbrain | sec |
| 03:17:26 | kli leaves the room. | |
| 03:18:09 | ryanlowe | I'll bbl, short break |
| 03:20:14 | kli enters the room. | |
| 03:20:48 | elight enters the room. | |
| 03:23:08 | headius enters the room. | |
| 03:23:47 | elight enters the room. | |
| 03:28:12 | drbrain | why can't I trap INFO? |
| 03:28:18 | drbrain | it does nothing, and makes me sad |
| 03:29:25 | drbrain | ... and works in MRI |
| 03:31:00 | ezmobius leaves the room. | |
| 03:31:30 | twbray enters the room. | |
| 03:33:10 | drbrain | ok, so signals don't get handled unless I sleep |
| 03:33:26 | drbrain | and caller from trap is not useful |
| 03:34:58 | twbray leaves the room. | |
| 03:35:07 | drbrain | (in rbx) |
| 03:37:02 | crafterm leaves the room. | |
| 03:37:27 | evan | drbrain: how were you waiting if not sleep? |
| 03:37:53 | wmoxam enters the room. | |
| 03:37:56 | drbrain | http://rafb.net/p/nwGJYC87.html |
| 03:38:10 | drbrain | if I take the sleep out in rbx, ^T never gets handled |
| 03:39:09 | drbrain | what I really want to do his hit ^T and see what the method I was just running in is |
| 03:39:21 | drbrain | that script (sleep removed) works that way in MRI |
| 03:40:33 | drbrain | http://rafb.net/p/OiKZNp31.html |
| 03:40:37 | drbrain | WTF IS THAT!!! |
| 03:40:44 | drbrain | begin ... retry |
| 03:40:53 | cremes_ enters the room. | |
| 03:41:09 | drbrain | no checking, just assume it fails? |
| 03:43:04 | kevwil enters the room. | |
| 03:45:26 | evan | drbrain: you want to busy wait? |
| 03:45:34 | evan | we have pre-empting |
| 03:45:41 | evan | perhaps it's not checking events when it pre-empts. |
| 03:45:55 | drbrain | here's my Grand Plan |
| 03:46:22 | drbrain | normally, you hit ^T and the shell spits out your pid and load and system/user times |
| 03:46:29 | evan | yep. |
| 03:46:33 | evan | want that to work in rubinius? |
| 03:46:36 | evan | backtrace wise |
| 03:46:44 | drbrain | I'd like for Rubinius to have a ^T handler that also spits out what method is currently running (at least) |
| 03:46:50 | qrush leaves the room. | |
| 03:46:53 | headius leaves the room. | |
| 03:46:54 | evan | sure, easy enough. |
| 03:47:02 | evan | let me check the preempt code |
| 03:47:02 | drbrain | full backtrace is too much |
| 03:47:10 | evan | i'll bet it's just not polling event |
| 03:47:11 | evan | s |
| 03:47:18 | drbrain | the loop part there was just to see where it was to know it was working |
| 03:47:28 | evan | ah. |
| 03:47:32 | evan | well, don't forget |
| 03:47:34 | evan | in rubinius |
| 03:47:43 | drbrain | it's hard to test if you immediately exit |
| 03:47:43 | evan | signals aren't delivered right away |
| 03:47:47 | evan | same with MRI |
| 03:47:57 | evan | the fact that the signal occured is marked |
| 03:48:00 | drbrain | well, it's ok if you just get close |
| 03:48:07 | evan | and at some point in the future, it's checked. |
| 03:48:27 | evan | close might be 10 milliseconds away |
| 03:48:29 | drbrain | especially for rubinius, to know "I was over in X, so I've gotten this far" |
| 03:48:35 | evan | ok. |
| 03:49:06 | qrush enters the room. | |
| 03:50:24 | drbrain | even 100ms would be fine |
| 03:51:28 | drbrain | few people could tell that their ^T got handled too late |
| 03:52:45 | boyscout | 6 commits by Eric Hodel |
| 03:52:46 | boyscout | * Fix fastthread gem so that fastthread.rb can be required. Fixes mongrel.; 5b00438 |
| 03:52:47 | boyscout | * Fix struct generation from .ffi files; f0c5d2d |
| 03:52:48 | boyscout | * Move ConstGenerator data sources inside their respective blocks; 931147a |
| 03:52:49 | boyscout | * Move TypesGenerator to lib/ffi; 2ccc23b |
| 03:52:50 | boyscout | * Move ConstGenerator out of rakelib, reduce generation code in platform.rake.; b709d88 |
| 03:52:51 | boyscout | ... |
| 03:52:52 | drbrain | I got a china iPhone spam |
| 03:53:08 | drbrain | go rubuildius go! |
| 03:53:20 | drbrain | particularly amd64 |
| 03:53:58 | drbrain | I rearranged a lot of rakelib/platform.rake, and not all the include files for the const generator were required on OS X |
| 03:54:04 | drbrain | which makes me puzzled |
| 03:54:05 | djwhitt | hmm... that's a tall order of late. looks like their's a process hung right now. I'll see if I can fix it |
| 03:54:08 | elight leaves the room. | |
| 03:54:11 | djwhitt | *there's |
| 03:54:17 | kevwil leaves the room. | |
| 03:54:26 | rubuildius_amd64 leaves the room. | |
| 03:55:30 | rubuildius_amd64 enters the room. | |
| 03:56:01 | imperator enters the room. | |
| 03:56:41 | wvdschel enters the room. | |
| 03:57:31 | rubuildius_ppc | Eric Hodel: 5b0043852; bin/ci failed! http://rafb.net/p/zAF4PA53.html |
| 03:58:04 | rubuildius_amd64 | Eric Hodel: 5b0043852; build failed! http://rafb.net/p/rlaBCS40.html |
| 03:58:12 | gnufied leaves the room. | |
| 04:01:12 | drbrain | haha, I broke the world! |
| 04:01:40 | drbrain | ... Assertion failed: (("ev_io_start called with negative fd", fd >= 0)), function ev_io_start, file ev.c, line 1714. |
| 04:01:46 | drbrain | but I don't think that's me |
| 04:02:14 | djwhitt | drbrain: just verified that amd64 error by hand on my laptop too |
| 04:02:35 | drbrain | djwhitt: do this: |
| 04:02:48 | drbrain | rm runtime/platform.conf; rake runtime/platform.conf |
| 04:03:32 | djwhitt | trying it ... |
| 04:03:41 | drbrain | oh, and FWIW, I've watched this 6 times today: http://www.youtube.com/watch?v=X8Nc8RCLy1s |
| 04:04:47 | djwhitt | drbrain: same error |
| 04:05:10 | drbrain | did the platform.conf generate correctly? |
| 04:05:19 | drbrain | can you paste it to me if there were no errors? |
| 04:05:25 | djwhitt | sure |
| 04:05:40 | eventualbuddha enters the room. | |
| 04:06:00 | eventualbuddha leaves the room. | |
| 04:06:30 | drbrain | how do you make a video loop in youtube? |
| 04:06:48 | djwhitt | don't do it man. think of the children |
| 04:08:13 | djwhitt | drbrain: http://rafb.net/p/hIJFEc90.html |
| 04:08:52 | twbray enters the room. | |
| 04:09:20 | drbrain | ah-ha! I'm missing a bunch of your flags |
| 04:10:49 | rubbish leaves the room. | |
| 04:11:26 | drbrain | djwhitt: does this fix? http://rafb.net/p/UR3BSa62.html |
| 04:11:36 | drbrain | I am looking for which header would have your TCP_NODELAY |
| 04:11:39 | drbrain | too |
| 04:11:46 | drbrain | I think you should have one of those |
| 04:12:01 | kevwil enters the room. | |
| 04:12:35 | drbrain | djwhitt: try http://rafb.net/p/gy9Q5w42.html |
| 04:12:43 | drbrain | it may have TCP_NODELAY and so-on filled in too |
| 04:12:48 | gnufied enters the room. | |
| 04:12:51 | djwhitt | drbrain: k |
| 04:12:54 | drbrain | grep TCP_NODELAY runtime/platform.conf |
| 04:15:42 | mass | waves hello |
| 04:15:52 | drbrain | hi mass! |
| 04:15:56 | drbrain | I broke it! |
| 04:15:59 | djwhitt | yep has TCP_NODELAY set to 1 now |
| 04:16:16 | drbrain | better |
| 04:16:22 | djwhitt | trying build now |
| 04:16:23 | mass | whatcha breaking/fixing? :) |
| 04:16:37 | drbrain | grep -v ' = [a-z0-9-]' runtime/platform.conf |
| 04:16:48 | drbrain | can you send me the output of that, to see if there's something I missed? |
| 04:17:04 | drbrain | mass: I reworked how FFI looks up C structs and constants and types a bit |
| 04:17:29 | drbrain | so that FFI extensions don't need to depend on rubinius' build architecture |
| 04:18:13 | drbrain | but I took out too many headers during my reorganization |
| 04:18:47 | djwhitt | drbrain: http://rafb.net/p/xrQzf845.html |
| 04:19:04 | djwhitt | though, the build succeeds now |
| 04:19:15 | drbrain | some will be blank |
| 04:19:26 | drbrain | not everybody has SIGDANGER, for example |
| 04:20:31 | drbrain | can you grep -r SO_REUSEPORT /usr/include |
| 04:20:39 | drbrain | you should definitely have that one |
| 04:21:41 | djwhitt | heh, this is funny |
| 04:22:01 | djwhitt | just a sec .. |
| 04:22:29 | drbrain | FWIW, I have 49 missing |
| 04:22:33 | djwhitt | http://pastie.org/223096 |
| 04:24:33 | drbrain | wow, that's really bizarre |
| 04:24:57 | drbrain | you are on linux? |
| 04:24:59 | djwhitt | yep |
| 04:25:04 | djwhitt | Gentoo |
| 04:25:11 | cremes_ leaves the room. | |
| 04:25:31 | drbrain | "As under Linux SO_REUSEPORT is not implemented and SO_REUSEADDR does allow multiple processes to utilize the same host:port pair without having to set ..." |
| 04:25:36 | drbrain | so says google |
| 04:25:41 | drbrain | so, I guess you're good then |
| 04:25:46 | drbrain | I will commit this |
| 04:26:22 | djwhitt | yeah, ci (not full) ran fine too |
| 04:26:29 | drbrain | ok |
| 04:26:52 | drbrain | I just wanted to be sure for something that isn't necessarily covered by ci |
| 04:27:45 | boyscout | 1 commit by Eric Hodel |
| 04:27:46 | boyscout | * Restore includes for linux. My Bad. Pair: David Whittington.; 184fbf3 |
| 04:28:14 | drbrain | ryanlowe: update, I fixed mongrel |
| 04:28:27 | ryanlowe | drbrain: ohhh neat |
| 04:28:57 | ryanlowe | what was the issue? |
| 04:29:15 | drbrain | mongrel has a purposeful infinite loop in it |
| 04:31:16 | ryanlowe | and it was stuck in that loop? |
| 04:31:26 | drbrain | yup |
| 04:31:41 | ryanlowe | ok i will pull and recompile |
| 04:35:26 | drbrain | I filed a bug |
| 04:35:55 | ryanlowe | ...for? |
| 04:36:09 | smparkes leaves the room. | |
| 04:36:48 | drbrain | mongrel |
| 04:37:39 | ryanlowe | link? |
| 04:39:12 | drbrain | http://mongrel.rubyforge.org/ticket/37 |
| 04:39:54 | ryanlowe | thx |
| 04:39:59 | ryanlowe | mongrel works for me now with rbx |
| 04:40:07 | drbrain | yay! |
| 04:40:14 | ryanlowe | takes about 60 seconds to load up tho |
| 04:41:13 | ryanlowe | works: rbx mongrel_rails start -p 9999 |
| 04:41:29 | drbrain | yay! |
| 04:41:30 | ryanlowe | doesn't work: rbx script/server mongrel -p 9999 |
| 04:41:54 | ryanlowe | the latter gives: PROBLEM: Mongrel is not available on your system (or not in your path) |
| 04:42:11 | drbrain | ah |
| 04:42:13 | ryanlowe | perhaps I'm using the params right |
| 04:42:19 | ryanlowe | I'm not* using... |
| 04:42:24 | drbrain | no, it is correct |
| 04:43:17 | drbrain | you would need to add the executable directory (in rbx gem env) for it to show up |
| 04:43:34 | drbrain | add it to PATH |
| 04:44:59 | ryanlowe | EXECUTABLE DIRECTORY: /usr/local/lib/rubinius/0.9/bin |
| 04:45:25 | drbrain | yes |
| 04:46:30 | ffeynman enters the room. | |
| 04:46:44 | ryanlowe | nope, that didn't do it |
| 04:49:05 | ryanlowe | hmmm just a sec ... my PATH isn't sticking... |
| 04:49:07 | rubbish enters the room. | |
| 04:49:46 | kevwil leaves the room. | |
| 04:53:58 | ryanlowe | if the executables have the same name as MRI executables, do I want the Rubinius dir at the end of my path? |
| 04:54:09 | ryanlowe | what does it do to my MRI support? |
| 04:55:07 | drbrain | end, yes |
| 04:55:20 | elight enters the room. | |
| 04:55:25 | drbrain | MRI will get picked first, which may not be what you want |
| 04:55:41 | drbrain | which is one of the reasons why we went with rbx rake and so-on |
| 04:55:58 | ryanlowe | I had Rubinius first and script/server still couldn't find mongrel |
| 04:56:08 | ryanlowe | it's not a big deal I'll just use: rbx mongrel_rails |
| 04:56:15 | drbrain | then there may be a different problem |
| 04:56:16 | ryanlowe | thanks for fixing it :) |
| 04:56:27 | drbrain | np |
| 04:56:40 | ryanlowe | is this a bug you'd like me to report? |
| 04:56:48 | ryanlowe | or do you guys care about Rails bugs yet? |
| 04:56:59 | gnufied leaves the room. | |
| 04:57:23 | drbrain | yes |
| 04:57:43 | ryanlowe | roger that, I will do my best |
| 04:57:48 | drbrain | it'll help us most if you can distill it into a minimal testcase, though |
| 04:57:56 | ryanlowe | hmmm |
| 04:57:58 | elight leaves the room. | |
| 04:58:22 | ryanlowe | I don't know much about Rubinius or script/server up to this point :) maybe I should sit on it? |
| 04:58:43 | ryanlowe | or by testcase do you mean to reproduce manually? |
| 04:59:11 | drbrain | something that can be run with a minimum amount of setup to reproduce what shouldn't happen |
| 04:59:28 | ryanlowe | gotcha |
| 04:59:34 | drbrain | so we can ruby blah.rb and rbx blah.rb and see different output until we fix rubinius |
| 05:00:02 | drbrain | if you want to figure out the path thing, I'd start by going to wherever that message gets generated and poking around |
| 05:00:12 | drbrain | then working backwards until you find something Extra Suspicious |
| 05:00:42 | ryanlowe | good tip, thanks |
| 05:01:53 | ryanlowe | if I make changes to my Rails code in development, will Rubinius know the source has changed and recompile the changed file(s) for Rails? or will I have to restart the server? |
| 05:01:53 | kli leaves the room. | |
| 05:02:18 | drbrain | it should behave exactly like rails |
| 05:02:23 | drbrain | that you're used to |
| 05:02:36 | drbrain | as far as .rbc files go, pretend they don't exist |
| 05:02:47 | ryanlowe | uses his limited imagination |
| 05:02:52 | evan | we could make the .rbc . files |
| 05:02:56 | evan | blah.rb => .blah.rbc |
| 05:03:01 | evan | to increase the illusion. |
| 05:03:10 | drbrain | heh |
| 05:03:23 | ryanlowe | then they would be insidious like .svn directories :S |
| 05:03:41 | drbrain | illusory but evil? |
| 05:03:52 | ryanlowe | rbx script/generate controller took a while but appears to have worked |
| 05:05:56 | drbrain | evan: if you have a spare while, can you review rakelib/platform.rake? |
| 05:06:09 | evan | surely my fine seattle fellow. |
| 05:09:23 | evanlight enters the room. | |
| 05:10:17 | ryanlowe | I got a backtrace from: rbx rake, running my 2 test suite |
| 05:10:34 | evan | drbrain: I read your diff |
| 05:10:41 | evan | looks like moved some stuff from rakelib to lib/ffi |
| 05:10:46 | evan | but you changed and moved in the same commit |
| 05:10:47 | drbrain | yes |
| 05:10:50 | evan | so i can't exactly tell what you did |
| 05:11:07 | anteaya leaves the room. | |
| 05:11:07 | loincloth_ enters the room. | |
| 05:11:11 | drbrain | I namespaced it under FFI, and did some minor cosmetic changes |
| 05:11:22 | drbrain | like, take a block, have a name, to simplify platform.rake |
| 05:12:08 | evan | k |
| 05:12:10 | evan | seems fine |
| 05:12:19 | evan | the only change to platform.rake looks like move the constants |
| 05:12:26 | evan | and using stuff from now lib/ffi |
| 05:12:27 | evan | yes? |
| 05:12:31 | drbrain | yes |
| 05:12:32 | loincloth leaves the room. | |
| 05:12:40 | evan | k |
| 05:12:44 | evan | seems on the up and up. |
| 05:12:48 | tarcieri | so I don't suppose if any of you know offhand if the parser bug that prevented me from installing Rake on rbx got fixed |
| 05:12:49 | tarcieri | heh |
| 05:12:53 | tarcieri | rebuilds, retries |
| 05:12:53 | drbrain | ok |
| 05:12:59 | RyanTM enters the room. | |
| 05:13:01 | ryanlowe | rbx rake basic test run backtrace, regex blowup: http://www.pastie.org/223113 |
| 05:13:10 | evan | drbrain: I didn't review every line though. |
| 05:13:14 | ryanlowe | tarcieri: I installed rake with rbx today |
| 05:13:16 | evan | was there something specific you wanted me to double check? |
| 05:13:20 | drbrain | it should be easy to reuse the const stuff in zlib.rb.ffi and so-on |
| 05:13:23 | evanlight leaves the room. | |
| 05:13:27 | evan | ryanlowe: that warms my heart. |
| 05:13:29 | drbrain | no, I just wanted your impression |
| 05:13:30 | tarcieri | sweet |
| 05:13:44 | evan | to know that someone can just happily install rake under rbx without having to hack anything. |
| 05:13:51 | evan | i can probably die happy knowing that. |
| 05:13:52 | tarcieri | heh |
| 05:13:56 | evan | (probably) |
| 05:14:02 | tarcieri | still wants to put together a mongrel-rbx gem |
| 05:14:05 | evan | (we'll see, i'm only 28, there is still a ways to go) |
| 05:14:11 | tarcieri | with the Rubinius.asm parser |
| 05:14:21 | evan | surely! |
| 05:14:36 | tarcieri | so if Rake works, that's possible |
| 05:14:36 | tarcieri | heh |
| 05:14:37 | ryanlowe | I did as drbrain suggested today: sudo rbx gem install rake --no-rdoc --no-ri |
| 05:14:50 | evan | is going to keep doing that until someone says "ok, and don't call me shirley" |
| 05:14:51 | drbrain | ryanlowe: pull out the regular expression from SelectorAssertions |
| 05:15:01 | tarcieri | yeah, earlier I was hitting some horrible bug in the (JRuby?) parser |
| 05:15:16 | tarcieri | but that was a few weeks ago |
| 05:15:18 | drbrain | ActionController::Assertions::SelectorAssertions.__module_init__ (SelectorAssertions) at /Users/ryanlowe/workspace/rails/unfoo/vendor/rails/actionpack/lib/action_controller/assertions/selec tor_assertions.rb:599 |
| 05:15:26 | drbrain | there's probably something funny going on in there |
| 05:15:51 | tarcieri | aight, rbx rebuilt, let's try Rake |
| 05:15:51 | ryanlowe | might be my use of assert_routing |
| 05:15:55 | drbrain | ok, I'm going to watch a movie while it's still DAYLIGHT |
| 05:16:01 | ryanlowe | I forgot I was supposed to take baby steps :) |
| 05:16:24 | drbrain | ryanlowe: sounds like a baby step |
| 05:16:27 | drbrain | :) |
| 05:16:32 | drbrain | add one test, right? |
| 05:16:36 | drbrain | anyhow, movie! |
| 05:16:49 | ryanlowe | drbrain: which movie? |
| 05:17:11 | tarcieri | Successfully installed rake-0.8.1 |
| 05:17:11 | tarcieri | 1 gem installed |
| 05:17:13 | tarcieri | w00t |
| 05:17:30 | ryanlowe | tarcieri: I also installed rails with rbx today the same way |
| 05:17:30 | evan | badabing! |
| 05:18:29 | drbrain | ryanlowe: it's Unforgiven vs. L.A. Confidential |
| 05:18:33 | drbrain | I chose Unforgiven |
| 05:18:35 | ryanlowe | ooooh |
| 05:18:42 | ryanlowe | tough choice, but a good decision |
| 05:18:47 | ryanlowe | you'll be gone a while :) |
| 05:18:52 | drbrain | both of these movies are fantastic, so hard to choose |
| 05:19:15 | ryanlowe | 131 minutes ... hmm, thought it was longer |
| 05:21:07 | headius enters the room. | |
| 05:21:25 | tarcieri | I'd like to experiment with Mongrel on multiple VMs |
| 05:21:25 | rue leaves the room. | |
| 05:21:38 | tarcieri | this will allow me to make a gem that doesn't need a C extension |
| 05:22:01 | tarcieri | and uhh, release it |
| 05:22:02 | rue enters the room. | |
| 05:22:06 | ryanlowe | drbrain: the regexp is Regexp.new("#{RJS_STATEMENTS[:any]}\\(\"([^\"]*)\", #{RJS_PATTERN_HTML}\\)", Regexp::MULTILINE) |
| 05:22:07 | tarcieri | Evan Weaver said he'd maintain it |
| 05:22:18 | evan | sweet. |
| 05:22:33 | evan | cries at dregx |
| 05:23:41 | tarcieri | evan: at least, until you can pull of crazy LLVM hacks to make C extensions with globals work across VMs |
| 05:23:42 | tarcieri | heh |
| 05:23:51 | evan | :D |
| 05:23:59 | evan | I think i'll be able to make it work |
| 05:24:07 | tarcieri | that'd be so fucking sick |
| 05:24:07 | tarcieri | heh |
| 05:24:07 | evan | which will be o/~ aaaweeesooomeeee o/~ |
| 05:24:08 | evanlight enters the room. | |
| 05:24:17 | tarcieri | yes aweeeeeeeeesome |
| 05:24:58 | tarcieri | of course, thing thing that'd REALLY be sick |
| 05:25:02 | tarcieri | is Rubinius::VM.fork :) |
| 05:25:21 | tarcieri | I honestly don't know if I can realistically pull anything off without it |
| 05:25:25 | tarcieri | re: multi-VM mongrel |
| 05:26:34 | evanlight leaves the room. | |
| 05:27:25 | AndrewO leaves the room. | |
| 05:27:46 | lchin leaves the room. | |
| 05:30:10 | ryanlowe | even with a placeholder test that just asserts true, I get that backtrace |
| 05:30:38 | ryanlowe | http://www.pastie.org/223113 |
| 05:31:38 | ryanlowe | gotta love Google indexing GitHub... |
| 05:33:11 | crafterm enters the room. | |
| 05:33:34 | ryanlowe | is this a problem with regexp.rb's group_part_class? (line 389) or a Rails bug? |
| 05:35:24 | lchin enters the room. | |
| 05:40:13 | ryanlowe | I just commented out the lines referencing that broken regex and the backtrace goes away ... test suite doesn't raise anything but doesn't run the one test |
| 05:40:25 | ryanlowe | this was part of the output this time: require 'test/unit/testcase' has been deprecated |
| 05:40:33 | mass | ryanlowe: its good google is indexing it; github doesn't really have search functionality |
| 05:40:47 | ryanlowe | mass: agreed :) it's very handy |
| 05:41:08 | ryanlowe | indexing that much code would be a heck of a job for GitHub |
| 05:42:05 | maharg | I have a feeling that multi-vm is going to be one of those things that everyone talks about and no one ends up actually using |
| 05:44:28 | ffeynman leaves the room. | |
| 05:44:58 | loincloth_ leaves the room. | |
| 05:45:50 | ryanlowe | if I have a backtrace for a lighthouse bug, how should I attach it? |
| 05:45:58 | evan | please |
| 05:46:13 | ryanlowe | just as a text file I guess eh |
| 05:46:20 | evan | or in the ticket is fine |
| 05:46:23 | loincloth enters the room. | |
| 05:46:24 | evanlight enters the room. | |
| 05:46:26 | random8r enters the room. | |
| 05:46:29 | ryanlowe | ok |
| 05:47:21 | evanlight leaves the room. | |
| 05:47:28 | ryanlowe | I'm going through Rails to find bugs, places that need support to get Rubinius running Rails |
| 05:47:46 | random8r | hey I was wondering how do I compile a ruby script? |
| 05:47:48 | ryanlowe | started a project at: http://github.com/ryanlowe/unfoo for it |
| 05:48:03 | random8r | if i have a ruby script called "blah.rb" how would I compile it using rubinius? (I've downloaded and built rbx) |
| 05:48:21 | random8r | I was looking for a shotgun command, but I couldn't find one |
| 05:48:32 | random8r | is it the rubinius executable in /shotgun |
| 05:48:38 | fbuilesv | random8r: yes |
| 05:48:46 | fbuilesv | random8r: just shotgun/rubinius your_script.rb |
| 05:49:04 | RyanTM leaves the room. | |
| 05:49:40 | ryanlowe | how do I indicate the Rubinius version number on a bug report? |
| 05:49:41 | headius | maharg: multiple vms are used in JRuby all the time |
| 05:49:57 | ryanlowe | is it even useful or would people just go by the date it was reported? |
| 05:50:22 | ryanlowe | version number could be a Git commit number maybe |
| 05:50:26 | random8r | thanks |
| 05:51:23 | fbuilesv | ryanlowe: by date should be fine but you can include the last commit hash if you want |
| 05:51:32 | ryanlowe | k |
| 05:51:46 | rubbish leaves the room. | |
| 05:54:37 | evan | ryanlowe: the output of `rbx -v` is useful. |
| 05:54:56 | ryanlowe | rubinius 0.9.0 (ruby 1.8.6 compatible) (9a01c926d) (06/26/2008) [i686-apple-darwin9.2.2] |
| 05:55:10 | ryanlowe | 9a01c926d is that last commit hash? |
| 05:55:12 | loincloth leaves the room. | |
| 05:56:43 | fbuilesv | ryanlowe: not the last commit but it was made a few hours ago |
| 05:57:02 | ryanlowe | well the last commit I have that I'm running here :) |
| 05:57:05 | fbuilesv | :) |
| 05:57:10 | evan | yeah, thats a 'bug' |
| 05:57:28 | evan | if the file containing that hash isn't recompiled, it doesn't update. |
| 05:57:31 | random8r | just did a time test between compiled and MRI, (1.8.6) and the complied shotgun code comes out 6 times slower! |
| 05:57:32 | random8r | why? |
| 05:57:51 | evan | random8r: what was the code? |
| 05:57:58 | random8r | oh just a loop through an array |
| 05:58:01 | random8r | hang on i'll pastie |
| 05:58:18 | evan | doesn't probably mean much other than our Array is slower |
| 05:58:23 | random8r | yeah fair enough. |
| 05:58:31 | random8r | http://pastie.org/223135 |
| 05:58:39 | random8r | range rather |
| 05:59:00 | random8r | ooh my code is deaded lol |
| 05:59:33 | random8r | how can I make array faster? coz I use array quite a bit ;-) |
| 05:59:41 | ryanlowe | here's my bug, let me know if you need more details: http://rubinius.lighthouseapp.com/projects/5089-rubinius/tickets/616-rails-rake-test-run-couldn-t- determine-group-part-type-to-instantiate |
| 05:59:43 | evan | well, thats not array |
| 05:59:45 | evan | thats Range. |
| 05:59:48 | random8r | true |
| 06:00:12 | headius leaves the room. | |
| 06:00:16 | TheVoic1 enters the room. | |
| 06:01:26 | ezmobius enters the room. | |
| 06:02:05 | twbray leaves the room. | |
| 06:02:08 | wmoxam leaves the room. | |
| 06:02:14 | evan | ah ha! |
| 06:02:18 | evan | thats a bug for chad. |
| 06:02:24 | evan | thats his new Regexp#to_s |
| 06:02:30 | evan | which, btw, is a HUGE bitch. |
| 06:02:40 | ryanlowe | you're welcome :) |
| 06:02:41 | ryanlowe | lol |
| 06:03:04 | ryanlowe | seems to be used in a minor method in Rails ... but it prevents that class from compiling |
| 06:04:04 | evan | could you attach the code around selector_assertions.rb line 99 as well? |
| 06:04:10 | evan | to the ticket |
| 06:04:14 | ryanlowe | 599? |
| 06:04:18 | evan | just so the next person doesn't have to hunt. |
| 06:04:21 | evan | er. yeah |
| 06:04:22 | evan | 599 |
| 06:04:40 | ryanlowe | k :) |
| 06:05:11 | ryanlowe | if I put code in a comment, can I format it? |
| 06:05:16 | evan | yeah |
| 06:05:16 | evan | put |
| 06:05:17 | ryanlowe | or is a file attachment better? |
| 06:05:18 | evan | @@@ |
| 06:05:20 | evan | code blah |
| 06:05:22 | evan | @@@@ |
| 06:05:25 | evan | er, 3 @'s |
| 06:05:27 | ryanlowe | k |
| 06:08:19 | ryanlowe | annnnnd, boom goes the dynamite |
| 06:09:12 | loincloth enters the room. | |
| 06:09:21 | evan | would you humor me and track down what RJS_STATEMENT[:any] and RJS_PATTERN_HTML are too? |
| 06:09:25 | evan | :D |
| 06:09:44 | ryanlowe | only if you spell it humour like the rest of us do ;) |
| 06:09:51 | evan | sure! |
| 06:09:58 | evan | colour it red too! |
| 06:10:16 | ryanlowe | heh |
| 06:10:23 | ryanlowe | bravo |
| 06:10:51 | dary leaves the room. | |
| 06:12:11 | mass | if its spelled colour, do you also spell tumor as 'tumour'? |
| 06:12:14 | dary enters the room. | |
| 06:12:21 | ryanlowe | yessir |
| 06:12:26 | evan | and thus the american zing arrives! |
| 06:12:30 | ryanlowe | it's a whole family of disfunction |
| 06:13:12 | mass | I think americans spell english words correctly. We had the benefit of being as far away as possible from the evil cloud of influence of Webster |
| 06:13:23 | mass | or as I like to spell it, Webstre |
| 06:13:51 | evan | or how we spell it now, Websta |
| 06:14:12 | ryanlowe | I was kidding, I'm not a fan of prescriptive grammars ;) |
| 06:14:13 | mass | whatcha talkin bout, willis? |
| 06:14:27 | ryanlowe | evan: bug 616 updated with the other constants |
| 06:15:01 | evan | wow, it's just a black hole of dregx, isn't it. |
| 06:15:22 | evan | the idea is to try and let the person that fixes the bug construct a standalone case to be included as a spec |
| 06:15:32 | evan | so they need as much info about the specific case as possible |
| 06:15:33 | ryanlowe | gotcha |
| 06:15:54 | ryanlowe | that's a good goal ... if I knew more regex I'd make the spec myself :) |
| 06:16:19 | evan | oh actually. |
| 06:16:29 | evan | you know what would be super totally awesome and stuff |
| 06:16:35 | ryanlowe | yeah I just noticed there are more constants ... blerg |
| 06:16:42 | evan | run that under MRI |
| 06:17:04 | evan | put put in a 'p RJS_PATTERN_EVERYTHING' somewhere |
| 06:17:12 | evan | so we can see what MRI has the regex as |
| 06:19:45 | ryanlowe | got it |
| 06:19:47 | ryanlowe | it's a doozy |
| 06:19:55 | mitchellvriley enters the room. | |
| 06:22:09 | ryanlowe | evan: how's that? |
| 06:23:14 | evan | wow. |
| 06:23:25 | evan | kittens are crying right now because of it. |
| 06:23:33 | ryanlowe | bows |
| 06:23:46 | ryanlowe | has that affect on kittens worldwide |
| 06:23:50 | mass | did you just find out RJS is actually just one large regex? |
| 06:24:10 | evan | pretty much. |
| 06:24:24 | evan | and that kittens hate RJS. |
| 06:24:32 | TheVoic1 | baby kittens |
| 06:24:37 | evan | heh |
| 06:24:40 | evan | yes, baby kittens. |
| 06:24:48 | antares leaves the room. | |
| 06:24:52 | evan | TheVoic1: hey, hows things? |
| 06:24:54 | ezmobius | pugs too |
| 06:24:55 | mass | every time you generate javascript with rails, a kitten is sent to a forced labor camp |
| 06:24:58 | TheVoic1 | melting |
| 06:25:03 | TheVoic1 | how about you? |
| 06:25:10 | evan | it's a bit warmish, yes. |
| 06:25:14 | ezmobius | rjs is such a monumentally bad idea |
| 06:25:14 | evan | supposed to be hot again this weekend. |
| 06:25:40 | mass | ezmobius: there have been far worse javascript-related ideas |
| 06:25:56 | TheVoic1 | I'm leaving this place. So much sin here. |
| 06:26:07 | mass | TheVoic1: in #rubinius? |
| 06:26:09 | evan | hehe |
| 06:26:11 | TheVoic1 | lol |
| 06:26:15 | TheVoic1 | los angeles |
| 06:26:27 | evan | TheVoic1: going to alaska where it's cool? |
| 06:26:40 | TheVoic1 | I'm heading to indianapolis, to grab whatever corn is left. |
| 06:26:54 | mass | state motto: Have you Hugged a Polar Bear Today? |
| 06:27:24 | mass | I don't plan to visit indianapolis until they have the first all-biodiesel indianapolis 500 |
| 06:27:43 | evan | I thought it was "Does Mr. Polar Bear need a Hug? I Think So!" |
| 06:28:43 | dary leaves the room. | |
| 06:29:15 | kdc enters the room. | |
| 06:29:48 | mass | of course, defiler can vouch that the Florida Motto is "Florida: because 40,000,000 cockroaches can't all be wrong" |
| 06:30:16 | ryanlowe | down to 40M eh, nice improvement |
| 06:30:54 | mass | I'm only counting the non-flying variety |
| 06:31:05 | evan | in Jacksonville. |
| 06:31:24 | TheVoic1 | evan, jump out of any planes recently? |
| 06:32:06 | mass | I want to jump out of a plane soon |
| 06:32:38 | evan | TheVoic1: recently? no. |
| 06:32:40 | evan | just the once. |
| 06:32:58 | evan | that was earlier this year |
| 06:33:13 | evan | everyone should try it once. |
| 06:33:19 | TheVoic1 | I thought you were planning to do it again |
| 06:33:20 | evan | i'm ok not doing it for a while. |
| 06:33:25 | evan | nah. |
| 06:33:47 | evan | my stomach didn't take too well to it. |
| 06:33:51 | TheVoic1 | ah |
| 06:33:54 | evan | i've got a weak one. |
| 06:34:10 | evan | made it down ok, but if we'd been in the air another 20 seconds |
| 06:34:14 | evan | i'd probably have lost my lunch. |
| 06:34:37 | TheVoic1 | those planes they take you up in are usually old or small or both |
| 06:34:53 | evan | the plane was ok, I had the adrenaline pumping |
| 06:34:56 | evan | and the fall was fine |
| 06:35:05 | evan | it was gliding at the end. |
| 06:37:22 | TheVoic1 | how do you think that would compare to hand gliding? |
| 06:37:25 | random8r leaves the room. | |
| 06:38:53 | evan | haven't been hang gliding |
| 06:39:06 | evan | though, with my stomach, if i'm in control, everything is fine |
| 06:44:33 | ryanlowe | I'm getting this on "rbx rake test": require 'test/unit/testcase' has been deprecated |
| 06:44:54 | evan | yeah, thats miniunit complaining about the rails tests |
| 06:45:15 | ryanlowe | which one is broken? :) |
| 06:45:34 | ezmobius | guess ;) |
| 06:45:56 | ryanlowe | Rubinius is aiming at Ruby 1.9? |
| 06:47:44 | ryanlowe | sorry for the dumb questions, I'm a big noob ... just started playing with Rubinius today |
| 06:47:45 | fbuilesv | ryanlowe: 1.8.6 p111 (or 114?) |
| 06:48:15 | ryanlowe | ahh i says right here: rubinius 0.9.0 (ruby 1.8.6 compatible) |
| 06:48:29 | ryanlowe | MRI 1.8.6 doesn't complain |
| 06:48:52 | ryanlowe | right after that deprecated line I also get: ARGH! someone defined Test::Unit::TestCase rather than requiring |
| 06:48:52 | ryanlowe | ARGH! someone defined Test::Unit::Assertions rather than requiring |
| 06:49:13 | ryanlowe | I suppose that's miniunit too? |
| 06:49:15 | fbuilesv | ryanlowe: I _think_ it might have something to do with using miniunit but you'd have to talk to zenspider about that. |
| 06:49:35 | ryanlowe | ok |
| 06:49:58 | ezmobius | wow i didn't know you can use Proc.new.call in place of yield to call the block attached to a method |
| 06:50:26 | ryanlowe | I have one functional test with "assert true" in it :) and get those messages .... the test isn't run though (works in MRI 1.8.6) |
| 06:50:44 | fbuilesv | yeah, I saw the bug report but I'm blind in that area :P |
| 06:50:57 | ryanlowe | oh there's already a bug |
| 06:51:33 | evan | ezmobius: yeah, Proc.new returns the current block as a Proc |
| 06:51:38 | evan | i'm pretty sure thats from like ruby 1.3 |
| 06:51:43 | evan | before the &block syntax |
| 06:51:54 | ezmobius | crazytown |
| 06:51:58 | evan | bigtime. |
| 06:52:24 | TheVoic1 | ezmobius: did you end up getting that loft in the end? |
| 06:52:40 | ezmobius | not a loft no, but a townhouse |
| 06:52:57 | ezmobius | now tom's going to get booted from the 4th floor |
| 06:53:25 | TheVoic1 | did they start building out the office space on the 3rd? |
| 06:53:36 | ezmobius | yeah the 3rd flloor is full now |
| 06:53:40 | ezmobius | 3rd floor is engineering |
| 06:53:44 | TheVoic1 | awsome |
| 06:53:45 | antares enters the room. | |
| 06:53:54 | evan | ezmobius: i'll be up on monday, btw. |
| 06:53:59 | ezmobius | oh sweet! |
| 06:54:04 | ezmobius | for how long? |
| 06:54:18 | evan | til tuesday afternoon is all |
| 06:54:26 | ezmobius | thats cool |
| 06:54:27 | evan | well, late morning. |
| 06:55:35 | TheVoic1 | I think I'll probably drop by for a visit around thanksgiving, see what you guys are up to. |
| 06:55:47 | ezmobius | sounds good |
| 06:57:19 | ryanlowe | it looks like there were some 'rails hacks' in lib/test/unit/assertions.rb and then miniunit was updated afterwards, which could have changed things |
| 07:18:17 | Yurik leaves the room. | |
| 07:18:17 | rubuildius_amd64 leaves the room. | |
| 07:20:56 | rue leaves the room. | |
| 07:21:33 | rue enters the room. | |
| 07:25:01 | jack leaves the room. | |
| 07:36:00 | NoKarma enters the room. | |
| 07:37:59 | qwert666 enters the room. | |
| 07:40:32 | lchin_ enters the room. | |
| 07:40:32 | lchin leaves the room. | |
| 07:41:53 | MenTaLguY leaves the room. | |
| 07:43:33 | drbrain | ryanlowe: can you expand all the bits in that pattern so we can reconstruct it? |
| 07:43:42 | drbrain | NameError: Missing or uninitialized constant: RJS_PATTERN_HTML |
| 07:43:52 | ryanlowe | m'ok |
| 07:44:18 | drbrain | oh, I see you did |
| 07:45:31 | ryanlowe | oh I thought you meant print it with MRI like I did with RJS_PATTERN_EVERYTHING |
| 07:46:30 | wireless_ enters the room. | |
| 07:46:38 | drbrain | RuntimeError: Couldn't determine Group part type to instantiate |
| 07:46:42 | drbrain | it is good |
| 07:46:52 | w1rele55 leaves the room. | |
| 07:47:05 | drbrain | http://www.youtube.com/watch?v=X8Nc8RCLy1s |
| 07:47:17 | drbrain | damn, I've watched this ten times in the last twelve hours |
| 07:48:20 | evan | hehe |
| 07:48:24 | evan | i was humming it earlier |
| 07:48:54 | drbrain | I'm going to watch it another three times right now, at least |
| 07:51:24 | drbrain | sweet! $7 gas! |
| 07:51:35 | drbrain | I'd be able to justify an electric scooter then |
| 07:52:08 | TheVoic1 | what ever happened to that google electric car? |
| 07:52:22 | drbrain | I already have a car |
| 07:52:28 | drbrain | why would I want another one? |
| 07:52:59 | evan | drbrain: where $7? |
| 07:53:17 | TheVoic1 | to show your competency at car ownership. |
| 07:53:33 | drbrain | stupid cbs news article: http://www.cbsnews.com/stories/2008/06/26/eveningnews/main4214022.shtml?source=RSSattr=HOME_421402 2 |
| 07:53:37 | drbrain | aww, 2010 |
| 07:54:52 | evan | finally, americans are going to find out the hard way what economists mean when they say "market forces" |
| 07:55:05 | ryanlowe | yeah seriously |
| 07:57:06 | drbrain | TheVoic1: I am very competent at car ownership: http://flickr.com/photos/drbrain/151487121/ |
| 07:57:40 | TheVoic1 | what does that run on? |
| 07:58:30 | ryanlowe | leaded gas :) |
| 07:58:33 | drbrain | souls of children |
| 07:58:51 | TheVoic1 | baby children? |
| 07:58:52 | drbrain | nah, but it has an "UNLEADED ONLY" sticker still |
| 07:59:01 | drbrain | ryanlowe: /(?-ix:)/.to_s is the minimal repro |
| 07:59:01 | ryanlowe | :) |
| 07:59:16 | jammi | we have $10 gas |
| 07:59:23 | drbrain | TheVoic1: they have to be under the age of 7 |
| 07:59:27 | ryanlowe | drbrain: nice one |
| 07:59:38 | lchin_ leaves the room. | |
| 07:59:40 | evan | drbrain: put that in the ticket |
| 07:59:47 | evan | drbrain: chad wrote that code at japan |
| 08:00:22 | lchin enters the room. | |
| 08:00:33 | jammi | (1.6e/l) |
| 08:01:00 | TheVoic1 | should I be paranoid and upgrade MRI for that security thing? Couldn't they wait until after I was done with the rails 2.1 upgrade. |
| 08:01:29 | evan | TheVoic1: if you must, you should apply the patches manually |
| 08:01:33 | evan | otherwise rails is busted |
| 08:01:35 | evan | from what I understand |
| 08:02:09 | drbrain | TheVoic1: FreeBSD just backported the patches |
| 08:02:15 | drbrain | hrm, I haven't restarted him |
| 08:02:23 | TheVoic1 | yeah if only I was still on FreeBSD, boy I miss it |
| 08:02:30 | ryanlowe | afaik, it's MRI that's busted :) |
| 08:02:45 | drbrain | ugh, this code is ugly |
| 08:03:15 | drbrain | http://pasternak.superalloy.nl/pastes/604 |
| 08:03:28 | drbrain | hrm, that paste site sucks too |
| 08:03:31 | TheVoic1 | I didn't get the feeling that the security threat was bad enough to warrant caring that much. |
| 08:03:57 | drbrain | @source[i, 4].index ':' |
| 08:04:00 |