missing files/path in download scripts

great work! the download scripts are not point to the right locations for the weights and the samples.tar just contains a symlink it seems.

Thanks for catching the issue. The issue should be fixed now.


gtest usage

I'm not following what this means underneath the cxx_test rule. Is there an example of how to use gtest somewhere?

https://buck2.build/docs/api/rules/#cxx_test
framework: The testing framework to build against and run with. We currently support gtest and boost.
When set to gtest, you must also set .buckconfig .

I have a test that looks like this
cxx_test(
    name = "a_test",
    srcs = [
        "Testl.t.cpp"
    ],
    framework = "gtest",

But there is no indication it's doing anything with gtest on the command line when I execute buck2 test //:a_test

The framework parameter is something that ends up being passed to the test runner (or rather it should, it looks like it got hardcoded instead in cxx_test_impl). Internally at Meta that's used for reporting but also because the test runner will inject some gtest-specific arguments when the framework is gtest.
In the open-source build, the framework argument basically does nothing.

Ok, that is helpful, so I need to define a BUCK file for upstream googletest and then use the gtest main for the test runner instead. :+1:

Yes that’s right
On Thu, 13 Apr 2023 at 21:03, Benjamin Brittain @.***>
wrote:

Ok, that is helpful, so I need to define a BUCK file for upstream
googletest and then use the gtest main for the test runner instead. 👍
—
Reply to this email directly, view it on GitHub
https://github.com/facebook/buck2/issues/160#issuecomment-1507475530,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AANIHVVPZXAGF3PJT7MCCOLXBBEW3ANCNFSM6AAAAAAW5NDXXE
.
You are receiving this because you commented.Message ID:
@.***>

For other folks reference:
cxx_library(
  name = 'gtest_main',
  srcs = [
      'googletest/src/gtest_main.cc',
  ],
  visibility = ['PUBLIC'],
  exported_deps = [
      ":gtest",
  ]
)

cxx_library(
  name = 'gtest',
  srcs = [
      'googletest/src/gtest-all.cc',
  ],
  include_directories = ["googletest/include"],
  public_system_include_directories = [
      "googletest/include",
      "googletest",
  ],
  visibility = ['PUBLIC'],
)

then adding gtest = third_party/googletest to the [repositories] section of .buckconfig allows using it like with bazel:
cxx_test(
    name = "a_test",
    srcs = [
        "Test.t.cpp"
    ],
    deps = [
        "gtest//:gtest_main",
    ]
)

Updated those docs in https://github.com/facebook/buck2/commit/81736aa6097f3ce00bcdf2fed44a74937caf38b0
Also updated the docs on testing in https://github.com/facebook/buck2/commit/267a04888a2919c3e1ff5b2e2b40bdb390cd7526


ReCaptcha: Could not verify you are not a robot

PassCore Server 4.2.4

OS: Windows 2019
Provider: Active Directory
Settings file:

{
  "Logging": {
    "IncludeScopes": false,
    "LogLevel": {
      "Default": "Debug",
      "System": "Information",
      "Microsoft": "Information"
    }
  },
  "WebSettings": {
    "EnableHttpsRedirect": false
  },
  "AppSettings": {
    // The following options for AD Provider (remove if you don't use this Provider)
    "UseAutomaticContext": true, // Set true to allow PassCore to reset password using the same credentials, or false if you will fill the credentials below
    "RestrictedADGroups": [
//      "Administrators",
//      "Domain Admins",
//      "Enterprise Admins"
    ], // Set the AD groups to restrict the use of PassCore
    "AllowedADGroups": [], // Set the AD Groups to allow PassCore, if the array is empty all the groups no-restricted above are allowed
    "IdTypeForUser": "UPN", // Possible values are "DN", "GUID", "Name", "SAM", "SID" and "UPN" (Default UPN)
    "UpdateLastPassword": false, // Set true to allow PassCore to  update the last password timestamp
    // The following options are for LDAP Provider (remove if you don't use this Provider)
    "LdapSearchBase": "ou=people,dc=example,dc=com",
    "LdapSecureSocketLayer": false, // Default for AD is true when using LDAPS 636
    "LdapStartTls": false, // Default for AD is true when using LDAP 389
    "LdapChangePasswordWithDelAdd": true,
    "LdapSearchFilter": "(sAMAccountName={Username})", // Another value: "(&(objectClass=person)(cn={Username}))"
    // General options (valid for both providers)
    "LdapHostnames": [ "" ], // Set your hostname(s)
    "LdapPort": 389, // Default for AD is 389, for LDAPS 636
    "LdapUsername": "", // Set the username or distinguish name (DN) to bind the LDAP server
    "LdapPassword": "", // Set the password for the username
    "DefaultDomain": "somedomain.net" // Set your default AD domain here, or non "@" logins will not work! Use empty value to allow user to set the domain. This option is ONLY available with UPN.
  },
  "ClientSettings": {
    "ValidationRegex": {
      "EmailRegex": "^[a-zA-Z0-9.!#$%&’*+/=?^_`{|}~-]+@[a-zA-Z0-9-]+(?:\\.[a-zA-Z0-9-]+)*$",
      "UsernameRegex": "^[a-zA-Z0-9._-]{3,50}$"
    },
    "UsePasswordGeneration": false, //Set true to let PassCore create a new password for the current account. If true the user can not customize its new password.
    "MinimumDistance": 0, //The minimum distance beetween the old and the new password, this is used to enforce the edit distance using the levenshtein distance algorithm.
    "PasswordEntropy": 16, // the number of bytes of entropy to use for generated passwords
    "ShowPasswordMeter": true,
    "MinimumScore": 2, //The minimum acceptable score that the user's new password needs to get at being evaluated by ZXCVBN to be established as the new password.
    "Recaptcha": {
      "SiteKey": "some_string", // ReCAPTCHA public key: replace this! or leave empty if you don't need ReCAPTCHA
      "PrivateKey": "some_string2", // ReCAPTCHA private key: replace this! or leave empty if you don't need ReCAPTCHA
      "LanguageCode": "en"
    },
    "UseEmail": "false",
    "ApplicationTitle": "Self-Service Account Management Tools",
    "ChangePasswordTitle": "Change Active Directory Account Password",
    "ChangePasswordForm": {
      "HelpText": "If you are having trouble with this tool, please contact IT Support thru email<EMAIL_ADDRESS>      "UsernameLabel": "Active Directory username, without somedomain",
      "UsernameHelpblock": "Active Directory username, without somedomain",
      "UsernameDefaultDomainHelperBlock": "Usually name.surname",
      "CurrentPasswordLabel": "Current Password",
      "CurrentPasswordHelpblock": "Enter your current password",
      "NewPasswordLabel": "New Password",
      "NewPasswordHelpblock": "Enter a strong password. You can use this tool to help you create one.",
      "NewPasswordVerifyLabel": "Re-enter New Password",
      "NewPasswordVerifyHelpblock": "Enter your new password again",
      "ChangePasswordButtonLabel": "Change Password"
    },
    "ErrorsPasswordForm": {
      "FieldRequired": "This field is required",
      "UsernamePattern": "Please enter a valid username",
      "UsernameEmailPattern": "Please enter a valid email address",
      "PasswordMatch": "Passwords do not match"
    },
    "Alerts": {
      "SuccessAlertTitle": "You have changed your password successfully.",
      "SuccessAlertBody": "Please note it may take a few hours for your new password to reach all domain controllers.",
      "ErrorPasswordChangeNotAllowed": "You are not allowed to change your password. Please contact your system administrator.",
      "ErrorInvalidCredentials": "You need to provide the correct current password.",
      "ErrorInvalidDomain": "You have supplied an invalid domain to logon to.",
      "ErrorInvalidUser": "We could not find your user account.",
      "ErrorCaptcha": "Could not verify you are not a robot.",
      "ErrorFieldRequired": "Fulfill all the fields.",
      "ErrorFieldMismatch": "The passwords do not match.",
      "ErrorComplexPassword": "Failed due to password complex policies: New password length is shorter than AD minimum password length",
      "ErrorConnectionLdap": "Unhandled error connecting to the LDAP server.",
      "ErrorScorePassword": "The password you are trying to set is not secure enough.",
      "ErrorDistancePassword": "The password you are trying to set is not diferent enough of your last password.",
      "ErrorPwnedPassword": "The password you are trying to use is publicly known and can be used in dictionary attacks."
    }
  }
}

Log file (without sensitive information):

Hosting environment: Production

Content root path: C:\inetpub-passcore-test

Now listening on: http://*:10999/

Application started. Press Ctrl+C to shut down.

info: Microsoft.AspNetCore.Hosting.Diagnostics[1]

      Request starting HTTP/1.1 GET http://cmyodcsomedomain.net:10999/

info: Microsoft.AspNetCore.StaticFiles.StaticFileMiddleware[6]

      The file /index.html was not modified

info: Microsoft.AspNetCore.Hosting.Diagnostics[2]

      Request finished in 30.4971ms 304 text/html

info: Microsoft.AspNetCore.Hosting.Diagnostics[1]

      Request starting HTTP/1.1 GET http://cmyodcsomedomain.net:10999/App.879505b3.js

info: Microsoft.AspNetCore.StaticFiles.StaticFileMiddleware[6]

      The file /App.879505b3.js was not modified

info: Microsoft.AspNetCore.Hosting.Diagnostics[2]

      Request finished in 1.6806ms 304 application/javascript

info: Microsoft.AspNetCore.Hosting.Diagnostics[1]

      Request starting HTTP/1.1 GET http://cmyodcsomedomain.net:10999/react.62e74724.js

info: Microsoft.AspNetCore.StaticFiles.StaticFileMiddleware[6]

      The file /react.62e74724.js was not modified

info: Microsoft.AspNetCore.Hosting.Diagnostics[2]

      Request finished in 0.655ms 304 application/javascript

info: Microsoft.AspNetCore.Hosting.Diagnostics[1]

      Request starting HTTP/1.1 GET http://cmyodcsomedomain.net:10999/react-dom.502bf93d.js

info: Microsoft.AspNetCore.StaticFiles.StaticFileMiddleware[6]

      The file /react-dom.502bf93d.js was not modified

info: Microsoft.AspNetCore.Hosting.Diagnostics[2]

      Request finished in 0.2662ms 304 application/javascript

info: Microsoft.AspNetCore.Hosting.Diagnostics[1]

      Request starting HTTP/1.1 GET http://cmyodcsomedomain.net:10999/main.21408868.js

info: Microsoft.AspNetCore.StaticFiles.StaticFileMiddleware[6]

      The file /main.21408868.js was not modified

info: Microsoft.AspNetCore.Hosting.Diagnostics[2]

      Request finished in 0.2273ms 304 application/javascript

info: Microsoft.AspNetCore.Hosting.Diagnostics[1]

      Request starting HTTP/1.1 GET http://cmyodcsomedomain.net:10999/api/password

info: Microsoft.AspNetCore.Routing.EndpointMiddleware[0]

      Executing endpoint 'Unosquare.PassCore.Web.Controllers.PasswordController.Get (Unosquare.PassCore.Web)'

info: Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker[3]

      Route matched with {action = "Get", controller = "Password"}. Executing controller action with signature Microsoft.AspNetCore.Mvc.IActionResult Get() on controller Unosquare.PassCore.Web.Controllers.PasswordController (Unosquare.PassCore.Web).

info: Microsoft.AspNetCore.Mvc.Infrastructure.SystemTextJsonResultExecutor[1]

      Executing JsonResult, writing value of type 'Unosquare.PassCore.Web.Models.ClientSettings'.

info: Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker[2]

      Executed action Unosquare.PassCore.Web.Controllers.PasswordController.Get (Unosquare.PassCore.Web) in 28.5594ms

info: Microsoft.AspNetCore.Routing.EndpointMiddleware[1]

      Executed endpoint 'Unosquare.PassCore.Web.Controllers.PasswordController.Get (Unosquare.PassCore.Web)'

info: Microsoft.AspNetCore.Hosting.Diagnostics[2]

      Request finished in 86.9844ms 200 application/json; charset=utf-8

info: Microsoft.AspNetCore.Hosting.Diagnostics[1]

      Request starting HTTP/1.1 GET http://cmyodcsomedomain.net:10999/passcore-logo.265a699e.png

info: Microsoft.AspNetCore.StaticFiles.StaticFileMiddleware[6]

      The file /passcore-logo.265a699e.png was not modified

info: Microsoft.AspNetCore.Hosting.Diagnostics[2]

      Request finished in 1.1963ms 304 image/png

info: Microsoft.AspNetCore.Hosting.Diagnostics[1]

      Request starting HTTP/1.1 GET http://cmyodcsomedomain.net:10999/osi.38a8cb73.png

info: Microsoft.AspNetCore.StaticFiles.StaticFileMiddleware[6]

      The file /osi.38a8cb73.png was not modified

info: Microsoft.AspNetCore.Hosting.Diagnostics[2]

      Request finished in 0.2502ms 304 image/png

info: Microsoft.AspNetCore.Hosting.Diagnostics[1]

      Request starting HTTP/1.1 GET http://cmyodcsomedomain.net:10999/License_icon-mit.svg.fd4b276c.png

info: Microsoft.AspNetCore.StaticFiles.StaticFileMiddleware[6]

      The file /License_icon-mit.svg.fd4b276c.png was not modified

info: Microsoft.AspNetCore.Hosting.Diagnostics[2]

      Request finished in 0.1626ms 304 image/png

info: Microsoft.AspNetCore.Hosting.Diagnostics[1]

      Request starting HTTP/1.1 GET http://cmyodcsomedomain.net:10999/logo.c481326b.png

info: Microsoft.AspNetCore.StaticFiles.StaticFileMiddleware[6]

      The file /logo.c481326b.png was not modified

info: Microsoft.AspNetCore.Hosting.Diagnostics[2]

      Request finished in 0.3112ms 304 image/png

info: Microsoft.AspNetCore.Hosting.Diagnostics[1]

      Request starting HTTP/1.1 POST http://cmyodcsomedomain.net:10999/api/password application/json 601

info: Microsoft.AspNetCore.Routing.EndpointMiddleware[0]

      Executing endpoint 'Unosquare.PassCore.Web.Controllers.PasswordController.Post (Unosquare.PassCore.Web)'

info: Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker[3]

      Route matched with {action = "Post", controller = "Password"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] Post(Unosquare.PassCore.Web.Models.ChangePasswordModel) on controller Unosquare.PassCore.Web.Controllers.PasswordController (Unosquare.PassCore.Web).

info: Microsoft.AspNetCore.Hosting.Diagnostics[1]

      Request starting HTTP/1.1 POST http://cmyodcsomedomain.net:10999/api/password application/json 601

info: Microsoft.AspNetCore.Routing.EndpointMiddleware[0]

      Executing endpoint 'Unosquare.PassCore.Web.Controllers.PasswordController.Post (Unosquare.PassCore.Web)'

info: Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker[3]

      Route matched with {action = "Post", controller = "Password"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] Post(Unosquare.PassCore.Web.Models.ChangePasswordModel) on controller Unosquare.PassCore.Web.Controllers.PasswordController (Unosquare.PassCore.Web).

info: Microsoft.AspNetCore.Hosting.Diagnostics[1]

      Request starting HTTP/1.1 POST http://cmyodcsomedomain.net:10999/api/password application/json 601

info: Microsoft.AspNetCore.Routing.EndpointMiddleware[0]

      Executing endpoint 'Unosquare.PassCore.Web.Controllers.PasswordController.Post (Unosquare.PassCore.Web)'

info: Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker[3]

      Route matched with {action = "Post", controller = "Password"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] Post(Unosquare.PassCore.Web.Models.ChangePasswordModel) on controller Unosquare.PassCore.Web.Controllers.PasswordController (Unosquare.PassCore.Web).

info: Microsoft.AspNetCore.Hosting.Diagnostics[1]

      Request starting HTTP/1.1 POST http://cmyodcsomedomain.net:10999/api/password application/json 601

info: Microsoft.AspNetCore.Routing.EndpointMiddleware[0]

      Executing endpoint 'Unosquare.PassCore.Web.Controllers.PasswordController.Post (Unosquare.PassCore.Web)'

info: Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker[3]

      Route matched with {action = "Post", controller = "Password"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] Post(Unosquare.PassCore.Web.Models.ChangePasswordModel) on controller Unosquare.PassCore.Web.Controllers.PasswordController (Unosquare.PassCore.Web).

info: Microsoft.AspNetCore.Hosting.Diagnostics[1]

      Request starting HTTP/1.1 POST http://cmyodcsomedomain.net:10999/api/password application/json 601

info: Microsoft.AspNetCore.Routing.EndpointMiddleware[0]

      Executing endpoint 'Unosquare.PassCore.Web.Controllers.PasswordController.Post (Unosquare.PassCore.Web)'

info: Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker[3]

      Route matched with {action = "Post", controller = "Password"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] Post(Unosquare.PassCore.Web.Models.ChangePasswordModel) on controller Unosquare.PassCore.Web.Controllers.PasswordController (Unosquare.PassCore.Web).

info: Microsoft.AspNetCore.Hosting.Diagnostics[1]

      Request starting HTTP/1.1 POST http://cmyodcsomedomain.net:10999/api/password application/json 601

info: Microsoft.AspNetCore.Routing.EndpointMiddleware[0]

      Executing endpoint 'Unosquare.PassCore.Web.Controllers.PasswordController.Post (Unosquare.PassCore.Web)'

info: Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker[3]

      Route matched with {action = "Post", controller = "Password"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] Post(Unosquare.PassCore.Web.Models.ChangePasswordModel) on controller Unosquare.PassCore.Web.Controllers.PasswordController (Unosquare.PassCore.Web).

info: Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor[1]

      Executing ObjectResult, writing value of type 'Unosquare.PassCore.Web.Models.ApiResult'.

info: Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker[2]

      Executed action Unosquare.PassCore.Web.Controllers.PasswordController.Post (Unosquare.PassCore.Web) in 318.4308ms

info: Microsoft.AspNetCore.Routing.EndpointMiddleware[1]

      Executed endpoint 'Unosquare.PassCore.Web.Controllers.PasswordController.Post (Unosquare.PassCore.Web)'

info: Microsoft.AspNetCore.Hosting.Diagnostics[2]

      Request finished in 339.9147ms 400 application/json; charset=utf-8

warn: Unosquare.PassCore.Web.Controllers.PasswordController[0]

      Invalid Recaptcha

System.InvalidOperationException: Invalid Recaptcha response

   at Unosquare.PassCore.Web.Controllers.PasswordController.Post(ChangePasswordModel model) in C:\Unosquare\passcore\src\Unosquare.PassCore.Web\Controllers\PasswordController.cs:line 95

info: Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor[1]

      Executing ObjectResult, writing value of type 'Unosquare.PassCore.Web.Models.ApiResult'.

info: Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker[2]

      Executed action Unosquare.PassCore.Web.Controllers.PasswordController.Post (Unosquare.PassCore.Web) in 242.9162ms

info: Microsoft.AspNetCore.Routing.EndpointMiddleware[1]

      Executed endpoint 'Unosquare.PassCore.Web.Controllers.PasswordController.Post (Unosquare.PassCore.Web)'

info: Microsoft.AspNetCore.Hosting.Diagnostics[2]

      Request finished in 243.1657ms 400 application/json; charset=utf-8

warn: Unosquare.PassCore.Web.Controllers.PasswordController[0]

      Invalid Recaptcha

System.InvalidOperationException: Invalid Recaptcha response

   at Unosquare.PassCore.Web.Controllers.PasswordController.Post(ChangePasswordModel model) in C:\Unosquare\passcore\src\Unosquare.PassCore.Web\Controllers\PasswordController.cs:line 95

info: Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor[1]

      Executing ObjectResult, writing value of type 'Unosquare.PassCore.Web.Models.ApiResult'.

info: Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker[2]

      Executed action Unosquare.PassCore.Web.Controllers.PasswordController.Post (Unosquare.PassCore.Web) in 203.754ms

info: Microsoft.AspNetCore.Routing.EndpointMiddleware[1]

      Executed endpoint 'Unosquare.PassCore.Web.Controllers.PasswordController.Post (Unosquare.PassCore.Web)'

info: Microsoft.AspNetCore.Hosting.Diagnostics[2]

      Request finished in 203.9627ms 400 application/json; charset=utf-8

warn: Unosquare.PassCore.Web.Controllers.PasswordController[0]

      Invalid Recaptcha

System.InvalidOperationException: Invalid Recaptcha response

   at Unosquare.PassCore.Web.Controllers.PasswordController.Post(ChangePasswordModel model) in C:\Unosquare\passcore\src\Unosquare.PassCore.Web\Controllers\PasswordController.cs:line 95

info: Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor[1]

      Executing ObjectResult, writing value of type 'Unosquare.PassCore.Web.Models.ApiResult'.

info: Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker[2]

      Executed action Unosquare.PassCore.Web.Controllers.PasswordController.Post (Unosquare.PassCore.Web) in 199.3886ms

info: Microsoft.AspNetCore.Routing.EndpointMiddleware[1]

      Executed endpoint 'Unosquare.PassCore.Web.Controllers.PasswordController.Post (Unosquare.PassCore.Web)'

info: Microsoft.AspNetCore.Hosting.Diagnostics[2]

      Request finished in 199.7045ms 400 application/json; charset=utf-8

warn: Unosquare.PassCore.Web.Controllers.PasswordController[0]

      Invalid Recaptcha

System.InvalidOperationException: Invalid Recaptcha response

   at Unosquare.PassCore.Web.Controllers.PasswordController.Post(ChangePasswordModel model) in C:\Unosquare\passcore\src\Unosquare.PassCore.Web\Controllers\PasswordController.cs:line 95

info: Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor[1]

      Executing ObjectResult, writing value of type 'Unosquare.PassCore.Web.Models.ApiResult'.

info: Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker[2]

      Executed action Unosquare.PassCore.Web.Controllers.PasswordController.Post (Unosquare.PassCore.Web) in 318.501ms

info: Microsoft.AspNetCore.Routing.EndpointMiddleware[1]

      Executed endpoint 'Unosquare.PassCore.Web.Controllers.PasswordController.Post (Unosquare.PassCore.Web)'

info: Microsoft.AspNetCore.Hosting.Diagnostics[2]

      Request finished in 318.8679ms 400 application/json; charset=utf-8

warn: Unosquare.PassCore.Web.Controllers.PasswordController[0]

      Invalid Recaptcha

System.InvalidOperationException: Invalid Recaptcha response

   at Unosquare.PassCore.Web.Controllers.PasswordController.Post(ChangePasswordModel model) in C:\Unosquare\passcore\src\Unosquare.PassCore.Web\Controllers\PasswordController.cs:line 95

info: Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor[1]

      Executing ObjectResult, writing value of type 'Unosquare.PassCore.Web.Models.ApiResult'.

info: Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker[2]

      Executed action Unosquare.PassCore.Web.Controllers.PasswordController.Post (Unosquare.PassCore.Web) in 164.9447ms

info: Microsoft.AspNetCore.Routing.EndpointMiddleware[1]

      Executed endpoint 'Unosquare.PassCore.Web.Controllers.PasswordController.Post (Unosquare.PassCore.Web)'

info: Microsoft.AspNetCore.Hosting.Diagnostics[2]

      Request finished in 165.1151ms 400 application/json; charset=utf-8

info: Microsoft.AspNetCore.Hosting.Diagnostics[1]

      Request starting HTTP/1.1 POST http://cmyodcsomedomain.net:10999/api/password application/json 601

info: Microsoft.AspNetCore.Routing.EndpointMiddleware[0]

      Executing endpoint 'Unosquare.PassCore.Web.Controllers.PasswordController.Post (Unosquare.PassCore.Web)'

info: Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker[3]

      Route matched with {action = "Post", controller = "Password"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] Post(Unosquare.PassCore.Web.Models.ChangePasswordModel) on controller Unosquare.PassCore.Web.Controllers.PasswordController (Unosquare.PassCore.Web).

info: Microsoft.AspNetCore.Hosting.Diagnostics[1]

      Request starting HTTP/1.1 POST http://cmyodcsomedomain.net:10999/api/password application/json 601

info: Microsoft.AspNetCore.Routing.EndpointMiddleware[0]

      Executing endpoint 'Unosquare.PassCore.Web.Controllers.PasswordController.Post (Unosquare.PassCore.Web)'

info: Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker[3]

      Route matched with {action = "Post", controller = "Password"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] Post(Unosquare.PassCore.Web.Models.ChangePasswordModel) on controller Unosquare.PassCore.Web.Controllers.PasswordController (Unosquare.PassCore.Web).

info: Microsoft.AspNetCore.Hosting.Diagnostics[1]

      Request starting HTTP/1.1 POST http://cmyodcsomedomain.net:10999/api/password application/json 601

info: Microsoft.AspNetCore.Routing.EndpointMiddleware[0]

      Executing endpoint 'Unosquare.PassCore.Web.Controllers.PasswordController.Post (Unosquare.PassCore.Web)'

info: Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker[3]

      Route matched with {action = "Post", controller = "Password"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] Post(Unosquare.PassCore.Web.Models.ChangePasswordModel) on controller Unosquare.PassCore.Web.Controllers.PasswordController (Unosquare.PassCore.Web).

info: Microsoft.AspNetCore.Hosting.Diagnostics[1]

      Request starting HTTP/1.1 POST http://cmyodcsomedomain.net:10999/api/password application/json 601

info: Microsoft.AspNetCore.Routing.EndpointMiddleware[0]

      Executing endpoint 'Unosquare.PassCore.Web.Controllers.PasswordController.Post (Unosquare.PassCore.Web)'

info: Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker[3]

      Route matched with {action = "Post", controller = "Password"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] Post(Unosquare.PassCore.Web.Models.ChangePasswordModel) on controller Unosquare.PassCore.Web.Controllers.PasswordController (Unosquare.PassCore.Web).

info: Microsoft.AspNetCore.Hosting.Diagnostics[1]

      Request starting HTTP/1.1 POST http://cmyodcsomedomain.net:10999/api/password application/json 601

info: Microsoft.AspNetCore.Routing.EndpointMiddleware[0]

      Executing endpoint 'Unosquare.PassCore.Web.Controllers.PasswordController.Post (Unosquare.PassCore.Web)'

info: Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker[3]

      Route matched with {action = "Post", controller = "Password"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] Post(Unosquare.PassCore.Web.Models.ChangePasswordModel) on controller Unosquare.PassCore.Web.Controllers.PasswordController (Unosquare.PassCore.Web).

info: Microsoft.AspNetCore.Hosting.Diagnostics[1]

      Request starting HTTP/1.1 POST http://cmyodcsomedomain.net:10999/api/password application/json 601

info: Microsoft.AspNetCore.Routing.EndpointMiddleware[0]

      Executing endpoint 'Unosquare.PassCore.Web.Controllers.PasswordController.Post (Unosquare.PassCore.Web)'

info: Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker[3]

      Route matched with {action = "Post", controller = "Password"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] Post(Unosquare.PassCore.Web.Models.ChangePasswordModel) on controller Unosquare.PassCore.Web.Controllers.PasswordController (Unosquare.PassCore.Web).

warn: Unosquare.PassCore.Web.Controllers.PasswordController[0]

      Invalid Recaptcha

System.InvalidOperationException: Invalid Recaptcha response

   at Unosquare.PassCore.Web.Controllers.PasswordController.Post(ChangePasswordModel model) in C:\Unosquare\passcore\src\Unosquare.PassCore.Web\Controllers\PasswordController.cs:line 95

info: Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor[1]

      Executing ObjectResult, writing value of type 'Unosquare.PassCore.Web.Models.ApiResult'.

info: Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker[2]

      Executed action Unosquare.PassCore.Web.Controllers.PasswordController.Post (Unosquare.PassCore.Web) in 18.3648ms

info: Microsoft.AspNetCore.Routing.EndpointMiddleware[1]

      Executed endpoint 'Unosquare.PassCore.Web.Controllers.PasswordController.Post (Unosquare.PassCore.Web)'

info: Microsoft.AspNetCore.Hosting.Diagnostics[2]

      Request finished in 18.507ms 400 application/json; charset=utf-8

warn: Unosquare.PassCore.Web.Controllers.PasswordController[0]

      Invalid Recaptcha

System.InvalidOperationException: Invalid Recaptcha response

   at Unosquare.PassCore.Web.Controllers.PasswordController.Post(ChangePasswordModel model) in C:\Unosquare\passcore\src\Unosquare.PassCore.Web\Controllers\PasswordController.cs:line 95

info: Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor[1]

      Executing ObjectResult, writing value of type 'Unosquare.PassCore.Web.Models.ApiResult'.

info: Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker[2]

      Executed action Unosquare.PassCore.Web.Controllers.PasswordController.Post (Unosquare.PassCore.Web) in 12.2593ms

info: Microsoft.AspNetCore.Routing.EndpointMiddleware[1]

      Executed endpoint 'Unosquare.PassCore.Web.Controllers.PasswordController.Post (Unosquare.PassCore.Web)'

info: Microsoft.AspNetCore.Hosting.Diagnostics[2]

      Request finished in 12.3428ms 400 application/json; charset=utf-8

info: Microsoft.AspNetCore.Hosting.Diagnostics[1]

      Request starting HTTP/1.1 POST http://cmyodcsomedomain.net:10999/api/password application/json 601

info: Microsoft.AspNetCore.Routing.EndpointMiddleware[0]

      Executing endpoint 'Unosquare.PassCore.Web.Controllers.PasswordController.Post (Unosquare.PassCore.Web)'

info: Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker[3]

      Route matched with {action = "Post", controller = "Password"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] Post(Unosquare.PassCore.Web.Models.ChangePasswordModel) on controller Unosquare.PassCore.Web.Controllers.PasswordController (Unosquare.PassCore.Web).

warn: Unosquare.PassCore.Web.Controllers.PasswordController[0]

      Invalid Recaptcha

System.InvalidOperationException: Invalid Recaptcha response

   at Unosquare.PassCore.Web.Controllers.PasswordController.Post(ChangePasswordModel model) in C:\Unosquare\passcore\src\Unosquare.PassCore.Web\Controllers\PasswordController.cs:line 95

info: Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor[1]

      Executing ObjectResult, writing value of type 'Unosquare.PassCore.Web.Models.ApiResult'.

info: Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker[2]

      Executed action Unosquare.PassCore.Web.Controllers.PasswordController.Post (Unosquare.PassCore.Web) in 17.5956ms

info: Microsoft.AspNetCore.Routing.EndpointMiddleware[1]

      Executed endpoint 'Unosquare.PassCore.Web.Controllers.PasswordController.Post (Unosquare.PassCore.Web)'

info: Microsoft.AspNetCore.Hosting.Diagnostics[2]

      Request finished in 17.7678ms 400 application/json; charset=utf-8

warn: Unosquare.PassCore.Web.Controllers.PasswordController[0]

      Invalid Recaptcha

System.InvalidOperationException: Invalid Recaptcha response

   at Unosquare.PassCore.Web.Controllers.PasswordController.Post(ChangePasswordModel model) in C:\Unosquare\passcore\src\Unosquare.PassCore.Web\Controllers\PasswordController.cs:line 95

info: Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor[1]

      Executing ObjectResult, writing value of type 'Unosquare.PassCore.Web.Models.ApiResult'.

info: Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker[2]

      Executed action Unosquare.PassCore.Web.Controllers.PasswordController.Post (Unosquare.PassCore.Web) in 17.1243ms

info: Microsoft.AspNetCore.Routing.EndpointMiddleware[1]

      Executed endpoint 'Unosquare.PassCore.Web.Controllers.PasswordController.Post (Unosquare.PassCore.Web)'

info: Microsoft.AspNetCore.Hosting.Diagnostics[2]

      Request finished in 17.2203ms 400 application/json; charset=utf-8

warn: Unosquare.PassCore.Web.Controllers.PasswordController[0]

      Invalid Recaptcha

System.InvalidOperationException: Invalid Recaptcha response

   at Unosquare.PassCore.Web.Controllers.PasswordController.Post(ChangePasswordModel model) in C:\Unosquare\passcore\src\Unosquare.PassCore.Web\Controllers\PasswordController.cs:line 95

info: Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor[1]

      Executing ObjectResult, writing value of type 'Unosquare.PassCore.Web.Models.ApiResult'.

info: Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker[2]

      Executed action Unosquare.PassCore.Web.Controllers.PasswordController.Post (Unosquare.PassCore.Web) in 21.2367ms

info: Microsoft.AspNetCore.Routing.EndpointMiddleware[1]

      Executed endpoint 'Unosquare.PassCore.Web.Controllers.PasswordController.Post (Unosquare.PassCore.Web)'

info: Microsoft.AspNetCore.Hosting.Diagnostics[2]

      Request finished in 21.3294ms 400 application/json; charset=utf-8

warn: Unosquare.PassCore.Web.Controllers.PasswordController[0]

      Invalid Recaptcha

System.InvalidOperationException: Invalid Recaptcha response

   at Unosquare.PassCore.Web.Controllers.PasswordController.Post(ChangePasswordModel model) in C:\Unosquare\passcore\src\Unosquare.PassCore.Web\Controllers\PasswordController.cs:line 95

info: Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor[1]

      Executing ObjectResult, writing value of type 'Unosquare.PassCore.Web.Models.ApiResult'.

info: Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker[2]

      Executed action Unosquare.PassCore.Web.Controllers.PasswordController.Post (Unosquare.PassCore.Web) in 21.9374ms

info: Microsoft.AspNetCore.Routing.EndpointMiddleware[1]

      Executed endpoint 'Unosquare.PassCore.Web.Controllers.PasswordController.Post (Unosquare.PassCore.Web)'

info: Microsoft.AspNetCore.Hosting.Diagnostics[2]

      Request finished in 22.024ms 400 application/json; charset=utf-8

info: Microsoft.AspNetCore.Hosting.Diagnostics[1]

      Request starting HTTP/1.1 POST http://cmyodcsomedomain.net:10999/api/password application/json 601

info: Microsoft.AspNetCore.Routing.EndpointMiddleware[0]

      Executing endpoint 'Unosquare.PassCore.Web.Controllers.PasswordController.Post (Unosquare.PassCore.Web)'

info: Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker[3]

      Route matched with {action = "Post", controller = "Password"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] Post(Unosquare.PassCore.Web.Models.ChangePasswordModel) on controller Unosquare.PassCore.Web.Controllers.PasswordController (Unosquare.PassCore.Web).

info: Microsoft.AspNetCore.Hosting.Diagnostics[1]

      Request starting HTTP/1.1 POST http://cmyodcsomedomain.net:10999/api/password application/json 601

info: Microsoft.AspNetCore.Routing.EndpointMiddleware[0]

      Executing endpoint 'Unosquare.PassCore.Web.Controllers.PasswordController.Post (Unosquare.PassCore.Web)'

info: Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker[3]

      Route matched with {action = "Post", controller = "Password"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] Post(Unosquare.PassCore.Web.Models.ChangePasswordModel) on controller Unosquare.PassCore.Web.Controllers.PasswordController (Unosquare.PassCore.Web).

warn: Unosquare.PassCore.Web.Controllers.PasswordController[0]

      Invalid Recaptcha

System.InvalidOperationException: Invalid Recaptcha response

   at Unosquare.PassCore.Web.Controllers.PasswordController.Post(ChangePasswordModel model) in C:\Unosquare\passcore\src\Unosquare.PassCore.Web\Controllers\PasswordController.cs:line 95

info: Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor[1]

      Executing ObjectResult, writing value of type 'Unosquare.PassCore.Web.Models.ApiResult'.

info: Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker[2]

      Executed action Unosquare.PassCore.Web.Controllers.PasswordController.Post (Unosquare.PassCore.Web) in 20.9364ms

info: Microsoft.AspNetCore.Routing.EndpointMiddleware[1]

      Executed endpoint 'Unosquare.PassCore.Web.Controllers.PasswordController.Post (Unosquare.PassCore.Web)'

info: Microsoft.AspNetCore.Hosting.Diagnostics[2]

      Request finished in 21.0423ms 400 application/json; charset=utf-8

info: Microsoft.AspNetCore.Hosting.Diagnostics[1]

      Request starting HTTP/1.1 POST http://cmyodcsomedomain.net:10999/api/password application/json 601

info: Microsoft.AspNetCore.Routing.EndpointMiddleware[0]

      Executing endpoint 'Unosquare.PassCore.Web.Controllers.PasswordController.Post (Unosquare.PassCore.Web)'

info: Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker[3]

      Route matched with {action = "Post", controller = "Password"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] Post(Unosquare.PassCore.Web.Models.ChangePasswordModel) on controller Unosquare.PassCore.Web.Controllers.PasswordController (Unosquare.PassCore.Web).

warn: Unosquare.PassCore.Web.Controllers.PasswordController[0]

      Invalid Recaptcha

System.InvalidOperationException: Invalid Recaptcha response

   at Unosquare.PassCore.Web.Controllers.PasswordController.Post(ChangePasswordModel model) in C:\Unosquare\passcore\src\Unosquare.PassCore.Web\Controllers\PasswordController.cs:line 95

info: Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor[1]

      Executing ObjectResult, writing value of type 'Unosquare.PassCore.Web.Models.ApiResult'.

info: Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker[2]

      Executed action Unosquare.PassCore.Web.Controllers.PasswordController.Post (Unosquare.PassCore.Web) in 15.2174ms

info: Microsoft.AspNetCore.Routing.EndpointMiddleware[1]

      Executed endpoint 'Unosquare.PassCore.Web.Controllers.PasswordController.Post (Unosquare.PassCore.Web)'

info: Microsoft.AspNetCore.Hosting.Diagnostics[2]

      Request finished in 15.3081ms 400 application/json; charset=utf-8

warn: Unosquare.PassCore.Web.Controllers.PasswordController[0]

      Invalid Recaptcha

System.InvalidOperationException: Invalid Recaptcha response

   at Unosquare.PassCore.Web.Controllers.PasswordController.Post(ChangePasswordModel model) in C:\Unosquare\passcore\src\Unosquare.PassCore.Web\Controllers\PasswordController.cs:line 95

info: Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor[1]

      Executing ObjectResult, writing value of type 'Unosquare.PassCore.Web.Models.ApiResult'.

info: Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker[2]

      Executed action Unosquare.PassCore.Web.Controllers.PasswordController.Post (Unosquare.PassCore.Web) in 17.3158ms

info: Microsoft.AspNetCore.Routing.EndpointMiddleware[1]

      Executed endpoint 'Unosquare.PassCore.Web.Controllers.PasswordController.Post (Unosquare.PassCore.Web)'

info: Microsoft.AspNetCore.Hosting.Diagnostics[2]

      Request finished in 17.4401ms 400 application/json; charset=utf-8

warn: Unosquare.PassCore.Web.Controllers.PasswordController[0]

      Invalid Recaptcha

System.InvalidOperationException: Invalid Recaptcha response

   at Unosquare.PassCore.Web.Controllers.PasswordController.Post(ChangePasswordModel model) in C:\Unosquare\passcore\src\Unosquare.PassCore.Web\Controllers\PasswordController.cs:line 95

info: Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor[1]

      Executing ObjectResult, writing value of type 'Unosquare.PassCore.Web.Models.ApiResult'.

info: Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker[2]

      Executed action Unosquare.PassCore.Web.Controllers.PasswordController.Post (Unosquare.PassCore.Web) in 15.4547ms

info: Microsoft.AspNetCore.Routing.EndpointMiddleware[1]

      Executed endpoint 'Unosquare.PassCore.Web.Controllers.PasswordController.Post (Unosquare.PassCore.Web)'

info: Microsoft.AspNetCore.Hosting.Diagnostics[2]

      Request finished in 15.5745ms 400 application/json; charset=utf-8

info: Microsoft.AspNetCore.Hosting.Diagnostics[1]

      Request starting HTTP/1.1 POST http://cmyodcsomedomain.net:10999/api/password application/json 601

info: Microsoft.AspNetCore.Routing.EndpointMiddleware[0]

      Executing endpoint 'Unosquare.PassCore.Web.Controllers.PasswordController.Post (Unosquare.PassCore.Web)'

info: Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker[3]

      Route matched with {action = "Post", controller = "Password"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] Post(Unosquare.PassCore.Web.Models.ChangePasswordModel) on controller Unosquare.PassCore.Web.Controllers.PasswordController (Unosquare.PassCore.Web).

warn: Unosquare.PassCore.Web.Controllers.PasswordController[0]

      Invalid Recaptcha

System.InvalidOperationException: Invalid Recaptcha response

   at Unosquare.PassCore.Web.Controllers.PasswordController.Post(ChangePasswordModel model) in C:\Unosquare\passcore\src\Unosquare.PassCore.Web\Controllers\PasswordController.cs:line 95

info: Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor[1]

      Executing ObjectResult, writing value of type 'Unosquare.PassCore.Web.Models.ApiResult'.

info: Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker[2]

      Executed action Unosquare.PassCore.Web.Controllers.PasswordController.Post (Unosquare.PassCore.Web) in 18.1767ms

info: Microsoft.AspNetCore.Routing.EndpointMiddleware[1]

      Executed endpoint 'Unosquare.PassCore.Web.Controllers.PasswordController.Post (Unosquare.PassCore.Web)'

info: Microsoft.AspNetCore.Hosting.Diagnostics[2]

      Request finished in 18.3111ms 400 application/json; charset=utf-8

info: Microsoft.AspNetCore.Hosting.Diagnostics[1]

      Request starting HTTP/1.1 POST http://cmyodcsomedomain.net:10999/api/password application/json 601

info: Microsoft.AspNetCore.Routing.EndpointMiddleware[0]

      Executing endpoint 'Unosquare.PassCore.Web.Controllers.PasswordController.Post (Unosquare.PassCore.Web)'

info: Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker[3]

      Route matched with {action = "Post", controller = "Password"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] Post(Unosquare.PassCore.Web.Models.ChangePasswordModel) on controller Unosquare.PassCore.Web.Controllers.PasswordController (Unosquare.PassCore.Web).

info: Microsoft.AspNetCore.Hosting.Diagnostics[1]

      Request starting HTTP/1.1 POST http://cmyodcsomedomain.net:10999/api/password application/json 601

info: Microsoft.AspNetCore.Routing.EndpointMiddleware[0]

      Executing endpoint 'Unosquare.PassCore.Web.Controllers.PasswordController.Post (Unosquare.PassCore.Web)'

info: Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker[3]

      Route matched with {action = "Post", controller = "Password"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] Post(Unosquare.PassCore.Web.Models.ChangePasswordModel) on controller Unosquare.PassCore.Web.Controllers.PasswordController (Unosquare.PassCore.Web).

info: Microsoft.AspNetCore.Hosting.Diagnostics[1]

      Request starting HTTP/1.1 POST http://cmyodcsomedomain.net:10999/api/password application/json 601

info: Microsoft.AspNetCore.Routing.EndpointMiddleware[0]

      Executing endpoint 'Unosquare.PassCore.Web.Controllers.PasswordController.Post (Unosquare.PassCore.Web)'

info: Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker[3]

      Route matched with {action = "Post", controller = "Password"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] Post(Unosquare.PassCore.Web.Models.ChangePasswordModel) on controller Unosquare.PassCore.Web.Controllers.PasswordController (Unosquare.PassCore.Web).

warn: Unosquare.PassCore.Web.Controllers.PasswordController[0]

      Invalid Recaptcha

System.InvalidOperationException: Invalid Recaptcha response

   at Unosquare.PassCore.Web.Controllers.PasswordController.Post(ChangePasswordModel model) in C:\Unosquare\passcore\src\Unosquare.PassCore.Web\Controllers\PasswordController.cs:line 95

info: Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor[1]

      Executing ObjectResult, writing value of type 'Unosquare.PassCore.Web.Models.ApiResult'.

info: Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker[2]

      Executed action Unosquare.PassCore.Web.Controllers.PasswordController.Post (Unosquare.PassCore.Web) in 12.2772ms

Describe the bug
Hi! I have an issue with passcore and recaptcha. After I fill all fields and approve captcha (have a checkbox on captcha field) when I press "change password" I see the error "Could not verify you are not a robot". As I know same issue was fixed in 4.2.3, but seems it appeared again in 4.2.4.

My issue is the same as https://github.com/unosquare/passcore/issues/601, but I can't downgrade to 4.2.3, because in 4.2.3 I have an error "Null" when I use zxcvbn library (use MinimumScore > 0).

I am also having this issue.  4.2.3 works fine, but 4.24 gives the same "Could not verify you are not a robot" error.  I get this over and over in the logs:
info: Unosquare.PassCore.PasswordProvider.PasswordChangeProvider[0]       PerformPasswordChange for user<EMAIL_ADDRESS>warn: Unosquare.PassCore.Web.Controllers.PasswordController[0]       Invalid Recaptcha System.InvalidOperationException: Invalid Recaptcha response    at Unosquare.PassCore.Web.Controllers.PasswordController.Post(ChangePasswordModel model) in C:\Unosquare\passcore\src\Unosquare.PassCore.Web\Controllers\PasswordController.cs:line 95

I am also having this issue.  4.2.3 works fine, but 4.24 gives the same "Could not verify you are not a robot" error.  I get this over and over in the logs:
info: Unosquare.PassCore.PasswordProvider.PasswordChangeProvider[0]       PerformPasswordChange for user<EMAIL_ADDRESS>warn: Unosquare.PassCore.Web.Controllers.PasswordController[0]       Invalid Recaptcha System.InvalidOperationException: Invalid Recaptcha response    at Unosquare.PassCore.Web.Controllers.PasswordController.Post(ChangePasswordModel model) in C:\Unosquare\passcore\src\Unosquare.PassCore.Web\Controllers\PasswordController.cs:line 95

Having the same issue, but I'm running 4.2.3. Passwords are successfully updated, but reCAPTCHA says "Could not verify you are not a robot."
`warn: Unosquare.PassCore.Web.Controllers.PasswordController[0]
  Invalid Recaptcha

System.InvalidOperationException: Invalid Recaptcha response
at Unosquare.PassCore.Web.Controllers.PasswordController.Post(ChangePasswordModel model) in C:\Unosquare\passcore\src\Unosquare.PassCore.Web\Controllers\PasswordController.cs:line 95
`

Looks like an error in PasswordController.cs (145):
else if ((_options.Recaptcha != null) && (string.IsNullOrEmpty(recaptchaResponse) != false))
should be:
else if ((_options.Recaptcha != null) && (string.IsNullOrEmpty(recaptchaResponse) != true))

Seems changing to
else if ((_options.Recaptcha != null) && (string.IsNullOrEmpty(recaptchaResponse) != true))
worked. Thanks!

Stale: I guess the commit still nedds to be pulled....

Keepalive


Solver annotations

What this PR does / why we need it:
Which issue this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close that issue when PR gets merged): fixes #
Special notes for your reviewer:
Release note:

