Brad Fitzpatrick

Results 90 issues of Brad Fitzpatrick

A coworker sent out a code review with: ```go func As(err error) (_ Error, ok bool) { var e Error return e, errors.As(err, &e) } ``` ... and during review...

LanguageChange
Proposal

### Proposal Details I recently found myself needing x/crypto/acme/autocert's `func supportsECDSA` but it's not exported. Copy/pasting it works, but is slightly sad as it's kinda long and I worry about...

Proposal
Proposal-Crypto

The `tailscale share -h` output is not word wrapped. Let's either manually wrap it at 76-80 chars or make it automatic based on terminal width if people feel strongly about...

I often need to SSH to my Mac at home, but sometimes it's asleep. But I have other tailscaled nodes on my network that don't sleep. It'd be nice if...

enhancement
L4 Most users
P2 Aggravating
T5 Usability

e.g. adb shell am broadcast -n com.tailscale.ipn/.IPNReceiver -a com.tailscale.ipn.INIT_WITH_AUTHKEY --es authkey "my-super-secret-authkey"

Go 1.21 added `GOEXPERIMENT=cacheprog` to let you set GOCACHEPROG to the name of a tool to run as a child process and implement the cmd/go action/build cache via a JSON...

enhancement

## Platform I’m using: * gokrazy/rpi3b * gokrazy/rpi3b+ * gokrazy/rpi4b * ... and also gokrazy/rpi400 ## Observed behavior The Raspberry Pi 400 seems to mostly work. Everything except wifi. I...

I want to store a number of my gokrazy configs together in a single git repo, not in $HOME/gokrazy. But I also don't want to type `gok --parent_dir=$HOME/src/github.com/bradfitz/private/gokrazy -i mosquitto...

I know the docs advocate using Makefiles, but I'd like to be able to set GOARCH in `config.json` rather than an environment variable. I just forgot it and bricked an...

WIP; goal is alloc-free reads of a query into a Go-provided buffer. Go code can then parse the simple binary format and alloc if needed (doing its own cache lookups,...