9,664 karma · joined Jun 14, 2010 (16y ago) · 1,504 submissions
comment 4y ago · link · parent
That’s by definition, but there are good reasons why these definitions are useful: if we accept infinite or incomplete programs, everything would be considered computable.
Anyway, your program can only compute BB for a finite number of inputs (depending on how far you bother to expand the “else …” part).
comment 4y ago · link · parent
At least in mammals, killing the soma is on the surface such a massive waste of resources that I believe it must be either: (a) biologically implausible to keep an animal reproducing for a longer timespan or (b) caused by mechanisms that are counterweighted by massive reproductive benefits while the animal is young.
comment 4y ago · link · parent
comment 4y ago · link · parent
comment 4y ago · link · parent
For example, I never think of a physical dictionary when using the data structure. Much less a heap or a tree (we even draw those with the root at the top!). And the stuff in the article about database queries being “supplications” is just ridiculous. It’s again an abstract idea. No idea of a the social relationship between humans ever enters the picture in any way, metaphoric or otherwise.
What’s hard about programming isn’t the names, it’s learning the concepts. At least in my opinion.
comment 5y ago · link · parent
comment 5y ago · link · parent
First of all, neural networks are typically trained from (millions of) self-play games. So you have the "equally strong opponent" assumption right there in the weights of the network.
Second, when actually playing, the variations that are explored with high probability in MCTS are (recursively) informed by the same neural networks that are applied at the root. This means that there's no extra reward for moves that lead to complications in lines that only a "stupid human" would play.
In effect, neither alpha-beta search nor Monte-Carlo tree search have any concept of "tricking" a weaker opponent, admittedly for very different reasons and more probalistically in the MCTS case.
That's what I meant with "the implicit assumption that they play against the best response of an equally strong opponent" -- yes it's a simplification, but directionally true I think.
comment 5y ago · link · parent
You might think that engines make opening preparation trivial: just play what the engine recommends. However, that misses a critical point. To simplify a bit, engines (whether neural network or classical engines) always play with the implicit assumption that they play against the best response of an equally strong opponent. But in human chess, the strategy is not just to make objectively good moves, but also to give your opponent a chance to make mistakes.
For example, Stockfish's search doesn't distinguish between a move where the opponent has an obvious answer, and a move where you need very deep calculation to find the correct response. Mathematically, both moves are equally good. Strong human players would, of course, always prefer the line that's more "difficult" to play for the opponent.
Therefore, in opening preparation, the goal is to find moves that are both:
* objectively "good enough" (that is, they don't immediately lose if the opponent happens to know or find a good answer)
* difficult/confusing enough for a world championship contender to give you at least the chance to gain an advantage
Finding such lines with engine help is to my understanding an important part of the work of seconds. Not only does that take a lot of time, you also need to be very good yourself to make realistic judgements about what a top player might or might not find over the board.
comment 5y ago · link · parent
comment 5y ago · link · parent
So. The standard way to complete the square uses a trick to rearrange the equation so that one can use the formula (a+b)^2 = a^2 + 2ab + b^2.
This uses a different trick to rearrange the equation to make use of (a+b)(a-b) = a^2 - b^2.
Frankly, I don’t see how this is any easier. If anything, I think it’s harder to do from memory because you need to introduce a new variable in a very specific way to make the simplification work. The standard way feels a lot more systematic.
comment 5y ago · link · parent
(Edit for the downvoters: I was genuinely curious how these kinds of things work at Google’s scale. Asking stupid questions is sometimes necessary for learning.)
comment 5y ago · link · parent
> Campbell’s law states that the more important a metric is in social decision making, the more likely it is to be manipulated.
> Goodhart’s Law, states that “When a measure becomes a target, it ceases to be a good measure”.
These are basically paraphrases if you accept that “target” = “important in decision making”, and “likely to be manipulated” = “not a good measure”.
That’s fine, important discoveries are often made multiple times independently, but let’s not pretend there’s some important difference where there isn’t any.
comment 5y ago · link · parent
comment 5y ago · link · parent
> It is important to remember that bivectors have a certain redundancy built into them in the sense that s a ⃗ ∧ b ⃗ = a ⃗ ∧ s b ⃗ s a ∧ b = a ∧s b . We can write them using 6 numbers or 3 numbers, but they actually convey 5 degrees of freedom.
Three (real) numbers have three degrees of freedom, by definition. (And nothing about complex numbers was mentioned.) Is this a parody I don’t get? I feel like I have wasted ten minutes on nonsense.
comment 5y ago · link · parent
The project does, however, sometimes have its share of people who dogmatic/pedantic to the point where it really doesn't help the cause. This might be expected from something that's a passion project for many of its contributors, and to Debian's credit, they've always been able to resolve these conflicts eventually.
The article mentions the systemd drama. The recent kerfuffle around the 'which' command might be a smaller example of this kind of thing: https://news.ycombinator.com/item?id=29026623 And note: As silly as that discussion was, when it got widespread attention, it was actually already resolved.
comment 5y ago · link · parent
In Diablo II, Diablo greets you with "Not even death can save you from me", one of the most iconic lines in all of gaming, creepy and to the point.
In Diablo III, Diablo holds an entire monologue explaining the boss mechanics, something like, "Now you're trapped in my realm, you can only escape by defeating the shadows, but none have ever managed to do that har har har". You can't get emotionally invested in a world with writing like that.
comment 5y ago · link · parent
One of nice things about such a system is its compositionality: If you mix and match custom operators from different modules, you wouldn't get a conflict or a random precedence order, instead, you'd simply be forced to disambiguate using parentheses.
Contrast this with Haskell, which also has custom operators, but only a fixed number of precedence slots (10 IIRC), and some libraries really suffer from the fact that there's no "good one" available that works for the intended usage.
comment 5y ago · link · parent
Finally replacing those dozen terrible USB port variants with a single good design is great, and solves problem (3). You’d finally only need one type of cable.
Routing all kinds of other protocols through that same port creates problem (2), and introduces a completely new kind of cable fragmentation. I think that’s orthogonal.
comment 5y ago · link · parent
You do need both for the problem to happen: Without shared memory, there’s nothing to exploit. And with a single core only, you get time-sliced multithreading, which orders all operations.
My point is, that combination was a lot rarer in ARM land before people started doing serious server or desktop computing with those chips.
comment 5y ago · link · parent
comment 5y ago · link · parent
Statics, in contrast, have a storage location and a static lifetime.
Compare:
const CONST_STRING: String = String::new();
static STATIC_STRING: String = String::new();
fn main() {
let x: String = CONST_STRING; // fine
let y: String = STATIC_STRING; // error: cannot move out of static item
}