log☇︎
108200+ entries in 0.031s
asciilifeform: so, one possible diff might be : \4\i'm \+15\quite certainly \80\not fucking learning an aminoacid matrix to be able to use diff i tell you that ☟︎☟︎
asciilifeform: take sentence 'b': 'i'm quite certainly not fucking learning an aminoacid matrix to be able to use diff i tell you that'
asciilifeform: take sentence 'a': 'i'm not fucking learning an aminoacid matrix to be able to use diff i tell you that'
asciilifeform: let's make example...
asciilifeform: ~you~ don't need to count'em by hand.
asciilifeform: (imagine diffing a file containing zero newlines)
asciilifeform: and result , potentially, in megatonne of needless repetition.
asciilifeform: lines are crud because they make newline symbol 'magical'
asciilifeform: this is to abolish the line-based idiocy of unix diff. ☟︎
asciilifeform: ben_vulpes: i'll suggest a 'p-tronic' format for diffs. N\........ specifies N retained-of-a octets (e.g., 5\abcde ) ☟︎☟︎
asciilifeform: ben_vulpes: lol
asciilifeform: adlai: even being a connoisseur and collector of crackpotteries , it was not much to work with.
asciilifeform: i read the original turd, it was ill-specified
asciilifeform: ah lolsnoar
asciilifeform: there's a sequence-alignment altcoin..?
asciilifeform: adlai: waiwat
asciilifeform: aka memoization
asciilifeform: aha
asciilifeform: aha
asciilifeform: because it is example of 'dynamic algo'
asciilifeform: ^ nw is very often homework in algorithms class
asciilifeform: http://www.avatar.se/molbioinfo2001/dynprog/dynamic.html
asciilifeform did both homeworks
asciilifeform: adlai: imho integration by parts was more interesting than nw
asciilifeform: ideally it'd be 'like classic unix diff but less retarded re, e.g., moves'
asciilifeform: ben_vulpes: not a formal one, afaik
asciilifeform: anyway algo should be clear to ben_vulpes .
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
asciilifeform: but really you just want to rip out sim-score that's in there and put in one that's a straight =)
asciilifeform: just matrix with different nums in it.
asciilifeform: nah
asciilifeform: (you could try an' do something clever with matrix with deprioritized whitespace, and the like)
asciilifeform: so you will have simpler proggy.
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.
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
asciilifeform: (and yeah it's backwards)
asciilifeform: ^ asciilifeform's past life
asciilifeform: there.
asciilifeform: ben_vulpes: http://wotpaste.cascadianhacker.com/pastes/KAkk0/?raw=true ☟︎
asciilifeform: ben_vulpes: are you ready for some ugly ?
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
asciilifeform: (if a == b : b <= 1; else b <= 0)
asciilifeform: from my reading, it looks like an nxor
asciilifeform: iirc xor is either 'xor' or c-style '^' in php
asciilifeform: where's the xor in there
asciilifeform: no complaints actually
asciilifeform: adlai looks bored, maybe he wants to translate this
asciilifeform: ty
asciilifeform: aite
asciilifeform: (i'll take the original fortran, too, if it worx)
asciilifeform: can haz pseudocode , indented ?
asciilifeform: hm.
asciilifeform: step 3 and 4 seem to have same position into M
asciilifeform: how does the position slide ?
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'
asciilifeform: aah
asciilifeform: it refers to flipping bits, but none get flipped
asciilifeform: i mean in 'step 1', not in the start state
asciilifeform: mircea_popescu: why is R 0....0 in step1 ?
asciilifeform: maybe moar of a harley.
asciilifeform: aha.
asciilifeform: pete_dushenski: speaking of which, phuctor is still in repair shop , engine lifted out, cleaning pistons, etc
asciilifeform looks...
asciilifeform: mircea_popescu: neato!
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
asciilifeform: (state of the art in open sores world is still macsyma, circa 1975)
asciilifeform: or mathematizer
asciilifeform: and cannot, for instance, make anything like a usable cad
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
asciilifeform sometimes works with a d00d who only knows fortran
asciilifeform: i'll read it.
asciilifeform: fortran if you like
asciilifeform: there's http://www.sagemath.org but it is very 'open sores' travail arabe.
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)
asciilifeform: quite exactly what m. does.
asciilifeform: it's satanic tho.
asciilifeform: i used to use 'mathematica' to do precisely this
asciilifeform: (unless mircea_popescu has one already)
asciilifeform: i'ma have to build a working model of this.
asciilifeform: oh?
asciilifeform: you can tell that ~last~, for instance, bit, affects at most 1 bit of output.
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
asciilifeform: ( was here, http://btcbase.org/log/2017-01-03#1595999 ) ☝︎
asciilifeform: has down-side of potential ddosability
asciilifeform: i suggested this, iirc, a day or two ago to ben_vulpes
asciilifeform: win