#editorial | Logs for 2019-09-24
« return
[07:13:00] <janrinok> ~tell Bytram - storybot works fine on that URL for me. What are you seeing?
[07:14:25] <janrinok> Bytram, what version of storybot are you using? I'm running 5.0 which is just about ready for release.
[07:19:31] <janrinok> I've submitted it for you :)
[11:41:27] <Bytram> ~tell janrinok It may work, eventually, but it fails until arthur separately parses it after consuming his rss feed(s); see: https://logs.sylnt.us
[11:41:29] <exec> └─ 13#editorial | Logs for 2019-09-23
[11:42:12] <Bytram> ~tell janrinok and the storybot version I am using is: whatever makes the page on the wiki: https://wiki.soylentnews.org
[11:42:15] <exec> └─ 13Storybot - SoylentNews
[12:07:14] <chromas> probably gotta consult cmn32480 then
[12:09:22] <janrinok> Bytram, I'm not understanding what the error is that you are seeing. I've got no idea how someone has plumbed it into IRC so I don't understand what that has to do with rss feeds. The command should be storybot.py -u http://some
[12:12:01] <janrinok> you use arthur as _either_ an rss reader _or_ as an individual url processor.
[12:12:02] <Bytram> janrinok: hold on lemme try again
[12:12:28] <Bytram> ~arthur https://www.sciencedaily.com
[12:12:30] <exec> └─ 13Depression and binge-drinking more common among military partners -- ScienceDaily
[12:12:31] <exec> 747 stories loaded
[12:12:32] <exec> attempting to submit story: "Depression and binge-drinking more common among military partners"
[12:13:01] <Bytram> that was the most recent science daily article I found in the #rss-bot channel
[12:13:02] <exec> submission successful - https://soylentnews.org
[12:13:07] <exec> 746 stories loaded
[12:13:29] <janrinok> well it appears to have been successful - doesn't it?
[12:13:49] <chromas> That's because you're watching
[12:13:56] <janrinok> lol
[12:14:12] <Bytram> it seems if I try to attempt to submit a story that is newer than when #exec channel reports that Arthur is updating the storybot page, I get an error
[12:14:36] <cmn32480> consult me about what chromas?
[12:14:49] * janrinok has no idea what someone has done to implement the '~arthur' command
[12:14:57] * cmn32480 doesn't either
[12:15:06] <chromas> cmn32480: the version of arthur used in exec
[12:15:06] * cmn32480 points at crutchy
[12:15:16] <cmn32480> it is older than dirt
[12:15:17] <janrinok> who wrote ~arthur?
[12:15:23] <cmn32480> crutchy
[12:15:29] <cmn32480> he wrote exec
[12:15:30] <Bytram> if you follow the link I gave you ( https://logs.sylnt.us ) you will see where it failed... N stories loaded and then... story not found
[12:15:31] <upstart> ^ 03#editorial | Logs for 2019-09-23 ( https://logs.sylnt.us )
[12:15:33] <exec> └─ 13#editorial | Logs for 2019-09-23
[12:15:52] <chromas> we jus' need shell on your box, cmn ;)
[12:16:20] * cmn32480 considers this...
[12:16:41] <Bytram> janrinok: so, if I don't use ~arthur, how else am I supposed to submit stories using your story scraper?
[12:16:56] <janrinok> there is no such python script as 'arthur'. I didn't write it, and I don't know what it does. I wrote storybot.py (which is now storybot5.py)
[12:16:58] <chromas> You can run an instance on one of your new laps
[12:17:02] <cmn32480> janrinok
[12:17:08] <janrinok> yup
[12:17:22] <cmn32480> crutchy implemented a script within exec to utilize the code you had sent me for Arthur
[12:17:32] <Bytram> bingo!
[12:17:44] <janrinok> that makes sense, but I don't know what crutchy wrote so I can't help debug it
[12:17:51] <cmn32480> this allows us to run the ~arthur command from within IRC
[12:17:57] <cmn32480> there are 2 ways to make it work.
[12:18:02] <janrinok> I understand that.
[12:18:10] <cmn32480> 1) the URL as Bytram did earlier in this thread
[12:18:28] <cmn32480> 2) with a code from the wiki page that lists all the stories in the RSS dfeed
[12:18:48] <chromas> https://github.com
[12:18:49] <upstart> ^ 03crutchy-/exec-irc-bot
[12:18:50] <exec> └─ 13exec-irc-bot/storybot_submit.php at master · crutchy-/exec-irc-bot · GitHub
[12:19:06] <cmn32480> correct.
[12:19:24] <cmn32480> though our copy of exec is porbably much older, and has some other customizations in it
[12:19:39] <chromas> that's where you come in
[12:19:51] <chromas> since you have access to the box
[12:19:52] <cmn32480> no, i came in throhg the door. I used my badge
[12:20:05] <Bytram> here's a brand new ScienceDaily story...
[12:20:07] <cmn32480> I can update Arthur on our end if needed, yes
[12:20:10] <Bytram> ~arthur https://www.sciencedaily.com
[12:20:12] <exec> └─ 13Gum disease linked with higher risk of hypertension -- ScienceDaily
[12:20:13] <exec> 746 stories loaded
[12:20:13] <exec> story not found
[12:20:19] <Bytram> ta dah.
[12:21:15] <Bytram> but at HH:36:51 or so, exec reloads its list, and then I can submit the exact same URL
[12:21:23] <janrinok> the Storybot page in the wiki is talking about id numbers. Where is the url converted into a id# for the wiki page and where is it converted back to a url for the python script to use? Somewhere in there it is not finding the link
[12:21:30] <cmn32480> what's the URL for that page
[12:21:33] <cmn32480> on the wiki
[12:21:38] <cmn32480> I can't remember
[12:21:48] <janrinok> https://wiki.soylentnews.org
[12:21:50] <upstart> ^ 03Storybot - SoylentNews
[12:21:51] <exec> └─ 13Storybot - SoylentNews
[12:22:10] <Bytram> oops time stamp is: HH:31:5x
[12:22:11] <janrinok> If you choose a story from that list does it work?
[12:22:18] <Bytram> yes
[12:22:54] <Bytram> but, until exec goes through and processes it -- independently -- it will not accept a URL
[12:23:23] <janrinok> in which case storybot is working. Now you are trying to use it differently. You want to give it a URL directly, the correct command for that is storybot.py -u http://some
[12:23:27] <Bytram> s/ in[^ ]/ independently and beforehand /
[12:23:28] <exec> <Bytram> but, until exec goes through and processes it -- independently and beforehand ependently -- it will not accept a URL
[12:23:30] <cmn32480> that is how exec was set up due to the version of Arthur that I had at the time
[12:24:02] <cmn32480> I don't believe that the version we have was set up to process URLS
[12:24:34] * cmn32480 goes to see what version of Arthur we have
[12:24:37] <janrinok> I'm not arguing or complaining. But you cannot invoke storybot from IRC unless you follow the Storybot instructions on the wiki, as far as I can see
[12:25:01] <cmn32480> correct
[12:25:09] <Bytram> scrollback to hh:12:28 and I demonstrated feeding it a URL directly
[12:25:47] <Bytram> where I entered: ~arthur https://www.sciencedaily.com
[12:25:47] <upstart> ^ 03Depression and binge-drinking more common among military partners
[12:25:48] <exec> └─ 13Depression and binge-drinking more common among military partners -- ScienceDaily
[12:25:58] <Bytram> and that worked fine.
[12:26:11] <janrinok> yes I can see that - but you are invoking something that somebody else wrote called ~arthur. I've got no idea what that bit of script does
[12:26:27] <Bytram> I understand that, now.
[12:26:38] <janrinok> the python script isn't actually called arthur...
[12:26:46] <Bytram> nod nod
[12:27:11] <chromas> it looks like it iterates the stories array for that url and gets its id
[12:27:24] <janrinok> I suspect that once storybot has processed the rss list it can find the url in its list
[12:27:33] <Bytram> 'zactly!
[12:27:42] <janrinok> but I didn't write that bit of code
[12:27:51] <janrinok> so I can't debug it
[12:28:00] <Bytram> but it refuses to accept an ad hoc URL, even though it nows how to process it in some way
[12:28:27] <janrinok> because exec hasn't been programmed to do that.
[12:28:58] <cmn32480> looks like we are on v0.2.2
[12:29:26] <cmn32480> from sometime in 2016
[12:29:42] <Bytram> yes, I see that now, so I'm wondering if exec can be updated to take a URL and do ad hoc processing rather than just accept URLs/hashes that have been pre-digested
[12:30:09] * cmn32480 can barely spell exec
[12:31:17] <Bytram> cmn32480++ Well, that's at least *once* you spelled exec correctly! =)
[12:31:17] <Bender> karma - cmn32480: 102
[12:31:40] <janrinok> cmn32480, I'll get storybot5 finished as quickly as I can and push that out to you
[12:31:44] <chromas> he was actually spelling storybot
[12:31:51] <Bytram> lol!
[12:32:02] <cmn32480> janrinok - take your time. I'm in no rush, even if bytrma is
[12:32:04] <Bytram> janrinok: oh, no hurries needed!
[12:32:13] <chromas> was old storybot python 3 or will the box need an upgrade?
[12:32:26] <Bytram> brb
[12:32:27] <cmn32480> I believe the version we are on is python 3.
[12:32:47] <janrinok> python3 I think, but I will have to check.
[12:33:05] * cmn32480 looks at installed packages
[12:33:27] <janrinok> python 0.1 was python2, if my memory serves me well - which at my age can be a hit or miss affair
[12:33:56] <Bytram> you mean misstery? What *was* her name?
[12:33:58] <Bytram> ;)
[12:34:14] <cmn32480> the version I am running came from a tar.gz named storybotv0.2.python3.tar.gz
[12:34:22] <cmn32480> so I'm thinking it is python 3
[12:35:02] <cmn32480> even so, it will require some testing and possibly manipulation of the exec scripts to get the URL submission workgin properly.
[12:35:29] * cmn32480 nominates anybody but himself for this job
[12:38:21] <janrinok> storybot5 is backwards compatible i.e. commands work exactly the same way
[12:38:36] <Bytram> besides being an independent implementation of a story scraper (fun with URLs, special DIVs, lists, etc. processing), arthur stories do not ID the submitter, so in a pinch, I can submit a story and then select it for pushing out to the site.
[12:38:45] <Bytram> janrinok++
[12:38:45] <Bender> karma - janrinok: 68
[12:38:55] <Bytram> why am I not surprised?
[12:39:03] <Bytram> bulletproofcoding++
[12:39:03] <Bender> karma - bulletproofcoding: 1
[12:39:26] <janrinok> there are several improvement. You can write your own story headers and footers, or switch them off completely. That way the story can be tailored more to the needs of the submission queue and thus shorten the editing process
[12:40:18] <janrinok> storybot doesn't care who submitted it. You can put that in a header if you wish, or you can leave it out.
[12:40:51] <cmn32480> exec doens't care either.
[12:41:05] <Bytram> ding ding ding
[12:41:25] <Bytram> Well, booting Ubuntu from DVD is slow and noisy!
[12:42:44] <chromas> no thumb drive?
[12:43:01] <Bytram> not one I could spare at the time
[12:43:15] <Bytram> Just now got the desktop displayed
[12:43:34] <Bytram> brb laundry
[12:43:58] * janrinok checks to see if his version of Ubuntu does the laundry too ...
[12:44:28] * janrinok finds he must have the wrong version of Ubuntu
[12:46:57] <Bytram> LOL
[12:47:00] <chromas> You need to upgrade to Washing Wombat
[12:47:10] * Bytram launches the ubuntu installer
[12:47:13] <cmn32480> that come with the paid version probabyl
[12:48:50] <Bytram> english (US) instructions
[12:48:53] <Bytram> english (US) Kbd
[12:49:03] <Bytram> Do not connect to WiFi at this time
[12:49:15] <Bytram> Normal Installation
[12:49:52] <Bytram> Erase disk and install Ubuntu
[12:50:03] * janrinok has got Ironing Insect, Cooking Caribou, Sweeping Sloth but can't find Washing Wombat....
[12:50:17] <Bytram> lol
[12:51:27] <cmn32480> check the mirror
[12:51:27] * Bytram also checks the box for: Use LVM with the new Ubuntu Installation (This will set up Logical Volume Management. It allows taking snapshots and easier partition resizing.)
[12:51:38] * Bytram clickms install now
[12:51:43] <Bytram> and waits
[12:53:09] * Bytram accepts changes for LVM
[12:54:01] <janrinok> Bytram, do not hold your breath while installing from DVD. But you probably know that. And then you can update everything even if you selected 'Update while Installing' option.
[12:56:05] <chromas> Does that work well? Downloading updates while installing always seemed to cause problems back in my mandriva days so I usually keep it disabled
[12:56:50] <Bytram> More questions... set up User and Pwd
[12:57:06] <Bytram> looks like it is now happy to go off and complete the install
[12:57:10] <Bytram> brb
[12:57:15] <janrinok> It works up to a point but once you reboot it 'discovers' another load of programs that need updating. It only updates kernel and the more important programs, not the entire suite of programs
[12:57:48] <janrinok> Bytram, don't go too far, I think the first pause is a bluff, it will ask you another question in a short while...
[12:59:04] <janrinok> chromas, but I've never had a problem updating during installation other than it doesn't do everything that needs updating
[13:02:23] <Bytram> janrinok: got it... so far, so Shhhhh!
[13:02:40] <Bytram> is Configuring Harware...
[13:02:57] <Bytram> Now doing installer (I think)
[13:03:38] <Bytram> now going nuts installing apps and removing non-language appropiate stuiff and installing libs
[13:04:27] <janrinok> nearly finished before you have to update 999 programs!
[13:05:06] <chromas> still better than installing windows
[13:05:15] <janrinok> infinitely so
[13:05:25] <Bytram> Installation has finishes. You can continue testing Ubuntu now, but until you restart the computer, any changes you make or documents you save will not be preserved.
[13:05:27] <chromas> 999 updates, but all for the os
[13:05:39] * Bytram clicks "Restart Now."
[13:05:48] <janrinok> and you can switch the computer off without needing ms' permission
[13:06:45] <Bytram> Please remove the installation medium, then reboot.
[13:06:54] <janrinok> do it yourself!
[13:06:59] <chromas> the best part about installing 7 was all the updates that would fail because it couldn't figure out dependencies, so you'd have to just keep rebooting and installing more updates.
[13:07:02] <Bytram> *chuckles*
[13:07:05] <janrinok> oh, I see, you were just reading the display
[13:07:28] <Bytram> h
[13:07:31] <Bytram> yiky
[13:07:44] <chromas> does it boot fast?
[13:07:52] <chromas> ssd++
[13:07:52] <Bender> karma - ssd: 1
[13:08:27] <Bytram> desktop
[13:08:37] <Bytram> took me a while to enter my pwd
[13:08:41] <janrinok> you can now make errors much more quickly than you could before
[13:08:48] <Bytram> much MUCH quicker than DVD
[13:09:12] <Bytram> seeing the "What's new in Ubuntu" page
[13:09:15] <janrinok> If you can't cope you can always go back to the DVD again
[13:09:40] <Bytram> part of the reason I went that route!
[13:09:42] <janrinok> find the option that prevents it from displaying the welcome screen everytime you log on
[13:09:52] <Bytram> am expecting a phone call any minute now...
[13:09:58] <Bytram> yes, will do!
[13:10:12] <Bytram> thanks for the support! Feels like old times!!!
[13:10:13] <Bytram> laters
[13:10:19] <Bytram> janrinok++
[13:10:19] <Bender> karma - janrinok: 69
[13:10:20] <janrinok> laters Bytram
[13:10:23] <Bytram> chromas++
[13:10:23] <Bender> karma - chromas: 94
[13:10:43] <Bytram> janrinok: give S a hug, a kiss, and my best wishes!
[13:10:53] <janrinok> my karma is only slightly more than my age..... (sobs in the corner)
[13:11:00] <janrinok> will do
[13:11:04] <Bytram> !karma
[13:11:04] <Bender> karma <item>
[13:11:07] <Bytram> !karma Bytram
[13:11:08] <Bender> karma of bytram is 80
[13:11:31] * Bytram has a bit more of a reach between age and his Karma
[13:11:40] <Bytram> but is slowly closing the gap
[13:11:44] <Bytram> ciao for now
[13:12:50] <chromas> Don't worry, your karma will catch up soon enough
[13:18:32] <janrinok> lol
[13:44:52] -!- exec has quit [Remote host closed the connection]
[13:50:13] -!- exec [exec!~exec@23.24.kp.ip] has joined #editorial
[13:50:14] -!- exec has quit [Changing host]
[13:50:14] -!- exec [exec!~exec@crutchys.brothel] has joined #editorial
[13:51:22] <cmn32480> .kick exec
[13:51:22] -!- exec was kicked from #editorial by Hephaestus!Hephaestus@dodekatheon.olympus.gr [(cmn32480) No reason given]
[13:52:43] <janrinok> I saw what you did there
[14:11:08] -!- exec [exec!~exec@23.24.kp.ip] has joined #editorial
[14:11:09] -!- exec has quit [Changing host]
[14:11:09] -!- exec [exec!~exec@crutchys.brothel] has joined #editorial