Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
RyanCavanaugh
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
10 ms
·
91.
▲
by
RyanCavanaugh
8y ago
That quote is the crux of it when you pair it with this other section: "In addition, the operator is responsible for monitoring diagnostic messages that appear on an interface in the center stack of the vehicle dash and tagging events
92.
▲
by
RyanCavanaugh
8y ago
A pedestrian dies every 1.6 hours in traffic accidents in the United States. 129,000 go to the ER every year (note that the bicycle number is all injuries, not just those requiring ER treatment). Walking is more dangerous on a per-trip ba
93.
▲
by
RyanCavanaugh
9y ago
"Will it be easy for a computer to prove that my API is being called correctly?" is not a question that JavaScript library authors seem to give any thought whatsoever to
94.
▲
by
RyanCavanaugh
9y ago
It's not like it fails on a 1d20 roll. Most unsound languages will only cause runtime problems if you are proactively trying to construct things which defeat the type system.
95.
▲
by
RyanCavanaugh
9y ago
Unsoundness is important because soundness and expressiveness come at a trade-off. Here's some code which is syntactically legal in both TypeScript and Flow, but the languages disagree on whether a type error is present: type T = {
96.
▲
by
RyanCavanaugh
9y ago
Sometimes the law prohibits things that aren't morally wrong. For example, it's illegal to structure bank transfers to avoid reporting thresholds, even if there is no underlying crime. This is a reality. You're highlighting t
97.
▲
by
RyanCavanaugh
9y ago
It's as much a picture of an atom as a picture of an energized light bulb filament is a picture of a light bulb filament. I don't think anyone would say the latter is "technically" not what it is.
98.
▲
by
RyanCavanaugh
9y ago
Re: sibling comment, citing high wages in SF as evidence that cost of living pushes up wages is getting the direction of causation at least 50% wrong. You might equally say that owning a Rolex increases your income, since it seems most peop
99.
▲
by
RyanCavanaugh
9y ago
Note that this only establishes an no-arbitrage ceiling on BTC valuation, not a target or a floor. Hand-knitting a sweater takes about 30 hours. So if you can readily hire people to knit at $20/hour and sell the sweater for over $600,
100.
▲
by
RyanCavanaugh
9y ago
I do some of the feature planning / prioritization for TypeScript. The strict class property initialization check was the one of the highest-voted, most-commented, and most-duped "unfixed" issues on the issue tracker. Definit
101.
▲
by
RyanCavanaugh
9y ago
You've confused fundamental value with fundamental cost. A hand-knit sweater will not necessarily (or even usually ) fetch a selling price equal to the input value of the labor that went into it. There are many endeavors which produ
102.
▲
by
RyanCavanaugh
9y ago
You still don't know whether or not the phone is actually listening. This is even worse on cell phones because you can't easily insert something like WireShark between your cell phone and the data network. Untrusted microphones
103.
▲
by
RyanCavanaugh
9y ago
The "median" here samples 16-year-olds in high school, retired people, stay-at-home parents, voluntarily part-time workers, and many others who we would expect to have little or no income. Among full-time workers, as reported by t
104.
▲
by
RyanCavanaugh
9y ago
The comment was perhaps a satirical take on the "BTC as investment" philosophy's implied endgame.
105.
▲
by
RyanCavanaugh
9y ago
> Do people claim that forex is not investing? Yes, all the time. It's clearly speculation (in the technical sense)
106.
▲
by
RyanCavanaugh
9y ago
The entire profit motive from Bitcoin "investing" comes from selling it to another human for more than you bought it for. They're digital Beanie Babies. Real investments have a return derived from capital. A house, for exampl
107.
▲
by
RyanCavanaugh
9y ago
99% of Bitcoins are being held by people expecting to sell it to someone else for more than they bought it for. That doesn't seem to be changing. You just have to do a calculation involving the number of people on the planet to figure
108.
▲
by
RyanCavanaugh
9y ago
> Typescript adds types (and requires programmers to keep them in mind.) Programs without TypeScript also require programmers to keep types in mind - it's just that those in those programs there's no way for a computer to verif
109.
▲
by
RyanCavanaugh
9y ago
TypeScript has used structural typing since the beginning. Classes used to be nominal, but changed to structural (except for classes with private fields) at some point.
110.
▲
by
RyanCavanaugh
9y ago
The only mainstream language I'm aware of (having looked into this before because someone complained about it re: TypeScript) that disallows cross-instance private access is Ruby.
111.
▲
by
RyanCavanaugh
9y ago
If you want to have the reverse map, you can trivially build it yourself. But if the reverse map did exist (rather, if the map started off as bidirectional, which is the only option on the table), it'd be impossible to properly constru
112.
▲
by
RyanCavanaugh
9y ago
If there were a reverse map like for numeric enums, there'd be no way to (at runtime) distinguish a Name from a Value. With a numeric enum you can use typeof Test[x] to figure out if x was a valid Name or valid Value, but this doesn&#x
113.
▲
by
RyanCavanaugh
9y ago
Nit: TypeScript predated flow by 2 years.
114.
▲
by
RyanCavanaugh
9y ago
Flowtype isn't sound either. I don't know where this misapprehension comes from or why people keep repeating it; if you simply try to induce an unsoundness in Flow you'll succeed after about 30 seconds of trying. An actual so
115.
▲
by
RyanCavanaugh
9y ago
Nice satire, but to truly be on point he needs to do the kind of willfully-ignorant accounting that claims someone maxing out their 401(k) and putting another $40k/year into a retirement account is "after expenses, left with no ex
116.
▲
by
RyanCavanaugh
9y ago
Isn't this just the strictNullChecks flag?
117.
▲
by
RyanCavanaugh
9y ago
I'm waiting for the part where we find out the contents of the packets are from bottles of Odwalla purchased at the local grocery store.
118.
▲
by
RyanCavanaugh
9y ago
I've been in boarding areas where this happened. The offer started at $400 and ended up at $1,000 by the time they got enough people to accept. No one was outraged (and I was quite happy to get 2x$1,000 in vouchers in exchange for a mi
119.
▲
by
RyanCavanaugh
9y ago
You can read the law and it's quite clear. https://www.law.cornell.edu/cfr/text/14/250.2b Carriers to request volunteers for denied boarding. In the event of an oversold flight, every carrier shall reque
120.
▲
by
RyanCavanaugh
9y ago
There is no regulatory cap for voluntary payments. From the law: > A “volunteer” is a person who responds to the carrier's request for volunteers and who willingly accepts the carriers' offer of compensation, in any amount, i
More ›