[go-nuts] go get -u golang.org/x/net does not work as documented

2018-04-04 Thread Lee Painton
Trying the listed command returns: package golang.org/x/net: no Go files in /Users/lpainton/go/src/golang.org/x/net Workaround is trivial, but the documentation on https://github.com/golang/net is wrong -- You received this message because you are subscribed to the Google Groups

Re: [go-nuts] Re: go get -u golang.org/x/net does not work as documented

2018-04-04 Thread Lee Painton
Dobler <dr.volker.dob...@gmail.com> wrote: > Just to make sure: go get golang.org/x/net works, it does > download all for golang.org/x/net and the message is > just an information. > > V. > > On Thursday, 5 April 2018 04:21:15 UTC+2, Lee Painton wrote: > >> Trying th

[go-nuts] Re: Anyway to print the exact cql query being executed against db

2018-04-11 Thread Lee Painton
I have not tried this yet, but if you set up a https://godoc.org/github.com/gocql/gocql#QueryObserver on your session I believe you can get exhaustive metrics including the executed statement. On Wednesday, April 11, 2018 at 12:42:28 AM UTC-4, Raju wrote: > > By the way, I am using gocql

Re: [go-nuts] Re: Anyway to print the exact cql query being executed against db

2018-04-11 Thread Lee Painton
No problem. Let me know how it works out, I'm going to try it myself sometime next week. On Wed, Apr 11, 2018 at 11:42 AM, Raju <rmanch...@gmail.com> wrote: > Thanks, Lee. I will give it a try > > -Raju > > > On Wednesday, April 11, 2018 at 8:39:57 AM UTC-7, Lee Pai

[go-nuts] Re: Good Cyclomatic Complexity Number for Go

2018-04-13 Thread Lee Painton
>From McCabe's paper on the topic: http://www.literateprogramming.com/mccabe.pdf These results have been used in an operationalenvironrnent by advising project members to limit their software modules by cyclomatic complexity instead of physical size. The particular upper bound that has been

Re: [go-nuts] Why does the parallel version of a program runs slower?

2018-04-16 Thread Lee Painton
Also, as Rob Pike has stressed in the past, concurrency is not parallelism. Concurrency is a design principle that enables parallelism, but goroutines are concurrency constructs and do not automatically run in parallel. On Monday, April 16, 2018 at 12:47:18 PM UTC-4, andrey mirtchovski wrote: