[go-nuts] Re: golang too many json unmarshal trigger gc frequency to many

2016-10-27 Thread Erik Dubbelboer
Try https://github.com/pquerna/ffjson to improve speed and reduce garbage generation. This in combination with sync.Pool will increase your throughput by A LOT. On Thursday, October 27, 2016 at 10:29:01 AM UTC+8, 刘桂祥 wrote: > > > In my server many requests need to handle a loop to unm

Re: [go-nuts] Re: Stopping a server

2016-10-27 Thread Peter Mogensen
On 2016-10-27 22:50, Nick Patavalis wrote: Yes, this would work, as demonstrated by your example, which is correct. But this further complicates the semantics and the interface. Now you also need a way to wait for the server to become running. In effect, you need something like a WaitStart() me

[go-nuts] Re: Stalking people online for thought crimes! This is what the Go project has succumbed to!

2016-10-27 Thread prades . marq
Sure you willfully participate on a forum often used for insults, character assassination, witch hunts and doxxing. This isn't the first time shit like this happens on /r/golang , and frankly it gives the whole Go community a bad name. Keep being embarrassed "on my behalf", Who the hell do you t

Re: [go-nuts] Stalking people online for thought crimes! This is what the Go project has succumbed to!

2016-10-27 Thread prades . marq
> The actions of the Iris author are, in my opinion, pretty awful. But the only people that can take action against them are the people whose code he stole. This is completely irrelevant IMHO. Why are these witch hunts allowed in a go forum ? I'm not talking about the author of this thread who

Re: [go-nuts] Re: Stalking people online for thought crimes! This is what the Go project has succumbed to!

2016-10-27 Thread Reto Brunner
At the CoC team, You do realize that reddit is not actually yours to govern yes? Reddit is being reddit... everywhere you can just post "anomalously" the atmosphere is rather more, well, outspoken than on a public mailing list. Why don't you just deal with it and accept that there are other menta

[go-nuts] Re: Stalking people online for thought crimes! This is what the Go project has succumbed to!

