ChanServ changed the topic of #ruby-lang to: Ruby 1.9.3-p125: http://ruby-lang.org | Paste >3 lines of text on http://pastie.org or use a gist
<csmrfx> (just replace Tests::run_tests() line with extend Tests)
esad has joined #ruby-lang
robbyoconnor is now known as r0bby
r0bby is now known as robbyoconnor
cored has quit [Read error: Operation timed out]
cored has joined #ruby-lang
cored has quit [Changing host]
cored has joined #ruby-lang
uuair has quit [Quit: uuair]
qwerxy has joined #ruby-lang
datanoise has joined #ruby-lang
datanoise has quit [Ping timeout: 240 seconds]
KA__ has joined #ruby-lang
postmodern has joined #ruby-lang
savage- has joined #ruby-lang
arubin_ has joined #ruby-lang
<csmrfx> I would like to divide methods in a module into several sub-modules. Is extending the methods from the sub-modules into their containing module a proper approach?
<Spaceghostc2c> csmrfx: Look at hashie's source.
KU0N has quit [Quit: Linkinus - http://linkinus.com]
<csmrfx> *
<csmrfx> *tup*
KA__ has quit [Quit: KA__]
<csmrfx> Spaceghostc2c b-but, but http://www.ruby-forum.com/topic/3036681
datanoise has joined #ruby-lang
mwjcomputing has joined #ruby-lang
<Spaceghostc2c> csmrfx: wat?
<csmrfx> autoload will be deprecated
<Spaceghostc2c> csmrfx: I don't care about that part
<matti> Hi Spaceghostc2c
<Spaceghostc2c> I'm talking about how things are separated ou
<Spaceghostc2c> out
<csmrfx> ok, cool
<Spaceghostc2c> It isn't a marvel of modern ruby craftsmanship
datanoise has quit [Ping timeout: 255 seconds]
charliesome has joined #ruby-lang
<csmrfx> I still dont get why one has to extend the methods in a module onto the module to call em
<csmrfx> +" defined "
<csmrfx> as in: Tests.extend Tests
cyri_ has quit [Quit: cyri_]
<csmrfx> Yes, had a read earlier
<csmrfx> isn't that the same for one as extend is for all
<csmrfx> (hm, with the "singleton methods" exception)
wyhaines has joined #ruby-lang
<csmrfx> I think I got it right now: extend the Planet::Tests method only within Tests, and the rest of the Planet::Submodules within the Planet.
savage- has quit [Quit: savage-]
Assurbanipal has quit [Quit: Konversation terminated!]
erichmenge has joined #ruby-lang
phaedrix has quit [Read error: Connection reset by peer]
uglybandersnatch has joined #ruby-lang
VGoff_afk is now known as VGoff
banisterfiend has quit [Ping timeout: 240 seconds]
uglybandersnatch has left #ruby-lang [#ruby-lang]
datanoise has joined #ruby-lang
qwerxy has quit [Quit: offski]
Madis has quit [Quit: ChatZilla 0.9.89 [Firefox 16.0.1/20121026125834]]
sepp2k has quit [Remote host closed the connection]
kevinX has joined #ruby-lang
batdorf has quit [Ping timeout: 240 seconds]
thinkdevcode has joined #ruby-lang
thinkdevcode has quit [Remote host closed the connection]
swarley has quit [Ping timeout: 260 seconds]
swarley has joined #ruby-lang
roadt_ has joined #ruby-lang
ryanf has joined #ruby-lang
mwjcomputing has quit [Quit: Leaving]
justinmcp has quit [Remote host closed the connection]
justinmcp has joined #ruby-lang
buscapepe has joined #ruby-lang
justinmcp has quit [Ping timeout: 245 seconds]
KA_ has joined #ruby-lang
KA_ has quit [Client Quit]
toretore has quit [Quit: Leaving]
KA_ has joined #ruby-lang
KA_ has quit [Client Quit]
jbsan has quit [Read error: Connection reset by peer]
buscapepe has quit [Quit: buscapepe]
buscapepe has joined #ruby-lang
areil has joined #ruby-lang
arubin_ has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
ryanf has quit [Quit: broken pipes |||]
KA_ has joined #ruby-lang
ryanf has joined #ruby-lang
wyhaines has quit [Remote host closed the connection]
justinmcp has joined #ruby-lang
cschwart1 has joined #ruby-lang
datanoise has quit [Ping timeout: 260 seconds]
nertzy has joined #ruby-lang
cschwartz has quit [Ping timeout: 252 seconds]
Kingy has quit [Quit: Leaving]
datanoise has joined #ruby-lang
lsegal has joined #ruby-lang
buscapepe has quit [Remote host closed the connection]
nertzy has quit [Quit: This computer has gone to sleep]
nertzy has joined #ruby-lang
phaedrix has joined #ruby-lang
uuair has joined #ruby-lang
sent_hil has left #ruby-lang [#ruby-lang]
jarred has joined #ruby-lang
<jarred> How do I prevent a thread from dying? I tried sticking a loop block in side the thread's block but it still dies after a few seconds
chimkan has joined #ruby-lang
KA_ has quit [Quit: KA_]
ryanf has quit [Quit: broken pipes |||]
justinmcp has quit [Remote host closed the connection]
justinmcp has joined #ruby-lang
justinmc_ has joined #ruby-lang
justinmcp has quit [Ping timeout: 240 seconds]
sn0wb1rd has quit [Read error: Connection reset by peer]
sn0wb1rd has joined #ruby-lang
<rking> jarred: Hehe, threads don't just "die"
KA_ has joined #ruby-lang
<jarred> rking: Am I inadvertently killing the thread? Here's the relevant code https://gist.github.com/10e08cfb9b6f33427df5. I require the module in IRB, add a request to it, and it never gets processed. When I call "@thread", I get #<Thread:0x007fe1fc57b288 dead>
<jarred> (Yeah, spacing is horrible. It looks good in Sublime Text 2 though)
KA_ has quit [Quit: KA_]
<rking> jarred: Divide & conquer.
KA_ has joined #ruby-lang
<rking> jarred: Take the body of Thread.new do … end and make it its own method, then call it
<jarred> Okay
<jarred> rking: Same result --> https://gist.github.com/8c79f4270ed5d4d94019
<rking> jarred: No, there should be no Thread involved at that point.
<jarred> I'm confused. Why not?
<rking> process_requests! should simply be: @thread = Thread.new loop do process_request end end
<jarred> oh
<jarred> okay
<rking> Because otherwise you're not actually dividing anything (and thus won't conquer in a hurry)
datanoise has quit [Ping timeout: 240 seconds]
<jarred> I'm not trying to process every request asynchronously, I want to process all of them on a single separate thread, one by one
<jarred> (In this case, it's more like a background worker)
<rking> Hehe, all I'm getting at is that you have an error in the body of process_requests!
<erichmenge> Kinda like the excellent applications already on the market to do that? ;)
<rking> And you're not seeing it because it's dying in a different thread.
<jarred> oh!
<rking> So it'd be easier on you if you tested it by calling just that body without the thread.
<jarred> That makes far more sense
<jarred> yeah
<jarred> rking: It worked when I ran it manually https://gist.github.com/8c79f4270ed5d4d94019
<jarred> RestClient does throw an exception on redirects though
<jarred> oh different exception
<jarred> elsewhere
<rking> jarred: You can get it to show the errors when you @thread.join
<jarred> works
<jarred> thanks
<erichmenge> jarred: Also @requests ||= Queue.new isn't threadsafe
<erichmenge> dunno how many threads you plan on spinning up
<jarred> Just one
<erichmenge> okay
Aria has quit [Remote host closed the connection]
<rking> erichmenge: Ooh, good point.
Aria has joined #ruby-lang
uuair has quit [Quit: uuair]
<xalei> hey all
lcdhoffman has quit [Quit: lcdhoffman]
KA_ has quit [Quit: KA_]
davidbalbert is now known as davidbalber|away
kevinX has quit [Ping timeout: 260 seconds]
esad has quit [Ping timeout: 240 seconds]
datanoise has joined #ruby-lang
Kero has quit [Ping timeout: 252 seconds]
esad has joined #ruby-lang
Kero has joined #ruby-lang
qpingu has joined #ruby-lang
<xalei> anyone like helping newbies by giving feedback on their code? xD
<Spaceghostc2c> xalei: I'm pretty vicious. :)
<xalei> Spaceghostc2c, I don't mind, I completely accept that I'm a newb and I'd appreciate your feedback
<Spaceghostc2c> Sure, link us.
<rking> xalei: LINK.
<xalei> okay gimme a minute
<rking> xalei: BTW gem install jist && jist -c foo.rb
<rking> If you're a true newbie you were about to use pastebin.
krz has joined #ruby-lang
siyusong has joined #ruby-lang
<Spaceghostc2c> xalei: gist it
<xalei> rking, thanks! haha I've been here at least a few days now I know about gist
<Spaceghostc2c> xalei: http://gist.github.com/
<Spaceghostc2c> Good man!
<Paradox> woops, wrong channel
<Spaceghostc2c> Or woman.
brownies has left #ruby-lang [#ruby-lang]
<xalei> thanks, man lol
<Spaceghostc2c> Paradox: Everytime someone puts something into the wrong channel, I always have to look.
<Paradox> Spaceghostc2c, its funny
<Paradox> a psycho from borderlands reading hamlet
lcdhoffman has joined #ruby-lang
<Spaceghostc2c> xalei: Why do you have constants when you just assign them to methods?
jackhammer2022 has joined #ruby-lang
<xalei> may as well just have methods?
<Spaceghostc2c> xalei: Yes. :D
<xalei> that does make sense xD
<Spaceghostc2c> xalei: L53 doesn't have a test.
<Spaceghostc2c> Neither does 58
<Spaceghostc2c> xalei: In your tests.
<Spaceghostc2c> xalei: And line 72 doesn't make sense. A predicate method should return true or false, not raise an error.
<xalei> ok
ddd has quit [Quit: Leaving.]
<Spaceghostc2c> xalei: Does your #report method work like you expect?
<xalei> yep
KA_ has joined #ruby-lang
<xalei> it's not very complex, but it's just spitting out the values
<xalei> sorry if it's painful to look at =/
<xalei> line 42 is a problem as well
CaptainJet has quit []
<Spaceghostc2c> xalei: What's that?
<xalei> it's stupid that's what it is
<xalei> should be != I think
chimkan has quit [Quit: chimkan]
<Spaceghostc2c> xalei: Yeah, write a test to prove that.
senekis has quit [Quit: leaving o/]
siyusong has quit [Quit: Computer has gone to sleep.]
datanoise has quit [Ping timeout: 240 seconds]
woollyams has joined #ruby-lang
<xalei> *headdesk*
<xalei> how embarrassing lol
<Spaceghostc2c> xalei: No wories. :)
<Spaceghostc2c> worries, even
<Spaceghostc2c> Now that was embarrassing.
<xalei> xD
<xalei> fixed
swarley has quit [Read error: Operation timed out]
justinmc_ has quit [Remote host closed the connection]
<xalei> Spaceghostc2c, thank you =)
<Spaceghostc2c> xalei: Stay fresh.
<xalei> cheers! glad you picked up about that predicate function... that was a mind fart on my behalf
siyusong has joined #ruby-lang
KA_ has quit [Quit: KA_]
siyusong has quit [Client Quit]
<rking> xalei: I haven't been following closely, but if you want to re-gist I can give another round of antagonism.
chimkan has joined #ruby-lang
KA_ has joined #ruby-lang
KA_ has quit [Client Quit]
dhruvasagar has quit [Ping timeout: 246 seconds]
KA_ has joined #ruby-lang
Mon_Ouie has joined #ruby-lang
KA_ has quit [Client Quit]
areil has quit [Ping timeout: 245 seconds]
datanoise has joined #ruby-lang
havenn has joined #ruby-lang
areil has joined #ruby-lang
justinmcp has joined #ruby-lang
datanoise has quit [Ping timeout: 260 seconds]
nertzy has quit [Quit: This computer has gone to sleep]
chimkan has quit [Quit: chimkan]
savage- has joined #ruby-lang
stardiviner has joined #ruby-lang
xalei has quit [Remote host closed the connection]
areil has quit []
batdorf has joined #ruby-lang
kitallis has joined #ruby-lang
Aria has quit [Remote host closed the connection]
savage- has quit [Quit: savage-]
burgestrand1 has joined #ruby-lang
chendo_ has quit [Ping timeout: 240 seconds]
mistym has quit [Remote host closed the connection]
KA_ has joined #ruby-lang
burgestrand has quit [Ping timeout: 260 seconds]
chendo_ has joined #ruby-lang
burgestrand1 has quit [Ping timeout: 240 seconds]
KA_ has quit [Client Quit]
areil has joined #ruby-lang
savage- has joined #ruby-lang
lcdhoffman has quit [Quit: lcdhoffman]
methods has joined #ruby-lang
gsav has quit [Read error: Connection reset by peer]
roadt_ has quit [Ping timeout: 246 seconds]
anannie has quit [Ping timeout: 276 seconds]
methods has left #ruby-lang [#ruby-lang]
gsav has joined #ruby-lang
chendo_ has quit [Ping timeout: 268 seconds]
roadt_ has joined #ruby-lang
chendo_ has joined #ruby-lang
datanoise has joined #ruby-lang
siyusong has joined #ruby-lang
dc5ala has joined #ruby-lang
Swimming_Bird has quit [Quit: Computer has gone to sleep.]
uuair has joined #ruby-lang
justinmcp has quit [Remote host closed the connection]
justinmcp has joined #ruby-lang
datanoise has quit [Ping timeout: 240 seconds]
jackhammer2022 has quit [Quit: Textual IRC Client: http://www.textualapp.com/]
woollyams has quit [Quit: Computer has gone to sleep.]
justinmcp has quit [Ping timeout: 276 seconds]
<postmodern> isn't there a library for converting html to text+(links)
burgestrand has joined #ruby-lang
stardiviner has quit [Quit: my website: http://stardiviner.dyndns-blog.com/]
setmeaway has joined #ruby-lang
kingcrawler has joined #ruby-lang
kingcrawler has left #ruby-lang [#ruby-lang]
kingcrawler has joined #ruby-lang
areil_ has joined #ruby-lang
areil_ has quit [Client Quit]
areil_ has joined #ruby-lang
KA_ has joined #ruby-lang
areil_ has left #ruby-lang [#ruby-lang]
areil has quit [Ping timeout: 268 seconds]
areil has joined #ruby-lang
KA_ has quit [Client Quit]
yxhuvud has joined #ruby-lang
kgrz has joined #ruby-lang
brianpWins has joined #ruby-lang
ryanf has joined #ruby-lang
havenn has quit [Remote host closed the connection]
justinmcp has joined #ruby-lang
|Vargas| has joined #ruby-lang
|Vargas| has quit [Changing host]
|Vargas| has joined #ruby-lang
cirwin has joined #ruby-lang
chendo_ has quit [Read error: Operation timed out]
stardiviner has joined #ruby-lang
kitallis has quit [Ping timeout: 252 seconds]
<catepillar> nokogiri can do it
chendo_ has joined #ruby-lang
chendo_ has quit [Changing host]
chendo_ has joined #ruby-lang
siyusong has quit [Quit: Computer has gone to sleep.]
Mon_Ouie has quit [Ping timeout: 244 seconds]
kitallis has joined #ruby-lang
apeiros_ has quit [Ping timeout: 260 seconds]
gsav has quit [Read error: Connection reset by peer]
dhruvasagar has joined #ruby-lang
havenn has joined #ruby-lang
jarred has quit [Quit: jarred]
areil has quit [Ping timeout: 252 seconds]
havenn has quit [Ping timeout: 256 seconds]
justinmcp has quit [Remote host closed the connection]
justinmcp has joined #ruby-lang
Averna has quit [Quit: Leaving.]
dhruvasagar has quit [Ping timeout: 265 seconds]
apeiros_ has joined #ruby-lang
rue|w has joined #ruby-lang
justinmcp has quit [Ping timeout: 255 seconds]
batdorf has quit [Quit: Leaving]
ryanf has quit [Quit: leaving]
areil has joined #ruby-lang
uuair has quit [Quit: uuair]
dhruvasagar has joined #ruby-lang
savage- has quit [Quit: savage-]
workmad3 has joined #ruby-lang
cschwart1 has quit [Ping timeout: 244 seconds]
wallerdev has quit [Quit: wallerdev]
seoaqua has joined #ruby-lang
datanoise has joined #ruby-lang
workmad3 has quit [Ping timeout: 246 seconds]
Dreamer3 has quit [Quit: Computer has gone to sleep.]
solars has joined #ruby-lang
cschwartz has joined #ruby-lang
seoaqua has quit [Ping timeout: 252 seconds]
havenn has joined #ruby-lang
Kichael has quit [Ping timeout: 256 seconds]
havenn has quit [Ping timeout: 252 seconds]
rolfb has joined #ruby-lang
jarib has quit [Excess Flood]
jarib_ has joined #ruby-lang
<yorickpeterse> Morning
facest has joined #ruby-lang
faces has quit [Ping timeout: 260 seconds]
qwerxy has joined #ruby-lang
qwerxy has quit [Client Quit]
agarcia has joined #ruby-lang
banisterfiend has joined #ruby-lang
erichmenge has quit [Quit: Be back later]
blacktulip has joined #ruby-lang
justinmcp has joined #ruby-lang
laszlokorte has joined #ruby-lang
anannie has joined #ruby-lang
anannie has quit [Remote host closed the connection]
seoaqua has joined #ruby-lang
cyri_ has joined #ruby-lang
lsegal has quit [Quit: Quit: Quit: Quit: Stack Overflow.]
havenn has joined #ruby-lang
seoaqua has quit [Ping timeout: 260 seconds]
kjr has quit [Quit: kjr]
anannie has joined #ruby-lang
adambeynon has joined #ruby-lang
rebelcan has joined #ruby-lang
justinmcp has quit [Remote host closed the connection]
justinmcp has joined #ruby-lang
havenn has quit [Ping timeout: 265 seconds]
seoaqua has joined #ruby-lang
seoaqua has quit [Client Quit]
fsvehla has left #ruby-lang [#ruby-lang]
justinmcp has quit [Ping timeout: 260 seconds]
gnufied has joined #ruby-lang
cyri__ has joined #ruby-lang
cyri_ has quit [Ping timeout: 264 seconds]
cyri__ is now known as cyri_
wyhaines has joined #ruby-lang
jarib_ has quit [Quit: bye]
b3nt_pin has quit [Ping timeout: 246 seconds]
banisterfiend has quit [Ping timeout: 256 seconds]
jarib has joined #ruby-lang
workmad3 has joined #ruby-lang
cirwin has quit [Ping timeout: 256 seconds]
qwerxy has joined #ruby-lang
jsaak has joined #ruby-lang
adambeynon has quit [Quit: Computer has gone to sleep.]
anannie has quit [Ping timeout: 256 seconds]
toretore has joined #ruby-lang
mhag has joined #ruby-lang
jsaak has quit [Quit: leaving]
jsaak has joined #ruby-lang
runeb- has joined #ruby-lang
runeb- is now known as runeb
d3vic3 has joined #ruby-lang
havenn has joined #ruby-lang
havenn has quit [Ping timeout: 256 seconds]
xD34 has joined #ruby-lang
<xD34> Hello everyone, I would like to know if there is a simple way to add a line of text at the beginning of a file, without fully loading it into memory. Indeed, it's a very very large text, so I would like to avoid this, thanks :)
Hakon has joined #ruby-lang
gnufied has quit [Quit: Leaving.]
xD34 has quit [Quit: Page closed]
<yorickpeterse> When you create a file descriptor it doesn't load it into memory unless you start reading the file
<yorickpeterse> I believe that if you open the file with "r+" you can prepend text to it without overwriting it
sush24 has joined #ruby-lang
<heftig> yorickpeterse: nope.
<yorickpeterse> Hm, come to think of it that would overwrite the first line
<heftig> if you want to prepend, write a new file with the to-prepended data, then copy the rest from the old file. afterwards, rename the new over the old file
<yorickpeterse> Comedy option: use Bash :>
Assurbanipal has joined #ruby-lang
Assurbanipal has quit [Client Quit]
<steveklabnik> i was going to sarcastically write something like %x[...some bash here]
cultureulterior_ has joined #ruby-lang
kain has joined #ruby-lang
judofyr has joined #ruby-lang
b3nt_pin has joined #ruby-lang
kain has quit [Quit: exit]
kain has joined #ruby-lang
woollyams has joined #ruby-lang
dhruvasagar has quit [Ping timeout: 246 seconds]
dhruvasagar has joined #ruby-lang
Hakon has quit [Quit: Leaving...]
wyhaines has quit [Remote host closed the connection]
laszlokorte has quit [Ping timeout: 256 seconds]
esad has quit [Quit: Computer has gone to sleep.]
esad has joined #ruby-lang
Hakon has joined #ruby-lang
sepp2k has joined #ruby-lang
brunocoelho has joined #ruby-lang
nofxx has quit [Ping timeout: 264 seconds]
havenn has joined #ruby-lang
brunocoelho has quit [Remote host closed the connection]
rebelcan has quit [Quit: leaving]
havenn has quit [Ping timeout: 265 seconds]
dr_bob has joined #ruby-lang
anannie has joined #ruby-lang
nofxx has joined #ruby-lang
nofxx has joined #ruby-lang
nofxx has quit [Changing host]
stardiviner has quit [Quit: my website: http://stardiviner.dyndns-blog.com/]
woollyams has quit [Quit: Computer has gone to sleep.]
runeb has quit [Remote host closed the connection]
d3vic3 has quit [Ping timeout: 245 seconds]
d3vic3 has joined #ruby-lang
toretore has quit [Quit: Leaving]
runeb has joined #ruby-lang
judofyr has quit [Remote host closed the connection]
vlad_starkov has joined #ruby-lang
judofyr has joined #ruby-lang
anannie has quit [Ping timeout: 252 seconds]
anannie has joined #ruby-lang
robbyoconnor has quit [Quit: Konversation terminated!]
toretore has joined #ruby-lang
dr_bob has quit [Read error: Connection reset by peer]
krz has quit [Quit: krz]
banisterfiend has joined #ruby-lang
dr_bob has joined #ruby-lang
dr_bob has quit [Client Quit]
havenn has joined #ruby-lang
carloslopes has joined #ruby-lang
banisterfiend has quit [Remote host closed the connection]
havenn has quit [Ping timeout: 240 seconds]
justinmcp has joined #ruby-lang
anannie has quit [Remote host closed the connection]
erichmenge has joined #ruby-lang
ramonmaruko has quit [Read error: Connection reset by peer]
dhruvasagar has quit [Ping timeout: 244 seconds]
dsenkus has joined #ruby-lang
anannie has joined #ruby-lang
ramonmaruko has joined #ruby-lang
mwjcomputing has joined #ruby-lang
wyhaines has joined #ruby-lang
dsenkus has quit [Quit: Leaving]
dsenkus has joined #ruby-lang
dsenkus has quit [Client Quit]
dsenkus has joined #ruby-lang
dr_bob has joined #ruby-lang
<judofyr> whitequark: you here?
csmrfx has left #ruby-lang ["laters 8)"]
flori has quit [Ping timeout: 265 seconds]
x0F has quit [Disconnected by services]
sush24 has quit [Ping timeout: 252 seconds]
x0F_ has joined #ruby-lang
x0F_ is now known as x0F
jbsan has joined #ruby-lang
kurko_ has joined #ruby-lang
erichmenge has quit [Quit: Be back later]
lcdhoffman has joined #ruby-lang
kurko_ has quit [Ping timeout: 251 seconds]
justinmc_ has joined #ruby-lang
cyri_ has quit [Quit: cyri_]
kurko_ has joined #ruby-lang
flori has joined #ruby-lang
carter has joined #ruby-lang
justinmcp has quit [Ping timeout: 244 seconds]
laszlokorte has joined #ruby-lang
vlad_starkov has quit [Ping timeout: 240 seconds]
laszlokorte has quit [Ping timeout: 256 seconds]
kgrz has quit [Quit: Computer has gone to sleep.]
havenn has joined #ruby-lang
vlad_starkov has joined #ruby-lang
erichmenge has joined #ruby-lang
jxie has quit [Quit: leaving]
havenn has quit [Ping timeout: 248 seconds]
burgestrand has quit [Ping timeout: 256 seconds]
burgestrand has joined #ruby-lang
kurko_ has quit [Ping timeout: 260 seconds]
methods1 has joined #ruby-lang
kurko_ has joined #ruby-lang
fsvehla has joined #ruby-lang
fsvehla has quit [Client Quit]
Axsuul has quit [Ping timeout: 244 seconds]
charliesome has quit [Quit: Textual IRC Client: www.textualapp.com]
intellitech has left #ruby-lang ["Leaving"]
kurko_ has quit [Ping timeout: 252 seconds]
lele|w has quit [Remote host closed the connection]
ddd has joined #ruby-lang
kurko_ has joined #ruby-lang
aetcore has quit [Remote host closed the connection]
spuk has quit [Quit: Human beings were created by water to transport it uphill.]
mistym has joined #ruby-lang
mistym has quit [Changing host]
mistym has joined #ruby-lang
justinmc_ has quit [Remote host closed the connection]
erichmenge has quit [Quit: Be back later]
lele|w has joined #ruby-lang
methods has joined #ruby-lang
methods1 has quit [Read error: Connection reset by peer]
jasiek_ has left #ruby-lang [#ruby-lang]
kingcrawler has quit [Quit: [kingCrawler release]]
cyri_ has joined #ruby-lang
intellitech has joined #ruby-lang
methods has left #ruby-lang [#ruby-lang]
stardiviner has joined #ruby-lang
dr_bob has quit [Read error: Connection reset by peer]
sailias has joined #ruby-lang
jasiek_ has joined #ruby-lang
dr_bob has joined #ruby-lang
burgestrand has quit [Read error: Connection reset by peer]
kurko_ has quit [Ping timeout: 260 seconds]
thatdutchguy has joined #ruby-lang
kurko_ has joined #ruby-lang
lewrker_ has joined #ruby-lang
havenn has joined #ruby-lang
tbuehlmann has joined #ruby-lang
wyhaines has quit [Remote host closed the connection]
scampbell has joined #ruby-lang
mytrile has joined #ruby-lang
havenn has quit [Ping timeout: 256 seconds]
rolfb has quit [Quit: Linkinus - http://linkinus.com]
alexkane has left #ruby-lang [#ruby-lang]
banisterfiend has joined #ruby-lang
mytrile has quit [Remote host closed the connection]
ramonmaruko has quit [Remote host closed the connection]
telemachus has joined #ruby-lang
nitti has joined #ruby-lang
tubbo is now known as tubbo`cloud
Madis has joined #ruby-lang
ramonmaruko has joined #ruby-lang
nitti has quit [Ping timeout: 244 seconds]
nitti has joined #ruby-lang
Swimming_Bird has joined #ruby-lang
banister_ has joined #ruby-lang
jxie has joined #ruby-lang
kurko_ has quit [Ping timeout: 252 seconds]
kurko_ has joined #ruby-lang
banisterfiend has quit [Ping timeout: 255 seconds]
mihar has quit [Ping timeout: 260 seconds]
mihar has joined #ruby-lang
banister_ has quit [Ping timeout: 255 seconds]
runeb has quit [Remote host closed the connection]
erichmenge has joined #ruby-lang
ananna has joined #ruby-lang
anannie has quit [Ping timeout: 240 seconds]
<whitequark> judofyr: re
postmodern has quit [Quit: Leaving]
<judofyr> whitequark: I'm still wondering about state. how are going to compile this: class Foo; def self.bar; @bar ||= {} end; bar[1] = 2; end;
davidbalber|away is now known as davidbalbert
<judofyr> whitequark: will yout store @bar or not?
vlad_starkov has quit [Remote host closed the connection]
runeb has joined #ruby-lang
mistym has quit [Remote host closed the connection]
svyatov has joined #ruby-lang
mistym has joined #ruby-lang
mistym has quit [Changing host]
mistym has joined #ruby-lang
lcdhoffman has quit [Quit: lcdhoffman]
lcdhoffman has joined #ruby-lang
<yorickpeterse> I'd say so since it's called
<yorickpeterse> (self.bar, which creates it)
mistym has quit [Ping timeout: 240 seconds]
Hakon has quit [Quit: Leaving...]
kurko_ has quit [Ping timeout: 260 seconds]
kurko_ has joined #ruby-lang
ananna has quit [Remote host closed the connection]
stardiviner has quit [Ping timeout: 245 seconds]
wallerdev has joined #ruby-lang
kurko_ has quit [Ping timeout: 252 seconds]
heftig has quit [Quit: leaving]
davidbalbert is now known as davidbalber|away
havenn has joined #ruby-lang
kurko_ has joined #ruby-lang
<whitequark> judofyr: hm.
mistym has joined #ruby-lang
mistym has quit [Changing host]
mistym has joined #ruby-lang
<whitequark> the answer is "it depends". if a compiler determines that there are no references to the Foo.bar, then it could optimize both the method and ivar out
<judofyr> whitequark: and if there are?
havenn has quit [Ping timeout: 244 seconds]
gsav has joined #ruby-lang
gsav has quit [Client Quit]
gsav has joined #ruby-lang
gsav_ has joined #ruby-lang
<whitequark> judofyr: then obviously I will
<whitequark> but the placement can vary. if the class itself never changes, it could as well go to .rodata
<whitequark> etc
kurko_ has quit [Ping timeout: 252 seconds]
thinkdevcode has joined #ruby-lang
<whitequark> I'm not sure what you are actually asking here
<judofyr> whitequark: and what about this: Foo.bar[1] = File.open("foo")
kurko_ has joined #ruby-lang
<whitequark> open files can not be marshalled anyway
<steveklabnik> lol = $stdin.gets; Foo.send(lol, :[]=, File.open("foo"))
<steveklabnik> err, i forgot a 1
<steveklabnik> in there
<steveklabnik> you get the idea
<whitequark> steveklabnik: well, the optimizer has a certain granularity
<whitequark> here the receiver is determined and constant, Foo
<whitequark> but the method is not
thinkdevcode has quit [Remote host closed the connection]
<whitequark> so, every method in the ancestrance chain of Foo will be translated, and will be forcibly uninlined
<whitequark> (or at least have an uninlined copy)
<whitequark> compiled foundry code won't be an efficiency miracle if your code is too uncertain to analyze statically
<whitequark> this is expected.
<whitequark> we have some plans to have foundry execute in a JIT mode, but this will take at least 1-1.5 years to be stable enough for any sort of production. probably more.
<judofyr> whitequark: sure, I was mostly working about state. because it seemed to me initially that you didn't want to serialize objects; just store the methods etc.
esad has quit [Quit: Computer has gone to sleep.]
<judofyr> but I probably misunderstood :)
<whitequark> judofyr: oh, you did. I couldn't take away without serializing objects
<judofyr> goodie
gsav has quit [Quit: Lost terminal]
<whitequark> classes are objects, for that matter, and I don't treat classes differently than any other objects
<whitequark> i.e. singleton methods are totally supported in all circumstances
<whitequark> (except, as usual, for the runtime definition of them. that applies to obj.extend as well.)
<judofyr> whitequark: I've finished step 1 of my own language btw: parser toolkit: https://github.com/judofyr/kramer
<judofyr> (yes, I know that some consider that the last step :-)
<whitequark> cool, I'll take a lot
<whitequark> ruby definitely needs more good, non-LALR parser toolkits
<judofyr> LL(k) in O(n) time, all context-free grammars in O(n^3)
burgestrand has joined #ruby-lang
<whitequark> *look
wyhaines has joined #ruby-lang
rue|w has quit [Ping timeout: 260 seconds]
<whitequark> oh wait, it's LALR
<whitequark> the thing I dislike about Bison-like parser generators is the way they handle precedency
<judofyr> whitequark: how so?
<whitequark> as in "either it's defined by a rule and deviates from strict definition of LALR, which cannot have conflicting rules, or it's sort of random"
<judofyr> whitequark: I'm still not quite satisfied with my precedency solution
<whitequark> in contrast, PEG parsers like treetop have a well-defined precedency rule
<whitequark> the topmost rule wins
<whitequark> (or the bottommost. well, doesn't matter anyway.)
havenn has joined #ruby-lang
<whitequark> in bison, you need to have %prec and %expect and that kind of sucks, I'd say.
<judofyr> whitequark: well, that's a shitty way of handling ambiguity IMO. if there's an ambiguity you should be able to choice how to handle it yourself.
<apeiros_> whitequark: have you looked at parslet?
<judofyr> choose*
<whitequark> a very ad-hoc solution.
<whitequark> judofyr: exactly. you do so by ordering the rules.
<whitequark> whereas in bison, you use some flakey precedency constructs which don't even always work, and when they do, it's not always what you expect.
<whitequark> apeiros_: I did
<judofyr> whitequark: oh, also note that my parser tool handles all kind of ambiguity in the grammar. you'll just end up with Multiple-nodes in the AST if there's an ambiguity
<whitequark> apeiros_: IIRC, both parslet and treetop have abysmal runtime performance of parsers
<apeiros_> do you like it? (I haven't yet looked at it)
<whitequark> I'm absolutely sure about treetop 'cause I used it extensively
<apeiros_> ah, hah, I can imagine that
<whitequark> it creates a Ruby object, and quite heavy one, for each input symbol
<whitequark> that really sucks
<apeiros_> I thought they wanted to add a treetop->ragel converter which promised a good performance boost. has that not happened yet?
<whitequark> and parslet does the same, yeah
<judofyr> whitequark: even then, choosing "first parse tree" isn't always the best solution. sometimes it would be better to barf out and say "oops, there's an ambiguity in this input; can't parse it"
<whitequark> apeiros_: honestly I don't see how they actually differ, except for incompatible DSLs
<whitequark> apeiros_: uh, as far as I know it did not
<judofyr> whitequark: and sometimes you want to keep both trees and prune them later using different information
<apeiros_> hm, in my own toy parser, I use structs
<whitequark> apeiros_: ragel is a perfect lexer. I currently use racc for performance as the parser.
<apeiros_> and keep referencing a single string (i.e. I just have the offsets in the struct + additional info))
areil has quit [Read error: Operation timed out]
<whitequark> ragel can be abused to work as a parser, but that's not really a good idea IMO
<whitequark> apeiros_: sounds nice. could I take a look?
<judofyr> yeah, I also have a single string + offsets
<apeiros_> whitequark: preferably not :)
<apeiros_> or not yet
<whitequark> judofyr: well, that kind of makes sense
<apeiros_> it's by far too embarrassing and incomplete
<whitequark> as per keeping both trees, GLR does that at the first point where it's possible
<whitequark> i.e. if one of the trees resolves to an error, it discards it
<whitequark> apeiros_: sure. just note that I'm interested in it. racc is... far from a good solution.
<apeiros_> whitequark: pm?
<whitequark> bending rules to not have identical first children, including nested, is quite hard, and leads to completely unreadable code
burgestrand1 has joined #ruby-lang
<whitequark> apeiros_: pm?
erichmenge has quit [Quit: Be back later]
<apeiros_> private message
<apeiros_> i.e., whether you mind a private message :)
<whitequark> apeiros_: ah, obviously not. why would I? :) just send
<whitequark> judofyr: hm, that makes sense
<whitequark> I need to think more about it
yalue has joined #ruby-lang
<whitequark> the fact that sometimes you might have deeply ambiguous grammars (e.g. C++) isn't really a reason to write a parser generator which could accomodate one
<apeiros_> heh, you know, some people mind, so I just ask before ;-)
burgestrand has quit [Ping timeout: 264 seconds]
<whitequark> clang for example has a handwritten C++ parser
<whitequark> due to the fact that none of existing generators can handle it with the required precision
<whitequark> (just imagining a handwritten C++ parser makes me wince)
esad has joined #ruby-lang
<judofyr> whitequark: yes, that's why I think ambiguity has to be embraced if we want to abandon handwritten parsers
<judofyr> whitequark: also, checking if a CFG is ambiguous or not isn't deterministic
<judofyr> heck, I'd love if me toolkit could say "dude, this is ambiguous"
<judofyr> my*
outoftime has joined #ruby-lang
<judofyr> but there's no general solution to that question
<judofyr> (other than choosing LL/LR which are just narrow subsets of unambiguous grammars)
<whitequark> judofyr: I'm not sure if the problem you're trying to solve is realistic
<judofyr> whitequark: my goal is that Kramer can handle all types of ambiguity: fail on ambiguity, choose first on ambiguity or choose all on ambiguity
<judofyr> err
<judofyr> types of ambiguity resolution*
<whitequark> the amount of languages with non-LL/LR CFG is vanishingly small
<whitequark> C++ has in fact CSG, as far as I understand it
<judofyr> well, there's one thing writing a LR grammar, another problem is resolving shift/reduce errors
<whitequark> yes. in fact, resolving S/R conflicts already gets us out of the scope of pure LL/LR
<judofyr> A recent case study by Malloy et al. [37] gives an
<judofyr> interesting insight into the typical development process of
<judofyr> a Bison-based LALR parser for the C# language. The case
<judofyr> study started with a grammar from the C# language defi-
<judofyr> nition, and described how over the course of 19 revisions
<judofyr> it was painstakingly factored to eliminate all 40 shift/reduce
<judofyr> and 617 reduce/reduce conflicts that were reported for it.
<judofyr> durr
<judofyr> crappy pasting
<judofyr> sorry
<judofyr> "According to Malloy et al., this is not a surprising number of conflicts for a grammar not specifically designed for the targeted grammar class."
<whitequark> R/R conflicts are especially evil
sush24 has joined #ruby-lang
<whitequark> S/R means you need to add a precedence rule, R/R that you need to refactor the grammar
<whitequark> and it's a royal pain
<judofyr> exactly
thinkdevcode has joined #ruby-lang
<judofyr> :)
roadt_ has quit [Ping timeout: 260 seconds]
<judofyr> which is why I'm using GLL
<whitequark> hm. PEGs are just never ambiguous.
<judofyr> yes, but they also can't handle all complexity of CFG
<whitequark> and they're strictly more powerful than LL/LR, but I'm not sure how they relate to LL/LR with precedence
<whitequark> indeed
<judofyr> I'm not sure if it's a real problem
<judofyr> but every time I've been playing with PEGs I feel I need to re-write the grammar to handle the simplest things
<judofyr> e.g. left recursion
d3vic3 has quit [Ping timeout: 255 seconds]
<judofyr> whitequark: this pretty much sums up my thoughts about parsing: http://www.lclnet.nl/publications/pure-and-declarative-syntax-definition.pdf :)
d3vic3 has joined #ruby-lang
<judofyr> whitequark: there's also boolean grammars which are a superset of CFG that can parse various CSG :)
<judofyr> it can e.g. parse whitespace indentation
<judofyr> and detecting duplicate function definitions
<judofyr> right in the grammar
<whitequark> well, the fact is that we can perfectly do both outside
<judofyr> that is true
<whitequark> detecting duplicate functions is a nice example of a scope of CSG, but is hardly practical
Hakon has joined #ruby-lang
<judofyr> I'm just mentioning it :)
burgestrand1 is now known as burgestrand
|Vargas| has quit [Quit: ...]
<judofyr> anyway, I still want to write a parser tool that embraces ambiguity and gives *you* the choice of how to handle it, instead of just bailing out on possibly-ambigious grammars :)
<whitequark> the trick is to create a parser where you couldn't possibly define an ambiguous grammar :)
burgestrand has quit [Quit: Leaving.]
<judofyr> well, there's always LL/LR :)
<whitequark> I'd really love to hear any cases where your way is better than how PEGs work
<whitequark> except C++ of course
<judofyr> I like my left-recursion :)
sandbags has joined #ruby-lang
sandbags has quit [Changing host]
sandbags has joined #ruby-lang
<judofyr> whitequark: or, let's define a grammar and implement it in GLL and PEG and see how they compare :)
jbwiv has quit [Remote host closed the connection]
<whitequark> we'd need to use some real-world language
<whitequark> otherwise the grammar would be biased according to the author's preference
<judofyr> I'd prefer one that supports both ; and \n as separators
<judofyr> because (1) many programmers like the style and (2) it's often tricky to implement correctly
<zzak> you should have to manually type NEXT_LINE
<zzak> just my input, as you were
<judofyr> whitequark: other than that, feel free to pick anything :)
cschwartz has quit [Ping timeout: 240 seconds]
davidbalber|away is now known as davidbalbert
ttilley has joined #ruby-lang
<whitequark> judofyr: rrrruby!
<judofyr> whitequark: subset I hope…
<whitequark> the problem is that the complexity of implementing a parser for a real-world language is quite substantial
<whitequark> I'd probably not be able to pull it off on a weekend, and any toy language is not quite representative in my opinion.
davidbalbert is now known as davidbalber|away
<whitequark> bbl, need to go
jbwiv has joined #ruby-lang
bfreeman has quit [Quit: bfreeman]
thatdutchguy has quit [Remote host closed the connection]
kjr has joined #ruby-lang
Hakon has quit [Quit: Leaving...]
<Spaceghostc2c> Roobee.
Serial_Killer_C has joined #ruby-lang
judofyr has quit [Remote host closed the connection]
slyphon has joined #ruby-lang
anachronistic has joined #ruby-lang
dr_bob has quit [Quit: Leaving.]
sush24 has quit [Quit: This computer has gone to sleep]
headius has joined #ruby-lang
kurko_ has quit [Ping timeout: 252 seconds]
ryanlecompte has joined #ruby-lang
sush24 has joined #ruby-lang
kurko_ has joined #ruby-lang
Assurbanipal has joined #ruby-lang
cultureulterior_ has quit [Ping timeout: 256 seconds]
macmartine has joined #ruby-lang
cultureulterior_ has joined #ruby-lang
agarcia has quit [Quit: Konversation terminated!]
Serial_Killer_C has quit [Remote host closed the connection]
senekis has joined #ruby-lang
cyri_ has quit [Quit: cyri_]
kith_ has joined #ruby-lang
alvaro_o has joined #ruby-lang
wallerdev has quit [Quit: wallerdev]
kith has quit [Ping timeout: 244 seconds]
apeiros_ has quit [Remote host closed the connection]
Serial_Killer_C has joined #ruby-lang
krohrbaugh1 has quit [Read error: Operation timed out]
kurko_ has quit [Ping timeout: 260 seconds]
kurko_ has joined #ruby-lang
Dreamer3 has joined #ruby-lang
kitallis has quit [Quit: Textual IRC Client: http://www.textualapp.com/]
erichmenge has joined #ruby-lang
<mistym> I'm trying to debug a mysterious abort during my minitest tests. rake aborts with an empty status and a backtrace that doesn't include any of my code. Any advice?
esad has quit [Quit: Computer has gone to sleep.]
sn0wb1rd has quit [Quit: sn0wb1rd]
<devn> I have a script I'm running that clones a bunch of repos using system('git clone foo@bar:foo.git`) and then symlinks them
esad has joined #ruby-lang
<devn> the method calls to do these two operations are in initialize()
mistym_ has joined #ruby-lang
<devn> for some reason on Ubuntu, both operations seem to occur at the same time
<devn> on OSX this doesn't happen
<devn> any ideas?
<lianj> no
Mon_Ouie has joined #ruby-lang
<mistym> devn: Can I see the code? Are you using the same software setup on both OSs?
blazes816 has joined #ruby-lang
mistym_ has quit [Remote host closed the connection]
Assurbanipal has quit [Remote host closed the connection]
jonathangreenber has joined #ruby-lang
<devn> mistym: sure, one sec
<devn> mistym: give me one sec, need to clean it up as this is not public
wyhaines has quit [Remote host closed the connection]
<mistym> Under what circumstances can #exitstatus return nil?
<devn> are you asking me?
<mistym> No, asking the channel.
<devn> so -- here's the issue
<devn> just figured it out
<devn> system('ls &>/dev/null') doesn't cause the process to block
<devn> system('ls') does
<devn> it *does* block on OSX though, redirecting output to /dev/null or not
cschwartz has joined #ruby-lang
<devn> is this a bug?
banisterfiend has joined #ruby-lang
kingcrawler has joined #ruby-lang
erichmenge has quit [Quit: Be back later]
woollyams has joined #ruby-lang
dhruvasagar has joined #ruby-lang
woollyams has quit [Client Quit]
wyhaines has joined #ruby-lang
kjr has quit [Read error: Connection reset by peer]
bfreeman has joined #ruby-lang
kjr_ has joined #ruby-lang
<wnd> devn, sounds like a feature of your default shell
<telemachus> The output is blocking?
<wnd> &>foo -redirect
cschwartz has quit [Ping timeout: 268 seconds]
<wnd> dash doesn't seem to interpret that the same way bash or zsh does
<wnd> my guess is that 'ls >/dev/null 2>&1' would block
<mistym> devn: Are you using the same shell on ubuntu and OS X?
chimkan has joined #ruby-lang
wyhaines has quit [Remote host closed the connection]
<wnd> wikipedia page on bash sort of suggests bourne shell doesn't understand "&>": "Bash can redirect standard output (stdout) and standard error (stderr) at the same time using the &> operator. This is simpler to type than the Bourne shell equivalent 'command > file 2>&1'."
sepp2k has quit [Read error: Connection reset by peer]
sn0wb1rd has joined #ruby-lang
sepp2k has joined #ruby-lang
bfreeman_ has joined #ruby-lang
brianpWins has quit [Quit: brianpWins]
mhag has quit [Ping timeout: 240 seconds]
<erikh> probably depends on which shell you're on
cschwartz has joined #ruby-lang
bfreeman has quit [Ping timeout: 268 seconds]
<devn> wnd: it returns 0 in bash AFAICT
<devn> but im on a pretty recent version of bash
<devn> it's possible the other system has a more dated version
esad has quit [Quit: Computer has gone to sleep.]
<devn> 4.2.24 vs 4.2.37
<devn> not all that significant...
<mistym> devn: http://en.wikipedia.org/wiki/Debian_Almquist_shell /bin/sh is dash on ubuntu, not bash
krohrbaugh has joined #ruby-lang
krohrbaugh has quit [Client Quit]
lele has quit [Ping timeout: 246 seconds]
cschwartz has quit [Ping timeout: 256 seconds]
krohrbaugh has joined #ruby-lang
Carnage\ has joined #ruby-lang
kurko_ has quit [Ping timeout: 276 seconds]
<eam> does ruby do the thing perl does where it tries to guess whether a string for system() needs a shell or not, and sometimes parses it itself?
kurko_ has joined #ruby-lang
<erikh> eam: system() in perl uses execve when you supply a list of arguments
<erikh> system() in ruby is not nearly as smart.
<eam> erikh: yes, and when supplied one argument it's a coin flip :)
<erikh> if you use an array, it'll attempt to quote it before it passes to the shell
<erikh> if you use a string, it sends verbatim
<eam> it doesn't, actually
cultureulterior_ has quit [Quit: cultureulterior_]
<eam> perl parses the single-arg format and may or may not invoke a shell depending on the contents
<eam> was wondering if ruby tries the same optimization
<erikh> I'm pretty sure it doesn't
<zzak> erikh: system + shellwords ftw
<erikh> for the longest time I thought it did what perl did
<erikh> zzak: execve() is a *lot* safer
<eam> I always use my own version of exec commands
<erikh> eam: and raggi knew better, so we did a code dive
<erikh> needless to say
<erikh> ruby ... could deal with the vararg version a lot better
<erikh> it's not pretty.
<zzak> probably
<erikh> ruby has this library called "Shellwords", which will attempt to escape shell components
<eam> erikh: I always do this: https://gist.github.com/4019347
<erikh> in the array case, there's a baked in version of this in the C
<erikh> which is applied before concatenation
<eam> the perl optimization is nuts
<erikh> I always use the vararg case
<eam> because there are certain metachars which it won't properly parse
<erikh> there are so many ways the shell can go south
<eam> erikh: yeah the trick is when you want to avoid a shell, but only have one arg
<erikh> yeah, that's because perl can't differentiate between a list of parameters and positional ones
<erikh> more languages, more problems
<eam> well perl can do it by passing a hash
<erikh> orly? is that new?
<eam> nope
<erikh> never knew that.
cschwartz has joined #ruby-lang
<erikh> sec, you might be able to walk around this with Process.spawn
<erikh> yeeeep!
<erikh> do that
<erikh> do it NOW
<erikh> :P
<erikh> Process.spawn is pretty f'n awesome, btw.
workmad3 has quit [Ping timeout: 240 seconds]
<mistym> Ohh, that's what's going on with rake. The process got a sigabrt. There is no exitstatus, and rake wasn't playing well with that.
<mistym> Clearly I did a Bad Thing with my finalizer. Wonder what.
kurko_ has quit [Ping timeout: 252 seconds]
<eam> erikh: hmm, no it appears ruby has the same bug as perl
<eam> give system "ls -l # " a shot
<eam> it optimizes out the shell
<eam> and fails
cirwin has joined #ruby-lang
mrsolo has joined #ruby-lang
<eam> ruby tokenizes the string on its own after (incorrectly) scanning for metacharacters
<eam> compare with: system "ls -l # * "
kurko_ has joined #ruby-lang
<eam> in a bourne shell, those two commands are functionally identical
__butch__ has joined #ruby-lang
nitti has quit [Remote host closed the connection]
<eam> strace shows ruby doesn't spawn a shell to process the string arg in the first case, but does in the second
codewrangler has joined #ruby-lang
kurko_ has quit [Ping timeout: 240 seconds]
<erikh> use Process.spawn
<erikh> and yes, that's what I was talking about
kurko_ has joined #ruby-lang
<eam> ah
<erikh> the code is on github if you want to look.
<erikh> fwiw, if you use the Shellwords lib you can more tightly control this process
<erikh> largely because the baked-in "shellwords" doesn't do a very good job
<eam> I never want to parse args
<erikh> ok, use Process.spawn then :)
<erikh> it's extremely clear about what uses a shell and what doesn't.
<erikh> it has an actual contract and stuff
<zzak> erikh: Shellwords lib vs baked-in "shellwords"?
<eam> is that ruby's equiv of IPC::Run, then?
<erikh> zzak: system() has its own shellwords right in the C
Axsuul has joined #ruby-lang
<erikh> eam: no, it's a shim for posix_spawn() from C
<eam> oh, posix_spawn is different
<erikh> it's the 800lb gorilla of process launching
<erikh> I really recommend using it.
<eam> see, I want fork/exec
<eam> erikh: yeah I have used posix_spawn()
krohrbaugh has quit [Quit: Leaving.]
<eam> iirc that's vfork backed on linux
<eam> which carries its own issues
<erikh> meh
<erikh> you are a picky one
<eam> way picky :(
<erikh> nothing keeping you from forking to posix_spawn
<erikh> (which should be equivalent)
<eam> certainly better than the crappy builtins in ruby though
<eam> why do all languages have to have lame builtins
<erikh> well Process.spawn is just posix spawn
<erikh> and in 1.9.2+
<erikh> so you have real options now
brianpWins has joined #ruby-lang
svyatov has quit [Quit: svyatov]
<rue> OMG ENTERESTING DISUSIAN
savage- has joined #ruby-lang
<erikh> rue: sorry
<erikh> back to talking about dongs
wallerdev has joined #ruby-lang
<rue> I was alerted by the twitters!
<telemachus> rue: Stop reading twitter. All the people there are assholes.
<telemachus> Wait: I'm the one who said that there.
<telemachus> Never mind...
<erikh> telemachus: it's really not that interesting
<telemachus> (Was a good discussion though. Thank god for logs, cause I've only been half following...)
<erikh> and I can link you the source later if you want.
<telemachus> erikh: Ok, then I'm a dope. It was interesting to me. :)
<erikh> let's just say ruby's system() is disturbingly, painfully overcomplicated
<eam> erikh: does Process.spawn give me %x{} without a shell? Because that's something I always have to re-invent as well
<rue> Let’s
<erikh> eam: you can send stdio anywhere you want
<erikh> so yes
<erikh> like, for each fd
<erikh> you can even replace or augment the environment
<eam> what I really want is a "just do things the correct way" module
<erikh> read the manual :)
<eam> I wish %X stuff could be defined without recompiling ruby
ryanlecompte has quit [Ping timeout: 244 seconds]
<eam> "everything's an object" my ass
<erikh> def Kernel.`(arg)
<erikh> sec
<erikh> I bet...
<eam> you can do ` but not %
<erikh> bummmer
<eam> I want % because 1) I always use %x instead of ` and 2) because I don't want to replace the behavior of existing syntax
<erikh> I was hoping %x[] got translated to `
<erikh> you're gonna make me write this, aren't you
<eam> hahahaha
macmartine has quit [Quit: Computer has gone to sleep.]
<eam> erikh: have fun in parse.y :(
krohrbaugh has joined #ruby-lang
<erikh> breaks on a leading %
<erikh> but this works
<erikh> suck it
<erikh> this would work if % wasn't always treated as an operator
<eam> self.% x[echo 1 2 3]
dpatel has joined #ruby-lang
lele has joined #ruby-lang
qwerxy has quit [Quit: offski]
<eam> in the meantime, I'm sucking it up with a hand-rolled backtick()
<erikh> yeah, I think ruby'd need source filters to accomplish this
<eam> or an adjustment to the parser yeah
cschwartz has quit [Ping timeout: 268 seconds]
nitti has joined #ruby-lang
<erikh> must admit, I'm really surprised %x isn't pre-parsed down to Kernel.`
<erikh> i mean, probably some combo of rubyparser/ruby2ruby could be used here
<erikh> kind of cheating, though.
svyatov has joined #ruby-lang
cirwin has left #ruby-lang [#ruby-lang]
davidbalber|away is now known as davidbalbert
<eam> I try to only gripe about bizarre and surprising problems
<erikh> plenty in both runtimes
<eam> no kidding
<erikh> like that stupid eval hack
<eam> which one?
<erikh> class << eval("self", TOPLEVEL_BINDING)
<eam> erikh: my favorite in ruby is still stack smashing in select()
<erikh> that's how you monkeypatch the outer namespace without patching anything else
<eam> erikh: I don't even know what that does
<eam> <-- still a ruby noob
<zzak> select() is awesome
<zzak> eam: ri IO#select
<erikh> so when you open `foo.rb` and just start typing into it
<erikh> that namespace is called 'main'
<erikh> which... is an instantiated object with a receiver and so on, otherwise it wouldn't be ruby
<erikh> BUT
<yxhuvud> eam: why would you reinvent not getting a shell? that is what you get if you do multiargument system, popen etc.
<eam> zzak: I mean kernel.select :)
<erikh> yxhuvud: it's not
<erikh> read above
<eam> yeah :(
<zzak> they are the same
<yxhuvud> huh
<erikh> and feel free to check the source if you don't believe me.
esad has joined #ruby-lang
<eam> zzak: er yeah sorry thought you said Array
<eam> zzak: anyway, I wish it worked right :)
dr_bob has joined #ruby-lang
<yxhuvud> do system("ls", "-ls") really use a shell? lets just say it doesn't when I try it
<erikh> it does
<erikh> go read the source
dr_bob has quit [Read error: Connection reset by peer]
davidbalbert is now known as davidbalber|away
nitti has quit [Ping timeout: 248 seconds]
lcdhoffman has quit [Quit: lcdhoffman]
<eam> banisterfiend: the docs are a lie
dr_bob has joined #ruby-lang
qpingu has quit [Quit: Leaving.]
<banisterfiend> here's teh code: https://gist.github.com/4d49b6a98bc67c6ee806
<banisterfiend> not sure how much use that is
cschwartz has joined #ruby-lang
<erikh> ugh
<erikh> you didn't search far enough
<erikh> and I don't have time
<erikh> so really, go all the way until those calls are made
krohrbaugh has quit [Quit: Leaving.]
<erikh> you will see it
<erikh> just keep going until you find the strtok calls.
krohrbaugh has joined #ruby-lang
<eam> easiest way to expose it is with some simple tests
rebelcan has joined #ruby-lang
mistym is now known as mistym_lunch
sush24 has quit [Ping timeout: 265 seconds]
<eam> erikh: I'm pretty sure you can reliably avoid the shell using this: https://gist.github.com/4019347
<eam> but what you can't do is reliably invoke the shell on a single-string call
thatdutchguy has joined #ruby-lang
<eam> eg system "ls -l # "; vs system "ls -l # *" where the contents of the comment trick the lame ruby processor into changing the way it runs the command
<erikh> I'd just use Process.spawn
<eam> yeah agreed, avoiding those codepaths entirely is smart
kingcrawler has quit [Quit: Computer has gone to sleep]
davidbalber|away is now known as davidbalbert
banisterfiend has quit [Ping timeout: 256 seconds]
Carnage\ has quit []
thone_ has joined #ruby-lang
datanoise has quit [Ping timeout: 245 seconds]
Carnage\ has joined #ruby-lang
nitti has joined #ruby-lang
kurko_ has quit [Ping timeout: 252 seconds]
kurko_ has joined #ruby-lang
thone has quit [Ping timeout: 264 seconds]
CoverSlide has quit [Remote host closed the connection]
injekt has joined #ruby-lang
CoverSlide has joined #ruby-lang
steez_ has left #ruby-lang [#ruby-lang]
gearaholic has joined #ruby-lang
steez has joined #ruby-lang
kingcrawler has joined #ruby-lang
kingcrawler has left #ruby-lang [#ruby-lang]
lcdhoffman has joined #ruby-lang
chimkan has quit [Quit: chimkan]
gearaholic has quit [Remote host closed the connection]
qpingu has joined #ruby-lang
datanoise has joined #ruby-lang
apeiros_ has joined #ruby-lang
qwerxy has joined #ruby-lang
savage- has quit [Remote host closed the connection]
ryanlecompte has joined #ruby-lang
<tocki_> is there a way to execute code on ruby exit
<tocki_> i know of at_exit & END {}.. but still would like to handle termination on per-object basis :/
qwerxy has quit [Quit: offski]
<tocki_> these things look like global hooks
wyhaines has joined #ruby-lang
dhruvasagar has quit [Ping timeout: 240 seconds]
justinram has joined #ruby-lang
banisterfiend has joined #ruby-lang
cschwartz has quit [Ping timeout: 256 seconds]
Uranio has joined #ruby-lang
<apeiros_> tocki_: there are finalizers, but those are unreliable, also they're run after the object was collected
<apeiros_> i.e., they're not destructors.
<tocki_> yes.. i've tried them, and they didn't execute
<tocki_> something else ?
<tocki_> hmmz... at_exit is private member of every object... but which one gets executed.. hmmz...
<tocki_> Kernel probably
<tocki_> It would be nice to allow object to cleanup after himself
<apeiros_> tocki_: method(:at_exit).owner # no need for "probably" :-p
<apeiros_> and yes, Kernel. module_function, as all other methods on Kernel btw.
chimkan has joined #ruby-lang
<tocki_> it would be nice if overriding this method would mean something :(
<tocki_> however it seems that only mains at_exit counts..
Mon_Ouie has quit [Ping timeout: 244 seconds]
<apeiros_> at_exit is before termination of the application, yes
Mon_Ouie has joined #ruby-lang
<tocki_> ok?
<tocki_> i agree
<tocki_> :/
rolfb has joined #ruby-lang
workmad3 has joined #ruby-lang
erichmenge has joined #ruby-lang
mistym_lunch is now known as mistym
s0ber has quit [Read error: Connection reset by peer]
b3nt_pin has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
b3nt_pin has joined #ruby-lang
s0ber has joined #ruby-lang
jonathangreenber has quit [Remote host closed the connection]
kurko_ has quit [Ping timeout: 252 seconds]
erichmenge has quit [Quit: Be back later]
kurko_ has joined #ruby-lang
benanne has joined #ruby-lang
mwjcomputing has quit [Quit: Leaving]
lcdhoffman has quit [Quit: lcdhoffman]
senekis_ has joined #ruby-lang
senekis has quit [Ping timeout: 252 seconds]
nazty has joined #ruby-lang
datanoise has quit [Ping timeout: 260 seconds]
qwerxy has joined #ruby-lang
bluepojo has joined #ruby-lang
rippa has joined #ruby-lang
qwerxy has quit [Quit: offski]
workmad3 has quit [Ping timeout: 246 seconds]
kurko_ has quit [Ping timeout: 252 seconds]
banisterfiend has quit [Ping timeout: 244 seconds]
<mistym> I think my #initialize_copy is not being called / is wrong. What did I do wront? https://github.com/mistydemeo/fasttrack/blob/master/lib/fasttrack/xmp.rb#L49
<mistym> 1) I spelled "wrong" wrong
kurko_ has joined #ruby-lang
<apeiros_> wong
<mistym> Is initialize_copy called on dup?
<apeiros_> yes
<apeiros_> doesn't look like a typo
blacktulip has quit [Remote host closed the connection]
<apeiros_> did you override dup too?
wyhaines has quit [Remote host closed the connection]
<mistym> No.
nitti_ has joined #ruby-lang
<mistym> Hmm. Actually, I think it must be somewhere else...
Uranio has quit [Quit: WeeChat 0.3.8]
sush24 has joined #ruby-lang
kjr_ has quit [Ping timeout: 244 seconds]
<apeiros_> should work IMO
<apeiros_> at least I don't see why it doesn't…
<mistym> I'm getting a sigabrt when trying to free a pointer in a finalizer somewhere. I thought my initialize_copy wasn't properly creating a new pointer (resulting in it being freed twice), but that's not the case.
davidbalbert is now known as davidbalber|away
nitti has quit [Ping timeout: 256 seconds]
carloslopes has quit [Remote host closed the connection]
bfreeman_ has quit [Read error: Connection reset by peer]
bfreeman has joined #ruby-lang
aetcore has joined #ruby-lang
nazty has quit [Ping timeout: 256 seconds]
rippa has quit [Ping timeout: 244 seconds]
<mistym> I can at least verify that my bug is only happening if a pointer created via #dup is subsequently freed along with its originator... so I wonder if the issue is in the C library and not my code?
<erikh> whoa, a ft2 player?
<mistym> Haha, no. That would be cool though.
<erikh> oh, bummer
kjr has joined #ruby-lang
<mistym> Actually I named my gem "fasttrack" because it's a wrapper around a C lib for the XMP metadata format. And "XMP" in my mind permutated to "XM" => "FT2" => "Fasttracker", hence "fasttrack"
<erikh> heh
<erikh> Justin Frankel (WinAMP) is working on a modern tracker
runeb has quit [Remote host closed the connection]
<erikh> keep forgetting the name though, starts with an R
<mistym> That said: I *am* doing a high-level C wrapper around an ft2 player library (along with a player). Plus other formats!
<erikh> there's also buzz, but it has some unfortunate problems
<erikh> buzz is such a sad state of affairs
<erikh> the author lost all the source code
<mistym> erikh: Cool! I didn't know about that.
<erikh> so all the patches now are deltas against the binaries
<mistym> Ewww
tbuehlmann has quit [Remote host closed the connection]
<erikh> yeah. it is/was a good system, too
<mistym> This is why you release your source code and let other people do your backups for you
<erikh> eh, hindsight is 20/20
<erikh> :)
qwerxy has joined #ruby-lang
<erikh> but yeah, buzz is basically a tracker with midi machines
<erikh> reaper's a little more than that
<oddmunds> mistym: very cool
<oddmunds> erikh: extremely cool
qwerxy has quit [Client Quit]
<oddmunds> erikh: i bought reaper not long ago
<oddmunds> erikh: hey
<oddmunds> you got my hopes up
<oddmunds> you tricked me
<mistym> Actually, I kinda halted my ruby-based player a few months ago when I ran against irritating thread priority issues using MRI that resulted in my audio sounding terrible if background jobs were executing anything. Been meaning to try again with jruby or macruby.
<oddmunds> reaper is not a tracker at all
<erikh> maybe I'm thinking of something else then?
<oddmunds> mistym: i've been toying around with ideas for my own tracker since i switched to ruby as my go-to-language
<oddmunds> erikh: it's a daw
<mistym> oddmunds: Cool, were you going to make your own format?
<oddmunds> yeah, probably
<erikh> I was close. it still starts with an R
<erikh> :P
<oddmunds> mistym: actually, one of the ideas i like the most is to have the song format be executable ruby
burgestrand has joined #ruby-lang
methods has joined #ruby-lang
<methods> has the gist gem been broken for anyone else ?
lcdhoffman has joined #ruby-lang
sush24 has quit [Quit: Leaving]
<oddmunds> erikh: i don't think justin frankel has anything to do with renoise
<erikh> methods: off and on for years now, yes
<erikh> oddmunds: yeah, I got my wires crossed; sorry about that.
<oddmunds> forgiven
<methods> i love the gist tool :[ my old pastie one broke way less often
<oddmunds> but i was already getting my phone out to call my brother about the frankeltracker
rolfb has quit [Quit: Linkinus - http://linkinus.com]
<oddmunds> mistym: i think my tracker will be midi only at first
datanoise has joined #ruby-lang
<erikh> hahahah
justinmcp has joined #ruby-lang
<erikh> yeah, I do imagine he'd do a good job with it.
<oddmunds> i find new trackers (like sunvox) interesting, but i still do all my tracking in milkytracker
carter has quit [Disconnected by services]
carter has joined #ruby-lang
cschwartz has joined #ruby-lang
<erikh> the last time I actually wrote music with a tracker (as opposed to playing with one) was on ST3
<erikh> which I imagine dates me some
zspencer has joined #ruby-lang
<erikh> anyhow, laundry time yo. later.
bradland has joined #ruby-lang
<oddmunds> screamtracker was my first one
qwerxy has joined #ruby-lang
methods has left #ruby-lang [#ruby-lang]
davidbalber|away is now known as davidbalbert
datanoise has quit [Ping timeout: 276 seconds]
dc5ala has quit [Quit: Ex-Chat]
davidbalbert is now known as davidbalber|away
cschwartz has quit [Ping timeout: 264 seconds]
nitti_ has quit [Remote host closed the connection]
kain has quit [Quit: exit]
cored has quit [Ping timeout: 252 seconds]
nitti has joined #ruby-lang
methods has joined #ruby-lang
cored has joined #ruby-lang
cored has quit [Changing host]
cored has joined #ruby-lang
benanne has quit [Quit: kbai]
Serial_Killer_C has quit [Remote host closed the connection]
nitti has quit [Remote host closed the connection]
Serial_Killer_C has joined #ruby-lang
Serial_Killer_C has quit [Remote host closed the connection]
dr_bob has quit [Read error: Connection reset by peer]
Serial_Killer_C has joined #ruby-lang
kurko_ has quit [Ping timeout: 252 seconds]
bradland has quit [Quit: bradland]
kurko_ has joined #ruby-lang
heftig has joined #ruby-lang
yxhuvud has quit [Ping timeout: 248 seconds]
davidbalber|away is now known as davidbalbert
erichmenge has joined #ruby-lang
cyri_ has joined #ruby-lang
yalue has quit [Quit: Leaving]
davidbalbert is now known as davidbalber|away
datanoise has joined #ruby-lang
kurko_ has quit [Ping timeout: 252 seconds]
kurko_ has joined #ruby-lang
justinmcp has quit [Remote host closed the connection]
justinmcp has joined #ruby-lang
davidbalber|away is now known as davidbalbert
Mon_Ouie has quit [Ping timeout: 244 seconds]
urbanmonk has joined #ruby-lang
Mon_Ouie has joined #ruby-lang
davidbalbert is now known as davidbalber|away
justinmcp has quit [Ping timeout: 240 seconds]
datanoise has quit [Ping timeout: 265 seconds]
codewrangler has quit [Quit: Computer has gone to sleep.]
carter has quit [Disconnected by services]
carter__ has joined #ruby-lang
datanoise has joined #ruby-lang
gix has quit [Read error: Connection reset by peer]
kurko_ has quit [Ping timeout: 252 seconds]
CaptainJet has joined #ruby-lang
kurko_ has joined #ruby-lang
jarib has quit [Excess Flood]
gix has joined #ruby-lang
jarib has joined #ruby-lang
davidbalber|away is now known as davidbalbert
runeb has joined #ruby-lang
kurko_ has quit [Ping timeout: 252 seconds]
kurko_ has joined #ruby-lang
davidbalbert is now known as davidbalber|away
burgestrand has quit [Ping timeout: 260 seconds]
havenn has quit [Remote host closed the connection]
burgestrand1 has joined #ruby-lang
kurko_ has quit [Ping timeout: 252 seconds]
havenn has joined #ruby-lang
kurko_ has joined #ruby-lang
burgestrand1 has quit [Read error: Connection reset by peer]
runeb has quit [Ping timeout: 260 seconds]
burgestrand has joined #ruby-lang
methods has left #ruby-lang [#ruby-lang]
havenn has quit [Ping timeout: 240 seconds]
woollyams has joined #ruby-lang
Serial_Killer_C has quit [Remote host closed the connection]
kurko_ has quit [Ping timeout: 252 seconds]
kurko_ has joined #ruby-lang
davidbalber|away is now known as davidbalbert
Carnage\ has quit []
justinmcp has joined #ruby-lang
esad has quit [Ping timeout: 255 seconds]
esad has joined #ruby-lang
woollyams has quit [Quit: Computer has gone to sleep.]
Serial_Killer_C has joined #ruby-lang
scampbell has quit [Remote host closed the connection]
dsenkus has quit [Ping timeout: 256 seconds]
Hakon has joined #ruby-lang
kurko_ has quit [Ping timeout: 252 seconds]
nitti has joined #ruby-lang
kurko_ has joined #ruby-lang
neilc has joined #ruby-lang
<neilc> x.flat_map.to_a != x.flat_map {|t| t}, where x is an Enumerable
<neilc> does that strike anyone else as bizarre?
nitti has quit [Remote host closed the connection]
nitti has joined #ruby-lang
<mistym> When I clone/dup, the cloned object inherits the original object's finalizer, with a reference to an instance variable from the original object - not the ivar it was replaced by in #initialize_clone.
benanne has joined #ruby-lang
<neilc> hmmm... so apparently flat_map w/o block behavior is known but expected: http://bugs.ruby-lang.org/issues/3525
<mistym> Oh, there's an undefine_finalizer... guess I need to undefine the old one, then define a new one.
kain has joined #ruby-lang
mhag has joined #ruby-lang
<zspencer> Anyone know of a simple way to assert an array is sorted?
hahuang65 has joined #ruby-lang
<apeiros_> zspencer: ary.each_cons(2) { |a,b| a <= b }
<zspencer> Danke
<apeiros_> or >=, depending on the order
<zspencer> Yea
<zspencer> each_cons?
svyatov has quit [Quit: svyatov]
<zspencer> each_consective
<zspencer> derpaderp
<zspencer> thanks
spuk has joined #ruby-lang
kurko_ has quit [Ping timeout: 252 seconds]
bfreeman has quit [Read error: Connection reset by peer]
bfreeman has joined #ruby-lang
kurko_ has joined #ruby-lang
esad has quit [Quit: Computer has gone to sleep.]
esad has joined #ruby-lang
kurko_ has quit [Ping timeout: 252 seconds]
kurko_ has joined #ruby-lang
neilc has quit [Quit: leaving]
nitti has quit [Ping timeout: 256 seconds]
urbanmonk has quit [Quit: Bye!]
kith_ is now known as kith
davidbalbert is now known as davidbalber|away
zspencer has quit [Quit: zspencer]
solars has quit [Ping timeout: 252 seconds]
davidbalber|away is now known as davidbalbert
wyhaines has joined #ruby-lang
toretore has quit [Quit: Leaving]
nitti has joined #ruby-lang
nitti has quit [Remote host closed the connection]
woollyams has joined #ruby-lang
nitti has joined #ruby-lang
bougyman_ has joined #ruby-lang
bougyman has quit [Ping timeout: 260 seconds]
bougyman_ has quit [Changing host]
bougyman_ has joined #ruby-lang
bougyman_ is now known as bougyman
gregmoreno has quit [Ping timeout: 248 seconds]
nitti has quit [Remote host closed the connection]
gregmoreno has joined #ruby-lang
runeb has joined #ruby-lang
nitti_ has joined #ruby-lang
sailias has quit [Quit: Leaving.]
qwerxy has quit [Quit: offski]
qwerxy has joined #ruby-lang
qwerxy has quit [Client Quit]
runeb has quit [Ping timeout: 244 seconds]
<chris2> anyone know why JSON.parse("5") does not work?
<steveklabnik> that's not valid json
kurko_ has quit [Ping timeout: 252 seconds]
<Spaceghostc2c> chris2: ^
burgestrand has quit [Read error: Connection reset by peer]
<chris2> steveklabnik: according to the rfc4627 it is
burgestrand has joined #ruby-lang
kurko_ has joined #ruby-lang
<steveklabnik> JSON-text = object / array
<chris2> aah
<steveklabnik> from the rfc
<steveklabnik> a value can be a number
<steveklabnik> :)
<chris2> why ever they do that
<eam> it's nice because every json structure has a termination character
<steveklabnik> it's grammar
<eam> big plus over yaml
<steveklabnik> all json is yaml ;)
<eam> but not vice versa
<steveklabnik> yes
<steveklabnik> most people dont know that, i know it doesnt refute your point
<eam> steveklabnik: yeah I agree it's a cool fact :)
<chris2> except yaml can >> YAML.load 5.to_yaml
<chris2> => 5
<steveklabnik> right
<steveklabnik> hecne all yaml is not json
<eam> it's a feature!
apeiros_ has quit [Remote host closed the connection]
gsav has joined #ruby-lang
gsav_ has quit [Read error: Operation timed out]
cyri_ has quit [Quit: cyri_]
gsav has quit [Read error: Operation timed out]
nitti_ has quit [Remote host closed the connection]
thatdutchguy has quit [Remote host closed the connection]
chimkan has quit [Quit: chimkan]
herpless has quit [Remote host closed the connection]
herpless_ has joined #ruby-lang
Spaceghost|cloud has quit [Remote host closed the connection]
Spaceghost|cloud has joined #ruby-lang
pkondzior_ has quit [Remote host closed the connection]
pkondzior_ has joined #ruby-lang
bluepojo has quit [Remote host closed the connection]
Kingy has joined #ruby-lang
mhag has quit [Remote host closed the connection]
cyri_ has joined #ruby-lang
cyri_ has quit [Client Quit]
anachronistic has left #ruby-lang [#ruby-lang]
datanoise has quit [Ping timeout: 260 seconds]
bluepojo has joined #ruby-lang
Averna has joined #ruby-lang
DEac- has quit [Read error: No route to host]
thatdutchguy has joined #ruby-lang
DEac- has joined #ruby-lang
kurko_ has quit [Ping timeout: 252 seconds]
kurko_ has joined #ruby-lang
benanne has quit [Quit: kbai]
outoftime has quit [Quit: Leaving]
justinmcp has quit [Remote host closed the connection]
justinmcp has joined #ruby-lang
Serial_Killer_C has quit [Remote host closed the connection]
guns has joined #ruby-lang
kjr has quit [Quit: kjr]
justinmcp has quit [Ping timeout: 256 seconds]
chimkan has joined #ruby-lang
davpoind has joined #ruby-lang
justinmcp has joined #ruby-lang
mistym has quit [Remote host closed the connection]
kurko_ has quit [Ping timeout: 244 seconds]
kurko_ has joined #ruby-lang
esad has quit [Ping timeout: 260 seconds]
nertzy has joined #ruby-lang
esad has joined #ruby-lang
datanoise has joined #ruby-lang
davidbalbert is now known as davidbalber|away
davidbalber|away is now known as davidbalbert
jamjam has joined #ruby-lang
kurko_ has quit [Ping timeout: 244 seconds]
davidbalbert is now known as davidbalber|away
kurko_ has joined #ruby-lang
zspencer has joined #ruby-lang
datanoise has quit [Ping timeout: 265 seconds]
justinram has quit [Remote host closed the connection]
Hakon has quit [Ping timeout: 244 seconds]
<Harzilein> hi
justinmcp has quit [Remote host closed the connection]
justinmcp has joined #ruby-lang
xalei has joined #ruby-lang
davpoind has quit [Quit: Be back later]
<Harzilein> what is the advantage of using mruby over mri on desktop platforms? mri seems to embed fine in e.g. kazehakase, so what, if anything, would an application like that gain from using mruby instead?
justinmc_ has joined #ruby-lang