log☇︎
1200+ entries in 0.124s
mircea_popescu: nevertheless, you know aforehand, when you sit down to read through a patch, that you're gonna spend so long with it, and you'll stop when you stop.
mod6: thanks for the update diana_coman. i've been running with that patch too -- I've had some falling behind I believe not related to his vpatch, and instead related to ssd disk flakyness (as detailed in last month's SoBA).
diana_coman: http://btcbase.org/log/2017-08-04#1694066 <-- experimental indecent (no ssd, no sata3) node has kept reliably at top for > 2 months after installing asciilifeform's aggressive pushget blocks patch; conclusion so far: can be indecent IF only aggressive too! ☝︎
lobbes: been thinking through tickerbot design, and seems like the sane thing would be to have Process A (which is an instance of logbot-genesis with "logbot-multiple-channels-corrected" patch) running that makes changes to a postgresql database.
mircea_popescu: anyway, as to the other one : v is the republican... well many things, but also works as a versioning system. here's a pretty picture to help the notion along : http://btcbase.org/patches << you can select from the drop menu to the left, see vaqrious trees extant. you can click on any item to see the patch it represents.
phf: and tbf it was rapidly replaced by quake1, once the engine was released in 99. i'm pretty msu had own port going, because the graybeards (i.e. 22 year old grad students) would sometimes patch things overnight when we ran into bugs
a111: Logged on 2014-10-24 23:15 asciilifeform: kernel: patch[28805]: segfault at 0 ip 0000000000403f35 sp 00007fffbc2fc8e0 error 4 in patch[400000+26000]
mod6: http://p.bvulpes.com/pastes/AVFdI/?raw=true << ok that works. but my vtron chokes on this patch set -- mis-orders the press path, for some reason I still don't understand yet.
mod6: what i'm trying to get at is, if I follow the patch order in here (the first pp command), it is incorrect, for some reason: http://p.bvulpes.com/pastes/wIaed/?raw=true
phf: mod6: the graph is correct. you have a patch chain A B C D E, you're trying to apply A B E. E is going to fail because you didn't apply C D
asciilifeform: how was phf's v9995-choking patch set , created ?
mod6: no! not even using vtronics at all. just a good ole fashion by hand patch application.
mod6: Then I went ahead and tried to manually patch these files together, first 'vtools_genesis.vpatch', then 'vtools_vdiff_sha.vpatch', then 'vdiff_sha_fixes_newline_gcc', and this is what I'm seeing:
mod6: Then I went ahead and tried to manually patch these files together, first 'vtools_genesis.vpatch', then 'vtools_vdiff_sha.vpatch', then 'vdiff_sha_fixes_newline_gcc', and this is what I'm seeing:
mircea_popescu: no, what it should do is yell "alternate paths to press $vtools_fixes_static_tohex.vpatch requirement $x.alloc : $vtools+patch and $vdiff_sha_fixes_newline_gcc."
mircea_popescu: phf i looked at the patch itself.
mod6: oh, im specifically talking about the patch set from your latest post.
phf: http://barksinthewind.com/2018/vtools-keccak-regrind/ << mircea_popescu, asciilifeform, trinque, mod6 reground vtools with a manifest file , hanbot should be everything to make a patch, get a working press
phf: also in gnu patch news http://rachelbythebay.com/w/2018/04/05/bangpatch/
a111: Logged on 2018-04-06 19:35 hanbot: latest in mp-wp saga: spyked's patch on vtools let me gpr build the phf's patcher and vdiff, latter of which made a genesis, former of which dies on pressing wiff: http://p.bvulpes.com/pastes/2IVPp/?raw=true
mircea_popescu: i never saw such a patch (then again i am not a major patch reader>)
asciilifeform: consider , for instance, when was the last time you saw a ( heathen ) patch that ~subtracted~ bulk
hanbot: latest in mp-wp saga: spyked's patch on vtools let me gpr build the phf's patcher and vdiff, latter of which made a genesis, former of which dies on pressing wiff: http://p.bvulpes.com/pastes/2IVPp/?raw=true ☟︎
trinque uses ccl elsewhere, would glady sign that patch
phf: it looks like i'm going to wrap up the rest of the "replicate diff/patch" this week, so that'll also be the time to start adding the clever features
mircea_popescu: yes, the idea was to make a "reorg" patch separately if you're going to move files about.
asciilifeform: (*within 1 patch)
asciilifeform: it has also added seekrit bonus of making the patch format non-inbandistic.
mircea_popescu: this is where we admit that while the alternative solution presented passes on technical merits, nevertheless the thing it's an alternative to has much better political support. i ~want~ to require people to say a word about their patch, for human eyes.
asciilifeform: every patch has exactly one --- and +++ : at the head.
mircea_popescu: asciilifeform basically breaks every patch up into single-file units ?
mircea_popescu: ah. so then get the whet back and see from there. maybe new vdiff is ready ; if not and you want to march you can apply spyked's patch on the extant codebase as published by phf, if i understand correctly that should fix your problem. the diffs you produce with the thing thereby compiled will work with later restared vdiff too.
mircea_popescu: anyway, the seemingly correct solution is for convention to be changed, so that 1. genesis author creates a comments.txt file or else it's not a proper genesis ; 2. all subsequent patches MUST include an edit to the comments.txt file of the codebase they are pressed upon, which 3. must consist of adding one line at the end consisting of whatever text the patch author deems useful to add and may not be null and 4. should ideal
phf: hmm, manifest's hash though solves the same problem, we're essentially driving the graph by manifest hash chain, and the other files in patch are for additional culling
phf: e.g. the patch itself starts with mandatory parent: <hash>/false. this though completely eliminates the complicated graph transition machinery. all patches are hashed blobs, that you can point to by its hash
mircea_popescu: ie, "your patch must do two things to count : build off a valid tree state ; and explain itself in plaintext in the comments file for the project"
mircea_popescu: trinque seems the logical place this is going is "make comments file addition mandatory for each patch"
asciilifeform: iirc mircea_popescu proposed once an algo where , for a patch to count as a Troo Patch, it must modify a chronicle.txt (along these lines)
trinque: aside the two above, what's been done in trb is to include 1 and 2 in patch 3; the bulk of the patch is lifted into the thing
trinque: phf: there are cases where two separate edits to separate files are both needed as antecedents to yet a 3rd patch, which edits possibly neither of them.
trinque: would have to name every patch that happened to end up a dangling leaf
phf: but i don't think i could've implemented ~patch equivalent~ differ in reasonable time. vpatch already ballooned out because of an unfamiliar development environment, and it's much less heuristic based.
mircea_popescu: but "it's for the reader" is a very weak answer, because if patch 3 touching a and b is written so as to include patch 2, whereas patch 3` touching a alone is written so as not to include patch 2, "the reader" will have a most terrible time deciding which to use and why the fuck his build don't work.
mircea_popescu: should he spyked make a patch 2, which changes file b, is that patch 2 off G or off patch 1 ?
mircea_popescu: you, phf, made genesis G, with files a, b, c. you then made patch 1, which changes file a.
mircea_popescu: his patch is a loose leaf, because it doesn't touch any of the files ?
mircea_popescu: phf do you see the problem spyked's patch to your v tree encountered ?
trinque: http://p.bvulpes.com/pastes/9g8Sl/?raw=true << sure, I think it's just the expected flow up to the current patch
trinque: not like I'd have been opposed; it's just easy to imagine what it'd look like. every patch has an antecedent of the history file, as well as whichever other files.
a111: Logged on 2018-03-30 05:00 ave1: mod6, well your environment is sound and exactly the same as mine. Also you get the same error. Spyked patch should fix it (or open lib/xalloc.h and add static to all inline void functions that do not already have a static). It may be that phfs' enviroment is different (so far as I can see, spyked, hanbot, me and you all have the same problem).
ave1: mod6, well your environment is sound and exactly the same as mine. Also you get the same error. Spyked patch should fix it (or open lib/xalloc.h and add static to all inline void functions that do not already have a static). It may be that phfs' enviroment is different (so far as I can see, spyked, hanbot, me and you all have the same problem). ☟︎
a111: Logged on 2018-03-28 21:08 spyked: my v-fu really leaves to be desired. so: http://btcbase.org/log/2018-03-28#1790147 <-- patch: http://lucian.mogosanu.ro/v/patches/vdiff_lib_xalloc_static_xnmalloc.vpatch and seal: http://lucian.mogosanu.ro/v/seals/vdiff_lib_xalloc_static_xnmalloc.vpatch.spyked.sig --> so I based those on vdiff_fixes_newline_gcc (parent of vdiff_keccak in http://btcbase.org/patches?patchset=vtools ) and while the patch verifies, it doesn't show up in my
spyked: mircea_popescu, taking the graph in http://btcbase.org/patches?patchset=vtools <-- the patch at http://btcbase.org/log/2018-03-28#1790176 is a descendant of vdiff_fixes_newline_gcc, but since it has no direct relation to, say vdiff_keccak (there are no changes from the former to the latter), it will lie on a separate branch starting from vdiff_fixes_newline_gcc. at least that's what the output from ☝︎
mimisbrunnr: Logged on 2018-03-29 08:39 spyked: in less titillating news: http://btcbase.org/log/2018-03-28#1790190 <-- just did --> http://p.bvulpes.com/pastes/ewwIL/?raw=true the flow looks okay now; problem is that my patch is a separate leaf, so I can't press it and say, vtools-vpatch, in the same path. one (not very clean) palliative would be to manually verify and apply the patch after pressing.
mircea_popescu: http://logs.bvulpes.com/trilema?d=2018-3-29#321594 << what does this mean, "my patch is a separate leaf" ?!
spyked: in less titillating news: http://btcbase.org/log/2018-03-28#1790190 <-- just did --> http://p.bvulpes.com/pastes/ewwIL/?raw=true the flow looks okay now; problem is that my patch is a separate leaf, so I can't press it and say, vtools-vpatch, in the same path. one (not very clean) palliative would be to manually verify and apply the patch after pressing. ☝︎
trinque: douchebag: v-patch worthy thing?
spyked: so the idea is to keep either vtools_genesis -> vtools_vdiff_sha -> vdiff_sha_fixes_newline_gcc or vtools_genesis -> vdiff_fixes_newline_gcc -> ... patches, but not both at the same time. because in this case v.pl will see that my patch has two antecedents and will reject it.
trinque: my thinking on the thing is that it's as simple as each patch introducing a new line in HISTORY that matches the patch's name.
spyked: thanks mod6. I wonder if it's one of those cases that spawned the discussion which led to the idea of a manifest file. in any case, it looks like the patch above (vdiff_lib_xalloc_static_xnmalloc) can have multiple children.
spyked: (also, I had to redo the patch anyway, since I initially used the keccak vdiff; but I'm pretty sure this should be a child of vdiff_fixes_newline_gcc, since the hashes for vtools/lib/xalloc.h match)
a111: Logged on 2018-03-28 20:37 phf: mod6: pressing to different tails should produce alternative builds without any conflicts. but the issue has been discovered, and it requires a patch. spyked originally found both the problem and the solution
spyked: my v-fu really leaves to be desired. so: http://btcbase.org/log/2018-03-28#1790147 <-- patch: http://lucian.mogosanu.ro/v/patches/vdiff_lib_xalloc_static_xnmalloc.vpatch and seal: http://lucian.mogosanu.ro/v/seals/vdiff_lib_xalloc_static_xnmalloc.vpatch.spyked.sig --> so I based those on vdiff_fixes_newline_gcc (parent of vdiff_keccak in http://btcbase.org/patches?patchset=vtools ) and while the patch verifies, it doesn't show up in my ☝︎☟︎
phf: maintaining two separate builds in the same patch tree is sort of experimental, and i'm happy that it seems to work out of the box
phf: mod6: pressing to different tails should produce alternative builds without any conflicts. but the issue has been discovered, and it requires a patch. spyked originally found both the problem and the solution ☟︎
phf: yeah, that warning made me patch and recompile libc 10 years ago, might've been one of the first excursions into pre-tmsr rage holes
phf: spyked: if you sign your patch, i can include it in the vtools graph, a "collaborative" experience :)
a111: Logged on 2018-03-01 13:52 spyked: anyway, comment was that I managed to compile and run vdiff with small mods; error: http://p.bvulpes.com/pastes/BiBTI/?raw=true and fix patch: http://p.bvulpes.com/pastes/9mOiz/?raw=true (tested this with the generated vdiff); I can try to link this reply later in a comment to test.
phf: these kind of flags are set by ~xml~ files inside gnat's gprbuild support files, so there can be a general patch on gnat to do the right thing
douchebag: Apache doesn't - that's why it's called A patch e
a111: Logged on 2018-03-13 12:59 trinque: I believe it's more or less established by this point that the solution is to have a history file that's edited by patchers if they care that their patch isn't abandoned.
trinque: I believe it's more or less established by this point that the solution is to have a history file that's edited by patchers if they care that their patch isn't abandoned. ☟︎
a111: Logged on 2018-01-23 14:28 mircea_popescu: esthlos it is not standard procedure ; the emerging consensus is to have a dedicated philosophy file which a) all patches must touch (by protocol) ; b) contains comments as to the patcher's state of mind and c) contains one line per patch uniquely identifying it, machine generated. the format's not fixed yet, but as phf is working on a new proper vdiff it's probably going to coalesce around a variant of whatever he uses.
ave1: Well, maybe not so easy, I will publish patch (but probably next week)
a111: Logged on 2018-03-01 13:52 spyked: anyway, comment was that I managed to compile and run vdiff with small mods; error: http://p.bvulpes.com/pastes/BiBTI/?raw=true and fix patch: http://p.bvulpes.com/pastes/9mOiz/?raw=true (tested this with the generated vdiff); I can try to link this reply later in a comment to test.
diana_coman: phf, any bitrate above 1600 will correctly fail there since bitrate cannot be more than the total length of state (and that's 1600 unless you change the knobs); this being said, there IS an error too and it's one of those that show I need to sleep more: I got ToPos and FromPos flipped around and failed to notice it ...; so big thank you for testing this! correction, patch & post coming later today
a111: Logged on 2018-03-01 13:52 spyked: anyway, comment was that I managed to compile and run vdiff with small mods; error: http://p.bvulpes.com/pastes/BiBTI/?raw=true and fix patch: http://p.bvulpes.com/pastes/9mOiz/?raw=true (tested this with the generated vdiff); I can try to link this reply later in a comment to test.
spyked: anyway, comment was that I managed to compile and run vdiff with small mods; error: http://p.bvulpes.com/pastes/BiBTI/?raw=true and fix patch: http://p.bvulpes.com/pastes/9mOiz/?raw=true (tested this with the generated vdiff); I can try to link this reply later in a comment to test. ☟︎☟︎☟︎☟︎
a111: Logged on 2018-02-18 23:23 hanbot: <mircea_popescu> "Looks like you tried to comment off a stale page. Reload the article, count to three and try again." << for future reference, mp-wp comment fix is in the edit here: http://thewhet.net/2017/10/a-compendium-of-possibly-helpful-stuffs-for-erecting-mircea-popescus-wordpress-with-nearly-free-speech-hosting/ , and will be a patch once that project can move again.
mod6: Thanks for digging that up phf! archive.is seems to have trouble pulling the patch directly from shithub. I've grabbed it and posted it myself for the ages: http://archive.is/1w3Kx
phf: Subject: [PATCH] Resolves issue #922 - "wallet passphrase timeout of several
phf: fair, https://github.com/bitcoin/bitcoin/commit/82a10c81707dcff5ee24dec7ef7ebf8eccfded03.patch then
phf: i have a btcbase based test harnes, but it of course also didn't catch the issue, because it doesn't know about `\ No newline ...' in band thing either. it treats that line as a textual prelude to the next hunk which is a valid patch format
a111: Logged on 2017-12-26 21:42 phf: we also at some point had a thread, where i believe ascii but also others were leaning towards the idea of a single file vpatches (i.e. that a vpatch should only ever contain hunks for a single file). i'm starting to think that multi-file solutions in general are a hack ("we can't fit the entire compilation in memory"), but then i've been looking at TeX on one hand, and the "millions of support files" in diff/patch on the other
hanbot: <mircea_popescu> "Looks like you tried to comment off a stale page. Reload the article, count to three and try again." << for future reference, mp-wp comment fix is in the edit here: http://thewhet.net/2017/10/a-compendium-of-possibly-helpful-stuffs-for-erecting-mircea-popescus-wordpress-with-nearly-free-speech-hosting/ , and will be a patch once that project can move again. ☟︎
mircea_popescu: also, building further the (summary) testing infrastructure currently provided is imo a legitimate way to patch upon the tree once complete ; and such work will prolly get sealed.
BingoBoingo: Well it appears to be a rebreak of an area that broke when I was younger. Had some bonded ceramic patch and a chunk of that still seems attached.
BingoBoingo: Anyways patch might be to introduce a bindip= param in the .config
asciilifeform: at any rate this is an easy patch if somebody finds a reason to patch it.
ben_vulpes: asciilifeform: gonna ship another box with the timing patch from aeons ago, sync to completion and then post
ben_vulpes: unrelatedly, one of the boxes flying with me has synced with my max aggression patch atop asciilifeform's aggressive pushgetblocks has climbed to 308K in 4 days
asciilifeform: ( for that matter, ben_vulpes's own logical extension of same patch , ditto )
asciilifeform: nuffin in there about ben_vulpes's test of the sync sanity patch
mp_en_viaje: ave1, would you consider gutting that entire class as a patch ? i have nfi why a "kses" bs is even needed. seems a case of giraffe's jugular.
asciilifeform: ( apparently there is an entire underground of folx trying to patch it to boot on g5 etc... i had nfi until nao )
asciilifeform: mod6: speaking of, didja ever try ben_vulpes's moar-aggression patch ?
asciilifeform: !~later tell mod6 http://therealbitcoin.org/ml/btc-dev/2018-January/000285.html << i noticed, somehow only nao, that it has text 'This experimental vpatch requests blocks from all nodes that send a version message.' >> which has 0 relation to the patch...
mircea_popescu: obviously one could patch the eucrypt to work on his box if for some reason he wants to (though i can't imagine who'd be running eulora client of ppc machine, but anyways).
phf: mircea_popescu: our current strategy with architecture support has been "it works on my machine, but if you want it to work on your machine submit a vpatch", and it's been pretty consistently applied (e.g. my openbsd patch that's been floating independently, despite never getting vpatched).
mircea_popescu: cosmetics patch at end!