Updating azure role definition gives error

This is autogenerated. Please review and update as needed.
Describe the bug
Command Name
az role definition update
Errors:
The command failed with an unexpected error. Here is the traceback:
'roleName'
Traceback (most recent call last):
  File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\knack/cli.py", line 233, in invoke
  File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/core/commands/__init__.py", line 663, in execute
  File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/core/commands/__init__.py", line 726, in _run_jobs_serially
  File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/core/commands/__init__.py", line 697, in _run_job
  File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/core/commands/__init__.py", line 333, in __call__
  File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/core/commands/command_operation.py", line 121, in handler
  File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/command_modules/role/custom.py", line 71, in update_role_definition
  File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/command_modules/role/custom.py", line 101, in _create_update_role_definition
KeyError: 'roleName'

To Reproduce:
Steps to reproduce the behavior. Note that argument values have been redacted, as they may contain sensitive information.

Put any pre-requisite steps here...
az role definition update --role-definition {}

Expected Behavior
Environment Summary
Windows-10-10.0.25231-SP0
Python 3.10.5
Installer: MSI

azure-cli 2.41.0

Extensions:
account 0.2.3
managementpartner 0.1.3

Dependencies:
msal 1.20.0b1
azure-mgmt-resource 21.1.0b1

Additional Context

Item here

@oxbo-andre We are unable to reproduce this in similar environment.

I think that it had to do with token that was expired because when i did az logout and then az login it did not happen anymore.

@aavdberg Thank you. @oxbo-andre can you try it please?

@oxbo-andre is my account at the customer

@oxbo-andre @aavdberg Thank you. I will close the issue.

Duplicate of https://github.com/Azure/azure-cli/issues/12027


"NullInjectorError: No provider for NgZone" after upgrade to Angular 6 and angular-redux/store 9

This is a...

[ ] feature request
[x] bug report
[ ] usage question

What toolchain are you using for transpilation/bundling?

[ ] @angular/cli
[x] Custom @ngTools/webpack
[ ] Raw ngc
[ ] SystemJS
[ ] Rollup
[ ] Other

Environment
NodeJS Version: 8.11.4
Typescript Version: 3.01
Angular Version: 6.1.10
@angular-redux/store version: 9.0.0
@angular/cli version: (if applicable)
OS: Windows
Expected Behaviour:
NgRedux to load via dependency injection.
Actual Behaviour:
Application fails to load due to dependency injection issues. zone.js is at 0.8.26 version and RxJS is at 6.3.3 with a compat layer.
Stack Trace/Error Message:
Unhandled Promise rejection: StaticInjectorError(Gen2AppModule)[NgRedux -> NgZone]:
  StaticInjectorError(Platform: core)[NgRedux -> NgZone]:
    NullInjectorError: No provider for NgZone! ; Zone: <root> ; Task: Promise.then ; Value: Error: "StaticInjectorError(Gen2AppModule)[NgRedux -> NgZone]:
  StaticInjectorError(Platform: core)[NgRedux -> NgZone]:
    NullInjectorError: No provider for NgZone!"

Additional Notes:
Here's my application bootstrap (summarized to remove proprietary code):
import './vendor';
import Ng1App from '../app/app';
import * as angular from 'angular';
import 'zone.js';
import { NgModule, enableProdMode, forwardRef } from '@angular/core';
import { store } from '../reduxStore';
import { BrowserModule } from '@angular/platform-browser';
import { platformBrowserDynamic } from '@angular/platform-browser-dynamic';
import { UpgradeModule } from '@angular/upgrade/static';
import { RouterModule, UrlHandlingStrategy } from '@angular/router';
import {
  HashLocationStrategy,
  LocationStrategy,
  APP_BASE_HREF,
} from '@angular/common';
import { Store } from 'redux';
import { NgReduxModule, NgRedux } from '@angular-redux/store';

import { IAppState } from '../reducers/IAppState';
import { AppRootComponent } from './pages/AppRootComponent';

@NgModule({
  declarations: [AppRootComponent],
  entryComponents: [],
  imports: [
    UpgradeModule,
    NgReduxModule,
  ],
  providers: [
    { provide: LocationStrategy, useClass: HashLocationStrategy },
    { provide: APP_BASE_HREF, useValue: '!' },
  ],
  bootstrap: [AppRootComponent],
})
class Gen2AppModule {
  constructor(private upgrade: UpgradeModule, ngRedux: NgRedux<IAppState>) {
    ngRedux.provideStore(store as Store<IAppState>);
  }

  ngDoBootstrap() {}
}

const upgradedModules = [];

    angular.element(document).ready(function() {
      platformBrowserDynamic()
        .bootstrapModule(Gen2AppModule)
        .then(platformRef => {
          const injector = platformRef.injector;
          const upgrade = injector.get(UpgradeModule) as UpgradeModule;
          upgrade.bootstrap(document.body, [Ng1App.name, ...upgradedModules]);
        });
    });

A quick update, providing NgReduxModule manually seems to fix this problem via:
providers: [
 // ... other providers
{ provide: NgRedux, useFactory: _ngReduxFactory, deps: [NgZone]}
],

I imported _ngReduxFactory (VS Code figured out the location automatically) via:
import { NgZone } from '@angular/core';
import { _ngReduxFactory } from<EMAIL_ADDRESS>

Hmm, I wonder if my webpack setup bundles things in a weird way before zone.js gets loaded.


Need findROCM with modern CMake support

Current CMake needs improvements. Please match FindCUDAToolkit and define targets for all the components.
FindHIP and FindROCR are too basic and pre-modern cmake.

Hi @ye-luo
Thanks for the ticket.
We are checking with corresponding team internally and will get back to you soon.

Hi @ye-luo
We have plans to upgrade to modern cmake for ROCm but discussions are in progress.
We will inform once we upgrade officially.

I request you close this ticket meanwhile.

I will close this ticket when the first bits of progress shows up in the release.

My first ride is pretty rough. Here is the list of issues to track
https://github.com/ROCm-Developer-Tools/HIP/issues/2433
https://github.com/ROCm-Developer-Tools/HIP/pull/2434
https://github.com/ROCm-Developer-Tools/hipamd/pull/7
https://github.com/RadeonOpenCompute/ROCm/issues/1636
https://gitlab.kitware.com/cmake/cmake/-/issues/23006
My goal is to get the following working
  enable_language(HIP)
  list(PREPEND CMAKE_PREFIX_PATH ${CMAKE_HIP_COMPILER_ROCM_ROOT})
  find_package(hip CONFIG REQUIRED)
  find_package(hipblas CONFIG REQUIRED)

but it seems needing multiple fixes. I hope to someone from AMD who has a extensive picture of CMake in ROCm to look at those.

Hi @ye-luo
As discussed in the previous comments, hope you are going to close this ticket. Thank you.

Please do worry less about closing this ticket, than about fixing the current cmake/hipconfig situation.
I am doing an effort for native Debian packaging, and the general assumption that the ROCm toolkit is all under one directory - binaries, libraries, be it in the default /opt/rocm or somewhere else... feels pretty wrong.
The hipconfig and hipvars scripts are especially weak.
I am trying to get the hip cmake test suite (on top of the external test-suite and example repos) working with a decoupled install. ROCm libraries in /usr/{lib, share}/rocm and binaries in /usr/bin/rocm : I am currently fighting the whole build system of ROCm and this is exhausting. This person's work really looks like going in the good direction, into making more robust and less convoluted design decisions.

I just noticed another trouble https://github.com/RadeonOpenCompute/ROCm/issues/1717

@Maxzor

I am doing an effort, alongside the dedicated packaging team, for native Debian packaging, and the general assumption that the ROCm toolkit is all under one directory - binaries, libraries, be it in the default /opt/rocm or somewhere else... feels pretty wrong.

I completely agree. - Been trying to make ROCm work in a module environment, and think this needs fixing in order for it to work properly. Also opened https://gitlab.freedesktop.org/drm/amd/-/issues/1961 in hope of getting them to allow for "--prefix" and "--modulefiles" to generate  modules files for ROCm install.
I tried tar'ing to keep soft links and moved it to /cm/shared/apps/amd/rocm/5.1.0 (Bright (soon Nvidia) CM), and configured a modules file, the enduser could compile on login node w/o AMD GPUs. I could also build targeted clang and gcc. But during runtime, it seems to have issues picking up soflinked dso's of underlying directories, and I think this is related to what you describe. Looks like I need to copy all dso's into the main lib directory in the same way Nvidia cuda has it.

Hi @ye-luo As discussed in the previous comments, hope you are going to close this ticket. Thank you.

@ROCmSupport Is the problem solved?

@torehl, if you haven't checked it out before, maybe give Spack a try. AMD contributes build recipes to Spack for much of the ROCm stack, and it integrates with lmod.

@ROCmSupport   please address this issue

Sorry for the delay @ronlieb and @ye-luo.  I had a chat with the internal team and they said the support has been implemented in cmake 3.21.X and available to the public.
https://cmake.org/cmake/help/latest/search.html?q=hip
Please check and let me know if this is still an issue.  Thanks for your patience.

Working fine now.


Rename RedisRequest to CommandRequest

Issue #, if available:
Description of changes:
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Why not GlideRequest?

Why not GlideRequest?

It was one of the suggestions but we decided command request is better


impl Response::redirect_see_other

I just felt that this seemed to be missing.
307 Temporary Redirect and 308 Permanent Redirect result in undesired behaviour when you  want to simply display another page after processing a post request as post requests remain posts on the new URL.
303 See Other Does not have this issue as it converts everything to get.

Is there an issue with just calling it redirect() if it is the best way of doing so for most use-cases?

@Fishrock123 no issue if that's the case; could you say more why you think this is the right method for most cases tho? I'm not super familiar with how these methods are used.

Closing in favor of #513.


New: Added 2 new articles in relation to Industrial IoT architectures

Before selecting the "Create pull request" button:

Enter a meaningful title above^, using a prefix if necessary and keywords "New" or "Update" indicating the nature of changes.

Describe the summary, scope, and intent of this PR:
We have been maintaining an Industrial IoT reference architecture with the Digital Twin Consortium and recently decided that it fits better in learn.microsoft.com.

Insert links(s) to any related work item(s) or supporting detail:
Port of the Azure-specific items from https://github.com/digitaltwinconsortium/ManufacturingOntologies

AFTER YOUR PR HAS BEEN CREATED, expand this section for tips and additional instructions.
These are common guidelines for contributions across the repos managed by the Cloud Architecture Content Team (CACT). Some repositories may have additional specific requirements that are not listed here.
Guidance for all contributors

Topic
Guidance

Draft PR
If your PR will be a work-in-progress for more than a day or two, select the Convert to draft link in the upper right of the page (under Reviewers) to change it to a draft. For future reference, you can also do this using the Create pull request button drop-down during PR creation.

ms.date metadata
Don't update an article's "ms.date" metadata property unless you've done a full freshness review of the content. A full freshness review includes changes required to correct or improve the full technical accuracy of the article.Don't update "ms.date" if you're doing targeted changes to improve non-technical aspects of the article, such as editorial quality, art improvements, article template alignment, etc.If you've changed any "ms.date" properties for work that wasn't part of full review for freshness, please reset them to their previous value.

Placement and linking
If you're creating a new article or articles, include updates to the related TOC.yml file to propose where the article(s) should be placed. Also consider other places within the document set where it would be beneficial to cross-reference and link to your new article(s).

