Earlier quoted context omitted.
Floyd-Warshall solves the all-pairs shortest path in time O(V^3). Running a BFS search rooted from every node would find the shortest path in an unweighted graph in O(V*(V + E)).
Hence, since there's a whole lot of Vs in the wikipedia graph, he's probably going to be satisfied with an approximate solution, unless he has a lot of CPU hours to spare.
Show HN: Six Degrees of Wikipedia
261–270 of 354 posts
Re: Show HN: Six Degrees of Wikipedia
#262Creator 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…
Hi jwngr, Thanks for the cool hack. Its nice. How about representing the destination page as a circle around the whole graph, instead of a node? so that all the paths can be drawn in different directions but still reaching the same page. I somehow feel that it might look more beautiful.
Re: Show HN: Six Degrees of Wikipedia
#263https://www.sixdegreesofwikipedia.com/?source=Apocalyptic%20...
Re: Show HN: Six Degrees of Wikipedia
#264Re: Show HN: Six Degrees of Wikipedia
#265Creator 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…
Could you please add a mode that does the opposite? I've always enjoyed playing 6 degrees myself, so if it gives a link to the first page and names the second page, then only shows the available routes when I'm done, that would be a lot of fun. I have a couple of "hub" articles that I like to use, but I'd like to see how much more effective I could have been with a tool like this. And if it randomizes my start and en…
Re: Show HN: Six Degrees of Wikipedia
#266Not 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…
A few years ago I made something similar ( http://ratewith.science/ ) that only uses bi-directional links, that is pages that both link to each other, and this gives much more interesting results. When two Wikipedia pages both link to each other they are usually related in some reasonable way, but unidirectional links give you things like Wikipedia -> California, which only exists because Wikipedia is headquartered i…
Re: Show HN: Six Degrees of Wikipedia
#267Age of Enlightenment -> Consumption of Tide Pods[0] [0] https://www.sixdegreesofwikipedia.com/?source=Age%20of%20Enl...
Mensa International -> Consumption of Tide Pods: https://www.sixdegreesofwikipedia.com/?source=Mensa%20Intern...
https://www.sixdegreesofwikipedia.com/?source=Meg%20Whitman&...
ಠ_ಠ
Re: Show HN: Six Degrees of Wikipedia
#268Earlier quoted context omitted.
Could you please add a mode that does the opposite? I've always enjoyed playing 6 degrees myself, so if it gives a link to the first page and names the second page, then only shows the available routes when I'm done, that would be a lot of fun. I have a couple of "hub" articles that I like to use, but I'd like to see how much more effective I could have been with a tool like this. And if it randomizes my start and en…
Sounds like https://thewikigame.com