• 0 Posts
  • 54 Comments
Joined 1 year ago
cake
Cake day: July 15th, 2023

help-circle

  • JSON Problem Details

    https://datatracker.ietf.org/doc/html/rfc9457

    • It has a specification, so a consumer of the API can immediately know what to expect.
    • It has a content type, so a client sdk can intelligently handle the response.
    • It supports commonly needed members which are a superset of all of the above JSON examples, including type for code and repeating the http status code in the body if desired.
    • It is extensible if needed.
    • It has been defined since at least 2016.

    This specification’s aim is to define common error formats for applications that need one so that they aren’t required to define their own …

    So why aren’t you using problem details?




  • elrik@lemmy.worldtoFuck AI@lemmy.worldAI phishing is going to end email
    link
    fedilink
    English
    arrow-up
    4
    arrow-down
    1
    ·
    23 days ago

    simplified and decentralized as it was meant to be

    The protocols behind email are extremely simple. You can open a terminal, connect to an smtp server, and send an email by typing literally plain English commands.

    Its simplicity and decentralization is exactly why spam and phishing is such a problem. Anyone can send an email as anyone else. Protocols for authentication were later introduced to at least mitigate impersonation, but those too are very simple and decentralized.

    Maybe you should learn how email works today before trying to reinvent it.



  • Duh. Trump is open to anything that will get him more money from idiots or re-elected so he can avoid consequences for his multitude of crimes. Ideally both.

    If the twitter twit said he’d give Donald $50M to support a ban on cantaloupe, the next press conference with him would be someone should really look into this and the Fox news headline the next day would be about dangerous illegal immigrants smuggling fentanyl inside cantaloupe.








  • It might be a good feature for the elderly as long as it’s local and optionally enabled (especially if it can be enabled only for unknown callers).

    Yes, I understand you would never really know if it’s not always enabled. But then again, you currently don’t know if anything similar isn’t already enabled.

    For other users, again potentially useful if it’s opt in. However, many people (myself included) simply don’t answer the phone anymore unless it’s a caller we already know. I use Google’s call screening feature for any other caller not in my contact list already, and I would estimate about 1 in 20 or 5% of such calls I receive aren’t spam (marketing or fraud). Of those non-spam calls, the majority are appointment reminders I don’t need.

    So would I turn this feature on? No, I don’t have a need. Could it be beneficial for the elderly? Yes, but probably not implemented in a way where it would actually be effective.







  • 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.