elrik
@elrik@lemmy.world
- Comment on Glorious Victory 2 weeks ago:
Isn’t it available on PS5?
- Comment on It's important to get a good interest rate 2 weeks ago:
Yes. Effectively you will not have any credit history, so you simply won’t qualify for lower interest credit products or will be rejected on applications that have a credit score threshold.
- Comment on There it is 3 weeks ago:
That’s awesome - nice work!
- Comment on A photography depicting the construction of the Great Pyramid of Giza - 2565 BCE. 3 weeks ago:
Only those who could lift more than average survived for the photo, obviously.
- Comment on I just want to view the recipe 1 month ago:
Sure, I agree.
Unfortunately, no such solution currently exists or has been widely adopted.
- Comment on I just want to view the recipe 1 month ago:
I use an app called Recipe Keeper. It’s amazing because I just share the page to the app, it extracts the recipe without any nonsense, and now I have a copy for later if I want to reuse it. I literally never bother scrolling recipe pages because of how terrible they all are, and I decide in the app if the recipe is one I want to keep.
It also bypasses paywalls and registration requirements for many sites because the recipe data is still on the page for crawlers even if it’s not rendered for a normal visitor.
- Comment on Staying for the week at an AirBnB in Rochester, MN. This is what I just found out I'm stuck with. 1 month ago:
You’re in the wrong Rochester!
- Comment on Why do we have an internal monologue? 4 months ago:
It’s the same inner voice speaking thoughts instead of words on a page.
- Comment on Why do we have an internal monologue? 4 months ago:
Read this sentence one word at a time. As you read it, do you hear the words spoken inside your head?
- Comment on I'm locked out of my 6 year old Chipotle account because they now say my email address is invalid when I login. Here is me asking for their help: 5 months ago:
I disagree. You should have validation at each layer, as it’s easier to handle bad inputs and errors the earlier they are caught.
It’s especially important in this case with email because often one or more of the following comes into play when you’re dealing with an email input:
- You’re doing more than sending an email (for ex, creating a record for a new user).
- The UI isn’t waiting for you to send that email (for ex, it’s handled through a queue or some other background process).
- The API call to send an email has a cost (both time and money).
- You have multiple email recipients (better hope that external API error tells you which one failed).
I’m not suggesting that validation of an email should attempt to be exhaustive, but a well thought-out implementation validates all user inputs. Even the underlying API in this example is validating the email you give it before trying to send an email through its own underlying API.
Passing obvious garbage inputs down is just bad practice.
- Comment on I'm locked out of my 6 year old Chipotle account because they now say my email address is invalid when I login. Here is me asking for their help: 5 months ago:
Yes, but no. Pretty much every application that accepts an email address on a form is going to turn around and make an API call to send that email. Guess what that API is going to do when you send it a string for a recipient address without an @ sign? It’s going to refuse it with an error.
Therefore the correct amount of validation is that which satisfies whatever format the underlying API requires.
For example, AWS SES requires addresses in the form UserName@[SubDomain.]Domain.TopLevelDomain along with other caveats. If the application is using SES to send emails, I’m not going to allow an input that doesn’t meet those requirements.
- Comment on Facepalm 6 months ago:
Honestly I don’t understand what’s wrong with the subscription model. You get YouTube ad free and YouTube music.
- Comment on This wasn't meant to happen! 8 months ago:
FedEx has one of the worst phone support systems. It goes out of its way to tell you you’re an idiot for wanting to speak to a human being because you can’t possibly need any more information than what it has already told you. Then it proceeds to just hang up on you.