<|jemc|> for what it's worth, a more concurrent load shows rubinius beating MRI by about 20%
<|jemc|> although with that benchmark I wasn't about to run with FFI = Rubinius::FFI because of more 'invalid pointer' issues
<|jemc|> I think maybe Rubinius::FFI is having some kind of issue trying to free the pointer twice - I'll have to investigate it more
<|jemc|> and this is all still a moot point until rubinius runs on ARM :)
<diegoviola> " Ruby is just not attracting the attention and crowdfare it used to. Engine Yard used to be Ruby only (and supported JRuby and Rubinus ...) and has since added more languages as Ruby is not the beginning nor the end. That isn't saying Ruby is dying; just there is competition and sometimes it's hard to compete."
<diegoviola> what do you say to that?
<slaught> diegoviola: adapt or die
<slaught> or the more nuanced ecology-esque answer. construct a niche or die.
slaught has quit [Quit: slaught]
|jemc| has quit [Ping timeout: 264 seconds]
TheRedGuy has joined #rubinius
pietr0 has quit [Quit: pietr0]
<[spoiler]> "That isn't saying Ruby is dying; just there is competition and sometimes it's hard to compete" not sure if that refers to their business strategy (diversity means more money, in the end) or if it means that Ruby is not very good at competing lol
TheRedGuy has quit [Quit: Quit]
|jemc| has joined #rubinius
[spoiler] has quit [Quit: Leaving]
goyox86 has joined #rubinius
goyox86 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
amclain has joined #rubinius
nirvdrum has quit [Ping timeout: 258 seconds]
Bwild has joined #rubinius
meh` has quit [Ping timeout: 244 seconds]
diegoviola has quit [Remote host closed the connection]
digitalextremist has joined #rubinius
digitalextremist has quit [Client Quit]
JimmySieben has joined #rubinius
JimmySieben has quit [Quit: JimmySieben]
JimmySieben has joined #rubinius
slaught has joined #rubinius
JimmySieben has quit [Quit: JimmySieben]
amclain has quit [Quit: Leaving]
havenwood has quit [Remote host closed the connection]
slaught has quit [Quit: slaught]
Bwild has quit [Ping timeout: 250 seconds]
elia has joined #rubinius
<yorickpeterse> morning
noop1 has joined #rubinius
dlackty__ has quit [Ping timeout: 258 seconds]
dlackty__ has joined #rubinius
GitHub193 has joined #rubinius
<GitHub193> [rubinius] jemc pushed 1 new commit to master: http://git.io/Y_uiPA
<GitHub193> rubinius/master 010342a Joe Eli McIlvain: Fixed FFI::MemoryPointer#autorelease= and added #autorelease?...
GitHub193 has left #rubinius [#rubinius]
|jemc| has quit [Ping timeout: 240 seconds]
travis-ci has joined #rubinius
<travis-ci> rubinius/rubinius/master (010342a - Joe Eli McIlvain): http://travis-ci.org/rubinius/rubinius/builds/45433684: The build passed.
travis-ci has left #rubinius [#rubinius]
benlovell has joined #rubinius
[spoiler] has joined #rubinius
benlovell has quit [Ping timeout: 245 seconds]
benlovell has joined #rubinius
elia has quit [Quit: Computer has gone to sleep.]
elia has joined #rubinius
elia has quit [Client Quit]
elia has joined #rubinius
johnmuhl has quit [Quit: Connection closed for inactivity]
[spoiler] has quit [Quit: Leaving]
elia has quit [Ping timeout: 245 seconds]
elia has joined #rubinius
elia has quit [Quit: Computer has gone to sleep.]
Akanksha08 has joined #rubinius
<bennyklotz> I suggested to add rubinius 3.0 :)
goyox86 has joined #rubinius
goyox86 has quit [Read error: Connection reset by peer]
goyox86 has joined #rubinius
goyox86 has quit [Read error: Connection reset by peer]
goyox86 has joined #rubinius
goyox86 has quit [Read error: Connection reset by peer]
goyox86 has joined #rubinius
goyox86 has quit [Read error: Connection reset by peer]
goyox86 has joined #rubinius
goyox86 has quit [Read error: Connection reset by peer]
goyox86 has joined #rubinius
goyox86 has quit [Read error: Connection reset by peer]
mustmodify has joined #rubinius
goyox86 has joined #rubinius
<mustmodify> does anyone know whether 'try... catch' or 'begin... rescue... end' is more common? In my experience, seems like most use try catch.
goyox86 has quit [Read error: Connection reset by peer]
<yopp> you mean throw/catch?
goyox86 has joined #rubinius
<yorickpeterse> mustmodify: both have different use cases
<mustmodify> yopp: Well, javascript, C# and PHP use try { } catch(err) { }
<yorickpeterse> try/catch is for flow control, begin/rescue is for error handling
<yorickpeterse> try/catch is usually used for breaking out of deep recursion
<yorickpeterse> e.g. you can do something like
<yopp> ^^ ++
<yorickpeterse> errrr try/catch, I mean throw/catch
<yorickpeterse> catch(:foo) { .... throw :foo }
<yorickpeterse> catch(:foo) here then returns whatever extra arguments `throw` has I believe
<yorickpeterse> or `nil` by default
<yopp> throw(:foo, :bar, :baz) (which is pretty helpful)
<yorickpeterse> Sinatra uses this when you call halt() for example
<yopp> yup
<mustmodify> yorickpeterse: Oh good. I thought I was losing my mind. "Gee, maybe I was doing error handling wrong all this time." :)
<yopp> and there no try in ruby, at all :)
johnmuhl has joined #rubinius
mustmodify has quit [Quit: mustmodify]
mustmodify has joined #rubinius
yxhuvud has quit [Ping timeout: 240 seconds]
Akanksha08 has quit [Quit: Page closed]
elia has joined #rubinius
Bwild has joined #rubinius
elia has quit [Client Quit]
cpuguy83 has quit [Read error: Connection reset by peer]
Bwild has quit [Ping timeout: 245 seconds]
cpuguy83 has joined #rubinius
enebo has joined #rubinius
enebo has quit [Client Quit]
Bwild has joined #rubinius
yxhuvud has joined #rubinius
Bwild has quit [Ping timeout: 255 seconds]
Akanksha08 has joined #rubinius
goyox86 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
elia has joined #rubinius
goyox86 has joined #rubinius
nirvdrum has joined #rubinius
noop1 has quit [Read error: Connection reset by peer]
noop1 has joined #rubinius
havenwood has joined #rubinius
jemc has joined #rubinius
nirvdrum_ has joined #rubinius
nirvdrum__ has joined #rubinius
nirvdrum has quit [Ping timeout: 255 seconds]
meh` has joined #rubinius
cremes_ has joined #rubinius
nirvdrum__ has quit [Remote host closed the connection]
cremes has quit [Ping timeout: 255 seconds]
benlovell has quit [Ping timeout: 265 seconds]
slaught has joined #rubinius
benlovell has joined #rubinius
cremes_ is now known as cremes
elia has quit [Quit: Computer has gone to sleep.]
goyox86 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
benlovell has quit [Ping timeout: 245 seconds]
elia has joined #rubinius
nirvdrum_ has quit [Read error: Connection reset by peer]
jemc has quit [Quit: WeeChat 1.0.1]
<brixen> bennyklotz: yeah, I'm going to ping the site point guy
<brixen> bennyklotz: feel free to ping him as well :)
<brixen> Rubinius has a serious marketing problem at the moment
<brixen> but plans... :)
jemc has joined #rubinius
elia has quit [Quit: Computer has gone to sleep.]
diegoviola has joined #rubinius
mustmodify has left #rubinius [#rubinius]
elia has joined #rubinius
elia has quit [Client Quit]
<bennyklotz> brixen: I already did that, and he added rbx to the post :)
<brixen> bennyklotz: heh, thanks :)
<bennyklotz> np :)
<brixen> I missed the update when I skimmed it again this morning
<brixen> I read the post last night
<bennyklotz> hehe okay
<brixen> I would like him to call out some bullet points like he did for <some other implementation>
<bennyklotz> yea would be cool, maybe link him to https://github.com/rubinius/rubinius/issues/3254
<bennyklotz> and if he needs more details he should talk to you :)
<brixen> I sent him several tweets calling out specific points, like statsd
<brixen> we'll have to see if he responds
<bennyklotz> okay cool
<bennyklotz> *hope*
<diegoviola> I'm still confused with rubinius-x, will rubinius always remain compatible with MRI's version of Ruby?
<brixen> bennyklotz: if you wanted to spend some time on this, you could round up a list of sites we should be sending "press releases" to :)
<brixen> diegoviola: the goal of Rubinius is to help people solve hard problems without switching to a non-Ruby language
<brixen> part of that is making it trivial for people to migrate from a current MRI version to Rubinius
<brixen> it is that feature that drives MRI compatibility
<bennyklotz> brixen: I'm not a marketing guy but could do some searching for proper sites :)
elia has joined #rubinius
<brixen> if 90% of people don't care about switching from MRI, we have 1/10 a focus on MRI compatibility
<brixen> in other words, we need to build the features people actually need to solve their actual problems
<brixen> the main problem for Rubinius is that we haven't made this the message for the past 7+ years
<brixen> to the detriment of Rubinius and all those who have left Ruby because MRI isn't useful enough to them
<brixen> diegoviola: does this answer your Q?
<diegoviola> brixen: yes, thanks
<brixen> bennyklotz: you don't have to do the marketing, but helping us build that list would be awesome :)
<bennyklotz> brixen: okay sure :)
<brixen> bennyklotz: sweet, thanks
<diegoviola> brixen: you mention people switching away from Ruby to other languages, that's for sure, but don't you think part of that is just marketing and psychology? we do have things like JRuby and Celluloid
<diegoviola> brixen: I'm not saying those two things are everything for performance, and I'm not a Java guy myself
<brixen> diegoviola: I'm not sure what you're asking
<brixen> are you saying Twitter switching to Scala and not JRuby was just marketing and psychology?
<brixen> psychology doesn't make your app not throw fail whales
<diegoviola> no, I mean I'm talking about fads
<brixen> well, it's on vogue these days to blame Ruby's faults on people only being motivated by hype
<brixen> there's this field call economics that looks at people's behavior :)
<brixen> s/on/in/
<brixen> Rails would not be where it is today if people had not derived significant value at a point in time
<brixen> people do not pay people to write applications for hype
<bennyklotz> brixen: https://gist.github.com/bennyklotz/1efaa234484d9300c2f0 a short list, altough I think heroku would not mention rbx because they are the driving force behind mri right?
<brixen> <em>if every programmer language were equivalent, we wouldn't be having discussions about equivalence of programming languages</em>
<brixen> s/programmer/programming/
<diegoviola> brixen: yes, sure, but not everyone who writes code do so for $$
<brixen> bennyklotz: sweet
<brixen> bennyklotz: Heroku supports running Rubinius
<diegoviola> brixen: I see folks all the time in #archlinux-offtopic that are like "Go is amaziiiiiiiiiiiing.. No, it's rust now"
<bennyklotz> brixen: okay then nvm :D
<brixen> bennyklotz: if they think their customers are better served by not mentioning Rubinius, I'm happy to let Twitter know :)
<bennyklotz> brixen: okay, if I find anything new I'll add it :)
<diegoviola> brixen: every new week there's a new language and people switch to it, that's what I'm talking about
<brixen> diegoviola: how many of those people have $$ coming out of their wallets to people to build things in Go or Rust?
<brixen> diegoviola: these discussions get tiring at some point
jemc has quit [Ping timeout: 244 seconds]
<brixen> diegoviola: I've been reading through this, you may find it useful http://www.amazon.com/Mastering-Metrics-Path-Cause-Effect/dp/0691152845
<diegoviola> ty
<diegoviola> brixen: I'm not claiming that we can improve performance with Ruby by making Rubinius better, I'm saying that part of the reason I see people moving away to other languages might be hype
<diegoviola> I see nothing wrong with that personally, it's why I moved to Ruby from PHP back in 2008 or so
<brixen> diegoviola: yes, I hear a lot about hype being the reason and zero actual evidence that people pulling $ out of their wallets being influence primarily by hype
<brixen> diegoviola: pretty sure moving from PHP to Ruby isn't hype
<diegoviola> s/can/can't/
<brixen> and also pretty sure Twitter moving from Ruby to Scala wasn't hype
<brixen> etc etc
<diegoviola> well, I didn't just moved just for hype, Ruby was clearly a nicer language and I was looking to learn a general purpose language at that time
<brixen> diegoviola: I'm not saying hype does not exist, but you don't build a business mostly or even a lot on hype
<diegoviola> brixen: don't get me wrong, I like rbx and I'm sure if it gives people what they want lots of folks will switch back
<brixen> people are not that stupid when it comes to their money
<bennyklotz> I moved from php to ruby 2 years ago, still consider myself a ruby rookie but I think posts / comparisons like http://matt.aimonetti.net/posts/2013/06/23/using-go-vs-ruby-for-web-apis are harming ruby itself
<diegoviola> brixen: yeah I'm not claiming that
<diegoviola> brixen: I'm talking about individuals and folks who post on Hacker News
<brixen> there are certainly people who exaggerate some point about a language
<brixen> diegoviola: I don't use HN
<brixen> :)
* brixen lunches
<diegoviola> ok
<diegoviola> I'm not sure what business are using now, maybe Java?
<diegoviola> I've been doing rails development since 2008 or so, freelance work
<diegoviola> lately I have had a hard time finding work with just Rails
<diegoviola> it's like you need to know a lot of other things as well these days, JS, angular, ember
benlovell has joined #rubinius
benlovell has quit [Ping timeout: 244 seconds]
diegoviola has quit [Quit: WeeChat 1.0.1]
diegoviola has joined #rubinius
Akanksha08 has quit [Quit: Leaving]
pietr0 has joined #rubinius
elia has quit [Quit: Computer has gone to sleep.]
slaught has quit [Quit: slaught]
mustmodify has joined #rubinius
johnmuhl has quit [Quit: Connection closed for inactivity]
<mustmodify> Ruby geniuses... I patched Numeric so that I could set a "scale" attribute. I patched Numeric#to_s to respect that scale attribute, so I could see 20.to_s => '20' and other times 20.tap{|n| n.scale = 3}.to_s == 20.000. But now numbers are frozen. Should I create a wrapper class? Seems like a mess just for some formatting. Should I add view helpers and try to remember to use that everywhere in my app? Ouch.
noop1 has quit [Ping timeout: 264 seconds]
<mustmodify> This may see OT, but I'm trying to get my app compatible with RBX so I can use that when I transition to a new server.
<jc00ke> mustmodify: yeah, seems like a mess for just some formatting ;) I'd go with a wrapper
JohnBat26 has joined #rubinius
<yorickpeterse> Hm interesting, v2 of the aws-sdk uses multi-xml
<yorickpeterse> that means it should be easier to hook it into Oga at some point
<yorickpeterse> that would probably be less effort than fixing v1 of the sdk
sshao has joined #rubinius
diegoviola has quit [Quit: WeeChat 1.0.1]
slaught has joined #rubinius
<brixen> mustmodify: do you have an example of code that is behaving differently on rbx than MRI?
<brixen> yorickpeterse: that's good news about multi-xml
<brixen> yorickpeterse: next stop, fix Rails and Rails dependent gems to do so as well :)
<mustmodify> brixen: no, sorry to be unclear. I'm switching it to be compatible with Ruby 2, since Rubinius no longer offers 1.8 compatibility.
yxhuvud has quit [Remote host closed the connection]
goyox86 has joined #rubinius
goyox86 has quit [Client Quit]
mustmodify has quit [Read error: Connection reset by peer]
goyox86 has joined #rubinius
<yorickpeterse> brixen: when exactly do we turn something into a vcall?
<|jemc-bot|> yorickpeterse: it's a true/false flag passed to the bytecode instruction for send
<|jemc-bot|> it's known in the AST
<yorickpeterse> hm
<|jemc-bot|> (not sure where it goes from there)
<yorickpeterse> trying to get a spec going for https://github.com/rubinius/rubinius/issues/3101
<yorickpeterse> interesting enough there's a spec for Kernel#binding which uses eval() for that and _somehow_ does raise a NameError
<|jemc-bot|> yorickpeterse: I can take a look at the vcall thing in a bit
<yorickpeterse> There's no rush, I was just taking a peek at what exactly it was doing/related to
yxhuvud has joined #rubinius
<|jemc-bot|> ah, I was wrong - it's not a flag but a separate instruction
<|jemc-bot|> send_method vs send_stack
JohnBat26 has quit [Quit: KVIrc 4.3.1 Aria http://www.kvirc.net/]
[spoiler] has joined #rubinius
<jc00ke> mustmodify: Rubinius does have 1.8 compatibility, in the 1.x branch
diegoviola has joined #rubinius
diegoviola has quit [Read error: Connection reset by peer]
diegoviola has joined #rubinius
diegoviola has quit [Remote host closed the connection]
jbr^ has joined #rubinius
havenwood has quit []
pietr0 has quit [Quit: pietr0]