1,024 karma · joined Mar 26, 2019 (7y ago) · 511 submissions
comment 6y ago · link · parent
comment 6y ago · link · parent
https://www.theverge.com/21300261/ios-14-update-smoke-alarm-...
comment 6y ago · link · parent
Word and like jumps in Windows also felt backwards to me, doing the equivalent of w instead of e in vim, and couldn't be consistently combined with shift.
Support for Alt+Dpad(+Shift) and Command+Dpad(+Shift) is important IMO. As well as Double/Triple-click+Drag: it should select additional units not letters.
These last paragraphs are OS-level but the features were missing or inconsistent.
comment 6y ago · link · parent
Highly recommend reading "On Tyranny", it's a great small, pertinent book for $10 at most book stores.
Edit: to be clear China's social credit system is extremely dystopian to me and is already taking shape, but I trust most/all democratic societies (including US) to fend it off.
comment 6y ago · link · parent
comment 6y ago · link · parent
> Suppose a proposal was on the ballot next year to add a monthly fee to consumers' monthly electricity bill to combat climate change. If this proposal passes, it would cost your household $____ every month. Would you vote in favor of this monthly fee to combat climate change, or would you vote against this monthly fee?
$1/month: 57% favor
$10/month: 28% favor
$20/month: 30% favor
$40/month: 23% favor
$75/month: 15% favor
$100/month: 16% favor
A more useful question would be: "Would you oppose climate change regulations that had the effect of increasing your energy bills $10/month?"comment 6y ago · link · parent
I can't recall the technical term for it though, and my search engine couldn't help me find it within a few minutes.
comment 6y ago · link · parent
The downside for the scheme is complexity and limited upside; complexity gets a lot more attention when it comes to security considerations.
Best practice especially needs to be simple; it's easy to mess this stuff up and hard to understand. A lot of the comments on this post betray a very poor understanding of password storage; they simply haven't come across the correct information.
Overall pepper is good as long as you include salt. There are times when the db gets leaked and the env variables don't.
There's nothing wrong with your scheme if it's implemented properly, but being able to change the site-wide key is a limited upside compared to using a pepper. There is an upside though.
And all of this doesn't matter much as long as you do the bare minimum of using a tuned pbkdf+salt and keep your stuff patched.
comment 6y ago · link · parent
The SHA-family cryptographic hash functions are purposefully designed for throughput, if you combine them thousands of times like in PBKDF2 they can be fine. One round of SHA256 is trivial to brute-force especially with the plethora of ASICs available.
HMAC is also completely unnecessary here, and see the article title for your variable naming: it's not encrypted_pw it's hashed_pw.