Re: [go-nuts] Re: can a program terminate, exit code 2, without an error?

2017-04-07 Thread Konstantin Khomoutov
On Fri, 7 Apr 2017 08:44:26 -0700 (PDT) "'simon place' via golang-nuts" wrote: > using 'kill' to simulate an out-of-memory, i only get the string > 'terminated' and no go-routine dump. I may be wrong but IMO in order to have a goroutine dump you have to kill the

Re: [go-nuts] Re: Go 1.8.1 is released

2017-04-07 Thread pedroso
Nice graph -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.

RE: [go-nuts] Writing a non-blocking thread-safe buffer

2017-04-07 Thread John Souvestre
A few ideas… Instead of using two channels, use just one. Let the writer(s) use a “select” to do the write, else default to doing a read (then loop to try the write again). I believe that would accomplish what you are doing now but with less overhead. I think that it’s great that you

[go-nuts] Re: Writing a non-blocking thread-safe buffer

2017-04-07 Thread Albert Tedja
I don't think using separate write/read channels do anything much here. If you are concerned goroutines reading the channel somehow slowing down the writes, you already have a goroutine that's doing the transfer on the other end. On Friday, April 7, 2017 at 8:36:14 AM UTC-7, Eno Compton

[go-nuts] Re: Go 1.8.1 is released

2017-04-07 Thread Nathan Kerr
Thanks for all the hard work! I have updated my go release timeline visualization. -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving

[go-nuts] Go 1.8.1 is released

2017-04-07 Thread Chris Broadfoot
Hi gophers, We have just released Go version 1.8.1, a minor point release. This release includes fixes to the compiler, runtime, documentation, go command, and the crypto/tls, encoding/xml, image/png, net, net/http, reflect, text/template, and time packages.

[go-nuts] Go HTTP/2 behind HAProxy TLS Question

2017-04-07 Thread bulat . shamsutdinov
Hello! I'm quite new to web development and currently bumped into a problem I can't wrap my head around. I need to make a simple web server in Go using HTTP/2 and server will be deployed on Ubuntu 16.04 server behind HAProxy with TLS certificate from Let'sEncrypt. Here is a problem: in that

[go-nuts] Writing a non-blocking thread-safe buffer

2017-04-07 Thread Eno Compton
Hi All, I'm trying to write a non-blocking thread-safe buffer for use in a high throughput system. In short, I want to create a buffer that decouples the speed of writes from that of reads. For a first attempt, using channels in the implementation seems best. Here is a link

[go-nuts] Re: [blog post] go tool trace: Golang's hidden trace visualiser

2017-04-07 Thread Stephen Russell
Fantastic blog, thank you :) just wanted to let you know the demo doesn't work in safari. On Thursday, 6 April 2017 18:00:55 UTC+1, Will Sewell wrote: > > Apologies. I just realised I didn't actually link to the post! It's here: > https://making.pusher.com/go-tool-trace/. > > On Thursday, 6

[go-nuts] fatal error: runtime: cannot reserve arena virtual address space

2017-04-07 Thread daniledty
I use the suse11 with memory 512M, when suse reboot, the go runtime can not reserve arena virtual address space. But when I manaully start the the service. it successfully started. Do anyone know why this happens? -- You received this message because you are subscribed to the Google Groups

[go-nuts] [ANN] Go Performance Playground

2017-04-07 Thread dmitri
We've recently launched Go Performance Playground, which was inspired by the original Go Playground. It is available at https://play.stackimpact.com. Example: https://play.stackimpact.com/p/zIRPhlywKG Should be useful for quick CPU profiling, algorithm optimization and more. More information

[go-nuts] Re: [blog post] go tool trace: Golang's hidden trace visualiser

2017-04-07 Thread Ondrej
Excellent stuff. I remember finding out about trace over here https://groups.google.com/forum/#!topic/golang-nuts/Ktvua7AGdkI and I marvelled that there wasn't any documentation, so it was all trial and error for me. But what a gem. What a gem. Both the tool and your blog post. On Thursday, 6

Re: [go-nuts] Bots on the mailing list

2017-04-07 Thread C Cirello
It looks like a similar technique that some spammers use to "untrain" bayesian filter. If all words are meaningless, then all messages becomes significant. Il ven 7 apr 2017, 04:24 Ian Lance Taylor ha scritto: > On Mon, Apr 3, 2017 at 6:21 PM, Andrew Gerrand

[go-nuts] Re: Number of OS threads used by Go runtime

2017-04-07 Thread C Banning
Or: https://play.golang.org/p/ZgI19Z4uU1 On Thursday, April 6, 2017 at 9:37:55 AM UTC-6, Юрий Шахматов wrote: > > Hi all! > > Is there any way to count number of OS threads used by Go runtime > programmatically (ie without using bash with top/ps and others)? > > -- > Best regards, Yuri > --

[go-nuts] Re: [blog post] go tool trace: Golang's hidden trace visualiser

2017-04-07 Thread omarshariffdontlikeit
This is awesome. Didn't even know this tool existed! On Thursday, April 6, 2017 at 6:00:55 PM UTC+1, Will Sewell wrote: > > Apologies. I just realised I didn't actually link to the post! It's here: > https://making.pusher.com/go-tool-trace/. > > On Thursday, 6 April 2017 17:29:22 UTC+1, Will