log☇︎
15900+ entries in 0.006s
asciilifeform: !#s luby
asciilifeform: http://btcbase.org/log/2019-03-11#1901354 << spyked - i was thinking, 'let's make torrent', then realized that torrent is some (afaik) largely unexplored heathenware, possibly due for a civilized replacement. might be worth expanding on if anyone has free hands. ☝︎☟︎
asciilifeform: http://btcbase.org/log/2019-03-11#1901356 << after ch17 , asciilifeform is doomed to reimplement keccak, will have to load it into head, possibly will add to this recurrent thread ☝︎☟︎
asciilifeform: http://btcbase.org/log/2019-03-10#1901308 << it's ALL! like this. the whole motherfucking x86 arch. where is there example of ~non~-ugliness, i'd like to learn. ☝︎
asciilifeform: diana_coman: the imports in the asmolade were the 'smoking gun' there
asciilifeform back inbiz
asciilifeform also gotta bbl
asciilifeform: mircea_popescu et al : there are no cstrings in ada, unless one explicitly bakes'em in order to throw to c linked liquishit. all arrays carry their bounds with'em.
asciilifeform bbl : meat chores
asciilifeform: ^ this goes for other folx! bring out thy irons.
asciilifeform: we also host owner-operated iron (e.g. dulap is still snsa ; and trinque has some, and mod6 )
asciilifeform: i'm reluctant to do the massive rk thing until we have a semblance of working gnat for arm
asciilifeform: mircea_popescu: possibly you have an iron that wants to go in the crate ?
asciilifeform: BingoBoingo: i'd ~really~ like to avoid the scenario where i go out with a half-empty crate
asciilifeform: BingoBoingo: currently hands full restarting ffa conveyor; however will be ordering irons in next 2 wks, and scheduling flight when the items with least predictable shipment windows are in hand
asciilifeform: ^ the various drafts of this item
asciilifeform: !#s horsecocks
asciilifeform: mircea_popescu: kernel ( linus's , that is ) -- exposes. the tricky bit was/is the ada glue.
asciilifeform: mircea_popescu: ideally, mmap the inputs ☟︎
asciilifeform: tho not neccessarily required, in vdiff, the process as i understand it does not actually demand random access to the entire input
asciilifeform: mmap is the obv. logical method to handle multi-MB inputs for e.g. vdiff , without introducing heapisms
asciilifeform wonders if phf hung on waiting for asciilifeform to fix the mmap lib
asciilifeform: so it will have to have the mmap routine. ☟︎
asciilifeform: i'ma detail, ftr : 'ffacalc' runs 'as fed', i.e. 1 command at a time. but 'peh' , adult version, has support for functions and loops, and therefore requires the 'tape' to exist in memory. so currently i have 'tape can be 1000000 bytes', but this is not acceptable obv. in the long term
asciilifeform: diana_coman: the 'errything on stack' approach has its limits; it is why i wrote the mmap thing (currently stuck in limbo , but i'ma have to revive it and fix, cuz ffa 17 also is hitting against this wall, you can't expect to put 100MB on stack, you gotta mmap it
asciilifeform: trinque: deedbot dead ??
asciilifeform: diana_coman: i think he's trapped in some sorta cube hell; the squarebracket thing mircea_popescu asked for also not happened yet etc
asciilifeform: !Q later tell phf fughet for nao about http://btcbase.org/log/2019-03-01#1899897 , but wouldja pleez fix vdiff ? and tell us what sorta swamp yer stuck in, what wouldja need to get to surface ? ☝︎
asciilifeform: so hard to say 'on napkin' what mass chokes it
asciilifeform: diana_coman: iirc it throws whole file on the stack, but then also keccak eats stack
asciilifeform: i'd like to see phf come back to life and fix. failing this, 1 of us will have to ☟︎
asciilifeform: diana_coman: i do not presently know where is the barf threshold, i suspect it depends on yer stack size
asciilifeform: phf promised to fix, but then went on his ill-fated voyage
asciilifeform: mircea_popescu: we found that vdiff overflows during http://btcbase.org/log/2018-10-20#1864346 ☝︎
asciilifeform: ( the style of programming that would appear on ' asciilifeform's ideal cpu ' is best illustrated in http://btcbase.org/patches/fg-genesis/tree/fg.v . i.e. all of the independent pieces in fact run in parallel, and in deterministic time, there are no interrupts, no scheduler, etc. )
asciilifeform: http://btcbase.org/log/2019-03-10#1901140 << the down side of 'let's 512b bus' is that most cpu time (where it runs, not counting idles on i/o here) is spent in 'inner loops' where yer counting to e.g. 3. and nao you gotta move 512bits when yer counting to... 3 ☝︎
asciilifeform: http://btcbase.org/log/2019-03-10#1901153 << bake 'pile of reconnectable flipflop' and then you aint gotta ever bake anyffin else again. iirc i detailed this in ancient thread, mircea_popescu barfed ( iirc answered 'why waste so many transistor on interconnects' ) , but can't currently dig up where we had this ☝︎
asciilifeform: http://btcbase.org/log/2019-03-10#1901148 << imho the ( ~homogeneous~ variant of ) fpga is actually the correct model. i.e. you get to stitch it later into however many parallel mechanisms you happen to need on a given occasion. ☝︎
asciilifeform: http://btcbase.org/log/2019-03-10#1901147 << it indeed is, and in precisely the way described. ☝︎
asciilifeform: http://btcbase.org/log/2019-03-10#1901142 << programmable interconnect fabric ( similar to what's sold as fpga ) . iirc i detailed this in old thrd. ☝︎
asciilifeform bbl, maffs then meat
asciilifeform: i dun expect to even live to see with own eyes a machine where 64bits of addr space fully populated (on current x64 Official standard, only 48 addr lines even connected, the rest mandatory 0)
asciilifeform: ( not even speaking here of 512^512... )
asciilifeform: ( at current or even hypothetical magic '1 atom per' density )
asciilifeform: http://btcbase.org/log/2019-03-10#1901107 << 2^512 bits weigh approx what galaxy weighs, try it ☝︎
asciilifeform: http://btcbase.org/log/2019-03-10#1901094 << with or without crapple, asia laffs allthewaytothebank -- it aint as if crapple bricks are made somewhere other than shenzhen ☝︎
asciilifeform: http://btcbase.org/log/2019-03-10#1901095 << rando monkey from the zoo would make 9000x better director than the catamite d00d ( recall, what he was in charge of prev. : rounding the corners on the 'ui'.. ) ☝︎
asciilifeform: cuz It Would Be Wrong (tm)(r)(uncle al)
asciilifeform: aaaanyfffing but get rid of the idjit von neumann bottleneck and bake micro-cpus into the ram
asciilifeform: so they 'let's find sumthing to do'.
asciilifeform: http://btcbase.org/log/2019-03-10#1901108 << pipelineism, branchpredictionism, etc., all these heresies, were birthed from the fact that speed of memory fell massively behind that of cpu, in the time it takes to fetch ~anything~ you can do five digits of clock cycle ☝︎
asciilifeform: the thing with gigantic multers is that they grow physically with the cube of the bitness. hence scarce. ( tho i dun imagine even a 8192bit single-cycle multer would be remotely near as heavy as the 3bil-transistor 'let's fry eggs' pentium-xxviii or whatnot )
asciilifeform: http://btcbase.org/log/2019-03-10#1901105 << this is sorta how hillis's 'connection machine' worked. was pretty neat. ☝︎
asciilifeform: http://btcbase.org/log/2019-03-10#1901103 << i cannot resist to bite : why 512 ? ☝︎☟︎
asciilifeform: he's on ch9, where no barrett, ~80% of the cpu eaten by knuthian div.
asciilifeform: http://btcbase.org/log/2019-03-10#1901102 << see the comments ☝︎
asciilifeform: think, where else are idjits gonna ~lease~ ( the new crapple thing! not even buy, lease.. ) a brick for its weight in gold
asciilifeform: ( possibly am mistaken about this ? )
asciilifeform: http://btcbase.org/log/2019-03-10#1901090 << i was convinced somehow that crapple stores exist only in the reich ☝︎
asciilifeform: http://btcbase.org/log/2019-03-10#1901101 << recall, ave1 found that the asm inlining was ~yet another~ item partially broken in ye olde gnat ( iirc it dun let you assign registers deterministically ) ☝︎
asciilifeform: ohai mircea_popescu
asciilifeform: remember, only a terrorist(tm)(r) 'writes own crypto', 'good citizens use openssl' etc etc
asciilifeform: ( 'you want fast crypto, plebe? here, buy nsa-certified(tm)(r) cryptoaccelerator card from ibm' )
asciilifeform: but no prizes for guessing why it aint on the market.
asciilifeform: ftr an 'iron ffa' cpu does not even require a massive multiplier . even a microcoded ffa-style thing that lets you specify 'and at memory x there is a w-word int, and at y a w word int, add'em' etc , would still massively win over the extant liquishit, it would do the arithm atomically, without invoking branchpredictor, losing cache, etc.
asciilifeform: ... so 'mulx' aint in anyffing i have. if someone wants to test it with own hands, he can, otherwise fughetit.
asciilifeform: and meanwhile2, we have answr to above quandary, 'In 2017, BMI2 was further incorporated in AMD's Zen-architecture...'
asciilifeform meanwhile found today mistake in 17 , and expects it'll take several days to rewrite
asciilifeform: ftr asciilifeform suspects that 99% of what can be won from asmism in ffa, can be had simply from bvt's existing 64bit mul, plus doing adc for the additions-with-carry instead of the manually-cranked carry calc, and that all 'fancy' instructions will only lead to sad
asciilifeform: fwiw it's still a 64bit mul, the only win is that it dun set any flags (and therefore keeps the pipe flowing)
asciilifeform: http://www.loper-os.org/pub/amd64_mulx.jpg << amd seems to support ~currently~, but dun say from what date of chip specifically
asciilifeform: http://p.bvulpes.com/pastes/ncZvu/?raw=true << details, for anyone who gives a shit
asciilifeform: bvt: the only new instrs that seem to be even theoretically of use, are 'mulx' and 'adcx' -- but i dun have any iron that supports these atm, and cannot even begin to say whether constant time etc
asciilifeform: where yes it'll do a e.g. 512-bit add, but -- evidently -- using ~existing~ regs, and putting out same (or greater) amt of heat, and locking up the pipe
asciilifeform: i.e. they can't stuff any moar transistors in there, and end up offering the equiv. of ye olde 'winmodem'
asciilifeform: in lulz inspired by bvt's article, asciilifeform went and dug re 'modern' cpu arithm instructions, and found https://lemire.me/blog/2018/04/19/by-how-much-does-avx-512-slow-down-your-cpu-a-first-experiment/ << intel's crud apparently ~drops frequency~ if you use'em , ultimately nuking all gains from doing so ( they want you to use, so as to shit out binaries that crash on amd, but really gains 0 )
asciilifeform: it is such a retarded design that even intel and microshit ~tried to escape~, in 1990s. but nsa decided that it ~likes~ x86 , and for it to remain cemented standard , on acct of http://www.loper-os.org/?p=1299 .
asciilifeform: aaand this is not even to mention their seekrit 'optimizations' behind the scenes.
asciilifeform: when you build 1 of these things, there's a set of decisions that end up determining shape of whole thing; and it so happens that intel made ~all~ of the most retarded possible choices. ☟︎☟︎
asciilifeform: ( and this is not even touching the subj of the tlb cache, which is ~1/3 to half of those transistors , which we have on acct of the idjit paging scheme )
asciilifeform: if you ever wonder why your x64 iron draws 50x the wattage to do same thing as e.g. rk, wonder no longer -- the insanity where shit gets moved around to accomodate idjit instructions with fixed in/out hoppers, the insanity where you gotta set prefixes to specify what width ~each operand~ is (why this is needed ? srsly) , all of this adds up to 3bil transistors that heat the room ☟︎
asciilifeform: btw, bvt , rax etc. ~are~ encoded as 1-8, the iron dun see reg names at all, the classic names are a convention of the asmers and the vendor docs. and imho remains on acct of the asinine x86isms like MUL which use fixed input and output regs, makes'em slightly easier to remember. ☟︎
asciilifeform played it with brother
asciilifeform: was astonishingly well-balanced game, imho
asciilifeform: !Q later tell bvt http://bvt-trace.net/2019/03/ffa-chapter-9-homework-comba-in-x86_64-assembly/comment-page-1/#comment-12
asciilifeform: diana_coman: neato, i once spent half a summer in 'heroes 2' also
asciilifeform: spyked et al : http://nosuchlabs.com/pub/gutentext.tar.xz << mirror (replaced the old tarball) ☟︎
asciilifeform bbl : ffa room
asciilifeform: ( why ? asciilifeform , for instance, sometimes gotta switch gnats , and the emacsen dun see it )
asciilifeform: meanwhile, in unixtardation : apparently there is no known way to change PATH envir. var. for ~running~ processes globally
asciilifeform: spyked: aaa, seems to work, ty
asciilifeform: trinque: deedbot wedged ?
asciilifeform: spyked: http://p.bvulpes.com/pastes/Jmgst/?raw=true
asciilifeform: spyked: download link is broken, redirects to 404
asciilifeform: trinque: outta curiosity, hiw didja deduce this ? afaik barf is same in both scenarios?
asciilifeform: gotta try this
asciilifeform: oh hm.
asciilifeform: it was 'designed' like dog 'designs' turd as it emerges from arse.
asciilifeform: mircea_popescu: if some part of the shitstack 'was designed', i cannot say what it was
asciilifeform: hanbot's ctrlc only propagated cuz script was linear.