How to setup a Chia Harvester on Windows

The following instructions are for setting up a Windows computer as a Chia Harvester.

Prerequisites

Before we get started you will need the following

  1. Have a current Chia farmer
  2. You will need the \ca folder from your main farmer.
  3. IP address of your Chia farmer

The ca folder should be located in

%homepath%\.chia\mainnet\config\ssl\

You should be able to copy and paste the above in File Explorer. Copy the ca folder to a USB drive or share it via a network share.

Setting up harvester

  1. Copy the ca folder to an easily accessible place on your harvester
  2. Install Chia from https://www.chia.net/download/
  3. Close chia
  4. Open PowerShell and paste the cfollowing commands in. Change the sections in bold to reflect your settings/options
cd $env:APPDATA..\local\chia-blockchain\app-1.2.5\resources\app.asar.unpacked\daemon
.\chia.exe init -c D:\ca\
.\chia.exe stop all
.\chia.exe configure --set-farmer-peer 192.168.188.2:8447
.\chia.exe configure --enable-upnp false
.\chia.exe plots add -d D:\   
.\chia.exe start harvester -r

Check the main Farmer to verify the Harvester connected.

Disable Telemetry for DotNet SDK

First option is to open a Power Shell or Command Prompt and type, think it may need to be an admin prompt.

set DOTNET_CLI_TELEMETRY_OPTOUT=1

As a secondary option you should also be able to do this from the GUI by doing the following.

Search for Environment Variables

Windows Environment Variables

Edit Environment Variables

Edit Environment Variables

Create Variable named DOTNET_CLI_TELEMETRY_OPTOUT

with a Variable value of 1

Create Windows Dot Net CLI Telemetry Opt Out variable

Save by Hitting OK and OK again.

Fix White Bar on Windows Explorer in Dark Mode – Windows 10

White bar on Windows Explorer

For some reason you can sometimes have this white bar appear on Windows File Explorer. Fortunately it is an easy fix. Launch Internet Explorer, Yes IE, some of the configuration settings affect both Internet Explorer and Windows File Explorer.

Right click on the Title bar and check the box on Lock the toolbars.

Lock the toolbars to get rid of white bar in Windows File Explorer

Close any open File Explorer windows and relaunch it. It should now be gone.

Windows Explorer without the white bar

Unity Hub Failing to Launch Unity Project

While trying to launch a project in Unity I kept getting met with, nothing… Click on the project the Hub disappears and nothing happens… Tried uninstalling and reinstalling both Unity and the Unity hub.

I did receive an error similar to the following when trying to launch Unity directly.

windows\system32\msvcp120.dll is either not designed to run on windows or it contains an error

Doing some digging online shows that it has to do with the Visual C++ Redistributable runtime package which can be downloaded here

https://www.microsoft.com/en-us/download/details.aspx?id=40784

Unity was back to working normal after installing that.

More information is available at the following link.

https://forum.unity.com/threads/unity-exe-bad-image.500938/

Differences between Windows Explorer and macOS Finder

The idea behind this post is to explore some of the differences between both File Explorer and Finder and bring out some of the Pros and Cons of each. They both accomplish the task they need to, so which one is “better” is largely going to be up to your personal preference.

Copying, Moving Files

Finder

Deleting multiple files results in a list of files waiting to be deleted till the first task gets completed. Can cause issues if the first folder you are trying to delete has some file that is not available or something and holds up the rest of the deletes till you confirm, skip etc.

File Explorer

I personally really like being able to see the speed the file(s) are transferring at.

Sorting Files and Navigation

Both file browsers sort files and folders differently by default. Note, it looks like recent versions of Windows have changed this to be similar to like it is in Finder.

Finder – List folders and files together
Explorer – Generally folders are at the top, files underneath

I have mixed feelings on this. At times I do like that all my folders are at the top so when I am navigating somewhere I don’t have to go scrolling down to locate them. However it is nice to have them together alphabetically so if you comparing if you have a zipped and unzip file, they are right next to each other.

I do like in Finder how you can view the hierarchy side by side in columns. Makes navigating the filesystem easy.

Other random notes

Finder

Pros

CMD + Shift + G is super handy and nice that it has tab completion.

Zipping and unzipping files is awesome and simple in Finder. Don’t have to go through any “complicated process” of unzip file, pick location, unzip and open that location and now you have two windows open etc.

Cons

Doesn’t give you a warning when you are about to open up a ton of files that will slow your computer down.

I seem to have random issues with Finder when working with external drives. Seems like using the command line to run a rm command can be faster then deleting in Finder. Not sure if it is a Finder issue or my extra drives.

Explorer

Pros

Generally very powerful. Lots of options.

I like how the properties option is at the bottom of the menu when you right click on a file.

Gives you a warning or just doesn’t open the files when you select a ton of files and hit enter

Cons

Can be slow when there are tons of files in a folder which can be extremely frustrating.

It is interesting the differences between MacOS and Windows. Apple it seems limits what they work on and do a good job what they do work on. However there are those cases where it appears that they didn’t try programming any safe guards in (i.e. No warning about opening up a ton of files at once).

At the end of the day both Windows Explorer and macOS Finder work well and get the job done.

Kali Linux Hash Sum Mismatch while doing apt update

https://askubuntu.com/questions/1235914/hash-sum-mismatch-error-due-to-identical-sha1-and-md5-but-different-sha256

Looks like the problem is caused by the Windows Hypervisor Platform. Work around is to disable it.

In the Start menu search for “turn Windows features on or off”

Once open, disable “Virtual Machine Platform” and “Windows Hypervisor Platform”

Disable Virtual Machine Platform

You will need to reboot after it finishes.

Unknown “Program” in Startup Programs – Windows 10

Which start up program is this? Did I install it???

Unknown Startup Program

Enabling the Command line view will show us the location of the executable. Right click on the Top Row and Check “Command line”

Enable Command line

From the Command line column we see that the program is Tomboy

Command line shows us the location of the executable

Add ADB path to Windows Environment Variables

From the start menu search for “Edit environment variables for your account”

Click Path and then Edit.

Edit Environment Variables

Then click new and paste in the path to the ADB directory which should be

%USERPROFILE%\AppData\Local\Android\sdk\platform-tools

And hit OK

Adding ADB path

You should be good now. You’ll need to relaunch and Command Prompts you have open, but you should be able to run adb without having to navigate to the adb folder.

VirtualBox – VERR_NEM_VM_CREATE_FAILED

Looks to be an issue if you have Windows HyperV enabled.

Search for and Open up the “Turn Windows features on or off” and make sure “Windows Hypervisor Platform” is unchecked and hit OK to apply it.

Disable Windows Hypervisor Platform

Reboot computer and launch VM

https://superuser.co/questions/1442766/virtualbox-fails-to-start-with-verr-nem-vm-create-failed