Comments for bvt's backtrace http://bvt-trace.net Fri, 21 Aug 2020 16:59:30 +0000 http://polimedia.us hourly 1 Comment on Gales Installation Report by Protect What Matters with JWRD « Dorion Mode http://bvt-trace.net/2019/12/gales-installation-report/#comment-188 Protect What Matters with JWRD « Dorion Mode Sat, 02 May 2020 02:13:29 +0000 http://bvt-trace.net/?p=65#comment-188 [...] the pepper farmers and invest the proceeds expanding the salt farms. [↩]Reviewed to date by bvt (WoT : bvt) and Lucian Mogosanu (WoT : spyked) and on which Mircea Popescu (WoT : mircea_popescu) [...] [...] the pepper farmers and invest the proceeds expanding the salt farms. [↩]Reviewed to date by bvt (WoT : bvt) and Lucian Mogosanu (WoT : spyked) and on which Mircea Popescu (WoT : mircea_popescu) [...]

]]>
Comment on A history of vy.scm by Mirroring the Vtools V-tree « Ossa Sepia http://bvt-trace.net/2020/03/a-history-of-vyscm/#comment-187 Mirroring the Vtools V-tree « Ossa Sepia Fri, 24 Apr 2020 15:34:14 +0000 http://bvt-trace.net/?p=77#comment-187 [...] dilligently working on owning and improving the vtools suite, clearly communicating on it and on his own history of V use that informs his choices of implementation, I find myself alternating between the two - while the old v.pl still has its niche for quick [...] [...] dilligently working on owning and improving the vtools suite, clearly communicating on it and on his own history of V use that informs his choices of implementation, I find myself alternating between the two - while the old v.pl still has its niche for quick [...]

]]>
Comment on v.sh parts 6&7: handling orphans and updated Keccak by Mirroring the Vtools V-tree « Ossa Sepia http://bvt-trace.net/2020/04/vsh-parts-67-handling-orphans-and-updated-keccak/#comment-186 Mirroring the Vtools V-tree « Ossa Sepia Fri, 24 Apr 2020 15:17:33 +0000 http://bvt-trace.net/?p=78#comment-186 [...] own public forum worked quite as intended. Nevertheless, as bvt has been dilligently working on owning and improving the vtools suite, clearly communicating on it and on his own history of V use that informs his choices of [...] [...] own public forum worked quite as intended. Nevertheless, as bvt has been dilligently working on owning and improving the vtools suite, clearly communicating on it and on his own history of V use that informs his choices of [...]

]]>
Comment on v.sh parts 6&7: handling orphans and updated Keccak by Diana Coman http://bvt-trace.net/2020/04/vsh-parts-67-handling-orphans-and-updated-keccak/#comment-185 Diana Coman Mon, 20 Apr 2020 11:04:45 +0000 http://bvt-trace.net/?p=78#comment-185 Confirmed it works perfectly now on my machine too, thank you! I should get around to mirror the whole tree for vtools and publish my sigs for it too, sometime this week. Confirmed it works perfectly now on my machine too, thank you!

I should get around to mirror the whole tree for vtools and publish my sigs for it too, sometime this week.

]]>
Comment on v.sh parts 6&7: handling orphans and updated Keccak by bvt http://bvt-trace.net/2020/04/vsh-parts-67-handling-orphans-and-updated-keccak/#comment-184 bvt Sun, 19 Apr 2020 18:06:29 +0000 http://bvt-trace.net/?p=78#comment-184 Indeed it seems to be gawk-only <a href="http://archive.is/a05xo" rel="nofollow">feature</a>. I have tested your suggested fix with awk 3.1.7, mawk from ~2010, and busybox awk, no problems with any of them. The vpatch is here: curl '<a href="http://bvt-trace.net/vpatches/vtools_vsh_fix_awk.vpatch" rel="nofollow">http://bvt-trace.net/vpatches/vtools_vsh_fix_awk.vpatch</a>' > vtools_vsh_fix_awk.vpatch curl '<a href="http://bvt-trace.net/vpatches/vtools_vsh_fix_awk.vpatch.bvt.sig" rel="nofollow">http://bvt-trace.net/vpatches/vtools_vsh_fix_awk.vpatch.bvt.sig</a>' > vtools_vsh_fix_awk.vpatch.bvt.sig Indeed it seems to be gawk-only feature. I have tested your suggested fix with awk 3.1.7, mawk from ~2010, and busybox awk, no problems with any of them. The vpatch is here:

