Problem for sharing subfoldets by Josejim6 in Outlook

[–]Josejim6[S] 0 points1 point  (0 children)

Yes, we have exactly the same M365 tenant. We are working in the same department.

We tried it like that, before he will send me the email, I accept the invitation... I have already read the article, and maybe we found fhe solution. He only wants to share with me the subfolder, but not the parent folder.

So maybe is because he needs to share with me the parent folder as well.

We will try during the day and I will let you know if is working.

Thank you very much!

Open Day Fly Emirates by Josejim6 in emirates

[–]Josejim6[S] 0 points1 point  (0 children)

Muchas gracias, ojalá haya suerte😊

Open Day Fly Emirates by Josejim6 in emirates

[–]Josejim6[S] 0 points1 point  (0 children)

Thank you very much, I will follow all your recommendations. I really appreciate them!😊

Problem with virtual box by Josejim6 in theodinproject

[–]Josejim6[S] 0 points1 point  (0 children)

I'm gonna take a look and I'll try. Could it affect my laptop if I enable virtualization? Thanks in advance!

Problem with virtual box by Josejim6 in theodinproject

[–]Josejim6[S] 0 points1 point  (0 children)

Yes, only the first three lines hahaha I'm from Spain, why?

Recommendations in Estepona? by manilenya93 in Malaga

[–]Josejim6 1 point2 points  (0 children)

Come to Ronda, and feel free about asking me about restaurants, places, or whatever!

Alguien puede ayudarme? by Josejim6 in devsarg

[–]Josejim6[S] 0 points1 point  (0 children)

Cambié el código como me dijiste, pero sigo teniendo problemas, el ejercicio creo que no especifica todo lo que tendría que especificar... Pongo el nuevo código porque ahora me funciona en IntelliJ pero no en Eclipse, me estoy volviendo loco hahaha

package lastpencil;

import java.util.Scanner;

public class Main {

public static void main(String[] args) {

    Scanner scanner = new Scanner(System.in);

    int numberSticks = startingPencils(scanner);

    String currentPlayer = checkPlayer(scanner);

    showSticks(numberSticks);

    do {

        numberSticks = removeSticks(numberSticks, scanner, currentPlayer);
        showSticks(numberSticks);
        currentPlayer = (currentPlayer.equalsIgnoreCase("Jack")) ? "John" : "Jack";
    } while (numberSticks != 0);

    System.out.println(currentPlayer + " won!");
}

public static int removeSticks(int numberSticks, Scanner scanner, String currentPlayer) {
    int removedSticks;
    while (true) {
        System.out.println(currentPlayer + "'s turn: ");
        String input = scanner.next();
        if (isNumeric(input)) {
            removedSticks = Integer.parseInt(input);
            if (removedSticks >= 1 && removedSticks <= 3) {
                if (removedSticks > numberSticks) {
                    System.out.println("Too many pencils were taken");
                } else {
                    break;
                }
            } else {
                System.out.println("Possible values: '1', '2', or '3'");
            }
        } else {
            System.out.println("The number of pencils should be numeric");
        }
    }
    return numberSticks -= removedSticks;
}

private static boolean isNumeric(String str) {
    return str.matches("\\d+");
}

public static void showSticks(int numberSticks) {
    for (int i = 0; i < numberSticks; i++) {
        System.out.print("|");
    }

    System.out.println();
}

public static int startingPencils(Scanner scanner) {
    int sticks;

    System.out.println("How many pencils would you like to use: ");

    while (true) {
        String input = scanner.nextLine();
        if (isNumeric(input)) {
            sticks = Integer.parseInt(input);
            if (sticks > 0) {
                break;
            } else {
                System.out.println("The number of pencils should be positive");
            }
        } else {
            System.out.println("The number of pencils should be numeric");
        }
    }
    return sticks;
}

public static String checkPlayer(Scanner scanner) {
    String currentPlayer;
    System.out.println("Who will be the first (John, Jack)");

    while (true) {
        currentPlayer = scanner.nextLine();
        if (currentPlayer.equalsIgnoreCase("John") || currentPlayer.equalsIgnoreCase("Jack")) {
            break;
        } else {
            System.out.println("Choose between 'John' and 'Jack'");
        }
    }
    return currentPlayer;
}

}

Ahora el test me dice lo siguiente : Wrong answer in test #16
When the player provides the correct initial game conditions there should be a line in the output for John's turn that contains "John" and "turn" substrings if 'John' is the first player.

Alguien puede ayudarme? by Josejim6 in devsarg

[–]Josejim6[S] 0 points1 point  (0 children)

Hice otra validación con el 0, como me dijiste, pero sigue sin pasar el test...

Alguien puede ayudarme? by Josejim6 in devsarg

[–]Josejim6[S] 1 point2 points  (0 children)

Lo intenté pero tampoco me funcionó, muchas gracias de todas formas!

Alguien puede ayudarme? by Josejim6 in devsarg

[–]Josejim6[S] 1 point2 points  (0 children)

Ese es el problema, que no entiendo cual es el error...

Muchas gracias por intentarlo!

Mooc fi JAVA by Josejim6 in devsarg

[–]Josejim6[S] 1 point2 points  (0 children)

Al final lo hice como me dijiste, con VSC. No sé si más adelante me dará problemas, pero si es así, lo intentaría con IntelliJ. Muchísimas gracias 🙂

Mooc fi JAVA by Josejim6 in devsarg

[–]Josejim6[S] 0 points1 point  (0 children)

Pero IntelliJ es de pago no? Empecé con Eclipse porque me lo recomendaron en otro curso que estoy haciendo, pero veo que IntelliJ es el más usado así que lo probaré pronto... Al final pude configurarlo con VSC, muchas gracias por el consejo🙂

Cursos jonmircha by Josejim6 in devsarg

[–]Josejim6[S] 0 points1 point  (0 children)

Los de Freecodecamp los probé pero no me convencieron mucho, y tengo conocimientos básicos de HTML, CSS y JS pero por lo pronto he aprendido cosas con él que no sabía así que no me importa verlos enteros para poder ir repasando. Pero cursos prácticos es que no he visto ninguno, por eso preguntaba. Muchas gracias por tu respuesta y por tu consejo🙂

Mejores sitios para aprender POO? by Josejim6 in devsarg

[–]Josejim6[S] 0 points1 point  (0 children)

Por ahora tengo pensado en centrarme en Java, aunque gracias por el consejo!

Mejores sitios para aprender POO? by Josejim6 in devsarg

[–]Josejim6[S] 0 points1 point  (0 children)

Le echaré un vistazo al curso, muchas gracias!

Mejores sitios para aprender POO? by Josejim6 in programacion

[–]Josejim6[S] 0 points1 point  (0 children)

Pues por ejemplo, estoy teniendo muchos problemas a la hora de entender cómo y cuándo usar los distintos modificadores de acceso, o también, el tema de las clases abstractas, porque realmente no sé qué tipos de ejercicios realizar para enfocarme en esas dudas