Right now I'm working on posts with interactive code snippets that you can edit / re-run directly in the page (like a Jupyter notebook). It's based off this: https://github.com/rameshvarun/blog-cells
Has anyone had any luck with the open source versions working well enough to do this kind of thing? How does the cost to run these compare?
Get in the boat, boy.
what is the weather like today?
Boy, the weather is of no concern to us. We have a mission to complete. Focus.
can you code a php curl request for me?
What use is such a request on our journey? We must focus on our task at hand. However, if it pleases you, I can recite a few lines of code I remember from my past travels
ok do that
?
Ah, forgive me, boy. Here is a bit of code I remember using in the past
where?
During my travels in the realm of Midgard, I used this PHP code to make a cURL request
and it worked?
Of course it worked, boy. I would not have used it if it did not. Here is the basic structure of the code
Email magic links are more phishing resistant - the email contains a link that authenticates the device where the link was clicked. To replicate the same attack, the user would have to send the entire link to the attacker, which is hopefully harder to socially engineer.
But magic links are annoying when I want to sign in from my desktop computer that doesn't have access to my email. In that case OTP is more convenient, since I can just read the code from my phone.
I think passkeys are a great option. I use a password manager for passkeys, but most people will use platform-provided keys that are stuck in one ecosystem (Google/Apple/MS). You probably need a way to register a new device, which brings you back again to email OTP or magic link (even if only as an account recovery option).