Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
howeman
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
8 ms
·
31.
▲
by
howeman
11y ago
Of course, you frequently don't want operator overloading for matrix multiplication. Avoiding allocations is a big deal for speed, and so c.Mul(a,b) is often the right answer even with operator overloading.
32.
▲
by
howeman
11y ago
Generics aren't likely to be fixed any time soon, but it's not that the authors aren't listening. Here's Russ Cox's reply on the issue https://news.ycombinator.com/item?id=9622417
33.
▲
by
howeman
11y ago
> There might be some exotic cases where genetic algorithms are actually the best solution, but nobody knows that. Actually, No Free Lunch guarantees that such cases exist.
34.
▲
by
howeman
11y ago
Is there technical information on this somewhere? How is this different from AWS and from a traditional supercomputer? If I write a shared-memory parallel computation could I just run it on their platform (assuming I've done the work t
35.
▲
by
howeman
11y ago
In the "Checkers is solved" paper, they state "The complete 10-piece databases contain 39 trillion positions (Table 1). They are compressed into 237 gigabytes, an average of 154 positions per byte!" Do you have any ide
36.
▲
by
howeman
11y ago
You said above you 'may start rolling your own packages'. If you're interested in helping develop the numeric ecosystem, please come join us at gonum https://groups.google.com/forum/#!forum/gonum-dev
37.
▲
by
howeman
11y ago
> Unfortunately, there is no equivalent to Numpy/Scipy in Go. We're trying! https://groups.google.com/forum/#!forum/gonum-dev github.com/gonum . Bug reports and contributions encouraged.
38.
▲
by
howeman
11y ago
Sure, Wikipedia defines it as 3+3+3+3+3, but the Oxford English dictionary defines it the other way (as 5+5+5). They are both correct.
39.
▲
by
howeman
11y ago
gonum also has LAPACK bindings godoc.org/github.com/gonum/lapack/cgo Assuming you need float64, BLAS and LAPACK are most easily accessed through the wrapper packages godoc.org/github.com/gonum/blas/bl
40.
▲
by
howeman
11y ago
I think Go is a great language for sophisticated scientific computing. Go scales well to complex code bases, and thus it is a great language for building an ecosystem. The tools are not all there yet, but the foundations are being built git
41.
▲
by
howeman
11y ago
They are separate repos because they have different mentalities. Stat is basic statistics for a (weighted) set of values. Floats is closer to dealing with properties of a vector (norm, distance, etc.). Sample has sophisticated sampling from
42.
▲
by
howeman
11y ago
I mentioned elsewhere in the thread, but if you're interested in help buliding statistical tools for go, Gonum is always looking for more hands. Look at what we have in github.com/gonum, and/or come introduce yourself at gonu
43.
▲
by
howeman
11y ago
If you're interested in developing more stats stuff, we'd love to have you as part of the effort. gonum/stat/dist in particular needs a lot more functionality.
44.
▲
by
howeman
11y ago
Gonum has many of these capabilities, but with a slightly different mentality (gonum has weights and sticks to pure []float64 while this defines types and methods, i.e. Coordinate, Float64Data) gonum/floats for max, min, round, sum, et
45.
▲
by
howeman
11y ago
I don't understand this. How is enabling Go to run on android skewing the ecosystem? You'd rather them not allow it?
46.
▲
by
howeman
11y ago
The Go team had nothing to do with the organization of the conference. The gophercon organizers decided who got the keynotes. From an external viewpoint, Google the corporation has two influences. Firstly, it employs the language leaders (i
47.
▲
by
howeman
11y ago
To be fair, this does increase runtime size and decrease performance, but that's a necessary cost that comes with the debugging capability
48.
▲
by
howeman
11y ago
I don't remember 2006 specifically, but I was on facebook in 2004. Back then, it was only open to .edu addresses. They had a list of all of the dorms at the school and the rooms in them. You would select using a pull down menu which wa
49.
▲
by
howeman
12y ago
The Go tool does do installation and upgrading. There's not really any configuring, and it'd be hard to do removal in any reasonable manner given how GOPATH works. What the Go tool does not do is isolate you from breaking changes
50.
▲
by
howeman
12y ago
How so? First was 1.0, then 1.1, then 1.2, etc.
51.
▲
by
howeman
12y ago
What does OpenMP do for you that Go's built-in concurrency doesn't?
52.
▲
by
howeman
12y ago
Just don't run your pendulum simulation for too long if you're using the Euler method!
53.
▲
by
howeman
12y ago
Thank you for being an excellent example
54.
▲
by
howeman
12y ago
Where does it fail to free memory? As of 1.4 the GC is fully precise. Concurrent GC is in the works, and is scheduled to be in 1.5 (August of this year).
55.
▲
by
howeman
12y ago
But you also get a stack trace without needing an IDE and debugger.
56.
▲
by
howeman
12y ago
And if you want to use external code, you can download it with and integrate it into your main package in about 90 seconds (go get + go install). In order to learn to use it, godoc is there.
57.
▲
by
howeman
12y ago
You understand that the satisfaction is verified at compile time, right?
58.
▲
by
howeman
12y ago
> You're not returning a sum type so it's down to convention to remember that the "real" return value is effectively garbage when the error return value is non-nil. There are many cases where this is not true.
59.
▲
by
howeman
12y ago
See the "NextDirection" method for the update.
60.
▲
by
howeman
12y ago
Gonum has an LBFGS implementation https://github.com/gonum/optimize/blob/master/lbfgs.go
More ›