Cosign Keyless Signing using MS as the OIDC issues

Question

Hello,
I am interested in signing some JSON artifacts using Keyless signing, and was reading the documentation for it over here: https://docs.sigstore.dev/signing/overview/. As per the docs, there are two supported OAuth flows today: the standard flow and the device flow.
I have already tried the device flow, and it works when I log in through my personal Google Account. The command I used was: cosign sign-blob test.json --bundle cosign.bundle. This opened up my browser window for me to log in, and then after logging in, the JSON was signed.
However I would like to do this automatically (programmatically) on a machine that has no window, so I would like to follow the standard flow. Reading the supported OIDC providers (MS, Google, GIthub), I am trying to do this via MS. Also reading the cosign sign-blob docs, there seems to be an option to pass in the --identity-token flag. I am able to generate an ID token from MS, but the problem I am having with MS is that the audiences claim in the token must contain sigstore. There doesn't seem to be a way to customize the aud claim?
The setup i did was:

Login to my company's MS Azure
Navigate to Microsoft Entra ID
Create an Application
Ran this cmd to get the ID token:

curl -L "https://login.microsoftonline.com/<company_name>.onmicrosoft.com/oauth2/v2.0/token" \
-H "Content-Type: application/json" \
-H "Cookie: fpc=Al-***; stsservicecookie=***; x-ms-gateway-slice=***" \
-F "client_id=\"<clientId>\"" \
-F "scope=\"https://graph.microsoft.com/.default\"" \
-F "client_secret=\"<secret>\"" \
-F "grant_type=\"client_credentials\""

