sorbet-runtime: Speed up methods with no meaningful return type

Motivation

I'm trying to build a rubocop that prevents people from using
.void.checked(:tests).
The suggestion is to use .returns(T.anything).checked(:tests) instead, but
that currently comes with a performance penalty, because there is a special case
in the runtime for methods that return .void.
In the process of speeding up .returns(T.anything) methods, I realized that we
can apply the same thing to all methods which Sorbet will skip runtime checking
for, including T.untyped, T.attached_class, T.self_type,
T.type_parameter, BasicObject and type members/templates.
Test plan

Before:
sig {params(x: Example).void}: 139.688 ns
sig {params(x: Example).returns(T.anything)}: 188.611 ns

sig {params(x: T.nilable(Example)).void}: 180.063 ns
sig {params(x: T.nilable(Example)).returns(T.anything)}: 200.054 ns

After:
sig {params(x: Example).void}: 139.103 ns
sig {params(x: Example).returns(T.anything)}: 139.717 ns

sig {params(x: T.nilable(Example)).void}: 178.575 ns
sig {params(x: T.nilable(Example)).returns(T.anything)}: 179.478 ns

Full output after:
❯ bex rake bench:typecheck
Vanilla Ruby method call: 19.518 ns
Vanilla Ruby is_a?: 22.928 ns
T.unsafe: 20.456 ns
T.must on non-nil: 27.755 ns
T::Types::Simple#valid?: 35.288 ns
T.nilable(Integer).valid?: 50.812 ns
T.any(Integer, Float, T::Boolean).valid?: 178.889 ns
T.let(..., Integer): 181.623 ns
sig {params(x: Integer).void}: 143.413 ns
sig {params(x: Integer, blk: T.proc.void)} -- block literal: 583.669 ns
sig {params(x: Integer, blk: T.proc.void)} -- block pass: 504.053 ns
sig {params(x: Integer, blk: T.nilable(T.proc.void))} -- block literal: 207.812 ns
sig {params(x: Integer, blk: T.nilable(T.proc.void))} -- block pass: 156.218 ns
T.let(..., T.nilable(Integer)): 633.972 ns
sig {params(x: T.nilable(Integer)).void}: 177.717 ns
T.let(..., Example): 169.639 ns
sig {params(x: Example).void}: 139.103 ns
sig {params(x: Example).returns(T.anything)}: 139.717 ns
T.let(..., T.nilable(Example)): 636.255 ns
sig {params(x: T.nilable(Example)).void}: 178.575 ns
sig {params(x: T.nilable(Example)).returns(T.anything)}: 179.478 ns
sig {params(s: Symbol, x: Integer, y: Integer).void} (with kwargs): 1.016 μs
direct call Object#class: 20.054 ns
.bind(example).call Object#class: 108.268 ns
.bind_call(example) Object#class: 64.995 ns

We have a policy of testing changes to Sorbet against Stripe's codebase before
merging them. I've kicked off a test run for the current PR.  When the build
finishes, I'll share with you whether or how it failed. Thanks!
Stripe employees can see the build results here:
→ https://go/builds/bui_PL4LDdV6bdZ2J9
→ https://go/builds/bui_PL4L1ZWGsY5DNV
→ https://go/builds/bui_PL4LvNONnpgyGj
This change also has sorbet-runtime changes. Those tests:
→ https://go/builds/bui_PL4S0slFE8qWQP

We have a policy of testing changes to Sorbet against Stripe's codebase before
merging them. I've kicked off a test run for the current PR.  When the build
finishes, I'll share with you whether or how it failed. Thanks!
Stripe employees can see the build results here:
→ https://go/builds/bui_PL7D9xPYhxMQJc
→ https://go/builds/bui_PL7Dru9gAN57TG
→ https://go/builds/bui_PL7DIhpcwD9h83
This change also has sorbet-runtime changes. Those tests:
→ https://go/builds/bui_PL7KO7sFll1svw

We have a policy of testing changes to Sorbet against Stripe's codebase before
merging them. I've kicked off a test run for the current PR.  When the build
finishes, I'll share with you whether or how it failed. Thanks!
Stripe employees can see the build results here:
→ https://go/builds/bui_PL7vWYjlrpUxbB
→ https://go/builds/bui_PL7van5j5DQa2D
→ https://go/builds/bui_PL7vED1VJu2QeC
This change also has sorbet-runtime changes. Those tests:
→ https://go/builds/bui_PL82G1brOeNZ5O

We have a policy of testing changes to Sorbet against Stripe's codebase before
merging them. I've kicked off a test run for the current PR.  When the build
finishes, I'll share with you whether or how it failed. Thanks!
Stripe employees can see the build results here:
→ https://go/builds/bui_PLrgP9MQYna38i
→ https://go/builds/bui_PLrgaTZm1oRzbT
→ https://go/builds/bui_PLrgvOX6iLm1lm
This change also has sorbet-runtime changes. Those tests:
→ https://go/builds/bui_PLrmqEPPIHHUpD

We have a policy of testing changes to Sorbet against Stripe's codebase before
merging them. I've kicked off a test run for the current PR.  When the build
finishes, I'll share with you whether or how it failed. Thanks!
Stripe employees can see the build results here:
→ https://go/builds/bui_PLsPPcZQBiT4Ov
→ https://go/builds/bui_PLsPSOZKTBcIXc
→ https://go/builds/bui_PLsPG13wmIz9zO
This change also has sorbet-runtime changes. Those tests:
→ https://go/builds/bui_PLsUhOB1PjR3BZ


Enable processing provider events for policy.

Add ExtManagementSystem to the list of SUPPORTED_POLICY_AND_ALERT_CLASSES to enable processing provider events for policy.
https://bugzilla.redhat.com/show_bug.cgi?id=991474

@gmcculloug Please review.
/cc @bzwei


Add indicators to dates which have notes recorded

Hi,
It would be useful to add indicators to dates that have notes recorded, example how it could look like:

1.13.0 support it: https://obsidian-life-os.netlify.app/news/apr-changelog.html


spike: yaegi readline

A PR to gauge interest of adding a  readline or alike  functionality to the cli-command.
Note: code is a throwaway prototype to see how difficult it is to integrate liner: a compact readline implementation.
problem
yeagi without common readline  functionality is a poor UX and may limit wider adoption.
how: in action

cd cmd/yaegi-readline/
go1.11 run ./
enjoy: history, shortcuts, completion, etc…

PS
met @emilevauge at the docker meetup  yesterday and he suggested going ahead and opening  a PR. Previously I thought you're not interested in adding any dependencies.

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.gmarik seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.

Hello,
Thanks, we don't want to introduce external dependencies

Written in pure Go, using only the standard library

https://github.com/containous/yaegi#features

we don't want to introduce external dependencies.

IMO it's a case when having a dependency is justified, since:
0. efforts to re-implement from scratch are significant
0. it's a separate, terminal/leaf package: cli dependencies will not "pollute" the core
0. end user may choose whether to use yaegi or yaegi-readline
I'd love to do it but i'll take some time unless short-cuts are taken…

Hey @gmarik :)
Thanks for the PR, you were fast!
In fact, I think I suggested to create an issue before, in order to open the discussion, as I was not aware of any potential reason to not implement this.
@ldez I understand your statement, but can we try to find a consensus without rewriting everything (which, I hope you agree, does not make sense)?
IMHO, either we provide a rich REPL, either we don't provide anything.

In the future, I think we will split the yaegi core and the yaegi CLI/REPL as 2 projects.
When we will do that we will be able to use external dependencies.
For now, there are some side effects to add an external dependency.
The issue related #315.

hey emile sorry i think i didnt catch the bit about the “issue”. either way my thinking was  a working prototype is better than “an idea” since there’s already one
imo splitting is unnecessary: library users will not depend on readline as long as it’s separated and isolated

let me know your thoughts

As explained previously, for the moment we would like to avoid external dependencies, as we don't have any yet. We believe that a good advanced REPL could be built on top of yaegi in an external project.
Thanks.


(Serious )  Bouding Box ecxeeds the image size

Thanks a lot people who create the tools, you are the genius！
But in my using time, i find a serious problem.
that is the xml file

JPEGImages
000042.jpg
/home/mp/Documents/SSD-Tensorflow-master/VOC2007/test/JPEGImages/000042.jpg

Unknown

2048
1536
3

0

Isolator
Unspecified
0
0

3816
1244
4057
1726

Isolator
Unspecified
0
0

4007
1359
4222
1797

Isolator
Unspecified
0
0

3963
1991
4163
2294
you can easily see the problem, the image is 2048*1536 but some objects' xmin is much bigger than 2048. It is weird. But more strangely later, when I found this unusual xml file and then opened it with the labelimg tool, I found no exception.
I try to explain this problem. I guess it is because the earlier pictures is 4015*5196 ,i think you genius can explain this problem and fix it !
Thanks a lot !

I'm not sure I fully understand your issue, but is it related to this one? https://github.com/tzutalin/labelImg/issues/66

Closing due to inactivity.


v3.13.1/linux-x64-57_binding.node has vanished

We're using a library that ultimately depends on this version, and it seems the last commit deleted this version.

Nothing was deleted, the version you're running is too new for your node-sass version https://github.com/sass/node-sass/blob/master/TROUBLESHOOTING.md#404-downloading-bindingnode-file

We have been running this for over a year.  We're using gulp-helper -> gulp-sass -> node-sass v3.13.1/linux-x64-57_binding.node.  That asset WAS THERE.. and now it's not?

No, you've updated your version of Node to a newer version than you were running before. We don't delete bindings, and only support certain combos as described in the troubleshooting


Release build on CI producing final binary artifact

Thank you for a very useful app! Especially now.
It would be really nice to have binaries built and attached to GitHub releases on git tags.
That would simplify package management maintenance as each binary would have a uniq URL.
It should be quite easy to add a GitHub Action doing just that, so if you perceive there is a value in all this - I will be happy to give it a try.

My pleasure!
Could you elaborate on attaching the binary to the release tag? Have an example repo that does this already?
I’m not positive if CI is possible with Apple requiring Notarization now. But I’ve never really looked into it.
Any detailed information you can provide on what this workflow would solve and any examples of a similar integration would be greatly appreciated 🙂

The suggestions was just to apply a good engineering practice of versioning binary release artefacts, so https://github.com/DanielStormApps/Fanny/releases/tag/2.3.0 would have a .zip \w .app automatically built by CI on pushing a git tag.
Example https://github.com/mLupine/SoundflowerBed/releases/tag/2.0.0-release
Automated notarisation, if desired, seems to to be possible to archive as well.


Visual Styling & Code Re-use

There are many outline-none in the source code. It is really a bad idea to override the default :focus link style, so please remove those.
The class names are too verbose. I found this link:
https://tailwindcss.com/docs/utility-first#maintainability-concerns

I'd like to fixed them myself, by the project development server takes too much memory. #556

There are many outline-none in the source code. It is really a bad idea to override the default :focus link style, so please remove those.

In all cases where outline-none is used a sufficiently contrasting background color is applied on focus AFAIK. That should remove the need for an outline from an accessibility standpoint as far as I know. If I am missing something here please let me know.

The class names are too verbose. I found this link:
https://tailwindcss.com/docs/utility-first#maintainability-concerns

It can make sense to extract some utilities into classes, but in many cases the styling is very specific to a certain context, so it makes more sense not to extract them into components, because they are not actually reused. If there are specific cases where you think it makes sense, please list them.

