Drm playback failure on Samsung Tizen 2018 TV model

Description
We are trying to play Dash+Widevine contents on Samsung Tizen 2018 TV model.
Here the playback is failing randomly with the ProtectionContoller module throwing Access Denied error.
Steps to reproduce
Explain in detail the exact steps necessary to reproduce the issue.

Play a Dash + Widevine content

Results
Expected
Content should Play
Actual
Content plays for a few secs and then a Drm error is thrown
Error output
[1412][Stream] DRM: KeySystem Access Denied! -- Error selecting key system! -- Error selecting keys system (com.widevine.alpha)! Could not create MediaKeys -- TODO
Additional Information
Please include any additional information necessary here. Including the following:
versions
videojs
Dash.js version:4.4.0
browsers
Samsung Tizen
OSes
Tizen
plugins
VideoJS Contrib Dash: 2.11.0
logs
logixvideoplayerlib.js:156861 initDrmEngine --
logixvideoplayerlib.js:165395 license ++++++++++ https://test.com/wvproxy?videoid=2000553617&vootid=1390338&isVoot…SWdUV0Z1WTJobGMzUmxjakVKSU8ifQ.FPcE0ljUS4iY4g3fKqEA4zVlXvFhCEGLCAnWAtD8dgk
logixvideoplayerlib.js:156781 DRM Engine Initalize plugin success => success
(anonymous) @ logixvideoplayerlib.js:156781
logixvideoplayerlib.js:158921 keySystems  [{"uuid":"9a04f079-9840-4286-ab92-e65be0885f95","schemeIdURI":"urn:uuid:9a04f079-9840-4286-ab92-e65be0885f95","systemString":"com.microsoft.playready"},{"uuid":"edef8ba9-79d6-4ace-a3c8-27dcd51d21ed","schemeIdURI":"urn:uuid:edef8ba9-79d6-4ace-a3c8-27dcd51d21ed","systemString":"com.widevine.alpha"},{"uuid":"e2719d58-a985-b3c9-781a-b030af78d30e","schemeIdURI":"urn:uuid:e2719d58-a985-b3c9-781a-b030af78d30e","systemString":"org.w3.clearkey"},{"uuid":"1077efec-c0b2-4d02-ace3-3c1e52e2fb4b","schemeIdURI":"urn:uuid:1077efec-c0b2-4d02-ace3-3c1e52e2fb4b","systemString":"org.w3.clearkey"}]
logixvideoplayerlib.js:158926 filtered keySystem : [{"uuid":"9a04f079-9840-4286-ab92-e65be0885f95","schemeIdURI":"urn:uuid:9a04f079-9840-4286-ab92-e65be0885f95","systemString":"com.microsoft.playready"},{"uuid":"edef8ba9-79d6-4ace-a3c8-27dcd51d21ed","schemeIdURI":"urn:uuid:edef8ba9-79d6-4ace-a3c8-27dcd51d21ed","systemString":"com.widevine.alpha"},{"uuid":"e2719d58-a985-b3c9-781a-b030af78d30e","schemeIdURI":"urn:uuid:e2719d58-a985-b3c9-781a-b030af78d30e","systemString":"org.w3.clearkey"},{"uuid":"1077efec-c0b2-4d02-ace3-3c1e52e2fb4b","schemeIdURI":"urn:uuid:1077efec-c0b2-4d02-ace3-3c1e52e2fb4b","systemString":"org.w3.clearkey"}]
logixvideoplayerlib.js:158935 set keysytem:  [{"uuid":"edef8ba9-79d6-4ace-a3c8-27dcd51d21ed","schemeIdURI":"urn:uuid:edef8ba9-79d6-4ace-a3c8-27dcd51d21ed","systemString":"com.widevine.alpha"}]
logixvideoplayerlib.js:83943 Settings parameter streaming.flushBufferAtTrackSwitch is not supported
logixvideoplayerlib.js:83943 Settings parameter streaming.reuseExistingSourceBuffers is not supported
logixvideoplayerlib.js:82484 [35] Stopping the gap controller
logixvideoplayerlib.js:82484 [47][MediaPlayer] [dash.js 4.4.0] MediaPlayer has been initialized
logixvideoplayerlib.js:82484 [52][MediaPlayer] Streaming Initialized
logixvideoplayerlib.js:82484 [61][EventController] Start Event Controller
logixvideoplayerlib.js:82484 [74][MediaPlayer] Playback Initialized
logixvideoplayerlib.js:82484 [183][DashParser] Parsing complete: ( xml2json: 32.5ms, objectiron: 1.17ms, total: 0.0337s)
logixvideoplayerlib.js:82484 [188][StreamController] Manifest updated... updating data system wide.
logixvideoplayerlib.js:82484 [196][ManifestUpdater] Manifest has been refreshed at Fri Nov 04 2022 11:54:47 GMT+0530 (IST)[1667543087.293]
logixvideoplayerlib.js:82484 [209][GapController] Starting the gap controller
logixvideoplayerlib.js:82484 [210][StreamController] Switch to stream 0. Seektime is 0, current playback time is null. Seamless period switch is set to false
logixvideoplayerlib.js:82484 [214][StreamController] MediaSource attached to element.  Waiting on open...
logixvideoplayerlib.js:82484 [400][StreamController] MediaSource is open!
logixvideoplayerlib.js:82484 [402][MediaSourceController] Set MediaSource duration:3882.49609375
logixvideoplayerlib.js:82484 [415][DOMStorage] Last saved bitrate for video was 92258
logixvideoplayerlib.js:82484 [423][SegmentBaseLoader] Perform SIDX load for type video : https://test.akamaized.net/content/entry/wvdata/90/55/5a4b5d00596911edb3e2d30fb91f7d73_248_v.mp4 with range 1110 - 5809
logixvideoplayerlib.js:82484 [433][SegmentBaseLoader] Perform SIDX load for type video : https://test.akamaized.net/content/entry/wvdata/90/55/5a4b5d00596911edb3e2d30fb91f7d73_464_v.mp4 with range 1110 - 5809
logixvideoplayerlib.js:82484 [441][SegmentBaseLoader] Perform SIDX load for type video : https://test.akamaized.net/content/entry/wvdata/90/55/5a4b5d00596911edb3e2d30fb91f7d73_696_v.mp4 with range 1110 - 5809
logixvideoplayerlib.js:82484 [449][SegmentBaseLoader] Perform SIDX load for type video : https://test.akamaized.net/content/entry/wvdata/90/55/5a4b5d00596911edb3e2d30fb91f7d73_896_v.mp4 with range 1146 - 5845
logixvideoplayerlib.js:82484 [456][SegmentBaseLoader] Perform SIDX load for type video : https://test.akamaized.net/content/entry/wvdata/90/55/5a4b5d00596911edb3e2d30fb91f7d73_1328_v.mp4 with range 1112 - 5811
logixvideoplayerlib.js:82484 [465][SegmentBaseLoader] Perform SIDX load for type video : https://test.akamaized.net/content/entry/wvdata/90/55/5a4b5d00596911edb3e2d30fb91f7d73_2492_v.mp4 with range 1114 - 5813
logixvideoplayerlib.js:82484 [472][SegmentBaseLoader] Perform SIDX load for type video : https://test.akamaized.net/content/entry/wvdata/90/55/5a4b5d00596911edb3e2d30fb91f7d73_4192_v.mp4 with range 1116 - 5815
logixvideoplayerlib.js:82484 [486][SegmentBaseLoader] Perform SIDX load for type audio : https://test.akamaized.net/content/entry/wvdata/90/55/5a4b5d00596911edb3e2d30fb91f7d73_464_a.mp4 with range 942 - 5641
logixvideoplayerlib.js:82484 [491][Stream] No text data.
logixvideoplayerlib.js:82484 [494][Stream] No muxed data.
logixvideoplayerlib.js:82484 [496][Stream] No image data.
logixvideoplayerlib.js:82484 [502][SourceBufferSink][video] Updated append window for video. Set start to 0 and end to 3882.5060900000003
logixvideoplayerlib.js:82484 [515][SourceBufferSink][audio] Updated append window for audio. Set start to 0 and end to 3882.5060900000003
logixvideoplayerlib.js:82484 [560][SegmentBaseLoader] Parsing segments from SIDX. representation video - id: 6 for range : 1110 - 5809
logixvideoplayerlib.js:82484 [589][SegmentBaseLoader] Parsing segments from SIDX. representation video - id: 2 for range : 1110 - 5809
logixvideoplayerlib.js:82484 [631][SegmentBaseLoader] Parsing segments from SIDX. representation video - id: 8 for range : 1146 - 5845
logixvideoplayerlib.js:82484 [650][SegmentBaseLoader] Parsing segments from SIDX. representation video - id: 4 for range : 1110 - 5809
logixvideoplayerlib.js:82484 [678][SegmentBaseLoader] Parsing segments from SIDX. representation video - id: 10 for range : 1112 - 5811
logixvideoplayerlib.js:82484 [722][SegmentBaseLoader] Parsing segments from SIDX. representation video - id: 14 for range : 1116 - 5815
logixvideoplayerlib.js:82484 [736][SegmentBaseLoader] Parsing segments from SIDX. representation video - id: 12 for range : 1114 - 5813
logixvideoplayerlib.js:82484 [744][AbrController] Stream ID: 0 [video] switch from 0 to 2/6 (buffer: 0) .
logixvideoplayerlib.js:82484 [747][StreamProcessor][video] Preparing quality switch for type video
logixvideoplayerlib.js:82484 [750][FragmentModel][video] abort requests
logixvideoplayerlib.js:82484 [780][SegmentBaseLoader] Parsing segments from SIDX. representation audio - id: 5 for range : 942 - 5641
logixvideoplayerlib.js:82484 [801][ScheduleController][video] Quality has changed, get init request for representationid = 6
logixvideoplayerlib.js:82484 [875][BufferController][video] Append Init fragment video  with representationId: 6  and quality: 2 , data size: 1110
logixvideoplayerlib.js:82484 [878][StreamProcessor][video] OnFragmentLoadingCompleted for stream id 0 and media type video - Url: https://test.akamaized.net/content/entry/wvdata/90/55/5a4b5d00596911edb3e2d30fb91f7d73_696_v.mp4 , Range:0-1109
logixvideoplayerlib.js:82484 [884][ProtectionController] DRM: onNeedKey
logixvideoplayerlib.js:82484 [885][ProtectionController] DRM: initData: ���-pssh����íï�©yÖJÎ£È'ÜÕ�!í���
"� �U6�HãÜ���
logixvideoplayerlib.js:82484 [888][ProtectionModel_21Jan2015] Requesting key system access for system string com.widevine.alpha
logixvideoplayerlib.js:121254 It is recommended that a robustness level be specified. Not specifying the robustness level could result in unexpected behavior in the future, potentially including failure to play.
logixvideoplayerlib.js:82484 [895][ProtectionController] DRM: KeySystem Access Granted for system string (com.widevine.alpha)!  Selecting key system...
logixvideoplayerlib.js:82484 [897][ScheduleController][video] Appended bytes for video and stream id 0
logixvideoplayerlib.js:82484 [899][ScheduleController][video] [video] lastInitializedRepresentationInfo changed to 2
logixvideoplayerlib.js:82484 [913][ScheduleController][video] Top quality video index has changed from NaN to 6
logixvideoplayerlib.js:82484 [914][ScheduleController][video] Media segment needed for video and stream id 0
logixvideoplayerlib.js:82484 [916][DashHandler][video] Index for time 0 is 0
logixvideoplayerlib.js:82484 [918][StreamProcessor][video] Next fragment request url for stream id 0 and media type video is https://test.akamaized.net/content/entry/wvdata/90/55/5a4b5d00596911edb3e2d30fb91f7d73_696_v.mp4
logixvideoplayerlib.js:155518 this.dashError :  Object {error: DashJSError, type: "error"}
logixvideoplayerlib.js:82484 [1412][Stream] DRM: KeySystem Access Denied! -- Error selecting key system! -- Error selecting keys system (com.widevine.alpha)! Could not create MediaKeys -- TODO

