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]
<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]
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]
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
<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
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
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
<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>
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
<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
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
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
<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 :)
<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?
<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]