## Minimum total waiting time for arrivals / duration

I came up with the following problem and apparently can't find an effective way to solve it:

Consider $$n$$ Customers who arrive at a service point at certain times $${a_i } _ {i = 1} ^ n$$ whose service period (let's say from a single employee) is known
his $${d_i } _ {i = 1} ^ n$$, Choose the type of maintenance so that
the total sum of waiting times (i.e. if we consider $${s_i } _ {i = 1} ^ n$$
the start time for each customer, then the total waiting time
would $$sum limit_ {i = 1} ^ n {s_i-a_i }$$) is minimized.

The only difference between this problem and interval planning, which involves choosing the earliest end time first, is that here all Customers have to be serviced. (whereas some intervals may not be selected in interval planning)

Is there an efficient greedy algo for this problem? Or isn't there? Many obvious or less obvious approaches don't seem to work, for example:

• Customer 1: Arrival at 1 a.m., duration 9
• Customer 2: Arrival at 2 a.m., duration 13
• Client 3: Arrival at 3pm, duration of $$epsilon$$

The example above gives advice on choosing the smallest one $$a_i + d_i$$ First, but I don't seem to be able to prove it with an exchange argument … Maybe the problem is NP-Complete?

## Dir50.club – 40 \$ / 10k for all countries! + 15% bonus + PayTM. Daily withdrawals. No long waiting times. No bonus Proxies-free

In a few words: Dir50 is one of the oldest platforms in the industry that has been in operation since 2016.

Key features

Fixed PPD \$ 40 / 10k views
Bonus PPD \$ 50 for English speaking countries.

We do not delete your files in the case of DMCA!
10% referral bonus

Live support via Skype.

FAQ
Porn is allowed. Child pornography is not allowed.

We pay every day with:
paypal
Bitcoin
Internet money
PayTM
waviness
Sepa

+ Bills available

## Dir50.club – 40 \$ / 10k for all countries! + 15% bonus + PayTM. Daily withdrawals. No tiny waiting times. No bonus Proxies-free

In a few words: Dir50 is one of the oldest platforms in the industry that has been in operation since 2016.

Key features

Fixed PPD \$ 40 / 10k views
Bonus PPD \$ 50 for English speaking countries.

We do not delete your files in the case of DMCA!
10% referral bonus

Live support via Skype.

FAQ
Porn is allowed. Child pornography is not allowed.

We pay every day with:
paypal
Bitcoin
Internet money
PayTM
waviness
Sepa

+ Bills available

## Waiting does not work in an ASYNC method C #

I am trying to open a new window and make sure that the user is not logging in. The screen is not closed. The problem is that the "wait" doesn't wait, so the screen is created and immediately closes.

``````public async Task InvokeAsync(BrowserOptions options, CancellationToken cancToken)
{
_options = options;

return this.result;
}
``````

And here I create the waiting screen:

`````` public async void cargarWindow()
{
var window = new Window
{
Width = 900,
Height = 625,
};

var webBrowser = new WebBrowser();

var signal = new SemaphoreSlim(0, 1);

this.result = new BrowserResult()
{
ResultType = BrowserResultType.UserCancel
};

webBrowser.Navigating += (s, e) =>
{
if (BrowserIsNavigatingToRedirectUri(e.Uri))
{
e.Cancel = true;

var responseData = "";

{
responseData = GetResponseDataFromFormPostPage(webBrowser);
}

this.result = new BrowserResult()
{
ResultType = BrowserResultType.Success,
Response = responseData
};

signal.Release();

window.Close();
}
};

window.Closing += (s, e) =>
{
signal.Release();
};

window.Content = webBrowser;
window.Show();
webBrowser.Source = new Uri(_options.StartUrl);

await signal.WaitAsync();

}
``````

In the "expect signal.WaitAsync ();" It is where it should stop, but it is out of line.

I have already tried creating the screen and login individually and it worked without having to create a thread, but when I added it to the application there was an error that I had to add the "ApartmentState.STA" and since I inserted the thread no longer waiting for the "wait"

I've been there for a few days and can't solve it.

## Has stopped waiting for the root file system device. General problems

-boot args (cat / proc / cmdline)
– check rootdelay = (has the system waited long enough?)
missing modules (cat / proc / modules; ls / dev)
Alert uuid = ………. exidt not dropping to shell!
I am tired of all the answers in Google and not helping here
This issue occurs after I do a boot repair
Any solution?
I have Windows and Ubuntu 18
I can open Ubuntu in recovery mode

## boot – Ubuntu 16.04 under Hyper-V: I stopped waiting for the root device

I'm testing the import of an Ubuntu 16.04 VM into Hyper-V for my company. We usually use VirtualBox, but we also imported the image into VMWare with very few problems.

Hyper-V seems a lot trickier. I used a program called "StarWind V2V converter" to create a VHD file with the VMDK file used in VBox. The start process hangs at some points and then continues. But then there are a number of mistakes:

After displaying some of these values ​​for about 10 seconds, the start process is moved to (initramfs).

To run `cat /etc/fstab` initramfs produces no output.

Does anyone have any suggestions for solving this problem? I don't know Ubuntu or Hyper-V very well, so I'm a bit baffled here. I've investigated these errors, but it seems that they can be caused by a variety of issues. I haven't found anything that has helped.

I am currently converting the VMDK to a VHDX (instead of VHD). But mostly for lack of better ideas.

Any help or just pointing me in the right direction would be greatly appreciated!

## Is it possible to write a PowerShell DSC configuration waiting for a manual installation?

I want to use DSC to check and correct service resources as Status = Running. The problem is that these services are not available until I manually run a software installer on the target node. I am already using DSC to prepare the node for installing this software.

In other words, I have a node where I do some configurations, then a manual software installation that depends on that configuration, and then a service resource that depends on the manual software installation.

In theory, I could automate software installation in a custom or script resource and then create the dependency chain I described, but in practice, I don't have the time yet to do this automation. (This is a long-term goal.) Instead, I want to apply the first part of the configuration, install the software manually, and then allow the last part of the configuration to be applied.

What is the least bad way to do this? I know that I could create two separate configurations for the "before" and "after" phases, but I think it would be better to have a configuration that could be expanded later through an automatic installation process. I am currently considering using a scripting resource that looks for semaphores / files on the hard drive and errors in the SetScript, but I have not yet done a proof-of-concept for this strategy.

## amazon web services – attempt to transfer domain from Area 53 to AWS: Namecheap stays on & # 39; waiting for approval by previous registrar & # 39;

The domains are .com and .org and I have both unlocked in AWS.

I have already used Area 53 to start the transfer, but as the title suggests: Namecheap is still waiting for AWS after about 24 hours with the message "Waiting for approval from previous registrar".

What am I doing? I have already paid a nameless amount for the transfer and am making the transfer special because I have so many problems with amazon.