Hi!
Welcome onboard, @primael! I'll be here to help you until your PR gets merged.
As a first step, could you add a couple of lines to your PR's description that would help reviewers understand why this PR came to be and why we should be accepting it.
Regarding the DCO, you might want to use git commit --signoff. This will add the DCO line to your commits. If you want to rebase all your commits to add the DCOs, you can do:
git rebase --exec "git commit --amend --signoff --reset-author" origin/master

/priority awaiting-more-evidence
/area acme/http01
/kind feature

/assign @primael

Hi,
Let me know when you feel ready to get your PR reviewed.
/uncc
/unassign

After a bit of thinking, I think it makes more sense to add this setting to the Issuer/ClusterIssuer API instead of a flag. For example:
apiVersion: cert-manager.io/v1
kind: Issuer
metadata:
  name: letsencrypt-staging
  namespace: default
spec:
  acme:
    solvers:
    - selector: {}
      http01:
        solverServiceAccount: custom-sa                # 🔥
        ingress:
          class: nginx

What do you think?

Another approch could be to use the existing podTemplate field:
apiVersion: cert-manager.io/v1
kind: Issuer
metadata:
  name: letsencrypt-staging
  namespace: default
spec:
  acme:
    solvers:
     - http01:
         ingress:
           class: nginx
           podTemplate:           # 🔥
             spec:
               serviceAccountName: custom-sa

