Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
taffer
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
40 ms
·
421.
▲
by
taffer
8y ago
> The German national train service was mostly privatised in 1994, because of the public cost. This is wrong. Deutsche Bahn is 100 % owned by the Federal Republic of Germany: https://www.deutschebahn.com/en/investor_
422.
▲
by
taffer
8y ago
> You can't have two trains leave the same station and arrive at the same destination as the same time. To what extent is this a prerequisite for competition? The hour has 60 minutes, there is no need for all trains to depart and ar
423.
▲
by
taffer
8y ago
The comparison of GDP with revenue is a comparison of apples with oranges. The GDP is the sum of all values created in an economy, the turnover is just how much stuff was moved around. A better comparison would be GDP vs. value added. For e
424.
▲
by
taffer
8y ago
I think this is really beautiful.
425.
▲
by
taffer
8y ago
There is also PostGraphile to turn your DB into a GraphQL API: https://www.graphile.org/postgraphile/
426.
▲
by
taffer
8y ago
> Approximately everyone became rich by using industrial policy: read Kicking Away the Ladder for detailed historical research. You're confusing correlation with causality. The reason why many countries became rich while pursuing in
427.
▲
by
taffer
8y ago
Just because we can't predict the future doesn't mean we shouldn't try to estimate things. If we wanted 100% certainty, we'd have to throw away pretty much all science and human knowledge.
428.
▲
by
taffer
8y ago
> Hence, in this system, a policy which reduces wealth inequality is one that makes the rich richer. Seems like a variant of the Liar's paradox. Assuming that the betting market is only a tiny fraction of the overall economy, its im
429.
▲
by
taffer
8y ago
The ignorant part is blaming Mexicans, Chinese or cyclists when reality is much more complicated than that. Building a wall won't improve healthcare, and insulting diplomatic partners won't return manufacturing jobs.
430.
▲
by
taffer
8y ago
> The problem with economics is the money riding on it. If one day the consensus becomes "raising the minimum wage by $5 only impacts profit; it doesn't impact employment" then a lot of very rich people stand to lose a lot
431.
▲
by
taffer
8y ago
And some physicians get mad at homeopaths. So what?
432.
▲
by
taffer
8y ago
Can biologists or paleontologists forecast evolution? Can meteorologists forecast the weather in four months? > Vaccine did in fact significantly reduce or even eradicate some diseases. The track record of predictions out of economics i
433.
▲
by
taffer
8y ago
Microeconomists and behavioural economists do indeed conduct repeatable experiments. This is more difficult for macroeconomists, of course, but the same is true for many sciences, such as theoretical physics, climate science or much of biol
434.
▲
by
taffer
8y ago
> Go ahead poke at Milton Friedman and watch them get really hot under the collar. Who is them ? Do you think economics hasn't made any progress sice the 1970s and everyone is a paleomonetarist?
435.
▲
by
taffer
8y ago
And that is exactly what so called climate sceptics say about climate science or what antivaxxers say about conventional medicine.
436.
▲
by
taffer
8y ago
Who are you to decide what is science and what isn't? What is your model of what a science is anyway? As long as you can't answer that, the only thing unscientific is your comment.
437.
▲
by
taffer
8y ago
I think you misunderstood how timestamps work in PostgreSQL. Timestamptz is always saved as UTC. Only in exceptional cases where you need to store something in local time, such as a scheduled event that is not in UTC, you should use the tim
438.
▲
by
taffer
8y ago
Probably great-circle distance.
439.
▲
by
taffer
8y ago
Or you can use something like Postgrest: http://postgrest.org
440.
▲
by
taffer
8y ago
There is AgensGraph, but it seems to be a fork, not an extension.
441.
▲
by
taffer
8y ago
For time series there is the Timescale extension for PostgreSQL.
442.
▲
by
taffer
8y ago
OS/400 was also a very interesting and well designed system.
443.
▲
by
taffer
8y ago
You could probably combine Timescale with Citus, but I don't know if anyone has tried it yet.
444.
▲
by
taffer
8y ago
Relevant discussion on this topic: https://news.ycombinator.com/item?id=18425923
445.
▲
by
taffer
8y ago
The notion that the connection pool should be kept small also applies to other databases, such as Oracle: https://www.youtube.com/watch?v=xNDnVOCdvQ0
446.
▲
by
taffer
8y ago
> That's only true if your transactions are all busy most of the time. And this is actually what you want from a performance point of view: Reduce the number of roundtrips and keep your transactions as short as possible. Once a tran
447.
▲
by
taffer
8y ago
I don't know how MySQL behaves in this regard, but in Postgres the number of transactions the system can run concurrently is roughly limited by the number of CPUs you have available. At some point adding more sessions just means that y
448.
▲
by
taffer
8y ago
> let the compiler/VM take care of whether a piece of data is persistent or not I'm not sure if I understand what you mean. If a user starts a session and writes a value to a variable, how does the computer know whether the val
449.
▲
by
taffer
8y ago
Eventual consistency makes everything even more complicated and I am by far not the only one who says so [1]. [1]: https://cloud.google.com/blog/products/gcp/why-you-should-pi...
450.
▲
by
taffer
8y ago
> Essentially all applications that are performance-sensitive use a stored-procedure interface to run application logic inside the DBMS and avoid the crippling overhead of back-and-forth communication between the application and the DBMS
More ›