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

    Earthly Blog

    earthly.dev · Company blog · on HN since 2021

    Company blog of the team behind Earthly, a containerized build tool, with posts on builds, containers, jq and programming opinions.

    Visit blogHN submissions
    DevOps & CloudProgramming
    What HN says

    HN commenters recommend Earthly as a Makefile-like tool where builds run in Docker, giving isolation, caching and parallelism, and CI pipelines that can be tested locally.

    Stats for nerds
    108HN people shared it
    126linked in comments
    6.4Kstory points
    Sep 2025last shared
    2022people per year2025

    Top posts on HN

    1. 1
      Don't Feed the Thought Leaders
      4 people · 801 points · first shared 2021 · 280 comments on HN
    2. 2
      Understanding Awk
      3 people · 602 points · first shared 2021 · 118 comments on HN
    3. 3
      What chroot taught me about containers
      5 people · 521 points · first shared 2022 · 167 comments on HN
    4. 4
      Green vs. Brown Programming Languages
      4 people · 439 points · first shared 2021 · 486 comments on HN
    5. 5
      Command line tools for productive programmers
      2 people · 427 points · first shared 2021 · 140 comments on HN
    6. 6
      An Introduction to JQ
      5 people · 426 points · first shared 2021 · 71 comments on HN
    7. 7
      The other kind of staff software engineer
      2 people · 422 points · first shared 2022 · 192 comments on HN
    8. 8
      Beating TimSort at Merging
      1 person · 282 points · first shared 2021 · 69 comments on HN
    9. 9
      One Way Smart Developers Make Bad Strategic Decisions
      1 person · 264 points · first shared 2022 · 75 comments on HN
    10. 10
      Show HN: Earthly – Better Builds
      26 people · 228 points · first shared 2021 · 82 comments on HN

    What HN people wrote when they linked it

    • KronisLVJan 2025

      > Say you don't use the helper function. Do you think you've avoided coupling?

      > The thing is, you're already coupled. Even if you don't use it.

      In the case of using multiple services, your auth service would need some changes. Now, whether those need to be done in a somewhat small service that's written in Spring Boot, launches in 5 seconds and can be debugged pretty easily due to very well known and predictable surface area, or a 10 year old Spring codebase that's using a bunch of old dependencies, needs a minute or two just to compile and launch and has layers upon layers of abstractions, some of which were badly chosen or implemented, but which you would still all need to utilize to stay consistent, making your changes take 2-5x as long to implement and then still risk missing some stuff along the way... well, that makes a world of difference. Breaking up a codebase that is a million lines big wouldn't make any of the business requirements not be there, but might make managing the particular parts a bit easier.

      The impact of both old code and heavily bloated codebases is so great to the point where some people hate Java because a lot of projects out there are enterprise brownfield stuff with hopelessly outdated tech stacks and practices, or like other languages just because they don't have to deal with that sort of thing: https://earthly.dev/blog/brown-green-language/

      That's even before you consider it from the egoistic lens of a software dev that might want to ship…

    • norootNov 2022

      Yeah, I got so frustrated with the odd workflow (having no sane way to locally test new/more advanced pipelines and having to do lot's of "change .gitlab-ci commits") at work that I started investigating alternatives.

      At home, for some hobby projects, I've been using earthly. It's just amazing. I can fully run the jobs locally and they are _blazing_ fast due to the buildkit caching. The CI now only just executes the earthly stuff and is super trivial (very little vendor lock in, I personally use woodpecker-ci, but it would only take 5 minutes to convert to use GH actions).

      I am not a fan of the syntax. But it's so familiar from Dockerfiles and so easy to get started I can't really complain about it. Easy to make changes, even after months not touching it. Unless I update dependencies or somehow invalidate most of the cache a normal pipeline takes <10s to run (compile, test, create and push image to a registry).

      This workflow is such a game-changer. It also allows, fairly easy, to do very complicated flows [1].

      I've tried to get started with dagger but I don't use the currently supported SDK's and the cue-lang setup was overwhelming. I think I like the idea of a more sane syntax from dagger, but Earthly's approachability [2] just rings true.

      [1]: https://github.com/phoenixframework/phoenix/blob/master/Earthfile

      [2]: https://earthly.dev/blog/platform-values/#approachability

    • astrobe_Jun 2023

      > I just tried feeding GPT-4 some assembler as well, and while I did get it to make some optimisations, I also had to point out several mistakes it made

      My point of view on this is that this type of AI cannot reason, so it seems to me quite audacious to use it for programming. Following the AI's suggestion is like examining a PR from someone you don't know: don't they try to insert a backdoor or a subtle bug?

      Even if you use it as some kind of "rubber duck", examining its suggestions - doing the necessary reasoning and the double checks - is pretty time consuming. Wouldn't the long term result be better if one spent some time to acquire a deeper knowledge of the field, rather than play the "prompt engineering" game (of which the rules might change next month)?

      It feels like we are in the equivalent of programming language's "honey moon" [1] phase with this kind of technology. People will eventually get over the "wow" effect and use it for what it is good at.

      [1] https://earthly.dev/blog/brown-green-language/

    • pzmarzlyJan 2025

      > they are significant because Nix can be used to create a fully featured OS instead of just a VM

      Look up Bootable Containers project by RedHat [0]. Fully featured OS built from a Containerfile, bootable on bare metal.

      I agree that Nix design is much better than Docker, and has a bunch of features that OCI ecosystem doesn't (e.g. remote builds[1], partial downloading of the build tree, non-linear build process[2], nix store import/export, overlays, I/O isolation, much better composability), but "creating OS instead of VM" [did you mean container?] is not one of them.

      [0] https://github.com/containers/bootc

      [1] You can use DOCKER_HOST, and I'm happy that this option is there, but Nix does it better.

      [2] Perhaps with BuildKit it's no longer true, I haven't checked what happens if you have multi-staged build with one stage depending on multiple previous ones (which are otherwise unconnected). I think Earthly can parallelize this scenario https://earthly.dev/

    • srevinsajuOct 2023

      One primary design goal togomak had from the beginning was concurrency. All tasks run concurrently, unless a `depends_on` argument is mentioned. `just` didn't support that when I was initially building togomak, but there is a feature coming in soon which I am looking forward to: https://github.com/casey/just/pull/1562 .

      While I was building togomak, I read through Dagger [1], Earthly [2], Concourse CI [3], Jest and Make along with the stuff I was already working with - Jenkins, GitHub actions and GitLab CI. Dagger [1] is really great, I like its design - it supports writing pipelines in Python, Typescript, Go and a few more languages. togomak tries to abstract away a lot of it. Such as dependency management (in the case of python, the requirement of a python interpreter, and its package managers, etc). togomak is just a single statically-linked binary.

      [1]: https://dagger.io/
      [2]: https://earthly.dev/
      [3]: https://concourse-ci.org/

    • imiricSep 2025

      Agreed. YAML is not a great format to begin with, but using it for anything slightly more sophisticated (looking at you Ansible, k8s, etc.) is an exercise in frustration.

      I really enjoyed working with the Earthfile format[1] used for Earthly CI, which unfortunately seems like a dead end now. It's a mix of Dockerfile and Makefile, which made it made very familiar to read and write. Best of all, it allowed running the pipeline locally exactly as it would run remotely, which made development and troubleshooting so much easier. The fact GH Actions doesn't have something equivalent is awful UX[2].

      Honestly, I wish the industry hadn't settled on GitHub and GH Actions. We need better tooling and better stewards of open source than a giant corporation who has historically been hostile to open source.

      [1]: https://earthly.dev/earthfile

      [2]: Yes, I'm aware of `act`, but I've had nothing but issues with it.

    Related

    Dagger Blogdagger.io52 people

    Dagger: a new way to build CI/CD pipelines

    Dagger Blog
    Company · last shared 2026
    Graphite Bloggraphite.dev76 people

    Stacked changes: how FB and Google engineers stay unblocked and ship faster

    Graphite Blog
    Company · last shared 2026
    Rust Blogblog.rust-lang.org533 people

    Announcing Rust 1.0

    Rust Blog
    Company · last shared 2026
    Microsoft Blogblogs.microsoft.com669 people

    Announcing SQL Server on Linux

    Microsoft Blog
    Company · last shared 2026
    Rachel Krollrachelbythebay.com493 people

    fork() can fail

    Rachel Kroll
    Personal · last shared 2026
    CoreOS Blogcoreos.com316 people

    CoreOS is building a container runtime, Rocket

    CoreOS Blog
    Company · last shared 2020
    Codeship Blogblog.codeship.com138 people

    Crystal: Fast as C, Slick as Ruby

    Codeship Blog
    Company · last shared 2020
    Docker Blogblog.docker.com294 people

    In Memoriam: Ian Murdock

    Docker Blog
    Company · last shared 2019