Actually, interestingly, I've been introducing this concept as a "party game" with other nerds at RL gatherings for some years now. The goal is to start on a random page and find the shortest path to another random page by only clicking links in the articles. It can be quite a lot of fun, despite what you're thinking! And anybody can understand the challenge and compete and have fun. It's not just something for geeks…
What is an RL gathering?
Show HN: Six Degrees of Wikipedia
161–170 of 354 posts
Re: Show HN: Six Degrees of Wikipedia
#162Found 209 paths with 3 degrees of separation from Judge Roy Bean to Unit 731 in 5.35 seconds!
Re: Show HN: Six Degrees of Wikipedia
#163Actually, interestingly, I've been introducing this concept as a "party game" with other nerds at RL gatherings for some years now. The goal is to start on a random page and find the shortest path to another random page by only clicking links in the articles. It can be quite a lot of fun, despite what you're thinking! And anybody can understand the challenge and compete and have fun. It's not just something for geeks…
What is an RL gathering?
Re: Show HN: Six Degrees of Wikipedia
#164Creator 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…
Re: Show HN: Six Degrees of Wikipedia
#165Re: Show HN: Six Degrees of Wikipedia
#166I have built a very similar project some time ago and although it's not as beautiful and organized as yours, it's pretty fast! It's in Portuguese, but if any of you guys want to check it out: http://wikigraph.russoft.tech/
Re: Show HN: Six Degrees of Wikipedia
#167Earlier 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
#168https://www.sixdegreesofwikipedia.com/?source=Adolf%20Hitler...
It's showing "Bill Gates" and "Mark Zuckerberg" as the hops, but on the start page I don't see links to those.
(Apologies for the subject matter. It was the first thing I thought of, because of a Wikipedia-path-finding game I had heard of before.)
Re: Show HN: Six Degrees of Wikipedia
#169Earlier quoted context omitted.
I'm not sure how the backend is structured, but it seems that you must parse the individual pages at some point or another. I took a quick look at the Wikipedia HTML for a few pages and I would suggest stripping out anything within (or nested inside) of classes like "mw-cite-backlink", "reference-text", "citation book", "citation journal", etc. Also, you can probably strip out anything inside of a HTML tag. I'm sure…
I never actually touch any of the source HTML. I think that would simply take way too long and would probably result in some very high bandwidth charges. I use three tables from a public dump of Wikipedia's database, which unfortunately don't differentiate between where the links occur on the page. Check out the first section of my README[1] for more information. [1] https://github.com/jwngr/sdow#data-source
Re: Show HN: Six Degrees of Wikipedia
#170I would love to see a list compiled somewhere of two articles with exactly 6 degrees of separation. This is proving to be extremely difficult. In the entire HN thread so far, I only see one so far by dkuder https://www.sixdegreesofwikipedia.com/?source=Six%20Degrees%...