I can't find Bluetooth devices in Windows (dual boot)

I have a PC with Ubuntu 18.04 and Windows 10.
I always used Ubuntu for almost everything, but finally I needed to run Windows and I couldn't find any of my Bluetooth devices (headphones, controller …).
I updated the drivers, restarted all the necessary services and still nothing.
If I start Ubuntu I still find all the devices, but when I'm on Windows nothing appears.
Any ideas?

javascript: I can't dynamically open the image in Modal (the first image is loading in Modal)

This is my view where I want the pop-up mode to appear when I click on the image and show the same image I am clicking on:

@foreach ($products as $product)

                    
image }}" style="width: 100%" onclick="openModal(); currentSlide(2)" class="hover-shadow cursor">

This is my script that I am using for my Modal to display images.

function openModal() {
        document.getElementById("myModal").style.display = "block";
    }

    function closeModal() {
        document.getElementById("myModal").style.display = "none";
    }

    var slideIndex = 1;
    showSlides(slideIndex);

    function plusSlides(n) {
        showSlides(slideIndex += n);
    }

    function currentSlide(n) {
        showSlides(slideIndex = n);
    }

    function showSlides(n) {
        var i;
        var slides = document.getElementsByClassName("mySlides");
        var dots = document.getElementsByClassName("demo");
        var captionText = document.getElementById("caption");
        if (n > slides.length) {slideIndex = 1}
        if (n < 1) {slideIndex = slides.length}
        for (i = 0; i < slides.length; i++) {
            slides(i).style.display = "none";
        }
        for (i = 0; i < dots.length; i++) {
            dots(i).className = dots(i).className.replace(" active", "");
        }
        slides(slideIndex-1).style.display = "block";
        dots(slideIndex-1).className += " active";
        captionText.innerHTML = dots(slideIndex-1).alt;
    }

Modal shows me the same image when I click on any image. I want to see the modal image that I am clicking on.
Please someone help me. I'm stuck.

mathematical optimization: can't I solve the system of equations using the solve function?

First, you should simply write Quit () and execute, then copy and paste the code you gave us into a new notebook. In general, when you get "protected errors," a variable has already been defined as something else.

If all else fails and you are not sure what is happening, try restarting 🙂

f(x_) := a*Sin(b*(x + c)) + d;
g(x_) := -1/10125*Exp(4)*x^3 + 17/1350*Exp(4)*x^2 - 79/135*Exp(4)*x + 
   90 + Exp(1) + (1343/162 + Log(2) - Log(3))*Exp(4);
h := 38;
Solve({f(h) == g(h), f'(h) == g'(h), f''(h) == g''(h), 
  f'''(h) == g'''(h)}, {a, b, c, d})

The exact use of this code gives me a solution … although huge with conditionals.

