Android build failed - could not find dependencies (v3.0.1)

Step 1: Environment

Computer OS: Windows
Unity Editor Version: 2020.3.38f1
Appodeal Unity Plugin Version: 3.0.1
Bug Repro Rate: 100%

Step 2: Describe the bug
Error when building APK for Android
Step 3: How to reproduce
Build Android APK
Step 4: Expected behavior
Build process - is ok
Step 5: Screenshots

Step 6: Additional context

FAILURE: Build failed with an exception.

* What went wrong:
Could not determine the dependencies of task ':launcher:lintVitalRelease'.
> Could not resolve all artifacts for configuration ':launcher:debugRuntimeClasspath'.
   > Could not find com.appodeal.ads.sdk.core:internal:3.0.1.
     Searched in the following locations:
       - https://dl.google.com/dl/android/maven2/com/appodeal/ads/sdk/core/internal/3.0.1/internal-3.0.1.pom
       - https://jcenter.bintray.com/com/appodeal/ads/sdk/core/internal/3.0.1/internal-3.0.1.pom
       - file:/D:/Projects/Bonbeart/Doors/Doors-6/Temp/gradleOut/unityLibrary/libs/internal-3.0.1.jar
       - file:/D:/Projects/Bonbeart/Doors/Doors-6/Temp/gradleOut/unityLibrary/libs/internal.jar
       - https://maven.google.com/com/appodeal/ads/sdk/core/internal/3.0.1/internal-3.0.1.pom
       - https://artifactory.appodeal.com/appodeal/com/appodeal/ads/sdk/core/internal/3.0.1/internal-3.0.1.pom
       - file:/D:/Projects/Bonbeart/Doors/Doors-6/Assets/GeneratedLocalRepo/Firebase/m2repository/com/appodeal/ads/sdk/core/internal/3.0.1/internal-3.0.1.pom
       - file:/C:/Users/Leni8ec/.m2/repository/com/appodeal/ads/sdk/core/internal/3.0.1/internal-3.0.1.pom
       - https://repo.maven.apache.org/maven2/com/appodeal/ads/sdk/core/internal/3.0.1/internal-3.0.1.pom
     Required by:
         project :launcher > project :unityLibrary
   > Could not find com.appodeal.ads.sdk.core:public:3.0.1.
     Searched in the following locations:
       - https://dl.google.com/dl/android/maven2/com/appodeal/ads/sdk/core/public/3.0.1/public-3.0.1.pom
       - https://jcenter.bintray.com/com/appodeal/ads/sdk/core/public/3.0.1/public-3.0.1.pom
       - file:/D:/Projects/Bonbeart/Doors/Doors-6/Temp/gradleOut/unityLibrary/libs/public-3.0.1.jar
       - file:/D:/Projects/Bonbeart/Doors/Doors-6/Temp/gradleOut/unityLibrary/libs/public.jar
       - https://maven.google.com/com/appodeal/ads/sdk/core/public/3.0.1/public-3.0.1.pom
       - https://artifactory.appodeal.com/appodeal/com/appodeal/ads/sdk/core/public/3.0.1/public-3.0.1.pom
       - file:/D:/Projects/Bonbeart/Doors/Doors-6/Assets/GeneratedLocalRepo/Firebase/m2repository/com/appodeal/ads/sdk/core/public/3.0.1/public-3.0.1.pom
       - file:/C:/Users/Leni8ec/.m2/repository/com/appodeal/ads/sdk/core/public/3.0.1/public-3.0.1.pom
       - https://repo.maven.apache.org/maven2/com/appodeal/ads/sdk/core/public/3.0.1/public-3.0.1.pom
     Required by:
         project :launcher > project :unityLibrary
   > Could not find com.appodeal.ads.sdk.networks:a4g:<IP_ADDRESS>.
     Searched in the following locations:
       - https://dl.google.com/dl/android/maven2/com/appodeal/ads/sdk/networks/a4g/<IP_ADDRESS>/a4g-<IP_ADDRESS>.pom
       - https://jcenter.bintray.com/com/appodeal/ads/sdk/networks/a4g/<IP_ADDRESS>/a4g-<IP_ADDRESS>.pom
       - file:/D:/Projects/Bonbeart/Doors/Doors-6/Temp/gradleOut/unityLibrary/libs/a4g-<IP_ADDRESS>.jar
       - file:/D:/Projects/Bonbeart/Doors/Doors-6/Temp/gradleOut/unityLibrary/libs/a4g.jar
       - https://maven.google.com/com/appodeal/ads/sdk/networks/a4g/<IP_ADDRESS>/a4g-<IP_ADDRESS>.pom
       - https://artifactory.appodeal.com/appodeal/com/appodeal/ads/sdk/networks/a4g/<IP_ADDRESS>/a4g-<IP_ADDRESS>.pom
       - file:/D:/Projects/Bonbeart/Doors/Doors-6/Assets/GeneratedLocalRepo/Firebase/m2repository/com/appodeal/ads/sdk/networks/a4g/<IP_ADDRESS>/a4g-<IP_ADDRESS>.pom
       - file:/C:/Users/Leni8ec/.m2/repository/com/appodeal/ads/sdk/networks/a4g/<IP_ADDRESS>/a4g-<IP_ADDRESS>.pom
       - https://repo.maven.apache.org/maven2/com/appodeal/ads/sdk/networks/a4g/<IP_ADDRESS>/a4g-<IP_ADDRESS>.pom
     Required by:
         project :launcher > project :unityLibrary
   > Could not find com.appodeal.ads.sdk.networks:adcolony:<IP_ADDRESS>.
     Searched in the following locations:
       - https://dl.google.com/dl/android/maven2/com/appodeal/ads/sdk/networks/adcolony/<IP_ADDRESS>/adcolony-<IP_ADDRESS>.pom
       - https://jcenter.bintray.com/com/appodeal/ads/sdk/networks/adcolony/<IP_ADDRESS>/adcolony-<IP_ADDRESS>.pom
       - file:/D:/Projects/Bonbeart/Doors/Doors-6/Temp/gradleOut/unityLibrary/libs/adcolony-<IP_ADDRESS>.jar
       - file:/D:/Projects/Bonbeart/Doors/Doors-6/Temp/gradleOut/unityLibrary/libs/adcolony.jar
       - https://maven.google.com/com/appodeal/ads/sdk/networks/adcolony/<IP_ADDRESS>/adcolony-<IP_ADDRESS>.pom
       - https://artifactory.appodeal.com/appodeal/com/appodeal/ads/sdk/networks/adcolony/<IP_ADDRESS>/adcolony-<IP_ADDRESS>.pom
       - file:/D:/Projects/Bonbeart/Doors/Doors-6/Assets/GeneratedLocalRepo/Firebase/m2repository/com/appodeal/ads/sdk/networks/adcolony/<IP_ADDRESS>/adcolony-<IP_ADDRESS>.pom
       - file:/C:/Users/Leni8ec/.m2/repository/com/appodeal/ads/sdk/networks/adcolony/<IP_ADDRESS>/adcolony-<IP_ADDRESS>.pom
       - https://repo.maven.apache.org/maven2/com/appodeal/ads/sdk/networks/adcolony/<IP_ADDRESS>/adcolony-<IP_ADDRESS>.pom
     Required by:
         project :launcher > project :unityLibrary
   > Could not find com.appodeal.ads.sdk.networks:admob:<IP_ADDRESS>.
     Searched in the following locations:
       - https://dl.google.com/dl/android/maven2/com/appodeal/ads/sdk/networks/admob/<IP_ADDRESS>/admob-<IP_ADDRESS>.pom
       - https://jcenter.bintray.com/com/appodeal/ads/sdk/networks/admob/<IP_ADDRESS>/admob-<IP_ADDRESS>.pom
       - file:/D:/Projects/Bonbeart/Doors/Doors-6/Temp/gradleOut/unityLibrary/libs/admob-<IP_ADDRESS>.jar
       - file:/D:/Projects/Bonbeart/Doors/Doors-6/Temp/gradleOut/unityLibrary/libs/admob.jar
       - https://maven.google.com/com/appodeal/ads/sdk/networks/admob/<IP_ADDRESS>/admob-<IP_ADDRESS>.pom
       - https://artifactory.appodeal.com/appodeal/com/appodeal/ads/sdk/networks/admob/<IP_ADDRESS>/admob-<IP_ADDRESS>.pom
       - file:/D:/Projects/Bonbeart/Doors/Doors-6/Assets/GeneratedLocalRepo/Firebase/m2repository/com/appodeal/ads/sdk/networks/admob/<IP_ADDRESS>/admob-<IP_ADDRESS>.pom
       - file:/C:/Users/Leni8ec/.m2/repository/com/appodeal/ads/sdk/networks/admob/<IP_ADDRESS>/admob-<IP_ADDRESS>.pom
       - https://repo.maven.apache.org/maven2/com/appodeal/ads/sdk/networks/admob/<IP_ADDRESS>/admob-<IP_ADDRESS>.pom
     Required by:
         project :launcher > project :unityLibrary
   > Could not find com.appodeal.ads.sdk.networks:applovin:<IP_ADDRESS>.
     Searched in the following locations:
       - https://dl.google.com/dl/android/maven2/com/appodeal/ads/sdk/networks/applovin/<IP_ADDRESS>/applovin-<IP_ADDRESS>.pom
       - https://jcenter.bintray.com/com/appodeal/ads/sdk/networks/applovin/<IP_ADDRESS>/applovin-<IP_ADDRESS>.pom
       - file:/D:/Projects/Bonbeart/Doors/Doors-6/Temp/gradleOut/unityLibrary/libs/applovin-<IP_ADDRESS>.jar
       - file:/D:/Projects/Bonbeart/Doors/Doors-6/Temp/gradleOut/unityLibrary/libs/applovin.jar
       - https://maven.google.com/com/appodeal/ads/sdk/networks/applovin/<IP_ADDRESS>/applovin-<IP_ADDRESS>.pom
       - https://artifactory.appodeal.com/appodeal/com/appodeal/ads/sdk/networks/applovin/<IP_ADDRESS>/applovin-<IP_ADDRESS>.pom
       - file:/D:/Projects/Bonbeart/Doors/Doors-6/Assets/GeneratedLocalRepo/Firebase/m2repository/com/appodeal/ads/sdk/networks/applovin/<IP_ADDRESS>/applovin-<IP_ADDRESS>.pom
       - file:/C:/Users/Leni8ec/.m2/repository/com/appodeal/ads/sdk/networks/applovin/<IP_ADDRESS>/applovin-<IP_ADDRESS>.pom
       - https://repo.maven.apache.org/maven2/com/appodeal/ads/sdk/networks/applovin/<IP_ADDRESS>/applovin-<IP_ADDRESS>.pom
     Required by:
         project :launcher > project :unityLibrary
   > Could not find com.appodeal.ads.sdk.networks:appodeal:<IP_ADDRESS>.
     Searched in the following locations:
       - https://dl.google.com/dl/android/maven2/com/appodeal/ads/sdk/networks/appodeal/<IP_ADDRESS>/appodeal-<IP_ADDRESS>.pom
       - https://jcenter.bintray.com/com/appodeal/ads/sdk/networks/appodeal/<IP_ADDRESS>/appodeal-<IP_ADDRESS>.pom
       - file:/D:/Projects/Bonbeart/Doors/Doors-6/Temp/gradleOut/unityLibrary/libs/appodeal-<IP_ADDRESS>.jar
       - file:/D:/Projects/Bonbeart/Doors/Doors-6/Temp/gradleOut/unityLibrary/libs/appodeal.jar
       - https://maven.google.com/com/appodeal/ads/sdk/networks/appodeal/<IP_ADDRESS>/appodeal-<IP_ADDRESS>.pom
       - https://artifactory.appodeal.com/appodeal/com/appodeal/ads/sdk/networks/appodeal/<IP_ADDRESS>/appodeal-<IP_ADDRESS>.pom
       - file:/D:/Projects/Bonbeart/Doors/Doors-6/Assets/GeneratedLocalRepo/Firebase/m2repository/com/appodeal/ads/sdk/networks/appodeal/<IP_ADDRESS>/appodeal-<IP_ADDRESS>.pom
       - file:/C:/Users/Leni8ec/.m2/repository/com/appodeal/ads/sdk/networks/appodeal/<IP_ADDRESS>/appodeal-<IP_ADDRESS>.pom
       - https://repo.maven.apache.org/maven2/com/appodeal/ads/sdk/networks/appodeal/<IP_ADDRESS>/appodeal-<IP_ADDRESS>.pom
     Required by:
         project :launcher > project :unityLibrary
   > Could not find com.appodeal.ads.sdk.networks:bidmachine:<IP_ADDRESS>.
     Searched in the following locations:
       - https://dl.google.com/dl/android/maven2/com/appodeal/ads/sdk/networks/bidmachine/<IP_ADDRESS>/bidmachine-<IP_ADDRESS>.pom
       - https://jcenter.bintray.com/com/appodeal/ads/sdk/networks/bidmachine/<IP_ADDRESS>/bidmachine-<IP_ADDRESS>.pom
       - file:/D:/Projects/Bonbeart/Doors/Doors-6/Temp/gradleOut/unityLibrary/libs/bidmachine-<IP_ADDRESS>.jar
       - file:/D:/Projects/Bonbeart/Doors/Doors-6/Temp/gradleOut/unityLibrary/libs/bidmachine.jar
       - https://maven.google.com/com/appodeal/ads/sdk/networks/bidmachine/<IP_ADDRESS>/bidmachine-<IP_ADDRESS>.pom
       - https://artifactory.appodeal.com/appodeal/com/appodeal/ads/sdk/networks/bidmachine/<IP_ADDRESS>/bidmachine-<IP_ADDRESS>.pom
       - file:/D:/Projects/Bonbeart/Doors/Doors-6/Assets/GeneratedLocalRepo/Firebase/m2repository/com/appodeal/ads/sdk/networks/bidmachine/<IP_ADDRESS>/bidmachine-<IP_ADDRESS>.pom
       - file:/C:/Users/Leni8ec/.m2/repository/com/appodeal/ads/sdk/networks/bidmachine/<IP_ADDRESS>/bidmachine-<IP_ADDRESS>.pom
       - https://repo.maven.apache.org/maven2/com/appodeal/ads/sdk/networks/bidmachine/<IP_ADDRESS>/bidmachine-<IP_ADDRESS>.pom
     Required by:
         project :launcher > project :unityLibrary
   > Could not find com.appodeal.ads.sdk.networks:facebook:<IP_ADDRESS>.
     Searched in the following locations:
       - https://dl.google.com/dl/android/maven2/com/appodeal/ads/sdk/networks/facebook/<IP_ADDRESS>/facebook-<IP_ADDRESS>.pom
       - https://jcenter.bintray.com/com/appodeal/ads/sdk/networks/facebook/<IP_ADDRESS>/facebook-<IP_ADDRESS>.pom
       - file:/D:/Projects/Bonbeart/Doors/Doors-6/Temp/gradleOut/unityLibrary/libs/facebook-<IP_ADDRESS>.jar
       - file:/D:/Projects/Bonbeart/Doors/Doors-6/Temp/gradleOut/unityLibrary/libs/facebook.jar
       - https://maven.google.com/com/appodeal/ads/sdk/networks/facebook/<IP_ADDRESS>/facebook-<IP_ADDRESS>.pom
       - https://artifactory.appodeal.com/appodeal/com/appodeal/ads/sdk/networks/facebook/<IP_ADDRESS>/facebook-<IP_ADDRESS>.pom
       - file:/D:/Projects/Bonbeart/Doors/Doors-6/Assets/GeneratedLocalRepo/Firebase/m2repository/com/appodeal/ads/sdk/networks/facebook/<IP_ADDRESS>/facebook-<IP_ADDRESS>.pom
       - file:/C:/Users/Leni8ec/.m2/repository/com/appodeal/ads/sdk/networks/facebook/<IP_ADDRESS>/facebook-<IP_ADDRESS>.pom
       - https://repo.maven.apache.org/maven2/com/appodeal/ads/sdk/networks/facebook/<IP_ADDRESS>/facebook-<IP_ADDRESS>.pom
     Required by:
         project :launcher > project :unityLibrary
   > Could not find com.appodeal.ads.sdk.networks:ironsource:<IP_ADDRESS>.
     Searched in the following locations:
       - https://dl.google.com/dl/android/maven2/com/appodeal/ads/sdk/networks/ironsource/<IP_ADDRESS>/ironsource-<IP_ADDRESS>.pom
       - https://jcenter.bintray.com/com/appodeal/ads/sdk/networks/ironsource/<IP_ADDRESS>/ironsource-<IP_ADDRESS>.pom
       - file:/D:/Projects/Bonbeart/Doors/Doors-6/Temp/gradleOut/unityLibrary/libs/ironsource-<IP_ADDRESS>.jar
       - file:/D:/Projects/Bonbeart/Doors/Doors-6/Temp/gradleOut/unityLibrary/libs/ironsource.jar
       - https://maven.google.com/com/appodeal/ads/sdk/networks/ironsource/<IP_ADDRESS>/ironsource-<IP_ADDRESS>.pom
       - https://artifactory.appodeal.com/appodeal/com/appodeal/ads/sdk/networks/ironsource/<IP_ADDRESS>/ironsource-<IP_ADDRESS>.pom
       - file:/D:/Projects/Bonbeart/Doors/Doors-6/Assets/GeneratedLocalRepo/Firebase/m2repository/com/appodeal/ads/sdk/networks/ironsource/<IP_ADDRESS>/ironsource-<IP_ADDRESS>.pom
       - file:/C:/Users/Leni8ec/.m2/repository/com/appodeal/ads/sdk/networks/ironsource/<IP_ADDRESS>/ironsource-<IP_ADDRESS>.pom
       - https://repo.maven.apache.org/maven2/com/appodeal/ads/sdk/networks/ironsource/<IP_ADDRESS>/ironsource-<IP_ADDRESS>.pom
     Required by:
         project :launcher > project :unityLibrary
   > Could not find com.appodeal.ads.sdk.networks:mraid:<IP_ADDRESS>.
     Searched in the following locations:
       - https://dl.google.com/dl/android/maven2/com/appodeal/ads/sdk/networks/mraid/<IP_ADDRESS>/mraid-<IP_ADDRESS>.pom
       - https://jcenter.bintray.com/com/appodeal/ads/sdk/networks/mraid/<IP_ADDRESS>/mraid-<IP_ADDRESS>.pom
       - file:/D:/Projects/Bonbeart/Doors/Doors-6/Temp/gradleOut/unityLibrary/libs/mraid-<IP_ADDRESS>.jar
       - file:/D:/Projects/Bonbeart/Doors/Doors-6/Temp/gradleOut/unityLibrary/libs/mraid.jar
       - https://maven.google.com/com/appodeal/ads/sdk/networks/mraid/<IP_ADDRESS>/mraid-<IP_ADDRESS>.pom
       - https://artifactory.appodeal.com/appodeal/com/appodeal/ads/sdk/networks/mraid/<IP_ADDRESS>/mraid-<IP_ADDRESS>.pom
       - file:/D:/Projects/Bonbeart/Doors/Doors-6/Assets/GeneratedLocalRepo/Firebase/m2repository/com/appodeal/ads/sdk/networks/mraid/<IP_ADDRESS>/mraid-<IP_ADDRESS>.pom
       - file:/C:/Users/Leni8ec/.m2/repository/com/appodeal/ads/sdk/networks/mraid/<IP_ADDRESS>/mraid-<IP_ADDRESS>.pom
       - https://repo.maven.apache.org/maven2/com/appodeal/ads/sdk/networks/mraid/<IP_ADDRESS>/mraid-<IP_ADDRESS>.pom
     Required by:
         project :launcher > project :unityLibrary
   > Could not find com.appodeal.ads.sdk.networks:my_target:<IP_ADDRESS>.
     Searched in the following locations:
       - https://dl.google.com/dl/android/maven2/com/appodeal/ads/sdk/networks/my_target/<IP_ADDRESS>/my_target-<IP_ADDRESS>.pom
       - https://jcenter.bintray.com/com/appodeal/ads/sdk/networks/my_target/<IP_ADDRESS>/my_target-<IP_ADDRESS>.pom
       - file:/D:/Projects/Bonbeart/Doors/Doors-6/Temp/gradleOut/unityLibrary/libs/my_target-<IP_ADDRESS>.jar
       - file:/D:/Projects/Bonbeart/Doors/Doors-6/Temp/gradleOut/unityLibrary/libs/my_target.jar
       - https://maven.google.com/com/appodeal/ads/sdk/networks/my_target/<IP_ADDRESS>/my_target-<IP_ADDRESS>.pom
       - https://artifactory.appodeal.com/appodeal/com/appodeal/ads/sdk/networks/my_target/<IP_ADDRESS>/my_target-<IP_ADDRESS>.pom
       - file:/D:/Projects/Bonbeart/Doors/Doors-6/Assets/GeneratedLocalRepo/Firebase/m2repository/com/appodeal/ads/sdk/networks/my_target/<IP_ADDRESS>/my_target-<IP_ADDRESS>.pom
       - file:/C:/Users/Leni8ec/.m2/repository/com/appodeal/ads/sdk/networks/my_target/<IP_ADDRESS>/my_target-<IP_ADDRESS>.pom
       - https://repo.maven.apache.org/maven2/com/appodeal/ads/sdk/networks/my_target/<IP_ADDRESS>/my_target-<IP_ADDRESS>.pom
     Required by:
         project :launcher > project :unityLibrary
   > Could not find com.appodeal.ads.sdk.networks:nast:<IP_ADDRESS>.
     Searched in the following locations:
       - https://dl.google.com/dl/android/maven2/com/appodeal/ads/sdk/networks/nast/<IP_ADDRESS>/nast-<IP_ADDRESS>.pom
       - https://jcenter.bintray.com/com/appodeal/ads/sdk/networks/nast/<IP_ADDRESS>/nast-<IP_ADDRESS>.pom
       - file:/D:/Projects/Bonbeart/Doors/Doors-6/Temp/gradleOut/unityLibrary/libs/nast-<IP_ADDRESS>.jar
       - file:/D:/Projects/Bonbeart/Doors/Doors-6/Temp/gradleOut/unityLibrary/libs/nast.jar
       - https://maven.google.com/com/appodeal/ads/sdk/networks/nast/<IP_ADDRESS>/nast-<IP_ADDRESS>.pom
       - https://artifactory.appodeal.com/appodeal/com/appodeal/ads/sdk/networks/nast/<IP_ADDRESS>/nast-<IP_ADDRESS>.pom
       - file:/D:/Projects/Bonbeart/Doors/Doors-6/Assets/GeneratedLocalRepo/Firebase/m2repository/com/appodeal/ads/sdk/networks/nast/<IP_ADDRESS>/nast-<IP_ADDRESS>.pom
       - file:/C:/Users/Leni8ec/.m2/repository/com/appodeal/ads/sdk/networks/nast/<IP_ADDRESS>/nast-<IP_ADDRESS>.pom
       - https://repo.maven.apache.org/maven2/com/appodeal/ads/sdk/networks/nast/<IP_ADDRESS>/nast-<IP_ADDRESS>.pom
     Required by:
         project :launcher > project :unityLibrary
   > Could not find com.appodeal.ads.sdk.networks:notsy:<IP_ADDRESS>.
     Searched in the following locations:
       - https://dl.google.com/dl/android/maven2/com/appodeal/ads/sdk/networks/notsy/<IP_ADDRESS>/notsy-<IP_ADDRESS>.pom
       - https://jcenter.bintray.com/com/appodeal/ads/sdk/networks/notsy/<IP_ADDRESS>/notsy-<IP_ADDRESS>.pom
       - file:/D:/Projects/Bonbeart/Doors/Doors-6/Temp/gradleOut/unityLibrary/libs/notsy-<IP_ADDRESS>.jar
       - file:/D:/Projects/Bonbeart/Doors/Doors-6/Temp/gradleOut/unityLibrary/libs/notsy.jar
       - https://maven.google.com/com/appodeal/ads/sdk/networks/notsy/3.0.1.<message truncated>

