Add in-body parameters for 'PUT' operation for sourceControlSyncJob

Adding the 'commitId' property to the in-body parameters for the PUT operation for sourceControlSyncJob.  Also updated the examples to show 'Completed' status for the syncJobs (makes more sense to show 'completed' with an endTime property).
PR information

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

Quality of Swagger

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

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

Automation for azure-libraries-for-java

Automation for azure-sdk-for-python

Automation for azure-sdk-for-node

Automation for azure-sdk-for-go


Pause playing video when changing tabs or accordion sections

I've had a look and the amended way I implemented seems to be the most painless - we're already using a useCallback in the iframe ref to attach to and use the youtube window.  I think it's going to be fairly difficult to start using another ref and storing it globally, unless I have misunderstood the purpose of this useCallback as a ref


mWeb - Safari / Chrome - Profile - Not able to add space and brackets for phone number

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

Issue was found when executing the PR #6433
Action Performed:

Navigate to NewDot and login
2.Go to settings > profile
3.Tap add phone number
4.Input a phone number using any of symbols -, (, ) or spaces (e.g. +1<PHONE_NUMBER>)

Expected Result:
Option in keyboard to add space and brackets for phone number
Actual Result:
No option displayed to add spaces and brackets
Workaround:
Unknown
Platform:

Where is this issue occurring?

Mobile Web : Safari / Chrome in iPhone

Version Number: 1.1.17-1
Reproducible in staging?: Yes
Reproducible in production?:
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos:
Issue was found when executing the PR #6433

Expensify/Expensify Issue URL:
Issue reported by: Applause
Slack conversation:
View all open jobs on GitHub

:wave: Friendly reminder that deploy blockers are time-sensitive ⏱ issues! Check out the open StagingDeployCash deploy checklist to see the list of PRs included in this release, then work quickly to do one of the following:

Identify the pull request that introduced this issue and revert it.
Find someone who can quickly fix the issue.
Fix the issue yourself.

Triggered auto assignment to @Beamanator (Engineering), see https://stackoverflow.com/c/expensify/questions/4319 for more details.

This is expected behavior. https://github.com/Expensify/App/issues/6414#issuecomment-976928296
the only a phone pad is used for adding inputs on native so It is clear the App is asking to add numbers, not brackets. It does not affect UX.

Thanks for pointing this out @parasharrajat !! Looks like we're good to close this, as mentioned in the link above ^ this is not an issue


Add button to skip navigation

Is your feature request related to a problem? Please describe.
This button will allow easier access to the main page content when using a screen reader.
Describe the solution you'd like
Add a "skip to main content" button.

Hi @CR96 Just to be clear - you mean a button in the top bar navigation, early on, so that a screen reader doesn't re-read the headings on every page, which would be repetitive and boring for people using a screen reader?
Are there examples of this sort of button out there? is it a 'hidden' button that is only visible to a screen reader?

@Sheeri Exactly that. Generally they're hidden until they're focused, usually through CSS styling that positions the button offscreen. GitHub has one that appears when using tab navigation.
I implemented this on another project a few years back: https://github.com/Jasig/uPortal/pull/882

Perfect! then yes, this is a great issue to work on. Would you like to be assigned to it?

@Sheeri I'll wait until after Hacktoberfest is over, then take this if nobody claims it. I have my pull requests so I'll give someone else a chance at a last-minute PR! :)

@CR96 That's awesome! I will come back around Monday if nobody has asked for it yet. I love that you are making sure everyone can be included!

Can I get assigned to this? New opensource developer here, wants to learn experience through opensource. Thank you!

Hello @Niaz-Ul-Haque, thanks for offering to work on this! I have assigned it to you.

Mind if I give this a go, still getting used to the project 👍

Hello @jflip, thanks for offering to work on this! I have assigned it to you.


[GIT PULL] liburing: cache ring sizes and masks

Avoid an additional pointer indirection to ring_mask and ring_entries,
since their values can't change after the ring is created.
The fields kring_mask and kring_entries are no longer needed,
but kept for backwards compatibility since liburing.h exposes them.
They can be removed in a future major release, saving 8 bytes per queue.

git request-pull output:
The following changes since commit 8af924d6d3ac6a92c4af1df847cf713e4d2b67e3:

  liburing: fix return code for test/hardlink.t (2022-08-26 12:42:25 -0600)

are available in the Git repository at:

  git@github.com:calebsander/liburing.git refactor/cache-ring-size

for you to fetch changes up to f5cd4eb2b50840510a4c6bbe5ba34a5a2058a2ae:

  liburing: cache ring sizes and masks (2022-08-28 13:24:23 -0600)

----------------------------------------------------------------
Caleb Sander (1):
      liburing: cache ring sizes and masks

 src/include/liburing.h | 24 +++++++++++++++++-------
 src/queue.c            |  4 ++--
 src/setup.c            |  9 +++++++--
 test/accept-reuse.c    |  2 +-
 test/accept.c          |  2 +-
 test/io_uring_enter.c  |  6 +++---
 6 files changed, 31 insertions(+), 16 deletions(-)

By submitting this pull request, I acknowledge that:

I have followed the above pull request guidelines.
I have the rights to submit this work under the same license.
I agree to a Developer Certificate of Origin (see https://developercertificate.org for more information).

Thanks, this is a good idea.


Godot 4.1.1 translation

Hi nagidev,
Today I tried to adapt your project to Godot 4.1.1 version. Everything seems to work.
However, _update_run_menu() is called twice.
I am sending the attachment which may be of help.
To see the changes in the code search for the keyword "ivo" or "4.1.1".
A downside to the design is that the choice dialog controls are small and awkward for longer lines/replicas. I am attaching an image of how this problem was solved in another project.

DialogueNodes-master 4.1.1 transl.zip

Hi Ivailo,
I've ported the addon to Godot 4.1 with almost not major bugs. Can you please check out the code and let me know if you face any issues? The new code is on the main branch.

The Godot 4.1 ports seems to be working mostly bug-free. Closing this issue. Please expect some more QOL features soon.


Add a validator function for global properties

The idea here is you would supply a function when you do define_global_property!() that validates the returned property.

https://github.com/CDCgov/ixa/pull/99


error while performing /setup

Hi,
I have just installed and connected the bot to discord and the database successful. but while performing the /setup command, the bot logs the following:
/srv/bots/invite/node_modules/@sapphire/shapeshift/dist/index.js:1268
    return errors.length === 0 ? Result.ok(finalObject) : Result.err(new CombinedPropertyError(errors));
                                                                     ^

CombinedPropertyError: Received one or more errors
    at ObjectValidator.handleIgnoreStrategy (/srv/bots/invite/node_modules/@sapphire/shapeshift/dist/index.js:1268:70)
    at ObjectValidator.handleStrategy (/srv/bots/invite/node_modules/@sapphire/shapeshift/dist/index.js:1121:47)
    at ObjectValidator.handle (/srv/bots/invite/node_modules/@sapphire/shapeshift/dist/index.js:1221:17)
    at ObjectValidator.parse (/srv/bots/invite/node_modules/@sapphire/shapeshift/dist/index.js:212:88)
    at EmbedBuilder.setFooter (/srv/bots/invite/node_modules/@discordjs/builders/dist/index.js:333:26)
    at Object.run (/srv/bots/invite/dist/src/commands/setup.js:68:18)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
  errors: [
    [
      'text',
      CombinedError: Received one or more errors
          at UnionValidator.handle (/srv/bots/invite/node_modules/@sapphire/shapeshift/dist/index.js:1104:23)
          at UnionValidator.run (/srv/bots/invite/node_modules/@sapphire/shapeshift/dist/index.js:198:23)
          at runPredicate (/srv/bots/invite/node_modules/@sapphire/shapeshift/dist/index.js:1231:32)
          at ObjectValidator.handleIgnoreStrategy (/srv/bots/invite/node_modules/@sapphire/shapeshift/dist/index.js:1241:9)
          at ObjectValidator.handleStrategy (/srv/bots/invite/node_modules/@sapphire/shapeshift/dist/index.js:1121:47)
          at ObjectValidator.handle (/srv/bots/invite/node_modules/@sapphire/shapeshift/dist/index.js:1221:17)
          at ObjectValidator.parse (/srv/bots/invite/node_modules/@sapphire/shapeshift/dist/index.js:212:88)
          at EmbedBuilder.setFooter (/srv/bots/invite/node_modules/@discordjs/builders/dist/index.js:333:26)
          at Object.run (/srv/bots/invite/dist/src/commands/setup.js:68:18)
          at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
        errors: [
          ExpectedValidationError: Expected values to be equals
              at LiteralValidator.handle (/srv/bots/invite/node_modules/@sapphire/shapeshift/dist/index.js:745:76)
              at LiteralValidator.run (/srv/bots/invite/node_modules/@sapphire/shapeshift/dist/index.js:198:23)
              at UnionValidator.handle (/srv/bots/invite/node_modules/@sapphire/shapeshift/dist/index.js:1099:32)
              at UnionValidator.run (/srv/bots/invite/node_modules/@sapphire/shapeshift/dist/index.js:198:23)
              at runPredicate (/srv/bots/invite/node_modules/@sapphire/shapeshift/dist/index.js:1231:32)
              at ObjectValidator.handleIgnoreStrategy (/srv/bots/invite/node_modules/@sapphire/shapeshift/dist/index.js:1241:9)
              at ObjectValidator.handleStrategy (/srv/bots/invite/node_modules/@sapphire/shapeshift/dist/index.js:1121:47)
              at ObjectValidator.handle (/srv/bots/invite/node_modules/@sapphire/shapeshift/dist/index.js:1221:17)
              at ObjectValidator.parse (/srv/bots/invite/node_modules/@sapphire/shapeshift/dist/index.js:212:88)
              at EmbedBuilder.setFooter (/srv/bots/invite/node_modules/@discordjs/builders/dist/index.js:333:26) {
            validator: 's.literal(V)',
            given: '',
            expected: null
          },
          ExpectedConstraintError: Invalid string length
              at Object.run (/srv/bots/invite/node_modules/@sapphire/shapeshift/dist/index.js:1546:79)
              at StringValidator.run (/srv/bots/invite/node_modules/@sapphire/shapeshift/dist/index.js:202:27)
              at UnionValidator.handle (/srv/bots/invite/node_modules/@sapphire/shapeshift/dist/index.js:1099:32)
              at UnionValidator.run (/srv/bots/invite/node_modules/@sapphire/shapeshift/dist/index.js:198:23)
              at runPredicate (/srv/bots/invite/node_modules/@sapphire/shapeshift/dist/index.js:1231:32)
              at ObjectValidator.handleIgnoreStrategy (/srv/bots/invite/node_modules/@sapphire/shapeshift/dist/index.js:1241:9)
              at ObjectValidator.handleStrategy (/srv/bots/invite/node_modules/@sapphire/shapeshift/dist/index.js:1121:47)
              at ObjectValidator.handle (/srv/bots/invite/node_modules/@sapphire/shapeshift/dist/index.js:1221:17)
              at ObjectValidator.parse (/srv/bots/invite/node_modules/@sapphire/shapeshift/dist/index.js:212:88)
              at EmbedBuilder.setFooter (/srv/bots/invite/node_modules/@discordjs/builders/dist/index.js:333:26) {
            constraint: 's.string.lengthGreaterThanOrEqual',
            given: '',
            expected: 'expected.length >= 1'
          }
        ]
      }
    ]
  ]
}

