Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
twp
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
9 ms
·
61.
▲
by
twp
4y ago
tl;dr coin toss: heads SVB wins, tails you lose
62.
▲
by
twp
4y ago
Rust is fantastic for writing robust, secure, high-performance software. Rust is definitely a much, much better C++ in almost every respect. No doubt there. However, for many problems, the sweet spot of a good-enough static type system and
63.
▲
by
twp
4y ago
Thank you for your thoughtful reply. A lot of people love fish and I actively support them [1]. [1] https://github.com/search?q=repo%3Atwpayne%2Fchezmoi%20fish&...
64.
▲
by
twp
4y ago
For one of my projects [1] I got about ten in-person questions/discussions equivalent to "Why don't you use Rust?" at various conferences/meetups over three years. The enthusiasm of the person asking the question wa
65.
▲
by
twp
4y ago
How many memory safety bugs have you encountered? How many many of these were ownership problems that could only be solved with a strict borrow checker and could not be solved with a garbage collector?
66.
▲
by
twp
4y ago
Direct questions, from a someone who knows that Rust has a lot to offer while also has experienced the pain of re-writes: 1. How do you propose to handle changes to fish while the re-write is in progress? Should fish/C++ stop evolving?
67.
▲
by
twp
4y ago
Fair point. If you're interested in why chezmoi took this particular approach, I wrote a few FAQs on its design: Why chezmoi doesn't use symlinks: https://www.chezmoi.io/user-guide/frequently-asked-questions..
68.
▲
by
twp
4y ago
You can use chezmoi to manage files outside your home directory if you really want to. For an example, see https://github.com/felipecrs/dotfiles : The `home` directory contains home directory files. The `root` directory
69.
▲
by
twp
4y ago
Bare git repos have lots of limitations, namely: * Maintaining per-machine configurations is a hassle, usually involving a lot of manual branch juggling. * There's no support for storing secrets in a password manager or in encrypted fi
70.
▲
by
twp
4y ago
https://www.chezmoi.io/ supports: * Keeping secrets in your password manager (all major password managers are supported), see https://www.chezmoi.io/user-guide/password-managers/ . * Encrypting ent
71.
▲
by
twp
4y ago
This post solves all of the easy problems (i.e. make simple stuff go fast) and none of the hard problems (i.e. build a system that still works when other stuff breaks). This post is perfect world thinking. We don't live in a perfect wo
72.
▲
by
twp
4y ago
You can sail downwind faster than the wind: https://www.youtube.com/watch?v=jyQwgBAaBag
73.
▲
by
twp
4y ago
The Go version should also use `sort.Ints`. https://pkg.go.dev/sort#Ints
74.
▲
by
twp
4y ago
It's here: https://www.digitalasset.com/use-cases/clearing-settlement
75.
▲
by
twp
4y ago
The CockroachDB guy didn't understand what he was doing. There's a refute from Russ Cox here: https://news.ycombinator.com/item?id=26834128
76.
▲
by
twp
4y ago
tzdata, at least, can be embedded in your binary: https://pkg.go.dev/time/tzdata
77.
▲
by
twp
4y ago
The availability of age as a Go library means that it's easy to embed age into other tools. For example chezmoi supports age encryption for your sensitive dotfiles, and you don't even have to install age on your machine to use it.
78.
▲
by
twp
4y ago
chezmoi can clone from any git repo, you don't have to use GitHub. You can clone from your own hosted repo, GitLab, sourcehut, Codeberg, or anywhere else.
79.
▲
by
twp
4y ago
Sea water is also corrosive and full of little creatures that will make their homes on anything you put in the water. Any complex mechanical machinery is unlikely to last very long.
80.
▲
by
twp
4y ago
https://chezmoi.io for dotfile management. I'm the author but I use chezmoi across all my machines.
81.
▲
by
twp
4y ago
Thank you <3
82.
▲
by
twp
4y ago
Tracking `~/.config` as a regular directory in git only works if all your machines are near-identical. If you want to share dotfiles between, say, Linux and macOS, or between your home and work machines, then a dotfile manager makes it
83.
▲
by
twp
4y ago
The author confused cause and effect. Author: because this code sees a lot of churn it is important. Reality: this code sees a lot of churn because it is bad.
84.
▲
Show HN: Chezmoi cross-platform dotfile manager, 6K GitHub stars
(github.com)
2 points
by
twp
5y ago
|
0 comments
85.
▲
by
twp
5y ago
Isovalent | Multiple roles | Mountain View (US), Zürich (CH), or Remote We're the company behind the open source Cilium project ( https://cilium.io ) (11K stars on GitHub) providing eBPF-based networking, observability, and s
86.
▲
by
twp
5y ago
What is missing from this blog: Where is the safety margin? i.e. what happens if something goes wrong? Can the aircraft make a safe landing if the motors fail? Do the limited control surfaces give it enough maneuverability to make an emerge
87.
▲
by
twp
5y ago
In this example, `quote` is a function from sprig [1] which chemzoi uses with Go's text/template language [2]. [1] https://masterminds.github.io/sprig/strings.html [2] https://pkg.go.dev/text&
88.
▲
by
twp
5y ago
With chezmoi you can use pass to store secrets in your dotfiles, for example if you want to set a secret API token in your ~/.bashrc you can use: export SECRET_API_TOKEN={{ pass "api/token" | quote }} For more inf
89.
▲
by
twp
5y ago
Yes. As an experiment, I tried running a Google Ads campaign for my https://chezmoi.io open source project bidding on "dotfile manager". Twenty clicks cost me $20. I terminated the experiment quickly.
90.
▲
by
twp
5y ago
age has been an alternative plugin to gpg for transparent file encryption and decryption for the chezmoi dotfile manager for a couple of years now. age's CLI is so much nicer and easier to integrate than gpg's. Now with the Go API
More ›