log☇︎
100100+ entries in 0.03s
asciilifeform: and in-head.
asciilifeform: this whole thing would probably fit in ~1,000 lines of c.
asciilifeform: however it does have the advantage of not using 10,000,001 lines of ext4 open sores crapolade for anything.
asciilifeform: but, thing is, it won't work any better on mechanical disk than the old bdb. and imho it is quite impossible to make variable-length tx bitcoin work well on mechanical disk, with modern spamola level.
asciilifeform: anyway this is the simplest physically-possible scheme.
asciilifeform: how to ~write~ to this data structure is, i think, obvious to the reader, i do not need to describe.
asciilifeform: and there we find ~lists of block indices~, so the machine might have to try 2 or 3 blocks before it finds tx.
asciilifeform: BUT if there are collisions, the upper bit of the 32bit entry, is set. and then we know that the lower 31, are an index into another contiguous array
asciilifeform: lemme finish plox
asciilifeform: after which finding the actual tx is an O(N) operation in the block, with small N (the tx in the block)
asciilifeform: if there are no collisions (i.e. there is no other tx on the disk whose id begins with 3ec455a2) then that entry in the array IS the block index where the tx lives.
asciilifeform: now you store the table as follows: the top 32 bits (e.g., 3ec455a2 from above) are an array index into this table ☟︎
asciilifeform: picture a 16GB contiguous block of ssd. you cut it up so that it corresponds to 2^32 x 32bits.
asciilifeform: btw i will also put down in the log, one very simple possible algorithm for a 'txidx-fs' : ☟︎☟︎☟︎
asciilifeform: lookup+store
asciilifeform: and likewise when a new block comes, all of the tx in it, get indexed this way.
asciilifeform: ... so that a 256-bit turd, e.g., 3ec455a2a84e978687a3990cec73f36b324fbd28e03603c6d9fc52018b001558, can be taken and matched to a block # where said tx lives. ☟︎
asciilifeform: it exists (wallet idiocy aside) in trb for 1 purpose and 1 purpose only
asciilifeform: let's put down in the log, what exactly ye olde bdb does, that eats 99+% of trb's wall clock:
asciilifeform: to rephrase, this would tell something useful if we had with what to directly compare it with -- what operation in ye olde bdb would this measure correspond to ? ☟︎☟︎
asciilifeform: wtf is 'dockerfs' ☟︎
asciilifeform: and connected how ? ( sata2 ? 3 ? )
asciilifeform: and on top of what (ext4 ? )
asciilifeform: ssd ?
asciilifeform: also, on what
asciilifeform: aah
asciilifeform: does this include the actual read ?
asciilifeform: ok backtracking : what means 'resolution'
asciilifeform: that's slightly slower, looks like, than the old db.. ☟︎
asciilifeform: worx?
asciilifeform: trinque: i.e. your login is 'tunnel', not 'deedbot'
asciilifeform: trinque: you gotta log in as shown in the recipe
asciilifeform: 'if not you, then who' (tm) (r)
asciilifeform: somehow, long ago internalized mircea_popescu's above point re the model airplanes.
asciilifeform: http://btcbase.org/log/2017-03-10#1624188 << i built myself a 'games box' , not long ago, 'to unwind', but turned out that the part of my head that was able to enjoy this, had atrophied, found myself constantly 'if i'm this awake, oughta be running $experiment, finishing up $unfinisheds', etc. ended up giving the (princely) fuckofftron to brother to play with. ☝︎
asciilifeform: ( the sane folx, who had alphas with tru64, openvms, etc, went 'wtf why would i even think of winblowz' -- which wouldn't do. whole edifice 'musted die' )
asciilifeform: one perverse fact, is that microshit had a winblowz ecosystem for it, ready to go, it could have been he 'designated winner' in intel's place. except -- no, because gotta target the konsoomer chump junk ...
asciilifeform: not quite 'fits in head' machine, but 'fits in book'
asciilifeform: re alphas, i am rather fond of the alpha, i have several here, possibly mentioned before
asciilifeform had a prof in uni who taught systems architecture (cpu design) with itanic as 'what not to do'
asciilifeform: afaik only known working examples are in usg heathen pits
asciilifeform: mircea_popescu: 'itanium', vliw monster for which nobody was ever able to make a useful compiler
asciilifeform: and turned from a sort of 'cyrix' , piss clones maker, into actual cpu house
asciilifeform: amd hired the designers away
asciilifeform: http://btcbase.org/log/2017-03-10#1624146 << alpha was already half-dead when hp swallowed compaq, in '02. iirc compaq shitburied it in '01 and sold all rights to intel, who proclaimed the arch now known as 'itanic' as its replacement. ☝︎☟︎
asciilifeform: phf: link to yours some time ?
asciilifeform: http://btcbase.org/log/2017-03-10#1624129 << mno ☝︎
asciilifeform: http://btcbase.org/log/2017-03-10#1624127 << the c src i linked to does not appear to match this description, seems to be honest emulator ☝︎
asciilifeform: http://btcbase.org/log/2017-03-10#1624127 << the classic alpha ver you described was in one of the subdirs, aha. and a recent g5 one (that dks mentioned to me in 2010 when he delivered the long-awaited genera alpha to my rupturefarm) ☝︎
asciilifeform: aha
asciilifeform: 'poorly conceived crackpotteries' or what it was mircea_popescu called'em.
asciilifeform: same place shiva lives.
asciilifeform: mod6: you can safely consign these to 'experimental tree' or wherever.
asciilifeform: so we're left with null set.
asciilifeform: 'block timer' is obsoleted by blackhole odometer.
asciilifeform: blackhole odometer is probably of ~very~ limited interest to folx who aren't asciilifeform
asciilifeform: (at most 0 !)
asciilifeform: it achieves 0.
asciilifeform: imho.
asciilifeform: goodbye_pingers is to be shitburied
asciilifeform: mod6: had something more specific in mind ?
asciilifeform: mod6: anything at all might need regrinding, depending on your particular tree
asciilifeform: 0
asciilifeform: ( their actual sales pitch from the period!11 )
asciilifeform: y'mean usg's 'unsinkable carrier' ?
asciilifeform: http://btcbase.org/log/2017-03-10#1624006 >> 'Sports Memorabilia & Promotional Products' >> 'Sport It, Inc.', some nowhere, usa. spamola, and diddleddebian. ☝︎
asciilifeform: http://btcbase.org/log/2017-03-10#1624012 >> 'La Socité Francaise de Médecine Morphologique et Anti-Age ' << lelzz ☝︎
asciilifeform: featuring 'nasal plant sex'
asciilifeform: (historical)
asciilifeform: https://stallman.org/articles/texas.html << further lulz re rms guest lecture at mcc.
asciilifeform: complexity of programming.'
asciilifeform: 'For a long while I was doing research in software productivity. We began asking, ‘What is wrong? And why is it so difficult? Why is it so costly? What is complexity?’ It led me to interesting research, but nothing happened. We did not discover how to formulate or mathematically express the idea of program complexity. Not program complexity in the sense of algorithmic complexity—NP-complete problems and all that jazz—but the
asciilifeform: http://wotpaste.cascadianhacker.com/pastes/6zrqi/?raw=true << re mcc, of archaeological interest.
asciilifeform: apparently was a consortium of mainframe makers, serious r&d corps, etc., worked on cad. utterly thermonuked by lisp winter and the microshitization of computing.
asciilifeform: 'MCC was part of the Artificial Intelligence boom of the 1980s, reportedly the single largest customer of both Symbolics and Lisp Machines, Inc. (and like Symbolics, was one of the first companies to register a .com domain). ' << aaaah apparently THAT's how.
asciilifeform: not so much as a broken shard of babylonian clay pot.
asciilifeform: holy fuck how can something the size of mcc vanish without ANY trace
asciilifeform: mircea_popescu: i know a handful ☟︎
asciilifeform: apparently, long-gone 'Microelectronics and Computer Technology Corporation' in austin, tx.
asciilifeform: https://groups.google.com/forum/#!topic/comp.lang.lisp/BebxJD27sao << ancient lulz found when trying to find what the fuck 'mcc' was
asciilifeform: and for the existence of rdf. motherfucker.
asciilifeform: 'epinions'
asciilifeform: and apparently responsible singlehandedly , or so himself claims, for one of the more infamous fake wotrons.
asciilifeform: (now absorbed, apparently, into google)
asciilifeform: from 'beta' list -- r.v. guha, turns out, is http://www.guha.com/cv.html , also cyc
asciilifeform: https://github.com/hanshuebner/vlm/blob/master/admin/Beta-test-customers.text << lenat!!!
asciilifeform: same link??
asciilifeform: phf: https://github.com/hanshuebner/vlm/blob/master/c-emulator/emulator.c looks like enough to build that fpga ivory...
asciilifeform: !~later tell phf https://github.com/hanshuebner/vlm << sent in by a reader. somehow this has been just sitting there since '09, without my noticing
asciilifeform bbl, meat
asciilifeform: (the 'anonymized' vendor is, most likely, vupen)
asciilifeform: mircea_popescu: http://wotpaste.cascadianhacker.com/pastes/94ar2/?raw=true << the possibly interesting bit
asciilifeform: in other lulz, http://www.rand.org/content/dam/rand/pubs/research_reports/RR1700/RR1751/RAND_RR1751.pdf >> http://wotpaste.cascadianhacker.com/pastes/JUw3R/?raw=true
asciilifeform: http://btcbase.org/log/2017-03-09#1623960 << this contains a world of pain, nao anyone can make you do 3,000 fs accesses just by asking for a block ☝︎
asciilifeform bbl, meat
asciilifeform: Framedragger: we had this thread
asciilifeform: shinohai: bitwise, the way you got'em, no browser cut'n'paste crapolade .
asciilifeform: shinohai: post the patch , the key, and the signature plox
asciilifeform: using traditional fs exposes you to 10,000s of lines of ???.
asciilifeform: if you gotta actually break compatibility with ext4 and write new kernelspace driver -- may as well design proper (b-tree) fs for trb.