Inference time

Hello,
I am trying to reach the inference time from the paper with RCNN (6-7fps) but it seems there is a bottleneck in pose estimation with the method est_pose(...) in recognition.py.
I measure the time it takes to execute certain code segments during the evaluation. It seems the bottleneck lies in the RANSAC computation in the following lines: https://github.com/kirumang/Pix2Pose/blob/843effe0097e9982f4b07dd90b04ede2b9ee9294/pix2pose_model/recognition.py#L128-L168
I used timeit to see how much time it takes for this patch of code to execute and achieve a mean time of around 1 second pro image.
I am using 640x400 RGB images, and the basic_evaluation script. My GPU is NVIDIA RTX 2070, so I guess the hardware might not be the issue.
What could be the cause for the bottleneck in this case? I achieve the same results for the detections with the Faster R-CNN (130 ms) as the paper, but the pose estimation is significantly worse.

Hello,
The inference time in the paper is measured using the LineMOD dataset where one target object has to be estimated per scene (a.k.a single object scenario or SiSo task) . The computational time should increase proportionally with respect to the number of target objects in the scene. In addition, the single outlier threshold is used for each object in the paper as described below in README.md file.

Important Note Differ from the paper, we used multiple outlier thresholds in the second stage for the BOP challenge since it is not allowed to have different parameters for each object or each dataset. This can be done easily by setting the "outlier_th" in a 1D-array (refer to cfg_bop2019.json). In this setup, the best result, which has the largest inlier points, will be derived during estimation after applying all values in the second stage. To reproduce the results in the paper with fixed outlier threshold values, a 2D-array should be given as in "cfg_tless_paper.json"

Also, the code for the bop challenge proposes multiple candidates per target ("cand_factor" controls the maximum number of candidates). Thus, the time measured in the paper could be reproduced for scenes with a single target object and an outlier threshold value.
You could try TUD-L or RU-APC datasets to check the running time using our pre-trained weights (all scenes have one target per scene like LineMOD).
In this case, cfg_bop2019.json file has to be changed to:
1.  "outlier_th":[0.15,0.25,0.35]
      -  [0.1 ~ 0.3]: single outlier threshold for all objects
      -  [[0.1], [0.1],[0.2] ... ]: individual outlier threshold for each objects
2. "cand_factor": 2 -> 0
3. "score_type": 2 -> 1
4. "task_type": 2 -> 1

Thank you very much for the quick response!
I am using a custom dataset, with a single object, so this is why I was asking about the time complexity.
Adjusting these parameters solved the problem for me. Now I also have ~6-7 FPS, so the model is viable for real-time applications.
Best regards


MPR Crosshairs are one color (green) however, were previously different colors depending on the viewport

What feature or change would you like to see made?
MPR Crosshairs are one color (green) however, were previously different colors depending on the viewport. The axial, sagittal & coronal viewports also had a color coded dot in the upper right corner of the viewport as well to help navigate the crosshairs.
Restore that feature or, provide the ability to alter the crosshair colours while in MPR. Should also investigate if this feature to alter crosshair colors would be needed for TMTV crosshair use as well.
Note: this was tested in both of the following environments:
https://viewer.ohif.org/ - version 3.7.0
https://viewer-dev.ohif.org/ - version 3.8.0-beta.21
Why should we prioritize this feature?
Having crosshairs as different colors (red, yellow & green) was previously available in OHIF.
See the following link for a previous item with screen shot references from 2020 - Bring in rotatable crosshairs. #2101: https://github.com/OHIF/Viewers/pull/2101

i think it is worthwhile to add this

We released OHIF 3.9 which address this issue


Version 2.8.1 Running the application in the profile environment on Android devices is likely to have some text loading problems and tabbar at the bottom only has ICONS without text.

Version 2.8.1 Running the application in the profile environment on Android devices is likely to have some text loading problems and tabbar at the bottom only has ICONS without text. The project was created under version 2.5.3 and runs under version 2.5.3 without problems. Therefore, I am not very clear whether the problem is with version 2.5.3 or version 2.8.1, and how to fix this problem?

@KirstenDunst
Can you provide a minimal reproducible code sample that shows the issue you described ?


Cleanup drivetrain strats

Stops the impl being shared between common and team code
FOC is done inside a "Controller". In the future this is probably the best way to implement certain types of control since it can be common

Resolves #86


code with clustring

CWE Clustering Analysis with Improved Visualization
Description:
This pull request introduces several enhancements to the existing CWE clustering analysis. These improvements aim to provide more actionable insights into the common characteristics of software problems identified by various tools.
Changes:
Data Preprocessing: Added weighted one-hot encoding to consider the frequency of each CWE and tool for every problem.
Clustering: Applied K-means clustering to group similar problems based on their CWEs and tools.
Visualization: Improved the clarity of the cluster visualization plot by using different markers and colours for each cluster.
Cluster Summary: Added bar charts to summarize each cluster's top CWEs and tools.
Key Insights:
The K-means clustering algorithm successfully grouped problems with similar CWEs and tools into distinct clusters.
The improved visualization allows for easy identification of problem numbers within each cluster.
Bar charts provide a quick summary of the most frequent CWEs and tools in each cluster, helping prioritize focus areas for remediation.
How to Test:
Load the updated Jupyter Notebook or Python script.
Run all the cells to perform the analysis.
Examine the cluster visualization and bar charts for insights.

Thank you Khaleem, looks awesome.


Add useful libraries section

I added a useful libraries section which will contain links to various useful external libraries.

Great, thanks!

Thank you!


New annotation class: file-parallel and read-only

Based on the discussions of the Annotations working group, we believe we will need a couple of new classes annotations for non-parallelizable pure and side-effectful commands. The first additional annotation would describe a subclass of non-parallelizable pure and side-effectful commands that are safe to parallelize across file boundaries (allowing parallelization of for, xargs, and other similar constructs). The second class would be side-effectful commands that only read environment variables—including hardware properties, /proc filesystem etc.

Ported to: https://github.com/binpash/annotations/issues/12


Massive function call overhead when there are no arguments with wasm_runtime_call_wasm_v()

Hi,
I just did some measurements regarding the overhead when calling WASM functions from native code.
The procedure is as simple as that:

Set GPIO
Call WASM function which resets the GPIO

Surprisingly wasm_runtime_call_wasm_v() leads to an massive overhead of 6.2 ms in interpreter as well as in AOT mode.
wasm_runtime_call_wasm() (1.3 us) and wasm_runtime_call_wasm_a() (2.7 us) perform way better.
The massive overhead only occurs when there are no arguments to be passed to WASM function. If I add a dummy (int tmp) parameter to my WASM function I measure only about 3.2 us.
Hardware: NUCLEO-H743ZI2
RTOS: Zephyr
Best regards,
Philipp

@philhoeb Thanks for reporting the issue, it seems that it is due to wasm_runtime_call_wasm_a/v allocates memory buffer to store the arguments/results each time. I uploaded PR #1326 to fix it, could you please try again?

@wenyongh PR #1326 fixes the issue.
Measurements: (480 MHz; 1000 samples)

Mode
wasm_runtime_call_wasm()
wasm_runtime_call_wasm_a()
wasm_runtime_call_wasm_v()

Interpreter
1.990 us
2.433 us
3.301 us

AOT
1.306 us
1.819 us
2.711 us

Thank you!


Fix gii model generator (#261)

Q
A

Is bugfix?
yes

New feature?
no

Breaks BC?
no

Tests pass?
yes

Fixed issues
#261

@yiisoft/reviewers need help verifying it. Anyone with MongoDB set up?


the tags page is confusing

And why do I need to know that a layer is 55 bytes?

Hello @technovangelist, thank you for your feedback! We've recently updated our design, and we hope it's clearer now. Please share your thoughts on the new layout.


feat: GCB refactor for v1.0 support

In anticipation for GCB's v1.0 support, this PR re-factors the code to look similar to GHA's code

@ianlewis friendly ping for a review


[Feature]: Use the latest Alpine Docker version v3.16

Is there an existing issue for this?

[X] I have searched the existing issues

Summary
The latest version of Alpine was released a couple of days ago: https://www.alpinelinux.org/posts/Alpine-3.16.0-released.html .
Why should this be worked on?
It would be nice to use the lates version v3.16 for any docker containers used as this would provide potential performance & security improvements as well as appropriate toolings updates.

The next version will be based on 3.16.


Fix issue29: skip the log output of EOF error

Fix https://github.com/dubbogo/getty/issues/29.

LGTM


APIs for IDNs (☃.net)

Right now we expose the encoded name only. We should expose the fun IDN name.
(Follow up to https://github.com/square/okhttp/issues/1486)

Investigating this (low-pri) as a background task
https://github.com/square/okhttp/pull/3512

Not a priority.


Search in File with Regex not working properly

VS Code Version: 1.63.2
OS Version: Window 10

Steps to Reproduce:

Open a file with the following content:
[
{
"__metadata": {
"id": "",
"uri": "",
"type": ""
},
"ChmlCmplncInfoUUID": "0894ef45-8661-1ee8-b4de-722cc0233ee5",
"CmplRqRsltUUID": "0894ef45-7651-1edc-a0ee-91a120b281cb",
"Language": "RO",
"Language_Text": "Romanian",
"CmplRqVersName": "ADN 2021",
"ComplianceRequirement": "ADN",
"CmplRqRsltProcessingStatus": "IP",
"DngrsGoodMarkingLabelText": "MARKING3"
},
{
"__metadata": {
"id": "",
"uri": "",
"type": ""
},
"ChmlCmplncInfoUUID": "0894ef45-8661-1ee8-b4de-722cc0233ee5",
"CmplRqRsltUUID": "0894ef45-7651-1edc-a0ee-91a120b281cb",
"Language": "HR",
"Language_Text": "Croatian",
"CmplRqVersName": "ADN 2021",
"ComplianceRequirement": "ADN",
"CmplRqRsltProcessingStatus": "IP",
"DngrsGoodMarkingLabelText": "MARKING3"
}
]

Search with the regex pattern: "__metadata"[^}]*},

Result: Nothing is found.
Expected: The Search should find the following multiline content:
"__metadata": {
"id": "",
"uri": "",
"type": ""
},
To check if the regex pattern is correct i have matches if i use the same regex pattern on: https://regex101.com/

Maybe #131507

