havenwood changed the topic of #ruby to: Rules & more: http://ruby-community.com || Can't talk? Register/identify with Nickserv first! || Ruby 2.2.3; 2.1.7; 2.0.0-p647: https://ruby-lang.org || Paste >3 lines of text on https://gist.github.com || log @ http://irclog.whitequark.org/ruby/
subshad has joined #ruby
evanjs has joined #ruby
tkuchiki has joined #ruby
tkuchiki has quit [Remote host closed the connection]
scripore has quit [Quit: This computer has gone to sleep]
nettoweb has joined #ruby
j4cknewt_ has joined #ruby
lipoqil has joined #ruby
evanjs has quit [Ping timeout: 244 seconds]
bigmac_ has quit [Ping timeout: 272 seconds]
j4cknewt has quit [Ping timeout: 240 seconds]
scripore has joined #ruby
sanjayu has quit [Ping timeout: 272 seconds]
tkuchiki has joined #ruby
qixiaobin has joined #ruby
quazimodo has quit [Ping timeout: 240 seconds]
devoldmx has joined #ruby
tkuchiki has quit [Remote host closed the connection]
tkuchiki has joined #ruby
havenwood has quit [Quit: Textual IRC Client: www.textualapp.com]
ruby-lang331 has quit [Ping timeout: 246 seconds]
qixiaobin has quit [Ping timeout: 265 seconds]
bigmac_ has joined #ruby
sferik has joined #ruby
exadeci has quit [Quit: Connection closed for inactivity]
santi_coma has joined #ruby
leitz has quit [Quit: Nappy time]
ItSANgo has joined #ruby
skweek has joined #ruby
ptierno has quit [Ping timeout: 255 seconds]
bronson has joined #ruby
bigmac_ has quit [Ping timeout: 240 seconds]
VeryBewitching has joined #ruby
enders has joined #ruby
enders has left #ruby [#ruby]
tomchapin has joined #ruby
bronson has quit [Ping timeout: 250 seconds]
Voker57 has quit [Read error: Connection reset by peer]
maletor has quit [Quit: Computer has gone to sleep.]
FrankD has quit [Ping timeout: 265 seconds]
subshad has quit [Ping timeout: 246 seconds]
FrankD has joined #ruby
FrankD has quit [Changing host]
FrankD has joined #ruby
tomchapin has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
jun_ has quit [Remote host closed the connection]
marr has quit []
jun_ has joined #ruby
jun_ has quit [Remote host closed the connection]
maokomioko has joined #ruby
subshad has joined #ruby
jun_ has joined #ruby
heftig has quit [Remote host closed the connection]
heftig has joined #ruby
sferik has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ericjphillips has joined #ruby
bigmac_ has joined #ruby
RegulationD has joined #ruby
swgillespie has joined #ruby
RegulationD has quit [Ping timeout: 272 seconds]
Rollabunna has joined #ruby
enders has joined #ruby
maikowblue has quit [Quit: .]
swgillespie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
kayloos has joined #ruby
Rollabunna has quit [Ping timeout: 255 seconds]
Rutix has quit []
baweaver has joined #ruby
blackmesa has joined #ruby
swgillespie has joined #ruby
kalusn has quit [Ping timeout: 268 seconds]
Eddieh_ has left #ruby ["Textual IRC Client: www.textualapp.com"]
symm- has joined #ruby
swgillespie has quit [Ping timeout: 252 seconds]
blackmesa has quit [Ping timeout: 240 seconds]
solocshaw1 has joined #ruby
Rickmasta has joined #ruby
solocshaw has quit [Ping timeout: 240 seconds]
solocshaw1 is now known as solocshaw
EllisTAA has joined #ruby
stardiviner has joined #ruby
soulcake has quit [Quit: Quack.]
sepp2k has quit [Read error: Connection reset by peer]
deject3d has quit [Quit: Computer has gone to sleep.]
Exponential has joined #ruby
EllisTAA has quit [Client Quit]
EllisTAA has joined #ruby
platzhirsch has left #ruby [#ruby]
bigmac_ has quit [Ping timeout: 268 seconds]
<devbug> accidental commas man, accidental commas
platzhirsch has joined #ruby
minimalism has quit [Quit: leaving]
bkulbida has joined #ruby
rrichardsr3 has joined #ruby
nettoweb has quit [Read error: Connection reset by peer]
atomical has joined #ruby
bigmac_ has joined #ruby
minimalism has joined #ruby
bruno- has quit [Ping timeout: 255 seconds]
agent_white has quit [Quit: gnightYouBeautifulFuckers]
bronson has joined #ruby
RainBowww has joined #ruby
SCHAAP137 has quit [Quit: Leaving]
maokomioko has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
platzhirsch has quit [Ping timeout: 260 seconds]
iateadonut has joined #ruby
bronson has quit [Ping timeout: 264 seconds]
minimalism has quit [Quit: leaving]
fullofcaffeine has quit [Remote host closed the connection]
kayloos has quit [Remote host closed the connection]
yashinbasement has joined #ruby
mattprelude has quit [Ping timeout: 244 seconds]
fullofcaffeine has joined #ruby
maletor has joined #ruby
fullofca_ has joined #ruby
fullofcaffeine has quit [Read error: Connection reset by peer]
wookiehangover has quit [Ping timeout: 246 seconds]
Pathfinder_ has joined #ruby
Pathfinder has quit [Ping timeout: 250 seconds]
swgillespie has joined #ruby
wookiehangover has joined #ruby
shirt has joined #ruby
<shirt> why doesn't <% 'hi' -%> work in erb?
baweaver has quit [Remote host closed the connection]
<shirt> $ echo '<%= "hi" -%>' | erb
maletor has quit [Quit: Computer has gone to sleep.]
RainBowww has left #ruby ["Leaving"]
EXID123_ has quit [Ping timeout: 250 seconds]
asxbr has joined #ruby
EXID123 has quit [Ping timeout: 250 seconds]
<darix> shirt: it should work with the = but not without it
<shirt> doesn't work for me, with or without =
karapetyan has joined #ruby
<darix> what error do you get?
<darix> that - at the end?
<darix> that is not in plain erb. you need erubis for that.
<shirt> oh
<shirt> how can i prevent a trailing line with plain erb?
<darix> dunno
<darix> erubis isnt such a big dependency :)
stamina has quit [Ping timeout: 240 seconds]
karapetyan has quit [Ping timeout: 246 seconds]
<shirt> prefer not to use any dependencies
santi_coma has quit [Quit: (null)]
varunwachaspati has joined #ruby
hays has quit [Ping timeout: 244 seconds]
<darix> if you render in your script and not with echo | erb you could use gsub on the output
someguy has joined #ruby
voltalio has joined #ruby
voltalio has quit [Client Quit]
someguy_ has joined #ruby
EllisTAA has quit [Quit: EllisTAA]
<someguy_> hello
evanjs has joined #ruby
<someguy_> hello?
DrCode has quit [Remote host closed the connection]
evanjs has quit [Ping timeout: 244 seconds]
gusTester has joined #ruby
yxhuvud has quit [Ping timeout: 246 seconds]
<pwnd_nsfw> hello?
<pwnd_nsfw> hello!
swgillespie has left #ruby ["Textual IRC Client: www.textualapp.com"]
allomov_ has joined #ruby
rrichard_ has joined #ruby
Azure has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
allomov has quit [Ping timeout: 260 seconds]
rrichardsr3 has quit [Ping timeout: 255 seconds]
<shevy> darix what window manager are you using?
moeabdol1 has quit [Ping timeout: 255 seconds]
<darix> shevy: plain gnome 3
<shevy> ruby-gnome as well?
<darix> had no need for that yet
ericjphillips has quit [Quit: Leaving.]
<someguy_> I'm trying to set up my IRC client textual and I can't seem to figure it out.
minimalism has joined #ruby
<shevy> darix :(
<shevy> someguy_ did you not say so a few million times... stop webchatting, get a real client!
tsujp has quit [Quit: tsujp is snoozing]
charliesome has joined #ruby
pontiki has joined #ruby
<someguy_> shevy, I must be using the same name that someone else used on here a bit ago. I just got on. I remember your name. You used to help me quite a bit back in may.
noethics has quit [Quit: Leaving]
someguy is now known as that1guy
jun_ has quit [Remote host closed the connection]
Pathfinder_ has quit [Remote host closed the connection]
tlolczyk_ has quit [Quit: Leaving]
nettoweb has joined #ruby
skweek has quit [Remote host closed the connection]
rrichard_ has quit [Quit: The road to hell is paved with good intentions...]
yeticry has quit [Read error: Connection reset by peer]
arescorpio has joined #ruby
`tim` has joined #ruby
RegulationD has joined #ruby
yeticry has joined #ruby
that1guy has left #ruby ["Textual IRC Client: www.textualapp.com"]
that1guy has joined #ruby
that1guy has left #ruby ["Textual IRC Client: www.textualapp.com"]
RegulationD has quit [Ping timeout: 246 seconds]
Rollabunna has joined #ruby
houhoulis has quit [Remote host closed the connection]
yokel has quit [Remote host closed the connection]
Rollabunna has quit [Ping timeout: 268 seconds]
charliesome has quit [Ping timeout: 240 seconds]
charliesome has joined #ruby
fullofca_ has quit [Remote host closed the connection]
dikaio has joined #ruby
symm- has quit [Quit: Leaving...]
charliesome has quit [Ping timeout: 265 seconds]
solocshaw has quit [Ping timeout: 240 seconds]
willard has joined #ruby
charliesome has joined #ruby
dikaio has quit [Client Quit]
dikaio has joined #ruby
fullofcaffeine has joined #ruby
mrtomme has quit [Ping timeout: 264 seconds]
michaeldeol has joined #ruby
mrtomme has joined #ruby
DrCode has joined #ruby
willard has quit [Quit: Textual IRC Client: www.textualapp.com]
willardg has joined #ruby
gener1c has quit [Ping timeout: 264 seconds]
willardg has left #ruby [#ruby]
willardg has joined #ruby
Tempesta has quit [Ping timeout: 240 seconds]
decoponio has joined #ruby
braincrash has quit [Quit: bye bye]
willardg has left #ruby [#ruby]
rrichardsr3 has joined #ruby
Tempesta has joined #ruby
gener1c has joined #ruby
dikaio has quit [Quit: ........]
Kallis has quit [Read error: Connection reset by peer]
willardg has joined #ruby
willardg has left #ruby [#ruby]
willardg has joined #ruby
ekain has quit [Quit: Textual IRC Client: www.textualapp.com]
dikaio has joined #ruby
Exponential has quit [Quit: Textual IRC Client: www.textualapp.com]
<willardg> Hello!
<dikaio> .
willardg has left #ruby ["Textual IRC Client: www.textualapp.com"]
[k- has joined #ruby
bkulbida has quit [Ping timeout: 246 seconds]
someguy_ has quit [Quit: Page closed]
jenrzzz has joined #ruby
braincrash has joined #ruby
roxtrongo has joined #ruby
symm- has joined #ruby
willardg has joined #ruby
stardiviner has quit [Ping timeout: 265 seconds]
bronson has joined #ruby
joufflu has joined #ruby
joufflu has quit [Max SendQ exceeded]
joufflu has joined #ruby
willardg has left #ruby ["Textual IRC Client: www.textualapp.com"]
willardg has joined #ruby
joufflu has quit [Max SendQ exceeded]
willardg has quit [Quit: Textual IRC Client: www.textualapp.com]
joufflu has joined #ruby
jenrzzz has quit [Ping timeout: 265 seconds]
willardg has joined #ruby
gusTester has left #ruby [#ruby]
willardg has quit [Client Quit]
bronson has quit [Ping timeout: 250 seconds]
qixiaobin has joined #ruby
tw1sted has quit [Remote host closed the connection]
jun_ has joined #ruby
Oka has quit [Quit: o/]
fedexo has joined #ruby
michaeldeol has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
gix has quit [Ping timeout: 260 seconds]
qixiaobin has quit [Ping timeout: 240 seconds]
dorei has quit []
nanoz has joined #ruby
gix has joined #ruby
thejamespinto has quit [Ping timeout: 240 seconds]
darkf has joined #ruby
baweaver has joined #ruby
UtkarshRay has joined #ruby
thejamespinto has joined #ruby
rrichardsr3 has quit [Quit: The road to hell is paved with good intentions...]
tw1sted has joined #ruby
Rickmasta has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
The_Phoenix has joined #ruby
The_Phoenix has quit [Max SendQ exceeded]
thejamespinto has quit [Read error: Connection reset by peer]
DrCode has quit [Quit: ZNC - http://znc.in]
willardg has joined #ruby
DrCode has joined #ruby
rushed has quit [Quit: rushed]
Rickmasta has joined #ruby
linocisco has joined #ruby
ELLIOTTCABLE has quit [Quit: Connection closed for inactivity]
rushed has joined #ruby
houhoulis has joined #ruby
keen_________ has joined #ruby
keen________ has quit [Ping timeout: 272 seconds]
glowcoil has quit [Quit: Connection closed for inactivity]
rrichardsr3 has joined #ruby
ghostlines has joined #ruby
iateadonut has quit [Quit: Leaving.]
rrichardsr3 has quit [Max SendQ exceeded]
rrichardsr3 has joined #ruby
cih has quit [Remote host closed the connection]
decoponio has quit [Ping timeout: 252 seconds]
stardiviner has joined #ruby
willardg has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
thejamespinto has joined #ruby
rrichardsr3 has quit [Max SendQ exceeded]
rrichardsr3 has joined #ruby
rrichardsr3 has quit [Max SendQ exceeded]
Igorshp_ has joined #ruby
fedexo has quit [Ping timeout: 240 seconds]
evanjs has joined #ruby
rrichardsr3 has joined #ruby
dcarmich has quit [Quit: Textual IRC Client: www.textualapp.com]
Igorshp has quit [Ping timeout: 250 seconds]
tw1sted has quit [Remote host closed the connection]
evanjs has quit [Ping timeout: 244 seconds]
ghostlines has quit [Quit: Textual IRC Client: www.textualapp.com]
rushed has quit [Quit: rushed]
bruno- has joined #ruby
enders has quit [Remote host closed the connection]
karapetyan has joined #ruby
shirt has quit [Ping timeout: 256 seconds]
rushed has joined #ruby
karapetyan has quit [Ping timeout: 240 seconds]
bruno- has quit [Ping timeout: 244 seconds]
phatypus has joined #ruby
corpsicle has quit [Ping timeout: 256 seconds]
decoponio has joined #ruby
corpsicle has joined #ruby
bronson has joined #ruby
Rollabunna has joined #ruby
phatypus has quit [Quit: .>]
phatypus has joined #ruby
nahtnam has joined #ruby
bronson has quit [Ping timeout: 268 seconds]
symm- has quit [Ping timeout: 246 seconds]
psy_ has quit [Read error: Connection reset by peer]
rrichardsr3 has quit [Quit: The road to hell is paved with good intentions...]
minimalism has quit [Quit: leaving]
psy_ has joined #ruby
atomical has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
sdothum has quit [Quit: ZNC - 1.6.0 - http://znc.in]
bnizzle has joined #ruby
roxtrongo has quit [Ping timeout: 240 seconds]
minimalism has joined #ruby
mghaig has joined #ruby
devoldmx has quit [Remote host closed the connection]
RegulationD has joined #ruby
roxtrongo has joined #ruby
rushed has quit [Quit: rushed]
davedev24 has quit [Remote host closed the connection]
willardg has joined #ruby
RegulationD has quit [Ping timeout: 240 seconds]
mghaig has quit []
mghaig has joined #ruby
craysiii has joined #ruby
mghaig has quit [Client Quit]
nettoweb has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
rbennacer has joined #ruby
rushed has joined #ruby
craysiii has quit [Remote host closed the connection]
nyandoge has quit [Ping timeout: 246 seconds]
nyandoge has joined #ruby
pizzaops has quit [Ping timeout: 240 seconds]
pizzaops has joined #ruby
nahtnam has quit [Ping timeout: 264 seconds]
dvlcloud has quit [Ping timeout: 268 seconds]
jdawgaz has joined #ruby
dvlcloud has joined #ruby
nahtnam has joined #ruby
anyway has joined #ruby
Guest36 has joined #ruby
<anyway> hey all
lurkmaster has joined #ruby
bb010g has joined #ruby
subshad has quit [Ping timeout: 272 seconds]
djbkd has joined #ruby
anyway has quit [Quit: Page closed]
wldcordeiro has joined #ruby
<[k-> heeeellllooooo
<lurkmaster> hi
tw1sted has joined #ruby
FernandoBasso has quit [Quit: WeeChat 1.3]
beauby has joined #ruby
rbennacer has quit [Remote host closed the connection]
Rickmasta has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
bronson has joined #ruby
Rickmasta has joined #ruby
Anti-Pizza has joined #ruby
jun_ has quit [Remote host closed the connection]
amystephen has quit [Quit: amystephen]
gustav_ has joined #ruby
yardenbar has joined #ruby
gustav_ has quit [Remote host closed the connection]
bronson has quit [Ping timeout: 260 seconds]
j4cknewt has joined #ruby
pen has quit []
renderfu_ has joined #ruby
j4cknewt_ has quit [Ping timeout: 240 seconds]
armyriad has quit [Ping timeout: 265 seconds]
armyriad has joined #ruby
renderfu_ has quit [Ping timeout: 265 seconds]
jdawgaz has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
arescorpio has quit [Quit: Leaving.]
beauby has quit [Ping timeout: 260 seconds]
toretore has quit [Read error: No route to host]
Soda has quit [Remote host closed the connection]
devoldmx has joined #ruby
pyon has quit [Quit: Seasons will pass you by... I get up... I get down...]
Guest36 has quit [Remote host closed the connection]
Musashi007 has joined #ruby
Musashi007 has quit [Client Quit]
jto has joined #ruby
devoldmx has quit [Ping timeout: 265 seconds]
shinnya has quit [Ping timeout: 272 seconds]
bnizzle has quit [Read error: Connection reset by peer]
saddad has quit [Quit: WeeChat 1.4-dev]
linocisco has quit [Quit: Leaving]
fullofcaffeine has quit [Remote host closed the connection]
yfeldblum has quit [Ping timeout: 240 seconds]
abuzze has joined #ruby
abuzze has quit [Remote host closed the connection]
scripore has quit [Quit: This computer has gone to sleep]
evanjs has joined #ruby
jun_ has joined #ruby
evanjs has quit [Ping timeout: 244 seconds]
sanjayu has joined #ruby
qixiaobin has joined #ruby
NeverDie has quit [Quit: http://radiux.io/]
rippa has joined #ruby
favadi has joined #ruby
qixiaobin has quit [Ping timeout: 268 seconds]
dionysus69 has joined #ruby
`based_pdev` has quit [Read error: Connection reset by peer]
fullofcaffeine has joined #ruby
bronson has joined #ruby
`based_pdev` has joined #ruby
gustav_ has joined #ruby
bronson has quit [Ping timeout: 260 seconds]
qixiaobin has joined #ruby
qixiaobin has quit [Client Quit]
zenguy_pc has quit [Read error: Connection reset by peer]
gustav_ has quit [Ping timeout: 250 seconds]
dionysus69 has quit [Ping timeout: 268 seconds]
willardg has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
blackmesa has joined #ruby
lyuben_ has joined #ruby
lyuben_ has quit [Client Quit]
lyuben_ has joined #ruby
karapetyan has joined #ruby
RegulationD has joined #ruby
devoldmx has joined #ruby
ItSANgo has quit [Ping timeout: 268 seconds]
blackmesa has quit [Ping timeout: 246 seconds]
asxbr has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
DoYouKnow has joined #ruby
karapetyan has quit [Ping timeout: 272 seconds]
bluOxigen has joined #ruby
RegulationD has quit [Ping timeout: 264 seconds]
devoldmx has quit [Ping timeout: 272 seconds]
TomyLobo has joined #ruby
fullofcaffeine has quit [Remote host closed the connection]
freezevee has joined #ruby
fullofcaffeine has joined #ruby
niko has joined #ruby
freezeve_ has joined #ruby
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #ruby
fullofcaffeine has quit [Remote host closed the connection]
jamesaxl has joined #ruby
fullofcaffeine has joined #ruby
zenguy_pc has joined #ruby
favadi has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
fullofcaffeine has quit [Remote host closed the connection]
ereslibre has quit [Read error: Connection reset by peer]
ereslibre has joined #ruby
freezevee has quit [Ping timeout: 256 seconds]
swgillespie has joined #ruby
zenguy_pc has quit [Max SendQ exceeded]
zenguy_pc has joined #ruby
lyuben_ has quit [Quit: This computer has gone to sleep]
favadi has joined #ruby
swgillespie has quit [Client Quit]
dionysus69 has joined #ruby
swgillespie has joined #ruby
zenguy_pc has quit [Max SendQ exceeded]
zenguy_pc has joined #ruby
n008f4g_ has joined #ruby
lyuben_ has joined #ruby
lyuben_ has quit [Client Quit]
zenguy_pc has quit [Read error: Connection reset by peer]
Anti-Pizza has quit [Read error: Connection reset by peer]
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
bnizzle has joined #ruby
santi_coma has joined #ruby
charliesome has joined #ruby
rushed has quit [Quit: rushed]
favadi has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
j4cknewt has quit [Remote host closed the connection]
bubbys has quit [Ping timeout: 268 seconds]
charliesome has quit [Client Quit]
swgillespie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
pyon has joined #ruby
ElvanorMoscow has joined #ruby
blueOxigen has joined #ruby
bnizzle has quit [Client Quit]
bluOxigen has quit [Ping timeout: 272 seconds]
bnizzle has joined #ruby
charliesome has joined #ruby
amystephen has joined #ruby
devbug_ has joined #ruby
arup_r has joined #ruby
`based_pdev` has quit [Read error: Connection reset by peer]
amystephen has quit [Ping timeout: 252 seconds]
`based_pdev` has joined #ruby
nahtnam has quit [Quit: Connection closed for inactivity]
lurkmaster has quit [Quit: Textual IRC Client: www.textualapp.com]
j4cknewt has joined #ruby
devbug has quit [Ping timeout: 244 seconds]
zenguy_pc has joined #ruby
howdoi has joined #ruby
nanoz has quit [Ping timeout: 250 seconds]
phatypus has quit [Quit: .>]
bronson has joined #ruby
ElvanorMoscow has quit [Ping timeout: 246 seconds]
bubbys has joined #ruby
cih has joined #ruby
yfeldblum has joined #ruby
armyriad has quit [Ping timeout: 250 seconds]
ruby-lang349 has joined #ruby
ruby-lang349 has quit [Client Quit]
vasilakisfil has joined #ruby
armyriad has joined #ruby
bronson has quit [Ping timeout: 255 seconds]
bruno- has joined #ruby
ledestin has joined #ruby
radgeRayden has quit [Ping timeout: 265 seconds]
ElvanorMoscow has joined #ruby
baweaver has quit [Remote host closed the connection]
wildlander has quit [Quit: Saliendo]
sabrehagen has quit [Remote host closed the connection]
bruno- has quit [Ping timeout: 240 seconds]
pontiki has quit [Quit: bedtime]
Flipez has quit [Quit: ZNC 1.6.1 - http://znc.in]
Flipez has joined #ruby
codenapper has joined #ruby
`tim` has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
nanoz has joined #ruby
favadi has joined #ruby
agdv has joined #ruby
favadi has quit [Max SendQ exceeded]
DoubleMalt has joined #ruby
radgeRayden has joined #ruby
qwertme has joined #ruby
fantazo has joined #ruby
araujo_ has quit [Quit: Leaving]
jun_ has quit [Remote host closed the connection]
CloCkWeRX has quit [Quit: Leaving.]
poguez_ has joined #ruby
phatypus has joined #ruby
agdv has quit [Quit: Konversation terminated!]
phatypus has quit [Client Quit]
blackmesa has joined #ruby
roxtrongo has quit [Remote host closed the connection]
yashinbasement has quit [Quit: Leaving]
blackmes1 has joined #ruby
evanjs has joined #ruby
coffeecupp has joined #ruby
ereslibre has quit [Ping timeout: 264 seconds]
karapetyan has joined #ruby
djbkd has quit [Quit: My people need me...]
blackmesa has quit [Ping timeout: 252 seconds]
Jackneill has joined #ruby
evanjs has quit [Ping timeout: 244 seconds]
VeryBewitching has quit [Quit: Konversation terminated!]
vasilakisfil has quit [Remote host closed the connection]
vasilakisfil has joined #ruby
sferik has joined #ruby
ElvanorMoscow has quit [Quit: Konversation terminated!]
coffeecupp has quit [Quit: Lost terminal]
naftilos76 has joined #ruby
karapetyan has quit [Remote host closed the connection]
corpsicle has quit [Ping timeout: 272 seconds]
corpsicle has joined #ruby
face has joined #ruby
karapetyan has joined #ruby
houhoulis has quit [Remote host closed the connection]
faces has quit [Ping timeout: 272 seconds]
gustav_ has joined #ruby
haroldwu has quit [Read error: Connection reset by peer]
bronson has joined #ruby
Rollabunna has quit [Quit: Leaving...]
ereslibre has joined #ruby
gustav_ has quit [Ping timeout: 250 seconds]
bronson has quit [Ping timeout: 246 seconds]
qwertme has quit [Remote host closed the connection]
codenapp_ has joined #ruby
tmtwd has quit [Ping timeout: 240 seconds]
codenapper has quit [Ping timeout: 264 seconds]
shinnya has joined #ruby
maokomioko has joined #ruby
cih has quit [Remote host closed the connection]
Mattacker has joined #ruby
Anti-Pizza has joined #ruby
lolmaus_ has quit [Read error: Connection reset by peer]
lolmaus_ has joined #ruby
davedev24 has joined #ruby
RegulationD has joined #ruby
sferik has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
devoldmx has joined #ruby
<Mattacker> http://pastebin.com/hmzjuLH8 <-- check this paste ! and help me out...
<ruboto> Mattacker, we in #ruby do not like pastebin.com, it loads slowly for most, has ads which are distracting and has terrible formatting. Please use https://gist.github.com
Mattacker has left #ruby [#ruby]
iyan has joined #ruby
RegulationD has quit [Ping timeout: 240 seconds]
devoldmx has quit [Ping timeout: 252 seconds]
ruurd has joined #ruby
<[k-> !ops Mattacker's link
<[k-> !op
<[k-> !ops
<jhass> they're gone already
davedev24 has quit [Remote host closed the connection]
<ruboto> fflush, banisterfiend, apeiros, seanstickle, Mon_Ouie, Radar, Havenn, zzak, jhass, sevenseacat, miah, workmad3, Coraline, drbrain, zenspider, slyphon, rubyhacker1, Aria, ljarvis, baweaver, Adaedra
<ruboto> fflush, banisterfiend, apeiros, seanstickle, Mon_Ouie, Radar, Havenn, zzak, jhass, sevenseacat, miah, workmad3, Coraline, drbrain, zenspider, slyphon, rubyhacker1, Aria, ljarvis, baweaver, Adaedra
<[k-> what took so looooong
<jhass> your face
<[k-> ha.
araujo has joined #ruby
vasilakisfil has quit [Ping timeout: 248 seconds]
ledestin has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
bb010g has quit [Quit: Connection closed for inactivity]
r0x0rZ has joined #ruby
<r0x0rZ> is there a channel to discuss Rails or can I do it here?
<jhass> ?rails
<ruboto> Please join #RubyOnRails for Rails questions. You need to be identified with NickServ, see /msg NickServ HELP
<r0x0rZ> thx
SCHAAP137 has joined #ruby
cih has joined #ruby
roxtrongo has joined #ruby
Rezmond has joined #ruby
karapetyan has quit [Remote host closed the connection]
platzhirsch has joined #ruby
tmtwd has joined #ruby
santi_coma has quit [Quit: (null)]
tejasmanohar has quit [Quit: tejasmanohar]
roxtrongo has quit [Ping timeout: 240 seconds]
lkba_ has quit [Quit: Bye]
cih has quit [Remote host closed the connection]
justusjonas74 has joined #ruby
blackmes1 has quit [Ping timeout: 240 seconds]
joufflu has quit [Ping timeout: 246 seconds]
marr has joined #ruby
nofxx has joined #ruby
justusjonas74 has quit [Quit: Leaving...]
armyriad has quit [Quit: Leaving]
tkuchiki has quit [Remote host closed the connection]
Rezmond has quit [Ping timeout: 246 seconds]
bigmac__ has joined #ruby
EasyCo has quit [Quit: Connection closed for inactivity]
ruurd has quit [Quit: ZZZzzz…]
ruurd has joined #ruby
Soda has joined #ruby
bigmac_ has quit [Ping timeout: 244 seconds]
<r0x0rZ> sometimes when ppl talk about classes in ruby I see them using `#`. Does this mean that for example Class1#Class2 = Class1::Class2? Or does # notate class method?
Rickmasta has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
yxhuvud has joined #ruby
bruno- has joined #ruby
tomphp has joined #ruby
michael_mbp has quit [Excess Flood]
kalusn has joined #ruby
<jhass> r0x0rZ: it notes an instance method actually
<jhass> and thus I'm sure you're seeing SomeClass#foo and not SomeClass#Foo
<r0x0rZ> oh ok so if I do `b = 'hello'` I could write b#empty? for example?
<jhass> SomeClass::foo denotes a class method
<jhass> no, it's purely a documentation convention
michael_mbp has joined #ruby
kalusn has quit [Remote host closed the connection]
ruurd has quit [Quit: ZZZzzz…]
<jhass> SomceClass::Foo is a nested class/module/constant
tkuchiki has joined #ruby
<r0x0rZ> jhass: ok got it. strange why don't ppl use dot notation? makes more sense
<jhass> to disambiguate methods you call on the class from methods you call on instances of it
<r0x0rZ> jhass: ah i see
<jhass> Let's take File::write vs File#write for example
<r0x0rZ> jhass: basically notes diff between Class and Instance methods
<jhass> first is File.write("foo", "bar"), second is File.open("foo") {|f| f.write("bar" }
<jhass> yeah
dikaio has quit [Quit: ........]
r0x0rZ has quit []
yfeldblum has quit [Ping timeout: 240 seconds]
radgeRayden has quit [Ping timeout: 244 seconds]
Phil-Work has quit [Ping timeout: 240 seconds]
fantazo has quit [Quit: Verlassend]
ruurd has joined #ruby
Phil-Work has joined #ruby
CloCkWeRX has joined #ruby
<apeiros> note that Foo::Bar *can* be a class method too. though, it's rare to have methods start with an uppercase letter (personally I'd add () to make it clear)
tmtwd has quit [Ping timeout: 265 seconds]
<apeiros> when calling, methods with an uppercase first letter must be unambiguous anyway. i.e. either explicit parens, or params being passed.
beast has joined #ruby
bruno- has quit [Ping timeout: 240 seconds]
<jhass> you still need a smart join/part filter :P
<jhass> what's up with old ruboto being so laggy recently though?
einarj has joined #ruby
CloCkWeRX has quit [Ping timeout: 255 seconds]
arup_r has quit [Ping timeout: 265 seconds]
ruurd has quit [Quit: ZZZzzz…]
<[k-> ruboto's old age
devbug_ has quit [Read error: Connection reset by peer]
einarj has quit [Remote host closed the connection]
bkxd has joined #ruby
<apeiros> no idea, and with cinch, I don't want to investigate.
blackmes1 has joined #ruby
spider-mario has joined #ruby
<apeiros> systemload is low, so it's not the machine being busy
<apeiros> %Cpu(s): 0.7 us, 0.3 sy, 0.0 ni, 99.0 id, 0.0 wa, 0.0 hi, 0.0 si, 0.0 st
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
symm- has joined #ruby
CloCkWeRX has joined #ruby
arup_r has joined #ruby
Phil-Work has quit [Ping timeout: 265 seconds]
yqt has joined #ruby
yardenbar has quit [Ping timeout: 250 seconds]
tomphp has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
karapetyan has joined #ruby
amystephen has joined #ruby
karapetyan has quit [Remote host closed the connection]
frmendes has joined #ruby
<[k-> time to restart ruboto
tkuchiki has quit [Remote host closed the connection]
tomphp has joined #ruby
evanjs has joined #ruby
blackmes1 has quit [Ping timeout: 256 seconds]
einarj has joined #ruby
evanjs has quit [Ping timeout: 244 seconds]
symm- has quit [Ping timeout: 250 seconds]
symm- has joined #ruby
dionysus69 has quit [Ping timeout: 240 seconds]
k3asd` has joined #ruby
beast has quit [Quit: Leaving]
FrankD has quit [Ping timeout: 265 seconds]
stardiviner has quit [Ping timeout: 260 seconds]
favadi has joined #ruby
mattprelude has joined #ruby
stardiviner has joined #ruby
lkba has joined #ruby
charliesome has joined #ruby
da3mian has joined #ruby
apt-get has joined #ruby
bronson has joined #ruby
bruno- has joined #ruby
charliesome has quit [Client Quit]
frmendes has quit [Ping timeout: 256 seconds]
maokomioko has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
bronson has quit [Ping timeout: 252 seconds]
Akagi201 has joined #ruby
favadi has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
ruurd has joined #ruby
tno has quit [Ping timeout: 240 seconds]
u1335 has joined #ruby
Sembei has joined #ruby
UtkarshRay has quit [Ping timeout: 246 seconds]
sdothum has joined #ruby
charliesome has joined #ruby
kalusn has joined #ruby
RegulationD has joined #ruby
devoldmx has joined #ruby
radgeRayden has joined #ruby
poguez_ has quit [Quit: Connection closed for inactivity]
dionysus69 has joined #ruby
yqt has quit [Ping timeout: 272 seconds]
stamina has joined #ruby
devoldmx has quit [Ping timeout: 260 seconds]
RegulationD has quit [Ping timeout: 256 seconds]
maokomioko has joined #ruby
Phil-Work has joined #ruby
tno has joined #ruby
<stamina> su
stamina has quit [Client Quit]
keen__________ has joined #ruby
favadi has joined #ruby
ruurd has quit [Quit: ZZZzzz…]
keen_________ has quit [Ping timeout: 240 seconds]
Alina-malina has quit [Read error: Connection reset by peer]
favadi has quit [Max SendQ exceeded]
Coldblackice has quit [Ping timeout: 240 seconds]
Alina-malina has joined #ruby
FernandoBasso has joined #ruby
Anti-Pizza has quit [Quit: Quit]
marr has quit [Ping timeout: 240 seconds]
gustav_ has joined #ruby
gustav_ has quit [Ping timeout: 260 seconds]
Voker57 has joined #ruby
blackmes1 has joined #ruby
da3mian has quit [Read error: Connection reset by peer]
u1335 has quit [Ping timeout: 240 seconds]
Salehi has joined #ruby
einarj has quit []
timonv has joined #ruby
faces has joined #ruby
zenguy_pc has quit [Ping timeout: 246 seconds]
blackmes1 has quit [Ping timeout: 256 seconds]
face has quit [Ping timeout: 244 seconds]
something has joined #ruby
davedev24 has joined #ruby
something has quit [Client Quit]
symm- has quit [Ping timeout: 250 seconds]
chipotle has quit [Quit: cheerio]
Stalkr_ has joined #ruby
blackmes1 has joined #ruby
varunwachaspati has quit [Quit: Connection closed for inactivity]
iamninja has quit [Read error: Connection reset by peer]
lolmaus_ has quit [Quit: Konversation terminated!]
iamninja has joined #ruby
zenguy_pc has joined #ruby
karapetyan has joined #ruby
tomphp has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
abuzze has joined #ruby
bronson has joined #ruby
symm- has joined #ruby
Kerber0s has joined #ruby
Kerber0s has quit [Remote host closed the connection]
vasilakisfil has joined #ruby
pandaant has joined #ruby
renderfu_ has joined #ruby
moeabdol1 has joined #ruby
bronson has quit [Ping timeout: 265 seconds]
<adaedra> Hi everyone
sanjayu has quit [Ping timeout: 265 seconds]
iateadonut has joined #ruby
Xeago has joined #ruby
renderfu_ has quit [Ping timeout: 255 seconds]
<adaedra> It can be a network lag, it happens sometimes
pawnbox has quit [Read error: Connection reset by peer]
pawnbox has joined #ruby
abuzze has quit [Remote host closed the connection]
sanjayu has joined #ruby
Kallis has joined #ruby
<shevy> we have abolished lag
abuzze has joined #ruby
pwnd_nsfw has quit [Remote host closed the connection]
<adaedra> If only.
<[k-> If only.
platzhirsch has left #ruby [#ruby]
<[k-> youtube T^T
<[k-> hello adaedra
<[k-> are you going to go for lunch?
pwnd_nsfw has joined #ruby
tk has joined #ruby
tk is now known as Guest84243
sferik has joined #ruby
<adaedra> [k-: soon
ruurd has joined #ruby
karapetyan has quit [Remote host closed the connection]
pecorade has joined #ruby
xgoo has joined #ruby
evanjs has joined #ruby
tomphp has joined #ruby
iyan has quit [Ping timeout: 256 seconds]
xgoo is now known as iyan
cih has joined #ruby
scripore has joined #ruby
evanjs has quit [Ping timeout: 244 seconds]
Kendos-Kenlen has joined #ruby
cih has quit [Ping timeout: 268 seconds]
devoldmx has joined #ruby
tockitj has quit [Read error: Connection reset by peer]
ruurd has quit [Quit: ZZZzzz…]
ItSANgo has joined #ruby
karapetyan has joined #ruby
Soda has quit [Remote host closed the connection]
dionysus69 has quit [Ping timeout: 250 seconds]
Mon_Ouie has joined #ruby
karapetyan has quit [Ping timeout: 244 seconds]
scripore has quit [Quit: This computer has gone to sleep]
FernandoBasso has quit [Read error: Connection reset by peer]
devoldmx has quit [Ping timeout: 268 seconds]
FernandoBasso has joined #ruby
konsolebox has joined #ruby
kirun has joined #ruby
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
bronson has joined #ruby
ndrei has joined #ruby
ericjphillips has joined #ruby
aswen has joined #ruby
aswen has quit [Client Quit]
Azure has joined #ruby
karapetyan has joined #ruby
Guest65 has quit [Ping timeout: 246 seconds]
bronson has quit [Ping timeout: 250 seconds]
sferik has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
abuzze has quit [Remote host closed the connection]
karapetyan has quit [Ping timeout: 264 seconds]
parduse has quit []
karapetyan has joined #ruby
davedev24 has quit [Ping timeout: 246 seconds]
konsolebox has quit [Ping timeout: 268 seconds]
parduse has joined #ruby
BlackCoyote has joined #ruby
davedev24 has joined #ruby
sanjayu has quit [Ping timeout: 265 seconds]
RegulationD has joined #ruby
railsForDaiz has joined #ruby
dopamean_ has quit [Ping timeout: 250 seconds]
arup_r has quit [Ping timeout: 265 seconds]
parduse has quit []
RegulationD has quit [Ping timeout: 250 seconds]
gustav_ has joined #ruby
karapetyan has quit [Remote host closed the connection]
tomphp has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
marr has joined #ruby
yqt has joined #ruby
Ilyes512 has joined #ruby
konsolebox has joined #ruby
mattprelude has quit [Ping timeout: 252 seconds]
atomical has joined #ruby
naftilos76 has quit [Ping timeout: 264 seconds]
CloCkWeRX has quit [Quit: Leaving.]
symm- has quit [Quit: Leaving...]
maokomioko has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
solocshaw has joined #ruby
solocshaw has quit [Remote host closed the connection]
gustav_ has quit [Remote host closed the connection]
parduse has joined #ruby
platzhirsch has joined #ruby
evanjs has joined #ruby
bigmac__ has quit [Ping timeout: 250 seconds]
solocshaw has joined #ruby
bvthanh has joined #ruby
evanjs has quit [Ping timeout: 244 seconds]
lkba has quit [Ping timeout: 255 seconds]
parduse has quit []
jdawgaz has joined #ruby
bentanweihao has joined #ruby
Ilyes512_ has joined #ruby
tomphp has joined #ruby
Ilyes512 has quit [Read error: Connection reset by peer]
[k- has quit [Read error: No route to host]
[k- has joined #ruby
Ilyes512_ has quit [Client Quit]
Gnomethrower has joined #ruby
Gnomethrower has quit [Changing host]
Gnomethrower has joined #ruby
sferik has joined #ruby
davedev24 has quit [Ping timeout: 244 seconds]
maokomioko has joined #ruby
davedev24 has joined #ruby
Salehi has quit [Quit: Leaving]
tomphp has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
tomphp has joined #ruby
radgeRayden has quit [Ping timeout: 265 seconds]
bvthanh has quit [Quit: Textual IRC Client: www.textualapp.com]
bvthanh has joined #ruby
platzhirsch has quit [Ping timeout: 240 seconds]
scripore has joined #ruby
zapata has quit [Ping timeout: 240 seconds]
sanjayu has joined #ruby
beast has joined #ruby
konsolebox has quit [Ping timeout: 264 seconds]
symm- has joined #ruby
bigmac_ has joined #ruby
scripore has quit [Quit: This computer has gone to sleep]
bronson has joined #ruby
lxsameer has joined #ruby
Gachr has joined #ruby
scripore has joined #ruby
exadeci has joined #ruby
bronson has quit [Ping timeout: 244 seconds]
j4cknewt has quit [Remote host closed the connection]
zapata has joined #ruby
Ilyes512 has joined #ruby
tkuchiki has joined #ruby
tkuchiki has quit [Remote host closed the connection]
blackmes1 has quit [Ping timeout: 252 seconds]
tkuchiki has joined #ruby
sferik has quit [Quit: Textual IRC Client: www.textualapp.com]
ruurd has joined #ruby
tkuchiki has quit [Remote host closed the connection]
Ilyes512 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
evanjs has joined #ruby
ericjphillips has quit [Quit: Leaving.]
Ilyes512 has joined #ruby
dopamean_ has joined #ruby
blackmes1 has joined #ruby
devoldmx has joined #ruby
Ilyes512 has quit [Read error: Connection reset by peer]
Ilyes512 has joined #ruby
parduse has joined #ruby
Igorshp_ has quit [Remote host closed the connection]
stardiviner has quit [Quit: Code, Sex, Just fucking world.]
willardg has joined #ruby
k3asd` has quit [Ping timeout: 250 seconds]
Ilyes512 has quit [Read error: Connection reset by peer]
Ilyes512 has joined #ruby
m8 has joined #ruby
Ilyes512 has quit [Read error: Connection reset by peer]
parduse has quit []
sepp2k has joined #ruby
cornerma1 has joined #ruby
santi_coma has joined #ruby
cornerman has quit [Ping timeout: 246 seconds]
cornerma1 is now known as cornerman
ruurd has quit [Quit: ZZZzzz…]
parduse has joined #ruby
naftilos76 has joined #ruby
atzorvas has joined #ruby
ericjphillips has joined #ruby
symm- has quit [Ping timeout: 240 seconds]
atzorvas has quit [Client Quit]
tkuchiki has joined #ruby
quazimodo has joined #ruby
lkba has joined #ruby
dre_ has joined #ruby
rbennacer has joined #ruby
parduse has quit []
<freezeve_> how can I create an array with incremental values 0..100 ?
<freezeve_> one liner ?
freezeve_ has quit []
freezevee has joined #ruby
mary5030 has joined #ruby
RegulationD has joined #ruby
Kendos-Kenlen has quit [Quit: Konversation terminated!]
skweek has joined #ruby
Guest84243 has quit [Quit: ばいばい]
stamina has joined #ruby
jdawgaz has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
parduse has joined #ruby
ruurd has joined #ruby
roxtrongo has joined #ruby
Jardayn has joined #ruby
RegulationD has quit [Ping timeout: 240 seconds]
devoldmx has quit [Remote host closed the connection]
<adaedra> freezevee: are you sure you need an array? You could use a range
Oka has joined #ruby
<freezevee> adaedra: yes I am sure
<freezevee> found out something awesome
<adaedra> Then use .to_a on a range
<freezevee> array = [*1..99]
cmoneylulz has joined #ruby
<freezevee> this is unbelievable
<[k-> &ri Fixnum#upto
<[k-> did my message took years to arrive?
<[k-> `derpy only replied 40s later
<adaedra> Timestamps says it was instant here.
<[k-> maybe i shouldnt be so far away from my Wifi source
<adaedra> Maybe you are laggy, [k-
UtkarshRay has joined #ruby
tomphp has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<shevy> anyone knows what compile-time dependencies ruby has or how to find out?
<adaedra> look for a linux distro's linux package script
<[k-> im sure this is plastered all over the web in any case
voltalio has joined #ruby
dre_ has left #ruby ["Leaving"]
vasilakisfil has quit [Quit: Konversation terminated!]
<darix> ^^
bronson has joined #ruby
rbennacer has quit [Remote host closed the connection]
solocshaw has quit [Ping timeout: 240 seconds]
ericjphillips has quit [Quit: Leaving.]
tomphp has joined #ruby
cocaine has joined #ruby
roxtrong_ has joined #ruby
parduse has quit []
<shevy> well
<shevy> take the latter one
<shevy> "Required to run: [databases/ruby-gdbm] [devel/ruby-readline] [x11/ruby-tk] [devel/ruby-fiddle]"
The_Phoenix has joined #ruby
<shevy> ah
cocaine has joined #ruby
<shevy> that is the other way around
<shevy> so, ruby-tk requires ruby. I read it the other way
<adaedra> This is a metapackage
<adaedra> You may want to look at ruby22-base
bronson has quit [Ping timeout: 244 seconds]
solocshaw has joined #ruby
<shevy> nothing there :D
roxtrongo has quit [Ping timeout: 240 seconds]
<shevy> https://www.archlinux.org/packages/extra/x86_64/ruby/ lists incorrect dependencies
<adaedra> What do you mean, nothing there
<shevy> "gdbm"
<shevy> look at http://pkgsrc.se/lang/ruby22-base, where are the compile-time dependencies?
arup_r has joined #ruby
<adaedra> Open the cvsweb and look at the files
<shevy> it is wrong
<adaedra> why?
<shevy> a moment, let me get in the verification
gustav_ has joined #ruby
willardg has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<arup_r> What is base exception class while handing JSON error http://ruby-doc.org/stdlib-2.0.0/libdoc/json/rdoc/JSON.html
<arup_r> I want to rescue the parent class
voltalio has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<[k-> JSON::JSONError
<[k-> it's right there....
<adaedra> >> >> require 'json'; e = begin; JSON.parse(""); rescue => err; err; end; e.class.ancestors
<ruboto> adaedra # => /tmp/execpad-3794432a47dc/source-3794432a47dc:2: syntax error, unexpected >> ...check link for more (https://eval.in/440246)
<adaedra> oops
<adaedra> >> require 'json'; e = begin; JSON.parse(""); rescue => err; err; end; e.class.ancestors
<ruboto> adaedra # => [JSON::ParserError, JSON::JSONError, StandardError, Exception, Object, JSON::Ext::Generator::Generat ...check link for more (https://eval.in/440247)
<[k-> i said it already...
<adaedra> You have an irb/pry, use it
cocaine is now known as fastAndSlow
<[k-> you have docs, read it
<darix> you have source, read it!
<shevy> BuildRequires: gdbm-devel
<shevy> this is wrong
<adaedra> Why?
<darix> shevy: really?
<shevy> yes
<adaedra> Why?
<shevy> build requires means to get it to build right?
<arup_r> [k-: and adaedra thanks
<adaedra> What
<shevy> I just compiled ruby without gdbm
mary5030 has quit [Remote host closed the connection]
<darix> shevy: seems newer ruby do not require it anymore
Igorshp has joined #ruby
<darix> but nobody noticed
cih has joined #ruby
mary5030 has joined #ruby
<shevy> hmm
<shevy> I shall find out on #archlinux :D
<darix> shevy: actually you are wrong
<darix> ext/gdbm/
Kendos-Kenlen has joined #ruby
<shevy> nope
<darix> nope?
<shevy> not all entries in ext are listed, and all of it is optional
willardg has joined #ruby
<darix> shevy: but if a distro wants to ship ext/gdbm ... it needs what?
<darix> hmhm
apt-get has quit [Ping timeout: 240 seconds]
<shevy> they are optional, if you add an entry there then of course prior packages will have to include the program
ruurd has quit [Quit: ZZZzzz…]
<shevy> "tk (optional) - for Ruby/TK"
<darix> shevy: if you build a distro package you ideally want to ship all available extensions
<shevy> tk also persist in ext/tk
<darix> yes
rushed has joined #ruby
<adaedra> shevy: note that it's non-optional at build, only at runtime.
<adaedra> (for arch package)
<darix> shevy: you do understand that you compare a binary distro (suse) with a distro where users normally build from source (arch)?
yqt has quit [Ping timeout: 246 seconds]
<adaedra> darix: err, no
<shevy> adaedra gdbm is always not mandatory
<darix> *facepalm*
<shevy> let me check gentoo
cih has quit [Remote host closed the connection]
ruurd has joined #ruby
<shevy> also wrong :(
pyon has quit [Quit: I get up... I get down...]
mary5030 has quit [Ping timeout: 240 seconds]
<darix> shevy: why is it wrong?
<darix> if you want a ruby with enabled gdbm/dbm extension you *need* gdbm-devel
<shevy> did I not explain this already darix: "gdbm? ( sys-libs/gdbm )"
<shevy> ok so I need gdbm to compile it?
<darix> if you want that extension then yes
<shevy> nope also wrong
<shevy> it is in ext/gdbm, you can compile it any later time too
<darix> if you say so
<shevy> yes
<darix> you are talking bullshit really
<shevy> it is not a mandatory requirement to get it to compile
<darix> just because you can do it locally
ruurd has quit [Client Quit]
<shevy> nope, absolutely not
<darix> doesnt mean distros can
<shevy> so what?
<darix> and i explained already why distros usually enable all extensions
<shevy> <shevy> anyone knows what compile-time dependencies ruby has or how to find out?
<darix> read configure.in and all extconf.rb
pyon has joined #ruby
ruurd has joined #ruby
<adaedra> shevy: the keyword you miss is "minimal", then.
atmosx has joined #ruby
<darix> ack
willardg has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<adaedra> seems pretty standard for ruby to be shipped with gdbm.
willardg has joined #ruby
<shevy> who defines that ;)
<darix> shevy: ruby-core
<shevy> ruby-core ships with tk too
<atmosx> hello
<adaedra> shevy: The fact that, in all distro-provided files that were linked here, it is?
<darix> shevy: and i had plenty complains of people for the distros where TK and ruby werent compatible with each other
<darix> so i couldnt enable the tk bindings
<adaedra> hi atmosx
<shevy> adaedra yeah but they need to have some reason
<adaedra> go ask the maintainers of these files then. You have their names.
<shevy> why should I ask them?
<adaedra> to know the reason?
<shevy> debian surely also has a reason to get rid of mkmf by default
<darix> mkmf is probably in the devel package?
<shevy> darix I guess you are right, there will be no alternative to look at configure.in
<darix> shevy: untl you run into those fun cases with "oh this gem needs this stdlib extension"
<darix> ^^
Balzrael has joined #ruby
jdawgaz has joined #ruby
<adaedra> Hop, another one, still with gdbm http://pkgs.fedoraproject.org/cgit/ruby.git/tree/ruby.spec
<shevy> they all like gdbm
willardg has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<shevy> they probably copy/pasted from one another :D
<adaedra> -_-
<darix> not sure if trolling
<shevy> well, we could perhaps even find out
<shevy> for instance, I have an empty directory at ruby-2.2.3/ext/curses
Akagi201 has quit [Remote host closed the connection]
<shevy> which does not seem very useful
<darix> which is empty
willardg has joined #ruby
<darix> at least in 2.2.3
<shevy> ah
Akagi201 has joined #ruby
<shevy> ok so it probably still existed in 2.2.2
<darix> it exists in both
<darix> but is empty
<adaedra> If only there was a way of tracking file history.
<darix> adaedra: that would be horrible
<shevy> wonder why they did not get rid of the directory in ruby 2.2.3 ...
psy_ has quit [Ping timeout: 265 seconds]
willardg has quit [Client Quit]
Anti-Pizza has joined #ruby
<shevy> darix I forgot... you use gnome3, but what distribution? opensuse?
<darix> shevy: uhm ... yes?
mary5030 has joined #ruby
Akagi201 has quit [Ping timeout: 260 seconds]
mary5030 has quit [Remote host closed the connection]
<shevy> darix what ruby version can you use on opensuse? 2.2.3 already?
<darix> i have to maintain distro packages at work ... why would i use a different distro at home
karapetyan has joined #ruby
<darix> shevy: add devel:languages:ruby as repository to your install and you can have 2.2.3
skweek has quit [Remote host closed the connection]
mary5030 has joined #ruby
<shevy> I had to use windows at work!
<darix> + tons of gems build for it in devel:languages:ruby:extensions
<atmosx> I'm contemplating on writing a script which will execute some commands on each dir... but I need to keep track of the actions. i'm between leaving a trace (.e.g a .done file) and keeping everying in a sqlite3 db.
<atmosx> any ideas, notes?
karapetyan has quit [Remote host closed the connection]
karapetyan has joined #ruby
grotewold has joined #ruby
<[k-> at the script directory?
<[k-> at each directory it traverses?
<shevy> atmosx do both :)
<[k-> at the root directory of where it traverses?
<shevy> and the database could log all of it centrally
<atmosx> [k-: where it traverses, it will recursivelly scan for mp4,mkv and avi and download/embed subs
<atmosx> using a ruby gem for fetching subs and ffmpeg
j4cknewt has joined #ruby
apt-get has joined #ruby
<adaedra> atmosx: both methods (not at the same time!) can work. Depends on what you want to do.
mary5030 has quit [Ping timeout: 240 seconds]
<atmosx> adaedra: I think the creatino of a 'report' file it's easier to keep in track. But this is a RPi, each read/write operation is expensive (SD card). So it woul dbe better to avoid traversing he entire tree every time.
dasher00 has quit [Ping timeout: 240 seconds]
<[k-> create a json please
<adaedra> It's all up to you at this moment
<[k-> that would be easier to maintain
<atmosx> [k-: true
j4cknewt has quit [Ping timeout: 240 seconds]
fullofcaffeine has joined #ruby
tkuchiki has quit [Remote host closed the connection]
bruno-_ has joined #ruby
ruurd has quit [Quit: ZZZzzz…]
roxtrong_ has quit [Remote host closed the connection]
bruno- has quit [Ping timeout: 246 seconds]
noethics has joined #ruby
bentanweihao has quit [Remote host closed the connection]
ruurd has joined #ruby
krz has joined #ruby
<freezevee> can someone give me an idea how else could I write a function with 4 independent if's ?
<atmosx> freezevee: you write first a verbose function that works for you. Then you optimize it.
<atmosx> so write the 4 ifs show the code and then nice ppl in here will be able to help you without too much discussion.
Akagi201 has joined #ruby
<freezevee> I am looking for a smart idea that my inexperienced and burnt out mind cannot think
rbennacer has joined #ruby
grotewold has quit [Ping timeout: 264 seconds]
<Papierkorb> is it possible to find out which file defined a certain constant at run-time?
cmoneylulz has quit [Remote host closed the connection]
Macaveli has joined #ruby
k3asd` has joined #ruby
<adaedra> freezevee: you can remove the 'return' at the end. Ruby always returns the last result.
grotewold has joined #ruby
danieli has joined #ruby
<freezevee> sure
grotewold has quit [Max SendQ exceeded]
darkf has quit [Quit: Leaving]
<freezevee> I am running it through pullreview and it gives me a bad score because "i need to refactor this complex method"
grotewold has joined #ruby
<adaedra> Automated code review
pawnbox has quit [Remote host closed the connection]
<freezevee> yep
grotewold has quit [Max SendQ exceeded]
<adaedra> I don't see anything common between four conditions
grotewold has joined #ruby
<freezevee> so we suppose the alarm is wrong ?
<darix> and replacing them with method calls just to make this method "less complex" seems silly
<adaedra> yeah
santi_coma has quit [Remote host closed the connection]
<adaedra> I think touching this method trying to make it look less complex for a computer process would make it more complex for an human, defeating the purpose
<freezevee> it might get less complex with ternary operator instead of ifs ?
<darix> dont think so
<adaedra> no, ifs are fine
<adaedra> keep ternary for really simple things
<atmosx> freezevee: is this code you share with other ppl?
<darix> if you want to remove lines you could move the ifs behind the assignment
<darix> and that doesnt help readability
Soda has joined #ruby
<freezevee> atmosx: meaning ?
<freezevee> its for an assignement
<freezevee> I just want to be the best I can
arup_r has quit [Ping timeout: 252 seconds]
<adaedra> ah
<atmosx> adaedra: would this work: neighbours << left_node if (left_node > 0 && current_node % @table_x != 0 && @table_merged[left_node] != "X") ?
<freezevee> yes it could
<darix> atmosx: it would but it is less readable with such long condition
<atmosx> true
<freezevee> but isn't it more unreadable ?
<freezevee> yeah
bronson has joined #ruby
<adaedra> doesn't change the complexity
<adaedra> yes, you removed two lines, but it's still a conditional
fullofcaffeine has quit [Remote host closed the connection]
<adaedra> even worse, you push the test at the end, which can be more unreadable, and creating a very long line
moeabdol1 has quit [Ping timeout: 264 seconds]
<adaedra> shortened forms are good for small things.
renderfu_ has joined #ruby
bazbing80 has joined #ruby
bazbing81 has joined #ruby
<adaedra> I think that if you want to attack complexity in this, you may have to take it one step higher.
bruno-_ has quit [Read error: Connection reset by peer]
bruno- has joined #ruby
pawnbox has joined #ruby
<freezevee> do you think I should break it to functions ?
pawnbox has quit [Remote host closed the connection]
bronson has quit [Ping timeout: 255 seconds]
<freezevee> or a separate class ?
pawnbox has joined #ruby
<freezevee> class Neighbour ?
<darix> for a proper answer to this question we would need to understand the whole task
<freezevee> but it doesn't make sense
<adaedra> I don't know your project well enough to answer that
<freezevee> no problem, thanks for helping
renderfu_ has quit [Ping timeout: 246 seconds]
yardenbar has joined #ruby
karapetyan has quit [Remote host closed the connection]
umgrosscol has joined #ruby
ruurd has quit [Quit: ZZZzzz…]
lxsameer has quit [Quit: Leaving]
grotewold has quit [Ping timeout: 255 seconds]
zotherstupidguy has joined #ruby
atomical has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
rbennacer has quit [Remote host closed the connection]
kalusn has quit [Remote host closed the connection]
arup_r has joined #ruby
tomphp has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
ruurd has joined #ruby
iamninja_ has joined #ruby
iamninja has quit [Ping timeout: 240 seconds]
atomical has joined #ruby
karapetyan has joined #ruby
Eising has quit [Ping timeout: 264 seconds]
Eising has joined #ruby
Akagi201 has quit [Read error: Connection reset by peer]
Akagi201 has joined #ruby
jun_ has joined #ruby
hectortrope has quit [Remote host closed the connection]
rushed has quit [Quit: rushed]
karapetyan has quit [Remote host closed the connection]
hectortrope has joined #ruby
Igorshp has quit [Remote host closed the connection]
Mon_Ouie has quit [Ping timeout: 246 seconds]
grotewold has joined #ruby
LatoSans has quit [Ping timeout: 244 seconds]
bkxd has quit [Ping timeout: 246 seconds]
peteykun has joined #ruby
zenguy_pc has quit [Ping timeout: 246 seconds]
peteykun has quit [Client Quit]
bruno- has quit [Ping timeout: 260 seconds]
iyan has quit [Quit: iyan]
pandaant has quit [Remote host closed the connection]
umgrosscol has quit [Remote host closed the connection]
bruno- has joined #ruby
naftilos76 has quit [Ping timeout: 272 seconds]
uri_ has joined #ruby
JammyHammy has quit [Ping timeout: 255 seconds]
FernandoBasso has quit [Ping timeout: 250 seconds]
hays has joined #ruby
hays has quit [Changing host]
hays has joined #ruby
Yzguy has joined #ruby
JammyHammy has joined #ruby
jun_ has quit [Remote host closed the connection]
nofxx has quit [Ping timeout: 264 seconds]
dikaio has joined #ruby
nofxx has joined #ruby
zenguy_pc has joined #ruby
bruno- has quit [Ping timeout: 250 seconds]
Akagi201 has quit [Remote host closed the connection]
ruurd has quit [Quit: ZZZzzz…]
mary5030 has joined #ruby
atmosx has quit [Quit: WeeChat 0.4.4-dev]
RegulationD has joined #ruby
mary5030 has quit [Ping timeout: 244 seconds]
The_Phoenix has quit [Read error: Connection reset by peer]
jdawgaz has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
m8 has quit [Quit: Sto andando via]
soulcake has joined #ruby
Yzguy has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
devoldmx has joined #ruby
grotewold has quit [Ping timeout: 250 seconds]
RegulationD has quit [Ping timeout: 272 seconds]
jun_ has joined #ruby
Xeago has quit [Remote host closed the connection]
devoldmx has quit [Ping timeout: 268 seconds]
last_staff has joined #ruby
grotewold has joined #ruby
tom_lowndes has joined #ruby
Xeago has joined #ruby
grotewold has quit [Max SendQ exceeded]
tomphp has joined #ruby
grotewold has joined #ruby
grotewold has quit [Max SendQ exceeded]
drptbl has joined #ruby
grotewold has joined #ruby
grotewold has quit [Max SendQ exceeded]
voltalio has joined #ruby
grotewold has joined #ruby
cih has joined #ruby
bruno- has joined #ruby
cih has quit [Remote host closed the connection]
grotewold has quit [Max SendQ exceeded]
<shevy> why are there not more games written or using ruby?
grotewold has joined #ruby
allomov_ has quit [Remote host closed the connection]
xet7 has quit [Quit: Leaving]
bronson has joined #ruby
cmoneylulz has joined #ruby
saddad has joined #ruby
pontiki has joined #ruby
ruurd has joined #ruby
beast has quit [Quit: Leaving]
ruurd has quit [Client Quit]
bronson has quit [Ping timeout: 244 seconds]
bruno- has quit [Ping timeout: 240 seconds]
Xeago has quit [Remote host closed the connection]
pyon has quit [Quit: I get up... I get down...]
fullofcaffeine has joined #ruby
symm- has joined #ruby
dikaio has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
kayloos has joined #ruby
bruno- has joined #ruby
Azure has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
tmtwd has joined #ruby
rushed has joined #ruby
nofxx has quit [Ping timeout: 246 seconds]
jschmid has joined #ruby
howdoi has quit [Quit: Connection closed for inactivity]
Azure has joined #ruby
Yzguy has joined #ruby
drptbl has quit [Quit: My MAC has gone to sleep. zZz..]
pawnbox has quit [Remote host closed the connection]
hendricius has joined #ruby
blackmes1 has quit [Ping timeout: 260 seconds]
solocshaw has quit [Ping timeout: 240 seconds]
solocshaw has joined #ruby
hendricius has quit [Client Quit]
voltalio has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
gustav_ has quit [Remote host closed the connection]
pawnbox has joined #ruby
Xeago has joined #ruby
fullofcaffeine has quit [Read error: Connection reset by peer]
uri_ has quit [Quit: Textual IRC Client: www.textualapp.com]
fullofcaffeine has joined #ruby
lkba has quit [Ping timeout: 246 seconds]
Macaveli has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
tuxero has joined #ruby
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #ruby
voltalio has joined #ruby
NeverDie has joined #ruby
drptbl has joined #ruby
tuxero has quit [Ping timeout: 246 seconds]
pyon has joined #ruby
drptbl has quit [Client Quit]
tuxero has joined #ruby
moeabdol1 has joined #ruby
gustav_ has joined #ruby
hanmac has quit [Ping timeout: 246 seconds]
Rickmasta has joined #ruby
beauby has joined #ruby
iateadonut has left #ruby [#ruby]
Kallis has quit [Read error: Connection reset by peer]
sagittarian has joined #ruby
yfeldblum has joined #ruby
quazimodo has quit [Ping timeout: 246 seconds]
maokomioko has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
lkba has joined #ruby
drptbl has joined #ruby
voltalio has quit [Read error: Connection reset by peer]
voltalio has joined #ruby
dorei has joined #ruby
hanmac has joined #ruby
devoldmx has joined #ruby
armyriad has joined #ruby
blackmes1 has joined #ruby
swgillespie has joined #ruby
voltalio has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Zackio has quit [Quit: C-x C-c]
houhoulis has joined #ruby
Xeago has quit [Remote host closed the connection]
Zackio has joined #ruby
devoldmx has quit [Ping timeout: 265 seconds]
wildlander has joined #ruby
soulcake has quit [Quit: Quack.]
Flowrhent has joined #ruby
jairojunior has joined #ruby
rushed has quit [Quit: rushed]
blackmes1 has quit [Ping timeout: 268 seconds]
freerobby has joined #ruby
dikaio has joined #ruby
jun_ has quit [Remote host closed the connection]
RegulationD has joined #ruby
bronson has joined #ruby
allomov has joined #ruby
Macaveli has joined #ruby
RegulationD has quit [Ping timeout: 265 seconds]
monq has joined #ruby
jairojunior has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
bronson has quit [Ping timeout: 240 seconds]
gustav_ has quit [Remote host closed the connection]
rgb-one has joined #ruby
swgillespie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<rgb-one> Hello, Hola, Salut
tuxero has quit [Ping timeout: 244 seconds]
gustav_ has joined #ruby
psy_ has joined #ruby
voltalio has joined #ruby
Kendos-Kenlen_ has joined #ruby
jairojunior has joined #ruby
Macaveli has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
tejasmanohar has joined #ruby
cmoneylulz has quit []
gustav_ has quit [Ping timeout: 240 seconds]
voltalio has quit [Client Quit]
Kendos-Kenlen_ has quit [Read error: Connection reset by peer]
Flowrhent has quit [Quit: Remote host closed the connection.]
Kendos-Kenlen_ has joined #ruby
voltalio has joined #ruby
Rickmasta has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Kendos-Kenlen has quit [Ping timeout: 265 seconds]
rushed has joined #ruby
benlieb has joined #ruby
Azure has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
dionysus69 has joined #ruby
jun_ has joined #ruby
jairojunior has quit [Quit: Textual IRC Client: www.textualapp.com]
jun_ has quit [Remote host closed the connection]
jun_ has joined #ruby
pwnd_nfsw has joined #ruby
pwnd_nsfw has quit [Ping timeout: 246 seconds]
ghostlines has joined #ruby
willardg has joined #ruby
<ghostlines> howdy, every time I run `cap production deploy:start` I get a command not found error. It can't even find ruby on it's path. Any idea's what I'm doing wrong here? http://hastebin.com/iyezaqozir.coffee
sjums has joined #ruby
<sjums> are there a good gem for handling cookies when doing http calls on sites behind a login?
UtkarshRay has quit [Quit: Leaving]
<jhass> sjums: sounds like you could benefit from mechanize in general, but search for "cookie jar", several solutions to that
krz has quit [Quit: WeeChat 1.2]
tno has quit [Remote host closed the connection]
<jhass> ghostlines: that's not really showing anything about your ruby setup, how you installed capistrano or the specific error message you're getting
<sjums> will look into it :) Thanks for the pointer, jhass !
Coldblackice has joined #ruby
<rgb-one> I have updated the gist with more info as it was a bit lacking before
<sjums> jsrn, No wonder you're around :3
fullofcaffeine has quit [Remote host closed the connection]
Xeago has joined #ruby
blackmes1 has joined #ruby
Soda has quit [Remote host closed the connection]
zenguy_pc has quit [Read error: Connection reset by peer]
firstdayonthejob has quit [Ping timeout: 255 seconds]
cmoneylulz has joined #ruby
<ghostlines> sjums sorry for the lack of info I've added my env, command, and error output as well http://hastebin.com/fepigakese.coffee
DrCode has quit [Read error: Connection reset by peer]
FernandoBasso has joined #ruby
Xeago has quit [Ping timeout: 244 seconds]
<sjums> jhass, mechanize looks very promising :) Thanks again!
<jhass> ghostlines: well the the error is happening on the remote system from the looks of it, there's no Ruby installed there
voltalio has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
dasher00 has joined #ruby
ruurd has joined #ruby
<jhass> oh wait that which is the remote machine?
dikaio has left #ruby ["........"]
<jhass> are you sure it's activated if you don't change into the given directory though?
<jhass> I think there's a #capistrano btw
<ghostlines> jhass correct, Ruby is not installed on the remote machine system wide, it's only installed for my deploy user(ghost for now) FYI I'm executing everything on the server
blackmes1 has quit [Ping timeout: 250 seconds]
<ghostlines> jhass kewl I'll dig into there, thx!
dikaio has joined #ruby
<jhass> anyway, looks like it ssh's into the machine (again) and then lands somewhere where there's no Ruby activated
noethics has quit [Ping timeout: 260 seconds]
Xeago has joined #ruby
nofxx has joined #ruby
Xeago has quit [Remote host closed the connection]
willardg has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
joufflu has joined #ruby
Macaveli has joined #ruby
Macaveli has quit [Client Quit]
parduse has joined #ruby
[k- has quit [Ping timeout: 260 seconds]
cocaine has joined #ruby
sagittarian|2 has joined #ruby
willardg has joined #ruby
havenwood has joined #ruby
fastAndSlow has quit [Ping timeout: 240 seconds]
Rickmasta has joined #ruby
psy_ has quit [Quit: Leaving]
ruurd has quit [Quit: ZZZzzz…]
sagittarian has quit [Ping timeout: 268 seconds]
ruurd has joined #ruby
blackmes1 has joined #ruby
cocaine has quit [Quit: leaving]
dome22xl has joined #ruby
<bazbing81> so ENV['TERM'] returns nil in windows command prompt? How should I determine which type of terminal my ruby script is running in if windows (urgh) returns nil? Ubuntu's gnome terminal returns 'xterm'
zenguy_pc has joined #ruby
<dome22xl> Does anyone know why you can't inherit a refinement from an existing class ?
Anti-Pizza has quit [Quit: Quit]
DrCode has joined #ruby
KnownSyntax has quit [Read error: Connection reset by peer]
framling has joined #ruby
<darix> bazbing81: windows just doesnt use the TERM variable to tell you that.
KnownSyntax has joined #ruby
neohunter has joined #ruby
willardg has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
jun_ has quit [Read error: Connection reset by peer]
jun_ has joined #ruby
<bazbing81> darix what does windows use?
brnpcn has joined #ruby
<shevy> bazbing81 it is an environment variable. you can check if you run on windows via the constant RUBY_PLATFORM
<bazbing81> shevy: thanks, is there magic bullet for finding out what terminal the user is using? Or do I need to determine the OS first and then drill down to find out what terminal?
henryaj has joined #ruby
<shevy> there is no trivial way to do so as far as I know. if you manage to find out lemme know. a user can set TERM to anything. I am also not sure how to determine whether the .rb file runs in konsole or gnome-terminal or xterm or any other term
moeabdol1 has quit [Quit: WeeChat 1.3]
yqt has joined #ruby
jun_ has quit [Read error: Connection reset by peer]
<bazbing81> shevy: well it runs as far as running "ruby <myfile>.rb" but I'm guessing that's not what you mean? Looking for a gem regarding terminal identification.. ^_^
jschmid has quit [Remote host closed the connection]
jun_ has joined #ruby
bronson has joined #ruby
ericjphillips has joined #ruby
mosez has quit [Ping timeout: 252 seconds]
moeabdol has joined #ruby
henryaj has quit []
mosez has joined #ruby
platzhirsch has joined #ruby
spider-mario has quit [Ping timeout: 246 seconds]
<shevy> of course it runs
<shevy> but in which terminal does it run!
parduse has quit []
thejamespinto has quit [Remote host closed the connection]
bronson has quit [Ping timeout: 265 seconds]
deavid has quit [Ping timeout: 256 seconds]
Yzguy has quit [Quit: Textual IRC Client: www.textualapp.com]
scripore has quit [Quit: This computer has gone to sleep]
bubbys has quit [Ping timeout: 256 seconds]
grotewold has quit [Ping timeout: 250 seconds]
grotewold has joined #ruby
bvthanh has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
cih has joined #ruby
lxsameer has joined #ruby
ChrisChanter has joined #ruby
deavid has joined #ruby
<ChrisChanter> is there another resource besides rosetta code where we can look at examples of code and try to figure out what they do?
atomical has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
devgiant has joined #ruby
naftilos76 has joined #ruby
bvthanh has joined #ruby
Igorshp has joined #ruby
ChrisChanter has quit [Ping timeout: 246 seconds]
brnpcn has quit []
devbug has joined #ruby
drptbl has quit [Quit: My MAC has gone to sleep. zZz..]
thejamespinto has joined #ruby
drptbl has joined #ruby
<pipework> charles81: github.com
fullofcaffeine has joined #ruby
bubbys has joined #ruby
atomical has joined #ruby
codecop has joined #ruby
grotewold has quit [Ping timeout: 260 seconds]
Pumukel has joined #ruby
ghostlines has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
gustav_ has joined #ruby
brnpcn has joined #ruby
nolic has quit [Ping timeout: 268 seconds]
bvthanh has quit [Max SendQ exceeded]
ruurd has quit [Quit: ZZZzzz…]
tomphp has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Pumukel has quit [Ping timeout: 252 seconds]
ruurd has joined #ruby
beauby has quit [Ping timeout: 255 seconds]
tomphp has joined #ruby
skweek has joined #ruby
blueOxigen has quit [Ping timeout: 272 seconds]
ramfjord has joined #ruby
Igorshp has quit [Remote host closed the connection]
monq has quit [Quit: monq]
grotewold has joined #ruby
grotewold has quit [Client Quit]
codenapper has joined #ruby
codenapp_ has quit [Ping timeout: 250 seconds]
tomphp has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
bnizzle has quit [Read error: Connection reset by peer]
gnode has joined #ruby
<gnode> Which book out of these two is the better one: "The well grounded Rubyist" or "Programming Ruby" ?
opensource_ninja has joined #ruby
devgiant has quit [Ping timeout: 256 seconds]
devgiant has joined #ruby
tomphp has joined #ruby
saddad has quit [Ping timeout: 265 seconds]
<gnode> "Programming Ruby" seems like it has too much stuff that I won't use?
natevick has joined #ruby
devoldmx has joined #ruby
bazbing81 has quit [Ping timeout: 255 seconds]
bazbing80 has quit [Ping timeout: 250 seconds]
cmoneylulz has quit [Remote host closed the connection]
dome22xl has quit [Ping timeout: 265 seconds]
chipotle has joined #ruby
gnode has quit [Quit: Page closed]
bluOxigen has joined #ruby
<shevy> flughafen they want to destroy the flughafen in berlin now :( http://www.heute.de/politiker-regen-ber-neubau-an-40288590.html
brnpcn has quit []
tomphp has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Igorshp has joined #ruby
beauby has joined #ruby
devoldmx has quit [Ping timeout: 252 seconds]
ramfjord has quit [Quit: leaving]
brnpcn has joined #ruby
<rgb-one> grep(/^#\//) Does that mean replace # with space?
<rgb-one> remove # I meant*
DoubleMalt has quit [Remote host closed the connection]
cih has quit [Remote host closed the connection]
<shevy> eh?
<shevy> where do you see a remove action
willardg has joined #ruby
tomphp has joined #ruby
petersaints has quit [Quit: I'll be back!]
<Papierkorb> rgb-one: since when does grep do replacements?
natevick has quit [Quit: Colloquy for iPhone - http://colloquy.mobi]
<rgb-one> Papierkorb: match?
<Papierkorb> rgb-one: is this a test?
<rgb-one> Papierkorb: Is that your answer?
<Papierkorb> rgb-one: ask yourself if that would make sense.
dome22xl has joined #ruby
<dome22xl> More like sub(%r{^#\/}, "")
RegulationD has joined #ruby
<rgb-one> dome22xl: Indeed
<Papierkorb> sub(%r{^#/}, "")
<rgb-one> stream.puts File.readlines(__FILE__).grep(/^#\//).map { |line| line.sub(/^#. ?/, '') }.join is the full line of code
<shevy> yeah he tries to find something there
nofxx has quit [Ping timeout: 250 seconds]
parduse has joined #ruby
<shevy> and he also was great in writing everything on one line
nofxx has joined #ruby
<shevy> the anchor will be at start of line, the '#' followed by a '/'
Igorshp has quit [Remote host closed the connection]
<rgb-one> shevy: I see so ?/ means followed by?
ericjphillips has quit [Quit: Leaving.]
bronson has joined #ruby
<rgb-one> followed by '/'*
Moblin has joined #ruby
RegulationD has quit [Ping timeout: 250 seconds]
Kendos-Kenlen_ has quit [Quit: Konversation terminated!]
Ebok has quit [Ping timeout: 240 seconds]
Tempesta has quit [Read error: Connection reset by peer]
bronson has quit [Ping timeout: 246 seconds]
Tempesta has joined #ruby
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
beauby has quit [Ping timeout: 246 seconds]
xet7 has joined #ruby
<shevy> ? makes things optioanl
<shevy> optional
Pumukel has joined #ruby
<shevy> you can try all of this online with example input:
<shevy> and it has a legend on the bottom explaining what the characters mean
roxtrongo has joined #ruby
nanoz has quit [Quit: <3]
Kendos-Kenlen has joined #ruby
dome22xl has quit [Ping timeout: 255 seconds]
cih has joined #ruby
Xeago has joined #ruby
neohunter has quit [Ping timeout: 250 seconds]
Igorshp has joined #ruby
pecorade has quit [Read error: Connection reset by peer]
havenwood has quit [Quit: Textual IRC Client: www.textualapp.com]
scripore has joined #ruby
codecop has quit [Remote host closed the connection]
spider-mario has joined #ruby
brnpcn has quit []
Tempesta has quit [Ping timeout: 264 seconds]
crdpink2 has joined #ruby
crdpink has quit [Ping timeout: 246 seconds]
cih has quit [Remote host closed the connection]
Tempesta has joined #ruby
arup_ has joined #ruby
arup_r has quit [Ping timeout: 240 seconds]
thejamespinto_ has joined #ruby
arup_ has quit [Client Quit]
arup_r has joined #ruby
lkba_ has joined #ruby
hectortrope has quit [Read error: Connection reset by peer]
poguez_ has joined #ruby
last_staff has quit [Quit: last_staff]
hectortrope has joined #ruby
thejamespinto has quit [Ping timeout: 246 seconds]
benlieb has quit [Quit: benlieb]
lkba has quit [Ping timeout: 255 seconds]
naftilos76 has quit [Ping timeout: 264 seconds]
Voyage has joined #ruby
<Voyage> $ user = User.where(id: 1).first
<Voyage> bash: syntax error near unexpected token `('
FrankD has joined #ruby
saddad has joined #ruby
tomchapin has joined #ruby
iamninja_ has quit [Read error: Connection reset by peer]
iamninja_ has joined #ruby
tuxero has joined #ruby
bigmac_ has quit [Ping timeout: 240 seconds]
willardg has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
tomchapin has quit [Client Quit]
havenwood has joined #ruby
<havenwood> Voyage: Try it in the rails console instead of in bash: rails c
<Voyage> k
tomphp has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<Voyage> is it u.save! or u.save!: or u.save:?
j4cknewt has joined #ruby
cih has joined #ruby
tomchapin has joined #ruby
<havenwood> Voyage: Doesn't make much sense with your example but you can run Ruby from the terminal like: ruby -e "p User.all.last"
<havenwood> ?rails Voyage
<ruboto> Voyage, Please join #RubyOnRails for Rails questions. You need to be identified with NickServ, see /msg NickServ HELP
tomphp has joined #ruby
<pontiki> unf. i'm having problems with my gem environment. i have ruby 2.2.2 installed, and a gem path set to $HOME/.gem/ruby/2.2.2
<pipework> havenwood: Rails would probably be `rails r "p User.last.inspect"
<pontiki> there is another folder $HOME/.gem/ruby/2.2.0 that some gems insist on getting installed in
<havenwood> pipework: Good point.
DoubleMalt has joined #ruby
<Voyage> havenwood, thanks
Voyage has left #ruby ["Leaving"]
ruby-lang778 has joined #ruby
j4cknewt has quit [Ping timeout: 272 seconds]
djbkd has joined #ruby
<pontiki> the gems installed in .../2.2.0/ are not being seen, of course
<pontiki> i just don't know *why* or *how* they're getting in there
tom_lowndes has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
tom_lowndes has joined #ruby
<Starthunder> Is Ruby stuff still 32-bit only? O.o
fullofcaffeine has quit [Remote host closed the connection]
roxtrongo has quit [Remote host closed the connection]
<Starthunder> Trying to install `sup` here; it's failing to build…I guess this is the gem, for ncurses?
<Starthunder> > ld: warning: ignoring file /usr/local/lib/libncursesw.dylib, file was built for x86_64 which is not the architecture being linked (i386): /usr/local/lib/libncursesw.dylib
ruurd has quit [Quit: ZZZzzz…]
yfeldblum has quit [Ping timeout: 240 seconds]
<shevy> what is .dylib
<ruby-lang778> Can someone share with me a link with something which can describe me why should I use ruby instead of some languages like Python or Java Script
<Starthunder> shevy: A dynamic library?
tsujp has joined #ruby
swgillespie has joined #ruby
tom_lowndes has quit [Ping timeout: 246 seconds]
livcd has joined #ruby
<Starthunder> I can't help but wonder why it's trying to link for i386 :P
<ruby-lang778> Thank you, shevy!
skweek has quit [Remote host closed the connection]
Igorshp has quit [Remote host closed the connection]
tno has joined #ruby
tkuchiki has joined #ruby
Kendos-Kenlen has quit [Read error: No route to host]
Kendos-Kenlen has joined #ruby
karapetyan has joined #ruby
willardg has joined #ruby
pontiki has quit [Quit: ERC Version 5.3 (IRC client for Emacs)]
bronson has joined #ruby
ruurd has joined #ruby
weemsledeux has joined #ruby
dravine has quit [Quit: dravine]
fullofcaffeine has joined #ruby
tomchapin has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
bronson has quit [Ping timeout: 256 seconds]
ruby-lang778 has quit [Ping timeout: 246 seconds]
Pathfinder_ has joined #ruby
<shevy> oh apple
<shevy> >> RUBY_VERSION
<ruboto> shevy # => "2.2.0" (https://eval.in/440305)
<shevy> huh
<shevy> >> RUBY_PLATFORM
<ruboto> shevy # => "i686-linux" (https://eval.in/440306)
<shevy> aha
<shevy> ruboto is i686
hectortrope has quit [Read error: Connection reset by peer]
firstdayonthejob has joined #ruby
<shevy> my ruby here is: ruby 2.2.3p173 (2015-08-18 revision 51636) [x86_64-linux]
DoubleMalt has quit [Remote host closed the connection]
dravine has joined #ruby
hectortrope has joined #ruby
parduse has quit []
symm- has quit [Quit: Leaving...]
fullofcaffeine has quit [Read error: Connection reset by peer]
fullofcaffeine has joined #ruby
ruurd has quit [Quit: ZZZzzz…]
RegulationD has joined #ruby
Xeago has quit [Remote host closed the connection]
ericjphillips has joined #ruby
mary5030 has joined #ruby
jun_ has quit [Read error: Connection reset by peer]
jun_ has joined #ruby
ruurd has joined #ruby
RegulationD has quit [Ping timeout: 240 seconds]
freerobby has quit [Ping timeout: 250 seconds]
Rickmasta has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
weemsledeux has quit [Ping timeout: 264 seconds]
BlackCoyote has quit [Remote host closed the connection]
lyuben_ has joined #ruby
bigmac_ has joined #ruby
Rickmasta has joined #ruby
swgillespie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
tomchapin has joined #ruby
atomical has quit [Read error: Connection reset by peer]
atomical has joined #ruby
thejamespinto_ has quit [Remote host closed the connection]
tomchapin has quit [Client Quit]
lyuben_ has quit [Quit: Leaving]
agit0 has joined #ruby
<yorickpeterse> ruboto: ruboto isn't i686
<yorickpeterse> but eval.in is
agit0 has quit [Client Quit]
freerobby has joined #ruby
radgeRayden has joined #ruby
dionysus69 has quit [Ping timeout: 244 seconds]
gustav_ has quit [Remote host closed the connection]
<shevy> hmm
mary5030 has quit [Remote host closed the connection]
<shevy> ruboto fooled me :(
gambl0re has joined #ruby
mary5030 has joined #ruby
`scootaloo has joined #ruby
kirun has quit [Quit: Client exiting]
gambl0re has quit [Client Quit]
willardg has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
adaedra has quit [Disconnected by services]
`scootaloo is now known as adaedra
_aeris_ has quit [Ping timeout: 246 seconds]
gambl0re has joined #ruby
DefV has quit [Ping timeout: 246 seconds]
drew2 has quit [Ping timeout: 246 seconds]
angelixd has quit [Ping timeout: 246 seconds]
maloik has quit [Ping timeout: 272 seconds]
valeri_ufo has quit [Ping timeout: 260 seconds]
decoponio has quit [Quit: Leaving...]
_5moufl has quit [Ping timeout: 240 seconds]
drew2 has joined #ruby
_5moufl has joined #ruby
angelixd has joined #ruby
DefV has joined #ruby
valeri_ufo has joined #ruby
mary5030 has quit [Ping timeout: 244 seconds]
_aeris_ has joined #ruby
bubbys has quit [Ping timeout: 240 seconds]
bubbys has joined #ruby
cih has quit [Remote host closed the connection]
maloik has joined #ruby
blackmesa has joined #ruby
bruno- has quit [Remote host closed the connection]
zenguy_pc has quit [Read error: Connection reset by peer]
VeryBewitching has joined #ruby
ruurd has quit [Quit: ZZZzzz…]
apt-get has quit [Remote host closed the connection]
bruno- has joined #ruby
blackmes1 has quit [Ping timeout: 240 seconds]
steeljav has joined #ruby
benlieb has joined #ruby
roxtrongo has joined #ruby
benlieb has quit [Client Quit]
Blue_Ice has quit [Ping timeout: 264 seconds]
roxtrong_ has joined #ruby
devoldmx has joined #ruby
CanTonic has joined #ruby
Kendos-Kenlen has quit [Quit: Konversation terminated!]
bakedb has quit [Ping timeout: 264 seconds]
roxtrongo has quit [Ping timeout: 250 seconds]
devoldmx has quit [Ping timeout: 240 seconds]
karapetyan has quit [Remote host closed the connection]
zenguy_pc has joined #ruby
parduse has joined #ruby
solocshaw has quit [Read error: Connection reset by peer]
karapetyan has joined #ruby
Jackneill has quit [Remote host closed the connection]
icbm has joined #ruby
ruurd has joined #ruby
n008f4g_ has quit [Ping timeout: 268 seconds]
karapetyan has quit [Ping timeout: 268 seconds]
bakedb has joined #ruby
dopamean_ has quit [Ping timeout: 260 seconds]
bigmac_ has quit [Ping timeout: 260 seconds]
bronson has joined #ruby
roxtrong_ has quit [Remote host closed the connection]
ndrei has quit [Ping timeout: 246 seconds]
arup_r has quit [Quit: Leaving]
northfurr has joined #ruby
<shevy> nobu is more active on weekends than weekdays :D
northfurr has quit [Client Quit]
ericjphillips has quit [Quit: Leaving.]
bronson has quit [Ping timeout: 268 seconds]
leitz has joined #ruby
LatoSans has joined #ruby
michaeldeol has joined #ruby
scripore has quit [Quit: This computer has gone to sleep]
fullofcaffeine has quit [Remote host closed the connection]
bigmac_ has joined #ruby
<rgb-one> hey
momon has joined #ruby
<freezevee> what does & mean in ruby ?
<freezevee> I've seen it in front of arguments
<rgb-one> can anyone give me a list of words which have a single letter slang alternative eg. for: 4, you: u etc.
<freezevee> action(&b)
<freezevee> darix: thanks
<darix> first hit on "ruby & operator"
nahtnam has joined #ruby
<freezevee> well I thought I could get a more understandable explanation
<freezevee> but it's ok
<shevy> freezevee usually when you want to pass around blocks to other methods
<freezevee> confuses me with references of c++ a little
Azure has joined #ruby
<freezevee> the splat also
ruurd has quit [Quit: ZZZzzz…]
<freezevee> but I'll get over it
<freezevee> :P
nofxx has quit [Ping timeout: 246 seconds]
gustav_ has joined #ruby
momon has left #ruby [#ruby]
<adaedra> freezevee: & before an argument name creates a variable that holds the block passed to the method, allowing to do more things than with `yield`.
nofxx has joined #ruby
<freezevee> got it
<freezevee> thanks
<shevy> splat is much easier
<shevy> def foo(*i)
<freezevee> splat is easier yes
<shevy> pp i
<shevy> end
<shevy> foo 1,2,3
<shevy> foo 1,2,3,4
<shevy> that really is simple to understand
<freezevee> but If you use c++ and ruby it confuses
<shevy> well you have to understand that the ruby parser is a complex beast
pawnbox has quit [Remote host closed the connection]
tejasmanohar_ has joined #ruby
<shevy> it tries to yodel while grabbing its butt with one arm, being drunk, waving around with the other arm and dancing on tip-toes on a chasm towards insanity
pawnbox has joined #ruby
<shevy> I assume that they used & because it was simple to use/parse
<shevy> .map(&:chomp)
<freezevee> what is the equivalent of &:chomp ?
solocshaw has joined #ruby
<adaedra> .map { |e| e.chomp }
<freezevee> |k| k = chomp ?
gustav_ has quit [Remote host closed the connection]
<freezevee> ah ok
<adaedra> & calls #to_proc
<adaedra> (in this case)
<adaedra> >> :chomp.to_proc
<ruboto> adaedra # => #<Proc:0x405ac374> (https://eval.in/440340)
<freezevee> proc is too advanced for me for now
rgb-one has quit [Remote host closed the connection]
tejasmanohar has quit [Ping timeout: 255 seconds]
tejasmanohar_ is now known as tejasmanohar
<freezevee> but thanks, at least I got ambersand and splat
<shevy> proc is not doing much
<shevy> you only .call on it and that was it
<adaedra> you said you come from c++. Did you use C++11 anonymous functions, freezevee ?
<shevy> I still have to find out myself how proc is super-useful
<freezevee> adaedra: hmm not much
<adaedra> proc are the same thing
atomical_ has joined #ruby
<adaedra> (±)
<freezevee> adaedra: graduated from college by using C++ at 100% of the lessons
<adaedra> Can be C++98 tho.
atomical has quit [Ping timeout: 255 seconds]
davedev24 has quit [Ping timeout: 246 seconds]
davedev24 has joined #ruby
<freezevee> shevy: same here, I am seeing also Structs and I don't get the usability
<freezevee> like a Hash for example
<freezevee> but they are tools and we're free to choose
TomyLobo has quit [Ping timeout: 250 seconds]
gustav_ has joined #ruby
<adaedra> A struct is like a C++ struct
<freezevee> indeed
atomical has joined #ruby
<adaedra> A pre-determined structure with public access to members
matled has quit [Read error: Connection reset by peer]
matled- has joined #ruby
matled- is now known as matled
<freezevee> another question
<freezevee> in RSpec, do you test variables ?
<freezevee> or only classes and methods ?
<freezevee> I mean, things that create action
<workmad3> adaedra: you know a C++ struct is just a class with default private scope, right? :)
<freezevee> I am building my first tests and have been wondering
<adaedra> public*
<workmad3> adaedra: ah yeah, sorry
<freezevee> workmad3: actually I believe it's a C feature
<workmad3> freezevee: C struct and C++ struct are different
<freezevee> didn't know that
dikaio has quit [Quit: ........]
<adaedra> Well, C++ structs are still make to be a bit compatible with C's one, even if they can do what C++ classes can.
atomical_ has quit [Ping timeout: 255 seconds]
<leitz> freezevee, I'm a newbie, so I test whatever I can figure out how to test. It let's me have some confidence when I refactor. :)
<adaedra> I usually use struct for code-less structures, class otherwise.
<adaedra> freezevee: what do you mean, by testing variables?
<freezevee> leitz: same here, but I am afraid that I test silly things
<freezevee> leitz: I am doing it { is_expected.to respond_to( for all attributes
dikaio has joined #ruby
<leitz> It's not silly if you're learning.
<freezevee> not sure why
<workmad3> adaedra: sure, if you don't use any C++ features (so no scope modifiers, no methods, etc.), a C++ struct is the same memory layout as a C struct, so compatible, iirc
<freezevee> adaedra: test If they have the right values, the right type etc.
<adaedra> freezevee: internal variables?
<leitz> freezevee, I tend to gut my code as I learn, so any tests help me see unintended changes. Found some the other night as I reworked a class based on comments here.
<adaedra> freezevee: you should be testing that the public interface of your classes behave correctly
<workmad3> freezevee: while you're still learning, you tend to end up with a lot of tests that, later on, you realise aren't necessary... but what tests those are can vary based on coder... essentially, you end up over-testing initially and, as you gain confidence, your tests get whittled down to the ones that give you the most confidence in the areas that you're most unsure of
<freezevee> leitz: well I've tried to learn Ruby and Rails on my own and succeeded so far, created some apps with many models, used tools as Chef to provision etc. but so far the most difficult part for me is tests
<freezevee> leitz: I don't believe myself, but I am sitting on the chair thinking "what to test?"
nofxx has quit [Ping timeout: 240 seconds]
<adaedra> Aaah, tests.
<leitz> Given your background, it's just a matter of time.
<adaedra> Those fuckers.
<freezevee> leitz: I can't imagine I got here without tests actually
nofxx has joined #ruby
p0wn3d__ has joined #ruby
<freezevee> it seems like I'm playing guitar with no hands
<freezevee> no strings
<leitz> In the book "Practical Object Oriented Design in Ruby", the auther talks about objects passing messages. What messages are you passing?
<freezevee> tests are a very basic thing when creating stuff and I ignored it in order to build fast
<leitz> It's easy to code without tests. Chanigng the code, though, is a bugger if you still want it to work.
<workmad3> leitz: is that a question you want answered, or a question you're asking freezevee? :)
<adaedra> class Guitar; def initialize; @strings = Array.new(5) { "" }; end; end; Guitar.new # Here, a guitar with strings.
<freezevee> leitz: it's complicated
<leitz> workmad3, more a thought for freezevee. I'm getting the impression fv is a bit more advanced and can probably understand better than I.
<adaedra> leitz: fancy way of talking about method calling.
tomchapin has joined #ruby
`derpy has quit [Read error: Connection reset by peer]
<leitz> adaedra, it was a relevation for me. An object is pretty useless unless it does somethig. I always considered them important. Really, it's what they do that's important, not what they are.
Esya| has quit [Ping timeout: 246 seconds]
<freezevee> I love this room
`derpy has joined #ruby
<freezevee> where are you from ?
<leitz> Such is my understanding. I have it my "read it once" level. It hasn't soaked in very far though.
<leitz> Which you? Define from. :)
<workmad3> adaedra: personally, I don't see 'message passing' as a 'fancier' way of talking about method calling... more it's a different analogy, and one that opens up some new ideas for thinking about your systems
tomphp has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<freezevee> leitz: what about you ?
<adaedra> BUT ITS SO FANCAY
p0wn3d_ has joined #ruby
p0wn3d__ has quit [Ping timeout: 264 seconds]
fumduq has quit [Ping timeout: 246 seconds]
Gachr has quit [Quit: Leaving]
<leitz> freezevee, I am from almost where I am, with about three dozen moves between then and now.
<workmad3> adaedra: not to smalltalkers... it's just normal for them... 'message passing' is also the phrase used by Alan Kay in his definition for OO
<freezevee> leitz: ha France
<freezevee> love it
Mekkis has quit [Quit: ZNC - http://znc.in]
<leitz> Which is a philospohical way to cosnole myself with having moved back to Appalachia after living in several states and a few other countires.
mary5030 has joined #ruby
drptbl has quit [Quit: My MAC has gone to sleep. zZz..]
Pumukel has quit [Ping timeout: 252 seconds]
fumduq has joined #ruby
<adaedra> workmad3: yeah, I know, it's used in Obj-C too.
Mekkis has joined #ruby
devoldmx has joined #ruby
dopamean_ has joined #ruby
<adaedra> I will now start to write 100 times "I shall not use “fancy”" for cleaning this error :(
<leitz> freezevee, I'm a RubyNewbie. I tinker with my code and run the tests. I'm still trying to get good tests, and will eventually know enough aruba to fix the gemspec and be able to run cucumber.
Esya- has joined #ruby
scripore has joined #ruby
<freezevee> leitz: I am struggling with the tests too
<freezevee> leitz: I got so much to show to employers but they all care about tests
<leitz> freezevee, then step away from your code and write something just to test.
cornerman has quit [Quit: leaving]
<leitz> Play.
<freezevee> and as time passes by I understand they are right
<leitz> You have the brains for it, just not the understanding. Play is a high form of learning.
<freezevee> the most difficult thing is to know what to write
<workmad3> freezevee: I personally recommend working through 'TDD: By example' if you want to get a feel for a lot of the style of testing that's frequently used
<workmad3> freezevee: it even gives some suggestions to help with the 'what to test?' question
<freezevee> leitz: I got an algorithm solving a problem split over functions and 2-3 classes
steeljav has quit [Quit: leaving]
<freezevee> leitz: so the algorithm is pretty difficult and I got it working
tejasmanohar has quit [Quit: tejasmanohar]
<freezevee> leitz: and now that I 've finished I am wondering two things
<freezevee> leitz: first of all what to test
Pathfinder_ has quit [Read error: Connection reset by peer]
<workmad3> freezevee: test the output of the algorithm... and then try to break it
<freezevee> and second workmad3: how would I write it If I had begun with TDD
<freezevee> workmad3: how to break it ?
<freezevee> workmad3: it's an array with numbers
<freezevee> that's all
<workmad3> freezevee: yeah... think of weird inputs... what happens if you pass it no numbers? what happens if you pass it negatives? or infinity? or complex numbers? etc
<freezevee> isn't it silly to write if "solution.table" is equal to [1,2,3,4]
<workmad3> freezevee: what if you pass it strings containing numbers?
<freezevee> and then if solution.table is not equal to [2,3,4,5] ?
<freezevee> I mean it's an example like "if you didn't hear the ring, then it didn't rang"
<workmad3> freezevee: try to avoid 'if' in your tests
cornerman has joined #ruby
<freezevee> workmad3: you mean from the "input" perspective
<workmad3> freezevee: so your test should really be 'I should hear a ring when the bell is rung', not 'if the bell was rung, I should hear a ring'
<freezevee> yes this is possible to test different inputs
<workmad3> freezevee: yeah, a few interesting inputs, or a few interesting outputs
<workmad3> freezevee: a good typical example is a triangle classifier... you give it 3 numbers, representing sides of triangles, and the method classifies it as equilateral, right-angle, isoceles, etc.
<freezevee> and what If a method doesn't return something ?
<workmad3> freezevee: if there are cases it doesn't return something, test those
<workmad3> freezevee: they're a good edge-case
<freezevee> that's why I asked about testing variables
<freezevee> I have methods that calculate things using instance variables
<freezevee> they don't get input and don't return anything
<freezevee> just calculate with what's already there
<workmad3> freezevee: preferably, avoid testing implementation details... e.g. things like private methods or instance variables
roxtrongo has joined #ruby
mary5030 has quit [Remote host closed the connection]
<workmad3> freezevee: if it's particularly complex, you may want to test it anyway... but tests of that sort tend to freeze your implementation and make it harder to change your class down the line, rather than making it easy to support internal changes
p0wn3d_ has quit [Ping timeout: 268 seconds]
mary5030 has joined #ruby
<workmad3> freezevee: and those methods sound like private methods that are helpers to the main algorithm ;)
jairojunior has joined #ruby
tsujp has quit [Quit: tsujp is snoozing]
<freezevee> workmad3: how did you learn to test ?
mary5030 has quit [Ping timeout: 252 seconds]
<workmad3> freezevee: mostly self taught through books like TDD: By Example, talking to people on IRC and real life and trying things out
dorei has quit []
baweaver has joined #ruby
arian0n has left #ruby ["WeeChat 1.3"]
ngscheurich has joined #ruby
<adaedra> Time for bed, see y'all
<workmad3> freezevee: Growing Object Orient Software can be a source too, if you're OK with reading java examples (I had to read it twice... first time through innoculated me to the jmock boilerplate so I could pick up the interesting details on a second read)
freezeve_ has joined #ruby
dorei has joined #ruby
freezeve_ has quit [Client Quit]
<workmad3> freezevee: then there's books like Refactoring... I had a book a while back on software testing that I never got all the way through, but it opened my eyes on the sort of things that can be considered for testing (that's the first time I found the triangle classifier, for example)
freezeve_ has joined #ruby
freezevee has quit [Ping timeout: 250 seconds]
bronson has joined #ruby
freezeve_ has quit [Client Quit]
bluOxigen has quit [Ping timeout: 240 seconds]
vF3hNGxc47h8 has joined #ruby
freezevee has joined #ruby
Akagi201 has joined #ruby
<workmad3> freezevee: how much of the convo did you miss before your connection went screwy?
Voker57 has quit [Read error: Connection reset by peer]
bronson has quit [Ping timeout: 244 seconds]
djbkd has quit [Ping timeout: 246 seconds]
michaeldeol has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
ngscheurich has quit [Ping timeout: 268 seconds]
<freezevee> shit, I'm on wifi and it sucks
<freezevee> workmad3: sorry
havenwood has quit [Quit: Textual IRC Client: www.textualapp.com]
freerobby has quit [Quit: Leaving.]
Asher has quit [Remote host closed the connection]
freezevee has quit [Remote host closed the connection]
Akagi201 has quit [Ping timeout: 250 seconds]
Asher has joined #ruby
SCHAAP137 has quit [Quit: Leaving]
RegulationD has joined #ruby
<leitz> Isn't there a web based chat log? You could read it for what was missed.
<leitz> I was going to ask adaedra a question, but they've zonked out on me. Drat.
<shevy> he is gone
<shevy> the topic refers to the log
CanTonic has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<leitz> Yeah. adaedra made a comment yesterday, when he looked at my code. He said "there is so much that could be improved." I was going to ask for recommendations of areas to focus on.
<leitz> Something besides "everything", which my mind tries to do.
FrankD has quit [Ping timeout: 255 seconds]
JammyHammy has quit [Read error: Connection reset by peer]
<shevy> yeah he is very critical
<leitz> Critical feedback is critical to growth.
RegulationD has quit [Ping timeout: 244 seconds]
<leitz> At least to rapid growth. I can putz along for years.
<leitz> I have ~ 6 months of PHP spread over 10 years of coding. :)
danieli has quit [Quit: *does an epic backflip into nowhere*]
<leitz> Trying to pick up the pace with Ruby.
JammyHammy has joined #ruby
Balzrael has quit [Quit: Leaving]
bentanweihao has joined #ruby
<leitz> freezevee, another thing is to consider when you test. I had a working test for a method that did "something" if a certain set of conditions was met.
<leitz> I forgot that another method or two could change the testable conditions, and they acted after the method under test.
FrankD has joined #ruby
firstdayonthejob has quit [Ping timeout: 256 seconds]
postmodern has joined #ruby
Trynemjoel has quit [Ping timeout: 250 seconds]
jairojunior has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Trynemjoel has joined #ruby
kobain has joined #ruby
kobain has quit [Max SendQ exceeded]
jdawgaz has joined #ruby
yfeldblum has joined #ruby
kobain has joined #ruby
leitz has quit [Quit: Nappy time]
rmrrn has quit [Quit: ZNC - http://znc.in]
roxtrongo has quit [Remote host closed the connection]
ezra has joined #ruby
ezra is now known as Guest26078
<Guest26078> Hi, I need some help with dating_app I am trying to create. I am very new to Ruby-on-Rails, and for some reason, my terminal will not let me create a StaticPages Controller
Trynemjoel has quit [Ping timeout: 250 seconds]
<Guest26078> can I post the error message and can someone give me feedback for my current predicament?
rmrrn has joined #ruby
rmrrn has joined #ruby
vF3hNGxc47h8 has quit [Read error: Connection reset by peer]
jun_ has quit [Remote host closed the connection]
minimalism has quit [Quit: leaving]
Trynemjoel has joined #ruby
<Guest26078> this the error message that I get when I try to try to type in the command 'rails g controller StaticPages home directory':vbaker/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/activerecord-4.2.4/lib/active_record/connection_adapters/connection_specification.rb:150:in `resolve_all': undefined method `each' for #<String:0x007fc4668d6e68> (NoMethodError) from /Users/r/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/activerecord-4.2.4/l
michaeldeol has joined #ruby
devgiant has quit [Quit: Leaving]
roxtrongo has joined #ruby
<baweaver> Guest26078: ?rails
<baweaver> fine ruboto... Join RubyOnRails
rbennacer has joined #ruby
<baweaver> this channel is just ruby
devoldmx has quit [Remote host closed the connection]
swgillespie has joined #ruby
bigmac_ has quit [Ping timeout: 246 seconds]
Kallis has joined #ruby
michaeldeol has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
maikowblue has joined #ruby
roxtrong_ has joined #ruby
devoldmx has joined #ruby
wildlander has quit [Quit: Saliendo]
FernandoBasso has quit [Quit: WeeChat 1.3]
jairojunior has joined #ruby
framling has quit [Quit: ERC Version 5.3 (IRC client for Emacs)]
roxtrongo has quit [Ping timeout: 265 seconds]
Guest26078 has quit [Ping timeout: 246 seconds]
gustav_ has quit [Remote host closed the connection]
swgillespie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
hololeap has joined #ruby
<hololeap> can anyone please help me understand why this isn't working? https://gist.github.com/hololeap/30c501e46629c7529d81
jun_ has joined #ruby
k3asd` has quit [Ping timeout: 240 seconds]
Rodya_ has joined #ruby
tomchapin has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Stalkr_ has quit [Quit: Leaving...]
renderfu_ has joined #ruby
BTRE has quit [Quit: Leaving]
jdawgaz has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
bronson has joined #ruby
<shevy> you must read the array message
<shevy> [] + '' ruby not likes
jdawgaz has joined #ruby
donkey_hotei has joined #ruby
<donkey_hotei> hello - I'm looking for a simple method of creating an array of strings from within a view and then passing that array in as a query parameter
jamesaxl has quit [Remote host closed the connection]
<donkey_hotei> I know this must have been done by someone on this chan
jdawgaz has quit [Client Quit]
karapetyan has joined #ruby
quazimodo has joined #ruby
<shevy> hololeap seems as if the input passed to new() is invalid
renderfu_ has quit [Ping timeout: 264 seconds]
<hololeap> shevy: i found a couple of blatent typos. i fixed them but it still isn't working. i added some working code for reference
bronson has quit [Ping timeout: 272 seconds]
jun_ has quit [Remote host closed the connection]
jdawgaz has joined #ruby
karapetyan has quit [Ping timeout: 246 seconds]
<shevy> it works without the [] part to new
<shevy> you must be doing something that makes this invalid
<shevy> >> require 'pp'; class Foo; def initialize(*i); pp i; end; end; Foo.new [:array_one, :array_two], :var_three, :var_four
<ruboto> shevy # => [[:array_one, :array_two], :var_three, :var_four] ...check link for more (https://eval.in/440364)
bentanweihao has quit [Remote host closed the connection]
<shevy> I've never seen code like yours before :)
roxtrong_ has quit [Remote host closed the connection]
<hololeap> shevy: i know, but i don't understand why. the arrays get merged and splatted before being sent to super(), so there shouldn't be any problem
Jardayn has quit [Quit: Leaving]
<shevy> I don't know why either, the code is very strange
<shevy> I've never seen this before:
<shevy> super *(variables + Array(subarray_names)) do
jairojunior has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<hololeap> that _should_ be equivelant to `Struct.new(*(variables + Array(subarray_names))) { ... }`
<hololeap> since its inheriting from Struct
Jardayn has joined #ruby
atomical has quit [Quit: Textual IRC Client: www.textualapp.com]
Jardayn has quit [Client Quit]
jairojunior has joined #ruby
Ropeney has joined #ruby
bentanweihao has joined #ruby
bentanweihao has quit [Remote host closed the connection]
jairojunior has quit [Client Quit]
j4cknewt has joined #ruby
freerobby has joined #ruby
Yzguy has joined #ruby
iceyec has joined #ruby
Rodya_ has quit [Remote host closed the connection]
jun_ has joined #ruby
iceyec has quit [Client Quit]
bigmac_ has joined #ruby
<hololeap> donkey_hotei: how is the user inputting the array?
thejamespinto has joined #ruby
jun_ has quit [Read error: Connection reset by peer]
marr has quit []