Age of Enlightenment -> Consumption of Tide Pods[0] [0] https://www.sixdegreesofwikipedia.com/?source=Age%20of%20Enl...
Interestingly, if you go the other way it blows up: [0] https://www.sixdegreesofwikipedia.com/?source=Consumption%20...
Show HN: Six Degrees of Wikipedia
111–120 of 354 posts
Re: Show HN: Six Degrees of Wikipedia
#112Earlier quoted context omitted.
make it so that if I visit the page and just click the "go" button, it will use the placeholder examples as the start and end points. i did this and got an error message stating "You'll probably want to choose the start and end pages before you hit that." that was annoying. the placeholders that were auto chosen were actually really interesting.
'Please' and 'thank you' go a long when requesting additional features for an OSS project.
Re: Show HN: Six Degrees of Wikipedia
#113Earlier quoted context omitted.
make it so that if I visit the page and just click the "go" button, it will use the placeholder examples as the start and end points. i did this and got an error message stating "You'll probably want to choose the start and end pages before you hit that." that was annoying. the placeholders that were auto chosen were actually really interesting.
'Please' and 'thank you' go a long when requesting additional features for an OSS project.
Re: Show HN: Six Degrees of Wikipedia
#114Not sure if you deliberately designed it this way, but I noticed when spot checking some results that it includes the bibliography section links as connections. This seems like it may not be desirable. Example, I did a search that went from the Crusades to Buzz Aldrin and I noticed that Routledge was the first hop from the Crusades. It strikes me as odd that Routledge (a publishing company) would be mentioned on the…
Yeah unfortunately I don't know of any way to differentiate the different types of links. Wikipedia's pagelinks database doesn't different them. I agree it's undesireable but I just cannot figure out how to cull them.
I'm sure there are more classes and tags, but that hopefully should give you a solid place to start.
EDIT - You can also strip out or ignore anything inside of the ordered list for references - ...
Also, some pages aren't documented in the same way, so something like this page - https://en.wikipedia.org/wiki/X_Window_System - doesn't have any classes or easy way to parse it for the References section even though the Notes section was set up in a more organized way. However, you could take note that the tag contains class="mw-headline" id="References" and the text value is also References and then ignore everything until the next begins.
Re: Show HN: Six Degrees of Wikipedia
#115Earlier quoted context omitted.
make it so that if I visit the page and just click the "go" button, it will use the placeholder examples as the start and end points. i did this and got an error message stating "You'll probably want to choose the start and end pages before you hit that." that was annoying. the placeholders that were auto chosen were actually really interesting.
'Please' and 'thank you' go a long when requesting additional features for an OSS project.
Re: Show HN: Six Degrees of Wikipedia
#116Earlier quoted context omitted.
make it so that if I visit the page and just click the "go" button, it will use the placeholder examples as the start and end points. i did this and got an error message stating "You'll probably want to choose the start and end pages before you hit that." that was annoying. the placeholders that were auto chosen were actually really interesting.
'Please' and 'thank you' go a long when requesting additional features for an OSS project.
Re: Show HN: Six Degrees of Wikipedia
#117Creator here. Six Degrees of Wikipedia is a side project I've been sporadically hacking on over the past few years. It was an interesting technical challenge and it's fun to play with the end result. Here's the tech stack: * Frontend: React (Create React App) * Backend: Python Flask * Database: SQLite * Web (frontend) hosting: Firebase Hosting * Server (backend) hosting: Google Compute Engine (it runs fine on a tiny…
Great work! Do you simply do a BFS to find the shortest paths? If so, are you doing any tricks to avoid the path explosion problem?
A* can't be used given that path cost or expected remaining distance is unknown.
Any ideas on how such an algorithm could be used without precomputing the entire graph?
Re: Show HN: Six Degrees of Wikipedia
#118Creator here. Six Degrees of Wikipedia is a side project I've been sporadically hacking on over the past few years. It was an interesting technical challenge and it's fun to play with the end result. Here's the tech stack: * Frontend: React (Create React App) * Backend: Python Flask * Database: SQLite * Web (frontend) hosting: Firebase Hosting * Server (backend) hosting: Google Compute Engine (it runs fine on a tiny…