Are you using find widget inside of editor or for open file?
RegExps searches don't perform multiline matches unless they have hints e.g. \n for performance reasons).
As you have } at the end of match you can use "__metadata"[\s\S\n]*?\}, where \n will trigger multiline match. Or just add \n in the end  of your regexp (use lookahead if it shouldn't be part of match)
P.S. it's better to wrap inline code in backticks `code` and code blocks as in
```
code
```

as it looks like \ is missing in your regexp.
@gjsjohnmurray that issue looks mainly about like duplicates in results

Thanks great now it works


AWS Amplify PubSub category

Is your feature request related to a problem? Please describe.
Just same as Javascript AWS Amplify PubSub category
Describe the solution you'd like
https://docs.amplify.aws/lib/pubsub/getting-started/q/platform/js/
Describe alternatives you've considered
No
Is the feature request related to any of the existing Amplify categories?
No response
Additional context
Click here to learn more about MQTT Over WebSocket.

Thank you for reaching us @overheat I have marked this as a feature request. We currently do not support IoT in Amplify Swift, encourage upvoting this feature request if you wish to have this on Amplify Swift.


Clean up YAML tests

Changes

Use generateName where appropriate in TaskRuns; this makes it easier
to re-run them multiple times, and we should probably recommend this
more widely.
Create YAML resources instead of applying them (this is required to
support generateName)
Rename files to remove unnecessary "taskrun-" prefix.
Rename TaskRuns to remove unnecessary "test-" prefix, and in general
to match the name of the file -- this should help identifying the file
that contains a failed TaskRun.

Submitter Checklist
These are the criteria that every PR should meet, please check them off as you
review them:

[:heavy_check_mark:] Includes tests (if functionality changed/added)
[:x:] Includes docs (if user facing)
[:heavy_check_mark:] Commit messages follow commit message best practices

See the contribution guide for more details.
Double check this list of stuff that's easy to miss:

If you are adding a new binary/image to the cmd dir, please update
the release Task to build and release this image.

Reviewer Notes
If API changes are included, additive changes must be approved by at least two OWNERS and backwards incompatible changes must be approved by more than 50% of the OWNERS, and they must first be added in a backwards compatible way.

/lgtm


Install fails with 'kubernetes_join_command' is undefined

During install I see two issues in the log:

The Flannel setup comes up with an error:
TASK [geerlingguy.kubernetes : Configure Flannel networking.] *****************************************************************************************************************************************************
task path: /home/pi/raspberry-pi-dramble/roles/geerlingguy.kubernetes/tasks/master-setup.yml:32
META: noop
META: noop
META: noop
META: noop
META: noop
META: noop
META: noop
Using module file /usr/lib/python3/dist-packages/ansible/modules/commands/command.py
<<IP_ADDRESS>> ESTABLISH SSH CONNECTION FOR USER: pi
<<IP_ADDRESS>> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o User=pi -o ConnectTimeout=10 -o ControlPath=/tmp/ansible-ssh-%h-%p-%r <IP_ADDRESS> '/bin/sh -c '"'"'sudo -H -S -n -u root /bin/sh -c '"'"'"'"'"'"'"'"'echo BECOME-SUCCESS-fowzyziyvpszijmfktltgvivepighamv; /usr/bin/python'"'"'"'"'"'"'"'"' && sleep 0'"'"''
Escalation succeeded
<<IP_ADDRESS>> (1, b'\n{"changed": true, "end": "2021-03-11 11:30:55.748184", "stdout": "", "cmd": ["kubectl", "apply", "-f", "https://raw.githubusercontent.com/coreos/flannel/master/Documentation/k8s-manifests/kube-flannel-rbac.yml"], "failed": true, "delta": "0:00:00.178464", "stderr": "The connection to the server <IP_ADDRESS>:6443 was refused - did you specify the right host or port?", "rc": 1, "invocation": {"module_args": {"creates": null, "executable": null, "_uses_shell": false, "_raw_params": "kubectl apply -f https://raw.githubusercontent.com/coreos/flannel/master/Documentation/k8s-manifests/kube-flannel-rbac.yml", "removes": null, "argv": null, "warn": true, "chdir": null, "stdin": null}}, "start": "2021-03-11 11:30:55.569720", "msg": "non-zero return code"}\n', b'')
<<IP_ADDRESS>> Failed to connect to the host via ssh:
failed: [kube1] (item=kubectl apply -f https://raw.githubusercontent.com/coreos/flannel/master/Documentation/k8s-manifests/kube-flannel-rbac.yml) => changed=false
cmd:

kubectl
apply
-f
https://raw.githubusercontent.com/coreos/flannel/master/Documentation/k8s-manifests/kube-flannel-rbac.yml
delta: '0:00:00.178464'
end: '2021-03-11 11:30:55.748184'
invocation:
module_args:
_raw_params: kubectl apply -f https://raw.githubusercontent.com/coreos/flannel/master/Documentation/k8s-manifests/kube-flannel-rbac.yml
_uses_shell: false
argv: null
chdir: null
creates: null
executable: null
removes: null
stdin: null
warn: true
item: kubectl apply -f https://raw.githubusercontent.com/coreos/flannel/master/Documentation/k8s-manifests/kube-flannel-rbac.yml
msg: non-zero return code
rc: 1
start: '2021-03-11 11:30:55.569720'
stderr: The connection to the server <IP_ADDRESS>:6443 was refused - did you specify the right host or port?
stderr_lines:
The connection to the server <IP_ADDRESS>:6443 was refused - did you specify the right host or port?
stdout: ''
stdout_lines:
Using module file /usr/lib/python3/dist-packages/ansible/modules/commands/command.py
<<IP_ADDRESS>> ESTABLISH SSH CONNECTION FOR USER: pi
<<IP_ADDRESS>> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o User=pi -o ConnectTimeout=10 -o ControlPath=/tmp/ansible-ssh-%h-%p-%r <IP_ADDRESS> '/bin/sh -c '"'"'sudo -H -S -n -u root /bin/sh -c '"'"'"'"'"'"'"'"'echo BECOME-SUCCESS-iqnrqxuvokenyhsrtigbkurovoxntfaq; /usr/bin/python'"'"'"'"'"'"'"'"' && sleep 0'"'"''
Escalation succeeded
<<IP_ADDRESS>> (1, b'\n{"changed": true, "end": "2021-03-11 11:30:56.268963", "stdout": "", "cmd": ["kubectl", "apply", "-f", "https://raw.githubusercontent.com/coreos/flannel/master/Documentation/kube-flannel.yml"], "failed": true, "delta": "0:00:00.181979", "stderr": "The connection to the server <IP_ADDRESS>:6443 was refused - did you specify the right host or port?", "rc": 1, "invocation": {"module_args": {"creates": null, "executable": null, "_uses_shell": false, "_raw_params": "kubectl apply -f https://raw.githubusercontent.com/coreos/flannel/master/Documentation/kube-flannel.yml", "removes": null, "argv": null, "warn": true, "chdir": null, "stdin": null}}, "start": "2021-03-11 11:30:56.086984", "msg": "non-zero return code"}\n', b'')
<<IP_ADDRESS>> Failed to connect to the host via ssh:
failed: [kube1] (item=kubectl apply -f https://raw.githubusercontent.com/coreos/flannel/master/Documentation/kube-flannel.yml) => changed=false
cmd:
kubectl
apply
-f
https://raw.githubusercontent.com/coreos/flannel/master/Documentation/kube-flannel.yml
delta: '0:00:00.181979'
end: '2021-03-11 11:30:56.268963'
invocation:
module_args:
_raw_params: kubectl apply -f https://raw.githubusercontent.com/coreos/flannel/master/Documentation/kube-flannel.yml
_uses_shell: false
argv: null
chdir: null
creates: null
executable: null
removes: null
stdin: null
warn: true
item: kubectl apply -f https://raw.githubusercontent.com/coreos/flannel/master/Documentation/kube-flannel.yml
msg: non-zero return code
rc: 1
start: '2021-03-11 11:30:56.086984'
stderr: The connection to the server <IP_ADDRESS>:6443 was refused - did you specify the right host or port?
stderr_lines:
The connection to the server <IP_ADDRESS>:6443 was refused - did you specify the right host or port?
stdout: ''
stdout_lines:

The join command is undefined:
ASK [geerlingguy.kubernetes : Join node to Kubernetes master] ****************************************************************************************************************************************************
task path: /home/pi/raspberry-pi-dramble/roles/geerlingguy.kubernetes/tasks/node-setup.yml:2
Read vars_file 'vars/main.yml'
Read vars_file 'config.yml'
fatal: [kube2]: FAILED! =>
msg: |-
The task includes an option with an undefined variable. The error was: 'kubernetes_join_command' is undefined
The error appears to have been in '/home/pi/raspberry-pi-dramble/roles/geerlingguy.kubernetes/tasks/node-setup.yml': line 2, column 3, but may
be elsewhere in the file depending on the exact syntax problem.
The offending line appears to be:

name: Join node to Kubernetes master
^ here

I suspect these two issues are somehow related. Could somebody help me here?

Using Raspian OS 64bit, I had some issues during installation I solved on the way:

br_netfilter is missing
ip_forward not set to 1
disable swaping (I went for the temporary setting dphys-swapfile swapoff)

My issue at the moment seems to be related to the fact that the api server is not starting. I wasn't able to see why it's not starting so far. When I issue the init command, I get the following result:
root@kube1:/etc/kubernetes/manifests# kubeadm init
I0311 14:06:55.138875    7310 version.go:252] remote version is much newer: v1.20.4; falling back to: stable-1.19
W0311 14:06:55.419669    7310 configset.go:348] WARNING: kubeadm cannot validate component configs for API groups [kubelet.config.k8s.io kubeproxy.config.k8s.io]
[init] Using Kubernetes version: v1.19.8
[preflight] Running pre-flight checks
[WARNING SystemVerification]: missing optional cgroups: hugetlb
[preflight] Pulling images required for setting up a Kubernetes cluster
[preflight] This might take a minute or two, depending on the speed of your internet connection
[preflight] You can also perform this action in beforehand using 'kubeadm config images pull'
[certs] Using certificateDir folder "/etc/kubernetes/pki"
[certs] Generating "ca" certificate and key
[certs] Generating "apiserver" certificate and key
[certs] apiserver serving cert is signed for DNS names [kube1 kubernetes kubernetes.default kubernetes.default.svc kubernetes.default.svc.cluster.local] and IPs [<IP_ADDRESS> <IP_ADDRESS>]
[certs] Generating "apiserver-kubelet-client" certificate and key
[certs] Generating "front-proxy-ca" certificate and key
[certs] Generating "front-proxy-client" certificate and key
[certs] Generating "etcd/ca" certificate and key
[certs] Generating "etcd/server" certificate and key
[certs] etcd/server serving cert is signed for DNS names [kube1 localhost] and IPs [<IP_ADDRESS> <IP_ADDRESS> ::1]
[certs] Generating "etcd/peer" certificate and key
[certs] etcd/peer serving cert is signed for DNS names [kube1 localhost] and IPs [<IP_ADDRESS> <IP_ADDRESS> ::1]
[certs] Generating "etcd/healthcheck-client" certificate and key
[certs] Generating "apiserver-etcd-client" certificate and key
[certs] Generating "sa" key and public key
[kubeconfig] Using kubeconfig folder "/etc/kubernetes"
[kubeconfig] Writing "admin.conf" kubeconfig file
[kubeconfig] Writing "kubelet.conf" kubeconfig file
[kubeconfig] Writing "controller-manager.conf" kubeconfig file
[kubeconfig] Writing "scheduler.conf" kubeconfig file
[kubelet-start] Writing kubelet environment file with flags to file "/var/lib/kubelet/kubeadm-flags.env"
[kubelet-start] Writing kubelet configuration to file "/var/lib/kubelet/config.yaml"
[kubelet-start] Starting the kubelet
[control-plane] Using manifest folder "/etc/kubernetes/manifests"
[control-plane] Creating static Pod manifest for "kube-apiserver"
[control-plane] Creating static Pod manifest for "kube-controller-manager"
[control-plane] Creating static Pod manifest for "kube-scheduler"
[etcd] Creating static Pod manifest for local etcd in "/etc/kubernetes/manifests"
[wait-control-plane] Waiting for the kubelet to boot up the control plane as static Pods from directory "/etc/kubernetes/manifests". This can take up to 4m0s
[kubelet-check] Initial timeout of 40s passed.
Unfortunately, an error has occurred:
	timed out waiting for the condition

This error is likely caused by:
	- The kubelet is not running
	- The kubelet is unhealthy due to a misconfiguration of the node in some way (required cgroups disabled)

If you are on a systemd-powered system, you can try to troubleshoot the error with the following commands:
	- 'systemctl status kubelet'
	- 'journalctl -xeu kubelet'

Additionally, a control plane component may have crashed or exited when started by the container runtime.
To troubleshoot, list all containers using your preferred container runtimes CLI.

Here is one example how you may list all Kubernetes containers running in cri-o/containerd using crictl:
	- 'crictl --runtime-endpoint /run/containerd/containerd.sock ps -a | grep kube | grep -v pause'
	Once you have found the failing container, you can inspect its logs with:
	- 'crictl --runtime-endpoint /run/containerd/containerd.sock logs CONTAINERID'

error execution phase wait-control-plane: couldn't initialize a Kubernetes cluster
To see the stack trace of this error execute with --v=5 or higher


Update http4s-blaze-client, ... to 0.20.4

Updates

org.http4s:http4s-blaze-client
org.http4s:http4s-blaze-server
org.http4s:http4s-circe
org.http4s:http4s-dsl

from 0.20.3 to 0.20.4.
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention @scala-steward in the comments below.
Have a fantastic day writing Scala!

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

labels: semver-patch

We jumped over this version to a 0.21 milestone version


Push regex matching into the NOSQL store where possible

BigTable uses the came regex library as Prometheus I believe, so we could push the matching to the server.

Question will be how this plays with the new index caching, which always fetches the entire row.  Thoughts @gouthamve?

With the new index caching this isn't worth doing.


Broken Avatar images in Apache ORC News

It seems that we have broken images at the following pages.

https://orc.apache.org/news/2022/03/05/add-quanlong/
https://orc.apache.org/news/2022/04/15/ORC-1.7.4/

Maybe, is ASF Home machine still inaccessible to you, @wgtmac and @williamhyun ?

@dongjoon-hyun I have tried to set up the page, but failed. Do you have any guideline to proceed? Thanks!

@dongjoon-hyun Yes, I cannot access home.apache.org via sftp.

https://home.apache.org/~william

@wgtmac and @williamhyun .

According to https://infra.apache.org, they decommissioned the old server.
New machine is home-lw-us (<IP_ADDRESS>) whose aliases are people.apache.org and home.apache.org.

https://infra.apache.org/machines.html

The new server is supposed to serve SFTP connection.

https://infra.apache.org/committers.html#machines

Committers may access home.apache.org. See the related information in the New committers' guide. Note that you do only have sftp access. There is no shell access. RSA SSH keys are required for sftp access, which you can update via Whimsy or id.apache.org.

If you guys cannot access it, it seems that we need to file an INFRA jira issue for you.

Here is the INFRA JIRA.

https://issues.apache.org/jira/browse/INFRA-23185

Hi, @wgtmac and @williamhyun . According to the INFRA team's comment, please try to connect your home again.

I have corrected the host attribute for "william." We do not have an ASF ID "wgtmac" but I'm guessing you meant "gangwu".. That person already has the home.apache.org host attribute, so they should be able to SFTP in.

It works!
% sftp home.apache.org
Connected to home.apache.org.
sftp> ls

Thank you, @williamhyun . I confirmed that your news is recovered.

https://orc.apache.org/news/2022/04/15/ORC-1.7.4/

Gentle ping, @wgtmac . INFRA team is waiting for your confirmation. Please comment on INFRA JIRA.

Thanks @dongjoon-hyun. I have the access now. But how can I upload my avatar?

It's a traditional personal website hosting way in Apache Home account, @wgtmac .

To simply put, your https://people.apache.org/~gangwu is mapped to public_html under your home directory.

Apache ORC website expects https://people.apache.org/~gangwu/gangwu.png.

To achieve the above item (2), download your GitHub image and rename it to your Apache ID, gangwu.png.

curl -LO https://avatars.githubusercontent.com/u/4684607
https://avatars.githubusercontent.com/u/4684607

Finally, you need to connect to the server and do the following.

mkdir public_html
cd public_html
put gangwu.png

It's a traditional personal website hosting way in Apache Home account, @wgtmac .

To simply put, your https://people.apache.org/~gangwu is mapped to public_html under your home directory.
Apache ORC website expects https://people.apache.org/~gangwu/gangwu.png.
To achieve the above item (2), download your GitHub image and rename it to your Apache ID, gangwu.png.

curl -LO https://avatars.githubusercontent.com/u/4684607

Finally, you need to connect to the server via sftp and do the following.

mkdir public_html
cd public_html
put gangwu.png

Awesome! Thanks @dongjoon-hyun for the help!

Thank you, @wgtmac and @williamhyun . I confirmed that both broken links are fixed.


Add Error Handling & Simplify AttributePanel.

Fixes #96

Simplifies AttributePanel

it does not need Attribute at all as it is just a view
Simplify the logic used in ClientView to create an AttributePanel

Rather than a consumer for the edit, use a functional interface that returns useful error messages
Support throwing an alert dialog when it edit fails.

Checklist

[x] Have you added javadocs?

Codecov Report

Merging #95 (88c69cb) into master (211e702) will decrease coverage by 0.44%.
The diff coverage is 0.00%.

@@             Coverage Diff              @@
##             master      #95      +/-   ##
============================================
- Coverage     65.78%   65.34%   -0.45%
  Complexity      400      400
============================================
  Files            75       75
  Lines          1324     1333       +9
  Branches        111      111
============================================
  Hits            871      871
- Misses          415      424       +9
  Partials         38       38

Impacted Files
Coverage Δ

src/main/java/donnafin/ui/AttributePanel.java
0.00% <0.00%> (ø)

src/main/java/donnafin/ui/ClientInfoPanel.java
0.00% <0.00%> (ø)

Continue to review full report at Codecov.

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

Also, can consider abstracting this out to another function. looks quite ugly. Something u can consider is this, if you wanna abstract to one function

Hey @sheehui I'm not certain which part you want to abstract out


Update configuration of webhook for autopublish.meteor.com

Hi @icambron,
I've noticed that every new release triggers 2 publish operations on autopublish.meteor.com
I think the reason is the webhook was wrongly configured (not your fault....) to notify both new tags and new releases: since a new release also creates a new tag what we get is a double trigger and the second publish attempt usually fails with "Version already exists" error.
Could you please update the configuration to reflect what can be seen in this screenshot?
...you'll find the configuration page under Settings -> Webhoks & Services ;-)
It's not a big problem though...

Hmm, I'm having a lot of trouble logging into autopublish. The oauth popup is blank...

Hmmm, really?!
Btw, the settings to be modified are those of your repo ;-)

