Re: [go-nuts] Can't capture stderr after upgrading to glog v1.1.0

2023-03-17 Thread 'Stuart McLean' via golang-nuts
it outputs what we want: captured: E0317 12:27:12.440817 11892 main.go:26] foo bar > On 17. Mar 2023, at 11:03, Chressie Himpel wrote: > > On Fri, Mar 17, 2023 at 10:16 AM Stuart McLean wrote: >> >> Thanks so much for the quick answers. I did try setting the >>

Re: [go-nuts] Can't capture stderr after upgrading to glog v1.1.0

2023-03-17 Thread 'Stuart McLean' via golang-nuts
the file buffer. > On 16. Mar 2023, at 18:29, Chressie Himpel wrote: > > On Thu, Mar 16, 2023 at 5:27 PM Ian Lance Taylor wrote: >> >> [ + jba ] >> >> On Thu, Mar 16, 2023 at 8:56 AM 'Stuart McLean' via golang-nuts >> wrote: >>> &g

[go-nuts] Can't capture stderr after upgrading to glog v1.1.0

2023-03-16 Thread 'Stuart McLean' via golang-nuts
a way to configure glog to write to a specific file that I can read from after? Thanks for your time, Stuart McLean -- 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, sen

[go-nuts] Re: GO Mod (modules) for dummies. Please help.

2019-10-25 Thread Stuart Davies
Well I can see that I am not getting this. I will carry on coding and see if the understanding I have resolves itself. Thanks for all you contributions. On Monday, 23 September 2019 16:25:30 UTC+1, Stuart Davies wrote: > > Hi. > > > I have been using GO for about a year and I lo

[go-nuts] Re: GO Mod (modules) for dummies. Please help.

2019-10-23 Thread Stuart Davies
' finds (or not). It seems to fallback, ignoring the replace, if it cannot be found. This would be really informative. Sorry for the log response but I am almost there. I just need some fine detail or clarity. If I am to convince my boss to go for Go I must understand! Regards Stuart On

[go-nuts] Re: GO Mod (modules) for dummies. Please help.

2019-10-22 Thread Stuart Davies
ard! Stuart On Monday, 23 September 2019 16:25:30 UTC+1, Stuart Davies wrote: > > Hi. > > > I have been using GO for about a year and I love the language and ideas > behind the language. I am also a Java developer for many years, I switched > from Delphi to Java 1, the n

[go-nuts] Re: GO Mod (modules) for dummies. Please help.

2019-10-19 Thread Stuart Davies
. I am back to coding :-) On Monday, 23 September 2019 16:25:30 UTC+1, Stuart Davies wrote: > > Hi. > > > I have been using GO for about a year and I love the language and ideas > behind the language. I am also a Java developer for many years, I switched > from Delphi to

[go-nuts] Re: GO Mod (modules) for dummies. Please help.

2019-10-19 Thread Stuart Davies
happens. Thanks Stuart On Monday, 23 September 2019 16:25:30 UTC+1, Stuart Davies wrote: > > Hi. > > > I have been using GO for about a year and I love the language and ideas > behind the language. I am also a Java developer for many years, I switched > from Delphi t

[go-nuts] Re: GO Mod (modules) for dummies. Please help.

2019-10-18 Thread Stuart Davies
or directory *What do I need to add to example/go.mod to make it use the local pacakges?* On Monday, 23 September 2019 16:25:30 UTC+1, Stuart Davies wrote: > > Hi. > > > I have been using GO for about a year and I love the language and ideas > behind the language. I am also a Java

[go-nuts] Re: GO Mod (modules) for dummies. Please help.

2019-10-18 Thread Stuart Davies
hat is the correct way to proceed when developing servers that import webserver (ws2/server2.go) and use config and template (without a replace in go.mod) *I am sure I am missing somthing minor. Could you please help.* Regards Stuart On Monday, 23 September 2019 16:25:30 UTC+1, Stuart Davi

[go-nuts] Re: GO Mod (modules) for dummies. Please help.

2019-10-18 Thread Stuart Davies
he correct way to proceed when developing servers that import webserver (ws2/server2.go) and use config and template (without a replace in go.mod) I am sure I am missing somthing minor. Could you please help. Regards Stuart On Monday, 23 September 2019 16:25:30 UTC+1, Stuart Davies wrote: >