curl 'http://bvt-trace.net/vpatches/vtools_vsh_fix_awk.vpatch' > vtools_vsh_fix_awk.vpatch
curl 'http://bvt-trace.net/vpatches/vtools_vsh_fix_awk.vpatch.bvt.sig' > vtools_vsh_fix_awk.vpatch.bvt.sig

]]>
Comment on v.sh parts 6&7: handling orphans and updated Keccak by bvt http://bvt-trace.net/2020/04/vsh-parts-67-handling-orphans-and-updated-keccak/#comment-183 bvt Sun, 19 Apr 2020 11:25:50 +0000 http://bvt-trace.net/?p=78#comment-183 Hm, thanks for having a look at this. I will install the same awk version and test the code with it, then see how to best fix it -- most likely using multiple indexes will work out. Hm, thanks for having a look at this. I will install the same awk version and test the code with it, then see how to best fix it -- most likely using multiple indexes will work out.

]]>
Comment on v.sh parts 6&7: handling orphans and updated Keccak by Diana Coman http://bvt-trace.net/2020/04/vsh-parts-67-handling-orphans-and-updated-keccak/#comment-182 Diana Coman Sun, 19 Apr 2020 10:17:54 +0000 http://bvt-trace.net/?p=78#comment-182 Only now I had a second look at that line where awk complains and I realised that you are possibly trying to use array of arrays? Iirc this is supported only in some versions (gawk but also not older ones) so possibly that's why it fails on my OS. Nevertheless, awk itself allows multiple indices, it just goes array[i,j] (it concatenates them so a sort of inside trick but perfectly fine for needing "several dimensions") - and it usually ends up in shorter code from what I noticed. So looking there, it would be something like dir_ante[$2, n_ante[$2]], perhaps. Only now I had a second look at that line where awk complains and I realised that you are possibly trying to use array of arrays? Iirc this is supported only in some versions (gawk but also not older ones) so possibly that's why it fails on my OS. Nevertheless, awk itself allows multiple indices, it just goes array[i,j] (it concatenates them so a sort of inside trick but perfectly fine for needing "several dimensions") - and it usually ends up in shorter code from what I noticed. So looking there, it would be something like dir_ante[$2, n_ante[$2]], perhaps.

]]>
Comment on v.sh parts 6&7: handling orphans and updated Keccak by Diana Coman http://bvt-trace.net/2020/04/vsh-parts-67-handling-orphans-and-updated-keccak/#comment-181 Diana Coman Fri, 17 Apr 2020 09:42:18 +0000 http://bvt-trace.net/?p=78#comment-181 Thanks for the prompt update - confirmed, the new sig works. However, it turns out meanwhile the awk sequence at line 301 in v.sh barfs on my CentOS 6 running GNU Awk 3.1.7, here's the error thrown when running v vtree: <blockquote> awk: cmd. line:6: FILENAME=="-" && ($1 == "d") {if (!($2 in n_ante)) n_ante[$2] = 0; dir_ante[$2][n_ante[$2]] = $3; n_ante[$2]++;} awk: cmd. line:6: ^ syntax error awk: cmd. line:6: FILENAME=="-" && ($1 == "d") {if (!($2 in n_ante)) n_ante[$2] = 0; dir_ante[$2][n_ante[$2]] = $3; n_ante[$2]++;} awk: cmd. line:6: ^ syntax error awk: cmd. line:11: level[$2] = max(level[$2], level[dir_ante[$2][i]]+1); awk: cmd. line:11: ^ syntax error awk: cmd. line:11: fatal: invalid subscript expression </blockquote> The rest of commands (I tested briefly patches, wot, flow, antecedents, descendants, press) seem to work fine, at least when tested on vtools' own tree. At a quick first look in the code, I don't know if the trouble might be perhaps a case of that i variable failing to be expanded because of the single quotes for the awk, or similar. As a side note, now with all the .gpr files to build, I ended up making a "buildall.sh" that just calls gprbuild -P on each of them, as otherwise I *always* seem to forget one! Thanks for the prompt update - confirmed, the new sig works. However, it turns out meanwhile the awk sequence at line 301 in v.sh barfs on my CentOS 6 running GNU Awk 3.1.7, here's the error thrown when running v vtree:

