.cms-overflow class on html makes whole page unscrollable after window resize

Summary
When logged in and not in editing mode, if a make the browser window smaller than 1024px, my html tag gets the cms-overflow class, which results in a page that can no more be scrolled at all. A fresh reload solves the problem. To reproduce, make the viewport bigger than 1024px, and smaller again.
Expected behaviour
The cms leaving scrolling as is.
More infos
Downgrade to 3.5.2 solves the problem.
Environment

Python version: 2.7.14
Django version: 1.11.latest
django CMS version: 3.5.3

For users:
This oddness still exists on 3.6.0; not sure about 3.7.0.
To resolve it, switch between "Edit" and "View published", using the CMS toolbar.
For maintainers of the project:
Why is this built into the app?
My own research reveals, for the latest version (as of this message) of the app:

a CMS.settings.mode === 'structure'
a button in the CMS toolbar
no comment in the CSS ¹

¹ By the way, any use of !important in CSS should be commented to explain why such a heavy hand is used.

this may have been resolved, as I remember recent activity in slack...a message from core devs would help?

I've not come across this issue so I think you're right @benzkji & I'll close.

Still exists for django CMS 4.1.0 when browser window reaches a width 1020px.  But reproducing is super specific.

Logged in as a CMS editor/admin
Go to the page, but particularly the URL override
Shrink window size down to 1020 px
Note that the URL in the browser also updates without reloading the page.  First it changes to "admin/cms/placeholder/object/11/edit/6/" then "admin/cms/placeholder/object/11/structure/6/".  When the URL changes to 'structure', that when...

Expected:
Ability to scroll down
Actual:
No Ability to scroll.  The base html () element has the class "cms-overflow" which has the following property: overflow: hidden !important;
Seems like the issue is not a big deal, but was super concerning before I realized I couldn't reproduce it while logged in.  Recommending investigation as this could lead to more problems if there is bad code floating around in the source.  Sorry that I'm not a contributor.

Any connection with #7906 ?

yep, long time classic :)


Fix validation of unique elements inside mappings.

@gonditeniz Can you provide some small example schema and data that fails before this fix and that is fixed with this change?

Bad pull request. Let me send you a new one and I will add in the comment an exampel. Sorry.


feat(autoware_behavior_velocity_planner_common,autoware_behavior_velocity_stop_line_module): revert pr7710 and Check next_lane_id in createTargetPoint on stop line

Description
same as https://github.com/autowarefoundation/autoware.universe/pull/7896
Related links
Parent Issue:

Link

How was this PR tested?
Notes for reviewers
None.
Interface changes
None.

Effects on system behavior
None.

@yhisaki
Not sure the background but do we still need this PR?


Fix potential deadlock in SchedulingQueue

There may be a potential deadlock when:
(1) scheduling thread holds the lock of parent queue and waits for read lock of child queue (calling stack: Scheduler#singleStepSchedule -> Scheduler#findAllocationAsks -> Scheduler#findNextAllocationAskCandidate -> Scheduler#sortSubqueuesFromQueue -> SchedulingQueue#GetPendingResource)
and meanwhile
(2) scheduler event handler holds the lock of child queue and waits for read lock of parent queue (calling stack: Scheduler#handleSchedulerEvent -> Scheduler#processAllocationUpdateEvent -> Scheduler#updateSchedulingRequest -> SchedulingQueue#IncPendingResource)
I think the proper sequence of nested lock should be from parent queue to child queue, the contrary way should be corrected.
Deadlock stacks:

Nice catch @TaoYang526
I will get this merged once we received your ICLA. Thanks!

Thanks @TaoYang526 for getting this fixed!

Thanks @yangwwei for the review and commit.


Camera integration

The app currently only supports picking an image from a Gallery. Extend it, so the user can use the camera to take images, and use those in the app.
Add a new "Camera" button to the main screen, below the "Pick an image" button. When the user clicks it, open the camera app. When a photo is taken, load it into the canvas.

I added PR #10

Works nicely, merged! Thank you!


[20.09] doas: add patch for CVE-2019-25016

Motivation for this change
Things done

[ ] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[ ] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

@ofborg test doas

@ofborg test doas

Another self-merge due to CVE.

Another self-merge due to CVE.


Fix checkstyle warnings

see Jenkins CheckStyle results

---
Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/38604391-fix-checkstyle-warnings?utm_campaign=plugin&utm_content=tracker%2F715506&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F715506&utm_medium=issues&utm_source=github).

Hello! I can take it 👍

hey @benjamingarcia - I've worked on most checkstyle issue by myself real quick. however, there are still a lot of PMD warnings left - would you be up for that?


WIP: chore(litmus-portal): added(Cypress Unit Test + Recent Workflow Components), Passed VS Failed, Custom Stepper(Updated), Semi Circular Progress Indicator

What this PR does / why we need it: This PR adds Cypress Unit Test + Recent Workflow Components: Passed VS Failed, Custom Stepper(Updated), Semi Circular Progress Indicator
Which issue this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close that issue when PR gets merged): fixes #
Checklist

[X] Does this PR have a corresponding GitHub issue?
[ ] Have you included relevant README for the chaoslib/experiment with details?
[X] Have you added debug messages where necessary?
[ ] Have you added task comments where necessary?
[X] Have you tested the changes for possible failure conditions?
[ ] Have you provided the positive & negative test logs for the litmusbook execution?
[ ] Does the litmusbook ensure idempotency of cluster state?, i.e., is cluster restored to original state?
[ ] Have you used non-shell/command modules for Kubernetes tasks?
[ ] Have you (jinja) templatized custom scripts that is run by the litmusbook, if any?
[ ] Have you (jinja) templatized Kubernetes deployment manifests used by the litmusbook, if any?
[ ] Have you reused/created util functions instead of repeating tasks in the litmusbook?
[ ] Do the artifacts follow the appropriate directory structure?
[ ] Have you isolated storage (eg: OpenEBS) specific implementations, checks?
[ ] Have you isolated platform (eg: baremetal kubeadm/openshift/aws/gcloud) specific implementations, checks?
[ ] Are the ansible facts well defined? Is the scope explicitly set for playbook & included utils?
[ ] Have you ensured minimum/careful usage of shell utilities (awk, grep, sed, cut, xargs etc.,)?
[ ] Can the limtusbook be executed both from within & outside a container (configurable paths, no hardcode)?
[ ] Can you suggest the minimal resource requirements for the litmusbook execution?
[ ] Does the litmusbook job artifact carry comments/default options/range for the ENV tunables?
[ ] Has the litmusbooks been linted?

Special notes for your reviewer:

@S-ayanide there are merge conflicts solve

/preview 20

/preview

/preview

/preview 10

/preview

/preview


Add version: TopazLabs.TopazPhotoAI version 1.1.1

Pull request has been created with komac v2.0.0 :rocket:
Microsoft Reviewers: Open in CodeFlow

/AzurePipelines run


Strange continuous queries behaviour

Bug report
InfluxDB 0.13.0, FreeBSD 11.0-RC2 installed via pkg
Steps to reproduce
1.Create continuous query no.1
CREATE CONTINUOUS QUERY "99thPercentileSourceType1-Second" ON testDB BEGIN SELECT percentile(value, 99) AS percentile99 INTO testDB.hourly.SourceType1-99thPercentileSecond FROM testDBRaw.raw."source1-raw" GROUP BY time(1s), node, operation END
2.Create continuous query no.2
CREATE CONTINUOUS QUERY "99thPercentileSourceType2-Second" ON testDB BEGIN SELECT percentile(value, 99) AS percentile99 INTO testDB.hourly.SourceType2-99thPercentileSecond FROM testDBRaw.raw."source2-raw" GROUP BY time(1s), node, operation, source, intent END
Expected behaviour:
Both CQs beeing executed in real time
Actual bevaviour:
From what I can see, in the logs, cq 99thPercentileSource1-Second executes, and backfills data from NOW() to the oldest timestamp in the testDBRaw.raw."source1-raw", it takes, an hour or two let's say. The CQs sometimes take less than one second, sometimes ~20 seconds. Measured by the show queries command.
When there are no more data to backfill, the 99thPercentileSource2-Second kicks in, starts backfilling. Finishes after one or two hours,  and 99thPercentileSource1-Second kicks in. The problem is that,  two hours have passed already and the CQ starts backfilling the data again!.
We are graphing the results of those CQs in grafana, and we just can't get view on the latest numbers, as the CQs are backfiliing the data constantly.
The number of concurrent queries is not limited in the config.
My working theory is that Influx ticks every 1 second and checks if there is a CQ to run. It doesn't start the queries concurrently though, so on ever tick it starts only one CQ. Is that correct ?
I could try run my CQs with RESAMPLE, this might help, potentially, but if I resample every 10 sec for examople, and the larger CQ takes more than 10 seconds, then I guess I will have the same problem.
Any ideas?

I'd recommend upgrading to 1.0.2 as there are many query/write and CQ bug fixes.  I'm going to close this, but if it's still occurring comment on this issue and we'll re-open.


OSS Supply Chain Risk WG - Sept 26 2023 meeting

Date
9/26/2023
Untracked attendees

Name
Firm
Comment

Meeting notices

FINOS Project leads are responsible for observing the FINOS guidelines for running project meetings. Project maintainers can find additional resources in the FINOS Maintainers Cheatsheet.

All participants in FINOS project meetings are subject to the LF Antitrust Policy, the FINOS Community Code of Conduct and all other FINOS policies.

FINOS meetings involve participation by industry competitors, and it is the intention of FINOS and the Linux Foundation to conduct all of its activities in accordance with applicable antitrust and competition laws. It is therefore extremely important that attendees adhere to meeting agendas, and be aware of, and not participate in, any activities that are prohibited under applicable US state, federal or foreign antitrust and competition laws. Please contact<EMAIL_ADDRESS>with any questions.

FINOS project meetings may be recorded for use solely by the FINOS team for administration purposes. In very limited instances, and with explicit approval, recordings may be made more widely available.

Agenda

[ ] Convene, roll call, welcome new people
[ ] Approve previous meeting minutes
[ ] Add Items Here
[ ] AOB, Q&A & Adjourn (5mins)

Decisions Made

[ ] Decision 1
[ ] Decision 2
[ ] ...

Action Items

[ ] Action 1
[ ] Action 2
[ ] ...

Zoom info
Join Zoom Meeting

https://zoom.us/j/95521041942?pwd=dHgwREU2TzBsS242ak1zYWZsUW9OUT09
Meeting ID: 955 2104 1942
Passcode: 443820
Find your local number: https://zoom.us/u/aesEqmNODb

Github Repo: https://github.com/finos/devops-automation/
Project Board: https://github.com/orgs/finos/projects/33
Mailing List: Email<EMAIL_ADDRESS>to subscribe to our mailing list

Rob / FINOS 🔉

Matthew Bain / Morgan Stanley

Ragha Vema | Fannie Mae

Eteri / FINOS

JMW Fannie Mae

Gary O'Neall LF / SPDX

https://deploy-preview-172--open-source-readiness.netlify.app/docs/bok/activities/level-2/supply-chain-security/

https://github.com/finos/open-source-readiness/pull/172

Mimi Flynn / Morgan Stanley

Sign up for certification / training:
https://share.hsforms.com/1A9O3_LLNQj6PdomKZggR3w1fux8


