apeiros changed the topic of #ruby-lang to: Ruby 2.1.3; 2.0.0-p576; 1.9.3-p547: http://ruby-lang.org || Paste code on http://gist.github.com
marr has quit [Ping timeout: 260 seconds]
|jemc| has quit [Ping timeout: 272 seconds]
nathanstitt has joined #ruby-lang
lewix has quit [Remote host closed the connection]
thomasxie has joined #ruby-lang
Mon_Ouie has quit [Ping timeout: 250 seconds]
thagomizer has quit [Quit: Leaving.]
fenicks has quit [Remote host closed the connection]
thomasxie has quit [Ping timeout: 260 seconds]
migbar has joined #ruby-lang
yfeldblum has joined #ruby-lang
michaeldeol has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
hackeron has quit [Ping timeout: 240 seconds]
hackeron has joined #ruby-lang
justinmburrous has quit [Remote host closed the connection]
Mon_Ouie has joined #ruby-lang
migbar has quit [Ping timeout: 250 seconds]
pskosinski has quit [Quit: Til rivido Idisti! | http://www.ido.li]
jxpx777_ has joined #ruby-lang
jxpx777 has quit [Read error: Connection reset by peer]
justinmburrous has joined #ruby-lang
seamon has quit [Quit: Zzzzzzz]
charliesome has joined #ruby-lang
danijoo has quit [Read error: Connection reset by peer]
danijoo has joined #ruby-lang
wallerdev has quit [Quit: wallerdev]
havenwood has quit []
snsei has joined #ruby-lang
tylersmith has quit [Remote host closed the connection]
emmesswhy has quit [Quit: Leaving]
jbardin has quit [Quit: jbardin]
palmertime has quit [Quit: Leaving...]
justinmburrous has quit [Remote host closed the connection]
justinmburrous has joined #ruby-lang
shinnya has quit [Ping timeout: 246 seconds]
lewix has joined #ruby-lang
lewix has quit [Read error: Connection reset by peer]
wnd has quit [Excess Flood]
lewix has joined #ruby-lang
wnd has joined #ruby-lang
charliesome has quit [Quit: zzz]
wallerdev has joined #ruby-lang
migbar has joined #ruby-lang
charliesome has joined #ruby-lang
dagda1 has quit [Ping timeout: 272 seconds]
dagda1 has joined #ruby-lang
migbar has quit [Ping timeout: 272 seconds]
tectonic has joined #ruby-lang
ikrima has joined #ruby-lang
mistym has quit [Remote host closed the connection]
SuMo_D has joined #ruby-lang
justinmburrous has quit [Remote host closed the connection]
spastorino has quit [Quit: Connection closed for inactivity]
justinmburrous has joined #ruby-lang
emmesswhy has joined #ruby-lang
oleo__ is now known as oleo
davispuh has quit [Ping timeout: 272 seconds]
arBmind1 has joined #ruby-lang
arBmind has quit [Ping timeout: 260 seconds]
snsei has quit [Remote host closed the connection]
emmesswhy has quit [Quit: This computer has gone to sleep]
|jemc| has joined #ruby-lang
wkoch has joined #ruby-lang
gix has quit [Ping timeout: 272 seconds]
mattyohe has joined #ruby-lang
gix has joined #ruby-lang
wkoch has quit [Client Quit]
justinmburrous has quit [Remote host closed the connection]
brianpWins has quit [Ping timeout: 260 seconds]
unsymbol has quit [Ping timeout: 246 seconds]
unsymbol has joined #ruby-lang
migbar has joined #ruby-lang
migbar has quit [Ping timeout: 260 seconds]
imkmf has joined #ruby-lang
imkmf has quit [Client Quit]
RobertBirnie has joined #ruby-lang
ikrima has quit [Ping timeout: 250 seconds]
ikrima has joined #ruby-lang
emmesswhy has joined #ruby-lang
jgpawletko has joined #ruby-lang
justinmburrous has joined #ruby-lang
migbar has joined #ruby-lang
apeiros_ has joined #ruby-lang
aleatorik has joined #ruby-lang
dvorak_ has joined #ruby-lang
webhat_ has joined #ruby-lang
ammar___ has joined #ruby-lang
migbar has quit [Ping timeout: 244 seconds]
apeiros has quit [Read error: Connection reset by peer]
tpope_ has joined #ruby-lang
jhass- has joined #ruby-lang
matti_ has joined #ruby-lang
jhass- is now known as jhass
ikrima has quit [Ping timeout: 260 seconds]
aledovsky_ has joined #ruby-lang
ikrima has joined #ruby-lang
snsei has joined #ruby-lang
gjaldon has joined #ruby-lang
brixen_ has joined #ruby-lang
nonmadden has joined #ruby-lang
migbar has joined #ruby-lang
jhass|off has quit [*.net *.split]
brixen has quit [*.net *.split]
webhat has quit [*.net *.split]
tpope has quit [*.net *.split]
dvorak has quit [*.net *.split]
matti has quit [*.net *.split]
aledovsky has quit [*.net *.split]
ammar has quit [*.net *.split]
matti_ is now known as matti
dvorak_ is now known as dvorak
aledovsky_ is now known as aledovsky
charliesome has quit [Quit: zzz]
ikrima has quit [Read error: Connection reset by peer]
ikrima has joined #ruby-lang
gjaldon has quit [Remote host closed the connection]
gjaldon has joined #ruby-lang
simi has joined #ruby-lang
ikrima has quit [Ping timeout: 272 seconds]
gjaldon has quit [Ping timeout: 250 seconds]
mistym has joined #ruby-lang
seank__ has quit [Read error: No route to host]
seank_ has joined #ruby-lang
gjaldon has joined #ruby-lang
kgrz has joined #ruby-lang
RobertBirnie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
gjaldon has quit [Remote host closed the connection]
aquatty has joined #ruby-lang
gjaldon has joined #ruby-lang
gjaldon has quit [Ping timeout: 272 seconds]
gix has quit [Ping timeout: 246 seconds]
gix has joined #ruby-lang
|jemc| has quit [Ping timeout: 240 seconds]
nonmadden has quit [Remote host closed the connection]
charliesome has joined #ruby-lang
emmesswhy has quit [Quit: This computer has gone to sleep]
nonmadden has joined #ruby-lang
|jemc| has joined #ruby-lang
gjaldon has joined #ruby-lang
ikrima has joined #ruby-lang
spastorino has joined #ruby-lang
haraoka has quit [Ping timeout: 260 seconds]
charliesome has quit [Quit: zzz]
simi has quit [Ping timeout: 272 seconds]
charliesome has joined #ruby-lang
torrieri_ has quit [Quit: Leaving...]
emmesswhy has joined #ruby-lang
emmesswhy has quit [Remote host closed the connection]
torrieri has joined #ruby-lang
ikrima has quit [Ping timeout: 260 seconds]
shubhamgoyal has quit [Remote host closed the connection]
shubhamgoyal has joined #ruby-lang
nathanstitt has quit [Quit: I growing sleepy]
snsei has quit [Remote host closed the connection]
shubhamgoyal has quit [Ping timeout: 246 seconds]
nonmadden has quit [Remote host closed the connection]
nofxx has joined #ruby-lang
gjaldon has quit [Remote host closed the connection]
emmesswhy has joined #ruby-lang
aquatty has quit [Ping timeout: 246 seconds]
aquatty has joined #ruby-lang
emmesswhy has quit [Quit: This computer has gone to sleep]
snsei has joined #ruby-lang
snsei has quit [Read error: Connection reset by peer]
lewix has quit [Remote host closed the connection]
tig has joined #ruby-lang
aleatorik has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
kgrz has quit [Remote host closed the connection]
kgrz has joined #ruby-lang
migbar has quit [Remote host closed the connection]
migbar has joined #ruby-lang
kgrz has quit [Ping timeout: 258 seconds]
lewix has joined #ruby-lang
lewix has joined #ruby-lang
lewix has quit [Changing host]
migbar has quit [Ping timeout: 240 seconds]
dagda1 has quit [Quit: Textual IRC Client: www.textualapp.com]
dagda1 has joined #ruby-lang
RobertBirnie has joined #ruby-lang
allomov has joined #ruby-lang
danijoo has quit [Read error: Connection reset by peer]
danijoo has joined #ruby-lang
hellangel7 has joined #ruby-lang
AKASkip has joined #ruby-lang
emmesswhy has joined #ruby-lang
tig has quit [Quit: leaving]
hplar_ has quit [Ping timeout: 260 seconds]
allomov has quit [Remote host closed the connection]
apeiros_ has quit [Read error: Connection reset by peer]
apeiros has joined #ruby-lang
hahuang61 has joined #ruby-lang
brianpWins has joined #ruby-lang
yfeldblum has quit [Ping timeout: 260 seconds]
torrieri has quit [Quit: Leaving...]
JohnBat26 has joined #ruby-lang
hahuang65 has quit [Ping timeout: 260 seconds]
hahuang61 has quit [Ping timeout: 246 seconds]
havenwood has joined #ruby-lang
dagda1_ has joined #ruby-lang
dagda1 has quit [Read error: Connection reset by peer]
dagda1_ has quit [Read error: Connection reset by peer]
dagda1 has joined #ruby-lang
ur5us has joined #ruby-lang
hackeron has quit [Ping timeout: 245 seconds]
hackeron has joined #ruby-lang
SuMo_D has quit [Remote host closed the connection]
SuMo_D has joined #ruby-lang
tkuchiki has joined #ruby-lang
havenwood has quit [Remote host closed the connection]
kyb3r_ has quit [Read error: Connection reset by peer]
SuMo_D has quit [Ping timeout: 244 seconds]
allomov has joined #ruby-lang
apeiros has quit [Remote host closed the connection]
shubhamgoyal has joined #ruby-lang
apeiros has joined #ruby-lang
tkuchiki has quit [Remote host closed the connection]
tkuchiki has joined #ruby-lang
[spoiler] has joined #ruby-lang
shubhamgoyal has quit [Ping timeout: 246 seconds]
apeiros has quit [Ping timeout: 272 seconds]
_ht has joined #ruby-lang
ur5us has quit [Remote host closed the connection]
wallerdev has quit [Quit: wallerdev]
RobertBirnie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
AKASkip has quit [Ping timeout: 250 seconds]
tkuchiki has quit [Remote host closed the connection]
hahuang61 has joined #ruby-lang
gjaldon has joined #ruby-lang
kgrz has joined #ruby-lang
emmesswhy has quit [Quit: This computer has gone to sleep]
allomov has quit [Remote host closed the connection]
kgrz has quit [Ping timeout: 260 seconds]
hahuang61 has quit [Ping timeout: 272 seconds]
tbuehlmann has joined #ruby-lang
gjaldon has quit [Remote host closed the connection]
yfeldblum has joined #ruby-lang
yfeldblu_ has joined #ruby-lang
yfeldblum has quit [Ping timeout: 246 seconds]
kgrz has joined #ruby-lang
justinmburrous has quit [Remote host closed the connection]
gjaldon has joined #ruby-lang
shubhamgoyal has joined #ruby-lang
tectonic has quit []
justinmburrous has joined #ruby-lang
codella has joined #ruby-lang
lewix has quit [Remote host closed the connection]
kwd has joined #ruby-lang
ikrima has joined #ruby-lang
lewix has joined #ruby-lang
banisterfiend has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
lewix has quit [Remote host closed the connection]
codella has quit [Quit: leaving]
codella has joined #ruby-lang
codella has quit [Client Quit]
ikrima has quit [Ping timeout: 250 seconds]
codella has joined #ruby-lang
charliesome has quit [Quit: zzz]
kgrz has quit [Remote host closed the connection]
kgrz has joined #ruby-lang
Hanmac has joined #ruby-lang
charliesome has joined #ruby-lang
justinmburrous has quit [Remote host closed the connection]
justinmburrous has joined #ruby-lang
kgrz has quit [Ping timeout: 246 seconds]
shinnya has joined #ruby-lang
justinmburrous has quit [Read error: No route to host]
justinmburrous has joined #ruby-lang
itochan______ has quit [Remote host closed the connection]
banister has joined #ruby-lang
codella has quit [Ping timeout: 260 seconds]
mistym has quit [Remote host closed the connection]
nofxx has quit [Ping timeout: 272 seconds]
nonmadden has joined #ruby-lang
mistym has joined #ruby-lang
elia has joined #ruby-lang
elia has quit [Client Quit]
mikecmpbll has joined #ruby-lang
symm- has joined #ruby-lang
justinmburrous has quit [Remote host closed the connection]
justinmburrous has joined #ruby-lang
pskosinski has joined #ruby-lang
gjaldon has quit [Remote host closed the connection]
gjaldon has joined #ruby-lang
justinmburrous has quit [Ping timeout: 240 seconds]
justinmburrous has joined #ruby-lang
pskosinski has quit [Remote host closed the connection]
pskosinski has joined #ruby-lang
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
gjaldon_ has joined #ruby-lang
gjaldon has quit [Ping timeout: 246 seconds]
cornerman has joined #ruby-lang
cornerma1 has joined #ruby-lang
cornerman has quit [Ping timeout: 272 seconds]
fusillicode1 has quit [Quit: Leaving.]
cornerma1 is now known as cornerman
Hanmac1 has joined #ruby-lang
faces has joined #ruby-lang
face has quit [Ping timeout: 245 seconds]
stamina has joined #ruby-lang
Hanmac has quit [Ping timeout: 245 seconds]
banister has joined #ruby-lang
banister has quit [Max SendQ exceeded]
kgrz has joined #ruby-lang
banister has joined #ruby-lang
banister has quit [Max SendQ exceeded]
mistym has quit [Remote host closed the connection]
Forgetful_Lion has joined #ruby-lang
banister has joined #ruby-lang
banister has quit [Max SendQ exceeded]
codella has joined #ruby-lang
banister has joined #ruby-lang
banister has quit [Max SendQ exceeded]
banister has joined #ruby-lang
banister has quit [Max SendQ exceeded]
banister has joined #ruby-lang
banister has quit [Max SendQ exceeded]
banister has joined #ruby-lang
banister has quit [Max SendQ exceeded]
banister has joined #ruby-lang
banister has quit [Max SendQ exceeded]
kgrz has quit [Ping timeout: 245 seconds]
banister has joined #ruby-lang
banister has quit [Max SendQ exceeded]
banister has joined #ruby-lang
banister has quit [Max SendQ exceeded]
codella has quit [Ping timeout: 260 seconds]
justinmburrous has quit [Remote host closed the connection]
Hanmac1 is now known as Hanmac
justinmburrous has joined #ruby-lang
banister has joined #ruby-lang
banister has quit [Max SendQ exceeded]
banister has joined #ruby-lang
banister has quit [Max SendQ exceeded]
banister has joined #ruby-lang
banister has quit [Max SendQ exceeded]
charliesome has quit [Quit: zzz]
tig has joined #ruby-lang
justinmburrous has quit [Ping timeout: 260 seconds]
sarkyniin has joined #ruby-lang
JohnBat26 has quit [Ping timeout: 245 seconds]
ikrima has joined #ruby-lang
cornerman has quit [Quit: leaving]
kgrz has joined #ruby-lang
cornerman has joined #ruby-lang
banister has joined #ruby-lang
banister has quit [Max SendQ exceeded]
cornerman has quit [Client Quit]
cornerman has joined #ruby-lang
spastorino has quit [Quit: Connection closed for inactivity]
cornerman has quit [Client Quit]
mikecmpbll has quit [Quit: i've nodded off.]
cornerman has joined #ruby-lang
banister has joined #ruby-lang
banister has quit [Max SendQ exceeded]
stardiviner has joined #ruby-lang
justinmburrous has joined #ruby-lang
kgrz has quit [Ping timeout: 272 seconds]
hahuang61 has joined #ruby-lang
tbuehlmann has quit [Remote host closed the connection]
kgrz has joined #ruby-lang
hahuang61 has quit [Ping timeout: 272 seconds]
gjaldon_ has quit [Remote host closed the connection]
gjaldon has joined #ruby-lang
ledestin has quit [Ping timeout: 260 seconds]
ledestin has joined #ruby-lang
kgrz has quit [Ping timeout: 272 seconds]
stardiviner has quit [Ping timeout: 272 seconds]
mosos has joined #ruby-lang
mikecmpbll has joined #ruby-lang
cornerman has quit [Quit: leaving]
cornerman has joined #ruby-lang
cornerman has quit [Client Quit]
cornerman has joined #ruby-lang
cornerman has quit [Client Quit]
cornerman has joined #ruby-lang
cornerman has quit [Client Quit]
cornerman has joined #ruby-lang
cornerman has quit [Client Quit]
mosos has quit [Quit: Leaving]
justinmburrous has quit [Remote host closed the connection]
cornerman has joined #ruby-lang
cornerman has quit [Client Quit]
sepp2k has joined #ruby-lang
codella has joined #ruby-lang
justinmburrous has joined #ruby-lang
cornerman has joined #ruby-lang
cornerman has quit [Client Quit]
stardiviner has joined #ruby-lang
cornerman has joined #ruby-lang
cornerman has quit [Client Quit]
cornerman has joined #ruby-lang
araujo has quit [Ping timeout: 240 seconds]
cornerman has quit [Client Quit]
codella has quit [Ping timeout: 260 seconds]
araujo has joined #ruby-lang
cornerman has joined #ruby-lang
cornerman has quit [Client Quit]
cornerman has joined #ruby-lang
cornerman has quit [Client Quit]
cornerman has joined #ruby-lang
cornerman has quit [Client Quit]
webhat_ is now known as webhat
webhat has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
cornerman has joined #ruby-lang
cornerman has quit [Client Quit]
webhat has joined #ruby-lang
cornerman has joined #ruby-lang
cornerman has quit [Client Quit]
cornerman has joined #ruby-lang
cornerman has quit [Client Quit]
cornerman has joined #ruby-lang
cornerman has quit [Client Quit]
stardiviner has quit [Ping timeout: 245 seconds]
mikecmpbll has quit [Quit: i've nodded off.]
GBrawl has joined #ruby-lang
cornerman has joined #ruby-lang
cornerman has joined #ruby-lang
cornerman has quit [Client Quit]
cornerman has joined #ruby-lang
cornerman has quit [Client Quit]
yfeldblu_ has quit [Ping timeout: 272 seconds]
cornerman has joined #ruby-lang
cornerman has quit [Client Quit]
cornerman has joined #ruby-lang
gianlucadv has joined #ruby-lang
justinmburrous has quit [Remote host closed the connection]
justinmburrous has joined #ruby-lang
sarkyniin has quit [Ping timeout: 245 seconds]
cornerman has quit [Quit: leaving]
cornerman has joined #ruby-lang
justinmburrous has quit [Ping timeout: 258 seconds]
charliesome has joined #ruby-lang
justinmburrous has joined #ruby-lang
sarkyniin has joined #ruby-lang
cornerman has quit [Client Quit]
emmesswhy has joined #ruby-lang
x0f has joined #ruby-lang
simi has joined #ruby-lang
araujo has quit [Quit: Leaving]
emmesswhy has quit [Client Quit]
cornerman has joined #ruby-lang
x0f_ has quit [Ping timeout: 250 seconds]
yfeldblum has joined #ruby-lang
mikecmpbll has joined #ruby-lang
SqREL has joined #ruby-lang
dagda1 has quit [Read error: Connection reset by peer]
gianlucadv has quit [Ping timeout: 260 seconds]
dagda1 has joined #ruby-lang
[spoiler] has quit [Quit: Leaving]
simi has quit [Ping timeout: 244 seconds]
cornerman has quit [Quit: leaving]
cornerman has joined #ruby-lang
rippa has joined #ruby-lang
cornerman has quit [Client Quit]
tig has quit [Quit: Schlaf]
yxhuvud has quit [Remote host closed the connection]
justinmburrous has quit [Remote host closed the connection]
stef_204 has joined #ruby-lang
cornerman has joined #ruby-lang
AmBienCeD has quit [Ping timeout: 260 seconds]
AmBienCeD has joined #ruby-lang
fusillicode has joined #ruby-lang
stef_204 has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
fusillicode has quit [Ping timeout: 272 seconds]
daylight114 has joined #ruby-lang
rippa has quit [Ping timeout: 245 seconds]
flak has joined #ruby-lang
Mon_Ouie has quit [Quit: WeeChat 1.0]
flak is now known as Guest48881
justinmburrous has joined #ruby-lang
fusillicode has joined #ruby-lang
mikecmpbll has quit [Quit: i've nodded off.]
fusillicode has quit [Ping timeout: 260 seconds]
Guest48881 has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
<daylight114> hello, is anyone perhaps available to answer a question about using Yield?
rippa has joined #ruby-lang
yxhuvud has joined #ruby-lang
hellangel7 has quit [Remote host closed the connection]
oleo is now known as Guest98341
oleo__ has joined #ruby-lang
oleo__ has quit [Read error: Connection reset by peer]
shubhamgoyal has quit [Remote host closed the connection]
<wnd> don't ask to ask, just ask
shubhamgoyal has joined #ruby-lang
dagda1 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
michd is now known as MichD
Guest98341 has quit [Ping timeout: 260 seconds]
MichD is now known as michd
<daylight114> thanks. I'm trying to take the return of a block invoked by yield and store that in a new array, something like this: https://gist.github.com/jaeming/a5c6eb01f4be6897cda3
seank_ has quit [Read error: Connection reset by peer]
seank_ has joined #ruby-lang
shubhamgoyal has quit [Ping timeout: 260 seconds]
oleo has joined #ruby-lang
dagda1 has joined #ruby-lang
migbar has joined #ruby-lang
Forgetful_Lion has quit [Quit: ChatZilla 0.9.90.1 [Firefox 32.0.3/20140923175406]]
fusillicode has joined #ruby-lang
<wnd> I'm not sure if I'm following. "x = yield item"?
apeiros has joined #ruby-lang
cornerman has quit [Read error: Connection reset by peer]
<wnd> like this? def new_map(array); array.reduce([]){|memo, obj| memo << (yield obj)}; end
<daylight114> I updated it with the rspec now...
symm- has quit [Ping timeout: 250 seconds]
<daylight114> that worked
<daylight114> yeah
<daylight114> It's probably way more advanced syntax than what I was supposed to do though. haha.
<wnd> what was I thinking... def new_map(array); array.map{|i| yield i}; end
cornerman has joined #ruby-lang
<wnd> anyway, return value from the block invoked by yield is returned, well, as the return value of yield
<daylight114> that first one you gave worked
<daylight114> I had no idea about what reduce was though
<wnd> somethinh unnecessarily complicated for the purpose
stamina has quit [Ping timeout: 250 seconds]
<wnd> the bit you could change in your gist is "array.each do |item|; t = yield(item); new_array << t; end"
justinmburrous has quit [Remote host closed the connection]
<daylight114> I see. I just couldn't understand when I put yield(item) it passes each item of the array to the block, right? Then how is that returned back in a way I can use in the original method? I tried new_array << item
<daylight114> oh, let me try
justinmburrous has joined #ruby-lang
apt-get_ has joined #ruby-lang
<wnd> yield returns the return value from the block. it does not modify the parameter (unless its internals are changed in the invoked block)
justinmburrous has quit [Read error: Connection reset by peer]
justinmburrous has joined #ruby-lang
<daylight114> I got it I think
sarkyniin has quit [Ping timeout: 246 seconds]
<daylight114> So I just needed to assign a variable
<daylight114> and then shovel that into new array
<daylight114> cool. Thanks.
<wnd> or you can skip the temporary variable and do new_array << (yield item)
<daylight114> oh cool
<daylight114> yeah, that worked too
<daylight114> Thanks! I just started learning ruby about a week ago
<wnd> no problem, and welcome to the language :-)
<daylight114> Thanks. It's fun. I just find it's hurting my brain sometimes
<wnd> while you're at it, take a look at http://ruby-doc.org/core-2.0/Enumerable.html#method-i-map
elia has joined #ruby-lang
<wnd> >> ["foo", "bar", "fooish bar"].map{|t| t.capitalize}
<eval-in_> wnd => ["Foo", "Bar", "Fooish bar"] (https://eval.in/201776)
<daylight114> Thanks, that looks useful for this purpose as well.
<daylight114> the Enumerable thing. not the foo bar
_elia has joined #ruby-lang
klmlfl has joined #ruby-lang
klmlfl has quit [Client Quit]
elia has quit [Read error: Connection reset by peer]
klmlfl has joined #ruby-lang
daylight114 has quit [Quit: Textual IRC Client: www.textualapp.com]
_elia has quit [Read error: Connection reset by peer]
elia has joined #ruby-lang
sleepee has joined #ruby-lang
elia has quit [Quit: Computer has gone to sleep.]
yfeldblum has quit [Ping timeout: 244 seconds]
justinmburrous has quit [Remote host closed the connection]
GBrawl has quit [Quit: Computer has gone to sleep.]
Hanmac has quit [Ping timeout: 260 seconds]
SuMo_D has joined #ruby-lang
justinmburrous has joined #ruby-lang
thomasxie has joined #ruby-lang
mikecmpbll has joined #ruby-lang
charliesome has quit [Quit: zzz]
charliesome has joined #ruby-lang
michd is now known as MichD
dwknoxy has joined #ruby-lang
yfeldblum has joined #ruby-lang
yfeldblu_ has joined #ruby-lang
tkuchiki has joined #ruby-lang
tbuehlmann has joined #ruby-lang
yfeldblum has quit [Ping timeout: 240 seconds]
<_rgn> hey. what do you call the process of translating a DSL input, be it ruby or some other language, to data structures. wondering if there's a name for that
seank_ has quit [Read error: No route to host]
yfeldblu_ has quit [Ping timeout: 240 seconds]
seank_ has joined #ruby-lang
dagda1 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<apeiros> _rgn: that depends. in some cases it'd be parsing. but not in all.
<apeiros> e.g. ruby DSLs are just "cleverly crafted" ruby code. there it's just executing the code. no different from non-DSL code.
<whitequark> "despaghettification" is a good one
GBrawl has joined #ruby-lang
SuMo_D has quit [Remote host closed the connection]
dagda1 has joined #ruby-lang
spastorino has joined #ruby-lang
<apeiros> oh dear… there I was all ready to blame rails' router for odd routing - but it seems it's just the browser remembering earlier redirects (which is probably correct behavior)
<tbuehlmann> would you feel better blaming the router anyway?
<apeiros> sadly no, that no longer works once I know it's not its fault :-|
marr has joined #ruby-lang
sleepee has quit [Ping timeout: 245 seconds]
gbanis has joined #ruby-lang
justinmburrous has quit [Remote host closed the connection]
apt-get_ has quit [Ping timeout: 245 seconds]
justinmburrous has joined #ruby-lang
justinmburrous has quit [Read error: Connection reset by peer]
Hanmac has joined #ruby-lang
SuMo_D has joined #ruby-lang
apt-get_ has joined #ruby-lang
justinmburrous has joined #ruby-lang
nofxx has joined #ruby-lang
gbanis has quit [Ping timeout: 246 seconds]
GBrawl has quit [Quit: Lingo - http://www.lingoirc.com]
ruurd has joined #ruby-lang
SuMo_D has quit [Remote host closed the connection]
SuMo_D has joined #ruby-lang
SuMo_D has quit [Ping timeout: 260 seconds]
charliesome has quit [Quit: zzz]
gbanis has joined #ruby-lang
gbanis has quit [Client Quit]
gbanis has joined #ruby-lang
gbanis has left #ruby-lang [#ruby-lang]
nathanstitt has joined #ruby-lang
havenwood has joined #ruby-lang
yfeldblum has joined #ruby-lang
justinmburrous has quit [Remote host closed the connection]
yfeldblum has quit [Ping timeout: 272 seconds]
justinmb_ has joined #ruby-lang
torrieri has joined #ruby-lang
klmlfl_ has joined #ruby-lang
symm- has joined #ruby-lang
ruby-lang822 has joined #ruby-lang
mikecmpbll has quit [Quit: i've nodded off.]
yasuhiro has joined #ruby-lang
yasuhiro has left #ruby-lang [#ruby-lang]
yasuhiro has joined #ruby-lang
ruby-lang822 has quit [Ping timeout: 246 seconds]
hplar has joined #ruby-lang
yasuhiro has left #ruby-lang [#ruby-lang]
justinmb_ has quit [Remote host closed the connection]
charliesome has joined #ruby-lang
justinmburrous has joined #ruby-lang
justinmburrous has quit [Read error: Connection reset by peer]
justinmburrous has joined #ruby-lang
mikecmpbll has joined #ruby-lang
elia has joined #ruby-lang
yalue has joined #ruby-lang
bronky has joined #ruby-lang
yfeldblum has joined #ruby-lang
bronky has quit [Quit: Lost terminal]
yfeldblum has quit [Ping timeout: 260 seconds]
thomasxie has quit [Quit: Leaving.]
RobertBirnie has joined #ruby-lang
justinmburrous has quit [Remote host closed the connection]
mikecmpbll has quit [Quit: i've nodded off.]
SqREL has quit [Ping timeout: 260 seconds]
SqREL has joined #ruby-lang
ruurd has quit [Quit: Leaving...]
justinmburrous has joined #ruby-lang
mikecmpbll has joined #ruby-lang
apeiros has quit []
t4nk978 has joined #ruby-lang
ruurd has joined #ruby-lang
Mon_Ouie has joined #ruby-lang
stamina has joined #ruby-lang
hackeron has quit [Ping timeout: 272 seconds]
hackeron has joined #ruby-lang
funnel_ has joined #ruby-lang
sepp2k has quit [Read error: Connection reset by peer]
tbuehlmann has quit [Remote host closed the connection]
yalue has quit [Quit: Leaving]
banister has joined #ruby-lang
banister has quit [Max SendQ exceeded]
banister has joined #ruby-lang
banister has quit [Max SendQ exceeded]
elia has quit [Quit: Computer has gone to sleep.]
funnel_ has quit [Quit: leaving]
banister has joined #ruby-lang
banister has quit [Max SendQ exceeded]
banister has joined #ruby-lang
banister has quit [Max SendQ exceeded]
skammer1 has joined #ruby-lang
shinnya has quit [Ping timeout: 250 seconds]
banister has joined #ruby-lang
banister has quit [Max SendQ exceeded]
justinmburrous has quit [Remote host closed the connection]
banister has joined #ruby-lang
justinmburrous has joined #ruby-lang
banister has quit [Max SendQ exceeded]
yfeldblum has joined #ruby-lang
banister has joined #ruby-lang
banister has quit [Max SendQ exceeded]
JohnBat26 has joined #ruby-lang
skammer2 has joined #ruby-lang
banister_ has joined #ruby-lang
banister_ has quit [Max SendQ exceeded]
skammer1 has quit [Ping timeout: 246 seconds]
justinmburrous has quit [Ping timeout: 244 seconds]
banister_ has joined #ruby-lang
banister_ has quit [Max SendQ exceeded]
mikecmpbll has quit [Quit: i've nodded off.]
banister_ has joined #ruby-lang
banister_ has quit [Max SendQ exceeded]
yfeldblum has quit [Ping timeout: 260 seconds]
banister_ has joined #ruby-lang
banister_ has quit [Max SendQ exceeded]
elia has joined #ruby-lang
elia has quit [Client Quit]
banister_ has joined #ruby-lang
banister_ has quit [Max SendQ exceeded]
banister_ has joined #ruby-lang
banister_ has quit [Max SendQ exceeded]
elia has joined #ruby-lang
banister_ has joined #ruby-lang
lupine has joined #ruby-lang
centrx has joined #ruby-lang
lupine has quit [Quit: ZNC - http://znc.in]
lupine has joined #ruby-lang
lupine has quit [Changing host]
banister has joined #ruby-lang
banister has quit [Max SendQ exceeded]
shubhamgoyal has joined #ruby-lang
banister_ has joined #ruby-lang
funnel_ has joined #ruby-lang
funnel_ has quit [Changing host]
funnel_ has joined #ruby-lang
banister_ has quit [Max SendQ exceeded]
banister has joined #ruby-lang
banister has quit [Max SendQ exceeded]
skammer2 has quit [Ping timeout: 244 seconds]
stamina has quit [Ping timeout: 260 seconds]
banister has joined #ruby-lang
AKASkip has joined #ruby-lang
klmlfl_ has quit [Remote host closed the connection]
lewix has joined #ruby-lang
Hanmac has quit [Read error: Connection reset by peer]
justinmburrous has joined #ruby-lang
hahuang61 has joined #ruby-lang
t4nk978 has quit [Ping timeout: 246 seconds]
hellangel7 has joined #ruby-lang
charliesome has quit [Quit: zzz]
mikecmpbll has joined #ruby-lang
elia has quit [Quit: Computer has gone to sleep.]
gjaldon has quit [Remote host closed the connection]
klmlfl has quit [Remote host closed the connection]
gjaldon has joined #ruby-lang
ruurd has quit [Quit: Leaving...]
centrx has quit [Ping timeout: 272 seconds]
gjaldon has quit [Ping timeout: 246 seconds]
funnel_ has quit [Quit: leaving]
gjaldon has joined #ruby-lang
havenwood has quit [Remote host closed the connection]
havenwood has joined #ruby-lang
skammer2 has joined #ruby-lang
havenwood has quit [Ping timeout: 264 seconds]
|jemc| has quit [Ping timeout: 272 seconds]
hackeron has quit [Ping timeout: 260 seconds]
hackeron has joined #ruby-lang
itsraining has joined #ruby-lang
itsraining has left #ruby-lang [#ruby-lang]
SqREL has quit [Quit: Computer has gone to sleep.]
havenwood has joined #ruby-lang
justinmburrous has quit [Remote host closed the connection]
justinmburrous has joined #ruby-lang
lewix has quit [Remote host closed the connection]
funnel_ has joined #ruby-lang
justinmburrous has quit [Ping timeout: 244 seconds]
klmlfl has joined #ruby-lang
wallerdev has joined #ruby-lang
justinmburrous has joined #ruby-lang
yfeldblum has joined #ruby-lang
wallerdev has quit [Client Quit]
tkuchiki has quit [Remote host closed the connection]
hahuang61 has quit [Ping timeout: 260 seconds]
yfeldblum has quit [Ping timeout: 258 seconds]
wallerdev has joined #ruby-lang
gjaldon has quit [Remote host closed the connection]
Caius has quit [Quit: ""]
gjaldon has joined #ruby-lang
gjaldon has quit [Remote host closed the connection]
Caius has joined #ruby-lang
gjaldon has joined #ruby-lang
torrieri has quit [Quit: Leaving...]
mikecmpbll has quit [Quit: i've nodded off.]
sepp2k has joined #ruby-lang
workmad3 has joined #ruby-lang
wallerdev has quit [Quit: wallerdev]
wallerdev has joined #ruby-lang
jdrap has joined #ruby-lang
klmlfl_ has joined #ruby-lang
Cyrano has joined #ruby-lang
mistym has joined #ruby-lang
dagda1 has quit [Ping timeout: 245 seconds]
dagda1 has joined #ruby-lang
t4nk490 has joined #ruby-lang
<t4nk490> I am allowed to store arrays as values in hashes right? For some reason, I can in irb but not in my script. http://pastebin.com/PK6QNF8h
AKASkip has quit [Ping timeout: 245 seconds]
JohnBat26 has quit [Quit: KVIrc 4.3.1 Aria http://www.kvirc.net/]
codella has joined #ruby-lang
codella has quit [Client Quit]
red_menace has joined #ruby-lang
codella has joined #ruby-lang
codella has quit [Client Quit]
<havenwood> t4nk490: you forgot the hash rocket =>
<t4nk490> Do I need that?
codella has joined #ruby-lang
justinmburrous has quit [Ping timeout: 260 seconds]
<havenwood> t4nk490: 1.9 Hash syntax like `{aim: true}` only works with bare Symbol literals, not with quotes.
<t4nk490> Hmm, seems to work. Thanks.
<t4nk490> Correct me if I am wrong, but I'm not allowed to use integers as symbols, right?
<havenwood> t4nk490: you are allowed
<havenwood> t4nk490: it'd make more sense than Symbols here
<t4nk490> Yeah, that was what I'd hoped for.
tectonic has joined #ruby-lang
<t4nk490> Kinda missed the good ol' hash rocket, even though it is a pain to write.
<havenwood> >> 2009.upto(2012).zip([[8146, 14197], [8241, 13276], [8019, 11158], [9759, 12264]]).to_h
<eval-in_> havenwood => {2009=>[8146, 14197], 2010=>[8241, 13276], 2011=>[8019, 11158], 2012=>[9759, 12264]} (https://eval.in/201796)
seamon has joined #ruby-lang
funnel_ has quit [Quit: leaving]
justinmburrous has joined #ruby-lang
<t4nk490> Is there a way to return to the top of the program when it is finished, without putting it in a big loop?
funnel_ has joined #ruby-lang
<epitron> i wonder why they didn't make the colon-hashes work with strings
<epitron> is there some parsing complication?
<epitron> { 'i am awesome': false } is pretty convenient!
<soahccc> epitron: I think it's in edge
<epitron> orly
<epitron> ok, that's even weirder :)
<epitron> that it took many years to implement it
<soahccc> I think it also broke things but afaik it's still indev
<epitron> well, it'll definitely break code that wants to run on earlier versions of ruby:)
funnel_ has quit [Client Quit]
<soahccc> epitron: I think there was an question here a few days ago about cond ? t : f syntax problems in hashes but I think this is getting fixed :)
<epitron> ahhh
<epitron> so it's just a bitch to write a parser, i guess
<epitron> { awesome ? 'so awesome' : 'not awesome' : true }
<epitron> that's evil :)
<epitron> you should be forced to always put that in parens
<epitron> even with a hash rocket
houhoulis has joined #ruby-lang
<whitequark> epitron: "you guess"
<whitequark> if you had any clue what kind of hacks is required in order to make that work, you'd ran away screaming
<epitron> i've looked at ruby's parser. it's something that only a hero would want to touch
<epitron> are you a bad enough dude to add a feature to ruby's parser? :D
<whitequark> i wrote one from scratch.
<whitequark> a parser, that is.
<t4nk490> Sorry to bother again, but I can't for the love of Yukihiro Matsumoto find he error in this https://eval.in/201810
<epitron> for ruby?
<whitequark> t4nk490: look closely at line 14.
<epitron> 2000 lines.. that's not as bad as i thought
<t4nk490> Holy cow. Thanks.
<epitron> whitequark: why'd you do that?
<t4nk490> Do you guys have a nice tool to errorcheck your codes?
<whitequark> 2000 lines? the lexer alone is 2200
<whitequark> epitron: I'm not sure actually, I needed it for something and then it just snowballed
codella has quit [Quit: leaving]
yfeldblum has joined #ruby-lang
stamina has joined #ruby-lang
stamina has quit [Client Quit]
hellangel7 has quit [Remote host closed the connection]
<whitequark> for reference, this is what I had to do to add support for {'foo':bar}: https://github.com/whitequark/parser/commit/cb0aa59c418ee8c7856c6db6b926932bf67837c4
funnel_ has joined #ruby-lang
funnel has quit [Quit: leaving]
yfeldblum has quit [Ping timeout: 246 seconds]
<yorickpeterse> also people begged whitequark to do it
<yorickpeterse> he's not the batman we deserve
<yorickpeterse> or w/e the quote was
workmad3 has quit [Ping timeout: 245 seconds]
<whitequark> yorickpeterse: when was the last time exactly i cared about the opinin of you plebians
<whitequark> opinion*
<whitequark> noooo, I did this *solely* because I hate myself
<yorickpeterse> welcome to club "Ruined the joke"
<yorickpeterse> have a seat
* whitequark burns the seat down
MichD is now known as michd
<yorickpeterse> would you like some cheese with that?
* whitequark pours gasoline around and sets the club on fire
* whitequark sets the cheese on fire, too
<whitequark> yay :D
<yorickpeterse> Club used dodge
<yorickpeterse> it was mildly effective
<t4nk490> Is there a simple way to change only the last value in a multivalued hash, like test[0001] = [123, 456] ?
<whitequark> hint: it's not a multivalued hash
<yorickpeterse> multivalued hash?
<t4nk490> Well, thats the most describing word I found googling.
<jhass> how about "array"?
* t4nk490 hides under deskop.
|jemc| has joined #ruby-lang
<t4nk490> Hasharray? Sounds Indian.
<yorickpeterse> do you mean an array of hashes?
<jhass> no a hash with array values
AKASkip has joined #ruby-lang
<t4nk490> Jupp
<yorickpeterse> ah
<jhass> t4nk490: do you know how to change the last value in an array?
<t4nk490> No
gjaldon has quit []
<yorickpeterse> >> numbers = [10, 20, 30]
<eval-in_> yorickpeterse => [10, 20, 30] (https://eval.in/201811)
<t4nk490> I'd use test[0001] = [123, 456], but that changes bothvalues.
<yorickpeterse> >> numbers = [10, 20, 30]; numbers[-1] = 9000
<eval-in_> yorickpeterse => 9000 (https://eval.in/201812)
<yorickpeterse> >> numbers = [10, 20, 30]; numbers[-1] = 9000; numbers
<eval-in_> yorickpeterse => [10, 20, 9000] (https://eval.in/201813)
jdrap has quit [Quit: jdrap]
<yorickpeterse> index -1 can be used to access the last value of an array
funnel_ is now known as funnel
<t4nk490> Thanks
t4nk490 is now known as t4nk491
Demannu has quit [Remote host closed the connection]
apeiros has joined #ruby-lang
Iskarlar has joined #ruby-lang
Demannu has joined #ruby-lang
migbar has quit [Remote host closed the connection]
migbar has joined #ruby-lang
seamon has quit [Quit: Zzzzzzz]
|jemc| has quit [Ping timeout: 245 seconds]
lewix has joined #ruby-lang
shinnya has joined #ruby-lang
migbar has quit [Ping timeout: 245 seconds]
migbar has joined #ruby-lang
<t4nk491> Is there a way to make the program pause, until a key is pressed? I recall that one could use 'pause' in batch.
centrx has joined #ruby-lang
migbar has quit [Ping timeout: 245 seconds]
spastorino has quit [Quit: Connection closed for inactivity]
<t4nk491> Hmm, thanks.
SqREL has joined #ruby-lang
SqREL__ has joined #ruby-lang
SqREL has quit [Ping timeout: 244 seconds]
SqREL__ has quit [Ping timeout: 258 seconds]
stevenkuhn has joined #ruby-lang
yfeldblum has joined #ruby-lang
<t4nk491> What's wrong with this syntax? It is supposed to check if the key already exists. if crimes[year].nil? == false
<centrx> What is wrong with it?
<centrx> unless crimes[year].nil?
<jhass> unless crimes.has_key? year
seamon has joined #ruby-lang
<t4nk491> Thanks.
<t4nk491> Think I found the error in what you wrote
yfeldblum has quit [Ping timeout: 244 seconds]
tylersmith has joined #ruby-lang
seank_ has quit [Ping timeout: 240 seconds]
shinnya has quit [Ping timeout: 272 seconds]
ruurd has joined #ruby-lang
lewix has quit [Remote host closed the connection]
pskosinski_ has joined #ruby-lang
tylersmith has quit [Remote host closed the connection]
jxpx777 has joined #ruby-lang
seank_ has joined #ruby-lang
Kabaka has quit [Ping timeout: 260 seconds]
jxpx777_ has quit [Ping timeout: 250 seconds]
pskosinski has quit [Ping timeout: 264 seconds]
allomov has joined #ruby-lang
tkuchiki has joined #ruby-lang
klmlfl has quit [Remote host closed the connection]
btiefert has joined #ruby-lang
<yorickpeterse> t4nk491: also, you don't need to explicitly compare with true/false
<yorickpeterse> e.g. `if something` works if it returns anything other than nil/false
pskosinski_ is now known as pskosinski
tkuchiki has quit [Ping timeout: 272 seconds]
Missphoenix has quit [Quit: Leaving]
<t4nk491> yorickpeterse: Yeah, good point. I changed that a bit.
<t4nk491> By the way, why doesn't the array stay sorted when I use #sort ?
<centrx> yes
<centrx> sort does the sort
ruurd has quit [Quit: Leaving...]
<t4nk491> I mean hash. I doesn't stay sorted
<t4nk491> If i puts the hash, it's not sorted anymore.
<apeiros> sort doesn't sort in place, it returns a sorted array
<apeiros> sorted_hash = hash.sort { … }.to_h
<t4nk491> Oh, right. You've got one who does sort destructivly?
<apeiros> hash does not
<t4nk491> o.O
<apeiros> you can implement it using Hash#replace
<t4nk491> :D
<t4nk491> So, I can use foobar.replace { foobar.sort } ?
elia has joined #ruby-lang
ruurd has joined #ruby-lang
Kabaka has joined #ruby-lang
<apeiros> no
<t4nk491> Or I can simply use foobar = foobar.sort. Thanks
<apeiros> Hash#replace works - as can be seen in its docs - like this: hash.replace(other_hash)
<apeiros> so: hash.replace(hash.sort.to_h)
<apeiros> f.ex.
<t4nk491> Or not
shtirlic has quit [Ping timeout: 260 seconds]
<t4nk491> I'll try that
houhoulis has quit [Remote host closed the connection]
shtirlic has joined #ruby-lang
Cyrano has quit [Quit: Cyrano]
<t4nk491> apeiros: Undefined method to_h for Array, NoMethodError.
<apeiros> t4nk491: you're using an old ruby
<apeiros> Hash[array] then instead of array.to_h
<t4nk491> Ruby 1.9.3. That's what Rails' installer gave me couple of weeks back.
<apeiros> you're on windows?
<t4nk491> Jup
<centrx> oh my
<t4nk491> Don't worry, it's Windows 7.
banister has joined #ruby-lang
kyb3r_ has joined #ruby-lang
torrieri has joined #ruby-lang
yfeldblum has joined #ruby-lang
ruurd has quit [Quit: Leaving...]
<t4nk491> Finally, I got it!
<t4nk491> Thanks you very much!
yfeldblum has quit [Ping timeout: 272 seconds]
<t4nk491> Take a look if you want. https://eval.in/201827 In the meantime, I'll get some food.
torrieri has quit [Quit: Leaving...]
mikecmpbll has joined #ruby-lang
_elia has joined #ruby-lang
elia has quit [Read error: Connection reset by peer]
seamon has quit [Quit: Zzzzzzz]
sharpmachine has joined #ruby-lang
emmesswhy has joined #ruby-lang
torrieri has joined #ruby-lang
justinmburrous has quit [Remote host closed the connection]
spuk has quit [Ping timeout: 250 seconds]
nathanstitt has quit [Quit: I growing sleepy]
_elia has quit [Read error: Connection reset by peer]
yfeldblum has joined #ruby-lang
spuk has joined #ruby-lang
hhatch has joined #ruby-lang
hhatch has quit [Client Quit]
justinmburrous has joined #ruby-lang
hahuang61 has joined #ruby-lang
hhatch has joined #ruby-lang
elia has joined #ruby-lang
lsegal has joined #ruby-lang
ruurd has joined #ruby-lang
klmlfl has joined #ruby-lang
hahuang61 has quit [Ping timeout: 260 seconds]
snsei has joined #ruby-lang
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
klmlfl has quit [Ping timeout: 245 seconds]
sharpmachine has quit [Read error: Connection reset by peer]
sharpmachine has joined #ruby-lang
justinmburrous has quit [Remote host closed the connection]
postmodern has joined #ruby-lang
justinmburrous has joined #ruby-lang
elia has quit [Quit: Computer has gone to sleep.]
torrieri has quit [Quit: Leaving...]
havenwood has quit [Ping timeout: 264 seconds]
seamon has joined #ruby-lang
havenwood has joined #ruby-lang
SqREL__ has joined #ruby-lang
SqREL____ has joined #ruby-lang
stevenkuhn has quit [Quit: stevenkuhn]
SqREL__ has quit [Ping timeout: 258 seconds]
SqREL____ has quit [Ping timeout: 260 seconds]
tig has joined #ruby-lang
skammer2 has quit [Ping timeout: 272 seconds]
allomov_ has joined #ruby-lang
gix has quit [Ping timeout: 240 seconds]
elia has joined #ruby-lang
stevenkuhn has joined #ruby-lang
allomov has quit [Ping timeout: 260 seconds]
seamon has quit [Quit: Zzzzzzz]
gix has joined #ruby-lang
emmesswhy has quit [Quit: Leaving]
ruurd has quit [Quit: Leaving...]
elia has quit [Quit: Computer has gone to sleep.]
ikrima has quit [Ping timeout: 258 seconds]
nathanstitt has joined #ruby-lang
centrx has quit [Ping timeout: 258 seconds]
klmlfl_ has quit [Remote host closed the connection]
_ht has quit [Remote host closed the connection]
Voker57 has joined #ruby-lang
tkuchiki has joined #ruby-lang
mistym_ has joined #ruby-lang
klmlfl has joined #ruby-lang
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
mistym has quit [Ping timeout: 240 seconds]
ruurd has joined #ruby-lang
mikecmpbll has quit [Quit: i've nodded off.]
tkuchiki has quit [Ping timeout: 250 seconds]
klmlfl_ has joined #ruby-lang
banister has joined #ruby-lang
banister has quit [Max SendQ exceeded]
t4nk491 has quit [Quit: Page closed]
banister has joined #ruby-lang
klmlfl has quit [Ping timeout: 272 seconds]
elia has joined #ruby-lang
mistym_ is now known as mistym
cornerma1 has joined #ruby-lang
justinmburrous has quit [Read error: Connection reset by peer]
cornerman has quit [Ping timeout: 272 seconds]
spuk has quit [Ping timeout: 260 seconds]
mistym_ has joined #ruby-lang
mistym has quit [Disconnected by services]
mistym_ is now known as mistym
spastorino has joined #ruby-lang
stevenkuhn has quit [Quit: stevenkuhn]
cornerma1 is now known as cornerman
cornerman is now known as cornerma1
cornerma1 is now known as cornerman
mikecmpbll has joined #ruby-lang
spuk has joined #ruby-lang
dagda1 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
allomov_ has quit [Remote host closed the connection]
allomov has joined #ruby-lang
Kabaka has quit [Ping timeout: 272 seconds]
skammer2 has joined #ruby-lang
hahuang61 has joined #ruby-lang
centrx has joined #ruby-lang
nofxx has quit [Ping timeout: 246 seconds]
Kabaka has joined #ruby-lang
allomov has quit [Ping timeout: 272 seconds]
ruurd has quit [Quit: Leaving...]
skammer2 has quit [Ping timeout: 245 seconds]
toretore has quit [Quit: This computer has gone to sleep]
klmlfl has joined #ruby-lang
tig has quit [Read error: Connection reset by peer]
fusillicode has quit [Ping timeout: 272 seconds]
klmlfl has quit [Remote host closed the connection]
banister has quit [Read error: Connection reset by peer]
banister has joined #ruby-lang
banister has quit [Max SendQ exceeded]
klmlfl_ has quit [Remote host closed the connection]
banister has joined #ruby-lang
banister has quit [Max SendQ exceeded]
banister has joined #ruby-lang
banister has quit [Max SendQ exceeded]
SqREL____ has joined #ruby-lang
banister has joined #ruby-lang
banister has quit [Max SendQ exceeded]
banister has joined #ruby-lang
banister has quit [Max SendQ exceeded]
SqREL______ has joined #ruby-lang
torrieri has joined #ruby-lang
banister has joined #ruby-lang
klmlfl has joined #ruby-lang
banister has quit [Max SendQ exceeded]
banister has joined #ruby-lang
banister has quit [Max SendQ exceeded]
SqREL____ has quit [Ping timeout: 250 seconds]
klmlfl_ has joined #ruby-lang
banister has joined #ruby-lang
banister has quit [Max SendQ exceeded]
banister has joined #ruby-lang
banister has quit [Max SendQ exceeded]
klmlfl_ has quit [Client Quit]
banister has joined #ruby-lang
SqREL______ has quit [Ping timeout: 260 seconds]
banister has quit [Max SendQ exceeded]
banister has joined #ruby-lang
snsei has quit [Remote host closed the connection]
banister has quit [Max SendQ exceeded]
snsei has joined #ruby-lang
banister has joined #ruby-lang
banister has quit [Max SendQ exceeded]
banister has joined #ruby-lang
snsei has quit [Ping timeout: 260 seconds]
skammer2 has joined #ruby-lang
Iskarlar has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
skammer2 has quit [Ping timeout: 272 seconds]
mikecmpbll has quit [Quit: i've nodded off.]
pskosinski has quit [Quit: Til rivido Idisti! | http://www.ido.li]
AKASkip has quit [Ping timeout: 250 seconds]
sharpmac_ has joined #ruby-lang
sharpmachine has quit [Ping timeout: 240 seconds]
apt-get_ has quit [Quit: Quitte]
allomov has joined #ruby-lang
allomov has quit [Read error: Connection reset by peer]
allomov has joined #ruby-lang
emmesswhy has joined #ruby-lang
allomov has quit [Read error: Connection reset by peer]
allomov has joined #ruby-lang
allomov has quit [Read error: Connection reset by peer]
marr has quit []
sharpmachine has joined #ruby-lang
tkuchiki has joined #ruby-lang
torrieri has quit [Quit: Leaving...]
klmlfl has quit [Remote host closed the connection]
sharpmac_ has quit [Ping timeout: 260 seconds]
sharpmachine has quit [Remote host closed the connection]
tkuchiki has quit [Ping timeout: 272 seconds]
yfeldblu_ has joined #ruby-lang
yfeldblum has quit [Ping timeout: 240 seconds]
Forgetful_Lion has joined #ruby-lang
klmlfl has joined #ruby-lang
nathanst_ has joined #ruby-lang
nathanstitt has quit [Ping timeout: 245 seconds]
elia has quit [Quit: Computer has gone to sleep.]
emmesswhy has quit [Quit: Leaving]
klmlfl has quit [Remote host closed the connection]
zenojis has quit [Ping timeout: 260 seconds]
zenojis has joined #ruby-lang
lsegal has quit [Read error: Connection reset by peer]
lsegal has joined #ruby-lang
Benstr has joined #ruby-lang
skammer2 has joined #ruby-lang
RobertBirnie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
nonmadden has quit [Remote host closed the connection]
PsionTheory has joined #ruby-lang
zenojis has quit [Ping timeout: 260 seconds]
emilsoman has joined #ruby-lang
emilsoman has quit [Client Quit]
Benstr has quit [Quit: Computer has gone to sleep.]
skammer2 has quit [Ping timeout: 272 seconds]
emilsoman has joined #ruby-lang
Benstr has joined #ruby-lang
cornerman has quit [Quit: leaving]
cornerman has joined #ruby-lang
<emilsoman> what's the purpose of "machine_context" class in Ruby ?
thomasxie has joined #ruby-lang
<jhass> machine_context is not a valid class name
symm- has quit [Ping timeout: 245 seconds]
<jhass> I see a macro, RB_GC_SAVE_MACHINE_CONTEXT, in MRI, is that what you mean?
Benstr has quit [Ping timeout: 260 seconds]
zenojis has joined #ruby-lang
<emilsoman> what I mean is, if I iterate over each object in the ObjectSpace, and print the class name, (using something like VALUE klass = RBASIC_CLASS(obj); class_name = rb_class2name(klass); - in a C extension ) I get a bunch of class names "machine_context"
torrieri has joined #ruby-lang
RobertBirnie has joined #ruby-lang
zenojis has quit [Ping timeout: 272 seconds]
PsionTheory has quit [Read error: Connection reset by peer]
RobertBi_ has joined #ruby-lang