[Bug]: AZURE_OPENAI_DEPLOYMENT_NAME should be provided for Azure OpenAI

Describe the bug
We were not explicitly providing AZURE_OPENAI_DEPLOYMENT_NAME
Need to update:

LLMManager
AbstractFSM
QuickStart tutorial

Steps to reproduce
No response
Expected Behavior
No response
Screenshots and logs
No response
Additional Information
No response

Closed - we updated the FSM and exposed FAST_MODEL and SLOW_MODEL to ensure non-standard deployment names


DocsArchive-<IP_ADDRESS>Auto archive content

Please don't merge this PR until target archive repo PR https://github.com/OPS-E2E-PPE/docs-archive-test-target/pull/275 is merged into live branch.
Auto archive content to https://github.com/OPS-E2E-PPE/docs-archive-test-target.git

Docs Build status updates of commit 72bed82:
:x: Validation status: errors
Please follow instructions here which may help to resolve issue.

File
Status
Preview URL
Details

:x:Error

Details

[Error]

Cannot sync git repo to specified commit because branch Release_Archive_master_2020-01-13-02-33-46 has been deleted or has been force pushed: fatal: couldn't find remote ref refs/heads/Release_Archive_master_2020-01-13-02-33-46

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


Docker containers spawned using Arion (docker-compose) stay alive after quiting process-compose

Similar to #38, I'm experiencing that docker containers spawned using arion (a thin wrapper around docker-compose) in a process stay alive after quitting process-compose with F10
Defect
Make sure that these boxes are checked before submitting your issue -- thank you!

[x] Included the relevant configuration snippet
[x] Included the relevant process-compose log (log location: process-compose info)
[x] Included a [Minimal, Complete, and Verifiable example] (https://stackoverflow.com/help/mcve)

Version of process-compose:
Latest commit on main, using nix run github:f1bonacc1/process-compose/5a7b83ed8a0f6be58efa9e4940ff41517892eca2
OS environment:
NixOS 23.11 (aarch64-linux)
Steps or code to reproduce the issue:
I've created a fully reproducible example here: https://github.com/cor/process-compose-docker-container-bug
Expected result:
The Docker container gets killed
Actual result:
The Docker container stays alive

Fixed this by adding
    shutdown:
      signal: 2

To every single process, which mimics the behavior of pressing ctrl+C when running the process outside of process-compose


[EN Ordinal] OrdinalModel parse regression

Describe the bug
System.ArgumentException: 'An item with the same key has already been added.
Key: [value, start+1]'

To Reproduce
Steps to reproduce the behavior:

Upgrade Microsoft.Recognizers.Text to 1.2.1
Run this code:

            var Culture = Recognizers.Text.Culture.English;
            var model = new NumberRecognizer(Culture).GetOrdinalModel(Culture);
            var result = model.Parse("the one before the last");

See error

Expected behavior
No exception
Platform (please complete the following information):

Platform: .net
Environment: nuget package
Version of package: 1.2.1

Additional context
1.2.0 did not have this exception

Package 1.2.1 has been retracted and a fix is on the way. Thanks for catching this!

This issue was mitigated in PR #1648. The code will be refactored to improve it soon.


(eos_designs): Add key to indicate MLAG port channel manually

Enhancement summary
We need a way to selectively make a port-channel an MLAG port-channel instead of solely relying on eos_designs to automatically detect if a port-channel should or should not be an mlag port-channel.
Which component of AVD is impacted
eos_designs
Use case example
From an AVD perspective: when a user only wants to generate config for access interfaces and doesn't want to rely on AVD switch facts being accurate in order to determine whether or not a port-channel towards an endpoint device should be an MLAG port-channel or not
.
From a networking perspective: when a user wants to create a port-channel to an end device but doesn't want the port-channel to be an mlag port-channel.
Describe the solution you would like
Add a key that indicates that the user would want to set an mlag port channel manually, rather than having avd detect it.
Describe alternatives you have considered
No response
Additional context
No response
Contributing Guide

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

Hi Daniel
Since this would be an override of the built-in logic, I think this would a good use case for structured_config under the adapter port_channel key.
You should be able to add:
...adapter config...
    port_channel:
      mode: active
      structured_config:
        mlag: <mlag id>


Test: Add extensive Unit Tests for Sum operation.

Code changes as been checked-in to master branch. Future builds > v1.9.11 will be tested.


Settings sync ignores new global "xxx.code-snippets" files

Visual Studio Code Version : 1.20.0
Code Settings Sync Version : 2.8.7
Operating System : MacOSX 10.12.6
Occurs On: Upload
Proxy Enabled: No
GIst Id: private
With the latest 1.20.0 version release of VSCode, it now supports new "Global" snippets files that are created in "snippets" with extension ".code-snippets" (e.g. so you may have something like "snippets/global.code-snippets" or whatever). These files exist alongside the normal snippet JSON files (e.g. javascript.json, perl.json, etc.).
However, Settings Sync ignores these new files, and does not sync them to the GIST. They are completely ignored. Please fix this when you can! Thanks!

Would love to know if this in the works and expected release date if possible please.

Released with v2.9
let me know if there are issues.

Thanks. It works!


Remove the Mapbox-related imports in Java/Kotlin/Gradle

Description
Since we have successfully removed MapBox-related functionality (as I believe) after the https://github.com/commons-app/apps-android-commons/pull/5536, there still remains a fraction of code that is using MapBox. How about removing all traces of MapBox code as discussed in https://github.com/commons-app/apps-android-commons/issues/5458#issuecomment-1900210371?

Okay then, from where we should start?

@rohit9625
In some code, removing the imports will not create an effect since there are many unused functions. So, we can remove them. There are places such as LocationPickerActivity.java their we may need to replace com.mapbox.mapboxsdk.geometry.LatLng with fr.free.nrw.commons.location.LatLng by changing the code accordingly. Also, there are places such as ExploreMapPresenter.java their we may need to replace com.mapbox.mapboxsdk.annotations.Marker
How about starting with removing unused code ?

@nicolas-raoul, Shall we work on it ?

Is this process big enough to work two persons on it? If yes, then I would go with the task removing unused Mapbox imports and dependencies and you can work on the other task.
What do you think @kanahia1?

I don't feel this is big enough, but surely we can split up things to achieve this issue ASAP ☺

Sure :)

Well I found a file NearbyParentFragmentUnitTest file also has some Mapbox usages as you can see in this screenshot:

Can you please also specify with which imports we will replace these Mapbox imports?


fix: pnpm workspace for website & broken link

Yeah makes sense. I like DDN but it's pretty enterprise-y sounding so perhaps better for much later.


Mindshields can be removed with an implanter

About the PR
Mindshields can be removed with an implanter
Command members get an irremovable one since you're supposed to kill or exile them, security does not though so you can remove their shields
Why / Balance
there should be a way to convert mindshielded people and i dont think you should be killed because you were mindshielded
also allows head revs to still have somewhat of a chance if most of the crew is mindshielded
Technical details
added new event ImplantRemovedEvent, raised whenever an implant is removed from someone
Media
https://cdn.discordapp.com/attachments/561607258337706042/1182400319439777884/me.mp4?ex=65848f1c&is=65721a1c&hm=fc51366f895963ce68f2eeffa11fe78b210ee9fece030c1e945d4832772f8644&
(video is above 10 mb)

[X] I have added screenshots/videos to this PR showcasing its changes ingame, or this PR does not require an ingame showcase

Breaking changes
shouldn't be any
Changelog
:cl:

tweak: Mindshields are no longer fused to the body and can be removed with an implanter. Command members, however, get a special mindshield that does fuse.

Changelog 🆑
* tweak: Mindshields are no longer fused to the body and can be removed with an implanter

This is a lie

I don't super understand why this needs a second component or system and doesn't just reuse the mindshield component and system. Maybe there's a good reason though and I'm not seeing it.

Right, but just make the commandmindshield entitiy in yml unremovable, but make it still give the mindshieldComponent.

add commandmember thing to mindshield blacklist problem solved

Does removing the implant destroy it in the process?
If not, could this be used to "mind-shield" an entire crew with a single mind shield implant?

Does removing the implant destroy it in the process?
If not, could this be used to "mind-shield" an entire crew with a single mind shield implant?

damn it doesnt, you could do it like that but it would take a lot longer than just ordering more mindshields

add commandmember thing to mindshield blacklist problem solved

that would work

Changelog 🆑
* tweak: Mindshields are no longer fused to the body and can be removed with an implanter

Maybe change it to mention that command members have fixed implanters? I can see some people getting confused by it.

Changelog 🆑
* tweak: Mindshields are no longer fused to the body and can be removed with an implanter

Maybe change it to mention that command members still have fused implanters? I can see some people getting confused by it.

yeah sure

make sure to add the new perm mindshield to ERT and CentComm roles

make sure to add the new perm mindshield to ERT and CentComm roles

ERT and centcomm roles i believe dont get a special implant and inside just get the mindshield component on its own, so basically if you tried to remove the implant nothing would happen as if they had no implants

ERT and centcomm roles i believe dont get a special implant and instead just get the mindshield component on its own, so basically if you tried to remove the implant nothing would happen as if they had no implants

they need to be updated to use the unremovable version in this pr since you're changing the original.

fixed conflicts

The whole point of a mindshield / implant is to have something that's unremoveable. If you want it removeable then make it an item (though I also don't think it should be that).

Closed due to feature freeze May 10th-June 14th. Comment to have it reopen after this.


gopass -c Regression in 1.9

Summary
gopass 1.9 returns 2020/05/08 12:03:51 flag provided but not defined: -c when called with gopass -c pwentry
Expected behavior
prior versions copied the given entry to the clipboard and exited with exit code 0
Environment

OS: macOS Catalina

OS version: Darwin glooper3 19.3.0 Darwin Kernel Version 19.3.0: Thu Jan  9 20:58:23 PST 2020; root:xnu-6153.81.5~1/RELEASE_X86_64 x86_64 i386 MacBookPro15,2 Darwin

gopass Version: gopass 1.9.0-git+HEAD (2020-05-02 08:27:43) go1.14.2 darwin amd64
     - gpg 2.2.20 - git 2.26.2 -   fs 0.1.0
Available Crypto Backends: gpgcli, plain, xc
Available RCS Backends: gitcli, noop
Available Storage Backends: fs, inmem

Installation method: homebrew

Additional context
I think there is another bug with --clip that prevents the copying to the clipboard from time to time, but I can't reproduce that yet and will open another bug

Likley a duplicate of #1323.
Otherwise please re-open.


Add tests into workflow

This is still a work in progress, will ping you here when this is ready to role.

@maraisr I think I'm going to go with tape for tests.

Tape doesn't offer a headless browser not unless you use tape-run, but even then using electron and speed were all just too cumbersome. Jest supports all this out of the box. And having Facebook behind it, means it's well supported. Don't think going with tape would be a good move.

@maraisr That sounds great, but what's the catch then? 🤔

@jbucaran  catch? None! haha :100:

@maraisr Interesting. I don't think we'll introduce webpack though, so can you keep this PR focused on tests only? 🙏

@maraisr Think we can close this?

Closed in favour of #52


MicroBuild Install Siging Plugin Task fails on MacOS

Description of the issue & workaround (internal microsoft link)
MicroBuild work item/issue (internal microsoft link)
This is a tracking issue for the workaround.
The MicroBuild Install Siging Plugin Task fails on MacOS. The current workaround is to set pip install uamqp==1.6.9 and set environment variable, CFLAGS.
See https://github.com/ellahathaway/arcade/commit/5fba8f58f9154280cf1f88bfc74bbcc981eeccca#diff-1ef4817ff1b275f8bf600d6e5ddc806af3db278910e0236db4f6d5490b3e2f4dR37-R43 and https://github.com/ellahathaway/arcade/commit/5fba8f58f9154280cf1f88bfc74bbcc981eeccca#diff-1ef4817ff1b275f8bf600d6e5ddc806af3db278910e0236db4f6d5490b3e2f4dR56.

Will be addressed by this PR (internal microsoft link)

MicroBuild folks say that this fix will roll out tomorrow morning.

[heart]         Matt Mitchell (.NET) reacted to your message:

From: Ella Hathaway @.>
Sent: Monday, December 9, 2024 5:02:41 PM
To: dotnet/source-build @.>
Cc: Subscribed @.***>
Subject: Re: [dotnet/source-build] MicroBuild Install Siging Plugin Task fails on MacOS (Issue #4791)
MicroBuild folks say that the fix will roll out tomorrow morning.
—
Reply to this email directly, view it on GitHubhttps://github.com/dotnet/source-build/issues/4791#issuecomment-2528759642 or unsubscribehttps://github.com/notifications/unsubscribe-auth/ACCSFMVV3LDGQ72JZWPLGAL2EXELFBFKMF2HI4TJMJ2XIZLTSSBKK5TBNR2WLJDUOJ2WLJDOMFWWLO3UNBZGKYLEL5YGC4TUNFRWS4DBNZ2F6YLDORUXM2LUPGBKK5TBNR2WLJDUOJ2WLJDOMFWWLLTXMF2GG2C7MFRXI2LWNF2HTAVFOZQWY5LFUVUXG43VMWSG4YLNMWVXI2DSMVQWIX3UPFYGLAVFOZQWY5LFVI3DCMBUG4ZDANRZG2SG4YLNMWUWQYLTL5WGCYTFNSWHG5LCNJSWG5C7OR4XAZNMJFZXG5LFINXW23LFNZ2KM5DPOBUWG44TQKSHI6LQMWVHEZLQN5ZWS5DPOJ42K5TBNR2WLKBWGU2DSMBXGQZIFJDUPFYGLJLJONZXKZNFOZQWY5LFVIZDOMJYHEZDCMBVHGBKI5DZOBS2K3DBMJSWZJLWMFWHKZNKGYYTANBXGIYDMOJWU52HE2LHM5SXFJTDOJSWC5DF.
You are receiving this email because you are subscribed to this thread.
Triage notifications on the go with GitHub Mobile for iOShttps://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Androidhttps://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

Closing as this was resolved with the latest update.


updating to 5.33 release with mysql

Are there recommendations for updating this Mattermost deployment to the 5.33 release for MySQL (v5.7) users?

update: solved! We just changed the version number in the Dockerfile to 5.33.3 (and rebuilt) and everything appears to work fine.


Add AWO token

Please check the following to ensure a successful verification of Token Profile
.json and .png document checklists

[x] logo dimensions: 120*120 px
[x] logo background: Transparent
[x] At least one transaction on the token contract
[x] For ERC-20 project teams: Upper and lower capitalized alphabets in token address (For checksum purposes)
[x] Same document name for both .json and .png (Including capitalization)

Project background:
Official announcement:
#imToken #6491 We are providing AWO token’s information on imToken. After completion, you can see the logo and full information inside imToken’s Token Manager.  https://twitter.com/Aworldvc/status/1329380537278943233
Project team background:
The founder of Aworld Blockchain LTD, Mr.Lukasik is a seasoned tech entrepreneur, with over 30 years in the ICT field and extensive experience, research and development, financial analysis, and operations management.
In 2010, he founded Hotspot network airbone access, which was acquired by PLDT in 2018. Now, he forcus in blockchain field, founded Aworld blockchain LTD and launched the Aworld platform token AWO in 2020.
Mr. Lukasik is considered be one of the pioneers and thought leaders of UK tech startup scene. He regularly speaks at local and international forums on the UK startup ecosystem such as the Harvard business conference in London, with the Global Innovation Gathering at the annual public conference in Berlin, and regional startup conferences in Asia.
Project basic information:
Aworld wants to be a fully community driven decentralized exchange, with community users holding 100% of the platform token AWO.
The establishment of Aworld will become the only innovative company in the decentralized financial DeFi world. We creatively solve the problems in the existing DeFi market. Through strong experience in intelligent contract interaction and risk management, we use the advanced technology of blockchain to combine a series of intelligent protocols, which bring excellent participation experience and one-stop high income for investors, and constantly capture the growth price of DeFi At the same time, it also gives investors more economic value.
Media publications:
Official Website: https://www.aworld.vc
Twitter: https://twitter.com/Aworldvc
Telegram: https://t.me/Aworldvc
Medium: https://aworldvc.medium.com/
Tradeable exchanges:80000

为确保资料提交的真实性，请在贵方官网或其他经过认证的社交媒体渠道发布公告，并将此公告链接附于「官方公告」。推荐文案：
#imToken# #1636# 我们正在完善 XXX 在 imToken 中的代币相关资料。完成后，大家可以在 imToken 里看到 logo，更方便地管理 XXX，同时能看到更多代币信息。
注：

1636 为 pr 序号，如 https://github.com/consenlabs/token-profile/pull/1636 的序号为 1636，这是帮助 imToken 判断 pr 真实性的关键。
#imToken #1636 标签及其展示形式可自行调整。
若未提供「官方公告」，则无法显示代币信息。

Please check the following to ensure a successful verification of Token Profile
.json and .png document checklists
logo dimensions: 120*120 px
logo background: Transparent
At least one transaction on the token contract
For ERC-20 project teams: Upper and lower capitalized alphabets in token address (For checksum purposes)
Same document name for both .json and .png (Including capitalization)
Project background:
Official announcement:
#imToken #6491 We are providing AWO token’s information on imToken. After completion, you can see the logo and full information inside imToken’s Token Manager. https://twitter.com/Aworldvc/status/1329380537278943233
Project team background:
The founder of Aworld Blockchain LTD, Mr.Lukasik is a seasoned tech entrepreneur, with over 30 years in the ICT field and extensive experience, research and development, financial analysis, and operations management.
In 2010, he founded Hotspot network airbone access, which was acquired by PLDT in 2018. Now, he forcus in blockchain field, founded Aworld blockchain LTD and launched the Aworld platform token AWO in 2020.
Mr. Lukasik is considered be one of the pioneers and thought leaders of UK tech startup scene. He regularly speaks at local and international forums on the UK startup ecosystem such as the Harvard business conference in London, with the Global Innovation Gathering at the annual public conference in Berlin, and regional startup conferences in Asia.
Project basic information:
Aworld wants to be a fully community driven decentralized exchange, with community users holding 100% of the platform token AWO.
The establishment of Aworld will become the only innovative company in the decentralized financial DeFi world. We creatively solve the problems in the existing DeDi market. Through strong experience in intelligent contract interaction and risk management, we use the advanced technology of blockchain to combine a series of intelligent protocols, which bring excellent participation experience and one-stop high income for investors, and constantly capture the growth price of DeFi At the same time, it also gives investors more economic value.
Media publications:
Official Website: https://www.aworld.vc
Twitter: https://twitter.com/Aworldvc
Telegram: https://t.me/Aworldvc
Medium: https://aworldvc.medium.com/
Tradeable exchanges:80000

为确保资料提交的真实性，请在贵方官网或其他经过认证的社交媒体渠道发布公告，并将此公告链接附于「官方公告」。推荐文案：
#imToken# #1636# 我们正在完善 XXX 在 imToken 中的代币相关资料。完成后，大家可以在 imToken 里看到 logo，更方便地管理 XXX，同时能看到更多代币信息。
注：

1636 为 pr 序号，如 https://github.com/consenlabs/token-profile/pull/1636 的序号为 1636，这是帮助 imToken 判断 pr 真实性的关键。
#imToken #1636 标签及其展示形式可自行调整。
若未提供「官方公告」，则无法显示代币信息。

Hi, we just resubmitted 3 days before, please check it out as soon as possible, thanks.

欢迎在社区中推荐用户使用 imToken 2.0 ，imToken 支持比特币, 以太坊, Comos, EOS, 波场, Nervos, 比特币现金, 莱特币，波卡等资产管理；同时支持去中心化币币兑换功能 Tokenlon；转账页面支持 ETH, USDT, EOS, BTC OTC 功能；另外对于没有 ETH 矿工费的用户，也提供 ETH 手续费充值功能。


Uncaught extension error while executing get_text

Background:
I am working on a Flutter application and using Flutter Driver for automated testing. In my test script, I'm attempting to retrieve the text of an element with the value key "imprint_link."
Expected Behavior:
I expect to be able to retrieve the text of the element with the value key "imprint_link" using the getText() method.
Current Behavior:
When I try to get the text of the element using fnd.byValueKey("imprint_link").getText(), I encounter the following error:

{
  "isError": true,
  "response": "Uncaught extension error while executing get_text: Unsupported operation: Type Text is currently not supported by getText\n#0 CommandHandlerFactory._getText (package:flutter_driver/src/common/handler_factory.dart:422:7)\n<asynchronous suspension>\n#1 FlutterDriverExtension.call (package:flutter_driver/src/extension/extension.dart:376:31)\n<asynchronous suspension>\n#2 BindingBase.registerServiceExtension.<anonymous closure> (package:flutter/src/foundation/binding.dart:936:18)\n<asynchronous suspension>\n",
  "type": "_extensionType",
  "method": "ext.flutter.driver"
}

`[Appium]   -<EMAIL_ADDRESS>(automationName 'XCUITest')
[Appium]   -<EMAIL_ADDRESS>(automationName 'UiAutomator2')
[Appium]   -<EMAIL_ADDRESS>(automationName 'Flutter')`

Duplicate of https://github.com/appium/appium-flutter-driver/issues/297 ?

i wondered if the parent element supported the getText() as Flutter's implementation, so descendant finder helps for it

we noticed the lib of some issues by finding element: ashwithpoojary98
https://github.com/ashwithpoojary98/javaflutterfinder/issues/8#issuecomment-1541861979
We uses the lib of https://github.com/5v1988/appium-flutter-client


Add input priorities between several druid instances

The auto input capture happens on first update frame, so no any way to check which Druid will capture their input first

Very rare case, probably it can be done manually by user by recapture input


Bug 32047995: ENABLE_ADU_TELEMETRY_REPORTING- arm64 yaml missing

ENABLE_ADU_TELEMETRY_REPORTING and ADUC_BUILDER_IDENTIFIER were missing in arm64 yaml were missing, this change adds them back.

  - master

Should this be 'main' also?

Refers to: azurepipelines/adu-ubuntu-amd64-build.yml:36 in 95cd1b4. [](commit_id = 95cd1b4458de97ac051b43c83fede0cc08aa7f0e, deletion_comment = False)

  - master

And here

Refers to: azurepipelines/adu-ubuntu-amd64-build.yml:54 in 95cd1b4. [](commit_id = 95cd1b4458de97ac051b43c83fede0cc08aa7f0e, deletion_comment = False)


feat: arbritrary data for non CAPI-Clusters

Is your feature request related to a problem? Please describe.
As mentioned here: https://github.com/projectsveltos/addon-controller/issues/447
How do you solve the case, where you have a new cluster registered, let's say this eg.
apiVersion: v1
items:
- apiVersion: lib.projectsveltos.io/v1alpha1
  kind: SveltosCluster
  metadata:
    creationTimestamp: "2024-06-12T09:13:55Z"
    generation: 1
    labels:
      capsule.clastix.io/tenant: xmodels
      env: production
      is-credential-preset: "true"
      overwrite: this
      project-id: xmodels
    name: pdl6npm7qp
    namespace: cluster-pdl6npm7qp
    spec: {}

Now I have seen here (https://projectsveltos.github.io/sveltos/template/template/ - Variables) that you have access to a lot of CAPI attributes. In our case we don't have access but I still need to configure my charts with certain cluster properties.
So there needs to be a way to add more data to sveltosclusters, which are non CAPI provided. A simple approach, adding a extra context field to sveltosclusters, where I can pass my additional information (essentially an interface of values):
apiVersion: lib.projectsveltos.io/v1alpha1
kind: SveltosCluster
metadata:
  creationTimestamp: "2024-06-12T09:13:55Z"
  generation: 1
  labels:
    capsule.clastix.io/tenant: xmodels
    env: production
    is-credential-preset: "true"
    overwrite: this
    project-id: xmodels
  name: pdl6npm7qp
  namespace: cluster-pdl6npm7qp
  uid: 02f9f1d7-b93a-4944-a449-d77c3bb3672d
spec:
  context:
    address:
      ip: <IP_ADDRESS>
      port: 6443
      url: https://pdl6npm7qp.some.cloud:6443
    versions:
      apiserver: 1.28.9
      controlPlane: 1.28.9
      controllerManager: 1.28.9
      oldestNodeVersion: 1.28.9
      scheduler: 1.28.9

Describe the solution you'd like
We would like to be able to add data to registered clusters, which are not CAPI native. Add an additional API field for Sveltoscluster, to add Arbitrary data. no further changes should be necessary, since the rest can be handled with sprig templating.
Describe alternatives you've considered
We are aware, that this could be done via the clusters metadata, however we would like to provide a bit more complex arbritray data.
Additional context
Add any other context or screenshots about the feature request here.

Thanks for merging the first proposal, Regarding the second point I am unsure if we should implement that. I am registering clusters from a dedicated controller so for me it's not necessary. I also doubt you have any endusers yet, which require this.
I am unsure how the event framework works. Imho opinion, the data is managed by the user or some operator. The operator needs to update that information on the sveltoscluster. I dont think you should automate even more there.

This PR solved this. And based on this discussion no other change is needed on Sveltos side.
Closing it.


bisync/Cargo.toml is missing repository entry

Hello,
the bisync/Cargo.toml file is currently missing a repository entry; this makes it a bit difficult to find this repository here.
(bisync_macros/Cargo.toml has a repository entry)

fixed with release 0.2.3 (4ecaf2aa3ec78b299155f73865586f79aaa3c30d)

Thanks!


SOC 1 and SOC 2, Type 2 Certifications for GHAE

Summary
SOC 1 and SOC 2, Type 2 Certifications for GitHub AE.
Intended Outcome
Customers who have requirements for SOC 1 and SOC 2 compliance for any services they use, will be able to use GitHub AE. Note that the period of performance for the initial SOC report will be less than 12 months, due to the product being new. Some customers require a full year's performance, which will be available in CY22.
How will it work?
Any customer using GitHub AE will be assured of these certifications. They will be able to download relevant Azure SOC certificates from the Microsoft Trust Centre.

🚢 Shipped as of 12/5!


fix(openapi): set default on schema from FieldDefinition

Description
Consider the following:
    def get_foo(foo_id: int = 10) -> None:
        ...

In such cases, no KwargDefinition is created since there is no metadata provided via Annotated. The default is still parsed, and set on the generated FieldDefinition, however the SchemaCreator currently only considers defaults that are set on KwargDefinition.
So in such cases, we should fallback to the default set on the FieldDefinition if there is a valid default value.

Closes
Fixes #3278.

This does raise an interesting condition that we don't currently handle.

def get_foo(foo: Annotated[int, Parameter(default=20)] = 12) -> None:
    ....

In this case, the default in the generated schema would be 20. If there's such a mismatch between the values for default in FieldDefinition and it's associated KwargDefinition, then an error should be raised during startup itself. I didn't include it as part of this PR because I think that's best left as another PR, but also because I wasn't sure if that would be considered a breaking change.

This does raise an interesting condition that we don't currently handle.
def get_foo(foo: Annotated[int, Parameter(default=20)] = 12) -> None:
    ....

In this case, the default in the generated schema would be 20. If there's such a mismatch between the values for default in FieldDefinition and it's associated KwargDefinition, then an error should be raised during startup itself. I didn't include it as part of this PR because I think that's best left as another PR, but also because I wasn't sure if that would be considered a breaking change.

Good catch! Yeah, that should be an error on startup. I'd go even further as to now allow specifying defaults in two places to begin with. A default in Parameter should only be allowed if it's being used with the old param: int = Parameter(default=1) style, but not param: Annotated[int, Parameter(default=1)].


move autodeclination_test to google test and gtest cmake

I used cmake because it removes a lot of the regular Makefile boilerplate, automatically handles building gtest with the appropriate options, and nicely wraps the test output. Once all unittests move to gtest I can get rid of the Makefile and clean things up. If you feel strongly about plain Makefiles over cmake I could make it work, but I think this is cleaner.

Thanks, looking good!


gradlew build task fail for some of the example projects

The build task is normally used to compile and run the test for any gradle based projects. But most of the examples do not run correctly because of problems with the tests.

fatjar -- etlas fails with   unknown package: fatjar (dependency of fatjar-test-0.0.0)
multi -- etlas fails with   unknown package: multi (dependency of multi-test-0.0.0)
simple -- only works because simple package exists to meet the dependency
test --  seems to work because it does not include the application plugin

@pedantic79 Thanks for reporting this! We will look into it.

Fixed in 0.6.6.


GFCarousel active page indicator is not being updated without "onPageChanged"

I noticed that the active page indicator is not being updated without explicitly call setState on onPageChanged callback.
Currently, if I need to update the active page indicator, I have to use GFCarousel inside a stateful widget and set onPageChanged,
onPageChanged: (index){
        setState(() {});
},

Hey @yasalkhatib, I solved this by wrapping it in my own StatefulWidget and calling setState(). This is a limitation they have. Something that I am trying to figures out now is how to actually start the indicators at the right "startingPageIndex" if I set an initialPage = 5, and I have 6 items, I want the dots to show active indicator at the end. However, it isn't doing this for me.

That's correct you, need to wrap it in a stateful widget and then call setState({}) on onPageChanged callback. However, I believe, this is a bug and for sure is not the intended behavior.

Regarding your question about "startingPageIndex". I faced the same problem. After reading the code, I found that the current implementation of GFCarousel doesn't take into consideration the initalPageIndex and always sets the dot index to 0.
I will open an issue with a solution for that.

@yasalkhatib, sure. I created an issue here: #144

@yasalkhatib Hey, It will be fixed in upcoming version. Thank you


fix: Escape slash before dot

The registry keys are missing a slash between the vendor (Microsoft) and the product (.Net framework) .
Why Markdown insists on having an extra slash I don't know?
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\.NETFramework\v2.0.50727
gets rendered as HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft.NETFramework\v2.0.50727 ❌
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\\.NETFramework\v2.0.50727
gets rendered as HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\.NETFramework\v2.0.50727 ✅

#sign-off


Updating register page

Description
Register page looks like the figma
Fixes # (issue) <-- this is for issue numbers from GitHub,
Type of change
Please delete options that are not relevant.

[x] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)

Change Status

[x] Complete, tested, ready to review and merge
[ ] Complete, but not tested (may need new tests)
[ ] Incomplete/work-in-progress, PR is for discussion/feedback

How Has This Been Tested?

[x] Test A https://updating-register-page.d1ms51d9oybzjy.amplifyapp.com/
[ ] Test B

Checklist

[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[] My code has been reviewed by at least one peer
[x] I have commented my code, particularly in hard-to-understand areas
[x] I have made corresponding changes to the documentation
[x] My changes generate no new warnings
[x] I have added tests that prove my fix is effective or that my feature works
[x] New and existing unit tests pass locally with my changes
[x] There are no merge conflicts

Seems like there is a large white space at the bottom of the page as well as the Remember Me text not being aligned with the checkbox

@cmruss that looks SO nice!
The rest of the site is hitting conflicts; I assume that's because it hasn't pulled from master?
If we can resolve the conflicts this bad boy is ready to merge.

@cmruss that looks SO nice!
The rest of the site is hitting conflicts; I assume that's because it hasn't pulled from master?
If we can resolve the conflicts this bad boy is ready to merge.

Yep, yet to pull! Worked out much of the jump, but yeah! lemme get on that


add a link to a clean slate state

when in sandbox mode, it's possible to do a reset; clear
however when using the tool often this takes some time - to type and to execute
I would suggest to add a link from the Learn Git Branching header to go back to the main sandbox entry point and restart afresh
I actually have a possible PR to this end so if the idea feels right I can go ahead with it

I'd be fine with a shortcut :) you could add an shortcut here that achieves that, maybe a broom or trash can or something:

https://fontawesome.com/icons/broom?f=classic&s=solid

Speaking of which, tapping that "?" actually brings you to a screen where you can reset as well:


Git version on download page for OSX is not updated

https://git-scm.com/download/mac
Still downloads 2.6.4, not 2.7.4 which  is the current release. Even though it states that it will download the 2.7.4 version
When I click on 'maintained build' it redirects me to:
https://sourceforge.net/projects/git-osx-installer/
Where the latest version is 2.7.1
It also states the following
The current source code release is version 2.7.4. If you want the newer version, you can build it from the source code.
Which links me to: https://github.com/git/git/ that in turn links me to https://github.com/git/git/blob/master/INSTALL where I'm left clueless what to do. I don't get the installation instructions

+1
2.7.4 contains an important security fix. Due to that I can't do my own build, since our admin has disallowed us to use git with remote repos until we install 2.7.4. So I'm desparately waiting for the download! ;)

I'm going to close this as I think it's a subset of #268 (and the root of the issue is that the OS X packages are a totally independent project, which often lag the source releases by quite a bit).


Instantiate Project in intialize()

This should allow to re-initialize the LS for a different project without restarting it
@mniewrzal is this what you had in mind?

Yes, should be ok right now :+1:

Current coverage is 92.38% (diff: 75.00%)

Merging #89 into master will decrease coverage by 0.15%

@@             master        #89   diff @@
==========================================
  Files            26         26
  Lines           590        591     +1
  Methods          83         83
  Messages          0          0
  Branches          0          0
==========================================
  Hits            546        546
- Misses           44         45     +1
  Partials          0          0

Diff Coverage
File Path

•••••••    75%
src/LanguageServer.php

Powered by Codecov. Last update 691a0bd...eb963b0


[FEATURE REQ] Enable dependency injection for ServiceBusAdministrationClient

Library name
Azure.Messaging.ServiceBus
Please describe the feature.
Hi,
In Compatability/ServiceBusClientBuilderExtensions.cs in the Azure.Messaging.ServiceBus.sln we have a method to register a ServiceBusClient.
    /// <summary>
    ///   Registers a <see cref="ServiceBusClient"/> instance with the provided <paramref name="fullyQualifiedNamespace"/>.
    /// </summary>
    ///
    public static IAzureClientBuilder<ServiceBusClient, ServiceBusClientOptions> AddServiceBusClientWithNamespace<TBuilder>(this TBuilder builder, string fullyQualifiedNamespace)
        where TBuilder : IAzureClientFactoryBuilderWithCredential
    {
        return builder.RegisterClientFactory<ServiceBusClient, ServiceBusClientOptions>((options, token) => new ServiceBusClient(fullyQualifiedNamespace, token, options));
    }

Which allows registering it for DI via the following method
 public static IServiceCollection AddServiceBusUtil(this IServiceCollection services, IConfiguration config)
    {
        _ = config ?? throw new ArgumentNullException(nameof(config));

        services.AddAzureClients(builder => {
            builder.AddServiceBusClientWithNamespace(config.GetConnectionString("ServiceBus"));

        });
        return services;
    }

Which is great and makes managing client / client lifetime a lot easier.
Perhaps I missed another extension method, but it appears  that there is no equivalent for it for the ServiceBusAdministrationClient
It appears that using ServiceBusAdministrationClient ServiceBusAdministrationClientOptions would yield the same result. Is there more to it than adding a new extension method like this?
I've tested it out in my own application and it appears doing the same trick would be enough.
services.AddAzureClients(builder => {
            builder.AddServiceBusClientWithNamespace(config.GetConnectionString("ServiceBus"));
            (builder as IAzureClientFactoryBuilderWithCredential).RegisterClientFactory<ServiceBusAdministrationClient, ServiceBusAdministrationClientOptions>((options, token) => new ServiceBusAdministrationClient(config.GetConnectionString("ServiceBus"), token, options));
});

If it is a case of creating the same set of operations ServiceBusAdministrationClient offers I am more than happy to create a PR to support that.

Thank you for your feedback.  Tagging and routing to the team member best able to assist.

Hi @kaylumah,
Yes I think we would need three new methods patterned after the existing ones for ServiceBusClient. We would be happy to take a contribution!

@JoshLove-msft I've created #26225 since this is my first time contributing please let me know if anything else needs to be done.

@JoshLove-msft for example have unexpected changes since I ran the script suggested by one of the checks to regenerate some code

Thanks for the help resolving this @JoshLove-msft


wasme deploy istio usage message is wrong for multiple arguments

Describe the bug
The usage message for wasme deploy istio is wrong for both the --namespaces and --name options.
To Reproduce

Run this command and observe that --namespaces is identified as an unknown flag even though it is listed as an optional argument [--namespaces <comma separated namespaced] in the usage message.

% wasme deploy istio webassemblyhub.io/jameshbarton/remove-headers:v1.0 --id=remove-headers --config "x-envoy" --namespaces istio-system --name istio-ingressgateway
Error: unknown flag: --namespaces
Usage:
  wasme deploy istio <image> --id=<unique name> [--config=<inline string>] [--root-id=<root id>] [--namespaces <comma separated namespaces>] [--name deployment-name] [--patch-context={any|inbound|outbound|gateway}] [flags]

Flags:
      --cache-custom-command strings     custom command to provide to the cache server image
      --cache-image-pull-policy string   image pull policy for the cache server daemonset. see https://kubernetes.io/docs/concepts/containers/images/ (default "IfNotPresent")
      --cache-name string                name of resources for the wasm image cache server (default "wasme-cache")
      --cache-namespace string           namespace of resources for the wasm image cache server (default "wasme")
      --cache-repo string                name of the image repository to use for the cache server daemonset (default "quay.io/solo-io/wasme")
      --cache-tag string                 image tag to use for the cache server daemonset (default "0.0.33")
      --cache-timeout duration           the length of time to wait for the server-side filter cache to pull the filter image before giving up with an error. set to 0 to skip the check entirely (note, this may produce a known race condition). (default 1m0s)
  -h, --help                             help for istio
      --ignore-version-check             set to disable abi version compatability check.
      --istio-namespace string           the namespace where the Istio control plane is installed (default "istio-system")
      --istiod-name string               deployment name of the istiod (default "istiod")
  -l, --labels stringToString            labels of the deployment or daemonset into which to inject the filter. if not set, will apply to all workloads in the target namespace (default [])
  -n, --namespace string                 namespace of the workload(s) to inject the filter. (default "default")
      --patch-context string             patch context of the filter. possible values are any, inbound, outbound, gateway (default "inbound")
  -t, --workload-type string             type of workload into which the filter should be injected. possible values are daemonset, deployment, statefulset (default "deployment")

Global Flags:
      --config string    optional config that will be passed to the filter. accepts an inline string.
      --id string        unique id for naming the deployed filter. this is used for logging as well as removing the filter. when running wasme deploy istio, this name must be a valid Kubernetes resource name.
      --root-id string   optional root ID used to bind the filter at the Envoy level. this value is normally read from the filter image directly.
  -v, --verbose          verbose output

Change --namespaces to --namespace and rerun.  Note that --name is identified as an unknown flag even though it is listed as an optional argument [--name deployment-name] in the usage message.

% wasme deploy istio webassemblyhub.io/jameshbarton/remove-headers:v1.0 --id=remove-headers --config "x-envoy" --namespace istio-system --name istio-ingressgateway
Error: unknown flag: --name
Usage:
  wasme deploy istio <image> --id=<unique name> [--config=<inline string>] [--root-id=<root id>] [--namespaces <comma separated namespaces>] [--name deployment-name] [--patch-context={any|inbound|outbound|gateway}] [flags]
...

Expected behavior
Usage message should accurately reflect CLI arguments.
Additional context
% wasme --version
wasme version 0.0.33

Hey, I cannot reproduce this problem. --name is not supported，only use --namespace didnt get error

@swartz-k - I was able to reproduce just now.  This issue isn't about whether we can get wasme deploy istio to work; it's about correcting multiple confusing errors in the usage message.
In the first example above, I used the option --namespaces.  The usage message says that that is an unknown flag, but the following line says that it's an optional argument [--namespaces <comma separated namespaces>]:
wasme deploy istio <image> --id=<unique name> [--config=<inline string>] [--root-id=<root id>] [--namespaces <comma separated namespaces>] [--name deployment-name] [--patch-context={any|inbound|outbound|gateway}] [flags]
In the second example, I used the option --name.  Your comment says that --name is not supported, but the usage message clearly says that it is supported as an optional argument:
wasme deploy istio <image> --id=<unique name> [--config=<inline string>] [--root-id=<root id>] [--namespaces <comma separated namespaces>] [--name deployment-name] [--patch-context={any|inbound|outbound|gateway}] [flags]
The usage message should accurately reflect the acceptable CLI arguments.

@jameshbarton Thanks. I got that and found code about this logic. I will make pr to fix problems like this.


show validations per field for postgres

Motivation
Show the validation state for each field when the postgres options are selected. This is achieved by extending the Validate function and allowing it to pass in field names and validation details.

@pb82  is anything basically valid once we have a datasource name and the port is correct format?


Print event info button updates

Prints relevant information about the SimParticles, Reconstructed tracks and CaloCluster(s) in an event.
More information shall be added in the coming days.

The code mostly looks good. One thing, I'm wondering if we might want the print info in its own class which is then called by the GUI. Is that easy to do?

Ah like a PrintEventInfo.cc module which can be called by the GUI. I can try doing it. Will let you know soon if this is feasible.

Sure, that sounds fine. It should work. And then you make an object of that type in the GUI and call the functions in there


GUI not closeable for a long time after app is shut down

I'm trying to profile a 64-bit COM server DLL. It works, but after the DLL server is shut down (dllhst3g.exe or dllhost.exe), the "X" in the profiler GUI is still greyed out for a long time (at least 30 min). This locks the corresponding .pdb which makes development difficult.

Nevermind, in version 1.1.591.0 the GUI is closeable.


RIGHT String Function: #13

Implemeted RIGHT String Functions

Please fix conflicts @Lilit0x

Please check fike changes and fix migration, because now you deleted Stuff function from previous PR


Drag Bar disappeared

This is a bit weird - the drag bar at the bottom of the mini-window has disappeared and it's lodged itself in a place on the screen which means no matter how I resize the window I can't change it. Any ideas?

Shift-click the Resting Opacity title in SmallTime's settings to reset the window position.


Support for linux/arm64/v8 docker build

Hello,
aerospike-client-rest does not have support for linux/arm64/v8 manifest.
Are there any plans to do so?
Thank you

@kirtink, thanks for reaching out. We do have an arm64 build that you can pull from docker hub.  Could you explain more about the problems you are encountering and the steps to reproduce them?

@jdogmcsteezy, When I building the docker image, I get the following error:

no matching manifest for linux/arm64/v8 in the manifest list entries

      aerospike-client-rest:     container_name: aerospike-client-rest     image: aerospike/aerospike-rest-gateway:2.1.4
I think this is due to the architecture of the Apple M2 Pro processor, can you suggest a way to solve the problem? Thank you in advance for your help

@kirtink, it looks like you are trying to pull the docker images not build your own. Something does not look right.
  View summary of image vulnerabilities and recommendations → docker scout quickview linux/arm64/v8
> docker image inspect aerospike/aerospike-rest-gateway:2.1.4 --format '{{.Os}}/{{.Architecture}}'
linux/arm64

Could you try the same?

@jdogmcsteezy, Yes, you are right, the problem isn't in the rest getway client, the dependence on the usual aerospike was prescribed, the image of which has no support for my architecture. Thank you so much for your help!

The Aerospike image should also support arm64
On Thu, Oct 26, 2023 at 9:47 PM kirtink @.***> wrote:

@jdogmcsteezy https://github.com/jdogmcsteezy, Yes, you are right, the
problem isn't in the rest getway client, the dependence on the usual
aerospike was prescribed, the image of which has no support for my
architecture. Thank you so much for your help!
—
Reply to this email directly, view it on GitHub
https://github.com/aerospike/aerospike-rest-gateway/issues/160#issuecomment-1782286306,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AFKTNTRLW7BKZRG2JVBBMJDYBM4GRAVCNFSM6AAAAAA6PKP3GGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTOOBSGI4DMMZQGY
.
You are receiving this because you were mentioned.Message ID:
@.***>


Fixed review states printed from info() calls

Current dependencies on/for this PR:

main

PR #608   👈

This comment was auto-generated by Graphite.


Conductor: More structured logging

Summary
This PR adds more structured logs to the Conductor.
Background
We want better logging to improve traceability, debugging, monitoring, and analytics about the platform.
Changes

adds structured information to error! calls

Testing
How are these changes tested?
Breaking Changelist
N/A
Related Issues
https://github.com/astriaorg/astria/issues/14

also does this close #14?

Especially for repeated fields you can make use spans. Their fields are automatically added to the events that are emitted within them so you don't need to repeat e.g. actor_name = "foo".
You can get that for free by adding instrumenting your futures with the #[instrument] macro and defining your fields as required. See here for more: https://docs.rs/tracing/latest/tracing/attr.instrument.html
Note: this is only necessary for the future running at the highest level (here: run), and its span will get propagated to all futures (and functions) running within it. The only exception is futures that are spawned on the executor, which need to be instrumented explicitly. See the doc comment on the Instrument::instrument trait method here: https://docs.rs/tracing/latest/tracing/trait.Instrument.html#method.instrument

also does this close #14?

Not quite! I want to improve this structured tracing with spans to close #14


cpu: aarch64: Enable matmul bf16f32 format desc

This will allow generating desc for matmul of format src:bf16; wei:bf16; dst:f32 instead of reordering dst to bf16 and back to f32.
These kernels are directly used by cpu_flash_attention (sdpa).

cc: @yanbing-j can you please help with the review ?

Request @jgong5 for review.

Can we override things from the caller side?

Maybe we can, but if it's for this specific case, that'll imply there will be two sets of logic for bf16-f32 and f16 (or the cases which are still there) .
Unless we want to refactor the code (we can open a issue and look at the problem broadly) , it's better to have specific logic in do_prepare call ?

Can we override things from the caller side?

Maybe we can, but if it's for this specific case, that'll imply there will be two sets of logic for bf16-f32 and f16 (or the cases which are still there) . Unless we want to refactor the code (we can open a issue and look at the problem broadly) , it's better to have specific logic in do_prepare call ?

I guess I have mentioned my major concern of inconsistency of the semantics with the change between aarch64 and x86. I'm list the differences with the tables below:
aarch64

Source Type (src)
Destination Type (dst)
Destination Data Type (dst_datatype)

bf16
fp32
fp32

bf16
not fp32
bf16

fp16
any
fp16

other
any
fp32

x86

Source Type (src)
Destination Type (dst)
Destination Data Type (dst_data_type)

bf16
any
bf16

fp16
any
fp16

other
any
fp32

How can we make them aligned?

Yes, that's a tricky problem, if it's for the semantics to align, I'm not sure where we can do that. Even if we push this code higher (change to caller) , eg: https://github.com/intel/ideep/blob/c54a3ede72ae05b483ee81353e94227c3057424d/include/ideep/operators/matmul.hpp#L289
the logic will be similar right or do you think that's a better place to update design-wise?

Apology if this is repetitive. That will be tricky to test as well, right? This is a very specific change and if we were to align x86 in a similar fashion, we may loose on perf if there's no specific kernel of the format available. If it's for the semantics to align, I'm not sure where we can do that. Even if we push this code higher (change to caller) , eg:
https://github.com/intel/ideep/blob/c54a3ede72ae05b483ee81353e94227c3057424d/include/ideep/operators/matmul.hpp#L289
the logic will be similar right or do you think that's a better place to update design-wise?
cc: @jgong5

Frankly speaking, I don't quite understand why the datatype semantics has to be different across different CPU archs. It is not just about the questions of runtime efficiency but also about the precisions and accuracy that are visible to users. Can you explain why we have to make things different here?

Apology if this is repetitive. That will be tricky to test as well, right? This is a very specific change and if we were to align x86 in a similar fashion, we may loose on perf if there's no specific kernel of the format available. If it's for the semantics to align, I'm not sure where we can do that. Even if we push this code higher (change to caller) , eg:
https://github.com/intel/ideep/blob/c54a3ede72ae05b483ee81353e94227c3057424d/include/ideep/operators/matmul.hpp#L289
the logic will be similar right or do you think that's a better place to update design-wise?
cc: @jgong5

Frankly speaking, I don't quite understand why the datatype semantics has to be different across different CPU archs. It is not just about the questions of runtime efficiency but also about the precisions and accuracy that are visible to users. Can you explain why we have to make things different here?

The scaled-dot-product-attention op implemented in PyTorch calls cpublas::gemm. For dtype::bf16 , the gemm operator takes input mat in bf16 and returns a fp32 ref.
For x86, it's calling the underlying MKL kernel: mkl_gemm_bf16bf16f32 https://github.com/pytorch/pytorch/blob/f0f61443819ce19a16c8eef3a45a92e51dcfc17e/aten/src/ATen/native/CPUBlas.cpp#L420
The logic implemented here enables oneDNN to pick the ACL kernel. I hope this makes sense.

The scaled-dot-product-attention op implemented in PyTorch calls cpublas::gemm. For dtype::bf16 , the gemm operator takes input mat in bf16 and returns a fp32 ref. Pytorch code: https://github.com/pytorch/pytorch/blob/f0f61443819ce19a16c8eef3a45a92e51dcfc17e/aten/src/ATen/native/cpu/FlashAttentionKernel.cpp#L750
For x86, it's calling the underlying MKL kernel: mkl_gemm_bf16bf16f32 https://github.com/pytorch/pytorch/blob/f0f61443819ce19a16c8eef3a45a92e51dcfc17e/aten/src/ATen/native/CPUBlas.cpp#L420
The logic implemented here enables oneDNN to pick the ACL kernel. I hope this makes sense.

Yes, that makes sense. It means the precisions do keep the same between aarch64 and x86 for SDPA. And I also understand that we need the ideep API to handle two scenarios: one that returns the same data type as the input and one that returns fp32. We can extend the semantics of the API to support fp32 but I want the ideep API designed in a way to behave the same between aarch64 and x86, i.e., same data type mapping between input and output. I see two options (please comment if you have other ideas):

Let the caller to specify that it wants fp32 output instead of following the input data type. It can keep the original caller unchanged and not BC breaking. To me, it is a good choice. How are you going to invoke the onednn from SDPA? Can you specify that you want fp32 output from the caller?
Change the behavior of the API to return fp32 by default on some reasonable conditions. It is BC breaking. We need to double check the existing caller to see if it would break changes.

The scaled-dot-product-attention op implemented in PyTorch calls cpublas::gemm. For dtype::bf16 , the gemm operator takes input mat in bf16 and returns a fp32 ref. Pytorch code: https://github.com/pytorch/pytorch/blob/f0f61443819ce19a16c8eef3a45a92e51dcfc17e/aten/src/ATen/native/cpu/FlashAttentionKernel.cpp#L750
For x86, it's calling the underlying MKL kernel: mkl_gemm_bf16bf16f32 https://github.com/pytorch/pytorch/blob/f0f61443819ce19a16c8eef3a45a92e51dcfc17e/aten/src/ATen/native/CPUBlas.cpp#L420
The logic implemented here enables oneDNN to pick the ACL kernel. I hope this makes sense.

Yes, that makes sense. It means the precisions do keep the same between aarch64 and x86 for SDPA. And I also understand that we need the ideep API to handle two scenarios: one that returns the same data type as the input and one that returns fp32. We can extend the semantics of the API to support fp32 but I want the ideep API designed in a way to behave the same between aarch64 and x86, i.e., same data type mapping between input and output. I see two options (please comment if you have other ideas):

Let the caller to specify that it wants fp32 output instead of following the input data type. It can keep the original caller unchanged and not BC breaking. To me, it is a good choice. How are you going to invoke the onednn from SDPA? Can you specify that you want fp32 output from the caller?
Change the behavior of the API to return fp32 by default on some reasonable conditions. It is BC breaking. We need to double check the existing caller to see if it would break changes.

Thanks for the inputs. Alternatively, would it not be better to enable this for for both aarch64 and x86. I believe that'll be the best way handle this. This will align to the already existing MKL kernel which is already being called. It'll ensure the same precision for specific operators like SDPA ?
https://github.com/intel/ideep/pull/343#issuecomment-2482833306
The above suggested mechanism works, but in this case the caller is the descriptors which ideep generates right? And while setting the src_ and dst_ data_type here, we enable the respective onednn kernels to make dispatch decisions based on this ? Reference:
https://github.com/oneapi-src/oneDNN/blob/d94cc8d4fbed06867ed3bebb04ac91573175ebfa/src/cpu/aarch64/matmul/acl_matmul.cpp#L79

Thanks for the inputs. Alternatively, would it not be better to enable this for for both aarch64 and x86. I believe that'll be the best way handle this.

That sounds good to me. We'd better not break existing code though.

@jgong5 Please check if the changes looks good .

@yanbing-j @jgong5 a quick question.
is there a  release cadence to update the ideep hash in pytorch ?

@aditew01 Yes, basicly, we will update ideep along with oneDNN upgrade in PyTorch. The next update will be in PyTorch 2.7 release, because PyTorch 2.6 has branch cut.

Follow-up,
Are there any plans to upgrade ideep adhoc / intermittently to pytorch/nightly maybe ?
Giving a scenario , my current pytorch-PR needs the latest ideep_pytorch hash to work. So are there some upstream CI tests / test-suite which should be run to ensure sanity across which should pass to update the ideep hash ?
Is there a PR a template PR in pytorch which I can maybe follow? eg: PR
I'd really appreciate some overview of process and help here.

@aditew01 Thanks for the asking!
For now, upgrading ideep in PyTorch main branch is lagging to the update in ideep. We need to update ideep first, and create PR to upgrade ideep in PyTorch, and finally create PR to use the ideep change in PyTorch. Example is https://github.com/pytorch/pytorch/pull/141101.
The ideep hash is only used in oneDNN verbose logging. As a test PR, you don't need to change the hash version.

@yanbing-j thanks for the reply and support.
So essentially I opened a PR to upgrade ideep in PyTorch (https://github.com/pytorch/pytorch/pull/143508)
& this is the PR which will use the ideep  change - https://github.com/pytorch/pytorch/pull/140159/commits
I'm not entirely sure how I can use ghstack to make it a stacked PR, but `I'll ask for your advice on this.

@aditew01 Thanks for the work! I have requested @jgong5 to review https://github.com/pytorch/pytorch/pull/143508, hope Jiong or Nikita will review this PR. After the PR is merged into PyTorch, then you can rebase https://github.com/pytorch/pytorch/pull/140159.
ghstack needs write access to PyTorch, which needs PyTorch to invite you.


Play the Rosetta Code game

One nice way to experiment and test the language can be to implements the various tasks of the Rosetta Code project.
http://rosettacode.org/wiki/Category:Programming_Tasks
Current implemented tasks are in the https://github.com/privat/nit/tree/master/examples/rosettacode directory
Some tasks are implemented and not yet reported to the wiki pages. See http://rosettacode.org/wiki/Reports:Tasks_not_implemented_in_Nit for details

Template for a Nit entry in Rosetta Code:
=={{header|Nit}}==

Source: [$(URL) the official Nit’s repository]

<lang nit>$(IMPLEMENTATION)</lang>
{{out}}
<pre>$(OUT)</pre>

Where:

$(URL): The URL of the Nit module in GitHub (master branch). Should start with https://github.com/nitlang/nit/blob/master/examples/rosettacode
$(IMPLEMENTATION): Code of the module, excluding the boilerplate comments (shebang and copyright) and the # SEE: line.
$(OUT): The output, if meaningful. Usually, the content of the file found in tests/sav. If you don’t include the output, the whole {{out}}… part should be skipped.

Example: http://rosettacode.org/mw/index.php?title=Align_columns&diff=prev&oldid=247642
Notes:

Entries must be ordered by language name.
If you are not the author of the pull request that introduced the example in this repository, he/she should be mentioned in the commit message.


iOS build crash

Hi, when i try to run the example on this repo and even with another unity project, i get this build error in xcode
Undefined symbols for architecture arm64:   "_onUnityMessage", referenced from:       _UnityMessageManager_onUnityMessage_m8A904C01129EA827FDD76B08B34FAF9A6C4B5E36 in Assembly-CSharp.o      (maybe you meant: _UnityMessageManager_onUnityMessage_m8A904C01129EA827FDD76B08B34FAF9A6C4B5E36) ld: symbol(s) not found for architecture arm64 clang: error: linker command failed with exit code 1 (use -v to see invocation)
i've done correctly all the steps, i'm on unity 2019.3.0f6. Any idea how to solve this problem?

You must export project by using the build script of asmadsen. It will inject _onUnityMessage function to an .c file (i cant remember the name) of unityframework

I'm getting the same error. When you say "export project by using the build script of asmadsen" do you mean using the ReactNative/Export IOS option in Unity? If so, that's what I'm doing but still having this problem. I searched all the sources in my project (including the Pods and exported Unity project) and I'm not seeing the definition of onUnityMessage anywhere. Where exactly should it be defined?

I'm still trying to get my head around the codebase but I see that @asmadsen removed onUnityMessage from the iOS sources (https://github.com/asmadsen/react-native-unity-view/commit/05ab481f407e569ee2a3e78f646b67cf466528dc#diff-a9497c27e0f7d865a4cd461b56624e78L159). Was this a mistake or is the function supposed to be linked in from somewhere else?

If you look at the XCodePostBuild.cs file, you will see at line 187 that injects the UnityAppController.mm file onUnityMessage function.

This is the onUnityMessage function in the UnityAppController.mm file after successful export:

@matthewgertner

When you say "export project by using the build script of asmadsen" do you mean using the ReactNative/Export IOS option in Unity?
Yes.

Hi, sorry for not responding.
I belive that onUnityMessage was removed because of some issues with Unity not being able to send messages exactly once to ReactNative. The development got halted because of changes in functionality that didn't need it. But I have some uncommitted changes that might work, I will try it out and get back to you.

Thanks, @asmadsen. Is there some obvious workaround to get it to build in the meantime? I guess I can just patch the package locally if there's no better way.

@matthewgertner Are you trying to run the application on a physical device?
Because the simulator usually has a lot of issues, so trying to run it on a physical device might be easier

@asmadsen I was trying to archive it so I can upload it to TestFlight for testing. I did actually manage to get it to run on my device so you're probably right about that being easier. But I have to admit I can't understand why I didn't get the same linker error since presumably that missing function would be as issue when building for the device as well.

I don't have any problem with archiving an app.
What you can do, is check if the PostExport hook in Unity has been run. Just check if the file ios/UnityExport/classes/UnityAppController.mm contains // Added by https://github.com/asmadsen/react-native-unity-view anywhere.
There seems to be an issue with Unity not running the PostExport hook I haven't found any better solution than to delete the UnityExport folder and re exporting the project from Unity

@asmadsen I believe I figured this out. Not sure if this is something anyone else is experiencing but we had the .meta files for your build scripts checked into our repo. Seems like that prevented them from running correctly. When I deleted them and let Unity regenerate them, it started injecting the onUnityMessage as expected.

Totally strange BTW since it looks like the .meta files it generated are exactly the same as the ones in the repo. But somehow when I deleted them and let Unity regenerate them it magically started working.

Hello All,
I get error : diff: /Podfile.lock: No such file or directory
diff: /Manifest.lock: No such file or directory
error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.
when tried config UnityConfig.xcconfig in Configurations.
Any solution help me?

Hello All,
I get error : diff: /Podfile.lock: No such file or directory
diff: /Manifest.lock: No such file or directory
error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.
when tried config UnityConfig.xcconfig in Configurations.
Any solution help me?

Have you tried installing react native unity view module and running the pod install command in xcode?

Hi hanthuyen8,
Thanks for reply,
I had install react native unity view module, but only use react-native link module.

Hi hanthuyen8,
Thanks for reply,
I had install react native unity view module, but only use react-native link module.

So have you tried running the pod install command?

Yes, i do

Yes, i did

Well, I think the problem lies in the pod.  I think you try removing the pod, removing react-native unity view and reinstalling it.

Hi,
Do you have sample, I tried download demo and run  but not luck

Hi,
Do you have sample, I tried download demo and run but not luck

Sorry, the whole source code for all react-native has been on my company computer. I only have unity export for ios. Give it a try.
https://dtpeducationvn-my.sharepoint.com/:u:/g/personal/nhannh_dtp-education_com/EcW8xT0FMMJIlRy6nbRmSWkBZfk5s2Aa7MxGlpVaNoty5g?e=PvmC0J

ok Thank you so much

@asmadsen I believe I figured this out. Not sure if this is something anyone else is experiencing but we had the .meta files for your build scripts checked into our repo. Seems like that prevented them from running correctly. When I deleted them and let Unity regenerate them, it started injecting the onUnityMessage as expected.

Hi! Where are those files located? the .meta files

@asmadsen I believe I figured this out. Not sure if this is something anyone else is experiencing but we had the .meta files for your build scripts checked into our repo. Seems like that prevented them from running correctly. When I deleted them and let Unity regenerate them, it started injecting the onUnityMessage as expected.

Hello, I just tried your solution of deleting the .meta files for the iOS build and it finally worked, however I do not see the messages on the console. The game has a button to test communication and it works fine on Android, I can see the messages in the console but with iOS they don't show up, any ideas?

In the xcodepostbuild.cs replace
#if UNITY_IOS
with
#if UNITY_ANDROID
#else
This really fixed the problem for me.I think it has something to do with unity not compiling #if UNITY_IOS statement for some reason and all the commands in the xcodepostbuild.cs are not executed.Changing the if statement worked for me

In the xcodepostbuild.cs replace
#if UNITY_IOS
with
#if UNITY_ANDROID
#else
This really fixed the problem for me.I think it has something to do with unity not compiling #if UNITY_IOS statement for some reason and all the commands in the xcodepostbuild.cs are not executed.Changing the if statement worked for me

can you send screen?


extract cpu utilization of each cpu present in a vm.

Hi ,
I want to extract the CPU utilization information of each CPU present in an azure VM using a python script.
We have an agent called telegraf which extracts the CPU utilization of each CPU like:
CPU:       usage_idle
CPU 0      99.5991983967939
CPU1        99.3993993993999
In a similar way, I want to extract CPU utilization of each CPU of a VM using python.
Please provide me assistance.
Thanks

Hi @navya-goli
Please read this tutorial and confirm if it's fixing your issue or not:
http://azure-sdk-for-python.readthedocs.io/en/latest/sample_azure-monitor.html#metrics
Thank you,

Thank you for sending the tutorial link.
The link gives the CPU utilization of entire VM but my requirement is to find the CPU utilization of core CPUs of VM.
Hence can you help me further to find the CPU utilization of core CPUs of VM.
Thank You

I got an answer from the team:

With LAD 3.0 it will be possible to obtain per-core utilization information.

The VM metrics team asked me to tell you the best place to have a maximum help for this question is:
https://github.com/Azure/azure-linux-extensions


Chat with tts in ui

Hello, this rep is a good source to learn. I want to chat with ai in streamlit, but I dont find the record button or voice button when using this app. Is there any suggestion？

Hi @majiayu000
Thanks for reaching out. There wasn't (to the best of my knowledge) a straightforward way to do this in streamlit when I wrote this interface. I'll investigate if there are any updates that may help with this.
Feel free to give suggestions if you have any ideas :)

Thanks for reply.
I finally use streamlit-audiorecorder . It is a little long time since asked this
question, I forget the reason why I use this, but this is which I think best.

Thanks for the tip. I have one question though: Does it capture audio client-side? This is important when deploying remotely, so I'd appreciate it if you could share any insight you may already have using this component.
I came across a discussion at https://discuss.streamlit.io/t/speech-to-text-on-client-side-using-html5-and-streamlit-bokeh-events/7888/2 with a code suggestion but haven't been able to test it yet.

Hi, I don't quite understand your question. It capture audio on client side by js, and send the audio file to server side. At this point it is not totally client-side.

This has been fixed in the latest merge to main. Closing the issue. Thanks for the suggestion! :)


Using dep when upgrading a dependancy with breaking changes

Question: My project has several dependancies. Once of the dependancies has breaking changes between 2 versions. To get the latest version, so that I can update my code to work with the new changes, I've tried the following:

dep ensure -update

fails b/c ensure Solve(): fails

Add a Gopkg.toml constraint and add ignored packages

This seems to be working, but the repo I'm updating has ~20 packages that my project uses. I don't really want to maintain an ignored list, I just want dep to temporarily ignore constraints for this repo and download the latest version.

delete the repo from vendor and use go get temporarily

I'm just trying to make sure I'm not missing out on a "correct" way to do this with dep that's easier. Any response is greatly appreciated

Dep was officially deprecated earlier this year, and the proposal to archive this repository was accepted. As such, I'm closing outstanding issues before archiving the repository. For any further comments, please use the proposal thread on the Go issue tracker. Thanks!


Error on user search id column does not exist

Encounter this error while testing the authUser addition to the api responses: related to #33 and database changes to move id fields to entity_id format.
error: column "id" does not exist
at Parser.parseErrorMessage (/Users/briangormanly/projects/agora/node_modules/pg-protocol/dist/parser.js:287:98)
at Parser.handlePacket (/Users/briangormanly/projects/agora/node_modules/pg-protocol/dist/parser.js:126:29)
at Parser.parse (/Users/briangormanly/projects/agora/node_modules/pg-protocol/dist/parser.js:39:38)
at Socket. (/Users/briangormanly/projects/agora/node_modules/pg-protocol/dist/index.js:11:42)
at Socket.emit (node:events:514:28)
at addChunk (node:internal/streams/readable:376:12)
at readableAddChunk (node:internal/streams/readable:349:9)
at Readable.push (node:internal/streams/readable:286:10)
at TCP.onStreamRead (node:internal/stream_base_commons:190:23) {
length: 102,
severity: 'ERROR',
code: '42703',
detail: undefined,
hint: undefined,
position: '17',
internalPosition: undefined,
internalQuery: undefined,
where: undefined,
schema: undefined,
table: undefined,
column: undefined,
dataType: undefined,
constraint: undefined,
file: 'parse_relation.c',
line: '3648',
routine: 'errorMissingColumn'
}