awk: cmd. line:6: FILENAME=="-" && ($1 == "d") {if (!($2 in n_ante)) n_ante[$2] = 0; dir_ante[$2][n_ante[$2]] = $3; n_ante[$2]++;}
awk: cmd. line:6: ^ syntax error
awk: cmd. line:6: FILENAME=="-" && ($1 == "d") {if (!($2 in n_ante)) n_ante[$2] = 0; dir_ante[$2][n_ante[$2]] = $3; n_ante[$2]++;}
awk: cmd. line:6: ^ syntax error
awk: cmd. line:11: level[$2] = max(level[$2], level[dir_ante[$2][i]]+1);
awk: cmd. line:11: ^ syntax error
awk: cmd. line:11: fatal: invalid subscript expression

The rest of commands (I tested briefly patches, wot, flow, antecedents, descendants, press) seem to work fine, at least when tested on vtools' own tree. At a quick first look in the code, I don't know if the trouble might be perhaps a case of that i variable failing to be expanded because of the single quotes for the awk, or similar.

As a side note, now with all the .gpr files to build, I ended up making a "buildall.sh" that just calls gprbuild -P on each of them, as otherwise I *always* seem to forget one!

]]>
Comment on v.sh parts 6&7: handling orphans and updated Keccak by bvt http://bvt-trace.net/2020/04/vsh-parts-67-handling-orphans-and-updated-keccak/#comment-180 bvt Thu, 16 Apr 2020 15:48:12 +0000 http://bvt-trace.net/?p=78#comment-180 Thanks for spotting, I have reuploaded the signature. Seems that as I was writing the article, I uploaded the signature for older version of the vpatch. Thanks for spotting, I have reuploaded the signature. Seems that as I was writing the article, I uploaded the signature for older version of the vpatch.

]]>
Comment on v.sh parts 6&7: handling orphans and updated Keccak by Diana Coman http://bvt-trace.net/2020/04/vsh-parts-67-handling-orphans-and-updated-keccak/#comment-179 Diana Coman Thu, 16 Apr 2020 14:45:06 +0000 http://bvt-trace.net/?p=78#comment-179 The .sig for vtools_update_keccak.vpatch (aka vtools_update_keccak.vpatch.bvt.sig) doesn't verify for me, not sure how or what might be wrong with my setup (I looked inside both the vpatch and the sig files and they both seem to match the ones linked above so it doesn't seem to be that I got either corrupted on upload): <blockquote> $ gpg --verify .seals/vtools_update_keccak.vpatch.bvt.sig patches/vtools_update_keccak.vpatch gpg: Signature made Fri 10 Apr 2020 05:03:48 PM BST using RSA key ID 4B962B68 gpg: BAD signature from "bvt aka BT" </blockquote> The .sig for vtools_update_keccak.vpatch (aka vtools_update_keccak.vpatch.bvt.sig) doesn't verify for me, not sure how or what might be wrong with my setup (I looked inside both the vpatch and the sig files and they both seem to match the ones linked above so it doesn't seem to be that I got either corrupted on upload):

$ gpg --verify .seals/vtools_update_keccak.vpatch.bvt.sig patches/vtools_update_keccak.vpatch
gpg: Signature made Fri 10 Apr 2020 05:03:48 PM BST using RSA key ID 4B962B68
gpg: BAD signature from "bvt aka BT"

]]>