HackerNews Digest Daily

Subscribe
Archives
July 17, 2023

Hacker News Top Stories with Summaries (July 17, 2023)

    <style>
        p {
            font-size: 16px;
            line-height: 1.6;
            margin: 0;
            padding: 10px;
        }
        h1 {
            font-size: 24px;
            font-weight: bold;
            margin-top: 10px;
            margin-bottom: 20px;
        }
        h2 {
            font-size: 18px;
            font-weight: bold;
            margin-top: 10px;
            margin-bottom: 5px;
        }
        ul {
            padding-left: 20px;
        }
        li {
            margin-bottom: 10px;
        }
        .summary {
            margin-left: 20px;
            margin-bottom: 20px;
        }
    </style>
        <h1> Hacker News Top Stories</h1>
        <p>Here are the top stories from Hacker News with summaries for July 17, 2023 :</p>

    <div style="margin-bottom: 20px;">
        <table cellpadding="0" cellspacing="0" border="0">
            <tr>
                <td style="padding-right: 10px;">
                <div style="width: 200px; height: 100px; border-radius: 10px; overflow: hidden; background-image: url('https://hackernewstoemail.s3.us-east-2.amazonaws.com/hnd2'); background-size: cover; background-position: center;">

A Firefox-only minimap (2021)

https://www.stefanjudis.com/a-firefox-only-minimap/

Summary: Stefan Judis, a web developer, shares a Firefox-only minimap feature for his blog posts using the element() CSS function, which is exclusive to Firefox. The function allows displaying images of arbitrary HTML elements on a page, and it's live, updating as users interact with the content. The CSS code provided defines another HTML element as a background image.

    <div style="margin-bottom: 20px;">
        <table cellpadding="0" cellspacing="0" border="0">
            <tr>
                <td style="padding-right: 10px;">
                <div style="width: 200px; height: 100px; border-radius: 10px; overflow: hidden; background-image: url('https://hackernewstoemail.s3.us-east-2.amazonaws.com/hnd2'); background-size: cover; background-position: center;">

Bad numbers in the “gzip beats BERT” paper?

https://kenschutte.com/gzip-knn-paper/

Summary: A recent paper by Jiang et al., "Low-Resource Text Classification: A Parameter-Free Classification Method with Compressors," claimed that the gzip method outperformed neural-network-based methods. However, Ken Schutte found a possible bug in the kNN code, which may have inflated the accuracy numbers. The paper reported a top-2 accuracy rather than a kNN(k=2) accuracy. After correcting the calculations, the gzip method's performance dropped significantly, changing the conclusions drawn from the experiments.

Want to read the full issue?
Powered by Buttondown, the easiest way to start and grow your newsletter.