Better HN
topnewbestaskshowjobs
Log inSign up

TwoBit

2,039 karma · joined Mar 11, 2009 (17y ago) · 1,119 submissions

Submissions

comment 5y ago · link · parent

Did Alpha Zero play games against Stockfish on regular PC hardware or big specialized hardware.

comment 5y ago · link · parent

That carfentanil looks like about a milligram, but impossible to say without knowing its density.

comment 5y ago · link · parent

Reddit repost bots execute with full (though unintended) support of moderators and legitimate users.

comment 5y ago · link · parent

You forgot to add /s to the end of your comment.

comment 5y ago · link · parent

"memory issue" seems overly broad or vague.

comment 5y ago · link · parent

Doesn't that apply only to older phones?

comment 5y ago · link · parent

I once had auto reset enabled on my phone after 10 attempts, and then somehow while it was in my gym bag it proceeded to accidentally get buttons pressed and reset itself. Better to set that number to 1000 instead of 10.

comment 5y ago · link · parent

Doesn't that require the device to have been unlocked in the first place?

comment 5y ago · link · parent

For advanced players do the 9+ discs perform better?

comment 5y ago · link · parent

The first gen of PS3 included a PS2 on board.

comment 5y ago · link · parent

OK, I must have mistaken what the original was, because I thought it was like this:

processWidget(new Widget, priority());

I think I saw the above code elsewhere.

comment 5y ago · link · parent

> Is now impossible

I don't see how that is so. C++ 17 allows new Widget to complete and then the priority() call to execute and throw before both are passed to shared_ptr(), thus creating a leak. Your cited example [1] doesn't leak because both arguments are shared_ptr. Seems to me that C++ 17 does indeed solve this latter case but not the former.

comment 5y ago · link · parent

I'm not arguing this change as good or bad, but the pattern of one or two key people deciding something and others getting on board to implement it is common.

comment 5y ago · link · parent

> Am I the only person who likes this change?

yes

comment 5y ago · link · parent

I'm not convinced.

comment 5y ago · link · parent

maybe, but most ransomware attacks aren't via zero-days but via simpler means. Also ransomware infects a whole network and so part of the cause is systems that allow that.

comment 5y ago · link · parent

Lack of MFA, lack of hardware whitelisting, servers exposed directly to the Internet, lack of user privilege restrictions, allowing passwords that are known-compromised, ...

comment 5y ago · link · parent

Where I last worked they said it would be hard to switch to AMD quickly because Intel CPUs had a feature set they were dependent on and would take some time/effort to switch.

comment 5y ago · link · parent

I don't know why you are being downvoted. The best solution here is for the author to admit using log was a bad idea and rewrite an entirely different version.

comment 5y ago · link · parent

There are tons of branches in those log and pow calls. Programmers are lost in branch free religion.

comment 5y ago · link · parent

Neither is production ready because they have no code comments. And if ever there was code requiring comments, this is it.

comment 5y ago · link · parent

How would you do that without potentially creating colliding names?

comment 5y ago · link · parent

> especially when considering the damage their bodies absorb

Not all sports are football. Most professional sports don't damage bodies significantly.

comment 5y ago · link · parent

Why would a hijacker abandon weapons? If their goal was hijacking and they found they were to be searched then why even board the plane? Just go back home with your weapon.

comment 5y ago · link · parent

I wouldn't be surprised if the MLB secretly notified the teams that they have x days to stop it because enforcement will commence thereafter. That way the MLB still looks clean but they get rid of the problem. MLB is very concerned about their image.

comment 5y ago · link · parent

My guess is MLB did that because it would be a stain on their history. People still talk about the 1919 Black Sox scandal.

comment 5y ago · link · parent

And it's probably all automated.

comment 5y ago · link · parent

He blatantly traded those 11 times during blackout periods. Companies make it very clear what these blackout periods are, so this was very stupid, as he was bound to get caught.

comment 5y ago · link · parent

A lot of that is third party libraries, same as with PC and phone software. And the OS itself.

comment 5y ago · link · parent

I feel like this really is the biggest gap between Tesla and others. Other car companies treat software as an afterthought and may never recover.
12345
38