Lurker News

Comments (324) 106 threads

Earlier comments
jumpmanjr2 replies#
Can you create an option to find the most distant connection for a topic?
kyleschiller1 reply#
You mean all articles that are 6 degrees away? That would be most if not all articles.
dingo_bat#
Most distant != 6
jwngr1 reply#
I think this is going to be extremely computationally intensive. One of the big performance wins I got when designing the search algorithm[1] was visiting as few nodes in the graph as possible (which I did via a bi-directional breadth-first search). To find the most distant node, I'd need to traverse the entire graph, which consists of almost 6 million nodes. It can be done, but it would take minutes, hours, days, ...

[1] https://github.com/jwngr/sdow/blob/a2699dc95d884ec64a4641630...

AstralStorm#
Not too expensive, you can use parallel IDDFS to get a good approximation quickly. (Especially if you pick a good heuristic to follow links.)

Challenging part is keeping track of already visited pages to break cycles - some variant of a Bloom filter will help.

imhoguy1 reply#
Cool poject and very compact!

Just quck question, I have found that in Initial setup docs:
> Do not use Debian GNU/Linux 9 (stretch) due to degraded performance.
Could you elaborate or give some reference about that issue please? Thanks.

jwngr#
Thanks! It's weird, but as soon as I tried upgrading to an identical GCP machine running Debian 9 (stretch) and run my database creation process[1], it took many, many times longer to even download the several GB dumps from Wikipedia via wget than it did on Debian 8 (jessie). As the beefy machine I use for the database creation process costs ~40 cents per hour, I figured it wasn't worth it to upgrade to Debian 9 since the Debian 8 machine finished in one hour and worked fine. After trying it a second time a month later and realizing the same thing happened, I added a note for myself in the README about it. I did find some other reports about it online[2] and just decided it wasn't that critical to upgrade it at the moment.

[1] https://github.com/jwngr/sdow#database-creation-process [2] https://lists.debian.org/debian-kernel/2017/12/msg00265.html

crazysim#
I would suggest making the Go button work right away on the example query that fades in and out without having to enter in anything.

Right now it prompts you to enter something if you enter nothing in.

jwngr#
Yes, Sthephen Dolan's project (along with others) was definitely an inspiration for me! Although, I like to think I made a lot of performance and design improvements over his work. I used to have an acknowledgements section in my README with his name in it, but I seemed to have destroyed that. I'll make sure to give credit where credit is due and list all my inspirations.

Load more comments