00:02
eddof13 has quit [Client Quit]
00:09
Braill24 has quit [Read error: Connection reset by peer]
01:05
John_Ivan has quit [Ping timeout: 246 seconds]
01:06
diagnostics0 has joined #ruby
01:19
caedmon has joined #ruby
01:30
diagnostics0 has quit [Remote host closed the connection]
01:31
caedmon has quit [Ping timeout: 245 seconds]
02:02
Gabrie45 has joined #ruby
02:21
gh0st6 has joined #ruby
02:32
Gabrie45 has quit [Quit: Best CPUs can count to infinity twice without being bugged out by zero division errors or whatnot.]
02:44
eddof13 has joined #ruby
02:48
eddof13 has quit [Client Quit]
03:19
MarvelousWololo has joined #ruby
03:24
caedmon has joined #ruby
03:39
<
johnjaye >
hmm. is it natural for the range operators to have lower precedence than comparison?
03:39
<
johnjaye >
i would think it natural to write 5 == 1..10 but apparently I have to do 5 == (1..10) due to precedence
03:46
caedmon has quit [Ping timeout: 245 seconds]
04:10
_ht has joined #ruby
04:11
keypresser86 has quit [Ping timeout: 272 seconds]
04:22
clemens3 has quit [Ping timeout: 245 seconds]
04:41
gh0st6 has quit [Quit: Connection closed for inactivity]
05:08
clemens3 has joined #ruby
05:19
anaero70 has joined #ruby
05:19
anaero70 has quit [K-Lined]
05:31
grenierm has joined #ruby
05:41
_ht has quit [Quit: _ht]
05:43
tomtmym has joined #ruby
05:43
tomtmym has quit [Changing host]
05:43
tomtmym has joined #ruby
05:47
nektro has quit [Remote host closed the connection]
05:48
nektro has joined #ruby
06:24
grenierm has quit [Quit: Client closed]
06:24
grenierm has joined #ruby
06:44
teclator has joined #ruby
07:22
MarvelousWololo has quit [Read error: Connection reset by peer]
07:23
octobear has joined #ruby
07:24
weaksauce has quit [Ping timeout: 246 seconds]
07:33
dalan03822 has quit [Quit: dalan03822]
07:34
dalan03822 has joined #ruby
07:41
infinityfye has joined #ruby
07:57
grenierm has quit [Quit: Client closed]
07:58
crespire1 has quit [Ping timeout: 245 seconds]
08:02
weaksauce has joined #ruby
08:03
jvalleroy has joined #ruby
08:06
crespire has joined #ruby
08:06
crespire has quit [Killed (NickServ (GHOST command used by crespire1))]
08:06
crespire1 has joined #ruby
08:08
grenierm has joined #ruby
08:33
rvalue has quit [Ping timeout: 246 seconds]
08:36
hightower2 has quit [Ping timeout: 272 seconds]
08:40
rvalue has joined #ruby
08:41
shokohsc53 has joined #ruby
08:42
shokohsc5 has quit [Ping timeout: 272 seconds]
08:42
shokohsc53 is now known as shokohsc5
09:06
grenierm has quit [Quit: Client closed]
09:26
hightower2 has joined #ruby
09:34
Sankalp has quit [Ping timeout: 252 seconds]
09:36
Sankalp has joined #ruby
10:30
desnudopenguino has quit [Read error: Connection reset by peer]
11:35
markong has joined #ruby
12:11
cordia82 has joined #ruby
12:16
reset has joined #ruby
12:41
Vonter has quit [Ping timeout: 260 seconds]
12:43
markong has quit [Ping timeout: 246 seconds]
12:48
Vonter has joined #ruby
13:01
kaivai has quit [Ping timeout: 246 seconds]
13:10
some14u has joined #ruby
13:16
cordia82 has quit [Remote host closed the connection]
13:17
some14u has quit [Ping timeout: 245 seconds]
13:19
kaivai has joined #ruby
13:19
dnadev2 has joined #ruby
13:22
<
dnadev2 >
cable/lib/action_cable/subscription_adapter/redis.rb#L18. does anyone know how to monkey patch this to work on 5.2? thanks.
13:23
Linux_Kerio has joined #ruby
13:24
some14u has joined #ruby
13:25
markong has joined #ruby
13:46
graywolf has joined #ruby
14:15
some14u has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
14:15
desnudopenguino has joined #ruby
14:17
some14u has joined #ruby
14:17
maims has joined #ruby
14:20
desnudopenguino1 has joined #ruby
14:23
desnudopenguino has quit [Ping timeout: 272 seconds]
14:23
desnudopenguino1 is now known as desnudopenguino
14:26
some14u has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
14:40
some14u has joined #ruby
14:43
eddof13 has joined #ruby
14:44
eddof13 has quit [Client Quit]
14:51
eddof13 has joined #ruby
15:12
maims has quit [Quit: Best CPUs can count to infinity twice without being bugged out by zero division errors or whatnot.]
15:12
John_Ivan has joined #ruby
15:19
octobear has quit [Remote host closed the connection]
15:23
ribeiro has joined #ruby
15:24
brokkoli_origin has quit [Ping timeout: 245 seconds]
15:30
brokkoli_origin has joined #ruby
15:37
some14u has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
15:41
some14u has joined #ruby
15:49
markong has quit [Ping timeout: 240 seconds]
15:53
CrazyEddy has quit [Ping timeout: 264 seconds]
15:58
patrick has quit [Killed (NickServ (GHOST command used by patrick-!~patrick@fsf/member/patrick))]
15:58
patrick has joined #ruby
16:03
sagax has joined #ruby
16:11
<
Momentum >
hmm string interpolation doesn't work in puts methods available in say socket?
16:13
<
Momentum >
ah nevermind it requires double quotes it seems like
16:16
_ht has joined #ruby
16:22
MarvelousWololo has joined #ruby
16:34
some14u has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
16:42
some14u has joined #ruby
16:46
<
adam12 >
Momentum: I always use double quotes for every string.
16:47
___nick___ has joined #ruby
16:52
hightower2 has quit [Ping timeout: 245 seconds]
16:53
c10l6 has quit [Quit: See ya! o/]
16:54
c10l6 has joined #ruby
16:55
hightower2 has joined #ruby
17:09
some14u has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
17:11
___nick___ has joined #ruby
17:12
r3m has quit [Quit: WeeChat 4.1.0-dev]
17:12
___nick___ has quit [Client Quit]
17:14
___nick___ has joined #ruby
17:23
ribeiro has quit [Ping timeout: 272 seconds]
17:27
caedmon has joined #ruby
17:28
hightower2 has quit [Ping timeout: 245 seconds]
17:33
caedmon has quit [Ping timeout: 246 seconds]
17:36
<
ox1eef_ >
IIRC that's the standardrb default.
17:41
<
ox1eef_ >
johnjaye: (1..10).include?(5) is another way to write that. IME it is more common.
17:42
r3m has joined #ruby
17:44
<
johnjaye >
yes. i'm not sure why the == syntax exists tbh. but ruby allows you to overload syntax so it makes sense I guess.
18:04
caedmon has joined #ruby
18:15
Ribeiro86 has joined #ruby
18:16
Ribeiro86 is now known as ribeiro
18:34
bobbin has joined #ruby
18:39
<
Momentum >
okay thanks
18:48
<
ox1eef_ >
Always welcome, Momentum !
18:55
Ribeiro86 has joined #ruby
18:59
ribeiro has quit [Ping timeout: 272 seconds]
19:02
caedmon has quit [Ping timeout: 245 seconds]
19:04
octobear has joined #ruby
19:06
caedmon has joined #ruby
19:10
caedmon has quit [Ping timeout: 246 seconds]
19:14
Linux_Kerio has quit [Ping timeout: 264 seconds]
19:23
bobbin has quit [Quit: Best CPUs can count to infinity twice without being bugged out by zero division errors or whatnot.]
19:32
<
leftylink >
oh wow TIL. I was about to give the admonishment "remember that for numeric range inclusion, you must use cover? instead of include? so that you do not iterate the entire range members" but at some point they made it so that numeric range include? becomes a cover? instead. nice
19:32
<
leftylink >
so my admonishment is unnecessary
19:34
<
leftylink >
huh in fact that's been the behaviour ever since at least 1.9.1, so whatever idea I had in my head that you must use cover?, it must have been very very very outdated
19:34
<
leftylink >
I did not expect today to learn that I'm a dinosaur who needs to get with the times :<
19:37
graywolf has quit [Quit: WeeChat 4.0.0]
19:38
<
leftylink >
it should go without saying that the designers and makers of the Ruby language are much smarter than I am
19:39
<
leftylink >
oh, and the designers and makers of its standard library too
19:49
caedmon has joined #ruby
19:54
<
weaksauce >
get with the times old man
19:55
<
weaksauce >
wear an onion around your waist
20:01
eddof13 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
20:02
some14u has joined #ruby
20:03
victori has joined #ruby
20:04
___nick___ has quit [Ping timeout: 258 seconds]
20:06
eddof13 has joined #ruby
20:07
some14u has quit [Ping timeout: 245 seconds]
20:09
<
ox1eef_ >
>> (1...10).include?(10)
20:09
<
ox1eef_ >
That is so subtle. I'm not sure I like that feature.
20:09
some14u has joined #ruby
20:11
_ht has quit [Quit: _ht]
20:14
some14u has quit [Ping timeout: 272 seconds]
20:17
some14u has joined #ruby
20:27
infinityfye has quit [Quit: Leaving]
20:34
caedmon has quit [Ping timeout: 246 seconds]
20:40
konsolebox has joined #ruby
20:41
shokohsc56 has joined #ruby
20:42
shokohsc5 has quit [Ping timeout: 272 seconds]
20:42
shokohsc56 is now known as shokohsc5
20:43
eddof13 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
20:45
hightower2 has joined #ruby
20:57
Ribeiro86 is now known as ribeiro
21:06
some14u has joined #ruby
21:21
some14u has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
21:23
some14u has joined #ruby
21:26
some14u has quit [Client Quit]
21:28
some14u has joined #ruby
21:39
konsolebox has quit [Quit: Leaving]
21:48
ribeiro has quit [Remote host closed the connection]
21:49
bambanxx has joined #ruby
21:49
teclator has quit [Ping timeout: 252 seconds]
22:00
ruby[bot] has quit [Remote host closed the connection]
22:00
ruby[bot] has joined #ruby
22:10
polishdub has quit [Remote host closed the connection]
22:15
sagax has quit [Ping timeout: 246 seconds]
22:40
eddof13 has joined #ruby
22:40
eddof13 has quit [Client Quit]
23:09
eddof13 has joined #ruby
23:16
diagnostics0 has joined #ruby
23:21
eddof13 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
23:30
tomtmym has quit [Quit: Gone.]
23:42
<
Momentum >
hmm this is a bit weird
23:42
<
Momentum >
i did something like:
23:42
<
Momentum >
req = Net::HTTP::Post.new uri, {"Content-Type": "application/json"}.to_json
23:42
<
Momentum >
(NoMethodError) !initheader.keys.any? { |k|
23:43
<
Momentum >
ox1eef_: do you have an idea? :D
23:46
Pixi has quit [Read error: Connection reset by peer]
23:46
<
Momentum >
oh my bad
23:46
<
Momentum >
idk why i'm passing it as json
23:47
Pixi has joined #ruby
23:48
<
Momentum >
some examples are misleading
23:51
keypresser86 has joined #ruby