Also found this error when search for a workspace by name:
error: column "workspace_name" does not exist
at Parser.parseErrorMessage (/Users/briangormanly/projects/agora/node_modules/pg-protocol/dist/parser.js:287:98)
at Parser.handlePacket (/Users/briangormanly/projects/agora/node_modules/pg-protocol/dist/parser.js:126:29)
at Parser.parse (/Users/briangormanly/projects/agora/node_modules/pg-protocol/dist/parser.js:39:38)
at Socket. (/Users/briangormanly/projects/agora/node_modules/pg-protocol/dist/index.js:11:42)
at Socket.emit (node:events:514:28)
at addChunk (node:internal/streams/readable:376:12)
at readableAddChunk (node:internal/streams/readable:349:9)
at Readable.push (node:internal/streams/readable:286:10)
at TCP.onStreamRead (node:internal/stream_base_commons:190:23)


Build fails because of `Theme.AppCompat.Light.NoActionBar not foundà

What

Build fails because of `Theme.AppCompat.Light.NoActionBar not foundà
Introduced by https://github.com/openfoodfacts/smooth-app/pull/981

Log
FAILURE: Build failed with an exception.

What went wrong:
Execution failed for task ':app:processDebugResources'.

A failure occurred while executing com.android.build.gradle.internal.res.LinkApplicationAndroidResourcesTask$TaskAction
Android resource linking failed
ERROR:/home/runner/work/smooth-app/smooth-app/packages/smooth_app/build/app/intermediates/packaged_manifests/debug/AndroidManifest.xml:62: AAPT: error: resource style/Theme.AppCompat.Light.NoActionBar (aka org.openfoodfacts.app:style/Theme.AppCompat.Light.NoActionBar) not found.

