log☇︎
15000+ entries in 0.003s
asciilifeform: ( since that article, asciilifeform did get a hotter iron, but reworking rohsisms is still a bitch, the high temp tends to lift the tracks )
asciilifeform: then you'd have to do what i did aha
asciilifeform: aa
asciilifeform: ( classic pb -- ~183 C ; rohs -- ~217 )
asciilifeform: it's the 'rohs' europitarded newer ones that dunwant
asciilifeform: btw pre-07 (or so) mobos solder easily, they still have pb
asciilifeform: aite
asciilifeform: i fix mine not cuz like the smell but cuz they're rare enuff , aint nobody making moar.
asciilifeform: mircea_popescu: if you still haven't thrown that mobo and wanna put it back in service, feel free to gpgram which caps you need, and where to poste'em, i'ma send you some from own crate, then possibly you can get the bmw fixer d00d to solder it for a bottle o'rum or etc
asciilifeform: mircea_popescu: exactly like that one
asciilifeform: the 'limiting reactant' speedwise is gcd ( o(n^2), see ch. 15. ) .
asciilifeform: so we begin with the accumulator having 2*3 = 6 , and roll from there ( the first number tested is 5, then after that 7, then gets to 9 and that's the first rejected one that doesn't get multiplied in, then 11 does, then .... and so forth until the termination condition )
asciilifeform: the underlying algo, tho, oughta be obv -- if you have a primorial up to X, you dun need to do anything fancy (e.g. m-r) to get the next prime you want to multiply into it , all you need is to gcd and see if the next number is relatively prime to it, if it is -- then it is prime, and can go 'in'. ☟︎
asciilifeform still waking up, may have made other mistake in above, will leave this q also as exercise !
asciilifeform: the reg-less version, i will leave as exercise for readers.
asciilifeform: i'dve posted the commented orig version, but naturally dun fit in log line.
asciilifeform: otherwise correct expansion.
asciilifeform: typo.
asciilifeform: * $ prints, QY returns 'yes' verdict. >> grr, # prints
asciilifeform: a large % of the delta , by mass, is eggog detection + helpful message prints for same
asciilifeform: the forth-like notation admittedly requires some practice, for the unprepared ; but the win from it is a fits-in-head interpreter ( ch.17 -- 1024 ln; ch.18 , with subroutines , currently writing the docs -- 1516 , and not expected to ever grow much )
asciilifeform: for untrained eye, these are prolly indistinguishable from 'brainfuck' and other kunstkammerisms. but for trained eye, oughta be quite unambiguous imho . ☟︎
asciilifeform: fin.
asciilifeform: finally _ discards the 0 put down by the final clause of the conditional when 'not taken'. , (ch17) is the loop terminator, it pops from stack and if sees nonzero, then cycles back to the : , otherwise moves forward. in the end, x puts reg 'x' on stack, $ prints, QY returns 'yes' verdict.
asciilifeform: {_.0} happens if the upper half is not zero, i.e. overflow (really can be replaced by {}, i wrote it hastily) , it puts down a 0 so the loop will halt ; the 'else' clause is {$x.1} , where we did not overflow, so we put the xy* lower half into reg 'x' and leave a 1 on stack so the loop continues.
asciilifeform: xy*{_.0}{$x.1}_ pushes to stack and multiplies regs 'x' and 'y' ; after this, the stack contains two numbers, the upper half of the mul result followed by the lower;
asciilifeform: in the 'gcd == 1' left clause, we have xy*{_.0}{$x.1}_
asciilifeform: after this, { ..... }{.1}_, and so if it were not, the loop simply cycles again;
asciilifeform: .1= computes whether this is equal to 1, leaving 1 on stack if it were, and 0 if were not.
asciilifeform: xyG pushes to stack reg 'x', then reg 'y', and computes gcd, which then is sole item on stack.
asciilifeform: y.2+$y increments reg 'y' by 2 ( y pushes current reg 'y' to stack; .2 pushes 0x2 ; + adds the top 2 items on stack. $y assigns result to reg 'y' ).
asciilifeform: .6$x assigns 0x6 to reg 'x'. .3$y assigns 0x3 to reg 'y'. : starts loop (by pushing its pos to controlstack.)
asciilifeform: i'ma take a bit of log space to expand, cuz thing is a kind of 'pons asinorum'.
asciilifeform: *until width exceeded (the mul has nonzero upper half) to be pedantic.
asciilifeform: ( and if so, mircea_popescu's box is actually younger than mine... )
asciilifeform: mircea_popescu: surely you meant 'socket am3' ? 'socket 3' was iirc their 486-compat ! ☟︎
asciilifeform: http://btcbase.org/log/2019-03-23#1904027 << the example looks gnarly but is actually simple. in pseudocode :x:=6; y:=3; do{y:=y+2; if gcd(x,y)==1 then x:=x*y;}until (x*y is wider than width); return x ☝︎
asciilifeform: http://btcbase.org/log/2019-03-23#1904025 << is how asciilifeform ended up with http://www.loper-os.org/?p=1871 ☝︎
asciilifeform: http://btcbase.org/log/2019-03-23#1904022 << sounds like dead cap ☝︎
asciilifeform: ( 100% of problem to date, as observed by asciilifeform , has been in comments / readmes )
asciilifeform: http://btcbase.org/log/2019-03-19#1903415 << it's -gnatic , ftr. but useless, still permits liquishit ~in comments~ even if set to strictest . ☝︎
asciilifeform: ^ largest prime in the 256b primorial.
asciilifeform: !A .6$x.3$y:y.2+$yxyG.1={xy*{_.0}{$x.1}_}{.1}_,y.2-#QY
asciilifeform: !!up pehbot
asciilifeform: ( see e.g. old thrd , http://btcbase.org/log/2017-08-14#1697607 ) ☝︎
asciilifeform: ( the above req's only ch17 )
asciilifeform: exercise #3 : prove that this method worx.
asciilifeform: exercise #2 : this tape can be made ~2x faster , find how.
asciilifeform: 8192 : ~1m
asciilifeform: ~7s for 4096b
asciilifeform: e.g. ~1s for 2048b. on this iron.
asciilifeform: pretty fast, too, even for large widths
asciilifeform: exercise for readers : write ^ w/out using registers.
asciilifeform: ^ max primorial that given fits current bitness , for any set FZ bitness.
asciilifeform: !A .6$x.3$y:y.2+$yxyG.1={xy*{_.0}{$x.1}_}{.1}_,x#QY ☟︎
asciilifeform: !A help
asciilifeform: !!up pehbot
asciilifeform: and as moar pressing works permit.
asciilifeform: diana_coman: eat it as fast as comfortably fits in head but no faster.
asciilifeform: ( ch18 patch is written, and the writeup will be also in the coming days -- but i'd like to finally have 8thbit-clean thing )
asciilifeform: phf: do you have the anti-utfism patch for vdiff from earlier thrd, or do i need to bake one
asciilifeform: ohai diana_coman , phf
asciilifeform: ^ in other noose. asciilifeform had to think for coupla hrs about how to impose this fascism compactly. ended up just 3 ln.
asciilifeform: !A @foo@.0{;}_ @foo! QY
asciilifeform: !!up pehbot
asciilifeform: ( for incredulous readers outside the idjit reservation -- in usa, if burglar breaks in and eats sumthing you left in kitchen, and gets case of indigestion, he can sue and win )
asciilifeform: not only for shoot, either, witness the infamous circular saw case
asciilifeform: repeated examples of 'worked in criminal court but not civil' in recent usa.
asciilifeform: ( this applies mainly in city ; in 'flyover', 'shoot, shovel, shuddup' as i understand remains in force )
asciilifeform: ( in usa also added detail that you can generally expect to go bankrupt if you shoot, esp. if shot 'protected species' )
asciilifeform: ianal but in usa typically also
asciilifeform: rright but there are some batshit jurisdictions (e.g. ru) where you ~can~ buy the 12ga, but if shoot burglar you get longer sentence than he would've if instead him caught
asciilifeform: BingoBoingo: what do folx do with burglars in BingoBoingostan, anyway ? 12ga ? or offer tea ?
asciilifeform: and steel door
asciilifeform: bars make sense when concrete wall
asciilifeform: lol BingoBoingo , dafuq would be the point of window bars when massive glass doors and cardboard walls
asciilifeform: i.e. the great inca does ~100% of the 'picking'
asciilifeform: diana_coman: as i understand, trad pickpocket is pretty much extinct as a class in usa ( on acct of very little public transport , + very little in pockets worth taking )
asciilifeform: after 'sharers'
asciilifeform: BingoBoingo: prolly oughta put a comma in that title
asciilifeform: mircea_popescu: upstack to garbage warz -- not all garbage is created equal. e.g. asciilifeform found errything from pristine knuth aop , to far-infrared thermoelectrically cooled camera , zeiss lenses , etc. all in garbage. the key is to go to the correct garbage.
asciilifeform: BingoBoingo: i budget 10min/d for this, meself. usually consists of list of cmachine opensores liquishit where overflow most recently burn^H^H^H^found etc
asciilifeform: BingoBoingo: i cannot resist to bite : how many of these do you read erryday ? i read 1 or 2 and my dosimeter's black, i can feel brain cells shriveling up
asciilifeform still picks up comps on occasion, or items with usable parts
asciilifeform: i cant speak for other folx who dug in garbage, but when i did, this never was obstacle
asciilifeform: ( possibly in orcistans not ? )
asciilifeform: garbage around here tends to contain both $device and $charger , for some reason
asciilifeform: ( old-style 'cordless' landline handsets, also. picture, gypsy picks up and runs, but not picks up base ! )
asciilifeform: in both also saw carpet with '90s-early-2000s pnojes, sans chargers; and similar
asciilifeform: do orcs even know how to steal properly ? ( recall, sunday market, had among other things a carpet fulla... tv remotes. in ro i saw same, manned by gypsies. who the fuck steals these , and why ? who buys ? )
asciilifeform: BingoBoingo: recall how we rolled 100kg of opteron , wat, 6, 7 km , in full view of errybody ? and how no one stole
asciilifeform: who even ~is~ 'motochorro'
asciilifeform: what means 'asking'
asciilifeform: rly, where exactly ~is~ the mythical army of expert pickpocket ☟︎
asciilifeform: BingoBoingo: asciilifeform is 'disappointed' erry time goes to orcistans, nobody even tries to steal anyffin
asciilifeform: ( in point of fact, the 'cannibals' spend 99% of their time in same vegetative state as other ameri-victims )
asciilifeform: BingoBoingo: there's this notion among folx who won't even go, on a bet, to the reservation, 'cannibals will eat immediately'
asciilifeform: BingoBoingo: even there, the folx who ~never~ set foot , have muchly exaggerated picture, 'like minefield' . whereas e.g. asciilifeform spent good bit of time in e.g. bmore , and not even insulted, much less eaten
asciilifeform: !A @foo@ @foo! ; @foo! QY
asciilifeform: trinque: i expect it'll be cured when we get on a sane relay net