Hello,
You haven't properly filled out the config.ts file; the "footer" field must have a value.
For any configuration-related issues, you can DM me on Discord at e.enes. Some features are currently not supported by the bot. If you have any suggestions, please consider starting a discussion instead of creating an issue.
Best regards,
Enes Tahiri


metrics: improvements to filter messages

Thank you for contributing to the Cohere Toolkit!

[ ] PR title: "area: description"

Where "area" is whichever of interface, frontend, model, tools, backend, etc. is being modified. Use "docs: ..."  for CI changes.
Example: "deployment: add Azure model option"

[ ] PR message: Delete this entire checklist and replace with

Description: a description of the change
Issue: the issue # it fixes, if applicable
Dependencies: any dependencies required for this change

[ ] Add tests and docs: Please include testing and documentation for your changes

[ ] Lint and test: Run make lint and make run-tests

AI Description

This PR makes changes to the metrics-related functionality in the backend and helper scripts.
Summary

Introduces a new private method _should_send_signal in metrics.py to determine whether a signal should be sent based on the event type and response status code.
Updates the _send_signal method in metrics.py to use the new _should_send_signal method for conditional signal sending.
Modifies the test_update_agent_with_tool_metadata_and_new_tool_metadata test case in test_agent.py to use a loop for tool metadata assertions, improving code readability and maintainability.

Details
metrics_helper.py:

Adds "search_file", "read_document", and "wikipedia" to the "tools" list in the agents function.

metrics.py:

Adds Optional to the import statement for typing.
Introduces a new private method _should_send_signal to determine whether a signal should be sent based on the event type and response status code.
Updates the _send_signal method to use the new _should_send_signal method for conditional signal sending.

test_agent.py:

Modifies the test_update_agent_with_tool_metadata_and_new_tool_metadata test case to use a loop for tool metadata assertions, improving code readability and maintainability.

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

Project coverage is 82.19%. Comparing base (4edacee) to head (358412b).
Report is 55 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #553      +/-   ##
==========================================
+ Coverage   81.38%   82.19%   +0.80%
==========================================
  Files         199      214      +15
  Lines        8354     9373    +1019
==========================================
+ Hits         6799     7704     +905
- Misses       1555     1669     +114

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


Debug symbols too large

As part of https://github.com/AztecProtocol/aztec-packages/pull/10486, the debug_symbols field of some contracts, inexplicably grew to be larger than the string limit of the system. In particular, the StatefulTest contract, function create_note_no_init_check. If you look at the function, it doesn't look like it should have a massive debug_symbols field, given the amount of extra stuff that many other functions do:

Within foundation/src/abi/abi.ts, the function getFunctionArtifact calls getFunctionDebugMetadata, which tries to inflate the debug_symbols string, and that's where this error arises.
I chatted with @sirasistant briefly, and we couldn't figure out why this is happening.
Apparently a way to resolve this, would be to stream the data, but I couldn't figure out how to do that without needing to make getFunctionDebugMetadata async, which then results in a cascade of async functions, which then started breaking yarn builds in a way that seemed way too problematic.
For now, within the PR, I've got rid of the debug symbols, at Alvaro's suggestion. We'll see how the PR progresses.
// TODO(#10546) reinstate debug symbols, if they can be shrunk https://github.com/AztecProtocol/aztec-packages/issues/10546
const debugMetadata = undefined; // getFunctionDebugMetadata(artifact, functionArtifact);

These are the current big debug_symbols functions:


RZFilteredCollectionList - indexPathOfObject: bug

Fixed bug where calling indexPathOfObject: was returning an incorrect indexPath if the object is in the source list, but not the newly filtered list. I added a test as well.

@bsmith11 might want to also test that it works when the filtered list contains the desired object, since there is no code currently testing that.

@bsmith11 Has my blessing.  Make Zev's updates if you have time but otherwise good to have this merged.


Multiple docker tags per LateX engine

The current image uses the pdftex engine
Make another image with for example the XeLaTeX engine.
Alternatively add instructions in the readme to setup a different typesetting engine.

Sorry I don't really have the time, but I'll eventually get to it. Feel free to open a PR for a Dockerfile and I can finish up the CI part if you want.


https://youtu.be/IYgMEMdGkF8

[Enter feedback here]

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

ID: 73209f6b-b5c0-39c7-8319-59054f3b12a6
Version Independent ID: 5b9f9df6-1110-4f0e-82e3-00fef4650b38
Content: Cortana integration in your business or enterprise (Windows 10)
Content Source: windows/configuration/cortana-at-work/cortana-at-work-overview.md
Product: w10
GitHub Login: @eross-msft
Microsoft Alias: lizross

Closing. No issues reported; spam.


make lighthouse:ide-helper work

Hi,
how should I go about making the lighthouse:ide-helper command work?
It tries to generate the helper files using the defined lighthouse.schema which is useless.
Any ideas?

Same question applies to lighthouse:validate-schema.

Hi @thekonz,
Thank you for bringing this up!
Currently, the lighthouse:ide-helper and lighthouse:validate-schema commands are not fully compatible with the multi-schema approach implemented in this package. These commands rely on the single schema defined in the lighthouse.schema configuration, which doesn't align with the flexibility of handling multiple schemas.
For now, as a workaround, you can temporarily point the lighthouse.schema configuration to a single schema you wish to work with, run the commands, and then restore your original setup.
I'm also open to the idea of enhancing the package to better integrate with these commands in the future. If you have any specific suggestions or would like to contribute, feel free to share your thoughts or submit a pull request!
I’ll take some time soon to explore potential solutions for this issue in more detail.


Remove a project which has a status of 'not found'

Somehow, my project appeared in duplicate on running ddev list. I removed the project with ddev remove foo. Now my project is listed just once with the STATUS of not found, but I cannot find a way to remove this.
How can I remove this project also? My intention is that when I next run ddev start foo my project will be listed only once.

Hi - You have a container that somehow got orphaned. I"m surprised that ddev remove <project> doesn't work for you the second time, but:
I recommend ddev remove -a - that may do it for you. But you don't mention what version of ddev you have.
What I usually do with a tricky docker situation is docker stop $(docker ps -q) && docker rm -f $(docker ps -aq)  - try that, but only if it's only ddev you have running, that will stop all docker containers, so if you have another docker application you'll have to think more carefully.

Running ddev remove -a returned: Failed to stop containers for foo: no project to stop, but docker stop $(docker ps -q) && docker rm -f $(docker ps -aq) removed it. On running ddev start I now have just a single project listed. This problem began when I renamed the root folder of my project. My version is:
bgsync          drud/ddev-bgsync:v1.7.0
cli             v1.7.1
commit          v1.7.1
db              drud/ddev-dbserver:v1.7.0-10.2
dba             drud/phpmyadmin:v1.7.0
ddev-ssh-agent  drud/ddev-ssh-agent:v1.7.0
docker          18.09.2
docker-compose  1.23.2
domain          ddev.local
router          drud/ddev-router:v1.7.0
web             drud/ddev-webserver:v1.7.0

All is good now. Thanks.


Make caching pool fetcher block aware

Following up un #626 the caching pool fetcher should now differentiate at what block its information was fetched (and not e.g. return the Latest state when queried for a past block).
This is achieved by allowing it to store cached pool information for multiple blocks (stored in an LRU cache).
Test Plan
Added a unit test

Another simplification could be to convert Latest into a u64 block number using self.block_stream.current_block() so that the cache only ever stores real block numbers.

That's a nice idea. This would have the nice side effect that pools that were cached for a BlockNumber::Latest request don't have to be re-queried if the same block is later queried via BlockNumber::Number.

if a reorg happens "behind" the latest block (or latest block is not re-queried before the next block is mined) we don't notice the reorg

Created an issue for this: https://github.com/gnosis/gp-v2-services/issues/631. I don't think its critical at the moment but it might cause some hard to debug issues in the future.


Provide Easier Support for multiple dev-hub-auth-url credentials

Feature Type
I'm interested in functionality that solves a current problem or limitation in how CumulusCI works.
Does your feature request solve a current problem?
The issue that I have run into while using CumulusCI and Github Actions to manage my AppExchange application is that I have found a potential vulnerability to the way that Salesforce has designed the devhub.  A single dev-hub-auth-url gives access to spawn scratch orgs, create packages, and publish packages.  I believe that this creates a security vulnerability unless customers understand the potential implications of a single dev-hub-auth-url.
As it currently stands, if I have write access to anyone's CumulusCI project that is configured with a single dev-hub-auth-url secret, I would be able to create a managed package and publish it without any need for a Pull Request or administrative review.  This is due to the fact that the .github/workflow files will execute immediately upon a push or pull request, and operate in the context of the pull request branch.  Therefore the code in the pull request branch could easily be uploaded to a managed package and even published.  If a customer has setup automation workflows beyond a package publish (such as distributing the app to customers) those workflows would also be executed causing unreviewed code to be pushed into a customer environment.  Given the nature of the security landscape in 2024 I believe that we must build rigid security and the principle of least privilege into every part of the system, whether it is the software or the process and documentation that use the software.  Each engineer must apply best practices to ensure security in maintained throughout the entire application lifecycle.
Describe the solution you'd like
CumulusCI is an innovative product that is very powerful and can be setup by following the documentation without any help.  That is one of the things that makes this product so good.  Therefore I think that this project should set the precedence that operational security is just as important as security within the code itself, and so therefore I think that the concept of separating production and non-production environments should be added directly into CumulusCI.
I would propose that CumulusCI software and documentation be updated to create a separation between production and non-production that can be implemented into Github or wherever CumulusCI is running from.  The production devhub-auth-url would be restricted to production forks or Github environments, and therefore there would be a strategy and approach to keep bad code from being injected into the managed package (or from any other security concern that is created by giving developers direct access to the devhub-auth-url in their unapproved pull requests).
This would also help anyone using the application to understand that it is their responsibility to protect the production devhub-auth-url from code injection security attack vectors.
Describe alternatives you've considered
The only work around I currently know to do would be to create 2 completely separate repositories (forks may work) to manage production and non-production environments.   This also requires two completely separate devhubs to be created, and I do not know how customers can easily do that (without setting up a trial devhub that expires after 30 days).
Regardless of the solution, whether code is changed or not for this, I believe at least the documentation and process should call this out as a best practices so that customers can understand and determine how best to manage the risk of a single dev-hub-auth-url.
Additional context
No response

