Just started watching your channel & subbed. I wonder why do you use manual plotting instead of swar plotting manager or plotman ? O.o Quite new this CHIA mining. So wanna understand more before i start doing it.
I used the GUI in the beginning because I didn't know much about chia and was focused on other things, I then got more interested in chia and since I really like powershell decided to plot with powershell instead. Plotting managers are great, but I really enjoyed learning how to do it in poweshell and sharing what I found with others. Thank you for the sub!
Hi, there how is going with the Chia Plotting GUI Power Shell? And I was wondering if possible to make an automatic start delay for the next parallel plot based on analytics on the last logs and phases that current parallel plots are into. When using a static delay, it happens that parallel threads sometimes are at the same phase 1 after some time of circling. It makes speed of plottin lower...
So the newest version of powershell which is Powershell 7 runs both on Linux and Windows, so the actual powershell functionality is pretty identical as far as I know. Most of my powershell was written in Powershell 5.1 which is Windows only, however some of it should work the same in Powershell 7.
You could add this to pschiaplotter and give it the param yes or no for notifications for just the windows toast popup. Or maybe even the option to hardcore a discord webapp into the script and just enable/disable from params.
Yes absolutely, this could be integrated into the pschiaplotter for notifications for plotting summaries along with what is shown here. I still need to work on the core aspects of the plotter first though.
It is not possible to convert the value "20/05/2021 01:16:22" to the type "System.DateTime". Error: "String was not recognized as a valid DateTime." No C:\Users\xxxxx\AppData\Local\PSChiaWatchDog\New-ChiaHarvesterSummary.ps1: 15 characters: 9 + $ _. Time = [datetime] $ _. Time + ~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo: InvalidArgument: (:) [], RuntimeException + FullyQualifiedErrorId: InvalidCastParseTargetInvocationWithFormatProvider
I figured it out. Turns out Powershell defaults to US time format when casting from string. So there is no 20 month. I fixed the script to use the current culture. Let me know if that fixes the issue. Sorry about that.
@@SysDeskDev Yeap, it worked! Thanks! But I still have a problem. I practically copied your code, and searched everything and there is no error, but in the FilterRatio part, it appears like this: FilterRatio: 135966219572777 (random number just for example), appearing without a comma and with all these decimal places.. Do you know what could be causing this?
I like your content even though i know very little of programming. I wonder why is it necessary to save the data into a csv file? Why not run the whole analysis in only one unified script ? Sorry if it is a terrible rookie question, but today i feel like asking 😅
Great questions! It is not necessary to store the data in a csv, but decided to store the results in a csv file for 2 reasons. 1. You can access this later and have historical data if you want 2. I was afraid of an ever expanding array being generated in powershell consuming more system resources, especially if ran for a long time. Now obviously the could be concern of the csv file ballooning over time as well but that would probably take a long time. As to your second question, why 2 script files. Generally speaking when you are programming you only want to have a method or a function to do one thing and one thing only, so when things break (which they always do) you can better pinpoint which piece of code you need to debug. It also makes the code more readable and allows for better automated testing. Now this doesn't strictly translate to scripts, as scripts are usually a combination of functions, but it is still good to break these up too (or at least I am condition to) for the same reason as mentioned above. If only the part where I generate the reports is broken then I don't need to run the entire script (gathering the activity events) to fix that part. I think it also makes the code more digestible and better organized. I hope this answers your questions :)
This is awesome as usual. Thanks! I am seeing an error getting thrown regarding the FarmerSummaryLog.csv not existing. Looks like you did add the Regex for the farmerlog and the block to parse through it. Not sure why it's not being created though. Edit: Ah, think I might have figured it out. Maybe that file isn't created until the first time it finds that match for the unfinished block?
@@suciuradudaniel6937 oh I see! Thank you for additional info. You will need to run the script with the -$ToastNotification and/ -DiscordNotification so try opening up powershell and heading to the directory the script is at and running the script with those to switch parameters. I hope this helps!
GUI progress has been slow unfortunately, working on directory part of the job so that you can add multiple ssd's or hdd's to both temp and final directories like most other plotting managers. Then will just need to do some testing before releasing basically what will be the beta version. Thank you for the interest!
There is something wrong with FilterRatio part, i can't figure it out - FilterRatio 152072723968594 | Proofs: 0 | Farmed: 0. FilterRatio is just a random number on notification window, it's correct in HarvesterSummaryLog.csv file. Do you know what is causing it?
Hmmm that is very strange. Are these lines present in the notification scirpts. $PassFilter = ($HarvesterEvents | Measure-Object -property FilterRatio -average).Average $message += "`nFilterRatio $([math]::Round($PassFilter,4))..."
It has to do with the fact that cvs file is exported with "," as decimal seperator. I wrote in "(Get-Culture).NumberFormat.NumberDecimalSeparator = '.' " at the top of script to change that
u are definitely not another tech channel, you are much more than that. hope you can get to wherever you want to be.
I really appreciate those kind words!
KING of Scripts. Thanks for yours job :) All works perfect.
Thank you so much!
Not the content we deserved but the content we needed. Thank homie im watching closely.
Thank you for watching!
Nice video, well done. Look forward to GUI :)
Again another awesome video . Thanks for your hard work !!!
So nice of you, thank you!
Just started watching your channel & subbed. I wonder why do you use manual plotting instead of swar plotting manager or plotman ? O.o
Quite new this CHIA mining. So wanna understand more before i start doing it.
I used the GUI in the beginning because I didn't know much about chia and was focused on other things, I then got more interested in chia and since I really like powershell decided to plot with powershell instead. Plotting managers are great, but I really enjoyed learning how to do it in poweshell and sharing what I found with others. Thank you for the sub!
Many thanks! Your video is a very usefull
Glad it was helpful!
Is there anybway you can add thus to the powers hello GUI? That way it would be another great improvement!!
Hi, there how is going with the Chia Plotting GUI Power Shell? And I was wondering if possible to make an automatic start delay for the next parallel plot based on analytics on the last logs and phases that current parallel plots are into. When using a static delay, it happens that parallel threads sometimes are at the same phase 1 after some time of circling. It makes speed of plottin lower...
whats the diferents from powershell windows vs ubuntu can u do some cli ubuntu tourial please ?
So the newest version of powershell which is Powershell 7 runs both on Linux and Windows, so the actual powershell functionality is pretty identical as far as I know. Most of my powershell was written in Powershell 5.1 which is Windows only, however some of it should work the same in Powershell 7.
Great video! please More content :)
Thank you! Will do!
hi
i have issue with script
Cannot convert value "20.05.2021 00:54:14" to type "System.DateTime". Error:
That is very interesting, I wonder where the T went separating the date form the Time. Is the T seen your debug file?
You could add this to pschiaplotter and give it the param yes or no for notifications for just the windows toast popup. Or maybe even the option to hardcore a discord webapp into the script and just enable/disable from params.
Yes absolutely, this could be integrated into the pschiaplotter for notifications for plotting summaries along with what is shown here. I still need to work on the core aspects of the plotter first though.
Nice video
It is not possible to convert the value "20/05/2021 01:16:22" to the type "System.DateTime". Error: "String was not recognized as a valid DateTime."
No C:\Users\xxxxx\AppData\Local\PSChiaWatchDog\New-ChiaHarvesterSummary.ps1: 15 characters: 9
+ $ _. Time = [datetime] $ _. Time
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo: InvalidArgument: (:) [], RuntimeException
+ FullyQualifiedErrorId: InvalidCastParseTargetInvocationWithFormatProvider
I figured it out. Turns out Powershell defaults to US time format when casting from string. So there is no 20 month. I fixed the script to use the current culture. Let me know if that fixes the issue. Sorry about that.
@@SysDeskDev Yeap, it worked! Thanks!
But I still have a problem. I practically copied your code, and searched everything and there is no error, but in the FilterRatio part, it appears like this:
FilterRatio: 135966219572777 (random number just for example), appearing without a comma and with all these decimal places..
Do you know what could be causing this?
I like your content even though i know very little of programming. I wonder why is it necessary to save the data into a csv file? Why not run the whole analysis in only one unified script ? Sorry if it is a terrible rookie question, but today i feel like asking 😅
Great questions! It is not necessary to store the data in a csv, but decided to store the results in a csv file for 2 reasons.
1. You can access this later and have historical data if you want
2. I was afraid of an ever expanding array being generated in powershell consuming more system resources, especially if ran for a long time. Now obviously the could be concern of the csv file ballooning over time as well but that would probably take a long time.
As to your second question, why 2 script files. Generally speaking when you are programming you only want to have a method or a function to do one thing and one thing only, so when things break (which they always do) you can better pinpoint which piece of code you need to debug. It also makes the code more readable and allows for better automated testing. Now this doesn't strictly translate to scripts, as scripts are usually a combination of functions, but it is still good to break these up too (or at least I am condition to) for the same reason as mentioned above. If only the part where I generate the reports is broken then I don't need to run the entire script (gathering the activity events) to fix that part. I think it also makes the code more digestible and better organized. I hope this answers your questions :)
This is awesome as usual. Thanks! I am seeing an error getting thrown regarding the FarmerSummaryLog.csv not existing. Looks like you did add the Regex for the farmerlog and the block to parse through it. Not sure why it's not being created though. Edit: Ah, think I might have figured it out. Maybe that file isn't created until the first time it finds that match for the unfinished block?
Thank you! Ahh yes! Good catch and thank you for testing it out. I will update the scripts on the Github to fix this issue as soon as I can.
Hey, thank you for the video. I have a problem :( I try to ran the script and nothing is happening...
So the first script that you ran did not output a csv file? Is that folder empty "$ENV:LOCALAPPDATA\PSChiaWatchdog"?
@@SysDeskDev the first script outputs the csv file but the second script does nothing
@@SysDeskDev I press run with powershell and nothing happens
@@suciuradudaniel6937 oh I see! Thank you for additional info. You will need to run the script with the -$ToastNotification and/ -DiscordNotification
so try opening up powershell and heading to the directory the script is at and running the script with those to switch parameters. I hope this helps!
love the content man. gui update?
GUI progress has been slow unfortunately, working on directory part of the job so that you can add multiple ssd's or hdd's to both temp and final directories like most other plotting managers. Then will just need to do some testing before releasing basically what will be the beta version. Thank you for the interest!
There is something wrong with FilterRatio part, i can't figure it out - FilterRatio 152072723968594 | Proofs: 0 | Farmed: 0. FilterRatio is just a random number on notification window, it's correct in HarvesterSummaryLog.csv file. Do you know what is causing it?
Hmmm that is very strange. Are these lines present in the notification scirpts.
$PassFilter = ($HarvesterEvents | Measure-Object -property FilterRatio -average).Average
$message += "`nFilterRatio $([math]::Round($PassFilter,4))..."
@@SysDeskDev Yes, i haven't changed anything.
It has to do with the fact that cvs file is exported with "," as decimal seperator. I wrote in "(Get-Culture).NumberFormat.NumberDecimalSeparator = '.' " at the top of script to change that
@@sulemanesam3280 It works, Thank you!