Re: [go-nuts] How to use packages and modules with git repositories on private servers

2020-12-10 Thread Paul Jolly
We created a guide that looks to introduce this topic as part of the Play with Go launch a couple of weeks ago: https://play-with-go.dev/working-with-private-modules_go115_en/ I'd certainly be interested in any feedback you have on that guide, given the detailed response you wrote. Thanks On We

Re: [go-nuts] Halting Problem

2020-12-10 Thread 'Axel Wagner' via golang-nuts
I don't really understand what you are trying to say. The halting problem (there is one, it's not a property of programs) is to write a program that can detect if an arbitrary other program halts for a given input. If you can only determine if a certain class of programs (and/or only on certain inp

[go-nuts] Halting Problem

2020-12-10 Thread Tambet Väli
Isn't this kind of a solution to a Halting Problem, if code is able to detect another, which has the same kind of halting problem? For example: func Halting(a, iterate bool) { if iterate { atrue, afalse bool atrue = Halting(true, false) afalse = Halting(false, false) } For a {

Re: [go-nuts] Production Support

2020-12-10 Thread Rohit Tambe
Sounds good, can you share more details of the project? Thanks On Thu, Dec 10, 2020, 4:46 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 looking for

Re: [go-nuts] In Go the type size of 1 byte can reach 1 kilobyte, even 1 terabyte or much more.

2020-12-10 Thread Marvin Renich
* Christian Maurer [201210 07:37]: > > // Proof: Set n to a number >= 39 in the following program: > > func main() { > const ( > b = byte(0xc0) > n = 9 > ) > s := []string{string(b)} > for i := 0; i < n; i++ { > s = append(s, []string{""}...) > } > for i := 0; i < n; i++

[go-nuts] In Go the type size of 1 byte can reach 1 kilobyte, even 1 terabyte or much more.

2020-12-10 Thread Christian Maurer
// Proof: Set n to a number >= 39 in the following program: func main() { const ( b = byte(0xc0) n = 9 ) s := []string{string(b)} for i := 0; i < n; i++ { s = append(s, []string{""}...) } for i := 0; i < n; i++ { for j := 0; j < len(s[i]); j++ { s[i+1] += string(