Show enters and exits. Hide enters and exits.
| 00:17:40 | wayneeseguin | f |
| 00:17:55 | kronos_vano | ff |
| 00:25:40 | lukemelia | congrats, guys. way to persevere to 1.0! |
| 00:47:44 | evan | lukemelia: thanks! |
| 00:47:54 | evan | kronos_vano: did you put the magic coment in? |
| 00:49:47 | kronos_vano | yep. q = +[ x , x.in([1,2,3]), y.in([5,6,7])] woks, q = +[ x + y, x.in([1,2,3]), y.in([5,6,7])] no |
| 00:49:52 | kronos_vano | *works |
| 00:50:39 | kronos_vano | evan, why you never told about this future? This is awesome! |
| 00:50:48 | evan | it was just something i was playing with |
| 00:50:54 | evan | it's not on by default because it's just a toy |
| 00:51:00 | evan | feel free to play with it though |
| 01:17:43 | rb2k | anybody got 1.0 to install with RVM? |
| 01:18:03 | rb2k | since a few versions, I've got problems with the "env ruby" part of the script |
| 01:44:37 | hammerdr | Grats on getting 1.0 out. I have a rather odd question, I suppose, but is the rubinius VM targetable? E.g. could I write a byte code interpreter for another language that runs on rubinius? |
| 01:45:58 | ezmobius | yeah totally |
| 01:46:27 | ezmobius | i have a half started scheme compiler that compiles straight to rubinius bytecode and lets me call out to ruby |
| 01:46:36 | ezmobius | but i havent had time to work on it in almost a year |
| 01:47:17 | ezmobius | the vm is definitely pretty nice. it is specialized for ruby though. but ruby is a dynamic lang so I guess it depends on what kind of lang you want to write |
| 01:48:18 | hammerdr | good stuff :) I was researching this a couple weeks ago when I was trying to find a ruby vm to target.. I couldn't find any docs that related to this though. Is there any laying around? An instruction set, at least? :) |
| 02:11:20 | postmodern | i just tried running rake on HEAD |
| 02:11:27 | postmodern | and got invalid byte sequence in US-ASCII |
| 02:11:31 | postmodern | under ruby 1.9.1 |
| 02:12:05 | postmodern | http://pastie.org/961221 |
| 06:12:54 | postmodern | trying to run specs of my libraries on rubinius 1.0 |
| 06:13:02 | postmodern | but im having trouble loading rbc files for YARD |
| 06:13:45 | postmodern | http://pastie.org/961359 |
| 06:19:40 | postmodern | also having trouble bundling nokogiri from rubygems.org |
| 06:19:44 | postmodern | http://pastie.org/961364 |
| 06:34:09 | brixen | the noko one says libiconv is missing, is it? |
| 06:34:23 | brixen | the yard one, what command did you run? |
| 06:47:54 | brixen | postmodern: hm, why is that trying to load a .rbc file directly? |
| 06:49:04 | postmodern | brixen, libiconv is installed, but says version 0 of it |
| 06:49:54 | brixen | I don't know what that means |
| 06:49:57 | postmodern | ah ha |
| 06:50:03 | postmodern | it's only the virtual package |
| 06:50:15 | brixen | ok |
| 06:51:47 | postmodern | brixen, whats odd is I was able to install nokogiri using rbx /usr/bin/gem install just fine |
| 06:51:53 | postmodern | brixen, but it fails under bundle install |
| 06:51:59 | brixen | yeah, that is odd |
| 06:52:09 | brixen | does it run from your gem install? |
| 06:52:20 | brixen | I honestly don't know much about bundler (yet) |
| 06:53:11 | brixen | btw, rbx gem or rbx -S gem is all you need to invoke |
| 06:53:49 | postmodern | ah -S, thats what i need |
| 06:54:24 | postmodern | ah it looks like it was using the wrong cached gem |
| 06:54:25 | brixen | rbx gem is special, but rbx -S <name> is used for all binaries installed by gems |
| 06:54:32 | brixen | ie, rbx -S rake, etc |
| 06:55:21 | postmodern | brixen, Installing nokogiri (1.4.1.20100514000014) from .gem files at /home/hal/.bundle/rbx/1.8/cache with native extensions An exception occurred running /home/hal/rubinius/gems/bin/bundle |
| 06:56:07 | brixen | ok |
| 06:56:15 | brixen | I don't know what to do with that |
| 06:56:25 | brixen | do you have steps I can use to set up the same env? |
| 06:57:50 | postmodern | brixen, sure let me write up a bug |
| 06:57:58 | brixen | ok cool |
| 06:58:03 | brixen | I'm going to sleep |
| 06:58:03 | postmodern | brixen, nice thing about bundler, is it only needs a directory with a Gemfile |
| 06:58:08 | brixen | have fun! |
| 06:58:21 | postmodern | oh wait i know why |
| 06:58:37 | postmodern | it's somehow still using the extra gem source from http://tenderlove.com |
| 07:01:25 | postmodern | brixen, ok one bug down |
| 07:01:46 | postmodern | brixen, just reported some Ruby behavior differences I found in my specs |
| 07:01:56 | postmodern | should be trivial to fix |
| 07:16:11 | postmodern | say how good is FFI on Rubinius? |
| 07:16:23 | postmodern | im having trouble just resolving the 'uint16' type under rubinius |
| 07:16:28 | postmodern | http://pastie.org/961382 |
| 07:16:34 | postmodern | trying to run specs on ffi-udis86 |
| 07:22:28 | postmodern | also has anyone thought about storing rbc files as .#{name}.rbc |
| 07:37:19 | postmodern | also why is FFI::Struct.new returning a FFI::Pointer |
| 07:37:26 | postmodern | instead of the class of the struct |
| 07:37:38 | postmodern | *of my defined struct |
| 07:41:37 | postmodern | ah a benefit of a fresh release |
| 07:41:50 | postmodern | watching the issues start to roll-in |
| 10:06:12 | candeller | are .rbc supposed to be treated like .rb files? that is, once i have one, do i invoke it 'rbx file.rbc' ? |
| 10:12:07 | matthewd | candeller: I don't think so... but could be wrong |
| 10:13:54 | candeller | i am getting a buch of errors trying to do that - http://pastie.org/private/6jculhhqnq7vxymablnkhq - the path to the file in the .rbc file is treated like a regexp |
| 10:18:20 | candeller | (as long as what I am doing is legal that is) |
| 10:30:27 | matthewd | candeller: Sounds like it's just trying to run it as a ruby script... which certainly suggests it isn't intended to work |
| 10:35:06 | postmodern | i really feel like the rbc files should be hidden |
| 10:35:14 | postmodern | prefixed with a '.' |
| 10:35:18 | postmodern | like vim swp files |
| 11:16:32 | dbussink | candeller: you should use the rbc files directly normally |
| 11:16:44 | dbussink | rbx will check if they exist and use them if needed |
| 11:17:29 | dbussink | postmodern: btw, on #293, are you sure you checked it with 1.8? |
| 11:17:37 | dbussink | because 1.8 gives me a NameError just like rbx does |
| 11:18:25 | candeller | dbussink: you mean .rb files directly ? so, `rbx file.rb`, looks for an .rbc file, if there's one, it uses it, if not, makes one and uses it? |
| 11:18:48 | dbussink | candeller: yeah |
| 11:18:53 | candeller | ok |
| 11:19:07 | dbussink | you shouldn't be concerned with invoking rbc files yourself |
| 11:19:31 | badboy | hm, I can't compile rubinius =/ |
| 11:19:57 | postmodern | dbussink, just tested it on 1.8.7, same results |
| 11:20:07 | dbussink | postmodern: do you have a script for me? |
| 11:20:12 | postmodern | dbussink, i found this bug when running specs for the parameters and rprogram library |
| 11:20:27 | postmodern | dbussink, wait im confusing bugs |
| 11:20:35 | dbussink | postmodern: https://gist.github.com/23769bce3c5a11e3772c |
| 11:20:35 | postmodern | dbussink, but yes i do have a script for that bug |
| 11:20:40 | badboy | http://gist.github.com/402146 |
| 11:20:51 | dbussink | postmodern: please attach stuff like that directly, because the basic cases seem to be fine |
| 11:21:00 | dbussink | so we can't debug it properly with a reproduction |
| 11:21:05 | postmodern | dbussink, did you trie blah() |
| 11:21:11 | postmodern | dbussink, or blah { } |
| 11:21:39 | postmodern | dbussink, i think those invoke actual method calls |
| 11:21:44 | dbussink | postmodern: ah ok, please provide information like that in the issue :) |
| 11:21:49 | dbussink | because now i have to ask about it :) |
| 11:21:50 | postmodern | ok |
| 11:22:17 | dbussink | badboy_: looks a known issue: http://github.com/evanphx/rubinius/issues#issue/298 |
| 11:22:31 | dbussink | looks like gcc 4.5 has started to warn about stuff like that |
| 11:22:54 | badboy | ok, |
| 11:23:18 | badboy | checked the issues half an hour ago, =D |
| 11:23:18 | dbussink | postmodern: are you adding the information to the issue? |
| 11:23:37 | dbussink | badboy_: also gcc 4.5? |
| 11:23:49 | badboy | yep |
| 11:23:56 | badboy | arch linux, too |
| 11:24:18 | postmodern | dbussink, doing so now |
| 11:28:38 | dbussink | badboy_: you can try after applying this diff: https://gist.github.com/a5d201ce95ce3c5eddc5 |
| 11:29:53 | badboy | ok |
| 11:30:45 | dbussink | badboy_: hmm, the diff is probably not correct though, but usually you don't use instrumenting |
| 11:31:21 | badboy | hm, the diff fixes the error with vm/instruments/stats.hpp |
| 11:31:52 | dbussink | badboy_: but somewhere else something pops up? |
| 11:31:53 | badboy | so the errors like "./vm/gen/instruction_implementations.hpp:92:16: error: value computed is not used" are still there |
| 11:32:10 | dbussink | hmm, could you add that information to the ticket? |
| 11:32:16 | dbussink | badboy_: because i don't see it there |
| 11:32:24 | badboy | ok |
| 11:35:00 | badboy | done ;) |
| 11:38:45 | postmodern | dbussink, updated: http://github.com/evanphx/rubinius/issues/#issue/293 |
| 11:38:47 | postmodern | dbussink, test away |
| 11:39:21 | dbussink | postmodern: ok, cool, that at least makes it easier to fix :) |
| 11:48:51 | dbussink | badboy_: could you try with this? https://gist.github.com/2cfb09a7b143fce4876d |
| 11:51:22 | badboy | rake runs... |
| 11:54:53 | dbussink | badboy_: cool :) |
| 11:58:13 | badboy | hm, why is llvm 2.7 not supported yet? |
| 12:01:45 | dbussink | badboy_: because they changed a whole lot of things since 2.6 |
| 12:01:50 | badboy | ok |
| 12:01:56 | dbussink | so it's some work to do the upgrade |
| 12:02:48 | badboy | ok |
| 12:03:54 | badboy | rake aborted! |
| 12:03:54 | badboy | no such file to load -- ext/digest/sha1/sha1 |
| 12:04:06 | dbussink | badboy_: you're using 1.9 to build it? |
| 12:04:06 | badboy | % bin/rbx -v |
| 12:04:06 | badboy | Runtime exception: Unable to load /home/badboy/code/rubinius/runtime/platform.conf, it is missing |
| 12:04:16 | dbussink | currently only 1.8 is supported for building it |
| 12:04:16 | badboy | hm, yes. not possible? |
| 12:04:26 | badboy | oh, damn *using rake18* |
| 12:04:29 | dbussink | no, they changed some tricky things that make it hard :( |
| 12:04:48 | badboy | yeah. and here on arch linux I'm living on the edge, so llvm 2.7 and ruby 1.9 =D |
| 12:11:35 | badboy | ok, tests are running |
| 12:13:04 | badboy | 3457 files, 13601 examples, 41231 expectations, 1 failure, 0 errors |
| 12:17:20 | badboy | Process.setpriority sets the scheduling priority for a specified user FAILED |
| 12:41:25 | dbussink | badboy_: does that spec consistently fail? |
| 12:43:07 | badboy | weird. mom |
| 12:43:10 | badboy | -weird. |
| 12:43:43 | badboy | seems so |
| 12:44:00 | dbussink | badboy_: ah, well, it's probably not very critical, you can also check if it also fails with mri |
| 12:44:09 | dbussink | badboy_: but seems like it's running then :) |
| 12:44:21 | dbussink | badboy_: ./bin/rbx will give you an irb session |
| 12:44:35 | dbussink | and you can use stuff like ./bin/rbx -S gem install some_gems to try stuff out |
| 12:47:29 | badboy | i know |
| 12:47:39 | badboy | not the first time I compiled and used it, but thanks ;) |
| 12:48:03 | jarib | was the fix committed? |
| 12:48:52 | jarib | or is the first post-1.0 commit sacred maybe :) |
| 12:51:18 | dbussink | badboy_: ok, np, lot's of new people now with 1.0 :) |
| 12:51:28 | dbussink | jarib: hehe, not committed (yet) |
| 12:51:33 | badboy | yep. that's what brought me back^^ |
| 12:51:43 | dbussink | jarib: first want to verify that it actually solves it, because i don't have a gcc 4.5 here handy |
| 12:56:04 | dbussink | jarib: ah, i see you reported it originally :) |
| 13:01:07 | jarib | dbussink: let me know if i should test anything |
| 13:01:16 | boyscout | Don't use a increment operation and the original value in the same expression - d711862 - Dirkjan Bussink |
| 13:01:16 | boyscout | Explicitly cast the return value of stack_pop() to void* - 10f4032 - Dirkjan Bussink |
| 13:01:31 | dbussink | there we go, no virgin 1.0 in the repo anymore |
| 13:01:39 | dbussink | jarib: that should fix the build issues |
| 13:01:45 | jarib | thanks, will try |
| 13:08:55 | jarib | it's building, my poor netbook is not enjoying it :) |
| 13:10:10 | dbussink | jarib: hehe, shouldn't take too long (unless it wants to compile llvm) |
| 13:11:05 | jarib | no, it's fine |
| 13:11:10 | jarib | just a slow machine |
| 13:11:25 | boyscout | CI: rubinius: 10f4032 successful: 3457 files, 13596 examples, 41216 expectations, 0 failures, 0 errors |
| 13:15:18 | duncanmv | evan: hi |
| 13:15:25 | duncanmv | evan: what LLVM does 1.0.0 require? |
| 13:24:52 | dbussink | duncanmv: 2.6 |
| 13:25:10 | kronos_vano | But you can use prebuild one |
| 13:27:15 | duncanmv | kronos_vano: actually I am trying to build rubinius with a system installed 2.6 one |
| 13:27:24 | duncanmv | (it does not work right now) |
| 13:27:33 | duncanmv | and that would prevent adoption in linux distributions |
| 13:28:10 | duncanmv | I have a patch that makes the build system use the system one, but rbx-build (which just calls the vm, segfaults then) |
| 13:38:07 | dbussink | duncanmv: could be that the system one is compiled with different options? |
| 13:38:46 | dbussink | duncanmv: and it does work with the prebuilt llvm? |
| 16:10:22 | duncanmv | dbussink: uh no, prebuilt also makes the vm segfault on bootstrap |
| 16:11:23 | duncanmv | Program received signal SIGSEGV, Segmentation fault. |
| 16:11:24 | duncanmv | 0x000000000069ec9d in mp_copy () |
| 16:14:38 | brixen | duncanmv: how do you know you are using the prebuilt? |
| 16:14:59 | brixen | can you gist your ./configure --show |
| 16:15:19 | brixen | dbussink: hmm, I wonder if we should have a stack_discard() op instead |
| 16:15:47 | dbussink | brixen: that's maybe a better solution then yeah |
| 16:15:51 | brixen | dbussink: because the (void*) did not work before for some libc method that returns a value |
| 16:16:04 | brixen | dbussink: just a thought, we can ask evan |
| 16:16:06 | dbussink | brixen: maybe that was secretly a macro? |
| 16:16:12 | brixen | could be, yeah |
| 16:16:21 | brixen | still, might be semantically nicer |
| 16:16:41 | brixen | dbussink: thanks for hoping on the fixes though! :) |
| 16:16:55 | brixen | I should be around later to work on a few |
| 16:17:56 | brixen | what's the best way to install rmagick on os x? |
| 16:20:58 | brixen | oh der, it's ImageMagick |
| 16:21:07 | brixen | it's been about 5 years since I used this |
| 16:26:34 | Defiler | brixen: homebrew |
| 16:26:43 | Defiler | and then brew install imagemagick |
| 16:26:49 | Defiler | or brew install graphicsmagick if you need that |
| 16:27:07 | Defiler | after that, the gem should install and build without further intervention |
| 16:30:10 | brixen | yeah, I need to get homebrew going |
| 16:30:15 | brixen | I just port installed it |
| 16:30:28 | brixen | need to fix c-api issues so rmagick builds with rbx |
| 16:31:38 | Defiler | fun |
| 16:31:43 | Defiler | rmagick is a model citizen |
| 16:33:08 | brixen | indeed |
| 16:33:17 | brixen | when the masses want pain, we give them pain |
| 16:33:20 | brixen | I guess |
| 16:33:36 | brixen | someday we'll be able to say, "no, sorry, you really don't want that and can't have it anyway" |
| 16:33:42 | brixen | someday :) |
| 16:34:49 | Defiler | I am so pleased with how infrequently I have typed 'sudo' on my new laptop |
| 16:44:30 | dbussink | brixen: did feel a bit dirty when i was defiling the pristine 1.0 state of the master branch ;) |
| 16:48:45 | cyndis | is it intended that rubinius's behavior while mutating an array while looping through it doesn't need to match mri's? i vaguely remember reading so |
| 16:49:30 | cyndis | mkrf is currently depending on the mri behavior and i'm making a patch for it |
| 17:03:27 | Defiler | cyndis: Yeah, I think some of the MRI comments/docs even suggest that it is meant to be undefined |
| 17:04:10 | Defiler | rake abuses that behavior a little as well |
| 17:04:10 | cyndis | ok, good :) |
| 17:04:34 | cyndis | yeah, this is actually in mkrf's rake helper |
| 17:04:53 | cyndis | "task 'lib'; directory 'lib; end" which i suppose must be just a silly mistake |
| 17:04:56 | Defiler | haha yes that's where it is |
| 17:05:09 | Defiler | I remember I saw that while working on Enumerable#sort back in 2007 |
| 17:05:13 | cyndis | :) |
| 17:28:27 | duncanmv | how do I pass additional CFLAGS to the build? |
| 17:28:48 | duncanmv | CFLAGS and CXXFLAGS are ignored |
| 18:33:45 | dbussink | duncanmv: why do you need that? |
| 19:00:50 | duncanmv | dbussink: distributions have a set of standard C flags |
| 19:01:24 | duncanmv | when you build rpm packages, the "lint" program complains if RPM_OPT_FLAGS flags where not used |
| 19:08:57 | dbussink | duncanmv: there hasn't been a lot of work on package building for various distro's, so it probably needs work |
| 19:10:50 | rue | CFLAGS should not be ignored |
| 19:32:04 | rolfb | is 'gem install nokogiri' not supposed to work on the first run? |
| 19:32:11 | rolfb | it works on the second run |
| 19:32:13 | rolfb | :) |
| 19:32:41 | rolfb | (rbx 1.0) |
| 19:55:18 | duncanmv | I may have the first rubinius package for openSUSE |
| 19:55:39 | duncanmv | locally osc builds it, lets see if the build service lint is as relaxed as the osc one :-) |
| 19:56:41 | dbussink | duncanmv: cool :) |
| 19:56:50 | dbussink | duncanmv: any fixes for the build process are welcome :) |
| 19:58:54 | brixen | cyndis: modifying a collection while iterating it is undefined |
| 19:59:04 | brixen | cyndis: we will not ever accept a patch for it |
| 19:59:23 | brixen | cyndis: I'll get you the ruby-core ML post where Matz agrees it is undefined |
| 20:00:39 | brixen | duncanmv: the build process will be rewritten soon, so please document what issues you had, what you need, and why |
| 20:01:25 | duncanmv | brixen: I think FAKEROOT and other stuff was the result of my feedback to evan ;-) |
| 20:01:39 | brixen | cyndis: http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-core/23633 |
| 20:01:48 | brixen | duncanmv: ok, cool |
| 20:01:54 | duncanmv | I was pleased to see that now rubinius uses the std /usr/bin/llvm-config :-) |
| 20:02:10 | brixen | duncanmv: the issue for us is, we don't always know why stuff is needed, so it's harder to architect a better build system |
| 20:02:23 | brixen | any help you can give us understanding is great |
| 20:02:23 | duncanmv | brixen: I think the remaining issues are OS independent, like |
| 20:02:32 | duncanmv | we have a repo with gems built against 1.8 |
| 20:02:44 | duncanmv | right now we would need to rebuild all gems against rubinius |
| 20:02:50 | brixen | yep |
| 20:02:53 | duncanmv | so they go to the right path etc |
| 20:03:03 | brixen | you need to do that anyway for any that have C ext |
| 20:03:11 | brixen | we are very much against sharing gems between impl |
| 20:03:16 | duncanmv | we need a way to share gems across interpreters, at least for ruby ones |
| 20:03:27 | brixen | I don't think that is a good idea |
| 20:03:29 | brixen | at all |
| 20:03:29 | duncanmv | if you want to isolate them , you have rvm |
| 20:03:41 | brixen | why make rvm a dependency on that |
| 20:03:43 | duncanmv | it may not make sense for gem installed gems |
| 20:03:43 | brixen | it should not be |
| 20:03:51 | duncanmv | but if they are packaged as .deb or .rpm |
| 20:03:58 | duncanmv | then you will have one gem per interpreter |
| 20:03:58 | brixen | that's a problem yes |
| 20:04:03 | duncanmv | and that is not user friendly |
| 20:04:13 | brixen | indeed, it's sticky |
| 20:04:29 | duncanmv | and as I said, for pure ruby gems, it is not necessary |
| 20:04:29 | brixen | but so is people confused why their gems don't work |
| 20:04:38 | brixen | and why this gem has a -rbx and that one doesnt' |
| 20:04:39 | duncanmv | java works if you have a jar in /usr/share/something |
| 20:05:04 | brixen | making it easy on the packaging system should not be a concern |
| 20:05:11 | brixen | making it easy on the user should |
| 20:05:26 | brixen | I don't see that some_gem-rbx is that confusing |
| 20:05:46 | brixen | it seems *less* confusing |
| 20:06:21 | brixen | also, I think .deb or whatever for gems is a terrible idea when gem already exists |
| 20:06:30 | brixen | I hate it on ubuntu and never use it |
| 20:07:10 | duncanmv | I know |
| 20:07:17 | duncanmv | but it makes sense in some situations |
| 20:07:21 | duncanmv | if you build an appliance |
| 20:07:27 | duncanmv | using susestudio.com for example |
| 20:07:34 | brixen | with chef, I don't see that being an issue |
| 20:07:38 | duncanmv | gems packaged as rpms allows to use the system tools |
| 20:07:39 | brixen | but I'm not a sysadmin |
| 20:07:45 | brixen | so I'm happy to be educated :) |
| 20:07:54 | duncanmv | and the main issue is, it may be a good idea or a bad one, but it is already done |
| 20:07:59 | brixen | chef allows you to do all of that and more, no? |
| 20:08:14 | brixen | bad ideas should not be perpetuated |
| 20:08:14 | duncanmv | SUSE for example ships susestudio.com onsite, and there we have to package everything as rpm in order to do updates with the system tools |
| 20:08:21 | brixen | I hate that argument |
| 20:08:32 | brixen | the only reason not to fix something broken is laziness |
| 20:08:56 | duncanmv | what is the fix? gem rpms work really well, they are visible as rpms and are seen by gem too |
| 20:09:12 | duncanmv | it is the ruby interpreters that are broken |
| 20:09:24 | duncanmv | and authors havent talked each other where to put common compatible gems |
| 20:09:24 | brixen | you can make this work fine with gem rpms: foobiedoo-rbx.rpm |
| 20:09:26 | brixen | done |
| 20:09:45 | brixen | when do you know that there will be an incompatibility? |
| 20:09:53 | duncanmv | well, there should not be |
| 20:10:05 | duncanmv | at least the environment should not be designed under that assumption |
| 20:10:08 | brixen | but that's an impossible future-proofing scenario |
| 20:10:14 | duncanmv | I mean , if it only works in foo |
| 20:10:23 | duncanmv | then install it in /usr/lib/foo-vm/1.0/gems |
| 20:10:26 | brixen | "it works now, we hope it keeps working, if it doesn't, we'll make some exceptions" |
| 20:10:26 | duncanmv | but if it is not known |
| 20:10:52 | brixen | well, sounds like a lot of hope and prayers to me |
| 20:11:05 | brixen | and trying to wedge a solution into existing stuff |
| 20:11:16 | brixen | that was designed when there was *one* Ruby |
| 20:11:53 | duncanmv | I guess then it would be impossible to have 2 rubys without rvm |
| 20:12:14 | duncanmv | and that would make rubinius always a 2nd class citizen in the linux world |
| 20:12:31 | duncanmv | ok, rpm for 11.2 builds, for factory doesn't http://pastebin.com/NRUXzMah I guess g++ version |
| 20:12:37 | brixen | rbx can certainly accommodate many schemes, but we don't want to encourage usage that will lead to a lot of headache and confusion |
| 20:13:51 | brixen | ugh |
| 20:14:04 | brixen | was this after dbussink change? |
| 20:14:09 | brixen | duncanmv: are you using master? |
| 20:14:27 | brixen | man what horrid bt's |
| 20:16:50 | brixen | fuck that, I need food |
| 20:16:50 | duncanmv | no, that is an rpm of 1.0.0 |
| 20:17:01 | brixen | I can't even read that stupid backtrace |
| 20:17:06 | brixen | bbiab... |
| 20:17:11 | duncanmv | it builds with openSUSE 11.2, but on openSUSE Factory (kind of HEAD distribution) it does not, same .spec file |
| 20:17:25 | dbussink | brixen: yeah, that's before my fixes |
| 20:17:27 | evan | sorry, i'm headed out for the day |
| 20:17:33 | evan | but that appears to be because of g++ 4.5 |
| 20:17:38 | evan | we'll have to deal with that next week. |
| 20:17:39 | dbussink | duncanmv: i fixed those errors after the 1.9 release |
| 20:17:46 | dbussink | evan: it's already fixed in master :) |
| 20:17:48 | evan | brixen: GO ENJOY YOUR WEEKEND |
| 20:17:57 | cyndis | brixen, yes, the patch i made is for mkrf, not rubinius |
| 20:18:03 | brixen | evan: :) |
| 20:18:12 | brixen | cyndis: excellent, just need to get the word out there |
| 20:18:16 | evan | sorry guys, but as brixen's boss, I must ask that he enjoy the fruits of his labor this weekend |
| 20:18:21 | evan | bugs can wait until monday. |
| 20:18:34 | dbussink | evan: true, but wanted you to know that gcc 4.5 compile is already fixed |
| 20:18:41 | evan | dbussink: yep, no prob. |
| 20:18:53 | evan | and with that, i'm off to buy a shirt and go to a wedding. |
| 20:18:56 | evan | see you all on monday. |
| 20:18:56 | dbussink | duncanmv: so you could try again with current master |
| 20:18:57 | brixen | dbussink: yeah, thanks for doing that |
| 20:18:58 | dbussink | evan: have fun |
| 20:21:27 | evan | dbussink: ok, real fast |
| 20:21:29 | evan | your last commit |
| 20:21:32 | evan | is wrong-ish |
| 20:21:38 | evan | you need to be doing |
| 20:21:40 | evan | (void)stack_pop() |
| 20:21:42 | evan | not |
| 20:21:46 | evan | (void*)stack_pop() |
| 20:22:04 | evan | "(void)anything" means "disregard the return value" |
| 20:24:04 | evan | ok, i'm off. bye! |
| 20:30:17 | kronos_vano | brixen, let me fix rmagick stuff |
| 20:38:35 | slava | hi evan |
| 20:38:40 | slava | evan: I've always wondered |
| 20:38:45 | slava | what's the difference between foo() and (void)foo() |
| 20:38:50 | slava | does it just silence a compiler warning |
| 20:40:20 | boyscout | Properly use (void) instead of (void*) - 9cc63a7 - Dirkjan Bussink |
| 20:40:36 | dbussink | kronos_vano: if brixen isn't allowed to do anything, you'll have all weekend to fix it ;) |
| 20:41:11 | kronos_vano | dbussink, I just do not want to do double work) |
| 20:41:14 | Maledictus | slava: I don't think there is even a compiler warning |
| 20:42:33 | dbussink | Maledictus: apparently there is one with gcc 4.5 |
| 20:42:55 | Maledictus | oh, there will be gazillion lines of code which will trigger that |
| 20:45:04 | kronos_vano | rmagick uses rb_frame_last_func |
| 20:45:13 | kronos_vano | hm... |
| 20:45:15 | dbussink | Maledictus: dunno what cases exactly will trigger the warning, but apparently we had some |
| 20:50:06 | boyscout | CI: rubinius: 9cc63a7 successful: 3457 files, 13596 examples, 41216 expectations, 0 failures, 0 errors |
| 20:56:56 | dbussink | kronos_vano: shouldn't be that hard to add from what i see |
| 20:57:57 | kronos_vano | dbussink, http://gist.github.com/402392 |
| 20:58:07 | kronos_vano | return call_frame->name(); doesn't work |
| 20:59:36 | dbussink | kronos_vano: does that complain it returns a symbol not an ID? |
| 20:59:43 | dbussink | kronos_vano: you should be able to cast that safely |
| 21:00:10 | kronos_vano | ->name() returns Symbol* |
| 21:00:16 | kronos_vano | so it is ID |
| 21:00:18 | dbussink | kronos_vano: if you look at rb_id2name in vm/capi/util.cpp:8 you can see the reverse being done |
| 21:00:32 | kronos_vano | ah |
| 21:00:36 | kronos_vano | got it |
| 21:00:39 | Helena79 | Discounts!! Our Special Limited Time Offers Up To May,22!!!New BranD!! Notebooks,Plasma and LCD TV's.Buy your electronic needs at our unique prices. Laptop Sony VAIO® VGN-FW590FFD-575,57$!!!Apple MacBook® Air MC234LL/A-695,27$!!! http://www.elplace.com/ |
| 21:01:11 | dbussink | kronos_vano: but other than that, this approach looks good to me |
| 21:04:07 | dbussink | kronos_vano: be sure to add specs for it too and run them with mri |
| 21:04:11 | dbussink | to verify it it's correct |
| 21:23:00 | kronos_vano | Symbol not found: _rb_cFalseClass :/ |
| 21:23:34 | kronos_vano | ruby.h#399 it is defined |
| 21:24:08 | dbussink | kronos_vano: yeah, that's weird |
| 21:24:17 | dbussink | although the symbol shouldn't be there, since it's a macro |
| 21:24:26 | dbussink | so it should have been expanded |
| 21:27:43 | ddfreyne | As I understand it, Rubinius uses green threads at the moment, but there are plans for a m:n model allowing usage of multiple kernel threads without a GIL… is this correct? I found some documentation on concurrency, but this file (doc/vm/concurrency.txt) is over two years old |
| 21:28:05 | kronos_vano | ddfreyne, Rubinius uses native threads |
| 21:28:19 | ddfreyne | with or without GIL? |
| 21:28:24 | kronos_vano | with |
| 21:28:30 | kronos_vano | But patches are welcome ;) |
| 21:28:41 | kronos_vano | evan (C) |
| 21:29:08 | ddfreyne | aww |
| 21:29:54 | ddfreyne | Why does the GIL actually exist? backwards compatibility with existing code that isn’t threadsafe? |
| 21:29:56 | brixen | ddfreyne: we will be removing the GIL over time |
| 21:30:03 | brixen | yes, code is not thread safe |
| 21:30:12 | brixen | so we need to add finer grain locks in those places |
| 21:30:31 | brixen | evan also implemented experimental support for 1.9 Fibers |
| 21:30:47 | brixen | it is possible that we could add M:N based on that |
| 21:30:54 | brixen | but that's up in the air |
| 21:31:00 | brixen | the GIL we will remove for certain |
| 21:31:10 | kronos_vano | brixen, any ideas with rb_cFalseClass? |
| 21:31:21 | brixen | kronos_vano: ideas about what? |
| 21:31:23 | ddfreyne | The reason why I’m asking is that I have been working on a Ruby program that could absolutely use multithreading to speed up the app quite a bit… but none of the Ruby interpreters allow it |
| 21:31:46 | brixen | ddfreyne: you should be using actors anyway ;) |
| 21:31:47 | ddfreyne | (with the exception of jruby, but the JVM startup time is so long that it is actually faster to use MRI instead) |
| 21:32:03 | kronos_vano | brixen, http://gist.github.com/402409 |
| 21:32:04 | ddfreyne | brixen: oh, yeah |
| 21:32:17 | kronos_vano | arr |
| 21:32:27 | brixen | kronos_vano: probably just need to add it then |
| 21:32:40 | ddfreyne | http://github.com/evanphx/rubinius/blob/master/doc/vm/concurrency.txt needs to be updated ;) |
| 21:32:47 | kronos_vano | it is already exists, but I understand the problem) |
| 21:33:17 | brixen | ddfreyne: yes, I kno |
| 21:33:26 | brixen | ddfreyne: I updated most of doc/ but doc/vm |
| 21:33:34 | brixen | ddfreyne: feel free to submit patches ;) |
| 21:33:35 | ddfreyne | ahh, cool |
| 21:33:47 | ddfreyne | brixen: I would, but I have little knowledge about rubinius’ internals |
| 21:33:50 | kronos_vano | Here we go: Symbol not found: _rb_int2big :) |
| 21:34:01 | kronos_vano | it is easy |
| 21:34:03 | brixen | ddfreyne: heh, yes, it's a bit of a catch22 huh :) |
| 21:34:24 | brixen | kronos_vano: thanks for working on rmagick, but don't forget you owe us the other patch too |
| 21:34:32 | brixen | I forget what it was now... |
| 21:34:35 | brixen | :) |
| 21:35:29 | kronos_vano | brixen, Which one? |
| 21:35:59 | kronos_vano | ah |
| 21:36:05 | kronos_vano | it is about shifting bits |
| 21:36:12 | brixen | ah yeah, that's the one |
| 21:36:48 | kronos_vano | It is ready, just needed some tests. |
| 21:36:53 | brixen | ok |
| 21:37:09 | brixen | I guess you don't really know if it's ready then, huh? ;) |
| 21:37:17 | kronos_vano | :D |
| 21:37:27 | brixen | ok, I'm going to run some errands |
| 21:37:34 | brixen | don't burn anything down :) |
| 21:37:34 | ddfreyne | darn, deleting global_lock.cpp and .hpp didn’t remove the GIL |
| 21:37:40 | ddfreyne | (no, I wasn’t being serious :P) |
| 21:37:58 | brixen | ddfreyne: that approach has been offerred many times by dwaite |
| 21:38:05 | brixen | but we keep rejecting it :) |
| 21:38:23 | ddfreyne | high fives dwaite |
| 21:39:57 | ddfreyne | the rubinius code certainly is a lot more pleasing to read than the MRI source code |
| 21:40:25 | kronos_vano | heh 300th ticket |
| 21:56:21 | duncanmv | wonders why g++ warns there |
| 21:56:47 | dbussink | duncanmv: where? |
| 22:01:26 | kronos_vano | everywhere ^^ |
| 22:02:25 | duncanmv | ahhh grrrrr |
| 22:02:27 | duncanmv | it was fixed in head |
| 22:02:33 | duncanmv | but it is present in 1.0.0 |
| 22:02:46 | duncanmv | the behavior is actually in the gcc 4 porting guide |
| 22:03:01 | duncanmv | "You cannot modify variables as part of passing them to a function" |
| 22:03:09 | dbussink | duncanmv: well, last version i ever tested with was with 4.4 |
| 22:03:16 | dbussink | duncanmv: i read it up yeah, it's unspecified |
| 22:03:26 | dbussink | but they didn't start warning about it in 4.5 apparently |
| 22:03:31 | dbussink | until 4.5 i mean |
| 22:04:27 | dbussink | duncanmv: it's actually modifying them in a statement where it also occurs in another place in the same statement |
| 22:05:14 | duncanmv | thinks about applying all head patches to the 1.0.0 rpm package |
| 22:05:28 | duncanmv | would it work with llvm 2.7? |
| 22:05:32 | dbussink | duncanmv: probably the best solution |
| 22:05:34 | dbussink | duncanmv: nope |
| 22:05:42 | dbussink | llvm 2.7 support isn't trivial |
| 22:05:45 | dbussink | so that will take some work |
| 22:05:52 | dbussink | dunno when evan wants to take that on |
| 22:05:54 | slava | what hapened in llvm 2.7? |
| 22:06:08 | dbussink | they shuffled around stuff in the api from what i know |
| 22:06:22 | dbussink | it's at least not compatible with 2.6 |
| 22:07:47 | dbussink | duncanmv: the only changes in master are the gcc 4.5 build fixes |
| 22:08:38 | dbussink | but i'm going to get some sleep |
| 22:08:42 | dbussink | nite ppl! |
| 22:10:29 | duncanmv | bye |
| 23:28:09 | boyscout | Added HAVE_STDARG_PROTOTYPES for C-API. Closes #300. - 3c2edb3 - Brian Ford |
| 23:28:09 | boyscout | Added OBJ_FREEZE for bluecloth gem. - fbbdc09 - Brian Ford |
| 23:29:57 | kronos_vano | brixen, around? |
| 23:30:53 | brixen | kronos_vano: sup? |
| 23:31:12 | kronos_vano | Any ideas where I can find rb_io_stdio_file function description? |
| 23:31:38 | kronos_vano | I grep whole 1.8.7 source - it is ghost! |
| 23:31:52 | kronos_vano | no such function. |
| 23:32:26 | brixen | hmm, good question |
| 23:32:30 | brixen | rmagick uses this? |
| 23:32:41 | brixen | even google code search doesn't find it |
| 23:32:46 | kronos_vano | arr. I get it |
| 23:32:52 | kronos_vano | it is 1.9 function |
| 23:33:13 | kronos_vano | http://gist.github.com/402509 |
| 23:33:14 | brixen | someone should tell google that :) |
| 23:33:33 | kronos_vano | just need to implement GetReadFile and GetWriteFile |
| 23:37:13 | boyscout | CI: rubinius: fbbdc09 successful: 3457 files, 13596 examples, 41216 expectations, 0 failures, 0 errors |
| 23:52:30 | kronos_vs_rmagic | ruby-1.8.7-p249 > require 'rmagick' |
| 23:52:30 | kronos_vs_rmagic | => true |
| 23:59:22 | brixen | kronos_vano: sweet! |
| 23:59:50 | kronos_vano | brixen, rmagick doesn't have tests :( |