+cc Alan.
Ping, I'm interested in this too. I've been looking around for tools to
move declarations around but didn't find any. This would be very useful.
Anyone aware of anything which has been published in a form which is easy
to reuse (rather than a abandoned CL?)
I saw godoctor at http://gor
Using monotonic time for implementing a distributed locking system
seems fraught with difficulties.
If you're using the time package to time how long operations take, just do
t1 := time.Now()
// time passes
d := time.Since(t1)
d will have the most accurate value available.
On Fri, Sep 22, 2017
I think the authorization/access to a todolist should be handled higher up in
the application level instead of the persistence layer.
--
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 i
If it's imperative they're received in order, you cannot do anything accept
wait for at least the first byte of the response. You'll never know if the
request was fully received until that point. Even then, only that it was
_received_, not validated (e.d. 400 response).
If it is _not_ imperativ
I would use:
```
func DB interface {
ForUser(user ID) (ListRepo, error)
ForAdmin() (ListRepo, error) // or detect which one to return in User
}
type ListRepo interface {
All() ([]*List, error)
Find(id ListID) (*List, error)
Create(t *List) error
Update(t *List) error
Delete(id ListID) error
}
```
Seems like a simple solution is just to write HTTP requests over a single
TLS connection and queue the requests and responses in order. Can't handle
redirects or reconnections, but works for my purposes:
https://gist.github.com/donovanhide/13c903416e166ac51c9496d225e9
--
You received this me
I come from an R background and I am not able to find one single decent not too
fancy but a decent graphing library that's good enough to work.
Can you please suggest any library that is good enough for production level
plots. Visualisation is the need of today. I don't believe that it doesn't h
One from https://awesome-go.com/#science-and-data-analysis
probably should fit your needs. Or try looking for R bindings and
run your plots through R.
V.
On Wednesday, 27 September 2017 17:05:36 UTC+2, Vikram Rawat wrote:
>
> I come from an R background and I am not able to find one single decent
On Tue, Sep 26, 2017 at 1:55 AM, Guy Allard wrote:
> Adding support for multiple IFDs to the go package being discussed seems not
> too difficult (reading the existing code).
>
> Suggest trying to contact the package authors.
Hi, I'm one of the authors of the golang.org/x/image/tiff package.
Lac
Not quite related, but if changes are going to happen, I want to add (or
see someone add) colorspace tags to the PNG code and the TIFF code. I need
it and have a work-around, but I don't know how Nigel et-al think it should
be presented through the api. I'm happy to supply the work / tags / etc.
(t
On Wed, 2017-09-27 at 08:54 -0700, Volker Dobler wrote:
> One from https://awesome-go.com/#science-and-data-analysis
> probably should fit your needs. Or try looking for R bindings and
> run your plots through R.
https://godoc.org/gonum.org/v1/plot for the first and
https://godoc.org/github.com/
you could adapt something like this to your needs:
https://github.com/dskinner/x/blob/master/cmd/droidscale/droidscale.go
On Tue, Sep 26, 2017, 4:48 AM Joe Blue wrote:
> drives me nuts making icons for web, desktop and mobiles.
>
> anyone know or a generator. prefer using golang :)
>
> --
> You
I am seeing all.bash fail when testing cmd/go with a likely cause being
internal/poll.runtime_pollWait.
I'm trying to build go1.9 (with a change to the heap size), but
all.bash fails as shown below. Is this a known problem? and if it is,
is there a workaround.
thanks
```
panic: test timed out af
On Thu, Sep 28, 2017 at 10:28 AM, Michael Jones wrote:
> Not quite related, but if changes are going to happen, I want to add (or see
> someone add) colorspace tags to the PNG code and the TIFF code.
It's not exactly what you're asking for, but there are already issues
https://github.com/golang/g
14 matches
Mail list logo