Unable to change audio balance on Windows 10

On my bluetooth headphones (JBL Tune 115bt), the left ear speaker is more quiet. To account for that, I tried to change the balance in the device properties. However, changing either the left or right channel also changes the other:

enter image description here

I am thus not able to change the balance. Is there any way to fix this (presumably) error or circumvent it?

In case they are needed, here are some system specifications: Windows 10 Home (20H2) 64bit. CPU: Intel Core i7-6500U. GPU: Nvidia GTX 950M.

The problem does not seem to be caused by the headphones since I can change the balance on my smartphone without any problems.

kubernetes – Unable to run calico ingress and egress rules

I have been trying to experiment with the calico network rules and I’m finding it tough to get the ingress and the egress rules to work with order in calico after denying all ingress and egress rules.

 kubectl get pods --show-labels
NAME         READY   STATUS    RESTARTS   AGE   LABELS
hello-web3   1/1     Running   0          45m   app=foo
hello-web4   1/1     Running   0          45m   app=bar
hello-web5   1/1     Running   0          15s   app=foobar
hello-web6   1/1     Running   0          4s    app=barbar

My network policy is as follows

---
apiVersion: projectcalico.org/v3
kind: NetworkPolicy
metadata:
  name: ppdp-default
spec:
  selector: all()
  order: 2000
  types:
  - Ingress
  - Egress
---
apiVersion: projectcalico.org/v3
kind: GlobalNetworkPolicy
metadata:
  name: ppdp-egress-trusted
spec:
  selector: app == 'foo'
  order: 1000
  types:
  - Egress
  egress:
  - action: Allow
    destination:
      selector: app == 'bar'
---
apiVersion: projectcalico.org/v3
kind: GlobalNetworkPolicy
metadata:
  name: ppdp-egress-trusted
spec:
  selector: app == 'foobar'
  order: 100
  types:
  - Ingress
  ingress:
  - action: Allow
    source:
      selector: app == 'barbar'

Output for Ingress:

(base) ➜ ✗ kubectl exec --stdin --tty hello-web5 -- sh
/ # ^C
/ # wget -qO- --timeout=2 http://hello-web6:8080
^C
/ # wget -qO- --timeout=2 http://hello-web6:8080
wget: bad address 'hello-web6:8080'
/ # command terminated with exit code 1
---
(base) ➜ ✗ kubectl exec --stdin --tty hello-web6 -- sh
/ # wget -qO- --timeout=2 http://hello-web5:8080
wget: bad address 'hello-web5:8080'
/ # command terminated with exit code 1

Output for Egress

(base) ➜ ✗ kubectl exec --stdin --tty hello-web3 -- sh
/ # wget -qO- --timeout=2 http://hello-web4:8080
^C
/ # command terminated with exit code 130

Am I missing anything? Any help would be of great use.

Thanks in advance

mysql – Unable to store query result inside a variable

I am trying to query user by email and save the result inside a variable. I tried using await and async, callback and promise but none of them actually work.

const checkEmailUsed = (email) => {
  let sql = "SELECT * FROM users_signup WHERE user_email = ? LIMIT 1";
  return new Promise((resolve, reject) => {
    conn.query(sql, email, (err, res) => {
      if (err) {
        reject(err);
        return;
      }
      resolve(res(0));
    });
    conn.end();
  });
};

var user = ();
checkEmailUsed("mikias@email.com")
  .then((res) => user.push(res))
  .catch((err) => console.log(err));

console.log(user); // Still ()

kernel – Unable to update any package on Ubuntu 20.10 because of package linux-modules-extra-5.8.0-31-generic

I have a Dell Precision 64 bit laptop and having trouble updating the packages on Ubuntu 20.10.
I have few kernels installed on my machine which I got as part of the regular updates I get from Ubuntu. But I started getting issues after an update to linux-image-5.8.0-31-generic. So I am currently using the kernel 5.8.0-29-generic. Everything works well except when I try to update any packages.
When I do apt upgrade, I get the following error.

sudo apt upgrade
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: The package linux-modules-extra-5.8.0-31-generic needs to be reinstalled, but an archive for it can't be found.

Below are the OS details

lsb_release -a
LSB Version:    core-11.1.0ubuntu2-noarch:printing-11.1.0ubuntu2-noarch:security-11.1.0ubuntu2-noarch
Distributor ID: Ubuntu
Description:    Ubuntu 20.10
Release:    20.10
Codename:   groovy


uname -a
Linux precision-3541 5.8.0-29-generic #31-Ubuntu SMP Fri Nov 6 12:37:59 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux

I get the following when I list out all the kernels

