00:10
Secret-Fire has quit [Remote host closed the connection]
00:11
Secret-Fire has joined #ruby
00:12
drincruz has joined #ruby
00:14
bambanx has joined #ruby
00:15
gix has quit [Ping timeout: 258 seconds]
00:20
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
00:25
oddp has quit [Ping timeout: 240 seconds]
00:40
ur5us has quit [Ping timeout: 256 seconds]
00:52
ur5us has joined #ruby
01:05
bambanx has quit [Quit: Leaving]
01:13
XMoPX is now known as XMOPX
01:18
drincruz has quit [Ping timeout: 260 seconds]
01:21
<
adam12 >
Scriptonaut: I use nebula for this too. It's newly released from Slack.
01:22
<
adam12 >
Scriptonaut: It's an encrypted overlay mesh network using the Noise encryption protocol from the Signal chat application.
01:31
dokkaebi has joined #ruby
01:38
drincruz has joined #ruby
01:38
dualfade has quit [Ping timeout: 256 seconds]
01:39
FastJack has quit [Ping timeout: 240 seconds]
01:40
dualfade has joined #ruby
01:42
hassox has joined #ruby
01:42
hassox has quit [Client Quit]
01:42
imode has joined #ruby
01:53
greypack has quit [Quit: All your IRC are belong to ZNC]
01:55
drincruz has quit [Ping timeout: 264 seconds]
01:57
FastJack has joined #ruby
01:59
Caerus has quit [Ping timeout: 240 seconds]
02:00
Caerus has joined #ruby
02:03
orbyt_ has joined #ruby
02:07
konsolebox has quit [Read error: Connection reset by peer]
02:13
lucasb has quit [Quit: Connection closed for inactivity]
02:13
greypack has joined #ruby
02:15
konsolebox has joined #ruby
02:19
greypack has quit [Quit: All your IRC are belong to ZNC]
02:20
wallace_mu has quit [Remote host closed the connection]
02:24
wallace_mu has joined #ruby
02:25
greypack has joined #ruby
02:28
drincruz has joined #ruby
02:29
wallace_mu has quit [Ping timeout: 260 seconds]
02:37
Nilium has quit [Remote host closed the connection]
02:38
Nilium has joined #ruby
02:57
chalkmonster has joined #ruby
02:57
wymillerlinux has joined #ruby
02:57
drincruz has quit [Ping timeout: 256 seconds]
02:59
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
03:04
konsolebox has quit [Read error: Connection reset by peer]
03:06
braincrash has quit [Quit: bye bye]
03:08
konsolebox has joined #ruby
03:10
baojg has quit [Remote host closed the connection]
03:11
braincrash has joined #ruby
03:12
baojg_ has joined #ruby
03:12
drincruz has joined #ruby
03:16
bruce_lee has quit [Ping timeout: 265 seconds]
03:16
bruce_lee has joined #ruby
03:16
bruce_lee has joined #ruby
03:16
bruce_lee has quit [Changing host]
03:22
dokkaebi has quit [Ping timeout: 245 seconds]
03:30
orbyt_ has joined #ruby
03:35
ur5us has quit [Ping timeout: 260 seconds]
03:42
konsolebox has quit [Read error: Connection reset by peer]
03:44
tubbo has joined #ruby
03:47
batisi[m] has joined #ruby
03:50
ur5us has joined #ruby
03:50
konsolebox has joined #ruby
03:59
konsolebox has quit [Read error: Connection reset by peer]
04:04
wymillerlinux has quit [Ping timeout: 265 seconds]
04:05
alfiemax has joined #ruby
04:05
drincruz has quit [Ping timeout: 258 seconds]
04:07
konsolebox has joined #ruby
04:11
konsolebox has quit [Read error: Connection reset by peer]
04:19
konsolebox has joined #ruby
04:26
konsolebox has quit [Read error: Connection reset by peer]
04:34
konsolebox has joined #ruby
04:43
mnathani has joined #ruby
04:44
mnathani_ has quit [Ping timeout: 256 seconds]
04:51
ChmEarl has quit [Quit: Leaving]
04:58
konsolebox has quit [Read error: Connection reset by peer]
04:59
greypack has quit [Quit: All your IRC are belong to ZNC]
05:06
konsolebox has joined #ruby
05:10
ruurd has quit [Remote host closed the connection]
05:12
skape has quit [Quit: Connection closed for inactivity]
05:14
Guest68651 is now known as baweaver
05:14
baweaver has quit [Changing host]
05:14
baweaver has joined #ruby
05:15
<
baweaver >
Danged touchy IRC
05:32
konsolebox has quit [Read error: Connection reset by peer]
05:33
greypack has joined #ruby
05:33
ur5us has quit [Ping timeout: 260 seconds]
05:37
vircung has quit [Ping timeout: 260 seconds]
05:38
greypack has quit [Ping timeout: 260 seconds]
05:38
j416 has quit [Ping timeout: 260 seconds]
05:38
mozzarella has quit [Remote host closed the connection]
05:38
madhatter has quit [Ping timeout: 260 seconds]
05:39
bocaneri has joined #ruby
05:40
madhatter has joined #ruby
05:40
vircung has joined #ruby
05:40
greypack has joined #ruby
05:40
konsolebox has joined #ruby
05:40
j416 has joined #ruby
05:41
mozzarella has joined #ruby
05:43
schne1der has joined #ruby
05:44
ruurd has joined #ruby
05:49
ruurd has quit [Quit: bye folks]
05:50
ruurd has joined #ruby
05:52
ur5us has joined #ruby
05:58
powerhouse has joined #ruby
06:07
ur5us has quit [Ping timeout: 260 seconds]
06:08
skape has joined #ruby
06:17
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
06:20
purefan has joined #ruby
06:24
apotheon has quit [Ping timeout: 258 seconds]
06:26
wallace_mu has joined #ruby
06:30
alfiemax has quit [Ping timeout: 264 seconds]
06:30
wallace_mu has quit [Ping timeout: 256 seconds]
06:32
roadt has joined #ruby
06:34
bocaneri has quit [Ping timeout: 256 seconds]
06:37
camilasan_ has joined #ruby
06:37
lmat has quit [Ping timeout: 240 seconds]
06:38
imode has quit [Ping timeout: 246 seconds]
06:38
lmat has joined #ruby
06:39
camilasan has quit [Ping timeout: 246 seconds]
06:41
alfiemax has joined #ruby
06:41
andremed- has joined #ruby
06:41
andremedeiros has quit [Ping timeout: 258 seconds]
06:41
andremed- is now known as andremedeiros
06:45
konsolebox has quit [Read error: Connection reset by peer]
06:47
jetchisel has quit [Ping timeout: 258 seconds]
06:53
bocaneri has joined #ruby
06:53
konsolebox has joined #ruby
06:59
zarubin has joined #ruby
07:01
darkstardevx has quit [Remote host closed the connection]
07:08
konsolebox has quit [Read error: Connection reset by peer]
07:14
vondruch has quit [Quit: vondruch]
07:15
vondruch has joined #ruby
07:16
konsolebox has joined #ruby
07:20
fandre1986 has joined #ruby
07:25
alfiemax has quit [Remote host closed the connection]
07:29
alfiemax has joined #ruby
07:37
purefan has quit [Quit: Leaving]
07:38
purefan has joined #ruby
07:38
TomyWork has joined #ruby
07:38
purefan has quit [Changing host]
07:38
purefan has joined #ruby
07:42
konsolebox has quit [Read error: Connection reset by peer]
07:42
fandre1986 has quit [Ping timeout: 258 seconds]
07:46
TheBrayn has quit [Quit: WeeChat 2.8]
07:49
TheBrayn has joined #ruby
07:50
konsolebox has joined #ruby
07:53
mossplix has joined #ruby
07:53
ur5us has joined #ruby
07:55
jetchisel has joined #ruby
07:56
mossplix has quit [Remote host closed the connection]
07:56
lmat has quit [Ping timeout: 240 seconds]
07:56
lmat has joined #ruby
07:57
apotheon has joined #ruby
07:59
mossplix has joined #ruby
08:01
cd has quit [Quit: cd]
08:18
BrianWGray has quit [Ping timeout: 240 seconds]
08:24
baojg_ has quit [Remote host closed the connection]
08:25
mossplix has quit [Remote host closed the connection]
08:26
mossplix has joined #ruby
08:27
wallace_mu has joined #ruby
08:27
baojg has joined #ruby
08:31
wallace_mu has quit [Ping timeout: 240 seconds]
08:37
mossplix has quit [Remote host closed the connection]
08:47
oddp has joined #ruby
08:50
lmat has quit [Ping timeout: 240 seconds]
08:51
mossplix has joined #ruby
08:51
lmat has joined #ruby
09:00
mossplix has quit [Remote host closed the connection]
09:04
cnsvc has quit [Ping timeout: 240 seconds]
09:04
markong has joined #ruby
09:12
joast has quit [Ping timeout: 240 seconds]
09:14
dionysus69 has joined #ruby
09:17
markoong has joined #ruby
09:18
markong has quit [Ping timeout: 260 seconds]
09:25
ur5us has quit [Ping timeout: 260 seconds]
09:28
ur5us has joined #ruby
09:38
troulouliou_dev has quit [Quit: Leaving]
09:40
alfiemax has quit [Remote host closed the connection]
09:49
ur5us has quit [Ping timeout: 244 seconds]
09:51
zarubin has quit [Quit: leaving]
09:51
zarubin has joined #ruby
09:54
fercell has joined #ruby
09:59
konsolebox has quit [Read error: Connection reset by peer]
10:01
Ai9zO5AP has joined #ruby
10:08
konsolebox has joined #ruby
10:27
fandre1986 has joined #ruby
10:37
mossplix has joined #ruby
10:39
mossplix has quit [Remote host closed the connection]
10:39
mossplix has joined #ruby
10:48
purefan has quit [Ping timeout: 265 seconds]
10:48
lemon has quit [Ping timeout: 240 seconds]
10:56
lemon has joined #ruby
10:57
lemon has quit [Remote host closed the connection]
10:57
lemon has joined #ruby
11:04
zarubin has quit [Quit: leaving]
11:06
konsolebox has quit [Read error: Connection reset by peer]
11:10
oddp has quit [Ping timeout: 256 seconds]
11:10
lemon has quit [Ping timeout: 240 seconds]
11:15
konsolebox has joined #ruby
11:37
purefan has joined #ruby
11:41
mossplix has quit [Remote host closed the connection]
11:49
baojg has quit [Remote host closed the connection]
11:51
baojg has joined #ruby
11:52
drincruz has joined #ruby
12:06
drincruz has quit [Ping timeout: 256 seconds]
12:11
baojg has quit [Remote host closed the connection]
12:12
baojg has joined #ruby
12:14
fandre1986 has quit [Ping timeout: 264 seconds]
12:15
drincruz has joined #ruby
12:23
jetchisel has quit [Quit: Unfortunately time is always against us -- [Morpheus]]
12:24
gavlee has quit [Remote host closed the connection]
12:25
gavlee has joined #ruby
12:29
gavlee has quit [Remote host closed the connection]
12:29
Technodrome has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
12:31
KnownSyntax_ has joined #ruby
12:32
gavlee has joined #ruby
12:32
zapata_ has joined #ruby
12:36
Technodrome has joined #ruby
12:37
mahlon_ has joined #ruby
12:38
e has quit [Ping timeout: 606 seconds]
12:38
batisi[m] has quit [*.net *.split]
12:38
zapata has quit [*.net *.split]
12:38
mahlon has quit [*.net *.split]
12:38
MentalPower has quit [*.net *.split]
12:38
Argorok has quit [*.net *.split]
12:38
KnownSyntax has quit [*.net *.split]
12:38
JayDoubleu_ has quit [*.net *.split]
12:38
newalexandria[m] has quit [*.net *.split]
12:38
zipkid has quit [*.net *.split]
12:38
pyrmont has quit [*.net *.split]
12:38
markin has quit [*.net *.split]
12:38
jokester has quit [*.net *.split]
12:38
KnownSyntax_ is now known as KnownSyntax
12:40
Hobbyboy has quit [Quit: The BNC has broken!]
12:40
linuus[m] has quit [Remote host closed the connection]
12:40
tranch[m] has quit [Write error: Connection reset by peer]
12:40
Hanma[m] has quit [Read error: Connection reset by peer]
12:40
doug[m]1 has quit [Write error: Connection reset by peer]
12:40
hsiktas[m] has quit [Write error: Connection reset by peer]
12:40
Vagabond[m] has quit [Write error: Connection reset by peer]
12:40
prkn8[m] has quit [Read error: Connection reset by peer]
12:40
Manchotix[m] has quit [Remote host closed the connection]
12:40
turt2live has quit [Write error: Connection reset by peer]
12:40
sepp2k has quit [Remote host closed the connection]
12:40
finn[m] has quit [Write error: Connection reset by peer]
12:40
simi[m] has quit [Remote host closed the connection]
12:42
MentalPower has joined #ruby
12:42
Argorok has joined #ruby
12:42
JayDoubleu_ has joined #ruby
12:42
pyrmont has joined #ruby
12:42
markin has joined #ruby
12:42
jokester has joined #ruby
12:42
zipkid has joined #ruby
12:43
Hobbyboy has joined #ruby
12:44
JayDoubleu_ has quit [Ping timeout: 242 seconds]
12:48
JayDoubleu_ has joined #ruby
12:49
hsiktas[m] has joined #ruby
12:58
boobynewmark has joined #ruby
13:01
boobynewmark has quit [Client Quit]
13:04
mossplix has joined #ruby
13:13
purefan has quit [Ping timeout: 256 seconds]
13:15
gavlee has quit [Ping timeout: 240 seconds]
13:16
oddp has joined #ruby
13:17
wallace_mu has joined #ruby
13:18
xco has joined #ruby
13:21
sepp2k has joined #ruby
13:22
finn[m] has joined #ruby
13:22
tranch[m] has joined #ruby
13:22
Hanma[m] has joined #ruby
13:22
doug[m]1 has joined #ruby
13:22
execat[m] has joined #ruby
13:22
turt2live has joined #ruby
13:22
linuus[m] has joined #ruby
13:22
newalexandria[m] has joined #ruby
13:22
M_ka_Manchotix[m has joined #ruby
13:22
Vagabond[m] has joined #ruby
13:22
batisi[m] has joined #ruby
13:22
prkn8[m] has joined #ruby
13:22
simi[m] has joined #ruby
13:23
baojg has quit [Remote host closed the connection]
13:24
mossplix has quit [Ping timeout: 244 seconds]
13:25
baojg has joined #ruby
13:40
mossplix has joined #ruby
13:41
BH23 has quit [Ping timeout: 264 seconds]
13:41
baojg has quit [Remote host closed the connection]
13:43
baojg has joined #ruby
13:53
BH23 has joined #ruby
14:07
schne1der has quit [Ping timeout: 256 seconds]
14:11
konsolebox has quit [Read error: Connection reset by peer]
14:12
sepp2k has quit [Quit: Idle for 30+ days]
14:17
ewanchic has joined #ruby
14:17
ewanchic has quit [Client Quit]
14:19
mahlon_ is now known as mahlon
14:19
konsolebox has joined #ruby
14:22
baojg has quit [Remote host closed the connection]
14:25
baojg has joined #ruby
14:27
sphex has quit [Ping timeout: 240 seconds]
14:30
mossplix has quit [Remote host closed the connection]
14:32
roadt_ has joined #ruby
14:34
sphex has joined #ruby
14:35
roadt has quit [Ping timeout: 240 seconds]
14:38
markoong has quit [Ping timeout: 264 seconds]
14:42
mossplix has joined #ruby
14:48
fercell has quit [Quit: WeeChat 2.8]
14:51
alfiemax has joined #ruby
14:54
roadt_ has quit [Ping timeout: 264 seconds]
14:58
roadt_ has joined #ruby
14:59
orbyt_ has joined #ruby
15:25
axisys has joined #ruby
15:25
<
axisys >
need help with this regex ..
15:25
<
axisys >
interfaces = %x( VBoxManage list bridgedifs | grep ^Name ).gsub(/Name:\s+/, '').split("\n")
15:25
<
axisys >
=> ["en0: Wi-Fi (Wireless)", "en3: USB Ethernet(?)", "ap1", "en1: Thunderbolt 1", "en2: Thunderbolt 2", "bridge0", "p2p0", "awdl0", "llw0"]
15:26
<
axisys >
how do I pick the element that has 'Wireless' .. it may not always be the first element
15:26
<
adam12 >
axisys: interfaces.find { |int| int.match?("Wireless"} }
15:28
alfiemax has quit [Remote host closed the connection]
15:28
<
axisys >
adam12: empty
15:29
<
axisys >
adam12: interfaces.find { |int| int.match?("Wireless") } tried this
15:30
ChmEarl has joined #ruby
15:31
<
adam12 >
&>> ["en0: Wi-Fi (Wireless)", "en3: USB Ethernet(?)", "ap1", "en1: Thunderbolt 1", "en2: Thunderbolt 2"].shuffle.find { _1.match?("Wireless") }
15:32
<
adam12 >
axisys: There must be something else wrong then as that would work. Why don't you paste the output of `VBoxManage list bridgedifs` somewhere and then we can look at what you're starting with.
15:39
<
adam12 >
axisys: Do you plan on using any of the other interface names or you only care abou tthe wireless one?
15:39
<
axisys >
only care about wireless
15:40
<
axisys >
adam12: btw, this worked.. it is possible interfaces was empty earlier
15:40
<
axisys >
adam12: interfaces = %x(VBoxManage list bridgedifs | grep ^Name:).gsub(/Name:\s+/, '').split("\n").find { |int| int.match?("Wireless") }
15:46
alfiemax has joined #ruby
15:50
<
adam12 >
axisys: %w(VboxManage list bridgedifs)[/^Name:\s+(\w+):.*Wireless.*/, 1] might work for you too.
15:50
<
adam12 >
axisys: %x(VBoxManage list bridgedfs)[/^Name:\s+(\w+):.*Wireless.*/, 1]
15:50
<
adam12 >
I messed that one up too, but you get the point.
15:53
<
axisys >
adam12: that does not print like the match one ... match one prints en0: Wi-Fi (Wireless) .. but 1 prints en0 only
15:54
baojg has quit [Remote host closed the connection]
15:56
baojg has joined #ruby
15:56
zapata_ is now known as zapata
15:57
arzWZM has quit [Ping timeout: 240 seconds]
15:58
arzWZM has joined #ruby
16:03
<
adam12 >
axisys: Oh. I thought you only wanted en0
16:04
<
axisys >
sorry for confusion.. I wanted the whole element from the list that has wireless
16:04
<
axisys >
15:26 < axisys> how do I pick the element that has 'Wireless' .. it may not always be the first element
16:05
<
adam12 >
axisys: I was optimizing for end result; I presumed you just cared about the element name and not the description. My bad.
16:06
<
adam12 >
axisys: %x(VboxManage list bridgedifs)[/^Name:\s+(.+Wireless.+)/, 1]
16:06
<
axisys >
adam12: I am really greatful for your help! your original code already has been working awesome!
16:07
<
adam12 >
axisys: Cheers.
16:08
konsolebox has quit [Read error: Connection reset by peer]
16:09
<
matti >
Hi adam12. Thank you for helping axisys :)
16:09
sphex has quit [Ping timeout: 240 seconds]
16:10
<
axisys >
adam12: I mentioned you to matti in #vagrant ..
16:10
SeepingN has joined #ruby
16:10
<
axisys >
appreciate help from both of you!!
16:11
impermanence has joined #ruby
16:11
sphex has joined #ruby
16:13
konsolebox has joined #ruby
16:14
alfiemax has quit [Remote host closed the connection]
16:23
<
havenwood >
adam12: ko1: Can I merge Ractor branch?
16:23
<
havenwood >
adam12: matz: Go ahead. It is must-have for 3.0.
16:24
<
havenwood >
RBS, Ractor, Async, >3x faster at optcarrot with JIT
16:24
<
havenwood >
Check, check, check.
16:25
<
havenwood >
Seems Ruby 3 is a go. :0
16:25
<
havenwood >
Set and anonymous Struct literals are fun.
16:29
cthu| has joined #ruby
16:32
greengriminal has joined #ruby
16:33
powerhouse has quit [Ping timeout: 256 seconds]
16:34
baojg has quit [Remote host closed the connection]
16:35
baojg_ has joined #ruby
16:54
davispuh has joined #ruby
16:57
alfiemax has joined #ruby
17:00
imode has joined #ruby
17:02
dionysus69 has quit [Remote host closed the connection]
17:12
alfiemax has quit [Ping timeout: 240 seconds]
17:26
AutomationD_ has joined #ruby
17:28
Ai9zO5AP has quit [Remote host closed the connection]
17:34
TomyWork has quit [Remote host closed the connection]
17:38
alfiemax has joined #ruby
17:41
stryek has joined #ruby
17:52
vondruch has quit [Ping timeout: 260 seconds]
18:03
cd has joined #ruby
18:10
lucasb has joined #ruby
18:24
bocaneri has quit [Remote host closed the connection]
18:28
arzWZM has quit [Ping timeout: 256 seconds]
18:28
arzWZM has joined #ruby
18:33
sgen has joined #ruby
18:36
schne1der has joined #ruby
18:43
powerhouse has joined #ruby
18:51
alfiemax has quit [Remote host closed the connection]
18:51
<
tubbo >
so what is this ractor stuff, is it basically like built-in eventmachine?
18:52
alfiemax has joined #ruby
18:54
<
uplime >
do you mean reactor tubbo ?
18:55
<
uplime >
ah, well ignore me then
18:55
<
tubbo >
can't tell if it's "R-Actor" or "Ractor", like "reactor" without the "e"
18:56
<
tubbo >
if it's the latter i am going to squat on the gem velociractor
18:56
alfiemax has quit [Ping timeout: 240 seconds]
18:58
<
adam12 >
Ruby Actor
19:05
cthu| has quit [Read error: Connection reset by peer]
19:05
cthu| has joined #ruby
19:06
baojg_ has quit [Remote host closed the connection]
19:06
gix has joined #ruby
19:07
baojg has joined #ruby
19:13
<
al2o3-cr >
I thought Ractor was a go when i seen "New method cache mechanism for Ractor" in NEWS.md :P
19:15
SeepingN has quit [Quit: The system is going down for reboot NOW!]
19:15
<
havenwood >
al2o3-cr: Didn't mean it'd make it in by xmas though.
19:16
<
al2o3-cr >
havenwood: well, no, but... :P
19:19
<
al2o3-cr >
at least we know what present we're getting for christmas now :)
19:23
bambanx has joined #ruby
19:28
donofrio has joined #ruby
19:31
baojg has quit [Remote host closed the connection]
19:31
<
rapha >
guys, recursion, it's killing me
19:32
greengriminal has quit [Quit: Leaving]
19:33
<
rapha >
i'm trying to walk a path through a YAML file that i have in the form of an array, i.e. ["entries", "[]", "alternative_author", "[]", "alias"] (where "[]" denotes an Array in the YAML)
19:33
baojg has joined #ruby
19:33
<
rapha >
and at the end return true if the path ended up existing and having a value at the end
19:34
<
rapha >
okay, i should show the code i guess
19:39
<
rapha >
oh wait! is this it?!
19:44
<
rapha >
and don't anyone now tell me that Psych would have had something built-in for that!!!
19:44
chalkmonster has quit [Quit: WeeChat 2.9]
19:46
<
leftylink >
well. now it will return true if the path is found. note that it will return nil if the path is not found. one can argue that it's OK that it returns nil, fine, but doesn't it seem weird for a function to return true vs nil instead of true vs false.
19:46
Synthead has joined #ruby
19:46
<
Synthead >
CSV appears to be ignoring row_sep:
19:46
<
Synthead >
CSV.new(row_sep: ",")
19:46
<
Synthead >
=> <#CSV io_type:Hash encoding:UTF-8 lineno:0 col_sep:"," row_sep:"\n" quote_char:"\"">
19:47
<
Synthead >
am I doing something wrong?
19:47
<
rapha >
leftylink: i only care to know if indeed the path
_was_ found. in any other case i wouldn't want to do anything. but okay, seeing your point.
19:48
<
rapha >
leftylink: "(d == p.size || r) ? true : false" better?
19:49
<
leftylink >
`bool ? true : false` uses unnecessary characters and therefore is harder to read compared to `bool`.
19:51
<
bougyman >
Synthead: maybe because col_sep is still ","
19:51
<
Synthead >
CSV.new(col_sep: "#", row_sep: ",")
19:51
<
Synthead >
=> <#CSV io_type:Hash encoding:UTF-8 lineno:0 col_sep:"," row_sep:"\n" quote_char:"\"">
19:52
<
leftylink >
first arg to CSV.new is positional argument `data`.
19:52
<
leftylink >
see how it says `io_type: Hash`
19:52
<
bougyman >
csv = CSV.new(str, row_sep: ';', col_sep: ',')
19:52
<
bougyman >
=> <#CSV io_type:StringIO encoding:UTF-8 lineno:0 col_sep:"," row_sep:";" quote_char:"\"">
19:53
<
bougyman >
'str' is just a StringIO.new, for me.
19:54
<
Synthead >
there we go!
19:54
<
leftylink >
therefore, this is why `CSV.new(row_sep: ",")` and similar are warnings in Ruby 2.7
19:54
<
Synthead >
thanks so much <3
19:54
<
Synthead >
good idea :)
19:55
xco has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
19:59
<
adam12 >
I'm not sure this is even possible without reaching for something like ruby2_keywords, but I'm trying to delegate through to another method in a method_missing call, but manipulate one of the arguments first. On 2.6 it's busted but on 2.7 it's fine. Anybody spend any time on this before? 2.6
https://carc.in/#/r/9fz4 and 2.7
https://carc.in/#/r/9fz3
20:00
mossplix has quit [Remote host closed the connection]
20:01
SeepingN has joined #ruby
20:04
<
leftylink >
actually I didn't even know one could put optional positionals before required positionals
20:05
<
leftylink >
learn something every day
20:06
<
apotheon >
Once upon a time, you couldn't.
20:12
konsolebox has quit [Read error: Connection reset by peer]
20:17
rose_nd_ash has joined #ruby
20:19
mossplix has joined #ruby
20:20
konsolebox has joined #ruby
20:21
mossplix has quit [Remote host closed the connection]
20:28
mossplix has joined #ruby
20:30
mossplix has quit [Remote host closed the connection]
20:35
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
20:35
mossplix has joined #ruby
20:35
mossplix has quit [Read error: Connection reset by peer]
20:35
mossplix has joined #ruby
20:36
alfiemax has joined #ruby
20:37
rose_nd_ash has quit [Remote host closed the connection]
20:41
alfiemax has quit [Ping timeout: 265 seconds]
20:47
Synthead has quit [Quit: Leaving]
20:48
cnsvc has joined #ruby
20:55
clemens3 has quit [Quit: rebot]
21:01
kristian_on_linu has joined #ruby
21:01
ur5us has joined #ruby
21:05
robotmay has quit [Ping timeout: 260 seconds]
21:08
rose_nd_ash has joined #ruby
21:10
troulouliou_dev has joined #ruby
21:10
orbyt_ has joined #ruby
21:10
robotmay has joined #ruby
21:12
plutes has joined #ruby
21:13
plutes has quit [Max SendQ exceeded]
21:13
plutes has joined #ruby
21:15
greengriminal has joined #ruby
21:15
bvdw has joined #ruby
21:17
jetchisel has joined #ruby
21:19
alexherbo2 has joined #ruby
21:21
ellcs has joined #ruby
21:22
baojg has quit [Remote host closed the connection]
21:24
baojg has joined #ruby
21:24
markoong has joined #ruby
21:27
hiroaki has joined #ruby
21:29
greengriminal has quit [Quit: Leaving]
21:34
alexherbo2 has quit [Ping timeout: 240 seconds]
21:36
gix has quit [Quit: Client exiting]
21:39
gix has joined #ruby
21:47
kristian_on_linu has quit [Remote host closed the connection]
21:49
cthu| has quit [Read error: Connection reset by peer]
21:50
cthu| has joined #ruby
21:51
Guest80 has joined #ruby
21:54
buckworst has joined #ruby
21:54
buckworst has quit [Client Quit]
21:54
Guest80 is now known as Cypher2758234
21:56
Cypher85478 has joined #ruby
21:58
Cypher85478 has quit [Client Quit]
21:58
Cypher85478 has joined #ruby
21:59
Cypher85478 has quit [Client Quit]
22:00
Cypher85478 has joined #ruby
22:00
evdubs has quit [Remote host closed the connection]
22:01
evdubs has joined #ruby
22:09
rose_nd_ash has quit [Remote host closed the connection]
22:17
wallace_mu has quit [Read error: Connection reset by peer]
22:21
wallace_mu has joined #ruby
22:23
konsolebox has quit [Read error: Connection reset by peer]
22:28
mossplix has quit [Remote host closed the connection]
22:30
mossplix has joined #ruby
22:30
mossplix has quit [Remote host closed the connection]
22:31
konsolebox has joined #ruby
22:38
ellcs has quit [Ping timeout: 244 seconds]
22:40
Arkantos has joined #ruby
22:47
drincruz has quit [Ping timeout: 258 seconds]
22:53
akem has quit [Remote host closed the connection]
22:54
akem has joined #ruby
22:56
UncleCid has joined #ruby
22:57
Uncle_Cid has joined #ruby
22:58
Uncle_Cid has quit [Client Quit]
22:59
Uncle_Cid has joined #ruby
22:59
pwnd_nsfw has quit [Ping timeout: 258 seconds]
22:59
UncleCid has quit [Read error: Connection reset by peer]
22:59
Uncle_Cid is now known as pwnd_nsfw
23:00
akem has quit [Ping timeout: 240 seconds]
23:02
x0n- has joined #ruby
23:02
drincruz has joined #ruby
23:03
x0n has quit [Ping timeout: 256 seconds]
23:05
oneeggeach has joined #ruby
23:08
konsolebox has quit [Read error: Connection reset by peer]
23:09
jetchisel has quit [Ping timeout: 240 seconds]
23:16
konsolebox has joined #ruby
23:17
drincruz has quit [Ping timeout: 264 seconds]
23:20
stryek has quit [Quit: Connection closed for inactivity]
23:20
BSaboia has joined #ruby
23:25
dviola has joined #ruby
23:27
dualfade has quit [Ping timeout: 240 seconds]
23:29
dualfade has joined #ruby
23:33
x0n has joined #ruby
23:33
x0n- has quit [Ping timeout: 264 seconds]
23:38
markoong has quit [Ping timeout: 240 seconds]
23:42
robotmay has quit [Quit: No Ping reply in 180 seconds.]
23:44
robotmay has joined #ruby
23:45
jesfre has joined #ruby
23:52
greypack has quit [Quit: All your IRC are belong to ZNC]
23:53
greypack has joined #ruby
23:56
akem has joined #ruby
23:58
Guest48 has joined #ruby
23:58
schne1der has quit [Ping timeout: 256 seconds]
23:58
Guest48 has quit [Client Quit]