windows – Hyper-V Manager is missing my running Instances of VMs

I have two Linux VMs on my local PC that are running, but they are no longer visible from the Hyper-V manager. They are used to cross-compile programs using Linux toolchains.

I can connect to them in WinSCP and the compiler works, but they are missing from the Hyper-V manager. Anyone know of a way to rebuild the list of VMs, or some other way to display these in Hyper- V? This might be due to a storage cleanup that I did for the hard drive.

domain name system – How does the A record change over time by running a DNS query?

I am running a DNS query on using Google’s public resolver @ using the mac terminal. I have to get the A records for the host and run the query a couple of times to notice any change to the A records.

dig @ 

I’ve run the query about 10 times but I see nothing new happening. However, since the question asks for describing the change, I feel like I’m doing something wrong here.

docker – Deploying minimal OS for running Powershell scheduled tasks?


I need your suggestion and guidance in deploying minimal Operating System to run multiple Powershell Scheduled tasks on my OnPremise Hypervisor VMware v6.7

Typically, I am installing these modules

Active Directory
VMware PowerCLI,
Microsoft 365 (Office 365) 
Azure reporting.

Which one should be better for my scenario above?

Windows Server Core
Windows Server Nano

Thank you in advance.

Server running on Windows 10 as a service, OWIN self-hosted with WebAPI endpoints making an SSL connection without configuring a private key

I have created a prototype application the runs on Windows 10 that communicates with a server (described in the title) running as a service on a different system and successfully got SSL working but I’m missing something because I never seemed to generate any keys. I only just self-taught myself how to use PowerShell to create the self-signed certificate (so bare with me) using New-SelfSignedCertificate but I have very little insight into why this worked at all. From my very limited understanding a private key on the server is absolutely required for SSL to work, and I never associated one with my certificate… but it’s working and I think I’m fooling myself.

All I did was create the certificate with New-SelfSignedCertificate -Subject "CN=My Server Name"
Then add the binding with netsh http add sslcert certhash=<the thumbprint> appid={the app id}
And add the reservation for the service with netsh http add urlacl url="https://+:<my port number>/" user='NT AUTHORITYLocalService'

This all works, but I’m not sure I understand how because I never configured a private key. I know it must need to be expanded upon somehow to make it more secure because every single tutorial out there talks about making the certificate trustworthy and assigning a private key to the cert… but I’ve done none of that and it still appears to work. Granted, the client is not a web browser and will never care about the authenticity of the server because of the context in which this particular application will run (It’s to connect scientific components together in a lab, and there’s almost no exposure outside the network).

What am I missing here? Did Windows 10 provide a private key anyway? How can it really be encrypted if I didn’t need to specify these things? I also never moved the certificate to a trusted store of any kind because it frankly didn’t seem necessary since the client is just a proprietary front-end application.

linux – Transmission Daemon running under custom user trying to load config from wrong path

I have transmission daemon 2.94 running as a service on a Debian 10 machine.

I changed the user running transmission daemon from default debian-transmission to www-data Apache user, since I want the save files to be readable by Apache and the opposite, Apache files to be readable by transmission.

To do that, I changed to the user setting from the following config files:

  • User=www-data in /lib/systemd/system/transmission-daemon.service
  • USER=www-data in /etc/init.d/transmission-daemon
  • setuid www-data and setgid www-data in /etc/init/transmission-daemon.conf

The transmission JSON config file still resides in /etc/transmission-daemon/settings.json. I made sure both directories /var/lib/transmission-daemon and /etc/transmission-daemon were owned by the new user www-data.

But when I relaunch the service with sudo systemctl start transmission-daemon or sudo service transmission-daemon start, I get the following in the transmission logs:

Couldn't create "/var/www/.config": Permission denied (file-posix.c:189)
Couldn't read "/var/www/.config/transmission-daemon/settings.json": No such file or directory (utils.c:238)
Couldn't save temporary file "/var/www/.config/transmission-daemon/settings.json.tmp.jq3qtN": No such file or directory (variant.c:1285)

…and other similar errors.

So it would seem transmission-daemon is trying to use the www-data user home path and recreate its config directory here.

Why is that and how can I make transmission using the previous default config path? I don’t see any transmission configuration depending on the user home path.

Side question: what is the difference between all those three config files where you set up the user running the service?

Utilize These Tips For Running A Home-Based Business

It can be a very exciting opportunity starting your own home-based business. You need to be fully prepared in order to make everything go smoothly, and there are many things to consider in order to make this happen. Continue reading to find out for information, and utilize these tips for running a home-based business.

When you decide what business opportunity that you’re going to do, you need to come up with a solid plan. This needs to be a written plan, full of goals and different strategies according to your business niche. You will continue planning as you get started, but it’s a good idea that you have most everything sorted out beforehand.

When operating a home-based business, you need to come up with a budget to work from. Write down all of your monthly expenses, and make sure you write down your start-up costs and any future one-time expenses as well. As your income starts to come in, you can start to plan out the rest of your budget.

