[go-nuts] flag.PrintDefaults() messes up flags description new lines ?

2019-10-16 Thread Gert
Compared to go help doc output, it seems flag.PrintDefaults() messes up flags descriptions of go doc --help ? go doc --help Usage of [go] doc: go doc go doc go doc [.] go doc [].[.] go doc [.] For more information run go help doc Flags: -all show all documentation for package -c symbol matchi

[go-nuts] Re: Please make a benchmark of my database on your PC

2019-10-16 Thread allodiamail
i7 16Gb RAM 256Gb SSD Samsung 860evo : goos: linux goarch: amd64 pkg: github.com/claygod/coffer BenchmarkClean-8 10 0.00324 ns/op BenchmarkCofferWriteParallel32NotConcurent-8 time="2019-10-16T20:31:38+03:00" level=error msg="Key len

[go-nuts] [Job] Remote Junior Go developer - Full time employee (US and parts of Europe)

2019-10-16 Thread Diego Medina
Hi, We are looking for a new developer to join our small team. We work in the compliance regulations area, if that sounds vague, don't worry, we'll teach you the relevant parts. You will be enhancing our current data sanitation platform. We get files from different vendors in all kinds of form

Re: [go-nuts] Re: Static methods

2019-10-16 Thread Marvin Renich
* gera...@cloudoki.com [191016 11:03]: > I'm not sure about its *idiomacity*, but namespacing should be a nice thing. > > On Tuesday, March 1, 2011 at 8:48:52 PM UTC, yiyus wrote: Do you realize you are responding to an eight-year-old thread? If you really feel a nee

[go-nuts] Re: Adding dimension to 2d slice loses dimension order

2019-10-16 Thread howardcshaw
https://play.golang.org/p/Q7otoSJBD5g As you can see here, wrapping a 2d slice inside of a 3d slice does not affect the ordering. Look to see if you use a map anywhere - the order of map keys is not preserved, and indeed is deliberately randomized. Beyond that, add tests and printfs to narrow d

Re: [go-nuts] Re: Static methods

2019-10-16 Thread gerardo
I'm not sure about its *idiomacity*, but namespacing should be a nice thing. On Tuesday, March 1, 2011 at 8:48:52 PM UTC, yiyus wrote: > > 2011/3/1 Nihlus >: > > some_fun() would be implemented as an ordinary method > > for the type (with the value of the receiver simply discarded) > > Why having

[go-nuts] Please make a benchmark of my database on your PC

2019-10-16 Thread Claygod
Hello! If you have a few minutes, please install my embedded database https://github.com/claygod/coffer and run the benchmark in the root of the package. I wonder what computers, with what hard drives, what kind of performance. Put the results here. Thank you in advance! The results will loo

[go-nuts] Re: Extending an array 'The right way'. Guidence needed!

2019-10-16 Thread Luis Furquim
Em terça-feira, 15 de outubro de 2019 07:16:35 UTC-3, Stuart Davies escreveu: > > > if p.LineCount >= len(p.Offsets) { > newLen := p.LineCount + 50 > sb := make([]int64, newLen) > for i := 0; i < p.LineCount; i++ { > sb[i] = p.Offsets[i] > } > p.Offsets = sb > } > > N