00:00
cliluw has quit [Read error: Connection reset by peer]
00:01
evert has joined #ruby
00:01
cliluw has joined #ruby
00:03
leitz has joined #ruby
00:08
nixy37179 has joined #ruby
00:10
ChmEarl has quit [Quit: Leaving]
00:15
leitz has quit [Quit: Leaving]
00:15
houhoulis has quit [Remote host closed the connection]
00:23
<
adam12 >
RingtailedFox: Do you use VSCode?
00:24
<
RingtailedFox >
sometimes, eys
00:24
bga57 has quit [Ping timeout: 240 seconds]
00:25
<
adam12 >
RingtailedFox: I'm using VS Code + SSH Remote extension on Windows, and I run a Linux VM, since I'm waiting on WSL2 as well. Just suggesting it might be an option.
00:26
bga57 has joined #ruby
00:34
Axy has joined #ruby
00:38
Mia has quit [Ping timeout: 256 seconds]
00:41
nixy37179 has joined #ruby
00:42
braj has joined #ruby
00:43
DarthGandalf has quit [Quit: Bye]
00:46
jinmiaoluo has joined #ruby
00:48
teclator has quit [Ping timeout: 265 seconds]
00:48
teclator has joined #ruby
00:52
nixy37179 has joined #ruby
00:52
bruce_lee has quit [Ping timeout: 258 seconds]
00:52
bruce_lee has joined #ruby
00:52
bruce_lee has quit [Changing host]
00:52
bruce_lee has joined #ruby
00:55
gavlee has quit [Read error: Connection reset by peer]
00:57
gavlee has joined #ruby
00:59
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
00:59
shakes has joined #ruby
01:00
shakes has quit [Remote host closed the connection]
01:01
DarthGandalf has joined #ruby
01:12
chalkmonster has quit [Quit: WeeChat 2.8]
01:13
chalkmonster has joined #ruby
01:15
jenrzzz has quit [Ping timeout: 256 seconds]
01:19
r29v has joined #ruby
01:20
chalkmonster has quit [Quit: WeeChat 2.8]
01:20
orbyt_ has joined #ruby
01:27
jenrzzz has joined #ruby
01:32
phenom has quit [Ping timeout: 272 seconds]
01:32
jinmiaoluo has quit [Ping timeout: 256 seconds]
01:35
jenrzzz has quit [Ping timeout: 258 seconds]
01:48
s2013 has joined #ruby
01:57
bruce_lee has quit [Ping timeout: 256 seconds]
01:57
bruce_lee has joined #ruby
01:57
bruce_lee has joined #ruby
01:57
bruce_lee has quit [Changing host]
01:58
renich has joined #ruby
02:04
renich_ has joined #ruby
02:05
renich has quit [Ping timeout: 272 seconds]
02:05
renich_ is now known as renich
02:08
dan64 has joined #ruby
02:11
Benett is now known as pussy
02:12
pussy is now known as Benett
02:22
haraoka has joined #ruby
02:23
jinmiaoluo has joined #ruby
02:32
lesha__ has quit [Ping timeout: 256 seconds]
02:50
gavlee has quit [Excess Flood]
02:50
tau has joined #ruby
02:50
tau has quit [Changing host]
02:50
tau has joined #ruby
02:50
gavlee has joined #ruby
03:02
r29v has quit [Ping timeout: 256 seconds]
03:15
lucasb has quit [Quit: Connection closed for inactivity]
03:24
DaniG2k has joined #ruby
03:26
<
nofxx >
there's a quick way to remove all the nested ary, no? [["R"]] => "R"
03:26
<
nofxx >
or some opt for #scan? always forget
03:26
<
nofxx >
String#scan
03:32
jenrzzz has joined #ruby
03:32
jinmiaoluo has quit [Remote host closed the connection]
03:34
jinmiaoluo has joined #ruby
03:35
xco has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
03:36
<
havenwood >
nofxx: [["R"]].join #=> "R"
03:36
jenrzzz has quit [Ping timeout: 264 seconds]
03:37
<
havenwood >
&>> [[[["R"]]]].flatten
03:37
jinmiaoluo has quit [Remote host closed the connection]
03:38
<
havenwood >
&>> [["R"]] * '🍰'
03:40
<
havenwood >
nofxx: Might be able to give a better suggestion if you have other examples or context.
03:41
<
havenwood >
nofxx: For your current case, #join is the method that gets there without arguments.
03:41
dviola has quit [Ping timeout: 264 seconds]
03:42
jinmiaoluo has joined #ruby
03:45
dviola has joined #ruby
03:46
dviola has left #ruby [#ruby]
03:47
dviola has joined #ruby
03:55
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
03:55
thewrinklyninja has joined #ruby
04:05
xco has joined #ruby
04:05
mr_rich101 has joined #ruby
04:09
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
04:10
jenrzzz has joined #ruby
04:13
phenom has joined #ruby
04:13
thewrinklyninja has quit [Quit: Leaving]
04:16
xco has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
04:18
jinmiaoluo has quit [Ping timeout: 258 seconds]
04:21
DaniG2k has quit [Quit: leaving]
04:21
jinmiaoluo has joined #ruby
04:23
houhoulis has joined #ruby
04:39
RingtailedFox has quit [Ping timeout: 256 seconds]
04:40
renich has quit [Quit: renich]
04:57
xco has joined #ruby
05:02
xco has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
05:03
xco has joined #ruby
05:11
kinduff has quit [Read error: Connection reset by peer]
05:11
kinduff has joined #ruby
05:17
ur5us has quit [Ping timeout: 260 seconds]
05:23
TzilTzal has joined #ruby
05:36
xco has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
05:36
tau has quit [Ping timeout: 265 seconds]
05:40
jinmiaoluo has quit [Ping timeout: 240 seconds]
05:45
houhoulis has quit []
05:50
BTRE has quit [Ping timeout: 240 seconds]
05:52
BTRE has joined #ruby
06:12
kenso has joined #ruby
06:14
alexherbo2 has joined #ruby
06:14
howdoi has quit [Quit: Connection closed for inactivity]
06:14
Archenoth has joined #ruby
06:17
jinmiaoluo has joined #ruby
06:18
teclator has quit [Ping timeout: 264 seconds]
06:18
teclator has joined #ruby
06:22
woodruffw has quit [Ping timeout: 260 seconds]
06:24
woodruffw has joined #ruby
06:24
woodruffw has quit [Changing host]
06:24
woodruffw has joined #ruby
06:27
venmx has quit [Ping timeout: 258 seconds]
06:31
InfosecTai has joined #ruby
06:33
InfosecTai has quit [Client Quit]
06:33
InfosecTai has joined #ruby
06:35
woodruffw has quit [Ping timeout: 256 seconds]
06:36
<
belak >
Are there any recommended books for learning ruby?
06:37
conta has joined #ruby
06:38
<
belak >
Are there any in particular that stand out? I know ages ago people pointed at the pragmatic programmer books but I’m not sure if those are good or still updated
06:38
woodruffw has joined #ruby
06:38
woodruffw has joined #ruby
06:38
woodruffw has quit [Changing host]
06:39
<
belak >
Ah that first link looks nice because it actually has summaries - I’ll go through that
06:39
imode has quit [Ping timeout: 272 seconds]
06:45
ur5us has joined #ruby
06:49
miskatonic has joined #ruby
06:53
alexherbo20 has joined #ruby
06:54
alexherbo2 has quit [Ping timeout: 264 seconds]
06:54
alexherbo20 is now known as alexherbo2
07:10
schne1der has joined #ruby
07:10
ur5us has quit [Ping timeout: 260 seconds]
07:10
InfosecTN has joined #ruby
07:12
cacheeror has quit [Ping timeout: 246 seconds]
07:13
InfosecTai has quit [Ping timeout: 246 seconds]
07:13
jetchisel has quit [Ping timeout: 240 seconds]
07:14
vondruch has quit [Quit: vondruch]
07:14
vondruch has joined #ruby
07:19
TvL2386 has quit [Ping timeout: 240 seconds]
07:24
TvL2386 has joined #ruby
07:30
cliluw has quit [Ping timeout: 272 seconds]
07:30
conta has quit [Ping timeout: 258 seconds]
07:30
cliluw has joined #ruby
07:36
ur5us has joined #ruby
07:37
conta has joined #ruby
07:41
s2013 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
07:45
erpel has joined #ruby
07:50
erpel has quit [Ping timeout: 240 seconds]
07:50
plutes has joined #ruby
07:50
jenrzzz has quit [Ping timeout: 256 seconds]
07:51
plutes has quit [Max SendQ exceeded]
07:51
erpel has joined #ruby
07:51
plutes has joined #ruby
07:54
bruce_lee has quit [Ping timeout: 260 seconds]
07:55
bruce_lee has joined #ruby
07:55
bruce_lee has joined #ruby
07:55
bruce_lee has quit [Changing host]
07:58
jenrzzz has joined #ruby
07:59
TCZ has joined #ruby
08:02
raj has quit [Quit: Just quitting]
08:03
bruce_lee has quit [Ping timeout: 260 seconds]
08:03
bruce_lee has joined #ruby
08:03
bruce_lee has quit [Changing host]
08:03
bruce_lee has joined #ruby
08:12
grimgnr has joined #ruby
08:41
venmx has joined #ruby
08:42
GodFather has quit [Ping timeout: 272 seconds]
08:44
TomyWork has joined #ruby
08:51
blessedonekobo has joined #ruby
08:52
GodFather has joined #ruby
08:54
raj_ has joined #ruby
08:58
raj_ is now known as raj
09:00
wogi has joined #ruby
09:02
TCZ has quit [Quit: Leaving]
09:05
haraoka has quit [Ping timeout: 258 seconds]
09:09
lxsameer has quit [Ping timeout: 240 seconds]
09:12
con3 has joined #ruby
09:21
tekk has quit [Ping timeout: 240 seconds]
09:21
kinduff has quit [Read error: Connection reset by peer]
09:22
kinduff has joined #ruby
09:27
lxsameer has joined #ruby
09:30
venmx has quit [Read error: Connection reset by peer]
09:38
venmx has joined #ruby
09:40
conta has quit [Remote host closed the connection]
09:50
bruce_lee has quit [Ping timeout: 256 seconds]
09:51
bruce_lee has joined #ruby
09:51
bruce_lee has joined #ruby
09:51
bruce_lee has quit [Changing host]
09:53
Xiti` has joined #ruby
09:55
maths22_ has joined #ruby
09:55
maths22_ has quit [Changing host]
09:55
maths22_ has joined #ruby
09:55
Mikaela6 has joined #ruby
09:55
Axy has quit [Read error: Connection reset by peer]
09:55
Mikaela has quit [Quit: Ping timeout (120 seconds)]
09:55
Mikaela6 is now known as Mikaela
09:55
Inoperable has quit [Quit: All your buffer are belong to us!]
09:55
Mia has joined #ruby
09:55
Mia has quit [Changing host]
09:55
Mia has joined #ruby
09:56
lxsameer has quit [Ping timeout: 265 seconds]
09:56
rubydoc has quit [Ping timeout: 265 seconds]
09:56
duderonomy has quit [Ping timeout: 265 seconds]
09:56
rubydoc has joined #ruby
09:56
schne1der has quit [Ping timeout: 265 seconds]
09:56
arooni has quit [Ping timeout: 265 seconds]
09:56
maths22 has quit [Read error: Connection reset by peer]
09:57
Xiti has quit [Ping timeout: 265 seconds]
09:57
jmcgnh has quit [Ping timeout: 265 seconds]
09:57
michael_mbp has quit [Ping timeout: 265 seconds]
09:58
schne1der has joined #ruby
09:58
arooni has joined #ruby
09:58
lxsameer has joined #ruby
09:58
miskatonic has quit [Quit: ERC (IRC client for Emacs 24.5.1)]
10:00
duderonomy has joined #ruby
10:01
jmcgnh has joined #ruby
10:02
pwnd__ has quit [Remote host closed the connection]
10:03
pwnd__ has joined #ruby
10:03
michael_mbp has joined #ruby
10:05
Mikaela has left #ruby [#ruby]
10:07
duderonomy has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
10:07
duderonomy has joined #ruby
10:08
duderonomy has quit [Client Quit]
10:08
duderonomy has joined #ruby
10:08
duderonomy has quit [Client Quit]
10:09
duderonomy has joined #ruby
10:09
duderonomy has quit [Client Quit]
10:10
duderonomy has joined #ruby
10:10
duderonomy has quit [Client Quit]
10:11
duderonomy has joined #ruby
10:11
duderonomy has quit [Client Quit]
10:12
duderonomy has joined #ruby
10:12
duderonomy has quit [Client Quit]
10:13
duderonomy has joined #ruby
10:13
duderonomy has quit [Client Quit]
10:14
duderonomy has joined #ruby
10:14
duderonomy has quit [Client Quit]
10:14
duderonomy has joined #ruby
10:15
duderonomy has quit [Client Quit]
10:16
duderonomy has joined #ruby
10:16
duderonomy has quit [Client Quit]
10:17
duderonomy has joined #ruby
10:17
duderonomy has quit [Client Quit]
10:17
duderonomy has joined #ruby
10:18
duderonomy has quit [Client Quit]
10:18
duderonomy has joined #ruby
10:18
duderonomy has quit [Client Quit]
10:19
tf2ftw has quit [Ping timeout: 256 seconds]
10:19
duderonomy has joined #ruby
10:19
duderonomy has quit [Client Quit]
10:20
duderonomy has joined #ruby
10:20
duderonomy has quit [Client Quit]
10:21
duderonomy has joined #ruby
10:21
duderonomy has quit [Client Quit]
10:21
duderonomy has joined #ruby
10:22
duderonomy has quit [Client Quit]
10:22
In0perable has joined #ruby
10:22
duderonomy has joined #ruby
10:22
duderonomy has quit [Client Quit]
10:24
duderonomy has joined #ruby
10:24
duderonomy has quit [Client Quit]
10:25
duderonomy has joined #ruby
10:25
duderonomy has quit [Client Quit]
10:25
cnsvc_ has joined #ruby
10:25
duderonomy has joined #ruby
10:25
duderonomy has quit [Client Quit]
10:26
ur5us has quit [Ping timeout: 260 seconds]
10:26
duderonomy has joined #ruby
10:26
duderonomy has quit [Client Quit]
10:27
duderonomy has joined #ruby
10:28
duderonomy has quit [Client Quit]
10:28
duderonomy has joined #ruby
10:29
duderonomy has quit [Client Quit]
10:29
duderonomy has joined #ruby
10:29
cnsvc_ has quit [Ping timeout: 240 seconds]
10:29
duderonomy has quit [Client Quit]
10:30
duderonomy has joined #ruby
10:30
duderonomy has quit [Client Quit]
10:31
duderonomy has joined #ruby
10:31
duderonomy has quit [Client Quit]
10:31
duderonomy has joined #ruby
10:32
duderonomy has quit [Client Quit]
10:32
bruce_lee has quit [Ping timeout: 256 seconds]
10:32
duderonomy has joined #ruby
10:32
duderonomy has quit [Client Quit]
10:32
bruce_lee has joined #ruby
10:32
bruce_lee has quit [Changing host]
10:32
bruce_lee has joined #ruby
10:34
duderonomy has joined #ruby
10:34
duderonomy has quit [Client Quit]
10:47
blessedonekobo has quit [Ping timeout: 256 seconds]
10:47
marens_ has joined #ruby
10:47
marens_ has joined #ruby
10:48
venmx_ has joined #ruby
10:51
venmx has quit [Read error: Connection reset by peer]
10:56
alexherbo23 has joined #ruby
10:58
alexherbo2 has quit [Ping timeout: 272 seconds]
10:58
alexherbo23 is now known as alexherbo2
11:01
ua has quit [Ping timeout: 256 seconds]
11:07
jenrzzz has quit [Ping timeout: 256 seconds]
11:11
conta has joined #ruby
11:11
drincruz_ has joined #ruby
11:14
ua has joined #ruby
11:16
drincruz_ has quit [Ping timeout: 240 seconds]
11:30
greengriminal has quit [Quit: Leaving]
11:31
kenso has quit [Quit: Connection closed for inactivity]
11:32
wogi has left #ruby ["Leaving"]
11:39
xco has joined #ruby
11:40
bruce_lee has quit [Ping timeout: 265 seconds]
11:40
bruce_lee has joined #ruby
11:40
bruce_lee has joined #ruby
11:40
bruce_lee has quit [Changing host]
11:53
ta has quit [Ping timeout: 260 seconds]
11:55
alexherbo28 has joined #ruby
11:57
alexherbo2 has quit [Ping timeout: 264 seconds]
11:57
alexherbo28 is now known as alexherbo2
12:03
ta has joined #ruby
12:04
cd has joined #ruby
12:26
tf2ftw has joined #ruby
12:27
burningserenity has joined #ruby
12:32
nofxx_ has joined #ruby
12:32
greengriminal has joined #ruby
12:33
InfosecTai has joined #ruby
12:33
mozzarel1 has joined #ruby
12:33
venmx_ has quit [Read error: Connection reset by peer]
12:34
NODE has quit [Excess Flood]
12:34
shansen_ has joined #ruby
12:34
nirix has joined #ruby
12:34
lypsis_ has joined #ruby
12:35
justinmcp has joined #ruby
12:35
NODE has joined #ruby
12:36
dorian_ has joined #ruby
12:36
_Caerus has joined #ruby
12:36
linetrac1 has joined #ruby
12:36
Jello_Raptor_ has joined #ruby
12:36
Arkantos_ has joined #ruby
12:36
lucianp_ has joined #ruby
12:36
woodruffw has quit [Ping timeout: 246 seconds]
12:36
Jello_Raptor has quit [Ping timeout: 246 seconds]
12:36
Caerus has quit [Ping timeout: 246 seconds]
12:36
shansen has quit [Ping timeout: 246 seconds]
12:36
InfosecTN has quit [Ping timeout: 246 seconds]
12:36
dorian has quit [Ping timeout: 246 seconds]
12:36
lucianp has quit [Ping timeout: 246 seconds]
12:36
sol1d has quit [Ping timeout: 246 seconds]
12:36
Sp4rKy has quit [Ping timeout: 246 seconds]
12:36
BH23 has quit [Ping timeout: 246 seconds]
12:36
mozzarella has quit [Ping timeout: 246 seconds]
12:36
nofxx has quit [Ping timeout: 246 seconds]
12:36
legit has quit [Ping timeout: 246 seconds]
12:36
volix has quit [Ping timeout: 246 seconds]
12:36
canton7 has quit [Ping timeout: 246 seconds]
12:36
darris has quit [Ping timeout: 246 seconds]
12:36
Jello_Raptor_ is now known as Jello_Raptor
12:36
NODE has quit [Excess Flood]
12:36
r3m_ has joined #ruby
12:36
Sp4rKy_ has joined #ruby
12:36
mozzarel1 is now known as mozzarella
12:36
Guest99333 has quit [Ping timeout: 264 seconds]
12:36
nirix_ has quit [Ping timeout: 264 seconds]
12:36
Arkantos has quit [Ping timeout: 264 seconds]
12:36
leah2 has quit [Ping timeout: 264 seconds]
12:36
cliluw has quit [Ping timeout: 264 seconds]
12:36
Rudd0 has quit [Ping timeout: 264 seconds]
12:36
shaman42 has quit [Ping timeout: 264 seconds]
12:36
adam12 has quit [Ping timeout: 264 seconds]
12:36
sol1d_ has joined #ruby
12:36
adam12 has joined #ruby
12:36
lypsis has quit [Ping timeout: 264 seconds]
12:36
linetrace has quit [Ping timeout: 264 seconds]
12:36
r3m has quit [Ping timeout: 264 seconds]
12:36
justinmcp_ has quit [Ping timeout: 264 seconds]
12:36
MasterNayru_ has joined #ruby
12:36
shaman42 has joined #ruby
12:36
IsoLinCHiP has joined #ruby
12:36
volix has joined #ruby
12:37
Sp4rKy_ is now known as Sp4rKy
12:37
Rudd0 has joined #ruby
12:37
volix has quit [Changing host]
12:37
volix has joined #ruby
12:37
woodruffw has joined #ruby
12:37
adam12 is now known as Guest99545
12:37
woodruffw has quit [Changing host]
12:37
woodruffw has joined #ruby
12:37
cliluw has joined #ruby
12:37
leah2_ has joined #ruby
12:37
baweaver has joined #ruby
12:37
BH23 has joined #ruby
12:37
donofrio has quit [Remote host closed the connection]
12:37
legit has joined #ruby
12:38
darris has joined #ruby
12:38
baweaver is now known as Guest93362
12:38
NODE has joined #ruby
12:38
donofrio has joined #ruby
12:38
venmx has joined #ruby
12:42
TCZ has joined #ruby
12:42
sarna has joined #ruby
12:42
canton7 has joined #ruby
12:53
jinmiaoluo has quit [Quit: WeeChat 2.8]
12:53
cnsvc_ has joined #ruby
12:56
leah2_ is now known as leah2
12:58
cnsvc_ has quit [Ping timeout: 240 seconds]
13:02
naught-fowl has joined #ruby
13:03
jenrzzz has joined #ruby
13:08
jenrzzz has quit [Ping timeout: 272 seconds]
13:18
InfosecTai has quit [Ping timeout: 256 seconds]
13:19
naught-fowl has quit [Remote host closed the connection]
13:22
Guest99545 is now known as adam12
13:22
adam12 has quit [Changing host]
13:22
adam12 has joined #ruby
13:27
InfosecTai has joined #ruby
13:27
InfosecTai has quit [Remote host closed the connection]
13:28
InfosecTai has joined #ruby
13:28
jinmiaoluo has joined #ruby
13:28
Sajad has joined #ruby
13:36
chalkmonster has joined #ruby
13:38
cliluw has quit [Ping timeout: 272 seconds]
13:39
TCZ has quit [Quit: Leaving]
13:41
jinmiaoluo has quit [Ping timeout: 260 seconds]
13:42
lesha__ has joined #ruby
13:42
grimgnr has quit [Remote host closed the connection]
13:46
chalkmonster has quit [Quit: WeeChat 2.8]
13:51
impermanence has quit [Quit: Connection closed]
13:57
cnsvc_ has joined #ruby
13:57
fercell has joined #ruby
14:14
jinmiaoluo has joined #ruby
14:22
sarna has quit [Quit: Connection closed]
14:24
lazarus1 has joined #ruby
14:27
howdoi has joined #ruby
14:30
Sajad has quit [Remote host closed the connection]
14:32
tekk has joined #ruby
14:35
ChmEarl has joined #ruby
14:36
chalkmonster has joined #ruby
14:45
chalkmonster has quit [Quit: WeeChat 2.8]
14:49
lesha__ has quit [Ping timeout: 265 seconds]
14:51
s2013 has joined #ruby
14:52
jinmiaoluo has quit [Ping timeout: 246 seconds]
14:54
jinmiaoluo has joined #ruby
14:54
s2013 has quit [Max SendQ exceeded]
14:58
lesha has joined #ruby
15:01
rippa has joined #ruby
15:01
burningserenity has quit [Remote host closed the connection]
15:02
phenom has quit [Ping timeout: 260 seconds]
15:03
DaRock has quit [Ping timeout: 258 seconds]
15:03
jenrzzz has joined #ruby
15:03
cnsvc_ has quit [Ping timeout: 240 seconds]
15:04
DaRock has joined #ruby
15:08
jenrzzz has quit [Ping timeout: 256 seconds]
15:15
xco has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
15:17
fercell has quit [Quit: WeeChat 2.8]
15:26
xco has joined #ruby
15:30
DaRock has quit [Ping timeout: 256 seconds]
15:42
cnsvc_ has joined #ruby
15:47
cnsvc_ has quit [Ping timeout: 240 seconds]
16:02
<
tekk >
hi all, why would .gsub(/[\u00080-\u000ff]/, "") fail yet its little brother .gsub(/[\u0080-\u00ff]/, "") work ?
16:02
<
tekk >
getting empty range in char class
16:02
<
tekk >
although its a valid range
16:05
venmx has quit [Read error: Connection reset by peer]
16:07
mniip has quit [Remote host closed the connection]
16:10
<
jhass >
should it be \u{...} for that many?
16:12
<
tekk >
oh, should it?
16:12
phenom has joined #ruby
16:15
<
tekk >
im writing a small irc bot and simply trying to strip the colour codes that some people use
16:23
jinmiaoluo has quit [Ping timeout: 258 seconds]
16:23
<
havenwood >
tekk: Consider using #delete instead of #gsub.
16:24
jenrzzz has joined #ruby
16:28
TomyWork has quit [Remote host closed the connection]
16:31
jenrzzz has quit [Ping timeout: 256 seconds]
16:40
lesha has quit [Ping timeout: 256 seconds]
16:48
major_majors has joined #ruby
16:48
major_majors has joined #ruby
16:52
poro has joined #ruby
16:52
<
poro >
Hi, anybody using neovim for Ruby development? I've started using nvim and would like to know what options/plugins are good
16:54
<
phaul >
I use neovim. Altough I don't really go with advanced features
16:55
<
phaul >
like language server stuff
16:56
<
phaul >
FZF + ripgrep + ultisnips is my ultimate go to combo. I always have seeing_is_beleiving for ruby
16:56
<
poro >
@phaul, I'm just looking for simple things like autoclosing parenthesis and not having to type each variable or method's name each time
16:56
<
poro >
automatic indentation etc
16:57
s2013 has joined #ruby
16:57
<
phaul >
that's done by 'tpope/vim-endwise'
16:59
fercell has joined #ruby
17:00
<
poro >
whats the point of relative numbers?
17:01
<
phaul >
3j / 3k 3 up/down. You use relative navigation in the vacinity of the current line.
17:01
<
phaul >
you are not interested going to line 2987 , you are interested in going 7 lines up
17:07
<
phaul >
neomake picks up rubocop, reek, flog
17:11
conta has quit [Quit: conta]
17:11
<
phaul >
oh, poro, splitjoin is an absolute musthave for ruby
17:12
<
phaul >
it transforms between multi-line and single line code
17:13
<
phaul >
if .. \n .. \n end <===> .. if .. etc.
17:16
ldepandis has joined #ruby
17:28
<
belak >
Are there huge differences between the ruby version managers? I've got rbenv installed and working (since I already use pyenv) but I know there are a ton of options out there...
17:29
cnsvc_ has joined #ruby
17:34
cnsvc_ has quit [Ping timeout: 240 seconds]
17:38
lesha has joined #ruby
17:42
kinduff has quit [Read error: Connection reset by peer]
17:42
kinduff has joined #ruby
17:43
poro has quit [Quit: Leaving]
17:53
TzilTzal has quit [Quit: Leaving.]
18:00
mniip has joined #ruby
18:02
patrick99e99 has joined #ruby
18:02
<
patrick99e99 >
anyone here have any experience with the parslet gem?
18:13
phenom has quit [Ping timeout: 265 seconds]
18:14
<
havenwood >
belak: There are differences, yeah. Many Rails folk use rbenv. It's fine. It creates shims. If you find it's too slow, try chruby. If you find it's too fast, try RVM. :P
18:15
<
belak >
Hah, thanks
18:15
<
havenwood >
belak: Happy to discuss differences in detail, but RVM was first, then came rbenv, and finally chruby. RVM bites off the most and chruby the least.
18:15
<
belak >
Yeah, I picked rbenv because I was familiar with pyenv and the tradeoffs
18:15
<
havenwood >
belak: I use chruby, but many in this channel use rbenv or RVM.
18:16
<
havenwood >
I think chruby is most popular here but that might be my bias.
18:16
ellcs1 has joined #ruby
18:17
<
belak >
So, in python, when you install a package, it gets installed globally (as long as you have permission and didn't use --user), but the common practice is to create a virtualenv per project where those project-local packages are installed... how does ruby handle that?
18:17
<
belak >
I know bundler exists but I don't know much about it
18:17
<
belak >
It might be covered in that rubyreference doc you sent me, but that's very dense - I'm still going through it
18:18
<
havenwood >
belak: We typically install our gems globally, then use a Gemfile.lock which specifies the exact versions of the gems to use for the project.
18:18
<
belak >
So, ruby can handle having multiple versions of the same gem installed globally?
18:19
<
havenwood >
belak: Yes.
18:19
<
belak >
And the gemfile determines which ones actually get loaded
18:19
<
belak >
That's interesting
18:20
<
belak >
I really do appreciate all the direction
18:21
tau has joined #ruby
18:21
tau has joined #ruby
18:21
tau has quit [Changing host]
18:26
cacheeror has joined #ruby
18:26
reyfi9e has quit [Ping timeout: 240 seconds]
18:28
cxl has joined #ruby
18:28
jenrzzz has joined #ruby
18:28
<
cxl >
Hi, I can I have named capture groups in multiline regexes with %r{...}x?
18:32
reyfi9e has joined #ruby
18:33
jenrzzz has quit [Ping timeout: 258 seconds]
18:34
<
cxl >
oh no I see my issue, I can't have ( |_) in a regex with an x modifier, I have to use (\s|_)
18:38
duderonomy has joined #ruby
18:40
<
belak >
So, I've been noticing that there are a lot of methods named things like `to_ary` rather than `to_array`... is there a reason behind the more terse naming?
18:41
burningserenity has joined #ruby
18:41
phenom has joined #ruby
18:45
chalkmonster has joined #ruby
18:52
gix has joined #ruby
18:53
davispuh has joined #ruby
18:56
ldepandis has joined #ruby
18:57
ua has quit [Ping timeout: 260 seconds]
19:02
alexherbo2 has quit [Read error: Connection reset by peer]
19:05
alexherbo2 has joined #ruby
19:05
vircung has quit [Ping timeout: 265 seconds]
19:06
vircung has joined #ruby
19:09
ua has joined #ruby
19:13
rkoller has joined #ruby
19:14
rkoller has quit [Client Quit]
19:23
venmx has joined #ruby
19:26
<
havenwood >
belak: #to_ary, #to_str and friends are for when you're implementing your own class and you want to support implicit conversions.
19:26
<
havenwood >
belak: Matz makes the things most used beautiful. These are seldom used.
19:26
<
havenwood >
Maybe "most used" isn't the right way to say it. The preferred path is lit.
19:26
<
belak >
Hm, ok, fair enough
19:30
jenrzzz has joined #ruby
19:30
jetchisel has joined #ruby
19:31
<
yxhuvud >
I would recommend mostly using the shortest variants, to_i to_a to_s to_h etc.
19:33
<
havenwood >
Those ^ are for explicit conversion and a far-more used.
19:33
Ringtailed-Fox has joined #ruby
19:33
Ringtailed-Fox is now known as RingtailedFox
19:34
<
RingtailedFox >
so, a ruby script i have requires a specific version of unf_ext (0.0.7.5), which SHOULD run on my version of ruby, but does not...
19:34
<
RingtailedFox >
ERROR: Error installing unf_ext:
19:34
<
RingtailedFox >
unf_ext requires Ruby version >= 2.0, < 2.6. The current ruby version is 2.6.6.146.
19:34
<
RingtailedFox >
The last version of unf_ext (= 0.0.7.5) to support your Ruby & RubyGems was 0.0.7.5. Try installing it with `gem install unf_ext -v 0.0.7.5`
19:34
<
RingtailedFox >
that's what i get when i type gem install unf_ext -v 0.0.7.5
19:34
jenrzzz has quit [Ping timeout: 256 seconds]
19:37
<
RingtailedFox >
ruby 2.6.6p146 (2020-03-31 revision 67876) [x64-mingw32]
19:37
<
RingtailedFox >
gem --version
19:37
<
RingtailedFox >
3.0.3
19:38
RingtailedFox has quit [Read error: Connection reset by peer]
19:38
<
havenwood >
rippa: Try?: gem install unf_ext --platform=ruby
19:38
<
havenwood >
err, oops
19:38
<
havenwood >
Ring, they left?
19:40
<
havenwood >
Whenever you try to talk to a ring-tailed fox it seems they run off.
19:40
vondruch_ has joined #ruby
19:40
RingtailedFox has joined #ruby
19:41
r3m_ is now known as r3m
19:42
burningserenity has quit [Ping timeout: 256 seconds]
19:44
vondruch has quit [Ping timeout: 260 seconds]
19:44
vondruch_ is now known as vondruch
20:02
burningserenity has joined #ruby
20:03
cassolas has joined #ruby
20:04
lazarus1 has quit [Quit: Leaving]
20:06
cliluw has joined #ruby
20:06
burningserenity has quit [Client Quit]
20:15
cassolas has quit [Ping timeout: 240 seconds]
20:17
cassolas has joined #ruby
20:21
FastJack has quit [Ping timeout: 272 seconds]
20:26
phenom has quit [Ping timeout: 256 seconds]
20:27
phenom has joined #ruby
20:28
FastJack has joined #ruby
20:32
tau has quit [Remote host closed the connection]
20:51
_aeris_ has quit [Remote host closed the connection]
20:52
_aeris_ has joined #ruby
20:52
ur5us has joined #ruby
20:55
chalkmonster has quit [Quit: WeeChat 2.8]
20:56
schne1der has quit [Ping timeout: 260 seconds]
21:04
snickers has joined #ruby
21:05
jenrzzz has joined #ruby
21:14
orbyt_ has joined #ruby
21:15
Emmanuel_Chanel has quit [Ping timeout: 258 seconds]
21:19
zapata has quit [Ping timeout: 260 seconds]
21:20
zapata has joined #ruby
21:25
jetchisel has quit [Quit: Unfortunately time is always against us -- [Morpheus]]
21:25
InfosecTai has quit [Ping timeout: 265 seconds]
21:31
jetchisel has joined #ruby
21:38
xco has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
21:39
TCZ has joined #ruby
21:43
bruce_lee has quit [Remote host closed the connection]
21:46
jenrzzz has quit [Read error: Connection reset by peer]
21:46
jenrzzz has joined #ruby
21:52
ldepandis has quit [Read error: Connection reset by peer]
21:53
fercell has quit [Quit: WeeChat 2.8]
21:59
<
phaul >
patrick99e99: I have
*some* experience with parslet, what about it? The channel bot runs with parslet ...
22:01
<
phaul >
"the" channel bot is maybe too assumptious. one of the channel bots.
22:01
<
rubydoc >
phaul: parser error at position 0 around ` '
22:02
<
phaul >
that;s parslet complaining :)
22:04
venmx has quit [Ping timeout: 272 seconds]
22:09
Nowaker has joined #ruby
22:12
Emmanuel_Chanel has joined #ruby
22:17
ellcs1 has quit [Ping timeout: 252 seconds]
22:18
oneeggeach has joined #ruby
22:19
oneeggeach has quit [Client Quit]
22:27
TCZ has quit [Quit: Leaving]
22:34
snickers has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
22:35
kozowu has quit [Ping timeout: 240 seconds]
22:35
pitastrudl has quit [Ping timeout: 244 seconds]
22:35
Lewix has quit [Ping timeout: 252 seconds]
22:35
troulouliou_dev has joined #ruby
22:35
Fenhl has quit [Ping timeout: 260 seconds]
22:35
peteretep has quit [Ping timeout: 260 seconds]
22:35
maxmanders has quit [Ping timeout: 260 seconds]
22:35
hodbogi has quit [Ping timeout: 256 seconds]
22:35
Net has quit [Ping timeout: 246 seconds]
22:35
Pillus has quit [Ping timeout: 246 seconds]
22:35
gmcintire has quit [Ping timeout: 272 seconds]
22:35
redlegion has quit [Ping timeout: 272 seconds]
22:35
Mutsuhito has quit [Ping timeout: 272 seconds]
22:35
sylario has quit [Ping timeout: 272 seconds]
22:35
podman has quit [Ping timeout: 272 seconds]
22:35
lawr3nce has joined #ruby
22:35
grvgr has quit [Ping timeout: 272 seconds]
22:35
alnk has quit [Ping timeout: 252 seconds]
22:35
timwis has quit [Ping timeout: 252 seconds]
22:36
mattwc has quit [Ping timeout: 260 seconds]
22:36
gorsuch has quit [Ping timeout: 260 seconds]
22:36
JayDoubleu has quit [Ping timeout: 260 seconds]
22:36
englishm has quit [Ping timeout: 244 seconds]
22:36
itok has quit [Ping timeout: 260 seconds]
22:36
manveru has quit [Ping timeout: 260 seconds]
22:36
entel has quit [Ping timeout: 260 seconds]
22:36
BuildTheRobots has quit [Ping timeout: 260 seconds]
22:36
dputtick has quit [Ping timeout: 260 seconds]
22:36
howdoi has quit [Ping timeout: 252 seconds]
22:36
gajus has quit [Ping timeout: 272 seconds]
22:36
chromis has quit [Ping timeout: 272 seconds]
22:36
strmpnk has quit [Ping timeout: 272 seconds]
22:36
gorsuch has joined #ruby
22:36
ctOS has quit [Ping timeout: 244 seconds]
22:36
afisher has quit [Ping timeout: 244 seconds]
22:36
hahuang65 has quit [Ping timeout: 244 seconds]
22:36
jnoon_ has joined #ruby
22:36
d0liver has quit [Ping timeout: 260 seconds]
22:36
jetpack_joe has quit [Ping timeout: 260 seconds]
22:36
meinside has quit [Ping timeout: 260 seconds]
22:36
ec has quit [Ping timeout: 260 seconds]
22:36
en10n has quit [Ping timeout: 260 seconds]
22:36
jnoon has quit [Ping timeout: 260 seconds]
22:36
jhill has quit [Ping timeout: 260 seconds]
22:36
jnoon_ is now known as jnoon
22:36
teej has quit [Ping timeout: 252 seconds]
22:36
kevinsjoberg has quit [Ping timeout: 246 seconds]
22:36
coffeejunk has quit [Ping timeout: 260 seconds]
22:36
MentalPower has quit [Ping timeout: 260 seconds]
22:37
jimeh has quit [Ping timeout: 244 seconds]
22:37
matti has quit [Ping timeout: 244 seconds]
22:37
troulouliou_dev has quit [Max SendQ exceeded]
22:37
pyrmont_ has joined #ruby
22:37
graphicsv has quit [Ping timeout: 272 seconds]
22:37
justache has quit [Ping timeout: 272 seconds]
22:37
zipkid has quit [Ping timeout: 272 seconds]
22:37
jerme_ has quit [Ping timeout: 272 seconds]
22:37
integral has quit [Ping timeout: 272 seconds]
22:37
kevinsjoberg has joined #ruby
22:37
hodbogi has joined #ruby
22:37
jrhorn424 has quit [Ping timeout: 246 seconds]
22:37
CustosLimen has quit [Ping timeout: 246 seconds]
22:37
ReinH has quit [Ping timeout: 246 seconds]
22:37
Liothen has quit [Ping timeout: 260 seconds]
22:37
pyrmont has quit [Ping timeout: 260 seconds]
22:37
Argorok has quit [Ping timeout: 260 seconds]
22:37
pyrmont_ is now known as pyrmont
22:37
r3my has quit [Ping timeout: 260 seconds]
22:37
jimeh has joined #ruby
22:37
Argorok_ has joined #ruby
22:37
troulouliou_dev has joined #ruby
22:37
podman has joined #ruby
22:37
ctOS has joined #ruby
22:37
meinside has joined #ruby
22:37
ryzokuken has quit [Ping timeout: 272 seconds]
22:37
lipoqil has quit [Ping timeout: 272 seconds]
22:37
nuck has quit [Ping timeout: 272 seconds]
22:37
d10n-work has quit [Ping timeout: 272 seconds]
22:37
Pillus has joined #ruby
22:37
Net has joined #ruby
22:37
Iambchop has quit [Ping timeout: 260 seconds]
22:37
darthThorik has quit [Ping timeout: 260 seconds]
22:37
kermit has quit [Ping timeout: 260 seconds]
22:37
NODE has quit [Excess Flood]
22:37
jetpack_joe has joined #ruby
22:37
darthThorik_ has joined #ruby
22:38
howdoi has joined #ruby
22:38
gmcintire has joined #ruby
22:38
mattwc has joined #ruby
22:38
pitastrudl has joined #ruby
22:38
JayDoubleu has joined #ruby
22:38
BuildTheRobots has joined #ruby
22:38
justache has joined #ruby
22:38
Iambchop has joined #ruby
22:38
sylario has joined #ruby
22:38
afisher has joined #ruby
22:39
ryzokuken has joined #ruby
22:39
Lewix has joined #ruby
22:39
zipkid has joined #ruby
22:39
d10n-work has joined #ruby
22:39
NODE has joined #ruby
22:39
entel has joined #ruby
22:39
Liothen has joined #ruby
22:39
peteretep has joined #ruby
22:40
jerme_ has joined #ruby
22:40
alnk has joined #ruby
22:40
MentalPower has joined #ruby
22:40
lipoqil has joined #ruby
22:40
integral has joined #ruby
22:40
teej has joined #ruby
22:40
maxmanders has joined #ruby
22:41
itok has joined #ruby
22:41
NODE has quit [Remote host closed the connection]
22:41
kermit has joined #ruby
22:41
coffeejunk has joined #ruby
22:41
grvgr has joined #ruby
22:41
graphicsv has joined #ruby
22:41
Mutsuhito has joined #ruby
22:41
dputtick has joined #ruby
22:41
jrhorn424 has joined #ruby
22:41
hahuang65 has joined #ruby
22:41
timwis has joined #ruby
22:42
redlegion has joined #ruby
22:42
nuck has joined #ruby
22:42
en10n has joined #ruby
22:42
Fenhl has joined #ruby
22:42
NODE has joined #ruby
22:42
jenrzzz has quit [Ping timeout: 256 seconds]
22:42
d0liver has joined #ruby
22:43
chromis has joined #ruby
22:43
manveru has joined #ruby
22:45
prp-e has joined #ruby
22:46
venmx has joined #ruby
22:48
prp-e has quit [Quit: Leaving]
22:49
jhill has joined #ruby
22:52
matti has joined #ruby
22:53
kozowu has joined #ruby
22:54
strmpnk has joined #ruby
22:54
gajus has joined #ruby
22:54
imode has joined #ruby
22:54
InfosecTai has joined #ruby
22:59
poro has joined #ruby
23:00
banisterfiend has joined #ruby
23:03
ReinH has joined #ruby
23:04
<
poro >
Why does this work
23:04
<
poro >
Isnt this supposed to just select unenven numbers? not primes
23:04
r3my has joined #ruby
23:05
englishm has joined #ruby
23:05
ec has joined #ruby
23:05
CustosLimen has joined #ruby
23:06
gix has quit [Ping timeout: 265 seconds]
23:12
troulouliou_dev has quit [Quit: Leaving]
23:15
<
poro >
nvm I get it now
23:15
gix has joined #ruby
23:17
banisterfiend has quit [Ping timeout: 260 seconds]
23:23
poro has quit [Read error: Connection reset by peer]
23:24
poro has joined #ruby
23:25
InfosecTai has quit [Ping timeout: 256 seconds]
23:25
chromis has left #ruby [#ruby]
23:27
jenrzzz has joined #ruby
23:29
<
leftylink >
whoever wrote that code needs to stop using while when they actually mean each
23:30
jenrzzz has quit [Read error: Connection reset by peer]
23:31
<
poro >
stooges = ['Larry', 'Curly', 'Moe']
23:31
<
poro >
stooges.each { |stooge| print stooge + "\n" }
23:31
<
poro >
whats the point of the placeholder
23:32
<
poro >
cant I just skip that
23:32
jenrzzz has joined #ruby
23:33
<
leftylink >
I am going to qualify my comment about while vs each for a special circumstance - for a special circumstance where performance is important, while does run faster than each
23:33
<
leftylink >
... I guess you can skip the block arg if you want, and just use puts _1, but you can only do that in Ruby 2.7 and above.
23:34
<
leftylink >
so if any earlier version of Ruby, surely it's necessary to name the block arg
23:34
<
leftylink >
otherwise, how are you going to refer to what you're going to print
23:34
<
poro >
thats the purpose
23:35
<
poro >
ok so I'll keep the while statements for this prime number finder program but use .each when efficiency is not the goal
23:36
<
poro >
I use while loops and if statements for every single thing lol, time to learn new stuff
23:37
jenrzzz has quit [Ping timeout: 260 seconds]
23:38
cadeskywalker has quit [Ping timeout: 240 seconds]
23:56
teclator has quit [Ping timeout: 256 seconds]
23:57
teclator has joined #ruby
23:58
kinduff has quit [Read error: Connection reset by peer]
23:58
kinduff has joined #ruby
23:59
amjam has joined #ruby