chef-server-ctl test has multiple failures when executes on secondary in the HA setup with LDAP

chef-server 12.0.8 on RHEL 6.6
This command is executed on the secondary server.
Expectation:
Validation of the server as a secondary in HA cluster.
Actual:
Lots of search failures
[username@servername ~]$ sudo chef-server-ctl test
Configuring logging...
Creating platform...
Configured URL: https://servername.domain.com
Creating org pedant_testorg_servername_8686
Validating Org Creation
Run options: include {:focus=>true, :smoke=>true}

All examples were filtered out; ignoring {:focus=>true, :smoke=>true}

Randomized with seed 50878

.................................

Finished in 3.11 seconds
33 examples, 0 failures

Randomized with seed 50878

Starting Pedant Run: 2015-06-22 20:56:01 UTC
 _______  _______  _______  _______  _______  ______   _______
|       ||       ||       ||       ||       ||      | |       |
|   _   ||    _  ||  _____||       ||   _   ||  _    ||    ___|
|  | |  ||   |_| || |_____ |       ||  | |  || | |   ||   |___
|  |_|  ||    ___||_____  ||      _||  |_|  || |_|   ||    ___|
|       ||   |     _____| ||     |_ |       ||       ||   |___
|_______||___|    |_______||_______||_______||______| |_______|

     _______  _______  ______   _______  __    _  _______
    |       ||       ||      | |   _   ||  |  | ||       |
    |    _  ||    ___||  _    ||  |_|  ||   |_| ||_     _|
    |   |_| ||   |___ | | |   ||       ||       |  |   |
    |    ___||    ___|| |_|   ||       ||  _    |  |   |
    |   |    |   |___ |       ||   _   || | |   |  |   |
    |___|    |_______||______| |__| |__||_|  |__|  |___|

                    "Accuracy Over Tact"

                  === Testing Environment ===
                 Config File: /var/opt/opscode/oc-chef-pedant/etc/pedant_config.rb
       HTTP Traffic Log File: /var/log/opscode/oc-chef-pedant/http-traffic.log

Running tests from the following directories:
/opt/opscode/embedded/service/oc-chef-pedant/spec/api
Run options:
  include {:focus=>true, :smoke=>true}
  exclude {:intermittent_failure=>true, :cleanup=>true}

Randomized with seed 929

ACL API
  /organizations/_acl endpoint
    GET /organizations/_acl
      with modified ACLs
        when normal client granted all permissions except GRANT
          returns 403
        when normal client granted GRANT permission
          can get ACL
  /organizations/_acl/read endpoint
    PUT /organizations/_acl/read
      with modified ACLs
        when normal user granted GRANT permission
          can modify ACL
  /<type>/<name>/_acl endpoint
    for clients type
      /clients/<name>/_acl/update endpoint
        PUT /clients/<name>/_acl/update
          normal user with all permissions except GRANT
            returns 403
          normal user with GRANT permission
            can update ACL
    for data type
      /data/<name>/_acl/update endpoint
        PUT /data/<name>/_acl/update
          normal user with all permissions except GRANT
            returns 403
          normal user with GRANT permission
            can update ACL
    for nodes type
      /nodes/<name>/_acl/update endpoint
        PUT /nodes/<name>/_acl/update
          normal user with all permissions except GRANT
            returns 403
          normal user with GRANT permission
            can update ACL
    for roles type
      /roles/<name>/_acl/update endpoint
        PUT /roles/<name>/_acl/update
          normal user with all permissions except GRANT
            returns 403
          normal user with GRANT permission
            can update ACL
    for environments type
      /environments/<name>/_acl/update endpoint
        PUT /environments/<name>/_acl/update
          normal user with all permissions except GRANT
            returns 403
          normal user with GRANT permission
            can update ACL
    for cookbooks type
      /cookbooks/<name>/_acl/update endpoint
        PUT /cookbooks/<name>/_acl/update
          normal user with all permissions except GRANT
            returns 403
          normal user with GRANT permission
            can update ACL

opscode-account user association
  user not in org
    can be invited to the org by an admin
      unless the user is already in the org
      and the invite can be rescinded
      and a rescinded invite can't be rescinded again
      and once an the invite is rescinded it can't be accepted
      and once an the invite is rescinded it can't be rejected.
      and can't be invited twice
      and can reject an invite
      deleting an invite via the /users path is not accepted
      and can accept an invite
      and can reject an invite, after which they cannot access things in the org
      and can only response with 'accept' or 'reject'
      and get set up properly
      after a user is deleted from an org
        they do not have access to view members of that org
        they do not have access to attempt to view themselves in an org
        an org admin no longer sees them in the org
        admin attempting to delete this user from the org results in a 400(r)/404(e)
      and a valid invite is issued
        an org admin cannot accept that invite on behalf of the user
        the global superuser can accept the invite on behalf of the user
      when the inviting admin
        is removed from admins group, invites issued by that admin cannot be accepted
        is removed from the org, invites issued by that admin cannot be accepted (PENDING: Known failure: passes w/ 200 b/c no USAG cleanup performed for deleted user)
        is removed from the system, invites issued by that admin can't by accepted (PENDING: Known failure: passes w/ 200 b/c no USAG or other group cleanup performed for deleted user)
      OC-11708 - when last updator of users group is dissociated
        can accept the invite
      belonging to another org as well
Creating org pedant-otherorg-8686
Deleting organization pedant-otherorg-8686 ...
        can accept an invite, even when they belong to another org
  /organizations/<org>/users endpoint
    GET /organizations/<org>/users
      admin user
        can get org users
      default normal user
        can get org users
  /organizations/<org>/users/<name>
    GET /organizations/<org>/users/<name>
      admin user
        can get user
      default normal user
        can get self
    DELETE /organizations/<org>/users/<name>
      admin user
        can delete user

opscode-account containers
  /containers endpoint
    GET /containers
      admin user
        can get containers
      outside user
        returns 403
    POST /containers
      permissions
        admin user
          can create container
        outside user
          returns 403
  /containers/<name> endpoint
    GET /containers/<name>
      admin user
        can get container
      outside user
        returns 403
    DELETE /containers/<name>
      admin user
        can delete container
      outside user
        returns 403

opscode-account groups
  /groups endpoint
    GET /groups
      admin user
        can get groups
      outside user
        returns 403
    POST /groups
      permissions
        admin user
          can create group
        outside user
          returns 403
  /groups/<name> endpoint
    GET /groups/<name>
      admin user
        can get group
      outside user
        returns 403
    DELETE /groups/<name>
      admin user
        can delete group
      outside user
        returns 403
    PUT /groups/<name>
      permissions
        normal user with update ACE
          can update group
        normal user without update ACE
          returns 403

authenticate_user
  POST /authenticate_user
    with correct credentials
      superuser user returns 200 ("OK") (FAILED - 1)
      admin/different user returns 403 ("Forbidden")
      non-admin/same user returns 403 ("Forbidden")
      invalid user returns 401 ("Unauthorized")
    with invalid username
      superuser returns 401 ("Unauthorized")
    with incorrect password
      superuser returns 401 ("Unauthorized")

Client API endpoint
  GET /clients
    as an admin user
      with an operational server
        should respond with 200 OK

Cookbook Artifacts API endpoint
  PUT /cookbooks/<name>/<version> [create]
    with a basic cookbook
      creates a basic cookbook (PENDING: No reason given)

Cookbook Artifacts API endpoint
  DELETE /cookbooks/<name>/<version>
    for existing cookbooks
      when deleting existent version of an existing cookbook
        should cleanup unused checksum data in s3/bookshelf (PENDING: No reason given)

Cookbook Artifacts API endpoint
  GET /cookbooks
    with an operational server
      example at ./spec/api/cookbooks_shared/read.rb:41 (PENDING: No reason given)

Cookbook Artifacts API endpoint
  PUT /cookbooks/<name>/<version> [update]
    as admin user
      should respond with 200 Ok (PENDING: No reason given)

Cookbook Artifacts Versions API endpoint, GET
  with cookbooks on the server
    when requesting the 'latest' Cookbook version
      should respond with 200 OK and the latest cookbook version (PENDING: No reason given)

Cookbooks API endpoint
  PUT /cookbooks/<name>/<version> [create]
    with a basic cookbook
      creates a basic cookbook

Cookbooks API endpoint
  DELETE /cookbooks/<name>/<version>
    for existing cookbooks
      when deleting existent version of an existing cookbook
        should cleanup unused checksum data in s3/bookshelf

Cookbooks API endpoint
  GET /cookbooks
    with an operational server
      should respond with 200 OK

Cookbooks API endpoint
  PUT /cookbooks/<name>/<version> [update]
    as admin user
      should respond with 200 Ok

Cookbook Versions API endpoint, GET
  with cookbooks on the server
    when requesting the 'latest' Cookbook version
      should respond with 200 OK and the latest cookbook version

Data Bag API endpoint
  with no data bags
    a request to /data
      POST
        with a canonical payload
          behaves like a successful data bag POST
            returns success
            creates the data bag
  with data bags
    that have no items
      a request to /data/<bag>
        POST
          various good inputs to create a data bag item
            with JUST an ID
              behaves like a successful data bag item POST
                returns success
                creates the resource
    that have items
      a request to /data/<bag>
        GET
          shows a full data bag
        DELETE
          deletes a bag AND ALL THE ITEMS
      a request to /data/<bag>/<item>
        GET
          shows the complete item
        PUT
          with various correct inputs to update a data bag item
            with normal input
              behaves like a successful data bag item PUT
                returns success
                updates the data bag item
        DELETE
          deletes the item

Depsolver API endpoint
  POST /environments/:env/cookbook_versions
    success cases
      returns 200 with a minimal good cookbook

/environments/ENVIRONMENT/cookbooks API endpoint
  with multiple versions of multiple cookbooks
    with no environment constraints
      from a non-default environment
        when fetching cookbooks
          should respond with 200 OK and latest versions of ALL cookbooks

Environments API Endpoint
  POST /environments
    with no additional environments
      when creating a valid environment
        should respond with 201 Created and a correct path
        should persist the environment

Environments API Endpoint
  with non-default environments in the organization
    DELETE /environments/<name>
      with an existing environment
        should respond with 200 OK

Environments API Endpoint
  GET /environments
    with an operational server
      should respond with 200 OK
  GET /environments/_default
    with an operational server
      should respond with 200 OK
  GET /environments/<name>
    with an existing environment
      should respond with 200 OK and the environment

/environments/ENVIRONMENT/recipes API endpoint
  with multiple versions of multiple cookbooks
    with no environment constraints
      when fetching recipes from a non-default environment
        should respond with 200 OK and recipes from the latest version of all cookbooks within the environment
      when fetching recipes from _default environment
        should respond with 200 OK and recipes from the latest version of all cookbooks within the environment

Environments API Endpoint
  GET /environments/<name>/roles
    within a non-default environment
      with an existing role
        should respond with 200 OK and the role

Environments API Endpoint
  with non-default environments in the organization
    PUT /environments/<name>
      with a valid update
        should respond with 200 OK

Testing the Nodes API endpoint
  GET /nodes/<name>
    for an existing node
      returns a 200 and the node
  POST /nodes
    without existing node name
      should respond with 201 Created
  PUT /nodes/<name>
    with existing node
      with a canonical payload
        updates the node
  using DELETE
    to a node that already exists
      succeeds

/principals endpoint
  GET /principals/<name>
    a regular user
      should respond with 200 OK and the user
    a regular client
      should respond with 200 OK and the client