╭─ ~                                                                                                                                                                     ✔  1126  19:12:21
╰─ sudo dpkg --list | egrep -i --color 'linux-image|linux-headers'               
ii  linux-headers-4.15.0-1037-oem                         4.15.0-1037.42                      amd64        Linux kernel headers for version 4.15.0 on 64 bit x86 SMP
ii  linux-headers-5.8.0-28                                5.8.0-28.30                         all          Header files related to Linux kernel version 5.8.0
ii  linux-headers-5.8.0-28-generic                        5.8.0-28.30                         amd64        Linux kernel headers for version 5.8.0 on 64 bit x86 SMP
ii  linux-headers-5.8.0-29                                5.8.0-29.31                         all          Header files related to Linux kernel version 5.8.0
ii  linux-headers-5.8.0-29-generic                        5.8.0-29.31                         amd64        Linux kernel headers for version 5.8.0 on 64 bit x86 SMP
ii  linux-headers-generic                                 5.8.0.29.34                         amd64        Generic Linux kernel headers
rc  linux-image-4.15.0-1037-oem                           4.15.0-1037.42                      amd64        Signed kernel image oem
ii  linux-image-4.15.0-1081-oem                           4.15.0-1081.91                      amd64        Signed kernel image oem
rc  linux-image-5.4.0-31-generic                          5.4.0-31.35                         amd64        Signed kernel image generic
rc  linux-image-5.4.0-33-generic                          5.4.0-33.37                         amd64        Signed kernel image generic
rc  linux-image-5.4.0-37-generic                          5.4.0-37.41                         amd64        Signed kernel image generic
rc  linux-image-5.4.0-39-generic                          5.4.0-39.43                         amd64        Signed kernel image generic
rc  linux-image-5.4.0-40-generic                          5.4.0-40.44                         amd64        Signed kernel image generic
rc  linux-image-5.4.0-42-generic                          5.4.0-42.46                         amd64        Signed kernel image generic
rc  linux-image-5.4.0-45-generic                          5.4.0-45.49                         amd64        Signed kernel image generic
rc  linux-image-5.4.0-48-generic                          5.4.0-48.52                         amd64        Signed kernel image generic
rc  linux-image-5.4.0-52-generic                          5.4.0-52.57                         amd64        Signed kernel image generic
rc  linux-image-5.8.0-26-generic                          5.8.0-26.27                         amd64        Signed kernel image generic
ii  linux-image-5.8.0-28-generic                          5.8.0-28.30                         amd64        Signed kernel image generic
ii  linux-image-5.8.0-29-generic                          5.8.0-29.31                         amd64        Signed kernel image generic
iU  linux-image-5.8.0-31-generic                          5.8.0-31.33                         amd64        Signed kernel image generic
iU  linux-image-generic                                   5.8.0.31.36                         amd64        Generic Linux kernel image

I get the same error if I attempt to remove the kernel

╭─ ~                                                                                                                                                                   1 ↵  1122  19:10:17
╰─ sudo apt remove linux-image-5.8.0-31-generic --verbose-versions
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: The package linux-modules-extra-5.8.0-31-generic needs to be reinstalled, but an archive for it can't be found.

I am not sure what else to try to get this fized. Can someone please help me fix this?

header – Unable to resolve the source file for ‘frontend/Babycry/theme/en_US/css/images/cart.png’

i want to replace the minicart icon in header with custom image, i added the image in vendor/theme/web/images/cart.png, and i added the css like

.minicart-wrapper a.action.showcart::before {
    background-image: url('images/cart.png');
}

but when i inspect and open the image url

Unable to resolve the source file for
‘frontend/Babycry/theme/en_US/css/images/cart.png’

#1
MagentoFrameworkAppStaticResource->launch() called at
(vendormagentoframeworkAppBootstrap.php:263)
#2 MagentoFrameworkAppBootstrap->run() called at (pubstatic.php:13) 

this error is coming.

canon – Why I am unable to focus at all while using ND filters

Lately, I am unable to focus with ND8 AND ND10 filters put over the kit lenses of my Canon1300D camera. Whenever I try to focus, it allows me to only reach to a point where the subjects are only slightly blurry and beyond that it again goes out of focus.

Its happening with every filter I try it with.
Initially it was alright, I hardly used these filters anyway. Please advise.

notifications – Unable to add an app to auto startup – Realme X2

I can’t receive notifications on my Realme phone, unless the app that is receiving the notifications is running in the background.

Recently I installed Google Duo, after Hangouts stopped working, but when I toggle the “Allow auto launch” in “App battery management”, I get the following error:

“To ensure that your phone runs smoothly, auto startup is allowed for
no more than 5 apps in this group.”

What does “group” mean in this context? I’ve tried switching “Allow auto launch” off for other apps in the hope that I would then be able to turn it on for Duo, but I continue to get the same error.

Also; why does an app have to be running in the background to receive notifications anyway?

i am unable to do this question?

Write the Recurrence relation of the following algorithm and solve it usingi iteration method. Use initial value of T as 2. The complexity of swap function is O(1).void Sort(int arrl, int n) { if (n== 1) for (int i = 0;
<n-1:1++)4 if (arr(u) > arru +11){ Swap(arr(u, arri + 1):
Sort(art, n- 1):
b) Pivot selection in quick sort is very important. Discuss the besti and worst case scenarios for quick sort algorithm and corresponding time complexity.

android – Unable to start exported activities when Drozer is running in background

I executed this command in drozer to start an exported activity.

dz> run app.activity.start --component <package_name> <activity_name>

But it works only when drozer application is running in foreground(and not in background). As soon as I minimize the drozer application in my testing device, the same command to start exported activities doesn’t work.

Initially I made a wild guess that there must be an application running in the foreground to invoke another activity through it.

But when I tried to start the same exported activity using Activity Manager like

$ adb shell am start -n <package_name>/<activity_name>

It worked even when no application was running in the foreground or background.

Can anybody please explain why drozer is unable to start exported activities when drozer application is running in the background in the device?