But my understanding is that you would like to enforce the use of a specific service account across all issuers, am I correct?

Hi! I will close this PR for the time being since it has not been worked on since March 2021. Please feel free to either re-open this PR or recreate one.
/close


NSX-v 6.4 introduces a 202 return code

With NSX-v 6.4, a new return code was introduced that was not used before (202). Today this is not seen as a successful return code in nsxramclient.
The call affected by this is nsxControllers /2.0/vdn/controller.
As a workaround, today, one can use fail_mode='raise' and catch the error by using try/except.

fixed with commit 2ff892f9fb6c6bad411df2258e3a98475d0d5091


can't rename file

I've tried
Capybara::Screenshot.register_filename_prefix_formatter(:cucumber) do |scenario|
"screenshot_#{scenario.name.split(" ".join("_"))}"
end
in env.rb of cucumber spec but it won't work with screenshot_and_save_page
any tips?
tried to debug but it's like it does not get called at all

+1

I just added a test https://github.com/mattheworiordan/capybara-screenshot/commit/123b76ab568078f164964bbc0cf7240d6b18b289 and it works.
Very odd, can you put a debugger at https://github.com/mattheworiordan/capybara-screenshot/blob/master/lib/capybara-screenshot/cucumber.rb#L10 and see what's going on there?  It should be calling your block at that point? Perhaps also send me what is in Capybara::Screenshot.filename_prefix_formatters

