Re: [go-nuts] Go beginner asks for code review

2016-09-22 Thread Diego Medina
Hi, First, awesome that you started using Go! some thoughts inline: > 1. The sbxs_ prefix is there just because I expect this package to be part > of a set of related repositories and I wanted to give them some "unity" > through naming. Arguably a bad idea, I am not sure about it. > I have

Re: [go-nuts] WebP encoder

2016-09-22 Thread Nigel Tao
On Fri, Sep 23, 2016 at 4:18 AM, Aarti Parikh wrote: > Is webp encoding in pure go something that may happen in a future release? I'd like to see that, but I have higher priority things to work on. -- You received this message because you are subscribed to the Google

Re: [go-nuts] Go beginner asks for code review

2016-09-22 Thread 'Chris Manghane' via golang-nuts
On Thu, Sep 22, 2016 at 3:31 PM, Leandro Motta Barros wrote: > Hi Sam, > > Looks like your response got truncated. :-/ > > Anyway, there is a good deal of nice tips, there. I am updating my code to > take your feedback into account. Thanks a lot! > > There is one point I

[go-nuts] Re: truncate float32 to lesser precision (22 bit mantissa)

2016-09-22 Thread xiiophen
On Thursday, 22 September 2016 19:43:35 UTC+1, Jamie Clarkson wrote: > > Sure, as you say for your use case it might be best for you, and you might > need different information from the test anyway. Usually in a fast ray > tracer you'd pre-calculate the inverse of the direction components

Re: [go-nuts] Go beginner asks for code review

2016-09-22 Thread Leandro Motta Barros
Hi Sam, Looks like your response got truncated. :-/ Anyway, there is a good deal of nice tips, there. I am updating my code to take your feedback into account. Thanks a lot! There is one point I still wondering about, however: On Thu, Sep 22, 2016 at 1:57 PM, Sam Whited

Re: [go-nuts] TCP Client can't dial to server on localhost: network is unreachable.

2016-09-22 Thread 'Константин Иванов' via golang-nuts
Curse. I sprinkle ashes upon my head. That was a stupid mistake. Yeah, 127.0.0.1 works fine. Thank you четверг, 22 сентября 2016 г., 22:29:15 UTC+3 пользователь bradfitz написал: > > Use 127.0.0.1, not 127.0.0.0 > > The playground's net implementation is a toy and not very accurate. > > > On

[go-nuts] Re: TCP Client can't dial to server on localhost: network is unreachable.

2016-09-22 Thread 'Константин Иванов' via golang-nuts
uname -a Linux hpg6 4.4.0-38-generic #57-Ubuntu SMP Tue Sep 6 15:42:33 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux -- 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

[go-nuts] Re: Request for advice: Developing for Android

2016-09-22 Thread Elias Naur
On Thursday, September 22, 2016 at 6:35:13 PM UTC+2, Peter Kleiweg wrote: > > > > Op donderdag 22 september 2016 18:28:43 UTC+2 schreef Peter Kleiweg: >> >> Op donderdag 22 september 2016 18:08:10 UTC+2 schreef Elias Naur: >>> >>> >>> >>> On Thursday, September 22, 2016 at 5:34:24 PM UTC+2,

[go-nuts] TCP Client can't dial to server on localhost: network is unreachable.

2016-09-22 Thread 'Константин Иванов' via golang-nuts
Related to net package. Code works fine on playground: https://play.golang.org/p/1fCIZzaUIT But on local machine I've got (every time) 2016/09/22 20:37:30 listening on: 127.0.0.0:44327 2016/09/22 20:37:30 dialing 2016/09/22 20:37:30 dial error: dial tcp 127.0.0.0:44327: connect: network is

[go-nuts] Re: telling apart errors returned by database/sql

2016-09-22 Thread edmund . troche
This is what I expected to see and it is dissapointing to see it is not how it is implemented even 3 years after your post. On Tuesday, June 11, 2013 at 7:29:45 PM UTC-5, John Nagle wrote: > >There's a standardized set of SQLSTATE codes for SQL > systems. Postgres and IBM DB2 use them