@M123-dev any idea what might have caused it in the Package merge ?

@teolemon @M123-dev My hunch: compileSdkVersion 31 and targetSdkVersion 31 in build.gradle.
In another 100% Android java project of mine, I've recently upgraded to 31. Could compile. But the app crashed at init time on Android 12 (not nice to have customers report that). Not the same issue, but I think 31 is problematic.

We are having the same issue on version 1 of OFF. I had to revert. It's probably some behavior change.

@monsieurtanuki sounds very likely like it.
From Stackoverflow it sounds like this is some change which happend 2015 when android 3 came out, so it's now probably completely removed.
https://stackoverflow.com/a/31402188/13313941

Example
heme.AppCompat.Light.NoActionBar
Becomes
Theme.Holo.Light.NoActionBar

I tried updating to Theme.Holo.Light.NoActionBar and without a theme at all, both didn't work. So I created a issue https://github.com/Yalantis/uCrop/issues/816, we have to wait what the maintainer responds

I just tried it with version 30 instead of 31 here https://github.com/openfoodfacts/smooth-app/tree/android-target-30 and it didn't work
The intersting things building on my machine works on 30 and 31

So we only need to import these line cause the image editing library depends on this native package, I was thinking about switching to a complete dart alternative, this solved this error, allows better debugging, support for other platforms etc...
Probably little less performance but we're not building a photo editing tool

