havenwood changed the topic of #ruby to: Rules & more: https://ruby-community.com || Ruby 2.4.1, 2.3.4 & 2.2.7: https://www.ruby-lang.org || Paste >3 lines of text to: https://gist.github.com || Rails questions? Ask in: #RubyOnRails || Logs: https://irclog.whitequark.org/ruby || Books: https://goo.gl/wpGhoQ
nobitanobi has quit [Remote host closed the connection]
aduabu has quit [Ping timeout: 246 seconds]
nobitanobi has joined #ruby
ziprar has quit [Ping timeout: 240 seconds]
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
milardovich has joined #ruby
howdoi has quit [Quit: Connection closed for inactivity]
nobitanobi has quit [Ping timeout: 246 seconds]
ledestin has joined #ruby
eb0t has quit [Quit: WeeChat 1.4]
AndBobsYourUncle has joined #ruby
aduabu has joined #ruby
t-recx has quit [Quit: t-recx]
umaaji has joined #ruby
canteen4 has quit [Ping timeout: 248 seconds]
eb0t has joined #ruby
canteen4 has joined #ruby
skweek has quit [Read error: Connection reset by peer]
jackjackdripper has quit [Quit: Leaving.]
skweek has joined #ruby
nobitanobi has joined #ruby
aduabu has quit [Ping timeout: 248 seconds]
cagomez has quit [Remote host closed the connection]
cagomez has joined #ruby
cagomez has quit [Remote host closed the connection]
cagomez has joined #ruby
cagomez has quit [Remote host closed the connection]
milardovich has quit [Remote host closed the connection]
cagomez has joined #ruby
milardovich has joined #ruby
__Yiota has joined #ruby
cagomez has quit [Read error: Connection reset by peer]
nobitanobi has quit [Ping timeout: 240 seconds]
hahuang65 has quit [Ping timeout: 255 seconds]
aduabu has joined #ruby
marr has quit [Ping timeout: 240 seconds]
milardovich has quit [Ping timeout: 240 seconds]
hahuang65 has joined #ruby
Cohedrin_ has quit [Ping timeout: 246 seconds]
__Yiota has quit [Ping timeout: 246 seconds]
__Yiota has joined #ruby
canteen4 has quit [Ping timeout: 240 seconds]
canteen4 has joined #ruby
aduabu has quit [Ping timeout: 240 seconds]
brent__ has quit [Remote host closed the connection]
aduabu has joined #ruby
brent__ has joined #ruby
Cohedrin_ has joined #ruby
cdg has joined #ruby
canteen4 has quit [Ping timeout: 248 seconds]
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
phate408 has quit [Remote host closed the connection]
amclain has quit [Quit: Leaving]
canteen4 has joined #ruby
orbyt_ has joined #ruby
cdg has quit [Ping timeout: 246 seconds]
aduabu has quit [Ping timeout: 248 seconds]
hahuang65 has quit [Quit: WeeChat 1.9]
aduabu has joined #ruby
brent__ has quit [Ping timeout: 248 seconds]
canteen4 has quit [Ping timeout: 248 seconds]
DTZUZU has quit [Quit: WeeChat 1.9]
canteen4 has joined #ruby
aduabu has quit [Ping timeout: 248 seconds]
aduabu has joined #ruby
_sfiguser has joined #ruby
canteen4 has quit [Ping timeout: 240 seconds]
canteen4 has joined #ruby
Cohedrin_ has quit [Ping timeout: 246 seconds]
Cohedrin_ has joined #ruby
aduabu has quit [Ping timeout: 240 seconds]
aduabu has joined #ruby
canteen4 has quit [Ping timeout: 248 seconds]
canteen4 has joined #ruby
ixti has quit [Quit: WeeChat 1.9]
bruce_lee has quit [Read error: Connection reset by peer]
aduabu has quit [Ping timeout: 240 seconds]
bruce_lee has joined #ruby
polishdub has quit [Quit: leaving]
AndBobsYourUncle has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
milardovich has joined #ruby
AndBobsYourUncle has joined #ruby
skweek has quit [Ping timeout: 248 seconds]
hanmac has quit [Ping timeout: 255 seconds]
Cohedrin_ has quit [Read error: Connection reset by peer]
AndBobsYourUncle has quit [Client Quit]
Cohedrin_ has joined #ruby
cschneid_ has joined #ruby
milardovich has quit [Ping timeout: 248 seconds]
aduabu has joined #ruby
Cohedrin_ has quit [Ping timeout: 246 seconds]
vondruch has quit [Quit: vondruch]
canteen4 has quit [Ping timeout: 248 seconds]
vondruch has joined #ruby
canteen4 has joined #ruby
hahuang65 has joined #ruby
jameser has joined #ruby
s3nd1v0g1us has joined #ruby
s3nd1v0g1us has quit [Max SendQ exceeded]
aduabu has quit [Ping timeout: 247 seconds]
cagomez has joined #ruby
s3nd1v0g1us has joined #ruby
s3nd1v0g1us has quit [Max SendQ exceeded]
cdg has joined #ruby
s3nd1v0g1us has joined #ruby
ramfjord has quit [Ping timeout: 255 seconds]
ramfjord has joined #ruby
ur5us has quit [Remote host closed the connection]
_sfiguser has quit [Quit: Leaving]
vondruch has quit [Quit: vondruch]
vondruch has joined #ruby
cagomez has quit [Ping timeout: 240 seconds]
hanmac has joined #ruby
cdg has quit [Ping timeout: 246 seconds]
aduabu has joined #ruby
gizmore|2 has joined #ruby
ramfjord has quit [Ping timeout: 248 seconds]
ur5us has joined #ruby
canteen4 has quit [Ping timeout: 248 seconds]
d^sh has quit [Ping timeout: 240 seconds]
gizmore has quit [Ping timeout: 255 seconds]
d^sh has joined #ruby
Cohedrin_ has joined #ruby
canteen4 has joined #ruby
nadir has quit [Quit: Connection closed for inactivity]
aduabu has quit [Ping timeout: 240 seconds]
canteen4 has quit [Ping timeout: 240 seconds]
canteen4 has joined #ruby
hays has joined #ruby
aduabu has joined #ruby
canteen4 has quit [Ping timeout: 240 seconds]
brent__ has joined #ruby
itat has joined #ruby
skweek has joined #ruby
canteen4 has joined #ruby
aduabu has quit [Ping timeout: 240 seconds]
Cohedrin_ has quit [Ping timeout: 246 seconds]
brent__ has quit [Ping timeout: 255 seconds]
aduabu has joined #ruby
mim1k has joined #ruby
hahuang65 has quit [Quit: WeeChat 1.9]
Cohedri__ has joined #ruby
tvw has quit [Ping timeout: 255 seconds]
weemsledeux has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
canteen4 has quit [Ping timeout: 255 seconds]
milardovich has joined #ruby
bronson has quit [Remote host closed the connection]
mim1k has quit [Ping timeout: 248 seconds]
eckhardt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Dimik has quit [Ping timeout: 248 seconds]
harai has quit [Ping timeout: 255 seconds]
weemsledeux has joined #ruby
milardovich has quit [Ping timeout: 248 seconds]
canteen4 has joined #ruby
itat has quit [Read error: Connection reset by peer]
jameser_ has joined #ruby
aduabu has quit [Ping timeout: 248 seconds]
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
aduabu has joined #ruby
jameser has quit [Ping timeout: 246 seconds]
canteen4 has quit [Ping timeout: 240 seconds]
nobitanobi has joined #ruby
ramfjord has joined #ruby
canteen4 has joined #ruby
<jgorak> Is there a difference between each_with_index and each.with_index ? Reading/testing so far they look to be the same.
bruce_lee has quit [Remote host closed the connection]
ramfjord has quit [Ping timeout: 240 seconds]
uZiel has joined #ruby
aduabu has quit [Ping timeout: 240 seconds]
aduabu has joined #ruby
<jgorak> *facepalm* it's right there. idk what i screwed up in my first search. ignore that ^
canteen4 has quit [Ping timeout: 248 seconds]
orbyt_ has joined #ruby
skweek has quit [Ping timeout: 248 seconds]
enterprisey has joined #ruby
hays has quit [Remote host closed the connection]
canteen4 has joined #ruby
lexruee has quit [Remote host closed the connection]
lexruee has joined #ruby
aduabu has quit [Ping timeout: 248 seconds]
sleepee has joined #ruby
aduabu has joined #ruby
canteen4 has quit [Ping timeout: 255 seconds]
__Yiota has quit [Ping timeout: 246 seconds]
canteen4 has joined #ruby
aduabu has quit [Ping timeout: 240 seconds]
aduabu has joined #ruby
canteen4 has quit [Ping timeout: 248 seconds]
canteen4 has joined #ruby
beilabs has joined #ruby
aduabu has quit [Ping timeout: 248 seconds]
aduabu has joined #ruby
jane_booty_doe has quit [Quit: Leaving]
canteen4 has quit [Ping timeout: 248 seconds]
canteen4 has joined #ruby
aduabu has quit [Ping timeout: 248 seconds]
aduabu has joined #ruby
<pinksandles> i guess not much practical difference.
canteen4 has quit [Ping timeout: 240 seconds]
canteen4 has joined #ruby
aduabu has quit [Ping timeout: 248 seconds]
aduabu has joined #ruby
canteen4 has quit [Ping timeout: 248 seconds]
canteen4 has joined #ruby
weemsledeux has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
aduabu has quit [Ping timeout: 255 seconds]
aduabu has joined #ruby
mtkd has quit [Ping timeout: 248 seconds]
mtkd has joined #ruby
canteen4 has quit [Ping timeout: 248 seconds]
canteen4 has joined #ruby
weemsledeux has joined #ruby
__Yiota has joined #ruby
aduabu has quit [Ping timeout: 248 seconds]
beilabs has quit [Remote host closed the connection]
aduabu has joined #ruby
gusrub has quit [Remote host closed the connection]
reaVer has quit [Ping timeout: 240 seconds]
__Yiota has quit [Ping timeout: 240 seconds]
canteen4 has quit [Ping timeout: 248 seconds]
LoRez has quit [Ping timeout: 248 seconds]
canteen4 has joined #ruby
LoRez has joined #ruby
reaVer has joined #ruby
aduabu has quit [Ping timeout: 240 seconds]
aduabu has joined #ruby
mtkd has quit [Ping timeout: 240 seconds]
canteen4 has quit [Ping timeout: 246 seconds]
canteen4 has joined #ruby
aduabu has quit [Ping timeout: 248 seconds]
mtkd has joined #ruby
aduabu has joined #ruby
__Yiota has joined #ruby
canteen4 has quit [Ping timeout: 248 seconds]
canteen4 has joined #ruby
quobo has quit [Quit: Connection closed for inactivity]
aduabu has quit [Ping timeout: 240 seconds]
aduabu has joined #ruby
frozengeek has quit [Quit: frozengeek]
canteen4 has quit [Ping timeout: 240 seconds]
canteen4 has joined #ruby
sleepee has quit [Ping timeout: 240 seconds]
aduabu has quit [Ping timeout: 240 seconds]
guardianx has joined #ruby
cadillac_ has quit [Quit: I quit]
cadillac_ has joined #ruby
Cohedri__ has quit [Ping timeout: 246 seconds]
Cohedrin_ has joined #ruby
aduabu has joined #ruby
vondruch has quit [Quit: vondruch]
vondruch has joined #ruby
cagomez has joined #ruby
canteen4 has quit [Ping timeout: 255 seconds]
canteen4 has joined #ruby
mostlybadfly has quit [Quit: Connection closed for inactivity]
DanKnox has joined #ruby
DanKnox has quit [Client Quit]
aduabu has quit [Ping timeout: 240 seconds]
oliv_____ has joined #ruby
oliv_____ has quit [Client Quit]
oliv_____ has joined #ruby
vondruch has quit [Quit: vondruch]
cagomez has quit [Ping timeout: 255 seconds]
vondruch has joined #ruby
aduabu has joined #ruby
DanKnox has joined #ruby
DanKnox has quit [Client Quit]
DanKnox has joined #ruby
canteen4 has quit [Ping timeout: 248 seconds]
canteen4 has joined #ruby
aduabu has quit [Ping timeout: 246 seconds]
weemsledeux has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
DanKnox has quit [Ping timeout: 255 seconds]
aduabu has joined #ruby
milardovich has joined #ruby
canteen4 has quit [Ping timeout: 248 seconds]
canteen4 has joined #ruby
alfiemax has joined #ruby
aduabu has quit [Ping timeout: 248 seconds]
__Yiota has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
DanKnox has joined #ruby
sarbs has joined #ruby
milardovich has quit [Ping timeout: 255 seconds]
cschneid_ has quit [Remote host closed the connection]
cschneid_ has joined #ruby
aduabu has joined #ruby
im314ous has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
mim1k has joined #ruby
canteen4 has quit [Ping timeout: 255 seconds]
im314ous has joined #ruby
cschneid_ has quit [Ping timeout: 255 seconds]
weemsledeux has joined #ruby
canteen4 has joined #ruby
aduabu has quit [Ping timeout: 248 seconds]
s3nd1v0g1us has quit [Quit: tempusfugit]
mim1k has quit [Ping timeout: 248 seconds]
umaaji has quit [Ping timeout: 248 seconds]
aduabu has joined #ruby
laphoraig92 has quit [Remote host closed the connection]
canteen4 has quit [Ping timeout: 240 seconds]
cdg has joined #ruby
canteen4 has joined #ruby
jordanm has joined #ruby
aduabu has quit [Ping timeout: 248 seconds]
gix has quit [Ping timeout: 246 seconds]
aduabu has joined #ruby
cdg has quit [Ping timeout: 246 seconds]
canteen4 has quit [Ping timeout: 240 seconds]
canteen4 has joined #ruby
gix has joined #ruby
aduabu has quit [Ping timeout: 240 seconds]
rwh1 has joined #ruby
DanKnox has quit [Quit: ZNC 1.6.5 - http://znc.in]
aduabu has joined #ruby
__Yiota has joined #ruby
cdg has joined #ruby
<rwh1> I have an nginx reverse proxy, and want to run a rails app (redmine) behind it on another machine. Best option would be passenger standalone, right?
canteen4 has quit [Ping timeout: 240 seconds]
canteen4 has joined #ruby
cdg has quit [Ping timeout: 246 seconds]
aduabu has quit [Ping timeout: 240 seconds]
aduabu has joined #ruby
canteen4 has quit [Ping timeout: 240 seconds]
canteen4 has joined #ruby
umaaji has joined #ruby
aduabu has quit [Ping timeout: 248 seconds]
aduabu has joined #ruby
canteen4 has quit [Ping timeout: 240 seconds]
uZiel has quit [Ping timeout: 268 seconds]
vondruch has quit [Quit: vondruch]
vondruch has joined #ruby
bronson has joined #ruby
nobitanobi has quit [Remote host closed the connection]
canteen4 has joined #ruby
johnny56 has quit [Ping timeout: 264 seconds]
vondruch has quit [Quit: vondruch]
vondruch has joined #ruby
aduabu has quit [Ping timeout: 240 seconds]
aduabu has joined #ruby
<pinksandles> easiest maybe
<pinksandles> but if you already have reverse proxy, then all ruby web servers(thin, unicorn, ..) are good
canteen4 has quit [Ping timeout: 240 seconds]
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
bambanx has joined #ruby
canteen4 has joined #ruby
aduabu has quit [Ping timeout: 248 seconds]
aduabu has joined #ruby
canteen4 has quit [Ping timeout: 240 seconds]
canteen4 has joined #ruby
aduabu has quit [Ping timeout: 276 seconds]
aduabu has joined #ruby
johnny56 has joined #ruby
canteen4 has quit [Ping timeout: 276 seconds]
canteen4 has joined #ruby
aduabu has quit [Ping timeout: 248 seconds]
mim1k has joined #ruby
aduabu has joined #ruby
nobitanobi has joined #ruby
canteen4 has quit [Ping timeout: 276 seconds]
cdg has joined #ruby
canteen4 has joined #ruby
nobitanobi has quit [Remote host closed the connection]
aduabu has quit [Ping timeout: 240 seconds]
mim1k has quit [Ping timeout: 248 seconds]
dlitvak has quit [Quit: Connection closed for inactivity]
weemsledeux has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
cdg has quit [Ping timeout: 246 seconds]
<rwh1> pinksandles: thanks
<rwh1> next step is getting it set up on debian - the debian passenger package doesn't include a systemd unit file, or init script or anything to make it go ...
aduabu has joined #ruby
canteen4 has quit [Ping timeout: 276 seconds]
canteen4 has joined #ruby
aduabu has quit [Ping timeout: 246 seconds]
rwh1 has quit [Quit: Leaving.]
oliv_____ has quit [Remote host closed the connection]
bambanx has quit [Quit: Leaving]
aduabu has joined #ruby
nobitanobi has joined #ruby
mtkd has quit [Ping timeout: 246 seconds]
Cohedrin_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
canteen4 has quit [Ping timeout: 240 seconds]
mtkd has joined #ruby
canteen4 has joined #ruby
nobitanobi has quit [Ping timeout: 240 seconds]
aduabu has quit [Ping timeout: 240 seconds]
aduabu has joined #ruby
nobitanobi has joined #ruby
milardovich has joined #ruby
sdrew has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
canteen4 has quit [Ping timeout: 240 seconds]
canteen4 has joined #ruby
aduabu has quit [Ping timeout: 276 seconds]
aduabu has joined #ruby
edwardly has quit [*.net *.split]
lucas has quit [*.net *.split]
spectra has quit [*.net *.split]
meinside has quit [*.net *.split]
Alina-malina has quit [*.net *.split]
inoperable has quit [*.net *.split]
aspiers has quit [*.net *.split]
iamyask has quit [*.net *.split]
lipoqil has quit [*.net *.split]
Tony-St4rk has quit [*.net *.split]
AKPWD has quit [*.net *.split]
jtperreault has quit [*.net *.split]
tfitts has quit [*.net *.split]
jokke has quit [*.net *.split]
ablackack has quit [*.net *.split]
Technaton has quit [*.net *.split]
FiendKing04 has quit [*.net *.split]
mistym has quit [*.net *.split]
Raboo has quit [*.net *.split]
Kero has quit [*.net *.split]
madhatter has quit [*.net *.split]
DenSchub has quit [*.net *.split]
zipkid has quit [*.net *.split]
Brak____________ has quit [*.net *.split]
doesntbyte has quit [*.net *.split]
afisher has quit [*.net *.split]
pizzaops has quit [*.net *.split]
[spoiler] has quit [*.net *.split]
sspreitz has quit [*.net *.split]
manveru has quit [*.net *.split]
stephenh has quit [*.net *.split]
mbr has quit [*.net *.split]
Chew has quit [*.net *.split]
cats has quit [*.net *.split]
BackEndCoder has quit [*.net *.split]
contradictioned has quit [*.net *.split]
jokester has quit [*.net *.split]
Miron has quit [*.net *.split]
chromis has quit [*.net *.split]
bazzy has quit [*.net *.split]
discopatrick has quit [*.net *.split]
pmarreck has quit [*.net *.split]
danzilio has quit [*.net *.split]
bove has quit [*.net *.split]
zzak has quit [*.net *.split]
sparr has quit [*.net *.split]
craysiii has quit [*.net *.split]
cttttt has quit [*.net *.split]
cardoni has quit [*.net *.split]
nyuszika7h has quit [*.net *.split]
Fire-Dragon-DoL has quit [*.net *.split]
rrichardsr3 has quit [*.net *.split]
async_prince has quit [*.net *.split]
voker57 has quit [*.net *.split]
ndrst has quit [*.net *.split]
Takumo has quit [*.net *.split]
jrgifford has quit [*.net *.split]
skmp has quit [*.net *.split]
SuperTux88 has quit [*.net *.split]
petems has quit [*.net *.split]
raddazong has joined #ruby
in0perable has joined #ruby
voker57 has joined #ruby
voker57 has joined #ruby
voker57 has quit [Changing host]
milardovich has quit [Ping timeout: 248 seconds]
ablackack has joined #ruby
AKPWD has joined #ruby
DenSchub has joined #ruby
SuperTux88_ has joined #ruby
mbr has joined #ruby
doesntbyte has joined #ruby
async_prince has joined #ruby
stephenh has joined #ruby
ndrst has joined #ruby
aspiers has joined #ruby
canteen4 has quit [Ping timeout: 248 seconds]
Raboo has joined #ruby
lucas has joined #ruby
SuperTux88_ is now known as SuperTux88
lipoqil has joined #ruby
Takumo has joined #ruby
afisher has joined #ruby
jtperreault has joined #ruby
jokester has joined #ruby
ndrst is now known as Guest3800
Tony-St4rk has joined #ruby
bove has joined #ruby
contradictioned has joined #ruby
pmarreck has joined #ruby
cttttt has joined #ruby
zzak has joined #ruby
Cohedrin_ has joined #ruby
jrgifford has joined #ruby
petems has joined #ruby
pizzaops has joined #ruby
rrichardsr3 has joined #ruby
chromis has joined #ruby
skmp has joined #ruby
cardoni has joined #ruby
danzilio has joined #ruby
discopatrick has joined #ruby
craysiii has joined #ruby
manveru has joined #ruby
nyuszika7h has joined #ruby
Technaton has joined #ruby
jokke has joined #ruby
gix has quit [Ping timeout: 240 seconds]
sunrunner20 has quit [Ping timeout: 260 seconds]
sparr has joined #ruby
mistym has joined #ruby
sspreitz has joined #ruby
Alina-malina has joined #ruby
FiendKing04 has joined #ruby
mistym has joined #ruby
mistym has quit [Changing host]
bazzy has joined #ruby
cats has joined #ruby
bokayio has quit [Ping timeout: 240 seconds]
[spoiler] has joined #ruby
aupadhye has joined #ruby
Fire-Dragon-DoL has joined #ruby
Miron has joined #ruby
escrooge1 has joined #ruby
edwardly has joined #ruby
edwardly has joined #ruby
edwardly has quit [Changing host]
Kero has joined #ruby
sunrunner20 has joined #ruby
BackEndCoder has joined #ruby
Alina-malina has quit [Changing host]
Alina-malina has joined #ruby
bokayio has joined #ruby
govg has joined #ruby
canteen4 has joined #ruby
gix has joined #ruby
spectra has joined #ruby
ChickeNES has quit [Excess Flood]
ChickeNES has joined #ruby
aduabu has quit [Ping timeout: 276 seconds]
canteen4 has quit [Ping timeout: 260 seconds]
aduabu has joined #ruby
canteen4 has joined #ruby
cagomez has joined #ruby
mahlon has quit [Ping timeout: 240 seconds]
aduabu has quit [Ping timeout: 260 seconds]
aduabu has joined #ruby
canteen4 has quit [Ping timeout: 248 seconds]
cagomez has quit [Ping timeout: 240 seconds]
canteen4 has joined #ruby
im314ous has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
oleo has quit [Quit: irc client terminated!]
aduabu has quit [Ping timeout: 248 seconds]
aduabu has joined #ruby
jameser_ has quit [Ping timeout: 240 seconds]
brent__ has joined #ruby
canteen4 has quit [Ping timeout: 248 seconds]
jameser has joined #ruby
cschneid_ has joined #ruby
aufi has joined #ruby
guardianx has quit [Remote host closed the connection]
biberu has joined #ruby
vondruch has quit [Quit: vondruch]
vondruch has joined #ruby
brent__ has quit [Ping timeout: 248 seconds]
canteen4 has joined #ruby
cschneid_ has quit [Ping timeout: 246 seconds]
aduabu has quit [Ping timeout: 240 seconds]
bronson has quit [Remote host closed the connection]
aduabu has joined #ruby
ta_ has quit [Remote host closed the connection]
vondruch has quit [Quit: vondruch]
vondruch has joined #ruby
canteen4 has quit [Ping timeout: 252 seconds]
d^sh has quit [Quit: ZNC 1.6.1 - http://znc.in]
d^sh has joined #ruby
canteen4 has joined #ruby
quiller has quit [Ping timeout: 260 seconds]
d^sh has quit [Client Quit]
quiller has joined #ruby
d^sh has joined #ruby
aduabu has quit [Ping timeout: 240 seconds]
conta1 has joined #ruby
aduabu has joined #ruby
uZiel has joined #ruby
canteen4 has quit [Ping timeout: 248 seconds]
canteen4 has joined #ruby
nofxxxx has joined #ruby
aupadhye has quit [Ping timeout: 248 seconds]
djbkd has joined #ruby
aduabu has quit [Ping timeout: 248 seconds]
aduabu has joined #ruby
paranoicsan has joined #ruby
paranoicsan has quit [Client Quit]
nofxxx has quit [Ping timeout: 255 seconds]
canteen4 has quit [Ping timeout: 248 seconds]
Ishido has joined #ruby
canteen4 has joined #ruby
jamesaxl has joined #ruby
aduabu has quit [Ping timeout: 248 seconds]
aduabu has joined #ruby
nobitanobi has quit [Remote host closed the connection]
Xiti has quit [Ping timeout: 248 seconds]
canteen4 has quit [Ping timeout: 248 seconds]
paranoicsan has joined #ruby
anisha has joined #ruby
canteen4 has joined #ruby
umaaji has quit [Quit: Leaving...]
aduabu has quit [Ping timeout: 240 seconds]
aduabu has joined #ruby
canteen4 has quit [Ping timeout: 248 seconds]
enterprisey_ has joined #ruby
howdoi has joined #ruby
enterprisey has quit [Read error: Connection reset by peer]
djbkd has quit [Remote host closed the connection]
canteen4 has joined #ruby
tomphp has joined #ruby
dionysus69 has joined #ruby
Xiti has joined #ruby
ur5us has quit [Remote host closed the connection]
conta1 has quit [Ping timeout: 248 seconds]
aduabu has quit [Ping timeout: 240 seconds]
aduabu has joined #ruby
gix- has joined #ruby
gix has quit [Disconnected by services]
conta1 has joined #ruby
sunrunner20_ has joined #ruby
Rutix`away has joined #ruby
Rutix`away has joined #ruby
Rutix`away has quit [Changing host]
canteen4 has quit [Ping timeout: 252 seconds]
PaulCapestany has quit [Read error: Connection reset by peer]
spheric has quit [Read error: Connection reset by peer]
sunrunner20_ is now known as sunrunner20
sunrunner20 has quit [Read error: Connection reset by peer]
herbmillerjr has quit [Excess Flood]
canteen4 has joined #ruby
conta has quit [Ping timeout: 248 seconds]
conta1 is now known as conta
andikr has joined #ruby
herbmillerjr has joined #ruby
escrooge1 has left #ruby [#ruby]
Rutix has quit [Ping timeout: 248 seconds]
PaulCape_ has joined #ruby
aduabu has quit [Ping timeout: 240 seconds]
zacts has quit [Ping timeout: 255 seconds]
rekkoha has quit [Quit: Ping timeout (120 seconds)]
mikeric has quit []
knight_ has quit [Read error: Connection reset by peer]
FifthWall has quit [Ping timeout: 264 seconds]
FifthWall has joined #ruby
rekkoha has joined #ruby
tatey has quit [Ping timeout: 240 seconds]
reinh1 has quit [Ping timeout: 264 seconds]
knight_ has joined #ruby
mikeric has joined #ruby
reinh1 has joined #ruby
tatey has joined #ruby
djbkd has joined #ruby
aduabu has joined #ruby
ana_ has joined #ruby
canteen4 has quit [Ping timeout: 252 seconds]
canteen4 has joined #ruby
ana_ has quit [Client Quit]
__Yiota has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
aduabu has quit [Ping timeout: 240 seconds]
SqREL has quit [Remote host closed the connection]
armyriad has joined #ruby
ana_ has joined #ruby
claw has quit [Ping timeout: 255 seconds]
roshanavand has joined #ruby
jpterry has quit [Ping timeout: 240 seconds]
Guest3800 is now known as ndrst
ndrst has quit [Changing host]
ndrst has joined #ruby
jamesaxl has quit [Read error: Connection reset by peer]
RazorX has quit [Ping timeout: 240 seconds]
claw has joined #ruby
jamesaxl has joined #ruby
ShekharReddy has joined #ruby
RazorX has joined #ruby
aduabu has joined #ruby
jpterry has joined #ruby
kapil___ has joined #ruby
konsolebox has quit [Ping timeout: 248 seconds]
canteen4 has quit [Ping timeout: 240 seconds]
rabajaj has joined #ruby
canteen4 has joined #ruby
eroux has joined #ruby
aduabu has quit [Ping timeout: 248 seconds]
aduabu has joined #ruby
konsolebox has joined #ruby
tomphp has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
umaaji has joined #ruby
canteen4 has quit [Ping timeout: 248 seconds]
cdg has joined #ruby
canteen4 has joined #ruby
cdg has quit [Ping timeout: 240 seconds]
aduabu has quit [Ping timeout: 240 seconds]
aduabu has joined #ruby
Cohedrin_ has quit [Quit: Textual IRC Client: www.textualapp.com]
canteen4 has quit [Ping timeout: 248 seconds]
enterprisey_ has quit [Remote host closed the connection]
canteen4 has joined #ruby
Tempesta has quit [Quit: See ya!]
eroux has quit [Read error: Connection reset by peer]
aduabu has quit [Ping timeout: 240 seconds]
TomyWork has joined #ruby
iamyask has joined #ruby
aduabu has joined #ruby
zipkid has joined #ruby
Defenestrate has joined #ruby
Chew has joined #ruby
canteen4 has quit [Ping timeout: 240 seconds]
Brak____________ has joined #ruby
meinside has joined #ruby
tfitts has joined #ruby
Silthias has joined #ruby
tsia has joined #ruby
Silthias1 has quit [Ping timeout: 246 seconds]
enterprisey has joined #ruby
canteen4 has joined #ruby
aduabu has quit [Ping timeout: 255 seconds]
aduabu has joined #ruby
AnotherNick has joined #ruby
canteen4 has quit [Ping timeout: 252 seconds]
paranoicsan is now known as paranoicsan[Away
paranoicsan[Away is now known as paranoicsan
ta_ has joined #ruby
futilegames has joined #ruby
workmad3 has quit [Quit: leaving]
workmad3 has joined #ruby
canteen4 has joined #ruby
Ishido has quit [Read error: Connection reset by peer]
Defenestrate has quit [Quit: This computer has gone to sleep]
Ishido has joined #ruby
aduabu has quit [Ping timeout: 260 seconds]
<dminuoso> jgorak: with_index is a generic abstraction
aduabu has joined #ruby
<dminuoso> jgorak: its applicable to any enumerator object, and additionally also has an optional argument
SqREL has joined #ruby
canteen4 has quit [Ping timeout: 260 seconds]
canteen4 has joined #ruby
SqREL has quit [Ping timeout: 248 seconds]
mark_66 has joined #ruby
aduabu has quit [Ping timeout: 252 seconds]
jaruga_________ has joined #ruby
Silthias1 has joined #ruby
Silthias has quit [Ping timeout: 240 seconds]
<havenwood> the optional argument is nice - usually when you want to increment by one, but also otherwise from time to time
<havenwood> with_index(1)
<havenwood> #each_with_index should probably have parity or be deprecated.
<havenwood> I guess they're currently different in more ways than one
<havenwood> "Calls block with two arguments, the item and its index, for each item in enum."
futilegames has quit [Quit: futilegames]
cagomez has joined #ruby
SqREL has joined #ruby
<dminuoso> havenwood: Should look into whether each_with_index is more efficient (i.e. perhaps no intermediate enumerator object)
<dminuoso> and at #with_object too
aduabu has joined #ruby
jamesaxl has quit [Read error: Connection reset by peer]
sysvalve has joined #ruby
harai has joined #ruby
bronson has joined #ruby
jamesaxl has joined #ruby
cagomez has quit [Ping timeout: 240 seconds]
canteen4 has quit [Ping timeout: 248 seconds]
canteen4 has joined #ruby
aduabu has quit [Ping timeout: 240 seconds]
antgel has joined #ruby
aduabu has joined #ruby
bronson has quit [Ping timeout: 240 seconds]
enterprisey has quit [Remote host closed the connection]
canteen4 has quit [Ping timeout: 246 seconds]
canteen4 has joined #ruby
aduabu has quit [Ping timeout: 240 seconds]
aduabu has joined #ruby
canteen4 has quit [Ping timeout: 240 seconds]
canteen4 has joined #ruby
<pinksandles> yeah, i thought about that too. i think each_with_only would only be milliseconds faster.
<pinksandles> each_with_index*
<pinksandles> each_with_index doesn't have API consistency: 'foo.map.with_index`. etc. as well.
jamesaxl has quit [Read error: Connection reset by peer]
tomphp has joined #ruby
aduabu has quit [Ping timeout: 246 seconds]
<pinksandles> so probably prefer the enumerator variant.
jamesaxl has joined #ruby
jamesaxl has quit [Read error: Connection reset by peer]
jamesaxl has joined #ruby
aduabu has joined #ruby
jamesaxl has quit [Read error: Connection reset by peer]
jamesaxl has joined #ruby
jamesaxl has quit [Read error: Connection reset by peer]
canteen4 has quit [Ping timeout: 240 seconds]
canteen4 has joined #ruby
jamesaxl has joined #ruby
aduabu has quit [Ping timeout: 248 seconds]
jamesaxl has quit [Read error: Connection reset by peer]
jamesaxl has joined #ruby
djbkd has quit []
jamesaxl has quit [Read error: Connection reset by peer]
<dminuoso> pinksandles: what do you mean?
eckhardt has joined #ruby
kies has joined #ruby
aduabu has joined #ruby
njichev has joined #ruby
canteen4 has quit [Ping timeout: 260 seconds]
Defenestrate has joined #ruby
Defenestrate has quit [Changing host]
Defenestrate has joined #ruby
canteen4 has joined #ruby
aduabu has quit [Ping timeout: 248 seconds]
tomphp has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
aduabu has joined #ruby
canteen4 has quit [Ping timeout: 240 seconds]
canteen4 has joined #ruby
uZiel has quit [Ping timeout: 268 seconds]
uZiel has joined #ruby
aduabu has quit [Ping timeout: 240 seconds]
Lyubo1 has quit [Ping timeout: 248 seconds]
eckhardt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
cschneid_ has joined #ruby
aduabu has joined #ruby
Burgestrand has joined #ruby
lxsameer has joined #ruby
canteen4 has quit [Ping timeout: 248 seconds]
lxsameer has quit [Changing host]
lxsameer has joined #ruby
canteen4 has joined #ruby
cschneid_ has quit [Ping timeout: 240 seconds]
Lyubo1 has joined #ruby
aduabu has quit [Ping timeout: 252 seconds]
aduabu has joined #ruby
canteen4 has quit [Ping timeout: 240 seconds]
canteen4 has joined #ruby
alfiemax has quit [Remote host closed the connection]
mim1k has joined #ruby
aduabu has quit [Ping timeout: 252 seconds]
TheBrayn has joined #ruby
aduabu has joined #ruby
raynold has quit [Quit: Connection closed for inactivity]
canteen4 has quit [Ping timeout: 252 seconds]
gixxer1k has joined #ruby
funkytwig has quit [Quit: Leaving]
paranoicsan has quit [Read error: Connection reset by peer]
canteen4 has joined #ruby
aduabu has quit [Ping timeout: 248 seconds]
daemonwrangler has quit [Ping timeout: 260 seconds]
harfangk has joined #ruby
bier has quit [Ping timeout: 260 seconds]
daemonwrangler has joined #ruby
sepp2k has joined #ruby
kapil___ has quit [Quit: Connection closed for inactivity]
mikecmpbll has joined #ruby
bier has joined #ruby
<pinksandles> there's no map_with_index, reject_with_index, select_with_index, etc.
doesntbyte has quit [Ping timeout: 276 seconds]
hsiktas has quit [Ping timeout: 276 seconds]
knowtheory has quit [Ping timeout: 276 seconds]
aduabu has joined #ruby
Beams has joined #ruby
knowtheory has joined #ruby
doesntbyte has joined #ruby
hsiktas has joined #ruby
canteen4 has quit [Ping timeout: 240 seconds]
canteen4 has joined #ruby
aduabu has quit [Ping timeout: 248 seconds]
aduabu has joined #ruby
<workmad3> pinksandles: map.with_index
canteen4 has quit [Ping timeout: 248 seconds]
<workmad3> ah, too much channel noise (leaves and parts), didn't see the chat history...
<dminuoso> workmad3: Which client do you use?
<workmad3> dminuoso: irssi, and yeah, I could filter out the noise... but then I miss when someone isn't in the channel anymore :P
<dminuoso> workmad3: Weechat has a smart filter that only displays leave/join message when they are within a small window of the last message.
<dminuoso> Perhaps irssi has something similar
<workmad3> maybe... I might take a look at some point :)
<dminuoso> workmad3: Oh indeed there are such plugins. https://github.com/lifeforms/irssi-smartfilter :)
mikecmpb_ has joined #ruby
tomphp has joined #ruby
mikecmpbll has quit [Ping timeout: 240 seconds]
harai has quit [Ping timeout: 252 seconds]
<pinksandles> kinda like it now
<dminuoso> pinksandles: actually I just realized that each_with_index is willy
<pinksandles> ?
harai has joined #ruby
paranoicsan has joined #ruby
<dminuoso> pinksandles: Under the hood *just* with_index(0)
<pinksandles> haha
<pinksandles> then WithIndexable makes a little more sense
alfiemax has joined #ruby
<dminuoso> pinksandles: No. Just use with_index
<pinksandles> *shrug*
<pinksandles> quite rare i need with_index
canteen4 has joined #ruby
vondruch has quit [Quit: vondruch]
vondruch has joined #ruby
aduabu has quit [Ping timeout: 248 seconds]
aduabu has joined #ruby
postmodern_ has joined #ruby
postmodern has quit [Read error: Connection reset by peer]
canteen4 has quit [Ping timeout: 252 seconds]
<pinksandles> ary = [1,2,3].extend(WithIndexable)
<pinksandles> ary.select_with_index(1) {|e,i| }
<pinksandles> beaut-tat-ful
<workmad3> pinksandles: I'd probably make `with_indexable` specific to enumerable methods tbh... something like `%i(map reject select ...).each { |m| define_method "#{m}_with_index" { |*args, **kwargs, &blk| public_send(m).with_index(*args, **kwargs, &blk) } }`
<pinksandles> right, that'd be faster
vondruch has quit [Quit: vondruch]
<workmad3> and also not cause weird side-effects with non-enumerable methods
vondruch has joined #ruby
<pinksandles> if m.to_s =~ /(\w+)_with_index/ and respond_to?($1, false)
<pinksandles> enum.respond_to?(:with_index) ? enum.with_index(*a, &b) : super
<pinksandles> enum = public_send($1)
<pinksandles> i think that should cover the side effects
<workmad3> ary.delete_with_index("foo")
<pinksandles> it would only work if `ary.delete.with_index` is a thing.
<workmad3> no, it would have already called `delete`
<workmad3> in order to get the `enum` to test for `with_index` support
<pinksandles> ah true.
mim1k has quit [Ping timeout: 240 seconds]
<pinksandles> yea. not sure what good work arounds there are for that. i'll probably come back to it later
zipace has joined #ruby
<workmad3> I don't think there is a workaround with a method_missing approach... and you could take the view that someone trying that deserves what they get :)
<pinksandles> well. there is.
conta has quit [Remote host closed the connection]
<pinksandles> you could just take `%i(map reject select ...` from your example, then check $1 is there.
<workmad3> oh right... test for a specific set of methods that support `.with_index` chaining in the method_missing :P
<pinksandles> yep.
<pinksandles> same thing your solution does
frozengeek has joined #ruby
<workmad3> I was discounting that one, because it also removes the point of a method_missing type approach, which is to still work without modification as new chainable methods are added
<pinksandles> i don't agree.
<workmad3> e.g. `String.include(WithIndexable); "fooo".each_char_with_index`...
<pinksandles> a whitelist-type approach for method_missing is useful if the runtime is not gauranteed to be the same.
canteen4 has joined #ruby
<workmad3> hmm... true... tradeoffs
kapil___ has joined #ruby
mim1k has joined #ruby
<pinksandles> yea. i dont think most code is that dynamic. so most likely defining the methods is better
aduabu has quit [Ping timeout: 252 seconds]
brent__ has joined #ruby
jane_booty_doe has joined #ruby
aduabu has joined #ruby
<pinksandles> yea for sure. tried here. and it works out much better
brent__ has quit [Ping timeout: 248 seconds]
mikecmpb_ has quit [Quit: inabit. zz.]
<pinksandles> but then. with method_missing you could add/remove select methods. and always be able to. eg: include WithIndexable(%w(map select reject))
canteen4 has quit [Ping timeout: 260 seconds]
mikecmpbll has joined #ruby
canteen4 has joined #ruby
conta has joined #ruby
jinie has quit [Read error: Connection reset by peer]
jane_booty_doe has quit [Quit: Leaving]
sonOfRa is now known as SONOFRA
aduabu has quit [Ping timeout: 248 seconds]
bronson has joined #ruby
aduabu has joined #ruby
jinie has joined #ruby
<pinksandles> pretty cool
bronson has quit [Ping timeout: 248 seconds]
Serpent7776 has joined #ruby
canteen4 has quit [Ping timeout: 248 seconds]
cdg has joined #ruby
canteen4 has joined #ruby
marr has joined #ruby
harfangk has quit [Ping timeout: 240 seconds]
SONOFRA is now known as sonOfRa
aduabu has quit [Ping timeout: 240 seconds]
cdg has quit [Ping timeout: 246 seconds]
Tempesta has joined #ruby
ams__ has joined #ruby
govg has quit [Ping timeout: 248 seconds]
f48ds2 has joined #ruby
govg has joined #ruby
cdg has joined #ruby
xuanrui has joined #ruby
aduabu has joined #ruby
canteen4 has quit [Ping timeout: 252 seconds]
canteen4 has joined #ruby
apparition has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
cdg has quit [Ping timeout: 276 seconds]
<f48ds2> is it better to avoid using eval?
<tobiasvl> f48ds2: yes
aduabu has quit [Ping timeout: 240 seconds]
aduabu has joined #ruby
quobo has joined #ruby
canteen4 has quit [Ping timeout: 240 seconds]
canteen4 has joined #ruby
aduabu has quit [Ping timeout: 252 seconds]
paranoicsan is now known as paranoicsan[Away
tomphp has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
dlitvak has joined #ruby
aduabu has joined #ruby
Defenestrate has quit [Quit: This computer has gone to sleep]
canteen4 has quit [Ping timeout: 252 seconds]
canteen4 has joined #ruby
gixxer1k has quit [Remote host closed the connection]
ShalokShalom has joined #ruby
milardovich has joined #ruby
gixxer1k has joined #ruby
aduabu has quit [Ping timeout: 252 seconds]
milardovich has quit [Remote host closed the connection]
aduabu has joined #ruby
tomphp has joined #ruby
GodFather has joined #ruby
cadillac_ has quit [Ping timeout: 240 seconds]
canteen4 has quit [Ping timeout: 240 seconds]
cadillac_ has joined #ruby
aduabu has quit [Ping timeout: 252 seconds]
canteen4 has joined #ruby
jameser has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
aduabu has joined #ruby
ShalokShalom_ has joined #ruby
milardovich has joined #ruby
canteen4 has quit [Ping timeout: 240 seconds]
camilasan has joined #ruby
ShalokShalom has quit [Ping timeout: 240 seconds]
paranoicsan[Away is now known as paranoicsan
laphoraig92 has joined #ruby
apparition has joined #ruby
ShalokShalom_ is now known as ShalokShalom
harfangk has joined #ruby
canteen4 has joined #ruby
aduabu has quit [Ping timeout: 248 seconds]
lele has joined #ruby
aduabu has joined #ruby
nadir has joined #ruby
canteen4 has quit [Ping timeout: 240 seconds]
canteen4 has joined #ruby
adlerdias has joined #ruby
aduabu has quit [Ping timeout: 240 seconds]
aduabu has joined #ruby
canteen4 has quit [Ping timeout: 252 seconds]
canteen4 has joined #ruby
davic has joined #ruby
Defenestrate has joined #ruby
aduabu has quit [Ping timeout: 252 seconds]
minimalism has quit [Quit: minimalism]
FastJack has quit [Read error: Connection reset by peer]
FastJack_ has joined #ruby
tera_ has joined #ruby
aduabu has joined #ruby
mim1k has quit [Ping timeout: 248 seconds]
ixti has joined #ruby
mim1k has joined #ruby
canteen4 has quit [Ping timeout: 240 seconds]
canteen4 has joined #ruby
apparition47 has joined #ruby
aduabu has quit [Ping timeout: 248 seconds]
aduabu has joined #ruby
oliv_____ has joined #ruby
canteen4 has quit [Ping timeout: 248 seconds]
canteen4 has joined #ruby
aduabu has quit [Ping timeout: 240 seconds]
oliv_____ has quit [Ping timeout: 240 seconds]
aduabu has joined #ruby
t-recx has joined #ruby
canteen4 has quit [Ping timeout: 248 seconds]
mim1k has quit [Ping timeout: 240 seconds]
canteen4 has joined #ruby
conta has quit [Read error: Connection reset by peer]
conta has joined #ruby
pandaant has joined #ruby
mim1k has joined #ruby
aduabu has quit [Ping timeout: 240 seconds]
aduabu has joined #ruby
bruno- has joined #ruby
sentor`` has joined #ruby
canteen4 has quit [Ping timeout: 240 seconds]
arne_ has joined #ruby
arne_ is now known as Bish
gixxer1k has quit [Remote host closed the connection]
gixxer1k has joined #ruby
antgel has quit [Ping timeout: 240 seconds]
<Bish> >> require 'json'; require 'time';class Time;def to_json *args; self.iso8601;end; [{a:Time.now}.to_json,{Time.now=>3}.to_json]
<ruby[bot]> Bish: # => /tmp/execpad-889b2092a2d5/source-889b2092a2d5:7: syntax error, unexpected end-of-input, expecting ke ...check link for more (https://eval.in/849121)
sentor` has quit [Ping timeout: 240 seconds]
<Bish> >> require 'json'; require 'time';class Time;def to_json *args; self.iso8601;end;end; [{a:Time.now}.to_json,{Time.now=>3}.to_json]
<ruby[bot]> Bish: # => ["{\"a\":2017-08-23T11:19:51+00:00}", "{\"2017-08-23 11:19:51 +0000\":3}"] (https://eval.in/849122)
<Bish> why ;;
<Bish> is that a ruby bug?
sleepee has joined #ruby
naprimer has quit [Read error: Connection reset by peer]
Polymorphism has left #ruby ["Leaving"]
<pinksandles> what's the bug? and JSON library should serialise Time/Date for you already.
<konsolebox> Bish: what is the bug?
tomphp has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<Bish> pinksandles: but not in iso8601
<Bish> konsolebox: i overwrote to_json for Time, so i get a sane format
<Bish> when having time as a key it doesnt use that monkeypatch
<pinksandles> i guess it doesn't bother to visit it
<elomatreb> The Time classes don't like monkeypatching IIRC, you're probably much better off with a wrapper class
<pinksandles> try Time.now.to_json
<pinksandles> or just, iso8601(Time.now)
<Bish> pinksandles: you read my code right?
<pinksandles> and let JSON serialise as a string.
<pinksandles> i did
<Bish> literally both of these functions are in that 1 line
<pinksandles> you're calling to_json on a Hash
<pinksandles> it doesn't appear that Time#to_json is visited
<Bish> it does, but only when having it as a value, not as key
<Bish> thats the bug.
<pinksandles> so you can just write: {a: isoXXXX(Time.now)}.to_json
<Bish> well i know i can do that. but my ORM doesnt give a shit what i can write, if it does it otherwise
<pinksandles> what orm are you using?
<Bish> sequel
<pinksandles> with json from stdlib?
<Bish> yes
<konsolebox> >> require 'json'; require 'time';class Time;def to_json *args; raise; end; end; [{a:Time.now}.to_json,{Time.now=>3}.to_json]
<ruby[bot]> konsolebox: # => (RuntimeError) ...check link for more (https://eval.in/849123)
<konsolebox> oh, so it's called
pandaant has quit [Quit: Lost terminal]
<pinksandles> then yea. looks like a bug. so basically, you need to overrwrite Hash#to_json instead
<pinksandles> and visit the key
<pinksandles> that the JSON lib doesn't visit
<Bish> sigh
spheric has joined #ruby
<pinksandles> def to_json() super Hash[map {|k, v| [Time === k ? isoXXXX(k) : k, Time === v ? isoXXXX(v) : v] }]; end
<pinksandles> may do it
<konsolebox> that may only be true on a single level. how about arrays?
<pinksandles> don't follow.
<pinksandles> arrays dont have keys
<pinksandles> technically
<pinksandles> could write
<konsolebox> i just wonder if this issues also occurs in arrays
<konsolebox> *issue
<pinksandles> no
<pinksandles> just when the Time is a key
<pinksandles> Bish: should file a bug for it
rahul_bajaj has joined #ruby
<pinksandles> def to_json() super Hash[map {|k, v| [Time === k ? k.isoXXXX : k, Time === v ? v.isoXXXX : v] }]; end <- guess should be this.
<pinksandles> bbl..
zacts has joined #ruby
<Bish> pinksandles: never did that, and maybe it's intentional
<Bish> i think .to_s gets called when key
<Bish> so if an object that responds to_json, still has another value as an object key
rabajaj has quit [Ping timeout: 252 seconds]
olivi____ has joined #ruby
<Bish> dunno if {complex_object=>complex_object}.to_json would be weird :D
frozengeek has quit [Quit: frozengeek]
rahul_bajaj has quit [Ping timeout: 260 seconds]
rabajaj has joined #ruby
cdg has joined #ruby
<Bish> >> require 'json'; class ComplexObject; def to_s; ":>";end; def to_json *args;"{}";end;end; co = ComplexObject.new; {co=>co}.to_json
<ruby[bot]> Bish: # => "{\":>\":{}}" (https://eval.in/849128)
<Bish> amusing
bronson has joined #ruby
<pinksandles> hehe
<Bish> this might be intentional though
<Bish> i dont think they were like " oh, to_json, to_s, doesnt matter"
<Bish> >> require 'json'; class ComplexObject; def to_s; super;end; def to_json *args;"{}";end;end; co = ComplexObject.new; {co=>co}.to_json
<ruby[bot]> Bish: I'm terribly sorry, I could not evaluate your code because of an error: NoMethodError:undefined method `[]' for nil:NilClass
<Bish> :o
<pinksandles> def to_s(); isoXXXX; end seems like a decent solution.
<Bish> im scared of that solution
<pinksandles> why?
<Bish> libraries might use that format
<pinksandles> but it's to_s, the human-representation of the object
<Bish> well not sure if thats to_s's purpose
<pinksandles> Time#to_s, i think so, as long as it's a parseable timestamp... shouldn't matter much
bronson has quit [Ping timeout: 240 seconds]
cdg has quit [Ping timeout: 246 seconds]
aupadhye has joined #ruby
olivi____ has quit [Quit: Leaving...]
olivi____ has joined #ruby
olivi____ has quit [Client Quit]
olivi____ has joined #ruby
<pinksandles> but yeah. monkey patching core classes sucks.
marr has quit [Ping timeout: 240 seconds]
canteen4 has joined #ruby
Beams_ has joined #ruby
pyemkey has joined #ruby
Beams has quit [Ping timeout: 248 seconds]
aduabu has quit [Ping timeout: 240 seconds]
<pyemkey> Hello all. Can anyone help me understand requirements I have to implement.
<pyemkey> program-start-time, program-end-time (optional field) and presentation-time should be an unsigned 64 bit integer representing the number of 100-nanosecond intervals elapsed since Unix Epoch in UTC. stream-name is an identifier of a particular bitrate quality of stream. It should be unique within a representation.
xuanrui has quit [Remote host closed the connection]
Defenestrate has quit [Quit: Leaving]
AnoHito_ has joined #ruby
olivi____ has quit [Quit: Leaving...]
olivi____ has joined #ruby
gixxer1k has quit [Remote host closed the connection]
olivi____ has left #ruby [#ruby]
gixxer1k has joined #ruby
AnoHito has quit [Ping timeout: 240 seconds]
ldnunes has joined #ruby
aduabu has joined #ruby
canteen4 has quit [Ping timeout: 252 seconds]
gnufied has joined #ruby
canteen4 has joined #ruby
aduabu has quit [Ping timeout: 240 seconds]
laphoraig92 has quit [Quit: Leaving]
aduabu has joined #ruby
canteen4 has quit [Ping timeout: 240 seconds]
canteen4 has joined #ruby
aduabu has quit [Ping timeout: 248 seconds]
aduabu has joined #ruby
tera_ has quit [Ping timeout: 260 seconds]
gixxer1k has quit [Ping timeout: 240 seconds]
canteen4 has quit [Ping timeout: 240 seconds]
sorah___ has quit [Ping timeout: 276 seconds]
sorah___ has joined #ruby
kapil___ has quit [Ping timeout: 276 seconds]
discopatrick has quit [Ping timeout: 276 seconds]
graingert has quit [Ping timeout: 276 seconds]
rflot has quit [Ping timeout: 276 seconds]
craysiii has quit [Ping timeout: 276 seconds]
harai has quit [Ping timeout: 255 seconds]
blznblzn2 has quit [Ping timeout: 276 seconds]
fnux has left #ruby ["WeeChat 1.9"]
graingert has joined #ruby
craysiii has joined #ruby
blznblzn2 has joined #ruby
kapil___ has joined #ruby
rflot has joined #ruby
discopatrick has joined #ruby
canteen4 has joined #ruby
ruby740 has joined #ruby
<Burgestrand> pyemkey What's your question?
jamesaxl has joined #ruby
aduabu has quit [Ping timeout: 252 seconds]
<pyemkey> I want to make conversion like: 8 Feb 2012 20:00:00 UTC => 13287312000000000. Result should be an unsigned 64 bit integer representing the number of 100-nanosecond intervals elapsed since Unix Epoch in UTC.
harfangk has quit [Quit: No Ping reply in 180 seconds.]
mim1k has quit [Ping timeout: 248 seconds]
harfangk has joined #ruby
ruby740 has quit [Ping timeout: 260 seconds]
<matthewd> pyemkey: What have you found so far?
[diecast] has quit [Ping timeout: 276 seconds]
zack6849 has quit [Ping timeout: 240 seconds]
rjungemann has quit [Ping timeout: 276 seconds]
Tony-St4rk has quit [Ping timeout: 276 seconds]
pwillard has quit [Ping timeout: 276 seconds]
my123 has joined #ruby
my123 has joined #ruby
[diecast] has joined #ruby
Tony-St4rk has joined #ruby
rjungemann has joined #ruby
pwillard has joined #ruby
rwb has quit [Ping timeout: 246 seconds]
Beams_ has quit [Quit: .]
mostlybadfly has joined #ruby
andikr has quit [Remote host closed the connection]
GinoMan has joined #ruby
bmurt has joined #ruby
aduabu has joined #ruby
zack6849 has joined #ruby
zack6849 has joined #ruby
zack6849 has quit [Changing host]
Beams has joined #ruby
canteen4 has quit [Ping timeout: 248 seconds]
canteen4 has joined #ruby
<pyemkey> @matthewd I've prepared gist how I understand this conversion https://gist.github.com/pyemkey/b5e3a0d6db1a64f3038011c35e214f93
tomphp has joined #ruby
aduabu has quit [Ping timeout: 240 seconds]
<matthewd> pyemkey: +02:00 isn't UTC
rabajaj has quit [Remote host closed the connection]
<pyemkey> right, should be +01:00
<matthewd> No, that's not UTC either
aduabu has joined #ruby
mtkd has quit [Ping timeout: 276 seconds]
canteen4 has quit [Ping timeout: 276 seconds]
mtkd has joined #ruby
canteen4 has joined #ruby
<pyemkey> ok, so I don't need add any offset in Time.new
aduabu has quit [Ping timeout: 252 seconds]
aduabu has joined #ruby
sleepee has quit [Ping timeout: 240 seconds]
canteen4 has quit [Ping timeout: 248 seconds]
ducklobster has quit [Ping timeout: 260 seconds]
canteen4 has joined #ruby
<pyemkey> @matthewd any hints?
aduabu has quit [Ping timeout: 276 seconds]
koenrh has joined #ruby
<matthewd> pyemkey: Do you know what UTC is? :/
<pinksandles> Universal Tea Cup
Ouchy has joined #ruby
Ouchy has joined #ruby
Ouchy has quit [Changing host]
aduabu has joined #ruby
swills has quit [Ping timeout: 264 seconds]
mikeric has quit []
marr has joined #ruby
canteen4 has quit [Ping timeout: 252 seconds]
canteen4 has joined #ruby
aduabu has quit [Ping timeout: 252 seconds]
<epochwolf> Universal Coordinated Time
<dminuoso> epochwolf: If only.
aduabu has joined #ruby
<dminuoso> epochwolf: That compromise between frenchies and english folks...
<epochwolf> Wait... Temps universel coordonné
<dminuoso> :|
<epochwolf> OR Coordinated Universal Time!?
cdg has joined #ruby
<epochwolf> And they choose UTC as the abbrevated form?
govg has quit [Ping timeout: 248 seconds]
* epochwolf applies desk directly to forehead
swills has joined #ruby
swills has joined #ruby
swills_ has joined #ruby
swills_ has quit [Remote host closed the connection]
canteen4 has quit [Ping timeout: 276 seconds]
cdg_ has joined #ruby
tomphp has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
govg has joined #ruby
gixxer1k has joined #ruby
<dminuoso> epochwolf: Yes, it was a compromise to not give either the preferred form.
<dminuoso> So they chose one that was silly in both languages.
<dminuoso> (Intentionally)
<epochwolf> dminuoso: A good compromise. Everyone is equally unhappy.
<dminuoso> epochwolf: Indeed. A wonderful example to teach kids what a compromise is.
mim1k has joined #ruby
cdg has quit [Ping timeout: 240 seconds]
<Bish> better not have kids
<epochwolf> I don't think there's much risk of me having kids.
<dminuoso> epochwolf: adolescence will come soon enough, dont worry.
<epochwolf> dminuoso: oh, we really don't want to get into the reasons why.
* Papierkorb sips some earl grey
<Papierkorb> It sure is the weird time of day in #ruby my dear
* dminuoso steaps Papierkorb's sugar
<matthewd> "Universal Time, Coordinated" doesn't sound jarringly bad to me... I wonder if there's a similar awkward-but-plausible version in French
swills has quit [Remote host closed the connection]
swills has joined #ruby
<dminuoso> By th eway
<epochwolf> So... there's sinatra and rails... did any other ruby web frameworks become popular in the last 6 years?
<matthewd> However, none of that helps pyemkey... while a reference to said standard, the UTC in "8 Feb 2012 20:00:00 UTC" has a more specific meaning
<Papierkorb> I like Roda the most epochwolf
howdoi has quit [Quit: Connection closed for inactivity]
<Papierkorb> epochwolf: though if it's "popular" I don't know
<matthewd> Yeah.. Roda and Hanami?
naprimer has joined #ruby
<dminuoso> epochwolf: there's also ramaze
<pinksandles> Universal Trump Confederacy
tomphp has joined #ruby
aupadhye has quit [Ping timeout: 240 seconds]
canteen4 has joined #ruby
aduabu has quit [Ping timeout: 248 seconds]
aduabu has joined #ruby
canteen4 has quit [Ping timeout: 248 seconds]
Ouchy has quit [Ping timeout: 240 seconds]
<epochwolf> Hanami looks really interesting.
antgel has joined #ruby
Ouchy has joined #ruby
Ouchy has joined #ruby
Ouchy has quit [Changing host]
Ouchy`w has joined #ruby
GodFather has quit [Ping timeout: 252 seconds]
canteen4 has joined #ruby
goyox86_ has joined #ruby
aduabu has quit [Ping timeout: 252 seconds]
aduabu has joined #ruby
__Yiota has joined #ruby
canteen4 has quit [Ping timeout: 240 seconds]
canteen4 has joined #ruby
__Yiota has quit [Max SendQ exceeded]
__Yiota has joined #ruby
GodFather has joined #ruby
aduabu has quit [Ping timeout: 240 seconds]
Ouchy`w has quit []
milardovich has quit [Remote host closed the connection]
milardovich has joined #ruby
aduabu has joined #ruby
__Yiota has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
oleo has joined #ruby
bronson has joined #ruby
<pyemkey> @matthewd Ok. You made your point. I thought, that I understand UTC well. I was wrong, but by your "help" I figured out how to solve my problem. Here is solution https://gist.github.com/pyemkey/b5e3a0d6db1a64f3038011c35e214f93
canteen4 has quit [Ping timeout: 248 seconds]
ducklobster has joined #ruby
milardovich has quit [Ping timeout: 252 seconds]
goyox86_ has quit [Ping timeout: 248 seconds]
skweek has joined #ruby
<matthewd> pyemkey: Cool. You could also have passed "+00:00" to Time.new.
XD_ has joined #ruby
uZiel has quit [Ping timeout: 268 seconds]
xaxisx_ has joined #ruby
bronson has quit [Ping timeout: 252 seconds]
sleepee has joined #ruby
FastJack_ has quit [Quit: leaving]
FastJack has joined #ruby
xaxisx has quit [Ping timeout: 248 seconds]
runescape07rsps has quit [Ping timeout: 248 seconds]
canteen4 has joined #ruby
<f48ds2> Is Fibers widely used?
aduabu has quit [Ping timeout: 240 seconds]
aduabu has joined #ruby
<Papierkorb> I've never used it once, nor seen it once.
Defenestrate has joined #ruby
Defenestrate has joined #ruby
Defenestrate has quit [Changing host]
canteen4 has quit [Ping timeout: 248 seconds]
canteen4 has joined #ruby
aduabu has quit [Ping timeout: 248 seconds]
Ouchy`w has joined #ruby
pyemkey has quit [Ping timeout: 248 seconds]
<zipace> i think Fibers is more a language-level lightweight version of threads
Defenestrate has quit [Client Quit]
Ouchy`w has quit [Client Quit]
Ouchy has quit [Ping timeout: 248 seconds]
govg has quit [Ping timeout: 240 seconds]
<dminuoso> zipace: they are more, they implement explicit cooperative concurrency because you have to explicitly yield.
<zipace> oh
<f48ds2> but Fibers are not run in background as threads, are they?
ResidentBiscuit has joined #ruby
<dminuoso> f48ds2: They are, but they are never preempted.
harfangk has quit [Ping timeout: 252 seconds]
smithascari has joined #ruby
<zipace> i've never actually used it, or seen anyone use them
<dminuoso> zipace: They are used under the hood for enumerators.
<dminuoso> zipace: they are very similar to co-routines due to their "yield"/"resume" semantics.
<dminuoso> So its a natural fit
<zipace> ah, that seems like something i'd use them for, perhaps less hamfisted than threads tbh
alfiemax has quit [Remote host closed the connection]
<dminuoso> f48ds2: So undet the hood they are frequently used by ruby itself and a handful of libraries like EM
bkxd has quit [Ping timeout: 246 seconds]
laphoraig92 has joined #ruby
apparition47 has quit [Quit: Bye]
chouhoulis has joined #ruby
aduabu has joined #ruby
ur5us has joined #ruby
harai has joined #ruby
<mikecmpbll> > puts "foo"
<mikecmpbll> oops.
<mikecmpbll> >> 1/280
<ruby[bot]> mikecmpbll: # => 0 (https://eval.in/849198)
<Bish> >> [1/1,"totally didnt expect this"]
Rapture has joined #ruby
<ruby[bot]> Bish: I'm terribly sorry, I could not evaluate your code because of an error: NoMethodError:undefined method `[]' for nil:NilClass
<Bish> oh shoot
canteen4 has quit [Ping timeout: 248 seconds]
paranoicsan is now known as paranoicsan[Away
AnoHito_ has quit [Read error: Connection reset by peer]
AnoHito has joined #ruby
<chrisseaton> I know some uses of a Enumerator will create a Fiber, but I'm having a mental block of which ones might do that - can anyone remind me?
ur5us has quit [Ping timeout: 260 seconds]
<Papierkorb> chrisseaton: you can build a iterator-returning #each (or other methods) out of a yielding #each using fibers
<Papierkorb> with awful performance, but it works. no idea if ruby does it though
<chrisseaton> Papierkorb: that's what I wanted - can you give me an example of a snippet of code which would do that though?
paranoicsan[Away is now known as paranoicsan
<matthewd> >> [1,2,3].each.next.next
<ruby[bot]> matthewd: I'm terribly sorry, I could not evaluate your code because of an error: NoMethodError:undefined method `[]' for nil:NilClass
<Papierkorb> chrisseaton: I've never used fibers in Ruby. I implemented that in Crystal (which is really near to Ruby) recently as test. You generally use tons of fibers in that language anyway.
ta_ has quit [Remote host closed the connection]
<matthewd> I *believe* that involves a fiber, at least
<chrisseaton> I'll try that, thanks
gixxer1k has quit [Quit: Leaving]
<matthewd> Oops, I missed a tap there; the second #next is calling Integer#next :P
<chrisseaton> >> [1, 2, 3].each.tap { |e| puts e.next }.tap { |e| puts e.next }
<ruby[bot]> chrisseaton: I'm terribly sorry, I could not evaluate your code because of an error: NoMethodError:undefined method `[]' for nil:NilClass
TinkerTyper has quit [Ping timeout: 240 seconds]
ledestin has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<matthewd> Or more explicitly: Object.new.tap { |o| class << o; def each; yield 1; yield 2; yield 3; end; end }.enum_for(:each).tap { |e| puts e.next; puts e.next }
harai has quit [Ping timeout: 252 seconds]
<matthewd> Avoids any "arrays might be special" magic -- there has to be a fiber whose ip is sitting between the two yields in that method, because that's the only way it could be working
__Yiota has joined #ruby
<matthewd> (this proof-by-behaviour brought to you by "matthewd's being too lazy to just open the code")
canteen4 has joined #ruby
chouhoulis has quit [Remote host closed the connection]
AnoHito_ has joined #ruby
DTZUZO has joined #ruby
chouhoulis has joined #ruby
nobitanobi has joined #ruby
smithascari has quit [Quit: byee o/]
InfinityFye has joined #ruby
smithasc has joined #ruby
smithasc has quit [Client Quit]
aduabu has quit [Ping timeout: 252 seconds]
bruno- has quit [Ping timeout: 248 seconds]
milardovich has joined #ruby
smithascari has joined #ruby
AnoHito has quit [Ping timeout: 255 seconds]
AnoHito has joined #ruby
h1fuelcell has joined #ruby
AnoHito_ has quit [Ping timeout: 240 seconds]
raddazong has quit [Quit: leaving]
madhatter has joined #ruby
TinkerTyper has joined #ruby
nobitanobi has quit [Read error: Connection reset by peer]
nobitanobi has joined #ruby
fumk has quit [Quit: It wasn't me, it was the papers :(]
chouhoul_ has joined #ruby
MyMind has joined #ruby
Sembei has quit [Ping timeout: 248 seconds]
bruno- has joined #ruby
cschneid_ has joined #ruby
chouhoulis has quit [Ping timeout: 252 seconds]
aduabu has joined #ruby
rwb has joined #ruby
paranoicsan is now known as paranoicsan[Away
chouhoul_ has quit [Remote host closed the connection]
canteen4 has quit [Ping timeout: 240 seconds]
chouhoulis has joined #ruby
tomphp has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
canteen4 has joined #ruby
aduabu has quit [Ping timeout: 252 seconds]
rippa has joined #ruby
njichev has quit [Ping timeout: 248 seconds]
aduabu has joined #ruby
Lavan has joined #ruby
<Lavan> Hi guys
<Lavan> me having a question
<Lavan> people think ruby is dead
<elomatreb> Not just guys here
<Lavan> is that true?
<elomatreb> Hang on a second, I'll ask all 764 other people people
<havenwood> Lavan: None of the top ten languages in use are dead. Java isn't dead. C isn't dead. Python isn't dead. Javascript isn't dead. Ruby isn't dead. Etc.
canteen4 has quit [Ping timeout: 240 seconds]
polishdub has joined #ruby
h1fuelcell has quit [Remote host closed the connection]
jaruga_________ is now known as jaruga
<cjohnson> Golf time again, any suggestions on how to eliminate lines 2 and 5 here? https://gist.github.com/chrisjohnson/59b246a0105065d71f00c64e0aee335b
<elomatreb> line 2 with a second arg with a default value in the method signature
mim1k has quit [Ping timeout: 276 seconds]
beilabs has joined #ruby
<havenwood> Looks like it always results in: {}
<cjohnson> if params is {note_to_prescriber_is_edited: '1'} it results in {:cmm_content_disclaimer => nil}
<cjohnson> which is distinctly different from {} since this is later used in a merge
<Lavan> but is there a dramatic decrease in ruby use?
<cjohnson> wmoxam: Hrm, I like that a little more
<elomatreb> >> {}[:key_that_doesnt_exist] # cjohnson
<ruby[bot]> elomatreb: I'm terribly sorry, I could not evaluate your code because of an error: NoMethodError:undefined method `[]' for nil:NilClass
<elomatreb> #=> nil
<cjohnson> elomatreb: Not sure what you are saying here
<elomatreb> I.e. unless you explicitely check with #key? or get the value with #fetch, you won't see the difference between the two
<matthewd> {}.tap { |o| [:cmm_content_disclaimer] = nil unless note_is_edited }
mim1k has joined #ruby
<cjohnson> elomatreb: The difference is that when I .merge(thisThing) my nil value will overwrite the value that was in the key it's being merged into
<elomatreb> OH, I missed the merge thing, sorry
<cjohnson> >> {foo: 'bar'}.merge({foo: nil})
<ruby[bot]> cjohnson: I'm terribly sorry, I could not evaluate your code because of an error: NoMethodError:undefined method `[]' for nil:NilClass
<cjohnson> Booo
alfiemax has joined #ruby
<cjohnson> Anyway yeah elomatreb
<havenwood> #=> {:foo=>nil}
<cjohnson> Is the bot broken?
<smithascari> i was about to suggest to use `#tap`
<matthewd> Oops, missed an `o`.. but yeah, tap is an option (though not an awesome one, IMO)
xuanrui has joined #ruby
<elomatreb> More specifically the site it uses to eval the code
__Yiota has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
xuanrui has quit [Max SendQ exceeded]
xuanrui has joined #ruby
<cjohnson> Oh yes tap I think is nicer than having the explicit return at the end
<cjohnson> I was looking for a smarter way to conditionally modify and always return without it being 4 distinct operations like I had
<smithascari> yeah, and you don't need a initial declaration as well
dionysus69 has quit [Ping timeout: 248 seconds]
<matthewd> This is probably a simplified example.. but if the method actually just had to do this one thing, I'd probably go with a straight if/else, with two hash literals
xuanrui has quit [Client Quit]
xuanrui has joined #ruby
<cjohnson> It's actually pretty complete, but it's part of a 2-method pair. let me paste both
mim1k has quit [Read error: Connection reset by peer]
alfiemax has quit [Ping timeout: 240 seconds]
conta has quit [Ping timeout: 248 seconds]
frozengeek has joined #ruby
<matthewd> And I guess this is a 3rd-party-facing API? Presumably if the request were coming from your own HTML/JS, you wouldn't need to be so forgiving about possible truthy values
ana_ has quit [Ping timeout: 252 seconds]
govg has joined #ruby
vondruch has quit [Quit: vondruch]
vondruch has joined #ruby
Zimsky has joined #ruby
herbmillerjr has quit [Remote host closed the connection]
tomphp has joined #ruby
__Yiota has joined #ruby
xuanrui has quit [Ping timeout: 248 seconds]
nobitanobi has quit [Remote host closed the connection]
<cjohnson> Not 3rd party, but we write APIs that are highly consumed by the company
<cjohnson> widely facing
<cjohnson> So yeah need to be forgiving
<cjohnson> And I moved the includes? bit into a helper
mim1k has joined #ruby
Burgestrand has quit [Quit: Closing time!]
vondruch has quit [Quit: vondruch]
vondruch has joined #ruby
<cjohnson> If anybody has any further suggestions before I commit I'm game
majuk has joined #ruby
herbmillerjr has joined #ruby
<matthewd> Is this Rails? If so, don't to_sym for params.
gr33n7007h has joined #ruby
<cjohnson> This is rails, and the code further down the line expects a hash with symbols as keys
<cjohnson> I didn't use .to_sym and when it went to look for foo[:note_to_prescriber] it didn't find it since it was foo['note_to_prescriber']
<matthewd> In overwrites, sure.. but if params is params, then it doesn't care
<cjohnson> The controller passing into this method is passing params.require(.......).symbolize_keys
<matthewd> (more specifically, it converts the supplied symbol back to a string internally)
<cjohnson> That code unfortunately is outside the scope of my change here
jaruga has quit [Quit: jaruga]
im314ous has joined #ruby
<matthewd> Oh... okay :/
<cjohnson> :P
<cjohnson> Otherwise yeah I would have already done that
ferr has quit [Quit: WeeChat 1.9]
<cjohnson> Seems pointless to me
<matthewd> Yeah... or at least make the methods on section return a symbol
paranoicsan[Away is now known as paranoicsan
paranoicsan has quit [Quit: Gone]
<matthewd> TBH I'd probably implement it with your previous `x = {}; ..; x` spelling
<matthewd> Or failing that, with a tap around the whole thing
Lyubo1 has quit [Ping timeout: 240 seconds]
<matthewd> Feels odd to me to use each_with_object and then keep working on the object afterwards
canteen4 has joined #ruby
beilabs has quit [Remote host closed the connection]
xuanrui has joined #ruby
xuanrui has quit [Max SendQ exceeded]
cagomez has joined #ruby
aduabu has quit [Ping timeout: 252 seconds]
xuanrui has joined #ruby
funkytwig has joined #ruby
funkytwig has quit [Client Quit]
Lyubo1 has joined #ruby
xuanrui has quit [Client Quit]
ForeignBiscuit has joined #ruby
xuanrui has joined #ruby
xuanrui has quit [Max SendQ exceeded]
xuanrui has joined #ruby
xuanrui has quit [Max SendQ exceeded]
xuanrui has joined #ruby
ResidentBiscuit has quit [Ping timeout: 255 seconds]
xuanrui has quit [Max SendQ exceeded]
chouhoul_ has joined #ruby
xuanrui has joined #ruby
xuanrui has quit [Max SendQ exceeded]
chouhou__ has joined #ruby
xuanrui has joined #ruby
[Butch] has joined #ruby
xuanrui has quit [Max SendQ exceeded]
mark_66 has quit [Remote host closed the connection]
chouhoulis has quit [Ping timeout: 240 seconds]
bronson has joined #ruby
f48ds2 has quit [Ping timeout: 248 seconds]
tomphp has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
chouhoul_ has quit [Ping timeout: 248 seconds]
tomphp has joined #ruby
tomphp has quit [Client Quit]
aduabu has joined #ruby
chouhou__ has quit [Remote host closed the connection]
alfiemax has joined #ruby
chouhoulis has joined #ruby
bronson has quit [Ping timeout: 248 seconds]
alfiemax has quit [Remote host closed the connection]
bruce_lee has joined #ruby
bruce_lee has quit [Changing host]
bruce_lee has joined #ruby
canteen4 has quit [Ping timeout: 252 seconds]
beilabs has joined #ruby
canteen4 has joined #ruby
beilabs has quit [Remote host closed the connection]
Mon_Ouie has quit [Ping timeout: 248 seconds]
aduabu has quit [Ping timeout: 248 seconds]
aduabu has joined #ruby
brent__ has joined #ruby
Mon_Ouie has joined #ruby
canteen4 has quit [Ping timeout: 240 seconds]
njichev has joined #ruby
ziprar has joined #ruby
zipace has quit [Disconnected by services]
canteen4 has joined #ruby
GinoMan has quit [Remote host closed the connection]
GinoMan has joined #ruby
aduabu has quit [Ping timeout: 252 seconds]
nobitanobi has joined #ruby
marxarelli|afk has quit [Quit: Textual IRC Client: www.textualapp.com]
raynold has joined #ruby
marxarelli has joined #ruby
mim1k has quit [Ping timeout: 240 seconds]
mtkd has quit [Ping timeout: 260 seconds]
mtkd has joined #ruby
anisha has quit [Quit: This computer has gone to sleep]
aduabu has joined #ruby
mson has joined #ruby
sysvalve has quit [Quit: Leaving]
Serpent7776 has quit [Quit: Leaving]
<majuk> Does anyone know offhand if system(command) will return the exit status of the command?
canteen4 has quit [Ping timeout: 252 seconds]
<matthewd> majuk: That really sounds easier to check in irb than asking.. but it'll return true or false based on the exit status
<majuk> matthewd: True.
gusrub has joined #ruby
mim1k has joined #ruby
alfiemax has joined #ruby
canteen4 has joined #ruby
beilabs has joined #ruby
Beams has quit [Quit: .]
sentor``` has joined #ruby
zipace has joined #ruby
Beams has joined #ruby
aduabu has quit [Ping timeout: 260 seconds]
tomphp has joined #ruby
SqREL has quit [Remote host closed the connection]
ziprar has quit [Ping timeout: 248 seconds]
sentor`` has quit [Ping timeout: 248 seconds]
Milca has joined #ruby
<Milca> hello
<Milca> world
<Milca> brb
<Milca> exit
Milca has quit [Client Quit]
TinkerTyper has quit [Ping timeout: 240 seconds]
zacts has quit [Ping timeout: 252 seconds]
orbyt_ has joined #ruby
SeepingN has joined #ruby
TinkerTyper has joined #ruby
ltem has joined #ruby
zacts has joined #ruby
mica has joined #ruby
<mica> hello world
<mica> again
swills has quit [Remote host closed the connection]
<mica> I'm a real noob on ruby but I really need a quick help
<mica> (maybe not uqick)
<mica> I mean shouldn't be long
<mica> I probably have messed up somethin
swills has joined #ruby
lxsameer has quit [Ping timeout: 248 seconds]
harai has joined #ruby
aduabu has joined #ruby
<elomatreb> mica: Just state your problem, if someone can help they will
mim1k has quit [Read error: Connection reset by peer]
<mica> so
beilabs has quit [Remote host closed the connection]
canteen4 has quit [Ping timeout: 240 seconds]
<mica> I really try to install riby 2.3.0 or higher and I get issue with libreadline6-dev
canteen4 has joined #ruby
AnotherNick has quit [Ping timeout: 248 seconds]
<mica> libreadline6 (= 6.2+dfsg-0.1) but 6.3-9 should be installed
beilabs has joined #ruby
swills has quit [Remote host closed the connection]
<mica> does that sound familiar to anyone ?
<konsolebox> try a different installer for ruby
<mica> like what konsolebox ?
<mica> like apt ?
<konsolebox> rvm or rbenv
aduabu has quit [Ping timeout: 252 seconds]
TinkerTyper has quit [Ping timeout: 248 seconds]
mim1k has joined #ruby
<mica> ok I tried rvm
<mica> go for rbenv
TinkerTyper has joined #ruby
aduabu has joined #ruby
<baweaver> cjohnson: merge takes a block
danieli has quit [Read error: Connection reset by peer]
mikecmpbll has quit [Quit: inabit. zz.]
<baweaver> >> {a: 1, b: 2}.merge(a: nil) { |k,o,n| n.nil? ? o : n }
<ruby[bot]> baweaver: # => {:a=>1, :b=>2} (https://eval.in/849236)
<baweaver> key, old, new
harai has quit [Ping timeout: 252 seconds]
<epochwolf> baweaver: that is seriously cool, thanks for sharing! :D
Mon_Ouie has quit [Ping timeout: 240 seconds]
canteen4 has quit [Ping timeout: 248 seconds]
anjen has joined #ruby
<mica> konsolebox: got an other issue with rbenv
danieli has joined #ruby
<mica> libreadline6 (= 6.2+dfsg-0.1)
<mica> shit
<mica> not that one
mim1k has quit [Ping timeout: 248 seconds]
beilabs_ has joined #ruby
beilabs has quit [Read error: Connection reset by peer]
<anjen> Hi folks. Not a direct "ruby quesiyton but one that many of you *may be able to ansser. When working witjh am payments page, if a customer mis enterd info , forcing a redirect back to the payment interfact, how much of the input data may I reatin? We have a customer whose compainig becuas the year resets to its default when an error doens't alow the payment to go through and I'm concerned about retaining info (obviosuly, not the
<anjen> cc # or CCV, but other details like exp year, name, etc.)
<anjen> PS> sorry for the length and for my typos.
Mon_Ouie has joined #ruby
f48ds2 has joined #ruby
<epochwolf> anjen: iirc PCI says no CC/CCV2 otherwise doesn't care.
kies has quit [Ping timeout: 240 seconds]
tomphp has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<mica> thanks konsolebox
<anjen> epochwolf: thank you.
<epochwolf> You can send back the last 4 if you have a secure storage mechanism on the server but that requires the highest PCI security.
<mica> I think I'm juste gonna do some vodoo on ruby
<epochwolf> I mean, if you have a token for the CC, you can return the last 4 and reuse the token.
<epochwolf> For example, braintree has a way to retry a transaction using a token.
CrazyEddy has quit [Remote host closed the connection]
Lyubo1 has quit [Ping timeout: 248 seconds]
<anjen> epochwolf: Ah...I';ll have to lok into how our payment interface works re: tokens. thanks again!
<epochwolf> You can't store the CC yourself unless you meet PCI requirements for secure credit card storage.
<epochwolf> Storing last 4 in an encrypted format, that's okay.
<baweaver> anjen: Just use Square or Stripe and save yourself the effort.
<anjen> Lol...we don't *want to store cc info. The only thing we capture is the validation code from authorize dot net.
tomphp has joined #ruby
mim1k has joined #ruby
TinkerTyper has quit [Ping timeout: 248 seconds]
<baweaver> They both have embedded forms for it.
<baweaver> Though I'm biased towards Square for some reason
<anjen> possibly baweaver but not in this iteration. Maybe... when I bring the new version online later this year
<epochwolf> baweaver: note, embedded forms still require PCI compliance. Shit sucks.
yqt has joined #ruby
<baweaver> Oh I know. They take care of that one.
<cjohnson> baweaver: What's the point of that?
<havenwood> And a lot of niceties, like card type or wrong card detection, etc.
* baweaver works at Square now
bruno-_ has joined #ruby
TinkerTyper has joined #ruby
<baweaver> cjohnson conditional merging
<cjohnson> matthewd: The reasoning is that I want the overwrite_parameter stuff to happen and THEN the disclaimer overwrite to happen, so even if the former does some change, the disclaimer will always override that
<baweaver> Skimmed the above content.
<cjohnson> baweaver: Oh I see so instead of returning {} I just conditionally merge
tomphp has quit [Client Quit]
<baweaver> yep. Logic in the block.
gusrub has quit [Remote host closed the connection]
__Yiota has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
gusrub has joined #ruby
bruno- has quit [Ping timeout: 252 seconds]
Lyubo1 has joined #ruby
anjen has quit [Quit: anjen]
mikeric has joined #ruby
canteen4 has joined #ruby
ForeignBiscuit has quit [Ping timeout: 240 seconds]
TinkerTyper has quit [Ping timeout: 248 seconds]
aduabu has quit [Ping timeout: 246 seconds]
TinkerTyper has joined #ruby
GodFather has quit [Ping timeout: 240 seconds]
Beams has quit [Quit: .]
tsia has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
cagomez has quit [Remote host closed the connection]
Lyubo1 has quit [Ping timeout: 260 seconds]
cagomez has joined #ruby
jackjackdripper has joined #ruby
cagomez has quit [Remote host closed the connection]
cagomez has joined #ruby
GodFather has joined #ruby
ForeignBiscuit has joined #ruby
ForeignBiscuit has quit [Max SendQ exceeded]
ForeignBiscuit has joined #ruby
ForeignBiscuit has quit [Max SendQ exceeded]
swills has joined #ruby
swills has joined #ruby
swills has quit [Changing host]
ForeignBiscuit has joined #ruby
ForeignBiscuit has quit [Max SendQ exceeded]
Asher has quit [Quit: Leaving.]
ForeignBiscuit has joined #ruby
ForeignBiscuit has quit [Max SendQ exceeded]
ForeignBiscuit has joined #ruby
ForeignBiscuit has quit [Max SendQ exceeded]
XD_ has quit [Quit: Leaving]
Lyubo1 has joined #ruby
ForeignBiscuit has joined #ruby
__Yiota has joined #ruby
ta_ has joined #ruby
__Yiota has quit [Client Quit]
gbgdev has joined #ruby
TinkerTyper has quit [Ping timeout: 252 seconds]
dionysus69 has joined #ruby
TomyWork has quit [Remote host closed the connection]
TinkerTyper has joined #ruby
aduabu has joined #ruby
AndBobsYourUncle has joined #ruby
zipace has quit [Quit: Leaving]
canteen4 has quit [Ping timeout: 260 seconds]
canteen4 has joined #ruby
jinie has quit [Quit: ZNC 1.6.1 - http://znc.in]
aduabu has quit [Ping timeout: 248 seconds]
runescape07rsps has joined #ruby
aduabu has joined #ruby
AndBobsYourUncle has quit [Ping timeout: 252 seconds]
eckhardt has joined #ruby
canteen4 has quit [Ping timeout: 252 seconds]
uZiel has joined #ruby
TinkerTyper has quit [Ping timeout: 240 seconds]
TinkerTyper has joined #ruby
conta has joined #ruby
GodFather has quit [Ping timeout: 240 seconds]
SqREL has joined #ruby
canteen4 has joined #ruby
mim1k has quit [Disconnected by services]
mim1k_ has joined #ruby
SqREL_ has joined #ruby
aduabu has quit [Ping timeout: 240 seconds]
nobitanobi has quit []
nobitanobi has joined #ruby
SqREL has quit [Ping timeout: 248 seconds]
aduabu has joined #ruby
mim1k_ has quit [Ping timeout: 240 seconds]
Lyubo1 has quit [Ping timeout: 240 seconds]
uZiel has quit [Ping timeout: 268 seconds]
SqREL_ has quit [Remote host closed the connection]
canteen4 has quit [Ping timeout: 276 seconds]
SqREL has joined #ruby
TinkerTyper has quit [Ping timeout: 252 seconds]
TinkerTyper has joined #ruby
conta has quit [Ping timeout: 248 seconds]
aufi has quit [Quit: Leaving]
hahuang65 has joined #ruby
canteen4 has joined #ruby
SqREL has quit [Ping timeout: 248 seconds]
Lavan has quit [Quit: Page closed]
aduabu has quit [Ping timeout: 240 seconds]
chouhoul_ has joined #ruby
aduabu has joined #ruby
Yzguy has joined #ruby
chouhoulis has quit [Ping timeout: 252 seconds]
Asher has joined #ruby
TomyLobo has joined #ruby
TinkerTyper has quit [Ping timeout: 252 seconds]
canteen4 has quit [Ping timeout: 276 seconds]
TinkerTyper has joined #ruby
canteen4 has joined #ruby
graft has joined #ruby
mostlybadfly has quit [Quit: Connection closed for inactivity]
aduabu has quit [Ping timeout: 252 seconds]
<graft> basic rack middleware question - i know how to make a middleware and stick it in my config.ru
<graft> but how do i make a middleware that invokes another middleware? for example, i want to make a Logger middleware which will 'use Rack::CommonLogger, logger'
aduabu has joined #ruby
uZiel has joined #ruby
GodFather has joined #ruby
bronson has joined #ruby
canteen4 has quit [Ping timeout: 252 seconds]
canteen4 has joined #ruby
kies has joined #ruby
aduabu has quit [Ping timeout: 248 seconds]
ldnunes has quit [Ping timeout: 252 seconds]
sdrew has joined #ruby
TinkerTyper has quit [Ping timeout: 260 seconds]
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
TinkerTyper has joined #ruby
bronson has quit [Ping timeout: 240 seconds]
njichev has quit [Ping timeout: 240 seconds]
SqREL has joined #ruby
aduabu has joined #ruby
jinie has joined #ruby
gixxer1k has joined #ruby
canteen4 has quit [Ping timeout: 248 seconds]
canteen4 has joined #ruby
gixxer1k has quit [Remote host closed the connection]
SqREL has quit [Ping timeout: 240 seconds]
gbgdev has quit [Ping timeout: 260 seconds]
orbyt_ has joined #ruby
aduabu has quit [Ping timeout: 240 seconds]
GodFather_ has joined #ruby
GodFather has quit [Remote host closed the connection]
TinkerTyper has quit [Ping timeout: 248 seconds]
ldnunes has joined #ruby
TinkerTyper has joined #ruby
jackjackdripper has quit [Quit: Leaving.]
tacoboy has joined #ruby
tacoboy has quit [Read error: Connection reset by peer]
duckdanger has joined #ruby
duckdanger has quit [Read error: Connection reset by peer]
tacoboy has joined #ruby
drcode has quit [Read error: Connection reset by peer]
ShekharReddy has quit [Quit: Connection closed for inactivity]
aduabu has joined #ruby
ForeignBiscuit is now known as ResidentBiscuit
mahlon has joined #ruby
spheric has quit [Ping timeout: 260 seconds]
mtkd has quit [Ping timeout: 240 seconds]
AndBobsYourUncle has joined #ruby
mtkd has joined #ruby
canteen4 has quit [Ping timeout: 248 seconds]
canteen4 has joined #ruby
TinkerTyper has quit [Ping timeout: 248 seconds]
aduabu has quit [Ping timeout: 240 seconds]
conta3 has joined #ruby
aduabu has joined #ruby
canteen4 has quit [Ping timeout: 248 seconds]
canteen4 has joined #ruby
uZiel has quit [Ping timeout: 268 seconds]
conta3 has quit [Ping timeout: 240 seconds]
aduabu has quit [Ping timeout: 246 seconds]
aduabu has joined #ruby
workmad3 has quit [Ping timeout: 248 seconds]
TinkerTyper has joined #ruby
ramfjord has joined #ruby
mikecmpbll has joined #ruby
canteen4 has quit [Ping timeout: 252 seconds]
kapil___ has quit [Quit: Connection closed for inactivity]
canteen4 has joined #ruby
aduabu has quit [Ping timeout: 240 seconds]
tomphp has joined #ruby
aduabu has joined #ruby
canteen4 has quit [Ping timeout: 276 seconds]
Lyubo1 has joined #ruby
conta3 has joined #ruby
canteen4 has joined #ruby
aduabu has quit [Ping timeout: 276 seconds]
conta3 has quit [Client Quit]
TinkerTyper has quit [Ping timeout: 248 seconds]
Rapture has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
majuk has quit [Remote host closed the connection]
uZiel has joined #ruby
TinkerTyper has joined #ruby
harai has joined #ruby
Bock has quit [Ping timeout: 248 seconds]
aduabu has joined #ruby
cdg has joined #ruby
AnotherNick has joined #ruby
tsglove2 has joined #ruby
lxsameer has joined #ruby
canteen4 has quit [Ping timeout: 248 seconds]
lxsameer is now known as Guest6497
cdg_ has quit [Ping timeout: 252 seconds]
neekoso has joined #ruby
<tsglove2> Hello everyone. Got a n00b question, which although not specific to Ruby, I hope you can send me in the right direction. I am trying to setup Jekyll(rb.com). Which requires "a full Ruby development environment with all headers and RubyGems". I have never used Ruby, or Ruby on Rails. Is this the same thing?
drcode has joined #ruby
cdg has quit [Ping timeout: 252 seconds]
GodFather_ has quit [Ping timeout: 252 seconds]
harai has quit [Ping timeout: 252 seconds]
TinkerTyper has quit [Ping timeout: 252 seconds]
<jrabe> Hi tsglove2, Rails is a web application framework for Ruby. As far as I know Jekyll doesn't have anything to do with Rails. If you have a working Ruby environment and run "gem install bundler jekyll" you should be good to go.
mikeric has quit []
TinkerTyper has joined #ruby
<tsglove2> jrabe, thanks for the reply! That explains various questions I had.
Dimik has joined #ruby
<tsglove2> I still don't have a working Ruby environment, so I can't get to the "gem ...." I have this link open: https://github.com/rbenv/rbenv
<elomatreb> Ruby is the language, Rails, Jekyll, etc are apps that are written in Ruby
<matthewd> tsglove2: If you happen to have found a "how to install Ruby on Rails" tutorial, then you can probably follow that and just stop when it tells you to `gem install rails`
<tsglove2> Would that be the way to go forward with installing the Ruby environment?
<jrabe> Are you on Windows?
<elomatreb> Depending on your OS you may be able to get a decent version of Ruby just from your package manager
<tsglove2> elomatreb, ahhh ok
<tsglove2> jrabe, linux
<jrabe> Thank goodness :)
<tsglove2> haha yes...
<elomatreb> Arch usually has recent versions of Ruby in the repos, no need for rvm/rbenv/etc
<elomatreb> Debian tends to have crusty stuff but you can add a PPA to get recent versions
chouhoulis has joined #ruby
<tsglove2> Now I understand a little bit more. So "Ruby" is a language... and all the others ("Ruby on Rails", and "Jekyll") are programs written using the *Ruby* language itself?
SteenJobs has joined #ruby
<jrabe> Correct
<jrabe> And if you ever get a chance to, you should absolutely learn Ruby. It's amazing. :-)
maryo has joined #ruby
<tsglove2> ok super. I'm running a plain-vanilla Ubuntu 16.04, so I could do apt install ruby
<tsglove2> jrabe, yes! I am a relative beginner in programming... so I look forward to learning Ruby.
<elomatreb> Then you will get a fairly old version of Ruby (2.2 I think)
<tsglove2> These past months have been awesome with javascript (given its simplicity), and learning all about post/get, the xmlhttprequest object, etc etc
<jrabe> Yes, that should work. Depending on Jekyll's dependencies you might have to install ruby-dev as well, but try it without first.
<jrabe> If you like JavaScript you'll *love* Ruby.
Rapture has joined #ruby
AndBobsYourUncle has quit [Ping timeout: 246 seconds]
<tsglove2> Really? Super! I was playing around with php... and the "sessions" was like a "Wowza" moment. So, although a geek, all this is new and awesomely interesting.
__Yiota has joined #ruby
<tsglove2> Yet trying to build stuff (simple and probably crappy)... that way it actually "enters" my brain.
chouhoul_ has quit [Ping timeout: 248 seconds]
canteen4 has joined #ruby
<jrabe> Not a huge PHP fan here, learned Rails a while ago and never looked back. As you can tell I'm a huge fan of the whole Ruby ecosystem :)
chouhoulis has quit [Remote host closed the connection]
<tsglove2> jrabe, I think you'll be seeing me more often in this # then! =)
<jrabe> Yup, write as much code as you can when learning a new language. That's what I do too. No harm if the code isn't great, you can always rewrite it once you're more experienced.
AndBobsYourUncle has joined #ruby
<jrabe> Sounds great hahah :)
chouhoulis has joined #ruby
SqREL has joined #ruby
SqREL has quit [Remote host closed the connection]
mikeric has joined #ruby
SqREL has joined #ruby
<orbyt_> I've got this .erb layout and am trying to figure out a complex render..I've got a loop iterating over 8 items. For the first and last items, it should render it's own Bootstrap ".row". Then, every pair of items between items 2-7 should have 2 per ".row". How can I accomplish this?
TinkerTyper has quit [Ping timeout: 248 seconds]
aduabu has quit [Ping timeout: 248 seconds]
<jrabe> orbyt_, you could do something like "first, *middle, last = array" if your items are in an array.
<orbyt_> what?
hanmac has quit [Ping timeout: 276 seconds]
<orbyt_> I'm not sure what you're suggesting
TinkerTyper has joined #ruby
<orbyt_> I can handle the first and last item cases fairly trivially...the hard part is on the iterations between items 2-7
phinxy has joined #ruby
<elomatreb> Take a look at Enumerable#each_slice
adlerdias has left #ruby [#ruby]
<jrabe> ^ each_slice(2) will give you groups of 2 items
uZiel has quit [Remote host closed the connection]
dionysus69 has quit [Ping timeout: 240 seconds]
<orbyt_> That would give me items [1,2][3,4][5,6][7,8]
<orbyt_> I need [1][2,3][4,5][6,7][8]
<matthewd> orbyt_: That's why you trivially handle the first and last first
<elomatreb> If you combine that with the thing jrabe suggested you can make each_slice only operate on the "middle" part
mikeric has quit [Ping timeout: 240 seconds]
kapil___ has joined #ruby
<orbyt_> Hmm..ok I think I see where this is going
<orbyt_> thanks all
cagomez has quit [Remote host closed the connection]
cagomez has joined #ruby
aduabu has joined #ruby
SqREL_ has joined #ruby
TinkerTyper has quit [Ping timeout: 248 seconds]
TinkerTyper has joined #ruby
Yzguy has quit [Quit: Zzz...]
cagomez has quit [Ping timeout: 252 seconds]
canteen4 has quit [Ping timeout: 248 seconds]
InfinityFye has quit [Quit: Leaving]
SqREL has quit [Ping timeout: 240 seconds]
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
hanmac has joined #ruby
eckhardt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
charliesome has joined #ruby
canteen4 has joined #ruby
aduabu has quit [Ping timeout: 240 seconds]
paranoicsan has joined #ruby
aduabu has joined #ruby
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
canteen4 has quit [Ping timeout: 252 seconds]
oaao has joined #ruby
TinkerTyper has quit [Ping timeout: 252 seconds]
robouk has quit [Quit: Konversation terminated!]
drcode has quit [Read error: Connection reset by peer]
neekoso has quit [Ping timeout: 248 seconds]
canteen4 has joined #ruby
PaulCape_ has quit [Quit: .]
PaulCapestany has joined #ruby
spheric has joined #ruby
drcode has joined #ruby
aduabu has quit [Ping timeout: 248 seconds]
uZiel has joined #ruby
aduabu has joined #ruby
TinkerTyper has joined #ruby
drcode has quit [Excess Flood]
canteen4 has quit [Ping timeout: 252 seconds]
PaulCapestany has quit [Client Quit]
sepp2k has quit [Quit: Leaving.]
canteen4 has joined #ruby
PaulCapestany has joined #ruby
aduabu has quit [Ping timeout: 252 seconds]
aduabu has joined #ruby
canteen4 has quit [Ping timeout: 240 seconds]
milardovich has quit [Read error: Connection reset by peer]
canteen4 has joined #ruby
milardov_ has joined #ruby
nobitanobi has quit [Remote host closed the connection]
drcode has joined #ruby
nobitanobi has joined #ruby
jamesaxl has quit [Quit: WeeChat 1.8]
sleepee has quit [Ping timeout: 240 seconds]
aduabu has quit [Ping timeout: 276 seconds]
njichev has joined #ruby
TinkerTyper has quit [Ping timeout: 248 seconds]
neekoso has joined #ruby
nobitanobi has quit [Ping timeout: 252 seconds]
TinkerTyper has joined #ruby
kies has quit [Ping timeout: 260 seconds]
ramfjord has quit [Ping timeout: 276 seconds]
aduabu has joined #ruby
drcode has quit [Read error: Connection reset by peer]
cadillac_ has quit [Quit: I quit]
cdg has joined #ruby
eckhardt has joined #ruby
cadillac_ has joined #ruby
logicscience has joined #ruby
canteen4 has quit [Ping timeout: 276 seconds]
PaulCapestany has quit [Quit: .]
drcode has joined #ruby
cdg has quit [Ping timeout: 252 seconds]
bronson has joined #ruby
workmad3 has joined #ruby
canteen4 has joined #ruby
jackjackdripper has joined #ruby
PaulCapestany has joined #ruby
TinkerTyper has quit [Ping timeout: 240 seconds]
yqt has quit [Quit: KVIrc 4.0.4 Insomnia http://www.kvirc.net/]
TinkerTyper has joined #ruby
cdg has joined #ruby
aduabu has quit [Ping timeout: 248 seconds]
BSaboia has joined #ruby
bronson has quit [Ping timeout: 240 seconds]
aduabu has joined #ruby
bvcosta has joined #ruby
drcode has quit [Read error: Connection reset by peer]
canteen4 has quit [Ping timeout: 248 seconds]
eckhardt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
eldebrim2 has quit [Quit: WeeChat 1.5]
eckhardt has joined #ruby
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
goyox86_ has joined #ruby
goyox86_ has quit [Client Quit]
goyox86_ has joined #ruby
jinie has quit [Quit: ZNC 1.6.1 - http://znc.in]
TinkerTyper has quit [Ping timeout: 248 seconds]
SqREL_ has quit [Remote host closed the connection]
TinkerTyper has joined #ruby
bkxd has joined #ruby
cagomez has joined #ruby
SqREL has joined #ruby
SqREL has quit [Remote host closed the connection]
ams__ has quit [Quit: Connection closed for inactivity]
canteen4 has joined #ruby
phinxy has quit [Read error: Connection reset by peer]
bkxd has quit [Ping timeout: 240 seconds]
smithascari has quit [Quit: byee o/]
cagomez has quit [Ping timeout: 240 seconds]
aduabu has quit [Ping timeout: 260 seconds]
ryandv has joined #ruby
<ryandv> Is it possible to print out the lookup chain given a ruby Method?
TinkerTyper has quit [Ping timeout: 260 seconds]
<pinksandles> method(:foo).owner.ancestors ?
alfiemax has quit [Remote host closed the connection]
TinkerTyper has joined #ruby
AnotherNick has quit [Ping timeout: 240 seconds]
aduabu has joined #ruby
Yzguy has joined #ruby
uZiel has quit [Ping timeout: 268 seconds]
canteen4 has quit [Ping timeout: 240 seconds]
xaxisx has joined #ruby
<ryandv> pinksandles: that works beautifully, thanks
goyox86_ has quit [Ping timeout: 260 seconds]
<pinksandles> welcome
eckhardt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
xaxisx_ has quit [Ping timeout: 252 seconds]
canteen4 has joined #ruby
eckhardt has joined #ruby
nobitanobi has joined #ruby
aduabu has quit [Ping timeout: 248 seconds]
TinkerTyper has quit [Ping timeout: 240 seconds]
cagomez has joined #ruby
aduabu has joined #ruby
TinkerTyper has joined #ruby
tacoboy has quit [Remote host closed the connection]
canteen4 has quit [Ping timeout: 240 seconds]
canteen4 has joined #ruby
aduabu has quit [Ping timeout: 248 seconds]
aduabu has joined #ruby
__Yiota has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
canteen4 has quit [Ping timeout: 252 seconds]
canteen4 has joined #ruby
f48ds2 has quit [Ping timeout: 240 seconds]
mahlon has quit [Quit: WeeChat 1.9]
aduabu has quit [Ping timeout: 248 seconds]
Dimik has quit [Ping timeout: 248 seconds]
aubyoub__ has joined #ruby
TinkerTyper has quit [Ping timeout: 248 seconds]
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
TinkerTyper has joined #ruby
rwb has quit [Ping timeout: 252 seconds]
kies has joined #ruby
aubyoub_ has quit [Ping timeout: 246 seconds]
amclain has joined #ruby
amclain has quit [Client Quit]
<ShalokShalom> hi there
cdg has quit [Remote host closed the connection]
biberu has quit []
<ShalokShalom> is Ruby message oriented like Smalltalk?
<ShalokShalom> all about messages?
sdrew has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
sdrew has joined #ruby
mikeric has joined #ruby
sdrew has quit [Client Quit]
kies has quit [Ping timeout: 240 seconds]
sdrew has joined #ruby
ResidentBiscuit has quit [Ping timeout: 240 seconds]
sdrew has quit [Client Quit]
harai has joined #ruby
aduabu has joined #ruby
cdg has joined #ruby
roshanavand has quit [Ping timeout: 240 seconds]
teh0xqb has joined #ruby
TinkerTyper has quit [Ping timeout: 240 seconds]
Tharbakim has quit [Read error: Connection reset by peer]
__Yiota has joined #ruby
Tharbakim has joined #ruby
Tharbakim has quit [Changing host]
Tharbakim has joined #ruby
canteen4 has quit [Ping timeout: 248 seconds]
TinkerTyper has joined #ruby
workmad3 has quit [Ping timeout: 248 seconds]
<konsolebox> Ruby does have that concept, but I never saw as an "all-about-messages" language.
ramfjord has joined #ruby
<bvcosta> as concept, you mean, you can code it?
canteen4 has joined #ruby
harai has quit [Ping timeout: 255 seconds]
brent__ has quit [Remote host closed the connection]
jackjackdripper has quit [Quit: Leaving.]
jackjackdripper has joined #ruby
orbyt_ has joined #ruby
aduabu has quit [Ping timeout: 240 seconds]
aduabu has joined #ruby
skweek has quit [Ping timeout: 240 seconds]
TinkerTyper has quit [Ping timeout: 252 seconds]
SqREL has joined #ruby
mjolnird has quit [Quit: Leaving]
canteen4 has quit [Ping timeout: 240 seconds]
TinkerTyper has joined #ruby
canteen4 has joined #ruby
SqREL has quit [Ping timeout: 248 seconds]
<konsolebox> bvcosta: see the send and respond_to? methods. https://ruby-doc.org/core-2.4.1/Object.html
Al_ has joined #ruby
aduabu has quit [Ping timeout: 240 seconds]
aduabu has joined #ruby
Al_ is now known as Guest67636
canteen4 has quit [Ping timeout: 248 seconds]
teh0xqb has quit [Quit: (repeat "zzZ")]
mjolnird has joined #ruby
brent__ has joined #ruby
enterprisey has joined #ruby
Puffball has quit [Remote host closed the connection]
cagomez has quit [Remote host closed the connection]
TinkerTyper has quit [Ping timeout: 240 seconds]
TinkerTyper has joined #ruby
cagomez has joined #ruby
Silthias1 has quit [Read error: Connection reset by peer]
ur5us has joined #ruby
GinoMan2440 has joined #ruby
<Guest67636> Wow so many people here. Hi :) I'm a new to Ruby but learning it every day. Today, I wanted to create a very simple validation for a small part of my code.
<Guest67636> https://gist.github.com/albertpalka/6db6a14df84f9f35e926d95e1be374e8 - the current if statement takes only 'y' into consideration as the answer for gets.chomp. How can I make it accept 'Y' as a correct for of response as well?
<Guest67636> correct answer*
marxarelli is now known as marxarelli|afk
<bvcosta> konsolebox: make sense
<apeiros> Guest67636: downcase
<apeiros> &ri abbrev
cagomez has quit [Ping timeout: 248 seconds]
<apeiros> Guest67636: ^ also consider the above if you want to accept anything from y, ye to a full yes
<gr33n7007h> Guest67636: use could also use a regex. `if answer[/y|Y/] ...`
GinoMan has quit [Ping timeout: 240 seconds]
<apeiros> that regex will also accept "nay!"
GinoMan2440 has quit [Ping timeout: 248 seconds]
<konsolebox> if answer =~ /^[yY]([eE][sS])?$/
govg has quit [Quit: leaving]
jinie has joined #ruby
Ishido has quit [Ping timeout: 260 seconds]
<gr33n7007h> answer[/^[y|Y]/]
alfiemax has joined #ruby
<apeiros> you want /^[yY]/ ;-)
<apeiros> or /^y/i
<Guest67636> Hmm I am interested in 'y' / 'Y' only, so I guess using .downcase would work? (not sure where to put it though) but regex makes sense and I guess it's easy to implement.
<konsolebox> answer = 'yeahno'
<apeiros> also it's a good idea to get yourself used to \A instead of ^
<gr33n7007h> apeiros: ah, yep, my regex sucks :P
<ShalokShalom> konsolebox: Smalltalk?
<apeiros> since almost always you want that
<Guest67636> I tried using || but I failed misserably ;d
<ShalokShalom> When an object of class A sends a message to an object of class B because A wants B to do something specific, that isn't OO (according to Kay's vision.) If A is sending the message to inform B that something has happened (rather than telling it to do something,) that is OO.
<apeiros> Guest67636: downcase would be appended to the chomp
<ShalokShalom> Is Ruby OO in that way?
TinkerTyper has quit [Ping timeout: 248 seconds]
<Guest67636> ohh now it makes sense... Will test both regex and .downcase. Thank you guys!
<apeiros> ShalokShalom: so all observer pattern?
<apeiros> and no, ruby isn't that way. you can write code that way in ruby, but it's not prescribed, not even common I think
<apeiros> I mean, yes, observer/event/pubsub patterns exist and are used, but it's not the default MO
<ShalokShalom> thanks a lot
ldnunes has quit [Quit: Leaving]
TinkerTyper has joined #ruby
<ShalokShalom> so, Rubys definition of what is OO goes away from that original context
<ShalokShalom> Pythons too, i guess
<apeiros> no, it goes away from your description of it
alfiemax has quit [Ping timeout: 260 seconds]
<apeiros> do you have a source of alan kay phrasing OO like that?
paranoicsan has quit [Quit: Gone]
jamiejackson has joined #ruby
<apeiros> haven't read it in a while, but points 1-6 sound reminiscent of what I heard: http://wiki.c2.com/?AlanKaysDefinitionOfObjectOriented
<jamiejackson> hi folks, is there a way to use the docstring format of quoting a string that doesn't interpret the backslash?
<apeiros> and ruby matches that description quite well
<apeiros> ShalokShalom: thanks, will read
<ShalokShalom> sure sure
Guest67636 has quit [Quit: Page closed]
<konsolebox> jamiejackson: <<'EOF'
<ShalokShalom> Can you say anything about the difference between Python and Ruby in that regards?
<apeiros> little. my knowledge of python is limited.
<ShalokShalom> Rubys inventor created it because Python was not OO enough for him
<jamiejackson> yay, thx, konsolebox,
<ShalokShalom> Rubys control structure is also OO?
<apeiros> in ruby, everything you can invoke a method on is an object, that includes classes and modules.
<ShalokShalom> and methods are OO?
jackjackdripper has quit [Quit: Leaving.]
<konsolebox> jamiejackson: it doesn't interpret backslash, but it also doesn't expand #{xyz}'s
<konsolebox> just take note
<apeiros> rubys methods are indeed messages. even though that distinction is IMO academic.
<jamiejackson> i need super literal, so it's perfect, but thx
<apeiros> or can be reduced to an implementation detail.
<ShalokShalom> fine
<ShalokShalom> thanks a lot
<apeiros> optimizing runtimes will remove the messaging anyway and be closer to what C does with function calls.
mahlon has joined #ruby
<ShalokShalom> i see
Yzguy has quit [Quit: Bye]
TinkerTyper has quit [Ping timeout: 248 seconds]
chouhoul_ has joined #ruby
TinkerTyper has joined #ruby
chouhoul_ has quit [Remote host closed the connection]
chouhoul_ has joined #ruby
njichev has quit [Ping timeout: 248 seconds]
chouhoulis has quit [Ping timeout: 248 seconds]
SteenJobs has quit [Quit: SteenJobs]
canteen4 has joined #ruby
lexruee has quit [Remote host closed the connection]
xco has joined #ruby
lexruee has joined #ruby
polishdub has quit [Quit: leaving]
mson has quit [Quit: Connection closed for inactivity]
<xco> is there a short way i can make ["hello", "my"] become “hello”, “my”?
aduabu has quit [Ping timeout: 248 seconds]
<apeiros> xco: in which context? like in foo("hello", "my")?
<apeiros> if so, then: foo(*["hello", "my"])
<xco> nope
<xco> i have
<xco> def books(*list)
<xco> p list
<xco> end
<xco> so if i do books('hello', 'my')
<xco> i want “hello”, “my”
SteenJobs has joined #ruby
<apeiros> don't use p
<xco> strings separated by comments
SqREL has joined #ruby
t-recx has quit [Quit: t-recx]
<xco> what do i use then?
<apeiros> puts list.map(&:inspect).join(", ")
<apeiros> that's probably the shortest somewhat generic way
<apeiros> also for future reference, that's ["hello", "my"] becoming "\"hello\", \"my\"" ;-)
tacoboy has joined #ruby
TinkerTyper has quit [Ping timeout: 240 seconds]
<xco> thanks :)
<apeiros> yw
TinkerTyper has joined #ruby
jinie has quit [Quit: ZNC 1.6.1 - http://znc.in]
jinie has joined #ruby
mostlybadfly has joined #ruby
_sfiguser has joined #ruby
beilabs_ has quit [Remote host closed the connection]
SqREL has quit [Ping timeout: 248 seconds]
ryandv has quit [Ping timeout: 248 seconds]
AndBobsYourUncle has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ltem has quit [Quit: Leaving]
cagomez has joined #ruby
<graft> hmm, constants aren't inherited by subclasses?
<apeiros> >> class A; X = 1; end; class B < A; end; B::X
<ruby[bot]> apeiros: # => 1 (https://eval.in/849317)
<apeiros> it's not really inheritance, though.
<graft> you can't refer to it with self.class.X
<apeiros> because . is for methods
TomyLobo has quit [Ping timeout: 255 seconds]
<apeiros> :: is for namespaces/constants
<graft> oich
aduabu has joined #ruby
bronson has joined #ruby
mikeric has quit [Ping timeout: 252 seconds]
TinkerTyper has quit [Ping timeout: 240 seconds]
canteen4 has quit [Ping timeout: 252 seconds]
TinkerTyper has joined #ruby
mim1k has joined #ruby
bkxd has joined #ruby
boombox_ has joined #ruby
bronson has quit [Ping timeout: 240 seconds]
canteen4 has joined #ruby
SqREL has joined #ruby
bkxd has quit [Ping timeout: 240 seconds]
aduabu has quit [Ping timeout: 248 seconds]
Yzguy has joined #ruby
mim1k has quit [Ping timeout: 240 seconds]
aduabu has joined #ruby
jamiejackson has quit [Ping timeout: 252 seconds]
TinkerTyper has quit [Ping timeout: 248 seconds]
cagomez has quit [Remote host closed the connection]
TinkerTyper has joined #ruby
canteen4 has quit [Ping timeout: 248 seconds]
boombox_ has quit [Remote host closed the connection]
jackjackdripper has joined #ruby
canteen4 has joined #ruby
cagomez has joined #ruby
cagomez has quit [Remote host closed the connection]
jackjackdripper has quit [Client Quit]
cagomez_ has joined #ruby
enterprisey has quit [Remote host closed the connection]
jordanm has quit [Remote host closed the connection]
runescape07rsps has quit [Quit: Leaving]
jackjackdripper has joined #ruby
aduabu has quit [Ping timeout: 240 seconds]
gnufied has quit [Ping timeout: 255 seconds]
aduabu has joined #ruby
TinkerTyper has quit [Ping timeout: 240 seconds]
TinkerTyper has joined #ruby
AndBobsYourUncle has joined #ruby
Dimik has joined #ruby
canteen4 has quit [Ping timeout: 252 seconds]
DTZUZO has quit [Ping timeout: 252 seconds]
mikeric has joined #ruby
runescape07rsps has joined #ruby
charliesome has joined #ruby
canteen4 has joined #ruby
kies has joined #ruby
aduabu has quit [Ping timeout: 248 seconds]
Rapture has quit [Quit: Textual IRC Client: www.textualapp.com]
vondruch has quit [Quit: vondruch]
vondruch has joined #ruby
xco has quit [Quit: xco]
TinkerTyper has quit [Ping timeout: 240 seconds]
TinkerTyper has joined #ruby
cadillac_ has quit [Read error: Connection reset by peer]
vondruch has quit [Quit: vondruch]
aduabu has joined #ruby
vondruch has joined #ruby
cadillac_ has joined #ruby
sdrew has joined #ruby
canteen4 has quit [Ping timeout: 252 seconds]
chouhoul_ has quit [Ping timeout: 252 seconds]
davic has quit [Quit: Connection closed for inactivity]
mson has joined #ruby
sleepee has joined #ruby
__Yiota has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
canteen4 has joined #ruby
TinkerTyper has quit [Ping timeout: 248 seconds]
bane_ has joined #ruby
bane_ has quit [Client Quit]
TinkerTyper has joined #ruby
aduabu has quit [Ping timeout: 252 seconds]
Yzguy has quit [Read error: Connection reset by peer]
minimalism has joined #ruby
rwb has joined #ruby
GodFather_ has joined #ruby
aduabu has joined #ruby
neekoso has quit [Quit: leaving]
SqREL has quit [Remote host closed the connection]
canteen4 has quit [Ping timeout: 248 seconds]
canteen4 has joined #ruby
aduabu has quit [Ping timeout: 248 seconds]
t-recx has joined #ruby
aduabu has joined #ruby
TinkerTyper has quit [Ping timeout: 252 seconds]
SeepingN has quit [Quit: The system is going down for reboot NOW!]
TinkerTyper has joined #ruby
canteen4 has quit [Ping timeout: 248 seconds]
skweek has joined #ruby
canteen4 has joined #ruby
harai has joined #ruby
aduabu has quit [Ping timeout: 248 seconds]
aduabu has joined #ruby
SteenJobs has quit [Quit: SteenJobs]
canteen4 has quit [Ping timeout: 252 seconds]
harai has quit [Ping timeout: 252 seconds]
xco has joined #ruby
canteen4 has joined #ruby
guacamole has joined #ruby
aduabu has quit [Ping timeout: 248 seconds]
TinkerTyper has quit [Ping timeout: 240 seconds]
aduabu has joined #ruby
TinkerTyper has joined #ruby
canteen4 has quit [Ping timeout: 252 seconds]
canteen4 has joined #ruby
aduabu has quit [Ping timeout: 248 seconds]
aduabu has joined #ruby
SqREL has joined #ruby
canteen4 has quit [Ping timeout: 252 seconds]
cdg has quit [Remote host closed the connection]
canteen4 has joined #ruby
SqREL has quit [Ping timeout: 240 seconds]
TinkerTyper has quit [Ping timeout: 248 seconds]
laphoraig92 has quit [Ping timeout: 240 seconds]
TinkerTyper has joined #ruby
aduabu has quit [Ping timeout: 240 seconds]
slima_ has joined #ruby
slima_ has joined #ruby
slima_ has quit [Changing host]
mikecmpbll has quit [Quit: inabit. zz.]
Guest6497 has quit [Ping timeout: 240 seconds]
weemsledeux has joined #ruby
slima has quit [Read error: Connection reset by peer]
unsymbol has quit [Ping timeout: 264 seconds]
unsymbol has joined #ruby
aduabu has joined #ruby
ramfjord has quit [Ping timeout: 252 seconds]
harai has joined #ruby
conta1 has joined #ruby
PaulCapestany has quit [Quit: .]
canteen4 has quit [Ping timeout: 248 seconds]
alfiemax has joined #ruby
TinkerTyper has quit [Ping timeout: 252 seconds]
sylario has quit [Quit: Connection closed for inactivity]
PaulCapestany has joined #ruby
TinkerTyper has joined #ruby
conta1 has quit [Ping timeout: 248 seconds]
canteen4 has joined #ruby
cdg has joined #ruby
alfiemax has quit [Ping timeout: 240 seconds]
bvcosta has quit []
aduabu has quit [Ping timeout: 240 seconds]
ramfjord has joined #ruby
aduabu has joined #ruby
cdg has quit [Ping timeout: 252 seconds]
sleepee has quit [Ping timeout: 248 seconds]
canteen4 has quit [Ping timeout: 248 seconds]
canteen4 has joined #ruby
beilabs has joined #ruby
jordanm has joined #ruby
PaulCapestany has quit [Quit: .]
TinkerTyper has quit [Ping timeout: 240 seconds]
aduabu has quit [Ping timeout: 248 seconds]
aduabu has joined #ruby
PaulCapestany has joined #ruby
beilabs has quit [Ping timeout: 240 seconds]
mtkd has quit [Ping timeout: 240 seconds]
canteen4 has quit [Ping timeout: 240 seconds]
canteen4 has joined #ruby
mtkd has joined #ruby
PaulCapestany has quit [Client Quit]
aduabu has quit [Ping timeout: 240 seconds]
sys_hj5p9k85 has joined #ruby
TinkerTyper has joined #ruby
sleepee has joined #ruby
sys_hj5p9k85 has quit [Quit: Leaving]
PaulCapestany has joined #ruby
aduabu has joined #ruby
SqREL has joined #ruby
canteen4 has quit [Ping timeout: 248 seconds]
_sfiguser has quit [Ping timeout: 240 seconds]
canteen4 has joined #ruby
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
nofxxxx has quit [Remote host closed the connection]
SqREL has quit [Ping timeout: 240 seconds]
aduabu has quit [Ping timeout: 248 seconds]
TinkerTyper has quit [Ping timeout: 240 seconds]
tomphp has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
bronson has joined #ruby
TinkerTyper has joined #ruby
aduabu has joined #ruby
bronson has quit [Ping timeout: 248 seconds]
orbyt_ has joined #ruby
dviola has joined #ruby
canteen4 has quit [Ping timeout: 248 seconds]
canteen4 has joined #ruby
_sfiguser has joined #ruby
jackjackdripper1 has joined #ruby
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
aduabu has quit [Ping timeout: 248 seconds]
jackjackdripper has quit [Ping timeout: 240 seconds]
TinkerTyper has quit [Ping timeout: 248 seconds]
knight33 has joined #ruby
TinkerTyper has joined #ruby
nofxx has joined #ruby
nofxx has quit [Remote host closed the connection]