[go-nuts] jfcg/rng: compact, fast, sponge-based random number generator

2022-05-13 Thread jfcg...@gmail.com
Hi, jfcg/rng v0.7.0 is just released. It has the following advantages (std=math/rand, alt=golang.org/x/exp/rand): Effective Entropy (hidden information, in bits): rng: 128 std: 31 alt: 64 Used memory (in bytes): rng: 24 std: 4920 alt: 48 Benchmarks: goos: linux g

[go-nuts] Re: Golang and virustotal

2022-05-13 Thread Amnon
My workaround is not to use Windows. And not to use anti-virus programs that thing all Go programs are viruses. On Friday, 13 May 2022 at 16:21:31 UTC+1 drro...@gmail.com wrote: > My work around is to compile using -ldflags="-s -w" > > This has worked for the cases when my files make Windows unh

Re: [go-nuts] package private variables for singleton packages - good/bad style

2022-05-13 Thread Ian Lance Taylor
On Fri, May 13, 2022 at 1:23 AM quin...@gmail.com wrote: > > I have 3 years of experience writing go, but decades of writing C. I am > reaching for best practices on using package private variables to implement > signleton packages. > > I work on a fairly large microservice project which uses pr

Re: [go-nuts] Rules/Etiquette for Code Review?

2022-05-13 Thread Ian Lance Taylor
On Fri, May 13, 2022 at 11:10 AM 'Daniel.L (Byoungchan) Lee' via golang-nuts wrote: > > I've only recently been involved in the Golang community, but I have > experience with other open source projects by Google. > (See my work history in WebRTC and Chromium: [1]) > > I uploaded a CL [2] 5 months

[go-nuts] Rules/Etiquette for Code Review?

2022-05-13 Thread 'Daniel.L (Byoungchan) Lee' via golang-nuts
I've only recently been involved in the Golang community, but I have experience with other open source projects by Google. (See my work history in WebRTC and Chromium: [1]) I uploaded a CL [2] 5 months ago to add a workaround for exynos CPUs, but I haven't gotten a proper review yet. Are there

[go-nuts] Re: Golang and virustotal

2022-05-13 Thread Robert Solomon
My work around is to compile using -ldflags="-s -w" This has worked for the cases when my files make Windows unhappy. I reported it as a bug to Microsoft months ago; I see that they got right on it. --rob solomon On Wednesday, May 11, 2022 at 11:50:20 AM UTC-4 Rusco wrote: > Regarding: "co

[go-nuts] package private variables for singleton packages - good/bad style

2022-05-13 Thread quin...@gmail.com
Hi, I have 3 years of experience writing go, but decades of writing C. I am reaching for best practices on using package private variables to implement signleton packages. I work on a fairly large microservice project which uses protobufs over NATS for communication and ETCd for a key/val stor