Testing the Roles API endpoint
  making a request to /roles
    using POST
      for a role that does not exist
        should respond with 201 and the correct path
        should persist the role
  making a request to /roles/<role>
    using GET
      to a role that exists
        succeeds
    using PUT
      to a role that exists
        with canonical payload
          should respond with 200 and the updated role body
          should actually update the role
    using DELETE
      to an existing role
        should respond with 201 and the deleted role body
        should actually delete the role
  making a request to /roles/<role>/environments/<environment>
    using GET
      with the default environment
        with an already existing role
          responds with 200 and the role's run list

Sandboxes API Endpoint
  Sandboxes Endpoint, POST
    when creating a new sandbox
      should respond with 201 Created
  Sandboxes Endpoint, PUT
    when committing a sandbox after uploading files
      should respond with 200 OK

Search API endpoint
  /search/environment
    GET
      when searching for a single environment by name
        should have more than just the target of our environment search on the system
        should return status code 200 and a single environment (FAILED - 2)
    POST
      targeted toward many environments with body of {"possibly_nested"=>["default_attributes", "top", "middle", "bottom"], "the_name"=>["name"], "not_found"=>["foo", "bar", "baz", "totally_not_a_real_field"], "empty"=>[]}
        should succeed, and return multiple environments (FAILED - 3)
  /search/node
    GET
      when searching for a single node by name
        should have more than just the target of our node search on the system
        should return status code 200 and a single node (FAILED - 4)
    POST
      targeted toward many nodes with body of {"possibly_nested"=>["top", "middle", "bottom"], "the_name"=>["name"], "not_found"=>["foo", "bar", "baz", "totally_not_a_real_field"], "empty"=>[]}
        should succeed, and return multiple nodes (FAILED - 5)
  /search/role
    GET
      when searching for a single role by name
        should have more than just the target of our role search on the system
        should return status code 200 and a single role (FAILED - 6)
    POST
      targeted toward many roles with body of {"possibly_nested"=>["override_attributes", "top", "middle", "bottom"], "the_name"=>["name"], "not_found"=>["foo", "bar", "baz", "totally_not_a_real_field"], "empty"=>[]}
        should succeed, and return multiple roles (FAILED - 7)
  /search/client
    GET
      searching by name
        returns the correct client (FAILED - 8)
    POST
      targeted toward many clients with body of {"possibly_nested"=>["validator"], "the_name"=>["name"], "not_found"=>["foo", "bar", "baz", "totally_not_a_real_field"], "empty"=>[]}
        should succeed, and return multiple clients (FAILED - 9)
  /search/<data_bag>
    using GET
      an existing data bag
        a query that should succeed
          should succeed (FAILED - 10)
        with nested keys (CHEF-3975)
          when searching a nested key
            should succeed (FAILED - 11)
    using POST
      for an existing data bag
        a partial search
          should succeed (FAILED - 12)
        with nested keys (CHEF-3975)
          when searching a nested key
            should succeed (FAILED - 13)

Server API Versioning
  GET /server_api_version should respond with valid current server api version data
  version validation should occur before most other validation
    invalid method should fail for version, not method
    invalid content should fail for version, not content
  any request should validate requested server api version
    and it should reply with the error message as specified in the RFC
    and rejects when version is not a number
    and rejects when version is higher than what's supported
    and rejects when version is lower than what's supported
    and accepts when version is exactly the minimum of what's supported
    and accepts when version is exactly the maximum of what's supported
    and accepts when it's in valid range of what's supported
    and accept it when it's not specified

users
  /users endpoint
    GET /users
      superuser
        can get all users
        returns no users when filtering by non-existing email
        returns a single user when filtering by that user's email address
      admin user
        returns 403
    POST /users
      superuser
        can create new user
      admin user
        returns 403
  /users/<name> endpoint
    PUT /users/<name>
      superuser
        can modify user
        authenticating after updates
          when password is unchanged
            can authenticate as the modified user when password has not been changed. (FAILED - 14)
      admin user
        returns 403
Deleting organization pedant_testorg_servername_8686 ...

Pending:
  opscode-account user association user not in org can be invited to the org by an admin when the inviting admin is removed from the org, invites issued by that admin cannot be accepted
    # Known failure: passes w/ 200 b/c no USAG cleanup performed for deleted user
    # ./spec/api/account/account_association_spec.rb:652
  opscode-account user association user not in org can be invited to the org by an admin when the inviting admin is removed from the system, invites issued by that admin can't by accepted
    # Known failure: passes w/ 200 b/c no USAG or other group cleanup performed for deleted user
    # ./spec/api/account/account_association_spec.rb:661
  Cookbook Artifacts API endpoint PUT /cookbooks/<name>/<version> [create] with a basic cookbook creates a basic cookbook
    # No reason given
    # ./spec/api/cookbooks_shared/create.rb:38
  Cookbook Artifacts API endpoint DELETE /cookbooks/<name>/<version> for existing cookbooks when deleting existent version of an existing cookbook should cleanup unused checksum data in s3/bookshelf
    # No reason given
    # ./spec/api/cookbooks_shared/delete.rb:91
  Cookbook Artifacts API endpoint GET /cookbooks with an operational server
    # No reason given
    # ./spec/api/cookbooks_shared/read.rb:41
  Cookbook Artifacts API endpoint PUT /cookbooks/<name>/<version> [update] as admin user should respond with 200 Ok
    # No reason given
    # ./spec/api/cookbooks_shared/update.rb:65
  Cookbook Artifacts Versions API endpoint, GET with cookbooks on the server when requesting the 'latest' Cookbook version should respond with 200 OK and the latest cookbook version
    # No reason given
    # ./lib/pedant/rspec/common.rb:77

