<Radar>
Is there something like https://eslint.org/docs/rules/ but for Rubocop's rules? My main thing with Rubocop is: "why is Rubocop complaining about _this_ code? What can I do to fix it?". When I'm trying to teach newbies Rubocop's rules / reasons I would _love_ to have something to point them to.
nofxx has quit [Remote host closed the connection]
PaulCapestany has joined #ruby
milardovich has quit [Remote host closed the connection]
_aeris_ has quit [Remote host closed the connection]
_aeris_ has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
jenrzzz has joined #ruby
<Radar>
havenwood: I think that manual dir is exactly what I was looking for. Thank you.
<Radar>
I think I can direct newbies well enough to find what they're looking for in that dir
TomyLobo has quit [Ping timeout: 272 seconds]
pilne has joined #ruby
im0nde has joined #ruby
guille-moe has quit [Ping timeout: 240 seconds]
jkes has quit [Quit: Leaving]
DLSteve_ has quit [Ping timeout: 272 seconds]
funburn has joined #ruby
cagomez has quit [Remote host closed the connection]
cagomez has joined #ruby
milardovich has joined #ruby
hahuang65 has joined #ruby
guille-moe has joined #ruby
lucz has quit [Remote host closed the connection]
milardovich has quit [Ping timeout: 240 seconds]
lucz has joined #ruby
lucz has quit [Ping timeout: 248 seconds]
d_kam has joined #ruby
fclausen has joined #ruby
xavrix has joined #ruby
bkxd has joined #ruby
John____ has quit [Read error: Connection reset by peer]
RyanMcCoskrie has quit [Remote host closed the connection]
milardovich has joined #ruby
rhyselsmore has joined #ruby
Technodrome has joined #ruby
bkxd_ has joined #ruby
mim1k has joined #ruby
bkxd has quit [Ping timeout: 248 seconds]
xco has quit [Quit: xco]
xco has joined #ruby
milardovich has quit [Ping timeout: 264 seconds]
xco has quit [Client Quit]
al2o3-cr is now known as yzyz[x]
DarthGandalf has quit [Quit: Bye]
ResidentBiscuit has joined #ruby
DarthGandalf has joined #ruby
PaulCapestany has quit [Ping timeout: 256 seconds]
mim1k has quit [Ping timeout: 256 seconds]
d_kam has quit [Quit: Be back later ...]
nofxx has joined #ruby
bkxd_ has quit []
wolfshappen has joined #ruby
alfiemax has joined #ruby
PaulCapestany has joined #ruby
eckhardt has joined #ruby
alfiemax has quit [Ping timeout: 240 seconds]
guille-moe has quit [Ping timeout: 272 seconds]
marxarelli is now known as marxarelli|afk
m27frogy has quit [Ping timeout: 276 seconds]
cdg_ has joined #ruby
marr has quit [Ping timeout: 248 seconds]
cdg has quit [Ping timeout: 255 seconds]
cdg_ has quit [Ping timeout: 240 seconds]
PaulCapestany has quit [Quit: .]
PaulCapestany has joined #ruby
ResidentBiscuit has quit [Remote host closed the connection]
uZiel has joined #ruby
milardovich has joined #ruby
PaulCapestany has quit [Quit: .]
m27frogy has joined #ruby
ResidentBiscuit has joined #ruby
SeepingN has quit [Quit: The system is going down for reboot NOW!]
mim1k has joined #ruby
cagomez has quit [Remote host closed the connection]
PaulCapestany has joined #ruby
milardovich has quit [Ping timeout: 272 seconds]
troys is now known as troys_
faces has quit [Ping timeout: 248 seconds]
PaulCapestany has quit [Client Quit]
mim1k has quit [Ping timeout: 256 seconds]
funburn has quit [Ping timeout: 272 seconds]
PaulCapestany has joined #ruby
im0nde has quit [Ping timeout: 240 seconds]
lucz has joined #ruby
King_of_Ireland has joined #ruby
lucz has quit [Ping timeout: 272 seconds]
rhyselsmore has quit [Ping timeout: 272 seconds]
eckhardt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
im0nde has joined #ruby
lucz has joined #ruby
PaulCapestany has quit [Read error: Connection reset by peer]
PaulCapestany has joined #ruby
orbyt_ has joined #ruby
lucz has quit [Ping timeout: 264 seconds]
Technodrome has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
im0nde has quit [Ping timeout: 272 seconds]
Technodrome has joined #ruby
jenrzzz has quit [Ping timeout: 240 seconds]
milardovich has joined #ruby
drcode has quit [Ping timeout: 248 seconds]
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
milardovich has quit [Ping timeout: 240 seconds]
nahra has quit [Remote host closed the connection]
nahra has joined #ruby
cloaked1 has quit [Ping timeout: 248 seconds]
King_of_Ireland has quit [Quit: "Or perhaps he's wondering why someone would shoot a man, before throwing him out of a plane?"]
Dimik has quit [Ping timeout: 240 seconds]
DmitryBochkarev has joined #ruby
_aeris_ has quit [Ping timeout: 248 seconds]
d_kam has joined #ruby
orbyt_ has joined #ruby
_aeris_ has joined #ruby
gizmore has joined #ruby
uZiel has quit [Ping timeout: 248 seconds]
PaulCapestany has quit [Quit: .]
gizmore|2 has quit [Ping timeout: 256 seconds]
orbyt_ has quit [*.net *.split]
jrabe has quit [*.net *.split]
charliesome has quit [*.net *.split]
Emmanuel_Chanel has quit [*.net *.split]
Neptu_ has quit [*.net *.split]
ikopico has quit [*.net *.split]
mtkd has quit [*.net *.split]
skweek has quit [*.net *.split]
zautomata1 has quit [*.net *.split]
AlHafoudh has quit [*.net *.split]
bradleyp_ has quit [*.net *.split]
kies has quit [*.net *.split]
CrazyEddy has quit [*.net *.split]
leah2 has quit [*.net *.split]
WebDawg has quit [*.net *.split]
ledestin has quit [*.net *.split]
Barrt has quit [*.net *.split]
vondruch has quit [*.net *.split]
nankyoku_ has quit [*.net *.split]
gigetoo has quit [*.net *.split]
char_var[buffer] has quit [*.net *.split]
Riddell has quit [*.net *.split]
cajone has quit [*.net *.split]
duderonomy has quit [*.net *.split]
sammi` has quit [*.net *.split]
shtirlic has quit [*.net *.split]
Guest74048 has quit [*.net *.split]
Xiti has quit [*.net *.split]
meesles has quit [*.net *.split]
fmccann has quit [*.net *.split]
petervbeck has quit [*.net *.split]
chromis has quit [*.net *.split]
mr_rich101 has quit [*.net *.split]
cosimo_ has quit [*.net *.split]
jpterry has quit [*.net *.split]
howdoi has quit [Quit: Connection closed for inactivity]
Technodrome has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
bokayio has quit [Ping timeout: 240 seconds]
dinfuehr has quit [Ping timeout: 260 seconds]
AlHafoudh has joined #ruby
WebDawg has joined #ruby
skweek has joined #ruby
vondruch has joined #ruby
Emmanuel_Chanel has joined #ruby
Neptu_ has joined #ruby
Barrt has joined #ruby
bradleyp_ has joined #ruby
gigetoo has joined #ruby
ledestin has joined #ruby
leah2 has joined #ruby
charliesome has joined #ruby
zautomata1 has joined #ruby
CrazyEddy has joined #ruby
Riddell has joined #ruby
ikopico has joined #ruby
orbyt_ has joined #ruby
nankyoku_ has joined #ruby
jrabe has joined #ruby
kies has joined #ruby
mtkd has joined #ruby
char_var[buffer] has joined #ruby
duderonomy has joined #ruby
shtirlic has joined #ruby
fmccann has joined #ruby
mr_rich101 has joined #ruby
Guest74048 has joined #ruby
sammi` has joined #ruby
chromis has joined #ruby
cajone has joined #ruby
meesles has joined #ruby
Xiti has joined #ruby
petervbeck has joined #ruby
cosimo_ has joined #ruby
camilasan has quit [Ping timeout: 256 seconds]
jpterry has joined #ruby
leah2 has quit [Max SendQ exceeded]
zautomata1 has quit [Max SendQ exceeded]
dinfuehr has joined #ruby
PaulCapestany has joined #ruby
bokayio has joined #ruby
zautomata1 has joined #ruby
troys_ is now known as troys
leah2 has joined #ruby
Norm has quit [Ping timeout: 240 seconds]
Musashi007 has joined #ruby
plexigras has joined #ruby
d^sh has quit [Ping timeout: 272 seconds]
d^sh has joined #ruby
lucz has joined #ruby
DTZUZO has quit [Ping timeout: 268 seconds]
Technodrome has joined #ruby
enterprisey has joined #ruby
lucz has quit [Ping timeout: 240 seconds]
DmitryBochkarev has quit [Quit: This computer has gone to sleep]
LoRez has quit [Ping timeout: 268 seconds]
camilasan has joined #ruby
alfiemax has joined #ruby
kryptoz has joined #ruby
nankyokusei has joined #ruby
cadillac_ has joined #ruby
ResidentBiscuit has quit []
nankyoku_ has quit [Ping timeout: 264 seconds]
pilne has quit [Quit: Quitting!]
alfiemax has quit [Ping timeout: 264 seconds]
bonhoeffer has quit [Ping timeout: 260 seconds]
oetjenj has joined #ruby
PaulCapestany has quit [Ping timeout: 255 seconds]
vtx has quit [Quit: vtx]
jxv has joined #ruby
funburn has joined #ruby
cadillac_ has quit [Ping timeout: 240 seconds]
cdg has joined #ruby
jxv has quit [Client Quit]
cadillac_ has joined #ruby
oetjenj has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
oetjenj has joined #ruby
oetjenj has quit [Client Quit]
oetjenj has joined #ruby
oetjenj has quit [Client Quit]
d^sh has quit [Ping timeout: 255 seconds]
cdg_ has joined #ruby
cdg has quit [Ping timeout: 240 seconds]
jxv has joined #ruby
uZiel has joined #ruby
xco has joined #ruby
ramfjord has quit [Ping timeout: 256 seconds]
d10n-work has quit [Quit: Connection closed for inactivity]
lucz has joined #ruby
d^sh has joined #ruby
minimalism has joined #ruby
Musashi007 has quit [Quit: Musashi007]
DTZUZO has joined #ruby
<xco>
hi, if i have something like this “data = eval(row.strip)” can i just remove the “eval”?
troys is now known as troys_
DmitryBochkarev has joined #ruby
jxv has quit [Quit: zzz…]
ur5us has quit [Remote host closed the connection]
Technodrome has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
truenito has quit [Ping timeout: 240 seconds]
bmurt has joined #ruby
jxv has joined #ruby
dviola has quit [Quit: WeeChat 2.0]
kies has quit [Ping timeout: 265 seconds]
Azure has joined #ruby
yaewa has joined #ruby
moei has quit [Ping timeout: 248 seconds]
garyserj has joined #ruby
jxv has quit [Quit: zzz…]
troys_ is now known as troys
AJA4350 has quit [Quit: AJA4350]
<garyserj>
I am trying File.open("b.b","rb") do |f| and within that, while(line=f.gets) puts line. It works, I figured it works because f.gets returns false when there is nothing more to get. But I notice that puts false, is an error. So I can't see how it works?
jxv has joined #ruby
rhyselsmore has joined #ruby
nofxx has quit [Remote host closed the connection]
gix- has joined #ruby
gix has quit [Disconnected by services]
ana_ has joined #ruby
meinside has quit [Quit: Connection closed for inactivity]
funburn has quit [Quit: funburn]
Technodrome has joined #ruby
lucz has quit [Remote host closed the connection]
Xiti has quit [Ping timeout: 264 seconds]
steph_ has joined #ruby
Xiti has joined #ruby
lucz has joined #ruby
jackjackdripper has quit [Quit: Leaving.]
plexigras has quit [Ping timeout: 248 seconds]
kapil___ has joined #ruby
plexigras has joined #ruby
steph_ has quit [Remote host closed the connection]
steph_ has joined #ruby
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
steph__ has joined #ruby
lucz has quit [Remote host closed the connection]
bmurt has joined #ruby
steph_ has quit [Ping timeout: 256 seconds]
cdg_ has quit [Remote host closed the connection]
cdg has joined #ruby
wilbert has joined #ruby
steph__ has quit [Remote host closed the connection]
cdg has quit [Ping timeout: 255 seconds]
steph_ has joined #ruby
steph_ has quit [Remote host closed the connection]
epochwolf has quit [Ping timeout: 250 seconds]
epochwolf has joined #ruby
jenrzzz has joined #ruby
quobo has quit [Quit: Connection closed for inactivity]
rhyselsmore has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
wilbert_ has joined #ruby
jenrzzz has quit [Ping timeout: 272 seconds]
wilbert has quit [Ping timeout: 264 seconds]
jamesaxl has joined #ruby
jenrzzz has joined #ruby
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
garyserj has quit []
ana_ has quit [Ping timeout: 272 seconds]
Musashi007 has joined #ruby
Musashi007 has quit [Client Quit]
lupine has quit [Remote host closed the connection]
lupine has joined #ruby
jxv has quit [Quit: zzz…]
wilbert_ has quit [Ping timeout: 272 seconds]
govg has joined #ruby
RickHull has joined #ruby
jxv has joined #ruby
wilbert_ has joined #ruby
anisha has joined #ruby
bkxd has joined #ruby
Xiti has quit [Ping timeout: 248 seconds]
_whitelogger has joined #ruby
Xiti has joined #ruby
konsolebox has quit [Ping timeout: 256 seconds]
konsolebox has joined #ruby
ur5us has joined #ruby
kies has joined #ruby
iamarun has joined #ruby
ur5us has quit [Ping timeout: 248 seconds]
alfiemax has joined #ruby
troys is now known as troys_
troys_ is now known as troys
alfiemax has quit [Ping timeout: 264 seconds]
howdoi has joined #ruby
rhebz916 has joined #ruby
Azure has quit [Ping timeout: 256 seconds]
oleo has quit [Quit: Leaving]
d_kam has quit [Quit: Be back later ...]
reber has joined #ruby
d_kam has joined #ruby
alfiemax has joined #ruby
bkxd_ has joined #ruby
LocaMocha has joined #ruby
d_kam has quit [Ping timeout: 264 seconds]
bkxd has quit [Ping timeout: 248 seconds]
exhiled has joined #ruby
mtkd has quit [Ping timeout: 264 seconds]
mtkd has joined #ruby
eckhardt has joined #ruby
jxv has quit [Quit: zzz…]
jxv has joined #ruby
bkxd has joined #ruby
jxv has quit [Client Quit]
konsolebox has quit [Ping timeout: 240 seconds]
KeyJoo has joined #ruby
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jenrzzz has quit [Ping timeout: 248 seconds]
konsolebox has joined #ruby
jxv has joined #ruby
bkxd_ has quit [Ping timeout: 248 seconds]
King_of_Ireland has joined #ruby
bkxd has quit []
biberu has joined #ruby
lele has quit [Ping timeout: 272 seconds]
yaewa has quit [Quit: Leaving...]
moei has joined #ruby
exhiled has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
lele has joined #ruby
aufi has joined #ruby
exhiled has joined #ruby
alfiemax_ has joined #ruby
alfiemax has quit [Ping timeout: 248 seconds]
aupadhye has joined #ruby
d_kam has joined #ruby
d_kam has quit [Read error: Connection reset by peer]
d_kam has joined #ruby
jackjackdripper has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
jenrzzz has joined #ruby
Tempesta has joined #ruby
Ltem has joined #ruby
bkxd has joined #ruby
Tempesta has quit [Read error: Connection reset by peer]
Tempesta has joined #ruby
jenrzzz has quit [Ping timeout: 240 seconds]
eckhardt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
apeiros has quit [Remote host closed the connection]
wilbert_ has quit [Quit: wilbert_]
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
jenrzzz has joined #ruby
d_kam has quit [Quit: Be back later ...]
Ltem has quit [Quit: Leaving]
fclausen has quit [Ping timeout: 248 seconds]
bkxd has quit [Ping timeout: 256 seconds]
quobo has joined #ruby
bkxd has joined #ruby
cadillac_ has quit [Ping timeout: 264 seconds]
code_zombie has quit [Quit: Leaving]
exhiled has quit [Ping timeout: 272 seconds]
cadillac_ has joined #ruby
drcode has joined #ruby
drcode has quit [Remote host closed the connection]
ana_ has joined #ruby
jxv has quit [Quit: zzz…]
apeiros has joined #ruby
bradleyprice has joined #ruby
bradleyp_ has quit [Ping timeout: 264 seconds]
rabajaj has joined #ruby
dionysus69 has joined #ruby
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
conta has joined #ruby
rabajaj has quit [Ping timeout: 264 seconds]
ur5us has joined #ruby
King_of_Ireland has quit [Quit: "Or perhaps he's wondering why someone would shoot a man, before throwing him out of a plane?"]
rabajaj has joined #ruby
cdg has joined #ruby
troys has quit [Quit: Bye]
ur5us has quit [Ping timeout: 264 seconds]
DTZUZO has quit [Ping timeout: 264 seconds]
bkxd has quit [Ping timeout: 272 seconds]
jackjackdripper has quit [Quit: Leaving.]
bkxd has joined #ruby
Technodrome has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
cdg has quit [Ping timeout: 240 seconds]
mark_66 has joined #ruby
aloy has quit [Remote host closed the connection]
DarkUnicorn has joined #ruby
aloy has joined #ruby
TomyWork has joined #ruby
Mon_Ouie has joined #ruby
andikr has joined #ruby
InfinityFye has joined #ruby
DTZUZO has joined #ruby
InfinityFye has left #ruby [#ruby]
nowhere_man has quit [Ping timeout: 260 seconds]
Puffball has quit [Remote host closed the connection]
DmitryBochkarev has quit [Quit: This computer has gone to sleep]
rabajaj has quit [Ping timeout: 256 seconds]
Puffball has joined #ruby
drcode has joined #ruby
loveablelobster has joined #ruby
brent__ has quit [Quit: Connection closed for inactivity]
bkxd has quit []
xco has quit [Quit: xco]
rabajaj has joined #ruby
DTZUZO has quit [Ping timeout: 272 seconds]
bkxd has joined #ruby
claudiuinberlin has joined #ruby
rabajaj has quit [Ping timeout: 240 seconds]
guille-moe has joined #ruby
bkxd has quit [Ping timeout: 248 seconds]
Dimik has joined #ruby
AkyRhO has joined #ruby
bkxd has joined #ruby
guille-moe has quit [Ping timeout: 260 seconds]
pifon has quit [Quit: Connection closed for inactivity]
guille-moe has joined #ruby
qba73 has joined #ruby
AJA4350 has joined #ruby
mikecmpbll has quit [Quit: inabit. zz.]
Dimik has quit [Ping timeout: 260 seconds]
shady0wl_ has joined #ruby
gix- has quit [Read error: Connection reset by peer]
nathani1 has quit [Read error: Connection reset by peer]
uZiel has quit [Ping timeout: 248 seconds]
guille-moe has quit [Quit: guille-moe]
gix has joined #ruby
nathani1 has joined #ruby
xMopxShell has quit [Ping timeout: 252 seconds]
Burgestrand has joined #ruby
Ober has quit [Ping timeout: 252 seconds]
bkxd_ has joined #ruby
leonthemisfit has quit [Ping timeout: 252 seconds]
uZiel has joined #ruby
rhebz916 has quit [Ping timeout: 272 seconds]
char_var[buffer] has quit [Ping timeout: 264 seconds]
xMopxShell has joined #ruby
guille-moe has joined #ruby
leonthemisfit has joined #ruby
leonthemisfit has joined #ruby
leonthemisfit has quit [Changing host]
bkxd has quit [Ping timeout: 260 seconds]
guille-moe has quit [Client Quit]
hurricanehrndz has quit [Quit: Goodbye]
SenpaiSilver has joined #ruby
akkad has joined #ruby
hurricanehrndz has joined #ruby
mikecmpbll has joined #ruby
tlaxkit has joined #ruby
ur5us has joined #ruby
ur5us has quit [Remote host closed the connection]
rhebz916 has joined #ruby
Riddell has quit [Ping timeout: 264 seconds]
Riddell has joined #ruby
enterprisey has quit [Remote host closed the connection]
sepp2k has joined #ruby
uZiel has quit [Remote host closed the connection]
rhebz916 has quit [Ping timeout: 240 seconds]
uZiel has joined #ruby
aupadhye has quit [Remote host closed the connection]
kapil___ has quit [Quit: Connection closed for inactivity]
despai has joined #ruby
rhebz916 has joined #ruby
jamesaxl has quit [Read error: Connection reset by peer]
bkxd has joined #ruby
jamesaxl has joined #ruby
miskatonic has joined #ruby
bkxd has quit [Client Quit]
bkxd_ has quit [Ping timeout: 264 seconds]
nahra has quit [Remote host closed the connection]
ramfjord has joined #ruby
ramfjord has quit [Ping timeout: 240 seconds]
anisha_ has joined #ruby
Beams has joined #ruby
anisha has quit [Ping timeout: 248 seconds]
loveablelobster has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
SenpaiSilver has quit [Quit: Leaving]
qba73 has quit [Remote host closed the connection]
qba73 has joined #ruby
tomphp has joined #ruby
marr has joined #ruby
anisha__ has joined #ruby
loveablelobster has joined #ruby
anisha_ has quit [Ping timeout: 248 seconds]
mim1k has joined #ruby
nowhere_man has joined #ruby
Cavallari has joined #ruby
jenrzzz has quit [Ping timeout: 240 seconds]
rabajaj has joined #ruby
rhyselsmore has joined #ruby
Serpent7776 has joined #ruby
kapil___ has joined #ruby
rhyselsmore has quit [Client Quit]
nahra has joined #ruby
rhyselsmore has joined #ruby
despai has quit [Quit: ...]
mim1k is now known as mim1k|w
KeyJoo has quit [Ping timeout: 240 seconds]
bkxd has joined #ruby
rhyselsmore has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
faces has joined #ruby
rabajaj has quit [Ping timeout: 260 seconds]
ldnunes has joined #ruby
qba73 has quit [Remote host closed the connection]
qba73 has joined #ruby
strk has joined #ruby
govg has quit [Ping timeout: 240 seconds]
<strk>
how do I declare a local variable ?
plexigras has quit [Quit: WeeChat 2.0]
govg has joined #ruby
<tobiasvl>
strk: you initialize it
King_of_Ireland has joined #ruby
rabajaj has joined #ruby
jnollette has quit [Remote host closed the connection]
jnollette has joined #ruby
<dminuoso>
Oh but you can declare it without initializing it!
rabajaj has quit [Ping timeout: 272 seconds]
jenrzzz has joined #ruby
vtx has joined #ruby
<strk>
it looks like my problem was with uppercase, considered a constant
bkxd_ has joined #ruby
bkxd has quit [Ping timeout: 256 seconds]
bkxd_ has quit [Client Quit]
clemens3 has joined #ruby
yzyz[x] is now known as al2o3-cr
cdg has joined #ruby
bkxd has joined #ruby
kryptoz has quit [Remote host closed the connection]
kryptoz has joined #ruby
cdg has quit [Ping timeout: 240 seconds]
kryptoz has quit [Ping timeout: 264 seconds]
<dionysus69>
is ethereum-ruby development suspended? last commit seems to have been 2 years ago
marr has quit [Read error: Connection reset by peer]
iszak has quit [Ping timeout: 240 seconds]
workmad3_ has joined #ruby
iszak has joined #ruby
iszak has quit [Changing host]
iszak has joined #ruby
marr has joined #ruby
qba73 has quit [Remote host closed the connection]
qba73 has joined #ruby
spider-mario has quit [Ping timeout: 260 seconds]
nofxx has joined #ruby
wnd has quit [Excess Flood]
wnd has joined #ruby
bkxd has quit []
workmad3 has quit [Ping timeout: 240 seconds]
DTZUZO has joined #ruby
funburn has joined #ruby
aufi has quit [Ping timeout: 240 seconds]
<strk>
how do I check if a variable is defined ?
shinnya has joined #ruby
rhebz916 has quit [Quit: Leaving]
workmad3_ has quit [Ping timeout: 264 seconds]
<DarkUnicorn>
check defined? some_var for nil
<DarkUnicorn>
but I have never seen this in the wild
cdg has joined #ruby
charliesome has joined #ruby
mtkd has quit [Ping timeout: 240 seconds]
<strk>
uhm, I'm still getting errors about undefined names when using if defined? ...
KeyJoo has joined #ruby
cdg has quit [Ping timeout: 255 seconds]
<strk>
seems to be about "#{role}"
<strk>
if defined? role
<strk>
something
<strk>
else
<strk>
role = ""
mtkd has joined #ruby
<strk>
end
<elomatreb>
You should probably find the cause for that and fix it properly instead of checking for variables. It's generally considered an antipattern
<strk>
print "#{role}"
<strk>
fails
<strk>
oh, role = "-" instead of role = "" passes
raynold has quit [Quit: Connection closed for inactivity]
iamarun has quit [Remote host closed the connection]
InfinityFye has joined #ruby
InfinityFye has left #ruby [#ruby]
anisha__ has quit [Quit: Leaving]
aufi has joined #ruby
ryzokuken has joined #ruby
<DarkUnicorn>
to set an default if unset, try role |= ""
<ryzokuken>
hey everyone! I am using CI::Reporter to generate reports of my tests so that I can post those back in a PR if something goes off. I have been trying to uses ruby-prof for testing performance, but it is having issues with the Reporter. The reporter is probably unable to parse it's results, and I'm kinda stuck. Could anyone please help??
anisha has joined #ruby
workmad3 has joined #ruby
jamesaxl has quit [Read error: Connection reset by peer]
<apeiros>
yes. hence I doubted that you have that in the file where you have the "using".
<apeiros>
hence "for obvious reasons"
<dminuoso>
apeiros: Just to put this into context, I asked amatas to use a refinement yesterday - and kind of threw him into cold water.
AkyRhO_ has joined #ruby
<dminuoso>
;-)
<amatas>
do I need to refine all the methods of YAML to reach the format_time method?
AkyRhO has quit [Remote host closed the connection]
<amatas>
dminuoso: hi!
<apeiros>
yeah, I don't think they'll get that to work with refinements, since they almost certainly will not invoke the method directly.
<apeiros>
amatas: good question. I'm not sure whether that'd actually work.
<dminuoso>
apeiros: Ah. Alright.
<apeiros>
I'd have to create a little lab to test that :)
<apeiros>
(and not having the time to do it right now)
ledestin has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
AkyRhO_ is now known as AkyRhO
<amatas>
ok, the original problem that I have is that the Psych module dumps the time data in an incorrect format for my application. That's why I'm tring to revine that method.
<amatas>
refine*
<dminuoso>
apeiros: Tried and it doesn't work.
<dminuoso>
am
<apeiros>
good to know
<apeiros>
too bad tenderlove doesn't idle in here anymore
<apeiros>
could have pinged him about it
<dminuoso>
amatas: My thought is: Just monkey patch it directly.
<dminuoso>
The change you want is not too horrible.
<dminuoso>
amatas: Is this part of a larger program, or just some utility script?
<amatas>
and it is a simple output for an external application
loveablelobster has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
<amatas>
util script
<dminuoso>
Oh well. Monkey patch away, forget the refinement.
<amatas>
:)
<dminuoso>
apeiros: from what I hear he sometimes does lurk around
<dminuoso>
?seen tenderlove
* dminuoso
pokes ruby[bot]
<apeiros>
ruby[bot] doesn't have that functionality
nofxx has quit [Remote host closed the connection]
<apeiros>
ask nickserve IMO
nofxx has joined #ruby
PaulCapestany has joined #ruby
<dminuoso>
apeiros: Must have been helpa then.
<dminuoso>
!seen tenderlove
<apeiros>
yes. !seen there
funburn has quit [Ping timeout: 264 seconds]
alex`` has quit [Ping timeout: 252 seconds]
AkyRhO has quit [Remote host closed the connection]
bruce_lee has joined #ruby
bruce_lee has quit [Changing host]
bruce_lee has joined #ruby
AkyRhO has joined #ruby
Burgestrand has joined #ruby
mtkd has quit [Ping timeout: 240 seconds]
alex`` has joined #ruby
Psybur has quit [Ping timeout: 256 seconds]
mtkd has joined #ruby
loveablelobster has joined #ruby
kryptoz has quit [Remote host closed the connection]
uZiel has joined #ruby
mikkelsen has joined #ruby
bonhoeffer has joined #ruby
nofxx has quit [Ping timeout: 256 seconds]
ramfjord has joined #ruby
alex`` has quit [Ping timeout: 255 seconds]
dionysus69 has quit [Ping timeout: 272 seconds]
nofxx has joined #ruby
aScottishBoat has quit [Ping timeout: 248 seconds]
mikkelsen has quit [Client Quit]
cdg has joined #ruby
loveablelobster has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
ramfjord has quit [Ping timeout: 240 seconds]
bradleyprice has quit [Remote host closed the connection]
_aeris_ has quit [Remote host closed the connection]
_aeris_ has joined #ruby
plexigras has joined #ruby
cdg has quit [Ping timeout: 240 seconds]
loveablelobster has joined #ruby
cdg has joined #ruby
shinnya has quit [Ping timeout: 264 seconds]
qba73 has joined #ruby
qba73 has quit [Remote host closed the connection]
qba73 has joined #ruby
bmurt has joined #ruby
GodFather has joined #ruby
aScottishBoat has joined #ruby
ur5us has joined #ruby
King_of_Ireland has quit [Quit: "Or perhaps he's wondering why someone would shoot a man, before throwing him out of a plane?"]
Cavallari has quit [Quit: Cavallari]
mostlybadfly has joined #ruby
evie_hammond has quit [Ping timeout: 240 seconds]
PaulCapestany has quit [Ping timeout: 256 seconds]
ur5us has quit [Ping timeout: 240 seconds]
Psybur has joined #ruby
govg has quit [Ping timeout: 248 seconds]
funburn has joined #ruby
karapetyan has quit [Remote host closed the connection]
karapetyan has joined #ruby
quobo has quit [Quit: Connection closed for inactivity]
ta__ has joined #ruby
karapetyan has quit [Read error: Connection reset by peer]
karapety_ has joined #ruby
govg has joined #ruby
ta_ has quit [Read error: Connection reset by peer]
karapety_ has quit [Read error: Connection reset by peer]
karapetyan has joined #ruby
karapety_ has joined #ruby
karapetyan has quit [Read error: Connection reset by peer]
karapetyan has joined #ruby
karapety_ has quit [Read error: Connection reset by peer]
kryptoz has joined #ruby
karapetyan has quit [Read error: Connection reset by peer]
strk has left #ruby [#ruby]
karapetyan has joined #ruby
karapetyan has quit [Read error: Connection reset by peer]
karapet__ has joined #ruby
safetypin has joined #ruby
karapet__ has quit [Read error: Connection reset by peer]
evie_hammond has joined #ruby
karapet__ has joined #ruby
<Bish>
hi guys, anyone got particular experience with rendering html to png?
mark_66 has quit [Remote host closed the connection]
karapet__ has quit [Read error: Connection reset by peer]
<Bish>
with ruby that is ofcourse
karapet__ has joined #ruby
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
mark_66 has joined #ruby
karapet__ has quit [Read error: Connection reset by peer]
karapetyan has joined #ruby
vichib has joined #ruby
karapetyan has quit [Read error: Connection reset by peer]
aconite33 has left #ruby ["WeeChat 0.4.2"]
karapetyan has joined #ruby
quobo has joined #ruby
karapetyan has quit [Read error: Connection reset by peer]
nofxx_ has joined #ruby
<Burgestrand>
Bish I've used wkhtmltopdf in the past, and I've a vague memory of taking screenshots through capybara too :d
funburn has quit [Remote host closed the connection]
karapetyan has joined #ruby
funburn has joined #ruby
karapetyan has quit [Read error: Connection reset by peer]
nofxx has quit [Ping timeout: 248 seconds]
karapetyan has joined #ruby
karapetyan has quit [Read error: Connection reset by peer]
karapetyan has joined #ruby
karapety_ has joined #ruby
karapetyan has quit [Read error: Connection reset by peer]
funburn has quit [Ping timeout: 248 seconds]
nofxx has joined #ruby
nofxx_ has quit [Read error: Connection reset by peer]
<arup_r>
but I don't know what was wrong in my old code.. hehe
<apeiros>
heh
<pwnd_nsfw>
Or, even better
<arup_r>
but i am 100% sure my code is fauly
<pwnd_nsfw>
start from the end, find the first period
<pwnd_nsfw>
DONE
<apeiros>
I'd probably go with sub over require 'rake' :)
<apeiros>
sub(/\.bar\z/, '.foo')
<pwnd_nsfw>
Or, reverse the string, string[0..index_of_first_period].reverse
<pwnd_nsfw>
ez
<pwnd_nsfw>
Who knows which is more efficient without testing though
<pwnd_nsfw>
On that note, time for a nap
* apeiros
would put his money on sub
<apeiros>
and I'd expect the difference to grow with string length
Technodrome has joined #ruby
synthroid has quit [Remote host closed the connection]
uZiel has quit [Remote host closed the connection]
steph_ has joined #ruby
garyserj has joined #ruby
<garyserj>
I am trying File.open("b.b","rb") do |f| and within that, while(line=f.gets) puts line. It works, I figured it works because f.gets returns false when there is nothing more to get. But I notice that puts false, is an error. So I can't see how it works?
Psybur has quit [Ping timeout: 260 seconds]
ana_ has quit [Quit: Leaving]
cagomez has joined #ruby
<apeiros>
garyserj: what do you mean "puts false is an error"?
<apeiros>
and yes, it works by f.gets returning nil upon EOF (end-of-file)
megamos has quit [Ping timeout: 256 seconds]
steph_ has quit [Remote host closed the connection]
dminuoso has quit [Changing host]
dminuoso has joined #ruby
uZiel has joined #ruby
Ishido has joined #ruby
rippa has joined #ruby
steph_ has joined #ruby
milardovich has joined #ruby
tvw has joined #ruby
shaman42 has quit [Ping timeout: 255 seconds]
Psybur has joined #ruby
shaman42 has joined #ruby
aScottishBoat has joined #ruby
eckhardt has joined #ruby
karapetyan has quit [Ping timeout: 248 seconds]
<apeiros>
wow, gets an answer within the same minute, and doesn't bother to respond for 10min…
<apeiros>
sometimes I can't help but wonder about people
JaccoP has joined #ruby
karapetyan has joined #ruby
tvw has quit [Ping timeout: 260 seconds]
arup_r has quit []
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
uZiel has quit [Ping timeout: 248 seconds]
Psybur has quit [Ping timeout: 256 seconds]
bmurt has joined #ruby
joelwallis has joined #ruby
<garyserj>
apeiros: if I puts f.gets and f.gets returns nil, then what would it puts?
<garyserj>
apeiros: thanks for answering, I was afk
duderonomy has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
steph__ has quit [Remote host closed the connection]
steph_ has joined #ruby
vtx has quit [Quit: vtx]
rabajaj has joined #ruby
slester_ has joined #ruby
steph_ has quit [Ping timeout: 256 seconds]
slester_ has quit [Client Quit]
jenrzzz has quit [Ping timeout: 264 seconds]
mostlybadfly has quit [Quit: Connection closed for inactivity]
synthroid has joined #ruby
code_zombie has joined #ruby
JaccoP0 has joined #ruby
JaccoP0 has quit [Remote host closed the connection]
JaccoP has quit [Quit: Cya guys]
JaccoP has joined #ruby
conta2 has joined #ruby
steph_ has joined #ruby
oetjenj has joined #ruby
alfiemax has joined #ruby
kies has quit [Ping timeout: 272 seconds]
kapil___ has joined #ruby
mostlybadfly has joined #ruby
alfiemax has quit [Ping timeout: 264 seconds]
dinfuehr has quit [Ping timeout: 248 seconds]
dinfuehr has joined #ruby
vtx has joined #ruby
vtx has quit [Client Quit]
rhyselsmore has joined #ruby
<craysiii>
Hey everyone, a few weeks ago I read a blog where the author used some gem or built-in method to show how many times certain methods were being called while evaluating a piece of code, but can't remember what it was or what the article was. Any ideas?
<apeiros>
craysiii: ruby -rprofile
slester_ has joined #ruby
<apeiros>
there are gems which do the same/similar but with better performance (-rprofile slows down your code by ~100x)
ghoti has quit [Ping timeout: 255 seconds]
<craysiii>
thats the one, thanks apeiros. any suggestions on the faster gems?
<apeiros>
search rubygems.org for "profile"
<craysiii>
will do thanks!
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ramfjord has joined #ruby
steph_ has quit [Remote host closed the connection]
bmurt has joined #ruby
jackjackdripper has joined #ruby
steph_ has joined #ruby
jenrzzz has joined #ruby
LocaMocha has quit [Ping timeout: 272 seconds]
despai has quit [Quit: ...]
jdawgaz has joined #ruby
steph_ has quit [Ping timeout: 272 seconds]
John____ has joined #ruby
rhyselsmore has quit [Ping timeout: 272 seconds]
workmad3 has quit [Ping timeout: 240 seconds]
despai has joined #ruby
funburn has quit [Ping timeout: 272 seconds]
jxv has joined #ruby
houhoulis has quit []
steph_ has joined #ruby
banisterfiend has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
mochiyoda has quit [Quit: Konversation terminated!]
krawchyk has joined #ruby
cagomez has quit [Remote host closed the connection]
cagomez has joined #ruby
Cavallari has quit [Quit: Cavallari]
jdawgaz has joined #ruby
wopi has joined #ruby
alfiemax has joined #ruby
banisterfiend has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
cagomez has quit [Ping timeout: 248 seconds]
alfiemax has quit [Ping timeout: 248 seconds]
banisterfiend has joined #ruby
ur5us_ has joined #ruby
Xiti has quit [Quit: Xiti]
banisterfiend has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<zenspider>
rawr
banisterfiend has joined #ruby
drowze has quit [Ping timeout: 256 seconds]
DarkUnicorn has quit [Quit: Connection closed for inactivity]
Riddell has quit [Ping timeout: 264 seconds]
Riddell has joined #ruby
jdawgaz has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
rahul_bajaj has quit [Remote host closed the connection]
cdg has quit [Remote host closed the connection]
cdg has joined #ruby
nopolitica has joined #ruby
banisterfiend has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
cdg has quit [Ping timeout: 265 seconds]
banisterfiend has joined #ruby
PaulCapestany has quit [Quit: .]
PaulCapestany has joined #ruby
steph_ has joined #ruby
conta2 has quit [Remote host closed the connection]
jnollette has quit [Ping timeout: 248 seconds]
the_f0ster has quit [Remote host closed the connection]
alfiemax has joined #ruby
jnollette has joined #ruby
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
exhiled has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
_sfiguser has joined #ruby
nobitanobi has joined #ruby
rrutkowski has joined #ruby
conta2 has joined #ruby
conta2 has quit [Client Quit]
VeryBewitching has joined #ruby
bmurt has joined #ruby
ams__ has quit [Quit: Connection closed for inactivity]
conta2 has joined #ruby
kies has quit [Read error: Connection reset by peer]
kies has joined #ruby
guille-moe has joined #ruby
rabajaj has joined #ruby
biberu has quit []
conta2 has quit [Ping timeout: 256 seconds]
jenrzzz has joined #ruby
funburn_ has joined #ruby
steph_ has quit [Remote host closed the connection]
funburn has quit [Ping timeout: 272 seconds]
funburn_ is now known as funburn
<adaedra>
run away it's a ferocious zenspider
al2o3-cr has quit [Quit: 你变得越安静,你就越能听到]
mostlybadfly has quit [Quit: Connection closed for inactivity]
jdawgaz has joined #ruby
jdawgaz has quit [Client Quit]
steph_ has joined #ruby
jdawgaz has joined #ruby
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
gr33n7007h has joined #ruby
conta2 has joined #ruby
jdawgaz has quit [Client Quit]
gr33n7007h is now known as al2o3-cr
jdawgaz has joined #ruby
conta2 has quit [Remote host closed the connection]
aScottishBoat has joined #ruby
claudiuinberlin has joined #ruby
jamesaxl has quit [Quit: WeeChat 1.9.1]
<_sfiguser>
guys what do you think about perl ?
mtkd has quit [Ping timeout: 248 seconds]
cloaked1 has joined #ruby
cloaked1 has quit [Changing host]
cloaked1 has joined #ruby
mtkd has joined #ruby
helpa has quit [Quit: Be]
helpa has joined #ruby
jdawgaz has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
chihhsin_ has quit [Ping timeout: 240 seconds]
tomphp has joined #ruby
<aScottishBoat>
_sfiguser, I asked that same question earlier a la "Am I evil if I use perl?"
<aScottishBoat>
mate do you use it?
<_sfiguser>
aScottishBoat, yeah i really like it...
Xiti has joined #ruby
<_sfiguser>
but don't know why people says it's dead...
<_sfiguser>
i mean why ?
<aScottishBoat>
_sfiguser, awesome. Want to meet me in #ruby-offtopic and explain to me why? I'd really like to get my hands dirty with it
<_sfiguser>
ok
<aScottishBoat>
>> puts "perl's not dead!"
<ruby[bot]>
aScottishBoat: # => perl's not dead! ...check link for more (https://eval.in/919288)
jdawgaz has joined #ruby
slester_ has joined #ruby
<slester_>
Is there a way to test REST endpoints that insert things into the database and then read from it with a mock database? For instance, testing a POST followed by a GET without a database.
chihhsin has joined #ruby
<slester_>
Would I have to override the save and fetch methods in that case?
mikecmpbll has joined #ruby
rabajaj has quit [Quit: Leaving]
vee__ has quit [Ping timeout: 255 seconds]
mikecmpb_ has quit [Ping timeout: 256 seconds]
funburn has quit [Quit: funburn]
cagomez has joined #ruby
truenito has joined #ruby
naprimer has quit [Remote host closed the connection]
vee__ has joined #ruby
jamiejackson has quit [Ping timeout: 240 seconds]
naprimer has joined #ruby
<darix>
maybe also add 2.5.0.rc1 to the list?
truenito has quit [Ping timeout: 240 seconds]
lytol_ has quit [Remote host closed the connection]
synthroid has quit []
guille-moe has quit [Ping timeout: 265 seconds]
nono_ has joined #ruby
jdawgaz has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
nono_ has left #ruby [#ruby]
ldepandis has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]