Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
alecrn
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
6 ms
·
1.
▲
by
alecrn
10y ago
My understanding is there are only scheduling guarantees around synchronization points between goroutines through chans or mutexes and stuff. Go's concurrency model is inspired by Hoare's communicating sequential processes which k
2.
▲
by
alecrn
10y ago
But I don't think in go atomic ops are considered synchronization in the sense that they force two goroutines to synchronize at a particular point like a chan. I.e. a chan send in one goroutine must be matched with a chan receive in a
3.
▲
by
alecrn
10y ago
Yeah, this particular instance seems ok to me. This one makes the example feel weirder: func main() { runtime.GOMAXPROCS(runtime.NumCPU()) fmt.Println(runtime.NumCPU(), runtime.GOMAXPROCS(0)) started := make(chan bool) g
4.
▲
by
alecrn
11y ago
As far as I can tell, intext:<word> still forces it to always include <word> in the results.
5.
▲
by
alecrn
11y ago
If it's iodine deficiency that causes depression, then why would decreasing intake of iodized salt help?
6.
▲
by
alecrn
12y ago
I always liked this as well, and in this case, tau is basically that unit. In fact, maybe we could think of tau as being short for "turn". One full rotation = tau Half a rotation = 1/2 tau 1/10 a rotation = 1/10 ta
7.
▲
by
alecrn
12y ago
That's very interesting! The alternatives to TCP that can be written in UDP which are optimized for a certain application are especially interesting to me. Working at the UDP level can present a lot of interesting performance options
8.
▲
by
alecrn
12y ago
That's the reason I wrote this for myself, and why I made https://filegrave.com , as I thought it could be useful to others as well. Git is already a great tool with a workflow for handling incremental updates that I happen
9.
▲
How to Write a New Git Protocol
(rovaughn.github.io)
162 points
by
alecrn
12y ago
|
13 comments
10.
▲
Show HN: Push/fetch encrypted Git repositories like GitHub
(filegrave.com)
2 points
by
alecrn
12y ago
|
0 comments
11.
▲
by
alecrn
12y ago
[1] is a similar project someone else did, where he used a space-filling curve (Hilbert's curve, specifically) to plot all the RGB colors in one image, and have nearby colors be similar. [1] http://corte.si/%2Fposts
12.
▲
by
alecrn
13y ago
For this case, the "fast" int types are provided, eg. uint_fast8_t is the fastest unsigned integer which can hold at least 8 bits; uint8_t is required to have exactly 8 bits. http://pubs.opengroup.org/onlinepubs&#x
13.
▲
by
alecrn
13y ago
(I think you meant 2 + 2 is 4)
14.
▲
by
alecrn
13y ago
For those wondering about this, this comment from another thread might help. https://news.ycombinator.com/item?id=4931899
15.
▲
by
alecrn
13y ago
In one dimension I find existence, in two I find life, but in three, I find freedom.
16.
▲
by
alecrn
13y ago
D uses it too. I think they use it for array concatenation as well.