bufdev

Results 107 comments of bufdev

More up to date link for the first that standardizes on the second: https://tools.ietf.org/html/draft-rundgren-json-canonicalization-scheme-17#section-3.2.2.3 (Edit: they both actually do, this hasn't changed, this is just the latest version of this...

> Another crazy idea: If floats are the only part that's hard to make stable, why not use detrand specifically to randomize floats (append zeros after the decimal). Most people...

> * https://www.ecma-international.org/ecma-262/6.0/index.html#sec-tostring-applied-to-the-number-type (linked from 3.2.2.3 above) This also looks like a college homework assignment from a theory class. Note that the IETF link alludes to this being implemented in...

Even better: https://github.com/cespare/ryu

https://github.com/golang/go/issues/15672 has a discussion on adding this to strconv Tldr this might be the way to go, just to agree on this algorithm Protobuf-wide - seems like it's a coming...

Yes for sure - I know it's a difficult problem. I was actually on the original issue that added `go_package` haha https://github.com/golang/protobuf/issues/139 and back in the day I supported it....

I'll double check if the warning is present with with `M` flag or not - I have not tested that. Yes, I primarily use the `M` flag as well. Note...

That would be great. I'm happy to lend a hand if you're open to PRs. Another related note, but probably worthy of a new issue: I would love to be...

Just to revitalize this discussion: where did we land on this? Requiring `go_package` on the same major release, even if documented, is going to break tens of thousands of developers...

> A couple thoughts: > > 1. What happens if you specify a prefix of ""? It seems like someone might want to do this to specify that files in...