It seems to be working now.

Btw, the settings to be modified are those of your repo ;-)

Right, I was just curious about what was there.
I unchecked the "create" trigger, so now it's just "release".

:+1:


Upgrade to Rails 5.1.4

This re-introduces the Rails 5 upgrade which was reverted due to an change being required in the migration

Also, having a revert of a revert commit is pretty whacky. Could we just not re-introduce the commits that change things? it'd make things easier for us to review and leave a clearer git history


[NTR] 'amacrine cell' GABAergic and glycinergic

Context: https://github.com/obophenotype/cell-ontology/issues/1606
Preferred term label
(1) GABAergic amacrine cell
(2) glycinergic amacrine cell
Synonyms (add reference(s), please)
(1) amacrine cell, GABAergic
(2) amacrine cell, glycinergic
Definition (free text, with reference(s), please. PubMed ID format is PMID:XXXXXX)
(1) An amacrine cell that uses GABA as a neurotransmitter.
(2) An amacrine cell that uses glycine as a neurotransmitter.
https://doi.org/10.1016/j.cell.2020.08.013
EA
(1)
‘amacrine cell’
 and ('capable of' some 'gamma-aminobutyric acid secretion, neurotransmission')

(2)
‘amacrine cell’
 and ('capable of' some 'glycine secretion, neurotransmission')

What is the anatomical structure that the cell is a part of?
UBERON:0000966 retina
Your ORCID
N/A
Additional notes or concerns
N/A

The following classes have been added to CL:
CL:4030027 ‘GABAergic amacrine cell’
CL:4030028 'glycinergic amacrine cell'


Getting error while running Generate_Project job

Below error is being observed while running Generate Project job. Kindly help
++ rm -rf /workspace/myDAS/Project_Management/Generate_Project/tmp
Processing DSL script jobs.groovy
[WARN] ADOP_PLATFORM_MANAGEMENT_VERSION is set to '' which is not a valid hash - defaulting to '*/master'
Warning: (jobs.groovy, line 34) workflowJob is deprecated
[ssh-agent] Stopped.
ERROR: (jobs.groovy, line 42) No signature of method: groovyScript() is applicable for argument types: (jobs$_run_closure2$_closure4$_closure9$_closure11$_closure12$_closure13) values: [jobs$_run_closure2$_closure4$_closure9$_closure11$_closure12$_closure13@b8a85cb]
Possible solutions: scriptText(), defaultChoice(), usePredefinedVariables()
Finished: FAILURE

Hi Rob, yes plugins were modified. Team was testing pipeline jobs and they had upgraded/ downgraded couple of plugins many times and at a point Jenkins was crashed due to plugin issue.
Then, I had deleted all existing plugins and loaded them From scratch.
Is there any way we can just recreate jenkins with default Adop configuration?

Hi @RobertNorthard..Can you help us in resolving the issue which we are getting when we build Generate Project?


Export ioredis from @keyvhq/redis package

ioredis should be exported from the @keyvhq/redis package so that we can ensure that we are using the same version of ioredis required by this package. On https://github.com/microlinkhq/keyvhq/blob/8712c7b57c3b9614a67182fa14d60c63bb27e936/packages/redis/src/index.js#L7 we are checking if the argument is an ioredis Redis instance but that only works if the version is the same.

