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/
kira has quit [Read error: Network is unreachable]
kira_ has joined #ruby
kira_ is now known as kira
bkxd has joined #ruby
kyleolivo has left #ruby [#ruby]
JeanCarl1Machado has joined #ruby
riscky has quit [Quit: riscky]
ta_ has joined #ruby
riscky has joined #ruby
riscky has quit [Client Quit]
moonythedwarf_ has joined #ruby
JeanCarloMachado has quit [Ping timeout: 244 seconds]
nankyokusei has joined #ruby
Pumukel has joined #ruby
kira has quit [Read error: Network is unreachable]
Davedev28 has quit [Read error: Network is unreachable]
kira has joined #ruby
Limix has quit [Read error: Connection reset by peer]
ta_ has quit [Ping timeout: 244 seconds]
slash_nick has quit [Ping timeout: 264 seconds]
Limix has joined #ruby
Davedev28 has joined #ruby
epochwolf has quit [Ping timeout: 250 seconds]
Davedev28 has quit [Remote host closed the connection]
epochwolf has joined #ruby
Davedev28 has joined #ruby
nankyokusei has quit [Ping timeout: 244 seconds]
Pumukel has quit [Ping timeout: 260 seconds]
jenrzzz has joined #ruby
alem0lars_ has joined #ruby
jeanlinux has joined #ruby
marr has quit [Remote host closed the connection]
Pumukel has joined #ruby
OTORelic3 has joined #ruby
dminuoso has joined #ruby
jeanlinux has quit [Ping timeout: 258 seconds]
Azure has quit [Ping timeout: 258 seconds]
Pumukel has quit [Ping timeout: 260 seconds]
Azure has joined #ruby
dminuoso has quit [Ping timeout: 250 seconds]
moonythedwarf_ has quit [Ping timeout: 250 seconds]
moonythedwarf_ has joined #ruby
blackmesa has joined #ruby
jenrzzz has quit [Ping timeout: 244 seconds]
vdamewood has joined #ruby
Pumukel has joined #ruby
<kira> Hmm.
Immune has quit [Ping timeout: 244 seconds]
<kira> <a class="abc dce">fgh</a>
<kira> I don't know how to deal with whitespace in a classname
TheWhip has joined #ruby
<kira> searched for it though. Still no dice.
Azure has quit [Ping timeout: 264 seconds]
blackmesa has quit [Ping timeout: 244 seconds]
dipnlik has joined #ruby
capitainIsh has joined #ruby
dipnlik has quit [Client Quit]
Azure has joined #ruby
Pumukel has quit [Ping timeout: 244 seconds]
Pumukel has joined #ruby
TheWhip has quit [Ping timeout: 250 seconds]
Davedev28 has quit [Remote host closed the connection]
tristanp has quit [Remote host closed the connection]
<apeiros> kira: how's this related to ruby?
<apeiros> spaces in the class attribute in html means the element has multiple classes
<kira> apeiros: Sorry, I don't know how to use nokogiri.
RegulationD has joined #ruby
<apeiros> you might want to phrase your question that way. we can't read your mind.
<kira> Yeah. I knew I made that mistakes. I was so immersed in my problem.
Pumukel has quit [Ping timeout: 260 seconds]
JStoker has quit [Read error: Connection reset by peer]
EvilJStoker has quit [Remote host closed the connection]
JStoker has joined #ruby
EvilJStoker has joined #ruby
<apeiros> kira: since it's been some minutes - you are aware that you still have not actually asked a question, right?
Pumukel has joined #ruby
last_staff has quit [Quit: last_staff]
<kira> apeiros: ok. I don't want to ask more when I got things to try out.
<kira> when I am out of..errr...attempts. I'll ask
RegulationD has quit [Ping timeout: 265 seconds]
karmatr0n has joined #ruby
Pumukel has quit [Ping timeout: 260 seconds]
giz|work has joined #ruby
RedNifre has quit [Read error: Connection reset by peer]
RedNifre has joined #ruby
heelpmeplz has quit [Read error: Connection reset by peer]
heelpmeplz has joined #ruby
meth has quit [Quit: Bye!]
mrsolo has quit [Ping timeout: 250 seconds]
mrsolo has joined #ruby
kus has joined #ruby
kus has quit [Max SendQ exceeded]
giz|work has quit [Ping timeout: 240 seconds]
<pythonator> does anyone else here vape
stamina has quit [Ping timeout: 276 seconds]
caw has quit [Ping timeout: 260 seconds]
mixtli has joined #ruby
caw has joined #ruby
Pumukel has joined #ruby
AlexRussia_ has quit [Ping timeout: 258 seconds]
Elvin_ has joined #ruby
jrafanie_ has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
moeabdol has quit [Ping timeout: 260 seconds]
capitainIsh has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
jgt3 has joined #ruby
Phanes has quit [Quit: ...shout as you did in rome...]
Phanes has joined #ruby
Phanes has quit [Changing host]
Phanes has joined #ruby
mixtli has quit [Ping timeout: 276 seconds]
TheWhip has joined #ruby
mixtli has joined #ruby
jgt3 has quit [Ping timeout: 244 seconds]
bkxd has quit [Ping timeout: 250 seconds]
zacts has joined #ruby
TheWhip has quit [Ping timeout: 260 seconds]
dminuoso has joined #ruby
AlexRussia has joined #ruby
Pumukel has quit [Ping timeout: 276 seconds]
<pythonator> ugh im having a hard time getting past the anti-scraping software.
Pumukel has joined #ruby
Elvin_ has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
dminuoso has quit [Ping timeout: 276 seconds]
Phanes has quit [Quit: ...shout as you did in rome...]
ddffg has quit [Ping timeout: 276 seconds]
Phanes has joined #ruby
Phanes has quit [Changing host]
Phanes has joined #ruby
govg has quit [Ping timeout: 264 seconds]
sumobob has quit [Ping timeout: 250 seconds]
Pumukel has quit [Ping timeout: 260 seconds]
mixtli has quit [Ping timeout: 244 seconds]
Phanes has quit [Remote host closed the connection]
Phanes has joined #ruby
Phanes has quit [Changing host]
Phanes has joined #ruby
Rodya_ has quit [Remote host closed the connection]
vantab has joined #ruby
blandflakes has joined #ruby
blackmesa has joined #ruby
hogetaro has joined #ruby
allcentury has joined #ruby
EvilJStoker has quit [Quit: EvilJStoker is gone :(]
JStoker has quit [Quit: JStoker is gone :(]
EvilJStoker has joined #ruby
JStoker has joined #ruby
bkxd has joined #ruby
jeanlinux has joined #ruby
vantab has quit [Quit: Leaving]
Pumukel has joined #ruby
<zenspider> pythonator: vape??!
blackmesa has quit [Ping timeout: 244 seconds]
ec0 has joined #ruby
diprotic has joined #ruby
Pumukel has quit [Ping timeout: 240 seconds]
nfk has quit [Quit: Try memory.free_dirty_pages=true in about:config]
Pumukel has joined #ruby
ericsupreme has joined #ruby
ericsupreme has quit [Remote host closed the connection]
vdamewood has quit [Ping timeout: 244 seconds]
aryaching has joined #ruby
Cohedrin has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
TheWhip has joined #ruby
monoprotic has quit [Ping timeout: 250 seconds]
Pumukel has quit [Ping timeout: 264 seconds]
Limix has quit [Quit: Limix]
TheWhip has quit [Ping timeout: 260 seconds]
AndyBotwin has quit [Ping timeout: 244 seconds]
Vannya has joined #ruby
allcentury has quit [Ping timeout: 265 seconds]
beilabs_ has joined #ruby
harai54 has joined #ruby
ta_ has joined #ruby
beilabs has quit [Ping timeout: 240 seconds]
moonythedwarf_ has quit [Ping timeout: 240 seconds]
Ropeney has joined #ruby
SteenJobs has joined #ruby
ta_ has quit [Ping timeout: 258 seconds]
harai54 has quit [Ping timeout: 264 seconds]
<jazzonmym111nd> zenspider: smoking i think
Pumukel has joined #ruby
tdy has joined #ruby
Limix has joined #ruby
tdy1 has joined #ruby
capitainIsh has joined #ruby
Pumukel has quit [Ping timeout: 265 seconds]
axisys_ has quit [Read error: Connection reset by peer]
moeabdol has joined #ruby
tdy1 has quit [Client Quit]
tdy has quit [Ping timeout: 250 seconds]
Pumukel has joined #ruby
axisys has joined #ruby
Cohedrin has joined #ruby
tdy has joined #ruby
d0nn1e has joined #ruby
nankyokusei has joined #ruby
Pumukel has quit [Ping timeout: 264 seconds]
moeabdol has quit [Ping timeout: 240 seconds]
jgt3 has joined #ruby
beilabs has joined #ruby
eciohc has joined #ruby
nankyokusei has quit [Ping timeout: 244 seconds]
beilabs_ has quit [Ping timeout: 244 seconds]
jgt3 has quit [Ping timeout: 240 seconds]
Pumukel has joined #ruby
eciohc has quit [Remote host closed the connection]
davedev24 has joined #ruby
davedev24 has quit [Client Quit]
symm- has quit [Ping timeout: 276 seconds]
Limix has quit [Ping timeout: 250 seconds]
Elvin_ has joined #ruby
Limix has joined #ruby
Vannya has quit [Quit: Leaving]
Pumukel has quit [Ping timeout: 264 seconds]
dminuoso has joined #ruby
Pumukel has joined #ruby
pythonator has quit [Quit: Lost terminal]
sumobob has joined #ruby
Alina-malina has quit [Ping timeout: 240 seconds]
Pumukel has quit [Ping timeout: 260 seconds]
Rodya_ has joined #ruby
dminuoso has quit [Ping timeout: 276 seconds]
reaVer has joined #ruby
Phanes has quit [Quit: ...shout as you did in rome...]
karmatr0n has quit [Ping timeout: 260 seconds]
JeanCarl1Machado has quit [Ping timeout: 250 seconds]
Rodya_ has quit [Read error: Connection reset by peer]
Phanes has joined #ruby
Phanes has quit [Changing host]
Phanes has joined #ruby
reaVer_ has quit [Ping timeout: 244 seconds]
karmatr0n has joined #ruby
moeabdol has joined #ruby
Pumukel has joined #ruby
blackmesa has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
jenrzzz has joined #ruby
Elvin_ has quit [Quit: Textual IRC Client: www.textualapp.com]
SteenJobs has quit [Quit: SteenJobs]
dessm has joined #ruby
ericsupreme has joined #ruby
ericsupreme has quit [Remote host closed the connection]
Pumukel has quit [Ping timeout: 260 seconds]
Rickmast_ has quit [Remote host closed the connection]
TheWhip has joined #ruby
pnes has joined #ruby
blackmesa has quit [Ping timeout: 258 seconds]
akira616 has joined #ruby
moeabdol1 has joined #ruby
akira616 has left #ruby [#ruby]
moeabdol has quit [Ping timeout: 244 seconds]
Pumukel has joined #ruby
<aidalgol> zenspider: vapour cigarettes, aka e-cigs.
Phanes has quit [Quit: ...shout as you did in rome...]
Phanes has joined #ruby
Phanes has quit [Changing host]
Phanes has joined #ruby
<pnes> my 6 year old just tried my ecigarette for the first time
Madplatypus has joined #ruby
<aidalgol> What's the difference between the Date class that's in global scope in a fresh IRB session and whatever `require "date"` loads?
jenrzzz has quit [Ping timeout: 250 seconds]
<aidalgol> I haven't installed any special date library, so they're both part of standard Ruby. Is the former just left around for backwards compatibility?
aryaching has quit [Ping timeout: 264 seconds]
aryaching has joined #ruby
Immune has joined #ruby
Pumukel has quit [Ping timeout: 260 seconds]
Pumukel has joined #ruby
giz|work has joined #ruby
dhollinger has quit [Quit: WeeChat 1.0.1]
<matthewd> aidalgol: My irb has no Date defined at startup
mainfram has joined #ruby
<aidalgol> matthewd: Which version? I'm using a slightly older version because I'm using the version from Debian stable: ruby2.1
giz|work has quit [Ping timeout: 240 seconds]
mainfram has left #ruby [#ruby]
Pumukel has quit [Ping timeout: 260 seconds]
yaewa has joined #ruby
cibs has quit [Ping timeout: 240 seconds]
heelpmeplz has quit [Read error: Connection reset by peer]
moei has quit [Ping timeout: 250 seconds]
heelpmeplz has joined #ruby
cibs has joined #ruby
<matthewd> aidalgol: Ah, here you go: https://bugs.ruby-lang.org/issues/9890
aryaching has quit [Ping timeout: 265 seconds]
<aidalgol> oh, cool. known and resolved. :)
Pumukel has joined #ruby
<aidalgol> thanks
zacts has quit [Ping timeout: 250 seconds]
Phanes has left #ruby ["Leaving"]
l4v2 has quit [Quit: l4v2]
TheWhip has quit [Remote host closed the connection]
MrBusiness2 has joined #ruby
binaryplease has quit [Ping timeout: 265 seconds]
Pumukel has quit [Ping timeout: 264 seconds]
crystal77 has joined #ruby
braincrash has quit [Quit: bye bye]
majoh_ has quit [Ping timeout: 264 seconds]
kaspergrubbe has quit [Ping timeout: 264 seconds]
Pumukel has joined #ruby
kaspergrubbe has joined #ruby
MrBusiness has quit [Ping timeout: 250 seconds]
programmerq has quit [Read error: Connection reset by peer]
bad_ip has quit [Ping timeout: 276 seconds]
Pumukel has quit [Ping timeout: 264 seconds]
beilabs has quit [Ping timeout: 250 seconds]
Coldblackice has joined #ruby
TheWhip has joined #ruby
beilabs has joined #ruby
karmatr0n has quit [Ping timeout: 276 seconds]
hk238 has joined #ruby
sleepee has joined #ruby
Pumukel has joined #ruby
TheWhip has quit [Ping timeout: 260 seconds]
binaryplease has joined #ruby
braincrash has joined #ruby
majoh_ has joined #ruby
dminuoso has joined #ruby
maloik has quit [Remote host closed the connection]
maloik has joined #ruby
Pumukel has quit [Ping timeout: 260 seconds]
Pumukel has joined #ruby
crystal77 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
sleepee has quit [Ping timeout: 276 seconds]
dminuoso has quit [Ping timeout: 264 seconds]
duderono_ has quit [Quit: Textual IRC Client: www.textualapp.com]
trampi has quit [Ping timeout: 258 seconds]
Pumukel has quit [Ping timeout: 260 seconds]
beilabs_ has joined #ruby
yaewa has quit [Quit: Leaving...]
moei has joined #ruby
djbkd has joined #ruby
Pumukel has joined #ruby
beilabs has quit [Ping timeout: 276 seconds]
Pumukel has quit [Ping timeout: 260 seconds]
l4v2 has joined #ruby
blackmesa has joined #ruby
Dimik has joined #ruby
ta_ has joined #ruby
gix has quit [Ping timeout: 276 seconds]
blackmesa has quit [Ping timeout: 244 seconds]
gix has joined #ruby
beilabs has joined #ruby
c355e3b has quit [Quit: Connection closed for inactivity]
ta_ has quit [Ping timeout: 265 seconds]
beilabs_ has quit [Ping timeout: 244 seconds]
mtkd has quit [Ping timeout: 265 seconds]
mtkd has joined #ruby
duncannz has joined #ruby
cast has joined #ruby
cast has left #ruby [#ruby]
youch has joined #ruby
sumobob has quit [Remote host closed the connection]
nando293921 has quit [Ping timeout: 264 seconds]
Authenticator has joined #ruby
chestnutpie has joined #ruby
arescorpio has joined #ruby
Pumukel has joined #ruby
phredus has quit [Remote host closed the connection]
zacts has joined #ruby
elifoster has quit [Quit: out]
phredus has joined #ruby
nankyokusei has joined #ruby
sash_ has quit [Ping timeout: 250 seconds]
trif has quit [Ping timeout: 244 seconds]
Pumukel has quit [Ping timeout: 265 seconds]
duderonomy has joined #ruby
Pumukel has joined #ruby
tessi_zz has quit [Ping timeout: 250 seconds]
djbkd has quit [Quit: My people need me...]
bkxd has quit [Ping timeout: 244 seconds]
tessi_zz has joined #ruby
nankyokusei has quit [Ping timeout: 264 seconds]
MrBusiness2 has quit [Read error: Connection reset by peer]
MrBusiness2 has joined #ruby
youch has quit [Ping timeout: 250 seconds]
Pumukel has quit [Ping timeout: 260 seconds]
ItSANgo has quit [Quit: Leaving...]
youch has joined #ruby
SteenJobs has joined #ruby
capitainIsh has quit [Quit: Textual IRC Client: www.textualapp.com]
Limix has quit [Quit: Limix]
alem0lars_ has quit [Remote host closed the connection]
tk___ has joined #ruby
dreamyspell_ is now known as dreamyspell
trif has joined #ruby
dminuoso has joined #ruby
Limix has joined #ruby
phredus has quit [Remote host closed the connection]
sdothum has quit [Quit: ZNC - 1.6.0 - http://znc.in]
hays has quit [Ping timeout: 244 seconds]
rubie has joined #ruby
zacts has quit [Ping timeout: 265 seconds]
leea has joined #ruby
phredus has joined #ruby
dminuoso has quit [Ping timeout: 240 seconds]
trif has quit [Ping timeout: 276 seconds]
TheWhip has joined #ruby
RegulationD has joined #ruby
ItSANgo has joined #ruby
blandflakes has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
tessi_zz has quit [Ping timeout: 258 seconds]
axsuul has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
RegulationD has quit [Ping timeout: 240 seconds]
blackmesa has joined #ruby
Azure has quit [Remote host closed the connection]
gtdBFmKOXx has quit [Remote host closed the connection]
PvLfNQxpCk has joined #ruby
shinnya has quit [Ping timeout: 260 seconds]
dviola has quit [Quit: WeeChat 1.5]
trif has joined #ruby
tessi_zz has joined #ruby
sash_ has joined #ruby
sash_ is now known as Guest62100
blackmesa has quit [Ping timeout: 260 seconds]
nando293921 has joined #ruby
tectonic has quit []
Guest62100 has quit [Ping timeout: 250 seconds]
giz|work has joined #ruby
trif has quit [Ping timeout: 252 seconds]
qguv has joined #ruby
minimalism has quit [Quit: minimalism]
shinnya has joined #ruby
tessi_zz has quit [Ping timeout: 250 seconds]
Alina-malina has joined #ruby
giz|work has quit [Ping timeout: 258 seconds]
Alina-malina has quit [Changing host]
Alina-malina has joined #ruby
face has joined #ruby
tessi_zz has joined #ruby
Vlat- has joined #ruby
shinnya has quit [Ping timeout: 276 seconds]
djbkd has joined #ruby
Guest62100 has joined #ruby
govg has joined #ruby
dhollinger has joined #ruby
dhollinger has quit [Client Quit]
PvLfNQxpCk has quit [Remote host closed the connection]
kira has quit [Ping timeout: 250 seconds]
trif has joined #ruby
craigp has quit [Ping timeout: 276 seconds]
dhollinger has joined #ruby
rsampaio_ has joined #ruby
beilabs_ has joined #ruby
KnownSyntax has joined #ruby
bkxd has joined #ruby
beilabs has quit [Ping timeout: 250 seconds]
Pumukel has joined #ruby
axsuul has joined #ruby
beilabs has joined #ruby
Pumukel has quit [Ping timeout: 260 seconds]
KnownSyntax has quit [Remote host closed the connection]
bkxd_ has joined #ruby
bkxd has quit [Ping timeout: 276 seconds]
beilabs__ has joined #ruby
dminuoso has joined #ruby
chestnutpie has quit [Quit: Leaving]
KnownSyntax has joined #ruby
beilabs_ has quit [Ping timeout: 258 seconds]
beilabs has quit [Ping timeout: 276 seconds]
ta_ has joined #ruby
dminuoso has quit [Ping timeout: 260 seconds]
bkxd_ has quit [Ping timeout: 244 seconds]
ta_ has quit [Ping timeout: 258 seconds]
bkxd has joined #ruby
Immune has quit [Ping timeout: 244 seconds]
the_rhizo3 has quit [Ping timeout: 250 seconds]
bkxd_ has joined #ruby
bkxd has quit [Ping timeout: 276 seconds]
blackmesa has joined #ruby
ghostlight has joined #ruby
beilabs__ has quit [Read error: Connection reset by peer]
beilabs has joined #ruby
beilabs_ has joined #ruby
arescorpio has quit [Remote host closed the connection]
bkxd_ has quit [Ping timeout: 265 seconds]
beilabs__ has joined #ruby
leea has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
craigp has joined #ruby
beilabs has quit [Ping timeout: 265 seconds]
kira has joined #ruby
blackmesa has quit [Ping timeout: 260 seconds]
beilabs_ has quit [Ping timeout: 240 seconds]
djbkd has quit []
bPqArhZYBx has joined #ruby
Vlat- has quit [Quit: Vlat-]
giz|work has joined #ruby
Limix has quit [Quit: Limix]
jswe has quit [Remote host closed the connection]
kira has quit [Ping timeout: 250 seconds]
SteenJobs has quit [Quit: SteenJobs]
hightower has quit [Ping timeout: 264 seconds]
rippa has joined #ruby
jswe has joined #ruby
phredus has quit [Remote host closed the connection]
chihhsin has quit [Ping timeout: 244 seconds]
daffy_duck_3 has joined #ruby
Vlat- has joined #ruby
phredus has joined #ruby
nankyokusei has joined #ruby
daffy_duck_2 has quit [Ping timeout: 260 seconds]
chihhsin has joined #ruby
craigp has quit [Ping timeout: 276 seconds]
karmatr0n has joined #ruby
jswe has quit [Quit: ZNC 1.6.3+deb1+trusty0 - http://znc.in]
nankyokusei has quit [Ping timeout: 276 seconds]
jswe has joined #ruby
bkxd has joined #ruby
jswe has quit [Client Quit]
TheWhip has quit [Ping timeout: 244 seconds]
karmatr0n has quit [Ping timeout: 252 seconds]
jswe has joined #ruby
ec0 has quit [Ping timeout: 250 seconds]
TheWhip has joined #ruby
dminuoso has joined #ruby
Pumukel has joined #ruby
beilabs__ has quit [Remote host closed the connection]
mixtli has joined #ruby
beilabs has joined #ruby
yuki_is_bored has quit [Quit: leaving]
ruby has joined #ruby
dminuoso has quit [Ping timeout: 244 seconds]
pokalyis has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
ruby is now known as Guest97834
Pumukel has quit [Ping timeout: 265 seconds]
Vlat- has quit [Quit: Vlat-]
mixtli has quit [Ping timeout: 252 seconds]
beilabs has quit [Ping timeout: 276 seconds]
Guest97834 has quit [Client Quit]
pokalyis has joined #ruby
kira has joined #ruby
blackwind_123 has quit [Ping timeout: 250 seconds]
pokalyis has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
pokalyis has joined #ruby
Derperperd has joined #ruby
kira has quit [Ping timeout: 250 seconds]
ec0 has joined #ruby
blackmesa has joined #ruby
Cohedrin has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
lightheaded has joined #ruby
bkxd has quit [Ping timeout: 264 seconds]
hk238 has quit [Changing host]
hk238 has joined #ruby
bkxd has joined #ruby
rubie has quit [Remote host closed the connection]
blackmesa has quit [Ping timeout: 258 seconds]
pokalyis has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
aidalgol has quit [Remote host closed the connection]
jswe has quit [Quit: ZNC 1.6.3+deb1+trusty0 - http://znc.in]
moos3 has quit [Ping timeout: 250 seconds]
jswe has joined #ruby
bkxd_ has joined #ruby
bkxd has quit [Ping timeout: 276 seconds]
beilabs has joined #ruby
LoneHerm_ has quit [Remote host closed the connection]
Cohedrin has joined #ruby
Cohedrin has quit [Ping timeout: 250 seconds]
the_drow has joined #ruby
dessm has quit [Quit: dessm]
tmtwd has joined #ruby
rubie has joined #ruby
karmatr0n has joined #ruby
giz|work has quit [Ping timeout: 265 seconds]
aazsdk_ has joined #ruby
aazsdk has quit [Ping timeout: 265 seconds]
aazsdk_ is now known as aazsdk
rubie has quit [Remote host closed the connection]
ta_ has joined #ruby
kira has joined #ruby
gse_ has quit [Remote host closed the connection]
karmatr0n has quit [Ping timeout: 252 seconds]
ta_ has quit [Ping timeout: 258 seconds]
l4v2 has quit [Quit: l4v2]
gse has joined #ruby
tk___ has quit [Quit: ばいばい]
dminuoso has joined #ruby
Vile` has quit [Ping timeout: 276 seconds]
Pumukel has joined #ruby
firstdayonthejob has joined #ruby
lxsameer has joined #ruby
vuoto has joined #ruby
dminuoso has quit [Ping timeout: 260 seconds]
Pumukel has quit [Ping timeout: 264 seconds]
bcalud has joined #ruby
vuoto has quit [Remote host closed the connection]
claudiuinberlin has joined #ruby
vuoto has joined #ruby
galeido has quit [Changing host]
galeido has joined #ruby
ddffg has joined #ruby
etehtsea has joined #ruby
tmtwd has quit [Ping timeout: 244 seconds]
rajdesai has joined #ruby
trif has quit [Ping timeout: 260 seconds]
blackmesa has joined #ruby
bkxd_ has quit [Ping timeout: 244 seconds]
Guest62100 has quit [Ping timeout: 250 seconds]
conah has quit [Ping timeout: 250 seconds]
blackmesa has quit [Ping timeout: 244 seconds]
trif has joined #ruby
Pumukel has joined #ruby
tessi_zz has quit [Ping timeout: 250 seconds]
giz|work has joined #ruby
moos3 has joined #ruby
beilabs has quit [Remote host closed the connection]
beilabs has joined #ruby
Alina-malina_ has joined #ruby
trif has quit [Ping timeout: 265 seconds]
trif has joined #ruby
LoneHerm_ has joined #ruby
tessi_zz has joined #ruby
etehtsea has quit [Quit: Computer has gone to sleep.]
ec0 has quit [Ping timeout: 258 seconds]
Pumukel has quit [Ping timeout: 264 seconds]
moos3 has quit [Ping timeout: 250 seconds]
Pumukel has joined #ruby
etehtsea has joined #ruby
beilabs has quit [Ping timeout: 276 seconds]
Alina-malina has quit [Ping timeout: 244 seconds]
Alina-malina_ has quit [Changing host]
Alina-malina_ has joined #ruby
rajdesai has quit [Remote host closed the connection]
Alina-malina_ is now known as Alina-malina
antgel has joined #ruby
LoneHerm_ has quit [Ping timeout: 252 seconds]
trif has quit [Ping timeout: 265 seconds]
aazsdk has quit [Ping timeout: 276 seconds]
tessi_zz has quit [Ping timeout: 260 seconds]
amincd has joined #ruby
aazsdk has joined #ruby
<amincd> Hi, should I use the Ruby DBI module to interact with databases or is that deprecated?
Pumukel has quit [Ping timeout: 260 seconds]
Derperperd has quit [Read error: Connection reset by peer]
gizmore has joined #ruby
nankyokusei has joined #ruby
Derperperd has joined #ruby
Derperperd has quit [Read error: Connection reset by peer]
karmatr0n has joined #ruby
Pumukel has joined #ruby
Dimik has quit [Ping timeout: 260 seconds]
nankyokusei has quit [Ping timeout: 264 seconds]
Derperperd has joined #ruby
rajdesai has joined #ruby
youch has quit [Ping timeout: 252 seconds]
anisha has joined #ruby
vuoto has quit [Remote host closed the connection]
karmatr0n has quit [Ping timeout: 252 seconds]
Pumukel has quit [Ping timeout: 260 seconds]
rajdesai has quit [Ping timeout: 258 seconds]
amincd has quit [Quit: Page closed]
Ishido has joined #ruby
giz|work has quit [Ping timeout: 260 seconds]
dminuoso has joined #ruby
mixtli has joined #ruby
aidalgol has joined #ruby
Pumukel has joined #ruby
Guest62100 has joined #ruby
beilabs has joined #ruby
mixtli has quit [Ping timeout: 244 seconds]
flying has joined #ruby
dminuoso has quit [Ping timeout: 264 seconds]
blackwind_123 has joined #ruby
nekomune_ has quit [Quit: C= C= C= C= C= ┌(;・ω・)┘]
RegulationD has joined #ruby
nekomune has joined #ruby
Pumukel has quit [Ping timeout: 260 seconds]
Guest62100 has quit [Ping timeout: 260 seconds]
beilabs has quit [Ping timeout: 240 seconds]
beilabs has joined #ruby
RegulationD has quit [Ping timeout: 244 seconds]
c0ldfr0nt has joined #ruby
beilabs_ has joined #ruby
beilabs has quit [Read error: Connection reset by peer]
jackjackdripper has joined #ruby
tyang has quit [Ping timeout: 244 seconds]
beilabs_ has quit [Read error: Connection reset by peer]
Pumukel has joined #ruby
beilabs has joined #ruby
blackmesa has joined #ruby
toretore has joined #ruby
flying has quit [Read error: Connection reset by peer]
bkxd has joined #ruby
MrBusiness3 has joined #ruby
jkhl has joined #ruby
flying has joined #ruby
Pumukel has quit [Ping timeout: 264 seconds]
tessi_zz has joined #ruby
Pumukel has joined #ruby
rsampaio_ has quit [Quit: -h]
rsampaio_ has joined #ruby
MrBusiness2 has quit [Ping timeout: 250 seconds]
flying has quit [Remote host closed the connection]
flying has joined #ruby
tessi_zz has quit [Ping timeout: 250 seconds]
Pumukel has quit [Ping timeout: 264 seconds]
Guest62100 has joined #ruby
flying has quit []
Guest62100 has quit [Ping timeout: 244 seconds]
Pumukel has joined #ruby
duncannz has quit [Remote host closed the connection]
rsampaio_ has quit [Ping timeout: 250 seconds]
tessi_zz has joined #ruby
toretore has quit [Ping timeout: 265 seconds]
shinnya has joined #ruby
conta has joined #ruby
Pumukel has quit [Ping timeout: 258 seconds]
LoneHermit has joined #ruby
ta_ has joined #ruby
LoneHermit has quit [Ping timeout: 252 seconds]
lxsameer has quit [Ping timeout: 265 seconds]
ta_ has quit [Ping timeout: 240 seconds]
anisha has quit [Quit: This computer has gone to sleep]
edwinvdgraaf has joined #ruby
bawlr has quit [Ping timeout: 244 seconds]
edwinvdg_ has joined #ruby
heelpmeplz has quit [Read error: Connection reset by peer]
amincd has joined #ruby
<amincd> hi, what's the recommended way to interact with a database using Ruby?
karmatr0n has joined #ruby
jackjackdripper has quit [Quit: Leaving.]
edwinvdgraaf has quit [Ping timeout: 264 seconds]
Hyuk has joined #ruby
rheddry has quit [Quit: Farewell]
karmatr0n has quit [Ping timeout: 252 seconds]
bcalud has quit [Ping timeout: 250 seconds]
levifig has joined #ruby
etehtsea has quit [Read error: Connection reset by peer]
moei has quit [Quit: Leaving...]
moei has joined #ruby
ec0 has joined #ruby
dminuoso has joined #ruby
tobacco_joe has joined #ruby
Pumukel has joined #ruby
CloCkWeRX has joined #ruby
DTZUZU has joined #ruby
<Yxhuvud> smoke signals.
<Yxhuvud> you should give more info about what you want to do. what database, in what scenario?
<amincd> Yxhuvud: MySQL
dminuoso has quit [Ping timeout: 265 seconds]
<Yxhuvud> there is the mysql2 gem.
<amincd> Yxhuvud: I want to access and update user records
<amincd> is it recommended over the ruby-dbi module?
Pumukel has quit [Ping timeout: 264 seconds]
<Yxhuvud> dunno. I usually use activerecord (that in turn uses mysql2) instead of raw sql
<amincd> Yxhuvud: thanks. That's enough for me (the fact that you recommend it and ActiveRecord uses it)
Pumukel has joined #ruby
mrmortondk has joined #ruby
Pumukel has quit [Ping timeout: 260 seconds]
Pumukel has joined #ruby
moos3 has joined #ruby
TheWhip has quit []
Pumukel has quit [Ping timeout: 264 seconds]
moos3 has quit [Ping timeout: 276 seconds]
AlexRussia has quit [Ping timeout: 276 seconds]
miqlas-H has joined #ruby
shinnya has quit [Quit: ZNC - http://znc.in]
amincd has quit [Quit: Page closed]
shinnya has joined #ruby
Pumukel has joined #ruby
nankyokusei has joined #ruby
ec0 has quit [Ping timeout: 250 seconds]
AlexRussia has joined #ruby
Pumukel has quit [Ping timeout: 264 seconds]
Pumukel has joined #ruby
karmatr0n has joined #ruby
nankyokusei has quit [Ping timeout: 276 seconds]
miqlas-H has quit [Ping timeout: 252 seconds]
miqlas-H has joined #ruby
vuoto has joined #ruby
giz|work has joined #ruby
Madplatypus has quit [Quit: Connection closed for inactivity]
Pumukel has quit [Ping timeout: 260 seconds]
karmatr0n has quit [Ping timeout: 252 seconds]
Hyuk has quit [Ping timeout: 244 seconds]
firstdayonthejob has quit [Quit: WeeChat 1.5]
edwinvdg_ has quit [Ping timeout: 264 seconds]
giz|work has quit [Ping timeout: 244 seconds]
pawnbox has joined #ruby
Pumukel has joined #ruby
dminuoso has joined #ruby
shinnya has quit [Quit: ZNC - http://znc.in]
Talltree_ is now known as Talltree
ec0 has joined #ruby
shinnya has joined #ruby
symm- has joined #ruby
edwinvdgraaf has joined #ruby
Pumukel has quit [Ping timeout: 260 seconds]
gizless has joined #ruby
gizmore has quit [Ping timeout: 240 seconds]
dminuoso has quit [Ping timeout: 260 seconds]
Pumukel has joined #ruby
nando293921 has quit [Ping timeout: 260 seconds]
aidalgol has quit [Quit: zZzZzzz]
sleepee has joined #ruby
Pumukel has quit [Ping timeout: 264 seconds]
Rodya_ has joined #ruby
sdothum has joined #ruby
Pumukel has joined #ruby
kira has quit [Ping timeout: 250 seconds]
miqlas-H has quit [Quit: Vision[0.9.7-H-20140108]: i've been blurred!]
finisherr has joined #ruby
finisherr has quit [Client Quit]
Pumukel has quit [Ping timeout: 260 seconds]
Pumukel has joined #ruby
kira has joined #ruby
ta_ has joined #ruby
FernandoBasso has joined #ruby
FernandoBasso has quit [Client Quit]
pandaant has joined #ruby
Pumukel has quit [Ping timeout: 260 seconds]
stamina has joined #ruby
edwinvdg_ has joined #ruby
FernandoBasso has joined #ruby
ta_ has quit [Ping timeout: 260 seconds]
miqlas-H has joined #ruby
edwinvdgraaf has quit [Ping timeout: 264 seconds]
lxsameer has joined #ruby
M-mistake has quit [Read error: Connection reset by peer]
M-manveru has quit [Remote host closed the connection]
M-shine has quit [Read error: Connection reset by peer]
Pumukel has joined #ruby
c355e3b has joined #ruby
M-shine has joined #ruby
Pumukel has quit [Ping timeout: 240 seconds]
edwinvdgraaf has joined #ruby
Pumukel has joined #ruby
blackmesa has quit [Ping timeout: 244 seconds]
edwinvdg_ has quit [Ping timeout: 244 seconds]
Burgestrand has joined #ruby
Pumukel has quit [Ping timeout: 260 seconds]
Pumukel has joined #ruby
jgt3 has joined #ruby
hanmac has quit [Ping timeout: 258 seconds]
jud has quit [Quit: Leaving]
Pumukel has quit [Ping timeout: 240 seconds]
CloCkWeRX has quit [Ping timeout: 240 seconds]
nadir has quit [Quit: Connection closed for inactivity]
flashpoint9 has joined #ruby
blackmesa has joined #ruby
PalaHO has joined #ruby
dminuoso has joined #ruby
hanmac has joined #ruby
meth has joined #ruby
urbanmonk has quit [Quit: urbanmonk]
dminuoso has quit [Ping timeout: 250 seconds]
Coldblackice has quit [Ping timeout: 240 seconds]
moos3 has joined #ruby
tomchapi_ has joined #ruby
leitz has joined #ruby
Burgestrand has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
miqlas-H has quit [Ping timeout: 240 seconds]
tomchapin has quit [Ping timeout: 260 seconds]
miqlas-H has joined #ruby
Xiti` has quit [Quit: Xiti`]
<leitz> Running the tests puts the plot as "Rainbow Bright", which is the expected if the file load fails.
the_drow has quit [Remote host closed the connection]
<leitz> Running the CharacterTools.rb in irb gives a proper response of some plot.
moos3 has quit [Ping timeout: 250 seconds]
<leitz> What am I missing?
<PalaHO> c
Pumukel has joined #ruby
<Mon_Ouie> You're probably not running the code from the same directory
eregon_ is now known as eregon
ec0 has quit [Ping timeout: 258 seconds]
<leitz> Mon_Ouie, that was it. Fixed, I think.
<leitz> Is this the best way to use a global variable like $DATA_PATH? File.open("#{$DATA_PATH}/plots.txt", "r")
Pumukel has quit [Ping timeout: 264 seconds]
pokalyis has joined #ruby
<Mon_Ouie> I would use a constant instead
<leitz> What would make a constant better?
<leitz> I'm a Ruby Newbie, for the most part.
<Mon_Ouie> Constants can be scoped, global variables all share the same namespace. Also since there doesn't seem to be any reason for $DATA_PATH to change during the execution of the program a constant would better match the intent.
M-mistake has joined #ruby
<apeiros> $LOAD_PATH << File.expand_path("../../lib", __FILE__) # that does not belong into library code
<apeiros> a) lib is added to your load path by rubygems
<apeiros> b) if anything at all is responsible for setting up load paths, its your executable (stuff in bin/)
<apeiros> b) cont.: stuff in bin/, ruby (e.g. with -I), pry (e.g. with -I)
the_rhizo3 has joined #ruby
firstdayonthejob has joined #ruby
M-manveru has joined #ruby
<leitz> Mon_Ouie, you are right. The DATA_PATh won't change duing program running. I was mostly copying the $LOAD_PATH systax.
<leitz> Err...syntax
<leitz> apeiros, I've been calling some of the libraries independantly. For example, there's a test case for each one and I have been organically growing things as needed.
<apeiros> leitz: that does not change anything about what I said.
<leitz> Not a lot of cohesion in the program yet, that's part of the version 2 refactor going on.
<apeiros> it still does not belong there.
<apeiros> it's not a libraries duty to set up $LOAD_PATH. if you put it there, you do it wrong.
<apeiros> *library's
JeanCarloMachado has joined #ruby
<leitz> apeiros, I'm doing lots of things wrong. That's the joy of learning; finding and improving. In the case of LOAD_PATH some of the earlier work failed unless it was there, so I made a habit of putting it there.
<apeiros> leitz: and the point of learning is that when you're told you're doing something wrong, you don't go defensive. you fix it :-p
PalaHO has quit [Ping timeout: 264 seconds]
<apeiros>
<leitz> apeiros, my XChat can't translate that. :)
<apeiros> get a sensible unicode/emoji capable font :-p
<apeiros> it was a thumb-up
<leitz> Ah, cool. Thank you!
<leitz> Yeasterday I started converting methods to taking options as a hash instead of ordered input. Had a fun time figuring out a particular failure.
Xiti has joined #ruby
kspencer has quit [Ping timeout: 240 seconds]
<leitz> Fixed that bit, it was a nesting issue. Still need to fix all the methods though. That's the big push. That, and adding the plots and Keirsey stuff I'm doing now.
Vile` has joined #ruby
Pumukel has joined #ruby
<apeiros> use named arguments instead of hash
<apeiros> there's no (or in rare cases only a little) difference in usage, only one in definition. but it's much more self-explanatory than a hash argument.
<apeiros> also often nicer since you can easier specify defaults and required options
Pumukel has quit [Ping timeout: 240 seconds]
edwinvdgraaf has quit [Read error: Connection reset by peer]
edwinvdgraaf has joined #ruby
The_Phoenix has joined #ruby
<leitz> apeiros, I thought the hash was the way to use named arguments. Guess I have to go re-read that section.
Pumukel has joined #ruby
nankyokusei has joined #ruby
pawnbox has quit [Ping timeout: 258 seconds]
karmatr0n has joined #ruby
claudiuinberlin has quit [Remote host closed the connection]
Vlat- has joined #ruby
claudiuinberlin has joined #ruby
<leitz> Ah, test fails if I haven't written the file it's referencing. :)
Pumukel has quit [Ping timeout: 264 seconds]
craigp has joined #ruby
nankyokusei has quit [Ping timeout: 260 seconds]
karmatr0n has quit [Ping timeout: 240 seconds]
Pumukel has joined #ruby
jgt3 has quit [Ping timeout: 244 seconds]
vizvamitra has joined #ruby
Derperperd has quit [Read error: Connection reset by peer]
rrichardsr3 has joined #ruby
jeanlinux has quit [Remote host closed the connection]
jeanlinux has joined #ruby
blackmesa has quit [Ping timeout: 252 seconds]
<leitz> Mon_Ouie, a question on CONSTANTS. I declared is as: DATADIR = "../../data" and tried to refer to it as: if File.exist?("#{DATADIR}/tempraments.txt")
<apeiros> >> def foo(named:, arg: "default); end
<ruby[bot]> apeiros: # => /tmp/execpad-9b4842edec6a/source-9b4842edec6a:5: syntax error, unexpected tGVAR, expecting ')' ...check link for more (https://eval.in/626435)
<leitz> Not working. The file is there if I use the $DATA_PATH: if File.exist?("#{$DATA_PATH}/tempraments.txt")
<apeiros> oh, omitted a "
<apeiros> anyway: `def foo(named:, arg: "default"); end` <-- named args. `def foo(hash={}); end` <-- hash arg
Derperperd has joined #ruby
<leitz> apeiros, so named: would have to be set and arg would have a default if not set.
<apeiros> both can be called as `foo named: "value"`
<apeiros> correct
Pumukel has quit [Ping timeout: 260 seconds]
miqlas-H has quit [Quit: Vision[0.9.7-H-20140108]: i've been blurred!]
Derperperd has quit [Read error: Connection reset by peer]
c0mrad3 has joined #ruby
<apeiros> named args has 4 advantages: a) you can read from the code which options exist, b) you don't have to extract them from the hash, c) you can set defaults/requirements, d) it's more performant
<leitz> Ah, a Ruby 2-ism.
Pumukel has joined #ruby
<apeiros> well, I hope you use ruby 2.3. no reason for a new project to remain on an older ruby :)
Derperperd has joined #ruby
Derperperd has quit [Read error: Connection reset by peer]
jeanlinux has quit [Ping timeout: 265 seconds]
Alina-malina has quit [Ping timeout: 244 seconds]
mixtli has joined #ruby
vizvamitra has left #ruby [#ruby]
dminuoso has joined #ruby
FernandoBasso has quit [Quit: Leaving]
Derperperd has joined #ruby
minimalism has joined #ruby
<leitz> some of last week's work was to remove the requirement for SQLite support. You get more with it, but the program wil lwork without.
<leitz> This week I'll work on removing the JSON requirement.
<leitz> Maybe. I like JSON.
Pumukel has quit [Ping timeout: 260 seconds]
mixtli has quit [Ping timeout: 244 seconds]
dminuoso has quit [Ping timeout: 265 seconds]
pandaant has quit [Remote host closed the connection]
RegulationD has joined #ruby
e4xit has joined #ruby
Vlat- has left #ruby [#ruby]
Derperperd has quit [Read error: Connection reset by peer]
Derperperd has joined #ruby
Pumukel has joined #ruby
RegulationD has quit [Ping timeout: 244 seconds]
Derperperd has quit [Read error: Connection reset by peer]
ta_ has joined #ruby
Derperperd has joined #ruby
e4xit has quit [Quit: Right I'm out!]
Derperperd has quit [Read error: Connection reset by peer]
e4xit has joined #ruby
Derperperd has joined #ruby
Pumukel has quit [Ping timeout: 264 seconds]
lightheaded has quit [Ping timeout: 258 seconds]
Pumukel has joined #ruby
ta_ has quit [Ping timeout: 265 seconds]
minimalism has quit [Quit: minimalism]
minimalism has joined #ruby
lightheaded has joined #ruby
Pumukel has quit [Ping timeout: 260 seconds]
crystal77 has joined #ruby
reednj_ has joined #ruby
Alina-malina has joined #ruby
ponga has joined #ruby
Alina-malina has quit [Changing host]
Alina-malina has joined #ruby
FernandoBasso has joined #ruby
Pumukel has joined #ruby
<leitz> Time to get ready for church. See you all later.
leitz has quit [Quit: Nappy time]
lxsameer has quit [Ping timeout: 240 seconds]
Pumukel has quit [Ping timeout: 264 seconds]
blackmesa has joined #ruby
reednj_ has quit [Quit: WeeChat 1.5]
dreamyspell_ has joined #ruby
dreamyspell_ has quit [Remote host closed the connection]
lxsameer has joined #ruby
Weavel has joined #ruby
lxsameer has quit [Changing host]
lxsameer has joined #ruby
ltd_ has quit [Ping timeout: 240 seconds]
ltd_ has joined #ruby
ledestin has joined #ruby
vuoto has quit [Remote host closed the connection]
vuoto has joined #ruby
Rodya_ has quit [Remote host closed the connection]
bkxd has quit [Ping timeout: 244 seconds]
jgt3 has joined #ruby
vuoto has quit [Remote host closed the connection]
vuoto has joined #ruby
Derperperd has quit [Read error: Connection reset by peer]
etehtsea has joined #ruby
TheFox has joined #ruby
Pumukel has joined #ruby
GodFather has joined #ruby
Derperperd has joined #ruby
craigp has quit [Ping timeout: 276 seconds]
jgt3 has quit [Ping timeout: 260 seconds]
rrichardsr3 has quit [Read error: Connection reset by peer]
moos3 has joined #ruby
rrichardsr3 has joined #ruby
rrichardsr3 has quit [Max SendQ exceeded]
Pumukel has quit [Ping timeout: 258 seconds]
rrichardsr3 has joined #ruby
Derperperd has quit [Read error: No route to host]
lxsameer has quit [Ping timeout: 276 seconds]
preyalone has joined #ruby
<danst> >church >2016 >#ruby
<danst> I hope he's a preacher
Pumukel has joined #ruby
Derperperd has joined #ruby
mixtli has joined #ruby
moos3 has quit [Ping timeout: 240 seconds]
Pumukel has quit [Ping timeout: 260 seconds]
dminuoso has joined #ruby
mixtli has quit [Ping timeout: 244 seconds]
jud has joined #ruby
ihre has quit [Ping timeout: 276 seconds]
etehtsea has quit [Ping timeout: 244 seconds]
Derperperd has quit [Read error: Connection reset by peer]
GodFather has quit [Quit: Ex-Chat]
GodFather has joined #ruby
Derperperd has joined #ruby
dminuoso has quit [Ping timeout: 244 seconds]
airdisa has joined #ruby
Derperperd has quit [Read error: Connection reset by peer]
Derperperd has joined #ruby
monoprotic has joined #ruby
monoprotic has quit [Changing host]
monoprotic has joined #ruby
c0ldfr0nt has quit [Quit: leaving]
diprotic has quit [Ping timeout: 240 seconds]
pawnbox has joined #ruby
zacts has joined #ruby
AzureStigma has joined #ruby
vuoto has quit [Ping timeout: 244 seconds]
vuoto has joined #ruby
The_Phoenix1 has joined #ruby
The_Phoenix has quit [Ping timeout: 265 seconds]
tectonic has joined #ruby
rrichardsr3 has quit [Quit: He who dares .... wins.]
blackmesa has quit [Ping timeout: 260 seconds]
Derperperd has quit [Read error: Connection reset by peer]
Rodya_ has joined #ruby
Derperperd has joined #ruby
Pumukel has joined #ruby
etehtsea has joined #ruby
GodFather has quit [Ping timeout: 240 seconds]
Pumukel has quit [Ping timeout: 260 seconds]
bPqArhZYBx has quit [Remote host closed the connection]
Pumukel has joined #ruby
spudowiar has joined #ruby
blackmesa has joined #ruby
LoneHermit has joined #ruby
zacts has quit [Ping timeout: 258 seconds]
ledestin has quit [Ping timeout: 244 seconds]
aazsdk has quit [Ping timeout: 244 seconds]
Pumukel has quit [Ping timeout: 264 seconds]
aazsdk has joined #ruby
polysics has joined #ruby
LoneHermit has quit [Ping timeout: 252 seconds]
uvhrLnsaYG has joined #ruby
kspencer has joined #ruby
ledestin has joined #ruby
aazsdk_ has joined #ruby
aazsdk has quit [Ping timeout: 260 seconds]
aazsdk_ is now known as aazsdk
Pumukel has joined #ruby
jgt3 has joined #ruby
<chrisseaton> I want to use `attr_reader :patched?`, to give myself a #patched? method, but I can't assign @patched? without using metaprogramming can I? Does anyone have a better pattern to do this?
AzureStigma is now known as AzureStigma|Away
Vile` has quit [Quit: .]
AzureStigma|Away has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
uvhrLnsaYG has quit [Remote host closed the connection]
vuoto has quit [Remote host closed the connection]
AzureStigma has joined #ruby
giz|work has joined #ruby
tobacco__ has joined #ruby
claudiuinberlin has quit [Remote host closed the connection]
mrtg9970 has joined #ruby
jgt3 has quit [Ping timeout: 265 seconds]
claudiuinberlin has joined #ruby
mrtg9970 has quit [Client Quit]
jeanlinux has joined #ruby
vuoto has joined #ruby
mrtg9970 has joined #ruby
tectonic has quit []
giz|work has quit [Ping timeout: 265 seconds]
tobacco_joe has quit [Ping timeout: 240 seconds]
mrtg9970 has quit [Client Quit]
Pumukel has quit [Ping timeout: 264 seconds]
qba73 has joined #ruby
JimK has joined #ruby
crystal77 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
ta_ has joined #ruby
danielius has joined #ruby
jeanlinux has quit [Ping timeout: 265 seconds]
<JimK> exit
JimK has quit [Client Quit]
Pumukel has joined #ruby
Limix has joined #ruby
Limix has quit [Client Quit]
zacts has joined #ruby
sleepee has quit [Quit: Leaving]
dminuoso has joined #ruby
<apeiros> chrisseaton: you can define your own `attr_flag :patched` (or `attr_flag :patched?`). use either define_method or class_eval to implement it. you should put it on Module as an instance method.
nadir has joined #ruby
<apeiros> and no, @patched? is not a valid ivar name. you have to use @patched or something else without ? at the end.
<chrisseaton> attr_flag that's a good idea
ta_ has quit [Ping timeout: 240 seconds]
Pumukel has quit [Ping timeout: 260 seconds]
ihre has joined #ruby
dminuoso has quit [Ping timeout: 258 seconds]
danielius has quit [Remote host closed the connection]
d0lph1n98 has joined #ruby
Pumukel has joined #ruby
ctp has joined #ruby
AzureStigma has quit [Quit: Textual IRC Client: www.textualapp.com]
symm- has quit [Ping timeout: 250 seconds]
daffy_duck_3 has quit [Read error: Connection reset by peer]
daffy_duck_2 has joined #ruby
nhhc has joined #ruby
jhack0 is now known as jhack
Pumukel has quit [Ping timeout: 264 seconds]
jhack has quit [Changing host]
jhack has joined #ruby
karmatr0n has joined #ruby
Pumukel has joined #ruby
claudiuinberlin has quit [Remote host closed the connection]
karmatr0n has quit [Ping timeout: 240 seconds]
qba73 has quit []
qba73 has joined #ruby
Pumukel has quit [Ping timeout: 276 seconds]
Pumukel has joined #ruby
qba73 has quit [Client Quit]
qba73 has joined #ruby
heyy has joined #ruby
d0lph1n98 has quit [Quit: leaving]
ramblinpeck has quit [Quit: Connection closed for inactivity]
Pumukel has quit [Ping timeout: 260 seconds]
heyy has quit [Ping timeout: 264 seconds]
TheFox has quit [Quit: leaving]
The_Phoenix1 has quit [Quit: Leaving.]
l4v2 has joined #ruby
Azure has joined #ruby
Pumukel has joined #ruby
SteenJobs has joined #ruby
LoneHermit has joined #ruby
Pumukel has quit [Ping timeout: 258 seconds]
bad_ip has joined #ruby
bad_ip has quit [Changing host]
bad_ip has joined #ruby
Pumukel has joined #ruby
moos3 has joined #ruby
LoneHermit has quit [Ping timeout: 252 seconds]
etehtsea has quit [Quit: Computer has gone to sleep.]
Pumukel has quit [Ping timeout: 260 seconds]
moos3 has quit [Ping timeout: 252 seconds]
etehtsea has joined #ruby
tectonic has joined #ruby
stamina has quit [Quit: WeeChat 1.5]
conta has quit [Ping timeout: 264 seconds]
hipertracker has joined #ruby
jgt3 has joined #ruby
hays has joined #ruby
dmitrij has joined #ruby
jgt3 has quit [Ping timeout: 244 seconds]
giz|work has joined #ruby
hangelo has joined #ruby
claudiuinberlin has joined #ruby
optiz0r has joined #ruby
nando293921 has joined #ruby
hangelo has quit [Client Quit]
flashpoint9 has quit [Remote host closed the connection]
Pumukel has joined #ruby
ledestin has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
kobain has joined #ruby
flashpoint9 has joined #ruby
<optiz0r> Hi all, looking at some existing ruby code and I've seen a construct I've never seen before. I want to go read more about it, but not knowing what it's called not sure how to find out. What's this "end.delete" called at https://github.com/acidprime/puppet-catalog-diff/blob/master/lib/puppet/face/catalog/diff.rb#L212 ?
nando294021 has joined #ruby
nando293921 has quit [Read error: Connection reset by peer]
coolboy has joined #ruby
RegulationD has joined #ruby
qba73 has quit [Remote host closed the connection]
coolboy has quit [Client Quit]
coolboy has joined #ruby
<havenwood> optiz0r: It's calling the #delete_if method on the return value of the block that just ended.
flashpoint9 has quit [Ping timeout: 250 seconds]
<havenwood> >> begin; 42 end.to_s
<ruby[bot]> havenwood: # => "42" (https://eval.in/626525)
Pumukel has quit [Ping timeout: 260 seconds]
heelpmeplz has joined #ruby
alexherbo2 has joined #ruby
d0nn1e has quit [Ping timeout: 244 seconds]
RegulationD has quit [Ping timeout: 240 seconds]
<optiz0r> havenwood: aah, I was thinking it might have been something more complicated. Thanks for the explanation! :)
flashpoint9 has joined #ruby
d0nn1e has joined #ruby
flashpoint9 has quit [Remote host closed the connection]
davedev24 has joined #ruby
flashpoint9 has joined #ruby
Pumukel has joined #ruby
coolboy has quit [Ping timeout: 250 seconds]
flashpoint9 has quit [Ping timeout: 250 seconds]
Pumukel has quit [Ping timeout: 265 seconds]
rubie has joined #ruby
Pumukel has joined #ruby
PalaHO has joined #ruby
Kilo`byte has quit [Quit: ZNC - 1.6.0 - http://znc.in]
rubie has quit [Ping timeout: 252 seconds]
Kilo`byte has joined #ruby
Pumukel has quit [Ping timeout: 260 seconds]
toretore has joined #ruby
nhhc has quit [Quit: Leaving]
Pumukel has joined #ruby
Er-c has joined #ruby
lxsameer has joined #ruby
karmatr0n has joined #ruby
jeanlinux has joined #ruby
Guest77375 has joined #ruby
Dreamer3 has quit [Quit: Computer has gone to sleep.]
Pumukel has quit [Ping timeout: 265 seconds]
Pumukel has joined #ruby
jeanlinux has quit [Ping timeout: 265 seconds]
aryaching has joined #ruby
LoneHermit has joined #ruby
Fly77 has joined #ruby
Pumukel has quit [Ping timeout: 260 seconds]
etehtsea has quit [Quit: Computer has gone to sleep.]
LoneHermit has quit [Ping timeout: 252 seconds]
lxsameer has quit [Ping timeout: 252 seconds]
ta_ has joined #ruby
dmitrij has quit [Quit: 0x11c43115d]
Pumukel has joined #ruby
flashpoint9 has joined #ruby
etehtsea has joined #ruby
JeanCarloMachado has quit [Remote host closed the connection]
jgt3 has joined #ruby
ta_ has quit [Ping timeout: 264 seconds]
AndyBotwin has joined #ruby
karmatr0n has quit [Ping timeout: 240 seconds]
Fly77 has quit [Ping timeout: 244 seconds]
lightheaded has quit [Remote host closed the connection]
jgt3 has quit [Ping timeout: 244 seconds]
Fly77 has joined #ruby
ta_ has joined #ruby
etehtsea has quit [Quit: Computer has gone to sleep.]
Pumukel has quit [Ping timeout: 276 seconds]
Guest62100 has joined #ruby
zacts has quit [Quit: WeeChat 1.5]
Guest62100 is now known as sash_
sash_ has quit [Changing host]
sash_ has joined #ruby
sash_ has joined #ruby
Pumukel has joined #ruby
rsampaio_ has joined #ruby
Fly77 has quit [Remote host closed the connection]
giz|work has quit [Ping timeout: 244 seconds]
beilabs has quit [Remote host closed the connection]
cutiefun has joined #ruby
Pumukel has quit [Ping timeout: 260 seconds]
zacts has joined #ruby
moon_ has joined #ruby
kira has quit [Ping timeout: 250 seconds]
trif has joined #ruby
blackmesa has quit [Ping timeout: 250 seconds]
qba73 has joined #ruby
sepp2k has joined #ruby
pawnbox has quit [Remote host closed the connection]
qba73 has quit [Ping timeout: 264 seconds]
giz|work has joined #ruby
Pumukel has joined #ruby
flashpoint9 has quit [Remote host closed the connection]
flashpoint9 has joined #ruby
bmurt has quit [Ping timeout: 260 seconds]
ponga has quit [Quit: Connection closed for inactivity]
antgel has quit [Ping timeout: 258 seconds]
flashpoint9 has quit [Ping timeout: 250 seconds]
Pumukel has quit [Ping timeout: 264 seconds]
nhhc has joined #ruby
Er-c has quit [Quit: Textual IRC Client: www.textualapp.com]
aryaching has quit [Ping timeout: 244 seconds]
Pumukel has joined #ruby
mrmortondk has quit [Quit: Textual IRC Client: www.textualapp.com]
Weavel has quit [Ping timeout: 250 seconds]
vuoto has quit [Remote host closed the connection]
rgtk has joined #ruby
vuoto has joined #ruby
Pumukel has quit [Ping timeout: 264 seconds]
Emmanuel_Chanel has quit [Ping timeout: 250 seconds]
ta_ has quit [Remote host closed the connection]
bmurt has joined #ruby
moos3 has joined #ruby
rgtk has left #ruby [#ruby]
rgtk has joined #ruby
rgtk has left #ruby [#ruby]
rgtk_ has joined #ruby
<rgtk_> How is it that `URI(url)` is same as `URI.parse(url)`, does ruby provide magic method for former call?
Emmanuel_Chanel has joined #ruby
<rgtk_> It looks like `URI(url)` is calling main#URI which is pretty dirty.
moos3 has quit [Ping timeout: 252 seconds]
bmurt has quit [Ping timeout: 240 seconds]
<linduxed> rgtk_: some modules do that :-/
Immune has joined #ruby
andrewvos has joined #ruby
<rgtk_> URI is in stdlib. Same as Set which monkeypatch Array... Well, I guess every lagnauge has to have some not-so-good edges.
conta has joined #ruby
aryaching has joined #ruby
KINGSABRI___ has joined #ruby
diego1 has joined #ruby
FernandoBasso has quit [Quit: Leaving]
Pumukel has joined #ruby
beilabs has joined #ruby
KINGSABRI has quit [Ping timeout: 244 seconds]
jackjackdripper has joined #ruby
giz|work has quit [Ping timeout: 240 seconds]
pokalyis has quit [Read error: Connection reset by peer]
vuoto has quit [Remote host closed the connection]
pokalyis has joined #ruby
rsampaio_ has quit [Ping timeout: 244 seconds]
Pumukel has quit [Ping timeout: 260 seconds]
bmurt has joined #ruby
rgtk_ has quit [Quit: Page closed]
vuoto has joined #ruby
preyalone has quit [Quit: Connection closed for inactivity]
rsampaio_ has joined #ruby
Pumukel has joined #ruby
moonythedwarf_ has joined #ruby
jgt3 has joined #ruby
tdy has quit [Ping timeout: 244 seconds]
moon_ has quit [Ping timeout: 265 seconds]
vuoto has quit [Quit: Lost terminal]
vuoto has joined #ruby
danielpk has joined #ruby
Pumukel has quit [Ping timeout: 264 seconds]
Pumukel has joined #ruby
jgt3 has quit [Ping timeout: 244 seconds]
Miron has quit [Remote host closed the connection]
Azure has quit [Remote host closed the connection]
jgnagy_ has joined #ruby
tercenya_ has joined #ruby
Pumukel has quit [Ping timeout: 264 seconds]
danielpk has quit [Quit: danielpk]
blackmesa has joined #ruby
jgnagy has quit [Ping timeout: 250 seconds]
tercenya has quit [Ping timeout: 250 seconds]
twistedpixels has quit [Ping timeout: 250 seconds]
jrod has quit [Ping timeout: 250 seconds]
knog has quit [Ping timeout: 250 seconds]
jrod has joined #ruby
scottalan has quit [Ping timeout: 250 seconds]
scottalan has joined #ruby
meth has quit [Quit: Bye!]
Pumukel has joined #ruby
blackmesa has quit [Ping timeout: 250 seconds]
pythonator has joined #ruby
bauruine_ has joined #ruby
zacts has quit [Ping timeout: 250 seconds]
<pythonator> i'm having an issue with Watir. any ideas friends? /var/lib/gems/1.9.1/gems/watir-webdriver-0.9.3/lib/watir-webdriver/elements/element.rb:565:in `const_get': wrong constant name Watir::Locators::Element::Validator (NameError)
ghostlight has quit [Ping timeout: 258 seconds]
DTZUZU has quit [Quit: WeeChat 1.4]
twistedpixels has joined #ruby
twistedpixels has quit [Changing host]
twistedpixels has joined #ruby
kira has joined #ruby
ghostlight has joined #ruby
ghostlight has quit [Max SendQ exceeded]
ghostlight has joined #ruby
ghostlight has quit [Max SendQ exceeded]
ghostlight has joined #ruby
ghostlight has quit [Max SendQ exceeded]
Cohedrin has joined #ruby
ghostlight has joined #ruby
ghostlight has quit [Max SendQ exceeded]
Pumukel has quit [Ping timeout: 260 seconds]
ghostlight has joined #ruby
ghostlight has quit [Max SendQ exceeded]
last_staff has joined #ruby
ghostlight has joined #ruby
ghostlight has quit [Max SendQ exceeded]
ghostlight has joined #ruby
ghostlight has quit [Max SendQ exceeded]
ghostlight has joined #ruby
ghostlight has quit [Max SendQ exceeded]
ghostlight has joined #ruby
ghostlight has quit [Max SendQ exceeded]
ghostlight has joined #ruby
ghostlight has quit [Max SendQ exceeded]
ghostlight has joined #ruby
ghostlight has quit [Max SendQ exceeded]
<apeiros> !fixcon ghostlight
<apeiros> pythonator: sounds like you're using a ruby which is too old for your gem.
<apeiros> pythonator: I'd report a bug to the gem authors, they should specify the minimal ruby version.
symm- has joined #ruby
flashpoint9 has joined #ruby
hk238 has quit [Quit: http://www.kvirc.net/ 4.9.1 Aria]
minimalism has quit [Quit: minimalism]
knog has joined #ruby
cutiefun has quit [Ping timeout: 264 seconds]
lxsameer has joined #ruby
LoneHerm_ has joined #ruby
D has joined #ruby
kira has quit [Ping timeout: 250 seconds]
Tusskan has joined #ruby
moos3 has joined #ruby
nanoz has joined #ruby
mr_rich101 has quit [Ping timeout: 250 seconds]
Rodya_ has quit [Remote host closed the connection]
Rodya_ has joined #ruby
Koshian has quit [Ping timeout: 250 seconds]
aryaching has quit [Ping timeout: 264 seconds]
harfangk has joined #ruby
tmtwd has joined #ruby
mr_rich101 has joined #ruby
flashpoint9 has quit [Remote host closed the connection]
binaryplease1 has joined #ruby
jeanlinux has joined #ruby
binaryplease has quit [Ping timeout: 250 seconds]
ych has joined #ruby
tobacco_joe has joined #ruby
tectonic has quit []
Koshian has joined #ruby
rsampaio_ has quit [Ping timeout: 258 seconds]
jeanlinux has quit [Ping timeout: 265 seconds]
tobacco__ has quit [Ping timeout: 244 seconds]
minimalism has joined #ruby
Axy has joined #ruby
Mia has quit [Ping timeout: 244 seconds]
Limix has joined #ruby
Miron has joined #ruby
RegulationD has joined #ruby
zapata has quit [Ping timeout: 258 seconds]
Rodya_ has quit [Remote host closed the connection]
binaryplease1 is now known as binaryplease
mixtli has joined #ruby
Pumukel has joined #ruby
Dimik has joined #ruby
Rodya_ has joined #ruby
ta_ has joined #ruby
nankyokusei has joined #ruby
RegulationD has quit [Ping timeout: 250 seconds]
flashpoint9 has joined #ruby
Pumukel has quit [Ping timeout: 260 seconds]
jgt3 has joined #ruby
ta_ has quit [Ping timeout: 276 seconds]
nankyokusei has quit [Ping timeout: 244 seconds]
youch has joined #ruby
flashpoint9 has quit [Ping timeout: 250 seconds]
No_One has joined #ruby
jgt3 has quit [Ping timeout: 240 seconds]
ctp has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
zapata has joined #ruby
Pumukel has joined #ruby
elifoster has joined #ruby
youch has quit [Ping timeout: 265 seconds]
ych has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
pythonator has quit [Quit: Lost terminal]
blackmesa has joined #ruby
Pumukel has quit [Ping timeout: 265 seconds]
Pumukel has joined #ruby
loechel has joined #ruby
blackmesa has quit [Ping timeout: 265 seconds]
Pumukel has quit [Ping timeout: 264 seconds]
elifoster has quit [Quit: out]
edwinvdg_ has joined #ruby
loechel has quit [Ping timeout: 264 seconds]
edwinvdgraaf has quit [Ping timeout: 250 seconds]
blackmesa has joined #ruby
Pumukel has joined #ruby
jgpawletko has joined #ruby
jgpawletko has quit [Client Quit]
kies has quit [Ping timeout: 265 seconds]
nanoz has quit [Read error: Connection reset by peer]
Pumukel has quit [Ping timeout: 264 seconds]
Madplatypus has joined #ruby
SteenJobs has quit [Quit: SteenJobs]
Pumukel has joined #ruby
Coldblackice has joined #ruby
l4v2 has quit [Quit: l4v2]
harai has joined #ruby
ctp has joined #ruby
lxsameer has quit [Ping timeout: 276 seconds]
Pumukel has quit [Ping timeout: 264 seconds]
lightheaded has joined #ruby
kies has joined #ruby
<foxxx0> has anyone a good example for implementing semver URLs in sinatra using namespaces? or anything regarding semver URLs in sinatra?
Pumukel has joined #ruby
moneylotion has joined #ruby
<foxxx0> currently i have namespaces like: namespace '/api/v1/users' do {...} end; and for example i would like that namespace to respond to v1, v1.0 and v1.0.0 within the URL
Pumukel has quit [Ping timeout: 260 seconds]
<PalaHO> is there a aquivalence of hmac python lib in ruby ?
<PalaHO> equivalance
Xiti has quit [Quit: Xiti]
Pumukel has joined #ruby
<PalaHO> ?
harai54 has joined #ruby
Bish has joined #ruby
<Bish> hi, can i consider Net::SMTP to be thread safe?
<Bish> there is nothing Mutex-like to be found, but i figured maybe something like Socket is already thread safe?
harai has quit [Ping timeout: 240 seconds]
miqlas-H has joined #ruby
Pumukel has quit [Ping timeout: 260 seconds]
Davedev28 has joined #ruby
lxsameer has joined #ruby
moonythedwarf_ has quit [Ping timeout: 252 seconds]
moon_ has joined #ruby
beilabs has quit [Remote host closed the connection]
Pumukel has joined #ruby
PalaHO has quit [Ping timeout: 264 seconds]
crystal77 has joined #ruby
beilabs has joined #ruby
spudowiar has quit [Quit: Leaving.]
Ebok has joined #ruby
jgt3 has joined #ruby
Pumukel has quit [Ping timeout: 264 seconds]
conta has quit [Ping timeout: 264 seconds]
flashpoint9 has joined #ruby
spudowiar has joined #ruby
Pumukel has joined #ruby
jgt3 has quit [Ping timeout: 244 seconds]
marr has joined #ruby
kira has joined #ruby
lxsameer has quit [Ping timeout: 252 seconds]
harfangk has quit [Quit: Textual IRC Client: www.textualapp.com]
allcentury has joined #ruby
Pumukel has quit [Ping timeout: 264 seconds]
beilabs has quit [Read error: Connection reset by peer]
lxsameer has joined #ruby
lxsameer has quit [Max SendQ exceeded]
beilabs has joined #ruby
<Bish> Thread.wakeup!
pythonator has joined #ruby
<pythonator> Hey. I've been working on this for about 2 hours straight now... I'm using Ruby 1.9.1 with Watir-Webdriver 0.9.3... and some of the built-in functionality (such as object.click to click on a button) is resulting in a NameError: wrong constant name Watir::Locators::Element::Validator... so, i have ruby 2.3 installed as well, but the gem isnt found. is there any way to copy & paste the gem installed for
<pythonator> 1.9.1 over to 2.3?
Pumukel has joined #ruby
spudowiar has quit [Quit: bye]
<pythonator> when i try to gem install i get a /usr/lib/ruby/2.3.0/mkmf.rb:456:in `try_do': The compiler failed to generate an
Pumukel has quit [Ping timeout: 264 seconds]
igniting has joined #ruby
postmodern has joined #ruby
kira has quit [Ping timeout: 260 seconds]
lightheaded has quit [Read error: Connection reset by peer]
<pythonator> #problemSolved (apt-get install build-essential) LMFAO
lightheaded has joined #ruby
Pumukel has joined #ruby
tomaz_b has joined #ruby
beilabs has quit [Remote host closed the connection]
zapata has quit [Ping timeout: 258 seconds]
<Bish> pythonator: you're welcome
Pumukel has quit [Ping timeout: 265 seconds]
diego1 is now known as dviola
patteh has joined #ruby
craigp has joined #ruby
Pumukel has joined #ruby
mikecmpbll has joined #ruby
Pumukel has quit [Ping timeout: 264 seconds]
M-mistake has quit [Remote host closed the connection]
M-shine has quit [Remote host closed the connection]
M-manveru has quit [Remote host closed the connection]
gigetoo has quit [Read error: Connection reset by peer]
sneakerhax has joined #ruby
gigetoo has joined #ruby
allcentury has quit [Quit: WeeChat 1.2]
M-shine has joined #ruby
zapata has joined #ruby
Pumukel has joined #ruby
ta_ has joined #ruby
crystal77 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
bmurt has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
ta_ has quit [Ping timeout: 240 seconds]
Pumukel has quit [Ping timeout: 250 seconds]
ta_ has joined #ruby
last_staff has quit [Quit: last_staff]
<matthewd> Bish: Accessing the same instance from multiple threads is unlikely to go well
pythonator has quit [Quit: Lost terminal]
kira has joined #ruby
<croberts> is there a way with ruby to run a openssl verify against a SSL cert and pass it a CA
edwinvdgraaf has joined #ruby
ta_ has quit [Ping timeout: 244 seconds]
leea has joined #ruby
Pumukel has joined #ruby
edwinvdg_ has quit [Ping timeout: 244 seconds]
nankyokusei has joined #ruby
<matthewd> croberts: You could load the certificate chain and walk it to see whether it ends up where you want to be
Coldblackice has quit []
<croberts> ok cool
<matthewd> croberts: Don't know whether there's a more direct / high level API that'll do it for you, though
edwinvdgraaf has quit [Ping timeout: 244 seconds]
<croberts> just wanted to make sure i was looking at the right spot
miqlas-H has quit [Quit: Vision[0.9.7-H-20140108]: i've been blurred!]
Pumukel has quit [Ping timeout: 250 seconds]
doublemalt_ has joined #ruby
Coldblackice has joined #ruby
Pumukel has joined #ruby
nankyokusei has quit [Ping timeout: 258 seconds]
Coldblackice has quit [Max SendQ exceeded]
Coldblackice has joined #ruby
workmad3 has joined #ruby
doublemalt__ has quit [Ping timeout: 264 seconds]
<Bish> matthewd: that sucks
Pumukel has quit [Ping timeout: 260 seconds]
<Bish> a good multithreaded ruby would be too good
<Papierkorb> you can use JRuby?
<Bish> well, i use too many things with c extension
<Bish> which would fall into the category "not good"
<Bish> but actually i never tried jruby, should do that
<matthewd> Seems like putting full high-level locking into every class is going to take a fair bit of programmer and CPU effort, for a relatively rare requirement
<Bish> gil free threads sounds promising i guess
<linduxed> Bish: if you don't rely all too much on external gems then alternative ruby implementations are a decent alternative
<Bish> rare requirement for the usual ruby programmer*
<Bish> linduxed: im afraid those exist rarely
<linduxed> Bish: i've heard good things about both JRuby and Rubinius, their primary downsides being that a lot of gems break due to those expecting a GIL
Pumukel has joined #ruby
symm- has quit [Quit: Leaving...]
tomaz_b has quit [Ping timeout: 244 seconds]
<matthewd> Bish: You know SMTP, right?
tmtwd has quit [Ping timeout: 276 seconds]
<Bish> matthewd: yes.
<Bish> well that was not related to SMTP
<Bish> linduxed: i tried rubinius i LOVEEE it, but it sucks
<linduxed> Bish: care to elaborate?
<Bish> it burns my cpu to the ground, and is still slower than MRI in all cases i observed
<linduxed> oh, interesting
<Bish> but the fact that it can burn my cpu to the ground was enough to think it's cool
<linduxed> well, i don't know if the project is still being developed: i heard something about development slowing down
* linduxed might be wrong though
<matthewd> Bish: So given that SMTP can't multiplex several messages across a connection at the same time, it just doesn't seem like a big deal to throw a mutex around the connection
<Bish> yes, but i just started using threads with Mail.deliver ( of the mail gem )
<matthewd> (or make separate connections for each thread)
<Bish> mail servers started complaining about 1 connection / mail
<Bish> so i went with .delivery_method :smtp_connection
<Bish> which turns out to disable threading :3
Xiti has joined #ruby
Xiti has quit [Changing host]
Xiti has joined #ruby
<Bish> u gotta love ruby for writing nice code, but it always has a price
<Bish> goddamnit why does everything have to have a price
<matthewd> I... ??
<matthewd> If you want to use a single connection, you can't do more than one thing at once
<Bish> linduxed: yeah maybe they saw (like me) that the benefits aren't there
<Bish> linduxed: crystal looks more promising right now ;)
<Bish> matthewd: yeah i know..
Pumukel has quit [Ping timeout: 244 seconds]
<matthewd> I must be confused, because I don't see how that's a ruby / nice code problem, and not just an intrinsic property of the underlying protocol
Pumukel has joined #ruby
<matthewd> (I'd personally just use local sendmail delivery to solve the problem in question.. though that gives you less tracking of the remote acceptance, obviously)
<Bish> matthewd: it's cool, i will do something in between
<matthewd> .. because what you need is a queue, and a suitably-sized pool of outgoing connections, and something to put one through the other.... and someone already wrote one of those.
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
<Bish> multiple connections, protected by mutex
<Bish> yeah thanks ;)
<Bish> he surely likes $
<Bish> why do i know his name.. mik perham
<Bish> matthewd: looks cool, thank you
<matthewd> sidekiq?
nhhc has quit [Quit: Leaving]
<Bish> no clue
m_abdelfattah has joined #ruby
Pumukel has quit [Ping timeout: 264 seconds]
<Bish> >> h=Hash.new { |h,k| h[k] = Array.new };h['test'] << :test;h
<ruby[bot]> Bish: # => {"test"=>[:test]} (https://eval.in/626562)
lightheaded has quit [Remote host closed the connection]
<optiz0r> evening all. I'm trying to debug a third party tool that's throwing an "Error: undefined method `delete' for 1:Fixnum" error, but without giving a stack trace, so I've no idea where in the code it's being thrown. Trying to use rdebug to grab a stack trace. tried "catch NoMethodError", "c", but it doesn't stop. Anyone able to give me some pointers on how to catch this?
workmad3 has quit [Ping timeout: 264 seconds]
M-mistake has joined #ruby
jgt3 has joined #ruby
<Bish> >> x = [[]];x.delete x.sample;
<ruby[bot]> Bish: # => [] (https://eval.in/626571)
<Bish> cool that works
<Bish> >> x = [[1],[2]];x.delete x.sample;
<ruby[bot]> Bish: # => [1] (https://eval.in/626572)
hipertracker has quit [Quit: hipertracker]
M-manveru has joined #ruby
Pumukel has joined #ruby
igniting has quit [Ping timeout: 264 seconds]
jgt3 has quit [Ping timeout: 264 seconds]
<Bish> >> @m = Mutex.new; def x; @m.synchronize { return 3}; end; x
<ruby[bot]> Bish: # => 3 (https://eval.in/626574)
<Bish> i can safely return out of a synchronize block?
<matthewd> Bish: Yes
<Bish> how does that work?
<matthewd> synchronize uses an ensure to always unlock on the way out
haraigo has joined #ruby
Davedev28 has quit [Read error: Network is unreachable]
Pumukel has quit [Ping timeout: 264 seconds]
MrBusiness2 has joined #ruby
conah has joined #ruby
harai54 has quit [Ping timeout: 264 seconds]
Pumukel has joined #ruby
ddffg has quit [Quit: Leaving]
<matthewd> optiz0r: `ruby -d` will report all exceptions as they're raised, even if they get rescued
Davedev28 has joined #ruby
<optiz0r> matthewd: lovely thank you, think that's exactly what I need :)
shellie_ has quit [Remote host closed the connection]
heelpmeplz has quit [Read error: Connection reset by peer]
MrBusiness3 has quit [Ping timeout: 250 seconds]
jgt3 has joined #ruby
<Bish> matthewd: god thats awesome
heelpmeplz has joined #ruby
<Bish> who comes up with that
<Bish> but that'd be control flow with errors, right?
<Bish> which is considered bad practice?
<matthewd> Bish: People not busy adding thread safety to everything just in case? ;)
Pumukel has quit [Ping timeout: 260 seconds]
tobacco_joe has quit []
<matthewd> No errors involved; `ensure` is just what it says on the tin: a guarantee that if the stack is unwound through this point for any reason (including errors, but, per the above, not exclusively so), it'll make sure this code is run first
flashpoint9 has quit [Remote host closed the connection]
claudiuinberlin has quit []
flashpoint9 has joined #ruby
<Bish> that's just great
m_abdelfattah has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
whiteline has quit [Ping timeout: 244 seconds]
rsampaio_ has joined #ruby
whiteline has joined #ruby
<apeiros> other ways to pass by an ensure: throw, break and just letting the begin/end block finish
jeanlinux has joined #ruby
flashpoint9 has quit [Ping timeout: 244 seconds]
Pumukel has joined #ruby
AzureStigma has joined #ruby
Azure has joined #ruby
AzureStigma has quit [Client Quit]
jeanlinux has quit [Ping timeout: 265 seconds]
AzureStigma has joined #ruby
andrewvos has quit [Quit: WeeChat 0.4.2]
dminuoso has joined #ruby
Pumukel has quit [Ping timeout: 260 seconds]
apofis has joined #ruby
Pumukel has joined #ruby
apofis has quit [Client Quit]
workmad3 has joined #ruby
AlexRussia has quit [Ping timeout: 258 seconds]
Hazuka has joined #ruby
<Hazuka> www.python.org Python > Ruby www.python.org Python > Ruby www.python.org Python > Ruby www.python.org Python > Ruby www.python.org Python > Ruby www.python.org Python > Ruby www.python.org Python > Ruby www.python.org Python > Ruby www.python.org Python > Ruby www.python.org Python > Ruby www.python.org Python > Ruby www.python.org Python > Ruby www.python.org Python > Ruby www.python.org Python > Ruby www.python.org Python > Ruby www.p
<Hazuka> www.python.org Python > Ruby www.python.org Python > Ruby www.python.org Python > Ruby www.python.org Python > Ruby www.python.org Python > Ruby www.python.org Python > Ruby www.python.org Python > Ruby www.python.org Python > Ruby www.python.org Python > Ruby www.python.org Python > Ruby www.python.org Python > Ruby www.python.org Python > Ruby www.python.org Python > Ruby www.python.org Python > Ruby www.python.org Python > Ruby www.p
<Hazuka> www.python.org Python > Ruby www.python.org Python > Ruby www.python.org Python > Ruby www.python.org Python > Ruby www.python.org Python > Ruby www.python.org Python > Ruby www.python.org Python > Ruby www.python.org Python > Ruby www.python.org Python > Ruby www.python.org Python > Ruby www.python.org Python > Ruby www.python.org Python > Ruby www.python.org Python > Ruby www.python.org Python > Ruby www.python.org Python > Ruby www.p
<Hazuka> www.python.org Python > Ruby www.python.org Python > Ruby www.python.org Python > Ruby www.python.org Python > Ruby www.python.org Python > Ruby www.python.org Python > Ruby www.python.org Python > Ruby www.python.org Python > Ruby www.python.org Python > Ruby www.python.org Python > Ruby www.python.org Python > Ruby www.python.org Python > Ruby www.python.org Python > Ruby www.python.org Python > Ruby www.python.org Python > Ruby www.p
<Hazuka> www.python.org Python > Ruby www.python.org Python > Ruby www.python.org Python > Ruby www.python.org Python > Ruby www.python.org Python > Ruby www.python.org Python > Ruby www.python.org Python > Ruby www.python.org Python > Ruby www.python.org Python > Ruby www.python.org Python > Ruby www.python.org Python > Ruby www.python.org Python > Ruby www.python.org Python > Ruby www.python.org Python > Ruby www.python.org Python > Ruby www.p
<Hazuka> www.python.org Python > Ruby www.python.org Python > Ruby www.python.org Python > Ruby www.python.org Python > Ruby www.python.org Python > Ruby www.python.org Python > Ruby www.python.org Python > Ruby www.python.org Python > Ruby www.python.org Python > Ruby www.python.org Python > Ruby www.python.org Python > Ruby www.python.org Python > Ruby www.python.org Python > Ruby www.python.org Python > Ruby www.python.org Python > Ruby www.p
<Hazuka> www.python.org Python > Ruby www.python.org Python > Ruby www.python.org Python > Ruby www.python.org Python > Ruby www.python.org Python > Ruby www.python.org Python > Ruby www.python.org Python > Ruby www.python.org Python > Ruby www.python.org Python > Ruby www.python.org Python > Ruby www.python.org Python > Ruby www.python.org Python > Ruby www.python.org Python > Ruby www.python.org Python > Ruby www.python.org Python > Ruby www.p
<Hazuka> www.python.org Python > Ruby www.python.org Python > Ruby www.python.org Python > Ruby www.python.org Python > Ruby www.python.org Python > Ruby www.python.org Python > Ruby www.python.org Python > Ruby www.python.org Python > Ruby www.python.org Python > Ruby www.python.org Python > Ruby www.python.org Python > Ruby www.python.org Python > Ruby www.python.org Python > Ruby www.python.org Python > Ruby www.python.org Python > Ruby www.p
<Hazuka> www.python.org Python > Ruby www.python.org Python > Ruby www.python.org Python > Ruby www.python.org Python > Ruby www.python.org Python > Ruby www.python.org Python > Ruby www.python.org Python > Ruby www.python.org Python > Ruby www.python.org Python > Ruby www.python.org Python > Ruby www.python.org Python > Ruby www.python.org Python > Ruby www.python.org Python > Ruby www.python.org Python > Ruby www.python.org Python > Ruby www.p
<Hazuka> www.python.org Python > Ruby www.python.org Python > Ruby www.python.org Python > Ruby www.python.org Python > Ruby www.python.org Python > Ruby www.python.org Python > Ruby www.python.org Python > Ruby www.python.org Python > Ruby www.python.org Python > Ruby www.python.org Python > Ruby www.python.org Python > Ruby www.python.org Python > Ruby www.python.org Python > Ruby www.python.org Python > Ruby www.python.org Python > Ruby www.p
<Hazuka> www.python.org Python > Ruby www.python.org Python > Ruby www.python.org Python > Ruby www.python.org Python > Ruby www.python.org Python > Ruby www.python.org Python > Ruby www.python.org Python > Ruby www.python.org Python > Ruby www.python.org Python > Ruby www.python.org Python > Ruby www.python.org Python > Ruby www.python.org Python > Ruby www.python.org Python > Ruby www.python.org Python > Ruby www.python.org Python > Ruby www.p
<Hazuka> www.python.org Python > Ruby www.python.org Python > Ruby www.python.org Python > Ruby www.python.org Python > Ruby www.python.org Python > Ruby www.python.org Python > Ruby www.python.org Python > Ruby www.python.org Python > Ruby www.python.org Python > Ruby www.python.org Python > Ruby www.python.org Python > Ruby www.python.org Python > Ruby www.python.org Python > Ruby www.python.org Python > Ruby www.python.org Python > Ruby www.p
<Hazuka> www.python.org Python > Ruby www.python.org Python > Ruby www.python.org Python > Ruby www.python.org Python > Ruby www.python.org Python > Ruby www.python.org Python > Ruby www.python.org Python > Ruby www.python.org Python > Ruby www.python.org Python > Ruby www.python.org Python > Ruby www.python.org Python > Ruby www.python.org Python > Ruby www.python.org Python > Ruby www.python.org Python > Ruby www.python.org Python > Ruby www.p
<Hazuka> www.python.org Python > Ruby www.python.org Python > Ruby www.python.org Python > Ruby www.python.org Python > Ruby www.python.org Python > Ruby www.python.org Python > Ruby www.python.org Python > Ruby www.python.org Python > Ruby www.python.org Python > Ruby www.python.org Python > Ruby www.python.org Python > Ruby www.python.org Python > Ruby www.python.org Python > Ruby www.python.org Python > Ruby www.python.org Python > Ruby www.p
<Hazuka> www.python.org Python > Ruby www.python.org Python > Ruby www.python.org Python > Ruby www.python.org Python > Ruby www.python.org Python > Ruby www.python.org Python > Ruby www.python.org Python > Ruby www.python.org Python > Ruby www.python.org Python > Ruby www.python.org Python > Ruby www.python.org Python > Ruby www.python.org Python > Ruby www.python.org Python > Ruby www.python.org Python > Ruby www.python.org Python > Ruby www.p
<Hazuka> www.python.org Python > Ruby www.python.org Python > Ruby www.python.org Python > Ruby www.python.org Python > Ruby www.python.org Python > Ruby www.python.org Python > Ruby www.python.org Python > Ruby www.python.org Python > Ruby www.python.org Python > Ruby www.python.org Python > Ruby www.python.org Python > Ruby www.python.org Python > Ruby www.python.org Python > Ruby www.python.org Python > Ruby www.python.org Python > Ruby www.p
Pumukel has quit [Ping timeout: 250 seconds]
Ebok has quit [Ping timeout: 264 seconds]
Hazuka has left #ruby [#ruby]
PalaHO has joined #ruby
spudowiar has joined #ruby
workmad3 has quit [Ping timeout: 265 seconds]
c0mrad3 has quit [Quit: Connection closed for inactivity]
El3k0n has joined #ruby
_ko1 has quit [Ping timeout: 276 seconds]
nando294021 has quit [Quit: Lost terminal]
AlexRussia has joined #ruby
<Bish> someone likes python
moonythedwarf_ has joined #ruby
moon_ has quit [Ping timeout: 265 seconds]
<PalaHO> yes me
<PalaHO> :)
PalaHO has quit [Quit: leaving]
Rickmasta has joined #ruby
leea has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
x0f has quit [Ping timeout: 260 seconds]
x0f has joined #ruby
cd-rum has joined #ruby
vuoto has quit [Remote host closed the connection]
hipertracker has joined #ruby
jkhl has quit [Ping timeout: 276 seconds]
knog has left #ruby ["Leaving"]
Derperperd has quit [Quit: Derperperd]
Pumukel has joined #ruby
cd-rum has quit [Ping timeout: 276 seconds]
lightheaded has joined #ruby
ec0 has joined #ruby
DarthGandalf has quit [Remote host closed the connection]
DarthGandalf has joined #ruby
skweek has quit [Ping timeout: 264 seconds]
Pumukel has quit [Ping timeout: 264 seconds]
leea has joined #ruby
AzureStigma has quit [Quit: Textual IRC Client: www.textualapp.com]
<drbrain> I wonder if they were copy-pasting that again
Pumukel has joined #ruby
lightheaded has quit [Ping timeout: 258 seconds]
hipertracker has quit [Quit: hipertracker]
<drbrain> I also wonder if they're spamming any python channels with the opposite
cd-rum has joined #ruby
Azure has quit [Ping timeout: 265 seconds]
skweek has joined #ruby
jackjackdripper has quit [Quit: Leaving.]
ta_ has joined #ruby
spudowiar is now known as circly
circly is now known as Guest85938
Guest85938 is now known as spudowiar
GodFather has joined #ruby
gmci has quit [Quit: Connection closed for inactivity]
Pumukel has quit [Ping timeout: 264 seconds]
crystal77 has joined #ruby
KnownSyntax has quit [Ping timeout: 244 seconds]
tdy has joined #ruby
crystal77 has quit [Client Quit]
ta_ has quit [Ping timeout: 265 seconds]
KnownSyntax has joined #ruby
tdy has quit [Client Quit]
Nahra has quit [Ping timeout: 244 seconds]
AlexRussia has quit [Ping timeout: 260 seconds]
tdy has joined #ruby
AlexRussia has joined #ruby
D is now known as denny
Azure has joined #ruby
Pumukel has joined #ruby
last_staff has joined #ruby
Ishido has quit [Quit: Roads? Where We're Going We Don't Need Roads.]
Pumukel has quit [Ping timeout: 260 seconds]
symm- has joined #ruby
<marahin> hello.
<marahin> i am using rbenv with ruby 2.3.0
<marahin> i created a simple hello-world gem which builds fine, however
Pumukel has joined #ruby
<marahin> when I run gem install ./cool_gem, it installs just fine; but when I try to require it in IRB or PRY, it throws a not-found error
<marahin> i tried requiring rubygems first, but still, the error persists.
flashpoint9 has joined #ruby
<marahin> any ideas what am i doing wrong?
<baweaver> !spam Hazuka
firstdayonthejob has quit [Ping timeout: 265 seconds]
ta_ has joined #ruby
Pumukel has quit [Ping timeout: 264 seconds]
RegulationD has joined #ruby
synaps3 has joined #ruby
Rickmasta has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
haraigo has quit [Quit: WeeChat 1.5]
harai has joined #ruby
tectonic has joined #ruby
moonythedwarf_ has quit [Ping timeout: 252 seconds]
Rickmasta has joined #ruby
ta_ has quit [Ping timeout: 250 seconds]
tmtwd has joined #ruby
KnownSyntax has quit [Ping timeout: 276 seconds]
nankyokusei has joined #ruby
KnownSyntax has joined #ruby
KnownSyntax has quit [Changing host]
KnownSyntax has joined #ruby
RegulationD has quit [Ping timeout: 240 seconds]
Derperperd has joined #ruby
<Bish> matthewd: you still there?
<matthewd> Yep
<Bish> can i send you a private message?
crystal77 has joined #ruby
mixtli has quit [Ping timeout: 252 seconds]
nankyokusei has quit [Ping timeout: 276 seconds]
<matthewd> Sure
<Bish> on a scale from 10 to 10 how bad is this code :D
<Bish> it works actually.. don't worry just a PoC :D
tectonic has quit []
youch has joined #ruby
Pumukel has joined #ruby
synaps3 has left #ruby [#ruby]
<Bish> it's meant to be plug and play with .delivery_method of the Mail gem, which works so far
crystal77 has quit [Client Quit]
El3k0n has quit [Read error: Connection reset by peer]
gizless has quit [Remote host closed the connection]
Pumukel has quit [Ping timeout: 264 seconds]
<matthewd> Why not use the gem?
<Bish> to learn, and i was already in writing in when you linked it
<Bish> and i didn't know how to handle the timeout case
<Bish> of smtp
Pumukel has joined #ruby
harai54 has joined #ruby
maokomioko has joined #ruby
maokomioko has quit [Client Quit]
JeanCarloMachado has joined #ruby
ReK2 has quit [Remote host closed the connection]
mtkd has quit [Ping timeout: 244 seconds]
<matthewd> The synchronize in status seems problematic
<Bish> why?
harai has quit [Ping timeout: 260 seconds]
<Bish> nested?
mtkd has joined #ruby
<matthewd> T1 checks out a connection, and starts the long process of actually transmitting a message
ReK2 has joined #ruby
ReK2 has joined #ruby
ReK2 has quit [Changing host]
<matthewd> T2 comes along, and immediately gets stuck waiting on T1's lock, to check whether that connection is broken
jgnagy_ has quit []
jgnagy has joined #ruby
<Bish> ahh snap, yeah i get it
<croberts> marahin: can i try your gem out
Pumukel has quit [Ping timeout: 264 seconds]
<Bish> the hash mutex gets locked on status, if the connection is being used right now
<Bish> damn.
<Bish> matthewd: connection pool gem, makes it thread safe?
mikecmpbll has quit [Quit: inabit. zz.]
<matthewd> Yep
<Bish> how do i handle broken connections there?
<matthewd> You're also welcome to look at https://github.com/rails/rails/blob/master/activerecord/lib/active_record/connection_adapters/abstract/connection_pool.rb for inspiration if you want the adventure of doing it yourself -- that's certainly a reasonable reason
<matthewd> > There is no provision for repairing or checking the health of a connection; connections should be self-repairing. This is true of the Dalli and Redis clients.
karmatr0n has joined #ruby
<Bish> okay cool, so i could put my smtpconnection wrapper into it
<Bish> which checks up on itself
<matthewd> So I think that means you'd use the pool to manage a set of wrapper objects, which handle the reconnect bit.. yeah, that :)
<Bish> great, thank you very much!!
<Bish> i will sleep about that now
<Bish> you've been a great help!
<matthewd> Just instead of throwing it out if it goes bad, it internally reconnects
<matthewd> You're very welcome :)
<Bish> but that monster was fun to write
nando293921 has joined #ruby
youch has quit [Ping timeout: 252 seconds]
<Bish> but my code doesn't deadlock.. does it?
akira616 has joined #ruby
akira616 has left #ruby ["Leaving"]
skweek has quit [Ping timeout: 244 seconds]
the_rhizo3 has quit [Ping timeout: 265 seconds]
<matthewd> I don't think so. The nested lock makes me a bit uneasy, but I couldn't come up with a way to get it stuck -- at least before I hit the more obvious problem.
karmatr0n has quit [Ping timeout: 252 seconds]
DarthGandalf has quit [Ping timeout: 276 seconds]
<Bish> okay, thanks alot again ;) good night/day whatever time is it at your place
lightheaded has joined #ruby
Pumukel has joined #ruby
DarthGandalf has joined #ruby
code_zombie has joined #ruby
code_zombie has left #ruby ["Leaving"]
ctp has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
flashpoint9 has quit [Remote host closed the connection]
mgorbach has quit [Quit: ZNC - http://znc.in]
flashpoint9 has joined #ruby
lightheaded has quit [Ping timeout: 258 seconds]
mgorbach has joined #ruby
mixtli has joined #ruby
nando293921 has quit [Ping timeout: 244 seconds]
Pumukel has quit [Ping timeout: 276 seconds]
dminuoso has quit [Ping timeout: 240 seconds]
toretore has quit [Ping timeout: 250 seconds]
Pumukel has joined #ruby
Nahra has joined #ruby
last_staff has quit [Quit: last_staff]
youch has joined #ruby
flashpoint9 has quit [Ping timeout: 250 seconds]
Pumukel has quit [Ping timeout: 260 seconds]
mixtli has quit [Read error: Connection reset by peer]
the_rhizo3 has joined #ruby
leea has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
hipertracker has joined #ruby
hipertracker has quit [Client Quit]
Immune has quit [Ping timeout: 244 seconds]
Pumukel has joined #ruby
airdisa has quit []
ltd__ has joined #ruby
ltd_ has quit [Quit: leaving]
the_rhizo3 has quit [Ping timeout: 244 seconds]
Pumukel has quit [Ping timeout: 264 seconds]
Rodya_ has quit [Remote host closed the connection]
the_rhizo3 has joined #ruby
Immune has joined #ruby
flashpoint9 has joined #ruby
ltd__ has quit [Quit: leaving]
Pumukel has joined #ruby
nando293921 has joined #ruby
moon_ has joined #ruby
Oog has joined #ruby
Pumukel has quit [Ping timeout: 260 seconds]
PalaHO has joined #ruby
<PalaHO> Hi, there is a function like json.dumps (python) in ruby ?
<PalaHO> there is json.dump
<PalaHO> but
Pumukel has joined #ruby
<Radar> but...?
<Radar> the suspense is killing me
<PalaHO> i will have not the same result
<PalaHO> ahah
<Radar> PalaHO: Show us what you mean in code please.
<PalaHO> i will not
<Radar> gist.github.com
skweek has joined #ruby
<PalaHO> ok
conah has quit [Ping timeout: 250 seconds]
Derperperd has quit [Quit: Derperperd]
<PalaHO> i want to write this function in ruby
<Radar> What is the input and output of that function?
ltd_ has joined #ruby
Derperperd has joined #ruby
<PalaHO> data = {'name' : namen 'type' : type}
<PalaHO> for exemple of input
<jgnagy> if you require 'json', most objects have a .to_json() method
Pumukel has quit [Ping timeout: 264 seconds]
<PalaHO> oh ok
Rodya_ has joined #ruby
<PalaHO> but i think json.dumpS just sort the input
<PalaHO> am i wrong ?
<PalaHO> no ok
<PalaHO> i understood
<PalaHO> i will use .to_json()
<jgnagy> I think python's json.dumps has an option to sort by keys, but it doesn't do it by default
<PalaHO> this a OpenSSL::HMAC object
<PalaHO> yeah i saw that
<PalaHO> how can i sort my json like that ?
<elomatreb> Ruby's json doesn't offer that. You would likely have to sort the object you're trying to dump
<PalaHO> ok
Oog has quit []
<jgnagy> exactly
retail_investor is now known as hammond
<PalaHO> cool thank you guys ! :)
<jgnagy> I'm not too familiar with the content of the state of an OpenSSL::HMAC object, but if it providers and Enumerable you can probably use .sort_by() {} to get what you're looking for
<jgnagy> provides*
<jgnagy> an*
<jgnagy> sheesh so many typos
Pumukel has joined #ruby
<PalaHO> ok so all Enumarable obj can be sort by .sort_by() like in python
<jgnagy> yes
<jgnagy> it is an instance method of Enumerable
<elomatreb> PalaHO: sort_by sorts using the return value of a block. There is also just ".sort", which often works too
<jgnagy> sort_by can be more efficient in many cases though
<elomatreb> jgnagy: A source for that? It seems a little unintuitive that a possibly native-optimized method would be slower than one involving calling blocks
<jgnagy> "All sort does is compare the items in the enumerable by their built-in comparator method (<=>) or using the block if one is passed to it. So essentially, when given a block, sort runs the block for every comparison it needs to do and expects to get back 1 when the first object is greater, -1 for the second, and 0 if they are equal. You can probably guess why this is a terrible idea in a case like ours. I was parsing the time
<jgnagy> for each and every comparison!"
<elomatreb> ah, ok. Thank you for the article, didn't know this
Pumukel has quit [Ping timeout: 264 seconds]
ta_ has joined #ruby
statelesscode_ has joined #ruby
statelesscode has quit [Ping timeout: 240 seconds]
statelesscode_ is now known as statelesscode
<jgnagy> no problem
ta_ has quit [Ping timeout: 265 seconds]
Madplatypus has quit [Quit: Connection closed for inactivity]
lightheaded has joined #ruby
crystal77 has joined #ruby
dminuoso has joined #ruby
Pumukel has joined #ruby
lightheaded has quit [Ping timeout: 258 seconds]
youch has quit [Ping timeout: 244 seconds]
Baffoon has joined #ruby
Baffoon has quit [Excess Flood]
Baffoon has joined #ruby
Baffoon has quit [Excess Flood]
dminuoso has quit [Ping timeout: 240 seconds]
Baffoon has joined #ruby
Baffoon has quit [Excess Flood]
Pumukel has quit [Ping timeout: 260 seconds]
Baffoon has joined #ruby
Baffoon has quit [Excess Flood]
Baffoon has joined #ruby
Baffoon has quit [Excess Flood]
Pumukel has joined #ruby