Disabling system sounds and alerts without disabling application notification sounds

Is there a way to disable all alerts without disabling notifications for certain apps? For instance, every time I adjust the volume with the keyboard it plays an annoying bing sound, and the only way I know to disable it is to mute System Sounds in settings. This is fine except muting System Sounds mutes the notification sound that plays whenever my thunderbird inbox receives a new message. System Sounds

What is the smallest value of n such that an algorithm running at 100*n^2 operates faster than 2^n ? [How to figure out without brute force]

Okay, so I needed to find the smallest value of n such that algorithm 100*n^2 is faster than 2^n.

[what I have tried]

So, I instantly thought ‘0’. But, I then realized it can’t be 0, 0 implies that there are no digits being entered in the algorithm, it also implies that the program does not run or terminate.

I typed in 2^32 and got a number over 4 billion. Okay, this is good, I’m finding numbers that have 100*n^2 being faster than 2^n.

I halved that, n = 20.

I kept inserting values counting down until I got to n = 15.

I also counted up from n = 10, the answer is undoubtedly n = 15, but I have a problem . . . .I solved this using brute force and that isn’t good. What if I was given a bigger number and a larger bredth of numbers?

[What I need]

I need a way of finding the value instantaneously by only doing the math, I tried using logarithms, but my answer was wrong, my knowledge of logs is a bit rusty and I need a little help.

Think of it as a student trying to solve a question on an SAT or having a timer for a test.

Boot directly into application without showing desktop

I am looking to use an old Dell Latitude laptop as a media extender. I am looking for the laptop to boot directly into the application without showing the dekstop at all. Currently i added the application to the startup list via lubuntu applications, but desktop flashes for good 15 seconds(yes its a slow hdd too) before opening the application. Is it somehow possible to maybe bypass loading the desktop but still be able to run the application?i have tried running it through the command line by booting into text mode but it cant load the GUI as expected. I think in order to achive that i need to load a window manager or similar. Sorry, my knowledge with linux is limited. Thank you.

Wake on LAN (WOL) on Mac Pro 3,1 WITHOUT MacOS

I’ve been re-purposing my Mac Pro 3,1 (2008) to be a server using docker and Ubuntu Server 18.04.2. I’m trying to get wake on lan to work, as this is a really power-hungry machine and I would rather not let it run all the time.

Everything I can find shows how to enable WOL with macOS, however I have completely removed macOS and now only have Ubuntu server.

Is there some way I can enable WOL using some sort of bios or single user mode or something like that. Or, alternately, is there a way to do this software-only using something like pm-suspend and some other set of tools?


2019 On-Prem Workflow. Need help without Javascript

I am using Sharepoint On-Prem 2019.

Using Sharepoint Designer and no Javascript due to new sharepoint limitations, I need to accomplish the following workflow. (I used to be able to pass the Patch ID number via Javascript.)

-Create a unique patch ID -email select user group that new patch has been applied to a server. -Have users submit a bug report for the that specific patch so I can sort the list by patch ID.

The problem I am having is how to assign the same patch ID for each unique patch to every bug report. The patches occur less than one per week, so I was thinking that I could somehow base a lookup on creation date+7 days, I have been unsuccessful so far.

Anywhere from 1-10 responses can be expected each time.


Multi-boot without uefi

I have an old windows xp computer that has a motherboard that does not support uefi or virtualization, and recently I overwrote windows with Ubuntu linux 18.04 as it is a much better OS. I now need to install Mac OS High Sierra as a dual-boot since I need to use Garageband, but still have my Ubuntu. Since I dont have UEFI support, I cant use rEFInd as a boot manager. I can boot from a live cd to partition my main drive, and I was thinking of writing the mac installer directly to the second partition, but then how would I boot to the mac install. Would I have to choose an option in GRUB, or is there an option in the BIOS to boot directly to a partion? Thanks PS. I’ve googled just about everything.

Can an ISO file harm my computer without being executed by me?

This is very related to this question: What damage can a malicious .iso file cause without explicitly executing it?

An ISO file got downloaded to my desktop. I immediatly tried to delete it, but when I did, I got the error message “Can’t delete this file. This file is in use by System. Close the file and try again.”

I never opened the file, how can it be in use? Has it harmed my computer? Am I safe?

PS: I rebooted Windows into safe mode with command prompt and deleted the single file from there, but if it did something before I deleted it, I do not know what to do.

How can I economically scale to 100+ instances of my .Net Core app without using 1 container per instance?

Currently I have a .NET core application, which fires up a new thread to hold each customer account. Each thread instance:

  • Is long running for many months or more
  • Holds open SignalR Websockets and calls 3rd party APIs
  • Needs to be super responsive
  • Has 1 instance for every user account as it connects to unique web sockets / account APIs.

The current plan is to compile this to a Windows Service then deploy 1 application per server instance that uses all resources on the server, then have an orchestrator that manages controlling and deleting the threads through a RabbitMQ integration. We are imagining that 1 server instance could run up to 40 threads or something. Then the orchestrator would create new server instances to manage more accounts as we scale.

I am not happy with this approach as it feels clunky to me. Ideally I’d like to fire up each account instance in it’s own Container using Kubernetes or similar, but the cost of running 1 user account per container is not financially viable.

Are there any other alternatives that anyone can recommend. Other things I’ve been thinking of are to create each account as a separate app as a Windows Service and then fire up multiple versions of the windows service on each server with some kind of service orchestrator.

I am fairly new to architecture like this, so go easy on me if I have not explained this properly. Any advice/ideas on how others could/would approach this would be most appreciated.