Application Password is not enable by default?

So I have this site running under ssl (on siteground).

The site is new, the instalation has no more than 2 weeks.

I have a working desktop app to connect to my sites, using jwt tokens, but the plugins for this token are old and has not being tested with newer WP versions. So to keep everything up to date, I want to change to this kind of auth.

But when I try my site, using get over the rest-api, I don´t get the authentication key according to this.

So I think that app passwords are not enable by default.

If that is the case, according to that page, I have to add:

add_filter( 'wp_is_application_passwords_available', '__return_true' ); 

somewhere, but I don´t know where to add it.

Or is this something else I have to be cheking?

Best Database to be shipped with my application?

I have a .net core application using a database. I need to create an installer using nsis where I will be packaging my application along with a database , so that the client can easily install my application and database along with all its dependencies using a simple wizard.

I want a suggestion regarding the database.

Requirements:

  1. Easy to install, it must be lite weight , as much less dependencies as possible, have zip binaries to install, and error free during installation.
  2. Database should be able to handle large no of records and remote connections.

what I have tried:

  • MSSQL Server: no binary file option, has large size and has so many dependencies.
  • SQLite: it’s a file based, no remote connections possible
  • PostgreSQL: it was a perfect choice, but it has many installation issues and bugs, even the official installer is failed to install on some of the machines.

Core Web Vitals (CLS and LCP) errors for a client-rendered Single Page Application (built with React + Firebase)

I have a SPA (single page website) build with React + Firebase and I’ve been getting these Core Web Vitals errors (see images below).

My website is loading normally both on Desktop and Mobile. And I think it’s rendering in a very reasonable time. At least I think it’s way faster than most websites I visit, even though it’s client side rendered.

I’m guessing these errors on Core Web Vitals are being triggered because there’s a Spinner that runs while the app is loading its data.

For example: that report is probably measuring the Spinner vs Loaded content as layout shift. Because I can guarantee that my app has ZERO layout shift. Once the Spinner is gone and you see content on your screen, the app is 100% ready for you to browse and interact with.

Maybe to get rid of those errors I would have to do SSR + hydration, which I really don’t want to, because it’s a dynamic website and I would have to either remove caching completely, or to risk a content (state vs fresh) flickering on the screen once it’s fully hydrated.

Should I care about these results? Is anybody that also manages a SPA also getting these kind of errors? Is there a way to fix this?

Found some related articles:

  • https://www.moovweb.com/post/google-penalizes-pwas-spas
  • https://www.enterspeed.com/core-web-vitals-can-affect-how-google-ranks-your-spa-website/

enter image description here

enter image description here

How to Remove or Deactivate “Application Passwords” in WordPress

With version 5.6, I got this new weird "Application Passwords" under all user profiles. No idea what it is and what it does except for what it says — and I want it gone.

If anyone knows how to remove this using __return_false with a filter or something, please tell me. I’ve googled and looked at the developers handbook and so far; nothing.

See image for more information.Application Passwords

Capturing SQL calls sent to a remote server from application

First of all, I’m not well versed in SQL anything at all. Closest I’ve ever needed to get was storing and retrieving data from a local SQLite db.

In essence I think I have a simple problem but it’s hard to orient yourself when everything is new.

My main tool at work is an ERP software, which is basically a front end to an SQL db.

Problem I have with it is that it’s very clumsy and doesn’t allow automation of even the most basic tasks.

What I want to do, is bypass the front-end completely and interact directly with the db to automate most of my tasks with python.

I can connect to the database just fine from python environment, but the schema is gigantic, there’s no way I’ll be able to find whatever it is I might be looking for.

So I need to capture the call front-end sends when I click a button (telling it to display specific set of data) to use that call as a guide.

Basically, how can I, an SQL noob, capture calls that a desktop application sends to a remote server?

Edit 1: My job is mostly analytical, so all of my automation will be for retrieval, analysis and visualization. I’m not very likely to mess anything up.

Edit 2: Tried running a Profiler and got the message:

"In order to run a trace against SQL Server you must be a member of sysadmin fixed server role or have the ALTER TRACE permission."

I’m not a sysadmin, don’t have an alter trace permission and reeeally don’t feel like asking for it 😀

How to handle wrong application of Spells?

So I am a DM for 2 sessions now (Including a training-montage’esque session 0, so 3 in total) and my group is completely new to DnD. Our Paladin has the Detect Good and Evil spell, and apparently uses it rather as a "Detect if there is something dangerous ahead"-Spell, for example to identify a bunch of herbs which were advertised as antidote.

Now for my question: Should I rather push them into reading the spell description again and advise against using the spell in such a manner, or would it be better practice if I just let them waste the spell like that, until they eventually learn it by themselves?

The whirpool application of the Control Water spell leads to several questions regarding creatures caught in it

As written, the whirlpool usage of the Control Water spell says:

Whirlpool. This effect requires a body of water at least 50 feet square and 25 feet deep. You cause a whirlpool to form in the center of the area. The whirlpool forms a vortex that is 5 feet wide at the base, up to 50 feet wide at the top, and 25 feet tall. Any creature or object in the water and within 25 feet of the vortex is pulled 10 feet toward it. A creature can swim away from the vortex by making a Strength (Athletics) check against your spell save DC.

When a creature enters the vortex for the first time on a turn or starts its turn there, it must make a Strength saving throw. On a failed save, the creature takes 2d8 bludgeoning damage and is caught in the vortex until the spell ends. On a successful save, the creature takes half damage, and isn’t caught in the vortex. A creature caught in the vortex can use its action to try to swim away from the vortex as described above, but has disadvantage on the Strength (Athletics) check to do so.

The first time each turn that an object enters the vortex, the object takes 2d8 bludgeoning damage; this damage occurs each round it remains in the vortex.

Are creatures or objects in the water and within 25′ of the vortex automatically pulled 10′ toward it? Do they continue to be pulled 10′ further toward the center of the vortex every round they are in it? Is a creature or object caught in the vortex also pulled down toward the bottom? On a failed save, are they caught for the entire duration of the spell, with no more chance at saves, or until they can swim free of it? On a failed save, does a creature continue to take 2d8 bludgeoning damage every round they are in the vortex? Can the whirlpool be cast so that it is completely underwater? Also, can the whirlpool be cast ‘upside down’ so the widest part is at the bottom?

What is the application of symbols in the cultural extension of UWP?

In Traveller-5, worldgen step E includes creating the world’s cultural extension (Cx), the last digit of which is “symbols.” The rule book explains only that:

Symbols used by the culture may range from the concrete (idol; totems; statuary) to the abstract (symbolized belief systems; group affiliations).

Given that the value is computed as Tech Level + Flux with a minimum of 1, one can easily infer that more primitive cultures have a lower value while more advanced cultures have a higher value. One also might infer from the brief description that the axis it measures has more “concrete” symbols at the lower range and more “abstract” symbols at the higher end.

How is this value applied to describing the world’s culture?

[Responses relevant to other editions of Traveller besides 5 are useful.]