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: 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: 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: 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: ( 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: 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: 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: 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: 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: 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