I think the "Runtime API" in the header of https://deno.land/ doesn't have enough contrast.

For example:
Inconsistency (I think they are supposed to look the same):
https://github.com/denoland/deno_website2/blob/f6a0a65c8f1baea1e17d1f24994e5167f638940e/components/Header.tsx#L52
https://github.com/denoland/deno_website2/blob/f6a0a65c8f1baea1e17d1f24994e5167f638940e/components/Header.tsx#L57
https://github.com/denoland/deno_website2/blob/f6a0a65c8f1baea1e17d1f24994e5167f638940e/components/Footer.tsx#L14

Repetition:
https://github.com/denoland/deno_website2/blob/f6a0a65c8f1baea1e17d1f24994e5167f638940e/components/Manual.tsx#L487-L497
https://github.com/denoland/deno_website2/blob/f6a0a65c8f1baea1e17d1f24994e5167f638940e/components/Manual.tsx#L506-L518

You're right. I don't know why 'Runtime API' is different to the rest.
I'll look into these. These are good candidates for extraction :+1:

That gets repeated twice, is it worth it at that point?

All the repetition adds up quickly when reading code. It makes me tired faster.

IMO, as a middle ground, it's only worth abstraction if it's either repeated more than twice, or the repeated places are changed multiple times (indicating they should be the same thing)

Closing as doesnt apply anymore


MINOR: fix typo in processor-api developer guide docs

Fixed a small typo on the Processor API page of the Kafka Streams developer guide docs. ("buildeer" changed to "builder")
Committer Checklist (excluded from commit message)

[x] Verify design and implementation
[x] Verify test coverage and CI build status
[x] Verify documentation (including upgrade notes)

Merged #7680 into trunk.

@mgyarmathy can you do a follow-up PR on https://github.com/apache/kafka-site?
The same typo in processor-api.html file exits in the 10, 11, 20, 21, 22, 23, and 24 directories.  Don't feel obligated to do so,  just if you have time.

@bbejeck can do -- I assumed this repo flowed downstream to the kafka-site repo, but if we need to propagate this fix manually, I'm happy to do it.

@bbejeck https://github.com/apache/kafka-site/pull/239

cherry-picked the PR to 2.4 branch.


[6.x] Add tests for broadcasted events

Currently Broadcasted events are not fully tested, I just added some to complement the current test suite. Hope you like it.

I'm not sure this is really testing anything meaningful.

1- it tests when there is no broadcastWhen() method on the event :

there is no error
it defaults to true, (not false)

2 - it check that for broadcasted events, normal server-side listeners are also called, as well as client-side listeners.
3 - it adds checks for when shouldBroadcast returns true, the queue method is called on the BoardcastFactory with proper arguments.
@taylorotwell


Format README with column limit

Making a separate issue for this:
The current README is written in a way were every paragraph just spans over a single line. This makes it really awkward to edit with an editor that doesn't have automatic wrapping enabled. I'd recommend to limit line length to a reasonable value like 100 or 80.

Addressed in: https://github.com/afkiwers/inventree_kicad/pull/44

Actually, that wasn't addressed in #44 I reverted that change, I'll create another PR.


chai-as-promise assertions do not show stack trace

Protractor 2.1.0, using protractor + mocha + chai-as-promised.
This code doesn't show stack trace:
var chai = require('chai');
chai.use(require('chai-as-promised'));
var expect = chai.expect;

describe('test', function() {
	it('should work', function() {
		browser.get('http://localhost:8080/app/scMgmt');
		expect(element(by.name('btnK')).isPresent()).to.eventually.eql(true);
	});
});

not ok 1 test should work
  AssertionError: expected false to deeply equal true
  From: Task: test should work
# tests 1
# pass 0
# fail 1

To compare, this works:
var chai = require('chai');
chai.use(require('chai-as-promised'));
var expect = chai.expect;

describe('test', function() {
	it('should work', function() {
		browser.get('http://localhost:8080/app/scMgmt');
		expect(1).to.eql(2);
	});
});

not ok 1 test should work
  AssertionError: expected 1 to deeply equal 2
      at Context.<anonymous> (R:\Downloads\Project_16-6\test\acceptance\scuploader.js:21:16)
  From: Task: test should work
# tests 1
# pass 0
# fail 1

I think this is an issue to bring up with chai-as-promised.


build file misses dependency from plugin to agent module

When I want to build the plugin straight away, the build fails, because it has a dependency on the agent module, which is not declared in the build script (but should, as Gradle supports that).
So ./gradlew buildPlugin fails with

java.io.FileNotFoundException: /Users/gregor/Develop/Assistant/agent/jvm-agent/build/libs/source-agent-0.2.2.jar (No such file or directory)

but builds fine after

./gradlew buildAgent

I'd expect the first build to succeed and build the dependency automatically, which would work in the build file expressed that explicitly.

@grexe, closing this issue since it should only be present on the  java-11-upgrade branch. Still working on that upgrade. I removed it because the JetBrains Runtime doesn't have the "jmods" folder so I was having issues with ProGaurd. Installing Java JDK 11 locally and switching to that works though.


Use chalk instead of colors for console printing

https://www.npmjs.com/package/colors
https://www.npmjs.com/package/chalk
Colors modifies the string prototype, which is dangerous. Chalk does not.

We do not want to add any dependencies to the typescript pacakge

@mhegazy By "instead" I mean "remove the colors dependency and replace it with chalk." Do you mean you don't want to add any new dependencies or just don't want the dependency graph to get bigger?

We do not use colors for --pretty, it is a dev dependency for our test runner. so not sure if that is what you meant or you meant to use color/chalk in --pretty.. i might have miss understood.

I did mean the dev dependency, yes (sorry for not being clear).

As long as it doesn't change things drastically, I think we'd take a PR on this.

Can I take this one?

There's a PR out already :(


No matches for kind InferenceService

/kind bug
What steps did you take and what happened:
I was trying to follow the Getting-started documentation.

Installed kind
Installed kubectl
Installed the KServe "Quickstart" environment by the following command

curl -s "https://raw.githubusercontent.com/kserve/kserve/release-0.10/hack/quick_install.sh" | bash

In the next step created a namespace called kserve-test and then tried to create an InferenceService via the following command
kubectl apply -n kserve-test -f - <<EOF
apiVersion: "serving.kserve.io/v1beta1"
kind: "InferenceService"
metadata:
  name: "sklearn-iris"
spec:
  predictor:
    model:
      modelFormat:
        name: sklearn
      storageUri: "gs://kfserving-examples/models/sklearn/1.0/model"
EOF

I got the below error
error: resource mapping not found for name: "sklearn-iris" namespace: "" from "inferenceservice.yaml": no matches for kind "InferenceService" in version "serving.kserve.io/v1beta1"
ensure CRDs are installed first

What did you expect to happen:

Expected a resource with kind InferenceService
I think namespace is also missing from the resource spec.

What's the InferenceService yaml:
apiVersion: "serving.kserve.io/v1beta1"
kind: "InferenceService"
metadata:
  name: "sklearn-iris"
spec:
  predictor:
    model:
      modelFormat:
        name: sklearn
      storageUri: "gs://kfserving-examples/models/sklearn/1.0/model"

Anything else you would like to add:
[Miscellaneous information that will assist in solving the issue.]
Environment:

Istio Version: 1.15.0
Knative Version:
KServe Version:
Kubeflow version: 1.26.3
Cloud Environment:[k8s_istio/istio_dex/gcp_basic_auth/gcp_iap/aws/aws_cognito/ibm]: local
Minikube/Kind version: v0.18.0
Kubernetes version: (use kubectl version): 1.26.3
OS (e.g. from /etc/os-release):

@dunefro The install probably failed for some reason, you might want to check if everything is installed successfully

@yuzisun I am having a similar install issue on Mac, with latest Docker, Kind and KServe quickstart.      Here is the log, the issue(s) is at the bottom,..."ensure CRDs are installed first"
namespace/istio-system created
✔ Istio core installed
✔ Istiod installed
✔ Ingress gateways installed
✔ Installation complete                                                         Making this installation the default for injection and validation.
Thank you for installing Istio 1.15.  Please take a few minutes to tell us about your install/upgrade experience!  https://forms.gle/SWHFBmwJspusK1hv6
😀 Successfully installed Istio
customresourcedefinition.apiextensions.k8s.io/certificates.networking.internal.knative.dev created
customresourcedefinition.apiextensions.k8s.io/configurations.serving.knative.dev created
customresourcedefinition.apiextensions.k8s.io/clusterdomainclaims.networking.internal.knative.dev created
customresourcedefinition.apiextensions.k8s.io/domainmappings.serving.knative.dev created
customresourcedefinition.apiextensions.k8s.io/ingresses.networking.internal.knative.dev created
customresourcedefinition.apiextensions.k8s.io/metrics.autoscaling.internal.knative.dev created
customresourcedefinition.apiextensions.k8s.io/podautoscalers.autoscaling.internal.knative.dev created
customresourcedefinition.apiextensions.k8s.io/revisions.serving.knative.dev created
customresourcedefinition.apiextensions.k8s.io/routes.serving.knative.dev created
customresourcedefinition.apiextensions.k8s.io/serverlessservices.networking.internal.knative.dev created
customresourcedefinition.apiextensions.k8s.io/services.serving.knative.dev created
customresourcedefinition.apiextensions.k8s.io/images.caching.internal.knative.dev created
namespace/knative-serving created
clusterrole.rbac.authorization.k8s.io/knative-serving-aggregated-addressable-resolver created
clusterrole.rbac.authorization.k8s.io/knative-serving-addressable-resolver created
clusterrole.rbac.authorization.k8s.io/knative-serving-namespaced-admin created
clusterrole.rbac.authorization.k8s.io/knative-serving-namespaced-edit created
clusterrole.rbac.authorization.k8s.io/knative-serving-namespaced-view created
clusterrole.rbac.authorization.k8s.io/knative-serving-core created
clusterrole.rbac.authorization.k8s.io/knative-serving-podspecable-binding created
serviceaccount/controller created
clusterrole.rbac.authorization.k8s.io/knative-serving-admin created
clusterrolebinding.rbac.authorization.k8s.io/knative-serving-controller-admin created
clusterrolebinding.rbac.authorization.k8s.io/knative-serving-controller-addressable-resolver created
customresourcedefinition.apiextensions.k8s.io/images.caching.internal.knative.dev unchanged
customresourcedefinition.apiextensions.k8s.io/certificates.networking.internal.knative.dev unchanged
customresourcedefinition.apiextensions.k8s.io/configurations.serving.knative.dev unchanged
customresourcedefinition.apiextensions.k8s.io/clusterdomainclaims.networking.internal.knative.dev unchanged
customresourcedefinition.apiextensions.k8s.io/domainmappings.serving.knative.dev unchanged
customresourcedefinition.apiextensions.k8s.io/ingresses.networking.internal.knative.dev unchanged
customresourcedefinition.apiextensions.k8s.io/metrics.autoscaling.internal.knative.dev unchanged
customresourcedefinition.apiextensions.k8s.io/podautoscalers.autoscaling.internal.knative.dev unchanged
customresourcedefinition.apiextensions.k8s.io/revisions.serving.knative.dev unchanged
customresourcedefinition.apiextensions.k8s.io/routes.serving.knative.dev unchanged
customresourcedefinition.apiextensions.k8s.io/serverlessservices.networking.internal.knative.dev unchanged
customresourcedefinition.apiextensions.k8s.io/services.serving.knative.dev unchanged
secret/serving-certs-ctrl-ca created
secret/knative-serving-certs created
image.caching.internal.knative.dev/queue-proxy created
configmap/config-autoscaler created
configmap/config-defaults created
configmap/config-deployment created
configmap/config-domain created
configmap/config-features created
configmap/config-gc created
configmap/config-leader-election created
configmap/config-logging created
configmap/config-network created
configmap/config-observability created
configmap/config-tracing created
poddisruptionbudget.policy/activator-pdb created
deployment.apps/activator created
service/activator-service created
deployment.apps/autoscaler created
service/autoscaler created
deployment.apps/controller created
service/controller created
deployment.apps/domain-mapping created
deployment.apps/domainmapping-webhook created
service/domainmapping-webhook created
poddisruptionbudget.policy/webhook-pdb created
deployment.apps/webhook created
service/webhook created
validatingwebhookconfiguration.admissionregistration.k8s.io/config.webhook.serving.knative.dev created
mutatingwebhookconfiguration.admissionregistration.k8s.io/webhook.serving.knative.dev created
mutatingwebhookconfiguration.admissionregistration.k8s.io/webhook.domainmapping.serving.knative.dev created
secret/domainmapping-webhook-certs created
validatingwebhookconfiguration.admissionregistration.k8s.io/validation.webhook.domainmapping.serving.knative.dev created
validatingwebhookconfiguration.admissionregistration.k8s.io/validation.webhook.serving.knative.dev created
secret/webhook-certs created
resource mapping not found for name: "activator" namespace: "knative-serving" from "https://github.com/knative/serving/releases/download/knative-v1.7.0/serving-core.yaml": no matches for kind "HorizontalPodAutoscaler" in version "autoscaling/v2beta2"
ensure CRDs are installed first
resource mapping not found for name: "webhook" namespace: "knative-serving" from "https://github.com/knative/serving/releases/download/knative-v1.7.0/serving-core.yaml": no matches for kind "HorizontalPodAutoscaler" in version "autoscaling/v2beta2"

