GET Our Internet Marketing Bots And Services FREE For You.. Limited Time Offer |

  1. Mongo

    New Member

    Sep 10, 2020
    Likes Received:
    Trophy Points:

    We Specializes In Developing Custom Automated Software For Your Business.
    GET Our Internet Marketing Bots And Services FREE For You.. Limited Time Offer
    For More Info.. Signup Here:

    Hidden Content:

    You must reply before you can see the hidden data contained here.

    Thank you & prosper..


boot – How do I get a hyper-v Windows VM to run installation and configuration scripts no later than the first time a user logs in?

I want to set up a Windows 10 VM on my workstation from an available VHD from Microsoft.
I’ve got a PSH script that will download the VHD and create the VM in Hyper-V. Check.

Before I use the VM, I want to make sure my favorite development applications are installed and some required network and security configurations and applications are installed. The latter, at least, require certain batch and PowerShell scripts to run.

I can mount the VHD and copy the scripts to the VHD for the VM from PowerShell. Check.

When I launch the VM I can manually run the scripts in the VM and they install and configure things, when run with the right administrative privilege. That’s OK, but not ideal. I want this to be fully automatic, so when I log into the VM for the first time then the applications and configurations are either already in place or launch automagically in the background and everything is soon in place.

Examples of the customizations to the base image:

  • Install the latest Chrome (install without user input)
  • Install a particular VPN we use, which requires a bunch of PowerShell
    configuration changes in administrative mode before the installer
    will work correctly
  • Install WinMerge

I have not worked deeply with automating the configuration of Windows workstations in ages nor with Hyper-V VMs, so I’m not even sure if the approach is to put scripts in a magic startup folder or to set registry keys in the VM or some other VM setup hack that is quite unknown to me.

Any ideas how to pull this off with PowerShell and maybe a little batch?

High disk io wait time – suggestions to troubleshoot?

We’re seeing high disk io% wait in top, and wondering what might be the cause. Top load average is around 6. Typical io wait is around 2 … | Read the rest of

Time complexity for nxn determinant?

Method for finding the nxn determinant of a matrix is the method of simplifying by row or col.
Find Time complexity for it.

My try:

(n-1)! + (n-1)! + … + (n-1)! – n times
so n!;
T(n) = n!;

How do I delete more than one document at a time on google documents. Not google drive

I have a whole bunch of documents from like 2 years ago and it’s really annoying. It take like 10-15 seconds to delete one. I don’t have hours to spend deleting documents one by one when I am 12 and have school. If you can please help me I would appreciate it.

decision problem – Randomized Polynomial time algorithm for bipartite perfect matching

I know that deciding whether there is a perfect matching in a given bipartite graph is in RP. Specifically, given a bipartite graph, one can show that there is polynomial-time randomised algorithm that answers “there is no perfect matching” w.p 1 when there is no perfect matching, and answers “there is a perfect matching” w.p at least 1/2 when there is a perfect matching.

My question is: how can I use the above algorithm to find a specific perfect matching (with the same one-sided error), and not only decide if there is a perfect matching?

I am familiar with the “Decision to Search in NP”, I tried to do something similar here, but did not succeed to bound the probability. Here is my attempt:

Given a Bipartite graph G = (V, E), use the above algorithm to decide if there is a perfect matching. If the answer is no, then answer “No”. If the answer is yes, consider some edge e = (u, v) in E, and remove u and v from the graph to get the graph G’. Then ask again if there is a perfect matching in G’. If the answer is yes, then a perfect matching M’ of G’ with the edge (u, v) are a perfect matching in G. Otherwise, if the answer is no, then we know that the edge (u, v) is not in any perfect matching of G. So, we remove the edge e from G (u and v remain in the graph), and we continue recursively.

Things that I know:

  1. If the algorithm that decides whether there is a perfect matching or not, is nonrandomised, then my suggestion actually produces a perfect matching of G, and it does so by applying the algorithm at most |E| times.

  2. I know that if a language has a randomised algorithm with one sided error 1/2, then the error can be amplified to $1/2^k$ where k is the length of the input.

I did not succeed to show that my suggestions works. That is, I did not succeed to show that it succeeds to produce a perfect matching w.p at least 1/2 when there is a perfect matching. (When there is no perfect matching, it clearly answers “No” w.p 1).


timestamp – In the time side channel, is there any way to improve the measurement time accuracy?

I want to measure the execution time of a function. The execution time of this function is only slightly different in the two cases. Is there any way I can accurately measure its time to distinguish the two cases?
The possible solutions are:

  1. Use precise measurement functions. Such as __rdtscp or std::chrono clock. I tried __rdtscp, but due to the noise caused by the serializing and the granularity of time stamp counter, __tdtscp is still not accurate enough. Is there any way to reduce the noise during __rdtscp measurement?
  2. Increase the time difference of function execution. This is what I want to do now. But once this function is changed, the background becomes less convincing.
  3. Is there a lot of noise in calling functions? Is there any way to reduce the noise in calling functions? Can calling functions in inline assembly reduce noise? Or is it new to do some other work before calling the function?

Can someone give me some advice?

After upgrade to WIndows 10 version 2005 boot time has increased by more than 3 minutes

I have HP Pavilion 300-010in Mini Desktop PC. It came loaded with Windows 8. Upgraded to Windows 10. Was working very well till Windows 10 version 2009. After upgrade to Windows 10 version 2005 boot time has increased by more than 3 minutes. Due to the screen which stays for about 3 minutes after login screen before the desktop appears. Which says “just a moment” as shown below. Already tried everything I found on net including this. Need Help.

This screenshot was taken from other PC on VNC.

enter image description here

Time complexity of a^{n^b}; a,b>1

What ist the running time of this expression? And how is it compared to factorial complexity O(n!)?

php – Hide specific shipping methode depending on day and time of day

I would like to further expand the code given here: Hide specific shipping method depending on day time in Woocommerce

This snippet will, depending on the time of day, hide a specific shipping method, and it works. But I would also like to include the current day.

For example: get the current day and time, and if you are ordering on saturday (= today) after 11pm, you can no longer select the saturday delivery option. If ordering on saturday (= today) before 11pm, you can still select it.

add_filter( 'woocommerce_package_rates', 'hide_shipping_method_based_on_time', 10, 2 );
function hide_shipping_method_based_on_time( $rates, $package )
    // Set your default time zone (
    // Here set your shipping rate Id
    $shipping_rate_id = 'local_pickup:13';

    // When this shipping method is available and after 11 AM
    if ( array_key_exists( $shipping_rate_id, $rates ) && date('H') > 11 ) {
        unset($rates($shipping_rate_id)); // remove it
    return $rates;