00:01
desnudopenguino1 has joined #ruby
00:05
desnudopenguino has quit [Ping timeout: 240 seconds]
00:05
desnudopenguino1 is now known as desnudopenguino
00:19
keypresser86 has joined #ruby
00:30
factor1 has joined #ruby
00:34
factor has quit [Ping timeout: 256 seconds]
00:34
factor1 is now known as factor
00:35
keypresser86 has quit []
00:37
keypresser86 has joined #ruby
00:40
roshanavand has quit [Ping timeout: 240 seconds]
00:59
keypresser86 has quit []
01:00
keypresser86 has joined #ruby
01:18
<
johnjaye >
what is gem activesupport?
01:19
<
johnjaye >
i wanted to see where the concat method was defined for Array and it has 2 different sets of methods defined. one is from gem activesupport, the other from gem concurrent-ruby. are these "standard gems"?
01:25
<
weaksauce >
activesupport is rails
01:25
<
weaksauce >
concat is a core
01:26
<
weaksauce >
johnjaye ^
01:28
<
johnjaye >
it says concat is from active support
01:28
<
johnjaye >
if i read the terminal output right
01:29
<
johnjaye >
it says class methods [], new, try_convert then instance methods &,*,+,-,<<,... concat. and at the bottom it says from gem activesupport-7.0.5
01:59
caedmon has joined #ruby
02:23
caedmon has quit [Quit: caedmon]
02:24
caedmon has joined #ruby
02:25
jhass has quit [Ping timeout: 265 seconds]
02:26
dhruvasagar has quit [Ping timeout: 240 seconds]
02:31
<
weaksauce >
johnjaye yeah probably overriding it
02:32
jhass has joined #ruby
02:33
dhruvasagar has joined #ruby
02:37
jhass has quit [Ping timeout: 250 seconds]
02:37
caedmon has quit [Ping timeout: 265 seconds]
02:42
dhruvasagar has quit [Ping timeout: 250 seconds]
02:45
jhass has joined #ruby
02:47
caedmon has joined #ruby
02:49
dhruvasagar has joined #ruby
02:56
dhruvasagar has quit [Ping timeout: 240 seconds]
03:00
caedmon has quit [Ping timeout: 240 seconds]
03:14
caedmon has joined #ruby
03:27
caedmon has quit [Ping timeout: 268 seconds]
03:33
dhruvasagar has joined #ruby
03:35
moldorcoder7 has quit [Ping timeout: 268 seconds]
03:38
dhruvasagar has quit [Ping timeout: 240 seconds]
03:44
dhruvasagar has joined #ruby
03:47
moldorcoder7 has joined #ruby
03:49
dhruvasagar has quit [Ping timeout: 248 seconds]
03:54
caedmon has joined #ruby
04:06
dhruvasagar has joined #ruby
04:11
dhruvasagar has quit [Ping timeout: 240 seconds]
04:23
dhruvasagar has joined #ruby
04:28
dhruvasagar has quit [Ping timeout: 240 seconds]
04:34
caedmon has quit [Quit: caedmon]
04:34
dhruvasagar has joined #ruby
04:39
dhruvasagar has quit [Ping timeout: 240 seconds]
04:39
moldorcoder7 has quit [Ping timeout: 248 seconds]
04:46
<
gr33n7007h >
morning ruby 🌞
04:51
dhruvasagar has joined #ruby
04:56
dhruvasagar has quit [Ping timeout: 250 seconds]
04:57
dhruvasagar has joined #ruby
05:02
dhruvasagar has quit [Ping timeout: 268 seconds]
05:06
kenichi_ has joined #ruby
05:07
kenichi has quit [Ping timeout: 268 seconds]
05:08
dhruvasagar has joined #ruby
05:12
dhruvasagar has quit [Ping timeout: 240 seconds]
05:19
dhruvasagar has joined #ruby
05:22
grenierm has joined #ruby
05:23
dhruvasagar has quit [Ping timeout: 265 seconds]
05:36
dhruvasagar has joined #ruby
05:40
dhruvasagar has quit [Ping timeout: 240 seconds]
05:52
dhruvasagar has joined #ruby
05:57
dhruvasagar has quit [Ping timeout: 240 seconds]
05:57
roadie has joined #ruby
06:02
hrberg has joined #ruby
06:21
dhruvasagar has joined #ruby
06:25
dhruvasagar has quit [Ping timeout: 240 seconds]
06:32
dhruvasagar has joined #ruby
06:36
keypresser86 has quit []
06:37
dhruvasagar has quit [Ping timeout: 268 seconds]
06:43
dhruvasagar has joined #ruby
06:48
dhruvasagar has quit [Ping timeout: 268 seconds]
07:11
johnjaye has quit [Ping timeout: 268 seconds]
07:12
johnjaye has joined #ruby
07:16
cognemo has quit [Ping timeout: 268 seconds]
07:17
cognemo has joined #ruby
07:28
cnsvc- has joined #ruby
07:28
cnsvc has quit [Ping timeout: 268 seconds]
07:35
hololeap has quit [Ping timeout: 268 seconds]
07:35
hololeap has joined #ruby
07:39
teclator has joined #ruby
07:46
sphex has quit [Ping timeout: 268 seconds]
07:47
sphex has joined #ruby
08:01
grenierm has quit [Ping timeout: 245 seconds]
08:01
dhruvasagar has joined #ruby
08:06
dhruvasagar has quit [Ping timeout: 240 seconds]
08:06
jvalleroy has joined #ruby
08:29
shokohsc58 has joined #ruby
08:30
shokohsc5 has quit [Ping timeout: 250 seconds]
08:30
shokohsc58 is now known as shokohsc5
08:42
dhruvasagar has joined #ruby
08:47
dhruvasagar has quit [Ping timeout: 256 seconds]
08:54
dhruvasagar has joined #ruby
08:57
Sankalp has quit [Ping timeout: 240 seconds]
08:57
Sankalp- has joined #ruby
08:57
Sankalp- is now known as Sankalp
08:58
dhruvasagar has quit [Ping timeout: 268 seconds]
09:02
Sankalp has quit [Ping timeout: 240 seconds]
09:03
Sankalp has joined #ruby
09:05
dhruvasagar has joined #ruby
09:07
Sankalp- has joined #ruby
09:08
Sankalp has quit [Ping timeout: 265 seconds]
09:08
Sankalp- is now known as Sankalp
09:09
dhruvasagar has quit [Ping timeout: 246 seconds]
09:10
dhruvasagar has joined #ruby
09:15
dhruvasagar has quit [Ping timeout: 246 seconds]
09:20
dhruvasagar has joined #ruby
09:22
_ht has joined #ruby
09:30
Sankalp has quit [Ping timeout: 268 seconds]
09:32
Sankalp has joined #ruby
09:36
Sankalp- has joined #ruby
09:37
Sankalp has quit [Ping timeout: 256 seconds]
09:37
Sankalp- is now known as Sankalp
09:45
friendlypunk has joined #ruby
09:52
justache- has joined #ruby
09:53
justache has quit [Ping timeout: 268 seconds]
10:02
dhruvasagar has quit [Quit: WeeChat 3.8]
10:03
dhruvasagar has joined #ruby
10:10
dhruvasagar has quit [Quit: WeeChat 3.8]
10:11
dhruvasagar has joined #ruby
10:14
dhruvasagar has quit [Client Quit]
10:14
dhruvasagar has joined #ruby
10:14
dhruvasagar has quit [Client Quit]
10:15
dhruvasagar has joined #ruby
10:42
cognemo has quit [Ping timeout: 268 seconds]
10:45
dhruvasagar has quit [Ping timeout: 250 seconds]
11:16
dhruvasagar has joined #ruby
11:22
roshanavand has joined #ruby
11:22
dhruvasagar has quit [Ping timeout: 250 seconds]
11:34
roshanavand_ has joined #ruby
11:37
roshanavand has quit [Ping timeout: 268 seconds]
11:39
dhruvasagar has joined #ruby
11:42
markong has joined #ruby
11:49
rvalue has quit [Remote host closed the connection]
11:49
rvalue has joined #ruby
11:55
<
adam12 >
gr33n7007h: morning :)
11:56
<
adam12 >
johnjaye: activesupport "monkeypatches" a lot of Ruby core methods. So there might be a core `concat` method, and then ActiveSupport added it's own. Its one of the criticisms of activesupport(and Rails in general).
11:57
moldorcoder7 has joined #ruby
12:10
dhruvasagar has quit [Ping timeout: 268 seconds]
12:35
szkl has quit [Quit: Connection closed for inactivity]
12:40
dhruvasagar has joined #ruby
12:45
dhruvasagar has quit [Ping timeout: 268 seconds]
12:57
dhruvasagar has joined #ruby
13:01
markong has quit [Ping timeout: 268 seconds]
13:02
dhruvasagar has quit [Ping timeout: 240 seconds]
13:03
dhruvasagar has joined #ruby
13:08
dhruvasagar has quit [Ping timeout: 268 seconds]
13:09
dhruvasagar has joined #ruby
13:13
dhruvasagar has quit [Ping timeout: 240 seconds]
13:29
markong has joined #ruby
13:31
moldorcoder7 has quit [Ping timeout: 265 seconds]
13:37
dhruvasagar has joined #ruby
13:42
dhruvasagar has quit [Ping timeout: 268 seconds]
13:43
dhruvasagar has joined #ruby
13:49
dhruvasagar has quit [Ping timeout: 268 seconds]
13:51
dhruvasagar has joined #ruby
14:00
dhruvasagar has quit [Ping timeout: 268 seconds]
14:00
<
mretka >
gr33n7007h, greetings :)
14:02
justache- is now known as justache
14:28
dhruvasagar has joined #ruby
14:34
dhruvasagar has quit [Ping timeout: 240 seconds]
14:35
keypresser86 has joined #ruby
14:45
dhruvasagar has joined #ruby
14:50
dhruvasagar has quit [Ping timeout: 240 seconds]
14:51
dhruvasagar has joined #ruby
14:56
dhruvasagar has quit [Ping timeout: 240 seconds]
14:56
Sheilong has joined #ruby
15:01
roshanavand_ has quit [Ping timeout: 268 seconds]
15:08
dhruvasagar has joined #ruby
15:12
kenichi_ is now known as kenichi
15:13
kenichi has quit [Changing host]
15:13
kenichi has joined #ruby
15:13
dhruvasagar has quit [Ping timeout: 256 seconds]
15:19
dhruvasagar has joined #ruby
15:24
dhruvasagar has quit [Ping timeout: 268 seconds]
15:42
dhruvasagar has joined #ruby
15:42
r3m has quit [Quit: WeeChat 4.0.0-dev]
15:43
r3m has joined #ruby
15:47
dhruvasagar has quit [Ping timeout: 268 seconds]
15:52
r3m has quit [Quit: WeeChat 4.0.0-rc1]
15:52
r3m has joined #ruby
15:53
dhruvasagar has joined #ruby
15:55
r3m has quit [Client Quit]
15:56
r3m has joined #ruby
15:58
dhruvasagar has quit [Ping timeout: 268 seconds]
16:04
dhruvasagar has joined #ruby
16:09
dhruvasagar has quit [Ping timeout: 240 seconds]
16:15
r3m has quit [Quit: WeeChat 4.0.0-rc1]
16:15
dhruvasagar has joined #ruby
16:16
r3m has joined #ruby
16:19
r3m has quit [Client Quit]
16:19
r3m has joined #ruby
16:27
r3m has quit [Quit: WeeChat 4.0.0-rc1]
16:27
r3m has joined #ruby
16:47
r3m has quit [Quit: WeeChat 4.0.0-rc1]
16:47
r3m has joined #ruby
16:53
r3m has quit [Quit: WeeChat 4.0.0-rc1]
16:54
r3m has joined #ruby
17:00
gr33n7007h has quit [Ping timeout: 240 seconds]
17:02
shokohsc59 has joined #ruby
17:02
shokohsc5 has quit [Ping timeout: 240 seconds]
17:02
shokohsc59 is now known as shokohsc5
17:25
r3m has quit [Quit: WeeChat 4.0.0-rc1]
17:26
r3m has joined #ruby
17:55
moldorcoder7 has joined #ruby
17:57
markong has quit [Ping timeout: 268 seconds]
18:01
r3m has quit [Quit: WeeChat 4.0.0-rc1]
18:02
r3m has joined #ruby
18:13
havenwood has joined #ruby
18:20
dhruvasagar has quit [Ping timeout: 240 seconds]
18:32
dhruvasagar has joined #ruby
18:33
havenwood has joined #ruby
18:35
havenwood has quit [Client Quit]
18:36
havenwood has joined #ruby
18:37
dhruvasagar has quit [Ping timeout: 268 seconds]
18:44
dhruvasagar has joined #ruby
18:44
desnudopenguino1 has joined #ruby
18:47
desnudopenguino has quit [Ping timeout: 240 seconds]
18:47
desnudopenguino1 is now known as desnudopenguino
18:48
dhruvasagar has quit [Ping timeout: 256 seconds]
18:54
dhruvasagar has joined #ruby
18:59
dhruvasagar has quit [Ping timeout: 268 seconds]
19:01
gr33n7007h has joined #ruby
19:11
r3m has quit [Quit: WeeChat 4.0.0-rc1]
19:12
r3m has joined #ruby
19:22
dhruvasagar has joined #ruby
19:24
tomtmym has joined #ruby
19:24
tomtmym has quit [Changing host]
19:24
tomtmym has joined #ruby
19:27
dhruvasagar has quit [Ping timeout: 240 seconds]
19:39
dhruvasagar has joined #ruby
19:44
dhruvasagar has quit [Ping timeout: 268 seconds]
19:45
shokohsc50 has joined #ruby
19:46
shokohsc5 has quit [Ping timeout: 240 seconds]
19:46
shokohsc50 is now known as shokohsc5
19:50
dhruvasagar has joined #ruby
19:57
dhruvasagar has quit [Ping timeout: 250 seconds]
20:09
dhruvasagar has joined #ruby
20:14
dhruvasagar has quit [Ping timeout: 240 seconds]
20:26
dhruvasagar has joined #ruby
20:31
dhruvasagar has quit [Ping timeout: 265 seconds]
20:37
dhruvasagar has joined #ruby
20:42
dhruvasagar has quit [Ping timeout: 240 seconds]
21:17
Guest52 has joined #ruby
21:17
Guest52 has quit [Client Quit]
21:20
roadie has quit [Ping timeout: 248 seconds]
21:22
dhruvasagar has joined #ruby
21:26
dhruvasagar has quit [Ping timeout: 240 seconds]
21:33
dhruvasagar has joined #ruby
21:37
graywolf has joined #ruby
21:38
dhruvasagar has quit [Ping timeout: 240 seconds]
21:38
markong has joined #ruby
21:41
<
ox1eef_ >
adam12: Probably not a fair criticism. Monkey-patching is usually mentioned as a feature when Ruby is described generally, but as an anti-feature by a good portion of Rubyists.
21:43
<
rapha >
it'd be nice if one needed to jump through some sort of hoop in order to be allowed to monkey patch.
21:45
roadie has joined #ruby
21:45
<
adam12 >
I think it's fine. I sometimes monkeypatch temporarily to work around an issue while I am developing.
21:46
<
adam12 >
The downside is something coming along and clobbering a core method. Worse, when that clobbering happens as a side-effect of another dependency.
21:46
<
ox1eef_ >
rapha: Refinements are kinda that, no?
21:47
<
ox1eef_ >
adam12: Sure - changing a core method in a way that makes it different to the original is arguably always a bad idea.
21:49
<
rapha >
ox1eef_: but the fact that refinements exist doesnt mean that other things are not still possible as well.
21:50
dhruvasagar has joined #ruby
21:51
<
ox1eef_ >
Sure. I'd go as far to say that refinements are a failed realization right now. I never see them used outside havenwood's gists :>)
21:53
<
ox1eef_ >
But I trust Matz knows better. One thing I can observe is that Ruby doesn't have many rules to stop you from doing whatever you imagine. Maybe private_constant is a rare exception to that.
21:53
<
mooff >
what happens if you then send public_constant?
21:54
<
ox1eef_ >
>> module Foo; Bar = 1; private_constant :Bar; end; Foo.send(:public_constant, :Bar); Foo::Bar
21:55
dhruvasagar has quit [Ping timeout: 256 seconds]
22:00
ruby[bot] has quit [Remote host closed the connection]
22:00
ruby[bot] has joined #ruby
22:00
roadie has quit [Ping timeout: 248 seconds]
22:09
shokohsc5 has quit [Ping timeout: 250 seconds]
22:11
shokohsc5 has joined #ruby
22:11
roadie has joined #ruby
22:16
roadie has quit [Ping timeout: 248 seconds]
22:27
tomtmym has quit [Quit: Gone.]
22:29
roadie has joined #ruby
22:33
roadie has quit [Ping timeout: 248 seconds]
22:38
Sheilong has quit []
22:44
mynameisdebian has joined #ruby
22:45
<
mynameisdebian >
Why does `puts "a"` do the same thing as `puts "a\n"`? Was there a change at some point or did I just somehow never notice?
22:51
<
ox1eef_ >
man 3 puts
22:51
<
ox1eef_ >
It behaves the same.
22:53
dhruvasagar has joined #ruby
22:58
dhruvasagar has quit [Ping timeout: 268 seconds]
22:58
<
weaksauce >
mynameisdebian "Writes a newline after each that does not already end with
22:58
<
weaksauce >
a newline sequence. If called without arguments, writes a newline."
22:58
<
weaksauce >
from the docs
22:58
<
mynameisdebian >
ash ok
22:58
<
mynameisdebian >
ah ok
22:58
<
mynameisdebian >
thanks
22:59
<
ox1eef_ >
The history behind it has its root in C.
23:01
<
weaksauce >
intersting that my man page for puts doesn't mention that behavior
23:01
<
weaksauce >
just says it will terminate with a newline
23:02
<
weaksauce >
they specifically look for it in ruby
23:09
graywolf has quit [Quit: WeeChat 3.8]
23:15
dhruvasagar has joined #ruby
23:20
dhruvasagar has quit [Ping timeout: 240 seconds]
23:31
roadie has joined #ruby
23:32
dhruvasagar has joined #ruby
23:36
roadie has quit [Ping timeout: 248 seconds]
23:42
dhruvasagar has quit [Ping timeout: 265 seconds]
23:53
roadie has joined #ruby
23:58
roadie has quit [Ping timeout: 248 seconds]