I agree; alternative I can drop ioredis and make it a peer dependency; which solution sounds worst in your opinion?

Is https://github.com/microlinkhq/keyvhq/commit/e819f7a1b19d12e25aa63e23379f8b7feab6f3d3 going to be published to npm?


unable to serialize Dictionary<string,object> properties

Hi, I have an issue working with a Dictionary<string,object> property in my model. by default HC doesn't support that type so I wrote a custom scalar. However, after I convert the IValueNode literal to a dictionary and return it, I get this exception
"Unable to cast object of type 'System.Collections.Generic.List1[System.Collections.Generic.KeyValuePair`2[System.String,System.Object]]' to type 'System.Collections.Generic.IDictionary`2[System.String,System.Object]'.",`
I have also tried the Any Scalar but I'm getting the same exception
also, when I don't specify a scalar type at all but let HC infer it, I get the following exception in the schema builder
System.InvalidOperationException: 'No compatible constructor found for input type type System.Collections.Generic.KeyValuePair2[[System.String, System.Private.CoreLib, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[System.Object, System.Private.CoreLib, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]

the scalar implementation
`public sealed class PropertiesDictionaryType : ScalarType
{
public PropertiesDictionaryType() : base("PropertiesDictionary")
{
}
    // define which .NET type represents your type
    public override Type RuntimeType => typeof(IDictionary<string, object>);

    // define which literals this type can be parsed from.
    public override bool IsInstanceOfType(IValueNode literal)
    {
        if (literal == null)
        {
            throw new ArgumentNullException(nameof(literal));
        }

        return literal is NullValueNode
               || literal is ObjectValueNode
               || literal is ListValueNode;
    }

    // define how a literal is parsed to the native .NET type.
    public override object? ParseLiteral(IValueNode literal, bool withDefaults = true)
    {
        if (literal == null)
        {
            throw new ArgumentNullException(nameof(literal));
        }

        if (literal is ObjectValueNode objectLiteral)
        {
            var dictionary = objectLiteral.Fields.ToDictionary(x => x.Name.Value, x => x.Value.Value);
            return dictionary;
        }

        if (literal is NullValueNode)
        {
            return null;
        }

        throw new ArgumentException(
            "The string type can only parse string literals.",
            nameof(literal));
    }

    public override IValueNode ParseResult(object? resultValue)
    {
        if (resultValue == null)
        {
            return new NullValueNode(null);
        }

        if (resultValue is IDictionary<string, object> dictionary)
        {
            return new StringValueNode(null, JsonConvert.SerializeObject(dictionary), false);
        }

        throw new ArgumentException(
            "The specified value has to be a string or char in order " +
            "to be parsed by the string type.");
    }

    // define how a native type is parsed into a literal,
    public override IValueNode ParseValue(object? runtimeValue)
    {
        if (runtimeValue == null)
        {
            return new NullValueNode(null);
        }

        if (runtimeValue is IDictionary<string, object> dictionary)
        {
            return new StringValueNode(null, JsonConvert.SerializeObject(dictionary), false);
        }

        throw new ArgumentException(
            "The specified value has to be a string or char in order " +
            "to be parsed by the string type.");
    }

    // define the result serialization. A valid output must be of the following .NET types:
    // System.String, System.Char, System.Int16, System.Int32, System.Int64,
    // System.Float, System.Double, System.Decimal and System.Boolean
    public override bool TrySerialize(object? runtimeValue, out object? resultValue)
    {
        if (runtimeValue == null)
        {
            resultValue = null;
            return true;
        }

        if (runtimeValue is IDictionary<string, object> dictionary)
        {
            resultValue = JsonConvert.SerializeObject(dictionary);
            return true;
        }

        resultValue = null;
        return false;
    }

    public override bool TryDeserialize(object? resultValue, out object? runtimeValue)
    {
        if (resultValue is null)
        {
            runtimeValue = null;
            return true;
        }

        if (resultValue is IDictionary<string, object> dictionary)
        {
            runtimeValue = dictionary;
            return true;
        }

        runtimeValue = null;
        return false;
    }
}`

I have found the issue with this...
first of all, a custom scalar type isn't needed here since the AnyType is the one to use here.
when reading data this works like a charm.
within a mutation, having a property of type Dict<string,object> on the input type throws a type converter exception in DefaultTypeConverter.cs (line 58 and 144)
the type check is
line 58:    if (from == to)
line 144:  if (source == target)
which is false for the Dict .. not entirely sure why tbh
so I changed it to
line 58:    if (to.IsAssignableFrom(from)
line 144:  if (target.IsAssignableFrom(source)
@michaelstaib I don't think this causes a problem else where, do you?


grid list icons sizing

it's a bit on the biggish side, is it possible to configure icons size? ie. adding small/normal/big option, or better yet specifying size, ie: horizontal: 100% vertical: 50%, or 200px / 100px etc. should be simple for css. would be perfect if it was a configurable option via interface too

Sorry, but no - I like as is,


Adjust table test for longer architectures

Turns out that "aarch64" is one character longer than "x86_64".
In the future, we might want to have a special tablewriter mod.

Fixes tests breaking:
GOARCH=amd64 gotestsum ./...
DONE 77 tests, 4 skipped in 0.645s
GOARCH=arm64 gotestsum ./...
DONE 77 tests, 4 skipped, 2 failures in 1.233s
Might want to add a cross-platform test target, to catch these ?

It also failed for "riscv64", along with some other test (in a separate issue)
DONE 77 tests, 4 skipped, 3 failures in 1.443s
=== FAIL: pkg/limayaml TestFillDefault (0.07s)
Something about assuming that all non-amd64 architectures are arm64...

#1425


add rule (vue-strong): Base component names

https://vuejs.org/style-guide/rules-strongly-recommended.html#base-component-names

How can we detect if it is a base component?

How can we detect if it is a base component?

Have you achieved the answer to this question? 👀 @rrd108 (in my case I have no idea)


Lt Gt map for convert to label selector- Lt Gt is not a valid selector operator

What steps did you take and what happened:
Cluster Management allows me to map to specific nodes using the < > but when the cluster is deploying, this fails.
Lg and Gt map to Labels isn't working.
`