We are not super tied to MS if there is an easier way to achieve keyless signing through cosign programatically.
Is there maybe a way to do something like this but for AWS? This is the example used in the Cosign Overview Doc:
$ cosign sign --identity-token=$(
    gcloud auth print-identity-token \
        --audiences=sigstore \
        --include-email \
        --impersonate-service-account<EMAIL_ADDRESS>\
    gcr.io/user-vmtest2/demo

Any help would be much appreciated,
Thanks

What did you get on following Device flow method using MS account ?

I get the following:

Hey @alecrevangelista, it looks like our client secret expired for the Microsoft integration. We're taking a look now.

@haydentherapper Thank you. Please let us know as soon as you get a chance to rotate the secrets. is "audiences claim in the token must contain sigstore" a requirment ? Because as @alecrevangelista  pointed out there is no way to do that currently in Microsoft AD / EntraID.

Yes, the audience must contain "sigstore", that's a requirement of the OpenID Connect spec. I'm not familiar with Microsoft's login process, though I would assume there is some way to configure audience.

this should be fixed now (secrets have been rotated and manually verified in both staging and production)

Thanks for updating the secrets, I am able to do the Device flow method using a MS account. However this is still manual and I would like to follow the standard flow because I want to perform signing automatically on some machine (i.e no one there to open the browser as with the device flow). Is there any guidance on how I should configure my MS Entra ID Application? Or how I can get started with MS in general?
Appreciate the help

Cosign has "providers" (https://github.com/sigstore/cosign/tree/main/pkg/providers) that can pick up the identity token from various environment variables or files on disk. This can be used in automated CI environments. I'm not familiar with MS Entra though so I can't provide help there.

@haydentherapper  Is there any example I can refer to for github ? I use ECR to host my images and helm chart , but just now we started to see our pipeline failing. we simply used
cosign sign -y <image digest with git ref>
For verification we used
cosign verify  --certificate-identity '${{ github.server_url }}/${{ github.repository }}/.github/workflows/main.yaml@${{ github.ref }}'  --certificate-oidc-issuer https://token.actions.githubusercontent.com ${{ secrets.COSIGN_AWS_REGISTRY }}/docker/test:$VERSION .
We are now failing with
Retrieving signed certificate...
Successfully verified SCT...
Error: signing [***/docker/test@]: parsing reference: could not parse reference: ***/docker/test@
main.go:74: error during command execution: signing [***/docker/test@]: parsing reference: could not parse reference: ***/docker/test@

Can I please get some insights ?


[Failure] 30 3 | add_handwashing_facility_cat function works with default parameters for remote surveys

The issue

The df_remote data frame is not being filtered correctly. The code is using the original df instead of the filtered df_remote in the mutation step.

The function is not handling the case where wash_handwashing_facility is available for remote surveys.

Proposed Solution
To fix these issues, modify your add_handwashing_facility_cat function as follows:
add_handwashing_facility_cat <- function(
  df,
  # ... (keep other parameters the same)
){
  # Option 1: Process for In-person modality (keep this part the same)

  # Option 2: Process for Remote modality or No permission to see
  df_remote <- dplyr::filter(df, !!rlang::sym(survey_modality) %in% survey_modality_remote | !!rlang::sym(facility) %in% facility_options2)
  df_remote <- dplyr::mutate(
    df_remote,  # Change this from df to df_remote
    wash_handwashing_facility_yn = dplyr::case_when(
      !!rlang::sym(facility) == "available" ~ 1,  # Add this line to handle "available" for remote surveys
      !!rlang::sym(reported_facility) %in% facility_reported_options[1:3] ~ 1,
      !!rlang::sym(reported_facility) %in% facility_reported_options[4:5] ~ 0,
      .default = NA_real_
    ),
    wash_soap_yn = dplyr::case_when(
      !!rlang::sym(observed_soap) == observed_soap_options[1] ~ 1,
      !!rlang::sym(observed_soap) %in% observed_soap_options[-1] ~ 0,
      .default = NA_real_
    ),
    wash_handwashing_facility_jmp_cat = dplyr::case_when(
      wash_handwashing_facility_yn == 1 & wash_soap_yn == 1 ~ "basic",
      wash_handwashing_facility_yn == 1 & wash_soap_yn == 0 ~ "limited",
      wash_handwashing_facility_yn == 0 ~ "no_facility",
      .default = NA_character_
    ))

  # Combine both processed data frames
  df <- dplyr::bind_rows(df_in_person, df_remote)

  return(df)
}

The error
── Failure ('test-add_handwashing_facility_cat.R:30:3'): add_handwashing_facility_cat function works with default parameters for remote surveys ──
result$wash_handwashing_facility_yn[4] not equal to 1.
1/1 mismatches
[1] NA - 1 == NA
── Failure ('test-add_handwashing_facility_cat.R:31:3'): add_handwashing_facility_cat function works with default parameters for remote surveys ──
result$wash_handwashing_facility_yn[6] not equal to 0.
1/1 mismatches
[1] 1 - 0 == 1
── Failure ('test-add_handwashing_facility_cat.R:32:3'): add_handwashing_facility_cat function works with default parameters for remote surveys ──
result$wash_soap_yn[4] not equal to 0.
1/1 mismatches
[1] 1 - 0 == 1
── Failure ('test-add_handwashing_facility_cat.R:33:3'): add_handwashing_facility_cat function works with default parameters for remote surveys ──
result$wash_handwashing_facility_jmp_cat[4] not equal to "limited".
1/1 mismatches
x[1]: NA
y[1]: "limited"
── Failure ('test-add_handwashing_facility_cat.R:34:3'): add_handwashing_facility_cat function works with default parameters for remote surveys ──
result$wash_handwashing_facility_jmp_cat[6] not equal to "no_facility".
1/1 mismatches
x[1]: NA
y[1]: "no_facility"

@lanawwas closing as won't fix as it relates to an hold version of add_handwashing_facility_cat.R.


Prometheus turns alert from firing to pending every time value changes.

Since prometheus version v2.4.0 when a firing alert's value increases, the alert turns to pending and start again to evaluate itself. This produces that your firing alert stops and starts again to evaluate itself, so everytime that it happens you receive a new notification.
All versions before v2.4.0, when your value increased, the alert was still in firing (ignoring value changes), so it didn't turns to pending, so you didn't receive new notifications. This is the correct performance if you have this example:
Situation: I want to receive an unique notification when a Pod is restarted more than 10 times (ONLY ONE, IGNORING IF THE VALUE INCREASES!!)
    - alert: PodRestarts-10
      expr: (changes(kube_pod_container_status_restarts_total[1h]) > 10
      for: 1m
      labels:
      annotations:
        description: 'Pod {{ $labels.pod }} restarts > 10, value: {{ $value }}'
        summary: Pod restarts > 10

Once PodRestarts is == 11 (for example), I'll be notified. But If after the value goes to 12, I'll not be notified because the value is still bigger than 11, so the alert doesn't turn to pending.
This is what doesn't happen in versions after 2.4.0 !! Why?? Could we fix it with some parameters??
Thank you very much! :)

Just for a pointer if anyone is looking it at, https://github.com/prometheus/prometheus/pull/4061 was introduced in 2.4.0
(I won't be able to take a look for now)

Yes, I saw it, but i found that if you change old your variable value from labels to anotation the issue is fixed.
Before:
- alert: PodRestarts-10
  expr: (changes(kube_pod_container_status_restarts_total[1h]) > 10
  for: 1m
  labels:
  **Value: {{ $value }}**
  annotations:
    description: 'Pod {{ $labels.pod }} restarts > 10, value: {{ $value }}'
    summary: Pod restarts > 10

After:
- alert: PodRestarts-10
expr: (changes(kube_pod_container_status_restarts_total[1h]) > 10
for: 1m
labels:
annotations:
description: 'Pod {{ $labels.pod }} restarts > 10, value: {{ $value }}'
summary: Pod restarts > 10
Value: {{ $value }}
Thanks

This is working as expected. If putting value in a label, it will resolve existing alerts and create new ones when the value change.


zcash-android-wallet-sdk v2.0.0 zashi acceptance testing

Verify that the following are resolved:

[x] zcash/librustzcash#906
[x] zcash/librustzcash#904
[x] zcash/librustzcash#897

@nuttycom I just successfully tested that the https://github.com/zcash/librustzcash/issues/904 and https://github.com/zcash/librustzcash/issues/906 are fixed, and we can close them. The https://github.com/zcash/librustzcash/issues/897 is still reproducible.

@nuttycom @str4d I just tested https://github.com/zcash/zcash-android-wallet-sdk/pull/1247 with the included build in Zashi, and all works as expected.


Opener and KeyPad 2.0 - no KeyPad entities visible

Hello
Thank you very much for the great work. I'm currently experimenting a bit.
I have an opener running via the ESP hub in the Home Assistant (2024.2.1). These entities are all displayed. But now I have also connected a KeyPad 2.0. Unfortunately, its entities are not displayed. I have already reset everything several times, reinstalled, recoupled... Without success. In other articles, I could see in pictures that entries such as "KeyPad status" should appear under "Diagnostic". In MQTT I receive corresponding messages from the KeyPad.
What am I doing wrong or what have I overlooked?
Thank you for your help.

Try this binary.
nuki_hub-8.33-pre-1.zip

Sorry, maybe I'm a newbie. But how do I use this? Could not find this file on the Home Assistant via WinSC

Are already one step further... Thank you. But in my opinion, entities of the KeyPad are still missing.  as "KeyPad status"

I think the answer is unfortunately not as easy as adding the auto discovery topics for home assistant. Checking the code again, the keypad is actually not yet implemented for the opener - mostly because it's a rare thing that someone want's to use an opener and a keypad together. I'll have to go through the code and see what's necessary to add keypad support for the opener - it's mostly duplicating some code.

Thank you for your efforts. If there's anything I can do to help, I'm very happy to do it!

The view has changed...

with FingerPrint:

[
{
"index": 158,
"authorizationId": 3431651,
"authorizationName": "Keypad",
"timeYear": 2024,
"timeMonth": 2,
"timeDay": 14,
"timeHour": 8,
"timeMinute": 51,
"timeSecond": 46,
"type": "KeypadAction",
"action": "Unlock",
"completionStatus": "undefined"
},
{
"index": 157,
"authorizationId": 3431651,
"authorizationName": "Zutrittscode (Keypad)",
"timeYear": 2024,
"timeMonth": 2,
"timeDay": 14,
"timeHour": 8,
"timeMinute": 50,
"timeSecond": 52,
"type": "KeypadAction",
"action": "Unlock",
"completionStatus": "success"
},
{
"index": 156,
"authorizationId": 3431651,
"authorizationName": "Keypad",
"timeYear": 2024,
"timeMonth": 2,
"timeDay": 14,
"timeHour": 7,
"timeMinute": 52,
"timeSecond": 40,
"type": "KeypadAction",
"action": "Unlock",
"completionStatus": "undefined"
},
{
"index": 155,
"authorizationId": 3431651,
"authorizationName": "Zutrittscode (Keypad)",
"timeYear": 2024,
"timeMonth": 2,
"timeDay": 14,
"timeHour": 7,
"timeMinute": 52,
"timeSecond": 2,
"type": "KeypadAction",
"action": "Unlock",
"completionStatus": "success"
},
{
"index": 154,
"authorizationId": 3431651,
"authorizationName": "Keypad",
"timeYear": 2024,
"timeMonth": 2,
"timeDay": 14,
"timeHour": 7,
"timeMinute": 48,
"timeSecond": 43,
"type": "KeypadAction",
"action": "Unlock",
"completionStatus": "undefined"
}
]

With Pin:

[
{
"index": 159,
"authorizationId": 3431651,
"authorizationName": "Zutrittscode (Keypad)",
"timeYear": 2024,
"timeMonth": 2,
"timeDay": 14,
"timeHour": 8,
"timeMinute": 54,
"timeSecond": 5,
"type": "KeypadAction",
"action": "Unlock",
"completionStatus": "success"
},
{
"index": 158,
"authorizationId": 3431651,
"authorizationName": "Keypad",
"timeYear": 2024,
"timeMonth": 2,
"timeDay": 14,
"timeHour": 8,
"timeMinute": 51,
"timeSecond": 46,
"type": "KeypadAction",
"action": "Unlock",
"completionStatus": "undefined"
},
{
"index": 157,
"authorizationId": 3431651,
"authorizationName": "Zutrittscode (Keypad)",
"timeYear": 2024,
"timeMonth": 2,
"timeDay": 14,
"timeHour": 8,
"timeMinute": 50,
"timeSecond": 52,
"type": "KeypadAction",
"action": "Unlock",
"completionStatus": "success"
},
{
"index": 156,
"authorizationId": 3431651,
"authorizationName": "Keypad",
"timeYear": 2024,
"timeMonth": 2,
"timeDay": 14,
"timeHour": 7,
"timeMinute": 52,
"timeSecond": 40,
"type": "KeypadAction",
"action": "Unlock",
"completionStatus": "undefined"
},
{
"index": 155,
"authorizationId": 3431651,
"authorizationName": "Zutrittscode (Keypad)",
"timeYear": 2024,
"timeMonth": 2,
"timeDay": 14,
"timeHour": 7,
"timeMinute": 52,
"timeSecond": 2,
"type": "KeypadAction",
"action": "Unlock",
"completionStatus": "success"
}
]

Hi, I think first thing to do is to add the missing code, not that much you can do.

Hi
Any News?
best regards

Hi,
actually there's not as much missing as I thought. I think I only have to recheck all auto discoveries for the opener keypad

Check this binary please
nuki_hub-8.34-pre-1.zip

THX. much better. must test it.

Is this working as expected?
@technyon: Has this been merged into master yet?

I've manually build a nuki_hub.bin from https://github.com/technyon/nuki_hub/pull/373 and can confirm this is working. I've tested:

Opener with a paired Keypad showing up correctly
Deleting, updating, creating keycodes

Merged into master


Ignore Open Quotes in Here Documents

It seems there's an issue with here documents containing opening quotes, causing content outside the here document to be interpreted as a string incorrectly.
Here's a simple example:
cat <<- 'FOO'
It's a shame that this here document breaks syntax highlight
FOO
In this example the apostrophe of "it's" causes content after the closing FOO to be treated as a string.

Heredocs are a weak part of BashSupport. There is a branch in git to fix this (the lexer analyses heredocs, not the parser). It will take a while, though, to finish this because it requires some larger changes (extra lexer for the heredocs, embedded subshells, etc). It's not yet clear whether other languages can be injected into heredocs because this requires additional work.

This should be fixed now. If possible, please check this with the latest IntelliJ 15 EAP and the newest beta update of BashSupport (only available for the 15 EAP).


BinarySearch

This is BinarySearch in java bt Buffered Reader
Please merge my folder

okay sure please give this repo a star🐱🏍

Sure✨


Crash on iOS "UnityDeeplinks_init" when using Vuforia

Hello!
I came across this plugin when searching for something that helped me implement deeplinks in my android and iOS app. For android it works like a charm, however for iOS I'm not being able to solve an issue.
As far as I can tell it's due to an incompatibility between UnityDeeplinks and Vuforia. When "UnityDeeplinks_init" it's called the app crash, however if the call isn't made everything works just fine (except the deeplinks part of course).
Any idea or insight about this issue and how to solve it?
Thanks!

I am not familiar with Vuforia. Can you provide some information about the crash? Maybe add some debug messages to see where the crash occurs?

Here is the log of the crash:
Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[VuforiaNativeRendererController setGameObjectName:]: unrecognized selector sent to instance 0x15591b00'
*** First throw call stack:
(0x21a1791b 0x211b2e17 0x21a1d2b5 0x21a1aee1 0x21946238 0x4df7db 0x113563 0x4bbba3 0xccc881 0x7397a3 0x733fb9 0x802dfb 0x802f7d 0x80201b 0x603e69 0x6dcd75 0x851f67 0xc3cef 0xc3ba9 0x30dc905 0x24073a0b 0x24073857 0x2375a50b 0x21c68759 0x219c637d 0x219da5b3 0x219d9cc7 0x219d80d9 0x21927229 0x21927015 0x22f17ac9 0x25ffb189 0xbbf97 0x215cf873)
libc++abi.dylib: terminating with uncaught exception of type NSException

This happens when the "UnityDeeplinks_init" function is called in the "Start" method of the "UnityDeeplinks" game object. If this call isn't made there is no crash and the other features of the app work just fine.
Other test I made was using your plugin without Vuforia to check if it could be related with the device, or iOS version. In this scenario your plugin works which leads me to think that it is in fact an incompatibility between the two plugin: UnityDeeplinks and Vuforia.

The cause is related to the fact that Vuforia overrides the app delegate class:
IMPL_APP_CONTROLLER_SUBCLASS(VuforiaNativeRendererController)
UnityDeeplinks does the same, which means that they conflict.
Try to move all UnityDeeplinksAppController implementation block into Vuforia's.

@TROPHiT : I have the same problem with an other plugin.
I would suggest you to take a look at this page to solve the issue:
http://eppz.eu/blog/override-app-delegate-unity-ios-osx-1/

@TROPHiT how to resolve conflict with Vuforia? When I move implementation of deep link to Vuforia, I have bunch of errors. I'm not familiar with Obj-C and haven't got such person. Please help...

Check out eppz github


fix: Scanner buttons not updated

What

Fixes the scanner buttons not getting updated

Closes: #1092

Sounds good @monsieurtanuki


Inline text runs

Release
Renderer status
Tasks status

1.2
✔ .NET (#2378)✔ Android (#2380)✔ iOS (#2379)🔄 TS (#2422)✔ UWP (#2377)
✔ Shared (#2376)🔄 Designer (#2527)

Solves requests

Inline text colors (#1932)
Inline actions (#1990)
Inline highlighting (#1934)
Inline strikethrough on text (#2694)

Summary
Introduce something similar to XAML's RichTextBlock, where you provide an array of runs, allowing you to do inline rich text formatting.
Schema
New element, RichTextBlock

Property
Type
Required
Description

type
string
Yes
Must be "RichTextBlock"

inlines
IInlineRun[]
Yes
The inline runs to display. Required. The type is IInlineRun since we'll have future things like ImageRuns that need to be added here.

id
string
No, default: null
A unique identifier associated with the element

spacing
string
No, default: default
Controls the amount of spacing between this element and the preceding element.

separator
boolean
No, default: false
When true, draw a separating line at the top of the element.

New inline element, TextRun (implements IInlineRun).

Property
Type
Required
Description

type
string
Yes
Must be "TextRun"

text
string
Yes
The text to display. Does NOT support markdown.

selectAction
IAction
Action to invoke when this text run is clicked. Visually changes the text run into a hyperlink. Action.ShowCard is NOT supported.

color
string
No, default: default
Controls the color of the text. Defaults to default.

isSubtle
boolean
No, default: false
If true, displays text slightly toned down to appear less prominent.

size
string
No, default: default
Controls the size of the text.

weight
string
No, default: default
Controls the weight of the text.

italic
boolean
No, default: false
If true, displays the text using italic font.

strikethrough
boolean
No, default: false
If true, displays the text with strikethrough.

highlight
boolean
No, default: false
If true, displays the text highlighted.

fontFamily
string
No, default: default
Controls the font family. Values are default and monospace

Example
{
	"type": "RichTextBlock",
	"inlines": [

		// Color and inline action
		{
			"type": "TextRun",
			"text": "The Huffington Post",
			"color": "good",
			"selectAction": {
				"type": "Action.Submit"
				…
			},
			"italic": true, // Italic support
			"strikethrough": true // Strikethrough support
		},

		// If only need text, no need to specify the whole object
		"5/23/2016",

		// Inline highlighitng
		{
			"type": "TextRun",
			"text": "This is highlighted",
			"highlight": true
		}
	]
}

Host Config
Container foregroundColor values have a new property, highlightColors.
{
  "supportsInteractivity": true,
  "containerStyles": {
    "default": {
      "foregroundColors": {
        "default": {
          "default": "#FF333333",
          "subtle": "#EE333333",
          "highlightColors": {
            "default": "#FF006400",
            "subtle": "#FF006400"
          }
        },
        "accent": {
          "default": "#FF2E89FC",
          "subtle": "#882E89FC",
          "highlightColors": {
            "default": "#FF006400",
            "subtle": "#FF006400"
          }
        },
        "attention": {
          "default": "#FFCC3300",
          "subtle": "#DDCC3300",
          "highlightColors": {
            "default": "#FF006400",
            "subtle": "#FF006400"
          }
        },
				...
      }
    },
    "emphasis": {
      "backgroundColor": "#08000000",
      "foregroundColors": {
        "default": {
          "default": "#FF333333",
          "subtle": "#EE333333",
          "highlightColors": {
            "default": "#FF006400",
            "subtle": "#FF006400"
          }
        },
        "accent": {
          "default": "#FF2E89FC",
          "subtle": "#882E89FC",
          "highlightColors": {
            "default": "#FF006400",
            "subtle": "#FF006400"
          }
        },
        "attention": {
          "default": "#FFCC3300",
          "subtle": "#DDCC3300",
          "highlightColors": {
            "default": "#FF006400",
            "subtle": "#FF006400"
          }
        },
				...
      }
    },
    "accent": {
			...
    },
    "attention": {
			...
    },
    "good": {
			...
    },
    "warning": {
			...
    }
  },
	...
}

Down-level impact
High. Content is completely dropped due to unknown element.
Host burden
Medium if we support highlighting (since they need to choose highlighting colors for every color and emphasis combination).

Auto-generated task status

[x] Shared
[ ] Designer
[x] .NET
[x] Android
[x] iOS
[ ] TS
[x] UWP

I like the proposal overall, but I am not sure we need to introduce TextRun, ImageRun, etc. Why not use the existing elements types, and reject elements we don't want to support as inlines (like ColumnSet for instance)?

Good thoughts. There would be some properties that wouldn't make sense (like TextBlock.Wrap), but it might be worth sharing types. Or, TextBlock could inherit from TextRun.

Added italic support

Updated the spec...

To address the length concerns, we’re simplifying the payload
a.	Removing the concept of paragraphs, so it’s just a set of inlines
b.	Syntax sugar for auto-converting a text string into a basic TextRun
For the wrap/maxLines
a.	Remove those properties
For the markdown inside runs
a.	Don’t support markdown
For being able to use italics within runs (since no markdown)
a.	add an “italic” property to TextRun
For strikethrough support
a. Add a "strikethrough" property to TextRun

Future 1.3 features

For fallback support/extensibility (which markdown doesn’t support)
a.	We’ll add that in 1.3 for text runs (too costly to add now)

Spec changes today...

Removed the baseContainerStyle from host config
a. Decided that tooling should be introduced to simplify authoring the host config rather than building that functionality into the host config itself (David, Paul, and Matt were in favor of tooling, Andrew was in favor of improving the host config)
Moved the highlightColors property from being a peer to foregroundColors to being contained within foregroundColors.[color], since this is a bit easier to understand rather than having the colors disconnected from each other
highlightColor host config values will ALWAYS be an object... no fancy syntax sugar for accepting a string and auto-creating the default/subtle values out of it (our tooling will help simplify authoring all of this).

Future 1.3 features

Allowing specifying default values of size, color, etc on the RichTextBlock so they don't have to redundantly be specified on the inlines themselves

This is completed.


Move alerts actions into a dropdown

Last minor to have updated the same style as presented by UI for "View Alerts" umbrella.
There are pending things not yet implemented as we need support from backend:

Sorting by trigger context is not yet supported in Alerts.
Comments are only supported on transition state but not as generic ones per alert, this need also support on the backend.

@mtho11 please, if you can take a look and merge, with this the AlertCenter has a good progress in this area.
I'm going to move into Hawkular Alerts to add these pendings services, back into UI when ready.

Merged #560


⚠ ClamAV has degraded performance

In 141ad5d, ClamAV (https://spamassassin.apache.org/) experienced degraded performance:

HTTP code: 200
Response time: 68 ms

Resolved: ClamAV performance has improved in e4cb5d2.


Fixing broken link

@D-Roch  Many thanks for correcting this, would you mind pulling develop into your work branch as that should fix the Travis build also? Develop is now building properly.
I will also pull this in into our internal 2.0.0 branch.

@alexflav23 done, the other PR failed because of some network issues


fix: upgrade build controller and preview

and remove some old cruft

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by:
To complete the pull request process, please assign jstrachan
You can assign the PR to them by writing /assign @jstrachan in a comment when ready.
The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment


convertToSE argument names

The convertToSE function has argument name "matrix".
-> Rename this to "assay" or "counts" in order to unify naming with the SummarizedExperiment format.

Closed via #35


input with two values

I've encountered an input field (type hidden) with two value attributes, such as:
<input name="test" value="foo" type="hidden" value="bar"/>
When I submit the form in a browser, the first value gets submitted ("foo" in this case) - tested with Chromium and Firefox.
But when I parse the html with jsoup, the element gets the second value ("bar" in this case), overriding the first one.

Duplicate of #1219

Thanks - added testcase to verify fixed with #1219


on Sonoma 14.5 moving window to space is not working

typing yabai -m window --space 2 --focus doesn't  yield any results.
SIP is disabled.
config:
yabai -m signal --add event=dock_did_restart action="sudo yabai --load-sa"
sudo yabai --load-sa
global settings
yabai -m config mouse_follows_focus          on
yabai -m config focus_follows_mouse          on
yabai -m config window_placement             second_child
yabai -m config split_ratio                  0.50
yabai -m config mouse_modifier               alt
yabai -m config mouse_action1                move
yabai -m config mouse_action2                resize
general space settings
yabai -m config layout                       bsp
yabai -m config top_padding                  5
yabai -m config bottom_padding               5
yabai -m config left_padding                 5
yabai -m config right_padding                5
yabai -m config window_gap                   5
echo "yabai configuration loaded.."
#disable soecific apps
yabai -m rule --add app="^System Settings$" manage=off
yabai -m rule --add app="^Calculator$" manage=off
yabai -m rule --add app="^Finder$" manage=off
yabai -m rule --add app="^Messages$" manage=off
yabai -m rule --add app="^Obsidian$" manage=off
borders active_color=0xF0BE8900 inactive_color=0xff494d64 width=3.0 style=round hidpi=on&

It looks like you're missing:
yabai -m rule --apply

Same issue here, tried reinstalling yabai from HEAD but no luck. Attempting to move a window to another workspace causes it to simply just un-tile until I switch away from that workspace and back.

yabai -m window --space 2 --focus

Where should I put this?
typing yabai -m window --space 2 --focus; yabai -m rule --apply
doesn't yield any results.
Also did this change lately? in the past typing this: > yabai -m window --space 2 --focus, wass enough to move window to a different space and move the focuse to it.

same issue here, in previous macos version (13.x.x) i can use yabai without disable the SIP partially, everything works flawlessly especially window movement between spaces. But now in 14.5 window mode always failed to work windows between spaces

Same issue here after upgrading to 14.5

Possible duplicate of #2261

I'm seeing the same thing after upgrading to 14.5, with no config changes. FWIW I also downloaded and tried out Amethyst and they seem to be having the same problem.

Just updated having the same issue.

Likewise, having the same issue after updating today

Amethyst  now also a a bug report regarding this issue https://github.com/ianyh/Amethyst/issues/1643

duplicate https://github.com/koekeishiya/yabai/issues/2240

Apple did Apple things and made the function protected. Will likely require SIP to be disabled from now on.
pre 14.5:

post 14.5:

Apple did Apple things and made the function protected. Will likely require SIP to be disabled from now on.
pre 14.5:
post 14.5:

that would be awful, can't really turn sip of on company laptops.. i really hope this isn't true
thanks for looking into it @koekeishiya

Maybe we can use bettertouchtool to accomplish this function

To make this work do we have to fully disable SIP or we can add a flag to this?
csrutil enable --without fs --without debug --without nvram

@koekeishiya

To make this work do we have to fully disable SIP or we can add a flag to this?
csrutil enable --without fs --without debug --without nvram

@koekeishiya

Installing from HEAD fixed this for me without requiring further SIP changes

To make this work do we have to fully disable SIP or we can add a flag to this?
csrutil enable --without fs --without debug --without nvram

@koekeishiya

Installing from HEAD fixed this for me without requiring further SIP changes

it works with SIP enabled?

To make this work do we have to fully disable SIP or we can add a flag to this?
csrutil enable --without fs --without debug --without nvram

@koekeishiya

Installing from HEAD fixed this for me without requiring further SIP changes

it works with SIP enabled?

"partialy" disabled. You need to disable filesystem restrictions, debug restricitons and nvram restrictions.
(Not sure why NVRAM and FS are needed, but yeah)

To make this work do we have to fully disable SIP or we can add a flag to this?
csrutil enable --without fs --without debug --without nvram

@koekeishiya

Installing from HEAD fixed this for me without requiring further SIP changes

it works with SIP enabled?

"partialy" disabled. You need to disable filesystem restrictions, debug restricitons and nvram restrictions.
(Not sure why NVRAM and FS are needed, but yeah)

I have the same SIP configuration and have reinstalled from HEAD but to no avail, still facing the issue :/

Apple did Apple things and made the function protected. Will likely require SIP to be disabled from now on.
pre 14.5:
post 14.5:

Is there any other / alternative way to do the "windows movement" between spaces without using  XMoveWindows... function that have been protected? or is it the only way because of "apple things"

To make this work do we have to fully disable SIP or we can add a flag to this?
csrutil enable --without fs --without debug --without nvram

@koekeishiya

Installing from HEAD fixed this for me without requiring further SIP changes

it works with SIP enabled?

"partialy" disabled. You need to disable filesystem restrictions, debug restricitons and nvram restrictions.
(Not sure why NVRAM and FS are needed, but yeah)

I have the same SIP configuration and have reinstalled from HEAD but to no avail, still facing the issue :/

Did you do all the steps explained in the Wiki? And Intel or Arm?
https://github.com/koekeishiya/yabai/wiki/Disabling-System-Integrity-Protection
https://github.com/koekeishiya/yabai/wiki/Installing-yabai-(from-HEAD)

Installing from HEAD fixed the moving windows to different spaces for as well without changing any SIP settings.

To make this work do we have to fully disable SIP or we can add a flag to this?
csrutil enable --without fs --without debug --without nvram

@koekeishiya

Installing from HEAD fixed this for me without requiring further SIP changes

it works with SIP enabled?

"partialy" disabled. You need to disable filesystem restrictions, debug restricitons and nvram restrictions.
(Not sure why NVRAM and FS are needed, but yeah)

I have the same SIP configuration and have reinstalled from HEAD but to no avail, still facing the issue :/

Same for me. Installing from HEAD fixed it without issues.

Same for me. Installing from HEAD fixed it without issues.

Installing from HEAD did not fix this for me...

Same for me. Installing from HEAD fixed it without issues.

Installing from HEAD did not fix this for me...

You'll need to disable SIP using the documented process.
I think there is a bit of confusion with people saying it's working "without changing any SIP configuration." The people saying this likely already had SIP disabled. I was unable to get it working when using the default SIP enabled configuration. After following the full steps to disable SIP and installing the HEAD version, previous functionality of moving windows to spaces has been restored.
I'm on M2 ARM hardware. Here is my SIP status:
❯ uname -m
arm64

❯ csrutil status
System Integrity Protection status: unknown (Custom Configuration).

Configuration:
        Apple Internal: disabled
        Kext Signing: enabled
        Filesystem Protections: disabled
        Debugging Restrictions: disabled
        DTrace Restrictions: enabled
        NVRAM Protections: disabled
        BaseSystem Verification: enabled
        Boot-arg Restrictions: disabled
        Kernel Integrity Protections: enabled
        Authenticated Root Requirement: enabled

Same for me. Installing from HEAD fixed it without issues.

Installing from HEAD did not fix this for me...

You'll need to disable SIP using the documented process.
I think there is a bit of confusion with people saying it's working "without changing any SIP configuration." The people saying this likely already had SIP disabled. I was unable to get it working when using the standard SIP enabled configuration. After following the full steps to disable SIP and installing the HEAD version, previous functionality of moving windows to spaces has been restored.
I'm on M2 ARM hardware. Here is my SIP status:
❯ uname -m
arm64

❯ csrutil status
System Integrity Protection status: unknown (Custom Configuration).

Configuration:
        Apple Internal: disabled
        Kext Signing: enabled
        Filesystem Protections: disabled
        Debugging Restrictions: disabled
        DTrace Restrictions: enabled
        NVRAM Protections: disabled
        BaseSystem Verification: enabled
        Boot-arg Restrictions: disabled
        Kernel Integrity Protections: enabled
        Authenticated Root Requirement: enabled

SIP has been disabled. It was before updating and after updating.

SIP has been disabled. It was before updating and after updating. I'm on an Intel Mac for what it's worth.

Have you configured the scripting addition? Seeing anything in error logs?

"Payload 0x7B doesn't support this macOS version!"

That's the only error I'm getting. I've done the entire install process from scratch following the wiki about 3 times now.

Installing from HEAD fixed it for me as well, SIP partially disabled.

Friggin Apple.. Fixed on master using parts of the old legacy workspace/spaces system that for some reason is still partially maintained in some ways, but didn't get validation added to it like the new API does.
This entire situation is just ridiculous.
Works without having to disable SIP again.

I have SIP completely disabled and I'm still getting this "payload (0x7B) doesn't support this macOS version!" error.

The recent fix worked for me! :) Thank you!

The recent fix worked for me too! :D

The recent fix worked for me as well, but floating windows disappear when trying to move a window to another space.

Upgraded to 7.1.1 just now. I have SIP enabled and the recent fix worked for me. I can move windows between spaces again! Thank you koekeishiya!

Upgraded to 7.1.1 just now. I have SIP enabled and the recent fix worked for me. I can move windows between spaces again! Thank you koekeishiya!

you have sip fully enabled?

@jordan-da yes, it's a work computer.

I had the same issue.
But reinstalled from HEAD and now it's working fine with SIP enabled.

@jan-wacker thanks! I ended up going to loop way easier to install and customize, with no need to enable SIP... 😞

I'm on macos 15.0.1 with an M1 Pro using the latest yabai version 7.1.4. I don't know wich macos updated caused, but I cant move windows to a space for a longer time now, at least a month. Currently when I do yabai -m window --space 2, then the window disappears. But if I switch to this space, it's not shown. If I now go back to the original space, the window pops up again.
Is this now the time where I need to disable SIP in order to keep it working as before?

Just updates and seeing the exact same as @konstantinschuette.

macos 15.x is sequoia, not Sonoma

doesn't work for me neither on macos 15, even with disabled SIP.

doesn't work for me neither on macos 15, even with disabled SIP.

Same here, I am on MacOS 15.1.1 and yabai 7.1.5. SIP is fully enabled.

v7.1.5 does not work for me
macOS 15.1.1 (24B91)

v7.1.5 doesn't work for me too.
Mac os 15.2 (24C101)


Search box editor

Hi everyone.
How i can make editor like this
https://js.devexpress.com/Demos/WidgetsGallery/Demo/SelectBox/SearchAndEditing/jQuery/Light/
i want to search some record in a list data. user can choose one or still define 1 new. It look like lookup editor but still can input like string editor.

[LookupEditorI(typeof(kkk), AutoComplete=true)]

Oh my...Thank u very much...............:D


Add ingress, pod annotations and resources to spark-history-server

Signed-off-by: Stijn De Haes<EMAIL_ADDRESS>
What this PR does / why we need it:
It adds pod annotation support to the spark history server.
It also adds an ingress.yaml to the spark history server chart.
Also resources are now supported on the pod.
Which issue this PR fixes
(optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close that issue when PR gets merged)

fixes #

Special notes for your reviewer:
Checklist
[Place an '[x]' (no spaces) in all applicable fields. Please remove unrelated fields.]

[x] DCO signed
[x] Chart Version bumped
[x] Variables are documented in the README.md

/lgtm /ok-to-test

/lgtm

/ok-to-test

In templates/ingress.yaml, "annotations" should indent 2, not 4. It will align with "labels".

@von1994 You are right do you want to make a PR to fix it? Or you rather want me to do it?

I'll fire a new issue and send a PR to you.


Improve performance for remove_expired_responses(), mainly for SQLite backend

Follow-up from #240 and #253
Main changes

Some minor performance improvements for remove_expired_responses() that apply to all backends
Some additional SQLite-specific improvements
TODO (in future PRs): Similar bulk delete improvements for the rest of the backends
Note that remove_expired_responses() is still fairly inefficient, in that it deserializes responses to get the expiration time. Optimizing it will require adding an indexed expiration column (and possibly other breaking changes).

Other changes

Add an example script to generate a large cache for testing purposes
Make sure all tests with SQLite dbs clean up after themselves (a few remaining tests weren't yet doing this)
Remove a couple less useful logging statements

@glensc Based on your comments in #253 I was able to reproduce the long runtime you encountered with _get_valid_responses() and made a few basic improvements. Here I was testing remove_expired_responses(), but it's the same issue.
With a ~800MB cache with ~100000 responses (all expired), in 0.6.3 it takes almost 38 minutes on my machine to clear them all (avg 22.71ms/response).
After #240 and this PR, it's now about 100x faster and takes 22 seconds (avg 0.22ms/response) on my machine. I still wouldn't consider that "good" performance, but it's a little better, at least.

that's good win! :D


Add YAML comparator to Resources - /cheatsheets/data/yaml

Add YAMLine (my website), an online YAML comparator, to Resources (/cheatsheets/data/yaml)

thanks


Feature/1.12 on older server: Show bed items as red beds

1.12 players currently see bed items (in inventory, hand or as item) as white beds - But when placed it will be a red bed and players on older clients will also see it as red bed (when it is in the hand or dropped as an item).
So I think it would be useful if they would be sent as red beds to 1.12 clients.

Please. :c

Now in latest dev build.


[1.9] Avoid python dependency break for python-dateutil

python dateutil was updated to 2.7.0
botocore was updated to 1.8.9 and it breaks against
dateutil 2.7.0
High-level description

sometime on march 11th, python-dateutil was bumped from 2.6.1 to 2.7.0 (https://pypi.python.org/pypi/python-dateutil/2.7.0)
on march 13th, someone at botocore decided to do this: https://github.com/boto/botocore/commit/90d7692702be1a423af15e0f49b58365f2a400f2

Corresponding DC/OS tickets (obligatory)
https://jira.mesosphere.com/browse/DCOS_OSS-2261
Checklist for all PRs

[x] Included a test which will fail if code is reverted but test is not. If there is no test please explain here:
[x] Read the DC/OS contributing guidelines
[x] Followed relevant code rules Rules for Packages and Systemd

@mesosphere-mergebot bump-ee

@mellenburg  - You could go ahead with direct merge for this one too.

@mesosphere-mergebot bump-ee


Give a helpful error when trying to relate primitives to the boxed/apparent backing types.

var x = new Number();
var y = 100;
y = x;

Current error: Type 'Number' is not assignable to type 'number'.
Suggestion:
Type 'Number' is not assignable to type 'number'.
  'number' is a primitive type while 'Number' is a boxed object. Prefer using 'number' when possible.

Thanks @YuichiNukiyama!


Sotheby's Sales catalogues are missing

https://wellcome.slack.com/archives/C8X9YKM5X/p1648568028031779
Under WA/HMM/CM/Sal/20, there should be far more than the two that are currently displayed:
https://wellcomecollection.org/works/nqsvdwug

Interestingly, the logs do not record the relation_embedder doing anything with "WA/HMM/CM/Sal/20", but they do record
"WAHMM/CM/Sal/20"
e.g.
"18:30:59.662 [main-actor-system-akka.actor.default-dispatcher-13] INFO  w.p.r.models.ArchiveRelationsCache - Found relations for work with path WAHMM/CM/Sal/20/348: 4 ancestors, 0 children, and 1152 siblings"

To rule out this simply being a problem of documents getting stuck, I ran a redrive of the router dlq.
This caused the number of catalogues to increase to four.

This is definitely a pipeline problem.
This is the "children" list from querying the end of the pipeline directly:
GET works-indexed-2022-03-18/_doc/nqsvdwug
      "children" : [
          {
            "id" : "zzj3kerv",
            "title" : "Sales catalogue: Sotheby's",
            "collectionPath" : {
              "path" : "WAHMM/CM/Sal/20/1114",
              "label" : "WA/HMM/CM/Sal/20/1114"
            },
            "workType" : "Standard",
            "depth" : 4,
            "numChildren" : 0,
            "numDescendents" : 0
          },
          {
            "id" : "bh7wkxjd",
            "title" : "Inventory of objects purchased at the Hilton Price sale, Sotheby's, 12-21 July 1911",
            "collectionPath" : {
              "path" : "WAHMM/CM/Sal/20/292",
              "label" : "WA/HMM/CM/Sal/20/292"
            },
            "workType" : "Standard",
            "depth" : 4,
            "numChildren" : 0,
            "numDescendents" : 0
          }
        ],```

I know what the problem is.  To prevent the same ancestor being put in both a series and a hierarchy, I made it dedupe on title.
These are all different documents with the same title and a different id.
I need to change that logic so that it ONLY removes unidentified parents if they have an identified counterpart.


update modules to latest version

This PR updates the Terraform modules used in this application to incorporate a security remediation ensuring that containers running in AWS have a read-only root filesystem.

CI: IaC Security warnings found!

CI: IaC Security warnings found!

CI: IaC Security warnings found!


where is angry.mp4 file?

Thanks for great work? Could you please upload the file?

how to train audio2motion module?


Correctly initialize min/max of boundary search

If the minimum value is greater than 0, or the maximum value is less than 0, then initializing those values with 0 leads to incorrect results.

Example:
<html>
  <div id="chartContainer">
  <script src="/lib/d3.v3.4.8.js"></script>
  <script src="/lib/dimple.v2.2.0.min.js"></script>
  <script type="text/javascript">
    var svg = dimple.newSvg("#chartContainer", 590, 400);
    d3.tsv("/data/example_data.tsv", function (data) {
      var c = new dimple.chart(svg, data);
      c.addMeasureAxis("x", "Year").tickFormat = "d";
      c.addMeasureAxis("y", "Count");
      c.addSeries("Year", dimple.plot.line);
      c.draw();
    });
  </script>
</div>
</html>

Year	Count
2010	100
2011	97
2013	127
2014	106
2015	108
2016	78

Without this patch, X and Y axis will start at 0, squashing all the data into a tiny area of an otherwise empty chart.

If I get your point right,
try to use c.addTimeAxis("x", "Year"), instead of addMeasureAxis
Then you can apply date formatting as you want.
Hope it helps.
Scattolini


Zend cache class not found

Hi guys,
After an install for the bundle and the dependencies I get this error:
Fatal error: Class 'Zend\Cache\Frontend\Core' not found in /Users/pb/Sites/project/www/vendor/PHPPdf/lib/PHPPdf/Cache/CacheImpl.php on line 41
Here is my deps file content:
[Imagine]
git=git://github.com/avalanche123/Imagine.git
target=/imagine
[AvalancheImagineBundle]
git=git://github.com/avalanche123/AvalancheImagineBundle.git
target=/bundles/Avalanche/Bundle/ImagineBundle
[zend]
git=git://github.com/zendframework/zf2.git
[PdfBundle]
git=git://github.com/psliwa/PdfBundle.git
target=/bundles/Ps/PdfBundle
[PHPPdf]
git=git://github.com/psliwa/PHPPdf.git
Here is the autoload:
$loader->registerNamespaces(array(
...
'Imagine' => DIR.'/../vendor/imagine/lib',
'Avalanche' => DIR.'/../vendor/bundles',
'Zend'                => DIR.'/../vendor/zend/library',
'Ps' => DIR.'/../vendor/bundles',
'PHPPdf' => DIR.'/../vendor/PHPPdf/lib',
));
The Kernel file:
...
new Avalanche\Bundle\ImagineBundle\AvalancheImagineBundle(),
new Ps\PdfBundle\PsPdfBundle(),
...
Any ideas please ?

Api of Zend_Cache had changed recently (this is a charm of beta version...). If you don't use Zend library in other places, the best way is to download dependencies to ZF2 using PHPPdf/vendors.php file.
I will accommodate PHPPdf\Core\Cache\CacheImpl class to new Api as soon as possible.
Thanks for information.

I also use ZF2 for the pagination, the best way is to wait your update ;)
Thanks for the work you do in this.

Temporary to walkaround this problem you can turn off cache by:
#config.yml
ps_pdf:
    cache:
        type: Null

<!-- DI config file in your bundle, this bundle must to be loaded after PdfBundle, because ps_pdf.cache service must to be overwritten -->
<service id="ps_pdf.cache" class="PHPPdf\Cache\NullCache">

I have fixed it: https://github.com/psliwa/PHPPdf/commit/5a932c3925146c021d5ef78104e69b893d380cb9
This change is currently available only in master (development) branch, I will merge it with stable branches soon.
In deps file you should swap version of PHPPdf to origin/master.
[PHPPdf]
git=git://github.com/psliwa/PHPPdf.git
version=origin/master

I works, many thanks for your rapidity !


Installation of Otomi has failed

The Otomi installation job has failed
I am discovering the Otomi platform and trying to run it locally using the Minikube cluster on my MacBook.
I am following the steps from https://otomi.io/docs/get-started/installation
To Reproduce
Steps to reproduce the behavior:

Go to 'https://otomi.io/docs/get-started/installation' and follow the installation instructions.

After running the installation command helm install -f values.yaml otomi otomi/otomi I am using kubectl get job otomi -w to monitor the job status

The job is never complete

The ingress-nginx-platform seems not started

I see nginx related errors in log kubectl logs jobs/otomi -n default -f

Expected behavior:
The installation job is to be completed and start all the containers
Screenshots: (if applicable, add screenshots to help explain your problem)

Cluster(s):
minikube version: v1.28.0
kubernetes-version v1.22.17 (tried also the default one, that shipped with minikube)
Versions:
APP VERSION: v0.18.0
CHART: otomi-0.5.28
Desktop:

OS: [MacOs]
Version [13.1 ]

Hi Alex,
What driver are you using? Otomi requires an external load balancer IP and can not be installed with the default docker driver. It looks like the nginx svc is not able to get an external IP. So you'll need to use the hyperkit driver (on intel architecture):
minikube start --driver=hyperkit --kubernetes-version=v1.22.4 --cni calico

and then install Metallb:
minikube addons enable metallb

You can find more detailed instructions in this blog post: https://itnext.io/installing-otomi-on-minikube-2f83dfc421d2
or check the quickstart project: https://github.com/redkubes/quickstart/tree/main/minikube
Also, be aware that enabling more apps in Otomi requires more resources ;-)

Hi @srodenhuis,
Thank you for the detailed answer.
I will go through the resources you shared.


BCEditor.JsonDataObjects.pas error

Hi,
There seems to be an error when trying to compile/install the package. An E2036 Variable required on line 3898.
TJsonBaseObject.StrToJSONStr(Writer.AppendIntro, FNames[0]);
Tried to install it with Delphi XE7.
Thanks.

Have you installed the update 1?

Delphi XE7: Update 1 required

Awesome, thank you!


ImportError: cannot import name '_api_types' from 'playwright._impl'

When I update to <IP_ADDRESS> there's an error message.
Traceback (most recent call last):
  File "C:\wa\kirim.py", line 1, in <module>
    from WPP_Whatsapp import Create
  File "C:\Users\Administrator\AppData\Local\Programs\Python\Python312\Lib\site-
packages\WPP_Whatsapp\__init__.py", line 1, in <module>
    from WPP_Whatsapp.api.Whatsapp import Whatsapp
  File "C:\Users\Administrator\AppData\Local\Programs\Python\Python312\Lib\site-
packages\WPP_Whatsapp\api\Whatsapp.py", line 4, in <module>
    from WPP_Whatsapp.api.layers.HostLayer import HostLayer
  File "C:\Users\Administrator\AppData\Local\Programs\Python\Python312\Lib\site-
packages\WPP_Whatsapp\api\layers\HostLayer.py", line 11, in <module>
    from WPP_Whatsapp.PlaywrightSafeThread import ThreadsafeBrowser
  File "C:\Users\Administrator\AppData\Local\Programs\Python\Python312\Lib\site-
packages\WPP_Whatsapp\PlaywrightSafeThread\__init__.py", line 1, in <module>
    from WPP_Whatsapp.PlaywrightSafeThread.browser.threadsafe_browser import Thr
eadsafeBrowser
  File "C:\Users\Administrator\AppData\Local\Programs\Python\Python312\Lib\site-
packages\WPP_Whatsapp\PlaywrightSafeThread\browser\threadsafe_browser.py", line
11, in <module>
    from playwright._impl import _api_types
ImportError: cannot import name '_api_types' from 'playwright._impl' (C:\Users\A
dministrator\AppData\Local\Programs\Python\Python312\Lib\site-packages\playwrigh
t\_impl\__init__.py)

Tried to use older version but still no success.

Update Now, it should work

New error comes up

Traceback (most recent call last):
  File "C:\wa\kirim.py", line 1, in <module>
    from WPP_Whatsapp import Create
  File "C:\Users\Administrator\AppData\Local\Programs\Python\Python312\Lib\site-
packages\WPP_Whatsapp\__init__.py", line 1, in <module>
    from WPP_Whatsapp.api.Whatsapp import Whatsapp
  File "C:\Users\Administrator\AppData\Local\Programs\Python\Python312\Lib\site-
packages\WPP_Whatsapp\api\Whatsapp.py", line 4, in <module>
    from WPP_Whatsapp.api.layers.HostLayer import HostLayer
  File "C:\Users\Administrator\AppData\Local\Programs\Python\Python312\Lib\site-
packages\WPP_Whatsapp\api\layers\HostLayer.py", line 12, in <module>
    from WPP_Whatsapp.PlaywrightSafeThread import ThreadsafeBrowser
  File "C:\Users\Administrator\AppData\Local\Programs\Python\Python312\Lib\site-
packages\WPP_Whatsapp\PlaywrightSafeThread\__init__.py", line 1, in <module>
    from WPP_Whatsapp.PlaywrightSafeThread.browser.threadsafe_browser import Thr
eadsafeBrowser
  File "C:\Users\Administrator\AppData\Local\Programs\Python\Python312\Lib\site-
packages\WPP_Whatsapp\PlaywrightSafeThread\browser\threadsafe_browser.py", line
12, in <module>
    from playwright_stealth import stealth_async
  File "C:\Users\Administrator\AppData\Local\Programs\Python\Python312\Lib\site-
packages\playwright_stealth\__init__.py", line 2, in <module>
    from playwright_stealth.stealth import stealth_sync, stealth_async, StealthC
onfig
  File "C:\Users\Administrator\AppData\Local\Programs\Python\Python312\Lib\site-
packages\playwright_stealth\stealth.py", line 6, in <module>
    import pkg_resources
ModuleNotFoundError: No module named 'pkg_resources'

use firefox and install it
creator = Create(session=your_session_name, browser="firefox", install=True)

New error comes up

Downloading Firefox 119.0 (playwright build v1429) from https://playwright.azure
edge.net/builds/firefox/1429/firefox-win64.zip
80.5 Mb [====================] 100% 0.0s
Firefox 119.0 (playwright build v1429) downloaded to C:\Users\Administrator\AppD
ata\Local\ms-playwright\firefox-1429
Exception in thread Thread-1 (__thread_worker):
Traceback (most recent call last):
  File "C:\Users\Administrator\AppData\Local\Programs\Python\Python312\Lib\threa
ding.py", line 1073, in _bootstrap_inner
    self.run()
  File "C:\Users\Administrator\AppData\Local\Programs\Python\Python312\Lib\threa
ding.py", line 1010, in run
    self._target(*self._args, **self._kwargs)
  File "C:\Users\Administrator\AppData\Local\Programs\Python\Python312\Lib\site-
packages\WPP_Whatsapp\PlaywrightSafeThread\browser\threadsafe_browser.py", line
335, in __thread_worker
    self.loop.run_until_complete(self.__start_playwright())
  File "C:\Users\Administrator\AppData\Local\Programs\Python\Python312\Lib\async
io\base_events.py", line 684, in run_until_complete
    return future.result()
           ^^^^^^^^^^^^^^^
  File "C:\Users\Administrator\AppData\Local\Programs\Python\Python312\Lib\site-
packages\WPP_Whatsapp\PlaywrightSafeThread\browser\threadsafe_browser.py", line
260, in __start_playwright
    self.context = await browser_type.launch_persistent_context(**self._browser_
persistent_option)
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
^^^^^^^^^^^^^^^^^^
  File "C:\Users\Administrator\AppData\Local\Programs\Python\Python312\Lib\site-
packages\playwright\async_api\_generated.py", line 14997, in launch_persistent_c
ontext
    await self._impl_obj.launch_persistent_context(
  File "C:\Users\Administrator\AppData\Local\Programs\Python\Python312\Lib\site-
packages\playwright\_impl\_browser_type.py", line 158, in launch_persistent_cont
ext
    from_channel(await self._channel.send("launchPersistentContext", params)),
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\Administrator\AppData\Local\Programs\Python\Python312\Lib\site-
packages\playwright\_impl\_connection.py", line 62, in send
    return await self._connection.wrap_api_call(
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\Administrator\AppData\Local\Programs\Python\Python312\Lib\site-
packages\playwright\_impl\_connection.py", line 492, in wrap_api_call
    return await cb()
           ^^^^^^^^^^
  File "C:\Users\Administrator\AppData\Local\Programs\Python\Python312\Lib\site-
packages\playwright\_impl\_connection.py", line 100, in inner_send
    result = next(iter(done)).result()
             ^^^^^^^^^^^^^^^^^^^^^^^^^
playwright._impl._errors.Error: spawn UNKNOWN

There's something wrong with my firefox. Using Edge and run smoothly
creator = Create(session=your_session_name, browser="msedge", install=True)

Error related to playwright when try launch profile saved before or create new one


⚠ ClamAV has degraded performance

In f182f5a, ClamAV (https://spamassassin.apache.org/) experienced degraded performance:

HTTP code: 200
Response time: 56 ms

Resolved: ClamAV performance has improved in 1c2dd6c.


AWS X-Ray support

This enables tracking of the entire warmup cycle in X-Ray if it the latter is installed.

My bad! The push failed because of the push hook.
Not it should be there.


[#3592] Add active effects for min/max skill check rolls

Added support for two new active effects to allow for the minimum or maximum possible result on a d20 roll for skill checks. I considered replacing how Reliable Talent works with this but realised there would be cascading changes that would be out of scope.
I never included it in the issue, however, the intention behind this is to support many homebrew features that set the minimum possible roll of specific skill checks, regardless of proficiency. While maximum was never included by anything I've seen, it was a simple addition and I can't see how it would be a negative to add.

Attribute Key
Change Mode
Effect Value

system.skills.[abbreviation].check.minimum
Upgrade
[number]

system.skills.[abbreviation].check.maximum
Downgrade
[number]

There are existing properties for these things already.
system.skills.<key>.roll.min and .max.

There is an existing PR for this (https://github.com/foundryvtt/dnd5e/pull/1760), but it is currently blocked by the roll refactor.

There are existing properties for these things already.
system.skills.<key>.roll.min and .max.

Where can these be found?

There is an existing PR for this (#1760), but it is currently blocked by the roll refactor.

I'll admit I hadn't seen that, but there hasn't been a commit on that since December 2022. I think it has been abandoned.

Where can these be found?

Not sure I understand the question. The key used in an ActiveEffect is (almost always) an existing property on the actor it affects.


feat(CategoryTheory/SmallObject/Iteration): the unique morphism (bot and succ cases)

[x] depends on: #18115

Thanks!
bors merge


Collapse child expanders

I am using nested Expander cards. When I collapse the parent, I'd like the children to also collapse, so that next time I expand the parent, the children are collapsed again. Currently, the child Expander cards retain the expanded/collapsed state they had before the parent was collapsed.

You can use expanded: true or min-width-expanded or max-width-expanded for your start state.

@MelleD yes, but none of those do what I'm asking.

Do you have an example of a UI that does this?
As I said, you can set all child entities to expanded at the beginning. If you then open and close it, the state is set by the child expander and is self contained. I don't know whether usability will really be improved if the parent takes over the state afterwards.

Yes, basically all UIs work this way.
Let's take your browser bookmarks bar, for example:
You can place folders on your bookmarks bar, then you nest folders in those folders, and so on.
When you expand the parent folder, all child folders are collapsed until you expand them in turn. If you then collapse the parent folder and then reopen it, the child folders are once again collapsed.
If the parent is collapsed, the children revert to a collapsed state. File Explorer works this way. Processes page of Task Manager works this way. All social media UI works this way.

I only know UIs that behave exactly as they currently do (MacOS). E.g. the latest status (closed/open) of the folders is always displayed in the Finder. No matter what you do with the parent folder.

I've now gone through all my programs. Not one of them behaves the way you describe.
All behave the same, if the parent expander is closed and opened again, all child expanders have the previous state

@Kagey-cmd can you send an example? Or should we close this ticket?

No input close ticket


Revise introduction to StatefulSet tutorial

Split out from https://github.com/kubernetes/website/pull/42767 to help reviewers. preview.

/lgtm

The preview looks good.
/lgtm

/approve


Implement conversion traits for PhysAddr and VirtAddr

Implements the following conversions:

TryFrom<u64> for VirtAddr and PhysAddr
TryFrom<usize> for VirtAddr and PhysAddr
From<u32> for VirtAddr and PhysAddr
TryFrom<*const T> for VirtAddr
TryFrom<*mut T> for VirtAddr
From<&T> for VirtAddr
From<&mut T> for VirtAddr
From<VirtAddr> for u64, *const T and *mut T
From<PhysAddr> for u64

I restricted pointer and usize conversions with #[cfg(any(target_pointer_width = "32", target_pointer_width = "64"))]. This restriction isn't strictly necessary for TryFrom, but without it we would need a different error type than what try_new uses.
Closes #268.
See also #293 (comment) by @josephlr.

Thanks for the PR! Looks all reasonable to me.
cc @josephlr @Freax13 What do you think about these new impls?

Do we want to deprecate the old conversion methods/constructors?

Do we want to deprecate the old conversion methods/constructors?

I think the only issue here would be that some of those are const, while the trait implementations might not be (at least for now).
Otherwise the idea seems reasonable to me.

We should unify the cfg gates for pointer conversions and similar operations, we use four different variations:

cfg(target_pointer_width = "64")

VirtAddr::as_ptr, VirtAddr::as_mut_ptr, <VirtAddr as Add<usize>>::add
<VirtAddr as AddAssign<usize>>::add_assign, <VirtAddr as Sub<usize>>::sub, <VirtAddr as SubAssign<usize>>::sub_assign, <PhysAddr as Add<usize>>::add, <PhysAddr as AddAssign<usize>>::add_assign, <PhysAddr as Sub<usize>>::sub,  <PhysAddr as SubAssign<usize>>::sub_assign

These implementations are removed on the next branch because we implement these traits for u64.

<*const T as From<VirtAddr>>::from, <*mut T as From<VirtAddr>>::from

introduced by this pr

cfg(any(target_pointer_width = "32", target_pointer_width = "64"))

VirtAddr::from_ptr

There's a comment stating that we do this for backward compatibily reasons, this has already been changed to cfg(target_pointer_width = "64") on the next branch.

cfg(any(target_pointer_width = "16", target_pointer_width = "32", target_pointer_width = "64"))

<VirtAddr as TryFrom<usize>>::try_from, <VirtAddr as TryFrom<*const T>>::try_from and <VirtAddr as TryFrom<*mut T>>::try_from

introduced by this pr

cfg(any(target_arch = "x86", target_arch = "x86_64"))

<VirtAddr as From<&T>>::from and <VirtAddr as From<&mut T>>::from

introduced by this pr

It's not entirely clear to me which variation we should use.

@Freax13

We should unify the cfg gates for pointer conversions and similar operations, we use four different variations:

It's not entirely clear to me which variation we should use.

For conversions from pointers (and references), I think cfg(any(target_arch = "x86", target_arch = "x86_64")) makes the most sense to me because

there's a legitimate use case to convert x86 pointers to a VirtAddr when running 16-bit or 32-bit system initialization code prior to entering long mode,
but a pointer on any other architecture is not likely to correspond in any way with a virtual address on x86_64, even if the pointers happen to be the same size.

For conversions to pointers target_arch = "x86" cannot be allowed for infallible conversions. Perhaps we could implement From when on x86_64 and TryFrom on x86 if people want that.
usize is a little different since it's an integer rather than a pointer. However, as I think about it, I think it makes more sense to require conversion from a u64 rather than usize on non-x86 based architectures, even if usize happens to be 64 bits. Doing otherwise would encourage non-portable code.

So I think the following cfg gates might be the most reasonable in my view:
cfg(any(target_arch = "x86", target_arch = "x86_64")) whenever converting from pointers or usize to VirtAddr
cfg(target_arch = "x86_64) whenever performing infallible conversions from VirtAddr to pointers or usize
However, if I modified the cfg gates on the existing inherent methods, that would technically be a breaking change, though I'm not sure if that would actually affect anybody.

For conversions from pointers (and references), I think cfg(any(target_arch = "x86", target_arch = "x86_64")) makes the most sense to me because

there's a legitimate use case to convert x86 pointers to a VirtAddr when running 16-bit or 32-bit system initialization code prior to entering long mode,

but a pointer on any other architecture is not likely to correspond in any way with a virtual address on x86_64, even if the pointers happen to be the same size.

For conversions to pointers target_arch = "x86" cannot be allowed for infallible conversions. Perhaps we could implement From when on x86_64 and TryFrom on x86 if people want that.

:+1:

usize is a little different since it's an integer rather than a pointer. However, as I think about it, I think it makes more sense to require conversion from a u64 rather than usize on non-x86 based architectures, even if usize happens to be 64 bits. Doing otherwise would encourage non-portable code.

We could also just drop the usize impls. There's already some precedence for preferring u64 impls over usize impls: https://github.com/rust-osdev/x86_64/pull/364.

So I think the following cfg gates might be the most reasonable in my view:
cfg(any(target_arch = "x86", target_arch = "x86_64")) whenever converting from pointers or usize to VirtAddr
cfg(target_arch = "x86_64) whenever performing infallible conversions from VirtAddr to pointers or usize

:+1:

However, if I modified the cfg gates on the existing inherent methods, that would technically be a breaking change, though I'm not sure if that would actually affect anybody.

Yes, breaking changes should only be merged into the next branch. This could be done in a follow up pr.


missing institution logo fix

fixes #579

I like where you are going with this.  I think it can be simplified:
src/main/resources/public/jsx/components/PageComponents.js

248, there is no reason to set the state to the src when its already a prop.
255, if props.src changes, just set the error back to false
269, const { src, fallbackSrc, ...extraProps } = this.props;
273, onError={this.setState({ error: true })}
272, src={this.state.error ? fallbackSrc : src}
274, {...extraProps}


Parses invalid escaped new.target

The target contextual keyword must not contain Unicode escape sequences.
esprima.parse('function f() { new.t\\u0061rget; }')

Expected output
To throw an error
Actual output
Parses an AST node
Relevant references
TC39

This one isn't tricky to solve. Check if the string literal value in the scanner matches target and if it's escaped. If that's the case- throw. Because this one isn't an identifier or keyword.


Desktop Trading Page: Order Book

Left: Design | Right: Build

[ ]  Make Quantity and My Quantity numbers #CED7D8
[ ]  Update Spread Typography and design including background colour
[ ] Update quantity bars so max width is right of Quantity column. See image below

prioritize shading s/b based off of total eth amount not just shares (quantity * price)


[iceworks-cli] release/3.3.0

[x] 改造为 ts
[x] 补充测试用例
[x] 修复 add rax scaffold Close #9

Codecov Report

Merging #10 into master will increase coverage by 0.10%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master      #10      +/-   ##
==========================================
+ Coverage   79.91%   80.02%   +0.10%
==========================================
  Files          27       27
  Lines         946      951       +5
  Branches      195      195
==========================================
+ Hits          756      761       +5
  Misses        187      187
  Partials        3        3

Impacted Files
Coverage Δ

packages/ice-npm-utils/src/index.ts
95.00% <100.00%> (+0.04%)
:arrow_up:

...s-cli/src/command/generate/generateMaterialData.ts
92.72% <100.00%> (+0.27%)
:arrow_up:

...iceworks-cli/src/command/init/addSingleMaterial.ts
44.82% <100.00%> (ø)

packages/iceworks-cli/src/utils/getNpmTarball.ts
94.73% <100.00%> (+0.61%)
:arrow_up:

Continue to review full report at Codecov.

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

Codecov Report

Merging #10 into master will increase coverage by 0.10%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master      #10      +/-   ##
==========================================
+ Coverage   79.91%   80.02%   +0.10%
==========================================
  Files          27       27
  Lines         946      951       +5
  Branches      195      195
==========================================
+ Hits          756      761       +5
  Misses        187      187
  Partials        3        3

Impacted Files
Coverage Δ

packages/iceworks-cli/src/command/init/index.ts
68.18% <ø> (ø)

packages/ice-npm-utils/src/index.ts
95.00% <100.00%> (+0.04%)
:arrow_up:

...s-cli/src/command/generate/generateMaterialData.ts
92.72% <100.00%> (+0.27%)
:arrow_up:

...iceworks-cli/src/command/init/addSingleMaterial.ts
44.82% <100.00%> (ø)

packages/iceworks-cli/src/utils/getNpmTarball.ts
94.73% <100.00%> (+0.61%)
:arrow_up:

Continue to review full report at Codecov.

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


Why it does that
Briefly state why the change was necessary.
Further notes
List other areas of code that have changed but are not necessarily linked to the main feature. This could be method
signature changes, package declarations, bugs that were encountered and were fixed inline, etc.
Linked Issue(s)
Closes #3500
Please be sure to take a look at the contributing guidelines and our etiquette for pull requests.

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

Comparison is base (2bfcdd7) 72.21% compared to head (fe96ce6) 72.31%.
Report is 1 commits behind head on main.

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #3529      +/-   ##
==========================================
+ Coverage   72.21%   72.31%   +0.10%
==========================================
  Files         853      857       +4
  Lines       17162    17229      +67
  Branches      965      966       +1
==========================================
+ Hits        12394    12460      +66
- Misses       4359     4360       +1
  Partials      409      409

Files
Coverage Δ

...ipse/edc/connector/core/CoreServicesExtension.java
94.59% <100.00%> (+0.15%)
:arrow_up:

...identitytrust/service/IdentityAndTrustService.java
94.11% <100.00%> (ø)

...entitytrust/sts/embedded/AccessTokenDecorator.java
100.00% <100.00%> (ø)

...trust/sts/embedded/EmbeddedSecureTokenService.java
100.00% <100.00%> (ø)

...tytrust/sts/embedded/SelfIssuedTokenDecorator.java
100.00% <100.00%> (ø)

...dded/accesstoken/AccessTokenAudienceDecorator.java
100.00% <100.00%> (ø)

...d/accesstoken/BearerAccessScopeTokenDecorator.java
100.00% <100.00%> (ø)

...sfer/dataplane/TransferDataPlaneCoreExtension.java
81.81% <ø> (+7.90%)
:arrow_up:

...entitytrust/core/IatpDefaultServicesExtension.java
93.75% <91.66%> (-6.25%)
:arrow_down:

...dc/connector/core/security/KeyPairFactoryImpl.java
67.85% <80.00%> (ø)

... and 1 file with indirect coverage changes

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


@retry decorator

docblock on the Retry class explains how it's supposed to work. I implemented something like this once before, so I was hoping to adapt the code and make it just "smart" enough to distinguish if it was wrapping an admin command's handle() and use the provided reference to stdout since I saw our commands do that.
if there's equivalent functionality in requests we probably don't need @retry, but if it worked right it could handle non-http related errors too (although idk what "retrying" those is useful for unless you're trying to brute-force a race condition problem).
I started to write a test but realized it probably wasn't the right way to go...I think maybe you could test by faking a slow HTTPRequest, but I'm not sure how to emulate a situation where a request fails a few times but finally succeeds.

Codecov Report

Merging #91 into develop will decrease coverage by 0.39%.
The diff coverage is 75%.

@@            Coverage Diff             @@
##           develop      #91     +/-   ##
==========================================
- Coverage    99.12%   98.73%   -0.4%
==========================================
  Files           45       46      +1
  Lines         2410     2448     +38
==========================================
+ Hits          2389     2417     +28
- Misses          21       31     +10

Impacted Files
Coverage Δ

ppa/archive/management/commands/index.py
100% <100%> (ø)
:arrow_up:

ppa/archive/tests/test_commands.py
100% <100%> (ø)
:arrow_up:

ppa/archive/management/commands/hathi_import.py
97.45% <100%> (+0.02%)
:arrow_up:

ppa/archive/management/commands/retry.py
58.33% <58.33%> (ø)

Continue to review full report at Codecov.

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

The retry decorator is neat, but I don't think we'd want to retry the whole command.  If you are importing thousands of Hathi items and got an error part way through, wouldn't that start over with reimporting all of them, even the ones that succeeded?
Here's an answer on stack overflow that looks like a neat solution if we want more fine-grained retry control at the request layer: https://stackoverflow.com/a/35636367/9706217
Where were you getting the connection errors? Are you able to duplicate it or was it a transient issue?

@rlskoeser maybe for that case you'd just add the decorator to whatever internal function was being iterated on instead of the entire handle() call, so in this case it'd be
@retry
def index(self, index_data):
...

I'm not having any issues that require this anymore and I can't really test it, so I'll shelve it.


Event patch

This brings in several misc. changes that were needed to get the event service working with the pyroscope config and using traefik.  this version of the script was used to deploy the event service as it is now.   If there are no issues with the service in the next day, i think this would be good to merge.

this pr became much larger as i now added a separate traefik role that should make this role/deployment (and future roles) more reilable.


[Android] Native tag scan window keeps popping up upon reading tag even though NfcManager.start() is earlier called

Similarily to issue #381, the native android nfc scan keeps popping up upon scanning an nfc tag.
As suggested, I initially call NfcManager.start() without errors but still keep getting redirected to the native android tag screen when scanning a tag.
On another note, I have no issues reading tags connecting the readNdef function to a button, using example code from the documentation.
Device: Samsung Galaxy S9
Version: Android 9

I'm having the same issue for Samsung A31s any update on this?

Hey @whitedogg13, unfortunately the extra declaration on Android Manifest did not solve it.
The only case that is broken is if user disables NFC and then enables it during the lifetime of the app.
In this case, the first scan is handled by native android. The second tag I scan is always handled by react-native-nfc-manager

Does this happen when the user is using "Quick" settings to turn of NFC not the full setting App? My guess the answer is yes to using the "Quick" settings as this does not pause and resume the App thus the package won't know about the change in status of the NfcAdaptor.
Really the package needs a Broadcaster Receiver to get notified when the state of the NfcAdaptor, gets turned on for it to re-enable it's foreground detection.

Same issue on Samsung S9+. I can't properly read a tag, the native NFC app keeps popping up

Hi, any update to this issue? It happened on my several phone test like Redmi Note 8 Pro and Samsung Galaxy A32.
but on Poco F3 Pro and Oneplus 3 seems normal

Same issue on Samsung S10. I am reading the tag and waiting for the information inside of it, then i am starting a new NfcManager.start() to write on the tag, but when the nfc comes closer the native NFC app keeps popping up.
Please if anyone knows a solution i am all ears. @whitedogg13

Hi @fpiantoni , from the description of your issue, I think you might misunderstand our API usage, can you try our demo app to see if it works on your phone? Google Play link
This app is also written in RN and use our own library, so we can further check what's going wrong. The app's repo
FYI, I'm testing this app via Samsung Note 10 and it's working properly.

Hi @Bad-Listener , sorry for the super late response again.
I understand you found a workaround for the original issue by putting an extra 2500 ms delay, as reported here.
But I'm also curious about whether this happened in our demo app, Can you help to test on your phone to see if it happened? Much appreciated!

@Bad-Listener , I forgot to mention, if the on-off switching during app lifetime is bothering you, you can consider to listen to NfcEvents.StateChanged event and disable NFC related feature in your UI accordingly.
For example, that's say we have a React state called enabled, which is used to tracking if our device's NFC has been enabled and users are allowed to use NFC related feature only when enabled is true.
Based on this, we can then listen to NfcEvents.StateChanged and change the value for enabled state:
          if (Platform.OS === 'android') {
            NfcManager.setEventListener(
              NfcEvents.StateChanged,
              ({state} = {}) => {
                // disable any pending tech requests
                NfcManager.cancelTechnologyRequest().catch(() => 0);
                if (state === 'off') {
                  setEnabled(false);
                } else if (state === 'on') {
                  setEnabled(true);
                }
              },
            );
          }

Full example can be found here


Roll Flutter Engine from 7d3233d26d09 to 1b51696eb085 (6 revisions)

https://github.com/flutter/engine/compare/7d3233d26d09...1b51696eb085
2023-01-24<EMAIL_ADDRESS>Roll Skia from 1ccf2093cfa9 to 0328e12ab195 (59 revisions) (flutter/engine#39078)
2023-01-24<EMAIL_ADDRESS>Ability to disable browser context menu (flutter/engine#38682)
2023-01-23<EMAIL_ADDRESS>[Impeller] uniform offsets account for size (flutter/engine#39077)
2023-01-23<EMAIL_ADDRESS>Roll Fuchsia Mac SDK from rQtxqj3gePeR-nTLv... to HxpwvvbQdk54L6_8q... (flutter/engine#39075)
2023-01-23<EMAIL_ADDRESS>Roll Skia from f6a5c806294d to 1ccf2093cfa9 (2 revisions) (flutter/engine#39028)
2023-01-23<EMAIL_ADDRESS>Remove unnecessary null checks in doc snippet (flutter/engine#39071)
Also rolling transitive DEPS:
fuchsia/sdk/core/mac-amd64 from rQtxqj3gePeR to HxpwvvbQdk54
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Please CC<EMAIL_ADDRESS>on the revert to ensure that a human
is aware of the problem.
To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose
To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md

The analyzer-linux breakage is fixed by https://github.com/flutter/engine/pull/39082.

Commit queue failed; closing this roll.


Facebook login fails to redirect after login

All fixed. However if the user has previously signs in via Google and then tries to sign via Facebook the auth fails.  This is a different issue.


HERO system character sheet: Updated formatting and SPD

Cleaned formatting so the sheet looks okay in both firefox and chrome.
Added CSS to display actions per turn.

Thank you for bringing this to my attention. I apologize for the incorrect groupings, I've attempted to resolve them with the following changes:
Hero Games 6e has been removed from the "Cyberpunk 2020" group. As far as I can tell, there aren't any other games that would fall under "Hero System" so it is no longer in a group at all.
"Fuzion" and "Mekton Zeta" have been placed under the "Fuzion" group. From a brief internet search, I believe this is correct for Mekton Zeta, but let me know if it is not.
The Cyberpunk 2020 group now contains only "Cyberpunk 2020" and "Cyberpunk 2k20".
I hope this resolves the issue. Could you please remove your changes to approved.yaml from this PR? I cannot merge until it has been removed. Thanks!

To clarify, this pull request is ready to go as soon as you remove the approved.yaml. I cannot approve this until then as that file creates a conflict in GitHub.

Sorry, i didnt realise you'd replied. I'm not all that familiar with github, how do i remove the approved file at my end?

I'm trying to figure out how to under my approved edit, but it is looking like my commit is orphaned. I cant find it in my local copy, and the link on the roll20 github changes says its an unknown repository. What have I done???
By the way, your changes (Mekton Z under Fuzion, Cyberpunk 2020 + 2k20, Hero Games on its own), are correct. There are some other games in each of those sets but i don't think roll20 character sheets exist for them yet so it doesnt matter.
The official name for the system powering Cyperbunk 2020/2k20 is Interlock, so it might be nice to put it under that.

Is there anything I can do to help resolve this?

Maybe You could put a new edit for approved.yaml that reverts the changes, effectively canceling your changes to the file? Search or ask around on stack overflow or someything, this Git/Github related issue have been asked before, can't just tell if any of them gives a satisfactory answer.
Some make suggestions of "checkout -- filename" to somehow work around this, but don't know too much myself.

I'm sorry, I've been buried this week and forgot to respond. Another thing you should be able to do is first make sure your branch is up to date, then reset the file to HEAD (git reset HEAD approved.yaml)

I use the windows github app, and have no idea to do that. But i think I've realised why the submit is showing an unknown repository.
probably a few days after i submitted this pull request, i was having sync issues with my local roll20 copy, and not knowing any better, i deleted my cloned copy of the roll20 repository, both on my local drive and on my github account. Then i created a new one, and syncing worked again.
So the pull request is probably being sent from a github that no longer exists. i assume there must be a way to reject it at your end and start over?

I went ahead and closed this, so you can go ahead and copy your changes to a new branch and submit a new request. Just make sure the approved.yaml file isn't included this time!


feature: add F2 to fullscreen Notification History window

Did you check the docs?

[x] I have read all the LazyVim docs
[x] This is not a request for a new or existing extra (see above)

Is your feature request related to a problem? Please describe.

This window can be too small.
Describe the solution you'd like
Would be nice to have a shortcut (default to F2(?) similar to ffz) to fullscreen this window, sometimes the error message are lengthy, that would permit to have a quick view of everything without having to move the cursor around to reveal hidden parts.
Describe alternatives you've considered
...
Additional context
No response

@folke That's great, but what about making a toggle_fullscreen method for snacks.win? That would be cool! So we can write:
Snacks.config.style("notification.history", {
  -- ....
  keys = {
    q = "close",
    ["<f2>"] = function(self)
      self.toggle_fullscreen()
    end,
  },
})

Also for the reason we could show the keys at the bottom (like in the scratch), it's more user-friendly:

Snacks.zen.zoom works for any window / floating window and is not limited to snacks windows.

I personally also never ever use function keys.

I guess it's fine I can just call zoom on the window receiving F2 (if I find how), the reasoning behind :zoom() was to make things more modulable and user friendly.


Provide filename to the babel

There are some issues without that option (see https://babeljs.io/docs/en/options#filename), including problems with typescript too, that I faced with.
Should resolve #66

@shilman @danielduan  Can you look into this PR. We are using babel overrides and for that also filename is required.


[prerequisites] for the az ad sp

Is it possible to include the minimum AD privilege required to  execute the commands

@jiasli for awareness

Currently, az ad sp still calls AD Graph, which means it uses AD Graph permissions which is hard to be assigned using GUI (https://github.com/Azure/azure-cli/issues/19818).
If you do want to know,

For delegated permission, it requires Application.ReadWrite.All
For application permission, it requires Application.ReadWrite.OwnedBy, or Application.ReadWrite.All

We are currently migrating to Microsoft Graph (https://github.com/Azure/azure-cli/issues/12946), and in the future, it will call Create application and Create servicePrincipal API. You can find required permissions in those linked documents.


How to install this library in my Toit v2?

Dear Developer Friends,
Now, I have a working Toit v2 installed under /opt/toit-sdk/ from sources.  I ran these examples successfully:
/opt/toit-sdk/bin/toit.run /usr/local/src/toit/examples/hello.toit
/opt/toit-sdk/bin/toit.run /usr/local/src/toit/examples/mandelbrot.toit
Then, what are the next steps to install this Toit Cellular library, and probably other library, in my present Toit v2 installation?
Yours faithfully,
Timmy

The easiest is probably to follow the cellular tutorial: https://docs.toit.io/tutorials/network/cellular


protoc-gen-grpc-web: 1.3.1 -> 1.4.2

Description of changes

Diff: https://github.com/grpc/grpc-web/compare/1.3.1...1.4.2
Changelog: https://github.com/grpc/grpc-web/blob/1.4.2/CHANGELOG.md
Things done

Built on platform(s)

[X] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[X] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[X] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[X] Tested basic functionality of all binary files (usually in ./result/bin/)
23.05 Release Notes (or backporting 22.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[X] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 221501 run on x86_64-linux 1

1 package built:

protoc-gen-grpc-web


Code 30002

Describe the bug
When I attempt to unlock my device (Redmi Note 12 5G) it gives me an error that says "Code 30002. Couldn't unlock. Please go to Mi Community to apply for authorization and try again.". My account has authorization.
Screenshots

Try changing the region by command
in windows linux macos :
python3 MiUnlockTool.py global

in termux :
miunlock global

(or india, russia, china, europe)
If you have the same problem, use
https://github.com/offici5l/MiBypassTool

Thank you for your help, but in the end, I had to use the official tool because of the wait
Sent from Outlook for Androidhttps://aka.ms/AAb9ysg

From: offici5l @.>
Sent: Saturday, August 10, 2024 3:37:20 AM
To: offici5l/MiUnlockTool @.>
Cc: PrivateMe @.>; Author @.>
Subject: Re: [offici5l/MiUnlockTool] Code 30002 (Issue #47)
Try changing the region by command
in windows linux macos :
python3 MiUnlockTool.py global
in termux :
miunlock global
(or india, russia, china, europe)
If you have the same problem, use
https://github.com/offici5l/MiBypassTool
—
Reply to this email directly, view it on GitHubhttps://github.com/offici5l/MiUnlockTool/issues/47#issuecomment-2278947962, or unsubscribehttps://github.com/notifications/unsubscribe-auth/APTWCJOTKQ46BQ5FLNQ7MODZQV4GBAVCNFSM6AAAAABL2F4G4OVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENZYHE2DOOJWGI.
You are receiving this because you authored the thread.Message ID: @.***>


refactor(popover): refactor css vars

Closes #999.
I replaced .pf-c-popover__header-title with .pf-c-title.
The original class had these variables applied but they werent showing up:
--pf-c-popover__header-title--FontSize: var(--pf-c-title--m-3xl--FontSize);
--pf-c-popover__header-title--FontWeight: var(--pf-c-title--m-3xl--FontWeight);
--pf-c-popover__header-title--LineHeight: var(--pf-c-title--m-3xl--LineHeight);
Now that title class is applied the 3xl is being applied and the title size is a lot larger, and looking at the original design I'm not sure if that was intended but I can't see a specific font size?

Deploy preview for pf-next ready!
Built with commit 95d79267af9e3db6e5f452a190e5aae075b4cdc7
https://deploy-preview-1076--pf-next.netlify.com

Hey Christie, looks good! Left a few comments, let me know what you think :)

@mcoker I updated this to add in the footer, and move the close button inside of the header. I'm wondering if the "headless" popover should go back to design because its unclear where the close button should go. Thoughts?

Good question about the "headless" popover @christiemolloy . The idea of this was to create something compact, so I don't think the current solution satisfies that aim. Maybe in this case the close is not needed and it can just close by clicking away from it. But that might not also be accessible. @mceledonia @jgiardino thoughts?

Looks good overall, requested a few updates. And we need to figure out where to put the close button and how the content should behave around it - I imagine the solution will apply here and to the modal, too.

@srambach @matthewcarleton this should be good to verify when you get a chance.

Looks good to me. Thanks @mcoker .


Svelte + Vite example

Simple Svelte Example, copied from the angular demo

Simple Svelte Example, copied from the angular demo

Nit: I always recommend adding a quick screenshot to the PR description for new sample apps / altered UI. Good for context, and gives a nice foundation for reviewers to evaluate the app locally.

Looks like this PR is stale - if you're interested in pursuing this example further, let's discuss.  If so, it would at least need to be updated to FF 2.0 and we'd want to discuss what DDSs should be used (i.e. should it use SharedTree).


Omnisharp.exe crashes when loading the solution (Sublime3, Vista x64, python 2.7)

Hi there,
Could not make omnisharp to work on my vista desktop. Works fine on my laptop (windows 8).
As soon as i try an autocompletion, i get a crash dialog. Upon debugging in VS, i could get the stack trace:
   à System.Runtime.CompilerServices.RuntimeHelpers.InitializeArray(Array array, RuntimeFieldHandle fldHandle)
   à Mono.Cecil.Mixin.GetSize(CodedIndex self, Func`2 counter)
   à Mono.Cecil.PE.Image.GetCodedIndexSize(CodedIndex coded_index)
   à Mono.Cecil.PE.ImageReader.ComputeTableInformations()
   à Mono.Cecil.PE.ImageReader.ReadImage()
   à Mono.Cecil.PE.ImageReader.ReadImageFrom(Stream stream)
   à Mono.Cecil.ModuleDefinition.ReadModule(Stream stream, ReaderParameters parameters)
   à Mono.Cecil.ModuleDefinition.ReadModule(String fileName, ReaderParameters parameters)
   à ICSharpCode.NRefactory.TypeSystem.CecilLoader.LoadAssemblyFile(String fileName)
   à OmniSharp.Solution.Project.<LoadAssembly>m__0(String file)
   à System.Collections.Concurrent.ConcurrentDictionary`2.GetOrAdd(TKey key, Func`2 valueFactory)
   à OmniSharp.Solution.Project.LoadAssembly(String assemblyFileName)
   à OmniSharp.Solution.OrphanProject..ctor(IFileSystem fileSystem, Logger logger)
   à OmniSharp.Solution.CSharpSolution.LoadSolution()
   à OmniSharp.Program.StartServer(String solutionPath, String clientPathMode, Int32 port, Verbosity verbosity, String configLocation)
   à OmniSharp.Program.Main(String[] args)

What solution is it loading? Does it always fail? Does it fail on certain projects or just one of them?

Ok, this is awkward:) I tried to create a couple of dummy solutions to answer your questions, and they worked fine.
Then I reopen the problematic solution, and... it loaded fine, everything is functional. Thanks for your answers, I'll keep you posted if the error comes back.


feat(esl-trigger): add ignore-esc attribute

Closes #1110

:tada: This PR is included in version 4.0.0-beta.13 :tada:
The release is available on:

npm package (@beta dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

:tada: This PR is included in version 4.0.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Fix cpu tests

Closes #332

Can we expedite the merging of this issue since it conflicts with fixing #326

yup

Great work, super fast as well!


Add guide for new board support to Resin.io

@agherzan @telphan @lorenzo-stoakes @michal-mazurek @shaunmulligan @craig-mulligan

fixes #165

Fixes / Connects needs to be in description.


use np.array to avoid copy behavior of index tensor for extract_image_patches

Related to #20146.
It's slow to construct gradient of tf.extract_image_patches: ~ 136s for @dbbert 's example.
And I find the performance bottlenecks are:

construct idx array: ~22s
copy from list to tf.int64 index_tensor when constructing sp_mat: ~110s

In the PR, we pre-allocate a np.int64 array for idx. I think the result gets better, although it's still time consuming: ~ 38s

construct idx array: ~30s
copy: ~6s

I think perhaps we could rewrite the double-for loop as matrix operation, which might accelerate the construction of idx array.

I find a faster method, and I'll open a new PR later.


md5 issue with fresh install

I've just installed this addon into an application and am running into the following issue:
Error: ENOENT: no such file or directory, open '/Users/adam/Projects/jobtrack/frontend/tmp/source_map_concat-input_base_path-JL9luqlV.tmp/node_modules/blueimp-md5/js/md5.js

I saw #25 but it didn't seem to have a resolution for a fresh install. ember generate ember-initials throws an Unkown blueprint error.
Any idea how to solve for this? I'm using v3.11

Yep :) ember-md5 is outdated and will be probably deprecated. I will fix this dependency right away!


iOS Version

iOS version of ProgressKit

Thanks for pull request.
I will merge after the code review

@kaunteya  Thanks, would love to help you 👍

Still not merged? Would be awesome an iOS version

@dimohamdy In your commit, only Spinner works, It seems like MaterialProgress component does`t works fine.