While it is mentioned here in the documentation, this appears to be in a 1GP context. It should be clear that 2GP environment variables should be used to separate users with packaging privileges from those with access to a DevHub.
Also, here and here there are comments in a code block examples which mention a change for 2GP. Instead, there should probably be a separate 2GP example that shows how to set environment variables with a given DevHub URL secret.
More details in our conversation here: https://trailhead.salesforce.com/trailblazer-community/feed/0D54V00007cmPkb
@CloudPremiseDev, you mentioned a potential code solution. Is there a reason that GitHub environment secrets aren't the solution?

@CloudPremiseDev The documentation linked by @Julian88Tex covers both the 1GP and 2GP use cases for this scenario, so I’m closing this issue. If I misunderstood your request for an enhancement, please reopen with more details.

@jstvz While it technically does mention it, I think the examples are a bit misleading since they don't specify that you should use a DevHub user that specifically has access to packaging privileges and is specifically an environment secret with branch protections.

Yes that makes sense, if you had two users in the same devhub and only 1
had packaging permissions - if this prevented the non-packaging user from
being able to generate packages  in the namespace then that removes the
security concern.  It would not allow the other devhhub user to create beta
packages for testing purposes however, which has been a nice feature to
enable for developers.  I'd rather take that away completely, however, than
have to setup a completely second devhub.  Either way I think the best
practice for how to do this in a production environment is still not
entirely clear.  If cci would not be updated to support a different
configuration (I'm honestly not sure what that would even be) then at least
more emphasis, examples, and even more stern warning in the documentation
would be appropriate due to the self-serve nature of this app and community.
On Wed, Jul 24, 2024 at 2:44 PM Julian Joseph @.***>
wrote:

@jstvz https://github.com/jstvz While it technically does mention it, I
think the examples are a bit misleading since they don't specify that you
should use a DevHub user that specifically has access to packaging
privileges and is specifically an environment secret with branch
protections.
—
Reply to this email directly, view it on GitHub
https://github.com/SFDO-Tooling/CumulusCI/issues/3812#issuecomment-2248865963,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/BG3I4W474VSDU5LUAER7M3TZOAG2FAVCNFSM6AAAAABLI6EXEKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENBYHA3DKOJWGM
.
You are receiving this because you were mentioned.Message ID:
@.***>

--
Greg Cook
@.***
615.521.1117

@CloudPremiseDev sounds like there is a very valid Salesforce feature request in there. A permission that specific allows for creation of beta packages vs. production packages. I'm not sure CumulusCI "should" be the one to handle this feature. In theory CumulusCI would somehow have to limit permissions of a given DevHub user whereas there's a strong argument that, that is the Platforms responsibility and it would be an anti-pattern to have CumlusCI do it. I really think this would be a goo question to pose to the 2GP PM team. How can you allow developers to get the benefits of testing with 2GP package builds without the risk of being able to create a production package? If you take CumulusCI out of the picture this issue would still be happening if the team was only using the Salesforce CLI.
Hm, also thinking through if this issue is more tied to the setup of GitHub Actions. In a sense we want to mimic actions that can do release-like things but without the risk of developers actually releasing things. Feels like certain GitHub Actions should be able to be created by GitHub admins and run on lower branches without the ability of developers to interfere with them due to security concerns. This may be possible in some way but I can't think of what setup would work.
Going back to Environment Protection Rules, while this isn't the most ideal workaround I think you could set them up in a way that a particular job to create beta packages would run if an admin approves a PR. In this way, you could ensure only admin-viewed code would ever be used to generate a package but the package could still be a beta on any branch. The downside is that this would require admins to be more involved in the PR process and/or beta packages not being generated until a PR is ready for approval.


Update gradle & maven package names to reflect sonatype org change

Looks like there's a new org on sonatype this package is published to. Reflecting that here!

I think this is outdated and can be closed.


Integration test cases for configlet_Build_config

Change Summary

Related Issue(s)
Fixes #
Component(s) name
arista.avd.<role-name>
Proposed changes

How to test

Checklist
User Checklist

N/A

Repository Checklist

[ ] My code has been rebased from devel before I start
[ ] I have read the CONTRIBUTING document.
[ ] My change requires a change to the documentation and documentation have been updated accordingly.
[ ] I have updated molecule CI testing accordingly. (check the box if not applicable)

Hi @Shivani-chourasiya - Below are the review comments;

Inventory file location change should not affect existing testcases
ansible_collections/arista/avd/tests/integration/inventory :
Harcoded you ansible_python_interpreter in the file
ansible_python_interpreter="/Users/schourasiya-ext/ansible1/bin/python"
Is there any need of empty file main.yaml in meta directory
Use meaningful variable name in defaults/main.yml
var: "/../../../../../../../../inventory/intended/configs"
Do not commit the output folder
Check all the validation should be pass, after commiting the code in the PR.

Hi @Shivani-chourasiya - Below are the review comments;

Inventory file location change should not affect existing testcases
ansible_collections/arista/avd/tests/integration/inventory :
Harcoded you ansible_python_interpreter in the file
ansible_python_interpreter="/Users/schourasiya-ext/ansible1/bin/python"
Is there any need of empty file main.yaml in meta directory
Use meaningful variable name in defaults/main.yml
var: "/../../../../../../../../inventory/intended/configs"
Do not commit the output folder
Check all the validation should be pass, after commiting the code in the PR.

Hi @KonikaChaurasiya-GSLab ,

Inventory location is updated as per discussion, need to change in unit testcases
ansible_collections/arista/avd/tests/integration/inventory , this is generated by default, will remove this while committing.
removing main.yml from meta folder
changed the variable name to cofiglet_path
Removing the output folder


Navigation Bar

Try to have a microanimation when we hover over one tab then a lamp enlights it

I am working on it.


Fix docker compose for WSL2 compliancy

In a Windows+WSL2 environment, external volumes don't work.
In this PR a proposed solution with classic volumes

Thank you @danielegiallonardo
we should have some little changes on your very good proposal, these are:

Please merge the dev branch to get the last commits on the README
Please add an instruction to copy the example folder to another example_new or whatever, otherwise the changes we do on the dumps will affect the git tree.

Did you get it?
We should copy the example folder to another one to be ignored in .gitignore
once we have this I think that I'll abandon the external storage (+ thankfulness to you)

I've merged the changes from upstream.
About the git tree, in order to execute the entire federation with an external RP, 4 files have been changed: the compose file (to include the section for the external RP) and the three dump files (to replace <IP_ADDRESS> with the hostnames).
I have a couple of suggestion about that:

you could always use the hostnames (accordingly with the services included in the compose file) into your dumps, so it won't be necessary to modify them to launch the compose. This allows us just to make a "git pull" and a "docker-compose --build" on the django repo in order to have the new changes from the origin and have the data migrations run in a backward compatible way on the existing data, otherwise it would be necessary to re-copy the example folders each time.
we could agree on a "modified compose" name to put in gitignore (to include the external RP section)


rustup

@bors r+

:pushpin: Commit 657386cc91c7513eaafd327aaf26aa44d6a3da91 has been approved by RalfJung

:hourglass: Testing commit 657386cc91c7513eaafd327aaf26aa44d6a3da91 with merge 5a76e9f6de2c16184c378b3f3e8307a3d83c979f...


info:

Originally posted by @Valecia2023 in https://github.com/netlify/open-api/issues/494

Appears to be spam.


License?

Hi,
What open-source license can I use this kit under?
If you're not decided yet, I recommend either CC BY or CC BY-SA.

Hi,
U can use this kit under the CC-BY license.

Wonderful, thanks! :)


Expert mode data fields for firmware uploader

User story

As a user
I want to enter additional information into the firmware uploader
In order to provide in-depth information necessary for "Expert mode" users.

Acceptance criteria

Following inputs should be implemented in Expert mode:

-a [MIPS]       :Architecture of the Linux firmware [MIPS, ARM, x86, x64, PPC] as a dropdown.
-c                   :Enable cwe-checker as a checkbox.
-x                   :deep extraction

Input fields must be implemented as per specifications.
There should be graceful error handling in case of wrong/missing inputs
It must be compatible with existing emba services.

Definition of done

Code review from peers has been completed and passed

Code is fully implemented and commented
Adheres to coding guidelines
Commits are not squashed
Code is checked into the repository

Unit tests for backend have been written and are passing
Manual performance tests on the browser are passing
No critical bugs are open

scraped


About the network output coordinate

I have tried to looking into the origin output of the network, such as:
 input_data = {"pts_input": self.inputs}
 ret_dict = self.net(input_data)
 roi_scores_raw = ret_dict['roi_scores_raw']
 roi_boxes3d = ret_dict['rois']     # (B, M, 7)
 seg_result = ret_dict['seg_result'].long()

without nms-gpu or scores filter
Visualization in ros rviz , the boundingbox position look really strange

Are the boxes in the  kitti camera coordinate or in the lidar coordinate?
hopefully for any advice
@sshaoshuai

The input/output of the PRCNN trained by KITTI is in camera coordinates since KITTI ground truth 3d cuboids are in camera coordinates, thus you gotta transform to the velo coordinates if you wanna visualize in velo domain.

@muzi2045 Have you managed to visualize the output in rviz in the lidar coordinate system?

just convert the output boxes in camera coords to lidar coords, it can be normally visualized.

@muzi2045 Hi, how did you visualize the results in Rviz? Using the python version RViz or some other methods？


DBSCAN with Normalize

Try some smaller dataset  and tune the model to get atleast few cluster instead only 1 cluster

according to Silhouette Score , eps =0.2 or 0.1 is better for the model instead of 0.7


i3 module Switching to workspace 1 creates new workspace 1

Hello, since day one I have a problem using polybar with i3 workspaces.
Heres a quick gif of the issue.
So basically whenever I want to switch to workspace 1 via $mod+1 instead of opening the workspace 1 get another workspace titeled 1 right next to it.
I've had a more complex configuration, but have since then gone back to default i3 config and somewhat default i3 module for polybar to narrow down the issue.
i3 config:
# switch to workspace
bindsym $mod+1 workspace 1
bindsym $mod+2 workspace 2
bindsym $mod+3 workspace 3
bindsym $mod+4 workspace 4
bindsym $mod+5 workspace 5
bindsym $mod+6 workspace 6
bindsym $mod+7 workspace 7
bindsym $mod+8 workspace 8
bindsym $mod+9 workspace 9
bindsym $mod+0 workspace 10

# move focused container to workspace
bindsym $mod+Shift+1 move container to workspace 1; workspace 1
bindsym $mod+Shift+2 move container to workspace 2; workspace 2
bindsym $mod+Shift+3 move container to workspace 3; workspace 3
bindsym $mod+Shift+4 move container to workspace 4; workspace 4
bindsym $mod+Shift+5 move container to workspace 5; workspace 5
bindsym $mod+Shift+6 move container to workspace 6; workspace 6
bindsym $mod+Shift+7 move container to workspace 7; workspace 7
bindsym $mod+Shift+8 move container to workspace 8; workspace 8
bindsym $mod+Shift+9 move container to workspace 9; workspace 9
bindsym $mod+Shift+0 move container to workspace 10; worskpace 10

