log☇︎
5700+ entries in 0.002s
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: ( on dulap, where deployed -- 10.3 )
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: imho the Right Thing for this problem domain would be a tmsr-baked script lang built from ground, like-this . but so far no one has the free hands.
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: earlier thrd where mp popped the cover on these and fulled 3 buckets with barf
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: result was the item nao running.
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: ( there's quite a few, turns out; e.g. http://logs.nosuchlabs.com/log/trilema/2017-03-12#1626258 . all 2.7 )
asciilifeform: all of asciilifeform's published pythonisms are tested under 2.7. ( some ~may~ work on older; generally none will ever work on 3+ )
asciilifeform: diana_coman: 'flask' is the http shitting lib. i've used same 1 since 2013 (phuctor)
asciilifeform: diana_coman: where didja get a box with 2.6 even
asciilifeform: afaik only
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: a!
asciilifeform: cuz my trad gentoo boxen are all in condition where portage is no longer usable
asciilifeform: lobbes: yours is a traditional gentoo? or a trinqueian cuntoo ?
asciilifeform meanwhile puzzles over where the fuck weldable m3 nuts are to be had
asciilifeform: i simply used the item that was known to work solidly w/ phuctor, when wrote the logger, was all.
asciilifeform considers 'make things go with oldest/smallest possib. spittoon' a Right Thing in general case
asciilifeform: a.
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: http://logs.nosuchlabs.com/log/trilema/2019-08-29#1931889 << diana_coman this is so, i found recently when making mirror . feel free to submit a patch to amend the readme, otherwise it'll go in my next one.
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: i can picture.
asciilifeform: BingoBoingo: any news on your front ? ( in particular, found reasonably-priced castle for mp ? )
asciilifeform: annoyingly , they all run on 12v, so can't use single-output 5v high current thing like i was initially planning, for the entire thing
asciilifeform: BingoBoingo: i'ma still get 16 rk, 1 will be spare.
asciilifeform: ( 1 hole is taken up by the exit cable )
asciilifeform: BingoBoingo: meanwhile i found a fitting GB switch. 1u plant will thereby house 15 rk .
asciilifeform: !q uptime
asciilifeform: http://logs.nosuchlabs.com/log/trilema/2019-08-29#1931861 << ought add, it will also create strong headache when the other bots stand up. none of the links will be guaranteed portable b/w bots , even if pains are taken to sync clocks. they drift.
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: http://logs.nosuchlabs.com/log/trilema/2019-08-29#1931848 << this character mentioned 4 or 5 times recently... but does it have a name ? ( i admit, when 1st saw picture, assumed it was a young photo-shy hanbot )
asciilifeform: http://logs.nosuchlabs.com/log/trilema/2019-08-29#1931856 << aint catastrophically burning, troo; but it does block import of pre-'dragon' log until fixed (and, current log links may in fact slowly break as machine clock drifts )
asciilifeform brb,meat
asciilifeform: nm
asciilifeform: hrm did i break that link..?
asciilifeform: btw note, my logotron already knows how to generate colouration on serv end
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: i.e. how deedbot.
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 )