Egon Elbre

Results 225 comments of Egon Elbre

Yeah, `DeleteObject` is somewhat weird in that sense that it doesn't return an error when the object doesn't exist. But, a common bug is to use the wrong object key,...

I created an proof-of-concept alternative script in https://github.com/egonelbre/google-cloud-go/pull/1 -- you probably would need to adjust it to fit Google's needs, but it shows how to run go vet, staticcheck modules...

I should probably mention that issues such as https://github.com/googleapis/google-cloud-go/pull/10067 go unnoticed as a result. These can be easily caught by static linting tools.

There are still 137 cases of `fmt.Errorf` being used in the repo. This can be easily seen by running `gofmt -w -r "fmt.Errorf(s) -> errors.New(s)"` on the whole repository.

This should be fixed by https://github.com/golang/go/issues/67077

Relations can be asymmetrical, i.e. one idiom is a more complicated version of another idiom; alternatively one idioms is usually implemented using these idioms. http://www.laputan.org/pub/sag/coplien-idioms.pdf

Also should be easy to adjust for printing. Remove the header and voting add some no-break and scrolling.

Forgot to mention, I probably don't have time to properly develop the full CSS, (and I don't know your skill level): - http://learnlayout.com/ - https://bradfrost.github.io/this-is-responsive/patterns.html - http://learn.shayhowe.com/html-css/ - http://learn.shayhowe.com/advanced-html-css/ Trying...

I happened to be thinking about the voting controls. Remove the downvote -- people tend to down vote things that they don't like, which for cross-language site isn't a good...

Also, there's a slight bug on M1 processors due to float and uint conversions being platform dependent. https://go.dev/ref/spec#Conversions On M1 Mac the `uint64(float64)` conversion can end up returning `0`. Here's...