Automated cherry pick of #5496: vmware 宿主机监控信息获取

Cherry pick of #5496 on release/2.13.
#5496: vmware 宿主机监控信息获取

Codecov Report

:exclamation: No coverage uploaded for pull request base (release/2.13@d4db5ef). Click here to learn what that means.
The diff coverage is 0%.

@@              Coverage Diff               @@
##             release/2.13   #5497   +/-   ##
==============================================
  Coverage                ?   6.81%
==============================================
  Files                   ?     530
  Lines                   ?   90104
  Branches                ?       0
==============================================
  Hits                    ?    6137
  Misses                  ?   83459
  Partials                ?     508

Flag
Coverage Δ

#aFlag
6.81% <0%> (?)

Impacted Files
Coverage Δ

pkg/multicloud/esxi/monitor.go
0% <0%> (ø)

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 d4db5ef...663d306. Read the comment docs.


Can't install pppoe

See screenshot...

Using latest build on a Nanopi R4S 1gb version.
Thank btw for this build, since the OpenWRT snapshot doesn't support the 1gb version.

See screenshot...

Using latest build on a Nanopi R4S 1gb version.
Thank btw for this build, since the OpenWRT snapshot doesn't support the 1gb version.

https://github.com/anaelorlinski/OpenWrt-NanoPi-R2S-R4S-Builds/issues/17#issuecomment-1038908409

Yeah in the meantime I learned how to compile your repo, I thank you very much, I have a working pppoe connection new 🙏👌👍


⚠ Bofrost.lu has degraded performance

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

HTTP code: 200
Response time: 1467 ms

Resolved: Bofrost.lu performance has improved in 940f68a after 9 minutes.


Deprecation warning in latest ember, since access to instances in initializers is deprecated

Hi,
In the latest ember version, you cannot access instances of a container in the intializer anymore, see: http://emberjs.com/deprecations/v1.x/#toc_deprecate-access-to-instances-in-initializers. Currently, this library triggers a lot of deprecation errors in latest ember version.
Any plans on updating simple-auth to support later ember versions?

:+1:

PR would be great. Of course that would have to be backwards compatible and also work with Ember versions that don't have instance initializers.

:+1:

:+1:

+1

:+1:

:+1:

Yes please! :+1:

:+1:

:+1:

:+1:

:thumbsup:

:+1:

:+1:

:+1:

:+1:

We need more :+1:

@quaertym Yes indeed

:+1:

:+1:

:+1:

I guess the need to be backwards compatible makes this overly complicated. I just refactored my Simple-Auth-Custom-Session to use an Instance Initializer. It works nice, but a backwards compatible version would be a horrible code mess.

It needs to be backwards compatible. We cannot just force everyone to update to the latest ember.

But you can tell people on older Ember versions to use older simple-auth versions. example

That would be a pain though as either people on old Ember versions wouldn't get bug fixes anymore or we would have to maintain 2 versions of Ember Simple Auth. I'm sure we can figure a backwards compatible solution out.

@AW-UC could you please share what you did?

:+1:

As requested, I share my refactored code. Before, I used a custom session like this:
// app/sessions/custom.js
import Ember from 'ember';
import DS from 'ember-data';
import Session from 'simple-auth/session';

export default Session.extend({
  currentUser: Ember.computed('secure.user_id', function() {
    var userId = this.get('secure.user_id');
    if (!Ember.isEmpty(userId)) {
      return DS.PromiseObject.create({
        promise: this.container.lookup('store:main').find('user', userId)
      });
    }
  })
});

The container.lookup() is deprecated here. If one wants to stick to registering a custom session, this would be a possible solution:
// app/sessions/custom.js
import Session from 'simple-auth/session';
export default Session.extend({
  property: 'value'
//...
});

// app/instance-initializers/custom-session.js
//...
function initialize(application) {
  var session = application.container.lookup('session:custom');
  var store = application.container.lookup('store:main');

  session.currentUser = Ember.computed('secure.user_id', function() {
    //...
  })
}
//...

IMHO, you only want to do this, if for some reason you still need to define properties during Session.extend() or you want to refactor it in a backwards compatible way. In the later case, you would do stuff in Session.extend() under the condition that Ember.FEATURES.isEnabled('ember-application-instance-initializers') === false.
In most cases, I think it is cleaner to not register a custom session at all, but do a custom instance initialization of the SimpleAuthSession. So in your environment.js you delete e.g.  ENV['simple-auth'] = { session: 'session:custom' }, and remove e.g. app/sessions/custom.js. Then you just do:
// app/instance-initializers/custom-session.js
import Ember from 'ember';
import DS from 'ember-data';

function initialize(application) {
  var session = application.container.lookup('simple-auth-session:main');
  var store = application.container.lookup('store:main');

  session.reopen({
    currentUser: Ember.computed('secure.user_id', function() {
      var userId = this.get('secure.user_id');
      if (!Ember.isEmpty(userId)) {
        return DS.PromiseObject.create({
          promise: store.find('user', userId)
        });
      }
    })
  })
}

export default {
  initialize: initialize
};

This latest example, is what I do in my app and it works fine. But suggestions for improvements are welcome ;-)

@AW-UC: instead of reopening the session (I think reopen in general is a code smell) you could simply define an initializer that injects the store into the session. That way you could simply do this.store.find('user', userId) instead of this.container.lookup('store:main').find('user', userId).

@marcoow yeah, I am totally unhappy with reopen as well, but I haven't found any other way to make it work in an instance initializer. Injecting services doesn't seem to work well in an instance initializer (still buggy?), but of course I could use a normal initializer:
// app/initializers/custom-session.js
import Ember from 'ember';
import DS from 'ember-data';
import Session from 'simple-auth/session';

function initialize(container, application) {
  var CustomSession = Session.extend({
    storeService: Ember.inject.service('store'),
    currentUser: Ember.computed('secure.user_id', function () {
      var userId = this.get('secure.user_id');
      if (!Ember.isEmpty(userId)) {
        return DS.PromiseObject.create({
          promise: this.get('storeService').find('user', userId)
        });
      }
    })
  });
  application.register('session:custom', CustomSession);
}

export default {
  name: 'custom-session',
  after: 'ember-data',
  initialize: initialize
};

But then I get the 'lookup' was called on a Registry deprecation again :-(

You can just add another initializer and define an injection of store into session:
application.inject('session:custom', 'store', 'store:main');

@marcoow thanks, it works well. but only, if it is not injected as store, because the session already has a store property.

@AW-UC right, forgot about that - fixed in above comment

:+1:

FYI, this how the ember-intl addon handled this:

Split initializers: https://github.com/yahoo/ember-intl/commit/4ad7c4094c753547b1e863adaac7b8a417d568d9
Fallback: https://github.com/yahoo/ember-intl/commit/ad3c8337a5a24f103fa46f2ecc2d5a6ed34d3163

I think we can actually make that part of #522 and simply require a newer Ember version then given the fact that instance initializers also work in Ember versions prior to 2.0

Hi @marcoow - what is your recommendation for how to handle this ? (i.e. ignore deprecations for now, custom session, wait for 522?)

@brandonparsons: I think it should be part of #522. I won't have that ready until 2.0 beta 1 comes out so any help with that would be welcome!

:+1:

My latest PR fixes this and is backward compatible.

@juggy @marcoow Is your PR good to use until #522 lands?

@juggy any update on the PR?

Yes you can use PR #560 until #522 is done.

Awesome! Thank you!

:+1:

fixed in #522

was there ever a consensus on how to set currentUser? and access it from {{session.currentUser}} in a template?
I currently have this:
// app/instance-initializers/custom-session.js

import Ember from 'ember';
import DS from 'ember-data';

function initialize(application) {
  var session = application.container.lookup('simple-auth-session:main');
  var store = application.container.lookup('store:main');

  session.reopen({
    currentUser: Ember.computed('secure.token', function() {
      var token = this.get('secure.token');
      if (!Ember.isEmpty(token)) {
        return DS.PromiseObject.create({
          /*
            the id of 0 here doesn't actually matter,
            the server alwasy returns the current user.
            This is just to route to the show action on the controller.
          */
          promise: store.find('user', 1)
        });
      }
    })
  });
}

export default {
  initialize: initialize
};

The user is retrieved, but {{session.currentUser}} is empty.
:-\

I think session.secure is now session.data.authenticated. Replace that and
you should be fine.
On שבת, 3 באוק׳ 2015 at 22:10 L. Preston Sego III<EMAIL_ADDRESS>wrote:

was there ever a consensus on how to set currentUser? and access it from
{{session.currentUser}} in a template?
I currently have this:
// app/instance-initializers/custom-session.js
import Ember from 'ember';import DS from 'ember-data';
function initialize(application) {
var session = application.container.lookup('simple-auth-session:main');
var store = application.container.lookup('store:main'
);
session.reopen({
currentUser: Ember.computed('secure.token', function() {
var token = this.get('secure.token');
if (!Ember.isEmpty(token)) {
return DS.PromiseObject.create({
/*            the id of 0 here doesn't actually matter,            the server alwasy returns the current user.            This is just to route to the show action on the controller.          */
promise: store.find('user', 1)
});
}
})
});
}
export default {
initialize: initialize
};
The user is retrieved, but {{session.currentUser}} is empty.
:-\
—
Reply to this email directly or view it on GitHub
https://github.com/simplabs/ember-simple-auth/issues/517#issuecomment-145279507
.

I don't know if that's correct.
when I have "secure.token", the request is made, but when I do session.data.authenticated, no request is made to obtain the user.

@NullVoxPopuli secure.token is for 0.8.0, session.authenticated.token is for 1.0.0 or jj-abrams branch.

looks like this repo doesn't have a tag for 1.0.0. :-\
I tried changing the package.json from 0.8.0 to 1.0.0 as well as bower.json.
:-\

@NullVoxPopuli sorry, 1.0.0 is coming soon,.. You should stick with 0.8.0 till there is finished documentation for it.
Anyway you can override session and do it like this (for 0.8.0):
https://gist.github.com/Keeo/8c688f5e131b32cdb6c0
I didn't test this code, but it's looking good to me.

1.0.0 has some enormous breaking changes, there's no way I can trivially upgrade ESA, however, at the same time, I'd like to handle these deprecations so I can push forward ember to 1.13 and 2.0.  Is there a release of 0.8.0 branch that takes care of these container/lookup deprecations?
I'm currently using 0.8.0

I wrote an upgrade guide here: http://log.simplabs.com/post/131698328145/updating-to-ember-simple-auth-10. A version of 0.8.0 that works with Ember.js 2.0 would be quite complex and was considered not worth the effort. Upgrading to 1.0 is not as hard as it might first appear.

Thanks for the link, that will help considerably.
I might give that a go tomorrow.. too late now for me to break everything :)
Quick question - Is the session in 1.0.0 available in the registry as service:session, since it's just an ember service now?  For injection purposes, in an instance initializer

