log☇︎
66100+ entries in 0.032s
mircea_popescu: "have you thought about what'll you do about lingerie ? TRIBAL GIRLS CANT WEAR ANY!"
mircea_popescu: and in today's reason #5409834 why tattoos are a bad idea : http://68.media.tumblr.com/c853da0a74a94227229869f0e9c8f35d/tumblr_nv9nfgHcTJ1stfekto1_1280.jpg
mircea_popescu: alf : "probvlem is mod is not distributive" me : "it can be made, cheaply" alf : "no, it can not" me : "here" alf : "oh, i did that back in july". then wtf are you griping about.
mircea_popescu: good for you ; but your problem isn't what you presented it as being.
mircea_popescu: nothing wrong with that!
mircea_popescu: the algo is above.
mircea_popescu: some things are just not worth the cycles.
mircea_popescu: i'll just pass.
mircea_popescu: the procedure is both obvious and insistently discussed above.
mircea_popescu: the EXTRA COST of making mod actually distributive is SMALL.
mircea_popescu: this approach of "i have a girlfriend and i am blind to all else" doesn't work with girlfriends, or anything else.
mircea_popescu: because you're dedicatedly stubborn.
mircea_popescu: jesus fuck already.
mircea_popescu: that i can believe. though i expect the above is actually cheaper than adding teh numbers first and modding after.
mircea_popescu: so you won't have many passes of it. just as many as elements in list at the most.
mircea_popescu: yes, but this is very cheap here. because the elements in list are < mod
mircea_popescu: exactly.
mircea_popescu: yep
mircea_popescu: we can, IF we do all the branches the same way!
mircea_popescu: this will always take the same ops no matter what elements are in the original list.
mircea_popescu: repeat 2 until you have populated a list of equal length, and return the correct element from it.
mircea_popescu: 2.2 if smaller, add mod to it
mircea_popescu: 2.1 if larger, substract mod from it
mircea_popescu: 2. compare result to mod ;
mircea_popescu: 1. sum the list.
mircea_popescu: for simplicity, input list limited to 2 elements, but expansion obvious.
mircea_popescu: asciilifeform :
mircea_popescu: asciilifeform let me write it out then.
mircea_popescu: and this is potentially recursive, in that if you have a 500 bit number with 300 ones in it, you do the mod for 500 terms which are all a power of 2, throw 200 away, keep the other 300 and add them. ☟︎
mircea_popescu: and STILL be constant.
mircea_popescu: that is not my concern! if there IS a mod, then yo ucan apply it to the terms rather than add them first and apply to result, is all i'm saying.
mircea_popescu: is this making sense or should i show the function ?
mircea_popescu: so you just write it out.
mircea_popescu: you understand, a mod x + b mod x + c mod x may be > x, but never by more than op count * x.
mircea_popescu: and you save what, 10% of run time
mircea_popescu: then you feed the kara terms into it
mircea_popescu: THIS can be done.
mircea_popescu: you write by hand a function which takes a list with a promise none of the items on it exceed a mod, and returns the mod of the sum of the sum of the elements, in constant time.
mircea_popescu: just write it all out by hand, the constanttime mod distributivetor.
mircea_popescu: so you make it. the bound is 3x the mod!
mircea_popescu: that small cost can be slightly higher and constant time.
mircea_popescu: i am talking about how mod is distributive to addition "at a small cost".
mircea_popescu: it will be ugly but it saves lives and stays correct.
mircea_popescu: you can write this coda so it is constant.
mircea_popescu: asciilifeform you understand you need AT MOST a single pass of knuth ? because it may exceed the mod but never by more than 3x ?
mircea_popescu: gimme an a b c ill try it right here
mircea_popescu: it is distributive in this sense at a minimum cost (tm).
mircea_popescu: of course it is ?
mircea_popescu: 14 mod 5 + 11 mod 5 = 25 mod 5!
mircea_popescu: asciilifeform how is mod not distributive!
mircea_popescu: heh.
mircea_popescu: (in a sense, key update with deedbot is like bitcoin spending!)
mircea_popescu: but you can also update the old one, easier and safe.
mircea_popescu: on a new name.
mircea_popescu: fix your key already would you.
mircea_popescu: !!up rothbart
mircea_popescu: THE PROBLEM WITH MATHS IS OTHER PEOPLE GOT HERE FIRST
mircea_popescu: yes yes
mircea_popescu: o fuck already.
mircea_popescu: ie, all the trivial polynomials of the mod, see ? x, x^2 + x, x ^ 3 + x etc etc
mircea_popescu: asciilifeform if you maintain a list of the mod and it squares
mircea_popescu: asciilifeform how about something like squares interpolation ?
mircea_popescu: the exact same will happen again. "oh, you had a consensus ? lol."
mircea_popescu: so the chain forked.
mircea_popescu: rothbart you're perhaps too new to know this, but the PREVIOUS time there was "miner consensus" it turned out the miners that "voted" and "supermajority" didn't give the slightest shit about the whole thing, and did NOT actually implement what they were misrepresented as having supported.
mircea_popescu: just mine a block with it spent, and that's that.
mircea_popescu: rothbart they don't need to do anything.
mircea_popescu: but whatever, i don't mind making money out of mit's "blockchain of the future", like i didn't mind fleecing "ripple" or cashing btc crash. free bitcoin will continue for as long as usg can draw breath, i'm not against. let them lose what they can't invest.
mircea_popescu: (always and everywhere, the stupid poor. to them it makes sense, they've nothingh to lose anyway)
mircea_popescu: rothbart yes.
mircea_popescu: (to be, of coruse, rehashed again and again forever, like mike gavin's asshole.)
mircea_popescu: the t1 wreckers may yell all they want this "is not right". but in bitcoin longest chain prevails, and so the story ends
mircea_popescu: now then. at time t2, any of those involved, or any third party, simply SPENDS that bitcoin.
mircea_popescu: oin chain. on the basis of these mystery strings, OTHER PARTIES, which ARE IN NO WAY BOUND TO THIS, alloocate wholly imaginary bitcoins to the sort of imbeciles who buy into this scheme (always and everywhere, the stupid poor. to them it makes sense, they've nothingh to lose anyway)
mircea_popescu: let's drop the math for a moment and delve. at time t0, bitcoin works. at time t1, some wreckers under "public pressure" as discussed well in http://trilema.com/2013/digging-through-archives-yields-gold/ attempt to attack this bitcoin that works, by producing an alt-bitcoin, that does not work. the specific way in which the alt-bitcoin thatr does not work "works" is by deeding (exactly like deedbot) some strings into the bitc
mircea_popescu: no.
mircea_popescu: rothbart that made no sense.
mircea_popescu: whole fucking point of segwit is to try and take pow away.
mircea_popescu: there is no pow in segwit.
mircea_popescu: how did you reason to arrive to that ?
mircea_popescu: but otherwise, prb much like any other windows app does not natively produce data in portable format.
mircea_popescu: rothbart if you have it in a portable data format, can just feed it into trb
mircea_popescu: what about off-by-ones lessee
mircea_popescu: "what do you mean this problem is hard, i have a half baked item in my head i pompously call abstraction in which it is EASY!!!"
mircea_popescu: let it not be said no one here speaks haskell.
mircea_popescu: i tried the haskell approach to "Solving" problems, whadda ya want from me.
mircea_popescu: take last digit, done.
mircea_popescu: yes.
mircea_popescu: asciilifeform do you know how to ffa-base-convert ?
mircea_popescu: myeah.
mircea_popescu: this is a great fucking problem though.
mircea_popescu: right you are.
mircea_popescu: oh damn
mircea_popescu: 1. multiply x and y ; 2. count bits of result ; 3. count bits of modulus ; 4. multiply modulus with count2 - count3 and test if larger than result. if not, substract. if yes, multiply with count2-count3-1 and do the same. repeat until result smaller than modulus.
mircea_popescu: ok, how slow is the following heuristicized approach :
mircea_popescu: http://btcbase.org/log/2017-09-12#1712588 << i freely admit so well formalized this is a tantalizing problem. how slow is the obvious "multiply x and y, substract modulus from result until result smaller than modulus" ? ☝︎
mircea_popescu: srsly, 240 seconds since the microsecond previous n lines ? pshaw.
mircea_popescu: !!up rothbart
mircea_popescu: if anyone can explain wtf sense this makes...
mircea_popescu: Sep 12 14:43:18 * Disconnected (Remote host closed socket).