You could have invented PageRank

(praveshkoirala.com)

58 points | by pkoird 3 hours ago ago

49 comments

  • inigyou 2 hours ago

    Importantly, PageRank doesn't work today - you need something else. It was one of many possible ranking hacks, and one that worked at the particular time in that particular state of the web where nobody was gaming links because PageRank didn't exist yet. Maybe you could invent a good ranking algorithm for the modern internet, perhaps just the reciprocal of the number of ads on the page, minus its AI detector score, but probably not that.

    Unimportantly, it's named after Larry Page, not after the fact that it ranks pages.

    • jjice 2 hours ago

      > Unimportantly, it's named after Larry Page, not after the fact that it ranks pages.

      I've always taken it as a happy double play since it is named after Page, but also ranks pages.

      • fbd_0100 2 hours ago

        His name may have influenced him to make his career from ranking pages

        https://en.wikipedia.org/wiki/Nominative_determinism

        • z500 an hour ago

          I've always wondered what would happen if you named a kid Nominative Determinism. Some kind of paradox?

          • arcticfox an hour ago

            > name change at 18 probably

            That's so cool because it's true, and holds very strongly with the semantic concept

          • order-matters an hour ago

            name change at 18 probably

          • sheriff an hour ago

            He'd probably grow up to be the guy who goes around making people do things that sound like their names.

          • CPLX an hour ago

            He would be promptly murdered by someone named Alexander the Great.

        • devonkim an hour ago

          It's not like he was going to be a Congressional staffer nor working at a newspaper. But if he was on-call for a lot of his career that'd be kind of amusing

          • HPsquared an hour ago

            He could also have worked for Motorola.

    • MoltenMan an hour ago

      Another Goodhart's Law casualty...

    • montag 2 hours ago

      Really?? And not BrinRank?

      • esprehn an hour ago

        Larry designed the algorithm and Brin implemented it. Not so different than what we saw with transformers and LLMs. The people who came up wit the ideas and the algorithms were joined by others who implemented them. Together they made it all work.

  • jefflinwood 10 minutes ago

    I actually built this, and shipped it, in 1996, with no knowledge of page rank, citation analysis, or bibliometrics, for an internal/external search engine for the Envirolink web site. Envirolink was a directory of environmental web sites, so they already had a list of URLs to crawl. The reason it was feasible to build was that it was a fairly constrained list of URLs, it wasn't the entire web.

    I didn't really know what I was doing (I was 17), but it was an awesome unpaid summer internship. There were two parts of the search engine - a crawler and the search engine. Both were written in Perl.

  • ianbooker 2 hours ago

    PageRank is fascinating, since it is so easy to explain.

    Yet, this is not even half the work. It like a third of the way.

    Before you could have invented PageRank, you must think in graphs. That is possible in 1996, but not as widespread as today.

    After you invented PageRank, you still need to deploy it. Again, possible but challenging as well. Is Python performant enough in 96? Can you afford more than 4MB RAM?

    At least Lego will not sue you for using their bricks to build a server rack in 1996.

    • Retr0id 32 minutes ago

      > you must think in graphs. That is possible in 1996, but not as widespread as today.

      Could you elaborate? I'm a very graph-oriented thinker, and I was never aware this was some kind of declining skill (For context I was not alive in '96).

      • packetlost 21 minutes ago

        I think you're misreading it (I did the first time as well). GP is saying "graph thinking" was not as common in 1996 as it is today, so is saying the opposite of it being a declining skill.

        • Retr0id 9 minutes ago

          Ah, yeah, that'd do it.

      • seanw444 30 minutes ago

        Plus a lot of the advanced graph-related algorithms were discovered by the 80s.

        • tantalor 25 minutes ago

          Yeah, this was all done in Bell Labs starting in the 1960s

  • nayuki an hour ago

    Here are two excellent videos visualizing the PageRank algorithm:

    * [2020-06-17] Spanning Tree - "How Google's PageRank Algorithm Works" (5m16s): https://www.youtube.com/watch?v=meonLcN7LD4

    * [2022-05-23] Reducible - "PageRank: A Trillion Dollar Algorithm" (25m25s): https://www.youtube.com/watch?v=JGQe4kiPnrU

  • smcg 2 hours ago

    Well, I was a child in 1996, so probably not.

    Tying relevancy to link frequency was definitely a novel idea at the time, even if it seems "obvious" or simple in retrospect.

  • steve1977 5 minutes ago

    No mention of RankDex?

  • paxys an hour ago

    Thinking of an algorithm in the abstract is one thing, implementing it at scale is another.

    Yes you could have invented PageRank, but could you also have invented MapReduce, BigFiles/Google File System (GFS), Google Web Server, Bigtable, Protobuf? Then spun up fault-tolerant clusters consisting of cheap commodity PC hardware in an era where AWS wasn't even an idea yet? Then invented the concept of Borg to manage this hardware globally?

    • blueg3 an hour ago

      When Google started, Beowulf clusters were all the rage. So it wouldn't be a big conceptual leap at all. But productionizing it is serious work.

      • cmrdporcupine an hour ago

        There were smart people around thinking about distributed systems to hire in 1996 just as there is now. It's a dream job for nerds. Productionizing it is not at all impossible if you have money to pay people to do it. It's not like there weren't examples of real world distributed job systems out there already (just different).

        Money you get by being a pair of connected Stanford grads living in the most tech connected place in the world, with Stanford alumni and venture capital connected people all around you.

        The CS is part is medium-hard. The productionizing part is a hiring problem.

        Getting the capital is a whole other aspect.

        I knew lots of smart people in 1996 in the first .com wave. None of us made any money :-) I should have moved to San Francisco in 97 like I was originally planning. Oops.

  • notaigenerated an hour ago

    You could also have invented a wheel because it's so obvious.

  • snarfy 15 minutes ago

    Yes anybody can be in the right place at the right time.

  • CalChris 2 hours ago

    > Sergey Brin and Larry Page came up with this precise algorithm, i.e., PageRank, which was one of the key algorithms that helped catapult Google into a household name and made them tons of money. Both Sergey and Larry were grad students at Stanford, so their coming up with such an amazing algorithm doesn’t seem surprising.

    No, Brin wasn’t a co-inventor of PageRank.

    https://patents.google.com/patent/US7058628B1/en

    • Kranar an hour ago

      Inventor in the context of a U.S. patent has a very narrow and technical meaning, different from the broader concept of "coming up with something." Larry Page and Sergey Brin developed PageRank together as grad students in Stanford's Digital Library Project, led by Hector Garcia-Molina. This is simply undisputable and both are listed as co-authors of the PageRank paper [1]. The list of inventors on a patent, especially nowadays, should not be seen as a historical finding about credit.

      [1] https://www.semanticscholar.org/paper/The-PageRank-Citation-...

      • pcrh 41 minutes ago

        Inventorship of patents has a clear legal basis, and is quite different from the basis of scientific authorship.

        The system disincentifies adding "ghost" inventors since incorrect listing of the inventors can invalidate a patent.

        So, yes, it's likely that the patent attorneys hired by Stanford advised that only Page should be listed as an inventor. Stanford gets its money via the assignment, not the inventor list.

  • saltysalt an hour ago

    Let's not forget that PageRank unintentionally spawned the SEO industry.

  • ctbeiser an hour ago

    I could not have invented it. I was one year old.

  • lproven 2 hours ago

    Yup. I was there, using the web, back then. I used Altavista dozens of times a day. It wasn't very good.

    I never thought of it.

    I never thought of the Million Dollar Homepage, either.

    It's still there! https://milliondollarhomepage.com/

    I remember the first ever HTML CV (résumé) being published.

    I am Slashdot user #6030. I used it for ages before I created a user account.

    I was already paying for my own personal email address in 1991 when timbl revealed the WWW to the world. I thought it was a gimmick. It'd never catch on. We already had Gopher and Archie and Veronica.

    deep sigh

  • jmkd 2 hours ago

    One is reminded of Damien Hirst's famed retort to a critic who said "Well I could have pickled a shark" ... "But you didn't, did you. I did."

    • jaggederest 2 hours ago

      Reminds me of Teddy Roosevelt's "Citizenship in a Republic" speech, where he talked about the man in the arena:

      > It is not the critic who counts; not the man who points out how the strong man stumbles or where the doer of deeds could have done them better. The credit belongs to the man who is actually in the arena, whose face is marred by dust and sweat and blood; who strives valiantly; who errs, and comes short again and again, because there is no effort without error and shortcoming; but who does actually strive to do the deeds; who knows the great enthusiasms, the great devotions; who spends himself in a worthy cause; who at the best knows in the end the triumph of high achievement, and who at the worst, if he fails, at least fails while daring greatly, so that his place shall never be with those cold and timid souls who know neither victory nor defeat.

      https://www.presidency.ucsb.edu/documents/address-the-sorbon...

      • otterley an hour ago

        My favorite related pithy quote is "criticism is a minimum-wage job."

  • seebeegeebee an hour ago

    Step 1: be sponsored by the CIA

  • yungookim 34 minutes ago

    curious, how do you decide on which page to start from? Popular directories?

  • lindig 2 hours ago

    How do you compute page rank for billion of pages that have cyclic links? Is that not the problem right after the initial idea?

    • jmalicki 2 hours ago

      That is not at all a problem. Links dampen their effect and you run it until convergence - read the paper. It's no different than summing an infinite convergent series, $\sum_{i=0}^n a^{-n}$.

      Also, WTF, it seems impossible to find a PDF of the original paper still on the web without a paywall.

      • hluska 2 hours ago

        You’re underestimating the difficulty - actually downloading, parsing and updating the system with billions of pages was a very hard thing in the 1990s.

        • jmalicki an hour ago

          It's not an algorithmic issue, though, that's a systems issue. GGP was talking about the cyclic link nature which isn't an issue of size, it's an issue of convergence.

        • icedchai an hour ago

          Good thing there weren't billions of pages in the 90's.

  • joe_the_user an hour ago

    it’ll give you an article on “Hotels for Chickens” if you search “Hotels” because the word matches

    What if I fricken want fricken "Hotels for Chickens", what about that, huh?

    I mean, page rank was useful but it was also a step in the direction of "search give you what it think you, not what you asked for" and I think now we can how far and dubious progress in that direction has been.

  • truthbe 2 hours ago

    If I had received funding from DARPA, and NASA, perhaps I could have.

    • rco8786 2 hours ago

      Pretty sure that came after. And funding never made anyone smarter.

      • truthbe an hour ago

        Funding didn’t make them smarter, but it did buy the hardware to scale it. Other guys had the exact same idea at the exact same time like RankDex and IBM's HITS algorithm. Google just got the cash first to actually build the server farms to run it.

      • CPLX an hour ago

        > funding never made anyone smarter

        One of my favorite things about HN is the way that you can find someone who has produced definitive proof of the non-existence of the public education system in an offhand comment.