PR build
After you open your PR, and for each successive commit that you push to your branch, the publishing platform will run validation on the files in your pull request. A summary of the build results for each file will be inserted inline into your pull request, which includes any build suggestions/warnings/errors. PRs cannot be merged until all build errors and most warnings are resolved.

Publishing
Following a successful merge, most repos publish to the live site at least once per (business) day, usually around 10am Pacific.

Additional resources
Learn.Microsoft.Com contributor guide

Additional guidance for private repos and internal contributors

Topic
Guidance

PR size
If your PR is more than ~5 lines of changes, or you'd like for the changes to go through editorial or larger review, open a contribution request at https://aka.ms/Contribution and include a link to the PR in response #8. Once it's processed, you'll be notified of the next steps.

PR title prefix
Select the Edit button to the right of the PR title if you need to revise it. The following prefixes are reserved for specific contribution types:[Quality Check] - maintenance work related to content quality (edit passes, art improvements, template alignment)[LinkFix] - recurring/adhoc PRs to correct link URLs[Pipeline] - new/updated contributor success pipeline content[WIP] - a work-in-progress draft requiring several days/weeks

PR preview
Following successful build of your PR, publishable files will also include Preview URL links to staged previews of your new/updated articles. Be sure to review these for verification of your intended contributions, or to send to other internal contributors for review.

PR sign-off (public repo)
If an article you own is updated in a public repo PR, you are responsible for sign-off. You will be automatically notified via email. The PR will not be merged until you've had a chance to review and sign-off.

PR sign-off (private repo)
After you've completed your proposed changes, addressed build warnings, and completed all review work, you can begin the sign-off process for review and merge:If your PR is in draft mode, remove "[WIP]" from the title and select Ready for review button at the bottom of the PR.Enter "#sign-off" in a new comment. This comment indicates that you're confident the work meets or exceeds Microsoft's standards for publication, and will trigger the review process.Your PR may be selected for initial review by the CACT. Following CACT review, you may receive questions or requests for additional changes. You should have initial feedback from CACT review within a few business days. If you have an urgent request or need to contact the team, please mention @MicrosoftDocs/cloud-architecture-content-team-pr-reviewers in your PR and someone will get back to you. After CACT review is complete, a CACT #sign-off will be added.Final review/merge is done by the PR review team. The PR team may also respond with feedback, categorized as "Blocking" (requires action from you), or "Non-blocking" (to be addressed in a future PR).

Additional resources
Learn.Microsoft.Com internal contributor guideAuthoring templates: architecture-center-pr, well-architected-prTo contact the CACT use e-mail, or @mention our GitHub team in your PR comments using: @MicrosoftDocs/cloud-architecture-content-team-pr-reviewers

Hey there Erich.  As a Microsoft employee, please instead open this PR against architecture-center-pr and, if you haven't already, please submit a contribution intent at https://aka.ms/contribution.

Will do. I’ve already submitted the intent on /contribution.
From: Chad Kittel @.>
Sent: Tuesday, 26 March 2024 19:44
To: MicrosoftDocs/architecture-center @.>
Cc: Erich Barnstedt @.>; Author @.>
Subject: Re: [MicrosoftDocs/architecture-center] New: Added 2 new articles in relation to Industrial IoT architectures (PR #4413)
Hey there Erich. As a Microsoft employee, please instead open this PR against architecture-center-pr and, if you haven't already, please submit a contribution intent at https://aka.ms/contribution.
—
Reply to this email directly, view it on GitHubhttps://github.com/MicrosoftDocs/architecture-center/pull/4413#issuecomment-2021215475, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AB6HU6XLJKHSCYFGTULVMTLY2G6YDAVCNFSM6AAAAABFJDMOVWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAMRRGIYTKNBXGU.
You are receiving this because you authored the thread.Message ID<EMAIL_ADDRESS>

@barnstee - I'll close this PR so you can submit the content in the private repo.


npm test fails for newly generated app

Description
What are you reporting?
I scaffold a new app and run npm test
Expected behavior
successful test coverage and count
Actual behavior
╰─○ npm test

><EMAIL_ADDRESS>test /Users/fadeojo/Development/react/nethan
> react-scripts test --env=jsdom
 FAIL  src/App.test.js
  ● Test suite failed to run

    Couldn't find preset "es2015" relative to directory "/Users/fadeojo/Development/react"

      at node_modules/react-scripts/node_modules/babel-core/lib/transformation/file/options/option-manager.js:298:19
      at Array.map (native)
      at OptionManager.resolvePresets (node_modules/react-scripts/node_modules/babel-core/lib/transformation/file/options/option-manager.js:269:20)
      at OptionManager.mergePresets (node_modules/react-scripts/node_modules/babel-core/lib/transformation/file/options/option-manager.js:258:10)
      at OptionManager.mergeOptions (node_modules/react-scripts/node_modules/babel-core/lib/transformation/file/options/option-manager.js:243:14)
      at OptionManager.init (node_modules/react-scripts/node_modules/babel-core/lib/transformation/file/options/option-manager.js:373:12)
      at File.initOptions (node_modules/react-scripts/node_modules/babel-core/lib/transformation/file/index.js:221:65)
      at new File (node_modules/react-scripts/node_modules/babel-core/lib/transformation/file/index.js:141:24)
      at Pipeline.transform (node_modules/react-scripts/node_modules/babel-core/lib/transformation/pipeline.js:46:16)

Test Suites: 1 failed, 1 total
Tests:       0 total
Snapshots:   0 total
Time:        0.795s
Ran all test suites.

Environment
Run these commands in the project folder and fill in their results:

npm ls react-scripts (if you haven’t ejected<EMAIL_ADDRESS>node -v: v6.7.0
npm -v:3.10.3

Then, specify:

Operating system:
Macbook-pro
Browser and version:

Reproducible Demo
https://github.com/fadeojo/demo

Please run:
npm install -g npm@latest

cd your_project_directory
rm -rf node_modules
npm install

and try to reproduce the issue again.
Can you still reproduce it?

I'm also seeing an issue with npm test and a freshly generated project: it hangs indefinitely. (Could it be an issue with watchman not finding any test files?)
Anything I can do to debug? npm is up to date and node_modules directory freshly generated.

@stephencelis
This issue is not about hanging, it's about a crash due to a missing preset. Could you please file a new issue with details about your setup and your console output / screenshot?

@gaearon Done! https://github.com/facebookincubator/create-react-app/issues/960
Apologies for moving off topic!

@gaearon same result.
Couldn't find preset "es2015" relative to directory "/Users/fadeojo/Development/react" it's loking for the preset one dir up instead of /Users/fadeojo/Development/react/nethan

I have a suspicion you might have a stray .babelrc file in one of the above directories.
If you do, delete it.
For example, make sure /Users/fadeojo/Development/react/.babelrc doesn't exist.

@gaearon you were right. This issue is resolved.

Let's reopen because ideally .babelrc in parent directories should be ignored.


Audience: Unexpected file found in package with V7.65.2+

This morning, when I pushed our metadata to an empty scratch-org, I got this error:
ERROR running force:source:push:  Unexpected file found in package directory: C:\Projects\SF\force-app\main\default\audience\Default_abc.audience-meta.xml
yesterday with the same metadata no problem.
When I rollback to sfdx-cli/7.63.0-c897e8bb1a win32-x64 node-v10.20.1 there is no problem
Steps To Reproduce:
sfdx force:source:push -u scrchorg
Expected result
no error and all metadata pushed correctly
Actual result
ERROR running force:source:push:  Unexpected file found in package directory: C:\Projects\SF\force-app\main\default\audience\Default_abc.audience-meta.xml
Additional information
SFDX CLI Version
sfdx-cli/7.65.2-0f0403b8cc win32-x64 node-v10.21.0
*SFDX plugin Version
@oclif/plugin-autocomplete 0.1.5 (core)
@oclif/plugin-commands 1.3.0 (core)
@oclif/plugin-help 3.0.1 (core)
@oclif/plugin-not-found 1.2.4 (core)
@oclif/plugin-plugins 1.7.10 (core)
@oclif/plugin-update 1.3.10 (core)
@oclif/plugin-warn-if-update-available 1.7.0 (core)
@oclif/plugin-which 1.0.3 (core)
@salesforce/sfdx-trust 3.0.7 (core)
analytics 1.12.0 (core)
generator 1.1.3 (core)
salesforcedx 48.22.1 (core)
├─ @salesforce/sfdx-plugin-lwc-test 0.1.5 (core)
├─ salesforcedx-templates 48.18.0 (core)
├─ custom-metadata 1.0.4 (core)
└─ salesforce-alm 48.23.0 (core)
sfdx-cli 7.65.2 (core)
OS and version:
Windows 10 - 1909
Edit:
Work number for reference @W-7853917@

We have the same issue,  also with audience files.  Fails with V7.65.2 but worked fine with earlier versions.  Deploying the audience files using  force:mdapi:deploy works fine.

Facing the same issue here. We have downgraded temporarily to version 7.63.0.
Type the following commands to uninstall the current version (taken from here):
sudo rm -rf /usr/local/sfdx
sudo rm -rf /usr/local/lib/sfdx
sudo rm -rf /usr/local/bin/sfdx
sudo rm -rf ~/.local/share/sfdx ~/.config/sfdx ~/.cache/sfdx
sudo rm -rf ~/Library/Caches/sfdx

And this one to install the v7.63.0:
sudo npm install<EMAIL_ADDRESS>--global

Hope that helps 👍

Seeing the same thing here. Adding entries to .forceignore for the audience metadata doesn't help.

I get the same error with the command:
sfdx force:source:convert -r force-app/main/default/ -d src/
Thanks for @arcsalesforce 👍  solution, it works for me.

The Audience type was removed from the CLI as a result of some breaking changes that were introduced as a result of the type being turned on. The Audience type owners have been notified and are currently working on a "known issues" doc for this type and will also begin working on a fix for this. The ETA on that fix is still unknown.
In the mean time, you should be able to get past the deploy issues by adding this to your .forceignore:
**/audience/Default_<your audience type name>.audience-meta.xml
On pull/retrieve, it will display the error message but should ultimately skip the audience type and pull the rest of the files properly.
mdapi:retrieve and deploy should also be viable options for this type in the meantime, but those haven't been fully validated.
Let me know if either doesn't work for you. Thanks for your patience!

I rolled back the salesforcedx plugin version from 48.22.x to 48.19.0 and that resolved this error (and several others I don't recall at the moment.)
Here are my versions:
salesforcedx 48.19.0 (48.19.0)
├─ salesforce-alm 48.20.0
├─ custom-metadata 1.0.7
├─ @salesforce/sfdx-plugin-lwc-test 0.1.5
└─ salesforcedx-templates 48.18.0
sfdx-cli 7.65.6 (core)

Hello, is there any update on this?

I have identified the root cause.
The metadataTypeInfos.json file located at sfdx\client\7.73.2-feef087df8\node_modules\salesforce-alm\metadata is missing a section for Audience.  If you add the missing data to the json file the audience information will deploy.
Here is what I think the missing data looks like:
"Audience": {
"metadataName": "Audience",
"isAddressable": true,
"isSourceTracked": true,
"ext": "audience",
"hasContent": false,
"defaultDirectory": "audience",
"nameForMsgs": "Audience",
"nameForMsgsPlural": "Audiences",
"contentIsBinary": false,
"hasStandardMembers": false,
"deleteSupported": true,
"decompositionConfig": {
"strategy": "nonDecomposed",
"workspaceStrategy": "nonDecomposed",
"commitStrategy": "fineGrainTracking",
"metadataName": "Audience",
"useSparseComposition": false,
"decompositions": [],
"contentStrategy": "nonDecomposedContent"
},
"hasVirtualSubtypes": false
},

I think I have identified the root cause.
The metadataTypeInfos.json file is missing the Audience information.
file is located at: sfdx\client\7.73.2-feef087df8\node_modules\salesforce-alm\metadata
If you add the following to the file the Audience information will transmit during deploy.
"Audience": {       "metadataName": "Audience",       "isAddressable": true,       "isSourceTracked": true,       "ext": "audience",       "hasContent": false,       "defaultDirectory": "audience",       "nameForMsgs": "Audience",       "nameForMsgsPlural": "Audiences",       "contentIsBinary": false,       "hasStandardMembers": false,       "deleteSupported": true,       "decompositionConfig": {         "strategy": "nonDecomposed",         "workspaceStrategy": "nonDecomposed",         "commitStrategy": "fineGrainTracking",         "metadataName": "Audience",         "useSparseComposition": false,         "decompositions": [],         "contentStrategy": "nonDecomposedContent"       },       "hasVirtualSubtypes": false     },

This is an annoying problem. I will try to check kgkjr solution!

@kgkjr -- Are there any other files that might need to be changed?  The solution that you proposed does not appear to work in the 7.75.1-5585088c75 client on MacOS.
@clairebianchi -- Is there any update that you can share on this one?

@kgkjr -- Are there any other files that might need to be changed? The solution that you proposed does not appear to work in the 7.75.1-5585088c75 client on MacOS.

I am unfamiliar with the MacOS SFDX CLI and have not used the 7.75 version yet, so unsure if something was changed in the structure.

@clairebianchi
Do we have any update on the status of this issue? Due to the Audience metadata type, this has to be a manual step for all the deployments and I am unable to automate its deployment.

Did some testing on windows SFDX CLI "Audience" doesn't work 7.65.0 onward till 7.83.0.

Did some testing on windows SFDX CLI "Audience" doesn't work 7.65.0 onward till 7.83.0.

I know how widespread and how frustrating this issue is. For whatever reason, we are getting big pushback from the team that owns this entity. It is less than ideal, but the best way to get Audience added is for everyone with the ability to file a support ticket to do so.

I know how widespread and how frustrating this issue is. For whatever reason, we are getting big pushback from the team that owns this entity. It is less than ideal, but the best way to get Audience added is for everyone with the ability to file a support ticket to do so.

...the best way to get Audience added is for everyone with the ability to file a support ticket to do so.

@amphro : Please elaborate: where are you talking about filing a support ticket?  Here on GitHub, directly with Salesforce, or ???

Tried raising a case with Salesforce Support.

Salesforce has different support departments and the question raised here falls within our Developer Support. Our records indicate that your account is entitled to Standard Support and therefore we need to direct you to our Developer Support forums where there is a wealth of information to assist you.

Gee, thanks Salesforce.
If you can find your metadataTypeInfos.json file, you can apply this patch file with the following command to get audience deployments working again. Not sure if the audience section has been removed from the metadataTypeInfos for a reason, but putting it back in works for me.
patch --forward --reject-file - --input "metadataTypeInfos.json.patch" "metadataTypeInfos.json"
NB: sometimes there's a metadataTypeInfos.json inside the .sfdx folder in your repo. Modifying this file doesn't seem to work for me. You've gotta find the file from the installed salesforce-alm node module that the sfdx command is using. Updating sfdx will mean you need to patch the metadataTypeInfos again.
From what I can tell, the metadataTypeInfos.json file simply tells sfdx how to decompose the monolithic xml retrieved from Salesforce's SOAP endpoints into multiple separate files (e.g. decomposing an object's metadata into fields, recordTypes, listViews, etc) and how to re-compose it again for a deployment. Given the audience section seems to specify that audience metadata is not decomposed, I highly doubt there's any downsides to adding the section back.

Is there any update on this issue? We are running into this issue with the latest version of the CLI on a Windows 10 environment.
We have tried updating the metadataTypeInfos.json with no luck. Any other workarounds besides using a metadata deploy and forceignorning audiences?

We are getting this error message when trying to do a pull from a scratch org:
ERROR running force:source:pull:  You can't retrieve the default audience.
Actually, two of my peers are getting that error quite consistently but I never get it. We checked out versions, plugins, etc and we found my computer shows these extensions which are not shown on their computers.
➜  ~ sfdx plugins
@oclif/plugin-autocomplete 0.3.0
@salesforce/lwc-dev-server 2.11.0
etcopydata 0.6.6-Beta (link) /Users/aperez/DO NOT BACKUP/GitProjects/ETCopyData
etgitter 0.0.0 (link) /Users/aperez/DO NOT BACKUP/GitProjects/Current/ETGitterRoot/etgitter
salesforcedx 52.0.0
├─ data 0.4.11
├─ apex 0.2.2
├─ templates 51.5.0
├─ custom-metadata 1.0.12
├─ @salesforce/sfdx-plugin-lwc-test 0.1.7
├─ limits 1.2.1
├─ schema 1.0.7
├─ org 1.6.6
├─ user 1.3.0
└─ salesforce-alm 52.0.0

I asked them to install the salesforcedx plugin, but they can't install it because it has been deprecated and is not installable anymore. So I ask them to install an old version of sfdx by first following the steps here #470 comment to completely remove sfdx and then install sudo npm install -g<EMAIL_ADDRESS>That version (7.87.0) retrieves the audience, but if we go back to the current version (7.127.0) the error comes back. I have asked one of my peers to do an sfdx plugins:install salesforcedx while on 7.87.0 before the update to 7.127.0 and see if it breaks again.

@eltoroit - If you are on a recent CLI version then you cannot have the salesforcedx plugin installed.  I would install the latest version of the CLI and make sure that plugin is not listed.  If it is, then run sfdx plugins:uninstall salesforcedx.  I believe the @salesforce/lwc-dev-server plugin is known to cause problems with CLI versions so you might want to try uninstalling that plugin as well.


Adapter and tool configuration schema

We currently have a zoo of configuration options:

Adapter or tool
Format

CalculiX adapter
yml

code_aster adapter
comm solver-specific

deal.II adapter
prm solver-specific

DUNE adapter
?

DuMuX adapter
?

FEniCS adapter
JSON

Nutils adapter
hard-coded

OpenFOAM adapter
dict solver-specific

SU2 adapter
hard-coded & command-line parser

ASTE
JSON

FMI runner
JSON

Micro manager
JSON

Some solver-specific solutions are quite meaningful. Other solutions reinvent the wheel. We have no standard and no schema yet. The latter could also enable quite some tooling support.
Example:
FEniCS adapter: precice-adapter-config.json
{
  "participant_name": "Solid",
  "config_file_name": "../precice-config.xml",
  "interface": {
      "coupling_mesh_name": "Solid-Mesh",
      "write_data_name": "Heat-Flux",
      "read_data_name": "Temperature",
      "interpolation_type": "rbf"
    }
}

FMI runner: precice-settings.json
{
    "coupling_params": {
        "participant_name": "Mass-Left",
        "config_file_name": "../precice-config.xml",
        "mesh_name": "Mass-Left-Mesh",
        "write_data_name": "Force-Left",
        "read_data_name": "Force-Right"
    }
}

ASTE replay:
{
  "participant": "Fluid",
  "startdt": "1",
  "meshes": [
    {
      "mesh": "Fluid-Mesh",
      "meshfileprefix": "./exported-meshes/Fluid-Mesh-Fluid",
      "read-data": {
        "vector": ["Displacement"]
      },
      "write-data": {
        "vector": ["Force"]
      }
    }
  ],
  "precice-config": "../precice-config.xml"
}

A schema could look like this (very first draft):
{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "type": "object",
  "properties": {
    "participant_name": {
      "type": "string",
      "description": "Name of the participant."
    },
    "config_file_name": {
      "type": "string",
      "description": "Path to the configuration file."
    },
    "interfaces": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "mesh_name": {
            "type": "string",
            "description": "Name of the mesh associated with this interface."
          },
          "write_data_names": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "List of data fields to be written on this mesh."
          },
          "read_data_names": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "List of data fields to be read on this mesh."
          }
        },
        "oneOf": [
          {
            "required": ["write_data_names"]
          },
          {
            "required": ["read_data_names"]
          }
        ],
        "required": ["mesh_name"]
      }
    }
  },
  "required": ["participant_name", "config_file_name", "interfaces"]
}

