apeiros changed the topic of #ruby to: Rules & more: https://ruby-community.com || Ruby 2.3.1; 2.2.5; 2.1.10: https://www.ruby-lang.org || Paste >3 lines of text on https://gist.github.com || Rails questions? Ask on #RubyOnRails || logs @ https://irclog.whitequark.org/ruby/
nchambers has joined #ruby
rodferso1 has quit [Quit: Lost terminal]
Giordano has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
glebm has joined #ruby
nickmm has joined #ruby
wingwalker has joined #ruby
pragmaticus has joined #ruby
SteenJobs has quit [Quit: SteenJobs]
tristanp has joined #ruby
Dimik has joined #ruby
JeanCarloMachado has quit [Ping timeout: 250 seconds]
SteenJobs has joined #ruby
tdy has joined #ruby
Pupeno has quit [Remote host closed the connection]
Lord_of_Life has quit [Excess Flood]
Pupeno has joined #ruby
JeanCarloMachado has joined #ruby
Lord_of_Life has joined #ruby
Pupeno has quit [Read error: Connection reset by peer]
Pupeno has joined #ruby
atmosx_ has joined #ruby
marr has quit [Ping timeout: 252 seconds]
infernix has quit [Ping timeout: 260 seconds]
pokalyis has joined #ruby
atmosx_aws has joined #ruby
atmosx_ has quit [Quit: Textual IRC Client: www.textualapp.com]
atmosx_aws has quit [Client Quit]
atmosx_aws has joined #ruby
anuxivm has joined #ruby
atmosx has quit [Remote host closed the connection]
saneax-_-|AFK is now known as saneax
atmosx_aws is now known as atmosx
atmosx has quit [Client Quit]
atmosx has joined #ruby
aidalgol has joined #ruby
akaiiro has quit [Quit: Leaving]
skweek has joined #ruby
tristanp has quit [Remote host closed the connection]
tristanp has joined #ruby
xall has joined #ruby
atmosx has quit [Quit: WeeChat 1.4]
Pupeno has quit [Remote host closed the connection]
xall_ has quit [Ping timeout: 256 seconds]
Pupeno has joined #ruby
tristanp has quit [Ping timeout: 260 seconds]
XV9 has joined #ruby
JoshS has joined #ruby
f4_ has quit [Quit: Konversation terminated!]
saneax is now known as saneax-_-|AFK
Pupeno has quit [Ping timeout: 256 seconds]
d0nn1e has joined #ruby
mikecmpbll has quit [Quit: inabit. zz.]
biberu has quit [Read error: Connection reset by peer]
UserJosh has quit [Ping timeout: 268 seconds]
XV9 has quit [Client Quit]
postmodern has joined #ruby
jeffery has joined #ruby
grs has joined #ruby
ziarkaen has joined #ruby
wingwalker has quit [Ping timeout: 260 seconds]
wingwalker has joined #ruby
nankyokusei has joined #ruby
Capela has joined #ruby
charliesome has joined #ruby
mikecmpbll has joined #ruby
tristanp has joined #ruby
ziarkaen has quit [Ping timeout: 260 seconds]
dviola has quit [Quit: WeeChat 1.6]
SteenJobs has quit [Quit: SteenJobs]
bmurt has joined #ruby
jschoolcraft has quit [Quit: peace]
Capela_ has quit [Ping timeout: 260 seconds]
nankyokusei has quit [Ping timeout: 265 seconds]
ramfjord has quit [Ping timeout: 265 seconds]
tristanp has quit [Remote host closed the connection]
infernix has joined #ruby
ramfjord has joined #ruby
ocbtec has quit [Quit: leaving]
infernix has quit [Ping timeout: 260 seconds]
harai has quit [Ping timeout: 260 seconds]
jaguarmagenta has joined #ruby
JeanCarloMachado has quit [Ping timeout: 260 seconds]
doublemalt__ has joined #ruby
Capela has quit [Read error: Connection reset by peer]
Capela has joined #ruby
lel has quit [Ping timeout: 260 seconds]
doublemalt_ has quit [Ping timeout: 260 seconds]
lel has joined #ruby
alexherbo2 has joined #ruby
infernix has joined #ruby
anuxivm has quit [Ping timeout: 244 seconds]
zacts has quit [Ping timeout: 250 seconds]
mikecmpbll has quit [Quit: inabit. zz.]
anuxivm has joined #ruby
anuxivm has quit [Max SendQ exceeded]
Capela_ has joined #ruby
weemsledeux has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
aevin[m]1 has left #ruby ["User left"]
Capela has quit [Ping timeout: 244 seconds]
JoshS has quit [Quit: Leaving]
leea has joined #ruby
weemsledeux has joined #ruby
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
infernix has quit [Quit: ZNC - http://znc.sourceforge.net]
r3vDev has joined #ruby
ur5us has joined #ruby
rrichardsr3 has joined #ruby
ccooke has quit [Remote host closed the connection]
Capela has joined #ruby
interpolate has quit [Quit: interpolate]
arnonhongklay has joined #ruby
davidt has quit []
Capela_ has quit [Ping timeout: 244 seconds]
hutch34 has joined #ruby
ARCADIVS has joined #ruby
renderful has joined #ruby
hutch34 has quit [Ping timeout: 250 seconds]
cdg has joined #ruby
aeontech has joined #ruby
ccooke has joined #ruby
renderful has quit [Ping timeout: 252 seconds]
ziarkaen has joined #ruby
cdg has quit [Read error: Connection reset by peer]
Capela has quit [Read error: Connection reset by peer]
jcao219 has quit [Ping timeout: 268 seconds]
cdg has joined #ruby
Capela has joined #ruby
webguynow has quit [Ping timeout: 260 seconds]
railssmith has joined #ruby
cdg has quit [Remote host closed the connection]
webguynow has joined #ruby
ziarkaen has quit [Ping timeout: 260 seconds]
MrBusiness2 has joined #ruby
railssmith has quit [Client Quit]
alexherbo2 has quit [Ping timeout: 250 seconds]
MrBusiness3 has quit [Ping timeout: 250 seconds]
solocshaw has joined #ruby
Capela_ has joined #ruby
infernix has joined #ruby
ur5us has quit [Remote host closed the connection]
tdy has quit [Ping timeout: 260 seconds]
Capela has quit [Ping timeout: 244 seconds]
solocshaw has quit [Ping timeout: 260 seconds]
webguynow has quit [Ping timeout: 260 seconds]
webguynow has joined #ruby
banisterfiend has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
audiodude has joined #ruby
charliesome has joined #ruby
<audiodude> Does anyone use Unirest inside a Rails controller? Do I have to explicitly require it somewhere? uninitialized constant UserController::Unirest
<audiodude> ....and I realized that I made the classic mistake of asking a #rubyonrails question in #ruby
nankyokusei has joined #ruby
nbrogan has joined #ruby
s2013 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
nankyokusei has quit [Ping timeout: 260 seconds]
audiodude has quit [Quit: Textual IRC Client: www.textualapp.com]
weemsledeux has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
rrichardsr3 has quit [Quit: Apparantly my attempt to stay awake has failed...]
Capela has joined #ruby
Capela_ has quit [Ping timeout: 250 seconds]
SCHAAP137 has quit [Ping timeout: 268 seconds]
s2013 has joined #ruby
tvw has quit [Ping timeout: 260 seconds]
Pupeno has joined #ruby
truthabs is now known as absolutetruth
absolutetruth is now known as AbsoluteTruth
Pupeno has quit [Ping timeout: 256 seconds]
SCHAAP137 has joined #ruby
d^sh has quit [Ping timeout: 250 seconds]
d^sh has joined #ruby
gnufied has joined #ruby
tdy has joined #ruby
Capela has quit [Remote host closed the connection]
ziarkaen has joined #ruby
ziarkaen has quit [Ping timeout: 260 seconds]
jaguarmagenta has quit []
jeffery has quit [Quit: jeffery]
SCHAAP137 has quit [Read error: Connection reset by peer]
redpants has quit [Ping timeout: 260 seconds]
optiz0r has quit [Ping timeout: 252 seconds]
creat has joined #ruby
xlegoman has quit [Quit: Textual IRC Client: www.textualapp.com]
rrichardsr3 has joined #ruby
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
railssmith has joined #ruby
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
LoneHerm_ has joined #ruby
LoneHerm_ has quit [Remote host closed the connection]
LoneHerm_ has joined #ruby
r3vDev has quit [Ping timeout: 268 seconds]
AbsoluteTruth has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
pawnbox has joined #ruby
baweaver is now known as baweaver_away
LoneHerm_ has quit [Ping timeout: 252 seconds]
solocshaw has joined #ruby
baweaver_away is now known as baweaver
djbkd has joined #ruby
djbkd has quit [Remote host closed the connection]
kent\n has quit [Quit: No Ping reply in 180 seconds.]
djbkd has joined #ruby
evidex has joined #ruby
jackjackdripper has joined #ruby
byte512 has quit [Ping timeout: 260 seconds]
kent\n has joined #ruby
tristanp has joined #ruby
evidex has quit [Ping timeout: 252 seconds]
nankyokusei has joined #ruby
arescorpio has joined #ruby
symm- has joined #ruby
arescorpio has quit [Max SendQ exceeded]
hutch34 has joined #ruby
symm- has quit [Client Quit]
optiz0r has joined #ruby
nankyokusei has quit [Ping timeout: 260 seconds]
rrichard_ has joined #ruby
xpolis8 has joined #ruby
rrichardsr3 has quit [Ping timeout: 256 seconds]
minimalism is now known as tty
solocshaw has quit [Ping timeout: 260 seconds]
xall has quit [Ping timeout: 256 seconds]
hutch34 has quit [Ping timeout: 268 seconds]
ziarkaen has joined #ruby
Darmani has joined #ruby
ziarkaen has quit [Ping timeout: 265 seconds]
Channel6 has joined #ruby
rrichard_ has quit [Remote host closed the connection]
rrichardsr3 has joined #ruby
_whitelogger has joined #ruby
tty is now known as minimalism
rrichard_ has joined #ruby
djbkd2 has joined #ruby
rrichardsr3 has quit [Ping timeout: 260 seconds]
gnufied has quit [Ping timeout: 260 seconds]
SCHAAP137 has joined #ruby
vikaton has quit [Quit: Connection closed for inactivity]
djbkd2 has quit [Client Quit]
XV8 has joined #ruby
XV8 has quit [Remote host closed the connection]
rrichardsr3 has joined #ruby
rrichard_ has quit [Ping timeout: 260 seconds]
yeticry has quit [Read error: Connection reset by peer]
JazzyVariable227 has quit [Ping timeout: 250 seconds]
JazzyVariable227 has joined #ruby
nbrogan has quit [Quit: nbrogan]
sdothum has quit [Quit: ZNC - 1.6.0 - http://znc.in]
c355e3b has quit [Quit: Connection closed for inactivity]
Pupeno has joined #ruby
User458764 has joined #ruby
Pupeno has quit [Ping timeout: 250 seconds]
gix has quit [Ping timeout: 260 seconds]
gix has joined #ruby
SCHAAP137 has quit [Quit: Leaving]
ziarkaen has joined #ruby
JoshS has joined #ruby
rrichard_ has joined #ruby
djbkd has quit [Remote host closed the connection]
ziarkaen has quit [Ping timeout: 260 seconds]
rrichardsr3 has quit [Ping timeout: 250 seconds]
nankyokusei has joined #ruby
nankyokusei has quit [Ping timeout: 250 seconds]
sarlalian has quit [Ping timeout: 250 seconds]
shinnya has quit [Ping timeout: 256 seconds]
_sfiguser has quit [Ping timeout: 250 seconds]
redpants has joined #ruby
djbkd has joined #ruby
sarlalian has joined #ruby
JoshS has quit [Quit: Leaving]
last_staff has joined #ruby
rrichard_ has quit [Ping timeout: 244 seconds]
yaewa has joined #ruby
MrBusiness2 has quit [Read error: Connection reset by peer]
yaewa has quit [Client Quit]
yaewa has joined #ruby
moei has quit [Ping timeout: 250 seconds]
yaewa has quit [Remote host closed the connection]
vikaton has joined #ruby
exchgr has quit [Ping timeout: 250 seconds]
exchgr has joined #ruby
_sfiguser has joined #ruby
bob434 has quit [Quit: This computer has gone to sleep]
moei has joined #ruby
rrichardsr3 has joined #ruby
leea has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
evidex has joined #ruby
Darmani has quit [Ping timeout: 260 seconds]
lel has quit [Read error: Connection reset by peer]
evidex has quit [Ping timeout: 265 seconds]
gingray has joined #ruby
renderfu_ has joined #ruby
pawnbox has quit [Remote host closed the connection]
MrBusiness has joined #ruby
MrBusiness is now known as Guest2876
renderfu_ has quit [Ping timeout: 244 seconds]
solocshaw has joined #ruby
rrichardsr3 has quit [Quit: Apparantly my attempt to stay awake has failed...]
djbkd has quit [Remote host closed the connection]
Guest2876 is now known as MrBusiness2
Channel6 has quit [Quit: Leaving]
ziarkaen has joined #ruby
hakunin has quit []
misterpink has quit [Read error: Connection reset by peer]
leea has joined #ruby
wingwalker has quit [Ping timeout: 260 seconds]
ziarkaen has quit [Ping timeout: 252 seconds]
JoshS has joined #ruby
pokalyis has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
pokalyis has joined #ruby
wingwalker has joined #ruby
_whitelogger has joined #ruby
last_staff has quit [Read error: Connection reset by peer]
rrichardsr3 has joined #ruby
User458764 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
nankyokusei has joined #ruby
solocshaw has quit [Ping timeout: 244 seconds]
dionysus69 has joined #ruby
nankyokusei has quit [Ping timeout: 252 seconds]
rrichardsr3 has quit [Ping timeout: 265 seconds]
rrichardsr3 has joined #ruby
leea has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ramfjord has quit [Ping timeout: 260 seconds]
conta has joined #ruby
redpants has quit [Ping timeout: 250 seconds]
pokalyis has quit [Quit: Textual IRC Client: www.textualapp.com]
last_staff has joined #ruby
lacour has quit [Quit: Leaving]
whiteline has quit [Ping timeout: 246 seconds]
last_staff has quit [Quit: l8rz]
the_drow has joined #ruby
tubuliferous has joined #ruby
rrichard_ has joined #ruby
shinnya has joined #ruby
tdy1 has joined #ruby
rrichardsr3 has quit [Ping timeout: 244 seconds]
ziarkaen has joined #ruby
rrichard_ has quit [Client Quit]
tdy has quit [Ping timeout: 260 seconds]
Cohedrin has joined #ruby
ziarkaen has quit [Ping timeout: 256 seconds]
blackbombay__ has quit [Ping timeout: 260 seconds]
yardenbar has joined #ruby
the_drow has quit [Quit: This computer has gone to sleep]
codfection has joined #ruby
ramfjord has joined #ruby
tubuliferous has quit [Ping timeout: 244 seconds]
tdy3 has joined #ruby
tdy1 has quit [Ping timeout: 260 seconds]
johnny56 has quit [Ping timeout: 246 seconds]
s2013 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
xall_ has joined #ruby
tdy3 has quit [Read error: Connection reset by peer]
tdy3 has joined #ruby
LoneHerm_ has joined #ruby
gizmore has quit [Quit: KVIrc 4.9.2 Aria http://www.kvirc.net/]
Pisuke has quit [Quit: WeeChat 1.6-dev]
mluts has joined #ruby
gizmore has joined #ruby
gizmore has quit [Remote host closed the connection]
gizmore has joined #ruby
xall_ has quit [Ping timeout: 260 seconds]
tdy3 has quit [Read error: Connection reset by peer]
tdy3 has joined #ruby
evidex has joined #ruby
antgel has joined #ruby
evidex has quit [Ping timeout: 260 seconds]
nankyokusei has joined #ruby
zacts has joined #ruby
nankyokusei has quit [Ping timeout: 244 seconds]
mluts has quit [Quit: leaving]
codfection has quit [Remote host closed the connection]
timmow has quit [Ping timeout: 268 seconds]
ltd_ has quit [Ping timeout: 245 seconds]
Capela has joined #ruby
Jameser has joined #ruby
timmow has joined #ruby
ziarkaen has joined #ruby
blackbombay__ has joined #ruby
armyriad has quit [Ping timeout: 260 seconds]
_vy_ has left #ruby [#ruby]
Capela has quit [Ping timeout: 260 seconds]
ziarkaen has quit [Ping timeout: 250 seconds]
rrichardsr3 has joined #ruby
blackbombay__ has quit [Ping timeout: 244 seconds]
gizless has joined #ruby
gizmore has quit [Ping timeout: 260 seconds]
xall_ has joined #ruby
harai has joined #ruby
buglessdr2 has quit [Ping timeout: 244 seconds]
lxsameer has joined #ruby
tubuliferous has joined #ruby
rrichard_ has joined #ruby
benhoi has quit [Ping timeout: 260 seconds]
Dimik has quit [Ping timeout: 250 seconds]
toretore has joined #ruby
ltd has joined #ruby
rrichardsr3 has quit [Ping timeout: 268 seconds]
igniting has quit [Ping timeout: 252 seconds]
glebm has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
hero has joined #ruby
anisha has joined #ruby
dnicole has joined #ruby
benhoi has joined #ruby
igniting has joined #ruby
buglessdr2 has joined #ruby
dnicole has quit [Ping timeout: 252 seconds]
Alina-malina_ has joined #ruby
wingwalker has quit [Quit: Leaving]
pawnbox has joined #ruby
LoneHerm_ has quit [Remote host closed the connection]
Alina-malina_ has quit [Changing host]
Alina-malina_ has joined #ruby
buglessdr2 has quit [Ping timeout: 268 seconds]
Alina-malina has quit [Ping timeout: 260 seconds]
vikaton has quit [Quit: Connection closed for inactivity]
chouhoulis has joined #ruby
the_drow has joined #ruby
chouhoulis has quit [Ping timeout: 260 seconds]
harfangk has joined #ruby
agent_white has quit [Quit: bai]
tdy4 has joined #ruby
tdy3 has quit [Ping timeout: 250 seconds]
ur5us has joined #ruby
Capela has joined #ruby
_whitelogger has joined #ruby
conta has joined #ruby
Capela has quit [Ping timeout: 260 seconds]
saneax-_-|AFK is now known as saneax
Ishido has joined #ruby
ziarkaen has joined #ruby
tdy has joined #ruby
nadir has quit [Quit: Connection closed for inactivity]
bocaneri has quit [Quit: Leaving]
Renich has joined #ruby
tdy4 has quit [Ping timeout: 256 seconds]
nankyokusei has joined #ruby
xall_ has quit [Ping timeout: 260 seconds]
ziarkaen has quit [Ping timeout: 260 seconds]
hero has quit [Ping timeout: 250 seconds]
User458764 has joined #ruby
nankyokusei has quit [Ping timeout: 252 seconds]
benhoi has quit [Ping timeout: 265 seconds]
Cohedrin has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
saneax is now known as saneax-_-|AFK
benhoi has joined #ruby
A124 has joined #ruby
anisha_ has joined #ruby
marr has joined #ruby
Renich has quit [Quit: leaving]
firstdayonthejob has joined #ruby
anisha has quit [Ping timeout: 260 seconds]
Immune has quit [Ping timeout: 260 seconds]
Jackneill has joined #ruby
rajdesai has joined #ruby
pawnbox has quit [Remote host closed the connection]
bocaneri has joined #ruby
tubuliferous has quit [Ping timeout: 268 seconds]
rrichard_ has quit [Ping timeout: 252 seconds]
claudiuinberlin has joined #ruby
pawnbox has joined #ruby
lxsameer has quit [Ping timeout: 260 seconds]
jackjackdripper has quit [Quit: Leaving.]
rrichardsr3 has joined #ruby
ur5us has quit [Remote host closed the connection]
nikivi has joined #ruby
evidex has joined #ruby
evidex has quit [Ping timeout: 252 seconds]
hammeds has quit [Excess Flood]
hammed has joined #ruby
tdy has quit [Ping timeout: 265 seconds]
Jameser has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
renderful has joined #ruby
lxsameer has joined #ruby
Pupeno has joined #ruby
Capela has joined #ruby
renderful has quit [Ping timeout: 244 seconds]
Capela has quit [Ping timeout: 260 seconds]
rrichardsr3 has quit [Read error: Connection reset by peer]
aeontech has quit [Quit: aeontech]
ziarkaen has joined #ruby
charliesome has joined #ruby
quazimodo has joined #ruby
ziarkaen has quit [Ping timeout: 260 seconds]
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #ruby
Ax has joined #ruby
lenwood has joined #ruby
nankyokusei has joined #ruby
camilasan has quit [Remote host closed the connection]
camilasan has joined #ruby
nankyokusei has quit [Ping timeout: 260 seconds]
dnicole has joined #ruby
ramfjord has quit [Ping timeout: 260 seconds]
ramfjord has joined #ruby
dnicole has quit [Ping timeout: 260 seconds]
Alina-malina_ is now known as Alina-malina
pandaant has joined #ruby
Jameser has joined #ruby
Pumukel has joined #ruby
xall_ has joined #ruby
blackbombay__ has joined #ruby
Madplatypus has quit [Quit: Connection closed for inactivity]
nikivi has quit [Quit: irc]
duper has joined #ruby
quazimodo has quit [Ping timeout: 260 seconds]
tvw has joined #ruby
bob434 has joined #ruby
sameerynho has joined #ruby
spectrum has joined #ruby
whiteline has joined #ruby
lxsameer has quit [Ping timeout: 260 seconds]
xall_ has quit [Ping timeout: 252 seconds]
JeanCarloMachado has joined #ruby
loechel has joined #ruby
Capela has joined #ruby
Pumukel has quit [Ping timeout: 260 seconds]
slackr has joined #ruby
Capela has quit [Ping timeout: 260 seconds]
xall_ has joined #ruby
ziarkaen has joined #ruby
loechel has quit [Remote host closed the connection]
muelleme has quit [Ping timeout: 250 seconds]
quazimodo has joined #ruby
anisha_ has quit [Quit: This computer has gone to sleep]
ziarkaen has quit [Ping timeout: 260 seconds]
Ishido has quit [Remote host closed the connection]
Jameser has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
antgel has quit [Ping timeout: 260 seconds]
c355e3b has joined #ruby
despai has joined #ruby
lenwood has quit [Ping timeout: 256 seconds]
Jameser has joined #ruby
lenwood has joined #ruby
ravinray has joined #ruby
aidalgol has quit [Quit: zZzZZzZzzzz]
<ravinray> hi guys. i just installed ruby 2.2.5 on my windows machine. i cannot install via gem, because it states, certificate verify failed. my first google search results point to an error that is old. can anyone help me out?
<marahin> ravinray old error doesn't mean it's an outdated error!
<marahin> :)
<ravinray> thats true :)
<ravinray> i found this one: https://gist.github.com/luislavena/f064211759ee0f806c88 that links to a new certificate. but the link doesnt exist anymore...
antgel has joined #ruby
Jameser has quit [Client Quit]
codfection has joined #ruby
hightower3 has quit [Ping timeout: 260 seconds]
hightower2 has joined #ruby
codfection has quit [Remote host closed the connection]
<apeiros> ravinray: not on windows. but on that issue, drbrain (core contrib for rubygems) says they'll add it to guides.rubygems.org, and there I found http://guides.rubygems.org/ssl-certificate-update/
<apeiros> maybe that helps?
<apeiros> as in, maybe that's kept up to date
<ravinray> thank you, i will have a look at it!
symm- has joined #ruby
alexherbo2 has joined #ruby
<ravinray> nice, that worked! thank you very much :)
despai has quit [Ping timeout: 260 seconds]
blackbombay__ has quit [Ping timeout: 260 seconds]
JoshS has quit [Ping timeout: 260 seconds]
nankyokusei has joined #ruby
bruce_lee has joined #ruby
blackbombay__ has joined #ruby
nankyokusei has quit [Ping timeout: 260 seconds]
muelleme has joined #ruby
<apeiros> yw
muelleme has quit [Ping timeout: 265 seconds]
mikecmpbll has joined #ruby
hammed has quit [Remote host closed the connection]
hammed has joined #ruby
cibs has quit [Ping timeout: 268 seconds]
cibs has joined #ruby
Ax has quit [Quit: Ax]
alexherbo2 has quit [Ping timeout: 252 seconds]
Capela has joined #ruby
Capela has quit [Ping timeout: 260 seconds]
Jameser has joined #ruby
ziarkaen has joined #ruby
marr has quit [Ping timeout: 250 seconds]
SCHAAP137 has joined #ruby
ziarkaen has quit [Ping timeout: 252 seconds]
tk__ has joined #ruby
Capela has joined #ruby
rajdesai has quit [Remote host closed the connection]
rajdesai has joined #ruby
JoshS has joined #ruby
rajdesai has quit [Ping timeout: 260 seconds]
cdg has joined #ruby
JeanCarloMachado has quit [Ping timeout: 250 seconds]
Lord_of_Life has quit [Excess Flood]
CloCkWeRX has joined #ruby
dnicole has joined #ruby
tvw has quit [Remote host closed the connection]
Lord_of_Life has joined #ruby
dnicole has quit [Ping timeout: 244 seconds]
kimegede has joined #ruby
Capela has quit [Remote host closed the connection]
Ishido has joined #ruby
drzel has quit [Quit: https://fnordserver.eu]
Satyajit has quit [Quit: https://fnordserver.eu]
rippa has joined #ruby
pandaant has quit [Remote host closed the connection]
alxgsv has quit [Quit: https://fnordserver.eu]
flopsec has quit [Quit: https://fnordserver.eu]
roamingdog has joined #ruby
lxsameer_ has joined #ruby
nankyokusei has joined #ruby
sameerynho has quit [Ping timeout: 268 seconds]
ARCADIVS has quit [Quit: ARCADIVS]
nankyokusei has quit [Ping timeout: 260 seconds]
nickmm has quit [Ping timeout: 252 seconds]
govg has joined #ruby
Xentil has joined #ruby
sepp2k has joined #ruby
postmodern has quit [Quit: Leaving]
doublemalt__ has quit [Ping timeout: 268 seconds]
phaza has joined #ruby
ziarkaen has joined #ruby
anisha_ has joined #ruby
ziarkaen has quit [Ping timeout: 250 seconds]
nickmm has joined #ruby
Xentil has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
agit0 has joined #ruby
jeyraof has joined #ruby
anuxivm has joined #ruby
anuxivm has left #ruby [#ruby]
_sfiguser has quit [Ping timeout: 252 seconds]
anisha_ has quit [Quit: This computer has gone to sleep]
gingray has quit [Ping timeout: 244 seconds]
roamingdog has quit [Remote host closed the connection]
roamingdog has joined #ruby
cdg has quit [Remote host closed the connection]
nikivi has joined #ruby
agit0 has quit [Quit: zzzZZZ….]
_sfiguser has joined #ruby
Qommand0r has quit [Ping timeout: 250 seconds]
ravinray has quit [Quit: Page closed]
xall_ has quit [Ping timeout: 265 seconds]
roamingdog has quit [Remote host closed the connection]
roamingdog has joined #ruby
roamingdog has quit [Remote host closed the connection]
roamingdog has joined #ruby
roamingdog has quit [Remote host closed the connection]
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
roamingdog has joined #ruby
lel has joined #ruby
roamingdog has quit [Remote host closed the connection]
roamingdog has joined #ruby
roamingdog has quit [Remote host closed the connection]
roamingdog has joined #ruby
roamingdog has quit [Remote host closed the connection]
roamingdog has joined #ruby
frankiee1 has joined #ruby
roamingdog has quit [Remote host closed the connection]
<frankiee1> Hi! Why when I `gem install bundler` there's no `bundle` binary, only `bundle23`?
roamingdog has joined #ruby
roamingdog has quit [Remote host closed the connection]
jeyraof has quit [Ping timeout: 268 seconds]
roamingdog has joined #ruby
sdothum has joined #ruby
roamingd_ has joined #ruby
Qommand0r has joined #ruby
roamingdog has quit [Read error: Connection reset by peer]
jeyraof has joined #ruby
renderful has joined #ruby
miqlas-H has joined #ruby
roamingd_ has quit [Remote host closed the connection]
edwinvdgraaf has joined #ruby
roamingdog has joined #ruby
roamingdog has quit [Remote host closed the connection]
roamingdog has joined #ruby
roamingdog has quit [Remote host closed the connection]
nikivi has quit [Read error: Connection reset by peer]
roamingdog has joined #ruby
roamingdog has quit [Remote host closed the connection]
nankyokusei has joined #ruby
renderful has quit [Ping timeout: 244 seconds]
roamingdog has joined #ruby
roamingdog has quit [Remote host closed the connection]
roamingdog has joined #ruby
roamingdog has quit [Remote host closed the connection]
roamingdog has joined #ruby
roamingdog has quit [Remote host closed the connection]
nikivi has joined #ruby
nankyokusei has quit [Ping timeout: 252 seconds]
ziarkaen has joined #ruby
roamingd_ has joined #ruby
ziarkaen has quit [Ping timeout: 250 seconds]
ruid has joined #ruby
ruid has quit [Changing host]
ruid has joined #ruby
Capela has joined #ruby
sdothum has quit [Quit: ZNC - 1.6.0 - http://znc.in]
sdothum has joined #ruby
platzhirsch has joined #ruby
maloik has quit [Remote host closed the connection]
maloik has joined #ruby
evidex has joined #ruby
the_drow has quit [Quit: Leaving]
platzhirsch has quit [Ping timeout: 250 seconds]
dnicole has joined #ruby
nadir has joined #ruby
agit0 has joined #ruby
evidex has quit [Ping timeout: 256 seconds]
<vktec> frankiee1: gem install -g bundler
jeyraof has quit [Ping timeout: 250 seconds]
<vktec> You may need to prefix that with sudo
dnicole has quit [Ping timeout: 250 seconds]
platzhirsch has joined #ruby
bluOxigen has joined #ruby
jeyraof has joined #ruby
platzhirsch has quit [Ping timeout: 250 seconds]
yardenbar has quit [Ping timeout: 244 seconds]
johnny56 has joined #ruby
vktec has quit [Ping timeout: 250 seconds]
vktec has joined #ruby
vktec has quit [Excess Flood]
vktec has joined #ruby
vktec has quit [Excess Flood]
vktec has joined #ruby
vktec has quit [Excess Flood]
vktec has joined #ruby
vktec has quit [Excess Flood]
Mon_Ouie has quit [Quit: WeeChat 1.6]
vktec has joined #ruby
vktec has quit [Excess Flood]
<frankiee1> doesnt work
<frankiee1> already installed it as root anyway
the-eat-scout has quit [Ping timeout: 260 seconds]
the-eat-scout has joined #ruby
vktec has joined #ruby
Guest35695 has left #ruby ["bye folks"]
nikivi has quit [Quit: irc]
ruurd has joined #ruby
roamingd_ has quit [Remote host closed the connection]
roamingdog has joined #ruby
jeyraof_ has joined #ruby
jhack has joined #ruby
jeyraof has quit [Ping timeout: 265 seconds]
jeyraof_ has quit [Read error: Connection reset by peer]
dionysus69 has quit [Ping timeout: 244 seconds]
roamingdog has quit [Read error: Connection reset by peer]
solocshaw has joined #ruby
ruid has quit [Ping timeout: 260 seconds]
ruid has joined #ruby
miqlas-H has quit [Quit: Vision[0.9.7-H-20140108]: i've been blurred!]
palms has quit [Ping timeout: 260 seconds]
gingray has joined #ruby
ziarkaen has joined #ruby
roamingdog has joined #ruby
muelleme has joined #ruby
jhack has quit [Quit: jhack]
sphex has quit [Ping timeout: 245 seconds]
vuoto has joined #ruby
vuoto has quit [Remote host closed the connection]
nankyokusei has joined #ruby
sphex has joined #ruby
ziarkaen has quit [Ping timeout: 252 seconds]
agit0 has quit [Quit: zzzZZZ….]
muelleme has quit [Ping timeout: 260 seconds]
nankyokusei has quit [Ping timeout: 260 seconds]
CloCkWeRX has quit [Quit: Leaving.]
ruid has quit [Ping timeout: 260 seconds]
ruid has joined #ruby
bob434 has quit [Quit: This computer has gone to sleep]
hero has joined #ruby
JeanCarloMachado has joined #ruby
ramfjord has quit [Ping timeout: 256 seconds]
ruid has quit [Ping timeout: 250 seconds]
LoneHerm_ has joined #ruby
quazimodo has quit [Ping timeout: 244 seconds]
evidex has joined #ruby
d0nn1e has quit [Ping timeout: 260 seconds]
cats has joined #ruby
roamingdog has quit [Remote host closed the connection]
d0nn1e has joined #ruby
roamingdog has joined #ruby
cdg has joined #ruby
cdg_ has joined #ruby
jcao219 has joined #ruby
cdg has quit [Ping timeout: 260 seconds]
buglessdr2 has joined #ruby
conta has quit [Ping timeout: 260 seconds]
redpants has joined #ruby
kimegede has quit [Quit: Leaving...]
buglessdr2 has quit [Ping timeout: 268 seconds]
hero has quit [Ping timeout: 260 seconds]
PaulCapestany has quit [Quit: .]
PaulCapestany has joined #ruby
djbkd has joined #ruby
djbkd has quit [Remote host closed the connection]
djbkd has joined #ruby
gizless has quit [Ping timeout: 252 seconds]
gizless has joined #ruby
lxsameer_ has quit [Quit: WeeChat 1.5]
hutch34 has joined #ruby
conta has joined #ruby
s2013 has joined #ruby
hutch34 has quit [Client Quit]
PaulCapestany has quit [Quit: .]
nickmm has quit [Quit: leaving]
jhack has joined #ruby
tk__ has quit [Quit: ばいばい]
zotherstupidguy has joined #ruby
solocshaw has quit [Ping timeout: 256 seconds]
solocshaw1 has joined #ruby
PaulCapestany has joined #ruby
nikivi has joined #ruby
solocshaw1 is now known as solocshaw
doublemalt__ has joined #ruby
Pupeno has quit [Remote host closed the connection]
ziarkaen has joined #ruby
Pupeno has joined #ruby
ziarkaen has quit [Ping timeout: 265 seconds]
nbrogan has joined #ruby
cdg has joined #ruby
cdg_ has quit [Ping timeout: 260 seconds]
nankyokusei has joined #ruby
nikivi has quit [Quit: irc]
nankyokusei has quit [Ping timeout: 252 seconds]
Pupeno has quit [Remote host closed the connection]
solocshaw has quit [Quit: solocshaw]
solocshaw has joined #ruby
bob434 has joined #ruby
tubuliferous has joined #ruby
glebm has joined #ruby
XV8 has joined #ruby
muelleme has joined #ruby
miqlas-H has joined #ruby
Pupeno has joined #ruby
armyriad has joined #ruby
Jameser has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Jameser has joined #ruby
edwinvdgraaf has quit [Remote host closed the connection]
edwinvdgraaf has joined #ruby
r3vDev has joined #ruby
edwinvdgraaf has quit [Remote host closed the connection]
banisterfiend has joined #ruby
edwinvdgraaf has joined #ruby
conta has quit [Ping timeout: 260 seconds]
edwinvdgraaf has quit [Remote host closed the connection]
edwinvdgraaf has joined #ruby
roamingdog has quit [Remote host closed the connection]
PaulCapestany has quit [Read error: Connection reset by peer]
edwinvdgraaf has quit [Remote host closed the connection]
edwinvdgraaf has joined #ruby
roamingdog has joined #ruby
PaulCapestany has joined #ruby
roamingdog has quit [Remote host closed the connection]
jud has joined #ruby
edwinvdgraaf has quit [Remote host closed the connection]
SteenJobs has joined #ruby
roamingdog has joined #ruby
edwinvdgraaf has joined #ruby
roamingdog has quit [Remote host closed the connection]
edwinvdgraaf has quit [Remote host closed the connection]
roamingdog has joined #ruby
roamingdog has quit [Remote host closed the connection]
sanmi_ has joined #ruby
bob434 has quit [Quit: This computer has gone to sleep]
<sanmi_> Hello
antgel has quit [Ping timeout: 268 seconds]
glebm has quit [Quit: Textual IRC Client: www.textualapp.com]
Rickmasta has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
cdg has quit [Ping timeout: 260 seconds]
hightower2 has quit [Read error: Connection reset by peer]
solocshaw has quit [Ping timeout: 256 seconds]
jcao219 has quit [Ping timeout: 250 seconds]
hightower2 has joined #ruby
s2013 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
PaulCapestany has quit [Read error: Connection reset by peer]
XV8 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
SCHAAP137 has quit [Quit: Leaving]
SCHAAP137 has joined #ruby
<apeiros> hi sanmi_
solocshaw has joined #ruby
PaulCapestany has joined #ruby
s2013 has joined #ruby
Pupeno has quit [Remote host closed the connection]
banisterfiend has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
aryaching has quit [Read error: Connection reset by peer]
Rickmasta has joined #ruby
<sanmi_> Hey, apeiros. I am good, you?
CSWookie has quit [Ping timeout: 260 seconds]
sonOfRa has quit [Quit: Bye!]
djbkd has quit [Remote host closed the connection]
r3vDev has quit [Ping timeout: 252 seconds]
<sanmi_> I am new here, just installed ruby yesterday.
sonOfRa has joined #ruby
<vktec> sanmi_: Welcome to the land of Ruby!
<sanmi_> Thanks vtec, what's up?
<vktec> sanmi_: Just so you know, you can type vk<Tab> and it should autocomplete my name :)
conta has joined #ruby
<sanmi_> vktec, good to know. :D
<vktec> :)
doublemalt__ has quit [Ping timeout: 256 seconds]
<sanmi_> vktec, I'm so sorry to bother. I eventually want to learn ruby on rails, i would like to know how to achieve this goal.
<apeiros> sanmi_: I'm fine, thanks
<Yxhuvud> sanmi_: How much experience with web programming do you have?
bmurt has joined #ruby
ramfjord has joined #ruby
<vktec> sanmi_: I'd start by learning Ruby before you go on to learn Rails
conta has quit [Ping timeout: 252 seconds]
atmosx has joined #ruby
ziarkaen has joined #ruby
<vktec> Rails has a lot of stuff built in, so if you go straight into Rails development, you'll miss out on the basics of Ruby and that will probably mean you hit into issues later on
atmosx has quit [Client Quit]
atmosx has joined #ruby
Jameser has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<sanmi_> vktec, Good to know thank you very much.
<sanmi_> Yxhuvud, i have dabble around with html and css.
ziarkaen has quit [Ping timeout: 250 seconds]
Capela has quit [Remote host closed the connection]
JeanCarloMachado has quit [Ping timeout: 268 seconds]
<vktec> sanmi_: If you're new to web dev, I'm not sure that Rails is the best way to go. Rails is a very big project, and, as such, can be quite difficult to work with at times
doublemalt__ has joined #ruby
<vktec> Personally, I'd recommend something like Padrino. Sinatra is also good, but make sure to structure your project properly, otherwise you'll get into a big mess (I speak from experience here :P)
Channel6 has joined #ruby
codfection has joined #ruby
atmosx has quit [Quit: Textual IRC Client: www.textualapp.com]
<sanmi_> Sinatra, i have heard of that one. Thing is i could not find learning materials on it.
<vktec> sanmi_: There's plenty on the website, but, as I said, learn Ruby first
<sanmi_> Got it thanks, sorry one last question. Could you recommend books to learn ruby?
gizless is now known as githubby
<vktec> sanmi_: tryruby.org is a good introduction
nankyokusei has joined #ruby
githubby has quit [Quit: reboot]
<vktec> There's also a lot of stuff under "Getting Started" on this page: https://www.ruby-lang.org/en/documentation/
<Batholith> I want to read a file into a contiguous string without newlines but the file has newlines and I have no idea how to get rid of them.
solocshaw has quit [Ping timeout: 252 seconds]
nikivi has joined #ruby
<Batholith> I tried `data = file.readlines.each { |line| line.chomp! }.join ''` but it still prints out with new lines.
<vktec> Batholith: IO.readlines(filename).join
<vktec> Wait, that's not right..
<sanmi_> Thank you so much, vktec.
<vktec> Batholith: file.readlines.map { |l| l.chomp "\n" }.join
codfection has quit [Quit: Leaving]
<vktec> sanmi_: No problem! I'm glad I was able to help you out getting started with Ruby
<al2o3-cr> Batholith: File.read('foo').split($/).join
<Batholith> vktec: Awesome, it works! Cheers!
<vktec> Batholith: :)
nankyokusei has quit [Ping timeout: 265 seconds]
<Batholith> I didn't think to use map, heh.
<vktec> Batholith: file.read.gsub("\n", "") would work too
codfection has joined #ruby
<vktec> Probably not as efficient though, as it has to traverse the entire file twice (once to read, once to substitute)
leea has joined #ruby
codfection has quit [Remote host closed the connection]
aryaching has joined #ruby
roamingdog has joined #ruby
aeontech has joined #ruby
aeontech has quit [Client Quit]
eljimbo has quit [Quit: This computer has gone to sleep]
jhack has quit [Quit: jhack]
twe4ked has quit [Remote host closed the connection]
codfection has joined #ruby
Cohedrin has joined #ruby
vuoto has joined #ruby
symm- has quit [Ping timeout: 260 seconds]
roamingdog has quit [Remote host closed the connection]
<askhader> How can I find out which library a specific class comes from in an arbitrary ruby source?
<askhader> At runtime
elementaru has joined #ruby
vuoto has quit [Ping timeout: 265 seconds]
vuoto has joined #ruby
<apeiros> askhader: check the source_location of its methods
renderfu_ has joined #ruby
leea has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
last_staff has joined #ruby
nikivi has quit [Quit: irc]
renderfu_ has quit [Ping timeout: 260 seconds]
codfection has quit [Quit: Leaving]
doublemalt__ has quit [Ping timeout: 256 seconds]
<askhader> apeiros: If I modify the soure at that location, will those changes affect future running of my code?
tdy has joined #ruby
lenwood has quit [Quit: Konversation terminated!]
<apeiros> askhader: until you reinstall the gem, ruby or whatever the source of your code is.
ziarkaen has joined #ruby
c0mrad3 has joined #ruby
codfection has joined #ruby
ziarkaen has quit [Ping timeout: 260 seconds]
buglessdr2 has joined #ruby
nikivi has joined #ruby
goeast has joined #ruby
sanmi_ has quit [Ping timeout: 244 seconds]
<askhader> That's really cool, I guess in that light it's somewhat similar to python
<Papierkorb> askhader: That will also break things real quick without real explanations. Please don't modify gem sources.
<askhader> I'm trying to debug code execution in a lib/gem - what would be the harm of inserting some write statements?
roamingdog has joined #ruby
xall_ has joined #ruby
dnicole has joined #ruby
nankyokusei has joined #ruby
xall_ has quit [Ping timeout: 244 seconds]
Darmani has joined #ruby
dnicole has quit [Ping timeout: 250 seconds]
nowhereman has quit [Ping timeout: 250 seconds]
Asher has quit [Quit: Leaving.]
nankyokusei has quit [Ping timeout: 250 seconds]
ramfjord has quit [Ping timeout: 260 seconds]
kimegede has joined #ruby
<goeast> Hello : Web Scrapping why my selector is not working ? https://gist.github.com/go-east/98e22e0fae70d4e2755b3c7ff02964f1
<goeast> Thank you for your help
<c-c> goeast: my guess is your class selector is incorrect
<c-c> goeast: you should start from the simplest selector that works incrementally towards the selector that produces the desired results
<goeast> I think so... but I don't understand what it is incorrect. I tried to used another selector ".impair td" this wors but only for impair elements...
ramfjord has joined #ruby
<goeast> Thank you c-c. Unfortunately I am trying to do this since 2 hours.. with no result
<c-c> goeast: -also "tablesorter" is probably a jquery plugin that adds things in document tree dynamically - so those things do not exist in the semantic html doc that nokogiri scrapes
<c-c> goeast: yeah, maybe fail faster? Cycles of 25 minutes to 45 minutes work well with the brain
nikivi has quit [Quit: zzz]
<goeast> Ah ok (i dont know jquery). Thank you C-c
<c-c> (unless you need to do deep debugging)
conta has joined #ruby
<c-c> goeast: gl!
kimegede has quit [Ping timeout: 265 seconds]
Capela has joined #ruby
roamingdog has quit [Remote host closed the connection]
gnufied has joined #ruby
roamingdog has joined #ruby
tomphp has joined #ruby
nikivi has joined #ruby
solocshaw has joined #ruby
miqlas-H has quit [Ping timeout: 244 seconds]
miqlas-H has joined #ruby
djbkd has joined #ruby
<Darmani> Hey guys, I'm trying to solve this problem of mapping certain values within an array with other values that I specify.
solocshaw has quit [Ping timeout: 244 seconds]
<Darmani> It works fine until I give it a partially incorrect value. It should return an empty string and it doesn't.
<Darmani> How should I approach this problem?
<elomatreb> Darmani: We're probably going to need more than that. Maybe share some code?
<Darmani> elomatreb: oh lol I thought I posted it my bad.
<Darmani> I just woke up haha
nikivi has quit [Quit: zzz]
gizmore has joined #ruby
gizmore has quit [Remote host closed the connection]
gizmore has joined #ruby
JeanCarloMachado has joined #ruby
<elomatreb> Darmani: Without being familiar with the domain, what is the use of the the `nucleos` array in line 10? You're defining, but not using it
<Darmani> elomatreb: Ah I forgot to remove that. I was trying to figure out a solution so I thought I could use that variable somehow but it didn't work.
<elomatreb> So the method should return an empty string if there are invalid characters in the input (e.g. "X")?
<Darmani> elomatreb: Yeah that's the goal!
ur5us has joined #ruby
<elomatreb> Firstly, I'm not sure an empty string is the best return value, since it does not indicate any sort of error. Are you sure you don't want to return nil or maybe even throw an exception?
<Darmani> elomatreb: Well this is actually an problem from Exercism.io so...
<elomatreb> Ah, ok. Then ignore that
<elomatreb> So, to solve your problem, you have to check if your input string contains invalid characters before passing it to the map in line 11
<Darmani> right..
troys has joined #ruby
<Darmani> That's where I thought my Nucleos variable would work. I could compare the input to the variable and if none of the variables matched I would return an empty string.
palms has joined #ruby
tomphp has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
roamingdog has quit [Remote host closed the connection]
<elomatreb> Darmani: To avoid duplicating yourself you can use `DNA_TO_RNA.keys`
<Darmani> oh good point.
<elomatreb> Uh, I hope I didn't just override your example, but take a look here: https://repl.it/EQOS/1
goeast has quit [Ping timeout: 260 seconds]
<Darmani> elomatreb: Dude that's awesome.
<Darmani> Thank you!
<elomatreb> You understand how it works?
gnufied has quit [Ping timeout: 260 seconds]
ziarkaen has joined #ruby
<Darmani> I think so.
palms has quit [Ping timeout: 260 seconds]
leea has joined #ruby
<Darmani> I'm gonna need to study it a bit haha but it looks good.
<elomatreb> Feel free to ask, if you have any questions
<Darmani> elomatreb: I appreciate that, thanks again!
tdy has quit [Ping timeout: 250 seconds]
webguynow has quit [Ping timeout: 250 seconds]
ziarkaen has quit [Ping timeout: 244 seconds]
bluOxigen has quit [Ping timeout: 252 seconds]
webguynow has joined #ruby
creat has quit [Ping timeout: 250 seconds]
claudiuinberlin has quit [Remote host closed the connection]
claudiuinberlin has joined #ruby
roamingdog has joined #ruby
symm- has joined #ruby
vuoto has quit [Quit: Lost terminal]
<al2o3-cr> ruby 3 concurreny model guilds seems interesting
fullofcaffeine has joined #ruby
solocshaw has joined #ruby
roamingdog has quit [Remote host closed the connection]
<blackbombay__> feels like a perl approach to cuncurrency to me :p
vuoto has joined #ruby
howdoi has quit [Quit: Connection closed for inactivity]
vuoto has quit [Remote host closed the connection]
vuoto has joined #ruby
Pupeno has joined #ruby
vuoto has quit [Client Quit]
roamingdog has joined #ruby
vuoto has joined #ruby
blackmesa has joined #ruby
gnufied has joined #ruby
gnufied has quit [Remote host closed the connection]
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
SteenJobs has quit [Quit: SteenJobs]
nankyokusei has joined #ruby
herbmillerjr has quit [Ping timeout: 256 seconds]
futilegames has joined #ruby
Pupeno has quit [Quit: Leaving...]
tomphp has joined #ruby
XV9 has joined #ruby
harfangk has quit [Quit: Textual IRC Client: www.textualapp.com]
nankyokusei has quit [Ping timeout: 268 seconds]
solocshaw has quit [Ping timeout: 244 seconds]
PaulCapestany has quit [Quit: .]
JazzyVariable227 has quit [Quit: Lost terminal]
PaulCapestany has joined #ruby
gnufied has joined #ruby
Dimik has joined #ruby
miqlas-H has quit [Ping timeout: 265 seconds]
duper has quit [Ping timeout: 244 seconds]
nfk has joined #ruby
vuoto has quit [Remote host closed the connection]
vuoto has joined #ruby
lenwood has joined #ruby
vuoto has quit [Remote host closed the connection]
vuoto has joined #ruby
vuoto has quit [Remote host closed the connection]
vuoto has joined #ruby
djbkd has quit [Remote host closed the connection]
djbkd has joined #ruby
vuoto has quit [Remote host closed the connection]
vuoto has joined #ruby
davidt has joined #ruby
bob434 has joined #ruby
gnufied has quit [Ping timeout: 250 seconds]
vuoto has quit [Remote host closed the connection]
miqlas-H has joined #ruby
conta has quit [Ping timeout: 256 seconds]
vuoto has joined #ruby
djbkd has quit [Ping timeout: 250 seconds]
respecthit_ler has joined #ruby
roamingdog has quit [Remote host closed the connection]
<respecthit_ler> what will be an impressive thing i can put on my github profile?
<elementaru> a photo with hot gf
ramfjord has quit [Ping timeout: 244 seconds]
<baweaver> !troll respecthit_ler
respecthit_ler was kicked from #ruby by ruby[bot] [trolling is a bannable offense, see http://ruby-community.com/pages/user_rules]
<baweaver> elementaru: Keep it on topic
<apeiros> !badnick respecthit_ler
<apeiros> hm, sad, I expected that to work :(
<apeiros> (!badnick bans indefinitely, !troll expires)
roamingdog has joined #ruby
<apeiros> oh, it *did* work. even better than expected. it didn't reban. it just updated its db :D
miqlas-H has quit [Ping timeout: 244 seconds]
Azure has quit [Read error: Connection reset by peer]
roamingdog has quit [Ping timeout: 265 seconds]
pawnbox has quit [Remote host closed the connection]
ziarkaen has joined #ruby
roamingdog has joined #ruby
lenwood has quit [Ping timeout: 256 seconds]
conta has joined #ruby
doublemalt__ has joined #ruby
ziarkaen has quit [Ping timeout: 260 seconds]
roamingdog has quit [Remote host closed the connection]
Azure has joined #ruby
Azure has quit [Client Quit]
symm- has quit [Ping timeout: 252 seconds]
<johnkpaul> I am trying to intercept and modify class method calls, so that I can add some extra metadata, but pass along the original parameters to the original implementation
<johnkpaul> I don’t know if I’m using the correct ruby jargon for this
<johnkpaul> basically, I”m trying to extend a module, not a class
tubuliferous has quit [Ping timeout: 250 seconds]
SteenJobs has joined #ruby
<johnkpaul> I am trying to create my own module that extends from Statesman::Machine - https://github.com/gocardless/statesman
<johnkpaul> so that when calls to state are made inside the class definition, that gets to my implementation, which I then call super (or whatever it’s called with modules?) so that the original implementation also gets called
doublemalt__ has quit [Ping timeout: 256 seconds]
agit0 has joined #ruby
tubuliferous has joined #ruby
workmad3 has joined #ruby
Lord_of_Life has quit [Excess Flood]
agit0 has quit [Client Quit]
Cohedrin has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
dnicole has joined #ruby
Lord_of_Life has joined #ruby
troys is now known as troys_
codfection has quit [Quit: Leaving]
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
codfection has joined #ruby
symm- has joined #ruby
lenwood has joined #ruby
Immune has joined #ruby
agit0 has joined #ruby
dnicole has quit [Ping timeout: 256 seconds]
agit0 has quit [Client Quit]
nankyokusei has joined #ruby
toogley has joined #ruby
vuoto has quit [Remote host closed the connection]
vuoto has joined #ruby
<chrisseaton> johnkpaul: are you stuck with something doing that?
LoneHerm_ has quit [Remote host closed the connection]
<toogley> what header files are missing here? https://paste.fedoraproject.org/473658/63850147/ the error message is so difficult to understand.. but a former error message (which had linked to this log file) said a library or sth like that would be missing.
<johnkpaul> chrisseaton: yes, I am unable to get my intended-wrapper implementation to be caleld
<toogley> "Could not create Makefile due to some reason, probably lack of necessary
<toogley> libraries and/or headers."
Azure has joined #ruby
<chrisseaton> toogley: the only header file is ruby.h - I guess it must be that surely?
<johnkpaul> I am considering just reopening the third party module to override the existing method, but I don’t want to do something like that
<chrisseaton> johnkpaul: do you know what singleton (or eigen, or meta) classes are?
<toogley> chrisseaton: hm.. i have installed ruby and ruby-devel on fedora
<toogley> chrisseaton: and libffi libffi-devel and rubygems
<johnkpaul> chrisseaton: yes, roughly. They are the somewhat behind the scenes _real_ class for every instance, right?
<johnkpaul> including instances of Class
<chrisseaton> toogley: maybe write that test program into test.c and compile it manually? You may get more direct error information in case something is being hidden by the configure script.
nankyokusei has quit [Ping timeout: 252 seconds]
<chrisseaton> johnkpaul: methods on a module are really instance methods on its singleton class
Cohedrin has joined #ruby
fullofcaffeine has quit [Quit: Leaving...]
<chrisseaton> johnkpaul: unless you can show your code, try experimenting with printing .methods and .singleton_class.methods on your modules to see where you methods are ending up
<chrisseaton> johnkpaul: maybe they're on the wrong class and so aren't being called
<chrisseaton> johnkpaul: or, show your code and we can help more directly
elifoster has joined #ruby
<johnkpaul> chrisseaton: I can show my code. let me get a gist
<johnkpaul> chrisseaton: https://gist.github.com/johnkpaul/abf55b98e5e5436a3c37b61c9a747897 that’s where I am now
<johnkpaul> the class that want to extend starts at line 16
<johnkpaul> my goal is to override the “state” call
<johnkpaul> my current attempt at how to do that is on lines 1-13
toretore has quit [Ping timeout: 260 seconds]
<chrisseaton> johnkpaul: yes, there is a complex interaction of classes, modules, singleton classes, and module-include classes, here!
conta has quit [Ping timeout: 250 seconds]
<chrisseaton> johnkpaul: so line 8 isn't being run and you want it to?
<johnkpaul> :) glad that it isn’t an easy one! chrisseaton
<johnkpaul> yes
<johnkpaul> that’s my goal
<chrisseaton> johnkpaul: I get an error on line 4 anyway before that could run
<johnkpaul> at line 8, I will be plucking some extra arguments out of args, and logging them
roamingdog has joined #ruby
<johnkpaul> ah chrisseaton, sorry, that’s copied and pasted from a project that has the Statesman gem installed
<johnkpaul> hmm, I can try to get a runnable example with the same behavior
solocshaw has joined #ruby
<chrisseaton> johnkpaul: can you give me a quick shim of that module?
<johnkpaul> yeah, let me see if I can figure out how that works
pokalyis has joined #ruby
Lord_of_Life has quit [Excess Flood]
<toogley> chrisseaton: writing and testing the c program works.. (return code 0)
<chrisseaton> toogley: sorry, I've got no more ideas then.
<toogley> chrisseaton: hm, thanks anyways.
Lord_of_Life has joined #ruby
solocshaw has quit [Ping timeout: 260 seconds]
<johnkpaul> chrisseaton: :/ sadly I don’t know how to do what Statesman is doing. I am guess it’s something with the included hook
gambl0re has joined #ruby
<johnkpaul> how can I add methods that can be used in the class definitions of other classes
<gambl0re> can i delete .rvm folder?
<johnkpaul> like attr_accessor
<chrisseaton> johnkpaul: attire_accessor is define on Module
edwinvdgraaf has joined #ruby
Xentil has joined #ruby
<johnkpaul> chrisseaton: and if I want to create my own method like that, that can be called during the creation of other classes, how can I include that into my own module?
rfoust has joined #ruby
<chrisseaton> johnkpaul: line 18 doesn't make sense to me - is that idiomatic use of Statesman?
<chrisseaton> johnkpaul: you've included a module, so you won't get methods that you can use within the class definition like that - state will be a method on the instances of ItemStateMachine I believe
<johnkpaul> chrisseaton: chrisseaton yes
<johnkpaul> that is how statesman works, it adds the method “state” for you to use
<chrisseaton> johnkpaul: I think you need to figure out exactly where Statesman is defining these methods, and that will help you solve your problem.
frankiee1 has quit [Ping timeout: 252 seconds]
frankiee_ has joined #ruby
c0mrad3 has quit [Quit: Connection closed for inactivity]
<johnkpaul> chrisseaton: “state” is a class method of ItemStateMachine
edwinvdgraaf has quit [Ping timeout: 252 seconds]
<chrisseaton> johnkpaul: including modules is tricky - it actually adds a weird kind of new superclass into your class that you can't see in normal Ruby
<johnkpaul> somehow the act of including Statesman::Machine, adds that
<johnkpaul> yeah, I think that’s where the magic is happening
<johnkpaul> chrisseaton: yeah, it’s doing included magic - https://github.com/gocardless/statesman/blob/master/lib/statesman/machine.rb#L10
<chrisseaton> johnkpaul: yes I was going to say that - tried this https://gist.github.com/chrisseaton/18ad05b0e6739326ae864aa67291d8dd
vuoto has quit [Remote host closed the connection]
vuoto has joined #ruby
<johnkpaul> chrisseaton: yeah, I see it, neither of those work
<johnkpaul> because Statesman is using module.extend directly
<johnkpaul> in the included hook
roflmyeggo has joined #ruby
roamingdog has quit [Remote host closed the connection]
edwinvdgraaf has joined #ruby
futilegames has quit [Quit: futilegames]
roamingdog has joined #ruby
<johnkpaul> chrisseaton: Figured it out!
<johnkpaul> I overrode the state method inside of the ClassMethods module
<johnkpaul> I am closer to understanding the magic of module inclusion
<johnkpaul> thank you for your help chrisseaton! I really appreciate it
sneakerhax has joined #ruby
moei has quit [Quit: Leaving...]
ziarkaen has joined #ruby
solocshaw has joined #ruby
acemiphoto has joined #ruby
<acemiphoto> hi guys
<acemiphoto> is there anybody
<acemiphoto> ?
<acemiphoto> hi derpuma
symm- has quit [Ping timeout: 265 seconds]
gambl0re has left #ruby ["Leaving"]
ziarkaen has quit [Ping timeout: 260 seconds]
banisterfiend has joined #ruby
phantummm has joined #ruby
<apeiros> acemiphoto: sure. somebody is here.
miqlas-H has joined #ruby
SteenJobs has quit [Quit: SteenJobs]
lenwood has quit [Ping timeout: 250 seconds]
edwinvdgraaf has quit [Remote host closed the connection]
edwinvdgraaf has joined #ruby
acemiphoto has quit [Quit: Disconnecting]
frankiee_ has quit [Read error: No route to host]
nisstyre has quit [Remote host closed the connection]
lenwood has joined #ruby
_sfiguser has quit [Ping timeout: 250 seconds]
frankiee_ has joined #ruby
solocshaw has quit [Quit: solocshaw]
solocshaw has joined #ruby
edwinvdgraaf has quit [Ping timeout: 252 seconds]
SteenJobs has joined #ruby
claudiuinberlin has quit []
nullset68 has joined #ruby
solocshaw has quit [Ping timeout: 244 seconds]
cdg has joined #ruby
cdg has quit [Remote host closed the connection]
nettoweb has joined #ruby
cdg has joined #ruby
nankyokusei has joined #ruby
XV9 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
LoneHermit has joined #ruby
mostlybadfly has joined #ruby
alexherbo2 has joined #ruby
blackmesa has quit [Quit: WeeChat 1.5]
futilegames has joined #ruby
nankyokusei has quit [Ping timeout: 244 seconds]
_sfiguser has joined #ruby
LoneHermit has quit [Ping timeout: 260 seconds]
codfection has quit [Remote host closed the connection]
optiz0r has quit [Ping timeout: 250 seconds]
marr has joined #ruby
vuoto has quit [Quit: Lost terminal]
ben__bb has joined #ruby
mrwn has joined #ruby
<ben__bb> hello ! How can I rescue a no method error ? https://gist.github.com/go-east/839b8fbc37652942e2dea836ff8fea2f
JoshS has quit [Ping timeout: 268 seconds]
<blackbombay__> begin rescue and end.
<ben__bb> I am using unless ... unless x.at('td:nth-child(5) a').nil? but it doesn't cover all the possible error.
<chrisseaton> ben__bb: you're using unless to catch errors?
<ben__bb> Actually I had undefined method `text' for nil:NilClass (NoMethodError) this error because one td was empty => nil so I put a unless to check if it was empty.
symm- has joined #ruby
frankiee_ has quit [Ping timeout: 250 seconds]
<chrisseaton> ben__bb: which line does the exception come from?
<ben__bb> But It doesn't cover all the possible nil (because I have many td). So i mean to rescue the no method error
frankiee_ has joined #ruby
roamingdog has quit [Remote host closed the connection]
<chrisseaton> ben__bb: you can use rescue to catch exceptions, but I would strongly recommend that you avoid the error being thrown in the first place for good style
<ben__bb> Chrisseaton, thank you very much for your help
ta__ has quit [Remote host closed the connection]
<ben__bb> How can I avoid the no method error if my text is empty then ?
Ishido has quit [Remote host closed the connection]
gingray has quit [Ping timeout: 260 seconds]
<chrisseaton> If a value could be nil, check that before hand unless if or unless as you have been
optiz0r has joined #ruby
<chrisseaton> But I think you weren't doing it on the relevant line
<chrisseaton> Was the exception coming from line 6 for example?
<ben__bb> Yes !
<ben__bb> line 6
<ben__bb> I put unless x.at('td:nth-child(5) a').nil? but i could also be from 4 or 3 or 2..
<ben__bb> *it
<chrisseaton> The exception backtrace should tell you clearly which line it is from.
renderfu_ has joined #ruby
futilegames has quit [Quit: futilegames]
<ben__bb> extracting data equi2.rb:117:in `block (3 levels) in array_to_name': undefined method `text' for nil:NilClass (NoMethodError)
<ben__bb> this is line 6 in my code
<ben__bb> in the code I gave you
<chrisseaton> So there's your problem.
pokalyis has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<ben__bb> I am struggling with it since...
xall_ has joined #ruby
renderfu_ has quit [Ping timeout: 244 seconds]
pokalyis has joined #ruby
joallard has joined #ruby
roamingdog has joined #ruby
roamingdog has quit [Remote host closed the connection]
<ben__bb> @Chrisseaton I think my connexion had a problem I am not sure i get your answer (if you actually answered sorry) :)
<chrisseaton> ben__bb: line 6 call y.text, but y is nil, so if you don't want the exception, you need to only run this line if y is not nil
<chrisseaton> ben__bb: you can do that, as you did on the line, with an unless y.nil? - and you can put that at the end of the line if you wanted
<ben__bb> ah Yes ! great
<ben__bb> I get it Thanks i am gonna tryit
<joallard> y is boolean?
<ben__bb> nop it's a text in an html page
<ben__bb> stored in a td so a string
djbkd has joined #ruby
roamingdog has joined #ruby
xall_ has quit [Ping timeout: 265 seconds]
roamingdog has quit [Remote host closed the connection]
hightower3 has joined #ruby
<hightower3> Hey what's the recommended way to write a Ruby bindings for a C lib? The ruby-ffi thing or?
<j416> sounds reasonable.
ziarkaen has joined #ruby
miqlas-H has quit [Quit: Vision[0.9.7-H-20140108]: i've been blurred!]
PlasmaStar has joined #ruby
mrwn has quit [Remote host closed the connection]
ziarkaen has quit [Ping timeout: 260 seconds]
gizmore has quit [Quit: KVIrc 4.9.2 Aria http://www.kvirc.net/]
kith_ has joined #ruby
bob434 has quit [Quit: This computer has gone to sleep]
harai has quit [Ping timeout: 250 seconds]
kith has quit [Ping timeout: 250 seconds]
tomphp has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<chrisseaton> hightower3: yes the FFI is the most portable way and easiest in most cases
alexherbo2 has quit [Ping timeout: 260 seconds]
bob434 has joined #ruby
djbkd has quit [Remote host closed the connection]
djbkd has joined #ruby
Xentil has quit [Quit: No Ping reply in 180 seconds.]
Xentil has joined #ruby
ta_ has joined #ruby
djbkd has quit [Ping timeout: 250 seconds]
kith_ is now known as kith
djbkd has joined #ruby
kith has quit [Quit: kith]
djbkd has quit [Remote host closed the connection]
Xentil has quit [Read error: Connection reset by peer]
Xentil has joined #ruby
ela_ has joined #ruby
<ela_> hi! i don't exactly know how this works... do i just ask my question here?
<apeiros> yes
<apeiros> the better you describe your problem, the higher the chance somebody answers.
alexherbo2 has joined #ruby
nankyokusei has joined #ruby
<apeiros> usually code + input + expected output + actual output is a sensible start.
muelleme has quit [Ping timeout: 265 seconds]
Silthias1 has joined #ruby
Silthias has quit [Ping timeout: 260 seconds]
dviola has joined #ruby
twe4ked has joined #ruby
<apeiros> that is - in case of an error/problem. in case of not knowing how to get there: code of your current approach (at least showing you tried it yourself), input, desired output, description of how/why the input should be converted to that output.
<ela_> Alright, well hi, I am 16 and using Ruby for the first time to build a mock-election website for my school. I'm using HTML, Ruby, and CSS. The problem is that I can't figure out how to count the votes. I have the vote go in through a form, and then stored it in a variable with my application controller. Then I made a class and initialized variables like trump, clinton, etc. and wrote methods to increase them by 1 when someone votes, but
LoneHerm_ has joined #ruby
<ela_> I'm not that interested in correcting what I did (although that would be helpful if it sounds like I am on the right track), I am interested in just finding a way to count the votes that go in through the site. How should I do this? So everytime someone goes on the site to vote and it refreshes it doesn't lose the number of previous votes?
gizmore has joined #ruby
gizmore has quit [Remote host closed the connection]
nankyokusei has quit [Ping timeout: 260 seconds]
gizmore has joined #ruby
<ela_> If someone could help it would be really really great... my computer science teacher doesn't even know how to code and if I don't get this website finished by Tuesday I'll be screwed!
nikivi has joined #ruby
troys_ is now known as troys
<apeiros> ela_: you'd usually use a database to store them. for something simple to get started, I'd recommend sqlite.
LoneHerm_ has quit [Ping timeout: 260 seconds]
tdy has joined #ruby
Xentil has quit [Ping timeout: 244 seconds]
<apeiros> btw., if you're using ruby on rails (the framework written in ruby, as opposed to ruby, the language itself), then there's a more suitable channel: #rubyonrails
Xentil has joined #ruby
aryaching has quit [Ping timeout: 265 seconds]
workmad3 has quit [Ping timeout: 265 seconds]
aryaching has joined #ruby
ta_ has quit [Remote host closed the connection]
nullset68 has quit [Quit: WeeChat 1.4]
moei has joined #ruby
<ela_> No I'm using Ruby, not ruby on rails. and thank you I'll try a database
<soahccc> ela_: maybe take a look at https://github.com/jeremyevans/sequel then
baweaver is now known as baweaver_away
<soahccc> The short example is basically what you need
roamingdog has joined #ruby
exadeci has joined #ruby
eljimmy has joined #ruby
Immune has quit [Ping timeout: 260 seconds]
solocshaw has joined #ruby
last_staff has quit [Quit: last_staff]
<Darmani> Hey guys, so I wanted to create a method that checks whether or not an entire string is a Pangram.
<Darmani> This is what I have so far but I'm not sure how to proceed.
<apeiros> Darmani: shouldn't a ? method return true/false?
<apeiros> also I think I'd just raise ArgumentError if the argument isn't a String.
<Darmani> apeiros: yeah it should. And this is a problem from Exercism.io so they want an empty string.
<apeiros> eeeew :-/
<blackbombay__> ecer
<Darmani> I don't make the rules D:
<apeiros> ok, well. so where are you stuck?
<Darmani> Besides this is more for my education anyway.
<apeiros> yeah, sure. it's an acceptable reason for a bad API.
<Darmani> luls
<Darmani> So I thought I would split the input into an array of chars and compare it to a list of the alphabet.
<Darmani> And if all the letters matched then true if it's off then false.
<blackbombay__> what isa pangram
<apeiros> blackbombay__: all letters of the (or "an") alphabet
<Darmani> blackbombay__: uhh it's when you have a sentence when all the letters of the alphabet are used?
lenwood has quit [Ping timeout: 250 seconds]
<Darmani> Like "The quick brown fox jumped over the lazy dog"
<apeiros> not sure whether with the requirement of having each character exactly once
<Darmani> apeiros: I think that's the case actually.
<apeiros> then the quick brown fox isn't one, repeats "e" :)
<blackbombay__> i see thanks
<Darmani> apeiros: Oh this is true!
SCHAAP137 has quit [Quit: Leaving]
<Darmani> apeiros: So perhaps all the letters have to be used at least once?
<blackbombay__> Hash.new(0) and then count each occurence, if keys is equal to ('a'..'z').size then true, else false, and if it is not a string, return an empty string i guess.
<apeiros> well, comparing arrays takes order into consideration
<apeiros> ["a","b"] != ["b","a"]
<Darmani> blackbombay__: Yes that could work.
<Darmani> apeiros: We could sort the array and then compare it?
<blackbombay__> there's probably a better way
Rickmasta has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<apeiros> Darmani: yes, that's an approach for the "exactly once" variant
<apeiros> what about up-/downcase?
<apeiros> also what about whitespace/punctation?
<Darmani> yeah we'd grab the input and downcase it before comparing it to anything.
Jackneill has quit [Remote host closed the connection]
<apeiros> yes, good. solves the case issue.
<Darmani> apeiros: umm... gsub to filter out the punctuation?
<apeiros> yes
<Darmani> Okay but we still need a way to compare the arrays.
<apeiros> (or String#delete, if you can work with it)
<apeiros> well, once sorted, == will work just fune.
<apeiros> *fine
Immune has joined #ruby
Rickmasta has joined #ruby
roamingdog has quit [Remote host closed the connection]
<Darmani> apeiros: Well... If we are using the same letter twice then it won't work...
unreal_ has joined #ruby
<Darmani> Right?
<apeiros> correct
roamingdog has joined #ruby
<Darmani> So we need another way.
<apeiros> well, does ruby offer you something to remove duplicates?
s2013 has quit [Read error: Connection reset by peer]
<Darmani> apeiros: Ah that's a good point. Uniq should do the trick.
<apeiros> right
<Darmani> Okay let me throw something together ^.^
<blackbombay__> or use a Set?
<apeiros> once you're done with this solution, you should also read blackbombay__'s suggestion
ziarkaen has joined #ruby
cajone has quit [Remote host closed the connection]
<apeiros> or suggestions, by now :)
<Darmani> apeiros: That sounds far too excessive although I suppose it would work.
<apeiros> my solutions would probably be: (alphabet - input.downcase.chars).empty? ;-)
unreal has quit [Ping timeout: 260 seconds]
<apeiros> *solution
<blackbombay__> always a cute one liner with ruby :))
<Darmani> apeiros: I don't know if I understand what you're doing there.
<apeiros> and in this case even a performant one :D
<apeiros> `unless string === String.class` does not do what you want it to
<apeiros> I'd suggest to use .is_a?
<blackbombay__> BasicObject.new would break then
ziarkaen has quit [Ping timeout: 244 seconds]
<Darmani> Ah okay.
<apeiros> blackbombay__: show me code trying to assert something and I show you how to break it ;-)
<apeiros> (in ruby)
cajone has joined #ruby
<Darmani> Well it returns false so there's something wrong with it o.o
saneax-_-|AFK is now known as saneax
<apeiros> you forgot the part about whitespace/punctuation
shinnya has quit [Ping timeout: 268 seconds]
<blackbombay__> Darmani: why not put the is_a? check before anything else
<Darmani> apeiros: oh shizz yeah I forgot.
<Darmani> blackbombay__: Lol I can move it if it bothers you.
<blackbombay__> it doesnt bother me at all :))
Rickmasta has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<blackbombay__> from point of view that if you dont receive a string, you just created a range & array that will never be used.
<Darmani> blackbombay__: yeah I guess that's true.
<blackbombay__> it is definitely true.
<blackbombay__> whether or not you care is your call
tdy has quit [Read error: Connection reset by peer]
troys is now known as troys_
saneax is now known as saneax-_-|AFK
<Darmani> blackbombay__: Well we are going for efficiency so I agree with you ^^
tdy has joined #ruby
rrichardsr3 has joined #ruby
elifoster has quit [Quit: vermicelli]
<Darmani> apeiros: Still nothing.
JoshS has joined #ruby
<apeiros> Darmani: do it manually. check what input is and what alphabet is. compare the two. find your mistake ;-)
* Darmani sighs
<Darmani> ok
baweaver_away is now known as baweaver
<blackbombay__> great time to write some tests
<blackbombay__> for this type of thing testing should be easy
ta_ has joined #ruby
<Darmani> Ah, forgot to account for the whitespace.
* Darmani facepalms
ezio has joined #ruby
<ezio> what should i be using for curl equiv
<ezio> curb appear to be abandonware
<blackbombay__> Darmani: https://repl.it/EQW2/6
<ezio> openuri no longer exists?
<al2o3-cr> how about str.downcase.chars.select { |c| c >= ?a && c <= ?z }.to_set.size == 26
<blackbombay__> woops
<blackbombay__> Darmani: https://repl.it/EQW2/7
<blackbombay__> repl.it seems cool but that 4 line indent is weird for ruby code.
<Darmani> al2o3-cr: That seems viable.
<ezio> i'm beginning to think it's not possible, but .. how the eff do you get buy without curl?
<Darmani> blackbombay__: ehh it's easy to use and comes with a terminal on the side.
cdg has quit [Ping timeout: 250 seconds]
<blackbombay__> yeah it is cool
quazimodo has joined #ruby
nettoweb has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<blackbombay__> Darmani: input == alphabet will return true or false, so no point in doing that explicitly.
SteenJobs has quit [Quit: SteenJobs]
<Darmani> blackbombay__: oh right, forgot about that.
nankyokusei has joined #ruby
<blackbombay__> Darmani: what if i pass: "it's a nice day". should you remove "'" too?
nikivi has quit [Quit: irc]
<blackbombay__> maybe gsub(/[^a-z]/i, '') is what you want there (remove anything not in the alphabet).
roamingdog has quit [Read error: Connection reset by peer]
roamingdog has joined #ruby
roamingdog has quit [Remote host closed the connection]
roamingdog has joined #ruby
<Darmani> blackbombay__: ummm
<Darmani> yeah I guess the quotation marks should get removed.
roamingdog has quit [Remote host closed the connection]
<blackbombay__> what if the string contrains UTF8 chars
roamingdog has joined #ruby
<blackbombay__> contains
<Darmani> blackbombay__: https://repl.it/EQW2/8
<blackbombay__> like a snowman :D
<Darmani> These are all the test I have to pass.
roamingdog has quit [Remote host closed the connection]
<blackbombay__> ah
roamingdog has joined #ruby
<blackbombay__> it includes utf8 too
roamingdog has quit [Remote host closed the connection]
roamingdog has joined #ruby
<Darmani> I have no idea how to account for the rest of the tests.
<blackbombay__> gsub(/[^a-z]/i, '')
ta_ has quit [Ping timeout: 268 seconds]
roamingdog has quit [Remote host closed the connection]
roamingdog has joined #ruby
ramfjord has joined #ruby
nankyokusei has quit [Ping timeout: 256 seconds]
roamingdog has quit [Remote host closed the connection]
solocshaw has quit [Ping timeout: 244 seconds]
Capela has quit []
<Darmani> blackbombay__: what does that do
<blackbombay__> it removes anything outside a-z from the string.
nowhereman has joined #ruby
<blackbombay__> try it, it should make most or all of those tests pass.
<Darmani> blackbombay__: The problem is the tests are expected to return true.
<blackbombay__> some use assert (true), some use refute (false), but i would suggest to try it first ;)
<Darmani> alright
agit0 has joined #ruby
firstdayonthejob has quit [Ping timeout: 244 seconds]
<Darmani> blackbombay__: Like this? https://repl.it/EQW2/9
CloCkWeRX has joined #ruby
<blackbombay__> no
<blackbombay__> gsub(/[^a-z]/i, '')
<blackbombay__> exactly like that
<blackbombay__> and just once.
<Darmani> got it.
<blackbombay__> https://repl.it/EQW2/10
<Darmani> blackbombay__: https://snag.gy/i9Jban.jpg
jcao219 has joined #ruby
<Darmani> This seems a bit out of my league I think.
tdy1 has joined #ruby
<blackbombay__> dont quit
<blackbombay__> can you paste the code with the tests for me
<Darmani> suree gimme a sec.
tdy has quit [Ping timeout: 244 seconds]
<blackbombay__> for some reason you still haven't updated the gsub but hang on and i will run it here..
<Darmani> I haven't? Oh hang on.
<blackbombay__> https://repl.it/EQW2/10
<blackbombay__> yea
<blackbombay__> i just posted that
<blackbombay__> but like that
ur5us has quit [Remote host closed the connection]
<Darmani> oh my bad I had updated it but I didn't updated the save link lol
ur5us has joined #ruby
<blackbombay__> i dont think you updated cos all the tests pass for me
<Darmani> wat
<blackbombay__> yea.
<blackbombay__> i mean i can screenshot it but basically
dviola has quit [Quit: WeeChat 1.6]
<blackbombay__> 9 runs, 9 assertions, 0 failures, 0 errors, 0 skips
diego1 has joined #ruby
diego1 has quit [Changing host]
diego1 has joined #ruby
<Darmani> holy shit it passes for me too!!
<Darmani> I don't even understand... Why does it pass at all?
weemsledeux has joined #ruby
diego1 is now known as dviola
ueueueueuueueu has joined #ruby
<ueueueueuueueu> how do you know which version number to set your project to?
koooge has joined #ruby
<Darmani> blackbombay__: If everything that's not in the alphabet is getting filtered out shouldn't it be missing characters??
<Darmani> It shouldn't pass is what I thought...
ur5us has quit [Ping timeout: 252 seconds]
solocshaw has joined #ruby
dnicole has joined #ruby
tdy2 has joined #ruby
<blackbombay__> Darmani: which characters would it be missing? non-alphabet characters should just be ignored right? then if it is has all chars of the alphabet, it returns true, otherwise false.
dviola has quit [Quit: WeeChat 1.6]
LoneHerm_ has joined #ruby
diego1 has joined #ruby
tdy1 has quit [Ping timeout: 265 seconds]
<Darmani> blackbombay__: take this string for example 7h3 qu1ck brown fox jumps ov3r 7h3 lazy dog
LoneHerm_ has quit [Remote host closed the connection]
diego1 has quit [Changing host]
diego1 has joined #ruby
diego1 is now known as dviola
<Darmani> How does that pass?
<blackbombay__> it returns false for that one
<blackbombay__> which is correct,since it is missing alphabet chars.
<blackbombay__> did you write those tests? because 'refute' is equivalent to assert_equal false, Pangram.isPangram?(str)
dviola has quit [Client Quit]
<Darmani> blackbombay__: I actually didn't realize that it said refute. my bad.
diego1 has joined #ruby
dnicole has quit [Ping timeout: 260 seconds]
<Darmani> And no this is a problem from Exercism.io
diego1 has quit [Changing host]
diego1 has joined #ruby
diego1 is now known as dviola
<blackbombay__> never heard of it. do they provide test cases for you?
dviola has left #ruby [#ruby]
bmurt has joined #ruby