Hi, @Bonbeart!
In short, you use the in-development version of the Appoodeal Unity Plugin. Those dependencies were not yet pushed to a public repo. Thus you see the error. You will find more detailed info in the previous issue: #4.
Best Regards,

Your excuses are great...
This is all cool - but how do I get a working version of your SDK?!
In version SDK 3.0.0 - libraries are used, for which bans Google Play, in the early versions (2+) - even more so.
How do I get a version that works without problems and that won't get us banned from GooglePlay?

@Bonbeart
It is not an excuse but an answer to your question.
As I told you in #4, you can either wait for the upcoming v3.0.1 release (ETA: ~2 weeks) or use v3.0.0 for now.
The solution for GP violations would be to update the adapters to the latest versions. If you are unable to do this automatically via SDK Manager, update the dependencies manually.
If you need help, contact our support team. I will inform them about your issue, so they prioritize the request if you ask for help.
Best Regards,

Thank you, that's just what I needed.
I also have already been told by tech support that I can use version 3.0.0, but to update the dependencies in it as you suggested.


Error STEP2_2DDICusingNcorr

Hello Dana:
I am a novice learning DIC algorithm.
Recently, when using your code, an error is always reported at the end of step 2, which makes me a little confused.
The error report is:
The logical index contains a true value that is outside the range of the array.
Error extractNcorrResults (line 54)
UrefROIVec=Uref(ROI_DIC{1});
Error STEP2_2DDICusingNcorr (line 111)
[Points,CorCoeffVec,F,CF] = extractNcorrResults(handles_ncorr,ImSet{1});
This error appeared in step 2, after the 2D Ncorr DIC analysis was completed. I checked the value of "Uref" and it was empty. I'm not sure where the problem is.
Hope to get your reply and help, thank you~
Ariel

Hi Ariel,
I cannot think of a reason that would cause this error, but I could try and assist you by running it together. Please send me your email address so we can coordinate this to: danas  technion  ac  il

Hi Ariel,
I cannot think of a reason that would cause this error, but I could try and assist you by running it together. Please send me your email address so we can coordinate this to: danas  technion  ac  il

Hi Ariel,
Did you solve the problem? If so, please close this issue. Otherwise please email me for help.


Repo transfer to UtrechtUniversity

It is not documented how you would move an existing repository under the Utrecht University organization; using the transfer ownership function you lose administrative privileges to your own repository.
It works well enough if you make a repo directly under UtrechtUniversity but it is not intuitive on how to achieve the same result by moving an existing repo.

It is mentioned here
But it is probably a good idea to incorporate more elaborate instructions elsewhere

Ah I missed that!
But also, in spite of quite many years of experience with git/github, my experience with mirroring is quite limited. For that reason I think it might be nicer to have a tutorial on how to re-create your repository under UtrechtUniversity and then set that as a new origin.


Change the default data directory

The default data directory blackbox is looking for is keyrings/live. This merged PR https://github.com/StackExchange/blackbox/pull/218 allows the discovery of alternative vault paths (.blackbox for now). But the priority order still makes keyrings/live the first one it looks for, and the one blackbox is going to create during a blackbox_initialize.
Even though changing the default directory to .blackbox should not be breaking, I suggest we do it during a major version bump as it affects assumptions users have on the project.

The implementation should be as simple as swapping those two lines.

Besides the two lines that @aymericbeaumet mentions and the documentation, there are a couple of other places that would need to be touched:

In blackbox_initialize.sh, the word keyrings is currently hardcoded, and would need to be replaced by ${KEYRINGDIR} instead.
The is_blackbox_repo() function also has a hardcoded reference to keyrings. It should instead loop through the possible candidate directories and check each one. One possible way to do this is as follows:

diff --git a/bin/_blackbox_common.sh b/bin/_blackbox_common.sh
index 08671e5..213277a 100755
--- a/bin/_blackbox_common.sh
+++ b/bin/_blackbox_common.sh
@@ -92,11 +92,14 @@ SECRING="${KEYRINGDIR}/secring.gpg"
 # Checks if $1 is 0 bytes, and if $1/keyrings
 # is a directory
 function is_blackbox_repo() {
-  if [[ -n "$1" ]] && [[ -d "$1/keyrings" ]]; then
-    return 0 # Yep, its a repo
-  else
-    return 1
-  fi
+  for candidate_path in ${BLACKBOXDATA_CANDIDATES[@]}; do
+    # Just want to test the top-level dir
+    candidate_dir=${candidate_path%%/*}
+    if [[ -n "$1" ]] && [[ -d "$1/$candidate_dir" ]]; then
+      return 0 # Yep, its a repo
+    fi
+  done
+  return 1
 }

 # Return error if not on cryptlist.

In case it matters, because that code fragment is just barely big enough that some copyright lawyer might decide to be a jerk about it if you wanted to include it:
I, Robin Munn, hereby declare that new lines in the code fragment above (presented in standard diff format where old lines are prefixed by a minus sign and new lines are prefixed by a plus sign) are entirely my own work, and I hereby release them into the public domain.
Now that the annoying legal requirements are dealt with, this might be a moot point since the is_blackbox_repo() function is only used in one place, the enumerate_blackbox_repos() function. And the enumerate_blackbox_repos() function isn't actually used anywhere; it's dead code. Still, as long as it exists it should probably be kept up-to-date, which means looping through BLACKBOXDATA_CANDIDATES and checking each one.
With that function either changed or deleted, and the output of blackbox_initialize.sh tweaked to print ${KEYRINGDIR} in the "NEXT STEP" instructions at the end, that should be everything that needs to be changed to switch the default directory.

One more change needed, as I discovered in testing: blackbox_initialize.sh should also add the line vcs_add "$FILE" at the end of the if [[ $VCS_TYPE = "git" ]] block (i.e., here). That way the Git commit that gets built includes the just-created .blackbox/.gitattributes file.

@aymericbeaumet I think, the gpg config in the homebrew formula  should be also changed.


Google Assistant: Can't set Nest thermostat to heatcool

Make sure you are running the latest version of Home Assistant before reporting an issue.
You should only file an issue if you found a bug. Feature and enhancement requests should go in the Feature Requests section of our community forum:
Home Assistant release (hass --version):
0.58.0
Python release (python3 --version):
3.6.3
Component/platform:
google_assistant
Description of problem:
Trying to set a Nest thermostat to heatcool or auto responds with "That mode isn't available"
Expected:
Mode should be set to heatcool
Problem-relevant configuration.yaml entries and steps to reproduce:

Traceback (if applicable):

Additional info:

I dug into this a little bit and perhaps it's because the climate component has STATE_AUTO = 'auto' but the Google Assistant component has CLIMATE_SUPPORTED_MODES = {'heat', 'cool', 'off', 'on', 'heatcool'}?

Yeah, looks like changing STATE_AUTO = 'auto' to STATE_AUTO = 'heatcool' makes it work with Google Assistant. There's probably more work that needs to be done to fully support that though. For example, 'auto' is used for the fan mode as well, where 'heatcool' doesn't make sense.

I'm having the same problem (or related problem) with a Honeywell thermostat. It's actually connected through a Vera, so I think HomeAssistant is only seeing the Vera climate device. Either way, "Set the thermostat to heat/cool/off/on" all give "That mode isn't available for the Thermostat."

There seems to be a general problem with this. I've started working on a patch related to #10713, which addresses when a thermostat's modes don't match the case of those in CLIMATE_SUPPORTED_MODES . However, most thermostats have an auto mode that is sometimes called heatcool, heat-cool, auto, or in the case of Vera "Auto Changeover." I don't have a generic solution for that

There's probably a better solution, but for a quick fix would it be enough to somehow map the climate component's STATE_AUTO to heatcool and vice-versa within google_assistant? So whenever a climate platform supports auto we can tell Google Assistant that it supports heatcool and when Google Assistant tries to set the mode to heatcool we just set it to auto?

Otherwise, I think we may need to create a new STATE_HEATCOOL with the same value Google Assistant expects. Then every climate component needs to be updated to use that. However, STATE_AUTO is also used for the fan mode, where 'heatcool' doesn't make sense. So STATE_AUTO needs to remain for fans.


Block of iron recipe conflict

Describe the bug
When trying to turn blocks of iron back into 9 iron ingots, instead 32 iron rods show up. This makes it impossible to get iron ingots out of blocks of iron.
Which side have you encountered the bug on?
Client
Steps to reproduce

Put block of iron in crafting grid
Expect 9 iron ingots
Get 32 iron rods instead

Logs
No response
Additional context
No response

This bug has been fixed in v1.0.1 of Architecture Extensions.
https://modrinth.com/mod/arch-ex/version/1.0.1%2B1.19
https://modrinth.com/mod/arch-ex/version/1.0.1%2B1.18.2

Thanks!


syntax error

when I try to run with : python3 swayfader.py the following error show
  File "swayfader.py", line 196
    if (c_id := e.container.id) not in self.floating_windows:
             ^
SyntaxError: invalid syntax

I replace it with following and it compile fine, but I am not sure about the logic ....
 if (c_id == e.container.id) not in self.floating_windows:
I found another topic here about if( something := something) and it seems bleed-edge feature, can you please refactor this code to run on older python3, I am using debian buster with python official packages.
https://stackoverflow.com/questions/26000198/what-does-colon-equal-in-python-mean

Yea, that's a feature that is not yet released in Python.  The correct fix for that I believe is:
`diff --git a/swayfader.py b/swayfader.py
index 3e2febc..d867a67 100644
--- a/swayfader.py
+++ b/swayfader.py
@@ -193,7 +193,8 @@ class Fader:
self.active_win = e.container
 def on_window_floating(self, ipc, e):

   if (c_id := e.container.id) not in self.floating_windows:

   c_id = e.container_id

   if c_id not in self.floating_windows:
       self.floating_windows.append(c_id)

       if self.active_win.id != e.container.id:

`

yeah bro ill fix it or whatever


az ml ... command in Dev Ops does not install extension

Describe the bug
As I understand from the docs (and as has been working up until sometime around last week), the CLI is supposed to automatically install the ml extension when it sees a command that references is. Within the Dev Ops pipeline, this must usually be prefaced by a config setting allowing for an install without prompt. This has been working for us for some time. However, recently, I’m getting a lot of errors indicating a different behavior. Specifically, the CLI appears unable to recognize commands beginning az ml and will not install the extension (with or without the no_prompt preface). A minimal example of the error is below:
To Reproduce
This pipeline .yml file below (with names omitted) will produce an unexpected error:
trigger: none
pool:
  vmImage: 'ubuntu-18.04'

steps:
- task: AzureCLI@2
  inputs:
    azureSubscription: '<service conn name>'
    scriptType: 'bash'
    scriptLocation: 'inlineScript'
    inlineScript: |
      az config set extension.use_dynamic_install=yes_without_prompt
      az ml experiment list -g '<rg name>' -w '<workspace name>' --subscription-id '<sub id>'

The error given is:
WARNING: Command group 'config' is experimental and under development. Reference and support levels: https://aka.ms/CLI_refstatus
ERROR: 'ml' is misspelled or not recognized by the system.

Expected behavior
The expected behavior is that the pipeline build agent will install the ml extension and execute the command. This was working until recently.
Environment summary
We are executing the above .yml file within Dev Ops on a MS build agent. The initial output from the Run is:

Starting: AzureCLI
==============================================================================
Task         : Azure CLI
Description  : Run Azure CLI commands against an Azure subscription in a PowerShell Core/Shell script when running on Linux agent or PowerShell/PowerShell Core/Batch script when running on Windows agent.
Version      : 2.1.0
Author       : Microsoft Corporation
Help         : https://docs.microsoft.com/azure/devops/pipelines/tasks/deploy/azure-cli
==============================================================================
/usr/bin/az --version
WARNING: You have 2 updates available. Consider updating your CLI installation with 'az upgrade'
azure-cli                         2.23.0 *

Please let us know how we are doing: https://aka.ms/azureclihats
and let us know if you're interested in trying out our newest features: https://aka.ms/CLIUXstudy
core                              2.23.0 *
telemetry                          1.0.6

Extensions:
azure-devops                      0.18.0

Python location '/opt/az/bin/python3'
Extensions directory '/opt/az/azcliextensions'

Python (Linux) 3.6.10 (default, Apr 29 2021, 12:10:03)
[GCC 7.5.0]

Legal docs and information: aka.ms/AzureCliLegal

Additional context
The above command was working in previous Pipelines. Has something changed?

route to service team

hi @mwebb4, Azure ML has recently release the 2.0 CLI (article on that here): https://docs.microsoft.com/en-us/azure/machine-learning/how-to-train-cli
the default for the ml subgroup has been updated to the 2.0 ml extension - to mitigate this, you can instead install the azure-cli-ml extension (az ml extension add -n azure-cli-ml -y) in your pipeline(s) to use the 1.0 CLI

Yes, I've since found that workaround.
It seems a strange behavior that the CLI neither recognizes nor installs either version of the ml extension - a breaking change for any Pipeline that was using it.

I am seeing a prompt to install the extension on a fresh codespace:

regardless you are correct that this is a breaking change for any pipeline which was relying on the azure-cli-ml extension being installed

For sure. Per the original post, the Dev Ops build agents only generate the error: 'ml' is misspelled or not recognized by the system. - which, as I understand from the docs, should never happen. It should attempt to install some version.


Scaffold requirements/outputs

Subject
Scaffold could depend on each other. This relation could be defined with requirements and outputs.
Every scaffold uses tags to set metadata for tables. Outputs and Requirements are just list of this tags.
Specification
In manifest will be introduced new fileds:
{
 "requirements": ['<tag>','<tag>'],
 "outputs": ['<tag>','<tag>']
}

tag can also be object (depends on UI):
{
  "tag":"<tag>",
  "title":"...",
  "description":"..."
}

Tag structure was specified before:
<scaffoldId>.<internal/external>.<unique value in scaffold> where last part is most of the time generated by importer in format bucketNameTableName.
listScaffoldOperation should probably support listing related scaffolds input could be <scaffold_id> and "requirements|outputs" if requirements are input it will list only scaffolds which outputs match with requirements of selected scaffold.

obsolete


Bubble up errors to promql from populating iterators

Right now if a storage layer returns an error from Select promql continues on as if there was no error. Worse than the single series being dropped, Inspect will actually stop populating any iterators after meaning potentially a lot of data is missing.
Options for fixing this are (1) make Walk/Inspect return errors (so the inspector would return an error instead of a bool) or (2) have an error variable outside which the functons set
This PR is option 2, but I'd be more than happy to implement option 1 if that is preferred.

Yes, this is a bug and we probably want 1. However I've got a #3966  PR reworking all of this code and may have already fixed that so let's wait until that's in first.

This sounds like something worthy of a bugfix backport, if so should I submit this PR against a different branch (I assume we don't want to backport the entire promql cleanup/optimization/rewrite).

I also did verify in that PR of yours that this issue it not resolved yet, feel free to pull this into that PR if you prefer (the change is small, so likely they'll rebase nicely together).

That's merged, so if you could rebase and DCO I can review.

@brian-brazil PR updated to solution 1 as discussed above.

Comments updated

Thanks!


Stripe API version

Why does the package use '2014-09-08' (from README)?
If I change the version to something more recent then 2015-04-07. it fails with:
TeamTNT\Stripe\InvalidEventException: Event does not exist in version
triggering the event 'charge.succeeded'.
Can I use '2016-10-19' with 'charge.succeeded' event?

Here's the list of versions that are available
https://github.com/teamtnt/php-stripe-webhook-tester/tree/master/src/webhooks
Feel free to add some new versions.

Why the default version is not the last, but the first ?!


Join us at PostHTML Org :)

Thank you for the inviting, Michael!
Do you expect some contribution from me? Unfortunately, I've little spare time yet. So I won't be active for the time being. If it's okay for you I'd be glad to join.

Hi,

Do you expect some contribution from me?

Nope nothing particular. It's open source at free time for must of us i guess. Contribute or participate when you find time and mood to do :)

Unfortunately, I've little spare time yet.

yep, thats why i emphasize some community effort with a 'core plugin' ecosystem and shared responsibilities e.g keep deps up-to-date, fix small bugs, answers questions related to plugins and/or newcomers in general etc etc. I'm currently given a small amount of work time to shape some edges related to posthtml and posthtml organistation related things (unified README style, documentation, start editor syntax highlighters (imports, modules, extends, appends, inject, sugarml syntax blub blub...)
Would it be ok from your side to either

Transfer your posthtml work to posthtml org* and led me update/add the README CONTRIBUTING, .github templates

npm publish stays by the original author,
bigger code changes (if any) must be reviewed/approved by the maintainer as well,
clear note in the README who made the plugin Seehttps://github.com/posthtml/sugarml#maintainer)
and the upcoming posthtml website (soon i promise :)) will list all organisation members and there work.

I'm asking directly for transfer, because in my opinion your plugins and the catalog are nessecities for a solid org core (extend, inline-css, css-modules...)
-htmlnano (if someone looks at the org to get a overview of posthtml for usage decision making and sees candy like this it would improve the 'first look' significantly :)

If you want to keep your work or some work directly at your github portfolio (understandable). Accept a PR with README updates or if in a rush provide push access to the repos

?

That's a great idea! I'll definitely contribute to it. Next weekend I'll have more time, so we can handle that.

kk estonia as your github profile suggests is your current location and timezone? if just notify my here when you have a few free minutes, it's only a hour ahead  :)

Actually, I'm abroad yet. But I still have the same timezone (UTC+3).

kk
if (vacation) {
  'Enjoy'
} else {
 'Hang in there'
}

:)
Take your time, ready when you are

Uncaught ReferenceError: vacation is not defined

Anyway, thanks :-)

😄

Okay, your proposal sounds good to me. I'm ready to transfer all related repositories to the posthtml namespace. Just let me know when you'll be ready, @michael-ciniawsky @awinogradov.
If you need any help let me also know. I could contribute a few hours on a weekend for that.

@maltsev cool :+1: src for the delay :),  @awinogradov @voischev etc. currently setting up org related things (code style, README's, MAINTAINERS).At the moment i don't exaclty know whats coming up. i notify you when this is settled and you can first take a look if you agree on that?

Sure.
On Jul 18, 2016 20:40, "Michael Ciniawsky"<EMAIL_ADDRESS>wrote:

@maltsev https://github.com/maltsev cool 👍 src for the delay :),
@awinogradov https://github.com/awinogradov @voischev
https://github.com/voischev etc. currently setting up org related
things (code style, README's, MAINTAINERS).At the moment i don't exaclty
know whats coming up. i notify you when this is settled and you can first
take a look if you agree on that?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/maltsev/posthtml-extend/issues/5#issuecomment-233401656,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AA4ZRYvsL8fZkhVLUr1MoyVMqJ9tJKb4ks5qW7pwgaJpZM4JHyY-
.

hi 👋 invite should be send. guidlines are @https://github.com/posthtml/posthtml/blob/master/docs/index.md and the repo style is @https://github.com/posthtml/posthtml-plugin-boilerplate. i can take care of the style updates if you haven't the time rigth now 👍

I accepted the invite, thanks @awinogradov!
@michael-ciniawsky it'd very nice if you take care of the styles. Should I wait for your PR first or can I already transfer my repositories to the posthtml namespace?

when you have time to spare move them :) , many others need to by updated aswell

Unfortunately, I cannot transfer the repositories, the error You don’t have admin rights to posthtml appears. @awinogradov can you give me those rights?

@maltsev try it now;)

🔥


Client side validation for nested models with separate validator

Hi
When using MVC we usually transmit view model objects (parent) containing model object (nested child) for interaction between controller and view.
We implemented validators for both the view model and the model and everything works fine so far. Unfortunately there are different requirements in required fields validation for create and update case so we decide to split up both cases into rulesets for model validator.
Again serverside is working without any problem after adding the ruleset name into SetValidator call
Unfortunately client side validation stuck because of the ruleset. Defining no ruleset in controller just validating the defaults as expected. After adding the attribute RuleSetForClientSideMessages client side validation seems to be completely disabled. How can we control de ruleset behavior on nested objects?
Thanks for help
Michael
Code:
Startup ConfigureServices:
services.AddTransient<IValidator<PatientModel>, PatientValidator>();             services.AddTransient<IValidator<PatientCreateViewModel>, PatientCreateViewModelValidator>();
VM
`public class PatientCreateViewModel
{
public PatientCreateViewModel()
{
}
    public PatientCreateViewModel(PatientModel model)
    {
        this.Model = model;
        Setup();
    }

    public PatientModel Model { get; set; }

    public void Setup()
    {
    }`

Model
`public class PatientModel : IPatient
{
public PatientModel()
{
this.PatientHistorys = new List();
this.Diagnostic = new DiagnosticModel();
}
    public Guid Id { get; set; }

    public string FamilyName { get; set; }

    public string Surname { get; set; }

    public DateTime? DateOfBirth { get; set; }

    public PatientGender? PatientGender { get; set; }

    public int? PatientId { get; set; }

    public PatientStatus? PatientStatus { get; set; }

    public string Comments { get; set; }

    public List<IPatientHistory> PatientHistorys { get; set; }

    public IDiagnostic Diagnostic { get; set; }
}`

Model Validator
public class PatientValidator : AbstractValidator<PatientModel>     {         public PatientValidator()         {             RuleSet("Create", () =>             {                 RuleFor(patient => patient.Id).NotEmpty();                 RuleFor(patient => patient.FamilyName).NotEmpty().MinimumLength(2);                 RuleFor(patient => patient.Surname).NotEmpty().MinimumLength(2);                 RuleFor(patient => patient.PatientGender).NotNull();                 RuleFor(patient => patient.DateOfBirth).NotNull();             });             RuleSet("Update", () =>             {                 RuleFor(patient => patient.Id).NotEmpty();                 RuleFor(patient => patient.FamilyName).NotEmpty().MinimumLength(2);                 RuleFor(patient => patient.Surname).NotEmpty().MinimumLength(2);                 RuleFor(patient => patient.PatientGender).NotNull();                 RuleFor(patient => patient.DateOfBirth).NotNull();                 RuleFor(patient => patient.PatientStatus).NotNull();             });         }     }
View Model Validator
public class PatientCreateViewModelValidator : AbstractValidator<PatientCreateViewModel>     {         public PatientCreateViewModelValidator()         {             RuleFor(vm => vm.Model).SetValidator(new PatientValidator(), "default",  "Create");         }     }

Hi, using the RuleSetForClientSideMessages attribute is the way to handle this, but rulesets cascade downward, so the ruleset must match between root and child validator. In your vase, the root validator doesn't have a ruleset defined, so if you use [RuleSetForClientSideMessages("Create")] in your controler, then nothing will be selected for execution. You'll also need to add a Create ruleset to the root validator if you want to do this.
(PS, for formatting multi-line code blocks github uses 3 backticks)


Activate tests in GHA workflow

Description
We're on the verge of merging a few tests in the repo. It'd be nice to have the tests activated during the PR status checks, so as to have more information before merging.

Closes: https://github.com/OpenMined/SyMPC/issues/27
Checklist

[x] I have followed the Contribution Guidelines and Code of Conduct
[x] I have commented my code following the OpenMined Styleguide
[x] I have labeled this PR with the relevant Type labels
[x] My changes are covered by tests

Keep in mind the workflow currently fails due to code coverage issues...


Overhaul interactive code

Most of the interactive code is pretty ad-hoc, it'd be nice to get that under control, and also make sure that all options are accessible from the interactive functions.

#61 deals with this


Weird behaviour observed when using PowerShdll

Hey man I am back with a few queries :+1:
So basically i am running WinPwn on a JUMP Server that has both CMD and PS disabled. I am running WinPwn via PowerShdll.
I don't have Internet Access so using Offline_WinPwn
So my query is that i get error messages when i attempt to run the following commands:
PS H:\Desktop2019>WinPwn -noninteractive -consoleoutput -DomainRecon
A parameter cannot be found that matches parameter name 'FullData'.

However when i try to run the same command without the -consoleoutput parameter i get
PS H:\Desktop2019>WinPwn -noninteractive -DomainRecon
A positional parameter cannot be found that accepts argument 'proxy.redacted.local:80'

Any ideas as to why this is occurring? i presume that PowerShdll is not providing verbose error messages so it is kind of hard to understand what is occurring.
However when i run
WinPwn -PowerSharpPack -consoleoutput -noninteractive
I manage to get the output in full.
I would like to know if you have a cheatsheet I could use to run WinPwn in -consoleoutput -noninteractive mode with a list of parameters we can pass because the help menu seems to contian only a few examples of usage if i am not mistaken.
Cheers

Hey,
The parameters are correct if you want to use Domainreconmodules.

DomainReconmodules will most likely run a very long time with theese parameters depending on the domain size, especially the search for network shares takes much time here. Take a look at the code, the WinPwn function calls the Domainreconmodules function and Domainreconmodules calls different sub-functions like generaldomaininfo, shareenumeration, powerSQL, printercheck and so on with the corresponding parameters:

So you could also use them as standalone functions depending on what you want to do:
powerSQL -noninteractive - PowerUPSQL Checks
snaffler -noninteractive -consoleoutput - snaffler without questions and with consoleoutput
generaldomaininfo -noninteractive -consoleoutput - All those text file information which is normally generated in the Domainrecon Folder
Your error messages look like some of the scripts used by Domainreconmodules have problems in your environment, but i didn´t see theese messages so far anywhere. Didn´t use the Offline version in combination with PowerShdll so till now.
You could try all the subfunctions of generaldomainInfo and tell me which one of it has this problem.
Greetings

Ah excellent will definitely give it a try and let you know which parameters could potentially present issues. Thanks again for your great help.
Yes I thought you would be interested in knowing the pre-conditions on how WinPwn is being used i am engaged in a locked down environment at the moment so was interested in seeing how WinPwn would behave.
Cheers

Ok buddy,
Seems that Powershdll doesn't handle the console output properly so you actually need to push all the WInPwn output to a file and only then can i go through the findings
`PS H:\Desktop2019>WinPwn -noninteractive -consoleoutput -Privesc >WinPwn_Privesc_output.txt`

otherwise i get this below
PS H:\Desktop2019>WinPwn -noninteractive -Privesc
A positional parameter cannot be found that accepts argument 'proxy.redacted.local:80'.

PS H:\Desktop2019>WinPwn -noninteractive -consoleoutput -Privesc
Cannot find drive. A drive with the name 'blahblahblah' does not exist.

Will continue to test on target while i can and update.
Cheers

I am interested in how WinPwn is used and i am interested in how it behaves in different situations, this could also happen to me sometime. I just tried to replicate this using PowerShdll but i can´t even load WinPwn in its runspace. You could also try other open source alternatives like MsBuildshell, just replace the AMSI Bypass Namespace and Class name with random names. There are several projects like PowerLessShell, nopowershell Stracciatella and more. Maybe its a tool-related problem.

Awesome thanks mate. Definitely will try the alternatives. Just as a heads up and interesting thing to note, i also used PowerSharpPack and found that the PowerSharpPack.ps1 gets flagged by AMSI but lets all the other binaries through LOL.

Thats because i didn´t change the AMSITrigger there so far, it´s explained in one of my blog posts here:
https://s3cur3th1ssh1t.github.io/Bypass_AMSI_by_manual_modification/

I switched all scripts to gzip compression yesterday so at this time they are not flagged but they will get flagged in the near future again ;-)

Tried out MSBuildSell and it works great on my lab test machine, but as soon as i attempt to run it on my target for some reason there seems to be build errors occuring. Mind you i am launching this via PowerShdll. So tomorrow will test out by launching commands from a batch script and see if that works. Will keep you posted

Excellent blog posts mate. Thank you for awesome contributions.

If you encounter new bahaviours feel free to reopen.


How to define success rate?

I want to graph the "success rate" as you did with the number of "steps".
But I don't know how to define the "success rate".
Is it related to "'successful_task': True" in "model.ep_info_buffer" or "ep_successful_task_mean" in trajectory?
Hope to get your reply.

Hi @wjyustl ,
In SB3, the information of finished episodes is indeed stored in model.ep_info_buffer.
Using SB3's wandb callback and the monitor wrapper, this data is automatically tracked and uploaded.
If you do not want to use wandb, you could also write a custom callback, similar to: https://github.com/ScheiklP/sofa_zoo/blob/main/sofa_zoo/common/callbacks.py#L7
Let me know, if that helps! :)
Cheers,
Paul

Hi @wjyustl , In SB3, the information of finished episodes is indeed stored in model.ep_info_buffer. Using SB3's wandb callback and the monitor wrapper, this data is automatically tracked and uploaded.
If you do not want to use wandb, you could also write a custom callback, similar to: https://github.com/ScheiklP/sofa_zoo/blob/main/sofa_zoo/common/callbacks.py#L7
Let me know, if that helps! :)
Cheers, Paul

Hi @wjyustl , In SB3, the information of finished episodes is indeed stored in model.ep_info_buffer. Using SB3's wandb callback and the monitor wrapper, this data is automatically tracked and uploaded.
If you do not want to use wandb, you could also write a custom callback, similar to: https://github.com/ScheiklP/sofa_zoo/blob/main/sofa_zoo/common/callbacks.py#L7
Let me know, if that helps! :)
Cheers, Paul

That's very kind of you. Thank you very much.
It helps me a lot as a beginner.


Add test instructions to API

If a dockerfile was generated by the API, there also should be test instructions per feature to test the built image afterwards. e.g. "java -version" to check if java was installed correctly if the "java" feature was requested.

See #33


The text under the "Echipa" section is not properly aligned.

URL: https://oportunitatisicariere.ro/
Browser: Chrome
Device: Latptop
OS: Windows 11 PRO
STEPS TO REPRODUCE:
1 .Open the URL in the browser
2. Scroll down under the "Echipa" section
3. Observe that the text is not properly aligned.
EXPECTED RESULTS:
The text should be properly aligned.
ACTUAL RESULTS:
The text is not  properly aligned.

Can you please check this again? Also, can you specifiy the screen size?

FIXED


Help Debug why secrets don't work

With 0.5 secrets are a bit more complex than prior versions and I propose we provide some utilities to help individuals understand how they work and debug. Sort of a like a sql explain plan, I propose a drone secret explain command.
The command could look like this:
$ drone secrets explain drone/drone
$ drone secrets explain --pull_request drone/drone # for pull request
$ drone secrets explain --pull_request --context=path/to/.drone.yml drone/drone

Example output could look like this:
$ drone secrets explain --pull_request drone/drone

secret: MY_SECRET
image "gynzy/docker-drone-node:*" does not match "gynzy/docker-drone-node"

secret: HEROKU_TOKEN
image "plugins/heroku:*" matches "plugins/heroku:latest"
event [tag, push] does not match pull_request

secret: AWS_KEY
image "plugins/s3" matches "plugins/s3"
event [pull_request, push] matches pull_request

It is also possible that we could run the explain plan on the Yaml parsing and compiling itself to show how it is transformed. This might be even more helpful but will be way more difficult and involved.

Nice command. 👍

until we have this command available, common reasons for secrets not being injected are
Image mismatch
When you add a secret you need to provide a list docker image(s) that the secret can be exposed to. The list of images must be an exact match to what is in your yaml, or must use matching logic.
Let's use this yaml as an example:
pipeline:
  publish:
    image: plugins/docker

These command will expose secrets:
drone secret add --image plugins/docker DOCKER_USERNAME octocat
drone secret add --image plugins/* DOCKER_USERNAME octocat

These commands will not expose secrets:
drone secret add --image docker DOCKER_USERNAME octocat # missing plugins/ prefix
drone secret add --image publish DOCKER_USERNAME octocat # publish is the step name, not the image name

Note that if you are using tags in the image name, they need to be taken into account when you specify the --image flag
pipeline:
  publish:
    image: plugins/docker:latest

These commands will expose secrets
drone secret add --image plugins/docker:latest DOCKER_USERNAME octocat
drone secret add --image plugins/docker:* DOCKER_USERNAME octocat

Pull Requests
For security reasons Drone will not expose secrets for pull request events. If you want secrets exposed to pull requests it needs to be enabled when adding the secret:
drone secret add --event pull_request --image plugins/docker:latest ...

Invalid or Missing Signature
For security reasons, Drone will not expose secrets unless the yaml is signed and that signature matches the contents of the yaml. If the yaml file changes, the signature needs to be updated.
If you don't have a .drone.yml.sig file secrets will not work. Please read the full documentation which explains how to sign your yaml file.
If you have a .drone.yml.sig but the signature is invalid, you will see a warning message above your build logs. You will need to re-sign the yaml and push the updated signature file

Thanks, here is a sample file https://github.com/naveensrinivasan/drone-test/blob/master/.drone.yml
Here is the output for my global secrets
GuessWho➜  drone : master ✔ : ᐅ  k8s:(gke_revature-tools_us-west1-a_drone) drone global secret add --image 'busybox:*' --event pull_request --skip-verify   PASSWORD octocat
GuessWho➜  drone : master ✔ : ᐅ  k8s:(gke_revature-tools_us-west1-a_drone) drone global secret ls
PASSWORD
Images: busybox:*
Events: push, tag, deployment, pull_request
SkipVerify: true
Conceal: false

And I am still not getting output for $PASSWORD
Here is the output from the build
+ printenv
DRONE_BRANCH=master
DRONE_COMMIT_AUTHOR_AVATAR=https://avatars.githubusercontent.com/u/172697?v=3
DRONE_JOB_FINISHED=0
CI=drone
DRONE_VERSION=0.5.0+822
HOSTNAME=313f640c0d30
DRONE_REPO_LINK=https://github.com/naveensrinivasan/drone-test
DRONE_COMMIT_AUTHOR=naveensrinivasan
DRONE_PREV_BUILD_NUMBER=1
SHLVL=2
HOME=/root
DRONE_COMMIT_BRANCH=master
DRONE_REPO_PRIVATE=false
DRONE_REPO_SCM=git
DRONE_BUILD_STATUS=success
DRONE_ARCH=linux/amd64
DRONE_PREV_COMMIT_SHA=845273d06c7640a98f116790975416cd16e2d5a4
DRONE_COMMIT_MESSAGE=Testing Build
DRONE_REPO_BRANCH=master
DRONE_YAML_VERIFIED=false
DRONE_REMOTE_URL=https://github.com/naveensrinivasan/drone-test.git
DRONE_JOB_STATUS=running
DRONE_REPO_OWNER=naveensrinivasan
DRONE=true
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
DRONE_BUILD_NUMBER=2
DRONE_BUILD_STARTED=0
DRONE_REPO_TRUSTED=true
DRONE_BUILD_LINK=http://drone.revatureengineering.com/naveensrinivasan/drone-test/2
DRONE_YAML_SIGNED=false
DRONE_COMMIT=0290214e5cc2747ab99dde6ebfb3e1832723b439
SHELL=/bin/sh
DRONE_JOB_NUMBER=1
DRONE_JOB_STARTED=1482715517
DRONE_BUILD_EVENT=push
DRONE_REPO_NAME=drone-test
DRONE_BUILD_CREATED=1482715387
DRONE_COMMIT_SHA=0290214e5cc2747ab99dde6ebfb3e1832723b439
<EMAIL_ADDRESS>DRONE_JOB_EXIT_CODE=0
DRONE_COMMIT_REF=refs/heads/master
DRONE_REPO_AVATAR=https://avatars.githubusercontent.com/u/172697?v=3
DRONE_PREV_BUILD_STATUS=failure
PWD=/drone/src/github.com/naveensrinivasan/drone-test
DRONE_COMMIT_LINK=https://github.com/naveensrinivasan/drone-test/commit/0290214e5cc2747ab99dde6ebfb3e1832723b439
DRONE_BUILD_FINISHED=0
DRONE_REPO=naveensrinivasan/drone-test
+ echo $PASSWORD

Please let me know how I could add secrets. I have tried following command and none of them have solved my issue

drone global secret add --image 'busybox:*' --event pull_request --skip-verify   PASSWORD octocat
drone global secret add --image 'plugins/busybox:*' --event pull_request --skip-verify   PASSWORD octocat
drone global secret add --image 'docker/busybox:*' --event pull_request --skip-verify   PASSWORD octocat

Based on the CLI output, busybox:* will not match busybox in you yaml

closing since secret impl changes to interpolate using ${variable}. This, combined with the error message regarding lack of signature, should suffice.


Passwall renew  hysteria

The client file is not suitable for the current device. hysteria__/tmp/hysteria_download.EOoCNI

Please create the issue in the passwall repository instead


fix: chapter 10 feedback qa component fixes

Adds the component fixes for chapter 10 qa feedback
closes #1169
closes #1179

The mobile layouts seem like they have been greatly improved. Thanks for tackling this! I don't know if we care, but mobile in landscape/horizontal is still a bit buggy. On the right half of the screen, I can't scroll up to see the input/output part of the exercise. I'll defer to someone else to decide if this is actually important or not.

Yeah, I need to rebase those changes back from your PR so there aren't conflicts

I think we can wait to see which  gets merged to dev first 😄 1,000 sats it's going to be this PR 🤣🤣


envd graphic in dark mode

The text is hard to read in dark mode.
https://envd.tensorchord.ai/developers/development.html

Thanks, it is a bug.

fixed in #227


Add library of LM35, LM35A

@RLL-Blue-Dragon please take the time to very carefully review the warnings from the bot. You are creating many libraries with the same problems. It will be best for you to break that pattern as early as possible because it will more work to fix all these problems retroactively.

This one is very serious:
WARNING: library.properties depends field item(s) analogReference analogRead not found in the Library Manager index.
         See: https://arduino.github.io/arduino-cli/latest/library-specification/#libraryproperties-file-format
         (Rule LP048)

This problem will make it impossible for people to install your libraries via Library Manager. So what is the point of adding all these libraries if they can't even be installed?
Please take the time to carefully study the documentation to understand the correct use of the depends field:
https://arduino.github.io/arduino-cli/latest/library-specification/#libraryproperties-file-format

This one is just plain sloppy:
WARNING: Potentially misspelled library.properties field name detected.
         See: https://arduino.github.io/arduino-cli/latest/library-specification/#libraryproperties-file-format
         (Rule LP006)

Again, please take the time to study the documentation and correctly format your metadata:
https://arduino.github.io/arduino-cli/latest/library-specification/#libraryproperties-file-format

And of course we have this:
WARNING: No example sketches found. Please provide examples.
         See: https://arduino.github.io/arduino-cli/latest/library-specification/#library-examples
         (Rule LD004)

I see you have a sketch named sample in the root of the repository. This is not the correct way to provide an example sketch. Please take the time to study the documentation so you can understand the correct way to provide example sketches:
https://arduino.github.io/arduino-cli/latest/library-specification/#library-examples


Variable TAG lengths?

Hi there,
I was wondering, do you actually believe/expect to have projects mixing TAGs of variable length? Do you really think this is a possibility?
I've been checking the lengths within different suppliers, and the lengths are always consistent.
Thanks in advance.
Cheers,
Santiago

Hey @santiagorevale
It did happen sometimes when testing new protocols if I recall. Mixing HTOs and TAGs for example.


Newtabcomplete

Fixed tab complete for commands and paths.
Also fixed project build to work with the new library.

It broke


ARROW-3662: [C++] Add a const overload to MemoryMappedFile::GetSize

Codecov Report

Merging #2882 into master will decrease coverage by 0.01%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master    #2882      +/-   ##
==========================================
- Coverage   87.58%   87.56%   -0.02%
==========================================
  Files         412      412
  Lines       64036    64048      +12
==========================================
+ Hits        56084    56086       +2
- Misses       7882     7888       +6
- Partials       70       74       +4

Impacted Files
Coverage Δ

cpp/src/arrow/io/io-file-test.cc
94.8% <100%> (+0.08%)
:arrow_up:

cpp/src/arrow/io/file.cc
95.77% <100%> (+0.02%)
:arrow_up:

go/arrow/math/int64_avx2_amd64.go
0% <0%> (-100%)
:arrow_down:

go/arrow/memory/memory_avx2_amd64.go
0% <0%> (-100%)
:arrow_down:

go/arrow/math/float64_avx2_amd64.go
0% <0%> (-100%)
:arrow_down:

go/arrow/math/uint64_avx2_amd64.go
0% <0%> (-100%)
:arrow_down:

go/arrow/memory/memory_amd64.go
28.57% <0%> (-14.29%)
:arrow_down:

go/arrow/math/math_amd64.go
31.57% <0%> (-5.27%)
:arrow_down:

go/arrow/math/float64_amd64.go
33.33% <0%> (ø)
:arrow_up:

go/arrow/math/int64_amd64.go
33.33% <0%> (ø)
:arrow_up:

... and 5 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 059e2d0...5e49785. Read the comment docs.


x/tools/gopls: support "go generate" via CodeLens

TL;DR:
It would be helpful if gopls recognized //go:generate directives in Go files and offered the option to run "go generate" from the editor through a CodeLens. Here's a demonstration video: https://vimeo.com/395630819
Motivation - feel free to skip if you are already convinced :)
Code generation is widely used in Go projects. The //go:generate command makes long and tedious commands much easier to execute by just running go generate or go generate ./....
However, whenever a programmer wants to regenerate the code, they end up doing some context switching from their editor to the terminal to regenerate the code.
Therefore, if the editor understood the //go:generate detective and offered to run go generate on the user's behalf, then the programmer can remain within the editor and not worry about switching contexts.
VSCode already does this with Go Test functions by giving you the option to run tests from within the UI. The "go generate" feature was actually requested for a few years in the VSCode extension but was never implemented: https://github.com/microsoft/vscode-go/issues/263
Therefore, I think gopls is the right place to offer this functionality as the feature is very Go-specific.
Implementation question
The video above is from an initial implementation I wrote here: https://github.com/golang/tools/compare/master...marwan-at-work:gg?expand=1
The CodeLens part seems super straightforward. However, the moment we click on "go generate" and the client sends the command back to gopls, we need to show the stdout/stderr of "go generate" back to the client.
The one supported way I saw was using the $/progress server->client rpc which lets you show one message at a time. Each message shows as a progress bar on the bottom right in VSCode. However, would it be more appropriate to show this as a window instead of a progress bar?
If so, does the LSP provide a way to tell the editor to open a window and show a stream of logs?
In any case, if everyone is happy with this proposal, I'm happy to add tests and contribute the implementation above!

Completely agree with the idea. We've had a similar issue opened here: https://github.com/golang/go/issues/31817. I think the code lenses are a great starting point.
I'm not sure if LSP has that functionality, as we haven't used any of the in-progress RPC features. Let's experiment with what's currently available, and if something seems to be missing, we can open issues with the LSP specification.
Thanks for doing this work, @marwan-at-work! Looking forward to getting these features in gopls!


[owners] Rewrite tests without sinon assertions

Context: https://github.com/ampproject/amp-github-apps/pull/443#discussion_r325838137

It looks like Jest supports an alternate form of it(...) which supplies a done callback and the test fails without it. Any async tests that don't use Jest assertions should be migrated to this form.


using axios

Hi,
I just gave vue-stripe-elements a go.
When submitting the form I get a
The POST method is not supported for this route. Supported methods: GET, HEAD, PUT, PATCH, DELETE.

error.
In the BidReserve.vue file should an axios call happen on the pay() method? I'm using laravel, and the token is being created on the backend, which is where I'm a bit in a grey area. If I cancel out the createToken() line I get the same result of not posting to the proper route.
Here's what I'm trying, but still get this error. The route being called bidreserve is defined in the routes web.php file.
        methods: {
            pay () {
                // createToken returns a Promise which resolves in a result object with
                // either a token or an error key.
                // See https://stripe.com/docs/api#tokens for the token object.
                // See https://stripe.com/docs/api#errors for the error object.
                // More general https://stripe.com/docs/stripe.js#stripe-create-token.

                createToken().then(data => console.log(data.token))

                this.processing = true
                axios.post('/jobs/${this.jobId}/bidreserve', {
                    amount: this.amount,
                    payment_token: token.id,
                }).then(response => {
                    window.location = `/orders/${response.data.confirmation_number}`
                }).catch(response => {
                    this.processing = false
                });
            },

Thank you for any tips ~

From where are you getting your token.id? Assuming that should be coming from your createToken() method.
export default {
  // ..
  methods: {
      submit (e) {
        if (this.isTrialPlan) {
          this.register(e)
        } else {
          createToken().then(data => {
            if (data.error) return

            this.form.stripe_token = data.token.id
            this.register(e)
          })
        }
      },
      register (e) {
        this.processing = true

        this.$store.dispatch('auth/register', this.form)
          .then(response => { .. })
          .catch(response => { .. })
      },
}

Hi @dvlden
I stepped away from this package for the past few weeks. Let me get back with you shortly...
Thank you!

@trevorpan What's the reason and have you found a better alternative?
I am having issues with the whole SCA regulation and it's not that this package is not working, it's that I am not sure that I understand the process that BE must handle.
Can no longer register and charge in a single BE request.
Sorry for bits of off-topic. Let me know if you have any doubts regarding your issue.

Yea, not regulation related. I was not able to get the components working properly. So, I opted for stripe's vanilla js implementation. I've got it together now, creating tokens, etc.
Vue components add a bit of complexity, and I'd just need a bit more time to sort that out ( beginner)

Yeah, SCA regulation is pain. I just started cleaning and preparing this package for v1.0.0.. So hopefully it will be more useful in the future.


Feature Request: ability to query canvas from outside of the component

For scenarios where the developer needs to call methods on the actual canvas element there is currently no way to query the canvas pwa-inking uses from outside of the component. We should implement this for users who may have more custom use cases.

Added feature to dev branch yesterday!


Add support for unfolded callouts

Current version breaks unfolded callouts documented at https://help.obsidian.md/Editing+and+formatting/Callouts#Foldable+callouts:

-> [!faq]- Are callouts foldable?
+> [!FAQ]- Are callouts foldable?
 > Yes! In a foldable callout, the contents are hidden when the callout is collapsed.

-> [!faq]+ Are callouts foldable?
+> [!FAQ]
 > Yes! In a foldable callout, the contents are hidden when the callout is collapsed.

Was:

Now:

I missed adding a test case for "+"! That has now been fixed and included in v0.0.3 (https://github.com/KyleKing/mdformat-obsidian/commit/afc08b2ee030b167a5ce555eb11c5aef933239e3)
I'll continue to work through the other issues when I have time over the next week or two


default settings cleanup

optimize config file and requirements.txt

takes advantage of https://github.com/OpenVoiceOS/ovos-plugin-manager/pull/99 , the best ww plugin will be used depending on what is installed
no fallback stt by default, this was causing issues in rpi3 because of memory usage
change default TTS to mimic3 server, mimic2 will go down any day now + voice matches mimic1
remove ovos-tts-plugin-mimic2 dependency
remove ovos-tts-plugin-google-tx dependency
remove ovos-stt-plugin-selene dependency
remove ovos-stt-plugin-vosk dependency

NOTES:

precise-lite can still not be made a default because buildtests fail on python 3.10
stt/tts extra requirements include more plugins not in requirements.txt

TODO:

adopt https://github.com/OpenVoiceOS/ovos-ww-plugin-openWakeWord as default ww enfine
remove ovos-ww-plugin-precise dependency
stt unittests depend on selene plugin, those should be moved to the respective plugin repository, they can also remain here as integration tests

Apologies for not reviewing in time


@mzikherman => create separate env variable for mobile auth

Creates a separate environment variable to enable the new mobile auth system from the desktop version.

Nice.


Optimize and fix autolink function (#1442)

This PR fixes the markdown rendering issues with code-blocks containing URLs (#1442). The culprit was the autolink function, which conflicted with highlight.js. I've excluded code-block URLs from being auto-linked to fix this issue.
Besides being broken the autolink function was also crazy inefficient. I've improved the efficiency by making use of the browser-native createTreeWalker function. If this function is not available (IE8 and below) I make use of a recursive function (which is still more efficient than the previous implementation).

Can you try to have this bug covered by an automated testcase ?

I'd love to, but there are no automated tests for the front-end AFAIK. Would you like me to build a unit testing environment just to test this case?

I would love you to build a unit testing environment,
not just to test this case :)

Since we don't have a test setup for the font-end yet, this should not be a block for this PR. That should be discussed in a proposal first, and than made in another PR.

I just asked for the test because a fix and a speed improvements
are reported but wouldn't be easy to perform the test required
to prove it. As we need 2 reviews, it'll take 2 people to perform
independent tests. Having an automated test would just take verifying
the test once :)

Reviewing the fix is quite easy. For your convenience I made a benchmark for the performance difference:
https://codepen.io/mjwwit/pen/YZbJEN?editors=1010
For those who can't be bothered to try it out, my optimized implementation will be about 30-50% faster on average.

Nice app, codepen.io, first time I see it !
On Firefox version 45.3.0 on a 64bit GNU/Linux
this is what I get for 1000 loops:
  JQuery:<PHONE_NUMBER>000082 ms

TreeWalker:<PHONE_NUMBER>9999556 ms
Does it mean your change would make it slower there ?
I guess Chrome based browsers would have much different numbers

Same system, 10000 iterations:
JQuery: 3595.914999999368 ms

TreeWalker: 2506.635000000824 ms
LGTM :)

Yeah, it can be quirky at times. I added a warm-up before the tests, but the results are still not super consistent. I guess it's because there are a ton of factors involved. On average though it will perform significantly better.

LGTM


Improve test coverage

Description:
$subject.

Related blocking issue: https://github.com/ballerina-platform/ballerina-lang/issues/30093


Dev Revision Compatibility Issue: ValueError("Expected string but got 1<class 'int'>",)

Issue Description
Just wanted to reach out and let you know of this error we just started receiving with the most current revision of the Dev branch.
Not an issue since our team was able to find a workaround for it. If anyone on our team uses the newest revision for their client side, it throws a ValueError("Expected string but got 1<class 'int'>",)
Reproduction Steps

Start King Phisher Server with version 1.6.0-beta3 (rev: 717952217ac8)
Pull the most current dev version of King Phisher for the client.
Log in to King Phisher via SSH and attempt to open a previously saved campaign, error should be thrown at this point.
Workaround to fix the issue was pretty simple:
On the client run:
git reset 717952217ac89ecc56ef85f09fcbc3dffea569f8
git reset –hard

Environment Details
Server OS: Ubuntu 16.04.1 LTS Xenial
KingPhisherServer Version: 1.6.0-beta3 (rev: 717952217ac8)
Host OS: Kali Rolling
KingPhisherClient Version 1.6.0-beta3 (rev: a627577f8717)
Error Details / Stack Trace
Error Type: builtins.ValueError
Error Details: ValueError("Expected string but got 1<class 'int'>",)
Error UID: 02294917-0639-4c5b-a543-a6eac68aa543
RPC Error: N/A (Not a remote RPC error)
King Phisher Version: 1.6.0-beta3 (rev: a627577f8717)
Platform Version: Linux: Kali kali-rolling kali-rolling
Python Version: 3.5.3
Gtk Version: 3.22.5
Timezone: Etc/UTC
Thread Information:
=> MainThread (alive=True daemon=False)
Thread-6 (alive=True daemon=True)
Thread-24 (alive=True daemon=True)
Thread-10 (alive=True daemon=True)
Thread-5 (alive=True daemon=False)
Thread-27 (alive=True daemon=True)
Thread-11 (alive=True daemon=True)
Thread-20 (alive=True daemon=True)
Thread-19 (alive=True daemon=True)
Stack Trace:
Traceback (most recent call last):
File "/opt/king-phisher/king_phisher/client/gui_utilities.py", line 104, in wrapper
results.append(function(*args))
File "/usr/lib/python3/dist-packages/gi/overrides/Gtk.py", line 956, in append
return self._do_insert(-1, row)
File "/usr/lib/python3/dist-packages/gi/overrides/Gtk.py", line 947, in _do_insert
row, columns = self._convert_row(row)
File "/usr/lib/python3/dist-packages/gi/overrides/Gtk.py", line 857, in _convert_row
result.append(self._convert_value(cur_col, value))
File "/usr/lib/python3/dist-packages/gi/overrides/Gtk.py", line 875, in _convert_value
return GObject.Value(self.get_column_type(column), value)
File "/usr/lib/python3/dist-packages/gi/overrides/GObject.py", line 218, in init
self.set_value(py_value)
File "/usr/lib/python3/dist-packages/gi/overrides/GObject.py", line 274, in set_value
(py_value, type(py_value)))
ValueError: Expected string but got 1<class 'int'>

@wolfthefallen This looks related to the changes introduced in 69e5a4f9cdec689c5d4fa959ac1b506b1b8e591d to fix the unicode issues we were experiencing.

Also, not sure if this is related (might be a connection reliability issue with our ISP) but I also randomly receive a Socket Error (#N/A) when attempting to SSH into the server from the client from time to time. Doesn't happen all the time, maybe every 1 out of 10 login attempts. I have HTTPS enabled login on the server config. This also started around the same time as the above error.

I am able to reproduce this ValueError, I'll have it fixed shortly. Thanks for bringing this to our attention.

Alright just pushed up commit 50ac24586567482eef44d537cf057d72bec1f60b which fixes this issue. If you wouldn't mind verifying it, we can get this issue closed out.

That fixed the issue. Thanks for the help. I really appreciate everything that you and your team does on this project.


[Bug] Inconsistent shape with model criterion ei

Heyo, in NePS, when trying out EI instead of PI, I got an issue where the shape output by ei was actually just duplicated vstacked columns, where as for pi and ucb, it was a single column output as expected.
Here's the repro. Sorry if it's not the most concise, as it's basically extracting out some sample data I used as well as pulling out some internal logic.
Here's the values and shapes for pi, ei and ucb:
tensor([5.9217e-04, 8.1137e-06], grad_fn=<SumBackward1>)
torch.Size([2])
tensor([[4.5409e-05, 2.9934e-07],
        [4.5409e-05, 2.9934e-07]], grad_fn=<ViewBackward0>)
torch.Size([2, 2])
tensor([0.6915, 0.6831], grad_fn=<AddBackward0>)
torch.Size([2])

Repro script:
from __future__ import annotations

import torch

x = torch.tensor(
    [
        [1.0000, 0.0000, 0.1036, 1.0000, 0.0312, 0.1230],
        [2.0000, 0.0000, 0.1658, 0.0000, 0.4688, 0.1522],
        [3.0000, 0.0000, 0.3707, 0.2500, 0.6250, 0.8594],
        [4.0000, 0.0000, 0.4301, 0.7500, 0.8750, 0.8967],
        [5.0000, 0.0000, 0.0579, 0.5000, 0.2188, 0.0401],
        [5.0000, 0.1000, 0.0579, 0.5000, 0.2188, 0.0401],
        [6.0000, 0.0000, 0.1061, 0.5000, 0.1719, 0.0600],
        [6.0000, 0.1000, 0.1061, 0.5000, 0.1719, 0.0600],
        [6.0000, 0.2000, 0.1061, 0.5000, 0.1719, 0.0600],
        [6.0000, 0.3000, 0.1061, 0.5000, 0.1719, 0.0600],
        [7.0000, 0.0000, 0.1435, 0.5000, 0.2031, 0.0548],
        [7.0000, 0.1000, 0.1435, 0.5000, 0.2031, 0.0548],
        [8.0000, 0.0000, 0.0847, 0.2500, 0.2344, 0.1516],
        [8.0000, 0.1000, 0.0847, 0.2500, 0.2344, 0.1516],
        [9.0000, 0.0000, 0.1534, 0.5000, 0.2031, 0.1576],
        [9.0000, 0.1000, 0.1534, 0.5000, 0.2031, 0.1576],
        [10.0000, 0.0000, 0.1327, 0.2500, 0.2188, 0.1108],
        [10.0000, 0.1000, 0.1327, 0.2500, 0.2188, 0.1108],
    ],
    dtype=torch.float32,
)
y = torch.tensor(
    [
        0.5,
        0.5,
        0.5,
        0.5,
        0.5,
        0.6,
        0.5,
        0.6,
        0.7,
        0.8,
        0.5,
        0.6,
        0.5,
        0.6,
        0.5,
        0.6,
        0.5,
        0.6,
    ],
    dtype=torch.float32,
)
acq = torch.tensor(
    [
        [9.0000, 0.2000, 0.1534, 0.5000, 0.2031, 0.1576],
        [10.0000, 0.2000, 0.1327, 0.2500, 0.2188, 0.1108],
    ],
    dtype=torch.float32,
)
y_best = torch.full(size=(len(acq),), fill_value=y.max().item(), dtype=torch.float32)

import ifbo

ftpfn = ifbo.FTPFN()

def _cast_tensor_shapes(x: torch.Tensor) -> torch.Tensor:
    if len(x.shape) == 3 and x.shape[1] == 1:
        return x
    if len(x.shape) == 2:
        return x.reshape(x.shape[0], 1, x.shape[1])
    if len(x.shape) == 1:
        return x.reshape(x.shape[0], 1)
    raise ValueError(f"Shape not recognized: {x.shape}")

logits = ftpfn.model(
    _cast_tensor_shapes(x), _cast_tensor_shapes(y), _cast_tensor_shapes(acq)
)

pis = ftpfn.model.criterion.pi(
    logits.squeeze(),
    best_f=y_best.unsqueeze(1),
)
print(pis)  # noqa: T201
print(pis.shape)  # noqa: T201

eis = ftpfn.model.criterion.ei(
    logits.squeeze(),
    best_f=y_best.unsqueeze(1),
)
print(eis)  # noqa: T201
print(eis.shape)  # noqa: T201

ucbs = ftpfn.model.criterion.ucb(
    logits.squeeze(),
    best_f=None,
    rest_prob=(1 - 0.682) / 2,
    maximize=True,
)
print(ucbs)  # noqa: T201
print(ucbs.shape)  # noqa: T201

Found some more interesting info about EI. In NePS, we explicitly convert everything to maximization for FTPFN and we have this y_best=1 - y.max(), which seemed off. I seemed to get it consistenly minimizing for PI but no matter what variation I do, whether I set y to be minimization or maximization, and whether I do this 1- part or not, it seems like the objective always tends towards the worst value.
Not sure what to do with this info but somethings up with EI

Alright, I found the problem for both cases! The issue was that within NePS, we were essentially filling up a tensor for best_f with torch.full(shape, y_best) for all three acquisitions.
After I got rid of some unnessary operations in NePS and just passed a single float through, it seems both EI returns the correct shape and begins to optimize properly.
tldr; pi handles a best_f: torch.Tensor | float the same while ei handles best_f: torch.Tensor differently from ei: float, where it seems ei with best_f: torch.Tensor is doing something incorrectly.

Closing this issue since the problem has been resolved. We will clarify the usage of best_f in the upcoming documentation.


API Docs for plotting module is incomplete!

🐞 Problem
The API Docs for plotting module is incomplete and old.
🎯 Goal
Update it

💡 Possible solutions

📋  Steps to solve the problem

Comment below about what you've started working on.
Add, commit, push your changes
Submit a pull request and add this in comments - Addresses #<put issue number here>
Ask for a review in comments section of pull request
Celebrate your contribution to this project 🎉

I am taking this up!


Interface name issues

[X] I have read the contributing guide lines at https://github.com/opnsense/core/blob/master/CONTRIBUTING.md
[X] I have searched the existing issues and I'm convinced that mine is new.
Describe the bug
I created a new vlan (other|vlan), set as description 'DMZ-2: Webserver', then created a new interface in assignments and wondered about the auto-created name '[DMZ-2: Webserver]'. Up to 19.7. the new interface was just named OPT_XX - dashes, spaces and colons where not possible as interface name, yet.
First I thought to rename my existing interfaces, since dashes look better than underscores and colons are useful as separator, but then I decided to use the existing scheme and named it 'DMZ_2'.
But whatever I entered as description (=name), the interface name was NOT changed as long as I just changed the description and pressed save. When I checked 'enabled' AND changed interface description, the name was changed.
Now as the interface is enabled, I can just change the interface name again, but no colon, space or dash. When I use one of those characters, it gets removed when saving. So I assume, the previous auto-created name [DMZ-2: Webserver] derived from the vlan description, lacks this character substitution.
To Reproduce
Steps to reproduce the behavior:

Create new vlan (interfaces|other types|vlan) with tag and name like 'DMZ-1: Test' (colons, spaces and dashes)
Create new interface (interfaces|assignments), select your new vlan as new interface and don't change the loaded vlan description
Press the add (+) button
Interface named [DMZ-1: Test] should be created
Do not enable it, just change the description (=interface name) and press save
name should not be changed
Enable interface and  change description (=interface name) and press save
name should be changed
Set 'invalid' name like before (with colons, spaces, dashes) and save
Now invalid characters should removed

Both carp members where I added a vlan to a lagg device, had this issue.
Expected behavior
Either characters like space, dash, colon are valid as interface name, I expect that I can change existing interfaces to names including it. Or I expect that new created interfaces are either named OPT_XX again or are named with those invalid characters removed ('DMZ1Test').
But no mix-mode. Otherwise i assume there will raise other issues if the system expects interface names without these characters, but with this bug|trick, it is possible to create interfaces with these characters.
Environment
OPNsense 20.1-amd64
FreeBSD 11.2-RELEASE-p16-HBSD
OpenSSL 1.1.1d  10 Sep 2019

https://github.com/opnsense/core/commit/2a80d1a8a2c82be409f211fcb36132204d1ac64e aligns behaviour for the description field.  Leftover from https://github.com/opnsense/core/pull/3808,  copy was introduced with https://github.com/opnsense/core/commit/ee542d28221f7b20dfa53e92abb0c19749b8c7b6


Non-Stanford teachers reusing this material?

Do you know what the policy is on non-Stanford teachers reusing these materials in their own courses (with proper credit, of course) ?

According to the project's GitHub website
https://github.com/cs231n/cs231n.github.io/blob/master/LICENSE the
material is covered by the M.I.T. licence. That means it can be freely used
subject to the conditions in the license.
On Sat, 20 Feb 2021 at 16:25, miturian<EMAIL_ADDRESS>wrote:

Do you know what the policy is on non-Stanford teachers reusing these
materials in their own courses (with proper credit, of course) ?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/cs231n/cs231n.github.io/issues/257, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AABEOPTFMFYQDVOXOKKEFKLS77O5ZANCNFSM4X6ASXAA
.

--
personal:@romillyc work:@rareblog skype:romilly.cocking web:
http://blog.rareschool.com/


fundingmanager+routing log touch ups

It would have been even better if this pr would quickly add a PrefixLogger to funding manager. Then the "ChannlPoint" typo wouldn't need fixing :P

Which channel point would we use as the prefix? Or make a new logger per channel?

It would have been even better if this pr would quickly add a PrefixLogger to funding manager. Then the "ChannlPoint" typo wouldn't need fixing :P

Which channel point would we use as the prefix? Or make a new logger per channel?

Right, good point. It demonstrates how little I know about the funding manager. Not sure if anything is practical, just saw the prefix repeated several times in the file.

i also ended up running the entire itest suite and then used
grep -r "[a-f0-9]\{128,132\}" lntest/itest/ | grep -v "reason=[a-f0-9]\{133,\}"

to find any other cases of double-hex encodings of 32 and 33 byte values. the prominent ones should be fixed now

@joostjager definitely agree, there is a lot to be desired there :)

Why do we want to use snake_case? Seems like camelCase is being used overwhelmingly in the fundingmanager, so why not stick to that?

@halseth because snake case is most widely used in lnd, so we should converge on that


0.23 -- URI equality bug: uri"/".addSegment("Test").addSegment("") != uri"/Test/"; values are not equal even if they have the same toString()

Discovered it through an upgrade to 0.23 (thank god TDD!)
https://github.com/ScalaWilliam/http4s/commit/788c860d2e203c4965bd9674808aaee276b84c73
==> X org.http4s.UriSpec.URI with segment equals to raw URI  0.011s munit.ComparisonFailException: UriSpec.scala:1273 values are not equal even if they have the same `toString()`: /Test/
1272:  test("URI with segment equals to raw URI"){
1273:    assertEquals(uri"/".addSegment("Test").addSegment(""), uri"/Test/")
1274:  }

productIterators are equal as well, so this is a very strange one for sure.

these are not the same which is expected.
The implementation of Uri.Path is taking into account if the path ends with a slash.
the equals method does check for this.
https://github.com/http4s/http4s/blob/main/core/src/main/scala/org/http4s/Uri.scala#L301
perhaps an empty segment at the end should add the flag, but this is not done atm.

I'd expect addSegment("") to add an empty segment, so it does end in a slash.  And calling it again to result in consecutive slashes.

I'd expect addSegment("") to add an empty segment, so it does end in a slash

@rossabaker
Are you arguing that we should have this
val u = uri"/".addSegment("Test").addSegment("")
u.path.endsWithSlash === true // at the moment here is 'false'

If it so, it'd be easy to fix.


fix: Update Scroll View Animation Example and Sample Code Presenter

Description
Updated ScrollView Animation sample to display C# code, include default, accordion, and teleportation animations, and fixed code visibility handling to prevent overlap. With dynamically updated animation duration in the code displayed, main changes are:

Added Sample Code Files:

Included three new sample code files for different scroll animations: - ScrollViewSample3_DefaultAnimation_cs.txt - ScrollViewSample3_AccordionAnimation_cs.txt - ScrollViewSample3_TeleportationAnimation_cs.txt

Updated Sample Code for Scroll Animations:

Provided sample code for three types of animations (Default, Accordion, Teleportation) to be used in the ScrollView_ScrollAnimationStarting method.

Updated Sample Code for Animation Duration Handling:

Implemented dynamic updating to ensure that the animation duration is reflected in the displayed sample code when the value changes.

Updated ReevaluateVisibility Method:

Modified the ReevaluateVisibility method in SampleCodePresenter to only collapse the visibility when the content is empty. Leave the updated method visibility management to HandlePresenterVisibility() only in ControlExample to prevent overlap of XAML and C# code.

Motivation and Context
By adding and updating sample code for different scroll animations (default, accordion, and teleportation), users can better understand and implement various animation styles in their ScrollView components.
It is also fixing this issue: https://github.com/microsoft/WinUI-Gallery/issues/1603
How Has This Been Tested?
The changes were manually tested by verifying that the correct sample code is displayed for different animations, ensuring dynamic updates to the animation duration in the displayed example code, and confirming that the code presenter visibility is correctly managed.
Screenshots:

Types of changes

[X] Bug fix (non-breaking change which fixes an issue)
[X] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

/azp run


Fix backport bot

Currently, our backport bot is broken. Need to do some investigation to see what the issue is. Help wanted, and ping @gabrieldemarmiesse to see if he can take a look. The error from this PR seemed like there was an issue with git on the bot runner:
https://github.com/tensorflow/addons/pull/2355

Sup Sean!, I wonder if the bot token is expired. I'll take a look :)


Added option to read from /etc/passwd. Fixes #17

@jinankjain looks great! Can we look for the current user as well?

@spolu Do you mean just for the current user using /etc/passwd?


links to the patch release v0.28.2

Changes
Adding the links to the latest patch release v0.28.2.
I forgot to update the README yesterday after creating the patch 😿
/kind documentation
Submitter Checklist
As the author of this PR, please check off the items in this checklist:

[x] Docs included if any changes are user facing
[ ] Tests included if any functionality added or changed
[x] Follows the commit message standard
[x] Meets the Tekton contributor standards (including
functionality, content, code)
[x] Release notes block below has been filled in or deleted (only if no user facing changes)

Release Notes
NONE

/lgtm


Organization Management via filamentphp admin

admin system
We need a mechanism to login, and manage the Orgs model.
We will use filamentphp
Orgs Model

title (string)
path (string)
city (string)
focus_area (string)
uri (string)
primary_contact_person (string)
organization_type (string)
event_calendar_uri (string)
service (event service)
service_api_key (nullable, string)
status (enum)
established_at (date time)

Historically, I've been the main one editing these and perhaps a couple folks like Pam occasionally editing a detail.
I wouldn't be opposed to an interim solution of this being a JSON file that gets imported and cached if that saves a lot of work.
Zach did build and admin UI on the HG site, but I don't even recall what you can change and I don't even recall having a login for it.

Also, we would lose some data with the list above.
I'm alright slimming things down, but we would lose some ability with the list of fields above.
For instance, this view is build off of the "regular day of the month" and "regular time of the day".  There are so few competing orgs right now that I think the calendar view on HG is good enough to replace this feature. So, we can kill those fields off
https://data.openupstate.org/greenville-meetup-scheduling
The list does miss an alternative for field_year_inactive, which has been handy for keeping a history of when groups started and ended.  I think we should keep that field since it's a simple int.   I've shared some spreadsheets that I was able to generate using that info, which was helpful last year in telling the story of the pre and post pandemic.
There's both a path and a uri listed above. The "path" in the old site is the internal URI.  If the uri was intended to replace "field_homepage", then keeping homepage in the name may help differentiate it from any internal URI.
This isn't in the API, but a uri_slug field is sometimes helpful for referencing the last portion of the internal URI.
I'm imaging field_org_tags may be another table, but that has been a useful / important field, like for rendering OpenWorks' dashboard.
As you indicated, nid and uuid fields in the existing API may not be needed, but some primary key for an org is likely useful.
The field_organization_type  key|values in the old API are

code-school|Code Schools
conference|Conferences / Festivals / Hackathons
meetup|Meetup Groups
workforce|Workforce Development

The field_event_service key|values in the old API are as below, but not all values are actually applied to an org
eventbrite|Eventbrite.com
facebook|Facebook.com
ical|iCal Feed
gettogether|GetTogether.community
meetup|Meetup.com
newsletter|Newsletter
open-collective|OpenCollective.com
unknown|Unknown

field_organization_status key|values are

active|Active
inactive|Inactive
on-hiatus|On Hiatus
planned|Planned

I think that's all I have for now.
Thanks for moving things forward, again.

We can certainly have a json file which holds all of the data for organizations, I think that may be a good solution to manage this data without having to manage the admin side. That being said it would probably be much fast building the admin UI than building a parser for the data.
@ThorntonMatthewD @JSn1nj4  what do you guys think?

I like the idea of building an admin UI in Filament. It handles admin UI and CRUD automatically out of the box, including obeying model policies by default.
That mostly leaves defining the shape of record displays and forms + validation rules.

@bogdankharchenko have you started this already? If not, I'd be down to at least get it started tonight and tomorrow.
@allella @ThorntonMatthewD if we drop either nid or uuid, what would be a good way to determine which is more heavily relied on? I was thinking of leaning towards keeping UUIDs, at least since the primary key in Filament will be used for accessing an individual record.

@JSn1nj4 the nid (Drupal node id) and uuid are only there because Drupal adds it automatically and we may have used that as a primary key.
UUID are more of a universal concept, so we could keep with it, but I don't know that it's being relied upon by anything more than as a key to avoid duplicates on import.  We could seemingly replace it with any unique primary key value.


Change window design

Changes the window name on the mployee databases. Add buttons to add editing and deleting employees.

 You have buttons but nowhere to show your employees.


Erron on running

On running ./run.py I get the following error. Can you help?
Traceback (most recent call last):
  File "./run.py", line 5, in <module>
    run()
  File "/home/manjaro/Desktop/typetrainer/typetrainer/run.py", line 4, in run
    from typetrainer.i18n import _
  File "/home/manjaro/Desktop/typetrainer/typetrainer/i18n.py", line 18, in <module>
    _ = lang.ugettext
AttributeError: 'NullTranslations' object has no attribute 'ugettext'

Sorry but typetrainer compatible with python2 only. You should install it and start as
python2 ./run.py

Ah, my mistake. Should I try to port it to 3?

It will be not easy. Typetrainer uses gtk2 bindings and py3 works with gobject introspection. But it will be marvellous!

Sigh, I will give it a shot anyways.


feat: add code editor

Description
This PR is to add code component to design package which could be used to handle code-editing.
Fixes #174 #178
Checklist

[x] My code follows the contributing guidelines of this project.
[x] I am aware that all my commits will be squashed into a single commit, using the PR title as the commit message.
[x] I have performed a self-review of my own code.
[x] I have commented my code in hard-to-understand areas.
[x] I have updated the user-facing documentation to describe any new or changed behavior.
[x] My changes generate no new warnings.
[x] I have added tests that prove my fix is effective or that my feature works.
[x] I have not reduced the existing code coverage.

Comments

@git-anurag-hub @SalihuDickson please review this PR!


[@types] Only wrap state props of type object

Objects in the state are wrapped, but simple primitives are not. The updated typings now reflect this behavior.

Thanks for the update.  I'm working on some other stuff so not quite sure when I will push to npm. But I will  update this issue when I do.


⚠ Bofrost.lu has degraded performance

In 91034ba, Bofrost.lu (https://www.bofrost.lu) experienced degraded performance:

HTTP code: 200
Response time: 1635 ms

Resolved: Bofrost.lu performance has improved in 8fe1efb after 6 minutes.