Tom Thorogood

Results 7 issues of Tom Thorogood

authenticator-rs imposes a maximum HID report size of [`MAX_HID_RPT_SIZE = 64`](https://github.com/mozilla/authenticator-rs/blob/660a701b45977cb5d184380061dfc8cec4f696be/src/consts.rs#L8) bytes. This limit isn't part of either the CTAP 2.0 or CTAP 2.1 specs, although the spec is a...

The [current method](https://github.com/NYTimes/gziphandler/blob/22d4470af89e09998fc16b35029df973932df4ae/gzip.go#L87-L91) of inferring the mime type of the uncompressed data is broken when multiple calls are made to Write and the first block of data is small. The...

The [ParentSpanId field](https://github.com/census-instrumentation/opencensus-proto/blob/5cec5ea58c3efa81fa808f2bd38ce182da9ee731/gen-go/trace/v1/trace.pb.go#L158-L160) of [tracepb.Span](https://github.com/census-instrumentation/opencensus-proto/blob/5cec5ea58c3efa81fa808f2bd38ce182da9ee731/gen-go/trace/v1/trace.pb.go#L137) must be empty for the root span. This causes issues when combined with [opentelemetry-collector](https://github.com/open-telemetry/opentelemetry-collector) and the jaeger gRPC exporter.

cla: yes

Needing to read a stream of zero-bytes is an ocassional use-case of an `io.Reader`. `io.ZeroReader` would be the `/dev/zero` counterpoint to `/dev/null` and `io.Discard`. One particular use-case is with `cipher.StreamReader`...

Proposal

This substantially simplifies the machinery and state tracking around DNS record unpacking. Gone are the `off int` arguments! Gone are the manual slice length checks! For the most part care...

This is a continuation from https://github.com/tmthrgd/go-hex/issues/1#issuecomment-385658982. Of note are the following changes: - golang/go@22cfe24aca80653b0e8efdd4a1aba1df00e8e72d: `encoding/hex: save allocation in DecodeString()`, *(I tried this and the benchmarks showed the reverse happened, but...

enhancement
help wanted