You can make a seamless experience so that people don't even realize that their email is encrypted, but then the problem becomes: if their computer crashes and they lose their private key, they have now lost access to…
> I like testing those things on which my model depends. It gives me much more confidence. Why wouldn't I want to test them? Those things all need to be tested, but if a single unit test fails, it's nice to know that it…
I always assumed the point of mocking a database response was to ensure that you were testing just your code, and not also the existence of a database with the right schema, the ability to connect to it, as well as the…
Even after reading this list, I'm comfortable forgetting everything (with maybe one exception) because these surprises really only come up when you use horrible coding practices. But it's nice to know it really takes…
This sounds less like epiphany and more like things you wish were true.
It's a felony in the US to do what the author did here, right? Not that there's any indication where they're from, I'm just curious.
OK nevermind. I get it now, it's just emailing you a new token everytime you want to use the site, or something like that. It's just such a terrible idea I couldn't wrap my mind around it. Who would ever want to use a…
No, I don't get the idea. If I'm requesting a token for a certain user, how can the server reliably determine if I actually am that user? If it just authenticates every request, what's the point of even having a…
So if the token expires, how do you log back in? What happens if you want to use a different browser? Or buy a new computer?
Start exercising. I found my quality of sleep increased dramatically once I did this, and even though I was still going to bed at 2 or 3 AM at first, it somehow made shifting to a more reasonable hour much easier once I…
You can make a seamless experience so that people don't even realize that their email is encrypted, but then the problem becomes: if their computer crashes and they lose their private key, they have now lost access to…
> I like testing those things on which my model depends. It gives me much more confidence. Why wouldn't I want to test them? Those things all need to be tested, but if a single unit test fails, it's nice to know that it…
I always assumed the point of mocking a database response was to ensure that you were testing just your code, and not also the existence of a database with the right schema, the ability to connect to it, as well as the…
Even after reading this list, I'm comfortable forgetting everything (with maybe one exception) because these surprises really only come up when you use horrible coding practices. But it's nice to know it really takes…
This sounds less like epiphany and more like things you wish were true.
It's a felony in the US to do what the author did here, right? Not that there's any indication where they're from, I'm just curious.
OK nevermind. I get it now, it's just emailing you a new token everytime you want to use the site, or something like that. It's just such a terrible idea I couldn't wrap my mind around it. Who would ever want to use a…
No, I don't get the idea. If I'm requesting a token for a certain user, how can the server reliably determine if I actually am that user? If it just authenticates every request, what's the point of even having a…
So if the token expires, how do you log back in? What happens if you want to use a different browser? Or buy a new computer?
Start exercising. I found my quality of sleep increased dramatically once I did this, and even though I was still going to bed at 2 or 3 AM at first, it somehow made shifting to a more reasonable hour much easier once I…