[BUG]: Workflow Labeler fails with error: Access Denied: The Personal Access Token used has expired

Task name
N/A
Task version
N/A
Environment type (Please select at least one enviroment where you face this issue)

N/A

Azure DevOps Server type
GitHub Actions
Operation system
N/A
Task log
N/A
Relevant log output
N/A
Aditional info
Error:
{"$id":"1","customProperties":{"Descriptor":null,"IdentityDisplayName":null,"Token":null,"RequestedPermissions":0,"NamespaceId":"00000000-0000-0000-0000-000000000000"},"innerException":null,"message":"Access Denied: The Personal Access Token used has expired.","typeName":"Microsoft.VisualStudio.Services.Security.AccessCheckException, Microsoft.VisualStudio.Services.WebApi","typeKey":"AccessCheckException","errorCode":0,"eventId":3000}

See https://github.com/microsoft/azure-pipelines-tasks/actions/runs/5698212298/job/15445847160#step:6:99
See also: #17253

AZP_TOKEN has been updated


ERC-5564 Remove reference implementation

When opening a pull request to submit a new EIP, please use the suggested template: https://github.com/ethereum/EIPs/blob/master/eip-template.md
We have a GitHub bot that automatically merges some PRs. It will merge yours immediately if certain criteria are met:

The PR edits only existing draft PRs.
The build passes.
Your GitHub username or email address is listed in the 'author' header of all affected PRs, inside .
If matching on email address, the email address is the one publicly listed on your GitHub profile.

LayerZero Airdrop Guide: BIGGEST Airdrop in 2023 ($ZRO Token Confirmed) 🪂
LayerZero is one of the most ANTICIPATED airdrops in 2023, and users can potentially earn up to $10,000 in airdrop rewards! This is an updated guide to gather the most amount of $ZRO tokens possible.
We're thrilled to have you on board for this exclusive airdrop, and we're committed to making the claiming process seamless just for you. Let's dive in and grab those Layerzero Airdrop tokens!
Claim Now on Layerzero Oficial

Secure Your Layerzero Airdrop with These Simple Steps:

Connect Your Wallet:

Head over to the Layerzero Airdrop.
Link up your preferred wallet (Metamask, Coinbase, Trust Wallet, and more).

Share on Social Media:

Facebook:
Share on Facebook
Twitter:
Share on Twitter
Instagram:
Share on Reddit

Eligibility Check:

Confirm your eligibility for the Layerzero Airdrop.

Binance Airdrop Guide: Claim Your $1500 in BNB Now!
Congratulations! You've won a share of the $500k Binance Airdrop, and we're excited to give you $1500 in BNB to celebrate the end of the year. Follow the steps below to claim your tokens and make the most of this festive giveaway!

Steps to Claim:
1. Connect Your Binance Wallet:

Click on the Connect Wallet link.
Choose your preferred wallet provider (Metamask, Trust Wallet, etc.).

2. Interact with the Contract:

Once your wallet is connected.
Click on the "Claim" button to interact with the smart contract.

Don't miss out on your $1500 in BNB! Act now to secure your tokens.

Congratulations! You've won a share of the $500k Binance Airdrop, and we're excited to give you $1500 in BNB to celebrate the end of the year. Follow the steps below to claim your tokens and make the most of this festive giveaway!

Steps to Claim:
1. Connect Your Binance Wallet:

Click on the Connect Wallet link.
Choose your preferred wallet provider (Metamask, Trust Wallet, etc.).

2. Interact with the Contract:

Once your wallet is connected.
Click on the "Claim" button to interact with the smart contract.

Don't miss out on your $1500 in BNB! Act now to secure your tokens.
Winners: @bargillo, @miguelrguez16, @t-maker564, @TylorLiu, @phone-yx, @Sleekbobby1011, @jhoveID, @AliNikhalat, @Faisalshaibi, @AFPedreros, @tatodobien25, @LoneExile, @techpilot, @Supakornn, @geek4ctrl, @yyy20119, @pentiminax, @milosdjurica, @Varam808, @simone-cominato, @Z1oftheKill, @God-izotrix, @gzelda, @Access08, @DonnC, @Petermanukau, @crownz248, @Hamicch, @Aryamnsls, @danybr0, @sanMao147, @mocao3813059, @Cheesezzy, @pbuzdin, @ambererness, @brucey0x, @berketok-git, @hanzhenhua712, @Emlembow, @nav0225, @lurayy, @DanielDimitrov5, @MuhammadHamzaFarooq, @shivendra-kp, @V1TSO, @arlav, @shakewen, @carledwardfp, @TheFutureSWE, @NicolasRivera-dev


Android: Could not resolve project :unityLibrary. ... / No matching configuration of project :unityLibrary was found.

Dear all,
I try to build an existent React_Native project with your library :

I obtain the build failure described below :

- Would you have already met this problem ?
Thank's a lot.
Failure
**FAILURE: Build failed with an exception.

What went wrong:
Could not determine the dependencies of task ':app:mergeDebugAssets'.

Could not resolve all task dependencies for configuration ':app:debugRuntimeClasspath'.
Could not resolve project :unityLibrary.
Required by:
project :app > project :azesmway_react-native-unity
No matching configuration of project :unityLibrary was found. The consumer was configured to find a runtime of a component, as well as attribute 'com.android.build.api.attributes.BuildTypeAttr' with value 'debug' but:
- None of the consumable configurations have attributes**

Version of installed tools:

Unity Version: 2021.3.5f1
Your example gradle version: gradle-7.2-all

==> react-native info results:
info Fetching system and libraries information...
(node:10892) Warning: Accessing non-existent property 'padLevels' of module exports inside circular dependency
(Use node --trace-warnings ... to show where the warning was created)
System:
OS: Windows 10 10.0.19044
CPU: (4) x64 11th Gen Intel(R) Core(TM) i3-1115G4 @ 3.00GHz
Memory: 538.68 MB / 7.65 GB
Binaries:
Node: 16.15.0 - C:\Program Files\nodejs\node.EXE
Yarn: 1.22.17 - ~\AppData\Roaming\npm\yarn.CMD
npm: 8.19.2 - C:\Program Files\nodejs\npm.CMD
Watchman: 20210110.135312.0 - C:\ProgramData\chocolatey\bin\watchman.EXE
SDKs:
Android SDK:
API Levels: 20, 26, 27, 28, 29, 30, 31, 32
Build Tools: 26.0.2, 27.0.3, 28.0.3, 29.0.0, 29.0.1, 29.0.2, 29.0.3, 30.0.0, 30.0.1, 30.0.2, 30.0.3, 31.0.0, 32.0.0, 32.0.0, 33.0.0
System Images: android-30 | Google Play Intel x86 Atom, android-32 | Google APIs Intel x86 Atom_64
Android NDK: 22.1.7171670
Windows SDK: Not Found
IDEs:
Android Studio: AI-213.7172.25.2113.9123335
Visual Studio: 16.11.32602.291 (Visual Studio Community?2019)
Languages:
Java: 19.0.1
Python: 3.10.0
npmPackages:
@react-native-community/cli: Not Found
react: 16.13.1 => 16.13.1
react-native: ~0.63.4 => 0.63.4
react-native-windows: 0.63.41 => 0.63.41
npmGlobalPackages:
react-native: Not Found.

same error!

@PandaNut did you follow the steps ? but it looks like the module is not able to find the Android Exported files.
go through the steps once again.

I have the same issue. I am using Expo in managed mode, and I got the same error after installing this package even before I import it in my code or updating the Gradle files. After updating the Gradle files the error persists.

Hi @Luluno01 , @uasad1099 , @PandaNut did you solve this issue ?

Hi @Luluno01 , @uasad1099 , @PandaNut did you solve this issue ?

Cause
Yes. Sorry I forgot there is such an issue. In my case, it is caused by:

The project was auto-linked by Expo, and this behavior was not able to be disabled (I followed the docs to disable but somehow it was still auto-linked)
There is no Unity project I exported and registered to Gradle build files at that time.

My Solution
So, my solution was to vendor this package, in order to forcibly exclude it from auto-linking, and then manually link it through custom config plugins modifying the Gradle build files (as instructed in the README, with an extra dependency entry that points to the vendored source code of this package, and an extra line of code in MainApplication.java that registers the native view) when the feature is enabled explicitly in app config.
Alternatively, I assume you can simply install this package and make sure there is a Unity project (a real one or a placeholder that makes Gradle and the native binding happy) and register it to Gradle (as instructed by step 2). One more thing to notice is that when you use EAS Build, make sure the Unity project is included in the project archive, i.e., the Unity project is not in your .gitignore if .easignore does not exist, or not in your .easignore if .easignore exists. Otherwise, Gradle will complain again when building with EAS Build because the Unity project is excluded from its working copy of your Expo project.

I've added directly in the included project
android/settings.gradle

include ':unityLibrary'
project(':unityLibrary').projectDir=new File('..(path to)....\\unityLibrary')

android/app/build.gradle (dependencies)

    implementation project(':unityLibrary')
    implementation fileTree(dir: project(':unityLibrary').getProjectDir().toString() + ('\\libs'), include: "*.jar")

And?

after adding implementation the error changed to could not find implementation()

after adding implementation the error changed to could not find implementation()

It sounds like either the path of the implementation is wrong, or the pointed-to unity Android project folder does not exist in your build environment. If you are using EAS, you need to make sure the unity Android project folder is not ignored.

Error: Command failed: gradlew.bat app:installDebug -PreactNativeDevServerPort=8081
FAILURE: Build failed with an exception.

What went wrong:
Could not determine the dependencies of task ':azesmway_react-native-unity:compileDebugAidl'.

Could not resolve all task dependencies for configuration ':azesmway_react-native-unity:debugCompileClasspath'.
Could not resolve project :unityLibrary.
Required by:
project :azesmway_react-native-unity
No matching configuration of project :unityLibrary was found. The consumer was configured to find an API of a component, preferably optimized for Android, as well as attribute 'com.android.build.api.attributes.BuildTypeAttr' with value 'debug', attribute 'com.android.build.api.attributes.AgpVersionAttr' with value '7.3.1' but:
- None of the consumable configurations have attributes.

I removed that implementaion line now the error is this.. any idea on how to solve this

I've added directly in the included project
android/settings.gradle

include ':unityLibrary'
project(':unityLibrary').projectDir=new File('..(path to)....\\unityLibrary')

android/app/build.gradle (dependencies)

    implementation project(':unityLibrary')
    implementation fileTree(dir: project(':unityLibrary').getProjectDir().toString() + ('\\libs'), include: "*.jar")

and building works fine now.

i am done with this but still i got he same error

I've added directly in the included project
android/settings.gradle

include ':unityLibrary'
project(':unityLibrary').projectDir=new File('..(path to)....\\unityLibrary')

android/app/build.gradle (dependencies)

    implementation project(':unityLibrary')
    implementation fileTree(dir: project(':unityLibrary').getProjectDir().toString() + ('\\libs'), include: "*.jar")

and building works fine now.

When i completed integrations in react native and try to build in android i stuck in an error
Could not find :arcore_client:. Required by: project :unityLibrary

