00:00
kyrylo has joined #ruby
00:01
gix has quit [Ping timeout: 255 seconds]
00:10
weteamsteve has joined #ruby
00:17
dviola has quit [Ping timeout: 245 seconds]
00:17
cow[moo] has joined #ruby
00:18
sylario has quit [Quit: Connection closed for inactivity]
00:23
houhoulis has joined #ruby
00:27
_whitelogger has joined #ruby
00:27
diego1 has joined #ruby
00:30
diego1 has left #ruby [#ruby]
00:30
dviola has joined #ruby
00:31
znz_jp has quit [Ping timeout: 276 seconds]
00:33
SeepingN has quit [Quit: The system is going down for reboot NOW!]
00:34
AJA4351 has joined #ruby
00:34
UnknownSoldier has joined #ruby
00:36
AJA4350 has quit [Ping timeout: 246 seconds]
00:36
AJA4351 is now known as AJA4350
00:38
Swyper has joined #ruby
00:38
UnknownSoldier is now known as \tau
00:43
fphilipe_ has joined #ruby
00:43
jottr has joined #ruby
00:50
jcarl43 has quit [Quit: WeeChat 2.4]
00:52
sgen has joined #ruby
00:56
jottr has quit [Ping timeout: 250 seconds]
01:00
dsmythe has quit [Remote host closed the connection]
01:01
kyrylo has quit [Ping timeout: 246 seconds]
01:02
jottr has joined #ruby
01:04
mangold has quit [Quit: This computer has gone to sleep]
01:04
AJA4350 has quit [Quit: AJA4350]
01:05
trif has quit [Ping timeout: 268 seconds]
01:05
trif has joined #ruby
01:07
jottr has quit [Ping timeout: 250 seconds]
01:07
laaron has quit [Remote host closed the connection]
01:07
laaron has joined #ruby
01:12
mangold has joined #ruby
01:16
orbyt_ has joined #ruby
01:16
fphilipe_ has quit [Ping timeout: 264 seconds]
01:28
arand has quit [Ping timeout: 252 seconds]
01:31
renich has quit [Remote host closed the connection]
01:34
sgen has quit [Ping timeout: 250 seconds]
01:34
cd has quit [Quit: cd]
01:38
houhoulis has quit []
01:41
houhoulis has joined #ruby
01:42
jenrzzz_ has joined #ruby
01:43
DTZUZO has joined #ruby
01:45
jenrzzz has quit [Ping timeout: 276 seconds]
01:46
jidar has quit [Quit: rebooting]
01:47
jenrzzz_ has quit [Ping timeout: 245 seconds]
01:48
DTZUZO has quit [Ping timeout: 245 seconds]
01:55
pwnd_nsfw` has quit [Read error: Connection reset by peer]
01:55
AndBobsYourUncle has joined #ruby
01:56
pwnd_nsfw has joined #ruby
02:00
mangold has quit [Quit: This computer has gone to sleep]
02:00
dsmythe has joined #ruby
02:09
galaxie has quit [Ping timeout: 256 seconds]
02:09
galaxie has joined #ruby
02:11
arand has joined #ruby
02:16
dar123 has joined #ruby
02:18
mangold has joined #ruby
02:20
bga57 has quit [Remote host closed the connection]
02:31
agent_white has quit [Quit: bbl]
02:31
dsmythe has quit [Remote host closed the connection]
02:31
plasticcat420 has joined #ruby
02:36
jenrzzz has joined #ruby
02:40
jidar has joined #ruby
02:40
jidar has quit [Client Quit]
02:42
jidar has joined #ruby
02:42
jidar has quit [Client Quit]
02:43
jidar has joined #ruby
02:45
mangold has quit [Quit: This computer has gone to sleep]
02:49
plasticcat420 has quit [Quit: WeeChat 2.2]
02:49
dar123 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
02:52
arand has quit [Ping timeout: 246 seconds]
02:53
weteamsteve has quit [Read error: Connection reset by peer]
02:59
cow[moo] has quit [Ping timeout: 255 seconds]
03:03
jottr has joined #ruby
03:05
braincrash has quit [Quit: bye bye]
03:06
mangold has joined #ruby
03:08
jottr has quit [Ping timeout: 255 seconds]
03:10
braincrash has joined #ruby
03:13
fphilipe_ has joined #ruby
03:17
jenrzzz has quit [Ping timeout: 276 seconds]
03:18
jenrzzz has joined #ruby
03:21
lucasb has quit [Quit: Connection closed for inactivity]
03:22
ivanskie has joined #ruby
03:24
jenrzzz has quit [Ping timeout: 276 seconds]
03:24
mangold has quit [Quit: This computer has gone to sleep]
03:26
ivanskie has quit [Client Quit]
03:26
arand has joined #ruby
03:26
DTZUZO has joined #ruby
03:31
jenrzzz has joined #ruby
03:43
skryking has joined #ruby
03:43
arand has quit [Ping timeout: 244 seconds]
03:47
fphilipe_ has quit [Ping timeout: 264 seconds]
03:53
mangold has joined #ruby
03:55
arand has joined #ruby
04:01
agent_white has joined #ruby
04:04
arand has quit [Ping timeout: 255 seconds]
04:08
MFGA has joined #ruby
04:09
MFGA has quit [Remote host closed the connection]
04:10
MFGA has joined #ruby
04:11
jenrzzz has quit [Ping timeout: 246 seconds]
04:12
MFGA has quit [K-Lined]
04:13
ivanskie has joined #ruby
04:15
ivanskie has quit [Client Quit]
04:17
ivanskie has joined #ruby
04:17
sauvin has joined #ruby
04:25
\tau has quit [Remote host closed the connection]
04:26
Swyper has quit [Remote host closed the connection]
04:28
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
04:32
fphilipe_ has joined #ruby
04:32
dsmythe has joined #ruby
04:37
dsmythe has quit [Ping timeout: 276 seconds]
04:39
dar123 has joined #ruby
04:40
orbyt_ has joined #ruby
04:43
galaxie has quit [Remote host closed the connection]
04:43
galaxie has joined #ruby
04:49
mangold has quit [Quit: This computer has gone to sleep]
04:50
duderonomy has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
04:52
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
04:53
duderonomy has joined #ruby
04:55
dar123 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
04:56
houhoulis has quit []
04:59
reber has joined #ruby
05:02
arand has joined #ruby
05:04
jottr has joined #ruby
05:05
Nightmare has quit [Ping timeout: 264 seconds]
05:06
fphilipe_ has quit [Ping timeout: 264 seconds]
05:08
vondruch has joined #ruby
05:08
xfbs has joined #ruby
05:08
jottr has quit [Ping timeout: 258 seconds]
05:08
conta has joined #ruby
05:09
twe4ked has quit [Ping timeout: 264 seconds]
05:10
twe4ked has joined #ruby
05:12
Nightmare has joined #ruby
05:13
Inline has quit [Quit: Leaving]
05:15
vondruch has quit [Ping timeout: 258 seconds]
05:17
vondruch has joined #ruby
05:19
reber has quit [Remote host closed the connection]
05:20
luminousnine has joined #ruby
05:20
luminousnine has quit [Changing host]
05:20
luminousnine has joined #ruby
05:26
duderonomy has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
05:28
jenrzzz has joined #ruby
05:40
ivanskie has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
05:44
vondruch has quit [Quit: vondruch]
05:45
vondruch has joined #ruby
05:47
vondruch has left #ruby [#ruby]
05:48
dar123 has joined #ruby
05:49
vondruch has joined #ruby
06:04
schleppel has joined #ruby
06:04
dar123 has quit [Ping timeout: 276 seconds]
06:08
fphilipe_ has joined #ruby
06:10
PuercoPop has joined #ruby
06:13
jcarl43 has joined #ruby
06:15
agent_white has quit [Quit: night]
06:19
jenrzzz has quit [Ping timeout: 245 seconds]
06:25
imadper has joined #ruby
06:28
fphilipe_ has quit [Ping timeout: 264 seconds]
06:31
suukim has joined #ruby
06:39
bga57 has joined #ruby
06:39
sameerynho has quit [Ping timeout: 244 seconds]
06:40
jenrzzz has joined #ruby
06:43
gigetoo has quit [Ping timeout: 276 seconds]
06:44
yokel has quit [Ping timeout: 276 seconds]
06:46
gigetoo has joined #ruby
06:46
yokel has joined #ruby
06:46
clemens3_ has quit [Ping timeout: 245 seconds]
06:54
c0dec has quit [Ping timeout: 258 seconds]
06:55
jenrzzz has quit [Ping timeout: 250 seconds]
06:56
Swyper has joined #ruby
06:59
jenrzzz has joined #ruby
07:01
c0dec has joined #ruby
07:04
Swyper has quit [Remote host closed the connection]
07:05
jottr has joined #ruby
07:05
clemens3_ has joined #ruby
07:07
mangold has joined #ruby
07:09
nowhere_man has quit [Ping timeout: 276 seconds]
07:10
jottr has quit [Ping timeout: 258 seconds]
07:15
jenrzzz has quit [Ping timeout: 250 seconds]
07:16
jottr has joined #ruby
07:16
fphilipe_ has joined #ruby
07:16
sleetdrop has joined #ruby
07:21
jottr has quit [Ping timeout: 245 seconds]
07:22
jenrzzz has joined #ruby
07:23
jefffrails35 has joined #ruby
07:25
pwnd_nsfw` has joined #ruby
07:28
pwnd_nsfw has quit [Ping timeout: 245 seconds]
07:28
aupadhye has joined #ruby
07:31
jenrzzz has quit [Ping timeout: 268 seconds]
07:33
jenrzzz has joined #ruby
07:35
lxsameer has joined #ruby
07:37
AndBobsYourUncle has quit [Ping timeout: 245 seconds]
07:37
_joes_ has joined #ruby
07:37
jenrzzz has quit [Ping timeout: 245 seconds]
07:38
andikr has joined #ruby
07:42
jenrzzz has joined #ruby
07:45
fphilipe_ has quit [Read error: Connection reset by peer]
07:50
fphilipe_ has joined #ruby
07:50
jenrzzz has quit [Ping timeout: 276 seconds]
07:52
jottr has joined #ruby
07:54
claudiuinberlin has joined #ruby
07:54
daniel____ has quit [Quit: Leaving]
07:56
_joes_ has quit [Ping timeout: 276 seconds]
08:00
_joes_ has joined #ruby
08:01
mikecmpbll has joined #ruby
08:07
jottr has quit [Ping timeout: 246 seconds]
08:09
_joes_ has quit [Ping timeout: 258 seconds]
08:09
Furai has quit [Quit: WeeChat 2.4]
08:12
Furai has joined #ruby
08:12
imadper has quit [Remote host closed the connection]
08:14
jenrzzz has joined #ruby
08:14
_joes_ has joined #ruby
08:20
fphilipe_ has quit [Read error: Connection reset by peer]
08:22
jenrzzz has quit [Ping timeout: 258 seconds]
08:28
duderonomy has joined #ruby
08:30
jenrzzz has joined #ruby
08:38
imadper has joined #ruby
08:40
jenrzzz has quit [Ping timeout: 258 seconds]
08:40
dsmythe has joined #ruby
08:42
pwnd_nsfw has joined #ruby
08:43
pwnd_nsfw` has quit [Ping timeout: 244 seconds]
08:48
jottr has joined #ruby
08:50
fphilipe_ has joined #ruby
08:54
duderonomy has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
09:01
dhollin3 has joined #ruby
09:02
jenrzzz has joined #ruby
09:04
dhollinger has quit [Ping timeout: 276 seconds]
09:04
laaron has quit [Remote host closed the connection]
09:06
jenrzzz has quit [Ping timeout: 258 seconds]
09:07
laaron has joined #ruby
09:07
Dbugger has joined #ruby
09:09
schleppel has quit [Ping timeout: 244 seconds]
09:09
jenrzzz has joined #ruby
09:11
schleppel has joined #ruby
09:17
jcarl43 has quit [Quit: WeeChat 2.4]
09:18
hightower2 has joined #ruby
09:25
dsmythe has quit [Remote host closed the connection]
09:27
jottr_ has joined #ruby
09:29
jottr has quit [Ping timeout: 255 seconds]
09:43
pwnd_nsfw has quit [Read error: Connection reset by peer]
09:43
pwnd_nsfw has joined #ruby
09:49
leimh has joined #ruby
09:51
gb_away has quit [Ping timeout: 245 seconds]
09:52
mhlei has quit [Ping timeout: 245 seconds]
09:53
gb_away has joined #ruby
09:54
_joes_ has quit [Ping timeout: 245 seconds]
10:00
_joes_ has joined #ruby
10:03
conta has quit [Ping timeout: 244 seconds]
10:06
jenrzzz has quit [Ping timeout: 258 seconds]
10:10
dellavg_ has joined #ruby
10:13
waheedi has joined #ruby
10:13
conta has joined #ruby
10:22
jottr_ has quit [Ping timeout: 245 seconds]
10:24
jottr_ has joined #ruby
10:25
BH23 has joined #ruby
10:28
zululee_ has quit [Quit: Ping timeout (120 seconds)]
10:28
zululee_ has joined #ruby
10:29
jottr_ has quit [Ping timeout: 250 seconds]
10:34
jottr_ has joined #ruby
10:34
phaul has quit [Ping timeout: 250 seconds]
10:38
laaron has joined #ruby
10:40
jenrzzz has joined #ruby
10:44
phaul has joined #ruby
10:49
mangold has quit [Ping timeout: 264 seconds]
10:51
pradiprwt has joined #ruby
10:53
<
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
10:53
crankharder has joined #ruby
10:53
<
pradiprwt >
in Ruby
10:54
<
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)
10:55
<
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)
10:56
<
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
10:57
<
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
10:58
<
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.
10:59
<
hightower2 >
This will help you reduce the churn (creating/destroying thousands of objects) regardless of whether it will help the memory leak or not
11:00
<
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.
11:00
Azure|dc has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
11:01
Jonopoly has joined #ruby
11:02
dsmythe has joined #ruby
11:05
_joes_ has quit [Ping timeout: 245 seconds]
11:06
<
Jonopoly >
Does anyone using cucumber and ruby?
11:06
<
Jonopoly >
I'm wondering if its possible to pass variables through
11:06
<
Jonopoly >
and read them in cucumber/.feature files
11:06
<
Jonopoly >
in the example table
11:06
BH23 has quit [Ping timeout: 268 seconds]
11:07
Kazokee has joined #ruby
11:10
dsmythe has quit [Ping timeout: 276 seconds]
11:14
Kazokee has quit [Ping timeout: 256 seconds]
11:14
<
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.
11:15
Jambo has joined #ruby
11:15
_joes_ has joined #ruby
11:15
BH23 has joined #ruby
11:15
<
pradiprwt >
Recently I was doing testing with application by keeping busy the application, i found the memory is increasing very fast
11:16
<
pradiprwt >
hightower2: Do you know any profiling tool for ruby?
11:17
<
hightower2 >
I don't know offhand
11:18
<
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
11:20
<
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.
11:20
<
hightower2 >
pradiprwt, by the way, is your app using 'curb'? (Ruby bindings for curl)
11:23
AJA4350 has joined #ruby
11:24
<
pradiprwt >
hightower2: No it is not using curd
11:24
<
pradiprwt >
The application is simple linux where running as a process
11:24
<
hightower2 >
ok, the leak is not related to curb then :)
11:25
<
pradiprwt >
I am not sure where is the leak but concern is increasing memory use
11:26
Tuor has joined #ruby
11:26
<
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
11:26
apparition has joined #ruby
11:27
<
hightower2 >
For example, you can run 'pry' from code after 10k iterations of some main function which you cal
11:27
<
pradiprwt >
hightower2: I am working on ruby from last 6 month... If you can share some reference that will be very helpful
11:28
<
hightower2 >
pry; GC.start; ObjectSpace.count_objects; GC.start
11:29
<
hightower2 >
also if count_objects will give a too brief summary, you can run manually something like:
11:29
kyrylo has joined #ruby
11:30
fphilipe_ is now known as fphilipe
11:30
<
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
11:31
<
hightower2 >
(and do "count= Hash.new 0" before that line, to initialize "count")
11:36
queip has quit [Ping timeout: 258 seconds]
11:37
<
pradiprwt >
thanks hightower2, i will let you know I will try all your suggestion.. some of these I need to learn
11:38
<
pradiprwt >
hightower2: And, these test should perform on running application?
11:39
prestorium has joined #ruby
11:41
Jambo has quit [Ping timeout: 256 seconds]
11:41
Dbugger has quit [Quit: Leaving]
11:41
<
hightower2 >
pradiprwt, yes, you must have a running app... or some minimal reproducible example of your code which exhibits memory increase
11:43
Voker57 has quit [Quit: No Ping reply in 180 seconds.]
11:43
towo has quit [Quit: No Ping reply in 180 seconds.]
11:44
Voker57 has joined #ruby
11:44
towo has joined #ruby
11:47
ldnunes has joined #ruby
11:48
guardian has quit [Remote host closed the connection]
11:50
guardian has joined #ruby
11:50
Tuor_ has joined #ruby
11:50
Tuor has quit [Ping timeout: 245 seconds]
11:50
queip has joined #ruby
11:53
AJA4350 has quit [Ping timeout: 246 seconds]
11:54
AJA4350 has joined #ruby
12:05
wildermind has joined #ruby
12:07
_joes_ has quit [Remote host closed the connection]
12:07
_joes_ has joined #ruby
12:12
dsmythe has joined #ruby
12:15
edwardly has quit [Read error: Connection reset by peer]
12:17
dsmythe has quit [Ping timeout: 264 seconds]
12:17
schleppel has left #ruby ["Konversation terminated!"]
12:18
edwardly has joined #ruby
12:18
edwardly has joined #ruby
12:18
edwardly has quit [Changing host]
12:27
Tuor_ has quit [Ping timeout: 255 seconds]
12:27
Tuor_ has joined #ruby
12:28
AJA4350 has quit [Ping timeout: 250 seconds]
12:29
ldnunes has quit [Ping timeout: 250 seconds]
12:29
leimh has quit [Remote host closed the connection]
12:30
leimh has joined #ruby
12:35
AJA4350 has joined #ruby
12:38
UnknownSoldier has joined #ruby
12:41
jottr_ is now known as jottr
12:42
queip has quit [Ping timeout: 258 seconds]
12:42
ldnunes has joined #ruby
12:53
queip has joined #ruby
12:59
catphish has joined #ruby
12:59
pwnd_nsfw` has joined #ruby
13:00
<
catphish >
is it possible to tell ruby to stop reading a script from STDIN and start executing it (other than closing the pipe)?
13:01
AJA4351 has joined #ruby
13:01
<
catphish >
oh i think this is probably what i want, the reason is that i want to mix code and data
13:01
pwnd_nsfw has quit [Ping timeout: 250 seconds]
13:02
AJA4350 has quit [Ping timeout: 258 seconds]
13:02
AJA4351 is now known as AJA4350
13:02
<
catphish >
__END__ seems to be all that's needed
13:05
<
Jonopoly >
Does Ruby support """ """ like python?
13:07
<
catphish >
what does that do?
13:07
cd has joined #ruby
13:07
<
catphish >
i suspect the answer is "yes, but with its own syntax", but i have no idea what that does :)
13:10
UnknownSoldier has quit [Remote host closed the connection]
13:12
cow[moo] has joined #ruby
13:13
dsmythe has joined #ruby
13:15
<
ryouba >
is there any good writeup on when to use begin...rescue vs. when to use throw...catch?
13:16
Tuor_ has quit [Quit: Konversation terminated!]
13:16
<
phaul >
use begin rescue for error/exception handling. Use throw/catch for flow control
13:16
<
ryouba >
phaul: even when the error/exception handling is not intended to end program execution?
13:17
<
catphish >
ryouba: i can summarize: rescue is for handling errors, throw/catch is more like "break" for flow control
13:17
<
Jonopoly >
catphish: It basically lets you write any format style
13:17
<
Jonopoly >
catphish: it's useful for when writing paragraphs, just tested it and it works which is good...
13:18
<
catphish >
i see, i'm not very familair with doing that
13:18
dsmythe has quit [Ping timeout: 276 seconds]
13:19
<
phaul >
ryouba: yeah, whether you stop the program or not is a different question.
13:23
Azure has joined #ruby
13:29
<
garyserj >
when would you use throw/catch for flow control as opposed to an if statement?
13:30
<
catphish >
throw / catch is used to break out of the middle of a nested loop
13:31
vondruch has quit [Ping timeout: 246 seconds]
13:31
<
garyserj >
why does this give a syntax error? [3,2,1].each {|x| puts x.to_s; puts x.to_s}
13:32
<
phaul >
&>> [3,2,1].each {|x| puts x.to_s; puts x.to_s}
13:32
<
catphish >
garyserj: it doesn't
13:33
<
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
13:33
<
garyserj >
ah how strange. it works in irb and fails in byebug
13:33
pupsikov has joined #ruby
13:35
AJA4351 has joined #ruby
13:35
conta has quit [Ping timeout: 250 seconds]
13:35
AJA4350 has quit [Ping timeout: 245 seconds]
13:35
AJA4351 is now known as AJA4350
13:36
<
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 }
13:37
<
garyserj >
i.e. escaping the semi-colon
13:45
stan has quit [Remote host closed the connection]
13:59
dhollin3 is now known as dhollinger
14:00
dsmythe has joined #ruby
14:04
stan_ has joined #ruby
14:09
AJA4350 has quit [Ping timeout: 244 seconds]
14:11
Swyper has joined #ruby
14:14
teclator has quit [Ping timeout: 276 seconds]
14:14
Swyper has quit [Remote host closed the connection]
14:15
queip has quit [Ping timeout: 246 seconds]
14:22
queip has joined #ruby
14:22
dsmythe has quit [Remote host closed the connection]
14:22
dsmythe has joined #ruby
14:25
Inline has joined #ruby
14:27
Swyper has joined #ruby
14:29
ivanskie has joined #ruby
14:30
ivanskie has quit [Client Quit]
14:30
SeepingN has joined #ruby
14:31
Swyper has quit [Remote host closed the connection]
14:32
Swyper has joined #ruby
14:34
Swyper has quit [Remote host closed the connection]
14:38
fanta1 has joined #ruby
14:40
AJA4350 has joined #ruby
14:40
aupadhye has quit [Ping timeout: 268 seconds]
14:41
jelera has joined #ruby
14:42
jelera has quit [Client Quit]
14:42
jelera has joined #ruby
14:43
laaron has joined #ruby
14:44
AJA4350 has quit [Ping timeout: 268 seconds]
14:44
wildermind has quit [Quit: Connection closed for inactivity]
14:45
Swyper has joined #ruby
14:47
apparition has quit [Quit: Bye]
14:47
duderonomy has joined #ruby
14:52
AJA4350 has joined #ruby
14:54
houhoulis has joined #ruby
15:00
ldnunes has quit [Quit: Leaving]
15:04
duderonomy has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
15:06
Azure has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
15:07
reber has joined #ruby
15:08
rippa has joined #ruby
15:09
_joes_ has quit [Ping timeout: 250 seconds]
15:10
queip has quit [Ping timeout: 246 seconds]
15:11
BH23 has quit [Ping timeout: 255 seconds]
15:11
claudiuinberlin has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
15:16
fphilipe has quit [Ping timeout: 245 seconds]
15:17
MShuttleworth has joined #ruby
15:17
MShuttleworth has quit [Max SendQ exceeded]
15:18
MShuttleworth has joined #ruby
15:18
queip has joined #ruby
15:18
AJA4351 has joined #ruby
15:19
AJA4350 has quit [Ping timeout: 255 seconds]
15:19
AJA4351 is now known as AJA4350
15:26
noobdevel has joined #ruby
15:31
duderonomy has joined #ruby
15:31
jelera has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
15:32
Swyper has quit [Remote host closed the connection]
15:33
MShuttleworth has quit [Killed (Fuchs (<No reason given>))]
15:33
mikecmpbll has quit [Quit: inabit. zz.]
15:36
jelera has joined #ruby
15:37
Swyper has joined #ruby
15:40
mikecmpbll has joined #ruby
15:40
orbyt_ has joined #ruby
15:40
pradiprwt has quit [Ping timeout: 256 seconds]
15:43
ricekrispie2 has joined #ruby
15:44
jelera has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
15:45
lxsameer has quit [Ping timeout: 258 seconds]
15:45
wolfshappen has quit [Ping timeout: 276 seconds]
15:45
jelera has joined #ruby
15:47
wolfshappen_ has joined #ruby
15:47
ricekrispie has quit [Ping timeout: 258 seconds]
15:48
mikecmpbll has quit [Ping timeout: 250 seconds]
15:50
mikecmpbll has joined #ruby
15:50
AJA4351 has joined #ruby
15:52
AJA4350 has quit [Ping timeout: 245 seconds]
15:52
AJA4351 is now known as AJA4350
15:53
conta has joined #ruby
15:53
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
15:54
doodlebug has joined #ruby
15:56
prestorium has quit [Ping timeout: 246 seconds]
15:59
jelera has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
16:00
Jonopoly has quit [Quit: WeeChat 2.4]
16:01
jelera has joined #ruby
16:03
dsmythe has quit [Remote host closed the connection]
16:04
dsmythe has joined #ruby
16:05
andikr has quit [Remote host closed the connection]
16:06
Rapture has joined #ruby
16:10
gnufied has joined #ruby
16:16
<
adam12 >
Swyper: o/
16:17
jottr has quit [Read error: Connection reset by peer]
16:19
jottr has joined #ruby
16:20
tdy1 has quit [Ping timeout: 258 seconds]
16:20
hightower2 has quit [Ping timeout: 250 seconds]
16:25
AJA4350 has quit [Ping timeout: 276 seconds]
16:25
noobdevel is now known as v3Ry5m4R7
16:27
v3Ry5m4R7 is now known as noobdevel
16:28
noobdevel has quit [Quit: BATTERY CRITICAL LOW 1%]
16:28
wald0 has joined #ruby
16:28
noobdevel has joined #ruby
16:30
catphish has quit [Quit: Leaving]
16:31
jottr has quit [Read error: Connection reset by peer]
16:32
jottr_ has joined #ruby
16:35
dar123 has joined #ruby
16:35
noobdevel has quit [Quit: BATTERY CRITICAL LOW 1%]
16:42
conta2 has joined #ruby
16:44
ramfjord has joined #ruby
16:44
jottr has joined #ruby
16:44
mikecmpbll has quit [Quit: inabit. zz.]
16:46
conta2 has quit [Ping timeout: 245 seconds]
16:46
jottr_ has quit [Ping timeout: 246 seconds]
16:48
tdy1 has joined #ruby
16:49
jottr has quit [Ping timeout: 246 seconds]
16:51
jottr has joined #ruby
16:52
jelera has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
16:53
jelera has joined #ruby
16:53
jenrzzz has quit [Ping timeout: 246 seconds]
16:53
jelera has quit [Client Quit]
16:53
jelera has joined #ruby
16:54
jelera has quit [Client Quit]
16:54
jelera has joined #ruby
16:54
jelera has quit [Client Quit]
16:55
jelera has joined #ruby
16:55
jelera has quit [Client Quit]
16:56
jelera has joined #ruby
16:56
jelera has quit [Client Quit]
17:07
jottr has quit [Ping timeout: 258 seconds]
17:07
jottr_ has joined #ruby
17:08
jottr_ is now known as jottr
17:08
mikecmpbll has joined #ruby
17:10
conta has quit [Quit: conta]
17:13
doodlebug has quit [Ping timeout: 276 seconds]
17:14
AJA4350 has joined #ruby
17:15
code_zombie has joined #ruby
17:16
houhoulis has quit [Remote host closed the connection]
17:16
houhoulis has joined #ruby
17:21
_whitelogger has joined #ruby
17:21
Swyper has quit [Remote host closed the connection]
17:21
fanta1 has quit [Quit: fanta1]
17:22
jcarl43 has joined #ruby
17:23
Swyper has joined #ruby
17:23
AJA4350 has quit [Ping timeout: 258 seconds]
17:30
Swyper has quit [Remote host closed the connection]
17:32
sauvin has quit [Ping timeout: 276 seconds]
17:33
Swyper has joined #ruby
17:34
azza has joined #ruby
17:35
laaron has quit [Remote host closed the connection]
17:36
jenrzzz has joined #ruby
17:36
Swyper has quit [Remote host closed the connection]
17:37
laaron has joined #ruby
17:40
jenrzzz has quit [Ping timeout: 245 seconds]
17:41
jenrzzz has joined #ruby
17:43
duderonomy has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
17:44
Swyper has joined #ruby
17:48
Azure has joined #ruby
17:50
jinie has quit [Ping timeout: 264 seconds]
17:50
jinie_ has joined #ruby
17:51
suukim has quit [Remote host closed the connection]
18:02
houhouli_ has joined #ruby
18:04
houhoul__ has joined #ruby
18:05
crankharder has quit [Ping timeout: 250 seconds]
18:05
houhoulis has quit [Ping timeout: 258 seconds]
18:07
houhouli_ has quit [Ping timeout: 250 seconds]
18:08
clemens3_ has quit [Ping timeout: 245 seconds]
18:11
jenrzzz has quit [Ping timeout: 246 seconds]
18:27
gix has joined #ruby
18:34
azza has quit [Ping timeout: 250 seconds]
18:35
jenrzzz has joined #ruby
18:38
doodlebug has joined #ruby
18:40
ghormoon has quit [Ping timeout: 258 seconds]
18:40
aither64 has joined #ruby
18:41
aither has quit [Ping timeout: 240 seconds]
18:42
ghormoon has joined #ruby
18:51
azza has joined #ruby
18:56
dkmueller has joined #ruby
19:00
dsmythe has quit [Ping timeout: 258 seconds]
19:00
shanks8080 has quit [Remote host closed the connection]
19:02
azza has quit [Quit: Lost terminal]
19:03
AJA4350 has joined #ruby
19:07
dkmueller has quit [Remote host closed the connection]
19:14
havenwood has joined #ruby
19:14
havenwood has joined #ruby
19:15
Azure has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
19:19
jefffrails35 has quit [Remote host closed the connection]
19:20
<
havenwood >
Swyper: 610 days until Ruby 3's planned release!
19:20
duderonomy has joined #ruby
19:20
<
Swyper >
I still have to learn the current version of Ruby :D
19:20
<
Swyper >
btw is this a good place to get help with Rails aswell havenwood?
19:21
shanks8080 has joined #ruby
19:21
<
havenwood >
Swyper: Yes, it's a fine place. The #rubyonrails channel is another, slightly more ontopic option.
19:22
<
havenwood >
How Rails is the question? Very, very Rails? Slightly Rails? :P
19:23
<
havenwood >
Interesting it's not Ruby on Trains. I guess your app is the train?
19:23
<
havenwood >
Ruby par Avion
19:23
<
adam12 >
I'm happy that Rails has become so ubiquitous that I
_rarely_ see the RoR acronym anymore.
19:23
brandoncc has joined #ruby
19:24
<
Swyper >
I have not even started rails yet lol
19:24
<
Swyper >
but I do plan to shortly
19:24
<
Swyper >
still going through OOP in Ruby
19:24
<
havenwood >
"A Ruby on a rails - you don't do that! A gem, too precious for a train..."
19:25
<
miah >
also what if you do a Sinatra rather than a Rails? does all this sillyness still apply?
19:25
* havenwood
chants Roda, Roda!
19:26
<
havenwood >
miah: I think Sinatra is more hat focused!
19:26
akem has joined #ruby
19:26
<
leftylink >
"You can put ruby on rails, and it will stay on the rails, unless it rolls off."
19:26
<
leftylink >
the faq article that that quote came from is all right
19:27
glingc has quit [Ping timeout: 245 seconds]
19:28
jottr has quit [Ping timeout: 245 seconds]
19:31
sameerynho has joined #ruby
19:36
yokel has quit [Ping timeout: 245 seconds]
19:37
jenrzzz has quit [Ping timeout: 246 seconds]
19:41
yokel has joined #ruby
19:46
fphilipe has joined #ruby
19:46
Whone has joined #ruby
19:47
Whone has quit [Client Quit]
19:50
fphilipe has quit [Ping timeout: 252 seconds]
19:50
clemens3_ has joined #ruby
19:54
jenrzzz has joined #ruby
19:56
conta has joined #ruby
19:58
jottr_ has joined #ruby
20:00
conta has quit [Ping timeout: 246 seconds]
20:03
jottr_ has quit [Ping timeout: 258 seconds]
20:07
laaron has joined #ruby
20:15
pupsikov has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
20:17
yokel has quit [Ping timeout: 246 seconds]
20:18
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
20:18
dellavg_ has quit [Ping timeout: 250 seconds]
20:18
dluan has joined #ruby
20:18
dluan has left #ruby [#ruby]
20:20
jenrzzz has quit [Ping timeout: 246 seconds]
20:21
jenrzzz has joined #ruby
20:23
yokel has joined #ruby
20:35
doodleb99 has joined #ruby
20:37
waheedi has quit [Quit: waheedi]
20:39
doodlebug has quit [Ping timeout: 276 seconds]
20:44
pupsikov has joined #ruby
20:51
hightower2 has joined #ruby
20:52
RyanMcCoskrie has joined #ruby
20:54
reber has quit [Remote host closed the connection]
20:54
doodleb99 has quit [Read error: Connection reset by peer]
20:55
doodlebug has joined #ruby
21:03
jcalla has quit [Remote host closed the connection]
21:05
havenwood has quit [Remote host closed the connection]
21:07
havenwood has joined #ruby
21:07
havenwood has joined #ruby
21:11
SeepingN has quit [Quit: The system is going down for reboot NOW!]
21:11
Fernando-Basso has joined #ruby
21:12
doodleb61 has joined #ruby
21:14
doodlebug has quit [Ping timeout: 258 seconds]
21:16
hightower2 has quit [Ping timeout: 258 seconds]
21:16
mikecmpbll has quit [Quit: inabit. zz.]
21:21
DTZUZO has quit [Ping timeout: 250 seconds]
21:28
DTZUZO has joined #ruby
21:29
sameerynho has quit [Ping timeout: 255 seconds]
21:37
weteamsteve has joined #ruby
21:40
armyriad has quit [Ping timeout: 250 seconds]
21:40
fphilipe has joined #ruby
21:41
armyriad has joined #ruby
21:41
ramfjord_ has joined #ruby
21:42
jelera has joined #ruby
21:43
jottr_ has joined #ruby
21:43
RyanMcCoskrie has quit [Remote host closed the connection]
21:43
sgen has joined #ruby
21:44
ramfjord has quit [Ping timeout: 258 seconds]
21:45
doodleb61 has quit [Ping timeout: 258 seconds]
21:46
Azure has joined #ruby
21:51
truenito has joined #ruby
21:53
tail has joined #ruby
21:53
tail has quit [Client Quit]
21:57
dviola has quit [Quit: WeeChat 2.4]
21:59
jelera has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
22:00
jelera has joined #ruby
22:00
jelera has quit [Client Quit]
22:01
jelera has joined #ruby
22:01
jelera has quit [Client Quit]
22:01
jelera has joined #ruby
22:02
jelera has quit [Client Quit]
22:02
jelera has joined #ruby
22:03
dviola has joined #ruby
22:06
bvdw6 has joined #ruby
22:06
bvdw6 has quit [Client Quit]
22:08
jelera has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
22:10
evdubs has quit [Remote host closed the connection]
22:10
evdubs has joined #ruby
22:12
ramfjord has joined #ruby
22:13
jenrzzz has quit [Ping timeout: 246 seconds]
22:14
ramfjord_ has quit [Ping timeout: 246 seconds]
22:16
jenrzzz has joined #ruby
22:17
jottr_ has quit [Ping timeout: 258 seconds]
22:20
sgen has quit [Ping timeout: 246 seconds]
22:21
fphilipe has quit [Ping timeout: 276 seconds]
22:23
fphilipe has joined #ruby
22:28
fphilipe has quit [Ping timeout: 257 seconds]
22:34
sgen has joined #ruby
22:35
tdy1 has quit [Ping timeout: 246 seconds]
22:41
jottr_ has joined #ruby
22:42
clemens3_ has quit [Ping timeout: 244 seconds]
22:43
clemens3 has joined #ruby
22:47
weteamsteve1 has joined #ruby
22:47
fphilipe has joined #ruby
22:49
weteamsteve has quit [Ping timeout: 276 seconds]
22:53
jottr has joined #ruby
22:53
jottr_ has quit [Ping timeout: 258 seconds]
22:55
jcarl43 has quit [Quit: WeeChat 2.4]
22:56
<
Swyper >
anyone with patience feel like walking me through all the issues with my code ;x
22:58
jottr has quit [Ping timeout: 258 seconds]
22:58
<
Swyper >
havenwood if your on =p
22:59
<
phaul >
that secret_word in the class with "x" is just a local variable in that class scope.
22:59
<
phaul >
usually ppl don't put explicit parens on no argument methods.
23:00
<
phaul >
Swyper: any particular issue you are having with the code?
23:00
<
havenwood >
like phaul said, the line 3 `secret_word` is never used. the line 5 initialization is self-referential.
23:01
<
Swyper >
Sorry I removed line 3 its not needed
23:01
<
Swyper >
anything else?
23:01
<
havenwood >
#sample's default is 1, so just: DICTIONARY.sample
23:01
<
havenwood >
Swyper: +1 remove the empty parens
23:01
<
havenwood >
Swyper: check out attr_reader
23:02
<
havenwood >
Swyper: either take an #initialize param for `secret_word` or make it a CONSTANT, I'd think
23:03
<
Swyper >
here is the updated code, along with the specs I am failing
23:03
<
Swyper >
mostly just trying to get #initialize working atm
23:09
truenito has quit [Remote host closed the connection]
23:10
dar123 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
23:11
<
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?
23:11
pupsikov has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
23:11
Cthulu201 has quit [Quit: Nowhere special. I always wanted to go there.]
23:12
Cthulu201 has joined #ruby
23:21
fphilipe has quit [Ping timeout: 258 seconds]
23:26
jottr has joined #ruby
23:32
jottr has quit [Ping timeout: 276 seconds]
23:39
Swyper has quit [Remote host closed the connection]
23:40
infernix has quit [Ping timeout: 250 seconds]
23:54
dsmythe has joined #ruby
23:59
orbyt_ has joined #ruby