[TEST] Try Rancher Prime on rancher-vcluster

What's the test to develop? Please describe

Create 3 node Harvester v1.2.1
Create vcluster with Rancher TARGET_VERSION
Create RKE2 guest cluster (1.27.16+rke2r2)
Create vol001 and use it on nginx-01 pod
Patch harvester-csi-driver with patch command

Notice that this command should execute on the guest cluster node (VM). The patch target harvester-csi-driver is running on the guest cluster

Ensure the harvester-csi-driver image is the same as above (rancher/harvester-csi-driver:v0.2.2)
Recheck the above nginx-01 pod can still work as usual
Create vol002 and use it on the nginx-02 pod
Delete the nginx-01/nginx-02 pod and the vol001/vol002

Target Rancher version:

v1.27.14
v1.27.15
v1.27.16

Test <PASS_FAIL>, .
版本/程式碼: harvester-v1.2.0, 'foo()'
宣告的物件: mgmt-vlan1, ubuntu.img
"強調": "Important statement"
UI固定文字: Import Existing
Environment

harvester-v1.2.1

Profile: 3 node AMD64 QEMU/KVM
ui-source: Auto

Prerequisites

Provision a 3 nodes harvester-v1.2.1
Create VM network mgmt-vlan1
Create VM image ubuntu-22.04-server-cloudimg-amd64.img_

Scenarios
Refer https://docs.harvesterhci.io/v1.2/advanced/addons/rancher-vcluster to deploy rancher-vcluster.
rancher-vcluster using rancher-v1.27.14

 :white_circle: STEP

 :white_circle: STEP

 :white_circle: STEP

 :white_circle: STEP

 :white_circle: STEP

 :white_circle: STEP

 :white_circle: STEP

 :white_circle: STEP

Create vcluster with Rancher TARGET_VERSION

Create RKE2 guest cluster (1.27.16+rke2r2)

Create vol001 and use it on nginx-01 pod

Patch harvester-csi-driver with patch command

Notice that this command should execute on the guest cluster node (VM). The patch target harvester-csi-driver is running on the guest cluster

Ensure the harvester-csi-driver image is the same as above (rancher/harvester-csi-driver:v0.2.2)

Recheck the above nginx-01 pod can still work as usual

Create vol002 and use it on the nginx-02 pod

Delete the nginx-01/nginx-02 pod and the vol001/vol002

Logs

Support bundle:
RKE rancher2_logs: curl -Ls rnch.io/rancher2_logs | sudo bash | grep -Eo '/.*gz' | xargs -i scp {} albin@<IP_ADDRESS>:~/Downloads/

Test <PASS_FAIL>, .
版本/程式碼: harvester-v1.2.0, 'foo()'
宣告的物件: mgmt-vlan1, ubuntu.img
"強調": "Important statement"
UI固定文字: Import Existing
Environment

Harvester v1.2.1

Profile: 3 nodes AMD64 QEMU/KVM
ui-source: Auto

Rancher v1.27.14, v1.27.15 and v1.27.16

Profile: rancher-vcluster
Ref. https://docs.harvesterhci.io/v1.2/advanced/addons/rancher-vcluster

Prerequisites

 Provision a 3 nodes `harvester-v1.2.1`

 Create VM network mgmt-vlan1

 Create VM image ubuntu-22.04-server-cloudimg-amd64.img

Scenarios
Rancher v1.27.14

 :white_circle: Enable rancher-vcluster with Rancher v1.27.14

 :white_circle: Create RKE2 (1.27.16+rke2r2) guest cluster

 :white_circle: Create vol1 and use it on nginx1 pod

 :white_circle: Patching harvester-csi-driver by kubectl on guest cluster VM

 :white_circle: Ensure the harvester-csi-driver image is the same as above (`rancher/harvester-csi-driver:v0.2.2`)

 :white_circle: vol1 and nginx1 still work

 :white_circle: Create vol2 and use it on the nginx2 pod

 :white_circle: Delete nginx1/nginx2 pod and vol1/vol2

 :white_circle: Create vol3 and use it on the nginx3 pod

Rancher v1.27.15

 :white_circle: Disable and enable rancher-vcluster with Rancher v1.27.14

 :white_circle: Create RKE2 (1.27.16+rke2r2) guest cluster

 :white_circle: Create vol1 and use it on nginx1 pod

 :white_circle: Patching harvester-csi-driver by kubectl on guest cluster VM

 :white_circle: Ensure the harvester-csi-driver image is the same as above (`rancher/harvester-csi-driver:v0.2.2`)

 :white_circle: vol1 and nginx1 still work

 :white_circle: Create vol2 and use it on the nginx2 pod

 :white_circle: Delete nginx1/nginx2 pod and vol1/vol2

 :white_circle: Create vol3 and use it on the nginx3 pod

Rancher v1.27.16

 :white_circle: Disable and enable rancher-vcluster with Rancher v1.27.14

 :white_circle: Create RKE2 (1.27.16+rke2r2) guest cluster

 :white_circle: Create vol1 and use it on nginx1 pod

 :white_circle: Patching harvester-csi-driver by kubectl on guest cluster VM

 :white_circle: Ensure the harvester-csi-driver image is the same as above (`rancher/harvester-csi-driver:v0.2.2`)

 :white_circle: vol1 and nginx1 still work

 :white_circle: Create vol2 and use it on the nginx2 pod

 :white_circle: Delete nginx1/nginx2 pod and vol1/vol2

 :white_circle: Create vol3 and use it on the nginx3 pod

Logs

Support bundle:
RKE rancher2_logs: curl -Ls rnch.io/rancher2_logs | sudo bash | grep -Eo '/.*gz' | xargs -i scp {} albin@<IP_ADDRESS>:~/Downloads/

Test PASS on RKE2 v1.26.15, v1.27.14~16, close ticket.
Environment

Harvester v1.2.1

Profile: 3 nodes AMD64 QEMU/KVM
ui-source: Auto

Rancher v2.7.12

Profile: rancher-vcluster
Ref. https://docs.harvesterhci.io/v1.2/advanced/addons/rancher-vcluster

Prerequisites

 Provision a 3 nodes Harvester v1.2.1

 Create VM network mgmt-vlan1

 Create VM image ubuntu-22.04-server-cloudimg-amd64.img

 Enable rancher-vcluster with Rancher v2.7.12

 Import Harvester to Rancher

Scenarios
RKE2 v1.27.15

 :green_circle: Create guest cluster using RKE2 v1.27.15

Cluster

App

 :green_circle: Create vol1 and use it on nginx1 pod

nginx1

vol1

 :green_circle: Patching harvester-csi-driver on guest cluster VM, check image version is v0.2.2

Before

After

harvester-csi-driver:v0.1.5 -> harvester-csi-driver:v0.2.2

 :green_circle: vol1 and nginx1 still work

 :green_circle: Scale up cluster and nginx1 should still work

Cluster

Check

 :green_circle: Create nginx2 with vol2

 :green_circle: Delete deployments and PVCs

Workload

PVC

RKE2 v1.27.14

 :green_circle: Create guest cluster using RKE2 v1.27.14

Cluster

App

 :green_circle: Create vol1 and use it on nginx1 pod

nginx1

vol1

 :green_circle: Patching harvester-csi-driver on guest cluster VM, check image version is v0.2.2

Before

After

harvester-csi-driver:v0.1.5 -> harvester-csi-driver:v0.2.2

 :green_circle: vol1 and nginx1 still work

 :green_circle: Scale up cluster and nginx1 should still work

Cluster

Check

 :green_circle: Create nginx2 with vol2

 :green_circle: Delete deployments and PVCs

Workload

PVC

RKE2 v1.27.16

 :green_circle: Create guest cluster using RKE2 v1.27.16

Cluster

App

 :green_circle: Create vol1 and use it on nginx1 pod

vol1

nginx1

 :green_circle: Patching harvester-csi-driver on guest cluster VM, check image version is v0.2.2

Before

After

 :green_circle: vol1 and nginx1 still work

nginx1

lb-nginx1

 :green_circle: Create nginx2 with vol2 and lb-nginx2

nginx2

lb-nginx2

 :green_circle: Delete nginx1 and vol1

Workload

PVC

Service

 :green_circle: Scale up cluster and nginx should still work

Before

After

Check

RKE2 v1.26.15

 :green_circle: Create guest cluster using RKE2 v1.26.15

Cluster

App

 :green_circle: Create vol1 and use it on nginx1 pod

nginx1

vol1

 :green_circle: Patching harvester-csi-driver on guest cluster VM, check image version is v0.2.2

Before

After

harvester-csi-driver:v0.1.5 -> harvester-csi-driver:v0.2.2

 :green_circle: vol1 and nginx1 still work

nginx1

vol1

 :green_circle: Scale up cluster and nginx1 should still work

Cluster

Check

 :green_circle: Create nginx2 with vol2

 :green_circle: Delete deployments and PVCs

Workload

PVC


DOC: add docs for jax.dtypes module

Preview docs here: https://jax--14453.org.readthedocs.build/en/14453/jax.dtypes.html

The doc build failed with
/home/docs/checkouts/readthedocs.org/user_builds/jax/checkouts/14453/docs/jax.dtypes.rst:6: WARNING: toctree contains reference to nonexisting document 'jax.dtypes.bfloat16'
/home/docs/checkouts/readthedocs.org/user_builds/jax/checkouts/14453/docs/jax.dtypes.rst:6: WARNING: toctree contains reference to nonexisting document 'jax.dtypes.canonicalize_dtype'
/home/docs/checkouts/readthedocs.org/user_builds/jax/checkouts/14453/docs/jax.dtypes.rst:6: WARNING: toctree contains reference to nonexisting document 'jax.dtypes.finfo'
/home/docs/checkouts/readthedocs.org/user_builds/jax/checkouts/14453/docs/jax.dtypes.rst:6: WARNING: toctree contains reference to nonexisting document 'jax.dtypes.float0'
/home/docs/checkouts/readthedocs.org/user_builds/jax/checkouts/14453/docs/jax.dtypes.rst:6: WARNING: toctree contains reference to nonexisting document 'jax.dtypes.iinfo'
/home/docs/checkouts/readthedocs.org/user_builds/jax/checkouts/14453/docs/jax.dtypes.rst:6: WARNING: toctree contains reference to nonexisting document 'jax.dtypes.issubdtype'
/home/docs/checkouts/readthedocs.org/user_builds/jax/checkouts/14453/docs/jax.dtypes.rst:6: WARNING: toctree contains reference to nonexisting document 'jax.dtypes.result_type'
/home/docs/checkouts/readthedocs.org/user_builds/jax/checkouts/14453/docs/jax.dtypes.rst:6: WARNING: toctree contains reference to nonexisting document 'jax.dtypes.scalar_type_of'

Looking at the rendered docs, it looks like jax.dtypes needs to be added to the sidebar index at least.

Actually it's there already and I missed it.


Publish tailscale-localapi to crates.io?

Cool project! I'm interested in using the tailscale-localapi crate, could you publish it to crates.io? Thanks in advance!

I plan to use it to fetch certificate pairs so it works for me already.

Sorry this took so long. I finally got back to this project, and it is now on crates at https://crates.io/crates/tailscale-localapi.


RuneLite Config - Add Tooltip Font Size

Closes #1968

Thanks @Reasel for providing location of the overlay.

Add Tooltip Font