Summarizer Evaluation Handling Different Word Tokenizers [resolves #63]

Changes in __main.py__:

evaluate CLI option for sadedegel-summarize recieves --tag option to filter summarizers to evaluate based on their tags.
def filter_summary(tags): method is responsible to filter and return a list of selected summarizers.
evaluate CLI option receives word tokenizer type as an argument by the user based on the context they want to evaluate the summarizers.
Evaluation is itself a test, hence word-tokenizer config should not stay changed globally after evaluation, thus evaluation is done under tokenizer_context context manager.
--debug option is to return shape of the score table to be used in pytest. test_filter.py for evaluation script tests whether evaluate option of CLI, runs over all the summarizers that are filtered.

Addition of test_filter.py:

test_tag_filter checks wheter the correct summarizers are filtered and returned based on the tags.
test_eval_<word_tokenizer> methods check whether evaluate runs and returns the scores of all summarizers that are filtered and tested using CLI. This is done with all word tokenizers.

Changes in summarize/README.md:

Detailed the usage of evaluate command with its options.
Explanation of summarizer tags added in Commit 8498ead and using them for filtering while running evaluation command on summarizers.
Performance table of summarizers when word tokenizer is set as SimpleTokenizer in backend.

This pull request has nothing to add. @dafajon please do learn how to interactive rebase in Git


Default target should be ES6 in generated tsconfig.json

Bug Report or Feature Request (mark with an x)
- [ ] bug report -> please search issues before submitting
- [x] feature request

Command (mark with an x)
- [x] new
- [ ] build
- [ ] serve
- [ ] test
- [ ] e2e
- [ ] generate
- [ ] add
- [ ] update
- [ ] lint
- [ ] xi18n
- [ ] run
- [ ] config
- [ ] help
- [ ] version
- [ ] doc

Versions

Angular CLI: 7.1.4
Node: 10.13.0
OS: win32 x64
Angular: 7.1.4
... animations, cli, common, compiler, compiler-cli, core, forms
... language-service, platform-browser, platform-browser-dynamic
... router

Package                           Version
-----------------------------------------------------------
@angular-devkit/architect         0.11.4
@angular-devkit/build-angular     0.11.4
@angular-devkit/build-optimizer   0.11.4
@angular-devkit/build-webpack     0.11.4
@angular-devkit/core              7.1.4
@angular-devkit/schematics        7.1.4
@ngtools/webpack                  7.1.4
@schematics/angular               7.1.4
@schematics/update                0.11.4
rxjs                              6.3.3
typescript                        3.1.6
webpack                           4.23.1

Desired functionality

The default "target" in tsconfig.json generated by ng new should be "es6", not "es5".
Reasons:

Modern browsers are being optimized for ES6 now. ES5 is no longer necessary or optimal.
Smaller generated code files.
Fewer problems out-of-the box (without having to use flags that new users might not know about), e.g. https://github.com/Microsoft/TypeScript/issues/3164

I understand this is a judgement call, and there could be reasons I don't know about to keep the default as es5. If so, I'd like to hear what those are, since I believe it is better to move forward. Apps that have to support Internet Explorer already need to include some polyfills, and I think they're in the minority, so the default should cater to the majority -- users that really should be targeting ES6, and may not even think to change the settings in their tsconfig.json file.

Thanks for reporting this issue. This issue is now obsolete due to changes in version 8.


iOS issue: after connecting to a device once, it's never found again

Hi there,
I am building an app that connects with a bluetooth device (STM32 chip), and connecting and disconnecting to the device works for Android.
But with iOS this only works once and after disconnecting the device is never found again, this is also the case in a BLE scanner app. So it's not just my app that never finds it again.
Does anyone know how this is possible?
Or what might cause this issue (flutter/flutter_blue/the bluetooth device)?
I have absolutely no clue, also because it works for Android but just not for iOS...
thanks!

@Annelein can you please try this:
`
final FlutterBlue _flutterBlue = FlutterBlue.instance;
_flutterBlue.connectedDevices.asStream().listen((event) {
// here should return already connected devices
}
`

@nikolabrdaroski Is there a special reason why you suggest to use asStream().listen() instead of something like
devicesConnectedToPhone = await _flutterBlue.connectedDevices

@Alex-Evo no, there is not special reason. Only thing is that I needed to listen for events when they become connected etc..


ReorderMethodArgumentsExample typo

In this example https://docs.openrewrite.org/java/refactoring-java-source-code/reordermethodarguments#java-definition there is a typo:
ReorderMethodArguments rma = new InsertMethodArgument();

It should be fixed to:
ReorderMethodArguments rma = new ReorderMethodArguments();

Good catch! Thank you. Fixed in https://github.com/openrewrite/rewrite-docs/commit/244edd792194e01001b261ee76e4aa3850559792


Deal with security vulnerabilities reported by yarn audit

We have a few open tickets for security problems reported by yarn audit (or npm audit). I am going to consolidate all the information in this issue and close these others:

https://github.com/liferay/liferay-js-themes-toolkit/issues/70 ("Cannot update packages caused by vulnerabilities for newly created theme")
https://github.com/liferay/liferay-js-themes-toolkit/issues/97 ("Upgrade default dependencies")
https://github.com/liferay/liferay-js-themes-toolkit/issues/141 ("Liferay Theme Dependencies uses a version of Lodash that is vulnerable to CVE-2018-3721")

Related but not closing because it is a very large undertaking in itself:

https://github.com/liferay/liferay-js-themes-toolkit/issues/148 ("Upgrade to Gulp v4")

Current status (14 March 2019):

When we started our efforts several weeks ago to reduce the number of vulnerabilities in our dependencies yarn audit was reporting 204 vulnerabilities.
In our in-progress work preparing the v9 release (ie. the current "master" branch), we have updated many dependencies and are now down to "77 vulnerabilities found - Severity: 26 Low | 19 Moderate | 32 High".
On the v8 release branch ("v8.x") where we are preparing the next v8 release, we have also updated quite a few dependencies and are now down to "111 vulnerabilities found - Severity: 42 Low | 33 Moderate | 36 High".
Risk assessment is that the remaining vulnerabilities (and even the original set of vulnerabilities) pose no appreciable run-time risk to Liferay instances running in production, because the dependencies are all dev-time dependencies (ie. used by developers running commands such as gulp watch on their local machines); the generated themes/themelets/layouts — which are what actually get exposed over the network — have tiny dependency footprints and npm audit is clean for them.
The support of old versions in the v8 branch of the toolkit (for example, use of dependencies such as convert-bootstrap-2-to-3, which was last updated 2 years ago) means that, realistically, there are some dependencies that we cannot update. On the v9 branch, however, we have a narrower range of functionality to support, and so we will be able "fix forward" security issues.
It would be desirable to continue upgrading dependencies in order to avoid the scary warnings, but the cost may be high (especially for the Gulp v4 upgrade because of its extensive use of hooks, as we don't yet know if keeping those working in the upgrade will be difficult   — Gulp v3 is responsible for most if not all of the remaining vulnerabilities in v9 of the toolkit).

As such, our position is that addressing the remaining vulnerabilities is important but not urgent. It is unlikely that the reported vulnerability counts will go down from the number I quoted above in the next v8 or v9 releases. (They may, in fact, go up, because new vulnerabilities are routinely reported in old dependencies.) Moving forward, our aim will be to reduce the vulnerability count in subsequent v9 releases as close as practically possible to zero, with a clear prioritization of production/run-time vulnerabilities, with dev-time vulnerabilities being treated with less urgency.

Status update, as summarized here:

And that's all for this branch. Final report is here. Overall, this PR drops us from:
45 vulnerabilities found - Packages audited: 538562
Severity: 18 Low | 11 Moderate | 16 High

to:
30 vulnerabilities found - Packages audited: 529199
Severity: 11 Low | 7 Moderate | 12 High

The only remaining deps with problems are all gulp-related:

gulp
gulp-replace-task
gulp-storage
gulp-load-plugins

Sadly, gulp-replace-task and gulp-storage were last updated 4 years ago, gulp-load-plugins was last updated 2 years ago. We're already using the latest version of each of those so our only real option there is to find or create replacements for them.
The other big one is gulp itself, and we have the #148 to track upgrading from v3 to v4.

That's on the v9 ("master") branch. On the 8.x branch #216 dropped had the effects summarized here:

Overall this PR takes us from:
111 vulnerabilities found - Packages audited: 144859
Severity: 42 Low | 33 Moderate | 36 High

to:
92 vulnerabilities found - Packages audited: 135399
Severity: 33 Low | 27 Moderate | 32 High

To keep all related discussion to this topic in one place, copying content from @andreldm in #492 here:

Hello guys, in Analytics Cloud we have a 7.1 theme that declares the following dependencies:
"devDependencies": {
	"gulp": "^3.8.10",
	"liferay-theme-deps-7.1": "8.1.2",
	"liferay-theme-tasks": "8.1.2"
}

All works fine, but in a security audit it was brought to our attention that some transitive dependencies are vulnerable. The affected packages are cli, lodash, minimatch, minimist and handlebars, they are dependencies of liferay-theme-tasks and gulp3.
We tried to update to 8.2.0 but the same vulnerabilities are reported by npm audit.
So, what can we do? Wait for a 8.x.x release with updated dependencies? What about gulp3?

And @jbalsas' reply:

Hey @andreldm, we've had quite a bit of a back and forth with those reports.
These vulnerabilities are build-time only. You're not exposing any of those through a webserver and are not exploitable in the traditional sense. There should be no needed action on your behalf.
In general, security vulnerabilities in dependencies are the ones that can be exploited and thus definitely require fixing.
We know credibility is just as important when it comes to security, so it'd be good if these were fixed. However, the amount of work they require of us is just too big to take on lightly. We'll eventually get rid of some of these, but they're not our priority right now.
I'll leave this open for now so other can chime in.
Feel free to add additional information and context here in case you feel there's something we're overlooking or that would up the importance of this issue.

Created https://github.com/liferay/liferay-js-themes-toolkit/issues/504 to do a periodic audit, but will leave this one open as the "overview issue" to explain our overall stance on audits.

Not going to transfer this issue to the new repo because we're handling dependency updates globally over there.


New version: CloudFoundry.CLI.v8 version 8.7.1

[ ] Have you signed the Contributor License Agreement?
[ ] Have you checked that there aren't other open pull requests for the same manifest update/change?
[ ] This PR only modifies one (1) manifest
[ ] Have you validated your manifest locally with winget validate --manifest <path>?
[ ] Have you tested your manifest locally with winget install --manifest <path>?
[ ] Does your manifest conform to the 1.5 schema?

Note: <path> is the name of the directory containing the manifest you're submitting.

Microsoft Reviewers: Open in CodeFlow

Automatic Validation ended with:

2024-01-27T06:33:23.1540889Z ##[error] Manifest Error: DisplayVersion declared in the manifest has overlap with existing DisplayVersion range in the index. Existing DisplayVersion range in index:  [ [VERSION, VERSION]]

(Automated response - build 669.)

@wingetbot run


pyAEDT: License remains in use after program crash

Before submitting the issue

[X] I have searched among the existing issues
[X] I am using a Python virtual environment

Description of the bug
I am currently developing a script for the Ansys Electronics Desktop using pyAEDT.
From time to time, errors occur in the programme, resulting in incorrect programme closures because the code is not executed completely.
As a result, the EDT licence remains in use and I cannot start any more tests. Only a restart of the licence server solves the problem.
Unfortunately, this is quite inconvenient as the server is running on another PC and the restart is quite time-consuming.
Are you aware of this problem or do you have an idea for a workaround?
Is it possible to restart the licence server via the command line from another computer (remote)?
Steps To Reproduce

Create Maxwell2d object
Create modeler object
Doing some experiments
Program crash
License remains in use

Which Operating System are you using?
Windows
Which Python version are you using?
3.10
Installed packages
annotated-types==0.7.0
ansys-pythonnet==3.1.0rc3
attrs==23.2.0
certifi==2024.7.4
cffi==1.16.0
charset-normalizer==3.3.2
clr-loader==0.2.6
contourpy==1.2.1
cycler==0.12.1
defusedxml==0.7.1
fonttools==4.53.1
fpdf2==2.7.9
idna==3.7
jsonschema==4.23.0
jsonschema-specifications==2023.12.1
kiwisolver==1.4.5
matplotlib==3.9.1
numpy==1.26.4
packaging==24.1
pandas==2.2.2
pillow==10.4.0
platformdirs==4.2.2
plumbum==1.8.3
pooch==1.8.2
psutil==6.0.0
pyaedt==0.9.10
pycparser==2.22
pydantic==2.8.2
pydantic_core==2.20.1
pyedb==0.23.0
pyparsing==3.1.2
python-dateutil==2.9.0.post0
pytomlpp==1.0.13
pytz==2024.1
pyvista==0.44.1
pywin32==306
referencing==0.35.1
requests==2.32.3
rpds-py==0.19.1
rpyc==6.0.0
Rtree==1.3.0
scikit-rf==1.2.0
scipy==1.14.0
scooby==0.10.0
six==1.16.0
toml==0.10.2
typing_extensions==4.12.2
tzdata==2024.1
urllib3==2.2.2
vtk==9.3.1

Hi @pasc1377 ,
This is a known issue, but from PyAEDT there is no way to fix it because if the process is not released correctly, it is an expected behavior to remain it open. As a best practice, you should always release the PyAEDT object at the end of your script:
app.release_desktop()
If the script crashes you could also improve this performance by encapsulating your code inside a "with":
from pyaedt import Desktop, Circuit
with Desktop(version="2024.1", non_graphical=False, new_desktop_session=True, close_on_exit=True) as d:
        circuit = Circuit()
        d.logger.info("Successfully updated project definitions")
        circuit .save_project()

If the previous workaround does not work for you, the only solution is going to the task manager, and kill the AEDT process, this should release the license.
Regarding your last question, it is not related to PyAEDT, I am not aware of any way to restart the license manager from the command line, please submit a support case with this question.
In PyAEDT you have one method to check if there are available license before running your workflow.
from pyaedt.generic.general_methods import is_license_feature_available

license_available = is_license_feature_available()

THis method works when your local machine has access to the license server.

Hi @Samuelopez-ansys,
thank you very much! That will help me a lot. Unfortunately, the process is not displayed at all in the Task Manager. So unfortunately I can't kill the process there either.

Hi @pasc1377 ,
So for now, there is not other approach, because if the script crashes, the connection is lost and the AEDT session can remain.
If you use 2024R1, the communication protocol has changed to GRPC, which should be more stable, but you could find similar issues if the script crashes, in that case, I suggest you additional best practices in your script, like saving the process ID and grpc port of the AEDT session, and then you could implement a "kill task", one way, for example, could be using pyaedt.Desktop,
you could reconnect to the "zombie" AEDT and perform a desktop.release_desktop(), which should close AEDT. Of course, you could use other python approaches to kill the specific process.

Hi @Samuelopez-ansys,
Thank you very much. I will try it out. How can I read out the process ID and the GRPC port of the session? I have not yet found a possibility in the documentation.

@pasc1377 If you have a Maxwell object called m2d:
m2d.desktop_class.port
m2d.desktop_class.aedt_process_id
Both are properties of Desktop class.

Tanke you so much!


Add IR transformations to make the visualization more readable

This is not well defined enough to work on it. Will close and create specific issues.


OCM-7647 | test: automate id:OCP-72899 Updated the checkpoints for tc

$ ginkgo --focus 72899 tests/e2e/
Ginkgo detected a version mismatch between the Ginkgo CLI and the version of Ginkgo imported by your packages:
Ginkgo CLI Version:
2.14.0
Mismatched package versions found:
2.17.1 used by e2e
Ginkgo will continue to attempt to run but you may see errors (including flag
parsing errors) and should either update your go.mod or your version of the
Ginkgo CLI to match.
To install the matching version of the CLI run
go install github.com/onsi/ginkgo/v2/ginkgo
from a path that contains a go.mod file.  Alternatively you can use
go run github.com/onsi/ginkgo/v2/ginkgo
from a path that contains a go.mod file to invoke the matching version of the
Ginkgo CLI.
If you are attempting to test multiple packages that each have a different
version of the Ginkgo library with a single Ginkgo CLI that is currently
unsupported.
Running Suite: e2e tests suite - /home/aaraj/ocm-forked-code/rosa/tests/e2e
Random Seed:<PHONE_NUMBER>
Will run 1 of 87 specs
SSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSS•SSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSS
Ran 1 of 87 Specs in 465.043 seconds
SUCCESS! -- 1 Passed | 0 Failed | 0 Pending | 86 Skipped
PASS
Ginkgo ran 1 suite in 7m49.681962979s
Test Suite Passed

/hold

/unhold

/test ?

/test e2e-presubmits-pr-rosa-hcp

/test e2e-presubmits-pr-rosa-hcp

/test e2e-presubmits-pr-rosa-hcp

@aaraj7 The presubmit job does not run your case for the commit title is incorrect. It should be id:72899 rather than id:OCP-72899.

/test e2e-presubmits-pr-rosa-hcp

/test e2e-presubmits-pr-rosa-hcp

/test e2e-presubmits-pr-rosa-hcp

/test e2e-presubmits-pr-rosa-hcp

/test e2e-presubmits-pr-rosa-hcp

/test e2e-presubmits-pr-rosa-hcp

/test e2e-presubmits-pr-rosa-hcp

/test e2e-presubmits-pr-rosa-hcp

/test e2e-presubmits-pr-rosa-hcp

/test e2e-presubmits-pr-rosa-hcp

/test e2e-presubmits-pr-rosa-hcp

/test e2e-presubmits-images

/test e2e-presubmits-pr-rosa-hcp

/test e2e-presubmits-images

/test e2e-presubmits-pr-rosa-hcp


First led on green

Hi
      I drive 60 leds WS2812 using PWM, but all time i have first LED in string green (LED is ok, i try other string).
      Is a simple code that set all leds at same color, is this a know problem?

Can you show the code you are using?

ws281x.Net.Neopixel tiraled = new ws281x.Net.Neopixel(ledCount: 60, pin: 12, channel: 0, stripType: rpi_ws281x.WS2812_STRIP);
tiraled.Begin();
for (var i = 0; i < 60; i++)
tiraled.SetPixelColor(i, System.Drawing.Color.Red);
tiraled.Show();
very very simple, its my first try

That's really odd, I never had such a problem. But since this is just a C# wrapper, you may want to head over to rpi_ws281x and ask your question there, I cannot help you with this one.


CLDR Languages

Closes #2457 and #4990.
This gives iD much more knowledge about languages using the cldr-localenames-full module.

We're no longer limited to the wikipedia language list
Language names can be translated as needed without going through Transifex
Only translations for iD's supported languages are checked in

[x] Future work: nicer names for languages in a certain script when CLDR doesn't provide a name. Luckily CLDR does provide translated script names. For example, sr-Latn is currently displayed as "Serbian (sr-Latn)" in English when it should be "Serbian (Latin)".

This looks pretty good to me!  Feel free to merge 👍


Modernize rspec configuration

While I'm on a roll, I've been submitting similar PRs to some of the gems I use, so let's do it for dry-container too :)
This PR updates the project's spec_helper with the current defaults obtained by generating a new spec_helper with rspec --init. Modern rspec releases have a lot of useful options that are turned off
by default for backwards compatibility reasons, but that are rather useful, so a newly-created configuration includes their currently-recommended defaults.

TY @ivoanjo


Input chip usage example?

I'm trying to use a set of chips as input chips, but after reviewing the documentation I'm not sure of how it works or make it work with an input text field.
Reading the documentation upstream it specifically says:

The MDC Chips package does not handle the process of converting text into chips, in order to remain framework-agnostic.

I can understand that, but angular-mdc is not framework-agnostic so I guess it should have to provide the mechanism (or some guidelines) to do it.
I can add a text field an catch the input keydowns to "addchip", but I can't figure out how to show the chipset inside the input / text-field on a similar way that angular material is doing.
Any suggestion / idea / guide on how to do it?

Good suggestion. We're missing sample usage for using chips as inputs. See if I can come up with a quick demo for ya.

Hey @trimox, hope you are doing well. Any updates on this one ?

@gpulido @westdabestdb Sorry for the delay. I began to review material docs and got side tracked with the Bazel upgrade #1983 (took bit more effort than anticipated). Lemme circle back tomorrow.

Tested and working on a proper solution for this.

Awesome @trimox !

Btw, I managed to handle it on my own, I can post the code and screenshots here if you want?

@westdabestdb it would be awesome if you can provide some insight to this. thank you!

Shit dude @gpulido, I totally forgot to reply this. I apologize. Here check the screenshots and code.

      <mdc-icon class="search-icon">search</mdc-icon>

    <mdc-chip-set input *ngIf="inputs.length > 0">
      <mdc-chip *ngFor="let query of inputs">
        <mdc-chip-text class="font">{{query}}</mdc-chip-text>
        <mdc-chip-icon trailing>cancel</mdc-chip-icon>
      </mdc-chip>
    </mdc-chip-set>
    <input class="font" #query placeholder="Search by term, skill or company" type="text" (keyup.enter)="handleInput(query.value); query.value = ''" />

 0" class="reset-search" (click)="clearQueries()">
      <mdc-icon>clear</mdc-icon>

So basically my search class is flex, and has white background color. My input has transparent background color, and I display the chips when inputs.length > 0. It's a bit tricky way to achieve this but yeah, it works till we get a better example.

@westdabestdb Thanks for the code, would you mind completing it with the css /sass classes and the #query management code on the ts file?
Now I have to make it work with an autocomplete mode to pick values from a list.

@gpulido any update on documentation ?


Sample project not working on IOS

VERSIONS

Maui.GoogleMaps - x.x.x
.NET SDK - x.x.x

IDE

[ ] Rider
[x] Visual Studio
[ ] Visual Studio for Mac

PLATFORMS

[ ] Android
[x] iOS

ACTUAL BEHAVIOR
CachingImageFactory does not implement IImageFactory interface.
Method should have signature: public UIImage ToUIImage(BitmapDescriptor descriptor, IMauiContext mauiContext)
When I try to run: MainPage = new NavigationPage(new BindingPinViewPage());
I get:
Object reference not set to an instance of an object.'. Callstack: '   at Maui.GoogleMaps.Logics.iOS.UiSettingsLogic.OnUpdateCompassEnabled()
In this line Settings is null:
NativeMap.Settings.CompassButton = Map.UiSettings.CompassEnabled;
EXPECTED BEHAVIOR
Sample project works.

Any update on this? I tried to use this library in my project with no success, but when even the sample project does not work I gave up. Are there any plans to make a working version for ios?

Any update on this? I tried to use this library in my project with no success, but when even the sample project does not work I gave up. Are there any plans to make a working version for ios?

Hey there's a sample posted you can open up in visual studio and you could run it locally and it works no problem for both platforms for try that out first and look at the code there it's working for me with Maui 8, both Android and ios.

@alikoli What problems did u have? Did u browse the closed issues for similar ones?

fixed in https://github.com/themronion/Maui.GoogleMaps/commit/dbc7229543b219cded01af79ba81e52e903e5a5d


Is the Liver Vessel Segmentation function only available in v1? Or did I overlook this feature in v2

In any case thank you very much for your work, which will be important in my subsequent work on the data preprocessing process!

I found that you have in fact retained the function of blood vessel segmentation in the source code of V2, and I have called out the function of liver blood vessel segmentation by downloading the weights and modifying the source code of V2, but I got the following error:
If you use this tool please cite: https://pubs.rsna.org/doi/10.1148/ryai.230024
C:\Users\xiaoqianmu.totalsegmentator\nnunet\results
C:\Users\xiaoqianmu.totalsegmentator\nnunet\results
Generating rough body segmentation...
Resampling...
Resampled in 1.03s
Predicting...
100%|████████████████████████████████████████████████████████████████████████████████████| 4/4 [00:03<00:00,  1.19it/s]
Predicted in 15.11s
Resampling...
cropping from (512, 512, 164) to (264, 215, 162)
Predicting...
Traceback (most recent call last):
File "C:\Anaconda\envs\FUXIAN\lib\runpy.py", line 197, in _run_module_as_main
return _run_code(code, main_globals, None,
File "C:\Anaconda\envs\FUXIAN\lib\runpy.py", line 87, in run_code
exec(code, run_globals)
File "C:\Anaconda\envs\FUXIAN\Scripts\TotalSegmentator.exe_main.py", line 7, in
File "C:\Anaconda\envs\FUXIAN\lib\site-packages\totalsegmentator\bin\TotalSegmentator.py", line 127, in main
totalsegmentator(args.input, args.output, args.ml, args.nr_thr_resamp, args.nr_thr_saving,
File "C:\Anaconda\envs\FUXIAN\lib\site-packages\totalsegmentator\python_api.py", line 293, in totalsegmentator
seg_img, ct_img = nnUNet_predict_image(input, output, task_id, model=model, folds=folds,
File "C:\Anaconda\envs\FUXIAN\lib\site-packages\totalsegmentator\nnunet.py", line 392, in nnUNet_predict_image
nnUNetv2_predict(tmp_dir, tmp_dir, task_id, model, folds, trainer, tta,
File "C:\Anaconda\envs\FUXIAN\lib\site-packages\totalsegmentator\nnunet.py", line 146, in nnUNetv2_predict
model_folder = get_output_folder(task_id, trainer, plans, model)
File "C:\Anaconda\envs\FUXIAN\lib\site-packages\nnunetv2\utilities\file_path_utilities.py", line 22, in get_output_folder
tmp = join(nnUNet_results, maybe_convert_to_dataset_name(dataset_name_or_id),
File "C:\Anaconda\envs\FUXIAN\lib\site-packages\nnunetv2\utilities\dataset_name_id_conversion.py", line 74, in maybe_convert_to_dataset_name
return convert_id_to_dataset_name(dataset_name_or_id)
File "C:\Anaconda\envs\FUXIAN\lib\site-packages\nnunetv2\utilities\dataset_name_id_conversion.py", line 48, in convert_id_to_dataset_name
raise RuntimeError(f"Could not find a dataset with the ID {dataset_id}. Make sure the requested dataset ID "
RuntimeError: Could not find a dataset with the ID 8. Make sure the requested dataset ID exists and that nnU-Net knows where raw and preprocessed data are located (see Documentation - Installation). Here are your currently defined folders:
nnUNet_preprocessed=C:\Users\xiaoqianmu.totalsegmentator\nnunet\results
nnUNet_results=C:\Users\xiaoqianmu.totalsegmentator\nnunet\results
nnUNet_raw=C:\Users\xiaoqianmu.totalsegmentator\nnunet\results
If something is not right, adapt your environment variables.
Exception ignored in: <totalsegmentator.libs.DummyFile object at 0x0000022D4AF2F610>
AttributeError: 'DummyFile' object has no attribute 'flush'

Calling the remaining commented code does not work. It is deactivated for a good reason ;). I first have to train a nnunet v2 on the liver vessel data. This did not happen yet.

I completely understand , at the same time I found that the V1 version of the blood vessel segmentation results in more obvious blood vessel breakage phenomenon, but this phenomenon is the current liver blood vessel segmentation of the common difficulties.

if you still need more labeled liver blood vessel data, I strongly recommend the following two datasets, the former of which is publicly available, and the latter seems to need to pay for it
3DIrcadb: https://www.ircad.fr/research/data-sets/liver-segmentation-3d-ircadb-01/
LiVS: https://ieee-dataport.org/documents/liver-vessel-segmentation
Thanks again for your work!


Messed up Settings - How to fix it?

I was messing around with the various settings for quality and resolution in Carla. But I removed those things, and now I can't seem to get the default settings back
/home/user/cmu/carla/Dist/CARLA_Shipping_0.9.6-16-gd1d9174-dirty/LinuxNoEditor/CarlaUE4.sh
I ran the above command without any other flags, and the quality looks low (no shadows etc.) and resolution is low as well. How can I restore these settings? Where are these saved?
I am on version 0.9.6
I tried to change the quality level flag -quality-level=Epic but it doesnt change at all. Medium, High, Epic all give the same looking result

FYI, I deleted my entire carla directory and rebuilt it, i still get the same configuration. Clearly it is being saved somewhere outside

Finally I got it, I deleted the ~/.config/Epic/CarlaUE4 folder and now it works. 2 hours wasted


how to calculate the control volume weighted in the file "jetLES.h5" for a flow filed?

Literately use the "control volume" data from the .h5 file as the weight will do.

Yes, but how to get the original data for the .h5 file of a flow field? I mean how to obtain the weight encapsulated in .h5file

Yes, but how to get the original data for the .h5 file of a flow field? I mean how to obtain the weight encapsulated in .h5file

I suppose you are using a commercial CFD solver. Try to consult the support team instead.

OK. Got it. Thank you very much.


[LANGUAGES] Getting Started with YAML, JSON, and XML Data formats

Introduction
As a software engineer, one must have the basic knowledge about different representation of data formats. For instance, a REST API data is fomated in JSON structure while it is in YAML for cloud-native applications.  This is crucial in development practices and every developers will surely work with these formats.
Key takeaways
In this tutorial, readers will learn how to get started with different data formats and the following;

What is YAML and how it is used to format data.
YAML syntaxes and their meanings
JSON and XML structure.
Differences between these data formats and their functionalites.
Demo on REST API with JSON

Article Quality
Readers will benefit immensely in this tutorial because i will be walking them through the various data formats, how they are been used by demo, and syntaxes. This is very crucial to learn in real-world practices.
References
N/A

Thank you for your response and we thank you for submitting your topic. After some careful consideration it struck us that this topic may be a bit over saturated throughout other blog sites and official documentations as previously mentioned on your topic form by our content moderator.
We typically refrain from publishing content that is covered widely on the net or other blogs. As we're more interested in original, practitioner-focused content that takes a deeper dive into programming-centric concepts.
@Horlawhumy-dev Unfortunately, we already have many articles showing REST APIs and returning JSON data.

@WanjaMIKE sir, thank you for the response on this issue. This tutorial aims to teach readers different types of data formats.
Most beginners struggle to differentiate between these formats, and of which they cannot do without them as developers.
Kindly allow me to talk about it. I am willing to make this unique, and worth reading at the end. Thank you!

@Wanjamike sir😴


refactor: update math/base/special/log10 to freeBSD version 12.2.0

Description

What is the purpose of this pull request?

This pull request:

updates existing JavaScript implementation to follow FreeBSD version 12.2.0.
adds corresponding test.
removed klog.js and related files, instead used kernelLog1p.

Related Issues
None.
Questions

Any questions for reviewers of this pull request?

No.
Other

Any other information relevant to this pull request? This may include screenshots, references, and/or implementation notes.

I have made slight modifications in that part too, which was common in both 9.3.0 and 12.2.0, based on what we have in log2, such as using toWords instead of getHighWord. This is because, after including a separate branch for checking log(1) = +0, our older code was not reaching that branch, though it gave the correct result. This was leading to a code coverage of less than 100%.
After the changes, it does well.

References:

https://svnweb.freebsd.org/base/release/12.2.0/lib/msun/src/e_log10.c?revision=367086&view=markup
https://svnweb.freebsd.org/base/release/9.3.0/lib/msun/src/e_log10.c?revision=268523&view=markup

Checklist

Please ensure the following tasks are completed before submitting this pull request.

[x] Read, understood, and followed the contributing guidelines.

@stdlib-js/reviewers

Also, thank you for including the reference links in the OP. That is quite useful, especially when looking back at changes and their rationale.


Show rule evaluation errors on rules page

This is my initial stab at #4446

I am able to get the happy path working, but I can't seem to replicate a query error.. I'm not seeing one in my logs when using the expr given by @matthiasr in the linked issue. Is there a query I can run locally to get an error that someone might have off hand? Thanks!
Fixes #4446
cc: @brian-brazil

Thanks for this. If you configure a remote read that doesn't work/exist, it'll cause your rules to fail.
I don't think we need the state, that's more a target thing.

@matthiasr fixed up some code comments and added mutex as per comment from @juliusv. Could you review again?
I also prefer the state field for the same reasons you mentioned.

Looks generally good to me besides last nits.
I don't feel strongly on having the state or just the error from the UI side. From the code side, having just the error would be less code, which is always good, but ¯\_(ツ)_/¯.

seems like the tests are hanging? 🤔

@noqcks The Travis tests are causing trouble for us unfortunately :( I re-prodded them, but the other tests are already good.

Also @mxinden we probably want this reflected in the Rules API?

@simonpasquier Good idea, thanks for the link. If there are no objections, I can follow up with that, once this PR is merged.

:+1: now, will merge after the (non-Travis, at least) tests pass

Oh drat, that's what we get for not fixing our Travis tests that fail all the time for other reasons. Thought somehow that one of the other CIs also ran tests. @noqcks, would you have time to fix this at the moment or should I take a look?

Yea, it's a bit confusing with all our different CIs doing different stuff.
It's all good though, just needed 2 lines changed to fix it, which I just folded into #4471.

@fabxc Oh great, thanks!


Es6ify

Use classes and features of es6
Also use eslint rather than JSCS and JSHint

Other than the import over const ... require() stuff it looks great. :+1:


[FLINK-12156][coordination] Remove legacy FlinkActor

What is the purpose of the change
Remove legacy FlinkActor. Also its unused subclasses LeaderSessionMessageFilter and LogMessages
This pr based on #8135
Verifying this change
This change is a code cleanup without any test coverage.
Does this pull request potentially affect one of the following parts:

Dependencies (does it add or upgrade a dependency): (no)
The public API, i.e., is any changed class annotated with @Public(Evolving): (no)
The serializers: (no)
The runtime per-record code paths (performance sensitive): (no)
Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Yarn/Mesos, ZooKeeper: (no)
The S3 file system connector:(no)

Documentation

Does this pull request introduce a new feature? (no)
If yes, how is the feature documented? (not applicable)

cc @zentol @dawidwys

@yanghua Would be great if you could rebase the PR, I'd merge it afterwards. Travis result is acceptable (since stuff still compiles; the build as a whole failed due to a caching issue)

@zentol Do you want to ping @TisonKun ?

@zentol done rebase.
(I had expected different line changes of TestingUtils.scala would not cause conflict...


ROCM in macOS

Suggestion Description
I think that could be incredible to use amd in macos systems also. It's a flavour point from Nvidia.
I see that you're working to support windows soon
https://github.blog/changelog/2024-01-30-github-actions-macos-14-sonoma-is-now-available/

Operating System
No response
GPU
No response
ROCm Component
No response

@johnnynunez Can you please close this ticket as this not an issue and open this ticket under 'Discussions' section? Thanks!


poll latest block number and use that as toBlock instead of the 'latest' string

new API does this


Add new routes to support front-end

Added get user endpoint
Added update/PUT endpoint for topics

Changes are working as expected. Merging this.


Text in forward button inside player controls not readable when using Material 3 theme

Version
Media3 1.1.0
More version details
No response
Devices that reproduce the issue
Should affect all devices, but tested with:

Fold-Out Emulator Android 11
Pixel 7 Android 13

Some more users reported this on Zapp: https://github.com/mediathekview/zapp/issues/366
Devices that do not reproduce the issue
No response
Reproducible in the demo app?
Yes
Reproduction steps

Replace the parent of PlayerTheme in the demo app with Theme.Material3.Dark or some other material 3 theme
Play back any video
Tap to show the control view buttons

Expected result
The prev button should display the default 15 seconds forward increment in a readable way.
Actual result
The prev button seemingly displays a 5 seconds forward increment:

However, according to the layout inspector the text is set correctly. It does break in an unfortunate way, so only the 5 figure is visible to the user.
Media
Clear DASH > HD
But this issue occurs with every video file.
Bug Report

[ ] You will email the zip file produced by adb bugreport to<EMAIL_ADDRESS>after filing this issue.

Hi @cemrich,
Thanks for reporting the issue. I can confirm that this issue is reproducible on the demo app. I'll assign this to someone who knows more about UI.

I openend a PR that should fix this issue - it might take a bit for it to be merged and released.


Randi listed at 5-7* unit in unit inventory

He's 6* max.

This may be because in the game data, he is listed as 5-7*, you can see this in the unit guide (or possibly in the unit itself, if you have a Randi).


read_replicas name always has <primary_name>-replica in it

TL;DR
I want to create a read_replica with its own name. If I set name = "", it gives <primary_name>-replica, if I set name ="test", I got <primary_name>-replicatest. but I actually want name as "test".  Is this a bug? How I can choose my own name without "-replica" in it?
Expected behavior

resource "google_sql_database_instance" "replicas" {

master_instance_name           = "article"
name                           = "article-replicareplica_test_name"

Observed behavior

resource "google_sql_database_instance" "replicas" {

master_instance_name           = "article"
name                           = "replica_test_name"

Terraform Configuration
terraform {
  required_providers {
    google = {
      source  = "hashicorp/google"
      version = "~> 4.44"
    }

  }
}

Terraform Version
Terraform v1.3.1
on darwin_amd64

Additional information
No response

required_providers {
google = {
source  = "hashicorp/google"
version = "~> 4.44"
}
}


chore: Adding note for migrated repo

@ddixit14 OwlBot reverts change to the templates. Modify owlbot.py at the root to exclude the files.

Owlbot is not touching these files anymore. Hence merging it in.


Typescript error for extractStyle

I have this ts error when using extractStyle  for solving page css flicker problem in nuxt.config.ts:
Type '{ extractStyle: true; }' is not assignable to type 'Partial<Partial<Options>>'.
  Object literal may only specify known properties, and 'extractStyle' does not exist in type 'Partial<Partial<Options>>'.

Here's my nuxt.config.ts
export default defineNuxtConfig({
  modules: [
    "@ant-design-vue/nuxt",
    // Other modules
    ],
    ...
  antd: {
    extractStyle: true,
  },
 ...
})

I have tried to ignore TS on that line by using  // @ts-expect-error:next-line but in my app.ts, I have this waring: [Vue warn]: Failed to resolve component: a-extract-style
My app.ts:
<template>
  <a-extract-style>
    <NuxtLayout>
      <NuxtPage />
    </NuxtLayout>
  </a-extract-style>
</template>

My project: Nuxt 3.9.0, @ant-design-vue/nuxt 1.3.0

update 1.4.1


kubean success job log has  "fatal failed xxx" information, very confused

Describe the version
version about:

kubean
ghcr.io/kubean-io/kubean-operator:v0.7.4
kubenetes
v1.26.5

Describe the bug

create kubean cluster  from dce kpanda, status is success
check the kubean log and there are "fatal xxx"
this is very confused for a successful job

it seems to use "check xxxxx failed"..... skip , should be better. just my understanding.
TASK [Check kubeconfig configmap] **********************************************
fatal: [localhost]: FAILED! => {"changed": true, "cmd": "/usr/local/bin/kubectl -n kubean-system get configmap xxx-kubeconf", "delta": "0:00:00.423699", "end": "2023-09-07 04:20:52.620538", "msg": "non-zero return code", "rc": 1, "start": "2023-09-07 04:20:52.196839", "stderr": "Error from server (NotFound): configmaps "xxx-kubeconf" not found", "stderr_lines": ["Error from server (NotFound): configmaps "xxx-kubeconf" not found"], "stdout": "", "stdout_lines": []}
...ignoring

The error ignore is the mechanism of Ansible. Sometime an error would not block the main process, and might act as a feature, it will be designed with failure-allowing.


Version 3.0.11

Landed in https://github.com/metarhia/impress/commit/7531346db21d8cfffe868bc10f8aaab9456ed60b


Extract function to get op item name from zou

Changelog Description
There was no way to get the right OpenPype shot (and all assets) name from zou data.
The code was nested inside modules.kitsu.utils.update_op_with_zou.update_op_assets().
At Normaal studio, we needed to find a way to get any OpenPype asset name from zou, no matter its zou's type (asset, shot, sequence etc.).
So I extracted the code into a new get_op_item_name_from_zou() function, which allows us to easily set, for any item type, the OpenPype name from the zou item and its parent name.
Testing notes:

For example get a Shot's task from gazu with gazu.task.get_task(task_id)
If task has a parent, also get it from zou and keep its name
Get task's related shot from zou using gazu.shot.get_shot(task_id)
Call get_op_item_name_from_zou(shot, parent_name)
You now get OpenPype shot's name from a Zou shot's task.

@Tilix4 can you review this PR please ?

Considering this is targeting purely OpenPype, we'll have to close the PR. Happy to see addition to https://github.com/ynput/ayon-kitsu though!


Multiple user logon results in 401 Unauthorized and first user being booted

Issue Description
We are unable to have more than one user access King-Phisher at a time.
When someone is logged on, and another user attempts to authenticate, the first user gets booted off and is forced to close the client and wait until the other user has logged off.
Reproduction Steps

Start King Phisher
Connect to the King-Phisher server remotely with the client ./King-Phisher
Have another user attempt to logon to King-Phisher

Environment Details
Host OS: Kali Rolling
King Phisher Version: Latest
Error Details / Stack Trace
advancedhttpserver.RPCError:` the server responded with 401 'Unauthorized'
WARNING  failed to logout, rpc error: Unauthorized

That's the intended functionality. If the same user tries to log on multiple times, then the previous session will be invalidated resulting in the 401 Unauthorized error you're seeing being displayed.
I recommend you create multiple accounts instead of sharing one.

Creating a separate user and authenticating with it solved my issue.
Thanks!


Follow redirects when Facebook responds with 302

Sometimes when requesting a video page with a URL like
https://www.facebook.com/video.php?v=1538251459532283
Facebook does not return a 200 OK, but a 302 and a new URL in the location header:
https://www.facebook.com/308524982504943/videos/1538251459532283
Also Facebook has a new possible format of outputting view count in the HTML.

Coverage decreased (-4.9%) to 95.105% when pulling 8cd1b3a5638d8bdc88dff3316678307289915668 on claudiofullscreen:follow-redirects into 3d2ab2466877b9651b023b4d5e3dd1ce0257e1f9 on Fullscreen:master.


Is it possible save in a config file where the transpiled files will be written?

The package allows to define the folder where the files will be transpiled filling in the setting the field Babel Transpile Path. Is is possible to store this value in a config file? is is maybe in babelrc?

I'll look at doing this. I won't use .babelrc as I don't want to pollute it. I'm not sure how flexible this should be. One config file in the projects root folder or maybe look for config files in the path from the source file up to the project root. Probably the latter.


Adding breadcrumb component.

Okay I can't properly change the target branch without risking messing up yours with a force push so I'll merge this into https://github.com/hydephp/develop/pull/685 and then cherry pick it from there to master.


Got error when training example data

tensorflow1.14.0, opencv4.1.0,  cuda10, gtx970, python3.6.8, Ubuntu16.04,
I can test the data, but when I try to train the data from your instruction. I got some error
2019-08-08 18:49:11.821589: W tensorflow/compiler/jit/mark_for_compilation_pass.cc:1412] (One-time warning): Not using XLA:CPU for cluster because envvar TF_XLA_FLAGS=--tf_xla_cpu_global_jit was not set.  If you want XLA:CPU, either set that envvar, or use experimental_jit_scope to enable XLA:CPU.  To confirm that XLA is active, pass --vmodule=xla_compilation_cache=1 (as a proper command-line flag, not via TF_XLA_FLAGS) or set the envvar XLA_FLAGS=--xla_hlo_profile.
2019-08-08 18:49:30.541492: W tensorflow/core/framework/op_kernel.cc:1502] OP_REQUIRES failed at variable_ops.cc:104 : Already exists: Resource __per_step_18/lanenet_model/vgg_backend/instance_seg/while/ArithmeticOptimizer/AddOpsRewrite_add_3/tmp_var/N10tensorflow19TemporaryVariableOp6TmpVarE
2019-08-08 18:49:30.542956: W tensorflow/core/framework/op_kernel.cc:1502] OP_REQUIRES failed at variable_ops.cc:104 : Already exists: Resource __per_step_18/lanenet_model/vgg_backend/instance_seg/while/ArithmeticOptimizer/AddOpsRewrite_add_3/tmp_var/N10tensorflow19TemporaryVariableOp6TmpVarE
2019-08-08 18:49:30.543039: W tensorflow/core/framework/op_kernel.cc:1502] OP_REQUIRES failed at variable_ops.cc:104 : Already exists: Resource __per_step_18/lanenet_model/vgg_backend/instance_seg/while/ArithmeticOptimizer/AddOpsRewrite_add_3/tmp_var/N10tensorflow19TemporaryVariableOp6TmpVarE
Traceback (most recent call last):
File "/usr/local/lib/python3.6/dist-packages/tensorflow/python/client/session.py", line 1356, in _do_call
return fn(*args)
File "/usr/local/lib/python3.6/dist-packages/tensorflow/python/client/session.py", line 1341, in _run_fn
options, feed_dict, fetch_list, target_list, run_metadata)
File "/usr/local/lib/python3.6/dist-packages/tensorflow/python/client/session.py", line 1429, in _call_tf_sessionrun
run_metadata)
tensorflow.python.framework.errors_impl.AlreadyExistsError: Resource __per_step_18/lanenet_model/vgg_backend/instance_seg/while/ArithmeticOptimizer/AddOpsRewrite_add_3/tmp_var/N10tensorflow19TemporaryVariableOp6TmpVarE
[[{{node lanenet_model/vgg_backend/instance_seg/while/ArithmeticOptimizer/AddOpsRewrite_add_3/tmp_var}}]]
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "tools/train_lanenet.py", line 715, in
train_lanenet(args.dataset_dir, args.weights_path, net_flag=args.net_flag)
File "tools/train_lanenet.py", line 438, in train_lanenet
train_images, train_binary_labels, train_instance_labels])
File "/usr/local/lib/python3.6/dist-packages/tensorflow/python/client/session.py", line 950, in run
run_metadata_ptr)
File "/usr/local/lib/python3.6/dist-packages/tensorflow/python/client/session.py", line 1173, in _run
feed_dict_tensor, options, run_metadata)
File "/usr/local/lib/python3.6/dist-packages/tensorflow/python/client/session.py", line 1350, in _do_run
run_metadata)
File "/usr/local/lib/python3.6/dist-packages/tensorflow/python/client/session.py", line 1370, in _do_call
raise type(e)(node_def, op, message)
tensorflow.python.framework.errors_impl.AlreadyExistsError: Resource __per_step_18/lanenet_model/vgg_backend/instance_seg/while/ArithmeticOptimizer/AddOpsRewrite_add_3/tmp_var/N10tensorflow19TemporaryVariableOp6TmpVarE
[[{{node lanenet_model/vgg_backend/instance_seg/while/ArithmeticOptimizer/AddOpsRewrite_add_3/tmp_var}}]]
I cannot solve these error. I have tried using three different computers, but I got the same error.
Then, I tried with tensorflow1.12.0, I got the same error above.
Then I tried with tensorflow1.10.0, I got another error "module tensorflow has no random"
Do anyone meet the same problem?
Thanks

It is due to the version of tensorflow
change codes in train_lanet.py line398
from tensorflow.core.protobuf import rewriter_config_pb2
sess_config = tf.ConfigProto(log_device_placement=False,allow_soft_placement=True)
sess_config.gpu_options.per_process_gpu_memory_fraction = CFG.TRAIN.GPU_MEMORY_FRACTION
sess_config.gpu_options.allow_growth = CFG.TRAIN.TF_ALLOW_GROWTH
sess_config.gpu_options.allocator_type = 'BFC'
off = rewriter_config_pb2.RewriterConfig.OFF
sess_config.graph_options.rewrite_options.arithmetic_optimization = off
sess = tf.Session(config=sess_config)


IOS - JSON erroe when sending message with special characters

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Action Performed:

Navigate to any chat
Send multiple messages with special characters

Expected Result:
User should be able to send any message on IOS
Actual Result:
User gets JSON error in some cases. Not consistently repro
We are probably using substr instead of mb_substr somewhere in the add comment command
Workaround:
unknown
Platform:

Where is this issue occurring?

iOS

Version Number: 1.1.91-0
Reproducible in staging?: Y
Reproducible in production?: need repro
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos: Any additional supporting documentation

Expensify/Expensify Issue URL:
Issue reported by: @shawnborton @JmillsExpensify
Slack conversation:

View all open jobs on GitHub

I got a fix for this.

This should be fixed! Closing.


fix content type

In the current Elastic Search Version the Content Type detection for rest requests is deprecated. This sets the Content Header explicit to application/json

Hmm, don't know how to better target 1.1. then just use the old branch and sherry pick and push a new branch. If there is a better way plz tell. It's the fix for #66 @dfeyer

ping @dfeyer


feat!: Update to Uno 5

GitHub Issue: #

Proposed Changes

Feature
What is the current behavior?

Nventive.Persistence targets Uno 4 and .net 6, supports Xamarin.
What is the new behavior?

Nventive.Persistence targets Uno 5 and .net 7, doesn't support Xamarin.
Checklist
Please check if your PR fulfills the following requirements:

[x] Documentation has been added/updated
[ ] Automated Unit / Integration tests for the changes have been added/updated
[ ]  Contains NO breaking changes
[x] Updated the Changelog
[ ] Associated with an issue

Apps will need to migrate to Uno 5.
Other information

@jeanplevesque We've implemented the changes you've requested, is the PR good to go?

@juliecantin JP should be back tomorrow :)


added comments in self_balancing.c

Added the required comments in self_balancing.c

Don't make inline comments, make the change and push the changes here itself, no need to close this pull request @Bhumika-Kothwal


Frontend compiler plugin should throw a warning for the possible wrong use of constructs.

The following use of the repeat( /repeating ) construct with a nested neighboring, in some cases should be highlighted as a warning from the frontend compiler plugin.
Eg:
repeat(initial){ it ->
    val newValue = //same of `it`
    neighboring(newValue).operation //field reduction
}

In the case above,
the compiler should throw a warning that suggest to use the share construct instead of nesting repeat and neighboring.
If what you share with your neighbors (using neighboring), and it depends on the state of the repeat,
is different from what you return as the last value of the repeat, then the entire block can be replaced with a share.
repeat(initial){ it ->
    val newValue = //same of `it`
    neighboring(otherValue)
    newValue
}

Different is the case in which a different value is shared among neighbors, in this case it is ok to use the nested constructs.
You may also find a pattern for this use.

@FreshMag Could you check if this scenario is already covered in the frontend plugin?
If not, could you integrate it into the plugin?


restricted harbour store app access

is availability of harbour store apps somehow restricted for tama devices? e.g. search for aida64 or sidudict does not list these apps.

it shouldn't be. what is your device specifically (single or dual xz3?). I can access these apps. Let me know your device model as in ssu s and I can ping on the porters channel

xz3 single sim
Device registration status: not registered
Device model: Xperia XZ3 (h8416 / h8416)
Device UIDRelease: <IP_ADDRESS>
Domain: salesBrand: Jolla

I also got this for some apps, but since it only were some odd ones e.g. rpncalc, I just put it in cache problem category at that time (Dec 6th).

I can see that I asked for
Xperia XZ2 (h8216 / h8216)
Xperia XZ3 (h9436 / h9436)
Xperia XZ2 (h8266 / h8266)
h8416 was not requested yet. To request it, I need you check if

ssu s returns IMEI as a device id
that IMEI is shown correctly in Settings/About product
IMEI is the same as was on your box or in Android

As soon as this is confirmed, I can ask for full access.

PS: @ljo: If your phone was in the device list above, please let me know. I will have to notify about problems then

I can confirm that the Device UID in ssu s is the same with the SailfishOS Settings/About page, and the same as the android one.
[nemo@Sailfish ~]$ ssu s
WARNING: ssu.ini does not seem to be writable. Setting values might not work.
Device registration status: not registered
Device model: Xperia XZ3 (h8416 / h8416)
Device UID: xxxx
Release: <IP_ADDRESS>
Domain: sales
Brand: Jolla

thanks

Requested. Now we will have to wait

@pagism : your device has been added, please try again

PS: close the issue if it works

thank you  i just checked it, it works !


[PROPOSAL]Merge Generated APIs into Existing Client Module

What are you proposing?
Merge the generated APIs into the existing client module to progress towards complete client generation, ensuring alignment with the server.
How does the opensearch-py API Generator function?

Run the generator as per the developer guide.
The generator retrieves the OpenSearch API specification JSON data.
API paths and methods are processed and grouped based on the x-operation-group field.
API parameters, parts, methods, and documentation are updated and organized.
For each API endpoint, instances of Module and API classes are initialized.
Generator checks if corresponding module exists in the clients folder for each API's namespace.
If the module is absent, creates a module for the corresponding namespace.
In the module, a class is created based on the namespace, containing API definitions or actions.
Ninja templates are utilized for generation, with overrides for compatibility.
Format the code using instructions in developer guide.
If a namespace/module already exists, then existing definitions in that module are replaced by the generated API definitions.

What problems are you trying to solve?
Consider 'indices' namespace, post-generation, existing APIs are replaced by generated ones. Some generated API may be different from the existing APIs. We need to explore solutions for handling divergent APIs, termed as 'Patch APIs.' Our goal is to structure the merging process to prevent breaking changes. We categorize APIs as 'generatable' or 'Patch'

Solutions:
Three approaches are discussed below to separate and structure generatable and patch APIs.
Current client structure:

Approach 1
Consider "indices" namespace, all the patch APIs are placed in a separate file "indices/patch.py". In this way while running generator, patch APIs wont be altered. And we generate all other APIs into "indices.py". Easy implementation and contributor-friendly.

Approach 2
Change client structure to one file per action/API within the namespace. Significant effort initially, both in changing the client structure and adapting the generator. The following PR shows more about this approach. https://github.com/opensearch-project/opensearch-py/pull/475/files

Approach 3
Modify specs of patch APIs within the generator to match existing APIs. Utilize overrides in ninja templates to overwrite generated APIs. Time-consuming but avoids major structural changes.

What is the developer experience going to be?
Developers must understand generator functionality before contributing. Decisions on contributions (API spec, generator, or patch) are essential.
Are there breaking changes to the User Experience?
Aims for no breaking changes; user experience remains consistent.
Why should it be built?
Facilitates easier addition of client support for new server-side APIs.
Please let me know your thoughts and suggestions.

This is quite thoughtful. If you didn't have to minimize breaking changes, what would this process look like? I would work backwards from there, with the hope that once the API generator is producing the entire API we can delete all patches and make one major version bump breaking backwards compatibility.


Followup changes to vellottie merge

#13 is quite large already, so this track issues and further enhancements to make after its merge.
Needed for release

[x] move util.rs into import.rs (from @DJMcNab)
[x] add lib.rs crate documentation (from @DJMcNab)
[x] reduce boilerplate in scenes/src/download/default_downloads.rs with a macro (from @DJMcNab)
[x] add usage to README
[x] print total file download at prompt time (from @DJMcNab)
[x] Introduce a changelog

Not needed for release

[ ] Consolidate schema changes from LAC
[ ] separate the with_winit example from vello into something that can be imported, to reduce copy/paste work
[x] include optional wgpu-profiler work from https://github.com/linebender/vello/pull/502 (from @DJMcNab) (superseded by the above)
[ ] Non-linear interpolation with kurbo primitives (from @dfrg)
[ ] Consolidate the runtime SplitValues((Value<f32>, Value<f32>)) into Value(Value<Point>) (from @dfrg)
[ ] Pack tangent and hold frame into a u32 (from @dfrg) - See this discussion.
[ ] Replace brush_with_alpha after https://github.com/linebender/peniko/issues/27

@DJMcNab @xStrom @dfrg - I put forth a PR (#15) to get us into a release state.
The rough edges are documented. I was thinking I could defer the other changes after release.
So, I guess this is good to review, on the assumption what I've done here is enough to publish.


Developer guide user stories

User stories added to user guide

Should the changes to relationship and attribute be included in this pull request?


Fix React-PropTypes-to-prop-types for destructured require

I was using React-PropTypes-to-prop-types to convert files in our repo,
and I noticed that this type of construct wouldn't be converted:
const { PropTypes } = require('react');
To fix this, I modified a function that handled constructs of the
following kind:
const { PropTypes } = React;
Naming the test fixture was a little hard, since there are other
fixtures testing almost the same thing. I decided to use the term
"direct" to refer to a destructure done "directly" aimed at a require.

Very nice! Thanks for adding a test and for making this improvement. :)


InvalidCastException: 'Unable to cast object of type 'Microsoft.Dynamics.Nav.CodeAnalysis.Symbols.SourceChangeAddActionSymbol' to type 'Microsoft.Dynamics.Nav.CodeAnalysis.IActionSymbol'.'

Found an issue related with https://github.com/StefanMaron/BusinessCentral.LinterCop/issues/587, where the code below throws and exception.
pageextension 50010 "Delivery Specifications" extends "Delivery Specifications"
{
    actions
    {
        addlast(Promoted)
        {
            group(Labels)
            {
                ShowAs = SplitButton;
            }
        }
    }
}

An exception of type 'System.InvalidCastException' occurred in BusinessCentral.LinterCop.dll but was not handled in user code: 'Unable to cast object of type 'Microsoft.Dynamics.Nav.CodeAnalysis.Symbols.SourceChangeAddActionSymbol' to type 'Microsoft.Dynamics.Nav.CodeAnalysis.IActionSymbol'.'
   at BusinessCentral.LinterCop.Design.Rule0016CheckForMissingCaptions.CheckForMissingCaptions(SymbolAnalysisContext context) in C:\Users\arthur.vandevondervo\repo\BusinessCentral.LinterCop\Design\Rule0016CheckForMissingCaptions.cs:line 98
   at Microsoft.Dynamics.Nav.CodeAnalysis.Diagnostics.AnalyzerExecutor.<>c__DisplayClass50_2.<ExecuteSymbolActionsCore>b__0()
   at Microsoft.Dynamics.Nav.CodeAnalysis.Diagnostics.AnalyzerExecutor.ExecuteAndCatchIfThrows_NoLock(DiagnosticAnalyzer analyzer, Action analyze, Nullable`1 info)```

This should now be resolved in the release version of v0.30.25 of the LinterCop.


Release of Microsoft.Authorization 2022-04-01

Related command
az role
Resource Provider
Microsoft.Authorization
Description of Feature or Work Requested
Request CLI team to upgrade the Az CLI to start consuming the API version 2022-04-01 for role assignment, role definition and deny assignment operations
No behavior changes.
Minimum API Version Required
2022-04-01
Swagger PR link
https://github.com/Azure/azure-rest-api-specs/pull/19937
Target Date
July/August

@jiasli for awareness

This requires migration to azure-mgmt-authorization Track 2 SDK.


fix typo in the multi-region documentation

Simple typo fix on the multi-region documentation.
I was getting "Error: unknown flag: --additionnal-topology" errors because I copy/pasted the examples in the documentation.
Indeed, the correct option is  "--additional-topology", with a single N

/ok-to-test

/approve
/lgtm


T255 fix flux

Description
Fix flux to always have different player drawing diffrenent sentence.


Blog post for cs-reboot-info

This post outlines our Cloud Servers reboot situation and introduces the cs-reboot-info tool. This was reviewed by Chris Kuehl.

LGTM. Merging.


Add testbench for ERROR_OUTPUT_LOGIC.

It is worth noting that none of the changes to error_output_logic.v changes synthesis, it just adds names to nets for ease of debugging.  The fix for the broken DRAM test was https://github.com/SymbiFlow/yosys/pull/29.
This PR will fail on CI until a yosys with https://github.com/SymbiFlow/yosys/pull/29 is included.

Waiting for green CI, and will then merge.


Master -> develop after 2.2.1 release

Pull Request Checklist:

[ ] Positive Test Case Written by Dev

[ ] Automated Testing

[ ] Sufficient User and Developer Documentation

[ ] Passing Jenkins Build

[ ] Peer Code review and approval

Positive Test Case

[Enter positive test case here]

METRIC
VALUE

https://sonarqube.cuahsi-workstation.com:9000/dashboard?id=hydroshare-4964


test: local HTTP server for e2e tests

Draft proposal.
Demo for an option "Config-based static server": http://go/chrome-devtools:mapper-test-http-server
Based on pytest-httpserver.
LocalHttpServer provides URLs for a given paths.
TODO: add python script running standalone server for manual debugging.

Bug #575


ncu -a

Coverage remained the same at 100.0% when pulling 9da27921f88a10b03975ae1ec43f1effbdfaeab2 on ncu into a4027d7076111a5407559b95f494b43aebccbf14 on master.


test: fix sct verificaction after merge conflict

Signed-off-by: Asra Ali<EMAIL_ADDRESS>merge conflict after https://github.com/sigstore/cosign/pull/2400/files didn't add an ignoresct to checkopts, CI is failing right now

Summary

Release Note

Documentation

thanks!


Alternatives for using django-debug-toolbar in Production

I am running into an issue on my production Django app in Heroku where I am getting a too many connections error from postgresql.
I'm very confused by this bug as everything works fine in development/localhost but after a few requests in production my 20 Heroku connections keep getting used up. Btw, I have Sentry already but I can't use that to diagnose sql connections. Also the issue started when I started using the new Django channels and running my Procfile with Daphne.
I planned on using django-debug-toolbar to debug this so I can diagnose how to fix this issue, but the documentation said its not recommended. 1) Why is it a bad idea? 2) What are some alternatives I can use to diagnose and fix this issue in production?

Well the reason it's a bad idea is because your users can see data they shouldn't.
You can mitigate this by using a custom callback for displaying the toolbar.
keep the debug setting to false and add this to your settings:
def show_toolbar(request):
    return request.user and request.user.username == "yourusername"

DEBUG_TOOLBAR_CONFIG = {
    'SHOW_TOOLBAR_CALLBACK': 'projectname.settings.show_toolbar',

sourced from here
You would also need to ensure the debug toolbar urls are active even with debug off.
BUT this would expose the toolbar urls to ajax requests even if the end users can't see the toolbar.

Just a note on that: keep in mind to include the debug-toolbar middleware after the AuthenticationMiddleware, or else you won't have a user on the request ;)

BUT this would expose the toolbar urls to ajax requests even if the end users can't see the toolbar.

This was fixed in 68c4410f01cb31d199fc4aed86db9bdf965ccbad. It is now safe to use Debug Toolbar in production so long as INTERNAL_IPS and SHOW_TOOLBAR_CALLBACK use safe values.
As this handles the original request. Closing.

I don't think we should claim this is safe to use in production. The
toolbar retains post information, unencrypted, in memory. This includes all
sensitive information.

The toolbar retains post information, unencrypted, in memory.

This is sometimes true but no different than any other Django view or request. Django views frequently hold sensitive information in memory. So long as all public URLs are guarded in a way that displays a 404 no sensitive information is leaked.
When the SHOW_TOOLBAR_CALLBACK setting returns False, the sensitive information isn't collected in the first place.
Do you have a proof-of-concept attack for accessing this information? If so, I'll happily work towards resolving the vulnerability.

I am not the right person to declare this insecure, but I'm not confident
in this being used in production either. The only thing that I can
immediately think of that could be problematic is that if other users
requests get stored and can be accessed by another, then we run the risk of
one user seeing the sensitive information of another.
For example, if that's true, a toolbar enabled user could show the post
data from a request that involved sensitive data such as a login or
financial transaction.
I haven't actually tested this, but if it is a problem then I suspect a fix
for that is to limit the requests available in the toolbar to a specific
session.


IS THIS A KIND OF FASCİSM TO OPEN SOURCE?!

You are making an open source pluging. But it won't work on LINUX unlike Windows. What's this dilemma?! Are you serious ?!?!

I don't know what's wrong with you, but if you're actually interested in fixing your issue, try creating a new issue without being rude and provide actual helpful information about your case. I'm on Arch btw, so it definitely works on Linux.

Okay, I'm calm now. So, let me start over.
First of all, congratulations on using free software. However, unfortunately, your plugin doesn't work correctly on Linux as it does on Windows.
I use the Readitlater plugin in Obsidian. I'm including the link below. The plugin requires your plugin. But unfortunately, due to the issue on Linux, I can't save web pages with Readitlater. If you want, you can try Readitlater yourself to confirm the problem.
Thank you! And I apologize for the subject line. After trying so hard to solve the problem and failing, I ended up using that title. I know that's not an excuse, but I apologize anyway.
https://github.com/DominikPieper/obsidian-ReadItLater

Are you sure the issue lies in this plugin and not the ReadItLager plugin? By just saying it's not working, I guess Obsidian doesn't even get launched by the uri or no uri is called at all. That's nothing the plugin can control.


BUG: de-initialize model parallel

The following command pytest tests/samplers/ complains
FAILED tests/samplers/test_logprobs.py::test_get_prompt_logprobs[half-facebook/opt-125m] - AssertionError: tensor model parallel group is already initialized

with the stack trace revealing code in initialize_model_parallel as follows:
        rank = torch.distributed.get_rank()

        # Build the tensor model-parallel groups.
        global _TENSOR_MODEL_PARALLEL_GROUP
>       assert _TENSOR_MODEL_PARALLEL_GROUP is None, (
            "tensor model parallel group is already initialized")
E       AssertionError: tensor model parallel group is already initialized

vllm/model_executor/parallel_utils/parallel_state.py:64: AssertionError

However, if I run tests/samplers/test_logprobs.py::test_get_prompt_logprob along, it passes.
A similar case is pytest tests/models/, which complains the following assertion failures:
FAILED tests/models/test_models.py::test_models[128-half-meta-llama/Llama-2-7b-hf] - OSError: You are trying to access a gated repo.
FAILED tests/models/test_models.py::test_models[128-half-mistralai/Mistral-7B-v0.1] - AssertionError: tensor model parallel group is already initialized
FAILED tests/models/test_models.py::test_models[128-half-tiiuae/falcon-7b] - AssertionError: tensor model parallel group is already initialized
FAILED tests/models/test_models.py::test_models[128-half-gpt2] - AssertionError: tensor model parallel group is already initialized
FAILED tests/models/test_models.py::test_models[128-half-bigcode/tiny_starcoder_py] - AssertionError: tensor model parallel group is already initialized
FAILED tests/models/test_models.py::test_models[128-half-EleutherAI/gpt-j-6b] - AssertionError: tensor model parallel group is already initialized
FAILED tests/models/test_models.py::test_models[128-half-EleutherAI/pythia-70m] - AssertionError: tensor model parallel group is already initialized
FAILED tests/models/test_models.py::test_models[128-half-bigscience/bloom-560m] - AssertionError: tensor model parallel group is already initialized
FAILED tests/models/test_models.py::test_models[128-half-mosaicml/mpt-7b] - AssertionError: tensor model parallel group is already initialized
FAILED tests/models/test_models.py::test_models[128-half-microsoft/phi-1_5] - AssertionError: tensor model parallel group is already initialized

It seems that we need to call destroy_model_parallel somewhere. Any suggestion?

https://github.com/vllm-project/vllm/pull/2114#issuecomment-1857282974


benchmark

Input Test name : Starting benchmark for 1 trackers, evalTypes : ['OPE']
1_SiamFC, 1_Basketball:1/1 - OPE
failed to execute SiamFC : (<type 'exceptions.TypeError'>, TypeError("'float' object has no attribute 'getitem'",), <traceback object at 0x7f14d0241c68>)
Traceback (most recent call last):
File "tracker_benchmark-master/run_trackers.py", line 146, in
main(sys.argv[1:])
File "tracker_benchmark-master/run_trackers.py", line 50, in main
trackers, seqs, evalType, shiftTypeSet)
File "tracker_benchmark-master/run_trackers.py", line 138, in run_trackers
butil.save_seq_result(seqResults)
File "/home/xieyangyang/Downloads/tracker_benchmark-master/scripts/butil/load_results.py", line 9, in save_seq_result
tracker = result[0].tracker
IndexError: list index out of range
当我进行评估时出现上述错误，是什么原因，怎么解决

can you tell me how to fix this problem because i get the same problem.just like this:
failed to execute SiamFC : (<type 'exceptions.IOError'>, IOError(2, 'No such file or directory'), <traceback object at 0x7f5c60834128>)
Traceback (most recent call last):
File "tracker_benchmark/run_trackers.py", line 146, in
main(sys.argv[1:])
File "tracker_benchmark/run_trackers.py", line 50, in main
trackers, seqs, evalType, shiftTypeSet)
File "tracker_benchmark/run_trackers.py", line 138, in run_trackers
butil.save_seq_result(seqResults)
File "/home/wenguang.wang/Downloads/tracker_benchmark/scripts/butil/load_results.py", line 9, in save_seq_result
tracker = result[0].tracker
IndexError: list index out of range
please let me know if that is not too bother you and i will appreciate it

I have the same problem. How did you fix it ？please help me ，thanks！


createMuiTheme overrides not working since 4.9.6

createMuiTheme overrides not working since 4.9.6
Since #20095 & #20100, the isPlainObject has been modified.
https://github.com/mui/material-ui/blob/b935d3e8f48b5d54f6cd08154fe2f7aa035ab576/packages/mui-utils/src/deepmerge.ts#L1-L3
Testing constructorproperty is not multi-frame proof.
This makes deepmerge do not merge incoming properties from a given source when source is an Object created in another js context like another document iframe.

[X] The issue is present in the latest release.
[X] I have searched the issues of this repository and believe that this is not a duplicate.

Current Behavior 😯
The generated jss style does not conatin overrides, so desired  style is not applied to components.
Expected Behavior 🤔
The generated jss style must contain overrides in order to have the desired styles applied to components.

Tech
Version

Material-UI
v4.1.11

React
16.14

Browser
all

TypeScript
no

etc.

I'm not sure we want to support this multi-frame case. How did you encounter this situation?

https://github.com/mui-org/material-ui/pull/23740#issuecomment-734486617

https://github.com/jonschlinkert/is-plain-object might also be a source of inspiration. My main concern is about adding bundle size for edge case almost nobody needs. You can modify the theme outside of the createMuiTheme() method.

Before all, thanks for your fast reply!
I understand that edge cases do not justify increasing bundle size 👍.
I've created a PR just to show the case, the goal was not really o be merged ;) (the isPlainObject code is borrowed from lodash).
I wanted to point out that:

Using constructor to test if it's a plain object is not the more resilient technique and should be reconsidered. If you don't like lodash implementation, as you said, you might find other techniques. This change was introduced here https://github.com/mui-org/material-ui/issues/20095, so if in v5 you are planning to remove support of this popper version, you sould reconsider (again) to not use constructor technique.
The isPlainObject is poorly tested.

In my current case, I CAN NOT upgrade material-ui up to 4.9.5 for now.

I'm not sure we want to support this multi-frame case. How did you encounter this situation?

We support it everywhere else. Why change it in this particular instance? That sounds way to confusing for library users unless you are familiar with the implementation of the library which defeats the purpose of using a library.

Why change it in this particular instance?

@eps1lon I'm asking because it doesn't seem to be something we fundamentally prevent from doing. It's not blocking, developers can bypass the createMuiTheme.

@fbaeta Feel free to provide a reproduction. If there are no workarounds, we should probably consider a solution in Material-UI. However, you are mentioning the theme creator helper that can be bypassed, so we would very likely be better off ignoring this case. We can also reconsider if more developers face this issue.

@fbaeta Feel free to provide a reproduction. If there are no workarounds, we should probably consider a solution in Material-UI. However, you are mentioning the theme creator helper that can be bypassed, so we would very likely be better off ignoring this problem. We can also reconsider if more developers face this issue.

I will give you a more isolated case of the use case that we are facing in some weeks.
You mention that theme creator can be bypassed. How? The theme creator is a feature of MUI, we are happy with it and we want to continue to use it.
Nevertheless,

Checking constrcutor is not a bullet proof javascript technique to detect if an object is a plain object
JSS is compatible with multiple iframes so MUI should too.

will give you a more isolated case of the use case that we are facing in some weeks.

@fbaeta Thanks! Do you have a specific use case for providing an element from a different window inside the theme?

We've hit this issue in Toolpad. See https://github.com/mui/mui-toolpad/pull/2514

Based on https://github.com/sindresorhus/is-plain-obj/issues/11, this could fix it:
diff --git a/packages/mui-utils/src/deepmerge.test.ts b/packages/mui-utils/src/deepmerge.test.ts
index d0aceef896..641672c613 100644
--- a/packages/mui-utils/src/deepmerge.test.ts
+++ b/packages/mui-utils/src/deepmerge.test.ts
@@ -1,3 +1,4 @@
+import { runInNewContext } from 'vm';
 import { expect } from 'chai';
 import deepmerge from './deepmerge';

@@ -60,4 +61,13 @@ describe('deepmerge', () => {
     expect(result).to.deep.equal({ foo: { baz: 'new test' } });
     expect(foo).to.deep.equal({ foo: { baz: 'test' } });
   });
+
+  it('should deep clone with object of different realm', () => {
+    const foo = { foo: { baz: 'test' } };
+    const bar = runInNewContext('({})');
+
+    const result = deepmerge(bar, foo);
+
+    expect(result).to.deep.equal({ foo: { baz: 'test' } });
+  });
 });
diff --git a/packages/mui-utils/src/deepmerge.ts b/packages/mui-utils/src/deepmerge.ts
index 1d0c9a44b8..883f01e417 100644
--- a/packages/mui-utils/src/deepmerge.ts
+++ b/packages/mui-utils/src/deepmerge.ts
@@ -1,5 +1,11 @@
 export function isPlainObject(item: unknown): item is Record<keyof any, unknown> {
-  return item !== null && typeof item === 'object' && item.constructor === Object;
+  // Basic check
+  if (item == null || typeof item !== 'object') {
+    return false;
+  }
+
+  const prototype = Object.getPrototypeOf(item);
+  return prototype === null || Object.getPrototypeOf(prototype) === null;
 }

 export interface DeepmergeOptions {

https://stackoverflow.com/questions/49832187/how-to-understand-js-realms explains a bit why this could be valuable. Why not fix it.


NetworkId's can get mixed up for a short time.

Describe the bug
Objects can sometimes receive rpc calls (possibly other stuff to) from the wrong object because of reuse of networkId's.
One way to fix it would be to not reuse an networkId until a certain time has passed since it was last used.
To Reproduce

Make sure to have some latency.
Have an object spam rpc calls from client to server.
Have server remove the object and quickly add a new object.
(Have not tested this)

Expected behavior
Don't get networkId's mixed up.
Environment (please complete the following information):

OS: [Windows 10]
Unity Version: [2018.3.7f1]
MLAPI Version: [v8.5.1]

:tada: This issue has been resolved in version 9.0.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


auth: require base64 encoding for image file

This PR is created for further discussion.
Instead of an image-encoding string, we require the image to be base64 encoded already.
This allows uploading of local files using filebase64("myfilepath.png").
It further simplifies the module since we don't have to test weather it contains data or not.
Signed-off-by: GRBurst<EMAIL_ADDRESS>

I would be happy to merge this already or is something missing?

go ahead

Is released as version 0.10.0.


Regression in typer for closure body treated as named tuple

Based on OpenCB failure in scala-native/scala-native - build logs
Related #21767
Compiler version
Last good release: 3.6.0-RC1-bin-20241003-a672e05-NIGHTLY
First bad release: 3.6.0-RC1-bin-20241005-6fa81cf-NIGHTLY
Bisect points to https://github.com/scala/scala3/commit/87cdbc8c7851830c16de0c8c828cde0f7cd0ce48
Minimized code
@main def Test = {
  var cached: Option[scala.Double] = None
  val spliterator: java.util.Spliterator.OfDouble = ???
  spliterator.tryAdvance((e: Double) => (cached = Some(e)))
}

Output
[error] ./test.scala:4:3
[error] None of the overloaded alternatives of method tryAdvance in trait OfDouble with types
[error]  (x$0: java.util.function.Consumer[? >: Double]): Boolean
[error]  (x$0: java.util.function.DoubleConsumer): Boolean
[error] match arguments (Double² => (cached : Some[Double²]))
[error]
[error] where:    Double  is a class in package java.lang
[error]           Double² is a class in package scala
[error]   spliterator.tryAdvance((e: Double) => (cached = Some(e)))

Expectation
Should compile

cc @odersky

Yes, that will no longer work. Workarounds:
spliterator.tryAdvance((e: Double) => {cached = Some(e)})

Or, better:
spliterator.tryAdvance { (e: Double) => cached = Some(e) }
```scala
Or:
spliterator.tryAdvance: (e: Double) =>
  cached = Some(e)

Each of these is clearer than the original.
One thing we can do is a migration hint with a rewrite rule.


fixed link to creator kit

was getting a 404.
correct link should be https://learn.microsoft.com/en-us/power-platform/guidance/creator-kit/setup

Learn Build status updates of commit 63d0b97:
:warning: Validation status: warnings

File
Status
Preview URL
Details

power-platform/guidance/coe/setup-core-components.md
:warning:Warning

Details

power-platform/guidance/coe/setup-core-components.md

Line 35, Column 1: [Warning: hard-coded-locale - See documentation] Link 'https://learn.microsoft.com/en-us/power-platform/guidance/creator-kit/setup' contains locale code 'en-us'. For localizability, remove 'en-us' from links to most Microsoft sites.
Line 35, Column 1: [Suggestion: docs-link-absolute - See documentation] Absolute link 'https://learn.microsoft.com/en-us/power-platform/guidance/creator-kit/setup' will be broken in isolated environments. Replace with a relative link.

For more details, please refer to the build report.
If you see build warnings/errors with permission issues, it might be due to single sign-on (SSO) enabled on Microsoft's GitHub organizations. Please follow instructions here to re-authorize your GitHub account to Learn Build.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
Note: Your PR may contain errors or warnings or suggestions unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.
For any questions, please:Try searching the learn.microsoft.com contributor guidesPost your question in the Learn support channel


Test with random buffer sizes

! @amosr @jystic

Looks good to me 👍

Bump, should be good to go 👍


Calorie Tracker: Input and display calorie counts for food items.

Input food items to get their respective calorie count.
Provide nutrition details for the food.


Add a Contributing.md

I suppose we should write down some norms of this repo to regulate coding style, name style, and other rules to make sure we are not going wild in our own styles in this work.

Related: #109


r2.10 cherry-pick: fix the build error for libtensorflow_cc.so

Cherry-pick from commit da2606aaf152055dd1996f374dd541aa9bc4a479 to fix #57826.
Without this patch, libtensorflow_cc.so.2.10.0 cannot be built.

Apparently there won't be any more patches to 2.10 and before. So closing this.