havenwood changed the topic of #ruby to: Rules & more: https://ruby-community.com || Ruby 2.4.2, 2.3.5 & 2.2.8: https://www.ruby-lang.org || Paste >3 lines of text to: https://gist.github.com || Rails questions? Ask in: #RubyOnRails || Logs: https://irclog.whitequark.org/ruby || Books: https://goo.gl/wpGhoQ
jrabe has quit [Quit: Scheduled maintenance]
Musashi007 has quit [Quit: Musashi007]
troys_ is now known as troys
jrabe has joined #ruby
charliesome has joined #ruby
<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]
<havenwood> Radar: There's the corresponding style guide: https://github.com/bbatsov/ruby-style-guide
milardovich has joined #ruby
<havenwood> Radar: It's also maintained by bbatsov.
nofxx has joined #ruby
KeyJoo has quit [Read error: Connection reset by peer]
<havenwood> I suppose it's not particularly easy to find the part of the style guide that corresponds to the failing lint.
nofxx_ has joined #ruby
<havenwood> But the list of lints links to the right place in the guide: https://github.com/bbatsov/rubocop/blob/master/manual/cops_lint.md
nofxx_ has quit [Client Quit]
<havenwood> lint list link
banisterfiend has joined #ruby
orbyt_ has quit [Quit: Textual IRC Client: www.textualapp.com]
milardovich has quit [Ping timeout: 256 seconds]
nofxx has quit [Ping timeout: 248 seconds]
<havenwood> >> %w[n s].product(%w[t k]).map { |suffix| "li#{suffix.join}" }.first(3)
<ruby[bot]> havenwood: # => ["lint", "link", "list"] (https://eval.in/918792)
_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]
jaruga has joined #ruby
jamesaxl has joined #ruby
spider-mario has joined #ruby
Xeago has quit [Ping timeout: 248 seconds]
apparition has joined #ruby
anisha_ has joined #ruby
<apeiros> DarkUnicorn: you mean ||=, I assume?
ryzokuken has quit [Ping timeout: 260 seconds]
anisha has quit [Ping timeout: 256 seconds]
<Burgestrand> >> x = 1; x |= 2
<DarkUnicorn> yes, of course
<ruby[bot]> Burgestrand: # => 3 (https://eval.in/918986)
<Burgestrand> :d
<apeiros> strk: don't use defined?, especially not for local variables. ensure they're there.
<apeiros> local variable scopes should be short enough that you never have to wonder "is it defined?"
<apeiros> and if you do have to wonder, you have a serious code stink at your hands :)
bkxd has joined #ruby
<apeiros> strk: if you're not sure: gist your code and we'll show you how to improve the code.
karapetyan has joined #ruby
miskatonic has quit [Quit: ERC (IRC client for Emacs 24.5.1)]
cdg has joined #ruby
qba73 has quit [Remote host closed the connection]
qba73 has joined #ruby
cdg has quit [Ping timeout: 272 seconds]
selim has quit [Ping timeout: 248 seconds]
cdg has joined #ruby
tsglove has joined #ruby
bkxd has quit []
cdg has quit [Ping timeout: 272 seconds]
banisterfiend has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
cdg has joined #ruby
funburn has quit [Read error: Connection reset by peer]
funburn has joined #ruby
cdg has quit [Ping timeout: 240 seconds]
cdg has joined #ruby
_aeris_ has quit [Ping timeout: 248 seconds]
_aeris_ has joined #ruby
cdg has quit [Ping timeout: 255 seconds]
tvw has joined #ruby
cdg has joined #ruby
selim has joined #ruby
cdg has quit [Ping timeout: 256 seconds]
loveablelobster has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
truenito has joined #ruby
Xeago has joined #ruby
uZiel has quit [Ping timeout: 248 seconds]
loveablelobster has joined #ruby
qba73 has quit [Ping timeout: 248 seconds]
drowze has joined #ruby
jnollette has quit [Remote host closed the connection]
jnollette has joined #ruby
arcamargo has joined #ruby
kryptoz has joined #ruby
ldepandis has joined #ruby
amatas has joined #ruby
<amatas> hi all, is it possible to make "refine MODULE::SUBMODULE:CLASS" to redefine a method ?
Psybur has joined #ruby
dinfuehr has quit [Ping timeout: 256 seconds]
aScottishBoat has joined #ruby
loveablelobster has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
<apeiros> amatas: that's the purpose of it. or maybe I misunderstand your question.
Burgestrand has quit [Quit: Closing time!]
dinfuehr has joined #ruby
<amatas> with refine Psych::Visitors::YAMLTree
<amatas> but it doesn't work
* apeiros assumes s/redefine/refine/
<amatas> refine yes, sorry :)
<apeiros> ?code amatas
<ruby[bot]> amatas: We can't help you without your code, please post it to https://gist.github.com
<amatas> ok
<amatas> give me some seconds
ldepandis has quit [Ping timeout: 240 seconds]
karapetyan has quit [Read error: Connection reset by peer]
karapetyan has joined #ruby
<apeiros> ok, that's one half. now we need the other half too.
<apeiros> (that part looks fine so far)
<apeiros> oh, what you're probably stumbling over:
<apeiros> the refinement *only applies* in the lexical scope of the 'using' clause
<apeiros> i.e. if it is invoked from any other file than where you put the 'using' into, then it isn't used
loveablelobster has joined #ruby
<apeiros> (that's the point of refinements - they're lexically local patches, not affecting any other code than where you're using the refinement)
alex`` has joined #ruby
<amatas> apeiros: I've updated the gist
DTZUZO has quit [Ping timeout: 272 seconds]
<apeiros> yeah, YAML.load is probably defined in a file where you did not add "using PsychTimePatched", so it's not taking any effect
<amatas> ok, thanks will try to solve
<amatas> I've pasted the gist in one file and I have the same issue
<amatas> apeiros: I mean, I have all the code in the same .rb file
<apeiros> the definition of YAML.load too?
* apeiros doubts that for obvious reasons ;-)
<apeiros> any indirection voids a refinement
<apeiros> the actual method call must be in the same file. not some intermediate method you call which in turn calls the refined method.
<amatas> YAML.load is a method of the YAML class: https://github.com/ruby/ruby/blob/trunk/ext/psych/lib/psych.rb#L262
<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]
apparition has quit [Quit: Bye]
karapety_ has quit [Read error: No route to host]
oleo has joined #ruby
jxv has joined #ruby
nowhere_man has quit [Ping timeout: 264 seconds]
PaulCapestany has joined #ruby
funburn has joined #ruby
claudiuinberlin has quit [Quit: Textual IRC Client: www.textualapp.com]
arcamargo has quit [Quit: Ex-Chat]
knight33 has joined #ruby
knight33 has quit [Max SendQ exceeded]
<Bish> i hate wkhtmltopdf to the grave
<Bish> so capybara it is
nofxx_ has joined #ruby
lucz has joined #ruby
eckhardt has joined #ruby
nofxx has quit [Read error: Connection reset by peer]
lucz has quit [Remote host closed the connection]
megamos has joined #ruby
minimalism has quit [Quit: minimalism]
apeiros has quit [Ping timeout: 256 seconds]
Dimik has joined #ruby
<dminuoso> Bish: err, just selenium? :|
<dminuoso> (though with capybara you can go chrome headless easily)
bonhoeffer has quit [Quit: Leaving]
nowhere_man has joined #ruby
RougeT430 has joined #ruby
polishdub has joined #ruby
alex`` has joined #ruby
pastorinni has joined #ruby
houhoulis has joined #ruby
jxv has quit [Quit: zzz…]
Rapture has joined #ruby
loveablelobster has quit [Quit: Textual IRC Client: www.textualapp.com]
eckhardt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jxv has joined #ruby
aScottishBoat has quit [Quit: aScottishBoat]
growp has joined #ruby
banisterfiend has joined #ruby
spider-mario has quit [Remote host closed the connection]
King_of_Ireland has joined #ruby
spider-mario has joined #ruby
ramfjord has joined #ruby
tlaxkit has quit [Remote host closed the connection]
tlaxkit has joined #ruby
tlaxkit has quit [Max SendQ exceeded]
rabajaj has joined #ruby
PaulCapestany has quit [Quit: .]
PaulCapestany has joined #ruby
PaulCapestany has quit [Client Quit]
apeiros has joined #ruby
ramfjord has quit [Ping timeout: 256 seconds]
King_of_Ireland has quit [Remote host closed the connection]
jxv has quit [Quit: string on the can snapped off]
PaulCapestany has joined #ruby
PaulCapestany has quit [Quit: .]
chocoelho has joined #ruby
bradleyprice has joined #ruby
growp has quit [Quit: Mutter: www.mutterirc.com]
TomyWork has quit [Ping timeout: 240 seconds]
steph_ has joined #ruby
karapetyan has joined #ruby
synthroid has joined #ruby
fyrril has joined #ruby
rabajaj has quit [Ping timeout: 240 seconds]
PaulCapestany has joined #ruby
kryptoz has quit [Remote host closed the connection]
ams__ has joined #ruby
AkyRhO has quit [Read error: Connection reset by peer]
AkyRhO has joined #ruby
AkyRhO__ has joined #ruby
rrutkowski has joined #ruby
AkyRhO has quit [Read error: Connection reset by peer]
bradleyprice has quit [Remote host closed the connection]
bradleyprice has joined #ruby
AkyRhO__ has quit [Read error: Connection reset by peer]
AkyRhO has joined #ruby
Burgestrand has quit [Quit: Closing time!]
AkyRhO__ has joined #ruby
bradleyprice has quit [Ping timeout: 260 seconds]
AkyRhO has quit [Ping timeout: 260 seconds]
AkyRhO__ has quit [Read error: Connection reset by peer]
lee-jon has joined #ruby
arup_r has joined #ruby
<arup_r> I have a string like 'https://res.cloudinary.com/demo/image/upload/w_200,h_200,c_fill,pg_2,dn_50/v1511163939/projects/1/users/1/pdfs/medium/5/xzgazql5cfsgdfr7cp81.pdf'. I want to replace the .pdf with with .png. I tried like s.sub(/.*(pdf)\z/, {'pdf' => 'png'}) . But it gives me "" . What am I missing?
lee-jon has quit [Client Quit]
<arup_r> rubular shows my regex is correct though http://rubular.com/r/Dc6VCmZTYI
RougeT430 has quit [Ping timeout: 256 seconds]
<guardian> hello, when I use =~ to compare a string with a regular expression
<guardian> are match variables set for capture groups?
lee-jon has joined #ruby
lee-jon has left #ruby [#ruby]
qba73 has quit [Remote host closed the connection]
qba73 has joined #ruby
conta has quit [Quit: conta]
funburn_ has joined #ruby
funburn has quit [Ping timeout: 240 seconds]
funburn_ is now known as funburn
ur5us has joined #ruby
Phlogistique has joined #ruby
qba73 has quit [Ping timeout: 240 seconds]
<KrzaQ> >> help
<ruby[bot]> KrzaQ: # => undefined local variable or method `help' for main:Object (NameError) ...check link for more (https://eval.in/919101)
mark_66 has quit [Remote host closed the connection]
<KrzaQ> hm, is this bot open sourced? I'd like to host an instance
bradleyprice has joined #ruby
steph_ has quit [Remote host closed the connection]
AgentVenom has joined #ruby
AgentVenom has quit [Client Quit]
<apeiros> KrzaQ: no. not sure when I get around to publish the non-private parts.
ur5us has quit [Ping timeout: 240 seconds]
AgentVenom has joined #ruby
<KrzaQ> I'm mainly interested in making the eval part safe
DTZUZO has joined #ruby
jamesaxl has quit [Read error: Connection reset by peer]
nofxx_ has quit [Read error: Connection reset by peer]
<apeiros> we're just using eval.in for that
<KrzaQ> I mean, I have an eval(input) in my rbot, but obviously I can't allow anyone to access that
TomyLobo has joined #ruby
nofxx_ has joined #ruby
<KrzaQ> ooh
<KrzaQ> I guess that's a solution too
<KrzaQ> welp, thanks :)
DTZUZO has quit [Read error: Connection reset by peer]
<apeiros> yw :)
jamesaxl has joined #ruby
bradleyprice has quit [Ping timeout: 265 seconds]
<arup_r> I figured it :)
<arup_r> I am forgetting programming... :/
bradleyprice has joined #ruby
tvw has quit [Ping timeout: 248 seconds]
<apeiros> arup_r: so what's your solution?
<arup_r> :)
<arup_r> get rid of regex
<arup_r> ha
<arup_r> 'xyz.eml'.ext('html') is nice.
<pwnd_nsfw> there ya go
<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
<apeiros> it would puts a newline
<apeiros> >> puts nil
<ruby[bot]> apeiros: # => ...check link for more (https://eval.in/919128)
<apeiros> and yeah, going afk *immediately* after asking a question is somewhat rude IMO
Mon_Ouie has quit [Ping timeout: 248 seconds]
<garyserj> but didn't that output nil?
<apeiros> no
<garyserj> ok
<apeiros> nil is the return value of puts
<garyserj> yeah I see, thanks
<apeiros> regardless of what you pass to it
jackjackdripper has joined #ruby
quobo has quit [Quit: Connection closed for inactivity]
govg has quit [Quit: leaving]
conta2 has joined #ruby
banisterfiend has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
aufi has quit [Quit: Leaving]
quobo has joined #ruby
raynold has joined #ruby
rrutkowski has quit [Quit: rrutkowski]
Ltem has joined #ruby
Technodrome has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
qba73 has joined #ruby
qba73 has quit [Remote host closed the connection]
growp has joined #ruby
rrutkowski has joined #ruby
alfiemax_ has quit [Remote host closed the connection]
duderonomy has quit [Ping timeout: 264 seconds]
alfiemax has joined #ruby
aintno_sunshine has joined #ruby
growp has quit [Client Quit]
DmitryBochkarev has joined #ruby
banisterfiend has joined #ruby
milardovich has quit [Ping timeout: 260 seconds]
lucz has joined #ruby
milardovich has joined #ruby
lucz has quit [Remote host closed the connection]
anisha_ has quit [Quit: This computer has gone to sleep]
alfiemax has quit [Ping timeout: 272 seconds]
lucz has joined #ruby
joelwallis has quit []
nowhere_man has quit [Remote host closed the connection]
dviola has joined #ruby
nowhere_man has joined #ruby
karapetyan has quit [Read error: Connection reset by peer]
karapetyan has joined #ruby
slester_ has joined #ruby
eckhardt has quit [Read error: Connection reset by peer]
eckhardt has joined #ruby
rabajaj has joined #ruby
tomphp has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
mim1k|w has quit [Ping timeout: 256 seconds]
despai has joined #ruby
synthroid has joined #ruby
exhiled has joined #ruby
vichib has quit [Remote host closed the connection]
tvw has joined #ruby
vichib has joined #ruby
gizmore|2 has joined #ruby
gizmore has quit [Ping timeout: 248 seconds]
houhoulis has quit []
Serpent7776 has quit [Quit: Leaving]
mtkd has quit [Ping timeout: 248 seconds]
rrutkowski has quit [Quit: rrutkowski]
MrSparkle has quit [Read error: Connection reset by peer]
mikecmpbll has quit [Ping timeout: 255 seconds]
Cavallari has joined #ruby
mtkd has joined #ruby
tris has quit [Ping timeout: 246 seconds]
ramfjord has joined #ruby
jaruga has quit [Quit: jaruga]
DmitryBochkarev has quit [Quit: This computer has gone to sleep]
JaccoP has quit [Ping timeout: 260 seconds]
bmurt has joined #ruby
cadillac_ has quit [Read error: Connection reset by peer]
JaccoP has joined #ruby
MrSparkle has joined #ruby
tris has joined #ruby
marxarelli|afk is now known as marxarelli
Psybur has joined #ruby
_aeris_ has quit [Ping timeout: 248 seconds]
cadillac_ has joined #ruby
jackjackdripper has quit [Quit: Leaving.]
sepp2k has quit [Quit: Leaving.]
mikecmpbll has joined #ruby
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
_aeris_ has joined #ruby
jackjackdripper has joined #ruby
rrutkowski has joined #ruby
bmurt has joined #ruby
_aeris_ has quit [Remote host closed the connection]
_aeris_ has joined #ruby
tvw has quit [Ping timeout: 248 seconds]
rabajaj has quit [Ping timeout: 272 seconds]
funburn has quit [Ping timeout: 240 seconds]
ldepandis has joined #ruby
funburn has joined #ruby
despai has quit [Quit: ...]
andikr has quit [Remote host closed the connection]
_aeris_ has quit [Remote host closed the connection]
lucz has quit [Remote host closed the connection]
_aeris_ has joined #ruby
tsglove has quit [Remote host closed the connection]
the_f0ster has joined #ruby
kapil___ has quit [Quit: Connection closed for inactivity]
ur5us has joined #ruby
synthroid has quit [Remote host closed the connection]
jackjackdripper has quit [Quit: Leaving.]
Beams has quit [Quit: .]
synthroid has joined #ruby
tsglove has joined #ruby
tsglove has quit [Max SendQ exceeded]
aScottishBoat has quit [Ping timeout: 264 seconds]
mim1k has joined #ruby
ur5us has quit [Ping timeout: 240 seconds]
funburn has quit [Quit: funburn]
vondruch has quit [Ping timeout: 264 seconds]
d10n-work has joined #ruby
mim1k has quit [Ping timeout: 260 seconds]
rrutkowski has quit [Quit: rrutkowski]
steph_ has quit [Remote host closed the connection]
steph_ has joined #ruby
orbyt_ has joined #ruby
steph__ has joined #ruby
despai has joined #ruby
karapetyan has quit [Remote host closed the connection]
DarkUnicorn has quit [Quit: Connection closed for inactivity]
steph_ has quit [Ping timeout: 260 seconds]
DarkUnicorn has joined #ruby
DarkUnicorn has quit [Ping timeout: 240 seconds]
houhoulis has joined #ruby
DarkUnicorn has joined #ruby
conta2 has quit [Remote host closed the connection]
jackjackdripper has joined #ruby
jackjackdripper has quit [Client Quit]
funburn has joined #ruby
duderonomy has joined #ruby
ramfjord has quit [Ping timeout: 248 seconds]
woodruffw has quit [Ping timeout: 268 seconds]
dionysus69 has joined #ruby
dionysus69 has quit [Client Quit]
synthroid has quit [Remote host closed the connection]
woodruffw has joined #ruby
woodruffw has joined #ruby
woodruffw has quit [Changing host]
slester_ has quit [Quit: Textual IRC Client: www.textualapp.com]
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…]
alfiemax has joined #ruby
funburn has joined #ruby
slester_ has quit [Quit: Textual IRC Client: www.textualapp.com]
oetjenj has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
plexigras has quit [Ping timeout: 264 seconds]
alfiemax has quit [Ping timeout: 240 seconds]
SeepingN has joined #ruby
steph_ has quit [Remote host closed the connection]
jdawgaz has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
steph_ has joined #ruby
dionysus69 has joined #ruby
tomphp has joined #ruby
steph_ has quit [Remote host closed the connection]
jdawgaz has joined #ruby
kies has joined #ruby
mikecmpbll has quit [Ping timeout: 248 seconds]
stealth[] has joined #ruby
hahuang65 has quit [Ping timeout: 272 seconds]
rahul_bajaj has joined #ruby
rabajaj has quit [Read error: Connection reset by peer]
jamiejackson has joined #ruby
jxv has quit [Quit: string on the can snapped off]
mikecmpbll has joined #ruby
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ahrs has quit [Remote host closed the connection]
ahrs has joined #ruby
jenrzzz has quit [Ping timeout: 248 seconds]
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
jenrzzz has joined #ruby
banisterfiend has joined #ruby
jordanm has quit [Remote host closed the connection]
jordanm has joined #ruby
truenito has quit [Ping timeout: 256 seconds]
dionysus69 has quit [Ping timeout: 260 seconds]
Riddell has quit [Ping timeout: 256 seconds]
Riddell has joined #ruby
banisterfiend has quit [Client Quit]
mikecmpb_ has joined #ruby
mikecmpbll has quit [Ping timeout: 240 seconds]
John____ has quit [Read error: Connection reset by peer]
tomphp has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jenrzzz has quit [Ping timeout: 264 seconds]
milardovich has quit [Remote host closed the connection]
aintno_sunshine has quit [Ping timeout: 256 seconds]
banisterfiend has joined #ruby
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
ldnunes has quit [Remote host closed the connection]
orbyt_ has joined #ruby
banisterfiend has quit [Client Quit]
jdawgaz has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
baweaver changed the topic of #ruby to: Rules & more: https://ruby-community.com || Ruby 2.4.3, 2.3.6 & 2.2.9: https://www.ruby-lang.org || Paste >3 lines of text to: https://gist.github.com || Rails questions? Ask in: #RubyOnRails || Logs: https://irclog.whitequark.org/ruby || Books: https://goo.gl/wpGhoQ
banisterfiend has joined #ruby
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…]
hahuang65 has joined #ruby
SeepingN has quit [Ping timeout: 272 seconds]
havenwood changed the topic of #ruby to: Rules & more: https://ruby-community.com || Ruby 2.4.3, 2.3.6, 2.2.9 & 2.5.0-rc1: https://www.ruby-lang.org || Paste >3 lines of text to: https://gist.github.com || Rails questions? Ask in: #RubyOnRails || Logs: https://irclog.whitequark.org/ruby || Books: https://goo.gl/wpGhoQ
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<havenwood> darix: done
fclausen has joined #ruby
pikislabis has joined #ruby
GodFather has quit [Ping timeout: 248 seconds]
Psybur has quit [Ping timeout: 260 seconds]
pikislabis has quit [Client Quit]
orbyt_ has joined #ruby
alex`` has quit [Ping timeout: 272 seconds]
vtx has joined #ruby
<vtx> hi guys. is it possible to have my sinatar app store data that is avaiable across requests?
<Radar> vtx: sounds like you want some kind of data... base.
steph_ has quit [Remote host closed the connection]
<vtx> Radar: ummmm i was hoping just to persist a cache of external requests, in a hash
alfiemax has quit [Remote host closed the connection]
amatas has quit [Quit: amatas]
alfiemax has joined #ruby
<Radar> Sounds like you might want some kind of key-value caching store. Some sort of Redis instance?
<Radar> is my database hint not cutting through?
Technodrome has joined #ruby
zautomata1 has quit [Ping timeout: 255 seconds]
nickjj has quit [Read error: Connection reset by peer]
pikislabis has joined #ruby
<Radar> There's nothing stopping you creating a class variable and storing it in there. Just when the server restarts you'll lose that cache.
nickjj has joined #ruby
steph_ has joined #ruby
claudiuinberlin has quit [Quit: Textual IRC Client: www.textualapp.com]
alfiemax has quit [Ping timeout: 248 seconds]
stealth[] has quit [Quit: Leaving]
mim1k has joined #ruby
pikislabis has quit [Quit: pikislabis]
nobitanobi has quit []
vee__ has quit [Ping timeout: 240 seconds]
reber has quit [Quit: Leaving]
pikislabis has joined #ruby
<havenwood> vtx: I've used Rinda::TupleSpace before for an expiring cache that doesn't need to be persisted to disk.
mim1k has quit [Ping timeout: 264 seconds]
cagomez has quit [Read error: Connection reset by peer]
cagomez_ has joined #ruby
nofxx_ has quit [Ping timeout: 248 seconds]
<havenwood> vtx: It's ^ similar to a Hash, but it won't just keep growing over time since the reaper will expire old keys.
<havenwood> vtx: Do you need disk persistence?
Ishido has quit [Remote host closed the connection]
pikislabis has quit [Quit: pikislabis]
nowhere_man has quit [Ping timeout: 240 seconds]
d10n-work has quit [Quit: Connection closed for inactivity]
cagomez_ has quit []
jnollette has quit [Remote host closed the connection]
jnollette has joined #ruby
nowhere_man has joined #ruby
miskatonic has joined #ruby
Technodrome has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
vee__ has joined #ruby
Technodrome has joined #ruby
steph_ has quit [Remote host closed the connection]
safetypin has quit [Ping timeout: 240 seconds]
<vtx> havenwood: sorry, thanks, but i got my stuff working with a class var, but thanks so much for your help!
steph_ has joined #ruby
tomphp has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
UserOO7 has joined #ruby
Azure has joined #ruby
steph_ has quit [Remote host closed the connection]
krawchyk has quit [Quit: krawchyk]
UserOO7 has quit [Client Quit]
vtx has quit [Quit: vtx]
tobiasvl has quit [Ping timeout: 240 seconds]
yeticry has quit [Read error: Connection reset by peer]
duderonomy has joined #ruby
Technodrome has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Ltem has quit [Quit: Leaving]
polishdub has quit [Quit: leaving]
mikecmpbll has quit [Ping timeout: 265 seconds]
mikecmpb_ has joined #ruby
bmurt has joined #ruby
cdg has joined #ruby
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
cdg has quit [Remote host closed the connection]
cdg has joined #ruby
minimalism has joined #ruby
<zenspider> anyone here know guard-minitest or minitest-reporters?
TomyLobo has quit [Ping timeout: 255 seconds]
Rapture has quit [Quit: Textual IRC Client: www.textualapp.com]
marxarelli is now known as marxarelli|afk
jdawgaz has joined #ruby
steph_ has joined #ruby
mikecmpbll has joined #ruby
<zenspider> I just pushed a big internal change to minitest... precursor to minitest 6 work: https://github.com/seattlerb/minitest/commit/00433fc0a4fdd0e6b302aace633384ba13122376
mikecmpb_ has quit [Ping timeout: 264 seconds]
<havenwood> zenspider: What seems wrong there (other than useless variable assignment in place of comment)?
JaccoP has quit [Quit: Cya guys]
miskatonic has quit [Remote host closed the connection]
VeryBewitching has quit [Quit: Konversation terminated!]
_sfiguser has quit [Quit: Leaving]
mikecmpb_ has joined #ruby
mikecmpbll has quit [Ping timeout: 272 seconds]
John____ has joined #ruby
charliesome has joined #ruby
mtkd has quit [Ping timeout: 240 seconds]
mtkd has joined #ruby
oetjenj has joined #ruby
despai has quit [Ping timeout: 240 seconds]
mtkd has quit [Ping timeout: 272 seconds]
mtkd has joined #ruby
drcode has quit [Ping timeout: 248 seconds]
jdawgaz has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
mikecmpb_ has quit [Ping timeout: 248 seconds]
mikecmpbll has joined #ruby
steph_ has quit [Remote host closed the connection]