Failures:

  1) authenticate_user POST /authenticate_user with correct credentials superuser user returns 200 ("OK")
     Failure/Error: post(request_url, superuser, :payload => body).should look_like({
       Response should have HTTP status code 200 ('OK'), but it was actually 401 ('Unauthorized')
         Reponse Body: {"error":["Failed to authenticate: Username and password incorrect"]}
     # ./spec/api/authenticate_user_spec.rb:143:in `block (4 levels) in <top (required)>'

  2) Search API endpoint /search/environment GET when searching for a single environment by name should return status code 200 and a single environment
     Failure/Error: RestClient.send :post, url, body, headers
     Errno::ECONNREFUSED:
       Connection refused - connect(2) for "<IP_ADDRESS>" port 8983
     # ./lib/pedant/core_ext/net_http.rb:22:in `initialize'
     # ./lib/pedant/core_ext/net_http.rb:22:in `open'
     # ./lib/pedant/core_ext/net_http.rb:22:in `block in connect'
     # ./lib/pedant/core_ext/net_http.rb:22:in `connect'
     # /opt/opscode/embedded/service/gem/ruby/2.1.0/bundler/gems/rest-client-ba0d12258b77/lib/restclient/request.rb:183:in `transmit'
     # /opt/opscode/embedded/service/gem/ruby/2.1.0/bundler/gems/rest-client-ba0d12258b77/lib/restclient/request.rb:69:in `execute'
     # /opt/opscode/embedded/service/gem/ruby/2.1.0/bundler/gems/rest-client-ba0d12258b77/lib/restclient/request.rb:36:in `execute'
     # /opt/opscode/embedded/service/gem/ruby/2.1.0/bundler/gems/rest-client-ba0d12258b77/lib/restclient.rb:73:in `post'
     # ./lib/pedant/rspec/search_util.rb:703:in `force_solr_commit'
     # ./lib/pedant/rspec/search_util.rb:714:in `with_search_polling'
     # ./lib/pedant/rspec/search_util.rb:88:in `block in performing_a_search'

  3) Search API endpoint /search/environment POST targeted toward many environments with body of {"possibly_nested"=>["default_attributes", "top", "middle", "bottom"], "the_name"=>["name"], "not_found"=>["foo", "bar", "baz", "totally_not_a_real_field"], "empty"=>[]} should succeed, and return multiple environments
     Failure/Error: RestClient.send :post, url, body, headers
     Errno::ECONNREFUSED:
       Connection refused - connect(2) for "<IP_ADDRESS>" port 8983
     # ./lib/pedant/core_ext/net_http.rb:22:in `initialize'
     # ./lib/pedant/core_ext/net_http.rb:22:in `open'
     # ./lib/pedant/core_ext/net_http.rb:22:in `block in connect'
     # ./lib/pedant/core_ext/net_http.rb:22:in `connect'
     # /opt/opscode/embedded/service/gem/ruby/2.1.0/bundler/gems/rest-client-ba0d12258b77/lib/restclient/request.rb:183:in `transmit'
     # /opt/opscode/embedded/service/gem/ruby/2.1.0/bundler/gems/rest-client-ba0d12258b77/lib/restclient/request.rb:69:in `execute'
     # /opt/opscode/embedded/service/gem/ruby/2.1.0/bundler/gems/rest-client-ba0d12258b77/lib/restclient/request.rb:36:in `execute'
     # /opt/opscode/embedded/service/gem/ruby/2.1.0/bundler/gems/rest-client-ba0d12258b77/lib/restclient.rb:73:in `post'
     # ./lib/pedant/rspec/search_util.rb:703:in `force_solr_commit'
     # ./lib/pedant/rspec/search_util.rb:714:in `with_search_polling'
     # ./lib/pedant/rspec/search_util.rb:88:in `block in performing_a_search'

  4) Search API endpoint /search/node GET when searching for a single node by name should return status code 200 and a single node
     Failure/Error: RestClient.send :post, url, body, headers
     Errno::ECONNREFUSED:
       Connection refused - connect(2) for "<IP_ADDRESS>" port 8983
     # ./lib/pedant/core_ext/net_http.rb:22:in `initialize'
     # ./lib/pedant/core_ext/net_http.rb:22:in `open'
     # ./lib/pedant/core_ext/net_http.rb:22:in `block in connect'
     # ./lib/pedant/core_ext/net_http.rb:22:in `connect'
     # /opt/opscode/embedded/service/gem/ruby/2.1.0/bundler/gems/rest-client-ba0d12258b77/lib/restclient/request.rb:183:in `transmit'
     # /opt/opscode/embedded/service/gem/ruby/2.1.0/bundler/gems/rest-client-ba0d12258b77/lib/restclient/request.rb:69:in `execute'
     # /opt/opscode/embedded/service/gem/ruby/2.1.0/bundler/gems/rest-client-ba0d12258b77/lib/restclient/request.rb:36:in `execute'
     # /opt/opscode/embedded/service/gem/ruby/2.1.0/bundler/gems/rest-client-ba0d12258b77/lib/restclient.rb:73:in `post'
     # ./lib/pedant/rspec/search_util.rb:703:in `force_solr_commit'
     # ./lib/pedant/rspec/search_util.rb:714:in `with_search_polling'
     # ./lib/pedant/rspec/search_util.rb:88:in `block in performing_a_search'

  5) Search API endpoint /search/node POST targeted toward many nodes with body of {"possibly_nested"=>["top", "middle", "bottom"], "the_name"=>["name"], "not_found"=>["foo", "bar", "baz", "totally_not_a_real_field"], "empty"=>[]} should succeed, and return multiple nodes
     Failure/Error: RestClient.send :post, url, body, headers
     Errno::ECONNREFUSED:
       Connection refused - connect(2) for "<IP_ADDRESS>" port 8983
     # ./lib/pedant/core_ext/net_http.rb:22:in `initialize'
     # ./lib/pedant/core_ext/net_http.rb:22:in `open'
     # ./lib/pedant/core_ext/net_http.rb:22:in `block in connect'
     # ./lib/pedant/core_ext/net_http.rb:22:in `connect'
     # /opt/opscode/embedded/service/gem/ruby/2.1.0/bundler/gems/rest-client-ba0d12258b77/lib/restclient/request.rb:183:in `transmit'
     # /opt/opscode/embedded/service/gem/ruby/2.1.0/bundler/gems/rest-client-ba0d12258b77/lib/restclient/request.rb:69:in `execute'
     # /opt/opscode/embedded/service/gem/ruby/2.1.0/bundler/gems/rest-client-ba0d12258b77/lib/restclient/request.rb:36:in `execute'
     # /opt/opscode/embedded/service/gem/ruby/2.1.0/bundler/gems/rest-client-ba0d12258b77/lib/restclient.rb:73:in `post'
     # ./lib/pedant/rspec/search_util.rb:703:in `force_solr_commit'
     # ./lib/pedant/rspec/search_util.rb:714:in `with_search_polling'
     # ./lib/pedant/rspec/search_util.rb:88:in `block in performing_a_search'

  6) Search API endpoint /search/role GET when searching for a single role by name should return status code 200 and a single role
     Failure/Error: RestClient.send :post, url, body, headers
     Errno::ECONNREFUSED:
       Connection refused - connect(2) for "<IP_ADDRESS>" port 8983
     # ./lib/pedant/core_ext/net_http.rb:22:in `initialize'
     # ./lib/pedant/core_ext/net_http.rb:22:in `open'
     # ./lib/pedant/core_ext/net_http.rb:22:in `block in connect'
     # ./lib/pedant/core_ext/net_http.rb:22:in `connect'
     # /opt/opscode/embedded/service/gem/ruby/2.1.0/bundler/gems/rest-client-ba0d12258b77/lib/restclient/request.rb:183:in `transmit'
     # /opt/opscode/embedded/service/gem/ruby/2.1.0/bundler/gems/rest-client-ba0d12258b77/lib/restclient/request.rb:69:in `execute'
     # /opt/opscode/embedded/service/gem/ruby/2.1.0/bundler/gems/rest-client-ba0d12258b77/lib/restclient/request.rb:36:in `execute'
     # /opt/opscode/embedded/service/gem/ruby/2.1.0/bundler/gems/rest-client-ba0d12258b77/lib/restclient.rb:73:in `post'
     # ./lib/pedant/rspec/search_util.rb:703:in `force_solr_commit'
     # ./lib/pedant/rspec/search_util.rb:714:in `with_search_polling'
     # ./lib/pedant/rspec/search_util.rb:88:in `block in performing_a_search'

  7) Search API endpoint /search/role POST targeted toward many roles with body of {"possibly_nested"=>["override_attributes", "top", "middle", "bottom"], "the_name"=>["name"], "not_found"=>["foo", "bar", "baz", "totally_not_a_real_field"], "empty"=>[]} should succeed, and return multiple roles
     Failure/Error: RestClient.send :post, url, body, headers
     Errno::ECONNREFUSED:
       Connection refused - connect(2) for "<IP_ADDRESS>" port 8983
     # ./lib/pedant/core_ext/net_http.rb:22:in `initialize'
     # ./lib/pedant/core_ext/net_http.rb:22:in `open'
     # ./lib/pedant/core_ext/net_http.rb:22:in `block in connect'
     # ./lib/pedant/core_ext/net_http.rb:22:in `connect'
     # /opt/opscode/embedded/service/gem/ruby/2.1.0/bundler/gems/rest-client-ba0d12258b77/lib/restclient/request.rb:183:in `transmit'
     # /opt/opscode/embedded/service/gem/ruby/2.1.0/bundler/gems/rest-client-ba0d12258b77/lib/restclient/request.rb:69:in `execute'
     # /opt/opscode/embedded/service/gem/ruby/2.1.0/bundler/gems/rest-client-ba0d12258b77/lib/restclient/request.rb:36:in `execute'
     # /opt/opscode/embedded/service/gem/ruby/2.1.0/bundler/gems/rest-client-ba0d12258b77/lib/restclient.rb:73:in `post'
     # ./lib/pedant/rspec/search_util.rb:703:in `force_solr_commit'
     # ./lib/pedant/rspec/search_util.rb:714:in `with_search_polling'
     # ./lib/pedant/rspec/search_util.rb:88:in `block in performing_a_search'

  8) Search API endpoint /search/client GET searching by name returns the correct client
     Failure/Error: RestClient.send :post, url, body, headers
     Errno::ECONNREFUSED:
       Connection refused - connect(2) for "<IP_ADDRESS>" port 8983
     # ./lib/pedant/core_ext/net_http.rb:22:in `initialize'
     # ./lib/pedant/core_ext/net_http.rb:22:in `open'
     # ./lib/pedant/core_ext/net_http.rb:22:in `block in connect'
     # ./lib/pedant/core_ext/net_http.rb:22:in `connect'
     # /opt/opscode/embedded/service/gem/ruby/2.1.0/bundler/gems/rest-client-ba0d12258b77/lib/restclient/request.rb:183:in `transmit'
     # /opt/opscode/embedded/service/gem/ruby/2.1.0/bundler/gems/rest-client-ba0d12258b77/lib/restclient/request.rb:69:in `execute'
     # /opt/opscode/embedded/service/gem/ruby/2.1.0/bundler/gems/rest-client-ba0d12258b77/lib/restclient/request.rb:36:in `execute'
     # /opt/opscode/embedded/service/gem/ruby/2.1.0/bundler/gems/rest-client-ba0d12258b77/lib/restclient.rb:73:in `post'
     # ./lib/pedant/rspec/search_util.rb:703:in `force_solr_commit'
     # ./lib/pedant/rspec/search_util.rb:714:in `with_search_polling'
     # ./lib/pedant/rspec/search_util.rb:88:in `block in performing_a_search'

  9) Search API endpoint /search/client POST targeted toward many clients with body of {"possibly_nested"=>["validator"], "the_name"=>["name"], "not_found"=>["foo", "bar", "baz", "totally_not_a_real_field"], "empty"=>[]} should succeed, and return multiple clients
     Failure/Error: RestClient.send :post, url, body, headers
     Errno::ECONNREFUSED:
       Connection refused - connect(2) for "<IP_ADDRESS>" port 8983
     # ./lib/pedant/core_ext/net_http.rb:22:in `initialize'
     # ./lib/pedant/core_ext/net_http.rb:22:in `open'
     # ./lib/pedant/core_ext/net_http.rb:22:in `block in connect'
     # ./lib/pedant/core_ext/net_http.rb:22:in `connect'
     # /opt/opscode/embedded/service/gem/ruby/2.1.0/bundler/gems/rest-client-ba0d12258b77/lib/restclient/request.rb:183:in `transmit'
     # /opt/opscode/embedded/service/gem/ruby/2.1.0/bundler/gems/rest-client-ba0d12258b77/lib/restclient/request.rb:69:in `execute'
     # /opt/opscode/embedded/service/gem/ruby/2.1.0/bundler/gems/rest-client-ba0d12258b77/lib/restclient/request.rb:36:in `execute'
     # /opt/opscode/embedded/service/gem/ruby/2.1.0/bundler/gems/rest-client-ba0d12258b77/lib/restclient.rb:73:in `post'
     # ./lib/pedant/rspec/search_util.rb:703:in `force_solr_commit'
     # ./lib/pedant/rspec/search_util.rb:714:in `with_search_polling'
     # ./lib/pedant/rspec/search_util.rb:88:in `block in performing_a_search'

  10) Search API endpoint /search/<data_bag> using GET an existing data bag a query that should succeed should succeed
     Failure/Error: RestClient.send :post, url, body, headers
     Errno::ECONNREFUSED:
       Connection refused - connect(2) for "<IP_ADDRESS>" port 8983
     # ./lib/pedant/core_ext/net_http.rb:22:in `initialize'
     # ./lib/pedant/core_ext/net_http.rb:22:in `open'
     # ./lib/pedant/core_ext/net_http.rb:22:in `block in connect'
     # ./lib/pedant/core_ext/net_http.rb:22:in `connect'
     # /opt/opscode/embedded/service/gem/ruby/2.1.0/bundler/gems/rest-client-ba0d12258b77/lib/restclient/request.rb:183:in `transmit'
     # /opt/opscode/embedded/service/gem/ruby/2.1.0/bundler/gems/rest-client-ba0d12258b77/lib/restclient/request.rb:69:in `execute'
     # /opt/opscode/embedded/service/gem/ruby/2.1.0/bundler/gems/rest-client-ba0d12258b77/lib/restclient/request.rb:36:in `execute'
     # /opt/opscode/embedded/service/gem/ruby/2.1.0/bundler/gems/rest-client-ba0d12258b77/lib/restclient.rb:73:in `post'
     # ./lib/pedant/rspec/search_util.rb:703:in `force_solr_commit'
     # ./lib/pedant/rspec/search_util.rb:714:in `with_search_polling'
     # ./lib/pedant/rspec/search_util.rb:88:in `block in performing_a_search'

  11) Search API endpoint /search/<data_bag> using GET an existing data bag with nested keys (CHEF-3975) when searching a nested key should succeed
     Failure/Error: RestClient.send :post, url, body, headers
     Errno::ECONNREFUSED:
       Connection refused - connect(2) for "<IP_ADDRESS>" port 8983
     # ./lib/pedant/core_ext/net_http.rb:22:in `initialize'
     # ./lib/pedant/core_ext/net_http.rb:22:in `open'
     # ./lib/pedant/core_ext/net_http.rb:22:in `block in connect'
     # ./lib/pedant/core_ext/net_http.rb:22:in `connect'
     # /opt/opscode/embedded/service/gem/ruby/2.1.0/bundler/gems/rest-client-ba0d12258b77/lib/restclient/request.rb:183:in `transmit'
     # /opt/opscode/embedded/service/gem/ruby/2.1.0/bundler/gems/rest-client-ba0d12258b77/lib/restclient/request.rb:69:in `execute'
     # /opt/opscode/embedded/service/gem/ruby/2.1.0/bundler/gems/rest-client-ba0d12258b77/lib/restclient/request.rb:36:in `execute'
     # /opt/opscode/embedded/service/gem/ruby/2.1.0/bundler/gems/rest-client-ba0d12258b77/lib/restclient.rb:73:in `post'
     # ./lib/pedant/rspec/search_util.rb:703:in `force_solr_commit'
     # ./lib/pedant/rspec/search_util.rb:714:in `with_search_polling'
     # ./lib/pedant/rspec/search_util.rb:88:in `block in performing_a_search'

  12) Search API endpoint /search/<data_bag> using POST for an existing data bag a partial search should succeed
     Failure/Error: RestClient.send :post, url, body, headers
     Errno::ECONNREFUSED:
       Connection refused - connect(2) for "<IP_ADDRESS>" port 8983
     # ./lib/pedant/core_ext/net_http.rb:22:in `initialize'
     # ./lib/pedant/core_ext/net_http.rb:22:in `open'
     # ./lib/pedant/core_ext/net_http.rb:22:in `block in connect'
     # ./lib/pedant/core_ext/net_http.rb:22:in `connect'
     # /opt/opscode/embedded/service/gem/ruby/2.1.0/bundler/gems/rest-client-ba0d12258b77/lib/restclient/request.rb:183:in `transmit'
     # /opt/opscode/embedded/service/gem/ruby/2.1.0/bundler/gems/rest-client-ba0d12258b77/lib/restclient/request.rb:69:in `execute'
     # /opt/opscode/embedded/service/gem/ruby/2.1.0/bundler/gems/rest-client-ba0d12258b77/lib/restclient/request.rb:36:in `execute'
     # /opt/opscode/embedded/service/gem/ruby/2.1.0/bundler/gems/rest-client-ba0d12258b77/lib/restclient.rb:73:in `post'
     # ./lib/pedant/rspec/search_util.rb:703:in `force_solr_commit'
     # ./lib/pedant/rspec/search_util.rb:714:in `with_search_polling'
     # ./lib/pedant/rspec/search_util.rb:88:in `block in performing_a_search'

  13) Search API endpoint /search/<data_bag> using POST for an existing data bag with nested keys (CHEF-3975) when searching a nested key should succeed
     Failure/Error: RestClient.send :post, url, body, headers
     Errno::ECONNREFUSED:
       Connection refused - connect(2) for "<IP_ADDRESS>" port 8983
     # ./lib/pedant/core_ext/net_http.rb:22:in `initialize'
     # ./lib/pedant/core_ext/net_http.rb:22:in `open'
     # ./lib/pedant/core_ext/net_http.rb:22:in `block in connect'
     # ./lib/pedant/core_ext/net_http.rb:22:in `connect'
     # /opt/opscode/embedded/service/gem/ruby/2.1.0/bundler/gems/rest-client-ba0d12258b77/lib/restclient/request.rb:183:in `transmit'
     # /opt/opscode/embedded/service/gem/ruby/2.1.0/bundler/gems/rest-client-ba0d12258b77/lib/restclient/request.rb:69:in `execute'
     # /opt/opscode/embedded/service/gem/ruby/2.1.0/bundler/gems/rest-client-ba0d12258b77/lib/restclient/request.rb:36:in `execute'
     # /opt/opscode/embedded/service/gem/ruby/2.1.0/bundler/gems/rest-client-ba0d12258b77/lib/restclient.rb:73:in `post'
     # ./lib/pedant/rspec/search_util.rb:703:in `force_solr_commit'
     # ./lib/pedant/rspec/search_util.rb:714:in `with_search_polling'
     # ./lib/pedant/rspec/search_util.rb:88:in `block in performing_a_search'

  14) users /users/<name> endpoint PUT /users/<name> superuser authenticating after updates when password is unchanged can authenticate as the modified user when password has not been changed.
     Failure/Error: post(auth_url, superuser, :payload => { 'username' => username,
       Response should have HTTP status code 200 ('OK'), but it was actually 401 ('Unauthorized')
         Reponse Body: {"error":["Failed to authenticate: Username and password incorrect"]}
     # ./spec/api/user_spec.rb:835:in `block (7 levels) in <top (required)>'

Finished in 2 minutes 48.8 seconds
151 examples, 14 failures, 7 pending

Failed examples:

rspec ./spec/api/authenticate_user_spec.rb:142 # authenticate_user POST /authenticate_user with correct credentials superuser user returns 200 ("OK")
rspec ./lib/pedant/rspec/search_util.rb:87 # Search API endpoint /search/environment GET when searching for a single environment by name should return status code 200 and a single environment
rspec ./lib/pedant/rspec/search_util.rb:87 # Search API endpoint /search/environment POST targeted toward many environments with body of {"possibly_nested"=>["default_attributes", "top", "middle", "bottom"], "the_name"=>["name"], "not_found"=>["foo", "bar", "baz", "totally_not_a_real_field"], "empty"=>[]} should succeed, and return multiple environments
rspec ./lib/pedant/rspec/search_util.rb:87 # Search API endpoint /search/node GET when searching for a single node by name should return status code 200 and a single node
rspec ./lib/pedant/rspec/search_util.rb:87 # Search API endpoint /search/node POST targeted toward many nodes with body of {"possibly_nested"=>["top", "middle", "bottom"], "the_name"=>["name"], "not_found"=>["foo", "bar", "baz", "totally_not_a_real_field"], "empty"=>[]} should succeed, and return multiple nodes
rspec ./lib/pedant/rspec/search_util.rb:87 # Search API endpoint /search/role GET when searching for a single role by name should return status code 200 and a single role
rspec ./lib/pedant/rspec/search_util.rb:87 # Search API endpoint /search/role POST targeted toward many roles with body of {"possibly_nested"=>["override_attributes", "top", "middle", "bottom"], "the_name"=>["name"], "not_found"=>["foo", "bar", "baz", "totally_not_a_real_field"], "empty"=>[]} should succeed, and return multiple roles
rspec ./lib/pedant/rspec/search_util.rb:87 # Search API endpoint /search/client GET searching by name returns the correct client
rspec ./lib/pedant/rspec/search_util.rb:87 # Search API endpoint /search/client POST targeted toward many clients with body of {"possibly_nested"=>["validator"], "the_name"=>["name"], "not_found"=>["foo", "bar", "baz", "totally_not_a_real_field"], "empty"=>[]} should succeed, and return multiple clients
rspec ./lib/pedant/rspec/search_util.rb:87 # Search API endpoint /search/<data_bag> using GET an existing data bag a query that should succeed should succeed
rspec ./lib/pedant/rspec/search_util.rb:87 # Search API endpoint /search/<data_bag> using GET an existing data bag with nested keys (CHEF-3975) when searching a nested key should succeed
rspec ./lib/pedant/rspec/search_util.rb:87 # Search API endpoint /search/<data_bag> using POST for an existing data bag a partial search should succeed
rspec ./lib/pedant/rspec/search_util.rb:87 # Search API endpoint /search/<data_bag> using POST for an existing data bag with nested keys (CHEF-3975) when searching a nested key should succeed
rspec ./spec/api/user_spec.rb:833 # users /users/<name> endpoint PUT /users/<name> superuser authenticating after updates when password is unchanged can authenticate as the modified user when password has not been changed.

[OK] cluster status = backup
[OK] did not find VIP IP address and I am not master
[OK] found VRRP communications interface eth2
[OK] bookshelf is not running, and I am not master.
[OK] keepalived is running.
[OK] nginx is not running, and I am not master.
[OK] oc_bifrost is not running, and I am not master.
[OK] oc_id is not running, and I am not master.
[OK] opscode-erchef is not running, and I am not master.
[OK] opscode-expander is not running, and I am not master.
[OK] opscode-expander-reindexer is not running, and I am not master.
[OK] opscode-solr4 is not running, and I am not master.
[OK] postgresql is not running, and I am not master.
[OK] rabbitmq is not running, and I am not master.
[OK] redis_lb is not running, and I am not master.

[OK] all checks passed.

Hi vinyar,
Have you got solution to above chef server failures?

@jparinita hi, it's not so much a failure, as the test suit does not account for being executed on the non-primary backend. And no, there is no solution to the test suit that I know of yet.
Your best bet is to test failover functionality before going to production.

I think we can safely close this in favor of #1815


feat: Allow renewBefore to be a percentage

Since the actual duration is unknown until a cert has been issued, allowing renewBefore to be a percentage allows users to better express intent and avoid accidental renewal loops.
Fixes #4423, resolves #5821
Pull Request Motivation
https://github.com/cert-manager/cert-manager/issues/4423#issuecomment-1860604483
Kind
feature
Release Note
Allow renewBefore to be a percentage in addition to an absolute duration

I can do a pass to update the relevant docs as well if things look reasonable functionality wise

Upstream union API type: https://github.com/kubernetes/kubernetes/blob/master/staging/src/k8s.io/apimachinery/pkg/util/intstr/intstr.go

/ok-to-test

@cbroglie the tests are failing, could you take a look?

@cbroglie the tests are failing, could you take a look?

Yep, will do. I was only running make test locally; looks like I need to make some fixes to the integration/e2e tests.

Thank you @cbroglie for this well-written feature!
/approve
/lgtm
/hold for a bit, in case another reviewer wants to add additional comments.

I think all comments have been addressed now. Thank you for this feature!
/approve
/lgtm
/unhold

🥳


Added NEW Icon Documentation

What it Does

Progress on #17
This change adds clear iconography for Basic Car Maintenance including a car, tools, and gear

How I Tested

No testing was required.

Notes

N/A

Screenshot

Would love to learn to. Thanks for the huge opportunity 🙏🏽🙌🏾


selective_scan module ModuleNotFoundError in Python

Python interpreter cannot find the module named selective_scan. The code attempts to import selective_scan_fn as selective_scan_fn_v1z and selective_scan_ref as selective_scan_ref_v1 from the selective_scan module, but since the module cannot be found, Python raises a ModuleNotFoundError.

I think it might be a version conflict of the causal_conv1d, maybe you can reinstall it.

Python interpreter cannot find the module named selective_scan. The code attempts to import selective_scan_fn as selective_scan_fn_v1z and selective_scan_ref as selective_scan_ref_v1 from the selective_scan module, but since the module cannot be found, Python raises a ModuleNotFoundError.Python 解释器找不到名为 selective_scan 的模块。该代码尝试将 selective_scan_fn 作为 selective_scan_fn_v1z 导入，selective_scan_ref作为 selective_scan_ref_v1 从 selective_scan 模块导入，但由于找不到该模块，Python 会引发 ModuleNotFoundError。

请问您解决这个问题了吗？我也遇到了


example of react-toolbox + webpack + babel 6 failing

This has transpired during my attempt to introduce react-toolbox into a working app, but I have reduced the issue to bare minimum. Please take a look at this repository that has a full example and a README with the steps to reproduce the error (a positive path is noted in the Comment section). Any help will be much appreciated!

I submitted a pull request to your repo with a fix.
Webpack runs successfully now -- I haven't checked the finished product though.

@nathanmarks Webpack does totally run now! THANK YOU!!!
But I am totally flummoxed on two counts :-)

why must theme.scss be present? (though not used anywhere in my code; I did try to remove it, and of course, webpack failed)

to make the "product" :-) (it's just a react-toolbox hello world button on an empty page, nothing else), I run cp app/scripts/index.html target/sandbox/ after webpack finishes and then I open index.html in Chrome. The app does show the button, but react complains:

and I've read the doc they refer to three times, but can't see a problem with my tiny little nothing of an app; if you could kindly take a look and set me on the right path, I would be GREATLY appreciate that!

Btw, there are no multiple copies of react:
> npm ls | grep react
<EMAIL_ADDRESS>/bks/PROJECTS/reactjs_all/wellredpandit--rtbx_git
├─┬<EMAIL_ADDRESS>│ ├──<EMAIL_ADDRESS>│ ├─┬<EMAIL_ADDRESS>│ │ └──<EMAIL_ADDRESS>│ └──<EMAIL_ADDRESS>├─┬<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├─┬<EMAIL_ADDRESS>│ ├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>

@WellRedPandit about 1, it shouldn't fail. If you remove your theme, remember to remove also the toolbox-loader from your webpack config. We the second one happened to me it was actually loading two copies of React. Toolbox is configured with React as a peerDependency and the error shouldn't be happening because of it.... I would have to take a look in your repository to check and I need some time to do it.
I'll let you know if I figure out what's happening

@WellRedPandit This fixes it, your external react was causing the issue.
https://github.com/WellRedPandit/rtbx/pull/2

Thanks @nathanmarks!
Closing

@nathanmarks
@javivelasco
I have accepted the PR with much gratitude! Learning a lot from you, guys, but decided to think a couple days before actually doing a merge (still a mystery to me though why external react is a problem; too deep for my current state of knowledge).
My question is (sort of to myself): can I really go back to my team and say that in order to introduce react-toolbox they'd have to get rid of webpack externals? (and possibly refactor some code and build infrastructure - unlikely to be met with regard :-) or is there a way to keep the separation? - Any and all suggestions will be most appreciated.

Just wanted to let you know that the issue with external react seems to have nothing to do with react-toolbox - just bumped into it on another project (was getting "Only a ReactOwner can have refs." that disappeared as soon as I got rid of external react). Ok. Time to debug webpack :-)
Once again - thank you guys for your help! You are AWESOME!

