Re: [go-nuts] About the Google logo on the new Go website

2019-07-16 Thread Dan Kortschak
The headline of the group is "Welcome to golang-nuts, a general discussion list for the Go Programming Language." I'd say this is that, a discussion related to the Go Programming Language. On Tue, 2019-07-16 at 11:33 +0200, Wojciech S. Czarnecki wrote: > On Mon, 15 Jul 2019 17:05:40 + >

[go-nuts] Re: About the Google logo on the new Go website

2019-07-16 Thread Anca Emanuel
Mozilla had many projects, including languages for the web. Did they advertise about ? No. They simply take over the world. Microsoft battle ? Nah, now they are behind. Google is relatively new in the market. They take an open source browser engine, work with Apple and others to make some

[go-nuts] Re: About the Google logo on the new Go website

2019-07-16 Thread Anca Emanuel
Mozilla had many projects, including languages for the web. Did they advertise about ? No. They simply take over the world. Microsoft battle ? Nah, now they are behind. Google is relatively new in the market. They take an open source browser engine, work with Apple and others to make some

Re: [go-nuts] About the Google logo on the new Go website

2019-07-16 Thread Wojciech S. Czarnecki
On Mon, 15 Jul 2019 17:05:40 + "Sam Whited" wrote: > This is the place for Go discussion. This is the place for the Go **language and code** related **technical** discussion. > Not everyone in the community has an account on Reddit, or even GitHub > but they likely have an email. It

Re: [go-nuts] possible to set tls.Config.Servername with http.client.Do

2019-07-16 Thread efahale
Hi Andy, thank you for your suggestion. However in my case I am not using the server name in the HTTP request but IP address and the reason for this is that I am scraping metrics using Prometheus from each instance which respond to the server name. Also the

[go-nuts] Re: Prevent a package from being updated using go modules

