magento 2.3.4 installtion blocked at 99% without error during the installation of the administrator user

magento 2.3.4 installtion blocked at 99% without error during the installation of the administrator user

enter description of image here

SharePoint user profiles not synchronized with AD

I have the problem with recently added users of Office365 that there are do not synchronized with SharePoint Online user profiles.

When I try to add the user manually, I can't find it here:

enter description of image here

I have no idea what can do against this state of Office365. Are there SPO PowerShell commands that I can click here?

gui design – What type of colors should I use for 3 levels of message bars for a better user experience?

We have designed a mobile assessment test app. Where we need to display 3 levels of information after the header bar. Here are the screenshots:

enter description of image here

enter description of image here

As shown in the screenshots above, we display 3 types of information bars (skill, question and sub-question / instruction).

For a better user experience, what type of colors should I use? I have tried to create different material palettes, but I don't know if they are eye-catching or nice to see.

This is important because there are around 100 questions in an assessment test.

I have tried different combinations of and manually too. But I couldn't get good feedback.

catalina – User folder on another AFPS encrypted volume as home folder?

I have one of these iMac 5K that comes with 128 GB Radiance storage and 1 TB HD as Fusion Drive. Very quickly I replaced the disk with 2 TB SSD. For a while I have been using the Radiance as startup and applications and user folder, and kept the big media (movies and photo library) on the SSD. Now, I have also installed the system and applications on the SSD and only use Flash as temporary storage.

But I thought of a better configuration:

Use Flash as your startup and applications, and use a folder on the SSD as your personal folder (no hacking with symbolic links, just via System Preferences as illustrated).

I think it could be quite easy, but I come across a roadblock:

What if I want the user volume to be encrypted?

Because, ideally, I would have the boot and application volume on Flash unencrypted, then create two volumes on the SSD – one encrypted for users' folders, and one unencrypted to store large media such as 4K media that I change occasionally (to avoid a small but measurable encryption tax).

I have tried shortly with a Samsung T5 connected to my Mac:

  1. created two volumes, Boot and Users

  2. installed a system (10.15.3) at startup

  3. configure a user (ignore Apple / iCloud ID)

  4. went to Users and Groups, unlocked, ctrl-click the user to get advanced options …, then selected a folder on that volume Users

  5. rebooted, and it worked

  6. then ctrl-click on the Users HD to encrypt it using the same password as my connection

  7. disconnected and connected and it was OK

  8. restarted and got You cannot log in to the user account at this time. Failed because an error occurred

So it's a no, but I wonder if not either

  • an order such as fdesetup,

  • be connected to iCloud, or

  • have boot volume encrypted also with FileVault (as a last resort)

could help? I somehow understand that it should be at EFI or system level, and it gets more complicated with the fact that Catalina itself has two volumes combining boot, and with more users on this encrypted volume (but the Can FileVault volumes be unlocked with more passwords?). Here is the desired layout:

  • Radiance

    • Boot HD

      • System

      • Applications

      • Library

  • SSD

    • HD users (encrypted)

    • Media HD

      • Final Cut Library

      • IMovie Library

PS: There may be other drawbacks to this configuration, but here is one: when you choose Manage … in About Mac> Storage, I get a message that "Some optimized storage features will not be not available based on your current configuration. " It doesn't matter, because I usually use DaisyDisk to optimize storage.

What is the terminology, the name of the user interface for the read-only field value?

what is the terminology of these user interface elements in this screenshot?

  • John Doe
  • Principal:

