Re: [go-nuts] Context cancellation

2016-11-03 Thread Gustavo Niemeyer
esday, November 2, 2016 at 7:55:59 PM UTC-4, Gustavo Niemeyer wrote: >> >> You said the function would return whether it got cancelled or not, so I >> assumed something like err := foo.CallAPI(ctx), which would be awkward to >> return without actually canceling. >> >&

Re: [go-nuts] Context cancellation

2016-11-02 Thread Gustavo Niemeyer
rasing issue. Which is now adding more noise and confusion (sorry. I'll shut up now). On Thu, Nov 3, 2016 at 12:31 AM, Gustavo Niemeyer <gust...@niemeyer.net> wrote: > > > On Thu, Nov 3, 2016 at 1:27 AM, Axel Wagner <axel.wagner...@googlemail.com > > wrote: > >> That is

Re: [go-nuts] Context cancellation

2016-11-02 Thread Gustavo Niemeyer
On Thu, Nov 3, 2016 at 1:27 AM, Axel Wagner wrote: > That is actually a great point I haven't thought about and the crux of the > matter (sorry for repeating it, but I think it's worth making very > explicit): > > While cancelFunc can only be called from the

Re: [go-nuts] Context cancellation

2016-11-02 Thread Gustavo Niemeyer
On Wed, Nov 2, 2016 at 9:11 PM, Ian Davis <m...@iandavis.com> wrote: > On Wed, Nov 2, 2016, at 10:35 PM, Gustavo Niemeyer wrote: > > Hello there, > > On Wed, Nov 2, 2016 at 11:09 AM, Ian Davis <m...@iandavis.com> wrote: > > > > On Wed, Nov 2, 2016, at 12:56

Re: [go-nuts] gopkg.in updated: snap, Let's Encrypt, etc

2016-11-02 Thread Gustavo Niemeyer
. It was working fine on more recent distributions. On Nov 2, 2016 8:03 PM, "Pietro Gagliardi" <andl...@lostsig.net> wrote: > > On Nov 2, 2016, at 1:09 PM, Gustavo Niemeyer <gust...@niemeyer.net> wrote: > > The problem was that git from very recent distributions linked ag

[go-nuts] Re: gopkg.in updated: snap, Let's Encrypt, etc

2016-11-02 Thread Gustavo Niemeyer
, 2016 at 9:10 AM, Gustavo Niemeyer <gust...@niemeyer.net> wrote: > I've reverted it temporarily as I'm observing a large number of these > messages, certainly from old git clients: > > tls: no cipher suite supported by both client and server > > Will investigate and r

[go-nuts] Re: gopkg.in updated: snap, Let's Encrypt, etc

2016-11-02 Thread Gustavo Niemeyer
I've reverted it temporarily as I'm observing a large number of these messages, certainly from old git clients: tls: no cipher suite supported by both client and server Will investigate and redeploy soon. On Wed, Nov 2, 2016 at 8:32 AM, Gustavo Niemeyer <gust...@niemeyer.net>

[go-nuts] gopkg.in updated: snap, Let's Encrypt, etc

2016-11-02 Thread Gustavo Niemeyer
Hello all, After complaints about the previous StartCom TLS certificate, it was moved over to Let's Encrypt's dynamic generation of certificates using the autocert package [1]. It's also been updated to be deployed as a snap [2], which means it's better confined inside its system and a bit

Re: [go-nuts] Oxymoron: language spec: ``untyped boolean value''

2016-11-02 Thread Gustavo Niemeyer
It's a constant literal until it's used in a typed context. This section explains it in detail: https://golang.org/ref/spec#Constants On Wed, Nov 2, 2016 at 6:09 AM, Martin Steffen wrote: > Hi, in the language spec, e.g. in connection with ``type assertions'' and >

Re: [go-nuts] Re: Adding YAML to the stdlib

2016-09-23 Thread Gustavo Niemeyer
On Fri, Sep 23, 2016 at 5:02 PM, Zachary Gershman wrote: > Gustavo - it is not jus that YAML is well known, it is also widely used > (as I even mentioned). It is a *standard *even though some may not want > to consider it as such. If I can read xml in the stdlib why not

[go-nuts] Re: Adding YAML to the stdlib

2016-09-23 Thread Gustavo Niemeyer
Hi Zachary, You have already seen the thread, but for the benefit of others, Zach's email comes from a thread raised and replied to yesterday on Twitter: https://twitter.com/jvehent/status/778687333956587522 As I said there, the yaml spec is big, messy, and I wouldn't encourage having the

[go-nuts] mgo r2016.08.01 released

2016-08-02 Thread Gustavo Niemeyer
Hello Gophers, A major new release of mgo was just published with relevant enhancements and fixes: http://blog.labix.org/2016/08/01/mgo-r2016-08-01 Please let me know if you find any issues. gustavo @ http://niemeyer.net -- You received this message because you are subscribed to the Google