00:11
frodl has quit [Quit: Connection closed for inactivity]
00:13
Rounin has quit [Ping timeout: 248 seconds]
00:22
peirik__ has joined #ruby
00:32
grokify has joined #ruby
00:37
grokify has quit [Ping timeout: 260 seconds]
01:06
infernix has joined #ruby
01:16
grokify has joined #ruby
01:21
grokify has quit [Ping timeout: 256 seconds]
01:22
[yella] has joined #ruby
01:24
yella has quit [Ping timeout: 256 seconds]
01:25
peirik__ has quit [Ping timeout: 260 seconds]
01:27
[yella] has quit [Max SendQ exceeded]
01:28
[yella] has joined #ruby
01:40
yella__ has joined #ruby
01:43
[yella] has quit [Ping timeout: 260 seconds]
01:53
John_Ivan_ has joined #ruby
01:58
John_Ivan__ has quit [Ping timeout: 256 seconds]
01:59
John_Ivan__ has joined #ruby
02:04
John_Ivan_ has quit [Ping timeout: 260 seconds]
02:11
grokify has joined #ruby
02:15
grokify has quit [Ping timeout: 260 seconds]
02:15
desnudopenguino1 has joined #ruby
02:18
desnudopenguino has quit [Ping timeout: 252 seconds]
02:18
desnudopenguino1 is now known as desnudopenguino
02:19
stirl has quit [Ping timeout: 260 seconds]
02:41
grokify has joined #ruby
02:46
grokify has quit [Ping timeout: 256 seconds]
02:56
[yella] has joined #ruby
02:58
cartdrige has quit [Quit: Leaving]
02:58
yella__ has quit [Ping timeout: 256 seconds]
03:06
grokify has joined #ruby
03:11
grokify has quit [Remote host closed the connection]
03:12
cartdrige has joined #ruby
03:22
peirik__ has joined #ruby
03:28
peirik__ has quit [Ping timeout: 256 seconds]
03:44
niv has joined #ruby
04:03
grokify has joined #ruby
04:07
grokify has quit [Ping timeout: 260 seconds]
04:19
reset has quit [Quit: reset]
04:20
ur5us has quit [Ping timeout: 255 seconds]
04:25
cxl has quit [Quit: bye]
04:26
cartdrige has quit [Ping timeout: 256 seconds]
04:27
cxl has joined #ruby
04:40
FullMetalStacker has joined #ruby
04:46
stirl has joined #ruby
05:01
grokify has joined #ruby
05:06
grokify has quit [Ping timeout: 260 seconds]
05:23
grokify has joined #ruby
05:28
grokify has quit [Ping timeout: 260 seconds]
05:35
ur5us has joined #ruby
05:51
otisolsen70 has joined #ruby
05:55
tirnanog has quit [Ping timeout: 252 seconds]
06:23
splud has quit [Ping timeout: 268 seconds]
06:37
ur5us has quit [Ping timeout: 260 seconds]
06:51
grokify has joined #ruby
06:53
lutrinus has joined #ruby
06:56
grokify has quit [Ping timeout: 256 seconds]
06:56
grokify has joined #ruby
07:04
grokify has quit [Remote host closed the connection]
07:12
Laplace has joined #ruby
07:20
stirl has quit [Ping timeout: 260 seconds]
07:21
splud has joined #ruby
07:23
teclator has joined #ruby
07:33
grokify has joined #ruby
07:35
grokify has quit [Remote host closed the connection]
07:36
hd1 has joined #ruby
07:36
grokify has joined #ruby
07:36
hd1 has left #ruby [#ruby]
07:36
walez has joined #ruby
08:04
Rounin has joined #ruby
08:04
Rounin has joined #ruby
08:04
Rounin has quit [Changing host]
08:12
D_A_N_ has quit [Quit: leaving]
08:22
ur5us has joined #ruby
08:23
gr33n7007h has quit [Ping timeout: 252 seconds]
08:25
gr33n7007h has joined #ruby
08:29
peirik__ has joined #ruby
08:35
dionysus69 has joined #ruby
08:53
grokify has quit [Remote host closed the connection]
09:00
artemon has quit [Quit: You have been kicked for being idle]
09:01
grokify has joined #ruby
09:08
grokify has quit [Ping timeout: 256 seconds]
09:09
grokify has joined #ruby
09:13
peirik__ has quit [Ping timeout: 268 seconds]
09:17
CrazyEddy has quit [Ping timeout: 240 seconds]
09:23
jvalleroy has joined #ruby
09:30
gr33n7007h has quit [Quit: WeeChat 3.7.1]
09:31
ccapndave has joined #ruby
09:36
EdwardIII has quit [Read error: Software caused connection abort]
09:39
EdwardIII has joined #ruby
09:56
Sankalp has quit [Ping timeout: 256 seconds]
09:59
ur5us has quit [Ping timeout: 240 seconds]
10:02
peirik__ has joined #ruby
10:02
Sankalp has joined #ruby
10:08
peirik__ has quit [Ping timeout: 256 seconds]
10:12
CrazyEddy has joined #ruby
10:18
peirik__ has joined #ruby
10:25
Jonopoly has joined #ruby
10:26
peirik__ has quit [Ping timeout: 256 seconds]
10:27
Sophira has quit [Read error: Software caused connection abort]
10:32
Sophira has joined #ruby
10:34
JSharp has quit [Read error: Software caused connection abort]
10:34
JSharp has joined #ruby
10:59
peirik__ has joined #ruby
11:04
peirik__ has quit [Ping timeout: 248 seconds]
11:13
grokify has quit [Remote host closed the connection]
11:16
peirik__ has joined #ruby
11:16
legahc- has joined #ruby
11:17
cnsvc- has joined #ruby
11:18
legahc has quit [Ping timeout: 255 seconds]
11:18
legahc- is now known as legahc
11:18
cnsvc has quit [Ping timeout: 246 seconds]
11:27
grokify has joined #ruby
11:30
ccapndave has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
11:31
ccapndave has joined #ruby
11:40
duderonomy has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
11:41
ccapndave has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
11:41
peirik__ has quit [Ping timeout: 268 seconds]
11:41
ccapndave has joined #ruby
11:51
ccapndave has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
11:52
ccapndave has joined #ruby
11:52
alexherbo2 has joined #ruby
12:02
ccapndave has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
12:03
ccapndave has joined #ruby
12:04
alexherbo2 has quit [Ping timeout: 260 seconds]
12:14
shokohsc has quit [Read error: Connection reset by peer]
12:16
shokohsc has joined #ruby
12:24
alexherbo2 has joined #ruby
12:36
grokify has quit [Remote host closed the connection]
12:37
grokify has joined #ruby
12:39
grokify has quit [Remote host closed the connection]
12:39
grokify has joined #ruby
12:43
peirik__ has joined #ruby
12:49
peirik__ has quit [Ping timeout: 268 seconds]
13:00
Jonopoly has quit [Quit: WeeChat 3.0]
13:05
grokify has quit [Remote host closed the connection]
13:05
grokify has joined #ruby
13:06
grokify has quit [Remote host closed the connection]
13:06
grokify has joined #ruby
13:13
grokify has quit [Remote host closed the connection]
13:13
grokify has joined #ruby
13:20
grokify has quit [Ping timeout: 256 seconds]
13:33
tirnanog has joined #ruby
13:35
reset has joined #ruby
13:35
D_A_N_ has joined #ruby
13:49
peirik__ has joined #ruby
13:52
alexherbo2 has quit [Remote host closed the connection]
13:52
grokify has joined #ruby
13:54
peirik__ has quit [Ping timeout: 268 seconds]
13:57
grokify has quit [Ping timeout: 248 seconds]
14:13
alexherbo2 has joined #ruby
14:17
dviola has quit [Ping timeout: 268 seconds]
14:25
grokify has joined #ruby
14:30
grokify has quit [Ping timeout: 260 seconds]
14:43
lucerne has joined #ruby
14:46
crankharder has joined #ruby
14:50
dviola has joined #ruby
14:53
grokify has joined #ruby
14:58
grokify has quit [Ping timeout: 260 seconds]
14:59
grokify has joined #ruby
15:16
cartdrige has joined #ruby
15:45
joto has quit [Ping timeout: 268 seconds]
15:53
crankharder has quit [Ping timeout: 252 seconds]
15:58
gr33n7007h has joined #ruby
16:01
crankharder has joined #ruby
16:02
dionysus69 has quit [Ping timeout: 255 seconds]
16:15
grokify has quit [Remote host closed the connection]
16:16
grokify has joined #ruby
16:19
dionysus69 has joined #ruby
16:20
grokify has quit [Ping timeout: 240 seconds]
16:22
Laplace has quit [Quit: Connection closed for inactivity]
16:27
walez has quit [Ping timeout: 252 seconds]
16:44
crankharder has quit [Ping timeout: 256 seconds]
16:48
grokify has joined #ruby
16:56
crankharder has joined #ruby
16:57
lutrinus has quit [Ping timeout: 256 seconds]
16:59
grokify has quit [Ping timeout: 255 seconds]
17:16
grokify has joined #ruby
17:17
grokify has quit [Remote host closed the connection]
17:39
lagash has quit [Remote host closed the connection]
17:41
crax23 has joined #ruby
17:42
cartdrige has quit [Ping timeout: 260 seconds]
17:44
yxhuvud has quit [Read error: Connection reset by peer]
17:45
lagash has joined #ruby
17:48
Y05hito__ has joined #ruby
17:48
yxhuvud has joined #ruby
17:49
crankharder has quit [Ping timeout: 256 seconds]
17:50
crankharder has joined #ruby
17:50
crax23 has quit [Ping timeout: 260 seconds]
17:51
lutrinus has joined #ruby
17:54
crax23 has joined #ruby
17:54
grokify has joined #ruby
17:56
Y05hito__ has quit [Ping timeout: 260 seconds]
17:58
grokify has quit [Ping timeout: 256 seconds]
18:00
Y05hito__ has joined #ruby
18:02
crax23 has quit [Ping timeout: 256 seconds]
18:02
lutrinus has quit [Ping timeout: 256 seconds]
18:06
crax23 has joined #ruby
18:09
Y05hito__ has quit [Ping timeout: 260 seconds]
18:12
Y05hito__ has joined #ruby
18:15
crax23 has quit [Ping timeout: 260 seconds]
18:18
crax23 has joined #ruby
18:20
Y05hito__ has quit [Ping timeout: 256 seconds]
18:24
Y05hito__ has joined #ruby
18:27
crax23 has quit [Ping timeout: 260 seconds]
18:30
crax23 has joined #ruby
18:33
Y05hito__ has quit [Ping timeout: 268 seconds]
18:36
Y05hito__ has joined #ruby
18:38
crax23 has quit [Ping timeout: 248 seconds]
18:41
crankharder has quit [Ping timeout: 268 seconds]
18:41
crax23 has joined #ruby
18:44
Y05hito__ has quit [Ping timeout: 260 seconds]
18:46
crax23 has quit [Ping timeout: 260 seconds]
18:52
crankharder has joined #ruby
18:56
crankharder has quit [Ping timeout: 248 seconds]
19:09
crankharder has joined #ruby
19:15
_ht has joined #ruby
19:24
acosta has joined #ruby
19:31
ccapndave has joined #ruby
19:37
lucerne has quit [Read error: Connection reset by peer]
19:42
cartdrige has joined #ruby
19:45
ccapndave has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
19:48
walez has joined #ruby
19:49
Sankalp has quit [Ping timeout: 248 seconds]
19:51
alexherbo2 has quit [Remote host closed the connection]
19:55
siasmj has joined #ruby
19:57
Sankalp has joined #ruby
20:06
peirik__ has joined #ruby
20:06
ccapndave has joined #ruby
20:07
FullMetalStacker has quit [Read error: Connection reset by peer]
20:10
peirik__ has quit [Ping timeout: 248 seconds]
20:11
ccapndave has quit [Client Quit]
20:11
some14u has joined #ruby
20:20
dionysus69 has quit [Quit: dionysus69]
20:21
dionysus69 has joined #ruby
20:24
ur5us has joined #ruby
20:25
some14u has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
20:34
some14u has joined #ruby
20:40
moldorcoder7 has joined #ruby
20:44
moldorcoder7 has quit [Max SendQ exceeded]
20:45
moldorcoder7 has joined #ruby
20:49
duderonomy has joined #ruby
20:50
moldorcoder7 has quit [Max SendQ exceeded]
20:50
moldorcoder7 has joined #ruby
20:59
[yella] has quit [Ping timeout: 260 seconds]
21:01
some14u has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
21:04
_ht has quit [Quit: _ht]
21:05
some14u has joined #ruby
21:06
some14u has quit [Client Quit]
21:22
some14u has joined #ruby
21:27
some14u has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
21:29
otisolsen70 has quit [Quit: Leaving]
21:33
dionysus69 has quit [Ping timeout: 268 seconds]
21:35
goldfish has joined #ruby
21:48
Guest95 has joined #ruby
21:48
<
Guest95 >
Also, Im wondering which web-framework is best/most full-stack/secure/updated etc, Django or Ruby on Rails?
21:49
<
adam12 >
Guest95: You're safe choosing either of them.
21:51
<
Guest95 >
yes but like, which is best
21:51
<
Guest95 >
whats the differences
21:52
<
adam12 >
Guest95: There isn't one "best" framework. They both have strengths and weaknesses. One being that they are written in different languages.
21:52
_aeris_ has quit [Ping timeout: 255 seconds]
21:54
<
Guest95 >
What is the comparitive analysis, if you have experiences?
21:55
<
adam12 >
Guest95: I like Ruby. I use a Ruby framework.
21:56
some14u has joined #ruby
21:56
<
weaksauc_ >
rails is better because ruby is better
21:57
<
Guest95 >
Why, is Ruby better?
21:59
cryptkeeper has quit [Quit: Connection closed for inactivity]
22:00
walez has quit [Ping timeout: 260 seconds]
22:00
some14u has quit [Client Quit]
22:00
lucerne has joined #ruby
22:03
crankharder has quit [Quit: leaving]
22:05
_aeris_ has joined #ruby
22:06
<
sam113101 >
Guest95: because it has multiline lambdas
22:10
<
weaksauc_ >
because it's optimized for developer happiness
22:10
<
leftylink >
pandabot: what's obviously
22:11
<
weaksauc_ >
a thing of beauty that
22:13
neet has joined #ruby
22:13
Guest95 has quit [Quit: Client closed]
22:14
<
neet >
Using a `hash` typed member variable named collection, is there anyway I can make this look nicer? `if @@collection.key?(node.id) @@collection[node.id] += 1 else @@collection[node.id] = 1 end`
22:15
<
neet >
Essentially, setting the default value to 1 if the key does not exist, otherwise increasing the value by one.
22:16
lucerne has quit [Read error: Connection reset by peer]
22:18
<
sam113101 >
@@collection[node.id] ||= 0; @@collection[node.id] += 1
22:19
desnudopenguino has quit [Quit: desnudopenguino]
22:19
desnudopenguino has joined #ruby
22:19
<
bougyman >
I didn't know anyone used @@variables in reality.
22:20
<
neet >
What would be a better alternative using idiomatic Ruby?
22:20
<
weaksauc_ >
@@collection[node.id] = @@collection.fetch(node.id, 0) + 1
22:20
<
weaksauc_ >
would be one way but yeah class variables are rare
22:20
<
bougyman >
class variables have a lot of surprises.
22:21
<
neet >
I need to use a private member variable for a class. Would there be something to express that in a better way with idiomatic Ruby?
22:22
<
neet >
I haven't touched Ruby in years, but recently had a use case for it fall into my lap, want to express it in the best possible way using modern Ruby concepts
22:22
<
sam113101 >
what's your reason for using @@? does it need to be shared between instances?
22:23
<
bougyman >
[7] pry(main)> class A;@@foo=0;def self.foo;@@foo;end;end; class B < A; def self.boofoo; @@foo+=1; end; end ; B.boofoo; A.foo
22:23
<
bougyman >
Surprise.
22:23
<
neet >
I do not need to share it between instances. I initially implemented it with a more functional approach, but thought I may as well make it into a class if that's more of a "modern" Ruby approach. I really don't know though
22:26
desnudopenguino has quit [Ping timeout: 256 seconds]
22:26
<
neet >
Ah, I see, looks like class variables come with a lot of side effects
22:33
<
weaksauc_ >
what are you trying to do?
22:40
markong has joined #ruby
22:42
desnudopenguino has joined #ruby
23:00
ruby[bot] has quit [Remote host closed the connection]
23:00
ruby[bot] has joined #ruby
23:05
cryptkeeper has joined #ruby
23:07
svdasein has quit [Quit: Leaving]
23:12
stirl has joined #ruby
23:17
peirik__ has joined #ruby
23:20
stirl has quit [Read error: Connection reset by peer]
23:20
stirl has joined #ruby
23:26
stirl has quit [Quit: stirl]
23:31
neet has quit [Ping timeout: 260 seconds]
23:40
hightower2 has joined #ruby
23:58
grokify has joined #ruby