Re: [go-nuts] Refresher tutorial

2022-12-10 Thread Ken MacDonald
Thanks, Sean & Eli for the recommendations- I’ll check them out. - Ken Sent from my iPad > On Dec 10, 2022, at 1:01 PM, 'Sean Liao' via golang-nuts > wrote: > >  > consider something like https://learnxinyminutes.com/docs/go/ > if you just need a brief refresher on syntax/core concepts > > -

Re: [go-nuts] Re: Are Go floats smarter?

2018-08-31 Thread Ken MacDonald
Financial applications are, indeed, typically written using some sort of integer representation; some that I've worked with require smaller than "penny" level representations, say, for commodity pricing. I have seen accounting done with floating point. It didn't end well. One of the problems is tha

Re: [go-nuts] Re: Go 1.11 Beta 3 is released

2018-08-10 Thread Ken MacDonald
r go1.11 beta build in module > mode? > > If so, it could have been https://golang.org/issue/26869. > > > On Thursday, August 9, 2018 at 4:35:31 PM UTC-4, Ken MacDonald wrote: >> >> Hi, >> Just attempted to install 1.11beta3. Using the following instructions, &g

[go-nuts] Re: Go 1.11 Beta 3 is released

2018-08-09 Thread Ken MacDonald
Hi, Just attempted to install 1.11beta3. Using the following instructions, the "go get" portion appears to have succeeded, but "go1.11beta3 download" fails with "bash: go1.11beta3: command not found". This worked fine on my Mac, but trying on a CentOS system now. Suggestions welcome. > If you

Re: [go-nuts] XML parsing of simple array of tags

2016-10-25 Thread Ken MacDonald
Hi Kiki, Thanks - the first part did the trick! I'd have posted what I had tried, except that I tried probably a dozen variations on different themes, and can't even remember them all Also, appreciate the second part of your example - that may come up useful someday. I've got a couple of thing

Re: [go-nuts] do i need to wait all child routine exit

2016-10-25 Thread Ken MacDonald
You should not need to wait for more than a single response if any of the responses will do the job. I've done this querying several distributed DBs for an answer, and just taking the one that comes back fastest. On Tue, Oct 25, 2016 at 2:53 AM, wrote: > in my case, i have serval child routine f

[go-nuts] XML parsing of simple array of tags

2016-10-25 Thread Ken MacDonald
I'm parsing a fairly large XML stream using "encoding/xml"; most of it seems to work fine, but I have a couple of bits like: 4.00 10.00 and: 1 2 3 7 8 10 where I haven't been able extract those values as an array. I would like to get the values back as strings, not numerics. I've tried a