polybar config:
[module/i3]
type = internal/i3
pin-workspaces = true
enable-scroll = true
wrapping-scroll = true
format = <label-state> <label-mode>

label-mode = %mode%
label-mode-padding = 2
label-mode-background = #e60053

label-focused = %index%
label-focused-foreground = ${colors.primary}
label-focused-padding = 4

label-unfocused = %index%
label-unfocused-padding = 4

label-visible = %index%
label-visible-foreground = ${colors.primary}
label-visible-padding = 4

label-urgent = %index%
label-urgent-foreground = #bd2c40
label-urgent-padding = 4

im currently on:
polybar 3.0.5-git

Features: +alsa +curl +i3 -mpd +network

Non of the log options gives any valuable information about this issue.
When I add lables to the i3 module, polybar, instead of naming the new worspace 1, gives it the sepcified default label.
Any ideas? Thanks in advance! (btw. polybar - best bar!)

Does this only happen with polybar or does it happen with i3status too?

Yes the issue persists with the i3status bar. - So polybar is most likley not the issue. Therefore it can be closed.
Nontehless:
I just figured out that the issue only occurs with the workspace thats openend when booting the machine.
For some reason this "starting" workspace does not play by the rules. When I close and reopen workspace 1 everything works fine.

This looks like something that should be filed with the i3 guys.
Closing this, as it has nothing to do with polybar

I found the problem happens because there is a space after "bindsym $mod+1 workspace 1 " it should be "bindsym $mod+1 workspace 1" with no space after 1.


Error: invalid memory address or nil pointer dereference

Hi,
I like this project's idea!
Sadly I tried to send a single e-mail but got following error:
Error sending email: dial failed: EOFpanic: runtime error: invalid memory address or nil pointer dereference [signal SIGSEGV: segmentation violation code=0x1 addr=0x60 pc=0x5e8ed8]
goroutine 1 [running]:
github.com/wneessen/go-mail/smtp.(*Client).hello(0xc0000b1b50?)
        /home/jordancup/go/pkg/mod/github.com/wneessen/go-mail@v0.4.0/smtp/smtp.go:110 +0x18
github.com/wneessen/go-mail/smtp.(*Client).Noop(0x4ba71c?)
        /home/jordancup/go/pkg/mod/github.com/wneessen/go-mail@v0.4.0/smtp/smtp.go:432 +0x1e
github.com/wneessen/go-mail.(*Client).checkConn(0xc0000ca100)
        /home/jordancup/go/pkg/mod/github.com/wneessen/go-mail@v0.4.0/client.go:593 +0x45
github.com/wneessen/go-mail.(*Client).Close(0xc0000ca100)
        /home/jordancup/go/pkg/mod/github.com/wneessen/go-mail@v0.4.0/client.go:541 +0x25
main.sendEmail({0x7ffdb3ead4bb, 0x14}, 0x1d1, {0x7ffdb3ead4da, 0xa}, {0x7ffdb3ead4e8, 0xd}, {0x7ffdb3ead4f9, 0x15}, {0xc00008a960, ...}, ...)
        /mnt/c/Users/jcup45/OneDrive/Documents/Code Snippets/Go/Mail2Go/smtp.go:48 +0x517
main.main()
        /mnt/c/Users/jcup45/OneDrive/Documents/Code Snippets/Go/Mail2Go/main.go:184 +0x92f
FWIW I'm behind a proxy.
OS is Ubuntu 20.04.
I followed the installation instructions. I did not try to build it myself.
If you need more info I'll be happy to provide it.
Regards,
J.

Sorry for the late response I didn't saw the issue.
Your SMTP server is behind a proxy correct?
Does all the connection informations has been confirmed to work in another client? (eg: Thunderbird or anything).
Because the error "Error sending email: dial failed: EOFpanic: runtime error: invalid memory address or nil pointer dereference [signal SIGSEGV: segmentation violation code=0x1 addr=0x60 pc=0x5e8ed8]" means that the something to make the server connection has failed. Might be the port so you could try other ports maybe.
Hope it helped!

Hi, sorry for the late response I didn't see this issue.
I've been able to reproduce your issue and it seems I did something wrong with how I handled the TLS ports.
Good news is it should now be fixed in the latest release (1.1.3):
https://github.com/KeepSec-Technologies/Mail2Go/releases/tag/1.1.3
If the issue still persists or you weren't using a TLS port like 465 please tell me.
Thank you.


Getting it to work without storyboard (or without a .xib)

First of all, great framework, thank you for making this public.
Unfortunately I have some issues to make this work without storyboard, or even without a .xib.
I read on SA (http://stackoverflow.com/questions/20250470/ultravisual-iphone-app-like-uiview-or-uitableview-scroll/22395227?noredirect=1#comment39836171_22395227) there needs to be a change done to make this work without storyboard but I haven't been able to make it work so far.
Most of the time I get this error (when trying with a .xib):
*** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: '-[UICollectionViewController loadView] loaded the "ViewController" nib but didn't get a UICollectionView.'
When trying without a .xib and adding some methods in RPSlidingMenuViewController
*** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: 'UICollectionView must be initialized with a non-nil layout parameter'
Any idea's or quick solutions to get this to work without storyboards?

It still show this message:
*** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: 'UICollectionView must be initialized with a non-nil layout parameter'
Any idea's to fix this error ?

Here's the link to the question I asked on SA. It also contains a link to my test project on my DropBox.
http://stackoverflow.com/questions/25604180/uicollectionview-porting-storyboard-project-to-no-ib-project
Hope it helps you further

Hi Japspre,
I follow your test project but it still error:
*** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[__NSArrayI collectionView:numberOfItemsInSection:]: unrecognized selector sent to instance 0x7f9759fce7d0'

Could you try to clean and delete the derived data? I just downloaded the project from my dropbox and it runs without errors.

It works now thanks so much.

Good to hear. I actually didn't use the framework after all, so good luck with further implementation

Thanks for following up @Japspre! Let it be known to all that a clean and deleting derived data fixed this issue 2/2 times now. :smile:


Should vcpop.m return type be size_t?

Current interface
unsigned long vcpop_m_b1 (vbool1_t op1, size_t vl);

However, the semantic of vcpop.m is

The vcpop.m instruction counts the number of mask elements of the active elements of the vector source mask register that have the value 1 and writes the result to a scalar x register.

That means the maximum value depends on VL. And VL related interface is
size_t vsetvl_e8mf8 (size_t avl);
size_t vsetvlmax_e8mf8 ();

So, should we change the interface to
size_t vcpop_m_b1 (vbool1_t op1, size_t vl);

Sounds good to me.

I've always disagreed with using implementation-defined size_t for VL, and would prefer something like https://github.com/riscv-non-isa/riscv-c-api-doc/pull/14 that more closely matches the architecture: VL is defined as an XLEN-bit CSR and its value is always exchanged through (XLEN-bit) X-registers.
My disagreement, however, is very mild: C99 requires size_t be at least 16 bits, and of course is XLEN bits in our standard ABIs.
I have a related complaint for vfirst.m. Currently we use long, which again is implementation defined but the C language guarantees it has sufficient range for our purposes, and also it is XLEN bits in our standard ABIs.
So I support the proposal here, and support maintaining the status quo for vfirst.m, but still think the XLEN-width types provide a better solution.


Microsoft Team SSO in Personal tab with Authentication and authorization (Easy Auth)

Hi.
I am trying to get SSO working with  Authentication and authorization,
I have set my webapp to following authentication settings:
Require authentication
Unauthenticated requests
Return HTTP 302 Found (Redirect to identity provider)
It works perfectly in teams browser and mobile, but in desktop, it does not work.
Inside App registration i have followed the Single Sign On documentation and it seemed to work, when clearing my Microsoft Teams cache, it give me a iframe redirect error:
Refused to display 'https://login.microsoftonline.com/[TENANTID]/oauth2/v2.0/authorize?response_type=code+id_token&redirect_uri=https%3A%2F%2Fxxxxx.azurewebsites.net%2F.auth%2Flogin%2Faad%2Fcallback&client_id=xxxxxxx&scope=openid+profile+email&response_mode=form_post&nonce=xxxx&state=redir%3D%252F' in a frame because it set 'X-Frame-Options' to 'deny'.
It works if i login to the website in another way in teams (like from a Teams Channel Webview) and then access my Personal tab

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

ID: 52221dd3-95ec-96b9-1da8-9478527c2602
Version Independent ID: 32e9c2d8-733d-0865-2ea3-727d8684a10d
Content: Single sign-on support for tabs - Teams
Content Source: msteams-platform/tabs/how-to/authentication/auth-aad-sso.md
Product: msteams
GitHub Login: @laujan
Microsoft Alias: lajanuar

Hi @Kristoffer88, we are working on it, will update you soon.

Is your personal tab is Iframable? Currently teams support only Iframable pages. Could you please conform?

Hi.
Is it a setting in teams? I am not sure i understand your question
My example is just a Azure Web App with App Service Authentication / Authorization turned on. With always authenticate on. There is no custom code added to the web app. I do not get redirected to the login screen, as i should with always authenticate on.

This seems to be triggered by clearing of the teams cache. If i clear the cache, then restart teams, it seems to work fine. It is only the first load of the app, after clearing the cache, that is triggering the "bug"

Hi @Kristoffer88, could you please try with other authentication methods, for sso its by-design.


Glossy can fail to converge for large docs and terms with multiple uses

When using Glossy with a large document (but not necessarily a large number of terms in the glossary), the document can fail to converge when

The glossary command is used to print the definitions and
Any term is used more than once.
This can occur with a minimum of one term being used twice, even on the same page (i.e. @LEO @LEO).

If all terms are only used once, the problem does not appear.
I haven't been able to create a trivial MVP to recreate this yet unfortunately, sorry. I only found this in a document with approx 30 pages of (non-trivial) content.

I've experienced this too. Glossy uses context{} a good bit to find all the term usages throughout your doc and then generate backlinks to them (for the index).
I've found in the past that I can get it to converge by adjusting other, more dynamic, parts of my document. For example, situations where Typst has to iterate to find a final layout (because specific components' layouts impacts others, recursively and forever).
Basically, I don't have a good solution to this now. I'm open to fixing it in Glossy. But, I've been bucketing it as a Typst issue thus far.


Change schedule system

The problem
Currently Moka schedule a single slurm job for each property to compute. The problem is that there could be thousand of jobs in the queue system and it will take a lot of time to run them all.
The solution
For a given queue system run as many jobs as possible for a given amount of time

solved via #22


Any way to catch HTTP error status code?

