• 1 Post
  • 340 Comments
Joined 2 years ago
cake
Cake day: June 17th, 2023

help-circle
  • However you like, REST doesn’t dictate anything there. Just be consistent and use hypermedia.

    JSON APIs almost never follow REST because they almost never use JSON as hypertext. Worse, no complete stable hypertext JSON standard exists. There’s JSON-HAL, but it lacks a way to represent resource templates (think HTML’s <form>).

    Therefore, with JSON APIs ignoring one of the most basic idea behind REST, why would anyone expect them to follow another idea of REST - consistency?

    REST is a deceptively simple concept. Any time you build an HTML website a human can navigate without consulting documentation, you’re doing it better than vast majority of swagger documented corporate APIs.





  • The maximum age hasn’t changed because its increase is irrelevant for the sake of trait propagation. In fact, fast breeding population with regular turnaround can deal with environmental fluctuations way better than a long living one.

    There’s nothing inherent to multicellular biology that prevents immortality. Every problem preventing us from living longer and healthier has been solved by evolution somewhere else. Often in a way that’s insultingly similar to how our bodies already work. Hell, good chunk of solutions is present in our genome never to be expressed!

    But then evolution is all about populations of borderline inadequate survivors. Turns out, being depressed, hurting, and cancerous in your fifties is just good enough.



  • When UK refuses to return the riches they stole, we just say it like that.

    When Belgia refuse to acknowledge genocide in Congo, we just say it.

    When we talk about France losing colonial wars in Vietnam and Algeria, we say it.

    When Israel starves an entire population in openly advertised genocide, we say it.

    When we talk about Japanese massacres in China, we just say it.

    When we talk about Chinese genocide of Uighurs, we just say it.

    When Canada systematically oppresses indigenous population, we just say it.

    But when Russia commits genocide and openly promises hellfire on the heads of those who would resist, don’t we dare say it!

    This is pure mental gymnastics.

    The fact that you straight ignored the core of my argument doesn’t add it any credibility either.







  • I’d probably add that for something like nextcloud granted scopes can be an „orthogonal”–for the lack of a better word–subset of requested scopes.

    The set of requestable scopes has to be defined by the system itself, not its specific configuration. E.g. „files:manage”, „talk:manage”, „mail:read” are all general capabilities the system offers.

    However, as a user I can have a local configuration that adds granularity to the grants I issue. E.g.: „files:manage in specific folders” or „mail:read for specific domains or groups only” are user trust statements that fit into the capability matrix but add an additional and preferably invisible layer of access control.

    It’s a fairly rare feature in the wild and is a potential UX pitfall, but it can be useful as an advanced option on the grant page, or as a separate access control for issued grants.