Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
thwd
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
8 ms
·
1.
▲
by
thwd
2y ago
It's a write-only language.
2.
▲
by
thwd
2y ago
Agreed. Once long (10+ years) ago, google3 may have been peak codebase. Nowadays, not so much. Edit: I guess it also depends at what level of abstraction you work. High: can be easy breezy. Low: oh boy.
3.
▲
by
thwd
3y ago
Well, I can't speak for you, of course. I also haven't seen that code you reviewed. And I won't try to evangelize you. I'd say, in a nutshell, that Go is readable and reviewable because its grammar consists of the C-styl
4.
▲
by
thwd
3y ago
Huh? Go has its tradeoffs, some people don't like it and that's fine. But nobody can deny that it is by far one of the most 'readable and reviewable' (the argument in question) mainstream languages.
5.
▲
by
thwd
4y ago
Merging as a one-keyword feature for all flavors of SQL is almost impossible. It gets hairy when you have columns with composite types. E.g. depending on database, records can be JSON objects, protobufs, structs, or other composite types, l
6.
▲
by
thwd
4y ago
Some databases like ArangoDB ( https://www.arangodb.com/ ) allow you to use Javascript instead of SQL. However, using a type-unsafe (read weak typing), turing-complete language introduces the usual problems we know and love,
7.
▲
by
thwd
4y ago
Gravity is infinite at the singularity (the middle of the black hole). Everything gravitates towards that point. Our best understanding is that no information can exist here. Black holes "evaporate" over time -- by emitting Hawkin
8.
▲
by
thwd
4y ago
Go solves 99% of the problem quite nicely. You don't often deref pointers in Go, because of auto-addressing. E.g. there's no arrow operator as in C, the dot derefs when necessary. I would say `v := (p.)` could've been the der
9.
▲
by
thwd
5y ago
I understand and agree but read carefully. The assumption _is_ the (entire) hypothesis. It is not existentially quantified or set in the base-case. It is the entire hypothesis.
10.
▲
by
thwd
5y ago
> We will show, by induction, that [for all sets] of n horses, every horse in [each] set has the same color. > Now [assume that] for all sets of n horses, every horse in [each] set has the same color. QED. This is just tautology. No f
11.
▲
by
thwd
5y ago
That's only if you equate the recruiter to a minimum wage worker and yourself to their customer. There's a superiority bias in that rhetoric. The recruiter is a well-employed tech worker. And you're not their client or superi
12.
▲
by
thwd
5y ago
Personal opinion: Google carefully treads the gray lines of legality and morals/ethics. Facebook leadership, on the other hand, decided a long time ago that they care about legality only. They seem very proud of that decision, too.
13.
▲
by
thwd
6y ago
You have a box with random garbage in it. I have a box with a football in it. We entangle the football and the garbage. You stand far away from me. If you randomly open your box now, you may either see a football or random garbage. If I cal
14.
▲
by
thwd
7y ago
"The Bank Behind High-Interest Loan Apps"
15.
▲
by
thwd
7y ago
Good prose often involves misdirection. Making the reader believe something to be one way, while it was something else all along. Then, in a built up climax, undo the knot in a single pull to blow the reader's mind. That, to me, is the
16.
▲
by
thwd
7y ago
They're saying that both of those expressions are valid, not equivalent. SELECT count(star) FROM table and SELECT star FROM table Are both valid, not equivalent. Furthermore, listing any kind of set depends on some ordering, be it rand
17.
▲
by
thwd
7y ago
It's much easier! Just call ethereum's `crypto.ToECDSA` [1] with a big-endian encoded 256-bit unsigned integer of interest, e.g. 0x1 or 0x100, as described in the article. Try the resulting private key. [1] https://godo
18.
▲
by
thwd
7y ago
But why? Why create a tool that does `git status` 10x faster?
19.
▲
by
thwd
8y ago
Array-indexing in C and C++ _is_ pointer arithmetic! It's syntactic sugar. Array-indexing in safe languages is bound checked iff the compiler can't prove the index value to always be in-bounds.
20.
▲
by
thwd
8y ago
Pointer arithmetic is abstracted away for _safety_, not convenience. You can read about in e.g. Go's FAQ. https://stackoverflow.com/questions/32700999/pointer-arithme...
21.
▲
by
thwd
8y ago
HTTP/2 is only necessary if you want to stream, most of gRPC can be implemented over traditional request/response cycles.
22.
▲
by
thwd
8y ago
Note that trailers have existed since HTTP 1.1.
23.
▲
by
thwd
8y ago
In the comparison with Ethereum: invoking a smart contract function does not require value transfer beyond gas (transaction cost). Most such calls carry no ether attached, this is how it's supposed to be.
24.
▲
by
thwd
8y ago
AFAIK Tether is always liquid because the coins are minted on-demand. There is never scarcity. No incentive to provide immediacy.
25.
▲
by
thwd
8y ago
This! Nobody that uses Tether wants it to be more or less than exactly 1 USD. Its value (its utility, its function) is to equal 1 USD. Anyone placing an order way above or below 1 USD can expect it to never fille and even if it did, the mar
26.
▲
by
thwd
8y ago
Darkpool orders don't show while pending but once filled they show in the historical trades dataset.
27.
▲
by
thwd
8y ago
It's 'Tensor Processing Unit' as far as I know.
28.
▲
by
thwd
8y ago
This. And it's written in a cancerous SEO-advertising prose, spelling out "The League" verbatim once every paragraph. > But the med student says he prefers Tinder, a site with a reputation for facilitating hookups, and the
29.
▲
by
thwd
9y ago
http://db.cs.berkeley.edu/jmh/papers/anna_ieee18.pdf
30.
▲
by
thwd
9y ago
This looks like the work of a schizophrenic. It sounds demeaning but I've seen similarly "encoded" messages, often around some common item (like a cigarette pack). They write them during psychosis and later find them and obse
More ›