#editorial | Logs for 2019-06-11

« return
[02:11:49] <Bytram> chromas: CNN sure seems to have a problem using paragraph tags... geesh!
[02:12:29] <Bytram> <div class="zn-body__paragraph">text that would normally be in a paragraph</div>
[02:15:58] <Bytram> cf:
[02:16:04] <Bytram> (1) https://soylentnews.org
[02:16:05] <upstart> ^ 03Some Vox Media Websites Go Dark as Hundreds of Employees Stage Walkout to Demand Union Deal: SoylentNews Submission
[02:16:06] <exec> └─ 13Some Vox Media Websites Go Dark as Hundreds of Employees Stage Walkout to Demand Union Deal: SoylentNews Submission
[02:16:26] <Bytram> (2) https://www.cnn.com
[02:16:29] <exec> └─ 13Some Vox Media websites go dark as hundreds of employees stage walkout to demand union deal - CNN
[02:16:30] <upstart> ^ 03Some Vox Media websites go dark as hundreds of employees stage walkout to demand union deal
[02:37:45] <chromas> cnn--
[02:37:45] <Bender> karma - cnn: -1
[02:39:08] <chromas> I wonder if the bot should convert <div>s to <p>s
[02:51:18] <Bytram> I gave you a hint
[02:52:24] <Bytram> s/(<div class="zn-body__paragraph">)(.*)(<\/div>/<p>\2</p>/g
[02:52:41] <Bytram> not entirely sure about this part: (.*)
[02:53:06] <Bytram> It may be too aggressive and may want to restrict it in some fashion
[02:53:33] <Bytram> an obvious, but likely problematic method would be to replace it with:
[02:53:45] <Bytram> ([^<]*)
[02:54:21] <Bytram> as that would exclude any enclosed tag, but would also be triggered by a <span> or even a simple less-than sign.
[02:54:43] <Bytram> those, of course, would be used only on stories coming from cnn.com
[02:55:39] <chromas> No need for regex; it builds a tree :)
[02:55:52] <Bytram> would that be an Oak or a Pine?
[02:56:25] <chromas> [sic] amore
[02:56:50] <Bytram> in that case, you have the matching </div> for the <div class="zn-body__paragraph"> ??
[02:56:57] <chromas> foreach(z; node.select("class", "para")) {name="p";}
[02:56:57] <fungus> foreach(z; node.select("class", "para")) ? Unknown Style "name="p";" ?
[02:57:33] <chromas> Might break something else though
[02:58:01] <Bytram> hard to imagine it being much worse given what cnn has thrown at you.
[02:58:35] <chromas> I actually ran into <div>s for <p>s before but forgot where it was. I was thinking BBC
[02:58:48] <Bytram> hold on
[02:58:58] <chromas> back in the olden days, when the bot was pascal
[02:59:21] <Bytram> cnet does some weird stuff, too, IIIRC
[03:03:35] <Bytram> =g outweird zaphod
[03:03:36] <upstart> http://www.bbcamerica.com - Happy Towel Day: 9 Zaphod Beeblebrox Quotes for Any Occasion ...
[03:06:34] <Bytram> =g when is towel day
[03:06:35] <upstart> https://en.wikipedia.org - Towel Day - Wikipedia
[03:13:16] <chromas> =yt don't forget to bring a towel
[03:13:17] <upstart> https://youtube.com - Don&#39;t forget to bring a towel south park (15)
[03:16:58] <Bytram> so, I've found out that towel day is celebrated on May 25th, which happens to be 2 weeks after the author's death... by *why*? What does the "two weeks after" have to do with it? Or what specifically is special about May 25? It's only been 5 months after Christmas?
[03:17:05] * Bytram is at a loss
[03:17:49] <chromas> You'll just have to read the book again
[03:19:49] <Bytram> which one?
[03:20:06] <Bytram> Or was it only on the radio program and not in the book?
[03:20:42] <Bytram> https://www.sciencedaily.com
[03:20:43] <upstart> ^ 03Cool, nebulous ring around Milky Way's supermassive black hole
[03:20:44] <exec> └─ 13Cool, nebulous ring around Milky Way's supermassive black hole -- ScienceDaily
[03:20:55] <Bytram> =submit https://www.sciencedaily.com
[03:20:56] <upstart> Submitting "Cool, nebulous ring around Milky Way's supermassive black hole"...
[03:20:57] <exec> └─ 13Cool, nebulous ring around Milky Way's supermassive black hole -- ScienceDaily
[03:21:18] <upstart> ✓ Sub-ccess! "Cool, Nebulous Ring Around Milky Way's Supermassive Black Hole" -> https://soylentnews.org
[03:22:08] <Bytram> where Cool is referring to something like 10K or 14K degrees Celsius
[03:22:48] <Bytram> =submit https://phys.org
[03:22:50] <upstart> Submitting "New online tool helps communities prepare for coastal flooding"...
[03:23:12] <upstart> ✓ Sub-ccess! "New Online Tool Helps Communities Prepare for Coastal Flooding" -> https://soylentnews.org
[03:23:24] <Bytram> and that is going to have to do it for me tonight.
[03:23:40] <Bytram> See ya tomorrow; same bat time, same bat channel!
[03:24:24] -!- upstart has quit [Remote host closed the connection]
[03:24:36] -!- upstart [upstart!~systemd@0::1] has joined #editorial
[08:52:13] -!- Sirfinkus has quit [Quit: Textual IRC Client: www.textualapp.com]
[11:49:16] <Bytram> https://www.nature.com
[11:49:19] <upstart> ^ 03World's largest plant survey reveals alarming extinction rate
[11:49:20] <exec> └─ 13303 See Other
[11:49:26] <Bytram> https://www.nature.com
[11:49:27] <upstart> ^ 03Humans are driving one million species to extinction
[11:49:30] <exec> └─ 13303 See Other
[11:50:10] -!- Other [Other!~a6b6fc40@47-035-415-494.mobile.uscc.com] has joined #editorial
[11:50:24] <Other> Nothing to see here, move along.
[11:50:30] -!- Other has quit [Client Quit]
[12:06:50] <Bytram> https://www.theregister.co.uk
[12:06:50] <upstart> ^ 03Bear insistent on playing tonsil tennis with you? Just bite its tongue off
[12:06:52] <exec> └─ 13Bear insistent on playing tonsil tennis with you? Just bite its tongue off • The Register
[12:09:48] <Bytram> https://kb.cert.org
[12:31:52] <Bytram> =submit http://nautil.us Wish I had this available to me before I was taught FT and FFT in college!
[12:31:54] <upstart> Submitting "The Math Trick Behind MP3s, JPEGs, and Homer Simpson’s Face"...
[12:31:55] <exec> └─ 13The Math Trick Behind MP3s, JPEGs, and Homer Simpson’s Face - Facts So Romantic - Nautilus
[12:32:12] <Bytram> =submit https://www.cnet.com
[12:32:14] <upstart> Submitting "Meet the Netflix for Broadway shows"...
[12:32:15] <exec> └─ 13Tony winners like Hadestown available to stream? Meet Broadway's Netflix - CNET
[12:32:16] <upstart> ✓ Sub-ccess! "The Math Trick Behind MP3s, JPEGs, and Homer Simpson’s Face" -> https://soylentnews.org
[12:32:27] <Bytram> =submit https://medicalxpress.com
[12:32:29] <upstart> Submitting "Can 'brain games' really help you improve the way your brain functions?"...
[12:32:29] <exec> └─ 13Can 'brain games' really help you improve the way your brain functions?
[12:32:36] <upstart> ✓ Sub-ccess! "Meet the Netflix for Broadway Shows" -> https://soylentnews.org
[12:32:51] <upstart> ✓ Sub-ccess! "Can 'brain Games' Really Help You Improve the Way Your Brain Functions?" -> https://soylentnews.org
[15:07:08] <Bytram> =g Have I Been Pwned
[15:07:09] <upstart> https://haveibeenpwned.com - Have I Been Pwned: Check if your email has been compromised in ...
[16:11:43] -!- Sirfinkus [Sirfinkus!~SirFinkus@u-32-30-676-744.hsd5.wa.comcast.net] has joined #editorial
[17:25:07] <Bytram> https://arstechnica.com
[17:25:08] <upstart> ^ 03Researchers use Rowhammer bit flips to steal 2048-bit crypto key ( https://arstechnica.com )
[17:25:09] <exec> └─ 13Researchers use Rowhammer bit flips to steal 2048-bit crypto key | Ars Technica
[19:01:32] <Bytram> =submit https://www.sciencedaily.com
[19:01:33] <upstart> Submitting "Catalog of north Texas earthquakes confirms continuing effects of wastewater disposal"...
[19:01:34] <exec> └─ 13Catalog of north Texas earthquakes confirms continuing effects of wastewater disposal -- ScienceDaily
[19:01:48] <Bytram> =submit https://arstechnica.com
[19:01:49] <upstart> Submitting "Researchers use Rowhammer bit flips to steal 2048-bit crypto key"...
[19:01:50] <exec> └─ 13Researchers use Rowhammer bit flips to steal 2048-bit crypto key | Ars Technica
[19:01:55] <upstart> ✓ Sub-ccess! "Catalog of North Texas Earthquakes Confirms Continuing Effects of Wastewater Disposal" -> https://soylentnews.org
[19:02:11] <upstart> ✓ Sub-ccess! "Researchers Use Rowhammer Bit Flips to Steal 2048-bit Crypto Key" -> https://soylentnews.org
[19:02:41] <Bytram> https://arstechnica.com
[19:02:42] <upstart> ^ 03T-Mobile/Sprint merger faces big test as nine states sue to block it ( https://arstechnica.com )
[19:02:44] <exec> └─ 13T-Mobile/Sprint merger faces big test as nine states sue to block it | Ars Technica
[19:02:57] <Bytram> =submit https://arstechnica.com
[19:02:59] <upstart> Submitting "T-Mobile/Sprint merger faces big test as nine states sue to block it"...
[19:03:00] <exec> └─ 13T-Mobile/Sprint merger faces big test as nine states sue to block it | Ars Technica
[19:03:16] <Bytram> http://go.theregister.com
[19:03:17] <upstart> ^ 03Please be aliens, please be aliens, please be aliens... Boffins discover mystery mass beneath Moon's biggest crater ( https://www.theregister.co.uk )
[19:03:18] <exec> └─ 13Please be aliens, please be aliens, please be aliens... Boffins discover mystery mass beneath Moon's biggest crater • The Register
[19:03:21] <upstart> ✓ Sub-ccess! "T-Mobile/Sprint Merger Faces Big Test as Nine States Sue to Block It" -> https://soylentnews.org
[19:03:33] <Bytram> =submit https://www.theregister.co.uk
[19:03:34] <upstart> Submitting "Please be aliens, please be aliens, please be aliens... Boffins discover mystery mass beneath Moon's biggest crater"...
[19:03:36] <exec> └─ 13Please be aliens, please be aliens, please be aliens... Boffins discover mystery mass beneath Moon's biggest crater • The Register
[19:03:56] <upstart> ✓ Sub-ccess! "Please be Aliens, Please be Aliens, Please be Aliens... Boffins Discover Mystery Mass Beneath Moon's Biggest Crater" -> https://soylentnews.org
[20:02:00] -!- fyngyrz_ [fyngyrz_!~fyngyrz@66.171.jo.vll] has joined #editorial
[20:02:00] -!- fungus has quit [Read error: Connection reset by peer]
[20:02:00] -!- fyngyrz has quit [Read error: Connection reset by peer]
[20:02:42] -!- fungus [fungus!~ben@66.171.jo.vll] has joined #editorial