log☇︎
227000+ entries in 0.148s
asciilifeform: well, through (load-sim....)
asciilifeform: then lose everything from start of the paste to ;;init.
asciilifeform: (defun sim-score (a b) (= a b)) ought to work.
asciilifeform: i just described how to toss it out
mircea_popescu: i'm not fucking learning an aminoacid matrix to be able to use diff i tell you that, ☟︎
asciilifeform: but really you just want to rip out sim-score that's in there and put in one that's a straight =)
mircea_popescu: i mean in the "wtf did the differ do" human evaluation
mircea_popescu: won't that just create a swamp of edge cases ?
asciilifeform: (you could try an' do something clever with matrix with deprioritized whitespace, and the like)
asciilifeform: ben_vulpes: you probably don't need a similarity matrix other than the unit matrix for text diffs, now that i think about it.
BingoBoingo: pete_dushenski: ty fxd
asciilifeform tore this out of a much larger proggy, and its fitness for any practical use is quite questionable, but ought to get the point across
ben_vulpes: i was hit with the ugly stick at birth, you can't scare me
ben_vulpes: kinda (gasp) itching to get my fingers into some cpp tho
ben_vulpes: study needleman-wunsch is in my todo list
asciilifeform: i wonder if he's ready to make own difftron
asciilifeform: also ben_vulpes's thing is interesting .
asciilifeform never had occasion to read or write a phptronic proggy longer than a wp config
asciilifeform enjoying this puzzler
ben_vulpes: that title is entirely incorrect
asciilifeform: where's the xor in there
adlai: mircea_popescu: thank you for the sauce though, i was about to puzzle out the exact meaning of "M%S-th" behaviorally
mircea_popescu: holy shit at some point will have to sit down and read something!
adlai has translated php precisely once in his life, and ain't nobody good time to incf!
asciilifeform: adlai looks bored, maybe he wants to translate this
mircea_popescu: you can have the php that spits that out if you wish
asciilifeform: (i'll take the original fortran, too, if it worx)
mircea_popescu: "Because the R bit is 0, we flip it and decrease our position by 1 (but not below 0)"
asciilifeform: step 3 and 4 seem to have same position into M
mircea_popescu: asciilifeform position increases by one each step, at the end of it.
asciilifeform: how does the position slide ?
mircea_popescu: calling it "state machine" is kind-of improper as i suppose the result also holds state. a cleaner separation may be advisable, but w/e.
asciilifeform: this doesn't have a traditional meaning, i am now trying to puzzle out what is meant
asciilifeform: the one slightly confusing bit is where we 'add bit to state machine'
mircea_popescu: yes but since S is 1 bit long no transform takes place (1/2 is 0)
asciilifeform: it refers to flipping bits, but none get flipped
asciilifeform: i mean in 'step 1', not in the start state
mircea_popescu: it starts as that
mircea_popescu: asciilifeform does that make any sense / is it useful ?
adlai: pete_dushenski: shana tova akhi!
pete_dushenski: ferraris older than ~20yo needed regular engine-out maintenance. every year, two at the most.
adlai: now that's a hearoglyph i haven't seen in a long time!
pete_dushenski: sorta to be expected with performance machines of this calibre
pete_dushenski wonders if baltic servers knows how many dreams phuctor is making come true
mircea_popescu: more powa to 'em.
pete_dushenski: lol yup. pretty straight and legible too
mircea_popescu: holy shit they handwrote it ?!
pete_dushenski: cheers to mircea_popescu for the regifting
pete_dushenski: straight from lithuania! (is Framedragger familiar with this brand?) ☟︎
pete_dushenski didn't realise how much eur had weakened relative to usd until bb pointed it out. 1.05 yo!
pete_dushenski: the worst part of medium is that the images don't archive. this wouldn't be an issue for most republican blogs seeing as they're entirely text, but it's actually quite the bug for fiat writers, taleb included
mircea_popescu: hey, taleb's among them.
ben_vulpes: https://blog.medium.com/renewing-mediums-focus-98f374a960be#.8gsm40qwc << "we have no fucking idea how to make money from livejournal in 2017, but that's not going to stop us from lighting our investor's capital on fire and warming ourselves in front of it while lamenting the capitalist system!" ☟︎☟︎
ben_vulpes: quite the mashup
mircea_popescu: this is just a mash-up together of elements to show how the concept works. better assemblage is probably possible.
deedbot: http://qntra.net/2017/01/fiatbitcoin-interfaces-continue-reporting-upwards-volatility-march-to-magenta-continues/ << Qntra - fiat/Bitcoin Interfaces Continue Reporting Upwards Volatility, March to Magenta Continues
adlai should probably start putting it to use at the saltbox, for home-makework
asciilifeform: adlai: indeed it does, i put it to actual use at a salt mine
asciilifeform: and yes, in m. you can give a state machine transition rule set and get animated gif out the other end. or a .avi. etc
adlai: one of the best retorts to rubes asking "why use lisp" is that macsyma still runs
asciilifeform: (state of the art in open sores world is still macsyma, circa 1975)
asciilifeform: it is not my fault that open sores people are retarded
asciilifeform: the thing is that there are no known 'human' programming systems, afaik, that give you seamless graphical ast and editable pixel-array linkage
asciilifeform: adlai: i meant 'proggy in normal language that is widely available', vs proprietary turdlang
adlai: please elaborate, what do you mean by "writing a human proggy"? what i meant by "not a full solution" is that there's supposedly a tool out there which does 'half' the job, and obviously some human must write a proggy that does the other
mircea_popescu: i'm half tempted to just write it in php, and have it write out words instead of drawings.
asciilifeform: there's http://www.sagemath.org but it is very 'open sores' travail arabe.
mircea_popescu: asciilifeform yeah but fuck me, what am i going to do, php against imagemagick ? c++ and qt ? fuck.
mircea_popescu: anyway, the general idea above being : you take all the sane parts of working hash functions, and ditch the insanities. so - no magic numbers, inside boxes, as boxes count, etc. use modulo-arithmetic and iterators, and one long cipher box.
asciilifeform: adlai: there always remains the option of writing a human proggy.
asciilifeform: it's ~10,000 man-years, in there.
asciilifeform: well i warned, it is satanic. but there is no human analogue of this tool, sadly.
asciilifeform: (d00d was obsessed with state machines, so it has a thing where you define one and it shits out a box with arrow that you can move, stepwise or at x frames/sec, and shits out gifs, etc)
mircea_popescu: yes but do i have to have mathematica now ?
mircea_popescu: "give program, input and desired slide speed" "here's how it went . tick tick tock"
mircea_popescu: yeah how fucking hard can this be, just take the ast and paint me some squares holy hell.
asciilifeform: it's satanic tho.
asciilifeform: i used to use 'mathematica' to do precisely this
mircea_popescu: anyone know of a code-to-gif compiler ? i have nfi how one's supposed to do cryptography without it.
mircea_popescu: i wish i had a way to program things in a visual manner, so i could obtain a GIF! animated! of what the algorithm is supposed to do.
mircea_popescu: eh i was tempted but im kinda too rusty.
mircea_popescu: im not sure the above notation is all that clear, but if any questions i'll gladly answer
asciilifeform: i'ma have to build a working model of this.
mircea_popescu: last bit can in principle affect the whole damned ring.
mircea_popescu: this is not true.
asciilifeform: you can tell that ~last~, for instance, bit, affects at most 1 bit of output.
mircea_popescu: nah, that's what my thing above : because of the state machine, you can't actually tell bit impact.
asciilifeform: ideally what you'd want is for ~any~ bitflip to scramble whole thing
asciilifeform: it has another problem, that i never invented yet a pill against, which is that later bits in the turdogram 'count for' considerably less than earlier ones
mircea_popescu: still, it is ~only way to get hash that doesn't do the things we don't like.
mircea_popescu: ah i musta missed that. but yeah, can craft item that takes a long time to hash
a111: Logged on 2017-01-03 23:16 asciilifeform: to go back to hashes, and if you for some reason eschew 'when hiring fortune-teller, hire the cheapest',
asciilifeform: i suggested this, iirc, a day or two ago to ben_vulpes
mircea_popescu: it has the advantage that it needs an unspecified pile of memory (on average, half the message + half the message) for the state machine, and an unspecified number of operations (on average, 2x as many as message length).
mircea_popescu: . for each bit of M that is read : if 0 state machine gets a null bit added at the end ; if 1 state machine gets the M%S-th, 2M%S-th, ... nM%S-th bits flipped, for n=bitcount of S ; if 0 and the M-th % R-th bit = 1 then it is flipped, else it goes back to processing M-1th ; if 1 and the M-th % R-th bit = M-th % S-th bit then it is flipped, else it goes back to processing M-1th. that sort of thing.
mircea_popescu: asciilifeform btw it occurs to me that your proposed padding scheme, while not useful as a rsa padding scheme, nevertheless may be rescued into a very serviceable hash function, which has the notable property that a) acordion and b) user settable output size. something like this : let R be a ring buffer of as many bits as the user specified the output should be, let M be the message. let there be a one bit state machine S = 0
asciilifeform: speaking of tardware: https://archive.is/9l8z8
mircea_popescu: BingoBoingo neah, the imaginary ethereum exchange rate went EVEN HIGHER THAN BTC!!111
mircea_popescu: unlike last time, bitcoin totally worth >1k nao.
deedbot: http://trilema.com/2017/dupa-dealuri/ << Trilema - Dupa dealuri