Re: [go-nuts] Re: Go Language Survey

2019-06-16 Thread Michael Jones
Volker, the answer to the balance question. My formatting is that "«balance (2:1) [0:0] {1:0}»" gives the number of left and right parenthesis, lefdt and right brackets, and left and right braces in using ":": 2019/06/16 17:57:59.844755 files that failed the Go lexical scan: 2019/06/16

Re: [go-nuts] Pointer Method Receiver

2019-06-16 Thread andrey mirtchovski
Hi Ali, I understand your desire to provide useful information about Go in blog posts. This is commendable. However let's try to keep this list for technical issues and keep empty posts containing just a link to a minimum. More signal, less noise. Is there a particular issue you'd like to raise?

[go-nuts] Pointer Method Receiver

2019-06-16 Thread Ali Hassan
https: //koohinoorgo.blogspot.com/2019/06/methods-receiver-are-not-variable-type.html #golang -- 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 email to

[go-nuts] Re: Scheduling - find the overlap size of two sequential date ranges and determine the actual dates of included in the intersection

2019-06-16 Thread John More
Updated playground code https://play.golang.org/p/qHufIG5ppww On Sunday, June 16, 2019 at 12:48:25 PM UTC-4, John More wrote: > > I have created a program to solve this problem ( > https://play.golang.org/p/BueQBahUUbk) but I am not a pro and do not know > if there is a better way. > > Thanks

[go-nuts] Scheduling - find the overlap size of two sequential date ranges and determine the actual dates of included in the intersection

2019-06-16 Thread John More
I have created a program to solve this problem (https://play.golang.org/p/BueQBahUUbk) but I am not a pro and do not know if there is a better way. Thanks for your time and a huge than You to Yudai the creator of "github.com/yudai/golcs" . I have also attached the code. -- You received

[go-nuts] Chrome extension: enhances github with godoc.org synopsis and link

2019-06-16 Thread Eyal
This chrome extension enhances Github Go projects: In file views: - It replaces the "last commit synopsis" with godoc.org synopsis. - It adds a link to the package documentation in godoc.org. Please feel free to download and use:

Re: [go-nuts] Newbie question on slice bound checking

2019-06-16 Thread Ugorji Nwoke
Thanks much, to you and Jan Merci. I needed it to validate whether the performance gap in my library was due to bounds checking or not. If it was, then I would try harder to use tips to reduce bounds checking. I wasn't planning on running it in production. I ended up having to use

Re: [go-nuts] Newbie question on slice bound checking

2019-06-16 Thread Jan Mercl
On Sun, Jun 16, 2019, 13:53 Ugorji Nwoke wrote: > I know this is an old thread, but is -B still supported? > That compiler flag provides compiling a program, semantic of which isn't compatible with the Go language specification. It's only valid use is to enable easy evaluation of the bounds

Re: [go-nuts] Newbie question on slice bound checking

2019-06-16 Thread Michael Jones
It has been, yes, and unless it changed in the last few weeks, it still is. I use to to measure cost as an awareness metric, but seldom run that way. Go is safe until you do that, then it becomes unsafe. Too risky for serious use. On Sun, Jun 16, 2019 at 4:53 AM Ugorji Nwoke wrote: > I know

Re: [go-nuts] Newbie question on slice bound checking

2019-06-16 Thread Ugorji Nwoke
I know this is an old thread, but is -B still supported? On Monday, August 27, 2012 at 2:09:19 AM UTC-4, minux wrote: > > > On Monday, August 27, 2012, bluehorn wrote: >> >> Is "-gcflags -B" still supported in go1.0.2? I suppose it was gone >> already. >> > It is still there. > -- You