2019-07-16 Thread 'Bryan Mills' via golang-nuts
This sort of use-case is pretty much exactly what the exclude directive is for. (See https://tip.golang.org/cmd/go/#hdr-The_go_mod_file.) In your go.mod file, add a directive like: exclude github.com/vendor/package v1.3.0 In the meantime, send a PR or file an issue with

[go-nuts] Modules - Issues releasing cron/v3

2019-07-16 Thread robfig
I maintain the github.com/robfig/cron package, and I have just released v3 using Modules via the branch mechanism (so it's on a v3 branch), but I'm having some issues. Here are things that would be ideal: - When people visit github.com/robfig/cron, I would like them to see the v3 version -

Re: [go-nuts] About the Google logo on the new Go website

2019-07-16 Thread Space A.
Lol. You ARE paying Google, every time you buy almost anything in this world. It's like invisible tax. Learn how modern advertisement models works, where the main channels are and think who, at the end, pays for marketing budgets. Think about it when you'll be at the store next time. It is a

Re: [go-nuts] [gollvm] compiling error of libgo/runtime/aeshash.c on ARM

2019-07-16 Thread xiangdong...@gmail.com
Hi Than, Thank you for the prompt reply, my apologies for not being descriptive of the context. Yes, it's a gollvm-compiled program on arm and we just started investigating the ABI part, I'm wondering if any documents about go's internals are available to help understand it and related areas

Re: [go-nuts] Re: About the Google logo on the new Go website

2019-07-16 Thread Space A.
Of course Google is not making money of Go directly, it would be a non-sense. As I said, it's one of the tools they invested in, which helped them in making zillions including building and maintaining infrastructure, cutting the the costs, etc. That's why it is what it is. Even if they just play a

Re: [go-nuts] [gollvm] compiling error of libgo/runtime/aeshash.c on ARM

2019-07-16 Thread xiangdong...@gmail.com
Hi Ian, Could you please share some code pointers or documents about how 'go' functions calling 'c' functions is implemented, I'm looking into the following function at gofrontend/libgo/go/bytes/bytes.go:102, where c-function IndexByte in bytealg.c/bytealg.c:90 is called but with wrong

[go-nuts] Go for Data Science

2019-07-16 Thread Slonik Az
Hi Gophers! I was thinking to start a Go project in the area of Data Science that would allow for convenient and easy concurrent data processing but at the end decided against it mainly because of two reasons: (1) Almost all data science projects start with a data exploratory analysis of some

Re: [go-nuts] [gollvm] compiling error of libgo/runtime/aeshash.c on ARM

2019-07-16 Thread Ian Lance Taylor
On Tue, Jul 16, 2019 at 9:35 AM xiangdong...@gmail.com wrote: > > Thank you for the prompt reply, my apologies for not being descriptive of the > context. > Yes, it's a gollvm-compiled program on arm and we just started investigating > the ABI part, I'm wondering if any documents about go's

Re: [go-nuts] Re: Go for Data Science

2019-07-16 Thread Leo R
Regarding REPL in Go, it is complicated. Currently, lgo seems to be broken as of go-1.12 (and go-1.13), see README.md in their repo https://github.com/yunabe/lgo. Until there is an official REPL blessed by the Go core team and included as part of tools, a random unexpected breakage of REPL is

Re: [go-nuts] Re: About the Google logo on the new Go website

2019-07-16 Thread Dan Kortschak
The ™ thing is likely defensive, to avoid this kind of problem https://www.informationweek.com/google-go-name-brings-accusations-of-evil/d/d-id/1084786 Here is the USPTO record: http://tmsearch.uspto.gov/bin/showfield?f=doc=4805:l86u0m.6.2 On Wed, 2019-07-17 at 01:13 +0300, Space A. wrote: >

Re: [go-nuts] Go for Data Science

2019-07-16 Thread Jesper Louis Andersen
On Tue, Jul 16, 2019 at 7:18 PM Slonik Az wrote: > REPL in a static AOT compiled language is hard, yet Swift somehow managed > to implement it. > > I must disagree. The technique is somewhat well known and has a long history. See e.g., various common lisp, and standard ml implementations. If you

Re: [go-nuts] Go for Data Science

2019-07-16 Thread Leo R
My point is that contemporary Data Science stack is using too many different languages all way from scripting (R, Python) to statically compiled C/C++ and sometimes Fortran (R, some scipy algos are in Fortran) and even JVM based Scala. This creates artificial barriers -- data scientists play

Re: [go-nuts] Re: Go for Data Science

2019-07-16 Thread Dan Kortschak
There is a project that is intended to implement pandas-like data manip: https://github.com/ptiger10/pd On Tue, 2019-07-16 at 16:06 -0700, Leo R wrote: > Regarding REPL in Go, it is complicated. Currently, lgo seems to be > broken > as of go-1.12 (and go-1.13), see README.md in their repo >

[go-nuts] Re: [golang/go] Proposal: A built-in Go error check function, "try" (#32437)

2019-07-16 Thread Bakul Shah
And a big thank you to the Proposal Review Committee for shepherding this proposal & the ensuing discussion. "Open source community-wide discussion at its best" would be very hard to conduct without such a moderating influence. I learned quite a bit. Much appreciated. Cheers, Bakul > On Jul

Re: [go-nuts] Re: About the Google logo on the new Go website

2019-07-16 Thread Space A.
Yep, and if you spend hours or weeks or months on contribution to this "free" tool which they claimed is owned to community, it's your problem. You just worked fo free for a great company. Be proud. Say hi to those guys who got paid and live in California. And, btw, they not just put logo,

Re: [go-nuts] Re: Go for Data Science

2019-07-16 Thread Dan Kortschak
We'd (gonum-dev) likely advise not to use julia for reasons that I won't go into here. However, I can suggest that the OP checks out the data-science channel on https://gophers.slack.com/ Also note that gorgonia does data-flow graph compilation described Jesper, and there are REPLs that are

Re: [go-nuts] Re: About the Google logo on the new Go website

2019-07-16 Thread Aman Alam
Google has always has this thing with regards to Open Source and Community. I remember Android OS too. Community and Open Source when it benefits the product, and Google's TM when it suits the company. On Tue, Jul 16, 2019 at 6:13 PM Space A. wrote: > Yep, and if you spend hours or weeks or

Re: [go-nuts] Chunked http response with go routines

2019-07-16 Thread Burak Serdar
On Tue, Jul 16, 2019 at 12:03 PM Hasan Genc wrote: > This is my original code. > > Multiple things are wrong with this code: * You are writing to a stream from multiple goroutines with no synchronization. * You are not waiting for the goroutines to complete before returning. Once the http

[go-nuts] Re: Go for Data Science

2019-07-16 Thread Anca Emanuel
Use the right tool for the job. https://julialang.org/ or ask on gonum-dev On Tuesday, July 16, 2019 at 8:18:21 PM UTC+3, Leo R wrote: > > Hi Gophers! > I was thinking to start a Go project in the area of Data Science that > would allow for convenient and easy

Re: [go-nuts] Re: About the Google logo on the new Go website

2019-07-16 Thread Michal Strba
Okay, so just to explain why I started this topic and what exactly we are talking about. First of all, just to clear up any doubts, I have no problem with the logo. Google 100% deserves to be there. The thing that I'm talking about is this. Every once in a white, I come across a discussion that

Re: [go-nuts] About the Google logo on the new Go website

2019-07-16 Thread Ian Lance Taylor
On Tue, Jul 16, 2019 at 2:34 AM Wojciech S. Czarnecki wrote: > > On Mon, 15 Jul 2019 17:05:40 + > "Sam Whited" wrote: > > > This is the place for Go discussion. >This is the place for the Go **language and code** related **technical** > discussion. > > > Not everyone in the community

Re: [go-nuts] [gollvm] compiling error of libgo/runtime/aeshash.c on ARM

2019-07-16 Thread 'Than McIntosh' via golang-nuts
Hi, Just to make sure I understand the context for the question -- this is a gollvm-compiled program that you are talking about, not something compiled with the main Go compiler? If so, then there isn't anything special happening when Go calls into C, both will share the same ABI / calling

Re: [go-nuts] Chunked http response with go routines

2019-07-16 Thread Hasan Genc
This is my original code. outside of the go routine w variable is [image: Screen Shot 2019-07-16 at 20.57.35.png] But inside the go routine [image: Screen Shot 2019-07-16 at 20.58.17.png] I don't understand why. Anyone can help about this ? func Make(w

Re: [go-nuts] About the Google logo on the new Go website

2019-07-16 Thread Wojciech S. Czarnecki
On Tue, 16 Jul 2019 20:39:33 +0930 Dan Kortschak wrote: > The headline of the group is "Welcome to golang-nuts, a general discussion > list for the Go Programming Language." I'd say this is that, a discussion > related > to the Go Programming Language. OK. Indeed this is the intro language, so

[go-nuts] Re: About the Google logo on the new Go website

2019-07-16 Thread JuciÊ Andrade
So a company spend millions on a tool that everybody may use freely and when they put a simple logo in the project page the sky falls down. Are you serious, people? I find hard to believe we are discussing that. -- You received this message because you are subscribed to the Google Groups

Re: [go-nuts] Chunked http response with go routines

2019-07-16 Thread Jakob Borg
At a guess, because your goroutine is running after the response handler has returned, and at that point the ResponseWriter isn’t valid any more. //jb On 16 Jul 2019, at 20:03, Hasan Genc mailto:hasangenc.istan...@gmail.com>> wrote: This is my original code. outside of the go routine w

Re: [go-nuts] Go for Data Science

2019-07-16 Thread Michael Jones
Leo, R is implemented in C and FORTRAN plus R on top of that. SAS is in C (and some Go here and there) plus the SAS language in top of that. Mathematica is implemented in C/C++ with the "Wolfram Language" on top of that. PARI/GP is implemented in C plus some GP-language code. Macsyma, Maple,

Re: [go-nuts] Go for Data Science

2019-07-16 Thread Leo R
Hi Michael, thanks for your reply. The current problem with Data Science ecosystem (from Data Analysis all way to GPU based ML) is that it employs a whole stack of languages from low-level like C (and sometimes assembler) all way to scripting like Python or R. In parallel, there are Big Data

[go-nuts] Re: Modules - Issues releasing cron/v3

2019-07-16 Thread Diego Medina
As a regular user, I wouldn't expect go get to give me v1 all the time, I would expect to get all kinds of breaking builds all the time because that is the reality of go get. And for those who enter tickets asking why? I would nicely explain that go get is the quick and dirty way to get started

[go-nuts] Re: About the Google logo on the new Go website

2019-07-16 Thread Anca Emanuel
@all, what do you think of Oracle ? That is not an company, that is an monster. On Monday, July 15, 2019 at 6:40:19 PM UTC+3, Michal Strba wrote: > > As you all know, the new, redesigned Go website has a Google logo in the > bottom right corner. > Someone opened an issue about this, worrying

Re: [go-nuts] Chunked http response with go routines

2019-07-16 Thread Hasan Genc
Sorry, I made a mistake when copy paste :) Actually we can assume above code as go func() { ... } Because I want to reference of w variable which is the type of http.ResponseWrite. My actual problem is w.wr is nil inside go routine. I can post the code today but I can not access the code right