Re: [go-nuts] Go beginner asks for code review

2016-09-22 Thread Sam Whited
On Thu, Sep 22, 2016 at 10:48 AM, Leandro Motta Barros wrote: > I wonder if anyone would be willing to take a look at it, and give some > advice on how to be more idiomatic or improve it somehow. Not sure how to do this on GitHub if it's not a PR, I don't appear to be able

Re: [go-nuts] Go beginner asks for code review

2016-09-22 Thread Sam Whited
On Thu, Sep 22, 2016 at 10:48 AM, Leandro Motta Barros wrote: > I hope this is not considered off-topic: I have started learning Go a few > weeks ago, and have recently finished writing my first sizable piece of Go > code. Not at all; welcome to the Go community, and

[go-nuts] Re: Request for advice: Developing for Android

2016-09-22 Thread Peter Kleiweg
Op donderdag 22 september 2016 18:28:43 UTC+2 schreef Peter Kleiweg: > > Op donderdag 22 september 2016 18:08:10 UTC+2 schreef Elias Naur: >> >> >> >> On Thursday, September 22, 2016 at 5:34:24 PM UTC+2, Peter Kleiweg wrote: >>> >>> I try the examples on https://github.com/golang/go/wiki/Mobile

[go-nuts] Re: Request for advice: Developing for Android

2016-09-22 Thread Peter Kleiweg
Op donderdag 22 september 2016 18:08:10 UTC+2 schreef Elias Naur: > > > > On Thursday, September 22, 2016 at 5:34:24 PM UTC+2, Peter Kleiweg wrote: >> >> I try the examples on https://github.com/golang/go/wiki/Mobile >> >> Native applications -> Building and deploying to Android works fine. >> >>

[go-nuts] Re: Request for advice: Developing for Android

2016-09-22 Thread Elias Naur
On Thursday, September 22, 2016 at 5:34:24 PM UTC+2, Peter Kleiweg wrote: > > I try the examples on https://github.com/golang/go/wiki/Mobile > > Native applications -> Building and deploying to Android works fine. > > On "SDK applications and generating bindings" I get into problems. > > It

[go-nuts] Go beginner asks for code review

2016-09-22 Thread Leandro Motta Barros
Hello, I hope this is not considered off-topic: I have started learning Go a few weeks ago, and have recently finished writing my first sizable piece of Go code. I wonder if anyone would be willing to take a look at it, and give some advice on how to be more idiomatic or improve it somehow. Any

Re: [go-nuts] Wordbreak and word extraction in Go?

2016-09-22 Thread mpvl
Hi Ingo, Thanks for your interest in x/text! Text segmentation is high on the priority list for x/text, but not yet implemented. Indeed, x/text/cases implements a (close) approximation of Annex #29 optimized for title casing, but it is not the full thing. For now, if your main interest is word

[go-nuts] Re: Request for advice: Developing for Android

2016-09-22 Thread Peter Kleiweg
I try the examples on https://github.com/golang/go/wiki/Mobile Native applications -> Building and deploying to Android works fine. On "SDK applications and generating bindings" I get into problems. It says: go get -d golang.org/x/mobile/example/bind/... I get: warning:

[go-nuts] TradeRev is hosting free 3-day GoLang Training Session for Toronto Developers

2016-09-22 Thread Stella Karami
TradeRev, a revolutionary vehicle appraisal and auctioning app, is inviting you to a FREE 3-day GoLang training session from October 12th to the 14th. Interested applicants can apply here

[go-nuts] Several issues on macOS Sierra

2016-09-22 Thread martin
Hello, Since upgrading to macOS Sierra, I've stumbled upon a few issues that were not present when using OSX El Capitan. All issues arise when using this package https://github.com/jteeuwen/go-bindata however from my cursory glance there's nothing specific about that code that seems

[go-nuts] bitcoin golang

2016-09-22 Thread Anonymous
Bonjour je voudrais savoir si le code directory.io serait modifiable pour n'afficher que des adresses commençant par 1LE ? -- 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