Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
divan
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
68 ms
·
841.
▲
by
divan
8y ago
Which part of a for loop is unreadable?
842.
▲
by
divan
9y ago
Is this the same technique described in this old TED video? https://www.ted.com/talks/paul_rothemund_details_dna_folding
843.
▲
by
divan
9y ago
Nice read. One thing I would definitely want to have in my hand is a hardware cryptocurrency wallet, but that'll require power source and some interaction interface. However, existing microchip implants can be used to increase security
844.
▲
by
divan
9y ago
Can you elaborate on what do you mean by "complex business logic"? Any examples?
845.
▲
by
divan
9y ago
It sounds like "going to youtube.com changes reflections from you monitor on the wall" to me. Correct me if I'm wrong, but brain waves really don't explain anything and their empirical correspondence to some kinds of act
846.
▲
by
divan
9y ago
Yes, Go is unsuitable for writing this: https://twitter.com/philwinkle/status/688441014160355328/pho... But it perfectly allows you to model complex real-life processes, and in a way much better than traditio
847.
▲
Matcha - iOS and Android UI apps in Go
(github.com)
2 points
by
divan
9y ago
|
0 comments
848.
▲
by
divan
9y ago
NPR's podcasts: - How I Built This - Planet Money - Ted Radio Hour - AltLatino - 99% invisible - Hanselminutes - GoTime NPR's podcasts (and How I Built This especially) is of incredible quality - they even write music for eac
849.
▲
by
divan
9y ago
I think it's worth to see how this experiment will work out in practice. Go's concurrent GC has predictable pauses less then <100 microseconds (not milli-) even on large heaps (>50GB) and heavy objects allocation pattern. I
850.
▲
by
divan
9y ago
Thanks. Yeah, pretty much a lot of CAP related problems are about choosing right trade offs..
851.
▲
Ask HN: What are the smartest trade-offs you know in software?
1 points
by
divan
9y ago
|
2 comments
852.
▲
by
divan
9y ago
Good example of Goodhart's law: "When a measure becomes a target, it ceases to be a good measure." https://en.wikipedia.org/wiki/Goodhart%27s_law
853.
▲
by
divan
10y ago
I'm using Paper for 2+ years now, including for some team projects, and it literally makes me want to write docs and documentation.
854.
▲
by
divan
10y ago
Well, from my 15 years experience for each nice example of ternary operator being useful there are 10 more examples where it's being used improperly and makes code hardly readable. I know that the typical answer is "it's just
855.
▲
by
divan
10y ago
Changing the language is like changing the country residence. Some things take long time to get used to, unless you're highly mobile traveller :) I couldn't imagine myself returning to languages with exceptions and ternary operato
856.
▲
Apple shows ambition to get into self-driving car race
(reuters.com)
19 points
by
divan
10y ago
|
5 comments
857.
▲
How to avoid Go gotchas
(medium.com)
3 points
by
divan
10y ago
|
0 comments
858.
▲
by
divan
10y ago
https://arxiv.org/pdf/1504.02578.pdf
859.
▲
by
divan
10y ago
Golang compiler produces static binary files, so you don't need install anything. Just run the binary.
860.
▲
by
divan
10y ago
> Despite the huge success of deep neural networks, nobody is quite sure how they achieve their success. Is that true? After reading Jeff Hawkings - "On intelligence" book (2004), for me it's pretty much clear why they are
861.
▲
by
divan
10y ago
> Go is a language that pushes remembering corner cases and failure conditions onto the programmer Can you elaborate on this? I write go for 3+ years and I have no idea what corner cases and failure conditions do you mean.
862.
▲
by
divan
10y ago
Hence, the "sometimes" word.
863.
▲
by
divan
11y ago
After some polishing and testing on large projects, it will probably will be submitted.
864.
▲
by
divan
11y ago
Yep!
865.
▲
by
divan
11y ago
It's not a low-level systems language in traditional view of what "system" is. For Google, "system" is a cloud, not the hardware, so take it from this perspective. By the way, here is a nice video of Q&A session
866.
▲
LeftPad and Go: can tooling help?
(divan.github.io)
119 points
by
divan
11y ago
|
59 comments
867.
▲
by
divan
11y ago
Hah. "Begging" is close :) He wasn't a speaker, but asked for a mic and started 15min speech for the newcomers, explaining that "Go has no immutable types", "channels cannot solve all the problems", "
868.
▲
by
divan
11y ago
This post is from Sep 2014. I know the author, he's a nice guy, but when he was at Golang Meetup, he was desperately trying to convince people to switch to Clojure. It's all you have to know about the bias of this article.
869.
▲
by
divan
11y ago
It's not actually a leak. It's a program explicitly doing 'run goroutine and don't care of it anymore'. If the program logic wants this - it's ok. If author wants it to finish on some condition, but didn't
870.
▲
by
divan
11y ago
I didn't get the point of example with Game and Player. The code behaves exactly how it's told to. If you need some logic to handle conditions where all players have been disconnected - you should implement it, no matter how. Mayb
More ›