Earlier quoted context omitted.
508 paths, nice. I was about to post Wake in Fright -> Las Vegas, which has an amazing 414 paths, but yours is a winner. https://www.sixdegreesofwikipedia.com/?source=Wake%20in%20Fr...
https://www.sixdegreesofwikipedia.com/?source=Frank%E2%80%93... This isn't really the best measure though, because it only counts # of paths at the minimum depth level. edit: although I found some deep searches with very few links: https://www.sixdegreesofwikipedia.com/?source=Frank%E2%80%93...
Show HN: Six Degrees of Wikipedia
211–220 of 354 posts
Re: Show HN: Six Degrees of Wikipedia
#212If the creator happens to read this comment, I'd love to compare notes!
Re: Show HN: Six Degrees of Wikipedia
#213Earlier quoted context omitted.
This reminds me of the wikipedia rule I learned a while back: If you click the first link in an article (besides the pronunciation guide), you will always end up on philosophy.
There's even a great page with a small graph and a rundown of some more resources: https://en.wikipedia.org/wiki/Wikipedia:Getting_to_Philosoph...
Re: Show HN: Six Degrees of Wikipedia
#214In case you receive the following message "Sorry internet hipster, this little side project requires JavaScript." here is a quick example of how to get the pages the "traditional way"[FN1]: #/bin/sh test $# -eq 2||exec echo usage: $0 source target; exec curl -H"Content-type: application/json" \ -d '{"source":"'$1'","target":"'$2'"}' \ https://api.sixdegreesofwikipedia.com/paths \ |exec sed ' s/\",/\"\ /g;s/,\"/\ \"/g…
Re: Show HN: Six Degrees of Wikipedia
#215Really cool! May be a bug: I tried Martin Luther Ling -> Elon Musk and it showed me a link from MLK -> Mark Zuckerberg -> Musk. But I couldn't find a Zuckerberg link from the MLK page. https://www.sixdegreesofwikipedia.com/?source=Martin%20Luthe...
Re: Show HN: Six Degrees of Wikipedia
#216Did I find a bug? https://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.)
It uses a pre-downloaded database of links [1], so presumably certain pages that were once linked have been updated. [1] https://news.ycombinator.com/item?id=16469427
Re: Show HN: Six Degrees of Wikipedia
#217Earlier quoted context omitted.
Come on, this is Show HN! Not some GitHub issue tracker. Try to insert please and thank you in that post ... it will make it sound rude! It will turn it from Show HN feedback to sounding like a feature request, which it is clearly not...
Just adding "Could you" to the start (and change first sentence's . to ?) would make a world of difference
This is a slight modification of the principle of charity, something I think is incredibly important and underemphasized, especially for online text communication.
Re: Show HN: Six Degrees of Wikipedia
#218Earlier quoted context omitted.
Why not use a graph database like Neo4j instead of SQLite? This seems like the perfect use case. Is it because of the resources required to run one versus SQLite?
I actually had a friend suggest it to me and the Neo4j docs happen to be one of the many tabs I currently have open. I was already so far into using SQLite for this project and I wanted to ship it, so I decided to stick with what I had. I would be interested to see how Neo4j performs with such a big dataset (the resulting SQLite file is around 9 GB with nearly 6 million nodes and 500 billion links). I was a bit worri…
Your app likely would have been easier to write with python/Neo4j than python/SQLite due to Neo4j's query language (incidentally, Neo4j also prefers to use bidirectional BFS for shortest path, and executing the search is a very simple query similar to an SQL query). Neo4j would possibly perform better as well (I'm not sure about that, given SQLite is pretty optimized for reads).
However, as the neighboring comment states, Neo4j is quite resource-intensive. It wouldn't work on any kind of micro instance, I'm pretty sure.
Re: Show HN: Six Degrees of Wikipedia
#219Earlier quoted context omitted.
Just adding "Could you" to the start (and change first sentence's . to ?) would make a world of difference
If you can automatically detect sentences where adding "Could you" would make the author sound more tactful, then why not just mentally add them and assume that the author intended to sound that tactful? This is a slight modification of the principle of charity, something I think is incredibly important and underemphasized, especially for online text communication.