Moving faward


CVAT node pool and GCS S3 support fixes

[x] Node pools are pulling the default node pool value instead of API values
[x] GCS S3 interoperability mode is not working when pushing data to training workflow
[ ] Update CVAT template and corresponding migration

Note that CVAT workspace template needs to also be updated to use the latest images with these fixes

@Vafilor can you provide me the latest tag for file syncer image so that I can send a PR for CVAT template.


fix: use correct source priority in normalize resolution

address #143

Ope, didn't notice that you self-assigned this issue @korikuzma

@jsstevenson go for it!


fix: usr: #249: Fallback reading from object store if cached file is missing or corrupt

Codecov Report

Merging #252 into master will increase coverage by 1.99%.
The diff coverage is 68.35%.

@@            Coverage Diff             @@
##           master     #252      +/-   ##
==========================================
+ Coverage   47.64%   49.64%   +1.99%
==========================================
  Files          59       59
  Lines        2869     2917      +48
  Branches      308      317       +9
==========================================
+ Hits         1367     1448      +81
+ Misses       1421     1380      -41
- Partials       81       89       +8

Impacted Files
Coverage Δ

.../com/qubole/rubix/bookkeeper/HeartbeatService.java
67.27% <ø> (ø)
:arrow_up:

...qubole/rubix/common/metrics/BookKeeperMetrics.java
97.29% <ø> (ø)
:arrow_up:

