Earlier quoted context omitted.
Thanks! I'm glad you asked. I actually do what I call a bi-directional breadth first search[1]. The gist of it is that instead of just doing a BFS from the source node until I reach the target node, I do a reverse BFS from the target node as well and wait until the two searches overlap. That helps with the exploding path problem, although that still becomes an issue for longer paths (>= 5 degrees generally). I also p…
The downside of bidirectional seems to be that things like place names are linked via short paths through boring articles like "Census designated place" or "City"
Show HN: Six Degrees of Wikipedia
231–240 of 354 posts
Re: Show HN: Six Degrees of Wikipedia
#232Earlier quoted context omitted.
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.
That's a really cool concept. Write a medium article about it.
Re: Show HN: Six Degrees of Wikipedia
#233Earlier quoted context omitted.
Sexism links to both philosophy and Ethiopia. It is treating links as an undirected graph (despite the visual indication showing a directional vector), which seems entirely fair.
This is incorrect; links are considered a directed graph, as can be seen by reversing the start and end points of most paths.
Re: Show HN: Six Degrees of Wikipedia
#234Re: Show HN: Six Degrees of Wikipedia
#235Re: Show HN: Six Degrees of Wikipedia
#236Creator 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
#237Anime --> Obesity https://www.sixdegreesofwikipedia.com/?source=Anime&target=O... Somehow, I didn't expect a one-stop layover in Dubai.
I went and made it political: Anime -> Alt-right. The result was a little more predictable... I guess I shouldn't have had to look it up. https://www.sixdegreesofwikipedia.com/?source=Anime&target=A...
Re: Show HN: Six Degrees of Wikipedia
#238Earlier 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.
Because, that could be the wrong action to take. Could you, Would you, Will you, I want you to, You should, The project is stupid unless you, etc.
Therefore, the author should communicate well enough to be understood.
Re: Show HN: Six Degrees of Wikipedia
#239Creator 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…
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.
Re: Show HN: Six Degrees of Wikipedia
#240Earlier quoted context omitted.
This is incorrect; links are considered a directed graph, as can be seen by reversing the start and end points of most paths.
Every single example I can find makes it painfully clear it is an undirected graph. Sets may differ going from one direction to the other simply because it is only trying to find a sample set of correlations, not an exhaustive set.
[1] https://www.sixdegreesofwikipedia.com/?source=Facebook&targe... [2] https://www.sixdegreesofwikipedia.com/?source=Narcissism&tar...