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
    A

    Alex Chan

    alexwlchan.net · Personal blog · on HN since 2014

    Alex Chan, a software developer, writes about Git, personal archiving, static sites, macOS tools, and small programming problems.

    Visit blogRSSHN submissions
    ProgrammingWeb Development
    What HN says

    Commenters admire the site's look and link its practical posts on webarchive files, SQLite copying, and working with large S3 objects.

    Stats for nerds
    60HN people shared it
    110linked in comments
    4Kstory points
    May 2025last shared
    2014people per year2025

    Top posts on HN

    1. 1
      Making a PDF that's larger than Germany
      1 person · 712 points · first shared 2024 · 149 comments on HN
    2. 2
      Take more screenshots
      1 person · 657 points · first shared 2022 · 231 comments on HN
    3. 3
      A faster way to copy SQLite databases between computers
      2 people · 507 points · first shared 2025 · 196 comments on HN
    4. 4
      Falsehoods programmers believe about Unix time
      1 person · 442 points · first shared 2019 · 268 comments on HN
    5. 5
      Using static websites for tiny archives
      3 people · 395 points · first shared 2024 · 78 comments on HN
    6. 6
      Cut the cutesy errors
      1 person · 386 points · first shared 2022 · 332 comments on HN
    7. 7
      Whose code am I running in GitHub Actions?
      1 person · 222 points · first shared 2025 · 88 comments on HN
    8. 8
      Creating a Safari webarchive from the command line
      1 person · 178 points · first shared 2024 · 63 comments on HN
    9. 9
      Resizing images in Rust, now with EXIF orientation support
      1 person · 78 points · first shared 2025 · 32 comments on HN
    10. 10
      Creating a static website for all my bookmarks
      1 person · 47 points · first shared 2025 · 6 comments on HN

    What HN people wrote when they linked it

    • alexwlchanJan 2024

      > I think that all "photos" or "videos" are just a view of the underlying "photo or video object". If you crop a video, the full-size video will remain. Only if you export the video, it will be cropped and the smaller file size will manifest.

      Yup, the Photos app keeps the unmodified original file, and then any edits/crops are stored separately. You can always revert to the original file and redo your edits. So they might be storing multiple copies of the same image, with and without edits.

      Which API were you looking at for "file size"?

      I was able to get the size data from Photos.app with the PhotoKit API [1]. I've only tested it with my library of ~26k items, but it was useful for getting an indicator of the biggest items. (Although I didn't think to check whether exporting a 1GB video caused my iCloud usage to drop by 1GB.)

      [1]: https://alexwlchan.net/2023/finding-big-photos/

    • sillysaurusxSep 2023

      I encourage everyone to read A Plumber's Guide to Git: https://alexwlchan.net/a-plumbers-guide-to-git/

      It's not a book, just a series of five short blog posts. Part 1 explains precisely where files live: https://alexwlchan.net/a-plumbers-guide-to-git/1-the-git-object-store/

      $ mkdir animals

      $ cd animals

      $ git init

      $ echo "Big blue basilisks bawl in the basement" > animals.txt

      $ git hash-object -w animals.txt
      b13311e04762c322493e8562e6ce145a899ce570

      $ find .git/objects -type f
      .git/objects/b1/3311e04762c322493e8562e6ce145a899ce570

      $ rm animals.txt

      $ git cat-file -p b13311e04762c322493e8562e6ce145a899ce570 > animals.txt

      Congratulations, you just did a `git restore animals.txt` manually.

      Parts 2 through 5 are equally illuminating.

    • andrewzahFeb 2021

      Removing drm from .azw3 is easy. [0] All you need is the ID of your kindle, since it's tied to your device.

      There is also a plugin for Calibre, although I haven't tested this myself. I'm not sure if it requires a device ID or not. [1]

      [0]: https://alexwlchan.net/2019/08/removing-the-drm-from-my-kindle-books/

      [1]: https://github.com/apprenticeharper/DeDRM_tools/wiki/Exactly-how-to-remove-DRM

    • VegenoidJun 2024

      The author considered the proprietary nature of the webarchive format, and determined that it was readable without Apple software, and that it wouldn't be too difficult to create a tool to view or transform webarchive files if Safari were to disappear: https://alexwlchan.net/til/2024/whats-inside-safari-webarchive/

      Of course, without a working implementation, there could be hidden obstacles.

    • vmurthyDec 2022

      As it turns out, I have been having fun with the plumbers guide to git [0]. While it's not a book, it is a way to understand the inner workings of Git . Think of it as first principles. The book "Pro Git" linked by @kgodey has a few chapters related to this "plumbing" [1]

      [0]https://alexwlchan.net/a-plumbers-guide-to-git/

      [1] https://git-scm.com/book/en/v2/Git-Internals-Git-Objects

    • TheRealPomaxAug 2022

      This was a twitter thread, so not too surprising, but the concluding tweet went there too: "Good error messages explain what’s gone wrong, and give clear instructions for what to do next – and being cutesy rarely helps." and there's a link to https://alexwlchan.net/2020/10/the-importance-of-good-error-messages as the dedicated writeup (also from tweets) for that specific point.

    Related

    Alex Russellinfrequently.org165 people

    If not React, then what?

    Alex Russell
    Personal · last shared 2026
    Harvard LIL Bloglil.law.harvard.edu18 people

    The “Million Dollar Homepage” as a Decaying Digital Artifact

    Harvard LIL Blog
    Company · last shared 2026
    Alex MacCawblog.alexmaccaw.com78 people

    An Engineer’s guide to Stock Options

    Alex MacCaw
    Personal · last shared 2026
    Joel on Softwarejoelonsoftware.com2.8k people

    Victory Lap for Ask Patents

    Joel on Software
    Personal · last shared 2026
    GitHub Bloggithub.blog1.8k people

    YouTube-dl's repository has been restored

    GitHub Blog
    Company · last shared 2026
    Alex Schroederalexschroeder.ch15 people

    How do you process the news?

    Alex Schroeder
    Personal · last shared 2026
    Alex Scialexsci.com18 people

    Discovering the indieweb with calm tech

    Alex Sci
    Personal · last shared 2026
    Better Programmingbetterprogramming.pub319 people

    Three programmers got fired, including me, due to a single app crash

    Better Programming
    Publication · last shared 2025