Hi any update on this?
Were you able to make it work?

Any update ?

Hi,
I have similar issue. Dash.js try to load playready drm but we need to use widevine DRM system.
[XHR] POST http://override.in.client/ 0 ()
DRM: licenser error! --com.microsoft.playready update, XHR error. status is "" (0), readyState is 4
Our DRM configuration is the following key system configuration:

"com.widevine.alpha": {
                      "serverURL": widevine.licenseServerUrl,
                      "httpRequestHeaders": {
                          "nv-authorizations": DRMController.getAuthToken()
                      }
                  }

In addition, this configuration works in Chrome devices but not in chromium.
Thanks,
Jesús Martínez


Make "Find a pub" button to show Europe

###What's to be corrected:
Today, when anyone clicks on "Find a pub" in our main page, it takes them to a search for pubs in Ireland. This is the URL when we click on "Find a pub": https://www.whichost.com/s?address=Ireland&bounds=55.36%2C-5.911%2C51.427%2C-10.382&origin=53.357%2C-7.756

Since our Ambassador in England is very effective, we already have listings in the UK, so we need to show them.
The proposal is that instead of searching in Ireland, it searches in Europe. This would be the URL when we click on "Find a pub" to go to Europe: https://www.whichost.com/s?address=Europe&bounds=70.71204014%2C45.4777832%2C21.15962161%2C-15.36450195&mapSearch=true

###How should it look like (screenshot or sketch):
When users click on "Find a pub" it takes to this:

###How should it work (write use case):
User clicks on "Find a pub" and instead of only searching in Ireland, it searches in Europe. The URL is:  https://www.whichost.com/s?address=Europe&bounds=70.71204014%2C45.4777832%2C21.15962161%2C-15.36450195&mapSearch=true
Priority (tag accordingly): Regular
Domain (tag accordingly): Frontend
Tested on: (platform, OS, browser, version) Windows, latest, Chrome, latest
Branch: Staging
Work on it