$$ left { left {a to text {ConditionalExpression} left ( frac {1} {250} (-21) i sqrt {33} e ^ 4, c_1 in mathbb {Z } right), b to text {ConditionalExpression} left (- frac {1} {3} i sqrt { frac {2} {21}}, c_1 in mathbb {Z} right) , c to text {ConditionalExpression} left ( frac {126 i pi c_1-38 sqrt {42} -126 tanh ^ {- 1} left ( frac {1} {3} left ( sqrt {42} – sqrt {33} right) right)} { sqrt {42}}, c_1 in mathbb {Z} right), d to text {ConditionalExpression} left ( frac {21} {250} e ^ 4 sqrt {33} sinh left ( frac {1} {3} sqrt { frac {2} {21}} left (38+ frac {126 i pi c_1-38 sqrt {42} -126 tanh ^ {- 1} left ( frac {1} {3} left ( sqrt {42} – sqrt {33} right) right) } { sqrt {42}} right) right) – frac {887 e ^ 4} {750} + e + 90 + e ^ 4 log (2) -e ^ 4 log (3), c_1 in mathbb {Z} right) right }, left {a to text {ConditionalExpression} left ( frac {1} {250 } (-21) i sqrt {33} e ^ 4, c_1 in mathbb {Z} right), b to text {ConditionalExpression} left ( frac {1} {3} i sqrt { frac {2} {21}}, c_1 in mathbb {Z} right), c to text {ConditionalExpression} left ( frac {-126 i pi c _1-38 sqrt {42} +126 tanh ^ {- 1} left ( frac {1} {3} left (- sqrt {33} – sqrt {42} right) right)} { sqrt {42}}, c_1 in mathbb {Z} right), d to text {ConditionalExpression} left (- frac {21} {250} sqrt {33} e ^ 4 sinh left ( frac {1} {3} sqrt { frac {2} {21}} left (38+ frac {-126 i pi c_1-38 sqrt {42} +126 tanh ^ {-1} left ( frac {1} {3} left (- sqrt {33} – sqrt {42} right) right)} { sqrt {42}} right) right) – frac {887 e ^ 4} {750} + e + 90 + e ^ 4 log (2) -e ^ 4 log (3), c_1 in mathbb {Z} right) right }, left {a to text {ConditionalExpression} left ( frac {21} {250} i sqrt {33} e ^ 4, c_1 in mathbb {Z} right), b to text {Conditiona lExpression} left (- frac {1} {3} i sqrt { frac {2} {21}}, c_1 in mathbb {Z} right), c to text {ConditionalExpression} left ( frac {126 i pi c_1-38 sqrt {42} -126 tanh ^ {- 1} left ( frac {1} {3} left ( sqrt {33} + sqrt {42} right) right)} { sqrt {42}}, c_1 in mathbb {Z} right), d to text {ConditionalExpression} left (- frac {21} {250} sqrt { 33} e ^ 4 sinh left ( frac {1} {3} sqrt { frac {2} {21}} left (38+ frac {126 i pi c_1-38 s qrt {42 } -126 tanh ^ {- 1} left ( frac {1} {3} left ( sqrt {33} + sqrt {42} right) right)} { sqrt {42}} right) right) – frac {887 e ^ 4} {750} + e + 90 + e ^ 4 log (2) -e ^ 4 log (3), c_1 in mathbb {Z} right ) right }, left {a to text {ConditionalExpression} left ( frac {21} {250} i sqrt {33} e ^ 4, c_1 in mathbb {Z} right) , b to text {ConditionalExpression} left ( frac {1} {3} i sqrt { frac {2} {21}}, c_1 in mathbb {Z} right), c to text {ConditionalExpression} left ( frac {-126 i pi c_1-38 sqrt {42} +126 tanh ^ {- 1} left ( frac {1} {3} left ( sqrt {33} – sqrt {42} right) right)} { sqrt {42}}, c_1 in mathbb {Z} right), d to text {ConditionalExpression} left ( frac {21} {250} e ^ 4 sqrt {33} sinh left ( frac {1} {3} sqrt { frac {2} {21}} left (38+ frac {-126 i pi c_1-38 sqrt {42} +126 tanh ^ {- 1} left ( frac {1} {3} left ( sqrt {33} – sqrt {42} right ) right)} { sqrt {42}} right) right) – frac {887 e ^ 4} {750} + e + 90 + e ^ 4 log (2) -e ^ 4 log ( 3), c_1 in mathbb {Z} right) right } right } $$

java – I can't get mysql records with resultset

I can not get mysql records with resultset, my intention is to store the contents of the record obtained from the sentence but when I put a breaking point there just peta and jump to catch with the exception message "before start of result set" and I don't understand what happens when the class examples work perfectly, we have already checked the queries and they all work correctly in mysql and they return what they have to return