[go-nuts] Re: Extending an array 'The right way'. Guidence needed!

2019-10-17 Thread Stuart Davies
#x27;append' in the end because I wanted to control the growth of the array. It's function is very specific and I wanted to optomise the performance myself. regards Stuart On Tuesday, 15 October 2019 11:16:35 UTC+1, Stuart Davies wrote: > > Hi > > I have a slice backed

[go-nuts] Re: Extending an array 'The right way'. Guidence needed!

2019-10-15 Thread Stuart Davies
devs so it is as good as I am likly to get. Thanks all for your help :-) On Tuesday, 15 October 2019 11:16:35 UTC+1, Stuart Davies wrote: > > Hi > > I have a slice backed by an array. > > My understanding is that I can extend the slice (append) up to the > capacity of the a

[go-nuts] Re: go 1.13.1 (linux x64): Build and Test is slower.

2019-10-15 Thread Stuart Davies
Ok I will just get on with it. I am not is a position to compare performance when there are so many variables. I thought others might have had the same issue and there might be a simple explanation. We can close this discussion. On Tuesday, 15 October 2019 12:07:11 UTC+1, Stuart Davies wrote

[go-nuts] Re: Extending an array 'The right way'. Guidence needed!

2019-10-15 Thread Stuart Davies
Ok I will have a rethink. Is there a way I can control the expansion. I do not want to double the storage each time. I want to be able to control and limit the growth if necessary. Thanks for the assistance. I will re-read the article. On Tuesday, 15 October 2019 11:16:35 UTC+1, Stuart

[go-nuts] Re: Extending an array 'The right way'. Guidence needed!

2019-10-15 Thread Stuart Davies
on. I just want to know the best practices for 'extending' an array of arbitrary type. On Tuesday, 15 October 2019 11:16:35 UTC+1, Stuart Davies wrote: > > Hi > > I have a slice backed by an array. > > My understanding is that I can extend the slice (append) u

[go-nuts] go 1.13.1 (linux x64): Build and Test is slower.

2019-10-15 Thread Stuart Davies
Hi. I use a low spec laptop that I take with me so I can work/play in the coffee shop! Since upgrading go to 1.13 I have noticed a significant slow down (2 to 3 times) in build and build for test especially when debugging. It is still fast compared to other languages I use but I was sooo imp

[go-nuts] Extending an array 'The right way'. Guidence needed!

2019-10-15 Thread Stuart Davies
Hi I have a slice backed by an array. My understanding is that I can extend the slice (append) up to the capacity of the array. After that I do not understand the correct procedure. Append fails when the backing array indexes are exceeded. So I have this temporary piece of code: if p.Line

[go-nuts] Re: Need a Modules for Dummy's Guide. Please help

2019-09-24 Thread Stuart Davies
Wow - Brilliant - Thanks for taking the time to reply. I will need time to digest what you have said and get back to you with any further questions, and any insights I gain along the way. Regards Stuart On Monday, 23 September 2019 21:41:41 UTC+1, Stuart Davies wrote: > > Hi. >

[go-nuts] Re: Unable to post on this subject

2019-09-23 Thread Stuart Davies
It's ok now. Got my post done. Thanks. On Monday, 23 September 2019 16:26:15 UTC+1, stuart...@bt.com wrote: > > Hi > > > > Trying to post on the golang-nuts subject but I get: > > > > ‘An Error occurred while communicating with the server’ RELOAD >

[go-nuts] Need a Modules for Dummy's Guide. Please help

2019-09-23 Thread Stuart Davies
rt of thing that can raise a language above the rest and I would really like that to happen. Go is brilliant… Regards Stuart -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving ema

Re: [go-nuts] Generics are overrated.

2017-07-28 Thread stuart
The build time issue is an artifact of C++ and templates. When generics were introduced to C# 2.0, they did do not negatively affect build times. On Friday, July 28, 2017 at 6:41:56 AM UTC-7, Robert Melton wrote: > > My primary concern about generics is they may significantly hurt build > times,

[go-nuts] youpassbutter - a simple data service written in go

2016-07-08 Thread Stuart Roth
https://github.com/stuartaroth/youpassbutter I recently wrote this project because I was interested in using websocketd ( https://github.com/joewalnes/websocketd ) but was concerned about having so many short lived data connections. It currently seems to be working well but I would appreciate an