@jbottum I think you are using kubernetes 1.26 or above in which autoscaling/v2beta2 is removed in favour of autoscaling/v2. You should downgrade the kubernetes or upgrade the knative.

@sivanantha321 thanks, I will try that.

That worked, with Kind using K8s 1.25, use these instructions, https://kind.sigs.k8s.io/docs/user/configuration/#kubernetes-version to build the yaml and this version: kindest/node:v1.25.9@sha256:c08d6c52820aa42e533b70bce0c2901183326d86dcdcbedecc9343681db45161

Works for me too.


TypeError: rows[index] is undefined when implementing inline editing to columns

Hey I have this table I want to make inline editing available for. However, whenever I click on any cells with editing I get the follwowing error: TypeError: rows[index] is undefined. I'm having a difficult time figuring out how to solve this issue. Any help is appreciated.
class DashPanel2 extends React.Component {
constructor(props) {
     super(props);

    const editable = edit.edit({
      isEditing: ({ columnIndex, rowData }) => columnIndex === rowData.editing,

      onActivate: ({ columnIndex, rowData }) => {
        const index = findIndex(this.state.rows, { id: rowData.id });
        const rows = cloneDeep(this.state.rows);

        rows[index].editing = columnIndex;

        this.setState({ rows });
      },

      onValue: ({ value, rowData, property }) => {
        const index = findIndex(this.state.rows, { id: rowData.id });
        const rows = cloneDeep(this.state.rows);

        rows[index][property] = value;
        rows[index].editing = false;

        this.setState({ rows });
      }
    });

    this.state = {
      editedCell: null,
      columns: [
        {
          property: 0,
          header:{
            label: 'A'
          },
          cell:{
            transforms: [editable(edit.input())]
          }
        },
        {
          property: 1,
          header:{
            label: 'B'
          }
        }
      ],
      rows: [
        {
          0: 125,
          1: 500
        },
        {
          0: 600,
          1: 430
        },
        {
          0: 250,
          1: 625
        },
        {
          0: 333,
          1: 786
        }
      ]
    };
  }
      render(){
         const { columns, rows } = this.state;

    return(
      <Panel size={10} title="New title here">
        <Column large={12}>
          <Row>

Table Title

          </Row>
          <Row>

          </Row>
        </Column>
      </Panel>
    );
  }
}

Hi,
The problem is that your row data is missing ids the current code expects. If you could generate an id field per row, that would fix it.
A nice way to do it is to map through the rows and then use something like uuid to generate.

It's working now. Thanks for pointing that out


Cannot switch between organizations and spaces using v2.1.0

Frontent Deployment type

[x] Cloud Foundry Application (cf push)
[ ] Kubernetes, using a helm chart
[ ] Docker, using docker compose
[ ] Docker, single container deploying all components
[ ] npm run start
[ ] Other (please specify below)

Backend (Jet Stream) Deployment type

[x] Cloud Foundry Application (cf push)
[ ] Kubernetes, using a helm chart
[ ] Docker, using docker compose
[ ] Docker, single container deploying all components
[ ] Other (please specify below)

Expected behaviour
Switching between organizations and spaces should update the list of applications
Actual behaviour
Switching between organizations and spaces updates the list of applications for the first time but for the further switches the list of applications
Steps to reproduce the behavior

Login to console and see the list of applications
Select any organization and see the filtered list
Select any space and see the updated filtered list
Try to select any other organization and space and see the list not being updated or being updated but not showing the list you expect

Thanks @giner. We've found the issue and @richard-cox is just creating a PR with a fix.


Fix django compatibility

Unfortunately, recent versions of DatabaseWrapper are not at all extendable because the Database property is static and not used as an instance var, i.e. self.Database.
This fixes it -- otherwise the backend had no effect as it was just pointing to the SQLite Database instance.

Updated to work for Django 1.11


[RFE] Share ConfigMap between multiple clusters

When creating a cluster through Rancher, it is possible to specify a file from a configmap with the machineSelectorFiles argument.
As explained in the official documentation this method requires the configMap to have the annotation rke.cattle.io/object-authorized-for-clusters: cluster-name1,cluster-name2.
I need to use one file on many of my clusters, without specifying every single cluster name in the configMap.
Describe the solution you'd like
The annotation support some kind of regex:

rke.cattle.io/object-authorized-for-clusters: "*" matches all clusters
rke.cattle.io/object-authorized-for-clusters: "dev-*" matches only some clusters

Alternatively, it could work with labels: rke.cattle.io/object-authorized-for-cluster-labels: label-a,label-b
Describe alternatives you've considered
Additional context

The implementation of that feature will allow also to take advantage of what is talked about in issue #45718. Without this feature it is required to replicate multiple times the secret/configmap since the annotation has a fixed size and the clusters can be many.

/unstale


New VizFrame Chart control demo

Demo class: Z2UI5_CL_DEMO_APP_312
List of methods:
VIZ_FRAME
VIZ_DATASET
VIZ_FLATTENED_DATASET
VIZ_DIMENSIONS
VIZ_DIMENSION_DEFINITION
VIZ_MEASURES
VIZ_MEASURE_DEFINITION
VIZ_FEEDS
VIZ_FEED_ITEM

New VizFrame Chart control
Demo class: Z2UI5_CL_DEMO_APP_312
List of methods:
VIZ_FRAME
VIZ_DATASET
VIZ_FLATTENED_DATASET
VIZ_DIMENSIONS
VIZ_DIMENSION_DEFINITION
VIZ_MEASURES
VIZ_MEASURE_DEFINITION
VIZ_FEEDS
VIZ_FEED_ITEM

@axelmohnen thanks for the PRs.
when i start the sample i get:

In my console i get the following error:

I hope i did not mess something up with the PRs. Which UI5 version do you use?

Hi @oblomov-dev,
We are using local SAPUI5 version 1.108.19.
Maybe the issue comes from the different namspaces?
Do we have to maintain the NS with "xmlns:" or without?

mhh then my version should be high enough.
xmlns is added automatically at a later point, so no need for that. i already deleted it.

ah overlooked this, thanks for the hint, fixed with:
https://github.com/abap2UI5/abap2UI5/pull/1607
Now it works:

This is awesome — thanks a lot for the sample!
Currently, I create a lot of posts on LinkedIn when people contribute to showcase that this is a community-driven project. I'd be happy to create a post about this sample as well! If you’re okay with it, feel free to share your LinkedIn name so I can credit you as a contributor. Of course, no pressure if you’d prefer not to — totally fine either way. 😊

Great News!
Sure no problem.
Here is my LinkedIn profile:
linkedin.com/in/axel-mohnen-ab182a164
Thanks a lot
Axel


Add Infinispan to "Who is using Testcontainers"

@tristantarrant thank you! 👍 Looking forward to having more Red Hat's projects on that list ;)


Run QEMU with Docker

This should be more robust than the old .deb downloads.

Coverage: 99.323%. Remained the same when pulling 7dde4358c74c1d8d22f9168bca6260f77fdcdd28 on thetic:reqemu into 4a702383bc4338f71dae773aec059004d142ef13 on cpputest:master.


rosidl_typesupport_fastrtps: 2.2.2-2 in 'humble/distribution.yaml' [bloom]

Increasing version of package(s) in repository rosidl_typesupport_fastrtps to 2.2.2-2:

upstream repository: https://github.com/ros2/rosidl_typesupport_fastrtps.git
release repository: https://github.com/ros2-gbp/rosidl_typesupport_fastrtps-release.git
distro file: humble/distribution.yaml
bloom version: 0.11.2
previous version for package: 2.2.1-1

fastrtps_cmake_module

No changes

