log☇︎
69600+ entries in 0.04s
asciilifeform: ( presently, the 'model f' thing, in the past, others )
asciilifeform: if i ever find that mine stopped, whole thing is going to dissection table, fg, comp, power supplies, etc
mircea_popescu: anyway, point being -- lamp's enough, don't have to turn off the chap's computor.
mircea_popescu: imagine if fg had to come with semi tractor trailer.
asciilifeform: mircea_popescu: btw recall that we have red lamp already ( iirc i suggested claxon too, back in the design days, but mircea_popescu said enuff-is-enuff )
mircea_popescu: you know, boat crashes on amazon island. some of the sailors -- excited to be rescued. some others -- burned down rescuer ships.
mircea_popescu: i suppose the dog&man permutation duality translates escape-or-enslave dilemma.
asciilifeform scratches carapace thoughtfully
mircea_popescu: but maybe im too kafkian.
mircea_popescu: scale so large, the dog sneaks up on you.
asciilifeform: eh imho that's a 'dog bites man'. i'm moar into 'man bites dog', i.e. ~habitable~ 'small' changes-in-physics...
mircea_popescu: "my phd in ancient history is -- the reason X civilisation died. turns out, physics subtly cvhanged, rendering environment uninhabitable for them"
asciilifeform: but let the archaeologist find the fyootoor maskrom'd one.
asciilifeform: well the current crop aint rated to last >25yrs, not without rewriting the eeprom anyway
mircea_popescu: FOR THE FIRST TIME IN ITS HISTORY
mircea_popescu: and manages to figure out how to use ONE artefact
asciilifeform: ( and not as if it had no 'jesus bolt', it is sadly unknown to me how to make entirely without one )
asciilifeform: i'd be pretty interested to see FG spontaneously fail, what with the 4x redundant iron.
mircea_popescu: anyone told you before ?
asciilifeform: mircea_popescu: imho it's the honest thing to do. red lamp, 'grab yer parachutes nao!!', claxons.
mircea_popescu: asciilifeform this is an amusing symmetry, republican machine that halts if it can't touch entropy like imperial machine that halts if it can't phone nsa hq.
mircea_popescu: not what we were talking about! still error condition.
asciilifeform: ( if rng is sad, absolutely anyffing can happen, and imho this oughta be understood by errybody )
mircea_popescu: unless there's further constraints, such as "all random numbers are 4"
asciilifeform: mircea_popescu: compute, for a laugh, the size of the disk where this can take place
mircea_popescu: full the other way (all possible names present)
asciilifeform: bvt: thing is, there is 0 reason for this operation to ever eggog
mircea_popescu: bvt unless "new" posix, that's what it is yes.
phf: asciilifeform: to be fair musl's version is naive, it generates/stats in a loop until there's no collision, but theoretically you can still get a race condition. glibc i believe does all kinds of smart tricks to ensure that doesn't happen, but it's all magic
mircea_popescu: though i've never seen this thing where parallel execution gets same clock value. i half suspect it's hardware fucked to not.
asciilifeform: iirc we actually had this thread, and asciilifeform concluded 'just get 256bits from FG, and you're golden'
asciilifeform: mircea_popescu: not that i see it as particularly likely, but afaik cannot be guaranteed not to, at least not w/out using inline asm, e.g. RDTSC on x86
phf: well, you still have to stat the filesystem to make sure you're not clobbering
mircea_popescu: mtime ever returns the same value ?
asciilifeform: 2 get same time turd, then collide, neh
mircea_popescu: phf why do you even use it at all ? i mean... hash the time with a salt, that's your filename. no good ?
asciilifeform: bvt: try voicing yourself ( pm deedbot, see the linked help )
phf: posix mandates 6 x's, glibc 3 or more, etc. thanks bvt for catching it, though it seems like a solution is to roll own
asciilifeform: nobody's baked a proper one yet. tho i can't presently see why it'd be difficult
mircea_popescu: why are we importing this turdology again ?
asciilifeform: mkstemp : 'In glibc versions 2.06 and earlier, the file is created with permissions 0666, that is, read and write for all users. This old behavior may be a security risk... ...More generally, the POSIX specification of mkstemp() does not say anything about file modes...'
mircea_popescu: let me guess, this is like, the golden age of f&o&linus source ?
mircea_popescu: is a security risk. The race is avoided by mkstemp(3)."
mircea_popescu: ing whether the name exists and opening the file, every use of mktemp()
mircea_popescu: are easy to guess, and on the other hand there is a race between test‐
mircea_popescu: 26 different names can be returned. Since on the one hand the names
mircea_popescu: XXXXXX by the current process ID and a single letter, so that at most
mircea_popescu: since we're doing this... "BUGS
asciilifeform: 'The mktemp() function generates a unique temporary filename from template. The last six characters of template must be XXXXXX and these are replaced with a string that...' etc
asciilifeform: ( yes, they are. but posix, rather than gnat per se )
mircea_popescu: asciilifeform in more general considerations, http://btcbase.org/log/2018-10-10#1860386 << why the fuck are they doing the satoshi * thing! ☝︎
mircea_popescu: (this is not even so trivial a point -- generally insanity is perceived as so very personal by the insane.
mircea_popescu: well, they say the path to sanity comes with finding out there's a word for insanity
bvt: I was man-aloning for quite some time
bvt: I was too naive when I entered academia. Hoped for honest investigation of technology, but everyone there seems to be ok with building on broken stuff.
asciilifeform: tho i wonder -- in principle academics get to pick their subject. so how'd you end up with ~that~ ?
asciilifeform: hey, asciilifeform does a similarly loathesome, and at times ~identical, thing, for money in the saeculum. for so long as you approach it the way kepler approached his work as horoscope-maker, it's livable
bvt: "security", so in the end in boils down to handwaving problems away with TLS (aka pseudosecurity)
asciilifeform: bvt: tell us a bit about yerself
bvt: well, I was reading logs for a really long time
asciilifeform: bvt: i assume you already know how to self-voice; if not, deedbot.org/help.html
asciilifeform: iirc ave1's current draft of libc-less gnat is based on 17. but afaik nobody's tried the thing on it yet ( with possible exception of bvt )
bvt: GNAT 2017, though, deletes such files on Close call.
asciilifeform: per the standard it fires when object goes out of scope
bvt: GNAT 2016 runtime deletes all files with temp bits at the Finalization stage, so everything should work fine. (Not an ada specialist, so when finalization is actually run is a mistery to me)
bvt: sorry, slow typer
asciilifeform: bvt: plz answer the given q tho
bvt: but also sets a Temp bit in File record
asciilifeform: or is this a theoretical boojum
asciilifeform: bvt: didja get the orig to actually fail ?
bvt: musl wants 6 template chars: http://git.musl-libc.org/cgit/musl/tree/src/temp/mktemp.c#n13
bvt: basically, template variable here: http://btcbase.org/patches/vtools_vpatch#L285 is too short.
asciilifeform: bvt: since you're already playing with a vtron, i suspect you know what the correct process is re patch
bvt: Sorry, don't have a WWW, but the fix should be a one-liner
asciilifeform: bvt: possibly fastest n00b-birth-to-key-regged to date
bvt: Hello, I am BT from the recent diana_coman's comments section ☟︎
a111: Logged on 2017-03-02 18:10 asciilifeform: a 'secure prng' is fundamentally THE SAME animal as the 'secure hash' and the 'secure blockcipher'.
asciilifeform: http://btcbase.org/log/2017-03-02#1621201 << the orig, iirc, thrd, re subj. ☝︎
a111: Logged on 2017-12-29 15:55 asciilifeform: but to return upstack , if one could design a satisfactory ( somehow! ) hash , it would thereby also necessarily be a satisfactory symm cipher.
asciilifeform: ( http://btcbase.org/log/2017-12-29#1760718 << 1 thread. ) ☝︎
asciilifeform: the 1 plus of keccak-abuse is that you can make the key whatever size you want. but that's more or less it.
asciilifeform: ( stream ciphers are a 'religious' topic , imho )
asciilifeform: mircea_popescu: keccak even worx as a stream cipher, and afaik no better or worse than other extant examples.
mircea_popescu: certainly i'd rather use keccak than ~anything else for the "make crypto out of trapdoor" style alf thing for example
mircea_popescu: i can't think of what else is a hash used for.
mircea_popescu: problem with sha is that it has no niche besides "fuck you, i'm lazy", and even there... md5.
asciilifeform: it closes the remaining gap ( in his variant, long-connected but non-block-delivering peers get hassled for blox proactively )
asciilifeform: Mocky: 'aggressive' trb vs regular, is just about 'night and day'. i also have ben_vulpes's 'super aggression' item lined up for test.
asciilifeform: ( simply swap the 'sha512sum' in http://www.loper-os.org/pub/turdsums/readme_s.txt for phf's standalone keccaktron )
asciilifeform: incl. the block archiver
asciilifeform: mircea_popescu: keccak is exactly the right pill for trbi, and iirc mircea_popescu was actually 1st to point this out, yrs ago
mircea_popescu: Mocky it's a riff on how they use tiny mouthfuls at time. car just goes.
mircea_popescu: in the immortal words of kramer, "i tried to make gravel and... it... it just didn't work"
mircea_popescu: for the job here discussed, keccak stands with "other hash" like car stands with kitchen robot.
Mocky: mircea_popescu, the significance of keccak here is to have a better hash of same?
Mocky: oh, i didn't realize it was that much better with aggression. my prior, discouraged attempt was without aggression and looking to be substantially slower than 3 weeks
asciilifeform: ^ see also threads.
asciilifeform: i've thought in the past to have aluminum ( see l0gz re why ) cd's pressed with some qty of blocks
asciilifeform: but to hash'em -- useful.
asciilifeform: Mocky: keep in mind that 'aggressive' trb syncs in (pessimistically) 2-3 weeks. so not much point in throwing around whole balls of blox.