Refactor method names to be concise

Fix small redundancy

@Adam- should be okay now!


KAFKA-3514: Remove min timestamp tracker

Remove MinTimestampTracker and its TimestampTracker interface.
In RecordQueue, keep track of the head record (deserialized) while put the rest raw bytes records in the fifo queue, the head record as well as the partition timestamp will be updated accordingly.

Committer Checklist (excluded from commit message)

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

ping @bbejeck to review as well.
Note it is only the first step of KAFKA-3514, I'll have follow-up PRs if I got more time on it.
BTW it seems removing the timetrack makes the stream-table-integration test more flaky, and I do not know why.. will take a look into it.

@bbejeck @mjsax While working on this PR I realized we have a minor issue with the stream time reasoning and its usage:

today the stream time is updated right after a) raw records are pushed to the queue, b) a record is popped out of the queue; and the stream time is used c) during the popped record is being processed (in WindowedAggregateProcessor, for example), and d) after the record is processed, and punctuate() is called based on stream time. So the ordering of the task stream time and partition stream time is:

1. poll records from consumer and put to the record queue
1.a update partition stream time.
1.b update task stream time.

2. [repeatedly] get one record from the record queue
2.a update partition stream time
2.b update task stream time
2.c process the record (may read on stream time)
2.d call punctuate (may read on stream time)

The issue is in 2.a/b, that after a record is popped we immediately update the stream time, i.e. that partition / task's stream time will be updated and now depend on the next record (not the popped record that is yet to be processed on 2.c) and hence it goes "ahead of time" already. and since in 2.c we already read on the stream time it violates the timing semantics; for 2.d it is actually fine since the record has already been processed, and hence we can safely assume the stream time has advanced.
My plan is to fix this issue in a follow-up PR, since after this PR I'm going to refactor the stream thread main loop anyways.

I've run streams simple benchmark comparing trunk:
http://confluent-kafka-system-test-results.s3-us-west-2.amazonaws.com/2018-07-18--001.1531956018--confluentinc--trunk--0875dde/report.html
with this branch:
http://confluent-kafka-branch-builder-system-test-results.s3-us-west-2.amazonaws.com/2018-07-18--001.1531952633--guozhangwang--K3514-remove-timestamp-tracker--ace8700/report.html
The performance difference is not significant.

Merged to trunk.


[FR] Add new lights and fans intents

Hi,
Hi don't know why the CI not work
I have rebased my work on last main and the full tests work fine on my local computer
@balloob , @acesyde  do you have an idea?

1

It weems to works well no ? https://github.com/flexy2dd/intents/actions/runs/3811810900

Yes !

This error happens when you have 2 different matchers match the same sentence.

I finally took them all back (I now understand much better the logic of the engine)


Fix log messages getting cut off in the build

Hi,
I was getting log messages being cut off in the build:
[ERROR] DOCKER> Invalid log format for '201' (expected: " ")
I switched this method:
https://docs.oracle.com/javase/7/docs/api/java/io/InputStream.html#read(byte[], int, int)
"An attempt is made to read as many as len bytes, but a smaller number may be read. The number of bytes actually read is returned as an integer."
for this method:
https://commons.apache.org/proper/commons-io/apidocs/org/apache/commons/io/IOUtils.html#read(java.io.InputStream, byte[], int, int)
"This implementation guarantees that it will read as many bytes as possible before giving up"
Cheers,
Dan

Thanks a lot ! 'will be in the next release.

Fantastic! It's a really great project, we're using pretty much all of it's
features in my project now.
On 13 May 2015 16:58, "Roland Huß"<EMAIL_ADDRESS>wrote:

Thanks a lot ! 'will be in the next release.
—
Reply to this email directly or view it on GitHub
https://github.com/rhuss/docker-maven-plugin/pull/163#issuecomment-101724191
.

Thanks ;-) And thanks for the PR ...


External Minions Get Local Minions

For some reason, any id marked as a "minion" still gets minions from the server, which is an extreme nuisance and the only way to fix it is by banning each minion individually, which is hard. My scramble level is set to three, it takes them to the edges of the map, and they're gray, but they still get server minions. Any way to fix this?

@agariotips What version are you using? Also try changing this line in GameServer.js to this:

