882 karma · joined Jan 4, 2015 (11y ago) · 102 submissions
Shortwave: https://shortwave.com Personal: https://jwn.gr
comment 5y ago · link · parent
If you think this is cool, I'm working on a huge new thing with some former Firebasers and others. Follow me @_jwngr on Twitter (https://twitter.com/_jwngr) for a big reveal coming very soon!
Here is the original HN post for those who are interested: https://news.ycombinator.com/item?id=16468196
33.
Implementing Firebase Auth Session Durations(medium.com ↗)
2 points · by jwngr · 8y ago · discuss
34.
Demystifying Firebase Auth Tokens(medium.com ↗)
3 points · by jwngr · 8y ago · discuss
35.
Demystifying Firebase Auth Tokens(medium.com ↗)
3 points · by jwngr · 8y ago · discuss
comment 8y ago · link · parent
[1] https://news.ycombinator.com/item?id=16468196
[2] https://github.com/jwngr/sdow
[3] https://jwn.us15.list-manage.com/subscribe/post?u=d19fa80c86...
37.
Insights on Hitler and More from the First 500,000 Searches(sixdegreesofwikipedia.com ↗)
2 points · by jwngr · 8y ago · 1 comment
comment 8y ago · link · parent
All the code for my project is open source [2] and I'm happy to answer any questions or hear any suggestions you've got. If you want to get notified of future blog posts in this series, I have a low-volume personal newsletter [3] you can sign up for.
[1] https://news.ycombinator.com/item?id=16468196
[2] https://github.com/jwngr/sdow
[3] https://jwn.us15.list-manage.com/subscribe/post?u=d19fa80c86...
39.
Insights on Hitler and More from the First 500,000 Searches(sixdegreesofwikipedia.com ↗)
3 points · by jwngr · 8y ago · 1 comment
comment 8y ago · link · parent
comment 8y ago · link · parent
[1] https://github.com/jwngr/sdow/blob/master/website/src/resour...
comment 8y ago · link · parent
[1] https://github.com/jwngr/sdow/blob/f39398d112fecf7b993c64bd4... [2] https://github.com/jwngr/sdow#data-source
comment 8y ago · link · parent
comment 8y ago · link · parent
comment 8y ago · link · parent
comment 8y ago · link · parent
> I was expecting the site to tell me how to start at page X and get to page Y with the min number of clicks.
Yup, this is exactly what the site does, and a bi-directional BFS is an efficient way to do it. The special thing about my bi-directional BFS is that I follow outgoing links when searching from the source page while following incoming links when searching from the target page[1].
> I did notice that someone pointed out that they get different results by swapping the order of X and Y. This seems pretty surprising?
This is expected, because it is a directed graph, with the links on Wikipedia being in one direction. Just because page A links to page B doesn't mean page B links to page A.
[1] https://github.com/jwngr/sdow/blob/master/sdow/breadth_first...
comment 8y ago · link · parent
[1] https://github.com/jwngr/sdow/blob/master/website/src/compon...
comment 8y ago · link · parent
[1] https://github.com/jwngr/sdow/blob/f0b5a9ebe47ea0eca49d8220a...
comment 8y ago · link · parent
[1] https://www.sixdegreesofwikipedia.com/?source=Facebook&targe... [2] https://www.sixdegreesofwikipedia.com/?source=Narcissism&tar...
comment 8y ago · link · parent
[1] https://github.com/jwngr/sdow/commit/b9164b4455661d7775aeb78...
comment 8y ago · link · parent
[1] https://github.com/jwngr/sdow/commit/6e42e06488a592784e5d3d2...
comment 8y ago · link · parent