[HN Gopher] Show HN: YaHNd - HN Books: The Best Books of Hacker ...
       ___________________________________________________________________
        
       Show HN: YaHNd - HN Books: The Best Books of Hacker News
        
       Author : yaj54
       Score  : 40 points
       Date   : 2021-01-31 18:01 UTC (5 hours ago)
        
 (HTM) web link (yahnd.com)
 (TXT) w3m dump (yahnd.com)
        
       | systemvoltage wrote:
       | Kudos! Loads superfast and well designed. I am curious about how
       | to build a site like this? Could you shed some light on the stack
       | used (frontend/backend)? I couldn't find anything immediately in
       | the HTML like bundle.js or something similar.
        
         | yaj54 wrote:
         | Sure - Heroku and Cloudflare for hosts. I have a lightweight JS
         | server that handles ingestion of HN data and parses book
         | references into a Postgres db. Site is built with Python using
         | Starlette. There is quite a bit of caching with Redis and
         | Cloudflare. There are a couple scheduled processes for ranking
         | and digests. Spacy and vaderSentiment Python packages are used
         | for text processing. There is no/minimal JS on the site except
         | for hCaptcha. It's gone through a few iterations - the first
         | version was just a one-off static site generation.
        
           | foolinaround wrote:
           | > I have a lightweight JS server that handles ingestion of HN
           | data and parses book references into a Postgres db.
           | 
           | Do you parse every comment, and then look for book names?
        
             | yaj54 wrote:
             | Yes
        
           | [deleted]
        
         | not_knuth wrote:
         | In case you were not aware, you can figure out the stack of a
         | site pretty well using something like: https://builtwith.com/
        
       | jmeister wrote:
       | I'm surprised SICP isn't on the list.
        
       | edmundsauto wrote:
       | This is great, really really like the sticky feature of
       | weekly/monthly/yearly digests.
       | 
       | I get most of my book recs from HN comments. Usually they are
       | non-technical, anything from Michael Mauboussin to the Secret
       | Life of Groceries. I would appreciate a simple "coreHN / not-
       | coreHN" switch. (CoreHN would be books about startups,
       | technologies, etc. I prefer the diverse topics, which are often
       | buried in HN).
       | 
       | Also curious - are you parsing comments to identify books, or
       | just submissions?
        
         | yaj54 wrote:
         | Yep - parsing comments and submissions.
         | 
         | I like the coreHN / non-coreHN idea. The search page [0] has
         | links to categories that can allow you to dig into the
         | different categories of book recs a bit but you still need to
         | parse out which categories are core vs non-core.
         | 
         | [0] https://yahnd.com/books/search/
        
       | Cenk wrote:
       | I wish you linked out to other retailers as well, besides Amazon.
       | Perhaps something like boook.link would be useful.
        
         | yaj54 wrote:
         | Yep - I'd for sure like to add other retailers - both for links
         | out and for grepping for book references. Thanks for that
         | resource - it looks helpful.
        
       | [deleted]
        
       ___________________________________________________________________
       (page generated 2021-01-31 23:02 UTC)