Re:Stop Writing Dead Programs (Transcript)
by remram on Tuesday October 18, 2022 @10:34PM
(#33256810)
I went with this JavaScript:
let c;
for (let p of document.querySelectorAll('body>p, body>div')) {
if (p.classList.contains('aside')) { c = undefined; continue; }
p.querySelector('span.time').remove();
if (c) {
c.innerHTML += ' ' + p.innerHTML; p.remove();
} else { c = p; }
}
And this CSS: body p { width: 100%; }
body div.aside { width: 100%; border: 1px solid black; }
I'm thinking maybe that page was supposed to be embedded somewhere, next to a video maybe? It wasn't meant to be read like this right?
Re:Stop Writing Dead Programs (Transcript)
by tomrod on Wednesday October 19, 2022 @08:52AM
(#33261384)
Really shoddy DRM maybe?
Re:Stop Writing Dead Programs (Transcript)
by jackrusher on Wednesday October 19, 2022 @06:32PM
(#33268699)
Definitely not!
Sorry you hated the formatting. The transcript is meant to be an assistive technology for the video, and a place to put extra notes I couldn't fit into the time I had. Ideally, the transcript would scroll as the video advances and the timestamps would move the playhead to that part of the talk, but I haven't time this week to do as much hacking on that as I'd like.
Re:Stop Writing Dead Programs (Transcript)
by tomrod on Wednesday October 19, 2022 @08:34PM
(#33269541)
Absolutely no issue! I've only just come across your work and am astounded at both its breadth and depth.
I thought perhaps the page wasn't owned by you, and that someone had ripped it from subtitles or something similar.
The link for the article looks to have changed; before it was to a website that had text next to timestamps.
Formatting was terrible -- even when viewing source!
This made it somewhat readable