#editorial | Logs for 2020-04-27
« return
[01:25:46] <Bytram> Fnord666: !!
[01:26:09] <Fnord666> Bytram !!
[01:26:12] * Bytram has received a request from TheMightyBuzzard to slot in a different story in the next slot.
[01:26:26] <Fnord666> ok
[01:26:45] <Bytram> "whatever's in that slot is gonna be https://sylnt.us"
[01:26:47] <exec> └─ 13YOURLS — Your Own URL Shortener | https://sylnt.us
[01:26:47] <Bytram> =)
[01:27:28] * Bytram moves the dolphins to the end
[01:27:48] <Bytram> from its current slot: 2020-04-27 01:32:00
[01:28:16] <Bytram> moved
[01:28:31] <TheMightyBuzzard> Bytram, not the next story, after the Great Debate story
[01:29:53] <TheMightyBuzzard> we're on exb with the the apple text bomb one
[01:30:09] <Bytram> #smake TheMightyBuzzard
[01:30:09] * MrPlow smakes TheMightyBuzzard upside the head with a bag of puppies
[01:30:28] <Bytram> what is the url of the story whose slot you want it to be in?
[01:30:35] * Bytram is almost done.
[01:30:37] <Bytram> hold on
[01:30:56] <TheMightyBuzzard> third one from now, https://soylentnews.org
[01:30:56] <systemd> ^ 03Error
[01:30:57] <exec> └─ 13Error
[01:31:15] <TheMightyBuzzard> 💩Error
[01:35:12] <Bytram> Fnord666: hang on a bit; still adjusting story release times
[01:37:10] <TheMightyBuzzard> today is a good day. i haven't got to actively annoy editors in some time.
[01:37:34] <Bytram> TheMightyBuzzard: I think I've got it. take a look.
[01:37:48] <TheMightyBuzzard> b c d e
[01:37:54] <TheMightyBuzzard> three from not two =P
[01:39:02] <TheMightyBuzzard> needs to be third in front of the apple story
[01:39:06] <Bytram> that is why I asked for a url, relative things were changind
[01:39:21] <Bytram> magic leap was at: 2020-04-27 05:50:00
[01:39:37] <Bytram> wine was at: 2020-04-27 03:41:00
[01:39:55] <TheMightyBuzzard> swap the times on them two and bob's yer uncle
[01:39:57] <Bytram> wine is now at: 2020-04-27 05:50:00
[01:40:44] <Bytram> magic is now at: 2020-04-27 03:41:00
[01:41:07] <Bytram> actually, robert is my dad's brother
[01:41:11] <TheMightyBuzzard> yays! the lengths i will make others go to for a pun...
[01:41:27] <Bytram> punishing
[01:42:27] <chromas> TheMightyBuzzard: s/go for/execute/
[01:42:44] <chromas> chromas: /s/go for/go to for/
[01:44:49] <Bytram> well, if all works out correctly, the story should have a self-referential dept.
[01:54:36] <Bytram> takyon: I'm done working on "Magic Leap"
[01:58:12] <Bytram> =g when sysadmins ruled the world
[01:58:13] <systemd> https://craphound.com - When Sysadmins Ruled the Earth
[05:37:24] -!- AzumaHazuki has quit [Remote host closed the connection]
[09:01:35] -!- carny has quit [Remote host closed the connection]
[09:04:17] -!- carny [carny!~irc@ib32.ip-65-05-789.eu] has joined #editorial
[12:12:03] <Bytram> So, I was up *way* to late last night, but finally got a script working which can merge all the story submissions in the hold queue...
[12:12:25] <Bytram> But, it (obviously) does nothing to change each story submission's status
[12:13:42] <Bytram> So, am pivoting for it to take as input a single, merged story from which I will extract subids, and then reconstruct the merged story with all submissions in order from newest down to oldest.
[12:14:26] <janrinok> well done - will it save enough time to justify your efforts. I decided it wasn't worth it, as if we all take it in turn to do the round-up it is only 2 hours a month.
[12:14:28] <Bytram> Actually, the mainline code just accepts a sequence of subids and assembles the story based on that order.
[12:14:52] <janrinok> is that with direct access to the db?
[12:15:11] <Bytram> It has been driving me *bonkers* that there is no rhyme or reason to whatever order the merged story ends up with...
[12:15:30] <janrinok> yeah, I find that annoying too
[12:15:33] <Bytram> also, the "Original Submission"s gathered at the end have been... problematic
[12:15:47] <Bytram> so now I can include each O.S.
[12:15:57] <Bytram> immediately after the story it refers to.
[12:16:22] <Bytram> Would like some kind of distinctive HTML element I can use to set it off. ATM, we use <HR>
[12:17:13] <janrinok> I'm not sure that I understand what the problem is there
[12:17:18] <Bytram> AFAIK, in addition to HR, we have TABLE, TR, TH, and TD that are permitted to editors but not to submitters. Does anyone know of any others?
[12:17:28] <Bytram> false positives
[12:18:22] <janrinok> no, that still does not explain what the problem is. Aren't you reformatting the stories from scratch once you have collected them?
[12:18:46] <Bytram> *I* am (and BTW, not using any special DB access).
[12:19:44] <Bytram> What if somebody submits a story and has included HTML that *looks* like our O.S. "stuff" -- trolls/hacks/neerdowells will always be with us.
[12:19:57] <Bytram> The use of reserved HTM protexts us from false positives.
[12:21:19] <janrinok> I don't know the mechanism that you are using to gather the stories, but assuming you are collecting them one at a time using some form of the API, you can do what you want with them can't you. They are just raw submissions.
[12:21:36] <Bytram> For example, the solution to taking a single merged story in random order and re-assembling from scratch is simplified by searching for the "Original Submission" string immediately follow an <HR> element.
[12:22:07] <Bytram> Just extract those subids, sort, and then assemble an ordered story from those.
[12:22:17] <janrinok> so you are merging them and then trying to sort them out?
[12:23:56] <janrinok> if you download them one at a time then the O.S. field is the last thing that you read
[12:24:04] <Bytram> When someone has decided to merge them, (after culling for quality, etc.) I will be able to take the merged story, extract subids, and then using the info from the original submission page for each subid, catenate it together in a single *ordered* story.
[12:24:44] <Bytram> stories submissions are pre-downloaded, once. Then I gather from the download dir.
[12:25:07] <janrinok> I approached it using the sequence cull, download, organise, compile
[12:26:04] <janrinok> it is a simple task for templates
[12:26:19] * Bytram has separate scripts that download a single story sub, and another that downloads a range of subs from subid1 to subid2 which uses the other script for downloading each story sub
[12:26:36] <Bytram> So story submissions are cached locally
[12:26:50] <Bytram> easier on the site's load, and on my bandwidth, too.
[12:26:53] <janrinok> so that is before they are merged then
[12:26:56] <Bytram> yes
[12:27:09] <janrinok> you said after the merge a few lines back
[12:28:27] <janrinok> 'take as input a single merged story' - at minutes xx:13:42
[12:28:36] <Bytram> I had made the original assumption that I would merge everything that was currently in the hold queue
[12:29:03] <Bytram> I realized this AM, that it still left all those stories un-acknowledged for karma, etc.
[12:29:05] <Bytram> also
[12:29:12] <janrinok> well don't - sort them out first and then insert them in a sequence of your choosing
[12:29:17] <Bytram> it assumed that *all* of those stories would be merged
[12:29:27] <Bytram> so, new idea.
[12:30:07] <Bytram> Take a merged story (so, preculled), extract subids from *that* file, and use that to inform the construction of my merged file; now with proper ordering.
[12:30:11] <janrinok> you can print the same format in sequence into a new html document
[12:30:53] <Bytram> Forgot to mention, when my script is done, what has been created is just the HTML to be pasted into a story.
[12:31:08] <janrinok> np - that bit is clear
[12:31:09] <Bytram> stored as a single file locally on my PC
[12:31:15] <Bytram> k
[12:32:16] <janrinok> once a story is merged using the current software, it separates the O.S from the story. Process them as individual stories and then merge them, printing the O.S. link after each one
[12:32:54] <Bytram> Is much easier to show than explain. Barring interrupts or surprises, I'm guessing I should have the ability to scrape a merged story for subids, and sorting those, and then assembling a story using just the subids working in an hour or two.
[12:33:06] <Bytram> Yep
[12:33:21] -!- MrPlow has quit [Remote host closed the connection]
[12:33:56] <Bytram> My merged story has: submission9 (OS9), submission8 (OS8), ... submission1 (OS1)
[12:34:02] -!- MrPlow [MrPlow!MrPlow@Soylent/BotArmy] has joined #editorial
[12:34:02] -!- MrPlow has quit [Changing host]
[12:34:02] -!- MrPlow [MrPlow!MrPlow@nsa.gov] has joined #editorial
[12:34:02] <janrinok> at the moment your problem is that you are concerned that someone might cock it up by using similar markup to trigger your scraping - if you keep them as individual html the O.S. link is the last thing printed
[12:34:49] <Bytram> I am concerned that in the original story submission they may present text that would be identical to the OS text we provide.
[12:34:57] <Bytram> Oh, I see what you are saying.
[12:35:02] <janrinok> so you can move them around as you wish, and the link will stay with the story exactly as you have just given as an example. Why are you scraping for the O.S. link - it is the last thing in every story?
[12:35:56] <Bytram> 1) It's part of what goes out to the users, so it needs to be in my merged story, for starters.
[12:36:44] <Bytram> 2) Having it appear at the bottom has always been problematic in matching which OS applies to which story, esp with OS1 OS2.. nomenclature
[12:36:47] <janrinok> I know - it only gets cocked up when you _merge_ using the current software. You can merge stories with your own software to leave the O.S. link exactly where it would be if it was printed alone
[12:37:29] <Bytram> adjacency simplifies matching things up... *especially* if we decide to omit a submission *after* the merge.
[12:37:30] <janrinok> then you simply add each separate story - each with its own O.S. link - in sequence.
[12:37:55] <janrinok> do all the editing BEFORE merging
[12:38:01] <Bytram> Is no fun trying to find which OS link applies to the later-decide omission of a story
[12:38:08] <Bytram> HUH?
[12:38:41] <Bytram> how do you edit a story submission without promoting it to story>
[12:38:46] <Bytram> s/>/?/
[12:38:48] <exec> <Bytram> how do you edit a story submission without promoting it to story?
[12:39:13] <janrinok> You use an editor - what is the problem?
[12:39:37] <Bytram> teamwork?
[12:40:28] <janrinok> While you are working on the round-up, then nobody else can be working on it at the same time even now, can they? You simply tell people to stay out
[12:41:05] <Bytram> Whomever does the initial merge, selects whatever stories it contains. That simultaneously updates the DB as to what stories have been affected...
[12:41:27] <janrinok> you can use any editor that you like on your own machine - I've got several which are loads better than the one that is provided. As long as you eventually produce a page of HTML that can be inserted into a story then you are good to go
[12:42:26] <Bytram> after I'm done coding this, I can consume *their* merge, reorder, and paste it the merged HTML over the original merge. The we commence to paring it down.
[12:42:44] <janrinok> there are simple procedural ways of giving the karma - merge and then hide using the existing software or simply replace the merge with your own HTML from off your own maching
[12:44:03] <janrinok> we are agreeing on that. You are creating a problem by merging and then trying to sort out the OS links - I don't merge until I have done the first pass of each separate story that will go into the merge, which I do on my own machine
[12:44:45] <Bytram> Sorrrry, but I'm starting to spend more time here that could be better spent getting it done. I'm pressed for time today... and didn't get to bed until 0200 my time. Likely also undercaffeinated.
[12:45:07] <Bytram> Just give me an hour or two and I should have it working.
[12:45:14] <janrinok> OK, I shouldn't be on here either - not a quiet time for us for the last few days
[12:45:18] <Bytram> speaking of which
[12:45:21] <Bytram> coffee++
[12:45:21] <Bender> karma - coffee: 118
[12:45:27] <janrinok> tea++
[12:45:27] <Bender> karma - tea: 34
[12:45:40] <janrinok> good luck with the coding
[12:48:48] -!- AzumaHazuki [AzumaHazuki!~hazuki@the.end.of.time] has joined #editorial
[12:54:15] <Bytram> I apologize for being short. I'm tired, it's horrible weather: cold (barely above freezing), windy, and raining
[12:54:21] <Bytram> and some snow too
[12:55:31] <AzumaHazuki> that happened here a few days ago
[13:05:12] <Bytram> gee, thanks?
[13:17:18] <Bytram> =decline
[13:17:18] <systemd> Thanks for submitting this story. It appears that no editor has yet selected this story to be run. At least a week has passed since the story was submitted, and if an editor was going to have selected it, they would likely have done so by now. It has, therefore, been removed from the submission queue.
[13:29:39] * Bytram just pushed out 3 stories to get some breathing space with the story queue
[13:32:51] <janrinok> ... and seconded
[13:33:16] <Bytram> janrinok++ thanky
[13:33:16] <Bender> karma - janrinok: 95
[13:42:23] <Bytram> =submit https://phys.org
[13:42:24] <systemd> Submitting "Researchers develop high-performance ceramic fuel cell that operates on butane gas"...
[13:42:24] <exec> └─ 13Researchers develop high-performance ceramic fuel cell that operates on butane gas
[13:42:45] <systemd> ✓ Sub-ccess! "03Researchers Develop High-performance Ceramic Fuel Cell That Operates on Butane Gas" (10 paragraphs) -> https://soylentnews.org
[13:49:26] -!- AzumaHazuki has quit [Ping timeout: 244 seconds]
[14:50:40] <Bytram> =sub %ev_from_stdin_ev_name%
[14:50:40] <systemd> Bytram, 04submit failed: No URL.
[14:50:43] <Bytram> lol
[14:50:59] <Bytram> =sub http://feedproxy.google.com
[14:51:01] <systemd> Submitting "On its 15th birthday, the Airbus A380 is facing retirement"...( 1 modified urls; https://www.cnet.com )
[14:51:23] <systemd> ✓ Sub-ccess! "03on its 15th Birthday, the Airbus A380 is Facing Retirement" (7 paragraphs) -> https://soylentnews.org
[14:52:45] <Bytram> chromas: ^^^ Curious. It looks like it lowercased the first word of the title? What's going "on" ? ;)
[14:54:12] <chromas> It's an unimportant word so lower case
[14:54:18] <chromas> It doesn't know it's also the first word
[14:58:53] <Bytram> Hmm, If I'm not mistaken, unless the first word is "special" like iPhone, the first *word* should always be capitalized, even if it follows quote marks: "Strange Things" are Happening Here
[14:59:14] <Bytram> 'Not Gonna Happen' Says Prime Minister
[14:59:52] <Bytram> "iPad on Steroids" is Coming Soon
[15:00:08] <Bytram> A Flower for Algernon
[15:00:34] <Bytram> my PC is acting up; time for a reboot. This may take a while.
[15:00:40] <Bytram> afk; biab
[15:01:04] <chromas> It doesn't know it's also the first word
[15:01:23] <Bytram> okaaaay
[15:01:37] <Bytram> btw, how are YOU this morning?
[15:02:55] <Bytram> ~arthur https://phys.org
[15:02:57] <exec> 345 stories loaded
[15:02:57] <exec> attempting to submit story: "New findings suggest laws of nature 'downright weird,' not as constant as previously thought"
[15:02:58] <exec> └─ 13New findings suggest laws of nature 'downright weird,' not as constant as previously thought
[15:03:00] <chromas> I changed the code the other day to use a regex to pick out words (which fixes stuff like "Word'S"). For each match, it calls a delegate function to fix the word, but it doesn't know about the position
[15:03:11] <chromas> Though now that I think about it, it probably does have the info
[15:03:28] <exec> submission successful - https://soylentnews.org
[15:03:33] <exec> 344 stories loaded
[15:03:38] <chromas> I'm normal. I could say "regular" but that has implications
[15:03:51] <Bytram> something has to have the original ordering, otherwise the new title would be word salad
[15:05:18] <chromas> The replace function has the ordering, but the replacement function doesn't (although I'm now thinking it gets passed in somewhere)
[15:05:44] <Bytram> can you pass an arg to the replacement function as a flag that it is the first word?
[15:10:32] <Bytram> as things go, it's not a big deal.
[15:10:37] <Bytram> w2? https://go.theregister.co.uk
[15:10:38] <systemd> ^ 03Less is more with OpenCL 3.0: Implementing the 2.x spec was tricky – so now everything beyond 1.2 is optional ( https://www.theregister.co.uk )
[15:10:39] <exec> └─ 13Less is more with OpenCL 3.0: Implementing the 2.x spec was tricky – so now everything beyond 1.2 is optional • The Register
[15:10:46] <chromas> Hm weird. It doesn't give the position but it does give slices of before and after the match, so I can get the length of that
[15:10:52] <Bytram> ~arthur https://www.theregister.co.uk
[15:10:54] <exec> └─ 13Less is more with OpenCL 3.0: Implementing the 2.x spec was tricky – so now everything beyond 1.2 is optional • The Register
[15:10:54] <exec> 344 stories loaded
[15:10:55] <exec> attempting to submit story: "Less is more with OpenCL 3.0: Implementing the 2.x spec was tricky – so now everything beyond 1.2 is optional"
[15:11:25] <exec> submission successful - https://soylentnews.org
[15:11:30] <exec> 343 stories loaded
[15:12:06] <chromas> There. I think that does it
[15:12:22] <Bytram> w2? http://feedproxy.google.com
[15:12:23] <systemd> ^ 03Get a 1-year Sam's Club membership for free ( https://www.cnet.com )
[15:14:10] <Bytram> ~arthur https://www.bbc.co.uk
[15:14:13] <exec> 343 stories loaded
[15:14:13] <exec> story not found
[15:14:14] <exec> └─ 13NHS rejects Apple-Google coronavirus app plan - BBC News
[15:15:03] <Bytram> =sub https://www.bbc.co.uk
[15:15:05] <exec> └─ 13NHS rejects Apple-Google coronavirus app plan - BBC News
[15:15:07] <systemd> Submitting "NHS rejects Apple-Google coronavirus app plan"...( 1 modified urls; https://www.bbc.com )
[15:15:29] <systemd> ✓ Sub-ccess! "03NHS Rejects Apple-Google Coronavirus App Plan" (31 paragraphs) -> https://soylentnews.org
[15:31:06] <Bytram> =submit https://blogs.sciencemag.org
[15:31:08] <systemd> Submitting "Anti IL-6 For Coronavirus Patients: Does It Work, or Not?"...
[15:31:29] <systemd> ✓ Sub-ccess! "03Anti IL-6 for Coronavirus Patients: Does It Work, or Not?" (7 paragraphs) -> https://soylentnews.org
[15:36:55] <Bytram> rebooting now... will be a while before I get my desktop restored completely
[15:36:58] <Bytram> laters
[15:37:10] <chromas> System restore?
[16:58:16] -!- cartest [cartest!~irc@157.157.qj.mn] has joined #editorial
[16:58:41] -!- cartest [cartest!~irc@157.157.qj.mn] has parted #editorial
[17:29:21] -!- Fnord666_ [Fnord666_!~4039920b@64.57.tgv.rt] has joined #editorial
[17:29:37] <Fnord666_> janrinok: I just added some related links to the contact tracing story
[17:29:52] <janrinok> k
[17:30:13] <Fnord666_> saw you were editing and didn't want to clash
[17:30:33] <janrinok> I'm just reading it for now - but thanks for the warning
[17:30:44] <Fnord666_> :)
[17:32:29] <janrinok> I'm not processing it yet - I don't want 2 cv19 stories in adjacent slots
[17:33:51] <Fnord666_> ah, ok
[17:34:06] <Fnord666_> I'll look for a couple to insert between
[17:34:18] <janrinok> I'm just doing the fuel cell one
[17:34:28] * Bytram is pulling out what little remains of his remaining hair
[17:35:26] <janrinok> try pushing it back in - it is just as rewarding but hopefully might improve things....
[17:37:42] <Bytram> would prolly be just as effective and rewarding :/
[17:41:03] <Bytram> well I finally fond a workaround... but &*%)&)%*)%_^
[17:41:38] <Fnord666_> moved contact tracing story
[17:42:04] <Fnord666_> put opencl story in old time slot
[18:04:54] <Bytram> 2nd high-perf fuel cell
[18:05:12] <Bytram> 2nding wheat
[18:05:46] <janrinok> thx
[18:16:23] -!- Fnord666_ has quit []
[18:34:54] <Bytram> break time
[18:34:57] <Bytram> laters
[18:35:03] <Bytram> thanks everyone!
[18:35:09] <Bytram> teamwork++
[18:35:09] <Bender> karma - teamwork: 235
[18:37:16] <Bytram> =sub https://www.sciencedaily.com
[18:37:17] <systemd> Submitting "Scientists unveil how general anesthesia works: A study in mice and rat brains reveals how general anesthesia dampens high frequency brain activity by weakening synapses"...
[18:37:18] <exec> └─ 13Scientists unveil how general anesthesia works: A study in mice and rat brains reveals how general anesthesia dampens high frequency brain activity by weakening synapses -- ScienceDaily
[18:37:39] <systemd> ✓* Sub-ccess! "08Scientists Unveil How General Anesthesia Works: a Study in Mice and Rat Brains Reveals How General A" (19 paragraphs) -> https://soylentnews.org
[18:39:26] <Bytram> ~arthur https://www.sciencedaily.com
[18:39:28] <exec> └─ 13New findings suggest laws of nature not as constant as previously thought -- ScienceDaily
[18:39:29] <exec> 434 stories loaded
[18:39:30] <exec> story not found
[18:39:37] <Bytram> =sub https://www.sciencedaily.com
[18:39:38] <systemd> Submitting "New findings suggest laws of nature not as constant as previously thought"...
[18:39:39] <exec> └─ 13New findings suggest laws of nature not as constant as previously thought -- ScienceDaily
[18:40:00] <systemd> ✓ Sub-ccess! "03New Findings Suggest Laws of Nature Not as Constant as Previously Thought" (27 paragraphs) -> https://soylentnews.org
[23:53:59] <Bytram> w2 https://t.co
[23:53:59] <systemd> ^ 03https://twitter.com/tomwarren/status/1253655739379470338
[23:54:00] <exec> └─ 13https://twitter.com/tomwarren/status/1253655739379470338
[23:54:40] <Bytram> w2? https://twitter.com
[23:54:41] <systemd> ^ 03Twitter ( https://mobile.twitter.com )
[23:54:42] <exec> └─ 13Twitter
[23:55:09] <Bytram> w2? https://twitter.com
[23:55:10] <systemd> ^ 03Search Twitter - #MicrosoftWord ( https://mobile.twitter.com )
[23:55:12] <exec> └─ 13Search Twitter - #MicrosoftWord
[23:55:51] <chromas> Ooh, they've escaped the ampersands just for FatPhil
[23:55:56] <chromas> in the url
[23:56:30] <Bytram> w2? https://twitter.com
[23:56:31] <systemd> ^ 03Twitter ( https://mobile.twitter.com )
[23:56:32] <exec> └─ 13Twitter
[23:56:49] <Bytram> w2? https://twitter.com
[23:56:51] <systemd> ^ 03Search Twitter - #MicrosoftWord ( https://mobile.twitter.com )
[23:56:53] <exec> └─ 13Search Twitter - #MicrosoftWord
[23:56:56] <Bytram> w2? https://twitter.com
[23:56:57] <systemd> ^ 03Search Twitter - #MicrosoftWord ( https://mobile.twitter.com )
[23:56:59] <exec> └─ 13Search Twitter - #MicrosoftWord
[23:57:34] <Bytram> https://twitter.com
[23:57:35] <systemd> ^ 03Twitter ( https://mobile.twitter.com )
[23:57:36] <exec> └─ 13Twitter