davidnc's comments

davidnc | 3 months ago | on: OpenAI declares 'code red' as Google catches up in AI race

I was curious about this - if my Google results are accurate, it looks like the stock actually peaked in June 2007, the same month that the iphone was released.

It seems that Blackberry's market share of new phone sales peaked at 20% in 2009. So I'm not sure if it's coincidence, but it looks like the market actually did a pretty good job of pricing in the iphone/android risk well before it was strongly reflected in sales.

davidnc | 6 months ago | on: Prime Number Grid

This comment does a great job of clarifying the picture: https://news.ycombinator.com/item?id=17106193.

It's effectively a visualization of gcd(x,y), and has almost nothing to do with primes. Once you realize that, it's a lot easier to reason about a lot of the patterns, although it is still a pretty interesting visualization.

davidnc | 6 years ago | on: Why should I always enable compiler warnings?

Note that the answer was written by the asker. Who then commented on the answer:

> I have posted this Q&A because I'm sick and tired of telling people to enable warnings. Now I can just point them here (or, if I'm in a particularly evil mood, close their question as a dupe). You are welcome to improve this answer or add your own.

davidnc | 9 years ago | on: A Moneymaking Machine Like Few Others

I'm curious to know what the original statement was that got mangled into this. Maybe the author heard ASCII instead of C? Not sure where numbercentric would come in, though.

davidnc | 10 years ago | on: A bit of background for the unified C++ call proposal

The paper "Unified Call Concerns" (linked at the end of the post) describes the issue in a bit more detail: you might write f(X x, Y y), knowing that X doesn't have a member function f, and call it with x.f(y). If a new version of the library extends X's API to include the member f(Y y), your code will suddenly start calling the member instead of the original non-member function.

As he mentions in that paper, this isn't likely to be a common issue, so I'm with the general consensus that it seems unfortunate that the feature wasn't adopted.

page 1