If we want to use something less verbose than JSON, we should strongly consider TOML.
Language support
Possible dealbreaker is that TOML doesn't feature a validation schema yet.

Just a side comment:

deal.II adapter 	prm solver-specific

while that's true, json format is also supported and available in deal.II.

@Logende This is the schema I just talked about. Could be an additional showcase for your thesis.

An initial step may be to unify the syntax of all configuration files.
There are tools that allow checking various formats against json schema files:
https://www.npmjs.com/package/pajv
There are also some format-specific toolkits that offer json schema validation:
https://taplo.tamasfe.dev/

Some solver-specific solutions are quite meaningful. Other solutions reinvent the wheel. We have no standard and no schema yet. The latter could also enable quite some tooling support.

An initial step may be to unify the syntax of all configuration files.

I think we first need to agree on whether we want to enforce every adapter to use the same configuration file format, even in the case the solver-specific solution makes sense.
History:

We tried this in 2016/2017 with Lucia's thesis. This is why the CalculiX adapter still has a YAML-based file: we wanted to enforce all adapters to have the same format, to be able to prepare the files automatically.
In the OpenFOAM adapter, we switched to an OpenFOAM dictionary for two reasons:

A technical reason: It was tricky to get a compatible combination of yaml-cpp and OpenFOAM, as they were linking to different std::string ABI (pre- and post-C++11). This specific reason should not hold today, but we anyway wanted to reduce dependencies.
A usability reason: Users had to write one config in XML, another in YAML, and then also in the formats of each solver. We thought that if adapters are native to the solver, then it should be easier, because users anyway need to know or learn the config formats of each solver.

In some adapters where no standard was common (e.g., FEniCS), we started with JSON, because this is one of the established machine-readable data-exchange formats. Not particularly ergonomic for writing (as a user, I would prefer writing YAML/TOML), I would argue, but that's irrelevant.

In the proposal, we also don't really specify the enforcement:

Finally, we want to take advantage of the standardization process of work package WP2 to also generate standard adapter configurations for all coupled participants, in case a standard is not already in place (e.g., for the OpenFOAM adapter, see WP2).

I think that:

Yes, having a standard helps tooling (both tools that will need to write these files).
Having a standard could also help validating the files with our own tools (but maybe not let the solvers validate the files based on their knowledge).
We need to choose this standard carefully, and not only based on what most adapters are already using.
The arguments for solver-native files are weak, provided that all adapters can actually read the established format without issues. We should do a thorough check first for the suitability for each adapter.
Tooling could generate solver-specific files. But of course, we would need to maintain these tools. In the end, it is a matter of where we handle the maintenance: in these tools, or in the adapters.

Going one step further, I still think that many (not all) of the options we currently provide via adapter configurations could be sourced from the preCICE configuration file, see the older issue https://github.com/precice/precice/issues/474.

