Simon Law

Results 10 issues of Simon Law

# Problem ``` console user@host:~/go/src/myprog$ go mod tidy go: finding module for package github.com/golang/protobuf/jsonpb/jsonpb_test_proto github.corp.qc/qc/bidding-rate-card-service/internal/gomod imports github.com/uber/prototool/cmd/prototool imports github.com/uber/prototool/internal/cmd imports github.com/uber/prototool/internal/exec imports github.com/uber/prototool/internal/grpc imports github.com/fullstorydev/grpcurl tested by github.com/fullstorydev/grpcurl.test imports github.com/golang/protobuf/jsonpb/jsonpb_test_proto:...

1.11

### Your feature request related to a problem? Please describe. When a developer makes a backwards-incompatible change to their API, it would be nice for a linter to warn them...

proposal

The `DECLARE` statement in PL/pgSQL is similar to the one in PL/SQL and is used to declare variables: https://www.postgresql.org/docs/current/plpgsql-declarations.html Test case in PostgreSQL: ``` sql -- Current behaviour CREATE FUNCTION...

defect

### Is there an existing issue for this? - [X] I have searched the existing issues ### Package ecosystem terraform ### Package manager version _No response_ ### Language version 1.0.7...

T: bug 🐞

### Describe the proposed feature `HocrTransform.normalize_text` normalizes text using the NFKC[^1] compatibilty algorithm. https://github.com/ocrmypdf/OCRmyPDF/blob/6895c2d70fa03ec4d57e779110e07fd50cf4c489/src/ocrmypdf/hocrtransform/_hocr.py#L158-L161 As explained in #1272, it does this so that searching for `Bauernstube` will match `Bauernſtube` in...

enhancement

## Is your feature request related to a problem? Please describe. #196 is a suggested enhancement that wraps each transaction in a migration. This is practical for PostgreSQL, since it...

> I agree that using a unix domain socket for this local communication is a better option. > Could you please create a separate issue for this? _Originally posted by...

It seems like staticcheck is assuming that functions are always idempotent: ``` console sfllaw@h2co3:~/src/staticcheck$ staticcheck main.go main.go:14:39: identical expressions on the left and right side of the '==' operator (SA4000)...

false-positive

In the Unicode 13.0 [Symbols for Legacy Computing Supplement](https://www.unicode.org/L2/L2021/21235r-terminals-supplement.pdf), [2×4 octant box drawing characters](https://wiki.ourworldoftext.com/wiki/Octant) were introduced. Using these characters, QR codes could be quarter-height and even more compact. I propose...