164 karma · joined August 16, 2020
for (double x = 1; x < 1000000000; x += 0.5) {
counter++;
int64_t tmp;
if (to_int64_simple(x, &tmp)) {
sum += tmp;
}
}The fractional part is always mostly 0.5, or 0.10000... While that shouldn't really affect things, I think a proper test would sample randomly, though this runs into the problem of the random number generator itself influencing the time spent, so I can see the appeal for this method. Perhaps generating a random float array with N elements and calculating the results for x + arr[x%N] would accomplish this.
> “What we normally do is put a satellite transmitter on any animal that we deploy instruments on. In this case, we didn’t, because we expected this (camera) just to be gone at sea for a couple of days,” said Lidgard in an interview Friday.
> “With hindsight, probably not a good idea,” he added with a laugh.
> The idea, he said, was to deploy the camera four or five times, each time removing it from the seal to get the data after a few days and reattaching it to continue the research.
> In this case, Lidgard said he thinks the seal was starting to go through the moulting process and was foraging for food when the camera fell from its back.
No video footage there either sadly.
[1] https://www.thestar.com/news/canada/2021/10/08/lost-seal-mou...
I don't think this comment was accurate:
> 23. c4: "White tries to get his pawns moving. I am still thinking that I have to move my bishop, but that is too slow. I think white should have moved his king back to c3 to prevent my pawn from becoming a passer."
The idea behind moving the pawn was because black playing c4 would have instantly lost both pawns since the bishop has nowhere safe to go where it still defends c2 (Bh7 leading to g6 losing the piece.) I don't think the king could have made it to the c file in time to stop that.
> 34... Rxg4: "Now I can't stop him from advancing his pawn."
Is this meant to be speaking from whites perspective (since black just got the unopposed h file pawn.)
Interestingly only 10. O-O links with a move, I think it would be really helpful if they all linked to moves. Also i'm really excited for this kind of analysis! It would be really cool if request a computer analysis eventually generated such analyses trying to figure out each sides ideas.
I've seen this kind of marketing allot from cloud providers, and it always makes me wonder. At that point the probability that you're going to lose your data gets dominated by the probability of a rogue employee deleting your data, or of 3 simultaneous natural disasters destroying every warehouse your data was replicated to, or most likely someone gaining malicious access and deleting a bunch of stuff. Those are a little harder to quantify though.
It's certainly more frequent than just by random chance, but by virtue of the fact that we say many things, and the things we will say can be predicted (at least to some extent), by our browsing history, which already is constantly being churned through however many ML algorithms to know what ads will be relevant to us. I'm also convinced location data is thrown in there too; after I recently started spending more time in a new area, I stared getting ads for one of the adult braces companies that I've only ever seen there a block away. In those cases there's a decent probability someone will mention it because it's new to them, only for the algorithms to also figure: 'this is probably the kind of person that would be interested in this, and they're nearby now!' It happens frequently enough to almost everyone I know that the random argument loses its credibility to me.
I found this post [1] by the current rank 5 competitive programmer on codeforces to be an interesting take on this perspective. It's not as much about knowing the fancy algorithms, as being able to derive their ideas when needed, that makes you really move up.
[1]: https://github.com/crawl/crawl/commit/ab847a317b82e2fb0316bf...
Is DNS here just referring to Domain Name System, as in to reference problems with systems out of our control?