Live data from Hacker News

Show HN: Home Maker: Declare Your Dev Tools in a Makefile

thottingal.in

21–30 of 71 posts

Re: Show HN: Home Maker: Declare Your Dev Tools in a Makefile

#21
I like the way that golang supports the use of tools in the go.mod file.

Something like:

     go get -tool github.com/golangci/golangci-lint/cmd/golangci-lint@v1.64.4
And then you can list tools :

     go list -f '{{.Tool}}' all
ANd run them:

     go tool staticcheck ./...

Re: Show HN: Home Maker: Declare Your Dev Tools in a Makefile

#23

Five years ago, I would've loved this. I love the simplicity and power of good old Make. And I obsess over my workstation's configuration. I used to have a massive bash script I would use to reprovision my workstation after every clean upgrade of Ubuntu. But these days, I just tell codex to install things for me. I basically use it as a universal package manager. It's more reliable honestly than trying to keep up to…

I feel like even iPad kids are more capable with a computer than HN users these days.

“Father, how do I ”

Re: Show HN: Home Maker: Declare Your Dev Tools in a Makefile

#26
I use a Guix manifest for every project, which describes what dev tools and dependencies I want. When I enter a directory the shell automatically evaluates the manifest and all my tools are ready.

With tooling for deployment I prefer to heed an adaptation of Greenspun's Tenth Rule. Neither Guix nor Nix are really all that "complex" from a user's perspective.

Re: Show HN: Home Maker: Declare Your Dev Tools in a Makefile

#28
I used to do that but there are a few catches. As much as I brush off people who use any OS other than Linux, there is a time when you will have to do something on another operating system. A lesson I learned the hard way: Make on Windows sucks royally. While I agree with the general idea and I also tend to be conservative about new technologies (even more so with all the slop-coding lately), just[1] is now a very mature and well thought out alternative.

[1] https://github.com/casey/just

Re: Show HN: Home Maker: Declare Your Dev Tools in a Makefile

#29

If you haven’t tried it, I highly recommend Mise. It manages everything at the user level so it’s not as “all encompassing” as Nix and is readily compatible with immutable distros. https://mise.jdx.dev/ Your solution is akin to putting your dotfiles in the code repo, which is going to cause issues with languages with poor version compatibility (such as node and python) when switching between old projects. Also, bold…

Question about Mise: Does it manage checksums or a lock file per environment somewhere? I scrolled through the getting started page and didn't see anything at first glance.
Post reply on HN