ChanServ changed the topic of #ruby to: Rules & more: https://ruby-community.com || Ruby 2.3.1; 2.2.5; 2.1.9: https://ruby-lang.org || Paste >3 lines of text on https://gist.github.com || logs @ https://irclog.whitequark.org/ruby/
Pumukel has quit [Ping timeout: 264 seconds]
Pumukel has joined #ruby
Spami has quit [Quit: This computer has gone to sleep]
symm-_ is now known as symm-
Pumukel has quit [Ping timeout: 260 seconds]
Pumukel has joined #ruby
tdy has joined #ruby
s2013 has joined #ruby
jeanlinux has joined #ruby
symm- has quit [Quit: Leaving...]
Spami has joined #ruby
symm- has joined #ruby
symm- has quit [Client Quit]
Pumukel has quit [Ping timeout: 260 seconds]
symm- has joined #ruby
solocshaw has quit [Remote host closed the connection]
Spami has quit [Quit: This computer has gone to sleep]
Spami has joined #ruby
Spami has quit [Remote host closed the connection]
cd-rum_ has joined #ruby
hahuang61 has joined #ruby
maloik has quit [Remote host closed the connection]
cd-rum has quit [Ping timeout: 244 seconds]
maloik has joined #ruby
frozengeek has quit [Quit: frozengeek]
Miron has quit [Ping timeout: 240 seconds]
The_Phoenix1 has joined #ruby
the_rhizo3 has joined #ruby
Pumukel has joined #ruby
pokalyis has quit [Read error: Connection reset by peer]
Miron has joined #ruby
pokalyis has joined #ruby
The_Phoenix has quit [Ping timeout: 276 seconds]
s2013 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
monoprotic has joined #ruby
Pumukel has quit [Ping timeout: 264 seconds]
kavanagh_ has quit [Quit: That's all folks!]
Pumukel has joined #ruby
monoprotic has quit [Read error: Connection reset by peer]
RedNifre_ has joined #ruby
Spami has joined #ruby
Pumukel has quit [Ping timeout: 260 seconds]
Pumukel has joined #ruby
RedNifre has quit [Ping timeout: 260 seconds]
Derperperd has quit [Quit: Derperperd]
EdwardIII has quit [Ping timeout: 244 seconds]
yfeldblum has quit [Ping timeout: 250 seconds]
solocshaw has joined #ruby
mikecmpbll has quit [Quit: inabit. zz.]
Spami has quit [Quit: This computer has gone to sleep]
mikecmpbll has joined #ruby
hutch34 has joined #ruby
p0p0pr37 has quit [Remote host closed the connection]
EdwardIII has joined #ruby
Pumukel has quit [Ping timeout: 264 seconds]
Pumukel has joined #ruby
Ebok has joined #ruby
s2013 has joined #ruby
blackmesa has quit [Ping timeout: 252 seconds]
mikecmpbll has quit [Quit: inabit. zz.]
mikecmpbll has joined #ruby
mikecmpbll has quit [Client Quit]
monoprotic has joined #ruby
symm- has quit [Quit: Leaving...]
Pumukel has quit [Ping timeout: 260 seconds]
Pumukel has joined #ruby
monoprotic has quit [Client Quit]
monoprotic has joined #ruby
spectrum has quit [Ping timeout: 258 seconds]
toretore has quit [Ping timeout: 276 seconds]
stamina has quit [Ping timeout: 265 seconds]
Vordeqor has quit []
Guest80615 is now known as saneax_AFK
Rodya_ has quit [Remote host closed the connection]
Dimik has joined #ruby
johnny56_ has quit [Ping timeout: 264 seconds]
Neobenedict has quit [Ping timeout: 264 seconds]
symm- has joined #ruby
Neobenedict has joined #ruby
rkazak has quit [Quit: Sleep.....ing....]
Pumukel has quit [Ping timeout: 264 seconds]
tubuliferous_ has joined #ruby
Pumukel has joined #ruby
johnny56_ has joined #ruby
saneax_AFK is now known as saneax
symm- has quit [Client Quit]
saneax is now known as Guest19379
Rodya_ has joined #ruby
rkazak has joined #ruby
Rodya_ has quit [Remote host closed the connection]
tubuliferous_ has quit [Ping timeout: 240 seconds]
johnny56 has joined #ruby
Pumukel has quit [Ping timeout: 260 seconds]
Ropeney has joined #ruby
johnny56_ has quit [Ping timeout: 264 seconds]
Pumukel has joined #ruby
Derperperd has joined #ruby
nankyokusei has joined #ruby
jhooker has quit [Read error: No route to host]
jhooker has joined #ruby
Pumukel has quit [Ping timeout: 260 seconds]
rkazak has quit [Quit: Sleep.....ing....]
Pumukel has joined #ruby
nankyokusei has quit [Ping timeout: 264 seconds]
monoprotic has quit [Quit: bite me]
monoprotic has joined #ruby
Pumukel has quit [Ping timeout: 260 seconds]
Pumukel has joined #ruby
triangles2 has joined #ruby
triangles has quit [Ping timeout: 265 seconds]
martinbjeldbak_ has quit [Quit: Bye!]
tjohnson has joined #ruby
Pumukel has quit [Ping timeout: 260 seconds]
bluOxigen has quit [Ping timeout: 240 seconds]
triangles2 has quit [Quit: Leaving]
SilverKey has quit [Quit: Cheerio!]
davedev24 has quit []
sp__ has quit [Ping timeout: 240 seconds]
jrafanie has joined #ruby
rkazak has joined #ruby
jeanlinux has quit [Remote host closed the connection]
Rutix has quit []
nando293921 has quit [Ping timeout: 264 seconds]
zacts has joined #ruby
Guest19379 is now known as saneax_AFK
jeanlinux has joined #ruby
rkazak has quit [Quit: Sleep.....ing....]
Snowy has quit [Remote host closed the connection]
jeanlinux has quit [Ping timeout: 252 seconds]
cyphase has quit [Ping timeout: 244 seconds]
blackmesa has joined #ruby
hutch34 has quit [Ping timeout: 276 seconds]
rkazak has joined #ruby
cyphase has joined #ruby
blackmesa has quit [Ping timeout: 260 seconds]
hutch34 has joined #ruby
GodFather has quit [Ping timeout: 258 seconds]
astrobun_ has joined #ruby
ericsupreme has joined #ruby
ericsupreme has quit [Client Quit]
spudowiar has quit [Quit: brrrrb]
spudowiar has joined #ruby
icharlie has joined #ruby
jrafanie has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
alfiemax has quit [Ping timeout: 258 seconds]
c355e3b has quit [Quit: Connection closed for inactivity]
Dimik has quit [Ping timeout: 260 seconds]
rajdesai has joined #ruby
mikeiniowa has joined #ruby
alfiemax has joined #ruby
spudowiar has quit [Quit: zzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz]
rajdesai has quit [Remote host closed the connection]
hahuang61 has quit [Ping timeout: 258 seconds]
l4v2 has joined #ruby
eljimbo has joined #ruby
Rodya_ has joined #ruby
s2013 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Rodya_ has quit [Remote host closed the connection]
Rodya_ has joined #ruby
Rodya_ has quit [Remote host closed the connection]
Rodya_ has joined #ruby
Rodya_ has quit [Remote host closed the connection]
Rodya_ has joined #ruby
quakephil has quit [Ping timeout: 265 seconds]
s2013 has joined #ruby
Rodya_ has quit [Remote host closed the connection]
symm- has joined #ruby
diegoviola has quit [Quit: WeeChat 1.5]
Rodya_ has joined #ruby
Madplatypus has joined #ruby
Rodya_ has quit [Remote host closed the connection]
Rodya_ has joined #ruby
solocshaw has quit [Remote host closed the connection]
Rodya_ has quit [Remote host closed the connection]
yfeldblum has joined #ruby
Rodya_ has joined #ruby
Jhan has joined #ruby
Rodya_ has quit [Remote host closed the connection]
zacts has quit [Quit: WeeChat 1.4]
craigp has quit [Ping timeout: 250 seconds]
blackmesa has joined #ruby
pokalyis has quit [Read error: Connection reset by peer]
pokalyis has joined #ruby
<Jhan> Hola, me estoy iniciando como programador ruby y queria saber si este canal es hispano hablante o en su mayoria hablan en ingles?
rajdesai has joined #ruby
johnny56 has quit [Ping timeout: 264 seconds]
the_rhizo3 has quit [Ping timeout: 276 seconds]
johnny56 has joined #ruby
blackmesa has quit [Ping timeout: 258 seconds]
rajdesai has quit [Remote host closed the connection]
Jhan has quit [Quit: Textual IRC Client: www.textualapp.com]
Guest74 has joined #ruby
<Guest74> Hola a todos
<Guest74> alguien me recomienda un libro o tutorial de RoR luego de haber estudiando Ruby?
rajdesai has joined #ruby
tubuliferous_ has joined #ruby
pokalyis has quit [Read error: Connection reset by peer]
pokalyis has joined #ruby
rajdesai has quit [Remote host closed the connection]
sneakerhax has joined #ruby
Immune has quit [Quit: ZzzZZZzzzz]
Immune has joined #ruby
tubuliferous_ has quit [Ping timeout: 250 seconds]
roflmyeggo has joined #ruby
arescorpio has joined #ruby
the_rhizo3 has joined #ruby
soLucien has joined #ruby
jackjackdripper has quit [Quit: Leaving.]
tristanp has joined #ruby
nankyokusei has joined #ruby
s2013 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Ebok has quit [Quit: This computer has gone to sleep]
jishankai has joined #ruby
nankyokusei has quit [Ping timeout: 258 seconds]
ruby[bot] has joined #ruby
Pumukel has joined #ruby
rajdesai has joined #ruby
soulisson has quit [Quit: Quitte]
rajdesai_ has joined #ruby
rajdesai_ has quit [Read error: Connection reset by peer]
rajdesai_ has joined #ruby
rajdesai_ has quit [Read error: Connection reset by peer]
tristanp has quit [Remote host closed the connection]
rajdesai_ has joined #ruby
rajdesai_ has quit [Read error: Connection reset by peer]
Pumukel has quit [Ping timeout: 264 seconds]
nando293921 has joined #ruby
rajdesai_ has joined #ruby
rajdesai_ has quit [Read error: Connection reset by peer]
rajdesai has quit [Read error: Connection reset by peer]
rajdesai has joined #ruby
Mia has joined #ruby
Axy has quit [Ping timeout: 240 seconds]
solocshaw has joined #ruby
roamingdog has joined #ruby
sdothum has quit [Quit: ZNC - 1.6.0 - http://znc.in]
quakephil has joined #ruby
rsampaio_ has joined #ruby
hutch34 has quit [Ping timeout: 264 seconds]
bluOxigen has joined #ruby
roamingdog has quit [Remote host closed the connection]
jeanlinux has joined #ruby
dmitrij_4459 has quit [Quit: 0x219fe8830]
rajdesai has quit [Remote host closed the connection]
beilabs has joined #ruby
beilabs has quit [Read error: Connection reset by peer]
MrBusiness2 has quit [Ping timeout: 250 seconds]
beilabs has joined #ruby
gix has quit [Ping timeout: 244 seconds]
MrBusiness2 has joined #ruby
jeanlinux has quit [Ping timeout: 250 seconds]
tjohnson has quit [Quit: Connection closed for inactivity]
MrBusiness3 has joined #ruby
s2013 has joined #ruby
gix has joined #ruby
dreamyspell has quit [Quit: Leaving]
nando293921 has quit [Quit: Lost terminal]
lxsameer has quit [Quit: WeeChat 1.5]
blackmesa has joined #ruby
MrBusiness2 has quit [Ping timeout: 250 seconds]
MrBusiness2 has joined #ruby
nando293921 has joined #ruby
elifoster has quit [Quit: done for the night]
MrBusiness3 has quit [Ping timeout: 250 seconds]
blackmesa has quit [Ping timeout: 250 seconds]
Rodya_ has joined #ruby
nando293921 has quit [Ping timeout: 244 seconds]
Rodya_ has quit [Remote host closed the connection]
MrBusiness3 has joined #ruby
MrBusiness2 has quit [Ping timeout: 250 seconds]
solocshaw has quit [Ping timeout: 240 seconds]
MrBusiness3 has quit [Ping timeout: 250 seconds]
hk238 has joined #ruby
symm- has quit [Ping timeout: 250 seconds]
pokalyis has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
pokalyis has joined #ruby
jackjackdripper has joined #ruby
daffy_duck has joined #ruby
jamal7 has joined #ruby
LoneHerm_ has joined #ruby
SilverKey has joined #ruby
alfiemax has quit [Ping timeout: 265 seconds]
jamal7 has left #ruby ["AndroIRC"]
pokalyis has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
nando293921 has joined #ruby
tubuliferous_ has joined #ruby
pokalyis has joined #ruby
SilverKey has quit [Quit: Halted.]
yfeldblum has quit [Remote host closed the connection]
tubuliferous_ has quit [Ping timeout: 258 seconds]
yfeldblum has joined #ruby
p0p0pr37 has joined #ruby
Rutix has joined #ruby
Rutix has quit [Changing host]
Rutix has joined #ruby
crystal77 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
ec0 has joined #ruby
rkazak has quit [Quit: Sleep.....ing....]
icharlie has quit [Remote host closed the connection]
tmtwd has joined #ruby
conta has joined #ruby
Spami has joined #ruby
pokalyis has quit [Read error: Connection reset by peer]
pokalyis has joined #ruby
millerti has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
blackmesa has joined #ruby
agent_white has joined #ruby
<agent_white> Reporting in
qguv has joined #ruby
blackmesa has quit [Ping timeout: 265 seconds]
Cohedrin has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
lel has quit [Read error: Connection reset by peer]
bluOxigen has quit [Ping timeout: 252 seconds]
roflmyeggo has quit [Quit: Lost terminal]
Z3N1T has quit [Ping timeout: 240 seconds]
bluOxigen has joined #ruby
xaxisx has quit [Ping timeout: 265 seconds]
nankyokusei has joined #ruby
lel has joined #ruby
lel has quit [Read error: Connection reset by peer]
conta has quit [Ping timeout: 240 seconds]
hahuang61 has joined #ruby
djbkd has joined #ruby
nankyokusei has quit [Ping timeout: 244 seconds]
arescorpio has quit [Quit: Leaving.]
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
jenrzzz has joined #ruby
exadeci has joined #ruby
lel has joined #ruby
s2013 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
hahuang61 has quit [Ping timeout: 250 seconds]
blaxter has joined #ruby
xaxisx has joined #ruby
Pumukel has joined #ruby
loechel has joined #ruby
kreas has joined #ruby
Pumukel has quit [Ping timeout: 264 seconds]
loechel has quit [Ping timeout: 264 seconds]
Pumukel has joined #ruby
kreas has quit [Ping timeout: 244 seconds]
Pumukel has quit [Ping timeout: 260 seconds]
Pumukel has joined #ruby
nando293921 has quit [Ping timeout: 244 seconds]
Pumukel has quit [Ping timeout: 260 seconds]
Pumukel has joined #ruby
danman has joined #ruby
Cohedrin has joined #ruby
jhooker has quit [Ping timeout: 252 seconds]
jhooker has joined #ruby
Pumukel has quit [Ping timeout: 260 seconds]
Pumukel has joined #ruby
Miron has quit [Ping timeout: 240 seconds]
<hanmac> hey others, what was the bot command to notice someone about PingTimeout problems?
sulky has quit [Ping timeout: 260 seconds]
Miron has joined #ruby
pawnbox has joined #ruby
sulky has joined #ruby
SuperLag_ has joined #ruby
Pumukel has quit [Ping timeout: 264 seconds]
A124 has quit [Ping timeout: 264 seconds]
rajdesai has joined #ruby
Pumukel has joined #ruby
SuperLag has quit [Ping timeout: 240 seconds]
hahuang61 has joined #ruby
rippa has joined #ruby
SuperLag_ has quit [Ping timeout: 265 seconds]
SuperLag has joined #ruby
joonty has joined #ruby
Pumukel has quit [Ping timeout: 260 seconds]
jarred has quit [Quit: Connection closed for inactivity]
bougyman has joined #ruby
Pumukel has joined #ruby
bougyman is now known as Guest7118
Dimik has joined #ruby
blackmesa has joined #ruby
Guest7118 has quit [Changing host]
Guest7118 has joined #ruby
Guest7118 is now known as bougyman
jswe has joined #ruby
rajdesai has quit [Remote host closed the connection]
Pumukel has quit [Ping timeout: 260 seconds]
Spami has quit [Quit: This computer has gone to sleep]
blackmesa has quit [Ping timeout: 265 seconds]
rajdesai has joined #ruby
lightheaded has quit [Remote host closed the connection]
lightheaded has joined #ruby
lightheaded has quit [Read error: Connection reset by peer]
lightheaded has joined #ruby
daffy_duck_2 has joined #ruby
craigp has joined #ruby
sneakerhax has quit [Quit: Back later]
agent_white has quit [Read error: Connection reset by peer]
daffy_duck has quit [Ping timeout: 264 seconds]
yfeldblum has quit [Remote host closed the connection]
hahuang61 has quit [Quit: WeeChat 1.5]
lightheaded has quit [Ping timeout: 258 seconds]
jenrzzz has quit [Ping timeout: 258 seconds]
Alina-malina has quit [Max SendQ exceeded]
agent_white has joined #ruby
agent_white has quit [Client Quit]
Alina-malina has joined #ruby
lxsameer has joined #ruby
agent_white has joined #ruby
Alina-malina has quit [Changing host]
Alina-malina has joined #ruby
jgt has joined #ruby
hahuang61 has joined #ruby
etehtsea has joined #ruby
lightheaded has joined #ruby
tristanp_ has joined #ruby
tristanp_ has quit [Remote host closed the connection]
tristanp has joined #ruby
last_staff has joined #ruby
firstdayonthejob has joined #ruby
conta has joined #ruby
tubuliferous_ has joined #ruby
tubuliferous_ has quit [Ping timeout: 250 seconds]
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
jenrzzz has joined #ruby
yfeldblum has joined #ruby
joonty has quit [Quit: This computer has gone to sleep]
LoneHerm_ has quit [Remote host closed the connection]
rippa has quit [Ping timeout: 264 seconds]
EnergyCoffee has joined #ruby
EnergyCoffee has quit [Max SendQ exceeded]
yardenbar has joined #ruby
rkazak has joined #ruby
tildes has joined #ruby
EnergyCoffee has joined #ruby
EnergyCoffee has quit [Max SendQ exceeded]
ddffg has joined #ruby
ddffg has left #ruby [#ruby]
<tildes> hello, good morning
EnergyCoffee has joined #ruby
EnergyCoffee has quit [Max SendQ exceeded]
<tildes> I'd need to run a system command from ruby, and I need to check the exit code. Some sources recommend $?.to_i for this, however, I wonder if it's thread safe? I'm not sure if I have reason to assume that
EnergyCoffee has joined #ruby
EnergyCoffee has quit [Max SendQ exceeded]
<tildes> what I am looking for, is a thread-safe way to check the exit code for the system command, just to keep clear
jeanlinux has joined #ruby
<Ropeney> is the command run in the thread your checking it in?
aufi has joined #ruby
EnergyCoffee has joined #ruby
EnergyCoffee has quit [Max SendQ exceeded]
lukebyrne has joined #ruby
<tildes> Ropeney: yes
<Ropeney> tildes, then it should be fine
<matthewd> Without checking, I'd assume it is; most of the pseudo-globals are Not What They Appear
<tildes> Ropeney, matthewd: so it the Seemingly Global Variable could really exist only in the scope of that method/block?
<tildes> interesting. thanks :D
EnergyCoffee has joined #ruby
EnergyCoffee has quit [Max SendQ exceeded]
ignazioc has joined #ruby
<ignazioc> Hi all. I have an hash like { a: 42, b:34, c:, 55} . Is there any method to generate an array that contains only the value for some keys? So far I’m looping but I feel there should be something more elegant.
<matthewd> tildes: Indeed. That's definitely true for $1 and friends, for example.
<tildes> matthewd: ok, didn't know about that :)
<matthewd> ignazioc: values_at
EnergyCoffee has joined #ruby
EnergyCoffee has quit [Max SendQ exceeded]
<ignazioc> matthewd: looks good!
Madplatypus has quit [Quit: Connection closed for inactivity]
jeanlinux has quit [Ping timeout: 276 seconds]
SCHAAP137 has quit [Remote host closed the connection]
aidalgol has joined #ruby
firstdayonthejob has quit [Ping timeout: 244 seconds]
lukebyrne has quit [Quit: lukebyrne]
andikr has joined #ruby
lukebyrne has joined #ruby
jhooker has quit [Ping timeout: 244 seconds]
submitnine has joined #ruby
mozzarella has quit [Remote host closed the connection]
mozzarella has joined #ruby
tmtwd has quit [Ping timeout: 258 seconds]
selu has joined #ruby
aganov has joined #ruby
blackmesa has joined #ruby
kavanagh has joined #ruby
kavanagh is now known as kavanagh_
lukebyrne has quit [Quit: lukebyrne]
Cohedrin has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Bish has quit [Read error: Connection reset by peer]
Bish has joined #ruby
Cohedrin has joined #ruby
icharlie has joined #ruby
blackmesa has quit [Ping timeout: 260 seconds]
<tildes> Ropeney: +1
kavanagh_ has quit [Quit: That's all folks!]
solars has joined #ruby
dvinciguerra has joined #ruby
edwinvdgraaf has joined #ruby
vondruch has quit [Ping timeout: 265 seconds]
dvinciguerra has left #ruby [#ruby]
lightheaded has quit [Remote host closed the connection]
dvinciguerra has joined #ruby
lightheaded has joined #ruby
ignazioc has quit [Quit: ignazioc]
claudiuinberlin has joined #ruby
Bish has quit [Quit: leaving]
tmtwd has joined #ruby
Guest74 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
ta_ has joined #ruby
icharlie has quit [Remote host closed the connection]
icharlie has joined #ruby
djbkd has quit [Remote host closed the connection]
icharlie has quit []
tubuliferous_ has joined #ruby
antgel has joined #ruby
tubuliferous_ has quit [Ping timeout: 244 seconds]
Cohedrin has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Silthias has joined #ruby
jenrzzz has quit [Ping timeout: 250 seconds]
hahuang61 has quit [Ping timeout: 258 seconds]
LoneHerm_ has joined #ruby
rsampaio_ has quit [Ping timeout: 264 seconds]
postmodern has quit [Remote host closed the connection]
the_rhizo3 has quit [Ping timeout: 258 seconds]
pokalyis has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
LoneHerm_ has quit [Ping timeout: 240 seconds]
Ropeney has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
thomas1 has joined #ruby
jaruga___ has joined #ruby
crdpink has quit [Ping timeout: 250 seconds]
jaruga___ is now known as jaruga
seventy has quit [Ping timeout: 252 seconds]
duncannz has joined #ruby
rajdesai has quit [Remote host closed the connection]
thomas1 is now known as thomas
rajdesai has joined #ruby
rajdesai has quit [Remote host closed the connection]
vondruch has joined #ruby
mim1k has joined #ruby
etehtsea has quit [Read error: Connection reset by peer]
Pumukel has joined #ruby
duncannz has quit [Quit: Leaving]
duncannz has joined #ruby
duncannz has quit [Max SendQ exceeded]
duncannz has joined #ruby
Pumukel has quit [Ping timeout: 260 seconds]
rkazak has quit [Quit: Sleep.....ing....]
yfeldblum has quit [Ping timeout: 250 seconds]
blackmesa has joined #ruby
AlexRussia has joined #ruby
mikecmpbll has joined #ruby
saneax_AFK is now known as saneax
saneax is now known as Guest34773
joonty has joined #ruby
blackmesa has quit [Ping timeout: 258 seconds]
A_Drone has joined #ruby
pawnbox has quit [Remote host closed the connection]
Burgestrand has joined #ruby
lightheaded has quit [Read error: Connection reset by peer]
lightheaded has joined #ruby
ledestin has joined #ruby
A_Drone has quit [Remote host closed the connection]
Guest34773 is now known as saneax_AFK
Dimik has quit [Ping timeout: 258 seconds]
elaptics has joined #ruby
pawnbox has joined #ruby
l4v2 has quit [Quit: l4v2]
aryaching has quit [Remote host closed the connection]
A_Drone has joined #ruby
Derperperd has quit [Quit: Derperperd]
tomphp has joined #ruby
mrgrieves has joined #ruby
blackmesa has joined #ruby
jaruga___ has joined #ruby
jaruga___ has quit [Remote host closed the connection]
jaruga___ has joined #ruby
der-landgraf has quit [Ping timeout: 240 seconds]
jaruga has quit [Ping timeout: 240 seconds]
moredhel has joined #ruby
nikivi has joined #ruby
hahuang61 has joined #ruby
quiqua has joined #ruby
skade has joined #ruby
ta_ has quit [Remote host closed the connection]
LoneHermit has joined #ruby
hahuang61 has quit [Ping timeout: 250 seconds]
blackgoat has joined #ruby
noodle has quit [Quit: /quit]
AlexRussia has quit [Ping timeout: 244 seconds]
LoneHermit has quit [Ping timeout: 252 seconds]
rmcclain has joined #ruby
jishankai has quit [Ping timeout: 244 seconds]
<rmcclain> exit
rmcclain has quit [Client Quit]
jeanlinux has joined #ruby
rmcclain has joined #ruby
rmcclain has left #ruby [#ruby]
mixtli has joined #ruby
Hyuk has joined #ruby
noodle has joined #ruby
etehtsea has joined #ruby
jeanlinux has quit [Ping timeout: 244 seconds]
tmtwd has quit [Ping timeout: 265 seconds]
etehtsea has quit [Read error: Connection reset by peer]
TomyWork has joined #ruby
jishankai has joined #ruby
pmyjavec has joined #ruby
ta_ has joined #ruby
astrobun_ has quit [Remote host closed the connection]
A_Drone has quit [Remote host closed the connection]
jackjackdripper has quit [Quit: Leaving.]
beilabs_ has joined #ruby
jeanlinux has joined #ruby
A_Drone has joined #ruby
A_Drone has quit [Remote host closed the connection]
A_Drone has joined #ruby
beilabs has quit [Ping timeout: 258 seconds]
Snowy has joined #ruby
sp_ has joined #ruby
Coldblackice has quit [Ping timeout: 265 seconds]
jaruga___ has quit [Remote host closed the connection]
AlexRussia has joined #ruby
jaruga___ has joined #ruby
A_Drone has quit [Remote host closed the connection]
A_Drone has joined #ruby
jeanlinux has quit [Remote host closed the connection]
antgel has quit [Ping timeout: 276 seconds]
antgel has joined #ruby
skade has quit [Read error: Connection reset by peer]
skade has joined #ruby
pandaant has joined #ruby
Pumukel has joined #ruby
danman has quit [Quit: danman]
kavanagh has joined #ruby
kavanagh is now known as kavanagh_
agent_white has quit [Quit: night]
Pumukel has quit [Ping timeout: 264 seconds]
mim1k has quit [Ping timeout: 250 seconds]
Pumukel has joined #ruby
skade has quit [Quit: Computer has gone to sleep.]
der-landgraf has joined #ruby
craigp has quit [Ping timeout: 264 seconds]
pmyjavec has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Pumukel has quit [Ping timeout: 260 seconds]
Pumukel has joined #ruby
webus has joined #ruby
mim1k has joined #ruby
solocshaw has joined #ruby
jenrzzz has joined #ruby
skade has joined #ruby
kirun has joined #ruby
Pumukel has quit [Ping timeout: 260 seconds]
bweston92 has joined #ruby
Burgestrand has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
pmyjavec has joined #ruby
jenrzzz has quit [Ping timeout: 240 seconds]
govg has quit [Quit: leaving]
A_Drone has quit [Remote host closed the connection]
solocshaw has quit [Ping timeout: 260 seconds]
Pumukel has joined #ruby
etehtsea has joined #ruby
Pumukel has quit [Ping timeout: 260 seconds]
ignazioc has joined #ruby
Pumukel has joined #ruby
workmad3 has joined #ruby
sp_ has quit [Ping timeout: 265 seconds]
Pumukel has quit [Ping timeout: 260 seconds]
Pumukel has joined #ruby
pmyjavec has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
rippa has joined #ruby
craigp has joined #ruby
skade has quit [Quit: Computer has gone to sleep.]
toretore has joined #ruby
duncannz has quit [Remote host closed the connection]
DaniG2k has joined #ruby
Pumukel has quit [Ping timeout: 260 seconds]
blackmesa has quit [Ping timeout: 240 seconds]
skade has joined #ruby
stamina has joined #ruby
Pumukel has joined #ruby
rubycoffee has joined #ruby
Pumukel has quit [Ping timeout: 264 seconds]
Pumukel has joined #ruby
skade has quit [Quit: Computer has gone to sleep.]
depesz has joined #ruby
Pumukel has quit [Ping timeout: 260 seconds]
Pumukel has joined #ruby
blackmesa has joined #ruby
mim1k has quit [Ping timeout: 265 seconds]
Pumukel has quit [Ping timeout: 264 seconds]
Pumukel has joined #ruby
blackmesa has quit [Ping timeout: 244 seconds]
The_Phoenix1 has quit [Read error: Connection reset by peer]
rprimus has joined #ruby
The_Phoenix has joined #ruby
Pumukel has quit [Ping timeout: 264 seconds]
The_Phoenix has quit [Max SendQ exceeded]
Pumukel has joined #ruby
The_Phoenix has joined #ruby
Pumukel has quit [Ping timeout: 260 seconds]
sp__ has joined #ruby
tvw has joined #ruby
sdothum has joined #ruby
rodfersou has joined #ruby
pmyjavec has joined #ruby
ec0 has quit [Ping timeout: 258 seconds]
Pumukel has joined #ruby
loechel has joined #ruby
pmyjavec has quit [Client Quit]
etehtsea has quit [Ping timeout: 258 seconds]
Pumukel_ has joined #ruby
Pumukel has quit [Ping timeout: 260 seconds]
pawnbox has quit [Remote host closed the connection]
hahuang61 has joined #ruby
pmyjavec has joined #ruby
Pumukel has joined #ruby
loechel has quit [Ping timeout: 260 seconds]
pmyjavec has quit [Client Quit]
jenrzzz has joined #ruby
loechel has joined #ruby
Pumukel_ has quit [Ping timeout: 260 seconds]
Hyuk has quit [Quit: Textual IRC Client: www.textualapp.com]
ddffg has joined #ruby
hahuang61 has quit [Ping timeout: 260 seconds]
Pumukel has quit [Ping timeout: 264 seconds]
joonty has quit [Quit: This computer has gone to sleep]
jenrzzz has quit [Ping timeout: 244 seconds]
Pumukel has joined #ruby
pawnbox has joined #ruby
loechel has quit [Ping timeout: 260 seconds]
Hyuk has joined #ruby
cd-rum_ has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
loechel has joined #ruby
Pumukel has quit [Ping timeout: 260 seconds]
TomyWork has quit [Remote host closed the connection]
ddffg has quit [Quit: Leaving]
Pumukel has joined #ruby
blackmesa has joined #ruby
habitullence has joined #ruby
loechel has quit [Ping timeout: 240 seconds]
DaniG2k has quit [Quit: leaving]
ddffg has joined #ruby
palus has joined #ruby
loechel has joined #ruby
c355e3b has joined #ruby
aidalgol has quit [Quit: zZzZzZZZzz]
ruskie has quit [Excess Flood]
Pumukel has quit [Ping timeout: 260 seconds]
roamingdog has joined #ruby
loechel has quit [Ping timeout: 260 seconds]
Pumukel has joined #ruby
Rodya_ has joined #ruby
joonty has joined #ruby
rodfersou has quit [Ping timeout: 258 seconds]
pawnbox has quit [Ping timeout: 276 seconds]
ddffg has quit [Quit: Leaving]
mim1k has joined #ruby
roamingdog has quit [Ping timeout: 250 seconds]
Pumukel has quit [Ping timeout: 264 seconds]
ignazioc has quit [Quit: ignazioc]
Pumukel has joined #ruby
Rodya_ has quit [Remote host closed the connection]
fmcgeough has joined #ruby
fmcgeough has quit [Client Quit]
Rodya_ has joined #ruby
loechel has joined #ruby
GodFather has joined #ruby
Pumukel has quit [Ping timeout: 260 seconds]
joonty has quit [Quit: This computer has gone to sleep]
roamingdog has joined #ruby
roamingdog has quit [Remote host closed the connection]
joonty has joined #ruby
roamingdog has joined #ruby
ruskie has joined #ruby
blackmesa has quit [Ping timeout: 265 seconds]
pawnbox has joined #ruby
hanmac has quit [Ping timeout: 258 seconds]
symm- has joined #ruby
kavanagh_ has quit [Quit: That's all folks!]
rodfersou has joined #ruby
Snowy has quit [Remote host closed the connection]
lightheaded has quit [Remote host closed the connection]
joonty has quit [Quit: This computer has gone to sleep]
quiqua has quit [Quit: Textual IRC Client: www.textualapp.com]
ldnunes has joined #ruby
flughafen has joined #ruby
lupine has quit [Ping timeout: 250 seconds]
tubuliferous_ has joined #ruby
lightheaded has joined #ruby
lkb has joined #ruby
hanmac has joined #ruby
ignazioc has joined #ruby
lightheaded has quit [Remote host closed the connection]
Vingador has joined #ruby
tubuliferous_ has quit [Ping timeout: 276 seconds]
loechel has quit [Remote host closed the connection]
SilverKey has joined #ruby
dvinciguerra has quit [Quit: dvinciguerra]
ignazioc has quit [Quit: ignazioc]
lkb has quit [Quit: Leaving]
mim1k has quit [Ping timeout: 244 seconds]
Pumukel has joined #ruby
mim1k has joined #ruby
lupine has joined #ruby
loechel has joined #ruby
skade has joined #ruby
Pumukel has quit [Ping timeout: 260 seconds]
rubycoffee has quit [Ping timeout: 264 seconds]
Pumukel has joined #ruby
lkb has joined #ruby
roamingdog has quit [Read error: Connection reset by peer]
loechel has quit [Ping timeout: 260 seconds]
lightheaded has joined #ruby
icbm has joined #ruby
lkb_ has joined #ruby
lkb has quit [Client Quit]
lkb_ has quit [Read error: Connection reset by peer]
lkb has joined #ruby
johnmilton has joined #ruby
loechel has joined #ruby
Pumukel has quit [Ping timeout: 260 seconds]
lightheaded has quit [Remote host closed the connection]
Pumukel has joined #ruby
lightheaded has joined #ruby
fmcgeough has joined #ruby
lxsameer has quit [Quit: WeeChat 1.5]
Ishido has joined #ruby
Pumukel_ has joined #ruby
ddffgg has joined #ruby
c0mrad3 has joined #ruby
ddffgg has left #ruby [#ruby]
ddffgg has joined #ruby
loechel has quit [Ping timeout: 260 seconds]
loechel has joined #ruby
Pumukel has quit [Ping timeout: 260 seconds]
lightheaded has quit [Ping timeout: 264 seconds]
lightheaded has joined #ruby
ddffgg has left #ruby [#ruby]
ddffgg has joined #ruby
ddffgg has left #ruby [#ruby]
Pumukel has joined #ruby
lkb has quit [Quit: Leaving]
lkb has joined #ruby
Pumukel_ has quit [Ping timeout: 260 seconds]
Pumukel_ has joined #ruby
lightheaded has quit [Remote host closed the connection]
tdy has quit [Quit: tdy]
symm- has quit [Quit: Leaving...]
saneax_AFK is now known as saneax
loechel has quit [Ping timeout: 276 seconds]
saneax is now known as Guest81752
blackgoat has quit [Quit: WeeChat 1.5]
Pumukel has quit [Ping timeout: 264 seconds]
loechel has joined #ruby
hightower2 has quit [Ping timeout: 258 seconds]
beilabs has joined #ruby
Pumukel_ has quit [Ping timeout: 264 seconds]
Pumukel has joined #ruby
ltp has quit [Ping timeout: 258 seconds]
ltp has joined #ruby
loechel has quit [Ping timeout: 264 seconds]
last_staff1 has joined #ruby
beilabs_ has quit [Ping timeout: 252 seconds]
last_staff has quit [Ping timeout: 240 seconds]
last_staff1 is now known as last_staff
loechel has joined #ruby
icbm has quit [Quit: Computer sleeping]
Pumukel has quit [Ping timeout: 264 seconds]
lkb has quit [Quit: Leaving]
lkb has joined #ruby
Pumukel has joined #ruby
jaiks has quit [Ping timeout: 250 seconds]
stamina has quit [Ping timeout: 244 seconds]
blackmesa has joined #ruby
antgel has quit [Ping timeout: 252 seconds]
loechel has quit [Ping timeout: 260 seconds]
antgel has joined #ruby
solocshaw has joined #ruby
tdy has joined #ruby
roamingdog has joined #ruby
blackmesa has quit [Ping timeout: 265 seconds]
lightheaded has joined #ruby
roamingdog has quit [Remote host closed the connection]
hahuang61 has joined #ruby
roamingdog has joined #ruby
ddffg has joined #ruby
dvinciguerra has joined #ruby
solocshaw has quit [Ping timeout: 276 seconds]
olspookishmagus has joined #ruby
SilverKey has quit [Quit: Halted.]
jaiks has joined #ruby
gnufied has joined #ruby
Guest81752 is now known as saneax_AFK
the_drow has joined #ruby
Burgestrand has joined #ruby
SilverKey has joined #ruby
hahuang61 has quit [Ping timeout: 258 seconds]
lkb has quit [Quit: Leaving]
mim1k has quit [Ping timeout: 260 seconds]
Coldblackice has joined #ruby
Pumukel has quit [Ping timeout: 260 seconds]
lkb has joined #ruby
Dry_Lips has quit [Ping timeout: 240 seconds]
lkb has quit [Read error: Connection reset by peer]
lkb has joined #ruby
lkb has quit [Remote host closed the connection]
lightheaded has quit [Remote host closed the connection]
lkb has joined #ruby
lightheaded has joined #ruby
Pumukel has joined #ruby
lkb has quit [Remote host closed the connection]
Dry_Lips has joined #ruby
Dry_Lips has quit [Changing host]
Dry_Lips has joined #ruby
jishankai has quit [Ping timeout: 240 seconds]
loechel has joined #ruby
cout has joined #ruby
Burgestrand has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
lightheaded has quit [Ping timeout: 276 seconds]
azor has quit [Quit: Connection closed for inactivity]
Pumukel has quit [Ping timeout: 264 seconds]
dvinciguerra has quit [Ping timeout: 264 seconds]
Pumukel_ has joined #ruby
nikivi has quit [Quit: irc]
lightheaded has joined #ruby
<cout> if I have an array of paths '/path/to/.../file.ext', is there a concise transform to '/some/other/path/...file.ext' (preferably something a little more sophisticated than just String#gsub)
<tobiasvl> sophisticated how
<tobiasvl> what do you want to do exactly?
<apeiros> there's Pathname which helps with path manipulation
<apeiros> I usually just use string manipulation, though
<cout> I have a hierarchy of filenames in one directory and I want the exact same hierarchy in another directory
<apeiros> most often even with slicing, e.g. path[0,base_length] = new_base
Pumukel has joined #ruby
etehtsea has joined #ruby
<tobiasvl> cout: then what's wrong with gsub
loechel has quit [Ping timeout: 260 seconds]
<cout> so filename.gsub(%r{/path/to/}, '/some/other/path/') would work but it assumes a canonical form for all the filenames (e.g. it fails if my input is '/path//to/some/file.ext')
<tobiasvl> aha
jenrzzz has joined #ruby
__acher__ has joined #ruby
<cout> I'm sure there are other corner cases but if someone else has already thought about them, all the better for me :)
spiette has joined #ruby
loechel has joined #ruby
Pumukel_ has quit [Ping timeout: 260 seconds]
__acher_` has joined #ruby
Burgestrand has joined #ruby
jaruga___ has quit [Ping timeout: 250 seconds]
beilabs has quit [Remote host closed the connection]
Pumukel_ has joined #ruby
beilabs has joined #ruby
Pumukel has quit [Ping timeout: 260 seconds]
hopsoft has joined #ruby
jenrzzz has quit [Ping timeout: 258 seconds]
Pumukel has joined #ruby
<cout> what I've got so far is: Pathname.new('/some/other/path').join(Pathname.new('/path/to/some/file.ext').relative_path_from(Pathname.new('/path/to')))
<cout> but this seems somewhat verbose to me
loechel has quit [Ping timeout: 260 seconds]
flying has joined #ruby
__acher__ has quit [Remote host closed the connection]
__acher_` has quit [Remote host closed the connection]
mixtli has quit [Ping timeout: 252 seconds]
Pumukel_ has quit [Ping timeout: 260 seconds]
tvw has quit [Ping timeout: 250 seconds]
beilabs has quit [Ping timeout: 258 seconds]
Hyuk has quit [Quit: Textual IRC Client: www.textualapp.com]
jeanlinux has joined #ruby
vdamewood has joined #ruby
Pumukel has quit [Ping timeout: 260 seconds]
loechel has joined #ruby
blackmesa has joined #ruby
jhooker has joined #ruby
Pumukel has joined #ruby
Pumukel_ has joined #ruby
loechel has quit [Ping timeout: 260 seconds]
cdg has joined #ruby
loechel has joined #ruby
Pumukel has quit [Ping timeout: 260 seconds]
the_drow has quit [Quit: This computer has gone to sleep]
Pumukel has joined #ruby
Pumukel_ has quit [Ping timeout: 260 seconds]
ChiefAlexander has joined #ruby
cd-rum has joined #ruby
mim1k has joined #ruby
Zeldhoron has joined #ruby
Pumukel_ has joined #ruby
last_staff has quit [Quit: last_staff]
<darix> cout: just shelling out to rsync is not an option i guess?
etehtsea has quit [Quit: Computer has gone to sleep.]
<Zeldhoron> i'm new to ruby (reading 7 languages in 7 weeks) and i have a bug i can't figure out to do with a creating a tree
the_rhizo3 has joined #ruby
loechel has quit [Ping timeout: 264 seconds]
tubuliferous_ has joined #ruby
loechel has joined #ruby
ramortegui has joined #ruby
<ruby[bot]> Zeldhoron: we in #ruby do not like pastebin.com, I reposted your paste to gist for you: https://gist.github.com/63446b11880df7ac961f8a747d3dba94
<ruby[bot]> Zeldhoron: pastebin.com loads slowly for most, has ads which are distracting and has terrible formatting.
cd-rum_ has joined #ruby
<cout> darix: I'm not just copying the files; I need the actual filenames
<darix> cout: tbh your pathname line aint too bad for that.
Pumukel has quit [Ping timeout: 264 seconds]
tvw has joined #ruby
cd-rum has quit [Ping timeout: 260 seconds]
Pumukel has joined #ruby
Pumukel_ has quit [Ping timeout: 264 seconds]
ponga has joined #ruby
loechel has quit [Ping timeout: 264 seconds]
tubuliferous_ has quit [Ping timeout: 252 seconds]
tyang has joined #ruby
<jhass> Zeldhoron: are we supposed to guess your issue? :)
loechel has joined #ruby
eljimbo has quit [Quit: This computer has gone to sleep]
<Zeldhoron> if i run that script it outputs: grandpa dad child1 'blank line' 'blank line' child3 'blank line' blank line'
buddhabrot_ has joined #ruby
hutch34 has joined #ruby
ddffg has quit [Quit: Leaving]
danman has joined #ruby
<Zeldhoron> it should output: "grandpa dad child1 child2 uncle child3 child4" or something similar (not neccesarry that order)
millerti has joined #ruby
A124 has joined #ruby
Pumukel_ has joined #ruby
lightheaded has quit [Remote host closed the connection]
blackmesa has quit [Ping timeout: 252 seconds]
Pumukel has quit [Ping timeout: 264 seconds]
nankyokusei has joined #ruby
pawnbox has quit [Remote host closed the connection]
millerti has quit [Max SendQ exceeded]
<jhass> {'dad'=>{'child1'=>{},'child2'=>{}} what does other.first return here?
Pumukel has joined #ruby
<jhass> in other words what does key and children become?
loechel has quit [Ping timeout: 260 seconds]
<Zeldhoron> key='dad' chidlren={'child1'=>{},'child2'=>{}}
<jhass> and children.values ?
biberu has joined #ruby
<Zeldhoron> nil ?
<jhass> no
<Zeldhoron> i'm confused lol
<jhass> well, open irb and play around with it
<Zeldhoron> ok
loechel has joined #ruby
Pumukel_ has quit [Ping timeout: 260 seconds]
nankyokusei has quit [Ping timeout: 244 seconds]
buddhabrot_ has left #ruby [#ruby]
<Zeldhoron> i see my error now
<jhass> cool :)
<Zeldhoron> thx :)
<jhass> yw
Pumukel has quit [Ping timeout: 260 seconds]
joonty has joined #ruby
shiv1 has joined #ruby
Pumukel has joined #ruby
banisterfiend has joined #ruby
byteflame has joined #ruby
cdg has quit []
loechel has quit [Ping timeout: 264 seconds]
lightheaded has joined #ruby
loechel has joined #ruby
Pumukel has quit [Ping timeout: 264 seconds]
Pumukel_ has joined #ruby
Z3N1T has joined #ruby
cdg has joined #ruby
gizmore has joined #ruby
gizmore has quit [Changing host]
gizmore has joined #ruby
lightheaded has quit [Read error: No route to host]
cyphase has quit [Ping timeout: 250 seconds]
lightheaded has joined #ruby
Pumukel has joined #ruby
loechel has quit [Ping timeout: 260 seconds]
Coldblackice has quit [Ping timeout: 240 seconds]
lightheaded has quit [Read error: Connection reset by peer]
loechel has joined #ruby
Pumukel has quit [Read error: Connection reset by peer]
lightheaded has joined #ruby
Pumukel_ has quit [Ping timeout: 260 seconds]
callumacrae has quit [Ping timeout: 240 seconds]
cdg has quit [Client Quit]
Pumukel has joined #ruby
cdg has joined #ruby
callumacrae has joined #ruby
whiteline has quit [Quit: Leaving]
whiteline_ has joined #ruby
beilabs has joined #ruby
cyphase has joined #ruby
whiteline_ is now known as whiteline
Snowy has joined #ruby
tyang has quit [Ping timeout: 250 seconds]
shiv1 has quit [Ping timeout: 265 seconds]
Pumukel_ has joined #ruby
joonty has quit [Quit: Leaving]
loechel has quit [Ping timeout: 260 seconds]
malconis has joined #ruby
aupadhye has joined #ruby
Pumukel has quit [Ping timeout: 260 seconds]
loechel has joined #ruby
aegis3121 has joined #ruby
the_drow has joined #ruby
Pumukel has joined #ruby
jaiks1 has joined #ruby
Pumukel_ has quit [Ping timeout: 264 seconds]
jaruga___ has joined #ruby
Pumukel_ has joined #ruby
loechel has quit [Ping timeout: 264 seconds]
loechel has joined #ruby
beilabs_ has joined #ruby
Pumukel has quit [Ping timeout: 264 seconds]
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
jenrzzz has joined #ruby
Pumukel has joined #ruby
ramortegui has quit [Quit: Ex-Chat]
Pumukel_ has quit [Ping timeout: 264 seconds]
youch has joined #ruby
palus has quit [Quit: Bye]
beilabs has quit [Ping timeout: 258 seconds]
loechel has quit [Ping timeout: 264 seconds]
symm- has joined #ruby
loechel has joined #ruby
jenrzzz has quit [Ping timeout: 260 seconds]
Pumukel has quit [Ping timeout: 264 seconds]
etehtsea has joined #ruby
tdw has joined #ruby
eljimbo has joined #ruby
s2013 has joined #ruby
loechel has quit [Ping timeout: 264 seconds]
mikeym has joined #ruby
Pumukel has joined #ruby
ta_ has quit [Remote host closed the connection]
Vingador_ has joined #ruby
blackmesa has joined #ruby
Vingador has quit [Ping timeout: 244 seconds]
Pumukel has quit [Ping timeout: 264 seconds]
Pumukel has joined #ruby
jrafanie has joined #ruby
etehtsea has quit [Quit: Computer has gone to sleep.]
s2013 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
etehtsea has joined #ruby
OTORelic4 has quit [Ping timeout: 250 seconds]
etehtsea has quit [Client Quit]
etehtsea has joined #ruby
Pumukel has quit [Ping timeout: 260 seconds]
tyang has joined #ruby
<Zeldhoron> so i have this cosntructor "def initialize(other={}, index=0)" which is recursive in this line which gives me an error (idk what error cuz the window closes on me) "@children << Tree.new(x, child_index)"
conta has quit [Quit: conta]
Pumukel has joined #ruby
Vingador_ has quit [Remote host closed the connection]
<jhass> well you should fix that, we don't magically know the error either
diego2 has joined #ruby
diego2 is now known as diegoviola
karapetyan has joined #ruby
nando293921 has joined #ruby
bogdanteleaga has quit [Quit: ZNC - http://znc.in]
bogdanteleaga has joined #ruby
Pumukel has quit [Ping timeout: 260 seconds]
Pumukel has joined #ruby
C0r3 has joined #ruby
skade has quit [Read error: Connection reset by peer]
segy has quit [Quit: ZNC - http://znc.in]
xxninjabunnyxx has joined #ruby
Silthias has quit [Ping timeout: 250 seconds]
bogdanteleaga has quit [Client Quit]
bogdanteleaga has joined #ruby
ule has quit [Ping timeout: 264 seconds]
karapetyan has quit [Remote host closed the connection]
ule has joined #ruby
gix has quit [Quit: Client exiting]
karapetyan has joined #ruby
Pumukel has quit [Ping timeout: 264 seconds]
Silthias has joined #ruby
mgorbach has quit [Quit: ZNC - http://znc.in]
Pumukel has joined #ruby
mgorbach has joined #ruby
jgt1 has joined #ruby
nando293921 has quit [Ping timeout: 258 seconds]
anuxivm has joined #ruby
lupine has quit [Ping timeout: 250 seconds]
tubuliferous_ has joined #ruby
loechel has joined #ruby
ponga has quit []
tjohnson has joined #ruby
jgt has quit [Ping timeout: 258 seconds]
Pumukel has quit [Ping timeout: 260 seconds]
Pumukel_ has joined #ruby
lightheaded has quit [Remote host closed the connection]
<Zeldhoron> alright i figured out how to get the error one sec
gix has joined #ruby
tubulife- has joined #ruby
hahuang61 has joined #ruby
<Zeldhoron> heres the code + error at bottom: https://gist.github.com/Zeldhoron/70e22973efd1cb04dc8e9b675a3635fd
tubuliferous_ has quit [Ping timeout: 250 seconds]
loechel has quit [Ping timeout: 260 seconds]
airdisa has joined #ruby
Pumukel_ has quit [Ping timeout: 244 seconds]
yardenbar has quit [Ping timeout: 264 seconds]
toretore has quit [Ping timeout: 258 seconds]
Pumukel has joined #ruby
zacts has joined #ruby
<mikecmpbll> Zeldhoron : `other` is an array, not a hash.
hahuang61 has quit [Ping timeout: 250 seconds]
craigp has quit [Ping timeout: 252 seconds]
<Zeldhoron> how ? the input is strings mapped to hashes
<mikecmpbll> when you call .each on a hash, it yields array items of [key, value]
<mikecmpbll> { a: 1 }.each{ puts a.inspect } => [:a, 1]
chee is now known as zero_cool
nettoweb has joined #ruby
zero_cool is now known as chee
<Zeldhoron> thx
<mikecmpbll> perhaps on line 10 you want: @children << Tree.new(x[1], child_index)
loechel has joined #ruby
<mikecmpbll> but idk really what it's doing so i'm not sure if that's your intention :)
<Zeldhoron> it should construct a tree
<Zeldhoron> when running the script it should output every string on line 27
oryman has joined #ruby
tyang has quit [Ping timeout: 260 seconds]
Pumukel has quit [Ping timeout: 260 seconds]
Pumukel has joined #ruby
ule has quit [Changing host]
ule has joined #ruby
TheHodge has joined #ruby
loechel has quit [Ping timeout: 260 seconds]
Pumukel_ has joined #ruby
edwardly has quit [Ping timeout: 265 seconds]
edwardly has joined #ruby
edwardly has joined #ruby
edwardly has quit [Changing host]
<jhass> Zeldhoron: you can also do .each do |key, value| to deconstruct the array (choose better names than key and value where possible)
loechel has joined #ruby
<Zeldhoron> thx
edwinvdgraaf has quit [Ping timeout: 264 seconds]
Pumukel has quit [Ping timeout: 264 seconds]
johnmilton has quit [Remote host closed the connection]
sepp2k has joined #ruby
Pumukel_ has quit [Ping timeout: 264 seconds]
loechel has quit [Ping timeout: 264 seconds]
oryman has quit [Quit: Leaving]
conta has joined #ruby
pawnbox has joined #ruby
GinoManWorks has joined #ruby
beilabs has joined #ruby
hopsoft has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
mixtli has joined #ruby
karapetyan has quit [Remote host closed the connection]
karapetyan has joined #ruby
beilabs_ has quit [Ping timeout: 265 seconds]
karapetyan has quit [Read error: Connection reset by peer]
s2013 has joined #ruby
Burgestrand has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Spami has joined #ruby
mixtli has quit [Ping timeout: 265 seconds]
hopsoft has joined #ruby
tyang has joined #ruby
karapetyan has joined #ruby
OTORelic4 has joined #ruby
the_rhizo3 has quit [Ping timeout: 258 seconds]
lightheaded has joined #ruby
karapetyan has quit [Read error: No route to host]
polishdub has joined #ruby
skade has joined #ruby
shinnya has joined #ruby
submitnine has quit []
s2013 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
diegoviola has quit [Ping timeout: 258 seconds]
tyang_ has joined #ruby
tyang has quit [Ping timeout: 265 seconds]
<klautcomputing> Hey there, any idea why my pry always dies when I encounter active record calls?
diego2 has joined #ruby
beilabs has quit [Ping timeout: 258 seconds]
diego2 has quit [Changing host]
diego2 has joined #ruby
diego2 is now known as diegoviola
C0r3 has quit [Ping timeout: 265 seconds]
<Yonk> i'm feeling really dumb today. I can't capture two words "imported chocolates" /(import)(chocolate)/
tyang__ has joined #ruby
symm- has quit [Quit: Leaving...]
<Yonk> i had it last night but forgot what I did
the_rhizo3 has joined #ruby
aegis3121 has quit [Ping timeout: 276 seconds]
beilabs has joined #ruby
<Yonk> i think i'm going to stick with /(import.*chocolate)/
<Yonk> i just need it to return true
lightheaded has quit [Remote host closed the connection]
lightheaded has joined #ruby
jrafanie_ has joined #ruby
jrafanie has quit [Ping timeout: 265 seconds]
nettoweb has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
zacts has quit [Ping timeout: 244 seconds]
tyang_ has quit [Ping timeout: 276 seconds]
rodfersou is now known as rodfersou|lunch
conta has quit [Remote host closed the connection]
cschneid_ has joined #ruby
conta has joined #ruby
<jokke> i'll ask again maybe with better luck this time:
<jokke> has anyone here done something with cinch? I'm trying to write a simple logging bot and for starters wrote a cinch plugin that just logs all messages to stdout. i didn't specify any matching pattern. the messages aren't logged however
<jokke> this is my plugin: https://p.jreinert.com/btE4IQ/
aegis3121 has joined #ruby
ChiefAlexander has quit [Remote host closed the connection]
lightheaded has quit [Ping timeout: 258 seconds]
<Papierkorb> jokke: tried match(/.*/) ?
<jokke> Papierkorb: yeah i tried that too
<jhass> you have to have a listen or a match, yeah
symm- has joined #ruby
skade has quit [Quit: Computer has gone to sleep.]
johnmilton has joined #ruby
<jokke> so something like listen_to(:message)
conta has quit [Ping timeout: 258 seconds]
<jhass> yes
<jhass> also you did add the plugin to your bot's config, right?
<jokke> sure
skade has joined #ruby
symm- has quit [Client Quit]
andikr has quit [Remote host closed the connection]
nankyokusei has joined #ruby
symm- has joined #ruby
symm- has quit [Client Quit]
johnmilton has quit [Ping timeout: 244 seconds]
johnmilton has joined #ruby
symm- has joined #ruby
nettoweb has joined #ruby
skade has quit [Ping timeout: 252 seconds]
nankyokusei has quit [Ping timeout: 250 seconds]
cek has joined #ruby
<cek> Hi.
<jhass> hi
skade has joined #ruby
ChiefAlexander has joined #ruby
aganov has quit [Remote host closed the connection]
jeanlinu_ has joined #ruby
binaryplease has quit [Ping timeout: 276 seconds]
cd-rum_ has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
jeanlinux has quit [Ping timeout: 258 seconds]
the_drow has quit [Quit: This computer has gone to sleep]
dome22xl has joined #ruby
__acher__ has joined #ruby
segy has joined #ruby
the_drow has joined #ruby
LuckyABA has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
tyang__ has quit [Ping timeout: 244 seconds]
Derperperd has joined #ruby
roamingdog has quit []
etetz has joined #ruby
lightheaded has joined #ruby
ChiefAlexander has quit [Remote host closed the connection]
helpa has quit [Remote host closed the connection]
helpa has joined #ruby
tyang__ has joined #ruby
segy has quit [Ping timeout: 265 seconds]
SilverKey has quit [Ping timeout: 250 seconds]
[Butch] has joined #ruby
gix has quit [Quit: Client exiting]
Guest74 has joined #ruby
ChiefAlexander has joined #ruby
agent_white has joined #ruby
agent_white has quit [Changing host]
agent_white has joined #ruby
jgnagy has joined #ruby
symm- has quit [Ping timeout: 265 seconds]
segy has joined #ruby
<agent_white> Mornin'
GodFather has quit [Ping timeout: 250 seconds]
etehtsea has quit [Quit: Computer has gone to sleep.]
weaksauce has quit [Ping timeout: 250 seconds]
ptierno has joined #ruby
ptierno has quit [Changing host]
ptierno has joined #ruby
etehtsea has joined #ruby
etehtsea has quit [Client Quit]
LuckyABA has joined #ruby
jenrzzz has joined #ruby
Snowy has quit [Remote host closed the connection]
webus has quit [Quit: goodbye]
The_Phoenix has quit [Quit: Leaving.]
Spami has quit [Quit: This computer has gone to sleep]
__acher__ has quit [Remote host closed the connection]
nikivi has joined #ruby
gix has joined #ruby
craigp has joined #ruby
jaruga___ has quit [Quit: jaruga___]
nikivi has quit [Max SendQ exceeded]
__acher__ has joined #ruby
anuxivm has left #ruby [#ruby]
anuxivm has joined #ruby
jenrzzz has quit [Ping timeout: 276 seconds]
davidw has joined #ruby
Derperperd has quit [Quit: Derperperd]
amclain has joined #ruby
pmyjavec has joined #ruby
jrafanie_ has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Zeldhoron has quit [Quit: Page closed]
Rodya_ has quit [Remote host closed the connection]
Rodya_ has joined #ruby
axl_ has joined #ruby
jrafanie has joined #ruby
__acher__ has quit [Remote host closed the connection]
__acher__ has joined #ruby
Uranio has joined #ruby
shock_one has joined #ruby
mrgrieves has quit [Ping timeout: 244 seconds]
the_drow has quit [Quit: This computer has gone to sleep]
Derperperd has joined #ruby
Azure has quit [Ping timeout: 260 seconds]
aegis3121 has quit [Ping timeout: 252 seconds]
marxarelli has joined #ruby
antgel has quit [Ping timeout: 240 seconds]
lightheaded has quit [Remote host closed the connection]
lightheaded has joined #ruby
aegis3121 has joined #ruby
rodfersou|lunch is now known as rodfersou|
rodfersou| is now known as rodfersou
selu has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
l4v2 has joined #ruby
tubulife- has quit [Ping timeout: 252 seconds]
aegis3121 has quit [Ping timeout: 244 seconds]
edwinvdgraaf has joined #ruby
tubuliferous_ has joined #ruby
Derperperd has quit [Quit: Derperperd]
akp has joined #ruby
<akp> hey guys, i have this string being built like this, syslog_msg = "<#{priority.to_s}>1 #{timestamp} #{sourcehost} #{appname} #{procid} #{msgid} - #{message} #{token}". if i need to add an @ in there, do i need to escape it?
weaksauce has joined #ruby
<akp> sorry for the stupid question, not a ruby person, just trying to hack something in to a plugin
pmyjavec has quit [Quit: Textual IRC Client: www.textualapp.com]
<apeiros> hey girl. no, @ don't need escaping in "" strings.
moredhel has left #ruby ["WeeChat 0.3.8"]
<Yxhvd> well, it could be needed, if you want a tring like "#@foo"
Guest74 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<jhass> one could argue it's the # needing escaping there though
jarred has joined #ruby
dhollinger has joined #ruby
<Yxhvd> either of them works.
zenguy_pc has quit [Ping timeout: 244 seconds]
craysiii has joined #ruby
blackmesa has quit [Ping timeout: 265 seconds]
<jhass> it's one of the things Ruby should just drop, never seen it used in production code
TomyLobo has joined #ruby
skade has quit [Quit: Computer has gone to sleep.]
hahuang61 has joined #ruby
lel has quit [Changing host]
lel has joined #ruby
Uranio has quit [Quit: while you read this, a kitty dies]
last_staff has joined #ruby
<akp> what the heck is the #{} for? variables?
<akp> i mean extracting the value and placing them in the string, like php style?
mim1k has quit [Ping timeout: 276 seconds]
zenguy_pc has joined #ruby
postmodern has joined #ruby
<Papierkorb> akp: #{} is expanded to the value of the expression inside it
hahuang61 has quit [Ping timeout: 250 seconds]
<chilversc> akp: commonly refered to as string interpolation
<Papierkorb> as in, the usual string interpolation. It ofc supports all kinds of expressions, not only variables
Derperperd has joined #ruby
<Zarthus> also outside of strings it's a (rather useless) comment ;)
Snowy has joined #ruby
mikecmpbll has quit [Quit: inabit. zz.]
zacts has joined #ruby
diegoviola has quit [Quit: WeeChat 1.5]
anuxivm has quit [Read error: Connection reset by peer]
conta has joined #ruby
AKPWD has joined #ruby
aufi has quit [Ping timeout: 244 seconds]
Snowy has quit [Ping timeout: 265 seconds]
anuxivm has joined #ruby
anuxivm has quit [Max SendQ exceeded]
edwinvdgraaf has quit [Remote host closed the connection]
claudiuinberlin has quit []
Pumukel has joined #ruby
tvw has quit [Ping timeout: 244 seconds]
aibot_ has quit [Ping timeout: 276 seconds]
Lord_of_Life has quit [Ping timeout: 250 seconds]
loechel has joined #ruby
whathappens has joined #ruby
beilabs has quit [Remote host closed the connection]
Pumukel has quit [Ping timeout: 264 seconds]
conta has quit [Ping timeout: 264 seconds]
kyleolivo has joined #ruby
Pumukel has joined #ruby
Lord_of_Life has joined #ruby
Spami has joined #ruby
SCHAAP137 has joined #ruby
eam has joined #ruby
Guest74 has joined #ruby
nitric has joined #ruby
loechel has quit [Ping timeout: 264 seconds]
craigp has quit [Ping timeout: 265 seconds]
Pumukel has quit [Ping timeout: 260 seconds]
Pumukel has joined #ruby
blackmesa has joined #ruby
flying has quit []
aibot_ has joined #ruby
rsampaio_ has joined #ruby
Guest38_ has joined #ruby
Akuma has joined #ruby
Pumukel has quit [Ping timeout: 260 seconds]
toretore has joined #ruby
beilabs has joined #ruby
Pumukel has joined #ruby
jhack has quit []
Vingador has joined #ruby
Vingador has quit [Remote host closed the connection]
blaxter has quit [Quit: foo]
araujo has quit [K-Lined]
Coldblackice has joined #ruby
jespada has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
jenrzzz has joined #ruby
TPug has joined #ruby
pawnbox has quit [Ping timeout: 264 seconds]
Guest74 has quit [Quit: Textual IRC Client: www.textualapp.com]
Pumukel has quit [Ping timeout: 264 seconds]
pawnbox has joined #ruby
Pumukel has joined #ruby
slackbotgz has joined #ruby
banisterfiend has quit [Read error: Connection reset by peer]
jenrzzz has quit [Ping timeout: 265 seconds]
bluOxigen has quit [Ping timeout: 244 seconds]
ChiefAlexander has quit [Remote host closed the connection]
Pumukel has quit [Ping timeout: 260 seconds]
Pumukel has joined #ruby
Ishido has quit [Ping timeout: 244 seconds]
aegis3121 has joined #ruby
dome22xl has quit [Quit: Leaving]
sqljunkey has quit [Read error: Connection reset by peer]
<foxxx0> does anyone if/how it is possible to initialize the auto_increment value for a datamapper serial property? i want it to start counting from let's say 10000 upwards and not from 1
sqljunkey has joined #ruby
Kruppe has quit [Quit: ZNC - http://znc.in]
Pumukel has quit [Ping timeout: 264 seconds]
nankyokusei has joined #ruby
Kruppe has joined #ruby
Pumukel has joined #ruby
SCHAAP137 has quit [Quit: Leaving]
aegis3121 has quit [Ping timeout: 250 seconds]
jaruga___ has joined #ruby
nankyokusei has quit [Ping timeout: 244 seconds]
Pumukel has quit [Ping timeout: 260 seconds]
davedev24 has joined #ruby
Pumukel has joined #ruby
__acher__ has quit [Ping timeout: 276 seconds]
loechel has joined #ruby
shock_one has quit [Remote host closed the connection]
SCHAAP137 has joined #ruby
replay has joined #ruby
zacts has quit [Ping timeout: 265 seconds]
Pumukel_ has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
jenrzzz has joined #ruby
nikivi has joined #ruby
Pumukel has quit [Ping timeout: 260 seconds]
GodFather has joined #ruby
firstdayonthejob has joined #ruby
Pumukel has joined #ruby
loechel has quit [Ping timeout: 260 seconds]
loechel has joined #ruby
rgiscard has joined #ruby
Ishido has joined #ruby
vdamewood has quit [Ping timeout: 244 seconds]
Pumukel_ has quit [Ping timeout: 260 seconds]
Neobenedict is now known as you_didnt_get_tr
you_didnt_get_tr is now known as Neobenedict
jenrzzz has quit [Ping timeout: 240 seconds]
Cohedrin has joined #ruby
Pumukel_ has joined #ruby
rsampaio_ has quit [Ping timeout: 258 seconds]
Pumukel has quit [Ping timeout: 260 seconds]
blackmesa has quit [Ping timeout: 276 seconds]
Pumukel has joined #ruby
mixtli has joined #ruby
loechel has quit [Ping timeout: 260 seconds]
tomphp has quit [Ping timeout: 244 seconds]
kyleolivo has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
kyleolivo has joined #ruby
loechel has joined #ruby
Pumukel_ has quit [Ping timeout: 260 seconds]
vuoto has joined #ruby
Pumukel_ has joined #ruby
slackbotgz has quit [Remote host closed the connection]
Pumukel has quit [Ping timeout: 260 seconds]
Kruppe has quit [Read error: Connection reset by peer]
Kruppe has joined #ruby
Pumukel has joined #ruby
loechel has quit [Ping timeout: 264 seconds]
Kruppe- has joined #ruby
mrx88 has joined #ruby
Kruppe has quit [Read error: Connection reset by peer]
loechel has joined #ruby
diegoviola has joined #ruby
claudiuinberlin has joined #ruby
Pumukel_ has quit [Ping timeout: 264 seconds]
gizmore has quit [Ping timeout: 240 seconds]
banisterfiend has joined #ruby
gizless has joined #ruby
cpruitt has joined #ruby
Pumukel has quit [Ping timeout: 264 seconds]
Pumukel has joined #ruby
wolves_cs has joined #ruby
vjacob has joined #ruby
wolves_cs has quit [Client Quit]
Kruppe has joined #ruby
Kruppe- has quit [Read error: Connection reset by peer]
wolves_cs has joined #ruby
jrafanie has quit [Quit: Textual IRC Client: www.textualapp.com]
loechel has quit [Ping timeout: 264 seconds]
loechel has joined #ruby
jrafanie has joined #ruby
Dimik has joined #ruby
elaptics has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
Pumukel_ has joined #ruby
Pumukel has quit [Ping timeout: 264 seconds]
Pumukel has joined #ruby
loechel has quit [Ping timeout: 264 seconds]
nettoweb has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
hk238 has quit [Quit: http://www.kvirc.net/ 4.9.1 Aria]
l4v2 has quit [Quit: l4v2]
Ishido has quit [Ping timeout: 240 seconds]
ChiefAlexander has joined #ruby
loechel has joined #ruby
Pumukel_ has quit [Ping timeout: 264 seconds]
Pumukel_ has joined #ruby
Pumukel has quit [Ping timeout: 264 seconds]
__acher__ has joined #ruby
Pumukel has joined #ruby
loechel has quit [Ping timeout: 264 seconds]
Rodya_ has quit [Remote host closed the connection]
loechel has joined #ruby
Pumukel_ has quit [Ping timeout: 264 seconds]
jenrzzz has joined #ruby
yuki_is_bored has quit [Ping timeout: 265 seconds]
Pumukel has quit [Ping timeout: 264 seconds]
Pumukel_ has joined #ruby
ddffg has joined #ruby
loechel has quit [Ping timeout: 264 seconds]
Kruppe has quit [Quit: ZNC - http://znc.in]
Ishido has joined #ruby
Kruppe has joined #ruby
Pumukel has joined #ruby
Pumukel_ has quit [Ping timeout: 264 seconds]
sp__ has quit [Remote host closed the connection]
ramfjord has joined #ruby
shock_one has joined #ruby
GodFather has quit [Ping timeout: 250 seconds]
Ishido has quit [Ping timeout: 265 seconds]
elifoster has joined #ruby
Pumukel has quit [Ping timeout: 265 seconds]
hightower has joined #ruby
theery has joined #ruby
Madplatypus has joined #ruby
tylersmith has quit [Ping timeout: 250 seconds]
eljimbo has quit [Quit: This computer has gone to sleep]
AciD` has left #ruby ["Oh look, a shiny object !"]
yardenbar has joined #ruby
tylersmith has joined #ruby
ec0 has joined #ruby
jeanlinu_ has quit [Read error: Connection reset by peer]
jeanlinux has joined #ruby
mooru has joined #ruby
swills has joined #ruby
craigp has joined #ruby
Ishido has joined #ruby
hahuang61 has joined #ruby
baweaver changed the topic of #ruby to: Rules & more: https://ruby-community.com || Ruby 2.3.1; 2.2.5; 2.1.10: https://ruby-lang.org || Paste >3 lines of text on https://gist.github.com || logs @ https://irclog.whitequark.org/ruby/
<jgnagy> foxxx0 in dm-core, the property type Serial is a subclass of Integer
blackmesa has joined #ruby
yardenbar has quit [Ping timeout: 258 seconds]
<foxxx0> oh, so i could just use min: and max: for serial too?
workmad3 has quit [Ping timeout: 276 seconds]
hahuang61 has quit [Ping timeout: 250 seconds]
rgiscard has quit [Quit: Gone fishing]
<jgnagy> yes
<foxxx0> great, thanks
<jgnagy> when Serial is defined, it has min: 1
<foxxx0> any suggestions for a logger? at certain points in my rescue blocks i would like to generate some more detailed error messages in the application log file that i do not want to show the enduser (obviously)
<foxxx0> is there a nice gem for that?
<jgnagy> what Ruby are you using?
blackmesa has quit [Ping timeout: 264 seconds]
<foxxx0> 2.3.something
<foxxx0> sinatra as a framework
mikecmpbll has joined #ruby
<jgnagy> Rack comes with a handy logger
blackwind_123 has joined #ruby
<foxxx0> alright, need to dig a bit deeper into that then, already using rack logger but so far it's only printing apache-access style logs, i would like to have a separate logfile
<jgnagy> ah, I see
ramfjord has quit [Ping timeout: 264 seconds]
zeroDi has joined #ruby
<foxxx0> right now i have #{evironment}_access.log and #{environment}_error.log, where the 4xx/5xx queries will be logged to _error.log (and to _access.log)
cdg has quit [Remote host closed the connection]
<foxxx0> but i would like to have an #{environment}_application.log where i could print various messages and errors to
<jgnagy> I usually delegate exception logging to my app server
<jgnagy> like thin
<foxxx0> failed logins, rescued error messages
mooru has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<jgnagy> on app startup, for thin for example, it will through normal messages (not access log style messages) in log/thin.log
jackjackdripper has joined #ruby
ych has joined #ruby
pawnbox has quit [Remote host closed the connection]
<foxxx0> ah
<foxxx0> i can redirect the puma stdout/stderr output
<foxxx0> thanks for the hint with thin
l4v2 has joined #ruby
<jgnagy> np
ramfjord has joined #ruby
yuki_is_bored has joined #ruby
phredus has quit [Read error: Connection reset by peer]
SCHAAP137 has quit [Ping timeout: 276 seconds]
shinnya has quit [Ping timeout: 240 seconds]
blackmesa has joined #ruby
jackjackdripper has quit [Quit: Leaving.]
pandaant has quit [Remote host closed the connection]
jackjackdripper has joined #ruby
queitsch has joined #ruby
rgiscard has joined #ruby
vuoto has quit [Remote host closed the connection]
vuoto has joined #ruby
<foxxx0> p foo.errors.inspect prints to stdout or stderr?
jenrzzz has quit [Ping timeout: 244 seconds]
vuoto_ has joined #ruby
nettoweb has joined #ruby
jeanlinux has quit [Remote host closed the connection]
zacts has joined #ruby
<jgnagy> p foo.errors.inspect is redundant
shock_one has quit [Remote host closed the connection]
flashpoint9 has joined #ruby
<jgnagy> p(object) prints object.inspect (plus a newline) to standard out
<foxxx0> neat
jenrzzz has joined #ruby
LuckyABA has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
blackmesa has quit [Ping timeout: 244 seconds]
mooru has joined #ruby
jrafanie has quit [Ping timeout: 260 seconds]
SCHAAP137 has joined #ruby
johnmilton has quit [Remote host closed the connection]
axsuul has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<foxxx0> hm, how do print stuff to env['rack.errors']?
jaruga___ has quit [Quit: jaruga___]
djbkd_ has quit [Ping timeout: 240 seconds]
axsuul has joined #ruby
Satyajit has quit [Quit: https://fnordserver.eu]
flopsec has quit [Quit: https://fnordserver.eu]
Guest11585 has quit [Quit: https://fnordserver.eu]
alxgsv has quit [Quit: https://fnordserver.eu]
<foxxx0> okay, but how i redirect a puts output to that destination?
<foxxx0> i have now successfully redirect env['rack.errors'] to a custom log file
<foxxx0> that works
ptierno has quit [Quit: leaving]
<foxxx0> oh
<matthewd> env['rack.errors'].puts "hello" ?
Spami has quit [Quit: This computer has gone to sleep]
<foxxx0> yeah, just stumpled upon that in a blog
conta has joined #ruby
axsuul has quit [Client Quit]
Sammichmaker1 has joined #ruby
Sammichmaker1 has quit [Remote host closed the connection]
zacts has quit [Quit: WeeChat 1.4]
Snowy has joined #ruby
Derperperd has quit [Quit: Derperperd]
Sammichmaker has quit [Quit: Leaving]
CloCkWeRX has quit [Ping timeout: 250 seconds]
kavanagh has joined #ruby
kyleolivo has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
shock_one has joined #ruby
kavanagh is now known as kavanagh_
nankyokusei has joined #ruby
jrafanie has joined #ruby
TPug has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
govg has joined #ruby
eljimbo has joined #ruby
claudiuinberlin has quit []
shock_one has quit [Remote host closed the connection]
mrx88 has quit [Ping timeout: 240 seconds]
blackmesa has joined #ruby
nankyokusei has quit [Ping timeout: 264 seconds]
johnmilton has joined #ruby
alfiemax has joined #ruby
Neoo has joined #ruby
kyleolivo has joined #ruby
Spami has joined #ruby
Neobenedict has quit [Ping timeout: 276 seconds]
kyleolivo has quit [Client Quit]
theery has quit []
johnmilton has quit [Ping timeout: 276 seconds]
hahuang65 has quit [Remote host closed the connection]
hahuang65 has joined #ruby
PalaHO has joined #ruby
yuki_is_bored has quit [Ping timeout: 240 seconds]
Elvin has joined #ruby
kavanagh_ has quit [Quit: That's all folks!]
sklvch has joined #ruby
shock_one has joined #ruby
<sklvch> hey guys are there any rails experts here
crystal77 has joined #ruby
Guest93616 has joined #ruby
dasher00 has joined #ruby
<jhass> ?rails sklvch
<ruby[bot]> sklvch: Please join #RubyOnRails for Rails questions. You need to be identified with NickServ, see /msg NickServ HELP
ramfjord has quit [Ping timeout: 252 seconds]
<sklvch> rude
sklvch has left #ruby [#ruby]
<jhass> uh, what did I miss?
Satyajit has joined #ruby
Snowy has quit [Remote host closed the connection]
Sammichmaker has joined #ruby
<apeiros> maybe they're banned in rails? :D
kyleolivo has joined #ruby
<jhass> dunno, logs don't show anything
<jhass> and nothing that kept in mind from cleaning the banlist over there
TPug has joined #ruby
elifoster has quit [Quit: food]
duderonomy has quit [Quit: Textual IRC Client: www.textualapp.com]
lupine has joined #ruby
lupine has quit [Remote host closed the connection]
lupine has joined #ruby
Neoo is now known as Neobenedict
Neobenedict has quit [Changing host]
Neobenedict has joined #ruby
cpruitt has quit [Quit: cpruitt]
TPug has quit [Read error: Connection reset by peer]
jrafanie has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
mooru has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
jespada has quit [Ping timeout: 276 seconds]
mooru has joined #ruby
jrafanie has joined #ruby
jrafanie has quit [Client Quit]
Amaterasu has joined #ruby
Rodya_ has joined #ruby
lightheaded has quit [Remote host closed the connection]
lightheaded has joined #ruby
tdw has quit [Ping timeout: 240 seconds]
yfeldblum has joined #ruby
Elvin has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
conta has quit [Ping timeout: 260 seconds]
__acher__ has quit [Ping timeout: 258 seconds]
ablemike has joined #ruby
__acher__ has joined #ruby
GinoManWorks has quit [Quit: Leaving]
GinoManWorks has joined #ruby
vuoto_ has quit [Remote host closed the connection]
vuoto has quit [Remote host closed the connection]
tdw has joined #ruby
vuoto has joined #ruby
blackgoat has joined #ruby
cdg has joined #ruby
<blackwind_123> ruby newbie Q, why there are multple output statement, like Printf, print , puts... is it idiomatic to use all of them..? or is there any particular standard...?
ramfjord has joined #ruby
<jhass> well, they all do different things
<jhass> chose what does what you need in a particular situation with the least effort
<jhass> and chose those that don't do what you don't need
<jhass> (eg prefer print over printf unless you need formatting)
<Amaterasu> Don't forget "p"
<Amaterasu> for printing arrays
<Amaterasu> x)
Pumukel has joined #ruby
<jhass> p is not for printing arrays, it's for debug printing
Snowy has joined #ruby
<Amaterasu> Oh
<jhass> a shortcut to puts x.inspect; x
edwinvdgraaf has joined #ruby
<Amaterasu> I'm a newbie to Ruby as well, and i've seen p used to output arrays in a "structured" format
<jhass> so you can just stuff it into the middle of an expression and get a programmer friendly representation of whatever is there
<Amaterasu> Ah I see
<jhass> notice the different between puts nil and p nil for example
<jhass> *difference
<Amaterasu> Yeah I just noticed using irb
<Amaterasu> puts doesnt output "nil" but returns nil (obviously)
<Amaterasu> but p does
<jhass> yes puts prints an empty line instead
<Amaterasu> good to know :)
<Amaterasu> yeah
<jhass> >> [nil.to_s, nil.inspect] # is the root reason
<ruby[bot]> jhass: # => ["", "nil"] (https://eval.in/622782)
loechel has joined #ruby
ChiefAlexander has quit [Remote host closed the connection]
Elvin has joined #ruby
kyleolivo has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Pumukel has quit [Ping timeout: 264 seconds]
stamina has joined #ruby
vuoto has quit [Remote host closed the connection]
vuoto has joined #ruby
Pumukel has joined #ruby
tdw has quit [Remote host closed the connection]
loechel has quit [Ping timeout: 264 seconds]
kyleolivo has joined #ruby
loechel has joined #ruby
ych has quit [Quit: Textual IRC Client: www.textualapp.com]
Pumukel_ has joined #ruby
Pumukel has quit [Ping timeout: 264 seconds]
tomphp has joined #ruby
LuckyABA has joined #ruby
mooru has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
symm- has joined #ruby
flashpoint9 has quit [Remote host closed the connection]
loechel has quit [Ping timeout: 264 seconds]
Pumukel has joined #ruby
rippa has quit [Read error: Connection reset by peer]
mooru has joined #ruby
Pumukel has quit [Read error: Connection reset by peer]
Neobenedict is now known as nice_hint_neo
nice_hint_neo is now known as Neobenedict
Pumukel has joined #ruby
GinoManWorks has quit [Read error: Connection reset by peer]
Elvin has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Pumukel_ has quit [Ping timeout: 264 seconds]
mrx88 has joined #ruby
doublemalt__ has joined #ruby
the_rhizo3 has quit [Ping timeout: 240 seconds]
cpruitt has joined #ruby
linduxed has quit [Ping timeout: 264 seconds]
Pumukel has quit [Ping timeout: 260 seconds]
axl_ has quit [Quit: axl_]
hahuang61 has joined #ruby
Pumukel has joined #ruby
symm- has quit [Quit: Leaving...]
Mia has quit [Read error: Connection reset by peer]
Elvin has joined #ruby
jschoolcraft has joined #ruby
fmcgeough has quit [Quit: fmcgeough]
doublemalt_ has quit [Ping timeout: 265 seconds]
loechel has joined #ruby
tyang__ has quit [Quit: Leaving]
Pumukel_ has joined #ruby
bmurt has quit [Quit: Textual IRC Client: www.textualapp.com]
hahuang61 has quit [Ping timeout: 258 seconds]
Pumukel has quit [Ping timeout: 264 seconds]
Pumukel has joined #ruby
CloCkWeRX has joined #ruby
loechel has quit [Ping timeout: 264 seconds]
taylorrf has joined #ruby
loechel has joined #ruby
the_rhizo3 has joined #ruby
linduxed has joined #ruby
Pumukel_ has quit [Ping timeout: 260 seconds]
Mia has joined #ruby
Mia has quit [Changing host]
Mia has joined #ruby
zeroDi has quit [Quit: WeeChat 1.5]
Pumukel_ has joined #ruby
Xeago has quit [Ping timeout: 260 seconds]
Pumukel has quit [Ping timeout: 264 seconds]
Elvin has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Xeago has joined #ruby
Pumukel has joined #ruby
Derperperd has joined #ruby
the_rhizo3 has quit [Ping timeout: 264 seconds]
loechel has quit [Ping timeout: 264 seconds]
loechel has joined #ruby
Pumukel_ has quit [Ping timeout: 264 seconds]
phredus has joined #ruby
nikivi has quit [Quit: irc]
Pumukel_ has joined #ruby
ddffg has quit [Quit: Leaving]
Pumukel has quit [Ping timeout: 264 seconds]
Pumukel has joined #ruby
loechel has quit [Ping timeout: 264 seconds]
ChiefAlexander has joined #ruby
vuoto has quit [Remote host closed the connection]
Pumukel_ has quit [Ping timeout: 260 seconds]
vuoto has joined #ruby
Pumukel has quit [Ping timeout: 260 seconds]
Pumukel has joined #ruby
queitsch has quit [Quit: queitsch]
loechel has joined #ruby
marxarelli is now known as marxarelli|afk
tomphp has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Pumukel_ has joined #ruby
Pumukel has quit [Ping timeout: 264 seconds]
tomphp has joined #ruby
A124 has quit [Quit: '']
Pumukel has joined #ruby
marxarelli|afk is now known as marxarelli
loechel has quit [Ping timeout: 264 seconds]
ramfjord has quit [Ping timeout: 264 seconds]
ramfjord has joined #ruby
loechel has joined #ruby
A124 has joined #ruby
PalaHO has quit [Ping timeout: 265 seconds]
zacts has joined #ruby
CloCkWeRX has quit [Ping timeout: 276 seconds]
Pumukel_ has quit [Ping timeout: 264 seconds]
Pumukel__ has joined #ruby
symm- has joined #ruby
Pumukel has quit [Ping timeout: 264 seconds]
Pumukel has joined #ruby
kirun has quit [Remote host closed the connection]
Xeago has quit [Ping timeout: 265 seconds]
jenrzzz_ has joined #ruby
jenrzzz has quit [Ping timeout: 244 seconds]
Xeago has joined #ruby
flopsec has joined #ruby
loechel has quit [Ping timeout: 264 seconds]
yfeldblum has quit [Ping timeout: 250 seconds]
yfeldblum has joined #ruby
Pumukel__ has quit [Ping timeout: 264 seconds]
PalaHO has joined #ruby
Pumukel has quit [Ping timeout: 264 seconds]
ChiefAlexander has quit [Remote host closed the connection]
Pumukel has joined #ruby
zacts has quit [Quit: WeeChat 1.4]
ChiefAlexander has joined #ruby
aphprentice has joined #ruby
tdw has joined #ruby
<tdw> join /#sinatra
cd-rum has joined #ruby
akp has quit [Remote host closed the connection]
dennisvennink has quit [Quit: Textual IRC Client: www.textualapp.com]
Pumukel has quit [Ping timeout: 264 seconds]
cd-rum_ has joined #ruby
craysiii has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Pumukel has joined #ruby
beilabs_ has joined #ruby
nankyokusei has joined #ruby
cd-rum has quit [Ping timeout: 265 seconds]
KaliLinuxGR has joined #ruby
ldnunes has quit [Quit: Leaving]
beilabs has quit [Ping timeout: 252 seconds]
Pumukel has quit [Ping timeout: 260 seconds]
nankyokusei has quit [Ping timeout: 250 seconds]
Pumukel has joined #ruby
sepp2k has quit [Quit: Leaving.]
Pumukel has quit [Ping timeout: 264 seconds]
skade has joined #ruby
Pumukel has joined #ruby
vuoto has quit [Read error: Connection reset by peer]
marr has joined #ruby
biberu has quit []
rodfersou has quit [Quit: leaving]
Silthias has quit [Ping timeout: 244 seconds]
jeanlinux has joined #ruby
Pumukel has quit [Ping timeout: 260 seconds]
symm- has quit [Quit: Leaving...]
Pumukel has joined #ruby
byteflame has quit [Ping timeout: 276 seconds]
Silthias has joined #ruby
flashpoint9 has joined #ruby
jeanlinux has quit [Ping timeout: 258 seconds]
shock_one has quit [Remote host closed the connection]
Pumukel has quit [Ping timeout: 260 seconds]
slackbotgz has joined #ruby
dennisvennink has joined #ruby
Pumukel has joined #ruby
swills has quit [Ping timeout: 250 seconds]
hutch34 has quit [Ping timeout: 265 seconds]
zacts has joined #ruby
hutch34 has joined #ruby
TheHodge has quit [Quit: Connection closed for inactivity]
rsampaio_ has joined #ruby
the_rhizo3 has joined #ruby
weckl has joined #ruby
GodFather has joined #ruby
OTORelic4 has quit [Ping timeout: 265 seconds]
[Butch] has quit [Ping timeout: 265 seconds]
flying has joined #ruby
skade has quit [Quit: Computer has gone to sleep.]
[Butch]_ has joined #ruby
Pumukel has quit [Ping timeout: 264 seconds]
marxarelli has quit [Quit: Textual IRC Client: www.textualapp.com]
Pumukel has joined #ruby
PalaHO has quit [Ping timeout: 240 seconds]
JeanCarloMachado has joined #ruby
tubuliferous_ has quit [Ping timeout: 240 seconds]
symm- has joined #ruby
s2013 has joined #ruby
tubuliferous_ has joined #ruby
Pumukel has quit [Ping timeout: 264 seconds]
Ebok has joined #ruby
ytw has joined #ruby
Guest93616 has quit [Ping timeout: 244 seconds]
Pumukel has joined #ruby
yfeldblu_ has joined #ruby
Guest93616 has joined #ruby
<ytw> Has anyone figured out how to programmatically calculate fingerprint of ec2 keypair?
marxarelli has joined #ruby
yfeldblum has quit [Ping timeout: 250 seconds]
stamina has quit [Ping timeout: 264 seconds]
tomphp has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<baweaver> What do you mean by that?
<baweaver> I mean, they're both strings, so you could just hash it.
Pumukel has quit [Ping timeout: 264 seconds]
rkazak has joined #ruby
<matthewd> ytw: I went looking for that the other day, and was not particularly successful
<matthewd> ytw: But I didn't try very hard.. I just wanted to check the keypair matched the key I thought it did, and ended up going with the lazy "upload a new one" solution
Pumukel has joined #ruby
<ytw> @matthewd I have been trying to reverse engineer the process of generating fingerprint from public key to match up the one on aws console for the past 3 days :/ can't seem to find a way around
<SegFaultAX> ytw: This looks relevant to your interests: http://serverfault.com/a/603983
<SegFaultAX> matthewd: ^
PalaHO has joined #ruby
<ytw> SegFaultAX did that work for you?
<SegFaultAX> ytw: Never tried it before. Just thought it was an interesting question, and googled around for it.
mooru has quit [Quit: Textual IRC Client: www.textualapp.com]
<ytw> SegFaultAX yeah I found that page. However that only shows how to generate with private key in place. :( we only have public keys
<ytw> Ima do some research and post back if I find anything
<ytw> seems like no one have done this before
Pumukel has quit [Ping timeout: 264 seconds]
<SegFaultAX> ytw: Did you try doing `openssl x509 -in yourcert.crt -outform der | openssl md5 -c`?
<ytw> I actually tried that, gave me a fingerprint that didn't match either :( SegFaultAX
Pumukel has joined #ruby
<jgnagy> any Net::LDAP users come up with a creative / efficient approach to platform-agnostic nested LDAP groups?
<SegFaultAX> Dang.
<bougyman> jgnagy: i've managed that with activeldap
<jgnagy> I'm working on the naive approach of iterating over group members and checking if each is a group, then getting its members
<bougyman> it's not really a library thing, though.
<jgnagy> recursing that way
<bougyman> yep.
<bougyman> it's an ldap limitation.
<jgnagy> but it could lead to a loop, and is horrible
<jgnagy> oh, I agree
yfeldblum has joined #ruby
<jgnagy> not expecting it to be a library thing
yfeldblum has quit [Remote host closed the connection]
mrx88 has quit [Ping timeout: 240 seconds]
<jgnagy> just curious if anyone smarter than me has come up with a better approach
<jgnagy> because I'm having to build in loop detection and caching to make it work well with large directories
<bougyman> Understood. and that's how we manage it, too.
jarred has quit [Quit: Connection closed for inactivity]
blackwind_123 has quit [Ping timeout: 258 seconds]
ChiefAlexander has quit [Remote host closed the connection]
<jgnagy> redis to the rescue then
<bougyman> bdb here.
<bougyman> same diff
yfeldblu_ has quit [Ping timeout: 250 seconds]
saneax_AFK is now known as saneax
<jgnagy> I'm going to have multiple workers solving the same problem; in my case it is better to rely on my already-existing shared cache
<ytw> SegFaultAX I figured it out
tomphp has joined #ruby
<ytw> with a bash console command
<matthewd> jgnagy: If you need to know whether an individual user is a member, you'll be better off searching in the other direction... other than that, I only recall the best idea being avoiding the problem :)
saneax is now known as Guest16777
<SegFaultAX> ytw: Do tell
LoneHerm_ has joined #ruby
<ytw> ssh-keygen -f 0-default.pub -e -m PKCS8 | openssl pkey -pubin -outform DER | openssl md5 -c | awk '{print $2}'
youch has quit [Remote host closed the connection]
<ytw> SegFaultAX ssh-keygen -f 0-default.pub -e -m PKCS8 | openssl pkey -pubin -outform DER | openssl md5 -c | awk '{print $2}'
<jgnagy> yes... I'm using a config option to enable nested groups, defaulting to "false"
<ytw> this will get you the fingerprint that works with aws console fingerprinting
blackwind_123 has joined #ruby
Pumukel has quit [Ping timeout: 264 seconds]
<bougyman> jgnagy: we have groups with 200,000 members.
Ishido has quit [Ping timeout: 252 seconds]
<bougyman> and some of those 200,000 members are groups.
<bougyman> I feel your pain.
<SegFaultAX> ytw: Where did you find that diddy?
flashpoint9 has quit [Remote host closed the connection]
flashpoint9 has joined #ruby
<jgnagy> I imagine that can be a pain... and yes, checking for a cache key for a group DN will make that not be too painful
<jgnagy> I hope
Pumukel has joined #ruby
<SegFaultAX> bougyman: That is quite a directory.
<ytw> SegFaultAX I asked around, an engineer I know have it in his script files...... AWS did a horrible job documenting this
<bougyman> SegFaultAX: I think it may be the largest ldap implementation.
<bougyman> if it's not #1, it's close to it.
<SegFaultAX> bougyman: Do you work for a government?
<bougyman> no
<bougyman> many governments are our customer.
<jgnagy> if he did, would he say "yes"?
last_staff has quit [Quit: last_staff]
<SegFaultAX> jgnagy: I don't see why not?
<bougyman> if I worked for a government, i'd probably be allowed to say Yes.
<SegFaultAX> He/She could work for whitehouse.gov or something.
BackEndCoder has quit [Excess Flood]
jeanlinux has joined #ruby
<jgnagy> fair enough
<SegFaultAX> You could work for the damn post office.
BackEndCoder has joined #ruby
<SegFaultAX> How many postmen/postwomen do you think there are in the United States? :)
lightstalker has quit [Ping timeout: 258 seconds]
<jgnagy> 42?
azor has joined #ruby
<bougyman> interesting.
<ytw> how many are MIB
<ytw> ;)
<bougyman> I wonder if the post office has more employees than amazon?
* bougyman looks
<SegFaultAX> bougyman: How fragile is a directory of that size?
<SegFaultAX> bougyman: I've never worked with a directory that had more than like 15 or 20k DNs
<bougyman> looks like amazon employees > post office employees
<jgnagy> I'm interested in the directory server in use for that directory
CloCkWeRX has joined #ruby
<bougyman> SegFaultAX: it used to be ridiculously fragile.
<bougyman> I got hired to make it not fragile.
<bougyman> and that's all complete, finally.
<SegFaultAX> Are you an LDAP god?
<bougyman> jgnagy: 389-ds
<jgnagy> ooo nice
slackbotgz has quit [Remote host closed the connection]
<jgnagy> I didn't know that was ready for primetime
<matthewd> jgnagy: At that scale, I'm struggling to imagine a use case where you'd actually want the flat list of all members -- as opposed to something you could more narrowly defer work to the LDAP server for
<jgnagy> at least not that scale
<jgnagy> good to know
Pumukel has quit [Ping timeout: 264 seconds]
<SegFaultAX> bougyman: I'm curious how many QPS your directory sees across all nodes.
<jgnagy> well, you would still want to do something like pagination
<bougyman> SegFaultAX: I don't even have that numbers.
<jgnagy> I have the best numbers
<bougyman> at peak in one region, we tip the scales at 20,000,000/sec
<SegFaultAX> I'm trying to wrap my mind around a 200k+ directory. That's just... insane.
<bougyman> I've never totaled all regions.
<matthewd> Oh, I crossed my wires about who has which DB :P
yfeldblum has joined #ruby
<SegFaultAX> bougyman: Confirmed, you're an LDAP god. :D
Pumukel has joined #ruby
<jgnagy> 200k+ is just one group
<SegFaultAX> I assumed that was close the upper bound on unique DNs
<eam> did Pathname#chown lose the ability to operate on unix usernames at some point?
<bougyman> hah no.
<SegFaultAX> Just one group
<SegFaultAX> I'm even more floored
[Butch]_ has quit [Quit: I'm out . . .]
<bougyman> catching a bus now, ttyl
zacts has quit [Read error: Connection reset by peer]
jeanlinux has quit [Ping timeout: 244 seconds]
mixtli has quit [Ping timeout: 244 seconds]
<eam> or did this never work?
LoneHerm_ has quit [Remote host closed the connection]
<matthewd> eam: Looks like the latter: https://ruby-doc.org/core-1.8.7/File.html#method-c-chown
<SegFaultAX> eam: Don't think that ever worked.
<eam> ah, the problem with Other People's Code
<SegFaultAX> eam: On the other hand, I don't know what I'm talking about: http://ruby-doc.org/stdlib-2.1.3/libdoc/pathname/rdoc/Pathname.html#method-i-chown
<SegFaultAX> But that's a nifty thing to have in my arsenal, thanks!
<eam> I guess my testing around upgrading the ruby version was a bit more in depth than ... whatever these folks did before
<matthewd> "tes" "ting", you say?
Guest93616 has quit [Ping timeout: 276 seconds]
Pumukel has quit [Ping timeout: 260 seconds]
<eam> gonna be honest I didn't even want to test this I somehow stumbled into it breaking
Guest93616 has joined #ruby
Pumukel has joined #ruby
c0mrad3 has quit [Quit: Connection closed for inactivity]
flashpoint9 has quit [Remote host closed the connection]
Ishido has joined #ruby
tomphp has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
dhollinger has quit [Quit: WeeChat 1.5]
mixtli has joined #ruby
shock_one has joined #ruby
rkazak has quit [Ping timeout: 265 seconds]
Pumukel has quit [Ping timeout: 260 seconds]
hahuang61 has joined #ruby
Pumukel has joined #ruby
Azure has joined #ruby
malconis has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
mixtli has quit [Ping timeout: 250 seconds]
ecksit has joined #ruby
tubuliferous_ has quit [Ping timeout: 265 seconds]
Pumukel has quit [Ping timeout: 260 seconds]
hahuang61 has quit [Ping timeout: 250 seconds]
<ecksit> i've got an issue with resque where i don't seem to be able to call a local method within the perform method. here is my example code - https://gist.github.com/jacobbednarz/d245daa0273b63907b385f1325a95acb
<ecksit> the second method just never seems to happen and output.
weckl has quit [Quit: Leaving]
Pumukel has joined #ruby
rkazak has joined #ruby
SCHAAP137 has quit [Quit: Leaving]
marxarelli has quit [Quit: Textual IRC Client: www.textualapp.com]
<ecksit> i could dump it all into a single method but that's going to be a very long and annoying method to use
mixtli has joined #ruby
<xpitr> one is class method other is instance method
<ecksit> will they both need to be instance methods for resque to work?
<ecksit> i'm just unsure of the context resque will have when executing
<ecksit> right, two instance methods work
<xpitr> well, if you defined first as class method, did you have reason to? how do you call it?
<ecksit> i just create a job using the standard `Resque.enqueue` and then resque handles the rest
SCHAAP137 has joined #ruby
Pumukel has quit [Ping timeout: 260 seconds]
<ecksit> the `#perform` works as expected, just not the inner methods i've created to support that
<xpitr> hm ok then you can make do_something class method as well
Pumukel has joined #ruby
flashpoint9 has joined #ruby
taylorrf has quit [Remote host closed the connection]
polishdub has quit [Quit: Leaving]
vjacob has quit [Quit: Leaving]
wolves_cs has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Pumukel has quit [Ping timeout: 264 seconds]
Pumukel has joined #ruby
solars has quit [Ping timeout: 250 seconds]
the_rhizo3 has quit [Ping timeout: 276 seconds]
JeanCarloMachado has quit [Ping timeout: 250 seconds]
flashpoint9 has quit [Remote host closed the connection]
tubuliferous_ has joined #ruby
Pumukel has quit [Ping timeout: 264 seconds]
Pumukel has joined #ruby
Guest93616 has quit [Ping timeout: 276 seconds]
Guest93616 has joined #ruby
shock_one has quit [Remote host closed the connection]
CloCkWeRX has quit [Ping timeout: 250 seconds]
gizless has quit [Remote host closed the connection]
firstdayonthejob has quit [Ping timeout: 250 seconds]
solocshaw has joined #ruby
Mia has quit [Quit: Leaving]
pieperloy_ has joined #ruby
<pieperloy_> Hi, does anyone know why this doesn't print the response: https://puu.sh/qCF9i/c6abbadbf6.txt Thanks in advance
Pumukel has quit [Ping timeout: 264 seconds]
roflmyeggo has joined #ruby
etetz has quit [Remote host closed the connection]
Pumukel has joined #ruby
phredus has quit [Remote host closed the connection]
ddffg has joined #ruby
whathappens has quit [Read error: Connection reset by peer]
jgnagy_ has joined #ruby
whathappens has joined #ruby
Pumukel has quit [Ping timeout: 260 seconds]
Pumukel has joined #ruby
flying has quit []
jgnagy has quit [Ping timeout: 258 seconds]
hutch34 has quit [Ping timeout: 240 seconds]
loechel has joined #ruby
aupadhye has quit [Ping timeout: 244 seconds]
JeanCarloMachado has joined #ruby
CloCkWeRX has joined #ruby
Pumukel has quit [Ping timeout: 260 seconds]
whathappens has quit [Read error: Connection reset by peer]
arescorpio has joined #ruby
whathappens has joined #ruby
Pumukel has joined #ruby
loechel has quit [Ping timeout: 260 seconds]
rajdesai has joined #ruby
<drbrain>
loechel has joined #ruby
cschneid_ has quit [Remote host closed the connection]
<pieperloy_> drbrain: So what I don't need it?
<drbrain> (and no, you don't need it, since Net::HTTP doesn't verify HTTPS connections by default)
Pumukel_ has joined #ruby
Pumukel has quit [Ping timeout: 260 seconds]
<drbrain> by setting that you break any other code expecting Net::HTTP to verify HTTPS connections, though
<drbrain> pieperloy_: instagram.com redirects to www.instagram.com:
<drbrain> $ ruby -r net/http -e 'p Net::HTTP.get_response URI "https://instagram.com"'
<drbrain> #<Net::HTTPMovedPermanently 301 Moved Permanently readbody=true>
Pumukel has joined #ruby
<pieperloy_> Wait, you're going so fast lol
<jhass> huh, rare to see it into that direction these days
j`ey has joined #ruby
loechel has quit [Ping timeout: 260 seconds]
aphprentice has quit [Quit: Connection closed for inactivity]
<j`ey> Im writing a function, I want to check if a certain $global is defined, if not I want to give an error
<j`ey> was just thinking about taking the global name as a string, and eval-ing it.. is there a nicer way?
<jhass> :(
<jhass> well, defined?
<jhass> the nice way of course is to not rely on globals
<drbrain> >> raise "missing $global" unless defined? $global
<ruby[bot]> drbrain: # => missing $global (RuntimeError) ...check link for more (https://eval.in/622934)
nankyokusei has joined #ruby
<drbrain> pieperloy_: a) delete the line with the
<j`ey> drbrain: but i need to pass the name of global
<drbrain> pieperloy_: b) use get_response
<jhass> j`ey: sounds like you have some proper design issues :)
<drbrain> ah, right
<pieperloy_> drbrain: What param does get_response() take?
<drbrain> pieperloy_: it returns the response rather than the response body
Pumukel_ has quit [Ping timeout: 260 seconds]
<drbrain> >> raise "missing $global" unless global_variables.include? :$global
<ruby[bot]> drbrain: # => missing $global (RuntimeError) ...check link for more (https://eval.in/622935)
<j`ey> jhass: it's just a simple script
<j`ey> drbrain: nice
Immune has quit [Ping timeout: 250 seconds]
<drbrain> pieperloy_: it takes the same arguments as #get
<pieperloy_> drbrain: `get_response': undefined method `hostname' for "https://instagram.com":String (NoMethodError) from Http.rb:5:in `<main>'
Rodya_ has quit [Remote host closed the connection]
loechel has joined #ruby
<drbrain> pieperloy_: in your script you gave it a URI object
cdg has quit [Remote host closed the connection]
<drbrain> well, #get
<j`ey> jhass: I basically have a script, and a config.rb file
Pumukel has quit [Ping timeout: 264 seconds]
<j`ey> jhass: so the 'config' options are just globalbs
Silthias has quit [Ping timeout: 260 seconds]
<jhass> j`ey: SETTINGS = {a: 1, b: 2, d: 3}
PalaHO has quit [Ping timeout: 276 seconds]
<drbrain> pieperloy_: p Net::HTTP.get_response(URI("https://instagram.com"))
<drbrain> ↑ with more parentheses
<j`ey> jhass: just 1 global instead of many :P
<pieperloy_> drbrain: With the uri object I get the ssl error again
nettoweb has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<drbrain> pieperloy_: what OS?
nankyokusei has quit [Ping timeout: 250 seconds]
__acher__ has quit [Ping timeout: 250 seconds]
<pieperloy_> Windows
<jhass> j`ey: yes, with warnings on reassignments, easy to namespace if it ever grows big enough
<j`ey> hm, reassignments
hopsoft has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<j`ey> yes I should use constants, not globals
<jhass> j`ey: so you can get a warning if for example a gem conflicts with your gloabls
Guest93616 has quit [Ping timeout: 240 seconds]
Pumukel has joined #ruby
<jhass> j`ey: and your question would turn into a piece of cake too, SETTINGS.has_key? :foo
Guest93616 has joined #ruby
<j`ey> is there a constants thing, like global_variables?
<drbrain> pieperloy_: then you should install a certificate file
TPug has joined #ruby
<drbrain> pieperloy_: from this: https://gist.github.com/mislav/5026283
<pieperloy_> drbrain: Are you kidding me?
<jhass> j`ey: well, const_defined?, but I'd really make a single one and a hash
<pieperloy_> Fuck this language, back to Python
<drbrain> pieperloy_: no, I'm not
<drbrain> pieperloy_: well, I was going to help you do it
whathappens has quit [Quit: Leaving...]
<pieperloy_> drbain: Why would you need to install a certy that's silly.
<drbrain> for security
<pieperloy_> drbrain: What if I don't need security?
<j`ey> jhass: yeah. I probably should..
<jhass> drbrain: oh, nice gist
swills has joined #ruby
<j`ey> does a script run in a global module?
rajdesai has quit [Remote host closed the connection]
<jhass> this comes up often enough
<drbrain> pieperloy_: that's not how I give help
<j`ey> const_defined is a method on a module
<pieperloy_> drbrain: I hate it when developers force you with their stupid security stuff.
Pumukel_ has joined #ruby
<jhass> !fact mk windows_certs You may need to manually install a CA certificate bundle on windows for Ruby to use, see https://gist.github.com/mislav/5026283 for more details.
<ruby[bot]> jhass: I will remember that windows_certs is You may need to manually install a CA certificate bundle on windows for Ruby to use, see https://gist.github.com/mislav/5026283 for more details.
loechel has quit [Ping timeout: 264 seconds]
<drbrain> pieperloy_: I can't stop you from doing irresponsible things
<pieperloy_> drbrain: What u mean?
<pieperloy_> drbrain: I'm not doing irresponsible things, but don't you get my point?
<pieperloy_> drbrain: Like the developers force me to install certificated because they think not using ssl will put me at risk.
<drbrain> it does
loechel has joined #ruby
ebbflowgo has joined #ruby
<drbrain> I'm not having this debate
Pumukel has quit [Ping timeout: 264 seconds]
<jhass> well, not using TLS these days :P
<pieperloy_> drbrain: It only puts me at risk in the right content.
<pieperloy_> drbrain: I get that.
<jhass> SSL you can indeed throw into the trash can
ytw has quit []
ChiefAlexander has joined #ruby
<pieperloy_> drbrain: But it should always be my own decision whether I wanna use certificated or not.
ChiefAlexander has quit [Remote host closed the connection]
<matthewd> pieperloy_: The other side of your connection has decided you should use TLS. If you're going to work to subvert that intent, you're free to do so... but no-one's obliged to help you.
ChiefAlexander has joined #ruby
<drbrain> pieperloy_: don't mention me
Guest38_ has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<j`ey> jhass: im convinced
<j`ey> jhass: rewriting to use a hash now
<jhass> <3
<pieperloy_> drbain: Are you somehow offfended? If so I'm sorry.
<j`ey> jhass: h8 u
Pumukel has joined #ruby
<jhass> you're welcome!
* baweaver grabs popcorn
Pumukel_ has quit [Ping timeout: 264 seconds]
<pieperloy_> matthewd: With Python I can use verify=False which solves this problem beautifully.
<jhass> beautifully is not a term I would apply
ChiefAlexander has quit [Read error: Connection reset by peer]
* baweaver sighs
<pieperloy_> jhass: If it works, it works :D
<baweaver> Ok ok, that's quite enough of that.
<baweaver> Being righteous about this isn't going to do anything, and asking them not to be isn't going to do anything.
Pumukel_ has joined #ruby
loechel has quit [Ping timeout: 264 seconds]
kavanagh has joined #ruby
kavanagh is now known as kavanagh_
JeanCarloMachado has quit [Quit: Lost terminal]
<matthewd> pieperloy_: You can do something very similar with Net::HTTP. Not overwrite its internal constant (which will potentially break other code), but switch the verification mode for a particular connection. Still not a good idea, but it will work just as well as the Python equivalent.
<pieperloy_> mattewd: Could you explain to me how that's done?
loechel has joined #ruby
kyleolivo has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Pumukel has quit [Ping timeout: 264 seconds]
samdvr has joined #ruby
Rodya_ has joined #ruby
nettoweb has joined #ruby
beilabs_ has quit [Remote host closed the connection]
Pumukel has joined #ruby
taylorrf has joined #ruby
Pumukel_ has quit [Ping timeout: 264 seconds]
<pieperloy_> jhass: Thanks!
<jhass> you have to make yourself an instance of Net::HTTP as explained at the top of the docs
nisstyre has quit [Remote host closed the connection]
loechel has quit [Ping timeout: 264 seconds]
Pumukel_ has joined #ruby
samdvr has quit []
tdw has quit [Ping timeout: 244 seconds]
Pumukel has quit [Ping timeout: 264 seconds]
solocshaw has quit [Remote host closed the connection]
kyleolivo has joined #ruby
Ebok has quit [Read error: Connection reset by peer]
Silthias has joined #ruby
Pumukel_ has quit [Ping timeout: 264 seconds]
rkazak has quit [Quit: Sleep.....ing....]
BackEndCoder has quit [Excess Flood]
Pumukel has joined #ruby
BackEndCoder has joined #ruby
kobain has joined #ruby
loechel has joined #ruby
solocshaw has joined #ruby
flashpoint9 has joined #ruby
Pumukel has quit [Ping timeout: 264 seconds]
Pumukel_ has joined #ruby
kyleolivo has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
snguyen has joined #ruby
s2013 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
nettoweb has quit [Ping timeout: 250 seconds]
loechel has quit [Ping timeout: 260 seconds]
Guest93616 has quit [Ping timeout: 264 seconds]
Rickmasta has joined #ruby
flashpoint9 has quit [Remote host closed the connection]
flashpoint9 has joined #ruby
CloCkWeRX has quit [Ping timeout: 252 seconds]
Guest93616 has joined #ruby
kyleolivo has joined #ruby
shock_one has joined #ruby
ablemike has quit [Remote host closed the connection]
Pumukel_ has quit [Ping timeout: 260 seconds]
Pumukel has joined #ruby
beilabs has joined #ruby
roflmyeggo has quit [Quit: Lost terminal]
alfiemax has quit [Ping timeout: 244 seconds]
anuxivm has joined #ruby
<j`ey> hm, using 'system('blah &> /dev/null'), is working on my mac, but not on my linux vps
<j`ey> any idea why?
doublemalt__ has quit [Ping timeout: 264 seconds]
elifoster has joined #ruby
blackmesa has quit [Ping timeout: 258 seconds]
stamina has joined #ruby
beilabs has quit [Ping timeout: 244 seconds]
Pumukel has quit [Ping timeout: 260 seconds]
hutch34 has joined #ruby
Guest38 has joined #ruby
Pumukel has joined #ruby
solocshaw has quit [Ping timeout: 264 seconds]