2016-10-27 Thread admin
The golang subreddit is infinitely more useful and accessible than most golang resource sites and this mailing list. Shutting it down should not be considered (notice how nobody is responding postively to your idea? (that's how you know it is bad)). I'm embarrassed on your behalf that you even

[go-nuts] Re: How can I debug using GDB on IntelliJ IDEA.

2016-10-27 Thread originuk
I hate to say it, but debugging Golang sucks. I've tried Delve and GDB with the IntelliJ Go plugin on a Mac... and I am truly disappointed. I like Golang as a language - it ticks loads of boxes, yet it's frustrating to effectively debug / step through code at quick pace - the debugger goes

[go-nuts] Re: Go interface

2016-10-27 Thread Henry
Hi, I usually use the following pattern when creating a type. In your case, it would be as follows: interface Animal { Eat() Travel() } interface Mammal { Animal NoOfLegs() int } //Note this is unexported struct mammalImpl { //implementation here } //Mammal constructor. This will no

Re: [go-nuts] Re: Float32 math and slice arithmetics using SIMD

2016-10-27 Thread Erwin Driessens
I'd love to see SIMD intrinsics in the Go compiler(s), even if it would mean separate packages for all the architectures. I'm not experienced enough to tell how far one could get with designing a cross-platform set of intrinsics instructions? Using the hardware when it is available, falling bac

Re: [go-nuts] Re: Float32 math and slice arithmetics using SIMD

2016-10-27 Thread Nigel Tao
On Thu, Oct 27, 2016 at 9:24 AM, 'simon place' via golang-nuts wrote: > the approach i took was to try to minimise the M/C, so; Sorry for the ignorant question, but what does M/C stand for? -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To uns

Re: [go-nuts] Re: Float32 math and slice arithmetics using SIMD

2016-10-27 Thread Nigel Tao
On Fri, Oct 28, 2016 at 6:54 AM, 'simon place' via golang-nuts wrote: > however, from looking at it, couldn’t find documentation, that code is > specific to speeding up graphics overlays? maybe? (accumulate) Yes, speeding up an accumulation step, described at https://medium.com/@raphlinus/inside-

Re: [go-nuts] Re: iconvg: a compact, binary format for simple vector graphics

2016-10-27 Thread Nigel Tao
On Wed, Oct 26, 2016 at 4:38 PM, Nigel Tao wrote: > SVGZ is indeed smaller, and more expensive to decode, but I don't have > numbers at hand. Oh, I do have a size number. It's only one data point, but look for "gzip" at https://godoc.org/golang.org/x/exp/shiny/iconvg -- You received this messag

Re: [go-nuts] Re: Stalking people online for thought crimes! This is what the Go project has succumbed to!

2016-10-27 Thread Daniel Skinner
The email was presumptuous, so as to describe "more productive", and threatening with "consider this a warning". It also felt cold and unwelcoming like a bot generated it. I do not advocate this CoC at all, but at the very least the email could have stuck to what was known to start a private conve

Re: [go-nuts] HTTP2 Runtime panic while Migrating an Application from Go 1.4.1 to 1.6.2

2016-10-27 Thread Brad Fitzpatrick
That isn't an http2 panic. That's just the http2 code recovering your Handler's panic and printing it, the same as the http1 server does. Your panic is actually somewhere in: lib.setupC5Tab(0x7f6fbe169d20, 0xc8201b0d20, 0xc820436d98, 0x7f6fbe169d20, 0xc8201b0dc0, 0x7f6fbe16a2a8, 0xc820339e60, 0x7

Re: [go-nuts] Re: Stopping a server

2016-10-27 Thread Nick Patavalis
On Thu, Oct 27, 2016 at 11:11 PM, Peter Mogensen wrote: > > The problem you seem to be trying to solve here is for the caller of > Shutdown() to know when the Server has exited Serve(). > The way to do that under "my" semantics to implement a Server letting you > wait for it to be ready to acknowl

[go-nuts] Re: HTTP2 Runtime panic while Migrating an Application from Go 1.4.1 to 1.6.2

2016-10-27 Thread András Belicza
Latest version of Gowut is 1.1.2. Is the problem persist with Gowut 1.1.2? On Thursday, October 6, 2016 at 12:29:34 PM UTC+2, Nigel Vickers wrote: > > We are migrating an application from go 1.4.1 to 1.6.2. The application > uses a modified Gowut 0.9 as the framework and initially moved without

Re: [go-nuts] Re: Stalking people online for thought crimes! This is what the Go project has succumbed to!

2016-10-27 Thread Andrew Gerrand
On 28 October 2016 at 03:53, mjy wrote: > It's partly a cultural thing, I suppose. Some people consider the e-mail > bland, others (like me) threatening. Someone should educate the CoC crew > about these cultural, perhaps personality differences so they can improve > their tone to avoid unnecessa

Re: [go-nuts] Re: Stopping a server

2016-10-27 Thread Peter Mogensen
On 2016-10-27 21:34, Nick Patavalis wrote: These is no way to (positively) know when the server will enter the "running state". Think of this sequence: go func () { err := srv.Serve() // or .Start() srvEnd <- err } ... a short time after ... srv.Stop() // Ser

Re: [go-nuts] Re: Float32 math and slice arithmetics using SIMD

2016-10-27 Thread 'simon place' via golang-nuts
> Something like that? short answer, Yes. however, from looking at it, couldn’t find documentation, that code is specific to speeding up graphics overlays? maybe? (accumulate) but it’s confusing me that its using templates, when there seems to only be one template. i was thinking of one, ve

Re: [go-nuts] Re: Stopping a server

2016-10-27 Thread Nick Patavalis
Hi, On Thu, Oct 27, 2016 at 9:34 PM, Peter Mogensen wrote: > > Technically that depends on the Server implementation. > But in the provided http.Server extension, the answer is "nothing": > > func (srv *Server) Shutdown() { > srv.runlock.Lock() > defer srv.runlock.Unlock() >

Re: [go-nuts] Re: Stopping a server

2016-10-27 Thread Peter Mogensen
On 2016-10-27 19:32, Nick Patavalis wrote: type Server interface { Serve() error // start serving and block until exit Shutdown()// async req. to shutdown, must not block } The "subtle races" I was talking about: What happens if you call "Shutdown()" before you call Serve

Re: [go-nuts] Re: Go interface

2016-10-27 Thread Rob Pike
Cleaner and a little more explicit, making it more obvious what's being asserted (although a comment would be welcome): var _ Animal = MammalInt(nil) // if pointer var _ Animal = MammalInt{} // if just a struct On Thu, Oct 27, 2016 at 10:08 AM, Tamás Gulácsi wrote: > It's very easy to ensure s

[go-nuts] Re: [golang-dev] Re: Stalking people online for thought crimes! This is what the Go project has succumbed to!

2016-10-27 Thread Russ Cox
+golang-nuts bcc golang-dev On Thu, Oct 27, 2016 at 1:30 PM Ugorji wrote: > I understand the sentiment, and why someone might choose to report this. > But I agree with Aram that the response was very heavy-handed and > threatening, especially for what is a very minor and border-line subjective >

[go-nuts] Re: Stopping a server

2016-10-27 Thread Nick Patavalis
On Thursday, October 27, 2016 at 6:35:40 PM UTC+3, Peter Mogensen wrote: > > It's a valid question whether Context is the concept to use for starting > and stopping server instances. ... I'm not fully convinced. It seems to > me it's more meaningfull for more transient things like Requests. On Thu

[go-nuts] Suggestion: port golang.org/x/mobile/exp/audio/al to Windows

2016-10-27 Thread faiface2202
Hi there, recently I posted a question in this group asking why golang.org/x/mobile/exp/audio/al doesn't support Windows. I've got one answer, saying something like: "it belongs to golang.org/x/mobile, so that's why". However, *there is no single satisfying multiplatform audio library for Go*,

[go-nuts] Re: Stopping a server

2016-10-27 Thread Diego Medina
As a user of a package, if I "start it" by calling Start(), I will most likely look for a "Stop()" function but calling cancel on the context wouldn't feel natural because I'm not canceling the server, I would be done with it and don't need it any more). Regards, On Thursday, October 27, 2016

Re: [go-nuts] Tooling experience feedback

2016-10-27 Thread Edward Muller
We have so many Makefiles that encode $(go list ./... | grep -v vendor) in one way or another it IS kind of funny. A `novendor` flag of some sort to most tools that take package specs would be so so so so nice. On Thu, Oct 27, 2016 at 8:56 AM Russ Cox wrote: > FWIW 'go help all' is essentially '

[go-nuts] Is ROC part of 1.8?

2016-10-27 Thread Chandru
Is the request-oriented GC slated to be included in the 1.8 release? -- Chandra Sekar.S -- 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...@g

[go-nuts] Re: Go interface

2016-10-27 Thread Tamás Gulácsi
It's very easy to ensure sth implements an interface: ``` var _ = Animal(MammalInt(nil)) // if pointer var _ = Animal(MammalInt{}) // if just a struct ``` 2016. október 27., csütörtök 9:11:04 UTC+2 időpontban Arafath M a következőt írta: > > Hi, > > Using interface is easy in Go. But, while stud

[go-nuts] Re: golang too many json unmarshal trigger gc frequency to many

2016-10-27 Thread Tamás Gulácsi
If you can't avoid generating garbage, then at least try to reuse it! That's what sync.Pool is for (don't make the map, reuse one). Can't you read the Redis reply by chunks? 2016. október 27., csütörtök 4:29:01 UTC+2 időpontban 刘桂祥 a következőt írta: > > > In my server many requests ne

[go-nuts] Re: Stalking people online for thought crimes! This is what the Go project has succumbed to!

2016-10-27 Thread mjy
Am Donnerstag, 27. Oktober 2016 18:11:16 UTC+2 schrieb Nate Finch: > > It seems like most of the problem with this whole situation comes from the > wording of the "warning" > > Please consider this a warning from the Code of Conduct working group. >> > > "consider this a warning" can be interpr

Re: [go-nuts] Re: Stalking people online for thought crimes! This is what the Go project has succumbed to!

2016-10-27 Thread Henrik Johansson
To me the wording with a warning in it sounds extremely harsh. Adding any number of pleases only makes it worse. I still think this should not have been acted upon at all. What sort of de facto empirical outcome has there been previously? Are there any previous incidents that have not gone public?

[go-nuts] Re: Why does a "concurrent" Go GC phase appear to be stop-the-world?

2016-10-27 Thread Dave Cheney
Thanks for confirming that CL 23540 has reduced STW delays. On Friday, 28 October 2016 03:52:29 UTC+11, Will Sewell wrote: > > Are you referring to https://go-review.googlesource.com/#/c/23540/ or > https://github.com/golang/go/issues/16528? If it's the former, then yes I > have tried the benchm

[go-nuts] Re: Why does a "concurrent" Go GC phase appear to be stop-the-world?

2016-10-27 Thread Will Sewell
Are you referring to https://go-review.googlesource.com/#/c/23540/ or https://github.com/golang/go/issues/16528? If it's the former, then yes I have tried the benchmark with the HEAD version on master of the compiler, and it did bring the pause down to ~7.7ms. I was under the impression the lat

Re: [go-nuts] iconvg: a compact, binary format for simple vector graphics

2016-10-27 Thread Pietro Gagliardi
Ah, I see; that also explains the funny "Bogus doctype." message Firefox gives me in the view-source view. > On Oct 27, 2016, at 12:35 PM, roger peppe wrote: > > The URIs without which you can't know which elements and attributes are part of > the SVG spec. > > > On 27 Oct 2016 17:51, "Pietr

Re: [go-nuts] iconvg: a compact, binary format for simple vector graphics

2016-10-27 Thread roger peppe
The wrote: > What part of the document are you referring to? > > On Oct 27, 2016, at 11:42 AM, roger peppe wrote: > > > > On 26 October 2016 at 23:50, Nigel Tao wrote: > >> On Wed, Oct 26, 2016 at 7:20 PM, roger peppe > wrote: > >>> This cannot be understated. A well known tool generates SVGs

Re: [go-nuts] Re: Stalking people online for thought crimes! This is what the Go project has succumbed to!

2016-10-27 Thread Russ Cox
On Thu, Oct 27, 2016 at 12:07 PM Pietro Gagliardi wrote: > Did golang-dev stop sending emails? I haven't received anything since > October 16. Or should I contact Google Groups support and/or my email > provider? > golang-dev is still active. I'll look into your subscription and mail you off lis

[go-nuts] Re: [golang-dev] Re: Stalking people online for thought crimes! This is what the Go project has succumbed to!

2016-10-27 Thread Sarah Adams
You are right. I typed that from memory. I should have double-checked the exact wording before posting. Feel free to reach out if you have any questions or concerns. was the exact line. On Thursday, October 27, 2016 at 9:05:21 AM UTC-7, Russ Cox wrote: > > +golang-nuts bcc golang-dev > > On Thu

Re: [go-nuts] Re: Stalking people online for thought crimes! This is what the Go project has succumbed to!

2016-10-27 Thread Jordan Krage
| I can vouch for this. It's especially embarrassing when you first mention it to them privately and resolve the issue, and then go ahead and mention it in the meeting anyway, or use it as an excuse for new policies set in that meeting. There is one particular space I left because of this, but I

[go-nuts] Re: Stalking people online for thought crimes! This is what the Go project has succumbed to!

2016-10-27 Thread Nate Finch
It seems like most of the problem with this whole situation comes from the wording of the "warning" Please consider this a warning from the Code of Conduct working group. > "consider this a warning" can be interpreted as a threat (though the "Please" in front should soften it somewhat). I d

Re: [go-nuts] Re: Stalking people online for thought crimes! This is what the Go project has succumbed to!

2016-10-27 Thread Pietro Gagliardi
> On Oct 27, 2016, at 11:49 AM, Andrew Gerrand wrote: > > I have done this before, and it has not gone well. People feel humiliated > when called out publicly. > > Imagine this happened in a workplace. Do you bring it up at the team meeting? > Or take them aside and mention it to them in pri

[go-nuts] Re: [golang-dev] Re: Stalking people online for thought crimes! This is what the Go project has succumbed to!

2016-10-27 Thread Sarah Adams
You are right. I typed that from memory. I should have double-checked the exact wording before posting. Feel free to reach out if you have any questions or concerns. was the exact line. On Thu, Oct 27, 2016 at 9:04 AM, Russ Cox wrote: > +golang-nuts bcc golang-dev > > On Thu, Oct 27, 2016 at 1

[go-nuts] Re: [golang-dev] Re: Stalking people online for thought crimes! This is what the Go project has succumbed to!

2016-10-27 Thread Russ Cox
+golang-nuts bcc golang-dev On Thu, Oct 27, 2016 at 11:58 AM Aram Hăvărneanu wrote: > On Thu, Oct 27, 2016 at 5:36 PM, wrote: > > I do want to emphasize the last line of the email we sent, which does not > > appear in your post here: > > > > Please feel free to reach out if you have any ques

[go-nuts] Slice of String in Postgres

2016-10-27 Thread Kedarnag Mukanahallipatna
Hello Everyone. I am facing a situation, where I would like to store a slice of string that is coming from Request Body to be stored under 1 column. Here is the Request - {"start_location":"source", "routes": ["location1", "location2", "location3"], "end_location":"destination", "user_id":1}

Re: [go-nuts] Re: Stalking people online for thought crimes! This is what the Go project has succumbed to!

2016-10-27 Thread Jordan Krage
| People feel humiliated when called out publicly. The terminology 'called out' is a mischaracterization of what I am suggesting. | Imagine this happened in a workplace. Do you bring it up at the team meeting? Or take them aside and mention it to them in private? IMHO this is not an appropriate

Re: [go-nuts] Tooling experience feedback

2016-10-27 Thread Russ Cox
FWIW 'go help all' is essentially 'go doc go'. On Fri, Oct 21, 2016 at 9:46 AM Mathieu Lonjaret wrote: > As you said, sometimes one is not sure in which X for "go help X" one > might find the information they're looking for. So one can end up > trying several of them before finding the relevant

[go-nuts] Re: [golang-dev] Stalking people online for thought crimes! This is what the Go project has succumbed to!

2016-10-27 Thread Russ Cox
I didn't realize that Aram's original message was sent to both golang-dev and golang-nuts. My reply earlier today (quoted below) only went to golang-dev but is important to have on golang-nuts too. I am sending this message to golang-nuts bcc golang-dev in an attempt to unify the two discussions i

Re: [go-nuts] iconvg: a compact, binary format for simple vector graphics

2016-10-27 Thread Pietro Gagliardi
What part of the document are you referring to? > On Oct 27, 2016, at 11:42 AM, roger peppe wrote: > > On 26 October 2016 at 23:50, Nigel Tao wrote: >> On Wed, Oct 26, 2016 at 7:20 PM, roger peppe wrote: >>> This cannot be understated. A well known tool generates SVGs that the >>> Go XML parser

Re: [go-nuts] Re: Stalking people online for thought crimes! This is what the Go project has succumbed to!

2016-10-27 Thread Andrew Gerrand
On 28 October 2016 at 02:24, Jordan Krage wrote: > Perhaps I was too broad in saying 'entirely public and transparent'. I > did not mean to suggest that *reporters* should be made public. > > That being said, I don't agree that a moderator post pointing out > violations is a form of shaming (if

Re: [go-nuts] Stalking people online for thought crimes! This is what the Go project has succumbed to!

2016-10-27 Thread Andrew Gerrand
Hi Aram, I am sorry this has caused you such distress. As has been pointed out by others, your comment did not appear to be directed at the Iris author, but rather at dlsniper, the author of the blog post. He even replied to you apologizing for his English skills, and you did nothing to correct h

[go-nuts] Re: Stalking people online for thought crimes! This is what the Go project has succumbed to!

2016-10-27 Thread Nigel Vickers
Hallo Aram, I have checked both of the Projects and the issue lists and as far as I can see you have not been involved in previous discussions or involved in either of the projects involved. I have checked the previous reddit and parts of the discussion which are indeed not intelligible. As suc

Re: [go-nuts] Re: iconvg: a compact, binary format for simple vector graphics

2016-10-27 Thread roger peppe
On 26 October 2016 at 23:50, Nigel Tao wrote: > On Wed, Oct 26, 2016 at 7:20 PM, roger peppe wrote: >> This cannot be understated. A well known tool generates SVGs that the >> Go XML parser cannot parse because it uses XML directives to create XML >> entities that contain XML elements when they'r

[go-nuts] Re: Stalking people online for thought crimes! This is what the Go project has succumbed to!

2016-10-27 Thread Sarah Adams
I apologize for making you feel threatened or insulted in any way. I do want to emphasize the last line of the email we sent, which does not appear in your post here: Please feel free to reach out if you have any questions or concerns. We welcome pushback on any decision or response. We are op

Re: [go-nuts] Stopping a server

2016-10-27 Thread Peter Mogensen
On 2016-10-27 16:11, Nick Patavalis wrote: I konw that, functionally, this will work. My question is: Does this look like a "reasonable" / "idiomatic" use of contexts? Or will it look "alien" to the user? I'm asking since the documentation of "context" mentions it being used for "request-scope

[go-nuts] Re: Stalking people online for thought crimes! This is what the Go project has succumbed to!

2016-10-27 Thread charraster
code of conduct workers should work on adding generics to compilers -- 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. For

[go-nuts] Re: Stalking people online for thought crimes! This is what the Go project has succumbed to!

2016-10-27 Thread Nigel Vickers
Hallo Nate, On Thursday, 27 October 2016 17:10:57 UTC+2, Nate Finch wrote: > > We should know what is a violation by reading the code of conduct. Making > the process public would make it a way to shame people, and also might > discourage people from reporting for fear of reprisal. The intent

[go-nuts] Re: Stalking people online for thought crimes! This is what the Go project has succumbed to!

2016-10-27 Thread Jordan Krage
To expand on "it communicates the point to everyone at once": notice that the original reddit post in question is completely absent of any suggestion of CoC violation. Nobody stumbling into that thread and reading that comment would be aware that it was considered a violation. https://np.reddit

Re: [go-nuts] Re: Stalking people online for thought crimes! This is what the Go project has succumbed to!

2016-10-27 Thread Henrik Johansson
I actually read through the thread and unless everyone in that thread got the same message then I Aram should not have gotten the note. I recognize the potential value of the CoC but it always boils down to opinions. Imho this was a bad call. Bad calls happen and we should be able to get past it a

[go-nuts] Re: Stalking people online for thought crimes! This is what the Go project has succumbed to!

2016-10-27 Thread Jordan Krage
Perhaps I was too broad in saying 'entirely public and transparent'. I did not mean to suggest that *reporters* should be made public. That being said, I don't agree that a moderator post pointing out violations is a form of shaming (if that is what you meant). Additionally, it communicates t

[go-nuts] Re: Stalking people online for thought crimes! This is what the Go project has succumbed to!

2016-10-27 Thread Nate Finch
We should know what is a violation by reading the code of conduct. Making the process public would make it a way to shame people, and also might discourage people from reporting for fear of reprisal. The intent is to inform people when they have said something that others find insulting or un

Re: [go-nuts] Re: Golang should have a center packages index hosting like npm, rust crates

2016-10-27 Thread atd...@gmail.com
On Thursday, October 27, 2016 at 4:41:42 PM UTC+2, Michal Bohuslávek wrote: > > It's not much of a penalisation IMO. It doesn't have to be a large message > in red saying: "The author of this package doesn't use semantic versioning. > Be careful!". I mean the list of versions can only appear if

[go-nuts] Re: Stalking people online for thought crimes! This is what the Go project has succumbed to!

2016-10-27 Thread prades . marq
Frankly /r/golang is so toxic I stopped posting there, it should be either shut down or officially excluded from any official go forum. The code of conduct serves very little purpose given what happens there constantly, People like to target projects, insult their author and call them thieves

[go-nuts] Re: Cross-package CGO and static linking

2016-10-27 Thread pat . sriram
Hey Marvin, Were you able to find any solutions to your problem? I have a similar problem of LDFLAGS not bubbling up through packages -- Here I have pkg A statically links libA pkg B (which imports A) also uses libA. I get a linker error stating multiple definitions of the functions. -Sriram

[go-nuts] CGO: How to link static library across dependent packages?

2016-10-27 Thread pat . sriram
Folks, Two of my packages have dependency on the same C library. I have linked them successfully using the LDFLAGS directives. But I'm facing a multiple definitions error when linking my project executable Here is an overview of my project structure: Pkg A -> depends on LIBA Pkg B (impo

Re: [go-nuts] Re: Golang should have a center packages index hosting like npm, rust crates

2016-10-27 Thread Michal Bohuslávek
It's not much of a penalisation IMO. It doesn't have to be a large message in red saying: "The author of this package doesn't use semantic versioning. Be careful!". I mean the list of versions can only appear if there are some versions. That way it wouldn't penalise a), although I can't come up

[go-nuts] Re: Stalking people online for thought crimes! This is what the Go project has succumbed to!

2016-10-27 Thread Jordan Krage
At the very least, this kind of CoC 'enforcement' should be entirely public and transparent. How are others supposed to learn what is considered a violation, when violators are only contacted privately by email? On Thursday, October 27, 2016 at 6:36:23 AM UTC-5, Aram Hăvărneanu wrote: > > I hav

[go-nuts] Stopping a server

2016-10-27 Thread Nick Patavalis
Hi, I'm writing a package that allows the user to create and start server instances. A server instance is created like this: srv := pkg.NewServer( ... params ... ) and started like this: err := srv.Start() Start does not normally return (unless an unrecoverable error occurs). The user code

[go-nuts] Re: Stalking people online for thought crimes! This is what the Go project has succumbed to!

2016-10-27 Thread omarshariffdontlikeit
In that case, I can see why it would apply there then. (Thats not to say that I agree with the judgement made in this instance at all, in fact I find the whole idea of a Code of Conduct weird). On Thursday, October 27, 2016 at 2:07:10 PM UTC+1, luz...@gmail.com wrote: > > It also applies to the

[go-nuts] Re: Stalking people online for thought crimes! This is what the Go project has succumbed to!

2016-10-27 Thread mjy
Am Donnerstag, 27. Oktober 2016 14:55:03 UTC+2 schrieb omarsharif...@gmail.com: > > I must admit, I always assumed the Go Code of Conduct was something that > was agreed to when participating on this mailing list, not something that > applied outside of the mailing list. Is there really a team

[go-nuts] Re: Stalking people online for thought crimes! This is what the Go project has succumbed to!

2016-10-27 Thread Nigel Vickers
Hallo Aram, If this did happen as you describe then you have every right to be very angry. I also have grave reservations about "Codes of Conduct" and the "kangaroo Courts" that grow up around them. I have tried to build a picture of events using the links you have listed. I am not getting as

[go-nuts] Re: Stalking people online for thought crimes! This is what the Go project has succumbed to!

2016-10-27 Thread luzon83
It also applies to the golang subreddit created and moderated by the same people as the mailing lists. On Thursday, October 27, 2016 at 2:55:03 PM UTC+2, omarsharif...@gmail.com wrote: > > I must admit, I always assumed the Go Code of Conduct was something that > was agreed to when participatin

[go-nuts] Re: Stalking people online for thought crimes! This is what the Go project has succumbed to!

2016-10-27 Thread omarshariffdontlikeit
I must admit, I always assumed the Go Code of Conduct was something that was agreed to when participating on this mailing list, not something that applied outside of the mailing list. Is there really a team of people who's job it is to police the community for infractions against this "code"? C

[go-nuts] Stalking people online for thought crimes! This is what the Go project has succumbed to!

2016-10-27 Thread Aram Hăvărneanu
I have received a very insulting and distressing e-mail from Sarah Adams, who claims to represent the The Go Code of Conduct Team, an illicit bully organization who claims authority about what Go contributors think and say outside the Go mailing lists. I do not recognize this group's legitimacy in

[go-nuts] LookupHost taking up to 5 seconds to resolve localhost

2016-10-27 Thread Peter Waller
Hi Nuts, net.LookupHost is taking a long time (up to 5 seconds) to resolve localhost, where I expect it to be instant. At other times it can take anywhere from 1-100ms, but it seems to reliably return a result shortly after 5 seconds. The details: * I'm doing local development inside a docker co

Re: [go-nuts] Re: Float32 math and slice arithmetics using SIMD

2016-10-27 Thread Seb Binet
Something like that? https://github.com/golang/image/blob/master/vector/gen.go -s sent from my droid On Oct 27, 2016 12:24 AM, "'simon place' via golang-nuts" < golang-nuts@googlegroups.com> wrote: > i was playing with SIMD last year, > > the approach i took was to try to minimise the M/C, so;

Re: [go-nuts] Re: Go interface

2016-10-27 Thread Arafath M
Thanks Volker. It works fine. Below is the example I tried, after doing *go get -u -v golang.org/x/tools/cmd/guru * *Command:* guru implements C:\Go\src\net\http\server.go:#2538 *Result:* C:\Go\src\net\http\server.go:86:6: interface type ResponseWriter C:\Go\sr

[go-nuts] Re: Go interface

2016-10-27 Thread Volker Dobler
There is guru (golang.org/x/tools/cmd/guru) which can answer this question if it really comes up (I rarely feel the need to know all type implementing flag.Getter). V. Am Donnerstag, 27. Oktober 2016 09:11:04 UTC+2 schrieb Arafath M: > > Hi, > > Using interface is easy in Go. But, while studying

[go-nuts] Go interface

2016-10-27 Thread Arafath M
Hi, Using interface is easy in Go. But, while studying an existing code base, it is very difficult to find which types have implementation of a particular interface. The situation will become worse, if there are many interface functions inside an interface definition. In another languages, it is