You’re going to have an in[​IMG]ventory of things you need as you start your business. As you are able to free up money from your budget, get the things that you need. Focus on what you absolutely need in order to start your business. You want to keep everything organized, and you want any office equipment that you need to do business on a daily basis.

Now it’s time to get started, and you need to see how the public responds to your products or services. This will give you a good idea as to how things are going to go from the beginning. Find out what is working, and change what isn’t working.

You’re going to have to figure out your advertising strategies. No one can run a home-based business site without search engine optimization strategies as well. You can do the search engine optimization yourself if you learn the right knowledge. You can also seek out advertising strategies that are both free and less costly.

Whenever you see the potential to better your products or the way you offer them, take advantage of this. Offer your customers special promotions or discounts, hold contests, and tell them about new product information.

You must make sure that you stay patient because it will take time to grow your business. Businesses work different than jobs. In your previous occupation, you worked for a salary or hourly wage. Now, you have to build, and income can be quite sporadic. However, you can get a lump sum all at once. Business is a yo-yo process, but it can be very lucrative and rewarding.

Running your own home-based business is a great way to earn extra income or replace your current income altogether. Many people are getting involved in their own home-based businesses these days for many different reasons. Make sure you devise a solid plan, and get ready for a lifestyle change. Make your business setting comfortable at home, and with a disciplined approach, get ready to make some profits.


c# – CodeWars kata Fusc function running too long, but very fast locally

I have a solution to this CodeWars challenge that’s being rejected as “too slow”.

Basically, write public static BigInteger Fusc(BigInteger n) given:

  1. fusc(0) = 0
  2. fusc(1) = 1
  3. fusc(2 * n) = fusc(n)
  4. fusc(2 * n + 1) = fusc(n) + fusc(n + 1)

— CodeWars description (from part 1, which is formatted slightly nicer IMO)

I have the class below. FuscInner is a literal, naïve implementation, to offer a “known good” answer if needed; it’s slow, but that’s fine. The trouble that I’m running into is that FuscInnerTest runs against my test driver in a quarter second, but times out on CodeWars.

While I’m open to any suggestionst for cleaning up FuscInnerTest or MediumInt, my primary goal is to ascertain why it’s running so poorly when I submit to CodeWars (of course, I don’t know how many test cases it runs…).

using System;
using System.Collections.Generic;
using System.Linq;
using System.Numerics;