For example https://pub.dev/packages/crop_your_image or https://pub.dev/packages/image_cropping

I am same Issue here,
Has there any solution yet?

We switched to a different image crop @Excel-Adeniyi  https://github.com/openfoodfacts/smooth-app/pull/1063


Alabulei1 quick start

Hello, I am a PR summary agent on flows.network.
It could take a few minutes for me to analyze this PR. Relax, grab a cup of coffee and check back later. Thanks!


require path breaking intellisense for javascript files

I have a problem which is caused by using ./ in the path of a require, for example: const AVariable = require('./index'); which breaks intellisense and most navigation functionality. VScode on mac.

VSCode Version: 1.17.2 (1.17.2)
OS Version: Mac Sierra 10.12.6

Steps to Reproduce:

Add any require anywhere in a file with a path that navigates up a folder using ./
Observe all navigation and intellisense no longer working upon reloading the file.

Reproduces without extensions: Yes

Can you please test this with VS Code insiders. The insiders builds bundle a new version of TypeScript which fixes a few import bugs around this path intellisense

I'll test it early tomorrow morning and get back to you. I'm UK time.
Thanks.
On 30 Oct 2017 5:22 pm, "Matt Bierner"<EMAIL_ADDRESS>wrote:

Can you please test this with VS Code insiders
https://code.visualstudio.com/insiders/. The insiders builds bundle a
new version of TypeScript which fixes a few import bugs around this path
intellisense
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/Microsoft/vscode/issues/37126#issuecomment-340518713,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AJnxnCMiw_eJTE5L4BH9WMyrXLRU4ZYbks5sxgXSgaJpZM4QK5ZP
.

