apeiros changed the topic of #ruby to: Ruby 2.0.0-p247: http://ruby-lang.org (Ruby 1.9.3-p448) || Paste >3 lines of text on http://gist.github.com || this channel is logged at http://irclog.whitequark.org, other public logging is prohibited
zeade has quit [Quit: Leaving.]
crus has joined #ruby
<it_tard> nn
mercwithamouth has quit [Ping timeout: 265 seconds]
siwica has quit [Ping timeout: 245 seconds]
siwica has joined #ruby
<it_tard> arp, already was walking to the bathroom when it came to me that he code won't catch files with 4 letter extensions...
havenwood has quit [Remote host closed the connection]
kaspergrubbe has quit [Ping timeout: 252 seconds]
marcdel has joined #ruby
soulcake has quit [Read error: Connection reset by peer]
nateberkopec has quit [Quit: Leaving...]
soulcake has joined #ruby
c0rn has quit [Quit: Computer has gone to sleep.]
clov3r has joined #ruby
heidi has quit [Quit: Leaving.]
mercwithamouth has joined #ruby
RichardBaker has quit [Quit: RichardBaker]
clov3r has quit [Read error: Connection reset by peer]
<volty> just: if f =~ / \h{32} \. \w{3,4}/x
S0da has quit [Read error: Connection reset by peer]
_andyj_ has joined #ruby
<volty> no need to check against 36 (or 37) length, the regexp does it already
b00stfr3ak has quit [Ping timeout: 268 seconds]
<volty> just: if f =~ / \h{32} \. \w{3,4} /x # be spaceful
<_andyj_> anyone help me understand why I get this ASCII-8BIT to UTF-8 when I have locale that looks sane? http://bpaste.net/show/141520/
randomnick_ has quit [Quit: Leaving]
Beoran_ has joined #ruby
gr33n7007h has quit [Quit: Changing server...]
_bart has quit [Remote host closed the connection]
Es0teric has joined #ruby
Jetchisel has quit [Quit: Unfortunately time is always against us -- *Morpheus*]
Beoran__ has quit [Ping timeout: 260 seconds]
Stygia has joined #ruby
Es0teric has quit [Max SendQ exceeded]
<volty> _andyj_: try updating rdoc and reinstalling rails (if that is the case)
hogeo has joined #ruby
astrobunny has quit [Ping timeout: 265 seconds]
ner0x has quit [Quit: Leaving]
mansi has joined #ruby
volty has quit [Quit: Konversation terminated!]
bonnie has joined #ruby
hogeo has quit [Remote host closed the connection]
<bonnie> salve
bonnie has left #ruby [#ruby]
hogeo has joined #ruby
Xeago has quit [Remote host closed the connection]
thesheff17 has quit [Ping timeout: 272 seconds]
jonathanwallace has quit [Read error: Connection reset by peer]
mercwithamouth has quit [Ping timeout: 272 seconds]
jonathanwallace has joined #ruby
astrobunny has joined #ruby
teapop has joined #ruby
heidi has joined #ruby
mercwithamouth has joined #ruby
hogeo has quit [Ping timeout: 272 seconds]
tkuchiki has quit [Remote host closed the connection]
Deele has quit [Ping timeout: 260 seconds]
tkuchiki has joined #ruby
niop has quit [Ping timeout: 272 seconds]
jonathanwallace has quit [Quit: WeeChat 0.4.1]
niop has joined #ruby
burlyscudd has joined #ruby
Hanmac has quit [Quit: Leaving.]
musty has joined #ruby
aspires has quit [Quit: sudo making a sandwich]
Kelet has quit [Quit: Words do not express thoughts very well.]
tkuchiki has quit [Ping timeout: 272 seconds]
burlyscudd has quit [Read error: Connection reset by peer]
[z`a`p] has joined #ruby
gsgdgdfgddfg has quit [Ping timeout: 272 seconds]
<[z`a`p]> i need some help translating a few lines of ruby to python code. i will pay 10$ by paypal, please it's urgent
ssvo has joined #ruby
c0rn has joined #ruby
muxdemux has joined #ruby
asteros has joined #ruby
Stalkr^ has quit [Quit: Leaving...]
fwmath has joined #ruby
Jetchisel has joined #ruby
forced_request has joined #ruby
havenwood has joined #ruby
Stalkr^ has joined #ruby
Xaitec has quit [Remote host closed the connection]
cody-- has joined #ruby
hogeo has joined #ruby
nari has joined #ruby
bradhe has quit [Remote host closed the connection]
bradhe has joined #ruby
jkline has joined #ruby
mercwithamouth has quit [Ping timeout: 272 seconds]
cody-- has quit [Client Quit]
i_s has quit [Remote host closed the connection]
larissa has joined #ruby
julweber_ has joined #ruby
julweber_ has quit [Remote host closed the connection]
julweber_ has joined #ruby
bradhe has quit [Ping timeout: 272 seconds]
brennanMKE has joined #ruby
soba has joined #ruby
c0rn has quit [Quit: Computer has gone to sleep.]
sevenseacat has joined #ruby
julweber has quit [Ping timeout: 245 seconds]
burlyscudd has joined #ruby
clov3r has joined #ruby
julweber_ has quit [Ping timeout: 272 seconds]
brennanMKE has quit [Ping timeout: 260 seconds]
soba has quit [Ping timeout: 265 seconds]
jonathanwallace has joined #ruby
clov3r has quit [Read error: Connection reset by peer]
Mars` has quit [Read error: Connection reset by peer]
Mars` has joined #ruby
tkuchiki has joined #ruby
soba has joined #ruby
mercwithamouth has joined #ruby
shevy has joined #ruby
<shevy> wheeee
niop has quit [Ping timeout: 246 seconds]
devoldmx has quit [Ping timeout: 265 seconds]
niop has joined #ruby
nari has quit [Ping timeout: 245 seconds]
marcdel has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
capnmalarkey has quit [Quit: capnmalarkey]
Monie_ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
brianpWins has quit [Quit: brianpWins]
DonRichie has quit [Ping timeout: 245 seconds]
maletor has quit [Quit: Computer has gone to sleep.]
fwmath has quit [Read error: Operation timed out]
Voodoofish430 has quit [Quit: Leaving.]
Shidash has quit [Ping timeout: 272 seconds]
Davey has joined #ruby
<bricker`LA> Is there any reason why one of these is better/worse than the other? https://gist.github.com/bricker/7034919 I know using a hash in a constant is probably bad form, but I mean performance-wise
dhruvasagar has joined #ruby
pragmatism has quit [Quit: Peace]
danshultz has joined #ruby
justsee has quit [Ping timeout: 245 seconds]
mmitchell has joined #ruby
Mars` has quit [Remote host closed the connection]
nateberkopec has joined #ruby
Mars` has joined #ruby
gmas has quit [Ping timeout: 245 seconds]
thesheff17 has joined #ruby
banisterfiend has quit [Quit: Computer has gone to sleep.]
<postmodern> bricker`LA, i like the hash form better, compartmentalizes the data
Mars` has quit [Ping timeout: 272 seconds]
banisterfiend has joined #ruby
sambao21 has quit [Ping timeout: 245 seconds]
mansi has quit [Ping timeout: 260 seconds]
jonathanwallace has quit [Ping timeout: 272 seconds]
v0n has quit [Ping timeout: 272 seconds]
sambao21 has joined #ruby
renderful has quit [Read error: Connection reset by peer]
endash has joined #ruby
<sevenseacat> so do i
Spami has joined #ruby
burlyscudd has quit [Quit: Leaving.]
samsonasu has quit [Quit: samsonasu]
DrShoggoth has joined #ruby
zeade has joined #ruby
zeade has quit [Client Quit]
rjhunter has joined #ruby
kakashiA1 has joined #ruby
heidi has quit [Quit: Leaving.]
justsee has joined #ruby
ewnd9 has joined #ruby
Stalkr^ has quit [Quit: Leaving...]
ldnunes has quit [Quit: Leaving]
kakashiAL has quit [Ping timeout: 240 seconds]
tylersmith has quit [Remote host closed the connection]
kofno has quit [Ping timeout: 265 seconds]
nisstyre has joined #ruby
ShellFu is now known as ShellFu_afk
MisutoWolf has joined #ruby
Jdubs has joined #ruby
asteros has quit [Quit: asteros]
kakashiA1 is now known as kakashiAL
amacgregor_ has joined #ruby
fwmath has joined #ruby
NicolasTarzia has quit [Quit: Leaving]
t_p has joined #ruby
amacgregor__ has joined #ruby
ewnd9 has quit [Ping timeout: 249 seconds]
n_blownapart has joined #ruby
amacgregor has quit [Ping timeout: 265 seconds]
nateberkopec has quit [Ping timeout: 245 seconds]
threesome has joined #ruby
dayepa1 has quit [Quit: dayepa1]
amacgregor_ has quit [Ping timeout: 246 seconds]
dayepa has joined #ruby
lembacon has joined #ruby
kil0byte has joined #ruby
jonahR has joined #ruby
nari has joined #ruby
vlad_starkov has joined #ruby
renderful has joined #ruby
heidi has joined #ruby
<MisutoWolf> Ugh, this gem won't install on my system. :/
<MisutoWolf> This is dumb.
<sevenseacat> of course it is.
vlad_starkov has quit [Ping timeout: 252 seconds]
v0n has joined #ruby
Stygia has quit [Quit: Leaving]
tabolario has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<MisutoWolf> I try to install bzip2-ruby, and I get this:
monkegjinni has quit [Remote host closed the connection]
monkegjinni has joined #ruby
Jdubs has quit [Remote host closed the connection]
clov3r has joined #ruby
burlyscudd has joined #ruby
<MisutoWolf> I don't know how to fix it
brennanMKE has joined #ruby
<MisutoWolf> :(
dphase has left #ruby [#ruby]
orien has quit [Quit: Computer has gone to sleep.]
zz_tsykoduk is now known as tsykoduk
Jdubs_ has joined #ruby
burlyscudd has quit [Client Quit]
heidi has quit [Quit: Leaving.]
monkegjinni has quit [Ping timeout: 260 seconds]
Jdubs_ has quit [Remote host closed the connection]
brennanMKE has quit [Ping timeout: 245 seconds]
bradhe has joined #ruby
fwmath has quit [Quit: leaving]
raphaelivan1 has joined #ruby
n_blownapart has quit [Remote host closed the connection]
burlyscudd has joined #ruby
snath has joined #ruby
raphaelivan1 has quit [Client Quit]
threesome has quit [Ping timeout: 245 seconds]
snath has quit [Read error: Connection reset by peer]
astrobunny has quit [Ping timeout: 246 seconds]
jb41 has quit [Ping timeout: 260 seconds]
mixel has quit [Quit: mixel]
musty_ has joined #ruby
raphaelivan1 has joined #ruby
raphaelivan1 has quit [Client Quit]
snath has joined #ruby
bradhe has quit [Ping timeout: 272 seconds]
tsykoduk is now known as zz_tsykoduk
raphaelivan1 has joined #ruby
raphaelivan1 has quit [Client Quit]
Jdubs has joined #ruby
musty has quit [Ping timeout: 260 seconds]
beilabs has quit [Ping timeout: 272 seconds]
whunt has quit [Quit: Computer has gone to sleep.]
funburn has quit [Ping timeout: 260 seconds]
beilabs has joined #ruby
astrobunny has joined #ruby
raphaelivan1 has joined #ruby
raphaelivan1 has quit [Client Quit]
Domon has joined #ruby
jlast has quit [Remote host closed the connection]
radic has quit [Read error: Connection reset by peer]
radic has joined #ruby
markisonfire has quit [Quit: markisonfire]
asteros has joined #ruby
burlyscudd has quit [Quit: Leaving.]
xjiujiu has joined #ruby
musty has joined #ruby
musty_ has quit [Read error: Connection reset by peer]
jlast has joined #ruby
kofno has joined #ruby
rorra has joined #ruby
wallerdev has quit [Quit: wallerdev]
raphaelivan1 has joined #ruby
orien has joined #ruby
rezzack has quit [Ping timeout: 268 seconds]
ioNull has joined #ruby
cainus has quit [Read error: Connection reset by peer]
petey has joined #ruby
Jdubs has quit [Remote host closed the connection]
musty_ has joined #ruby
funburn has joined #ruby
alexju has joined #ruby
musty has quit [Ping timeout: 265 seconds]
Mars` has joined #ruby
raphaelivan1 has quit [Remote host closed the connection]
varfoo has joined #ruby
raphaelivan1 has joined #ruby
johnnyfuchs has joined #ruby
musty has joined #ruby
gja has joined #ruby
Mars` has quit [Ping timeout: 240 seconds]
asteros has quit [Quit: asteros]
raphaelivan1 has quit [Remote host closed the connection]
johnnyfuchs has quit [Client Quit]
justsee has quit [Quit: leaving]
justsee has joined #ruby
burlyscudd has joined #ruby
musty_ has quit [Ping timeout: 272 seconds]
i_s has joined #ruby
brianpWins has joined #ruby
simplyaubs has joined #ruby
mayorga has joined #ruby
jblack has joined #ruby
xjiujiu has quit [Read error: Connection reset by peer]
yfeldblum has quit [Ping timeout: 246 seconds]
musty_ has joined #ruby
mayorga has quit [Max SendQ exceeded]
niop has quit [Remote host closed the connection]
TorpedoSkyline has joined #ruby
musty has quit [Ping timeout: 260 seconds]
raphaelivan1 has joined #ruby
musty_ has quit [Read error: Connection reset by peer]
musty has joined #ruby
xjiujiu has joined #ruby
raphaelivan2 has joined #ruby
tylersmith has joined #ruby
raphaelivan2 has quit [Remote host closed the connection]
musty has quit [Client Quit]
vlad_starkov has joined #ruby
raphaelivan1 has quit [Ping timeout: 265 seconds]
mobileblue has quit [Ping timeout: 245 seconds]
bradhe has joined #ruby
simplyaubs has quit [Quit: simplyaubs]
Jdubs has joined #ruby
simplyaubs has joined #ruby
mobileblue has joined #ruby
<MisutoWolf> Sigh, I don't know how to fix this gem installation problem at all.
burlyscudd has left #ruby [#ruby]
heidi has joined #ruby
tylersmith has quit [Ping timeout: 260 seconds]
jachymko has quit [Quit: ZNC - http://znc.in]
vlad_starkov has quit [Ping timeout: 272 seconds]
xjiujiu has quit [Read error: Connection reset by peer]
digital-ghost has quit [Remote host closed the connection]
lfox has quit []
helloworld has quit [Ping timeout: 245 seconds]
lfox has joined #ruby
lfox has quit [Client Quit]
TorpedoSkyline has quit [Changing host]
TorpedoSkyline has joined #ruby
lfox has joined #ruby
xjiujiu_ has joined #ruby
brennanMKE has joined #ruby
freakcult has quit [Ping timeout: 272 seconds]
<havenwood> misutowolf: Do you have all the reqs installed? Check?: rvm requirements
heidi has quit [Quit: Leaving.]
gja has quit [Quit: This computer has gone to sleep]
<havenwood> misutowolf: I'd suggesting double checking requirements, running `rvm get stable` and reinstalling Ruby.
xjiujiu_ has quit [Read error: Connection reset by peer]
freakcult has joined #ruby
brennanMKE has quit [Ping timeout: 256 seconds]
<havenwood> misutowolf: If that ^ doesn't solve #rvm is really helpful.
xjiujiu has joined #ruby
s3itz has joined #ruby
ssvo has quit [Ping timeout: 252 seconds]
keen____ has joined #ruby
DonRichie has joined #ruby
<MisutoWolf> Hm. I used RVM to install 1.9.3, and the gem installed fine. It had some problem with 2.0.0, apparently.
keen___ has quit [Ping timeout: 268 seconds]
jlast has quit [Remote host closed the connection]
Jetchisel has quit [Ping timeout: 260 seconds]
banisterfiend has quit [Quit: Computer has gone to sleep.]
astrobunny has quit [Ping timeout: 265 seconds]
kazuuu has quit [Remote host closed the connection]
kazuuu has joined #ruby
rjhunter has quit [Remote host closed the connection]
alvaro_o has quit [Quit: Ex-Chat]
helloworld has joined #ruby
osvico has joined #ruby
ChronocityLC has joined #ruby
astrobunny has joined #ruby
tabolario has joined #ruby
kazuuu has quit [Ping timeout: 245 seconds]
joshwines_ has quit [Remote host closed the connection]
xk_id has quit [Quit:
joshwines_ has joined #ruby
petey has quit [Ping timeout: 246 seconds]
mayorga has joined #ruby
vpretzel has joined #ruby
Ripp__ has joined #ruby
Guest43791 has joined #ruby
siwica has quit [Ping timeout: 245 seconds]
orien has quit [Quit: Computer has gone to sleep.]
vpretzel has quit [Read error: Connection reset by peer]
vpretzel has joined #ruby
g0bl1n has quit [Quit: g0bl1n]
sambao21 has quit [Read error: Operation timed out]
Guest43791 is now known as diegoviola
kitak has quit [Read error: Connection reset by peer]
kitak has joined #ruby
Jetchisel has joined #ruby
maletor has joined #ruby
vpretzel_ has joined #ruby
raphaelivan1 has joined #ruby
r0bby_ has joined #ruby
raphaelivan1 has quit [Remote host closed the connection]
jkline has quit [Quit: jkline]
vpretzel has quit [Ping timeout: 272 seconds]
danshultz has quit [Remote host closed the connection]
alekst has quit [Quit: Computer has gone to sleep.]
danshultz has joined #ruby
ffranz has quit [Ping timeout: 245 seconds]
rorra has quit [Quit: rorra]
rorra has joined #ruby
rorra has quit [Client Quit]
vlad_starkov has joined #ruby
danshultz has quit [Ping timeout: 272 seconds]
i_s has quit [Remote host closed the connection]
gmas has joined #ruby
i_s has joined #ruby
vlad_starkov has quit [Ping timeout: 246 seconds]
raphaelivan1 has joined #ruby
maletor has quit [Quit: Computer has gone to sleep.]
|PiP| has quit [Read error: Connection reset by peer]
eli has joined #ruby
iamjarvo has joined #ruby
i_s has quit [Ping timeout: 272 seconds]
astrobunny has quit [Read error: Connection reset by peer]
astrobunny has joined #ruby
teapop has quit [Remote host closed the connection]
freerobby has joined #ruby
DanKnox is now known as DanKnox_away
joshwines_ has quit [Remote host closed the connection]
joshwines_ has joined #ruby
dhruvasagar has quit [Ping timeout: 272 seconds]
asteros has joined #ruby
asteros has quit [Client Quit]
rjhunter has joined #ruby
reugen has quit [Quit: leaving]
tylersmith has joined #ruby
tylersmith has quit [Remote host closed the connection]
astrobunny has quit [Ping timeout: 272 seconds]
tylersmith has joined #ruby
dhruvasagar has joined #ruby
Norrin has quit [Ping timeout: 264 seconds]
yellow5 has quit [Ping timeout: 272 seconds]
funburn has quit [Ping timeout: 272 seconds]
yellow5 has joined #ruby
astrobunny has joined #ruby
cads has joined #ruby
bradhe has quit [Remote host closed the connection]
bradhe has joined #ruby
Norrin has joined #ruby
kil0byte has quit [Remote host closed the connection]
freerobby has quit [Quit: Leaving.]
nisstyre has quit [Ping timeout: 252 seconds]
raphaelivan1 has quit [Remote host closed the connection]
havenwood has quit [Remote host closed the connection]
bradhe has quit [Ping timeout: 260 seconds]
polaco is now known as polaco_zZz
diegoviola has quit [Ping timeout: 272 seconds]
duggiefresh has quit [Ping timeout: 272 seconds]
iamjarvo has quit [Remote host closed the connection]
iamjarvo has joined #ruby
ebobby has quit [Quit: leaving]
raphaelivan1 has joined #ruby
vpretzel_ has quit [Remote host closed the connection]
coderhs has quit [Ping timeout: 245 seconds]
iamjarvo has quit [Ping timeout: 272 seconds]
kitak has quit [Read error: Connection reset by peer]
kitak has joined #ruby
mityaz has quit [Quit: See ya!]
ehc has quit [Quit: ehc]
nisstyre has joined #ruby
narcan has joined #ruby
mayorga has quit [Ping timeout: 265 seconds]
axl_ has joined #ruby
axl_ has quit [Client Quit]
blischalk has quit [Ping timeout: 245 seconds]
coderhs has joined #ruby
beilabs has quit [Ping timeout: 245 seconds]
orien has joined #ruby
mmitchell has quit [Remote host closed the connection]
beilabs has joined #ruby
mmitchell has joined #ruby
xxpor has joined #ruby
sam113101 is now known as sam113101_afk
sam113101_afk is now known as sam113101
swordsmanz has quit [Quit: swordsmanz]
jonahR has left #ruby [#ruby]
pragmatism has joined #ruby
mmitchell has quit [Ping timeout: 252 seconds]
kreeves has quit [Ping timeout: 272 seconds]
rezzack has joined #ruby
clov3r has quit [Remote host closed the connection]
ewnd9 has joined #ruby
endash has quit [Quit: endash]
clov3r has joined #ruby
clov3r has quit [Read error: Connection reset by peer]
clov3r has joined #ruby
kofno has quit [Ping timeout: 245 seconds]
mercwithamouth has quit [Ping timeout: 272 seconds]
vlad_starkov has joined #ruby
orien has quit [Quit: Computer has gone to sleep.]
narcan has quit [Quit: -[AppDelegate installMalware]: unrecognized selector sent to instance 0x156109c0]
jaimef has quit [Excess Flood]
ssvo has joined #ruby
r0bby_ is now known as robbyoconnor
vlad_starkov has quit [Ping timeout: 245 seconds]
narcan has joined #ruby
astrobunny has quit [Ping timeout: 260 seconds]
burlyscudd has joined #ruby
julweber has joined #ruby
rjhunter has quit [Remote host closed the connection]
ryanRT has quit [Ping timeout: 268 seconds]
DanKnox_away is now known as DanKnox
rjhunter has joined #ruby
jaimef has joined #ruby
bradhe has joined #ruby
astrobunny has joined #ruby
tjad has joined #ruby
julweber has quit [Ping timeout: 245 seconds]
rjhunter has quit [Ping timeout: 265 seconds]
sam113101 is now known as sam113101_afk
Monie has joined #ruby
gja has joined #ruby
sam113101_afk is now known as sam113101
burlyscudd has quit [Ping timeout: 272 seconds]
bean__ has joined #ruby
bean__ has quit [Client Quit]
ChronocityLC has quit [Ping timeout: 252 seconds]
kakashiAL has quit [Ping timeout: 246 seconds]
osvico has quit [Ping timeout: 272 seconds]
Mars` has joined #ruby
bradhe has quit [Remote host closed the connection]
bradhe has joined #ruby
aagdbl has joined #ruby
sam113101 is now known as sam113101_afk
funburn has joined #ruby
b1nd__ has joined #ruby
ehc has joined #ruby
sam113101_afk is now known as sam113101
Spami has quit [Quit: This computer has gone to sleep]
timonv has joined #ruby
tharindu has joined #ruby
bradhe has quit [Ping timeout: 245 seconds]
tomzx_mac has quit [Read error: Operation timed out]
apeiros has joined #ruby
mercwithamouth has joined #ruby
timonv has quit [Remote host closed the connection]
gverri has joined #ruby
timonv has joined #ruby
vpretzel has joined #ruby
julweber has joined #ruby
sam113101 is now known as sam113101_afk
lfox has quit [Quit: ZZZzzz…]
sam113101_afk is now known as sam113101
funburn has quit [Ping timeout: 260 seconds]
timonv has quit [Ping timeout: 272 seconds]
vpretzel has quit [Ping timeout: 252 seconds]
raphaelivan1 has quit [Remote host closed the connection]
TorpedoSkyline has quit [Ping timeout: 252 seconds]
gwb3 has quit [Ping timeout: 245 seconds]
slash_nick has quit [Ping timeout: 246 seconds]
utkarsh has quit [Ping timeout: 248 seconds]
Fuzai_ has joined #ruby
brisbin has quit [Ping timeout: 264 seconds]
Todd has quit [Ping timeout: 240 seconds]
kil0byte has joined #ruby
slash_nick has joined #ruby
Macaveli_ has joined #ruby
gwb3 has joined #ruby
TorpedoSkyline has joined #ruby
Todd has joined #ruby
utkarsh has joined #ruby
Macaveli_ has quit [Remote host closed the connection]
pragmatism has quit [Quit: Peace]
funburn has joined #ruby
DrShoggoth has quit [Ping timeout: 252 seconds]
schaerli has joined #ruby
havenwood has joined #ruby
|PiP| has joined #ruby
yacks has quit [Ping timeout: 256 seconds]
zeade has joined #ruby
xargoon has quit [Ping timeout: 245 seconds]
tagrudev has joined #ruby
tharindu has quit [Quit: Leaving...]
ssmithstone has joined #ruby
gverri has quit [Quit: Textual IRC Client: www.textualapp.com]
gverri has joined #ruby
zoee has joined #ruby
clov3r has quit [Remote host closed the connection]
clov3r has joined #ruby
clov3r has quit [Read error: Connection reset by peer]
krz has joined #ruby
xargoon has joined #ruby
schaerli has quit [Remote host closed the connection]
schaerli has joined #ruby
gja has quit [Quit: This computer has gone to sleep]
krz has quit [Read error: Connection reset by peer]
maletor has joined #ruby
mmitchell has joined #ruby
Spami has joined #ruby
b1nd__ has quit [Ping timeout: 260 seconds]
schaerli has quit [Ping timeout: 265 seconds]
vlad_starkov has joined #ruby
Spami has quit [Client Quit]
b1nd__ has joined #ruby
havenwood has quit [Remote host closed the connection]
Spami has joined #ruby
sbos99 has joined #ruby
tharindu has joined #ruby
wallerdev has joined #ruby
Coolhand has quit [Ping timeout: 268 seconds]
mmitchell has quit [Ping timeout: 272 seconds]
zeade has quit [Quit: Leaving.]
zeade has joined #ruby
vlad_starkov has quit [Ping timeout: 252 seconds]
Coolhand has joined #ruby
codenapper has joined #ruby
Monie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
julweber has quit [Remote host closed the connection]
julweber has joined #ruby
joshAnderson99 has joined #ruby
<joshAnderson99> when using FileUtils.cp, dose it automatically create the destination directory, or does it need to have been created first with mkdir?
<joshAnderson99> assume needs to be created but not clarified in docs
MisutoWolf has quit [Quit: WeeChat 0.4.1]
raphaelivan has joined #ruby
ssmithstone has quit [Ping timeout: 272 seconds]
julweber has quit [Ping timeout: 246 seconds]
havenwood has joined #ruby
julweber has joined #ruby
<joshAnderson99> resolved
ewnd9 has quit [Ping timeout: 272 seconds]
dhruvasagar has quit [Ping timeout: 272 seconds]
raphaelivan has quit [Remote host closed the connection]
bradhe has joined #ruby
apeiros has quit [Remote host closed the connection]
bradhe has quit [Read error: Connection reset by peer]
dhruvasagar has joined #ruby
apeiros has joined #ruby
bradhe has joined #ruby
aganov has joined #ruby
RelAjO has joined #ruby
codeFiend has joined #ruby
DrShoggoth has joined #ruby
apeiros has quit [Ping timeout: 272 seconds]
ehc has quit [Quit: ehc]
rezzack has quit [Quit: Leaving.]
havenwood has quit [Remote host closed the connection]
io_syl has joined #ruby
gja has joined #ruby
bradhe has quit [Remote host closed the connection]
vlad_starkov has joined #ruby
tharindu has quit [Quit: Leaving...]
claymore has joined #ruby
bradhe has joined #ruby
ioNull has quit [Ping timeout: 272 seconds]
AlSquire has joined #ruby
dash_ has joined #ruby
frustrum has quit [Ping timeout: 245 seconds]
ioNull has joined #ruby
sam113101 is now known as sam113101_afk
sam113101_afk is now known as sam113101
bradhe has quit [Ping timeout: 272 seconds]
vlad_starkov has quit [Remote host closed the connection]
raphaelivan has joined #ruby
raphaelivan has quit [Remote host closed the connection]
Elhu has joined #ruby
eightygrit has quit [Quit: eightygrit]
Elhu has quit [Client Quit]
raphaelivan has joined #ruby
saimaz has joined #ruby
WillAmes has quit [Remote host closed the connection]
SHyx0rmZ has joined #ruby
Mon_Ouie has quit [Ping timeout: 272 seconds]
WillAmes has joined #ruby
Elhu has joined #ruby
ahawkins has joined #ruby
Monie has joined #ruby
rezzack has joined #ruby
Elhu has quit [Client Quit]
burlyscudd has joined #ruby
saimaz has quit [Remote host closed the connection]
raphaelivan has quit [Remote host closed the connection]
saimaz has joined #ruby
jonahR has joined #ruby
habanany has joined #ruby
Monie has quit [Ping timeout: 246 seconds]
krz has joined #ruby
krz has quit [Changing host]
krz has joined #ruby
zeade has quit [Quit: Leaving.]
funburn has quit [Quit: funburn]
zeade has joined #ruby
burlyscudd has quit [Ping timeout: 272 seconds]
saimaz has quit [Ping timeout: 252 seconds]
lewis has quit [Remote host closed the connection]
lewis has joined #ruby
gr33n7007h has joined #ruby
saimaz has joined #ruby
dzhulk has joined #ruby
larissa has quit [Quit: Leaving]
orien has joined #ruby
maletor has quit [Quit: Computer has gone to sleep.]
thesheff17 has quit [Ping timeout: 272 seconds]
lewis has quit [Ping timeout: 272 seconds]
ewnd9 has joined #ruby
fgo has joined #ruby
claymore has quit [Ping timeout: 252 seconds]
ahawkins has quit [Ping timeout: 250 seconds]
habanany has quit [Remote host closed the connection]
tharindu has joined #ruby
dagobah has joined #ruby
lsmola has joined #ruby
ssmithstone has joined #ruby
orien has quit [Quit: Computer has gone to sleep.]
zz_michael_mbp is now known as michael_mbp
AlSquire has quit [Quit: This computer has gone to sleep]
pyrac has joined #ruby
robertjpayne has joined #ruby
zeade has quit [Quit: Leaving.]
jalcine_ is now known as jalcine
clov3r has joined #ruby
orien has joined #ruby
schaerli has joined #ruby
jprovazn has joined #ruby
amritanshu_RnD has joined #ruby
clov3r has quit [Read error: Connection reset by peer]
wallerdev has quit [Quit: wallerdev]
Xeago has joined #ruby
mrsolo has quit [Quit: This computer has gone to sleep]
Shidash has joined #ruby
b1nd__ has quit [Ping timeout: 252 seconds]
kmckelvin has quit [Ping timeout: 265 seconds]
tjad has quit [Read error: Operation timed out]
orien has quit [Client Quit]
Jdubs has quit [Remote host closed the connection]
peterhu has quit [Ping timeout: 272 seconds]
alexju has quit [Remote host closed the connection]
blaxter has joined #ruby
gstamp has quit [Ping timeout: 256 seconds]
Jdubs has joined #ruby
alexju has joined #ruby
Jdubs has quit [Read error: Connection reset by peer]
Jdubs has joined #ruby
gstamp has joined #ruby
orien has joined #ruby
peterhu has joined #ruby
noop has joined #ruby
noop is now known as noopq
dhruvasagar has quit [Ping timeout: 252 seconds]
saimaz has quit [Remote host closed the connection]
adambeynon has joined #ruby
saimaz has joined #ruby
alexju has quit [Ping timeout: 265 seconds]
dhruvasagar has joined #ruby
gr33n7007h has quit [Remote host closed the connection]
bradhe has joined #ruby
JohnBat26 has joined #ruby
ssvo has quit [Ping timeout: 245 seconds]
soba_ has joined #ruby
soba has quit [Ping timeout: 272 seconds]
justsee has quit [Ping timeout: 272 seconds]
saimaz has quit [Remote host closed the connection]
jbpros has joined #ruby
saimaz has joined #ruby
adambeynon has quit [Quit: Textual IRC Client: www.textualapp.com]
sr78ger has joined #ruby
spacebug has joined #ruby
aef_ has quit [Ping timeout: 245 seconds]
kaspergrubbe has joined #ruby
astrobunny has quit [Ping timeout: 272 seconds]
io_syl has quit []
gja has quit [Quit: This computer has gone to sleep]
pranny has joined #ruby
Nahra has quit [Ping timeout: 245 seconds]
ZadYree has quit [Ping timeout: 245 seconds]
contradictioned_ has joined #ruby
keee has quit [Ping timeout: 256 seconds]
jbpros has quit [Read error: Connection reset by peer]
spacebug_ has quit [Ping timeout: 260 seconds]
z has quit [Ping timeout: 256 seconds]
contradictioned has quit [Ping timeout: 256 seconds]
aef has joined #ruby
kaspergrubbe has quit [Remote host closed the connection]
Nahra has joined #ruby
z has joined #ruby
ZadYree has joined #ruby
bradhe has quit [Ping timeout: 252 seconds]
sr78ger has quit [Client Quit]
keee has joined #ruby
dangerousdave has joined #ruby
soba has joined #ruby
tobago has joined #ruby
astrobunny has joined #ruby
threesome has joined #ruby
rahulkmr has joined #ruby
AxonetBE has joined #ruby
sr78ger has joined #ruby
kaspergrubbe has joined #ruby
chxane has left #ruby ["Leaving"]
soba_ has quit [Ping timeout: 272 seconds]
RelAjO has quit [Remote host closed the connection]
saimaz has quit [Remote host closed the connection]
saimaz has joined #ruby
skaflem has joined #ruby
ssmithstone has quit [Ping timeout: 246 seconds]
kaspergrubbe has quit [Remote host closed the connection]
|PiP| has quit [Ping timeout: 246 seconds]
narcan has quit [Quit: -[AppDelegate installMalware]: unrecognized selector sent to instance 0x156109c0]
gja has joined #ruby
gja has quit [Remote host closed the connection]
|PiP| has joined #ruby
sayan has joined #ruby
saimaz has quit [Ping timeout: 252 seconds]
tjad has joined #ruby
kaspergrubbe has joined #ruby
madb055 has quit [Ping timeout: 272 seconds]
tharindu has quit [Quit: Leaving...]
ewnd9 has quit [Remote host closed the connection]
ephemerian has joined #ruby
dhruvasagar has quit [Read error: Operation timed out]
jhaals has joined #ruby
brisbin has joined #ruby
burlyscudd has joined #ruby
gmas has quit [Read error: Operation timed out]
|PiP| has quit [Ping timeout: 272 seconds]
jhaals_ has joined #ruby
dhruvasagar has joined #ruby
gyzmodo has joined #ruby
tesuji has joined #ruby
jhaals has quit [Ping timeout: 246 seconds]
saimaz has joined #ruby
vlad_starkov has joined #ruby
kil0byte has quit [Ping timeout: 260 seconds]
orien has quit [Quit: Computer has gone to sleep.]
Xeago has quit [Remote host closed the connection]
devoldmx has joined #ruby
burlyscudd has quit [Ping timeout: 246 seconds]
h_kon has joined #ruby
rezzack has quit [Quit: Leaving.]
kil0byte has joined #ruby
saimaz has quit [Remote host closed the connection]
saimaz has joined #ruby
dhruvasagar has quit [Read error: Connection reset by peer]
gverri has quit [Quit: Textual IRC Client: www.textualapp.com]
vlad_starkov has quit [Remote host closed the connection]
ewnd9 has joined #ruby
soba has quit [Ping timeout: 252 seconds]
Xeago has joined #ruby
vpretzel has joined #ruby
ssvo has joined #ruby
postmodern has quit [Quit: Leaving]
Naoe-Kanno has joined #ruby
dhruvasagar has joined #ruby
Xeago has quit [Read error: Connection reset by peer]
<weeb1e> Anyone here ever used Mongoid with fibers? I am trying to figure out how to make it reuse sessions and not make a new one (and connection) for every query
saimaz has quit [Ping timeout: 272 seconds]
SHyx0rmZ has quit [Ping timeout: 245 seconds]
ioNull has quit [Ping timeout: 265 seconds]
ahawkins has joined #ruby
vpretzel has quit [Ping timeout: 260 seconds]
monkegjinni has joined #ruby
tatsuya_o has joined #ruby
Kar- has joined #ruby
avril14th has quit [Remote host closed the connection]
mrsolo has joined #ruby
ioNull has joined #ruby
fschuindt has quit [Quit: Textual IRC Client: www.textualapp.com]
ewnd9 has quit [Remote host closed the connection]
alup has joined #ruby
ericmathison has quit [Ping timeout: 272 seconds]
<shevy> joshAnderson99 unfortunately you must do so manually and create it
<joshAnderson99> as discovered. ta
<shevy> joshAnderson99 there exists FileUtils.mkdir_p() though which is a bit more convenient for creating dirs... and there is .cp_r() too I think, which is equivalent to cp -r
<joshAnderson99> some nice options there i will have to explore
b1nd_ has joined #ruby
nerdman has joined #ruby
Naoe-Kanno has quit [Quit: ネウロイを負かさなきゃならないね]
ahawkins_ has joined #ruby
ahawkins has quit [Disconnected by services]
ahawkins_ is now known as ahawkins
<shevy> offline topic, but semi-related to ruby... since I need a new editor eventually
<shevy> can I load files from the commandline into sublime editor?
coderhs has quit [Quit: Leaving]
schaerli has quit [Remote host closed the connection]
troessner has joined #ruby
schaerli has joined #ruby
soba has joined #ruby
colonolGron has joined #ruby
<s3itz> ln -s "/Applications/Sublime Text 2.app/Contents/SharedSupport/bin/subl" ~/bin/subl or similar for your environment
<shevy> aha, ok, that should then solve one thing, thanks s3itz
schaerli has quit [Ping timeout: 245 seconds]
b1nd_ has quit [Quit: Leaving]
ioNull has quit [Ping timeout: 245 seconds]
b1nd_ has joined #ruby
xefi_ has quit [Ping timeout: 245 seconds]
ioNull has joined #ruby
<s3itz> np
s3itz has quit [Quit: g'nite]
peterhu has quit [Ping timeout: 245 seconds]
b1nd_ is now known as all
bradhe has joined #ruby
all is now known as b1nd_
lkba has quit [Read error: Connection reset by peer]
khushildep has quit [Quit: khushildep]
kmckelvin has joined #ruby
joonty_ has joined #ruby
samuel02 has joined #ruby
joonty_ has quit [Client Quit]
khushildep has joined #ruby
joonty has quit [Ping timeout: 268 seconds]
joonty_ has joined #ruby
timonv has joined #ruby
relix has joined #ruby
bradhe has quit [Ping timeout: 272 seconds]
jb41 has joined #ruby
Mars` has quit [Remote host closed the connection]
Mars` has joined #ruby
camilasan has joined #ruby
ranyip has joined #ruby
joonty_ is now known as joonty
lurch_ has joined #ruby
timonv_ has joined #ruby
kmckelvin has quit [Read error: Connection reset by peer]
ranyip has quit [Remote host closed the connection]
Mars` has quit [Ping timeout: 272 seconds]
Mattias has quit [Ping timeout: 268 seconds]
timonv has quit [Ping timeout: 252 seconds]
joshAnderson99 has quit [Quit: Leaving]
astrobunny has quit [Ping timeout: 265 seconds]
ioNull has quit [Ping timeout: 246 seconds]
saimaz has joined #ruby
tesuji has quit [Read error: Connection reset by peer]
saimaz has quit [Read error: Operation timed out]
adambeynon has joined #ruby
tesuji has joined #ruby
cads has quit [Quit: Leaving]
ioNull has joined #ruby
astrobunny has joined #ruby
ranyip_ has joined #ruby
SilverKey has quit [Ping timeout: 246 seconds]
g0bl1n has joined #ruby
Ripp__ has quit []
Jdubs has quit [Remote host closed the connection]
tharindu has joined #ruby
Emmanuel_Chanel has quit [Read error: No route to host]
h_kon has quit [Remote host closed the connection]
pranny1 has joined #ruby
h_kon has joined #ruby
jonahR has quit [Quit: jonahR]
TMM has joined #ruby
<TMM> d
<TMM> whoops
<TMM> stray key and enter, my apologies!
mrsolo has quit [Quit: This computer has gone to sleep]
Xeago has joined #ruby
Xeago has quit [Remote host closed the connection]
tharindu has quit [Ping timeout: 265 seconds]
tango_ has joined #ruby
pranny has quit [Ping timeout: 272 seconds]
narcan has joined #ruby
amacgregor__ has quit [Ping timeout: 246 seconds]
h_kon has quit [Ping timeout: 272 seconds]
burlyscudd has joined #ruby
burlyscudd has quit [Changing host]
burlyscudd has joined #ruby
<tango_> hello. using 1.9.3p448 (debian unstable official package). I have a question about ARGF. I would like to process each line passed from the cli, skipping those that do no match some condition. so my first idea was to use ARGF.each_line { |line| ARGF.skip unless line.match(something) }, assuming this would skip to the next file. instead, I get an IOError because of closed stream. is it some incompatibility between each_line and skip or am I doing something
<tango_> wrong?
gja has joined #ruby
Emmanuel_Chanel has joined #ruby
timonv_ has quit [Remote host closed the connection]
buibex has joined #ruby
<canton7> you never told it to stop looping over lines in the first file in ARGF? I suspect that's probably your problem
niklasb has joined #ruby
Xeago has joined #ruby
<canton7> you're aware that ARGF.skip skips to the next *file*, not the next line?
ShellFu_afk has quit [Ping timeout: 245 seconds]
denysonique has quit [Ping timeout: 245 seconds]
<tango_> canton7: yeah, I want to skip to the next _file_ when the current file has a line that does not meet a certain criteria
carraroj has joined #ruby
moeSeth has quit [Ping timeout: 245 seconds]
Zespre has quit [Ping timeout: 245 seconds]
sensen has joined #ruby
<tango_> so I'm processing files line-by-line, and as soon as I come across a line that does not meet a certain criteria it should switch to the next file, that's the logic
mostlybadfly has quit [Ping timeout: 245 seconds]
<canton7> tango_, cool. yeah there's no way that #each_line knows to magically start again
mroth has quit [Ping timeout: 245 seconds]
pkondzior___ has quit [Ping timeout: 264 seconds]
pipework has quit [Ping timeout: 245 seconds]
Domon_ has quit [Ping timeout: 245 seconds]
ranyip_ has quit [Read error: Connection reset by peer]
vlad_starkov has joined #ruby
Hanmac has joined #ruby
fourqqq has quit [Ping timeout: 245 seconds]
<tango_> well, each_line in ARGF goes through all the files, so I would expect it to get the first line of the next file as 'next line' after a skip
niftylettuce has quit [Ping timeout: 245 seconds]
octarine has quit [Ping timeout: 245 seconds]
guilleiguaran_ has quit [Ping timeout: 245 seconds]
geoffw8_ has quit [Ping timeout: 245 seconds]
<tango_> at least, that's what I expected
nism-pi has joined #ruby
bwwrd has joined #ruby
burlyscudd has quit [Ping timeout: 255 seconds]
<canton7> it's like saying a = [1, 2]; b = [3, 4]; current = a; current.each{ .... current = b } I guess. You don't actually change what you're iterating over
<canton7> and anyway, looking at it, ARGF#each_line iterates over each line in *all files* anyway
<canton7> not just the first file?
Norrin has quit [Ping timeout: 260 seconds]
mjc_ has quit [Quit: No Ping reply in 180 seconds.]
mjc_ has joined #ruby
<tango_> canton7: specifically because each_line iterates over the lines of all files I was expecting the skip to allow it to skip to the next file within the loop
<tango_> but it seems it doesn't work that way. meh
<bwwrd> hey peeps, I can't figure out how to do this! I need to group my array of objects into batches of 3 or less (because the last batch may not make a total of 3). e.g. [1,2,3,4,5,6,7,8] => [[1,2,3], [4,5,6], [7,8]]
<canton7> I think you're expecting way too much magic
workmad3 has joined #ruby
<canton7> a general rule of thumb in any language: don't alter something as you're iterating over it
<tango_> bwwrd: Array#partition ?
noopq has quit [Ping timeout: 272 seconds]
Martinez has quit [Ping timeout: 260 seconds]
<bwwrd> ok, thanks i'll take a look
<tango_> canton7: yeah, I'm just used to ruby usually doing what i mean 8-D
h_kon has joined #ruby
vlad_starkov has quit [Ping timeout: 245 seconds]
Martinez has joined #ruby
<tango_> bwwrd: ah, no sorry
<tango_> it's not partition
<canton7> >> [1, 2, 3, 4, 5, 6, 7, 8].each_slice(3).to_a
<eval-in> canton7 => [[1, 2, 3], [4, 5, 6], [7, 8]] (https://eval.in/55308)
<bwwrd> ah yes
Mars` has joined #ruby
<bwwrd> thank you!
Norrin has joined #ruby
<canton7> in general, if you're after a method to do something funky with an array, read through http://ruby-doc.org/core-2.0.0/Enumerable.html
<canton7> (you should really know the gist of that list by heart, anyway)
havv has joined #ruby
astrobunny has quit [Ping timeout: 272 seconds]
colonolGron has quit [Quit: Lost terminal]
peterhu has joined #ruby
rdark has joined #ruby
<jrobeson> bwwrd, for this rails uses something called in_groups_of.. you could look at the code for that.
<bwwrd> thanks
<jrobeson> with the 2nd parameter set to false
admin0 has joined #ruby
tharindu has joined #ruby
maoko has joined #ruby
_bart has joined #ruby
astrobunny has joined #ruby
<jrobeson> i didn't realize travis-ci had a mascot now
Deele has joined #ruby
zarubin has joined #ruby
gsgdgdfgddfg has joined #ruby
tango_ has left #ruby [#ruby]
Xeago_ has joined #ruby
blackmesa has joined #ruby
maoko has quit [Client Quit]
Xeago_ has quit [Remote host closed the connection]
noopq has joined #ruby
Stygia has joined #ruby
astrobunny has quit [Ping timeout: 252 seconds]
kevinykchan has quit [Quit: Computer has gone to sleep.]
ShinySides has joined #ruby
gsgdgdfgddfg has quit [Remote host closed the connection]
kevinykchan has joined #ruby
havv has quit [Quit: Page closed]
ewnd9 has joined #ruby
<shevy> what is the mascot
<shevy> a pig?
<shevy> called travis
nari has quit [Ping timeout: 245 seconds]
bradhe has joined #ruby
Monie has joined #ruby
astrobunny has joined #ruby
nomenkun has joined #ruby
b1nd_ has quit [Ping timeout: 265 seconds]
timonv has joined #ruby
Kar- has quit [Ping timeout: 252 seconds]
<jrobeson> down at hte bottom
<jrobeson> of the past and page actually..
rahulkmr has quit [Ping timeout: 246 seconds]
<shevy> looks like super mario bros when he was younger
Monie has quit [Ping timeout: 246 seconds]
<jrobeson> the color is different, the mustache shape is different, and the hat is different
gyzmodo has quit [Ping timeout: 272 seconds]
<jrobeson> oh.. and mario didn't have googles
bradhe has quit [Ping timeout: 272 seconds]
<jrobeson> oh wait.. depends on how far back your'e going :)
<jrobeson> he might have had a hardhat in the very first appearance in donkey kong..
ghr has quit [Quit: Textual IRC Client: www.textualapp.com]
xjiujiu has quit [Read error: Connection reset by peer]
<shevy> lol
carraroj has quit [Quit: Konversation terminated!]
carraroj has joined #ruby
<shevy> to read a history of mario here is priceless :D
ghr has joined #ruby
rahulkmr has joined #ruby
xjiujiu has joined #ruby
Monie has joined #ruby
lkba has joined #ruby
Aryasam has joined #ruby
rahulkmr has quit [Read error: Connection reset by peer]
justsee has joined #ruby
rahulkmr has joined #ruby
jibi has joined #ruby
Bry8Star{T2 has quit [Ping timeout: 240 seconds]
sevenseacat has quit [Quit: Leaving.]
Monie has quit [Ping timeout: 272 seconds]
carraroj has quit [Ping timeout: 245 seconds]
Monie has joined #ruby
lewis has joined #ruby
lewis has quit [Read error: Connection reset by peer]
filipe_ has joined #ruby
lewis has joined #ruby
klaut has joined #ruby
rahulkmr has quit [Ping timeout: 246 seconds]
filipe_ has quit [Client Quit]
Mars` has quit [Remote host closed the connection]
peterhu has quit [Ping timeout: 265 seconds]
Mars` has joined #ruby
Aryasam has quit [Ping timeout: 272 seconds]
barratt has joined #ruby
lewis has quit [Ping timeout: 272 seconds]
elaptics`away is now known as elaptics
bricker`LA has quit [Ping timeout: 268 seconds]
Monie has quit [Ping timeout: 246 seconds]
sayan has quit [Ping timeout: 272 seconds]
kevinykchan has quit [Quit: Computer has gone to sleep.]
decoponio has joined #ruby
Aryasam has joined #ruby
<Xeago> test
Mars` has quit [Ping timeout: 246 seconds]
<workmad3> Xeago: test failed
<workmad3> Xeago: please recompile your kernel from source and try again
kizzx2 has joined #ruby
Kar- has joined #ruby
bricker`LA has joined #ruby
Domon has quit [Remote host closed the connection]
narcan has quit [Quit: -[AppDelegate installMalware]: unrecognized selector sent to instance 0x156109c0]
Aryasam has quit [Ping timeout: 272 seconds]
Domon has joined #ruby
aagdbl1 has joined #ruby
monkegjinni has quit [Remote host closed the connection]
aagdbl has quit [Ping timeout: 252 seconds]
monkegjinni has joined #ruby
carraroj has joined #ruby
tharindu is now known as tharindu|away
rahulkmr has joined #ruby
maz-dev has joined #ruby
lsmola has quit [Ping timeout: 272 seconds]
sensen has quit [Ping timeout: 272 seconds]
khushildep has quit [Ping timeout: 252 seconds]
Domon has quit [Read error: Connection reset by peer]
heftig has quit [Quit: Quitting]
vpretzel has joined #ruby
astrobunny has quit [Ping timeout: 272 seconds]
sensen has joined #ruby
nism-pi1 has joined #ruby
monkegjinni has quit [Ping timeout: 272 seconds]
mvangala has quit [Read error: Operation timed out]
sayan has joined #ruby
justsee has quit [Ping timeout: 272 seconds]
nism-pi1 has quit [Read error: Connection reset by peer]
mvangala has joined #ruby
nism-pi has quit [Ping timeout: 252 seconds]
kil0byte has quit [Remote host closed the connection]
vpretzel has quit [Ping timeout: 272 seconds]
astrobunny has joined #ruby
scarolan has quit [Read error: Connection reset by peer]
scarolan_ has joined #ruby
banisterfiend has joined #ruby
yourmysin has joined #ruby
jhaals_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jhaals has joined #ruby
Domon has joined #ruby
stayarrr has joined #ruby
forced_request has quit [Ping timeout: 265 seconds]
havenwood has joined #ruby
pyrac has quit [Quit: pyrac]
Davey has quit [Quit: Computer has gone to sleep.]
xjiujiu has quit [Read error: Connection reset by peer]
arussel has joined #ruby
<arussel> Hi, I'm sending a command line to bash using "sed -i 's/foo(.*)/bar \1/' t.txt
h_kon has quit [Remote host closed the connection]
xjiujiu has joined #ruby
<arussel> this work on the commmand line, but when using a ruby string to do it, the \1 becomes \001 so not matching anything anymore. Any idea why ?
joshwines_ has quit [Remote host closed the connection]
<hoelzro> hmm
<hoelzro> >> puts "\1"
<eval-in> hoelzro =>  ... (https://eval.in/55309)
<hoelzro> interesting
<hoelzro> arussel: ^ that's why
_JamieD_ has joined #ruby
<hoelzro> I would avoid "..."
<hoelzro> or, don't shell out to sed
<hoelzro> do what it's doing in Ruby
_bart has quit [Remote host closed the connection]
<arussel> >> puts "\\1"
<eval-in> arussel => \1 ... (https://eval.in/55310)
<arussel> hoelzro: thanks
<hoelzro> or you could escape the \1.
<arussel> hoelzro: you're definitely right about writing it in ruby
astrobunny has quit [Ping timeout: 260 seconds]
<arussel> can't I tell my multiline string not to extrapolate ?
havenwood has quit [Remote host closed the connection]
<hoelzro> yeah
<hoelzro> don't use ""
<hoelzro> and I think you mean "interpolate" ;)
<arussel> :-)
DanKnox is now known as DanKnox_away
allsystemsarego has joined #ruby
triptec has joined #ruby
<triptec> hello
niklasb has quit [Ping timeout: 272 seconds]
<triptec> I've made a weather api gem and I'm wondering if I should have code in the gem to help with testing
<hoelzro> ahoy
<triptec> as in being able to configure the gem to be in testing mode or somehting like that
<hoelzro> hmm
jlebrech has joined #ruby
<hoelzro> I myself prefer to avoid that kind of thing
<hoelzro> because then you're not testing the code that will be running in the real world
<triptec> yeah it doesn't sit really well with me
shevy has quit [Ping timeout: 272 seconds]
niklasb has joined #ruby
aryaching has joined #ruby
<triptec> but I don't know how to do it, I'm testing the rails app using it and I'm wondering if I then should wrap the in some class in the rails app that I can mock
<triptec> but that doesnt sit really good either
astrobunny has joined #ruby
carraroj has quit [Read error: Operation timed out]
<triptec> well I have test that test the gem in the gem repo so the gem ist tested
blackmesa has quit [Ping timeout: 240 seconds]
<triptec> and I think I'd like to mock the gem in the host app
<triptec> but I don't know how to do it
plotter has quit [Read error: Operation timed out]
saimaz has joined #ruby
yfeldblum has joined #ruby
bradhe has joined #ruby
einarj has joined #ruby
maroloccio has quit [Ping timeout: 260 seconds]
v9r has quit [Ping timeout: 248 seconds]
zaargy has joined #ruby
mklappstuhl has joined #ruby
bradhe has quit [Ping timeout: 246 seconds]
saimaz has quit [Remote host closed the connection]
tharindu|away is now known as tharindu
maroloccio has joined #ruby
jhaals has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
astrobunny has quit [Ping timeout: 245 seconds]
shevy has joined #ruby
jibi has quit [Read error: Operation timed out]
v9r has joined #ruby
mikecmpbll has joined #ruby
astrobunny has joined #ruby
ehaliewicz has quit [Remote host closed the connection]
ehaliewicz has joined #ruby
peterhu has joined #ruby
_bart has joined #ruby
pedda has joined #ruby
heftig has joined #ruby
jibi has joined #ruby
peterhu has quit [Ping timeout: 265 seconds]
astrobunny has quit [Ping timeout: 246 seconds]
Kar- has quit [Ping timeout: 252 seconds]
jrhe has joined #ruby
Bry8Star{T2 has joined #ruby
maz-dev has quit [Write error: Broken pipe]
mercwithamouth has quit [Ping timeout: 252 seconds]
kizzx2 has quit [Quit: Leaving.]
mercwithamouth has joined #ruby
astrobunny has joined #ruby
robertjpayne has quit [Remote host closed the connection]
h_kon has joined #ruby
nerdman has quit [Quit: leaving]
schaerli has joined #ruby
v9r has quit [Ping timeout: 252 seconds]
_bart has quit [Remote host closed the connection]
Zespre has joined #ruby
mroth has joined #ruby
fourqqq has joined #ruby
camilasan has quit [Remote host closed the connection]
pkondzior___ has joined #ruby
jalcine is now known as jalcine_
camilasan has joined #ruby
burlyscudd has joined #ruby
camilasan has quit [Read error: Connection reset by peer]
camilasan has joined #ruby
tspike has joined #ruby
mostlybadfly has joined #ruby
ismlages has joined #ruby
moeSeth has joined #ruby
kitak has quit [Remote host closed the connection]
camilasan has quit [Remote host closed the connection]
camilasan has joined #ruby
denysonique has joined #ruby
geoffw8_ has joined #ruby
Domon_ has joined #ruby
guilleiguaran_ has joined #ruby
octarine has joined #ruby
pipework has joined #ruby
niftylettuce has joined #ruby
v9r has joined #ruby
burlyscudd has quit [Ping timeout: 265 seconds]
kaspergrubbe has quit [Remote host closed the connection]
noopq has quit [Ping timeout: 260 seconds]
jibi has quit [Quit: .]
ehaliewicz has quit [Ping timeout: 265 seconds]
t_p has quit [Quit: Computer has gone to sleep.]
tspike has quit [Remote host closed the connection]
zoee has quit [Ping timeout: 252 seconds]
tspike has joined #ruby
sepp2k has joined #ruby
rahulkmr has quit [Read error: Connection reset by peer]
hogeo has quit [Remote host closed the connection]
kaspergrubbe has joined #ruby
hogeo has joined #ruby
rahulkmr has joined #ruby
lembacon has quit [Remote host closed the connection]
yacks has joined #ruby
hogeo has quit [Ping timeout: 265 seconds]
aagdbl1 has quit [Quit: Leaving.]
darth_chatri has joined #ruby
hogeo has joined #ruby
_bart has joined #ruby
noopq has joined #ruby
darth_chatri has quit [Client Quit]
darth_chatri has joined #ruby
tspike has quit [Ping timeout: 272 seconds]
darth_chatri has left #ruby [#ruby]
tspike has joined #ruby
darth_chatri has joined #ruby
h_kon has quit [Remote host closed the connection]
darth_chatri has quit [Client Quit]
sevenseacat has joined #ruby
aryaching_ has joined #ruby
aagdbl has joined #ruby
<shevy> compiling compiling compiling
<shevy> when will it ever stop!
vpretzel has joined #ruby
mklappstuhl has quit [Remote host closed the connection]
tspike has quit [Ping timeout: 252 seconds]
h_kon_ has joined #ruby
aryaching has quit [Ping timeout: 272 seconds]
<sevenseacat> http://xkcd.com/303/
havenwood has joined #ruby
avril14th has joined #ruby
bradhe has joined #ruby
vpretzel has quit [Ping timeout: 240 seconds]
orien has joined #ruby
tkuchiki has quit [Remote host closed the connection]
hogeo has quit [Remote host closed the connection]
rahulkmr has quit [Ping timeout: 260 seconds]
tkuchiki has joined #ruby
hogeo has joined #ruby
bradhe has quit [Ping timeout: 272 seconds]
<shevy> but I am really compiling! :(
vlad_starkov has joined #ruby
<hoelzro> shevy: what are you compiling?
<shevy> pango, cairo and httpd
tharindu_ has joined #ruby
b1nd_ has joined #ruby
tkuchiki has quit [Ping timeout: 245 seconds]
hogeo has quit [Ping timeout: 248 seconds]
havenwood has quit [Remote host closed the connection]
dweeb_ has joined #ruby
Domon has quit [Remote host closed the connection]
tharindu has quit [Ping timeout: 265 seconds]
<_br_> If you can't get enough of it like me, switch to gentoo :D
vlad_starkov has quit [Ping timeout: 248 seconds]
arussel has left #ruby ["ERC Version 5.3 (IRC client for Emacs)"]
Hanmac has quit [Quit: Leaving.]
<shevy> hehe
peterhu has joined #ruby
vlad_starkov has joined #ruby
keeguon has joined #ruby
Hanmac has joined #ruby
jhaals has joined #ruby
_bart has quit [Remote host closed the connection]
_bart has joined #ruby
zoee has joined #ruby
apeiros has joined #ruby
DarkFoxDK has joined #ruby
_bart_ has joined #ruby
_bart has quit [Read error: Connection reset by peer]
CorpusCallosum has joined #ruby
monkegjinni has joined #ruby
mklappstuhl has joined #ruby
francky has joined #ruby
nari has joined #ruby
Giorgio has quit [Read error: Connection reset by peer]
pyrac has joined #ruby
francky has quit [Client Quit]
mercwithamouth has quit [Ping timeout: 246 seconds]
havenwood has joined #ruby
justsee has joined #ruby
Giorgio has joined #ruby
Stalkr_ has joined #ruby
sensen has quit [Ping timeout: 245 seconds]
havenwood has quit [Remote host closed the connection]
mmitchell has joined #ruby
khushildep has joined #ruby
tharindu has joined #ruby
casheew has quit [Ping timeout: 252 seconds]
mmitchell has quit [Remote host closed the connection]
vlad_starkov has quit [Remote host closed the connection]
mmitchell has joined #ruby
tharindu_ has quit [Ping timeout: 252 seconds]
threesome has quit [Read error: Connection reset by peer]
carraroj has joined #ruby
siwica has joined #ruby
rahulkmr has joined #ruby
drumsrgr8forn8 has joined #ruby
peterhu has quit [Ping timeout: 252 seconds]
danshultz has joined #ruby
casheew has joined #ruby
mmitchell has quit [Ping timeout: 272 seconds]
JohnBat26 has quit [Read error: Operation timed out]
heftig_ has joined #ruby
danshultz has quit [Remote host closed the connection]
threesome has joined #ruby
heftig has quit [Ping timeout: 260 seconds]
ioNull has quit [Quit: Computer has gone to sleep.]
tabolario has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
rahulkmr has quit [Ping timeout: 252 seconds]
atno has quit [Ping timeout: 240 seconds]
mobileblue has quit [Max SendQ exceeded]
thejoecarroll has quit [Quit: ZNC - http://znc.in]
mobileblue has joined #ruby
Biohazard has quit [Ping timeout: 245 seconds]
b1nd_ has quit [Ping timeout: 248 seconds]
svector has joined #ruby
osvico has joined #ruby
ChronocityLC has joined #ruby
bio has joined #ruby
bradhe has joined #ruby
xk_id has joined #ruby
havenwood has joined #ruby
bwwrd has quit [Quit: Textual IRC Client: www.textualapp.com]
pranny1 has quit [Quit: Leaving.]
stayarrr has quit [Quit: Leaving...]
bradhe has quit [Ping timeout: 256 seconds]
banisterfiend has quit [Quit: Computer has gone to sleep.]
nari has quit [Ping timeout: 248 seconds]
tharindu has quit [Quit: Leaving...]
jonathanwallace has joined #ruby
tharindu has joined #ruby
_JamieD_ has quit [Quit: _JamieD_]
[z`a`p] has left #ruby [#ruby]
banisterfiend has joined #ruby
binaryplease has joined #ruby
Giorgio has quit [Ping timeout: 248 seconds]
mlpinit has joined #ruby
mikecmpbll has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
robbyoconnor has quit [Ping timeout: 272 seconds]
havenwood has quit [Remote host closed the connection]
jkamenik has joined #ruby
rahulkmr has joined #ruby
ewnd9 has quit [Read error: Operation timed out]
skoodge has joined #ruby
Kar- has joined #ruby
mansi has joined #ruby
vlad_starkov has joined #ruby
otwieracz has joined #ruby
<otwieracz> Hello.
schaerli has quit [Remote host closed the connection]
<otwieracz> http://wklej.org/id/1152606/ ← can anybody explain this?
<skoodge> I would like to include a C binary as part of a gem in my bin/ directory, but ruby tries to execute this binary file as a ruby script. How can I tell rubygems to treat it as a binary file?
<otwieracz> wait a second.
schaerli has joined #ruby
<otwieracz> http://wklej.org/hash/49934702340/ ← now better.
siwica has quit [Ping timeout: 248 seconds]
roadt__ has joined #ruby
SegFaultAX has quit [Ping timeout: 246 seconds]
ldnunes has joined #ruby
antulik-afk has quit [Ping timeout: 246 seconds]
ShapeShifter499 has quit [Ping timeout: 246 seconds]
<shevy> when compiling ruby, what was the way to disable installation of any docu?
<shevy> and, how to disable docu installation of gems etc.. as well
Hien has quit [Ping timeout: 246 seconds]
kalleth_ has joined #ruby
kalleth has quit [Ping timeout: 246 seconds]
schaerli has quit [Ping timeout: 248 seconds]
breakingthings has joined #ruby
roadt_ has quit [Ping timeout: 245 seconds]
antulik-afk has joined #ruby
Hien has joined #ruby
vpretzel has joined #ruby
Stalkr_ has quit [Read error: Connection reset by peer]
SegFaultAX has joined #ruby
Stalkr_ has joined #ruby
ChronocityLC has quit [Ping timeout: 272 seconds]
soba has quit [Ping timeout: 272 seconds]
mansi has quit [Remote host closed the connection]
mmitchell has joined #ruby
mansi has joined #ruby
ShapeShifter499 has joined #ruby
vlad_starkov has quit [Ping timeout: 252 seconds]
osvico has quit [Ping timeout: 272 seconds]
mark_locklear has joined #ruby
albedoa has joined #ruby
vpretzel has quit [Ping timeout: 272 seconds]
jalcine_ is now known as jalcine
_bart_ has quit [Remote host closed the connection]
siwica has joined #ruby
_bart has joined #ruby
burlyscudd has joined #ruby
mansi has quit [Ping timeout: 252 seconds]
zerun0_ has quit [Ping timeout: 246 seconds]
vlad_starkov has joined #ruby
sensen has joined #ruby
<albedoa> text.gsub(/\r/, ' ').gsub(/\n/, ' ') <--how do you you combine that so a single call to gsub removes all carriage returns and newlines?
mansi has joined #ruby
raphaelivan has joined #ruby
<keeguon> any jRuby experts around here?
jcromart_ has joined #ruby
<tobiasvl> albedoa: text.gsub(/\r|\n/, ' ') maybe?
<sevenseacat> cant gsub take an array of things to replace?
<albedoa> tobiasvl thanks! had a typo
_bart has quit [Ping timeout: 248 seconds]
randomnick_ has joined #ruby
<m4rcu5> does it accept /[\r\n]/, ''?
<tobiasvl> it should
aryaching has joined #ruby
ezkl has joined #ruby
momomomomo has joined #ruby
Anderson has quit [Ping timeout: 265 seconds]
<tobiasvl> sevenseacat: it can? i think it can only take a Regexp
<sevenseacat> i dunno.
<tobiasvl> >> "aear".gsub(['a', 'e'], ' ')
<eval-in> tobiasvl => wrong argument type Array (expected Regexp) (TypeError) ... (https://eval.in/55344)
ioNull has joined #ruby
lxsameer has joined #ruby
aryaching_ has quit [Ping timeout: 246 seconds]
aep has quit [Read error: Connection reset by peer]
<sevenseacat> oh well
<lxsameer> does autoload is deprecated ro going to ?
teapop has joined #ruby
Stalkr_ has quit [Read error: Connection reset by peer]
Stalkr_ has joined #ruby
<Hanmac> tobiasvl:
<Hanmac> >> "aear".gsub(Regexp.union(['a', 'e']), ' ')
<eval-in> Hanmac => " r" (https://eval.in/55345)
aep has joined #ruby
<tobiasvl> ah! nice. sevenseacat ^
burlyscudd has quit [Read error: Connection reset by peer]
mansi has quit [Remote host closed the connection]
xjiujiu_ has joined #ruby
mansi has joined #ruby
ioNull has quit [Ping timeout: 265 seconds]
kaldrenon has joined #ruby
zerun0_ has joined #ruby
roadt__ has quit [Ping timeout: 252 seconds]
xjiujiu has quit [Ping timeout: 265 seconds]
Guest1779 has joined #ruby
peterhu has joined #ruby
alekst has joined #ruby
mansi has quit [Ping timeout: 252 seconds]
ioNull has joined #ruby
kaspergrubbe has quit [Remote host closed the connection]
MisutoWolf has joined #ruby
r0ber has quit [Quit: Saliendo]
<MisutoWolf> So, i wrote this buffer class and socket class for this project I'm working on, and I have no idea how to unit test the socket one. I'm at a loss. :(
<MisutoWolf> (I'm new to Rspec and stuff, honestly.)
_bart has joined #ruby
pranny has joined #ruby
peterhu has quit [Ping timeout: 240 seconds]
jb41 has quit [Ping timeout: 260 seconds]
samsonasu has joined #ruby
<MisutoWolf> https://github.com/misutowolf/freeman/blob/master/lib/source_socket.rb <-- This is the class in question
samsonasu has quit [Client Quit]
Stalkr_ has quit [Read error: Connection reset by peer]
Stalkr_ has joined #ruby
roadt__ has joined #ruby
lsmola has joined #ruby
<lxsameer> is there any replacement for autoload ?
burlyscudd has joined #ruby
noopq has quit [Ping timeout: 245 seconds]
kaspergrubbe has joined #ruby
ewnd9 has joined #ruby
atno has joined #ruby
rjhunter has joined #ruby
aryaching has quit [Read error: Connection reset by peer]
aryaching has joined #ruby
pranny has quit [Ping timeout: 272 seconds]
sailias has joined #ruby
heftig_ is now known as heftig
jerius has joined #ruby
kil0byte has joined #ruby
tharindu has quit [Quit: Leaving...]
bradhe has joined #ruby
<kaldrenon> Is there an equivalent to '!foo.nil?' which is more semantic, such as 'foo.exist?'?
astrobunny has quit [Ping timeout: 272 seconds]
iamjarvo has joined #ruby
k610 has joined #ruby
_bart has quit [Remote host closed the connection]
burlyscudd has quit [Read error: Connection reset by peer]
ioNull has quit [Ping timeout: 272 seconds]
_bart has joined #ruby
<heftig> rails adds foo.present?
<heftig> otherwise if "false" is not a possibility, just use "if foo"
ioNull has joined #ruby
<kaldrenon> heftig: Thanks!
bradhe has quit [Ping timeout: 248 seconds]
astrobunny has joined #ruby
vlad_starkov has quit [Remote host closed the connection]
<MisutoWolf> Ugh.
_bart has quit [Ping timeout: 272 seconds]
cha1tanya has joined #ruby
cha1tanya has joined #ruby
burlyscudd has joined #ruby
samsonasu has joined #ruby
zoee has quit [Quit: zoee]
breakingthings has quit []
cody-- has joined #ruby
binaryplease has quit [Quit: WeeChat 0.4.2]
vadeRcUser has joined #ruby
teapop has quit [Remote host closed the connection]
binaryplease has joined #ruby
teapop has joined #ruby
stayarrr has joined #ruby
jaynewstrom has joined #ruby
vlad_starkov has joined #ruby
gja__ has joined #ruby
b3hnam has joined #ruby
vlad_starkov has quit [Remote host closed the connection]
<b3hnam> How can I print all the methods and items of an object in ruby ? ( like var_dump )
<hoelzro> b3hnam: obj.public_methods
<hoelzro> >> p ''.public_methods.sort
<eval-in> hoelzro => [:!, :!=, :!~, :%, :*, :+, :<, :<<, :<=, :<=>, :==, :===, :=~, :>, :>=, :[], :[]=, :__id__, :__send__, :ascii_only?, :b, :between?, :bytes, :bytesize, :byteslice, :capitalize, :capitalize!, :casecmp, : ... (https://eval.in/55368)
gja has quit [Ping timeout: 265 seconds]
vadeRcUser has quit [Client Quit]
duggiefresh has joined #ruby
cha1tanya has quit [Quit: cha1tanya]
<ccooke> var_dump is different to .methods
burlyscudd has quit [Ping timeout: 248 seconds]
<ccooke> b3hnam: you probably want p, which calls the .inspect method on your object
Anderson has joined #ruby
xk_id has quit [Quit:
<ccooke> b3hnam: or you could require the 'pp' library for a multi-line pretty-printed output
<workmad3> >> a = ''; p a.public_methods.sort + a.instance_variables.sort
<eval-in> workmad3 => [:!, :!=, :!~, :%, :*, :+, :<, :<<, :<=, :<=>, :==, :===, :=~, :>, :>=, :[], :[]=, :__id__, :__send__, :ascii_only?, :b, :between?, :bytes, :bytesize, :byteslice, :capitalize, :capitalize!, :casecmp, : ... (https://eval.in/55369)
<ccooke> b3hnam: (and then use "pp object")
Anderson is now known as Anderson
<workmad3> (that would have been more effective with an object that had instance variables :) )
tagrudev has quit [Quit: Me = Awesome]
vpretzel has joined #ruby
narcan has joined #ruby
<MisutoWolf> I wish I could think of a small Ruby project to undertake that was genuinely useful.
<MisutoWolf> I am so terrible at thinking of project ideas
krawchyk_ has joined #ruby
iamjarvo has quit [Remote host closed the connection]
iamjarvo has joined #ruby
devoldmx3 has joined #ruby
krz has quit [Quit: krz]
pyrac has quit [Quit: pyrac]
maz-dev has joined #ruby
aagdbl has quit [Quit: Leaving]
<Todd> misutowolf, the main reason I got a job besides money was project ideas :P
teapop has left #ruby [#ruby]
<MisutoWolf> :P
<MisutoWolf> I sort of want to get into fiddling with network protocols and Ruby, because it seems interesting to me
devoldmx has quit [Ping timeout: 260 seconds]
iamjarvo_ has joined #ruby
<MisutoWolf> I was going to write my own Source Engine query/rcon library
breakingthings has joined #ruby
aganov has quit [Quit: aganov]
<workmad3> misutowolf: have you given up on that? :(
xjiujiu_ has quit [Quit: No Ping reply in 180 seconds.]
<MisutoWolf> But then I ended up trying to port one instead, because I didn't really know what I was doing...and now I'm sort of stuck on that anyway, because I don't know how to test what I've written
<MisutoWolf> Not really.
xjiujiu has joined #ruby
<MisutoWolf> I have it open right now, sitting here...I just want to test the stuff that's done before I move on, I guess.
pothibo has joined #ruby
vpretzel has quit [Ping timeout: 248 seconds]
<MisutoWolf> I think the answer is to mock a udp socket to act as a 'server' and then shove stuff into it at the wrapper
<MisutoWolf> I just need to write down the functionality I need to test on paper (it'd probably help my thinking) and then figure out how to do it in rspec with mocking
maz-dev has quit [Ping timeout: 264 seconds]
iamjarvo has quit [Ping timeout: 272 seconds]
tomzx_mac has joined #ruby
mklappstuhl has quit [Remote host closed the connection]
iamjarvo_ has quit [Remote host closed the connection]
iamjarvo has joined #ruby
<MisutoWolf> ROFL.
<MisutoWolf> So apparently my copy of Chrome, coupled with FGLRX drivers has a pretty annoying (confirmed) bug.
jalcine is now known as jalcine_
<MisutoWolf> If a page's title is longer than 24 characters, the title disappears from the tab it's on.
<MisutoWolf> Anything under 24 is fine.
yfeldblum has quit [Ping timeout: 245 seconds]
jrhe has quit [Ping timeout: 265 seconds]
<MisutoWolf> Ooh, I think I have a project idea. It's probably reinventing the wheel, but I'll get to play with sockets, so whatever :D
tharindu has joined #ruby
MrV has joined #ruby
duggiefresh has quit [Ping timeout: 272 seconds]
TorpedoSkyline has quit [Changing host]
TorpedoSkyline has joined #ruby
tharindu is now known as tharindu|away
devoldmx has joined #ruby
b1nd_ has joined #ruby
v0n has quit [Ping timeout: 246 seconds]
b1nd__ has joined #ruby
mikecmpbll has joined #ruby
Soda has joined #ruby
blaxter has quit [Quit: foo]
user258467 has joined #ruby
astrobunny has quit [Ping timeout: 272 seconds]
eichenwald has joined #ruby
tharindu|away has quit [Ping timeout: 252 seconds]
h_kon_ has quit [Remote host closed the connection]
devoldmx3 has quit [Ping timeout: 248 seconds]
iamjarvo has quit [Remote host closed the connection]
iamjarvo has joined #ruby
sayan has quit [Ping timeout: 252 seconds]
asobrasil has joined #ruby
mpeg has joined #ruby
kazuuu has joined #ruby
pyrac has joined #ruby
daxroc has joined #ruby
t_p has joined #ruby
Soda has quit [Ping timeout: 245 seconds]
astrobunny has joined #ruby
camilasan has quit [Remote host closed the connection]
justsee has quit [Ping timeout: 245 seconds]
kofno has joined #ruby
camilasan has joined #ruby
Vivekananda_ has quit [Ping timeout: 260 seconds]
phantasm66 has joined #ruby
phantasm66 has joined #ruby
phantasm66 has quit [Changing host]
iamjarvo has quit [Ping timeout: 252 seconds]
peterhu has joined #ruby
sambao21 has joined #ruby
camilasan has quit [Remote host closed the connection]
<daxroc> What's the ruby way to map an array of keys to an array of values ?
camilasan has joined #ruby
burlyscudd has joined #ruby
tesuji has quit [Read error: Connection reset by peer]
<daxroc> * I've a fixed array of string keys I want to map to a "|" delimited string of values
wallerdev has joined #ruby
tesuji has joined #ruby
kaspergrubbe has quit [Remote host closed the connection]
helloworld has quit [Ping timeout: 245 seconds]
orionstein_away is now known as orionstein
devoldmx has quit [Ping timeout: 248 seconds]
orien has quit []
tylersmith has quit [Remote host closed the connection]
<ccooke> daxroc: Assuming you have an array of keys and an array of values, with the values in the same order as the keys, you can do: Hash[ keys.zip(values) ]
<ccooke> IIRC
ehc has joined #ruby
frustrum has joined #ruby
cody-- has quit [Quit: derp]
<tobiasvl> >> ['asd', 'asdase', 'gdfgd'].join('|')
<eval-in> tobiasvl => "asd|asdase|gdfgd" (https://eval.in/55380)
<tobiasvl> daxroc: oh wait you said two different things
raphaelivan has quit [Quit: Leaving.]
pyrac has quit [Ping timeout: 252 seconds]
<ccooke> >> Hash[ [ :key1, :key2 ].zip( "value1|value2".split('|') ) ]
<eval-in> ccooke => {:key1=>"value1", :key2=>"value2"} (https://eval.in/55381)
momomomomo_ has joined #ruby
orien has joined #ruby
devoldmx has joined #ruby
<weeb1e> While stripping down and changing a whole long of my base modular platform for a new app I just started, I realized I pretty much need Ruby 2.0... Unfortunately installing rvm is going to be too much of a pain, I have too many 1.9.3 dependant applications on the box this needs to run on
phantasm66 has quit [Client Quit]
<ccooke> weeb1e: OS?
burlyscudd has quit [Ping timeout: 248 seconds]
<weeb1e> Now I realize why I went overboard with crazy parsing and inspecting of modules when I implemented this many years ago :/
<weeb1e> Linux ccooke
peterhu has quit [Ping timeout: 265 seconds]
<ccooke> weeb1e: distro?weedistro?
<weeb1e> Ubuntu
<ccooke> dratted network
<ccooke> weeb1e: there's a ruby2 ppa I'm using
<ccooke> works very well
<weeb1e> It would conflict with my global 1.9.3 installation
<ccooke> no, it won't
eichenwald has quit [Changing host]
eichenwald has joined #ruby
Soda has joined #ruby
drumsrgr8forn8 has quit [Quit: Konversation terminated!]
thesheff17 has joined #ruby
<ccooke> oh, hey. ruby2 is in the standard 13.10 package pool
<weeb1e> Really? It installs all binaries, libs and gems to a separate location?
polaco_zZz is now known as polaco
thesheff17 has quit [Remote host closed the connection]
<weeb1e> (And names the ruby binary differently?)
<ccooke> weeb1e: Ubuntu/Debian have split everything out by its API version
Kar- has quit [Ping timeout: 272 seconds]
<ccooke> weeb1e: so you can install the ruby1.9 alongisde ruby2.0
<ccooke> try an apt-get install ruby2.0
monkegjinni has quit [Remote host closed the connection]
<weeb1e> At the very least I'd expect the binaries to conflict (ruby, gem, bundler)
<ccooke> I've been running it side-by-side on my boxes for months
tobago has quit [Remote host closed the connection]
<workmad3> weeb1e: ruby2.0 gem2.0 :)
jlast has joined #ruby
monkegjinni has joined #ruby
<weeb1e> I'd need to att a PPA, but I'm still scared it's gonna screw up my existing services :P
Gooder has joined #ruby
<weeb1e> workmad3: What about bundler?
<ccooke> weeb1e: no, it's entirely seperate. You use the alternatives system to control which versions get the "ruby", "gem", "irb" commands, etc
failshell has joined #ruby
<ccooke> weeb1e: what version of ubuntu are you on?
<weeb1e> A very old one
momomomomo has quit [Quit: momomomomo]
momomomomo_ is now known as momomomomo
<workmad3> ah yeah, update-alternatives too...
<mr_red> weeb1e: why are you so convinced that installing rvm is going to be too much of a pain?
<ccooke> okay, then you'd probably be best off upgrading.
alexju has joined #ruby
<weeb1e> ccooke: Then I will have to forget it
fgo has quit [Remote host closed the connection]
<ccooke> weeb1e: in which case the PPA will work :-)
<weeb1e> mr_red: Well it was somewhat of a pain when I tried it out many years ago, and I'm not clued up on how it affects an existing global ruby installation
jlast has quit [Remote host closed the connection]
<workmad3> weeb1e: they've made the installation smoother, and it doesn't affect existing system ruby install
<workmad3> s
jlast has joined #ruby
<weeb1e> workmad3: Hmm, then perhaps it is worth a shot
<weeb1e> I should probably figure out if it will solve my problems first though
<workmad3> :)
<weeb1e> Since I haven't used it yet, I don't have a total conprehensive knowledge of the new features
jrhe has joined #ruby
monkegjinni has quit [Ping timeout: 245 seconds]
gja__ has quit [Quit: This computer has gone to sleep]
nari has joined #ruby
devoldmx has quit [Ping timeout: 256 seconds]
hamakn has quit [Remote host closed the connection]
devoldmx has joined #ruby
tharindu has joined #ruby
beilabs has quit [Ping timeout: 260 seconds]
hamakn has joined #ruby
<ccooke> weeb1e: What's the 2.0 feature(s) you need, OOI?
<ccooke> it's a nice update
kobain has joined #ruby
<weeb1e> prepend for starters, I think
v0n has joined #ruby
<mr_red> weeb1e: well without getting too much into detail, it's not a pain in the ass now
<mr_red> weeb1e: and for what you want to do, rvm or rbenv are the best way to go, honestly.
mklappstuhl has joined #ruby
s0ber has quit [Remote host closed the connection]
<weeb1e> I currently create a fake base module remove loading the read module/class, so that the real module/class can call class methods which are already defined, but in order to do that I need to know if it's a class or a module, and the superclass of it
<weeb1e> *the real module/class
s0ber has joined #ruby
yfeldblum has joined #ruby
devoldmx3 has joined #ruby
<weeb1e> mr_red: Well as long as it doesn't screw with my existing ruby installation I don't see the harm in giving it a shot
bradhe has joined #ruby
<daxroc> ccooke: Like a glove! much appreciate it
beilabs has joined #ruby
devoldmx has quit [Ping timeout: 248 seconds]
simplyaubs has quit [Quit: simplyaubs]
elux has joined #ruby
hamakn has quit [Ping timeout: 272 seconds]
rahulkmr has quit [Ping timeout: 272 seconds]
<Hanmac> master question for all rubyists … find all objects within ruby core where obj.singleton_class.singleton_class? == false
<Hanmac> or obj.class == obj.singleton_class
dhamidi has joined #ruby
thesheff17 has joined #ruby
bradhe has quit [Ping timeout: 248 seconds]
tomzx_mac has quit [Ping timeout: 272 seconds]
thesheff17 has quit [Remote host closed the connection]
andyj123 has joined #ruby
andyj123 has quit [Client Quit]
thesheff17 has joined #ruby
orien has quit [Quit: Computer has gone to sleep.]
devoldmx has joined #ruby
vlad_starkov has joined #ruby
kazuuu has quit [Read error: Connection reset by peer]
<weeb1e> $ ruby -v
<weeb1e> ruby 2.0.0p247 (2013-06-27 revision 41674) [x86_64-linux]
frustrum has quit [Ping timeout: 248 seconds]
<weeb1e> Woot
b1nd__ has quit [Ping timeout: 248 seconds]
kazuuu has joined #ruby
MrV has quit [Quit: MrV]
<weeb1e> I had to remove some dead sources from apt sources to make rvm work but after that it worked without a hitch
b1nd_ has quit [Quit: Leaving]
kaspergrubbe has joined #ruby
b1nd_ has joined #ruby
g0bl1n has quit [Quit: g0bl1n]
xk_id has joined #ruby
devoldmx3 has quit [Ping timeout: 256 seconds]
interactionjaxsn has joined #ruby
camilasan has quit [Remote host closed the connection]
camilasan has joined #ruby
mary5030 has joined #ruby
gregorg_taf has joined #ruby
bean__ has joined #ruby
kil0byte_ has joined #ruby
mansi has joined #ruby
vlad_starkov has quit [Remote host closed the connection]
fedalto has joined #ruby
camilasa_ has joined #ruby
camilasan has quit [Read error: Connection reset by peer]
kil0byte has quit [Ping timeout: 245 seconds]
rahulkmr has joined #ruby
gregorg has quit [Ping timeout: 264 seconds]
drumsrgr8forn8 has joined #ruby
rainbyte has quit [Ping timeout: 248 seconds]
io_syl has joined #ruby
vpretzel has joined #ruby
mrsolo has joined #ruby
narcan has quit [Quit: -[AppDelegate installMalware]: unrecognized selector sent to instance 0x156109c0]
krz has joined #ruby
nisstyre has quit [Read error: Connection reset by peer]
tjad has quit [Ping timeout: 246 seconds]
divi has joined #ruby
havenwood has joined #ruby
lkba has quit [Ping timeout: 252 seconds]
ffranz has joined #ruby
DocDeath has quit [Read error: No route to host]
<kapowaz> anyone here familiar with rack-rewrite? I'm trying to use it within my config.ru but it's seemingly being bypassed entirely and all requests are routing through to my app, declared further down. If I comment out my app being called, I get “RuntimeError: missing run or map statement”
<workmad3> kapowaz: gist your code please
vpretzel has quit [Ping timeout: 256 seconds]
sbos99 has quit [Quit: Leaving]
<kapowaz> MyApp is a Sinatra app, fwiw
_bart has joined #ruby
<kapowaz> workmad3: I don't see anything obviously wrong from looking through other examples…
brennanMKE has joined #ruby
jhaals has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
varfoo has quit [Ping timeout: 272 seconds]
<weeb1e> Uhh, rvm did take over my system :|
<weeb1e> When I log into a new ssh session and use ruby -v, it's 2.0.0
<kapowaz> $ which ruby
<workmad3> weeb1e: 'rvm use system'
apeiros has quit [Remote host closed the connection]
<weeb1e> Phew. Thanks workmad3
b1nd__ has joined #ruby
momomomomo has quit [Quit: momomomomo]
b1nd__ has quit [Client Quit]
rainbyte has joined #ruby
<kapowaz> workmad3: anything you can think of that could cause that behaviour?
<workmad3> kapowaz: did you try without the map at all?
<kapowaz> workmad3: yes, that's when I get the error above
<kapowaz> RuntimeError: missing run or map statement
<workmad3> kapowaz: no, I mean just your 'run' at the top levelr
<workmad3> *level
<workmad3> kapowaz: so get rid of the map wrapping your run, not the run itself ;)
<kapowaz> no, not tried that.
<kapowaz> sec
iamjarvo has joined #ruby
<kapowaz> same problem as before; I get a 404 on the route that ought to be rewritten
<weeb1e> Actually workmad3, that does not fix it
<weeb1e> Every new ssh session defaults to 2.0.0
kevind has joined #ruby
xjiujiu has quit [Ping timeout: 272 seconds]
<workmad3> weeb1e: yes, because 2.0.0 is the default
simplyaubs has joined #ruby
<workmad3> weeb1e: if you only want to use that on demand, then run 'rvm use system --default'
iamjarvo has quit [Remote host closed the connection]
<weeb1e> Right I just found rvm --default use system
<weeb1e> That is what I meant when I first asked if installing rvm would screw with my global ruby installation, and it kinda did :P
iamjarvo has joined #ruby
drumsrgr8forn8 has left #ruby [#ruby]
<kapowaz> it doesn't screw with it, it just intercedes it
thesheff17 has quit [Remote host closed the connection]
<kapowaz> but it's easy to bypass rvm to restore the original behaviour
<workmad3> weeb1e: your system ruby is completely untouched
lfox has joined #ruby
niklasb has quit [Read error: Operation timed out]
<weeb1e> Yeah well, it overrides the default, by default, but at least it is easy to fix
<workmad3> weeb1e: it's just that RVM inserted itself into your environment variables to shadow... otherwise how could it do its job? :P
momomomomo has joined #ruby
<havenwood> weeb1e: chruby doesn't override by default
<weeb1e> havenwood: Too late :P
<havenwood> another soul lost!
<workmad3> heh
thesheff17 has joined #ruby
<havenwood> saw RVM2 fundraiser today! https://www.bountysource.com/fundraisers/489
<sevenseacat> 20,000 lines of shell script in rvm... man
<kapowaz> so, I created a very basic config.ru with rack-rewrite to test things and it has the same messed up behaviour. Is rack-rewrite just broken when used with a config.ru?
<mikecmpbll> haha.
Stalkr^ has joined #ruby
cody-- has joined #ruby
<sevenseacat> and they're looking for a lot of money o.O
gyre007 has joined #ruby
alex__c2022 has joined #ruby
<weeb1e> I do that kind of work for free for the community all the time :P
<weeb1e> I should probably start making money at some point
siwica has quit [Ping timeout: 248 seconds]
<kapowaz> https://gist.github.com/kapowaz/add554dc6cc925a02c9d is the config.ru / Gemfile I'm trying now.
<terrellt> I've never heard of bountysource. Why not kickstarter?
alekst has quit [Quit: Leaving...]
<havenwood> hrmm, if they need $50,000 to update 20,000 lines, i guess we should ask for $255 to update chruby's 90 lines to chruby2.
<havenwood> same price-per line :P
<weeb1e> Haha
coderhs has joined #ruby
coderhs has quit [Remote host closed the connection]
<sevenseacat> lol
spike|spiegel has quit [Quit: WeeChat 0.4.2]
<workmad3> havenwood: :)
iamjarvo_ has joined #ruby
_bart has quit [Remote host closed the connection]
<weeb1e> Well at least I have an excuse to use ruby 2.0 for something now :)
peterhu has joined #ruby
asym has joined #ruby
RichardBaker has joined #ruby
burlyscudd has joined #ruby
iamjarvo has quit [Ping timeout: 272 seconds]
nari has quit [Ping timeout: 272 seconds]
<lupine> $25,000: "I will implement a feature of your choice"
<lupine> rvm moo
SHyx0rmZ has joined #ruby
<shevy> lol
<shevy> weeb1e you should charge for adding features!
spike|spiegel has joined #ruby
<weeb1e> Trying to make money from the open source community makes me sick
<weeb1e> I don't even try to many money from things that I really should :(
camilasa_ has quit [Remote host closed the connection]
<weeb1e> *make money
camilasan has joined #ruby
<havenwood> supporting ARM installs would be neat, somebody give him $110,000 plz thx
alup has quit [Quit: Leaving]
peterhu has quit [Ping timeout: 240 seconds]
<weeb1e> I could buy a house with that...
devoldmx3 has joined #ruby
<Hanmac> havenwood: do you know which objects return this? obj.singleton_class.singleton_class? == false
tjad has joined #ruby
siwica has joined #ruby
<havenwood> hanmac: no, but that seems bizarre? why you not a singleton class mr. singleton class?
<shevy> hanmac finds the weird corner cases
amacgregor has joined #ruby
camilasan has quit [Remote host closed the connection]
burlyscudd has quit [Ping timeout: 265 seconds]
<Hanmac> its the same for this objects: obj.class == obj.singleton_class
<havenwood> a riddle...
devoldmx has quit [Ping timeout: 272 seconds]
jrhe has quit [Quit: jrhe]
wallerdev has quit [Quit: wallerdev]
pentameter has joined #ruby
<Hanmac> there are three, one say yes and two say no
<havenwood> >> Class.class === Class.singleton_class
<eval-in> havenwood => true (https://eval.in/55390)
<mikecmpbll> nil
* lupine makes massive time savings in a rails application
<Hanmac> havenwood: no its "==" not "==="
<havenwood> oh >.>
<lupine> protip: Model#association(true) is evil
<havenwood> so nil, false, and true are all true
<Hanmac> havenwood: and PS: if you try to ask ObjectSpace, this three are not listed there
<Hanmac> yeah you found the answer
tesuji has quit [Ping timeout: 272 seconds]
binaryplease has quit [Ping timeout: 245 seconds]
<Hanmac> i think my hints where very riddlic ;P
danshultz has joined #ruby
IceyEC has joined #ruby
amacgregor has quit [Ping timeout: 245 seconds]
io_syl has quit []
<shevy> wat
Kar- has joined #ruby
araujo has quit [Read error: Connection reset by peer]
xxpor has quit [Ping timeout: 265 seconds]
_bart has joined #ruby
araujo has joined #ruby
kazuuu has quit [Remote host closed the connection]
gregorg_taf has quit [Quit: Quitte]
<Hanmac> shevy: true.class == true.singleton_class
kazuuu has joined #ruby
gregorg has joined #ruby
Kar- has quit [Read error: Operation timed out]
<kapowaz> anyone able to take a look at https://gist.github.com/kapowaz/add554dc6cc925a02c9d and explain to me why this doesn't work? :|
<workmad3> hanmac: heh :) I was about to ask if Fixnum would come under that... but you don't get a singleton class on fixnums
crashx has joined #ruby
rjhunter has quit [Remote host closed the connection]
shredding has joined #ruby
gja has joined #ruby
<workmad3> kapowaz: oh wait... just a thought... you said that '/google' just went on through to your app as a 404, right?
gja has quit [Changing host]
gja has joined #ruby
<kapowaz> workmad3: yes
<kapowaz> but if I remove the map '/' it errors with the same error as that gist
<workmad3> kapowaz: that's probably because it just rewrote your request path to 'http://google.com'
<kapowaz> not sure I follow
<kapowaz> shouldn't that do a 301 redirect to that URL ?
<workmad3> kapowaz: no
lkba has joined #ruby
Davey has joined #ruby
<workmad3> kapowaz: it just rewrites the request path and continues processing up the chain
bradhe has joined #ruby
<workmad3> kapowaz: if you want a 301 redirect, you use r301 from the rack-rewrite (as is in the README)
<kapowaz> …so it acts as if I requested http://google.com from my app ?
kazuuu has quit [Ping timeout: 256 seconds]
tkuchiki has joined #ruby
<workmad3> (I don't know if r301 will still try to redirect you to http://youapp.com/http://google.com)
<kapowaz> I actually did already try r301
<kapowaz> it doesn't make any difference… it's still completely ignored
sambao21 has quit [Quit: Computer has gone to sleep.]
<kapowaz> i.e. I still get the same error about a lack of map / use statement
<Hanmac> workmad3: this "three are they, one says yes and two says no" … i think i frame this quote at my wall ;D
admin0 has quit [Read error: Connection reset by peer]
burlyscudd has joined #ruby
aryaching has quit [Ping timeout: 272 seconds]
pootler has quit [Quit: leaving]
p8952 has quit [Remote host closed the connection]
diegoviola has joined #ruby
<workmad3> kapowaz: right... you do need that 'run' statement
dhruvasagar has quit [Ping timeout: 245 seconds]
<workmad3> kapowaz: a config.ru without a 'run' is not valid
<kapowaz> right o
<workmad3> kapowaz: as that error message tells you
Mon_Ouie has joined #ruby
Ripp__ has joined #ruby
sambao21 has joined #ruby
<kapowaz> workmad3: aha. I think I have it sussed now.
<workmad3> kapowaz: with your map + run, and an p301?
<workmad3> *r301
<kapowaz> using r301 inside the use Rack::Rewrite do … end, also inside the map '/' do … end
bradhe has quit [Ping timeout: 272 seconds]
<kapowaz> so the map '/' is at the top level, use within that.
<kapowaz> I need to read up more on rack middleware. It's kind of mystery meat to me :)
troessner has quit [Quit: Leaving]
hamakn has joined #ruby
Advocation has joined #ruby
sebson has quit [Quit: Leaving]
dhruvasagar has joined #ruby
Mattias has joined #ruby
habanany has joined #ruby
hamakn has quit [Ping timeout: 272 seconds]
dzhulk has quit [Quit: Leaving.]
wallerdev has joined #ruby
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
habanany has quit [Client Quit]
astrobunny has quit [Ping timeout: 245 seconds]
AxonetBE has quit [Quit: AxonetBE]
banisterfiend has quit [Quit: Computer has gone to sleep.]
sevenseacat has quit [Quit: Leaving.]
ExxKA has quit [Remote host closed the connection]
sambao21 has quit [Quit: Computer has gone to sleep.]
MisutoWolf has quit [Quit: WeeChat 0.4.1]
rippa has joined #ruby
bio is now known as Biohazard
shredding has quit [Quit: shredding]
burlyscudd has quit [Quit: Leaving.]
ghr has quit [Quit: Computer has gone to sleep.]
wyhaines has joined #ruby
Mattias has quit [Ping timeout: 272 seconds]
k610 has quit [Ping timeout: 245 seconds]
geggam has quit [Remote host closed the connection]
sambao21 has joined #ruby
freezey has joined #ruby
kobain_ has joined #ruby
Hanmac has quit [Quit: Leaving.]
kobain_ has quit [Excess Flood]
wyhaines has quit [Remote host closed the connection]
kobain_ has joined #ruby
astrobunny has joined #ruby
kobain_ has quit [Excess Flood]
kobain_ has joined #ruby
kobain_ has quit [Excess Flood]
Guest90944 has joined #ruby
monkegjinni has joined #ruby
Guest90944 has quit [Client Quit]
svector has quit [Ping timeout: 248 seconds]
Stalkr^ has left #ruby ["Linkinus - http://linkinus.com"]
freezey has quit [Read error: Connection reset by peer]
mklappstuhl has quit [Remote host closed the connection]
freezey has joined #ruby
zz_tsykoduk is now known as tsykoduk
kobain has quit [Ping timeout: 272 seconds]
tsykoduk is now known as zz_tsykoduk
zz_tsykoduk is now known as tsykoduk
helloworld has joined #ruby
jrhe has joined #ruby
b00stfr3ak has joined #ruby
tsykoduk is now known as zz_tsykoduk
ShellFu has joined #ruby
bradhe has joined #ruby
burlyscudd has joined #ruby
einarj has quit [Read error: Connection reset by peer]
einarj has joined #ruby
pedda has quit [Quit: Textual IRC Client: www.textualapp.com]
wesside_ has quit [Quit: Computer has gone to sleep.]
justsee has joined #ruby
gja has quit [Quit: This computer has gone to sleep]
monkegjinni has quit [Remote host closed the connection]
monkegjinni has joined #ruby
<weeb1e> Hmm, perhaps I can use RubyVM::InstructionSequence for finding class definitions and their superclasses
mpeg has quit []
zigomir has joined #ruby
bradhe has quit [Ping timeout: 272 seconds]
amritanshu_RnD has quit [Quit: Leaving]
mikecmpbll has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
raphaelivan has joined #ruby
mikecmpbll has joined #ruby
raphaelivan has quit [Client Quit]
monkegjinni has quit [Ping timeout: 248 seconds]
Bry8Star{T2 has quit [Ping timeout: 240 seconds]
avril14th has quit [Remote host closed the connection]
terrellt_ has joined #ruby
Kar- has joined #ruby
siwica has quit [Quit: siwica]
terrellt has quit [Ping timeout: 264 seconds]
Mattias has joined #ruby
<daxroc> Any one seen "[H[2" get prepended to a shell command output before ?
raphaelivan has joined #ruby
Bry8Star{T2 has joined #ruby
lewis has joined #ruby
ssvo has quit [Ping timeout: 252 seconds]
scarolan has joined #ruby
<Mon_Ouie> Looks like ANSI escape codes
<daxroc> * sorry "[H[2J"
carraroj has quit [Ping timeout: 252 seconds]
terrellt_ is now known as terrellt
<havenwood> echo "\e[H[2J"
dhruvasagar has quit [Ping timeout: 272 seconds]
<Mon_Ouie> "\e[H\e[2J" I'm guessing (two distinct codes)
scarolan_ has quit [Ping timeout: 272 seconds]
<havenwood> Mon_Ouie: yup, you're right of course
<Mon_Ouie> What terminal are you using that doesn't interpret them though?
maletor has joined #ruby
maz-dev has joined #ruby
<daxroc> Mon_Ouie: I'm running a bash script from a csh shell
clov3r has joined #ruby
keeguon has quit [Quit: keeguon]
<havenwood> csh strikes again!
peterhu has joined #ruby
<havenwood> daxroc: why you no ksh
sambao21 has quit [Quit: Computer has gone to sleep.]
<Mon_Ouie> Well, those two codes mean "move the cursor to the top left corner" and "clear the whole screen" (respectively)
<daxroc> so i;ve output = `su - user -c "path to shellscrpt.sh -d dbname | sort "
scarolan_ has joined #ruby
<daxroc> havenwood: legacy entire environment is locked to csh
<havenwood> :O
choobie has joined #ruby
<Mon_Ouie> That's not much of a Ruby question though
scarolan has quit [Ping timeout: 268 seconds]
<daxroc> It's when I'm using ruby to parse the output :D
choobie has left #ruby [#ruby]
<daxroc> It's only in ruby I see these escape characters
<Mon_Ouie> Well it's because if you run e.g. cat your terminal will interpret them instead of showing them to you, Ruby isn't creating them
bradhe has joined #ruby
zz_tsykoduk is now known as tsykoduk
nomenkun has quit [Ping timeout: 246 seconds]
<daxroc> No way to escape them ?
<Mon_Ouie> Usually programs don't output such characters when they're being piped, etc. — but apparently yours still does
astrobun_ has joined #ruby
justsee has quit [Ping timeout: 248 seconds]
<Mon_Ouie> You could manually strip them I guess (See http://en.wikipedia.org/wiki/ANSI_escape_code for details about their syntax)
peterhu has quit [Ping timeout: 265 seconds]
<daxroc> Mon_Ouie: Appreciate it
Ripp__ has quit []
aspiers has quit [Quit: WeeChat 0.4.1]
heftig has quit [Ping timeout: 256 seconds]
rainbyte has quit [Ping timeout: 240 seconds]
kaspergr_ has joined #ruby
astrobunny has quit [Ping timeout: 256 seconds]
Giorgio has joined #ruby
freezey has quit [Read error: Connection reset by peer]
freezey has joined #ruby
freezey has quit [Remote host closed the connection]
monkegjinni has joined #ruby
geekbri has joined #ruby
kaspergrubbe has quit [Ping timeout: 272 seconds]
mrsolo has quit [Read error: Connection reset by peer]
mrsolo has joined #ruby
kevinykchan has joined #ruby
sambao21 has joined #ruby
kaspergr_ has quit [Ping timeout: 272 seconds]
angusiguess has joined #ruby
Boohbah has quit [Remote host closed the connection]
heidi has joined #ruby
user258467 has quit [Quit: Quitte]
dweeb_ has quit [Quit: Textual IRC Client: www.textualapp.com]
sambao21 has quit [Client Quit]
helloworld has quit [Ping timeout: 245 seconds]
mikecmpbll has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
dhamidi has quit [Ping timeout: 265 seconds]
acrussell has joined #ruby
SilverKey has joined #ruby
RORgasm has quit [Remote host closed the connection]
RORgasm has joined #ruby
gverri has joined #ruby
sambao21 has joined #ruby
sambao21 has quit [Client Quit]
ssvo has joined #ruby
digital-ghost has joined #ruby
enebo has joined #ruby
mrsolo has quit [Ping timeout: 245 seconds]
i_s has joined #ruby
albedoa has quit [Quit: Textual IRC Client: www.textualapp.com]
ryandeussing has joined #ruby
skoodge has quit [Ping timeout: 250 seconds]
ryandeussing has quit [Remote host closed the connection]
b3hnam has quit [Read error: Connection reset by peer]
Mattias has quit [Max SendQ exceeded]
dagobah has quit [Remote host closed the connection]
jbpros has joined #ruby
Xeago has quit [Remote host closed the connection]
digital-ghost has quit [Remote host closed the connection]
sambao21 has joined #ruby
Mattias has joined #ruby
shredding has joined #ruby
mrsolo has joined #ruby
b3hnam has joined #ruby
apeiros has joined #ruby
maletor has quit [Quit: Computer has gone to sleep.]
ranyip has joined #ruby
lurch_ has quit [Quit: lurch_]
Mattias has quit [Client Quit]
Mattias has joined #ruby
deens has joined #ruby
<weeb1e> So I just threw this together while eating lunch, if anyones bored they can break it... http://pastebin.com/5sNGkFRE
timonv has quit [Remote host closed the connection]
heftig has joined #ruby
mrsolo_ has joined #ruby
timonv has joined #ruby
iamjarvo_ has quit [Remote host closed the connection]
mrsolo has quit [Ping timeout: 272 seconds]
iamjarvo has joined #ruby
lxsameer has quit [Quit: Leaving]
johnnyfuchs has joined #ruby
volty has joined #ruby
timonv has quit [Ping timeout: 248 seconds]
heftig has quit [Ping timeout: 248 seconds]
iamjarvo has quit [Ping timeout: 245 seconds]
ahawkins has quit [Quit: leaving]
tharindu is now known as tharindu|away
xlogic has joined #ruby
nateberkopec has joined #ruby
xibalba has joined #ruby
xibalba has left #ruby [#ruby]
theoretick has joined #ruby
jlebrech has quit [Quit: Konversation terminated!]
kloeri has quit [Ping timeout: 620 seconds]
heftig has joined #ruby
tatsuya_o has quit [Remote host closed the connection]
bricker`1A has joined #ruby
bricker`LA has quit [Ping timeout: 265 seconds]
maletor has joined #ruby
burlyscudd has quit [Quit: Leaving.]
JZTech101 has quit [Ping timeout: 252 seconds]
aryaching has joined #ruby
yfeldblum has quit [Ping timeout: 248 seconds]
pooma has joined #ruby
Gooder has quit [Ping timeout: 272 seconds]
burlyscudd has joined #ruby
io_syl has joined #ruby
tharindu|away is now known as tharindu
heftig has quit [Ping timeout: 240 seconds]
Spami has quit [Quit: This computer has gone to sleep]
buibex_ has joined #ruby
einarj has quit [Remote host closed the connection]
heftig has joined #ruby
buibex has quit [Remote host closed the connection]
Mon_Ouie has quit [Ping timeout: 272 seconds]
claymore has joined #ruby
einarj has joined #ruby
endash has joined #ruby
<shevy> what's it do?
jbpros has quit [Quit: jbpros]
Voodoofish430 has joined #ruby
lfox has quit [Quit: ZZZzzz…]
OdNairy has joined #ruby
jbpros has joined #ruby
boxmein has joined #ruby
JZTech101 has joined #ruby
<OdNairy> Hi guys. How can I send param to "render 'form'" ?
bigkevmcd has quit [Quit: Ex-Chat]
<weeb1e> It reads a rb files and gives you each module/class's name, type and superclass
Kar- has quit [Ping timeout: 240 seconds]
<weeb1e> I just fixed a bug and added full namespace support to it, for nested classes
b3hnam has quit [Ping timeout: 272 seconds]
<OdNairy> Yeap, but I wanna call render with different param @user
jbpros has quit [Client Quit]
heftig has quit [Client Quit]
buibex_ has quit [Ping timeout: 256 seconds]
<weeb1e> So far it seems good enough to use instead of ruby_parser or any more elaborate solution
cody-- has quit [Quit: derp]
flak has joined #ruby
zastern_ has joined #ruby
flak is now known as Guest98722
<weeb1e> New version if anyone is bored enough to want to test it, or crazy enough to use it, http://pastebin.com/Bp5e4quJ
mattp_ has quit [Ping timeout: 272 seconds]
<weeb1e> Also pasted the sample output as a comment at the bottom for you shevy
kaspergrubbe has joined #ruby
VTLob has joined #ruby
<apeiros> OdNairy: rails? if so, then -> #rubyonrails
dhruvasagar has joined #ruby
rippa has quit [Ping timeout: 248 seconds]
aspires has joined #ruby
mattp_ has joined #ruby
<OdNairy> apeiros: Ok, thx
mary5030 has quit [Remote host closed the connection]
crashx has quit [Quit: crashx]
i_s has quit [Remote host closed the connection]
stkowski has joined #ruby
i_s has joined #ruby
zastern has quit [Ping timeout: 245 seconds]
TMM has quit [Quit: Ex-Chat]
zastern_ has quit [Remote host closed the connection]
gja has joined #ruby
gja has joined #ruby
gja has quit [Changing host]
kil0byte_ has quit [Remote host closed the connection]
alexju has quit [Remote host closed the connection]
alexju has joined #ruby
pooma has quit [Remote host closed the connection]
timonv has joined #ruby
freezey has joined #ruby
sambao21 has quit [Quit: Computer has gone to sleep.]
cody-- has joined #ruby
i_s has quit [Ping timeout: 272 seconds]
pragmatism has joined #ruby
Fire-Dragon-DoL has joined #ruby
k610 has joined #ruby
alexju has quit [Ping timeout: 245 seconds]
<weeb1e> > x |= []
scarolan has joined #ruby
<weeb1e> >> x |= []
<eval-in> weeb1e => true (https://eval.in/55404)
bradhe has quit [Remote host closed the connection]
<weeb1e> That is interesting
brennanMKE has quit [Remote host closed the connection]
bradhe has joined #ruby
brennanMKE has joined #ruby
<apeiros> evaluates as x = nil | []
barratt has quit [Read error: Operation timed out]
<apeiros> did you mean x ||= [] ?
<weeb1e> I didn't know nil defined |()
stayarrr has quit [Quit: Leaving...]
shredding has quit [Quit: shredding]
Spami has joined #ruby
<weeb1e> No, I did not, I just ran into it with some refactored code where the variable was not previously defined anymore, and was trying to figure out how |= on an undefined variable would be true
sambao21 has joined #ruby
scarolan_ has quit [Ping timeout: 268 seconds]
<weeb1e> What on earth is the use case of nil | anthing
ehaliewicz has joined #ruby
scarolan has quit [Read error: Operation timed out]
<apeiros> it's just that `anything | []` makes little sense
<apeiros> because if it's nil, you get a boolean, if it's an array, you get the original array (uniqued, though), if it's anything else, it'll raise
<apeiros> well, false/true probably act the same as nil and get a boolean as result
saarinen has joined #ruby
peterhu has joined #ruby
sensen has quit [Quit: leaving]
scarolan has joined #ruby
<weeb1e> The argument wasn't an actual empty array, I just used that as a test case for the bot here
brennanMKE has quit [Ping timeout: 245 seconds]
bradhe has quit [Ping timeout: 272 seconds]
devoldmx3 has quit [Ping timeout: 272 seconds]
s2013_ has joined #ruby
<weeb1e> I guess nil being interpreted as false makes slightly more sense
devoldmx has joined #ruby
<s2013_> is there anyway to get only the title of a page using nokogiri without reading the entire content?
ceosam has joined #ruby
ceosam has quit [Remote host closed the connection]
theoretick has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
wchun has quit [Ping timeout: 240 seconds]
Vivekananda_ has joined #ruby
zeade has joined #ruby
brianpWins has quit [Ping timeout: 265 seconds]
jrhe has quit [Ping timeout: 272 seconds]
relix has joined #ruby
peterhu has quit [Ping timeout: 245 seconds]
<apeiros> s2013_: use nokogiris sax parser
<s2013_> hmm let me check what that is
banisterfiend has joined #ruby
whunt has joined #ruby
aryaching has quit []
brennanMKE has joined #ruby
iamjarvo has joined #ruby
<s2013_> basically what would be the best way to just get title of over a 1000 pages
mathnode has quit [Remote host closed the connection]
ranyip has quit [Remote host closed the connection]
tabolario has joined #ruby
twoism has joined #ruby
terrellt has quit [Ping timeout: 264 seconds]
sbos99 has joined #ruby
DanKnox_away is now known as DanKnox
khushildep has quit [Ping timeout: 240 seconds]
carraroj has joined #ruby
newbiehacker has joined #ruby
i_s has joined #ruby
klaut has quit [Remote host closed the connection]
<apeiros> s2013_: same answer
daxroc1 has joined #ruby
pothibo has quit [Quit: pothibo]
kevinykchan has quit [Quit: Computer has gone to sleep.]
lurch_ has joined #ruby
stkowski has quit [Quit: stkowski]
heidi has quit [Quit: Leaving.]
nobitanobi has joined #ruby
kevinykchan has joined #ruby
<nobitanobi> Hi guys. Where can I find ruby writting conventions? Such us, if I should do a blank line after method declaration?
daxroc has quit [Ping timeout: 258 seconds]
Guest98722 has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
alex__c2022 has quit [Quit: alex__c2022]
rdark has quit [Quit: leaving]
spinagon has joined #ruby
<bean__> nobitanobi: https://github.com/styleguide/ruby might want to give that a read
<bean__> thats the github styleguide
theoretick has joined #ruby
Advocation has quit [Quit: Advocation]
nobitanobi_ has joined #ruby
<nobitanobi_> Alright. Thanks!
mary5030 has joined #ruby
<bean__> most of the style guid is taken from bbatsov's anyways.
lfox has joined #ruby
ericmathison has joined #ruby
nobitanobi has quit [Ping timeout: 250 seconds]
<weeb1e> I'll never agree with every single thing in any style guide, but for the most part that one is good
<weeb1e> Especially for a beginner I guess
monkegjinni has quit [Remote host closed the connection]
monkegjinni has joined #ruby
kazuuu has joined #ruby
amacgregor has joined #ruby
pushpak has joined #ruby
iamjarvo has quit [Ping timeout: 272 seconds]
gmas has joined #ruby
Mars` has joined #ruby
Spami__ has joined #ruby
monkegjinni has quit [Ping timeout: 245 seconds]
Spami has quit [Ping timeout: 256 seconds]
Macaveli has joined #ruby
brennanMKE has quit [Remote host closed the connection]
brennanMKE has joined #ruby
timonv has quit [Ping timeout: 265 seconds]
heidi has joined #ruby
c0rn has joined #ruby
mrsolo_ has quit [Ping timeout: 272 seconds]
sambao21 has quit [Quit: Computer has gone to sleep.]
bradhe has joined #ruby
Xeago has joined #ruby
ewnd9 has quit [Remote host closed the connection]
sambao21 has joined #ruby
ewnd9 has joined #ruby
brianpWins has joined #ruby
ewnd9 has quit [Remote host closed the connection]
ewnd9 has joined #ruby
tkuchiki has quit [Remote host closed the connection]
tkuchiki has joined #ruby
Senjai_ has joined #ruby
brennanMKE has quit [Ping timeout: 241 seconds]
tharindu is now known as tharindu|away
zarubin has quit [Ping timeout: 245 seconds]
CorpusCallosum has quit [Ping timeout: 256 seconds]
Xeago has quit [Ping timeout: 264 seconds]
<apeiros> weeb1e: IMO it's only important to have a styleguide in your company. makes working together easier. even if you don't like some of the decisions in that styleguide.
maycon has quit [Quit: Saindo]
tharindu|away is now known as tharindu
<weeb1e> apeiros: Yeah sure. For the vast majority of cases I strongly agree with the style guide anyway. It's just a few things that annoy me.
<weeb1e> Such as indenting where on the same level as case
<apeiros> heh
<apeiros> I don't do that either
lukec has joined #ruby
Davey has quit [Quit: Computer has gone to sleep.]
BraddPitt has quit [Ping timeout: 272 seconds]
ewnd9 has quit [Remote host closed the connection]
sambao21 has quit [Quit: Computer has gone to sleep.]
tkuchiki has quit [Ping timeout: 240 seconds]
ewnd9 has joined #ruby
<weeb1e> And then for in-line blocks, I adopted using method {|arg| bar } very early in my ruby history
<apeiros> I preferred using if/then over just if, but in our company we voted on 'no `then`', so now I adopted that style :(
<weeb1e> I feel the one less space does not decrease readability at all, but I do use a space there for multi-line do/end blocks
<apeiros> I use `foo { |arg| bar }
<apeiros> `
Senjai_ is now known as Senjai
Senjai has quit [Changing host]
Senjai has joined #ruby
<apeiros> (haven't read the styleguide)
Davey has joined #ruby
<weeb1e> Yeah, I think most people do, I actually find that decreases readability every so slightly
<weeb1e> But that is just my opinion
raphaelivan has quit [Quit: Leaving.]
<weeb1e> Especially if you nest two in-line blocks
<apeiros> it's getting used to
gja has quit [Quit: This computer has gone to sleep]
<apeiros> if you'd use the other style for a while, your opinion would likely change (same for all others if they'd use your style for a while)
jrhe has joined #ruby
<weeb1e> I doubt it, I've been reading code using double spaced blocks for many years now, and writing code without that first space
BraddPitt has joined #ruby
<apeiros> eh, it mainly changes with what you use yourself ;-)
<apeiros> at least IME
<weeb1e> I think my feelings about it are sort of related to methods, where you have do space between the bracket and arguments
<apeiros> I've experienced it when changing indent style from tabs to 2-spaces
<apeiros> I read 2-space indented code for years and disliked it
<weeb1e> But I like compact code, so I'm happy with 1 less char if it doesn't decrease readability
<apeiros> it changed after writing space-indented code for a few weeks
<havenwood> TWO-SPACE SOFT TAB ALL THE THINGS \o/
* apeiros tv
<weeb1e> You used tabs?!! :o
<apeiros> I still do for non-ruby
<havenwood> for bash i do
<weeb1e> I hope your editor converts those tabs to 4 spaces then
<weeb1e> You should really never, ever use actual tabs, in any language
<havenwood> when in Rome...
samsonasu has quit [Quit: samsonasu]
<weeb1e> Tabs mostly become an issue with collaboration, which is why most people stopped using them many many years ago
jblack has quit [Quit: Lost terminal]
iamjarvo has joined #ruby
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
boxmein has quit [Quit: [02:26.00] <Ristovski> mozzarella filofax fadget]
raul782 has joined #ruby
workmad3 has quit [Ping timeout: 260 seconds]
momomomomo has quit [Quit: momomomomo]
Macaveli has quit [Quit: Computer has gone to sleep.]
mva3212 has quit [Remote host closed the connection]
hid has joined #ruby
Mars` has quit [Ping timeout: 272 seconds]
hid has left #ruby [#ruby]
mary5030 has quit [Read error: Connection reset by peer]
mary5030 has joined #ruby
freezey has quit [Remote host closed the connection]
wchun has joined #ruby
k610 has quit [Ping timeout: 240 seconds]
dhruvasagar has quit [Ping timeout: 248 seconds]
julweber has quit [Remote host closed the connection]
mary5030_ has joined #ruby
julweber has joined #ruby
Mars` has joined #ruby
gja has joined #ruby
FL1SK has joined #ruby
<FL1SK> Hi
<FL1SK> can anyone help me
codecop has joined #ruby
<FL1SK> im getting this error
<FL1SK> NoMethodError - private method `split' called for nil:NilClass:
Clooth has joined #ruby
Macaveli has joined #ruby
mary5030 has quit [Ping timeout: 245 seconds]
bean__ has quit [Quit: Computer has gone to sleep.]
tharindu has quit [Quit: Leaving...]
svector has joined #ruby
<Bofu2U> FL1SK it means the variable you're doing it on is nil
<FL1SK> ok
julweber has quit [Ping timeout: 240 seconds]
Mon_Ouie has joined #ruby
jibi has joined #ruby
adambeynon has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
bricker`1A is now known as bricker`LA
zarubin has joined #ruby
SloggerKhan has joined #ruby
mgorbach has quit [Read error: Connection reset by peer]
<SloggerKhan> How do you pass the current instance of a class to a method or function from within an instance method?
<apeiros> self
<volty> >> def nil.split(*); [nil, nil]; end; nil.split(:whatever) # e.g. if, for some reason, you could want to split nil
<eval-in> volty => [nil, nil] (https://eval.in/55410)
Stygia has quit [Quit: Leaving]
devoldmx has quit [Ping timeout: 265 seconds]
mgorbach has joined #ruby
peterhu has joined #ruby
<SloggerKhan> thanks
gja has quit [Quit: This computer has gone to sleep]
mgorbach has quit [Read error: Connection reset by peer]
[_aeris_] is now known as _aeris_
mgorbach has joined #ruby
Advocation has joined #ruby
nwertman_ has quit [Remote host closed the connection]
amacgregor has quit [Read error: Connection reset by peer]
amacgregor has joined #ruby
bean__ has joined #ruby
freezey has joined #ruby
<volty> i use only tabs, but of 2 spaces width
Advocation has quit [Client Quit]
yfeldblum has joined #ruby
Advocation has joined #ruby
julweber has joined #ruby
peterhu has quit [Ping timeout: 272 seconds]
<volty> (ok, translated, by the editor -- a tab is a tab, nor 2 nor 8 width)
volty has quit [Quit: less ruby more life]
<havenwood> Ruby should be 2-space soft tabs. Stop splitting nils! :P
<shevy> hehe
julweber has quit [Remote host closed the connection]
mrsolo has joined #ruby
brennanMKE has joined #ruby
<shevy> weeb1e I stopped using tabs when I noticed I tried to align comments with tabs
kirun has joined #ruby
lele has quit [Ping timeout: 252 seconds]
jrhe has quit [Quit: jrhe]
julweber has joined #ruby
danman has joined #ruby
xk_id has quit [Quit:
iamjarvo has quit [Remote host closed the connection]
hello_world has joined #ruby
iamjarvo has joined #ruby
b3hnam has joined #ruby
jrhe has joined #ruby
rezzack has joined #ruby
iamjarvo_ has joined #ruby
jblack has joined #ruby
julweber has quit [Ping timeout: 248 seconds]
lele has joined #ruby
mrsolo has quit [Ping timeout: 265 seconds]
iamjarvo has quit [Read error: Connection reset by peer]
Advocation has quit [Quit: Advocation]
gverri has quit [Quit: Textual IRC Client: www.textualapp.com]
heftig has joined #ruby
c0rn has quit [Quit: Computer has gone to sleep.]
sambao21 has joined #ruby
rins has joined #ruby
iamjarvo has joined #ruby
zigomir has quit [Quit: zigomir]
danshultz has quit [Remote host closed the connection]
danshultz has joined #ruby
c0rn has joined #ruby
Seich has joined #ruby
c0rn has quit [Client Quit]
iamjarvo_ has quit [Ping timeout: 272 seconds]
gverri has joined #ruby
iamjarvo has quit [Remote host closed the connection]
gverri has quit [Max SendQ exceeded]
iamjarvo has joined #ruby
rins has quit [Ping timeout: 272 seconds]
alex__c2022 has joined #ruby
danshultz has quit [Read error: Operation timed out]
Giorgio has quit [Ping timeout: 240 seconds]
ce_afk is now known as cescalante
stkowski has joined #ruby
gverri has joined #ruby
amacgregor has quit [Ping timeout: 240 seconds]
svector has quit [Ping timeout: 248 seconds]
rezzack has quit [Quit: Leaving.]
habanany has joined #ruby
sr78ger has quit [Quit: Textual IRC Client: www.textualapp.com]
b3hnam has left #ruby [#ruby]
dhruvasagar has joined #ruby
_JamieD_ has joined #ruby
barratt has joined #ruby
freezey has quit [Remote host closed the connection]
CorpusCallosum has joined #ruby
habanany has quit [Client Quit]
rezzack has joined #ruby
byprdct has joined #ruby
byprdct has quit [Max SendQ exceeded]
<graft_> anyone want to help me dissect a regexp? I can't figure out why this isn't capturing the SN: stuff - http://rubular.com/r/IrVscgJBtW
tsykoduk is now known as zz_tsykoduk
Zolo has joined #ruby
mrsolo has joined #ruby
burlyscudd has quit [Quit: Leaving.]
momomomomo has joined #ruby
eichenwald has quit [Quit: WeeChat 0.3.8]
<graft_> ergh, can't do this with match, i need to scan
Mars` has quit [Remote host closed the connection]
Mars` has joined #ruby
samsonasu has joined #ruby
dzhulk has joined #ruby
roadt__ has quit [Read error: Connection reset by peer]
DanKnox is now known as DanKnox_away
CorpusCallosum has quit [Remote host closed the connection]
interactionjaxsn has quit [Remote host closed the connection]
zigomir has joined #ruby
interactionjaxsn has joined #ruby
Mars` has quit [Ping timeout: 245 seconds]
dzhulk has quit [Client Quit]
eichenwald has joined #ruby
Nilium has quit [Ping timeout: 240 seconds]
ccooke has quit [Read error: Connection reset by peer]
<bean__> graft_: you still working on that
<apeiros> graft_: tip: [A-Za-z][A-Za-z] -> [A-Za-z]{2}
goganchic has joined #ruby
nwertman has joined #ruby
interactionjaxsn has quit [Ping timeout: 248 seconds]
freezey has joined #ruby
<apeiros> graft_: captures with quantifiers on it will always only capture the last one
DanKnox_away is now known as DanKnox
<bean__> http://rubular.com/r/2CxMEGsXCj if you wanted to do named captures, too
<bean__> :p
theoretick has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
ewnd9 has quit [Read error: Operation timed out]
postmodern has joined #ruby
banghouse2 has joined #ruby
ccooke has joined #ruby
_JamieD_ has quit [Quit: _JamieD_]
goganchic has quit [Client Quit]
amacgregor has joined #ruby
alpha123 has joined #ruby
rahulkmr has quit [Ping timeout: 272 seconds]
slash_nick has quit [Changing host]
slash_nick has joined #ruby
MrV_ has joined #ruby
momomomomo has quit [Quit: momomomomo]
sambao21 has quit [Quit: Computer has gone to sleep.]
vlad_starkov has joined #ruby
schaerli has joined #ruby
boxmein has joined #ruby
schaerli has quit [Remote host closed the connection]
asteros has joined #ruby
tvw has joined #ruby
Nilium has joined #ruby
bean__ has quit [Quit: Computer has gone to sleep.]
schaerli has joined #ruby
einarj has quit [Remote host closed the connection]
<asteros> is there a way to get RVM to load the .rvmrc file on init? currently it only works if you cd into the directory
xlogic has quit [Remote host closed the connection]
sambao21 has joined #ruby
Xeago has joined #ruby
_JamieD_ has joined #ruby
zz_tsykoduk is now known as tsykoduk
nism-pi has joined #ruby
Nisstyre-laptop has joined #ruby
skaflem has quit [Quit: Leaving]
deception has joined #ruby
schaerli has quit [Read error: Operation timed out]
Nisstyre-laptop is now known as nisstyre
nessib has joined #ruby
<mr_red> you can place it on your home
<mr_red> ~/.rvmrc
<mr_red> asteros
<mr_red> [
<asteros> mr_red oh, I see. thanks!
carraroj has quit [Quit: Konversation terminated!]
boxmein has quit [Ping timeout: 272 seconds]
vlad_starkov has quit [Remote host closed the connection]
MrV_ has quit [Quit: MrV_]
freezey has quit [Remote host closed the connection]
swordsmanz has joined #ruby
interactionjaxsn has joined #ruby
monkegjinni has joined #ruby
ldnunes has quit [Quit: Leaving]
_JamieD_ has quit [Quit: _JamieD_]
peterhu has joined #ruby
Andrevan has joined #ruby
amacgregor has quit [Ping timeout: 272 seconds]
vlad_starkov has joined #ruby
hello_world has quit [Ping timeout: 250 seconds]
barratt has quit [Read error: Connection reset by peer]
Bry8Star{T2 has quit [Ping timeout: 240 seconds]
DanBoy has quit [Ping timeout: 240 seconds]
astrobun_ has quit [Ping timeout: 272 seconds]
Macaveli has quit [Quit: Computer has gone to sleep.]
theoretick has joined #ruby
peterhu has quit [Ping timeout: 245 seconds]
bean__ has joined #ruby
Bry8Star{T2 has joined #ruby
burlyscudd has joined #ruby
newbiehacker has quit [Ping timeout: 248 seconds]
astrobunny has joined #ruby
epta has quit [Quit: leaving]
taion809 is now known as zzz_taion809
epta has joined #ruby
freezey has joined #ruby
Nogbit has joined #ruby
mrsolo has quit [Ping timeout: 240 seconds]
T__T has joined #ruby
saarinen has quit [Read error: Connection reset by peer]
saarinen has joined #ruby
b1nd_ has quit [Ping timeout: 272 seconds]
alvaro_o has joined #ruby
mansi has quit [Remote host closed the connection]
mansi has joined #ruby
acrussell has left #ruby [#ruby]
sambao21 has quit [Quit: Computer has gone to sleep.]
mansi_ has joined #ruby
mansi has quit [Read error: Connection reset by peer]
momomomomo has joined #ruby
Mars` has joined #ruby
i_s has quit [Remote host closed the connection]
i_s has joined #ruby
deception has quit [Quit: Goodbye]
julweber_ has joined #ruby
juarlex has quit [Ping timeout: 245 seconds]
tsykoduk is now known as zz_tsykoduk
julweber_ has quit [Remote host closed the connection]
theoretick has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
dash_ has quit [Quit: dash_]
julweber has joined #ruby
jerius has quit [Ping timeout: 245 seconds]
julweber has quit [Read error: Connection reset by peer]
theoretick has joined #ruby
theoretick is now known as theoretick_
julweber has joined #ruby
theoretick_ is now known as theoretick
Nogbit has left #ruby [#ruby]
i_s has quit [Ping timeout: 248 seconds]
jcromart_ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
vjt has joined #ruby
sambao21 has joined #ruby
OdNairy has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
jerius has joined #ruby
barratt has joined #ruby
bean__ has quit [Quit: Computer has gone to sleep.]
Seich has quit [Ping timeout: 272 seconds]
OdNairy has joined #ruby
scarolan_ has joined #ruby
danshultz has joined #ruby
clov3r has quit [Remote host closed the connection]
clov3r has joined #ruby
scarolan has quit [Read error: Operation timed out]
<nobitanobi_> Anybody knows if with Nokogiri it is possible to find the <img> that is positioned at the very top of the page? Not in the HTML but actually the image that is rendered at the very top?
i_s has joined #ruby
saarinen has quit [Quit: saarinen]
maletor has quit [Quit: Computer has gone to sleep.]
nisstyre has quit [Quit: Leaving]
ffranz has quit [Ping timeout: 240 seconds]
danshultz has quit [Ping timeout: 248 seconds]
banisterfiend has quit [Ping timeout: 240 seconds]
robbyoconnor has joined #ruby
saarinen has joined #ruby
clov3r has quit [Ping timeout: 256 seconds]
banisterfiend has joined #ruby
clov3r has joined #ruby
swordsmanz has quit [Read error: Connection reset by peer]
simplyaubs has quit [Quit: simplyaubs]
swordsmanz has joined #ruby
akersof has joined #ruby
akersof has left #ruby ["Bene vixit, bene qui latuit."]
gyre007 has quit [Ping timeout: 272 seconds]
<ezkl> nobitanobi_: It will correct the page and move it inside of body
raphaelivan has joined #ruby
<nobitanobi_> ezkl: I think I didn't explain well myself. I'm trying to look for a Ruby tool that will let me scrap pages that are rendered, in a headless browser manner per say. So, instead of scrapping the HTML, I want to scrap the rendered page (as you could do with PhantomJS for example)
c0rn has joined #ruby
<shevy> GUYS
<shevy> I LOVE YOU ALL!
<sam113101> I love you too
<sam113101> <3
rgbdev has joined #ruby
mark_locklear has quit [Quit: Leaving]
xk_id has joined #ruby
danshultz has joined #ruby
<nobitanobi_> wo, free love
<nobitanobi_> hard to find these days
banisterfiend has quit [Quit: Computer has gone to sleep.]
<mr_red> <3
petey_ has joined #ruby
banisterfiend has joined #ruby
ssmithstone has joined #ruby
vlad_starkov has quit [Remote host closed the connection]
aspires has quit [Quit: sudo making a sandwich]
jb41 has joined #ruby
jb41_ has joined #ruby
kalleth_ is now known as kalleth
jb41_ has left #ruby [#ruby]
fuhgeddaboudit has quit [Ping timeout: 260 seconds]
i_s has quit [Remote host closed the connection]
pothibo has joined #ruby
Guest1779 has quit [Remote host closed the connection]
i_s has joined #ruby
stayarrr has joined #ruby
aspires has joined #ruby
mrsolo has joined #ruby
workmad3 has joined #ruby
<nobitanobi_> hard to find these days
<nobitanobi_> ups sorry
andrewvos has joined #ruby
bean__ has joined #ruby
vlad_starkov has joined #ruby
<andrewvos> shevy: hello
jrhe has quit [Quit: jrhe]
<ezkl> nobitanobi_: You'd need to use a headless browser - https://github.com/thoughtbot/capybara-webkit or similar
terrellt has joined #ruby
i_s has quit [Ping timeout: 245 seconds]
<nobitanobi_> ezkl: right. I am using PhantomJS right now, calling it from my RoR app... It's much better than capybara-webkit as far as I see it.
jrhe has joined #ruby
<terrellt> Poltergeist ftw.
decoponio has quit [Quit: Leaving...]
<nobitanobi_> ezkl: thanks though
maletor has joined #ruby
mansi_ has quit [Remote host closed the connection]
jlast has quit [Remote host closed the connection]
mansi has joined #ruby
zz_tsykoduk is now known as tsykoduk
mansi has quit [Read error: Connection reset by peer]
<ezkl> nobitanobi_: Like terrellt said, you might want to check out: http://github.com/jonleighton/poltergeist (capybara-phantom, effectively)
<nobitanobi_> terrellt: wow. That seems neat. I'm using this for scrapping. Let's see if Poltergeist can help me
tsykoduk is now known as zz_tsykoduk
mansi has joined #ruby
raphaelivan has quit [Quit: Leaving.]
<terrellt> nobitanobi_: I haven't tried this, but interesting article. http://www.chrisle.me/2012/12/scraping-html5-sites-using-capybara-phantomjs/
zerun0_ has quit [Ping timeout: 245 seconds]
<nobitanobi_> Nice!
<nobitanobi_> thanks a lot. I will take a look
einarj has joined #ruby
mrsolo has quit [Quit: Leaving]
krz has quit [Quit: krz]
barratt has quit [Ping timeout: 272 seconds]
peterhu has joined #ruby
mrsolo has joined #ruby
Kar- has joined #ruby
<nobitanobi_> terrellt: yeah, as the article say, I am also concerned about scaling this... I am launching a shell command from my RoR app, everytime I want to parse a site...
robustus has quit [Ping timeout: 245 seconds]
sambao21 has quit [Ping timeout: 272 seconds]
muxdemux has quit [Remote host closed the connection]
sambao21 has joined #ruby
barratt has joined #ruby
nateberkopec has quit [Quit: Linkinus - http://linkinus.com]
mansi has quit [Read error: Connection reset by peer]
mansi has joined #ruby
robustus has joined #ruby
einarj has quit [Ping timeout: 272 seconds]
peterhu has quit [Ping timeout: 240 seconds]
jprovazn has quit [Quit: Odcházím]
jbpros has joined #ruby
g0bl1n has joined #ruby
Mars` has quit [Remote host closed the connection]
Mars` has joined #ruby
Zesty has joined #ruby
T__T has quit [Remote host closed the connection]
cody-- has quit [Quit: derp]
rahulkmr has joined #ruby
i_s has joined #ruby
Mars` has quit [Ping timeout: 240 seconds]
mrsolo has quit [Ping timeout: 272 seconds]
astrobunny has quit [Ping timeout: 248 seconds]
monkegjinni has quit [Remote host closed the connection]
monkegjinni has joined #ruby
jbpros has quit [Quit: jbpros]
peterhu has joined #ruby
burgess has joined #ruby
speakingcode-wor has quit [Quit: Lost terminal]
burgess has quit [Client Quit]
mansi has quit [Remote host closed the connection]
Xeago has quit [Remote host closed the connection]
mansi has joined #ruby
mansi has quit [Read error: Connection reset by peer]
elaptics is now known as elaptics`away
diegoviola has quit [Ping timeout: 245 seconds]
gverri has quit [Quit: Textual IRC Client: www.textualapp.com]
mansi has joined #ruby
monkegjinni has quit [Ping timeout: 248 seconds]
yfeldblum has quit [Ping timeout: 272 seconds]
astrobunny has joined #ruby
maycon has joined #ruby
maycon has joined #ruby
allsystemsarego has quit [Quit: Leaving]
g0bl1n has quit [Ping timeout: 245 seconds]
ravster has joined #ruby
mercwithamouth has joined #ruby
iamjarvo has quit [Remote host closed the connection]
boxmein has joined #ruby
mrsolo has joined #ruby
iamjarvo has joined #ruby
zarubin has quit [Ping timeout: 256 seconds]
iamjarvo has quit [Read error: Connection reset by peer]
Zesty has quit [Quit: Linkinus - http://linkinus.com]
iamjarvo has joined #ruby
zz_tsykoduk is now known as tsykoduk
zigomir_ has joined #ruby
zarubin has joined #ruby
mansi has quit [Remote host closed the connection]
ffranz has joined #ruby
heidi has quit [Quit: Leaving.]
aspires has quit [Quit: sudo making a sandwich]
daxroc1 has quit [Quit: Leaving.]
heidi has joined #ruby
daxroc has joined #ruby
amacgregor has joined #ruby
T__T has joined #ruby
danshultz has quit [Remote host closed the connection]
mrsolo has quit [Ping timeout: 248 seconds]
danshultz has joined #ruby
railsbros_dirk has joined #ruby
tsykoduk is now known as zz_tsykoduk
daxroc1 has joined #ruby
krawchyk_ has quit [Remote host closed the connection]
aspires has joined #ruby
nobitanobi_ has quit [Quit: Page closed]
yfeldblum has joined #ruby
danshultz has quit [Ping timeout: 248 seconds]
peterhu has quit [Remote host closed the connection]
Es0teric has joined #ruby
Es0teric has quit [Max SendQ exceeded]
_JamieD_ has joined #ruby
sdouglas has joined #ruby
daxroc has quit [Ping timeout: 240 seconds]
Zesty has joined #ruby
<TorpedoSkyline> hey guys, what is the ruby equivalent of JavaScript's setInterval or setTimeout?
geekbri has quit [Remote host closed the connection]
Zesty has quit [Client Quit]
zarubin has quit [Read error: Operation timed out]
bricker`away has quit [Ping timeout: 248 seconds]
rahulkmr has quit [Ping timeout: 272 seconds]
<apeiros> Threads and Kernel#sleep
iamjarvo has quit [Remote host closed the connection]
iamjarvo has joined #ruby
salim has joined #ruby
iamjarvo_ has joined #ruby
iamjarvo_ has quit [Read error: Connection reset by peer]
<TorpedoSkyline> apeiros ok, thanks
jbpros has joined #ruby
iamjarvo_ has joined #ruby
salim has left #ruby [#ruby]
yfeldblum has quit [Ping timeout: 272 seconds]
spinagon has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
<TorpedoSkyline> havenwood ah beautiful, thanks! I need to read up more on threads… this will be the first time I use them
iamjarvo has quit [Ping timeout: 265 seconds]
<robert_> are there any D-bus gems that have working service examples and support connecting via TCP/IP?
lurch_ has quit [Quit: lurch_]
iamjarvo_ has quit [Remote host closed the connection]
iamjarvo has joined #ruby
zerun0 has joined #ruby
i_s has quit [Remote host closed the connection]
i_s has joined #ruby
maroloccio has quit [Quit: WeeChat 0.4.0]
iamjarvo has quit [Ping timeout: 240 seconds]
i_s_ has joined #ruby
c0rn has quit [Ping timeout: 248 seconds]
vlad_starkov has quit [Remote host closed the connection]
gener1c has joined #ruby
i_s has quit [Read error: Connection reset by peer]
c0rn has joined #ruby
i_s_ is now known as i_s
<apeiros> havenwood: you omitted a way to clear it :)
divi has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
gener1c has quit [Remote host closed the connection]
<havenwood> apeiros: kill the process! :P
dzhulk has joined #ruby
<apeiros> that… clears a bit more than just the timeout or interval :-|
<havenwood> hehe
_JamieD_ has quit [Quit: _JamieD_]
burlyscudd has quit [Quit: Leaving.]
RichardBaker has quit [Quit: RichardBaker]
* havenwood googles how javascript does it...
<havenwood> okay, so it should respond to clearInterval()?
Mars` has joined #ruby
<apeiros> mdn is IMO the best source on JS
<apeiros> clearTimeout and clearInterval, yes
user_ has joined #ruby
ssmithstone has quit [Ping timeout: 272 seconds]
<apeiros> primitive way would be to kill the thread, but since ruby isn't single threaded like JS, you'd have to use mutex/conditionvariable to properly detect the thread already being running
<apeiros> (alternative designs are certainly possible)
Senjai has quit [Ping timeout: 272 seconds]
tickner has joined #ruby
user_ has quit [Client Quit]
codenapper has quit [Quit: codenapper]
petey_ has quit [Remote host closed the connection]
jrhe has quit [Quit: jrhe]
dzhulk has quit [Quit: Leaving.]
petey_ has joined #ruby
kaspergrubbe has quit [Remote host closed the connection]
kaspergrubbe has joined #ruby
petey__ has joined #ruby
alex__c2022 has quit [Quit: alex__c2022]
petey_ has quit [Read error: Connection reset by peer]
simplyaubs has joined #ruby
fedalto has quit [Remote host closed the connection]
freezey has quit [Remote host closed the connection]
_bart has quit [Remote host closed the connection]
roflpox has joined #ruby
banisterfiend has quit [Quit: Computer has gone to sleep.]
kaspergrubbe has quit [Read error: Operation timed out]
momomomomo has quit [Quit: momomomomo]
railsbros_dirk has quit [Quit: railsbros_dirk]
bricker`away has joined #ruby
freezey_ has joined #ruby
Mars` has quit [Read error: Connection reset by peer]
burlyscudd has joined #ruby
Mars` has joined #ruby
freezey_ has quit [Remote host closed the connection]
elux has quit [Quit: Bye!]
robbyoconnor has quit [Ping timeout: 272 seconds]
tvw has quit []
asteros has quit [Quit: asteros]
zigomir has quit [Quit: Leaving]
zigomir_ is now known as zigomir
<apeiros> btw. havenwood, I think your implementation of interval is incorrect for cases where the yield takes a long time
hugohagogo has quit [Ping timeout: 245 seconds]
asteros has joined #ruby
hanoi has quit [Read error: Connection reset by peer]
mmm has quit [Read error: Connection reset by peer]
bean__ has quit [Quit: Computer has gone to sleep.]
sbos99 has quit [Ping timeout: 265 seconds]
vlad_starkov has joined #ruby
<lewis> dllama: what's the preferred way to write this - if foo; #dostuff;end; #do_that_either_way VS if foo; #dostuff #do_that;else; #do_that; end
IceyEC has quit [Quit: IceyEC]
theRoUS has joined #ruby
adambeynon has joined #ruby
RichardBaker has joined #ruby
<havenwood> apeiros: ooh, another good point
RichardBaker has quit [Client Quit]
<havenwood> apeiros: indeed it is wrong (assuming js actually does it right) ;p
mmm has joined #ruby
banghouse2 is now known as banghouse
freezey has joined #ruby
bean__ has joined #ruby
nkts has joined #ruby
yfeldblum has joined #ruby
kaldrenon has quit [Remote host closed the connection]
aspires has quit [Quit: sudo making a sandwich]
zarubin has joined #ruby
kugelschreiber has joined #ruby
vky has joined #ruby
kaldrenon has joined #ruby
aspires has joined #ruby
bean__ has quit [Client Quit]
<mgolisch> whats some good template engine to use?
momomomomo has joined #ruby
boxmein has quit [Quit: [02:26.00] <Ristovski> mozzarella filofax fadget]
ssmithstone has joined #ruby
aspires has quit [Client Quit]
<havenwood> i like markdown
kazuuu has quit [Remote host closed the connection]
<apeiros> mgolisch: depends on from where you want to go to where
<mgolisch> looked at haml and slim, and both look kinda cryptic
<mgolisch> its for webdevelopment
<apeiros> ok, so the target is html
kazuuu has joined #ruby
<mgolisch> yeah
<apeiros> I like haml a good bit there
<havenwood> haml smaml
<apeiros> don't know why you think it's cryptic
<apeiros> the mapping is pretty straight forward
<apeiros> the old dog would be ERB
<apeiros> I wonder whether amrita still gets some love
<breakingthings> havenwood: markdown for templating?
<breakingthings> w0t
tjad has quit [Ping timeout: 240 seconds]
lsmola has quit [Ping timeout: 240 seconds]
<mgolisch> erb would be html with ruby code in somekind of special tags right?
kaldrenon has quit [Ping timeout: 272 seconds]
<breakingthings> yes
<breakingthings> like de phps.
<mgolisch> like asp or php
<breakingthings> <%= rubby.codeses %>
<breakingthings> haml isn't too crazy, it just looks weird at first.
<mgolisch> yeah maybe i should have a look at that again
robbyoconnor has joined #ruby
breakingthings has quit []
c0rn has quit [Quit: Computer has gone to sleep.]
<mgolisch> having done flask stuff mostly, liquid looks very similar to flasks jinja, but it doenst seem to be used often, so iam not sure its any good
stayarrr has quit [Quit: Leaving...]
deens has quit [Remote host closed the connection]
Xeago has joined #ruby
kazuuu has quit [Ping timeout: 256 seconds]
deens has joined #ruby
aspires has joined #ruby
theoretick has quit [Quit: Textual IRC Client: www.textualapp.com]
cescalante is now known as ce_afk
Bosox20051 has joined #ruby
burlyscudd has quit [Quit: Leaving.]
Zolo has quit [Remote host closed the connection]
ssmithstone has quit [Ping timeout: 265 seconds]
Zolo has joined #ruby
barratt has quit [Quit: Leaving...]
monkegjinni has joined #ruby
Macaveli has joined #ruby
Xeago has quit [Ping timeout: 245 seconds]
IceyEC has joined #ruby
theoretick has joined #ruby
robbyoconnor has quit [Ping timeout: 272 seconds]
yfeldblum has quit [Ping timeout: 248 seconds]
deens has quit [Ping timeout: 272 seconds]
burlyscudd has joined #ruby
IceyEC has quit [Client Quit]
larissa has joined #ruby
terrellt has quit [Ping timeout: 264 seconds]
jbueza has joined #ruby
barratt has joined #ruby
momomomomo has quit [Quit: momomomomo]
Zolo has quit [Ping timeout: 272 seconds]
<havenwood> apeiros: reminds me of seeing `timers` gem, which seems to be a sane and functional implementation
robbyoconnor has joined #ruby
monkegjinni has quit [Ping timeout: 248 seconds]
<apeiros> I wrote one ~7y ago for butler. no idea whether it was safe :)
<havenwood> TorpedoSkyline: ^ should prolly check out that gem ;)
<apeiros> it did have a nice api, though
old has joined #ruby
<TorpedoSkyline> ooh, nice havenwood.. this looks good =)
dgarstang2 has joined #ruby
r0bby_ has joined #ruby
<dgarstang2> I'm trying to set up a gem server here. Got questions.
<shevy> butler!
<shevy> 7 years!
danshultz has joined #ruby
<shevy> damn apeiros you are AGING QUICKLY
<apeiros> indeed
<shevy> 10 years birthday for halsbe
c0rn has joined #ruby
thesheff17 has quit [Remote host closed the connection]
<dgarstang2> Is there a way to cache/proxy a gem server?
saarinen has quit [Quit: saarinen]
robbyoconnor has quit [Ping timeout: 240 seconds]
c0rn has quit [Client Quit]
<apeiros> dgarstang2: `gem server`
<apeiros> serves all gems installed on that machine
Xiti has quit [Read error: Connection reset by peer]
<dgarstang2> apeiros: That won't suffice.
danshultz has quit [Ping timeout: 272 seconds]
<havenwood> dgarstang2: so you want to mirror the entirety of RubyGems?
<dgarstang2> apeiros/havenwood: I have instances in several amazon regions. I don't want to have to manually sync the gems between servers running in each location.
thesheff17 has joined #ruby
SHyx0rmZ has quit [Quit: ネウロイを負かさなきゃならないね]
<dgarstang2> And.. I don't want to have to mirror all of rubyforge at every location either
monkegjinni has joined #ruby
julweber has quit [Remote host closed the connection]
julweber has joined #ruby
terrellt has joined #ruby
chobbit has joined #ruby
<chobbit> :O A whole channel for ruby
rgbdev has quit [Quit: rgbdev]
julweber has quit [Read error: Operation timed out]
<havenwood> dgarstang2: There appears to be some progress on adding such a proxying feature to geminabox: https://github.com/jesseadams/geminabox/commit/e60dbb906618ecc62aa956a973c6ca2bb08a11b0
<chobbit> Currently learning ruby on codeacademy :D
<havenwood> chobbit: Nice, going through tryruby?
<chobbit> im currently at "a night at the movies" 1/10
<chobbit> :D
<TorpedoSkyline> go for it chobbit ;)
Giorgio has joined #ruby
beilabs has quit [Ping timeout: 248 seconds]
<havenwood> chobbit is like chruby or chroot? changes your obbit?
<chobbit> Nah, chobbit is my shortened username for concernedhobbit
<chobbit> i use it as my concernedlaptop's username because it's short
<chobbit> it defaulted to this nick when using weechat
<havenwood> hobbits have the important virtues of a programmer: laziness, impatience and hubris
<chobbit> xD
interactionjaxsn has quit [Remote host closed the connection]
<chobbit> also they live in holes under the ground
interactionjaxsn has joined #ruby
frustrum has joined #ruby
asobrasil has left #ruby [#ruby]
<havenwood> people ask if chruby is pronounced C-H-ruby or chuh-ruby, but the super sekret is to pronounce it like Chanukah...
beilabs has joined #ruby
<havenwood> 'huh-ruby'!
Jdubs has joined #ruby
<havenwood> chobbit: More than one Ruby channel too, also #ruby-lang, etc. And then Rails land #rubyonrails.
* havenwood hopes #ruby has more people than #rubyonrails.
<apeiros> it has
<havenwood> Woot, #ruby wins with 855!
interactionjaxsn has quit [Ping timeout: 248 seconds]
jonathanwallace has quit [Ping timeout: 245 seconds]
deens has joined #ruby
johnnyfuchs has quit [Quit: Leaving.]
tomzx_mac has joined #ruby
momomomomo has joined #ruby
obs has joined #ruby
theRoUS has quit [Ping timeout: 248 seconds]
<vky> Hey all, I'm new to ruby and I'm trying to write a script that makes a https post request (with no verfication) to an api and then uses the cookie returned in subsequent post requests to that api. I'm got the first part working with rest-client, but can't figure out how to get the second part working.
failshel_ has joined #ruby
<shevy> havenwood in general here are ~ +10% more people than on #rubyonrails, but #python is so much larger :(
barratt has quit [Quit: Leaving...]
atmosx has joined #ruby
zarubin has quit [Ping timeout: 272 seconds]
codecop has quit [Remote host closed the connection]
pushpak has quit [Quit: Linkinus - http://linkinus.com]
volty has joined #ruby
failshell has quit [Ping timeout: 272 seconds]
drumsrgr8forn8 has joined #ruby
<havenwood> ahaha, #python channel screams the rule: NO PROJECT EULER
momomomomo has quit [Quit: momomomomo]
<havenwood> they must have more homework askers as well
failshel_ has quit [Ping timeout: 245 seconds]
<jblack> vky: check out mechanize
deens has quit [Ping timeout: 240 seconds]
<jblack> I use mechanize for most of my web scraping. it supports cookies, but isn't able to handle javascript
<jblack> a lot of projects use mechanize + nokogiri
sailias has quit [Quit: Leaving.]
chobbit is now known as chobbit[zzz]
<chobbit[zzz]> see you havenwood, thanks for being nice :D
jerius has quit [Read error: Operation timed out]
chobbit[zzz] is now known as chobbit
<havenwood> chobbit[zzz]: have a good one, happy hacking (or sleeping i guess based on zzz's)!
<chobbit> :p
<chobbit> just a notification that im going to sleep, bai!
Xiti has joined #ruby
drumsrgr8forn8 has quit [Ping timeout: 265 seconds]
marcdel has joined #ruby
kaspergrubbe has joined #ruby
mlpinit has quit [Remote host closed the connection]
banisterfiend has joined #ruby
orionstein is now known as orionstein_away
vky has quit [Ping timeout: 245 seconds]
jkline has joined #ruby
DecidedlyAverage has quit [Ping timeout: 245 seconds]
DecidedlyAverage has joined #ruby
c0rn has joined #ruby
scarolan_ has quit [Ping timeout: 265 seconds]
brianpWins has quit [Quit: brianpWins]
Jetchisel has quit [Ping timeout: 260 seconds]
old has quit [Remote host closed the connection]
|PiP| has joined #ruby
kaspergrubbe has quit [Ping timeout: 272 seconds]
jbpros has quit [Quit: jbpros]
vky has joined #ruby
v0n has quit [Ping timeout: 272 seconds]
mercwithamouth has quit [Ping timeout: 248 seconds]
idoru has quit [Read error: Connection reset by peer]
marcdel has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Cheos has joined #ruby
Vivekananda_ has quit [Ping timeout: 248 seconds]
marcdel has joined #ruby
monkegjinni has quit [Remote host closed the connection]
s00pcan has quit [Quit: Lost terminal]
petey__ has quit [Remote host closed the connection]
Kar- has quit [Ping timeout: 272 seconds]
mmitchell has quit [Remote host closed the connection]
s00pcan has joined #ruby
monkegjinni has joined #ruby
petey_ has joined #ruby
mmitchell has joined #ruby
Clooth has quit [Ping timeout: 265 seconds]
monkegjinni has quit [Read error: Operation timed out]
claymore has quit [Quit: Leaving]
burlyscudd has quit [Quit: Leaving.]
|PiP| has quit [Ping timeout: 248 seconds]
<vky> jblack: I was trying that, but I'm doing more API calls than web scraping. I wasn't able to figure out how to use what's returned from a post call.
asteros has quit [Quit: asteros]
monkegjinni has joined #ruby
freezey has quit [Remote host closed the connection]
petey_ has quit [Ping timeout: 272 seconds]
vlad_starkov has quit [Remote host closed the connection]
thesheff17 has quit [Remote host closed the connection]
jbpros has joined #ruby
mmitchell has quit [Ping timeout: 272 seconds]
mixel has joined #ruby
ssvo_ has joined #ruby
kaspergrubbe has joined #ruby
hrs has joined #ruby
thesheff17 has joined #ruby
asteros has joined #ruby
pothibo has quit [Quit: pothibo]
kaspergrubbe has quit [Remote host closed the connection]
kaspergrubbe has joined #ruby
nisstyre has joined #ruby
lewis is now known as Lewix
Lewix has quit [Changing host]
Lewix has joined #ruby
<jblack> With mechanize, the body is stored as a string.
<shevy> guys... any ideas for this http://pastie.org/pastes/8413080/text a blinking cursor
<shevy> how can I make it stop blinking when a user hits any key?
<jblack> I don't know how your api handles transport, but typically a restful response is in the body of the repsonse.
kaspergr_ has joined #ruby
jaynewstrom has quit [Remote host closed the connection]
kaspergrubbe has quit [Read error: Connection reset by peer]
enebo has quit [Quit: enebo]
mansi has joined #ruby
io_syl has quit []
kreeves has joined #ruby
<vky> jblack: I'll take another look at it, thanks.
Bosox20051 has quit [Quit: Leaving]
Spami__ has quit [Read error: Connection timed out]
jbpros has quit [Quit: jbpros]
ehc has quit [Ping timeout: 248 seconds]
v0n has joined #ruby
atno has quit [Read error: No route to host]
ehc has joined #ruby
jalcine_ is now known as jalcine
mansi has quit [Ping timeout: 272 seconds]
s2013_ has quit [Quit: Leaving]
iamjarvo has joined #ruby
deens has joined #ruby
kugelschreiber has quit [Quit: Page closed]
Stalkr_ has quit [Read error: Connection reset by peer]
Kar- has joined #ruby
Alth has joined #ruby
atno has joined #ruby
jb41__ has joined #ruby
hrs has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
Senjai has joined #ruby
<volty> shevy: look at the code i gave you
marcdel has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<shevy> it's so much!
<volty> take what you need
<shevy> ok
<shevy> do you have the link?
deens has quit [Ping timeout: 248 seconds]
<shevy> I cleared all backhistory when I reinstalled everything
Kar- has quit [Ping timeout: 240 seconds]
<volty> i'll look if I have the source ...
danman has quit [Quit: danman]
smlgs has joined #ruby
jb41 has quit [Ping timeout: 260 seconds]
jkamenik has quit [Quit: Leaving.]
saarinen has joined #ruby
Giorgio has quit [Ping timeout: 248 seconds]
pentameter has quit [Read error: Connection reset by peer]
asym has quit [Ping timeout: 240 seconds]
terrellt has quit [Ping timeout: 264 seconds]
i_s has quit [Remote host closed the connection]
i_s has joined #ruby
<shevy> hmm is there a simple way to alias one class method to another? Example:
dangerousdave has quit [Quit: Leaving...]
<shevy> class Foo; def self.bla; puts 'This is bla.'; end; def self.alias_to_bla; Foo.bla; end; end
monkegjinni has quit [Remote host closed the connection]
<shevy> alias_to_bla seems quite verbose, compared to how ruby allows one to use alias for instance methods
monkegjinni has joined #ruby
samuel02 has quit [Remote host closed the connection]
adambeynon has quit [Quit: Textual IRC Client: www.textualapp.com]
samuel02 has joined #ruby
<volty> can't find it now
mmitchell has joined #ruby
justsee has joined #ruby
justsee has joined #ruby
justsee has quit [Changing host]
i_s has quit [Ping timeout: 248 seconds]
kevind has quit [Quit: kevind]
Andrevan has quit [Quit: WeeChat 0.4.2-rc1]
mary5030_ has quit [Ping timeout: 272 seconds]
samsonasu has quit [Quit: samsonasu]
_aeris_ is now known as [_aeris_]
monkegjinni has quit [Ping timeout: 272 seconds]
samuel02 has quit [Ping timeout: 272 seconds]
Senjai is now known as Senjai`home
AlSquire has joined #ruby
julweber_ has joined #ruby
julweber_ has quit [Remote host closed the connection]
julweber has joined #ruby
Jetchisel has joined #ruby
julweber has quit [Read error: Connection reset by peer]
julweber has joined #ruby
mmitchell has quit [Ping timeout: 245 seconds]
drumsrgr8forn8 has joined #ruby
<workmad3> shevy: class << self; alias :whatever :other; end
<workmad3> shevy: or if you're outside the class, class << ClassName; ...; end
<shevy> oh wait
r0bby_ has quit [Read error: Connection reset by peer]
jb41__ has quit [Quit: leaving]
<shevy> aaah
<shevy> the second one works only outside the class?
<shevy> for some reason, I don't like the class << self syntax
<atmosx> Hello
<shevy> atmosx!!!
<atmosx> how's life workmad3 shevy ?
<workmad3> shevy: you can use that inside the class too
tobyo has joined #ruby
<workmad3> shevy: same as you can do 'def Foo.whatever' to define a class method inside the class
<shevy> atmosx a bit better now, I caught the flu but it's now almost passed away
<workmad3> shevy: it's just somewhat more annoying to change if you refactor and change a class name to something more descriptive :)
<shevy> workmad3, ok... let's see
<workmad3> atmosx: not too bad
<atmosx> workmad3: nice
juarlex has joined #ruby
mrsolo has joined #ruby
lfox has quit [Quit: ZZZzzz…]
<workmad3> atmosx: planning a competitive adventure game day with the wife tomorrow :) but also just found out a friend was in a car crash (they messaged us themselves on FB from the hospital though, so doesn't seem too bad)
Guest___ has joined #ruby
apeiros has quit [Remote host closed the connection]
<atmosx> workmad3: wow
kazuuu has joined #ruby
apeiros has joined #ruby
<atmosx> workmad3: busy day, what competitive adventure game is that?
<workmad3> atmosx: well, we're going to both play Machinarium (single player)... the competitive bit is seeing who gets through it quickest :)
zachrab has joined #ruby
jblack has quit [Quit: Lost terminal]
<atmosx> workmad3: nice one
Davey has quit [Quit: Computer has gone to sleep.]
orien has joined #ruby
sepp2k1 has joined #ruby
<atmosx> shevy: did you start playing with rails?
<shevy> atmosx no :(
thesheff17 has quit [Ping timeout: 256 seconds]
<shevy> I got distracted by reinstalling the computer and learning for an exam
zz_tsykoduk is now known as tsykoduk
sepp2k has quit [Ping timeout: 272 seconds]
<atmosx> I see
<atmosx> I need to build something awfully big this time
OdNairy has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<atmosx> and I'm a bit lost, but if it comes out something half-decnet could have many uses, even turn out somewhat actual product
vky has quit [Ping timeout: 245 seconds]
<atmosx> I mean something you could sell as a service
asym has joined #ruby
<atmosx> + I need to start writing my thesis
CorpusCallosum has joined #ruby
<atmosx> but I'm 100% I'll do it on sinatra
clov3r has quit [Remote host closed the connection]
* atmosx download spead is at 666 kb/s (the number of the beast)
clov3r has joined #ruby
<havenwood> oops, forgot to close the escape sequence, fixed*
w3pm has quit [Ping timeout: 268 seconds]
zachrab has quit [Remote host closed the connection]
jbueza has quit [Quit: Textual IRC Client: www.textualapp.com]
w3pm has joined #ruby
popl has joined #ruby
popl has joined #ruby
popl has quit [Changing host]
angusiguess has quit [Ping timeout: 245 seconds]
clov3r has quit [Ping timeout: 272 seconds]
i_s has joined #ruby
Macaveli has quit [Quit: Computer has gone to sleep.]
asym has quit [Read error: Operation timed out]
monkegjinni has joined #ruby
jackjackdrpr has joined #ruby
CorpusCallosum has quit [Quit: Leaving]
nari has joined #ruby
jalcine is now known as jalcine_
burlyscudd has joined #ruby
asteros has quit [Quit: asteros]
jibi has quit [Quit: .]
thesheff17 has joined #ruby
jrhe has joined #ruby
|PiP| has joined #ruby
lukec has quit [Quit: lukec]
yfeldblum has joined #ruby
raul782 has left #ruby [#ruby]
i_s has quit [Ping timeout: 272 seconds]
samsonasu has joined #ruby
justsee has quit [Ping timeout: 272 seconds]
burlyscudd has quit [Ping timeout: 240 seconds]
jlast has joined #ruby
maz-dev has quit [Remote host closed the connection]
freakcult has quit [Ping timeout: 272 seconds]
atmosx has quit [Quit: Lost in trance]
jalcine_ is now known as jalcine
jlast has quit [Remote host closed the connection]
Vivekananda_ has joined #ruby
freakcult has joined #ruby
devdazed has quit [Quit: Bye]
Mars` has quit [Read error: Connection reset by peer]
vky has joined #ruby
Mars` has joined #ruby
c0rn has quit [Quit: Computer has gone to sleep.]
theRoUS has joined #ruby
theRoUS has joined #ruby
theRoUS has quit [Changing host]
jalcine is now known as jalcine_
nari has quit [Ping timeout: 272 seconds]
astrobunny has quit [Ping timeout: 272 seconds]
sailias has joined #ruby
zigomir has quit [Quit: zigomir]
jmkeyes has joined #ruby
siwica has joined #ruby
brennanMKE has quit [Remote host closed the connection]
aspires has quit [Quit: sudo making a sandwich]
simplyaubs has quit [Quit: simplyaubs]
c0rn has joined #ruby
brennanMKE has joined #ruby
tkuchiki has joined #ruby
vky has quit [Ping timeout: 245 seconds]
aspires has joined #ruby
terrellt has joined #ruby
ehc has quit [Quit: ehc]
astrobunny has joined #ruby
brennanMKE has quit [Ping timeout: 245 seconds]
kalesage has joined #ruby
Guest___ is now known as Alc
monkegjinni has quit [Remote host closed the connection]
|PiP| has quit [Ping timeout: 265 seconds]
asteros has joined #ruby
monkegjinni has joined #ruby
barratt has joined #ruby
jkline has quit [Quit: jkline]
predator217 has quit [Ping timeout: 246 seconds]
knigitz has quit [Remote host closed the connection]
knigitz has joined #ruby
monkegjinni has quit [Ping timeout: 248 seconds]
predator117 has joined #ruby
blackmesa has joined #ruby
sambao21 has quit [Ping timeout: 272 seconds]
sailias has quit [Ping timeout: 248 seconds]
devoldmx has joined #ruby
karlfreeman has left #ruby [#ruby]
volty has quit [Quit: Konversation terminated!]
AlSquire has quit [Quit: This computer has gone to sleep]
VTLob has quit [Quit: VTLob]
samsonasu has quit [Quit: samsonasu]
maz-dev has joined #ruby
aspires has quit [Quit: sudo making a sandwich]
c0rn has quit [Ping timeout: 256 seconds]
c0rn has joined #ruby
leynos has joined #ruby
kalesage has quit [Quit: ThrashIRC v2.9 sic populo comunicated]
kirun has quit [Quit: Client exiting]
larissa has quit [Quit: Leaving]
marcdel has joined #ruby
Alc has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
jaimef has quit [Excess Flood]
iamjarvo has quit [Remote host closed the connection]
johnnyfuchs has joined #ruby
iamjarvo has joined #ruby
narcan has joined #ruby
zeropx has quit [Quit: has left the room … Or did he?]
jaimef has joined #ruby
aryaching has joined #ruby
mikeg has joined #ruby
io_syl has joined #ruby
theoretick has quit [Ping timeout: 256 seconds]
|PiP| has joined #ruby
tsykoduk is now known as zz_tsykoduk