Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
tcard
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
9 ms
·
31.
▲
by
tcard
7y ago
> It seems to go completely against everything I've learned about people in my life. Have you ever met people with children? Generally, strict hours enable simple, well-defined coordination with others. You often _need_ that kind of
32.
▲
by
tcard
7y ago
A notable exception being Go modules, which do Minimal Version Selection [1], a much simpler approach. [1] https://research.swtch.com/vgo-mvs
33.
▲
by
tcard
7y ago
Wren doesn't use LLVM nor claims C-like performance. It's a (fast) dynamic, interpreted language.
34.
▲
by
tcard
8y ago
Both are worth every penny. They showcase delightfully a way of understanding and writing software, a kind of down-to-Earth simplicity aesthetics that is usually ditched in favor of sophistication. I believe we're mostly past the point
35.
▲
by
tcard
9y ago
Ugh, thanks. I've edited my comment.
36.
▲
by
tcard
9y ago
[Removed. I had linked to a fake tweet.]
37.
▲
by
tcard
9y ago
I'm not even arguing the Catalan government actions aren't _justified_, as the American Revolution may have been. My point is that the Spanish judiciary's reaction is just that of a normal, European, liberal democratic state
38.
▲
by
tcard
9y ago
I'm not a lawyer and I don't have an opinion on the Spanish government's or judicial system's concrete actions to stop a illegal law to take effect, but: the only websites, posters, etc. being seized are those paid for a
39.
▲
by
tcard
9y ago
> I can't recall ever seeing code like this in the wild, and if I ever saw it in a code review, I would certainly tell the author to rename the local variable. This is somewhat common in Go, specially when capturing a for-loop-scope
40.
▲
by
tcard
9y ago
A great take on this topic is a talk by Evan Czaplicki, creator of Elm, another functional language: Let's be mainstream! [1] The conclusions are more or less the same than the article, but Evan goes into a lot more depth. And in my op
41.
▲
by
tcard
9y ago
At the very least, you get as code reuse mechanisms: functions, ad hoc polymorphism via interfaces, struct and interface embedding, and reflection.
42.
▲
by
tcard
9y ago
The official compiler doesn't. Then there's llgo [0] and gollvm [1]. [0] https://github.com/go-llvm/llgo [1] https://go.googlesource.com/gollvm/
43.
▲
by
tcard
10y ago
Now that you mention Quake 3, this article [1] by John Carmack himself on the subject is interesting, and then someone reviewed the source code from Doom 3 [2] where apparently they put some of that in practice. [1] https://web.a
44.
▲
by
tcard
10y ago
Separation of concerns: the code handling the envelope doesn't need to know about the format of the payload. The JSON in that payload will only be encoded (on the sender) and decoded (on the recipient) once.
45.
▲
by
tcard
10y ago
I don't think this is misguided at all. I've heard right-wing people say work hours should be an employee-employer agreement that shouldn't concern the government. The author argues, quite civically in my opinion, that one ca
46.
▲
by
tcard
10y ago
It's not a feature for a user. If you're sharing a piece of code for the hacker (as in _Hacker_ News) community to check out, the language it's written in is definitely relevant.
47.
▲
by
tcard
10y ago
Yes. Disclaimer: I'm one of those. I started a degree, but dropped out. It was just a waste of time and money, "learning" and doing what they put before me, which often was outdated, badly presented, silly or plain wrong (thi
48.
▲
Show HN: SGo, a dialect of Go that avoids nil-related panics with optionals
(github.com)
30 points
by
tcard
11y ago
|
1 comments
49.
▲
by
tcard
11y ago
Not in this context. It's an old functional programming language that influences a whole family. https://en.wikipedia.org/wiki/ML_(programming_language)
50.
▲
by
tcard
11y ago
But that wasn't true either at the time of Go 1.1, nor ever I believe. It was the _default_ behavior to have a single core running at a time, but you could just tweak that with the [GOMAXPROCS]( https://godoc.org/runtime
51.
▲
by
tcard
11y ago
I found interesting what Rust's Graydon Hoare had to say about it: "It's very similar to earlier versions of rust. In terms of actor local GC, language provided scheduling of actors, separated function and async invocation sy
52.
▲
by
tcard
12y ago
I don't think so. It seems to me that they did a good job on the interface between Objective-C and Swift, so one could perfectly live without the other. Objective-C constructs are exposed as native Swift constructs.
53.
▲
by
tcard
13y ago
It is by design. All those work in the same direction: dest = src // Variable assignment. <-ch; // Read from channel. // in net/http type HandlerFunc func(w ResponseWriter, req *Reques
54.
▲
by
tcard
13y ago
As I understand it, he is pointing out that people who really get deep into using the language with a constructive purpose don't complain about such perceived issue. Also a pun against early judges. He wrote more about this here: http://co
55.
▲
by
tcard
14y ago
I'd bet Pike, Thompson and Griesemer, as Google developers themselves, knew Google's problems for developers even better than "Google as a corporate entity" would have. It's true that they weren't asked by anyone upstairs to face these prob
56.
▲
Extreme reading
(blog.fogus.me)
1 points
by
tcard
14y ago
|
0 comments
57.
▲
by
tcard
15y ago
It's just a shortcut, not essential. You have help links in each Markdown-capable textbox anyway.
58.
▲
by
tcard
15y ago
Those people could, you know, not use Google. But I bet there aren't/won't be many of those in practice.
59.
▲
by
tcard
15y ago
Out of curiosity, I made a comparison between the two towns where most of my photos are taken as seen in GMaps vs. OSM. http://cl.ly/133M1H3W2W362S2F0l13 http://cl.ly/2P2d3y042N1T0o2p390H 600k and 60k inhabitants respectively.
60.
▲
by
tcard
15y ago
A quick glance at the sources shows immediately what Go offers per se in terms of readability and maintainability. Go strongly encourages, even forces at compile time, certain style constraints that results in such a delightful code to expl
More ›