Show enters and exits. Hide enters and exits.
| 00:00:29 | drbrain | SWEEEEEET! |
| 00:02:16 | yasuhito enters the room. | |
| 00:02:47 | yasuhito leaves the room. | |
| 00:05:40 | benburkert leaves the room. | |
| 00:07:13 | evan | drbrain: ? |
| 00:07:28 | drbrain | I added rake run_ruby |
| 00:08:03 | evan | whats it do? |
| 00:08:18 | drbrain | compiles and runs a .rb file with the vm |
| 00:08:32 | drbrain | so I can figure out what to work on |
| 00:08:40 | evan | the tasks aren't helping? |
| 00:08:53 | drbrain | this helps me pick tasks |
| 00:09:13 | evan | hows it running the file? |
| 00:09:19 | evan | are you setting ROOT= |
| 00:09:19 | evan | ? |
| 00:09:34 | evan | or are you just building up from raw files |
| 00:09:38 | drbrain | it follows the instructions from README-C++ |
| 00:09:59 | evan | ok |
| 00:10:05 | drbrain | so if they instructions in README-C++ are wrong, then it does it wrong |
| 00:10:11 | evan | thats not wrong |
| 00:10:20 | evan | you can certainly do that |
| 00:10:23 | evan | but no kernel will be loaded. |
| 00:10:30 | evan | which you probably want right now |
| 00:10:39 | evan | since the kernel doesn't load right now. |
| 00:20:11 | ezmobius_ enters the room. | |
| 00:23:39 | edwardam_ enters the room. | |
| 00:24:52 | edwardam leaves the room. | |
| 00:28:11 | ezmob enters the room. | |
| 00:30:48 | enebo_ enters the room. | |
| 00:32:04 | enebo_ leaves the room. | |
| 00:33:41 | aotearoa leaves the room. | |
| 00:38:05 | atmos leaves the room. | |
| 00:38:29 | yasuhito enters the room. | |
| 00:39:42 | yasuhito leaves the room. | |
| 00:41:41 | blakewatters leaves the room. | |
| 00:42:39 | robin_dewd_ enters the room. | |
| 00:43:48 | aotearoa enters the room. | |
| 00:43:50 | robin_dewd__ enters the room. | |
| 00:45:43 | drbrain | ok, checked in now |
| 00:45:50 | CIA-20 | * Fix module name lookup to match corrected ParseTree. pair: Evan; 89d7346 - Eric Hodel |
| 00:45:55 | CIA-20 | * Add compile_ruby and run_ruby tasks to make it easier to run ruby files.; df52651 - Eric Hodel |
| 00:46:01 | CIA-20 | * Rip out irrelevant parts of the Rakefile; 90ffc92 - Eric Hodel |
| 00:50:28 | CIA-20 | * Added Symbol::all_symbols primitive and fixed up Ruby Symbol code.; 58105ff - Brian Ford |
| 00:50:39 | brixen | evan: I believe SymbolTable is finally done |
| 00:50:48 | evan | huzzah! |
| 00:50:55 | brixen | I kept VM::symbol, but not the others |
| 00:51:01 | brixen | since they were only used in Symbol and String |
| 00:51:03 | evan | cool |
| 00:51:17 | brixen | when is the moratorium on inline functions lifting? |
| 00:51:30 | evan | some time in the future |
| 00:51:33 | brixen | k |
| 00:51:33 | evan | not yet determined |
| 00:51:39 | evan | i was thinking about that actually |
| 00:51:50 | yugui leaves the room. | |
| 00:51:51 | evan | because we use LLVM as a toolchain to build the VM too |
| 00:51:55 | evan | we don't need to at all |
| 00:51:57 | evan | it will do it for us |
| 00:52:04 | evan | because it can inline across object files |
| 00:52:20 | brixen | true |
| 00:52:56 | brixen | and it can optimize across runs. is that enabled by default or do you have to specify? |
| 00:53:07 | tarcieri | evan: that's sweet |
| 00:53:07 | brixen | er enable it specifically |
| 00:53:22 | evan | brixen: is which enabled by default? |
| 00:53:34 | brixen | it can save profile info across runs iirc |
| 00:53:46 | brixen | across runs of the executable |
| 00:54:13 | evan | i don't think so |
| 00:54:15 | robin_dewd leaves the room. | |
| 00:54:19 | evan | i haven't played with that though |
| 00:54:38 | evan | you've played briefly with profile guided optimization in plain gcc |
| 00:54:44 | evan | it's a pain to get setup |
| 00:54:55 | evan | because LLVM has a much better middle and backend, it should be easier |
| 00:55:14 | brixen | cool |
| 00:55:18 | dgtized | VM::symbol fails to compile in vm.hpp header unless I strip off the VM:: part |
| 00:55:24 | evan | ie, 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:37 | evan | dgtized: ga! that one again. |
| 00:55:51 | evan | I should figure out if I can get apple's g++ to warn about that |
| 00:55:56 | brixen | dgtized: oops, my bad |
| 00:56:03 | brixen | I'll push a fix right quick |
| 00:56:12 | brixen | I reverted my inlined function but didn't fix the declaration |
| 00:56:20 | dgtized | k, I mean I'm just waiting for it to finish testing I can push the fix |
| 00:57:17 | brixen | dgtized: ah ok, I'll let ya push it then |
| 00:57:46 | dgtized | done |
| 00:57:47 | CIA-20 | * made gcc 4.2.3 happy by removing VM::; cdcf3ac - Charles Comstock |
| 00:58:16 | NoKarma leaves the room. | |
| 00:58:24 | brixen | thanks dgtized |
| 00:59:14 | dgtized | weird, this is sporiadic: ./vm/test/test_channel.hpp:100: Error: Assertion failed: chan->waiting->empty_p() |
| 00:59:23 | dgtized | sometimes it works and sometimes it doesn't |
| 00:59:35 | brixen | dgtized: yep, got that on ubuntu |
| 00:59:45 | dgtized | generally doesn't work, but sometimes it does |
| 00:59:47 | brixen | I've never seen it on os x (in all the runs I've done) |
| 01:00:08 | BobFunk enters the room. | |
| 01:00:13 | dgtized | so it's a threading issue on linux only? |
| 01:00:19 | evan | dgtized: oh, thats a timer one |
| 01:00:28 | evan | dgtized: perhaps we need to make the timer longer? |
| 01:00:34 | dgtized | k, I'll try it |
| 01:00:35 | evan | thats definitely a test that can behave oddly |
| 01:00:39 | robin_dewd_ leaves the room. | |
| 01:00:43 | evan | line 85 |
| 01:00:48 | evan | change the 0.2 to something like 1 |
| 01:01:21 | robin_dewd__ leaves the room. | |
| 01:01:45 | ezmob leaves the room. | |
| 01:01:50 | robin_dewd__ enters the room. | |
| 01:02:46 | dgtized | when I change it to 1 I got this instead: ./vm/test/test_event.hpp:50: Error: Assertion failed: chan.called |
| 01:04:13 | evan | hm. |
| 01:04:24 | dgtized | which is in a different test |
| 01:04:25 | dgtized | so |
| 01:04:34 | dgtized | one of those tests is faulty i would say |
| 01:05:04 | dgtized | or else something in the code being tested is wrong |
| 01:05:06 | evan | wait |
| 01:05:07 | evan | thats strange |
| 01:05:13 | evan | you changed the one in test_channel to 1? |
| 01:05:17 | evan | and a test_event test fails? |
| 01:05:21 | dgtized | yea |
| 01:05:31 | evan | oh ha! |
| 01:05:33 | evan | thats a timer one too |
| 01:05:36 | evan | thats set to 0.2 |
| 01:05:46 | evan | thats testing the underlying mechanism that channel uses |
| 01:05:50 | evan | thats why |
| 01:05:52 | evan | change them both to 1 |
| 01:06:00 | evan | test_event.hpp:43 |
| 01:06:03 | evan | is where you want to change it |
| 01:08:06 | dgtized | that 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:34 | dgtized | so if the timer is set to 1 for both then they both fail |
| 01:08:44 | evan | feels like it's something lower then |
| 01:08:47 | evan | than a simple race |
| 01:08:54 | evan | the wait mechanism perhaps |
| 01:09:19 | dgtized | dunno |
| 01:09:26 | dgtized | should I file a ticket? |
| 01:09:38 | evan | you can |
| 01:09:45 | evan | but i'm hoping you can help debug it |
| 01:09:55 | evan | since it seems like you're the one seeing it |
| 01:10:08 | evan | i can try to duplicate it on my linux system |
| 01:10:16 | dgtized | brixen: said he saw this on ubuntu in general, but yea I can help |
| 01:10:31 | evan | ok, let me try it on my linux box |
| 01:10:55 | dgtized | k |
| 01:11:34 | obvio171 enters the room. | |
| 01:11:46 | dgtized | that or we can try it again tommorow, I'm pretty exhauste today |
| 01:12:11 | evan | no prob |
| 01:12:16 | evan | go ahead and open the ticket. |
| 01:12:27 | evan | evidence of it |
| 01:12:50 | evan | so there is evidence of it |
| 01:12:51 | evan | rather. |
| 01:13:03 | evan | wow, I forgot the whole start of that sentence |
| 01:13:04 | twbray_ leaves the room. | |
| 01:13:47 | chris2 leaves the room. | |
| 01:17:59 | ezmobius_ leaves the room. | |
| 01:17:59 | ezmobius leaves the room. | |
| 01:19:21 | jbarnette leaves the room. | |
| 01:20:52 | binary42 leaves the room. | |
| 01:21:07 | imajes_ enters the room. | |
| 01:23:06 | drbrain | http://rafb.net/p/FvU6W598.html |
| 01:23:26 | drbrain | yay! |
| 01:23:27 | evan | yep |
| 01:23:38 | evan | whats in plus.rb? |
| 01:23:46 | drbrain | how do I attempt to load the kernel |
| 01:23:50 | CIA-20 | * Silence message unless verbose.; dfedba5 - Eric Hodel |
| 01:23:51 | drbrain | "Kernel.puts 1 + 1 |
| 01:23:54 | drbrain | " |
| 01:24:06 | evan | set ROOT=runtime |
| 01:24:16 | obvio171 leaves the room. | |
| 01:25:21 | drbrain | sweet, 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:32 | evan | a lot more |
| 01:25:34 | evan | should give you all of them |
| 01:25:39 | drbrain | yeah |
| 01:25:44 | drbrain | those are at the bottom |
| 01:25:46 | evan | i used that output to populate tracker |
| 01:26:08 | evan | btw, don't do the encloser_path ones |
| 01:26:11 | evan | they're not needed anymore |
| 01:26:16 | evan | thats why I didn't enter them into tracker |
| 01:26:24 | drbrain | ok |
| 01:26:41 | drbrain | what's this [Added method blah] output for? |
| 01:26:57 | drbrain | can we turn that off by default? |
| 01:33:54 | evan | sure |
| 01:34:00 | evan | it's coming via a Task probe |
| 01:34:09 | evan | so turn it off in the probe class |
| 01:35:21 | lstoll leaves the room. | |
| 01:35:25 | imajes_ leaves the room. | |
| 01:42:35 | imajes_ enters the room. | |
| 01:43:18 | qrush enters the room. | |
| 01:51:44 | imajes_ leaves the room. | |
| 01:55:40 | jtoy enters the room. | |
| 02:11:17 | heycarsten enters the room. | |
| 02:20:35 | antares leaves the room. | |
| 02:34:08 | ijcd leaves the room. | |
| 02:36:58 | yugui enters the room. | |
| 02:37:21 | yugui leaves the room. | |
| 02:37:40 | yugui enters the room. | |
| 02:38:29 | binary42 enters the room. | |
| 02:41:15 | c0sin leaves the room. | |
| 02:43:22 | lstoll enters the room. | |
| 02:52:31 | binary011010 enters the room. | |
| 02:53:01 | binary011010 leaves the room. | |
| 02:56:11 | binary42 leaves the room. | |
| 03:02:57 | BobFunk leaves the room. | |
| 03:03:57 | ndemonner enters the room. | |
| 03:15:43 | brapse enters the room. | |
| 03:17:08 | twbray enters the room. | |
| 03:25:44 | fbuilesv enters the room. | |
| 03:29:30 | twbray leaves the room. | |
| 03:35:04 | qrush leaves the room. | |
| 03:35:10 | qrush enters the room. | |
| 03:38:59 | AndrewO enters the room. | |
| 03:40:02 | twbray enters the room. | |
| 03:40:27 | robin_dewd__ leaves the room. | |
| 03:43:55 | heycarsten leaves the room. | |
| 03:44:01 | headius enters the room. | |
| 03:48:13 | mernen enters the room. | |
| 03:54:18 | mernen | on 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:55 | benburkert enters the room. | |
| 04:11:06 | robin_dewd enters the room. | |
| 04:15:03 | benburkert leaves the room. | |
| 04:15:15 | shanghaililly enters the room. | |
| 04:15:30 | headius_ enters the room. | |
| 04:15:30 | headius leaves the room. | |
| 04:17:08 | shanghaililly leaves the room. | |
| 04:20:30 | benburkert enters the room. | |
| 04:22:19 | headius_ leaves the room. | |
| 04:24:53 | headius enters the room. | |
| 04:28:09 | headius leaves the room. | |
| 04:46:52 | nari enters the room. | |
| 05:02:15 | headius enters the room. | |
| 05:29:49 | AndrewO leaves the room. | |
| 05:49:06 | qrush leaves the room. | |
| 06:02:15 | headius leaves the room. | |
| 06:02:35 | wyhaines leaves the room. | |
| 06:05:14 | jtoy leaves the room. | |
| 06:05:50 | jtoy enters the room. | |
| 06:07:32 | binary42 enters the room. | |
| 06:10:30 | lchin enters the room. | |
| 06:10:47 | benburkert leaves the room. | |
| 06:20:26 | lstoll_ enters the room. | |
| 06:27:40 | lstoll leaves the room. | |
| 06:30:41 | limux leaves the room. | |
| 06:36:51 | brapse leaves the room. | |
| 06:41:52 | keisukefukuda enters the room. | |
| 06:46:42 | keisukef_ enters the room. | |
| 06:47:19 | keisukefukuda leaves the room. | |
| 06:48:17 | mernen leaves the room. | |
| 06:56:02 | twbray leaves the room. | |
| 07:04:27 | mutle leaves the room. | |
| 07:15:26 | mutle enters the room. | |
| 07:16:23 | lchin leaves the room. | |
| 07:26:28 | antares enters the room. | |
| 07:29:16 | lchin enters the room. | |
| 07:36:03 | BlackEdder enters the room. | |
| 07:36:06 | lchin leaves the room. | |
| 07:38:27 | blakewatters enters the room. | |
| 07:42:11 | lchin enters the room. | |
| 07:42:44 | limux enters the room. | |
| 07:45:48 | nari leaves the room. | |
| 08:01:04 | blakewatters leaves the room. | |
| 08:15:57 | lstoll leaves the room. | |
| 08:20:40 | brixen | drbrain: "A Ruby file has can be run by the VM" ? |
| 08:20:43 | brixen | heh |
| 08:23:20 | twbray enters the room. | |
| 08:45:22 | Maledictus enters the room. | |
| 08:48:35 | dbussink | brixen: i bet it's on purpose ;) |
| 08:54:43 | brixen | well, it's certainly more clear now :P |
| 08:55:16 | CIA-20 | * Annotated object_get|set_ivar primitives.; dfc4741 - Brian Ford |
| 09:06:38 | octopod enters the room. | |
| 09:25:48 | edwardam_ enters the room. | |
| 09:27:04 | edwardam leaves the room. | |
| 09:27:44 | twbray leaves the room. | |
| 09:27:47 | keisukef_ leaves the room. | |
| 09:48:43 | edwardam_ leaves the room. | |
| 09:48:56 | edwardam enters the room. | |
| 09:49:13 | michalw enters the room. | |
| 09:57:24 | BobFunk enters the room. | |
| 10:03:16 | antares leaves the room. | |
| 10:03:43 | jicksta leaves the room. | |
| 10:06:50 | thehcdreamer enters the room. | |
| 10:08:47 | yugui leaves the room. | |
| 10:20:00 | chris2 enters the room. | |
| 10:22:34 | lstoll enters the room. | |
| 10:23:57 | michalw leaves the room. | |
| 10:30:50 | edwardam leaves the room. | |
| 10:32:20 | edwardam enters the room. | |
| 10:39:00 | edwardam leaves the room. | |
| 10:43:42 | nari enters the room. | |
| 10:54:35 | aotearoa leaves the room. | |
| 10:54:36 | BobFunk leaves the room. | |
| 10:58:29 | aotearoa enters the room. | |
| 11:01:09 | thehcdreamer leaves the room. | |
| 11:04:34 | mutle_ enters the room. | |
| 11:11:51 | jicksta enters the room. | |
| 11:13:06 | BobFunk enters the room. | |
| 11:19:07 | jtoy leaves the room. | |
| 11:23:25 | thehcdreamer enters the room. | |
| 11:23:39 | antares_ enters the room. | |
| 11:24:10 | mutle leaves the room. | |
| 11:37:36 | lopex enters the room. | |
| 11:44:05 | NoKarma enters the room. | |
| 11:48:23 | yasuhito enters the room. | |
| 11:55:15 | sethbc leaves the room. | |
| 11:59:32 | gnufied enters the room. | |
| 12:01:37 | yasuhito leaves the room. | |
| 12:08:18 | cientifico_es enters the room. | |
| 12:13:28 | yasuhito enters the room. | |
| 12:24:55 | qrush enters the room. | |
| 12:25:01 | lopex leaves the room. | |
| 12:34:57 | keisukefukuda enters the room. | |
| 12:54:23 | qrush leaves the room. | |
| 12:54:45 | qrush enters the room. | |
| 12:57:39 | cientifico_es | Hi |
| 12:57:44 | cientifico_es | i have a small question |
| 12:58:08 | cientifico_es | i'm comparing jruby ruby1.8 ruby1.9 and rubinius |
| 12:58:20 | cientifico_es | with a thereaded application from merb |
| 12:58:26 | cientifico_es | one file merb application |
| 12:58:47 | cientifico_es | rbx gem1.8 install merb-core is the best way to install that gem? |
| 12:59:03 | cientifico_es | i compile rubinius 5 minuts ago |
| 12:59:14 | cientifico_es | and i don't know too much |
| 13:06:24 | antares enters the room. | |
| 13:07:02 | dbussink | should be rbx gem install |
| 13:10:59 | cientifico_es | i have jruby installed |
| 13:11:00 | cientifico_es | and |
| 13:11:11 | cientifico_es | guillermo@esther:~$ which gem |
| 13:11:21 | cientifico_es | /opt/jruby-1.1.3/bin/gem |
| 13:11:24 | dbussink | did you install rubinius? |
| 13:11:31 | cientifico_es | yes |
| 13:11:38 | cientifico_es | PREFIX=/usr/local rake build |
| 13:11:40 | dbussink | then rbx gem install should work |
| 13:11:52 | dbussink | if you did rake install too |
| 13:11:56 | cientifico_es | yes |
| 13:12:07 | cientifico_es | PREFIX=/usr/local rake install |
| 13:12:46 | cientifico_es | ok |
| 13:12:47 | cientifico_es | thanks |
| 13:16:14 | cientifico_es | http://pastie.org/253518 |
| 13:16:21 | cientifico_es | these is a standar lib |
| 13:16:25 | cientifico_es | extlib |
| 13:16:34 | cientifico_es | extlib-0.9.4 |
| 13:16:42 | sethbc enters the room. | |
| 13:16:45 | cientifico_es | that runs well with ruby1.8 and 1.9 |
| 13:16:45 | shame leaves the room. | |
| 13:16:57 | cientifico_es | somebody know how to fix these? |
| 13:17:03 | thehcdreamer leaves the room. | |
| 13:19:13 | dbussink | looks like we have a parser bug |
| 13:19:25 | dbussink | you can file a bug report on the lighthouse tracker |
| 13:19:31 | shame enters the room. | |
| 13:20:22 | cientifico_es | ok |
| 13:22:11 | Norgg | That line doesn't parse for me in matz irb. |
| 13:22:22 | qrush leaves the room. | |
| 13:23:41 | cientifico_es | i'll check it again |
| 13:23:49 | blakewatters enters the room. | |
| 13:26:21 | blakewatters leaves the room. | |
| 13:43:12 | w1rele55 leaves the room. | |
| 13:44:18 | lchin leaves the room. | |
| 13:45:36 | BobFunk leaves the room. | |
| 13:45:59 | w1rele55 enters the room. | |
| 14:04:09 | jtoy enters the room. | |
| 14:06:51 | pauldix enters the room. | |
| 14:07:06 | pauldix leaves the room. | |
| 14:07:19 | pauldix enters the room. | |
| 14:08:43 | headius enters the room. | |
| 14:10:07 | headius leaves the room. | |
| 14:10:07 | headius_ enters the room. | |
| 14:14:08 | BobFunk enters the room. | |
| 14:17:41 | shame leaves the room. | |
| 14:18:50 | keisukefukuda leaves the room. | |
| 14:21:20 | ch0wda enters the room. | |
| 14:28:15 | headius leaves the room. | |
| 14:29:02 | headius enters the room. | |
| 14:32:39 | brainopia enters the room. | |
| 14:32:50 | brainopia leaves the room. | |
| 14:39:47 | binary42 leaves the room. | |
| 14:40:23 | moofbong enters the room. | |
| 14:42:06 | lstoll leaves the room. | |
| 14:43:45 | headius leaves the room. | |
| 14:44:23 | moofbong_ enters the room. | |
| 14:45:13 | sethbc leaves the room. | |
| 14:56:36 | blakewatters enters the room. | |
| 14:58:55 | benburkert enters the room. | |
| 14:59:31 | gnufied leaves the room. | |
| 15:01:15 | pauldix leaves the room. | |
| 15:02:21 | BobFunk leaves the room. | |
| 15:05:06 | joachimm_ enters the room. | |
| 15:05:26 | moofbong leaves the room. | |
| 15:08:37 | antares_ leaves the room. | |
| 15:08:48 | joachimm leaves the room. | |
| 15:09:51 | sethbc enters the room. | |
| 15:11:32 | binary42 enters the room. | |
| 15:14:02 | wmoxam enters the room. | |
| 15:15:23 | AndrewO enters the room. | |
| 15:18:29 | wyhaines enters the room. | |
| 15:18:29 | lorenzod8n enters the room. | |
| 15:18:36 | bricolage enters the room. | |
| 15:21:34 | sethbc leaves the room. | |
| 15:24:15 | jackdempsey enters the room. | |
| 15:27:21 | shame enters the room. | |
| 15:29:53 | NoKarma enters the room. | |
| 15:39:23 | heycarsten enters the room. | |
| 15:48:41 | pauldix enters the room. | |
| 15:52:16 | pauldix leaves the room. | |
| 15:58:21 | brapse enters the room. | |
| 16:06:44 | sethbc enters the room. | |
| 16:06:56 | BobFunk enters the room. | |
| 16:07:46 | moofbong enters the room. | |
| 16:11:35 | moofbong leaves the room. | |
| 16:11:49 | moofbong enters the room. | |
| 16:12:09 | jackdempsey leaves the room. | |
| 16:14:47 | moofbong_ leaves the room. | |
| 16:22:32 | moofbong leaves the room. | |
| 16:24:11 | twbray enters the room. | |
| 16:26:07 | keisukefukuda enters the room. | |
| 16:28:59 | keisukefukuda leaves the room. | |
| 16:42:47 | twbray leaves the room. | |
| 16:45:57 | twbray enters the room. | |
| 16:50:10 | twbray leaves the room. | |
| 16:53:10 | botanicus enters the room. | |
| 16:55:57 | jaywhy enters the room. | |
| 16:58:02 | sethbc leaves the room. | |
| 17:18:27 | twbray enters the room. | |
| 17:27:16 | BobFunk leaves the room. | |
| 17:27:46 | BobFunk enters the room. | |
| 17:28:56 | BobFunk leaves the room. | |
| 17:29:47 | nari leaves the room. | |
| 17:32:43 | benny leaves the room. | |
| 17:45:11 | mernen enters the room. | |
| 17:48:35 | brapse leaves the room. | |
| 17:52:27 | yasuhito leaves the room. | |
| 17:57:44 | yasuhito enters the room. | |
| 17:58:08 | BobFunk enters the room. | |
| 18:00:02 | bricolage leaves the room. | |
| 18:02:10 | shayarnett enters the room. | |
| 18:02:35 | loop leaves the room. | |
| 18:02:43 | yasuhito leaves the room. | |
| 18:05:23 | BobFunk leaves the room. | |
| 18:15:50 | CIA-20 leaves the room. | |
| 18:16:06 | ijcd enters the room. | |
| 18:17:55 | pauldix enters the room. | |
| 18:24:31 | octopod leaves the room. | |
| 18:26:56 | bricolage enters the room. | |
| 18:29:35 | joachimm enters the room. | |
| 18:30:38 | joachimm_ leaves the room. | |
| 18:31:34 | taf2_ leaves the room. | |
| 18:33:04 | c0sin enters the room. | |
| 18:33:15 | jtoy leaves the room. | |
| 18:47:49 | CIA-20 enters the room. | |
| 19:00:39 | dmpk2k leaves the room. | |
| 19:01:18 | mernen leaves the room. | |
| 19:04:15 | drbrain | please review: http://rafb.net/p/zHkCPG12.html |
| 19:06:05 | zenspider | looks good. the only one I'm not sure about is the last chunk. |
| 19:06:08 | evan | drbrain: get rid of the throw() |
| 19:06:27 | drbrain | I'd like to, but it won't compile without it |
| 19:06:52 | evan | drbrain: thats strange |
| 19:06:55 | evan | what error do you get? |
| 19:07:04 | evan | we don't have throw() statements on anything up to now |
| 19:07:21 | drbrain | ok, weird, it worked now |
| 19:07:51 | drbrain | I was getting complaints about not throwing the same stuff when I didn't have a throw in sight |
| 19:08:19 | evan | strange |
| 19:08:24 | evan | well, if it's gone, thats good. |
| 19:18:04 | headius enters the room. | |
| 19:19:11 | bricolage leaves the room. | |
| 19:21:05 | evan | drbrain: my other comment would be that no other code that uses env var as toggles checks the value of the env var |
| 19:21:21 | evan | everything else just uses 'if(getenv("BLAH")) |
| 19:21:23 | enebo enters the room. | |
| 19:21:28 | drbrain | well, I pushed it |
| 19:21:29 | bricolage enters the room. | |
| 19:21:34 | evan | ok. |
| 19:21:34 | drbrain | but I'll fix that up |
| 19:21:41 | evan | i'd just prefer we stay consistent |
| 19:22:29 | NoKarma enters the room. | |
| 19:29:42 | gnufied enters the room. | |
| 19:36:27 | mutle leaves the room. | |
| 19:38:29 | taf2 enters the room. | |
| 19:41:16 | lorenzod8n leaves the room. | |
| 19:44:30 | ezmob enters the room. | |
| 19:45:24 | heycarsten leaves the room. | |
| 19:45:35 | mutle enters the room. | |
| 19:55:21 | edwardam enters the room. | |
| 20:00:34 | heycarsten enters the room. | |
| 20:08:24 | ezmob leaves the room. | |
| 20:19:58 | gnufied_ enters the room. | |
| 20:20:15 | gnufied leaves the room. | |
| 20:20:26 | joachimm_ enters the room. | |
| 20:21:25 | ezmob enters the room. | |
| 20:27:45 | joachimm leaves the room. | |
| 20:29:15 | headius_ enters the room. | |
| 20:29:15 | headius leaves the room. | |
| 20:42:54 | antares enters the room. | |
| 20:45:54 | chris2 leaves the room. | |
| 20:53:54 | zenspider | we're compiling .rb files now? |
| 20:54:55 | evan | zenspider: we have been for a while |
| 20:55:00 | evan | not sure what ya mean |
| 20:55:04 | headius enters the room. | |
| 20:55:13 | zenspider | in the cpp branch? |
| 20:56:33 | evan | eric wired it up doing so |
| 20:56:42 | evan | it doesn't compile in rubinius though |
| 20:56:51 | evan | it's using the MRI based compiler |
| 20:56:55 | evan | using PT |
| 20:58:50 | zenspider | yeah. he's hooking me up |
| 20:59:23 | zenspider | so this is using my parse_tree, not the mangled one in rbx? |
| 20:59:33 | evan | yours |
| 20:59:54 | zenspider | hrm |
| 20:59:54 | drbrain | evan updated it yesterday for 2.2.0 with me |
| 21:00:06 | evan | I made lib/compiler/nodes.rb flexible enough |
| 21:00:16 | evan | to understand the rbx sexp's and PT sexps |
| 21:00:18 | zenspider | that means if I add newline nodes to ruby_parser... |
| 21:00:35 | evan | then you can feed the output to compiler, yep. |
| 21:00:41 | evan | zenspider: actually |
| 21:00:49 | evan | we should fuck newline nodes |
| 21:00:53 | zenspider | I'm essentially done defining the new UnifiedRuby sexp format... I'd like us to move to that |
| 21:00:56 | evan | and stick position information on each sexp |
| 21:01:00 | zenspider | kk |
| 21:01:19 | zenspider | yup. I'd much rather do that, but it is potentially more work |
| 21:01:21 | evan | newline nodes will never be 100% correct |
| 21:01:25 | zenspider | more worthwhile tho |
| 21:01:33 | zenspider | that'll be part of the UR standard too |
| 21:01:41 | zenspider | well, neither will the info in each sexp |
| 21:01:47 | zenspider | but you'll have more resolution |
| 21:01:49 | evan | i've fine moving to a UR sexp |
| 21:02:10 | drbrain | position information like Ripper, or like 1.8? |
| 21:02:14 | evan | zenspider: MRI's emittion of newline nodes is haphazard |
| 21:02:18 | zenspider | should I move us on both branches? |
| 21:02:18 | drbrain | Ripper information has character offsets |
| 21:02:25 | evan | it doesn't emit them every newline |
| 21:02:53 | zenspider | evan: 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:00 | zenspider | drbrain: I was thinking line/col/file |
| 21:03:05 | evan | zenspider: well, how would you do it on master? |
| 21:03:06 | zenspider | is ripper pure offset? |
| 21:03:19 | drbrain | I think it's line/col |
| 21:03:20 | evan | add a conversion layer between sexp emittion and the compiler? |
| 21:03:47 | zenspider | evan: either that or change the sexp emitter... not fun tho |
| 21:03:53 | zenspider | prolly the former |
| 21:04:03 | drbrain | yeah, line/col |
| 21:04:05 | zenspider | but if we don't need compatibility between the two, it isn't a biggie |
| 21:04:10 | zenspider | I'll just do cpp |
| 21:04:18 | zenspider | we can do master later if we want to |
| 21:04:18 | evan | yeah, i don't think we need compat right now |
| 21:04:24 | zenspider | drbrain: kk. that's what I was thinking |
| 21:04:29 | zenspider | k |
| 21:04:34 | drbrain | http://rafb.net/p/Jc0ewy62.html |
| 21:04:37 | evan | if each sexp had just file/line |
| 21:04:44 | evan | we'd be 100000% better than using newline nodes |
| 21:04:47 | zenspider | ok. I'm gonna shower and then head out to vivace. the walk and air should help |
| 21:04:52 | evan | zenspider: k. |
| 21:04:53 | zenspider | yup yup |
| 21:05:05 | evan | col is a bonus |
| 21:05:41 | zenspider | col should be totally doable since I have to shim stringio and scanner to track newlines |
| 21:05:50 | botanicus_ enters the room. | |
| 21:06:02 | botanicus leaves the room. | |
| 21:06:04 | evan | col would help radically improve syntax error reporting too |
| 21:06:13 | evan | thats something else to consider for ruby_parser |
| 21:06:15 | evan | down the line |
| 21:06:54 | evan | providing enough info to give more intelligent syntax errors |
| 21:06:57 | twbray leaves the room. | |
| 21:08:05 | headius_ leaves the room. | |
| 21:09:45 | dmpk2k enters the room. | |
| 21:16:07 | brixen | drbrain: you might review df526518 for wording, "A Ruby file has can be run by..." |
| 21:16:18 | brixen | also, I think the vm/vm way of running should stay in the readme |
| 21:16:23 | drbrain | hehe |
| 21:16:26 | brixen | it's much less to type than rake run_ruby... |
| 21:16:49 | drbrain | I've noted it a bit farther down with the PROBE bit |
| 21:16:53 | brixen | k |
| 21:17:48 | brixen | we don't have a LH page on how to build/run the C++ stuff it seems |
| 21:17:52 | brixen | I wonder if we should add that? |
| 21:18:13 | brixen | a Getting Started C++ or something |
| 21:18:59 | drbrain | problem is, it's pretty much unusable by all but the most hardcore |
| 21:19:48 | brixen | true, but the visibility would be good I think |
| 21:23:41 | botanicus enters the room. | |
| 21:24:19 | botanicus__ enters the room. | |
| 21:25:22 | shayarnett leaves the room. | |
| 21:25:45 | blakewatters leaves the room. | |
| 21:28:28 | brixen | evan: ping re lh 678 and the ML thread on FFI v1.0 |
| 21:28:42 | brixen | evan: I think meissner is waiting on feedback from you |
| 21:29:02 | evan | oh. |
| 21:29:04 | evan | crap. |
| 21:29:04 | evan | ok. |
| 21:30:00 | evan | oh, huh. |
| 21:30:04 | evan | I thought I responded to that... |
| 21:35:44 | botanicus___ enters the room. | |
| 21:36:55 | CIA-20 | * Disable probe printing by default, use PROBE env var to enable.; f9ea1c7 - Eric Hodel |
| 21:38:37 | botanicus_ leaves the room. | |
| 21:38:41 | gnufied_ leaves the room. | |
| 21:39:04 | vintrepid enters the room. | |
| 21:42:13 | botanicus leaves the room. | |
| 21:42:23 | botanicus__ leaves the room. | |
| 21:42:28 | drbrain | is there a way to get more information than: |
| 21:42:37 | drbrain | Tried to use object of type Module (32) as type Class (9) |
| 21:43:13 | drbrain | while we may be unable to resolve primitive yield_gdb, I'm fairly certain we're not actually trying to use it |
| 21:44:07 | drbrain | basically, 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:24 | zenspider | how poetic |
| 21:44:34 | drbrain | our list is nice, but it's not particularly useful yet |
| 21:44:54 | brixen | drbrain: you can load individual (some) kernel files |
| 21:45:10 | brixen | instead of trying the whole kernel at once |
| 21:45:17 | drbrain | yeah, I'm loading up the kernel |
| 21:45:30 | drbrain | but, this TypeError seems wrong |
| 21:46:02 | botanicus enters the room. | |
| 21:47:08 | drbrain | trying 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:20 | evan | drbrain: load it into gdb. |
| 21:48:28 | evan | run 'catch throw' |
| 21:48:33 | evan | then run your stuff |
| 21:48:45 | evan | continue until you see a TypeError |
| 21:48:47 | drbrain | ok |
| 21:49:15 | evan | you'll be stopped at where the exception is thrown from |
| 21:49:21 | evan | you can inspect away at that point |
| 21:49:29 | evan | to see a ruby backtrace |
| 21:49:31 | evan | run |
| 21:49:35 | evan | p __printbt__(state) |
| 21:49:39 | drbrain | is there a way to automate this? |
| 21:49:40 | evan | where state is in scope |
| 21:49:44 | evan | not that I know of |
| 21:49:48 | evan | what do you want to automate? |
| 21:50:13 | drbrain | printing out a cpp backtrace when rescuing a cpp exception |
| 21:50:19 | drbrain | that would be immensely helpful |
| 21:50:21 | evan | no |
| 21:50:25 | evan | because cpp doesn't have that |
| 21:50:30 | evan | exceptions in C++ don't have a backtrace |
| 21:50:45 | drbrain | can we record the stack? |
| 21:50:53 | evan | the C stack? |
| 21:50:59 | evan | i've tried to do that before |
| 21:51:04 | evan | it's very hit or miss |
| 21:51:04 | drbrain | sure, or the ruby stack |
| 21:51:08 | evan | miss mostly |
| 21:51:16 | evan | but we could attempt that again |
| 21:51:35 | evan | the ruby stack is easy |
| 21:51:48 | evan | you don't really need to save it |
| 21:51:53 | evan | you can still do __printbt__(state) |
| 21:51:57 | evan | at the top level |
| 21:54:23 | brixen | we should add that to the readme-c++ |
| 21:54:37 | brixen | drbrain: do you want to? since I assume you'll explain it better :P |
| 21:54:52 | drbrain | I am |
| 21:54:59 | brixen | sweet |
| 21:55:27 | twbray enters the room. | |
| 21:56:01 | drbrain | evan: is it alright if I continue with my spearthrust instead of primitives, should I need to do non-primitive work? |
| 21:56:10 | drbrain | for example, my TypeError comes from Task::open_class |
| 21:56:16 | evan | I wish I could find the code/framework that apple uses for the CrashReporter |
| 21:56:39 | evan | drbrain: steamroll away |
| 21:56:46 | evan | i call that steamrolling |
| 21:56:54 | drbrain | /System/Library/PrivateFrameworks/CrashReporterSupport.framework |
| 21:57:09 | drbrain | or do you want documentation? |
| 21:57:12 | evan | drbrain: now where are the header files? |
| 21:57:14 | evan | or the docs? |
| 21:57:15 | drbrain | actually, look in LimeChat |
| 21:57:31 | evan | LimeChat gives you backtraces in C? |
| 21:57:33 | drbrain | psychs has his own CrashReporter-esque tool in there |
| 21:57:38 | drbrain | I think so |
| 21:57:54 | drbrain | I think it uses CrashReporter to get at them |
| 21:58:07 | drbrain | occasionally it crashes on my when switching networks |
| 21:58:16 | evan | ok, looking. |
| 22:01:33 | evan | drbrain: it's called SACrashReporter |
| 22:01:35 | evan | appears to be just ruby |
| 22:02:28 | drbrain | I wonder if there's something you set to have an app save it's crash log |
| 22:02:35 | drbrain | then you just parse out bits of information later |
| 22:03:43 | evan | coredump style? |
| 22:04:01 | evan | well, i know apples CrashReporter can walk the C stack |
| 22:04:05 | evan | and give you detailed backtrace |
| 22:04:16 | evan | it's just a manner of hooking into it |
| 22:05:27 | drbrain | LimeChat doesn't give you the "oh, it crashed" dialog until the next start up |
| 22:05:35 | drbrain | which makes me think it's storing off the crash log somewhere |
| 22:05:46 | evan | it is |
| 22:05:48 | evan | I read the code |
| 22:05:55 | evan | it manually stored it into the crashreporter directory |
| 22:05:58 | evan | ok, this is funny |
| 22:06:09 | evan | crashreporter is running on all processes |
| 22:06:15 | evan | which means it already runs on vm and test/runner |
| 22:06:22 | evan | i checked my CrashReport/ directory |
| 22:06:27 | evan | and i've got a ton of reports for it |
| 22:06:31 | evan | er. for them :) |
| 22:06:37 | evan | and they've all got backtraces in them. |
| 22:06:41 | evan | so I know it can do it |
| 22:08:21 | drbrain | yeah |
| 22:09:16 | evan | hm |
| 22:09:28 | evan | one option is to force segfault the process |
| 22:09:39 | evan | and set the CrashReporterPref to Developer |
| 22:09:45 | evan | it will pop up a crash dialog for any crash then |
| 22:09:57 | evan | that might get annoying though |
| 22:11:59 | vintrepid leaves the room. | |
| 22:14:12 | bricolage leaves the room. | |
| 22:16:20 | botanicus___ leaves the room. | |
| 22:17:15 | antares leaves the room. | |
| 22:22:01 | evan | drbrain: oh. 10.5 included backtrace() |
| 22:22:11 | evan | let me see about wiring that in... |
| 22:27:49 | headius leaves the room. | |
| 22:28:49 | headius enters the room. | |
| 22:35:55 | tmornini enters the room. | |
| 22:36:53 | tmornini leaves the room. | |
| 22:37:14 | tmornini enters the room. | |
| 22:38:11 | twbray leaves the room. | |
| 22:38:49 | tmornini leaves the room. | |
| 22:38:59 | tmornini enters the room. | |
| 22:44:18 | NoKarma enters the room. | |
| 22:47:13 | NoKarma leaves the room. | |
| 22:51:03 | evan | drbrain: ah ha! |
| 22:51:04 | evan | i got it working. |
| 22:51:11 | evan | found some code snippits online |
| 22:51:17 | evan | worked the important bits out |
| 22:51:26 | evan | i can now generate a C++ backtrace with demangling |
| 22:51:59 | brixen | sweet |
| 22:52:01 | headius leaves the room. | |
| 22:52:14 | evan | apple's backtrace() doesn't resolve line numbers though |
| 22:52:21 | evan | so you get stuff like |
| 22:52:30 | evan | 0x000033d7 Blah::show() + 25 |
| 22:52:44 | evan | better than nothing though. |
| 22:53:41 | drbrain | yeah |
| 23:00:20 | headius enters the room. | |
| 23:03:08 | mutle_ enters the room. | |
| 23:03:33 | NoKarma enters the room. | |
| 23:03:58 | nitay enters the room. | |
| 23:05:46 | mutle leaves the room. | |
| 23:08:15 | BobFunk enters the room. | |
| 23:08:33 | pauldix leaves the room. | |
| 23:17:22 | nitay leaves the room. | |
| 23:20:59 | tmornini leaves the room. | |
| 23:21:11 | Maledictus leaves the room. | |
| 23:25:51 | vintrepid enters the room. | |
| 23:27:33 | vintrepid leaves the room. | |
| 23:45:03 | headius leaves the room. | |
| 23:46:17 | benny enters the room. | |
| 23:47:51 | wmoxam leaves the room. | |
| 23:48:37 | heycarsten leaves the room. | |
| 23:54:15 | botanicus leaves the room. | |
| 23:55:49 | lstoll enters the room. | |
| 23:58:02 | jackdempsey_ enters the room. |