a111: Logged on 2017-10-07 21:09 apeloyee: asciilifeform: turns out a simple, ffa-suitable O(N^2) algorithm exists for GCD. This is adapted from GMP docs with one extra operation in the loop:
http://p.bvulpes.com/pastes/oupUJ/?raw=true . Note: the code as posted is likely wrong, but I'm sure the idea can be made to work.
a111: Logged on 2017-10-07 21:14 apeloyee:
http://btcbase.org/log/2017-10-07#1722289 << and the point of doing karatsuba is? you do 2 recursive calls to Mul_Karatsuba_TopOnly and one to Mul_Karatsuba. should've simply calculated upper_part(XLo*YHi), upper_part(YLo*XHi) and XHi*YHi
a111: Logged on 2017-10-07 21:25 apeloyee: the multiply-by-approximate quotient in barrett's also needs only the lower part (plus 2 extra bits to the left), and lower part of product can be computed exactly (since rounding is not a problem)
a111: Logged on 2017-10-07 21:48 apeloyee:
http://btcbase.org/log/2017-10-05#1721485 << alternatively, can *construct* numbers which don't have very small factors. pick a nonzero remainder mod 2, mod 3, ... mod largest-prime-fit-in-your-primorial and find what number of primorial is congruent to it using chinese remainder theorem
a111: Logged on 2017-08-14 16:14 asciilifeform: ( tldr : superiority of the FUCKGOATS-enabled approach, of get-new-N-bits-from-rng-then-primalitytest-until-done, vs the kochian get-N-bits-then-increment-until-passes-millerrabin )
a111: Logged on 2017-10-07 21:53 apeloyee: the primorial has to be, say, 2^32 times less than the ffa maxint. then you can add randomnumber*primorial, and such a number is equally likely to any prime from some interval
a111: Logged on 2017-10-07 22:39 phf:
http://btcbase.org/log/2017-10-07#1722379 << this is probably true but only because ffa mutates an array of bigits, where's any language level bignum system produces a whole new one for each operation
a111: Logged on 2017-10-07 16:42 shinohai: I get 0m1.236s using sbcl (i5)
a111: Logged on 2017-07-03 14:46 phf: i think ascii already made that point, that if you're profiling lisp with the vm startup, then you should also profile c machine from boot time. at the very least the vm should be warmed up by loading all the dependencies into the core, doing save-lisp on it, and then making sure that your foo.lisp has an up to date fasl. inside lisp though to achieve the optimizations you run variants of your function inside (time ...) until you bring it within the ra
mats: l0l an amzn frontend engineer friend has to work all through christmas week, got his vacation request denied by upper mgmt
mats: he put it in almost four months in advance and still can’t take a few days off
BingoBoingo: Well, he works in the retail industry. What should he expect?
a111: Logged on 2017-10-08 00:16 asciilifeform: the ONLY correct method of generating cryptoprimes, is to 1) get N bits from FUCKGOATS 2) determine, in fixed spacetime every single time, whether that string of bits constitutes a usable prime.
mircea_popescu: having a primorial at the ready to exclude a large number of common (ie, low) factors in one single gcd likely speeds this up significantly.
☟︎ a111: Logged on 2017-10-08 00:24 asciilifeform: so no, nobody is replacing miller-rabin with gcd(primorial, x).
mircea_popescu: recall diana_coman 's trick of "multiply by 6" ? pretty much the inverse of the same idea.
mircea_popescu: yes, but then would you rather 999 r-m or 995 primorial gcd and 4 r-m ?
a111: Logged on 2017-10-08 01:35 mircea_popescu: having a primorial at the ready to exclude a large number of common (ie, low) factors in one single gcd likely speeds this up significantly.
a111: Logged on 2017-08-14 17:15 asciilifeform: idea is, for pre-millerrabin litmus, take gcd(candidate, Qw) where Qw is largest primorial that fits in the ffawidth
mircea_popescu: incidentally, if looking for 4096 bit prime wouldn't the correct approach be to take 4094 bits of rng and glue 1 on either end ?
mircea_popescu: as no 0 led or 0 terminated string will ever pass anyway
shinohai: TOP KEK "Anonymous access through tor browser"!!!!
shinohai: They even bothered to vanitygen a custom tor addy
mats: saudis join turks in s-400 purchases
mats: washington must be glowering
☟︎ lobbes: !~later tell mircea_popescu ^^ 'help sexpr' and 'help json' also working. lobbesbot has been brought up to spec
jhvh1: lobbes: The operation succeeded.
mircea_popescu: is that up left item supposed to be the pennsylvania bell ? or rather some ad-hoc, tesla times large inductor ? perhaps some nuclear sikrit ?
a111: Logged on 2017-10-08 04:24 mats: washington must be glowering
shinohai: The sound of that bell instantly alerts patriotfags and sends Cuban diplomats running, complaining of sonic attacks.
mircea_popescu: is it patriotic to leak the dnc's self-important bullshit leading to the republic sinking clinton ?
spyked finally processed ~a week's worth of logs. hi all!
a111: Logged on 2017-09-29 16:39 asciilifeform wonders whether anybody would actually buy a generic fpgatronic packet eater-shitter
a111: Logged on 2017-09-30 19:14 mircea_popescu: sorry asciilifeform . all i have are my own notes, which are as all hand notes useless without hte backing of the library of origin (in this case, the universitary library of cluj). teh interwebs dun seem to have a "here's the list of trotsky letters".
mircea_popescu: here's the problem of ourdemocracy : if people are allowed to misperceive they "have choices" and feed this hallucination out of the field of choices they do not have, you end up with the sexy problem, whereby linear cost encounters unreasonably power-law distributed benefit.
spyked: yeah, thought this is probably the case
spyked: (read through the old newspapers at some point. I think it was through Trilema piece?)
a111: Logged on 2017-10-01 04:06 mircea_popescu: "If pet food companies used the same business model as startups: Jim creates a dog food factory and gives away dog food for free. 450 million dogs line up for free dog food. Purina Dog Chow understands that non-paying dog food consumers are currency, and buys Jims factory for $42 per dog." << in other historical elaineo lulz.
mircea_popescu: spyked probably the peak of his work huh ? see if you get that gherman fellow to read it once you translate it!
spyked: good idea. will give it a shot
a111: Logged on 2017-10-03 13:34 mircea_popescu: even exists in early anglo stuff, christ resurrector, christ almighty etc. though the vein exhausted itself readily and apparently without leaving much trace. i guess in the same way "everyone" knows of bedwetter's 1984 but nobody read point counterpoint, notwithstanding that huxley is the important kid in that class, not fucking blair.
mircea_popescu: and for that matter how is pulp fiction part of literature now.
spyked: wasn't, but wrote about "big brother" before it was cool, neh?
mircea_popescu: i guess the argument could be made, but what's it pay ?
mircea_popescu: there's a petulent dork going about on twitter about he "wrote about bitcoin before it was cool". i suspect the whole "cypherpunk" group of kanzure s secretly hold the same belief, that they're relevant through their failure.
spyked: same value I see in "propuneri de masuri pentru imbunatatirea [...]". historical.
mircea_popescu: i would agree that zamyatin is a brilliant pamphleteer and an interesting ethnological/"historical" source.
spyked: mircea_popescu, I'm not sure how I would evaluate it other than by looking at the "boy has no aspirations of his own; boy meets girl; boy gets in trouble; boy gets face stomped by boot" trope that's repeated throughout dystopian novels; there's probably more to it than that, but if there is, I'm not equipped with the literary baggage to see it. Orwell is fashionable nowadays because pantsuit equates Trump with big brother, and... so
phf: BingoBoingo: is that archive.is link working for you? i've been getting routing resolution errors from cloudflare, pretty consistently part few months
phf: "You've requested a page on a website (archive.is) that is on the Cloudflare network. Cloudflare is currently not routing the requested domain (archive.is). There are two potential causes of this:"
BingoBoingo: "Thats just motherfuckin mother nature" (TM)(R)
phf: well, i've been getting that error for the past two months. while there was still a heavy archive.is exchange in the logs, os i thought it's something to do with russia. i'm still getting it in u.s. though :o
phf: so i wonder if my machine has been fingerprinted somehow
phf: oh never mind false alert, i have an explicit archive.is host in my hosts file
phf: it was confusing because i was getting legitimate cloudflare issues all the while i was in russia. now i wonder if it's some dns "firewall" propagation issue
mircea_popescu: i don't get it. so you had a specific ip, which used to work, but now they changed it and instead of failing they self-advertise ?
spyked: ftr, I have archive.is in hostsfile with a different IP than the one currently returned by DNS, and not getting a cloudflare page.
phf: my specific ip was a cloudflare ip 104.28.25.2. current dig for archive.is resolves to 195.123.218.180, which is a netherlands "mobicom ltd" range. i suspect that archive.is took themselves off cloudflare in the last some months, so now i'm hitting cloudflare proxy servers and they are complaining that the host: is no longer served
phf: spyked: what ip do you have?
spyked: in hosts, the one you mentioned (195.123.218.180), while host archive.is returns 94.242.57.138
phf: odd, that last one is russian, "ooo fishnet" :)
phf: spyked: are you in u.k.?
spyked: phf, nope. ro. so... let's try some more dns servers.
phf: because the ip address is russian, but registered to a u.k hosting provider, redcentric
shinohai: Weirdly enough when I dig archive.is I get:
shinohai: archive.is. 201 IN A 84.22.118.22
spyked: dig through Google DNS: 91.235.136.108; dig through romtelecom DNS: 91.228.152.189; so yeah, mircea_popescu might be on to something here. spyed flushes dns caches.
mircea_popescu: well, in other lulz, apparently it's 91.228.152.189 in india.
mircea_popescu: phf i dun think they got off cloudflare tbh, this looks like exactly the sort of crap.
a111: Logged on 2017-10-05 00:12 ben_vulpes: > Finally, we abuse Intel SGX to hide the attack entirely from the user and the operating system, making any inspection or detection of the attack infeasible.
mircea_popescu sits here trying to remember the name of the irrelevant dork with the guns. after a while the best lead i have is "hacker lexicon" was it ? google produces nothing but wired crap ; if treated with a -wired sprinking, suddenly catb.org "jargon file" is top result.
☟︎ spyked liked ripe moar. as in, full of low-hanging fruit
mircea_popescu: oh, to try and parasitize google-reality ? just like any other zynga facebookism ? awww..
mircea_popescu: and for that matter rife, as in "rife with fleas" is how english says "full of low hanging fruit".
spyked: ty for explanation, mircea_popescu. oddly, it seems there's no strong etymological relation between the two. (ripe's related to reap, rape; rife, just Germanic for abundancy?)
a111: Logged on 2017-10-08 13:27 mircea_popescu sits here trying to remember the name of the irrelevant dork with the guns. after a while the best lead i have is "hacker lexicon" was it ? google produces nothing but wired crap ; if treated with a -wired sprinking, suddenly catb.org "jargon file" is top result.
mircea_popescu: assistence went "you don't remember esr ?" and i went "what would i remember him for ?" and they went "is this a bit ?"
mircea_popescu: no it's not a fucking bit. even if i sometimes sound just like a character, it's purely fucking accident!
a111: Logged on 2017-10-05 02:17 asciilifeform: however it would very conspicuously rock , imho, if one of you folx did this, instead of waiting.
phf: spyked: r5rs and tinyscheme are not the right places to start on the other, non-ada end, i'd recommend looking at lisp in small pieces. you can tease out the theory out of tinyscheme, but it's definitely easier not to get bogged on accidentals if you start from theory
☟︎ spyked is going through Kogge's book at the moment, incidentally. much lower level, but it should help on Lisp internals.
phf: spyked: i'd also recommend staying away from continuations, they are a cute hack and flow out of some of the classical scheme interpreter designs (i.e. CPS transform), but they are not very useful in production. instead i'd go for a tagbody that gets compiled to a bunch of jmps. in practice tagbody solves 99% of cont problems
spyked: anyway, I have much of Scheme in head. I'm looking at tinyscheme mostly to figure out what "subset of r5rs" they've implemented. though I'm expecting tinyscheme subset isn't necessarily the same as tmsr-needed subset.
phf: spyked: keep in mind that all the lispers here are common lisp programmers, so a ~practical~ scripting lisp would be LISP-family themed, rather than an explicit scheme. that's my personal experience with trying to get useful things out of shiva: having to write a bunch of "missing" hyperspec functions. asciilifeform said something similar in the past
phf: fwiw all our production lisp runs on sbcl, including btcbase. as much as i'm pimping cmucl, it's not "modern" enough to host a website on unix. i still think it's a better target for a hypothetical on the iron common lisp
mircea_popescu: phf if you had a blog and time you could sit down to do the whole discussion of that so as to inform future policymaking above and beyond simple amoebic continuation.
spyked: phf ty for lisp in small pieces reference. will look through it.
mircea_popescu: " The Saudis will not be able to link the S-400 with Saudis current (US and Europe-sourced) infrastructure, nor will they be able to connect the S-400 with US systems." << says who the everloving fuck.
☟︎☟︎ phf: i've started writing blog posts to "toughen my hand", but it's rough going, i'll add it to the list of things to write about
mircea_popescu: phf hand mollifies in solitude. to toughen must expose.
mircea_popescu: if you can read the list so it sounds like a poem, your romanian pronounciation is probably acceptable.
mircea_popescu: why the hell not, the girls are worth the trouble. brb.
a111: Logged on 2015-11-21 18:55 mircea_popescu: asciilifeform btw ever told you the joke of the muscovite trying to take a shit in bucharest ?
mircea_popescu: (cac in romanian being, obviously, off the caco cacare latin root)
mircea_popescu: asciilifeform ftr it was in plenum of the parliament thingee.
mircea_popescu: also fellow misrepresents the failure of the 1989 bucharest meeting. the events flew more or less thus : timisoara rebelled, ceausescu verbally ordered armed repression, on the basis of some discussion, but (most likely deliberately) omitted to actually issue the proper paperwork. the war minister killed himself. ceausescu ordered a meeting organised in bucharest, to announce (in the dead of a bitter winter, without proper he
mircea_popescu: ating in most homes) a list of easements, the chief buttress of which being an extra 100 lei allowed to pregnant mothers (about 1 dollar in black market rates of the time). then the people were dismissed, and they started to leave, but for some entirely to this day unknown reason they were called back. except, they DIDNT go back in order, which means the politruks didn't know who's who.
mircea_popescu: anyway. classical ceausescu regime "demonstrations" were organised very much on the ddr bank model, where you could eventually find the address of every single byte.
mircea_popescu: asciilifeform because furher was a chickenshit ? like any other 90yo ?
mircea_popescu: ceausescu was not a gallant sort of brave fellow. during a 1977 miners' revolt (they beat up the commie locals etc) he went there and very much shat it.
mircea_popescu: he was, however, fundamentally brave, in that what he told teh us style "judges" at his "trial" was that he'd much rather be dead.
mircea_popescu: still, how man faces death is a hard to paper over factor.
shinohai: !~translate so to en oogi boogi nigga nigger
jhvh1: shinohai: charges associated wound nigga nigger
shinohai: ^ I heard the above was edited by sjw on Google translate. It used to be "Take a look at the nigger"
mircea_popescu: asciilifeform anyway, it's a great postmodern moment you know, failed mangod and his broken phoneline to reality. "hello ? hello ? *mutters under breath* this is a provocation"
mircea_popescu: ("provocation", in ourdemocracy lingo of the time, is what you called enemy maneuvers.)
mircea_popescu: (because of reasons discussed in
http://trilema.com/2014/the-problem-of-ideal-social-systems-reprint/ socialisms can't have categorical terms, defined in the normal manner, but must always include the ethical color of all words in the words. so "movement" becomes either provocation (bad) or progres (good) and so following for everything, stalin's cup is named by a different cupword than hitler's self-same identical cup)
☟︎ mircea_popescu: anyway, there's a pile of disinfo and general crap surrounding the events. as an example : on 2-3 dec gorbachev hung out with bush on a soviet ship. on 4th, there was the wasaw pact meeting. gorbachev was well excited of whatever, the new bulgarian (mladenov, his college pal) and generally the western press coverage.
mircea_popescu: he wrote bucharest a general letter about it, proposing to explain what happened on the 4th. ceausescu responded that unless they have a private meeting he's not coming altogether.
mircea_popescu: this was reported (via the entirely irrelevant "sources" of talbot, beshloss & co) as "the agitation of stalinist tirant" at warsaw, "unhappy with the us-euro offensive to liquidate communism".
mircea_popescu: in point of fact, ceausescu refused to sign off on some paper establishing 20 years after the fact that the invasion of czechoslovakia was a mistake. for the fucking obvious reason that he condemned the russians at the time, and according to readily forgotten "consensus" at the time, at no small personal risk.
mircea_popescu: and he also wasn't impressed with gorbachev;s verbiage as to "disarmament", seeing how romania was spending about 3% of pib on arms in the 85-90 5year plan, whereas ussr had never went under 30% yet.
mircea_popescu: but you have to also compare and contrast with romania's declared, and tirelessly promoted official philosophy of pace and "unmingling in internal affairs of sovereign states".
mircea_popescu: guy never saw himself as much more of a su ally than saudis see themselves us allies i dun suspect.
mircea_popescu: something. consider actual live events : gorbachev says at the meeting, once they move on past his insistence on having visited the pope as if anyone gave a shit about that "we are all here, who were implicated in the czech affair, except romania, that had exited then".
mircea_popescu: guy replied "romania exited nothing, romania didn't go in, so it had not what to exit."
mircea_popescu: "nu-i adevarat (that's not true), romania nu a iesti din aceasta problema (romania didn't exit the matter), romania nu a intrat in cehoslovacia (it never entered) asa ca nu avea de unde sa iasa (had not what to exit)"
mircea_popescu: (this isn't even false, classical case of "sickly old pope")
mircea_popescu: the conclave of cardinals picked the least competent of themselves to sit on throne.
mircea_popescu: anyway, the whole meeting went in that vein, ceausescu pointed out to soviet troops still at praga, gorby was liek "oh, that is a bilateral matter" "da, stiu, este un acord bilateral incheiat dupa ocuparea cehoslovaciei" (yea, i know... post-occupation bilateral). then gorby says they can't agree in this matter and ceausescu agrees with him.
mircea_popescu: the important point for romania was that gorby wasn't going to deliver all the oil romania had contracted (and paid for). so ceausescu went to iran ; where he got ~40mn barrels with a further option, to be paid in romanian agricultural machinery.
mircea_popescu: overgrown industrial base, romania imported a lot of energy exported a lot of high tech stuff.
mircea_popescu: kinda the model since comunists came to their senses post ww2.
mircea_popescu: before that, romania exported oil. after that, imported about 50% of consumption.
mircea_popescu: and of course, "Alan Green, named ambassador to Romania by President George Bush [who called him "a good friend", "intransigent", "well introduced to my take on freedom and democracy"], died Friday in his home in Palm Springs, Calif. He was 75. Mr. Bush selected Mr. Green in 1989, and he moved into the American Embassy in Bucharest just two weeks before the dictator, Nicolae Ceausescu, was executed."
danielpbarron: !!v A9B8E39BDFDB6F827D07E95D156AD3BBE11A4165A89EC9FF957F61CDE4C47DF0
deedbot: danielpbarron rated cruciform 1 << bought a couple FUCKGOATS from me
a111: Logged on 2017-10-07 22:12 ben_vulpes: danielpbarron: wouldja mind sharing that stage3 you build your eulora gentoos with?
mircea_popescu: i don't think such a thing as randfomly polarized female wave ever existed or ever could exist.
mircea_popescu: look at that, and before the archival bot kicked in, even.
phf: i was going to say maybe it's hardcoded to mircea_popescu, but lobbes was using it too
trinque: nope, just something amiss. one sec.
trinque: danielpbarron: give it another try
trinque: today I learn autossh will sometimes exit wtf
trinque: thought it *was* a retry loop for ssh
a111: Logged on 2017-10-05 16:19 trinque: hm no a111 quote?
danielpbarron: !!v C6941C8796AD7EBE588C4C2A97DFFD5B3BDF2B2553A01E66AD2F210E28B2C45B
trinque: isn't reflected until I actually credit the account
danielpbarron: why is the deposit operation a 2-part thing? couldn't it just encrypt an address to my key with the amount to send?
trinque: that'll change, but as part of limiting the thing to this channel only
trinque: plenty of improvements left to make, for sure.
deedbot: apeloyee voiced for 30 minutes.
a111: Logged on 2017-10-07 21:14 apeloyee:
http://btcbase.org/log/2017-10-07#1722289 << and the point of doing karatsuba is? you do 2 recursive calls to Mul_Karatsuba_TopOnly and one to Mul_Karatsuba. should've simply calculated upper_part(XLo*YHi), upper_part(YLo*XHi) and XHi*YHi
apeloyee: I mean, W_Mul doesn't do karatsuba
apeloyee: compute the higher part of product X*Y as XHi*YHi+ShiftRight(XLo*YHi+XHi*YLo, K), where K is size of XLo and YLo
☟︎ apeloyee: are you disappointed by the savings of computing just the higher part yet?
apeloyee: see, it does three recursive calls, meaning the speedup is wholly dependent on the speedup of comba for half-multiply
apeloyee: three, just like normal caratsuba mul
apeloyee: and most products for which the comba is called, are full products, not half products
apeloyee: 2 half products out of 3 on the first level of recursion, 4 of 9 on second, and 8 of 27 on third, assuming 64-bit words and unrealistic 2-fold speedup of comba for half-multiply, and no overhead in karatsuba,
jhvh1: apeloyee: 4/27 = 0.14814814814814814
apeloyee: for 64-bit words, 4096-bit operands
a111: Logged on 2017-10-07 00:38 asciilifeform: mod6: you will notice that the barrett in 'crc handbook' is more complicated : it shrinks the x and then compensates later. this relies on normalization , and constanttimeized incarnation of it would have to work as apeloyee described ( i'ma try it much later, once i see what can be had re speed strictly from having asymmetric karatsuba instead of the current mega-waste )
apeloyee: so, are you putting off the top-half-multiply
apeloyee: i'ma try it next<< for less than 15% speedup (or 10% for 8192-bit operands)? converting to classical barrett should be much more productive
apeloyee: what do you do for a living ?<<sit before computer, sometimes participating in writing of, er, physics papers.
apeloyee: so top-half-multiplier isn't a moving part?
apeloyee: do you agree that top-half-mul wins 10% at most for 8192-bit operands?
trinque: apeloyee: try upping yourself
apeloyee: !!v 2E65968AB6D7D411ADAAA70B8E530119A400D844AC246114A50D95567C482A12
deedbot: You are now voiced in #trilema
trinque: great. obviously when not voiced, will have to pm.
mircea_popescu: i was going to say, the calculated %s rarely match. but theoretically, it should be less than 0.1
apeloyee:
http://btcbase.org/log/2017-10-07#1722397 << I was unclear. Let A be the number to be reduced mod N, R the approximate reciprocal, K the ffa bitness fitting the modulus, then we know that 0<A - N*floor(A*R/4^K) < 2*N <2^(K+1). So might as well calculate A - N*floor(A*R/4^K) modulo 2^(K+1).
☝︎ a111: Logged on 2017-10-07 21:25 apeloyee: the multiply-by-approximate quotient in barrett's also needs only the lower part (plus 2 extra bits to the left), and lower part of product can be computed exactly (since rounding is not a problem)
apeloyee: modulo 2^(K+2) for classical barrett.
apeloyee: right, unclear again. the muliply of N and floor(A*R/4^K) can be calculated mod 2^(K+1)
apeloyee: your choice to not implement it. i've come to the conclusion that it's not worth the effort anyway.
a111: Logged on 2017-10-08 00:16 asciilifeform: the ONLY correct method of generating cryptoprimes, is to 1) get N bits from FUCKGOATS 2) determine, in fixed spacetime every single time, whether that string of bits constitutes a usable prime.
a111: Logged on 2017-10-05 19:38 asciilifeform: for the initial sieve ~prior~ to miller-rabin
apeloyee: so if the number fails initial sieve, do you proceed to miller-rabin?
mircea_popescu: i don't see what the problem is, practically. so you leak ... how many times you had to try to get a prime ?
mircea_popescu: leaking rng quality is more of a concern for debian/prngs.
mircea_popescu: so this is more a r-m problem altogether. as that's not linear.
mircea_popescu: apeloyee no, because as he well points out, the time it takes is not unrelated to the key.
apeloyee: well, I thought it's not a problem, each round of m-r can be implemented by slightly different version of extant modexp
apeloyee: leaking number of rounds is not a problem
mircea_popescu: the true problem here is that there's not going to be a fixtime r-m
apeloyee: if you have N ffa-eligible tests, bailing early out after one of them failed is not a problem.as per above.
mircea_popescu: it naturally makes assumptions about the item you're testing.
a111: Logged on 2017-10-07 19:28 asciilifeform:
http://btcbase.org/log/2017-10-07#1722358 << point was exactly to compare like items. i.e. heathendom does NOT get to 'win' by 'oh hey the hamming weight of exponent is only 2, not 4096, so we only do 4 modexps and not 8192'
apeloyee: each round of miller-rabin is mostly a modexp which makes some tests on the intermediate results. so I don't see how you can avoid a different version of modexp
mircea_popescu: but we don't have to start low. and we don't really want to, either.
mircea_popescu: famously, maple misidentified the guy's number. not because of rng, eiher.
mircea_popescu: 2887148238050771212671429597130393991977609459279722700926516024197432303799152733116328983144639225941977803110929349655578418949441740933805615113979999421542416933972905423711002751042080134966731755152859226962916775325475044445856101949404200039904432116776619949629539250452698719329070373564032273701278453899126120309244841494728976885406024976768122077071687938121709811322297802059565867 for permanent record.
apeloyee: maple did a deterministic test
mircea_popescu: (and ftr -- aleph (carmichael numbers) = aleph(N) iirc.)
mircea_popescu: apeloyee wasn't it exactly r-m restricted to first 10 primes or such ?
apeloyee: at that cost, may also do the deterministic miller test then.
jurov: hi mircea_popescu, s.qntr is still traded? i have got some frozen mpex orders
apeloyee: doesn't run in geological (e.g. saxena) time << if you have faith in generalized riemann hypothesis and correctness of work on deterministic miller test - you have it. I don't, but running test for a week is imo greater crackpottery than believing in that.
mircea_popescu: well, the running maybe not, but ~believing~ that it achieved something, surely.
mircea_popescu: as per the ancient "doctor, random things in the house are talking to me, am i losing it ?" "have you started answering ?" "not yet" "then not yet"
mircea_popescu: asciilifeform yes but this is just the artistic side in you.
mircea_popescu: this incidentally is a fine statement of what a prime even fucking is.
mircea_popescu: "not a root of 1st degree polynomial with smaller parameters than it"
apeloyee: pray that GNFS will never be improved upon!!
mircea_popescu: asciilifeform but the test that takes longer and costs more does not consist of manic re-measuring of the same one length, repeated millions of times.
mircea_popescu: if your expectation is that the fifth attempt did not resolve the problem in a manner such as the fifth million would, there's deeper problems.
mircea_popescu: apeloyee the p/np thing is kinda the label used here for all these, zfc, gnfs, etc.
mircea_popescu: asciilifeform convergence on it is much narrower than mn tries or w/e a week provides.
mircea_popescu: i know no proof of r-m convergence in terms of factorization.
apeloyee: hey, before quadratic sieve was invented, they used to say that breaking 512-bit rsa will take eleventy zillion years and it's therefore Totally Secure (tm)
mircea_popescu: aha. and even after it was invented and before it was published.
apeloyee: why should then "ras key for 50n years" should be taken seriously then?
apeloyee: anyway, I was saying that, if spending a week, may spend a small fraction of the time on the supposed-deterministic test
apeloyee: why p, and not p1, p2, ... p419?
apeloyee: because the acceptably fast algorithms are simpler.
apeloyee: bernstein's batch trial division would seem to straightforwardly ffaize. where's the problem?
apeloyee: the fact that i don't need the batch aspect for anything, for starters << so don't.
apeloyee: the fact that divisions are dog slow, for seconds << what barrett's reduction is for.
apeloyee: but you said you was wrong in estimating performance every time!! :P
a111: Logged on 2017-10-07 21:48 apeloyee:
http://btcbase.org/log/2017-10-05#1721485 << alternatively, can *construct* numbers which don't have very small factors. pick a nonzero remainder mod 2, mod 3, ... mod largest-prime-fit-in-your-primorial and find what number of primorial is congruent to it using chinese remainder theorem
apeloyee: pack p1, p2, ... pn so it doesn't take much more space, than the product thereof.
apeloyee: what, the small primes are a secret?
apeloyee: oh noes, the enemy will learn that the first primes are 2,3,5,7,11,..!!!
apeloyee: why not lak waht's already public: the list of small primes. that' not a compromise.
☟︎ apeloyee: as usual, if primitives don't leak- this won't leak anything but the small primes. this is obvious. or are we doing associativity proof in peano arithmetic or other hair-shirt arcana (c)
apeloyee: not if it needs 8x more temp space << and karatsuba totally doesn't.
☟︎ apeloyee: you trade temp space for performance.
apeloyee: not 8x, but nether does proposed method
apeloyee: nether does proposed method require 8x
apeloyee: your fpga impl will necessarily have multipliers for various sizes of int
mircea_popescu: i expect you just get one mult for the largest size and reuse it indefinitely, nfi what he's on about with the 2n luts for every sum
☟︎ apeloyee: yes, that would fit no fpga one can buy
mircea_popescu: sadly, nobody had the foresight to fuck them with a spiked pole then.
hanbot: nor should you ever substitute "May I help you?" with "ce pula mea vrei"? << ahahaha
hanbot has doubts adhering to that list of 'rules' is even possible for most speakers
hanbot: at least the walls'll say muie long after the mouths've stopped
mircea_popescu: sooo... just had a lightning so close, made the landline phone ring.
shinohai: "Hey MP, this is Thor .... what's shakin?"
☟︎ a111: Logged on 2017-10-08 20:12 apeloyee: why not lak waht's already public: the list of small primes. that' not a compromise.
a111: Logged on 2017-10-08 20:43 apeloyee: not if it needs 8x more temp space << and karatsuba totally doesn't.
a111: Logged on 2017-10-08 20:57 mircea_popescu: i expect you just get one mult for the largest size and reuse it indefinitely, nfi what he's on about with the 2n luts for every sum
a111: Logged on 2017-10-08 18:17 apeloyee: compute the higher part of product X*Y as XHi*YHi+ShiftRight(XLo*YHi+XHi*YLo, K), where K is size of XLo and YLo