Re: [go-nuts] Re: Email threading package?

2021-08-06 Thread 'Sebastien Binet' via golang-nuts
There's that: https://git.sr.ht/~emersion/go-emailthreads (Quickly scanning the sources, it seems it "just" performs a topological sort, though) hth, -s Aug 7, 2021 00:41:41 Tuhin Nair : > Hey, this is a long shot but any chance you found a Go implementation for the > JWZ algorithm? > > On

[go-nuts] Re: Email threading package?

2021-08-06 Thread Tuhin Nair
Hey, this is a long shot but any chance you found a Go implementation for the JWZ algorithm? On Monday, July 20, 2015 at 6:14:32 AM UTC+5:30 a...@develooper.com wrote: > Hi, > > Has anyone made an (open source) package to thread emails -- ideally a > variation of http://www.jwz.org/doc/threadin

Re: [go-nuts] Re: What are the options to fake SQL database for testing?

2021-08-06 Thread Amit Saha
On Thu, Jul 29, 2021 at 5:13 PM Brian Candler wrote: > > You might also want to look at podman, which runs containers directly as > processes under your own userid with no docker daemon - and buildah, the > corresponding tool for creating container images. I use them quite a lot for > building

Re: [go-nuts] Re: go install an/import/path@revision and /vendor in Go 1.16

2021-08-06 Thread 'Jay Conrod' via golang-nuts
Indeed, this should be better documented. I've mailed CL 340509 to mention in a couple places in /ref/mod that vendor directories are omitted from zip files. On Fri, Aug 6, 2021 at 3:55 AM Brian Candler wrote: > On Friday, 6 August 2021 at

Re: [go-nuts] http.Response.Body.Close when ignoring the resp

2021-08-06 Thread Andreas Götz
Replying here as I was thinking about suggesting a go/vet check if the body is actually being closed. What I realise now is, that closing the body is just as good as not closing it as long as one doesn't read it first. As for reading there is probably a trade-off on when actually reading is st

Re: [go-nuts] Getting 502 errors in golang with heavy load

2021-08-06 Thread Konstantin Khomoutov
On Fri, Aug 06, 2021 at 08:13:46PM +0300, Konstantin Khomoutov wrote: [...] > * Aerospike does not use HTTP as its client protocol; it implements some >custom protocol over TCP sockets, so that 502 Sorry, fat fingers. I meant to say "... so that those '502 errors' could not come from Aerospi

Re: [go-nuts] Getting 502 errors in golang with heavy load

2021-08-06 Thread Konstantin Khomoutov
On Thu, Aug 05, 2021 at 08:07:58PM -0700, Anand vishnu wrote: > my code is running absolutely fine with a smaller load, when load is > increased it is failing. > The changes i made in the newer release tag: > 1. pushing data to aerospike at each and every chunk > when i turn off this line it is w

Re: [go-nuts] What's going on while using "append" in memory?

2021-08-06 Thread Konstantin Khomoutov
On Fri, Aug 06, 2021 at 12:42:34AM -0700, Miraddo wrote: Hi! > I can not understand why when we use append, it does not rewrite values in > the same address in the memory that it had before, > > (I'm not sure it "append" problem or the variable | or just my problem for > sure :) ) [...] > I

[go-nuts] Getting 502 errors in golang with heavy load

2021-08-06 Thread Anand vishnu
Hi, my code is running absolutely fine with a smaller load, when load is increased it is failing. The changes i made in the newer release tag: 1. pushing data to aerospike at each and every chunk when i turn off this line it is working fine , but when i turn this on it is failing -- You receiv

[go-nuts] What's going on while using "append" in memory?

2021-08-06 Thread Miraddo
Hello all, I can not understand why when we use append, it does not rewrite values in the same address in the memory that it had before, (I'm not sure it "append" problem or the variable | or just my problem for sure :) ) let me explain what I mean, I solve a question in LeetCode (189. R

Re: [go-nuts] Why isn't go more popular?

2021-08-06 Thread Mark Sinoberg
can not agree more with u, go cool. 在2021年8月6日星期五 UTC+8 上午10:28:03 写道: > On Thu, Aug 5, 2021 at 7:20 PM Santi Ferra > wrote: > > > > When you see the ranking of the most liked programming languages, go is > near c++, a really "hated app". But since is efficient and produces really > clean code

Re: [go-nuts] Why isn't go more popular?

2021-08-06 Thread David Riley
On Aug 5, 2021, at 10:27 PM, Ian Lance Taylor wrote: > > On Thu, Aug 5, 2021 at 7:20 PM Santi Ferra > wrote: >> >> When you see the ranking of the most liked programming languages, go is near >> c++, a really "hated app". But since is efficient and produces really clean >> code, why no wants

Re: [go-nuts] Re: go install an/import/path@revision and /vendor in Go 1.16

2021-08-06 Thread Brian Candler
On Friday, 6 August 2021 at 11:46:24 UTC+1 Konstantin Khomoutov wrote: > On Fri, Aug 06, 2021 at 12:35:16AM -0700, Brian Candler wrote: > > > The key point I just learned from #40276: > > "Vendor directories are not included in module zip files." > > > > I found this surprising because -mod=ve

Re: [go-nuts] Re: go install an/import/path@revision and /vendor in Go 1.16

2021-08-06 Thread Konstantin Khomoutov
On Thu, Aug 05, 2021 at 04:39:00PM -0700, Sean Liao wrote: > This is intentional and sort of covered by the statement that no module is > considered the main module (where replace directives and vendor dirs take > effect) I must admit that sentence regarding the main module has caught my attent

Re: [go-nuts] Re: go install an/import/path@revision and /vendor in Go 1.16

2021-08-06 Thread Konstantin Khomoutov
On Fri, Aug 06, 2021 at 12:35:16AM -0700, Brian Candler wrote: > The key point I just learned from #40276: > "Vendor directories are not included in module zip files." > > I found this surprising because -mod=vendor is now the default (here > ) - therefore,

[go-nuts] Re: go install an/import/path@revision and /vendor in Go 1.16

2021-08-06 Thread Brian Candler
The key point I just learned from #40276: "Vendor directories are not included in module zip files." I found this surprising because -mod=vendor is now the default (here ) - therefore, I expected the vendor directory, if present in the source, always to be u