-
One thing to come out of tonight's talk was that the output of `echo` can be misleading: when trying to inspect the outcome of a function, for example, `vim.echo("missing#FakeFunction()")` will simply…
mudge updated
11 years ago
-
This code should print 42, but doesn't
``` ruby
def foo(&block)
block = proc { 0 }
yield
end
p bar { 42 }
```
What happens is, that the &block parameter points to the stack location of the impli…
-
I noticed that there are some hardcoded values in vm/llvm/inline_policy.hpp
that describe what JIT considers small, normal and large method size. The values
at the moment are 100, 300 and 2000 respect…
-
I got the following outputs. The correct output of `Math.atan 0.0/0.0` is NaN. Right?
C:\tmp>jruby -v
jruby 1.7.0.RC1 (1.9.3p203) 2012-09-25 8e849de on Java HotSpot(TM) Client VM 1.7
.0_03-b05 [Wind…
ashbb updated
12 years ago
-
When I clone a MagLev repo and run update.sh I get a "Cannot create stone maglev: the conf file already exists"
$ git clone --depth 1 https://github.com/MagLev/maglev.git MagLev-27184.Linux-x86_64
..…
Monty updated
12 years ago
-
Using installed rbx with `RBXOPT=-X19` environment causes compilation of rubinius to fail.
Steps:
1. install rubinius (say `$HOME/app/rbx20`)
2. add `$HOME/app/rbx20/bin` to `PATH` environment so `rb…
-
Might not want to send that along...
`git archive --format=tar HEAD | gzip > MagLev-1.0.x.tar.gz`
-
Would it be possible to add some very short & simple instructions to the README regarding your own workflow for running RubySpec against Backports, please.
That is, I'm wondering how exactly one shou…
artob updated
12 years ago
-
Hi. I try to use sashimi_friday.
I do following README, but I can't checkout sashimi_friday branch on rubyspec.
Do you forget push the branch?
Thanks.
yalab updated
12 years ago
-
``` ruby
Regexp.escape(:symbol)
```
This works in MRI 1.9 and throws an error in RBX 1.9 mode. Not sure if MRI is doing the right thing but it's pretty convenient :thumbsup: