Show Idle (>14 d.) Chans


← 2020-05-03 | 2020-05-05 →
01:19 feedbot http://bimbo.club/2020/05/work-report-5032020/ << Bimbo Club -- Work Report - 5/03/2020
~ 45 minutes ~
02:04 spyked http://ossasepia.com/2020/05/03/ossasepia-logs-for-may-2020/#1025620 <-- wp acts retarded sometimes; on the 1st layer: in some circumstances (not entirely known to me), it re-assigns new post IDs to old articles; on the 2nd layer: rss channel entries are identified using the "guid" tag, and when a post gets a new postid, its guid tag also changes.
02:04 sonofawitch 2020-05-03 21:10:30 (#ossasepia) diana_coman: spyked: what throws feedbot off above?
02:07 spyked speaking of which, diana_coman, it looks like (some of) your log articles have empty guid tags? when feedbot doesn't find the guid for an entry, it uses the "link" tag instead, but otherwise it can't guarantee all that much, because how else is it supposed to identify rss entries.
~ 1 hours 24 minutes ~
03:31 diana_coman spyked: hm, I'll add the guid tags to the list since it seems I really have to sink some days into sorting out mpwp for my current needs, after all.
03:41 spyked diana_coman: is the logbot adding/modifying articles via mysql?
03:42 * spyked wonders, what is mpwp using to generate that particular tag?
~ 15 minutes ~
03:58 diana_coman spyked: yes, via mysql
03:58 diana_coman and I didn't specifically care about guid tags so possibly there's something missing indeed
03:59 diana_coman I half dread I'll end up stripping half of mpwp codebase if I really sink days into setting the blog straight once and for all but the annoyance and pressure is building on that front so ...I guess I'll find out soon enough.
04:03 diana_coman http://ossasepia.com/2020/04/27/ossasepia-logs-for-27-Apr-2020/#1025351 - ftr dorion , one week in, I don't see much of this.
04:03 sonofawitch 2020-04-27 21:11:04 (#ossasepia) diana_coman: dorion: what's your plan re using those resources ?
~ 43 minutes ~
04:47 spyked diana_coman: it seems that there's indeed a 'guid' field in the wp posts table. and rss grabs it in e.g. wp-includes/feed-rss2.php (via the_guid(), defined in wp-includes/post-template.php)
~ 1 hours 14 minutes ~
06:02 diana_coman spyked: I didn't look but I'd have expected that field to be added automatically on insert really; possibly some of the php normally does that; anyways, I'll probably find out soon enough indeed.
06:03 diana_coman billymg: your v-tree at http://billymg.com/mp-wp-vtree/ stops at mp-wp_comments_filtering.vpatch while my local tree has also mp-wp_add-embedded-vpatch-formatting.vpatch ; as a result, now I'm confused as to what even is the full current trunk, let alone whatever modifications I might have deployed otherwise.
~ 37 minutes ~
06:40 spyked diana_coman: I don't think it can set the field on auto, since it's a string. so yeah, I think it's generated in php, based on the URL and the post ID, i.e. http://myblog/?p=N
06:46 spyked (for further reference: from the looks of it, it's set in wp-includes/post.php, in the wp_insert_post mega-function, e.g. http://paste.deedbot.org/?id=68UC )
~ 6 hours 30 minutes ~
13:16 billymg diana_coman: yeah i haven't updated yet because i was going to republish that patch with some of the feedback from jfw. then that feedback plus discussion in here prompted a pause to do some research (the survey), and last week i got sidetracked with some IRL work plus a trip to arenal (blog post drafted and ready
13:16 billymg to go once i get some permissions assistance on anyserver)
13:20 billymg diana_coman: this time i did all my image processing locally with a script i put together based on the one whaack shared and your mention of a locally running imagemagick, and so now my anyserver user is bumping into permission restrictions on a folder previously generated by apache (via mpwp) when trying to copy over the images
~ 1 hours 15 minutes ~
14:35 feedbot http://billymg.com/2020/05/guanacaste-san-jose-and-arenal-two-months-in-costa-rica/ << billymg -- Guanacaste, San Jose, and Arenal: Two Months in Costa Rica
14:38 diana_coman billymg: btw, since I did one round of digging through the whole pile of mpwp yet again - by now it's better I'd say to remove that "selection-magic" thing given that it's broken
14:40 billymg diana_coman: indeed, jfw has a patch for that already (just need a minor tweak)
14:40 ossabot Logged on 2020-04-22 21:32:40 billymg: http://logs.ossasepia.com/log/ossasepia/2020-04-22#1025005 << jfw, yup, looks good. one minor thing for the patch removing js selection: the wrapper <span> tags in page.php and single.php can be removed as well
14:41 billymg i was gonna wait for him to make that last update and then add his two patches to my mirror of the trunk
14:42 diana_coman cool then; is there in any of those (im)pending vpatches the fixing of the trilema-specific links-immunity? because I noticed that in the main trunk it's set to trilema.com and nowhere even mentioned, lolz.
14:44 diana_coman billymg: do you know by any chance where is the page/nopage set for the archives? not sure why is this even so different than for the rest but I can't seem to properly & fully figure it out atm.
14:49 billymg diana_coman: re: trilema-specific links, not to my knowledge, but i can add that as a drive-by fix in the code embed patch
14:50 billymg diana_coman: what do you mean by page/nopage set for archives?
14:53 diana_coman billymg: how to set it so it does not paginate archive contents, for any archive
14:53 diana_coman I can set it directly for posts, there are some parameters to the posts query but I can't quite figure out how to set it only for archives
14:55 billymg ah i see, so for example on http://ossasepia.com/2020/04/ you'd like all of the entries to be on a single page?
14:55 diana_coman yes
14:56 jfw diana_coman: what's the links-immunity mean?
14:57 billymg diana_coman: got it. i don't know offhand but i can look
14:58 diana_coman jfw: mpwp is set so comments with links get into the moderation queue *except* those with links to trilema.com
14:58 diana_coman ofc, one would change that to links to own site; or hm, so I supposed, lol
14:59 diana_coman now it will turn out everyone runs it with trilema.com
14:59 jfw checking what I did on mine...
15:00 diana_coman jfw: it's in wp-includes/comment.php
15:04 feedbot http://younghands.club/2020/05/04/rmd-w26-review-apr-26th-may-3rd-2020/ << Young Hands Club -- RMD w26 review, Apr 26th-May 3rd, 2020
15:06 jfw I see a trilema.com in a preg_match_all and yeah, I had no idea that file needed tweaking.
15:07 jfw I believe I raised the link count threshold to count as spam in the admin UI, possibly that's why it hasn't bothered me.
15:07 feedbot http://younghands.club/2020/05/04/rmd-w27-plan-may-4-8th-2020/ << Young Hands Club -- RMD w27 plan, May 4-8th, 2020
15:08 diana_coman jfw: yes, that one in check_comment; as you can see, it subtracts links to trilema from total links before it looks if it's to go to modq or not
15:09 diana_coman jfw: well, you wouldn't specifically notice it as such I suppose anyway unless really paying attention/getting surprised at some comments making it through without moderation perhaps.
15:20 jfw I can't quite make out what those REs are doing, especially the starting | and trailing |i and *? (guessing the ? is just redundant with the * there, but with all the different RE variants it could mean something entierly else for all I know...)
15:20 jfw think I'll leave it to billymg unless he asks for help though :)
15:23 billymg diana_coman: do you think it's something that should just be removed? and if someone wants to whitelist their domain they update the regex accordingly? i could see it as a useful feature if the whitelisted domain(s) could be set at the db or config level and pulled into that regex
15:23 jfw billymg: I'll do that comments-js removal vpatch tweak / regrind by Sunday, unless you'd prefer it wait to build on the patch-review patch. (Not that it's hard, just lots else on the plate.)
15:24 billymg jfw: sunday is fine for me, i was going to place the patch-review patch on top of those after making the final round of updates
15:25 diana_coman billymg: hm, I think that the blog's domain is actually in the db, isn't it?
15:25 diana_coman in _options iirc
15:25 billymg diana_coman: ah, true, could just pull from that then
15:25 jfw ^, or WP_SITEURL from wp-config.php
15:26 jfw (the two may interact in some way...)
15:26 billymg my thought was to make it a csv list perhaps, so one could whitelist multiple domains, but that could always wait for later (if it even seems worth doing)
15:26 diana_coman jfw: the wp-config values are used at install time to set those in the db iirc
15:26 diana_coman not sure they are even directly used afterwards
15:27 diana_coman billymg: there is somewhere further whitelisting iirc based on blogroll; or so it was intended
15:30 billymg diana_coman: ah, got it
15:31 diana_coman dorion: fwiw I can fully relate to single-focus on one thing and one thing only but with (a lot of) experience, I learnt also that it ~never works well like that over days/weeks/more and moreover it's not even as effective as it may seem; so yeah, practice a more balanced approach, it's worth it.
15:32 diana_coman cruciform: did you get lost in the relaxing one-day?
~ 29 minutes ~
16:01 dorion thanks diana_coman. though I didn't foresee it, it makes sense in retrospect that the pattern re-emerged as I get going again. Today has been more balanced and I'm looking forward to keeping it up.
← 2020-05-03 | 2020-05-05 →