sure - service:session

Am 27.10.2015 um 08:30 schrieb Kevin Jhangiani<EMAIL_ADDRESS>Thanks for the link, that will help considerably.
I might give that a go tomorrow.. too late now for me to break everything :)
Quick question - Is the session in 1.0.0 available in the registry as service:session, since it's just an ember service now? For injection purposes, in an instance initializer
—
Reply to this email directly or view it on GitHub.

a clean install of this addon now breaks ember with a ```container.lookup is not a function err````

In the previous currentUser examples, why is DS.PromiseObject used to wrap store#find? Seems unnecessary when store#find returns a promise.
cc @Awem

you can access currentUser.name in a template with DS.PromiseObject


Discover doesn't simultaneously handle var and heterogeneous types

Failing case
In [6]: discover([[1, 2, 3.0], [4.0, 5], [None, 6.0, 7]])
Out[6]: dshape("((int64, int64, float64), (float64, int64), (null, float64, int64))")

Should be
3 * var * ?float64

If someone comes along needing this then we'll implement it.


Fixes for TWA-VF

This PR brings in bug fixes for issues #534, #770, #301, and #878. The former three will need to be tested within Mapbox and Cesium visualisations (using the example ones are fine).
Update: this PR has been updated to include the following changes:

Updated mouse handling for feature popups.
Automated action now pushes image with more tags.
Added null check for possible missing layers object when toggling Cesium layers.
Minor update to build script for local development.

[!WARNING]
Note that just before this PR is merged, the version of the TWA-VF will need the "-SNAPSHOT" token removed. In fact, the automated checks should fail until this is done.

[!WARNING]
Depending on when this PR is approved, and when related PRs are approved, the specific version number may need adjusting.

Converting to draft whilst I look into some further fixes.

Updates following feedback:

Image for this branch now includes branch name (ghcr.io/cambridge-cares/twa-vf:4.0.1-fix-twa-vf-4.0.1-SNAPSHOT).
Scripts to run examples now default to use current version (i.e. that defined in library/VERSION file).
Popup placement now adjusts at edges of maps.
Popup content now gets multiple line wraps (if needed).
Popup descriptions now cut off after 250 characters.

I am unable to reproduce Seb's popup issue using the Cesium example.
I can try to run Seb's use case (if it's simple to spin up locally), or ask Chung (who's also working with Cesium at the moment) to try it on his data.

I am unable to reproduce Seb's popup issue using the Cesium example.
I can try to run Seb's use case (if it's simple to spin up locally), or ask Chung (who's also working with Cesium at the moment) to try it on his data.

We have tried this on Chung's machine, with his Cesium data and cannot reproduce it. Later today I will try on a monitor with lower resolution, and perhaps with different Windows scaling options.

This PR now closes #928.

I am unable to reproduce Seb's popup issue using the Cesium example.
I can try to run Seb's use case (if it's simple to spin up locally), or ask Chung (who's also working with Cesium at the moment) to try it on his data.

We have tried this on Chung's machine, with his Cesium data and cannot reproduce it. Later today I will try on a monitor with lower resolution, and perhaps with different Windows scaling options.

Have now tried on HD and 4K screens, with 100%, 125%, and 150% windows scaling. Can still not reproduce the issue :(

I have updated the feature-picking routine that is used to determine the currently hovered WMS feature in Cesium visualisations. This appears to resolve the popup placement issue experienced by @sm453.
Note that Cesium WMS feature interaction is asynchronous and can be a little slow. In testing this only causes issues if you rapidly move the mouse (so I suggest not doing that).
Updated docker image is ghcr.io/cambridge-cares/twa-vf:4.0.1-fix-twa-vf-4.0.1-SNAPSHOT

You're right, it's slow (and not very accurate in determining the contents), but at least the placement is correct. Good enough for now.

This is unfortunately another effect of Cesium not supporting vector data via WMS. With raster data, to get any information, another request has to be made to the server. This causes a delay, which in turn causes issues if you've moved the mouse during that delay.
I have some thoughts on improving in in future, but I struggle to see how we could make it as seamless as it is with the vector data on Mapbox.


Fix SMDG Liner Code broken link in the README file

SMDG website has changed the link of Liner Code List. The link in the README file was broken.

@raisoman can you please have a look at this

@mrp97 thanks for the update - I will merge :-)


Asset Pipeline Test - DO NOT MERGE

What does this PR do?

Motivation

Additional Notes

Review checklist (to be filled by reviewers)

[ ] Feature or bugfix MUST have appropriate tests (unit, integration, e2e)
[ ] PR title must be written as a CHANGELOG entry (see why)
[ ] Files changes must correspond to the primary purpose of the PR as described in the title (small unrelated changes should have their own PR)
[ ] PR must have changelog/ and integration/ labels attached
[ ] If the PR doesn't need to be tested during QA, please add a qa/skip-qa label.

Closing this out, was used as a test branch to trigger CI.


pub/sub error in new verision of gofr

I was running the example/sample-API of gofr repo.While i run the main file i got the error that says
"# gofr.dev/pkg/datastore/pubsub/eventhub
....\go\pkg\mod\gofr.dev@v1.0.3\pkg\datastore\pubsub\eventhub\eventhub.go:70:60: cannot use tokenProvider (variable of type "github.com/Azure/azure-amqp-common-go/v3/sas".TokenProvider) as "github.com/Azure/azure-amqp-common-go/v4/auth".TokenProvider value in argument to eventhub.NewHub: "github.com/Azure/azure-amqp-common-go/v3/sas".TokenProvider does not implement "github.com/Azure/azure-amqp-common-go/v4/auth".TokenProvider (wrong type for method GetToken)
have GetToken(string) ("github.com/Azure/azure-amqp-common-go/v3/auth".Token, error)
want GetToken(string) ("github.com/Azure/azure-amqp-common-go/v4/auth".Token, error)
....\go\pkg\mod\gofr.dev@v1.0.3\pkg\datastore\pubsub\eventhub\eventhub.go:83:59: cannot use jwtProvider (variable of type "github.com/Azure/azure-amqp-common-go/v3/aad".TokenProvider) as "github.com/Azure/azure-amqp-common-go/v4/auth".TokenProvider value in argument to eventhub.NewHub: "github.com/Azure/azure-amqp-common-go/v3/aad".TokenProvider does not implement "github.com/Azure/azure-amqp-common-go/v4/auth".TokenProvider (wrong type for method GetToken)
have GetToken(string) ("github.com/Azure/azure-amqp-common-go/v3/auth".Token, error)
want GetToken(string) ("github.com/Azure/azure-amqp-common-go/v4/auth".Token, error)"
Although i downgraded the version after which this error vanished.I even tried go mod tidy but still i got this error.After downgrading i got this error
"# gofr.dev/pkg/datastore
....\go\pkg\mod\gofr.dev@v1.0.0\pkg\datastore\db.go:361:45: cannot use semconv.DBSystemPostgreSQL.Value.AsString() (value of type string) as otelsql.Option value in argument to otelsql.Register: string does not implement otelsql.Option (missing method Apply)
....\go\pkg\mod\gofr.dev@v1.0.0\pkg\datastore\db.go:363:45: cannot use dialect (variable of type string) as otelsql.Option value in argument to otelsql.Register: string does not implement otelsql.Option (missing method Apply)"
I have uploaded whole codebase that i wrote at https://github.com/saksham5701/mini-pro-gofr-zopsmart

Hey, there is an issue with your go.mod file, could you try to delete and initialise it again, followed by go mod tidy.
Moreover, I have created a PR with fixed go.mod file.

Thanks for your help. The program is running fine now.


Don't reparent dragged node when non needed

Small tweaks to node drag and drop logic. The most important change is that when dropping under the same parent, the node will only be moved, so it will not exit/enter tree.

Thanks!


Implement video data retrieval & saving

Pull Request
Description

Introduced controller and service layer that handles data retrieval and saving into the database.
Videos can be imported by providing a CSV file or a list of video IDs.
Video data retrieval happens in batches and is handled using transactions. If a transaction fails neither video IDs nor video data is saved.
Implemented an endpoint allowing checking of what transactions have failed and which were successful.
Related Issue

Issue #32
Checklist
Please review and check all applicable items:

[x] I have tested my changes thoroughly
[x] My code follows the project's coding standards and guidelines
[x] I have added necessary documentation (if applicable)
[ ] I have updated relevant tests (if applicable)
[x] I have reviewed my changes to ensure there are no unnecessary changes
[x] My pull request has a descriptive title and includes a detailed description of the changes

Additional Notes

Updated collections in Postman
Disabled Liquibase in tests. Created a separate Spring profile for testing and updated GH Actions step to use it when running tests in CI

Screenshots (if applicable)

wow


Additional modifiers for search pattern and input-search

Please add some additional modifiers for search pattern and input search so that we can use more appropriate search patterns for the component where it is being placed (second and third nav for example)
.search-accordion

.input-search .search-toggle
(Tailcoat top-nav site-search-input pattern. Click on search icon to reveal inline search-input)

There should only be one search pattern, and that is the search take over.

I don't think this will work in any other contexts. That being said, is this issue still relevant?

I can't say I agree with the idea of one search pattern to rule them all, but no one else has indicated a need for multiple.


Add factory-method

Close #9

Codecov Report

Merging #14 (c2823c5) into master (990d29b) will decrease coverage by 0.00%.
The diff coverage is 100.00%.

@@             Coverage Diff              @@
##             master      #14      +/-   ##
============================================
- Coverage     99.22%   99.22%   -0.01%
  Complexity      174      174
============================================
  Files            19       19
  Lines           386      385       -1
  Branches         28       28
============================================
- Hits            383      382       -1
  Partials          3        3

Impacted Files
Coverage Δ

...ig/metter/element/descriptor/MethodDescriptor.java
100.00% <100.00%> (ø)

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 990d29b...c2823c5. Read the comment docs.


[BUG] Getting Execution failed for task ':photo_manager:compileDebugKotlin'.

Describe the bug
I upgraded to Flutter 3.0.1 on channel stable. Kotlin version 1.6.10
This is the error:
e: /Users/justmegawatt/Utils/flutter/.pub-cache/hosted/pub.dartlang.org/photo_manager-1.3.10/android/src/main/kotlin/top/kikt/imagescanner/core/PhotoManagerPlugin.kt: (101, 34): Type mismatch: inferred type is Boolean? but Boolean was expected
e: /Users/justmegawatt/Utils/flutter/.pub-cache/hosted/pub.dartlang.org/photo_manager-1.3.10/android/src/main/kotlin/top/kikt/imagescanner/core/PhotoManagerPlugin.kt: (101, 39): Type mismatch: inferred type is Boolean? but Boolean was expected
e: /Users/justmegawatt/Utils/flutter/.pub-cache/hosted/pub.dartlang.org/photo_manager-1.3.10/android/src/main/kotlin/top/kikt/imagescanner/core/PhotoManagerPlugin.kt: (128, 36): Type mismatch: inferred type is Boolean? but Boolean was expected
e: /Users/justmegawatt/Utils/flutter/.pub-cache/hosted/pub.dartlang.org/photo_manager-1.3.10/android/src/main/kotlin/top/kikt/imagescanner/core/PhotoManagerPlugin.kt: (128, 41): Type mismatch: inferred type is Boolean? but Boolean was expected

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':photo_manager:compileDebugKotlin'.
> Compilation error. See log for more details

To Reproduce
Steps to reproduce the behavior:

Upgrade to latest flutter version (flutter upgrade?)
Update Kotlin to 1.6.10
Update flutter packages flutter pub upgrade
flutter pub clean
flutter pub cache repair
flutter pub get
Try to run the app and it gives this error

Expected behavior
No errors and the app runs
Flutter version
3.0.1
Smartphone (please complete the following information):

Device: Pixel 4
OS: API 31

You're using the latest flutter version, so why not try the newest plugin version? :)

solution：
flutter clean
flutter clean
flutter pub cache clean
flutter pub get


Adds footer

Description
Please include a summary of the changes and the related issue. Please also include relevant motivation and context.
Fixes # (issue)
Type of change

[ ] New feature (Adds a basic footer layout, if approved would like to work more on it and make it more functional according to website)

I have sole ownership of intellectual property rights to my Submissions and I am not making Submissions in the course of work for my employer.
@microsoft-github-policy-service agree


WIP docs(readme): update usage instructions for OpenEBS 1.1.0

Refactored the usage instructions to provide few additional
details and verification steps.
Signed-off-by: kmova<EMAIL_ADDRESS>

Codecov Report

Merging #31 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master      #31   +/-   ##
=======================================
  Coverage   53.72%   53.72%
=======================================
  Files          12       12
  Lines         631      631
=======================================
  Hits          339      339
  Misses        272      272
  Partials       20       20

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 e8ea50f...4da0e4a. Read the comment docs.


[Test] add unit test for /arana/pkg/util/... package.

What would you like to be added:
Why is this needed:
add unit test for /arana/pkg/util/... package.
use this tools:
go test ./pkg/security/ -v -coverprofile=count.out

go tool cover -html=count.out

Plz assign to me @dongzl

#753  #754


Server crash when filtering list

Hi!
I accidentally changed the order of the filter nodes when
retrieving a list with a <get> operation, and netopeer2 crashed.
For example, using the test schema I've attached, the following <get>
crashed the server:
<rpc xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="12">
  <get>
    <filter type="subtree">
      <t:basics xmlns:t="urn:com:test">
        <t:animals>
          <t:weight/>
          <t:species>dog</t:species>
        </t:animals>
      </t:basics>
    </filter>
  </get>
</rpc>

Server output:
[INF]: NP: Session 1: thread 1 event new RPC.
[INF]: LY: Parsing opaque list node "animals" with missing/invalid keys.
[INF]: SR: Published event "rpc" "/ietf-netconf:get" with ID 3 priority 0 for 1 subscribers.
[INF]: SR: Processing "/ietf-netconf:get" "rpc" event with ID 3 priority 0 (remaining 1 subscribers).
[INF]: SR: Successful processing of "rpc" event with ID 3 priority 0 (remaining 0 subscribers).
[INF]: SR: Event "rpc" with ID 3 priority 0 succeeded.
[INF]: NP: Session 1: thread 0 event new RPC.
[INF]: LY: Parsing opaque term node "weight" with invalid value "".
Segmentation fault

I'm using the lastest devel versions of libyang/sysrepo/libnetconf2/netopeer2.
test.zip
Thanks!

Should be fixed in latest libyang, forgot to reference this issue...

Hi!
Yes, the server doesn't like the  tag inside the request. While waiting for this to be fixed you can try this:

dog

Hi!
Yes the server doesn't like the  tag in the request. While waiting for this to be fixed you can try this:
<get xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="12">     <filter type="subtree">       <t:basics xmlns:t="urn:com:test">         <t:animals>           <t:weight/>           <t:species>dog</t:species>         </t:animals>       </t:basics>     </filter>   </get>


Documentation implemented with docusaurus

This is the first version of the documentation based on docusaurus, list of what is done:

Based on docusaurus in monorepo configuration.
Updated base resources in static/img with original branding.
Created a splash page with features list.
Created a new command to generate changelog.
Moved all documentation on docs folder.

Things to improve:

The changelog command use a sed to add a title, can be better implemented.
Deploy url need to be updated before going in production.
Need to be integrated with a pipeline when a new version is published:

cd website
npm run changelog
npm run build

@mateonunez I had a look and it seems cool enough, didn't have time to look at it through yet.
Want to give it a look as you have more experience than me on docs and docusaurus in particular?

I will take a look at this PR as soon as possible. 🙏

@mateonunez wanna bring it in then?

Hey folks, let's see what CI says and then I can approve and merge.
Amazing job, @eppak! Thank you so much 🙏


Added template tag to expose the Stripe public key.

This adds an easy way to get the Stripe public key (the PINAX_STRIPE_PUBLIC_KEY settings) into a template so it can be used to configure the Stripe Javascript library.

Coverage remained the same at 100.0% when pulling e9d8dc7a05f6a92d1fb6757398364148d71d332d on jambonsw:templatetags into aaa4516d4b455f79fa0fe9f6626b34d1e67e2abe on pinax:master.

Coverage remained the same at 100.0% when pulling e9d8dc7a05f6a92d1fb6757398364148d71d332d on jambonsw:templatetags into aaa4516d4b455f79fa0fe9f6626b34d1e67e2abe on pinax:master.

Coverage remained the same at 100.0% when pulling 17e5d23efff513d8e7890dff6b9dd46da3f16f75 on jambonsw:templatetags into aaa4516d4b455f79fa0fe9f6626b34d1e67e2abe on pinax:master.

Coverage remained the same at 100.0% when pulling 17e5d23efff513d8e7890dff6b9dd46da3f16f75 on jambonsw:templatetags into aaa4516d4b455f79fa0fe9f6626b34d1e67e2abe on pinax:master.

This patch includes the content of #297, as the test suite won't pass without it.

Coverage remained the same at 100.0% when pulling a0de07e8f742f8eb417ba7d603b01febb5a3b093 on jambonsw:templatetags into aaa4516d4b455f79fa0fe9f6626b34d1e67e2abe on pinax:master.

Thanks @freakboy3742!


Make sure ec is built with network

In #1188 tests were made to run without network. This works if the local golang module cache already contains the required dependencies, i.e can be built offline. When a dependency is not available from the cache, due to the offline nature of the namespace the build fails.
This circumvents that by invoking the equivalent of ec opa version so that the ec command is build outside the offlined namespace.

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 100.00%. Comparing base (c4746f5) to head (07106aa).

Additional details and impacted files

@@            Coverage Diff            @@
##              main     #1192   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files          120       120
  Lines         6254      6254
=========================================
  Hits          6254      6254


[UPDATE] Badges

Component References
Figma Link
https://www.figma.com/file/R7ymwKrEI3LF6ssrZe5opG/5.-Components?node-id=9199%3A39170
Additional Info
New variants:

Size (sm, md, lg)
With Icon

Reopening since we haven't added icon variants yet.


cmd/doc: does not generate docs for generic functions that return []T

What version of Go are you using (go version)?

$ gotip version
`devel go1.18-a83a558 Mon Sep 20 00:13:47 2021 +0000`

Does this issue reproduce with the latest release?
Yes
What operating system and processor architecture are you using (go env)?
linux amd64
What did you do?
I wrote a generic function(inside package), run gotip doc -all -c -u [package-name]
What did you expect to see?
expect to see the function signature in output, like func Intersection[T comparable](slices... []T) []T
What did you see instead?
functions that return []T are not printed, others like func Some[T any](slice []T, pred func(T) bool) bool are printed
I tried dig into the doc generator, found that

these functions are now considered to be factory functions of T, their associations go typ.funcs.set branch instead of r.funcs.set
cleanupTypes() deleted T from r.types because it has no definition
then T is not included in docPkg.Types, thus no results are printed

with following ~immature hack~ diff those functions will be printed:
@@ -429,8 +436,9 @@ func (r *reader) readFunc(fun *ast.FuncDecl) {
                 }
                 // If there is exactly one result type,
                 // associate the function with that type.
-                if numResultTypes == 1 {
+                if numResultTypes == 1 && typ.decl != nil {

With the suggested change, is the result that the generic function isn't considered a constructor, and is thus rendered as a regular top-level function?
That seems fine to me - if it returns a generic slice type, it's not like we can attach it to any specific type.
Want to send a PR? It should include a test.

@mvdan yup, they are rendered as regular top-level functions
I submitted a PR, is this test case ok..?

Thanks! I've left you a review on Gerrit. See https://github.com/golang/go/wiki/GerritBot.

Duplicate of #49477, which was fixed.


Cheat: 24 hours timer can be tricked

The 24 hour-timer for repeatable levels can be tricked by changing the computer-time.
This issue is a result of this forum post:
http://discourse.codecombat.com/t/cheats-for-time-travels/3019?u=j_f_b_m

I could not replicate this when I tried it.

Also:


[Migration] Enable account lock for totp authenticator

Describe the issue:
With PR [1], we have enable account lock for invalid login attempts for TOTP authenticator. After this PR, previous behavior will be changed and if account lock is enabled, the user account will be locked if a user tries invalid codes higher than the configured max failed attempt count.
If you wish to have the previous behavior where account lock is not enable for TOTP authenticator, you need to add following config to the deployment.toml file
[authentication.authenticator.totp.parameters]
EnableAccountLockingForFailedAttempts = false

This feature improvement is tracked in https://github.com/wso2/product-is/issues/14777
[1] https://github.com/wso2/carbon-identity-framework/pull/4234

Related doc PR: https://github.com/wso2-enterprise/migration-docs/pull/86

Closing the issue as the fix is done.


Update Kubermatic Logo on Landing page

Hi there,
We do have a new logo that would need to be changed on your website.
(If there is a way I can do it myself please letme know. I just could not find it at first sight)

Thanks,
Krissi

It's at https://github.com/prometheus/docs/tree/master/static/company-logos if you'd like to send a PR.

The logo has already been updated in this PR.


How to change the layout runtime without creating new layouts content or config.

I created the new layout content on button click and bind with existing page but it emits event multiple times because of existing emit in golden layout.
can you please give an example to change the layout on button click in same page.

Hi @crushikesh ,
thanks for raising this. There seems to be a genuine issue that we'll summarize in #78 . Please watch this space

Example coming soon in new website

thanks for the upcoming example. Can you provide the example which changes the layout on button click and viceversa with the previous layout when layout contains multiple stacks, rows and columns. like toggle button.

Hehe, sure - here are two upfront previews of how it works
http://codepen.io/wolframhempel/pen/01249881a541bafcdf827c8b9020ad8a
http://codepen.io/wolframhempel/pen/2e5d0456964b59f9eec1ecb44e1d31eb

That is really a great news. Thanks for providing snippet. But in some scenerio it is failing like
a) if we popout stack component and the toggle then it will toggle only existing rows with columns within main layout, it didnt insert back popout component and then toggle.
b) if we drag a component from stack to another row or column then it didnt insert back to its original position and then toggle.
c) if we maximize a component and then click column then it didnt toggle properly.
In short if we restructure the layout other than row and column wise then it shows blank screen and their is no proper toggle happens.

I understand that, but there is literally an infinite amount of states that a layout can be toggled from and to. It's therefor up to you to implement the exact state that you want to arrange your layout in programmatically, but GoldenLayout gives you the API to do so (as the two codepen's above demonstrate)


Move method of codef signature to right after codef court contact info

Will update this description as it evolves. Also see #55. This is the codefendant info flow:
Some screens first, then when we ask for a codefendant's details...

Screen: What is your codefendant's name? (as it is)
Screen: How can the court contact them? (as it is)
Screen: How will the codefendant sign it? (followed by 4 options)

I want this form to email them a link
I want this form to text them the link
They are with me and will sign on my device
I have permission to sign for them
(If user choice email or mobile) text field for email or mobile

There are different ways to do this without affecting other parts of the logic. If I'm not around, here are my general plans.
Do this as part of collecting codefendants (look for codefendants[i].complete).

Ask the question
Use if logic to append the codefendant to the right list. You'll have to look at lists like local_signers, remote_signers, who_will_proxy_sign (that name might not be right), and I think there's one other.
If they said they'd sign for the defendant, set will_proxy_sign to True. We might want to re-think how we do that test in the docx so that it no longer needs that variable. We may be able to replace it with who_will_proxy_sign.number().
I'm not sure where the current questions about local signatures are, but we may have to track that down and neutralize those.

It was always complex and I didn't like it. I think this order of questions might simplify things nicely.

Fixed by #88


Infinite scrolling keeps loading the interface

Describe the bug

Expected behavior

How to reproduce

Screenshots / Logs
No response
Additional context
No response


[v2.5] Repatriate from v2.4

This PR merges release/v2.4 in to release/v2.5.

Closing because repatriation was removed from the development process.


Allow Rails5 support

Maybe solves #728

Some annoying problems with the route it wants me to change; and I broke the file upload tests (but everything else is happy).
Will resume later, perhaps or just leave this for anyone who wants to scavenge over the changes.
Really should run rubocop to do http://effectif.com/ruby/update-your-project-for-ruby-19-hash-syntax over the project at some point.

Is anybody working on this?

Rails 5 support would be awesome


ner_mitie training error with Chinese

Rasa NLU version:0.12.1
Operating system (windows, osx, ...):ubuntu 16.04
Content of model configuration file:
language: "zh"

pipeline:
- name: "nlp_mitie"
- name: "tokenizer_jieba"
- name: "ner_mitie"
- name: "ner_synonyms"
- name: "intent_entity_featurizer_regex"
- name: "intent_featurizer_mitie"
- name: "intent_classifier_sklearn"

Issue:
The first problem is the format of the config file config_jieba_mitie_sklearn.yml in the sample config folder, I have changed it as above and removed some unnecessary punctuation. It now looks right.
And when I fixed the config file, It still got problems when I tried to train my data.
2018-04-19 17:19:33 INFO     rasa_nlu.model - Starting to train component ner_mitie
Traceback (most recent call last):
  File "/usr/lib/python3.5/runpy.py", line 184, in _run_module_as_main
    "__main__", mod_spec)
  File "/usr/lib/python3.5/runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "/mnt/e/rasa_nlu/rasa_nlu/train.py", line 163, in <module>
    num_threads=cmdline_args.num_threads)
  File "/mnt/e/rasa_nlu/rasa_nlu/train.py", line 139, in do_train
    interpreter = trainer.train(training_data, **kwargs)
  File "/mnt/e/rasa_nlu/rasa_nlu/model.py", line 190, in train
    **context)
  File "/mnt/e/rasa_nlu/rasa_nlu/extractors/mitie_entity_extractor.py", line 85, in train
    trainer.num_threads = kwargs.get("num_threads", 1)
  File "/usr/local/lib/python3.5/dist-packages/mitie/mitie.py", line 518, in num_threads
    _f.mitie_ner_trainer_set_num_threads(self.__obj, value)
ctypes.ArgumentError: argument 2: <class 'TypeError'>: wrong type

Can anyone tell me what's the problem and how to fix it? Thanks.

Can you provide the whole config file? It seems num_threads get a wrong type value.

I have provided the whole config file in the description of my issue. And when I tried to changed the code of  the file "rasa_nlu/rasa_nlu/extractors/mitie_entity_extractor.py", line 85, in train
trainer.num_threads = kwargs.get("num_threads", 1)

to
trainer.num_threads = 1

It works. So strange.
And my version of Python is 3.5

@fangd123 can you create a PR with the config change you made to the sample config?

It takes more time than I think because of  my laptop with an old CPU that not supported by tensorflow 1.6 which required by RASA NLU v0.12.1. I am still working on this issue.

this issue is caused by default value of 'num_threads' is None which is setting by function create_argument_parser in train.py. I will make a PR for this.

Thanks :+1:


Law: intensity of sound wave via displacement amplitude

Hm, I guess I accidentally merged this commit somehow

Not sure how to un-merge it though


Type safety for int / float values

At the moment php-cassandra accepts \Cassandra\Type\Float() for an INT field and \Cassandra\Type\Int() for a FLOAT field. Passing value of the wrong type silently corrupts the data. For example:

\Cassandra\Type\Float(1.0) inserted to an INT field gives "1065353216"
\Cassandra\Type\Int(1) inserted to a FLOAT field gives "1.4013e-45"

Is there any way to check the types of the values inserted using the binary protocol?

Sorry, the anwser is no.  You should take care of your type by yourself.


Write User Stories

A user story is a tool used in Agile software development to capture a description of a software feature from an end-user perspective

First, we need to define the different users of the platform:

the farmer
the community worker / volunteer
?

Cool, thanks @sargicohen, that's a start.
Please read https://www.mountaingoatsoftware.com/agile/user-stories

As a consumer (community member), I want to know how to cook an aubergine (or brinjal) so that I search in the Polycrox Fidji's database.

An user can have more than one profile. One for each garden, the user participates in (as a farmer, a volunteer, ...)
e.g: An user, Mark, creates an account on Polycrox and creates a garden. He has then a "Farmer" profile for this garden.
The same user, Mark, volunteers in another garden also in Polycrox. He has the "Volunteer" profile for this garden.

As a community grower,
I want to grow perennials and harvest crops
so that I can supply the community with food products and knowledge/support
As a subsistence grower,
I want to grow for personal consumption
so that I can feed my family and myself
As a medicinal, herbal & indigenous grower,
I want to grow local native species and harvest herbs for medicinal purposes
so that I can supply locally grown organic native herbs, and provide herbal medicines alongside indigenous knowledge
As a small-scale market grower,
I want to grow seasonal crops and harvest sellable quantities
so that I can sell locally grown organic produce to the local markets
As a community member (consumer)
I want to visit a garden depository to see a glossary, maps, and plant descriptions of existing gardens
so that I can 'consume' from the garden
As a community volunteer
I want to offer my time in the garden
so that I can integrate with the community and support a low-cost economic model
As a data collector
I want to be digitally capture information about the garden
so that there is a multidisciplinary support structure for the grower (garden)

Great, that's much better. Now let's try to rewrite these stories with Polycrox in mind.
How Polycrox can help these people to achieve what they want?

A user story is a tool used in Agile software development to capture a description of a software feature from an end-user perspective

As a community grower who wants to grow perennials and harvest crops,
I want Polycrox to plan the best design that combine perennials I chose
so that I can supply the community with food products and knowledge/support.
Here's the software feature is the simulation: I have these two perennials, two plots, what can I plant? and where? When will it be ready? Do I want to follow the Polycrox recommendation and start planting? or tweak the inputs to run a new simulation?


Find workaround for using #[pyclass] on a struct with lifetimes.

In autodiff::Variable, creating Python bindings is currently not possible due to #[pyclass] not being compatible on structs that have lifetime annotations, since Rust can no longer keep track of the references.
What I have:
/// Struct to contain the initial variables.
#[derive(Clone, Copy, Debug)]
pub struct Variable<'v> {
    /// Pointer to the tape.
    pub tape: &'v Tape,
    /// Index to the node.
    pub index: usize,
    /// Value associated to the node.
    pub value: f64,
}

What I wanted:
use pyo3::prelude::*;

/// Struct to contain the initial variables.
#[derive(Clone, Copy, Debug)]
#[pyclass]                           // <- This
pub struct Variable<'v> {
    /// Pointer to the tape.
    pub tape: &'v Tape,
    /// Index to the node.
    pub index: usize,
    /// Value associated to the node.
    pub value: f64,
}

I possibly need to change the Variable implementation such that it no longer uses explicit lifetime annotations. Open to suggestions.

Unfortunately this is not possible with borrowed references. The documentation suggests using a reference-counted pointer object such as Arc or Py, however.
More: https://pyo3.rs/v0.18.3/class.html?highlight=lifetime#restrictions


Support parse_namespace from a toplevel object

I want to get a namespace from toplevel object. @bbartley mentioned that pysbol2 supports this feature by peforming the following:
for obj in doc.objects:
    ns = sbol2.utils.parse_namespace(obj.identity)

I would like to request this feature supported in pysbol3.

pysbol2 does not have an exported parse_namespace or parseNamespace function. There is also no utils submodule in pysbol2. There is a parseNamespace function internal to pysbol2, however. The reason it is not exported is that it is a heuristic that might or might not properly determine the namespace of a URI. As such, its use is limited internally to pysbol2, and is not exported from the pysbol2 module.
If you want a function that heuristically guesses a namespace from an object's URI, you'll want to define that function yourself. You could use one of the two definitions in pysbol2 as a basis for yours or do it a different way. The fact that pysbol2 has two different parseNamespace functions internally demonstrates that this is a heuristic that just isn't a good idea. The two definitions are:

https://github.com/SynBioDex/pySBOL2/blob/master/sbol2/config.py#L339
https://github.com/SynBioDex/pySBOL2/blob/master/sbol2/identified.py#L289

I have no plans to support a namespace parsing function in pysbol3. Section 5.1 of the SBOL3 specification says that TopLevel URLs use the following pattern: [namespace]/[local]/[displayId]. There is no way to determine when the namespace ends and the "local" portion of the URL/URI begins, or if the "local" portion even exists.
Following the URL/URI example in Section 5.1, which is https://synbiohub.org/public/igem/BBa_J23070, the two parseNamespace functions in pysbol2 would probably say that the namespace is https://synbiohub.org/public/igem and they would be wrong. The spec says the namespace is https://synbiohub.org. The namespace could just as easily be https://synbiohub.org/public too. This confusion is why it is a bad idea for pysbol2 and pysbol3 to export a parse_namespace function.
This might get better with the new Namespace definition in the upcoming SBOL3 3.0.1 specification. But until that is published we won't really know.

I believe that with 3.0.1, we'll end up with a namespace field on each object, which will make it just a field access. We should formalize this by the end of HARMONY

Hearing no reply I will close this issue. If you have any questions about this, please reopen and add a comment.


Connection to assetsd was interrupted or assetsd died

选择图片时提示Connection to assetsd was interrupted or assetsd died,然后崩溃了

和这2个issue很类似：https://github.com/banchichen/TZImagePickerController/issues/543 和 https://github.com/banchichen/TZImagePickerController/issues/437 有稳定的复现步骤吗？


Code release?

Great work! Are you planning on releasing the code by any chance? Thanks!

I plan to release the code in next month.


Clean input tap

What changes does this PR introduce?

Remove duplicated parameter files from input_tap and adjust prepare_run to use instead version from input_ad.
Remove un-tested (and un-maintained) additional dirs in exp. OpenAD (ad_singlelayer) and in lab_sea (code_tap.[adx.]noecco/).

What is the current behaviour?

Most (if not all) parameter files for Tapenade tests are identical to TAF corresponding tests (or OpenAD in case of OpenAD).
few untested (and not maintained) additional src and param files ; this make maintenance of the set of experiments more complicated.

What is the new behaviour

duplicated parameter files from */input_tap have been removed ; untested additional files also.

Does this PR introduce a breaking change?
no
Other information:
Suggested addition to tag-index
o verification:

remove duplicated parameter files from input_tap/ dir.

@mjlosch Thanks for all these good comments. In order:
(1) will remove this duplicated grdchk_readparms.F
(2) the eedata.mth is only used by testreport for multi-threaded tests (also served to decide which test "testreport -mth" will run). Since none of the TAF adjoint tests can run with more than 1 thread, these 3 eedata.mth are, at best, useless ; but also a little bit misleading, leaving the impression that these 3 set-up, at some point, have been able to run with multiple threads. So it's better to remove them, I think.
(3) I think it's a good point, but would prefer to leave changes to executable outside this PR (there is already a large enough number of removed files here) and add this as a new "bullet point" in your nice list above.

LGTM

@Shreyas911 No problem here, and thanks for the feedback.
And just to repeat: This PR does not involve any changes to any MITgcm executable (mitgcmuv*) from any experiment, and no changes to any input files neither (parameter files or binary files). Just removing few unused files and using a single copy instead of multiple.

Going to merge this PR (very) soon


chore: update/remove heart beat bumps

We clean up heart beat bumps after #6474.

I should have caught those all with the others I deleted.


README.md needs update

This is based upon review of (https://github.com/ARMmbed/mbed-os-example-bootloader/tree/mbed-os-5.9.0-oob).

In the "Building the bootloader" section, the update binary is no longer defined in the UPDATE_FILE macro, but rather in the mbed_app.json config file ("update_file" under config section).

In the "Building the application with the bootloader" section, it did not specify the exact application to use, but the fact is that the sample bootloader is by default expecting blinky application to be used. We should just use blinky as the example application. Then should add a separate section explaining that if a different application is used, the "update_file" config should be changed when building the bootloader.

@c1728p9

Hi @chuanga I created #70 to address these points. Since the bootloader example is not intended to be specific to mbed-os-example-blinky I left "Building the application with the bootloader" generic, but added extra clarification to it.

@chuanga Is there anything needed for this issue to be resolved?

Closing this issue since it is resolved by #70. @chuanga if you have concerns feel free to reopen


Bug: Scrolling is laggy

Type
UI-related issues
Bug description
Scrolling, either inside the image viewer or in the timeline, is laggy.
See https://github.com/nullxception/boorusphere/issues/137 for more information.
Steps to reproduce
Image viewer

Open an image
Scroll sideways for a while
It should be laggy

Timeline

Open any booru
Scroll down for a while
It should be laggy

Android version
Android 14
App version
1.4.7
Screenshots or videos
No response
Solution
No response
Additional context
No response
Acknowledgements

[X] I have searched the existing issues and this is a new and no duplicate or related to another open issue.
[X] I have written a short but informative title.
[X] I filled out all of the requested information in this issue properly.

I don't know how to fix this - it annoys me too, would be great if someone could help out here.
I'm still new to flutter :disappointed:  (That's why I have been implementing mostly minor features)


where is module abc

@hobincar  Hi , I am sorry to disturb you again. This week I want to use inceptionv4 net to extract features from the datasets. When I run this project, I find the "from abc import ABC" this sentence from the config.py in the project, but I cannot find where the abc module defination is.  Please help me.

Hi @maoao686868, The module abc is the built-in module in python language. The docs is saying that it is added in version 3.4, and I guess you are using an older version of python.

@hobincar I am sorry. Yes, I forget to change the python version since these codes are based on python 3.6.8 virtual environment, and the code for "Reconstruction for video captioning" is based on the python2.7.12 virtual environment.


Trying to get proptest work

Motivation
(Write your motivation for proposed changes here.)
Have you read the Contributing Guidelines on pull requests?
(Write your answer here.)
Test Plan
(Share your test plan here. If you changed code, please provide us with clear instructions for verifying that your changes work.)

Looks good to me. Are we concerned about the potential new behavior introduced by the code? I think this should never be triggered but would love to hear your thoughts @wrwg

I'm sharing this because I can't fix the failing proptest in this PR ;-) No idea what to do. Related to our discussion that I think proptest is a technical debt for us.

Looks good to me. Are we concerned about the potential new behavior introduced by the code? I think this should never be triggered but would love to hear your thoughts @wrwg

I'm sharing this because I can't fix the failing proptest in this PR ;-) No idea what to do and looking for help. Related to our discussion that I think proptest is a technical debt for us.

does this mean you intend to get rid of all the proptest! {, or just improve and fix the proptest failures ?


Add VishwaS-22.md

What changes does this PR do?
Adds my name to the list.

@CodingSpecies Yeah! Added at line 1663.
Thankyou.


Program crashes when copying from the context menu.

Program crashes when copying from the context menu.
Operation system: Ubuntu 14.10 (Unity).
Atom ver 0.168.0

See #4892 and let us know if you still see this in 0.169.0.


first palettette conversation

show posty neutral
    pal "_" # palettette introduces herself, explaining her backstory and discussing the scanter and offering to demonstrate.
    p "_"
    if item.battery:
        pal "_" # palettette asks like "wait, is that MY battery? you got it for me?" or something
        p "_" # posty acts like she totally grabbed the battery out of wanting to give it to palettette even though this is a lie
        jump .pal_battery
    else:
        $ saw.pal = True
        pal "_" # palettette explains that her battery rolled into ahiss's territory and asks posty to get it back
        jump museum_war

show posty neutral
    pal "Hiya! The name's palettette@!" # palettette introduces herself
    p "Hello! I'm Posty. Whatcha doing here?" # happy expression
    pal "Well, I was forced to leave my attic in the city of Cincinnati and i really miss my favourite way of playing music: a CD player." # explaining her backstory
    p "Oh"
    pal "" # discussing the scanter
    pal "" # offering to demonstrate.
    p ""
    if item.battery:
        pal "" # palettette asks like "wait, is that MY battery? you got it for me?" or something
        p "" # posty acts like she totally grabbed the battery out of wanting to give it to palettette even though this is a lie
        jump .pal_battery
    else:
        $ saw.pal = True
        pal "" # palettette explains that her battery rolled into ahiss's territory and asks posty to get it back
        jump museum_war

show posty neutral
pal "Hiya! The name's palettette@!" # palettette introduces herself
p "Hello! I'm Posty. Whatcha doing here?" # happy expression
pal "Well, I was forced to leave my attic in the city of Cincinnati soo" # explaining her backstory
p "Oh" # neutral expression
pal "" # discussing the scanter
pal "" # offering to demonstrate.
p ""
if item.battery:
pal "" # palettette asks like "wait, is that MY battery? you got it for me?" or something
p "" # posty acts like she totally grabbed the battery out of wanting to give it to palettette even though this is a lie
jump .pal_battery
else:
$ saw.pal = True
pal "" # palettette explains that her battery rolled into ahiss's territory and asks posty to get it back
jump museum_war

show posty neutral
    pal "Hiya! The name's palettette@!"
    p "Hello! I'm Posty. Whatcha doing here?" # happy expression
    pal "Well, I was forced to leave my attic in the city of Cincinnati soo"
    p "Oh" # neutral expression
    p "Hey whats that?"
    pal "This is a unique device called "The Scanter" - a hybrid painter and scanner!"
    p "Ah okay."
    if item.battery:
        pal "Wait! Is that MY battery? You actually got it for me?"
        p "Huh-oh yup I totally grabbed it to give to you"
        p "Definitely not lying"
        jump .pal_battery
    else:
        $ saw.pal = True
        pal "I {i}would{/i} demonstrate, but my battery rolled into {b}ahiss's{/b} territory. Could you maybe get it back?"
        jump museum_war

it's good! just needs some expressions
ALSO! note to whoever implements: move the saw.pal flag trigger to the beginning of the block so it still gets triggered even if you already have the battery.

$ saw.pal = True
show posty neutral
    pal "Hiya! The name's palettette@!"
    p happy "Hello! I'm Posty. Whatcha doing here?"
    pal "Well, I was forced to leave my attic in the city of Cincinnati soo"
    p sad "Oh"
    p confused "Hey whats that?"
    pal "This is a unique device called "The Scanter" - a hybrid painter and scanner!"
    p neutral "Ah okay."
    if item.battery:
        pal "Wait! Is that MY battery? You actually got it for me?"
        p zany "Huh-oh yup I totally grabbed it to give to you"
        p "Definitely not lying"
        jump .pal_battery
    else:
        pal "I {i}would{/i} demonstrate, but my battery rolled into {b}ahiss's{/b} territory. Could you maybe get it back?"
        jump museum_war


SA1502 documentation does not match behavior

On https://github.com/DotNetAnalyzers/StyleCopAnalyzers/blob/master/documentation/SA1502.md it says that short properties, events and indexers are allowed to be on one line but it doesn't look like the code matches that. The following property causes a violation for example.
public IFoo Foo { get { return this.foo; } }

The documentation says the following (emphasis mine):

As an exception to this rule, accessors within properties, events, or indexers are allowed to be written all on a single line, as long as the accessor is short.

The example property would look like the following using a single-line accessor:
public IFoo Foo
{
    get { return this.foo; }
}

The only two cases where a complete property may be written on one line are auto-properties and expression-bodied properties.
// auto-property
public IFoo Foo { get; }

// expression-bodied
public IFoo Foo => this.foo;

You're right. I misread.


json decode failure in twitch token validator

Traceback (most recent call last):
  File "requests\models.py", line 971, in json
  File "json\__init__.py", line 346, in loads
  File "json\decoder.py", line 337, in decode
  File "json\decoder.py", line 355, in raw_decode
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "nppyi.py", line 14, in <module>
  File "nowplaying\__main__.py", line 86, in main
  File "nowplaying\__main__.py", line 73, in actualmain
  File "nowplaying\systemtray.py", line 44, in __init__
  File "nowplaying\settingsui.py", line 56, in __init__
  File "nowplaying\settingsui.py", line 129, in load_qtui
  File "nowplaying\twitch\settings.py", line 34, in load
  File "nowplaying\twitch\settings.py", line 86, in update_token_name
  File "nowplaying\twitch\utils.py", line 48, in qtsafe_validate_token
  File "requests\models.py", line 975, in json
requests.exceptions.JSONDecodeError: Expecting value: line 1 column 1 (char 0)

Fixed in 4.2.0 RC1


Update API documentation for 0.3.14

Yay, new release! Unfortunately, the API docs are based on 72295cf, so they still advertise functionality like .inGPU() for NDArray objects.

Documentation should be updated now. That API change should be fairly contained (which is why we allowed it in a non major version released) - it was only used for tests in our world.
Thanks for the note!

This looks resolved and can be closed.

Docs are brand new and more manually curated! Hopefully this helps.
https://deeplearnjs.org/docs/api/


Errors building from source on Manjaro-Linux

Hi!
When I build on Linux, I get this errors:
Traceback (most recent call last):
  File "/home/dimitri/.pyenv/versions/3.9.0/lib/python3.9/site-packages/cx_Freeze/initscripts/__startup__.py", line 113, in run     module_init.run(name + "__main__")
  File "/home/dimitri/.pyenv/versions/3.9.0/lib/python3.9/site-packages/cx_Freeze/initscripts/Console.py", line 15, in run     exec(code, module_main.__dict__)
  File "main.py", line 6, in <module>
  File "/home/dimitri/BDSP-Randomizers/Randomizers/Starters.py", line 11, in <module>     from Randomizers.Patches.GameOffsets.GameOffsets import GameOffsets
  File "/home/dimitri/BDSP-Randomizers/build/exe.linux-x86_64-3.9/lib/Randomizers/Patches/GameOffsets/GameOffsets.py", line 8     match gameType:
........................................................^
SyntaxError: invalid syntax
Any way to fix them?
PS: the ".........." in front of the " ^ " are for spaces so the symbol is where it is showed on my terminal.

There's a weird bug with building that requires you to drag the "Randomizers" folder into lib, try that.

There is no lib folders in the first place so I created one, put the Randomizers folder in it but now, when I try to build, it tells me there is no module named "Randomizers"

most likely then you don't have all the modules installed. Ks should be keystone-engine

Oh well, if only I knew I needed to install that as I had to go through errors to try and install all the dependencies. I suggest the creation of a "requirements.txt" so people can install everything and not run into this issue.
I now have a working Linux build.
Thanks for the help.

added one


How to deploy this library under SwiftUI?

I refer to the example in this article
<EMAIL_ADDRESS>can do ,but I cannot use a Delegate

I am sorry but I don't quite understand the problem. Can you describe what is blocking you and why you cannot use a delegate? I don't know if it is going to help but there was a discussion related to delegates here and here

in SwiftUI use delegate ,not swift

I have not used SwiftUI but looking at the post you mentioned it seems that it should be possible as it seems that it is possible to write at least some code to bridge the UI with the client. In the article they are using a webSockets which is also event driven. One possible way to explore could be wrapping the client/delegate in Observable.
This issue is too generic to be addressed. If you find something specific that is blocking the scenario feel free to open a new issue and provide information about the issue, the existing vs. expected scenario and a repro.
I am closing this issue as there isn't anything actionable item to address given the provided information.


Conflicting info on availability for Hybrid Connections on Linux App Service Plan

Hi!
This page states "Hybrid Connections is only supported on Windows plans. Linux isn't supported." in a highlight.
Other places say it's supported, like this quote:  "It's supported in GA for Windows apps and Linux apps." from this page: https://learn.microsoft.com/en-us/azure/app-service/app-service-hybrid-connections#app-service-hybrid-connection-benefits which states:
Which one is correct?

Document Details
⚠ Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.

ID: bc0b34e2-0eb8-fe89-300c-67e6c212ed31
Version Independent ID: 5d01d8ce-f835-c88c-801c-1d569f24fd9f
Content: Azure Functions networking options
Content Source: articles/azure-functions/functions-networking-options.md
Service: azure-functions
GitHub Login: @ggailey777
Microsoft Alias: cachai

Hybrid Connections is not supported on Linux based Azure Functions yet. However, App Service supports on Linux. Please check out https://learn.microsoft.com/en-us/answers/questions/1182984/hello-is-azure-hybrid-connections-available-for-li for similar discussion.
I hope this helps and let us know if any questions.


Null ProxyGrantingTicket found

Error is random and not reproducible. There are CAS logs created.
What test should be performed to check for error before calling GetProxyTicketIdFor method
casTicket = CasAuthentication.ServiceTicketManager.GetTicket(formsAuthTicket.UserData);
if (casTicket.ProxyGrantingTicket == null)
{
// How to get PGT??
//
}
Current workaround restart IIS website on the production server.
Production is using a load balancer and a single front-end server. There is no cache enabled on the Server side. IIS application pool recycles every 20 minutes.
Test Url - https://help.3ds.com/MyAppTest.aspx
Using another My Apps Service within the company to get data by proxy authentication.
Using CAS authentication URL: https://eu1-ds-iam.3dexperience.3ds.com/3DPassport/my-profile
My Apps Service to get data using PGT - https://eu1-apps.3dexperience.3ds.com/enovia/resources/AppsMngt/apps/appsForUser
Error Output -
CAS Is Authenticated: True
CAS Ticket: ST-850625-7cwPxvNTgts9coel3kZb-cas
CAS Ticket Details: [ST-850625-7cwPxvNTgts9coel3kZb-cas] NetID............. vch Proxy............. PGT IOU......... PGT............. Proxy Tickets... Origin Service.... https://betahelp.3ds.com/MyAppTest.aspx Client Address.... <IP_ADDRESS> Valid From........ 2/15/2021 9:08:58 AM Valid Until....... 2/15/2021 9:38:58 AM Assertion......... Principal....... vch Valid From...... 2/15/2021 9:08:58 AM Valid Until..... 1/1/0001 12:00:00 AM Attributes......
Proxy Ticket Error: System.InvalidOperationException: Unable to obtain CAS Proxy Ticket. at DotNetCasClient.CasAuthentication.LogAndThrowOperationException(String message) at DotNetCasClient.CasAuthentication.GetProxyTicketIdFor(String targetServiceUrl) at SolidWorks.Content.SWHelp.MyAppTest.Page_Load(Object sender, EventArgs e) in C:\lc\src_ds\SWHelp\MyAppTest.aspx.cs:line 202
Good Output -
CAS Is Authenticated: True
CAS Ticket: ST-5333856-349PFWBoGyMsFKeLO4RQ-cas
CAS Ticket Details: [ST-5333856-349PFWBoGyMsFKeLO4RQ-cas] NetID............. vch Proxy............. PGT IOU......... TGT-5922734-luHmcKgrqUZObhoNLEcBAcXCT70BOh6pIXnPWZl0rhaeY7T6ew-cas PGT............. PGTIOU-661059-7ChLanrXDqlOlwfOQ7vp-cas Proxy Tickets... Origin Service.... https://help.3ds.com/HelpProductsDS.aspx Client Address.... <IP_ADDRESS> Valid From........ 7/14/2021 10:25:51 PM Valid Until....... 7/14/2021 10:55:51 PM Assertion......... Principal....... vch Valid From...... 7/14/2021 10:25:51 PM Valid Until..... 1/1/0001 12:00:00 AM Attributes......
Proxy Ticket from GetProxyTicketIdFor received: ST-5426807-0oYXKgxxxIJ0Sh9cmuIB-cas
Error is due to ProxyGrantingTicketId being null.
proxyGrantingTicketId cannot be null
After the exception, the problem is not being able to recover after doing CasAuthentication.ClearAuthCookie(). The only way to recover is doing an IIS reset. The code works but after getting this exception not able to recover even after doing the ClearAuthCookie().
              if (iCnt > 3)
                {
                    // CasAuthentication Clearing Auth Cookie after three Refresh tries.
                    CasAuthentication.ClearAuthCookie();
                    if ((HttpContext.Current != null) && (HttpContext.Current.Session != null))
                    {
                        HttpContext.Current.Session.Clear();
                        HttpContext.Current.Session.Abandon();
                    }

                }

This is from Memory dump during error on production –
We have reviewed the dumps, please find the analysis below –
This is what we’ve been seeing. The exception we are looking for seems to be on this memory dump: w3wp__DSHelp__PID__8156__Date__02_19_2021__Time_04_59_43PM__398__First Chance System.ArgumentException.dmp
In this stack we are having the exception:
0:029> kc
Call Site
00 KERNELBASE!RaiseException
01 clr!RaiseTheExceptionInternalOnly
02 clr!IL_Throw
03 DotNetCasClient!DotNetCasClient.Utils.UrlUtil.ConstructProxyTicketRequestUrl
04 DotNetCasClient!DotNetCasClient.CasAuthentication.GetProxyTicketIdFor
05 SWHelp!SolidWorks.Content.SWHelp.MyAppTest.Page_Load
06 System_Web_ni!System.Web.UI.Control.OnLoad
07 System_Web_ni!System.Web.UI.Control.d__246.MoveNext
08 System_Web_ni!System.Web.Hosting.ApplicationManager.SuspendAllApplications
09 System_Web_ni!System.Web.UI.Control.LoadRecursiveAsync
0a System_Web_ni!System.Web.UI.Page.d__523.MoveNext
0b System_Web_ni!System.Web.Hosting.ApplicationManager.SuspendAllApplications
0c System_Web_ni!System.Web.UI.Page.ProcessRequestMainAsync
0d System_Web_ni!System.Web.UI.Page.d__515.MoveNext
0e System_Web_ni!System.Web.Hosting.ApplicationManager.SuspendAllApplications
0f System_Web_ni!System.Web.UI.Page.ProcessRequestAsync
10 System_Web_ni!System.Web.UI.Page.<>c__DisplayClass554_0.b__0
11 System_Web_ni!System.Web.HttpContext.InvokeCancellableCallback
12 System_Web_ni!System.Web.UI.Page.d__554.MoveNext
13 System_Web_ni!System.Web.Hosting.ApplicationManager.SuspendAllApplications
14 System_Web_ni!System.Web.UI.Page.ProcessRequestAsync
15 System_Web_ni!System.Web.TaskAsyncHelper.BeginTask
16 App_Web_pbgxtqie!ASP.myapptest_aspx.BeginProcessRequest
…
0:029> !pe2
Address: 0x00000079d3dbd960
HResult: 0x80070057
Type: System.ArgumentException
Message: For proxy ticket requests, proxyGrantingTicketId cannot be null and must be specified.
Stack Trace:
SP IP Function Source
If we review the code, the exception is being thrown as the object is null
public static string ConstructProxyTicketRequestUrl(
string proxyGrantingTicketId,
string targetService)
{
CasAuthentication.Initialize();
if (string.IsNullOrEmpty(proxyGrantingTicketId))
throw new ArgumentException("For proxy ticket requests, proxyGrantingTicketId cannot be null and must be specified.");
if (string.IsNullOrEmpty(targetService))
throw new ArgumentException("For proxy ticket requests, targetService cannot be null and must be specified.");
That is being passed as a parameter on this method:
public static string GetProxyTicketIdFor(string targetServiceUrl)
{
  CommonUtils.AssertNotNullOrEmpty(targetServiceUrl, "targetServiceUrl parameter cannot be null or empty.");
  if (CasAuthentication.ServiceTicketManager == null)
    CasAuthentication.LogAndThrowConfigurationException("Proxy authentication requires a ServiceTicketManager");
  FormsAuthenticationTicket authenticationTicket = CasAuthentication.GetFormsAuthenticationTicket();
  if (authenticationTicket == null)
    CasAuthentication.LogAndThrowOperationException("The request is not authenticated (does not have a CAS Service or Proxy ticket).");
  if (string.IsNullOrEmpty(authenticationTicket.UserData))
    CasAuthentication.LogAndThrowOperationException("The request does not have a CAS Service Ticket.");
  CasAuthenticationTicket ticket = CasAuthentication.ServiceTicketManager.GetTicket(authenticationTicket.UserData);
  if (ticket == null)
    CasAuthentication.LogAndThrowOperationException("The request does not have a valid CAS Service Ticket.");
  string responseXml = (string) null;
  try
  {
    responseXml = HttpUtil.PerformHttpGet(UrlUtil.ConstructProxyTicketRequestUrl(ticket.ProxyGrantingTicket, targetServiceUrl), true)

0:029> !do2 0000007ad8fd4368
0x0000007ad8fd4368 DotNetCasClient.CasAuthenticationTicket
0008 NetId                  : 0000007ad8fd18f8  "vch" [3] (System.String)
0010 ServiceTicket          : 0000007ad8f7a658  "ST-1713038-t4saojRRdfuziqjT1nCh-cas" [35] (System.String)
0018 ProxyGrantingTicketIou : 0000007ad8fd2678  "PGTIOU-997576-HuIaIFJ4ceczwidxbQmf-cas" [38] (System.String)
0020 ProxyGrantingTicket    : NULL
0028 Proxies                : 0000007ad8fd43c8 (System.Collections.Generic.List<System.String>) [Length: 0]
0030 OriginatingServiceName : 0000007ad8fd42d8  https://help.3ds.com/MyAppTest.aspx [35] (System.String)
0038 ClientHostAddress      : 0000007ad8fd4338  "<IP_ADDRESS>" [10] (System.String)
0040 Assertion              : 0000007ad8fd2700 (DotNetCasClient.Security.Assertion)
0048 ValidFromDate          : 0000007ad8fd43b0 19/02/2021 17:59:43 (System.DateTime)
0050 ValidUntilDate         : 0000007ad8fd43b8 19/02/2021 18:29:43 (System.DateTime)

Nobody has responded to this issue and it seems no commits have been made for 5 years? Is this project abandoned?
In any case, we ran into this problem, and it turns out not to be an issue with the cas client but rather the underlying .NET framework:
https://stackoverflow.com/questions/7422859/memorycache-empty-returns-null-after-being-set
It was fixed in .NET 4.5 and also evidentally backported to .NET 4 but only available by request? Our application is using .NET 4.6, but the latest precompiled cas client binary available uses .NET 2. I'm not sure how .NET works with components using mixed framework versions, but we're going to try to compile our own cas client library using .NET 4.6 and see if the problem goes away.

I am glad you were able to do some debugging/troubleshooting and able to figure out what the problem was.
I'm not sure what precombiled binaries you are using, but you should be using NuGet packages.  The latest NuGet package for this project supports both .NET 2, 3.5 and 4.x.  So if you add the NuGet package into a project that targets 4.x, then NuGet will select the binary compiled for .NET 4.x

https://www.nuget.org/packages/DotNetCasClient/

Thanks for the info. I'm playing the role of the idp admin here :), so I don't know all the details of what our windows web developers are up to. I looked at that nuget page and just saw the ".NET Framework 2.0" label at the top, but I see now if I click on the "Frameworks" tab below there are newer versions listed.

@pbhenson ah yeah, that is confusing.  Microsoft and their geniuses at naming things.  That first "tag" really means it's part of the .NET Standard 2.0 "collection".  At some point years ago they started to group and classify multiple actual framework version together that have "compatibility".
If you care to dig into that rabbit hole look here:  https://learn.microsoft.com/en-us/dotnet/standard/frameworks

I try to avoid Windows rabbit holes as much as possible :), but our Windows devs were stalled on sorting this out so I was digging through the .NET code trying to track down the issue.
If I understand the nuget page now, it's "compatible" with a wide range of versions from 2.0 through 4.8.1, but only provides precompiled binaries for 2.0, 3.5, 4.0, and 4.5? Our local app is using 4.6 something as I understand. I've got no idea how they pulled in this dependency though.
One way or the other, either they're using an old buggy version of the framework, or a newer version has a regression and is exhibiting the same problem. Not my issue or this module's issue at this point; hopefully they'll sort things out.
Thanks again...

@pbhenson a 4.5 assembly should work in a 4.6 application.  Somehow communication to them they should be using NuGet to install package/binary dependencies.  Using the NuGet Package Manager built into Visual Studio, they should be able to download this specific page named "DotNetCasClient" and when the package manager installs the package it will load and reference the correct 4.5 assembly into the project.
There are a few copy cat CAS clients out there for the traditional .NET Framework (pre "core" and pre v5) so maybe they downloaded (manually) or installed someone else's unofficial version.  It could also be that they downloaded on of the very old "releases" from the Releases tab on this GitHub project.  Definitely have them try and start over using the NuGet route.
I know several places that are using the most recent (1.3.2) nuget package version in .NET projects targeting 4.7.2 and 4.8.x.
If possible, try and convince them to upgrade the entire project and all dependent projects to 4.8.  That 4.6 they are targeting is well out of support IIRC.


Updated README

Added AzerothCore logo and moved the AzerothCore Flag Checker to be beside it.
Made the example image clicable (to match the Live Demo url)
Changed a little the Currently supports text
Added headers to each category
Added code ticks to each flag within a category
Added Inspired by with a link to the original inspired TC flag checker

No

¯_(ツ)_/¯


Terraform error Provider produced inconsistent result after apply

Hi, I created a new index without any issue, but Terraform returned an error.
 Error: Provider produced inconsistent result after apply
│
│ When applying changes to pinecone_index.gofigure, provider "provider[\"registry.terraform.io/biosugar0/pinecone\"]" produced an unexpected new value:
│ .pod_type: was cty.StringVal("p1.x1"), but now cty.StringVal(".").
│
│ This is a bug in the provider, which should be reported in the provider's own issue tracker.

Very likely related with this issue. I have a free tier which only allows me to use the starter pod. But when i declare it on the index i got this error


crash w/ transmission plug - NameError: name 'partial' is not defined

Seeing a crash with the latest transmission plugin, the fix seems trivial in my case.
Crash:
tail crash_report.2<IP_ADDRESS>031705399.log
NameError: name 'partial' is not defined
Traceback (most recent call last):
File "/home/grimace/flexget/flexget/task.py", line 547, in __run_plugin
result = method(*args, **kwargs)
File "/home/grimace/flexget/flexget/event.py", line 20, in call
return self.func(*args, **kwargs)
File "/home/grimace/flexget/flexget/plugins/clients/transmission.py", line 616, in on_task_output
start_torrent = partial(self.client.start_torrent, [torrent_info.id])
NameError: name 'partial' is not defined
change:
grimace@rodent:~/flexget$ git diff "/home/grimace/flexget/flexget/plugins/clients/transmission.py"
diff --git a/flexget/plugins/clients/transmission.py b/flexget/plugins/clients/transmission.py
index c200265e6..e9fe64eab 100644
--- a/flexget/plugins/clients/transmission.py
+++ b/flexget/plugins/clients/transmission.py
@@ -6,6 +6,7 @@ from fnmatch import fnmatch
from netrc import NetrcParseError, netrc
from time import sleep
from urllib.parse import urlparse
+from functools import partial, wraps
from loguru import logger

Should be fixed in next release. Recommend roll back until you can update. There's a couple other issues already open for this

3.1.86 with fix is out!

Seems to work now, thx.


Extract language code from hyphenated hostnames

Previously e.g. fr.sharelatex.staging would be split on the period to get the language code fr.
Now, split on period or hyphen, so that the language code can be extracted from fr-staging-google.sharelatex.com.
Related to Issue: https://github.com/sharelatex/overleaf-google-ops/issues/161

See also: https://github.com/sharelatex/overleaf-google-ops/pull/164/


issue#22-displaysong

Songs (title, artist, and rating) should be displayed for all users in the database. For
example, if Sally entered “While we’re young” and Don entered “Sweet Jane,” both
Sally and Don will see the same song list containing “While we’re young” and “Sweet
Jane.” However, only Sally should be able to update and delete “While we’re young”
while only Don should be able to update and delete “Sweet Jane.”

Issue is resolved in  issue#15-readcrud branch


Implement input validations to Publisher user inputs

Needs to implement the user input validation as it was there in old jaggery UI
This file contains most of the validation patterns/methods
Here is the usage of those custom validators as class names in input elements
We need to implement these validations in React input files (Material-UI TextFiels etc)
Implement those custom validation in APIValidation.js

Trailing slash (/) is not validated in publisher API context input

- is allowed in the Publisher's API Name input field but UI validation message says spaces or special characters are allowed.

Closing this issue, since we have migrated the 2.6 JS migrations into 3.x and now it’s been evolved to 4.0 as well


Distribute more tokens than available

If I, by accident, try to distribute more tokens that are available (e.g. there are 1M tokens available and I enter 600k in the input of 2 people), then there is a JS error and no error message displayed to the user. JS error “Uncaught (in promise) Error: createType(Call):: Call: failed decoding assets.transfer:: Struct: failed on args: {"id":"u32","target":"MultiAddress","amount":"Lookup110"}:: Struct: failed on amount: Compact:: u128: Negative number passed to unsigned type”

fixed. It will give warnings now


tests: clean pytest fixtures

refactoring tests with pytest fixtures to avoid repeated code and repeated setup. Testing time is roughly divided by 2

Why did you remove Saveoifits/ from .gitignore?

because it belongs in .git/info/exclude, which is a local file, not the shared .gitignore


[traffic light detection] hdmap_input.cc: the method of hdmap: GetForwardNearestSignalsOnlane

Hi Apollo team:
Recently, I've been reading the traffic light detection part code. Traffic light detection use hdmap to provide the location of roi. In function GetSignals of file hdmap_input.cc, hdmap's method : GetForwardNearestSignalsOnLane is used to get signals.
Can someone give me a description about this method? From my understanding, this method pick the lane the car located based on the localization, then pick the traffic light which overlap with the lane. This process should be easy and the result should be either one traffic light or no traffic light. But from the code, I can see that it's more complex. There maybe several lanes the car located(how is this possible?) and there maybe several traffic lights in one lane( how is this possible?).
Can someone help? Thank you.

@hzdsdhr GetForwardNearestSignalOnLane() take a point as input, and return the traffic light(s) along the lane(s) where that point is.  A point can be on multiple lanes because some lanes may overlap with each other.  e.g. at an intersection, a lane going straign forward and a lane turning right/left may overlap.
Hope the information answered your question.
Thank you for supporting Apollo!


Set some examples in Scenario Outline to be in pending state

I've checked the documentation and couldn't find if its possible to have some examples in a scenario outline test to be set to pending? I've tried running pending in some examples and it still returns as success/check. Can anyone help me about this?

The only way to have some examples pending would be if those examples map to step definitions that are specific to those examples, rather than one catch-all step definition for all examples. For example, Given I have <amount> marbles would map to given('I have 5 marbles) and given('I have 10 marbles') rather than given('I have  (\d+) marbles'), and then the 5 marbles step definition can be pending and the other could be not pending. I haven't tried it, but this might work with the autoBindSteps approach. With this normal Jest Cucumber setup, this would cause validation errors, since it would be expecting to see one step definition for each step in the feature file, whereas you would have multiple step definitions.


Add a 'post-start-script' job

For situations where pre-start-script job executes too early compared to other collocated jobs on the same BOSH instance, we would need a post-start-script job.

Closing this issue to keep the discussion in the PR.


Contdown timer

Can we implement timer in this library

Please implement this in your app using setInterval or setTimeout and trigger the necessary camera library functions to take the photo. You'll also need to provide a custom UI so the user has feedback.


merge custom output and failsafes to master

Pull request information

Status: in development
Kind of changes: new feature

Description
Merge in Brent's custom csv output and Yashar's failsafes updates

can we remove all flow/data_pipeline code? we can merge it (if we want to) in a separate PR

Pull Request Test Coverage Report for Build 6635

116 of 168 (69.05%)  changed or added relevant lines in 5 files are covered.
2 unchanged lines in 2 files lost coverage.
Overall coverage decreased (-0.3%) to 88.427%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

flow/data_pipeline/data_pipeline.py
29
39
74.36%

flow/core/kernel/vehicle/traci.py
40
53
75.47%

flow/controllers/base_controller.py
29
58
50.0%

Files with Coverage Reduction
New Missed Lines
%

flow/controllers/base_controller.py
1
66.96%

flow/core/kernel/vehicle/base.py
1
90.0%

Totals

Change from base Build 6631:
-0.3%

Covered Lines:
9528

Relevant Lines:
10775

💛  - Coveralls


tcmur: fixed possible uninitialized variable warning

@mikechristie dropped the two commits handled by other PRs

Thanks for the patches dillaman and review lxbsz.