[go-nuts] Persistent http TLS connections despite timeout

2016-11-08 Thread Matt Joiner
All of the following goroutines have a corresponding file descriptor open. 515 @ 0x434c9a 0x4301d7 0x42f819 0x536fe8 0x537054 0x5387a7 0x54c0e0 0x5d5ed8 0x5d6444 0x5da116 0x691720 0x4fdd57 0x4fecbb 0x4feea7 0x61701f 0x616e1f 0x68b895 0x692afa 0x696d7a 0x460f61 # 0x42f818 net.runtime_pollWait+0x58

[go-nuts] Re: Deleting the /r/golang subreddit

2016-11-24 Thread Matt Joiner
I don't believe technical forum moderators should be abusing their position to project their ethical standpoints onto users. If users don't like Reddit, they can just not participate. If the moderators don't like it, step down. -- You received this message because you are subscribed to the Goo

[go-nuts] Extracting link to earlier panic

2016-11-24 Thread Matt Joiner
I can't see anyway to extract earlier panics per runtime's _panic.link. This makes it difficult to print stack traces in the way that the default handler does if a panic is not recovered. I want to recover a panic, print its stack trace, and all earlier panic values in the way shown here: pani

[go-nuts] Re: Extracting link to earlier panic

2016-11-28 Thread Matt Joiner
^ On Friday, 25 November 2016 14:02:29 UTC+11, Matt Joiner wrote: > > I can't see anyway to extract earlier panics per runtime's _panic.link. > This makes it difficult to print stack traces in the way that the default > handler does if a panic is not recovered. > &g

[go-nuts] 2016 Go User Survey results

2017-01-22 Thread Matt Joiner
The go user survey closed on 22/12/16, but the results have not been posted. Where are they? -- 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, s

Re: [go-nuts] 2016 Go User Survey results

2017-02-12 Thread Matt Joiner
Thanks Dave On 13 February 2017 at 08:30, Dave Cheney wrote: > I raised https://github.com/golang/go/issues/19050 to track this. > > -- > You received this message because you are subscribed to a topic in the > Google Groups "golang-nuts" group. > To unsubscribe from this topic, visit https://gr

[go-nuts] [generics] combining different instances of the same generic type

2020-11-29 Thread Matt Joiner
I had a muck around with go2 generics with my toy-ish futures package https://github.com/anacrolix/futures. The go1 implementation is in master, and a working go2 implementation in the go2 branch (using channels of different types instead of the attempt that follows). The package provides one f

Re: [go-nuts] [generics] combining different instances of the same generic type

2020-12-01 Thread Matt Joiner
sult[T]]. >>> >>> >>> There's no reason why interface types won't still play a large role in >>> the future where Go has generics, and that's >>> how I'd probably represent timeoutOrResult there, with a dynamic type >>> switc

Re: [go-nuts] [generics] combining different instances of the same generic type

2020-12-02 Thread Matt Joiner
The conversation has drifted a little from generics, I've replied inline below: On Wed, 2 Dec 2020 at 20:56, roger peppe wrote: > On Wed, 2 Dec 2020 at 09:15, roger peppe wrote: > >> Also your delayed blocks don't wait for the preceding set of futures to >>> be exhausted before proceeding, I th

Re: [go-nuts] Unsupported File Format error while building for linux-amd64 on mac os

2021-01-05 Thread Matt Joiner
I found this, which worked without GOPATH assumptions: https://blog.filippo.io/easy-windows-and-linux-cross-compilers-for-macos/ On Monday, 1 October 2018 at 7:32:23 pm UTC+10 Ankit Gupta wrote: > Tamas, > > I installed docker on mac and cross compiled using xgo like you suggested. > Worked per