When there is a server-side error, it would be nice if there would be a way to catch the HTTP error code thrown.
Currently I can catch the error via an event listener like the following, but can't tell the HTTP status code (like 500 or 401, etc):
addEventListener("error", function(e) {

Hi @zoltan-fedor,
This can already be achieved. As noted in the README file, all the events set the event's source to the SSE object itself, so you should be able access the XMLHttpRequest object and its status:
addEventListener('error', function(e) {
  console.log('Request failed, HTTP status was: ' + e.source.xhr.status);
});


[gtest] CMake warning CMP0012

Using cmake 3.14.0 I see the following error when using gtest/gmock on Ubuntu 19.04
installed gtest with:
vcpkg install gtest

reference target with:
find_package(GTest CONFIG REQUIRED)

CMake Warning (dev) at vcpkg/installed/x64-linux/share/gtest/GTestConfig.cmake:27 (if):
  if given arguments:

    "ON"

  An argument named "ON" appears in a conditional statement.  Policy CMP0012
  is not set: if() recognizes numbers and boolean constants.  Run "cmake
  --help-policy CMP0012" for policy details.  Use the cmake_policy command to
  set the policy and suppress this warning.

looking at the GTestConfig.cmake file this is the section that is causing the warning:
include(CMakeFindDependencyMacro)
if (ON)   <----- This check
  set(THREADS_PREFER_PTHREAD_FLAG )
  find_dependency(Threads)
endif()

include("${CMAKE_CURRENT_LIST_DIR}/GMockTargets.cmake")
check_required_components("")

Hi @curtpm thanks for posting this issue.
I noticed that CMP0012 was introduced in CMake version 2.8.0.
I also did some tests about this. I found that if we used 2.8.0 or above version by cmake_minimum_required (), there would be no warning messages.
But if we used CMake version below 2.8.0, it would post CMP0012 warning messages.
So I want to confirm with you if you used 3.14 in cmake_minimum_required ()?

Yes it was cmake 3.14.0

Thanks for your reply.
I cannot reproduce this issue on my local using CMake 3.14.
Only when I used CMake version less than 2.8 or not used cmake_minimum_required (VERSION 3.14), it would post CMP0012 warning messages.
Could you please try to add this and try it again?
if(POLICY CMP0012)
  cmake_policy(SET CMP0012 NEW)
endif()

I'm going to closing this issue for now since there's been no response.
Please reopen this if it is still a problem for you.


[color spaces] Update specs for color.mix() and color.complement()

Description
Updated tests for color.mix() and color.complement().
See https://github.com/sass/sass/issues/2831

@stacyk and/or @mirisuzanne This is ready for an internal review. I've updated the color.mix() and color.complement() functions with the new color space functionality.

I know we are still figuring out a lot about what these tests will look like exactly. I'm mainly looking to hear if you think there are more things I should consider testing. Is it a good blend of color spaces?
I made some simple steps to mimic the way I understand these functions should work on colorjs. I'll share those in the Trello card if you also want to test the outputs.
color.mix() was originally one file but once the tests got past ~500 lines the linter split make mix a directory and turned each virtual file into actual files.
It's not clear to me exactly what format Sass will return for certain results. Are hex codes prefered? Rgb functions (percents or comma-separated numbers?).


Migrate to Celery from RQ

Environment

Nautobot version: 1.1.x

Expected Behavior
Use Celery instead of RQ: https://nautobot.readthedocs.io/en/latest/installation/services/#migrating-to-celery-from-rq

I'm not sure there's any actual code change needed here. Job classes will transparently switch from running in RQ to running in Celery - we would only need to make changes to the plugin if we have our own custom django_rq background worker tasks (i.e. the @job decorator), which to the best of my knowledge, we don't?

Thanks @glennmatthews , you are right, we were using from nautobot.extras.jobs import Job, so it will transparently switch!


DOC drafted

Hey Michael,
This PR brings the DOC pipeline into the same general format as the chla product. I re-ran the DOC harmonization process and re-knit the bookdown. The major things in need of review here are changes to 3_harmonize/src/harmonize_doc.R and bookdown_raw/05_doc_harmonization.Rmd. The html files are all changed as a result of the knitting. Let me know if you have any questions!

This looks really solid to me! The only thing that I would look into is why the "Dissolved" fraction in the "Organic Carbon" characteristic is being filtered out. It's only 2200 samples, but still is a little odd for a reviewer. Otherwise, I think that this is good to send to Mike and Rachel.

Thanks for catching this! It was an issue with how the dropped rows were being counted, which is fixed now.


[BUG] No module named 'cms.utils.compat.warnings' when upgrading to 3.11.7

Just upgraded from 3.11.6 to 3.11.7 and this error prevents me from starting my Django application:
ModuleNotFoundError
No module named 'cms.utils.compat.warnings'

The error is happening in cms/utils/permissions.py, in has_page_permission(), at line 196:
from cms.utils.compat.warnings import RemovedInDjangoCMS43Warning

@jsabater Thanks for reporting! I'll have a look, but it seems an error introduced by backporting.

@jsabater Can you please check the traceback to see where has_page_permission is called?
For the moment, you might want to patch has_page_permission:
from cms.utils import permissions
from cms.utils.page_permissions import has_generic_permission

permissions.has_page_permission = (
    lambda user, page, action, use_cache=True:
        has_generic_permission(page, user, action, site=None, check_global=False, use_cache=use_cache)
)

(sorry, untested)

No worries, 3.11.8 is fine by me. I am not in a hurry. I have set django-cms==3.11.6 in the requirements.txt file and that works fine. I'll monitor releases and wait patiently :-)

@jsabater 3.11.7 has been retracted and 3.11.8 is coming any minute now


[SPARK-30333][CORE][BUILD] Upgrade jackson-databind to <IP_ADDRESS>

What changes were proposed in this pull request?
Upgrade jackson-databind to <IP_ADDRESS> to following CVE
CVE-2018-14718 - CVE-2018-14721
https://github.com/FasterXML/jackson-databind/issues/2097
CVE-2018-19360, CVE-2018-19361, CVE-2018-19362
https://github.com/FasterXML/jackson-databind/issues/2186
tag: https://github.com/FasterXML/jackson-databind/commits/jackson-databind-<IP_ADDRESS>
Why are the changes needed?
CVE-2018-14718,CVE-2018-14719,CVE-2018-14720,CVE-2018-14721,CVE-2018-19360,CVE-2018-19361,CVE-2018-19362
Does this PR introduce any user-facing change?
No
How was this patch tested?
Existing UT

@srowen @dongjoon-hyun

Can one of the admins verify this patch?

Can one of the admins verify this patch?

ok to test

Test build #115673 has started for PR 26986 at commit 25de967.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/20470/
Test PASSed.

Test build #115673 has finished for PR 26986 at commit 25de967.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/115673/
Test PASSed.

oh... Can you open another new pr for master? In this pr, the target is branch-2.4 and I couldn't cherry-pick it cleanly..

@sandeep-katta oh... Can you open another new pr for master? In this pr, the target is branch-2.4 and I couldn't cherry-pick it cleanly..

Master is using 2.10.0, so not required to merge this to master

ah... if so, can you add [BRANCH-2.4] in the title?

ok, Thanks! Merged to branch-2.4.


Duplicate entries in code completion

When having a class with virtual functions that is overridden, I see duplicate entries in the code completion
f() const -> bool [f]
f() const -> bool [f]
Works in vim+ycm.

Yes, I noticed that too. I'll look into fixing the issue ASAP


[Question] How to consume this package ?

I was wondering how to use this package.
I couldn't find it on your npm page.
Also, how are you using it from your application ? Are you registering by hand each language or is there an utility function to fetch it ?
I saw this piece in the index.ts but I wonder how it would work in the browser:
            // ...
                getAsJSON: () => fs.readFile(
                    join(packageRuntime.info.installPath, 'grammars/', path),
                    'utf8'
                ),
            // ...

Rink is a standalone IDE that I'm working on as we speak. It runs in Chrome Devtools shell.
It has filesystem access over WebSocket, courtesy of accompanying nodejs process that runs in background. Likewise, Rink packages/extensions also get access to filesystem and stuff like packageRuntime.info.installPath etc.
This repository might prove to be a gold mine if you can adapt it to fit Theia limitaions/features.
I'm afraid I don't have much knowledge of Theia's architecture, but if I were you, I would only care about scripts/bake_manifest.js and stuff in grammars/*
Once you utilize those two things, the only thing you'll need to worry about is how you can feed those grammars to monaco-textmate.
Questions welcome.

Thank you for your answer !
So basically the goal would be to use your package as a npm dev dependency and rely on the grammars/ folder. The problem I have is that I don't know how to import you package. I would have expected to fetch it from npm but I couldn't find it on npm.
Because there is so much languages that seem supported by your package that it would seem foolish to try to recompose something similar on our side :p

Hmmmmm......
I see where we are heading. I'm gonna publish monaco-textmate-languages later today which ~should~ will solve issues you're having.

That will act as a mega repository of text ate grammars. The biggest mankind has ever seen

@epatpol history being written.

History has been written
NeekSandhu/monaco-textmate-languages

cc @aeschli
speaking of https://github.com/NeekSandhu/onigasm/pull/12#issuecomment-400216698 , you also might find monaco-textmate-languages useful. That way we can have collectvely maintained one source of truth even when using monaco-textmate with CodeMirror or Ace editor etc.
PS: I'm happy to transfer monaco-textmate-languages over to GitHub/MicroSoft where it can be maintained more responsibly.

Closing because now available on npm :)
Thanks again !


Freeze top-level packages at arbitrary existing versions

We have not updated this image in ages, and when we just bumped up a couple of
packages (https://github.com/2i2c-org/2i2c-hubs-image/pull/3), it actually bumped up a lot of other packages to newer versions. This will break a lot of users in the middle of a semester, which is problematic.
Ideally, we should have 'proper' pinning (like in
https://github.com/CryoInTheCloud/hub-image), but given the lack of that, I have just specifically pinned the versions to what we currently have while we work on a longer term solution.

This kinda pinning sucks! It's better than not pinning.

Ideally, we should have 'proper' pinning

With "proper pinning" you are talking about the conda-lock stuff?

@damianavila something like that. needs work and research haha :)

@damianavila I think there shouldn't be pinning at the library level, but should be at the deployment level (ie in the image itself) - so I think this is the right location for pinning!

I think there shouldn't be pinning at the library level

When you said a "library level", what you are refering to?

@damianavila in a setup.py, like https://github.com/executablebooks/jupyter-book/issues/1351

Ah.... yep, I totally concur!!!


Should objects and methods be included in basics?

@bjmorgan raised the idea that the concept of objects having methods should be introduced immediately after functions, without necessarily explaining classes.
This issue is to chat about that.

Pros: It would make the optimisation section more readable as it would explain solution.x and solution.fun. , as well as, most likely, some of the good practice chapter. It is probably a nice thing just to mention. Build with exposure from examples in the good practise and data work sections and then property introduce it in the advanced chapter.
Cons: Thinking of chemistry examples that do not introduce classes may be tricky. It may be too much, too fast for students and confuse them.

A potential way round the first con would be to make a custom class that is like
# in a file called elements.py

class Carbon:
    def __init__(self):
        self.atomic_number = 6
        self.electrons = 6
    def ionise(ionisation):
        self.electrons += ionisation

In the book the student would import elements then do like
carbon = Carbon()
carbon_anion = Carbon()
carbon_anion.ionise(-1)

This is an interesting discussion. When I learned programming I followed C++ How to Program, where the authors introduce classes, objects, and member functions even before control statements and functions (see C++ How to Program - TOC). That was quite extreme (and I struggled with most concepts at first), but since most libraries are based on OOP, a short introduction inBasics might be beneficial. This will help to better understand simple things like mystring.upper() (already used in 1.1 Types) and myarray.shape (that will probably appear in 1.3 Numpy Arrays).

I think there is definitely utility to introducing class methods, perhaps as "object methods" later in the Basics section.
However, I think that introducing everything to do with classes is a bit over the top (and very C++ esc). Remember that the aim of the book is to give chemists the tool of programming for chemistry tasks, you don't need to be able to do OOP to fit a straight line to Arrhenius data and make a nice plot of it.


Spelling mistakes

It says 'flat' instead of 'flag' in two spots. In the documentation and code comments.

Thanks to inform, will correct it in next version


Use new jaeger-lib metricstest

Which problem is this PR solving?

Resolves #1140.

Short description of the changes

Replace old jaeger-lib API with new jaeger-lib API.

CI failed with Failed to set version on github.com/uber/jaeger-lib to 4aa908b951cc7516c61cf001ddca1118d02d243e: Unable to update checked out version: exit status 128

Interesting... This isn't pressing. I'll fix later.

technically we could upgrade to pinned version, but I would rather wait till 2.0 release of jaeger-lib (https://github.com/jaegertracing/jaeger-lib/issues/47)


server: Add /interrupt endpoint to stop generation

Previously, a stream request was not cancellable, which blocked subsequent calls.
Now, we can interrupt to cut the stream short.

Rather then adding a new API, I feel we can simply let the completion proceed as usual but cutoff playback and append to the event log based on the timestamp when interrupt was triggered.

No longer needed, as interrupts cut off the stream from Talk


Webhook to gRPC handler

Question: I see that GraphQL can handle REST webhooks and there are some examples around pub/sub method of handling request. Is there way to forward webhook request to gRPC handler? I did not see any documentation regarding that.

@ardatan Help?

This is not related to GraphQL. Basically you can implement a REST endpoint that forwards data to your gRPC source.

Closing this issue due to the inactivity.

@ardatan What you mentioned in the last post, that's what we end up building. But I feel like there must a better way to do this. As graphql can handle any http request then forwarding it to grpc though pub/sub should be possible right?

GraphQL is not responsible of handling "any" HTTP request, and GraphQL Mesh doesn't forward requests.
Your GraphQL server takes HTTP requests per GraohQL over HTTP spec, and the server executes that query on your schema, then the schema(Mesh in this case) calls gRPC client to get the requested data so there is no forwarding or HTTP handling done by GraphQL or GraphQL Mesh.

I am little confused. Here https://www.the-guild.dev/blog/graphql-mesh-subscriptions. Can't forward the response from webhook to grpc? We are trying to handle Strip webhooks and only exposed endpoint we have is GraphQL Mesh.

That documentation explains how to consume Webhooks as GraphQL subscriptions. So basically, you listen webhook calls and allow user to get it using GraphQL Subscription requests.

Quick question: Our use case is this: we have stripe account, we want to consume stripe events with our webhook. First is this possible to do with graphql mesh and then publish that message to rabbitmq.
stripe_event -> graphql_mesh_subscription -> rabbitmq


Advise on using Kani for non-cargo projects

Hello,
Is there any guidance on how to perform verification of a Rust project with Kani which is built without using Cargo? In other words, there is no Cargo.toml file, both rustc & linker are directly invoked via Makefile where dependencies are provided via --extern argument to rustc.
Thank you!

Hi @rodionov, you should be able to use standalone Kani to do that, even though we don't currently support that use case.
To compile the dependencies, you can set RUSTFLAGS env variables with the flags you pass to rustc and invoke Kani with the following flags: --codegen-only and --keep-temps

@celinval has kindly provided me with more detailed steps to follow for this case, and I've put together an example to demonstrate them. In the example we consider two separate Rust files defined as:
target.rs
extern crate dependency;

#[kani::proof]
fn main() {
    let x = dependency::add(1, 2);
    assert_eq!(x, 3);
}

dependency.rs
pub fn add(left: usize, right: usize) -> usize {
    left + right
}

First, you need to compile each dependency with standalone Kani (i.e., kani) and the flags --only-codegen and --keep-temps. This will produce one file with the .rlib format for each dependency. In our example, we execute kani --only-codegen --keep-temps dependency.rs and get the libdependency.rlib file.
Then, you need to call standalone Kani again on the main file, passing the --extern flag through RUSTFLAGS to Kani so the dependencies are properly linked. In our example, we execute RUSTFLAGS="--extern dependency=libdependency.rlib" kani target.rs. That should result in the following output:
Kani Rust Verifier 0.47.0 (standalone)
Checking harness main...
[...]
SUMMARY:
 ** 0 of 2 failed

VERIFICATION:- SUCCESSFUL
Verification Time: 0.021634178s

Complete - 1 successfully verified harnesses, 0 failures, 1 total.

Please let us know if these instructions don't work for you for any reason. I might add them to our documentation later in the week in case they're useful to other people 😄

Many thanks, @celinval and @adpaco-aws for the prompt responses! This perfectly answers my original question!
While trying these instruction above I'm running into other issues related to rustc compiler invocation while executing kani: such as missing or renamed Rust features, for example #![feature(no_coverage)] <--- feature has been removed.
The project I'm attempting to verify is built using a custom rustc compiler and the code implements some Rust features supported/handled by the custom rustc compiler. However, when running kani on the target code I'm getting a bunch of compiler errors during kani-compiler invocation. I wonder if it's possible to somehow override rustc used in kani-compiler to use my custom version of rustc? Documentation at https://model-checking.github.io/kani/rustc-hacks.html#custom-rustc provides a solution. I wonder if there is an easier option without rebuilding Kani from source?
Thank you!
Eugene

Many thanks, @JustusAdam! Understood! I guess with all the help in this thread I consider my original question answered :) Thanks a lot!

BTW, if the occurrences of these features is sporadic, you can write conditional code using the kani configuration attribute. Like only enable a feature if kani is not present: #![cfg_attr(not(kani), no_coverage].

@celinval @adpaco-aws while trying to follow solution described above (run kani directly on crates) I run into some problems due to dependencies. It seems that kani driver determines the value of --crate-name argument for kani-compiler based on the name of the source file. However, in my project pretty much all the decencies have the same root file name -- dep_folder/src/lib.rs As a result, all the dependencies are compiled using --crate-name lib. And this seems to cause some problems when dependencies are resolved...
Here is a small example reproducing the issue. Assuming we are in /tmp folder:
/tmp/a/src/lib.rs:
pub fn add_a(left: usize, right: usize) -> usize {
    left + right
}

/tmp/b/src/lib.rs:
usa a;

pub fn add_b(left: usize, right: usize) -> usize {
    a::add_a(left, right)
}

/tmp/c/src/lib.rs:
usa b;

pub fn add_c(left: usize, right: usize) -> usize {
    b::add_b(left, right)
}

Running the following commands shows the problem with finding crate b when running kani on crate c:
# compile dependency a
RUSTFLAGS="--edition 2021 -L /tmp -C metadata=a" kani --only-codegen --keep-temps a/src/lib.rs --target-dir=/tmp/a
cp a/liblib.rlib ./liba.rlib

# compile dependency b which depends on a
RUSTFLAGS="--edition 2021 -L /tmp -C metadata=b --extern a=/tmp/liba.rlib" kani --only-codegen --keep-temps b/src/lib.rs --target-dir=/tmp/b
cp b/liblib.rlib ./libb.rlib

# finally build c which depends on b
RUSTFLAGS="--edition 2021 -L /tmp -C metadata=c --extern b=/tmp/libb.rlib" kani --only-codegen --keep-temps c/src/lib.rs --target-dir=/tmp/c

Error[E0463]: can't find crate for `lib`
 --> c/src/lib.rs:1:5
  |
1 | use b;
  |     ^ can't find crate

error: aborting due to 1 previous error

For more information about this error, try `rustc --explain E0463`.

Renaming the source file names fixes the issue (e.g. a/src/lib.rs -> a/src/a.rs). Thus, this hinting that the value of--crate-name argument might be a problem. I attempted to provide --crate-name via RUSTFLAGS variable but kani-compiler complains about providing this argument two times.
@celinval @adpaco-aws  what do you think? Or could this be some other problem?
If the issue is in the crate name would it be possible to fix it somehow to support this use case?
Many thanks!

I've drafted https://github.com/model-checking/kani/pull/3054 but I'm seeing this error when following the same steps:
error[E0463]: can't find crate for `b`
 --> c/src/lib.rs:1:5
  |
1 | use b;
  |     ^ can't find crate

error: aborting due to 1 previous error

For more information about this error, try `rustc --explain E0463`.

I'd like to try a few more things, but this may indicate that adding the --crate-name feature is not enough to solve the issue when there are transitive dependencies.


fix: check deletion with confirmation modal

Details

Fixed Issues

$ https://github.com/Expensify/App/issues/24016
PROPOSAL: https://github.com/Expensify/App/issues/24016#issuecomment-1661020294
Tests

Login ND and go to any chat
Send a message
Switch to edit mode and delete all contents of the draft and click save
Select Delete on delete confirmation modal
Verify that the main composer is shown

[x] Verify that no errors appear in the JS console

Offline tests

Login ND and go to any chat
Send a message
Switch to edit mode and delete all contents of the draft and click save
Select Delete on delete confirmation modal
Verify that the main composer is shown

QA Steps

Login ND and go to any chat
Send a message
Switch to edit mode and delete all contents of the draft and click save
Select Delete on delete confirmation modal
Verify that the main composer is shown

[x] Verify that no errors appear in the JS console

PR Author Checklist

[x] I linked the correct issue in the ### Fixed Issues section above
[x] I wrote clear testing steps that cover the changes made in this PR

[x] I added steps for local testing in the Tests section
[x] I added steps for the expected offline behavior in the Offline steps section
[x] I added steps for Staging and/or Production testing in the QA steps section
[x] I added steps to cover failure scenarios (i.e. verify an input displays the correct error message if the entered data is not correct)
[x] I turned off my network connection and tested it while offline to ensure it matches the expected behavior (i.e. verify the default avatar icon is displayed if app is offline)
[x] I tested this PR with a High Traffic account against the staging or production API to ensure there are no regressions (e.g. long loading states that impact usability).

[x] I included screenshots or videos for tests on all platforms
[x] I ran the tests on all platforms & verified they passed on:

[x] Android / native
[x] Android / Chrome
[x] iOS / native
[x] iOS / Safari
[x] MacOS / Chrome / Safari
[x] MacOS / Desktop

[x] I verified there are no console errors (if there's a console error not related to the PR, report it or open an issue for it to be fixed)
[x] I followed proper code patterns (see Reviewing the code)

[x] I verified that any callback methods that were added or modified are named for what the method does and never what callback they handle (i.e. toggleReport and not onIconClick)
[x] I verified that the left part of a conditional rendering a React component is a boolean and NOT a string, e.g. myBool && <MyComponent />.
[x] I verified that comments were added to code that is not self explanatory
[x] I verified that any new or modified comments were clear, correct English, and explained "why" the code was doing something instead of only explaining "what" the code was doing.
[x] I verified any copy / text shown in the product is localized by adding it to src/languages/* files and using the translation method

[x] If any non-english text was added/modified, I verified the translation was requested/reviewed in #expensify-open-source and it was approved by an internal Expensify engineer. Link to Slack message:

[x] I verified all numbers, amounts, dates and phone numbers shown in the product are using the localization methods
[x] I verified any copy / text that was added to the app is grammatically correct in English. It adheres to proper capitalization guidelines (note: only the first word of header/labels should be capitalized), and is approved by marketing by adding the Waiting for Copy label for a copy review on the original GH to get the correct copy.
[x] I verified proper file naming conventions were followed for any new files or renamed files. All non-platform specific files are named after what they export and are not named "index.js". All platform-specific files are named for the platform the code supports as outlined in the README.
[x] I verified the JSDocs style guidelines (in STYLE.md) were followed

[x] If a new code pattern is added I verified it was agreed to be used by multiple Expensify engineers
[x] I followed the guidelines as stated in the Review Guidelines
[x] I tested other components that can be impacted by my changes (i.e. if the PR modifies a shared library or component like Avatar, I verified the components using Avatar are working as expected)
[x] I verified all code is DRY (the PR doesn't include any logic written more than once, with the exception of tests)
[x] I verified any variables that can be defined as constants (ie. in CONST.js or at the top of the file that uses the constant) are defined as such
[x] I verified that if a function's arguments changed that all usages have also been updated correctly
[x] If a new component is created I verified that:

[x] A similar component doesn't exist in the codebase
[x] All props are defined accurately and each prop has a /** comment above it */
[x] The file is named correctly
[x] The component has a clear name that is non-ambiguous and the purpose of the component can be inferred from the name alone
[x] The only data being stored in the state is data necessary for rendering and nothing else
[x] If we are not using the full Onyx data that we loaded, I've added the proper selector in order to ensure the component only re-renders when the data it is using changes
[x] For Class Components, any internal methods passed to components event handlers are bound to this properly so there are no scoping issues (i.e. for onClick={this.submit} the method this.submit should be bound to this in the constructor)
[x] Any internal methods bound to this are necessary to be bound (i.e. avoid this.submit = this.submit.bind(this); if this.submit is never passed to a component event handler like onClick)
[x] All JSX used for rendering exists in the render method
[x] The component has the minimum amount of code necessary for its purpose, and it is broken down into smaller components in order to separate concerns and functions

[x] If any new file was added I verified that:

[x] The file has a description of what it does and/or why is needed at the top of the file if the code is not self explanatory

[x] If a new CSS style is added I verified that:

[x] A similar style doesn't already exist
[x] The style can't be created with an existing StyleUtils function (i.e. StyleUtils.getBackgroundAndBorderStyle(themeColors.componentBG))

[x] If the PR modifies code that runs when editing or sending messages, I tested and verified there is no unexpected behavior for all supported markdown - URLs, single line code, code blocks, quotes, headings, bold, strikethrough, and italic.
[x] If the PR modifies a generic component, I tested and verified that those changes do not break usages of that component in the rest of the App (i.e. if a shared library or component like Avatar is modified, I verified that Avatar is working as expected in all cases)
[x] If the PR modifies a component related to any of the existing Storybook stories, I tested and verified all stories for that component are still working as expected.
[x] If a new page is added, I verified it's using the ScrollView component to make it scrollable when more elements are added to the page.
[x] If the main branch was merged into this PR after a review, I tested again and verified the outcome was still expected according to the Test steps.
[x] I have checked off every checkbox in the PR author checklist, including those that don't apply to this PR.

Screenshots/Videos

Web
https://github.com/Expensify/App/assets/126839717/ab6f1f02-c100-467b-84eb-84eddf91f276

Mobile Web - Chrome
https://github.com/Expensify/App/assets/126839717/9fa208d3-4399-4e82-a334-e772f6eae200

Mobile Web - Safari
https://github.com/Expensify/App/assets/126839717/ce436c9b-0866-4097-8906-3fc0bfed8921

Desktop
https://github.com/Expensify/App/assets/126839717/9eb3dc3a-6785-47d5-b6cd-2486b7b36b1e

iOS
https://github.com/Expensify/App/assets/126839717/db05bdeb-53c5-4ec6-a5fb-6ff48e46aaf1

Android
https://github.com/Expensify/App/assets/126839717/96bbd399-4eb6-4eda-b276-18e1eb7564e0

@s-alves10 Can you please close this PR?


Minor issue: example 'simple' - when compiled standalone -  the render context needs to be unwrapped

 let mut render_cx = RenderContext::new().expect("Couldnt get render context");
fixes the problem.  Not sure why it compiled OK when built inside the vello crate.

This is due to an API change between main and the release. You should use the version from the tagged release.

https://github.com/linebender/vello/tree/v0.1.0/examples/simple


Remove version: Pidgin.Pidgin version 2.14.4

[Automated] It returns code over 400 in all urls
Microsoft Reviewers: Open in CodeFlow

URL: https://sourceforge.net/projects/pidgin/files/Pidgin/2.14.4/pidgin-2.14.4-offline.exe/download
Status Code: 200
(Automated message - build 896)

Close with reason: Package still available.;


Application does not remember window size

Subject of the issue
Application does not remember window size after restart.
Your environment

version of YWallet 1.3.0
platform and version.  macOS Ventura 13.2

Steps to reproduce

Launch wallet.
Resize the app window.
Quit the app.
Relaunch the app.

Expected behaviour
App has the window size set in step 2.
Actual behaviour
App window is reset to default, which is actually too small and hides info on the bottom.

Fixed with 1.3.1


0.43 crashed after wakeup

Already reported ? *

[X] I have searched the existing open and closed issues.

Regression?
No
System Info and Version
System info:
Lenovo Laptop T480 + thunderbolt docking station
System name: Linux
Node name: ------
Release: 6.6.50-2-lts
Version: #1 SMP PREEMPT_DYNAMIC Tue, 10 Sep 2024 14:57:31 +0000
GPU:
00:02.0 VGA compatible controller [0300]: Intel Corporation UHD Graphics 620 [8086:5917] (rev 07) (prog-if >
Description
The hyprland can't start
How to reproduce
After the update the hyprland crashing when I connect to thunderbolt docking station every time.
Crash reports, logs, images, videos

Hyprland Crash Report
"stable"
Hyprland received signal 6(ABRT)
Version: 0f594732b063a90d44df8c5d402d658f27471dfe
Tag: v0.43.0
Date: Sun Sep 8 16:48:21 2024
Flags:
System info:
System name: Linux
Node name: ------
Release: 6.6.50-2-lts
Version: #1 SMP PREEMPT_DYNAMIC Tue, 10 Sep 2024 14:57:31 +0000
GPU:
00:02.0 VGA compatible controller [0300]: Intel Corporation UHD Graphics 620 [8086:5917] (rev 07) (prog-if >
os-release:
NAME="Arch Linux"
PRETTY_NAME="Arch Linux"
ID=arch
BUILD_ID=rolling
ANSI_COLOR="38;2;23;147;209"
HOME_URL="https://archlinux.org/"
DOCUMENTATION_URL="https://wiki.archlinux.org/"
SUPPORT_URL="https://bbs.archlinux.org/"
BUG_REPORT_URL="https://gitlab.archlinux.org/groups/archlinux/-/issues"
PRIVACY_POLICY_URL="https://terms.archlinux.org/docs/privacy-policy/"
LOGO=archlinux-logo
Backtrace:
# | Hyprland(_Z12getBacktracev+0x61) [0x5b0ec1fc1e81]
getBacktrace()
??:?
#1 | Hyprland(_ZN13CrashReporter18createAndSaveCrashEi+0xb88) [0x5b0ec1f41b78]
CrashReporter::createAndSaveCrash(int)
??:?
#2 | Hyprland(_Z25handleUnrecoverableSignali+0x71) [0x5b0ec1ebf581]
handleUnrecoverableSignal(int)
??:?
#3 | /usr/lib/libc.so.6(+0x3d1d0) [0x70e4f5f5d1d0]
??
??:0
#4 | /usr/lib/libc.so.6(+0x963f4) [0x70e4f5fb63f4]
??
??:0
#5 | /usr/lib/libc.so.6(gsignal+0x20) [0x70e4f5f5d120]
??
??:0
#6 | Hyprland(_ZN15CHyprOpenGLImpl22renderTexturePrimitiveEN9Hyprutils6Memory14CSharedPointerI8CTextureEEPN>
CHyprOpenGLImpl::renderTexturePrimitive(Hyprutils::Memory::CSharedPointer, Hyprutils::Mat>
??:?
#7 | Hyprland(_ZN15CHyprOpenGLImpl3endEv+0x591) [0x5b0ec21a22d1]
CHyprOpenGLImpl::end()
??:?
#8 | Hyprland(_ZN13CHyprRenderer9endRenderEv+0x116) [0x5b0ec21c79f6]
CHyprRenderer::endRender()
??:?
#9 | Hyprland(_ZN13CHyprRenderer13renderMonitorEP8CMonitor+0x896) [0x5b0ec21be3e6]
CHyprRenderer::renderMonitor(CMonitor*)
??:?
#1 | Hyprland(_ZN11CCompositor12onNewMonitorEN9Hyprutils6Memory14CSharedPointerIN10Aquamarine7IOutputEEE+0x>
CCompositor::onNewMonitor(Hyprutils::Memory::CSharedPointerAquamarine::IOutput)
??:?
#11 | Hyprland(+0x1a5968) [0x5b0ec1ee9968]
std::any::_Manager_internal<Hyprutils::Memory::CSharedPointer >::_S_manage(std::any::_Op,>
??:?
#12 | /usr/lib/libhyprutils.so.1(_ZN9Hyprutils6Signal21CStaticSignalListener4emitESt3any+0x66) [0x70e4f6537>
??
??:0
#13 | /usr/lib/libhyprutils.so.1(_ZN9Hyprutils6Signal7CSignal4emitESt3any+0x59e) [0x70e4f65383be]
??
??:0
#14 | /usr/lib/libaquamarine.so.3(_ZN10Aquamarine13SDRMConnector7connectEP17_drmModeConnector+0x1413) [0x70>
??
??:0
#15 | /usr/lib/libaquamarine.so.3(_ZN10Aquamarine11CDRMBackend14scanConnectorsEb+0xc38) [0x70e4f6be4c68]
??
??:0
#16 | /usr/lib/libaquamarine.so.3(_ZN10Aquamarine11CDRMBackend12recheckCRTCsEv+0xfcb) [0x70e4f6be615b]
??
??:0
#17 | /usr/lib/libaquamarine.so.3(+0xaa23f) [0x70e4f6bf023f]
??
??:0
#18 | /usr/lib/libhyprutils.so.1(_ZN9Hyprutils6Signal15CSignalListener4emitESt3any+0x5f) [0x70e4f6537c9f]
??
??:0
#19 | /usr/lib/libhyprutils.so.1(_ZN9Hyprutils6Signal7CSignal4emitESt3any+0x1ee) [0x70e4f653800e]
??
??:0
#2 | /usr/lib/libaquamarine.so.3(_ZN10Aquamarine8CSession18dispatchUdevEventsEv+0x4d1) [0x70e4f6bbdfb1]
??
??:0
#21 | Hyprland(+0x30ae3a) [0x5b0ec204ee3a]
std::any::_Manager_internal<Hyprutils::Memory::CSharedPointer >::_S_manage(std::any>
??:?
#22 | /usr/lib/libwayland-server.so.0(wl_event_loop_dispatch+0x1f2) [0x70e4f6aea0a2]
??
??:0
#23 | /usr/lib/libwayland-server.so.0(wl_display_run+0x2f) [0x70e4f6aec10f]
??
??:0
#24 | Hyprland(_ZN17CEventLoopManager9enterLoopEv+0x282) [0x5b0ec204fb32]
CEventLoopManager::enterLoop()
??:?
#25 | Hyprland(main+0xc80) [0x5b0ec1e7c310]
main
??:?
#26 | /usr/lib/libc.so.6(+0x25e08) [0x70e4f5f45e08]
??
??:0
#27 | /usr/lib/libc.so.6(__libc_start_main+0x8c) [0x70e4f5f45ecc]
??
??:0
#28 | Hyprland(_start+0x25) [0x5b0ec1ebb815]
_start
??:?
Log tail:
[LOG] New monitor: WORKSPACEID 10, exists: 0
[LOG] [AQ] drm: Cursor buffer imported into KMS with id 137
[LOG] [AQ] drm: Cursor buffer imported into KMS with id 149
[LOG] [AQ] GBM: Automatically selected format AR24 for new GBM buffer
[LOG] [AQ] GBM: Buffer is marked as multigpu, forcing linear
[LOG] [AQ] GBM: Allocated a new buffer with size [Vector2D: x: 256, y: 256] and format AR24 with modifier 0 aka LIN>
[LOG] [AQ] GBM: Automatically selected format AR24 for new GBM buffer
[LOG] [AQ] GBM: Buffer is marked as multigpu, forcing linear
[LOG] [AQ] GBM: Allocated a new buffer with size [Vector2D: x: 256, y: 256] and format AR24 with modifier 0 aka LIN>
[LOG] [AQ] Swapchain: Reconfigured a swapchain to [Vector2D: x: 256, y: 256] AR24 of length 2
[LOG] Shaders initialized successfully.
[LOG] [IWaylandProtocol] Registered global [WLOutput (DP-5)]
[ERR] [AQ] Can't get formats: no crtc
[LOG] [CLinuxDMABufV1Protocol] Resetting format table
[LOG] Applying monitor rule for eDP-1
[LOG] Monitor eDP-1: Applying highest mode<EMAIL_ADDRESS>[LOG] output eDP-1 succeeded basic test on format DRM_FORMAT_XRGB8888
[LOG] [AQ] drm: Modesetting eDP-1 with<EMAIL_ADDRESS>[LOG] arrangeMonitors: 3 to arrange
[LOG] arrangeMonitors: eDP-1 explicit [0, 0]
[LOG] arrangeMonitors: DP-5 explicit [1920, 0]
[LOG] arrangeMonitors: DP-4 auto [1920, 0]
[LOG] arrangeMonitors: eDP-1 xwayland [0, 0]
[LOG] arrangeMonitors: DP-4 xwayland [1920, 0]
[LOG] arrangeMonitors: DP-5 xwayland [1920, 0]
[LOG] Monitor eDP-1 data dump: res<EMAIL_ADDRESS>scale 1.00, transform 0, pos 0x0, 10b 0
[LOG] [AQ] drm: Cursor buffer imported into KMS with id 134
[LOG] [AQ] drm: Cursor buffer imported into KMS with id 149
[WARN] No rule found for DP-4, trying to use the first.
[WARN] No rules configured. Using the default hardcoded one.
[LOG] Applying monitor rule for DP-4
[ERR] Monitor DP-4 has NO PREFERRED MODE
[WARN] updateSwapchain: No mode?
[LOG] CMonitorState::ensureBufferPresent: no buffer or mismatched format, attaching one from the swapchain for mode>
[ERR] [AQ] drm: No mode on enable commit
[ERR] output DP-4 failed basic test on format DRM_FORMAT_XRGB8888
[WARN] updateSwapchain: No mode?
[LOG] CMonitorState::ensureBufferPresent: no buffer or mismatched format, attaching one from the swapchain for mode>
[ERR] [AQ] drm: No mode on enable commit
[ERR] output DP-4 failed basic test on format DRM_FORMAT_XBGR8888
[WARN] updateSwapchain: No mode?
[LOG] CMonitorState::ensureBufferPresent: no buffer or mismatched format, attaching one from the swapchain for mode>
[ERR] [AQ] drm: No mode on enable commit
[ERR] output DP-4 failed basic test on format DRM_FORMAT_INVALID
[WARN] updateSwapchain: No mode?
[LOG] CMonitorState::ensureBufferPresent: no buffer or mismatched format, attaching one from the swapchain for mode>
[ERR] [AQ] drm: No mode on enable commit
[ERR] Couldn't commit output named DP-4
[LOG] arrangeMonitors: 3 to arrange
[LOG] arrangeMonitors: eDP-1 explicit [0, 0]
[LOG] arrangeMonitors: DP-5 explicit [1920, 0]
[LOG] arrangeMonitors: DP-4 auto [3840, 0]
[LOG] arrangeMonitors: eDP-1 xwayland [0, 0]
[LOG] arrangeMonitors: DP-4 xwayland [1920, 0]
[LOG] arrangeMonitors: DP-5 xwayland [1920, 0]
[LOG] Monitor DP-4 data dump: res<EMAIL_ADDRESS>scale 1.00, transform 0, pos 3840x0, 10b 0
[LOG] [AQ] drm: Cursor buffer imported into KMS with id 134
[LOG] [AQ] drm: Cursor buffer imported into KMS with id 153
[LOG] Applying monitor rule for DP-5
[ERR] [AQ] drm: No CRTC attached to output
[ERR] Custom resolution FAILED, falling back to preferred
[ERR] Monitor DP-5 has NO PREFERRED MODE, and an INVALID one was requested<EMAIL_ADDRESS>[LOG] [AQ] drm: Cursor buffer imported into KMS with id 134
[LOG] [AQ] drm: Cursor buffer imported into KMS with id 153
[LOG] Cleanup: destroyed a layersurface
[CRITICAL]
ASSERTION FAILED!
Attempted to draw NULL texture!
at: line 1547 in OpenGL.cpp

try setting env = AQ_NO_MODIFIERS,1 in your config

Looks like ok now. Thank you


Criteria constructors

Is there a reason the default Criteria don't have a constructor to set the value?
The Complete example does have one and use it (new HeightCriteria(200)), which seems to make it more easy (instead of (new HeightCriteria)->setHeight(200);)
I can understand it might not be ideal for DI (with the Symfony bundle or something), but a default with null shouldn't hurt?
(Just checking if this is deliberate or not)

No, there is no reason. All criteria can have constructor with proper values (default null).
I will mark this issue as an enhancement.
Good idea! Thanks

Hi, @barryvdh! Thanks for writing this issue. Today I had some time to add constructors to current Criteria. It will be present in next minor version - which I will tag today (hopefully).
Kind regards


Inline doesn't work

Hey there,
The inline prop doesn't seem to have any effect for me on any of the styles of NumPad.
Nothing in the console either. Works when I load up the demo in storybook.
Any ideas?

Can you show the code where NumPad is not working inline?


SKU e82ae690-a2d5-4d76-8d30-7c6e01e6022e missing from page?

The table on https://docs.microsoft.com/en-us/MicrosoftTeams/sku-reference-edu lists:
314c4481-f395-4525-be8b-2ec4bb1e9d91 which appears in the admin center as "Office 365 A1 for students" and via Get-MsolAccountSku as "STANDARDWOFFPACK_STUDENT".
However, the same page does not list:
e82ae690-a2d5-4d76-8d30-7c6e01e6022e which appears in the admin center as "Office 365 A1 Plus for students" and via Get-MsolAccountSku as "STANDARDWOFFPACK_IW_STUDENT".
Is there a reason the latter SKU is not listed?

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

ID: ae22e4df-3f88-8c54-c55e-a3cd4f720cbc
Version Independent ID: 3be05aac-9860-e78c-aca7-c62de044c48b
Content: Education SKU reference - Microsoft Teams
Content Source: Teams/sku-reference-edu.md
Service: msteams
GitHub Login: @LanaChin
Microsoft Alias: v-lanac

@rsoakford  Thank you for submitting feedback and contributing to the docs. We are currently investigating this.

Hi @rsoakford  Thanks for raising this issue! I will be looking into it!

@LanaChin Would you be able to provide some more detailed insight as to why the SKU mentioned above is omitted in the documentation? I wasn't able to turn up any information on it. So I'm not sure if it was just not included or if there is a specific reason for why it isn't there. Thanks!

Hi @rsoakford. Thanks for your feedback. the SKU has been added in the linked PR.  Thanks @TokyoScarab.

I believe the two SKUs are distinct - now it looks as though the page incorrectly refers to
SkuPartNumber: STANDARDWOFFPACK_IW_STUDENT
SkuID: 314c4481-f395-4525-be8b-2ec4bb1e9d91
However, when I run the Get-MsolAccountSku PowerShell cmdlet on my tenant I see the following:
`SkuId                                SkuPartNumber

94763226-9b3c-4e75-a931-5c89701abe66 STANDARDWOFFPACK_FACULTY
78e66a63-337a-4a9a-8959-41c6654dfb56 STANDARDWOFFPACK_IW_FACULTY
e82ae690-a2d5-4d76-8d30-7c6e01e6022e STANDARDWOFFPACK_IW_STUDENT
314c4481-f395-4525-be8b-2ec4bb1e9d91 STANDARDWOFFPACK_STUDENT
`
As far as I can tell, all four of the above SKUs include the Microsoft Teams servicePlan (see https://docs.microsoft.com/en-us/office365/enterprise/powershell/view-account-license-and-service-details-with-office-365-powershell).

Anybody had a chance to track this down? We have a bunch of users in our tennant with licenses having SkuId='e82ae690-a2d5-4d76-8d30-7c6e01e6022e'. I'm probably just going to remove them and replace with the new one but it would be nice to have some explanation as to why this ID has simply disappeared from the internet...