Index

Show enters and exits. Hide enters and exits.

00:00:29drbrainSWEEEEEET!
00:02:16yasuhito enters the room.
00:02:47yasuhito leaves the room.
00:05:40benburkert leaves the room.
00:07:13evandrbrain: ?
00:07:28drbrainI added rake run_ruby
00:08:03evanwhats it do?
00:08:18drbraincompiles and runs a .rb file with the vm
00:08:32drbrainso I can figure out what to work on
00:08:40evanthe tasks aren't helping?
00:08:53drbrainthis helps me pick tasks
00:09:13evanhows it running the file?
00:09:19evanare you setting ROOT=
00:09:19evan?
00:09:34evanor are you just building up from raw files
00:09:38drbrainit follows the instructions from README-C++
00:09:59evanok
00:10:05drbrainso if they instructions in README-C++ are wrong, then it does it wrong
00:10:11evanthats not wrong
00:10:20evanyou can certainly do that
00:10:23evanbut no kernel will be loaded.
00:10:30evanwhich you probably want right now
00:10:39evansince the kernel doesn't load right now.
00:20:11ezmobius_ enters the room.
00:23:39edwardam_ enters the room.
00:24:52edwardam leaves the room.
00:28:11ezmob enters the room.
00:30:48enebo_ enters the room.
00:32:04enebo_ leaves the room.
00:33:41aotearoa leaves the room.
00:38:05atmos leaves the room.
00:38:29yasuhito enters the room.
00:39:42yasuhito leaves the room.
00:41:41blakewatters leaves the room.
00:42:39robin_dewd_ enters the room.
00:43:48aotearoa enters the room.
00:43:50robin_dewd__ enters the room.
00:45:43drbrainok, checked in now
00:45:50CIA-20* Fix module name lookup to match corrected ParseTree. pair: Evan; 89d7346 - Eric Hodel
00:45:55CIA-20* Add compile_ruby and run_ruby tasks to make it easier to run ruby files.; df52651 - Eric Hodel
00:46:01CIA-20* Rip out irrelevant parts of the Rakefile; 90ffc92 - Eric Hodel
00:50:28CIA-20* Added Symbol::all_symbols primitive and fixed up Ruby Symbol code.; 58105ff - Brian Ford
00:50:39brixenevan: I believe SymbolTable is finally done
00:50:48evanhuzzah!
00:50:55brixenI kept VM::symbol, but not the others
00:51:01brixensince they were only used in Symbol and String
00:51:03evancool
00:51:17brixenwhen is the moratorium on inline functions lifting?
00:51:30evansome time in the future
00:51:33brixenk
00:51:33evannot yet determined
00:51:39evani was thinking about that actually
00:51:50yugui leaves the room.
00:51:51evanbecause we use LLVM as a toolchain to build the VM too
00:51:55evanwe don't need to at all
00:51:57evanit will do it for us
00:52:04evanbecause it can inline across object files
00:52:20brixentrue
00:52:56brixenand it can optimize across runs. is that enabled by default or do you have to specify?
00:53:07tarcierievan: that's sweet
00:53:07brixener enable it specifically
00:53:22evanbrixen: is which enabled by default?
00:53:34brixenit can save profile info across runs iirc
00:53:46brixenacross runs of the executable
00:54:13evani don't think so
00:54:15robin_dewd leaves the room.
00:54:19evani haven't played with that though
00:54:38evanyou've played briefly with profile guided optimization in plain gcc
00:54:44evanit's a pain to get setup
00:54:55evanbecause LLVM has a much better middle and backend, it should be easier
00:55:14brixencool
00:55:18dgtizedVM::symbol fails to compile in vm.hpp header unless I strip off the VM:: part
00:55:24evanie, at link time you can just say "oh btw, please profile every function." and it will insert code fragments at the top of every function to do profiling
00:55:37evandgtized: ga! that one again.
00:55:51evanI should figure out if I can get apple's g++ to warn about that
00:55:56brixendgtized: oops, my bad
00:56:03brixenI'll push a fix right quick
00:56:12brixenI reverted my inlined function but didn't fix the declaration
00:56:20dgtizedk, I mean I'm just waiting for it to finish testing I can push the fix
00:57:17brixendgtized: ah ok, I'll let ya push it then
00:57:46dgtizeddone
00:57:47CIA-20* made gcc 4.2.3 happy by removing VM::; cdcf3ac - Charles Comstock
00:58:16NoKarma leaves the room.
00:58:24brixenthanks dgtized
00:59:14dgtizedweird, this is sporiadic: ./vm/test/test_channel.hpp:100: Error: Assertion failed: chan->waiting->empty_p()
00:59:23dgtizedsometimes it works and sometimes it doesn't
00:59:35brixendgtized: yep, got that on ubuntu
00:59:45dgtizedgenerally doesn't work, but sometimes it does
00:59:47brixenI've never seen it on os x (in all the runs I've done)
01:00:08BobFunk enters the room.
01:00:13dgtizedso it's a threading issue on linux only?
01:00:19evandgtized: oh, thats a timer one
01:00:28evandgtized: perhaps we need to make the timer longer?
01:00:34dgtizedk, I'll try it
01:00:35evanthats definitely a test that can behave oddly
01:00:39robin_dewd_ leaves the room.
01:00:43evanline 85
01:00:48evanchange the 0.2 to something like 1
01:01:21robin_dewd__ leaves the room.
01:01:45ezmob leaves the room.
01:01:50robin_dewd__ enters the room.
01:02:46dgtizedwhen I change it to 1 I got this instead: ./vm/test/test_event.hpp:50: Error: Assertion failed: chan.called
01:04:13evanhm.
01:04:24dgtizedwhich is in a different test
01:04:25dgtizedso
01:04:34dgtizedone of those tests is faulty i would say
01:05:04dgtizedor else something in the code being tested is wrong
01:05:06evanwait
01:05:07evanthats strange
01:05:13evanyou changed the one in test_channel to 1?
01:05:17evanand a test_event test fails?
01:05:21dgtizedyea
01:05:31evanoh ha!
01:05:33evanthats a timer one too
01:05:36evanthats set to 0.2
01:05:46evanthats testing the underlying mechanism that channel uses
01:05:50evanthats why
01:05:52evanchange them both to 1
01:06:00evantest_event.hpp:43
01:06:03evanis where you want to change it
01:08:06dgtizedthat doesn't fix the problem in test_event, but it does bleed over into ./vm/test/test_channel.hpp:100: Error: Assertion failed: chan->waiting->empty_p() again
01:08:34dgtizedso if the timer is set to 1 for both then they both fail
01:08:44evanfeels like it's something lower then
01:08:47evanthan a simple race
01:08:54evanthe wait mechanism perhaps
01:09:19dgtizeddunno
01:09:26dgtizedshould I file a ticket?
01:09:38evanyou can
01:09:45evanbut i'm hoping you can help debug it
01:09:55evansince it seems like you're the one seeing it
01:10:08evani can try to duplicate it on my linux system
01:10:16dgtizedbrixen: said he saw this on ubuntu in general, but yea I can help
01:10:31evanok, let me try it on my linux box
01:10:55dgtizedk
01:11:34obvio171 enters the room.
01:11:46dgtizedthat or we can try it again tommorow, I'm pretty exhauste today
01:12:11evanno prob
01:12:16evango ahead and open the ticket.
01:12:27evanevidence of it
01:12:50evanso there is evidence of it
01:12:51evanrather.
01:13:03evanwow, I forgot the whole start of that sentence
01:13:04twbray_ leaves the room.
01:13:47chris2 leaves the room.
01:17:59ezmobius_ leaves the room.
01:17:59ezmobius leaves the room.
01:19:21jbarnette leaves the room.
01:20:52binary42 leaves the room.
01:21:07imajes_ enters the room.
01:23:06drbrainhttp://rafb.net/p/FvU6W598.html
01:23:26drbrainyay!
01:23:27evanyep
01:23:38evanwhats in plus.rb?
01:23:46drbrainhow do I attempt to load the kernel
01:23:50CIA-20* Silence message unless verbose.; dfedba5 - Eric Hodel
01:23:51drbrain"Kernel.puts 1 + 1
01:23:54drbrain"
01:24:06evanset ROOT=runtime
01:24:16obvio171 leaves the room.
01:25:21drbrainsweet, that gives me vm_stats, load_library, reset_method_cache, save_encloser_path, restore_encloser_path, machine_new, machine_join, machine_get_message, machine_send_message
01:25:32evana lot more
01:25:34evanshould give you all of them
01:25:39drbrainyeah
01:25:44drbrainthose are at the bottom
01:25:46evani used that output to populate tracker
01:26:08evanbtw, don't do the encloser_path ones
01:26:11evanthey're not needed anymore
01:26:16evanthats why I didn't enter them into tracker
01:26:24drbrainok
01:26:41drbrainwhat's this [Added method blah] output for?
01:26:57drbraincan we turn that off by default?
01:33:54evansure
01:34:00evanit's coming via a Task probe
01:34:09evanso turn it off in the probe class
01:35:21lstoll leaves the room.
01:35:25imajes_ leaves the room.
01:42:35imajes_ enters the room.
01:43:18qrush enters the room.
01:51:44imajes_ leaves the room.
01:55:40jtoy enters the room.
02:11:17heycarsten enters the room.
02:20:35antares leaves the room.
02:34:08ijcd leaves the room.
02:36:58yugui enters the room.
02:37:21yugui leaves the room.
02:37:40yugui enters the room.
02:38:29binary42 enters the room.
02:41:15c0sin leaves the room.
02:43:22lstoll enters the room.
02:52:31binary011010 enters the room.
02:53:01binary011010 leaves the room.
02:56:11binary42 leaves the room.
03:02:57BobFunk leaves the room.
03:03:57ndemonner enters the room.
03:15:43brapse enters the room.
03:17:08twbray enters the room.
03:25:44fbuilesv enters the room.
03:29:30twbray leaves the room.
03:35:04qrush leaves the room.
03:35:10qrush enters the room.
03:38:59AndrewO enters the room.
03:40:02twbray enters the room.
03:40:27robin_dewd__ leaves the room.
03:43:55heycarsten leaves the room.
03:44:01headius enters the room.
03:48:13mernen enters the room.
03:54:18mernenon the cpp branch I get 493 tests on a mac, but 429 on ubuntu... anyone knows if there's a reason for that?
04:00:55benburkert enters the room.
04:11:06robin_dewd enters the room.
04:15:03benburkert leaves the room.
04:15:15shanghaililly enters the room.
04:15:30headius_ enters the room.
04:15:30headius leaves the room.
04:17:08shanghaililly leaves the room.
04:20:30benburkert enters the room.
04:22:19headius_ leaves the room.
04:24:53headius enters the room.
04:28:09headius leaves the room.
04:46:52nari enters the room.
05:02:15headius enters the room.
05:29:49AndrewO leaves the room.
05:49:06qrush leaves the room.
06:02:15headius leaves the room.
06:02:35wyhaines leaves the room.
06:05:14jtoy leaves the room.
06:05:50jtoy enters the room.
06:07:32binary42 enters the room.
06:10:30lchin enters the room.
06:10:47benburkert leaves the room.
06:20:26lstoll_ enters the room.
06:27:40lstoll leaves the room.
06:30:41limux leaves the room.
06:36:51brapse leaves the room.
06:41:52keisukefukuda enters the room.
06:46:42keisukef_ enters the room.
06:47:19keisukefukuda leaves the room.
06:48:17mernen leaves the room.
06:56:02twbray leaves the room.
07:04:27mutle leaves the room.
07:15:26mutle enters the room.
07:16:23lchin leaves the room.
07:26:28antares enters the room.
07:29:16lchin enters the room.
07:36:03BlackEdder enters the room.
07:36:06lchin leaves the room.
07:38:27blakewatters enters the room.
07:42:11lchin enters the room.
07:42:44limux enters the room.
07:45:48nari leaves the room.
08:01:04blakewatters leaves the room.
08:15:57lstoll leaves the room.
08:20:40brixendrbrain: "A Ruby file has can be run by the VM" ?
08:20:43brixenheh
08:23:20twbray enters the room.
08:45:22Maledictus enters the room.
08:48:35dbussinkbrixen: i bet it's on purpose ;)
08:54:43brixenwell, it's certainly more clear now :P
08:55:16CIA-20* Annotated object_get|set_ivar primitives.; dfc4741 - Brian Ford
09:06:38octopod enters the room.
09:25:48edwardam_ enters the room.
09:27:04edwardam leaves the room.
09:27:44twbray leaves the room.
09:27:47keisukef_ leaves the room.
09:48:43edwardam_ leaves the room.
09:48:56edwardam enters the room.
09:49:13michalw enters the room.
09:57:24BobFunk enters the room.
10:03:16antares leaves the room.
10:03:43jicksta leaves the room.
10:06:50thehcdreamer enters the room.
10:08:47yugui leaves the room.
10:20:00chris2 enters the room.
10:22:34lstoll enters the room.
10:23:57michalw leaves the room.
10:30:50edwardam leaves the room.
10:32:20edwardam enters the room.
10:39:00edwardam leaves the room.
10:43:42nari enters the room.
10:54:35aotearoa leaves the room.
10:54:36BobFunk leaves the room.
10:58:29aotearoa enters the room.
11:01:09thehcdreamer leaves the room.
11:04:34mutle_ enters the room.
11:11:51jicksta enters the room.
11:13:06BobFunk enters the room.
11:19:07jtoy leaves the room.
11:23:25thehcdreamer enters the room.
11:23:39antares_ enters the room.
11:24:10mutle leaves the room.
11:37:36lopex enters the room.
11:44:05NoKarma enters the room.
11:48:23yasuhito enters the room.
11:55:15sethbc leaves the room.
11:59:32gnufied enters the room.
12:01:37yasuhito leaves the room.
12:08:18cientifico_es enters the room.
12:13:28yasuhito enters the room.
12:24:55qrush enters the room.
12:25:01lopex leaves the room.
12:34:57keisukefukuda enters the room.
12:54:23qrush leaves the room.
12:54:45qrush enters the room.
12:57:39cientifico_esHi
12:57:44cientifico_esi have a small question
12:58:08cientifico_esi'm comparing jruby ruby1.8 ruby1.9 and rubinius
12:58:20cientifico_eswith a thereaded application from merb
12:58:26cientifico_esone file merb application
12:58:47cientifico_esrbx gem1.8 install merb-core is the best way to install that gem?
12:59:03cientifico_esi compile rubinius 5 minuts ago
12:59:14cientifico_esand i don't know too much
13:06:24antares enters the room.
13:07:02dbussinkshould be rbx gem install
13:10:59cientifico_esi have jruby installed
13:11:00cientifico_esand
13:11:11cientifico_esguillermo@esther:~$ which gem
13:11:21cientifico_es /opt/jruby-1.1.3/bin/gem
13:11:24dbussinkdid you install rubinius?
13:11:31cientifico_esyes
13:11:38cientifico_esPREFIX=/usr/local rake build
13:11:40dbussinkthen rbx gem install should work
13:11:52dbussinkif you did rake install too
13:11:56cientifico_esyes
13:12:07cientifico_esPREFIX=/usr/local rake install
13:12:46cientifico_esok
13:12:47cientifico_esthanks
13:16:14cientifico_eshttp://pastie.org/253518
13:16:21cientifico_esthese is a standar lib
13:16:25cientifico_esextlib
13:16:34cientifico_esextlib-0.9.4
13:16:42sethbc enters the room.
13:16:45cientifico_esthat runs well with ruby1.8 and 1.9
13:16:45shame leaves the room.
13:16:57cientifico_essomebody know how to fix these?
13:17:03thehcdreamer leaves the room.
13:19:13dbussinklooks like we have a parser bug
13:19:25dbussinkyou can file a bug report on the lighthouse tracker
13:19:31shame enters the room.
13:20:22cientifico_esok
13:22:11NorggThat line doesn't parse for me in matz irb.
13:22:22qrush leaves the room.
13:23:41cientifico_esi'll check it again
13:23:49blakewatters enters the room.
13:26:21blakewatters leaves the room.
13:43:12w1rele55 leaves the room.
13:44:18lchin leaves the room.
13:45:36BobFunk leaves the room.
13:45:59w1rele55 enters the room.
14:04:09jtoy enters the room.
14:06:51pauldix enters the room.
14:07:06pauldix leaves the room.
14:07:19pauldix enters the room.
14:08:43headius enters the room.
14:10:07headius leaves the room.
14:10:07headius_ enters the room.
14:14:08BobFunk enters the room.
14:17:41shame leaves the room.
14:18:50keisukefukuda leaves the room.
14:21:20ch0wda enters the room.
14:28:15headius leaves the room.
14:29:02headius enters the room.
14:32:39brainopia enters the room.
14:32:50brainopia leaves the room.
14:39:47binary42 leaves the room.
14:40:23moofbong enters the room.
14:42:06lstoll leaves the room.
14:43:45headius leaves the room.
14:44:23moofbong_ enters the room.
14:45:13sethbc leaves the room.
14:56:36blakewatters enters the room.
14:58:55benburkert enters the room.
14:59:31gnufied leaves the room.
15:01:15pauldix leaves the room.
15:02:21BobFunk leaves the room.
15:05:06joachimm_ enters the room.
15:05:26moofbong leaves the room.
15:08:37antares_ leaves the room.
15:08:48joachimm leaves the room.
15:09:51sethbc enters the room.
15:11:32binary42 enters the room.
15:14:02wmoxam enters the room.
15:15:23AndrewO enters the room.
15:18:29wyhaines enters the room.
15:18:29lorenzod8n enters the room.
15:18:36bricolage enters the room.
15:21:34sethbc leaves the room.
15:24:15jackdempsey enters the room.
15:27:21shame enters the room.
15:29:53NoKarma enters the room.
15:39:23heycarsten enters the room.
15:48:41pauldix enters the room.
15:52:16pauldix leaves the room.
15:58:21brapse enters the room.
16:06:44sethbc enters the room.
16:06:56BobFunk enters the room.
16:07:46moofbong enters the room.
16:11:35moofbong leaves the room.
16:11:49moofbong enters the room.
16:12:09jackdempsey leaves the room.
16:14:47moofbong_ leaves the room.
16:22:32moofbong leaves the room.
16:24:11twbray enters the room.
16:26:07keisukefukuda enters the room.
16:28:59keisukefukuda leaves the room.
16:42:47twbray leaves the room.
16:45:57twbray enters the room.
16:50:10twbray leaves the room.
16:53:10botanicus enters the room.
16:55:57jaywhy enters the room.
16:58:02sethbc leaves the room.
17:18:27twbray enters the room.
17:27:16BobFunk leaves the room.
17:27:46BobFunk enters the room.
17:28:56BobFunk leaves the room.
17:29:47nari leaves the room.
17:32:43benny leaves the room.
17:45:11mernen enters the room.
17:48:35brapse leaves the room.
17:52:27yasuhito leaves the room.
17:57:44yasuhito enters the room.
17:58:08BobFunk enters the room.
18:00:02bricolage leaves the room.
18:02:10shayarnett enters the room.
18:02:35loop leaves the room.
18:02:43yasuhito leaves the room.
18:05:23BobFunk leaves the room.
18:15:50CIA-20 leaves the room.
18:16:06ijcd enters the room.
18:17:55pauldix enters the room.
18:24:31octopod leaves the room.
18:26:56bricolage enters the room.
18:29:35joachimm enters the room.
18:30:38joachimm_ leaves the room.
18:31:34taf2_ leaves the room.
18:33:04c0sin enters the room.
18:33:15jtoy leaves the room.
18:47:49CIA-20 enters the room.
19:00:39dmpk2k leaves the room.
19:01:18mernen leaves the room.
19:04:15drbrainplease review: http://rafb.net/p/zHkCPG12.html
19:06:05zenspiderlooks good. the only one I'm not sure about is the last chunk.
19:06:08evandrbrain: get rid of the throw()
19:06:27drbrainI'd like to, but it won't compile without it
19:06:52evandrbrain: thats strange
19:06:55evanwhat error do you get?
19:07:04evanwe don't have throw() statements on anything up to now
19:07:21drbrainok, weird, it worked now
19:07:51drbrainI was getting complaints about not throwing the same stuff when I didn't have a throw in sight
19:08:19evanstrange
19:08:24evanwell, if it's gone, thats good.
19:18:04headius enters the room.
19:19:11bricolage leaves the room.
19:21:05evandrbrain: my other comment would be that no other code that uses env var as toggles checks the value of the env var
19:21:21evaneverything else just uses 'if(getenv("BLAH"))
19:21:23enebo enters the room.
19:21:28drbrainwell, I pushed it
19:21:29bricolage enters the room.
19:21:34evanok.
19:21:34drbrainbut I'll fix that up
19:21:41evani'd just prefer we stay consistent
19:22:29NoKarma enters the room.
19:29:42gnufied enters the room.
19:36:27mutle leaves the room.
19:38:29taf2 enters the room.
19:41:16lorenzod8n leaves the room.
19:44:30ezmob enters the room.
19:45:24heycarsten leaves the room.
19:45:35mutle enters the room.
19:55:21edwardam enters the room.
20:00:34heycarsten enters the room.
20:08:24ezmob leaves the room.
20:19:58gnufied_ enters the room.
20:20:15gnufied leaves the room.
20:20:26joachimm_ enters the room.
20:21:25ezmob enters the room.
20:27:45joachimm leaves the room.
20:29:15headius_ enters the room.
20:29:15headius leaves the room.
20:42:54antares enters the room.
20:45:54chris2 leaves the room.
20:53:54zenspiderwe're compiling .rb files now?
20:54:55evanzenspider: we have been for a while
20:55:00evannot sure what ya mean
20:55:04headius enters the room.
20:55:13zenspiderin the cpp branch?
20:56:33evaneric wired it up doing so
20:56:42evanit doesn't compile in rubinius though
20:56:51evanit's using the MRI based compiler
20:56:55evanusing PT
20:58:50zenspideryeah. he's hooking me up
20:59:23zenspiderso this is using my parse_tree, not the mangled one in rbx?
20:59:33evanyours
20:59:54zenspiderhrm
20:59:54drbrainevan updated it yesterday for 2.2.0 with me
21:00:06evanI made lib/compiler/nodes.rb flexible enough
21:00:16evanto understand the rbx sexp's and PT sexps
21:00:18zenspiderthat means if I add newline nodes to ruby_parser...
21:00:35evanthen you can feed the output to compiler, yep.
21:00:41evanzenspider: actually
21:00:49evanwe should fuck newline nodes
21:00:53zenspiderI'm essentially done defining the new UnifiedRuby sexp format... I'd like us to move to that
21:00:56evanand stick position information on each sexp
21:01:00zenspiderkk
21:01:19zenspideryup. I'd much rather do that, but it is potentially more work
21:01:21evannewline nodes will never be 100% correct
21:01:25zenspidermore worthwhile tho
21:01:33zenspiderthat'll be part of the UR standard too
21:01:41zenspiderwell, neither will the info in each sexp
21:01:47zenspiderbut you'll have more resolution
21:01:49evani've fine moving to a UR sexp
21:02:10drbrainposition information like Ripper, or like 1.8?
21:02:14evanzenspider: MRI's emittion of newline nodes is haphazard
21:02:18zenspidershould I move us on both branches?
21:02:18drbrainRipper information has character offsets
21:02:25evanit doesn't emit them every newline
21:02:53zenspiderevan: it isn't haphazard, it is a fucking joke... he uses it as a dummy node whenever he wants to hide a layer
21:03:00zenspiderdrbrain: I was thinking line/col/file
21:03:05evanzenspider: well, how would you do it on master?
21:03:06zenspideris ripper pure offset?
21:03:19drbrainI think it's line/col
21:03:20evanadd a conversion layer between sexp emittion and the compiler?
21:03:47zenspiderevan: either that or change the sexp emitter... not fun tho
21:03:53zenspiderprolly the former
21:04:03drbrainyeah, line/col
21:04:05zenspiderbut if we don't need compatibility between the two, it isn't a biggie
21:04:10zenspiderI'll just do cpp
21:04:18zenspiderwe can do master later if we want to
21:04:18evanyeah, i don't think we need compat right now
21:04:24zenspiderdrbrain: kk. that's what I was thinking
21:04:29zenspiderk
21:04:34drbrainhttp://rafb.net/p/Jc0ewy62.html
21:04:37evanif each sexp had just file/line
21:04:44evanwe'd be 100000% better than using newline nodes
21:04:47zenspiderok. I'm gonna shower and then head out to vivace. the walk and air should help
21:04:52evanzenspider: k.
21:04:53zenspideryup yup
21:05:05evancol is a bonus
21:05:41zenspidercol should be totally doable since I have to shim stringio and scanner to track newlines
21:05:50botanicus_ enters the room.
21:06:02botanicus leaves the room.
21:06:04evancol would help radically improve syntax error reporting too
21:06:13evanthats something else to consider for ruby_parser
21:06:15evandown the line
21:06:54evanproviding enough info to give more intelligent syntax errors
21:06:57twbray leaves the room.
21:08:05headius_ leaves the room.
21:09:45dmpk2k enters the room.
21:16:07brixendrbrain: you might review df526518 for wording, "A Ruby file has can be run by..."
21:16:18brixenalso, I think the vm/vm way of running should stay in the readme
21:16:23drbrainhehe
21:16:26brixenit's much less to type than rake run_ruby...
21:16:49drbrainI've noted it a bit farther down with the PROBE bit
21:16:53brixenk
21:17:48brixenwe don't have a LH page on how to build/run the C++ stuff it seems
21:17:52brixenI wonder if we should add that?
21:18:13brixena Getting Started C++ or something
21:18:59drbrainproblem is, it's pretty much unusable by all but the most hardcore
21:19:48brixentrue, but the visibility would be good I think
21:23:41botanicus enters the room.
21:24:19botanicus__ enters the room.
21:25:22shayarnett leaves the room.
21:25:45blakewatters leaves the room.
21:28:28brixenevan: ping re lh 678 and the ML thread on FFI v1.0
21:28:42brixenevan: I think meissner is waiting on feedback from you
21:29:02evanoh.
21:29:04evancrap.
21:29:04evanok.
21:30:00evanoh, huh.
21:30:04evanI thought I responded to that...
21:35:44botanicus___ enters the room.
21:36:55CIA-20* Disable probe printing by default, use PROBE env var to enable.; f9ea1c7 - Eric Hodel
21:38:37botanicus_ leaves the room.
21:38:41gnufied_ leaves the room.
21:39:04vintrepid enters the room.
21:42:13botanicus leaves the room.
21:42:23botanicus__ leaves the room.
21:42:28drbrainis there a way to get more information than:
21:42:37drbrain Tried to use object of type Module (32) as type Class (9)
21:43:13drbrainwhile we may be unable to resolve primitive yield_gdb, I'm fairly certain we're not actually trying to use it
21:44:07drbrainbasically, I'm trying to shove a spear through this thing to see if I can make a hole in it big enough to see light through
21:44:24zenspiderhow poetic
21:44:34drbrainour list is nice, but it's not particularly useful yet
21:44:54brixendrbrain: you can load individual (some) kernel files
21:45:10brixeninstead of trying the whole kernel at once
21:45:17drbrainyeah, I'm loading up the kernel
21:45:30drbrainbut, this TypeError seems wrong
21:46:02botanicus enters the room.
21:47:08drbraintrying to figure this out from nine potential places isn't as nice as if it would tell me what it was trying to do
21:48:20evandrbrain: load it into gdb.
21:48:28evanrun 'catch throw'
21:48:33evanthen run your stuff
21:48:45evancontinue until you see a TypeError
21:48:47drbrainok
21:49:15evanyou'll be stopped at where the exception is thrown from
21:49:21evanyou can inspect away at that point
21:49:29evanto see a ruby backtrace
21:49:31evanrun
21:49:35evanp __printbt__(state)
21:49:39drbrainis there a way to automate this?
21:49:40evanwhere state is in scope
21:49:44evannot that I know of
21:49:48evanwhat do you want to automate?
21:50:13drbrainprinting out a cpp backtrace when rescuing a cpp exception
21:50:19drbrainthat would be immensely helpful
21:50:21evanno
21:50:25evanbecause cpp doesn't have that
21:50:30evanexceptions in C++ don't have a backtrace
21:50:45drbraincan we record the stack?
21:50:53evanthe C stack?
21:50:59evani've tried to do that before
21:51:04evanit's very hit or miss
21:51:04drbrainsure, or the ruby stack
21:51:08evanmiss mostly
21:51:16evanbut we could attempt that again
21:51:35evanthe ruby stack is easy
21:51:48evanyou don't really need to save it
21:51:53evanyou can still do __printbt__(state)
21:51:57evanat the top level
21:54:23brixenwe should add that to the readme-c++
21:54:37brixendrbrain: do you want to? since I assume you'll explain it better :P
21:54:52drbrainI am
21:54:59brixensweet
21:55:27twbray enters the room.
21:56:01drbrainevan: is it alright if I continue with my spearthrust instead of primitives, should I need to do non-primitive work?
21:56:10drbrainfor example, my TypeError comes from Task::open_class
21:56:16evanI wish I could find the code/framework that apple uses for the CrashReporter
21:56:39evandrbrain: steamroll away
21:56:46evani call that steamrolling
21:56:54drbrain /System/Library/PrivateFrameworks/CrashReporterSupport.framework
21:57:09drbrainor do you want documentation?
21:57:12evandrbrain: now where are the header files?
21:57:14evanor the docs?
21:57:15drbrainactually, look in LimeChat
21:57:31evanLimeChat gives you backtraces in C?
21:57:33drbrainpsychs has his own CrashReporter-esque tool in there
21:57:38drbrainI think so
21:57:54drbrainI think it uses CrashReporter to get at them
21:58:07drbrainoccasionally it crashes on my when switching networks
21:58:16evanok, looking.
22:01:33evandrbrain: it's called SACrashReporter
22:01:35evanappears to be just ruby
22:02:28drbrainI wonder if there's something you set to have an app save it's crash log
22:02:35drbrainthen you just parse out bits of information later
22:03:43evancoredump style?
22:04:01evanwell, i know apples CrashReporter can walk the C stack
22:04:05evanand give you detailed backtrace
22:04:16evanit's just a manner of hooking into it
22:05:27drbrainLimeChat doesn't give you the "oh, it crashed" dialog until the next start up
22:05:35drbrainwhich makes me think it's storing off the crash log somewhere
22:05:46evanit is
22:05:48evanI read the code
22:05:55evanit manually stored it into the crashreporter directory
22:05:58evanok, this is funny
22:06:09evancrashreporter is running on all processes
22:06:15evanwhich means it already runs on vm and test/runner
22:06:22evani checked my CrashReport/ directory
22:06:27evanand i've got a ton of reports for it
22:06:31evaner. for them :)
22:06:37evanand they've all got backtraces in them.
22:06:41evanso I know it can do it
22:08:21drbrainyeah
22:09:16evanhm
22:09:28evanone option is to force segfault the process
22:09:39evanand set the CrashReporterPref to Developer
22:09:45evanit will pop up a crash dialog for any crash then
22:09:57evanthat might get annoying though
22:11:59vintrepid leaves the room.
22:14:12bricolage leaves the room.
22:16:20botanicus___ leaves the room.
22:17:15antares leaves the room.
22:22:01evandrbrain: oh. 10.5 included backtrace()
22:22:11evanlet me see about wiring that in...
22:27:49headius leaves the room.
22:28:49headius enters the room.
22:35:55tmornini enters the room.
22:36:53tmornini leaves the room.
22:37:14tmornini enters the room.
22:38:11twbray leaves the room.
22:38:49tmornini leaves the room.
22:38:59tmornini enters the room.
22:44:18NoKarma enters the room.
22:47:13NoKarma leaves the room.
22:51:03evandrbrain: ah ha!
22:51:04evani got it working.
22:51:11evanfound some code snippits online
22:51:17evanworked the important bits out
22:51:26evani can now generate a C++ backtrace with demangling
22:51:59brixensweet
22:52:01headius leaves the room.
22:52:14evanapple's backtrace() doesn't resolve line numbers though
22:52:21evanso you get stuff like
22:52:30evan0x000033d7 Blah::show() + 25
22:52:44evanbetter than nothing though.
22:53:41drbrainyeah
23:00:20headius enters the room.
23:03:08mutle_ enters the room.
23:03:33NoKarma enters the room.
23:03:58nitay enters the room.
23:05:46mutle leaves the room.
23:08:15BobFunk enters the room.
23:08:33pauldix leaves the room.
23:17:22nitay leaves the room.
23:20:59tmornini leaves the room.
23:21:11Maledictus leaves the room.
23:25:51vintrepid enters the room.
23:27:33vintrepid leaves the room.
23:45:03headius leaves the room.
23:46:17benny enters the room.
23:47:51wmoxam leaves the room.
23:48:37heycarsten leaves the room.
23:54:15botanicus leaves the room.
23:55:49lstoll enters the room.
23:58:02jackdempsey_ enters the room.