Better HN
topnewbestaskshowjobs
Log inSign up

davidnc

70 karma · joined Feb 15, 2016 (10y ago) · 17 submissions

Submissions

comment 2mo ago · link · parent

For another perspective, 52! is roughly the number of atoms in a galaxy. Galaxies are really quite large!

comment 11mo ago · link · parent

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.

comment 1y ago · link · parent

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.

4.

Generals.io(generals.io ↗)

4 points · by davidnc · 1y ago · 1 comment

comment 2y ago · link · parent

The page for the novel mentions it: https://en.m.wikipedia.org/wiki/Mrs._Frisby_and_the_Rats_of_...

comment 2y ago · link · parent

There's still a red clique. And changing any of those 3 to blue crates a blue clique.

7.

Toronto public library hit by ransomware attack(torontopubliclibrary.typepad.com ↗)

2 points · by davidnc · 3y ago · discuss

8.

Radix Economy(en.wikipedia.org ↗)

1 points · by davidnc · 3y ago · discuss

comment 3y ago · link · parent

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.

10.

We sped up zipline hot reload(code.cash.app ↗)

1 points · by davidnc · 4y ago · discuss

comment 7y ago · link · parent

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.

comment 9y ago · link · parent

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.

comment 9y ago · link · parent

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

comment 10y ago · link · parent

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.

comment 10y ago · link · parent

The article does mention that in August Trump promised to roll back the regulation.

comment 10y ago · link · parent

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.