Skip to content
HomeVideosBooksBlogs
AllTop postsTopics
Podcasts
HistoryListsWatch laterLiked videosFollowing

The videos, books, blogs and podcasts Hacker News keeps recommending, all in one place.

VideosBooksBlogsPodcastsAboutPrivacySettings

Data from Hacker News, HackerTube, HackerBooks, HackerBlogs and Open Library. Credits · Not affiliated with Y Combinator.

HomeVideosBooksBlogsPodcasts
Ctrl K
    S

    Stefan Judis

    stefanjudis.com · Personal blog · on HN since 2018

    Stefan Judis writes about what he learns in web development, including CSS, JavaScript, browsers, and developer tools, and runs a newsletter.

    Visit blogRSSHN submissions
    Web DevelopmentProgramming
    What HN says

    Commenters call his web development newsletter pretty good and link his short today-I-learned posts, such as one on accessible CSS content labels.

    Stats for nerds
    49HN people shared it
    50linked in comments
    813story points
    Aug 2025last shared
    2018people per year2025

    Top posts on HN

    1. 1
      Git commit accepts several message flags (-m) to allow multiline commits
      1 person · 339 points · first shared 2020 · 152 comments on HN
    2. 2
      A Firefox-Only Minimap
      2 people · 123 points · first shared 2022 · 20 comments on HN
    3. 3
      Say goodbye to resource-caching across sites and domains
      15 people · 77 points · first shared 2020 · 79 comments on HN
    4. 4
      How to force yourself to leave the computer using the leave command
      1 person · 77 points · first shared 2020 · 32 comments on HN
    5. 5
      Stringly Typed
      1 person · 41 points · first shared 2025 · 70 comments on HN
    6. 6
      Highlights of the HTTP Archive Web Almanac 2021
      1 person · 29 points · first shared 2021 · 6 comments on HN
    7. 7
      Suffix Aliases (-S) in Zsh
      1 person · 22 points · first shared 2022 · 2 comments on HN
    8. 8
      New in CSS: Relative Colors
      1 person · 18 points · first shared 2024 · Discussion on HN
    9. 9
      I don't need to clean up my desktop and downloads folders in macOS (2021)
      2 people · 11 points · first shared 2021 · 5 comments on HN
    10. 10
      TIL – How to exclude commits from Git blame
      3 people · 6 points · first shared 2022 · Discussion on HN

    What HN people wrote when they linked it

    • gnramiresJan 2023

      > would it be feasible to include the compression dictionary along w/ the data

      In theoretical terms (in particular Kolmogorov-complexity perspective), I believe the inclusion of a dictionary wouldn't help, it would strictly increase size. It can help (specially from a Shannon information perspective) if the compression is too computationally demanding to build the data model (which is kind of what all compressors do); but it almost certainly doesn't help in the case of something as small as an URL. But then it's possible to just pack a common compressor with the website (and just refer to it with a version code).

      I think the web in general would benefit greatly from some kind of standard compression libraries. Compression tends to have a significant cold start cost to work well, if that were mitigated certainly something like an url could be far shorter.

      I believe HTTP2 has header compression (RFC 7541)[1] with 'static tables', which seems to be a form of dictionary, but surprisingly to me no html compression with such shared dictionaries. There is caching libraries (unfortunately cross-domain caching seems to be deprecated[2] due to security concerns) I believe which helps in other ways, but I think a true dictionary-style compressor would bring huge bandwidth savings.

      Major web entities should get together to develop those standard dictionaries (and which algorithms to use them with), so they are reasonably fair for everyone (maybe even language specific dictionaries…

    • replygirlMar 2022

      i mean, you forgot to change the structure of this blog post when you ripped it off: https://www.stefanjudis.com/today-i-learned/prevent-npm-install-for-not-supported-node-js-versions/ -- you also didn't change the title sufficiently, so if i search your title in google, i get stefan's post right under yours.

      i also see that on your post just prior, you use an image that's stolen from this article: https://appuals.com/how-to-kill-process-on-port/

      and of course, for that `kill-port` article here is the source you rewrote, which i found syndicated in a few different places:
      - https://softbranchdevelopers.com/terminate-process-on-a-port-from-command-line/

      leaving aside that articles like these are basically just verbose refactors of official documentation, you could at least put in some effort. it's fine if you aren't original, but if you're just changing the phrasing of other people's articles and publishing that as your own work, for something as simple as `-prefers-color-scheme`, you're in the wrong field

    • karmanyaahmAug 2021

      > just stick your content on a static host and you're done

      1 (relatively small) advantage is not needing to control the server, just the domain. The server then polls IPNS and updates things with the latest stuff.

      2 There's the standardized (and perhaps more meaningful) cache busting aspect for assets. i.e. the IPFS Companion browser extension takes all /ipfs/<CID>/filename.ext urls and sends them from the local datastore instead of making requests. This way, assets aren't requested from a remote each time when they're the same on multiple websites. This helps since CDN's don't use common caches anymore. Though, it might come with the same privacy risks.
      https://www.stefanjudis.com/notes/say-goodbye-to-resource-caching-across-sites-and-domains/

      > it's hard to embed and resource-hungry, which hampers adoption

      yes.

    • PreInternet01Mar 2024

      So, I absolutely love htmx, and this new version offers some incremental improvements that make things even better (unless you were using WebSockets or server-sent events, I guess, but the plug-in model doesn't look too bad?).

      Unlike all-or-nothing approaches like React, htmx allows you to add just the right amount of partial updates to your web app, using just the technologies that were already there to begin with. I realize that this approach doesn't appeal to everyone, but being able to map simple requests to simple responses was an absolute life-saver for my projects many times over.

      Migrating to a truly-truly minimalist approach (see: https://www.stefanjudis.com/notes/htmz-a-176-bytes-htmx-alternative/) is still on my to-do list, but for now, I'm quite happy with the htmx status quo.

    • patricktheboldAug 2019

      There are multiple standards.
      https://www.ecma-international.org/publications/standards/Ecma-404.htm
      Is more relaxed.

      >The JSON syntax does not impose any restrictions on
      the strings used as names, does not require that name strings be unique, and does not assign any
      significance to the ordering of name/value pairs. These are all semantic considerations that may be defined by
      JSON processors or in specifications defining specific uses of JSON for data interchange.

      Also it's pretty clear that the keys must have an order going over the wire. And JavaScript objects (which aren't unrelated to JSON have an order now) https://www.stefanjudis.com/today-i-learned/property-order-is-predictable-in-javascript-objects-since-es2015/

    • kevingaddJul 2023

      It's impressive how well the minimap works for bigger articles, I clicked around randomly and ended up at https://www.stefanjudis.com/notes/should-responsive-images-work-with-container-queries/ and the minimap feels slightly magical since it appears instantly and updates synchronously if I do things like select text.

      It feels kind of disappointing that I can't interact with it to scroll around like in i.e. Sublime Text, but I imagine that's a little harder to do as the author of a website. It's still very cool to me that you can do something like this on the web, and I wonder how much work it would be to support this complex CSS feature in Chrome or Safari.

    Related

    Chris Siebenmannutcc.utoronto.ca/~cks388 people

    Go is Google's language, not ours

    Chris Siebenmann
    Personal · last shared 2026
    ldpreloadldpreload.com34 people

    Finding a kernel regression in half an hour with git bisect run (2018)

    ldpreload
    Personal · last shared 2026
    Rob Allenakrabat.com16 people

    Using uv as your shebang line

    Rob Allen
    Personal · last shared 2025
    Scott Loweblog.scottlowe.org27 people

    Conditional Git Configuration

    Scott Lowe
    Personal · last shared 2025
    Thomas Parkthomaspark.me35 people

    The Al Jaffee / Mad Magazine Fold-In Effect in CSS

    Thomas Park
    Personal · last shared 2026
    Kernel.org Peoplepeople.kernel.org71 people

    How many kinds of USB-C to USB-C cables are there?

    Kernel.org People
    Publication · last shared 2026
    Chris Beamscbea.ms20 people

    How to write a Git commit message (2014)

    Chris Beams
    Personal · last shared 2026
    John Wiegleynewartisans.com49 people

    Monads in pictures

    John Wiegley
    Personal · last shared 2026