How to disable only one built-in speaker on laptop
One of my built-in speakers was broken, so it makes zzzz noises. I can turn off it on windows sound settings, but I want to automate this procedure. I should set the configuration every moment I turn on my laptop.
I want to
1) turn off one of my built-in speaker automatically when I turn on my laptop
2) rebalance the volume when I plug in my headset
I searched through google with 'turn off one speaker', 'automatically disable speaker' and so on. I found that I can disable speakers with "motherboard jumper/cable" on this webpage. However, it's too broad keyword. Could you let me know some more search keywords or howtos for this topic?
See also questions close to this topic
Can I use Windows as Bluetooth multiplexer?
I'd like to connect my phone via Bluetooth to Windows 10, where Windows essentially acts as a headphone, taking the phone sound and multiplexing it with it's internal system sound. Then send the multiplexed sound to another Bluetooth device (my headphones). Is this possible? When I pair the phone with my Windows machine it does seem to connect in a vastly different mode?
Practical example is playing an game on the Windows machine where the game music is getting very repetitive. I want to use music from my phone instead. So Phone -bt-> Windows (multiplex with system) -bt-> Headphone.
Seeing directories of running docker container
I build a Docker image. And I want to see what is in the Docker container. So I tried running the following command into powershell:
docker exec -ti c4609ec41e73 powershell
A powershell is launched but I cannot do anything in there. All I see is
Windows PowerShell Copyright (C) 2016 Microsoft Corporation. All rights reserved.
How can I launch this powershell into the running container, Io that i can check what exactly is installed?
Some help is much appreciated.
FROM jetbrains/teamcity-agent:latest-windowsservercore AS tools SHELL ["powershell", "-Command", "$ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue';"] FROM microsoft/dotnet-framework-build:4.7.1-windowsservercore-ltsc2016 ENV CONFIG_FILE="C:/BuildAgent/conf/buildAgent.properties" \ JRE_HOME="C:\Program Files\Java\Oracle\jre" \ NUGET_XMLDOC_MODE=skip \ DOTNET_CLI_TELEMETRY_OPTOUT=true \ DOTNET_SKIP_FIRST_TIME_EXPERIENCE=true EXPOSE 9090 VOLUME C:/BuildAgent/conf COPY --from=tools /BuildAgent /BuildAgent COPY --from=tools ["C:/Program Files/Git", "C:/Program Files/Git"] COPY --from=tools ["C:/Program Files/Mercurial", "C:/Program Files/Mercurial"] COPY --from=tools ["C:/Program Files/Java/Oracle", "C:/Program Files/Java/Oracle"] COPY --from=tools ["C:/Program Files/Java/OpenJDK", "C:/Program Files/Java/OpenJDK"] #COPY ["/MSBuild/12.0", "C:/Program Files (x86)/MSBuild/12.0"] #COPY ["/MSBuild/14.0", "C:/Program Files (x86)/MSBuild/14.0"] COPY --from=tools ["C:/Program Files (x86)/Microsoft Visual Studio", "C:/Program Files (x86)/Microsoft Visual Studio"] # Install Nod #RUN [Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; Invoke-WebRequest https://nodejs.org/dist/v8.10.0/node-v8.10.0-x64.msi -OutFile nodejs.msi; \ # Start-Process msiexec -Wait -ArgumentList /q, /i, nodejs.msi; \ # Remove-Item -Force nodejs.msi CMD ./BuildAgent/run-agent.ps1
get the security permissions of a windows drive mounted in linux
how to see the of permissions of the files in the mount folders. the mounted folder was a windows shared drive
when i go to windows file manager click on Properties and open security tab i can see the groups and users in that security tab so now how do i see those details in Linux machine as i have mounted it.
in windows i can use
to see by using above command but how do i do it in Linux
Ram Matrix Configuration
I have a question regarding RAM matrix configurations. I've only recently been researching about how computers function and started getting interested in how bits in memory are fetched etc.
If I understand correctly, CAS latency comes about from the column access. This got me thinking. Why are RAM arrays rectangular and not another shape. For example, why not have memory organized in a diamond formation, with the lines running closer to the vertices having faster access and therefore reducing CAS latency (at the expense of less RAM)?
My understanding could be utterly flawed, in which case I'll need to do more research. But interested to know more details on this.
Why is my GTX 780 TI 4 times slower than my GTX 1080 Ti with deep learning?
until now i used my GTX 780 Ti for Deep Learning, but recently i switched to a GTX 1080 TI.
Now for my question: How is my old GTX 780 TI more than 4 times slower than my GTX 1080 TI even though the theoretical performance boost should be more like twice the performance. (5.3 TFLOPS vs 11.3 TFLOPS) I used the same PC for both and also the same Python Code. Also i compared both with Alexnet and Caffe at FullHD resolution.
Has this some thing to do with faster memory, or more operations per clock or just the result of a new chip with fewer "bottlenecks" ?
Thanks in advance!
c++ get number of HW sockets under one node
How can I get number of sockets under one node (or number of CPUs under one socket since I have number of CPUs under one node) on linux system?
I have found a solution using numa library, which in general works fine, however if I call
numa_node_of_cpu(NODE_SIZE_CPU-1)in a structure constructor (I have a static instance of the structure) it returns -1.
NODE_SIZE_CPU = sysconf(_SC_NPROCESSORS_ONLN); NODE_SIZE_SOCKET = numa_node_of_cpu(NODE_SIZE_CPU-1)+1;
I want neither to use
boostnor parse /proc/cpuinfo.