log☇︎
138200+ entries in 0.074s
asciilifeform: corrected items ( and their seals ) are live at same place, http://btcbase.org/log/2017-12-06#1747494 . ☝︎
asciilifeform: to to diana_coman , mod6 , mircea_popescu , phf , for their sweat .
asciilifeform: and that the corrected set of patches, presses.
asciilifeform: others are invited to verify that no other changes were made.
asciilifeform: http://wotpaste.cascadianhacker.com/pastes/XIHd7/?raw=true & http://wotpaste.cascadianhacker.com/pastes/eNbPh/?raw=true show what was done to each vpatch, respectively.
mircea_popescu: item scheduled for eucrypt lib so keep watch of diana_coman 's blog. can be just taken from there put here.
asciilifeform: i'd quite like to see this.
mircea_popescu: if we start fucking with vdiff, this is the first mover.
asciilifeform: keccak afaik ships with no unix, to this day.
asciilifeform: aha, that very same. same work of heathenry as sha256.
asciilifeform: sha512 is the ancient sha512
mircea_popescu: i expect his method (add the terminating ---s the thing expects even if spurious) works even if implementation may need work. tho i dun wanna go down this road.
mircea_popescu: nothing unfortunate about this being necessary.
asciilifeform: unfortunately this is necessary.
asciilifeform: i'ma practice test-press prior to publication, from nao on
mircea_popescu: and yes the problem will recur.
mircea_popescu: vdiff should be fixed to search for the full 4 char header also.
asciilifeform: the problem is more or less guaranteed to recur, however, i suspect.
deedbot: http://trilema.com/2017/3-idiots-in-preference-of-saying-indians-are-cognitively-impaired-for-reason-of-genetic-inferiority/ << Trilema - "3 idiots", in preference of saying "Indians are cognitively impaired for reason of genetic inferiority"
mircea_popescu: they utterly don't belong there. you got a .sig mechanism for this.
mircea_popescu: take out the god damned clearsigns.
asciilifeform: i'ma upload a signed phf-cured second_cut presently, if no one can think of a reason not to
mircea_popescu: still, ironclad argument that current grep is broken : looks for PART OF the header it should.
asciilifeform: this will fix this case. but not the general case.
mircea_popescu: hey! change the grep ? from "---" to "--- " ?
asciilifeform: phf is entirely right. it is broken exactly as in the earlier '+++' case
trinque: but it appears to say anything starting with --- must be diffheaderstuff
trinque: as if that ball of hair is readable
asciilifeform: what 1line would you like to replace the old 1line with ?
asciilifeform: rather than by hand
asciilifeform: phf: i see what you did. but how would you modify vdiff to actually produce this ?
trinque: vdiff just needs to match diff chunk header lines better, and fixed.
mircea_popescu: idiotparser has the extreme advantage of not even being a parser, ie, simplicity.
mircea_popescu: stylistic rules happen all the time. "name variables like this".
asciilifeform: i am not adding extraneous rules to ada to satisfy idiotparser.
asciilifeform: i will point out that the mpi genesis was created in oct. of 2015, when v was 2 mo. old.
mircea_popescu: and a rule whereby ada comments are "-- " not "--" is not the end of the world either.
asciilifeform: mircea_popescu: ideally not. this readme.txt however was made to stand alone, in a blog article, and hence contained clearsig.
phf: and that doesn't in any way require breaking the files?
mircea_popescu: asciilifeform you shouldn't put gpg clearsigned bits in a patch in the first place.
phf: you want me to write a second_cut by hand that presses cleanly?
asciilifeform: say how ? to lose the gpg clearsig ?
asciilifeform: in the earlier FG case i 'cheated' by rejecting the use of the uuencoded blogs in the 1st place
phf: you can hand produce a second_cut that's not broken by tooling
phf: in this case "better parser" is a parser that actually understands the format it's processing
asciilifeform: phf mircea_popescu mod6 et al any of you lot want to propose wat-do in this particular case ?
phf: _but it will require either writing a vdiff from scratch, or else adding a better parser to vdiff_
asciilifeform: and i like it that way.
asciilifeform: phf: classical v does not touch these or attempt to use'em for anything.
asciilifeform: mircea_popescu: they gotta ~start~ with --
mircea_popescu: i thought ada comments were --
phf: but it will require either writing a vdiff from scratch, or else adding a better parser to vdiff
asciilifeform: phf: can you come up with a pill that doesn't break ada comments ?
phf: well, diff produces enough information for you to not have to do that.
asciilifeform: phf: this is entirely correct. i dun see how it contradicts what i said however.
asciilifeform: a great many of them.
phf: the problem is not diff or diff format, the problem is that vdiff does a naive grep for a prefix and breaks a perfectly valid traditional patch
mircea_popescu: nah. keep the current death word (---) ; replace all conflicts in raw input to ===.
asciilifeform: ( instead it can only eat ones that dun contain '---' and '+++' and possibly other boojums )
asciilifeform: i'm all ears, phf . but my current understanding is that the problem is in that vdiff cannot eat arbitrary 7bitclean ascii files.
a111: Logged on 2016-12-11 20:15 asciilifeform: and haha, there are TWO +++ lines !
a111: Logged on 2017-01-05 00:43 asciilifeform: incidentally you will blow up on the +++ mine if you try and diff a vdiff.
phf: asciilifeform: you're misrepresenting the problem
a111: Logged on 2017-12-06 22:07 trinque: ah so the vdiff script wrapping diff probably did that?
asciilifeform: http://btcbase.org/log/2017-12-06#1747657 << this wouldn't fix the problem, only move it. thinkaboutit. inband signalling sux. ☝︎
a111: Logged on 2017-12-06 22:05 phf: if you just run a diff -uNr on the two readmes, the resultant patch works. if you run a diff on the resulting patch and the vpatch in the tar, then you can see that there's something wrong with the vpatch specifically
phf: so this error wouldn't surface until very last mile, in my case http://btcbase.org/patches/mpi_second_cut/tree/mpi/README fails to press
trinque: makes total sense
trinque: ah so the vdiff script wrapping diff probably did that? ☟︎
phf: ah, so what's actually broken in this particular case, is the original v implementation
phf: if you just run a diff -uNr on the two readmes, the resultant patch works. if you run a diff on the resulting patch and the vpatch in the tar, then you can see that there's something wrong with the vpatch specifically ☟︎
phf: there's nothing wrong with the diff, asciilifeform is thrashing
mircea_popescu: i suppose the third alternative is to actually implement a proper diff as part of vtron
BingoBoingo: trinque: Their move to clang as default compiler makes pain
trinque: who was? just trying a patch with bsd stubble vs gnu moss-hair
BingoBoingo: Well, when discussing trb on Openbsd we are talking something that spans 5.5-ish and ends no later than 6.1
trinque: a read of the manfile of linux patch suggests *massive* fuckery to allow idjits to pull patches out of other text, email, newsgroups, etc
mircea_popescu: in that there's no reason to have them, and their presence is in itself sign of babbage's braindamage, much like say a canister for light, or a faucet for patience.
mircea_popescu: alternately, of course... "no clearsigned material within patches". this may even be a right thing independently of the actual bug.
BingoBoingo recalls diff being an issue, forgets the context
mircea_popescu: lol check it out, diana got split with the bots.
mod6: <+asciilifeform> i recall a similar boojum in my 1st attempt at the FG release, that time it was a '+++' inside a uuencoded blob << lol, ok i see the problem too. you're right, this similar thing happened before.
asciilifeform: ( clearsigs, to be exact . )
asciilifeform: some texts cannot be (!) vdiffed, for so long as we use unix diff; these appearently include gpg sigs
asciilifeform: i recall a similar boojum in my 1st attempt at the FG release, that time it was a '+++' inside a uuencoded blob
asciilifeform: ( observe that the sha512 sums of the readme in 'a' and 'b' match the ones given in the vpatch. but unix patch cannot actually make the patch happen. )
asciilifeform: the sad part is that i have nfi how to cure this , it is a consequence of using unix diff ( with in-band signal ) to begin with.
asciilifeform: i will not spoil the surprise , folx who look in the tarball will see what the caltrop was.
asciilifeform: there was no mistake in asciilifeform's procedure for baking the item. second_cut is in fact a patch, not a genesis, asciilifeform spoke hastily. there is also no bug in mod6's vtron, or in asciilifeform's. diana_coman did not make a mistake.
asciilifeform: i'ma tar it up and let people replicate
asciilifeform: because i think i may have found a bug in diff
asciilifeform: i'ma double-chexk this before running mouth...
mod6: mircea_popescu: that's kinda neat really
mircea_popescu: on a long enough timeframe, there's going to exist a vtron in ~any language anyway, i expect.
mircea_popescu: i'm not going to pick a wife for you, "here, THIS is the woman you should be comfortable with". pick your own. languages idem.
mod6: It /is/ a bit worrysome that I believe that I'm the only person who knows how it works. And since it's the only version in existence that encompasses all of the rules arbitrated in our chamber, that a new version that is easier to understand is warranted.
mircea_popescu: original mod6 perl vtron was important prototype in the early life of v, made all sorts of latter things possible. exactly like original bitcoin. nobody said you have to marry it now though ; or divorce it for that matter.
mircea_popescu: mod6 it's not a crime to have a perl vtron. however, if you plan as your own strategy to move away from perl and you're judging it more of a liability than anything, then by all means, eschew.
mod6: because what i don't want to do is have a perl genesis, then some vpatch that deletes everything and inflates a bunch of ada stuffs. prolly be better to start in the lang you expect to say within for the lifetime of the application.
asciilifeform: ok this is pretty strange: