https://www.sixdegreesofwikipedia.com/?source=Firebase&targe...
Show HN: Six Degrees of Wikipedia
271–280 of 354 posts
Re: Show HN: Six Degrees of Wikipedia
#272Re: Show HN: Six Degrees of Wikipedia
#273Re: Show HN: Six Degrees of Wikipedia
#274Re: Show HN: Six Degrees of Wikipedia
#275Earlier quoted context omitted.
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.
Ooh cool idea! That certainly would improve the information density issue. I honestly never considered that at all and have no idea how I'd do it in d3, but I may try to hack it out. Thanks!
Re: Show HN: Six Degrees of Wikipedia
#276Re: Show HN: Six Degrees of Wikipedia
#277In 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…
sdow true false
Output: {"isSourceRedirected":false
"isTargetRedirected":false
"pages":
{"161711":
{"description":"Value indicating the relation of a proposition to truth"
"title":"Truth value"
"url":"https://en.wikipedia.org/wiki/Truth_value"}
"228748":
{"description":"Wikimedia disambiguation page"
"title":"True"
"url":"https://en.wikipedia.org/wiki/True"}
"40805040":
{"description":"Wikimedia disambiguation page"
"title":"False"
"url":"https://en.wikipedia.org/wiki/False"}
}
"paths":[[228748,161711,40805040]]
"sourcePageTitle":"True"
"targetPageTitle":"False"}
Edit sed commands to make first line indented: |exec sed '
s/{/\
&/;
s/\",/\"\
/g;s/,\"/\
\"/g;s/:{/:\
{/g;s/}/&\
/g;s/\"pages\":/&\
/'Re: Show HN: Six Degrees of Wikipedia
#278This makes the "How many clicks to Hitler" game much faster. For those uninitiated, the game was to click the "Random Article" link in the sidebar and count how many links it took to get to Hitler. It is really interesting to see just how big of an event WWII was. Every country article has a section on their involvement or why they were not involved. After playing with it more, this is pretty fun. I vote that a "degr…
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.
Mathematics -> Quantity -> Multitude -> Counting -> Elements -> Mathematics
Re: Show HN: Six Degrees of Wikipedia
#279Earlier quoted context omitted.
'Please' and 'thank you' go a long when requesting additional features for an OSS project.
There's a certain irony to the lack of tact in this post suggesting better manners. I suspect the point would be better received were it more politely made. I, of course, am merely propagating the cycle.
So from then on, when I wanted something, I said "please and thank you."
I think this was my first social hack. I just wish it had worked better!
Re: Show HN: Six Degrees of Wikipedia
#280Earlier quoted context omitted.
There's a certain irony to the lack of tact in this post suggesting better manners. I suspect the point would be better received were it more politely made. I, of course, am merely propagating the cycle.
When I was a kid my mom told me "always say 'please' and 'thank you'." So from then on, when I wanted something, I said "please and thank you." I think this was my first social hack. I just wish it had worked better!