4,235 karma · joined Sep 10, 2015 (11y ago) · 1,525 submissions
comment 7y ago · link · parent
My suggestion is to read "Models: Attract Women though Honesty", by far the best book on how to be a better man, and possibly the best bet on changing your thought processes for the better (in addition to therapy, possibly).
If you feel like you really need sex to be happy, hire escorts: the ones that are well reviewed online are generally far better people than the women you describe, and will deliver what you agree upon with no manipulation.
comment 7y ago · link · parent
Apparently there's an extension for the scrollbar thing (https://addons.mozilla.org/en-US/firefox/addon/highlightall/) although I can't quite imagine why it would be more useful than just visiting the search results sequentially.
comment 7y ago · link · parent
The correct design is to have both a "root" and a "current object" associated with every "file descriptor object" and allow ".." to work up to the "root" (and thoughtfully handle cases where the "current object" is moved outside the "root").
You can't do it with paths because that doesn't track directories being renamed, that would cause the descriptor to suddenly become inaccessible in the middle of an operation.
comment 8y ago · link · parent
You have to create a process for each tenant, but that should be much faster and take much less memory than V8 JITting JavaScript or WebAssembly (Linux process creation is very well optimized).
You can try static linking, dynamic linking or even just forking plus an ad-hoc executable loader in userspace.
comment 8y ago · link · parent
The problem with apps like Tinder is that they focus essentially only on your skill at taking photos, posing for them and retouching them and secondarily on your appearance, and obviously photo-taking skills are completely irrelevant and appearance is at best secondary even for one-night stands.
Hopefully Facebook can actually deliver matches based more on personality, what someone is looking for and how pleasant a person is in general.
comment 8y ago · link · parent
Hence, the only people who vote are irrational or badly informed (driven by the pleasure or duty of casting the vote rather than a commitment to voting optimally), with the well known poor outcomes all democracies suffer from.
comment 8y ago · link · parent
2. You can encrypt the passwords with a key outside of the database instead of hashing them. That means that people can now login with a read-only compromise of both your app and the database, but chances are that such a compromise would be a full compromise anyway.
3. You can also not show them the current password, but instead generate another one and have them both be valid (until explicitly revoked)
comment 8y ago · link · parent
When they need to change devices, have the standard e-mail based password reset as well as "show password" in the account settings (make the password reset not reset login, unless the user explicitly elects to "log me out on all devices").
comment 8y ago · link · parent
All issues with reused passwords, password strength, hashing passwords with slow hashes, etc. instantly solved.
Also improves conversion rate since there's no risk the user gives up signing up because he can't be bothered to think about or generate a password.
comment 8y ago · link · parent
Also, much easier to sell something that exists since obviously customers don't gain much by and thus don't care much about signalling whether they would buy something that they might be able to buy in the future, as opposed to just buying something they want and can get immediately.
comment 8y ago · link · parent
This certainly does not seem something that warrants firing, and might even be correct behavior depending on circumstances (e.g. if he had reason to believe she would not feel coerced or otherwise be happy consenting).
comment 8y ago · link · parent
Imagine that instead of having a single Tesla, there were two identical companies each selling half of what the actual Tesla does.
Now one of them could offer an unlocked 75kWh version at $1 more than the locked-to-60kWh version (since they cost the same to make and they are profitable) and would capture all the market, so the cost of those two products should be the same.
So Tesla essentially can only do this because they have a monopoly on Tesla-or-functionally-identical cars.
comment 8y ago · link · parent
According to https://en.wikipedia.org/wiki/Wealth_in_the_United_States, total household wealth is $54 trillion, or 180k$ per head.
https://www.thebalance.com/what-is-average-income-in-usa-fam... gives $48k average income.
So if all wealth and income were redistributed, you'd end up with 180k$ wealth and $48k income, which is enough to buy an apartment and live well at least outside the most expensive cities.
comment 8y ago · link · parent
It has no such static checking because it was deemed to reduce expressiveness, while not impacting memory safety.
comment 8y ago · link · parent
How does it get notified by PostgreSQL when the result of a query changes, since AFAIK PostgreSQL has no such built-in functionality? (it works if other apps change the database, right?)
comment 8y ago · link · parent
You could have a single secure system that holds encrypted session keys (and encrypted data if needed) for all the calls, and have it give them out under arbitrary logic, which could include rate limiting, multiple approval and publishing access requests (maybe after a delay), which would prevent "no encryption" from happening, assuming that system is properly secured.
Non-physical security can obviously be made perfect, and physical security can be achieved by launching the system hardware on a rocket, which still allows to communicate with it but makes physical access obviously impractical.
But obviously the issue is that the users have no incentive to use such a program as opposed to one without "key escrow", and there are plenty of PCs and Android smartphones on which arbitrary software can be installed.