log☇︎
242400+ entries in 0.152s
asciilifeform: ip-kvm will show only to folks who have login on the box.
asciilifeform: but i dunno that anyone other than mircea_popescu had any business knowing that the process were called.
mircea_popescu: ip-kvm will show you a sort of top.
Framedragger: cputime per process logging may help to settle this for future cases :p
mircea_popescu: also at issue is something called "fastwerker". that the same thing ?
asciilifeform: so this story (and how the fuck does the monkey know process name ?) holds 0 water.
asciilifeform: understand, thing has gone like clockwork for ~year now.
mircea_popescu: dude... renice works half the time.
asciilifeform: ( i certainly do not recall giving the monkey an account on the box )
asciilifeform: and what else they've been lying about.
asciilifeform: i'd like to know!
Framedragger: (how can they even see the name? kvm? i thought it was baremetal?)
mircea_popescu: and unless maz actuallty reads the logs instead of doing his work, I TOLD YOU SO
mircea_popescu: asciilifeform "process fastwerker is killing the box, would you like reboot"
Framedragger: asciilifeform: of course. and also don't treat this as high priority, i prolly wont look at it before wednesday anyway. but would be interesting to take a look - and i'd take a look
asciilifeform: Framedragger: you are welcome to a copy of db as soon as i get my hands on it again
Framedragger: stop web app and other stuff, copy /var/lib/pgsql/data, start web app again, use data to set up separate db.
Framedragger: i'm thinking whether it'd be worth it to just have a static replica of db-as-it-currently-is, for now. as in for "i want to touch data, there's an outdated html file on loper-os i guess?" cases.
Framedragger: no argument in relation to effort needed!
asciilifeform: and not without rewriting entire thing.
Framedragger: yes, the latter is super demanding
asciilifeform: Framedragger: it is doubtless possible to optimize .
asciilifeform: whenever ANYTHING is added , it first has to be searched for in each of these classes of item, in the case that it may already exist there.
Framedragger: i'm sorry but you didn't convince me in regards to the 'amount' of data. > 100mil row postgres with > 100 gb of data in a 8GB ram server ran fine. and while phuctor may be a more demanding beast, shouting '5 mil keys, MILLION!' doesn't convince
asciilifeform: and moduli, stored separately, linked bidirectionally to/from keys, ditto factors for same.
asciilifeform: it is a db of ~5 mil KEYS, each of which is from 1 to 20kB, and links, etc.
asciilifeform: try to apprehend the scale of the thing.
Framedragger: i have no doubt that a sillicon valley version would be a datacentre of mongodb nodes which constantly fail and corrupt data, and cost millions. :)
asciilifeform: because, for instance, the key-eater is a separate process. and has nfi that someone else wants the db.
asciilifeform: if you want anything from the db, you wait. for , possibly, HALF A MINUTE
asciilifeform: Framedragger: TOUCHING THE DB AT ALL IS SLOW
asciilifeform: we are at the farthest possibly limit of what can be done on one box, at anything like reasonable budget (whether paying the cost of a small european flat for a server for public service is 'reasonable' is separate question) ☟︎
asciilifeform: ^ is the db
asciilifeform: Framedragger: you do not seem to understand, so i will give illustration: http://www.swapmeetdave.com/Humor/Workshop/Lumber-Car-A.jpg
Framedragger: quite sure the diff'ing / updates were thought out thoroughly, i.e. time complexity is constant.
a111: Logged on 2016-11-19 16:58 ben_vulpes: Framedragger: if you go down the 'phuctor visualizer/dash' route, you might consider leaning on pg streaming replication
Framedragger: asciilifeform: http://btcbase.org/log/2016-11-19#1570745 may be worth a try, actually. ☝︎
asciilifeform: and there is ~0 way around it , other than by doing the static thing.
asciilifeform: Framedragger: db being hammered 24/7 with 'do we have this hash' 'do we have this fp' 'add this and this' 1000/sec is the bottle. ☟︎☟︎☟︎
asciilifeform: and, to continue to rain on the parade, if every www site has to be run like mpex, it will cost. and the range of things that can be provided 'for the public', 'for phreeee', will correspondingly shrink.
Framedragger: asciilifeform: have you profiled an http request to a permalinkable phuctor page? where's the bottleneck? curious if you could insert a thing into flask which crawls through everything and stores locally.
mircea_popescu: "oh it's on phuctor and why do i need to do anything", which is how we got "those debian experts are flyeyeing the code so why should i have a clue".
mircea_popescu: yay for the home team!
mircea_popescu is pretty fucking annoyed that the MOMENT the slightest disturbance in the force occurs, we suddenly discover there was really 0 defense in depth.
Framedragger: (again, many phuctor pages will simply timeout, iirc. but maybe can adjust; and still worth doing.)
mircea_popescu: ~what you were planning to do above.
Framedragger: by 'it', i mean scriba submitting to archive.is
Framedragger: mircea_popescu: right, will get it done. i had started on it, got sidetracked by the python encoding problem, and the got sidetracked by other stuff. need to re-trace, and will first do the archival bit.
mircea_popescu: that someone utterly failed at that task, as push coming to shove proves.
Framedragger: (i thought someone was supposed to retroactively archive all links in all logs of all times?)
mircea_popescu: we fucking need this archival of links in chan, like years ago.
mircea_popescu: and if there's to there's no loss. ☟︎
asciilifeform: Framedragger: understand, EVERY page in phuctor is subject to change
Framedragger: asciilifeform: and the permalink pages identifiable via fingerprint, are they generated by the flask backend, too?
mircea_popescu: Framedragger your scriba could crawl all links in chan and archive them. phf said a while back he almost has this but i've yet to see it
mircea_popescu: if you have a fp or w.e and wanna see go to phuctor.
asciilifeform: Framedragger: because at its current speed this will take you 50 years.
Framedragger: asciilifeform: why can't a separate box be set up to just crawl through all of phuctor pages, and then determine which of them are 'static' / won't ever change, for starters. and re-query the dynamic ones (at least the /phuctored) every $x amount of time
mircea_popescu: ie, you don't get to see ip or link. which /.... so search, what's it do.
asciilifeform: true, as of this week.
mircea_popescu: yes you can, by that format.
asciilifeform: mircea_popescu: that would make problem even worse, could no longer search logs for a gpg fp
Framedragger: that would indeed be nontrivial and would take quite a bit of your time
a111: Logged on 2016-11-17 15:06 mircea_popescu: trinque can deedbot rss parsing be unprincipledly altered so that any succession of alphanum characters in excess of 16 spaces is replaced with first4[...]last4 ?
Framedragger: that's the question - will you have to actually do that.
asciilifeform: Framedragger: the fundamental problem is that i will have to rewrite WHOLE THING for any of this to possibly happen.
Framedragger: mircea_popescu: just fyi archive.is fails and/or timeouts on some pages
mircea_popescu: a damn that's also there.
asciilifeform: (and then , in debian run, the rss feeder itself overflowed )
asciilifeform: mircea_popescu: for quite some time, the rss thing did not display clickable links in chan for phuctor due to overflow
Framedragger: asciilifeform: (instead of doing a more obscure "query-able phuctor-and-stuff db" thing i could help with some kind of phuctor-public-display-vps infrastructure setup. just sayin'. thing's not clear in my head.)
asciilifeform: (pretty sure these 2 did. slowly, painfully.)
asciilifeform: i dunno that anyone other than google and yandex ever made a ~full phuctor~ snapshot.
mircea_popescu: i.... think not.
mircea_popescu: fucking worthless, really, there's a total of SIX links to phuctor that went in chan this month ?
mircea_popescu: and all-phyuctor snapshots are like this : 1 from nov 14. three from nov 3 . two from nov 1.
Framedragger: no doubt that's priority asciilifeform, and will patiently wait
asciilifeform: mircea_popescu: there is an independent snapshot on my blog, also. but also a month old.
asciilifeform: my hands presently are quite full with polishing off the prospectus for said item, and www page / invoicetron.
mircea_popescu: in other wtf : all https://archive.is/http://phuctor.nosuchlabs.com/phuctored are from the same one day in may ; while all https://archive.is/http://phuctor.nosuchlabs.com/ are from the same one day i nseptember.
Framedragger: i've read, i am doubly interested due to vagueness of said broadcasts :p
asciilifeform: Framedragger: dunno if you read the broadcasts, but we have an actual product rolling off conveyor as we speak.
Framedragger: with regards to vps i could help, if help/hands are needed. i know you have other priority stuff asciilifeform. also, don't know what the meta-priority level here is. (i.e., compared to other projects etc)
Framedragger: and then imagine, deploying 'display' vps would become simpler still.
asciilifeform: i really ought to have made entire thing a c proggy that shits out static html once in a while.
mircea_popescu: any collection of data will have to consist of references to other sources at the edges
Framedragger: those sibling pages, why can't they hit once, and html be generated, too.
asciilifeform: currently they are generated programmatically. will have to rebake whole thing such that they exist as static texts on disk.
mircea_popescu: asciilifeform no, those link back to phuctor.
asciilifeform: though then you want to see the unpopped subkey siblings of the popped moduli, and start clicking, and you'll get zip.
a111: Logged on 2016-11-19 15:52 asciilifeform: the folx whose chumpnet we blew open, with the debian boxes, i suspect -- trying to make their displeasure known.
Framedragger: have a way (rss or better version of rss, or whatever) to sync it every $n hours.
asciilifeform: 'just popped' means that you can no longer use it, as previously suggested, in place of sks, for instance.
Framedragger: even if more than that - all of that shit can be cached, static html pages. maybe i'm oversimplifying.
mircea_popescu: which is k of records * 10kb or such, not the end of world.
Framedragger: i don't know why you need true real time, tbh.
mircea_popescu: asciilifeform he just wants the popped stuff.
Framedragger: i'm not saying that going for cheapest ad-hoc option is accetabru. just, a display box showing static content needs much less.
asciilifeform: Framedragger: db would have to exist locally on the vps, for the thing to work more or less reasonably in real time
Framedragger: , too.