Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
BarkMore
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
8 ms
·
31.
▲
by
BarkMore
10y ago
Economics in One Lesson by Henry Hazlitt.
32.
▲
by
BarkMore
10y ago
Any change will be in the tools, not the language. The compatibility promise explicitly states that the tools can change ( https://golang.org/doc/go1compat#tools ).
33.
▲
by
BarkMore
10y ago
I understand that the tools will need to be changed, but what needs to be changed in the language? Because import paths are strings interpreted by the tools and not the language, there seems to be good separation between the language and i
34.
▲
by
BarkMore
11y ago
The phrase does not imply that the strategy is beneficial to the company. Microsoft employees often used the phrase when they thought the strategy is detrimental to an individual product and the company as a whole. Gates was directly respon
35.
▲
by
BarkMore
11y ago
Strategy tax is where an individual product is constrained in some way to further the overall goals of the company. For example, Microsoft killed a project to port SQL Server to Linux because the product would help to strengthen Linux as a
36.
▲
For Better or for Worse
(jmoiron.net)
57 points
by
BarkMore
11y ago
|
33 comments
37.
▲
by
BarkMore
12y ago
IE4 was the first browser with dynamic HTML (DHTML). Microsoft evangelized the combination of DHTML, Javascript and ActiveX data controls to build applications similar to what we now call AJAX. Microsoft was ignored for various reasons. Mic
38.
▲
by
BarkMore
12y ago
IE's HTML rendering code was completely replaced with the Trident rendering engine in IE 4. Trident did not use or derive from Mosaic code.
39.
▲
by
BarkMore
12y ago
I was going to suggest that you report this as an issue at https://github.com/golang/mobile , but issues are disabled on that repo.
40.
▲
by
BarkMore
12y ago
The jason package implementation decodes the entire JSON object to an interface{} using the standard encoding/json package.
41.
▲
by
BarkMore
12y ago
Passing a pointer to a struct is just one way to use the standard Go package. You can also pass a pointer to an interface{}, []interface{} or map[string]interface{} depending on how much of the structure you know. You can also use these ty
42.
▲
by
BarkMore
12y ago
GitHub has the meta tag on some, but not all of the pages where 'go get' expects to find the tag. An example of a page without the tag is https://github.com/golang/lint/golint?go-get=1 .
43.
▲
by
BarkMore
12y ago
It's interesting that GitHub added the meta tag given that 'go get' and similar tools like godoc.org don't look for the tag on GitHub. These tools have knowledge about GitHub baked in. Also, GitHub does not include the m
44.
▲
by
BarkMore
12y ago
It's possible to 'go get' this package using the import path "github.com/tobyhede/underscore.go/src". This import path does not follow Go conventions because the last element of the path is not the sa
45.
▲
by
BarkMore
12y ago
Also, the permission request to edit the wiki is a one time request. Once you have permission, you are free to edit the project page or any other page on the community wiki.
46.
▲
by
BarkMore
12y ago
A more comprehensive curated list: https://code.google.com/p/go-wiki/wiki/Projects A list with no curation: http://godoc.org/-/index
47.
▲
by
BarkMore
12y ago
Sending an email is not very onerous. Contributions to the go-wiki are welcome.
48.
▲
by
BarkMore
12y ago
The mechanism for specifying visibility has nothing to do with the issue. The Java approach for standard packages is nearly identical to what's proposed for Go. Anything in the com.sun. (or whatever they call it now) namespace is consi
49.
▲
by
BarkMore
12y ago
Which languages have solved this problem?
50.
▲
by
BarkMore
12y ago
Backwards compatible changes to the language is allowed in Go 1.x.
51.
▲
by
BarkMore
12y ago
The statement value, err := redis.Integer(client.Do("GET", "mykey")) sets the int variable "value" to the decimal integer stored in "mykey". The variable err is set to a non-nil value if the
52.
▲
by
BarkMore
13y ago
See http://blog.golang.org/godoc-documenting-go-code for Go documentation guidelines. Use the godoc tool included with the Go distribution to read package documentation locally. Use godoc.org to view documentation on the we
53.
▲
by
BarkMore
13y ago
The type bytesHandler is a slice of bytes: type bytesHandler []byte The code func (h bytesHandler) ServeHTTP(w http.ResponseWriter, req *http.Request) { w.Write(h) } is a method declaration for the type bytesHandler.
54.
▲
by
BarkMore
13y ago
Go's := (short variable declaration) is closer to Erlang's => (introduce a new key) then it is to Erlang's := (update an existing key).
55.
▲
by
BarkMore
13y ago
The html/template package seems to address the use case, but it comes up short in several ways. One example is defining a site template with sections that are optionally specified in a page specific template.
56.
▲
by
BarkMore
13y ago
Go does not generate code at runtime.
57.
▲
Snapchat, the nonhack, and how to fix it
(bramcohen.com)
8 points
by
BarkMore
13y ago
|
0 comments
58.
▲
by
BarkMore
13y ago
If all you want is binding to port 80/443, then it's simpler to use iptable port forwarding than Nginx.
59.
▲
by
BarkMore
13y ago
The App Engine tools use GOPATH.
60.
▲
by
BarkMore
13y ago
This is not the recommended way to run Go applications, including those using Martini. Use "go build" or "go install" to build a binary and then execute the binary.
More ›