if (this.config.serverMinions > 0 && !ws.playerTracker.isMinion) {

Latest

@agariotips Did changing that line of code do anything?

I'm not sure yet. It might've fixed it, but I have to test it myself.

Closing this for now.


spring-cloud-starter-stream-rocketmq  Is the ACK mechanism not available?

我们鼓励使用英文，如果不能直接使用，可以使用翻译软件，您仍旧可以保留中文原文。
We recommend using English. If you are non-native English speaker, you can use the translation software.
Which Component
eg. Nacos Discovery, Sentinel
Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:

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

Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
Add any other context about the problem here.
e.g.  MacOS  、Java8 、 Version 0.2.1.RELEASE

please provide more information or use the beta version #2029 to see if it solves your problem.


krb5: Add patch for fixing CVE-2024-26458 and CVE-2024-26461

Merge Checklist

All boxes should be checked before merging the PR (just tick any boxes which don't apply to this PR)

[x] The toolchain has been rebuilt successfully (or no changes were made to it)
[x] The toolchain/worker package manifests are up-to-date
[x] Any updated packages successfully build (or no packages were changed)
[x] Packages depending on static components modified in this PR (Golang, *-static subpackages, etc.) have had their Release tag incremented.
[x] Package tests (%check section) have been verified with RUN_CHECK=y for existing SPEC files, or added to new SPEC files
[x] All package sources are available
[x] cgmanifest files are up-to-date and sorted (./cgmanifest.json, ./toolkit/scripts/toolchain/cgmanifest.json, .github/workflows/cgmanifest.json)
[x] LICENSE-MAP files are up-to-date (./LICENSES-AND-NOTICES/SPECS/data/licenses.json, ./LICENSES-AND-NOTICES/SPECS/LICENSES-MAP.md, ./LICENSES-AND-NOTICES/SPECS/LICENSE-EXCEPTIONS.PHOTON)
[x] All source files have up-to-date hashes in the *.signatures.json files
[x] sudo make go-tidy-all and sudo make go-test-coverage pass
[x] Documentation has been updated to match any changes to the build system
[ ] Ready to merge

Summary

What does the PR accomplish, why was it needed?
Fixes CVE-2024-26458 and CVE-2024-26461 in krb5 package
Change Log

Patch CVE-2024-26458 and CVE-2024-26461

Does this affect the toolchain?

YES
Associated issues

#xxxx

Links to CVEs

https://nvd.nist.gov/vuln/detail/CVE-2024-26458
https://nvd.nist.gov/vuln/detail/CVE-2024-26461

Test Methodology

Pipeline build id: 632805 (The tests fail here because it uninstalls some packages like curl, openssl, etc which have a dependency on krb5 and at the end tdnf as well. This is an expected behaviour.)

@microsoft-github-policy-service agree company="Microsoft"
On Mon, 2 Sept 2024, 17:07 microsoft-github-policy-service[bot], <
@.***> wrote:

@Ankita13-code https://github.com/Ankita13-code please read the
following Contributor License Agreement(CLA). If you agree with the CLA,
please reply with the following information.
@microsoft-github-policy-service agree [company="{your company}"]
Options:

(default - no company specified) I have sole ownership of
intellectual property rights to my Submissions and I am not making
Submissions in the course of work for my employer.

@microsoft-github-policy-service agree

(when company given) I am making Submissions in the course of work
for my employer (or my employer has intellectual property rights in my
Submissions by contract or applicable law). I have permission from my
employer to make Submissions and enter into this Agreement on behalf of my
employer. By signing below, the defined term “You” includes me and my
employer.

@microsoft-github-policy-service agree company="Microsoft"
Contributor License Agreement Contribution License Agreement
This Contribution License Agreement (“Agreement”) is agreed to by the
party signing below (“You”),
and conveys certain license rights to Microsoft Corporation and its
affiliates (“Microsoft”) for Your
contributions to Microsoft open source projects. This Agreement is
effective as of the latest signature
date below.

Definitions.
“Code” means the computer software code, whether in human-readable
or machine-executable form,
that is delivered by You to Microsoft under this Agreement.
“Project” means any of the projects owned or managed by Microsoft
and offered under a license
approved by the Open Source Initiative (www.opensource.org).
“Submit” is the act of uploading, submitting, transmitting, or
distributing code or other content to any
Project, including but not limited to communication on electronic
mailing lists, source code control
systems, and issue tracking systems that are managed by, or on behalf
of, the Project for the purpose of
discussing and improving that Project, but excluding communication
that is conspicuously marked or
otherwise designated in writing by You as “Not a Submission.”
“Submission” means the Code and any other copyrightable material
Submitted by You, including any
associated comments and documentation.
Your Submission. You must agree to the terms of this Agreement
before making a Submission to any
Project. This Agreement covers any and all Submissions that You, now
or in the future (except as
described in Section 4 below), Submit to any Project.
Originality of Work. You represent that each of Your Submissions
is entirely Your original work.
Should You wish to Submit materials that are not Your original work,
You may Submit them separately
to the Project if You (a) retain all copyright and license information
that was in the materials as You
received them, (b) in the description accompanying Your Submission,
include the phrase “Submission
containing materials of a third party:” followed by the names of the
third party and any licenses or other
restrictions of which You are aware, and (c) follow any other
instructions in the Project’s written
guidelines concerning Submissions.
Your Employer. References to “employer” in this Agreement include
Your employer or anyone else
for whom You are acting in making Your Submission, e.g. as a
contractor, vendor, or agent. If Your
Submission is made in the course of Your work for an employer or Your
employer has intellectual
property rights in Your Submission by contract or applicable law, You
must secure permission from Your
employer to make the Submission before signing this Agreement. In that
case, the term “You” in this
Agreement will refer to You and the employer collectively. If You
change employers in the future and
desire to Submit additional Submissions for the new employer, then You
agree to sign a new Agreement
and secure permission from the new employer before Submitting those
Submissions.
Licenses.

Copyright License. You grant Microsoft, and those who receive the
Submission directly or
indirectly from Microsoft, a perpetual, worldwide, non-exclusive,
royalty-free, irrevocable license in the
Submission to reproduce, prepare derivative works of, publicly
display, publicly perform, and distribute
the Submission and such derivative works, and to sublicense any or all
of the foregoing rights to third
parties.
Patent License. You grant Microsoft, and those who receive the
Submission directly or
indirectly from Microsoft, a perpetual, worldwide, non-exclusive,
royalty-free, irrevocable license under
Your patent claims that are necessarily infringed by the Submission or
the combination of the
Submission with the Project to which it was Submitted to make, have
made, use, offer to sell, sell and
import or otherwise dispose of the Submission alone or with the
Project.
Other Rights Reserved. Each party reserves all rights not
expressly granted in this Agreement.
No additional licenses or rights whatsoever (including, without
limitation, any implied licenses) are
granted by implication, exhaustion, estoppel or otherwise.

Representations and Warranties. You represent that You are
legally entitled to grant the above
licenses. You represent that each of Your Submissions is entirely Your
original work (except as You may
have disclosed under Section 3). You represent that You have secured
permission from Your employer to
make the Submission in cases where Your Submission is made in the
course of Your work for Your
employer or Your employer has intellectual property rights in Your
Submission by contract or applicable
law. If You are signing this Agreement on behalf of Your employer, You
represent and warrant that You
have the necessary authority to bind the listed employer to the
obligations contained in this Agreement.
You are not expected to provide support for Your Submission, unless
You choose to do so. UNLESS
REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING, AND EXCEPT FOR THE
WARRANTIES
EXPRESSLY STATED IN SECTIONS 3, 4, AND 6, THE SUBMISSION PROVIDED
UNDER THIS AGREEMENT IS
PROVIDED WITHOUT WARRANTY OF ANY KIND, INCLUDING, BUT NOT LIMITED TO,
ANY WARRANTY OF
NONINFRINGEMENT, MERCHANTABILITY, OR FITNESS FOR A PARTICULAR PURPOSE.
Notice to Microsoft. You agree to notify Microsoft in writing of
any facts or circumstances of which
You later become aware that would make Your representations in this
Agreement inaccurate in any
respect.
Information about Submissions. You agree that contributions to
Projects and information about
contributions may be maintained indefinitely and disclosed publicly,
including Your name and other
information that You submit with Your Submission.
Governing Law/Jurisdiction. This Agreement is governed by the
laws of the State of Washington, and
the parties consent to exclusive jurisdiction and venue in the federal
courts sitting in King County,
Washington, unless no federal subject matter jurisdiction exists, in
which case the parties consent to
exclusive jurisdiction and venue in the Superior Court of King County,
Washington. The parties waive all
defenses of lack of personal jurisdiction and forum non-conveniens.
Entire Agreement/Assignment. This Agreement is the entire
agreement between the parties, and
supersedes any and all prior agreements, understandings or
communications, written or oral, between
the parties relating to the subject matter hereof. This Agreement may
be assigned by Microsoft.

—
Reply to this email directly, view it on GitHub
https://github.com/microsoft/azurelinux/pull/10315#issuecomment-2324530524,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ANMND3ACGBKBORD7CATQLDTZUREYFAVCNFSM6AAAAABNQEXWSSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGMRUGUZTANJSGQ
.
You are receiving this because you were mentioned.Message ID:
@.***>

/AzurePipelines run

Waiting for PR check build to finish.
@Ankita13-code, please send a request to join the @microsoft/cbl-mariner-guest team. This way the pipeline build check can start automatically for your PRs.

Auto cherry-pick results:

main :white_check_mark: -> https://github.com/microsoft/azurelinux/pull/10351

Auto cherry-pick pipeline run -> https://dev.azure.com/mariner-org/mariner/_build/results?buildId=634075&view=results


Seed values roll at each generation when setting seed value in prompt box & seed values are n+1 for segment masks

Your question
Hello, I am not sure if this is a user error or setting somewhere that i missed in the wiki files but I have noticed that when generating images one at a time and I click the generate button that each subsequent click rolls the seed n+1. This is not helpful when trying to compare settings. If I set a seed in the prompt I expect all generations to hold the seed value until I choose otherwise. And to add to this when I looked at the comfy workflow to figure out if something is set there that I could fix I discovered that all the seed values for any segments also roll the base seed+1. While this isnt as much of an issue it does make a difference and actually explains some odd results that i have gotten with prior generations. Can we set the seed from the generate tab and ensure it doesnt change so I dont have to go to the comfy tab and copy/paste the seed where needed? Let me know if this is actually an issue and Ill open a ticket.
Logs
No response
Other

The first part was a bug that was already fixed, just update.
The segment part is intentional - if you run the same seed on the same image directly you get corrupt results, so anything that directly applies onto the same image in Swarm automatically offsets the seed to prevent corruption. Try a simple refiner workflow in comfy (ie sampler pipes directly into sampler again, with start at step a bit forward) with the same seed between all of the samplers and you'll see this.

Thank you!

Was this fixed for the case where the Images value > 1? E.g. Seed is 0, Images is 5. If I wait for a run of five images to generate (0-4) and finish, then click generate, I get the same 5 images (0-4) again. But if I hit generate before the images are done, it creates images for the next five seeds (5-9). The behavior wasn't always there, I don't think.
B

yes that case works exactly as intended in my local, so the fix for the issue applied to that fine

yes that case works exactly as intended in my local, so the fix for the issue applied to that fine

Huh. In basic tests it seems fixed, but I keep running into it from time to time and I can't figure out how to repro it. Frustrating. [Yes, updated.]


docs: fix gql_api.sh and update graphql_api.md

What type of PR is this?
doc: fix gql_api.sh and update graphql_api.md
What this PR does / why we need it:
update graphql doc

/lgtm

/lgtm


Proposal for running lakeFS on top of a key/value store

Neat! I think you addressed a different issue from the one that I had with periodic commits, so I blathered on a bit about the difference and how we could solve that one.
I do NOT think that this blocks an initial revision. (However, having written it down, I now think that it is simple enough to do immediately.)

@arielshaqed I like this idea a lot - and it is simple.
Can you contribute it to this PR? Preferably as another sub-section so its independent (just thinking ahead to how we might break down this change into smaller bits if/when we decide we want to go for it)


testimonial section on main page @anshikatiwari20

@anshikatiwari20
https://eddiehub.org/

me and vivek are working on this


Document ruleset data structure

Add documentation for each property in a rule and the ruleset file itself in a new document(s).

Done 47bdba9


Is there a mistake in README?

In readme, it says the output verbose is as following,

Example: if a file has "hello hello", verbose will print the following description: <0, h> <0, e> <0, l> <0, l> <0, o> <0,  > <1, 6, 5>

But I think the correct output should be <0, h> <0, e> <0, l> <1, 1, 1> <0, o> <0,  > <1, 6, 5>, because the character 'l' appears twice, isn't it?

Okay, I think there is no mistake, <0, l> is shorter than <1, 1, 1>, your design is more optimal than the original LZ77 algorithm.


Lucid: Seach in mobile menu doesn't work.

The following JS error appears when search field gets focus

Error: Permission denied to access property "nodeType"


[Project Addition] Indian Venomous Snakes Classification using DL

Deep Learning Simplified Repository (Proposing new issue)
:red_circle: Project Title : Indian Venomous Snakes Classification using DL
:red_circle: Aim : Classifying images into images of Venomous or Non-Venomous Snakes.
:red_circle: Dataset : https://www.kaggle.com/datasets/adityasharma01/snake-dataset-india
:red_circle: Approach : Creating custom CNN  model as well as 5 pre-trained models for binary classification task.

📍 Follow the Guidelines to Contribute in the Project :

You need to create a separate folder named as the Project Title.
Inside that folder, there will be four main components.

Images - To store the required images.
Dataset - To store the dataset or, information/source about the dataset.
Model - To store the machine learning model you've created using the dataset.
requirements.txt - This file will contain the required packages/libraries to run the project in other machines.

Inside the Model folder, the README.md file must be filled up properly, with proper visualizations and conclusions.

:red_circle::yellow_circle: Points to Note :

The issues will be assigned on a first come first serve basis, 1 Issue == 1 PR.
"Issue Title" and "PR Title should be the same. Include issue number along with it.
Follow Contributing Guidelines & Code of Conduct before start Contributing.

:white_check_mark: To be Mentioned while taking the issue :

Full name : Arihant Bhandari
GitHub Profile Link : https://github.com/Arihant-Bhandari
Email ID<EMAIL_ADDRESS>Participant ID (if applicable): Arihant Bhandari (eternal_insight)
Approach for this Project : using pretrained and custom cnn models for classification (pre-trained: resent50, vgg16, inception, xception)
What is your participant role? (Mention the Open Source program)
GSSoC 2024 Contributor

Happy Contributing 🚀
All the best. Enjoy your open source journey ahead. 😎

@abhisheks008 i am extremly sorry for my mistakes, i hope to make things correct by asking firstly for your forgiveness for that matter as well as hoping to be allowed by asking your permission for further contributing in this repo.
i will not be repeating what i did again, hope we can have a fresh start again

I am sorry to for my rude behaviour. I request you not to do the same, you can see lots of issues have been assigned and it's difficult to observe each and every issue every time.
Assigned to you @Arihant-Bhandari

I am sorry to for my rude behaviour. I request you not to do the same, you can see lots of issues have been assigned and it's difficult to observe each and every issue every time.
Assigned to you @Arihant-Bhandari

Can understand , I too panicked because there aren't many ML repos to contribute to, and leaderboard does get on the nerves.


[Error] Arguments being passed are in the wrong sequence.

https://github.com/Derek-R-S/Light-Reflective-Mirror/blob/25c9891e19b37c69f21638d61cf646c3909a3470/UnityProject/Assets/Mirror/Runtime/Transport/LRM/LRMTransport/LRMTransportDirectConnect.cs#L63

Before:

After:

In fact, these methods appear to be identical. What is compiler splitting for?

your mirror defines are messed up. not an LRM bug


feat: async attach detach

What type of PR is this?
/kind feature

What this PR does / why we need it:

controllerServer will no longer wait for the attachment in ControllerPublishVolume.
nodeServer will now be responsible for waiting for attachment.

Which issue(s) this PR fixes:

Fixes #161
Requirements:

[ ] uses conventional commit messages

[ ] includes documentation
[ ] adds unit tests
[ ] tested upgrade from previous version

Special notes for your reviewer:
Release note:
none

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

6 of 78 (7.69%)  changed or added relevant lines in 3 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+22.9%) to 65.627%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

pkg/provisioner/nodeprovisioner.go
0
14
0.0%

pkg/provisioner/crdprovisioner.go
4
62
6.45%

Totals

Change from base Build<PHONE_NUMBER>:
22.9%

Covered Lines:
3998

Relevant Lines:
6092

💛  - Coveralls

Replaced by #346


feat: Update requests to use the new quantity quality set

Description
Continuation of #687. This PR updates the requests (on the EDI side of things) to utilise a set of quantity qualities instead of the singular value of old.
References
#687

Normally our integration test describes the behavior we wish to test and unit tests if more for all different scaniors we wish to test.
Maybe we should have a chat with @lasrinnil about this?

I wouldn't mind a test talk. The new test here is identical to the one for ERPV2, so I'm tempted to say push as-is, then handle both of them afterwards.


configparser.NoOptionError: No option 'custom-0/normal' in section: 'color_schemes'

Description
What steps will reproduce the problem?

What is the expected output? What do you see instead?
Please provide any additional information below
File "C:\Users\Christina Halemba\Anaconda3\lib\site-packages\spyder\app\mainwindow.py", line 2635, in edit_preferences
widget.initialize()
File "C:\Users\Christina Halemba\Anaconda3\lib\site-packages\spyder\plugins\configdialog.py", line 76, in initialize
self.setup_page()
File "C:\Users\Christina Halemba\Anaconda3\lib\site-packages\spyder\plugins\configdialog.py", line 1175, in setup_page
self.scheme_editor_dialog.add_color_scheme_stack(name, custom=True)
File "C:\Users\Christina Halemba\Anaconda3\lib\site-packages\spyder\plugins\configdialog.py", line 1502, in add_color_scheme_stack
value = self.parent.get_option(option)
File "C:\Users\Christina Halemba\Anaconda3\lib\site-packages\spyder\plugins\configdialog.py", line 55, in get_option
return CONF.get(self.CONF_SECTION, option, default)
File "C:\Users\Christina Halemba\Anaconda3\lib\site-packages\spyder\config\user.py", line 378, in get
raise cp.NoOptionError(option, section)
configparser.NoOptionError: No option 'custom-0/normal' in section: 'color_schemes'
Version and main components

Spyder Version: 3.2.6
Python Version: 3.6.4
Qt Versions: 5.6.2, PyQt5 5.6 on Windows

Dependencies
pyflakes >=0.6.0 :  1.6.0 (OK)
pycodestyle >=2.3:  2.3.1 (OK)
pygments >=2.0   :  2.2.0 (OK)
pandas >=0.13.1  :  0.22.0 (OK)
numpy >=1.7      :  1.14.0 (OK)
sphinx >=0.6.6   :  1.6.6 (OK)
rope >=0.9.4     :  0.10.7 (OK)
jedi >=0.9.0     :  0.11.1 (OK)
nbconvert >=4.0  :  5.3.1 (OK)
sympy >=0.7.3    :  1.1.1 (OK)
cython >=0.21    :  0.27.3 (OK)
qtconsole >=4.2.0:  4.3.1 (OK)
IPython >=4.0    :  6.2.1 (OK)
pylint >=0.25    :  1.8.2 (OK)

Please close Spyder, open a system terminal (cmd.exe), run there
spyder --reset

and start Spyder again. That should fix your problem.

Duplicate of #5790 , which is a specific corner case invoked by creating duplicate color schemes and deleting them in a certain order. It should be fixed at some point, but you're welcome to take a crack at it now with the detailed information I've provided on how it occurs. spyder --reset should fix it, but you can also edit your settings file manually via the instructions there to fix it without resetting the rest of your settings or your custom color tables, etc. Also, #1493 will also mitigate it at least.

Duplicate of #5790 , which is a specific corner case invoked by creating duplicate color schemes and deleting them in a certain order. It should be fixed at some point, but you're welcome to take a crack at it now with the detailed information I've provided on how it occurs. spyder --reset should fix it, but you can also edit your settings file manually via the instructions there to fix it without resetting the rest of your settings or your custom color tables, etc. Also, #1493 will also mitigate it at least.

For anyone google searching to fix this bug and not restart, here it is.
0. Close Anaconda and spyder
1. In user search for spyder.ini, backup in case and edit the original.
2. Find color_schemes then custom_names, it will look like this "custom_names = ['custom-0', 'custom-1', 'custom-3']", delete the custom causing the error.
3. Still wont work, delete the error custom from custom_names

@SuperZing Thanks for distilling my findings in the lengthy thread down to a much more manageable form for public consumption. Since this thread is closed in favor of that one, the canonical one, could you post this over there instead? Thanks!

@CAM-Gerlach I see. I would gladly post it, but still being inexperience to GitHub is it thread #5790, just want to confirm first.

is it thread #5790

Yes indeed!


Missing m4 code

Hey Marc ( @msune ),
configure.ac calls :
Debug
m4_include([config_m4/debug.m4])
Check for profiling mode
m4_include([config_m4/profiling.m4])
Checking version
m4_include([config_m4/versioning.m4])
But this m4 code is not shipped as part of the file distribution. Commenting it out works no problem apparently. Maybe you want to get rid of it or maybe you want to include the extra m4 code.
Paolo

Thanks @paololucente


does it offer url translation too? eg About (/about/) => À propos (/a-propos/)

Unfortunately, it currently does not.
There is an old branch, translate_url, which attempted to do it, but it lead to to many edge cases which made it hard for a developer to change anything without breaking the navigation.

maybe get some inspiration from Nuxt? https://i18n.nuxtjs.org/custom-paths Thanks


Not sure if model_checkpoint is able to load different checkpoints

I am unsure how to ensure I am loading the correct checkpoint, because I am getting inconsistent results. Note: this is the pip installed version (0.5.5)
Reproduce:
score1 = ScoreModel(model_checkpoint = 10.0, seed = 0, checkpoints_directory="/home/mjybarth/scratch/cats_1_checkpoints")
Loaded checkpoint 0 of cats_1_checkpoints
score1 = ScoreModel(model_checkpoint = 9.0, seed = 0, checkpoints_directory="/home/mjybarth/scratch/cats_1_checkpoints")
Loaded checkpoint 0 of cats_1_checkpoints
Expected behavior:
Code, taken from the package itself, parameters set by hand:
model_checkpoint = 9.0
checkpoints_directory="/home/mjybarth/scratch/cats_1_checkpoints"
paths = glob.glob(os.path.join(checkpoints_directory, "checkpoint*.pt"))
opt_paths = glob.glob(os.path.join(checkpoints_directory, "optimizer*.pt"))
checkpoint_indices = [int(re.findall('[0-9]+', os.path.split(path)[-1])[-1]) for path in paths]
scores = [float(re.findall('([0-9]{1}.[0-9]+e[+-][0-9]{2})', os.path.split(path)[-1])[-1]) for path in paths]
if checkpoint_indices:
    if model_checkpoint is not None:
        checkpoint_path = paths[checkpoint_indices.index(model_checkpoint)]
        print(f"Loaded checkpoint {model_checkpoint} of cats_1_checkpoints")
        print(checkpoint_path)
        latest_checkpoint = model_checkpoint

else:
    max_checkpoint_index = np.argmax(checkpoint_indices)
    checkpoint_path = paths[max_checkpoint_index]
    opt_path = opt_paths[max_checkpoint_index]
    print(f"Loaded checkpoint {checkpoint_indices[max_checkpoint_index]} of cats_1_checkpoints")
    latest_checkpoint = checkpoint_indices[max_checkpoint_index]

Loaded checkpoint 9.0 of cats_1_checkpoints
/home/mjybarth/scratch/cats_1_checkpoints/checkpoint_5.5174e+02_009.pt

Good catch. I removed this functionality in the ScoreModel load_architecture function. The latest checkpoint is always loaded. In principle, the fit method can work from earlier checkpoints with the model_checkpoint argument, but in practice I've never really used that functionality since early stopping is not useful when training score models.
I can add this functionality back in the load_architecture function. The default behavior will be to load the latest checkpoint present in the checkpoints directory.

This issue should be fixed in version 0.5.8. Let me know if you still have trouble.


Untitled file isn't restored properly

re #16544

have an untitled file, make it show in slot one and two
exit and restart
🐛 in slot two the file shows as empty

The gif is pretty blurry, is that Untitled-1 in both editors?

@Tyriar that's why it says 'have an untitled file, make it show in slot one and two'


No IntelliSense when import module under the solution.

Environment

Steps to Reproduce

Right click in SE, Add new item, Python module, module1.py
Enter some code in the new file:
○ MSG = 'hello'

In PythonApplication7.py:
○ import module1
Check for completions:
○ module1.MSG

Expected behavior
Import module1.py should with intelliSense.
Additional context and screenshots
No IntelliSense when import module.

from gives the expected completions, but import does not.
Pylance issue?

In today's build, I had to restart VS to get IntelliSense.


Template compiler ignores $/svg/devs/styles element

Version
2.5.13
Steps to reproduce
const compiler = require('vue-template-compiler');
const compiled = compiler.compile(input, { preserveWhitespace: false });
console.log(compiled.render)

With input being:
<svg viewBox="0 0 135.297 120.367" xmlns="http://www.w3.org/2000/svg"><defs><style>.hex{fill:#60c795}.line{fill:#fff}</style></defs><path d="M133.605 66.313l-27.691 47.963a12.22 12.22 0 0 1-10.582 6.109H39.949c-4.365 0-8.398-2.33-10.582-6.11L1.677 66.314a12.22 12.22 0 0 1 0-12.22l27.69-47.961A12.221 12.221 0 0 1 39.949.022h55.383c4.365 0 8.4 2.328 10.582 6.11l27.691 47.961a12.22 12.22 0 0 1 0 12.22" class="hex"/><path d="M61.533 19.968a3.415 3.415 0 0 0-3.14 2.261L40.556 71.925l-5.856-9.76a3.416 3.416 0 0 0-2.93-1.66H.052a12.2 12.2 0 0 0 1.627 5.807l.594 1.027h27.566l8.57 14.283a3.416 3.416 0 0 0 6.146-.604L61.81 32.923l18.953 46.411a3.42 3.42 0 0 0 2.873 2.112 3.412 3.412 0 0 0 3.187-1.594l15.15-24.28 8.844 11.563a3.425 3.425 0 0 0 2.714 1.342h18.824l1.25-2.166a12.195 12.195 0 0 0 1.549-4.668H115.22l-10.816-14.145a3.435 3.435 0 0 0-2.877-1.338 3.414 3.414 0 0 0-2.736 1.604L84.564 70.566 64.767 22.09a3.416 3.416 0 0 0-3.236-2.123z" class="line"/></svg>

What is expected?
Exprected is that the <style> element is also in the genreated render method
What is actually happening?
The generated render method omits the

That is intentional, there is even an error telling you

Templates should only be responsible for mapping the state to the UI. Avoid placing tags with side-effects in your templates, such as

hmm I thinks that's a bit unfortunate for inlining svgs which may ship default styles..

I agree on that, styles inside of svg should maybe be kept

Unfortunately, <style> tags inside SVGs are not scoped to that SVG element only. This is indeed global side effect and I don't think we should treat it differently.


[InputNew]: Minor bug

only happens when id is not given to the input
when multiple inputs are present on same form , clicking on bottom inputs label focuses on the first input
Reason: by default id is undefined and so all inputs have same id, and since label has htmlFor=id , the first input is focused
Solution: give a unique id to each input as default or make id field as mandatory (making field mandatory will be breaking change so discuss before adding it)
https://user-images.githubusercontent.com/35369843/218090441-f1b802a0-a966-4d08-918c-235438aad112.mov

mandatory sounds like a good idea to me. TS complier will find it and JS users wont care anyway

yeah sounds good to me but it means whenever this is fixed we have to fix everything in admin too

@AbhinavMV do you guys have a build command. I think it would pick them all up and make a list for you guys. Yeah we should be more careful i think everyone got into a habit of making almost all props optional 😅


fix: Safer URL parsing & replacing

x2vx-android parses and replaces url roughly for now, so URLs like https://x.com.example.com/ also be replaced to https://vxtwitter.com/ by this app. This pull request proposes to use URI class for parsing and replacing the host in URLs instead.
Also I added some test cases to ensure the problem and this fix resolves it.

Thank you for refactoring and writing tests!!!!!


Support DEBUG RESTART/CRASH-AND-RECOVER [delay] commands

Support DEBUG RESTART/CRASH-AND-RECOVER [delay] commands

Implemented.


Better TLS Secrets Truncation.

This improves upon #8483 with an observation from @ywkaras that since
the data is stored in a std::string it will always be null terminated.
Thus these debug logs can be simplified to just use the "%.50s" print
format.

[approve ci]

[approve ci autest]

Cherry-picked to v9.2.x


CI/CD - Grails

Package and deliver to the customer...
Dev Server...
Grails
!story G<IP_ADDRESS>
!component CI/CDA

Likely not going to make it into this project.


Issue closing the connection from S3Hook

I got this error message AttributeError: 'S3Hook' object has no attribute 'connection' while running the operator.
https://github.com/airflow-plugins/freshdesk_plugin/blob/4c549987bd35caecf2e1635310f6b1f4927ab5b7/operators/freshdesk_to_s3_operator.py#L139
After commenting out this line everything worked fine.

Facing the same problerm, hence joining the question..


Make dune dependency implicit

This way it is added automatically with the right bound when generating the opam file.

(we missed this in #302, cc @tmattio)

FYI, the logic is that when the dune dependency is there, it'll be used to generate the opam bound, otherwise the dune dependency is added with a bound that corresponds to dune-lang.

Good to know, thanks @emillon!


Update login to work around server-side 403 error

This PR addresses the recent change to Chamberlain's account login flow, which now seems to require brand and UnifiedFlowRequested parameters.
Changes were also made to mimic the Android application for CLIENT_ID and REDIRECT_URI. These changes appear necessary, due to however they're handling the flow on their servers.
Proper credit for this fix goes to drysart, dailow, and brchri for doing the hard part of debugging and dumping the actual application login/oauth flow to find this solution.
Addresses https://github.com/home-assistant/core/issues/101763 and https://github.com/Python-MyQ/Python-MyQ/issues/19

Thanks for taking care of the PR!

Tested locally and working as expected. Marked ready for review, @Lash-L
Thanks, all. My garage door works again! Until the next round, Chamberlain...

+1 c704b34

@justinlindh @dailow
If either of you have a chance, take a look at the changes hjdhjd made so we can attempt to do the same and hopefully avoid another lockout
https://github.com/hjdhjd/myq/commit/a1a59fbf563cc3ea90e9a9e2dcab93c3bc400453
I'm still rather busy right now, so I probably wont have a chance to do so until sometime next week

I'm still rather busy right now, so I probably wont have a chance to do so until sometime next week

I'm also going to be busy with work all day, so I won't be able to look until tonight at the earliest. Others are certainly welcome to jump in on this one.

@justinlindh I have not - no

I peeked into the issue tracker on their repo, and it looks like they're likely dealing with the same issue.
Someone on the other thread mentioned that they think MyQ is starting to implement cloudflare protections (maybe fingerprinting), which I think is likely. I've hacked around some of those in the past, using https://github.com/lwthiker/curl-impersonate (it's basically a custom build of curl/libcurl that impersonates Chrome or Firefox decently well). There may be a workaround there (replacing the http requests in this integration with calls to modified libcurl), but I suspect it could require an implementation in an add-on versus just modifying the library here.
Anyway, if someone wants to test that theory, they should be able to export their current postman calls to cURL and give the compiled binaries in the repo above a shot.
Ultimately, hacking around cloudflare is a heavier lift than I'm personally willing to volunteer for at the moment. I'm personally just going to install one of the hardware workarounds and ditch MyQ altogether, as they're very clearly trying to block third party access, and even if this next stumbling block is circumvented, I'm positive that they'll keep working to actively block out third party users.
Thanks again for working on this library! I enjoyed it quite a bit while it was working.

I'm still locked out of the API so haven't been able to test, but planning on checking if the homebridge plugin is still working.  Assuming it works, can port the same changes over but I definitely was not expecting them to put up this much of a fight.  I've also ordered a ratgdo to avoid this headache, but will do my best to help fix this library if i can.

Strangely, I just re-enabled the integration and it seems to be working again. I wonder if they walked back the most recent change on their end.
I'll monitor it and see whether it remains stable, but that's at least good news for now.
FYI @dailow (since I know you were planning on messing with this)

I'd re-enabled it last night and it worked just fine until it needed to refresh its OAuth token, and that's when it started generating 429s; so keep an eye out for that.

It appears homebridge plugin is also not working, so looks like even the latest changes there wouldn't help.  Appears some active discussion on the project on the homebridge discord, so I'll see if any progress can be made there.  I imagine they must be doing something on the server side or through Cloudflare as I can't imagine they could have made major changes to all the clients so quickly.

I just tested my Homebridge plugin for my door and it was able top open and close it.  HA integration is broken for the last couple days.  Am I missing something?

I just tested my Homebridge plugin for my door and it was able top open and close it. HA integration is broken for the last couple days. Am I missing something?

This issue (and many other closed ones) has more information: https://github.com/hjdhjd/homebridge-myq/issues/1133
Your homebridge plug-in will likely stop working if/when the token expires and the plugin tries to refresh or reauthenticate.

Got it thanks, I don't actively use HomeBridge just have it set up for test scenarios, and installed the MyQ plugin when the original HA integration stopped working.


fix missing image in get_item function

Sometimes, when the "getitem" function is called, the whole program may stop because the image doesn't exist or for some other problem. I tried to fix this according to the following methods, and it works. However, since there are a lot of datasets in this repo, if I use this same code in each dataset, it will be very redundant. I wonder if you have any good solution.
def __getitem__(self, index):
    availabile = False
    while not availabile:
        try:
            ann = self.annotation[index]

            image_path = os.path.join(self.vis_root, ann["image"])
            image = Image.open(image_path).convert("RGB")

            image = self.vis_processor(image)
            img_id = ann["image"].split("/")[-1].strip(".jpg").split("_")[-1]

            availabile = True
        except Exception as e:
            print(f"Error while read file idx {index} in  {e}")
            index = random.randint(0, len(self.annotation) - 1)

    return {
        "image": image,
        "image_id": img_id,
        "instance_id": ann["instance_id"],
    }

In general one may want to ensure the required image data is available for most datasets.
If this is not the case for some datasets, I'd expect the proposed fix works.
I'd close the PR as this is not always desired.
Thanks.


Consider logging failed attempts to obtain a connection in ERROR level

Failed attempts to acquire a connection from the underlying datasource are currently logged at DEBUG level.
This information is vital to help troubleshoot connection issues in production environment. Setting HikariCP in DEBUG is far to verbose and is confusing for sysadmin. Hence the proposition to log connection issues in ERROR level.

We orginally were logging at error, but got complaints from users about the noise level.  One hurdle is that it is possible to start the pool when the database is in a known down condition (when initializationFailFast=false.  In this configuration, HikariCP continues connection attempts, backing off to a maximum of 1.5 seconds, until it succeeds.  This creates a lot of noise when logging at error (or even info) that a lot of users don't want to see.

I understand your concerns, but when connection failures happen at runtime - how can a sysadmin diagnose them? I mean, HikariCP just silently ignore the exceptions when attempting to acquire a connection from the underlying datasource and the application only gets a "PoolTimeoutException" without any further information...
If not appropriate to log every time Hikari fails to acquire a connection, may be we could remember the last received exception and attach it to the "PoolTimeoutException" sent back to the application? Applications could then log it themselves according to their needs...
PS: issue is closed, don't know how to reopen it, hope you will get the message and consider it ;-)

Forget what I just said: the request feature is already implemented!
An SQLTransientConnectionException exception is thrown with the cause set to the last exception received from the underlying datasource. Didn't see it - our framework was ignoring the root cause :-(
Sorry for the noise - and thanks for your answers.

We're good like that ... we read users minds and implement before they ask. :grinning:


Add favicons to the hugo setup

Add corona virus favicons.

Nice! Though do we want to make favicons using the site logo instead? (the one based on the https://www.covid19dataportal.org/ logo but in blue and yellow)


0.83.3 - All Gen 3 Pokemon have quick move Splash and charged move Struggle

All Gen 3 Pokemon have quick move Splash and charged move Struggle
Is this a compile error of is it just the data provided by the game?
https://github.com/BrunnerLivio/pokemongo-game-master/tree/master/versions/0.83.3
Edit: charged move is struggle for every gen 3 pokemon

This is what is provided by the game
On Mon, Dec 11, 2017 at 2:24 AM, Hedva<EMAIL_ADDRESS>wrote:

Is this a compile error of is it just the data provided by the game?
https://github.com/BrunnerLivio/pokemongo-game-
master/tree/master/versions/0.83.3
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/BrunnerLivio/pokemongo-game-master/issues/27, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AAX4gPSA5c4zUYBafceercAoWzg7wDjIks5s_QLtgaJpZM4Q9KdP
.


lint: Don't lint docs/build

The docs/build directory contains outside code that we clone,
so it shouldn't be linted.

Wow quilt-bot is really worried about the quality of this PR


Unique ids

Fixes duplicate IDs on the table and toolbar components. This partially fixes #1439.
This fix allows the tolerance to be reduced by 3.

Deploy preview for pf-next ready!
Built with commit 85a3c6e6b58c935435b7a2da23980e5ff8dfed00
https://deploy-preview-1461--pf-next.netlify.com

This looks good @srambach! The a11y checks in and the errors dropped from 20 to 16. 👍

Thanks for making this update!
I'm a little confused by the a11y audit tool. When I look at the details, it still returns the same issues for the Table.
But the audit shows that this element has an issue:
<button class="pf-c-dropdown__toggle pf-m-plain" id="-dropdown-kebab-nested-tr1-button" aria-expanded="false" aria-label="Actions">
Whereas the actual HTML in the preview for this PR has this (the id values are different):
<button class="pf-c-dropdown__toggle pf-m-plain" id="nested-table-1-dropdown-kebab-nested-tr1-button" aria-expanded="false" aria-label="Actions">
Also, when I try to find the duplicate values for this on the page, I'm not finding it. Maybe this is just an issue with the a11y audit (@seanforyou23)?

How's it look after re-running, @jgiardino ? My only concern is that I had it reducing from 20 to 17 errors, @jameslau saw it as down to 16 errors, and the latest run says 18 errors.

It's 16 for me locally, too.


Add "eng" folder to core path triggers

Core is a good pipeline to run on changes under "eng" folder
Aligns Java with other languages

MacOS failure is unrelated to this change. Feel free to merge away.

Could this be further scoped to code-quality-reports, spotbugs-aggregate, and the client specific YML templates in the future?

DevOps only supports triggering on folders, not individual files.  So it could be scoped to a more narrow set of folders if it exists.

Could this be further scoped to code-quality-reports, spotbugs-aggregate, and the client specific YML templates in the future?

DevOps only supports triggering on folders, not individual files. So it could be scoped to a more narrow set of folders if it exists.

Actually it looks like DevOps does support individual files and wildcards, but so far we have kept it simple and just used folders.
https://docs.microsoft.com/en-us/azure/devops/pipelines/build/triggers?view=azure-devops&tabs=yaml#paths

@alzimmermsft: If including all of "eng" causes too many unnecessary builds we can narrow the scope.

Could this be further scoped to code-quality-reports, spotbugs-aggregate, and the client specific YML templates in the future?

What are you trying to avoid, under eng?


Crash when using optifabric and pressing f3

game crashes with optifabric and boringtweaks and pressing f3
https://pastelink.net/2b8hh

Fixed on the next update. Since it caused a crash and OptiFine has heavily modified the debug HUD, I decided to make the mixin fail without failing hard (plus fix compatibility with other mods). However, OptiFabric will not be directly supported due to OptiFine being quite hard to work with


Fix "unsetPropertyPublisherFactory" error

When using xproc-engine-daisy-pipeline this error is sometimes printed on STDOUT. The error can simply be ignored, but still it's not so nice because it may cause confusion.

Merged in 50a11f7ec6.


Add the semantic type assignment post database build and before going read-only on the neo4j database.

Figure out how to automate the looping in this.

The primary work is in issue #80 - this issue here is it’s production automation

@shirey I don't quite understand this, but it should be moved to the ubkg repo, I suppose.

@AlanSimmons I don't understand it either, @ChuckKollar as the original author of this is it still needed?


feat: switch to tungstenite-rs

Was going to get in the way, plus has more breaking changes (see changelog changes).
Fixes: #115

tungstenite-rs is a blocking library (that doesn't support .split). Observed significant performance degradation (25s minimum, peak of 75s) in the following case (client::socket::test::socket_io_integration):

Callback mode (where there is a separate thread constantly calling poll)
Attempt to send packets on the clone of the socket returned
Observe that websocket connection is busy reading
When a ping packet is received it is possible that the lock switches to the write
Socket finally sends a message

(keep in mind this same performance degredation is likely on the secure websocket connection as it also doesn't support .split)
Suggested fix: Use some async internally. Currently we are trying to expose a callback interface (typically async), yet only using blocking libraries. Delay until 0.4.0, as it introduces a general performance degradation.

Superseded by #146.


Enable some commands only if concrete5 is installed

I think we should actually leave the config command and the clear cache command outside of the check. Do they not work if concrete5 isn't installed? I think we might use the config writer even before concrete5 is installed in some cases.

I re-enabled the c5:config command (it works even when concrete5 is not installed).
Launching the c5:clear-cache command when concrete5 is not installed fails:
[InvalidArgumentException]
Database [] not configured.

So I left it disabled

@aembler / @KorvinSzanto could you accept/reject this pull request? I've another useful package-related command ready for a pull request :wink:

Thanks!


Use default version not working in CentOS

While yum-epel has packages for centos 6.5, 6.6, and 7.0- these packages are out of date and therefore will not likely align with the default 3.4.3. I think that the only way that it would, is if someone is replicating these to their own personal server. As such the "default-use-distro-version" test suite will always fail with our default values.
I have come up with a few solutions that I can submit a PR for.

Edit the test-suite "default-use-distro-version" with versions that we know are available in YUM epel. (probably the easiest and most clean)
Create a new test-suite in mini-test fashion and import a repo that might have up to date versions.
Deprecate this feature in CentOS since the packages from yum-epel are several x.Y.z behind.

Great points. I'm leaning towards to 1 out of these; it seems like the best option.

Closed via #223


Support HNN legacy params

This will work to read existing HNN parameter files without doing anything fancy to handle comments or invalid lines.

FYI @rythorpe if you want to use existing .param files once this is merged

I can merge this if it's good to go from your end!

For some reason, codecov didn't get triggered. Maybe it's related to the move to jonescompneurolab?

Codecov Report

Merging #94 into master will increase coverage by 0.13%.
The diff coverage is 91.66%.

@@            Coverage Diff             @@
##           master      #94      +/-   ##
==========================================
+ Coverage   83.11%   83.24%   +0.13%
==========================================
  Files          16       16
  Lines        1498     1522      +24
==========================================
+ Hits         1245     1267      +22
- Misses        253      255       +2

Impacted Files
Coverage Δ

hnn_core/tests/test_params.py
100% <100%> (ø)
:arrow_up:

hnn_core/params.py
81.63% <86.66%> (+0.57%)
:arrow_up:

Continue to review full report at Codecov.

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

Oops

Okay, please merge. Thank you.

Thanks @blakecaldwell !


[Question] the scheduler for zero3_offload is different from other configurations, will this have an impact on model performance?

Question
I noticed that the scheduler for zero3_offload is different from other configurations, with WarmupLR for zero3_offload and cosine with warm up for the others，will this have an impact on model performance?

sorry to bother you. how do you solve this?

sorry to bother you. how do you solve this? I also found this difference.

i found that this learning rate schedule has little effect on model performance, you may delete the schedule set in zero3_offload.json to enable cosine schedule.

sorry to bother you. how do you solve this? I also found this difference.

i found that this learning rate schedule has little effect on model performance, you may delete the schedule set in zero3_offload.json to enable cosine schedule.

thanks! i'm going to try it.

@2285443514how to solve it?

@cherry956 Just delete the scheduler field in zero3_offload.json

I also found it!


Add Oragono server

Just adding my IRC server, and correcting a minor bug that I think I introduced with the Services description.

👍


Fireworks disappear after being shot

Soon after a firework is shot from a UIB unit, regardless if it's a interunit or not it'll instantly disappear.

*UIB

Updated to use UIB

half fixed


Bug in prod: oldb app not fetching data

bug reproduction: view this page.
The data should be loaded like in the dev site here

both environments will use the same api secret for the air table data

@michaelmarshall I updated the credentials and it is working now. Can you please check?

yup, thanks Roks!


expose dynamic/control variables

Command

[ ] check-image-updates
[ ] delete
[X] deploy
[ ] diff
[ ] helm-pull
[ ] helm-update
[ ] list-images
[ ] list-targets
[ ] poke-images
[ ] prune
[X] render
[ ] seal
[ ] validate
[ ] version

Who are you?
petr, 42, are
What do you want to do?
I suppose it would be worth to expose some control variables, like "name of the folder where kustomise.yaml" is located, "name of the folder where deployment.yml is located". Which based on the repository structure could hold some of

namespace name
application "release" name
kluctl sub-deployment name

For now I would propose this implementation and I would like to hear other users opinions or other approaches the do use in their deployments:
on deployment.yml we could do some mapping like:
vars:
  deployment:
     namespace: {{ dir.current}}
     cluster:         {{ dir.level-2 }}   # level-2 is certainly not a good name

Other:

Either I would thing what variables we have under "target" ie: target.name .. or whether we want under "target" structure some more informations.
Any negative consequences ?

Why do you need that?
Fist I am not fun of Kustomise "bases", however I focus on some level of reusability and source "resources" from multiple locations. So I assume to use the Kustomise base reference in oder to override "namespace" or add per-cluster related overrides for deployment.
Here is my assumed repo structure that allows deploy off-shelf single services as well as composite structures per namespaces
compose/nodeSelector
targets/<tname>/<namespace>/appX
services/<sname>

Use-case:

I want to deploy targets/<tname>/<namespace>/appX which

refer: appX "../../../service/sname" as an base (or remote resources)
refer: compose/nodeSelector from "resources:"

when "sname" service is used as "base" for target (render/deploy), it would be convenient to use control variables with content of "tname" and "namespace" for given service rendering
Today we do use these as tag0,tag1. The request is to make them available as dynamic/definable variables.

:+1: for the idea of exposing context information about the current deployment project as variables. I'd suggest the following structure.
The root variable exposed per deployment item would be deploymentItem. Whenever a new deployment item is included/entered, that variable is re-constructed to include the current deployment info. The structure could be:
deploymentItem:
  relDir: <relative directory to current source> (the "source" might differ in case we enter a gitInclude)
  dirName: <the base name of relDir>
  tags:
    # all tags, including the ones merged from the parents
    a: <tagValue>
    b: <tagValue>
  config: <a copy of the deployment item config found in deployment.yaml>
  # info about the deployment.yaml project that included this item
  project:
    parent: <parent project info, same structure as `project`>
    relDir: <relative directory to current source>
    tags:
      a: <tagValue>
      b: <tagValue>

This basically mirrors what is found the source via DeploymentItem and DeploymentProject.
We can also come up with more later :)

Agree with structure. That is very well aimed. In MR above I have played with tags (ref's which is the same as relDir) and usage. It played quite well.
Additionally:

it's possible to extend the deploymentItem with deploymentItem.project.root with calculated ../../../ which might help to refer resources from project root (less "../../../" on code). (non related: "safe fs" ref. we do use btw. fails if you escape too much)
relDir I would rather see as "list" as easier usage
shorter name then deploymentItem would be nicer IMO. ( deploy.di || d.item ?)

Then I have some findings,
First here is some/not-working example for reference:

https://github.com/epcim/gitops-infra-public/tree/draft-dyn-vars#structure (where I do try to link the ./service/jellifyn from targets/<name>/<namespace>/<service-instance> while using some dyn vars
https://github.com/epcim/gitops-infra-public/blob/draft-dyn-vars/targets/apealive/media-test/jellyfin-test/kustomization.yaml

Findings:

problem1: IGNORE (sub including service/jellyfin from multiple targets, tends to create .build/0/serivce/jellyfin-N dirs)
problem2,3: for whole base: ../../service/jellyfin directory is not automatically added/nor rendered and doing it with onlyRender is not optimal (as needs to be rendered per target/ referred instance
problem4: related to ^^, would be nice if deployment.yml in root would include whole service dir ( path: service and render (later) these subfolder that are referred through targest/xx/yy referred bases/resources?. Though, I don't have here clear answer. - I might abuse the way how Kluctl is expcted to work (and yes this cause issue if I do deploy with --include-tag jellyfin-test)

+  - path: service/jellyfin
+    onlyRender: true

Another finding - if we include this way - path: media-test/jellyfin-test then the relDir contains the namespace media-test but in fact it's media-test obviously is not part of any tag/dirName etc.
I will try to update MR to implement suggested structure, ignoring problems 2,3,4 as they are not directly related to this issue.


Expand bevy plugin usage options

Ass ability to:

Create a MatchboxSocket for direct insertion as a Resource
Use MatchboxSocket as a Component

Todo:

Utilities for MatchboxSocket as a Component

I think we can keep the extensions, but I don't think  there's any need to use actual commands? That would bring the sockets up and running immediately instead of at the next flush of command buffers.

I think we can keep the Command extensions, but I don't think there's any need to use actual commands? That would bring the sockets up and running immediately instead of at the next flush of command buffers.

Is there a reason you would want to bring them up immediately instead of joining the command queue? Surely joining the queue is the canonical way of behaving?

Just that we're kind of just reimplementing a special case of commands.insert_resource there's no need to do it.

I think this is fine to merge as is, would be good to have it in 0.6.


proxy.golang.org: slow resolution of commit already pulled through the proxy

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

$ go version
go version go1.18.5 linux/arm64

Does this issue reproduce with the latest release?
Yes.

A quick resolution via the proxy, as that commit has already been pulled through the proxy.
What did you see instead?
# get<EMAIL_ADDRESS># get<EMAIL_ADDRESS># get<EMAIL_ADDRESS>404 Not Found (1.453s)
# get<EMAIL_ADDRESS>200 OK (6.713s)
# get https://proxy.golang.org/cuelang.org/go/@v/list
# get https://proxy.golang.org/cuelang.org/go/@v/list: 200 OK (0.066s)
go: added cuelang.org/go v0.4.4-0.20220622094641-748a68589747

Note the 6.7s for returning a 200.

To add a bit more detail on rough timings of when this commit was pulled through the proxy via go get -x cuelang.org/go@748a68589747fed6273d6338eb7e275a4fb116c6:

2022-06-22 - first pull through the proxy
...
2022-09-09 am (UTC)
2022-09-09 pm (UTC)

It's the last of these go get's that I was expecting to be near instantaneous.
But then I should be clear that my expectations are not grounded in any form of reality of what the proxy does with respect to commit queries and caching.
I couldn't find any docs at https://proxy.golang.org/ talking about caching of commit queries. Depending on the resolution if this issue it might make sense to add an FAQ there.

CC @golang/tools-team

CC @bcmills @suzmue @hyangah
I think this is WAI: the proxy probably should be in the business of guessing whether non-canonical versions are stable, or in eagerly refreshing all version aliases.
@myitcv can you expand on how you happened to encounter this and/or the problems it caused?

As the -x output shows, this involves the .info endpoint queries. The GOPROXY protocol spec reads:

<EMAIL_ADDRESS>... The Version field is required and must contain a valid, canonical version (see Versions). The $version in the request path does not need to be the same version or even a valid version; this endpoint may be used to find versions for branch names or revision identifiers. However, if $version is a canonical version with a major version compatible with $module, the Version field in a successful response must be the same.

Caching behavior when $version is non-canonical is unspecified.

@findleyr

I think this is WAI: the proxy probably should be in the business of guessing whether non-canonical versions are stable, or in eagerly refreshing all version aliases.

That's a good point re branches, I hadn't considered that. Thanks!

can you expand on how you happened to encounter this and/or the problems it caused?

Just in regular development, debugging an issue. I happened to restart my machine between these two debugging sessions, so used command history to re-run the go get. Was surprised it took quite so long, hence raised an issue to verify whether there was an issue here or not (like https://github.com/golang/go/issues/50158, https://github.com/golang/go/issues/53906, https://github.com/golang/go/issues/49916)
@hyangah

Caching behavior when $version is non-canonical is unspecified.

Thanks for confirming. It might not warrant an FAQ if this is the first time the question has been asked, so I'll leave to you to decide!
I'll close this as @findleyr confirmed things are working as intended here.


Unable to import trystero

hi, Please help me with an issue.
The following error is raised when i try to import trystero
Framework: sveltekit + vite
(node:29562) Warning: To load an ES module, set "type": "module" in the package.json or use the .mjs extension.
(Use `node --trace-warnings ...` to show where the warning was created)
6:24:07 pm [vite] Error when evaluating SSR module /src/routes/index.js: failed to import "trystero"
|- /home/kar/my/projects/mayasabha/node_modules/simple-peer-light/index.js:1171
export default Peer
^^^^^^

SyntaxError: Unexpected token 'export'
    at internalCompileFunction (node:internal/vm:73:18)
    at wrapSafe (node:internal/modules/cjs/loader:1178:20)
    at Module._compile (node:internal/modules/cjs/loader:1220:27)
    at Module._extensions..js (node:internal/modules/cjs/loader:1310:10)
    at Module.load (node:internal/modules/cjs/loader:1119:32)
    at Module._load (node:internal/modules/cjs/loader:960:12)
    at ModuleWrap.<anonymous> (node:internal/modules/esm/translators:169:29)
    at ModuleJob.run (node:internal/modules/esm/module_job:194:25)

6:24:07 pm [vite] Error when evaluating SSR module /src/routes/+page.svelte: failed to import "/src/routes/index.js"
|- /home/kar/my/projects/mayasabha/node_modules/simple-peer-light/index.js:1171
export default Peer
^^^^^^

SyntaxError: Unexpected token 'export'
    at internalCompileFunction (node:internal/vm:73:18)
    at wrapSafe (node:internal/modules/cjs/loader:1178:20)
    at Module._compile (node:internal/modules/cjs/loader:1220:27)
    at Module._extensions..js (node:internal/modules/cjs/loader:1310:10)
    at Module.load (node:internal/modules/cjs/loader:1119:32)
    at Module._load (node:internal/modules/cjs/loader:960:12)
    at ModuleWrap.<anonymous> (node:internal/modules/esm/translators:169:29)
    at ModuleJob.run (node:internal/modules/esm/module_job:194:25)

/home/kar/my/projects/mayasabha/node_modules/simple-peer-light/index.js:1171
export default Peer
^^^^^^

SyntaxError: Unexpected token 'export'
    at internalCompileFunction (node:internal/vm:73:18)
    at wrapSafe (node:internal/modules/cjs/loader:1178:20)
    at Module._compile (node:internal/modules/cjs/loader:1220:27)
    at Module._extensions..js (node:internal/modules/cjs/loader:1310:10)
    at Module.load (node:internal/modules/cjs/loader:1119:32)
    at Module._load (node:internal/modules/cjs/loader:960:12)
    at ModuleWrap.<anonymous> (node:internal/modules/esm/translators:169:29)
    at ModuleJob.run (node:internal/modules/esm/module_job:194:25)
/home/kar/my/projects/mayasabha/node_modules/simple-peer-light/index.js:1171
export default Peer
^^^^^^

SyntaxError: Unexpected token 'export'
    at internalCompileFunction (node:internal/vm:73:18)
    at wrapSafe (node:internal/modules/cjs/loader:1178:20)
    at Module._compile (node:internal/modules/cjs/loader:1220:27)
    at Module._extensions..js (node:internal/modules/cjs/loader:1310:10)
    at Module.load (node:internal/modules/cjs/loader:1119:32)
    at Module._load (node:internal/modules/cjs/loader:960:12)
    at ModuleWrap.<anonymous> (node:internal/modules/esm/translators:169:29)
    at ModuleJob.run (node:internal/modules/esm/module_job:194:25)

Node.js v18.18.0

@dmotz i can reproduce this with v0.14.0 too, am i doing something wrong ?

Looks like it's originating from this dependency https://www.npmjs.com/package/simple-peer-light

With SvelteKit, the issue is Node trying to execute the library when doing the server rendering. You can ensure Trystero is only loaded on the client-side like this:
import {onMount} from 'svelte'

onMount(async () => {
  const {joinRoom} = await import('trystero')

  const room = joinRoom({appId: 'your-app-id'}, 'the-room-name')

  room.onPeerJoin(peerId => console.log('peer joined', peerId))
})

Thanks a lot!


fix: Cast WS Connection Origin to undefined

Fix: Cast WS Connection Origin to undefined
URLSearchParams.get method returns null for params that are not defined, this results in the origin variable to be null, which leads to a crash in the React Native app when using sign client with the following error:
NSInvalidArgumentException: -[NSNull length]: unrecognized selector sent to instance 0x7ff84002f610

The crash only occured on only iOS devices with only specific builds, but still, this causes a crash.
This change ensures that the origin is undefined if not provided and prevents the app from crashing due to the null value.

hey @ugur-eren 👋 i see you are using the sign-sdk directly and that's why the origin is undefined.
Can you try installing @walletconnect/react-native-compat in your app and check if it solves the crash?

Hi @ignaciosantise I've tried @walletconnect/react-native-compat before debugging and finding the issue. AFAIK there is no problem origin being not defined. But it returns null when it is not defined, and it causes the error. I've locally built and tested my app with my changes, it works without a problem when casted to undefined instead of null.

Hi @ignaciosantise I've created an example snack, you can try on your iOS device: https://snack.expo.dev/@truetiem/747c9a

Hi @ignaciosantise Sorry for inconvenience, I don't know what happened when I tried out the @walletconnect/react-native-compat for the first time (probably forgot to import it...). But I've tried again now, and it totally works!


Harmonize programmer selection in flash step

Currently, every platform has its own logic to select which openocd programmer to use. It might make sense to merge this together, as it is not really platform dependent (actually only depending on usb devices connected). This would also help in cases like #230, as you can just fix this quickly for all cases (btw: shouldn't you be able to program every st nucleo/discovery board with some st-link device?).
I am willing to create a PR for this soon.

Hello @RobertWilbrandt, I also think that flashing scripts can be highly improved but we have had not time to polish them.
If you propose some PR it would be awesome! Thanks a lot.


Add ability for admins to filter activities by displayName or email

Is your feature request related to a problem? Please describe.
Describe the solution you'd like
Describe alternatives you've considered
Additional context

Fixed with last PR


python3Packages.identify: 2.4.5 -> 2.4.6

Motivation for this change
Update to latest usptream release 2.4.6
Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
22.05 Release Notes (or backporting 21.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[x] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 157204 run on x86_64-linux 1

3 packages built:

pre-commit
python310Packages.identify
python39Packages.identify


Lookup JSX namespace within factory function

This allows you to mix the types for multiple jsx factories in one compilation in a similar way to how you can now mix factory functions. What this change does is look for an exported JSX namespace under the "react namespace" of the factory function. What this means is that if the factory function is React.createElement, we'll look for React.JSX. If the factory function is p, we'll look for p.JSX. If a local JSX namespace cannot be found, we still fallback to the global one, if present. This does not change how we discover any JSX types beyond looking for them in an additional location.
An an example, react's core exports can now be defined like so:
export function createElement<P>(/*complex types*/): Component<P>;
export namespace createElement {
    export namespace JSX {
        interface Element extends ReactElement<any> {}
        interface ClassElement extends Component<any> {}
        // ... and so on
    }
}

and you get everything you need on the consuming end with your standard
import * as React from "react";
export const MyComponent = (p: {x?: number, y?: number}) => <h1>/*...*/</h1>;

With this change, a JSX package no longer needs to pollute the global scope with types that can conflict with other packages. 😄
Fixes #18131
IMHO, this elegantly solves the aliasing problem posed in the original issue (we're just doing the lookup inside the factory function's namespace, rather than trying to trace back into the file it came from and looking beside it)

@weswigham can you share perf numbers on one of our RWC jsx code bases comparing to before https://github.com/Microsoft/TypeScript/pull/21218, to https://github.com/Microsoft/TypeScript/pull/21218 + this change.

:+1: :-1:?

Very nice


Add requirements for anaconda

https://bugzilla.redhat.com/show_bug.cgi?id=1697339

"Error: Operation cannot be fulfilled on openshiftwebconsoleconfigs.webconsole.operator.openshift.io \"instance\": the object has been modified; please apply your changes to the latest version and try again"],

what?!

hopefully, my PR will fix the issue ^

@TomasTomecek I've rebased -- can we merge?


Style: Fix the code in accordance to cpplint

Fix/Ignored 70 style issues according to cpplint, majorly styles and
formatting issues. This commit also adds const keyword to references
inputs of the following method and function:
KalmanFilter::Init
tools.cpp/check_files
cpplint is a tool for linting C++ code according to Google C++ style
guide, and can be installed using:
pip install cpplint

The changes here look nice for improving the formatting, but could the conflicts be cleared up first?

Sure, it seems some other PRs that was merge conflicted with the version. I'll do it now.

It seems that there are a lot of changes in the main.cpp, and since I have finished my project, I cannot test if my changes are good. I'll just close this PR.


Node version is old

Node version on docker instance is 9.11.1 but Strapi recommends 10.x.x . If you try to put in a ticket on the strapi github one of the requirements is that you're using the latest version of node.

Hello @donaldr Can you submit a PR with node version update please.


Set the package available on Packagist

And change the link in the MIT licence badge on the README.md file.

Done


Host refactor

Closes #1373.
Sorry about the huge diff :sob:
Major points:

Sampi is totally removed, each host only cares about its own state
Flannel and discoverd send webhooks to flynn-host when starting to configure
There is no layer 0 bootstrap, the flynn-host bootstrap command is responsible for starting everything
flynn-discovery replaces etcd discovery

LGTM !!!


chore: Add CI integration

This PR adds Travis and Coveralls integration into the repo.

Changes Unknown when pulling 3e03aaa9a92af5ea978d0b5774eb1c12eba984f5 on chore/add-travis-integration into ** on master**.

Changes Unknown when pulling 3e03aaa9a92af5ea978d0b5774eb1c12eba984f5 on chore/add-travis-integration into ** on master**.


The sidebar lacks Save and Open File buttons.

VSCode Version: 1.5.0-insider
OS Version: Windows 10

The two most basic, most used functions are missing buttons on the sidebar, and yet there's plenty of space and there's even an "Extensions" button. How times does anybody use that? Reminds me of the old Photoshop UI.

No plans to add buttons in the sidebar. I think the top level menu is the right place for those. And there is a "Save All" button in the explorer "Opened Editors" view.


feat(analytics): add analytics on noResult and documentOpen

Proposed Changes
https://coveord.atlassian.net/browse/UITOOL-402
Adding analytics on No result after using the search bar and on document open in the search results.
More analytics will come in another pr when I change the search bar for the Atomic one :eyes:
Potential Breaking Changes
None
Acceptance Criteria

[ ] The proposed changes are covered by unit tests
[ ] The potential breaking changes are clearly identified
[ ] README.md is adjusted to reflect the proposed changes (if relevant)

oops :see_no_evil:


false positive on NoUnused.Variables with shadowing

Hi, I love elm-review. Helpful. Thanks!
Describe the bug
NoUnused.Variables reports false positive with shadowing.
SSCCE (Short Self-Contained Correct Example)
target code:
import Html exposing (Html, label, text)

list : List (Html msg)
list =
    [ label [] []
    , Maybe.map
        (\label ->
            text label
        )
        (Just "string")
        |> Maybe.withDefault (text "")
    ]

result:
-- ELM-REVIEW ERROR ------------------- src/UnusedVariableFalsePositive.elm:3:29

(fix) NoUnused.Variables: Imported variable `label` is not used

3| import Html exposing (Html, label, text)
                               ^^^^^

You should either use this value somewhere, or remove it at the location I
pointed at.

reports same result with let in expression:
import Html exposing (Html, label, text)

list : List (Html msg)
list =
    [ label [] []
    , let
        label =
            "string"
      in
      text label
    ]

Of course, reports with not imported value, too. But elm make reports shadowing.
a : String
a =
    "string"
list : List String
list =
    [ a
    , Maybe.map (\a -> a)
        (Just "shadowing")
        |> Maybe.withDefault ""
    ]

reports:
(fix) NoUnused.Variables: Top-level variable `a` is not used

29| a : String
30| a =
    ^
31|     "string"

You should either use this value somewhere, or remove it at the location I
pointed at.

elm make reports:
-- SHADOWING ------------------------------- src/UnusedVariableFalsePositive.elm

The name `a` is first defined here:

30| a =
    ^
But then it is defined AGAIN over here:

37|     , Maybe.map (\a -> a)
                      ^
Think of a more helpful name for one of them and you should be all set!

Note: Linters advise against shadowing, so Elm makes “best practices” the
default. Read <https://elm-lang.org/0.19.1/shadowing> for more details on this
choice.

Expected behavior
no report.
But I avoid shadowing, change variable names. Improved code.
Additional context
elm-review CLI version: 2.6.1
"jfmengels/elm-review": "2.6.1"
"jfmengels/elm-review-unused": "1.1.19"

Hi @miyamoen
Thank you for the helpful issue! I think I have fixed the issue on master. Could you try out the following command to see if my fix solved yur issue? If so, I will release the fix ASAP :)
elm-review --template jfmengels/elm-review-unused/preview --rules NoUnused.Variables

(You may need to use --ignore-dirs / --ignore-files if you ignored parts of your project in your review configuration)

My code passed new NoUnused.Variables rule. Moreover it found some other unused imported functions.
Thank you for your works!

Perfect, thank you @miyamoen!
I have released the fix in v1.1.20.


"size" attribute has no affect when using 100% width

Setting the size attribute appears to have no effect in v2.9.4 when the width is set to 100%.
e.g. <img data-src="holder.js/100px77?size=10">
http://jsfiddle.net/1zst8z1L

good point, i think the size is set automatically when the width is a percentage


How to trace the URL's which are used only from the browsers?

Hi Team,
We are trying to get the URL's only from the browser and redirect it to other sites. But, we are getting the the URL's from the windows applications like skype etc. How do we trace URL's only from the browsers?

Hi,
You can get the processId of the client with the SessionEventArgs.HttpClient.ProcessId.Value property. You can get the process with the reqular .net method: Process.GetProcessById, and ocmpare it with chrome.exe, firefox, etc...
Of course it works only when the browser is on the same machine where the TWP proxy is running.

Hi @honfika,
There are more number of browsers available in the market as of now. For example: Chrome, Firefox, Edge, Opera, Brave etc. (Attached image for your reference). We'll not be able to list out all the browsers. In this scenario, how do we handle this? can you give some more details on this issue?

You cannot handle this.. I thought you know which browser you use...
For example is it a browser if you create a "application1.exe" which has a web broswer control in it? So it is impossible to handle all browsers... for the proxy the "browser" and "non-browser" is the same... just an application which sends the request...

I forgot to mention that the ProcessId is supported only in Windows... so if you detect Chrome, Firefox, IE and Edge, you will support 98+% of all browsers....

Thanks for the instant help @honfika. I have used UA parser package to get the User Agent name and segregated the URL's.


Integration with pkgsettings

Notes

I'd like to first merge https://github.com/kpn/py-pkgsettings/pull/19
This would not be a drop-in replacement for bind(). Only a limited subset of settings for most typical use cases would be supported

Links

pkgsettings

The future of pkgsettings is not clear. Let's keep it simple for now and try to avoid it.


[Suggestion] Create searchable docs

Is your feature request related to a problem? Please describe.
Having a standard library for js sounds great, but Currently, It's not obvious in which part of std a method or utility might be. having a searchable document helps me and many others find the thing we need from std much faster.
Describe the solution you'd like
a client side PWA hosted on GitHub pages would suffice in my opinion.
Describe alternatives you've considered
without a search, looking at https://jsr.io/@std is time consuming, and one might miss the thing they need because the library is big

The solution here is to simply improve search on JSR, and there are already ongoing efforts to do so. If you'd like to help, I suggest helping out with those efforts. Either way, thank you for the suggestion.


[BUG][DATA] Tests dates error

Describe the bug
The column YYYYMMDD and date in covid19za_timeline_testing.csv does not agree in all cases. See e.g.
07-03-2020 | 20200306
I'm not sure what the significance of the two columns are?
Don't see the same problem in covid19za_timeline_confirmed.csv
To Reproduce
Steps to reproduce the behavior:
Go to https://github.com/dsfsi/covid19za/blob/master/data/covid19za_timeline_testing.csv

Thank you fixed. It can impact downstream data products.


Increase StackInfoCacheSize to 128K

Reduces the number of cases where AddSample falls back to searching for nodes.

@sharwell this change makes sense, but I would like to understand its impact.  Do you have data to show how much better this is?

I'm going to go ahead and close this one.  I think that this would help with heap dump viewing, but will likely hurt other scenarios.  I've seen cases lately where large amounts of memory have been taken up by stack caches, and I want to avoid making this worse.  If we do need this for memory analysis, then we should look into making this configurable.

I'm going to go ahead and close this one.  I think that this would help with heap dump viewing, but will likely hurt other scenarios.  I've seen cases lately where large amounts of memory have been taken up by stack caches, and I want to avoid making this worse.  If we do need this for memory analysis, then we should look into making this configurable.


Error in getThreadList

It was working perfectly and then all of a sudden it broke down with the following errors.
ERR! Error in getThreadList TypeError: Cannot read property 'replace' of null ERR! Error in getThreadList     at formatThread (E:\svoya_igra_js\node_modules\facebook-chat-api\utils.js:575:39) ERR! Error in getThreadList     at Array.map (native) ERR! Error in getThreadList     at E:\svoya_igra_js\node_modules\facebook-chat-api\src\getThreadList.js:37:55 ERR! Error in getThreadList     at tryCatcher (E:\svoya_igra_js\node_modules\bluebird\js\main\util.js:26:23) ERR! Error in getThreadList     at Promise._settlePromiseFromHandler (E:\svoya_igra_js\node_modules\bluebird\js\main\promise.js:507:31) ERR! Error in getThreadList     at Promise._settlePromiseAt (E:\svoya_igra_js\node_modules\bluebird\js\main\promise.js:581:18) ERR! Error in getThreadList     at Promise._settlePromises (E:\svoya_igra_js\node_modules\bluebird\js\main\promise.js:697:14) ERR! Error in getThreadList     at Async._drainQueue (E:\svoya_igra_js\node_modules\bluebird\js\main\async.js:123:16) ERR! Error in getThreadList     at Async._drainQueues (E:\svoya_igra_js\node_modules\bluebird\js\main\async.js:133:10) ERR! Error in getThreadList     at Immediate.Async.drainQueues [as _onImmediate] (E:\svoya_igra_js\node_modules\bluebird\js\main\async.js:15:14) ERR! Error in getThreadList     at processImmediate [as _immediateCallback] (timers.js:383:17) ERR! Error in getThreadList  [TypeError: Cannot read property 'replace' of null] [TypeError: Cannot read property 'replace' of null]
The error is happening here.
return callback(null, resData.payload.threads.map(utils.formatThread));

Ok, the problem occurs if you have a thread where someone gets added to the chat and the last message is
_someone_ added _someone_.
After adding a new message to the thread, the problem disappeared.

I'm having this same issue, but there are no conversations where the last message matches what was mentioned above.

Same happened after someone had left the chat (before there were any new messages).

I believe this is due to snippetSender being null in this case.
This should be a resolved issue in master, we just need to push a new version to npm.  If you could update to the master branch and verify it solves your issue, that would be great.

This fix should now be in 1.0.7


Delete ES cluster, cron still runs

After a cluster is deleted (deleting the TPR), the cron will still run.

This is complete in #68


Use current Web Audio API (for mobile and desktop Safari compatibility)

This is a great project. As you might have seen, WebRTC is coming to Safari this fall. I thought I'd give the tuner a try with Safari 11 Technology Preview. Problems are Safari implements the current WebRTC API, which isn't compatible OOTB with the tuner.

navigator.mediaDevices.getUserMedia is used rather than the legacy navigator.getUserMedia
no implementation of AnalyserNode.getFloatTimeDomainData() is provided
getUserMedia is a promise

I had a go at it. I don't have more time to dedicate to this for the time being, so I thought I'd share what I have. I'm mostly using two shims. Thanks to them the tuner now runs in Safari, but it doesn't seem to be as accurate as with other browsers. (I say 'seem' because it's late here and I can't test it as I'd like to.)
What do you think?

It's actually working fine in OS X Safari. Yay! I don't have an iPhone to test it with, though.

(I can't sign the CLA with my corporate Google account, and I don't have a personal one, so if somebody wants to go ahead with this PR, feel free to take my work and I'll close this one.)


Feature Request: Search Bar and Preview Section

simple implementation of a search bar and a "preview section" similar to the layout in the screenshot below helps for not having to tooltip each clipboard entry and locating something quickly. Maybe it can be options to turn on/off? Love the program and its elegance regardless. Cheers.

Yes, please!!!!! ❤


Landing page

Hello,
I modified my custom phishlets, when starting evilginx2 no errors its all good.
But i have one quiestion: when loading phishing url it redirect directly to original domain. So evilginx2 tracked nothing, just directly redirecting me to the original page?
Any suggestions how to fix?


Using Admin Bro for Pages and Sections

Hi guys.  I was wondering if it would make sense to have a type of model which will only have one record.  Example: I have homepage which has unique properties and a support page that has unique properties.  See images below of some pages and then some images of how this instance of Django CMS handles it. Maybe we could do something similar for Admin Bro.

It is more like a CMS thing - AdminBro serves a slightly different purpose. Maybe someday there will be a plugin to AdminBro which behaves as you described. But for sure not this year.