log☇︎
47400+ entries in 0.029s
mircea_popescu: all things rest on the fundamental "do what i say or i'll fucking kill you".
asciilifeform actually grasps mircea_popescu's pov quite well, after coupla decades with broken soft that does 'whatever it feels like', one starts thinking of 'i want control' in the sense of 'all i want is a big enuff spiked club to smash it all with'. but if you ~actually have~ proper control, cuz you wrote a correct proggy, then what you really want is 'feldmarschall's baton', not club.
mircea_popescu: i can buy that.
asciilifeform: to run with mircea_popescu's analogy, you want to birth the sons such that they go, when ordered, to the seppuku room, lay down the white sheet, and carefully dump out their guts into the provided pot; rather than having to chop'em up in yer living room, where they'll shit selves, thrash around breaking the fine china, and make whatever other mess.
mircea_popescu: so then i'm guessing if indeed this problem is encountered thing should just die altogether. ☟︎
asciilifeform: pretty sure you can get at the underlying pthread and term it, if you gotta. just like you can get at raw c ptrs , as illustrated in e.g. http://btcbase.org/patches/udp_genesis . my observation aint 'shuddyp and suck, lang tied yer hands for yer own good' but 'if your proggy is actually correct, you won't find yerself ~having~ to individually scalpel out threads'
mircea_popescu: that was all it took.
mircea_popescu: fucking reason i even moved off windows was when i discovered that unlike dos, it does not support this. ☟︎
mircea_popescu: there can not be such a thing as a language that infringes the father's priviledge.
mircea_popescu: if ada does not manage to provide me with all the tools i need to the exclusion of the power switch, i will ditch ada and move on to programming in power switches.
asciilifeform: the mains switch is right there lol
mircea_popescu: i will kill ANY THING at ANY TIME.
mircea_popescu: there's no "the way to do that".
mircea_popescu: this is besides the point. my power to kill any thing at any time shall not be infringed.
asciilifeform: rather than letting'em infinite-loop and having to async-kill'em
asciilifeform: mircea_popescu: you accomplish this by giving the subs a termination condition
mircea_popescu: if i can't kill threads any time i want, I WILL NEVER SPAWN ANY.
mircea_popescu: the only possible basis for society, human as well as computer, is "all sons live exactly as long as father permits them, and no longer."
asciilifeform: this is entirely correct, if you have a wedgeable subprocess in a correctly-written proggy, there is a catastrophic mistake and time to switch whole thing off and find where.
mircea_popescu: asciilifeform no, that's not the fucking question. the question is i don't have a wedgeable, and "somehow" the shit dun die when i say.
mircea_popescu: the only correct solution to "this program has spawned something it can't kill" is "kill the program then". ☟︎
asciilifeform: mircea_popescu: the q is why you even ~have~ a wedgedeable -- i.e. having to be async-killed -- subprocess in yer proggy.
mircea_popescu: if someone shuts down some procedure i didn't want shut down, i'll find them and kill them. and meanwhile, i can't have gord eating my sandwiches as a 28 yo "man".
asciilifeform: in this case the thing is loaded, cocked, and pointing at yer foot.
mircea_popescu: yes, and if i have a gun in the house "anyone could in principle end up pointed at with it". wtf is this, pantsuit hour ?
asciilifeform: mircea_popescu: if you permit asynchronous killing of thread, ~any~ part of your proggy could conceivably end up as that N, you have nfi what that thing was doing when you shot it
mircea_popescu: moreover, it's quite evident WHENCE it came in this discussion : we have some problems to solve.
mircea_popescu: no dude, the appeal of "do what i tell you to do" is an artefact of the republic even existing in the first place.
a111: Logged on 2019-02-04 22:12 mircea_popescu: equiring more perl -- the perl programmer who veers off the road into the forest will get out of his car and cut down each and every tree that blocks his progress, then drive a few meters and repeat the whole process. whether he gets where he wanted to go or not is immaterial -- a perl programmer will happily keep moving forward and look busy. getting a perl programmer back on the road is a managerial responsibility, and it
a111: Logged on 2019-02-08 16:28 diana_coman: not while they are in an infinite loop it seems
asciilifeform: http://btcbase.org/log/2019-02-08#1893706 << consider this gedankenexperiment: say you have an infinite loop, incrementing a variable N. at some point you asynchronously kill it. what is N then ? ☝︎
mircea_popescu: but it's still there.
mircea_popescu: of course, education, esp common trunk education, dun include anything as modern as support for this non-1800s approach.
asciilifeform: could easily; no reason why this kinda thing gotta be limited to plant kingdom
mircea_popescu: or whether the cows carry it as defense miasma.
mircea_popescu: large cats are very vulnerable to common pneumococcus, whioch makes one wonder whether it being "the cow disease" in humans is merely coincidence
mircea_popescu: this was fashionable in the 1800s, but to my eye today, better way to think of species is in terms of immune system protein trees.
mircea_popescu: one way to think of species is in terms of morphology, classify-by-what-it-looks-like.
asciilifeform: either that or choked on the mcfat.
mircea_popescu: lion can't take frost, gets pneumonia and dies.
asciilifeform: wonder what happened to that.
a111: Logged on 2019-02-08 16:31 mircea_popescu: you see, highways are impassable WALLS for the lions ; and because "genetic diversity" is the summum bonum for late-roosevelt pantsuits, it then follows there must be "land bridges" erected so african immigrant lions can come into the suburban lions' house an' cuck 'em.
asciilifeform: http://btcbase.org/log/2019-02-08#1893711 << iirc it was seriously usg.considered to introduce proper, african lion to 'midwest' usa ☝︎
BingoBoingo: How unfair the Uruguayos managed to produce a second city center in their capital during the interval.
mircea_popescu: so now, considering this 1970-2020 fiddy year bridge -- how is baltimore ? did the black preachers turn it into a garden yet ?
mircea_popescu: 1970s us poverty very much correctly and convincingly depicted, and then when running into latino poverty, he excalims "shit, this is like baltimore or something"
BingoBoingo: "Asshole jogger teased its diverse prey seeking drive, then choked the poor kitty after baiting it"
mircea_popescu: yeah, say, i was watching some oliver stone flicks (as part of an aborted integral, jesus that guy sucks, and the 70s suck with him) and in one of them lester (of cucking de niro in casino fame) was a very poor reporter going to san salvador to report on the 1970s maduro thing there (which btw -- last i heard still ongoing).
BingoBoingo: They are "down a young male" in the same way Baltimore or Ferguson profess to be before they ritually burn so the big drug drop can make it in
mircea_popescu: how can anyone be "down a young male" ? that's what the fuck they're for, i'm not "down six boxes" because i got six boxes on atm.
BingoBoingo: Team puma is also down a young male after it aggressed against a jogger and got choked out this week. Not really qntra, but in the files for blogfodder.
mircea_popescu: at least they're systematic in their retardedness.
mircea_popescu: you see, highways are impassable WALLS for the lions ; and because "genetic diversity" is the summum bonum for late-roosevelt pantsuits, it then follows there must be "land bridges" erected so african immigrant lions can come into the suburban lions' house an' cuck 'em. ☟︎
mircea_popescu: BingoBoingo it might tickle you to find that while the mountain lion (aka, puma) is a species of "least concern" (ie, in the pantsuit designator of animal concern trolling, they figure as "excluded") nevertheless the pantsuit comfortably living off other people's income in and around los angeles are "advising" "the town" on how to "improve genetic diversity" in the "fragmented" populations.
BingoBoingo: mircea_popescu: I'll shoot em an email today. Their office is out in the sticks near the Palacio Legislativo. Long walk for a below the fold story.
mircea_popescu: this is fucking ridiculous, you can't have a language like that.
diana_coman: not while they are in an infinite loop it seems ☟︎
mircea_popescu: you can not kill them AT ALL no matter what ?
diana_coman: but I can't kill them if they are looping!!
mircea_popescu: diana_coman imo you'd rather have them work not in a guarded maner but in an acid-ish manner, and kill them after a set time established administratively.
diana_coman: (since if they block, they also block the whole thing that is stuck waiting on them and can't kill them even)
diana_coman: ximum set time, so that they can guarantee that they will NEVER block no matter what
diana_coman: hm, in possibly interesting ada-bits: apparently "abort" for tasks does not really kill them if /when they are in an infinite loop; according to ada docs I got the idea of "abort-deferred" i.e. in some states it won't abort but "infinite loop or waiting for a procedure call to return" did not seem to figure there; in practical terms this means that my workers will have to attempt any Job in a guarded manner i.e. give up on it after some ma
mircea_popescu: BingoBoingo nevermind the bomberos, and fi you're going to do it at all do it today.
mircea_popescu: nifty at that.
a111: Logged on 2019-02-08 15:45 asciilifeform: in the pictured example, the only item that ends up loaded is the requested one.
mircea_popescu: http://btcbase.org/log/2019-02-08#1893686 << oh is that so ? ☝︎
BingoBoingo: I may have to. May also have to stop by the Bomberos, but that probably involves a lot of union wank.
mircea_popescu: BingoBoingo so send them emails / drop by offices in person, "hey, look!"
mircea_popescu: well, we see when it gets there.
a111: Logged on 2019-02-08 07:45 diana_coman: I'll probably need to find out exactly what the overhead for their creation is anyway
asciilifeform: http://btcbase.org/log/2019-02-08#1893662 << as i currently understand, it will be whatever the pthread overhead is on the given linux ☝︎
a111: Logged on 2019-02-08 07:47 mircea_popescu: every time you load one you have to load the whole pile of everything, for the whole case set. eventually (it stands to reason) you'll find it cheaper to specialize them.
asciilifeform: i.e. http://btcbase.org/log/2019-02-08#1893671 specifically aint so. ( tho you ~still~ may want to specialize'em for ~different~ reason, if , say, it makes the proggy moar clear ) ☝︎
asciilifeform: in the pictured example, the only item that ends up loaded is the requested one. ☟︎
a111: Logged on 2019-02-08 07:47 mircea_popescu: yes. because ada entities keep getting wrapped in things that end up eating runtime to "elaborate" and whatever ion thios vein.
asciilifeform: http://btcbase.org/log/2019-02-08#1893667 << this is mistake, and imho subtle and worth addressing , i wrote an illustration for mircea_popescu : http://p.bvulpes.com/pastes/TXKlj/?raw=true ☝︎
BingoBoingo: Though they did cover Uruguay's foreign minister pointing out the obvious: "Para Nin Novoa, Guaidó "es más ilegítimo" que Maduro" https://archive.is/fflqI
BingoBoingo: For the Unfairness files: Local media finally reporting last night's fire. What picture do they put above the fold? One lifted from wikipedo where fire wasn't. http://archive.is/2AVuL
diana_coman: if /when desired (i.e. at shutdown time, the sequence might be something along the lines send stop signal to sjm and then /after a while, if there is anything still running, call the abort)
a111: Logged on 2019-02-07 23:56 asciilifeform: http://ossasepia.com/2019/02/07/seppuku-job-market-minimal-dynamic-tasking-in-ada/#selection-109.1672-109.1738 << will be interesting to see if this functions if stuffed into a static lib, in light of the http://btcbase.org/log/2019-01-22#1889467 puzzler
diana_coman: http://btcbase.org/log/2019-02-07#1893544 -> adding to this, on (re)^n -read of docs I doubt there's any benefit in having a controlled type in there; essentially the main thread will *wait* for all tasks spawned by the SJM to finish from what I understand; so then aborting them in a Finalize makes precisely 0 sense and instead I should probably make it a plain array and offer users of the package a non-synchronised procedure to abort them ☝︎
BingoBoingo: ^ Auction take 2
mircea_popescu: but really, no rush with this bikeshed.
mircea_popescu: every time you load one you have to load the whole pile of everything, for the whole case set. eventually (it stands to reason) you'll find it cheaper to specialize them. ☟︎
diana_coman: hm, you mean the overhead at creating the job itself then (as that's the object that gets bigger to elaborate)
diana_coman: and the case-switch is done inside the worker so on their time at most
mircea_popescu: that much is true.
mircea_popescu: yes. because ada entities keep getting wrapped in things that end up eating runtime to "elaborate" and whatever ion thios vein. ☟︎
diana_coman: from the job market's pov it's easier to have them not-specialised really
diana_coman: overhead of the case-switched/
mircea_popescu: i suspect you'll end up with them specialized, rather than case-switched, on acct of the overhead involved. however, time wil ltell
diana_coman: I'll probably need to find out exactly what the overhead for their creation is anyway ☟︎
diana_coman: if there's nothing for them to do, they get killed; but not sure what's the point in keeping them idling anyway; i.e. if it's busy then no, they don't get killed
mircea_popescu: apache workers ain't jobs ; and i took alf's comments to mean "why are you killing them 9k times/s", which is in his usual style of random assumptive approach, nobody said they'd be killed often.
diana_coman: I suspect asciilifeform's point was more along the lines: why kill them at all instead of letting them idle in there until something to do; not really "why do you bother having a way to create them?"
diana_coman: in mircea_popescu's model/apache terminology the "workers" are in fact my jobs there: they get created , executed, finish
mircea_popescu: there's nothing to force you to kill them any more often than you benefit from anyway.
diana_coman: re workers and specialisation: the worker tasks are not specialised, they do whatever job they are given and moreover the choice is made by job type as it were
mircea_popescu: it is actually better to have a robust life.death cycle than to pretend like death ain't supposed to happen.