Re: [go-nuts] Reaching infinity

2016-11-17 Thread Nikita Loskutov
6, 2016 at 11:24 PM >> *To: *golang-nuts >> *Cc: *, >> *Subject: *Re: [go-nuts] Reaching infinity >> >> >> >> @*Michael Jones *I think nothing will changed in case of >> fmt.Println(math.Inf(0)) >> or defer, because it never triggered. >&g

Re: [go-nuts] Reaching infinity

2016-11-17 Thread Nikita Loskutov
> > > > *From: *Nikita Loskutov > > *Date: *Wednesday, November 16, 2016 at 11:24 PM > *To: *golang-nuts > > *Cc: *>, > > > *Subject: *Re: [go-nuts] Reaching infinity > > > > @*Michael Jones *I think nothing will changed in case of > fmt.Pri

Re: [go-nuts] Reaching infinity

2016-11-17 Thread Michael Jones
Yes…that’s the point….an infinite defer that would have printed infinity From: Nikita Loskutov Date: Wednesday, November 16, 2016 at 11:24 PM To: golang-nuts Cc: , Subject: Re: [go-nuts] Reaching infinity @Michael Jones I think nothing will changed in case of fmt.Println(math.Inf(0

Re: [go-nuts] Reaching infinity

2016-11-17 Thread Nikita Loskutov
Yes, it unused now, i removed it, thank you. четверг, 17 ноября 2016 г., 13:46:46 UTC+4 пользователь Val написал: > > os.Args[1:]... looks unused, I would remove it for sake of conciseness. > > -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To

Re: [go-nuts] Reaching infinity

2016-11-17 Thread Val
os.Args[1:]... looks unused, I would remove it for sake of conciseness. -- 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 golang-nuts+unsubscr...@googlegroups.com.

Re: [go-nuts] Reaching infinity

2016-11-16 Thread Nikita Loskutov
@Pietro Gagliardi (andlabs) Oh, thank you, I fixed it. @Michael Jones I think nothing will changed in case of fmt.Println(math.Inf(0)) or defer, because it never triggered. @kortschak I'll think about it :) Any ideas how to improve "infinity depth"? четверг, 17 ноября 2016 г., 2:22:02 UTC+4 п

Re: [go-nuts] Reaching infinity

2016-11-16 Thread Dan Kortschak
Rename it buzz_lightyear.go On Wed, 2016-11-16 at 13:58 -0800, Nikita Loskutov wrote: > Is anybody know how to increase "infinities count"? -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails

Re: [go-nuts] Reaching infinity

2016-11-16 Thread Michael Jones
Oh, and you could defer something at the start of main…that will wait forever to execute since the for loop never returns. From: Pietro Gagliardi Date: Wednesday, November 16, 2016 at 2:21 PM To: Michael Jones Cc: Nikita Loskutov , golang-nuts Subject: Re: [go-nuts] Reaching infinity

Re: [go-nuts] Reaching infinity

2016-11-16 Thread Pietro Gagliardi
Run() waits for the process to exit, so in reality only the third thing there is ever run. Use Start() instead. select{} blocks forever. > On Nov 16, 2016, at 5:15 PM, Michael Jones wrote: > > After your for loop, you could add: > > fmt.Println(math.Inf(0)) > > > From: on behalf of Niki

Re: [go-nuts] Reaching infinity

2016-11-16 Thread Michael Jones
After your for loop, you could add: fmt.Println(math.Inf(0)) From: on behalf of Nikita Loskutov Date: Wednesday, November 16, 2016 at 1:58 PM To: golang-nuts Subject: [go-nuts] Reaching infinity Hello! I've wrote this small code snippet in STRICTLY ACADEMIC PURPOSE, see comments