If you give ChatGPT the schema and the OpenFOAM config, it can convert to JSON:
{
  "participant_name": "Fluid",
  "config_file_name": "precice-config.xml",
  "interfaces": [
    {
      "mesh_name": "Fluid-Mesh",
      "patches": [
        "interface"
      ],
      "location": "faceCenters",
      "read_data_names": [
        "Heat-Flux"
      ],
      "write_data_names": [
        "Temperature"
      ]
    }
  ]
}


Private endpoint configuration can't pick up existing private DNS zone.

I am working on a POC of the private endpoint.  I tried to create it in one vnet already linked to a private zone with registration enabled, but the UI doesn't give me option to pick the existing private zone.
The private DNS zone for storage account won't be useful if I can't use the private DNS zone setup for VMs.
Do we have plan to support existing private DNS zone?

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

ID: 1d6cc016-6c8f-81d7-3b5b-edce932294cf
Version Independent ID: 619d6b5e-ea75-61dd-5ef4-f653f9822cb8
Content: Use private endpoints - Azure Storage
Content Source: articles/storage/common/storage-private-endpoints.md
Service: storage
Sub-service: common
GitHub Login: @santoshc
Microsoft Alias: santoshc

@jackchenquest  Thank you for your query, our team will further look into it and get back to you at the earliest.

@jackchenquest The underlying API already supports using existing private DNS zones, my assumption is that you had an issue using portal across subscriptions, we have an improvement coming very soon to allow users to select a different subscriptions than the one from Private Endpoint/VNet.
I would suggest to use PS or CLI examples to configure the DNS until the portal support is available.
We will now proceed to close this thread. If there are further questions regarding this matter, please tag me in your reply. We will gladly continue the discussion and we will reopen the issue.

I am not sure if we are talking about the same feature. I would like to be able to register a storage account private endpoint with my own domain, but currently the only option is ".file.core.windows.net" .
I can add a new private endpoint from "storage account" -> "private endpoint connections" , but the only option for "Private DNS zone" is privatelink.file.core.windows.net :

I tried to use cli but also couldn't do it, there are two command I found relavent:

"az storage account private-endpoint-connection" . This command can only approve a connection, can't create one.

"az network private-endpoint create" or "az network private-endpoint update" .  This command provide same function as the UI, I can create a private endpoint like

az network private-endpoint create -g rg-ops -n pv5 --subnet /subscriptions//resourceGroups/rg-vn240-64/providers/Microsoft.Network/virtualNetworks/vn240-64/subnets/sub-vm1
--private-connection-resource-id /subscriptions//resourceGroups/rg-ops/providers/Microsoft.Storage/storageAccounts/saprivateshare
--manual-request false --connection-name conn-pv5 --group-ids file
But there isn't any option to configure the "Private DNS zone" .
Could you please point me which CLI command can setup a storage account private endpoint with existing private DNS zone?
Thanks,
Jack

the help message shows:

We don't want to forward "file.core.windows.net" to Azure DNS since this is also a valid public domain.
We already have private DNS setup in multiple VNets like vn240-64.azure.cloud , so if the storage account can use existing DNS and register a domain like [mysharename].vn240-64.azure.cloud , it will work just like VM DNS.

I would also like this feature, not all companies can easily modify their existing DNS to resolve other domains. Having an endpoint on a storage account like mystoraceaccountname.mycompany.internal would be a must have. Is any ETA on this feature being available?

@jackchenquest @markthebault
Unfortunately majority of the services we are integrating with Private Link don’t support the ability to specify custom domains and certificates for customer instances, complete details on how to configure DNS is here:
https://docs.microsoft.com/en-us/azure/private-link/private-endpoint-overview#dns-configuration
This is a common feedback we are getting on Private Link for a given PaaS resource, I would recommend you to  leave your feedback here. All the feedback you share in these forums will be monitored and reviewed by the Microsoft engineering teams responsible for building Azure.

@jackchenquest We will now proceed to close this thread. If there are further questions regarding this matter, please tag me in your reply. We will gladly continue the discussion and we will reopen the issue.


fix(kpagination): use more specific css classes

Summary

Vue 3
Did you create a corresponding PR to add this change to the beta branch? (required)

[ ] Yes, here is a link to the PR: [link to beta branch PR]
[ ] No, I did not create a PR for the beta branch and I have added the port to beta branch tag to this PR.
[ ] No, because [type your reasons]

If you have questions, tag @adamdehaven or @kaiarrowood.

PR Checklist

[ ] Does not introduce dependencies
[ ] Functional: all changes do not break existing APIs and if so, bump major version.
[ ] Tests pass: check the output of yarn test packages/
[ ] Naming: the files and the method and prop variables use the same naming conventions as other Kongponents
[ ] Framework style: abides by the essential rules in Vue's style guide
[ ] Cleanliness: does not have formatting issues, unused code (e.g., console.logs), or leftover comments
[ ] Docs: includes a technically accurate README, uses JSDOC where appropriate

Can these changes be ported to beta as well?

Yes I have a number of follow-up changes I need to add to my beta branch PR, this will be included too.


Allow_download does not download -- js error

Hello,
As stated, the allow_download functionality does not work. Functionally, the allow_download parameter works and the Download button appears next to the chart, but it fails to download. A screenshot of the error in the js console of chrome is posted below:
I think the offenders are probably:
Access to script at 'https://datacrayon.com/assets/chord/download/d3-save-svg.js' from origin 'null' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.
And
Uncaught ReferenceError: to_svg is not defined
As I did successfully set my username for the package, and have not hit the request limit, I suspect my credentials on the library are set successfully.
The plot successfully builds and displays so I am able to take a screenshot, so this error is not the end of the world.
This is on:
Chord v3 (I think)
Windows 10

Hello @csaund
Thanks for sending this through. It's an experimental and quite temperamental feature because each browser handles it differently, and with the (justifiable) increase in browser security over time, I may have to remove it.
In anticipation of this I created the new output methods available here https://datacrayon.com/posts/statistics/data-is-beautiful/chord-pro-features-for-chord-diagrams/#Outputs-Methods
As well as
Chord(matrix, names).show()
and
Chord(matrix, names).to_html('out.html')
we now have
Chord(matrix, names).show_png()
and
Chord(matrix, names).to_png('out.png')
I'll let you know the outcome of my time on this - perhaps I can fix it again, or I retire it!

Hello @csaund!
I've had some time to work on this. Can you test it and see if it works?

Please let me know if you encounter it again! Closing for now.


fix openweave issue 188

https://github.com/jenniexie/openweave-core/pull/new/fix_issue_188
Based on Travis CI team's feedback, I regenerated secret key for openweave/openweave-core repo:
jexie@jexie0:~/github/openweave-core$ travis setup gcs -r openweave/openweave-core
Access key ID: GOOGNPZYTVTEPZM5VBRAVVUU
Secret access key: *****************************************
Bucket: openweave
Local project directory to upload (Optional):
Encrypt secret access key? |yes| yes
Deploy only from openweave/openweave-core? |yes| yes

Codecov Report

Merging #197 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #197   +/-   ##
=======================================
  Coverage   54.28%   54.28%
=======================================
  Files         330      330
  Lines       56264    56264
=======================================
  Hits        30542    30542
  Misses      25722    25722

Continue to review full report at Codecov.

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


Manually run update-ca-certificates to update the certificates

Change-type: patch
Signed-off-by: Trong Nghia Nguyen<EMAIL_ADDRESS>

@balena-ci I self-certify!


Works on board version SDK0J40697

Just letting you know that it also works for my computer with the board version SDK0J40697 WIN    as reported by /sys/class/dmi/id/board_version.

Hi, thanks for letting me know. Will add your board version today in my spare time.


drivers: flash: mcux_flexspi_nor: Remove flash reads while programming

Care must be taken to avoid any flash access while programming the flash attached to the FlexSPI either via executing XIP code or reading RO data.
Remove locations where a constant device pointer might be dereferenced within the mcux_flexspi_nor driver, to help avoid RWW hazards.
Fixes #64702

@danieldegrasse should this get backported as well?

@danieldegrasse should this get backported as well?

Sure, I'll tag it for backporting


[WIP] PBI-7-8: Teacher & Student Can See People In Class

Add static test and implement static page for people in class feature

don't forget to resolve conflicts first uwu

LGTM! GGs enjoy your 2.5 hrs of weekend!


react__WEBPACK_IMPORTED_MODULE_0__.createContext is not a function in Next.js 14.2.3

Check that this is really a bug

[X] I confirm

