baweaver changed the topic of #ruby to: Rules & more: https://ruby-community.com | Ruby 2.6.3, 2.5.5, 2.4.6: https://www.ruby-lang.org | Paste 4+ lines of text to https://dpaste.de/ and select Ruby as the language | Rails questions? Ask in #RubyOnRails | Books: https://goo.gl/wpGhoQ | Logs: https://irclog.whitequark.org/ruby | Can't talk? Register/identify with Nickserv first!
kyrylo has joined #ruby
gix has quit [Ping timeout: 255 seconds]
weteamsteve has joined #ruby
dviola has quit [Ping timeout: 245 seconds]
cow[moo] has joined #ruby
sylario has quit [Quit: Connection closed for inactivity]
houhoulis has joined #ruby
_whitelogger has joined #ruby
diego1 has joined #ruby
diego1 has left #ruby [#ruby]
dviola has joined #ruby
znz_jp has quit [Ping timeout: 276 seconds]
SeepingN has quit [Quit: The system is going down for reboot NOW!]
AJA4351 has joined #ruby
UnknownSoldier has joined #ruby
AJA4350 has quit [Ping timeout: 246 seconds]
AJA4351 is now known as AJA4350
Swyper has joined #ruby
UnknownSoldier is now known as \tau
fphilipe_ has joined #ruby
jottr has joined #ruby
jcarl43 has quit [Quit: WeeChat 2.4]
sgen has joined #ruby
jottr has quit [Ping timeout: 250 seconds]
dsmythe has quit [Remote host closed the connection]
kyrylo has quit [Ping timeout: 246 seconds]
jottr has joined #ruby
mangold has quit [Quit: This computer has gone to sleep]
AJA4350 has quit [Quit: AJA4350]
trif has quit [Ping timeout: 268 seconds]
trif has joined #ruby
jottr has quit [Ping timeout: 250 seconds]
laaron has quit [Remote host closed the connection]
laaron has joined #ruby
mangold has joined #ruby
orbyt_ has joined #ruby
fphilipe_ has quit [Ping timeout: 264 seconds]
arand has quit [Ping timeout: 252 seconds]
renich has quit [Remote host closed the connection]
sgen has quit [Ping timeout: 250 seconds]
cd has quit [Quit: cd]
houhoulis has quit []
houhoulis has joined #ruby
jenrzzz_ has joined #ruby
DTZUZO has joined #ruby
jenrzzz has quit [Ping timeout: 276 seconds]
jidar has quit [Quit: rebooting]
jenrzzz_ has quit [Ping timeout: 245 seconds]
DTZUZO has quit [Ping timeout: 245 seconds]
pwnd_nsfw` has quit [Read error: Connection reset by peer]
AndBobsYourUncle has joined #ruby
pwnd_nsfw has joined #ruby
mangold has quit [Quit: This computer has gone to sleep]
dsmythe has joined #ruby
galaxie has quit [Ping timeout: 256 seconds]
galaxie has joined #ruby
arand has joined #ruby
dar123 has joined #ruby
mangold has joined #ruby
bga57 has quit [Remote host closed the connection]
agent_white has quit [Quit: bbl]
dsmythe has quit [Remote host closed the connection]
plasticcat420 has joined #ruby
jenrzzz has joined #ruby
jidar has joined #ruby
jidar has quit [Client Quit]
jidar has joined #ruby
jidar has quit [Client Quit]
jidar has joined #ruby
mangold has quit [Quit: This computer has gone to sleep]
plasticcat420 has quit [Quit: WeeChat 2.2]
dar123 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
arand has quit [Ping timeout: 246 seconds]
weteamsteve has quit [Read error: Connection reset by peer]
cow[moo] has quit [Ping timeout: 255 seconds]
jottr has joined #ruby
braincrash has quit [Quit: bye bye]
mangold has joined #ruby
jottr has quit [Ping timeout: 255 seconds]
braincrash has joined #ruby
fphilipe_ has joined #ruby
jenrzzz has quit [Ping timeout: 276 seconds]
jenrzzz has joined #ruby
lucasb has quit [Quit: Connection closed for inactivity]
ivanskie has joined #ruby
jenrzzz has quit [Ping timeout: 276 seconds]
mangold has quit [Quit: This computer has gone to sleep]
ivanskie has quit [Client Quit]
arand has joined #ruby
DTZUZO has joined #ruby
jenrzzz has joined #ruby
skryking has joined #ruby
arand has quit [Ping timeout: 244 seconds]
fphilipe_ has quit [Ping timeout: 264 seconds]
mangold has joined #ruby
arand has joined #ruby
agent_white has joined #ruby
arand has quit [Ping timeout: 255 seconds]
MFGA has joined #ruby
MFGA has quit [Remote host closed the connection]
MFGA has joined #ruby
jenrzzz has quit [Ping timeout: 246 seconds]
MFGA has quit [K-Lined]
ivanskie has joined #ruby
ivanskie has quit [Client Quit]
ivanskie has joined #ruby
sauvin has joined #ruby
\tau has quit [Remote host closed the connection]
Swyper has quit [Remote host closed the connection]
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
fphilipe_ has joined #ruby
dsmythe has joined #ruby
dsmythe has quit [Ping timeout: 276 seconds]
dar123 has joined #ruby
orbyt_ has joined #ruby
galaxie has quit [Remote host closed the connection]
galaxie has joined #ruby
mangold has quit [Quit: This computer has gone to sleep]
duderonomy has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
duderonomy has joined #ruby
dar123 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
houhoulis has quit []
reber has joined #ruby
arand has joined #ruby
jottr has joined #ruby
Nightmare has quit [Ping timeout: 264 seconds]
fphilipe_ has quit [Ping timeout: 264 seconds]
vondruch has joined #ruby
xfbs has joined #ruby
jottr has quit [Ping timeout: 258 seconds]
conta has joined #ruby
twe4ked has quit [Ping timeout: 264 seconds]
twe4ked has joined #ruby
Nightmare has joined #ruby
Inline has quit [Quit: Leaving]
vondruch has quit [Ping timeout: 258 seconds]
vondruch has joined #ruby
reber has quit [Remote host closed the connection]
luminousnine has joined #ruby
luminousnine has quit [Changing host]
luminousnine has joined #ruby
duderonomy has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jenrzzz has joined #ruby
ivanskie has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
vondruch has quit [Quit: vondruch]
vondruch has joined #ruby
vondruch has left #ruby [#ruby]
dar123 has joined #ruby
vondruch has joined #ruby
schleppel has joined #ruby
dar123 has quit [Ping timeout: 276 seconds]
fphilipe_ has joined #ruby
PuercoPop has joined #ruby
jcarl43 has joined #ruby
agent_white has quit [Quit: night]
jenrzzz has quit [Ping timeout: 245 seconds]
imadper has joined #ruby
fphilipe_ has quit [Ping timeout: 264 seconds]
suukim has joined #ruby
bga57 has joined #ruby
sameerynho has quit [Ping timeout: 244 seconds]
jenrzzz has joined #ruby
gigetoo has quit [Ping timeout: 276 seconds]
yokel has quit [Ping timeout: 276 seconds]
gigetoo has joined #ruby
yokel has joined #ruby
clemens3_ has quit [Ping timeout: 245 seconds]
c0dec has quit [Ping timeout: 258 seconds]
jenrzzz has quit [Ping timeout: 250 seconds]
Swyper has joined #ruby
jenrzzz has joined #ruby
c0dec has joined #ruby
Swyper has quit [Remote host closed the connection]
jottr has joined #ruby
clemens3_ has joined #ruby
mangold has joined #ruby
nowhere_man has quit [Ping timeout: 276 seconds]
jottr has quit [Ping timeout: 258 seconds]
jenrzzz has quit [Ping timeout: 250 seconds]
jottr has joined #ruby
fphilipe_ has joined #ruby
sleetdrop has joined #ruby
jottr has quit [Ping timeout: 245 seconds]
jenrzzz has joined #ruby
jefffrails35 has joined #ruby
pwnd_nsfw` has joined #ruby
pwnd_nsfw has quit [Ping timeout: 245 seconds]
aupadhye has joined #ruby
jenrzzz has quit [Ping timeout: 268 seconds]
jenrzzz has joined #ruby
lxsameer has joined #ruby
AndBobsYourUncle has quit [Ping timeout: 245 seconds]
_joes_ has joined #ruby
jenrzzz has quit [Ping timeout: 245 seconds]
andikr has joined #ruby
jenrzzz has joined #ruby
fphilipe_ has quit [Read error: Connection reset by peer]
fphilipe_ has joined #ruby
jenrzzz has quit [Ping timeout: 276 seconds]
jottr has joined #ruby
claudiuinberlin has joined #ruby
daniel____ has quit [Quit: Leaving]
_joes_ has quit [Ping timeout: 276 seconds]
_joes_ has joined #ruby
mikecmpbll has joined #ruby
sleetdrop has quit [Quit: Textual IRC Client: www.textualapp.com]
jottr has quit [Ping timeout: 246 seconds]
_joes_ has quit [Ping timeout: 258 seconds]
Furai has quit [Quit: WeeChat 2.4]
Furai has joined #ruby
imadper has quit [Remote host closed the connection]
jenrzzz has joined #ruby
_joes_ has joined #ruby
fphilipe_ has quit [Read error: Connection reset by peer]
jenrzzz has quit [Ping timeout: 258 seconds]
duderonomy has joined #ruby
jenrzzz has joined #ruby
imadper has joined #ruby
jenrzzz has quit [Ping timeout: 258 seconds]
dsmythe has joined #ruby
pwnd_nsfw has joined #ruby
pwnd_nsfw` has quit [Ping timeout: 244 seconds]
jottr has joined #ruby
fphilipe_ has joined #ruby
duderonomy has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
dhollin3 has joined #ruby
jenrzzz has joined #ruby
dhollinger has quit [Ping timeout: 276 seconds]
laaron has quit [Remote host closed the connection]
jenrzzz has quit [Ping timeout: 258 seconds]
laaron has joined #ruby
Dbugger has joined #ruby
schleppel has quit [Ping timeout: 244 seconds]
jenrzzz has joined #ruby
schleppel has joined #ruby
jcarl43 has quit [Quit: WeeChat 2.4]
hightower2 has joined #ruby
dsmythe has quit [Remote host closed the connection]
jottr_ has joined #ruby
jottr has quit [Ping timeout: 255 seconds]
pwnd_nsfw has quit [Read error: Connection reset by peer]
pwnd_nsfw has joined #ruby
leimh has joined #ruby
gb_away has quit [Ping timeout: 245 seconds]
mhlei has quit [Ping timeout: 245 seconds]
gb_away has joined #ruby
_joes_ has quit [Ping timeout: 245 seconds]
_joes_ has joined #ruby
conta has quit [Ping timeout: 244 seconds]
jenrzzz has quit [Ping timeout: 258 seconds]
dellavg_ has joined #ruby
waheedi has joined #ruby
conta has joined #ruby
jottr_ has quit [Ping timeout: 245 seconds]
jottr_ has joined #ruby
BH23 has joined #ruby
zululee_ has quit [Quit: Ping timeout (120 seconds)]
zululee_ has joined #ruby
jottr_ has quit [Ping timeout: 250 seconds]
jottr_ has joined #ruby
phaul has quit [Ping timeout: 250 seconds]
laaron has quit [Quit: ZNC 1.7.1 - https://znc.in]
laaron has joined #ruby
jenrzzz has joined #ruby
phaul has joined #ruby
mangold has quit [Ping timeout: 264 seconds]
pradiprwt has joined #ruby
<pradiprwt> Hi Everyone, I am working on a application which is developed in ruby, there we found some memory leak in the application. Can any one please suggest me what is the best way to deal with memory leak
crankharder has joined #ruby
<pradiprwt> in Ruby
<hightower2> pradiprwt, it depends a lot why/how the leak is happening. You first need to run GC.start at some point in the code (or in-process irb/pry shell, if you provisioned one) to see if the memory use is real or not (i.e. if memory use is high after GC.start then the leak may be real)
<hightower2> then, you need to see whether your project uses some bindings to some libraries, and try to identify likely cause of the leak (what objects are not getting freed in Ruby due to reference count not dropping to 0, or what objects do get destroyed in ruby without also destroying the memory they allocated in/via libraries and bindings)
<hightower2> Also, in Ruby there is a class named ObjectSpace, you can iterate through it and count how many of each object you have, and which objects are growing in count
<hightower2> Through this process, you might even find out that your memory leak is not serious (i.e. not in libs/bindings) but simply because you are not removing some Ruby objects
<hightower2> And also as one of basic things, check that you use "# frozen_string_literals: true" on top of Ruby files, so that when you call lines like "var = 'string'" it would not actually create/allocate a new ruby string object on every pass through that function/line.
<hightower2> This will help you reduce the churn (creating/destroying thousands of objects) regardless of whether it will help the memory leak or not
<hightower2> And finally, you will probably not be able to completely prevent Ruby's memory size from growing over long term (weeks/months of runtime), so you will want to implement some sort of solution for being able to transparently restart processes without user impact.
Azure|dc has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Jonopoly has joined #ruby
dsmythe has joined #ruby
_joes_ has quit [Ping timeout: 245 seconds]
<Jonopoly> Does anyone using cucumber and ruby?
<Jonopoly> I'm wondering if its possible to pass variables through
<Jonopoly> and read them in cucumber/.feature files
<Jonopoly> in the example table
BH23 has quit [Ping timeout: 268 seconds]
Kazokee has joined #ruby
dsmythe has quit [Ping timeout: 276 seconds]
Kazokee has quit [Ping timeout: 256 seconds]
<pradiprwt> Thanks hightower2. You suggestion is really helpful, with my application the situation is same as you explained.. memory size is growing in long term and we are restarting the service as well when it is reaching to defined threshold.
Jambo has joined #ruby
_joes_ has joined #ruby
BH23 has joined #ruby
<pradiprwt> Recently I was doing testing with application by keeping busy the application, i found the memory is increasing very fast
<pradiprwt> hightower2: Do you know any profiling tool for ruby?
<hightower2> I don't know offhand
<hightower2> pradiprwt, yeah, with GC.start and inspecting the ObjectSpace you will be able to determine whether the issue is just in Ruby objects being accumulated somewhere (and therefore never freed/destroyed). If you see that even after calling GC.start the count of some objects in ObjectSpace is growing, then you simply need to find where in the code these objects are getting accumulated instead of deleted/nil-ed
<hightower2> And if you find that the issue is not there, that is, if the issue is in some memory from bindings/libraries remaining allocated, then you most probably just need to figure out which destroy functions you need to call before you delete Ruby objects which used those bindings.
<hightower2> pradiprwt, by the way, is your app using 'curb'? (Ruby bindings for curl)
AJA4350 has joined #ruby
<pradiprwt> hightower2: No it is not using curd
<pradiprwt> The application is simple linux where running as a process
<hightower2> ok, the leak is not related to curb then :)
<pradiprwt> yes
<pradiprwt> I am not sure where is the leak but concern is increasing memory use
Tuor has joined #ruby
<hightower2> pradiprwt, install 'pry', then at some point in your code run 'pry' and this will give you interactive prompt into the current app's process. From that prompt, first inspect ObjectSpace (there is even some ready-made function defined on ObjectSpace to print summary), then call GC.start, and then inspect ObjectSpace again
apparition has joined #ruby
<hightower2> For example, you can run 'pry' from code after 10k iterations of some main function which you cal
<hightower2> call*
<pradiprwt> hightower2: I am working on ruby from last 6 month... If you can share some reference that will be very helpful
<hightower2> pry; GC.start; ObjectSpace.count_objects; GC.start
<hightower2> also if count_objects will give a too brief summary, you can run manually something like:
kyrylo has joined #ruby
fphilipe_ is now known as fphilipe
<hightower2> ObjectSpace.each_object{|o| count[o.class.to_s]+=1}; classes= count.keys; classes.sort!{ |a,b| count[b] <=> count[a]}; warn classes.map{ |c| [ c, count[c]]}.inspect
<hightower2> (and do "count= Hash.new 0" before that line, to initialize "count")
queip has quit [Ping timeout: 258 seconds]
<pradiprwt> thanks hightower2, i will let you know I will try all your suggestion.. some of these I need to learn
<pradiprwt> hightower2: And, these test should perform on running application?
prestorium has joined #ruby
Jambo has quit [Ping timeout: 256 seconds]
Dbugger has quit [Quit: Leaving]
<hightower2> pradiprwt, yes, you must have a running app... or some minimal reproducible example of your code which exhibits memory increase
Voker57 has quit [Quit: No Ping reply in 180 seconds.]
towo has quit [Quit: No Ping reply in 180 seconds.]
Voker57 has joined #ruby
towo has joined #ruby
ldnunes has joined #ruby
guardian has quit [Remote host closed the connection]
guardian has joined #ruby
Tuor_ has joined #ruby
Tuor has quit [Ping timeout: 245 seconds]
queip has joined #ruby
AJA4350 has quit [Ping timeout: 246 seconds]
AJA4350 has joined #ruby
wildermind has joined #ruby
_joes_ has quit [Remote host closed the connection]
_joes_ has joined #ruby
dsmythe has joined #ruby
edwardly has quit [Read error: Connection reset by peer]
dsmythe has quit [Ping timeout: 264 seconds]
schleppel has left #ruby ["Konversation terminated!"]
edwardly has joined #ruby
edwardly has joined #ruby
edwardly has quit [Changing host]
Tuor_ has quit [Ping timeout: 255 seconds]
Tuor_ has joined #ruby
AJA4350 has quit [Ping timeout: 250 seconds]
ldnunes has quit [Ping timeout: 250 seconds]
leimh has quit [Remote host closed the connection]
leimh has joined #ruby
AJA4350 has joined #ruby
UnknownSoldier has joined #ruby
jottr_ is now known as jottr
queip has quit [Ping timeout: 258 seconds]
ldnunes has joined #ruby
queip has joined #ruby
catphish has joined #ruby
pwnd_nsfw` has joined #ruby
<catphish> is it possible to tell ruby to stop reading a script from STDIN and start executing it (other than closing the pipe)?
AJA4351 has joined #ruby
<catphish> oh i think this is probably what i want, the reason is that i want to mix code and data
pwnd_nsfw has quit [Ping timeout: 250 seconds]
AJA4350 has quit [Ping timeout: 258 seconds]
AJA4351 is now known as AJA4350
<catphish> __END__ seems to be all that's needed
<Jonopoly> Does Ruby support """ """ like python?
<catphish> what does that do?
cd has joined #ruby
<catphish> i suspect the answer is "yes, but with its own syntax", but i have no idea what that does :)
UnknownSoldier has quit [Remote host closed the connection]
cow[moo] has joined #ruby
dsmythe has joined #ruby
<ryouba> hi
<ryouba> is there any good writeup on when to use begin...rescue vs. when to use throw...catch?
Tuor_ has quit [Quit: Konversation terminated!]
<phaul> use begin rescue for error/exception handling. Use throw/catch for flow control
<ryouba> phaul: even when the error/exception handling is not intended to end program execution?
<catphish> ryouba: i can summarize: rescue is for handling errors, throw/catch is more like "break" for flow control
<Jonopoly> catphish: It basically lets you write any format style
<Jonopoly> catphish: it's useful for when writing paragraphs, just tested it and it works which is good...
<catphish> i see, i'm not very familair with doing that
dsmythe has quit [Ping timeout: 276 seconds]
<phaul> ryouba: yeah, whether you stop the program or not is a different question.
<ryouba> okay
<ryouba> thanks!
<phaul> yw
Azure has joined #ruby
<garyserj> when would you use throw/catch for flow control as opposed to an if statement?
<catphish> throw / catch is used to break out of the middle of a nested loop
vondruch has quit [Ping timeout: 246 seconds]
<garyserj> ah ok
<garyserj> why does this give a syntax error? [3,2,1].each {|x| puts x.to_s; puts x.to_s}
<phaul> &>> [3,2,1].each {|x| puts x.to_s; puts x.to_s}
<rubydoc> # => 3 (https://carc.in/#/r/6sd4)
<catphish> garyserj: it doesn't
<catphish> one would normally use "break" to break out of one level of loop (to jump down to the current end statement) but for more complicated breaking out, throw/catch can be used, i'm not sure i've *ever* needed to use it, always seems too messy
<garyserj> ah how strange. it works in irb and fails in byebug
pupsikov has joined #ruby
AJA4351 has joined #ruby
conta has quit [Ping timeout: 250 seconds]
AJA4350 has quit [Ping timeout: 245 seconds]
AJA4351 is now known as AJA4350
<garyserj> byebug has some strange issue with a semi-colon, so in byebug you have to do [3,2,1].each { |x| puts x.to_s\; puts x.to_s }
<garyserj> i.e. escaping the semi-colon
stan has quit [Remote host closed the connection]
dhollin3 is now known as dhollinger
dsmythe has joined #ruby
stan_ has joined #ruby
AJA4350 has quit [Ping timeout: 244 seconds]
Swyper has joined #ruby
teclator has quit [Ping timeout: 276 seconds]
Swyper has quit [Remote host closed the connection]
queip has quit [Ping timeout: 246 seconds]
queip has joined #ruby
dsmythe has quit [Remote host closed the connection]
dsmythe has joined #ruby
Inline has joined #ruby
Swyper has joined #ruby
ivanskie has joined #ruby
ivanskie has quit [Client Quit]
SeepingN has joined #ruby
Swyper has quit [Remote host closed the connection]
Swyper has joined #ruby
Swyper has quit [Remote host closed the connection]
fanta1 has joined #ruby
AJA4350 has joined #ruby
aupadhye has quit [Ping timeout: 268 seconds]
jelera has joined #ruby
jelera has quit [Client Quit]
jelera has joined #ruby
laaron has quit [Quit: ZNC 1.7.1 - https://znc.in]
laaron has joined #ruby
AJA4350 has quit [Ping timeout: 268 seconds]
wildermind has quit [Quit: Connection closed for inactivity]
Swyper has joined #ruby
apparition has quit [Quit: Bye]
duderonomy has joined #ruby
AJA4350 has joined #ruby
houhoulis has joined #ruby
ldnunes has quit [Quit: Leaving]
duderonomy has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Azure has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
reber has joined #ruby
rippa has joined #ruby
_joes_ has quit [Ping timeout: 250 seconds]
queip has quit [Ping timeout: 246 seconds]
BH23 has quit [Ping timeout: 255 seconds]
claudiuinberlin has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
fphilipe has quit [Ping timeout: 245 seconds]
MShuttleworth has joined #ruby
MShuttleworth has quit [Max SendQ exceeded]
MShuttleworth has joined #ruby
queip has joined #ruby
AJA4351 has joined #ruby
AJA4350 has quit [Ping timeout: 255 seconds]
AJA4351 is now known as AJA4350
noobdevel has joined #ruby
duderonomy has joined #ruby
jelera has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Swyper has quit [Remote host closed the connection]
MShuttleworth has quit [Killed (Fuchs (<No reason given>))]
mikecmpbll has quit [Quit: inabit. zz.]
jelera has joined #ruby
Swyper has joined #ruby
mikecmpbll has joined #ruby
orbyt_ has joined #ruby
pradiprwt has quit [Ping timeout: 256 seconds]
ricekrispie2 has joined #ruby
jelera has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
lxsameer has quit [Ping timeout: 258 seconds]
wolfshappen has quit [Ping timeout: 276 seconds]
jelera has joined #ruby
wolfshappen_ has joined #ruby
ricekrispie has quit [Ping timeout: 258 seconds]
mikecmpbll has quit [Ping timeout: 250 seconds]
mikecmpbll has joined #ruby
AJA4351 has joined #ruby
AJA4350 has quit [Ping timeout: 245 seconds]
AJA4351 is now known as AJA4350
conta has joined #ruby
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
doodlebug has joined #ruby
prestorium has quit [Ping timeout: 246 seconds]
jelera has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Jonopoly has quit [Quit: WeeChat 2.4]
jelera has joined #ruby
dsmythe has quit [Remote host closed the connection]
dsmythe has joined #ruby
andikr has quit [Remote host closed the connection]
Rapture has joined #ruby
gnufied has joined #ruby
<Swyper> whassup
<adam12> Swyper: o/
jottr has quit [Read error: Connection reset by peer]
jottr has joined #ruby
tdy1 has quit [Ping timeout: 258 seconds]
hightower2 has quit [Ping timeout: 250 seconds]
AJA4350 has quit [Ping timeout: 276 seconds]
noobdevel is now known as v3Ry5m4R7
v3Ry5m4R7 is now known as noobdevel
noobdevel has quit [Quit: BATTERY CRITICAL LOW 1%]
wald0 has joined #ruby
noobdevel has joined #ruby
catphish has quit [Quit: Leaving]
jottr has quit [Read error: Connection reset by peer]
jottr_ has joined #ruby
dar123 has joined #ruby
noobdevel has quit [Quit: BATTERY CRITICAL LOW 1%]
conta2 has joined #ruby
ramfjord has joined #ruby
jottr has joined #ruby
mikecmpbll has quit [Quit: inabit. zz.]
conta2 has quit [Ping timeout: 245 seconds]
jottr_ has quit [Ping timeout: 246 seconds]
tdy1 has joined #ruby
jottr has quit [Ping timeout: 246 seconds]
jottr has joined #ruby
jelera has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jelera has joined #ruby
jenrzzz has quit [Ping timeout: 246 seconds]
jelera has quit [Client Quit]
jelera has joined #ruby
jelera has quit [Client Quit]
jelera has joined #ruby
jelera has quit [Client Quit]
jelera has joined #ruby
jelera has quit [Client Quit]
jelera has joined #ruby
jelera has quit [Client Quit]
jottr has quit [Ping timeout: 258 seconds]
jottr_ has joined #ruby
jottr_ is now known as jottr
mikecmpbll has joined #ruby
conta has quit [Quit: conta]
doodlebug has quit [Ping timeout: 276 seconds]
AJA4350 has joined #ruby
code_zombie has joined #ruby
houhoulis has quit [Remote host closed the connection]
houhoulis has joined #ruby
_whitelogger has joined #ruby
Swyper has quit [Remote host closed the connection]
fanta1 has quit [Quit: fanta1]
jcarl43 has joined #ruby
Swyper has joined #ruby
AJA4350 has quit [Ping timeout: 258 seconds]
Swyper has quit [Remote host closed the connection]
sauvin has quit [Ping timeout: 276 seconds]
Swyper has joined #ruby
azza has joined #ruby
laaron has quit [Remote host closed the connection]
jenrzzz has joined #ruby
Swyper has quit [Remote host closed the connection]
laaron has joined #ruby
jenrzzz has quit [Ping timeout: 245 seconds]
jenrzzz has joined #ruby
duderonomy has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Swyper has joined #ruby
Azure has joined #ruby
jinie has quit [Ping timeout: 264 seconds]
jinie_ has joined #ruby
suukim has quit [Remote host closed the connection]
havenwood has quit [Quit: ZNC 1.7.2 - https://znc.in]
houhouli_ has joined #ruby
houhoul__ has joined #ruby
crankharder has quit [Ping timeout: 250 seconds]
houhoulis has quit [Ping timeout: 258 seconds]
houhouli_ has quit [Ping timeout: 250 seconds]
clemens3_ has quit [Ping timeout: 245 seconds]
jenrzzz has quit [Ping timeout: 246 seconds]
gix has joined #ruby
azza has quit [Ping timeout: 250 seconds]
jenrzzz has joined #ruby
doodlebug has joined #ruby
ghormoon has quit [Ping timeout: 258 seconds]
aither64 has joined #ruby
aither has quit [Ping timeout: 240 seconds]
ghormoon has joined #ruby
azza has joined #ruby
dkmueller has joined #ruby
dsmythe has quit [Ping timeout: 258 seconds]
shanks8080 has quit [Remote host closed the connection]
azza has quit [Quit: Lost terminal]
AJA4350 has joined #ruby
dkmueller has quit [Remote host closed the connection]
havenwood has joined #ruby
havenwood has joined #ruby
Azure has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jefffrails35 has quit [Remote host closed the connection]
<havenwood> Swyper: 610 days until Ruby 3's planned release!
duderonomy has joined #ruby
<Swyper> yay!
<Swyper> I still have to learn the current version of Ruby :D
<Swyper> btw is this a good place to get help with Rails aswell havenwood?
shanks8080 has joined #ruby
<havenwood> Swyper: Yes, it's a fine place. The #rubyonrails channel is another, slightly more ontopic option.
<havenwood> How Rails is the question? Very, very Rails? Slightly Rails? :P
<havenwood> Interesting it's not Ruby on Trains. I guess your app is the train?
<havenwood> Ruby par Avion
<adam12> LOL
<adam12> I'm happy that Rails has become so ubiquitous that I _rarely_ see the RoR acronym anymore.
brandoncc has joined #ruby
<miah> this is ruby on train https://github.com/inspec/train
<Swyper> I have not even started rails yet lol
<Swyper> but I do plan to shortly
<Swyper> still going through OOP in Ruby
<havenwood> "A Ruby on a rails - you don't do that! A gem, too precious for a train..."
<miah> also what if you do a Sinatra rather than a Rails? does all this sillyness still apply?
* havenwood chants Roda, Roda!
<havenwood> miah: I think Sinatra is more hat focused!
akem has joined #ruby
<leftylink> "You can put ruby on rails, and it will stay on the rails, unless it rolls off."
<leftylink> the faq article that that quote came from is all right
glingc has quit [Ping timeout: 245 seconds]
jottr has quit [Ping timeout: 245 seconds]
sameerynho has joined #ruby
yokel has quit [Ping timeout: 245 seconds]
jenrzzz has quit [Ping timeout: 246 seconds]
yokel has joined #ruby
fphilipe has joined #ruby
Whone has joined #ruby
Whone has quit [Client Quit]
fphilipe has quit [Ping timeout: 252 seconds]
clemens3_ has joined #ruby
jenrzzz has joined #ruby
conta has joined #ruby
<adam12> https://github.com/oracle/truffleruby/blob/85bbbf0a/lib/truffle/truffle/lazy-rubygems.rb I like it. I wonder if CRuby could adopt something similar.
jottr_ has joined #ruby
conta has quit [Ping timeout: 246 seconds]
jottr_ has quit [Ping timeout: 258 seconds]
laaron has quit [Quit: ZNC 1.7.1 - https://znc.in]
laaron has joined #ruby
pupsikov has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
yokel has quit [Ping timeout: 246 seconds]
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
dellavg_ has quit [Ping timeout: 250 seconds]
dluan has joined #ruby
dluan has left #ruby [#ruby]
jenrzzz has quit [Ping timeout: 246 seconds]
jenrzzz has joined #ruby
yokel has joined #ruby
doodleb99 has joined #ruby
waheedi has quit [Quit: waheedi]
doodlebug has quit [Ping timeout: 276 seconds]
pupsikov has joined #ruby
hightower2 has joined #ruby
RyanMcCoskrie has joined #ruby
reber has quit [Remote host closed the connection]
doodleb99 has quit [Read error: Connection reset by peer]
doodlebug has joined #ruby
jcalla has quit [Remote host closed the connection]
havenwood has quit [Remote host closed the connection]
havenwood has joined #ruby
havenwood has joined #ruby
SeepingN has quit [Quit: The system is going down for reboot NOW!]
Fernando-Basso has joined #ruby
doodleb61 has joined #ruby
doodlebug has quit [Ping timeout: 258 seconds]
hightower2 has quit [Ping timeout: 258 seconds]
mikecmpbll has quit [Quit: inabit. zz.]
DTZUZO has quit [Ping timeout: 250 seconds]
DTZUZO has joined #ruby
sameerynho has quit [Ping timeout: 255 seconds]
weteamsteve has joined #ruby
armyriad has quit [Ping timeout: 250 seconds]
fphilipe has joined #ruby
armyriad has joined #ruby
ramfjord_ has joined #ruby
jelera has joined #ruby
jottr_ has joined #ruby
RyanMcCoskrie has quit [Remote host closed the connection]
sgen has joined #ruby
ramfjord has quit [Ping timeout: 258 seconds]
doodleb61 has quit [Ping timeout: 258 seconds]
Azure has joined #ruby
truenito has joined #ruby
tail has joined #ruby
tail has quit [Client Quit]
dviola has quit [Quit: WeeChat 2.4]
jelera has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jelera has joined #ruby
jelera has quit [Client Quit]
jelera has joined #ruby
jelera has quit [Client Quit]
jelera has joined #ruby
jelera has quit [Client Quit]
jelera has joined #ruby
dviola has joined #ruby
bvdw6 has joined #ruby
bvdw6 has quit [Client Quit]
jelera has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
evdubs has quit [Remote host closed the connection]
evdubs has joined #ruby
ramfjord has joined #ruby
jenrzzz has quit [Ping timeout: 246 seconds]
ramfjord_ has quit [Ping timeout: 246 seconds]
jenrzzz has joined #ruby
jottr_ has quit [Ping timeout: 258 seconds]
sgen has quit [Ping timeout: 246 seconds]
fphilipe has quit [Ping timeout: 276 seconds]
fphilipe has joined #ruby
fphilipe has quit [Ping timeout: 257 seconds]
sgen has joined #ruby
tdy1 has quit [Ping timeout: 246 seconds]
jottr_ has joined #ruby
clemens3_ has quit [Ping timeout: 244 seconds]
clemens3 has joined #ruby
weteamsteve1 has joined #ruby
fphilipe has joined #ruby
weteamsteve has quit [Ping timeout: 276 seconds]
jottr has joined #ruby
jottr_ has quit [Ping timeout: 258 seconds]
<Swyper> rip
jcarl43 has quit [Quit: WeeChat 2.4]
<Swyper> anyone with patience feel like walking me through all the issues with my code ;x
jottr has quit [Ping timeout: 258 seconds]
<Swyper> havenwood if your on =p
<phaul> that secret_word in the class with "x" is just a local variable in that class scope.
<phaul> usually ppl don't put explicit parens on no argument methods.
<phaul> Swyper: any particular issue you are having with the code?
<havenwood> like phaul said, the line 3 `secret_word` is never used. the line 5 initialization is self-referential.
<Swyper> Sorry I removed line 3 its not needed
<Swyper> anything else?
<havenwood> #sample's default is 1, so just: DICTIONARY.sample
<havenwood> Swyper: +1 remove the empty parens
<havenwood> Swyper: check out attr_reader
<havenwood> Swyper: either take an #initialize param for `secret_word` or make it a CONSTANT, I'd think
<Swyper> here is the updated code, along with the specs I am failing
<Swyper> mostly just trying to get #initialize working atm
Rapture has quit [Quit: Textual IRC Client: www.textualapp.com]
truenito has quit [Remote host closed the connection]
dar123 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<phaul> Swyper: if you still need help post the error from the failing test, we could help you with hints moving in the right direction. The code you posted with spec results doesn't seem to be related?
pupsikov has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<Swyper> sure
Cthulu201 has quit [Quit: Nowhere special. I always wanted to go there.]
Cthulu201 has joined #ruby
fphilipe has quit [Ping timeout: 258 seconds]
jottr has joined #ruby
jottr has quit [Ping timeout: 276 seconds]
Swyper has quit [Remote host closed the connection]
infernix has quit [Ping timeout: 250 seconds]
dsmythe has joined #ruby
orbyt_ has joined #ruby