Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
pg314
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
26 ms
·
211.
▲
by
pg314
9y ago
The Washington Post, New York Times, Wall Street Journal, The Economist are all behind partial or full pay-walls. I'm not sure that a subscription is outdated. It still makes sense for a bunch of editors to make a selection of what is
212.
▲
by
pg314
9y ago
Isn't that what we have currently? Quality journalism seems hard to pull off with only online ads. Most of it nowadays is supported by subscriptions and/or print editions. They help subsidize free access to some of the content.
213.
▲
by
pg314
9y ago
> No consumer wants to buy a car made by Apple. Why not? Have you seen it?
214.
▲
by
pg314
9y ago
I have the Garmin Forerunner 620, and I will buy a cheaper model next time. I have found the recovery indication useless (see comment above).
215.
▲
by
pg314
9y ago
I have found the recovery indication in the Garmin Forerunner 620 useless. I'm not sure it even really looks at HRV. As far as I can tell, it only looks at the intensity of the previous workouts. Case in point: if you do a workout wit
216.
▲
by
pg314
9y ago
100+ mile weeks are not that hard. It all depends on how fast you run them. There's a world of difference between running them at 8 minutes a mile and 5-6 minutes a mile. I've run multiple months of consecutive 100 mile weeks, but
217.
▲
by
pg314
9y ago
That has been the case for the last 10 years. A module system for C++ is long overdue.
218.
▲
by
pg314
9y ago
> qsort might be general in the element type, but not in the container type. That is a clear advantage of C++. > Also without LTO it will be very expensive as it cannot inline the compare function call. Templates force you to expose t
219.
▲
by
pg314
9y ago
> Good luck chasing bugs then, though. qsort() will be totally happy comparing apples to oranges - aka there is zero type safety. That's a fair point. However, I do not tend to make many of the mistakes that would be caught by the C
220.
▲
by
pg314
9y ago
There are indeed trade-offs. But the comment I was replying to implied that you couldn't write a generic sort for all comparable types. That is wrong. Unsafer yes. But it's only slower because it's not being inlined. If the c
221.
▲
by
pg314
9y ago
> Templates, so you can write sort() function once, C has a generic sort: qsort [1] (or mergesort, heapsort or radixsort if you have specific requirements). [1] https://linux.die.net/man/3/qsort
222.
▲
by
pg314
10y ago
> not when the production of a solar panel costs more energy than it'll generate during its lifetime. That is no longer true [1]. [1] http://news.stanford.edu/news/2013/april/pv-net-energy-04021...
223.
▲
by
pg314
10y ago
As far as I can tell the link you provide argues exactly the opposite of what you're saying: > In a warmer future climate, there will be an increased risk of more intense, more frequent and longer-lasting heat waves. > In a wa
224.
▲
by
pg314
10y ago
You are likely to loose your shirt short-selling coastal property. For short-selling to be profitable, what you are short-selling should decrease in value, and do so rather quickly. The reason is that in the mean time you are required to re
225.
▲
by
pg314
10y ago
Any citations for that? Why would insurance companies like Munich Re be studying and preparing for climate change then [1]? [1] https://www.munichre.com/en/group/focus/climate-change/index...
226.
▲
by
pg314
10y ago
> MySQL works fine if you chiefly interact with your DB through an ORM or using basic queries. I ran into an issue [1] with MariaDB a year and a half ago: 'SELECT * FROM table' failed to return a large fraction of the rows of t
227.
▲
by
pg314
10y ago
Interesting perspective. Now I understand what you're saying. I think it would be dubious that private roads would require liability insurance. At present, liability insurance is only widespread because of regulation (i.e. a non-market
228.
▲
by
pg314
10y ago
Why do you think traffic accident victims are not reasonable examples of negative externalities of cars? As I mentioned elsewhere in this thread: 35.000 motor vehicle deaths in 2015 in the US alone [1]. According to the US department of tra
229.
▲
by
pg314
10y ago
Absolutely. My point was that none of those freedoms are absolute, and they should not be treated as if they were.
230.
▲
by
pg314
10y ago
> Traveling in a personal vehicle affords drastically more freedom of movement (you are literally in control of your movement) than any form of public transport and while it's not necessarily a need that should be subsidized by the
231.
▲
by
pg314
10y ago
What makes you think that markets would be any good at sorting things out? The externalities of car usage (such as air and noise pollution, traffic accident victims) are ignored by the free market. Furthermore, the 'traffic' marke
232.
▲
by
pg314
10y ago
Other externalities: more traffic, hence more noise, more pollution, more traffic accidents.
233.
▲
by
pg314
10y ago
Section 4.4 in Structure and Implementation of Computer Programs [1] presents an implementation of a Prolog-like logic programming language in Scheme. It is very instructive to contrast it to the meta-circular evaluator of Scheme in that sa
234.
▲
by
pg314
10y ago
At least some nuclear power plants where designed to withstand a plane crash. E.g. the one in Doel (Belgium) [1] (dutch link). [1] http://fanc.fgov.be/GED/00000000/2900/2954.pdf
235.
▲
by
pg314
10y ago
> Inflation occurs when the US government adds around $10 billion of money to the market every year though (they print money to replace existing / lost currency, but always over produce). The money gets "consumed" but the
236.
▲
by
pg314
10y ago
It's a trade-off between speed and accuracy. Not all software deals with real-world engineering problems, and there are plenty of applications where you would prefer accuracy. I'd rather make that trade-off myself than have the la
237.
▲
by
pg314
10y ago
You might not have anything to hide, but other people do. Their secrets can be used against them for leverage. Those other people could be your representative in congress, your lawyer, your judge, your employer,... Do you see the problem?
238.
▲
by
pg314
10y ago
I wouldn't call french unions weak. They are quite famous for their strikes. Here's an Economist blog post about them: http://www.economist.com/blogs/economist-explains/2014/03/ec...
239.
▲
by
pg314
10y ago
> a sign a techie is getting "old". Some of those "older" techies have gotten a wisdom that only comes with experience.
240.
▲
by
pg314
10y ago
As an illustration of how much code gets included (on macOS Sierra): $ echo "#include <iostream>" > foo.cpp $ g++ -E foo.cpp | wc 37799 104779 1280834 Including just iostream in a file means the compiler h
More ›