Yep the insiders build fixes this, thanks a bunch you can close this, sorry to bother :)


Mini Map Enhancement

Description
Task: Mini Map Enhancement
Feature: #519
Innovate a mini map with new dot points that are able to track the positions of other entities (friendly NPCs, minigame NPCs, and bosses). The mini map will update in real-time when the entities move within the game world.
Milestones

[x] Implement new dot points that represent for friendly NPCs, minigame NPCs, and bosses. (Oct. 7).
[x] Fix bugs related to enemies' dot points (Oct. 9).
[x] Optimize Mini Map as it makes dropping FPS (Oct. 10).
[ ] Adjust the Mini Map Testing (Oct. 11).

Member

Minh Long Vu (@Slothlesss)

done in PR #589


Reload Preview not working

My pyproject.toml:
wagtail = "^2.15.2"
wagtail-birdsong = "^0.2.0"

I'm getting:
[27/Jan/2022 12:13:32] "POST /admin/newsletter/newsletter/edit/2/ HTTP/1.1" 403 2519
Forbidden (CSRF token missing or incorrect.): /admin/newsletter/newsletter/edit/2/

Also the green wagtail header is messed up:

I'll try to look into it further later.  For now I'm just going to overload the birdsong templates and these:
    form_view_extra_js = ['birdsong/js/preview_campaign.js']
    form_view_extra_css = ['birdsong/css/campaign-editor.css']

Let me know if I can be of assistance.  Thank you!!!

I fixed the CSRF issue, but now I'm getting this:
Traceback (most recent call last):
  File "/home/kurt/.cache/pypoetry/virtualenvs/polrev-root-FWL1_uR--py3.10/lib/python3.10/site-packages/django/core/handlers/exception.py", line 47, in inner
    response = get_response(request)
  File "/home/kurt/.cache/pypoetry/virtualenvs/polrev-root-FWL1_uR--py3.10/lib/python3.10/site-packages/django/core/handlers/base.py", line 181, in _get_response
    response = wrapped_callback(request, *callback_args, **callback_kwargs)
  File "/home/kurt/.cache/pypoetry/virtualenvs/polrev-root-FWL1_uR--py3.10/lib/python3.10/site-packages/django/views/decorators/cache.py", line 44, in _wrapped_view_func
    response = view_func(request, *args, **kwargs)
  File "/home/kurt/.cache/pypoetry/virtualenvs/polrev-root-FWL1_uR--py3.10/lib/python3.10/site-packages/wagtail/admin/urls/__init__.py", line 125, in wrapper
    return view_func(request, *args, **kwargs)
  File "/home/kurt/.cache/pypoetry/virtualenvs/polrev-root-FWL1_uR--py3.10/lib/python3.10/site-packages/wagtail/admin/auth.py", line 174, in decorated_view
    response = view_func(request, *args, **kwargs)
  File "/home/kurt/.cache/pypoetry/virtualenvs/polrev-root-FWL1_uR--py3.10/lib/python3.10/site-packages/wagtail/contrib/modeladmin/options.py", line 413, in edit_view
    return view_class.as_view(**kwargs)(request)
  File "/home/kurt/.cache/pypoetry/virtualenvs/polrev-root-FWL1_uR--py3.10/lib/python3.10/site-packages/django/views/generic/base.py", line 70, in view
    return self.dispatch(request, *args, **kwargs)
  File "/home/kurt/.cache/pypoetry/virtualenvs/polrev-root-FWL1_uR--py3.10/lib/python3.10/site-packages/django/utils/decorators.py", line 43, in _wrapper
    return bound_method(*args, **kwargs)
  File "/home/kurt/.cache/pypoetry/virtualenvs/polrev-root-FWL1_uR--py3.10/lib/python3.10/site-packages/django/contrib/auth/decorators.py", line 21, in _wrapped_view
    return view_func(request, *args, **kwargs)
  File "/home/kurt/.cache/pypoetry/virtualenvs/polrev-root-FWL1_uR--py3.10/lib/python3.10/site-packages/wagtail/contrib/modeladmin/views.py", line 707, in dispatch
    return super().dispatch(request, *args, **kwargs)
  File "/home/kurt/.cache/pypoetry/virtualenvs/polrev-root-FWL1_uR--py3.10/lib/python3.10/site-packages/django/utils/decorators.py", line 43, in _wrapper
    return bound_method(*args, **kwargs)
  File "/home/kurt/.cache/pypoetry/virtualenvs/polrev-root-FWL1_uR--py3.10/lib/python3.10/site-packages/django/contrib/auth/decorators.py", line 21, in _wrapped_view
    return view_func(request, *args, **kwargs)
  File "/home/kurt/.cache/pypoetry/virtualenvs/polrev-root-FWL1_uR--py3.10/lib/python3.10/site-packages/wagtail/contrib/modeladmin/views.py", line 81, in dispatch
    return super().dispatch(request, *args, **kwargs)
  File "/home/kurt/.cache/pypoetry/virtualenvs/polrev-root-FWL1_uR--py3.10/lib/python3.10/site-packages/django/views/generic/base.py", line 98, in dispatch
    return handler(request, *args, **kwargs)
  File "/home/kurt/.cache/pypoetry/virtualenvs/polrev-root-FWL1_uR--py3.10/lib/python3.10/site-packages/birdsong/views/editor.py", line 89, in post
    return ajax_preview(request, self)
  File "/home/kurt/.cache/pypoetry/virtualenvs/polrev-root-FWL1_uR--py3.10/lib/python3.10/site-packages/birdsong/views/editor.py", line 66, in ajax_preview
    if form.is_valid():
  File "/home/kurt/.cache/pypoetry/virtualenvs/polrev-root-FWL1_uR--py3.10/lib/python3.10/site-packages/modelcluster/forms.py", line 318, in is_valid
    form_is_valid = super(ClusterForm, self).is_valid()
  File "/home/kurt/.cache/pypoetry/virtualenvs/polrev-root-FWL1_uR--py3.10/lib/python3.10/site-packages/django/forms/forms.py", line 175, in is_valid
    return self.is_bound and not self.errors
  File "/home/kurt/.cache/pypoetry/virtualenvs/polrev-root-FWL1_uR--py3.10/lib/python3.10/site-packages/django/forms/forms.py", line 170, in errors
    self.full_clean()
  File "/home/kurt/.cache/pypoetry/virtualenvs/polrev-root-FWL1_uR--py3.10/lib/python3.10/site-packages/django/forms/forms.py", line 372, in full_clean
    self._clean_fields()
  File "/home/kurt/.cache/pypoetry/virtualenvs/polrev-root-FWL1_uR--py3.10/lib/python3.10/site-packages/django/forms/forms.py", line 384, in _clean_fields
    value = field.widget.value_from_datadict(self.data, self.files, self.add_prefix(name))
  File "/home/kurt/.cache/pypoetry/virtualenvs/polrev-root-FWL1_uR--py3.10/lib/python3.10/site-packages/wagtail/core/blocks/base.py", line 535, in value_from_datadict
    return self.block_def.value_from_datadict(data, files, name)
  File "/home/kurt/.cache/pypoetry/virtualenvs/polrev-root-FWL1_uR--py3.10/lib/python3.10/site-packages/wagtail/core/blocks/stream_block.py", line 97, in value_from_datadict
    count = int(data['%s-count' % prefix])
  File "/home/kurt/.cache/pypoetry/virtualenvs/polrev-root-FWL1_uR--py3.10/lib/python3.10/site-packages/django/utils/datastructures.py", line 78, in __getitem__
    raise MultiValueDictKeyError(key)
