apeiros changed the topic of #ruby-lang to: Nick registration required to talk || Ruby 2.0.0-p195: http://ruby-lang.org (Ruby 1.9.3-p429) || Paste >3 lines of text on http://gist.github.com
<darix> postmodern: maybe that will help me with my gpg problem too
<darix> but something for after sleeping
guns has quit [Remote host closed the connection]
GarethAdams has quit [Quit: Leaving...]
workmad3 has quit [Ping timeout: 264 seconds]
stamina has quit [Ping timeout: 260 seconds]
mrsolo has quit [Quit: Leaving]
MartynKeigher has quit [Read error: Operation timed out]
Bosox20051 has quit [Remote host closed the connection]
__butch__ has quit [Quit: Leaving.]
teleological has joined #ruby-lang
teleological has quit [Remote host closed the connection]
MartynKeigher has joined #ruby-lang
gregmoreno has joined #ruby-lang
gregmoreno has quit [Ping timeout: 248 seconds]
diegoviola has joined #ruby-lang
tylersmith has joined #ruby-lang
_jpb_ has quit [Ping timeout: 248 seconds]
_jpb_ has joined #ruby-lang
tylersmith has quit [Ping timeout: 256 seconds]
tkuchiki has joined #ruby-lang
marr has quit [Ping timeout: 260 seconds]
duph has joined #ruby-lang
lcdhoffman has joined #ruby-lang
lcdhoffman has quit [Client Quit]
cofin has joined #ruby-lang
Mawk has quit [Quit: Mawk]
jds__ has quit [Read error: Connection reset by peer]
jds_ has joined #ruby-lang
nathanstitt has joined #ruby-lang
mootpointer has joined #ruby-lang
brianpWins has quit [Quit: brianpWins]
synthetix has quit [Ping timeout: 260 seconds]
runeb has quit [Remote host closed the connection]
jonahR has quit [Quit: jonahR]
diegoviola has quit [Ping timeout: 256 seconds]
tylersmith has joined #ruby-lang
runeb has joined #ruby-lang
runeb has quit [Remote host closed the connection]
arubin has joined #ruby-lang
dhruvasagar has joined #ruby-lang
GeissT has joined #ruby-lang
diegoviola has joined #ruby-lang
gja has quit [Quit: This computer has gone to sleep]
benten has joined #ruby-lang
Sambalero has quit [Remote host closed the connection]
benten has left #ruby-lang [#ruby-lang]
nathanstitt has quit [Quit: I growing sleepy]
_jpb_ has quit [Ping timeout: 264 seconds]
_jpb_ has joined #ruby-lang
duph has quit [Quit: Leaving.]
Sambaler_ has joined #ruby-lang
fosky has joined #ruby-lang
Sambaler_ has quit [Remote host closed the connection]
publicvoid_ has quit [Ping timeout: 248 seconds]
enebo has joined #ruby-lang
nathanstitt has joined #ruby-lang
enebo has quit [Client Quit]
SilverKey has joined #ruby-lang
pbjorklund has joined #ruby-lang
SilverKey has quit [Client Quit]
brianpWins has joined #ruby-lang
duph has joined #ruby-lang
lsegal has joined #ruby-lang
tylersmith has quit [Remote host closed the connection]
x0f_ has quit [Ping timeout: 240 seconds]
x0f has joined #ruby-lang
pbjorklund has quit [Ping timeout: 264 seconds]
x0f has quit [Ping timeout: 256 seconds]
x0f has joined #ruby-lang
pbjorklund has joined #ruby-lang
duph has quit [Quit: Leaving.]
jxpx777 has quit [Quit: Leaving...]
jxpx777 has joined #ruby-lang
_jpb_ has quit [Ping timeout: 252 seconds]
_jpb_ has joined #ruby-lang
hogeo has joined #ruby-lang
hogeo has quit [Remote host closed the connection]
cored has quit [Ping timeout: 264 seconds]
cofin has quit [Remote host closed the connection]
Sambalero has joined #ruby-lang
fenicks has quit [Read error: Connection reset by peer]
Sambalero has quit [Remote host closed the connection]
woollyams has joined #ruby-lang
jonahR has joined #ruby-lang
machuga|away is now known as machuga
roadt has joined #ruby-lang
pbjorklund has quit [Ping timeout: 264 seconds]
fridim_ has quit [Ping timeout: 252 seconds]
_jpb_ has quit [Ping timeout: 248 seconds]
_jpb_ has joined #ruby-lang
hogeo has joined #ruby-lang
vlad_starkov has joined #ruby-lang
runeb has joined #ruby-lang
pbjorklund has joined #ruby-lang
hogeo has quit [Remote host closed the connection]
jxpx777 has quit [Quit: Linkinus - http://linkinus.com]
runeb has quit [Ping timeout: 260 seconds]
vlad_starkov has quit [Ping timeout: 248 seconds]
joshuawscott has joined #ruby-lang
jstorimer has joined #ruby-lang
kgrz has joined #ruby-lang
joshuawscott has quit [Quit: Leaving.]
benxao has quit [Remote host closed the connection]
stbaby_ has joined #ruby-lang
ia___ has quit [Quit: ia___]
pbjorklund has quit [Ping timeout: 264 seconds]
machuga is now known as machuga|away
mdedetrich has quit [Quit: Computer has gone to sleep.]
stbaby_ has left #ruby-lang [#ruby-lang]
priodev has joined #ruby-lang
scottschecter has quit [Quit: WeeChat 0.4.0]
tylersmith has joined #ruby-lang
Sambalero has joined #ruby-lang
tylersmith has quit [Ping timeout: 256 seconds]
scottschecter has joined #ruby-lang
_jpb_ has quit [Ping timeout: 248 seconds]
_jpb_ has joined #ruby-lang
bzalasky has joined #ruby-lang
hashkey has quit [Ping timeout: 240 seconds]
pheen has joined #ruby-lang
kgrz_ has joined #ruby-lang
kgrz has quit [Ping timeout: 246 seconds]
Voker57 has quit []
vlad_starkov has joined #ruby-lang
vlad_starkov has quit [Ping timeout: 240 seconds]
cirwin has joined #ruby-lang
cofin has joined #ruby-lang
Sambalero has quit [Remote host closed the connection]
brianpWins has quit [Quit: brianpWins]
rippa has joined #ruby-lang
kgrz_ has quit [Remote host closed the connection]
nathanstitt has quit [Quit: I growing sleepy]
hashkey has joined #ruby-lang
dhruvasagar has quit [Ping timeout: 260 seconds]
brianpWins has joined #ruby-lang
rippa has quit [Ping timeout: 248 seconds]
Weems has quit [Changing host]
Weems has joined #ruby-lang
wmoxam has joined #ruby-lang
arubin has quit [Quit: Textual IRC Client: www.textualapp.com]
wmoxam has quit [Ping timeout: 256 seconds]
<erikh> hello friends.
wmoxam has joined #ruby-lang
pbjorklund has joined #ruby-lang
io_syl has quit [Ping timeout: 256 seconds]
pbjorklund has quit [Ping timeout: 264 seconds]
vlad_starkov has joined #ruby-lang
roadt has quit [Ping timeout: 256 seconds]
benxao has joined #ruby-lang
vlad_starkov has quit [Ping timeout: 260 seconds]
DomKM has joined #ruby-lang
DomKM has quit [Client Quit]
pheen has quit [Ping timeout: 250 seconds]
DomKM1 has joined #ruby-lang
DomKM1 has quit [Client Quit]
tylersmith has joined #ruby-lang
<erikh> zenspider: any chance you're around?
Oak has joined #ruby-lang
diegoviola has quit [Ping timeout: 256 seconds]
pipework has joined #ruby-lang
tylersmith has quit [Remote host closed the connection]
benxao has quit [Read error: Connection reset by peer]
benxao has joined #ruby-lang
jsulliva_ has quit [Remote host closed the connection]
roadt has joined #ruby-lang
jsullivandigs has joined #ruby-lang
jsullivandigs has quit [Read error: Connection reset by peer]
jsullivandigs has joined #ruby-lang
io_syl has joined #ruby-lang
rippa has joined #ruby-lang
cofin has quit [Quit: cofin]
_jpb_ has quit [Ping timeout: 252 seconds]
skade has joined #ruby-lang
_jpb_ has joined #ruby-lang
gja has joined #ruby-lang
gja has joined #ruby-lang
gja has quit [Changing host]
tomzx_mac has quit [Read error: Operation timed out]
cofin has joined #ruby-lang
tRAS has joined #ruby-lang
mootpointer has quit [Quit: Computer has gone to sleep.]
cordax has joined #ruby-lang
shireesh has joined #ruby-lang
tRAS has quit [Quit: Mother, did it need to be so high?]
tRAS has joined #ruby-lang
hhatch has joined #ruby-lang
setmeaway has joined #ruby-lang
wmoxam has quit [Ping timeout: 252 seconds]
pbjorklund has joined #ruby-lang
_jpb_ has quit [Ping timeout: 248 seconds]
vlad_starkov has joined #ruby-lang
_jpb_ has joined #ruby-lang
runeb has joined #ruby-lang
runeb has quit [Ping timeout: 248 seconds]
vlad_starkov has quit [Ping timeout: 256 seconds]
woollyams has quit [Ping timeout: 252 seconds]
pbjorklund has quit [Ping timeout: 264 seconds]
woollyams has joined #ruby-lang
jstorimer has quit [Remote host closed the connection]
jstorimer has joined #ruby-lang
dhruvasagar has joined #ruby-lang
duph has joined #ruby-lang
mootpointer has joined #ruby-lang
mradmacher has joined #ruby-lang
brianpWins has quit [Quit: brianpWins]
cirwin has quit [Quit: Leaving.]
benxao has quit [Ping timeout: 252 seconds]
_jpb_ has quit [Ping timeout: 256 seconds]
_jpb_ has joined #ruby-lang
cirwin has joined #ruby-lang
ffio has joined #ruby-lang
zomgbie_ has joined #ruby-lang
zomgbie has joined #ruby-lang
<injekt> hizzahh
elia has joined #ruby-lang
hahuang65 has quit [Quit: Textual IRC Client: www.textualapp.com]
hhatch has quit [Ping timeout: 260 seconds]
tylersmith has joined #ruby-lang
<cirwin> hi injekt
t_ has joined #ruby-lang
tylersmith has quit [Ping timeout: 246 seconds]
stardiviner has joined #ruby-lang
ledestin has quit [Quit: ledestin]
elia has quit [Ping timeout: 248 seconds]
skade has quit [Quit: Computer has gone to sleep.]
_jpb_ has quit [Ping timeout: 256 seconds]
Uranio has quit [Remote host closed the connection]
_jpb_ has joined #ruby-lang
Uranio has joined #ruby-lang
judofyr has joined #ruby-lang
tenderlove has quit [Remote host closed the connection]
hhatch has joined #ruby-lang
mootpointer has quit [Quit: Computer has gone to sleep.]
_jpb_ has quit [Ping timeout: 256 seconds]
_jpb_ has joined #ruby-lang
ffio has quit [Quit: WeeChat 0.4.1]
macmartine has joined #ruby-lang
pbjorklund has joined #ruby-lang
duph has quit [Quit: Leaving.]
workmad3 has joined #ruby-lang
mootpointer has joined #ruby-lang
ryez has joined #ruby-lang
vlad_starkov has joined #ruby-lang
macmartine has quit [Quit: Computer has gone to sleep.]
pbjorklund has quit [Ping timeout: 264 seconds]
M_BlX has joined #ruby-lang
whitemage has joined #ruby-lang
vlad_starkov has quit [Ping timeout: 256 seconds]
brianpWins has joined #ruby-lang
_jpb_ has quit [Ping timeout: 240 seconds]
workmad3 has quit [Read error: Operation timed out]
_jpb_ has joined #ruby-lang
lsegal has quit [Quit: Quit: Quit: Quit: Stack Overflow.]
tty156354 has joined #ruby-lang
io_syl has quit [Quit: Computer has gone to sleep.]
mistym has quit [Remote host closed the connection]
tenderlove has joined #ruby-lang
tenderlove has quit [Read error: Connection reset by peer]
tenderlove has joined #ruby-lang
tty156354 has quit [Quit: leaving]
MartynKeigher has quit [Ping timeout: 245 seconds]
_jpb_ has quit [Ping timeout: 256 seconds]
x0f has quit [Ping timeout: 246 seconds]
fridim_ has joined #ruby-lang
_jpb_ has joined #ruby-lang
x0f has joined #ruby-lang
tenderlove has quit [Ping timeout: 260 seconds]
Asher has quit [Quit: Leaving.]
Asher has joined #ruby-lang
ledestin has joined #ruby-lang
barttenbrinke has joined #ruby-lang
MartynKeigher has joined #ruby-lang
pbjorklund has joined #ruby-lang
_jpb_ has quit [Ping timeout: 246 seconds]
_jpb_ has joined #ruby-lang
pbjorklund has quit [Ping timeout: 264 seconds]
wallerdev has quit [Quit: wallerdev]
Ian-_ has joined #ruby-lang
whitemage has quit [Read error: Connection reset by peer]
M_BlX has quit [Remote host closed the connection]
dagobah has joined #ruby-lang
hakunin has quit [Ping timeout: 240 seconds]
_jpb_ has quit [Ping timeout: 256 seconds]
_jpb_ has joined #ruby-lang
hakunin has joined #ruby-lang
havenwood has quit [Remote host closed the connection]
mytrile has joined #ruby-lang
havenwood has joined #ruby-lang
GarethAdams has joined #ruby-lang
Ian-_ has quit [Quit: Linkinus - http://linkinus.com]
_jpb_ has quit [Ping timeout: 246 seconds]
relix has joined #ruby-lang
_jpb_ has joined #ruby-lang
skade has joined #ruby-lang
havenn_ has joined #ruby-lang
tenderlove has joined #ruby-lang
havenwood has quit [Ping timeout: 252 seconds]
duph has joined #ruby-lang
pbjorklund has joined #ruby-lang
tenderlove has quit [Ping timeout: 248 seconds]
barttenbrinke has quit [Remote host closed the connection]
pbjorklund has quit [Ping timeout: 264 seconds]
vlad_starkov has joined #ruby-lang
mdedetrich has joined #ruby-lang
pbjorklund has joined #ruby-lang
criego has quit [Ping timeout: 246 seconds]
vlad_starkov has quit [Ping timeout: 256 seconds]
_jpb_ has quit [Ping timeout: 248 seconds]
_jpb_ has joined #ruby-lang
vlad_starkov has joined #ruby-lang
jstorimer has quit [Remote host closed the connection]
SilverKey has joined #ruby-lang
SilverKey has quit [Max SendQ exceeded]
SilverKey has joined #ruby-lang
zomgbie_ has quit [Read error: Connection reset by peer]
zomgbie_ has joined #ruby-lang
SilverKey has quit [Client Quit]
achiu1 has joined #ruby-lang
jds_ has quit [Read error: Connection reset by peer]
relix has quit [Ping timeout: 248 seconds]
jds has joined #ruby-lang
imajes has quit [Ping timeout: 248 seconds]
drbrain has quit [Ping timeout: 248 seconds]
pbjorklund has quit [Ping timeout: 264 seconds]
dabradley has quit [Ping timeout: 248 seconds]
<yorickpeterse> morning
jacknagel has quit [Ping timeout: 260 seconds]
felipe has quit [Ping timeout: 260 seconds]
roadt has quit [Ping timeout: 248 seconds]
lguardiola has quit [Ping timeout: 248 seconds]
joschi has quit [Ping timeout: 260 seconds]
postmodern has quit [Ping timeout: 248 seconds]
jxie has quit [Ping timeout: 260 seconds]
achiu has quit [Ping timeout: 248 seconds]
imajes has joined #ruby-lang
jonahR has quit [Read error: Connection reset by peer]
jxie has joined #ruby-lang
<whitequark> moo
Mon_Ouie has quit [Ping timeout: 264 seconds]
<whitequark> yorickpeterse: got some time?
drbrain has joined #ruby-lang
KillerFox has quit [Ping timeout: 248 seconds]
lguardiola has joined #ruby-lang
KillerFox has joined #ruby-lang
snafoo has quit [*.net *.split]
meise_ has quit [*.net *.split]
yeltzooo has quit [*.net *.split]
jayne has quit [*.net *.split]
_ko1 has quit [*.net *.split]
Boohbah has quit [*.net *.split]
Asher has quit [*.net *.split]
brianpWins has quit [*.net *.split]
jsullivandigs has quit [*.net *.split]
gja has quit [*.net *.split]
Oak has quit [*.net *.split]
hashkey has quit [*.net *.split]
bzalasky has quit [*.net *.split]
nofxx has quit [*.net *.split]
Weems has quit [*.net *.split]
woollyams has quit [*.net *.split]
Rizzle has quit [*.net *.split]
crankharder has quit [*.net *.split]
pabs has quit [*.net *.split]
yxhuvud has quit [*.net *.split]
neurodam1ge has quit [*.net *.split]
vivekrai_ has quit [*.net *.split]
ioga_wrk has quit [*.net *.split]
khaase has quit [*.net *.split]
hagabaka has quit [*.net *.split]
matthewd has quit [*.net *.split]
fbernier has quit [*.net *.split]
Rubennn has quit [*.net *.split]
eval-in has quit [*.net *.split]
naquad has quit [*.net *.split]
Karql has quit [*.net *.split]
yellow5 has quit [*.net *.split]
MartynKeigher has quit [*.net *.split]
Uranio has quit [*.net *.split]
zomgbie has quit [*.net *.split]
dhruvasagar has quit [*.net *.split]
cofin has quit [*.net *.split]
scottschecter has quit [*.net *.split]
priodev has quit [*.net *.split]
tkuchiki has quit [*.net *.split]
poga has quit [*.net *.split]
shinh has quit [*.net *.split]
duckinator has quit [*.net *.split]
thang has quit [*.net *.split]
swav has quit [*.net *.split]
jtoy has quit [*.net *.split]
wycats_ has quit [*.net *.split]
headius has quit [*.net *.split]
znouza has quit [*.net *.split]
Kero has quit [*.net *.split]
mihar has quit [*.net *.split]
pcboy__ has quit [*.net *.split]
jaimef has quit [*.net *.split]
architbaweja has quit [*.net *.split]
ironcamel has quit [*.net *.split]
corundum has quit [*.net *.split]
nirix has quit [*.net *.split]
znz_jp has quit [*.net *.split]
matled has quit [*.net *.split]
segy has quit [*.net *.split]
Domon has quit [*.net *.split]
spuk has quit [*.net *.split]
nikky has quit [*.net *.split]
Todd_ has quit [*.net *.split]
foca_ has quit [*.net *.split]
braidn has quit [*.net *.split]
brixen has quit [*.net *.split]
benwoody has quit [*.net *.split]
mclee has quit [*.net *.split]
swygue has quit [*.net *.split]
dvorak has quit [*.net *.split]
FiXato has quit [*.net *.split]
flexd1 has quit [*.net *.split]
pygmael has quit [*.net *.split]
singpolyma has quit [*.net *.split]
ddd has quit [*.net *.split]
ammar has quit [*.net *.split]
zzak has quit [*.net *.split]
cout has quit [*.net *.split]
perry has quit [*.net *.split]
bryanl has quit [*.net *.split]
Guest4693 has quit [*.net *.split]
rolfb has joined #ruby-lang
postmodern has joined #ruby-lang
_jpb_ has quit [Ping timeout: 264 seconds]
dabradley has joined #ruby-lang
<yorickpeterse> shoot
roadt has joined #ruby-lang
matled- has joined #ruby-lang
Asher has joined #ruby-lang
Uranio has joined #ruby-lang
woollyams has joined #ruby-lang
hogeo has joined #ruby-lang
MartynKeigher has joined #ruby-lang
dhruvasagar has joined #ruby-lang
zomgbie has joined #ruby-lang
brianpWins has joined #ruby-lang
gja has joined #ruby-lang
hashkey has joined #ruby-lang
jsullivandigs has joined #ruby-lang
cofin has joined #ruby-lang
bzalasky has joined #ruby-lang
Oak has joined #ruby-lang
tkuchiki has joined #ruby-lang
priodev has joined #ruby-lang
scottschecter has joined #ruby-lang
nofxx has joined #ruby-lang
Weems has joined #ruby-lang
poga has joined #ruby-lang
shinh has joined #ruby-lang
duckinator has joined #ruby-lang
Rizzle has joined #ruby-lang
architbaweja has joined #ruby-lang
swav has joined #ruby-lang
jtoy has joined #ruby-lang
foca_ has joined #ruby-lang
headius has joined #ruby-lang
mihar has joined #ruby-lang
yxhuvud has joined #ruby-lang
znouza has joined #ruby-lang
Domon has joined #ruby-lang
segy has joined #ruby-lang
thang has joined #ruby-lang
mclee has joined #ruby-lang
nikky has joined #ruby-lang
braidn has joined #ruby-lang
brixen has joined #ruby-lang
swygue has joined #ruby-lang
Kero has joined #ruby-lang
neurodam1ge has joined #ruby-lang
khaase has joined #ruby-lang
FiXato has joined #ruby-lang
hagabaka has joined #ruby-lang
jaimef has joined #ruby-lang
matthewd has joined #ruby-lang
ironcamel has joined #ruby-lang
dvorak has joined #ruby-lang
flexd1 has joined #ruby-lang
pcboy__ has joined #ruby-lang
crankharder has joined #ruby-lang
spuk has joined #ruby-lang
pabs has joined #ruby-lang
Todd_ has joined #ruby-lang
yellow5 has joined #ruby-lang
benwoody has joined #ruby-lang
nirix has joined #ruby-lang
pygmael has joined #ruby-lang
snafoo has joined #ruby-lang
ddd has joined #ruby-lang
eval-in has joined #ruby-lang
ammar has joined #ruby-lang
fbernier has joined #ruby-lang
_ko1 has joined #ruby-lang
bryanl has joined #ruby-lang
perry has joined #ruby-lang
meise_ has joined #ruby-lang
Rubennn has joined #ruby-lang
singpolyma has joined #ruby-lang
wycats_ has joined #ruby-lang
ioga_wrk has joined #ruby-lang
Karql has joined #ruby-lang
jayne has joined #ruby-lang
Boohbah has joined #ruby-lang
naquad has joined #ruby-lang
vivekrai_ has joined #ruby-lang
zzak has joined #ruby-lang
znz_jp has joined #ruby-lang
cout has joined #ruby-lang
corundum has joined #ruby-lang
yeltzooo has joined #ruby-lang
Guest4693 has joined #ruby-lang
_jpb_ has joined #ruby-lang
<whitequark> yorickpeterse: parser doco?
mootpointer has quit [Write error: Broken pipe]
<yorickpeterse> No
zomgbie has quit [Read error: Operation timed out]
<yorickpeterse> I'm "at" work
<yorickpeterse> (co-working space)
relix has joined #ruby-lang
<whitequark> ok
<yorickpeterse> I probably wont have real coding time until I'm back in the country (Sunday)
zomgbie_ has quit [Ping timeout: 256 seconds]
<whitequark> I see
tdy has quit [Ping timeout: 256 seconds]
Mon_Ouie has joined #ruby-lang
anishasjkaul has joined #ruby-lang
anishasjkaul has left #ruby-lang [#ruby-lang]
<injekt> hi cirwin
fosky has quit [Ping timeout: 260 seconds]
cordax has quit [Quit: Computer has gone to sleep.]
woollyams has quit [Ping timeout: 252 seconds]
vlad_starkov has quit [Remote host closed the connection]
marr has joined #ruby-lang
ruby-lang888 has joined #ruby-lang
GarethAdams has quit [Quit: Leaving...]
havenn_ has quit [Remote host closed the connection]
ruby-lang888 has quit [Ping timeout: 250 seconds]
krz has joined #ruby-lang
vishalmelmatti has joined #ruby-lang
vishalmelmatti has quit [Client Quit]
sush24 has joined #ruby-lang
tbuehlmann has joined #ruby-lang
hashkey has quit []
joschi has joined #ruby-lang
tenderlove has joined #ruby-lang
vlad_starkov has joined #ruby-lang
_jpb_ has quit [Ping timeout: 252 seconds]
_jpb_ has joined #ruby-lang
t_ has quit [Ping timeout: 248 seconds]
priodev has quit [Ping timeout: 252 seconds]
vishalmelmatti has joined #ruby-lang
tenderlove has quit [Ping timeout: 248 seconds]
mdedetrich has quit [Quit: Computer has gone to sleep.]
zomgbie has joined #ruby-lang
zomgbie_ has joined #ruby-lang
runeb has joined #ruby-lang
priodev has joined #ruby-lang
publicvoid_ has joined #ruby-lang
SilverKey has joined #ruby-lang
SilverKey has quit [Max SendQ exceeded]
SilverKey has joined #ruby-lang
jstorimer has joined #ruby-lang
runeb has quit [Ping timeout: 260 seconds]
_jpb_ has quit [Ping timeout: 246 seconds]
_jpb_ has joined #ruby-lang
zomgbie has quit [Read error: Connection reset by peer]
zomgbie_ has quit [Read error: Connection reset by peer]
brianpWins has quit [Quit: brianpWins]
ledestin has quit [Quit: ledestin]
rolfb has quit [Quit: Leaving...]
mbj has joined #ruby-lang
Rizzle has quit [Read error: Connection reset by peer]
ruby-lang675 has joined #ruby-lang
barttenbrinke has joined #ruby-lang
mdedetrich has joined #ruby-lang
Rizzle has joined #ruby-lang
<yorickpeterse> So any other folks here going to Euruko that are already version pathin Athens?
barttenbrinke has quit [Remote host closed the connection]
<yorickpeterse> what the fuck did I just type
<yorickpeterse> so I mean if there are already folks here
andrewvos has joined #ruby-lang
ruby-lang675 has quit [Client Quit]
barttenbrinke has joined #ruby-lang
jstorimer has quit [Ping timeout: 248 seconds]
Oak has quit [Ping timeout: 246 seconds]
mbj has quit [Read error: Connection reset by peer]
Oak has joined #ruby-lang
Oak has quit [Changing host]
Oak has joined #ruby-lang
tenderlove has joined #ruby-lang
ffio has joined #ruby-lang
sush24 has quit [Ping timeout: 246 seconds]
tenderlove has quit [Ping timeout: 264 seconds]
<injekt> ...
<injekt> gb2b
cirwin has quit [Quit: sleep….ping!]
<yorickpeterse> I slept quite well thank you very much
barttenbrinke has quit [Remote host closed the connection]
sush24 has joined #ruby-lang
<andrewvos> What did I miss?
t_ has joined #ruby-lang
fridim_ has quit [Ping timeout: 260 seconds]
Oak has quit [Ping timeout: 256 seconds]
weeb1e has quit [Ping timeout: 246 seconds]
barttenbrinke has joined #ruby-lang
roadt has quit [Ping timeout: 246 seconds]
weeb1e has joined #ruby-lang
<injekt> you are welcome
barttenbrinke has quit [Remote host closed the connection]
barttenbrinke has joined #ruby-lang
sush24 has quit [Ping timeout: 246 seconds]
vlad_starkov has quit [Read error: Connection reset by peer]
barttenbrinke has quit [Remote host closed the connection]
vlad_starkov has joined #ruby-lang
skade has quit [Ping timeout: 248 seconds]
skade has joined #ruby-lang
barttenbrinke has joined #ruby-lang
zomgbie has joined #ruby-lang
zomgbie_ has joined #ruby-lang
sush24 has joined #ruby-lang
Oak has joined #ruby-lang
jstorimer has joined #ruby-lang
zomgbie_ has quit [Read error: Connection reset by peer]
zomgbie has quit [Read error: Connection reset by peer]
benxao has joined #ruby-lang
pbjorklund has joined #ruby-lang
stamina has joined #ruby-lang
sush24 has quit [Ping timeout: 260 seconds]
zomgbie has joined #ruby-lang
zomgbie_ has joined #ruby-lang
anon_mg has joined #ruby-lang
tenderlove has joined #ruby-lang
rippa has quit [Ping timeout: 248 seconds]
anon_mg has quit [Client Quit]
zomgbie_ has quit [Read error: Connection reset by peer]
zomgbie has quit [Read error: Connection reset by peer]
GarethAdams has joined #ruby-lang
UziMonkey___ has joined #ruby-lang
tenderlove has quit [Ping timeout: 256 seconds]
beawesomeinstead has joined #ruby-lang
benxao has quit [Remote host closed the connection]
bzalasky has quit [Remote host closed the connection]
_jpb_ has quit [Ping timeout: 248 seconds]
Criztian has joined #ruby-lang
_jpb_ has joined #ruby-lang
pbjorklund has quit [Ping timeout: 264 seconds]
runeb has joined #ruby-lang
zomgbie has joined #ruby-lang
w00d has joined #ruby-lang
publicvoid_ has quit [Ping timeout: 264 seconds]
jstorimer has quit [Ping timeout: 240 seconds]
pbjorklund has joined #ruby-lang
zomgbie_ has joined #ruby-lang
jacknagel has joined #ruby-lang
jacknagel has joined #ruby-lang
jacknagel has quit [Changing host]
x0f has quit [Ping timeout: 248 seconds]
x0f has joined #ruby-lang
pbjorklund has quit [Ping timeout: 264 seconds]
priodev has quit [Read error: Operation timed out]
priodev has joined #ruby-lang
heftig has quit [Ping timeout: 245 seconds]
x0f has quit [Ping timeout: 240 seconds]
heftig has joined #ruby-lang
jsullivandigs has quit [Remote host closed the connection]
mbj has joined #ruby-lang
jsullivandigs has joined #ruby-lang
x0f has joined #ruby-lang
jsullivandigs has quit [Ping timeout: 248 seconds]
tdy has joined #ruby-lang
<darix> yorickpeterse: so less cursing today?:p
toretore has joined #ruby-lang
<yorickpeterse> No, that's because so far things are going well
<yorickpeterse> besides this internet being pretty shit
jstorimer has joined #ruby-lang
runeb has quit [Remote host closed the connection]
zomgbie_ has quit [Quit: Lost terminal]
tdy has quit [Ping timeout: 240 seconds]
duph has quit [Quit: Leaving.]
vishalmelmatti has left #ruby-lang [#ruby-lang]
tdy has joined #ruby-lang
ZenDruid has joined #ruby-lang
Pupeno has joined #ruby-lang
runeb has joined #ruby-lang
GarethAdams has quit [Quit: Leaving...]
vlad_starkov has quit [Read error: Connection reset by peer]
vlad_starkov has joined #ruby-lang
jstorimer has quit [Read error: Connection reset by peer]
jstorimer has joined #ruby-lang
FastJack has quit [Quit: brb. snapshot]
jstorimer has quit [Remote host closed the connection]
_jpb_ has quit [Ping timeout: 256 seconds]
_jpb_ has joined #ruby-lang
vlad_starkov has quit [Remote host closed the connection]
ledestin has joined #ruby-lang
ffio has quit [Quit: WeeChat 0.4.1]
skade has quit [Quit: Textual IRC Client: www.textualapp.com]
bougyman has quit [Remote host closed the connection]
bougyman has joined #ruby-lang
_jpb_ has quit [Ping timeout: 240 seconds]
benxao has joined #ruby-lang
benxao has quit [Remote host closed the connection]
tbuehlmann has quit [Remote host closed the connection]
_jpb_ has joined #ruby-lang
vlad_starkov has joined #ruby-lang
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
relix has joined #ruby-lang
relix has quit [Client Quit]
MartynKeigher has quit [Read error: Operation timed out]
MartynKeigher has joined #ruby-lang
tenderlove has joined #ruby-lang
gja has quit [Quit: This computer has gone to sleep]
tenderlove has quit [Ping timeout: 256 seconds]
SilverKey has quit [Ping timeout: 264 seconds]
<darix> postmodern: btw: just converted my mail script to the parts api and yes the mail looks better. but mutt still doesnt want to decrypt it properly
pskosinski has joined #ruby-lang
machuga|away is now known as machuga
M_BlX has joined #ruby-lang
bougyman has quit [Remote host closed the connection]
bougyman has joined #ruby-lang
Zeeo has joined #ruby-lang
GarethAdams has joined #ruby-lang
Weems has quit [Ping timeout: 246 seconds]
Domon has quit [Remote host closed the connection]
Kero has quit [Read error: Operation timed out]
Kero has joined #ruby-lang
hogeo has quit [Remote host closed the connection]
_jpb_ has quit [Ping timeout: 264 seconds]
_jpb_ has joined #ruby-lang
t0h has quit [Ping timeout: 256 seconds]
t0h has joined #ruby-lang
barttenbrinke has quit [Remote host closed the connection]
barttenbrinke has joined #ruby-lang
mbj has quit [Ping timeout: 256 seconds]
workmad3 has joined #ruby-lang
hhatch has quit [Ping timeout: 240 seconds]
krz has quit [Quit: krz]
mbj has joined #ruby-lang
t0h has quit [Ping timeout: 256 seconds]
relix has joined #ruby-lang
barttenbrinke has quit [Ping timeout: 240 seconds]
scholar01 has joined #ruby-lang
scholar01 has quit [Changing host]
scholar01 has joined #ruby-lang
t0h has joined #ruby-lang
stardiviner has quit [Ping timeout: 256 seconds]
GeissT has quit [Quit: MillBroChat AdIRC User]
Oak has quit [Quit: Leaving]
stardiviner has joined #ruby-lang
Criztian has quit [Remote host closed the connection]
machuga has quit [Ping timeout: 246 seconds]
machuga has joined #ruby-lang
jstorimer has joined #ruby-lang
jstorimer has quit [Ping timeout: 260 seconds]
roadt has joined #ruby-lang
philnyc has joined #ruby-lang
Zeeo has quit [Quit: and then one day you'll pack up, fly down south... hide your head in the sand]
zomgbie has quit [Read error: Connection reset by peer]
M_BlX has quit [Remote host closed the connection]
<postmodern> darix, interesting, i havent but probably will have to send PGP emails
x0f has quit [Ping timeout: 256 seconds]
<judofyr> postmodern: dealing with secret stuff again?
<judofyr> :D
x0f has joined #ruby-lang
barttenbrinke has joined #ruby-lang
<postmodern> judofyr, sadly no
<postmodern> judofyr, boring html multipart emails
vlad_starkov has quit [Remote host closed the connection]
<yorickpeterse> postmodern: are you hacking the government? Only hackers use PGP
<yorickpeterse> do you also use that hacker os lunix?
pbjorklund has joined #ruby-lang
cofin has quit [Quit: cofin]
henrikhodne has joined #ruby-lang
pbjorklund has quit [Ping timeout: 264 seconds]
_jpb_ has quit [Ping timeout: 260 seconds]
jxie has quit [Quit: leaving]
_jpb_ has joined #ruby-lang
ldnunes has joined #ruby-lang
charliesome_ has joined #ruby-lang
barttenbrinke has quit [Remote host closed the connection]
workmad3 has quit [Ping timeout: 256 seconds]
rikai has quit [Remote host closed the connection]
rikai has joined #ruby-lang
lcdhoffman has joined #ruby-lang
x0f has quit [Ping timeout: 252 seconds]
ffio has joined #ruby-lang
x0f has joined #ruby-lang
lcdhoffman has quit [Client Quit]
tenderlove has joined #ruby-lang
skade has joined #ruby-lang
<judofyr> postmodern: does ~~~ work on Github?
tenderlove has quit [Ping timeout: 248 seconds]
<postmodern> judofyr, ~~ i think works
<postmodern> judofyr, oh ~~ will do strike through
<postmodern> judofyr, github uses a forked version of redcarpet
gja has joined #ruby-lang
gja has quit [Changing host]
gja has joined #ruby-lang
_jpb_ has quit [Ping timeout: 248 seconds]
<judofyr> compare with raw
<postmodern> judofyr, darn i guess not
_jpb_ has joined #ruby-lang
<postmodern> judofyr, i always confuse github markdown with reddit markdown
<postmodern> judofyr, next time github has a drinkup near any of us, we should have a word with the
<postmodern> *them
<postmodern> judofyr, this is my #1 pet peeve https://github.com/vmg/redcarpet/issues/254
runeb has quit [Remote host closed the connection]
dhruvasagar has quit [Read error: Operation timed out]
sush24 has joined #ruby-lang
MasterNayru_ has joined #ruby-lang
MasterNayru_ has quit [Remote host closed the connection]
cored has joined #ruby-lang
zomgbie has joined #ruby-lang
verto has joined #ruby-lang
carloslopes has joined #ruby-lang
_jpb_ has quit [Ping timeout: 256 seconds]
_jpb_ has joined #ruby-lang
Mawk has joined #ruby-lang
mdedetrich has quit [Quit: Computer has gone to sleep.]
runeb has joined #ruby-lang
barttenbrinke has joined #ruby-lang
zomgbie has quit [Read error: Connection reset by peer]
andrewvos has quit [Ping timeout: 264 seconds]
sush24_ has joined #ruby-lang
sush24 has quit [Ping timeout: 240 seconds]
dagobah_ has joined #ruby-lang
ZenDruid has quit [Ping timeout: 264 seconds]
ZenDruid has joined #ruby-lang
mdedetrich has joined #ruby-lang
mrfelix has joined #ruby-lang
dagobah has quit [Ping timeout: 264 seconds]
vlad_starkov has joined #ruby-lang
barttenbrinke has quit [Ping timeout: 256 seconds]
lcdhoffman has joined #ruby-lang
dominikh has quit [Read error: Operation timed out]
ndrst_ has quit [Read error: Operation timed out]
sush24_ has quit [Ping timeout: 252 seconds]
ebouchut_ has quit [Read error: Operation timed out]
matson has quit [Read error: Operation timed out]
ruby-lang791 has joined #ruby-lang
dominikh has joined #ruby-lang
yalue has quit [Read error: Operation timed out]
sush24 has joined #ruby-lang
rondale_1c has quit [Read error: Operation timed out]
tomzx_mac has joined #ruby-lang
ahf has quit [Read error: Operation timed out]
antbody has quit [Read error: Operation timed out]
ruby-lang791 has quit [Client Quit]
gfarfl has quit [Read error: Operation timed out]
jstorimer has joined #ruby-lang
eban has quit [Read error: Operation timed out]
gfarfl has joined #ruby-lang
rondale_sc has joined #ruby-lang
eban has joined #ruby-lang
ahf has joined #ruby-lang
ahf has quit [Changing host]
ahf has joined #ruby-lang
Guu has joined #ruby-lang
matson has joined #ruby-lang
ndrst_ has joined #ruby-lang
yalue has joined #ruby-lang
matson is now known as Guest39872
jstorimer has quit [Remote host closed the connection]
ebouchut_ has joined #ruby-lang
pbjorklund has joined #ruby-lang
sush24 has quit [Ping timeout: 252 seconds]
sush24 has joined #ruby-lang
postmodern has quit [Quit: Leaving]
breakingthings has joined #ruby-lang
shireesh has quit [Quit: Leaving]
sush24_ has joined #ruby-lang
sush24 has quit [Ping timeout: 246 seconds]
andrewvos has joined #ruby-lang
joshuawscott has joined #ruby-lang
Pupeno has quit [Remote host closed the connection]
jstorimer has joined #ruby-lang
bgant has joined #ruby-lang
<mytrile> Hey, guys. Is there a automatic way of detecting if an uri is http/https without parsing the url string ?
<andrewvos> mytrile: "https://bla.com".start_with?("https")
lcdhoffman has quit [Quit: lcdhoffman]
mighub has joined #ruby-lang
barttenbrinke has joined #ruby-lang
lcdhoffman has joined #ruby-lang
pipework has quit [Remote host closed the connection]
lcdhoffman has quit [Client Quit]
<mighub> Hello. I have a piece of code with an incompatible encoding issue and I am not sure what is the best way to deal with it. Here is the line:
GeissT has joined #ruby-lang
<mighub> fields = columns.inject(""){|out,c|out+foobar(c)}
Pupeno has joined #ruby-lang
<andrewvos> "
<andrewvos> mighub: Did you copy and paste that code from Word, or the internet?
<andrewvos> Or I'm misunderstanding the issue.
<mighub> yes. Is there a problem?
<andrewvos> Try rewriting those "'s
tenderlove has joined #ruby-lang
<mighub> fields = columns.inject(''){|out,c|out+foobar(c)}
<andrewvos> Do you get the same error?
<andrewvos> Try paste any errors on gist.github.com
barttenbrinke has quit [Ping timeout: 240 seconds]
hashkey has joined #ruby-lang
<mighub> Oh i thought you could not see the code on IRC because it was not printing good. Stupid me.
<mighub> How changing from double quote to single quote would change the behaviour?
sush24_ has quit [Ping timeout: 252 seconds]
tenderlove has quit [Ping timeout: 246 seconds]
hogeo has joined #ruby-lang
wmoxam has joined #ruby-lang
<andrewvos> Well because if you copied it from word or from the internet then the quotes might be different types of quotes.
<mytrile> andrewvos: thanks
<andrewvos> mytrile: Pleasure
<mytrile> andrewvos: I was thinking that net/http would pick up https address automatically and then apply use_ssl = true and verify_mode by itself, but it doesn't
<mighub> Ah no I wrote that code to start with. I just copied it from the internet because I was looking at my code on github. These are basic double quotes.
<andrewvos> mighub: Ok well you really need to show the error then.
<judofyr> mighub: andrewvos: you probably want to check for https: (with the column)
Voker57 has joined #ruby-lang
<andrewvos> mytrile: You could just try using a different http gem
<andrewvos> judofyr: Yup
<judofyr> err
<andrewvos> mytrile: httparty is quite nice
<judofyr> I mean mytrile
<injekt> mytrile: /\Ahttps?:/
<mytrile> andrewvos: I prefer minimizing deps
<judofyr> and if you want to be kind to hackers: /\A(javascript|https?):/
<mytrile> injekt: I actually wanted to know if the standard lib would pick that automatically
<injekt> mytrile: pick what up?
<mytrile> injekt: If it's http or https
<injekt> it would
<injekt> >> require 'uri'; URI('https://foo').scheme
<eval-in> injekt => "https" (https://eval.in/35196)
<injekt> >> require 'uri'; URI('http://foo').scheme
<eval-in> injekt => "http" (https://eval.in/35197)
cored has quit [Ping timeout: 240 seconds]
w00x has joined #ruby-lang
<mytrile> uri = URI.parse("https://google"); http = Net::HTTP.new(uri.host, uri.port); request = Net::HTTP::Get.new(uri.request_uri); resp = http.request(request) => Errno::ECONNRESET
<injekt> well yeah, you need to tell net::http you want secure
<injekt> you're passing it the host and port, not the scheme
<injekt> http.use_ssl = true
cored has joined #ruby-lang
<mytrile> http.verify_mode = OpenSSL::SSL::VERIFY_NONE
<mighub> andrewos: Encoding::CompatibilityError: incompatible character encodings: ASCII-8BIT and UTF-8 (...doing a gist for log)
mdedetrich has quit [Quit: Computer has gone to sleep.]
_jpb_ has quit [Ping timeout: 248 seconds]
_jpb_ has joined #ruby-lang
jstorimer has quit [Remote host closed the connection]
scholar01 has quit [Quit: Leaving.]
wallerdev has joined #ruby-lang
synthetix has joined #ruby-lang
scholar01 has joined #ruby-lang
scholar01 has quit [Client Quit]
io_syl has joined #ruby-lang
jstorimer has joined #ruby-lang
ffio has quit [Quit: WeeChat 0.4.1]
nofxx has quit [Ping timeout: 246 seconds]
<andrewvos> >> uri = URI.parse("https://google.com"); http = Net::HTTP.new(uri.host, uri.port); request = Net::HTTP::Get.new(uri.request_uri); resp = http.request(request)
<eval-in> andrewvos => uninitialized constant URI (NameError) ... (https://eval.in/35198)
<andrewvos> >> require "uri"; uri = URI.parse("https://google.com"); http = Net::HTTP.new(uri.host, uri.port); request = Net::HTTP::Get.new(uri.request_uri); resp = http.request(request)
<eval-in> andrewvos => uninitialized constant Net (NameError) ... (https://eval.in/35199)
<andrewvos> >> require "uri", "net/http"; uri = URI.parse("https://google.com"); http = Net::HTTP.new(uri.host, uri.port); request = Net::HTTP::Get.new(uri.request_uri); resp = http.request(request)
<eval-in> andrewvos => wrong number of arguments (2 for 1) (ArgumentError) ... (https://eval.in/35200)
<andrewvos> >> require "uri", require "net/http"; uri = URI.parse("https://google.com"); http = Net::HTTP.new(uri.host, uri.port); request = Net::HTTP::Get.new(uri.request_uri); resp = http.request(request)
<eval-in> andrewvos => /tmp/execpad-1e5c75468b90/source-1e5c75468b90:2: syntax error, unexpected tSTRING_BEG, expecting keyword_do or '{' or '(' ... (https://eval.in/35201)
<andrewvos> >> require "uri"; require "net/http"; uri = URI.parse("https://google.com"); http = Net::HTTP.new(uri.host, uri.port); request = Net::HTTP::Get.new(uri.request_uri); resp = http.request(request)
<eval-in> andrewvos => (https://eval.in/35202)
<andrewvos> >> require "uri"; require "net/http"; uri = URI.parse("https://google.com"); http = Net::HTTP.new(uri.host, uri.port); request = Net::HTTP::Get.new(uri.request_uri); resp = http.request(request).headers
<eval-in> andrewvos => (https://eval.in/35203)
_jpb_ has quit [Ping timeout: 248 seconds]
<andrewvos> Oh
_jpb_ has joined #ruby-lang
jonahR has joined #ruby-lang
hashkey has quit [Remote host closed the connection]
io_syl has quit [Quit: Computer has gone to sleep.]
hashkey has joined #ruby-lang
ykk` has joined #ruby-lang
tenderlove has joined #ruby-lang
ZenDruid has quit [Ping timeout: 246 seconds]
jstorimer has quit [Remote host closed the connection]
GeissT has quit [Quit: MillBroChat AdIRC User]
<ykk`> hey guys
ZenDruid has joined #ruby-lang
henrikhodne has quit [Ping timeout: 248 seconds]
<ykk`> So I am building a script to tweet images from a folder of pictures. What would be a good way of keeping track of what has been uploaded so the script doesn't upload anything twice?
<ykk`> I'm looking for guidance to be pointed in the right direction not the technical :P maybe a suggestion or two?
<andrewvos> ykk`: put the file names into a file?
tenderlove has quit [Ping timeout: 264 seconds]
<andrewvos> ykk`: Rename the file from .jpg to .uploaded-already
<andrewvos> ?
<andrewvos> ykk`: Delete the file?
<andrewvos> ykk`: Use a key value store like Redis?
vlad_starkov has quit [Remote host closed the connection]
<ykk`> i can even move the file
<ykk`> dir_upload dir_complete
<ykk`> key value store? I'll look that up never heard of Redis
<andrewvos> ykk`: No no that's probably not what you want here :)
<ykk`> haha no to the Redis?
<andrewvos> What I meant was store the uploaded file in a database.
<andrewvos> files
<andrewvos> *
<ykk`> I've never done that, that would be good to learn
<ykk`> so like a csv file?
<andrewvos> Nahh just throw each file on a new line
<injekt> use a db like sqlite if you want faster querying
<andrewvos> Or store the file in json
sush24 has joined #ruby-lang
<ykk`> the db sounds like best practice and a good learning curve
krames has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<andrewvos> uploaded_files = ["file1.jpg", "file2.jpg"]; File.open("uploaded.json", "w") { |f| f.write(uploaded_files.to_json) }; uploaded_files = JSON.parse(File.read("uploaded.json"));
<ykk`> i'm a newb and don't understand json
cofin has joined #ruby-lang
<andrewvos> >> [1,2,3].to_json
<eval-in> andrewvos => undefined method `to_json' for [1, 2, 3]:Array (NoMethodError) ... (https://eval.in/35204)
tkuchiki has quit [Remote host closed the connection]
<andrewvos> >> require "json";[1,2,3].to_json
<eval-in> andrewvos => (https://eval.in/35205)
<injekt> lol
<andrewvos> OH COME ON
<ykk`> thanks inject and andrewvos
tomzx_mac has quit [Ping timeout: 248 seconds]
<andrewvos> Pleasure
enebo has joined #ruby-lang
hashkey has quit []
<ericwood> you're welcome!
dhruvasagar has joined #ruby-lang
mdedetrich has joined #ruby-lang
DomKM has joined #ruby-lang
DomKM has quit [Client Quit]
Vortico has joined #ruby-lang
hashkey has joined #ruby-lang
ZenDruid has quit [Read error: Connection reset by peer]
[dmp] has quit [Ping timeout: 252 seconds]
[dmp] has joined #ruby-lang
[dmp] has joined #ruby-lang
[dmp] has quit [Changing host]
Vortico has left #ruby-lang [#ruby-lang]
mistym has joined #ruby-lang
felipe has joined #ruby-lang
barttenbrinke has joined #ruby-lang
hhatch has joined #ruby-lang
nathanstitt has joined #ruby-lang
_jpb_ has quit [Ping timeout: 252 seconds]
cordax has joined #ruby-lang
<injekt> ykk`: I dont have time to answer messages in queries sorry, if you ask here your chances of a good answer will times by about 100
_jpb_ has joined #ruby-lang
Vortico has joined #ruby-lang
<injekt> ykk`: also you probably want http://sqlite-ruby.rubyforge.org/sqlite3/faq.html
sush24 has quit [Read error: Connection reset by peer]
<Joni_79> What happens here: result2 = [2, 3, 4].inject(1) { |sum, item| sum * item }
<Joni_79> result2 is 24 after that code runs, but I cannot understand what happens
<charliesome_> cheap frozen strings: https://gist.github.com/charliesome/5876753
<injekt> Joni_79: sum equals the return value of the block on every iteration
<judofyr> Joni_79: it's like this: sum = 1; [2, 3, 4].each do |item| sum = sum * item end; sum
<injekt> ^
<Joni_79> I tryed to look for ruby-lang what inject does but I cannot get it
barttenbrinke has quit [Ping timeout: 245 seconds]
<injekt> >> [2,3,4].inject :*
<eval-in> injekt => 24 (https://eval.in/35220)
<injekt> is a shorthand
mradmacher has quit [Ping timeout: 248 seconds]
<judofyr> Joni_79: here's the documentation: http://ruby-doc.org/core-2.0/Enumerable.html#method-i-inject
cordax has quit [Ping timeout: 245 seconds]
<judofyr> Joni_79: you could also just google "ruby inject" and you'll get some tutorials/descriptions
justinram has joined #ruby-lang
<Joni_79> judofyr: I've been reading that and still it hard for me to grasp
jonahR has quit [Quit: jonahR]
<judofyr> Joni_79: well, you use inject (or "fold" or "reduce" as it's also called) whenever you need to loop over an array and work with and accumulator
<Joni_79> so, it iterates trhough the array, is the zero in inject(0) the starting position in the array?
cofin has quit [Quit: cofin]
<judofyr> Joni_79: no. the 0 is the first value of "sum"
<injekt> no it's the starting value of sum
<judofyr> (aka. the first parameter of the block)
<Joni_79> ok
<judofyr> Joni_79: so the first time the block executes, "sum" is 1. the next time, "sum" is the result from the previous block
<Joni_79> item is the number from the array each time it iterates..?
<judofyr> yes
<judofyr> like #each
<Joni_79> okey.. maby I got it
<Joni_79> thanks
hakunin has quit [Remote host closed the connection]
hakunin has joined #ruby-lang
<judofyr> charliesome: what if you use that together with refinements?
fridim_ has joined #ruby-lang
<judofyr> oh
<judofyr> it's already scoped
<judofyr> doh
pipework has joined #ruby-lang
<Joni_79> so first time it runs 1 * 2 = 2, next time it runs 2 * 3 = 6 and the last time it runs 6 * 4 = 24 and returns that?
<injekt> I dont think the huge CheapStrings gave it away :D
<judofyr> Joni_79: yup
<Joni_79> ok, cool
<judofyr> injekt: I thought first it was included/extended into Kernel
<Joni_79> is that "sum" a keyword or just any variable name?
<judofyr> Joni_79: any variable name
krames has joined #ruby-lang
<judofyr> Joni_79: people often use "acc" or "memo" as well
<Joni_79> erhm.. so it's not a method name etc?
<judofyr> Joni_79: it's a variable
tRAS has quit [Quit: Mother, did it need to be so high?]
<Joni_79> ok, cool
<judofyr> or, it's a block parameter
<judofyr> just like #each
<injekt> I use hrmmmbbfhhh
Vortico has left #ruby-lang [#ruby-lang]
<Joni_79> :D
<judofyr> >> [1, 2, 3].each { |a| p a }
<eval-in> judofyr => 1 ... (https://eval.in/35226)
<judofyr> Joni_79: the `a` in that code is the same "thing" (block variable) as "sum" in your inject example
<Joni_79> I need to go, I just got out from a metro and I got stuck on the bench ircing. ;)
<Joni_79> later
<judofyr> later!
<Joni_79> and, thanks again :)
<injekt> a would be the same as item, not sum
<injekt> oh
<injekt> you're talking in a broad scope
<injekt> my bad
<judofyr> yes
<judofyr> attempting at least
hakunin has quit [Ping timeout: 246 seconds]
<injekt> :D
<injekt> I didn't take "thing" literally enough, even if you did make it obvious with the quotes
scampbell has joined #ruby-lang
<judofyr> explaining is hard
Vortico has joined #ruby-lang
<Vortico> Is there an IRC channel for mruby?
spacesuit has joined #ruby-lang
<judofyr> Vortico: dunno
<judofyr> haven't heard about one
<judofyr> not many are talking about here either though
<yorickpeterse> #mruby-lang :>
<judofyr> tried #mruby?
jxie has joined #ruby-lang
ebouchut_ has quit [Quit: Quitte]
<Vortico> #mruby has a couple people. Thanks.
sush24 has joined #ruby-lang
_jpb_ has quit [Ping timeout: 245 seconds]
_jpb_ has joined #ruby-lang
sush24 has quit [Ping timeout: 256 seconds]
mradmacher has joined #ruby-lang
_whitelogger has joined #ruby-lang
sush24 has joined #ruby-lang
<matti> Assuming correct CIDR I suppose.
vlad_starkov has quit [Ping timeout: 264 seconds]
fridim_ has quit [Read error: Operation timed out]
skade has quit [Quit: Textual IRC Client: www.textualapp.com]
jsullivandigs has joined #ruby-lang
mdedetrich has quit [Quit: Computer has gone to sleep.]
zomgbie has joined #ruby-lang
sush24 has quit [Ping timeout: 248 seconds]
charliesome_ has quit [Quit: Textual IRC Client: www.textualapp.com]
vlad_starkov has joined #ruby-lang
bzalasky has joined #ruby-lang
cofin has joined #ruby-lang
faces has joined #ruby-lang
face has quit [Ping timeout: 260 seconds]
_whitelogger has joined #ruby-lang
_whitelogger has joined #ruby-lang
hhatch has joined #ruby-lang
hakunin_ has joined #ruby-lang
barttenbrinke has joined #ruby-lang
hakunin has quit [Read error: Connection refused]
hakunin_ has quit [Read error: Connection reset by peer]
mytrile has quit [Remote host closed the connection]
_jpb_ has quit [Ping timeout: 240 seconds]
hakunin has joined #ruby-lang
_jpb_ has joined #ruby-lang
Vortico has left #ruby-lang [#ruby-lang]
Sambalero has quit [Remote host closed the connection]
tenderlove has joined #ruby-lang
Sambalero has joined #ruby-lang
Sambalero has quit [Remote host closed the connection]
mucker has joined #ruby-lang
_whitelogger has joined #ruby-lang
krames has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
barttenbrinke has quit [Remote host closed the connection]
_whitelogger has quit [Excess Flood]
barttenbrinke has joined #ruby-lang
_whitelogger has joined #ruby-lang
barttenbrinke has quit [Ping timeout: 256 seconds]
runeb has quit [Remote host closed the connection]
DKnox has joined #ruby-lang
ykk` has quit [Quit: ykk`]
sush24 has joined #ruby-lang
hashkey has quit []
mradmacher has quit [Quit: Lost terminal]
zmike123 has joined #ruby-lang
io_syl has joined #ruby-lang
tenderlove has joined #ruby-lang
krames has joined #ruby-lang
setmeaway has quit [Quit: Leaving]
dhruvasagar has joined #ruby-lang
canton7 has quit [Ping timeout: 252 seconds]
EvilJStoker has quit [Ping timeout: 252 seconds]
cored has quit [Ping timeout: 246 seconds]
cored has joined #ruby-lang
cored has quit [Changing host]
cored has joined #ruby-lang
henrikhodne has joined #ruby-lang
sush24 has quit [Read error: Connection reset by peer]
jmeeuwen has quit [Remote host closed the connection]
jmeeuwen_ has joined #ruby-lang
jmeeuwen_ is now known as jmeeuwen
EvilJStoker has joined #ruby-lang
vgoff has quit [Read error: Operation timed out]
runeb has joined #ruby-lang
Kabaka has quit [Ping timeout: 240 seconds]
vgoff has joined #ruby-lang
meizaps has quit [Ping timeout: 240 seconds]
tylersmith has joined #ruby-lang
meizaps has joined #ruby-lang
bzalasky has joined #ruby-lang
henrikhodne has quit [Ping timeout: 248 seconds]
Kabaka has joined #ruby-lang
_jpb_ has quit [Ping timeout: 256 seconds]
hogeo_ has joined #ruby-lang
hashkey has joined #ruby-lang
_jpb_ has joined #ruby-lang
hogeo has quit [Ping timeout: 248 seconds]
bzalasky has quit [Remote host closed the connection]
<injekt> hm
__butch__ has joined #ruby-lang
ffio has joined #ruby-lang
krohrbaugh has joined #ruby-lang
vlad_starkov has joined #ruby-lang
Sambalero has joined #ruby-lang
matled- has quit [Ping timeout: 246 seconds]
krohrbaugh has quit [Client Quit]
krohrbaugh has joined #ruby-lang
<yorickpeterse> hmm
dagobah_ has quit [Remote host closed the connection]
matled has joined #ruby-lang
Sambalero has quit [Remote host closed the connection]
Sambalero has joined #ruby-lang
__butch__ has quit [Quit: Leaving.]
rippa has joined #ruby-lang
cofin has quit [Quit: cofin]
kgrz has joined #ruby-lang
Sambalero has quit [Ping timeout: 246 seconds]
__butch__ has joined #ruby-lang
gregmoreno has joined #ruby-lang
jonahR has joined #ruby-lang
_jpb_ has quit [Ping timeout: 252 seconds]
_jpb_ has joined #ruby-lang
Sambalero has joined #ruby-lang
stamina has quit [Ping timeout: 248 seconds]
headius has quit [Quit: headius]
mucker has quit [Read error: Connection reset by peer]
mucker has joined #ruby-lang
lutfidemirci has joined #ruby-lang
Sambalero has quit [Remote host closed the connection]
headius has joined #ruby-lang
headius has quit [Client Quit]
joschi has quit [Ping timeout: 260 seconds]
marr has quit [Ping timeout: 252 seconds]
joschi has joined #ruby-lang
elia has joined #ruby-lang
andrewvos has quit [Ping timeout: 248 seconds]
lutfidemirci has left #ruby-lang [#ruby-lang]
_jpb_ has quit [Ping timeout: 246 seconds]
lutfidemirci has joined #ruby-lang
_jpb_ has joined #ruby-lang
havenwood has joined #ruby-lang
enebo has quit [Quit: enebo]
pygmael has left #ruby-lang [#ruby-lang]
elia has quit [Quit: Computer has gone to sleep.]
lutfidemirci has left #ruby-lang [#ruby-lang]
lutfidemirci has joined #ruby-lang
brianpWins has joined #ruby-lang
Voker57 has quit []
Weems has joined #ruby-lang
pygmael has joined #ruby-lang
Weems has quit [Ping timeout: 246 seconds]
krohrbaugh has quit [Quit: Leaving.]
priodev has quit [Ping timeout: 245 seconds]
sepp2k has joined #ruby-lang
lutfidemirci has quit [Remote host closed the connection]
enebo has joined #ruby-lang
workmad3 has joined #ruby-lang
priodev has joined #ruby-lang
<erikh> hmmmmmm
saarinen has joined #ruby-lang
jinie_ is now known as jinie
duph has joined #ruby-lang
M_BlX has joined #ruby-lang
barttenbrinke has joined #ruby-lang
krohrbaugh has joined #ruby-lang
carloslopes has joined #ruby-lang
<darix> Cope: what should that line do anyway?
<erikh> gateway IP. I have some similar code that calculates it from the range
tonni has quit [Remote host closed the connection]
workmad3 has quit [Ping timeout: 245 seconds]
mucker has quit [Ping timeout: 246 seconds]
<darix> 1. gateway ip can be anywhere
<darix> you can use .254 too
tonni has joined #ruby-lang
<darix> and at least the ipaddress gem lets you calculate the first IP for a net object
<erikh> to_range can do that too
GarethAdams has quit [Quit: Leaving...]
<erikh> IPAddr
<darix> and uhm
GarethAdams has joined #ruby-lang
<erikh> fwiw
<erikh> there's some additional code in range_set.rb you'd want to read.
Squarepy has joined #ruby-lang
<darix> erikh: IPAddress::IPv4.new('10.0.0.0/24').first.to_s
<darix> => "10.0.0.1"
ruby-lang087 has joined #ruby-lang
havenwood has quit [Read error: Connection reset by peer]
<erikh> yeah but that means a rubygem you abslolutely don't need
<erikh> I wrote one back in 2004 too, just nobody uses it
<erikh> :(
<darix> i had stuff that worked better with it than the stdlib class
havenwood has joined #ruby-lang
<darix> and i am happy with it now
_jpb_ has quit [Ping timeout: 264 seconds]
canton7 has joined #ruby-lang
havenwood has quit [Read error: Connection reset by peer]
<darix> Cope: require 'ipaddress' ; IPAddress::IPv4.new('10.0.0.0/24').first.to_s => "10.0.0.1"
havenn_ has joined #ruby-lang
_jpb_ has joined #ruby-lang
symm- has joined #ruby-lang
publicvoid_ has joined #ruby-lang
GarethAdams has quit [Quit: Leaving...]
ruby-lang087 has quit [Ping timeout: 250 seconds]
saarinen has quit [Quit: saarinen]
jstorimer has joined #ruby-lang
roadt_ has quit [Ping timeout: 245 seconds]
MaddinXx_ has joined #ruby-lang
runeb has quit [Remote host closed the connection]
mrfelix has quit [Quit: Computer has gone to sleep.]
judofyr has joined #ruby-lang
wmoxam has quit [Ping timeout: 260 seconds]
intellitech has joined #ruby-lang
workmad3 has joined #ruby-lang
_jpb_ has quit [Ping timeout: 240 seconds]
_jpb_ has joined #ruby-lang
krohrbaugh1 has joined #ruby-lang
workmad3 has quit [Read error: Operation timed out]
enebo has quit [Quit: enebo]
krohrbaugh has quit [Ping timeout: 248 seconds]
carloslopes has quit [Remote host closed the connection]
runeb has joined #ruby-lang
runeb has quit [Remote host closed the connection]
synthetix has quit [Quit: Ex-Chat]
synthetix has joined #ruby-lang
carloslopes has joined #ruby-lang
gja has quit [Quit: This computer has gone to sleep]
tRAS has joined #ruby-lang
Sambalero has joined #ruby-lang
glebm has joined #ruby-lang
judofyr_ has joined #ruby-lang
jstorimer has quit [Remote host closed the connection]
synthetix has quit [Quit: Ex-Chat]
judofyr has quit [Ping timeout: 264 seconds]
cofin has joined #ruby-lang
krohrbaugh1 has quit [Quit: Leaving.]
wmoxam has joined #ruby-lang
krohrbaugh has joined #ruby-lang
saarinen has joined #ruby-lang
<Aloysius1> Howdy, guys. I'm having gem troubles: I've got a gem of my own making and am trying to use it in a project. I've got it in the Gemfile and it shows up as installed, but when I try to use the class I get an "Uninitialized constant ClientModule:GemClass".
<Aloysius1> So it looks like it's trying to find GemClass in the current module namespace, where it does not exist. Now, if I add 'require gem_class' at the top, I get a 'cannot load such file -- gem_class', though I see 'gem_class.rb' in the appropriate bundler directory.
havenn_ has left #ruby-lang [#ruby-lang]
havenwood has joined #ruby-lang
<Joni_79> what's the significancy of ":" before a parameter, array item or return item..? My vim knows to highlight it differently so there must be somwthing special about it..? :)
<Joni_79> eg. yield(:peanut), or else :no_block etc
<havenwood> Aloysius1: ::GemClass
<havenwood> Joni_79: It is a symbol: http://www.ruby-doc.org/core-2.0/Symbol.html
<Aloysius1> havenwood: Preface the call with ::? That doesn't seem to work.
<Joni_79> to me it seems that those look and act like strings but they don't need " " around them.. :p
<erikh> Aloysius1: it's because your file isn't being required, most likely. what directory is it in?
<Aloysius1> havenwood: (Or change the error message, except now it's not looking in ClientModule. So that's omething.)
<havenwood> Joni_79: It is an interned string.
<Aloysius1> erikh: Right, if I try to require it, I get a can't-load-it error.
<Aloysius1> But I sort of thought that was the point of gems. They're self-contained, tucked away from the projects that use them.
<erikh> what directory is it in?
<Joni_79> havenwood: moment, I'm reading documentation
<Aloysius1> /.rvm/gems/ruby-2.0.0-po/bundler/gems/gem_class
<erikh> gem_class.rb is in that directory?
<Joni_79> havenwood: what does "interned" mean in this context?
<havenwood> Joni_79: So symbols are immutable strings. You can turn a string into a symbol with #to_sym or #intern.
runeb has joined #ruby-lang
<Aloysius1> yes
<erikh> they're more than just immutable strings
<Joni_79> hmm, and the point is that a symbol with one name, is always the exact same object where ever used in the program?
<erikh> Aloysius1: ok, you need to put it in the lib/ directory underneath that.
<erikh> that should fix your require issue.
<havenwood> Joni_79: Internally, method names are stored as symbols on structs on the class. So for example: send :puts, 'hi' == puts 'hi'
<erikh> so .rvm/gems/ruby-2.0.0-po/bundler/gems/gem_class/lib
<Aloysius1> Well, that's what I thought, so I did that...but apparently it didn't get move when I bundle-updated.
<erikh> ok
<Aloysius1> so lessee...
<erikh> the other thing is that looks like an installed path
<havenwood> Joni_79: Symbols don't get GCed, etc, etc.
<erikh> are you working out of that directory?
<Aloysius1> No. Basically, I had this code that I was sharing between projects, but it was just in a directory, non-gemmed.
<Joni_79> where is that significant? I cant seem to understand where it is relevant or important to use them or how they should be used..
<Aloysius1> So I'm trying to move it into a gem.
<erikh> Aloysius1: ok, put it in lib/ wherever your repository lives
<erikh> then make a gem out of it, then install that gem
_jpb_ has quit [Ping timeout: 245 seconds]
<erikh> should fix your issues.
<havenwood> Joni_79: Most commonly you'll see them as Hash keys. Or referencing methods.
x0f has quit [Ping timeout: 246 seconds]
<Joni_79> referencing methods...? hash keys I think I know.. :)
_jpb_ has joined #ruby-lang
x0f has joined #ruby-lang
stamina has joined #ruby-lang
<Aloysius1> crap...I made a name change, I think that's the reason I'm pulling down the old un-lib-ed thing.
<Joni_79> havenwood: thank you, I'll read that.
<erikh> heh
<erikh> Aloysius1: well, yeah -- make sure it's in lib and your require will work just fine.
<erikh> so, ruby has a concept called the load path, if you're not familiar
<erikh> you can ruby -e 'p $LOAD_PATH' to see it
<erikh> these are the directories it uses to find .rb files when you use "require"
jinie is now known as jinie_
runeb has quit [Ping timeout: 245 seconds]
mrfelix has joined #ruby-lang
mrfelix has quit [Client Quit]
fenicks has joined #ruby-lang
havenwood has quit [Remote host closed the connection]
cofin has quit [Quit: cofin]
pygmael has left #ruby-lang [#ruby-lang]
publicvoid_ has quit [Ping timeout: 246 seconds]
marr has joined #ruby-lang
RickHull1 has joined #ruby-lang
henrikhodne has joined #ruby-lang
_jpb_ has quit [Ping timeout: 246 seconds]
<Aloysius1> erikh: I'm all about the $LOAD_PATH... and finally pullng down the right code, thanks for you help.
runeb has joined #ruby-lang
<erikh> np!
_jpb_ has joined #ruby-lang
cofin has joined #ruby-lang
<Aloysius1> I've been using the "version.rb" practice as well, though someone here made an argument that it was not good practice.
runeb has quit [Remote host closed the connection]
tRAS has quit [Quit: Mother, did it need to be so high?]
<Aloysius1> It does create an interesting situation, in that this current code is just a class, no module, but I've always seen the practice as "module whatever; VERSION = "1"; end".
<RickHull1> playing around with chruby, doesn't seem to play nice with bundler: https://gist.github.com/rickhull/5a9b2e156b28c6bd3f36
<RickHull1> hm, has to do with `sudo gem install bundler` vs `gem install bundler`
Pupeno has quit [Remote host closed the connection]
<RickHull1> i'd rather keep this all under user permissions. but after `gem install bundler` i have no `bundle` in my path
Rizzle has quit [Ping timeout: 252 seconds]
<RickHull1> not exactly true
saarinen has quit [Quit: saarinen]
brianpWins has quit [Quit: brianpWins]
brianpWins has joined #ruby-lang
adambeynon has joined #ruby-lang
Pupeno has joined #ruby-lang
Pupeno has joined #ruby-lang
Pupeno has quit [Changing host]
krames has quit [Ping timeout: 276 seconds]
sepp2k1 has joined #ruby-lang
barttenbrinke has quit [Remote host closed the connection]
barttenbrinke has joined #ruby-lang
diego1 has joined #ruby-lang
diego1 is now known as diegoviola
nofxx has joined #ruby-lang
nofxx has joined #ruby-lang
nofxx has quit [Changing host]
sepp2k has quit [Ping timeout: 276 seconds]
barttenbrinke has quit [Read error: Operation timed out]
scottschecter has quit [Read error: Operation timed out]
pygmael has joined #ruby-lang
Pupeno has quit [Remote host closed the connection]
brianpWins has quit [Quit: brianpWins]
brianpWins has joined #ruby-lang
saarinen has joined #ruby-lang
symm- has quit [Ping timeout: 245 seconds]
publicvoid_ has joined #ruby-lang
jstorimer has joined #ruby-lang
adambeynon has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
bgant1 has joined #ruby-lang
bgant has quit [Read error: Connection reset by peer]
pygmael has left #ruby-lang [#ruby-lang]
duph has quit [Quit: Leaving.]
justinram has joined #ruby-lang
Weems has joined #ruby-lang
yalue has quit [Quit: Leaving]
symm- has joined #ruby-lang
judofyr_ has quit [Remote host closed the connection]
judofyr has joined #ruby-lang
<Aloysius1> So, yesterday I discovered the joys of using "Process.daemon" to turn my code into a daemon, which was awesome and fairly easy...but now I have these daemons that just say "ruby" in the system monitor, and I don't see a way to change that.
swav has quit [Read error: Connection reset by peer]
swav has joined #ruby-lang
krames has joined #ruby-lang
Pupeno has joined #ruby-lang
Pupeno has joined #ruby-lang
Pupeno has quit [Changing host]
judofyr has quit [Ping timeout: 256 seconds]
carloslopes has quit [Remote host closed the connection]
<matled> Aloysius1: changing $0 might do what you want. note that this behaviour may be platform/implementation specific.
<matled> i.e. $0 = "foo" will make the ruby process show up as "foo" in ps
runeb has joined #ruby-lang
<Aloysius1> matled: I'll give it a try, thanks!
scottschecter has joined #ruby-lang
pskosinski has quit [Remote host closed the connection]
pskosinski has joined #ruby-lang
workmad3 has joined #ruby-lang
runeb has quit [Ping timeout: 241 seconds]
<Aloysius1> matled: No joy.
w1zeman1p has joined #ruby-lang
kgrz has quit [Remote host closed the connection]
<Aloysius1> matled: I notice that "irb" has a $0 of "irb" but still has "ruby" for a process name.
<matled> Aloysius1: what system are you on?
<Aloysius1> linux (mint 14)
<Aloysius1> I wonder if it's just not showing up in the Process Monitor right.
<matled> % ruby -e '$0 = "foo"; Process.daemon; sleep 30'; ps auxww|grep foo
<matled> matled 5764 0.0 0.0 29580 4200 ? Sl 21:27 0:00 foo
workmad3 has quit [Read error: Operation timed out]
<matled> not sure what system monitor is, might be true that it shows something else than ps
rippa has quit [Ping timeout: 248 seconds]
<Aloysius1> yeah, "System Monitor" gui
Uranio has quit [Quit: while you reading this, a kitty dies]
cofin has quit [Quit: cofin]
<Aloysius1> matled: OK, I'm seeing it now. Thanks!
walkslow has joined #ruby-lang
<rickhull> yeah, set $0 manually
<eam> there are two separate process fields, one is the simple command and one contains the entire argv (including argv[0])
<eam> it's possible for the command name to be different than argv[0]
<rickhull> that's what 'c' toggles in `top` ?
runeb has joined #ruby-lang
mbj has quit [Quit: leaving]
_jpb_ has quit [Ping timeout: 240 seconds]
<eam> rickhull: I believe so, yes
_jpb_ has joined #ruby-lang
Aloysius1 has quit [Remote host closed the connection]
walkslow has left #ruby-lang [#ruby-lang]
fenicks has quit [Read error: Connection reset by peer]
<eam> rickhull: on linux, /proc/stat has the name and /proc/cmdline has the entire argv
kgrz has joined #ruby-lang
Criztian has joined #ruby-lang
rsepassi has joined #ruby-lang
cofin has joined #ruby-lang
_jpb_ has quit [Ping timeout: 252 seconds]
kgrz has quit [Ping timeout: 256 seconds]
_jpb_ has joined #ruby-lang
<erikh> proc exe can be readlinked too for the bin
<erikh> sorry phone
cofin has quit [Client Quit]
scampbell has quit [Remote host closed the connection]
havenwood has joined #ruby-lang
justinra_ has joined #ruby-lang
justinram has quit [Ping timeout: 246 seconds]
cofin has joined #ruby-lang
swav has quit [Read error: Connection reset by peer]
swav has joined #ruby-lang
_jpb_ has quit [Remote host closed the connection]
fridim__ has quit [Ping timeout: 276 seconds]
_jpb_ has joined #ruby-lang
jstorime_ has joined #ruby-lang
hakunin has quit [Remote host closed the connection]
jstorimer has quit [Ping timeout: 252 seconds]
hakunin has joined #ruby-lang
rsepassi has left #ruby-lang [#ruby-lang]
workmad3 has joined #ruby-lang
s0ber_ has joined #ruby-lang
RickHull1 has quit [Quit: Leaving.]
RickHull1 has joined #ruby-lang
ia___ has joined #ruby-lang
s0ber has quit [Ping timeout: 248 seconds]
s0ber_ is now known as s0ber
SilverKey has joined #ruby-lang
hhatch has quit [Ping timeout: 246 seconds]
hakunin has quit [Ping timeout: 268 seconds]
henrikhodne has quit [Ping timeout: 276 seconds]
duph has joined #ruby-lang
MartynKeigher has quit [Ping timeout: 245 seconds]
spacesuit has quit [Quit: spacesuit]
ldnunes has quit [Quit: Leaving]
MartynKeigher has joined #ruby-lang
mbj has joined #ruby-lang
bgant1 has quit [Quit: Leaving.]
cofin has quit [Quit: cofin]
Sambalero has quit [Remote host closed the connection]
M_BlX has quit [Remote host closed the connection]
Voker57 has joined #ruby-lang
diegoviola has quit [Ping timeout: 248 seconds]
Squarepy has quit [Quit: Leaving]
zmike123 has quit [Quit: ~]
<darix> eam: /proc/cmdline is the kernel cmdline. dont you mean /proc/<pid>/cmdline ?
<eam> yeah
io_syl has quit [Ping timeout: 264 seconds]
symm-_ has joined #ruby-lang
symm- has quit [Read error: Connection reset by peer]
io_syl has joined #ruby-lang
wmoxam has quit [Ping timeout: 276 seconds]
priodev has quit [Ping timeout: 252 seconds]
priodev has joined #ruby-lang
pothibo has joined #ruby-lang
dllama has joined #ruby-lang
x0f has quit [Ping timeout: 256 seconds]
x0f has joined #ruby-lang
vlad_starkov has quit [Remote host closed the connection]
mbj has quit [Read error: Operation timed out]
vlad_starkov has joined #ruby-lang
duph has quit [Quit: Leaving.]
vlad_starkov has quit [Ping timeout: 256 seconds]
krames has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
pipework has quit [Remote host closed the connection]
pipework has joined #ruby-lang
pipework has quit [Remote host closed the connection]
mbj has joined #ruby-lang
Criztian has quit [Remote host closed the connection]
hogeo has joined #ruby-lang
kgrz has joined #ruby-lang
w1zeman1p has left #ruby-lang [#ruby-lang]
dllama has left #ruby-lang [#ruby-lang]
GarethAdams has joined #ruby-lang
hogeo_ has quit [Ping timeout: 276 seconds]
hakunin has joined #ruby-lang
w00x has quit [Ping timeout: 256 seconds]
retro|cz has joined #ruby-lang
SilverKey has quit [Quit: Zzzzzz.]
breakingthings has quit [Quit: breakingthings]
kgrz has quit [Ping timeout: 246 seconds]
jstorime_ has quit [Remote host closed the connection]
mbj has quit [Quit: Lost terminal]
RickHull1 has quit [Quit: Leaving.]
benanne has joined #ruby-lang
__butch__ has quit [Quit: Leaving.]
RickHull1 has joined #ruby-lang
workmad3 has quit [Ping timeout: 252 seconds]
philnyc has quit [Ping timeout: 256 seconds]
vlad_starkov has joined #ruby-lang
stamina has quit [Ping timeout: 246 seconds]
saarinen has quit [Quit: saarinen]
fragamus has joined #ruby-lang
saarinen has joined #ruby-lang
cored has quit [Ping timeout: 248 seconds]
joshuawscott has quit [Quit: Leaving.]
cored has joined #ruby-lang
cored has joined #ruby-lang
cored has quit [Changing host]
Wardrop has joined #ruby-lang
hashkey has quit []
nathanstitt has quit [Quit: I growing sleepy]
jstorimer has joined #ruby-lang
_jpb_ has quit [Ping timeout: 240 seconds]
_jpb_ has joined #ruby-lang
duph has joined #ruby-lang
postmodern has joined #ruby-lang
ffio has quit [Quit: WeeChat 0.4.1]
hashkey has joined #ruby-lang
blargh has joined #ruby-lang
_jpb_ has quit [Ping timeout: 268 seconds]
_jpb_ has joined #ruby-lang
blargh has left #ruby-lang [#ruby-lang]
MaddinXx_ has quit [Remote host closed the connection]
blarghlarghl has joined #ruby-lang
<blarghlarghl> Hi all. I have a Set of classes, some of which are anonymous (ie they show up as #<Class:0x....> when printing the Set).
<blarghlarghl> How can I separate those from named classes?
<drbrain> blarghlarghl: Class#name will be nil for anonymous classes
<blarghlarghl> drbrain: still gives me #<Class:0x007fbdd28e0778>
SilverKey has joined #ruby-lang
<injekt> actually in 187 it'll be ""
<injekt> I think
<drbrain> blarghlarghl: if you want to separate them, use #partition
lutfidemirci has joined #ruby-lang
<drbrain> or #select
<drbrain> they still won't have names until you give them names
<blarghlarghl> drbrain: how do you mean?
<blarghlarghl> drbrain: i don't want to have them in the list at all
<blarghlarghl> drbrain: but they're there, and i can't get rid of them without ridiculous things like regexing for #<Class because class.name also gives me #<Class...>
<drbrain> [Class.new, Class.new, Array, Hash].select { |c| c.name }
runeb has quit [Remote host closed the connection]
<blarghlarghl> drbrain: hm, okay, something else is going on then, because that example works, but mine doesn't. hold on a second.
<injekt> 18>> Class.name.name
<eval-in> injekt => undefined method `name' for "Class":String (NoMethodError) ... (https://eval.in/35404)
<injekt> oops
<injekt> 18>> Class.new.name
<eval-in> injekt => "" (https://eval.in/35405)
<injekt> sigh
<drbrain> blarghlarghl: there's also this possible problem: p Class.new, Class.new.new
<drbrain> anonymous class vs instance of anonymous class
<drbrain> injekt: ha! I forgot that changed
<injekt> drbrain: yeah, should have always been nil tbh
wallerdev has quit [Quit: wallerdev]
wallerdev has joined #ruby-lang
<injekt> drbrain: are you going to arrrrcamp?
<blarghlarghl> drbrain: this is what the code is calling in the end
<blarghlarghl> drbrain: require 'set'; module ObjectSpace; def self.classes; rs = Set.new; ObjectSpace.each_object(Class).each { |klass| rs << klass }; rs; end; end
andrewvos has joined #ruby-lang
<blarghlarghl> drbrain: and then as per you i do ObjectSpace.classes.select { |c| c.name }
<blarghlarghl> drbrain: (that snippet is simplified from padrino-core, so i'm not to blame for it.)
hashkey has quit []
<blarghlarghl> drbrain: and i have to admit i'm not good enough to understand exactly what could be going on with these classes to be able to make an informed guess.
hapster has joined #ruby-lang
<drbrain> I wonder why they use a Set, it's already going to be unique
<blarghlarghl> drbrain: either way for some reason it chokes on these anonymous classes. not sure why it does that only in my app and now in everyone else's, either, but it should be able to handle anonymous classes if they exist even in a regular irb shell, so.
<andrewvos> HELLO
sepp2k1 has quit [Quit: Leaving.]
tylergillies is now known as amanaplanacanalp
amanaplanacanalp is now known as tylergillies
glebm has quit [Ping timeout: 256 seconds]
RickHull1 has quit [Quit: Leaving.]
RickHull1 has joined #ruby-lang
glebm has joined #ruby-lang
pipework has joined #ruby-lang
dhruvasagar has quit [Ping timeout: 240 seconds]
fosky has joined #ruby-lang
hashkey has joined #ruby-lang
firstdayonthejob has quit [Ping timeout: 256 seconds]
<blarghlarghl> drbrain: huh
duph has quit [Ping timeout: 246 seconds]
<blarghlarghl> drbrain: class.name.inspect actually gives me #<Class:0x007f86f0cf2898>::InitError
<drbrain> heh, it's a named subclass of an anonymous class
ia___ has quit [Quit: ia___]
<blarghlarghl> drbrain: jesus, this is a clusterfuck.
<drbrain> I wonder how you create that
<blarghlarghl> drbrain: I wonder how you get rid of it. I just don't care, I just want it to die already :(
<blarghlarghl> drbrain: you can tell I've been working on this for six hours :)
cored has quit [Read error: Operation timed out]
cored has joined #ruby-lang
cored has joined #ruby-lang
cored has quit [Changing host]
_jpb_ has quit [Ping timeout: 240 seconds]
<erikh> hi friends
<rue> Hi friend, hi friend, hi friend
_jpb_ has joined #ruby-lang
<injekt> ohi
<erikh> is that a fish
<erikh> ohi
firstdayonthejob has joined #ruby-lang
Weems has quit [Ping timeout: 256 seconds]
andrewvos has quit [Ping timeout: 256 seconds]
krombr has joined #ruby-lang
stamina has joined #ruby-lang
krombr has quit [Client Quit]
havenwood has quit [Remote host closed the connection]
hapster has quit [Quit: Leaving]
jstorimer has quit [Remote host closed the connection]
jstorimer has joined #ruby-lang
<rickhull> don't play koi
mootpointer has joined #ruby-lang
justinra_ has quit [Remote host closed the connection]
zomgbie has quit [Ping timeout: 264 seconds]
andrewvos has joined #ruby-lang
tomzx_mac has joined #ruby-lang
_jpb_ has quit [Ping timeout: 252 seconds]
hogeo has quit [Remote host closed the connection]
havenwood has joined #ruby-lang
mootpointer has quit [Read error: Connection reset by peer]
nathanstitt has joined #ruby-lang
benanne has quit [Quit: kbai]
_jpb_ has joined #ruby-lang
mdedetrich has joined #ruby-lang
jstorimer has quit [Remote host closed the connection]
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
stamina has quit [Ping timeout: 256 seconds]
verto has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
verto has joined #ruby-lang