Reproduction link
https://codesandbox.io/p/sandbox/nice-smoke-zs3cqt
Bug description
⨯ TypeError: (0 , react__WEBPACK_IMPORTED_MODULE_0__.createContext) is not a function
at webpack_require (C:\GitHub\bnfc.cc.next\server\webpack-runtime.js:33:42)
at eval (./src/app/page.tsx:14:70)
at (rsc)/./src/app/page.tsx (C:\GitHub\bnfc.cc.next\server\app\page.js:234:1)
at Function.webpack_require (C:\GitHub\bnfc.cc.next\server\webpack-runtime.js:33:42)
at async Promise.all (index 0)
digest: "235361954"
⨯ TypeError: (0 , react__WEBPACK_IMPORTED_MODULE_0__.createContext) is not a function
at webpack_require (C:\GitHub\bnfc.cc.next\server\webpack-runtime.js:33:42)
at eval (./src/app/page.tsx:14:70)
at (rsc)/./src/app/page.tsx (C:\GitHub\bnfc.cc.next\server\app\page.js:234:1)
at Function.webpack_require (C:\GitHub\bnfc.cc.next\server\webpack-runtime.js:33:42)
at async Promise.all (index 0)
digest: "235361954"
⨯ TypeError: (0 , react__WEBPACK_IMPORTED_MODULE_0__.createContext) is not a function
at webpack_require (C:\GitHub\bnfc.cc.next\server\webpack-runtime.js:33:42)
at eval (./src/app/page.tsx:14:70)
at (rsc)/./src/app/page.tsx (C:\GitHub\bnfc.cc.next\server\app\page.js:234:1)
at Function.webpack_require (C:\GitHub\bnfc.cc.next\server\webpack-runtime.js:33:42)
digest: "4277508139"
TypeError: (0 , react__WEBPACK_IMPORTED_MODULE_0__.createContext) is not a function
at eval (webpack-internal:///(rsc)/./node_modules/swiper/swiper-react.mjs:132:93)
at (rsc)/./node_modules/swiper/swiper-react.mjs (C:\GitHub\bnfc.cc.next\server\vendor-chunks\swiper.js:70:1)
at webpack_require (C:\GitHub\bnfc.cc.next\server\webpack-runtime.js:33:42)
at eval (webpack-internal:///(rsc)/./src/app/page.tsx:14:70)
at (rsc)/./src/app/page.tsx (C:\GitHub\bnfc.cc.next\server\app\page.js:234:1)
at Function.webpack_require (C:\GitHub\bnfc.cc.next\server\webpack-runtime.js:33:42)
at async e9 (C:\GitHub\bnfc.cc\node_modules\next\dist\compiled\next-server\app-page.runtime.dev.js:35:396554)
at async tb (C:\GitHub\bnfc.cc\node_modules\next\dist\compiled\next-server\app-page.runtime.dev.js:35:400212)
at async tS (C:\GitHub\bnfc.cc\node_modules\next\dist\compiled\next-server\app-page.runtime.dev.js:35:400773)
at async tS (C:\GitHub\bnfc.cc\node_modules\next\dist\compiled\next-server\app-page.runtime.dev.js:35:400904)
at async tR (C:\GitHub\bnfc.cc\node_modules\next\dist\compiled\next-server\app-page.runtime.dev.js:36:2130)
at async C:\GitHub\bnfc.cc\node_modules\next\dist\compiled\next-server\app-page.runtime.dev.js:36:2722 {
digest: '4277508139'
}
⨯ TypeError: (0 , react__WEBPACK_IMPORTED_MODULE_0__.createContext) is not a function
at eval (webpack-internal:///(rsc)/./node_modules/swiper/swiper-react.mjs:132:93)
at (rsc)/./node_modules/swiper/swiper-react.mjs (C:\GitHub\bnfc.cc.next\server\vendor-chunks\swiper.js:70:1)
at webpack_require (C:\GitHub\bnfc.cc.next\server\webpack-runtime.js:33:42)
at eval (webpack-internal:///(rsc)/./src/app/page.tsx:14:70)
at (rsc)/./src/app/page.tsx (C:\GitHub\bnfc.cc.next\server\app\page.js:234:1)
at Function.webpack_require (C:\GitHub\bnfc.cc.next\server\webpack-runtime.js:33:42)
at async e9 (C:\GitHub\bnfc.cc\node_modules\next\dist\compiled\next-server\app-page.runtime.dev.js:35:396554)
at async tb (C:\GitHub\bnfc.cc\node_modules\next\dist\compiled\next-server\app-page.runtime.dev.js:35:400212)
at async tS (C:\GitHub\bnfc.cc\node_modules\next\dist\compiled\next-server\app-page.runtime.dev.js:35:400773)
at async tS (C:\GitHub\bnfc.cc\node_modules\next\dist\compiled\next-server\app-page.runtime.dev.js:35:400904)
at async tR (C:\GitHub\bnfc.cc\node_modules\next\dist\compiled\next-server\app-page.runtime.dev.js:36:2130)
at async C:\GitHub\bnfc.cc\node_modules\next\dist\compiled\next-server\app-page.runtime.dev.js:36:2722 {
digest: '4277508139',
page: '/'
}
GET /next/static/webpack/1e38f2a671d659d9.webpack.hot-update.json 404 in 719ms
⨯ TypeError: (0 , react__WEBPACK_IMPORTED_MODULE_0_.createContext) is not a function
at webpack_require (C:\GitHub\bnfc.cc.next\server\webpack-runtime.js:33:42)
at eval (./src/app/page.tsx:14:70)
at (rsc)/./src/app/page.tsx (C:\GitHub\bnfc.cc.next\server\app\page.js:234:1)
at Function.webpack_require (C:\GitHub\bnfc.cc.next\server\webpack-runtime.js:33:42)
at async Promise.all (index 0)
digest: "80749292"
⨯ TypeError: (0 , react__WEBPACK_IMPORTED_MODULE_0__.createContext) is not a function
at webpack_require (C:\GitHub\bnfc.cc.next\server\webpack-runtime.js:33:42)
at eval (./src/app/page.tsx:14:70)
at (rsc)/./src/app/page.tsx (C:\GitHub\bnfc.cc.next\server\app\page.js:234:1)
at Function.webpack_require (C:\GitHub\bnfc.cc.next\server\webpack-runtime.js:33:42)
at async Promise.all (index 0)
digest: "80749292"
⨯ TypeError: (0 , react__WEBPACK_IMPORTED_MODULE_0__.createContext) is not a function
at webpack_require (C:\GitHub\bnfc.cc.next\server\webpack-runtime.js:33:42)
at eval (./src/app/page.tsx:14:70)
at (rsc)/./src/app/page.tsx (C:\GitHub\bnfc.cc.next\server\app\page.js:234:1)
at Function.webpack_require (C:\GitHub\bnfc.cc.next\server\webpack-runtime.js:33:42)
digest: "4277508139"
TypeError: (0 , react__WEBPACK_IMPORTED_MODULE_0__.createContext) is not a function
at eval (webpack-internal:///(rsc)/./node_modules/swiper/swiper-react.mjs:132:93)
at (rsc)/./node_modules/swiper/swiper-react.mjs (C:\GitHub\bnfc.cc.next\server\vendor-chunks\swiper.js:70:1)
at webpack_require (C:\GitHub\bnfc.cc.next\server\webpack-runtime.js:33:42)
at eval (webpack-internal:///(rsc)/./src/app/page.tsx:14:70)
at (rsc)/./src/app/page.tsx (C:\GitHub\bnfc.cc.next\server\app\page.js:234:1)
at Function.webpack_require (C:\GitHub\bnfc.cc.next\server\webpack-runtime.js:33:42)
at async e9 (C:\GitHub\bnfc.cc\node_modules\next\dist\compiled\next-server\app-page.runtime.dev.js:35:396554)
at async tb (C:\GitHub\bnfc.cc\node_modules\next\dist\compiled\next-server\app-page.runtime.dev.js:35:400212)
at async tS (C:\GitHub\bnfc.cc\node_modules\next\dist\compiled\next-server\app-page.runtime.dev.js:35:400773)
at async tS (C:\GitHub\bnfc.cc\node_modules\next\dist\compiled\next-server\app-page.runtime.dev.js:35:400904)
at async tR (C:\GitHub\bnfc.cc\node_modules\next\dist\compiled\next-server\app-page.runtime.dev.js:36:2130)
at async C:\GitHub\bnfc.cc\node_modules\next\dist\compiled\next-server\app-page.runtime.dev.js:36:2722 {
digest: '4277508139'
}
⨯ TypeError: (0 , react__WEBPACK_IMPORTED_MODULE_0__.createContext) is not a function
at eval (webpack-internal:///(rsc)/./node_modules/swiper/swiper-react.mjs:132:93)
at (rsc)/./node_modules/swiper/swiper-react.mjs (C:\GitHub\bnfc.cc.next\server\vendor-chunks\swiper.js:70:1)
at webpack_require (C:\GitHub\bnfc.cc.next\server\webpack-runtime.js:33:42)
at eval (webpack-internal:///(rsc)/./src/app/page.tsx:14:70)
at (rsc)/./src/app/page.tsx (C:\GitHub\bnfc.cc.next\server\app\page.js:234:1)
at Function.webpack_require (C:\GitHub\bnfc.cc.next\server\webpack-runtime.js:33:42)
at async e9 (C:\GitHub\bnfc.cc\node_modules\next\dist\compiled\next-server\app-page.runtime.dev.js:35:396554)
at async tb (C:\GitHub\bnfc.cc\node_modules\next\dist\compiled\next-server\app-page.runtime.dev.js:35:400212)
at async tS (C:\GitHub\bnfc.cc\node_modules\next\dist\compiled\next-server\app-page.runtime.dev.js:35:400773)
at async tS (C:\GitHub\bnfc.cc\node_modules\next\dist\compiled\next-server\app-page.runtime.dev.js:35:400904)
at async tR (C:\GitHub\bnfc.cc\node_modules\next\dist\compiled\next-server\app-page.runtime.dev.js:36:2130)
at async C:\GitHub\bnfc.cc\node_modules\next\dist\compiled\next-server\app-page.runtime.dev.js:36:2722 {
digest: '4277508139',
page: '/'
}
Expected Behavior
Slider shows
Actual Behavior
Slider errors
Swiper version
11.1.4
Platform/Target and Browser Versions
Chrome
Validations

[X] Follow our Code of Conduct
[X] Read the docs.
[X] Check that there isn't already an issue that request the same feature to avoid creating a duplicate.
[X] Make sure this is a Swiper issue and not a framework-specific issue

Would you like to open a PR for this bug?

[ ] I'm willing to open a PR

Your issue is closed because it is not filled correctly. Before you open an issue please review the contributing guideline.
Please fill the issue template correctly and:

Clearly describe the issue including steps to reproduce when it is a bug.
Make sure you fill in the earliest version that you know has the issue.
Provide live link or JSFiddle/Codepen or website with isssue

It will save a lot of time for other contributors to check your issue and fix it.

You have in a reproduction site link a website with a bug

I am facing the same issue @nolimits4web

Clearly describe the issue including steps to reproduce when it is a bug.

The app doesn't load after following the instructions on the website

Make sure you fill in the earliest version that you know has the issue.

11.0.6

Provide live link or JSFiddle/Codepen or website with isssue

https://codesandbox.io/p/devbox/nice-smoke-zs3cqt
Can you reopen this issue now?

I am facing the same issue @nolimits4web

Clearly describe the issue including steps to reproduce when it is a bug.

The app doesn't load after following the instructions on the website

Make sure you fill in the earliest version that you know has the issue.

11.0.6

Provide live link or JSFiddle/Codepen or website with isssue

https://codesandbox.io/p/devbox/nice-smoke-zs3cqt
Can you reopen this issue now?

Add:

"use client"
import 'swiper/css'

That will fix the issue


UML-634 Inactive attorney journey

Purpose
Prevents inactive attorneys from viewing/accessing an LPA they have previously added to their account.
Fixes UML-634
Approach
It checks systemStatus on the actor returned by the API. On the dashboard view this shows as options being greyed out, I've also made it so that directly navigating to the pages which allow you to create/check/view stuff will 404.
Learning
Any tips and tricks, blog posts or tools which helped you. Plus anything notable you've discovered about the Refunds service
Checklist

[ ] I have performed a self-review of my own code
[ ] I have added relevant logging with appropriate levels to my code
[ ] I have updated documentation (Confluence/GitHub wiki/tech debt doc) where relevant
[ ] I have added tests to prove my work
[ ] The product team have tested these changes

Coverage decreased (-0.1%) to 75.943% when pulling fe69e230513ba5827b446d71c8758376356ce0c9 on UML-634-inactive-attorney-journey into 56d744e4f571d7e1ba3768a3e62ccc9b48301a5d on master.


Infinite durability issues with old scrolls from before the 1.21 update.

Old scrolls before the update are experiencing issues where the durability will only go down by 1, but they will stay at that level forever. They won't break and when the user logs out and back in, the durability is being set back to maximum. The console is showing [vane-core] Updated item durability vane_trifles:home_scroll when this happens. Any ideas what's going on?

Also happens on opening scrolls in an enderchest. Something is failing in the vane/vane-core/src/main/java/org/oddlama/vane/core/item/ExistingItemConverter.java script in the process_inventory function.

Yes you are right, the old values seem to be persisted after converting to the new vanilla durability system. And then they are converted each time which resets the durability to the old value.
Thanks for noticing, will be fixed in the next release (when PaperMC releases a stable 1.21.3 in the coming days) :)


Fix envoy integration test

What does this PR do?

Fix envoy integration test
Motivation

---------------------------- Captured stdout setup -----------------------------
Step 1/6 : FROM gcr.io/istio-testing/go-control-plane-ci:08-20-2019
 ---> b0050d42e594
Step 2/6 : RUN go get github.com/envoyproxy/go-control-plane/envoy/api/v2
 ---> Using cache
 ---> 6c6fc37b5ca4
Step 3/6 : RUN go get github.com/census-instrumentation/opencensus-proto/gen-go/trace/v1
 ---> Using cache
 ---> 26e1b204e232
Step 4/6 : COPY controlplane.go /go-control-plane/controlplane.go
 ---> Using cache
 ---> b79bc0919a9c
Step 5/6 : RUN go build
 ---> Running in ac1f6ebb2f4e
# _/go-control-plane
./controlplane.go:55:23: undefined: cache.Resource

https://dev.azure.com/datadoghq/integrations-core/_build/results?buildId=11240&view=logs&j=5e7fd8a3-b132-5246-3e9c-553f252343b6&t=d902c9d7-22a7-5fac-5c7d-d0e58fc42b68&l=341
Additional Notes

Review checklist (to be filled by reviewers)

[ ] Feature or bugfix MUST have appropriate tests (unit, integration, e2e)
[ ] PR title must be written as a CHANGELOG entry (see why)
[ ] Files changes must correspond to the primary purpose of the PR as described in the title (small unrelated changes should have their own PR)
[ ] PR must have changelog/ and integration/ labels attached

Now e2e tests are broken


Make sure auto_discover is set before installing packages

I may be totally wrong here, but shouldn't this be set up before the packages are installed?
For me, package installation fails (on a completely fresh box) with the hint to use "pear channel-discover pear...." to initialize or pear config-set auto_discover 1".

We don't really use pear, so we didn't stumble on this. Looks good. :+1:

"Legacy", you know... What is your policy for tagging new releases?

Right now our focus is to add some more possibly breaking changes for 4.0.0, some of which are already in the current master branch. As this is actually a bug fix it would make sense to release a new point release which is probably what you're asking for? :panda_face:

Oh wait – I'll have to check whether puppet-librarian is working with the current master or a stable release :-)

Just checked that. As I also need the #124 feature (which is on master) I'll stick with that and wait for the official 4.0.0.
Thanks!


Yuv color gamut conversion and transformYuv420 using Risc-V Vector

This PR is a mirror relative to #124, with the same content implemented using RVV.
Testing under Riscv32 and Riscv64

Command:
(base)  build (rvv_test) ✗ qemu-riscv64 -cpu rv64,v=true,vlen=128,vext_spec=v1.0 -L /usr/riscv64-linux-gnu/ ./ultrahdr_unit_test --gtest_filter=GainMapMathTest.TransformYuv420Rvv
Running main() from /home/lhp/libultrahdr/third_party/googletest/googletest/src/gtest_main.cc
Note: Google Test filter = GainMapMathTest.TransformYuv420Rvv
[==========] Running 1 test from 1 test suite.
[----------] Global test environment set-up.
[----------] 1 test from GainMapMathTest
[ RUN      ] GainMapMathTest.TransformYuv420Rvv
[       OK ] GainMapMathTest.TransformYuv420Rvv (5 ms)
[----------] 1 test from GainMapMathTest (10 ms total)

[----------] Global test environment tear-down
[==========] 1 test from 1 test suite ran. (15 ms total)
[  PASSED  ] 1 test.
(base)  build (rvv_test) ✗ cd ../build32
(base)  build32 (rvv_test) ✗ qemu-riscv32 -cpu rv32,v=true,vlen=128,vext_spec=v1.0 ./ultrahdr_unit_test --gtest_filter=GainMapMathTest.TransformYuv420Rvv
Running main() from /home/lhp/libultrahdr/third_party/googletest/googletest/src/gtest_main.cc
Note: Google Test filter = GainMapMathTest.TransformYuv420Rvv
[==========] Running 1 test from 1 test suite.
[----------] Global test environment set-up.
[----------] 1 test from GainMapMathTest
[ RUN      ] GainMapMathTest.TransformYuv420Rvv
[       OK ] GainMapMathTest.TransformYuv420Rvv (5 ms)
[----------] 1 test from GainMapMathTest (8 ms total)

[----------] Global test environment tear-down
[==========] 1 test from 1 test suite ran. (12 ms total)
[  PASSED  ] 1 test.

!!!!!!
------------------------------------------------Note------------------------------------------------
It should be noted that in some cases, the error of y is 2:

So this is the only difference compared to #124 (only y)
        EXPECT_NEAR(expect_y1, out1.y, 2);
        EXPECT_NEAR(expect_y2, out2.y, 2);
        EXPECT_NEAR(expect_y3, out3.y, 2);
        EXPECT_NEAR(expect_y4, out4.y, 2);

considerable amount of code seems to be duplicated across archs. for instance weights used in conversion, they can be moved to common place and reused. Also, please wait on further development as we working on some refactoring which may effect some of the changes you are making.

@ram-mohan Hi, I am preparing to port other functions. Is my code structure suitable in the current situation?


actions-oidc-gateway-example repo access for the newly named Frameworks and Containers team

The Frameworks for Services team has been renamed Frameworks and Containers. See https://github.com/github/engineering/discussions/2454.
The existing https://github.com/orgs/github/teams/frameworks-services team has write permissions to the actions-oidc-gateway-example repo, and we'd like to request the same write permissions for the new https://github.com/orgs/github/teams/frameworks-containers team so that when we archive the old team we won't lose access to any repos.

Not sure we need write access to this anymore, so closing for now.


Random image on each page load

Hi!
How to random jcarousel items on each page load?
Thanks!

One more question...
How to stop scrolling on mouse hover?
Thanks!

This should be the task of the datasource form where the items areloaded.
http://sorgalla.com/projects/jcarousel/examples/static_auto.html

Sorry, didn't get it.

I have such code: {banners} , where {banners} are 4-5 items like:
One after another. Is it possible to random those items in jcarousel? I so this feature on some site - jquery.innerfade.js Like: type: 'random_start' And all items mixed each time page loaded.

Thank you very much!

Its not possible to randomize items in jCarousel. This must be done in the code which generates {banners}.

Thank you!


New release breaks delete! functionnality

Hi, I have a code that creates a couple of buttons then deletes them:
layout[3, 1] = subl_buttons = GridLayout(tellwidth = false)
axButtonOK = subl_buttons[1, 1] = LButton(scene, label = "Validate")
axButtonCancel = subl_buttons[1, 2] = LButton(scene, label = "Cancel")

then later
delete!(axButtonOK)
delete!(axButtonCancel)

This code was working fine but a recent release broke it, the error is:
ERROR: MethodError: no method matching hasfield(::Type{AbstractPlotting.MakieLayout.LButton}, ::Symbol)
You may have intended to import Base.hasfield
Stacktrace:
 [1] delete!(lobject::AbstractPlotting.MakieLayout.LButton)
   @ AbstractPlotting.MakieLayout ~/.julia/packages/AbstractPlotting/JCbJs/src/makielayout/helpers.jl:322

I suspect the issue is due to the following commit: https://github.com/JuliaPlots/AbstractPlotting.jl/commit/6ef45c0b574b22cd2746cf45f142b135a485b5be#diff-3920d00b3452f7c605be39dd84181f873d23ce4e079a243eca56597ba42c97c3
and more specifically this line:
@generated hasfield(x::T, ::Val{key}) where {T<:Layoutable, key} = :($(key in fieldnames(T)))
Thanks!

related: https://github.com/JuliaPlots/AbstractPlotting.jl/pull/535 (not sure that PR helps here since it was a different line)

Yes this solves the issue!
Could you please merge the PR?
Thanks!


Helix jobs timing out

Helix jobs are timing out across multiple repos. Example: https://dev.azure.com/dnceng-public/public/_build/results?buildId=506787&view=results. The helix API claims that the jobs are finished, so it could be a reporting issue: https://helix.dot.net/api/jobs/6bbc85b2-8868-4d13-a050-5d59a897c2d7/workitems?api-version=2019-06-17
Other build: https://github.com/dotnet/arcade-validation/pull/4102

Release Note Category

[ ] Feature changes/additions
[ ] Bug fixes
[ ] Internal Infrastructure Improvements

Release Note Description

This is blocking PRs like https://github.com/dotnet/arcade/pull/14320 to get in.

While this one just got merged in, see https://github.com/dotnet/arcade/pull/14327 or any other recent PR. Especially, see the AzDO builds per commit. All of them failed because of the Helix time out.

FYI, all ASP.NET PRs are currently blocked. Including cross repos dependency flow. I would expect someone to be able to look into this, is there a channel we can reach to raise the issue?

This is affecting a bunch of code flow PRs in dotnet/sdk as well like:
https://github.com/dotnet/sdk/pull/37675

I've tried rerunning a few. Will see if that works.

This was discussed in Teams and looks like everything is back to normal, feel free to reopen if is not the case

This was discussed in Teams and looks like everything is back to normal, feel free to reopen if is not the case

This week's code flow PRs passed CI checks as desired 👍


Remove index.html with resource replacement

Description
Remove index.html with resource replacement.
Dokka should generate all necessary files for documentation.
index.html file in gradle task is copied and overwrites the dokka generated index.html file; and points to audioswitch/index.html which does not exist. This causes documentation link issues in github pages.
Breakdown

Remove index.html file
Remove scripts of index.html file copy in gradle docs publishing task

Validation

[Bulleted summary of validation steps]
[eg. Add new unit tests to validate changes]
[eg. Verified all CI checks pass on the feature branch]

Additional Notes
[Any additional comments, notes, or information relevant to reviewers.]
Submission Checklist

[ ] The source has been evaluated for semantic versioning changes and are reflected in gradle.properties
[ ] The CHANGELOG.md reflects any feature, bug fixes, or known issues made in the source code

Two things...

I'm still not seeing the docs at https://twilio.github.io/audioswitch/
What is going on with the integration tests, I know you had just fixed it, now its failing again.

Here is the PR for the docs issue - https://github.com/twilio/audioswitch/pull/141
I've updated the list of FTL devices for the test runs looks like one of the Pixel devices has some issues.


[BREAK THROUGH] : changing the ui of the website

✏ Description
the website looks very basic , the ui can be updated with content cards
📸 Screenshots

i would like to work on this

:heart_eyes: yeah go for it


[Question] Empty frame in dealer / router example

Hello all, I am not sure whether this is a good place to ask question. Let me know if there is a better place to ask...
I am confused about the DEALER / ROUTER implementation here and example in ZMQ document. According to the ZMQ document, Dealer and router example, there are 3 frames for a message envelop, which are ID, EMPTY FRAME, and DATA FRAME. PYZMQ example, however, does not contains the empty frame concept.
As first, I guess the empty frame is embedded internally through the API. I try to pick a C example from zguide as a server, and a mimic a dummy DEALER example as below:
import zmq
import sys

if len(sys.argv) != 4:
    print 'Usage: dumb_dealer_client IP PORT MSG'
    sys.exit(1)

ip = sys.argv[1]
port = sys.argv[2]
msg = sys.argv[3]

context = zmq.Context()
socket = context.socket(zmq.DEALER)
# socket.set(getattr(zmq, 'REQ_CORRELATE'), 0)
socket.identity = b'dumb_client'

endpoint = "tcp://%s:%s" % (ip, port)
socket.connect(endpoint)
print 'Go to %s' % endpoint

# This statement works with C example
# socket.send_multipart(['', msg])

# This statement does not work with C example
# socket.send(msg)
empty = socket.recv()
print 'Received empty from server: |%s|' % empty
reply = socket.recv()
print 'Received msg from server: |%s|' % reply

It turns out that I need to explicitly specify socket.send_multipart(['', msg]) in order to create a 3 frames message.
Finally, my question is which implementation I should conform to? Do I miss anything? Thanks for your time.

I'm new to ZeroMQ, so correct me if I mistake something here.
I've tried using REQ to connect ROUTER and there's an empty frame in between when call send().
So my question is: Is the empty frame a fixed part of the protocol between the socket type (eg: REQ to REP / REQ to ROUTER) ? If so, will this difference make pyzmq unable to communicate with other ports of ZeroMQ?

As the answer from Min RK, such empty frame can be omitted as long as both
server and client know what to do. That's is as long as you are able to
control both endpoint, you own the protocol. Then, empty frame is an
optional decision from you although it is recommended from the ZMQ guide.
For your concerns on communications between different zmq language binding,
this is irrelevant to the empty frame design. Language binding does not
block the communication but the protocol does. You need to confirm that
both end points conform the same rule on communications (include empty
frame or not) instead of concerning their zmq language binding.
That's my understanding on ZMQ. Let me know if I am wrong. Thanks
在 2019年6月12日週三 17:27，TMPxyz<EMAIL_ADDRESS>寫道：

I'm new to ZeroMQ, so correct me if I mistake something here.
I've tried using REQ to connect ROUTER and there's an empty frame in
between when call send().
So my question is: Is the empty frame a fixed part of the protocol
between the socket type (eg: REQ to REP / REQ to ROUTER) ? If so, will
this difference make pyzmq unable to communicate with other ports of ZeroMQ?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/zeromq/pyzmq/issues/1251?email_source=notifications&email_token=AA5YBI6PFJCUTIL63K25CLDP2C6Q5A5CNFSM4GOLEDWKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODXPZ3TQ#issuecomment-501194190,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AA5YBIYNZA5OKJYFMUPVTTDP2C6Q5ANCNFSM4GOLEDWA
.


【win10】fatal error C1083: Cannot open include file: 'librtmp/rtmp.h': No such file or directory

librtmp._librtmp.c
build\temp.win-amd64-3.7\Release\librtmp._librtmp.c(493): fatal error C1083: Cannot open include file: 'librtmp/rtmp.h': No such file or directory
error: command 'C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\BIN\x86_amd64\cl.exe' failed with exit status 2

问题解决了吗?我也是同样的问题

apt-get cannot be used on windows

没有，windows上安装还是有问题

is there any news? i found some guides to compile librtmpdump on windows:
here
and here
But I have not been successful so far. Is this the only approach to install the library to a Windows machine?

librtmp工程中有个子目录叫librtmp，该子目录中有头文件，所以将该 librtmp 子目录整个放到 pip install 时会去寻找的头文件路径中。比如运行 pip install python-librtmp 之后，控制台会输出 ... -Id:\program files\python3.9.6\include -Id:\program files\python3.9.6\include，其中 -ld 后面就是 pip install 时会去寻找的头文件路径。将上面提到的 librtmp 子目录，整个放入 ...\python3.9.6\include\ 下就可以了。这个其实还是遵循了 gcc 的编译规则。

Windows Build

build librtmp.dll, librtmp.lib, ref: https://blog.csdn.net/qq_33163046/article/details/124132934
rename librtmp.dll, librtmp.lib to rtmp.dll, rtmp.lib, copy to git project python-librtmp, run python setup.py install
copy librtmp.dll, librtmp.lib to python's site-packages\python_librtmp-$your-version\librtmp
EG: c:\Users\Administrator.pyenv\pyenv-win\versions\3.9.1\lib\site-packages\python_librtmp-0.3.0-py3.9-win-amd64.egg\librtmp
in your app project, pip install python-librtmp and run your demo code.

Apple Chip Like M1/M2
brew install rtmpdump
git clone https://github.com/yixia/librtmp.git
sudo cp -rf librtmp/librtmp /usr/local/lib/
sudo cp -rf /opt/homebrew/opt/rtmpdump/lib/* /usr/local/lib/
mkdir -p $your-python-folder/include     # eg ./venv/include
cp -rf /opt/homebrew/opt/rtmpdump/include/  $your-python-folder/include
pip install --global-option=build_ext --global-option="-I/opt/homebrew/opt/rtmpdump/include/" --global-option="-L/opt/homebrew/opt/rtmpdump/lib" python-librtmp


check version of pip

checking version of pip while installing pyglet

Thank you for opening the pull request.
What is this trying to accomplish? make.py does not rely on pip.

Closing due to lack of response, and uncertainty as to what this is for.


Discussion: Mac App Store cli tool

Hey Greg,
Have you seen this: https://github.com/mas-cli/mas ?
Might be cool to get it working with MacOSX keychain and linked in as another ansible role...
Having a dig through this now, but just thought I'd mention it...

I guess, after brew and now mas, you could also go the whole hog with pip and gem and apt etc...

Have you seen this

I tried mas a while back, but it wasn't very good at the time, so I removed it in e8a038a78d1444f61b360beae2d9debeb111abcf (December, 2016). In the end I am happy enough installing as much as possible with brew and brew cask, and leaving a few things handled by the Mac App Store.

Fair enough... I wonder whether it's improved any since 2016... I'll give it a whirl when I can be arsed... and report back.


fix semantic colors

Semantic color information was not being provided correctly because the wrong source text was passed in
Fix is here: https://github.com/Microsoft/visualfsharp/pull/1877/files#diff-de5bdafb119bed995860757094ee328eR50

Fixes https://github.com/Microsoft/visualfsharp/pull/1877


Enhancement Support insert function

Search before asking

[X] I had searched in the issues and found no similar issues.

Description
mysql support insert function. we need to support it too.
Solution
To support a function, we need:
function implementation and registration in BE
function signature and visitor for nereids planner in FE
function signature in doris_builtin_functions.py
you can reference like https://github.com/apache/doris/pull/33005/files
Are you willing to submit PR?

[ ] Yes I am willing to submit a PR!

Code of Conduct

[X] I agree to follow this project's Code of Conduct

i want try

@zclllyybb  Hi, I have made the PR to this enhancement. ;)

@zclllyybb Hi, I have made the PR to this enhancement. ;)

I'm sorry, I've already taken this quest and have been working on it, and I'm done with it now, and your behaviour of hijacking other people's quests like that is very rude

@koarz Hi, when I made the PR, it seemed that there's no PR before me and this issue was not assigned to anyone. If there are any other kind of inform of assign, sorry for the inconvenient ;)

Generally the first commenter takes the quest by default, if you want to take the quest you should comment under this issue and I've already commented on this issue just after it was posted, even if there's no activity you should have communicated with me first (, because I'm already working on this quest (

@koarz Got it and thanks for your kind suggestion! Next time, I will ask first ;)

It's okay. Just be careful from now on.

@zclllyybb @koarz  Sorry again for the inconvenience. I need to follow the first come first served basis and I will close my PR. ;)

@zclllyybb @koarz Sorry again for the inconvenience. I need to follow the first come first served basis and I will close my PR. ;)

It's okay, but remember to comment and communicate in the future


"create_timeout": [DEPRECATED] Use timeouts block instead.

This warning is always presented when using gcp.compute.Instance, even when the createTimeout property is not provided.
Diagnostics:
  global: global
    warning: urn:pulumi:luke-serverless-gcp::serverless-gcp::gcp:compute/instance:Instance::www-compute verification warning: "create_timeout": [DEPRECATED] Use timeouts block instead.

This is no longer the case - I have just checked this and there is nothing about any deprecations
   pulumi up --yes                                                                                [10:44:03]
Previewing update (dev):

     Type                     Name                    Plan       Info
 +   pulumi:pulumi:Stack      gcp-provider-tests-dev  create     1 warning
 +   └─ gcp:compute:Instance  default                 create

Resources:
    + 2 to create

Updating (dev):

     Type                     Name                    Status      Info
 +   pulumi:pulumi:Stack      gcp-provider-tests-dev  created     1 warning
 +   └─ gcp:compute:Instance  default                 created

Resources:
    + 2 created

Duration: 1m23s


'charmap' codec can't encode characters in position 686-717: character maps to

When attempting to pull a kernel:
me@christop /c/scratch/kaggle_kernel $ kaggle kernels pull chrisfilo/metaanalysis-with-neurovault-api
'charmap' codec can't encode characters in position 686-717: character maps to <undefined>
me@christop /c/scratch/kaggle_kernel $ ls -al
total 8
drwxr-xr-x 1 me 197609 0 Nov 29 20:26 ./
drwxr-xr-x 1 me 197609 0 Nov 29 20:14 ../
-rw-r--r-- 1 me 197609 0 Nov 29 20:26 metaanalysis-with-neurovault-api.ipynb
me@christop /c/scratch/kaggle_kernel $ kaggle --version
Kaggle API 1.5.0

Changes to the kernel seem to have fixed this issue.

I encounter the same problem and find that it's because the kernel source code contains characters not in the default encode.
I fixed this by changing line here https://github.com/Kaggle/kaggle-api/blob/master/kaggle/api/kaggle_api_extended.py#L2044
with open(script_path, 'w') as f:

to
with open(script_path, 'w',  encoding="utf-8") as f:

which change the encode to UTF-8

Please change this issue i get this error when downloading kernel outputs...
kaggle kernels output <output> -p <path>
> 'charmap' codec can't encode characters in position 989-1028: character maps to <undefined>

I donwnload images and I had to setup my code like this...
        with open(script_path, 'w', encoding="utf-8", errors='ignore') as f:
            f.write(blob['source'])


✨feat(openers): New opener open_multiple_files() is now the default value for config.hooks.yazi_opened_multiple_files.

Current behavior
Opening multiple files send them to the quickfix by default.
Behavior after this PR
Opening multiple files open multiple buffers.
Reason for this PR
It is unlikely the default behavior users expect when opening multiple files is to send them to the quickfix.
Screenshots
Selecting 3 files and pressing enter...

Open them as 3 buffers as result by default

Users who want a different behavior can still override the function in opts. This PR is just about better UX.

I like this idea 👍🏻
It would be good to be more in line with how telescope defines its own mappings (https://github.com/nvim-telescope/telescope.nvim?tab=readme-ov-file#default-mappings). I will make some adjustments to the tests and merge this in.


The Ruby Homebrew installer is now deprecated

#!/usr/bin/ruby
STDERR.print <<EOS
Warning: The Ruby Homebrew installer is now deprecated and has been rewritten in
Bash. Please migrate to the following command:
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"
EOS
Kernel.exec "/bin/bash", "-c", '/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"'

Would you mind create a PR for this change?


Vulnerability roundup 57: libjpeg-turbo-2.0.1: 1 advisory

search, files

[ ] CVE-2018-19664 (nixos-unstable)

Scanned versions: nixos-unstable: 44b02b52ea6. May contain false positives.

Right.  I can't see any fix anywhere, by a quick search.  Upstream: https://github.com/libjpeg-turbo/libjpeg-turbo/issues/305

We have a "wait-for-upstream" label for that IIRC. Unfortunately, I cannot set labels.


ux improvement - restore credential selection on timer reset

When a user selects a credential in the list and the timer resets no credential is selected.

Agreed, we should save this state as well between credentials reloads.


ObservableGridView problem

When flexible space image with viewpager with observable grid view which has incomplete number of items (when last row is not completed) see screen.

I'm facing the same issue. If there is empty element on the GridView it's possible to scroll gridview till all elements dissapear (GridView height seems to be unlimited)

I fixed this by creating dummy views, that fills bottom line. But this is dirty hack.

I found different workaround. You have to use your own ObservableGridView. I copied ObservableGridView to my project and point into this view in XML. and changed:
private int mRowHeight = -1 to private int mRowHeight = 0;
and below convertView.setMinimumHeight(headerViewContainer.getHeight());
add
if (mRowHeight != headerViewContainer.getHeight()) {
mRowHeight = headerViewContainer.getHeight();
}
I'm looking for a final solution. It's reproducible in sample project - just change number of items to 99 instead of 100.
regards


netipx: add ParsePrefixOrAddr

ParsePrefixOrAddr parses a string as an IP address prefix or IP address. If the string parses as a prefix, its address part (netip.Prefix.Addr) is returned.

FWIW, we open-coded this in the Cilium code base on a few occasions and this might be useful to others?

@bradfitz PTAL


Enable pkg-config

It would be great to enable to use of pkg-config, in particular when non-standard install paths are used. The user can then simply compile with
$CXX ... `pkg-config --cflags catch` ...

instead of -I/path/to/catch.
To this end one would have to add the file catch.pc.ic to the root, with the following content
prefix=@CMAKE_INSTALL_PREFIX@
exec_prefix=${prefix}

Name: Catch
Description: Testing library for C++
Requires:
Version: @CATCH_VERSION_NUMBER@
Libs:
Cflags: -I${prefix}/@INCLUDE_INSTALL_DIR@

and add to CMakeLists.txt
set(CATCH_VERSION_NUMBER ???)

if(NOT WIN32 OR NOT CMAKE_HOST_SYSTEM_NAME MATCHES Windows)

  set(PKGCONFIG_INSTALL_DIR
    "${CMAKE_INSTALL_DATADIR}/pkgconfig"
    CACHE PATH "Path where catch.pc is installed"
  )

  configure_file(catch.pc.in catch.pc @ONLY)

  install(FILES ${CMAKE_CURRENT_BINARY_DIR}/cppmat.pc DESTINATION ${PKGCONFIG_INSTALL_DIR})

endif()

I played with this a bit and after changing some details, it is in Catch 2 branch

Great! However, I think there is still one issue.
If I test it on my system, currently
$ cmake /path/to/catch -DCMAKE_INSTALL_PREFIX:PATH=/test/path

$ pkg-config --cflags catch
-I/test/path/

while I need to feed the compiler with
``bash
-I/test/path/include/

One way to go could be to have the following `catch.pc.in` (I have successfully tested this on my system)

```cmake
prefix=@CMAKE_INSTALL_PREFIX@
exec_prefix=${prefix}

Name: Catch
Description: Testing library for C++
Requires:
Version: @CATCH_VERSION_NUMBER@
Libs:
Cflags: -I${prefix}/@INCLUDE_INSTALL_DIR@/include

There might be a more elegant solution. I did not look in great detail in the CMakeLists.txt to find if there is another solution there.

@tdegeus We always copy the header into include/catch, so just adding include at the end of the include path seems reasonable.

@horenmar Great! Thanks a lot!


Cannot verify SSL certificate when connecting to Azurite over HTTPS (MacOS, Python SDK, Python 3.10)

Which service(blob, file, queue, table) does this issue concern?
All services.
Which version of the Azurite was used?
VSCode extension 3.22.0
Where do you get Azurite? (npm, DockerHub, NuGet, Visual Studio Code Extension)
VSCode extension
What's the Node.js version?
Unknown
What problem was encountered?
Azurite starts just fine, and by importing my root certificate created with mkcert as per the documentation I can connect just fine in Azure Storage Explorer over HTTPS, create queues and so on, so far so good. However, when connecting using the Python SDK, I get the error message below, indicating that the certificate is not found by the Python SDK.
What is the correct step to connect to Azurite using the Python SDK?
Steps to reproduce the issue?
Minimal example
# after az login in terminal
from azure.storage.queue import QueueClient
from azure.identity import DefaultAzureCredential
credentials = DefaultAzureCredential()
client = QueueClient("https://<IP_ADDRESS>:10001/devstoreaccount1", "myqueue", credentials)
client.peek_messages()  # <-- Error thrown here

Error thrown
Exception has occurred: ServiceRequestError
[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:997)
azure.core.exceptions.ServiceRequestError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:997)

Have you found a mitigation/solution?
By passing the verify_connection=False flag to the client, I can get it working, but that's not ideal, as it gives tons of warnings and has to be removed when running this in production.

@dingobar
It looks not Azurite's issue, as Storge Explorer works well.
It looks this is a Python SDK usage question, we might not be the best person to answer it as we don't own Python SDK. Would you please contact python SDK team for the question? (you can file an issue in https://github.com/Azure/azure-sdk-for-python/issues)

I'll do that. Do you have a community slack for this type of peripheral questions?

@dingobar
The normal way for Python SDK issue/questions should be: file an issue in https://github.com/Azure/azure-sdk-for-python/issues.
Another way for all Azure related issues is raising a help request in Azure portal like following picture.


Can we apply Views of ItemSource from code behind ?

I know this is implemented to use views from Xaml directly.
But I want to make 1 control in which I can just need to pass Views from my main page to custom control.
In that custom control, I will have carousel control. I want ItemSource with View to be apply from bindable property.

       <cv:CarouselViewControl.ItemsSource>
           <x:Array Type="{x:Type View}">
            <!-- Page1 Display Photo -->
            <Image Source="{Binding PhotoUrl}"/>

            <!-- Page2 Display Bio -->
            <Label FormattedString="{Binding Bio}"/>

            <!-- Page2 Display contact information -->
            <Label FormattedString="{Binding Info}"/>

       </x:Array>
</cv:CarouselViewControl.ItemsSource>

I found the solution it's straight forward, just need to apply List


[BUG] failed to delete cluster

What did you do?
try to delete cluster

How was the cluster created?

k3d c -a <IP_ADDRESS>:6445 -n cluster2

What did you do afterwards?
delete the cluster

What did you expect to happen?
k3d d cluster2
FATA[0000] No cluster(s) found
Concise description of what you expected to happen after doing what you described above.
Screenshots or terminal output
k3d l
+-----------------+-------------------------------+---------+---------+
|      NAME       |             IMAGE             | STATUS  | WORKERS |
+-----------------+-------------------------------+---------+---------+
|    cluster2     | docker.io/rancher/k3s:v0.10.0 | running |   0/0   |
|    cluster1     | docker.io/rancher/k3s:v0.10.0 | running |   0/0   |
| control-cluster | docker.io/rancher/k3s:v0.10.0 | running |   0/0   |
+-----------------+-------------------------------+---------+---------+
~> k3d d cluster2
FATA[0000] No cluster(s) found
same problem with other cluster
Which OS & Architecture?
MacOS 10.15
Which version of k3d?
k3d version v1.3.4
Which version of docker?

In your description you write k3d d cluster2 where it should be k3d d -n cluster2 to delete only the cluster named cluster2 or k3d d -a to delete all clusters.

Hi @iwilltry42 , good catch
I was misled by the message "no cluster found"
maybe we need to thrown an error and ask to specify -n XXX or -a

@tuxtof, I see, that this can be confusing/misleading.
However, when you don't specify a -n <NAME> in a k3d command, it will fallback to the default cluster name k3s-default

yes i see that so we can imagine replace the message with something like
'cluster k3s-default not found'
but it better to give an error
because k3d d cluster2 is invalid syntax

The next release will include more verbose error messages for delete and get-kubeconfig if neither --all nor --name was specified and no cluster was found.
Syntax checks (additional unused args) will come with the next major version (new CLI framework).


Add diff tool to usegalaxy.org

It seems like being able to diff files would be at least as useful as the other text manipulation tools already there.
For instance, if I'm comparing outputs between tool versions or if I want to analyze two different samples and see the difference in the final output.
Seems Bjorn wrote a diff wrapper that's already on usegalaxy.eu, so this just adds it to usegalaxy.org.

@galaxybot test this

@galaxybot test this

@galaxybot deploy this


Add support for python 3.6 and 3.9

Adds support for python 3.6 and 3.9 to CI
Adds support for python 3.6 to setup.py

I know the support for 3.6 is pretty dirty but doing it better would require moving away from pipenv which is a fair bit of effort.
This project might be good way to go in future; it uses tox and separate requirements files for each python version: https://github.com/adamchainz/time-machine/tree/master/requirements

Resolves issue #9

Looks awesome for me!
thank you for contribution!


r_threaded_renderables

An addition to https://github.com/mastercoms/mastercomfig/commit/f5d56f848455b5dc4b8720612cbb9690da2429b9

Thank you for your contribution!


App visibility updates

Is there a related issue for this PR?
Issue number:
Developer's Certificate of Origin (DCO)

Issues with signing. Will create new PR.


Mentioned Active LTS and Maintenance LTS of nodejs are out of support

Regarding the programming languages "JavaScript" and "TypeScript":
The recommended versions of nodejs (8.11.1 and 10.14.1) are no longer supported. The current Active LTS is v16 and Maintenance LTS is v14.

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

ID: 5d505ab9-d351-6650-6d0c-bb65d2daa229
Version Independent ID: 2a1d3487-a93d-2206-7ef9-a91aa275ec4e
Content: Create Azure Functions on Linux using a custom image
Content Source: articles/azure-functions/functions-create-function-linux-custom-image.md
Service: azure-functions
GitHub Login: @ggailey777
Microsoft Alias: glenga

@devndive Thanks for your feedback! We will investigate and update as appropriate.

@devndive We have updated the docs and it will be published soon. We will now proceed to close this thread. Thanks again for bringing this to our attention.

Thanks @devndive for the heads-up!


project.json

I have an unrelated project that doesn't use C# but has project.json (it's actually a mongo collection of canned test data). The extension reports it as an error. Not sure what to do but it's definitely caused by this plugin when installed. It may be helpful to add additional heuristics before assuming this file is related to c#. No biggie otherwise just reporting what I'm seeing.

project.json support was removed long time ago, which version of the extension are you using?

Looks like v1.23.9

can you show what are you are seeing?

The extension no longer activates on project.json files.


Proposal - "readbuf" builtin or similar

Some applications require examining kernel state that is not conveniently stored in struct form.
For instance, tcpdrop.py implements a mechanism to read from the socket buffer, using the struct members of the socket buffer to dynamically compute the offset within the buffer.
For use cases like this, it would be great to have a command, say something called "readbuf" with an API like:
$base = $skb->head
$offset = $skb->transport_header
$length = 1 // one byte
$tcpflags = readbuf($base, $length, $offset)

This should be possible, I have an idea of how it could be implemented but I wonder if this is something that is within the scope of what is intended for bpftrace?
I think that this sort of functionality is needed to be able to implement functionality such as above in tcpdrop.py, as well as for analysis closer to the network edge, as in this tcpaccept-like systemtap probe from cloudflare.
It should be possible to do this reasonably efficiently/safely, by checking that the the buffer doesn't overflow and having a maximum extraction size.
I tried to think of a better name than readbuf, memcpy seems misleading but is the closest C analogue to the functionality I'm looking for, the critical difference being that it should probably always return a 64 byte variable (with width masked out if size specified to less) rather than copying arbitrary bits of memory.
This could also be really useful for examining raw binary data in the kernel in general, by printing segments of 64 bytes in hex.
Thoughts? Worth implementing? Is there anything that might make this harder than I am expecting?

Related - this is likely also the mechanism we'd want to use to read ipv6 addresses, as it looks like the underlying ipv6 address is stored in an array https://elixir.bootlin.com/linux/v4.14/source/include/uapi/linux/in6.h#L38
Attempting to access it currently doesn't work, as it doesn't resolve to a normal integer type.
Not totally sure what we will want to do for accessing these ipv6 values, but it might fall in this same bucket.