Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
smitherfield
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
10 ms
·
31.
▲
by
smitherfield
8y ago
I think that's his point; cloud is often network-bound, which can be orders of magnitude more costly.
32.
▲
by
smitherfield
8y ago
Nope.
33.
▲
by
smitherfield
8y ago
Expected in October along with a new iPad Pro and iMac. It's been some time since they launched any new Macs at an iPhone event.
34.
▲
by
smitherfield
8y ago
When the original iPhone launched there was no other product like it; nowadays they need to be able to compete with Android on price.
35.
▲
by
smitherfield
8y ago
There is no "iPad Max"?
36.
▲
by
smitherfield
8y ago
Good customer service lesson here: Apple should've offered either a refund or to mail him the Blu-rays of the movies. I imagine this is a rare enough scenario they can easily afford for that to be their default response to such a suppo
37.
▲
by
smitherfield
8y ago
>A third of all airline traffic is handled by systems that run SICStus Prolog But are those systems responsible for all the I.T. problems that are plaguing the industry?[1] (I've been under the impression the issues were primarily
38.
▲
by
smitherfield
8y ago
Yeah, the burden is on the buyer not to purchase stolen goods. The manufacturer is certainly under no obligation to support them. In many states even unknowing possession of stolen goods is a crime, so many of the "users" here are
39.
▲
by
smitherfield
8y ago
>How long did it take the rest of the industry to catch up to the Mac from ‘84? The Amiga was '85. It did take a while for PC-compatibles, of course.
40.
▲
by
smitherfield
8y ago
"As before, values stored on the stack are scanned conservatively" Why would values on the stack be garbage-collected at all? Do they mean scanning the stack for live references?
41.
▲
by
smitherfield
8y ago
Nobody tell Oracle! https://github.com/WebKit/webkit/search?q=JavaScript
42.
▲
by
smitherfield
9y ago
That requires including the header. It's probably included in one of the other headers you included, but that's not required by the standard.
43.
▲
by
smitherfield
9y ago
> <initializer_list> is "built-in" You still need to include the header for any of the following: 1. Constructors (or functions) with `initializer_list` parameters. template<typename T> struct S { ve
44.
▲
by
smitherfield
9y ago
Allegedly, the quality of STL <regex> implementations leaves much to be desired.
45.
▲
by
smitherfield
9y ago
The NTSB report says that it was the former, they were available but the captain had not configured the software settings to receive the hourly reports. (Obviously, and hindsight is 20-20, hourly should've been the default).
46.
▲
by
smitherfield
9y ago
It's virtually impossible to win a libel case against a news media organization in the US. If you're a "public figure" (and if more than one media org ran a story about some event involving you, the court will likely fin
47.
▲
by
smitherfield
9y ago
Nope, template type deduction never implicitly converts: https://godbolt.org/g/stZBK1
48.
▲
by
smitherfield
9y ago
Does it compile the Linux kernel? ;)
49.
▲
by
smitherfield
9y ago
No it doesn't, which is one of the major advantages it has over the C version; you have to do an explicit cast when the args are different types (almost always a potential source of subtle bugs). Or what edflsafoiewq said: https:/
50.
▲
by
smitherfield
9y ago
That one-liner I posted works with both constant and non-constant expressions (and in fact is more likely to be evaluated at compile-time than the macro), is type-safe, and has no side effects assuming both arguments are arithmetic types or
51.
▲
by
smitherfield
9y ago
For Linux kernel purposes the following one-liner would suffice template<class T> constexpr T max(T l, T r) {return l < r ? r : l;}
52.
▲
by
smitherfield
9y ago
> [It] could be a load of crap and out of context falsehoods, written by authors who have an interest in raising the cap in Kansas. That looks like an accurate description. First of all, by the author's own admission, Rep. Schwab
53.
▲
by
smitherfield
9y ago
The owner was just arrested as well,[1] and I'd bet that more will follow. My guess is the director of operations will get a plea deal in exchange for testifying against the others. [1] http://www.kansascity.com/news&#x
54.
▲
by
smitherfield
9y ago
With notable exceptions (e.g. Therac-25, or self-driving cars) most of us have the luxury of working in spaces where mistakes may be annoying or costly, but not deadly.
55.
▲
by
smitherfield
9y ago
>However, OEM computer manufacturers are a whole different story altogether. This is where AMD might get hurt by GPP. You see, GPP doesn't only apply to AIB manufacturers, it also applies to OEMs such as Dell, Apple, Lenovo or HP.
56.
▲
by
smitherfield
9y ago
By causing them to have very large terms (numerators and denominators).
57.
▲
by
smitherfield
9y ago
And before someone says "hyperinflation," you could also store world GDP in nano-Zimbabwean dollars (with 1 USD = 6.69e11 ZWL).
58.
▲
by
smitherfield
9y ago
Rational arithmetic is not a good choice for money, since applications that deal with money probably involve user input and so can be trivially DOS-ed. Money should use decimal arithmetic, like COBOL. If it's good enough for banks, it&
59.
▲
by
smitherfield
9y ago
Agreed. Minor quibble: >This is a poor argument; the same could be said for almost all control flow statements: if/else It's technically possible to implement if/else (and loop conditions) with unconditional jumps and of
60.
▲
by
smitherfield
9y ago
`ssize_t` isn't standard C++ (it is required by POSIX); `ptrdiff_t` is only one character fewer than `gsl::index`.
More ›