apeiros changed the topic of #ruby-lang to: Nick registration required to talk || Ruby 2.0.0-p247: http://ruby-lang.org (Ruby 1.9.3-p448) || Paste >3 lines of text on http://gist.github.com
vlad_sta_ has joined #ruby-lang
charlies_ is now known as charliesome
toretore has quit [Quit: Leaving]
vlad_starkov has quit [Ping timeout: 272 seconds]
Glass_saga has joined #ruby-lang
ecnalyr has quit [Remote host closed the connection]
stamina has quit [Read error: Operation timed out]
<postmodern> i know this has been answered before, but I can't find it on google
<postmodern> how do you define generic file tasks in rake?
<postmodern> file '*.o' => '*.c' do ... ?
yfeldblum has quit [Remote host closed the connection]
<drbrain> postmodern: rule, I think
bastilian has quit [Quit: Leaving...]
<drbrain> postmodern: ri Rake::DSL#rule
zz_michael_mbp is now known as michael_mbp
bf4 has joined #ruby-lang
<postmodern> drbrain, ah yes that's it! thank you
bf4 has quit [Ping timeout: 240 seconds]
hogeo has joined #ruby-lang
yfeldblum has joined #ruby-lang
shinnya has joined #ruby-lang
tough_griff has quit []
enmand has joined #ruby-lang
slyphon has joined #ruby-lang
Iskarlar has joined #ruby-lang
Iskarlar has quit [Remote host closed the connection]
Iskarlar has joined #ruby-lang
Iskarlar has quit [Remote host closed the connection]
ruurd has joined #ruby-lang
Iskarlar has joined #ruby-lang
yfeldblum has quit [Remote host closed the connection]
Iskarlar has quit [Remote host closed the connection]
yfeldblum has joined #ruby-lang
kurko_ has quit [Quit: Computer has gone to sleep.]
CoreData1 has quit [Ping timeout: 252 seconds]
slyphon has quit [Quit: WeeChat 0.4.1]
mistym has quit [Quit: Leaving]
Iskarlar has joined #ruby-lang
CoreData has joined #ruby-lang
tkuchiki has joined #ruby-lang
vlad_sta_ has quit [Remote host closed the connection]
yxhuvud has quit [Read error: Operation timed out]
slyphon has joined #ruby-lang
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Coincidental has joined #ruby-lang
yfeldblum has quit [Remote host closed the connection]
slyphon has quit [Client Quit]
slyphon has joined #ruby-lang
fuhgeddaboudit has quit [Ping timeout: 272 seconds]
ruurd has quit [Quit: Leaving...]
mistym has joined #ruby-lang
yxhuvud has joined #ruby-lang
julweber has quit [Remote host closed the connection]
julweber has joined #ruby-lang
Coincidental has quit [Remote host closed the connection]
Coincidental has joined #ruby-lang
havenwood has quit [Remote host closed the connection]
cnivolle has quit [Remote host closed the connection]
julweber has quit [Ping timeout: 252 seconds]
Coincidental has quit [Ping timeout: 260 seconds]
nathanstitt has joined #ruby-lang
mdedetrich has quit [Quit: Computer has gone to sleep.]
JoshuaPaling has joined #ruby-lang
Coincidental has joined #ruby-lang
datanoise has joined #ruby-lang
charliesome has joined #ruby-lang
havenwood has joined #ruby-lang
thepumpkin has quit [Remote host closed the connection]
thepumpkin has joined #ruby-lang
Domon has joined #ruby-lang
hogeo has quit [Remote host closed the connection]
Domon has quit [Remote host closed the connection]
hogeo has joined #ruby-lang
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
thepumpkin has quit [Ping timeout: 248 seconds]
VTLob has quit [Quit: VTLob]
havenwood has quit [Remote host closed the connection]
charliesome has joined #ruby-lang
mmorga has joined #ruby-lang
datanoise has quit [Ping timeout: 252 seconds]
Domon has joined #ruby-lang
micalexander has joined #ruby-lang
vlad_starkov has joined #ruby-lang
mmorga has quit [Remote host closed the connection]
micalexander has quit [Ping timeout: 265 seconds]
MrPoT4tO has joined #ruby-lang
MrPoT4tO has quit [Client Quit]
MrPoT4tO has joined #ruby-lang
julweber has joined #ruby-lang
havenwood has joined #ruby-lang
eric__ has joined #ruby-lang
eric__ has quit [Remote host closed the connection]
micalexander has joined #ruby-lang
enmand has quit [Ping timeout: 272 seconds]
ndrst has quit [Ping timeout: 252 seconds]
julweber has quit [Ping timeout: 272 seconds]
Jeticus has joined #ruby-lang
enmand has joined #ruby-lang
jmeeuwen has quit [Ping timeout: 245 seconds]
fuhgeddaboudit has joined #ruby-lang
CaptainJet has quit [Ping timeout: 240 seconds]
bf4 has joined #ruby-lang
jmeeuwen has joined #ruby-lang
lfox has joined #ruby-lang
ndrst has joined #ruby-lang
bf4 has quit [Read error: Operation timed out]
My_Hearing has joined #ruby-lang
sevvie has joined #ruby-lang
Mon_Ouie has quit [Read error: Operation timed out]
enmand has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
ndrst has quit [Ping timeout: 248 seconds]
datanoise has joined #ruby-lang
sevvie has quit [Ping timeout: 252 seconds]
lfox has quit [Quit: ZZZzzz…]
ndrst has joined #ruby-lang
vlad_starkov has quit [Read error: Connection reset by peer]
jaimef has quit [Excess Flood]
jaimef has joined #ruby-lang
lsegal has joined #ruby-lang
datanoise has quit [Ping timeout: 240 seconds]
ledestin has quit [Ping timeout: 246 seconds]
<cschneid> I have a friend who's interested in giving programming a shot. After tryruby, what would you recommend for tutorials?
<lianj> on your local disk, not in the browser
<jrobeson> +1 for rubykoans
<cschneid> exercism.io too - alongside my coaching perhaps.
<cschneid> lianj: thanks, I had forgotten about that project
fuhgeddaboudit has quit [Ping timeout: 240 seconds]
sevvie has joined #ruby-lang
<lianj> https://github.com/kytrinyx/exercism.io/blob/master/assignments/ruby/binary/binary_test.rb wonder is class Binary; def initialize(s); @s=s; end; def to_decimal; @s.to_i(2); end; end is cheating
<lianj> s/is/if
arooni-mobile has joined #ruby-lang
sevvie has quit [Ping timeout: 256 seconds]
ldnunes has quit [Quit: Leaving]
<drbrain> lianj: the only way you can "cheat" when making tests pass is having the implementation modify the test or runner infrastructure
julweber has joined #ruby-lang
<lianj> :}
nathanstitt has quit [Quit: I growing sleepy]
nathanstitt has joined #ruby-lang
mdedetrich has joined #ruby-lang
Nisstyre-laptop has joined #ruby-lang
julweber has quit [Ping timeout: 260 seconds]
fuhgeddaboudit has joined #ruby-lang
dhruvasagar has joined #ruby-lang
ebetancourt has joined #ruby-lang
nathanstitt has quit [Quit: I growing sleepy]
chickenf_ has joined #ruby-lang
sevvie has joined #ruby-lang
havenwood has quit [Remote host closed the connection]
vlad_starkov has joined #ruby-lang
dhruvasagar has quit [Ping timeout: 260 seconds]
sevvie has quit [Ping timeout: 260 seconds]
Coincidental has quit [Ping timeout: 272 seconds]
datanoise has joined #ruby-lang
shinnya has quit [Ping timeout: 272 seconds]
jeer_ has joined #ruby-lang
dhruvasagar has joined #ruby-lang
thepumpkin has joined #ruby-lang
mistym has quit [Remote host closed the connection]
nisstyre has joined #ruby-lang
Coincidental has joined #ruby-lang
thepumpkin has quit [Ping timeout: 240 seconds]
My_Hearing has quit [Ping timeout: 240 seconds]
arooni-mobile has quit [Ping timeout: 240 seconds]
jhulten has quit [Remote host closed the connection]
havenwood has joined #ruby-lang
havenwood has quit [Read error: Connection reset by peer]
mr_red has quit [Ping timeout: 256 seconds]
havenwood has joined #ruby-lang
havenwood has quit [Remote host closed the connection]
havenwood has joined #ruby-lang
mr_red has joined #ruby-lang
mdedetrich has quit [Quit: Computer has gone to sleep.]
mdedetrich has joined #ruby-lang
cads has joined #ruby-lang
bf4 has joined #ruby-lang
briangonzalez has joined #ruby-lang
bf4 has quit [Ping timeout: 260 seconds]
soba has joined #ruby-lang
hagabaka has quit [Ping timeout: 256 seconds]
vlad_starkov has quit [Read error: Connection reset by peer]
hagabaka has joined #ruby-lang
dhruvasagar has quit [Ping timeout: 260 seconds]
earthquake has joined #ruby-lang
Coincidental has quit [Remote host closed the connection]
Coincidental has joined #ruby-lang
Coincidental has quit [Ping timeout: 246 seconds]
dhruvasagar has joined #ruby-lang
briangonzalez has quit [Quit: Textual IRC Client: www.textualapp.com]
charliesome has quit [Remote host closed the connection]
charliesome has joined #ruby-lang
mistym has joined #ruby-lang
Nisstyre-laptop has quit [Ping timeout: 272 seconds]
nisstyre has quit [Ping timeout: 260 seconds]
zakame has joined #ruby-lang
vlad_starkov has joined #ruby-lang
cyberRodent has joined #ruby-lang
cyberRodent has quit [Quit: Leaving...]
Senjai has quit [Remote host closed the connection]
tomzx_mac has quit [Ping timeout: 265 seconds]
apeiros has quit [Remote host closed the connection]
apeiros has joined #ruby-lang
Senjai has joined #ruby-lang
nisstyre has joined #ruby-lang
skade has joined #ruby-lang
julweber has joined #ruby-lang
lsegal has quit [Read error: Connection reset by peer]
earthquake has quit [Quit: earthquake]
lsegal has joined #ruby-lang
Barrin6 has joined #ruby-lang
<Barrin6> yooo
<Barrin6> used my ruby knowledge at work today for the first time
<Barrin6> made a script that read a csv file that gets generated everyweek
<Barrin6> then it shoots an email with that csv and in the subject line it states how many lines the csv has
<Barrin6> am I good?
bf4 has joined #ruby-lang
chickenf_ has quit [Quit: Textual IRC Client: www.textualapp.com]
julweber has quit [Read error: Connection reset by peer]
julweber has joined #ruby-lang
bf4 has quit [Ping timeout: 260 seconds]
diegoviola has joined #ruby-lang
robbyoconnor has joined #ruby-lang
julweber has quit [Ping timeout: 272 seconds]
apeiros has quit [Remote host closed the connection]
datanoise has quit [Ping timeout: 240 seconds]
apeiros has joined #ruby-lang
vlad_starkov has quit [Read error: Connection reset by peer]
earthquake has joined #ruby-lang
apeiros has quit [Ping timeout: 272 seconds]
dhruvasagar has quit [Ping timeout: 260 seconds]
postmodern has quit [Ping timeout: 256 seconds]
<Barrin6> guess not
postmodern has joined #ruby-lang
havenwood has quit [Remote host closed the connection]
arBmind has joined #ruby-lang
thepumpkin has joined #ruby-lang
tRaSheR has joined #ruby-lang
chickenf_ has joined #ruby-lang
tRaSheR has left #ruby-lang [#ruby-lang]
skade has quit [Quit: Computer has gone to sleep.]
havenwood has joined #ruby-lang
thepumpkin has quit [Ping timeout: 246 seconds]
mistym has quit [Remote host closed the connection]
postmodern has quit [Quit: Leaving]
mistym has joined #ruby-lang
postmodern has joined #ruby-lang
datanoise has joined #ruby-lang
apeiros has joined #ruby-lang
<Barrin6> anyone here?
Jeticus has quit []
CaptainJet has joined #ruby-lang
bastilian has joined #ruby-lang
ebetancourt has quit [Quit: Textual IRC Client: www.textualapp.com]
CaptainJet has quit [Client Quit]
CaptainJet has joined #ruby-lang
Coincidental has joined #ruby-lang
vlad_starkov has joined #ruby-lang
ebetancourt has joined #ruby-lang
datanoise has quit [Ping timeout: 272 seconds]
mark06 has joined #ruby-lang
amerine has joined #ruby-lang
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
bastilian_ has joined #ruby-lang
ebetancourt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
earthquake has quit [Quit: earthquake]
bastilian has quit [Ping timeout: 264 seconds]
slyphon has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
bf4 has joined #ruby-lang
rickhull has joined #ruby-lang
bf4 has quit [Ping timeout: 260 seconds]
vlad_starkov has quit [Read error: Connection reset by peer]
michael_mbp is now known as zz_michael_mbp
<Senjai> Barrin6: sup
<Senjai> Barrin6: heh, not bad, my first commercial use was to compare two csv's and create a third containing only entries that were not in common between the two
mark06 has left #ruby-lang [#ruby-lang]
<Barrin6> moce
<Barrin6> tjat
<Barrin6> nice
<Barrin6> that's what I"m going to try next
lsegal has quit [Quit: Quit: Quit: Quit: Stack Overflow.]
jerrytgarcia has quit [Quit: WeeChat 0.4.1]
ikrima has joined #ruby-lang
dhruvasagar has joined #ruby-lang
antonversal has joined #ruby-lang
workmad3 has joined #ruby-lang
wallerdev has quit [Quit: wallerdev]
Mr_Wharfsnort has joined #ruby-lang
Barrin6 has quit [Read error: Connection reset by peer]
CaptainJet has quit []
bastilian_ has quit [Quit: Linkinus - http://linkinus.com]
bastilian has joined #ruby-lang
workmad3 has quit [Ping timeout: 240 seconds]
vlad_starkov has joined #ruby-lang
ruurd has joined #ruby-lang
h_kon has joined #ruby-lang
banisterfiend has quit [Read error: Connection reset by peer]
julweber has joined #ruby-lang
mistym has quit [Remote host closed the connection]
vlad_starkov has quit [Ping timeout: 241 seconds]
vlad_starkov has joined #ruby-lang
banisterfiend has joined #ruby-lang
relix has joined #ruby-lang
vondruch has joined #ruby-lang
Mr_Wharfsnort has quit [Quit: Leaving]
vlad_starkov has quit [Remote host closed the connection]
banisterfiend has quit [Read error: Connection reset by peer]
vlad_starkov has joined #ruby-lang
antonversal has quit [Quit: Leaving.]
mbj has joined #ruby-lang
solars has joined #ruby-lang
solars has quit [Client Quit]
solars has joined #ruby-lang
vlad_starkov has quit [Ping timeout: 272 seconds]
banisterfiend has joined #ruby-lang
bf4 has joined #ruby-lang
mark06 has joined #ruby-lang
antonversal has joined #ruby-lang
arBmind has quit [Quit: Leaving.]
h_kon has quit [Remote host closed the connection]
bf4 has quit [Ping timeout: 272 seconds]
banisterfiend has quit [Read error: Connection reset by peer]
chickenf_ has quit [Quit: Textual IRC Client: www.textualapp.com]
banisterfiend has joined #ruby-lang
ngw has joined #ruby-lang
majjoha has joined #ruby-lang
mark06 has left #ruby-lang [#ruby-lang]
ruurd_ has joined #ruby-lang
ruurd_ is now known as Guest19014
h_kon has joined #ruby-lang
antonversal has quit [Quit: Leaving.]
ruurd has quit [Ping timeout: 252 seconds]
thepumpkin has joined #ruby-lang
tbuehlmann has joined #ruby-lang
thepumpkin has quit [Ping timeout: 240 seconds]
julweber has quit [Remote host closed the connection]
julweber has joined #ruby-lang
hhatch has joined #ruby-lang
julweber has quit [Ping timeout: 272 seconds]
mbj has quit [Ping timeout: 240 seconds]
mbj has joined #ruby-lang
h_kon has quit [Remote host closed the connection]
h_kon has joined #ruby-lang
antonversal has joined #ruby-lang
swav has joined #ruby-lang
retro|cz has joined #ruby-lang
JoshuaPaling has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Coincidental has quit [Remote host closed the connection]
solars has quit [Quit: WeeChat 0.4.0]
Coincidental has joined #ruby-lang
solars has joined #ruby-lang
Coincidental has quit [Read error: Connection reset by peer]
Coincidental has joined #ruby-lang
Elico has quit [Ping timeout: 264 seconds]
Coincidental has quit [Remote host closed the connection]
kek has joined #ruby-lang
cnivolle has joined #ruby-lang
cnivolle has quit [Remote host closed the connection]
cnivolle has joined #ruby-lang
adambeynon has joined #ruby-lang
bf4 has joined #ruby-lang
vmoravec has joined #ruby-lang
JoshuaPaling has joined #ruby-lang
bf4 has quit [Ping timeout: 272 seconds]
workmad3 has joined #ruby-lang
hotpancakes has quit [Remote host closed the connection]
hotpancakes has joined #ruby-lang
huma has joined #ruby-lang
workmad3 has quit [Ping timeout: 256 seconds]
hotpancakes has quit [Ping timeout: 260 seconds]
workmad3 has joined #ruby-lang
julweber has joined #ruby-lang
workmad3 has quit [Ping timeout: 265 seconds]
workmad3 has joined #ruby-lang
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
relix has joined #ruby-lang
Elico has joined #ruby-lang
workmad3 has quit [Ping timeout: 240 seconds]
Coincidental has joined #ruby-lang
workmad3 has joined #ruby-lang
CoreData has quit [Ping timeout: 252 seconds]
workmad3 has quit [Ping timeout: 272 seconds]
gix- has joined #ruby-lang
gix has quit [Disconnected by services]
workmad3 has joined #ruby-lang
havenwood has quit [Remote host closed the connection]
hotpancakes has joined #ruby-lang
saarinen has quit [Quit: saarinen]
hotpancakes has quit [Ping timeout: 246 seconds]
sr78ger has joined #ruby-lang
sr78ger has quit [Max SendQ exceeded]
MaddinXx has joined #ruby-lang
sr78ger has joined #ruby-lang
sr78ger has quit [Max SendQ exceeded]
Coincidental has quit [Remote host closed the connection]
sr78ger has joined #ruby-lang
sr78ger has quit [Max SendQ exceeded]
Coincidental has joined #ruby-lang
workmad3 has quit [Ping timeout: 240 seconds]
sr78ger has joined #ruby-lang
workmad3 has joined #ruby-lang
sr78ger has quit [Max SendQ exceeded]
sr78ger has joined #ruby-lang
workmad3 has quit [Client Quit]
sr78ger has quit [Max SendQ exceeded]
sr78ger has joined #ruby-lang
sr78ger has quit [Max SendQ exceeded]
sr78ger has joined #ruby-lang
Coincidental has quit [Ping timeout: 260 seconds]
majjoha has quit [Remote host closed the connection]
tisba has joined #ruby-lang
bf4 has joined #ruby-lang
mdedetrich has quit [Quit: Computer has gone to sleep.]
bf4 has quit [Ping timeout: 240 seconds]
rickhull has quit [Quit: Leaving.]
hotpancakes has joined #ruby-lang
hotpanca_ has joined #ruby-lang
hotpancakes has quit [Write error: Connection reset by peer]
Pupeno has joined #ruby-lang
Pupeno has quit [Changing host]
Pupeno has joined #ruby-lang
hotpanca_ has quit [Ping timeout: 265 seconds]
ledestin has joined #ruby-lang
hahuang65 has quit [Ping timeout: 253 seconds]
sr78ger has quit [Quit: Textual IRC Client: www.textualapp.com]
mbj has quit [Ping timeout: 240 seconds]
thepumpkin has joined #ruby-lang
mdedetrich has joined #ruby-lang
toretore has joined #ruby-lang
h_kon has quit [Remote host closed the connection]
thepumpkin has quit [Ping timeout: 246 seconds]
whitequark is now known as zsh
zsh is now known as whitequark
gianlucadv has quit [Quit: ZNC - http://znc.sourceforge.net]
r0bglees0n has quit [Ping timeout: 272 seconds]
gianlucadv has joined #ruby-lang
h_kon has joined #ruby-lang
julweber has quit [Remote host closed the connection]
julweber has joined #ruby-lang
diegoviola has quit [Quit: WeeChat 0.4.2]
Squarepy has joined #ruby-lang
solars has quit [Quit: WeeChat 0.4.0]
julweber has quit [Ping timeout: 256 seconds]
nvrch has joined #ruby-lang
zz_michael_mbp is now known as michael_mbp
nvrch has left #ruby-lang [#ruby-lang]
mdedetrich has quit [Quit: Computer has gone to sleep.]
mbj has joined #ruby-lang
mdedetrich has joined #ruby-lang
enmand has joined #ruby-lang
michael_mbp is now known as zz_michael_mbp
skade has joined #ruby-lang
julweber has joined #ruby-lang
enmand has quit [Ping timeout: 272 seconds]
solars has joined #ruby-lang
zz_michael_mbp is now known as michael_mbp
Criztian has joined #ruby-lang
sepp2k has joined #ruby-lang
ldnunes has joined #ruby-lang
hotpancakes has joined #ruby-lang
hotpancakes has quit [Ping timeout: 240 seconds]
stamina has joined #ruby-lang
Domon has quit [Remote host closed the connection]
hahuang65 has joined #ruby-lang
heftig has quit [Quit: Quitting]
znake has joined #ruby-lang
Kero has quit [Ping timeout: 246 seconds]
hahuang65 has quit [Ping timeout: 240 seconds]
fallenhitokiri has quit [Ping timeout: 248 seconds]
fallenhitokiri has joined #ruby-lang
VTLob has joined #ruby-lang
ledestin has quit [Quit: ledestin]
julweber has quit [Remote host closed the connection]
Kero has joined #ruby-lang
fallenhitokiri has quit [Remote host closed the connection]
julweber has joined #ruby-lang
fallenhitokiri has joined #ruby-lang
julweber has quit [Ping timeout: 272 seconds]
Mon_Ouie has joined #ruby-lang
datanoise has joined #ruby-lang
mbj has quit [Ping timeout: 240 seconds]
fallenhitokiri has quit [Ping timeout: 252 seconds]
mbj has joined #ruby-lang
julweber has joined #ruby-lang
swav has quit []
bf4 has joined #ruby-lang
znake has quit [Quit: Linkinus - http://linkinus.com]
fallenhitokiri has joined #ruby-lang
bf4 has quit [Ping timeout: 260 seconds]
hotpancakes has joined #ruby-lang
mbj has quit [Ping timeout: 272 seconds]
jsullivandigs has joined #ruby-lang
ikrima has quit [Quit: Computer has gone to sleep.]
hotpancakes has quit [Ping timeout: 272 seconds]
dhruvasagar has quit [Ping timeout: 260 seconds]
datanoise has quit [Ping timeout: 252 seconds]
jvrmaia has joined #ruby-lang
thepumpkin has joined #ruby-lang
Mon_Ouie has quit [Read error: Operation timed out]
tbuehlmann has quit [Read error: Connection reset by peer]
tbuehlmann has joined #ruby-lang
tbuehlmann has joined #ruby-lang
tbuehlmann has quit [Changing host]
thepumpkin has quit [Ping timeout: 246 seconds]
kek has quit [Read error: Connection reset by peer]
Criztian has quit [Remote host closed the connection]
symm- has joined #ruby-lang
kek has joined #ruby-lang
bastilian has quit [Quit: Leaving...]
Guest19014 has quit [Quit: Leaving...]
tbuehlmann has quit [Quit: Konversation terminated!]
julweber has quit [Remote host closed the connection]
julweber has joined #ruby-lang
heftig has joined #ruby-lang
julweber has quit [Ping timeout: 256 seconds]
kalleth has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
kurko_ has joined #ruby-lang
kalleth has joined #ruby-lang
h_kon has quit [Remote host closed the connection]
enmand has joined #ruby-lang
ItSANg___ has joined #ruby-lang
ItSANgo_ has quit [Ping timeout: 260 seconds]
Criztian has joined #ruby-lang
h_kon has joined #ruby-lang
kek has quit [Ping timeout: 272 seconds]
robbyoconnor has quit [Ping timeout: 272 seconds]
julweber has joined #ruby-lang
enebo has joined #ruby-lang
bf4 has joined #ruby-lang
Criztian has quit [Remote host closed the connection]
zakame has quit [Ping timeout: 265 seconds]
bf4 has quit [Ping timeout: 248 seconds]
hotpancakes has joined #ruby-lang
cored has joined #ruby-lang
cored has quit [Changing host]
cored has joined #ruby-lang
datanoise has joined #ruby-lang
hotpancakes has quit [Ping timeout: 240 seconds]
hogeo has quit [Remote host closed the connection]
hogeo has joined #ruby-lang
datanoise has quit [Ping timeout: 265 seconds]
symm- has quit [Ping timeout: 260 seconds]
hogeo has quit [Ping timeout: 248 seconds]
vlad_starkov has joined #ruby-lang
enebo has quit [Quit: enebo]
h_kon has quit [Remote host closed the connection]
Mothore has quit [Quit: Computer has gone to sleep.]
Mothore has joined #ruby-lang
h_kon has joined #ruby-lang
vlad_starkov has quit [Remote host closed the connection]
breakingthings has joined #ruby-lang
Mothore has quit [Ping timeout: 272 seconds]
julweber has quit [Remote host closed the connection]
robbyoconnor has joined #ruby-lang
julweber has joined #ruby-lang
kek has joined #ruby-lang
julweber has quit [Ping timeout: 272 seconds]
cads has quit [Ping timeout: 260 seconds]
datanoise has joined #ruby-lang
h_kon has quit [Remote host closed the connection]
JoshuaPaling has quit [Quit: Textual IRC Client: www.textualapp.com]
spuk has quit [Quit: Human beings were created by water to transport it uphill.]
r0bglees0n has joined #ruby-lang
kurko_ has quit [Ping timeout: 240 seconds]
datanoise has quit [Quit: leaving]
kurko_ has joined #ruby-lang
mdedetrich has quit [Quit: Computer has gone to sleep.]
mdedetrich has joined #ruby-lang
spuk has joined #ruby-lang
datanoise has joined #ruby-lang
bf4 has joined #ruby-lang
relix has quit [Quit: Textual IRC Client: www.textualapp.com]
mdedetrich has quit [Client Quit]
relix has joined #ruby-lang
ebetancourt has joined #ruby-lang
slyphon has joined #ruby-lang
cored has quit [Ping timeout: 240 seconds]
bf4 has quit [Ping timeout: 260 seconds]
hotpancakes has joined #ruby-lang
Guedes has joined #ruby-lang
hotpancakes has quit [Ping timeout: 240 seconds]
cads has joined #ruby-lang
gix- has quit [Ping timeout: 240 seconds]
gix has joined #ruby-lang
robbyoconnor has quit [Max SendQ exceeded]
Mothore has joined #ruby-lang
robbyoconnor has joined #ruby-lang
jerrytgarcia has joined #ruby-lang
gix- has joined #ruby-lang
gix has quit [Disconnected by services]
cored has joined #ruby-lang
cored has quit [Changing host]
cored has joined #ruby-lang
jsullivandigs has quit [Remote host closed the connection]
tomzx_mac has joined #ruby-lang
jsullivandigs has joined #ruby-lang
Mon_Ouie has joined #ruby-lang
thepumpkin has joined #ruby-lang
gix- has quit [Read error: Connection reset by peer]
iraja has joined #ruby-lang
Mon_Ouie has quit [Read error: Operation timed out]
jxie has joined #ruby-lang
jsullivandigs has quit [Ping timeout: 260 seconds]
thepumpkin has quit [Ping timeout: 248 seconds]
ecnalyr has joined #ruby-lang
<maloik> Anyone use sqlite3 in memory for their tests anywhere? I'm wondering if that would speed it up at all
<maloik> I'd try it if it werent for the fact that we have enums so sqlite isnt an option for that project
datanoise has quit [Quit: WeeChat 0.4.2]
tkuchiki has quit [Remote host closed the connection]
jxie has quit [Ping timeout: 240 seconds]
datanoise has joined #ruby-lang
tkuchiki has joined #ruby-lang
charliesome has joined #ruby-lang
jerrytgarcia has quit [Quit: WeeChat 0.4.1]
jerrytgarcia has joined #ruby-lang
nigerianceo has joined #ruby-lang
datanoise has quit [Client Quit]
tkuchiki has quit [Ping timeout: 272 seconds]
datanoise has joined #ruby-lang
robbyoconnor has quit [Read error: No route to host]
Squarepy_ has joined #ruby-lang
sjltaylo_ has joined #ruby-lang
Squarepy has quit [Ping timeout: 246 seconds]
datanoise has quit [Quit: WeeChat 0.4.2]
datanoise has joined #ruby-lang
jroesch has quit [Ping timeout: 245 seconds]
dhruvasagar has joined #ruby-lang
Mon_Ouie has joined #ruby-lang
cads has quit [Ping timeout: 260 seconds]
banisterfiend has quit [Quit: Computer has gone to sleep.]
sjltaylo_ has quit [Remote host closed the connection]
jroesch has joined #ruby-lang
Pupeno_ has joined #ruby-lang
cored has quit [Ping timeout: 240 seconds]
Pupeno_ has quit [Remote host closed the connection]
tomzx_mac has quit [Ping timeout: 272 seconds]
Pupeno has quit [Read error: Connection reset by peer]
Pupeno has joined #ruby-lang
Pupeno has quit [Changing host]
Pupeno has joined #ruby-lang
cored has joined #ruby-lang
Mothore has quit [Quit: Lingo - http://www.lingoirc.com]
Mothore has joined #ruby-lang
dhruvasagar has quit [Ping timeout: 260 seconds]
Coincidental has joined #ruby-lang
gix has joined #ruby-lang
jroes has left #ruby-lang [#ruby-lang]
gix- has joined #ruby-lang
gix has quit [Disconnected by services]
dhruvasagar has joined #ruby-lang
jeer has quit [Ping timeout: 245 seconds]
wallerdev has joined #ruby-lang
heftig has quit [Ping timeout: 260 seconds]
jeer has joined #ruby-lang
jeer has quit [Max SendQ exceeded]
bf4 has joined #ruby-lang
jeer has joined #ruby-lang
jeer has quit [Max SendQ exceeded]
cored has quit [Ping timeout: 240 seconds]
amerine has quit [Ping timeout: 265 seconds]
cored has joined #ruby-lang
cored has quit [Changing host]
cored has joined #ruby-lang
hotpancakes has joined #ruby-lang
bf4 has quit [Ping timeout: 260 seconds]
CoreData has joined #ruby-lang
tommylommykins has quit [Remote host closed the connection]
micalexander has quit [Remote host closed the connection]
julweber has joined #ruby-lang
micalexander has joined #ruby-lang
mmorga has joined #ruby-lang
slyphon has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
jeer has joined #ruby-lang
amerine has joined #ruby-lang
jeer has quit [Max SendQ exceeded]
jeer has joined #ruby-lang
hotpancakes has quit [Ping timeout: 240 seconds]
soba has quit [Ping timeout: 240 seconds]
micalexander has quit [Ping timeout: 246 seconds]
mistym has joined #ruby-lang
CoreData has quit [Ping timeout: 252 seconds]
CoreData has joined #ruby-lang
cored has quit [Ping timeout: 252 seconds]
iraja has quit [Remote host closed the connection]
Coincidental has quit [Write error: Broken pipe]
iraja has joined #ruby-lang
heftig has joined #ruby-lang
Coincidental has joined #ruby-lang
shinnya has joined #ruby-lang
MaddinXx has quit [Remote host closed the connection]
wallerdev has quit [Quit: wallerdev]
slyphon has joined #ruby-lang
soba has joined #ruby-lang
Coincidental has quit [Ping timeout: 265 seconds]
iraja has quit [Ping timeout: 265 seconds]
vlad_starkov has joined #ruby-lang
julweber has quit [Remote host closed the connection]
soba_ has joined #ruby-lang
CoreData has quit [Ping timeout: 252 seconds]
julweber has joined #ruby-lang
julweber has quit [Remote host closed the connection]
soba has quit [Ping timeout: 272 seconds]
julweber has joined #ruby-lang
antonversal has quit [Quit: Leaving.]
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
julweber has quit [Ping timeout: 272 seconds]
heftig has quit [Read error: Connection reset by peer]
heftig has joined #ruby-lang
amerine has quit [Read error: No route to host]
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<TCMSLP> Hmm, will any p/puts/print command print control codes?
<TCMSLP> As in, I think a variable has a control code hiding within in - but it's not printable
<TCMSLP> so debug is 'fun'
cored has joined #ruby-lang
cored has quit [Changing host]
cored has joined #ruby-lang
<zzak> maloik: ive been using ActiveRecord::Base.establish_connection 'sqlite3:///:memory:'
slyphon has quit [Ping timeout: 260 seconds]
<zzak> currently trying to decide the best way to manage that connection across threads and multiple processes :(
nathanstitt has joined #ruby-lang
lfox has joined #ruby-lang
postmodern has quit [Quit: Leaving]
slyphon has joined #ruby-lang
wallerdev has joined #ruby-lang
yfeldblum has joined #ruby-lang
<cschneid> is there a tool that wraps a ruby file/set of files into a runable executable on windows (without the recipient being required to install the runtime)
GaelanAintAround is now known as Gaelan
<bougyman> there have been a few projects that do that.
<bougyman> I had spotty luck with a few.
<cschneid> any that are good? And work with ruby 1.9/2?
<bougyman> maybe omnibus would be a solution, now.
soba_ has quit [Ping timeout: 272 seconds]
<bougyman> that's what we use for things such as sensu, now. and chef, of course.
charliesome has joined #ruby-lang
<zzak> cschneid: you would want to package whatever ruby with your app
<zzak> shoes does this in previous versions
tkolstee has joined #ruby-lang
<cschneid> zzak: yeah, trying to get a person off of perl for these little one-off scripts that get shared around between support people - trying to solve the compiled-ruby issue at the same time
<zzak> you could also check jruby, the new version of shoes got something working with packaging it all up (they would need java i think)
<cschneid> omnibus seems slick
tkolstee has left #ruby-lang [#ruby-lang]
tkolstee has joined #ruby-lang
micalexander has joined #ruby-lang
hotpancakes has joined #ruby-lang
havenwood has joined #ruby-lang
yfeldblum has quit [Remote host closed the connection]
Gaelan is now known as GaelanAintAround
stardiviner has quit [Ping timeout: 246 seconds]
bf4 has joined #ruby-lang
hotpancakes has quit [Ping timeout: 272 seconds]
slyphon has quit [Ping timeout: 248 seconds]
tbuehlmann has joined #ruby-lang
fmccann has joined #ruby-lang
momomomomo has joined #ruby-lang
antonversal has joined #ruby-lang
bzalasky has joined #ruby-lang
MrZYX|off is now known as MrZYX
yfeldblum has joined #ruby-lang
soba has joined #ruby-lang
<tkolstee> Good morning all. I'm trying to build ruby from a source RPM on a RHEL5/ppc64 box and the build is failing. Hoping someone here can help me.
<tkolstee> The src RPM I'm using is in puppetlabs' yum repo and is ruby-1.8.7.374-1.el5.src.rpm. When I build on the PPC64 box, it fails when trying to compile and link the ruby binary itself. Says the lib it built is incompatible. Looks like it's building the lib as 32-bit.
<tkolstee> After the build fails I can delete the libruby.so.1.8.7, add -m64 to the DLDFLAGS in the Makefile, and rerun "make". This builds the binary correctly but won't finish the RPM build
<tkolstee> I've tried modifying the specfile to add -m64 after the "configure" step, but this causes the build to fail at an earlier step
<tkolstee> I'm on IRC from personal laptop, and build is on work computer which is locked down; if someone's willing to look at cut-and-paste output I'll have to email it.
mbj has joined #ruby-lang
fmccann has quit [Remote host closed the connection]
fmccann has joined #ruby-lang
failshell has joined #ruby-lang
<tkolstee> ...or if someone knows of a 1.8.7 package binary or that builds cleanly on ppc64, that would work too
momomomomo has quit [Quit: momomomomo]
<tkolstee> I need 1.8.7 or better to install puppet client 3.x
mbj has quit [Client Quit]
datanoise has quit [Ping timeout: 260 seconds]
mbj has joined #ruby-lang
tylersmith has quit [Remote host closed the connection]
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<whitequark> tkolstee: try using alien to convert 1.8.7 ppc64 debs to rpm.
soba has quit [Ping timeout: 272 seconds]
micalexander has quit [Remote host closed the connection]
micalexander has joined #ruby-lang
momomomomo has joined #ruby-lang
<tkolstee> whitequark: Thanks, I'll give that a try....
ngw has quit [Quit: Linkinus - http://linkinus.com]
fmccann has quit [Quit: fmccann]
thepumpkin has joined #ruby-lang
solars has quit [Ping timeout: 260 seconds]
jiuweigui has joined #ruby-lang
mbj has quit [Ping timeout: 252 seconds]
mbj has joined #ruby-lang
ecnalyr has quit [Ping timeout: 245 seconds]
charliesome has joined #ruby-lang
charliesome has joined #ruby-lang
thepumpkin has quit [Ping timeout: 272 seconds]
Johz has joined #ruby-lang
ruby-lang984 has joined #ruby-lang
vmoravec has quit [Quit: Leaving]
antonversal has quit [Quit: Leaving.]
ruby-lang984 has quit [Ping timeout: 250 seconds]
slyphon has joined #ruby-lang
slyphon has quit [Client Quit]
apeiros has quit [Remote host closed the connection]
apeiros has joined #ruby-lang
tough_griff has joined #ruby-lang
dhruvasagar has quit [Ping timeout: 248 seconds]
apeiros has quit [Ping timeout: 245 seconds]
tough_griff has quit [Client Quit]
Mon_Ouie has quit [Ping timeout: 252 seconds]
lfox has quit [Quit: ZZZzzz…]
datanoise has joined #ruby-lang
slyphon has joined #ruby-lang
kek has quit [Remote host closed the connection]
tough_griff has joined #ruby-lang
julweber has joined #ruby-lang
Nisstyre-laptop has joined #ruby-lang
Squarepy_ has quit [Read error: Operation timed out]
nisstyre has quit [Disconnected by services]
Nisstyre-laptop is now known as nisstyre
yours_truly has joined #ruby-lang
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Squarepy has joined #ruby-lang
tubbo has quit [Quit: ZNC - http://znc.in]
tubbo` has joined #ruby-lang
lfox has joined #ruby-lang
Andrevan has joined #ruby-lang
tubbo` is now known as tubbo
Guedes has left #ruby-lang ["Saindo"]
arooni-mobile has joined #ruby-lang
momomomomo has quit [Quit: momomomomo]
pglombardo has joined #ruby-lang
ebetancourt has quit [Ping timeout: 240 seconds]
symm- has joined #ruby-lang
dhruvasagar has joined #ruby-lang
tommylommykins has joined #ruby-lang
julweber has quit [Remote host closed the connection]
snarfmason has quit [Quit: Textual IRC Client: www.textualapp.com]
apeiros has joined #ruby-lang
heftig has quit [Quit: Quitting]
CaptainJet has joined #ruby-lang
charliesome has joined #ruby-lang
julweber has joined #ruby-lang
relix has joined #ruby-lang
cnivolle has quit [Ping timeout: 246 seconds]
heftig has joined #ruby-lang
jsullivandigs has joined #ruby-lang
bzalasky has quit [Remote host closed the connection]
bzalasky has joined #ruby-lang
bzalasky has quit [Read error: Connection reset by peer]
bzalasky has joined #ruby-lang
momomomomo has joined #ruby-lang
sepp2k has quit [Quit: Konversation terminated!]
ecnalyr has joined #ruby-lang
ecnalyr has quit [Remote host closed the connection]
jiuweigui has quit [Quit: iQuit!]
MaddinXx_ has joined #ruby-lang
<tkolstee> whitequark: is it supposed to be more complicated than "alien -r packagefile.deb"?
sevvie has joined #ruby-lang
tough_griff has quit [Quit: computer went to sleep.]
tylersmith has joined #ruby-lang
soba_ has joined #ruby-lang
<whitequark> no
MaddinXx_ has quit [Ping timeout: 268 seconds]
<tkolstee> Alien isn't able to extract data.tar.gz from the package. I've tried downloading the same pkg from 2 different sources
hahuang65 has joined #ruby-lang
<tkolstee> Pardon my deb ignorance, I've been working with RHEL for the last 8 years
mmorga has quit [Remote host closed the connection]
bzalasky has quit [Remote host closed the connection]
tough_griff has joined #ruby-lang
bzalasky has joined #ruby-lang
apeiros has quit [Ping timeout: 248 seconds]
soba__ has joined #ruby-lang
arBmind has joined #ruby-lang
<tkolstee> Ah, got it... it's looking for data.tar.gz and the pkg contains data.tar.xz
x0f_ has quit [Read error: Operation timed out]
soba_ has quit [Ping timeout: 240 seconds]
bzalasky has quit [Ping timeout: 260 seconds]
soba__ has quit [Read error: Connection reset by peer]
sevvie has quit [Quit: leaving]
apeiros has joined #ruby-lang
slyphon has quit [Ping timeout: 252 seconds]
cored has quit [Ping timeout: 272 seconds]
x0f has joined #ruby-lang
pothibo has joined #ruby-lang
mmorga has joined #ruby-lang
xrq has quit [Remote host closed the connection]
jaimef has quit [Excess Flood]
<tkolstee> Alien generated the RPM packages from the debs, but there are glibc dependencies that it doesn't like, it needs a bunch of symbolic links, and the naming conventions are different meaning I can't handle the ppc64 and x86_64 boxen in my environment the same.
<tkolstee> It looks like a huge mess to sort out
carlosdo has joined #ruby-lang
<tkolstee> It seems like going this route I'd have to make a whole bunch of "special case" changes to my ppc64 machines. I'd rather try getting the source RPM built on ppc64 if I can.
carlosdo has quit [Client Quit]
banisterfiend has joined #ruby-lang
arooni-mobile has quit [Ping timeout: 245 seconds]
bastilian has joined #ruby-lang
intellitech has joined #ruby-lang
tisba has quit [Ping timeout: 260 seconds]
tough_griff has quit [Quit: computer went to sleep.]
jaimef has joined #ruby-lang
thepumpkin has joined #ruby-lang
kek has joined #ruby-lang
julweber has quit [Remote host closed the connection]
bzalasky has joined #ruby-lang
jiuweigui has joined #ruby-lang
kek has quit [Ping timeout: 272 seconds]
saarinen has joined #ruby-lang
MaddinXx_ has joined #ruby-lang
CaptainJet has quit [Read error: Connection reset by peer]
solars has joined #ruby-lang
dhruvasagar has quit [Ping timeout: 272 seconds]
yfeldblum has quit [Read error: Connection reset by peer]
yfeldblum has joined #ruby-lang
huma has quit [Ping timeout: 248 seconds]
CaptainJet has joined #ruby-lang
yfeldblum has quit [Read error: Connection reset by peer]
yfeldblu_ has joined #ruby-lang
jeff_r has joined #ruby-lang
pglombardo has quit [Remote host closed the connection]
vlad_starkov has quit [Remote host closed the connection]
havenwood has quit [Remote host closed the connection]
havenwood has joined #ruby-lang
adambeynon has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
sepp2k has joined #ruby-lang
Squarepy has quit [Quit: Leaving]
failshell has quit [Remote host closed the connection]
rickhull has joined #ruby-lang
yfeldblu_ has quit [Remote host closed the connection]
ebetancourt has joined #ruby-lang
Mon_Ouie has joined #ruby-lang
GaelanAintAround is now known as Gaelan
[spoiler] has joined #ruby-lang
mmorga has quit [Remote host closed the connection]
nisstyre has quit [Ping timeout: 272 seconds]
shinnya has quit [Ping timeout: 272 seconds]
ikrima has joined #ruby-lang
mmorga has joined #ruby-lang
banisterfiend has quit [Quit: Computer has gone to sleep.]
momomomomo has quit [Quit: momomomomo]
symm- has quit [Ping timeout: 245 seconds]
omninonsense has joined #ruby-lang
nino has joined #ruby-lang
pothibo has quit [Quit: pothibo]
nino has quit [Client Quit]
omninonsense has quit [Client Quit]
benanne has joined #ruby-lang
breakingthings has quit []
bzalasky has quit [Remote host closed the connection]
Gaelan is now known as GaelanAintAround
bzalasky has joined #ruby-lang
heftig has quit [Quit: Quitting]
jsullivandigs has quit [Remote host closed the connection]
jsullivandigs has joined #ruby-lang
MaddinXx_ has quit [Remote host closed the connection]
bzalasky has quit [Ping timeout: 272 seconds]
_if has joined #ruby-lang
jsullivandigs has quit [Ping timeout: 272 seconds]
Pupeno has quit [Ping timeout: 252 seconds]
gix- has quit [Quit: Client exiting]
yours_truly has quit [Quit: Leaving]
mark06 has joined #ruby-lang
<mark06> how do I check if I can output colors? i.e. if stdout can handle ansi escape codes?
<mark06> actually whether stdout is a terminal or not is enough, it's uncommon for a terminal not supporting them these days, I think
tdm00 has joined #ruby-lang
MaddinXx_ has joined #ruby-lang
<eam> mark06: STDIN.isatty
<apeiros> mark06: $stdout.tty? checks whether you're in interactive mode. I'd probably just default to colors and provide a flag to disable it.
<apeiros> also ENV['TERM']
<eam> re: terminal capabilities, a quick check of -- yeah
gix has joined #ruby-lang
<eam> beyond that, you get into termios
<apeiros> though that's ugly IMO
<apeiros> oh, interested - how can you check using termios?
symm- has joined #ruby-lang
<eam> I believe there are some ansi sequences you can send which return succes/failure indications
<eam> not current on this, gimmie a sec
<apeiros> eam: ah
<mark06> $stdout.isatty, $stdout.tty or STDOUT.isatty?
<apeiros> a quick google said something about using tput, haven't read it yet
<mark06> or ENV['TERM']?
ecnalyr has joined #ruby-lang
<eam> TERM gives vague hints but isn't super reliable
<apeiros> $stdout. the methods you listed are probably aliases.
<apeiros> TERM is ugly. you can check against known color-capable ones and go color on those and require explicit flag on others. (that was my idea behind mentioning it)
<apeiros> but: no matter what you do - make sure you make it explicitly toggleable (both, on and off)
<mark06> also, TERM env var is not set in cdm.exe which indeed can handle some ansi escapes
<mark06> aka basic colors
<mark06> so TERM is not reliable
<eam> on windows you can probably just assume ansi
<mark06> when missing, I mean
<eam> I don't think the concept of terminal types exist there
<eam> terminal stuff is going to be unix specific
<mark06> yeah but I still need to know whether stdout is a terminal or, say, a file or pipe
<eam> does the windows platfor distinguish?
<eam> platform
<eam> looks like windows doesn't do ansi but has some other encoding scheme
TheMoonMaster has quit [Excess Flood]
<mark06> apeiros: what's the difference between $stdout and STDOUT besides one being a global var and the other a constant?
fmccann has joined #ruby-lang
<apeiros> mark06: none, unless you reassign $stdout
TheMoonMaster has joined #ruby-lang
<apeiros> you should generally use $stdout - all Kernel methods use the globals.
<mark06> apeiros: btw for both it's "isatty" and "tty?" (more "rubist")
breakingthings has joined #ruby-lang
<mark06> apeiros: why should I prefer $stdout, like there are some places where STDOUT will not be defined?
<apeiros> mark06: because it allows to reassign the global.
<havenwood> mark06: If one is going to be pointed somewhere else, STDOUT will be left as the placeholder by convention.
<apeiros> e.g. $stdout = SomeLoggerWithIOLikeInterface.new
<apeiros> mark06: also it's consistent with core ruby
jeff_r has quit [Remote host closed the connection]
<havenwood> then to go back, $stdout = STDOUT
fmccann has quit [Client Quit]
<mark06> eam: distinguish? well, this works in cmd.exe: "\e[0;32m;green\e[0m;" but the extended colors (0;38;...) don't
<eam> mark06: I dunno, going by what I just saw on the internet - I don't do windows
<mark06> apeiros: but I don't want to reassign stdout
<apeiros> mark06: you maybe not
<mark06> apeiros: I see
<apeiros> but say you write a library, then it's good practice you used $stdout, since maybe the user of your library wants to
<eam> I don't like the idea of reassigning $stdout vs dup()'ing it to a new destination
<eam> changing $stdout wouldn't actually redirect all writes to fd=2 unless ruby does dup() in some magic hook or something
<mark06> apeiros: so I can redirect all of my script/lib output with a single command like above... with the constant, I need to search/replace all occurrences
<eam> eg system "thing that prints to stdout"
<eam> sorry fd=1
tkolstee has left #ruby-lang [#ruby-lang]
<mark06> apeiros: I see you are in the another channel, it's funny these two channels, why?
<apeiros> mark06: that's the idea, yes. if it's a library, you can't even go and replace the constants.
<apeiros> (since you don't edit code of libraries - usually)
jeff_r has joined #ruby-lang
<mark06> right
skade has quit [Quit: Computer has gone to sleep.]
tdm00 has quit [Quit: Make like a banana and split!]
tubbo has quit [Ping timeout: 245 seconds]
<mark06> thanks all
GaelanAintAround is now known as Gaelan
iraja has joined #ruby-lang
jeer_ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
arBmind has quit [Quit: Leaving.]
lfox has quit [Quit: ZZZzzz…]
supergeek has joined #ruby-lang
supergeek has quit [Max SendQ exceeded]
michael_mbp is now known as zz_michael_mbp
<mark06> there was a problem, isatty is returning false for MinTTY :(
vlad_starkov has joined #ruby-lang
tubbo has joined #ruby-lang
arBmind has joined #ruby-lang
<mark06> what value of ENV['TERM'] should I look for when present?
Tearan has joined #ruby-lang
tubbo has quit [Ping timeout: 260 seconds]
sulo has joined #ruby-lang
<matled> mark06: isatty() || TERM==MinTTY?
<mark06> matled: how so?
<mark06> matled: anyway, ENV['TERM'].start_with? 'xterm'
<matled> well, a terminal should just have a tty.
<matled> ./some_script > file should be able to suppress colors, even if I run it from an xterm
<matled> by figuring out that stdout is no tty
<mark06> right
rippa has joined #ruby-lang
<mark06> except that
<mark06> 1. as I said mintty is not recognized as a legitimate tty
<mark06> 2. ENV['TERM'] doesn't actually say anything about it
<mark06> since it won't change on > file
<mark06> so I wonder how would I detect mintty
JohnBat26 has joined #ruby-lang
banisterfiend has joined #ruby-lang
jeer_ has joined #ruby-lang
jeer_ has quit [Max SendQ exceeded]
yfeldblum has joined #ruby-lang
sulo has quit [Remote host closed the connection]
jeer_ has joined #ruby-lang
jeer_ has quit [Max SendQ exceeded]
sulo has joined #ruby-lang
jeer_ has joined #ruby-lang
jeer_ has quit [Max SendQ exceeded]
jeer_ has joined #ruby-lang
jeer_ has quit [Max SendQ exceeded]
Oloryn_lt2 has joined #ruby-lang
jeer_ has joined #ruby-lang
jeer_ has quit [Max SendQ exceeded]
jeer_ has joined #ruby-lang
Pupeno has joined #ruby-lang
Pupeno has quit [Changing host]
Pupeno has joined #ruby-lang
lfox has joined #ruby-lang
sulo has quit [Ping timeout: 272 seconds]
yfeldblum has quit [Ping timeout: 260 seconds]
heftig has joined #ruby-lang
momomomomo has joined #ruby-lang
ikrima has quit [Quit: Computer has gone to sleep.]
Coincidental has joined #ruby-lang
Coincidental has quit [Remote host closed the connection]
Coincidental has joined #ruby-lang
Oloryn_lt2 has quit [Read error: Connection reset by peer]
<ljarvis> zzak: you around?
nigerianceo has quit []
<zzak> pong, on a call, can you PM me?
<ljarvis> yep
<charliesome> mark06: i'm late to the party here but mintty not being recognized as a tty is a problem with mintty i'd say
lfox has quit [Quit: ZZZzzz…]
jvrmaia has quit [Quit: Leaving]
Gaelan is now known as GaelanAintAround
flori_ has quit [Ping timeout: 272 seconds]
flori has joined #ruby-lang
ebetancourt has quit [Quit: Textual IRC Client: www.textualapp.com]
sulo has joined #ruby-lang
ldnunes has quit [Quit: Leaving]
kurko_ has quit [Ping timeout: 240 seconds]
MaddinXx_ has quit [Remote host closed the connection]
ecnalyr has quit [Remote host closed the connection]
sulo has quit [Remote host closed the connection]
<Senjai> I'm really bad with text manipulation, how can I turn a string of strings into an array of strings? e.g. "\"public\"" -> ["public"]
sulo has joined #ruby-lang
<Senjai> or "\"public\"\"www\"" -> ['public', 'www']
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
<Senjai> cross posting question to #ruby if you guys dont mind
MaddinXx has joined #ruby-lang
mmorga has quit [Read error: Connection reset by peer]
jsullivandigs has joined #ruby-lang
jsullivandigs has quit [Remote host closed the connection]
<apeiros> Senjai: should mention it on both sides that you cross-posted, though ;-)
<Senjai> apeiros: Derp :P I tried
<Senjai> I dont know why I even asked, that shoulda clicked :(
yfeldblum has joined #ruby-lang
<apeiros> Senjai: I noticed. That's why I didn't give you crap for it :)
sulo has quit [Ping timeout: 272 seconds]
Volsus has joined #ruby-lang
Coincidental has quit [Remote host closed the connection]
Coincidental has joined #ruby-lang
<mark06> charliesome: I never said it's a ruby problem
retro|cz has quit [Ping timeout: 246 seconds]
lfox has joined #ruby-lang
<mark06> Senjai: is the string always like '"foo""bar"'?
jeff_r has quit [Remote host closed the connection]
Coincidental has quit [Ping timeout: 272 seconds]
arooni-mobile has joined #ruby-lang
sulo has joined #ruby-lang
arooni-mobile has quit [Ping timeout: 272 seconds]
Coincidental has joined #ruby-lang
Coincidental has quit [Read error: Connection reset by peer]
Coincidental has joined #ruby-lang
sulo has quit [Remote host closed the connection]
sulo has joined #ruby-lang
breakingthings has quit []
sulo has quit [Ping timeout: 245 seconds]
simoz has joined #ruby-lang
arooni-mobile has joined #ruby-lang
momomomomo has quit [Quit: momomomomo]
hotpancakes has joined #ruby-lang
Mothore has quit [Quit: Computer has gone to sleep.]
mbj has quit [Quit: leaving]
Mothore has joined #ruby-lang
breakingthings has joined #ruby-lang
nisstyre has joined #ruby-lang
_if has quit [Ping timeout: 272 seconds]
Mothore has quit [Ping timeout: 248 seconds]
MaddinXx has quit [Remote host closed the connection]
Lorcatar has joined #ruby-lang
justinseiter has joined #ruby-lang
vlad_sta_ has joined #ruby-lang
mistym has quit [Remote host closed the connection]
vlad_sta_ has quit [Remote host closed the connection]
vlad_starkov has quit [Ping timeout: 245 seconds]
vlad_starkov has joined #ruby-lang
GaelanAintAround is now known as Gaelan
adambeynon has joined #ruby-lang
verto has joined #ruby-lang
diegoviola has joined #ruby-lang
jiuweigui has quit [Read error: Connection reset by peer]
ikrima has joined #ruby-lang
jiuweigui has joined #ruby-lang
ikrima has quit [Max SendQ exceeded]
vlad_starkov has quit [Remote host closed the connection]
ikrima has joined #ruby-lang
bzalasky has joined #ruby-lang
vlad_starkov has joined #ruby-lang
iraja has quit [Remote host closed the connection]
vlad_starkov has quit [Remote host closed the connection]
verto has quit [Ping timeout: 272 seconds]
Coincidental has quit [Remote host closed the connection]
<soahccc> I don't know what I am doing wrong :( Why is result nil in the second iteration? https://gist.github.com/2called-chaos/02a3a2a710ce7826bcb7
<apeiros> next if index == 0
<soahccc> >.>
<apeiros> plain `next` is equivalent to `next nil`
<apeiros> i.e., the return value of your block is nil.
simoz has quit [Ping timeout: 245 seconds]
vlad_starkov has joined #ruby-lang
<soahccc> Thanks I think I could have wasted much more time to figure this out :D
jeer_ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
bzalasky has quit [Remote host closed the connection]
bzalasky has joined #ruby-lang
Volsus has quit [Ping timeout: 252 seconds]
Barrin6 has joined #ruby-lang
<Barrin6> i'm back
<apeiros> soahccc: good thing this channel exists then ;-D
rails_smith has quit [Quit: Leaving.]
melter has quit [Quit: Client exiting]
bzalasky has quit [Ping timeout: 272 seconds]
dhruvasagar has joined #ruby-lang
mark06 has left #ruby-lang [#ruby-lang]
mark06 has joined #ruby-lang
<mark06> drbrain: hi... so won't that bug be closed automatically? doc says it will if kept in feedback status for too long
<drbrain> mark06: which bug?
<drbrain> I've forgotten the context ☹
<drbrain> ugh, my internet got stuck again
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
JohnBat26 has quit [Quit: KVIrc 4.3.1 Aria http://www.kvirc.net/]
<drbrain> machuga: it won't be closed if you have given feedback
<Senjai> mark06: Apologies, I figured it out :/ A simple scan(/\w+/) handled it nicely
justinseiter has quit [Quit: Leaving]
<drbrain> oops, mark06 ↑
<mark06> Senjai: I saw later in the other channel
<Senjai> mark06: still, wanted to respond :P
<Senjai> drbrain: o/
<mark06> drbrain: indeed I did, but status is still "needs feedback"
<drbrain> mark06: the status is changed by hand, so you don't need to worry about it
<mark06> Senjai: I don't get why two channels :-/
<drbrain> mark06: because people in #ruby didn't read https://www.ruby-lang.org/en/community/
<havenwood> mark06: Also the other doesn't require nick registration to talk.
<mark06> drbrain: so what doc says is a manual verification? like "hmm the user is not giving feedback, will remove this from my todo"?
<drbrain> mark06: yes
<drbrain> mark06: usually it takes at least a month
<mark06> ok...
<mark06> I wonder what other bugs are around the encoding stuff
<mark06> ok for ruby-lang, but ruby staff could have used #ruby not #ruby-lang
mdedetrich has joined #ruby-lang
tomzx_mac has joined #ruby-lang
<mark06> the #ruby channel is presumably by official staff, so they're doing it wrong I think
<mark06> it should be ##ruby
jeer_ has joined #ruby-lang
<havenwood> mark06: not uncommon to have an official that reqs nick reg and one that doesn't, anyways different cultures in different channels, TIMTOWTDI
nathanstitt has quit [Quit: I growing sleepy]
<mark06> what any difference would justify it?
<mark06> I would also never guess one is registration-required and the other not
<drbrain> mark06: I need to try to merge the channels again
<drbrain> I tried before, but bureaucracy ☹
<havenwood> mark06: Maybe it is okay, even nice, to have one place with a better signal to noise ratio, and the other more lax and tolerant of Ruby chit-chat and newbie hand holding?
bzalasky has joined #ruby-lang
<havenwood> mark06: People seem to figure it out pretty quick. :P Maybe some initial confusion though indeed.
<mark06> havenwood: signal to noise ratio?
<mark06> also which one is what
<havenwood> mark06: here
<mark06> here what?
<havenwood> #ruby-lang
tbuehlmann has quit [Remote host closed the connection]
<Senjai> I prefer this channel really :/
<mark06> drbrain: I think if you ask in #freenode, you got the right to take ownership from them over #ruby, since you people are from actual ruby staff (I assume you are :) )
bri has quit [Ping timeout: 245 seconds]
<mark06> havenwood: foo bar
<havenwood> What i'd like to see is the messages on join updated, hehe. I mean what is?: http://www.modruby.net
<drbrain> mark06: there's a special file you have to stick in a special place on ruby-lang.org
<mark06> havenwood: which one is what, regarding your description of them
<havenwood> Who owns this channel again? I can't recall.
<drbrain> mark06: previously you could just ask, but I got laughed at when I said "I know matz!" and the staff member stopped responding (years and years ago)
<havenwood> Not around anymore right?
<Senjai> asdfjksha, I hate waiting for big merges to be pushed through :/
<havenwood> drbrain: Haha, yikes.
bri has joined #ruby-lang
<drbrain> havenwood: currently I'm listed as the channel owner
<mark06> drbrain: haha...
<drbrain> havenwood: this was before the automated process
<havenwood> drbrain: aha, cool
<mark06> drbrain: cool you know matz... tell him I like Evangelion :)
<drbrain> mark06: come to RubyConf and tell him yourself‼
<mark06> hahah my dream going to Japan....
Lorcatar has quit [Read error: Connection reset by peer]
<havenwood> drbrain: So looking forward to Miami! Gosh i wish a company was paying for my hotel room though. :P
<mark06> special file?
<havenwood> mark06: That'd be RubyKaigi :)
<Senjai> mark06: My girlfriends taking me there in feb
<Senjai> mark06: You wouldn't happen to know where one could find all the eva episodes would ya?
<mark06> nihongo wakarimasen :(
<mark06> Senjai: where are you?
<Senjai> mark06: Victoria, Canada
<Senjai> I've been looking around
<Senjai> Can't find a place to buy them, or download them
<mark06> Senjai: hmm try amazon... I think both original and rebuild are there...
<Senjai> mark06: mmk, whats the difference between the two
<Senjai> My gf wants to watch them with me.. heh
momomomomo has joined #ruby-lang
<mark06> Senjai: eva was originally produced ~1996... Anno is producing it again since 2009 or so... it's re-telling the story, with similarities and (big) differences
<mark06> *he's
<mark06> he's driving me crazy!
<Senjai> mark06: so original is the way to go, its just confusing, apparently there are movies and stuff too..
<Senjai> ?
momomomomo has quit [Client Quit]
Mothore has joined #ruby-lang
<mark06> well... that seems the original tv series...
brianpWins has quit [Quit: brianpWins]
<mark06> the tv series had an unsatisfying end for many... then Anno produced a "proper" end which is the movie
<mark06> The End of Evangelion... the other movie, Death & Rebirth... it's sort of a summary of the tv series, plus half the EoE...
Mothore has quit [Ping timeout: 265 seconds]
Mothore has joined #ruby-lang
Mothore has quit [Client Quit]
<mark06> now Anno is working on rebuild, 4 movies, 3 were released... I heard he said the rebuild should be suitable for new spectators.. but I find them too summarizing for 26 episodes (for the parts that are kept as original)
<Senjai> ahh.. cheers!
bzalasky has quit [Remote host closed the connection]
<mark06> so watching the tv series + movies (I think there may be more releases with extra scenes etc) was already confusing... I'm not sure how one would receive these movies with being confused with the original work first :)
bzalasky has joined #ruby-lang
solars has quit [Ping timeout: 246 seconds]
<mark06> *without
bzalasky_ has joined #ruby-lang
<Senjai> mark06: so wait, movies first?
<mark06> no, it's your choice, just showing...
bzalasky has quit [Read error: Connection reset by peer]
havenwood has quit [Remote host closed the connection]
Johz has quit [Remote host closed the connection]
<Barrin6> yo
<Barrin6> BUT 5 > sqrt (11), so 11 is prime, and you can stop!
<Barrin6> I don't get that part
havenwood has joined #ruby-lang
<mark06> TLDR
<apeiros> Barrin6: the biggest prime factor in a number is <= sqrt(num)
<Barrin6> ohh
<apeiros> *the biggest possible
<Barrin6> yea that makes sense
<Barrin6> oh
<Barrin6> okay
vbatts has quit [Ping timeout: 256 seconds]
<mark06> just curious, why makes sense? I know why but still
<mark06> the proof is not quite obvious
<Barrin6> wait that doesn't work for the number 6 though
<Barrin6> you take the sqrt of 6, which is 2.4
<Barrin6> greatest prime is 3
saarinen has quit [Quit: saarinen]
<mark06> right, it's not that simple
<Barrin6> man
<Barrin6> fhk math
jeer_ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<apeiros> *sob*, ceil(sqrt(num))
vbatts has joined #ruby-lang
<apeiros> for larger number it shouldn't matter
<apeiros> *numbers
<Barrin6> ceil rounds up?
<Barrin6> oh
<Barrin6> yea
stardiviner has joined #ruby-lang
[spoiler] has quit [Ping timeout: 248 seconds]
Volsus has joined #ruby-lang
<mark06> I think the right theorem is: if a given integer has no prime factors up to its square root, then that integer has no prime factors anymore and it's actually prime
yfeldblum has quit [Remote host closed the connection]
yfeldblum has joined #ruby-lang
bf4_ has joined #ruby-lang
dhruvasagar has quit [Ping timeout: 268 seconds]
<mark06> y=xx, if you decrease one x, the other should increase... if x can't be decreased to an integer, then the other can't be increased at all... thus y is prime... I guess
<mark06> Barrin6: ^
<Barrin6> my head hurts
<mark06> try it in irb and you'l get it :)
bastilian has quit [Ping timeout: 265 seconds]
bf4 has quit [Ping timeout: 240 seconds]
<mark06> a=b=Math.sqrt(6)
<mark06> y=a*b
bf4_ has quit [Ping timeout: 246 seconds]
adambeynon has quit [Quit: Textual IRC Client: www.textualapp.com]
vlad_starkov has quit [Read error: Connection reset by peer]
<mark06> puts y == (a * b), for different values of a and b... different means increasing or decreasing.... if you only increase a and/or b, then a*b will be bigger, and it will be smaller if you decrease only one a and/or b.. thus you need to increase one while decreasing the other....
<mark06> so you actually decrease one (they're initially equal, a==b) to next integer, up to 2... then on each step you increase the other (for the reason explained above), one by one... say
<mark06> a=b ~ 2.4
enmand has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<mark06> so 6==2.3? yes! finished... how about 11?
<mark06> a=b ~ 3.32
<mark06> 11==a*b
<mark06> 11==3*4? no, 11==2*5? no, the end, 11 is prime
mistym has joined #ruby-lang
<mark06> why? if 3.32 can't be decreased to an integer (cause none of the opposite increases are equal to 11), it means it should be increased, which only inverts the same problem since a==b.
<ljarvis> wat
<mark06> Barrin6: still hurts? lol
<Barrin6> you just made it hurt more
<mark06> hahaha... sorry :)
ikrima has quit [Quit: Computer has gone to sleep.]
vlad_starkov has joined #ruby-lang
<Barrin6> I think I got it to work
<Barrin6> 1 sec
<Barrin6> must do more testing
datanoise has quit [Ping timeout: 245 seconds]
enmand has joined #ruby-lang
<Senjai> God that was so long ago though
<Barrin6> only 5 months ago!
<Senjai> probably horribly inefficient. Doesn't use the sieve or anything though
mdedetrich has quit [Quit: Computer has gone to sleep.]
[spoiler] has joined #ruby-lang
Coincidental has joined #ruby-lang
Pupeno has quit [Ping timeout: 245 seconds]
[spoiler] has quit [Client Quit]
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<Barrin6> finally got it to work
ikrima has joined #ruby-lang
yfeldblum has quit [Ping timeout: 245 seconds]
undead has joined #ruby-lang
lfox has quit [Quit: ZZZzzz…]
breakingthings has quit []
cmckni3 has joined #ruby-lang
nathanstitt has joined #ruby-lang
undead has quit [Client Quit]
mike has joined #ruby-lang
mike is now known as Guest10650
vlad_sta_ has joined #ruby-lang
<Barrin6> haha
<Barrin6> what
<apeiros> mark06: proof by contradiction?
<mark06> yes, apeiros...
<Barrin6> I haven't taken math in like 6 years
<apeiros> Barrin6: so you're still more fresh on it than I :-p
Guest10650 has quit [Client Quit]
vlad_starkov has quit [Ping timeout: 258 seconds]
Volsus has quit [Ping timeout: 246 seconds]
<Barrin6> RAWR
* mark06 is partially cheating from some old doc
ruby-lang254 has joined #ruby-lang
<Barrin6> last time i took math was in high school
<Barrin6> and that was pre-calc honors I believe
sepp2k1 has joined #ruby-lang
robbyoconnor has joined #ruby-lang
sepp2k has quit [Ping timeout: 268 seconds]
mdedetrich has joined #ruby-lang
<mark06> it's actually w >= a... which means that there might not be any k greater than sqrt, if w isn't smaller... so if any factor is greater than sqrt, all the rest should be smaller... which means there should be one or more factors smaller than sqrt....
ikrima has quit [Quit: Computer has gone to sleep.]
<ruby-lang254> hello
rickhull has quit [Quit: Leaving.]
<Barrin6> yo what's up homie
<ruby-lang254> maybe somebody can help me ), how can i get value from mongo db
jiuweigui has quit [Quit: iQuit!]
<Barrin6> yo Senjai
<Barrin6> what you studying in UBC?
ikrima has joined #ruby-lang
<Barrin6> oh cool coderbits is awesome
datanoise has joined #ruby-lang
arooni-mobile has quit [Read error: Operation timed out]
<Barrin6> are codeacademy and treehouse the same?
mistym has quit [Remote host closed the connection]
thepumpkin has quit [Remote host closed the connection]
enmand has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<Barrin6> yep they aren't
<Barrin6> but man they look the same
mistym has joined #ruby-lang
vlad_starkov has joined #ruby-lang
<Barrin6> interesting read
<Barrin6> oh treehouse costs $$$
ruby-lang254 has quit [Quit: Page closed]
vlad_sta_ has quit [Ping timeout: 252 seconds]
Barrin6 has quit [Quit: HydraIRC -> http://www.hydrairc.com <- IRC with a difference]
datanoise has quit [Ping timeout: 245 seconds]
hhatch has quit [Ping timeout: 240 seconds]
vlad_starkov has quit [Remote host closed the connection]
tylersmith has quit [Read error: Connection reset by peer]
tylersmith has joined #ruby-lang
mdedetrich has quit [Quit: Computer has gone to sleep.]
bzalasky_ has quit [Remote host closed the connection]
shinnya has joined #ruby-lang
bzalasky has joined #ruby-lang
cmckni3 has quit [Quit: Textual IRC Client: www.textualapp.com]
datanoise has joined #ruby-lang
dave_ has joined #ruby-lang
kurko_ has joined #ruby-lang
bzalasky has quit [Ping timeout: 245 seconds]
rickhull has joined #ruby-lang
tkuchiki has joined #ruby-lang
hhatch has joined #ruby-lang
charliesome has joined #ruby-lang
mark06 has left #ruby-lang [#ruby-lang]
ikrima has quit [Quit: Computer has gone to sleep.]
mdedetrich has joined #ruby-lang
dave_ has left #ruby-lang [#ruby-lang]
tylersmith has quit [Remote host closed the connection]
DaveGomez has joined #ruby-lang
<DaveGomez> Good night. I'm learning to program in ruby and I want to know something about the methods use for common mathematical operation like +, -, /, etc. When I do something like 3 + 5 am I sending 3 as an argument to 5's + method or viseversa?
<drbrain> DaveGomez: 3.+(5)
<drbrain> so you send 5 to 3's + method
<drbrain> (order of operation is handled by the parser)
<DaveGomez> ty, that what I was thing, but couldn't find it in the docs, maybe I was looking wrongly
tkuchiki has quit [Remote host closed the connection]
tkuchiki has joined #ruby-lang
tkuchiki has quit [Read error: Connection reset by peer]
tkuchiki_ has joined #ruby-lang
tkuchiki_ has quit [Remote host closed the connection]
tkuchiki has joined #ruby-lang
toretore has quit [Quit: Leaving]
segy has quit [Read error: Operation timed out]
segy has joined #ruby-lang
nathanstitt has quit [Quit: I growing sleepy]
tkuchiki has quit [Ping timeout: 272 seconds]
MrZYX is now known as MrZYX|off