Re: [go-nuts] Re: [RFC] Yet another proposal for Go2 error handling

2023-06-26 Thread Jan
Thanks for the clarification Robert. In many cases, when building ML models, panicking is fine. But in some, it is not, specially if running some type of server, that will handle different models, or with various shapes of inputs (e.g. images in different sizes and formats, some may lead to une

Re: [go-nuts] Please consider voting to reopen Golang subreddit

2023-06-26 Thread 'drc...@google.com' via golang-nuts
Have you considered moving to another platform, either Lemmy or Kbin? (He says, not having completed his own move of the benchmarking bot to botsin.space). On Saturday, June 24, 2023 at 1:51:10 PM UTC-4 Robert Engels wrote: > I’m fairly certain Reddit will license those tools for moderators use.

[go-nuts] Interface() method of reflect.Value sometimes allocates, sometimes not

2023-06-26 Thread christoph...@gmail.com
I'm implementing a value encoder similar to gob. While bench-marking my code against gob, I noticed some unexpected memory allocations with a particular type of data. See this minimal code example in the go playground https://go.dev/play/p/4rm-kCtD274 There is a simple function foo() receiving

Re: [go-nuts] Please consider voting to reopen Golang subreddit

2023-06-26 Thread Eltjon Metko
Protests like this (temporary) never make sense, they only create inconvinience for users while reddit will just have to ride it out. See tens of others more important (for reddit) subredits who have already opened. So either open it or declare that it will be closed permanetly and moved somewh

Re: [go-nuts] Please consider voting to reopen Golang subreddit

2023-06-26 Thread 'Thomas Bushnell BSG' via golang-nuts
I mean, this is mostly true, except that the protesters do have the right to administer the subreddit in the way they choose, as long as they are the admins. As you said, if you don't like that, you are of course free to use a different site. But it seems a bit off-kilter to say "if you don't like

Re: [go-nuts] Interface() method of reflect.Value sometimes allocates, sometimes not

2023-06-26 Thread Ian Lance Taylor
On Mon, Jun 26, 2023 at 8:28 AM christoph...@gmail.com wrote: > > I'm implementing a value encoder similar to gob. While bench-marking my code > against gob, I noticed some unexpected memory allocations with a particular > type of data. > > See this minimal code example in the go playground > h

Re: [go-nuts] Please consider voting to reopen Golang subreddit

2023-06-26 Thread 'drc...@google.com' via golang-nuts
"Vote with YOUR feet, not MY feet". On Monday, June 26, 2023 at 12:56:12 PM UTC-4 Thomas Bushnell BSG wrote: > I mean, this is mostly true, except that the protesters do have the right > to administer the subreddit in the way they choose, as long as they are the > admins. > > As you said, if yo

Re: [go-nuts] Please consider voting to reopen Golang subreddit

2023-06-26 Thread 'Axel Wagner' via golang-nuts
On Mon, Jun 26, 2023 at 6:53 PM Eltjon Metko wrote: > Protests like this (temporary) never make sense, they only create > inconvinience for users while reddit will just have to ride it out. Note that the common hypothesis is that there is a reason reddit is so urgently pushing through the API c

Re: [go-nuts] Please consider voting to reopen Golang subreddit

2023-06-26 Thread Eltjon Metko
> I find this a strange stance, given that most of the people actually participating in the protest are unpaid volunteers. So I don't see how that can be considered a "commercial dispute", to be honest. The commercial dispute is between Reddit and API Consumers. it has nothing to do with mods o

Re: [go-nuts] Please consider voting to reopen Golang subreddit

2023-06-26 Thread 'Axel Wagner' via golang-nuts
On Tue, Jun 27, 2023 at 12:10 AM Eltjon Metko wrote: > The commercial dispute is between Reddit and API Consumers. it has nothing > to do with mods or the users. > Then why are the mods and users protesting? > No-mater how certain you may be who is in the right and who is in the > wrong, the m