IRC channel logs

2019-10-24.log

back to list of logs

<stikonas>hmm...
<stikonas>yeah, initially I was surprised that so many hashes have changed...
<stikonas>hmm, did I actually update kaem-optional-seed hash in docs
<stikonas>ok, maybe it's not mentioned anywhere in docs of mescc-tools-seed...
<OriansJ>however changing comments can't change binaries in M2-Planet
<OriansJ>changing error messages should change the hash (as is seen in cc_x86*, lisp.s and M2-Planet)
<OriansJ>but kaem.c doesn't have it in anything other than a comment
<stikonas>OriansJ: hmm, M0 has changed...
<stikonas>can it change kaem?\
<OriansJ>and there is a 732byte difference, so it isn't a replace
<OriansJ>No
<OriansJ>M0 does not put anything in binaries that isn't directly in the source
<OriansJ>nor does M2-Planet nor hex2
<OriansJ>So even with major changes in M2-Planet or M* or Hex*, the binaries must remain the same if none of the source changed
<OriansJ>// Lines in M2-Planet however are code (see // CONSTANT foo 4, etc)
<stikonas>oh yes, I noticed that before
<stikonas>only /* */ are comments
<OriansJ>and # are line comments in M2-Planet
<OriansJ>so #define and #includes are ignored
<stikonas>hmm, kaem has sha256sum of here 04dd8ea2ea9eefdd7bfb2f375bd6d352cb2a2229d7efdc47c37f16f835dd5c81
<stikonas>somehow it's the same as kaem-optional-seed on my system
<stikonas>was it not the same before?
<OriansJ>hmmm as mine is 6b29c69b626ed687d635202e9017a5b8a8959c7548c941c4255a35712385c996
<stikonas>in mescc-tools-seed repo?
<stikonas>hmm, strange
<OriansJ>prior to your 676128e54d210921fd45f172e4fe0eed720b0cfc commit
<OriansJ>and my c266436df65f7708e39824a1982e8d1fbfe5e62f merge
<OriansJ>you should have a 001e20a2f8a9ddf4634f312a29b42a85c681c146
<stikonas>hmm, strange
<OriansJ>which with git log --show-signature
<OriansJ>should show a good signature from CA1132DD2BA1E81AC10C95D35410E91C14959E87
<OriansJ>Primary key fingerprint: CA11 32DD 2BA1 E81A C10C 95D3 5410 E91C 1495 9E87
<OriansJ>Do you have that in your git history?
<stikonas>checking
<stikonas>mescc-tools-seed?\
<OriansJ>correct
<stikonas>OriansJ: oh, I think I am one commit ahead
<stikonas>I do have 001e20a2f8a9ddf4634f312a29b42a85c681c146 though
<OriansJ>???
<stikonas>with that gpg signature
<stikonas>my last commit is 8d34733436244f4d2e33bdd19f089d55ef84c51f
<stikonas> https://github.com/oriansj/mescc-tools-seed/pull/3/commits/8d34733436244f4d2e33bdd19f089d55ef84c51f
<stikonas>do you have this one?
<OriansJ>that is the one where I am trying to figure out the change in the kaem-optional-seed
<stikonas>oh sorry, I misunderstood
<stikonas>let me try to compile again before my commit, and after
<stikonas>oh tyes, it was 6b29c69b626ed687d635202e9017a5b8a8959c7548c941c4255a35712385c996
<stikonas>OriansJ: argh, it might be my fault
<stikonas>I probably coppied it manually somehow from some older version
<stikonas>and accidentally added with git add to commit
<stikonas>sorry about that, I almost forgot about it myself
<stikonas>kaem has the right checksum
<stikonas>if I build it
<stikonas>strange
<OriansJ>stikonas: the kaem-optional-binary was a hand checked binary; that I haven't updated in a while (Because I don't want anyone to trust it)
<stikonas>I'm still unsure how kaem-optional-binary got into my commit...
<stikonas>oh, maybe it changed earlier?
<stikonas>not by my commit
<OriansJ>no harm done, we caught it prior to a merge
<stikonas>well, yes
<stikonas>I can undo that file
<stikonas>ok, pushed a new review request
<stikonas>well, just removed that file from my commit
<OriansJ>stikonas: thank you
<OriansJ>which reminds me, I still need to write kaem in assembly to reduce the optional-binary size down and simplify the audit
<OriansJ>stikonas: one detail is that kaem-optional-binary isn't actually required by mescc-tools-seed as one can run kaem.run with any shell or simply execute the commands manually
<stikonas>well, I was just running commands manually
<stikonas>to get kaem
<stikonas>I am aware of that...
<stikonas>possibly later I coppied that file to kaem-optional-binary
<OriansJ>cool
<stikonas>and then it got into my "git commit -a"
<stikonas>well, it still needs some kind OS or shell...
<OriansJ>I probably should add to .gitignore so that when people build their own trusted kaem binary; it doesn't accidentially show up
<stikonas>yeah, that would be good to add
<OriansJ>actually no, with knight hardware in fpga and a couple paper tape readers
<OriansJ>and M2-Planet + mescc-tools as submodules so people can get it all at once
<OriansJ>No OS required for M2-Planet builds
<stikonas>hmm, so when I played with knight VM, I was able to get cc_x86
<stikonas>but isn't that x86 crosscompiler
<stikonas>how do I build M2-Planet which runs on Knight?
<stikonas>hmm, I probably just need to pick the right defs file for M0, is that right?
<OriansJ>actually I haven't written the cc_knight.S yet
<stikonas>oh ok
<OriansJ>it would be only a 112 line diff from the current cc_x86.S
<OriansJ>simply change out some strings and a few minor differences in behavior as outlined in M2-Planet's Knight generator and boom done
<OriansJ>I guess I have been putting this clean up off long enough
<stikonas>well, I guess mes-m2 was higher priority...
<oriansj>morning
<xentrac>morning jeremiah
<oriansj>in fun news mescc-tools-seed has gotten a makeover
<stikonas>yeah, git submodules
<oriansj>and once I remembered that M0 in AMD64 is touchy about hex numbers (doesn't like 0x3c but does 0x3C fine)
<oriansj>The upcoming patch will enable a full AMD64 bootstrap in mescc-tools-seed
<oriansj>and patches are up ^_^
<oriansj>now here comes a hard style question; should I move the NASM ports of mescc-tools into mescc-tools-seed/