log☇︎
6300+ entries in 0.001s
asciilifeform: the only cure, folx -- rewrite!
asciilifeform: nao they're stuck with http://logs.nosuchlabs.com/log/trilema/2018-10-25#1866191
asciilifeform: mircea_popescu: i think trinque & ben also walked in with this, given as they used a heathen 'cl-irc' lib for some reason (thinking, i suspect, 'irc, grrr, gnarly to implement' )
asciilifeform: ftr asciilifeform walked into the 'go make bot' thing also suffering under the notion that bot is titanic problem that takes year of work . but imho this aint so.
asciilifeform: http://logs.nosuchlabs.com/log/trilema/2019-08-23#1930302 << i got distinct impression that trinque is ripping own hair out from grrr re bugs in the (quite gnarly, i think was written in n00b yrs) cl bot
asciilifeform: ( chinesium!11 )
asciilifeform: http://logs.nosuchlabs.com/log/trilema/2019-08-23#1930260 << funnily enuff, not long before reading these words, asciilifeform was using an actual, physical ratchet... which... broke. and nao turns 2ways.
asciilifeform: spyked: the tricky bit re 'steal the ultralight threads' is that in order for it to work, you more or less have to have same degree of 'fascism' as in actual erlang, i.e. can't have shared memory, easily-mutable variables, all the other knobs that make 'earthling' threads 'heavy'
asciilifeform: or for that matter , the function calls. e.g. #'start-ring/2 . dafuq, if it's a sexpr, it ~knows already~ that it needs the 'start-ring' that eats 2 args , not 1, not 3, not 17
asciilifeform: ... their coad example. observe how yes they added paren, but... with various infixisms somehow still preserved and freely intermixed ?!!
asciilifeform: http://logs.nosuchlabs.com/log/trilema/2019-08-23#1930335 << this find is so monumentally terrible, that it is worth preserving in amber. ( and not on acct of the shithub, roundedcornerism, and misc. redditisms, but strictly from pov of the proggy per se . ) behold :
asciilifeform: *speech
asciilifeform: ^ that way dun need any locking, no async speed will ever take place during a 'pong' or a synchronous reply to command.
asciilifeform: ( if anyone wants to put async-sends in mine, the natural place to do so is imho where recv() times out, pop (nonblockingly) string from a queue and speak() . )
asciilifeform: decided in the end that it is easier to pour a cup of tea an' write one from 0, than to wade through the rubbishes
asciilifeform: ( when set out to write it, asciilifeform looked at coupla dozen published heathen bots, but threw'em all out, the smallest were still 1000+ ln for no detectable reason )
asciilifeform: trinque: potentially could use my wartime bot, but it doesn't do asynchronous sends
asciilifeform: lobbes: aha. i made no attempt to clean out the spamola, it will remain unless mircea_popescu asks ' drop xyz where... ' etc
asciilifeform: trinque: re 'irc, wish to see end' -- i also balked, but turns out even this chore had some interesting wtf-discoveries lying in wait, e.g. the apparently massive nonflatness of net lag topology
asciilifeform: trinque: from the (very fragmentary) clues , seems to me that fella was demoralized somehow, for long time ( and possibly into bottle, tho tbf nothing specifically pointed to bottle )
asciilifeform: http://logs.nosuchlabs.com/log/trilema/2019-08-22#1930234 << near as i can tell , mp drilled him a new arse and consigned him to штрафбат for cowering in a cave for yr+ , rather than for sitting in hospital. ( see also mp's 'nickel' article )
asciilifeform: trinque: i cannot resist to wonder if the problem is in the hoster -- iirc deedbot used to stand up for weeks at a time , in earlier days
asciilifeform: http://logs.nosuchlabs.com/log/trilema/2019-08-22#1930229 << ftr i agree entirely with this , but -- did write bot, when mp blew into the bugle, sometimes gotta be done
asciilifeform: trinque: i may be able to help w / bot ( would like a working cl bot at any rate ). how current is the published src ( that i used in pehbot ) ?
asciilifeform doesn't give a damn in either direction, the archive doesn't weigh even within order of magnitude enuff to impact overall speed of indexing in any detectable way
asciilifeform: thinkin' about it moar -- mircea_popescu et al, if you wanna nix the spamola, simplest way is to import the db and sort the users, there's i think 100 or so spamola nicks , could simply drop'em if want.
asciilifeform: aaand the db dump has been triggered manually ( it takes approx 10sec ) , in case anyone wants to get his hands on the updated db Right Nao .
asciilifeform: aaand of course 'era 1' of #t ( already discussed in orig. thread on trilema ) .
asciilifeform: archives remaining to import : #a ( if ben_vulpes turns up, i'd like to use his mimisbrunnr log to close the gaps; otherwise will use own znc ) ; #p ( again ditto )
asciilifeform: ( the washitistan ??!?? + the randomly quoted lines from unknown heathen chans, + possibly other shannonized crapola )
asciilifeform: going by informal walk via 'random' button -- that spamola is a substantial % of the archive, by mass
asciilifeform: mircea_popescu, lobbes , et al : prolly could easily purge ~100% of spam, simply by detecting these. lemme know if you want.
asciilifeform: http://logs.nosuchlabs.com/log/eulora/2018-09-22 << ugh
asciilifeform suspects that they were orig. encoded in http://logs.nosuchlabs.com/log/trilema/2019-08-15#1928981 and thereby didn't even get into lobbes's db
asciilifeform: these ^ however are empty in lobbes's orig. archive snapshot.
asciilifeform: some spam dun show up at all
asciilifeform: ( possibly only on my console ? nfi )
asciilifeform: hrm, correctly but with exception of certain spam lol
asciilifeform: ty for the converter fixes and archive, lobbes .
asciilifeform: orcograms appear to render 100% correctly .
asciilifeform: they are marked as 'era 2' in the db (#e has no 'era 1') .
asciilifeform: ACHTUNG lobbes et al : the #e archive created earlier by lobbes , is now imported into http://logs.nosuchlabs.com/log/eulora . as usual plox to report any oddities .
asciilifeform not yet eaten all of bvt's piece
asciilifeform: oh hrm actually he does have a segment re subj
asciilifeform contemplates what a bvt-style dissection of the current 'urandom' might reveal.
asciilifeform: it seems like the obv. Right Thing. i.e. let tetris read from urandom, rsatron -- from random, etc.
asciilifeform: ftr this is how i formerly thought the existing linux worked.
asciilifeform: then makes sense. i had missed 'stretched by...' when 1st reading.
asciilifeform: ok so the classical pair of 'random vs urandom' devs ?
asciilifeform: seems to spec a somewhat diff item than originally contemplated tho ( where all userland proggies are guaranteed to get, if slowly, actual unique FG bits )
asciilifeform: ok then makes sense.
asciilifeform: aaa.
asciilifeform: ah so users who read moar than the available ration, get prngism?!
asciilifeform officially stumped re how to convert mircea_popescu's formalism into program. perhaps bvt will crack this nut ? presently it eludes me.
asciilifeform: i'm stumped on what 'can not tell you, because you do not read' means in physical terms.
asciilifeform: i.e. eggog ?
asciilifeform: so, in mircea_popescu's model, i asked for 3MB, while FG has only produced yet 2MB. what do i get ?
asciilifeform: same 'thermodynamic' problem , no matter how the output of FG is massaged, tho. if proggies ask for moar FG bits than FG has actually produced, they gotta block. ( linus fraudulently gave folx shitropy instead of entropy, so 'not block', but imho that's not even worth to discuss )
asciilifeform: then i'm defo thick. let's work example ? machine booted up 5min ago. ergo primary FG buffer contains ~2MB. now i'ma a user, and i ask for dd if=/dev/random of=foo bs=1M count=3 , i.e. 3MB. nao what ?
asciilifeform: or is the idea that there's a per-user buffer which actually contains his ration, and reads block on ~that~ ?
asciilifeform: 1 FG gives ~7.5kB/s . it isn't difficult to read , from buffer, GB/s
asciilifeform: possibly i'm thick, but what happens if particular user requests continuously ?
asciilifeform: you still gotta rate-limit the users' reads tho, or 1 could empty whole thing in burst, starving the rest, neh
asciilifeform: the 1st half of this , i get, is same as what i sketched. but for what is the outer buf ? seems like a single ring of same length as the 2, gives same effect ?
asciilifeform: ( what means here 'attrition' ? and for what is the 2nd buffer ? )
asciilifeform: mircea_popescu: elaborate ?
asciilifeform: http://logs.nosuchlabs.com/log/trilema/2019-08-22#1930033 << naively seems to asciilifeform that whole thing oughta be replaced with a single ring buffer, where 1) root can write 2) users can read (w/ settable max byte/sec quota/ea. perhaps) 3) erry read consumes a segment of the buffer, i.e. no 2 users get same chunk of FG tape 4) if buffer empties, machine goes into single-user mode and rings alarm .
asciilifeform: open sores.
asciilifeform: http://logs.nosuchlabs.com/log/trilema/2019-08-22#1930032 << to return to this : when asciilifeform laid out the (~8 y.o.!) kernel , to bake the 'demo' image for 'M' , found that ~whole thing~ is written in this style. ( last dealt with kernel internals at length in '06-07, when wasn't ~quite~ this nauseating . or perhaps my stomach were stronger..? )
asciilifeform: ( for the curious : 'erlang' had 0 'shared memory' b/w threads. all inter-thread motion was in the form of messages (received in 'atomic' queues internally). these could consist of whatever -- symbols (a la lisp) , for simple 'a/b/c' cases ; strings of bits; etc. a message could be eaten, or forwarded to yet another thread, or even sent back to the sender. )
asciilifeform: mircea_popescu: i keep coming back in my notes to the swedes, simply b/c in their notation, a 'bulletproof' net of mutually-synchronized bots is suddenly ~trivial.
asciilifeform: ^ thus far only planned resets .
asciilifeform: !q uptime
asciilifeform: if the 'silent wedge' effect actually exists (rather than , say, an artifact of trinque's async mechanisms) i expect it will eventually be found to wedge
asciilifeform: spyked: mine disconnects strictly when a send() or recv() actually return eggog (i.e. indicating dead tcp pipe)
asciilifeform: http://logs.nosuchlabs.com/log/trilema/2019-08-22#1930066 << ftr i've yet to observe this 'silent wedge' effect in my bot (i.e. where the tcp pipe is 'alive' but not doing anyffin useful). tbf it is, what, only 3rd week of this bot.
asciilifeform: phunphakt -- ericsson at one pt sacked him and ordered their pbx rewritten in cpp. and nearly tanked, had to beg him to come back.
asciilifeform: by this merciless slicing, he was able to make so that almost entire state of a program is reducible to 'which threads are alive', and thus was able to achieve interesting results
asciilifeform: author (one armstrong, recently dead) sewed it by taking various fp langs of the time, and mercilessly cutting cpu-expensive features (e.g. the infamous np-complete reductor of prolog, the 'lazy' of haskell, etc)
asciilifeform: 'erlang' was ultra-fascist 'functional' , i.e. even to make variable in the usual sense is difficult
asciilifeform: mircea_popescu: i've a pile of'em in notebook, but generally dun like to throw in unless pertinent to thrd
asciilifeform: ( 'erlang' has a pretty martian syntax that most folx who didn't program in 'ml' or similar , dun have the digestive enzymes for )
asciilifeform: imho would be 9000x better to simply steal the technique and port to e.g. cmucl .
asciilifeform actually has working copy of that compiler, 'erlang' , from 2000s (i.e. before the webtards got to 'improving' it) if anyone at some pt wants to experiment with this particular sunken uboat
asciilifeform: parent ) etc.
asciilifeform: http://logs.nosuchlabs.com/log/trilema/2019-08-22#1930071 << the swedes had a model of programming which asciilifeform always wanted to steal, which was especially good fit for cases like this -- '9000' ultralight threads with ~0 spawn/die penalty, if you wanted to wait for an event, could spawn thread that does nuffin but ( and in turn if times out sends correct signal to
asciilifeform: * deedbot has quit (Read error: Connection reset by peer) << trinque ??
asciilifeform: aha, frankfurt copy
asciilifeform: this from frankfurt ?
asciilifeform in gui browser with cleared cache -- consistently gets the expected 1.3s for that page here.
asciilifeform: mircea_popescu: 256 / 24.092 ~= 10.3 kB/s !! do you consistently get ~10kB/s from piz ?!
asciilifeform: ( i.e. how long takes to actually birth that page )
asciilifeform: ftr , on dulap itself : time curl http://127.0.0.1:5002/log/trilema/2018-10-12 > /dev/null yields 0.161s .
asciilifeform: mircea_popescu: what do you get when http://18.195.64.227/log/trilema/2018-10-12#1861054 ?
asciilifeform: http://logs.nosuchlabs.com/log/trilema/2019-08-22#1930062 << 4.1s here (1.3 if curl -H "Accept-Encoding: gzip" , weighs 256k naked, 58 w/ gzip )
asciilifeform: to where retire ssd? if still 'worx', e.g. trb node. lappies. if end of life ? stoke furnace. ( see mircea_popescu's piece with furnace. )
asciilifeform: decent card ( 3ware, more or less it ) means you can swap w/out switching off machine.
asciilifeform: 1tb ssd btw ~100bux nao. keep pile of spares, and dun hesitate to rotate prophylactically, they're a consumable.
asciilifeform: seek on ssd already ~0.
asciilifeform: 'gain speed' applied strictly to mech hdd, they could be spun out of phase, i.e. cut seek time