[go-nuts] Re: Using Go in picore (tinycore)

2023-12-06 Thread awaw
type of filesystem is > being used. > > On Wednesday 6 December 2023 at 02:04:35 UTC 王富民awaw wrote: > >> Hi Gophers and embedded systems experts >> >> How can I use the latest version of Go, 1.21.5, in picore >> <http://tinycorelinux.net/5.x/armv6/relea

[go-nuts] Using Go in picore (tinycore)

2023-12-05 Thread awaw
Hi Gophers and embedded systems experts How can I use the latest version of Go, 1.21.5, in picore , which is the raspberry pi port of the lightweight linux OS tinycore ? Although, the x86_64 version includes

[go-nuts] Multiple multicast listeners in different goroutines

2023-11-14 Thread awaw
Hi Gophers and network experts, I am calling `net.ListenMulticastUDP` in each http handler, attempting to act as a fan-out proxy to multiple browsers, since browsers cannot connect to UDP directly. However, at any given time, only one single UDP listener is able to read data from the socket. O

Re: [go-nuts] Re: recommended statistics package? Requirements: ANOVA, Brown-Forsythe

2023-10-30 Thread awaw
AM UTC 王富民awaw wrote: > > Therefore, perhaps I should not be following scipy and rename my function > from Levene to BrownForsythe? > > > Since you have made it available to the public Go community, yes, it would > be a good idea to name it BrownForsythe, > as it is using

Re: [go-nuts] Re: recommended statistics package? Requirements: ANOVA, Brown-Forsythe

2023-10-29 Thread awaw
would appreciate some professional guidance. On Monday, 30 October 2023 at 10:41:23 UTC+8 Jason E. Aten wrote: > 王富民awaw: Very nice. > > The Levene function, though, is confusingly named. The Levene test is > distinct from the Brown-Forsthe test, so mixing up the

Re: [go-nuts] Re: recommended statistics package? Requirements: ANOVA, Brown-Forsythe

2023-10-29 Thread awaw
R implementation to create some test datasets. Maybe gonum/stat < >>> https://godocs.io/gonum.org/v1/gonum/stat> would be a potential home >>> for such a function ? What do you think ? >>> > >>> > cheers >>> > On Friday, October 20, 2023

[go-nuts] recommended statistics package? Requirements: ANOVA, Brown-Forsythe

2023-10-20 Thread awaw
Hi follow Gophers I wonder is there a canonical, verifiably correct Go package for statistics? In particular, Go code that does the Brown-Forsythe test of equal variance. Ideally in pure Go, but linking with CGo is OK. A search on Google and pkg.go.dev does not return helpful results. I wonder is

[go-nuts] Re: Is there a race in exec.CombinedOutput?

2023-10-04 Thread awaw
Phillips wrote: > >> From the Stdout/Stderr field documentation on the os/exec.Cmd type >> <https://pkg.go.dev/os/exec#Cmd>: >> >> "If Stdout and Stderr are the same writer, and have a type that can be >> compared with ==, at most one goroutine a

[go-nuts] Is there a race in exec.CombinedOutput?

2023-10-03 Thread awaw
exec.CombinedOutput uses the same io.Writer for both stdout and stderr in exec.go - Go (opensource.google) . This io.Writer is written in exec.go - Go (opensource.google)

[go-nuts] Loop label style question

2023-10-02 Thread awaw
I wonder does anyone know the reason and history of why loop labels are styled as such: * Labels are *unindented*. All Go constructs, such as fields in structs indent to the right. Why does loop labels unindented to the left? * Labels start with capital letters. Since all other Go identifie

[go-nuts] Re: Offline version of A Tour of Go

2023-09-26 Thread awaw
esday, 26 September 2023 at 11:59:57 UTC+5:30 王富民awaw wrote: > >> Hi Friends of Go >> >> Is there an offline version of A Tour of Go? >> Could be in PDF or Powerpoint or preferably Go's beautiful present format. >> >> A quick Google search didn't rev

[go-nuts] Offline version of A Tour of Go

2023-09-25 Thread awaw
Hi Friends of Go Is there an offline version of A Tour of Go? Could be in PDF or Powerpoint or preferably Go's beautiful present format. A quick Google search didn't reveal anything relevant. Thanks in advance. -- You received this message because you are subscribed to the Google Groups "golan

[go-nuts] how to diagnose slow build

2023-06-29 Thread awaw
My builds have been very slow recently and I want to know why is `go build` so slow for me. Is it due to reading disks or something else? What is the recommended way of profiling/debugging `go build`? I know that the `-x` flag prints detailed information of `go build` but it doesn't tell where