These user interface elements are read-only field values, these values ​​can be changed by Update ((Modifier link button.

I'm looking for the right terminology to use it in the search engine to find examples of UX design.

enter description of image here

algorithm – Check if a user exists in the database and return the user in JSON format

the code below takes the data (email, password, user type) of $_POST() and use them to find out if a user exists in the database. If so, send a JSON object to the client and also store cookies on the browser.

I have two types of users and stored them in two tables in my database.

I need to change the database tables according to the type of user because I used SQL statement for both.
For this, I have set up selection($userType) in credentials.php

SQL statement

$sql = "SELECT * FROM $credentials->userTable WHERE email='$credentials->email'";

./lib/database.php contains the connection details to the database and connects to the database.

in Log_In.php

include "./lib/user.php";
include "./lib/credentials.php";
include "./lib/database.php";

$userDetails = json_decode($_POST("m"));
$credentials = new credentials($userDetails);
$sql = "SELECT * FROM $credentials->userTable WHERE email='$credentials->email'";
$result = $conn->query($sql);

//checking the user details
if($result->num_rows === 1) {
    $details = $result->fetch_assoc();      
    $validate = password_verify($credentials->password,$details("userPassword"));

        if($validate === TRUE){
            if($login_record === TRUE){
                $user = new user($details);
                $user->userType = $credentials->userType;
                $user->loggedInStatus = true;
                echo json_encode($user);
        else {
            echo "error";


In credentials.php

class credentials {

    public function __construct ($credentials) {

        $this->email = $credentials->email;
        $this->password = $credentials->password;
        $this->userType = $credentials->userType;
        $this->userTable = $this->selection ($credentials->userType);

    public function selection ($userType) {
        if ($userType === 'driver') {
            return "Driver_Details";

        if ($userType === 'passenger') {
            return "User_Details";


    public function setCookies ($user) {

        foreach ($user as $key => $value) {


in user.php

class user {
    public function __construct ($details) {
         $this->userName = $details("name");
         $this->userLocation = $details("country");
         $this->userId = $details("User_ID");
         $this->loggedInStatus = false;
         if (isset($details("driverVehicle"))) {
             $this->userVehicle = $details("driverVehicle");


I need to check the user type and change the tables to use them more than once in different php files.

I'm looking for ideas and suggestions from experts on a better way to modify the database table depending on the type of user. Mainly because I have to use it on more different php files.

java – Error sending password recovery email – User or CPF does not exist!

I have the following problem.
I have the possibility of recovering a password to access the system by informing the user and CPF, then by clicking on send, an email will be sent to the client. but when you click send, the system returns that the cpf cannot be found.

this is my login.js

     * Regerando a senha do usuário
    $(".resetarlogin").click(function () {

            url: BASE_URL+ "envioemail/recuperar-senha",
            beforeSend: ()=>{
            complete: ()=>{
            error: (XMLHttpRequest, textStatus, errorThrown)=>{
                $(".mensagemErro").html("Usuário ou CPF não existe !");
            success: (retorno)=>{


and here is my controller

   public ResponseEntity recuperarSenha(UsuarioPortaDTO updto) throws Exception, EnvioEmailException{
       try {
           T001UsuarioPortal t001UsuarioPortal = null;
           try {
               String cpf = updto.getCpf();
               t001UsuarioPortal = usuarioLoginService.obterUsuarioPorIdCpf(updto.getUsuarioIu().intValue(), cpf);    
           } catch (Exception e) {
               throw new EnvioEmailException("Usuário ou Cpf não cadastrado!");
           T011ParametrosConfEmail confEmail = confgEmailService.retornarParametrosConfEmail();
           HtmlEmail email = confgEmailService.getEmail();
           email.setSubject("Recuperar Senha Portal Informata.");
           Date d = new Date();
           String token = HashImdlog.md5(updto.getUsuarioIu()+""+d.toString());
           byte() encodedBytes = Base64.getEncoder().encode(updto.getUsuarioIu().toString().getBytes());
           String emailRecuperarSenha = UtilEmail.emailRecuperarSenha(this.baseUrl+"alterar-senha/"+new String(encodedBytes),token);
           email.setContent(emailRecuperarSenha, "text/html");
       } catch (Exception e) {
           return new ResponseEntity<>(e.getLocalizedMessage(), HttpStatus.INTERNAL_SERVER_ERROR);
       } catch (EnvioEmailException e) {
           return new ResponseEntity<>(e.getMessage(), HttpStatus.BAD_REQUEST);
       return new ResponseEntity<>("E-mail de recuperação enviado com sucesso.", HttpStatus.OK);


beginner – PYTHON A program that first asks the user how much change is due, then spits out the minimum number of pieces with which said change can be made

Suppose that the only coins available are the quarters (25 ¢), the ten sous (10 ¢), the nickels (5 ¢) and the sous (1 ¢).

change = float(input('change='))
list =(.25,.1,.05,.01)
for i in range(len(list)):

a = int(change/list(i))
costa = float(a*list(i))
change= change- costa

reactjs – determining the distance between the user location and each truck in a range of truck locations

I am developing a React application to track food trucks, for which the Github repo can be found here: I am trying to write code to retrieve the distance from the location of a user to each truck in an array of food trucks. I use the Google Distance Matrix API for this. As soon as the customer dashboard component (DinerDash.js) is rendered, I have the following function executed in a useEffect hook to calculate the distances:

const getTruckDistance = () => {
        props.trucks.forEach((truck) => {
            props.getTruckDistances(props.location, truck.current_location);

useEffect(() => {
    }, (props.trucks))

props.trucks and props.location are recovered from the redux state.

This is the action that is sent when getTruckDistance execute in the useEffect hook:

export const getTruckDistances = (userLocation, truckLocation) => dispatch => {
    dispatch({ type: CALCULATE_TRUCK_DISTANCE_START })
            .then(res => {
                dispatch({ type: CALCULATE_TRUCK_DISTANCE_SUCCESS, payload: })
            .catch(err => console.log(err))

Here's how this action should update the redux state:

            return {
                isLoading: true
            return {
                isLoading: false,
                truckDistanceArr: (...state.truckDistanceArr, action.payload)

The idea here is to run getTruckDistances for each truck in the range of redux food trucks. Next, to store the distance that returns to the redux state in an array called truckDistanceArr. I don't know if this is the best way to do it. In any case, it does not work. I get an error that state.truckDistanceArr is not iterable (see the image below). Can anyone help me get from here? Even if there is a better way to accomplish this, I want to be able to return all of the trucks to props.trucks with their respective distances calculated from the location of the props. This turns out to be quite a challenge.enter description of image here

plugin development – Activate user in code (BuddyPress + bbpress)

It's crazy, but my client wants to delete the activation email that BuddyPress sends for activation – she thinks the double optin that the mass mail service is sending is “ sufficient & # 39; & # 39; – it was pretty easy to do by putting the email in draft mode without touching any code.

My plugin makes an API to deliver the email that has just been registered (WP user regiatration) to the mass mail service and it works fine. The double opt-in email from the mass messaging service becomes the new email address.

But after forwarding the email address, I need to move the new user from the Pending page in the users to the main users page with a role / wp capacity of "Subscriber" and a capacity / role BuddyPres / "Participant" bbpress without the customer having to enter and activate the user by hand. I've been looking for the WP codex and the BuddyPress codex for advice on an action or filter hook that will do it, but no luck so far. I even went so far as to try direct sql mods in the wp_users and wp_usermeta tables, but no luck, although mods to other elements like display_name, etc. have worked well.

I know the dangers of this and have explained them carefully to the client, but she still wants to move on. She will only have to take the lesson the hard way when her forum fills up with porn. I intend to implement this so that it is easily reversible, but it only has to cross this dark valley.

Help on a code that I can pull from my plugin that will fully activate a user as described above? Thanks for your kind help – no code examples here to share because 6-8 methods I tried were all lamentable failures.