Skip to main content

Murals by Lauren YS a.k.a Squid Licker, a Los Angeles-based... crss

Show HN: Top 10 Newest HackerNews Stories (Phoenix/LiveView) https://ift.tt/3ciyEy4

Show HN: Top 10 Newest HackerNews Stories (Phoenix/LiveView) HNLive is a small Elixir/Phoenix/LiveView web app showing the top 10 (by score or number of comments) newest HackerNews stories in "real time" (i.e. as quickly as updates become available via the HackerNews API). You should find the app running on https://ift.tt/2Xeks58 - please note that this is running on the free tier with limited memory and resources. GitHub: https://ift.tt/3gEdU7C The motivation for building HNLive was twofold: 1. I had read and heard many good things about Elixir, Phoenix and LiveView, and after watching Chris McCord`s demo "Build a real-time Twitter clone in 15 minutes with LiveView and Phoenix 1.5" on YouTube, I finally said to myself: "That looks awesome, time to learn Elixir and Phoenix!" HNLive is the app I built over the last couple of days while on this learning journey. 2. I love browsing HackerNews, but for me the selection of stories on the front page, the "newest" page and the "best" page is not ideal if I want to see at a glance which new stories (say, submitted over the course of the last 12 hours) have received the most upvotes or are discussed particularly controversially (as judged by the number of comments). HNLive attempts to address this using data from the HackerNews API to provide the top 10 submissions, sorted by score or number of comments, taking into account only the last 500 submissions. I also wanted to see updates to the top 10 (and scores and number of comments) in real time, which was made easy by using LiveView. May 30, 2020 at 10:03AM

Comments

Popular posts from this blog

Stiff Pose Victorian Postmortem photography (140 Pics)

Postmortem photography or memento mori, the photographing of a deceased person, was a common practice in the 19th and early 20th centuries. The photographs were considered a keepsake to remember the dead. Child mortality was high during the Victorian era. For many children even a common sickness could be fatal. When a child or other family member died, families would often have a photograph taken before burial. Many times it was the first and last photograph they would ever possess of their loved one. Many postmortem photographs were close-ups of the face or shots of the full body. The deceased were usually depicted to appear as if they were in a deep sleep, or else arranged to appear more life-like. Children were often shown on a couch or in a crib, often posed with a favorite toy. It was not uncommon to photograph very young children with a family member, most frequently the mother. Adults were more commonly posed in chairs or even propped up on something.

Photos Are Always Funnier When You Add a Caption (31 pics)

10 Amazon Review Sites That Will Get You Really Good Deals

Shopping online has become quite easy and extremely convenient. But much like shopping offline, it’s always great to find deals on things you were going to buy anyway. One of the biggest hassles with online shopping, however, is not being able to test it the same way you would in a store. Amazon is known as an online marketing giant and there are tons of sites where you can take full advantage of their deals. It also provides the advantage through customer reviews by allowing shoppers to see what other shoppers are saying about a certain product before buying it. Here are ten Amazon review sites to help you get the products you want at prices lower than expected. 1. Reviews.com The owners of this site spend months analyzing existing research, including user experiences, historical trends and scientific studies to uncover the truth about products and industries to present you the top choice that matches your specific needs. They also reach out to experts who have spent many years in