rosidl_typesupport_fastrtps_c
* Account for alignment on is_plain calculations (#108 <https://github.com/ros2/rosidl_typesupport_fastrtps/issues/108>) (#110 <https://github.com/ros2/rosidl_typesupport_fastrtps/issues/110>)
* Contributors: mergify[bot]

rosidl_typesupport_fastrtps_cpp
* Account for alignment on is_plain calculations (#108 <https://github.com/ros2/rosidl_typesupport_fastrtps/issues/108>) (#110 <https://github.com/ros2/rosidl_typesupport_fastrtps/issues/110>)
* Contributors: mergify[bot]

Holding for Humble sync


Use overlays for alternative helm installs

What is the expected enhancement?
Currently, we have two values files: a generic one and one specific for IBM Cloud that are essentially identical (save a few IBM Cloud specific bits in the latter). To prevent drift (and to ease the burden on maintainers), we should migrate to using an overlay (helmfile / kustomize / somethign else) for environment-specific config options.

I totally agree @psschwei . My idea, but let me know your opinion, is to start investigating this as soon as we start with the helm configuration for our deployment internally. And It will depends on if we finally can move out the infrastructure configuration to another repository, something that I want to attack sooner than later (cc: @pacomf )

Well, not depends on but I think it will simplify our lifes if we have our helm in another repository.

Agree on the separation of infrastructure
xref #625

I think at this point we could just move https://github.com/Qiskit-Extensions/quantum-serverless/blob/main/charts/quantum-serverless/values-ibm.yaml to the internal repo and close this one out (?)

Yes, I would remove it directly from this repository. It's not needed anymore.

The underlying issue was resolved in #1015, so don't think this is needed anymore


Grey screen during install

I was prompted that there was an update . Started then crashed file explorer leaving me with a blank grey screen in Windows 10. I manually started file explorer again via task manager only to have it start and stop continually alternating between a grey screen and the desktop.
For clarity I have all Windows and Feature Updates installed.
I had to manually reboot but since then it’s behaving.

Could you attach a full bug report file?
Right-click on the tray icon and click Report Bug. Then drag-and-drop the generated file into the GitHub comment to upload it. Thanks!

Sure, see attached. However, as I logged in to my PC I noticed there was a new update available:

PowerToysReport_2021-10-30-20-27-35.zip

Sure, see attached. However, as I logged in to my PC I noticed there was a new update available:

PowerToysReport_2021-10-30-20-27-35.zip

Please tell us if you experience the same thing with this update

Sorry I edited my previous message rather than replying to let you know how the update went.
"For your information - The update to v0.49.1 installed perfectly."

So did the 'update' fix this or was it just a lucky strike? :P

Closing this issue, since the installer has been updated a lot since then. @rb126 , please open a new issue if it happens again.


Prisma Demo Servers: The call to the group [username~service@stage] timed out.

Hi there i have been having problems running my queries on the demo servers lately. I am now getting the "The call to the group [username~service@stage] timed out.", while attempting to query data from:

Graphql playground
Prisma admin dashboard
App resolvers
Prisma export

I understand there is rate limiting and space limitations on the demo servers so ive been trying to extract my data via the above means. But no luck, getting timeouts everywhere.
Any ideas how else i can extract my data?
Versions (please complete the following information):

Connector:  Postgres
Prisma Server: 1.32.0 beta
prisma CLI: prisma/1.34.10
OS: Archlinux

@zigzactly I'm also having this issue since yesterday.

Same issue


Migrate/yarn to npm

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

Please upload report for BASE (develop@c933750). Learn more about missing BASE report.

:exclamation: Current head 55b0752 differs from pull request most recent head 6c73559
Please upload reports for the commit 6c73559 to get more accurate results.

Additional details and impacted files
@@            Coverage Diff             @@
##             develop      #36   +/-   ##
==========================================
  Coverage           ?   93.48%
==========================================
  Files              ?       44
  Lines              ?      937
  Branches           ?      100
==========================================
  Hits               ?      876
  Misses             ?       41
  Partials           ?       20

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Issue 5284: prevent retries for genuinely failed uploads

Description (required)
Fixes #5284
The overall change of this PR is to add a check in ContributionFragment.retryUpload for whether the failure reason of the previous upload is a "genuine" failure, ie a failure that can't be solved by just retrying. And if it is a "genuine" failure we abandon the retry attempt.
This is accomplished by in uploadWorker passing along the failure point and any accompanying exceptions through two new fields in Contributions. And then checking if these qualify as a "genuine" failure through a simple whitelist of known "genuine" failure patterns and exceptions.
This PR is a draft because we wont be able to continue further due to our course ending. And while the code works, the whitelist content is currently very minimal due to us having issues with reproducing the error, meaning we haven't been able to identify many "genuine" failure patterns or exceptions. However the code should still work to roll out as it is a white list, meaning that for any problem not matching our "genuine" errors it will just fall back on retrying 10 times
Tests performed (required)
Testing was performed, the entire test suite was run and all the of tests that succeeded before the rewrite succeed now also
Tested {build variant, e.g. ProdDebug} on {name of device or emulator} with API level {API level}.
This was tested on on :app:testBetaDebugUnitTest, the API level was 34
Screenshots (for UI changes only)
Need help? See https://support.google.com/android/answer/9075928

Note: Please ensure that you have read CONTRIBUTING.md if this is your first pull request.

Unable to continue due to time constraints and implemented testcases being unable to run due to the mockup nature of the testcases.


[WIP] Add Deedle.Math as separate package

Related to discussion #423
My thoughts:

Keep the current code in Stats module intact to prevent any breaking changes for now. When Deedle.Math is more mature, we can add Deprecated messages to functions in Stats module until we take it away. Or we could just keep it this way as native implementation does not require external dependency on Math.Net.
Provide relevant functionalities that exist in Math.Net

[x] Linear algebra that includes matrix operators and transformations.
[x] Similar dot operators to pandas so that Frames can directly do matrix multiplication.
https://pandas.pydata.org/pandas-docs/stable/reference/api/pandas.DataFrame.dot.html
[x] Equal weighted covariance matrix estimation
[ ] Exponential weighted covariance matrix estimation
https://github.com/pandas-dev/pandas/blob/master/pandas/_libs/window.pyx#L1803
[ ] Descriptive statistics on frame and series. (e.g. Quantile, QuantileCustom, Rank etc.)
[ ] Linear regression
[ ] PCA analysis
[ ] Time series analysis

There are some great prototypes on linear regression, PCA and ACF that @Ildhesten has written in Deedle.Extra repo. Will port them here in Deedle.Math. https://github.com/Ildhesten/Deedle.Extras/

Hi there.
Great idea with a Deedle.Math package. Feel free to use whatever you can from my repo, and let me know if there is any way I can help out.

This pull is already big enough. It added a few items that can be expanded more in the future.

Matrix dot functions and extensions between Frame, Series, Matrix and Vector. It is similar to dot operation in pandas.
https://pandas.pydata.org/pandas-docs/stable/reference/api/pandas.DataFrame.dot.html
Apply existing linear algebra functions from MathNet.Numerics on Frame
Descriptive stats function and covariance and correlation functions on Frame and Series
A new Finance module for specific functions related to finance domain, such as ewmVol and ewmCov using RiskMetrics methods.

As for linear regression, I think a function similar to lm in R is very useful. It requires more thoughts on how to implement it.
https://www.rdocumentation.org/packages/stats/versions/3.6.1/topics/lm
PCA and more time series analysis can be further developed in future pulls.


fix utils.getMonthsForYear() to account for months shorter than that …

…of the selected date; resolves #140

Hmm, would you care to elaborate a little about this solution?

new Date(2017, 1, 28)
Tue Feb 28 2017 00:00:00 GMT-0600 (Central Standard Time)
new Date(2017, 1, 31)
Fri Mar 03 2017 00:00:00 GMT-0600 (Central Standard Time)
If the day passed to getMonthsForYear is greater than the number of days in that month, you end up getting the following month. Result being in your year view, you end up with Jan Mar Mar May May...
So the proposed solution is to constrain the day to fall within the month. Math.min returns the lesser of n values.

Hi, is there any plan to merge this PR?


package.json in subdirectory

What if package.json in a subdirectory, how to run npm scripts?
something like this — project/dev/package.json

That is currently not supported. There's no clean way to implement this without scanning folders.


Ignore skipped tests to avoid CI noise

This prevents the check annotations from showing up in every single PR!

Ah thank you for doing this!


15 package the decison tree

Package of the DecisionTree to import it easily.
To review and merge then to import in needed branches.

Code looks fine works well. Ready to merge


SAPJWT Examples?

Dear
Is there any SAPJWT examples such as a simple
from sapjwt import jwtValidation val = jwtValidation()
that would show the decoding of a JWToken
Also no clear is which algorithms are supported.

Example from DESCRIPTION.rst itself
`
import sapjwt
jwtver = sapjwt.jwtValidation()

print("SAPJWT version : " + jwtver.getLibraryVersion())

jwtver.setVerificationKey("secret")
_rc = jwtver.checkToken("eyJhbGciOiJIUzI1NiIsImtpZCI6InRlc3QiLCJ0eXAiOiJKV1QifQ.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiYWRtaW4iOmZhbHNlfQ.b2CDs7y56N9VWUh6wpLBdws-6omVyihJhpnBB7MdHCw")

if _rc != 0:
    print("Validation error: " + jwtver.getErrorDescription())
else:
    print("Validation key-Id from JWT: " +jwtver.getKeyId())
    print("Validation succeeded, payload from JWT: " + jwtver.getPayload())

`


delete inherited method in system browser gets error - Attempt to remove an unpackage method in the class 'RwPackageModification - when the method was being removed from RwModification

Here's the error and stack -- Note that the error claims that the method is being removed from RwPackageModification, but see the screen shot that follows stack:
a UserDefinedError occurred (error 2318), reason:halt, Attempt to remove an unpackage method in the class 'RwPackageModification'

UserDefinedError (AbstractException) >> _signalWith: @5 line 25
UserDefinedError (AbstractException) >> signal @2 line 47
RwPerformingUnpackagedEditNotification (Object) >> error: @6 line 7
RwPerformingUnpackagedEditNotification >> defaultAction @3 line 3
RwPerformingUnpackagedEditNotification (AbstractException) >> _signalWith: @5 line 25
RwPerformingUnpackagedEditNotification (AbstractException) >> signal @2 line 47
RwPerformingUnpackagedEditNotification >> signal: @3 line 4
RwPerformingUnpackagedEditNotification class (AbstractException class) >> signal: @3 line 4
[] in  ExecBlock0 (RwPrjBrowserTool) >> removeMethod:forClassNamed:isMeta: @4 line 11
RwGsImage class >> loadedMethod:inClassNamed:isMeta:ifFound:ifAbsent: @14 line 14
RwPrjBrowserTool >> _loadedMethod:inClassNamed:isMeta:ifAbsent: @3 line 4
RwPrjBrowserTool >> removeMethod:forClassNamed:isMeta: @2 line 7
RowanClassService >> removeSelector: @4 line 3
[] in  ExecBlock1 (JadeServer) >> sbRemoveMethods: @3 line 7
OrderedCollection (Collection) >> do: @5 line 10
JadeServer64bit32 (JadeServer) >> sbRemoveMethods: @13 line 7
JadeServer64bit32 (JadeServer) >> systemBrowserCommand @157 line 52
[] in  ExecBlock0 (JadeServer) >> systemBrowserA: @14 line 10
Time class >> secondsElapsedTime: @5 line 11
Time class >> millisecondsElapsedTime: @2 line 6
JadeServer64bit32 (JadeServer) >> millisecondsElapsedTime: @2 line 3
JadeServer64bit32 (JadeServer) >> systemBrowserA: @2 line 4
JadeServer64bit32 (JadeServer) >> systemBrowser: @3 line 2
[] in  ExecBlock0 (JadeServer64bit) >> systemBrowser: @2 line 4
ExecBlock0 (ExecBlock) >> on:do: @3 line 42
JadeServer64bit32 (JadeServer64bit) >> systemBrowser: @2 line 5
GsNMethod class >> _gsReturnToC @1 line 1

Fist note that above the method pane, the class is RwModification. Secondly note the implementation of the method (self subClassResponsibility: #addModificationToPathcSet:inPackage:) which is the implementation of RwModification>>addModificationToPathcSet:inPackage::

Clearly this is another case, where this particular bug may exist in Jade, as the following frames from the stack:
RwPrjBrowserTool >> removeMethod:forClassNamed:isMeta: @2 line 7
RowanClassService >> removeSelector: @4 line 3
[] in  ExecBlock1 (JadeServer) >> sbRemoveMethods: @3 line 7

seems to indication, since sbRemoveMethods: may not include a class and may assume that the selected class is the class to remove the method from ...

When I selected RwModification in the class browser, I was able to delete the method ...

This was exactly the problem. Because the problematic code was down deep in jade, just introduced a slightly better error message if non-selected-class methods are removed.


Support JSON with comments (tsconfig)

The tsconfig.json file supports comments. When I tried to use this package to sync tsconfig.json with package.json I got an error message for existing tsconfig.json files:
❯ p meta-updater
ERROR: Error while processing /xxx/tsconfig.json: Expected property name or '}' in JSON at position 4
ERROR: Error while processing /xxx/tsconfig.json: Expected property name or '}' in JSON

I think this is because those files have comments. Perhaps JSON could be parsed with JSON5 instead to allow for this?

I realised that using JSON5 you would still loose the comments when writing the file back. In order to preserve the comments we would probably need to use something like momoa.

I'm running into this issue. Did you find a solution?

@b0o Unfortunately not yet. We ended up just stripping the comments from all tsconfig.json files.


chore(main): release 0.1.9

:robot: I have created a release beep boop
0.1.9 (2023-10-11)
Bug Fixes

Clear line properly for waiting indicator (9bfe765)
error output now properly included in return (7da6a34)
fix no output returns + functionality to strip content (869942f)
Fix tests for basic magerun command send (5928164)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/furan917/MageComm/releases/tag/v0.1.9 :sunflower:


[Feature] Add a less variable in order to scale the bootstrap

I would want to add a @scale less variable who will have an initial value of 1 and if it is being lowered or highered it should scale the whole application values.
This feature can be similar to CTRL++ or CTRL-- in the browser but being done programatically.
Any thoughts on this?

We don't use Less in v4 anymore, and we're not actively working on v3 at the moment. v4 does this automatically with rem units.

Hi,
Thank you for the response, where is this ‘rem’ documented?
Cezar

@sarbull Have a look at https://www.sitepoint.com/understanding-and-using-rem-units-in-css/


adds private app type and new fields

Description
Adds private app type and related fields
Types of changes
What sort of change does your code introduce/modify?

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

Checklist:

[x] My code follows the code style of this project.
[x] My change requires a change to the documentation.
[x] I have updated the documentation accordingly.
[x] I have added tests to cover my changes.
[x] All new and existing tests passed.

thanks @AkemiDavisson 🍭


Docker image lasote/conangcc52 failing in travis

Hi!
Don't know if something have been changed for that image (lasote/conangcc52) but it has started to fail in my CI jobs some days ago (ej: https://travis-ci.org/jgsogo/conan-postgresql/builds/276202594). It fails when making a sudo apt-get update:
Running: sudo apt-get update
Ign http://archive.ubuntu.com wily InRelease
Ign http://archive.ubuntu.com wily-updates InRelease
Ign http://archive.ubuntu.com wily-security InRelease
Ign http://archive.ubuntu.com wily Release.gpg
Ign http://archive.ubuntu.com wily-updates Release.gpg
Ign http://archive.ubuntu.com wily-security Release.gpg
Ign http://archive.ubuntu.com wily Release
Ign http://archive.ubuntu.com wily-updates Release
Ign http://archive.ubuntu.com wily-security Release
Err http://archive.ubuntu.com wily/main Sources
  404  Not Found [IP: <IP_ADDRESS> 80]
Err http://archive.ubuntu.com wily/restricted Sources
  404  Not Found [IP: <IP_ADDRESS> 80]
Err http://archive.ubuntu.com wily/universe Sources

Looking for wily instead of vivid?

I don't know, may it be related to some upgrade of travis machines? @lasote?

Wily is end of life. you would need to use the respective repositories over at http://old-releases.ubuntu.com/ubuntu/dists/

Thanks all! I've pushed the image and dockerfile using the new repositories.


MIPS B:32 ELF binary parsing issue on import

Describe the bug
If you import a MIPS B:32 ELF binary from SGI IRIX, Ghidra crashes with a java parsing related error.
To Reproduce
Import the following binary https://pastebin.com/32xUS70q
Expected behavior
It should import the binary into the toolchest.
Screenshots

Attachments
An example file is here, any SGI IRIX MIPS B32 ELF binary causes this behavior. https://pastebin.com/32xUS70q
Environment (please complete the following information):

OS: Mac, Linux & Win
Java Version: 8 through to 13
Ghidra Version: 9.1 - ghidra_9.1.2_PUBLIC_20200212.

Additional context
Please fix for all the SGI IRIX users. All two of us need this.

This looks like the issue I was trying to fix with this PR:  #1761 .


Fuzzy match

implemented fuzzy matching
added Dictionary::GetFuzzy() method
fixed use of .clang-format file
added ConstructorInitializerIndentWidth: 4 to .clang-format

Note: At the moment Python bindings are missing, will add them in a separate PR.

Coverage increased (+0.3%) to 92.406% when pulling 062108507dc2456c64abd443a328921d9d9b8c9b on narekgharibyan:fuzzy_match into a7dc80322579e0fb8ce4f1e0190df468635a7314 on KeyviDev:master.

added some comments. Looks pretty good!


NanoSV on synthetic bam files

I tried to use NanoSV on different bam files (obtained with last, BWA, minimap2 and ngmlr) and I always obtain the same error:
Traceback (most recent call last):
File "/home/Workspace/Tools/Lib/Anaconda2/envs/albacore/bin/NanoSV", line 6, in
sys.exit(nanosv.NanoSV.main())
File "/home/Workspace/Tools/Lib/Anaconda2/envs/albacore/lib/python3.6/site-packages/nanosv/NanoSV.py", line 52, in main
utils.parse_bam.parse_bam()
File "/home/Workspace/Tools/Lib/Anaconda2/envs/albacore/lib/python3.6/site-packages/nanosv/utils/../utils/parse_bam.py", line 46, in parse_bam
read = r.Read(line.query_name, line.infer_read_length())
AttributeError: 'pysam.calignedsegment.AlignedSegment' object has no attribute 'infer_read_length'
Reads where obtained by using PBSim.
Bam file works properly with both Sniffles and Lumpy.
Any suggestions??
Tank You
Alberto

Hi Alberto,
Could you please check your version of Pysam?
You can do this In any interactive python session with
import pysam
pysam.__version__

The method  'infer_read_length' was introduced in release 0.11.0, so if it shows anything lower than that, updating will probably solve the issue.
Best,
Jose

Dear Jaesvi,
I have meet similar problem, bam files which obtained from LAST  works properly on Sniffles.
Traceback (most recent call last):
File "/home/sophie/env/bin/NanoSV", line 11, in
sys.exit(main())
File "/home/sophie/env/lib/python3.5/site-packages/nanosv/NanoSV.py", line 50, in main
utils.coverage.calculate_coverage_bed()
File "/home/sophie/env/lib/python3.5/site-packages/nanosv/utils/../utils/coverage.py", line 18, in calculate_coverage_bed
cmd = NanoSV.opts_sambamba + " depth base --min-coverage=0 " + NanoSV.opts_bam + " -L " + NanoSV.opts_bed + " --nthreads=" + NanoSV.opts_threads + " 2> /dev/null | awk '{if (NR!=1) print $3}'"
TypeError: Can't convert 'int' object to str implicitly
Pysam version is newest
/home/sophie/env/lib/python3.5/site-packages (0.14.1)
Do  you have any suggestion?
Thank you
Ivy


Add Resources for React js

Add React js tutorial and projects.
Group them into beginner intermediate and advanced
format should be:
React js (Main heading)
tutorials(sub heading)
beginner
intermediate
advanced
projects(sub heading)
beginner
intermediate
advanced
You can also add links to blogs and newsletters, discord channel of React developers.
You are also most welcome to add handbooks or cheatsheets.

Hey @satishkumarsajjan 👋,
Can you assign this topic to me? I would be happy to contribute to this.

Hey @satishkumarsajjan 👋,
Can you assign this topic to me? I would be happy to contribute to this.

Okay. I will.


fix: ensure that the pokemon that was just selected is not in the same position again when regenerating the cards

eg if a user selects 'pikachu' at the 1st position, pikachu should NEVER be in that 1st position again immediately after

potential solution:

track the last index of every pokemon id in the state (array)
if any pokemon id is in the same position as its index in point 1, shuffle again
keep shuffling until no pokemon id is no longer in the same indexes as what was tracked in point 1

might be good to track the index in a hashmap? or can we just use array methods?


Geode 5428: Refactored DurableClientTests due to massive duplication

This code was not in a good state. So the code has been refactored to not only address issues
where the code was giving bad feedback, but to address the impressive structural duplication.
Things done:
-Extracted a bunch of methods
-Added new Test files for test subjects that should have been separate
-Split out a base class so there was no inheritance of test classes to do basic things.
-Reparented classes that were inheriting from test classes
Co-Authored-By: Galen O'Sullivan<EMAIL_ADDRESS>Thank you for submitting a contribution to Apache Geode.
In order to streamline the review of the contribution we ask you
to ensure the following steps have been taken:
For all changes:

[ ] Is there a JIRA ticket associated with this PR? Is it referenced in the commit message?

[ ] Has your PR been rebased against the latest commit within the target branch (typically develop)?

[ ] Is your initial contribution a single, squashed commit?

[ ] Does gradlew build run cleanly?

[ ] Have you written or updated unit tests to verify your changes?

[ ] If adding new dependencies to the code, are these dependencies licensed in a way that is compatible for inclusion under ASF 2.0?

Note:
Please ensure that once the PR is submitted, you check travis-ci for build issues and
submit an update to your PR as soon as possible. If you need help, please send an
email to<EMAIL_ADDRESS>

@upthewaterspout @WireBaron @balesh2 Please review when you get the chance.

@galen-pivotal @WireBaron @upthewaterspout @balesh2 Can you all review this PR?


[ManifestLoader] Throw any manifest loading errors

Instead of directly printing on stdout/stderr throw any errors
from swift interpreter

@swift-ci please test

Unrelated linux error, tested locally.


fix: allow repository move when org updated

[ ] Tests written and linted ℹ
[ ] Documentation written in Wiki/README
[X] Commit history is tidy & follows Contributing guidelines ℹ

What this does
Updates an existing repository's organization name in the cache whenever the organization changes. This allows a repository to be imported into a new organization when the configuration changes, such as when a new topic is added to snyk-orgs.yaml.
With the previous behavior, it was impossible to move a project to a new organization. Even if the old project was deleted from Snyk, the old organization name would be cached by snyk-scm-manner and never updated since a update to the GitHub repository itself never occurred.
This change allows snyk-scm-mapper to import a GitHub repo into more than one Snyk organization, but only when an intentional configuration change to snyk-scm-mapper occurs.
Notes for the reviewer
To test:

Set a topic on a GitHub repository.
Configure snyk-scm-mapper without any topics.
Clear the snyk-scm-mapper cache files.
Run snyk-scm-mapper with the previous code once.
Verify the GitHub repository was imported to the default organization.
Modify snyk-orgs.yaml and add the topic (the one previously set on the GitHub repository) to a different organization than the default one.. Do not modify the topics on the GitHub repo or any other repo setting at this step; we want the GitHub "repo updated date" to remain the same.
Run snyk-scm-mapper with the previous code again. Leave the cache intact. Note how the repository was not imported to the new organization.

The next tests will be run with this PR's fix to verify the change:

Run snyk-scm-mapper with this PR's code again. Leave the cache intact. Note how the repository was imported into the different organization (the one with the topic set).

More information
The company I work for has a complex configuration for snyk-scm-mapper with around 15 different organizations. All of our imports are driven by GitHub topics - we have this change on a local fork so that we can update the configuration, but we'd rather get rid of our fork for the official version.
Screenshots

Hey @ebickle, many thanks for the PR. I've reviewed the simple code change and I agree in principal that we should change the default behaviour.
I just need to figure out if there are any documentation changes, I'll get back to you in the new year :)


feat: update OptimismMintableERC20Factory to use CREATE3

Description
Updated the OptimismMintableERC20Factory specs in predeploys.md to use CREATE3 and store deployments.
This update will allow to implement the liquidity migration process as described in the Liquidity Migration specs.
The implementation link was temporarily removed from the document.

Ah apologies @0xParticle - i meant specs/interop/predeploys.md for the file to update, in predeploys.md it describes the bedrock release and then we have hardfork specific modifications in the hardfork folders. Generally the idea is to try to keep similar filenames as in the root and in hardfork specific folders


Support complex-valued h1e in fci_slow.absorb_h1e

Makes fci_slow.absorb_h1e accept a complex-valued h1e. I made the same change to direct_nosym.absorb_h1e. May I ask, why do both functions exist? They appear identical.

Probably one is copied from the other one. It was there for clarity at beginning since fci_slow.py was not really considered as a submodule of fci module. Those *_slow.py files were put in the source code to demonstrate how the relevant modules were implemented. Maybe these files should be moved to examples, or somewhere in the documentation in the future.

Got it. Yeah, the only reason I'm using fci_slow is that fci_slow.contract_2e supports complex two-body tensors.


Register version 0.1.1

@JuliaRegistrator register

Error while trying to register: "Tag with name v0.1.1 already exists and points to a different commit"

@JuliaRegistrator register

Registration pull request created: JuliaRegistries/General/84706
After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.
This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:
git tag -a v0.1.1 -m "<description of version>" 4e98928ebb756d35f4c3ed403976d76757f7e715
git push origin v0.1.1

Also, note the warning: This looks like a new registration that registers version 0.1.1.
Ideally, you should register an initial release with 0.0.1, 0.1.0 or 1.0.0 version numbers
This can be safely ignored. However, if you want to fix this you can do so. Call register() again after making the fix. This will update the Pull request.

@JuliaRegistrator register branch=master

Registration pull request updated: JuliaRegistries/General/84706
After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.
This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:
git tag -a v0.1.1 -m "<description of version>" ca63c9401e371ba39f31cde680b41954791acf5f
git push origin v0.1.1

Also, note the warning: This looks like a new registration that registers version 0.1.1.
Ideally, you should register an initial release with 0.0.1, 0.1.0 or 1.0.0 version numbers
This can be safely ignored. However, if you want to fix this you can do so. Call register() again after making the fix. This will update the Pull request.


feat: versionEye

version eye badge

composer.lock

PSR2 check
~ phpunit version

[Current coverage][cc-pull] is 100%

Merging [#13][cc-pull] into [master][cc-base-branch] will not change coverage

@@           master   #13   diff @@
===================================
  Files          18    18
  Lines         285   285
  Methods        37    37
  Messages        0     0
  Branches        0     0
===================================
  Hits          285   285
  Misses          0     0
  Partials        0     0

Powered by Codecov. Last updated by [b27363b...a711b6f][cc-compare]
[cc-base-branch]: https://codecov.io/gh/gbprod/elastica-extra-bundle/branch/master?src=pr
[cc-compare]: https://codecov.io/gh/gbprod/elastica-extra-bundle/compare/b27363bc41d48a9f51d8cfb5989ab7ae7f809311...a711b6f549d68eb0682621259559ca8746665ec1
[cc-pull]: https://codecov.io/gh/gbprod/elastica-extra-bundle/pull/13?src=pr


Added DLSR using AutoEncoders

Have you read the Contributing Guidelines ?
Yes
Description
In this project, I developed a deep learning model using autoencoders to enhance the resolution of low-resolution or damaged images. By training the autoencoder on a dataset of paired high-resolution and low-resolution images, the model learns to reconstruct high-quality images from degraded inputs. This technique leverages the power of neural networks to perform image super-resolution, effectively restoring and improving image quality, making it applicable for various uses such as photo restoration and enhancing visual content in low-bandwidth environments.
Fixes #1016
Checklist

[✓ ] I've read the contribution guidelines.
[ ✓] I've checked the issue list before deciding what to submit.
[ ✓] I've edited the README.md and link to my code.

Related Issues or Pull Requests
Nothing similar

@Kushal997-das Sir I am sorry , I was really unable to find my Previous PR and thought I didn't make one. I am new to these so I am still finding my way around the block.
If possible can you check one PR and close the other which I opened by mistake?
It would be really helpful.
Thank You

@Soubeer Hello I found you want to add the same project in another repo which is against the rule so I'm closing the PR.
here

@Kushal997-das Sir the link which you attached for the duplicate repo is this same repo and the same PR page.. It does not open any other repo and as far as I can find, I only made one PR for this repo and one task on this topic for this PR.

By mistake, I pasted a different link, But it was there, you also said sorry, and now you deleted your comment, that seems how you are. See below attached image and your reply.

By mistake, I pasted a different link, But it was there, you also said sorry, and now you deleted your comment, that seems how you are. See below attached image and your reply.

@Kushal997-das Yes I did deleted the comment because I would definitely trust you when you say that I made a duplicate repo.So I apologized before even checking.
Then when I went to check there was nothing.
You can check the logs or something from github and show me where the duplicate repo is.
I would not go this far cheating for 10 points. Its not worth it

I have seen it clearly, by mistake I put another link. I'll not accept your PR.

its okay you might not accept. But why are you accusing me of cheating here for "10 points" ? And now you cannot provide me the proof?
This is not how things work in github ig? There is always a log of changes somewhere.
I dont want to be rude but this is not acceptable from my side as well. I have checked other PRs also and they have been given the proof of duplicate task.
I will accept my fault if you can give me mine.
I had 10 repo yesterday and I have the same right now too. I have mailed all my work to the GSSOC team yesterday regarding leaderboard so they have the proof of my work. I dont know how this all adds up to " that seems how you are".

Okey, I'll open it again make sure there shouldn't be any duplicate I don't
have much time to check thoroughly.
On Fri, 31 May, 2024, 11:14 am Soubeer Koley, @.***>
wrote:

its okay you might not accept. But why are you accusing me of cheating
here for "10 points" ? And now you cannot provide me the proof?
This is not how things work in github ig? There is always a log of changes
somewhere.
I dont want to be rude but this is not acceptable from my side as well. I
have checked other PRs also and they have been given the proof of duplicate
task.
I will accept my fault if you can give me mine.
I had 10 repo yesterday and I have the same right now too. I have mailed
all my work to the GSSOC team yesterday regarding leaderboard so they have
the proof of my work. I dont know how this all adds up to " that seems how
you are".
—
Reply to this email directly, view it on GitHub
https://github.com/Kushal997-das/Project-Guidance/pull/1113#issuecomment-2141271706,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AOUDPZKV7KRC7JHIHVXCMELZFAE3LAVCNFSM6AAAAABIOAJS46VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNBRGI3TCNZQGY
.
You are receiving this because you were mentioned.Message ID:
@.***>

Thank you Sir, I have checked again now , there are no duplicate repos having the same task.
Kindly open this PR again and assign me the label if the task is complete.

@Kushal997-das can you open this and merge my file if its okay and provide me with a level?

@Soubeer Will check .

@Kushal997-das changes made

@Kushal997-das Changed the name to Super_Resolution_Using_Deep_Learning

@Kushal997-das updated all the necessities.

Hi @Soubeer, I can't keep telling you the same thing again and again. Yet, you still don't do things properly. Here, you haven't updated the project name.

mb Sir, updated and provided the link for the readme in basic with the main branch from ur repo...should activate the link once its approved...kindly check if there are any more problems.


utils: Adjust lsmash_fixed2double arguments to display negative values

This applies for example to display matrix values.

Is there anywhere in ISOBMFF that we would need unsigned 64-bit fixed (which has been removed)?

i don't think so, at least this function right now is used only for displaying the display matrix which holds int32_t values

Well, OK. I'll let @VFR-maniac ACK or NAK then.

OK. It's not a public API. If any desirable case, it can be changed later :)


Keyboard Manager not working outside of config window

Environment
Windows build number: [Versión 10.0.18363.900]
PowerToys version: V0.19.2 (and V0.19.1)
PowerToy module for which you are reporting the bug (if applicable):Keyboard Manager

Steps to reproduce
Map keys:

[Play/Pause Media(Fn+F6)] -> [F6]
[F6] -> [Play/Pause Media(Fn+F6)]

Expected behavior
Play and pause media with a single click on the F6 key =)
Actual behavior
The map works just fine while inside the powertoys setting window. When change the window to another one or close de powertoys setting the [Play/Pause Media] don't trigger, the [F6(Fn+F6)] works fine instead.

hi @cancunITQA, sorry about this. It is actually a known issue documented here: #3255. Please follow discussion there and in #3192.
closing as duplicate issue


🐛 UI | Carousel Changes size

When changing through the people in the carousel, The size changes and the images do not remain level with the base.D
Device: Samsung s21 FE (nav bar turned on)

The issue is caused by the button navigation bar. Works fine with a swipe navigation bar.

Not relevant anymore.


fixed position for actions block on settings page

Did really nobody ask for this yet?
Just wrapped it in a <div class="lg:fixed lg:w-[300px]">.

😆 nice one

Actually I just checked, wasn't it was already like this before? @mktcode


Fix build. Ensure struct gdf_dtype_extra_info is C compatible

PR #47 broke the build due to error with cffi.  This patch fixes it.

Merging. Thanks @sklam!


Fix Typo in Readme

Great project - much needed 😄  💯
Look forward to contributing something a little more substantial in the future.

Thank so much @juddey :)


IOS image preview issue

I am not seeing the preview for ios and also close option is not there.

Same issue here 👍

same issue

take a look at my work #4  💯


Openbmc: Re test MAC address tests once dev code has fix for MAC issue

Re test the MAC test automation suite once following is fixed.
https://github.com/openbmc/bmcweb/issues/43

Current results are:
Configure_Broadcast_MAC_And_Verify PASS
Configure_Valid_MAC_And_Verify FAIL
Configure_Zero_MAC_And_Verify PASS

Reason why 2 tests are passed: changing of the MAC is not supported.

@maximyep 2 tests are error scenarios. Althoguh broadcast and Zero MAC are valid MACs but have specific purpose and system should not allow to configure it. Since BMC is not allowing it to configure we are fine.

Tested on latest master, we are able to configure MAC address.
Opened new issue: https://github.com/openbmc/bmcweb/issues/71.
Closing this issue and will track above issue.


Add all the readme stuff we need

closes #2

Coverage remained the same at 100.0% when pulling 392d22a3760de39a63ca33158164abe87cec93af on readme-1 into abab8d1f4056de37d05aab06c9093d4f3f1c185a on master.

Coverage remained the same at 100.0% when pulling 5375a70c00d7743e725a1b9ff1e2aabb7f521182 on readme-1 into abab8d1f4056de37d05aab06c9093d4f3f1c185a on master.

Coverage remained the same at 100.0% when pulling 3e1b1927fe2a0978093556936ae952df77f48ed6 on readme-1 into abab8d1f4056de37d05aab06c9093d4f3f1c185a on master.

Coverage remained the same at 100.0% when pulling 8e381301c3c8614e8094adfa5fb5a2058e28dab4 on readme-1 into abab8d1f4056de37d05aab06c9093d4f3f1c185a on master.

Coverage remained the same at 100.0% when pulling 568ab9e9abb4e4071be7e0e50705d5413f1d5243 on readme-1 into abab8d1f4056de37d05aab06c9093d4f3f1c185a on master.


Clarify policy best practices

Reinforce that assignments always evaluate the latest state of a definition and that policy privileges should be assigned only as necessary
To reinforce that least privs should be applied to policy assignment managed identities
Reinforce the usage of ci/cd with reviews + deployment workflows as a best practice

Mapping between the markdown files and existing docs pages.

assignment-structure.md = https://docs.microsoft.com/en-us/azure/governance/policy/concepts/assignment-structure
policy-as-code = https://docs.microsoft.com/en-us/azure/governance/policy/concepts/policy-as-code
remediate-resources = https://docs.microsoft.com/en-us/azure/governance/policy/how-to/remediate-resources
overview = https://docs.microsoft.com/en-us/azure/governance/policy/overview


add codenewbie.org

add codenewbie.org

Hello. Could you comment an example of a source site and a copy site?
I could be wrong, but it looks like ordinary to me.

I'm sorry. It was a mistake
So I corrected myself

stackexchange.com is not a fake site.


Update UAA-customised to include a11y improvements

What
We have a new releae of UAA customised that used the up to date design
system. This releases that version.
How to review
Code review
Who can review
Anyone

Ah PR clash with https://github.com/alphagov/paas-cf/pull/2344


Feature/add css

html was left out not sure where I messed up but added html again also added new css file with content

added css to file


Compatibility with version 16 of react

With the new React update I get some errors, since they have removed methods from the React core such as propTypes and createClass
Do you plan to update this library to make it compatible?

Yes, I'm also facing issue the error in React 16

TypeError: React.createClass is not a function

Any plans to migrate ..?

+1 for visibility

+1

++

+1

You guys should review this: https://github.com/reactjs/react-chartjs/pull/192

+1

+1

+1

+1

If anyone wants to take a crack at it I am more than happy to give you contributor access.

May I try to resolve that? Give me access please.

@saikatbhattacharya you got it! go for it


FAQ block updates

Description
Added some UI elements to FAQ page for better UX
Motivation and Context
Gives the FAQ page a better look and feel
URL for testing:

https://faq-updates--helix-website--kunwarsaluja.hlx.page/drafts/cashub/faq-test

@rofe Can you review this PR and let me know if this makes sense or not ?
Original FAQ page : https://www.hlx.live/docs/faq
Suggested UI change : https://faq-updates--helix-website--kunwarsaluja.hlx.page/drafts/cashub/faq-test

@helix-bot rerun

Closing stale PR, feel freee to reopen with updates.


VSTS build using Hosted VS2017 cannot build Docker image

We are running a build definition using then Hosted VS2017 agent queue. In one of the build steps a docker image is being build. Everything went well until March 6, but since March 7 this build step fails with the message: Failed which: Not found docker: null
It occurs to me that Docker isn't installed anymore in the image that is being used. To check this, I have added a buildstep to retrieve the PATH of the image which looks like this:
E:\vsts-agent-win7-x64-2.105.4\externals\vstsom;C:\ProgramData\Oracle\Java\javapath;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0;C:\Users\Administrator.dnx\bin;C:\Program Files\Microsoft DNX\Dnvm;C:\Program Files\Microsoft SQL Server\120\Tools\Binn;C:\Program Files (x86)\Microsoft Team Foundation Server 2015 Power Tools;C:\Program Files\Microsoft\Web Platform Installer;C:\ProgramData\chocolatey\bin;C:\Program Files\Microsoft SQL Server\130\Tools\Binn;C:\Program Files (x86)\Windows Kits\10\Windows Performance Toolkit;C:\Program Files\dotnet;E:\vsts-agent-win7-x64-2.105.4\bin;E:\vsts-agent-win7-x64-2.105.4\bin
and I cannot find a reference to Docker in it.
Thank you for all the help.

Can you share your account name? I can see that Hosted VS2017 has docker installed on it.
.visualstudio.com

my accountname is<EMAIL_ADDRESS>

hey @rsteenks I was asking for your vsts account name accountname.visualstudio.com

I verified that docker is installed in the VS2017 MMS image used in scale unit of hoogendoorn-growthmanagement.visualstudio.com.

Ok, I guess I've configured something wrong then.
Can you explain how I can use the VS2017 MMS image in my build definition?

@rsteenks can you verify once again that you are using Hosted VS2017 agent.

Hereby a screenshot:

Thanks @rsteenks for sharing the screenshot. We are looking into the issue

@jikuma investigating

Hey @rsteenks can you try with a Build definition with only powershell task printing Path variable. Path value you specified is a lot different from what it should be. Especially presence of E folder in Path variable.

I've created a new build definition and the path looks like this:
C:\agents\2.129.1\externals\vstsom;C:\Program Files\dotnet;C:\mysql-5.7.21-winx64\bin;C:\Program Files\Java\jdk1.8.0_162\bin;C:\npm\prefix;C:\Go1.9.3\bin;C:\Program Files\Git\bin;C:\Program Files\Git\usr\bin;C:\Program Files\Git\mingw64\bin;C:\Program Files (x86)\Microsoft SDKs\Azure\CLI2\wbin;C:\Program Files (x86)\Microsoft Visual Studio\Shared\Python36_64\Scripts;C:\Program Files (x86)\Microsoft Visual Studio\Shared\Python36_64;C:\Program Files\Microsoft MPI\Bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0;C:\ProgramData\Chocolatey\bin;C:\Program Files\Docker;C:\Program Files\dotnet;C:\Program Files\Microsoft SQL Server\130\Tools\Binn;C:\Program Files (x86)\Microsoft SQL Server\110\DTS\Binn;C:\Program Files (x86)\Microsoft SQL Server\120\DTS\Binn;C:\Program Files (x86)\Microsoft SQL Server\130\DTS\Binn;C:\Program Files (x86)\Microsoft SQL Server\140\DTS\Binn;C:\Program Files\Microsoft Service Fabric\bin\Fabric\Fabric.Code;C:\Program Files\Microsoft SDKs\Service Fabric\Tools\ServiceFabricLocalClusterManager;C:\Program Files\Git\cmd;C:\Program Files (x86)\Subversion\bin;C:\Program Files\nodejs;C:\Program Files\CMake\bin;C:\Users\VssAdministrator\AppData\Local\Microsoft\WindowsApps
I can see that this looks different than the path from the failing build.

I 've created a new build definition from scratch and used the Hosted VS2017 agent queue and everything seems to work ok now.
It looks like that the failing build is using the wrong build agent somehow. I wil close this issue, because everything works for me, but it still looks like a bug tom me.


Feature / DatePicker - Add Year selection

connect #400
Description:

Adds a new optional prop showYearSelection to the DatePicker component
If passed as true, it will add buttons to the calendar header to navigate years more easily

@CheetoMao agreed, the styling could be better but this is what happens when I try to make UI decisions without a designer 😜

:tada: This PR is included in version 4.5.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


🐛 Fix postgres insecure flag and ports forwarding

Also to have the chart changes released you need to bump the chart version in deploy/charts/rig-platform/Chart.yaml


how to use this without $ symbol

Not sure I understand the question.

How to use it without jQuery maybe? I'm trying to use it with React, and I have something like this:
applyAutocomplete(component){
		const $inputElement = React.findDOMNode(component);
		let awesomplete     = new Awesomplete($inputElement,  {
			list: ["Ada", "Java", "JavaScript", "Brainfuck", "LOLCODE", "Node.js", "Ruby on Rails"]
		});
	}

	renderInput({ name }){
		return (

				{ name }
				<input ref={(component) => { this.applyAutocomplete(component)}} type="text"/>

		);
	}

and I'm getting error:
awesomplete.min.js:3 Uncaught TypeError: Cannot read property 'setAttribute' of null

This thread is pretty old, but I ran into the same issue trying to build an angular directive. Turns out I was trying to feed the constructor an array of elements instead of a single element, so it couldn't find the methods on the single element. jQuery isn't a dependency (Looks like $ is just an internal alias the library uses?), so it's probably an issue with how you're getting/feeding in the element you want to attach to.

Use Awesomplete.$ to find single DOM element.
Use Awesomplete.$$ to find multiple DOM elements.
In examples Awesomplete.$ and Awesomplete.$$ are aliased as globals $ and $$,
@uresh Closing since you haven't provided any detailed description.


As a user I want to view N populated capital cities in the world, continent and region.

finished.


Fix call to rlp_memoverlap

Because the address at rlpEncodedOutput is getting shifted after every RLP element is encoded, we need to check overlap of the new address plus the element size. Previously if a large element got added and the rlpEncodedOutput address shifted too much, this check would always fail because we were adding the total buffer size to the updated address.

Closing in favor of #4


Getting Error while creating a course

When we enter the course details and click on Create course, it gives an error saying " There was duplicate course error". When we click on create course, the button is not working. The window stays on the screen and nothing happens. When clicked on the Create course button twice, the window disappears and the error pops up. After refreshing the page, the created course appears on the screen.

Completed Errors


LightboxMediaViewer: fix image and content alignment issues

Detailed description
Right now the alignment of the image and content is a little all over the place. We need to align it back up to the specs. Feel free to reach out if you have any questions.
I love these visualizations @wonilsuhibm created.
sm, md

lg, xlg, max

Additional information

LightboxMediaViewer Functional Specs
ExpressiveModal Functional Specs
@carbon/grid
Prototype

Acceptance criteria

[ ] Image left aligned to modal, bottom aligned to content
[ ] Image max-height: 100% (it shouldn't overflow)
[ ] sm Image takes up rest of space that content doesn't fill, and as content is removed image area gets bigger
[ ] sm Image  left-aligned, and vertical center if less than 100%
[ ]  image and content container needs to vertical center

@RobertaJHahn @jeffchew
On Windows and Mac book Air devices, the content is displayed after the image.
As per design, the content must be right aligned.
On Actual device:

As per design:-


Teams bridge analyze : find open source alternative

As an eimis user,
I want to be able to chat with a health professional that as an account on teams.
In order to begin a chat with him
This implies to study the Teams bridges :

SaaS closed version : https://element.io/blog/ems-launches-bridging-for-microsoft-teams/ implies to get in touch with Element.
Open source versions :

old abandoned version : https://github.com/neilsb/mx-puppet-teams
other options : https://github.com/turt2live/matrix-wishlist/issues/16 ?

Tasks :

[x] investigate to find all open-source possibilities
[x] analyse each possibility
[x] write synthesis

Definition of done :
Synthesis of investigation.

@heroinedor what solution did you find for this?

Hi @ch3ck we tested this : https://github.com/neilsb/mx-puppet-teams not in production though

Hi @ch3ck we tested this : https://github.com/neilsb/mx-puppet-teams not in production though

You tested this in non-production.
What were the results?

This bridge is not production ready from our point of view, it's more like a workaround since:

there is a kind of configuration needed by the user (it does not work out of the shell)
it works only for the user connected, not for the entire organisation
So we decided not to use it.


Update github templates

/kind enhancement
What this PR does / why we need it:
Update the github templates:

add hint to PR template, that kind is required
remove release note section, as this repo doesn't produce any release notes
remove labels from issue templates and instead ask the author to add a fitting kind via a /kind command

/lgtm
/approve


Remove default template

Thanks for your great work!
I'm asking if is possible to remove default page and post templates, this because I'm adding mine and I need just essential ones.
Thanks in advance

Hi,
simply copy your templates to your child root folder and name them page.php and single.php. Now your templates overrides default templates.
Solved?

You cannot remove theme's templates, but you can simply override them by store a copy in your child. You can add new templates as well. When you rename the templates, WordPress recognize them as a new additional template.


using mat4x4_scale as a MODEL uniform

can there be a way to use mat4x4_scale to build a scale matrix with the w-component set to 1?  that way we can just send it on up to the vertex shader as our scale matrix.

Well, not mat4x4_scale itself, because that would change its semantics. For a quick ad-hoc solution I suggest using mat4x4_scale_aniso (which keeps the w column as is) with the three scaling factors being equal. E.g.
mat4x4 M;
mat4x4_identity(M);
mat4x4_scale_aniso(M, M, s, s, s);

mat…_scale (and vec…_scale for that matter) defined in terms of multiplication with a scalar value and not so much a scaling in the geometrical sense, although for vectors there's no difference.


Testing Hetzner EX44 (NVMe)

This server works mostly out of the box, but requires a special network driver from ports to work.
In this test, the network adapter was a Realtek RTL8125 2.5GbE Controller (vendor=0x10ec device=0x8125). This should work with net/realtek-re-kmod, but at the time of writing (March 2024) it doesn't. Instead, net/realtek-re-kmod198 is required (see https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=275882 for details).

After finishing the installation, but before rebooting, drop into a shell and install the driver:
pkg install realtek-re-kmod198

Then adapt /boot/loader.conf to make use of it:
if_re_load="YES"
if_re_name="/boot/modules/if_re.ko"
hw.re.max_rx_mbuf_sz="2048"  # optional

Finally configure the interface in /etc/rc.conf:
ifconfig_re0_name="untrusted"

ifconfig_untrusted="up"
ifconfig_untrusted_ipv6="up"
ifconfig_untrusted_aliases="inet <IP_ADDRESS>/32 inet6 2a01:4f8:1:2a::2/64"

static_routes="gateway default"
route_gateway="-host <IP_ADDRESS> -interface untrusted"
route_default="default <IP_ADDRESS>"

ipv6_defaultrouter="fe80::1%untrusted"

Legend:

<IP_ADDRESS>: host IPv4 IP
<IP_ADDRESS>: IPv4 default gateway
2a01:4f8:1:2a::2: host IPv6 IP

Realtek cards is now catered for with https://github.com/depenguin-me/depenguin-builder/pull/25


Update more return types to include undefined

This PR updates even more return types where undefined can be returned.
The changes in services.ts and jsdoc.ts are not strictly necessary, because the APIs defined there are not public. But it may help you when you want to enable strictNullChecks in this project.
Ref: #15887

Looks like there is something wrong with the line-endings in checkter.ts - notice the ^M in the diff

@DickvdBrink that seems to be an issue with github. Other PRs also have this ^M although the files are consistently using CRLF

Ah oke, my bad ;) 👍

@andy-ms any more comments?

@ajafff  mind updating the PR.

@mhegazy @andy-ms updated and resolved conflicts.


use of partial() in create_scoped_session prevents SQLAlchemy.session from being used with SQL Alchemy event listeners

SQL Alchemy events are registered by calling the listen function with a class, an event name and a function.  By returning a partial, you make it difficult to attach listeners.  I suppose you could work around this issue by calling type(db.session()), however a decent amount of debugging is required to figure out why things don't work in the first place.
A simple solution is to create a singalling_session_maker function that takes the same arguments as signalling_session, then define _SignallingSession inside this function with a reduced init function, and return it.  Then you can just call that factory inside of scoped_session().

It has been a while since I opened this issue, but I seem to remember that I had issues with events listening to db.session not firing properly.  I think part of this is the fact that I actually share my session factory with another module that does not import Flask-SQLAlchemy.  The factory generated class does not have this problem.
In my subclass fix, I just lifted the code Armin wrote out of the partial and into a factory function.  Everything else is the same.  You have to understand, from the perspective of how events are described and the examples that are provided, the partial will cause confusion, and it causes additional coupling.


vscode outline view doesn't show symbols when first open code editor

Environment data

VS Code version: 1.47.3
Extension version (available under the Extensions sidebar): 2020.7.96456
OS and version: Mac OS Catalina 10.15.6
Python version (& distribution if applicable, e.g. Anaconda): 2.7.17
Type of virtual environment used (N/A | venv | virtualenv | conda | ...): virtualenv
Relevant/affected Python packages and their versions: XXX
Relevant/affected Python-related VS Code extensions and their versions: XXX
Value of the python.languageServer setting: jedi(maybe pylance, I also use this extension)

Expected behaviour
Load correct symbols
Actual behaviour

But if I close it and reopen it again, it shows the correct symbols. Or I opened multiple files, the first showing file doesn't show symbols like the screenshot, if I switch to other files, it shows. I only need to close the affected files and reopen to solve the problem.
Steps to reproduce:
[NOTE: Self-contained, minimal reproducing code samples are extremely helpful and will expedite addressing your issue]

Open my folder that contains my project.
vscode will open the last saved window, but the showing file doesn't show any symbols in the outline view.
close it and reopen it can solve the issue.
If the outline view can refresh dynamically?

Logs

Output for Python in the Output panel (View→Output, change the drop-down the upper-right of the Output panel to Python)

XXX

Does having "editor.codeLens": false in user settings work? If yes, this could be a dup of https://github.com/microsoft/vscode-python/issues/8762
Please provide the logs as mentioned in the issue template.
Logs

Output for Python in the Output panel (View→Output, change the drop-down the upper-right of the Output panel to Python)

XXX

Output from Console under the Developer Tools panel (toggle Developer Tools on under Help; turn on source maps to make any tracebacks be useful by running Enable source map support for extension debugging)

XXXX

Does having "editor.codeLens": false in user settings work? If yes, this could be a dup of #8762
my value for this is: "editor.codeLens": true
Logs

Output for Python in the Output panel (View→Output, change the drop-down the upper-right of the Output panel to Python)

User belongs to experiment group 'ShowPlayIcon - start'
User belongs to experiment group 'ShowExtensionSurveyPrompt - control'
User belongs to experiment group 'DebugAdapterFactory - experiment'
User belongs to experiment group 'PtvsdWheels37 - experiment'
User belongs to experiment group 'UseTerminalToGetActivatedEnvVars - control'
User belongs to experiment group 'LocalZMQKernel - experiment'
User belongs to experiment group 'CollectLSRequestTiming - control'
User belongs to experiment group 'CollectNodeLSRequestTiming - experiment'
User belongs to experiment group 'EnableIPyWidgets - experiment'
User belongs to experiment group 'RunByLine - control'
User belongs to experiment group 'CustomEditorSupport - control'
User belongs to experiment group 'pythonaa'
> conda --version
> conda info --json
> pyenv root
> python3.7 ~/.vscode/extensions/ms-python.python-2020.7.96456/pythonFiles/pyvsc-run-isolated.py -c "import sys;print(sys.executable)"
> python3.6 ~/.vscode/extensions/ms-python.python-2020.7.96456/pythonFiles/pyvsc-run-isolated.py -c "import sys;print(sys.executable)"
> python3 ~/.vscode/extensions/ms-python.python-2020.7.96456/pythonFiles/pyvsc-run-isolated.py -c "import sys;print(sys.executable)"
> python2 ~/.vscode/extensions/ms-python.python-2020.7.96456/pythonFiles/pyvsc-run-isolated.py -c "import sys;print(sys.executable)"
> python ~/.vscode/extensions/ms-python.python-2020.7.96456/pythonFiles/pyvsc-run-isolated.py -c "import sys;print(sys.executable)"
> ~/coding/company/hawthorn/XBlock/venv/bin/python2.7 ~/.vscode/extensions/ms-python.python-2020.7.96456/pythonFiles/pyvsc-run-isolated.py -c "import sys;print(sys.executable)"
Error 2020-07-29 16:39:31: Failed to download and store experiments, Class name = b, completed in 8117ms, has a falsy return value, , Return Value: undefined Error: connect ECONNREFUSED <IP_ADDRESS>:443
    at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1056:14) {
  errno: 'ECONNREFUSED',
  code: 'ECONNREFUSED',
  syscall: 'connect',
  address: '<IP_ADDRESS>',
  port: 443,
  vslsStack: [ CallSite {} ]
}
Error 2020-07-29 16:39:31: Failed to initialize experiments, Class name = b, completed in 8121ms, has a falsy return value, , Return Value: undefined Error: connect ECONNREFUSED <IP_ADDRESS>:443
    at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1056:14) {
  errno: 'ECONNREFUSED',
  code: 'ECONNREFUSED',
  syscall: 'connect',
  address: '<IP_ADDRESS>',
  port: 443,
  vslsStack: [ CallSite {} ]
}
> conda env list
> pyenv root
> pyenv root
> pyenv root
> pyenv root
Error 2020-07-29 16:39:35: Failed to get conda environment list from conda Error: spawn conda ENOENT
    at Process.ChildProcess._handle.onexit (internal/child_process.js:264:19)
    at onErrorNT (internal/child_process.js:456:16)
    at processTicksAndRejections (internal/process/task_queues.js:77:11) {
  errno: 'ENOENT',
  code: 'ENOENT',
  syscall: 'spawn conda',
  path: 'conda',
  spawnargs: [ 'env', 'list' ]
}
> pyenv root
> pyenv root
> pyenv root
> pyenv root
> pyenv root
> pyenv root
> ~/coding/company/hawthorn/XBlock/venv/bin/python2.7 ~/.vscode/extensions/ms-python.python-2020.7.96456/pythonFiles/pyvsc-run-isolated.py -c "import jupyter"
> ~/coding/company/hawthorn/XBlock/venv/bin/python2.7 ~/.vscode/extensions/ms-python.python-2020.7.96456/pythonFiles/pyvsc-run-isolated.py -c "import notebook"
Python interpreter path: ./venv/bin/python2.7
Starting Pylance language server.
Error 2020-07-29 16:39:36: Attempted to download with skipDownload true.
> pyenv root
> pyenv root
> conda --version
> pyenv root
> pyenv root
> pyenv root
> pyenv root
> pyenv root

I am asking you to set that setting to false and see if the symbols load for you.

@karrtikr Set that setting to false still see that the symbols don't load for me.

Apologies I missed your response. Unfortunately I am not able to reproduce the behavior. Please try the latest version of the extension open a new issue if you can still repro it, closing as stale.


Support for April tags Detection in Hololens 2

Support for April tags Detection in Hololens 2

@hemasree99s , thank you for your feature request.   Unfortunately this request is not directly related to MRTK.  Instead, can you please provide feedback via one of our other Mixed Reality feedback portals.  You can find more ways to provide feedback here: https://learn.microsoft.com/en-us/hololens/hololens-feedback
Thank you!


Very High Cpu Usage on 40 Threads, Sharebot

Everything Above 40 Threads Maxes Out My CPU To 100% The Python Programm is Taking 60% with 40 Threads
is there any fix for that?