lastTransitionTime: "2023-01-24T01:08:40Z"
message: 'failed to convert label selector to map: "Lt" is not a valid selector
or...
lastTransitionTime: "2023-01-24T01:13:49Z"
message: 'failed to convert label selector to map: "Gt" is not a valid selector
operator'
reason: FailedToAdoptInventory
status: "False"
type: InfrastructureReady
`

What did you expect to happen:
Matching to agree with the cluster creation screen
Anything else you would like to add:
https://user-images.githubusercontent.com/5146963/214311266-07faa884-b4f3-4d8f-be1f-318f567ef8be.mov
Environment:

Elemental release version (use cat /etc/os-release): Staging/Staging - 1.0 Extension
Rancher version: 2.7.0
Kubernetes version (use kubectl version): 1.24.8
Cloud provider or hardware configuration: bare-metal

@kkaempf not sure what the spec is here... is it supposed to have "greater than" and "less than"? the component that we have that controls this part of the UI has a bit where the "greater than" and "less than" should not appear for "pod affinity".
Is this the same here?
https://github.com/rancher/dashboard/blob/master/shell/components/form/MatchExpressions.vue#L54-L68


Clean up Kotlin guidelines

merging this one. But I think we should change some stuff in here, like the things discussed in comments

Agreed. we already have https://github.com/hyperoslo/android-playbook/issues/24 addressing the lazy loading part.


React 18 support

Is there anything that stops from updating to the last version of react? Current one is 16 which is pretty old

Hi @caxapexac, we are working on it, we also want to update to latest, you can follow the progress here:  https://github.com/Mojang/ore-ui/pull/59


Inclusion in scikit-mine

Hi there, very nice and rich implementation of these 3 algorithms
The INRIA center at Rennes is creating a new python library, namely scikit-mine, to centralise pattern mining methods, and improve inter-operability and consistency with other fields, such as Machine Learning.
Your API already has similarities with what scikit-mine provides, being:

an implementation of LCM for closed frequent itemsets (equivalent to BIDE, but for regular itemsets)
custom callbacks for richer exploration

In the context of scikit-mine, only BIDE and FEAT would be nice to have, as PrefixSpan mines too many patterns, and we encourage concise representations.
I also plan to try FEAT as a candidate generator for SQS-candidates, an algorithm based on MDL.
To this purpose handling gaps would be required, as SQS natively accounts them when running its optimization process
Anyone to provide support for integration into scikit-mine ?

Hi, it is an interesting idea.
As the maintainer, I may provide some help but it requires some effort estimation. If there any planning or scope so far?

@chuanconggao thanks for responding,
I think we can start with something "simple"

integrating BIDE, w.r.t functional definition in skmine
unit tests for BIDE
adding relevant example / doc for it

Rough estimation for this would be 2 weeks (my side) with daily feedback from you
Once this is done, I would add another task

make sure the skmine.callback API is consistent with your callback API (we can treat similar use cases with both)

Sounds good.

The refactoring part is mostly docstring, typing, and bug fixes.


Need to log in after deleting 2 ships.

Log In
Select My Profile
Select a ship by clicking View
Click Edit Build Details
Click Delete
User is returned to main page, not My Profile <- Different issue
Click My Profile again to see my ships.
Click My Profile again to see my ships <- different bug
Select a ship with View
Click Edit Build Details
Click Delete
User is returned to main page, not My Profile <- Different issue
I am now logged out. "My Profile" is no longer there.
Click the Login Dude
I am automatically logged in again. Did not go through the login ID/PW exercise.
Also if I happen to tab between sites I can get logged out when tabbing back to Orbis.

I'm pretty sure this was an issue with the session store. Deploying a hopeful fix with a different store - 5749f8e69c3ecdee35932a1f939caa7a341fd4f3

Should be fixed. Feel free to ping if not.


Created edges with ReactFlowInstance.setEdges() do not connect with new node handlers.

Describe the Bug
I want to programmatically add Handles on a custom Node when a user drags an edge over that specific Node.
The way I see this is:

<ReactFlow
      ref={flowEditorRef}
      connectionMode={"loose" as ConnectionMode}
      nodes={nodes}
      edges={edges}
      onNodesChange={onNodesChange}
      onConnectEnd={(e) => {

        // this is how i send the position of the mouse to the card component
        mousePosition$.next(
          reactFlowInstance.project({
            x:
              e.clientX - flowEditorRef.current?.getBoundingClientRect().x || 0,
            y:
              e.clientY - flowEditorRef.current?.getBoundingClientRect().y || 0,
          })
        );
      }}
      onEdgesChange={onEdgesChange}
      fitView
      nodeTypes={nodeTypes}
      attributionPosition='top-right'>
      <Controls />
      <Background
        style={{
          backgroundColor: "#414565",
        }}
        color='white'
        gap={16}
      />
    </ReactFlow>

And in the custom Card Component, whenever the user "connects" two nodes :
        onConnect={({ source, sourceHandle, target, targetHandle }) => {

          // this is how I recieve the x and the y positions of the mouse
          mousePosition$.pipe(first()).subscribe(({ x, y }) => {
            const targetCard = reactFlowInstance.getNode(
              target!
            ) as Node<Data>;

            // the deltas are used to snap the Handle to one side
            const deltaX = x - destinationCard!.position!.x;
            const deltaY = y - destinationCard!.position!.y;

            let handlerX = 0;
            let handlerY = 0;
            if (deltaX < deltaY) {
              handlerX = x - deltaX;
              handlerY = y;
            } else {
              handlerY = y - deltaY;
              handlerX = x;
            }

            const rand = Math.random().toString(16).substr(8);

            const targetCardWithHandlers = {
              ...targetCard,
              data: {
                ...targetCard.data,
                handlers: [
                  ...targetCard!.data.handlers,
                  <Handle
                    type='target'
                    id={rand}
                    style={{
                      top: handlerY,
                      left: handlerX,
                    }}
                    key={`${source} ${sourceHandle} ${target} ${rand}`}
                  />,
                ],
              },
            };

            // We update the targeted node to recieve a new handle
            reactFlowInstance.setNodes((nodes) => {
              return [
                ...nodes.map((node) =>
                  node.id === targetCardWithHandlers.id ? targetCardWithHandlers : node
                ),
              ];
            });

           // we update the internals so the edges can pick up on the newly created Handle
            updateNodeInternals(targetCardWithHandlers.id);

           // updating the edge with the newly created note connection to the target card
            reactFlowInstance.setEdges((edges) => {
              return addEdge(
                { source, sourceHandle, target, targetHandle: rand },
                edges
              );
            });
          });
        }}

But the edge doesn't see the respective Handle.
Your Example Website or App
https://codesandbox.io/s/react-flow-demo-uijfdn
Showcase of what the current behavior looks like
When running the app, you will be presented with a screen like this

Click the

so you can start adding edges

By dragging edges from the HTML card to the Web Development card, you can see that the Handles get created, but the edges are not in place.
Expected behavior
After updating the nodes with ReactFlowInstance.setNodes(. . .) and refreshing the internal state with useUpdateNodeInternals();, I want to update the edges too with ReactFlowInstance.setEdges(. . .). I belive that all the handlers have been correctly set (when logging they appear on the node), but ReactFlowInstance.setEdges() fails to connect the new edge to the created handle. I believe that this is due to state management issues, but I am not certain on this one.
Platform

OS: [Windows]
Browser: [Edge]
Version: [10]

Additional context
I would like to understand what exactly fails, and if this can be fixed in a way that allows us to use the internal tools provided by this amazing library to manage dynamic creation of handlers better. I have a fix that involves Redux, although I am not sure why it works.

@ratasorin I am having a similar issue - did you end up finding a resolution?

A potential fix I have taught involves Redux.

import { useEffect, FC, useState, useRef } from "react";
import Box from "@mui/material/Box";
import Card from "@mui/material/Card";
import CardActions from "@mui/material/CardActions";
import CardContent from "@mui/material/CardContent";
import Button from "@mui/material/Button";
import Typography from "@mui/material/Typography";
import { CardTypeMap } from "@mui/material";
import {
  addEdge,
  Connection,
  Handle,
  Position,
  useReactFlow,
  useUpdateNodeInternals,
} from "react-flow-renderer";
import { insertEdges$ } from "../Toolbar/Buttons/Add-Edge/AddEdge";
import { Data } from "../Tree/data/tree";
import { first } from "rxjs";
import { useAppDispatch, useAppSelector } from "../../../redux-hooks";
import { addHandler } from "./card-slice";
import { mousePosition$ } from "../Tree/Tree";

const CustomCard: FC<{ data: Data; id: string }> = ({ data, id }) => {
  const ReactFlowInstance = useReactFlow();
  const [isEditing, setIsEditing] = useState(false);

  // we store the information necessary to build handlers inside Redux and this is how we retrieving them
  const handler = useAppSelector(({ handler }) => handler);

  const dispatch = useAppDispatch();

  // when entering `edge-editing` mode, we want to allow the user to drag edges from anywhere inside the node.
  // to achieve this, we have a big `source-handle` covering the whole node, that is visible when entering `edge-editing` and
  // invisible otherwise.
  useEffect(() => {
    insertEdges$.subscribe(setIsEditing);
  }, []);

  // to update the node's internal state when we create a new handler
  const updateNodeInternals = useUpdateNodeInternals();
  useEffect(() => {
    console.log(handler);
  }, [handler]);
  return (
    <Card
      sx={{ minWidth: 275 }}
      style={{
        maxWidth: "350px",
      }}
    >
      <Handle
        style={{
          position: "absolute",
          top: 0,
          visibility: isEditing ? "visible" : "hidden",
          width: "100%",
          height: "100%",
          borderRadius: "0",
          border: "none",
          background: "transparent",
          zIndex: "1",
        }}
        onConnect={({ source, sourceHandle, target, targetHandle }) => {
          mousePosition$.pipe(first()).subscribe(({ x, y }) => {
            const targetID = (Math.random() + 1).toString(36).substring(7);
            const targetCard = ReactFlowInstance.getNode(target!);

            // attempt to snap the handler into one of the card sides when a connection is established.
            const { x: mapX, y: mapY } = ReactFlowInstance.project({ x, y });
            const { x: cardX, y: cardY } = targetCard!.position;

            console.log(mapX, mapY);
            console.log(cardX, cardY);
            const deltaX = mapX - cardX;
            const deltaY = mapY - cardY;

            let handleX = 0;
            let handleY = 0;
            if (deltaX < deltaY) {
              handleX = cardX;
              handleY = mapY;
            } else {
              handleX = mapX;
              handleY = cardY;
            }

           // adding a new handler
            dispatch(
              addHandler({ id: targetCard!.id, handleX, handleY, targetID })
            );

           // updating the target's internals
            updateNodeInternals(target!);

           // creating the new edge
            ReactFlowInstance.setEdges((edges) => {
              return addEdge(
                { source, target, sourceHandle, targetHandle: targetID },
                edges
              );
            });
          });
        }}
        type="source"
      />

      {
        // retrieving the handlers for a node
         handler[id]?.length
        ? handler[id].map(({ handleX, handleY, targetID }, index) => (
            <Handle
              // style={{
              //   left: handleX,
              //   top: handleY,
              // }}

              position={!(index % 2) ? Position.Left : Position.Right}
              type="target"
              id={targetID}
              key={targetID}
            />
          ))
        : null}
      <CardContent>
        <Typography sx={{ fontSize: 14 }} color="text.secondary" gutterBottom>
          {data.level}
        </Typography>
        <Typography variant="h5" component="div">
          {data.id}
        </Typography>
        <Typography sx={{ mb: 1.5 }} color="text.secondary"></Typography>
        <Typography variant="body2">{data.description}</Typography>
      </CardContent>
      <CardActions>
        <Button size="small">
          <a href={data.resource}> Resource </a>
        </Button>
      </CardActions>
    </Card>
  );
};

export default CustomCard;

Create pull request to solve this issue, see #2042 for more details on how one can deal with this problem

Hey @ratasorin
the issue here is that you are calling updateNodeInternals before React Flow know about the new handle bounds. RF needs to render a node once to know the position of the handles. In your case you would need to wait until your new node has a width and height, then you can call  updateNodeInternals.

please re-open if the issue still persists.


YSort node invert function and customizeable axis

Hey, there. So, I think the YSort node could be reworked a bit.

Invert function. The ability to invert the effect (for placing objects further up on the Y axis on top of others) would be really useful for platforming views.

Customizeable variable. I think it might be nice to rework "Y-Sort" into just a "Sort" node, allowing you to sort the collection of children node based on whatever you need (for example, sorting by a custom variable, or even a custom function).

Ideally sort by projection onto an arbitrary axis.

That sounds like a nice idea...

Old issue, but what do you think of this proposal @reduz? If it has your blessing, we could mark it as pr welcome, otherwise better close it if not meant to happen for technical reasons.

This seems like would be fun. Could imagine playing with something like a circle sort, where nodes closer to center are on top of those further away.

This would be a nice feature.

Perhaps we can utilize similar logic to Array's sorting methods? sort_custom uses a custom method which is provided two elements for comparison. Users could define their own sorting method, or if none is present, it would default to the current behavior. This would be extremely flexible while not overcomplicating YSort (which could be renamed Sort if this change is added).

The problem with using a custom method (especially one which is not a native function) is that the sorting happens in the RenderingServer right before rendering. This is likely on a separate thread, and needs to be performant.

Maybe we should just implement an Invert property for now?

You could also make it so that there's a toggle that sorts depending on the distance to a custom Node2D. That way, the user could make the axis whatever they wanted it to be by simply moving the Node2D to the extent of whichever axis you want, if I am envisioning it correctly. For example, put the Node at Y=-1000000, and objects would be basically sorted by Y position. Put it at 100000, and objects would be effectively sorted inversely. Put it on a moving object, and everything sorts according to the distance to that object, which might be useful for certain perspectives. If one needs more control, you can just manually modify the z_index variable of Node2Ds.
If this won't work, then yes, an inversion toggle would be OK.

Never mind, that option wouldn't work because objects would sort differently because of the distance to the object on the perpendicular axis (i.e. if the node was at 0, 0, then objects would sort from right-to-left). An alternative would be to just have a Vector2 exposed by code and by the editor to sort by. Have it default to 0, -1, and that should be it.

Feature and improvement proposals for the Godot Engine are now being discussed and reviewed in a dedicated Godot Improvement Proposals (GIP) (godotengine/godot-proposals) issue tracker. The GIP tracker has a detailed issue template designed so that proposals include all the relevant information to start a productive discussion and help the community assess the validity of the proposal for the engine.
The main (godotengine/godot) tracker is now solely dedicated to bug reports and Pull Requests, enabling contributors to have a better focus on bug fixing work. Therefore, we are now closing all older feature proposals on the main issue tracker.
If you are interested in this feature proposal, please open a new proposal on the GIP tracker following the given issue template (after checking that it doesn't exist already). Be sure to reference this closed issue if it includes any relevant discussion (which you are also encouraged to summarize in the new proposal). Thanks in advance!


challenge 06: Added new markdown file which consists the link of 2 gists and pull request for newly created branch

pull requesting the the new branch with the newly creating mark down file with the link of 2 gists

Create a pull request with all the challenges together , this is causing merge conflicts


Verthash Problem

I downloaded Vertcoin one click miner yesterday and also created a password. Since yesterday I have been getting the message: "Could not find comptible of my binaries".
I have now looked at google and youtube or questioned but got no results.
Please Help

Assuming your GPU is compatible you may need to exclude the miner, which is located in %appdata%\verthash-ocm . If the miner is being blocked by your antivirus from detecting your GPU, it will not be able to figure out which start commands are to be used.


Client crash

every time i don't start a war the game crashes for all sorts of reasons.
-At least the game modes are decent.
I guess this is not Arxan frida protection.
I manipulate the client without frida but it still crashes.
I think there is an error in the packages. sourced from accessories and star powers.
What do you think is the root cause of this problem?

yeah i saw some crashes happening in menu when clicking some buttons randomly but honestly i have no idea where it come from i should do further inspection to find the problem

дебил потому что


Better handle schema qualifications in current word

short version: fixes a bug where DROP TABLE schema_name.<TAB> and DROP FUNCTION schema_name.<TAB> would both suggest both tables and functions from schema_name.
Previously, if the current word contained a period, suggest_type would parse text to the right of the period as word_before_cursor, so that characters to the left of the period were parsed as the final token. Then suggest_based_on_last_token would generate suggestions under the generic catch-all elif token_v.endswith('.'). This means that, for example, DROP TABLE schema_name.<TAB> and DROP FUNCTION schema_name.<TAB> would each suggest both tables and functions from schema_name.
This commit PR changes this behavior to include schema qualifications as part of word_before_cursor, so that suggest_based_on_last_token operates on the actual preceding token, not just the schema name. The schema name itself is parsed as an sqlparse Identifier, and passed as an extra argument to suggest_based_on_last_token. This allows each token value to handle dot-qualifications differently, and may eventually support things like function output arguments func().fieldname or custom types with arbitrarily.deep.nested.child.fields

Haven't done a thorough reading of the changes yet. Cursory look seems good. I'll give it a good read tonight and provide feedback (or merge it in).

Works beautifully. :)
I was a little embarrassed when I first added the var most_punctuations, since that is a terrible name for a variable. Now I see you've added many_punctuations which either adds to the injury or gives me comfort in the fact that I'm not alone in my inability to come up with a more descriptive variable name.
:boat:

lol. I figure it's fine until someone wants mostest_punctuation


fix a typo in InternalsHiderTransform

world's most nitpicky quilter forks loader just to fix one typo

Thanks!


Removing no_rocm tag from tests that pass, and other updates.

see individual commit messages for details.

@deven-amd I merged another PR from you and now there's a conflict here. could you help resolve it?
also please take a look at : //tensorflow/tools/api/tests:deprecation_test

was expecting the merge conflict, will fix the merge conflict and push out another commit.
I had only tested //tensorflow/tools/api/tests:deprecation_test in "v1" and removed the no_rocm tag from it. will put a no_rocm_v2 tag on it now, since it is only failing in "v2" now.


Tuning

Pull Request
Add tuning functionality to web ui (Streamlit)
Description
You can  input config modifications to run tuning

Type of Change

✨ New feature

Testing

Run

streamlit run examples/streamlit/web_demo.py

Check you UI with localhost
Run tuning

Additional Notes (optional)
There is a bug https://github.com/microsoft/vasim/issues/119
The issues is that when you run tuning there is a result table, where it should be config params and metrics. However now there are no configs, just metrics, which is not expected behavior.

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

Project coverage is 77.65%. Comparing base (53e4461) to head (3d080b0).

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #120   +/-   ##
=======================================
  Coverage   77.65%   77.65%
=======================================
  Files          24       24
  Lines        1083     1083
  Branches      137      137
=======================================
  Hits          841      841
  Misses        190      190
  Partials       52       52

Flag
Coverage Δ

unittests
77.65% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

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

Another reason to add type hints and mypy checking.


Yichun/test engine integration

Add modification for test engine

I will close this pull request since I have merged it to the macro branch.


Started not Completed

Describe the bug
Most time I didn't get a Completed
To Reproduce
Results show Started but nearly no Completed
Expected behavior
the other speedtracker works, so it shouldn't my enviroment
Environment (please complete the following information):
Debain 12
Screenshots
I cloud provide one, but there is simply no Completed
Logs
If you tell me where I could find them, maybe I could figure out what's happend
Thanks!

Hi @mcdoubleyou ,
I assume that you see the "Started" in the results table right?
Can you share your docker compose file, might help us why this is happening

Hey @svenvg93,
yes, thats right.
Here is my compose file - thx for helping!
AppKey censored, not sure if it is unique.
services:   speedtest-tracker:     image: lscr.io/linuxserver/speedtest-tracker:latest     container_name: speedtest-tracker     hostname: speedtest-tracker     domainname: xins.eu     #    ports:     #      - 7080:80     networks:       - proxy     environment:       - PUID=1000       - PGID=1000       - TZ=Europe/Vienna       - DB_CONNECTION=sqlite       - APP_KEY=base64:XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX       - SPEEDTEST_SERVERS=515,8314       - SPEEDTEST_SCHEDULE=0 * * * *     volumes:       - speedtest-tracker_data:/config     restart: unless-stopped volumes:   speedtest-tracker_data:     external: true networks:   proxy:     external: true

The problem is that both server set, don't exist anymore. For now the error that is giving by the Speedtest CLI is not handled nicely, hence why the test keeps stuck at Started. If you pick other server im sure it will work as expected :)

I'll look into why this isn't being handled correctly when a server is no longer available. It should correctly fail the test if the CLI fails.

I get the same. If you need a tester...

I deleted the servers but is still fails, then I see there was an update.
looks like it is working after the newst update - I will update after some scheduled tests
thx
my actual yaml
services:
  speedtest-tracker:
    image: lscr.io/linuxserver/speedtest-tracker:latest
    container_name: speedtest-tracker
    hostname: speedtest-tracker
    #    ports:
    #      - 7080:80
    networks:
      - proxy
    environment:
      - PUID=1000
      - PGID=1000
      - APP_TIMEZONE=Europe/Vienna
      - DISPLAY_TIMEZONE=Europe/Vienna
      - DB_CONNECTION=sqlite
      - APP_KEY=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
      - SPEEDTEST_SERVERS=
      - SPEEDTEST_SCHEDULE=0 * * * *
    volumes:
      - speedtest-tracker_data:/config
    restart: unless-stopped
volumes:
  speedtest-tracker_data:
    external: true
networks:
  proxy:
    external: true

Is it possible to have it iterate through the list (if multiple servers are defined) and only fail if none of the user-defined servers exist?

still works, if it keeps running I could delete the other speed tracker in a few days - nice!
thx!

It seems it  fails when server list is configured even with the server that is  automatically selected without the selection list
The schedule fails inter, intermittently.
`version: '3.3'
services:
speedtest-tracker:
container_name: speedtest-tracker
ports:
- 8080:80
- 8443:443
environment:
- PUID=1000
- PGID=1000
        - DB_CONNECTION=sqlite
        - SPEEDTEST_SCHEDULE='*/15 * * * *'
        - CHART_DATETIME_FORMAT= 'Y-m-d H:i'
        - DATETIME_FORMAT='Y-m-d H:i'
        - APP_TIMEZONE='Asia/Kolkata'
        - DISPLAY_TIMEZONE='Asia/Kolkata'
        - SPEEDTEST_SERVERS=14922,10969,62235,29372
    volumes:
        - ./:/config
       # - /path/to-custom-ssl-keys:/config/keys
    image: lscr.io/linuxserver/speedtest-tracker:0.20.6  #0.20.6 #latest
    restart: unless-stopped

