News for hackers. Stuff that matters.

davidnc

Re:How Big Are Factorials? on Wednesday September 16, 2026 @03:41PM (#49731881)
For another perspective, 52! is roughly the number of atoms in a galaxy. Galaxies are really quite large!
Re:OpenAI declares 'code red' as Google catches up in AI race on Tuesday December 02, 2025 @07:41PM (#46128891)
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.

Re:Prime Number Grid on Tuesday August 19, 2025 @09:54AM (#44951571)
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.

Re:A Big Small Leap Forward in Graph Theory on Monday December 11, 2023 @11:42AM (#38602117)
There's still a red clique. And changing any of those 3 to blue crates a blue clique.
https://en.m.wikipedia.org/wiki/Radix_economy

The idea is that if it costs $r to store a base-r digit, then base 3 (or e in a continuous scale) turns out to be the most efficient. Obviously, there's no a priori reason to think that a 3-level gate is exactly 1.5x more expensive than a 2-level gate, so this is mostly of theoretical interest.

Re:Why should I always enable compiler warnings? on Friday October 04, 2019 @12:28AM (#21154769)
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.

Or, give each representative voting power proportional to the number of voters in their district. That way, no need for the added salary and chaos of 200+ more representatives, and you can get perfectly proportional representation.
Re:Acing the technical interview on Thursday March 16, 2017 @09:40PM (#13890676)
I thought I'd try writing a translation into Python. Not sure if it makes it any easier to follow, though...

http://pastebin.com/yK1HrZJQ

Re:A Moneymaking Machine Like Few Others on Friday November 25, 2016 @10:47AM (#13037478)
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.
Re:Judge blocks Obama overtime rule, putting it in jeopardy on Wednesday November 23, 2016 @11:37PM (#13028141)
The article does mention that in August Trump promised to roll back the regulation.
Re:A bit of background for the unified C++ call proposal on Sunday February 14, 2016 @10:51PM (#11101424)
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.