Re: [go-nuts] Funny Minor Error Messsage Grammar Problem

2019-03-27 Thread Ian Lance Taylor
On Wed, Mar 27, 2019 at 6:06 PM wrote: > > $ go build a.go > # command-line-arguments > ./a.go:16:12: assignment mismatch: 2 variable but 1 values > > Note the English syntax problem in the (correct) error message. > It should be > > ./a.go:16:12: assignment mismatch: 2 variables but 1 value Than

Re: [go-nuts] Very long API call

2019-03-27 Thread Kurtis Rader
On Wed, Mar 27, 2019 at 2:22 PM Alex Dvoretskiy wrote: > Yes, it's weird question... > It's a POST request. The request passes search query to a graph database. > Information about DNA sequences. List of Ids from database is expected. The > question is, is it common for one API call like this to

Re: [go-nuts] Very long API call

2019-03-27 Thread Alex Dvoretskiy
Yes, it's weird question... It's a POST request. The request passes search query to a graph database. Information about DNA sequences. List of Ids from database is expected. The question is, is it common for one API call like this to be 10Mb long? Or something completely wrong here, and API call

Re: [go-nuts] Very long API call

2019-03-27 Thread Alex Dvoretskiy
It's length in characters. -- 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 more options, visit https://groups.google

Re: [go-nuts] Very long API call

2019-03-27 Thread Michael Jones
"*" On Wed, Mar 27, 2019 at 1:06 PM Michael Jones wrote: > You left off the "=" key. Must be "160 * 60 =" if you want the > calculator to display the result. (Or "160 enter 60 +" if using an HP > RPN calculator.) > > On Wed, Mar 27, 2019 at 12:35 PM Kurtis Rader > wrote: > >> On Wed, Ma

Re: [go-nuts] Very long API call

2019-03-27 Thread Michael Jones
You left off the "=" key. Must be "160 * 60 =" if you want the calculator to display the result. (Or "160 enter 60 +" if using an HP RPN calculator.) On Wed, Mar 27, 2019 at 12:35 PM Kurtis Rader wrote: > On Wed, Mar 27, 2019 at 12:30 PM Alex Dvoretskiy > wrote: > >> I ran into a huge A

Re: [go-nuts] Very long API call

2019-03-27 Thread Kurtis Rader
On Wed, Mar 27, 2019 at 12:30 PM Alex Dvoretskiy wrote: > I ran into a huge API call. 160 * 60. Can it be normal? Or something > should be changed here for sure? > Which API call? What arguments were passed to it? What are the units for those numbers? I don't like to be snarky but your quest

[go-nuts] Very long API call

2019-03-27 Thread Alex Dvoretskiy
I ran into a huge API call. 160 * 60. Can it be normal? Or something should be changed here for sure? Alex. -- 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

Re: [go-nuts] Urgent Need - Interview and OFFER tomorrow!

2019-03-27 Thread Robert Engels
To clarify, the interview effort is the same regardless of whether or not they get hired, and getting hired has a lot more factors that how well the interviewer did - in fact, if they do a really great job the outcome might be that they do t get hired... > On Mar 27, 2019, at 12:39 PM, Robert E

Re: [go-nuts] Urgent Need - Interview and OFFER tomorrow!

2019-03-27 Thread Robert Engels
And if they don’t get hired? Seems pretty low on the risk/reward scale, and because of that somewhat ripe for abuse/low performance. > On Mar 27, 2019, at 10:38 AM, judyros...@gmail.com wrote: > > Hi Guys, > > I am hoping ya'll can help me out… I have an interview slot tomorrow at 1pm > with

Re: [go-nuts] Re: rand.Rand.Seed() vs rand.NewSource()

2019-03-27 Thread Ian Lance Taylor
On Wed, Mar 27, 2019 at 9:16 AM wrote: > > Hi, > I think OP question actually is what is difference between: > r := rand.New(rand.NewSource(VALUE)) > > and > r := rand.New(rand.NewSource(ANYTHING)) > > r.Seed(VALUE) > > https://play.golang.org/p/afOfMjcNs1q I don't think there is any meaningful

[go-nuts] Urgent Need - Interview and OFFER tomorrow!

2019-03-27 Thread judyrossco
Hi Guys, I am hoping ya'll can help me out… I have an interview slot tomorrow at 1pm with a client in Plano, TX for a Golang Developer role (contract), my consultant who was going to interview just got an offer and wont be able to make it. Do you know anyone with your expertise that may be loo

Re: [go-nuts] [ANN] GoLand 2019.1 is out

2019-03-27 Thread Sameer Ajmani
Nice update! Great to see debugging and diagnostics built into the IDE. On Wed, Mar 27, 2019 at 10:59 AM Florin Pățan wrote: > Hello gophers, > > > I'm happy to let you know that we just released GoLand 2019.1. > > Here are a few things you can find in this release: > >- Built-in Profiler su

Re: [go-nuts] [ANN] GoLand 2019.1 is out

2019-03-27 Thread Marcin Romaszewicz
Thank you! You guys build a fantastic IDE. -- Marcin On Wed, Mar 27, 2019 at 8:59 AM Florin Pățan wrote: > Hello gophers, > > > I'm happy to let you know that we just released GoLand 2019.1. > > Here are a few things you can find in this release: > >- Built-in Profiler support for CPU, Memo

[go-nuts] Re: rand.Rand.Seed() vs rand.NewSource()

2019-03-27 Thread djadala
Hi, I think OP question actually is what is difference between: r := rand.New(rand.NewSource(VALUE)) and r := rand.New(rand.NewSource(ANYTHING)) r.Seed(VALUE) https://play.golang.org/p/afOfMjcNs1q -- You received this message because you are subscribed to the Google Groups "golang-nuts" grou

[go-nuts] [ANN] GoLand 2019.1 is out

2019-03-27 Thread Florin Pățan
Hello gophers, I'm happy to let you know that we just released GoLand 2019.1. Here are a few things you can find in this release: - Built-in Profiler support for CPU, Memory, Mutex, and Block profiles (using pprof) - Debugger Changes: - - a new Smart Step Into feature - - gorout

[go-nuts] Re: rand.Rand.Seed() vs rand.NewSource()

2019-03-27 Thread jake6502
Following up on Ian's post. It is generally a good idea to go to the playground and make a minimal working "program" to demonstrate your question before posting. In doing so you would have discovered that the zero value of a rand.Rand can not be used, and will panic.

[go-nuts] Re: How to use godoc with Go's module?

2019-03-27 Thread singpor
Thank you. On Wednesday, March 27, 2019 at 1:39:20 AM UTC+7, Agniva De Sarker wrote: > > > godoc doesn't work in module mode yet. The workaround is to create a > directory resembling a GOPATH and put your project there and set the GOPATH > variable to that. > > Tracking issue here - https://gith

[go-nuts] Re: wasm output and modules

2019-03-27 Thread whitehexagon via golang-nuts
Thanks. So those flags knocked about 100kB off the size down to 2.5MB. But it seems Kotlin generates a similar sized file ~2.6MB maybe for a similar reason i.e. runtime jvm. I also tried gzip as suggested on the wiki, but my hosting provider always delivers the full file :( But anyway my hos