Re: [go-nuts] Production Support

2020-12-09 Thread Amit Saha
Hi - your message sounds interesting. Why not open source your code? On Thu, 10 Dec 2020, 10:17 am jm...@tele-metron.com, wrote: > I have developed an API server using GO. Started as a retirement project > but now has actual company that is ready to replace their current > technology. I am looki

[go-nuts] Production Support

2020-12-09 Thread jm...@tele-metron.com
I have developed an API server using GO. Started as a retirement project but now has actual company that is ready to replace their current technology. I am looking for a group or individual that may be interested in taking on the support of the code base as I start to take retirement seriously.

Re: [go-nuts] Go's scheduler, the GMP model. Will the M busy waiting?

2020-12-09 Thread Ian Lance Taylor
On Wed, Dec 9, 2020 at 9:44 AM 黎波 wrote: > > Inside the Go's scheduler, what will happen when an M that already has P > attached cannot find a G both from local runqueue (include trying to steal > from other P's) and global runqueue. > > Will the M keep trying in a busy waiting manner? If so, wo

Re: [go-nuts] Web Application Development

2020-12-09 Thread Eli Bendersky
On Tue, Dec 8, 2020 at 10:43 PM AWS CloudExperts wrote: > > Hello Friends > I am trying to build an WebApp, and this is my first one. do we need to > use external router like gorilla/mux for routing ? > > You certainly don't "need" to use one. Go has a router built into the net/http package. A si

[go-nuts] Go's scheduler, the GMP model. Will the M busy waiting?

2020-12-09 Thread 黎波
Inside the Go's scheduler, what will happen when an M that already has P attached cannot find a G both from local runqueue (include trying to steal from other P's) and global runqueue. Will the M keep trying in a busy waiting manner? If so, would this makes the CPU usage in a high level? If not

[go-nuts] Pointer Abstract

2020-12-09 Thread Tambet Väli
Hello! I havent reached Google Go for quite a while, but I am programming my own programming language (with Julia - I became quite decisive when it could not decide, whether 1im or 2im is bigger for imaginary numbers) and I decided one important thing about Pointers. Meanwhile I worked with t

[go-nuts] heapdump viewer

2020-12-09 Thread xiangdong...@gmail.com
Hi all, I'm looking for a viewer for the heapdump file generated by WriteHeapDump, can anyone shed a light here? Thanks. -- 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, send an e

Re: [go-nuts] When does net/http's Client.Do return io.EOF?

2020-12-09 Thread Amit Saha
> On 7 Dec 2020, at 10:58 pm, 'Axel Wagner' via golang-nuts > wrote: > > We recently had the same issue. > > On Mon, Dec 7, 2020 at 11:58 AM Gregor Best wrote: > Hi! > > We're using a 3rd party provider's API to handle some of our customer > requests. Interaction with their API consists of

Re: [go-nuts] When does net/http's Client.Do return io.EOF?

2020-12-09 Thread Gregor Best
Thanks for the replies guys. Looks like we (and our provider) will have to do a bit of soul-searching wrt idempotent API requests. At least it's good to see that we're not entirely off the beaten path with what we're doing :) On 07.12.20 12:58, Axel Wagner wrote: We recently had the same issu

Re: [go-nuts] golang paths

2020-12-09 Thread Dumitru Ungureanu
The centralized golang tree structure I described and use is not a case of going against golang defaults. It's a case of amending the default paths for the purpose of bringing it all in one place, all golang related, that is. On every machine I develop with golang, my first *blind *thought is to

Re: [go-nuts] golang paths

2020-12-09 Thread fgergo
Sorry, I've lost it at "golang dev space", but I guess there could be an explicit definition to that new phrase. (Though if that definition is not used anywhere else, I can't see any value in that either.) The directories exposed by the environment variables are not there to be explicitly managed w

Re: [go-nuts] golang paths

2020-12-09 Thread Dumitru Ungureanu
Yes, you can safely assume we can agree to disagree on the value of my version for containment, no problem here :) My problem starts with the containment of the golang dev space for the user. Going from here, what dir names should I use? So I thought that using a dir tree based on envvars names

[go-nuts] Re: [Macos/Apple M1] some fork/exec … operation not permitted error

2020-12-09 Thread Denis Cheremisov
Found what causes this. An extended Apple attribute apple.com.quarantine. Set it off, then need to set off some other utilities and now it is done. вторник, 8 декабря 2020 г. в 18:07:17 UTC+3, Denis Cheremisov: > Hi! I installed Go via sources > > $ go version > go version devel +9c91cab0da Tue

Re: [go-nuts] golang paths

2020-12-09 Thread fgergo
On 12/9/20, Dumitru Ungureanu wrote: > I decided to place them all in one place for containment. Thanks! (Though I believe we can agree to disagree on the value of this version of containment.) > I used the names from envvars to get a simple answer to a simple question: > *where is GOROOT?*, *in