log☇︎
86900+ entries in 0.017s
asciilifeform: *wired
asciilifeform: this might sound like a snore, but isn't : thing is wires as 'port', rather than as bus
asciilifeform: in other noose, asciilifeform learned that a very recent chinese fpga board : AX516 ( http://esys.ir/images/img_Item/1158/Files/AX516_usermanual.pdf ) includes RTL8211EG , GB nic !! and cheapo.
asciilifeform: still a bit of a puzzler, who ~voluntarily~ uses the thing. 'why do you have an incense burner in your house?' 'they're required at church' 'yes but...'
asciilifeform: and where.
asciilifeform: you'd be amazed at what gets mandated, aha
asciilifeform always wondered what somebody gotta have in his crankcase instead of brains, to run selinux ☟︎
asciilifeform: run moar nsaware.
asciilifeform: https://archive.is/4abCk << demo of subj
asciilifeform: in other lulz, https://archive.is/pbE6V >> 'The user can choose a device number that corresponds to a terminal currently in use by another user. This allows an attacker to run any command allowed by sudo with read and write access to an arbitrary terminal device. ... As before, the bug is specific to Linux systems that have SELinux enabled ...'
asciilifeform: mircea_popescu: http://trilema.com/2017/the-failure-mode-of-abundance/#comment-122188
asciilifeform: try it yourself, you'll get same.
asciilifeform: autoanswerer
asciilifeform: what'd be the point.
asciilifeform: farmer does not issue stock to sell to his cows, no.
asciilifeform: aha
asciilifeform: ( asciilifeform got 0 replies to his inquiries from 'baikal' , incidentally. )
asciilifeform: ( mega-unsurprise )
asciilifeform: thing is very much not oriented for foreign market.
asciilifeform: interestingly there's ~0 material in english on subj ( other than 3rd hand re-chewed crud ) -- period
asciilifeform: top inglisch, yes
asciilifeform: still not found any sign of reseller who would actually take an order
asciilifeform: in other noose, https://hi-tech.mail.ru/news/elbruce-prices << supposedly, retail, ~2300 usd
asciilifeform: lol yw mod6
asciilifeform: i'd expect those'd be sold for soap
asciilifeform: saint factory, lel
asciilifeform: well yes, 'first you pillage, ~then~ you burn'
asciilifeform: also i expect the criminal case against the chick, will somehow evaporate.
asciilifeform: mircea_popescu: you missed 0 useful
asciilifeform: now can unofficially-cite 'genuine1!!!1 nsaological find'
asciilifeform: trinque: it was a convenient cheat around the 'they cited 0 actual intel' thing
asciilifeform: it was a snoar
asciilifeform: i did..
asciilifeform: snore.
asciilifeform: trinque: looked like a generic 'ohnoez ru hackingz' item
asciilifeform: they hire on a very late-sovok 'too dim to know what to steal and where to take it' principle
asciilifeform: this'd be an accurate description of most of the folx in the business, yes
asciilifeform: ( which costs, depending on whom one asks, 5-25k usd )
asciilifeform: this 'sponsor' is expected to cover cost of paperwork
asciilifeform: mircea_popescu: most 'intelligence komyooniti' folx slave for a nominally 'private' org, rather than for usg in the proper sense
asciilifeform: the various hazing rituals, and onerous bureaucracy associated with said cult, are well-documented elsewhere, i will not bother to recount.
asciilifeform: at one time ~million completed (yes) application forms for this, leaked, any enthusiastic entomologist can go, read.
asciilifeform: http://btcbase.org/log/2017-06-06#1666594 << ~anyone, supposing he has a u.s. passport, and 0 official record of judgements against him, can get 'top secret clearance' with corporate sponsorship. the filtration (i.e. who is permitted into any interesting 'compartment') comes ~after~ ☝︎
asciilifeform: i won't even bother to link to it. who wants -- can find.
asciilifeform: oh, phun phakt, adacore distributes its own mmaptron -- but it is monstrous (easily 25x larger than mine) and largely on account of supporting winblowz
asciilifeform: http://btcbase.org/log/2017-06-06#1666711 << erratum -- it ain't (perhaps obviously) a null, it's a (void *)-1 ☝︎
asciilifeform: ( oblig : http://btcbase.org/log/2017-06-03#1665150 ) ☝︎
asciilifeform: didjaknow.
asciilifeform: ( http://pubs.opengroup.org/onlinepubs/9699919799/ )
asciilifeform: 'Existing implementations of mmap() return the value -1 when unsuccessful. Since the casting of this value to type void * cannot be guaranteed by the ISO C standard to be distinct from a successful value, this volume of POSIX.1-2008 defines the symbol MAP_FAILED, which a conforming implementation does not return as the result of a successful call.'
asciilifeform: and we find this gem :
asciilifeform: sooo let's visit the posix folx, while we're at it,
asciilifeform: https://gcc.gnu.org/onlinedocs/gnat_rm/Address-Clauses.html << discussion of 'address'
asciilifeform: mircea_popescu: well yes.
asciilifeform: but linus did love to brag, 'nobody promised you a stable abi', as if this were a point of pride.
asciilifeform: so quite unlikely.
asciilifeform: irrecoverably
asciilifeform: mircea_popescu: if it ever were to change, ~100% of the contents of your box would barf
asciilifeform: ( now that i think about it, we could also obtain the eggog code by invoking a mmap that will be certain to fail, and recording the result. but ugghh... )
asciilifeform: so instead we have this explicit constant.
asciilifeform: note, again, we cannot compare to -1, because we are using a sane language, where '-1' is not a valid address of anything, nor even a valid modular-type
asciilifeform: but it ain't a -1 to us, because we are using a sane language and it is treated ONLY as the addr of the beginning of the allocated mmap. but first gotta check for the failure. so this requires a comparison to FFFFF....[buswidthsize]
asciilifeform: aka -1
asciilifeform: this on all known boxes equals buswidth(0)-1
asciilifeform: ( because unix was dropped as a child, it uses in-band idiocy and magic failure values that are not type-distinguishable from successes )
asciilifeform: mmap is a unixism and returns a null ptr on failure ☟︎
asciilifeform: i probably oughta explain why we even have this MAP_FAILED : constant Address := System'To_Address(16#FFFFFFFFFFFFFFFF#);
asciilifeform: ( they are, per standard, equivalent forms, but possibly stock gcc is broken in this particular spot )
asciilifeform: try To_Address instead of System'To_Address
asciilifeform: if a compiler won't eat it -- it's retarded and must die.
asciilifeform: what can i say, the statement is 100% legal per the standard
asciilifeform: ( 4.9 from adacore )
asciilifeform: throw it out and get the proper one.
asciilifeform: your gnat is certifiably broken, then
asciilifeform: your gnat is a 64bit binary ? verify
asciilifeform: you're on a 32bit box ??
asciilifeform: lemme guess,
asciilifeform: diana_coman: what barf remains ?
asciilifeform: ( 'image' -- for the uninitiated -- is the operation sometimes called 'to-string' in other languages )
asciilifeform: but it does appear in example snips.
asciilifeform: it won't actually matter in any of my properly (v-genesis) released material -- i have no plan to use gnat's standard io for anything
asciilifeform: standard, iirc, permits the variant.
asciilifeform: diana_coman: in this particular example, can debate which is the useful-stricter
asciilifeform: ( possibly it was in #trilema-mod6 )
asciilifeform: mod6 recently ran into exact same issue, but for some reason i can't turn it up in the log
asciilifeform: diana_coman: the example was written on a box with adacore's gnat; the stock gnu one is stricter, doesn't permit Foo'Image -- instead you gotta FooTypeName'Image(Foo) ☟︎
asciilifeform: ( though it is not why i made an mmaptron )
asciilifeform: diana_coman: mmaps offer yet another method of glue -- theoretically 2+ processes can simply share it
asciilifeform: diana_coman: gluing in whichever direction, is pretty easy, when you have it all in 1 compiler
asciilifeform: incidentally diana_coman et al might find the paste interesting -- it demonstrates, also, ada/c glue.
asciilifeform: ( makes a 1G mmap, and twiddles a byte therein )
asciilifeform: comes with a small test routine, see horsecocks.adb.
asciilifeform: ~400 ln total.
asciilifeform: what you get, is ability to mmapize arbitrary data structure
asciilifeform: 081bc7c5687e1b7820ded87223bdcaa17d902ac6ea1f82b01a55d1683a2ddadfe4bc0f713d66bc2d5afbc51deb607c71460e6d9a4278382a7be526d0e7ef5582
asciilifeform: ( comes with makefile & a little bit of commentary )
asciilifeform: mod6, phf , et al : http://nosuchlabs.com/pub/ada/horsecocks.tar.gz << i dun recall posting this before, so here it will live, for nao : unofficial release of mmaptron ☟︎☟︎☟︎☟︎☟︎
asciilifeform: unrelatedly,
asciilifeform: ( is it even possible, at this point, to identify species of it !? )
asciilifeform: BingoBoingo: you have more in common with your stone age great^n-parent, than the current hela has with original