It seems it fails when server list is configured even with the server that is automatically selected without the selection list
The schedule fails inter, intermittently.
`version: '3.3' services: speedtest-tracker: container_name: speedtest-tracker ports: - 8080:80 - 8443:443 environment: - PUID=1000 - PGID=1000
        - DB_CONNECTION=sqlite
        - SPEEDTEST_SCHEDULE='*/15 * * * *'
        - CHART_DATETIME_FORMAT= 'Y-m-d H:i'
        - DATETIME_FORMAT='Y-m-d H:i'
        - APP_TIMEZONE='Asia/Kolkata'
        - DISPLAY_TIMEZONE='Asia/Kolkata'
        - SPEEDTEST_SERVERS=14922,10969,62235,29372
    volumes:
        - ./:/config
       # - /path/to-custom-ssl-keys:/config/keys
    image: lscr.io/linuxserver/speedtest-tracker:0.20.6  #0.20.6 #latest
    restart: unless-stopped

Check your logs. The server that it attempted to use likely isn't available anymore, which results in a test failing (the test being listed in the results table as "Started"). The reason it is intermittent: successful results happen when a server (from your defined list of servers) that exists is used.
For example:
Let's say I have defined speedtest servers #1, #2, #3, and #4.
Let's also say that servers #3 and #4 existed when I made the configuration, but they no longer exist now.
During my first test, server #1 is used and I see a successful result. However, during the next speedtest server #3 is used and it fails (since the server isn't recognized as an available server anymore by Ookla). During the 3rd test, speedtest-tracker then uses server #2. Once again, I see a successful test result.
A scenario such as this will make it appear as an intermittent issue - it all depends on what server was used, from your defined list of servers, and if the server used exists anymore.

Too add to @RobertD502 explanation, in the case of @bibinvargheset is the second server id that does not exist anymore
speedtest -s 10969
[error] Configuration - No servers defined (NoServersException)

Same here, following config doesn't get any further than 'Started'
---
# https://github.com/docker/roadmap/issues/658
version: '3.4'
services:
  speedtest-tracker:
    container_name: speedtest
    # ports:
    #  - <IP_ADDRESS>:8081:80
    environment:
      - PORT=80
      - PUID=1000
      - PGID=1000
      - DB_CONNECTION=sqlite
      - APP_TIMEZONE=Europe/Berlin
      - DISPLAY_TIMEZONE=Europe/Berlin
      - APP_KEY=base64:SE9KCcRGkNhWov99uLXW91UZRdNP7D4Bm968GQB8BPI=
      - SPEEDTEST_SCHEDULE='*/15 0-23 * * *'
      - SPEEDTEST_SERVERS=52770,44081
      - PRUNE_RESULTS_OLDER_THAN=95
    volumes:
      - /srv/docker/speedtest-techni/config:/config
      # - /path/to-custom-ssl-keys:/config/keys
    image: lscr.io/linuxserver/speedtest-tracker:latest
    platform: "linux/arm64"
    restart: unless-stopped
    networks:
      eth0:
        ipv4_address: 10.10.xxx.91

networks:
  eth0:
    external: true
    name: XXX-BH_SRV_eth0

@mircsicz That is because neither of those 2 servers you defined exist.
Output from a manual test using speedtest cli:
ERROR: No matched servers: 52770

ERROR: No matched servers: 44081

But both of them were listed using the defined docker cmd...
Which would also describe why even without parameters in the list it doesn't get beyond 'Started'... As the search returns inactive / unavailable servers!

But both of them were listed using the defined docker cmd...
Which would also describe why even without parameters in the list it doesn't get beyond 'Started'... As the search returns inactive / unavailable servers!

Without parameters it'll never work since the requirement of defining servers was introduced a few releases ago.
Does the docker command still list those two servers as of today? I've found that some servers may be listed one day and then are unavailable for a while until they return (I've mainly seen this with Spectrum servers). The solution, in the meantime, is to look for and use servers that you find are always available.

I ran the 'docker exec' line like an hour before I posted to this issue 😉

I ran the 'docker exec' line like an hour before I posted to this issue 😉

Doesn't seem that command is listed in the documentation anymore (perhaps it returned inaccurate results?). Doc now tell you to navigate to https://c.speedtest.net/speedtest-servers-static.php to view a list of best servers near you. Regardless of all of that, the reason your speedtests aren't working with your current config is because they are no longer valid servers, as determined by Ookla. Use the link provided to get some server ids to edit your config with.

@alexjustesen I was referring to your own documentation - If I recall correctly, it had previously mentioned a command to execute within the container which showed nearby servers, but now it shows:

My bad, I thought you had found a reference somewhere else.

I ran the 'docker exec' line like an hour before I posted to this issue 😉

Doesn't seem that command is listed in the documentation anymore (perhaps it returned inaccurate results?). Docs now tell you to navigate to https://c.speedtest.net/speedtest-servers-static.php to view a list of best servers near you. Regardless of all of that, the reason your speedtests aren't working with your current config is because they are no longer valid servers, as determined by Ookla. Use the link provided to get some server ids to edit your config with.

Thanks for the hints, with that it now works as expected...

Seems like OP is all set as some PRs were merged to address the original issue. Any further issues let's open a new one.


Form error when enter wrong email format

Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:

Go to the Donate screen & enter all other required details
Now enter the email as 'test@test' do not add the '.com'
Click the donate button
See error

Expected behavior
An Error will be there for the form validation I have added the screenshot for that below.

After that when we try to go to that screen again then all the entered values in the form are cleared and we have to enter the values again

Screenshots

Desktop (please complete the following information):

OS: Windows
Browser: Chrome

Additional context
Please assign this issue to me and add the hacktoberfest tag to this.

its already present in forms


refactor: Azure AD SAML Group Script & Documentation

Purpose
Add clarity to the Azure AD SAML group documentation and logging to reduce troubleshooting time for initial configuration issues.
Script Adds/Changes

Added JSDoc comments to reduce familiarization time
Improved logging around invalid configuration options to show which option(s) is(are) invalid.

Documentation Adds/Changes

Added navigation links
Added variables/line numbers for script configuration
Clarified that the UserId can be the user's object ID or user principal name
Added callout for casing on mapping names
Modified formatting for clarity

 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.You have signed the CLA already but the status is still pending? Let us recheck it.


dimensions hook

Would it be possible to make a hook for case 64 so I could get a callback that would be called every time opcode 64 gets sent.

same, tried adding a hook, and never got the callback after pressing play.

Sure, window.agar.hooks.dimensionsUpdated(minX, minY, maxX, maxY) added.

Thanks, you made my day :)

:D


Improve Authentication page

Change the title level, so we get a usuable right column (today it's pointless)
Move ServicePrincipalCredentials up to recommended and not deprecated (after discussion)
Add get_client_from_auth_file

This integrates update in https://github.com/MicrosoftDocs/azure-docs-sdk-python/pull/74, to avoid too many unecessary conflict in the future.

@lmazuel,
Thanks for your contribution as a Microsoft full-time employee or intern. You do not need to sign a CLA.
Thanks,
Microsoft Pull Request Bot

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs-ref-conceptual/python-sdk-azure-authenticate.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs-ref-conceptual/python-sdk-azure-authenticate.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


Error when opening a new prompt on top of exising prompt

Currently, impormptu does not support opening new prompt on top of another prompt.
See: http://jsfiddle.net/kj66j6wa/1/
Note the code works fine in impromptu 3.1: http://jsfiddle.net/kj66j6wa/2/

@tahajahangir @Zalmoxisus These changes are now in the master branch as version 6.0.0.  I'm going to close this issue, but please re-open or create a new issue if you have problems.


Added event for default stable rule "Remove Bulk Data from Disk"

What type of PR is this?

Uncomment one (or more) /kind <> lines:

/kind bug

/kind cleanup

/kind documentation

/kind tests

/kind feature

Any specific area of the project related to this PR?

Uncomment one (or more) /area <> lines:

/area commands

/area pkg

/area events

What this PR does / why we need it:
Added an event for the default stable rule "Remove Bulk Data from Disk"  which is very important to test because sometimes bulk data removal can be done with the intention to destroy data, possibly interrupting availability to systems.
Which issue(s) this PR fixes:

Fixes #
Special notes for your reviewer:

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by: GLVSKiriti
Once this PR has been reviewed and has the lgtm label, please assign leogr for approval. For more information see the Kubernetes Code Review Process.
The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

Kindly tell me if any changes required!!

This is also working fine i.e, it produces warning message on left terminal

@leogr This is also working fine i.e, it produces warning message on left terminal

Just updated and test is also successful now!!
Question: whether to skip action if shred utility not exists?
IMO Instead of directly skipping action can we just run the command so that rule triggers? and if shred not exists clean up happens and remove the file  by
    defer os.Remove(filename)

Question: whether to skip action if shred utility not exists?

My original idea was that we should skip the action whenever the preconditions are not met. Here's a clear example of a skipped action due to a missing utility:
https://github.com/falcosecurity/event-generator/blob/ddf4731586ea982b98c444ed4331725a715ae29d/events/syscall/schedule_cron_jobs.go#L35-L41
That being said, if just trying to execute the shred command, the rule will be triggered (even when the utility is missing), then I am ok with your proposal :point_down:

IMO Instead of directly skipping action can we just run the command so that rule triggers?

In such a case, please just leave a code comment to explain why what we are doing.
Thanks

IMO Instead of directly skipping action can we just run the command so that rule triggers?

In such a case, please just leave a code comment to explain why what we are doing.

Just added the comments!

LGTM label has been added.  Git tree hash: b66fe657a922e9ba9a76595b8ff7b093333a0c53

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: GLVSKiriti, leogr
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS [leogr]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment


Testing lib submodule (DO NOT MERGE)

Running PR tests to see if module works.

Merging to create a branch because forks do not have access to secrets.


Consider making a variant with built-in error correction

While the pronunciation guide can easily be made clear and unambiguous, that still leaves two problems:

Not all sounds exist/are distinguished in all languages. Even with a guide, some people will simply be incapable of correctly pronouncing and distinguishing certain sounds.

Ordinary users will certainly not be willing to study a pronunciation guide, even if they have the right linguistic background.

There is no way of completely solving either of these issues, but a variant of Bitspeak could be developed that is usable for a far wider audience through the use of an error correcting code. The mapping of bit patterns to sounds, and the error correcting code itself, should be designed to minimize the impact of common errors in pronunciation and listening comprehension in the target language group(s).
(Unlike my other two suggestions, this would take a significant effort to get right, and complicate the technical design. So, feel free to just close this as out of project scope.)

I'm not a fan of error correction for the same reason I'm not a fan of JavaScript implicit casts. I'd rather just have the parser throw a good error message when it sees something like c than to make an attempt of fixing an incorrect input.

OK. I'll close this one then.


Link CPU turbo boost setting with the profile

Is your feature request related to a problem? Please describe.
Currently, the CPU turbo boost setting works independently from the profile setting. Which I think is counterproductive for some use cases, for example:
I can link applications to a specific profile, which means for GPU-demanding applications it would be best to have G-Mode on, for max fan speed and 15w more for the GPU, and the CPU turbo boosts off to keep temps down as my laptop has the CPU and the GPU dye sharing the same heat pipes. After that application is finished execution it would be best to have the laptop back in its normal state with the default profile.
Describe alternatives you've considered
Have the profile save the CPU mode on AC and on Battery settings and apply them when the profile changes.
System (please complete the following information):

Model: Dell G15 5515
Model details: [e.g. per-key rgb keyboard]
OS: Windows 11

Yes, it is.
Because it's Windows Power plan-related, so in case you change plan it will change too!
So the reason i don't want to mess with power plan monitoring and serious modification (it's dangerous), but you always can have any settings in action just switching Power Plan.

Currently we have the "CPU mode AC" and the "Battery" settings

My suggestion is to save and apply those when you change the "Active Profile"

Is there any dangerous behaviour that could happen with this change?


Redundent Output

On Windows, for a simple d:\temp\test.rs Rust file:
fn main() {
    println!("Hello World\n");
}

Run the rustfmt command on that file and capturing the output:
D:\Temp>rustfmt.exe --write-mode overwrite test.rs > output.txt

That command produces output:
D:\Temp>dir output.txt
 Volume in drive D is DATA
 Volume Serial Number is 06EC-1105

 Directory of D:\Temp

19/11/2015  12:15 AM                 1 output.txt
               1 File(s)              1 bytes

But the output.txt contains nothing but a single line feed character:
==========================================================================
      xDump Version 1.05 - Hex Dump Utility
      Copyright (c) Xidicone Pty Ltd 2014  -  All rights reserved.
==========================================================================
0000: 0A

I am curious why this is so?

This is because you're using the overwrite mode, which simply writes the output over the input file. To redirect the output to stdout, use the display mode. Please note that this will won't work well when multiple files are being reformatted!

My question was why does anything at all get written to stdout or stderr (which then ends up in output.txt) in this case?
I could understand this if something went wrong, but nothing went wrong and all that got captured was the \n character.
To add context, I was looking to add a macro to an editor that automatically does a reformat on the save event, hence the use of the overwrite mode.
To handle formatting errors the macro captures the stderr and stdout and if there are any they get displayed to the users.
So in this case, the user is always shown an error screen because there is always a \n character written to the output by rustfmt.
Now the macro could be changed to accommodate that, but an almost identical macro works perfectly for gofmt.
So as I asked before, what is rustfmt trying to communicate by outputting that one character?


Bump Win64 OpenSSL version from 1.1.1g to 1.1.1k

Previous version is gone. Update default installation path too.

Probably should do this for Foxy too.

Probably should do this for Foxy too.

Yeah, I'll backport this one.

@Mergifyio backport foxy


Tween returns null for arbitrary properties

Godot version: 3.1.1
OS/device including version: Manjaro (Linux 64b)
Issue description:
Tween node returns null for all non-existing properties/fields. Same issue is with in operator (got bitten by this just an hour ago). I don't see this behaviour mentioned in docs.
Steps to reproduce:
	print("alshdlckvjhxlkdjsfg" in $Tween) # True
	print($Tween.alshdlckvjhxlkdjsfg) # Null

	print("alshdlckvjhxlkdjsfg" in $Sprite) # False
	print($Sprite.alshdlckvjhxlkdjsfg) # crashes with "Invalid get index"

Minimal reproduction project:
Add a tween and a sprite to a new project and code above to _ready.

The issue seems to lie in those lines (in Tween::_set and Tween::_get):
https://github.com/godotengine/godot/blob/1c23a0cc7f879774f56404378db1bf86979e42d1/scene/animation/tween.cpp#L136
https://github.com/godotengine/godot/blob/1c23a0cc7f879774f56404378db1bf86979e42d1/scene/animation/tween.cpp#L152
There should either be an else { return false; } clause added, or the return true;-s should be moved within the if/else if-s above.


Update disqus.py

Sphinx 1.6+ keeps errors in a separate module - https://github.com/sphinx-doc/sphinx/blob/master/sphinx/errors.py

Is this issue resolved?  I see the same error when I tried to use sphinxcontrib.disqus today.

No, I need this fixed as well how do we get it done ?
Thanks
Mark
On Fri, Feb 16, 2018 at 1:02 AM, Shaloo Shalini<EMAIL_ADDRESS>wrote:

Is this issue resolved? I see the same error when I tried to use
sphinxcontrib.disqus today.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/Robpol86/sphinxcontrib-disqus/pull/7#issuecomment-366151762,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABLihjt8v7rg6R6LXxwdtykQWDtxmLXwks5tVRoQgaJpZM4P375d
.

Good that fork is helpful :) Still dreaming when this PR gets merged 👍

@rmk135 or  @shaloo  sorry but .. i wonder if one of you could give me a hand as a newbie here... i have downloaded @rmk135 fork for this but.. i am trying to build on my local laptop first then eventually i need to build on ReadTheDocs.  how/where do i install this new version of sphinx-contrib.disqus on my laptop [tried a few places without luck] - thanks much!

Thanks for the fork.

@brucedockeray-projects , u're welcome :)
@mennamorato , I have just realized that your question from Feb 17th wasn't answered. Frankly speaking, I'm not 100% sure about what problem you were facing, but I will try to give you a headsup about how it works for me. So, that's what I did for my Dependency Injector...
I have created specific requirements file requirements-doc.txt for being used both locally and by RTD. It holds required packages for building Dependency Injector documentation and also points pip to install sphinxcontrib-disqus from my fork on GitHub:
sphinx
sphinx_rtd_theme>=0.2.5b2
-e git://github.com/rmk135/sphinxcontrib-disqus.git#egg=sphinxcontrib-disqus

Then I went to RTD settings (Admin -> Advanced Settings) and:

Enabled checkbox for "Install your project inside a virtualenv using setup.py install".
Written down requirements-doc.txt to "Requirements file" field.

So now RTD install packages from requirements-doc.txt into the build environment for my project (see output of 3rd instruction here https://readthedocs.org/projects/python-dependency-injector/builds/6786616/):
python /home/docs/checkouts/readthedocs.org/user_builds/python-dependency-injector/envs/stable/bin/pip install --exists-action=w --cache-dir /home/docs/checkouts/readthedocs.org/user_builds/python-dependency-injector/.cache/pip -rrequirements-doc.txt

For local development, I have virtualenv per each project, so I just execute next under virtualenv for Dependency Injector:
(venv) $ pip install -r requirements-doc.txt

Hope it helps, guys!
-Roman

Oh thanks perfect!
On Mon, Mar 19, 2018, 6:52 AM Roman Mogylatov<EMAIL_ADDRESS>wrote:

@brucedockeray-projects https://github.com/brucedockeray-projects ,
u're welcome :)
@mennamorato https://github.com/mennamorato , I have just realized that
your question from Feb 17th wasn't answered. Frankly speaking, I'm not 100%
sure about what problem you were facing, but I will try to give you a
headsup about how it works for me. So, that's what I did for my Dependency
Injector https://github.com/ets-labs/python-dependency-injector...
I have created specific requirements file requirements-doc.txt
https://github.com/ets-labs/python-dependency-injector/blob/master/requirements-doc.txt
for being used both locally and by RTD. It holds required packages for
building Dependency Injector documentation and also points pip to install
sphinxcontrib-disqus from my fork on GitHub:
sphinx
sphinx_rtd_theme>=0.2.5b2
-e git://github.com/rmk135/sphinxcontrib-disqus.git#egg=sphinxcontrib-disqus
Then I went to RTD settings (Admin -> Advanced Settings) and:

Enabled checkbox for "Install your project inside a virtualenv
using setup.py install".
Written down requirements-doc.txt to "Requirements file" field.

So now RTD install packages from requirements-doc.txt into the build
environment for my project (see output of 3rd instruction here
https://readthedocs.org/projects/python-dependency-injector/builds/6786616/
):
python /home/docs/checkouts/readthedocs.org/user_builds/python-dependency-injector/envs/stable/bin/pip install --exists-action=w --cache-dir /home/docs/checkouts/readthedocs.org/user_builds/python-dependency-injector/.cache/pip -rrequirements-doc.txt
For local development, I have virtualenv per each project, so I just
execute next under virtualenv for Dependency Injector:
(venv) $ pip install -r requirements-doc.txt
Hope it helps, guys!
-Roman
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/Robpol86/sphinxcontrib-disqus/pull/7#issuecomment-374172414,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABLihhesjtZF3SS9MTsxKJkETbcelC49ks5tf43ugaJpZM4P375d
.

-e git://github.com/rmk135/sphinxcontrib-disqus.git#egg=sphinxcontrib-disqus

Hi, is this still working? I'm trying to use it on my Netlify build. I get:

9:32:49 AM:   Running setup.py develop for sphinxcontrib-disqus
9:32:50 AM:     ERROR: Complete output from command /opt/buildhome/python3.7/bin/python3.7 -c 'import setuptools, tokenize;file='"'"'/opt/buildhome/python3.7/src/sphinxcontrib-disqus/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' develop --no-deps:
9:32:50 AM:     ERROR: /opt/buildhome/python3.7/lib/python3.7/site-packages/setuptools/version.py:1: UserWarning: Module sphinxcontrib was already imported from None, but /opt/buildhome/python3.7/src/sphinxcontrib-disqus is being added to sys.path

Sorry for the silence for all these years. My last job didn't let me write OSS so I stopped development of all my projects. I'll be updating this one soon. Thanks for maintaining a fork during this time.

Hey @Robpol86 , glad you're back to OSS :) 👍


Cancelling transfer tx keeps loading state

Summary

Steps to reproduce

Go to '...'
Click on '....'
Scroll down to '....'
See error

What is the current bug behavior?
What is the expected correct behavior?
Relevant logs and/or screenshots
Environment

Device/OS: [e.g. iOS]
Browser: [e.g. chrome, safari]
Hardware wallet: [e.g. Ledger w/ Metamask]

I'm pretty sure I know what's up with this.  I can grab.

Legend @benschac 🙏


Implement fixed and dynamic Placement Constraints

New concepts:

PlacementRule: A static rule which accepts/declines Offers for the
purpose of launching a single task.
PlacementRuleGenerator: A dynamic rule generator which creates a
PlacementRule for the next task to be launched, based on current
task deployment.

Note that PlacementRules may internally be composites of other PlacementRules, via AndRule/OrRule/NotRule (which contrary to their names are actually performing set logic on returned Offer Resources).
The provided PlacementRuleGenerator implementations support things like 'avoid (or colocate with) any tasks with this type', and 'don't launch more than N tasks of this type on agents with this attribute'.
Summary of changes to existing dcos-commons:

Store a string representation of the offer attributes, if any, as
a label in the TaskInfo. The string representation matches the spec
provided by Mesos for attribute strings.
Replace existing avoidAgents/colocateAgents logic with a rules-based
implementation.
Replace "taskType + '-' + index" in DefaultTaskSpecification with a
a new 'toTaskName()' utility function in TaskUtils.

@nickbp is there a way to break this into smaller logical chunks, with the latter chunks being dependent on the earlier ones? I worry that trying to swallow this all at once might lead to us missing things we might want to change but that we'll be committed to down the line.

Sure, the bulk of the change is the example implementations, I could rip out the extra ones, leaving only what's needed to replace the previous hand-coded avoidAgent/colocateAgent. Other fixes like logging improvements could also be broken out. That should bring it down quite a bit.

I would appreciate that mightily, thank you!

Supplanted by https://github.com/mesosphere/dcos-commons/pull/186

Keeping this around for reference for a bit, will close it once the feature is merged via other PRs.


Fixes Issue1516: Simplify preimage cache

PreimageCycle had a populate function that was only being used in
test code. This has been removed to simplify the code and testing of the
preimage cache code. Test code is added to check that the seeds and
preimages are correctly populated when the PreimageCycle is accessed
via the opIndex which takes a Height parameter. It also checks that
the nonce is correctly used beyond the first batch of preimages.

Rebased

Rebased again on latest upstream


FB login not working

Hi, I'm using version 2.0.0 of your library on codeigniter 3, it worked great until a couple of days ago, when it suddenly broke. Clicking on the FB login button now returns an empty page.
I made some debugging and I found that in FacebookRedirectLoginHelper.php, the function "isValidRedirect" returns false, even if both GET variables are set in url and present in CI benchmark.
if (!$this->getCode() || !isset($_GET['state'])) {
log_message (LOG,'FB login problem getCode: "'.$this->getCode().'" (login/fblogin)',LOGPREFIX);
return false;
}
log entry for this --> DEBUG - 2015-12-11 11:31:20 -->FB login problem getCode: "" (login/fblogin)
getCode() returns null

@cutugno I have to inform you that I have decided to drop support for v2.0.0 of my library as it is using an outdated version of the Facebook PHP SDK.
I highly recommend that you update to the new v3.0.0 and Facebook PHP SDK v5


Adding Facebook ID

This pull requests ensures Blink ingests the Facebook ID from the user profile and sends it off to Customer IO

Looks like chance.fbid() returns a number, but documentation suggests it should return a string. Reported to https://github.com/chancejs/chancejs/issues/328


RuntimeError: Numpy is not available - module compiled against API version 0x10 but version of numpy is 0xf

Trying to use inference.py, 4 months ago it worked, nut now it does'nt :|
Got this Error:
"loading model... c:\Users....\inference.py:131: UserWarning: Failed to initialize NumPy: module compiled against API version 0x10 but this version of numpy is 0xf (Triggered internally at  ..\torch\csrc\utils\tensor_numpy.cpp:68.)
device = torch.device('cpu')
done
loading wave source... done
stft of wave source... done
0%|
Traceback (most recent call last):
File "c:\Users....some_file.py", line 407, in
main(base_song_path,vocal_song_path)
y_spec, v_spec = sp.separate(X_spec)
File "c:\Users...\inference.py", line 73, in separate
mask = self._separate(X_mag_pad, roi_size)
File "c:\Users...\inference.py", line 38, in _separate
X_batch = torch.from_numpy(X_batch).to(self.device)
RuntimeError: Numpy is not available

I found the problem!
The dependencies for vocal-remover are:
numpy>=1.21,<1.22 (because of numba 0.55.2 that requires it to be <1.22)
python>3.9, <3.10