Work on staging or master (if it's urgent)
Tag with ongoing and move the card to ongoing.
Correct the default
Commit your work
Create a PR (if it's urgent) and ask for validation. Move the card to staged.
Close the issue if all the work have been done

** Validate **

Check on mobile and on desktop if the default have been correctly corrected.
If everything is working fine, move the card toaccepted column.
If the feature isn't completely implemented, re-open the issue with a comment clearly what the problem is and what is the desired result. Move the card to have issues column.

Please follow https://github.com/Whichost/frontend/wiki/Git-workflow

Please use United Kingdom and this URL in the button:
https://www.whichost.com/s?address=United Kingdom&bounds=63.07939133%2C7.91880653%2C45.52874635%2C-15.81166222&mapSearch=true
Cheers.


Fixed and Update README

Thanks 👍🏻☺
The include file is a good catch. I'm surprised that the type casting is required, but I guess different compilers have different approaches.
👍🏻


Add [CoinExchange] #memo-required GCKVK2…WS5D5N

Address: GCKVK2UDWSXHXUUAIPDIEZE6XPB5ZLFZLM336HGQ6V7VZFPIAGWS5D5N
Tags: memo-required
Title: CoinExchange
Requested by @coinexchange-bot

Destination requires transaction memo

@Coinexchange-bot can you please explain what you are requesting.

Hello @Coinexchange-bot,
Please feel free to reopen this issue if you have new information or have questions.
Looking towards the future with you,
Rob TheCryptoHobbyist


Perf update

Pull Request Test Coverage Report for Build 783904522

4 of 13 (30.77%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.5%) to 25.037%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

services/indexes/avax/reader_aggregate_processor.go
4
13
30.77%

Totals

Change from base Build 783876976:
0.5%

Covered Lines:
1838

Relevant Lines:
7341

💛  - Coveralls


Update t2m2 to 1.15

Looks like CI is failing due to major refactoring to the way this stuff works in brew-land (brew pull removed, brew cask ci removed/deprecated and changes to style rules. Some may be resolved by #114 ?

Hi @sticklerm3 - is this repo dead/dormant now?


Pushing the latest to workshop

@wiremod/developers
We've regained control of the wireteam account. I'd like to get the ball rolling and get the latest pushed to workshop, unless there's a reason not to.
The wiremod core team members will be entrusted with the most important account and password information from here on out. This will make it much easier to maintain services.
I believe it was jenkins that was used to automatically update the workshop as well. I have a VPS and the wiremod core members will have access. It's on the todo list.
If there's any readmes, credits, etc that needs to be updated, that should be done in preparation for this push.
Finally, any links and such should be updated to point to JUST wiremod.com, reddit.com/r/wiremod, or reddit.com/r/wiremod/wiki/ wiki pages. In addition, we now have a discord server set up (https://discord.gg/cqJ45CT) that should be put in the wire menu :-)

In addition: https://github.com/wiremod/advdupe2/issues/19

see
https://github.com/wiremod/wire/pull/1224
https://github.com/wiremod/advduplicator/issues/74
https://github.com/wiremod/advdupe2/pull/102

Any reason we're using the reddit wiki over the github wiki? The github wiki can be edited by anyone via pull requests.

That sounds even better. Forgot github has a wiki.

Wire, AdvDupe, and AdvDupe2 pushed or updated to workshop!


Reaping problem (java defunct process)

Hi.
First of all, i know that this is PITA-problem you don't have any relation for nor intention to create. However, any docker restart call has a chance to turn container with agent into dead one with [java] <defunct> command line in docker top output. As far as i know it means that java process (i.e teamcity agent) has spawned some children, but never cared about them, so they went to orphanage (related stackoverflow question), and it is a common problem within container infrastructure (since entrypoint is always the number 1 process). The defunct container is pretty useless and dead: you can't restart, enter or delete it, and only a complete reboot might help. As far as i can tell, this should be simply solved by inheriting from phusion/baseimage, JetBrains, however, should be notified about as well (i hope i'll have a minute to push detailed issue there as well).

Yes, i currently don't experience this issue, except for issue https://github.com/docker/docker/issues/18180


Add test for post

Coverage increased (+0.6%) to 90.125% when pulling f56280dc6368bd9460293df614818c7bf4838214 on added/post-model-test into 8463c3d61dec8d4bed6aa12147576193a48e288c on master.


Installs and uses backplane-tools for other tool installations

Installs and uses backplane-tools for other tool installations
This PR adds backplane-tools to ocm-container, and uses it to install
the core tools that it manages, replacing the existing installers.
Signed-off-by: Chris Collins<EMAIL_ADDRESS>

/hold
Unsure if this will work without backplane-tools specifiying versions on install, or a nightly build in Quay (which I don't think exists)

I have verfied this works pretty well, can you please rebase it on top of the latest master and let's use this method to update to latest deps going forward

@T0MASD - rebased as requested.
Will this work properly with the image builds?

I've tested this branch in: https://quay.io/repository/todabasi_openshift/ocm-container/build/4596e872-34c0-4efc-9ddc-91927a98e301
 11/6/2023, 9:50:57 AM ---> Running in dcbaac85427e
11/6/2023, 9:50:57 AM Installing the following tools: - aws - ocm - osdctl - backplane-cli - rosa
11/6/2023, 9:50:57 AM Installing aws
11/6/2023, 9:51:00 AM Successfully installed aws
11/6/2023, 9:51:00 AM
11/6/2023, 9:51:00 AM Installing ocm
11/6/2023, 9:51:00 AM Successfully installed ocm Installing osdctl
11/6/2023, 9:51:02 AM Successfully installed osdctl Installing backplane-cli
11/6/2023, 9:51:03 AM Successfully installed backplane-cli Installing rosa
11/6/2023, 9:51:04 AM Successfully installed rosa
11/6/2023, 9:51:25 AM Removing intermediate container dcbaac85427e
11/6/2023, 9:51:25 AM ---> 69c3f6ba8eeb

and using this locally
/unhold
/lgtm

/hold for new backplane-tools release to be cut

/unhold :partying_face:

/unhold
/lgtm


Localization of conversational language examples

Hello,
This page uses several examples of conversational language such as "You can create a Cancel intent with various examples like "Cancel the Contoso service," or "stop charging me for the Fabrikam subscription." The user's intent here is to cancel, the Contoso service or Fabrikam subscription are the subscriptions they would like to cancel."
Or
"For example, if you built a model to book flights, a user might use an utterance like "I want a flight from Boston to Seattle." The origin city and destination city for such utterances would be expected to be similar. A signal to differentiate "Origin city" might be that it's often be preceded by the word "from.""
These are designed for English, but what about other languages? Can (should?) a speaker of another language use a translation of these examples in his or her own language?
From what I can see here: https://learn.microsoft.com/en-us/azure/ai-services/language-service/concepts/language-support it seems to be the case. Could you confirm?
Thanks and best regards,
François

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

ID: c93407e6-716c-0b71-5dcb-058d96636a74
Version Independent ID: ec014a7d-8590-7ac2-3f1a-37a9b38b371b
Content: Conversational language understanding best practices - Azure AI services
Content Source: articles/ai-services/language-service/conversational-language-understanding/concepts/best-practices.md
Service: azure-ai-language
GitHub Login: @aahill
Microsoft Alias: aahi

@FRFR-LO
Thanks for your feedback! We will investigate and update as appropriate.
I've delegated this to @aahill, a content author, to review and share their valuable insights.

Hi sorry for the delay here - yes you would label utterances in the language that you would intend to work in.
#please-close


Polymorphism  Many To Many support

Describe the feature
Polymorphism  Many To Many support
Motivation

Related Issues

Any update on this? @jinzhu

@yaameen I had the same problem mentioned here: https://github.com/go-gorm/gorm/issues/4270 and i solved it with 2 different join tables, i don't know if it solves your problem too, can you share any example?
type Label struct {
	LabeID             uint `gorm:"primarykey"`
        Name               string
}

type Fruit struct {
	gorm.Model
	Labels []*Label `gorm:"many2many:fruit_labels;"`
}

type Vegetable struct {
	gorm.Model
	Labels []*Label `gorm:"many2many:vegetable_labels;"`
}

Actually that's what I miss most with GORM: Real OO-like ploymorphism support
From long years of OOA/-D/-P I consider this situation the most common use case for polymorphism (UML style):
OwningClass [1] <>--- [0..*] AbstractBaseClass
with AbstractBaseClass having several specializations. I.e. for me its not so much about many2many but about having the polymorphism at the n-end of the 1:n relationship. And that's also what I am used to from all those ORM's for C++, Java.
As far as I understand GORM the polymorphic type can only be at the 1-end of the relation, right?

if you make an explicit model for your many-to-many relation for A-B (B being the desired polymorphic model), let's call it C, you then have A-C one-to-many and C-B many-to-one and you can use polymorphism. I think it's reasonable to add "polymorphism" to the list of customizations of a join table that warrant making the join table explicit, so this seems like it should be converted to a documentation request rather than a feature request.

@dkrieger would you please provide a working example? Thanks

@simontol  - Did you get the response? I have a similar requirement.


Client Side Authentication

While it is good to see the warning that you can't trust client side authentication, It does not have any useful information about how to do authentication in the client side.
Client side authentication and security is about preventing the users that are not trying to hack your program from seeing the server side authentication errors.
I would like to see some examples of how to do that.
Client side C# code is the whole point of Blazor.

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

ID: c9942b0a-a7fb-0d34-9201-af0963affa9e
Version Independent ID: 19770710-5225-a1ea-e082-65da6ba4a49a
Content: ASP.NET Core Blazor authentication and authorization
Content Source: aspnetcore/security/blazor/index.md
Product: aspnet-core
Technology: aspnetcore-security
GitHub Login: @guardrex
Microsoft Alias: riande

Hello @ecatherman ... This is more of an engineering scenario than a docs scenario at this point. We have https://github.com/aspnet/AspNetCore.Docs/issues/13022 to work the scenario forward on our side when engineering comes up with approaches (if management decides to proceed; our docs issue is still in triage). Although I'm going to close this as a duplicate of #13022, these will be linked, so your remark here will be seen when management triages that issue.
Over on the engineering side, they have several open issues. Try these, and your feedback is welcome over there, so feel free to discuss the scenario with them. You'll be chatting directly with the engineers and managers there.
https://github.com/aspnet/AspNetCore/issues?utf8=✓&q=is%3Aopen+is%3Aissue+label%3Aarea-blazor+client-side+authentication
... also click the Closed tab on that to see what they either already did (perhaps for an upcoming preview) or refused to take on at this time. They sometimes offer advice on closed issues when they decide not to take something on, too.

... and on that docs issue (#13022), you can add a :+1: to the initial comment message. One other dev already did so. That helps a little bit when they look to gauge the priority.


Alert UX has changed

The Alert page UX has been changed, and the doc needs to update to align Azure Monitor doc: https://learn.microsoft.com/en-us/azure/azure-monitor/alerts/alerts-create-new-alert-rule?tabs=metric
doc:

actually:

doc:

actually:

doc:

actually:

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

ID: 27306a5f-22b2-20dd-185e-fd5c3ad8f3ad
Version Independent ID: 4002df81-c970-ed6e-aa91-a9f0578893f8
Content: Tutorial: Monitor Azure Spring Apps resources using alerts and action groups
Content Source: articles/spring-apps/tutorial-alerts-action-groups.md
Service: spring-apps
GitHub Login: @KarlErickson
Microsoft Alias: karler

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

#assign:@brhamilton529


Cherry-pick memory pressure lime configuration changes from 23Q3_sprint

@modeveci Could you approve this cherry-picks?


Fix bug and correct parameter getter routine

Fixes a bug in the state name getter function for dynamic adjoint problems. While the previous code would compile, it would hit a runtime exception when called.
No longer requires the string-based parameter get function to also contain the base physics module name. This means that the strings input in the physics module constructor should be the same for the getter request.

Codecov Report
Attention: 5 lines in your changes are missing coverage. Please review.

Comparison is base (4bc2eda) 88.83% compared to head (bae7891) 88.88%.

Files
Patch %
Lines

src/serac/physics/heat_transfer.hpp
0.00%
2 Missing :warning:

src/serac/physics/solid_mechanics.hpp
0.00%
2 Missing :warning:

src/serac/physics/thermomechanics.hpp
0.00%
1 Missing :warning:

Additional details and impacted files
@@             Coverage Diff             @@
##           develop    #1060      +/-   ##
===========================================
+ Coverage    88.83%   88.88%   +0.04%
===========================================
  Files          153      153
  Lines        12344    12344
===========================================
+ Hits         10966    10972       +6
+ Misses        1378     1372       -6

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

is it feasible to make the names returned from BasePhysics::parameterNames() the same as the parameter names that go into the e.g. SolidMechanics constructor?

is it feasible to make the names returned from BasePhysics::parameterNames() the same as the parameter names that go into the e.g. SolidMechanics constructor?

Probably. I'll look into this.

is it feasible to make the names returned from BasePhysics::parameterNames() the same as the parameter names that go into the e.g. SolidMechanics constructor?

Probably. I'll look into this.

done.


Refactoring/PEP 8 Changes

Feel free to reject this pull request (there's a ton of changes and it's more a proof of concept), but this how I'd imagine the project would look in more of a PEP 8 style.

Hey @zachwill,
you did a great job! Thank you!
Unfortunately there are errors in "Expected Gain" calculations and init.py needed to be fixed at least.
Now I've added CI to master branch, so it is much easier to check if everything is OK.
Please make a pull request for the dev branch, and I'll merge it before updating master.

Great catch on the "Expected Gain" calculation 👍
Closing this and will move an updated pull request over to the dev branch.

Hey @zachwill,
could you provide "the same" pull request for the dev branch?
(CI and PEP8 errors are not a problem, I will fix them myself.)
I want to add your changes before moving on with further development.

 I'll pull your recent ones from dev and merge them with mine. Is it cool if I push by end of week? Work's been ramping up and I'm not sure if I'll have coding free time until Wednesday night?
Thanks man 👍

Hey @zachwill,
Great news! Take your time.
Thank you!

Hey @zachwill
Is there any news?


Css suggestions does no work for id

Issue Type
Bug
Description
i have issues when i try to use suggestion for css files. for classes works well but when i'm  using for id i have no suggestions try it with a file with like 500 lines of code
VS Code Info
VS Code version: Code 1.20.0 (c63189deaa8e620f650cc28792b8f5f3363f2c5b, 2018-02-07T17:09:39.780Z)
OS version: Windows_NT x64 10.0.16299

System Info

Item
Value

CPUs
Intel(R) Core(TM) i5-5200U CPU @ 2.20GHz (4 x 2195)

Memory (System)
3.91GB (0.52GB free)

Process Argv
C:\Program Files\Microsoft VS Code\Code.exe

Screen Reader
no

VM
0%

Extensions (5)

Extension
Author (truncated)
Version

rainbow-brackets
2gu
0.0.6

vscode-eslint
dba
1.4.5

vsc-material-theme
Equ
1.3.0

prettier-vscode
esb
1.1.3

LiveServer
rit
3.2.0

Reproduces without extensions

Please do not open multiple issues for the same problem. Dup of #43365


Conflicting ports on pongo up --expose

Hi there!
Trying to run pongo up --expose and it seems that since port 7000 is already in use, it fails. I believe this port is already in use on macOS.
Is there a supported method of getting around this so I can still expose the ports? Perhaps a flag or something to configure them? I took a look at the source but didn't spot anything.

port 7000 is a default port used by Cassandra. At some point Apple started using it for Apple airplay. Here's some info to get around it: https://github.com/cookiecutter/cookiecutter-django/issues/3499#issue-1089496796
We cannot make breaking changes now. In a couple of months we might. Escpecially since Cassandra support is being deprecated in Kong 3 we should be able to make some changes then.

To adjust Pongo; you could disable this line: https://github.com/Kong/kong-pongo/blob/d10eb09f8d0de6856fb022555cd2dd9b56695f23/assets/docker-compose.yml#L23 (if you're not using Cassandra)

@iwaffles did that solve your issue?

It did, thanks @Tieske!


Make gcspypi work on Python 3

got error below when running on Python 3:
Traceback (most recent call last):
File "/srv/venv/bin/gcspypi", line 11, in
load_entry_point('gcspypi==1.0.1', 'console_scripts', 'gcspypi')()
File "/srv/venv/lib/python3.5/site-packages/pkg_resources/init.py", line 561, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
File "/srv/venv/lib/python3.5/site-packages/pkg_resources/init.py", line 2631, in load_entry_point
return ep.load()
File "/srv/venv/lib/python3.5/site-packages/pkg_resources/init.py", line 2291, in load
return self.resolve()
File "/srv/venv/lib/python3.5/site-packages/pkg_resources/init.py", line 2297, in resolve
module = import(self.module_name, fromlist=['name'], level=0)
File "/srv/venv/lib/python3.5/site-packages/ethronsoft/gcspypi/main.py", line 35
"""
^
SyntaxError: invalid syntax

Hi ktong, I was making changes to make it work on python3 just to later find out that google gcloud related libraries (used for the authentication) only work on python2.7
https://cloud.google.com/sdk/downloads
"""
System requirements
Cloud SDK runs on Linux, Mac OS X and Windows, and requires Python 2.7.x.
"""
So for now, this will remain a python2.7 tool.
I have updated the documentation accordingly, suggesting to use gcspypi in a virtualenv backed by python2.7.  Thanks for noticing though.


Adjust read count so that a newline can be added afterwards

To avoid that
buf[r] = '\0';

writes outside of the buffer
decrement the read count by one.
Signed-off-by: Erik Sjölund<EMAIL_ADDRESS>

/ok-to-test
/approve

LGTM, but I'd like @giuseppe to have a look before merging

LGTM

/lgtm


Fixes #31 along with other formatting in README.md

Added Code of Conduct, along with removing spaces to produce proper Markdown titles. Also, removed the # for * in bullet points.

Fixes https://github.com/tessel/rfid-pn532/issues/31

Sincere Apologies. Changes to be done back in the remaining repositories ASAP


feat: Expose message event details for Iframe widget

Description
Exposes the message event details in Iframe widget - lastEventId, origin, ports in meta property messageEventDetails
Makes the meta property messageEventDetails available in autosuggest for Iframe
Fixes #13419
Type of change

New feature (non-breaking change which adds functionality)
This change requires a documentation update

How Has This Been Tested?

Manually tested

Checklist:

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

@souma-ghosh You need to fix the PR title as the part of the Semantic PR check failure
To do so you need to add a label at the start of your PR title
feat | fix | docs | style | refactor | perf | test | build | ci | chore | revert

So your PR title would be: feat: Create Iframe Widget V2

@ashit-rath I have fixed the title. The next step is to resolve the merge conflicts?


Different screenshots.

Hi, I'm getting different screenshots using puppeteer in my desktop and Amazon cloud.
I need to get the latest videos in public Facebook page.
Take look, desktop screenshot:
https://ibb.co/56Yrnrq
EC2 Cloud(It not listed the videos):
https://ibb.co/cYfN8Ks

@om3 the website serves different content to you - that's not Puppeteer's fault. You should either fake your location, or be prepared to the content differences.
Hope this helps.


Support for Argon

So basically this one addition adds support for my plugin Argon - alternative for Rojo.
This change is optional because Argon has now support for Rojo name space tho it would be super helpful for people who don't want to use any other tooling than this.

New PR here, sorry for that but I removed my repo.


Setting: Din's, Farore's, Nayru's in MM + Shared Din's, Shared Farore's, Shared Nayru's

This was touched on again recently but Zoey mentioned this to me in passing in a stream chat of mine awhile back and Nax brought it up again a day or two ago. Basically, reintroducing these 3 spells to MM could be a really neat addition to further syncing their inventory. The way Zoey talked about how she would want to do it was attaching them to the trade item slots, so you'd have Din's where Moon's Tear, Land Deed, etc are, then you'd have Farore's where Room Key and Letter to Mama are, then you'd have Nayru's where Pendant and Letter to Kafei are. And you'd just swap to them with L/c-up like currently for the trade items.
FW would be quite useful in Dungeon ER for MM much like it is in OOT. Din's would have some really fun applications logically in many places in MM. Having Fire Arrows locked behind Din's use in MM would be wild. Likewise, you could have things like Din's Fire as an alternative method to accessing Goht potentially (if it can work).
Anyway. This is all just spitballing but thought I'd put it on the git anyway. Long-term idea. Hopefully before then this is implemented to better show the spells when you have them: https://github.com/OoTMM/OoTMM/issues/402

Done as of https://github.com/OoTMM/OoTMM/pull/625


Adds support for CORS options to be passed in

Hi @securingsincity,
Can you please describe use case?
It looks like CORS middleware provides very reasonable default:
https://github.com/expressjs/cors/blob/master/lib/index.js#L8-L13

@IvanGoncharov The use case is if you are trying to include credentials from the client. Which requires that the origin be defined and the credentials policy to be defined.
For example sending a request from foo:8080 to localhost:9002 with a cookie included needs an origin other than * and credentials to true

@securingsincity Got it, thank you for explanation.
Can you set Access-Control-Allow-Credentials every time --cors-origin specified?
This way we will have one option instead of two.

I think that works much better @IvanGoncharov. Feel free to review again.

@securingsincity Thank you 👍
Do you have any other problems or ideas for the faker?
BTW. Do you use it to fake entire API or to extend existing one with fake fields?

I just started using it the other day but it was to extend. As I was using it I realized I probably want to fake the entire thing so I will probably play with that over the weekend. I really enjoy it, the UI to edit the .graphql file is a really nice touch. I'll let you know if i think of anything it needs

@securingsincity I publish new release with your changes 🎉

@IvanGoncharov awesome thanks!


Remove Snapin related code in CommandDiscovery.cs

The file https://github.com/PowerShell/PowerShell/blob/master/src/System.Management.Automation/engine/CommandDiscovery.cs has a lot of code related to Snapins. Since Snapins are not supported, the code can be removed.
Environment data

> $PSVersionTable
Name                           Value
----                           -----
PSVersion                      6.0.0-beta
PSEdition                      Core
GitCommitId                    v6.0.0-beta.3
OS                             Microsoft Windows 10.0.16204
Platform                       Win32NT
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0...}
PSRemotingProtocolVersion      2.3
SerializationVersion           <IP_ADDRESS>
WSManStackVersion              3.0

Is this code still in PowerShell 7?
Any plans to remove it??

The code is still there.

Any plans to remove it??

I think it is up-for-grabs.


The cost calculation of tokens for open ai models looks like is only considering output tokens

System Info
I am using gpt-3.5-turbo for which the price of the tokens are as below
4K Context
0.0015/1K tokens - for input
0.002/1k tokens - output
From the call back I get the below
Cost and token usage :Tokens Used: 222
Prompt Tokens: 171
Completion Tokens: 51
Successful Requests: 1
Total Cost (USD): $0.00044400000000000006
Going by the pricing, it should be 0.000375942
It looks like the program is only looking at output cost
Who can help?
@agola11
Information

[ ] The official example notebooks/scripts
[ ] My own modified scripts

Related Components

[X] LLMs/Chat Models
[ ] Embedding Models
[ ] Prompts / Prompt Templates / Prompt Selectors
[ ] Output Parsers
[ ] Document Loaders
[ ] Vector Stores / Retrievers
[ ] Memory
[ ] Agents / Agent Executors
[ ] Tools / Toolkits
[ ] Chains
[X] Callbacks/Tracing
[ ] Async

Reproduction
run the LLM with callback using any of the open ai models
    with get_openai_callback() as cb:
        response = chat_chain.predict(input=_input.to_string())

        print(response)
        resp_json = out_parser.parse(response)

        print("Cost and token usage :{cb}".format(cb=cb))

        return resp_json

Expected behavior
The cost calculation should consider the input tokens also

Nice

I think the fix is relatively straightforward. Shall I submit a PR for it?

I see that a fix has been pushed into the repo for this

The latest release probably included the fix..!

sorry semi-related, how do i get the tokens input output from using llm.predict?

there are also open issues for counting tokens when embeddings is called for indexing and for when streaming=true
tried any workaround mentioned, for indexing is working fine, but for ConversationalRetrievalChain with streaming enabled and custom condense_question_llm still haven't found a solution that matches the openai usage log

This can be closed


Filtering for specific LayerProtocolNames

The NotificationProxy shall offer filtering for LayerProtocolNames (e.g., AirLayer, VlanLayer etc.).

Question about necessity postponed to future release.


Test against php8

@sergiy-petrov tests are failing

@sergiy-petrov tests are failing

Yeah because php cs fixer is not compatible with php8 yet :(

Yeah because php cs fixer is not compatible with php8 yet :(

Ah, ok 😅
Well, no problem, I've seen activity on their repo regarding PHP8 so we just wait.
Thank you for clarifying 👍

@sergiy-petrov
Since php-cs-fixer seems to take some more time, I moved ahead with the approach of simply removing it from the unit test matrix, as it isn't needed there anyway.
It turned out there was definitely a bit more to it, thus I'm replacing this PR with https://github.com/barryvdh/laravel-ide-helper/pull/1106
Thanks for your contribution!
PS: TBH I took a stab at PHP8 and totally forgot about your PR, only realized it afterwards


[MSBot] Connect to luis. Error: bad or missing --subscriptionKey

Not sure why it requires subscription key in addition to authoring key and app id.
Subscription key is not mentioned in readme and in the example.
Using authoring key as subscription key didn’t work as well, the error “Error: bad or missing –subscriptionKey”

fixed as of v1.0.22


expect the query to be sthi like name:johndoe or johndoe and also keys must be optional

Keys can be added or not, to mean we should maintain how the module was working in past versions

After this is fixed, issue #23  can be fixed too

Sure @regisrex I'm on it.


ERROR:root:Can not load PyTorch model. Please make surethat model saved like torch.save(model, PATH)

I'm trying to convert a YOLOv5 best.pt weights file to a .tflite file so we can deploy the model on a flutter app.
This is the code:
`import torch
weights_path = '/content/drive/MyDrive/Weights/best.pt'
yolo_path = '/content/yolov5'
model = torch.hub.load(yolo_path, 'custom', weights_path, source='local')  # local repo
torch.save(model, '/content/pipeline.pt' )`
You can also go straight to the colab for all the colde.
https://colab.research.google.com/drive/19JeOkrxlGP6KtkfGbrkO87COc4pvSZSE?usp=sharing
I assume I'm not saving the model how the converter wants it, but I can't figure it out.
Can you please explain exactly how the file needs to be saved so the code will work ?
Thanks a lot in advance!

I got exactly the same problem! Can't load pytorch model

@IvanStoykov To understand what causes the problem you can log the exception on 72 line in convertert.py, simply write logging.error(str(e)) and run the script again. The problem may be in the wrong path to your model and not in pytorch itself.

I also faced the same problem

while I am running this command:
python3.8 -m torch2tflite.converter --torch-path model/model.pth --tflite-path model.tflite --target-shape 225 225 3 --seed 1
the error:
ERROR:root:Can not load PyTorch model. Please make sure that model saved like 'torch.save(model, PATH)'

I have the same error, the problem occurs here model = model.eval() https://github.com/omerferhatt/torch2tflite/blob/master/torch2tflite/converter.py#L65
For me, torch.load returns an OrderedDict, which doesn't have an eval method, hence the error: 'collections.OrderedDict' object has no attribute 'eval'. Clearly, this is not happening because the path to the PyTorch model is incorrect.

@ralienpp did you solve it ? I have the same issue


Address verification for IBC transfer

"Please resolve the address protection or control for IBC transfers. I sent Bitcoin (cca 260 dollars) from a Nomic address "nomic1v2rqwg7zvj5rrllgp6wu5h3q8ertfetsvr96pf" to a Bitcoin address 15.10.2024 cca 7:20, but instead of withdrawing, I was on the IBC transfer page. I transferred from Nomic to Osmosis and entered a Bitcoin address in the Osmosis address field and sent it. Unfortunately, the address was accepted as an Osmosis address, and the funds were sent away. If I enter an invalid address on osmosis.zone, it marks it as invalid. Something like this could be integrated here as well. Thank you."

Or when detecting a BTC address, automatically redirect to the BTC blockchain as if I clicked on withdraw Bitcoin.

Please resolve the address protection or control for IBC transfers. I sent Bitcoin (cca 260 dollars) from a Nomic address "nomic1v2rqwg7zvj5rrllgp6wu5h3q8ertfetsvr96pf" to a Bitcoin address 15.10.2024 cca 7:20, but instead of withdrawing, I was on the IBC transfer page. I transferred from Nomic to Osmosis and entered a Bitcoin address in the Osmosis address field and sent it. Unfortunately, the address was accepted as an Osmosis address, and the funds were sent away. If I enter an invalid address on osmosis.zone, it marks it as invalid. Something like this could be integrated here as well. Thank you."

Hello @standa931  It sounds like you encountered a serious issue with the IBC transfer process. Sending funds to an invalid address can be really stressful, especially when the system allows it. Your suggestion to integrate a validation check for addresses on the IBC transfer page is a good one. It could help prevent situations like yours in the future by ensuring that only valid addresses are accepted.
I recommend reaching out to the support team for the platform you were using to report this issue and suggest your idea for improvement. I'll have to refer you to the official support live chat with the ticket ID OSM052186
Please see the link below to our dedicated support line:
Osmosis Network DApps Support Ticket Requests.
Note; Click on the live chat icon at the bottom corner of the page to initiate chat with a live support agent.


⚠ Bofrost.at has degraded performance

In 9aa3040, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 1898 ms

Resolved: Bofrost.at performance has improved in 1b0459d after 7 minutes.


Please update my mistake token address

I'm submitting a ...
[ ] bug report
[x] feature request
[ ] question about the decisions made in the repository
[ ] question about how to use this project

Summary
Please update my new address for DKM token.
https://github.com/solana-labs/token-list/pull/22653

Other information (e.g. detailed explanation, stack traces, related issues, suggestions how to fix, links for us to have context, eg. StackOverflow, personal fork, etc.)
My last commit in PR's comment.
https://github.com/solana-labs/token-list/commit/204973df27b25bf4858b236276aa25a38391c21a
Thanks!

@spacemandev-git thanks!

merged


ERROR:  column "Fires.point" must appear in the GROUP BY clause or be used in an aggregate function

Hey ,
I have fires recorded data.
I want to create a materialized table by aggregating fire points grouped by recorded at and h3 index , but When I group them using h3_geo_to_h3 and add group by clause with recorded_at, it gives me error:
breezo=# select h3_geo_to_h3("Fires"."point" , 1)::point as p, recorded_at, point from "Fires" group by recorded_at limit 1;
ERROR:  column "Fires.point" must appear in the GROUP BY clause or be used in an aggregate function
LINE 1: select h3_geo_to_h3("Fires"."point" , 1)::point as p, record...

I have tried few of postgis aggregate function , but they did not help,
It will be grateful , if someone could help me here .
Thanks,

Hi, I don't work on this project, but I do watch it. I think this tutorial on Postgres' group by syntax will help: https://sqlserverguides.com/postgresql-group-by/
Basically, every column that you include in the select list also needs to be in the group by list, in the sorting priority order, except if you're passing that column to an aggregate function (which takes all of the values associated together by having the same group by "index" and passes them all to that function).
h3_geo_to_h3 is not an aggregating function, so you would need to include Fires.point in your group by clause, but you can also have it inside of the h3_geo_to_h3 method call, so the finer details of the point can be ignored if you wanted something like that (since you're using H3 Resolution 1, which is a roughly country-sized hexagon resolution):
select h3_geo_to_h3("Fires"."point", 1)::point as p, recorded_at, COUNT(h3_geo_to_h3("Fires"."point", 1):: point) as fire_count
from "Fires"
group by recorded_at, h3_geo_to_h3("Fires"."point", 1)::point
limit 1

This also doesn't care about the actual order of recorded_at or other columns, just that the same values are stuck together, so whatever time is the first the Postgresql engine is "sure" is finished is what you'd get, which is probably not what you'd want. I'd also throw in an order by recorded_at desc in there to make sure you get the latest record (for instance).

Thanks , adding same function in group by  clause works.


[WFLY-13003] Add SameSiteCookieHandler test

Jira: https://issues.redhat.com/browse/WFLY-13003
master PR: https://github.com/wildfly/wildfly/pull/13239
This requires Undertow 2.1.0.Final: https://issues.redhat.com/browse/WFCORE-4934

This can be tested with #13250 that contains the WildFly Core upgrade for WildFly 19.0.x

retest this please

retest this please


characteristics on assemblies

Add characteristics on assemblies to QIF. For example, the same part might be used for two components of an assembly, and there might be a distance between characteristic applied to a face of the first component and a face of the second component. QIF 3.0 does not have a representation for that which a computer can understand.

Tom, are you sure? We have a working implementation for this. Perhaps you are suggesting that it should be improved?

I was incorrect in asserting QIF did not have a computer-understandable representation for this. I had forgotten that asmPaths could be included in id references. Characteristics on assemblies are handled by QIF already. I am closing this issue.


If apple silicon build is not present, allow fallback to x86_64 build rather than spending hours compiling builds

In the meantime, this works fine:
arch -x86_64 /bin/bash -c "source $HOME/.nvm/nvm.sh; nvm install --lts"; nvm use --lts

Can you please fill out the entire issue template? It’s there for a reason.

Got it going with the following:
https://github.com/bevry/dorothy/blob/38e6357e2c41c03f485ebe7cecefe6795ef9b1c3/commands/nvm-2596
https://github.com/bevry/dorothy/blob/38e6357e2c41c03f485ebe7cecefe6795ef9b1c3/commands/setup-node#L40

I'm not 100% sure what the issue is; but yes, node < 16 is not supported natively on M1 Macs, so you have to install it in a Rosetta terminal (there's a readme section about it).

Yeah, would be nice if its use of rosetta was automatic. This is my updated workaround from dorothy:
#!/usr/bin/env bash

function nvm_env() (
	# source "$DOROTHY/sources/bash.bash" <-- do not enable stict mode

	# =====================================
	# Arguments

	function help {
		cat <<-EOF >/dev/stderr
			ABOUT:
			Execute a command inside a NVM context without inheriting the shell's strict mode (if any).

			USAGE:
			nvm-env [...options] [--] ...

			OPTIONS:
			--[no-]rosetta=[yes|no]
			    If empty, auto-detection is used to determine if Rosetta should be used to install Node.js versions that do not support ARM:
			    https://github.com/nvm-sh/nvm/issues/2596
		EOF
		if test "$#" -ne 0; then
			echo-error "$@"
		fi
		return 22 # EINVAL 22 Invalid argument
	}

	# process
	local item option_rosetta='' cmd=()
	while test "$#" -ne 0; do
		item="$1"
		shift
		case "$item" in
		'--help' | '-h') help ;;
		'--no-rosetta'* | '--rosetta'*)
			option_rosetta="$(get-flag-value rosetta --missing="$option_rosetta" -- "$item" | echo-affirmative --stdin)"
			;;
		'--')
			cmd+=("$@")
			shift $#
			break
			;;
		*)
			cmd+=("$item" "$@")
			shift $#
			;;
		esac
	done

	# ensure
	if test "${#cmd[@]}" -eq 0; then
		help "You must provide a <cmd>"
	fi
	if ! is-apple-silicon; then
		option_rosetta='no'
	elif test -z "$option_rosetta"; then
		if test "${cmd[0]}" = 'nvm' -a "${cmd[1]-}" = 'install' && is-number "${cmd[2]-}" && test "${cmd[2]-}" -lt 16; then
			option_rosetta='yes'
		else
			option_rosetta='no'
		fi
	fi

	# =====================================
	# Action

	if test "$option_rosetta" = 'yes'; then
		echo-style --dim="Executing via Rosetta: ${cmd[*]}" >/dev/tty
		arch -x86_64 /bin/bash -c "source $DOROTHY/sources/nvm.sh; ${cmd[*]}"
	else
		source "$DOROTHY/sources/nvm.sh"
		"${cmd[@]}"
	fi
)

# fire if invoked standalone
if test "$0" = "${BASH_SOURCE[0]}"; then
	nvm_env "$@"
fi

For the is-apple-silicon check, this is what it does:
test "$(uname -s)" = 'Darwin' -a "$(uname -p)" = 'arm' -o "$(uname -m)" = 'arm64'


Fix/hof structs combined error

HOF functions for arrays and maps couldn't be used combined with Row children due to problems with lambda column references.
Added also flatten for collections of collections
Added currentDate alternative that allows setting the Return type other than Date
Fixes #225

[x] This pull request contain appropriate tests?

@eruizalo Ready for your review 😄


[BUG] 'NoneType' object is not subscriptable (access_token)

I cannot add the integration to my HomeAssistant, as after I input the details in the 'add integration' configuration, it throws an 'unexpected error.' I may have misconfigured Bouncie.dev or just the URL/URi, but I'm not certain which is what in this regard.
This error originated from a custom integration.

Logger: custom_components.bouncie.const
Source: custom_components/bouncie/config_flow.py:41
Integration: Bouncie (documentation, issues)
First occurred: 12:25:06 (3 occurrences)
Last logged: 12:32:38

'NoneType' object is not subscriptable
Traceback (most recent call last):
  File "/config/custom_components/bouncie/config_flow.py", line 64, in async_step_user
    info = await validate_input(self.hass, user_input)
  File "/config/custom_components/bouncie/config_flow.py", line 41, in validate_input
    result = await bouncie_client.get_access_token()
  File "/usr/local/lib/python3.10/site-packages/bounciepy/async_rest_api_client.py", line 85, in get_access_token
    self._set_access_token(access_token=data["access_token"])
TypeError: 'NoneType' object is not subscriptable

I don't know if it's just failing to grab the access_token due to firewall or authentication. But, what's strange to me with this, is that it would add the integration before; but could not setup the entities as it was complaining about "Nicknames." So I gave my vehicles nicknames in Bouncie, then the above/title issue started.
Logger: homeassistant.components.sensor
Source: custom_components/bouncie/sensor.py:165
Integration: Sensor (documentation, issues)
First occurred: 11:43:18 (4 occurrences)
Last logged: 12:10:54

Error while setting up bouncie platform for sensor
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 304, in _async_setup_platform
    await asyncio.shield(task)
  File "/config/custom_components/bouncie/sensor.py", line 136, in async_setup_entry
    [
  File "/config/custom_components/bouncie/sensor.py", line 137, in <listcomp>
    BouncieSensor(coordinator, sensor, dict(vehicle_info))
  File "/config/custom_components/bouncie/sensor.py", line 165, in __init__
    name=self._vehicle_info["nickName"],
KeyError: 'nickName'

---

Logger: homeassistant.components.device_tracker
Source: custom_components/bouncie/device_tracker.py:42
Integration: Device tracker (documentation, issues)
First occurred: 11:43:18 (4 occurrences)
Last logged: 12:10:54

Error while setting up bouncie platform for device_tracker
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 304, in _async_setup_platform
    await asyncio.shield(task)
  File "/config/custom_components/bouncie/device_tracker.py", line 19, in async_setup_entry
    [
  File "/config/custom_components/bouncie/device_tracker.py", line 20, in <listcomp>
    BouncieVehicleTracker(coordinator, vehicle_info)
  File "/config/custom_components/bouncie/device_tracker.py", line 42, in __init__
    self._attr_unique_id = slugify(f'{self._vehicle_info["nickName"]} tracker')
KeyError: 'nickName'

Configuration
HA 'add integration' config (these strings are randomly generated and are not my actual ones)

client_id: EXAMPLEYH9fC
client_secret: EXAMPLEdW7c9vTbDmr4AcF7EGDeZBGUa3CxY6YNR4PyY8yymJ4
redirect_uri: https://homeassistant.domain.com ← is this correct?
authorization_code: EXAMPLEduNpNHVLQJqJzTmd7F7CTkqMKD7oS7eSb3QBzcg5kuP

Bouncie.dev config

REDIRECT URLS: https://homeassistant.domain.com

Additional context
My HA instance 2023.4.4 is accessable from the internet with a valid certificate on my registered domain. Bouncie Integration 2.5.0 installed through HACS 1.32.1. I have three vehicles registered & 'authorized devices' and will be adding two more.
Thanks for this project and your time!

redirect_uri just needs to match in both - on bouncie.dev website and in HA Bouncie integration configuration page. They both seem exactly the same, per above.
Try completely removing the integration, rebooting the HA and add it again with above configuration.


Mailing lists

We need to migrate lists from google-groups to a mailman instance. For now, we have two options:

Deploy this on our shared instance (which is in the midst of a migration to newer infra)
Deploy this on an OSL managed mail mailman VM (which would give you the most flexibility)

Right now we can support mailman2 easily, but we could look into what's involved with adding mailman3 support. Do you have a preference for which way you'd like to have this hosted?

@ramereth sorry about the lack of a response - guess no one saw this issue until now. When you say "managed mail VM", what exactly does that mean? For context, here are our needs, as far as I understand them:

We ideally would have individual @seagl.org mailboxes for folks, though we could possibly work around the lack of this with some alias forwarding + rules in folks' personal inboxes
We need some kind of sharing mechanism for certain email addresses (think<EMAIL_ADDRESS><EMAIL_ADDRESS>etc.) where multiple people will want to respond to emails as they come in
We need people to be able to send from @seagl.org mailing addresses, including the above shared addresses
We have pretty standard mailing list needs, though we'd ideally like to be able to administer lists ourselves

What would you recommend we do given the above list of needs?

@strugee this ticket is specifically about the mailing list issue. I recommend you create a new issue that addresses the mailbox/forwarding/account issue as that is going to be a separate thing we need to deal with.

Will do, sorry! I just got a bit confused because you mentioned a "mail VM" in the description.

@strugee I just updated the original describe to mention mailman VM

@ramereth what's y'alls Mailman support status these days? I imagine it might have changed since this ticket was created.

@strugee unfortunately the same as before. I'm currently working on migrating our current mailman instance off of a legacy system.

Got it, thanks. I'd like to poke at your hosted instance to see if it'll meet our needs - will send you an RT ticket.


Update readme.md

Hi Thiago!  I have a PR pending that will create an empty coach guide.  Let's close this PR, and then you can update the coach guide once I have the markdown templates in place for each challenge.


unable to process inlined functions (go1.11)

package main

import "fmt"

func main() {
        x := &X{Foo: 10}          // line 6
        y := InlineThis(x, "bar") // line 7
        fmt.Printf("Y = %+v\n", y)
}

type X struct {
        Foo int
}

func InlineThis(x *X, s string) *X {
        xx := &X{}
        xx.Foo = x.Foo + len(s) // line 17
        return xx
}

I expect dlv to do the right thing with optimized binaries when compiled with go1.11
but currently it is still unhappy about inlined functions.

funcs command doesn't recognize the inlined functions
can't set break point to the line where the inlined function is called (line 7).

I could set break points inside the inlined function though (line 16 or line 17).
'bt' from there (inside the inlined func) seemed reasonable.

$ go build main.go
$ dlv exec ./main
Type 'help' for list of commands.
(dlv) funcs InlineThis
(dlv) b main.go:6
Breakpoint 1 set at 0x485f21 for main.main() ./main.go:6
(dlv) b main.go:7
Command failed: could not find /usr/local/google/home/hakim/go/src/s/main.go:7
(dlv) b main.go:8
Breakpoint 2 set at 0x485f4b for main.main() ./main.go:8
(dlv) b main.go:17
Breakpoint 3 set at 0x485f3f for main.main() ./main.go:17

The versions of go, dlv I used.

$ go version
go version devel +23ce272bb1 Mon Jul 2 17:50:00 2018 +0000 linux/amd64
$ dlv version
Delve Debugger
Version: 1.0.0
Build: bdcbd8a846eb7d4953449725ef6a23959198acf1

I've figured out why this is happening. When we parse the DWARF information we store it in memory to avoid reading / seeking / etc later. During this process, for subprograms, we have a predicate that the subprogram tag must contain a PC range, which obviously an inlined routine would not. I'll work on this.

We're also not using the abstract / concrete inline information. Since the line number table technically doesn't have an entry for main.go:7 once that function call has been inlined, we have to use the concrete DW_TAG_inlined_subroutine high/low PC and call file/line.
I'm working on a patch for this now, but likely won't finish today and I'll be on holiday tomorrow. Should have this fixed by Thursday.

Had to divert into other work, but expect to finish this up tomorrow.

Been working on this when I can in between $WORK projects, but that load has lightened up a bit so I expect to have plenty of time to hack on this tomorrow.


IHEX_FLAG_ADDRESS_OVERFLOW is cleared without writing Extended Linear Address

I have found a situation where if I have two logical blocks of data that happen to be adjacent on the 64kB address boundary, the Extended Linear Address header is never written.
It can be mimicked by the following:
ihex_write_at_address(&state, 0xFFF0);
ihex_write_bytes(&state, dataBuffer, 0x10);
ihex_write_at_address(&state, 0x10000);
ihex_write_bytes(&state, dataBuffer, 0x10);
The problem is in the ihex_write_at_address() function. It will flush the previous existing data, then compare the ihex->address upper bytes to the new requested address upperbytes. Both are now the same, since ihex_write_data() has incremented ihex->address.
Would this be an acceptable change:
void
ihex_write_at_address (struct ihex_state *ihex, ihex_address_t address) {
    if (ihex->length) {
        // flush any existing data
        ihex_write_data(ihex);
    }
    if (((ihex->address & ADDRESS_HIGH_MASK) != (address & ADDRESS_HIGH_MASK)) ||
        (ihex->address == (address & ADDRESS_HIGH_MASK)) ){
        ihex->flags |= IHEX_FLAG_ADDRESS_OVERFLOW;
    } else {
        ihex->flags &= ~IHEX_FLAG_ADDRESS_OVERFLOW;
    }
    ihex->address = address;
    ihex_set_output_line_length(ihex, ihex->line_length);
}

Here, we also check for the boundary condition where the ihex->address is the boundary address of the 64kB block of addresses we are changing to.

Hi, there is indeed a bug that the address overflow flag is cleared when setting the new address to the same page but before anything else has been written. Your fix does work, but I would reformulate it to "not clear" rather than "set" the flag, i.e.,:
void
ihex_write_at_address (struct ihex_state *ihex, ihex_address_t address) {
    if (ihex->length) {
        // flush any existing data
        ihex_write_data(ihex);
    }

    const ihex_address_t page = address & ADDRESS_HIGH_MASK;
    if ((ihex->address & ADDRESS_HIGH_MASK) != page) {
        ihex->flags |= IHEX_FLAG_ADDRESS_OVERFLOW;
    } else if (ihex->address != page) {
        ihex->flags &= ~IHEX_FLAG_ADDRESS_OVERFLOW;
    }

    ihex->address = address;
    ihex_set_output_line_length(ihex, ihex->line_length);
}


Performance: Prefer firstChild/nextSibling to childNodes

Per Domino's readme file,[1] we should prefer traversing the DOM tree
using The first/lastChild and next/previousSibling properties rather than
childNodes. Doing the latter converts the linked list representation of
the DOM tree structure to an array-based representation, hurting
performance when modifying the tree.
Updated tests that were accessing childNodes[0] rather than firstChild
as well, to reinforce this.
[1] https://github.com/fgnass/domino#optimization

@montehurd the performance improvement isn't arguable and that's the underlying problem causing issues when running these transforms within mobileapps services.

MCS is currently falling over because it contains large swaths of code written with no attention to performance.
https://phabricator.wikimedia.org/T229286
This is an intervention that produced noticeable improvements earlier in MCS.

@joewalsh

that's the underlying problem causing issues when running these transforms within mobileapps services.

^ good argument :)


Internal error: Failed to run on the given Interpreter: tensorflow/lite/kernels/reduce.cc:534

Descriptions
We successfully converted the Matterpot Mask RCNN object detection model (using hdf5 weight file) into tflite format using tensorflow (version 2.3.0). We got the prediction from the converted tflite model using python API of tf-nightly () due to Flex delegate issue raised when using tensorflow version 2.3.0.
Converted tflite model link : https://drive.google.com/file/d/1kJjQnuf5FYdn0DcEAIkeMoWFXZFuM2eb/view?usp=sharing
When we tried to get the prediction using our converted tflite model using the android application (https://github.com/tensorflow/examples/tree/master/lite/examples/object_detection/android) but the following error is raised at runForMultipleInputsOutputs() function.
Error raised in android :
2020-12-28 11:30:01.263 6838-6857/org.tensorflow.lite.examples.detection E/AndroidRuntime: FATAL EXCEPTION: inference
    Process: org.tensorflow.lite.examples.detection, PID: 6838
    java.lang.IllegalArgumentException: Internal error: Failed to run on the given Interpreter: tensorflow/lite/kernels/reduce.cc:534 reference_ops::ReduceGeneric<T>( GetTensorData<T>(op_context->input), op_context->input->dims->data, op_context->input->dims->size, GetTensorData<T>(op_context->output), op_context->output->dims->data, op_context->output->dims->size, GetTensorData<int>(op_context->axis), num_axis, op_context->params->keep_dims, GetTensorData<int>(temp_index), GetTensorData<int>(resolved_axis), init_value, reducer) was not true.
    No
        at org.tensorflow.lite.NativeInterpreterWrapper.run(Native Method)
        at org.tensorflow.lite.NativeInterpreterWrapper.run(NativeInterpreterWrapper.java:158)
        at org.tensorflow.lite.Interpreter.runForMultipleInputsOutputs(Interpreter.java:343)
        at org.tensorflow.lite.examples.detection.tflite.TFLiteObjectDetectionAPIModel.recognizeImage(TFLiteObjectDetectionAPIModel.java:334)
        at org.tensorflow.lite.examples.detection.DetectorActivity$2.run(DetectorActivity.java:182)
        at android.os.Handler.handleCallback(Handler.java:761)
        at android.os.Handler.dispatchMessage(Handler.java:98)
        at android.os.Looper.loop(Looper.java:156)
        at android.os.HandlerThread.run(HandlerThread.java:61)

Used python code used for converting the model into tflite format
model = modellib.MaskRCNN(mode="inference", model_dir=MODEL_DIR, config=config)
keras_model = `model.keras_model`
converter = tf.lite.TFLiteConverter.from_keras_model(keras_model)
converter.allow_custom_ops = True
converter.target_spec.supported_ops = [
    tf.lite.OpsSet.TFLITE_BUILTINS, # enable TensorFlow Lite ops.
    tf.lite.OpsSet.SELECT_TF_OPS # enable TensorFlow ops.
]
converter.optimizations = [ tf.lite.Optimize.DEFAULT ]
tflite_model = converter.convert()

Java code used in android studio to the get the prediction
We tested the code for single image and set input tensors accordly (images, img_metas and anchors).
// File:  org.tensorflow.lite.examples.detection.tflite.TFLiteObjectDetectionAPIModel

Interpreter.Options options = new Interpreter.Options();

// Model file is loaded from assets.
Interpreter Tflite = new Interpreter(modelFile, options);

float[][][][] images = new float[1][1024][1024][3];
float[][] img_metas = new float[1][14];
float[][][] anchors = new float[1][261888][4];
// above arrays are populated.

Object[] inputArray = {images, img_metas, anchors};
tensor0 = new float[1][1][1];
tensor1 = new float[1][1000][2][4];
tensor2 = new float[1][1000][2];
tensor3 = new float[1][100][6];
tensor4 = new float[1][100][28][28][2];
tensor5 = new float[1][1][4];
tensor6 = new float[1][1][2];
Map<Integer, Object> outputMap = new HashMap<>();
    outputMap.put(0, tensor0);
    outputMap.put(1, tensor1);
    outputMap.put(2, tensor2);
    outputMap.put(3, tensor3);
    outputMap.put(4, tensor4);
    outputMap.put(5, tensor5);
    outputMap.put(6, tensor6);
tfLite.runForMultipleInputsOutputs(inputArray, outputMap);

Can you try our latest version 2.4.0 for both conversion and inference?
I tried to run your model but it seemed to run successfully.

@thaink Error is not raised in Python API but in android application (Java code). Following are the tensorflow lite dependencies used in the android application with above mentioned model.
    // Build off of nightly TensorFlow Lite
    implementation('org.tensorflow:tensorflow-lite:0.0.0-nightly') { changing = true }
    implementation 'org.tensorflow:tensorflow-lite-select-tf-ops:0.0.0-nightly'
    implementation 'org.tensorflow:tensorflow-lite-support:0.0.0-nightly'
    implementation ('org.tensorflow:tensorflow-lite-metadata:0.0.0-nightly') { changing = true }

@Sudhan97 could you share the error message with the tf-nightly version in the android application?

@Sudhan97 could you share the error message on the tf-nightly version in the android application?

@abattery Above I have included the error raised in android, java code used android application and python code we used to convert into tflite format.
Anyway I'll include the error message again here.
2020-12-28 11:30:01.263 6838-6857/org.tensorflow.lite.examples.detection E/AndroidRuntime: FATAL EXCEPTION: inference
    Process: org.tensorflow.lite.examples.detection, PID: 6838
    java.lang.IllegalArgumentException: Internal error: Failed to run on the given Interpreter: tensorflow/lite/kernels/reduce.cc:534 reference_ops::ReduceGeneric<T>( GetTensorData<T>(op_context->input), op_context->input->dims->data, op_context->input->dims->size, GetTensorData<T>(op_context->output), op_context->output->dims->data, op_context->output->dims->size, GetTensorData<int>(op_context->axis), num_axis, op_context->params->keep_dims, GetTensorData<int>(temp_index), GetTensorData<int>(resolved_axis), init_value, reducer) was not true.
    No
        at org.tensorflow.lite.NativeInterpreterWrapper.run(Native Method)
        at org.tensorflow.lite.NativeInterpreterWrapper.run(NativeInterpreterWrapper.java:158)
        at org.tensorflow.lite.Interpreter.runForMultipleInputsOutputs(Interpreter.java:343)
        at org.tensorflow.lite.examples.detection.tflite.TFLiteObjectDetectionAPIModel.recognizeImage(TFLiteObjectDetectionAPIModel.java:334)
        at org.tensorflow.lite.examples.detection.DetectorActivity$2.run(DetectorActivity.java:182)
        at android.os.Handler.handleCallback(Handler.java:761)
        at android.os.Handler.dispatchMessage(Handler.java:98)
        at android.os.Looper.loop(Looper.java:156)
        at android.os.HandlerThread.run(HandlerThread.java:61)

I suspect that the attached error is not coming from the tf-nightly version. The line number is different with the tf-nightly version.
https://github.com/tensorflow/tensorflow/blob/master/tensorflow/lite/kernels/reduce.cc#L558
Could you confirm that your TFLite dependency is based on TF 2.5.0 in the android application?
FYI, in the recent version, we have a fix for dealing with empty reduction inputs.

@abattery thank you, I used the latest version 2.4 and I was able get the prediction. But when using the latest stable version(2.4.0) for converting the model to TFlite format, the converted model take around a hour for single image prediction output. Model converted using version 2.3.1 maximum took around 2 mins for prediction ouput.

@abattery thank you, I used the latest version 2.4 and I was able get the prediction. But when using the latest stable version(2.4.0) for converting the model to TFlite format, the converted model take around a hour for single image prediction output. Model converted using version 2.3.1 maximum took around 2 mins for prediction ouput.

@abattery @thaink Thank you, we are able to get the prediction using latest tensorflow version 2.4.0.
I'm closing this issue

@abattery @thaink Thank you, we are able to get the prediction using latest tensorflow version 2.4.0.
I'm closing this issue

Hi @Sudhan97 I have followed the same steps you have outlined here. However I could do with some help understanding the outputs of the model. The details are here https://github.com/tensorflow/tensorflow/issues/46951
Which of the 7 output tensors provide the bounding box values? For me the values keep getting repeated for each detection and I don't seem to see any values that resemble the bounding box.

Hey @Sudhan97 how did you get the prediction in tf-nightly? I've tried many times and it always results in segmentation fault.

@MeghaGhosh Hi, Sorry for this late reply. Output tensor 3 is detection and 4 is the masks. When I used tf-nightly(dev 2.5), I didn't get any segmentation errors. Try using tensorflow 2.4.0 version

Thanks @Sudhan97 yes that finally worked for us. We were making a mistake with passing the image meta. I could not get it to run on any version of the python API though, even used a docker image. Anyway that is fine.
So the thing is, depending on how we resize/pad the image we always get different predictions. Using the tensorflow lite support library for image processing got us the closest to the keras h5 predictions, but the result is still a bit weird. Do you mind sharing which method you used for image resize in android and whether you got results consistent with the h5 file?


[Network] Fix #25784: az network private-link-service update: --lb-frontend-ip-configs cannot be used

Related command

Description

Fix: https://github.com/Azure/azure-cli/issues/25784
Testing Guide

History Notes

[Component Name 1] BREAKING CHANGE: az command a: Make some customer-facing breaking change
[Component Name 2] az command b: Add some customer-facing feature

This checklist is used to make sure that common guidelines for a pull request are followed.

[ ] The PR title and description has followed the guideline in Submitting Pull Requests.

[ ] I adhere to the Command Guidelines.

[ ] I adhere to the Error Handling Guidelines.

Network


[FLINK-6293] [tests] Harden JobManagerITCase

One of the unit tests in JobManagerITCase starts a MiniCluster and sends a
LeaderSessionMessage to the JobManager without waiting until the JobManager
has gained leadership. This can lead to a dropped TriggerSavepoint message
which will cause the test to deadlock.
This PR fixes the problem by explicitly waiting for the JobManager to become
the leader.

Good fix. +1 to merge.

Thanks for the review @uce. Merging this PR.


Unexpected layout shown after change_scene_to_packed(...)

I have a UI scene reused across levels including the "main menu".  If I start any level with "Run Current Scene (F6)" then no menu appears as expected.  But, when starting a level from "main menu" the "main menu" layout reappears with the new scene.  To prevent this, I found I had to wait an extra frame, like so:
func start_level() -> void:
	GuiTransitions.hide("MainMenu")
	await GuiTransitions.hide_completed
	# Without await an extra frame, the current menu being hidden is shown in the loaded scene
	await Engine.get_main_loop().process_frame
        get_tree().change_scene_to_packed(...)

Happens in both v0.2.2 and v0.3.0 in my testing.

Hello, and thanks for the report! I'll test this case scenario as soon as possible. In the meantime, if you could provide an example project in which this issue uccurs, that would be pretty helpful (not required though). Also, tell me which Godot version you are using, so I can investigate using with the same version. :fist_oncoming:

Classic case of I should've created the minimal reproduction to begin with... The problem was auto start set to true on the problem transition.

Classic case of I should've created the minimal reproduction to begin with... The problem was auto start set to true on the transition.

That happens :laughing:.
Anyways, thanks for using Simple GUI Transitions, feel free to contribute or propose new features. Cheers! :wink:


export_xcargs parameter is not used from build_app

Question Checklist

[x] Updated fastlane to the latest version
[x] I read the Contribution Guidelines
[x] I read docs.fastlane.tools
[x] I searched for existing GitHub issues

Question Subject
build_app method does not use export_xcargs parameter, but it described in the documentation https://docs.fastlane.tools/codesigning/xcode-project/#xcode-9-and-up
So my question is, is the documentation relevant ?
Question Description

After some research, I've found this parameter is used with gym but I don't know if I should use it or not (my project is a react native app).
In theses logs, we can see export_xcargs is recognized but not set in the command line
+---------------------------------------------------------------+-----------------------------------------------------------------------------+
|                                                           Summary for gym 2.114.0                                                           |
+---------------------------------------------------------------+-----------------------------------------------------------------------------+
| scheme                                                        | ColiswebRelease                                                             |
| export_xcargs                                                 | -allowProvisioningUpdates                                                   |
| export_method                                                 | app-store                                                                   |
| export_options.provisioningProfiles.com.colisweb.outgoing.ant | match AppStore com.colisweb.outgoing.ant                                    |
| project                                                       | ./Colisweb.xcodeproj                                                        |
| destination                                                   | generic/platform=iOS                                                        |
| output_name                                                   | Colisweb                                                                    |
| build_path                                                    | /Users/vagrant/Library/Developer/Xcode/Archives/2019-01-22                  |
| clean                                                         | false                                                                       |
| output_directory                                              | .                                                                           |
| silent                                                        | false                                                                       |
| skip_package_ipa                                              | false                                                                       |
| result_bundle                                                 | false                                                                       |
| buildlog_path                                                 | /var/folders/90/5stft2v13fb_m_gv3c8x9nwc0000gn/T/fastlane_logs353189734/gym |
| skip_profile_detection                                        | false                                                                       |
| xcode_path                                                    | /Applications/Xcode.app                                                     |
+---------------------------------------------------------------+-----------------------------------------------------------------------------+

[02:03:27]: $ set -o pipefail && xcodebuild -scheme ColiswebRelease -project ./Colisweb.xcodeproj -destination 'generic/platform=iOS' -archivePath /Users/vagrant/Library/Developer/Xcode/Archives/2019-01-22/Colisweb\ 2019-01-22\ 02.03.27.xcarchive archive | tee /var/folders/90/5stft2v13fb_m_gv3c8x9nwc0000gn/T/fastlane_logs353189734/gym/Colisweb-ColiswebRelease.log | xcpretty
[02:03:39]: ▸ ❌  error: No profiles for 'com.colisweb.outgoing.ant' were found: Xcode couldn't find any iOS App Development provisioning profiles matching 'com.colisweb.outgoing.ant'. Automatic signing is disabled and unable to generate a profile. To enable automatic signing, pass -allowProvisioningUpdates to xcodebuild. (in target 'Colisweb')
[02:03:39]: ▸ The iOS deployment target is set to 7.0, but the range of supported deployment target versions for this platform is 8.0 to 12.1. (in target 'AirMaps')
[02:03:39]: ▸ The iOS deployment target is set to 7.0, but the range of supported deployment target versions for this platform is 8.0 to 12.1. (in target 'RCTOneSignal')
[02:03:39]: ▸ The iOS deployment target is set to 7.0, but the range of supported deployment target versions for this platform is 8.0 to 12.1. (in target 'RNSentry')
[02:03:39]: ▸ The iOS deployment target is set to 7.0, but the range of supported deployment target versions for this platform is 8.0 to 12.1. (in target 'RNVersionNumber')
[02:03:39]: ▸ ** ARCHIVE FAILED **

❌  error: No profiles for 'com.colisweb.outgoing.ant' were found: Xcode couldn't find any iOS App Development provisioning profiles matching 'com.colisweb.outgoing.ant'. Automatic signing is disabled and unable to generate a profile. To enable automatic signing, pass -allowProvisioningUpdates to xcodebuild. (in target 'Colisweb')

Hello,
Sorry for the late reply.
Finally, I used gym and it works as expected :
gym(scheme: "Scheme", xcargs: "-allowProvisioningUpdates")

Maybe it could be worth to put it in the documentation ?

gym and build_app are exactly the same thing - one is just an alias for the other.
What should be put in the documentation exactly and why? Very possible we are missing something.

@janpio xcargs never worked for the build_app command, so it might be a bug 🤔

Could you please investigate that a bit and switch back to build_app? Code wise I don't see a way how this could happen, so I am really interested what you would find out. Thanks!


Fix cut'n'pasta error in map variable

We are mapping outputs not inputs.

Oops, maybe just start using something generic for cases where it doesn't matter since obviously it's iterating over outputs.


containerd and runc audit checks use the wrong path

Hi everyone (and thanks for doing a great job for community by maintainting this project and contrubuting to it)!
Problem:
The following checks:

1.2.11 Ensure auditing is configured for Docker files and directories - /usr/bin/containerd
1.2.12 Ensure auditing is configured for Docker files and directories - /usr/sbin/runc
are looking for the containerd and runc audit entries, supposing that the files themselves may be found under /usr/bin/containerd/ and /usr/sbin/runc folders, respectively.

However, those files may also be found under /usr/bin/docker-containerd and /usr/bin/docker-runc, respectively. (My guess it depends on docker version and/or OS). Also in documentation section the suggested container mounts are /usr/bin/docker-containerd and /usr/bin/docker-runc.
Possible solutions:

Use a /usr/bin/docker-containerd//usr/bin/runc as fallback paths in 1.2.11 & 1.2.12 tests
Somehow resolve this path dynamically in both tests

Hi @illyaMs, you're absolutely correct.
This is because the test is based on the CIS Docker Benchmark which states 1.2.11 Ensure auditing is configured for Docker files and directories -/usr/bin/containerd (Scored) and 1.2.12 Ensure auditing is configured for Docker files and directories -/usr/sbin/runc (Scored), so the script is forced to include it.
I'll go through  various distros and push a change to the upstream CIS Benchmark and it will trickle down into this script eventually.

Cool, thanks for the quick feedback, @konstruktoid (and for your efforts, for sure).

@illyaMs, on which distributions/OS:es are the files named docker-containerd and docker-runc?
$ for x in $(vagrant status | grep 'running.*virtualbox' | awk '{print $1}' | grep -vE '^$|focal'); do echo "$x:" && vagrant ssh "$x" -c 'command -v containerd runc docker-containerd docker-runc && echo' 2>/dev/null; done
bionic:
/usr/bin/containerd
/usr/bin/runc

buster:
/usr/bin/containerd
/usr/bin/runc

centos:
fedora:
/usr/bin/containerd
/usr/bin/runc

centos failed with the following:
[vagrant@centos ~]$ curl -sSL get.docker.com | sh
# Executing docker install script, commit: 442e66405c304fa92af8aadaa1d9b31bf4b0ad94
+ sudo -E sh -c 'yum install -y -q yum-utils'
+ sudo -E sh -c 'yum-config-manager --add-repo https://download.docker.com/linux/centos/docker-ce.repo'
Adding repo from: https://download.docker.com/linux/centos/docker-ce.repo
+ '[' stable '!=' stable ']'
+ sudo -E sh -c 'yum makecache'
CentOS-8 - AppStream                                                                                21 kB/s | 4.3 kB     00:00
CentOS-8 - Base                                                                                7.5 kB/s | 3.8 kB     00:00
CentOS-8 - Extras                                                                                6.7 kB/s | 1.5 kB     00:00
Docker CE Stable - x86_64                                                                                15 kB/s | 3.5 kB     00:00
Extra Packages for Enterprise Linux Modular 8 - x86_64                                                                                49 kB/s |  34 kB     00:00
Extra Packages for Enterprise Linux 8 - x86_64                                                                                54 kB/s |  33 kB     00:00
Metadata cache created.
+ '[' -n '' ']'
+ sudo -E sh -c 'yum install -y -q docker-ce'
Error:
 Problem: package docker-ce-3:19.03.8-3.el7.x86_64 requires containerd.io >= 1.2.2-3, but none of the providers can be installed
  - cannot install the best candidate for the job
  - package containerd.io-1.2.10-3.2.el7.x86_64 is excluded
  - package containerd.io-1.2.13-3.1.el7.x86_64 is excluded
  - package containerd.io-1.2.2-3.3.el7.x86_64 is excluded
  - package containerd.io-1.2.2-3.el7.x86_64 is excluded
  - package containerd.io-1.2.4-3.1.el7.x86_64 is excluded
  - package containerd.io-1.2.5-3.1.el7.x86_64 is excluded
  - package containerd.io-1.2.6-3.3.el7.x86_64 is excluded

Seems the README is wrong as well.

I've update the CIS Docker Benchmark draft:
1.1.12 Ensure auditing is configured for Docker files and directories - /usr/bin/runc

@konstruktoid not sure about the whole list of distributions, but at least these paths are different under the following configuration:
# echo $OSTYPE
linux-gnu
# lsb_release -rd
Description:    Ubuntu 16.04.6 LTS
Release:        16.04
# uname -r
4.15.0-76-generic

I've just ran part of your command on one of such clusters and here's the result:
# command -v containerd runc docker-containerd docker-runc
/usr/bin/docker-containerd
/usr/bin/docker-runc

@illyaMs are those installed with curl -sSL get.docker.com | sh or the available repo packages?

@konstruktoid Double-checked with my colleagues, been told that the installation has been done via a  simple apt install docker.io command.

That's what I thought @illyaMs, I believe we had a related issue earlier but I can't find it at the moment.
Debian-family docker.io vs docker (the KDE3/GNOME2 applet) naming is kind of messy.
I suggest following https://docs.docker.com/engine/install/ubuntu/#uninstall-old-versions.

Thanks for the link, @konstruktoid .
Just to make things 100% clear, do I get it right that the old version of docker package (docker.io) is the root cause of the issue? (And though by following the update instructions you've mentioned above we'll have the runc and containerd under the paths expected by docker-bench?)

Yes that is mostly correct @illyaMs.
As we both pointed out in this thread, the CIS Benchmark is out-of-date regarding 1.2.12 Ensure auditing is configured for Docker files and directories -/usr/sbin/runc and I've submitted an update.

Thanks for clarification.
Ok then, so I guess the issue may be closed (or shall we keep it open for a while and wait till your 1.2.12 correction is approved/added)?

Let's keep it open as it's still an issue until the next benchmark arrives.

Closing since the CIS Docker Benchmark and https://github.com/docker/docker-bench-security/blob/3769a64a2f18daab9718352a15dfb4d3041ac168/tests/1_host_configuration.sh#L583-L615 now contains /usr/bin/runc


feat: allow response headers to be edited from context.binding

Description
Allow server component to set headers via ServerAppBinding. Previously, jaspr return HTML string, but for this PR, I have change to Response instead which will construct headers with content type & body in single place render method.
In server component, to override header, just do as following:
(context.binding as ServerAppBinding).responseHeaders['Your-Custom-Header'] = "This is value";

Inspired by Ruby on Rails where you can set response.headers from controller.
Type of Change

✨ New feature or improvement

Ready Checklist

[x] I've read the Contribution Guide.
[x] In case this PR changes one of the core packages, I've modified the respective CHANGELOG.md file using
the semantic_changelog format.
[ ] I updated/added relevant documentation (doc comments with ///).
[ ] I added myself to the AUTHORS file (optional, if you want to).

Related issues

https://github.com/schultek/jaspr/issues/258

I no longer need this, serverpod cookie works perfectly with jaspr for this.


Add MetricInputTransformer

What does this PR do?
Fixes #2371
This PR adds a new kind of metric wrapper for data transformations. Transformations allow for modifications to the input a metric receives by wrapping its pred and target arguments. Transformations can be implemented by either subclassing the MetricInputTransformer base class and overriding the .transform_pred() and/or .transform_target() functions, or by supplying a lambda function via the LambdaInputTransformer. A BinaryTargetTransformer which casts target labels to 0/1 given a threshold is provided for convenience.

Before submitting

[x] Was this discussed/agreed via a Github issue? (no need for typos and docs improvements)
[x] Did you read the contributor guideline, Pull Request section?
[x] Did you make sure to update the docs?
[x] Did you write any new necessary tests?

PR review
Anyone in the community is free to review the PR once the tests have passed.
If we didn't discuss your PR in Github issues there's a high chance it will not be merged.

📚 Documentation preview 📚: https://torchmetrics--2392.org.readthedocs.build/en/2392/

Unsure what to do about the failing mypy test - assigning the lambdas to overwrite the original class methods seems to be the most straightforward solution to supplying user-defined behaviour here; I would add the file to [[tool.mypy.overrides]] to mute the error (since its the only one for transformations.py) unless someone sees a better in-code solution?

@lgienapp I just fixed some typing, but suddenly, all tests are failing, Do you mind checking what is wrong... :flamingo:

Some unit test check for error messages via regexes, and these had to be adapted to the spelling fixes as well. Should all pass now.


Slow Down Open Animation

Hey - first, awesome plugin.
Just curious if there's a simple way of slowing down the load-in of the black background for the lightbox.
I see in the CSS there are transitions that bring the elements in but so far nothing has helped me slow down the fade-in/load-in of the background. (I was able to slow down the fade-out) How could I go about doing that?

Same problem here but I need to disable transitions (0 in 0 out)

lol it's easy to edit the included CSS

I don't understand why the question is funny  ("lol")  If the answer seems easy to you, instead of laughing at those of us who don't know the answer, how about sharing your knowledge?
I too would like to see the answer to the original question.

it's because I answered my own question.
I'm not english and I use a lot "lol" for nothing.
Edit the lity.css file and find all "transition" keyword, there is a lot of line like :
  -webkit-transition: -webkit-transform .3s ease;
  transition: -webkit-transform .3s ease;
  -o-transition: -o-transform .3s ease;
  transition: transform .3s ease;
  transition: transform .3s ease, -webkit-transform .3s ease, -o-transform .3s ease;

Remplace all float value ".3s" (= 0.3 second) with a bigger value as you want.


can you add more threads for one download mission?

recently,  i used your source  and read the all code  which one mission with one thread for download, for more faster, i try to add some thread in the "DownloadTask",but face some trouble, so can you change the lib for supporting the multi-thread with one mission.<my english is bad,hope you understand>

@yungelee Yes this is a great suggestion which we can implement.

thanks a lot , i keep find a way for my trouble


Intelligent Matrix Debug Prints/Formats

I made a new Matrix debugging printing and formatting tool this evening.
Expand the tool by doing more color printing inside the matrices to show the G, B, C, D, v, j, i, and e matrices. If the x matrix is unpopulated, return x = as part of the printout.

[ ] fun intelligentMnaFormatter(circuit: Circuit): String

[ ] fun intelligentMnaFormatter(circuit: Circuit): String - Formats (in color) the A and Z matrices. Don't try to print the x matrix, just show x = as part of the printout.
[ ] fun intelligentMnaPrint(circuit: Circuit) Prints the text from the above formatter.
[ ] fun intelligentMnaAllFormatter(circuit: Circuit): String - Formats (in color) the A, x, and Z matrices
[ ] fun intelligentMnaallPrint(circuit: Circuit) Prints the text from the above formatter.

This is going to get moved to the libelectric dependency.


misc: fix typos and unreachables

Thanks, merged. I'll probably piggy-back it with a next release instead of releasing just these changes.
Do you want to get included in the authors field in Cargo.toml?

@vorner, thanks, that would be very nice.


Setting commom info every page?

We have several View in our project. In the current design I've to copy and paste in every view keywordTags, url, while we just want to change page title not these informations.
// Index.cshtml
seoInfo.SetCommonInfo(
               pageTitle: "My Index",
                description: "My custom description",
                url: "https://site.com.br",
                keywordTags: new[]
                {
                    "a",
                    "b",
                    "c",
                },
            );

// Home.cshtml
seoInfo.SetCommonInfo(
                pageTitle: "Home sweet home",
                description: "My custom description",
                url: "https://site.com.br",
                keywordTags: new[]
                {
                    "a",
                    "b",
                    "c",
                },
            );

Am I doing something wrong?
In our case we don't wanna change keywordTags, description and url... just page title...

According to SEO best practices, you must have unique title, description, and url per page. It's not recommended to have the same description, url, and keywords for all pages.
But if you want you can use the following:
Set your common info once in ConfigureServices. (title does not matter. it will be rewritten per page)
public void ConfigureServices(IServiceCollection services)
{
    services.AddSeoTags(seoInfo =>
    {
        seoInfo.SetCommonInfo(
            pageTitle: "No matter, will be rewritten.",
            description: "your description",
            url: "your-url",
            keywordTags: new[] { "tag1", "tag2" }
            );

Then rewrite only page title in each view
Html.SetSeoInfo(seoInfo =>
{
    seoInfo.MetaLink.PageTitle = "your title";
    seoInfo.TwitterCard.Title = "your title";
    seoInfo.OpenGraph.Title = "your title";
});


Having two Screengrabfile s?

New Issue Checklist

[✔ ] Updated fastlane to the latest version
[✔ ] I read the Contribution Guidelines
[✔ ] I read docs.fastlane.tools
[✔ ] I searched for existing GitHub issues

Issue Description
I am using a Screengrabfile to run play store screenshots.
Now I would like to use a second Screengrabfile to get screenshots for something else.
I couldn't find a way to specify the Screengrabfile to use. is that possible?

How are you running the command?

@janpio fastlane screengrab for the store screenshots.
I was hoping to find something like: fastlane screengrab -i Screengrabfile

This sounds like a usecase for a Fastfile - and you just define two lanes (e.g. playstore and other) that both execute screengrab internally and supply the content of your Screengrabfile as parameters. Then run fastlane playstore and fastlane other to execute them.
Can you post the content of your current Screengrabfile?

mmm can you show me an example of how to do that?
My playstore screengrabfile is:
clear_previous_screenshots true

app_package_name 'com.xxx'
use_tests_in_packages ['com.xx.screenshots.playstore']

app_apk_path 'production-debug.apk'
tests_apk_path 'production-debug-androidTest.apk'

locales ['cs-CZ', 'da-DK', 'de-DE', 'en-US', 'es-ES', 'fi-FI', 'fr-FR', 'it-IT', 'nl-NL', 'no-NO', 'pl-PL', 'pt-PT', 'sv-SE',	'zh-CN']

test_instrumentation_runner 'com.xxx.EspressoTestRunner'

See here for an example lane:
https://docs.fastlane.tools/actions/screengrab/#3-examples
https://docs.fastlane.tools/getting-started/android/screenshots/#use-in-fastfile
(Confusing right now because of a migration: The "action" screengrab is also called capture_android_screenshots because of a recent rename (to simplify the naming))
Setup of fastlane is here:
https://docs.fastlane.tools/getting-started/android/setup/
A random finished Fastfile looks like this:
https://github.com/fastlane/examples/blob/master/Shop.com/Fastfile
Less difficult than it sounds.

I will give it a try. Thanks!

@janpio your recommendation worked great.
I ended up using:
desc "Take screenshots for translations"
  lane :translations_screenshots do
    screengrab(...)

capture_android_screenshots gave me an error

Nice :)
Oh, could you report that error as a new issue? screengrab and that one should be identical. If they are not, something is going wrong that should be fixed. Thanks.

it just says Could not find action, lane or variable 'capture_android_screenshots'. Check out the documentation for more details: https://docs.fastlane.tools/actions
I am running: fastlane version 2.28.3

Oh, that was added in the current 2.68.0 - all good then.
You should upgrade, painless but useful ;)