public class FuscSolution {
    public static BigInteger Fusc(BigInteger n) {
        //var timer = System.Diagnostics.Stopwatch.StartNew();
        var answer = FuscInnerTest(n);
        //Console.WriteLine($"{n} {answer} : {timer.Elapsed}");
        //answer = FuscInner(n);
        //Console.WriteLine($"{n} {answer} : {timer.Elapsed}");
        return answer;

    private static BigInteger FuscInner(BigInteger n) {
        if (n == BigInteger.Zero) {
            return BigInteger.Zero;
        if (n == BigInteger.One) {
            return BigInteger.One;

        if (n % 2 == BigInteger.Zero) {
            return FuscInner(n / 2);
        var half = n / 2;
        return FuscInner(half) + FuscInner(half + 1);

    private static readonly Dictionary<BigInteger, BigInteger> _dict = new Dictionary<BigInteger, BigInteger> {
        { BigInteger.Zero, BigInteger.Zero },
        { BigInteger.One, BigInteger.One },
        { new BigInteger(3), new BigInteger(2) },
        { new BigInteger(5), new BigInteger(3) },

    private static BigInteger FuscInnerTest(BigInteger n) {
        // note: making this a Dictionary<BigInteger, BigInteger> worked quickly locally, too
        // the "MediumInt" is an attempt to reduce the number of BigInteger allocations, since
        // they're immutable
        var queue = new Dictionary<BigInteger, MediumInt> {
            { n, new MediumInt(1) },

        BigInteger answer = BigInteger.Zero;

        while (queue.Any()) {
            var current = queue.Keys.Max();
            if (_dict.ContainsKey(current)) {
                answer += _dict(current) * queue(current).ToBigInt();
            } else {
                var half = current / 2;
                Enqueue(half, current);
                if (!current.IsEven) {
                    Enqueue(half + 1, current);

        return answer;

        void Dequeue(BigInteger toRemove) {
            if (queue.ContainsKey(toRemove)) {
                if (queue(toRemove).IsPositive()) {
                } else {

        void Enqueue(BigInteger toAdd, BigInteger parent) {
            if (queue.ContainsKey(toAdd)) {
            } else {
                queue(toAdd) = new MediumInt(1);
            if (parent != null) {
                if (queue.ContainsKey(parent)) {

    private class MediumInt {
        private const int max = 2_000_000;
        private const int min = -2_000_000;

        private BigInteger big = BigInteger.Zero;
        private int current = 0;

        public MediumInt(int initialValue) {
            current = initialValue;

        public bool IsZero() {
            return big == BigInteger.Zero && current == 0;

        public bool IsPositive() {
            if (IsZero()) {
                return false;
            if (current == 0 && big <= 0) {
                return false;
            if (big == BigInteger.Zero && current <= 0) {
                return false;

            if (big == BigInteger.Zero) {
                return current > 0;

            if (big > BigInteger.Zero && big > Math.Abs(current)) {
                return true;
            if (big < BigInteger.Zero && big < Math.Abs(current)) {
                return true;
            throw new Exception("IsPositive unknown state");

        public void Incriment() {

        public void Decriment() {

        public void Add(MediumInt value) {
            current += value.current;
            big += value.big;

        public BigInteger ToBigInt() {
            return big + current; ;

        private void Normalize() {
            if (current > max || current < min) {
                big += current;
                current = 0;

Driver code:

Assert.AreEqual(BigInteger.Zero, FuscSolution.Fusc(BigInteger.Zero));
Assert.AreEqual(BigInteger.One, FuscSolution.Fusc(BigInteger.One));
Assert.AreEqual(BigInteger.One, FuscSolution.Fusc(new BigInteger(4)));
Assert.AreEqual(new BigInteger(2), FuscSolution.Fusc(new BigInteger(3)));
Assert.AreEqual(new BigInteger(3), FuscSolution.Fusc(new BigInteger(10)));
Assert.AreEqual(new BigInteger(3), FuscSolution.Fusc(5));
Assert.AreEqual(new BigInteger(3), FuscSolution.Fusc(20));
Assert.AreEqual(new BigInteger(8), FuscSolution.Fusc(21));
Assert.AreEqual(new BigInteger(53), FuscSolution.Fusc(9007199254740991L));

// You need to pass these tests very quickly
BigInteger twoPThous = BigInteger.Pow(2, 1000);
Assert.AreEqual(new BigInteger(1001), FuscSolution.Fusc(twoPThous + BigInteger.One));
Assert.AreEqual(new BigInteger(1000), FuscSolution.Fusc(twoPThous - BigInteger.One));
Assert.AreEqual(new BigInteger(2996), FuscSolution.Fusc(twoPThous + 5));
Assert.AreEqual(new BigInteger(7973), FuscSolution.Fusc(twoPThous + 21));
Assert.AreEqual(new BigInteger(50245), FuscSolution.Fusc(twoPThous + 9007199254740991L));
var e = BigInteger.Parse("40441312560834288620677930197198699407914760287917495887121626854370117030034851815445037809554113527157810884542426113562558179684997500659084090344407986124994461497183");
var a = BigInteger.Parse("4496047232746033439866332574607641115185289828815659836877207557974698638551430698226403383854431074455323285812344476437334109742500243442945967768558521790671067401423809250553312923996658420643391496408098163895264498830090255970293513331630261702288646149000136895514918279039816543329290294321200");
Assert.AreEqual(e, FuscSolution.Fusc(a));

openstack – How do I perform a release upgrade on a server running Landscape?

I’m attempting to perform a release upgrade from 18.04LTS to 20.04LTS, on my server running Landscape.

The upgrade is blocked due to

An unresolvable problem occurred while calculating the upgrade.
This was likely caused by:
* Unofficial software packages not provided by Ubuntu

According to the upgrade log, the unofficial software is the landscape server (if I’m interpreting “Foreign” correctly):

2020-11-18 19:17:24,416 DEBUG Foreign: landscape-client landscape-common landscape-hashids landscape-server landscape-se
rver-quickstart libjs-yui3-common libjs-yui3-full libjs-yui3-min python-convoy python-pyjwkest python-pyoidc python-stor
m python-stripe python-talisker python-txamqp python-txaws python-txjuju python-txlongpoll

I also see later in the log that

2020-11-18 19:17:56,869 DEBUG blacklist expr '^postgresql-.*(0-9)(0-9).*' matches 'postgresql-10-debversion'
2020-11-18 19:17:56,869 DEBUG The package 'postgresql-10-debversion' is marked for removal but it's in the removal black
2020-11-18 19:17:56,884 ERROR Dist-upgrade failed: 'The package 'postgresql-10-debversion' is marked for removal but it
is in the removal blacklist.'
2020-11-18 19:17:56,884 DEBUG abort called

so it’s possible the “unofficial software” warning is a red herring.

Has anyone successfully done a release upgrade on a server running Landscape?

Bots Running Renewable Windows VPS With 1GB Ram 2 CPU Cores 3.1 GHz for $8

Bots Running Renewable Windows VPS With 1GB Ram 2 CPU Cores 3.1 GHz

Provide monthly Renewable Windows VPS With 1GB Ram 2 CPU Cores 3.1 GHzALL THE BEST FEATURES, AT THE BEST PRICE!Low price doesn’t mean you have to settle for low quality services

  • 2 CPU Cores @ 3.1 GHz
  • 1024 MB Ram
  • 25 GB SSD Storage
  • UNMETERED Bandwidth (200 Mbps)
  • 1 Dedicated IPv4
  • Control Panel Available

Full Technical Specifications

  • High Performance VPS Technology
  • 99.99% Uptime Guarantee
  • 14-Days Money Back Guarantee
  • Virtualizor Control Panel
  • 24/7/365 Support
  • FREE DDoS protection