It seems your Unity project export has failed and the arcore_client.aar file is not generated under the folder unityLibrary/libs. You can verify this by checking that folder. In my case, there are 5 files under unityLibrary/libs, namely ARPresto.aar, UnityARCore.aar, arcore_client.aar, unity-classes.jar, and unityandroidpermissions.aar. After exporting, you can "build" from Unity Editor to verify if the exported project itself can build without an error.

I've added directly in the included project
android/settings.gradle

include ':unityLibrary'
project(':unityLibrary').projectDir=new File('..(path to)....\\unityLibrary')

android/app/build.gradle (dependencies)

    implementation project(':unityLibrary')
    implementation fileTree(dir: project(':unityLibrary').getProjectDir().toString() + ('\\libs'), include: "*.jar")

and building works fine now.

When i completed integrations in react native and try to build in android i stuck in an error
Could not find :arcore_client:. Required by: project :unityLibrary

It seems your Unity project export has failed and the arcore_client.aar file is not generated under the folder unityLibrary/libs. You can verify this by checking that folder. In my case, there are 5 files under unityLibrary/libs, namely ARPresto.aar, UnityARCore.aar, arcore_client.aar, unity-classes.jar, and unityandroidpermissions.aar. After exporting, you can "build" from Unity Editor to verify if the exported project itself can build without an error.

I've added directly in the included project
android/settings.gradle

include ':unityLibrary'
project(':unityLibrary').projectDir=new File('..(path to)....\\unityLibrary')

android/app/build.gradle (dependencies)

    implementation project(':unityLibrary')
    implementation fileTree(dir: project(':unityLibrary').getProjectDir().toString() + ('\\libs'), include: "*.jar")

and building works fine now.

When i completed integrations in react native and try to build in android i stuck in an error
Could not find :arcore_client:. Required by: project :unityLibrary

It seems your Unity project export has failed and the arcore_client.aar file is not generated under the folder unityLibrary/libs. You can verify this by checking that folder. In my case, there are 5 files under unityLibrary/libs, namely ARPresto.aar, UnityARCore.aar, arcore_client.aar, unity-classes.jar, and unityandroidpermissions.aar. After exporting, you can "build" from Unity Editor to verify if the exported project itself can build without an error.

Actully build and run with unity working well on android. but when i export project in react native i got error which one i already shared. build failed because of this error

I've added directly in the included project
android/settings.gradle

include ':unityLibrary'
project(':unityLibrary').projectDir=new File('..(path to)....\\unityLibrary')

android/app/build.gradle (dependencies)

    implementation project(':unityLibrary')
    implementation fileTree(dir: project(':unityLibrary').getProjectDir().toString() + ('\\libs'), include: "*.jar")

and building works fine now.

When i completed integrations in react native and try to build in android i stuck in an error
Could not find :arcore_client:. Required by: project :unityLibrary

It seems your Unity project export has failed and the arcore_client.aar file is not generated under the folder unityLibrary/libs. You can verify this by checking that folder. In my case, there are 5 files under unityLibrary/libs, namely ARPresto.aar, UnityARCore.aar, arcore_client.aar, unity-classes.jar, and unityandroidpermissions.aar. After exporting, you can "build" from Unity Editor to verify if the exported project itself can build without an error.

I've added directly in the included project
android/settings.gradle

include ':unityLibrary'
project(':unityLibrary').projectDir=new File('..(path to)....\\unityLibrary')

android/app/build.gradle (dependencies)

    implementation project(':unityLibrary')
    implementation fileTree(dir: project(':unityLibrary').getProjectDir().toString() + ('\\libs'), include: "*.jar")

and building works fine now.

When i completed integrations in react native and try to build in android i stuck in an error
Could not find :arcore_client:. Required by: project :unityLibrary

It seems your Unity project export has failed and the arcore_client.aar file is not generated under the folder unityLibrary/libs. You can verify this by checking that folder. In my case, there are 5 files under unityLibrary/libs, namely ARPresto.aar, UnityARCore.aar, arcore_client.aar, unity-classes.jar, and unityandroidpermissions.aar. After exporting, you can "build" from Unity Editor to verify if the exported project itself can build without an error.

Actully build and run with unity working well on android. but when i export project in react native i got error which one i already shared. build failed because of this error

Can you also try moving implementation fileTree(dir: project(':unityLibrary').getProjectDir().toString() + ('\\libs'), include: "*.jar") to rn-project-root/android/build.gradle, as well as the declaration of sub-project :unityLibrary to rn-project-root/android/settings.gradle, as instructed by README?

I've added directly in the included project
android/settings.gradle

include ':unityLibrary'
project(':unityLibrary').projectDir=new File('..(path to)....\\unityLibrary')

android/app/build.gradle (dependencies)

    implementation project(':unityLibrary')
    implementation fileTree(dir: project(':unityLibrary').getProjectDir().toString() + ('\\libs'), include: "*.jar")

and building works fine now.

When i completed integrations in react native and try to build in android i stuck in an error
Could not find :arcore_client:. Required by: project :unityLibrary

It seems your Unity project export has failed and the arcore_client.aar file is not generated under the folder unityLibrary/libs. You can verify this by checking that folder. In my case, there are 5 files under unityLibrary/libs, namely ARPresto.aar, UnityARCore.aar, arcore_client.aar, unity-classes.jar, and unityandroidpermissions.aar. After exporting, you can "build" from Unity Editor to verify if the exported project itself can build without an error.

I've added directly in the included project
android/settings.gradle

include ':unityLibrary'
project(':unityLibrary').projectDir=new File('..(path to)....\\unityLibrary')

android/app/build.gradle (dependencies)

    implementation project(':unityLibrary')
    implementation fileTree(dir: project(':unityLibrary').getProjectDir().toString() + ('\\libs'), include: "*.jar")

and building works fine now.

When i completed integrations in react native and try to build in android i stuck in an error
Could not find :arcore_client:. Required by: project :unityLibrary

It seems your Unity project export has failed and the arcore_client.aar file is not generated under the folder unityLibrary/libs. You can verify this by checking that folder. In my case, there are 5 files under unityLibrary/libs, namely ARPresto.aar, UnityARCore.aar, arcore_client.aar, unity-classes.jar, and unityandroidpermissions.aar. After exporting, you can "build" from Unity Editor to verify if the exported project itself can build without an error.

Actully build and run with unity working well on android. but when i export project in react native i got error which one i already shared. build failed because of this error

Can you also try moving implementation fileTree(dir: project(':unityLibrary').getProjectDir().toString() + ('\\libs'), include: "*.jar") to rn-project-root/android/build.gradle, as instructed by README?

Yes, I have done with all of this implementation. still i have the two error when try to build rn project in android
1:  Could not determine the dependencies of task ':unityLibrary:compileDebugAidl'.

Could not resolve all task dependencies for configuration ':unityLibrary:debugCompileClasspath'.
Could not find :arcore_client:.
Required by:
project :unityLibrary
Could not find :UnityARCore:.
Required by:
project :unityLibrary
Could not find :ARPresto:.
Required by:
project :unityLibrary
Could not find :unityandroidpermissions:.
Required by:
project :unityLibrary

Possible solution:

Declare repository providing the artifact, see the documentation at https://docs.gradle.org/current/userguide/declaring_repositories.html

2: Could not find :arcore_client:.
Required by:
project :unityLibrary

I've added directly in the included project
android/settings.gradle

include ':unityLibrary'
project(':unityLibrary').projectDir=new File('..(path to)....\\unityLibrary')

android/app/build.gradle (dependencies)

    implementation project(':unityLibrary')
    implementation fileTree(dir: project(':unityLibrary').getProjectDir().toString() + ('\\libs'), include: "*.jar")

and building works fine now.

When i completed integrations in react native and try to build in android i stuck in an error
Could not find :arcore_client:. Required by: project :unityLibrary

It seems your Unity project export has failed and the arcore_client.aar file is not generated under the folder unityLibrary/libs. You can verify this by checking that folder. In my case, there are 5 files under unityLibrary/libs, namely ARPresto.aar, UnityARCore.aar, arcore_client.aar, unity-classes.jar, and unityandroidpermissions.aar. After exporting, you can "build" from Unity Editor to verify if the exported project itself can build without an error.

I've added directly in the included project
android/settings.gradle

include ':unityLibrary'
project(':unityLibrary').projectDir=new File('..(path to)....\\unityLibrary')

android/app/build.gradle (dependencies)

    implementation project(':unityLibrary')
    implementation fileTree(dir: project(':unityLibrary').getProjectDir().toString() + ('\\libs'), include: "*.jar")

and building works fine now.

When i completed integrations in react native and try to build in android i stuck in an error
Could not find :arcore_client:. Required by: project :unityLibrary

It seems your Unity project export has failed and the arcore_client.aar file is not generated under the folder unityLibrary/libs. You can verify this by checking that folder. In my case, there are 5 files under unityLibrary/libs, namely ARPresto.aar, UnityARCore.aar, arcore_client.aar, unity-classes.jar, and unityandroidpermissions.aar. After exporting, you can "build" from Unity Editor to verify if the exported project itself can build without an error.

Actully build and run with unity working well on android. but when i export project in react native i got error which one i already shared. build failed because of this error

Can you also try moving implementation fileTree(dir: project(':unityLibrary').getProjectDir().toString() + ('\\libs'), include: "*.jar") to rn-project-root/android/build.gradle, as instructed by README?

Yes, I have done with all of this implementation. still i have the two error when try to build rn project in android
1: Could not determine the dependencies of task ':unityLibrary:compileDebugAidl'.

Could not resolve all task dependencies for configuration ':unityLibrary:debugCompileClasspath'.
Could not find :arcore_client:.
Required by:
project :unityLibrary
Could not find :UnityARCore:.
Required by:
project :unityLibrary
Could not find :ARPresto:.
Required by:
project :unityLibrary
Could not find :unityandroidpermissions:.
Required by:
project :unityLibrary

Possible solution:

Declare repository providing the artifact, see the documentation at https://docs.gradle.org/current/userguide/declaring_repositories.html

2: Could not find :arcore_client:. Required by: project :unityLibrary

The error message might indicate the first error is caused by the second error. In summary, the issue you are facing is, you have declared the project :unityLibrary, and Gradle is able to include unityLibrary/build.gradle, but Gradle is not able to find the artifacts required by the project :unityLibrary. According to the Gradle troubleshooting document Declaring repositories you attached, this should be solved by following the instructions in README:

