Re: [go-nuts] Re: Another runtime.KeepAlive question

2016-12-31 Thread Justin Israel
Thanks for clarifying! On Sat, Dec 31, 2016, 1:02 PM 'Keith Randall' via golang-nuts < golang-nuts@googlegroups.com> wrote: > > > On Friday, December 30, 2016 at 1:26:26 PM UTC-8, Justin Israel wrote: > > Hi, > > Regarding this thread: > https://forum.golangbridge.org/t/curious-about-runtime-keep

[go-nuts] Re: http: TLS handshake error from :: EOF

2016-12-31 Thread Tamás Gulácsi
No, but the Go default min is TLS1.0, not TLS1.1, that's why you need a custom TLSConfig! -- 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...

[go-nuts] Re: https://http2.golang.org/ shows http/2 disabled on chrome but it's not!

2016-12-31 Thread Tamás Gulácsi
Http/2 needs tls! -- 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/op

Re: [go-nuts] Re: http: TLS handshake error from :: EOF

2016-12-31 Thread Einthusan Vigneswaran
Are you suggesting to set the minimum to 1.1? Wouldn't that cause less compatibility? Maybe a typo in your reply? Sent from iPhone > On Dec 31, 2016, at 2:28 PM, Tamás Gulácsi wrote: > > No, but the Go default min is TLS1.0, not TLS1.1, that's why you need a > custom TLSConfig! > > -- > You

Re: [go-nuts] Re: http: TLS handshake error from :: EOF

2016-12-31 Thread Gulácsi Tamás
Yup, exchanged the values, sorry. The default is 1.1, so you need 1.0. Einthusan Vigneswaran ezt írta (időpont: 2016. dec. 31., Szo 13:00): > Are you suggesting to set the minimum to 1.1? Wouldn't that cause less > compatibility? Maybe a typo in your reply? > > Sent from iPhone > > > On Dec 31,

Re: [go-nuts] Re: [llgo-dev] Re: New home for GoLLVM

2016-12-31 Thread Peter Waller
I don't know about you, but when I do `go get`, go get uses https, not HTTP, and the HTTPS link gives a 404 not found. Additionally, when I follow the link in my browser to http://llvm.org/llvm/bindings/go/llvm - I get redirected to the LLVM homepage, which makes it hard to discover how to use the

Re: [go-nuts] Re: Why there is no container/set

2016-12-31 Thread Konstantin Khomoutov
On Fri, 30 Dec 2016 11:26:16 -0800 (PST) buchanae.o...@gmail.com wrote: > On Saturday, December 3, 2011 at 1:32:02 AM UTC-8, James Chow wrote: > > > > I used "set" in java and c++, why there is no such container in > > golang pkg-tree? > > > Back to the original question, container/set seems like

[go-nuts] when you want to template a struct with private fields....

2016-12-31 Thread Joseph Lorenzini
Hi all, So I know why this can't work. :) My question is the following: if you have a type that you want to be private (e.g struct), how would you template that data? Use a different data structure? Use reflection? Joe -- You received this message because you are subscribed to the Google Gro

[go-nuts] How to create a function to Return Map value type: New Year's Eve assignment

2016-12-31 Thread mrchongnoi
I am spending my New Year's eve watching Thai TV and coding. below is the function I created to return a map. My function returns nil. Am I missing something. type IcxParam struct { name *string value *string } func MapIcxConfig(filenameconfig string) map[string]IcxParam

Re: [go-nuts] when you want to template a struct with private fields....

2016-12-31 Thread Konstantin Khomoutov
On Sat, 31 Dec 2016 07:45:27 -0800 (PST) Joseph Lorenzini wrote: > So I know why this can't work. :) My question is the following: if > you have a type that you want to be private (e.g struct), how would > you template that data? Use a different data structure? Use > reflection? Have your struct

Re: [go-nuts] How to create a function to Return Map value type: New Year's Eve assignment

2016-12-31 Thread Konstantin Khomoutov
On Sat, 31 Dec 2016 05:31:30 -0800 (PST) mrchong...@gmail.com wrote: > I am spending my New Year's eve watching Thai TV and coding. > > below is the function I created to return a map. My function returns > nil. When "crossposting" [2], please always mention alternative venues you've used to ask

[go-nuts] Trace encoding - traceEv(String/Stack) deferred output always sent at tail of trace file leaving it incomplete until stopped.

2016-12-31 Thread chrisstocktonaz
Hello, I wrote (rather derived from the stdlib) a reentrant Parser for the Go trace files, so I could stream partial events as they are returned from runtime.ReadTrace(). After learning about the format and reading the go15trace design doc everything makes sense. I've noticed that runtime.trace

Re: [go-nuts] Re: [llgo-dev] Re: New home for GoLLVM

2016-12-31 Thread Will Norris
On Sat, Dec 31, 2016 at 4:22 AM, Peter Waller wrote: > I don't know about you, but when I do `go get`, go get uses https, not > HTTP, and the HTTPS link gives a 404 not found. > Yes, go get defaults to https, but depending on whether the -insecure flag is passed, it then falls back to http (see

Re: [go-nuts] How to create a function to Return Map value type: New Year's Eve assignment

2016-12-31 Thread Mr. Chong Noi
Understood. Thank you for the input. On Sat, Dec 31, 2016 at 11:04 PM, Konstantin Khomoutov < flatw...@users.sourceforge.net> wrote: > On Sat, 31 Dec 2016 05:31:30 -0800 (PST) > mrchong...@gmail.com wrote: > > > I am spending my New Year's eve watching Thai TV and coding. > > > > below is the fun

Re: [go-nuts] Re: http: TLS handshake error from :: EOF

2016-12-31 Thread Einthusan Vigneswaran
But what I don’t get is why SSL Labs test shows that we do indeed support TLS 1.0? https://www.ssllabs.com/ssltest/analyze.html?d=einthusan.tv&latest -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop

Re: [go-nuts] Re: http: TLS handshake error from :: EOF

2016-12-31 Thread Matt Harden
Probably because we do? It's just that the default minimum version is TLS1.1. On Sat, Dec 31, 2016, 17:04 Einthusan Vigneswaran < einthu...@paperboardinc.com> wrote: > But what I don’t get is why SSL Labs test shows that we do indeed support > TLS 1.0? > > https://www.ssllabs.com/ssltest/analyze.

Re: [go-nuts] Re: http: TLS handshake error from :: EOF

2016-12-31 Thread Matt Harden
Oh sorry, I misunderstood the question. On Sat, Dec 31, 2016, 19:06 Matt Harden wrote: > Probably because we do? It's just that the default minimum version is > TLS1.1. > > On Sat, Dec 31, 2016, 17:04 Einthusan Vigneswaran < > einthu...@paperboardinc.com> wrote: > > But what I don’t get is why S