Hi,
I needed a concurrent sort for a huge integer list, wrote a simple one and
found out about yours. Mine (sorty) does not:
- implement sort.Interface
- limit number of goroutines
- implement all common types, just uint64
Here is the go test output (sorting random 2^27 uint64s) on my laptop:
s
Thanks, David. Let me look into passing as a parameter.
Actually, I didn't paste all the code. My array in the for loop does have
a check that if array limit is reached, I set the index to zero and
overwrite data. Thus, the last 65536 entries are looked at.
Hemant
On Saturday, February 16,
Only if golang is a panacea to you. I'd use AutoIT perhaps...
Am Samstag, 16. Februar 2019 08:40:52 UTC+1 schrieb Andrew:
>
> Our corporate using Outlook send/receive emails. I have some emails need
> to send out routinely with the same content(book truck, ask for order
> information, etc).
> I
I suspect it's because your reference to the time_array is actually copying it
into your closure that's running as the goroutine instead of making a reference
to it. You might do better to pass that array as a parameter to the goroutine
instead of trying to absorb it as context.
I should note t
Thanks, Can you please show me the example code?
I've tried the code below by using my outlook account but get errors:
https://gist.github.com/jim3ma/b5c9edeac77ac92157f8f8affa290f45
2019/02/16 11:51:24 504 5.7.4 Unrecognized authentication type
[MWHPR13CA0009.namprd13.prod.outlook.com]
panic: 5
On Saturday, February 16, 2019 at 10:04:46 AM UTC+1, Egon wrote:
>
> Yeah, mmap is a valid solution.
>
> Of course, you end up with code that works less reliably on all platforms.
>
Not only that, but SliceHeader is not subjected to API stability promise:
https://golang.org/pkg/reflect/#SliceHead
Thanks.
The comment about tools dependencies was very interesting.
Other package managers, like pipenv for Python, have the concept of dev
dependencies.
Basically, required packages are divided in two groups: packages and
dev-packages:
https://pipenv.readthedocs.io/en/latest/basics/#example-pip
I have the following program. The program is processing network packets at
1 Gbps rate. I don't want to print the rate for every packet. Instead,
I'd like to save the rate in an array and dump the array on Ctrl-c of the
program. When I dump the array on Ctrl-c, the data is all zeroes. Pleas
The good news is that this is addressed for 1.12:
#24250 cmd/go: allow "go get" when outside a module in module mode
https://github.com/golang/go/issues/24250
It would be worthwhile to try the 1.12 release candidate if you can:
https://groups.google.com/forum/#!topic/golang-announce/r0R2ji
On Saturday, 16 February 2019 09:40:52 UTC+2, Andrew wrote:
>
>
> Is it possible to send email using Go and Outlook?
>
> If you need some special features provided exclusively by Outlook, then I
think you'll need to search carefully and may not find what you want, thus
needing to concoct it you
Well, the problem is that module aware go get will **still** download
commands in GOBIN and **will** cache downloaded modules in
GOPATH/pkg/mod.
So I don't see a valid reason why it should not work outside a module.
Thanks
Manlio Perillo
On Saturday, February 16, 2019 at 1:08:08 AM UTC+1, Tyler
>
> Maybe we already have some parts can be used for building such a like
> system?
>
- Web-frontend for vector drawing blocks of hierarchical data flow models
- Golang code generator from blocked models
- Module management subsystem to control libraries and module sets
--
You receiv
Does anybody hear about implementations of dataflow visual design systems
for golang?
https://www.youtube.com/playlist?list=PLKYvTRORAnx6a9tETvF95o35mykuysuOw
Now I'm playing with a serial port log processing, and totally disappointed
with Node.js productivity even for such simple task as the
Underlying is the identity function for all types except *types.Named
(https://github.com/golang/example/tree/master/gotypes#named-types),
so this won't get you what you want.
Instead what I think you're after is type asserting against the
types.Type you have
(https://github.com/golang/example/tre
Yeah, mmap is a valid solution.
Of course, you end up with code that works less reliably on all platforms.
And, depending on what kinds of operations you are doing you might not get
a perf benefit.
On Friday, 15 February 2019 19:34:55 UTC+2, Jeroen Massar wrote:
>
> Hi folks,
>
> Silly question
nevermind - I think I figured it out — just need to drill down Underlying until
you find types.Named and get the Obj().Pkg() from that. Only Named types have
a package home..
- Randy
> On Feb 16, 2019, at 12:51 AM, Randall O'Reilly wrote:
>
> I’m probably missing something very basic, but I
16 matches
Mail list logo