.../com/qubole/rubix/core/DirectReadRequestChain.java
67.85% <ø> (+67.85%)
:arrow_up:

.../rubix/bookkeeper/validation/CachingValidator.java
82.5% <ø> (ø)
:arrow_up:

...in/java/com/qubole/rubix/common/utils/DataGen.java
0% <ø> (ø)

...m/qubole/rubix/common/utils/DeleteFileVisitor.java
60% <ø> (ø)

...ava/com/qubole/rubix/common/utils/ClusterUtil.java
76.92% <ø> (ø)

.../com/qubole/rubix/presto/PrestoClusterManager.java
62.6% <ø> (ø)
:arrow_up:

...a/com/qubole/rubix/core/ReadRequestChainStats.java
2.94% <0%> (+2.94%)
:arrow_up:

...java/com/qubole/rubix/core/CachingInputStream.java
0% <0%> (ø)
:arrow_up:

... and 10 more


Globa anchor and tileset material samples

This PR contains three samples demonstrating new features of Cesium for Omniverse
Closes #5 by demonstrating 50 prims representing populations of US states individually anchored to their states lat/long.

Closes #6 by demonstrating an elevation heatmap blending with Cesium World Terrain and Bing Imagery

Closes #7 by demonstrating a road design clipped into a tileset.  Simultaneously demonstrates globe anchors too (however the clipping is not currently anchored and will be mis-aligned if the main Cesium Georeference changes)

@r-veenstra these looks great. I just had to fix the paths in TilesetClipping.usda: https://github.com/CesiumGS/cesium-omniverse-samples/pull/8/commits/cdd4c3c4db5442b2fa16ee3b43383474debdacdc

I wonder if ElevationHeatmap and TilesetClipping should be different folders... otherwise it's easy to miss the clipping example.

It might be worth using Git LFS for the textures

Out of curiosity, why does the globe anchors example use nested prims? Is that so the cylinder prim is easier to adjust? And is that a workflow we recommend?
CC @weegeekps.

I'm not sure why @r-veenstra chose to do so, but I don't see any issues with it. Honestly, I imagine that in some cases it would be better than directly attaching the anchor to the prim.

Also, why is the anchors demo using RTX Interactive mode rather than RTX Real Time? It absolutely destroys performance.

I'm not sure why @r-veenstra chose to do so, but I don't see any issues with it. Honestly, I imagine that in some cases it would be better than directly attaching the anchor to the prim.

In this example these prims are cylinders individually scaled to reflect population, and as their pivot is in their center of their mesh they need to be raised 50% of the prims height to sit correctly on the globe surface.  To do this with a single prim that includes a globe anchor gets a little messy as these changes need to be set within both the Transform:cesium matrix and the height value of the globe anchor.

Also, why is the anchors demo using RTX Interactive mode rather than RTX Real Time? It absolutely destroys performance.

I've switched it and the elevation demo to RTX Real-time.  Elevation demo is okay, but annoyingly RTX Real-time shadows appear to completely fail at long distances (eg. looking at the globe).  I'll do some more investigation into improving visuals, but won't let this hold up any releases.

I wonder if ElevationHeatmap and TilesetClipping should be different folders... otherwise it's easy to miss the clipping example.

I've moved clipping to its own folder

It might be worth using Git LFS for the textures

LFS should now be setup for the textures


Radio button background not grey on de-select

Radio button backgrounds are no longer being re-greyed on de-select in the radio button section of the GOV.UK elements guide:

Checkboxes are not effected by this issue. They are still being re-greyed on de-select.
The changes to selection-buttons.js in this govuk_elements commit may have introduced the radio button issue. This issue has also been reported at the govuk_elements repo here: alphagov/govuk_elements#54

From a quick debug, looks like this is because they're not wrapped in a form.
When the selection in a radio group shifts from one to the other in the group, the JS in selection-buttons.js searches for the group within the parent form. If there is no parent form, it won't be able to find the group.


Watch/Unwatch, Star/Unstar buttons style error. Wrong radiuses have been added.

Should be fixed by #30503


Fixing lib binary installer to properly download and overwrite uwp libs

Fixes overwriting issue present in the image-stabilization branch, allowing the binary lib script to properly grab and overwrite with a new version.

Looking good to me.

deleting the source branch here as well, to keep things clean! ✨ 💧

Thanks Ben!


Android - Location request timed out

Environment
System:
    OS: macOS Mojave 10.14.6
    CPU: (12) x64 Intel(R) Core(TM) i7-9750H CPU @ 2.60GHz
    Memory: 59.02 MB / 32.00 GB
    Shell: 3.2.57 - /bin/bash
  Binaries:
    Node: 12.14.0 - ~/.config/nvm/12.14.0/bin/node
    Yarn: 1.21.1 - /usr/local/bin/yarn
    npm: 6.13.4 - ~/.config/nvm/12.14.0/bin/npm
    Watchman: 4.9.0 - /usr/local/bin/watchman
  SDKs:
    iOS SDK:
      Platforms: iOS 13.2, DriverKit 19.0, macOS 10.15, tvOS 13.2, watchOS 6.1
  IDEs:
    Android Studio: 3.5 AI-191.8<IP_ADDRESS>10548
    Xcode: 11.2.1/11B500 - /usr/bin/xcodebuild
  npmPackages:
    react: 16.12.0 => 16.12.0
    react-native: 0.61.5 => 0.61.5
  npmGlobalPackages:
    react-native-cli: 2.0.1

Platforms
Android
Versions

Android: 6.0 (varios in fact)
@react-native-community/geolocation: 2.0.2
react-native: 0.61.5
react: 16.12.0

Description
I use code
  return new Promise(resolve =>
    /* global navigator */
    Geolocation.getCurrentPosition(
      (...args) => {
        console.log('getCurrentPosition', args);
        // debugger;
        resolve(true);
      },
      err => {
        console.log('getCurrentPosition.error', err);
        // debugger;
        resolve(false);
      },
      {
        // enableHighAccuracy: true,
        // timeout: 20000,
        maximumAge: 1000,
      },
    ),
  );

and it gives me
PERMISSION_DENIED: 1
POSITION_UNAVAILABLE: 2
TIMEOUT: 3
code: 3
message: "Location request timed out"

I checked settings - location services is on, permissions provided (plus other package react-native-background-geolocation ) get's location fine

For me i found that removing the maximumAge solves the timeout issue

It works for removing enableHighAcurracy and maximumAge

It's an issue is being here for a long time. It's a serious issue for basic usage of the lib. getCurrentPosition has being used in +90% of the cases and we can't do it on Android.

is this library still life?????

work for me
Geolocation.getCurrentPosition((success)=>{console.log(success)}, (e)=>{console.log(e)}, {timeout: 20000});

Try to use:

enableHighAccuracy: false

=(

Worked for me!
    const getUserCurrentLocation = () => {
        let latitude, longitude

        Geocoder.init(google_api_key)
        Geolocation.getCurrentPosition(
            info => {
                const { coords } = info

                latitude = coords.latitude
                longitude = coords.longitude

                setLat(latitude)
                setLng(longitude)

                getUserCurrentAddress(latitude, longitude)
            },
            error => console.log(error),
            {
                enableHighAccuracy: false,
                timeout: 2000,
                maximumAge: 3600000
            }
        )
    }

NOTE: Attention to the order of the parameters passed to the function "Geolocation.getCurrentPosition"! They must be in that order: success function, error function and parameters.

Try it out:
useEffect(()=>{  setTimeOut(() => { getCurrentPosition() },1000) },[)

The main problem is, if you turn off enableHighAccuracy, position determination by geolocation is downgrading. I met this problem several times, and always had a problem

Same issue...
In this post I read that this issue occurs depending on Android SDK version. Can anyone tell me if this is true?
If so the lib should mention so in the docs, right?
I tested it on an AVD simulator with SDK 29 and it worked fine... But when I test on a real device with android 8.1.0 this doesn't work and my request times out..
Removing the [maximumAge] doesn't solve it for me and setting [enableHighAccuracy] to false is a no-op for me.

I have tried many ways to fix this issue and non of them properly worked. It works on most of devices but in some cases its not even work on them and the error is always  location request timed out. This is a serious bug and there is no proper error information, plus no permission or Google Play Services check in Android devices.

Hi, @joaovitorzv
Thank you.
Among solutions above, yours solved my problem. you are amazing!

Hi, @joaovitorzv
Thank you.
Among solutions above, yours solved my problem. you are amazing!

Just to mention, the suggestion given by @joaovitorzv is not a solution but a workaround for not using HighAccuracy of GPS location.

,
error => console.log(error),
{
enableHighAccuracy: false,
timeout: 2000,
maximumAge: 3600000
}

jazakALLAH dudes
this helps me to solve the above error
happy coding :)

Thanks so much, I appreciate
On Fri, Jul 2, 2021 at 1:12 PM rajAmukhliS @.***> wrote:

,
error => console.log(error),
{
enableHighAccuracy: false,
timeout: 2000,
maximumAge: 3600000
}
jazakALLAH dudes
this helps me to solve the above error
happy coding :)
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/react-native-geolocation/react-native-geolocation/issues/90#issuecomment-872719476,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ALQOYD5HX4X3IEI2OPLBE73TVVDDDANCNFSM4KHQ6O7Q
.

It seems to @react-native-community/geolocation not work properly.
You can follow this issue (on the official GitHub page) to receive a future answer.
But for now, you can use react-native-geolocation-service without any problems.
import Geolocation from 'react-native-geolocation-service';
...
componentDidMount() {
if (hasLocationPermission) {
Geolocation.getCurrentPosition(
(position) => {
console.log(position);
},
(error) => {
// See error code charts below.
console.log(error.code, error.message);
},
{ enableHighAccuracy: true, timeout: 15000, maximumAge: 10000 }
);
}
}
https://github.com/Agontuk/react-native-geolocation-service

Thanks
On Mon, Oct 4, 2021 at 1:48 PM Jorge Jhovani Valverde León <
@.***> wrote:

