Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
tapirl
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
49 ms
·
511.
▲
by
tapirl
8y ago
For the "cleanup", do you mean finalizers? The runtime.SetFanalizer was ever one of my confusions. https://go101.org/article/unofficial-faq.html#finalizers
512.
▲
by
tapirl
8y ago
I ever had many confusions in studying Go, but I never had any confusions on numeric literals. Go nmeric literals are intuitive and consistent with many other popular languages.
513.
▲
by
tapirl
8y ago
I'm sorry, no offensive. Your feeling of the extent how you master Go is much like mine of the two years ago. BTW, this is a free online book. And the go101.org website doesn't embed any third-party advertisements and tracking cod
514.
▲
by
tapirl
8y ago
same feeling.
515.
▲
by
tapirl
8y ago
I'm so sorry if this article scares you. This is not the intention of this article. In fact, Go is a relative simpler language comparing to many other popular static languages. This article is intended to emphasize that you should NOT
516.
▲
by
tapirl
8y ago
There will be eventually. currently, you can visit the go101.org website. The website is designed mobile friendly.
517.
▲
Thinking Go is simple is considered harmful
(go101.org)
17 points
by
tapirl
8y ago
|
17 comments
518.
▲
Google to invest $550M in China’s JD.com
(foxbusiness.com)
1 points
by
tapirl
8y ago
|
0 comments
519.
▲
by
tapirl
8y ago
unsafe.Pointer is the equivalent of C void pointer. interface{} is Any of Object in some other languages.
520.
▲
by
tapirl
8y ago
looks cool!
521.
▲
Exceptions in Go
(go101.org)
1 points
by
tapirl
8y ago
|
0 comments
522.
▲
How to perfectly clone a slice in Go?
(github.com)
2 points
by
tapirl
8y ago
|
0 comments
523.
▲
by
tapirl
8y ago
I have the impression that EBS does replication automatically, is it wrong?
524.
▲
by
tapirl
8y ago
Are there any cloud providers providing remote disks without replications? It looks such needs are popular for deploying databases in which replications are maintained by the databases themselves.
525.
▲
by
tapirl
9y ago
What about you have ever used another of your emails, without any dots, to register as a netfix user?
526.
▲
by
tapirl
9y ago
The opinion of the author is ridiculous. What about someone use your email, without dots, to register as a netfix user?
527.
▲
Go Channel Use Cases
(go101.org)
3 points
by
tapirl
9y ago
|
0 comments
528.
▲
Go 101 – a book focusing on Go syntaxes and semantics
(github.com)
2 points
by
tapirl
9y ago
|
0 comments
529.
▲
by
tapirl
9y ago
If Google gives up Java for Android now, Java will drop out of top-5 languages in 5 years.
530.
▲
by
tapirl
9y ago
What are the differences to Intel Larrabee?
531.
▲
by
tapirl
9y ago
The optimization made by gc is only valid for the form: s0 + s1 + .... + sn.
532.
▲
by
tapirl
9y ago
I would mention that, gc (the official Go compiler) makes special optimization for string concatenation operation (+). If the number of strings to be concatenated is known at compile time, using + to concatenate strings is the most efficien
533.
▲
by
tapirl
9y ago
@cshenton 's answer is not perfect. The "var u = 1.0<<s" in go spec is illegal is because s is a variable, so 1.0 will be deduced as a flaot64. However, in "x[1.0 << s]", s is a constant, so 1.0 will be
534.
▲
DigitalOcean doubles all plan memory for free, and provides more plan options
(digitalocean.com)
56 points
by
tapirl
9y ago
|
17 comments
535.
▲
by
tapirl
9y ago
Yes, one principle of Go design is try to use as few syntaxes/concepts as possible to support as many use cases/features as possible.
536.
▲
by
tapirl
9y ago
I feel raw channels provide more possibilities than Actor model. In fact, you can build such an Actor model by warpping CSP channels. It is not too hard.
537.
▲
by
tapirl
9y ago
This is called trade-off. The reality world is never perfect.
538.
▲
by
tapirl
9y ago
What are the differences between raw CSP primitives and ull-fledged actor model?
539.
▲
by
tapirl
9y ago
The pragmas in Go are not intended to be used in general user code. They should be only used in Go runtime implementation and standard packages. The pragmas in Go are just some hints for compilers. Compilers will ignore many of the pragmas
540.
▲
by
tapirl
9y ago
cool! Included here: https://www.tapirgames.com/blog/open-source-physics-engines
More ›