9,068 karma · joined April 22, 2014
I used to work on airline ticketing systems and advertising. Now I work on security cameras and whatever the heck AI means these days. Hobby Unity and VST dev.
If it's so easy this is ripe for a startup to disrupt. Food is the most necessary thing to human existence. Every living person is a potential customer.
Counterpoint, I sold all my Bitcoin in 2011 when Mt Gox got hacked and the price plummeted 80%. Would have done it again after their 2014 hack too if I had any left.
> Bitcoin is a good example: if you bought it 15 years ago and held it, you're probably quite wealthy by now
But you just said bail the moment it's future starts to be questionable. If you follow that you would have never held it for 15 years.
Using a randomly generated email per service is a huge improvement over always using the same email.
In Canada a drivers license is enough to vote.
> At what point does the software being covered by an open license changes the responsibility model
When you agree to an open license that says you're liable for anything and not the author of the software.
> THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
"He does evil things, but maybe he feels conflicted about it. That makes them okay."
Is the user account validated? Send an email to their email string. Is it not validated? Then why are we even at a point in the code where we're considering emailing the user, except to validate the email.
You can use similar logic to what you described, but instead with something like User and ValidatedUser. I just don't think there's much benefit to doing it with specifically the email field and turning email into an object. Because in those examples you can have a User whose email property is a ParseError and you still end up having to check "is the email property result for this user type Email or type ParseError?" and it's very similar to just checking a validation bool except it's hiding what's actually going on.
Email is weird and ultimately the only decider of a valid email is "can I send email to this address and get confirmation of receipt".
If it's a consumer website you can so some clientside validation of ".@.\\..*" to catch easy typos. That will end up rejecting a super small amount of users but they can usually deal with it. Validating against known good email domains and whatnot will just create a mess.
Someone like Asimov never considered his books to be fantasy and that he could just insert whatever he wanted with no justification. In fact, he never considered sci-fi to be a genre, he always argued it was a setting and that his most famous stories were detective stories in a sci-fi setting. But detective stories don't work if your world isn't grounded in something real. Otherwise the reader can't reasonably build their own theory or deduce the answer because it's based on what the author thought was cool and not what logically connects.
The appeal of something like The Expanse just falls apart if you introduce a FTL engine just because it makes for a more dramatic story moment somewhere in the plot unless there is some serious justification as to why the author didn't just break all the rules of their world (which is supposed to be our world, but in the future).
Also sometimes the back button will just freeze or not take you back. So I try hitting it again, it takes me 2 steps back in my history (this is fine), then I press forward and it takes me to the end of history, so I hit back again and it takes me 2 steps back. And the page I actually wanted to go back to is just gone from my history. I know there's a lot of whacky JS messing with history that happens on web apps, but it will often happen on HN when the article I clicked on is a plain text blog with minimal JS and definitely not altering the history state.
Edit: This literally just happened to me after writing this comment, with the post about turso database. I clicked the HN comments, clicked the post link (to github), read for a bit and clicked back. And the comments page is just not in my history.
But this would probably never fly because it would become a training ground for people who make malicious bots.