--- Log opened Wed Mar 24 00:00:05 2021 00:03 -!- jonatack_ [~jon@37.165.85.219] has quit [Quit: jonatack_] 01:07 -!- shesek [~shesek@unaffiliated/shesek] has quit [Remote host closed the connection] 01:07 -!- shesek [~shesek@164.90.217.137] has joined #rust-bitcoin 01:07 -!- shesek [~shesek@164.90.217.137] has quit [Changing host] 01:07 -!- shesek [~shesek@unaffiliated/shesek] has joined #rust-bitcoin 03:17 < elichai2> real_or_random: what does `tee /dev/tty` do? 04:05 -!- jonatack [~jon@37.164.189.52] has joined #rust-bitcoin 05:12 < real_or_random> elichai2: https://stackoverflow.com/a/5677265 but there's no /dev/tty in github actions -.- 05:13 < real_or_random> in general, tee takes stdin, and writes it to stdout and the specified file 05:51 -!- tibo [~tibo@2400:4050:2a83:7000:7cf9:99f7:634b:9ed1] has quit [Remote host closed the connection] 06:59 -!- tibo [~tibo@2400:4050:2a83:7000:7cf9:99f7:634b:9ed1] has joined #rust-bitcoin 07:04 -!- tibo [~tibo@2400:4050:2a83:7000:7cf9:99f7:634b:9ed1] has quit [Ping timeout: 260 seconds] 07:21 -!- jonatack [~jon@37.164.189.52] has quit [Read error: Connection reset by peer] 07:52 < BlueMatt> why not just use /dev/stdout? 08:01 < real_or_random> BlueMatt: what I want to do is to output to both stdout *of the shell* and pipe 08:02 < BlueMatt> /dev/stderr? 08:04 < real_or_random> `cmd1 | tee /dev/stdout | cmd2` wouldn't do this because stdout of tee is the pipe to cmd2 08:04 < real_or_random> BlueMatt: I buy that one 08:04 < BlueMatt> sorry, price went up, its now $10 08:05 < real_or_random> what's $ ? 08:05 < BlueMatt> BlueMatt: I buy that one 08:05 < BlueMatt> sorry, to buy /dev/stderr it now costs $10 08:06 < real_or_random> yeah, I got your joke but apparently mine didn't work out 08:06 < BlueMatt> oh....I havent had coffee yet 08:06 < real_or_random> new attempt: what's this strange $ symbol anyway? 08:07 < BlueMatt> heh 08:07 < BlueMatt> sorry, should have said sats 08:07 < real_or_random> :P 08:19 -!- Kiminuo [~Kiminuo@141.98.103.180] has quit [Quit: Leaving] 08:21 < real_or_random> elichai2: here's a cruder but simpler hack https://github.com/rust-bitcoin/rust-secp256k1/pull/290/files#diff-57025c75ecd74694800f2fc5a406124751fd145186d6f874a5d985d91cff0c47R82 09:12 < real_or_random> elichai2: actually, what was the reason we didn't call the C `abort`? 09:13 < elichai2> A. For logging purposes. B. it's not easy to call abort in no-std 09:47 -!- zkao [zkaomatrix@gateway/shell/matrix.org/x-mtsdrpkxfaudavgq] has quit [Ping timeout: 268 seconds] 09:49 < elichai2> real_or_random: looks like it's working, but I don't think I understand what that grep does 09:50 < elichai2> also, if i make it not panic there it will panic elsewhere and the test will still pass (but that might be fine, although we can make it grep at `panicked at '[libsecp256k1]`, but it's ~0) 09:51 < real_or_random> it makes grep output it's match and 10000 lines of context 09:51 < elichai2> also apparently, we're not too consistent with the asserts, sometimes we do debug_assert on functions that promise to return 1 and sometimes we don assert 09:51 < elichai2> real_or_random: and how does that changes the return code? 09:52 < real_or_random> but now that I say it, it's again bad because we don't see the output if the grep doesn't match... I should stop trying to be clever 09:52 < elichai2> (does grep return 1 when it doesn't find anything?) 09:52 < real_or_random> the return code of grep is 0 if there's a match and 1 otherwise 09:52 < elichai2> lol 09:52 < real_or_random> yep 09:52 < elichai2> ha, didn't know that 09:53 < real_or_random> you can also pass `-c` (count). then the exit code is the number of matched lines 09:53 -!- jonatack [~jon@37.172.241.248] has joined #rust-bitcoin 09:53 < elichai2> I wouldn't be so worried about not seeing the full output 09:54 < elichai2> as long as it fails/succeeds correctly everything here is pretty deterministic 09:54 < elichai2> so we should be able to reproduce 10:00 -!- fiatjaf [~fiatjaf@2804:7f2:2a8c:f814:ea40:f2ff:fe85:d2dc] has quit [Ping timeout: 264 seconds] 10:00 -!- fiatjaf [~fiatjaf@2804:7f2:2a8c:f814:ea40:f2ff:fe85:d2dc] has joined #rust-bitcoin 10:03 -!- zkao [zkaomatrix@gateway/shell/matrix.org/x-bbewgtlundwefrhv] has joined #rust-bitcoin 11:14 -!- th0th [~th0th@gateway/tor-sasl/th0th] has joined #rust-bitcoin 11:32 -!- sanket1729 [~sanket172@ec2-100-24-255-95.compute-1.amazonaws.com] has joined #rust-bitcoin 11:33 -!- sanketcell [~sanketcel@ec2-100-24-255-95.compute-1.amazonaws.com] has joined #rust-bitcoin 13:01 -!- Kiminuo [~Kiminuo@141.98.103.188] has joined #rust-bitcoin 13:51 -!- tibo [~tibo@2400:4050:2a83:7000:7cf9:99f7:634b:9ed1] has joined #rust-bitcoin 13:56 -!- tibo [~tibo@2400:4050:2a83:7000:7cf9:99f7:634b:9ed1] has quit [Ping timeout: 268 seconds] 14:00 -!- tibo [~tibo@2400:4050:2a83:7000:7cf9:99f7:634b:9ed1] has joined #rust-bitcoin 14:09 -!- shesek [~shesek@unaffiliated/shesek] has quit [Remote host closed the connection] 14:12 -!- shesek [~shesek@164.90.217.137] has joined #rust-bitcoin 14:12 -!- shesek [~shesek@164.90.217.137] has quit [Changing host] 14:12 -!- shesek [~shesek@unaffiliated/shesek] has joined #rust-bitcoin 14:31 -!- tibo [~tibo@2400:4050:2a83:7000:7cf9:99f7:634b:9ed1] has quit [Remote host closed the connection] 14:31 -!- tibo [~tibo@2400:4050:2a83:7000:7cf9:99f7:634b:9ed1] has joined #rust-bitcoin 14:35 -!- fiatjaf [~fiatjaf@2804:7f2:2a8c:f814:ea40:f2ff:fe85:d2dc] has quit [Ping timeout: 260 seconds] 14:39 -!- fiatjaf [~fiatjaf@2804:7f2:2a8c:f814:ea40:f2ff:fe85:d2dc] has joined #rust-bitcoin 14:51 -!- fiatjaf [~fiatjaf@2804:7f2:2a8c:f814:ea40:f2ff:fe85:d2dc] has quit [Ping timeout: 260 seconds] 14:53 -!- fiatjaf [~fiatjaf@2804:7f2:2a8c:f814:ea40:f2ff:fe85:d2dc] has joined #rust-bitcoin 15:04 -!- fiatjaf [~fiatjaf@2804:7f2:2a8c:f814:ea40:f2ff:fe85:d2dc] has quit [Ping timeout: 272 seconds] 15:12 -!- Kiminuo [~Kiminuo@141.98.103.188] has quit [Ping timeout: 256 seconds] 15:25 -!- jonatack [~jon@37.172.241.248] has quit [Ping timeout: 268 seconds] 15:32 -!- fiatjaf [~fiatjaf@2804:7f2:2a8c:f814:ea40:f2ff:fe85:d2dc] has joined #rust-bitcoin 15:44 -!- fiatjaf [~fiatjaf@2804:7f2:2a8c:f814:ea40:f2ff:fe85:d2dc] has quit [Ping timeout: 272 seconds] 15:45 -!- fiatjaf [~fiatjaf@2804:7f2:2a8c:f814:ea40:f2ff:fe85:d2dc] has joined #rust-bitcoin 15:47 < BlueMatt> https://github.com/rust-bitcoin/bitcoin_hashes/pull/111#pullrequestreview-620279672 lol wtf 15:48 < BlueMatt> why is github so filled with spam 15:57 -!- fiatjaf [~fiatjaf@2804:7f2:2a8c:f814:ea40:f2ff:fe85:d2dc] has quit [Ping timeout: 272 seconds] 16:01 -!- fiatjaf [~fiatjaf@2804:7f2:2a8c:f814:ea40:f2ff:fe85:d2dc] has joined #rust-bitcoin 16:08 -!- fiatjaf [~fiatjaf@2804:7f2:2a8c:f814:ea40:f2ff:fe85:d2dc] has quit [Ping timeout: 260 seconds] 16:11 -!- rodentrabies [rodentrabi@gateway/shell/matrix.org/x-birfeyasvjsxhyfi] has joined #rust-bitcoin 16:24 -!- fiatjaf [~fiatjaf@2804:7f2:2a8c:f814:ea40:f2ff:fe85:d2dc] has joined #rust-bitcoin 20:01 -!- th0th [~th0th@gateway/tor-sasl/th0th] has quit [Quit: Leaving] 20:19 -!- belcher_ [~belcher@unaffiliated/belcher] has joined #rust-bitcoin 20:23 -!- belcher [~belcher@unaffiliated/belcher] has quit [Ping timeout: 272 seconds] 20:29 -!- belcher_ is now known as belcher 23:35 -!- shesek [~shesek@unaffiliated/shesek] has quit [Remote host closed the connection] 23:38 -!- shesek [~shesek@164.90.217.137] has joined #rust-bitcoin 23:38 -!- shesek [~shesek@164.90.217.137] has quit [Changing host] 23:38 -!- shesek [~shesek@unaffiliated/shesek] has joined #rust-bitcoin 23:44 -!- Kiminuo [~Kiminuo@141.98.103.188] has joined #rust-bitcoin 23:53 -!- Kiminuo [~Kiminuo@141.98.103.188] has quit [Ping timeout: 268 seconds] --- Log closed Thu Mar 25 00:00:06 2021