cannot install extension 'dbms'

I'm trying to install Azure Database for PostgreSQL
As part of installation there's a step to complete:
az extension add --name rdbms
It fails with an error:
root@Alexey-HP:~# az extension add --name rdbms --debug
Command arguments: ['extension', 'add', '--name', 'rdbms', '--debug']
Event: Cli.PreExecute []
Event: CommandParser.OnGlobalArgumentsCreate [<function CLILogging.on_global_arguments at 0x7f2ecebeeb70>, <function OutputProducer.on_global_arguments at 0x7f2ece705840>, <function CLIQuery.on_global_arguments at 0x7f2ece28e378>]
Event: CommandInvoker.OnPreCommandTableCreate [<function CLILogging.remove_logger_flags at 0x7f2ecebeebf8>]
Installed command modules ['acr', 'acs', 'advisor', 'appservice', 'backup', 'batch', 'batchai', 'billing', 'cdn', 'cloud', 'cognitiveservices', 'configure', 'consumption', 'container', 'cosmosdb', 'dla', 'dls', 'eventgrid', 'eventhubs', 'extension', 'feedback', 'find', 'interactive', 'iot', 'keyvault', 'lab', 'monitor', 'network', 'profile', 'rdbms', 'redis', 'reservations', 'resource', 'role', 'servicebus', 'servicefabric', 'sql', 'storage', 'vm']
Loaded module 'acr' in 0.005 seconds.
Loaded module 'acs' in 0.005 seconds.
Loaded module 'advisor' in 0.003 seconds.
Loaded module 'appservice' in 0.008 seconds.
Loaded module 'backup' in 0.005 seconds.
Event: CommandLoader.OnLoadCommandTable []
Loaded module 'batch' in 0.013 seconds.
Loaded module 'batchai' in 0.005 seconds.
Loaded module 'billing' in 0.004 seconds.
Event: CommandLoader.OnLoadCommandTable []
Loaded module 'cdn' in 0.004 seconds.
Loaded module 'cloud' in 0.003 seconds.
Loaded module 'cognitiveservices' in 0.003 seconds.
Loaded module 'configure' in 0.002 seconds.
Loaded module 'consumption' in 0.004 seconds.
Loaded module 'container' in 0.003 seconds.
Loaded module 'cosmosdb' in 0.007 seconds.
Loaded module 'dla' in 0.006 seconds.
Loaded module 'dls' in 0.005 seconds.
Loaded module 'eventgrid' in 0.004 seconds.
Loaded module 'eventhubs' in 0.005 seconds.
Loaded module 'extension' in 0.002 seconds.
Loaded module 'feedback' in 0.002 seconds.
Loaded module 'find' in 0.002 seconds.
Loaded module 'interactive' in 0.001 seconds.
Loaded module 'iot' in 0.010 seconds.
Loaded module 'keyvault' in 0.007 seconds.
Loaded module 'lab' in 0.011 seconds.
Loaded module 'monitor' in 0.008 seconds.
Loaded module 'network' in 0.028 seconds.
Loaded module 'profile' in 0.007 seconds.
Loaded module 'rdbms' in 0.008 seconds.
Loaded module 'redis' in 0.009 seconds.
Loaded module 'reservations' in 0.004 seconds.
Loaded module 'resource' in 0.008 seconds.
Loaded module 'role' in 0.007 seconds.
Loaded module 'servicebus' in 0.009 seconds.
Loaded module 'servicefabric' in 0.004 seconds.
Loaded module 'sql' in 0.008 seconds.
Event: CommandLoader.OnLoadCommandTable []
Loaded module 'storage' in 0.045 seconds.
Loaded module 'vm' in 0.019 seconds.
Loaded all modules in 0.290 seconds. (note: there's always an overhead with the first module loaded)
Extensions directory: '/root/.azure/cliextensions'
Event: CommandInvoker.OnPreCommandTableTruncate []
Event: CommandInvoker.OnPostCommandTableCreate [<function add_id_parameters at 0x7f2ecc02f158>]
Event: CommandInvoker.OnCommandTableLoaded []
Event: CommandInvoker.OnPreParseArgs [<function _documentdb_deprecate at 0x7f2ecbe697b8>]
Event: CommandInvoker.OnPostParseArgs [<function OutputProducer.handle_output_argument at 0x7f2ece7058c8>, <function CLIQuery.handle_query_parameter at 0x7f2ece28e400>, <function handler at 0x7f2ecbd99d08>]
Extensions directory: '/root/.azure/cliextensions'
urllib3.connectionpool : Starting new HTTPS connection (1): aka.ms
urllib3.connectionpool : https://aka.ms:443 "GET /azure-cli-extension-index-v1 HTTP/1.1" 301 186
urllib3.connectionpool : Starting new HTTPS connection (1): azurecliextensionsync.blob.core.windows.net
urllib3.connectionpool : https://azurecliextensionsync.blob.core.windows.net:443 "GET /index1/index.json HTTP/1.1" 200 29786
Candidates ['rdbms-0.0.5-py2.py3-none-any.whl']
Candidates ['rdbms-0.0.5-py2.py3-none-any.whl']
Candidates ['rdbms-0.0.5-py2.py3-none-any.whl']
Candidates ['rdbms-0.0.5-py2.py3-none-any.whl']
Choosing the latest of the remaining candidates.
Chosen {'filename': 'rdbms-0.0.5-py2.py3-none-any.whl', 'sha256Digest': '2b587493a8e10738bb6f3f82cf9e26ebf32a509c162f7093b4cb8e99aff5072f', 'downloadUrl': 'https://prodrdbmsclipackages.blob.core.windows.net/cliextensions/rdbms-0.0.5-py2.py3-none-any.whl', 'metadata': {'classifiers': ['Development Status :: 4 - Beta', 'Intended Audience :: Developers', 'Intended Audience :: System Administrators', 'Programming Language :: Python', 'Programming Language :: Python :: 2', 'Programming Language :: Python :: 2.7', 'Programming Language :: Python :: 3', 'Programming Language :: Python :: 3.4', 'Programming Language :: Python :: 3.5', 'Programming Language :: Python :: 3.6', 'License :: OSI Approved :: MIT License'], 'extensions': {'python.details': {'contacts': [{'email'<EMAIL_ADDRESS>'name': 'Rohit Joy', 'role': 'author'}], 'document_names': {'description': 'DESCRIPTION.rst'}, 'project_urls': {'Home': 'https://github.com/Azure/azure-cli-extensions'}}}, 'generator': 'bdist_wheel (0.29.0)', 'license': 'MIT', 'metadata_version': '2.0', 'name': 'rdbms', 'summary': 'An Azure CLI Extension providing support for Azure MySQL and Azure PostgreSQL.', 'version': '0.0.5'}}
Extension source is url? True
Extensions directory: '/root/.azure/cliextensions'
Downloading https://prodrdbmsclipackages.blob.core.windows.net/cliextensions/rdbms-0.0.5-py2.py3-none-any.whl to /tmp/tmphzwofsn9/rdbms-0.0.5-py2.py3-none-any.whl
urllib3.connectionpool : Starting new HTTPS connection (1): prodrdbmsclipackages.blob.core.windows.net
urllib3.connectionpool : https://prodrdbmsclipackages.blob.core.windows.net:443 "GET /cliextensions/rdbms-0.0.5-py2.py3-none-any.whl HTTP/1.1" 200 150104
Downloaded to /tmp/tmphzwofsn9/rdbms-0.0.5-py2.py3-none-any.whl
Validating the extension /tmp/tmphzwofsn9/rdbms-0.0.5-py2.py3-none-any.whl
Checksum of /tmp/tmphzwofsn9/rdbms-0.0.5-py2.py3-none-any.whl is OK
Extension compatibility result: is_compatible=True cli_core_version=2.0.30 min_required=None max_required=None
Validation successful on /tmp/tmphzwofsn9/rdbms-0.0.5-py2.py3-none-any.whl
Linux distro check: Reading from: /etc/apt/sources.list.d/azure-cli.list
Linux distro check: Found in list file: trusty
Linux distro check: Reported by API: trusty
Executing pip with args: ['install', '--target', '/root/.azure/cliextensions/rdbms', '/tmp/tmphzwofsn9/rdbms-0.0.5-py2.py3-none-any.whl']
Running: ['/opt/az/bin/python3', '-m', 'pip', 'install', '--target', '/root/.azure/cliextensions/rdbms', '/tmp/tmphzwofsn9/rdbms-0.0.5-py2.py3-none-any.whl', '-vv', '--disable-pip-version-check', '--no-cache-dir']
Traceback (most recent call last):
File "/opt/az/lib/python3.6/runpy.py", line 183, in _run_module_as_main
mod_name, mod_spec, code = _get_module_details(mod_name, _Error)
File "/opt/az/lib/python3.6/runpy.py", line 142, in _get_module_details
return _get_module_details(pkg_main_name, error)
File "/opt/az/lib/python3.6/runpy.py", line 109, in _get_module_details
import(pkg_name)
File "/opt/az/lib/python3.6/site-packages/pip/init.py", line 28, in
from pip.vcs import git, mercurial, subversion, bazaar  # noqa
File "/opt/az/lib/python3.6/site-packages/pip/vcs/mercurial.py", line 9, in
from pip.download import path_to_url
File "/opt/az/lib/python3.6/site-packages/pip/download.py", line 36, in
from pip.utils.glibc import libc_ver
File "/opt/az/lib/python3.6/site-packages/pip/utils/glibc.py", line 4, in
import ctypes
File "/opt/az/lib/python3.6/ctypes/init.py", line 7, in
from _ctypes import Union, Structure, Array
ImportError: libffi.so.5: cannot open shared object file: No such file or directory
Command '['/opt/az/bin/python3', '-m', 'pip', 'install', '--target', '/root/.azure/cliextensions/rdbms', '/tmp/tmphzwofsn9/rdbms-0.0.5-py2.py3-none-any.whl', '-vv', '--disable-pip-version-check', '--no-cache-dir']' returned non-zero exit status 1.
Pip failed so deleting anything we might have installed at /root/.azure/cliextensions/rdbms
An error occurred. Pip failed with status code 1. Use --debug for more information.
root@Alexey-HP:~#

Environment summary
Install Method (e.g. pip, interactive script, apt-get, Docker, MSI, edge build) / CLI version (az --version) / OS version / Shell Type (e.g. bash, cmd.exe, Bash on Windows)

azure-cli (2.0.30)
Microsoft Windows [Version 10.0.17110.1000]
Bash on Windows

@derekbekoe packaging issue, extensions?

Please take a look at https://github.com/Azure/azure-cli-extensions/issues/65#issuecomment-366270381
Does the package of azure-cli you have match your distro? You can run dpkg -s azure-cli to check.

root@Alexey-HP:~# dpkg -s azure-cli
Package: azure-cli
Status: install ok installed
Priority: extra
Section: python
Installed-Size: 279569
Maintainer: Azure Python CLI Team<EMAIL_ADDRESS>Architecture: all
Version: 2.0.30-1~wheezy
Depends: libc6 (>= 2.9), libssl1.0.0 (>= 1.0.1)
Conffiles:
/etc/bash_completion.d/azure-cli c84398bd5fcef515a11afad8f1a7827e
Description: Azure CLI 2.0
A great cloud needs great tools; we're excited to introduce Azure CLI 2.0,
our next generation multi-platform command line experience for Azure.
Homepage: https://github.com/azure/azure-cli
root@Alexey-HP:~# cat /etc/issue
Ubuntu 14.04.5 LTS \n \l
root@Alexey-HP:~# lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 14.04.5 LTS
Release:        14.04
Codename:       trusty

Okay so you have wheezy but your distro is trusty.
Verify that the distro in /etc/apt/sources.list.d/azure-cli.list is correct the you can run apt-get update.

root@Alexey-HP:~# cat /etc/apt/sources.list.d/azure-cli.list
deb [arch=amd64] https://packages.microsoft.com/repos/azure-cli/ trusty main
root@Alexey-HP:~#
I had to change it from 'wheezy' tp 'trusty' after first run of 'az extension add ...' due to the error message of wrong 'wheezy' in /etc/apt/sources.list.d/azure-cli.list
But after that I got the subject issue

@alexeyshishkin01 After making the change to azure-cli.list, you should run apt-get update.
According to the last comment, it seems you had wheezy defined before but in the logs of your first comment, it says:
Linux distro check: Reading from: /etc/apt/sources.list.d/azure-cli.list
Linux distro check: Found in list file: trusty
Linux distro check: Reported by API: trusty

If it works now, great. However, I cannot reproduce it with ubuntu:trusty here.

hope I'm not adding noise @derekbekoe, but same here with another extensions (azure-devops). In my case was wheezy but xenial.
After running https://github.com/Azure/azure-cli/issues/6019#issuecomment-379987830 I got it working.
IIRC, originally I followed the instructions via apt https://docs.microsoft.com/en-us/cli/azure/install-azure-cli-apt?view=azure-cli-latest
$lsb_release -a
Distributor ID: Ubuntu
Description:	Ubuntu 16.04.6 LTS
Release:	16.04
Codename: xenial

$uname -a
Linux ubuntu 4.4.0-143-generic #169-Ubuntu

$dpkg -s azure-cli
Package: azure-cli
Status: install ok installed
Priority: extra
Section: python
Installed-Size: 377285
Maintainer: Azure Python CLI Team<EMAIL_ADDRESS>Architecture: all
Version: 2.0.60-1~wheezy
Depends: libc6 (>= 2.9), libssl1.0.0 (>= 1.0.1)
Conffiles:
 /etc/bash_completion.d/azure-cli c84398bd5fcef515a11afad8f1a7827e
Description: Azure CLI
 A great cloud needs great tools; we're excited to introduce Azure CLI,
 our next generation multi-platform command line experience for Azure.
Homepage: https://github.com/azure/azure-cli


Update companies.yml

Adds or updates the following companies, events, or universities:

Checklist
Company updates

[ ] I have put the most recent relevant date in the "Last Update" column
[ ] I have linked to the article about the change, not the company's homepage (Please put N/A if there is no public post)

Event updates

[ ] I have linked to the article about the change, not the event's homepage

University updates

[ ] I have linked to the article about the change, not the university's homepage

Please follow the format of the rest of the file. Feel free to re-open after fixes, thanks for your patience.


[containerfile] optimize image size

Try to fix https://github.com/RedHatProductSecurity/rapidast/issues/164.
What changed:

Use multi-stage builds

stage deps for prepare dependencies artifact
main stage will COPY --from=deps

Minimize image layers

Merge multiple lines of RUN/COPY into one

Remove cache after packages installed, commands like:

microdnf clean all -y && rm -rf /var/cache/dnf /tmp/*
add flag --setopt=install_weak_deps=0 to microdnf install
add flag --no-cache-dir to pip3 install

What didn't change:

Didn't introduce breaking changes; just make some updates to chores.

After this implementation, the size will be reduced from 1.24GB to 671MB.

kindly cc @jeremychoi @cedricbu

Thanks @lunarwhite for this contribution. Looks great!


custom name server port

The issue tracker is ONLY used for bug report(feature request need to follow RIP process). Keep in mind, please check whether there is an existing same report before your raise a new one.
Alternately (especially if your communication is not a bug report), you can send mail to our mailing lists. We welcome any friendly suggestions, bug fixes, collaboration and other improvements.
Please ensure that your bug report is clear and that it is complete. Otherwise, we may be unable to understand it or to reproduce it, either of which would prevent us from fixing the bug. We strongly recommend the report(bug report or feature request) could include some hints as the following:
BUG REPORT

Please describe the issue you observed:

What did you do (The steps to reproduce)?

What did you expect to see?

Can I choose the port on nameServer by myself.
I hope it is configurable.
We may be able to configure it in args or system.properties.
If it feels good, I can do that.

What did you see instead?

Please tell us about your environment:

Other information (e.g. detailed explanation, logs, related issues, suggestions how to fix, etc):

FEATURE REQUEST

Please describe the feature you are requesting.

Provide any additional detail on your proposed use case for this feature.

Indicate the importance of this issue to you (blocker, must-have, should-have, nice-to-have). Are you currently using any workarounds to address this issue?

If there are some sub-tasks using -[] for each subtask and create a corresponding issue to map to the sub task:

sub-task1-issue-number: sub-task1 description here,
sub-task2-issue-number: sub-task2 description here,
...

once modify,all configuration will needs to be configurable.

@jzdayz you can try to start the nameserver with the -c subcommand, eg. -c conf/namesrv.properties, set  listenPort to  you want to use in this configuration file.

@jzdayz you can try to start the nameserver with the -c subcommand, eg. -c conf/namesrv.properties, set listenPort to you want to use in this configuration file.

thanks,i found that


Integration with swoole

Hello
Swoole is an Event-driven asynchronous & concurrent & coroutine networking engine with high performance for PHP.
Here is Github repository https://github.com/swoole/swoole-src
There is some advantage over workerman , So I want to replace GatewayWorker with swoole but I want to connect swoole to register and business worker , How is possible?
I want to keep all GatewayWorker features like Distributed deployment
Best Regards

You can try to implement GatewayWorker with swoole.


Install Jenkins plugins with their new Plugin Installation Manager Tool for Jenkins

The new Jenkins approach for installing plugins is with using this tool: https://github.com/jenkinsci/plugin-installation-manager-tool
instead of installation using bash scripts.
Nowadays they run this script that picks up Plugin Installation Manager Tool: https://github.com/jenkinsci/docker/blob/master/jenkins-plugin-cli.sh
I myself locally modified your Docker file to this:
RUN PLUGIN_CLI_URL="https://github.com/jenkinsci/plugin-installation-manager-tool/releases/download/${PLUGIN_CLI_VERSION}/jenkins-plugin-manager-${PLUGIN_CLI_VERSION}.jar" && \
    curl -fsSL ${PLUGIN_CLI_URL} -o /opt/jenkins-plugin-manager.jar && \
    /usr/local/bin/jenkins-plugin-cli.sh -l -w ${JENKINS_WAR} -f /opt/openshift/bundle-plugins.txt -d /opt/openshift/plugins/

Please feel free to submit a pull request and we will review it.

/assign @divyansh42 @mbharatk
Can one of you please investigate using this tool instead of our current process?
What are the pros/cons etc.

Hi @coreydaley
If you ask me, I moved to this tool personally because bash scripts did not install the correct plugin versions in some cases when there were some complex version naming like in 5.12.2-193.v26a_6078f65a_9.

/lifecycle frozen

/lifecycle frozen

/assign @coreydaley

/unassign @divyansh42 @mbharatk

/close


Fix Masonry vertical splits

The vertical splits were calculated wrong

Coverage remained the same at 56.498% when pulling e209b5c881cb4a6b552103ee6e956707cb68d0ef on dev into 28cbb3aa4c73760d0b792064968f54fd3b3c977a on master.


haste now support files

Fixed issue with haste command trying to upload no data
Added support for directory uploads, toggleable in config.json

Thanks!


Empty lines are removed when converted

Empty lines are removed when converted

This can be an issue with editorjs, this library will parse any data that is provided to plain HTML. Also, do remember, HTML itself does not reserve newlines or spaces. You will need to manage that via CSS.


feat: update @dimforge/rapier3d-compat to 0.12.0

Description

Update @dimforge/rapier3d-compat from 0.11.2 to 0.12.0

see changelog: https://github.com/dimforge/rapier.js/blob/master/CHANGELOG.md#0120-2024-01-28

This PR is a WIP - feel free to push over me 🙂

Using the spring joint throws an exception, needs investigation

I haven't created any api for DynamicRayCastVehicleController in this PR

Changes

Update <Physics /> props per world configuration properties added and removed in 0.12.0
Add joint hooks for new joints introduced in 0.12.0

useSpringJoint, useRopeJoint

Added examples for new spring and rope joints

Would be good to flesh out the rope joint example
The spring joint example doesn't work yet - need to investigate

Checklist:

[ ] 🔍 I have performed a self-review of my code
[ ] 💬 I have commented my code, particularly in hard-to-understand areas
[ ] 📗 I have made corresponding changes to the documentation
[ ] ⭐ My changes generate no new warnings
[ ] 🧪 I have added tests
[ ] 🟢 All new and existing unit tests pass

Hey @isaac-mason -  I love to see a feat already created! Springs would be very useful for a library I'm working on so I'm eager to help contribute and get r3-rapier up to date. I am going to spend some time diving into rapier.js and r3-rapier's codebase, and then pick up where you left off 👨💻 exciting times

Hey @0xtito!
If you're keen to help, there's a couple of things blocking this PR:

The spring hook doesn't work yet (see the new example). We need to investigate whether this is an issue here in rt/rapier or upstream in rapier.js

The rapier constraint solver got a big rework in the latest release. We need to do some testing to see how much this changes physics simulations when upgrading, and potentially write some upgrade docs

Hey @0xtito!
If you're keen to help, there's a couple of things blocking this PR:

The spring hook doesn't work yet (see the new example). We need to investigate whether this is an issue here in rt/rapier or upstream in rapier.js
The rapier constraint solver got a big rework in the latest release. We need to do some testing to see how much this changes physics simulations when upgrading, and potentially write some upgrade docs

Nice sounds good, I already tried to run this feat locally and have noticed some errors/bugs.
Regarding the Springs

The error message seems to be from rapier.js - similar to what you said, it'll take some digging to see if that is because we are failing to set some property or if the problem is deeper. I probably has to do with the new constraints solver, leading to your next point.

The rapier constraint solver

I have been spending most of the my time trying to understand the changes and see how r3-rapier initialized the original collider. There are some examples, like the Components and Cluster examples, that seem to break on collision, even though the the components have not been changed at all.

I'll continue to look into the changes between the old and new collider and make sure we are properly setting/updating the state

Small update - after having no real breakthroughs on figuring out whether this was truly a rapier/rapier.js problem, I decided to replicate the spring example they showed in the changelog, here, but with rapier.js.
And it worked!
https://github.com/pmndrs/react-three-rapier/assets/92818759/7547c10b-f267-4f52-8a0d-05bbb66a9285
Working with rapier.js and recreating this example has all but confirmed to me it is a problem which on our end (thankfully). It likely has to do with the the solver. Inside of the island solver, link, the init_and_step function has had an overhaul. (Last time this file was altered was 2 years ago, link to that commit here.
Out of the whole function, I think the most significant change is the following:
        counters.solver.velocity_resolution_time.resume();
        let num_solver_iterations = base_params.num_solver_iterations.get()
            + islands.active_island_additional_solver_iterations(island_id);

        let mut params = *base_params;
        params.dt /= num_solver_iterations as Real;
        params.damping_ratio /= num_solver_iterations as Real;

dt being divided by num_solver_iterations could be the reason why we are seeing significant frames drops in some of are components, notably those that have many/intensive collisions.
Why the spring is not working is an entirely other beast 😅
So here is what I am gonna be focusing on the next few days:

[ ] establish that the compat version of rapier3d is not causing the errors
[ ] test different approaches for how we are initiating each rapier step
[ ] find the source of the errors with the spring joint
[ ] ensure we are have added all the setters/getters for rigid bodies and colliders
[ ] create fleshed out examples for both the spring and rope joints

Sorry for the long comment, just wanted to get everything I have been doing down in one comment. If you guys have any thoughts/feedback on my analysis and approach for solving the problems, I am all ears!

Another update
Managed to get the figure out what was causing the error with the spring joints, it was just how it was being set. The order of how it is set (which is body1 vs body2) matters as well, as well as the location of where the rigidBodies are (I believe). I can do a little write up why that is tomorrow or monday, but my brain is all tapped out right now haha.
Still though, it does not completely work. I am using the same exact example as the one from rapier and rapier.js since they are good baseline, but collision detection isn't working properly. The values are the exact same as the other examples, thus  it seems all errors stem from the solver.
I have not commited anything yet since things still seem to be somewhat incomplete, but if you guys want to see how I've implemented it I can commit it.
Here is a video of the SpringsExample in action.
https://github.com/pmndrs/react-three-rapier/assets/92818759/61434543-b47e-4198-8e85-43b4a4318c93
P.S - Is there a reason why for every joint hook we are converting a Vector3Tuple into a THREE.Vector3? I do not see why it is necessary, since we are creating a new THREE Vector3, when all that is required is to turn it in a vec3 (or just a object with x,y,z as props)? I am passing the anchors as a vec3 and just passing that into rapier.JointData.spring, but if their is a good reason ofc I'll just change it back.

Thanks for the hard work put into this!
For the tuple conversions, are you specifically referring to rows like these?
https://github.com/pmndrs/react-three-rapier/blob/main/packages/react-three-rapier/src/hooks/joints.ts#L164
In those places, there's no benefit other than ease of use and normalization. Any suggestion for improvements are of course welcome.
There are a lot of improvements that I have been thinking of, but I haven't had time to make them a reality. I imagine a v2 where the Rapier lib can be dropped in allowing the user to use the non-compat version. And the eager initiation of imperative objects needs work to make it more compatible with other things.

No problem @wiledal! I'm getting a much better understanding of how rapier and r3-rapier are working under the hood so its been a joy.

For the tuple conversions, are you specifically referring to rows like these? https://github.com/pmndrs/react-three-rapier/blob/main/packages/react-three-rapier/src/hooks/joints.ts#L164 In those places, there's no benefit other than ease of use and normalization. Any suggestion for improvements are of course welcome.

Yes exactly, it seems unnecessarily resource intensive to create a three.js Vector3, when all that is need to is a obj with x, y, and z props. I can try to refactor parts of the code which could instead use vec3 and see if their are any noticeable performance bumps. Could add some tests as well

There are a lot of improvements that I have been thinking of, but I haven't had time to make them a reality. I imagine a v2 where the Rapier lib can be dropped in allowing the user to use the non-compat version.

I was wondering why we use the compat version. I have noticed that most downloads are from the compat version as well. Is it due to bundling errors, performance boosts, or some other reason?

And the eager initiation of imperative objects needs work to make it more compatible with other things.

can you elaborate on this? Are you referring to the useImperativeHandle hooks?

The compat version inlines the wasm in the JavaScript bundle. This makes consuming the library easier, as consumers don't need to be using a bundler that supports importing wasm files. But there's some file size and initialisation time tradeoffs when inlining.

And the eager initiation of imperative objects needs work to make it more compatible with other things.

That may be referring to issues like this?
https://github.com/pmndrs/react-three-rapier/discussions/573

I have not commited anything yet since things still seem to be somewhat incomplete, but if you guys want to see how I've implemented it I can commit it.

Feel free to create another draft PR and push to it as you go. I'm keen to follow along 🙂

I have not commited anything yet since things still seem to be somewhat incomplete, but if you guys want to see how I've implemented it I can commit it.

Feel free to create another draft PR and push to it as you go. I'm keen to follow along 🙂

Okay I will do that! I'll branch of from your initial work since you did a great job setting up the types and reflecting many of the changes from v0.11.2 to v0.12.
I will try to keep the scope of the PR related the upgrade to v0.12, but @wiledal do you mind if I also commit changes regarding optimizations, as an example, like the Vector3 to vec3? Or would you rather have optimizations not directly related to upgrading v0.11.2 to v0.12 be in a separate PR?

But there's some file size and initialisation time tradeoffs when inlining.

People have been asking for ways to do this. In the best of worlds, the core of the library is Rapier library agnostic. Using the bundled version is the most straight forward, and can still be default behavior, but being able to also import a tree-shaken <Physics /> wrapper and supplying the library yourself would allow advanced users to be more flexible.

Are you referring to the useImperativeHandle / useImperativeInstance hooks?

https://github.com/pmndrs/react-three-rapier/discussions/573

Yes, those, and the singletonProxy are hijinks attempting to out-maneuver React's lifecycle callbacks.
Problems occur when you try to access a property on an object at render, when the object itself is not created until on mount. You have to eagerly create the object as soon as it is referenced, but that also creates difficulties when destroying objects. I want to attempt a rewrite, but it's a large undertaking. I should start a discussion around this topic 😄

do you mind if I also commit changes regarding optimizations

I don't mind!

Just created a new PR. The updated examples are there and it seems like everything is back to normal regarding performance :)
Honestly embarrassing to admit, but one of the key parts that was causing the lag, with all components, is how the default value for erp was set to 0.8. I mention it in the PR, but in rapier.js - they say the default value is 0.8. Yet it seems for us it is the inverse value. So either: a) the value we pass into erp is somehow being processed in reverse (1 - erp vs erp), b) the default value is not a high enough value for the error detection to properly work, c) compilation error when generating @dimforge/rapier3d-compat. I have a feeling it is option a but worth looking into.


Update to PF 3.0 API

PF 3.0 provides a new logging API.
This patch update the filesystem plugin to let it compile
against the new PF.
Signed-off-by: Jules Clero<EMAIL_ADDRESS>

taken over at #6


6 remove dependency on graphviz

-Removed render functionality from Network objects
-Created new renderer function to replace this functionality
-Edited requirements to not require graphviz, but included it in rtd requirements

Moved render functionality from the network object to a seperate renderer function


Review Repairs: clarify experience: additional levels beyond pro/am - client discuss

What does experience mean and how it is quantified?
define experience additional beyond pro/amateur (reviewer suggested # jobs done could factor in)
Added to issue tracker for client discussion

Professional/Amateur
Licenced?  uploading of documentation?(client decided against uploading) (customers are expected to follow up on qualification, customers can report if there are issues, liability if credentials are faked, notifications to customer to check) - TBD (client checking)
Jobs completed, ratings - separate areas/dropdown? TBD


Upgraded minimum zhmcclient version to 0.32.0

No review needed.

Coverage remained the same at 36.727% when pulling 1e2e34e65c740130fba025c6fc96b2e757d134d3 on andy/zhmcclient-0.32.0 into 21a15af5ef90dfa380394daf8ad8175f0fa6790b on master.


Disable learning on locked ports

Disabling learning on the locked ports fixes the problems of the locked port tests as on HW the learned FDB entries were not immediately deletable.

Please rebase on main and force-push to drop the "merge commit".  Give me a ping afterwards and I'll have look


lock_manager: speed up detecting leader change of the deadlock detector

Signed-off-by: youjiali1995<EMAIL_ADDRESS>
What have you changed? (mandatory)
To speed up detecting leader change of the deadlock detector, if the node has the region containing key b'', the node will get leader change info from raftstore other than PD.
Added a leader-change-notifier worker to listen to the raftstore and get leader info from PD  periodically. If the leader changes, it will notify the deadlock detector. The worker is started lazily so it will not affect pure optimistic mode even when pessimistic transaction is enabled.
The next job is when reconnecting to the leader, gets leader info from leader change notifier immediately. Maybe flow control is needed if the leader hasn't been elected.
What are the type of the changes? (mandatory)

Improvement (change which is an improvement to an existing feature)

How has this PR been tested? (mandatory)
Manual tests.

Does this PR affect documentation (docs) or release note? (mandatory)
No
Does this PR affect tidb-ansible update? (mandatory)
Yes

@coocood @AndreMouche @zhangjinpeng1987 @MyonKeminta PTAL

I will file a new PR that adopts a simpler strategy to achieve the same improvements. Close it.


Filesystem submounts fix

This pull request includes:
Currently the filesystem configuration allows for mount points and their direct sub-directories to be configured as separate partitions (i.e. /var & /var/log). This pr expands this support to add an additional level to allow for grandchild-directories (i.e. /var/log/audit)

[x] adequate testing for the new functionality or fixed issue
[ ] adequate documentation informing people about the change such as

[ ] create a file in news/unreleased directory if this change should be mentioned in the release news
[ ] submit a PR for the guides repository if this PR changed any behavior described there: https://www.osbuild.org/guides/

I wonder if we should allow arbitrary depth. Do we foresee any issues if we do that? cc @teg

@ondrejbudai good point, that would probably scale a lot better. Will wait to see what @teg suggests

Agreed, let's lift the limitation on depths. Really what we want to limit is the top-level mounts, what people do under the ones we allow we don't care about.


Prebuilt Binary? Stuck at "Building wheels for collected packages: flash-attn" for more than an hour.

Is there prebuilt binary to use on Colab?
Since Colab doesn't have a powerful cpu, it just gets stuck at "Building wheels for collected packages: flash-attn."
I've been waiting for more than an hour now, and it's not going to be usable on Colab since you have to build every time when you run Colab.
Thanks!

I'd love to have prebuilt wheels. I've just never found the time to figure out how to do that.
Would love to get help there.

@tridao I poked into this a bit. It looks like there are some basic wheels being build in CI but this has been failing since the v0.2.8 release in January. The matrix is also set up for ubuntu-18.04 so the wheels aren't going to work on other operating systems. Colab is currently on Ubuntu 20.04 LTS. Do you happen to know whether these built wheels were ever building and installing properly or if this was more of a POC?

I don't know much about CI and building wheels, so I suspect it has never worked properly.

Got it. Should have some time later this week, I'll see if I can get a working version of wheel building up as a PR.


Add support for Stripe Connect

Not really sure what this entails from this side since it is just OAuth but we'll treat this as a placeholder issue to track progress and discuss.

I love to see this feature implemented! Can I help you with it?


[ui-components] footer component

Feature / Issue
We need a footer component for your app. It will be a this one with the icons (only the icons, no text).
Acceptance criteria

[ ] Footer component has 5 items:

[ ] Lucy
- [ ] Chat
- [ ] Nations
- [ ] Profile
- [ ] Wallet

[ ] The component's name should be "Footer"

I like this. Is this a template I can use to define other functionality we can manage as a "punch list?"

@kentdahlgren I started woking on this in branch https://github.com/Bit-Nation/BITNATION-Pangea-react/tree/feature/footer_49


Permission denied on running

Hardware info
OS: Ubuntu 22.04LTS on WSL2
Describe the bug
[IPKernelApp] ERROR | Exception in message handler:
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/dist-packages/ipykernel/kernelbase.py", line 412, in dispatch_shell
    await result
  File "/usr/local/lib/python3.10/dist-packages/ipykernel/kernelbase.py", line 731, in execute_request
    reply_content = self.do_execute(
  File "/usr/local/lib/python3.10/dist-packages/jupyter_cpp_kernel/kernel.py", line 257, in do_execute
    p = self.create_jupyter_subprocess([self.master_path, binary_file.name] + magics['args'])
  File "/usr/local/lib/python3.10/dist-packages/jupyter_cpp_kernel/kernel.py", line 150, in create_jupyter_subprocess
    return RealTimeSubprocess(cmd,
  File "/usr/local/lib/python3.10/dist-packages/jupyter_cpp_kernel/kernel.py", line 25, in __init__
    super().__init__(cmd, stdout=subprocess.PIPE, stderr=subprocess.PIPE, stdin=subprocess.PIPE, bufsize=0)
  File "/usr/lib/python3.10/subprocess.py", line 969, in __init__
    self._execute_child(args, executable, preexec_fn, close_fds,
  File "/usr/lib/python3.10/subprocess.py", line 1845, in _execute_child
    raise child_exception_type(errno_num, err_msg, err_filename)
PermissionError: [Errno 13] Permission denied: '/tmp/tmphompk2ph.out'

Fixed in https://github.com/takinekotfs/jupyter-cpp-kernel/commit/d86d1e17b9aa50f6270f0979e3b0cfb62fccf1b4


NewsAPI Integration

Your API key is: efb42eaae6b94bce83b1568d1127f897

GET /v2/top-headlines?pageSize=20&apiKey=efb42eaae6b94bce83b1568d1127f897&sources=cnn,fox-news,the-huffington-post,bbc-news,breitbart-news,vice-news&q=trump HTTP/1.1
Host: newsapi.org
Cache-Control: no-cache
Postman-Token: 73eb4cb5-970c-459d-ad6a-a5a46f6f7c3b
Body:
{
    "status": "ok",
    "totalResults": 11,
    "articles": [
        {
            "source": {
                "id": "fox-news",
                "name": "Fox News"
            },
            "author": "Fox News",
            "title": "Sarah Sanders says she was thrown out of Virginia restaurant because she works for Trump",
            "description": "White House Press Secretary Sanders was thrown out of a Virginia restaurant on Friday because she works for President Trump -- the latest Trump official to be hounded out of a restaurant because of their political affiliation.",
            "url": "http://www.foxnews.com/politics/2018/06/23/sarah-sanders-says-was-thrown-out-virginia-restaurant-because-works-for-trump.html",
            "urlToImage": "http://a57.foxnews.com/media2.foxnews.com/BrightCove/694940094001/2018/06/14/0/0/694940094001_5797603675001_5797599123001-vs.jpg?ve=1",
            "publishedAt": "2018-06-23T16:18:00+00:00"
        },
        {
            "source": {
                "id": "cnn",
                "name": "CNN"
            },
            "author": null,
            "title": "Anchor fact-checks Trump supporter on separations - CNN Video",
            "description": "What began as a new Trump administration policy, enacted in mid-April, has turned to a crisis that resulted in the separation of immigrant children from their parents. CNN's Victor Blackwell discusses the decisions that lead to the policy.",
            "url": "http://us.cnn.com/videos/politics/2018/06/23/separations-fact-check-amy-kremer-blackwell-new-day-weekend.cnn",
            "urlToImage": "https://cdn.cnn.com/cnnnext/dam/assets/180623102523-amy-kremer-on-new-day-super-tease.jpg",
            "publishedAt": "2018-06-23T15:08:08.6013805Z"
        },
        {
            "source": {
                "id": "fox-news",
                "name": "Fox News"
            },
            "author": "Fox News",
            "title": "'Angel families' discuss meeting with President Trump",
            "description": "President Trump met with families who have lost loved ones do to crimes by illegal immigrants; details on 'Fox & Friends.'",
            "url": "http://video.foxnews.com/v/5801023160001/",
            "urlToImage": "http://a57.foxnews.com/media2.foxnews.com/BrightCove/694940094001/2018/06/23/640/360/694940094001_5801020580001_5801023160001-vs.jpg",
            "publishedAt": "2018-06-23T13:38:03.6699616Z"
        },
        {
            "source": {
                "id": "cnn",
                "name": "CNN"
            },
            "author": "Kevin Liptak, CNN",
            "title": "Trump's go-it-alone immigration strategy ends in chaos",
            "description": "On Wednesday morning, White House cooks were flipping steaks and unboxing popcorn machines ahead of the yearly congressional picnic. Within the hour, the picnic was scrubbed, the steaks on ice, and the popcorn machines trucked away.",
            "url": "http://us.cnn.com/2018/06/23/politics/donald-trump-immigration-week-chaos/index.html",
            "urlToImage": "https://cdn.cnn.com/cnnnext/dam/assets/170430145357-trump-media-super-tease.jpg",
            "publishedAt": "2018-06-23T12:33:12Z"
        },
        {
            "source": {
                "id": "cnn",
                "name": "CNN"
            },
            "author": "Marshall Cohen and Austen Bundy",
            "title": "Trump's personal legal team opposed family separation",
            "description": "Two of President Donald Trump's personal lawyers on the Russia investigation broke ranks with their client this week on an entirely unrelated topic, rejecting his now-abandoned practice of separating undocumented immigrant families at the border.",
            "url": "http://us.cnn.com/2018/06/23/politics/trump-lawyers-immigration-opposition/index.html",
            "urlToImage": "https://cdn.cnn.com/cnnnext/dam/assets/180622160049-sekulow-giuliani-split-super-tease.jpg",
            "publishedAt": "2018-06-23T12:27:00Z"
        },
        {
            "source": {
                "id": "the-huffington-post",
                "name": "The Huffington Post"
            },
            "author": "Arthur Delaney",
            "title": "This Bartender Got Fired For Being Rude To Trump Supporters. He Doesn't Regret It.",
            "description": "Tommy Ewing-Brown initially refused to serve a group of Trump supporters a week before the election.",
            "url": "https://www.huffingtonpost.com/entry/bartender-fired-trump-supporters_us_5b2d5d02e4b0040e2742dce0",
            "urlToImage": "https://img.huffingtonpost.com/asset/5b2d6c172000004100b9533b.jpeg?cache=ifpLBR6rfS&ops=1200_630",
            "publishedAt": "2018-06-23T12:00:25Z"
        },
        {
            "source": {
                "id": "breitbart-news",
                "name": "Breitbart News"
            },
            "author": null,
            "title": "Marvel Director James Gunn: Trump ‘Wakes Up Every Morning Hoping More Kids Are Murdered By Immigrants’",
            "description": "Marvel director James Gunn has claimed that President Donald Trump secretly hopes for the murder of American citizens at the hands of illegal immigrants to help boost his popularity.",
            "url": "http://www.breitbart.com/big-hollywood/2018/06/23/marvel-director-james-gunn-trump-wakes-up-every-morning-hoping-more-kids-are-murdered-by-immigrants/",
            "urlToImage": "http://media.breitbart.com/media/2018/01/Gunn1.jpg",
            "publishedAt": "2018-06-23T07:19:23Z"
        },
        {
            "source": {
                "id": "the-huffington-post",
                "name": "The Huffington Post"
            },
            "author": "Elise Foley, Jennifer Bendery",
            "title": "This Alternative To Detaining Immigrant Families Works. Trump Just Won't Use It.",
            "description": "There are much better options than taking kids from their parents or locking them up together.",
            "url": "https://www.huffingtonpost.com/entry/trump-family-detention-alternative_us_5b2d4731e4b0321a01d1002e",
            "urlToImage": "https://img.huffingtonpost.com/asset/5b2d47772200006a03eec4c7.jpeg?cache=vn0u4nnxb4&ops=1910_1000",
            "publishedAt": "2018-06-22T21:54:37Z"
        },
        {
            "source": {
                "id": "the-huffington-post",
                "name": "The Huffington Post"
            },
            "author": "Ariel Edwards-Levy",
            "title": "More Americans Blame Undocumented Parents Than Trump For Family Separations",
            "description": "The White House has managed to dodge a lot of blame for a deeply unpopular policy.",
            "url": "https://www.huffingtonpost.com/entry/americans-blame-undocumented-parents-trump-family-separations_us_5b2d4bc3e4b0040e2742cc90",
            "urlToImage": "https://img.huffingtonpost.com/asset/5b2d6f7d1a0000cd04ce262c.jpeg?cache=bgEggGfHCx&ops=1200_630",
            "publishedAt": "2018-06-22T21:54:14Z"
        },
        {
            "source": {
                "id": "bbc-news",
                "name": "BBC News"
            },
            "author": "BBC News",
            "title": "Trump highlights victims of migrants",
            "description": "Mr Trump has faced worldwide backlash over the US policy of separating migrant children and parents.",
            "url": "http://www.bbc.co.uk/news/world-us-canada-44580964",
            "urlToImage": "https://ichef.bbci.co.uk/news/1024/branded_news/8512/production/_102166043_tv047651585.jpg",
            "publishedAt": "2018-06-22T20:40:40Z"
        },
        {
            "source": {
                "id": "breitbart-news",
                "name": "Breitbart News"
            },
            "author": null,
            "title": "Mueller Prosecutors: Paul Manafort Can't Argue Our Charges Are Related to 2016 Campaign",
            "description": "Prosecutors for special counsel Robert Mueller asked a federal court Friday to bar the defense for Paul Manafort from arguing charges against their client were brought because of his role in Donald Trump’s 2016 presidential campaign.",
            "url": "http://www.breitbart.com/big-government/2018/06/22/mueller-prosecutors-paul-manafort-cant-argue-our-charges-are-related-to-2016-campaign/",
            "urlToImage": "http://media.breitbart.com/media/2018/06/paul-manafort-robert-mueller-ap.jpg",
            "publishedAt": "2018-06-22T14:11:31Z"
        }
    ]
}

Instead of one request to many sources, create multiple requests to specific sources.
"top headlines"
sources: cnn, fox-news, the-huffington-post ,bbc-news ,breitbart-news ,vice-news, reuters, politico, the-washington-post, msnbc
pagesize: 5

This is working as intended - closing this issue


About SAVE benchmark

""" Hi. Thank you for your question!
We have now uploaded the SAVE Bench here. Please read the README.md to see how to get video clips for Ego4D and Presentation_QA. We regret that we are unable to provide VideoChat since it is not part of the Benchmark, and we do not have the right to distribute it if it is no longer available."""
Thanks for your sharing, while after checking the link, it's still not easy to track the  data resource, for example: Ego4D has 6T data, and it seems not easy to selectively download the specific videos you used for training. So would you mind opensource your SAVEBench benchmark for better replicating and understanding your training process. It would be nice if you don't mind opensource the data with cloud drive address.
Many thanks.

""" Hi. Thank you for your question!
We have now uploaded the SAVE Bench here. Please read the README.md to see how to get video clips for Ego4D and Presentation_QA. We regret that we are unable to provide VideoChat since it is not part of the Benchmark, and we do not have the right to distribute it if it is no longer available."""
Thanks for your sharing, while after checking the link, it's still not easy to track the data resource, for example: Ego4D has 6T data, and it seems not easy to selectively download the specific videos you used for training. So would you mind opensource your SAVEBench benchmark for better replicating and understanding your training process. It would be nice if you don't mind opensource the data with specific cloud drive.
Many thanks.

Hi. Thank you for your question. However, I believe Ego4D has its own license for distribution and we do not own the right to re-distribute the data. Please see the specific API or contact the owner of the dataset to download videos selectively. Sorry for not being helpful here.


Security issue for for jetty-server:9.4.8 on wiremock 2.19.0

Dependency Security issue
In wiremock 2.19.0 a security flaw has been found with the jetty-server dependency that is injected into the build. It is suggested that the fix was introduced in the jetty-server.
The vendor has issued a fix (9.4.11.v20180605).
CVE-2017-7658
I couldn't find anything related to the issue and apologize if this is a duplicate.

Thank you.


Refactor game simulator

Description

Fixes a runtime error when using Vite due to CheckpointTransition and GameManager instantiation before the game simulator instance is initialised.
Type of change

[x] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update
[x] Code quality improvements

How to test

Checklist

[x] I have tested this code
[ ] I have updated the documentation

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

0 of 9 (0.0%)  changed or added relevant lines in 2 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-0.001%) to 31.972%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

src/features/gameSimulator/GameSimulatorConstants.ts
0
1
0.0%

src/pages/academy/gameSimulator/GameSimulator.tsx
0
8
0.0%

Totals

Change from base Build<PHONE_NUMBER>:
-0.001%

Covered Lines:
5034

Relevant Lines:
14788

💛  - Coveralls

Fixes a runtime error when using Vite

I just realised the runtime error also occurs now when using CRA. Must have been a regression when the router is refactored.


New user feed is empty

when I open a new account using self custody on dev the feed is empty without the welcome message
update
the feed is udpated but after quite a long time

@serdiukov-o-nordwhale @omerzam i think my fixes in #2788 fixed this

@sirpy okay, will put this task on QA once PR will be merged

@iLystopad please note that the feed PR #2788 should fix this bug, please check this as well

@sirpy How long it was updating the feed? And how much time it should take?

The updating of the feed for newly created accounts takes 3-6 sec
Attachment: https://www.screencast.com/t/vS1uiozC6
The updating of the feed for accounts with a lot of the cards takes 9-12 sec
Attachment: https://www.screencast.com/t/lvd4toeMth
Checked on the QA 1.25.1-20

@sirpy @omerzam  Sometimes the Feed is not updated after sign in to the account. In most cases, it happened after clearing all site data.
The feed updates only after refreshing the page, and when the feed is downloaded it is displayed and updated without issues after re-login, refreshing the page, or navigating from another page
Checked on the PROD 1.28.10
Windows 10 / Google Chrome v 91
Attachment:
https://www.screencast.com/t/cWwBCyF36eKj

Checked the time of updating the Feed after sign-in/up

for newly created accounts updating the feed takes about 10 sec
for old accounts with a lot of cards, and cleared cash it takes about 24 sec
for old accounts  with a lot of cards second logging in takes about 8 sec

Checked on the PRod 1.28.11
Windows 10 // google Chrome v91
Attachment:
https://www.screencast.com/t/Jln14hV8jo2b
https://www.screencast.com/t/xgmHM4YYcN7T
https://www.screencast.com/t/KXborDg4L
https://www.screencast.com/t/ltX5SHlXg

For the issue with not updating feed for some accounts created a separated task #3290


[MIST-1150] Fix IllegalArgumentException on Cloner

This PR closes #1150 via

Using ObjenesisInstantiationStrategy() for Cloner.

I've tested it on our local cluster and it worked well. I'm going to merge it.


Document features/architecture

User Story:
As a developer, I want to see and learn about the current system architecture and features implemented, so that I can make informed design decisions and add new features in the future that will fit in with and appropriately extend the functionality of the current application.
Acceptance Criteria:

Document the system architecture
Document how the backend and frontend communicate
Document the current features of the application

https://github.com/se701g2/Doto/wiki/Features-and-Tech


KPRIORITY lack of information

Could you add some information about KPRIORITY parameter ?
Which values can be used, how to set it correctly, the behaviour, ...
Thanks :-)

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

ID: 4259dc47-0e73-3102-d12f-1f337d5bea73
Version Independent ID: 9d150a84-5d04-bfb9-0237-7021c5e99e41
Content: KePulseEvent function (ntddk.h) - Windows drivers
Content Source: wdk-ddi-src/content/ntddk/nf-ntddk-kepulseevent.md
Product: windows-hardware
Technology: windows-devices
GitHub Login: @tedhudek
Microsoft Alias: tedhudek

Thanks for the question, @EmmanuelLEPELLETIER.  I'm investigating but in the meantime here are a couple suggestions.
Wdm.h includes:
#define LOW_PRIORITY 0              // Lowest thread priority level
#define LOW_REALTIME_PRIORITY 16    // Lowest realtime priority level
#define HIGH_PRIORITY 31            // Highest thread priority level
#define MAXIMUM_PRIORITY 32         // Number of thread priority levels
...
typedef LONG KPRIORITY;

Also, these doc pages have a little info on KPRIORITY:
https://docs.microsoft.com/en-us/windows-hardware/drivers/ddi/wdm/nf-wdm-kequeryprioritythread ("Thread priorities range from 0 to 31, where 0 is the lowest priority and 31 is the highest.")
https://docs.microsoft.com/en-us/windows-hardware/drivers/ddi/wdm/nf-wdm-kesetprioritythread

I also see a couple uses of KeSetPriorityThread in https://github.com/microsoft/Windows-driver-samples.

Hi again @EmmanuelLEPELLETIER, apologies for the delay.  I've updated the description of the Increment parameter on https://docs.microsoft.com/en-us/windows-hardware/drivers/ddi/ntddk/nf-ntddk-kepulseevent to address your question.  Hope it helps!
Thanks again for the feedback.


TypeError: '>=' not supported between instances of 'NoneType' and 'int'

This has assumed an integer value to be given for n_chunks. And will throw a Type Error. Redefine n_chunks before throwing an assertion error.

Thanks for pointing out..
Fixed it in new commit..


include ROBOT report in github actions test

@StroemPhi
I have implemented tests with ROBOT report in mato repo. I would happy to place that test in AEON
Implementation in https://github.com/tibonto/aeon/tree/95-robot-report

See report results: https://github.com/tibonto/aeon/runs/2361371347?check_suite_focus=true
Errors start at L10


fix: bump FAB to 3.1.1

SUMMARY
Bumps FAB to the latest version 3.1.1, includes fixes and performance improvement:
Change log:
Improvements and Bug fixes on 3.1.1
-----------------------------------

fix: MVC order by related column use alias (#1504) [Daniel Vaz Gaspar]
fix: remove unnecessary CSS class/styling from dropdowns (#1503) [Ryan Hamilton]
deps: constraint pre 1 packages following semver (#1502) [Daniel Vaz Gaspar]
fix: MVC order by on relation (#1500) [Daniel Vaz Gaspar]
docs: add github actions badge (#1501) [Daniel Vaz Gaspar]
fix: remove unnecessary classes from dropdowns (#1491) [Ryan Hamilton]
ci: migrate from travis to github actions (#1497) [Daniel Vaz Gaspar]
fix: lint (#1498) [Daniel Vaz Gaspar]
fix: Improve UX by moving drop-down caret within clickable target (#1492) [Ryan Hamilton]
style: use a clearer visual representation for "delete" actions (#1495) [Ryan Hamilton]
fix: "actions" on ModelViews with composite primary keys (#1493) [Ash Berlin-Taylor]
docs: migrate examples/quickhowto3 to version 3.x.x (#1488) [luizduma]
fix: REST API inner joins eager loading (#1486) [Daniel Vaz Gaspar]

Improvements and Bug fixes on 3.1.0
-----------------------------------

Fix, sanitize the uploaded filename (#1482)
Fix, add missing font file format for glyphicons (#1483)
Docs, Remove incorrect possessive. `list's => lists`. (#1476)
Fix, select2 readonly not working (#1467)
Fix, improve type annotations on SQLAlchemy (#1458)
New, Support for OpenShift OAuth (#1454)
Fix, remove unnecessary strict option from schemas (#1466)
Fix, check if locale exists before loading it (#1460)
Fix, Update SQLAlchemy query for count_users (#1445)
Docs, Contributing (#1440)
Docs, improve, help contributions (#1438)

ADDITIONAL INFORMATION

[ ] Has associated issue:
[ ] Changes UI
[ ] Requires DB Migration.
[ ] Confirm DB Migration upgrade and downgrade tested.
[ ] Introduces new feature or API
[ ] Removes existing feature or API

Codecov Report

Merging #11444 into master will decrease coverage by 10.40%.
The diff coverage is n/a.

@@             Coverage Diff             @@
##           master   #11444       +/-   ##
===========================================
- Coverage   66.66%   56.26%   -10.41%
===========================================
  Files         861      408      -453
  Lines       40941    13661    -27280
  Branches     3694     3479      -215
===========================================
- Hits        27295     7686    -19609
+ Misses      13549     5805     -7744
- Partials       97      170       +73

Flag
Coverage Δ

#cypress
56.26% <ø> (-0.77%)
:arrow_down:

#javascript
?

#python
?

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

Impacted Files
Coverage Δ

...uperset-frontend/src/dashboard/util/dnd-reorder.js
0.00% <0.00%> (-100.00%)
:arrow_down:

...rset-frontend/src/dashboard/util/getEmptyLayout.js
0.00% <0.00%> (-100.00%)
:arrow_down:

...et-frontend/src/components/Menu/LanguagePicker.tsx
0.00% <0.00%> (-100.00%)
:arrow_down:

...dashboard/components/resizable/ResizableHandle.jsx
0.00% <0.00%> (-100.00%)
:arrow_down:

.../src/dashboard/util/getFilterScopeFromNodesTree.js
0.00% <0.00%> (-93.48%)
:arrow_down:

...uperset-frontend/src/utils/getClientErrorObject.ts
0.00% <0.00%> (-89.19%)
:arrow_down:

.../src/dashboard/components/FilterIndicatorGroup.jsx
11.76% <0.00%> (-88.24%)
:arrow_down:

...c/explore/components/controls/withVerification.jsx
9.09% <0.00%> (-87.88%)
:arrow_down:

...src/dashboard/components/gridComponents/Header.jsx
10.52% <0.00%> (-86.85%)
:arrow_down:

...rset-frontend/src/profile/components/Favorites.tsx
0.00% <0.00%> (-86.67%)
:arrow_down:

... and 682 more

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 ecdff72...073f27b. Read the comment docs.


Feature/swig command bindings

What is this pull request?
Add missing commands to ModelTransactionBuilder.
How to use the features provided in the pull request?
The usage is similar to prior pull requests for SWIG bindings, such as https://github.com/hyperledger/iroha/pull/734
Details/Features
List of features / major commits

Add missing commands
Remove redundant fields from protobuf/common_objects
Fix several methods in protobuf/transaction.hpp

Codecov Report

Merging #796 into trunk/shared_model will increase coverage by 0.02%.
The diff coverage is 0%.

@@                  Coverage Diff                  @@
##           trunk/shared_model    #796      +/-   ##
=====================================================
+ Coverage               40.17%   40.2%   +0.02%
=====================================================
  Files                     456     456
  Lines                   15502   15492      -10
  Branches                 8594    8585       -9
=====================================================
  Hits                     6228    6228
+ Misses                   1554    1544      -10
  Partials                 7720    7720

Impacted Files
Coverage Δ

shared_model/builders/protobuf/transaction.hpp
81.08% <ø> (ø)
:arrow_up:

shared_model/interfaces/common_objects/account.hpp
0% <ø> (ø)
:arrow_up:

shared_model/interfaces/common_objects/asset.hpp
0% <ø> (ø)
:arrow_up:

..._model/backend/protobuf/common_objects/account.hpp
0% <0%> (ø)
:arrow_up:

...d_model/backend/protobuf/common_objects/amount.hpp
15% <0%> (+0.71%)
:arrow_up:

.../backend/protobuf/common_objects/account_asset.hpp
0% <0%> (ø)
:arrow_up:

...ed_model/backend/protobuf/common_objects/asset.hpp
0% <0%> (ø)
: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 6089aad...1dd2bdc. Read the comment docs.


suggestion: read fixed preamble from a file in the current repo

First, let me say that IMHO this is the best neovim GPT plugin and it is criminally under-starred. Thank you! 🙏
Something I would really like to see, and would appreciate a tip for how to hack this myself (I'm very new to Neovim) even if you don't decide to implement this, is to have the agent read some intro text whenever it is launched.
e.g. define a file name convention like gp.md. If this file exists in the repo's root dir it is prepended to the prompt. It could allow adding fixed context to each chat and prevent lots of repeated instructions.

Wonderful!
Thank you so much.


Node.js require('events') intellisense not working

TS Template added by @mjbvz
TypeScript Version: 3.9.0-dev.20200414
Search Terms

node.d.ts

VSCode Version: Version: 1.44.1
OS Version:Windows 10, WSL Ubuntu 18.04.4

I have problem getting intellisense to work on nodejs when using a declared class.
Steps to Reproduce:

Type the following code

const EmitterEvents = require('events');
const emitter = new EmitterEvents ();

subsequently when you type the following, the intellisense will not function properly
emiter.

However if I do it the following way, it will work.
const EmitterEvents = require('events');
const emitter = new EmitterEvents.EmitterEvents ();
emitter.

This is the same exact problem as https://github.com/Microsoft/vscode/issues/2583
But that issue was closed without solution.

This is defined by https://github.com/DefinitelyTyped/DefinitelyTyped/blob/master/types/node/events.d.ts


New sidebar item type "association"

🚀 Feature
Have you read the Contributing Guidelines on issues?
Yes
Has this been requested on Canny?
No
Motivation
We have two item types: doc which creates both the sidebar association and the link, ref which creates just the link but not association (the sidebar will not show up on that page). We naturally want a third: association that creates the association but not the actual link.
Use-case: home pages of docs sites would use the sidebar as navigation, but itself shouldn't necessarily appear in that sidebar (typically we go back by clicking the logo or using a navbar link).
API Design
A new sidebar item type association would be sufficient. It might still take all the props of doc or ref for uniformity (we won't throw during validation), but they don't do anything.
The association item can be declared anywhere in the sidebar, because it doesn't go into the rendered structure.

Have you tried building it?
It would literally be just 20 lines of code in the doc metadata generation logic. But I'll be implementing this after the category index page thing (or at least after #5678)

Who expressed this need exactly?

Me, plus three users on Discord.

Why having a custom landing page isn't better?

It's hard to describe. Look at this page: https://docs.luxalgo.com/ The need is that:

On desktop, the doc sidebar shouldn't be shown;
On mobile, the sidebar should be shown when clicking on the hamburger, instead of the main navbar (because... my client thinks that makes navigation less confusing).

Therefore, this page has to be part of the docs plugin (which I implemented by importing a React component into the MD page), or else it won't know about the docs sidebar. On the other hand, it should do absolutely nothing with that sidebar—the only thing it should do is getting itself registered.
I don't see how this use-case can be realized without sufficient hacking (I hope I'm already one of the guys most familiar with the internal details). Currently I swizzled DocSidebar and hided any link with label "Home", but that's straight hack.

Is association the best name? I'm already not a fan of ref, it's not very intuitive and we don't really understand that it is about a doc without reading the documentation.

ref is a bad name, particularly because the documentation is already unclear on this. But if we stress on the idea of "association", the corresponding item type should be easy to understand. For a normal user, it doesn't appear that a sidebar is an auxiliary (metadata) of the doc—they would think the docs belong to a sidebar. We need to tweak that understanding.

If you create an association, the sidebar should render on both mobile+desktop, not just mobile => does not solve your use-case

Yeah, my use-case may not be the best to illustrate this API.
So adding a doc in a sidebar creates a two-way binding: sidebar includes the doc link, doc page renders the sidebar. ref removes the doc-to-sidebar binding (doc page doesn't render sidebar), and association removes the sidebar-to-doc binding (sidebar won't include the link). I think this explanation is good enough for the documentation purpose, but ref itself is a bad name, yeah

frontMatter.sidebar_deskop = false + frontMatter.sidebar_mobile = 'sidebarName'

I thought about that, but this means the sidebar keys are no-longer irrelevant on the user side. But it certainly makes sense 👍

{type: "doc", sidebar: "sidebarName"}

Won't that create two sidebar associations, just like declaring the same doc in two sidebars? What's the use case?

Now they do matter :P

yes 🤪

Actually, I think there are many other layout-related metadata that can accept desktop + mobile (hide_table_of_contents for example). This would be a good place to start

The former will accept screen-size-based config

You mean hide_sidebar: 640px or hide_sidebar: mobile?
Can this make sense for any use-case?
---
sidebar:
  mobile: sidebarA
  desktop: sidebarB
---


Update key_value_service_trust_model.md

Updated broken link.

Hi tristaninf@, would you be able to sign the Google CLA please? Thanks.


[page.spec] Page Page.waitForNetworkIdle should work with aborted requests is flaky

See https://github.com/puppeteer/puppeteer/actions/runs/7715061916/job/21028748010?pr=11790

@jrandolf @Lightning00Blade I think you refactored this recently. PTAL


OpTestQemu improvements - host PNOR & logging

Support attaching a PNOR image to the QEMU instance, and bring OpTestQemu in to line with the logging changes.

Fixed up the else: line and allowed both pnor and individual images to be used at the same time which lets us work around QEMU not being able to handle a .stb skiboot.


GDScript 2.0 PackedStringArray.reverse() returning wrong type without explicit casting

Godot version
v4.0.alpha14.official [106b68050]
System information
Windows 10
Issue description
Calling .reverse() on a PackedStringArray, created from a String.split(), causes it to return an int type, unless the variable has been cast as a PackedStringArray at declaration
Steps to reproduce
The following three-line block of code reproduces.
var path_breakdown = path.split("/")
path_breakdown = path_breakdown.reverse()
$ItemList.add_item("->".join(path_breakdown))

Third line will throw the following error: Invalid type in function 'join' in base 'String'. Cannot convert argument 1 from int to PackedStringArray.
Stepping through each line with breakpoints will show that in the Stack, it has changed from a PackedStringArray, to the length of the array after the second line

Changing the first line to read:
var path_breakdown:PackedStringArray = path.split("/")
allows the second line to run properly, and path_breakdown becomes a new PackedStringArray with the items reversed as expected
Minimal reproduction project
No response

To add another reply onto this, another time running through it gave me an error of a different sort: Trying to assign value of type 'bool' to a variable of type 'PackedStringArray'.

Turning the cast back off again, continuing on its showing as just bool:

A loop of adding these without cast shows every reverse() is a bool now:

@thebardsrc I'm testing with this code
extends Node

@export var stringArray := PackedStringArray()

# Called when the node enters the scene tree for the first time.
func _ready():
	for i in 50:
		var path = "test/path"
		var path_breakdown = path.split("/")
		path_breakdown = path_breakdown.reverse()
		stringArray.append("->".join(path_breakdown))
	print(stringArray)

And I can't seem to reproduce your error. Could you upload a minimum reproduction project/script?

Reproduction included. The actual project I'm working with I'm reversing file paths for some lookup indexing, so this reproduction will just build an array of all of res:// to then do the reversing. So itll also need some other folders and files in it too so it can build multiple directory levels.
reproduction.zip

Reproduction included. The actual project I'm working with I'm reversing file paths for some lookup indexing, so this reproduction will just build an array of all of res:// to then do the reversing. So itll also need some other folders and files in it too so it can build multiple directory levels.
reproduction.zip
Crash will happen on line 24, as the array will either randomly change to an int or change to a bool from the reverse on 22

Thanks for uploading a project! I ran it on version 18159a6574e40c36c1aed0d1cae1dc8a32879efa but I couldn't get any errors. Do you get this error with the latest version of Godot 4.0? I noticed your report is from an older version. If you're still getting an error then this might be a platform dependent issue (though that seems really weird, because I'm on Windows 11, which is still Windows).

well what I'm running is the official Alpha 14 build linked from https://godotengine.org/article/dev-snapshot-godot-4-0-alpha-14, I  don't see a newer official alpha then 14?
But I also have a newer nightly build from 24-Aug, v4.0.alpha.calinou [6e390fa9a], and that version's getting the error as well.

Ah, you're right! Actually it turns out the versions didn't matter -- I ran some tests again and I realized I didn't have a folder structure big enough to trigger the bug. I've added a few nested folders and I'm able to reproduce it (including on latest master branch).

I ran some tests again and I realized I didn't have a folder structure big enough to trigger the bug. I've added a few nested folders and I'm able to reproduce it

Confirmed that I had to add some folders to trigger the bug. Here's an update MRP that should trigger it without any change:
reproduction.zip

As some pointed out on the Godot chat, reverse() is a void function, it mutates the array directly. So you shouldn't be assigning its result to the variable, you should just call path_breakdown.reverse() on its own statement.
Now there's still a bug IMO that:

No error is raised when assigning the result of a void function to a variable.
Even if the above is allowed, the variable should be null, not randomly reassigned to an int or a bool.

alright, I can work with that change void, although that does make it it a little awkward to use, since for example cant do like data['key'] = string.split().reverse() to store it as one step in another variable, has to one step saving it then another step of just reverse()


After been disconnect from the network and reconnected the player view turn to white.

I have attached a print screen that show how my player screen turn after been disconnected and reconnected from the network. Note that the moment that I print screen I was reconnected and the app didn't come back to normal.

OS:
Issue Descriptions:
Steps to Reproduce:

Fixed in latest Electron build


Use singleton enum pattern instead of hardcoded value in paths.

This seems to be needed in order for autorest --azureresourceschema to generate the schema for that path.
This checklist is used to make sure that common issues in a pull request are addressed. This will expedite the process of getting your pull request merged and avoid extra work on your part to fix issues discovered during the review process.
PR information

[x] The title of the PR is clear and informative.
[x] There are a small number of commits, each of which have an informative message. This means that previously merged commits do not appear in the history of the PR. For information on cleaning up the commits in your pull request, see this page.
[x] Except for special cases involving multiple contributors, the PR is started from a fork of the main repository, not a branch.
[x] If applicable, the PR references the bug/issue that it fixes.
[x] Swagger files are correctly named (e.g. the api-version in the path should match the api-version in the spec).

Quality of Swagger

[x] I have read the contribution guidelines.
[x] My spec meets the review criteria:

[x] The spec conforms to the Swagger 2.0 specification.
[x] The spec follows the guidelines described in the Swagger checklist document.
[x] Validation tools were run on swagger spec(s) and have all been fixed in this PR.

@nathannfan

Hi There,
I am the AutoRest Linter Azure bot. I am here to help. My task to analyze the situation from the AutoRest linter perspective. Please review the below analysis result:
File: arm-sql/2014-04-01/swagger/databaseSecurityAlertPolicies.json
Before the PR: Warning(s): 2  Error(s): 1
After the PR: Warning(s): 1  Error(s): 1
File: arm-sql/2014-04-01/swagger/importExport.json
Before the PR: Warning(s): 3  Error(s): 1
After the PR: Warning(s): 2  Error(s): 1
Thanks for your co-operation.

Arg!
We just had a conversation about this pattern yesterday in our standup.
If AutoRest isn't doing the right thing, maybe we should fix it, rather than creating single-value enums.
(I'm assuming that you didn't necessarily want an enum here just for fun?)
I'll look into that this morning

No I didn't do it for fun, although removing a linter warning is also nice.

Looked at the code.
I see what it's doing. In order to conjure up things that it thinks are resources, it looks for parameterized URLS where the last segment is a /{parameter} and figures it out from that.
Hmmm. I hate to have to use a single-value enum for this, but I don't see an easy way of magicking up an unparameterized child resource.
Still looking ... please stand by...

I got nothing.
I guess we'll have to take this at this, as there is no way to generate the schema otherwise. (sigh!)

No modification for AutorestCI/azure-sdk-for-node

No modification for AutorestCI/azure-sdk-for-python

 https://github.com/Azure/azure-sdk-for-ruby/pull/809

Thanks!


chore: pr-release.yaml: create testing branch from tag or branch

At this point the better fix is probably to tell people to upgrade their PR to a newer nightly tag.


[0.x] Test against php 8.2

It's still much too early for this. Probably best revisited as soon as PHP 8.2 hits its first RC.


prepare for line-annotation

This PR adss annotation for stops/lines to the PBF/API annotation.
Resolves https://github.com/mapbox/nepomuk/issues/165

Codecov Report

Merging #164 into master will decrease coverage by 0.04%.
The diff coverage is 93.47%.

@@            Coverage Diff             @@
##           master     #164      +/-   ##
==========================================
- Coverage   94.87%   94.82%   -0.05%
==========================================
  Files         135      138       +3
  Lines        3353     3404      +51
  Branches      300      308       +8
==========================================
+ Hits         3181     3228      +47
- Misses         32       33       +1
- Partials      140      143       +3


Auth'ing a Scratch org before any other org causes it to be a "Non-scratch org"

Summary
If a scratch org is auth'ed (via auth url) as the very first Org, it will appear as a Non-Scratch org (in org list). Even after auth'ing other non-scratch orgs.
Steps To Reproduce

Create a scratch org<EMAIL_ADDRESS>Capture it's auth url: sfdx org display --target-org<EMAIL_ADDRESS>--verbose --json | jq -r .result.sfdxAuthUrl > auth.file
Log out of all orgs: sfdx org logout --all
Auth the scratch org: sfdx org login sfdx-url --sfdx-url-file auth.file -d -s --alias my-scratch-org
(optional) Auth a known, non-scratch org: sfdx org login web

Expected: Org shows as a Scratch Org
Actual: Org shows as a Non-Scratch Org

System Information
{
  "cliVersion": "sfdx-cli/7.208.10",
  "architecture": "darwin-x64",
  "nodeVersion": "node-v20.3.1",
  "osVersion": "Darwin 22.5.0",
  "shell": "zsh",
  "rootPath": "/Users/rcromwell/.nvm/versions/node/v20.3.1/lib/node_modules/sfdx-cli",
  "pluginVersions": [
    "@oclif/plugin-autocomplete 2.3.1 (core)",
    "@oclif/plugin-commands 2.2.16 (core)",
    "@oclif/plugin-help 5.2.10 (core)",
    "@oclif/plugin-not-found 2.3.26 (core)",
    "@oclif/plugin-plugins 3.1.5 (core)",
    "@oclif/plugin-search 0.0.17 (core)",
    "@oclif/plugin-update 3.1.21 (core)",
    "@oclif/plugin-version 1.3.5 (core)",
    "@oclif/plugin-warn-if-update-available 2.0.40 (core)",
    "@oclif/plugin-which 2.2.22 (core)",
    "apex 2.3.3 (core)",
    "auth 2.8.4 (core)",
    "community 2.3.3 (core)",
    "custom-metadata 2.1.28 (core)",
    "data 2.4.2 (core)",
    "deploy-retrieve 1.13.3 (core)",
    "info 2.6.24 (core)",
    "limits 2.3.22 (core)",
    "org 2.9.17 (core)",
    "packaging 1.20.1 (core)",
    "schema 2.3.15 (core)",
    "settings 1.4.15 (core)",
    "signups 1.4.22 (core)",
    "source 2.10.19 (core)",
    "telemetry 2.2.1 (core)",
    "templates 55.5.0 (core)",
    "trust 2.4.24 (core)",
    "user 2.3.19 (core)",
    "sfdx-cli 7.208.10 (core)"
  ]
}

@cromwellryan repeat your tests adding an custom expiration date when creating this SO. After reading the following lines of code my guess is that the default expiration date isn't stored in the local cache when creating the first SO.
https://github.com/forcedotcom/sfdx-core/blob/main/src/org/org.ts#L563-L577
https://github.com/forcedotcom/sfdx-core/blob/main/src/org/org.ts#L620-L635
https://github.com/forcedotcom/sfdx-core/blob/main/src/org/org.ts#L666-L687

Maybe this would actually happen with all SOs added using the auth url? Could you add 2 SOs in sequence and verify that both aren't considered SOs.
My guess is that the expiration date, which is used to determine if it is or not a SO, isn't fetched when authing using sfdx auth url

That's an atypical flow.  Scratch orgs rely on devhubs since that's the only way they are created so the auth is pretty tightly coupled with devhub orgs.  Your flow would work if you authed (or re-authed) to the devhub org before re-authing to the scratch org because of this code: https://github.com/forcedotcom/sfdx-core/blob/main/src/org/authInfo.ts#L389
Unfortunately, we can't just ask an org if it's a scratch org or sandbox; we have to detect it.  The more information we have, the more reliably we can detect it.  Expiration date is not very reliable, but if we ask all the authed devhubs about the org and one of them "knows about" it we can safely consider it a scratch org.
We can look into improving detection when the auth file already exists but until then I would auth to the devhub before the scratch org and that should allow your flow to work.

That's an atypical flow.  Scratch orgs rely on devhubs since that's the only way they are created so the auth is pretty tightly coupled with devhub orgs.  Your flow would work if you authed (or re-authed) to the devhub org before re-authing to the scratch org because of this code: https://github.com/forcedotcom/sfdx-core/blob/main/src/org/authInfo.ts#L389
Unfortunately, we can't just ask an org if it's a scratch org or sandbox; we have to detect it.  The more information we have, the more reliably we can detect it.  Expiration date is not very reliable, but if we ask all the authed devhubs about the org and one of them "knows about" it we can safely consider it a scratch org.
We can look into improving detection when the auth file already exists but until then I would auth to the devhub before the scratch org and that should allow your flow to work.

Some folks on stackoverflow say it is possible to use the tooling api to query the TrialExpirationDate and IsSandbox fields from the Organization object to determine if it is a SO or not. Maybe u could do it before saving the new org if its devhub isn't added yet.

Or u could maybe add isScratchOrg to the exported sfdx authurl?

note: [with enhanced domains turned on] the instance url of a scratch org ends with scratch.my.salesforce.com, we could try a few approaches like this and what Allan suggests.

We can check these things as part of detection but they tend to be unreliable and change without warning, especially URLs.  Without the devhub auth file there will almost certainly be problems with other commands too, like trying to delete that scratch org or doing most packaging commands.

export the whole org information as base64. The person who created the org will for sure have the information if it is or not a SO, because the type is specified as an input when creating it.
I'm suggesting you to change the sfdx auth url to be a base64 to make it easier for us to pipe the exported data into sfdx auth in the future.
echo $exported_org | sfdx auth
Auth flags could overwrite the information contained within the decoded base64 json. So that developers could change, for example, the alias of the newly imported org.
You could even allow people to include the DevHub info in this exported base64. This way devs can import both at the same time with a single command.
To export the org, you could maybe create a new command under auth:
sfdx auth:export -k $secret

I've looked at a couple ways to do this (ex: when you auth to a new org that is a devHub, ask it if it knows if any non-scratch orgs might actually be its children) and the juice:squeeze ratio is off given

what an edge case this is
how easy it is to re-auth the scratch org, which results in the correct answer

Eventually, when we get enhancedDomains on by default for scratch orgs like they are for sandboxes and it becomes more obvious by its instanceUrl, then we could do something smarter.

I believe my suggestion would work @mshanemc

I could fix this and earn my oscar
what do u think?  :)


Nokia Lumia 640

Hi,
Is there any chance that you will solve unlocking Nokia Lumia 640?
I found this phone model in source files on this repository, but this model was not mentioned in supported phone list on the site https://wpinternals.net/

It supports i have done it for my 640 xl, it should work for this too.


Texture filtering issues

Seen here in Sonic Adventure 2, but also in Crazy Taxi for example:

These textures have linear filtering but not UV clamping enabled, leading to filtering errors on the edges.
(The polygons on the left are also shifted, but that's another issue.)

Rendering to native resolution doesn't have the issue.


Cannot run Edge function test in CI

Describe the bug
This blog article describes how to run Deno test :
https://github.com/supabase/supabase/blob/master/apps/docs/content/guides/functions/unit-test.mdx
On my side, when I reproduce it, the serve function never releases the shell and the next step cannot be executed.
To Reproduce
Follow the exact step of the doc, also it seems the doc speak about folder supabase/tests but in the image just after it's supabase/functions/tests
Expected behavior
The example in the doc should work and run the test properly
Screenshots

I had to cancel the job after 6 min as it will just max out the GitHub action timeout
Link of the run:
https://github.com/Cap-go/capgo/actions/runs/9051465646/job/24868015866

I did a PR to resolve the doc issue: https://github.com/supabase/supabase/pull/26211

i managed to make test work on CI with this step:
      - uses: JarvusInnovations/background-action@v1
        name: Bootstrap Edge server
        with:
          run: supabase functions serve &
          wait-on: |
            http-get://<IP_ADDRESS>:54321/functions/v1/ok
          # IMPORTANT: to use environment variables in wait-on, you must use this form: ${{ env.VAR }}
          # See wait-on section below for all resource types and prefixes

          tail: true # true = stderr,stdout
          # This will allow you to monitor the progress live

          log-output-resume: stderr
          # Eliminates previously output stderr log entries from post-run output

          wait-for: 1m

          log-output: stderr,stdout # same as true

          log-output-if: failure
          # failure = exit-early or timeout

          working-directory: .

With a custom function, ok who direct respond.
Action who did pass here: https://github.com/Cap-go/capgo/actions/runs/9051894658/job/24868953981

Thanks for contributing the docs update. Alternatively, you can also use supabase start in CI for testing functions.

@sweatybridge how do i set env var for the edge function then?

Ok, I found I can set the env with $ENV.
But I see my test failing in GitHub action, where in local it works properly.
One weird thing is the test are taking in GitHub action very long time to run when in local all run under one sec.
https://github.com/Cap-go/capgo/actions/runs/9522755417/job/26252929906#logs

@riderx did you get this working?


⚠ Samsung has degraded performance

In 722ef22, Samsung (https://samsung.com) experienced degraded performance:

HTTP code: 200
Response time: 2235 ms

Resolved: Samsung performance has improved in 0b639eb.


gov module queries support

gov module queries support

Could you add :param and `:return: as well (similar to bank). Also enable this docstring format in CI checks.

done


update generated WASM file

For some reason, the previously generated WASM file doesn't load in current
versions of Firefox or Chromium. The error in the console says:

LinkError: WebAssembly.instantiate(): Import #3 module="env" function="__indirect_function_table" error: table import requires a WebAssembly.Table

This version does work and has been generated in the "usual" way (make publish),
the only difference seems to be a minor newer version of tree-sitter (0.17.1 vs
0.17.3) 🤷

@Tuxified ah! that was it. Thanks a lot, I missed the minor version bump 🙌🏼


Note randomizer code

I need someone that can write note randomizer which is same with SIF. Perfect implementation in pseudocode is okay, but in Lua is preferred.

Thanks to MilesElectric168 in reddit for helping writing the randomizer code. See 7ee1583093b3febb403f273deea5f8e0dbc72c01


Add -Group/-Scope property for routes, to further restrict access to routes for authenticated users

Describe the Change
At present you can restrict access to routes by adding authentication - for some, like AD, you can also restrict this further by allowing certain groups. You can do this for other auths, though it has to be manually implemented.
But, that restricts access to any user that can authenticate; if you allowed Developer and Operations groups, they'd all be able to access that route. The plan here is to add new -Group/-Scope parameters to Add-PodeRoute/Add-PodeStaticRoute, so Pode will automatically check for groups/scopes on an authenticated user. This would allow you to restrict access to routes to just Developers or Operations, while the main authentication allows both.
ie:
New-PodeAuthScheme -Form | Add-PodeAuthWindowsAd -Name 'Login' -Groups Developer, Operations

# only operations allowed, developers will be 403'd
Add-PodeRoute -Method Get -Path '/config' -Group Operations -Authentication Login -ScriptBlock {
    # logic
}

We could also have a -GroupProperty/-ScopeProperty to check for custom properties on the user (default is Groups and Scope)

Closed by #992.


Element renders off-screen for mobile

When I use the drop as a tooltip in a form, it breaks when the screen is reduced to mobile screen width at 320px.
Please see the screenshot here:

Shouldn't it move to the left a little to stay within the viewport? It's currently push the page width out:

How do I fix this?
Here is the code:

var drop = new Drop({
   target: document.querySelector('.drop-target'),
   classes: 'drop-theme-arrows-bounce-dark',
   openOn: 'click',
   content: this.content,
   position: 'top center',
   constrainToWindow: true,
   constrainToScrollParent: false
});

Bump

It's been nearly a year since #100 and about 3 years since #16. Do you know if hubspot has abandoned this lib @geekjuice?

@josephrocca seeing the way their greenkeeping I'd say yes, HubSpot has left this to the wild.

@josephrocca thanks, it worked:
      tetherOptions: {
        attachment: 'top center',
        targetAttachment: 'bottom center',
        constraints: [
          {
            to: 'scrollParent',
          }
        ]
      },


Add Data Space filter in the Explorer

Following the decision #54 we want to make understand what is the Dataverse in the demo.
We should see in the Explorer :

The Data Space "Rhizome" and its datasets and services
The Data Space "Know universe" and its datasets and services

The user should be able to filter on the Data Space.
For the demo (deadline : end of October), we will not add any other filter in the Explorer.
The filter will be a multiple select.
Values:

Rhizome
Know universe

Default value : the two are selected
Mock up :

I think we can close this issue.

Default value : no filter selected -> We see all the objects

@fredericvilcot according the last comment the default value should be "nothing selected" but I have by default all DS selected

@MdechampG
Sure, you are right, that's a miss.
It's fixed, you can test it and tell me 😌

Tested on https://portal.staging.okp4.space/dataverse/explore with Mozilla Firefox
When I arrive on the page : No filter selected and I see all resources of the Dataverse ✅
When I select only Rhizome : only Rhizome resources ✅
When I select only Know Universe : only Know universe resources ✅
When I select both : I see all resources of these 2 DS ✅


Severe memory fragmentation

In some cases, especially for larger crop sizes, intermediate tensors during training grow so large that PyTorch OOM's despite having allocated as little as 60% of available GPU memory. It would be good to carefully the profile the network to identify the worst culprit modules and come up with clean ways to prevent such degenerate tensor allocation.

Update: calling torch.cuda.empty_cache() between blocks of the extra MSA stack helps somewhat, but there's still a long way to go on this.

I guess this will affect the fine-tuning stage the most, right? Have you tried the fine-tuning configuration? I get OOMs on a 32GB card following the configuration on page 43 in the supplement (batch size = 1).

Yeah, the fine-tuning configuration is pretty rough without JAX's static memory allocation. Try enabling the cache clearing hack for the Evoformer too.
Where exactly in the network are you OOM'ing? We've been implementing a bunch of low-memory versions of the modules recently, so we might be able to help you out.

Here: self.msa_att_row(m, z=z, mask=msa_mask, chunk_size=chunk_size)
RuntimeError: CUDA out of memory. Tried to allocate 11.25 GiB (GPU 0; 31.75 GiB total capacity; 15.35 GiB already allocated; 5.26 GiB free; 25.10 GiB reserved in total by PyTorch)
Unfortunately, clearing the cache also in the evoformer doesn't help. The OOM error moves then to the backward pass.

Ouch. Just 15.35 GB already allocated. That's a new record for memory fragmentation for us (previously it was ~60%).
Just to confirm: this is happening in the extra MSA stack, right?
In any case, this is exactly the kind of thing we wrote low-memory attention for. Right now, it's only available for inference (but not "plugged in" yet), but once I can figure out how to refactor activation checkpointing, we'll be adding training for it too.

Yes, it's in the extra MSA stack. But I can't pin-point when and why it happens.

With the addition of our new memory-efficient attention kernels in edb7d34, I consider this fixed.


Added support for user profile installed apps 🥳

Closes #167
Closes #68

@KnifMelti something close to what I was thinking

Then #Set ACL for users on logfile means you're writing user logs to the main log file too?

Yes, to avoid to have several places to troubleshoot. But can be changed, it's still a draft :)

No need to change, I've changed my shortcut handling already...

Ok, now it seems to work pretty well :)
For me, just a desktop shortcut pointing to target C:\Windows\System32\schtasks.exe /run /tn "Winget-AutoUpdate and all is good

If running in user context, shouldn't the black/white list check be inactivated?
I mean, the apps are installed in user context and there's no security reason to block an update (better for security to update!)...

it depends what you have in the white/black list. If you want to block certain apps to update, it doesn't care if you are user or system, no ? Same for white list I guess.

Yes it is important if it's running as system, but not as user.
Because the many I'll behaving apps that ex. starts when they're done with the upgrade, opens a website, etc...
When in system context it's a disaster!
That's why we use a whitelist (so we have control by checking the apps upgrade sequence).
If the block is because the version must be a certain one or because you've noticed that it's always fails when upgrading , you're right...
...but I hope/think there's a future plan to mark an apps version as the only one to be installed (even if that's not secure at all)!

yes i agree. but most of apps should be installed for system. It is just for apps installable only in user context.
if I understand well, you whitelist apps for system, but full open for user ?

Yes, that's the scenario we think is needed.
We don't use applocker or similar to block users from installing things in user context either.

because in some cases, my customers want only support whitelist, whatever it is system or user context. They want to avoid to manage side effects

Yes, I understand the total lockdown - support wise - but it's a constant balancing between user experience and security/support.
Either way - could it be an option (like the shortcuts on desktop/start menu)?

with something like -BypassListForUsers ?

Control the apps installed in System context, yes.
In user context we don't want to control anything.
But it's your choice to decide if it's a thing to implement or not :)

yes, i'm working on it :) but under white list, it's easy to say Whitelist for system, nothing for user. But I don't want to handle cross listing ^^ like Whitelist for system and Black list for user... etc

and for blacklist, it's easy. If -BypassListForUsers is set, nothing is blocked under user context

Ah, I see the problem now with Whitelist!
Gone through your code...
...drop the thought!
Nothing is impossible, but how much effort will it take?

Anyway, if -BypassListForUsers is activated, system apps that are in the WhiteList will not be visible or updatable by the User context, so no impact for the user 👍

few more tests and I merge tomorrow


Add compound query support for AioModel

This code should work:
query = (
    TestModel.select().where(TestModel.id == obj1.id) |
    TestModel.select().where(TestModel.id == obj2.id)
)
await query.aio_execute()

This is really correct query for Peeweee? D:

Yeah. Here is an example. The issue is about backward compatibility mostly since the query works if you use manager. The problem is there are a lot of cases for contstructing such queries. Here is and here is and here is. I think fixing the query is enough for first iteration :)


add info command to print working directory config

don't really need this as there are plenty of tools to read json now


Tell crash bug

This error is produced after doing 'tell player hi'
Segmentation fault (core dumped)

Fixed by revamping parsing flow (which had problems).


Validation for invalid Task Result expressions in Pipeline Result

Changes
Prior to this commit, the validation for invalid Task Result expressions
in Pipeline Result's was not extensive.
This commit adds the case where a Pipeline would be invalid if there is
no expression following the valid form $(tasks.<task-name>.results.<result-name>).
Please reference this doc for more information.
Fixes bug #4922
/kind bug
/cc @jerop

Submitter Checklist
As the author of this PR, please check off the items in this checklist:

[x] Docs included if any changes are user facing
[x] Tests included if any functionality added or changed
[x] Follows the commit message standard
[x] Meets the Tekton contributor standards (including
functionality, content, code)
[x] Release notes block below has been filled in
(if there are no user facing changes, use release note "NONE")

Release Notes
Fixed a bug where invalid expressions were not invalidated in `Pipeline Results`.

/ok-to-test

/lgtm


save a few bytes - remove AM Rx fix switch from compile options

Your AM Rx fix works perfectly so I do not see any sense to maintain option to disable your fix whils compilation.
save a few bytes, make your fix permanent and remove AM Rx fix switch from compile options

I have been tempted to do that, but I still get messages (from elsewhere) that say the fix doesn't work, so (up until now anyway) I've left the menu option in to give them the chance to battle with their own internal struggle over it.
The fix does have a limit though when it comes to signal strength, once the fix/code has reached the limit of the RF front end gain adjustment range it can't do anymore to help, at which point the I.F/AM demodulator goes into saturation/overload (distorted audio).

unbelievable that fox does not works. There is a lot of peple do not having RF technic basics.
I find it works great, especially when I live 30km away from airport and I can heat planes from extremally close and far distances withount any problems.
There is nothing worse than original AM. So, remove it and forget about it. Everything is better than that

The AM fix works great for me as well and I think it's fantastic work. Majority rules?


Abstract generate session id

Or possibly the new user func?

Meh, user's don't need to use the user.New function. It's just a wrapper for $user.Session{}


[FLOC-3615] Use correct keys for NO_NEW_DEVICE_IN_OS Eliot message

Fixes: https://clusterhq.atlassian.net/browse/FLOC-3615

I fixed the Eliot keys for this message, EXPECTED_SIZE rather than SIZE.
added a test to demonstrate that the message is logged when a device does not appear.

Note that there is another bug in this code which is described in

https://clusterhq.atlassian.net/browse/FLOC-3578

We shouldn't be raising AttachedUnexpectedDevice when we hit the NO_NEW_DEVICE_IN_OS situation. It doesn't make sense and it prevents the retry loop in the parent method from retrying the attachment.

Merge when green.

The new test revealed that lsblk /dev/loopX command exits with return code 1 when you supply a loop device that isn't attached to a backing file. (i.e. it doesn't show up in losetup --all).
I considered catching CalledProcessError and returning 0 size in that case.
But the return code, in the Ubuntu 14.04 version of lsblk, is 1 and there's no stderr output to distinguish this case from other unexpected failures.
I also tried blockdev --getsize64 /dev/loopX which returns 0 for unbacked loop devices, but requires root access to issue ioctl calls on the block device.
Finally I decided up on the simpler method of reading /sys/block/<disk>/size and multiplying by 512. (the  sector size in bytes).
My only worry is  whether the sector size  / block size is always 512.

The run_client_installation_on_OSX builder failed again, apparently due to some virtualbox locking problem.
That builder is going to be changed to a nightly build anyway so I'll merge this now.