Re: [go-nuts] Go 1.16 and modules

2021-03-29 Thread Jon Reiter
i think it's gentler to look at this in the context of c's "hello world" program. the first version was missing both #include and void. then it got #include. then it got void. i recall void issues with code from k&r v1 on my compiler in the mid 80s (i do not predate include statements). i recal

Re: [go-nuts] Re: Cannot build after upgrading to Go 1.16

2021-02-24 Thread Jon Reiter
i had a similar experience where i ended up pull-requesting the addition of mod&sum into a dependency. fair enough for actively maintained packages or packages you've contributed to before but could be problematic otherwise. (insert any linux/bsd talk about contributing changes upstream here) it

Re: [go-nuts] Re: Proposal to add Index operator methods

2020-10-05 Thread Jon Reiter
i think this looks nice but realistically only cleans up v simple cases. a lot of the very-verbose-and-not-so-elegant-looking multidimensional math stuff looks "worse" than other languages because go doesn't have operator overloading. it is not clear to me this improves syntax too much in practic

Re: [go-nuts] generics draft and specialization

2020-06-21 Thread Jon Reiter
sorry, previous is v unclear as it's assuming a solution to question 1 in clarification on question 2. amended below... On Mon, Jun 22, 2020 at 12:40 PM Jon Reiter wrote: > On Mon, Jun 22, 2020 at 12:00 PM Ian Lance Taylor wrote: > >> On Sat, Jun 20, 2020 at 10:48 PM

Re: [go-nuts] generics draft and specialization

2020-06-21 Thread Jon Reiter
On Mon, Jun 22, 2020 at 12:00 PM Ian Lance Taylor wrote: > On Sat, Jun 20, 2020 at 10:48 PM Jon Reiter wrote: > > > > the draft lays out an example function GeneralAbsDifference. these > comments build around that. i wanted to see how far i could get towards > working

[go-nuts] generics draft and specialization

2020-06-20 Thread Jon Reiter
the draft lays out an example function GeneralAbsDifference. these comments build around that. i wanted to see how far i could get towards working specialization within this framework. the baseline assumption is that when specialization is required today the acceptable amount of type switching/a

Re: [go-nuts] political fundraising on golang.org!

2020-06-15 Thread Jon Reiter
golang-nuts@googlegroups.com> wrote: > >> On Mon, Jun 15, 2020 at 1:04 PM Jon Reiter wrote: >> >>> Ok. I live in Singapore. Here is a statement from the Singapore Police >>> Force directly telling foreigners not to advocate for political causes or >>> ri

Re: [go-nuts] political fundraising on golang.org!

2020-06-15 Thread Jon Reiter
things happening. I do not think it is fair to equate this to orcs and wizards. On Mon, Jun 15, 2020 at 6:55 PM Axel Wagner wrote: > On Mon, Jun 15, 2020 at 11:56 AM Jon Reiter wrote: > >> It's not difficult to imagine banners like "free (some geographic place)" >&

Re: [go-nuts] political fundraising on golang.org!

2020-06-15 Thread Jon Reiter
the least of your worries. > > Also telling that you seem to explicitly call out the Go code of conduct > as not "impacting the entire community"? Surely I misunderstood that. Just > pointing that out to make clear that "it impacts the entire community" is > pretty muc

Re: [go-nuts] political fundraising on golang.org!

2020-06-15 Thread Jon Reiter
y is violating them. NBut just because it's laws > I make wild claims about doesn't actually make the problems I talk about > real. > > On Mon, Jun 15, 2020 at 10:33 AM Jon Reiter wrote: > >> I'm sorry, I think this trivializes real concerns that impact a >> si

Re: [go-nuts] political fundraising on golang.org!

2020-06-14 Thread Jon Reiter
Except now sharing links to golang.org, or showing those web pages at events, could be argued as advocating for a foreign political cause. And that's illegal in much of the world. Per google, google operates in 219 countries. This could force community members to argue in any of at least 219 leg