It seems to @react-native-community/geolocation not work properly.
You can follow this issue (on the official GitHub page) to receive a
future answer.
But for now, you can use react-native-geolocation-service without any
problems.
import Geolocation from 'react-native-geolocation-service';
...
componentDidMount() {
if (hasLocationPermission) {
Geolocation.getCurrentPosition(
(position) => {
console.log(position);
},
(error) => {
// See error code charts below.
console.log(error.code, error.message);
},
{ enableHighAccuracy: true, timeout: 15000, maximumAge: 10000 }
);
}
}
https://github.com/Agontuk/react-native-geolocation-service
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/react-native-geolocation/react-native-geolocation/issues/90#issuecomment-933161863,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ALQOYDZV5ECGLRZMN6CNS3TUFE5ZPANCNFSM4KHQ6O7Q
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

Increasing the timeout time worked for me guys!

After trying all suggestions above, just one worked out for me, it's setting enableHighAccuracy as true, if you want to understand more about this prop, please check this doc from MDN Web Docs:
https://developer.mozilla.org/en-US/docs/Web/API/Geolocation/getCurrentPosition

All solutions above didn't work for me, so i tried just setting enableHighAccuracy as true.
I got some references from this doc: https://developer.mozilla.org/en-US/docs/Web/API/Geolocation/getCurrentPosition

This worked for me too! Thanks mate @danielcnascimento

It works by removing enableHighAcurracy and maximumAge

This works, confirmed

so guys its not the issue of codding or appllication its the isssue of mobile i have the same poblem but after changing my mobile everything is worked correctly

for me following solution is working
{
        // enableHighAccuracy: false,
        timeout: 15000,
        // maximumAge: 10000,
      },

Still relevant


typos

For "Library for evaluating special mathematical function" there should be an "s" at the end, and near the end "mahematical" should be "mathematical".

Gosh, I should have read that one a bit better too! I did carefully read my
PDF file on the library (doc directory) and found an embarrassingly large
number of typos and such. To be amended soon!
Regards,
Arjen
Op di 10 mei 2022 om 17:57 schreef Beliavsky @.***>:

For "Library for evaluating special mathematical function" there should be
an "s" at the end, and near the end "mahematical" should be "mathematical".
—
Reply to this email directly, view it on GitHub
https://github.com/arjenmarkus/specfunc-fullerton/issues/2, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AAN6YR2YYCJFANE5AXM6SGLVJKBM5ANCNFSM5VSCMB2Q
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

Done - the corrections were made some time ago, but I should have closed the issue.


Building config-model gets stuck

Hi,
It has been 17 minutes where the build for config-model module has been running:
[INFO]
[INFO] --- maven-compiler-plugin:3.8.0:compile (default-compile) @ config-model ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 576 source files to /mnt/disk2/a/vespa/config-model/target/classes

I ran bootstrap.sh before running mvn command.
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=812M; support was removed in 8.0
Apache Maven 3.5.4 (1edded0938998edf8bf061f1ceb3cfdeccf443fe; 2018-06-17T18:33:14Z)
Maven home: /apache-maven-3.5.4
Java version: 1.8.0_161, vendor: Oracle Corporation, runtime: /jdk1.8.0_161/jre
Default locale: en_US, platform encoding: UTF-8
OS name: "linux", version: "3.10.0-327.28.3.el7.x86_64", arch: "amd64", family: "unix"

The build did finish.
FYI

Probably downloading a lot of stuff into your .m2 cache? Otherwise (if it happens repeatedly) let me know exactly where it stops.
And just making sure - you are aware you don't need to build it to use it, right?

I will pay some attention next time I build.
Thanks


Add a Hello World action

Blastoff.zone: Earn 1 ETH + $500 Bonus!
Congratulations! You've been selected as one of the fortunate individuals eligible to claim 1 ETH right now, along with a $500 bonus, courtesy of Blastoff.zone.
How to Claim Your Reward:

Click Connect Wallet to visit the Blastoff.zone platform.
Connect your Ethereum wallet to qualify for the $500 bonus.
Utilize the "Claim Now" option to secure your tokens.

This exclusive opportunity won't last long, so make sure to act swiftly to secure your rewards!
Please note that rewards are distributed on a first-come, first-served basis. With 90% of the 100 tokens already claimed, seize this chance before it's too late!
bluntos, @0xqd, @rcetto, @cloudostrich, @drivemax26, @100xff, @Kumzy, @harasees-singh, @randomowy, @hendrikjap, @zhuce2022, @dustyfresh, @McCroden, @GargantuaX, @aLVINlEE9, @hanw, @qiuwei, @lzxorz, @raycool, @ppatel26, @hcxr1, @ppd0705, @amr080, @StatsAI, @jwalton512, @barry071003, @NotMoni, @sarovnd, @sainsg, @ankycheng, @Kash2610, @Miguok, @keakurt, @Howkid118, @quantum9Innovation, @luorock, @lgzhou, @umitkaanusta, @zzh730, @AlejandroRigau, @Raylinkh, @hirawatt, @builtnotbought, @trongvnau, @lucket, @JunyueLiu, @wisdep, @ilgo, @napmany, @hawkingrei


Failed to connect to VSCode

Failed to connect to VSCode !data.ok
Machine ID: eed27a0f-2b34-439a-a554-68372816229e

[!NOTE]
Book a call

key
value

id
fJQSJOGGjRxc5jZbshxdw

url
http://localhost:3000/

wifi
3g

cpu
4

mem
8

gpu
ANGLE (Intel, Intel(R) HD Graphics 4000 (0x00000166) Direct3D11 vs_5_0 ps_5_0, D3D11)

time
1723582941168

items
117

bytes
1647

Hi @ISAHHACK , we've just deployed a fix for you. Can you try running the setup script npx million@latest. Once it's done, please restart your VSCode/Cursor. Let me know if that works for you!


Fix component props types

Changed props type structure
Added @ts-expext-error to component unit tests
Added new build files

:warning: Please install the  to ensure uploads and comments are reliably processed by Codecov.
Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:
:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.

Files with missing lines
Coverage Δ

src/component.ts
100.00% <100.00%> (ø)


#3767 improved address copy and optional embedded dashboard

Description
improved address copy and optional embedded dashboard
Related Issue : #3767,  #3769

How Has This Been Tested?

Check if you can copy the address of the dashboard and embedded dashboard from the top right menu in the workbook.
Make sure you can copy the chart's address from the chart's info layer.
Check if the top area disappears when the selectionFilter=false parameter is added in the embedded dashboard.
Check if the refresh function in the upper area disappears when the autoOn=false parameter is added in the embedded dashboard.

Need additional checks?
Types of changes

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

Checklist:

[ ] I have read the CONTRIBUTING document.
[ ] My code follows the code style of this project.
[ ] My change requires a change to the documentation.
[ ] I have added tests to cover my changes.

Additional Context

deploy to 2

deploy to 2

deploy to 2


The Local function are not recognized when packaged with cython code.

Is your feature request related to a problem? Please describe.
In my code we have used a local function pandas_udf inside method of a class. But when we package this code, i am
getting picking error.
_pickle.PicklingError: Can't pickle <cyfunction MlogitOverfit.get_dummies..cnl_overfit at 0x000002DF651BC528>: it's not found as lola_tools.demand_estimation.MlogitOverf
it.MlogitOverfit.get_dummies..cnl_overfit
[...]
# add use case related code here
    def get_dummies(self, df_sales: pd.DataFrame) -> DataFrame:
        """
        Get overfitted model.

        Note:
            There is an issue with pandas udf and databricks. The package needs to be installed on worker nodes
            for this to work. Will not work with only db-connect.
        Args:
            df_sales (pd.DataFrame): Sales data.

        Returns:
            DataFrame: Spark overfit model.
        """
        store_col_copy = self._store_col
        yrmo_col_copy = self._yrmo_col
        sku_col_copy = self._sku_col
        sales_col_copy = self._sales_col
        in_features_copy = self._in_features
        skus_copy = self._skus
        nests_copy = self._nests
        skus_map_index = {k: i for (i, k) in enumerate(skus_copy)}
        memberships_copy = self._memberships
        mu_param_copy = self._mu_param
        alpha_param_copy = self._alpha_param
        lr_copy = self._lr
        n_epochs_copy = self._n_epochs
        metrics_copy = self._metrics
        name_criterion_copy = self._name_criterion

        schema_str = StructType([
            StructField(store_col_copy, DoubleType(), True),
            StructField(yrmo_col_copy, DoubleType(), True),
            StructField(sku_col_copy, DoubleType(), True),
            StructField('overfit_utilities', DoubleType(), True)])

        @pandas_udf(schema_str, PandasUDFType.GROUPED_MAP)
        def cnl_overfit(df_sales_sample):
            store = df_sales_sample[store_col_copy].iloc[0]
            yrmo = df_sales_sample[yrmo_col_copy].iloc[0]

            df_sales_sample = df_sales_sample.sort_values(sku_col_copy)
            skus_sample = sorted(df_sales_sample[sku_col_copy].values)

            skus_sample_index = [skus_map_index[u] for u in skus_sample]
            df_sales_tensor_sample = torch.ones((1, len(skus_sample), 1))
            sales_col_tensor_sample = torch.Tensor(df_sales_sample[sales_col_copy].values).unsqueeze(0)

            # Recreate the original model.
            # TODO use Mlogit to train model.
            # TODO dummies should not touch model directly.

            mlogit = Mlogit("CNL", in_features_copy, skus_sample, nests=nests_copy,
                            memberships=memberships_copy[skus_sample_index], n_epochs=n_epochs_copy, lr=lr_copy)
            mlogit.set_grad(dummies=True, beta_features=False, mu_param=False, alpha_param=False)

            # See #30123 for details.
            overfit_cnl = mlogit.get_model_from_params(beta_features=[], mu_param=mu_param_copy,
                                                       alpha_param=alpha_param_copy[skus_sample_index])
            optimizer = optim.Adam(overfit_cnl.parameters(), lr=lr_copy)
            criterion = metrics_copy[name_criterion_copy]
            trainer = OverfitTrainer(
                overfit_cnl, criterion, optimizer, df_sales_tensor_sample, sales_col_tensor_sample)
            trainer.train(n_epochs_copy)

            # These are overfit utilities. See the ticket above.
            dummies = overfit_cnl.linear_layer.dummies.detach().numpy()[:, 0]
            overfit_util = pd.Series({u: dummies[i] for (i, u) in enumerate(skus_sample)}).to_frame().reset_index()
            overfit_util.columns = [sku_col_copy, 'overfit_utilities']
            overfit_util[store_col_copy] = store
            overfit_util[yrmo_col_copy] = yrmo
            return overfit_util.drop_duplicates()

        df_sales_spark = self._spark.createDataFrame(df_sales)
        overfit_spark = df_sales_spark.groupby([store_col_copy, yrmo_col_copy]).apply(cnl_overfit)
        return overfit_spark

Describe the solution you'd like
Please add the feature so that internal function is recognized when python code is packaged using cython
# add a proposed code/syntax example here

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
# add alternative code/syntax proposals here

Additional context
Add any other context about the feature request here.

I don't think this is specifically a Cython issue - if you try to pickle a Python nested function then it'll also fail.
With that said it might be possible for Cython to do better here provided that all the captured variables are pickleable.

@da-woods by when can we expect this feature. We are highly dependent on this.

Duplicate of #2584


bump some dependencies

This PR is to resolve some Dependabot alerts

@daimor are you able to review this soon?


pyarrow=1.0.1 is not even usable

Is someone going to comment on https://issues.apache.org/jira/browse/ARROW-10152 ? As it stands, the software is not even usable, period.

Thanks for your report. Apache Arrow is supported by volunteers, so while you wait patiently for an answer to your question, please review our code of conduct for participating in the community.

Apache Arrow is supported by volunteers

This information is intended to deceive. The fact is that Ursa Lab has sponsors and is industry funded.

