asciilifeform: the only knob in bot that actually gives a shit re the reader is the search knob ( see where it expects to find the # of results ) .
asciilifeform: it is in fact possib. to use 1 w/out the other ( e.g. asciilifeform's adhoc mirrors have only reader.py ; one could sit a bot using solely bot.py and then write yer own viewer at leisure ; and so on )
asciilifeform: the former sits in irc and records lines, answers cmds, etc. ; the latter serves up the httpized logism.
asciilifeform: to be utterly pedantic : the log sys consists of 2 separate py proggies that share a db (normally expected on same box, but can in principle be elsewhere). bot.py and reader.py
asciilifeform: diana_coman: naturally and postgres. i was speaking of the py glues.
asciilifeform: the log viewer represented in the vtree simply serves itself on given local port when it runs. which you can then fwd to wherever.
asciilifeform: diana_coman: i never posted that variant, imho it is useless moving part
asciilifeform: diana_coman: bot is own program and doesn't have any deps (aside from py per se and psycopg)
asciilifeform: diana_coman: i at one pt blamed that coupling for the slow, and measured (plain rev.proxy vs 'wsgi' (equiv of php's fastcgi) , found 0 diff
asciilifeform: diana_coman: if it runs, will run, all that's asked of it is to forward a tcp pipe to port x (whichever yer py is on)
asciilifeform: diana_coman: you'll want a front end thing for it to live under (prolly apache) also .
asciilifeform: diana_coman: my test bed fwiw used pg 9.4.5 .
asciilifeform: (imho entirely doable, i emulated an entire fucking comp, with mmu, uart, clock, in <13kB proggy)
asciilifeform: with implementation weighing a few dozen kB.
asciilifeform: there's imho a ~huge~ chunk of problem domain that is begging for a simple, well-specified, ~frozen~ scripting lang.
asciilifeform: diana_coman: in re pythonisms -- for that matter i'm to ~this day~ ! using my orig v.py (w / phf's 'vdiff' , and your fixup patch.) also because never found in what to rewrite it.
asciilifeform: the sword -- is in the stone!111 nao who wants to pull.
asciilifeform: nao all needs , is someone with hands.
asciilifeform: i demonstrated, in 'm', how to write nontrivial proggies w/out libc or any c glue whatsoever, or any compiler dependency whatsoever.
asciilifeform: ( would also be Right Thing for e.g. bootstrapping gnat, and related battlefield )
asciilifeform: ( mp is fond of old php , but it suffers from 100% of same headaches , and in fact even slower , esp. if the job is even slightly moar complicated than wp ; he arrived at it same way i did at 'flask' -- picked up decade ago and 'it worx, i'ma pour cement on this' )
asciilifeform: worse, not even certain that it is possible to write a clean/light www shitter , considering what http , tcp , are like to begin with
asciilifeform: ( considering, it is in py , interpreted lang, and my pages are generated approx on par with speed of phf's , at the immediate shitting arse end (discounting pipe delay ) )
asciilifeform: saddest thing is, i'm not even certain it's more retarded than e.g. hunchentoot
asciilifeform: iirc lobbes actually wrote a vintage-php frontend . but bot is still py and uses same spittoon
asciilifeform: and i'll be the 1st to burn it all when there's a realistic alternative.
asciilifeform: if i had to pick it up all now for 1st time, dunno if could bring myself to -- it has absolutely atrocious feel to it (esp. given the 'modern' docs)
asciilifeform: diana_coman: 'flask' , 'psycopg', etc. are erry bit as rubbish as the docs suggest. with the twist that the assemblage actually worx ( phuctor's been running, incl. under various abuses , for yrs , on same ) .
asciilifeform: diana_coman: for 2.6 need whole set of vintage liquishits that went with that specific py
asciilifeform: i considered even exotics but realized it aint happening in reasonable time frame (and fuck knows what would look like) if did so. so went like so.
asciilifeform: then thought 'cl', then noticed that will need 9000 unexplored (by asciilifeform) lib liquishits for pg, http, etc.; then 'fuck it, i'ma cut up phuctor and sew from its still-twitching living pieces'
asciilifeform: when i 1st sat down to write it, thought 'ada', then realized that simply to make the necessary glue would take a year, and that's if did nuffin else.
asciilifeform: ( recall thread, where 'simple script lang where can sockets etc' )
asciilifeform: diana_coman: rly it oughta be in tmsr-adalisp (tm)(r) but this apparently dun exist yet.
asciilifeform wrote in py script 'not from a good life'(tm)
asciilifeform: diana_coman: if i had a palatable answer -- would have written in ~that~, lol
asciilifeform: ftr i was half-convinced that it won't even run outside of asciilifeform's test beds -- until lobbes replicated
asciilifeform: i made it 'low tech' to the point of people tearing out their hair from missing features, but result is that it is small enuff that could rewrite .
asciilifeform: diana_coman: if you (or anyone) rewrite the logger -- i'ma clap
asciilifeform: ( tho even gnat deviates from the paper, in several already discovered cases, sadly )
asciilifeform: this 'joy' is what one gets from a lang w/out paper standard a la ada.
asciilifeform: diana_coman: if you decide to fiddle with the proggy so it goes on 2.6, prolly can be done ; but keep in mind that i will not be able to run yours anywhere, there's no 2.6 on any known gentoo of past decade or so.
asciilifeform: no one yet asked how asciilifeform ended up on 2.7. answr: it's where gentoo stopped when died and i put it in waxworks.
asciilifeform: to make life even more 'interesting', there aint a magical version that can pick and 'will work on all of'em' . 2.6isms break on 2.7 just same.
asciilifeform: diana_coman: 2.6 has diff print() syntax from 2.7
asciilifeform: then -- yer gentoo has turned into equiv. of hand-sewn buildroot linux, where sure you can install things, but nao gotta manually tar ... ./configure && make && make install etc
asciilifeform: these will sorta work (if you make absolutely sure not to emerge --sync, EVER) ~until~ you find that some package is no longer alive on the (quite wilted) mirrors
asciilifeform: afaik trigraphic index dun exist pre-9 -- but could be wrong
asciilifeform: the only even vaguely version-sensitive knob is the search index
asciilifeform: diana_coman: oughta work with 9 and 10, not tried others
asciilifeform: ( normally it goes at 0hrs nyc time )
asciilifeform: both lobbes and diana_coman , lemme know when yer ready to sync, i'ma manually refresh the db dump
asciilifeform: ^ or lobbes , if lobbes gets to finish line 1st
asciilifeform: diana_coman: also imho it'd be neat if you wrote about how built the mirror, nitpicks, etc. for n00bz. ( i did not have time to write a pedantic cookbook, and as you can see even the readme had mistakes )
asciilifeform: !Q later tell trinque didja ever post a arm64 cuntoo ?
asciilifeform: will post photo 'porn' when assembled, for aficionados.
asciilifeform: BingoBoingo: i'ma weld the support nuts to the pedestal, this time, nomoar fiddlings in hotel room.
asciilifeform: BingoBoingo: meanwhile rk (16) + heat sinks bought. 1st major chunk of the new crate. 670 ($) . ( still need cabling, ps , the ssd's, and naturally to assemble. )
asciilifeform: meanwhile, asciilifeform realized that can use standard 1u atx ps, w/ 'breakout board' , to get the req'd 20A 5v + 1A 12v.
asciilifeform: http://logs.nosuchlabs.com/log/trilema/2019-08-29#1931846 << ameritards wrote books where all examples given in translit ! moar or less guaranteeing that whoever studies from these, can only parrot -- and poorly, the phonemes dun correspond to the eng ones ( tho funnily enuff they mostly exist in ru )
asciilifeform: ( for folx not following in depth -- fleanode does not emit timestamps; they come from local machine where a given logotron ran when it logged a line )
asciilifeform: but deedbot dun need to go in realtime, unlike logotron.
asciilifeform: ( wedge -- clock stops easily for days )
asciilifeform: trinque: re clocks, at one time mircea_popescu suggested to use trb block as clock. but imho is of very limited use as clock, cuz not guaranteed to advance in any given interval.
asciilifeform: ( note, they can still be displayed in calendarized pages , as now )
asciilifeform: i suggested in orig thrd, to throw out the date from url. lessee what mircea_popescu thinks.
asciilifeform: my present take on all of this : it ~is~ possible for loggers to agree on ~order~ of lines ( albeit in corner cases, difficult ). however it is not possible for them to properly agree re absolute time. ( and in fact the timestamps in the imported logs are all over the place )
asciilifeform: ( should we even have it in the links..? not as if quoting bot doesn't spew the date when quoting )