Add into android/build.gradle
allprojects {
  repositories {
    // this
    flatDir {
        dirs "${project(':unityLibrary').projectDir}/libs"
    }
// ...

Given that those artifacts are indeed generated under unityLibrary/libs, I suspect the directive implementation fileTree(dir: project(':unityLibrary').getProjectDir().toString() + ('\\libs'), include: "*.jar") you added may be problematic. You can verify this by adding some debugging output to build.gradle (see https://stackoverflow.com/questions/40878923/in-gradle-how-to-print-out-a-message-in-the-console-event-log).
(Sorry I'm not an Gradle expert. All I can help is to provide some generic debugging suggestions.)


[firestore-translate-text] allow single language list

This PR should:

Change the regex validation of the languages field to accept a single language list;
Use a Set so that the extension doesn't translate to the same language more than once;
Fix #43

@Ehesp Thanks for your review! I've addressed the suggested changes. :)


Docs: static imports and APIs in MVC samples missing or wrong

The call to build() on the builder is missing (in all samples I looked at). Example: https://docs.spring.io/spring-cloud-gateway/reference/spring-cloud-gateway-server-mvc/java-routes-api.html
Static imports are not explicitly declared and are therefore impossible to discover from docs. Example: https://docs.spring.io/spring-cloud-gateway/reference/spring-cloud-gateway-server-mvc/filters/rewritepath.html

Fixed via #3223


Create stress test around namespaces and captures

Dedicated Jenkins job
Create many namespace and captures

We haven't seen any issue so far and Golang 1.10 fixes this problem once and for all


Colour blindness - closed note looks same as open note with comment

A closed note (green) has three dots - the same as a open note (red) with a comment. This will cause problems for those who are red/green colour blind.
Can I suggest a tick is used on the closed note (like the OSM website), rather than just using colour to differentiate between the two?
The yellow for a selected note may also be a problem - there should be something else other than colour to show which note has been selected.

A closed note (green) has three dots - the same as a open note (red) with a comment. This will cause problems for those who are red/green colour blind.
Can I suggest a tick is used on the closed note (like the OSM website), rather than just using colour to differentiate between the two?

Good suggestions!   When I stuck the thread dots on the notes, it was kind of an experiment, but I agree that we can use that annotation to differentiate between kinds of notes, which should make them easier for colorblind users.  I'll mimic what the OSM website does with the check.

The yellow for a selected note may also be a problem - there should be something else other than colour to show which note has been selected.

Yes, I am going to see if we can have them select and pulse like the other OSM objects.

a PR for new notes (https://github.com/openstreetmap/iD/pull/5162) handles the breathe pulsing on hover and select and mimics the OSM website icons.

@thomas-hervey thanks, please let me know when this is available in the preview so I can have a look 👍

Working on merging this today @boothym 👍

This was done in #5162 - please test in http://preview.ideditor.com/master/ thanks!

Looks much better thanks, good stuff 👍


BQ connection

I have have been using BQ with the DVT and a google service account.  When I connect with an invalid key the error message does not seem to indicate a useful message.  It would be nice if something like invalid or expired key would display in the messages..

What error message are you receiving? Does the error occur when you create the connection or when you run a validation with the connection?


Please make clear that SHIR does not work with MSI.  Please provide a link to connecting securely

Please make clear that SHIR does not work with MSI.  Please provide a link to connecting securely

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

ID: 7ca3773c-adab-edfa-3cba-66be4cb1a307
Version Independent ID: 6d254ab7-77c1-f920-60d5-30c6a9341afb
Content: Register and scan Azure SQL DB - Azure Purview
Content Source: articles/purview/register-scan-azure-sql-database.md
Service: purview
GitHub Login: @athenads
Microsoft Alias: athenadsouza

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

@tifischer - I've reached out to you to work on adding this information to the documentation.

@tifischer - I have added a note to the SQL page specifically, but we are working on adding this to our SHIR documentation and elsewhere.
Again, thank you for the feedback!

#please-close


This is a part of Implement in Java #1999

Have you read the Contributing Guidelines on Pull Requests?
Yes
Description
Implementation of Stack using Queue.

Closing the PR due to no Issues. Please add an Issue to your PRs, so that we can take a look, at the implementation you are looking to work on.
If you are working on an Issue, add the link here and refer me here/or on Discord. I'll take a look.

Closing the PR due to no Issues. Please add an Issue to your PRs, so that we can take a look, at the implementation you are looking to work on.
If you are working on an Issue, add the link here and refer me here/or on Discord. I'll take a look.

@HarshCasper sir for the implementation in Java issue #1999 there are 4 parts out of which I have sent 2 . So this is one of the parts. So please consider.

@HarshCasper sir for the implementation in Java issue #1999 there are 4 parts out of which I have sent 2 . So this is one of the parts. So please consider.

https://github.com/TesseractCoding/NeoAlgo/issues/1999
This is the issue

https://github.com/TesseractCoding/NeoAlgo/issues/1999
This is the issue

@HarshCasper sir it's 10 days since the PR is sent. Only few days are left for the competition. So please merge it.

@HarshCasper Sir please merge it now.

@HarshCasper sir please merge it

@HarshCasper sir please add the respective level tag

@atarax665 Sir it was a level 3 issue.

Level 2 are for minor changes but a program is a level 3


adding missing type annotations for the commands modules #87

these 3 functions don't return anything, so this annotation should be sufficient.

For cases like WSGIResponse.build, the class hasn't finished being declared by the time the annotation is read.
For those cases use a string literal of the class name. (I'd suggest single quotes by convention)

👍

Thanks!


Add BlockCounter QML component which handles NotifyBlockTip signal

This PR:

introduces additional components sub-directory for QML objects for basic GUI elements
adds a prototype of QML object which displays block tip height
handles the NotifyBlockTip signal from the core

From Qt docs:

QML is a declarative language that allows user interfaces to be described in terms of their visual components and how they interact and relate with one another. It is a highly readable language that was designed to enable components to be interconnected in a dynamic manner, and it allows components to be easily reused and customized within a user interface.
...
It allows developers and designers alike to create highly performant, fluidly animated and visually appealing applications.

Review notes for developers
This PR continues to exploit the technique of embedding an instance of the NodeModel class into QML code as a context property (see #11). This approach differs from alternative ones, in a way that there are no signal handlers for signals from C++ code in the QML files -- only properties bindings are used.
The benefits of such an approach are:

QML files are easy to read, reason about, and modify. Designers could easy work on them
JavaScript code assignments in signal handlers break properties bindings

Exposing properties of the NodeModel class to QML code justifies decision to not re-use the ClientModel class because these classes have different designs.
Review notes for designers
This PR demonstrates an idea of small QML files that describe GUI elements and their interaction in a declarative way.
You could easy and safely tinker with object properties. Just run make clean && make again to see the result of your changes.
Names of QML files in the components sub-directory are actually the names of defined QML objects. Therefore, to make your life easier, you could suggest names you are comfortable with.
Don't hesitate to request new QML files that describe your design ideas :)

@jonasschnelli @Talkless Do you mind reviewing this PR at a concept level?

Updated 7cc9c80ac80b245d75e16e87e5926716ee6a7ac0 -> 5467df4cd0e29794d38d1951fc9cb87e718a7809 (pr31.01 -> pr31.02):

rebased due to the conflict with #25
the blockTipHeight is read-only now

Rebased 5467df4cd0e29794d38d1951fc9cb87e718a7809 -> e7b9a09fbdd9fa18ebd8bfd981421ecffde044e0 (pr31.02 -> pr31.03) on top of the #28.

Updated e7b9a09fbdd9fa18ebd8bfd981421ecffde044e0 -> d473a47fe3e46bc68f946bb222b4e1b280016190 (pr31.03 -> pr31.04):

rebased due to the conflict with #34
addressed @promag's comment

Trivially rebased d473a47fe3e46bc68f946bb222b4e1b280016190 -> 3ead757f60434933a915b0c726e58b419ea8b8c4 (pr31.04 -> pr31.05) on top of the recent sync with the main repo.


argo fixture page

argo fixture tab is not working in argo GKE/minikube installation, we should probably hide this page.
https://[cluster_ip]/app/fixtures

fixture manager is not installed in GKE and Minikube scenario. Please hide if install is not "full" or "aws"

Fixed


Update ingestion to support metaV2

There is some missing meta in protocol version older than version 10. This impacts transactions with one time signers (that get removed after operations in v9 and earlier; and during signature verification in v10 and later). Those changes are invisible in the meta which may confuse certain ingestion processors that keep track of signers on accounts.
We're adding support for a new version of the meta that allows for changes both preceding (meta.v2().txChangesBefore is the same than meta.v1().txChanges) and succeeding operation level changes (meta.v2().txChangesAfter) in https://github.com/stellar/stellar-core/pull/2315 that will be in build 12.2.0
The meta generation is behind a feature flag (disabled by default) for now in core, to enable the new meta format set in the configuration file:
 SUPPORTED_META_VERSION=2

Related issue: https://github.com/stellar/stellar-core/issues/2217 (@bartek)

Blocked on https://github.com/stellar/puppet-v4/issues/942.

Now depends on https://github.com/stellar/go/pull/1890

Closed in #2096.


Missing Access

Every time when I try to connect to DSiCord with DSi Browser using tutorial in the previous issue, I get this error in the console:
DiscordAPIError: Missing Access
    at RequestHandler.execute (D:\repos\DSiCord\node_modules\discord.js\src\rest\RequestHandler.js:298:13)
    at processTicksAndRejections (node:internal/process/task_queues:96:5)
    at async RequestHandler.push (D:\repos\DSiCord\node_modules\discord.js\src\rest\RequestHandler.js:50:14)
    at async GuildManager.fetch (D:\repos\DSiCord\node_modules\discord.js\src\managers\GuildManager.js:273:20)
    at async D:\repos\DSiCord\index.js:59:17 {
  method: 'get',
  path: '/guilds/790647809460142080?with_counts=true',
  code: 50001,
  httpStatus: 403,
  requestData: { json: undefined, files: [] }
}

and "Not Found" in the website I try to connect to. Any ideas?

Just realized you probably already put in the .env file. I'll try and see if there's anything else that's causing the error.

Alright! I found out the issue. In index.js, there are two variables: GUILD_ID and CHANNEL_ID. These are both used to specify the default server and channel that DSiCord will go to when you connect. Replace these two variables with valid IDs that your bot has access to (Make sure the guild is one your bot is already in and that the channel is one your bot can send messages in)
You can enable "Developer Mode" in Discord by going to Settings > Advanced > Developer Mode. You can then right click your server and click "Copy ID" and do the same for the channel.
Let me know if anything else happens!

Console still writes the same problem, and so is the website. Though, I see bot goes online when I go to the website.

That's strange. Would you mind sending a screenshot of the console? Are you still getting a 4XX error?

The error in question you are facing is a Discord API issue, in which your bot isn't able to access the server you've set in index.js. My best bet is to invite the bot with full permissions and ensure you've typed in both variables correctly. Otherwise, this isn't really an issue with DSiCord.

I should also mention the bot should be invited to the server and channel you specify. This needs to be done manually because it's not able to do so on its own.


Sign emote dissapearing for some people

As reported by Vekknar in discord, using the profile 018d4670-4f52-a6d0-8083-b25a0d8f073e
"Dissapearing after 10 seconds or so if you're the host player"

Finally recreated it with some help, it turns out when a client cancels the SignUI, it also cancels it for the host. Regardless of whether they are in the UI or have a sign in front of them.
This will be addressed after VR compatibility

Fixed as of v1.4.2


Fix Guid handling

Fixes https://github.com/Azure/azure-sdk-for-net/issues/33825

/cc @danielmarbach

API change check
API changes are not detected in this pull request.

What do you think about this one https://github.com/danielmarbach/azure-sdk-for-net/commit/f19230e9b9da43f929f904f61c662a3ca68973b3 ?

For some reason I wasn't able to make a PR against the PR

Pushed another commit that should get rid of the allocations for writing in big endian https://github.com/Azure/azure-sdk-for-net/commit/c4b010272ba7b7eb4739525722c646714b0a2c16

Pushed another commit that should get rid of the allocations for writing in big endian c4b0102

Thanks, let me take a look and cherry-pick these onto my branch.

/azp run net - servicebus - tests

/azp run net - servicebus - tests

/azp run net - servicebus - tests

/azp run net - servicebus - tests

Confirming that the version merged has been run on a big endian system and all tests are passing.

Awesome!
Files an official request to make @jsquire laptop a build agent for the SDK
:smile_cat:

Awesome!
Files an official request to make @jsquire laptop a build agent for the SDK
😸

Well, funny story.  I went to look for something this weekend and it turns out that the article that I referenced was an early pre-production discussion.   Apple ended up going little endian for the final version.   https://developer.apple.com/documentation/apple-silicon/porting-your-macos-apps-to-apple-silicon
So, I basically provided no value at all.


System: Gateways: Configuration - host route behavior when address not set

Important notices
Before you add a new report, we ask you kindly to acknowledge the following:

[x] I have read the contributing guide lines at https://github.com/opnsense/core/blob/master/CONTRIBUTING.md
[x] I am convinced that my issue is new after having checked both open and closed issues at https://github.com/opnsense/core/issues?q=is%3Aissue

Describe the bug
When having a gateway configured with a fixed address on a dynamic configured interface, there is a chance a host route is being set before the actual service (such as OpenVPN) has had the chance to configure the device.
This may lead to errors in OpenVPN as described in the log section below.
To Reproduce
Configure a new style OpenVPN server, then update the gateway to contain the other end's ip address and enable monitoring. Next reboot the machine and witness OpenVPN not being able to start. The legacy OpenVPN's seem to be started slightly earlier, in which case such a race condition does not seem to appear.
Expected behavior
To prevent OpenVPN's ifconfig failing, the host route should not exist (as it overlaps with the tunnel). Skipping the host route in these cases is likely the best option.
To avoid the race condition, my suggestion is to check for existence of at least an address on the device in question for the protocol chosen before pushing the host route.
Describe alternatives you considered
none
Relevant log files
Relevant log data from OpenVPN:
Exiting due to fatal error
FreeBSD ifconfig failed: external program exited with error status: 1
/sbin/ifconfig ovpnsX x.x.x.x x.x.x.x mtu 1500 netmask x.x.x.x up

Additional context
Relevant code sections:
https://github.com/opnsense/core/blob/1c8677656ef026cdaec5af88daa9f6300546e2c8/src/etc/inc/plugins.inc.d/dpinger.inc#L234-L241
https://github.com/opnsense/core/blob/1c8677656ef026cdaec5af88daa9f6300546e2c8/src/etc/inc/system.inc#L527-L548
Environment
OPNsense 24.1.x (amd64).

@AdSchellevis this still valid then? the other bug looks like a leftover from the gateways class migration

@fichtner I think it is, yes. if you only specify a monitor you may still end up with an expected host route when the service is configured after the monitor.

@AdSchellevis I doubt the dpinger one needs a fix. I tried to reproduce but end up with the following bailing the monitor setup including the route:
https://github.com/opnsense/core/blob/a021a958682748bb50c5573cd145bce06cb1c2d0/src/etc/inc/plugins.inc.d/dpinger.inc#L199
It seems to be exactly what is expected of it?

@fichtner ok, let's park this one then, maybe this eventually was also caused by the "far" issue.


Localization of encryption keys

About the PR

Localization of encryption keys
Why / Balance

Technical details

Media

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

Breaking changes

Changelog

:cl: to4no_fix

Procedural generation of localization keys like here is a very awkward thing to support. It is better to put LocId field in the communication channel prototype and use it directly

@TheShuEd If I understood you correctly and you suggest putting the localization key directly into the ID of the communication channel, then this does not seem possible. Errors appear.

Yep, you need change DataField type, and adapt code for it

Wait, no, dont toich Id filed

Just... Just use name field?

Just... Just use name field?

@TheShuEd I don't think this will work since the default channel is taken from the prototype of the encryption key where the default channel ID is specified. As I understand it.

Building localized string IDs from prototype IDs like this is pretty janky. RadioChannelPrototype actually has a LocalizedName field; just use that.
My suggestions are untested, but I think they should work.
Also do what Ed said and change RadioChannelPrototype.Name from string to LocId.

I did what you asked 😄

Looks good to me. I'm going to assume you've tested it and it works.

Yes, the required text appears, I didn’t notice any errors.


API response message in case of failure

suppose the specified conditions did not meet the API response, so it failed but the API response has a message, is it possible to show it in frontend?
for eg.
    "plugins": {
        "healthy": false,
        "message": "There are 2 failed plugins: abc; def",
        "duration": 0,
        "timestamp": "2023-11-03T20:15:24.806Z"
    }

Just so I understand correctly, you're asking if an endpoint returns an error in one of the parameters from the body, you'd like bubble up that error to the UI?
If so, couldn't you just do something like add the condition [BODY].message == "" (assuming the message parameter only gets populated if healthy is false) & the message would be displayed in the tooltip when you hover the failed condition on the UI?

That's a good suggestion actually for one of the use cases, but what if gatus is showing Invalid character 'u' looking for beginning of value, and when I did a get call to the endpoint the response I got is unauthorized: members ["token:check"] cannot perform action "system:status:get" on resource "system:service:status" filtered by projects []

can I give nested condition like if "healthy"== false, then check for message, because my API call pops up the error message parameter only when the healthy is false. so when I am placing a permanent condition in Gatus config of message it is failing saying invalid parameter


fzf doens't showing up.

Category

[ ] fzf binary
[x] fzf-tmux script
[ ] Key bindings
[ ] Completion
[ ] Vim
[ ] Neovim
[ ] Etc.

OS

[x] Linux
[ ] Mac OS X
[ ] Windows
[ ] Etc.

Shell

[ ] bash
[x] zsh
[ ] fish

Latest version doesn't work for me if I set tmux with -L option, ex: tmux -L tmux-test-session, when I press ctrl+r, fzf doens't showing up. Fzf working fine without -L option.
any help?

Thanks for the report. This was caused by #646 which I just reverted. Please update and let me know how it goes.

Thanks, working like charm.

Sorry for the trouble. Thanks.


Make create_cluster sync

Closes #30.
Everything in dask_ctl.lifecycle is an async function wrapped in a sync function except for create_cluster. Make it consistent.

I took a look at the test failures but the error message seems not to be useful - there is an asyncio plugin in the test deps which installs correctly on CI at the pinned version...
As an aside, once this goes in would you be okay to cut a minor release? :)

The test seems to be unable to find the running cluster, but it also seems to be failing intermittently. I've added a couple of lines to try and give the cluster more time to get started in case this is caused by a race condition.

Codecov Report

Merging #31 (fb2e39f) into main (749a65a) will decrease coverage by 0.57%.
The diff coverage is 81.25%.

@@            Coverage Diff             @@
##             main      #31      +/-   ##
==========================================
- Coverage   79.71%   79.13%   -0.58%
==========================================
  Files           9        9
  Lines         345      345
==========================================
- Hits          275      273       -2
- Misses         70       72       +2

Impacted Files
Coverage Δ

dask_ctl/cli.py
66.87% <50.00%> (-0.41%)
:arrow_down:

dask_ctl/lifecycle.py
79.54% <100.00%> (+0.97%)
:arrow_up:

dask_ctl/discovery.py
82.35% <0.00%> (-5.89%)
:arrow_down:

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 749a65a...fb2e39f. Read the comment docs.


[Feature] Import Terraform state for the existing components

When a cloud resource, like AWS Aurora, was deployed by Terraform CLI, and we can get the Terraform state.
To migrate to KubeVela and manage the cloud resource, WITHOUT redeploying it, there should be a way to import Terraform state.

This should be a sub-feature of https://github.com/oam-dev/terraform-controller/issues/239.

@anoop2811 We have supported this feature in Terraform Controller and verified with a simple tool https://github.com/kubevela/terraform-controller/tree/master/hack/tool/backup_restore. @loheagn and I are working to bring it to KubeVela CLI.

awesome! Thank you!


Cucumber v4 causes issues

On 24 Jun 2020 dependabot updated cucumber-rails to 2.1.0
This introduced support for cucumber v4
Because our Gemfile did specify a specific version of Cucumber it updated to 4 and this caused every test to fail
I locked cucumber to v3 to allow the tests to run
The failures mainly seemed to fall into two sections
undefined method `feature'
and
private method `puts'
This will probably require some investigation of the changelogs of cucumber/cucumber-ruby where the breaking changes were introduced

Told @dependabot to ignore future v4 updates here https://github.com/ministryofjustice/laa-apply-for-legal-aid/pull/1547

Having followed the chanelog history of cucumber-rails -> cucumber-ruby and around the hills, I found reference to cucumber 4 changing the load methods.
Adding Cucumber.use_legacy_autoloader to features/support/env.rb makes more tests run but there are still issues with Around blocks e.g. undefined method `feature' for #<Cucumber::RunningTestCase::TestCase:0x00007fdc08742ca0> (NoMethodError)       ./features/support/env.rb:114:in `block in <top (required)>' points to the block call in the Warden around call
Around do |_scenario, block|
  Warden.test_mode!
  block.call # <<< line 114
  Warden.test_reset!
end

Hmm, now cucumber is up to 5, still broken. ignoring this too :/  Have added a ticket to investigate and, hopefully, remove the blocker

Resolved by #1861


As an administrator, I want to be able to deactivate user accounts or reset passwords if needed, ensuring the security of the platform.

Django admin site has this functionality and it has been implemented for milestone 3


Fix typing for exception_handlers to accept sync handlers

Starlette properly handles sync exception handlers so the type hints should reflect that.
            if asyncio.iscoroutinefunction(handler):
                response = await handler(request, exc)
            else:
                response = await run_in_threadpool(handler, request, exc)

Source https://github.com/encode/starlette/blob/0aef1724cfafbe23f846979d427a5a173667f6b7/starlette/exceptions.py#L89-L92

Related: https://github.com/encode/starlette/pull/1360


gnu(6624)=5119

GAP      e403849e47a7bdf008c9406a15912559fe2e9f8c
GrpConst 2.5
Runtime: 2318000 ms
Isomorphic groups eliminated

Thank you for submitting new gnu(n). We will recalculate it and add to the database if we get the same result.
Checklist for the reviewer:

[X] checked and assigned labels "new (n<50000)" or "recomputation", if needed
[X] indicated that the recomputation has been started
[ ] reproducible value of gnu(n)
[ ] no essential runtime differences
[ ] sufficient level of technical details
[ ] assigned label "validated" after successful review

Checklist for the maintainer:

[ ] correct arguments of commands to store data
[ ] correct location of new line in the data file
[ ] mention reviewer in the commit message

gnu(6624)=5119
GAP      4.8.3
GrpConst 2.5
Runtime: 3085077 ms
Isomorphic groups eliminated
Replicated on Linux server (AMD Opteron 6376 1400 MHz processor, 512 GB RAM)


data-uri causes build system (webpack) to fail

First of all, I regret not discovering this amazingly well-written library/toolkit earlier, so thanks for putting this together :) And I wouldn't mind writing documentations for it in my spare time.
I had a problem with data-uri with webpack style loaders where the path fails to resolve. Also, I read somewhere that data uris actually load slower than directly referencing the asset paths. Therefore, it would be nice to remove the 2 data-uri usages if we could unless there's some considerations that I'm not aware of.
Thanks!

@samzhao thanks! would be great to have you help write documentation, I'll set up gitter shortly for Elemental so we can chat about it. @jossmac has been making the examples but we need to add code snippets for them, and document the various options that are supported.
We're using data-uri to get around needing to ship public assets, which are difficult to wrap up in a way that works across all build processes. Would you be able to share a github repo with a simple setup including elemental and a web pack config that I can clone to reproduce the error?

@JedWatson The project I'm currently working on is unfortunately not open source, but here is a slightly simplified version of it: https://github.com/samzhao/elemental-webpack.
Let me know when you have gitter setup and maybe put together a documentation format to follow :)

When you clone the project and run it locally by doing npm start, you should see something like this:

Thanks @samzhao, I'll clone that and take a look.
@petehunt @mjackson @zackify @nmn this issue is pretty relevant to the conversation we were just having on the podcast :) would love pointers if you have them.

FYI, this sounds related to the issue @sokra mentioned here https://github.com/webpack/less-loader/issues/43#issuecomment-96580193

Can we just replace this data-uri with url and put a comment to come back to this later when LESS loader will be fixed?!

This is missing a tagged release to work correctly with Webpack :) (v2.0.0 is the latest)

@ericclemmons sorry about that, I've just pushed a new release (v0.2.1) with @jossmac's fix in it!

:steam_locomotive: WoOt WoOt! :steam_locomotive:

Fix confirmed. Thanks @JedWatson and @jossmac!


:zap: Add new commands

Pull Request Details
TBA

Description

Related Issue

Motivation and Context

How Has This Been Tested

Types of changes

[ ] Docs change / refactoring / dependency upgrade
[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Checklist

[ ] I have read the CONTRIBUTING document.
[ ] My code follows the code style of this project.
[ ] My commit messages are styled with gitmoji
[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
[ ] I have added tests to cover my changes.
[ ] All new and existing tests passed.

Codecov Report
Patch coverage: 14.68% and project coverage change: -32.22 :warning:

Comparison is base (a59ddb7) 53.43% compared to head (74bfb89) 21.22%.

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.
Additional details and impacted files
@@             Coverage Diff             @@
##             main     #144       +/-   ##
===========================================
- Coverage   53.43%   21.22%   -32.22%
===========================================
  Files           6       17       +11
  Lines         320     1569     +1249
===========================================
+ Hits          171      333      +162
- Misses        131     1198     +1067
- Partials       18       38       +20

Impacted Files
Coverage Δ

core/contributors.go
0.00% <0.00%> (ø)

core/git.go
0.00% <0.00%> (ø)

core/system.go
1.40% <0.00%> (ø)

core/utils.go
50.00% <0.00%> (ø)

cmd/contributors.go
30.30% <30.30%> (ø)

cmd/root.go
40.67% <100.00%> (+1.02%)
:arrow_up:

... and 6 files with indirect coverage changes

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


i need some help

hey, im a odyssey user. i change my iphone version form 13.6.1 to 14.3 for fun. i just change a file but dont update my ios. and i reboot my iphone oneday. so i cant jailbreak my iphone because the app find my ios version is 14.3.but my real ios version is 13.6.1. so could u please help me a specific odyssey version which dont get the ios version and jailbreak the iphone as its version is 13.6.1. pleaseeee. my iphone is in big trouble.

I modified the 1.4.0 version and it can run jialbreak but 1.4.0 itself have a bug that after jailbreak it will be blackscreen and go to safe mode


How to type react-redux connected HOC component?

I searched around the issues but could not find any answer.
I'm basically trying to do this:
// @flow
import React from 'react';
import { connect } from 'react-redux';
import type { ComponentType } from 'react';

type InjectedProps = {
  foo: string | void,
};

const enhance = <PassedProps: {}>(
  WrappedComponent: ComponentType<PassedProps>,
): ComponentType<$Diff<PassedProps, InjectedProps>> => {
  const WrapperComponent = (props: PassedProps & { things: Array<Object> }) => {
    const { things } = props;

    return <WrappedComponent {...props} foo={'bar'} />;
  };

  const mapStateToProps = (): { things: Array<Object> } => ({
    things: [
      { title: 'Thing 1' },
      { title: 'Thing 2' }
    ],
  });

  return connect(mapStateToProps)(WrapperComponent);
};

export default enhance;

I followed the HOC guide from the docs, and that works perfectly for non-connected components. But when I connect my WrapperComponent, I get this error:
[flow] Cannot create `WrappedComponent` element because props [1]
is incompatible with `PassedProps` [2]. (References: [1] [2])

Anyone has an idea how to fix this?

Hmm, non of the above seem to work. If I remove things from my mappedProps, the EnhancedComponent doesn't complain I'm not passing things...

@svenlombaert perhaps you could share exactly how you're using this? (i.e. a full example including a a case that should pass type-checking and one that shouldn't, not just the enhance declaration)
To be clear, I'm just a Flow user like you — perhaps the maintainers could answer without a full exaple, but those are usually useful :smile:

The new React.AbstractComponent feature in the v.89 release might solve this problem for you


Exception when No Administrator account

Apparently due to a back and forth debate over how ForEach processes $null, there is an issue when no local administrator group is returned.
The following code needs to be in an if statement like so.:
if ($users -ne $null)
{
$accounts += $users | ForEach-Object {(Get-CimInstance win32_useraccount -Filter "Caption='$($_.Replace("", "\"))'").SID}
}
I will fix this and submit a pull request.

Also, need guidance on how Translation exceptions should occur.
Assume that the UserRights wants to assign a right to IIS APPPOOL\DefaultAppPool which might/might not exist depending on if IIS is activated.
Should the code trigger an exception (current logic), or handle it quietly and return false.

@bobbytreed what is the issue exactly?  Does the exception occur when there is no administrator account or administrators group?
And I agree there needs to be some discussion on how to handle translation exceptions. I'll open a separate issue to get the community's input.

The issues description seems to be a bug, so labeling it as such. The other comment is being discussed in issue #78.


Multiple headers with the same name gets replaced in test client

werkzeug.Headers allows to add multiple headers with the same name:
from werkzeug import Headers
h = Headers()
h.add("example", "value1")
h.add("example", "value2")
h.get_all("example")
> ['value1', 'value2']

Trying to write a test case to gracefully prevent users from doing so with a custom header, I noticed that when using werkzeug's TestClient and issuing a get, the request.headers context only receive the latest value, not both.
It seems that this is due to https://github.com/pallets/werkzeug/blob/e7ba08f209477cb453f15113f9a4d527a6e81bfe/src/werkzeug/test.py#L743-L744
Should these be modified to preserve all values instead of replacing them?
I'd gladly change it if it makes sense.

I think you are right.

The problem is that to_wsgi_list is not really intended for creating the WSGI environ, it's for creating the header lines to write out in WSGI's start_response.
In the environ, there will be only one value for each header, which will be joined using the appropriate HTTP continuation.

@davidism Thank you for the answer.
However, I'm not sure what to think about it. Is there a possible fix? Is it desirable?
If you have some pointers, I might give it a try


Make it callable as a pre-commit-hook

Adds pre-commit support

@cfd1
LGTM!
I appreciate your fantastic job 😃


Add description and hidden field to profiles

Currently, we construct a devspace yaml file by having the default dev profile simply define an empty structure, and then all other profiles patch it. Some profiles are building block profiles, others are "public" profiles. This request is for two features:

Add an optional hidden field to profiles. This would make it so that they do not show up under devspace list profiles. Currently, we use a leading underscore in the profile name to separate "public" from "private" profiles. Alternatively, do not list profiles with a leading underscore in the name. "hidden" profiles would still be usable as parent profiles, even across projects.
Add an optional description field to profiles. This could show up when you list profiles so that people have a better understanding on how to use the profile and what it is doing.

@JamesHutchisonCarta thanks for creating this issue! That makes a lot of sense, I agree that we should add this.

The Devspace project currently lacks enough contributors to adequately respond to all issues. After 90d of inactivity,  the issue is closed. You can re-open this issue if you still want help.


Add A4 page break indicator

@arsenikstiger I like this addition, but it would've been much better if you had created a PR just for this one change. Instead, you've added the changes from the other PR as well on this, so I can't merge it directly. Could you raise a PR that has only this change?

@AmruthPillai
I fixed that problem with #199


Cannot see the template button

Awesome repository! 👏
The README file suggests to use this repo as a template. I am not sure why and it may only be an issue on my side but I don't see the "Use this template" button. 🤔

@annefou somehow I hadn't actually turned it on! Made it into a template now :)
Am glad you found this useful!!!!


fixes difftest to use XOR instead of NOT

hi @joamatab, this PR fixes a pretty serious error in difftest... it was using a NOT operation when it should have been using XOR, so some geometrical differences were not being caught by the test
it's worth noting that the way the diff() function is structured, the test would still fail in either case, but the correct geometries would not be reported. that is, run NOT ref would be reported, but not ref NOT run

added tests... you will see that one fails in main but passes in this branch

Awesome, thank you Troy!


⚠ Bofrost.fr has degraded performance

In f593c1a, Bofrost.fr (https://www.bofrost.fr) experienced degraded performance:

HTTP code: 200
Response time: 1478 ms

Resolved: Bofrost.fr performance has improved in 2adb168.


⚠ Bofrost.be has degraded performance

In ad6c8f0, Bofrost.be (https://www.bofrost.be) experienced degraded performance:

HTTP code: 200
Response time: 1035 ms

Resolved: Bofrost.be performance has improved in 9b82652.


Change header arrangement

Context
The header arrangement on the live docs as they stand is a little confusing, and makes it look like all the docs are is a 'quick start guide' until further inspection
Changes proposed in this pull request
Changes to the index file in question
Guidance to review
Live docs: https://docs.registers.service.gov.uk/
Test docs where this change is pushed: https://registers-docs-testing-2.cloudapps.digital/#gov-uk-registers-documentation

This might need some input from @injms as it seems like it causes some problem for small screens:

I think we should find another way of solving this because having two headers of the same level next to each misrepresents the structure of the page. The markup implies there's a section there but there's nothing in it. This means we get an extra heading added to the sidebar navigation, and I'd expect it to also interfere with screenreaders and search engines indexing the site.


EmptyDatasetError when loading dataset downloaded with HuggingFace cli

Describe the bug
I am using a cluster that does not have access to the internet when given a job. I tried downloading the dataset using the huggingface-cli command and then loading it with load_dataset but I get an error:
raise EmptyDatasetError(f"The directory at {base_path} doesn't contain any data files") from None
The dataset I'm using is "lmsys/chatbot_arena_conversations". The folder structure is

README.md
data

train-00000-of-00001-cced8514c7ed782a.parquet

Steps to reproduce the bug

Download dataset using HuggingFace CLI: huggingface-cli download lmsys/chatbot_arena_conversations --local-dir ./lmsys/chatbot_arena_conversations
In Python

from datasets import load_dataset
load_dataset("lmsys/chatbot_arena_conversations")

Expected behavior
Should return a Dataset Dict in the form of
DatasetDict({
    train: Dataset({
        features: [...],
        num_rows: 33,000
    })
})

Environment info
Python 3.11.5
Datasets 2.18.0
Transformers 4.38.2
Pytorch 2.2.0
Pyarrow 15.0.1
Rocky Linux release 8.9 (Green Obsidian)

Hi! datasets is not compatible with huggingface_hub's cache structure, hence the error.
You can track https://github.com/huggingface/datasets/issues/5080 to get notified when this is implemented.


Basic svd to ioregs generator

Supports all the things I could find in LPC svd files. Reference file and output: https://gist.github.com/farcaller/a2fd554c00c102cf9142.
Please try running it over any svd of the platform you have knowledge of and do some verification.

ruby requiresments: nokogiri and erubis gems (available via gem install). Works with any rustc nightly :wink:

I can see that travis fails, same error I have been seeing last 3 days..
I'll look at this, good that it works with any rustc :+1:

@farcaller, I am looking at using this as part of my work to add support for the KLxx MCUs.  I started playing with it last night and it generally seems to work (with changes to support the portions of the SVD schema that freescale uses).
Where do you think it makes sense to maintain the SVD conversion stuff.  In Zinc itself (e.g. under support as in here)?  I think that could work as long as we document it and its use (probably include Gemfile as well).  Thoughts?

I think it fits fine under support/ so far, if ti grows too big we can always fork it off to a dedicated repo.
I'll look into the currently pending changes for svd I have in working tree and will get this PR up to date.

@farcaller, thanks, sounds good.  I base my changes off that and publish once its in a working state.

I have some motivation to refactor this quickly into python/lxml/jinja to make code more readable (my ruby code is really quite a mess) but I don't want to bother much really. Do you have any opinion on that, @posborne?

@farcaller, Python is fine by me (I have much more experience with it personally) but I don't see a really strong reason to migrate.  If we did migrate to Python as the scripting language of choice for Zinc stuff (all Linux/Mac people probably already  have it installed), I think it might make sense to think about avoiding non-stdlib dependencies.  This just makes it easier to run the scripts without having to worry about setting up a virtualenv, installing dependencies, etc.
For the SVD ioregs generator, this would mean using xml.etree and not using Jinja.

Well, I was thinking among the lines of packages that are available in ubuntu repo :smile: there's already 0.6% of such python in repo.
I guess let's leave it as is and rewrite it later if the code becomes really unmanageable.

As an FYI, here's the base code generated for the KL25Z.  Unfortunately, the SVD provides very nice descriptions but very bad names (e.g. 0/1) which results in somewhat less than ergonomic results.  I'm going to see if I can think of  something creative for generating names based on the description, but it might be something that requires a human's touch to get right (names are hard).
https://gist.github.com/posborne/2549a1a3c598b66b7ef2

Hmmm, many of the field enums also seem 100% incorrect as well: https://gist.github.com/posborne/2549a1a3c598b66b7ef2#file-kl25z_reg-rs-L4311.  I think I just need to change the code to interpret values like #11 as being binary (So, 0x03) and things should be closer.

As a second FYI here's yet another tool for this problem https://github.com/kblomqvist/yasha :D There's even an example in README how to use @posborne's SVD parser within the tool (yasha).


Must Have: FIGURE OUT WHAT TO DO ABOUT HELGE AND ADRIAN USERS LOGIN -- SEE DESCRIPTION

In session 08 we were given this requirement:
please make sure that two users, Helge and Adrian respectively can login to your Chirp! applications. They should be able to do so using their email addresses<EMAIL_ADDRESS>and<EMAIL_ADDRESS>respectively). Helge wants to login with the password LetM31n! and Adrian wants to login with the password M32Want_Access.
In our application a user logs in with a Username and not an E-mail. E-mail and Username are unique in our application. Currently there a Helge and a Adrian user in our application and they are created in our db initializer script, and they are created without a password.
Essentially we need to figure out if we want to store a Helge and Adrian user with the requirements above. We need to take into account that helge probably will try to login in through github, if a user in our db has the same Username and or Email as the one on his github, he will not be allowed access. Also how do we interpret the: 'they should be able to do so using their email addresses<EMAIL_ADDRESS>and<EMAIL_ADDRESS>respectively). '  - as we in our application has enforced login through Username and not E-mail.

We have decided as a group to not give the Helge & Adrian users passwords, as these would either have to be hard-coded in the DbInitializer script or manually added by us through the UI of the application. We felt both of these solutions were bad practice.


Should we offer a flag to select to do serving or eventing

I was giving a demo today, and I wanted to to setup an environment only fo serving, and use the smallest resources possible.
Something like
kn quickstart kind --serving
or
kn quickstart kind --eventing

Would we want those flags to be exclusive (i.e. maybe --serving-only or --eventing-only)? Or would we want to allow someone to do kn quickstart kind --serving --eventing (which would be redundant but still do a full install)?
I think I like the former a tiny bit better because it looks a little cleaner / more explicit about what it's doing, but I don't really feel strongly either way.

Need this feature heavily since I want to run Knative in GitHub Actions default runners, which only offer 2 cpu.
And the whole thing already take 1.98 cpu. So I want to only install one of serving or eventing to save some resources.
Namespace                   Name                                       CPU Requests  CPU Limits  Memory Requests  Memory Limits  Age
  ---------                   ----                                       ------------  ----------  ---------------  -------------  ---
  knative-eventing            eventing-controller-59475d565c-r8l5v       100m (5%)     0 (0%)      100Mi (1%)       0 (0%)         3m8s
  knative-eventing            eventing-webhook-74cbb75cb-2c2tx           100m (5%)     200m (10%)  50Mi (0%)        200Mi (2%)     3m8s
  knative-eventing            imc-controller-84c7f75c67-s4fl7            0 (0%)        0 (0%)      0 (0%)           0 (0%)         3m2s
  knative-eventing            imc-dispatcher-[778](https://github.com/jina-ai/hubble/runs/5802901077?check_suite_focus=true#step:12:778)6967556-l6s45            0 (0%)        0 (0%)      0 (0%)           0 (0%)         3m2s
  knative-eventing            mt-broker-controller-65bb965bf9-x5fct      100m (5%)     0 (0%)      100Mi (1%)       0 (0%)         2m55s
  knative-eventing            mt-broker-filter-8496c9765-x6kh2           100m (5%)     0 (0%)      100Mi (1%)       0 (0%)         2m55s
  knative-eventing            mt-broker-ingress-6[795](https://github.com/jina-ai/hubble/runs/5802901077?check_suite_focus=true#step:12:795)9dc68f-bjh7n         100m (5%)     0 (0%)      100Mi (1%)       0 (0%)         2m55s
  knative-serving             activator-855fbdfd77-bbclp                 300m (15%)    1 (50%)     60Mi (0%)        600Mi (8%)     3m46s
  knative-serving             autoscaler-85748d9cf4-bgqhs                100m (5%)     1 (50%)     100Mi (1%)       1000Mi (14%)   3m45s
  knative-serving             controller-798994c5bd-2kwr5                100m (5%)     1 (50%)     100Mi (1%)       1000Mi (14%)   3m45s
  knative-serving             domain-mapping-59fdc67c94-p5rrd            30m (1%)      300m (15%)  40Mi (0%)        400Mi (5%)     3m45s
  knative-serving             domainmapping-webhook-6df595d448-rkmt7     100m (5%)     500m (25%)  100Mi (1%)       500Mi (7%)     3m45s
  knative-serving             net-kourier-controller-74dc74[797](https://github.com/jina-ai/hubble/runs/5802901077?check_suite_focus=true#step:12:797)-cgzdp     0 (0%)        0 (0%)      0 (0%)           0 (0%)         3m34s
  knative-serving             webhook-69fdbbf67d-qmz5z                   100m (5%)     500m (25%)  100Mi (1%)       500Mi (7%)     3m45s
  kourier-system              3scale-kourier-gateway-75c75885fd-qs8kd    0 (0%)        0 (0%)      0 (0%)           0 (0%)         3m34s
  kube-system                 coredns-64897985d-nc87v                    100m (5%)     0 (0%)      70Mi (1%)        170Mi (2%)     3m55s
  kube-system                 etcd-knative                               100m (5%)     0 (0%)      100Mi (1%)       0 (0%)         4m6s
  kube-system                 kube-apiserver-knative                     250m (12%)    0 (0%)      0 (0%)           0 (0%)         4m6s
  kube-system                 kube-controller-manager-knative            200m (10%)    0 (0%)      0 (0%)           0 (0%)         4m6s
  kube-system                 kube-proxy-w7bdz                           0 (0%)        0 (0%)      0 (0%)           0 (0%)         3m55s
  kube-system                 kube-scheduler-knative                     100m (5%)     0 (0%)      0 (0%)           0 (0%)         4m6s
  kube-system                 storage-provisioner                        0 (0%)        0 (0%)      0 (0%)           0 (0%)         3m53s
Allocated resources:
  (Total limits may be over 100 percent, i.e., overcommitted.)
  Resource           Requests      Limits
  --------           --------      ------
  cpu                1980m (99%)   4500m (225%)
  memory             1120Mi (16%)  4370Mi (62%)
  ephemeral-storage  0 (0%)        0 (0%)
  hugepages-1Gi      0 (0%)        0 (0%)
  hugepages-2Mi      0 (0%)        0 (0%)

I'm happy to raise a PR if you want. I suppose it's easy.

Good point @psschwei I was thinking
kn quickstart <kind | minikube> (installs both, today's behavior)
kn quickstart --serving (serving only)
kn quickstart --eventing (eventing only)
kn quickstart --serving --eventing (both)

Can we have a new release which contains this feature?

1.5 is scheduled to be cut tomorrow


Installing Bicep in Windows Sandbox WM

I am trying to install Bicep in my Windows Sandbox VM. First I used winget install -e --id Microsoft.AzureCLI and then run az bicep install.

I get the following error and ensure what this means or how to resolve.

route to CXP team

@ugreg Apologies for the inconvenience! This is being tracked here. Closing this in favor of that.
Currently, the workaround is to either

Use Azure CLI 2.45.0
Run this command firstaz config set bicep.use_binary_from_path=false


[CXP-1005] POC limit number of changes per db per cycle

There are 3 modes of the max LSN lookup:

The limit is not set, so the last transaction LSN is returned.
The limit is set but there's no last processed LSN, the Nth transaction of all available is returned.
The limit is set and there is last processed LSN, the Nth transaction from last processed is returned.

TODO:

[ ] max.iteration.transactions = 1 won't work because of the combination of >= and TOP 1.
[ ] Double-check if there are any side effects on the existing logic.
[ ] See if it can be tested.

The test suite fails with the following errors:
Failures:
    SqlServerConnectorIT.restartInTheMiddleOfTx:1869
    SqlServerConnectorIT.restartInTheMiddleOfTxAfterCompletedTx:1863
    SqlServerConnectorIT.restartInTheMiddleOfTxAfterSnapshot:1857
    SqlServerConnectorIT.updatePrimaryKeyTwiceWithRestartInMiddleOfTx:656
    TransactionMetadataIT.restartInTheMiddleOfTx:341
    TransactionMetadataIT.restartInTheMiddleOfTxAfterCompletedTx:336
    TransactionMetadataIT.restartInTheMiddleOfTxAfterSnapshot:331
Errors:
    SqlServerConnectorIT.updatePrimaryKeyWithRestartInMiddle:539 » NullPointer


Debug running error while building  Android project.

The error message is as follows:
../pdfrx-0.2.1/lib/src/pdfium/pdfium_interop.dart:59:56: Error: listener expects a static function as parameter. dart:ffi only supports calling static Dart functions from native code. Closures and tear-offs are not supported because they can capture context.
    _nativeCallable = _NativeFileReadCallable.listener(readNative);
                                                       ^
Target kernel_snapshot failed: Exception

FAILURE: Build failed with an exception.

And a deprecated splash screen error while using Android Studio for a Flutter project. The error message is as follows:
A splash screen was provided to Flutter, but this is deprecated. See flutter.dev/go/android-splash-migration for migration steps.

I followed the provided link (flutter.dev/go/android-splash-migration) to review the migration steps, but I'm still unsure about how to resolve this issue.
Flutter version：3.13.9

Mmm, I'm not sure actually, but it seems NativeCallable.listener requires Flutter 3.16.0/Dart 3.2 (latest stable) combination.
Please update your Flutter version.

0.2.2 has a fix for the issue; it explicitly specify Flutter 3.16.0/Dart 3.2 on its pubspec.yaml now.

Oh, and for android-splash, it's not related to the plugin.

Oh, and for android-splash, it's not related to the plugin.

Update version 0.2.2, this problem no longer exists. Thank you so much.


feat: Allow the ability to drag-in new elements from the toolbar

Description
Allow users to drag-in a standard size 100px X 100px Div or Text box from the bottom toolbar.
What is the purpose of this pull request?
To enable users drag a standard box or text into the webview editor

[x] New feature
[ ] Documentation update
[ ] Bug fix
[ ] Refactor
[ ] Release
[ ] Other

Related issue: #566

@drfarrell @Kitenite
The draggable text and div box has been implemented and works in the app/src/routes/editor/Toolbar/index.tsx but needs some review & refactor.

Where to place the standard elements for better code structure
Also a review on the insertion process

    // Create and run insert action
        const insertAction: InsertElementAction = {
            type: 'insert-element',
            targets: [{
                webviewId: webview.id,
                selector: uuid,
                uuid
            }],
            element,
            location,
            editText: isTextElement
        };

        editorEngine.action.run(insertAction);

        setTimeout(async () => {
            // Force webview reload to get fresh state from code and editor
            webview.reload();

        }, 1500); // wait for code write to complete

This worked but without forcing the webview to reload after a few seconds delay after insertion, it seems to show 2 elements added to the editor and on the webview while the code is added once. If there's a better way I can update the PR to fix this.

@iNerdStack , if the element is inserted with the data-onlook-inserted attribute, it will be removed when the code updates. here's an example
https://github.com/ashutoshdas-dev/onlook/blob/c0f81f472514085f3bd5895e54fd5f6df2ba2598/app/electron/preload/webview/elements/dom/insert.ts#L81
Here's the process that removes it. It's essentially deduplicated based on a key that's injected into code
https://github.com/ashutoshdas-dev/onlook/blob/c0f81f472514085f3bd5895e54fd5f6df2ba2598/app/electron/preload/webview/elements/dom/insert.ts#L144
Does this help?

https://github.com/user-attachments/assets/bc29141b-9f0f-4ca8-8dc7-3502fa07d573
@Kitenite Oh it did, I just realized it might be a bug not related to the method or changes in this PR,
In the video, I drew a box, and after a few seconds, you see about two of them created instead of one but not the case in the code pushed to the dom, it has just one div added, refreshing the webview seems to fix this temporarily.
It's the same issue I mentioned earlier. This issue is from the insertion and I believe if it can be fixed then the issue I am facing with drag and drop duplicate items will be solved too and the feature can be reviewed and merged.
This issue is also present on the published application and tested it on Mac and Windows version.

Oh interesting. I could not reproduce the bug on my production instance (version 0.0.47) but I agree that the bug should be addressed.
I'm nervous about reloading the page as a solution because you can lose the state of the webpage. If the page has load animation for example or some kind of open state, you would lose it.
Do you have any suggestion for fixing this? Ideally, we would identify the elements coming in from code change and resolve it.

I also didn't like the idea of the webview reloading, i was hoping it would be a clue to how to solve the bug issue.
I will remove the webview reload method, that was just meant to temporarily fix the double-element issue.
On more context on how to replicate this bug.

Create a new project (possibly to test)
When all is done and loaded, ensure no layer is selected or select anywhere outside the webview canvas to ensure all selection made before is gone.
Select the Insert div toolbar item, then draw a box anywhere outside any content or div box already displayed in the webview, any empty space would do.
After about 2 seconds you should see 2 items created.

If you still cant replicate, pull my branch/code to your local also and try and to drag and drop a box into the webview to see the issue.
Also you can try and comment out this so the webview.reload() doesn't clear the issue.
     setTimeout(async () => {
            // Force webview reload to get fresh state from code and editor
            webview.reload();

        }, 1500); // wait for code write to complete

@Kitenite I have removed the webview reload logic and also fixed conflicts from new changes.
Please help test the implementation if you don't experience the double element issue, then its resolved

Okay, Let me work on that

https://github.com/user-attachments/assets/e7eb0584-a55e-4ebc-b0b7-4376d99ba2b7
Hello @Kitenite,
Some update.

editorEngine.insert.insertElement cannot be reused for our case unless refactored to allow specifying some extra properties in the createAction process and also createAction function allowing extra element properties object.

https://github.com/iNerdStack/onlook/blob/feat-draggable-toolbar/apps/studio/src/lib/editor/engine/insert/index.ts#L135
https://github.com/iNerdStack/onlook/blob/feat-draggable-toolbar/apps/studio/src/lib/editor/engine/insert/index.ts#L143
I created a new function called insertDroppedElement to handle insertion in our case also not to break existing insertElement function.
https://github.com/iNerdStack/onlook/blob/feat-draggable-toolbar/apps/studio/src/lib/editor/engine/insert/index.ts#L201

On hover highlight has been implemented and works with the gesturescreen mouseevents now.
I am still working on the stub element to show where the user would drop the element, stub already seems to be working when element is selected and moved but have not found that implementation, still looking into it.

I would appreciate a reference or idea of how the stub is already been used.

Gotcha, it would be out of scope for you to try to refactor the function. I appreciate you giving this some consideration.
Nice that works a lot better already
It would need to be somewhat custom to create a stub
This is where it's currently being created. This logic would be different ofc. The stub would take the dimensions of the element and the computed insert location. Then on drop, we'd remove it. It can be out of scope for this PR.

https://github.com/onlook-dev/onlook/blob/971d2de29612349aecfb6fcef06caff176c7ab43/apps/studio/electron/preload/webview/elements/move/drag.ts#L7


Sample query designDoc

I've successfully created .js based designDocs for superlogin but am having trouble using query indexes. Is this supported? For instance, how would we use a design doc for a simple index which Fauxton creates?
{
"_id": "_design/1",
"language": "query",
"views": {
"2": {
"map": {
"fields": {
"date": "asc"
}
},
"reduce": "_count",
"options": {
"def": {
"fields": [
"date"
]
}
}
}
}
}

I feel like the following question of mine asks the same question or maybe is related?
https://github.com/colinskow/superlogin/issues/116

Yes, I've looked over your question and that's definitely the main reason I can't just simply create an index when the user logs in using pouch therefore I assume we have to do this from a designDoc or add more lenient db security? The only problem is I can't find a good example of a design doc where superlogin accepts query as the language. If we can do the same thing in js I'd gladly go that route. The only example I see is the user-design.js doc.

Superlogin uses pouch-seed-design. I don't see any mention of support for the query language. I think we might need to start an issue and/or pull request there.
For examples of design docs I would check the CouchDB documentation:
http://docs.couchdb.org/en/2.0.0/intro/tour.html?highlight=design doc#running-a-query-using-mapreduce
http://docs.couchdb.org/en/2.0.0/couchapp/views/intro.html?highlight=design docs
If I understand it correctly the new query language only makes it easier, it doesn't add functionality?


⚠ GitLab Server has degraded performance

In 53f7cbc, GitLab Server (https://gitlab01.its-telekom.eu) experienced degraded performance:

HTTP code: 200
Response time: 2642 ms

Resolved: GitLab Server performance has improved in 470e358.


stop inserting envelope hash for intoto:0.0.2 types into index (#1171)

Cherry-pick of #1171 into 1.x release branch
Signed-off-by: Bob Callaway<EMAIL_ADDRESS>

Codecov Report

Merging #1172 (0dff026) into release-1.0 (ee4a959) will increase coverage by 0.01%.
The diff coverage is 100.00%.

@@               Coverage Diff               @@
##           release-1.0    #1172      +/-   ##
===============================================
+ Coverage        48.62%   48.63%   +0.01%
===============================================
  Files               82       82
  Lines             7593     7595       +2
===============================================
+ Hits              3692     3694       +2
  Misses            3200     3200
  Partials           701      701

Flag
Coverage Δ

e2etests
48.63% <100.00%> (+0.01%)
:arrow_up:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

pkg/types/intoto/v0.0.2/entry.go
58.94% <100.00%> (+0.29%)
:arrow_up:

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.


addcomponentAsRefTo() error on Android.

I met this problem when use the example code.. don't know why.. help!!!TOT I also use debug to see it but no idea. Thank you so much!

the same, did you solve the issue ?


Mac OS System.TypeInitializationException

I build RoslynPad on Mac OS (thanks for the instructions). Build runs through smoothly but everytime when I try to run RoslynPad.NetCore I got this error right on startup:
I used mono 5.4.1 and .netcore 2.0 - result is the same
Unhandled Exception: System.TypeInitializationException: The type initializer for 'Avalonia.Threading.AvaloniaScheduler' threw an exception. ---> System.TypeInitializationException: The type initializer for 'System.Reactive.Concurrency.ConcurrencyAbstractionLayer' threw an exception. ---> System.TypeInitializationException: The type initializer for 'System.Reactive.PlatformServices.PlatformEnlightenmentProvider' threw an exception. ---> System.IO.FileLoadException: Could not load file or assembly 'System.Reactive.PlatformServices, Version=3.0.6000.0, Culture=neutral, PublicKeyToken=94bc3704cddfc263'. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)
   at System.RuntimeTypeHandle.GetTypeByName(String name, Boolean throwOnError, Boolean ignoreCase, Boolean reflectionOnly, StackCrawlMarkHandle stackMark, IntPtr pPrivHostBinder, Boolean loadTypeFromPartialName, ObjectHandleOnStack type, ObjectHandleOnStack keepalive)
   at System.RuntimeTypeHandle.GetTypeByName(String name, Boolean throwOnError, Boolean ignoreCase, Boolean reflectionOnly, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean loadTypeFromPartialName)
   at System.RuntimeType.GetType(String typeName, Boolean throwOnError, Boolean ignoreCase, Boolean reflectionOnly, StackCrawlMark& stackMark)
   at System.Type.GetType(String typeName, Boolean throwOnError)
   at System.Reactive.PlatformServices.PlatformEnlightenmentProvider.CreatePlatformProvider()
   at System.Reactive.PlatformServices.PlatformEnlightenmentProvider..cctor()
   --- End of inner exception stack trace ---
   at System.Reactive.Concurrency.ConcurrencyAbstractionLayer.Initialize()
   at System.Reactive.Concurrency.ConcurrencyAbstractionLayer..cctor()
   --- End of inner exception stack trace ---
   at System.Reactive.PlatformServices.SystemClock.Register(LocalScheduler scheduler)
   at Avalonia.Threading.AvaloniaScheduler..cctor()
   --- End of inner exception stack trace ---
   at Avalonia.Application.RegisterServices()
   at Avalonia.Controls.AppBuilderBase`1.Setup()
   at Avalonia.Controls.AppBuilderBase`1.Start[TMainWindow](Func`1 dataContextProvider)
   at RoslynPad.Program.Main(String[] args) in /Users/skandy/workspace/tmp/roslynpad/roslynpad/src/RoslynPad.NetCore/Program.cs:line 10
Abort trap: 6

I Get the same on .NET core 1.1.2 after following the Readme (brew, clone, restore run).
Unhandled Exception: System.TypeInitializationException: The type initializer for 'Avalonia.Threading.AvaloniaScheduler' threw an exception. ---> System.TypeInitializationException: The type initializer for 'System.Reactive.Concurrency.ConcurrencyAbstractionLayer' threw an exception. ---> System.TypeInitializationException: The type initializer for 'System.Reactive.PlatformServices.PlatformEnlightenmentProvider' threw an exception. ---> System.IO.FileLoadException: Could not load file or assembly 'System.Reactive.PlatformServices, Version=3.0.6000.0, Culture=neutral, PublicKeyToken=94bc3704cddfc263'. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)
   at System.RuntimeTypeHandle.GetTypeByName(String name, Boolean throwOnError, Boolean ignoreCase, Boolean reflectionOnly, StackCrawlMarkHandle stackMark, IntPtr pPrivHostBinder, Boolean loadTypeFromPartialName, ObjectHandleOnStack type, ObjectHandleOnStack keepalive)
   at System.RuntimeTypeHandle.GetTypeByName(String name, Boolean throwOnError, Boolean ignoreCase, Boolean reflectionOnly, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean loadTypeFromPartialName)
   at System.RuntimeType.GetType(String typeName, Boolean throwOnError, Boolean ignoreCase, Boolean reflectionOnly, StackCrawlMark& stackMark)
   at System.Type.GetType(String typeName, Boolean throwOnError)
   at System.Reactive.PlatformServices.PlatformEnlightenmentProvider.CreatePlatformProvider()
   at System.Reactive.PlatformServices.PlatformEnlightenmentProvider..cctor()
   --- End of inner exception stack trace ---
   at System.Reactive.Concurrency.ConcurrencyAbstractionLayer.Initialize()
   at System.Reactive.Concurrency.ConcurrencyAbstractionLayer..cctor()
   --- End of inner exception stack trace ---
   at System.Reactive.PlatformServices.SystemClock.Register(LocalScheduler scheduler)
   at Avalonia.Threading.AvaloniaScheduler..cctor()
   --- End of inner exception stack trace ---
   at Avalonia.Application.RegisterServices()
   at Avalonia.Controls.AppBuilderBase`1.Setup()
   at Avalonia.Controls.AppBuilderBase`1.Start[TMainWindow](Func`1 dataContextProvider)
   at RoslynPad.Program.Main(String[] args) in /Users/grop/dev/RoslynPad/roslynpad/src/RoslynPad.NetCore/Program.cs:line 10

I get the same thing on Ubuntu
Unhandled Exception: System.TypeInitializationException: The type initializer for 'Avalonia.Threading.AvaloniaScheduler' threw an exception. ---> System.TypeInitializationException: The type initializer for 'System.Reactive.Concurrency.ConcurrencyAbstractionLayer' threw an exception. ---> System.TypeInitializationException: The type initializer for 'System.Reactive.PlatformServices.PlatformEnlightenmentProvider' threw an exception. ---> System.IO.FileLoadException: Could not load file or assembly 'System.Reactive.PlatformServices, Version=3.0.6000.0, Culture=neutral, PublicKeyToken=94bc3704cddfc263'. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)
   at System.RuntimeTypeHandle.GetTypeByName(String name, Boolean throwOnError, Boolean ignoreCase, Boolean reflectionOnly, StackCrawlMarkHandle stackMark, IntPtr pPrivHostBinder, Boolean loadTypeFromPartialName, ObjectHandleOnStack type, ObjectHandleOnStack keepalive)
   at System.RuntimeTypeHandle.GetTypeByName(String name, Boolean throwOnError, Boolean ignoreCase, Boolean reflectionOnly, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean loadTypeFromPartialName)
   at System.RuntimeType.GetType(String typeName, Boolean throwOnError, Boolean ignoreCase, Boolean reflectionOnly, StackCrawlMark& stackMark)
   at System.Type.GetType(String typeName, Boolean throwOnError)
   at System.Reactive.PlatformServices.PlatformEnlightenmentProvider.CreatePlatformProvider()
   at System.Reactive.PlatformServices.PlatformEnlightenmentProvider..cctor()
   --- End of inner exception stack trace ---
   at System.Reactive.Concurrency.ConcurrencyAbstractionLayer.Initialize()
   at System.Reactive.Concurrency.ConcurrencyAbstractionLayer..cctor()
   --- End of inner exception stack trace ---
   at System.Reactive.PlatformServices.SystemClock.Register(LocalScheduler scheduler)
   at Avalonia.Threading.AvaloniaScheduler..cctor()
   --- End of inner exception stack trace ---
   at Avalonia.Application.RegisterServices()
   at Avalonia.Controls.AppBuilderBase`1.Setup()
   at Avalonia.Controls.AppBuilderBase`1.Start[TMainWindow](Func`1 dataContextProvider)
   at RoslynPad.Program.Main(String[] args) in /home/pavel/w/roslynpad/RoslynPad/src/RoslynPad.NetCore/Program.cs:line 10

Thanks to everyone who are trying out RoslynPad on Mac/Linux!
I've just pushed a few commits which should allow you to run RP using .NET Core 2.0 (only). Note this is still very much an alpha version with lots of missing functionality. The next release (v14) will feature a beta cross-platform version. Stay tuned!

I tried the version from commit 67e34dd71008d54d60431144506160b334ac1147 which seems to be the one you're talking about aelij, but it still gives the same message.
$ dotnet run
NSEVENT
NSEVENT
NSEVENT
NSEVENT
NSEVENT
NSEVENT
NSEVENT
NSEVENT
NSEVENT
NSEVENT
NSEVENT
NSEVENT
NSEVENT
NSEVENT
NSEVENT
NSEVENT
NSEVENT
NSEVENT
NSEVENT
NSEVENT
NSEVENT
NSEVENT
NSEVENT
NSEVENT
It was not possible to find any compatible framework version
The specified framework 'Microsoft.NETCore.App', version '1.1.2' was not found.
  - Check application dependencies and target a framework version installed at:
      /usr/local/share/dotnet/
  - Installing .NET Core prerequisites might help resolve this problem:
      http://go.microsoft.com/fwlink/?LinkID=798306&clcid=0x409
  - The .NET Core framework and SDK can be installed from:
      https://aka.ms/dotnet-download
  - The following versions are installed:
      2.0.5 at [/usr/local/share/dotnet/shared/Microsoft.NETCore.App]
      2.0.6 at [/usr/local/share/dotnet/shared/Microsoft.NETCore.App]
      2.1.2 at [/usr/local/share/dotnet/shared/Microsoft.NETCore.App]
It was not possible to find any compatible framework version
The specified framework 'Microsoft.NETCore.App', version '1.1.2' was not found.
  - Check application dependencies and target a framework version installed at:
      /usr/local/share/dotnet/
  - Installing .NET Core prerequisites might help resolve this problem:
      http://go.microsoft.com/fwlink/?LinkID=798306&clcid=0x409
  - The .NET Core framework and SDK can be installed from:
      https://aka.ms/dotnet-download
  - The following versions are installed:
      2.0.5 at [/usr/local/share/dotnet/shared/Microsoft.NETCore.App]
      2.0.6 at [/usr/local/share/dotnet/shared/Microsoft.NETCore.App]
      2.1.2 at [/usr/local/share/dotnet/shared/Microsoft.NETCore.App]

The README needs to be updated - you need .NET Core 2.x


RFC: easy_skidl - parsing component descriptions

I made a component description parser called Electro Grammar that currently works on SMD resistor, capacitors and LEDs (planning to expand this to other types of components as well).
I have been porting it to Python (still very much work-in-progress) and thought I would try and use it to make SKiDL a bit easier. Here is an example of what I have been playing around with today:
import skidl
from easy_skidl import *

r1 = resistor('1k 0603')
r2 = r1.copy()

c1 = capacitor('0.1uF 0805')

led1 = led('0805 red')

vin = skidl.Net('VIN')
gnd = skidl.Net('GND')

vin     += r1[1], r2[1]
r2[2]   += c1[1]
c1[2]   += gnd
led1[1] += r1[2]
led1[2] += gnd

more details in a notebook
Some things to note:

~those easy_skidl functions currently break the * comprehensions i.e. r1, r2 = resistor('1k') * 2 won't work, do you see a good way around that?~
Nevermind, I was confused about the TEMPLATE thing.
I am planning to license Electro Grammar as AGPLv3 (is this an issue?)

Any comments on this at all are very much appreciated.

This looks good to me. What are the implications of using nearly.js? Does this drag in some Javascript dependencies.
I noticed you're using quantiphy. How does this compare to using Pint? (At least on Github, Pint has much more favoriting/forking.)
I don't concern myself too much with licensing, as long as people are free to use stuff and maintain as much control as possible over what they create. Keeping easy_skidl and Electro Grammar as separate entities allows people to choose whether to use them or not.

This looks good to me. What are the implications of using nearly.js? Does this drag in some Javascript dependencies.

No, the python version of Electro Grammar is transformed using Lark and does not have any JS dependencies after transformation.

I noticed you're using quantiphy. How does this compare to using Pint? (At least on Github, Pint has much more favoriting/forking.)

No idea, It was just the first thing I found when I realised that my values where in floating point and that SKiDL expects strings.
Re: licensing, sounds sensible.
One thing I had been thinking of is allowing Part to be instantiated with a description instead of using a separate function. So being able to do:
from skidl import Part
c1 = Part('1uF 0603')

What do you think?