Re: [go-nuts] BUGFIX-66: Algorithmic Puzzles in Go

2022-11-14 Thread 'Dan Kortschak' via golang-nuts
On Sun, 2022-11-13 at 14:43 -0800, Lawrence Ryan wrote: > So you're suggesting that a user could write code containing a race, > have that code produce, say, a slice with the wrong length (by > interleaving the pointer and length/capacity writes), and then use > that "mixed" slice to compromise the

[go-nuts] Re: Go tour translation workflow

2022-11-14 Thread Kamil Ziemian
Hello, I'm coautor of Polish translation, I can only tell how it looks like from my perspective. "So, after all, what is needed is a link to the deployed Go tour with a new translation, right?" I would need to check that, since the other person take care of it. "However, what is the right way

Re: [go-nuts] Should an IPv4 address input to idna.Registration.ToASCII() return an error or not?

2022-11-14 Thread Kurtis Rader
The idna.Registration.ToASCII function only validates that a domain name can be registered in the sense that it is syntactically valid; not that it makes sense semantically including that the TLD is valid. You can pass it the string "a" and it will return that string without error. Its purpose is t