I wanted to manually save a screen shot not after failure. Then it does not work.

You mean you are explicitly calling screenshot_and_save_page?  If so, when exactly?

I created simple step that has only that function call and called it in middle of scenario like save screenshot at this point in scenario and it does just it uses automatic naming

I have the same issue (ruby/cucumber):

changed default directory
autosave on fail = false
attempt to rename the screenshot in an after hook

@PizzaAanHuis can you provide a Gist?

Sorry -- very, very late to the party!
I'm also unable to rename files when manually calling screenshot_and_save_page.  I'm still relatively new to Ruby, but I think the issue comes from the Saver initialization ([1], [2]), which precludes passing html_save_ or filename_prefix...so the filename is always screenshot-.png`.
This is the simple config I'm using:
RSpec.configure do |config|
  config.before(:each, type: :system, js: true) do
    driven_by :selenium, using: :headless_chrome
  end
end
Capybara::Screenshot.register_filename_prefix_formatter(:system) do |example|
  "visdiff-#{example.metadata[:full_description].parameterize.underscore}"
end

Then I'm just calling Capybara::Screenshot.screenshot_and_save_page with no arguments.  Printing out Capybara::Screenshot.filename_prefix_formatters yields the following:
:default
#<Proc:0x00007fe5458c5f00@/.../.rbenv/versions/2.5.1/lib/ruby/gems/2.5.0/gems/capybara-screenshot-1.0.22/lib/capybara-screenshot.rb:204>
:system
#<Proc:0x00007fe54e6834f0@/.../spec/support/capybara.rb:5> <-- this is my config file

I've played around with different test types (:default versus :system), but nothing works.  Any guidance would be greatly appreciated!

Capybara::Screenshot.filename_prefix_formatters

Hey, did you manage to resolve this issue? This is exactly what i have right now and i can't find the issue.


Fixing styles for custom checkbox

The custom checkbox has the wrong styles.
Now there is an empty space in front of the custom checkbox:

Instead of full transparency, there is a visibility property. Then the element is on the page, but it is not visually visible.
Due to the height: 0 we remove the space that the element occupies.

@WebVPF the problem with height: 0 is that it prevents checkboxes from properly having browser validation messages display on them. If you have a form where you make a checkbox, checkboxlist, or radio element required, and then add data-browser-validate to the button that submits the form via AJAX, you'll see the difference with what happens to the browser's built in validation popup.
Do you have any ideas how we can resolve both issues at the same time?

@LukeTowers problem due to height: 0
or because of display: none ?
I watched this pull request https://github.com/octobercms/october/pull/5520

@WebVPF good point, I believe it was because of display: none. Should be able to merge this.


Cannot use documented interp() methods due to "vectorizeable_only" check and kwargs name clash

What happened?
I would like to use xarray.Dataset.interp() to interpolate data using the scipy "makima" interpolator, scipy.interpolate.Akima1DInterpolator(... method='makima'). It seems to me this is possible according to the documentation here:
https://docs.xarray.dev/en/latest/generated/xarray.Dataset.interp.html
https://docs.scipy.org/doc/scipy/reference/generated/scipy.interpolate.Akima1DInterpolator.html#scipy.interpolate.Akima1DInterpolator
However, I am not able to do this, I think due to two separate problems:

There is a check that only allows "vectorizeable interpolators" for one-dimensional interpolation, the motivation for which I do not understand. This makes 'akima', 'spline', and other documented interp methods unavailable.

The way kwargs are passed to the scipy interpolator results in multiple kwargs named "method", making specifically "makima" (modified akima) unavailable.

What did you expect to happen?
I expect interpolation to happen.
Minimal Complete Verifiable Example
## create a Dataset and new x array for interpolation
import numpy as np
import xarray as xr
x = np.arange(0, 5, 0.05)
x_dense = np.arange(0, 5, 0.01)
y = np.sin(x)
ds = xr.Dataset({'y': (('x'), y)}, coords={'x': x})

## do a cubic interpolation. this works as expected
ds_interp_cubic = ds.interp(x=x_dense, method='cubic')

## attempt akima interpolation. this fails.
ds_interp_akima = ds.interp(x=x_dense, method='akima')

## attempt makima interpolation. this also fails.
ds_interp_makima = ds.interp(x=x_dense, method='akima', kwargs={'method': 'makima'})

MVCE confirmation

[X] Minimal example — the example is as focused as reasonably possible to demonstrate the underlying issue in xarray.
[X] Complete example — the example is self-contained, including all data and the text of any traceback.
[X] Verifiable example — the example copy & pastes into an IPython prompt or Binder notebook, returning the result.
[X] New issue — a search of GitHub Issues suggests this is not a duplicate.
[X] Recent environment — the issue occurs with the latest version of xarray and its dependencies.

Relevant log output
## For the akima failure, this is the ipython traceback:

File /opt/homebrew/Caskroom/miniforge/base/envs/npaccel-larch/lib/python3.11/site-packages/xarray/core/dataset.py:4003, in Dataset.interp(self, coords, method, assume_sorted, kwargs, method_non_numeric, **coords_kwargs)
   4000 if dtype_kind in "uifc":
   4001     # For normal number types do the interpolation:
   4002     var_indexers = {k: v for k, v in use_indexers.items() if k in var.dims}
-> 4003     variables[name] = missing.interp(var, var_indexers, method, **kwargs)
   4004 elif dtype_kind in "ObU" and (use_indexers.keys() & var.dims):
   4005     # For types that we do not understand do stepwise
   4006     # interpolation to avoid modifying the elements.
   (...)
   4009     # this loop there might be some duplicate code that slows it
   4010     # down, therefore collect these signals and run it later:
   4011     reindex = True

File /opt/homebrew/Caskroom/miniforge/base/envs/npaccel-larch/lib/python3.11/site-packages/xarray/core/missing.py:632, in interp(var, indexes_coords, method, **kwargs)
    630 original_dims = broadcast_dims + dims
    631 new_dims = broadcast_dims + list(destination[0].dims)
--> 632 interped = interp_func(
    633     var.transpose(*original_dims).data, x, destination, method, kwargs
    634 )
    636 result = Variable(new_dims, interped, attrs=var.attrs, fastpath=True)
    638 # dimension of the output array

File /opt/homebrew/Caskroom/miniforge/base/envs/npaccel-larch/lib/python3.11/site-packages/xarray/core/missing.py:687, in interp_func(var, x, new_x, method, kwargs)
    684     return var.copy()
    686 if len(x) == 1:
--> 687     func, kwargs = _get_interpolator(method, vectorizeable_only=True, **kwargs)
    688 else:
    689     func, kwargs = _get_interpolator_nd(method, **kwargs)

File /opt/homebrew/Caskroom/miniforge/base/envs/npaccel-larch/lib/python3.11/site-packages/xarray/core/missing.py:494, in _get_interpolator(method, vectorizeable_only, **kwargs)
    492     interp_class = ScipyInterpolator
    493 elif vectorizeable_only:
--> 494     raise ValueError(
    495         f"{method} is not a vectorizeable interpolator. "
    496         f"Available methods are {interp1d_methods}"
    497     )
    498 elif method == "barycentric":
    499     interp_class = _import_interpolant("BarycentricInterpolator", method)

ValueError: akima is not a vectorizeable interpolator. Available methods are ('linear', 'nearest', 'zero', 'slinear', 'quadratic', 'cubic', 'polynomial')

## for the makima failure, this is the ipython traceback:

/opt/homebrew/Caskroom/miniforge/base/envs/npaccel-larch/lib/python3.11/site-packages/xarray/core/dataset.py in ?(self, coords, method, assume
_sorted, kwargs, method_non_numeric, **coords_kwargs)
   3999             dtype_kind = var.dtype.kind
   4000             if dtype_kind in "uifc":
   4001                 # For normal number types do the interpolation:
   4002                 var_indexers = {k: v for k, v in use_indexers.items() if k in var.dims}
-> 4003                 variables[name] = missing.interp(var, var_indexers, method, **kwargs)
   4004             elif dtype_kind in "ObU" and (use_indexers.keys() & var.dims):
   4005                 # For types that we do not understand do stepwise
   4006                 # interpolation to avoid modifying the elements.

TypeError: interp() got multiple values for argument 'method'

Anything else we need to know?
No response
Environment

INSTALLED VERSIONS
commit: None
python: 3.11.6 | packaged by conda-forge | (main, Oct  3 2023, 10:37:07) [Clang 15.0.7 ]
python-bits: 64
OS: Darwin
OS-release: 23.5.0
machine: arm64
processor: arm
byteorder: little
LC_ALL: en_US.UTF-8
LANG: en_US.UTF-8
LOCALE: ('en_US', 'UTF-8')
libhdf5: 1.14.3
libnetcdf: None
xarray: 2024.3.0
pandas: 2.2.2
numpy: 1.26.4
scipy: 1.13.0
netCDF4: None
pydap: None
h5netcdf: None
h5py: 3.11.0
Nio: None
zarr: None
cftime: None
nc_time_axis: None
iris: None
bottleneck: None
dask: None
distributed: None
matplotlib: 3.8.4
cartopy: None
seaborn: None
numbagg: None
fsspec: 2024.3.1
cupy: None
pint: 0.23
sparse: None
flox: 0.9.6
numpy_groupies: 0.11.1
setuptools: 69.5.1
pip: 24.0
conda: None
pytest: None
mypy: None
IPython: 8.22.2
sphinx: None

We need help with this: https://github.com/pydata/xarray/issues/7704

There is a check that only allows "vectorizeable interpolators" for one-dimensional interpolation,

In that past these interpolators required 1D input. I think this has changed recently and we have not adapted.
Are you able to help?

Thank you for responding. I'm sorry to say that I'm probably too amateur to help at this time. I haven't used python much beyond making figures, and I have not used git. But I plan to learn more when I've got bandwidth.
If someone else is able to address this soon, they should. If the problem hasn't been addressed in a few months, perhaps I will be able to give it a go.


How is the sharpe ratio calculated?

the sharpe ratio is defined as (r-r_f)/sigma, however i can' get this value from the annual return and annual volatility.
In my case, the annual return is 4.21%, free risk rate is 3%, volatility is 9.94%, the sharpe ratio should be (0.0421-0.03)/0.094 = 0.1217, but quantitates give a sharpe is 0.18.

Quantstats calculates the Sharpe ratio by dividing the mean of the return series by the volatility of the return series and then annualizing it.


Adds Wildfly java style coding rules for Checkstyle plugin

The commit adds Wildfly coding style rules as a maven dependency,
Apache 2 license [1]. Plus it adds checkstyle-suppressions.xml file
that explicitly white lists star imports of java.util.* as they
are used in the project and I don't see any real evil in them.
We can refactor them of course.
Regarding final modifiers:
The checkstyle is checking for redundant final modifiers that
are really redundant, i.e. done on effectively final fields, e.g.
it catches things like:
- try (OutputStream os = myURLConnection.getOutputStream()) {
+ try (final OutputStream os = myURLConnection.getOutputStream()) {
      os.write(dynamoDBJSON.getBytes(StandardCharsets.US_ASCII));
  }

but it lets go things like:
private static String preparePayload(final EngineData engineData, final Date date) {
...

If the dependency is problematic or tedious to vet, we can probably quote the license
header on use just the checkstyle.xml from the project [1].
This commit also suppresses Unchecked cast on two places and removes a trailing space...
[1] https://github.com/wildfly/wildfly-checkstyle-config
Signed-off-by: Michal Karm Babacek<EMAIL_ADDRESS>

@rdebusscher I figured I would push it since I had it locally. Feel free to use some of it / none of it as you please. I personally incline towards having the rules in a separate checkstyle.xml (either committed in the repo or pulled as dependency from wildfly-checkstyle-config) rather than cluttering pom.xml with them.

@Karm
I'm not in favour to add something which not cover all cases as we still need to do manual checks anyway.

@rdebusscher Could you use https://github.com/wildfly/wildfly-checkstyle-config as inspiration and bend the rule set? As I demonstrated in my comment, it does catch final modifiers, just not on all the places where Eclipse finds them redundant.
To me it is kind of tabs vs. spaces problem. On the other hand, I admit it is probably my C-ism as in
const char something = 'X';

I will create a PR where I remove final modifiers where I think Eclipse does not like them, but I do not think I can help more with the checkstyle.
It would be awesome if we could just download checkstyle-eclipse.xml and put it in our repo. Without that we are just guessing.

Closing - out of date


BOT NAME
aliceydra
verify
This bot is in my channel 24/7 and is in several other channels 24/7 (Images from 2 channels below)

Version
BOT
What system are you seeing the bot on?
TWITCH
log output
No response
CODE

[X] i am human

thank you for your update.  i was offline updating regularly
and now the online list is updated
you can always use my script to update your list (in linux)
https://github.com/arrowgent/Twitchtv-Bots-List/commit/33c931eadf4dc1d5f970912406f89d4541399628


Height of annotating area limited to 450px

This is an issue especially for portrait-oriented images. Even if the browser window is full width, the actual dash frame with the image to be annotated is limited to 450px height, leaving a ton of unused space beneath. It would be great if it continued to expand in height as it does with width.

Yes, good point. I have tried, fairly hard, to get the program to use more space. But have been unable to figure it out. I can blow the images up, but that isn't a good solution generally. I could perhaps detect the orientation automatically and rotate 90 degrees if portrait ...
Let me know if you have any insight into how to make this happen! I will continue to think

The code that relates to the image size is, in assets/ml-image-segmentation-style.css:
#left-column {
    position: absolute;
    transform: translate(-10%,0%);
}

and in assets/style.css:
  .ten.columns                    { width: 82.6666666667%; margin-left: 0;}

which can be changed to:
  .ten.columns                    { width: 82.6666666667%; height: 100%; margin-left: 0;}

but that doesn't make the image larger.
This code is supposed to scale the figure to the current image height and width (in plot_utils.py - notice range=(height, 0)):
    if update_ranges:
        width, height = [
            max([pilim(im).size[i] for im in images]) for i in range(2)
        ]

        fig.update_xaxes(
            showgrid=False, range=(0, width), showticklabels=False, zeroline=False
        )
        fig.update_yaxes(
            showgrid=False,
            scaleanchor="x",
            range=(height, 0),
            showticklabels=False,
            zeroline=False,
        )

so the fact that doesn't work means there is something on the dash/html side that I don't understand ...

I think it's that the plotly figure is setting itself to the default height. I was able to make it larger (taller) by adding height=600 in
https://github.com/dbuscombe-usgs/dash_doodler/blob/247a878140c6c7b87afa9db28ab3f786243b071e/plot_utils.py#L37
It's not responsive/doesn't automatically fill available space, but it is a bit easier on the eyes with the additional height.

Oh, excellent! Thanks Dan

I think I'll enfore that in app.py

    fig.update_layout(
        {
            "dragmode": "drawopenpath",
            "shapes": shapes,
            "newshape.line.color": stroke_color,
            "newshape.line.width": pen_width,
            "margin": dict(l=0, r=0, b=0, t=0, pad=4),
            "height": 600
        }
    )

I've made that change and shifted the margins a little, and the control panel is slightly narrower to accommodate the larger image. Thanks @dnowacki-usgs ! The next push will have this change, plus a few performance improvements


Level is not being read from config for custom handler

I have created a custom handler to push logs to AWS Firehose. Here is the constructor:
class FirehoseLogHandler extends AbstractProcessingHandler {

public function __construct(
        FirehoseClient $firehoseClient,
        FormatterInterface $formatter,
        $streamName,
        $level = Logger::INFO,
        $bubble = true
    ) {

        $this->firehoseClient = $firehoseClient;
        $this->streamName = $streamName;
        $this->formatter = $formatter;

        parent::__construct($level, $bubble);
    }

And here is my monolog.yaml config:
monolog:
  handlers:
    firehose_handler:
      type: service
      id: kinesis_stream_handler

    main:
      type: stream
      handler: firehose_handler
      level: error
      channels: ["!event"]

services:
  kinesis_stream_handler:
    class: App\Logger\Handler\FirehoseLogHandler
    arguments:
      $firehoseClient<EMAIL_ADDRESS>      $formatter: '@App\Logger\Formatter\FirehoseLogFormatter'
      $streamName: 'firehose-stream-test'

The problem that I am having is that the $level is always set to Logger::INFO (200), or whatever is set in the constructor. It seems to be ignoring what is set in the yaml config

It seems that the issue is same as https://github.com/getsentry/sentry-symfony/issues/229

@kufd you're absolutely correct. Will close this one.

@wildcard27 you should not close your issue.
Because the issue I mentioned is already closed.
I did my comment just for folks who have the same problem with sentry logger and need to know when it is fixed

Good point. I've reopened. I'm working on a PR so will attach it to this ticket when created.


Update silencer-lib, silencer-lib_2.13.6, ... to 1.7.6

Updates

com.github.ghik:silencer-lib
com.github.ghik:silencer-lib_2.13.6
com.github.ghik:silencer-plugin

from 1.7.5 to 1.7.6.
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Files still referring to the old version number
The following files still refer to the old version number (1.7.5).
You might want to review and update them manually.
project/BuildHelper.scala

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "com.github.ghik" } ]

labels: library-update, semver-patch, old-version-remains

Superseded by #522.


Support for constructors of @Value objects with assigned final fields

A class defined like this:
@Value
public class Foo {
  String one;
  String two = "foo";
}

Has a constructor:
new Foo("one");

But, IDEA shows this as an error and is expecting the 2nd (errant) constructor arg.

Should be fixed in the next release (0.9.1)


Simplify regex in yelling.py

Noticed the superfluous regex in https://www.youtube.com/live/6wFATYjMTQE?t=1376

This is honestly a little disappointing.  We have 18 open issues you could have put work into, and you yourself have an open PR needing changes (granted, unlikely to be merged anyway, for committee reasons, but still). Why are you wasting my review time and your coding time with a 3-character change? You're perfectly capable of, y'know, fulfilling the actual purpose of hacktoberfest and making positive contributions to the bot.
Hell, issue #160 is right up your alley, considering how much work you've put into the yelling cog. Why wouldn't you go do that?
If you want a concrete reason why I'm not merging this...

it's polluting the git blame, and making it unclear who's fault this regex is (not that it's a particularly complicated regex, but on principle, git blame should always be useful & accurate)
it's using highly python-specific regex syntax, which actually makes it less easily readable than using the language-agnostic [^\s] construct - we're not code golfing here
it's sending me stupid emails and interrupting me on a day when I need to be doing actual work on my assignments
and, it's sending a poor message to external or future contributors that we're rubber-stamping hacktoberfest bullshit PRs from people in the "in group", making it harder to argue the case that we shouldn't accept them next time someone else submits one.


Fix device page bugs

Ref: MUP-176, MUP-177
https://github.com/user-attachments/assets/a3a5baf2-a0ae-4c4e-bce5-ab85f375e413

Oh, I was looking at this too 🤣 you so fast


Remove unnecessary enumeration library (>=3.5)

With the migration to supporting 3.5 and later, we no longer need the enum34 library.  The library was still listed in the requirements files, so this removes those obsolete lines with no change in functionality.

It's not clear to me whether this will require a change to citrine-python, where the Pipfile.lock includes a reference to enum34.


Remove MediafluxClient from Projects and other concept classes

Instead of utilizing the default MediafluxClient, utilize a session object passed in from the controller
Then change the concept classes to call the Mediaflux::Http classes instead of the mediaflux-client
Finally remove the MediafluxClient class
Completion Criteria:

[ ] Update the connection information to connect to the staging or development server and see if the code still works
[ ] Document any broken features in tickets
[ ] For anything that is working, make sure the code being changed is tested, so we know if it is broken by the change
[ ] We use one way to access Mediaflux in the code, we believe Mediaflux::Http is the correct one
[ ] No tests should change, but some tests may be removed.
[ ] Remove the MediafluxClient class from the codebase and any unworking code

Hey team! Please add your planning poker estimate with Zenhub @bess @hectorcorrea @jrgriffiniii


sample code for key duplication

Hi,
For my TPM application, I need to support key duplication. Is there anything that I can use for reference?
Thanks,
Dan

Hi Dan,
I've mostly relied on the code in the tpmclient & tpmtestprograms to bootstrap my use / understanding of the SAPI. That said it doesn't look like there's any such test cases for the Tss2_Sys_Duplicate command. If this is something that you're interested in though it's likely a good time to create such a test case.
Not the ideal answer I know but if you're willing to provide some details we can scope out a test case and create the example code here. A bit of searching turned up section 23.3 from the architecture spec which goes into the details w/r to the use of the TPM2_Duplicate command. Is this similar / suitable for your usecase?

Yes. This is exactly what I need.
Basically, create an RSA key-pair in one TPM and duplicate it to other TPMs.
This flow is complex, first, because it can only work with a policy session, and second, because you need two TPMs to prove that it works.
For the first part, I see that there are quite a few policy example in tpmClient.
For the second part, we could get a good coverage in a tpmClient test by duplicating a key from one parent to another parent on the same TPM.
If I understand correctly, the steps for moving a key K from TPM A to TPM B are::

TPM-B: create/select a new parent key for key K in the new TPM
TPM-B: read the new parent key public section from TPM-B
TPM-A: loadexternal the public-section of the new parent key
TPM-A: run the Tss2_sys_duplicate for K  (the result is K sensitive section encrypted with public key of the new parent key)
TPM-B: use the import command to import K under the new parent key (actually, decrypt it).

And this can only, work if the original key and the parent keys were created with the right attributes...

The steps you've laid out reasonable to me. But since I've never used the duplicate command myself I can't say for sure. Your proposal to duplicate a key across hierarchies makes a lot of sense though. Also it should be possible to run multiple instances of the simulator at the same time just bound to different ports.
As to getting the key attributes right: this is usually the hardest part for me. For some more simple tests in the past I've found that digging into the simulator code to determine what attributes are checked as part of executing a command is pretty helpful. Naturally YMMV here though. Everyone has their own workflows.
Finally I would gladly accept additions to our test cases. That said I'd prefer they're added to the 'integration' tests that we're slowly factoring out into the test/integration directory.

@danglus
the following paragraph is a duplication plan, we implemented the duplication based on old version of sapi as there is not a "duplicate" command in tpm2-tools and "PolicyAuthorize" etc. However, we just verified procedure inside one TPM.
The basic idea is based on duplication scenario depicted in the book "a practical guide to tpm2", wish this can help you
EK: endorsement key
AIK: attestation identity key
SRK_SRC: storage root key from source TPM
SRK_DES: storage root key to destination TPM
KEY: the key you want to duplicate

@danglus
the following paragraph is a duplication plan, we implemented the duplication based on old version of sapi as there is not a "duplicate" command in tpm2-tools and "PolicyAuthorize" etc. However, we just verified procedure inside one TPM.
The basic idea is based on duplication scenario depicted in the book "a practical guide to tpm2", wish this can help you
EK: endorsement key
AIK: attestation identity key
SRK_SRC: storage root key from source TPM
SRK_DES: storage root key to destination TPM
KEY: the key you want to duplicate
Note: if you want combine the key policy with non-zero locality num, this case can not apply to Real TPM as multi-locality is not supported.


Document file viewer logic.

Purpose / why
To document how to administer an islandora. https://github.com/Islandora/documentation/issues/1538
Partly the purpose was to highlight how darn complicated this system is, and encourage improvements such as https://github.com/Islandora/documentation/issues/1193 ;)
Also does a bit to further "documenting display hints" https://github.com/Islandora/documentation/pull/1222
What changes were made?
Created a page about "Viewers" that explains the chain of things that need to be in place to configure them.
Also did some minor rewording to the resource-nodes page where @mjordan documented "Display hints", which is an amazing how-to guide and I'm sorry I didn't have time to do it justice (e.g. it could really be its own page)
Verification
Please read, try out? open files? poke in islandora defaults?
@seth-shaw-unlv does this match your understanding of the Goldberg Machine To Display A Viewer?
Interested Parties
@Islandora/documentation and those tagged above.
Checklist

Pull-request reviewer should ensure the following

[ ] Does this PR link to related issues?
[ ] Does the proposed documentation align with the Islandora Documentation Style Guide?
[ ] Are the changes accurate, useful, free of typos, etc?
[ ] Does this PR update the last updated on date on the documentation page?

Person merging should ensure the following

[ ] Does mkdocs still build successfully? (This is indicated by TravisCI passing. To test locally, and see warnings, see How To Build Documentation.)
[ ] If pages are renamed or removed, have all internal links to those pages been fixed?
[ ] If pages are added, have they been linked to or placed in the menu?
[ ] Did the PR receive at least one approval from a committer, and all issues raised have been addressed?

@rosiel, I made a number of comments on different bits. They are all suggestions that you are free to incorporate, alter, or ignore as you see fit. I don't consider any of them to be blockers.

Thank you @seth-shaw-unlv for the thorough review!

Sorry for the delay in reviewing the updates! I was buried in a combination of D9 Sprint and other work items.

OK, anyone...?


Add information about grafana not displaying metrics

If the server time is behind the client time at minimum 6 minutes,
the Grafana dashboard will not display metrics to the web client (e.g. Chrome).
This is clearly some type of bug - the time of the client should have
zero bearing on the metrics displayed by the server.  Note the metrics
are recorded.  I am unclear if the metric timestamps are recorded correctly
in the server.
See: https://github.com/istio/istio/issues/1954 for more details.

I think this is a common problem for viewing data from grafana (e.g. nothing istio unique), as you as essentially query a time window that doesn't have data from the server perspective. :)

Possibly.  What tipped me off was the mild warning in prometheus that my client time and server time were skewed, resulting in possibly incorrect data.  Prometheus however seemed to handle it when I used the prom graphing feature.


Clarify external links #147

@pavlovcik Could you add me to the Cloudflare team (if possible) so I can check what's exactly that's not building?

What's ur email to add

You were working off an out-of-date commit. I had to merge my fix for Cloudflare Pages 7b90e921e6772dac6f0010f62a85847ae8df2c1f


Question about incompatible shapes(0,3) and (100,3) at II. Joint Optimization in Training, Validation, and Testing

Hi, thank you for the inspiring work and your open source code!When I run the following script, I get an ValueError report the at step II. Joint Optimization in Training, Validation, and Testing:
I. Shape Pre-Training and II. Joint Optimization (training and validation)

'''
scene='hotdog_2163'
gpus='2'
model='nerfactor'
overwrite='True'
proj_root='/lyy/nerfactor'
repo_dir="$proj_root/nerfactor"
viewer_prefix='' # or just use ''
I. Shape Pre-Training
data_root="$proj_root/data/selected/$scene"
if [[ "$scene" == scan* ]]; then
# DTU scenes
imh='256'
else
imh='512'
fi
if [[ "$scene" == pinecone || "$scene" == vasedeck || "$scene" == scan* ]]; then
# Real scenes: NeRF & DTU
near='0.1'; far='2'
else
near='2'; far='6'
fi
if [[ "$scene" == pinecone || "$scene" == vasedeck || "$scene" == scan* ]]; then
# Real scenes: NeRF & DTU
use_nerf_alpha='True'
else
use_nerf_alpha='False'
fi
surf_root="$proj_root/output/surf/$scene"
shape_outdir="$proj_root/output/train/${scene}_shape"
REPO_DIR="$repo_dir" "$repo_dir/nerfactor/trainvali_run.sh" "$gpus" --config='shape.ini' --config_override="data_root=$data_root,imh=$imh,near=$near,far=$far,use_nerf_alpha=$use_nerf_alpha,data_nerf_root=$surf_root,outroot=$shape_outdir,viewer_prefix=$viewer_prefix,overwrite=$overwrite"
II. Joint Optimization (training and validation)
shape_ckpt="$shape_outdir/lr1e-2/checkpoints/ckpt-2"
brdf_ckpt="$proj_root/output/train/merl/lr1e-2/checkpoints/ckpt-50"
if [[ "$scene" == pinecone || "$scene" == vasedeck || "$scene" == scan* ]]; then
# Real scenes: NeRF & DTU
xyz_jitter_std=0.001
else
xyz_jitter_std=0.01
fi
test_envmap_dir="$proj_root/data/envmaps/for-render_h16/test"
shape_mode='finetune'
outroot="$proj_root/output/train/${scene}_$model"
REPO_DIR="$repo_dir" "$repo_dir/nerfactor/trainvali_run.sh" "$gpus" --config="$model.ini" --config_override="data_root=$data_root,imh=$imh,near=$near,far=$far,use_nerf_alpha=$use_nerf_alpha,data_nerf_root=$surf_root,shape_model_ckpt=$shape_ckpt,brdf_model_ckpt=$brdf_ckpt,xyz_jitter_std=$xyz_jitter_std,test_envmap_dir=$test_envmap_dir,shape_mode=$shape_mode,outroot=$outroot,viewer_prefix=$viewer_prefix,overwrite=$overwrite"
III. Simultaneous Relighting and View Synthesis (testing)
ckpt="$outroot/lr5e-3/checkpoints/ckpt-10"
if [[ "$scene" == pinecone || "$scene" == vasedeck || "$scene" == scan* ]]; then
# Real scenes: NeRF & DTU
color_correct_albedo='false'
else
color_correct_albedo='true'
fi
REPO_DIR="$repo_dir" "$repo_dir/nerfactor/test_run.sh" "$gpus" --ckpt="$ckpt" --color_correct_albedo="$color_correct_albedo"
'''

[trainvali] For results, see:
/lyy/nerfactor/output/train/hotdog_2163_nerfactor/lr5e-3
[datasets/nerf_shape] Number of 'train' views: 100
[datasets/nerf_shape] Number of 'vali' views: 8
[models/base] Trainable layers registered:
['net_normal_mlp_layer0', 'net_normal_mlp_layer1', 'net_normal_mlp_layer2', 'net_normal_mlp_layer3', 'net_normal_out_layer0', 'net_lvis_mlp_layer0', 'net_lvis_mlp_layer1', 'net_lvis_mlp_layer2', 'net_lvis_mlp_layer3', 'net_lvis_out_layer0']
[models/base] Trainable layers registered:
['net_brdf_mlp_layer0', 'net_brdf_mlp_layer1', 'net_brdf_mlp_layer2', 'net_brdf_mlp_layer3', 'net_brdf_out_layer0']
Traceback (most recent call last):
File "/lyy/nerfactor/nerfactor/nerfactor/trainvali.py", line 341, in
app.run(main)
File "/home/ly/anaconda3/envs/nerfactor/lib/python3.6/site-packages/absl/app.py", line 308, in run
_run_main(main, args)
File "/home/ly/anaconda3/envs/nerfactor/lib/python3.6/site-packages/absl/app.py", line 254, in _run_main
sys.exit(main(argv))
File "/lyy/nerfactor/nerfactor/nerfactor/trainvali.py", line 106, in main
model = Model(config, debug=FLAGS.debug)
File "/lyy/nerfactor/nerfactor/nerfactor/models/nerfactor.py", line 68, in init
ioutil.restore_model(self.brdf_model, brdf_ckpt)
File "/lyy/nerfactor/nerfactor/nerfactor/util/io.py", line 48, in restore_model
ckpt.restore(ckpt_path).expect_partial()
File "/home/ly/anaconda3/envs/nerfactor/lib/python3.6/site-packages/tensorflow/python/training/tracking/util.py", line 2009, in restore
status = self._saver.restore(save_path=save_path)
File "/home/ly/anaconda3/envs/nerfactor/lib/python3.6/site-packages/tensorflow/python/training/tracking/util.py", line 1304, in restore
checkpoint=checkpoint, proto_id=0).restore(self._graph_view.root)
File "/home/ly/anaconda3/envs/nerfactor/lib/python3.6/site-packages/tensorflow/python/training/tracking/base.py", line 209, in restore
restore_ops = trackable._restore_from_checkpoint_position(self)  # pylint: disable=protected-access
File "/home/ly/anaconda3/envs/nerfactor/lib/python3.6/site-packages/tensorflow/python/training/tracking/base.py", line 907, in _restore_from_checkpoint_position
tensor_saveables, python_saveables))
File "/home/ly/anaconda3/envs/nerfactor/lib/python3.6/site-packages/tensorflow/python/training/tracking/util.py", line 289, in restore_saveables
validated_saveables).restore(self.save_path_tensor)
File "/home/ly/anaconda3/envs/nerfactor/lib/python3.6/site-packages/tensorflow/python/training/saving/functional_saver.py", line 281, in restore
restore_ops.update(saver.restore(file_prefix))
File "/home/ly/anaconda3/envs/nerfactor/lib/python3.6/site-packages/tensorflow/python/training/saving/functional_saver.py", line 103, in restore
restored_tensors, restored_shapes=None)
File "/home/ly/anaconda3/envs/nerfactor/lib/python3.6/site-packages/tensorflow/python/distribute/values.py", line 647, in restore
for v in self._mirrored_variable.values))
File "/home/ly/anaconda3/envs/nerfactor/lib/python3.6/site-packages/tensorflow/python/distribute/values.py", line 647, in
for v in self._mirrored_variable.values))
File "/home/ly/anaconda3/envs/nerfactor/lib/python3.6/site-packages/tensorflow/python/distribute/values.py", line 392, in _assign_on_device
return variable.assign(tensor)
File "/home/ly/anaconda3/envs/nerfactor/lib/python3.6/site-packages/tensorflow/python/ops/resource_variable_ops.py", line 846, in assign
self._shape.assert_is_compatible_with(value_tensor.shape)
File "/home/ly/anaconda3/envs/nerfactor/lib/python3.6/site-packages/tensorflow/python/framework/tensor_shape.py", line 1117, in assert_is_compatible_with
raise ValueError("Shapes %s and %s are incompatible" % (self, other))
ValueError: Shapes (0, 3) and (100, 3) are incompatible

The shape checkpoints are generated by step I. Shape Pre-Training and the BRDF checkpoints are downloaded from your page.
Does it mean i need to pre-train brdf model by myself?
Very much looking forward to your help!

I met the same problem. Is there any solution now?

hi! I met the same problem. Is there any solution now?

hi! I met the same problem. Is there any solution now?

I just trained the neural BRDF by myself and it solved the problem.

Can I add your VX? Thanks!
Is it to download the BRDF data set to train the MERL_512 model?

Can I add your VX? Thanks! Is it to download the BRDF data set to train the MERL_512 model?

just follow the instructions provided by the author. It is pretty simple.

follow the section of Preparation step1 in html：https://github.com/google/nerfactor/tree/main/nerfactor
my<EMAIL_ADDRESS>Can we communicate privately? thanks！

follow the section of Preparation step1 in html：https://github.com/google/nerfactor/tree/main/nerfactor my<EMAIL_ADDRESS>Can we communicate privately? thanks！

Send an email to me via<EMAIL_ADDRESS>if you meet any problem. But I prefer to discuss this here since it may help others, too.

@Haian-Jin Thanks for reporting a solution! I wonder if you found the pretrained BRDF MLP problematic? Any info useful for me in debugging this is appreciated.

@Haian-Jin Thanks for reporting a solution! I wonder if you found the pretrained BRDF MLP problematic? Any info useful for me in debugging this is appreciated.

I don‘t know why it happens. I sent the checkpoint that was trained by myself to @wangmingyang4 , and he said he would still meet the same problem. This is prettry strange.

Hi, I meet the same problem either

@Haian-Jin @wangmingyang4 @xiumingzhang
I think I find the problem.
It is caused by https://github.com/google/nerfactor/blob/main/nerfactor/models/brdf.py#L44. If you donnot have merl dataset locally and donnot modify 'data_root' at merl_512/lr1e-2.ini, the terrible thing happens...
One more thing is that I didn't find where to get 'brdf_merl_npz'.... It seems to be different from official merl dataset... What do I miss...

@Haian-Jin @wangmingyang4 @xiumingzhang I think I find the problem. It is caused by https://github.com/google/nerfactor/blob/main/nerfactor/models/brdf.py#L44. If you donnot have merl dataset locally and donnot modify 'data_root' at merl_512/lr1e-2.ini, the terrible thing happens... One more thing is that I didn't find where to get 'brdf_merl_npz'.... It seems to be different from official merl dataset... What do I miss...

haha this is what I miss: https://github.com/google/nerfactor/tree/main/data_gen#converting-the-merl-binary-brdfs-into-a-tensorflow-dataset

I'm sorry to reply you so late. @Woolseyyy @Haian-Jin @xiumingzhang
Thanks everyone!
Here, I will summarize how to use the merl_512 trained model provided by the author.

You can use the trinvali_run.sh to train BRDF model. When the lr1e-2.ini file is generated, the training can be canceled.
You should copy the generated lr1e-2.ini file to the downloaded merl_512 folder and replace the original file.

eg：

@wangmingyang4 Thanks for reporting a potential solution. But hmmm, why does this hack work? I'm trying to understand why this works, and how I can make changes to eliminate the need for such a hack.

@wangmingyang4 Thanks for reporting a potential solution. But hmmm, why does this hack work? I'm trying to understand why this works, and how I can make changes to eliminate the need for such a hack.

the reason is presented here: https://github.com/google/nerfactor/issues/24#issuecomment-1307525096
I think changing the corresponding code and adding a name list file of merl would help.

@xiumingzhang
Can I set the imh to the original image size for training?

I solved this problem after setting the envmaps path.

@xiumingzhang I have met a new problem when I run ##2. Compute geometry buffers for all views by querying the trained NeRF
Views (train):   0%|                                          | 0/97 [00:00<?, ?it/s]2022-11-21 23:17:13.473628: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10
/lyy/nerfactor/nerfactor_b/nerfactor/util/geom.py:58: RuntimeWarning: invalid value encountered in true_divide
  arr_norm = (arr - arr.min()) / (arr.max() - arr.min())
I1121 23:22:47.950219<PHONE_NUMBER>99328 animation.py:1118] Animation.save using <class 'matplotlib.animation.FFMpegWriter'>
I1121 23:22:47.951245<PHONE_NUMBER>99328 animation.py:326] figure size in inches has been adjusted from 7.104166666666667 x 5.333333333333333 to 7.1 x 5.32
I1121 23:22:47.951492<PHONE_NUMBER>99328 animation.py:346] MovieWriter._run: running command: ffmpeg -f rawvideo -vcodec rawvideo -s 710x532 -pix_fmt rgba -r 12 -loglevel error -i pipe: -vcodec h264 -pix_fmt yuv420p -y /lyy/nerfactor/nerfactor_b/output/surf/pinecone512rays1024/train_000/lvis.mp4
Views (train):   1%|▎                             | 1/97 [06:24<10:15:51, 384.91s/it]/lyy/nerfactor/nerfactor_b/nerfactor/util/geom.py:58: RuntimeWarning: invalid value encountered in true_divide
  arr_norm = (arr - arr.min()) / (arr.max() - arr.min())
I1121 23:28:57.483244<PHONE_NUMBER>99328 animation.py:1118] Animation.save using <class 'matplotlib.animation.FFMpegWriter'>
I1121 23:28:57.484086<PHONE_NUMBER>99328 animation.py:326] figure size in inches has been adjusted from 7.104166666666667 x 5.333333333333333 to 7.1 x 5.32
I1121 23:28:57.484405<PHONE_NUMBER>99328 animation.py:346] MovieWriter._run: running command: ffmpeg -f rawvideo -vcodec rawvideo -s 710x532 -pix_fmt rgba -r 12 -loglevel error -i pipe: -vcodec h264 -pix_fmt yuv420p -y /lyy/nerfactor/nerfactor_b/output/surf/pinecone512rays1024/train_001/lvis.mp4
Views (train):   2%|▋                              | 2/97 [12:25<9:46:54, 370.68s/it]/lyy/nerfactor/nerfactor_b/nerfactor/util/geom.py:58: RuntimeWarning: invalid value encountered in true_divide
  arr_norm = (arr - arr.min()) / (arr.max() - arr.min())

I’d appreciate some help.My script is:
##1. Train a vanilla NeRF, optionally using multiple GPUs:

    scene='pinecone'
    gpus='3'
    proj_root='/lyy/nerfactor/nerfactor_b'
    repo_dir="$proj_root/nerfactor"
    viewer_prefix=''
    data_root="/lyy/nerfactor/data/nerf_real_360_proc/$scene"
    near='0.1'
    far='2'
    lr='5e-4'
    imh='512'
    n_rays_per_step='1024'
    outroot="$proj_root/output/train/${scene}_nerf${imh}rays${n_rays_per_step}n${near}f${far}"
    REPO_DIR="$proj_root" "$proj_root/nerfactor/trainvali_run.sh" "$gpus" --config='nerf.ini' --config_override="n_rays_per_step=$n_rays_per_step,data_root=$data_root,imh=$imh,near=$near,far=$far,lr=$lr,outroot=$outroot,viewer_prefix=$viewer_prefix"

    # Optionally, render the test trajectory with the trained NeRF, only can use 1 gpu
    gpus='3'
    scene='pinecone'
    imh='512'
    near='0.1'
    far='2'
    proj_root='/lyy/nerfactor/nerfactor_b'
    n_rays_per_step='1024'
   outroot="$proj_root/output/train/${scene}_nerf${imh}rays${n_rays_per_step}n${near}f${far}"
    lr='5e-4'
    ckpt="$outroot/lr$lr/checkpoints/ckpt-2"
    REPO_DIR="$proj_root" "$proj_root/nerfactor/nerf_test_run.sh" "$gpus" --ckpt="$ckpt"

  ## Check the quality of this NeRF geometry by inspecting the visualization HTML for the alpha and normal maps. You might
  ## need to re-run this with anothe r learning rate if the estimated NeRF geometry is too off.

##2. Compute geometry buffers for all views by querying the trained NeRF: (single GPU)

    scene='pinecone'
    gpus='3'
    proj_root='/lyy/nerfactor/nerfactor_b'
    repo_dir="$proj_root/nerfactor"
    viewer_prefix=''
    data_root="/lyy/nerfactor/data/nerf_real_360_proc/$scene"
    imh='512'
    lr='5e-4'
    near='0.1'
    far='2'
    n_rays_per_step='1024'
    trained_nerf="$proj_root/output/train/${scene}_nerf${imh}rays${n_rays_per_step}n${near}f${far}/lr${lr}"
    occu_thres='0.5'
    if [[ "$scene" == pinecone* || "$scene" == scan* ]]; then
        # pinecone and DTU scenes
        scene_bbox='-0.3,0.3,-0.3,0.3,-0.3,0.3'
    elif [[ "$scene" == vasedeck* ]]; then
        scene_bbox='-0.2,0.2,-0.4,0.4,-0.5,0.5'
    else
        # We don't need to bound the synthetic scenes
        scene_bbox=''
    fi
    out_root="$proj_root/output/surf/$scene${imh}rays${n_rays_per_step}"
    ##bump this up until GPU gets OOM for faster computation
    mlp_chunk='375000'
    REPO_DIR="$proj_root" "$proj_root/nerfactor/geometry_from_nerf_run.sh" "$gpus" --data_root="$data_root" --trained_nerf="$trained_nerf" --out_root="$out_root" --imh="$imh" --scene_bbox="$scene_bbox" --occu_thres="$occu_thres" --mlp_chunk="$mlp_chunk"

@wangmingyang4 Yes, I think so.

@Osavalon Looks like your arr is all-zero. You can try looking into how that happened?


Bug fix : multiple entry of projects removed

Related Issue
In the file, script.js; where data for different projects are stored there are multiple instances of the same project.
Closes: #1060
Describe the changes you've made
I removed the entries that had multiple instances and left only one
Describe if there is any unusual behaviour of your code(Write NA if there isn't)
NA
Checklist:

[x] My code follows the style guidelines of this project.
[x] I have performed a self-review of my own code.
[x] I have commented my code, particularly in hard-to-understand areas.
[x] I have made corresponding changes to the documentation.
[x] New and existing unit tests pass locally with my changes.

Screenshots
Put any screenshot(s) of the project here.

@urvashi-code1255 please review this, I have solved the issue and added my project Fractal Tree to it too.

@urvashi-code1255 please merge this PR as quickly as possible before others add more stuff into script.js else it will clutter with more conflits

@991rajat @urvashi-code1255  please merge this PR before more people make changes to script.js else it won't be able to solve the issue and make multiple merge conflicts.

Hey @jhamadhav There are many projects which aren't added. Please add it too.
I think the number is around 166.

Yes, when I first made it, it was all good but due to delayed review, more projects got added to it.
I will fix it asap, please review for merge quicky.

@991rajat Please review it, I have made the changes

Looks good.There is typo issue in rock-paper-scissor due to which it not links properly.
Please fix that

@991rajat Please check I have fixed the link

Great, Looks all ok . Good work


Retrieve full batch from RecordIterator

Hi there. We harvest data from a public library with millions of records. This large amount of files isn't easy to handle. Would it be possible to return whole batches instead of single records?

Hi @MarcoRemy,
I've released a new version (v3.3) that should make this possible.  For example, you can build your own custom iterator around batches :
$itererator = new RecordIterator($client, $verb, $params);

while ($iterator->retrieveNextBatch() !== 0) {
    // Get the current batch
    $batch = $iterator->getBatch();

    // do something with each batch (it is an array of SimpleXML objects)...
}

FYI - I plan on releasing a complete PHP8-compatible rewrite of this library soon; not sure when it will be though, but it will be much more flexible.


Major Item Duplication with bins

Using the bin in the crafting grid if you SHIFT click with more then one block/item you are putting in it will duplicate the bin and put it in your inventory x how many items you are trying to put in given your inventory space

Version?

Fixed in dev, thanks