There is no deception. Some individuals work on Apache Arrow as part of their job responsibilities, but the work that is contributed to the project is volunteered by these organizations. They have their own priorities; they do not work for you.


how to set the same permissions from one gorup to another ?

how to set the same permissions from one gorup to another ?

/lp group [group name] parent add [another group]
[group name]: The group in which you want the permissions added
[another group]: The group which has the permissions.

thank you very much ;)


ENH: Add an option to specify the FFT size in SciPy.signal.fftconvolve

This add an fshape argument to SciPy.signal.fftconvolve.
This allows the user to override the automatically-calculated FFT
shape, as they can with most FFT-related function.

What's the use case for this?

Primarily it lets you use a pre-calculated size rather than have to
recalculate it every time.  This is useful when you have to do the same
operation many times.
On Mon, Aug 5, 2019, 06:38 peterbell10<EMAIL_ADDRESS>wrote:

What's the use case for this?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/scipy/scipy/pull/10589?email_source=notifications&email_token=AARK43UAXRW6JNFZQ3MBB4TQC77IPA5CNFSM4IJHAPA2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD3RNMMA#issuecomment-518182448,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AARK43VKUSRRZA2Z2Z7J2L3QC77IPANCNFSM4IJHAPAQ
.

If the problem is that next_fast_len is slow, would also sticking @functools.lru_cache resolve this?

Seems reasonable to me to try assuming the dict lookup isn't slower than @peterbell10's C code. @peterbell10 WDYT?

The C++ code is actually quite fast already: ~150 ns for prime numbers, faster for regular numbers (where n is near 1000 and the algorithm scales roughly as O(log^4(n)). It seems there may be some additional overhead coming from the python interface though. Here are the timings I get for f(4) which hits the fast path if (x <= 12) return x;:

Function f
Time (ns)

next_fast_len
557

good_size
210

lru_cache
80

next_fast_len is the scipy.fft function, good_size is calling the pybind11 binding in pypocketfft directly. I have noticed this ~200 ns overhead in other pybind11 functions as well. I think if good_size were bound using the python c-api and the additional checks from next_fast_len were moved to the C++ side, next_fast_len could be made much faster. Say ~150-250 ns for prime n and be similar to lru_cache for regular n.
Thoughts? Obviously using lru_cache is a quick fix but it would only apply to repeated convolves of the same shape.

Obviously using lru_cache is a quick fix but it would only apply to repeated convolves of the same shape.

I think that this is the use case @toddrjen aimed to address with the fshape argument anyway. I see no problem with doing lru_cache because it seems like a straightforward gain with minimal overhead, plus eventually (maybe) speeding up the function itself. It's already pretty fast anyway.


dashboard ingress docs have a recurring typo and malformed yaml

Provide a link to the page with an issue:
https://docs.pachyderm.com/latest/deploy-manage/deploy/ingress/pach-ui-ingress/#set-up-ingress-with-traefic-to-access-pachyderm-ui-dash-service-in-your-cluster
Describe what is wrong:

The page discusses using traefik for ingress but refers to it to it with a typo throughout: 'traefic'.
The yaml file for the mypachydermUICRDs.yaml seems to be malformed. Attempting to apply it with kubectl, I get the following error: error: error parsing mypachydermUICRDs.yaml: error converting YAML to JSON: yaml: line 11: mapping values are not allowed in this context

Anything else we need to know?
I would had fixed it myself, unfortunately there is a diagram in the page that includes the typo as well.

Nice catch Raanan! Thank you for taking the time to report this issue.


Remove old 7.6 release feature for 19

This feature is part of 7.6 and is on the release branch. It shouldn't be here.

@bot-gradle test and merge

Your PR is queued. See the queue page for details.

OK, I've already triggered a build for you.


How to use local data sets?

Is there a way to use a local dataset?
Convert the data loaded in dataset.load_from_disk to a list, and Passing it to LoadDataFromDicts freezes the pipeline.
code:
from datasets import load_from_disk

from distilabel.pipeline import Pipeline
from distilabel.steps import LoadHubDataset, TextGenerationToArgilla, LoadDataFromDicts
from distilabel.steps.tasks import TextGeneration

if __name__ == "__main__":

    local_datasets = load_from_disk("/home/gptapp/dataset/hf_dataset/xxx/xxx/v1").select(range(10))
    local_datasets = local_datasets.to_list()

    with Pipeline("pipe-name", description="My first pipe") as pipeline:
        load_dataset = LoadDataFromDicts(
            name="load_data",
            data = local_datasets
        )

    distiset = pipeline.run()

    print(distiset)

log
[04/19/24 05:36:20] INFO     ['distilabel.pipeline.local'] 📝 Pipeline data will be written to                                                                              local.py:113
                             '/home/gptapp/.cache/distilabel/pipelines/9fafd32f73bd4fbb44ca4ed5e0125722ab708bed/data'
[04/19/24 05:36:21] INFO     ['distilabel.pipeline.local'] ⏳ Waiting for all the steps to load...                                                                          local.py:366
[04/19/24 05:36:23] INFO     ['distilabel.pipeline.local'] ⏳ Steps loaded: 1/1                                                                                local.py:380
                    INFO     ['distilabel.pipeline.local'] ✅ All the steps have been loaded!                                                                               local.py:384

Hi @kouyakamada, can you share the dataset you are testing from the hub so I can reproduce the error? I run the Pipeline with a small dataset of my own, but the Pipeline ends normally:
from datasets import load_from_disk

from distilabel.pipeline import Pipeline
from distilabel.steps import LoadDataFromDicts

from pathlib import Path

if __name__ == "__main__":
    ds_name = Path.home() / "Downloads/instruction-dataset-mini"

    local_datasets = load_from_disk(ds_name)
    local_datasets = local_datasets.to_list()

    with Pipeline("pipe-name", description="My first pipe") as pipeline:
        load_dataset = LoadDataFromDicts(
            name="load_data",
            data = local_datasets
        )

    distiset = pipeline.run()

    print(distiset)

Which shows the following:
❯ python test_pipe.py
[04/19/24 09:48:25] INFO     ['distilabel.pipeline.local'] 📝 Pipeline data will be written to '/Users/agus/.cache/distilabel/pipelines/237e9eed49b099439a169626415b7561cdf93a00/data'                          local.py:113
                    INFO     ['distilabel.pipeline.local'] ⏳ Waiting for all the steps to load...                                                                                local.py:366
[04/19/24 09:48:28] INFO     ['distilabel.pipeline.local'] ⏳ Steps loaded: 1/1                                                                                local.py:380
                    INFO     ['distilabel.pipeline.local'] ✅ All the steps have been loaded!                                                                                local.py:384
                    INFO     ['distilabel.step.load_data'] 🧬 Starting yielding batches from generator step 'load_data'. Offset: 0                                                                              local.py:747
                    INFO     ['distilabel.step.load_data'] 📨 Step 'load_data' sending batch 0 to output queue                                                                                local.py:825
                    INFO     ['distilabel.step.load_data'] 🏁 Finished running step 'load_data'                                                                                local.py:715
Generating train split: 10 examples [00:00, 6688.41 examples/s]
Distiset({
    default: DatasetDict({
        train: Dataset({
            features: ['prompt', 'completion', 'meta'],
            num_rows: 10
        })
    })
})

Hi! Found the problem, is not related to the language 😄.
The thing is, the dataset I was using for testing has 10 rows, yours 100, and the default batch_size for the steps is 50. So using your dataset, the pipeline loads the first batch, has nothing to do with it as there's only defined a GeneratorStep, and just hangs there. To check it works, you can either update the batch_size:
...
    distiset = pipeline.run(
        # Update the batch_size.
        parameters={"load_data": {"batch_size": 200}}
    )

Or I just created a dummy step that does nothing, but allows finishing the Pipeline:
from typing import List
from datasets import load_from_disk

from distilabel.pipeline import Pipeline
from distilabel.steps import LoadDataFromDicts
from distilabel.steps.base import Step, StepInput
from distilabel.steps.typing import StepOutput

from pathlib import Path

# NOTE: Will use a dummy step to simulate a complete pipeline
class DummyStep1(Step):
    @property
    def inputs(self) -> List[str]:
        return ["instruction"]

    def process(self, input: StepInput) -> StepOutput:  # type: ignore
        yield [{"response": "response1"}]

    @property
    def outputs(self) -> List[str]:
        return ["response"]

if __name__ == "__main__":
    ds_name = Path.home() / "Downloads/test_distilset"

    local_datasets = load_from_disk(ds_name)
    local_datasets = local_datasets.to_list()

    with Pipeline("pipe-name", description="My first pipe") as pipeline:
        load_dataset = LoadDataFromDicts(
            name="load_data",
            data = local_datasets
        )
        dummy = DummyStep1(name="dummy")
        load_dataset.connect(dummy)

    distiset = pipeline.run()

    print(distiset)

Maybe we could show a warning to highlight that a Pipeline only containing a GeneratorStep could lead to these weird things.

I have tried both of the methods you taught me, but it still freezes the same way.
I have tried it with several other data sets and the same thing.
It is very strange because the next writing method reads fine.
if __name__ == "__main__":

    test-distilset = load_from_disk("/home/gptapp/dataset/hf_dataset/01_instruction/test-distilset").to_list()
    load_data = LoadDataFromDicts(
        name="load_data",
        data=test-distilset,
        pipeline=Pipeline(name="data-pipeline")
    )

    print(next(load_data.process()))

I tried both methods you suggested, but the system still freezes in the same way.
I also tried with other datasets, and the result was the same.
It's very strange because it loads fine with the following method.
if __name__ == "__main__":

    test-distilset = load_from_disk("/home/gptapp/dataset/hf_dataset/01_instruction/test-distilset").to_list()
    load_data = LoadDataFromDicts(
        name="load_data",
        data=test-distilset,
        pipeline=Pipeline(name="data-pipeline")
    )

    print(next(load_data.process()))

Hi @kouyakamada maybe you can try running it with the following environment variable set DISTILABEL_LOG_LEVEL=DEBUG? This way we may understand better why is it freezing, and also if you could share the Pipeline for us to fully reproduce with your test dataset that would be awesome too! 👍🏻

Hi again @kouyakamada we've tried to reproduce and we were unable, so we're closing this now assuming that you got it working with @plaguss suggestions 👍🏻 Otherwise, feel free to ping us again to re-open!


Ensure all parameters are documented

The module has a lot of puppet strings but some parameters lack documentation.  This PR intends to add the missing documentation along with tooling to alert contributors when such documentation is missing.
Current status:

[X] Match actual parameters order for parameters documentation
[X] Align documentation vertically for better legibility
[X] Add a unit test that ensures puppet-strings is happy
[X] Remove dashed between parameter name and documentation (output to the documentation otherwise)
[x] Add the missing documentation

Just dropping in real quick to offer an immense THANK YOU for this.  Not that things were that bad, but this is pure goodness that's usually not the most fun thing to do.

Just added REFERENCE.md to the repo… Live preview here:
https://github.com/xaque208/puppet-bacula/blob/doc/REFERENCE.md

This is looking great, thank you @smortex.

Cool ! This seems fair so far :-) @xaque208 i have not dig in the Travis-CI failure, the failing test having some "DEPLOY_TO_FORGE=yes" makes me feel good to see it failing…  Is this something that is completely fine and safe and that we can fix, or is something missing, e.g. something that ensure this is running only when a new tag is pushed?

Oh I always forget to disable that bit when I rebase the modulesync repo, but yes disabling that entirely has been my aim.  Though, I could probably be convinced otherwise considering how bad I've been about cutting releases.