django.utils.datastructures.MultiValueDictKeyError: 'body-count'
[27/Jan/2022 13:32:19] "POST /admin/newsletter/newsletter/edit/2/ HTTP/1.1" 500 186371

I got tired of messing with it so I created a preview tab and a custom EditHandler.
I'll put together a PR if anyone likes this solution

Yes, please make a PR, that would be appreciated.

I've been trying to get this working on a project for a few days now and still unable to find the root cause of why wagtail-birdsong preview is broken in wagtail 2.15.0
After digging around I have found that in wagtail 2.14.2 request.POST in https://github.com/neon-jungle/wagtail-birdsong/blob/master/birdsong/views/editor.py#L65 returns something like:
<QueryDict: {
  "csrfmiddlewaretoken": ["xxxxxxxxxx"],
  "name": ["name"],
  "subject": ["subject"],
  "body-count": ["1"],
  "body-0-deleted": [""],
  "body-0-order": ["0"],
  "body-0-type": ["rich_text"],
  "body-0-id": ["xxxxxxxxxx"],
  "body-0-value": [
    {
      "blocks": [...],
      "entityMap": {}
    }
  ]
}>

however in wagtail 2.15.0 request.POST returns only <QueryDict: {}> which produces the error django.utils.datastructures.MultiValueDictKeyError: 'body-count'
I'm yet to find what has changed in wagtail 2.15.0 that would cause this..
Does anyone have an ideas as I'm not sure where to look next.

@danhayden I think the structure of the templates has changed between 2.13 -> 2.15, that's why the UI looks a little messed up when you upgrade (random bars down the bottom).
If the post is empty I'd check the markup and make sure that those fields are in the form, at that the form tag encloses them properly could be that the browser is auto-closing the tag so it ends up with something like -
<form>
   ... empty ...
 </form>

 <input />
<input />
etc


Classes are not applied to the circle [BUG]

Describe the bug
I add custom classes to the circle, but I don't see changes
To Reproduce
Steps to reproduce the behavior:

I add custom classes "test1" and "test2" in the draw.component.css
https://github.com/oduvanka/checkered-notebook/blob/error-classes/src/app/draw/draw.component.css
I create public myClasses: string[] and initialized this.myClasses = ['test1'] in the draw.component.ts
https://github.com/oduvanka/checkered-notebook/blob/error-classes/src/app/draw/draw.component.ts#L35
I add attr <svg-circle ... [classes]="myClasses" ... ></svg-circle> in the draw.component.html
https://github.com/oduvanka/checkered-notebook/blob/error-classes/src/app/draw/draw.component.html#L25
I do not see changes in the browser :(

Expected behavior
I expected the circles to have a stroke
Desktop

OS: Ubuntu 18 / Windows 8
Browser: Google Chrome
Version: 75.0.3770.142 (x64)

Additional context
Angular 8

Hi @oduvanka .
You need to use ::ng-deep flag. See this for reference.
You can update your css to the following -
  ::ng-deep .test1 {
    stroke: black;
    stroke-width: 3;
  }

  ::ng-deep .test2 {
    fill-opacity: 0.5;
  }

Please let me know if this doesn't resolve the issue.

Thank you, problem solved :)


Gitlab commit status api

Tasks for status api

[ ] Add https://github.com/xanzy/go-gitlab as a gitlab client
[ ] Oauth for gitlab.com is this PRIVATE-TOKEN the same thing or the api token?
[ ] Ouath provider in app ?
[ ] API token for custom installs ? PRIVATE-TOKEN
[ ] UI for adding api key and url (github_hosted) ? provider
[ ] SendNotification from agent - code split base on client -- if gitlab send to gitlab

Some stuff about how Jenkins is integrated with GitLab:
https://github.com/jenkinsci/gitlab-plugin
https://docs.gitlab.com/ee/integration/jenkins.html


Use ETASU status to determine which links to return in CDS Hooks card.

Describe your changes
Use ETASU status to determine which links to return in CDS Hooks card.
Issue ticket number and Jira link
REMS-421
Checklist before requesting a review

[x] I have performed a self-review of my code
[x] Ensure the target / base branch for any feature PR is set to dev not main (the only exception to this is releases from dev and hotfix branches)

Checklist for conducting a review

[ ] Review the code changes and make sure they all make sense and are necessary.
[ ] Pull the PR branch locally and test by running through workflow and making sure everything works as it is supposed to.

Workflow
Owner of the Pull Request will be responsible for merge after all requirements are met, including approval from at least one reviewer. Additional changes made after a review will dismiss any approvals and require re-review of the additional updates. Auto merging can be enabled below if additional changes are likely not to be needed. The bot will auto assign reviewers to your Pull Request for you.

Went through workflow and it works with no errors.
One thing was the cards only went away after refreshing the page or resubmitting to rems admin. Maybe could add a future task of having a state listener or another way to automatically re-render the component.

The hooks and cards are only supposed to be submitted as needed, I'm not sure just resubmitting them repeatedly is the way it's supposed to operate. I'll have to look into that.


Release.Version?

What is the release.version used for in a component definition?
release:
  version: 0.1.0

It was meant to be a version of the component itself, and we used it in the early days to force redeployments by bumping it and thus artificially creating a diff. Since it has little use, and it confuses people (e.g. #58), I am planning to get rid of it, or at least make it optional. Does that help?

That does help.
Are there any valid usecases for it today that you can think of?

Not that I can think of.


Online demo

Couldn't find a link to an online demo. Seems like it might be useful!

@gaearon wow hello!
Just put one up at https://devii.dev and updated the README/repo accordingly 🤙  Thanks for the motivation :)

@gaearon oh I made a really dumb joke on the homepage. It's clear it's a joke but I'm happy to take it down if you don't like it:


Azcopy sync from az container to LAN file share is not preserving timestamps

Which version of the AzCopy was used?
10.17.0
Which platform are you using? (ex: Windows, Mac, Linux)
Windows
What command did you run?
azcopy sync [azure storage account container path] [LAN file share path] --mirror-mode=true --delete-destination=true
My intent is a one-way sync, so I only want changes at the target (file share), but do not want any changes made to the source (az container). Hence the use of mirror-mode.
What problem was encountered?
On every run, azcopy sync is copying all files from storage account to file share even when the same unchanged file was copied before in an earlier session. Noticed that the files in the storage account have the 'last modified date' changed to the time of the sync and do not match the 'last modified date' of the files in the azure container.
Even if I don't use mirror-mode, it still does not copy timestamps from source to target.
I see that 'azcopy copy' has a --preserve-last-modified-time parameter but 'azcopy sync' does not. Could the issue be that azcopy is copying the files again because the 'last modified time' are different but since it doesn't preserve it, it'll always copy the files over again?
Not sure about a workaround. Use 'azcopy copy --preserve-last-modified' to a temporary location and then use robocopy /MIR /COPY:DT /DCOPY:T to final destination???

That's odd that --preserve-smb-info doesn't pick up the LMT properly. Are you sure that the SMB info was persisted on upload?

Closing due to inactivity in the thread. Feel free to reopen the issue once you have an answer for our team in case you are still experiencing this issue.


Search on follower. following and likers

hi please help me to find endpoint for find specific user on follower
i also need endpoint for search on following and post likers.
thank you 🙏🙏🙏🙏🙏❤❤❤❤❤❤

+1


Exactly path of vue-i18n-locales.generated.js

Hello.
into method getFileName of file GenerateInclude.php you should use public_path() instead of base_path().
Bye
Paolo

What is the issue that would be solved by this?


MINOR: always call onPartitionsLost in eager rebalancing

To prevent backwards compatibility issues for example with those using mismatched versions of Streams and clients, we must always call onPartitionsLost in the eager case

@guozhangwang @hachikuji

I'm going to close this as I think we should just do the "right" thing and not worry about hacking things to be compatible for this specific case of startup

Reopening this as it is needed to fix the broken version probing system test. I'm looking into possible better alternatives but we should consider merging this for now so that trunk is stable @guozhangwang @ijuma @hachikuji @bbejeck


Type error: Namespace 'React' has no exported member 'ElementType'.

Trying to migrate to latest version of material-ui, but I'm getting following compilation error.

<EMAIL_ADDRESS>Type error: Namespace 'React' has no exported member 'ElementType'.  TS2694

if I look into react/index.d.ts there's indeed no ElementType type defined.

[ X ] This is not a v0.x issue.
[ X ] I have searched the issues of this repository and believe that this is not a duplicate.

Your Environment 🌎

Tech
Version

Material-UI
^4.0.2

React
^16.8.6

TypeScript
3.3.3

tsconfig>
{   "compilerOptions": {     "target": "es6",     "allowJs": true,     "skipLibCheck": false,     "esModuleInterop": true,     "allowSyntheticDefaultImports": true,     "strict": false,     "forceConsistentCasingInFileNames": true,     "module": "esnext",     "moduleResolution": "node",     "resolveJsonModule": true,     "isolatedModules": true,     "noEmit": true,     "jsx": "preserve",     "experimentalDecorators": true   },   "include": [     "src"   ] }

This is likely due to an outdated version of @types/react. Try upgrading that version to at least ^16.8.6

My Bad! I was on @types/react version 16.8.3.
Moving to version 16.8.19 fixes the issue!

already on version "@types/react": "^16.9.32", still gettins same issue

@anuja8275 I solved my issue that could be your issue by changing my filename from .ts to .tsx and by importing React.

This is likely due to an outdated version of @types/react. Try upgrading that version to at least ^16.8.6
not working actually
"@types/react": "^16.9.46",

If anyone is converting their App from JS to TS then they have to rename the filename to ts and tsx respectively, wherever jsx is written those files should be converted to tsx.