00:14
<
phaul >
tbh with you after watching myself, you are much better off watching the original, but idk if I can upload myself... Prly I can but I idk right now
00:18
<
phaul >
we have regular tech talks... in the team but it's never published outside
00:20
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
00:24
Lyubo1 has joined #ruby
00:26
elphe has joined #ruby
00:30
elphe has quit [Ping timeout: 240 seconds]
00:32
elphe has joined #ruby
00:34
ur5us has quit [Ping timeout: 260 seconds]
00:38
jbeaudoin has joined #ruby
00:38
evdubs has quit [Ping timeout: 260 seconds]
00:39
ap4y has quit [Read error: Connection reset by peer]
00:40
meinside has joined #ruby
00:46
banisterfiend has quit [Remote host closed the connection]
00:49
banisterfiend has joined #ruby
00:50
ur5us has joined #ruby
00:51
blobsson has joined #ruby
00:52
SeepingN has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
00:53
ap4y has joined #ruby
01:00
SeepingN has joined #ruby
01:05
evdubs has joined #ruby
01:06
postmodern has joined #ruby
01:10
twe4ked has quit [Ping timeout: 260 seconds]
01:11
DaRock has quit [Ping timeout: 264 seconds]
01:16
banisterfiend has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
01:17
bambanx has joined #ruby
01:23
DaRock has joined #ruby
01:24
adu has joined #ruby
01:24
twe4ked has joined #ruby
01:25
Emmanuel_ChanelW has joined #ruby
01:25
mangoicedtea has quit [Remote host closed the connection]
01:27
DaRock has quit [Ping timeout: 240 seconds]
01:31
twe4ked has quit [Ping timeout: 260 seconds]
01:33
DaRock has joined #ruby
01:36
helpa has quit [Remote host closed the connection]
01:36
helpa-bot has joined #ruby
01:38
helpa-bot has quit [Remote host closed the connection]
01:38
helpa has joined #ruby
01:40
cthulchu_ has quit [Ping timeout: 260 seconds]
01:54
ule has quit [Changing host]
01:54
ule has joined #ruby
01:56
cuerbot has joined #ruby
01:57
elcuervo has quit [Ping timeout: 256 seconds]
02:01
Exuma has joined #ruby
02:04
Exuma has quit [Client Quit]
02:04
orbyt_ has joined #ruby
02:06
gix has quit [Ping timeout: 240 seconds]
02:10
DaRock has quit [Quit: No Ping reply in 180 seconds.]
02:12
<
havenwood >
gonza: hello!
02:12
DaRock has joined #ruby
02:12
<
gonza >
been years since my last irc chat! feels good...
02:12
<
havenwood >
gonza: welcome back
02:13
<
gonza >
thnk.. quarantines' way
02:18
bruce_lee has quit [Ping timeout: 264 seconds]
02:18
bruce_lee has joined #ruby
02:21
gonza has quit [Remote host closed the connection]
02:21
lucasb has quit [Quit: Connection closed for inactivity]
02:25
cnsvc has quit [Read error: Connection reset by peer]
02:26
cnsvc has joined #ruby
02:33
elxbarbosa has joined #ruby
02:44
mnathani has joined #ruby
02:45
mnathani has quit [Client Quit]
02:45
mnathani has joined #ruby
02:57
bambanx has quit [Quit: Leaving]
03:02
byFate` has joined #ruby
03:03
Technodrome has joined #ruby
03:05
braincrash has quit [Quit: bye bye]
03:09
braincrash has joined #ruby
03:30
roadt has quit [Ping timeout: 240 seconds]
03:30
roadt has joined #ruby
03:36
bmurt has quit [Remote host closed the connection]
03:40
greypack has quit [Ping timeout: 256 seconds]
03:41
rose_nd_ash has joined #ruby
03:46
rose_nd_ash has quit [Remote host closed the connection]
03:46
rose_nd_ash has joined #ruby
03:55
bukkitgerman8608 has quit [Read error: Connection reset by peer]
03:55
bukkitgerman8608 has joined #ruby
03:57
SeepingN has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
03:58
rose_nd_ash has quit [Remote host closed the connection]
03:58
elxbarbosa has quit [Ping timeout: 272 seconds]
03:59
rose_nd_ash has joined #ruby
04:04
rose_nd_ash has quit [Ping timeout: 265 seconds]
04:14
SeepingN has joined #ruby
04:19
greypack has joined #ruby
04:23
greypack has quit [Ping timeout: 256 seconds]
04:28
greypack has joined #ruby
04:38
greypack has quit [Ping timeout: 265 seconds]
04:42
Emmanuel_ChanelW has quit [Ping timeout: 256 seconds]
04:56
elphe has quit [Ping timeout: 246 seconds]
05:00
adu has quit [Quit: adu]
05:08
greypack has joined #ruby
05:09
SeepingN has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
05:11
SeepingN has joined #ruby
05:15
greypack has quit [Ping timeout: 256 seconds]
05:15
rose_nd_ash has joined #ruby
05:20
greypack has joined #ruby
05:26
CyberNekroRezus has quit [Quit: Leaving]
05:27
CyberNekroRezus has joined #ruby
05:29
ur5us has quit [Ping timeout: 260 seconds]
05:42
DaRock has quit [Ping timeout: 240 seconds]
05:43
DaRock has joined #ruby
05:52
elphe has joined #ruby
05:52
michael_mbp has quit [Ping timeout: 256 seconds]
05:54
UncleCid has quit [Ping timeout: 256 seconds]
05:56
bocaneri has joined #ruby
05:57
cranq has quit [Ping timeout: 246 seconds]
06:00
schne1der has joined #ruby
06:02
CyberNekroRezus has quit [Read error: Connection reset by peer]
06:03
cranq has joined #ruby
06:04
CyberNekroRezus has joined #ruby
06:04
michael_mbp has joined #ruby
06:05
Dara has joined #ruby
06:08
ap4y has quit [Ping timeout: 240 seconds]
06:10
Dara has quit [Ping timeout: 240 seconds]
06:13
SeepingN has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
06:13
xco has joined #ruby
06:15
Emmanuel_ChanelW has joined #ruby
06:15
claudiuinberlin has joined #ruby
06:18
Axy has quit [Read error: Connection reset by peer]
06:18
Axy has joined #ruby
06:26
Dara has joined #ruby
06:29
Dara has quit [Remote host closed the connection]
06:30
Dara has joined #ruby
06:36
GodFather has quit [Ping timeout: 246 seconds]
06:41
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
06:51
TomyWork has joined #ruby
06:52
lalit has joined #ruby
06:56
lalitmee has quit [Ping timeout: 264 seconds]
06:58
Rudd0 has quit [Ping timeout: 256 seconds]
06:59
claudiuinberlin has quit [Ping timeout: 272 seconds]
07:05
Flonk has quit [Ping timeout: 260 seconds]
07:07
rose_nd_ash has quit [Remote host closed the connection]
07:10
Flonk has joined #ruby
07:12
Rudd0 has joined #ruby
07:13
rose_nd_ash has joined #ruby
07:18
rose_nd_ash has quit [Ping timeout: 256 seconds]
07:19
rose_nd_ash has joined #ruby
07:19
ellcs has joined #ruby
07:23
rose_nd_ash has quit [Ping timeout: 256 seconds]
07:24
rose_nd_ash has joined #ruby
07:29
rose_nd_ash has quit [Ping timeout: 256 seconds]
07:30
rose_nd_ash has joined #ruby
07:31
vondruch has joined #ruby
07:32
rdash has joined #ruby
07:32
darthThorik has quit []
07:33
roadt_ has joined #ruby
07:36
rose_nd_ash has quit [Ping timeout: 246 seconds]
07:36
roadt has quit [Ping timeout: 240 seconds]
07:37
imode has quit [Ping timeout: 260 seconds]
07:40
Guest27977 has quit [Ping timeout: 244 seconds]
07:40
clinth has quit [Read error: Connection reset by peer]
07:40
r3my has quit [Ping timeout: 272 seconds]
07:40
gajus has quit [Ping timeout: 244 seconds]
07:40
ctOS has quit [Ping timeout: 260 seconds]
07:40
kevinsjoberg has quit [Read error: Connection reset by peer]
07:41
CustosLimen has quit [Read error: Connection reset by peer]
07:41
kozowu has quit [Ping timeout: 244 seconds]
07:41
strmpnk has quit [Ping timeout: 260 seconds]
07:41
Lewix has quit [Ping timeout: 240 seconds]
07:42
ellcs has quit [Ping timeout: 260 seconds]
07:42
postmodern has quit [Quit: Leaving]
07:42
Guest27977 has joined #ruby
07:42
r3my has joined #ruby
07:43
Lewix has joined #ruby
07:43
r3my has quit [Max SendQ exceeded]
07:44
ctOS has joined #ruby
07:44
manveru has quit [Ping timeout: 260 seconds]
07:44
Guest27977 has quit [Max SendQ exceeded]
07:44
Lewix has quit [Max SendQ exceeded]
07:44
gajus has joined #ruby
07:45
ctOS has quit [Max SendQ exceeded]
07:46
Guest27977 has joined #ruby
07:46
clinth has joined #ruby
07:46
rdash has quit [Ping timeout: 265 seconds]
07:46
gajus has quit [Max SendQ exceeded]
07:47
Guest27977 has quit [Max SendQ exceeded]
07:48
gajus has joined #ruby
07:48
manveru has joined #ruby
07:48
afisher has quit [Ping timeout: 244 seconds]
07:49
strmpnk has joined #ruby
07:49
gajus has quit [Max SendQ exceeded]
07:51
r3my has joined #ruby
07:51
strmpnk has quit [Max SendQ exceeded]
07:52
gajus has joined #ruby
07:52
Lewix has joined #ruby
07:52
r3my has quit [Max SendQ exceeded]
07:52
manveru has quit [Max SendQ exceeded]
07:53
gajus has quit [Max SendQ exceeded]
07:53
dputtick has quit [Read error: Connection reset by peer]
07:54
clinth has quit [Ping timeout: 265 seconds]
07:54
Lewix has quit [Max SendQ exceeded]
07:54
manveru has joined #ruby
07:54
strmpnk has joined #ruby
07:54
ctOS has joined #ruby
07:54
gajus has joined #ruby
07:54
Lewix has joined #ruby
07:55
kozowu has joined #ruby
07:55
r3my has joined #ruby
07:55
afisher has joined #ruby
07:55
dputtick has joined #ruby
07:55
howdoi has quit [Quit: Connection closed for inactivity]
07:56
Guest27977 has joined #ruby
07:56
CustosLimen has joined #ruby
07:57
clinth has joined #ruby
08:00
elphe has quit [Ping timeout: 240 seconds]
08:04
kevinsjoberg has joined #ruby
08:23
kyrylo has joined #ruby
08:24
kyrylo has quit [Client Quit]
08:24
kyrylo has joined #ruby
08:25
kpoqjdwq has joined #ruby
08:26
kyrylo has quit [Client Quit]
08:27
kpoqjdwq has quit [Remote host closed the connection]
08:30
strmpnk has joined #ruby
08:30
Lewix has joined #ruby
08:30
manveru has joined #ruby
08:30
ctOS has joined #ruby
08:30
CustosLimen has joined #ruby
08:30
afisher has joined #ruby
08:30
r3my has joined #ruby
08:30
gajus has joined #ruby
08:30
kozowu has joined #ruby
08:30
Guest27977 has joined #ruby
08:30
dputtick has joined #ruby
08:30
clinth has joined #ruby
08:30
kevinsjoberg has joined #ruby
08:30
manveru has quit [Changing host]
08:30
ctOS has quit [Changing host]
08:30
strmpnk has quit [Changing host]
08:30
gajus has quit [Changing host]
08:30
Lewix has quit [Changing host]
08:30
afisher has quit [Changing host]
08:30
r3my has quit [Changing host]
08:30
kozowu has quit [Changing host]
08:30
Guest27977 has quit [Changing host]
08:30
dputtick has quit [Changing host]
08:30
clinth has quit [Changing host]
08:30
CustosLimen has quit [Changing host]
08:30
kevinsjoberg has quit [Changing host]
08:30
elphe has joined #ruby
08:33
duderonomy has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
08:34
xco has quit [Ping timeout: 264 seconds]
08:35
kich has quit [Ping timeout: 256 seconds]
08:37
kich has joined #ruby
08:40
ur5us has joined #ruby
08:47
ur5us has quit [Remote host closed the connection]
08:47
ur5us has joined #ruby
08:49
Dara has quit [Remote host closed the connection]
08:50
Dara has joined #ruby
08:57
Dara has quit [Ping timeout: 240 seconds]
08:59
Dara has joined #ruby
09:00
AieBall has joined #ruby
09:00
AieBall has quit [Excess Flood]
09:01
ellcs has joined #ruby
09:04
Dara has quit [Ping timeout: 240 seconds]
09:04
Dara has joined #ruby
09:05
cnsvc has quit [Ping timeout: 240 seconds]
09:11
iNs has quit [Ping timeout: 240 seconds]
09:13
iNs has joined #ruby
09:13
dionysus69 has joined #ruby
09:23
ap4y has joined #ruby
09:31
ellcs has quit [Ping timeout: 260 seconds]
09:42
ur5us has quit [Ping timeout: 244 seconds]
09:47
probonic has joined #ruby
09:58
CyberNekroRezus is now known as akem
10:00
blobsson has quit [Read error: Connection reset by peer]
10:08
sarna has joined #ruby
10:17
Tempesta has quit [Quit: AdiIRC is updating to v3.9 Beta Build (2020/08/19 UTC) 64 Bit]
10:17
Tempesta has joined #ruby
10:17
kich has quit [Ping timeout: 265 seconds]
10:30
elphe has quit [Ping timeout: 260 seconds]
10:31
elphe has joined #ruby
10:45
chalkmonster has joined #ruby
11:01
bvdw has joined #ruby
11:02
ap4y has quit [Ping timeout: 240 seconds]
11:05
strk has joined #ruby
11:18
ap4y has joined #ruby
11:38
jenrzzz_ has quit [Ping timeout: 246 seconds]
11:40
ap4y has quit [Ping timeout: 240 seconds]
11:46
ap4y has joined #ruby
11:47
drincruz has joined #ruby
11:53
schne1der has quit [Ping timeout: 264 seconds]
12:06
_whitelogger has joined #ruby
12:10
Rudd0 has quit [Ping timeout: 240 seconds]
12:12
ruurd has quit [Quit: ZZZzzz…]
12:13
ruurd has joined #ruby
12:14
drincruz has quit [Ping timeout: 256 seconds]
12:27
UncleCid has joined #ruby
12:28
banisterfiend has joined #ruby
12:34
strk has left #ruby ["WeeChat 2.8"]
12:36
meinside has quit [Quit: Connection closed for inactivity]
12:42
drincruz has joined #ruby
12:54
chalkmonster has quit [Quit: WeeChat 2.9]
12:55
chalkmonster has joined #ruby
13:01
dualfade has quit [Ping timeout: 256 seconds]
13:02
dualfade has joined #ruby
13:04
Dara has quit [Ping timeout: 240 seconds]
13:05
GodFather has joined #ruby
13:08
schne1der has joined #ruby
13:08
chalkmonster has quit [Quit: WeeChat 2.9]
13:08
chalkmonster has joined #ruby
13:09
Dara has joined #ruby
13:25
Scriptonaut has quit [Ping timeout: 256 seconds]
13:28
GodFather has quit [Remote host closed the connection]
13:34
Scriptonaut has joined #ruby
13:35
banisterfiend has quit [Read error: Connection reset by peer]
13:44
Dara has quit [Ping timeout: 240 seconds]
13:53
kich has joined #ruby
13:53
fercell has joined #ruby
13:56
UncleCid has quit [Remote host closed the connection]
13:58
elcuervo has joined #ruby
13:59
cuerbot has quit [Ping timeout: 264 seconds]
13:59
TCZ has joined #ruby
14:05
SeepingN has joined #ruby
14:08
ChmEarl has joined #ruby
14:12
cliluw has quit [Ping timeout: 264 seconds]
14:18
sysh has joined #ruby
14:18
Spitfire_ is now known as Spitfire
14:19
schne1der has quit [Ping timeout: 246 seconds]
14:21
arekushi has joined #ruby
14:24
ExoUNX has quit [Ping timeout: 256 seconds]
14:27
GodFather has joined #ruby
14:28
GodFather_ has joined #ruby
14:34
GodFather has quit [Read error: No route to host]
14:34
GodFather has joined #ruby
14:35
GodFather_ has quit [Ping timeout: 264 seconds]
14:35
crowley has joined #ruby
14:37
sarna has quit [Quit: Connection closed]
14:39
fercell has quit [Quit: WeeChat 2.8]
14:39
postmodern has joined #ruby
14:41
TCZ has quit [Quit: Leaving]
14:42
GodFather has quit [Remote host closed the connection]
14:43
chalkmonster has quit [Quit: WeeChat 2.9]
15:01
x0n has quit [Ping timeout: 246 seconds]
15:05
x0n has joined #ruby
15:07
Mrgoose845701915 is now known as Mrgoose
15:15
dualfade has quit [Ping timeout: 240 seconds]
15:17
dualfade has joined #ruby
15:20
howdoi has joined #ruby
15:34
Emmanuel_ChanelW has quit [Quit: Leaving]
15:34
SeepingN has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
15:48
SeepingN has joined #ruby
15:48
SeepingN has quit [Remote host closed the connection]
15:53
GodFather has joined #ruby
15:58
kich has quit [Ping timeout: 256 seconds]
15:59
kich has joined #ruby
16:00
Rudd0 has joined #ruby
16:01
Rudd0^ has joined #ruby
16:04
Rudd0 has quit [Ping timeout: 240 seconds]
16:13
dionysus69 has quit [Ping timeout: 240 seconds]
16:16
cthulchu_ has joined #ruby
16:32
chalkmonster has joined #ruby
16:46
kristofferR has joined #ruby
16:46
SeepingN has joined #ruby
16:51
DaRock has quit [Ping timeout: 256 seconds]
16:55
sysh has quit [Remote host closed the connection]
16:58
FastJack has quit [Ping timeout: 256 seconds]
16:59
FastJack has joined #ruby
17:00
orbyt_ has joined #ruby
17:15
mozzarella has quit [Read error: Connection reset by peer]
17:16
cnsvc has joined #ruby
17:33
dasher00 has joined #ruby
17:34
adu has joined #ruby
17:36
gix has joined #ruby
17:36
elphe has quit [Ping timeout: 264 seconds]
17:39
TomyWork has quit [Quit: Leaving]
17:40
Rudd0^ has quit [Ping timeout: 265 seconds]
17:54
Rudd0 has joined #ruby
17:58
cliluw has joined #ruby
18:07
chalkmonster has quit [Quit: WeeChat 2.9]
18:21
bocaneri has quit [Read error: Connection reset by peer]
18:26
cliluw has quit [Ping timeout: 260 seconds]
18:26
cliluw has joined #ruby
18:27
davispuh has joined #ruby
18:31
robotcars has joined #ruby
18:31
<
robotcars >
if I'm using bundler, and want to name a file bundler, but it won't use the bundle command. am I safe?
18:32
<
adam12 >
robotcars: You might run into a constant conflict if you define `Bundler` inside the file. Do you?
18:32
<
robotcars >
i dont. it just pulls from stored proc and packs to zip.
18:32
<
robotcars >
it'll just be the filename
18:32
<
adam12 >
I can't see it being an issue outside of $LOAD_PATH
18:33
<
robotcars >
thanks!
18:33
<
adam12 >
So make sure if you `require "bundler"` that your ./lib or whatever is at the start of $LOAD_PATH and not the end.
18:33
<
adam12 >
Or require_relative to be safe.
18:34
<
robotcars >
thanks adam12
18:34
chalkmonster has joined #ruby
18:35
kich has quit [Ping timeout: 240 seconds]
18:36
kich has joined #ruby
18:39
Scriptonaut has quit [Changing host]
18:39
Scriptonaut has joined #ruby
18:39
fercell has joined #ruby
18:41
greengriminal has joined #ruby
18:50
greengriminal has quit [Quit: Leaving]
18:53
iamlalit has joined #ruby
18:57
lalit has quit [Ping timeout: 265 seconds]
19:06
duderonomy has joined #ruby
19:07
CrazyEddy has joined #ruby
19:26
elxbarbosa has joined #ruby
19:32
SeepingN_ has joined #ruby
19:32
SeepingN has quit [Disconnected by services]
19:50
banisterfiend has joined #ruby
19:58
banisterfiend_ has joined #ruby
19:59
banisterfiend has quit [Ping timeout: 260 seconds]
19:59
banisterfiend_ is now known as banisterfiend
20:04
jenrzzz has joined #ruby
20:04
schne1der has joined #ruby
20:05
fercell has quit [Quit: WeeChat 2.8]
20:08
jenrzzz has quit [Ping timeout: 240 seconds]
20:11
code_zombie has joined #ruby
20:12
adu has quit [Ping timeout: 256 seconds]
20:13
jinie has joined #ruby
20:15
schne1der has quit [Quit: schne1der]
20:16
tankf33der has joined #ruby
20:18
cd has joined #ruby
20:20
schne1der has joined #ruby
20:20
adu has joined #ruby
20:30
elphe has joined #ruby
20:31
ur5us has joined #ruby
20:41
CrazyEddy has quit [Ping timeout: 256 seconds]
20:42
SeepingN_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
20:47
rafadc has joined #ruby
20:51
_whitelogger has joined #ruby
20:52
CrazyEddy has joined #ruby
20:54
ap4y has joined #ruby
20:54
cek has joined #ruby
21:01
vondruch has quit [Ping timeout: 256 seconds]
21:01
mozzarella has joined #ruby
21:06
UncleCid has joined #ruby
21:08
rubyn00b has joined #ruby
21:14
dasher00 has quit [Ping timeout: 272 seconds]
21:25
dualfade has quit [Ping timeout: 256 seconds]
21:27
dualfade has joined #ruby
21:27
nakilon2020 has joined #ruby
21:29
<
nakilon2020 >
(that one about runtime error on Alpine)
21:30
robotcars has left #ruby [#ruby]
21:32
schne1der has quit [Quit: schne1der]
21:42
banisterfiend_ has joined #ruby
21:43
banisterfiend has quit [Ping timeout: 240 seconds]
21:43
banisterfiend_ is now known as banisterfiend
21:45
banisterfiend has quit [Client Quit]
21:55
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
22:00
<
rubyn00b >
I'm trying to do some IO streaming through unix commands. The way I'm doing it seems clunky, is there a better way? Here's my current code: URI.open('
http://textfiles.com/100/actung.hum ').then { |io| cmd = IO.popen('cat -n', 'rb+'); IO.copy_stream io, cmd; cmd.close_write; cmd }.then { |io| cmd = IO.popen('rev', 'rb+'); IO.copy_stream io, cmd;
22:00
<
rubyn00b >
cmd.close_write; cmd }.then { |io| data = io.read; puts data }
22:05
<
rubyn00b >
Specifically, at each point in the chain, I'm doing an IO.copy_stream. So I feel that that means I'm making a full copy of the data (though it's buffered) at each step, rather than for example processing data as it comes in.
22:05
Guest27977 has quit []
22:06
<
rubyn00b >
If my file were 1 gig sized, then I'd probably be making a few 1G copies of the string as I stream it from IO to IO, I'm guessing.
22:06
ec has joined #ruby
22:09
GodFather has quit [Remote host closed the connection]
22:25
elxbarbosa has quit [Read error: Connection reset by peer]
22:28
banisterfiend has joined #ruby
22:50
banisterfiend_ has joined #ruby
22:51
banisterfiend has quit [Ping timeout: 240 seconds]
22:51
banisterfiend_ is now known as banisterfiend
22:59
cek has quit [Quit: Connection closed for inactivity]
23:00
banisterfiend_ has joined #ruby
23:02
banisterfiend has quit [Read error: Connection reset by peer]
23:04
banisterfiend has joined #ruby
23:05
elxbarbosa has joined #ruby
23:05
crowley has quit [Read error: Connection reset by peer]
23:05
banisterfiend_ has quit [Ping timeout: 240 seconds]
23:14
mangoicedtea has joined #ruby
23:15
SeepingN has joined #ruby
23:16
<
adam12 >
rubyn00b: Why cat -n?
23:16
<
rubyn00b >
It's just a few examples to visibly transform the text.
23:16
<
adam12 >
rubyn00b: Ah. What's your endgame? Not sure there's much better than IO.copy_stream, other than passing one fd to another.
23:16
<
rubyn00b >
They could just as well be `gzcat` and `tar tvf -`.
23:17
SeepingN has quit [Client Quit]
23:17
<
adam12 >
There's also IO.pipe and .. I think some sort of pipe in Shell too.
23:17
<
rubyn00b >
So I'm thinking if I wanted to stream a few hundred megs off a web site, and I wanted to unzip and untar it, I don't want to make copies of it.
23:17
jbeaudoin has quit [Quit: Connection closed for inactivity]
23:18
<
rubyn00b >
I feel like it should be as simple as URI.open('url').gunzip.untar, but the chained methods should handle IO-like objects smartly.
23:19
<
rubyn00b >
Rather than downloading all the content at once, processing it, passing another giant string, repeat.
23:20
<
adam12 >
Maybe Open3.pipeline. Grab the stdout fd from the pipeline and then provide it to URI somehow.
23:21
SeepingN has joined #ruby
23:23
drincruz has quit [Ping timeout: 240 seconds]
23:23
<
adam12 >
Actually, URI.open looks like it yields an io object, so maybe URI.open(..) { |io| Open3.pipeline(["cat", "-n"], "rev", out: $stdout) }
23:24
<
adam12 >
I didn't add the in key. Open3.pipeline(["cat", "-n"], "rev", in: io, out: $stdout)
23:25
<
adam12 >
Good point. In this case I might actually reach for the down gem.
23:31
elxbarbosa has quit [Ping timeout: 272 seconds]
23:31
<
leftylink >
so it may be possible to put these pieces together
23:35
Technodrome has quit [Ping timeout: 256 seconds]
23:37
factormystic has joined #ruby
23:42
<
rubyn00b >
adam12: Cool, thanks for the Open3.pipeline suggestion. It sounds like what I'm looking for in this scenario.
23:46
factormystic has joined #ruby
23:50
podman has quit [Ping timeout: 260 seconds]
23:50
podman has joined #ruby
23:52
drincruz has joined #ruby
23:54
JayDoubleu has quit [Ping timeout: 244 seconds]
23:55
AutomationD has quit [Ping timeout: 244 seconds]
23:55
lipoqil has quit [Read error: Connection reset by peer]
23:55
coffeejunk has quit [Ping timeout: 260 seconds]
23:56
KnownSyntax has quit [Ping timeout: 260 seconds]
23:56
peteretep has quit [Ping timeout: 260 seconds]
23:56
maxmanders_ has quit [Ping timeout: 272 seconds]
23:56
podman has quit [Read error: Connection reset by peer]
23:57
Argorok has quit [Ping timeout: 260 seconds]
23:57
Sina has quit [Ping timeout: 244 seconds]
23:57
podman has joined #ruby
23:58
Sina has joined #ruby
23:58
graphicsv has quit [Ping timeout: 244 seconds]
23:59
rann has quit [Ping timeout: 244 seconds]
23:59
lipoqil has joined #ruby