log☇︎
82300+ entries in 0.025s
asciilifeform: ugh
asciilifeform: ( the increment is about 4ms each, so neglected )
asciilifeform: sec. for mod6's thing, approx. ☟︎
asciilifeform: !~calc 0.240 * 65536
asciilifeform: so,
asciilifeform: on my box, a 1048576bit ffa has a 240ms mul.
asciilifeform: sure
asciilifeform: mod6: re upstack, http://mathworld.wolfram.com/StirlingsApproximation.html has the details.
asciilifeform: just determine the C, and multiply.
asciilifeform: you can immediately say how long the thing will take.
asciilifeform: mod6: other thing, since ffa is constant time, your N! is in O(N) (if mul were considered a constant op and brought outside of the brackets. which is is, 10! with 4096bit ffa, takes exactly C longer than 9! with 4096bit ffa. etc )
asciilifeform: which, btw, imho is intrinsically unsuitable for a fits-in-head rsatron, it is extremely gnarly and uses float approximations that get magically unfudged back to int, etc
asciilifeform: mod6: if you actually had to work with Mb-sized ints regularly, you'd want fft mul
asciilifeform: well, numerical fudge thereof
asciilifeform: mod6: stirling's method
asciilifeform: mod6: think of ffa as a soldier's entrenching spade. you wouldn't dig a foundation for a new house with it. but it is bare naked simple, + adequate and entirely so for entrenching, and for the occasional bout of hand-to-hand.
asciilifeform: mod6: notice, we could trivially trap on overflow, but that ain't constanttime!
asciilifeform: meanwhile!, in sunny monkeylandia, https://archive.is/a3GZE >> 'Visa... offering up to $10,000 each to 50 U.S.-based small business owners that are committed to going cashless... "We are declaring war on cash," said Andy Gerlt, a spokesman for Visa.' ☟︎
asciilifeform: or overflowola.
asciilifeform: mod6: it won't affect whether it's still going, but whether you get anything resembling the correct answer on the way out
asciilifeform: well Mb rather.
asciilifeform: didja give it one, mod6 ?
asciilifeform: almost a MB
asciilifeform: ;;calc 1.326 + log(65536)/2*log(2) + (log(65536)/log(2) - 1.443)*65536
asciilifeform: !!up gribble
asciilifeform: http://btcbase.org/log/2017-07-15#1684140 << let's, ☝︎
asciilifeform: http://btcbase.org/log/2017-07-15#1684164 << this is a hot chix, she almost has a determined, 'partizan' face. ☝︎
asciilifeform: http://btcbase.org/log/2017-07-15#1684145 << lol the original pediwikia d00d!111 ☝︎
asciilifeform: ( spoiler for http://btcbase.org/log/2017-07-15#1684187 . ) ☝︎
asciilifeform: !~later tell mod6 1.326 + log2(N)/2 + (log2(N) - 1.443)*N gives bitlength of N! to 1% or so. ☟︎
asciilifeform: line.
asciilifeform: 1linel
asciilifeform: i quite deliberately did not put this in. who wants, can put in at his own peril.
asciilifeform: btw if you're actually doing something that doesn't need constanttime, you can simply put the obvious check-for-zero in the karatsuba and get 2-9000x boost for mul. ☟︎
asciilifeform: ( it dun even need >8bit cpu, to work )
asciilifeform: i kinda like it how it was : short, sweet, portable to whatever, apple2.
asciilifeform: but wai.
asciilifeform: now for the truly ugly variant, asm for the inner w*w mult gives another 2x.
asciilifeform: ( it is possible also to get 3x speed boost , on machines with 3 or moar cpu cores, on top of all, by allowing tasking ; this adds 12 or so lines. but i'd rather not , it subtracts from msdosificatability )
asciilifeform: i am considering including a karatsuba squaring case - for 2x speed boost; but that's definitely it.
asciilifeform: not built for speed. but for simplicity. the only concessions to optimization (karatsuba, etc) are strictly what was necessary to get to where rsa happens in merely annoying, rather than geological, time .
asciilifeform: ( in fact it will never win speedwise against ~anything at all. but factorial is probably the worst item. )
asciilifeform: while we're on subj, ffa is more or less guaranteed to lose to just about any heathen bignumtron in factorial speed, and it should not be hard to see why. ☟︎
asciilifeform: http://btcbase.org/log/2017-07-15#1684143 << use stirling's method, or you will waste many days ☝︎☟︎
asciilifeform: http://btcbase.org/log/2017-07-14#1683901 << it is not clear to asciilifeform that the 'wire 50bux to somalia and it costs 70' people are any smarter than the lottery players. ☝︎
asciilifeform: http://btcbase.org/log/2017-07-15#1683904 << try using machine without poettering on it. i recommend. ☝︎
asciilifeform: http://btcbase.org/log/2017-07-15#1683912 << see also http://trilema.com/2016/minigame-is-probably-never-going-to-support-python-3/ ☝︎
asciilifeform: aka fits-in-head.
asciilifeform: http://btcbase.org/log/2017-07-15#1683928 << try, some time : BRAINSEC ☝︎
asciilifeform: ? and why
asciilifeform: mod6: ...what is
asciilifeform wonders if 'unboxing vid' for nuke has yet been filmed. if not, genre has room for growth!111 ☟︎
asciilifeform: apparently subj was well-packed.
asciilifeform: d00d has a number of these films.
asciilifeform: mod6: su equiv.
asciilifeform: https://www.youtube.com/watch?v=fwczkhCMYgM << in other unboxings..
asciilifeform: mod6: on what ?
asciilifeform: what happened to 'learn langs even if you gotta hang upside down, like odin'
asciilifeform: poor darlings
asciilifeform had nfi it were there, waves to it
asciilifeform: we have a genpop?!
asciilifeform: asciilifeform's pet is doing pretty well with ru
asciilifeform: hey they're (surprise..) people too, can in fact learn human languages
asciilifeform: занавеска, ->у because she's getting it
asciilifeform: oblig: 'Штирлиц встал утром спозаранку и отодрал на окне занавеску. Он не знал, что Позаранку и Занавеску были румынскими разведчицами...'
asciilifeform: so that'd be yer word then
asciilifeform: right
asciilifeform: lol
asciilifeform: my dictionary suggests that it is a rag, not a handkerchief ?
asciilifeform: evidently
asciilifeform: wouldn't be the 1st time
asciilifeform: платок?
asciilifeform: nein
asciilifeform: lolwut
asciilifeform: phpolade
asciilifeform: 0
asciilifeform: because totally does sumthing.
asciilifeform: in other lulz, folx pumping MBs of liquishit into snsa shop POST form
asciilifeform: but sounds quite familiar.
asciilifeform: not immediately
asciilifeform: the one about 'beelzebub put them upon the green earth to work to death' or how it went
asciilifeform: or at least the last para
asciilifeform: iirc there was an english of this also
asciilifeform: mircea_popescu: lolyes
asciilifeform: lol
asciilifeform: http://btcbase.org/log/2017-07-14#1683618 << 'at your age, sergei lazo was already circling around the locomotive!' ☝︎☟︎
asciilifeform: mircea_popescu: dun think so
asciilifeform: http://ixbt.photo/?id=photo:1161014 also.
asciilifeform: and, oblig, http://citramon.net/uploads/images/00/00/02/2014/11/16/f0a62f.jpg .
asciilifeform: http://btcbase.org/log/2017-07-14#1683652 << lol лампочка ильича (tm)(r)!!! ☝︎
asciilifeform: kzzzbzzpt.
asciilifeform: ... he certainly Got Something Exciting.
asciilifeform: http://btcbase.org/log/2017-07-14#1683634 << the picture that invites itself is that 1890s drunken d00d putting the two wires together ☝︎
asciilifeform: !#s reactor rods
asciilifeform: http://btcbase.org/log/2017-07-14#1683606 << ahahahahaha ☝︎
asciilifeform: and where's my 8192bit cpu!11
asciilifeform: mno.
asciilifeform: sometimes i wonder if anybody actually reads these things.
asciilifeform: in other lullomatics, asciilifeform found a trivial 2x speedup for ffa exp
asciilifeform: i nearly forgot that this existed.