<DireFog>
do mimic methods for assignment (#blah=(var)) always implicitly return var instead of their normal return value for some reason?
goyox86 has joined #rubinius
<yorickpeterse>
Not sure if I'm following
<yorickpeterse>
If you're asking if methods return arguments by default, no
<yorickpeterse>
e.g. `def foo(number = 10); end` will not return `10` by default
elia has quit [Ping timeout: 265 seconds]
sferik has joined #rubinius
nirvdrum has joined #rubinius
|jemc| has joined #rubinius
elia has joined #rubinius
<|jemc|>
DireFog: it's not really that the method returns a different value than the one you explicitly return, but you are right that the Ruby semantic of the "result" of calling a writer method with the shorthand is always the value you assigned rather than the return value of the method
<DireFog>
class F; def b=(i) @b = i+1; end; def b; @b; end; end; f = F.new; a = f.b = 0
havenwood has quit [Remote host closed the connection]
havenwood has joined #rubinius
benlovell has joined #rubinius
benlovell has quit [Ping timeout: 244 seconds]
lbianc has quit [Ping timeout: 240 seconds]
lbianc has joined #rubinius
<yorickpeterse>
nirvdrum: 3.x
<yorickpeterse>
3.2 up to 3.5 should be fine
goyox86_ has joined #rubinius
goyox86 has quit [Ping timeout: 244 seconds]
<nirvdrum>
yorickpeterse: Hmm . . . I can't compile rbx 2.4.1 with llvm 3.4.2. I'm getting: /tmp/ruby-build.20150108095320.21815/rubinius-2.4.1/vm/llvm/state.hpp:10:28: fatal error: llvm/IR/Module.h: No such file or directory
<nirvdrum>
rbx 2.2.10 compiled fine.
<nirvdrum>
I'm installing via ruby-build.
<nirvdrum>
I'll investigate more. I just didn't know if it was a simple fix like use llvm 3.5.
sshao_ has joined #rubinius
sshao has quit [Read error: Connection reset by peer]
mbj has quit [Quit: leaving]
[spoiler] has joined #rubinius
benlovell has joined #rubinius
_elia has joined #rubinius
benlovell has quit [Read error: Connection reset by peer]
max96at is now known as max96at|off
elia has quit [Ping timeout: 252 seconds]
benlovell has joined #rubinius
lbianc_ has joined #rubinius
lbianc has quit [Ping timeout: 245 seconds]
lbianc_ is now known as lbianc
max96at|off is now known as max96at
_elia has quit [Read error: Connection reset by peer]
benlovell has quit [Read error: Connection reset by peer]
benlovell has joined #rubinius
mustmodify has left #rubinius [#rubinius]
benlovell has quit [Ping timeout: 264 seconds]
<nirvdrum>
It looks like upgrading to 3.5 did the trick.
<nirvdrum>
I'm not sure if that header is just missing in 3.4.2 or if upgrading fixed some other problem.
meh` has joined #rubinius
Akanksha08 has joined #rubinius
Akanksha08 has quit [Ping timeout: 246 seconds]
pietr0 has joined #rubinius
Akanksha08 has joined #rubinius
<Akanksha08>
Hi
Bwild has joined #rubinius
<cremes>
Akanksha08: hey
<yorickpeterse>
Akanksha08: did you give the presentation yet?
<Akanksha08>
Nope
<Akanksha08>
It is on saturday
<yorickpeterse>
Aah
<Akanksha08>
Still preparing for the talk. Hope it brings more people to rubinius community.
<yorickpeterse>
How many people will be attending?
<Akanksha08>
No idea. I am going for the first time to that conference.
<yorickpeterse>
"We will not publish CPU results gathered on virtual hosts where we can not control our CPU allocation. The only results published on rubybench run on production level bare metal servers."
<yorickpeterse>
that makes...little sense
<yorickpeterse>
since half the planet runs on VMs you very much _want_ VM statistics
<jc00ke>
yorickpeterse: but probably not for a pure, baseline benchmark
<bennyklotz>
true, didn't read the intro yet just found the link 5 secs ago :D
<yorickpeterse>
But it looks interesting, although I'm not sure how well the benchmarks would work on Rbx/JRuby
<yorickpeterse>
(not sure if they take warmups into account)
<yorickpeterse>
hm, seems they don't
<chrisseaton>
yorickpeterse: the problem is it's very hard to get significant results on VMs. I saw a presentation at last year's managed runtime meeting in London about someone who tried to benchmark on EC2, and the noise was overwhelming. I think it was Jeremy Singer from Glasgow.
<jc00ke>
I very much wanted to build a long-running benchmarking tool... glad to see someone did it
<jc00ke>
I can now archive that Trello card ;)
<chrisseaton>
yorickpeterse: so while it's worthwhile, we don't know how to make the science work
<yorickpeterse>
chrisseaton: well yes, you need to put some effort into it