[go-nuts] Re: TLS connection cannot be used after timeout of "SetDealine"

2020-01-21 Thread Guy Allard
I hope you already figured this out.. The documentation for SetDeadline in the tls package specifically says: After a Write has timed out, the TLS state is corrupt and all future > writes will return the same error. > > -- You received this message because you are subscribed to the G

[go-nuts] Re: main() cannot call method in another file

2019-10-24 Thread Guy Allard
Use: go run *.go or go build *.go On Wednesday, October 23, 2019 at 1:20:26 AM UTC-4, Cam wrote: > > Hi everyone on Golang group, > > I'm having difficulty with some simple code, and appreciate if someone can > point out a solution. > > There is a simple main package that looks like this: > >

Re: [go-nuts] Re: How to read multi-page TIFF image?

2017-09-25 Thread Guy Allard
The multi-page TIFs I have seen have multiple IFDs (a linked list). I do not know anything about SubIFds, have never seen such. Adding support for multiple IFDs to the go package being discussed seems not too difficult (reading the existing code). Suggest trying to contact the package authors.

[go-nuts] Re: How to read multi-page TIFF image?

2017-09-24 Thread Guy Allard
This package does not appear to support multi-page TIFs. Decoder initialization only reads the 1st IFD. On Friday, September 22, 2017 at 1:49:47 PM UTC-4, Tad Vizbaras wrote: > > No problem reading single page TIFF images using: "golang.org/x/image/tiff". > > It works great. > > > Question: how

[go-nuts] Re: The "call" function of Go template

2017-07-05 Thread Guy Allard
Maybe take a look at: https://github.com/golang/go/issues/10653 and/or https://play.golang.org/p/Ka8bN3_V1f to understand what works, and what does not. On Wednesday, July 5, 2017 at 11:58:02 AM UTC-4, Tong Sun wrote: > > Can somebody give an example for the following? I made several attempts

[go-nuts] Re: os.Getwd() on windows changes drive letter casing

2017-04-18 Thread Guy Allard
problem. > > Peter > > On Tuesday, April 18, 2017 at 8:55:03 AM UTC-4, Guy Allard wrote: >> >> I do net see that here. C: is uppercase in both cases. >> >> go 1.8 >> Win 7 >> >> On Monday, April 17, 2017 at 11:06:50 AM UTC-4, Andreas Reuterberg

[go-nuts] Re: os.Getwd() on windows changes drive letter casing

2017-04-18 Thread Guy Allard
I do net see that here. C: is uppercase in both cases. go 1.8 Win 7 On Monday, April 17, 2017 at 11:06:50 AM UTC-4, Andreas Reuterberg wrote: > > I'm calling os.Getwd() as part of a very simple test, but I get different > responses > depending on if I'm executing the test as a binary or not. The

[go-nuts] Re: Who wants to use Go to process your camera's raw files?

2016-08-11 Thread Guy Allard
For how to go about discussion: would a google group work? Or possibly an organization on github? Personally I could go with almost anything. On Wednesday, August 10, 2016 at 11:09:12 PM UTC-4, Jonathan Pittman wrote: > > For some reason I did not get the last 3 updates until this one. Weird

[go-nuts] Re: Who wants to use Go to process your camera's raw files?

2016-07-28 Thread Guy Allard
If you put something up on github, please let us know here. On Tuesday, July 26, 2016 at 10:36:31 PM UTC-4, Jonathan Pittman wrote: > > Well me too! I am looking to see what level of interest there is in the > Go community to see this happen. I am also looking for people who are > interested