LittleLily

@LittleLily@shinobu.cloud
0 Post – 7 Comments
Joined 1 years ago

Also to add that "well known principles and approaches" doesn't always equal good, readable, maintainable code; especially when it comes to a lot of OOP principles. Abstracting everything into a Factory/Decorator/whatever pattern you might think is the best approach after having only worked with OOP principles your whole career is almost always not what's actually the best way to structure things. In fact the code OP is complaining about may not even be that bad, it might just look so to someone who has no familiarity with any programming practices (like FP) that are outside their bubble.

It does specifically say "defaulting to https:// if the site supports it", so I think specifying http will still work if the site doesn't actually support https.

1 more...

Just fyi, while they don't help with running TS in the browser, the Bun and Deno runtimes both natively run TS without any compilation.

2 more...

Sendgrid's only options for 2FA are Authy (their proprietary token generation, no option for TOTP) or SMS. Tried signing up the other day and was surprised to find no option to use standard TOTP.

https://docs.sendgrid.com/ui/account-and-settings/two-factor-authentication

2 more...

Yes I'm sure, hence why I specifically mentioned that. Try the sign up procedure yourself. It REQUIRES 2fa and it has to be Authy's non-standard token or SMS. No option for regular TOTP.

The iPhone's portrait mode uses actual depth information captured from the separate depth sensor. The new feature is that it will always capture the depth information for every picture you take so that at a later point you can use it to blur parts of the image at different depths. Google's version of portrait mode just uses image recognition to detect what's in the background. It does a good job, but not as good as if it had actual depth information.

I personally use Pterodactyl for my Minecraft servers because it's versatile enough that it can host any game server, not just Minecraft. It's pretty much guaranteed that any game you'll want to host will already have an install script someone has made for it.