[go-nuts] Re: The "leave "if err != nil" alone?" anti-proposal

2019-07-02 Thread Dave Cohen
On Friday, June 28, 2019 at 5:44:01 PM UTC-7, Tyler Compton wrote: > > If anyone hasn't seen it, an issue with the "proposal" tag was created > earlier on the Go issue tracker titled "Proposal: leave "if err != nil" > alone?" (here ). This issue seems to > have

[solved] Re: [go-nuts] ed25519 signature, expected non-deterministic

2019-04-19 Thread Dave Cohen
On Friday, April 19, 2019 at 7:44:42 AM UTC-7, Marvin Renich wrote: > > * Dave Cohen > [190419 10:25]: > > I'm working on code that signs a message with an ed25519 key. > > > > I expected that when signing the same message over and over, I'd get

[go-nuts] ed25519 signature, expected non-deterministic

2019-04-19 Thread Dave Cohen
I'm working on code that signs a message with an ed25519 key. I expected that when signing the same message over and over, I'd get a different signature each time. But I find when I run the test (below) more than once, I get the same signature bytes each time. Here's sample (identical) output

[go-nuts] big.Rat anomalies

2016-10-10 Thread Dave Cohen
I'm getting an unexpected result of big.Rat.Quo(). In trying to track it down, I ran into an unexpected result from big.Rat.SetFloat64(). So I have a few questions... Code snippet below reproduces what I see in my application, and is also in https://play.golang.org/p/Eph67_1yd- I'm working w