public boolean estaUsuario(String correo, String password) {
    try {
        String query = "SELECT count(*) FROM usuarios WHERE correo = " + "'"+correo+"'" + " AND contraseña = "+
                "'"+ password+"'" + ";";
        Statement sentencia = this.getCon().createStatement();
        ResultSet resultado = sentencia.executeQuery(query);
        int i=resultado.getInt(1);
        if (i==1) {
            query = "SELECT nombre FROM usuarios WHERE correo = " + "'"+correo+"'" + " AND contraseña = "+"'"+ password+"'" + ";";
            resultado = sentencia.executeQuery(query);
            String nombre=resultado.getString(1);
            System.out.println("Bienvenido " + nombre);
            sentencia.close();
            return true;
        }
        else {
            System.out.println("El usuario no esta registrado");
            return false;
        }
    }
    catch (Exception e) {
        System.out.println("Algo fallo, contacta con el servicio tecnico. Disculpa las molestias");
        System.out.println(e.getMessage());
        return false;
    }
}

Canon: why can't I shoot tied with my camera while I'm connected to the computer?

You need to use some kind of software that can make attached shots. Simply by connecting a camera to the USB port of the computer, as you discovered, the camera / card will be treated as an external drive. You must have and run an application that can recognize a Canon dSLR and communicate with it to transfer / display files to shoot.

Something like Adobe Lightroom, or Canon in the free EOS Utility will work for this, for the camera models they support (there may be some that do not support, so the camera model you are using is necessary to determine if you can do it.

Magic Lantern does not add anchoring capabilities to any camera or software application that cannot.

Alternatively, some Wi-Fi enabled cameras that cannot connect to a computer (for example, the M2), can communicate with the Canon Connect application for smartphones / tablets.

I can't hear callers unless my speaker is on

I have a Samsung Galaxy A20.

I can't hear the caller. It is as if I could hear disturbances but not the voice.

I can hear perfectly when the speaker is on or if I have the headphones on.

Please attend

Thank you

Android Studio: I can't run my emulator

error code - 20 when initializing the native AndroidRecord object!

I have written the first application in the great book nerd ranch 2017 (GeoQuiz) and I want to run it in my emulator (objective: Android 7.1.1, api 25, resolution 240 * 400: ldpi) but I received this error and I don't know how to run it in imulator But please, I know that I am a beginner.

I can't see the profile picture in messenger

I can't see my friend's profile picture in messenger. I tried to look for her on Facebook and I can still see her timeline, so I know we are still friends and I am not blocked. Does anyone know the reason for this?

mdns: I disabled MDNSResponder and now I can't use firefox, but I can connect through opera (chrome based)

I am trying to strengthen my macos, and I have read that mdnsresponder has some vulnerabilities, so I disabled it (after disabling sip, then restarted with sip enabled).
So now I can't connect to the internet. However, when I try to navigate with Firefox, I can only connect to google.com. My other applications cannot connect either.

But with the Opera browser I can connect to any site! As you might guess, it is related to google dns.

So, I currently have these questions, could you help me with any of them if you know anything?

1) Why does opera have a connection? Does it mean that Opera always uses google dns even if I don't put 8.8.8.8 or similar in my network settings? Does it mean that he has some potential & # 39; spy & # 39 ;?

2) Is there a way to disable mdnsresponder and have the possibility of having a network?

list manipulation: I can't delete -> in {{x -> a}, {x -> b}, {x -> c, x-> d}}

DeleteCases It does not work by default in heads. You can configure the Heads option of True To change that.

DeleteCases[{{x -> a}, {x -> b}, {x -> c, x -> d}}, Rule, {3}, Heads -> True]
{{x, a}, {x, b}, {x, c, x, d}}

Note that the last term has become {x, c, x, d} which is not exactly what I expected, but it is logically consistent if we wait {x -> a} become {x, a}.

A simpler route to the same exit in this case is:

{{x -> a}, {x -> b}, {x -> c, x -> d}} /. Rule -> Sequence
{{x, a}, {x, b}, {x, c, x, d}}

Your expected departure can be obtained from:

{{x -> a}, {x -> b}, {x -> c, x -> d}} /. Rule -> List /. {x_List} :> x
{{x, a}, {x, b}, {{x, c}, {x, d}}}

Recommended reading: