I recently took the number Pi in hexadecimal notation. However, usually the
number Pi published in decimal. Good. I found a wonderful publication,
David H. Bailey dedicated algorithm "BBP" and implemented this algorithm in
PiHex library on Go. Now you can connect the library and get the number (
Is that protoc-gen-go contains only main.go?
--
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 htt
In startup situation when you like to grab the extra information about all
the goroutines that might already have been started. Those are situations
where i regularly panic, because i somethings goes wrong there i want to
grab all the possible information i can.
On Monday, July 25, 2016 at 2:42
Hi Fabian,
You could add a signal channel to tell your goroutine to exit. Editing your
pseudo code:
data := make(chan byte)
done := make(chan struct{})
fd := some file descriptor
go func() {
buf = make([]byte, 1)
for {
n, err = syscall.Read(fd, buf)
if err != nil {
I use it in main() in short scripts to handle errors when I don't expect
them to ever occur. It's just a shortcut for log.Error followed by panic.
Similar to log.Fatal.
On Sun, Jul 24, 2016, 17:42 Anmol Sethi wrote:
> I cannot seem to think of many situations where log.Panic is very useful.
> Ca
I cannot seem to think of many situations where log.Panic is very useful. Can
someone provide a quick example?
--
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 go
Thanks James.
For library usage, there are examples in the _test files, which will have
to do for the moment. The gini command
takes dimacs cnf and icnf inputs. see satcompetition.org for details.
As for import path, we have chosen to use simply
import "gini"
or sub packages like "gini/ax"
There is a tool for solver benchmarking provided in the package.
As I see you're from JKU linz, home of picosat, Here's a comparison of core
cdcl gini with core cdcl picosat on 50 randomly selected problems from the
2011 sat competition, with a timeout of 1 minute per problem, benchmark
suite
Hi,
I would like to call syscall.Read() with a timeout. Coming from C, my first
idea was to use syscall.Select(), which should work fine. However, I came
across this answer from 2014 by Ian Lance Taylor to a similar question
(https://groups.google.com/d/msg/golang-nuts/al-6_QFgYaM/UkCqyCQVq_0J)
You probably want to use gonum/matrix/mat64 instead of go.matrix.
We don't have p-value calculation yet, but open up an issue in
github.com/gonum/stat
On Saturday, July 23, 2016 at 11:47:37 PM UTC-4, Michael Jones wrote:
>
> I stand corrected. Thanks!
>
>
>
> --
>
> Michael T. Jones
>
>
>
Hi,
After some efforts and lots of reading,
i finally have the cool release flow i was looking for my own usage and
purpose.
I sum it and share it here https://github.com/mh-cbon/go-github-release
Initially i was looking for the good automated, re usable practices to
release a go package,
i h
All the examples for gomobile use opengl for graphics.
Is it possible to manipulate go-images directly, like shiny can do?
I'm comparing:
https://github.com/golang/mobile/blob/master/example/basic/main.go
https://github.com/golang/exp/blob/master/shiny/example/basic/main.go
--
You received this
Instead of thanking all reporters individually I'll do it here. I didn't expect
a clear winner but some of the rationales for prefering one dependency mgmt
tool over the other became more clear to me.
To sum it up: I'll stick with godeps. It seems it hits somewhere the sweetspot
between followi
I also would like to see some examples. Also, please make the whole project
go-getable.
Looking forward to see where this project is going, exciting! Can you link
to the papers where you demonstrate that you outperform picosat and minisat?
On Saturday, July 23, 2016 at 11:33:31 PM UTC+2, Scott
14 matches
Mail list logo