News for hackers. Stuff that matters.
Re:John Carmack pushes out unlocked OS for defunct Oculus Go... by spicybright on Friday October 22, 2021 @12:11PM (#28958978)
Browsers evolve and break older pages.

JS that requires requests as you interact with it will need an implementation of the server it uses (the subset and data of it's endpoints)

How do you preserve that?

Re:John Carmack pushes out unlocked OS for defunct Oculus Go... by tinco on Friday October 22, 2021 @12:28PM (#28959224)
Browsers don't usually break older pages. The only time this happens when you rely on unstandardized features. At least, I have not noticed any page breaking in the past 15 years except for the ones I built using unstandardized API's.
Re:John Carmack pushes out unlocked OS for defunct Oculus Go... by asddubs on Friday October 22, 2021 @01:10PM (#28959817)
-https sites embedding http images

-SameSite:none cookies (with bonus breakage that makes it impossible to use accross older and newer browsers simultaneously without user agent sniffing)

-the planned chrome alert/prompt changes already mentioned below

browsers have been getting a lot more comfortable with the idea of breaking backwards compatibility as of late.

Re:John Carmack pushes out unlocked OS for defunct Oculus Go... by Macha on Friday October 22, 2021 @12:41PM (#28959406)
Re:John Carmack pushes out unlocked OS for defunct Oculus Go... by spicybright on Friday October 22, 2021 @01:37PM (#28960136)
> except for the ones I built using unstandardized API's.

Think you proved my point.

Re:John Carmack pushes out unlocked OS for defunct Oculus Go... by mappu on Friday October 22, 2021 @04:12PM (#28962141)
The changing behaviour of browser autocomplete and the new disregard for autocomplete="off" really harmed multiple large CRM / ERP-style sites i worked on, as passwords would get "helpfully" autofilled into completely wrong fields, causing data loss.

I actually still don't think there's a proper sanctioned solution to this, it seems to be cat-and-moused by web developers and browser developers every year or two.

Re:John Carmack pushes out unlocked OS for defunct Oculus Go... by tenebrisalietum on Friday October 22, 2021 @01:13PM (#28959864)
I've had some success in the past using a WARC proxy - it will basically record everything that traverses the browser and can "play it back" on demand. So while it won't automatically download everything on a site the idea is that whatever you visit with and interact with in a session can be "played back" in the future at some point.
Re:John Carmack pushes out unlocked OS for defunct Oculus Go... by genewitch on Friday October 22, 2021 @07:09PM (#28963865)
I actually built a machine to do this, and wanted to use l my "old" spindle drives as storage, but I was and am unhappy with the offerings of replicated or raid like storage solutions. I keep waiting for ceph or something to have a better NFS layer, but I might just have to have scripts that balance/replicate the warc however many times based on usage.

For those interested I have 43TB, 210TB, 61-2TB, 212TB. The machine boots and sees all the spindles. ZFS would be ideal but cannot handle differing drive sizes I guess. JBOD misses the replication requirement. Just doing mdraid on all the similar drives and having different folders or JBOD "wastes" too many spindles (at least one per group, so 4-6 wasted spindles by size alone!).

So I'll probably handroll something with whatever that triggered rsync program is, or cronjobs. lsyncd, that's the one.

Re:John Carmack pushes out unlocked OS for defunct Oculus Go... by tshaddox on Friday October 22, 2021 @02:08PM (#28960510)
How is that any different than wanting to archive a CGI website from the 90s with a URL structure like http://example.com/?query=foo? Unless there's an index page with links to all possible query values, or you can work out how to manually iterate all possible query values, there's not much you can do. This doesn't seem to have anything to do with JavaScript data visualizations specifically.
Re:John Carmack pushes out unlocked OS for defunct Oculus Go... by titusjohnson on Friday October 22, 2021 @02:35PM (#28960839)
That URL structure is trivial for a crawler to walk and index. I'm not sure why you'd assume that there wouldn't be an index page, such a site would have all desired links in the DOM, the crawler just sniffs those out and visits in sequence. There's no need to think that the links would somehow be 'hidden' from the user and have to be randomly enumerated...

Not only that, but a site of that era probably also has a sitemap.xml file which would enumerate all available public endpoints, specifically to make it easier for crawlers to index everything.

Re:John Carmack pushes out unlocked OS for defunct Oculus Go... by tshaddox on Friday October 22, 2021 @03:51PM (#28961837)
> I'm not sure why you'd assume that there wouldn't be an index page

I’m not assuming either way. I’m just pointing out that either type of web site could choose to have an index page or choose not to have an index page.

Re:John Carmack pushes out unlocked OS for defunct Oculus Go... by selfhoster11 on Friday October 22, 2021 @02:55PM (#28961128)
If it's view-only, request-response replaying could be a viable option. Browser software can be emulated.
Re:John Carmack pushes out unlocked OS for defunct Oculus Go... by programmarchy on Friday October 22, 2021 @12:43PM (#28959444)
Maybe a good example is the original Nintendo (NES) emulators. New gaming consoles can't play those old cartridges, but we have a virtual layer that can. The same holds true for browsers, OSs, etc. It does create a pretty long chain of dependencies, though.
Re:John Carmack pushes out unlocked OS for defunct Oculus Go... by spicybright on Friday October 22, 2021 @01:33PM (#28960099)
Ignoring the network point I made above, it'll be a monumental effort to get there.

Best we can hope for is virtual machines, and archive files targeting a specific browser version on specific virtual machines.