I never released anything to the forge (yet… it's still something we intend to do for some or the opus-codium modules), so I can't really give advice here unfortunately, but tell me if there is anything I can do that would help.

I synced some testing changes to master that might help the tests along here.

Nice! I rebased my branch on top of master and it seems to be good :-)

So, the "unused" parameter was used :-)  I rebased the commits on top of master and ameded them to fix this "unused" parameter.

Nice.  This is great, thank you for your efforts here.


Include vote direction

Description
Modify resource retrieval logic so that the payload includes the current vote direction on a resource for logged in users. This would allow the front-end to display the current vote direction for a user.
I noticed that this piece of information is missing while working on a front-end issue so I jumped on it. Feel free to provide suggestions/comments.

Not sure if you want to reset db since this involves schema change in vote_information.

I notice that the /click endpoint isn't returning the vote direction correctly. I haven't dug any deeper, and I know that endpoint is not really in use on the front end, but I'd like to see that working properly before we merge because it could cause other bugs for other endpoints depending on what the root cause of it is

I notice that the /click endpoint isn't returning the vote direction correctly. I haven't dug any deeper, and I know that endpoint is not really in use on the front end, but I'd like to see that working properly before we merge because it could cause other bugs for other endpoints depending on what the root cause of it is

If it is the issue where vote direction is always returning None, that is expected as that is not an autheticated route. If you want the vote direction when logged in, I think we can have the decorator on that route similar to what we have on retrieval routes.

Ah, yes I see now. Can we go ahead and add that decorator to all routes that have a resource in the response so the API response is the same across the board?


Sequencer/tracker

Summary
A simple tracker for music creation, live, on the Swadge. BPM modification, two-channel support for chords, and a loop toggle are included.
Technical Spec

Main screen: D-Pad moves around the timeline and up/down in scale. Touchpad sliding for quick scrubbing. A to place a left-channel note, and B to place a right-channel note. Only one of each note can be on the same beat at the same time - attempting to place another note will move the note instead. Start to play/pause, and Select to toggle into a track modification menu.
Track modification menu: D-Pad Up and Down to select options, D-Pad Left and Right to modify BPM if selected. Start to save, Select to cancel.

UI
Deep blue to dark blue gradient background with music sheet-like white lines drawn across the screen. A yellow reticle is visible on the track, shaped like two arrow brackets (< >) which can place notes when the corresponding button is pressed.
Mockups
(To be added)
How to Test
If notes are placed and the play button is pressed, the timeline should manifest a playhead and it should scroll from the beginning of the track to the end of the track, playing the notes to the beat when the playhead arrives at them.

@DeadlySprinklez any anything on this?

Putting this off until next year

Picking this up again!

Woo!

@DeadlySprinklez let me know on Discord that the week between 9/10 and 9/17 is for evaluation, and we'll check after then if this is feasible, or gets shelved / handed off.


Transparent navbar doesn't work when colors are not set (attachShy)

I have three items in my bottombar, and i have a transparent navbar. The problem is that the bottombar needs to be moved up above the navbar. I want the scrolling to be the same as if it where colored.
Sorry for my terrible English.
Opened:

Closed:

Sorry for the off-topic question; what do you use for the search bar? Own implementation or a library?

@dotWee Haha, it's just a cardview with some text. And then when you click on it it opens a transparent activity with a cardview in the same location. Current published version: https://play.google.com/store/apps/details?id=com.alvarlagerlof.temadagarapp

Well thats actually a pretty cool solution. Thanks for the tip!

@alvarlagerlof  Off topic. You should chase some girls first, before you start programming. Programming can wait, girls cant. :D

@alvarlagerlof
@NikolaDespotoski
Completely disagree. Girls can wait, make sure you're the best Java / Android / whatever developer in your city / state / country before you turn 24, and girls will come.
Or maybe not, but money will come. And against the common misconception, with money, you actually can buy love.

@roughike @alvarlagerlof  Well thats kinda contrary yet sustainable argument to mine. Haha. I can't object any further. :D

@roughike @NikolaDespotoski Haha, this has gone so off-topic, anybody still remembering my question?

The BottomBar doesn't currently support transparent Navigation Bars for the attachShy() method when there are less than 4 items.
I'm fixing this asap.

Thank you som much! @roughike

Anybody please? @roughike @NikolaDespotoski

not fixed yet?

@TurKur656 Currently have 1.3.5 just noticed the update. Will try 1.3.7 tomorrow

This is fixed in the newest versions (and a little bug in the upcoming 2.0.2 version).


Inline class instances can be erroneously assigned to the representation type variable

Is following an intended behavior?
inline class Id /* do not implement int */ {
  final int value;
  Id(this.value) : assert(value > 0);
}

Id id = -1 as Id; // No compile-time/ runtime error

DartPad Based on Flutter 3.12.0-3.0.pre Dart SDK 3.1.0-171.0.dev

Appears to be a problem in the const expression evaluation in CFE.
The following code asserts correctly
inline class Id /* do not implement int */ {
  final int value;
  Id(this.value) : assert(value > 0);
}

Id id = Id(-1);

main() {
  print(id);
}

This is working as intended.
The current proposal spec for inline classes erases the inline class types at runtime, making them effectively be aliases for the representation type.
That means that the line Id id = -1 as id;, which is type valid since an as can never fail statically, will at runtime behave exactly as int id = -1 as int;, which obviosuly succeeds.
You can always cast any member of the representation type to the inline class type, and casts do not invoke constructors.
An inline class type cannot prevent some values of the representation type from becoming the representation value, it can only guide users through providing constructors, but it's no guarantee.
Nothing will stop List<Id> ids = [-1] as List<Id>; Id id = ids.first; from running either.


Add Synthesia AI

Assist marketers in creating advertisements and marketing campaigns.
Content creators can develop tutorials and personalized video messages.
Educators can produce educational videos and presentations.

@ashitaprasad Please assign me this issue


HSEARCH-3640 Support get indexes/backend from mapper orm

https://hibernate.atlassian.net/browse/HSEARCH-3640

Thanks @yrodiere. I addressed the comments.
Anything else can we improve here before we merge it?

Merged, thanks!

Thanks!


Lollypop connector improvement

When a lollypop connector is created, it is actually a small circle and a line with a "--C" connector at the end.
By default, the circle does not have any connection points, which makes aligning them in diagrams a bit hit-and-miss.
Please consider updating the default style of the circle to include connection points (as seen in most other objects). For example "points=[[0,0.5],[1,0.5],[0.5,0],[0.5,1],[0.5,0.5]]" would ensure that no matter the connection angle, the lollypop will look correct.
Example of update:

I appreciate that users can add these in themselves, however it stands out as an exception to the rule that shapes have these by default.

Makes sense. I'd also recommend including [0.5,0.5] as a point, because without a central connection point, the "--C" connector will be too far out from the circle.

The --C connector has that hardcoded via the entryX/Y style. The problem with adding the point to the shape is it isis too small and it will no longer be possible to connect to the outline without zooming in.


Adding AutoTokenizer and AutoModel classes that automatically detect architecture

As discussed in #890
Classes that automatically detect the relevant model/config/tokenizer to instantiate based on thepretrained_model_name_or_path string provided to AutoXXX.from_pretrained(pretrained_model_name_or_path).
Right now:

AutoConfig
AutoTokenizer
AutoModel (bare models outputting hidden-states)

Missing:

Tests
Maybe a few other architectures beside raw models (AutoModelWithLMHead, AutoModelForSequenceClassification, AutoModelForTokensClassification, AutoModelForQuestionAnswering)
Check if we can make hubconfs simpler to maintain using AutoModels.

Additional stuff:

add a unk_token to GPT2 to fix #799

Codecov Report

Merging #910 into master will decrease coverage by 0.82%.
The diff coverage is 7.14%.

@@            Coverage Diff            @@
##           master    #910      +/-   ##
=========================================
- Coverage   79.03%   78.2%   -0.83%
=========================================
  Files          34      36       +2
  Lines        6234    6295      +61
=========================================
- Hits         4927    4923       -4
- Misses       1307    1372      +65

Impacted Files
Coverage Δ

pytorch_transformers/modeling_utils.py
83.2% <ø> (-0.09%)
:arrow_down:

pytorch_transformers/tokenization_bert.py
93.2% <ø> (ø)
:arrow_up:

pytorch_transformers/tokenization_auto.py
0% <0%> (ø)

pytorch_transformers/modeling_auto.py
0% <0%> (ø)

pytorch_transformers/tokenization_gpt2.py
96.61% <100%> (-0.06%)
:arrow_down:

pytorch_transformers/tokenization_utils.py
86.53% <100%> (ø)
:arrow_up:

Continue to review full report at Codecov.

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


Consume framework images in the generated chart

Currently ros-operator charts are pointing to OS images, instead should point to framework images which contains only the binary and nothing else.
Since ros-operator is built statically, it should be possible to run it distroless. That would dramatically reduce download and setup times for the chart.

framework images are still too big, even with #39
I wonder, what binaries does the ros-operator needs in the image? cause currently the whole elemental stuff is in there, including cosign at a whooping 89Mb?
As far as I can see the operator is mainly doing api stuff, so the image should not need any other binaries other than ros-operator!
Any reason why we install so many stuff in there?

framework image is used to overlay content from the base image, so it gets all the packages which are not part of it (so for example, openSUSE, fedora, etc). I didn't had a look at the framework images content, but I'm guessing there must be something lurking there, I'm guessing that buildx setup on runner might be not working correctly and maybe we get the full image at the end, but that's just a speculation of mine.

framework images are still too big, even with #39
I wonder, what binaries does the ros-operator needs in the image? cause currently the whole elemental stuff is in there, including cosign at a whooping 89Mb?
As far as I can see the operator is mainly doing api stuff, so the image should not need any other binaries other than ros-operator!

The operator doesn't need anything, we can also do a specific image for it. I wouldn't expect anyhow the framework images to be that big. something is def. not ok. I'll compare with the cos-toolkit ones https://quay.io/repository/costoolkit/framework?tab=tags

yeah, quay is lying in the size they report. I mean, the cosign binary is already 87Mb + elemental is 16Mb and luet another 35Mb and that image already has the same problem with the /var/cache and /var/db, is still there.
Maybe they dont report the size with those dirs included? Cause locally I get:
quay.io/costoolkit/framework              latest                                                             d37b4ef9cd81   11 hours ago   342MB

And here are the sizes of the framework image from costoolkit:
zeus:/var/lib/docker/btrfs/subvolumes/26f100512e553b57593771ee607de196394fe8013a49f570fe1686b894a94717 # du -chs *
56K	etc
28K	lib
165M	usr
164M	var
328M	total

So its mostly the /var dir with the leftovers from luet the ones filling up the image. Not sure where quay is getting the image size, maybe its compressed somehow...

Closed as part of https://github.com/rancher-sandbox/os2/pull/40 instead of the framework image, we got the ros-operator image which just contains the ros-operator binary.


Spinner works constantly when choose 'See on the map'

Spinner on the button works constantly when user choose 'See on the map' in the object
Preconditions:
Mobile App is opened
Any object is opened
STR:

Tap 'See on the map'

Actual result:
Spinner on the button 'Проложить маршрут' works constantly
Expected result:
Spinner is not shown and button works correctly
Behavior is the same on:
Android 10 Huawei Mate20Pro
Android 7.1.1 Sony H4311
https://user-images.githubusercontent.com/83296607/151777138-69c48b40-4aa8-4f16-af2e-f6b18d29ad3b.mp4

Verified successfully on UiKit on production (v.1.3.4 (24) iphone 11pro, RN on production (v.1.3.4 (24) - iphone 13