Hirerarchical multi-root layout

Currently, the 'folders' field of a .code-workspace configuration file is an array of items, each of them defining a folder. Then, all of these are shown as level-1 items in the default File Explorer. I suggest to support nesting 'folder' items with arrays, which will be layout as level-1, level-2, level-3, etc. For example:
{
  "folders": [
    {
      "name": "Project A",
      "folders": [
        {
          "path": "prjA/dirA",
          "name": "Dir A"
        },
        {
          "path": "prjA/dirB",
          "name": "Dir B"
        }
      ]
    },
    {
      "name": "Project B",
      "folders": [
        {
          "path": "prjB/frontend/src",
          "name": "Frontend"
        }
        {
          "name": "Backend",
          "folders": [
            {
              "path": "prjB/api",
              "name": "API"
            },
            {
              "path": "prjB/lib/src",
              "name": "Library"
            }
          ]
        }
      ]
    },
    {
      "path": "common",
      "name": "Common"
    }
  ]
}

which would translate to the following File Explorer structure:
- Project A
  - Dir A (prjA/dirA)
  - Dir B (prjA/dirB)
- Project B
  - Frontend (prjB/frontend/src)
  - Backend
    - API (prjB/api)
    - Library (prjB/lib/src)
- Common (common)

Related to #74229, I believe that the most straighforward integration with this feature would be an option in the settings to display each level-1 item in a separate File Explorer View.
Alternatively, a group field can be added to each item defined in the multi-root configuration file (be it a folder or an array). All the items with the same group identifier belong to a separate TreeView.
Ref #76902.

Related to #76399, the group concept above would translate to an Editor Group. Hence, the shown tabs in a given Editor Group will depend on the 'location' ('group') of the currently active document.

Ref #31308.
Ref #43188.
Ref #73312.
Ref #76891.

can you also please read this feature request: https://github.com/microsoft/vscode/issues/95182 and upvote ?

Would love this feature. As an example, I have a workspace with workspacefolders for 30 repos that interact (microservices perhaps). I often need to search among them all or something else, but I don't often work in each workspacefolder. There are a few that I focus on. Unfortunately, 30 workspacefolders becomes cumbersome so I'd like to organize the workspacefolders in a hierarchy. That hierarchy may not even be related to any directory or repo structure. I could put some of the workspacefolders under a folder called 'common', others under 'rare', and others under 'shared-libraries'. Then I can focus on a few workspacefolders but quickly find more infrequently used ones as needed.

Would love this feature. As an example, I have a workspace with workspacefolders for 30 repos that interact (microservices perhaps). I often need to search among them all or something else, but I don't often work in each workspacefolder. There are a few that I focus on. Unfortunately, 30 workspacefolders becomes cumbersome so I'd like to organize the workspacefolders in a hierarchy. That hierarchy may not even be related to any directory or repo structure. I could put some of the workspacefolders under a folder called 'common', others under 'rare', and others under 'shared-libraries'. Then I can focus on a few workspacefolders but quickly find more infrequently used ones as needed.

I would love this, cuz i use a backend and a frontend directory, both with multiple repos and is common to be working on 2 or 3 at the same time, so would be pretty handy to keep it organized.

I would love this, especially because I am working on a monorepo with 200 packages and since they are not grouped it is not so easy to work with.

+1

+1

+1

Grouping folder is a good feature

+1

+1 for this grouping feature


Update README.md

Fix markdown.

I signed it!

@r0zar what's the purpose of this change?

To fix a broken image link in the docs.
On Sun, Oct 22, 2017 at 11:47 AM, Elad Bezalel<EMAIL_ADDRESS>wrote:

@r0zar https://github.com/r0zar what's the purpose of this change?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/angular/material-start/pull/182#issuecomment-338491542,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AEcJch6TeG_n1gjDc9KznUId5av-YGuPks5su3GXgaJpZM4P5fGZ
.

I can see totally fine.. can you attach a screenshot?

Check the angular:es6-tutorial branch. It's the branch people are linked to from the popular https://material.angularjs.org/latest/getting-started docs for ES6.

That particular image link is broken on a few of the steps of the tutorial, but the initial page after being linked from the official docs is probably most important.

Thanks Elad!

@r0zar thank you :)


Fix tests for Actions AllowList

Earlier today we got a pull request to automerge dependabot PRs: https://github.com/github/docs/pull/177 (Thanks @tjenkinson ✨ )
This PR introduced a new Actions workflow that uses a GitHub Action tjenkinson/gh-action-auto-merge-dependency-updates that we are not already using in the codebase. I recently added an automated test to catch these scenarios, but my test didn't catch this new Action.
This PR updates the logic in that test to make sure that:

every used Action is allowed
every allowed Action is used

cc @github/docs-engineering

Aha I just noticed the same thing https://github.com/github/docs/pull/186 🤦
will close mine

Those failing tests are expected!
https://github.com/github/docs/pull/180/checks?check_run_id=1222424377#step:9:47
I will commit a fix to update the allow list soon.
cc @rachmari


Fix extra - when setting title for homepage

This was solved differently in https://github.com/gwtproject/gwt-site-webapp/pull/13 , addressing @jnehlmeier 's comment about the overview page. If
[GWT] Project
and
[GWT] Overview
are acceptable as the respective titles of the two pages, this PR can be closed.


Changing the color palette of sing in and sign up

Is there an existing issue for this?

[X] I have searched the existing issues

Feature Description
I think the color of the sign in and sign up page should match the navbar which makes it more appealing
Use Case
It would be more attractive if we do this as everything is in blue
Benefits
No response
Add ScreenShots

Priority
High
Record

[X] I have read the Contributing Guidelines
[X] I'm a GSSOC'24 contributor
[X] I have starred the repository

I can make something like this . I make sure the colors match with the original ones

I can make something like this . I make sure the colors match with the original ones

ok, just make sure that the colors match with the overall website


Create UI to run benchmarks with user selected options

It will be great has "Run All Tests" in selection list

And I guess 120 iterations as default is too much. Probably 30 will be better?

I chose 120 based on the Jetstream 2 benchmark (https://browserbench.org/JetStream/in-depth.html). For example, like in the images below, stuff like garbage collection happens periodically (the possible reason for the spikes in js). So 120 was the recommended number to see how the function behaves over multiple iterations. But I also know 120 is quite a lot given each test takes a while, so I don't mind if we change it either!
Also, thanks for the interest in this project!!

I see

Already addressed by #6


Integration Testing (Container Duo)

Closing because @itamargiv and I have decided to go with the SQLite approach.
Reasoning here:
Alright, here are my 2 cents on the integration tests issue:

I think for convenience and ease of use in local development, we should go with SQLite variation at first. This will also make on PR check a cinch, since we don't need to mess around with extra containers. Also, this should cover 95% of the cases.
For the extra 5% (god I hate numbers that are pulled out of nowhere) and our own sense of security, I think we can set up an extra CI Job to run only on GH where we use the miraculous GH secrets to spin up a version of the container that is already included with sail, without the need to define an extra one for testing. If we want this to be reproducible locally, we can add instructions on how to spin up an additional maria db instance for testing using docker (or even create our own command for it, and for running the second variation of the integration tests)


Change how the OOD evaluation frame is processed for STARK verification

Currently in Winterfell, the trace OOD (Out-of-Domain) evaluation frame is composed of $2$ rows, representing the current and next rows,
$$
[T_0(z),\cdots, T_N(z)]
$$
and
$$
[T_0(gz),\cdots, T_N(gz)]
$$
where $z$ is the OOD element, $g$ is the trace domain generator and $N:= 72 + 9 - 1$ is the total number of trace columns minus 1.
The way they are currently being read is done row-wise meaning that $[T_0(z),\cdots, T_N(z)]$ is read first and then $[T_0(gz),\cdots, T_N(gz)]$ is read next. This means that when we read the OOD frame from the advice provider into memory, it will be laid out in a way that is difficult to work with as we would like to have, at each memory location, the word $[T_i(z)_0, T_i(z)_1, T_i(gz)_0, T_i(gz)_1]$ available where $T_i(z) = (T_i(z)_0, T_i(z)_1)$ and $T_i(gz) = (T_i(gz)_0, T_i(gz)_1)$ when working over a quadratic extension field.
A proposal to fix this is to change the way the Winterfell Prover sends the OOD frame to the Verifier to be
$$
[T_0(z), T_0(gz),\cdots, T_N(z), T_N(gz)]
$$
In other words, the OOD frame will be laid out in memory, word by word, as:
[[ T_0(z)_0, T_0(z)_1, T_0(gz)_0, T_0(gz)_1 ], \cdots [ T_{71}(z)_0, T_{71}(z)_1, T_{71}(gz)_0, T_{71}(gz)_1 ],

[ T_{72 + 0}(z)_0, T_{72 + 0}(z)_1, T_{72 + 0}(gz)_0, T_{72 + 0}(gz)_1 ], \cdots [ T_{72+8}(z)_0, T_{72+8}(z)_1, T_{72+8}(gz)_0, T_{72+8}(gz)_1 ]]

This will also mean that instead of reseeding the random coin twice as we currently do, we will have to reseed only once.

This has now being implemented in Winterfell


Add an example rule checking an embedded JSON

The newly added rule fetches a ConfigMap and checks a field in the embedded json.
Note: I was not able to figure out how to check if a value is missing in a list, so I did a workaround.
The rule also contains some other expressions to play with.

Hold on a bit on this one, I'll add a YAML parser as well.


set up arduino-CI for the library

Please read - https://github.com/Arduino-CI/arduino_ci/blob/master/REFERENCE.md

[x] add .github\workflows\arduino_test_runner.yml
[x] add .arduino-ci.yml
[x] add test\unit_test_01.cpp_placeholder
[x] rename above file to .cpp when there is a fix for https://github.com/Arduino-CI/arduino_ci/issues/251

content .arduino-ci.yml
compile:
  # Choosing to run compilation tests on 2 different Arduino platforms
  platforms:
    - uno
    - leonardo
    - due
    - zero
  # Declaring Dependent Arduino Libraries (to be installed via the Arduino Library Manager)
  libraries:
    - "OneWire"

unittest:
  # These dependent libraries will be installed
  libraries:
    - "OneWire"
    # fix the #include "util/crc16" problem here?

content arduino_test_runner.yml
---
name: Arduino CI

on: [push, pull_request]

jobs:
  arduino_ci:
    runs-on: ubuntu-latest

    steps:
      - uses: actions/checkout@v2
      - uses: Arduino-CI/action@master
          #<EMAIL_ADDRESS>
Example content unit_test_01.cpp see - https://github.com/RobTillaart/DS18B20_RT/blob/master/test/unit_test_001.cpp_avr_specific

This one is solved as the PR for the build is merged.


In-App push notifications not working on large screens

I found an issue with In-App push notifications:
On devices that have large screens (more than 720 px) in-app pushes do not work. I checked in code and you try to download image with @4x suffix, which is not available on the server. The FileNotFound exception is called and push is ignored. We pull'ed the codes and we are working on a fix (try to download 4x if exists, if not try to download 2x, if not try to download the original image). We will send a patch if we have one.
Looking forward for comments from you.
Michal Wlodarczyk

Thanks for this report. I was looking through our access logs the other day
(for an unrelated issue) and I noticed some @4x requests. I didn't realize
the Android lib was the guilty party! @joeatwork should be able to provide
you with more details.
On Mon, Mar 16, 2015 at 1:47 AM, Michał Włodarczyk<EMAIL_ADDRESS>
wrote:

I found an issue with In-App push notifications:
On devices that have large screens (more than 720 px) in-app pushes do not
work. I checked in code and you try to download image with @4x
https://github.com/4x suffix, which is not available on the server. The
FileNotFound exception is called and push is ignored. We pull'ed the codes
and we are working on a fix (try to download 4x if exists, if not try to
download 2x, if not try to download the original image). We will send a
patch if we have one.
Looking forward for comments from you.
Michal Wlodarczyk
—
Reply to this email directly or view it on GitHub
https://github.com/mixpanel/mixpanel-android/issues/184.

I did some fixes in code to make in app pushes work correctly. As I said before: I try to download @4x image, if it fails I try @2x image. Are you able to review this code and add new 4.5.3 release? We are working with MixPanel and are not able to release new version of our app without this fix. It would be easier for us to put it here instead of supporting our own branch.

The pull request is here: https://github.com/mixpanel/mixpanel-android/pull/186

Thanks so much for the report, AND for the fix! I've merged your changes in #186 into our release candidate branch, and it'll be in the next release of the library.
Thanks again!

#186 has been merged in.


Fix typos

Hey,
This tiny PR will fix :

1 typo in ELF_Structures.h
1 typo in README.txt

Best! :robot:

Thanks, just need a CLA to cover these PRs.

Confirmed CLA

CCB 2020-04-29 : APPROVED


Some improvements to ICM support.

6Dof mode no longer tries to save compass bias.
Improve motion loop, by now only set most recent data.

Time to rebase #134 ...


Calculate trail fields from path data

We can improve accuracy by calculating fields such as distance and elevation from the GPS path.

[x] Add paths to each trail
[ ] Calculate distance from path, calculate time from distance
[ ] Add elevation data to each trail
[ ] Calculate elevation gain and max elevation from path

Looks like step 1 was already complete

Used https://www.plotaroute.com/routeplanner to get routes with elevation in GPX format and https://mapbox.github.io/togeojson/ to convert them to GeoJSON without removing the elevation.


HV-1637 Fix variable name in @DecimalMax error message for German and Dutch

https://hibernate.atlassian.net/browse/HV-1637

In https://beanvalidation.org/2.0/spec/#validationapi-message-defaultmessageinterpolation-expressionlanguage :

If an exception occurs during message interpolation, e.g. due to invalid expressions or references to an unknown property, the message expression stays unchanged.

But in any case, it's working as expected: the exception is logged at the WARN level and is not thrown. The message is indeed returned un-interpolated.

Ah, ok. All cool then, wasn't quite clear from the OP whether the exception
would actually be raised or not. Thanks for checking!


[7.x] Add ArrayAccess support for Http client get requests

Fixes https://github.com/laravel/framework/issues/32398 with tests.
Basically allows you to do access query params which means you can also do $request['foo'] === 'bar' assertions on get requests.

@dmason30 probably best to explain why this is needed, not just link to an issue.

@driesvints Thanks done as requested.


lexer: treat dot differently in different context

What problem does this PR solve?
close https://github.com/pingcap/parser/issues/1114
related tidb issues:
https://github.com/pingcap/tidb/issues/3963
https://github.com/pingcap/tidb/issues/21677
What is changed and how it works?
dot after the identifier is token '.'
start with dot should be numbers
Check List
Tests

Unit test

Since pingcap/tidb#21677 is related, could you also add unit tests for select t.1e from test.t;?

updated  PTAL

/merge


Linker failed while linking myLib.so.

I've recently updated my AS into a new version and I believe the gradle build was updated as well. Since then, I cannot build my project anymore. I'm not very skilled with Gradle so I have hard time solving my problem.
This is my error log:
Error:Execution failed for task ':app:myLibArm64-v8aDebugSharedLibrary'.
A build operation failed.
Linker failed while linking myLib.so.
See the complete log at: file:///mypath/app/build/tmp/myLibArm64-v8aDebugSharedLibrary/output.txt

I think that gradle cannot build the .so files again and if this is the case, how can I rebuild the library?
Also here is my gradle code:
model {
    android {
        compileSdkVersion = 23
        buildToolsVersion = "23.0.3"

        defaultConfig.with {
            applicationId "my.app"
            minSdkVersion.apiLevel = 16
            targetSdkVersion.apiLevel = 23
            versionCode 1
            versionName "1.0"
            vectorDrawables.useSupportLibrary = true
        }

        ndk {
            moduleName = "MyApp"
            cppFlags.add("-I${file(getOpenCVDir())}/sdk/native/jni/include".toString())
            cppFlags.add("-frtti")
            cppFlags.add("-fexceptions")
            cppFlags.add("-std=c++11")
            ldLibs.addAll(["log", "opencv_java3"])
            stl = "gnustl_static"
        }

        abis {
            create("arm64-v8a") {
                ldFlags.add("-L${file(getOpenCVDir())}/sdk/native/libs/arm64-v8a".toString())
            }
            create("armeabi") {
                ldFlags.add("-L${file(getOpenCVDir())}/sdk/native/libs/armeabi".toString())
            }
            create("armeabi-v7a") {
                ldFlags.add("-L${file(getOpenCVDir())}/sdk/native/libs/armeabi-v7a".toString())
            }
            create("mips") {
                ldFlags.add("-L${file(getOpenCVDir())}/sdk/native/libs/mips".toString())
            }
            create("mips64") {
                ldFlags.add("-L${file(getOpenCVDir())}/sdk/native/libs/mips64".toString())
            }
            create("x86") {
                ldFlags.add("-L${file(getOpenCVDir())}/sdk/native/libs/x86".toString())
            }
            create("x86_64") {
                ldFlags.add("-L${file(getOpenCVDir())}/sdk/native/libs/x86_64".toString())
            }
        }
    }
}

Any help to point me in the right direction is helpful.
I've tried setting
sourceSets.main {     jniLibs.srcDir 'src/main/jni' // <-- Here is my .so file! }
but with no success.

could you find anything from your file:
file:///mypath/app/build/tmp/myLibArm64-v8aDebugSharedLibrary/output.txt ?
by default, the sourceSets is in your set place, not a problem rom there.
If you have source on the github or somewhere, may you point it out here?  will try to give it a shot.

The output.txt file says that it cannot find opencv_java3 lib
/Users/davidbreskvar/Documents/android-ndk-r12b/toolchains/aarch64-linux-android-4.9/prebuilt/darwin-x86_64/bin/../lib/gcc/aarch64-linux-android/4.9.x/../../../../aarch64-linux-android/bin/ld: cannot find -lopencv_java3 collect2: error: ld returned 1 exit status
I don't have the source on github, so I can't point it out, but I tried it on my college's computer and it works fine with the same version of Android Studio and gradle wrapper.
I've also tried moving the ndk block and abis block into the defaultConfig, where it builds the app, but it does not build the cpp lib files I want to use in my app.
I was also thinking about migrating to the stable version of gradle (right now, I'm on experimental 0.8.3 but the 0.7 worked so far) and I don't know how exactly I should write the ABIs for openCV/abis.

is opencv_java3  lib in directory -L${getOpenCVDir())}/sdk/native/libs/mips?
"but I tried it on my college's computer and it works fine with the same version of Android Studio and gradle wrapper." do you mean your same source code works on another computer? if that is case, then clean-up project ( manually ) and give it a try.

Yes, the libopencv_java3.so is in every folder.
Sorry but what do you mean manually clean the project? How can I do that?

Ok, here is what I tried today:

completely uninstalling and reinstalling Android Studio
./gradlew clean and Build -> Clean Project

Clean project goes through but rebuild fails with said error.
Gradle clean failed with following error:
FAILURE: Build failed with an exception.

Where:
Build file '/Users/davidbreskvar/Documents/AndroidProjects/VA-Android/app/build.gradle' line: 1

What went wrong:
A problem occurred evaluating project ':app'.

java.lang.UnsupportedClassVersionError: com/android/build/gradle/model/AppComponentModelPlugin : Unsupported major.minor version 52.0

Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

BUILD FAILED
Still no success. Is there any other way of cleaning the project?

this error:
java.lang.UnsupportedClassVersionError: com/android/build/gradle/model/AppComponentModelPlugin : Unsupported major.minor version 52.0
is about the java version. java8 is needed for new android studio. could you check if your friend's machine by default using java8 and you are using java 7 by default?

by manual, means to "rm -fr build, app/build" so nothing left-over.

@ggfan first, I just want to thank you for your help so far :)
I checked my jdk version and it's checked out to be 8 or higher, since I have use recommended box checked and if I try to use jdk 1.7, it's says I should choose higher version. This error is only shown, if I do ./gradlew clean and in the end, it says Unsupported major.minor version 52.0
I also tried the rm -fr build, app/build command in Android Studio terminal but nothing major happens.  Because it only goes from calling this command to new line within seconds.
I don't know what else I could do and I know you can't do much without being able to reproduce the project, so let me know, if you got any more ideas. Thanks again!

ok, I will try to poke it a little more: it sounds like simple issue -- it could not find your lib and your lib is there: I would try a simple thing if I could:
*) just build one arch ( say armeabi-v7a)
*) hardcode the path to the lib for opencv_java3 ( shortcircuit for  getOpenCVDir())
*) and also try to put ldFlags.add(...) inside ndk {}
I did not use "abis" in the way you use.  Anyhow I will try something later.

another way ( the kind of official way to use external lib ) is here:
https://github.com/playgameservices/cpp-android-basic-samples/blob/master/samples-android/ButtonClicker/build.gradle
follow "gpg" [ a static lib ], you find the way to import to gradle, and how it is used inside android.sources.  it is not 100% update to date, but should work as is w/o any modifications.  if your opencv_java is libopencb_java.a, you could try it exactly as is.

I've tried many different combinations that you advised and I believe the problem is not in abis block. The problem occurs at ldLibs.addAll(["log", "opencv_java3"]). If I remove the opencv it fails to build because it lacks the opencv methods, otherwise it is missing arm64-v8a something (output says libopencv_java3 missing but it is there). Somehow, it does not recognize the library I think. I tried downloading new opencv SDK but no change.
Commenting out all but one abi or all of them -> no change
I also tried hardcoding the path, but I believe the method works ok, since it finds the first opencv library where I add it at cppFlags.add(..."sdk/native/include").
Since it works on another machine, with same android studio configuration, I'm thinking maybe some files got corrupted on my machine (maybe in openCV SDK folder) but not sure, if system is using some cached stuff there.
I will also try to setup environment on another computer at home and try to build the project.
I was thinking to migrate to stable gradle build (not the experimental) but I don't know exactly, how I could maybe translate this into Android.mk file and change gradle to read Android.mk instead of this.
I tried some things already, but I don't know, how to write in makefile to generate libs for all abis and use different opencv_java3.so for different abis - like I do in the gradle build.

correct:  cppFlags.add(..."sdk/native/include") works otherwise it would a compile error, not linking error.  The real thing behind this is that: Android Studio did not correctly take the path to your lib. All of this is about the path to the lib, not the lib itself.  I am not sure whether command line would give more details:  ./gradlew  --info assembleDebug.  Then look at the command line to see if the path is taken when linking.  it is lot of information on command line ( far from pretty )
to change to stable is pretty simple: given the fact that we are more into cmake method.  but either way the experimental way should still work, just does not know what environment variable get in the way right now.  Something that may not be inside build.gradle at all, I felt.

Hey @ggfan I solved the problem. It was not in gradle file or anything. The actual problem was the fact, that my openCV SDK was somehow moved or added to my iCloud and all of a sudden, the Android Studio could not access it anymore I guess. I unzipped the new SDK to a folder that was not synced with iCloud and the libraries started to compile. I noticed this when looking at the folders that were generating when trying to use the command line.
Thank you so much for you help, I know I couldn't have done it without you!


JHipster Pacman on load

On latest main generator release, @sabrinapayet adds a wonderful Pacman animation during front loading. Even if Vue loads quickly, it would be cool to have the same behavior.
@sabrinapayet could you help on this one?

Honestly, Vue loads so quickly !!!
It will be usefull only when the user starts the application in IntelliJ and forgets to build the front.
So yes, need to have this one.


Add Optimum-amd documentation to the PR & release doc

As per title.
Let's merge once public.

Closing in favor of https://github.com/huggingface/optimum/pull/1562 so that the doc CI can run.


peltool: Add --list option for PEL summary

This commit introduces the -l/--list option.
Prints the results in JSON format.
Tested on sample PEL files
Sample output:
{
    "0x500009A4": {
        "SRC":                  "BD554002",
        "Message":              "A VPD ecc exception occurred.",
        "PLID":                 "0x500009A4",
        "CreatorID":            "BMC",
        "Subsystem":            "CEC Hardware - VPD Interface",
        "Commit Time":          "04/17/2024 01:33:38",
        "Sev":                  "Predictive Error",
        "CompID":               "bmc vpd"
    },

Signed-off-by: harsh-agarwal1<EMAIL_ADDRESS>

Review done here: https://github.com/ibm-openbmc/openpower-pel-parsers/pull/37


German Translation of Platform Maturity Model

Motivation
The platforms working groups resources like the Platform Engineering Maturity Model is a great resource that should be available in more languages. For this it needs to be translated. One such translation that definitely has a lot of interest is german.
Todo

[ ] Translate the Platform Engineering Maturity Model into german
[ ] Review the Platform Engineering Maturity Model in german
[ ] Translate the Platform Glossary into german
[ ] Review the Platform Glossary in german

Outcome

We can share the insights of the Platform Engineering Maturity Model with german speaking target audiences.

As we spoke before, I'm in, happy to get assigned and work with @Rotfuks on this


Support for limiting payload size for API Invocation

Description:
This feature will support to limit the payload size.
Affected Product Version:
2.0.0
Steps to reproduce:

fixed by https://wso2.org/jira/browse/ESBJAVA-3770


Fix default build options for initialize_secured_message_context()

In initialize_secured_message_context(), two for-loops access two arrays
with LIBSPDM_MAX_AEAD_KEY_SIZE number of elements and with
LIBSPDM_MAX_AEAD_IV_SIZE number of elements separately. Both iterations
go beyond the size of the arrays when the required macro
LIBSPDM_AEAD_AES_256_GCM_SUPPORT for the test is undefined.
Gcc 11.4.0 reports this and aborts the compilation when -DTARGET=Release
is specified with cmake for the build. Check macro define in the unit
test to avoid compile error.

libspdm_secured_message_encode_decode_test_main requires LIBSPDM_AEAD_AES_256_GCM_SUPPORT. If that algorithm is not present then the test should not be run. You can put #if LIBSPDM_AEAD_AES_256_GCM_SUPPORT around https://github.com/DMTF/libspdm/blob/b28434aa3620d45a859164253d5bdbf1a8376ccd/unit_test/test_spdm_secured_message/test_spdm_secured_message.c#L12-L16 and https://github.com/DMTF/libspdm/blob/b28434aa3620d45a859164253d5bdbf1a8376ccd/unit_test/test_spdm_secured_message/encode_decode.c#L9 That way the test will vacuously pass if executed and will resolve the compiler warning.

It makes sense. Updated.

@kelvin-cao did you add a compilation flag to get this warning?

@kelvin-cao did you add a compilation flag to get this warning?

No, just turned off some algorithm macros in include/library/spdm_lib_config.h, and used the command for build as following:
cmake -DARCH=x64 -DTOOLCHAIN=GCC -DTARGET=Release -DCRYPTO=openssl -DENABLE_BINARY_BUILD=0 ..
make


gzip: disable envoy.extensions.filters.http.gzip by default

Commit Message: gzip: disable envoy.extensions.filters.http.gzip by default
Additional Description: Move envoy.extensions.filters.http.gzip to the second deprecation phase.
Risk Level: Low
Testing: run unit tests
Docs Changes: N/A
Release Notes: mentioned further deprecation in current.rst
Platform Specific Features: N/A

/cc @junr03

/retest

@rojkov shouldn't the following line be deleted also?
https://github.com/envoyproxy/envoy/blob/master/source/extensions/extensions_build_config.bzl#L69

Is this a problem for people stuck in v2 (given the compressor filter needs v3 to operate)?

[ it isn't for us, because we can use v3 stuff for filter configs, even tho we are still globally on v2 ]

@moderation That would prevent the extension from linking to the envoy binary making it impossible to enable at runtime. It's too early to remove the code.
@rgs1 Right, I missed that. The compressor filter itself is supported in v2, but compressor libs are v3 only at the moment. Perhaps we need to add v2 compressor libs for consistency. @junr03 @htuch WDYT?

I think v2 is frozen now...

@rgs1 Right, I missed that. The compressor filter itself is supported in v2, but compressor libs are v3 only at the moment. Perhaps we need to add v2 compressor libs for consistency. @junr03 @htuch WDYT?

But in v2 you can't tune the gzip params right? Might be an issue for people stuck in v2 for a bit longer.
To be clear, not an issue for us right now.

But removing the line would only impact those running / building 1.17.0-dev right? Those running releases from Docker images or building from source using release tags would still get the file:

https://github.com/envoyproxy/envoy/blob/v1.16.0/source/extensions/extensions_build_config.bzl#L63
https://github.com/envoyproxy/envoy/blob/v1.15.2/source/extensions/extensions_build_config.bzl#L62
https://github.com/envoyproxy/envoy/blob/v1.14.5/source/extensions/extensions_build_config.bzl#L52
https://github.com/envoyproxy/envoy/blob/v1.13.6/source/extensions/extensions_build_config.bzl#L49

And 1.12.x is about to be EOL - https://groups.google.com/g/envoy-announce/c/eztbW2DV5-4/m/50OqZI4mAwAJ

I think the runtime solution is the right one, we can delete the code in Q1 next year when v2 goes away. There isn't much value in backporting to v2 (even if it wasn't frozen) as it's going away so soon.


Deliver command requires  update_app_version when it's not required

Issue Description
I have a macOS project which I am building and pushing results to iTunes connect. I don't need to update metadata, screenshot etc. I just need to upload a new build.
I have a following command in Fastfile:
deliver(submit_for_review: false, pkg: "", username: "", app_identifier: "", skip_screenshots: true, skip_metadata: true)
My user has only developer (not an admin) permissions on iTunes Connect (it's enough to upload new builds).
I am getting an error:
[!] Insufficient permissions for your Apple ID:
User  (Team ID ) doesn't have enough permission for the following action: update_app_version
Environment

Key
Value

OS
10.12.5

Ruby
2.3.1

Bundler?
false

Git
git version 2.11.0 (Apple Git-81)

Installation Source
~/.rvm/gems/ruby-2.3.1/bin/fastlane

Host
Mac OS X 10.12.5 (16F73)

Ruby Lib Dir
~/.rvm/rubies/ruby-2.3.1/lib

OpenSSL Version
OpenSSL 1.0.2h  3 May 2016

Is contained
false

Is homebrew
false

Is installed via Fabric.app
false

Xcode Path
/Applications/Xcode.app/Contents/Developer/

Xcode Version
8.3.2

Gem
Version
Update-Status

fastlane
2.37.0
✅ Up-To-Date

Loaded fastlane plugins:
No plugins Loaded
Loaded gems

Gem
Version

did_you_mean
1.0.0

executable-hooks
1.3.2

bundler-unload
1.0.2

rubygems-bundler
1.4.4

bundler
1.12.5

io-console
0.4.5

slack-notifier
1.5.1

CFPropertyList
2.3.4

claide
1.0.1

colored2
3.1.1

nanaimo
0.2.3

xcodeproj
1.4.4

rouge
1.11.1

xcpretty
0.2.4

terminal-notifier
1.7.1

terminal-table
1.7.3

plist
3.2.0

public_suffix
2.0.4

addressable
2.5.0

multipart-post
2.0.0

word_wrap
1.0.0

tty-screen
0.5.0

babosa
1.0.2

colored
1.2

highline
1.7.8

commander-fastlane
4.4.4

excon
0.54.0

faraday
0.10.0

unf_ext
<IP_ADDRESS>

unf
0.1.4

domain_name
0.5.20161129

http-cookie
1.0.3

faraday-cookie_jar
0.0.6

fastimage
2.0.1

gh_inspector
1.0.2

uber
0.0.15

representable
2.3.0

retriable
2.1.0

mime-types-data
3.2016.0521

mime-types
3.1

hurley
0.2

little-plugger
1.1.4

multi_json
1.12.1

logging
2.1.0

jwt
1.5.6

memoist
0.15.0

os
0.9.6

signet
0.7.3

googleauth
0.5.1

httpclient
2.8.3

google-api-client
0.9.20

json
1.8.3

mini_magick
4.5.1

multi_xml
0.6.0

rubyzip
1.1.7

security
0.1.3

xcpretty-travis-formatter
0.0.4

faraday_middleware
0.10.1

unicode-display_width
1.1.3

https://github.com/fastlane/fastlane/pull/9388


Fix example

Fixed the example to call addSourceFileFromStructure instead of addSourceFile.

Thanks once again, Mike!

Coverage remained the same at 86.285% when pulling 71fddbb2c69ef7a96b17dbe7842a34456b47a953 on mmorearty:mmorearty-patch-1 into be5f4baf1a66f7c4b953f15dfe6428c92acaab68 on dsherret:master.


hydrogen turbine should be a direct subclass of gas turbine

Description of the issue
In issue #299 we agreed that A hydrogen turbine is a gas turbine fueled with hydrogen and was implemented as such in PR #300.  However in commit 132468a64281c4dfa7f2be2b1d586a415fff913c which is part of PR #782 this was changed to: A hydrogen turbine is a natural gas turbine fueled with hydrogen. But at least to my interpretation of the issue #761 the implementation does represent not the discussion consensus.
Ideas of solution
Change definition back to: A hydrogen turbine is a gas turbine fueled with hydrogen
Workflow checklist

[ ] I discussed the issue with someone else than me before working on a solution
[ ] I already read the latest version of the workflow for this repository
[ ] The goal of this ontology is clear to me

I am aware that

[ ] every entry in the ontology should have a definition
[ ] classes should arise from concepts rather than from words

I agree.
I am also not convinced about the subclass of hydrogen turbine: produces some 'electrical energy'. How is it possible without a generator? I would delete this subclass.
Moreover, gas turbine, steam turbine, water turbine and wind rotor do not need produces some 'rotational energy' because turbine already possesses this subclass.
I could implement, if you agree.

I am also not convinced about the subclass of hydrogen turbine: produces some 'electrical energy'. How is it possible without a generator? I would delete this subclass.

True, the axiom produces some 'electrical energy' should really be removed. Seems, something really went wrong with this class in #782.

Moreover, gas turbine, steam turbine, water turbine and wind rotor do not need produces some 'rotational energy' because turbine already possesses this subclass.

It is no problem to repeat axioms from the parent class, so we don't need to change this.

I could implement, if you agree.

Go for it!


How to use the network with higher resolution images as inputs?

Hello! I would like to finetune the model or infer with inputs of varying sizes, up to 1000x1000 in dimensions. Has anyone tried something like this yet? What is the most logical approach to this?
I thought of taking 64x64 batches from a single image but the results are not totally consistent for concatenation and even the inference takes too long to finish for all of the images batches.

For batches, you can infer to #19. And varying sizes is an interesting proposition and so far I haven't seen anyone try it


Requirement in  Service page

Service count needed
Paging Needed

paging nai hota service page pe

paging nai hota service page pe

bahut jyada service ho jayengi to kya karenge fir ?
or Count kaise pata chalega kitni service hain isliye count chahiye tha.

Page need complete redesign to do this.
Ask sir and if it is required then schedule work in milestone

Page need complete redesign to do this.
Ask sir and if it is required then schedule work in milestone

@vinpahilwani


Multi-target tests for all LTS .NET Core versions

Update the test projects to multi-target the current and long term support (LTS) versions of .NET Core.  See Target frameworks in SDK-style projects and Download .NET Core for additional information.  This includes:

Target Framework
Target framework moniker (TFM)

.NET 5.0
net5.0

.NET Core 3.1
netcoreapp3.1

.NET Core 2.1
netcoreapp2.1

Including .NET 5.0 will also require updating the config.yml for the CircleCI build.

I posted a question about this on Stack Overflow: How can I target multiple .NET Core versions from a single Docker image?  If I don't get a great answer, I may just content myself with switching to .NET 5 for now.  I haven't found any compatibility issues so far, so maybe it's not worth the effort.

Yeah next best option I can think of is making separate executors that use a base image for each runtime, and parameterize the .csproj so it can build the right runtime. But that seems like a lot of effort for minimal payoff at that point 😟


Typo fix + rebuild man

make man to cover recent docs changes (including #843 )
I assume removal of the "Automatic Python Installation" section from man that this causes is intentional? (https://github.com/kennethreitz/pipenv/compare/master...therefromhere:rebuild-man?expand=1#diff-b5e9ceb23f5465ad53594720c58e859aL684 )

thanks!


[ENH] Prevent unrestricted delete

Description of changes
Addresses #948, #583
Summarize the changes made by this PR.

Improvements & Bug fixes

Prevent unrestricted deletes and instead point users to more explicit alternatives.

New functionality

None

Test plan
Added unit tests validating that error cases are properly error'ing. Existing tests should make sure delete still works.
Documentation Changes
None required.

@HammadB what is the happy path to empty a collection? delete_collection and then create_collection?

@jeffchuber I proposed to options in the error message

"You must provide either ids, where, or where_document to delete. If \

    you want to delete all data in a collection you can delete the \
    collection itself using the delete_collection method. Or alternatively,\
    you can get() all the relevant ids and then delete them."

@HammadB i dont know how to read

@HammadB, I wonder if there is a situation, from a user perspective, where keeping the collection and just truncating()-ing all the data makes sense. In traditional DMBS, users do have the option to just remove all data but keep the structure (for Chroma, that's EF and DF + metadata). In both situations (DBMS and Chroma), just the collection/table recreation part is not computationally heavy, but DBMS exposes truncate() nevertheless. Is there a chance that in a distributed setting with possibly sharding at play, it makes sense to truncate instead of recreate? Last but not least, how about deleting large collections - today, this happens sync, but maybe there is a distributed situation where a large collection over many nodes may take time to delete.
What I remember from university wrt to DBMS is that they, I think, use a technique called tombstone to just flag deleting without actually deleting stuff ... or maybe I'm just rambling :D

@tazarov I think supporting the case to empty the collection is useful, but such a destructive operation should be a separate API call to prevent data loss. For now there are workarounds like get()'ing all the ids and delete()'ing them.
I agree that something similar to a SQL truncate could be a good name or concept to inherit.
As far tomb-stoning goes, that is already how deletes in the vector segment work :)

@HammadB, I agree that having a separate operation for truncation is better and it even makes it easier for users coming from RDMS background to understand how things work in Chroma.
Side note: Perhaps this is worth describing somewhere e.g. how Chroma compares to other databases

@HammadB, I agree that having a separate operation for truncation is better and it even makes it easier for users coming from RDMS background to understand how things work in Chroma.
Side note: Perhaps this is worth describing somewhere e.g. how Chroma compares to other databases
Random thought: What if .delete_collection() is forbidden unless your collection is first empty. This is a popular mechanic for many use cases and given the monetary context of generating embeddings it actually can make sense (can be enabled/disabled via some strict-mode type of flag)

Thats an interesting idea.

Random thought: What if .delete_collection() is forbidden unless your collection is first empty. This is a popular mechanic for many use cases and given the monetary context of generating embeddings it actually can make sense (can be enabled/disabled via some strict-mode type of flag)

I think this should be, by default, off - maybe it is on for production settings...

@jeffchuber yeah by default allow_reset is off as well, so this could mirror that.


Small sidebar tweak

Just a small tweak to avoid not very readable sidebar with deep projects. Have to do all these text/href by hand without this

Hey, thanks for submitting this PR! Do you mind describing a bit the problem this fixes? If I'm understanding, it tries to--for an object--ensure the name that gets listed on the sidebar, is exactly what will be shown in the signature. Is that right?

Yes this is right. For example in the quartodoc reference the sidebar looks like
MdRenderer.render
MdRenderer.xxx
...
```

<img width="235" alt="image" src="https://github.com/machow/quartodoc/assets/5702350/06ccff6a-0f68-4d62-84e1-8fb31d766d1e">

But I have a package with very deep dependency so I only want

```
render
....
```

which I currently have to do by making the sidebar by hand which is tedious.

Thanks for the update.
I just tried that signature_name option. It seems to only change the "title" of the page that corresponds to it, but two things:

I still need to add it by hand to all entries in the content?
The sidebar isn't impacted so I still need to do the sidebar by hand
Can it be extended so the index.qmd reflects it?

Sorry for all the questions and nitpicking, we already switched our website since it works very nicely and it's not critical, it just makes life easier with those features so trying to get ahead.

I still need to add it by hand to all entries in the content?

You can change the default settings by putting them in options. For example,
quartodoc:
  package: quartodoc

  # set options on the top-level config.
  # this will apply to all pieces of content.
  options:
    signature_name: short

  sections:
    - contents:
        - MdRenderer
        - get_object

The sidebar isn't impacted so I still need to do the sidebar by hand

I think if we change this PR to use el.signature_name it should have the same effect, but will let us move away from referencing the renderer.

Can it be extended so the index.qmd reflects it?

I'm looking at devito/__init__.py, and its quartodoc config, and wonder if another way to approach this would be specifying content using its top-level import name?
For example, would something like below work? (I've just released a quick fix to the dynamic option in as v0.6.3, which is needed to build this..!):
project:
  type: website

metadata-files:
  - _sidebar.yml

quartodoc:
  dir: api
  package: devito

  # this is necessary to be able to resolve the star imports in devito/__init__.py
  # in the future, we should be able to figure these out without going full dynamic...
  dynamic: true

  sections:
    - title: "devito types"
      desc: ""
      contents:

        # Note these are now top-level imports, e.g. Dimension vs types.dimension.Dimension

        - Dimension
        - ConditionalDimension
        - SubDimension
        - Grid
        # etc..

This looks like what I would want indeed let me try that, thanks.

The dynamic doesn't seen to find the content, I get
quartodoc.builder.utils.WorkaroundKeyError: Cannot find an object named: Dimension. Does an object with the path devito:Dimension.class_key exist?

Forgot to update my fork, it does work indeed, updated to use el directly

Glad to hear! When using the above approach (dynamic, and importing straight from the top-level), do you need this PR to fix the sidebar? The screenshot I sent was using the current behavior, so I'm hoping that approach removes the need to change the sidebar behavior (but also open to making necessary changes!)

do you need this PR to fix the sidebar?

Probably not but I find it slightly more safe to have the href/text so no matter what it's always correct? but happy to remove if you think it's clutter


MatMenu generating error on click

Bug, feature request, or proposal:
Bug
What is the expected behavior?
Menu to open
What is the current behavior?
Error generated
I have the following markup for a matMenu

      <button mat-icon-button [matMenuTriggerFor]="menu">
        <mat-icon>more_vert</mat-icon>
      </button>
      <mat-menu #menu="matMenu">
        <button *ngFor="let chat of userModel.chats" mat-menu-item>

          {{getThemFromChat(chat).username}}
        </button>
      </mat-menu>

Upon clicking the menu this happens.  Kind of at a loss here.

Closing as no reproduction has been provided.


Enhanced Palindrome Calculator UI

Fixes Issue🛠

Closes #659
Description👨💻
Palindrome calculator UI enhanced along with calculate again button, and all items centrally aligned along with changes in form and background.
Checklist✅

[✅  ] My code follows the style guidelines of this project
[✅  ] I have performed a self-review of my own code
[ ] I have commented my code, particularly in hard-to-understand areas
[✅  ] I have added demonstration in the form of GIF/video file
[ ✅ ] I am an Open Source Contributor

Screenshots/GIF📷

@Rakesh9100 Please review and merge, completed all assigned issues

Pls attach the screenshots of your work @diyaaa19

@Rakesh9100 added the screenshots

When clicking on Calculate after entering an input, the result should show below only as it was before, it should not redirect to Calculate Again @diyaaa19

@Rakesh9100 made the required changes, please review, thanks

If an issue is open to enhance the UI, then pls make something good. You just did center some text and just changed some color @diyaaa19

https://calcdiverse.netlify.app/calculators/color-code-calculator/
You can take the reference of this and try to style a bit more by using some good background or gradient background, and also give effects to the text @diyaaa19

@Rakesh9100 Let me know if any more changes are required


Feature:  Improve "Sync from Github" feature on lists

Type of feature
🍕 Feature
Current behavior
Users can currently sync teams from their Github organization

Suggested solution
We've had this feedback from Jesse @ Xebia:

At the moment I don't really see a need to sync our internal team structure, though I suppose that our Xebia cloud would probably want a version with just the cloud folks and Xebia Functional would want to showcase the scala projects and Xebia Microsoft Services would want to show azure and github contributions... For now that would be a team sync thing I suppose, though it could also be something based on repo metadata or tagging on our side. I'd love a Sync everyone option here:

We could reframe the Github Sync option to let users:

Import an entire organization
Import teams
Import people who have contributed to specific repos on their org

Additional context
No response
Code of Conduct

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

Contributing Docs

[X] I agree to follow this project's Contribution Docs

Revamped this feature with GitHub Organization Import in workspaces


Stalling tests: effects not always triggered?

As mentioned, I had some problems with tests stalling - it seems the test locks up and runs forever under certain conditions, I'm not sure why.
I worked around it by adding an extra <div> wrapper to the <Component/> in the tests for useEffect that you just merged.
Here's a branch with the extra <div> wrappers removed:
https://github.com/132yse/fre/compare/master...mindplay-dk:update-stalling
Can you try this branch on your local system and see if you can find the problem?
I spent a long time on this and I can't figure it out.
Most likely it is caused by a promise that never resolves - so it could have something to do with effects not being triggered; I'm using effects to in testUpdates to detect when each update completes... I'm not sure if that's why, but that's my best guess at this point.

Because of jet lag, I'm in bed now.
Tomorrow I will get up and run the branch, I hope I can find the problem 😁

It took me a long time to fix the bug, and now the test is working well 💯


loco-rs

Hi folks,
Came across this framework which looks interesting and did not find it on are we web yet.
https://github.com/loco-rs/loco
TL;DR: ruby on rails but rust?
Some threads:
https://news.ycombinator.com/item?id=38522458
https://news.ycombinator.com/item?id=38540178
https://news.ycombinator.com/item?id=38541318
https://old.reddit.com/r/rust/comments/18aokzc/locors_releasing_a_framework_inspired_by_rails_on/
take care

Came here to report it too

If it satisfies the criteria please open a PR to add it!


tests: utils tests and travis

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@c4209af). Click here to learn what that means.
The diff coverage is 100%.

@@            Coverage Diff            @@
##             master       #2   +/-   ##
=========================================
  Coverage          ?   80.76%
=========================================
  Files             ?        6
  Lines             ?      208
  Branches          ?        0
=========================================
  Hits              ?      168
  Misses            ?       34
  Partials          ?        6

Impacted Files
Coverage Δ

utils/utils.go
97.61% <100%> (ø)

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 c4209af...ab44ad3. Read the comment docs.


boards: olimex stm32-h407: Add initial support

Olimex STM32-E407 is very similar and got used as template.
Signed-off-by: Reto Schneider<EMAIL_ADDRESS>

Codecov Report

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

@@           Coverage Diff           @@
##           master    #6581   +/-   ##
=======================================
  Coverage   53.45%   53.45%
=======================================
  Files         437      437
  Lines       41391    41391
  Branches     7934     7934
=======================================
  Hits        22127    22127
  Misses      16044    16044
  Partials     3220     3220

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 8109bdf...16a3d47. Read the comment docs.

@ydamigos But it feels a little mean to remove their copyright. They have done 99% of the work. Anyway, I just did the requested changes and push-forced them.

It seems a little bit unfair to me to remove their copyright altogether. After all, they have done 99% of the work.

I agree with @ydamigos.
While I agree it sounds right from you to  copy the initial copyright of the file you copied, this method does not upscale and can't be applied systematically and hence practically:
For board ports, everyone copy a port from another board and this is applied from the beginning. So theoretically, if reporting the initial copyright was applied every time there would be a long list of copyrights in each file (or only 2 if everyone pick up systematically the same example, which I doubt).
Besides, this would even not represent the exact impact of each contributor on the file. Indeed, in time, code evolution implies that all files are modified along with generic changes (done by other contributors) and current files might look quite different from the initial version committed by the initial contributor.
This is why it is preferred to retain the copyright of the one who made the effort to port, test and document the board (which is you) rather than the initial person that also ported another board in (a bit different way) some time back.


ADR: Add automation solution for dependency bumps

Proposal: Add a GitHub bot user to opentdf to unblock automatic merging of dependency bumps compliant with Codeowners
Background
Dependabot can bump dependencies as newer versions become available and is installed within the opentdf GitHub org.
Knowns / Assumptions

Automating dependency bumps is a standard practice that saves time and effort.
Out of date dependencies are a significant risk to software security.
Manual review of dependency bumps almost never entails exploration of the code changed in each commit of a bumped package, and is more likely (in practice) to involve a review of a changelog or even just blind acceptance of a bump given a minor/patch semver.
3rd party dependencies are always risky, and the greatest evaluation occurs when first introducing them.
We have scanning tools in place in the CI pipeline to check vulnerabilities in dependencies.
Releases will always involve a QA effort before being published.

Given 2, 3, 4, and 5, it is likely a greater security risk to fall behind in manually approving dependency bumps than to automate their approval and risk a backdoor.
Whatever is employed for otdfctl can be employed across the opentdf GitHub org repositories.
Current state
Dependabot PRs for minor and patch semver bumps are now being set via GitHub Action to auto-merge (squash) and automatically approved in otdfctl. However, there is a conflict with CODEOWNERS. A github bot cannot be added to codeowners so at this time a manual approval is still required to merge. There are some potential workarounds:
Options

Remove codeownership from go.mod and go.sum
🟥 easier for malicious actor to sneak a backdoor into a dependency and merge it in
🟩 faster path forward to automated minor/patch bump approvals
Add a "bot" GitHub user to the opentdf org for bot-related activities
🟩 could use a scoped token (probably a PAT) as a secret in workflows (like PR approval of dependabot PRs) to add a layer of authorization security
🟩 could add the bot user to CODEOWNERS give it access to the dependency lockfiles, a second layer of authorization
🟥 more secrets to maintain and keep secure

At this time, we will proceed with manual approval of dependency bump PRs until it becomes a burden sufficient enough to justify a decision on the above or another path forward.

Repo permissions update to allow auto-merge of dependabot PRs is blocked by https://github.com/virtru-corp/terraform/pull/4892

Dependabot PRs for minor and patch semver bumps are now being set to auto-merge (squash) and automatically approved, but there is a conflict with CODEOWNERS. A github bot cannot be added to codeowners so at this time a manual approval is still required to merge. There are some potential workarounds:

Remove codeownership from go.mod and go.sum
🟥 easier for malicious actor to sneak a backdoor into a dependency and merge it in
🟩 faster path forward to automated minor/patch bump approvals
Add a "bot" GitHub user to the opentdf org for bot-related activities
🟩 could use a scoped token (probably a PAT) as a secret in workflows (like PR approval of dependabot PRs) to add a layer of authorization security
🟩 could add the bot user to CODEOWNERS give it access to the dependency lockfiles, a second layer of authorization
🟥 more secrets to maintain and keep secure

At this time, we will proceed with manual approval of dependency bump PRs until it becomes a burden sufficient enough to justify a discussion around the above.

Are automatic bumps limited to minor and patch versions? Or is this done via dependabot?

Are automatic bumps limited to minor and patch versions? Or is this done via dependabot?

Dependabot is capable of any level of dependency update, and allowing/ignoring specific SemVers. It is configured in otdfctl to ignore the platform and SDK dependencies, and configured in the platform to open PRs for any kind of dependency update. Once PRs are opened, the CI pipeline is triggered, and branch protections are employed in each repo to required passing status checks before the PRs are mergeable.
From there, we employ the approach suggested by the GitHub documentation for dependabot in otdfctl, which is to use a GitHub action (see otdfctl workflow here) to set the PRs to auto-merge, and to be approved if they are SemVer minor/patch bumps. We've scoped those approvals to recognized minor and patch versions, as major versions are always going to have a higher likelihood of causing regressions. Major versions will not be approved, but will still be set to auto-merge (as of today).
However, the workflow's PR approval of dependabot PRs for minor/patch bumps is currently offering no value because the bot does not meet CODEOWNER requirements over go.sum or go.mod, meaning a manual approval is still needed. In an eventual state where automated bot-triggered merges are enabled, I would encourage us to continue to scope that automation to known minor and patch bumps only.


Make config.py optional

We can auto-generate a random secret key on startup. As it is the only setting that is required that would make the config file unnecessary and would greatly simplify getting started.

FYI complete Flask and Python noob here.
my config.py only has SECRET_KEY='0123456789' and I'm hosting on localhost.
I've cloned the latest release and have been trying to run the wiki but I keep getting
jinja2.exceptions.TemplateNotFound: home.html
whenever I try to navigate to localhost:5000.
I can't figure out why render_template isn't pointed to the right place.
I thought it might be helpful to mention this give  you're trying to simplify getting started with the wiki.

@Rummin thanks for your question! I don't think your issue and this issue are necessarily closely related. It sounds more like you are installing wiki the wrong way. Did you install it using pip as the README states and also run it the way it was described?


Create dependabot.yml

This has been enabled at organization level (minus automatic PRs, which may be done later if/when the project stabilizes and hits release status with tests).


Multiplexing queries on a single connection?

Unless I'm misunderstanding the driver doc, multiple requests can be performed in parallel over the same database connection. Is this possible in gorethink?

This is not currently supported by GoRethink however I am looking into changing this. That being said a GoRethink Session implements a connection pool and is thread safe so you should be able to use a single session over multiple requests/goroutines.

Great, thanks!


Add APO token

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

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

Project background:
Official announcement: https://twitter.com/ApolloFi1/status/1552498666836897793
Project team background: https://apollofi.xyz/
Project basic information:
ApolloFi is an integrated SocialFi platform for creative ideas.
ApolloFi is the first Web3 social platform built on multichain, which introduced the "Social to Earn & Merge NFT fragments" mode into its features to enable users to socialize in the environment where they tactfully incorporate NFT fragments.
By empowering creators and allowing more individuals to contribute to the whole eco, ApolloFi aims to establish a free and diverse creator paradise, provide quality socializing and gaming experience to the users, which ultimately becomes the portal for the Web 3.0 area.
Media publications: https://www.youtube.com/channel/UCCPba-w_AcmRD2vhh0K9pxA
Tradeable exchanges: Uniswap, Pancakeswap
Recommended Gas Limit (For ERC-20 project teams) for transaction: (Default is 60,000) 50000

Missing project background
Missing official announcements (see details for completeness and accuracy of information)

Missing Chinese description
Missing official announcements (see details for completeness and accuracy of information)

It has already been updated!

Hello! Is there any problem?


ZIPing error while preprocessing LibriSpeech

What is your question?
I tried to follow the speech to text guide for LibriSpeech:
https://github.com/pytorch/fairseq/tree/master/examples/speech_to_text#example-1-speech-recognition-asr-on-librispeech
I created a directory ls_root in the fairseq root directory, defined LS_ROOT="ls_root" in my shell and executed the terminal command shown in the guide
python examples/speech_to_text/prep_librispeech_data.py --output-root ${LS_ROOT} --vocab-type unigram --vocab-size 10000

Fairseq then seems to do its work until it has to do ZIP the features:
Fetching split train-clean-100...
Extracting log mel filter bank features...
100%|██████████| 28539/28539 [02:34<00:00, 185.08it/s]
Fetching split train-clean-360...
Extracting log mel filter bank features...
100%|██████████| 104014/104014 [11:26<00:00, 151.58it/s]
Fetching split train-other-500...
Extracting log mel filter bank features...
100%|██████████| 148688/148688 [18:21<00:00, 135.01it/s]
Fetching split dev-clean...
Extracting log mel filter bank features...
100%|██████████| 2703/2703 [00:10<00:00, 256.36it/s]
Fetching split dev-other...
Extracting log mel filter bank features...
100%|██████████| 2864/2864 [00:07<00:00, 371.37it/s]
Fetching split test-clean...
Extracting log mel filter bank features...
100%|██████████| 2620/2620 [00:08<00:00, 327.50it/s]
Fetching split test-other...
Extracting log mel filter bank features...
100%|██████████| 2939/2939 [00:07<00:00, 378.47it/s]
Extracting log mel filter bank features...
100%|██████████| 2939/2939 [00:07<00:00, 378.47it/s]
ZIPing features...
Traceback (most recent call last):
  File "examples/speech_to_text/prep_librispeech_data.py", line 119, in <module>
    main()
  File "examples/speech_to_text/prep_librispeech_data.py", line 115, in main
    process(args)
  File "examples/speech_to_text/prep_librispeech_data.py", line 60, in process
    create_zip(feature_root, zip_path)
  File "/home/students/mai/joeynmt-aug/fairseq/examples/speech_to_text/data_utils.py", line 104, in create_zip
    with zipfile.ZipFile(zip_path, "w", zipfile.ZIP_STORED) as f:
  File "/home/students/mai/miniconda3/lib/python3.8/zipfile.py", line 1251, in __init__
    self.fp = io.open(file, filemode)
FileNotFoundError: [Errno 2] No such file or directory: 'ls_root/fbank80.zip'

What have you tried?

Tried installing fairseq by using pip, as well as cloning the repository as instructed in the README.
Tried both the master branch, as well as the v0.10.1 branch.
Tried copying a fbank80.zip file from a colleague to my $LS_ROOT

Same error for all of the above.
What's your environment?

fairseq Version v0.10.1, as well as master
PyTorch Version 1.7.0+cu101
OS: Linux (Debian based cluster server)
How I installed fairseq: Both pip install fairseq, as well as from source as instructed in the README. Also checked out both master branch, as well as v0.10.1 branch.
Build command I used (when compiling from source):

git clone https://github.com/pytorch/fairseq
cd fairseq
# git checkout v0.10.1
pip install --editable ./

Python version: 3.8.5 (installed through miniconda)
CUDA/cuDNN version: 10.1
GPU models and configuration: Nvidia GTX 1080 Ti, accessed on a computing cluster at my university through slurm
Any other relevant information: Please let me know if I'm missing anything.

Any help would be much appreciated.

Hi @Munzu , thanks for reporting the issue. Can you try using the absolute path for ls_root?

@Munzu I will close this issue for now. Let us know if you get other questions later.


fix riscv print test

Currently this is panicking at
running 1 test
error: manifest path `tests/riscv_data/print/Cargo.toml` does not exist
thread 'test_print' panicked at 'assertion failed: cargo_status.success()', riscv/src/lib.rs:187:5

Now it panics at
thread 'test_print' panicked at 'Unknown instruction: srai', riscv/src/reachability.rs:177:17
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

which I guess is not the intended behavior?

Weird, how long has this been failing?

Ah, sorry, this is the "should panic" test, now I see!

Ah, sorry, this is the "should panic" test, now I see!

Yes, that's why it was succeeding before, but for the wrong panic. Same thing as now.

@chriseth this now fails in         if identity_failed && next_row != 0 { ... panic!(), is that correct?

If we wouldn't have this issue with logging in tests, then it would print the assertion failure panic message and we could check...

what's the issue?

The issue is that tests cannot log, or at least we have to set up one logger per test.


web3swift.Web3Error error 4 for get balance

Hi @shamatar
I used the same exact code in one of my projects to get Balance and it works well but now I will get error with same situation, this is error code when I try to get balance:
The operation couldn’t be completed. (web3swift.Web3Error error 4.)
Link Here

Can you extend a screenshot more? We use Result pod to wrap value and error into one structure, but unfortunately many packages define similar “public enum Result”, so ambiguity happens and I want to see what is a source of a
conflict

From: Mahdi Mahjoobe<EMAIL_ADDRESS>Sent: Monday, October 29, 2018 4:40:20 PM
To: matterinc/web3swift
Cc: Alexander; Mention
Subject: [matterinc/web3swift] web3swift.Web3Error error 4 for get balance (#77)
Hi @shamatarhttps://github.com/shamatar
I used the same exact code in one of my projects to get Balance and it works well but now I will get error with same situation, this is error code when I try to get balance:
The operation couldn’t be completed. (web3swift.Web3Error error 4.)
Link Herehttps://imgur.com/a/8HtVKJy
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/matterinc/web3swift/issues/77, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AGKv94i1rK5otHVvTQwcPxqbcsnl7ZHHks5upwVEgaJpZM4X_Mez.

Hi @shamatar ,
You need more screenshots from which part of code?
You can see complete error in this screen shot: image
and I think problem is here in this image, our data is 0 byte! but the network request has successful response and get correct balance value, and when it wants map to JSONRPCresponseBatch this error occur, thus we get error for typeMissMatch here in map function.
Do you need more screenshots? if yes from which part of code?
Thanks

Hi @shamatar ,
Did you find any problem or you need more data?

What backend (node) do you use? So far I couldn’t replicate it. May you check the 2.0 version? It has breaking changes, but was well cleaned up

From: MrShafiee<EMAIL_ADDRESS>Sent: Saturday, November 3, 2018 12:39:25 PM
To: matterinc/web3swift
Cc: Alexander; Mention
Subject: Re: [matterinc/web3swift] web3swift.Web3Error error 4 for get balance (#77)
Hi @shamatarhttps://github.com/shamatar ,
Did you find any problem or you need more data?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/matterinc/web3swift/issues/77#issuecomment-435574362, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AGKv94IYfHun_cK6FPFblGLd8BsDKhQWks5urWRNgaJpZM4X_Mez.

Hi @shamatar
It was related to response from node, in this project we used Quorum that use older version of Ethereum. In this reason node return Array instead of Dictionary and we will get error while parsing response.
thanks 👍


Could you suggest me an approach for working with MCNet on a Custom Data

Hi Ruben,
Thank you for the MCNet code. I want to use your MCNet for video frame extrapolation task for my custom dataset. It would be great if you suggest me some approach in doing it, or share me some generalized code to work for my dataset.
Regards
Sharath

Hi Sharath,
If you look at the file ./src/utils.py, there are functions to load each dataset (e.g., load_kth_data). You should add another function to load your specific dataset, and follow the same input/output scheme. Hope this helps.
Regards,
Ruben


No placeholder inserted for binary method

No placeholders are inserted for binary operators like Integer.+, Integer.<, etc.
Screencast from 2023-06-22 12-44-03.webm
Tried on enso-linux-2023.2.1-nightly.2023.6.21.AppImage.

This is currently being worked on. It's part 2 of: https://github.com/enso-org/enso/issues/6854


Example template seems broken

I am trying to run the template form the README like this: rails new searchapp --skip --skip-bundle --template https://raw.github.com/elastic/elasticsearch-rails/master/elasticsearch-rails/lib/rails/templates/01-basic.rb
There are couple if issues.

Contrary to the README, it didn't install elasticsearch.  Instead, it told me to start elasticsearch using docker like this docker run --name elasticsearch-rails-searchapp --publish 9200:9200 --env "discovery.type=single-node" --env "cluster.name=elasticsearch-rails" --env "cluster.routing.allocation.disk.threshold_enabled=false" --rm docker.elastic.co/elasticsearch/elasticsearch-oss:6.4.0
So I started docker, rand the image as instructed, then ran the command to generate the example template.  That failed with this error: Elasticsearch::Transport::Transport::Errors::BadRequest: [400] {"error":{"root_cause":[{"type":"illegal_argument_exception","reason":"Rejecting mapping update to [articles] as the final mapping would have more than 1 type: [_doc, properties]"}],"type":"illegal_argument_exception","reason":"Rejecting mapping update to [articles] as the final mapping would have more than 1 type: [_doc, properties]"},"status":400}
I'm doing this in Bash on Macos 10.14,

Hi @engineer-plus-plus, thanks for reporting this. I'll take a look!

@engineer-plus-plus I've updated the README on #939. I think it was an issue with the version of Elasticsearch in the docker command. The change worked for me, but let me know if it fixes the issue for you too. Thanks!

Cool. That fixed this issue for me.
But there is istill misinformation on the README.  It says "(it even
downloads Elasticsearch itself,"  But the template doesn't.  I'd consider
removing that.  (Or I can contribute the PR with this change.)
-IM
On Fri, May 15, 2020 at 8:49 AM Fernando Briano<EMAIL_ADDRESS>wrote:

@engineer-plus-plus https://github.com/engineer-plus-plus I've updated
the README on #939
https://github.com/elastic/elasticsearch-rails/pull/939. I think it was
an issue with the version of Elasticsearch in the docker command. The
change worked for me, but let me know if it fixes the issue for you too.
Thanks!
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/elastic/elasticsearch-rails/issues/938#issuecomment-629331145,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABB7R4FE3D52IAG6WNVPDG3RRVQBVANCNFSM4NBFGOTQ
.

--

Ilya Makedon

@engineer-plus-plus I updated the Pull Request to remove this. I'm going to take a look at the rest of the docs and templates to see where else we need updates. Let me know what you think, I'll merge the PR after you review it :+1:


feat(k3s): Updated to v1.27

Proposed Changes

This PR is only for testing CI

Updated k3s to the 1.27 release
v1.27.x
Testing and running it against CI

Checklist

[x] Tested locally
[x] Ran site.yml playbook
[x] Ran reset.yml playbook
[x] Did not add any unnecessary changes
[x] Ran pre-commit install at least once before committing
[x] 🚀

Could we merge this?

Hey, sorry this is only being kept open for testing new versions against CI.

Hi, has anyone tried this.. The 1.27? Could I have any feedback please?

CI has tested it, you can check the actions above.  Otherwise not sure about real world

thanks !!! I am going to try  it today on my proxmox Vms kubernetes

site.yaml seems to work:

Nice!

ks3: v1.27.3+k3s1
kube_vip_tag_version: "v0.6.0"
metal_lb_frr_tag_version: "v8.5.2"
metal_lb_speaker_tag_version: "v0.13.10"
metal_lb_controller_tag_version: "v0.13.10"

Would be keen for this to be merged if possible

Would be keen for this to be merged if possible

See the comment in the first post

1.27.4 works fine on a 5 node raspberry pi cluster,


Question: How many extra space do I need when I run this tool?

I want to run this tool against a table on production database. I would like to know how many extra space I need when I run it.
I saw in the read me section, the space I need is the size of the largest index. I want to confirm couple things:

If I skip reindex, does that mean I don't need any extra space?
If I only compact table and skip reindex, will it still free my disk space from the bloated table?
The tool first compact table, then reindex. So given this scenario: my table has a waste of 100GB, and my largest index is 20GB. Does that mean even if I dont have 20GB free space in the beginning, ideally after table is compacted and before reindex occurs, I should have 100GB extra disk space, and I can safely let the tool run reindex?

Thanks in advance!

Hello

If I skip reindex, does that mean I don't need any extra space?

Almost true. One fine day I processed a 100gb table, when there was only 1 or 2 last free gb.
We may still have some fluctuations as we doing additional WAL writes due to VACUUM and fake UPDATE's.

If I only compact table and skip reindex, will it still free my disk space from the bloated table?

Yes.
(although I must mention that there is nothing we can do with bloat in TOAST)

The tool first compact table, then reindex. So given this scenario: my table has a waste of 100GB, and my largest index is 20GB. Does that mean even if I dont have 20GB free space in the beginning, ideally after table is compacted and before reindex occurs, I should have 100GB extra disk space, and I can safely let the tool run reindex?

Ideally, yes. Thought I'd rather do multiple runs with different options just to be sure.
An example of a non-ideal world: we successfully processed the table, but VACUUM was not able to shrink heap as much as possible because of concurrent transactions (command has a hardcoded limit in this phase). Next vacuum (or autovacuum) will continue shrinking, but pgcompacttable will try reindex at this point.

Thanks for the quick reply!
Then I guess what I should do is passing skip reindex flag and show reindex command flag so it only compact the table first. After that, I manually run reindex in psql directly, or maybe just run pgcompacttable again if disk space is freed by significant amount.
Will close the issue for now.

Oh one more question
If the table is compacted without reindex, will it perform like there is no index at all, or it will be just a little bit slower? Or it depends?
We have a table size of 253 GB, with a toast table of 63 GB. For the table it has three index, size of which are 20 GB, 12 GB, and 8 GB. Toast table has 1 GB index as well...

Reindex by itself is a separate part, without reindex we just skip this part.
During table processing we need to move multiple rows from the end of the table to the beginning. Indexes in postgresql stores physical addresses of tuples, so they will be updated too. Each index write adds some cost. Therefore, table processing will be slightly slowed down by each index on the table.

Ok thanks for the clarification!


Update: new peer-ack event

This PR adds a new event peer-ack. It is emitted when onhave is called.
Some of the background context for this PR: https://discord.com/channels/709519409932140575/709522073344540804/809152544554483753
In summary, this can be used to know when a peer has something new. This can be useful in the context of clients and seeders.
Related to: RangerMauve/hyperdrive-publisher#10

9.6.0


Add SapiProcessor

I use this processor quite often, so I think it can be useful for others too

The SAPI itself seems kinda useless to me, but maybe I'm missing something? The process name thing seems more useful but still I kinda wonder what the use case is how do you typically use this?

It's mainly to filter logs in kibana or similar tools. But indeed I copy this processor from project to project but I'm not sure it's very useful. I'm okay to close it your think it's useless

OK, I don't super clearly see the use case I have to say, so yeah maybe rather close and you publish it as a third party repo if you wanna stop copy pasting it around :)


correctly updated to V1, still getting not iteratable error

Hi guys, I correctly updated to v1 so changed the classes and added CommandList and CommandEmpty to the component.
Here is a implementation of a autocomplete but on select getting the error.
Probably just a small thing but can't catch the error. Help would be 🔥🔥
import { useState, useRef, useCallback, type KeyboardEvent } from "react";
import { Command as CommandPrimitive } from "cmdk";

import { cn } from "@/lib/cn";

import { Skeleton } from "@/components/ui/Skeleton";
import {
  CommandGroup,
  CommandItem,
  CommandList,
  CommandInput,
} from "@/components/ui/Command";
import { Check as CheckIcon } from "lucide-react";

export type Option = Record<"value" | "label", string> & Record<string, string>;

type AutoCompleteProps = {
  options: Option[];
  emptyMessage: string;
  value?: Option;
  onValueChange?: (value: Option) => void;
  isLoading?: boolean;
  disabled?: boolean;
  placeholder?: string;
};

const AutoComplete = ({
  options,
  emptyMessage,
  value,
  onValueChange,
  isLoading = false,
  disabled,
  placeholder,
}: AutoCompleteProps) => {
  const [isOpen, setOpen] = useState(false);
  const [selected, setSelected] = useState<Option>(value as Option);
  const [inputValue, setInputValue] = useState<string>(value?.label || "");
  const inputRef = useRef<HTMLInputElement>(null);

  const handleKeyDown = useCallback(
    (event: KeyboardEvent<HTMLDivElement>) => {
      const input = inputRef.current;
      if (!input) {
        return;
      }

      // Keep the options displayed when the user is typing
      if (!isOpen) {
        setOpen(true);
      }

      // This is not a default behaviour of the <input /> field
      if (event.key === "Enter" && input.value !== "") {
        const optionToSelect = options.find(
          (option) => option.label === input.value,
        );
        if (optionToSelect) {
          setSelected(optionToSelect);
          onValueChange?.(optionToSelect);
        }
      }

      if (event.key === "Escape") {
        input.blur();
      }
    },
    [isOpen, options, onValueChange],
  );

  const handleBlur = useCallback(() => {
    setOpen(false);
    setInputValue(selected?.label);
  }, [selected]);

  const handleSelectOption = useCallback(
    (selectedOption: Option) => {
      setInputValue(selectedOption.label);

      setSelected(selectedOption);
      onValueChange?.(selectedOption);

      // This is a hack to prevent the input from being focused after the user selects an option
      // We can call this hack: "The next tick"
      setTimeout(() => {
        inputRef?.current?.blur();
      }, 0);
    },
    [onValueChange],
  );

  return (
    <CommandPrimitive onKeyDown={handleKeyDown}>

        <CommandInput
          ref={inputRef}
          value={inputValue}
          onValueChange={isLoading ? undefined : setInputValue}
          onBlur={handleBlur}
          onFocus={() => setOpen(true)}
          placeholder={placeholder}
          disabled={disabled}
          className="text-base"
        />

        {isOpen ? (

            <CommandList className="rounded-lg ring-1 ring-slate-200">
              {isLoading ? (
                <CommandPrimitive.Loading>

                    <Skeleton className="h-8 w-full" />

                </CommandPrimitive.Loading>
              ) : null}
              {options.length > 0 && !isLoading ? (
                <CommandGroup>
                  {options.map((option) => {
                    const isSelected = selected?.value === option.value;
                    return (
                      <CommandItem
                        key={option.value}
                        value={option.label}
                        onMouseDown={(event) => {
                          event.preventDefault();
                          event.stopPropagation();
                        }}
                        onSelect={() => handleSelectOption(option)}
                        className={cn(
                          "flex w-full items-center gap-2",
                          !isSelected ? "pl-8" : null,
                        )}
                      >
                        {isSelected ? <CheckIcon className="w-4" /> : null}
                        {option.label}
                      </CommandItem>
                    );
                  })}
                </CommandGroup>
              ) : null}
              {!isLoading ? (
                <CommandPrimitive.Empty className="select-none rounded-sm px-2 py-3 text-center text-sm">
                  {emptyMessage}
                </CommandPrimitive.Empty>
              ) : null}
            </CommandList>

        ) : null}

    </CommandPrimitive>
  );
};

export { AutoComplete };

can be used like like ➔

const FRAMEWORKS = [
  {
    value: "next.js",
    label: "Next.js",
  },
  {
    value: "sveltekit",
    label: "SvelteKit",
  },
  {
    value: "nuxt.js",
    label: "Nuxt.js",
  },
];

  <AutoComplete
        options={FRAMEWORKS}
        emptyMessage="No resulsts."
      />

@ImamJanjua  <CommandList /> needs to be present always, not conditionally as you have shown here. I solution I used was using CSS to make it hidden vs. removing it from the DOM.

@darenmalfait Can you provide a little more information there? I'm able to use them inside those components successfully. Here is a working example: https://ui.shadcn.com/docs/components/combobox

To be fair, many of the examples on the shadcn page don't work because they don't use <CommandList> at all - and that's when this error occurs.
@darenmalfait if you wrap all the <CommandItem> tags in a <CommandList> it should work.

But why not include this commit that fixes this issue in a new release? Besides, this issue suggests that we can render List component independently.

@ImamJanjua <CommandList /> needs to be present always, not conditionally as you have shown here. I solution I used was using CSS to make it hidden vs. removing it from the DOM.

Ugh thanks - took me so long to figure this out. I'm conditionally rendering the children of <CommandList> now (empty fragment when not open) rather than hiding as I'm using this s the basis for an autocomplete input and have a bunch on the page.


Getting error : attempted to initialize an object with an unknown UUID.

Expected Behaviour
Plugin should install properly
Actual Behaviour
Installing "phonegap-plugin-push" for ios
[!] <PBXSourcesBuildPhase UUID=1D60588E0D05DD3D006BFB54> attempted to initialize an object with an unknown UUID. 7EC8547169A74BD5A8A5460B for attribute: files. This can be the result of a merge and  the unknown UUID is being discarded.
[!] <PBXSourcesBuildPhase UUID=1D60588E0D05DD3D006BFB54> attempted to initialize an object with an unknown UUID. A681F5B62F934658A6DEC23E for attribute: files. This can be the result of a merge and  the unknown UUID is being discarded.
[!] <PBXSourcesBuildPhase UUID=1D60588E0D05DD3D006BFB54> attempted to initialize an object with an unknown UUID. E23C540A0DA14793BE17F093 for attribute: files. This can be the result of a merge and  the unknown UUID is being discarded.
[!] <PBXSourcesBuildPhase UUID=1D60588E0D05DD3D006BFB54> attempted to initialize an object with an unknown UUID. 1AC97AB1822E4E15997E168E for attribute: files. This can be the result of a merge and  the unknown UUID is being discarded.
[!] <PBXSourcesBuildPhase UUID=1D60588E0D05DD3D006BFB54> attempted to initialize an object with an unknown UUID. AE2A50F808434C37B9584D53 for attribute: files. This can be the result of a merge and  the unknown UUID is being discarded.
[!] <PBXSourcesBuildPhase UUID=1D60588E0D05DD3D006BFB54> attempted to initialize an object with an unknown UUID. EB49FF87CB794718B96280A7 for attribute: files. This can be the result of a merge and  the unknown UUID is being discarded.
[!] <PBXSourcesBuildPhase UUID=1D60588E0D05DD3D006BFB54> attempted to initialize an object with an unknown UUID. 998B570BB91F4A0FB8D4B663 for attribute: files. This can be the result of a merge and  the unknown UUID is being discarded.
[!] <PBXSourcesBuildPhase UUID=1D60588E0D05DD3D006BFB54> attempted to initialize an object with an unknown UUID. 8562C2D8B88748C69F022169 for attribute: files. This can be the result of a merge and  the unknown UUID is being discarded.
Reproduce Scenario (including but not limited to)
Steps to Reproduce
Platform and Version (eg. Android 5.0 or iOS 9.2.1)
Installed platforms:
android 6.0.0
ios 4.3.1
(Android) What device vendor (e.g. Samsung, HTC, Sony...)
Cordova CLI version and cordova platform version
cordova --version                                    6.5.0
cordova platform version android                     6.0.0

Plugin version
cordova plugin version | grep phonegap-plugin-push   1.9.2

Sample Push Data Payload
Sample Code that illustrates the problem
Logs taken while reproducing problem
Fetching plugin "https://github.com/phonegap/phonegap-plugin-push" via git clone
Repository "https://github.com/phonegap/phonegap-plugin-push" checked out to git ref "master".
Installing "phonegap-plugin-push" for android
ANDROID_HOME=/Users/tusharvelingkar/Library/Android/sdk
JAVA_HOME=/Library/Java/JavaVirtualMachines/jdk1.8.0_112.jdk/Contents/Home
Subproject Path: CordovaLib
Incremental java compilation is an incubating feature.
:clean
:CordovaLib:clean
BUILD SUCCESSFUL
Total time: 1.605 secs
Subproject Path: CordovaLib
Installing "phonegap-plugin-push" for ios
[!] <PBXSourcesBuildPhase UUID=1D60588E0D05DD3D006BFB54> attempted to initialize an object with an unknown UUID. 7EC8547169A74BD5A8A5460B for attribute: files. This can be the result of a merge and  the unknown UUID is being discarded.
[!] <PBXSourcesBuildPhase UUID=1D60588E0D05DD3D006BFB54> attempted to initialize an object with an unknown UUID. A681F5B62F934658A6DEC23E for attribute: files. This can be the result of a merge and  the unknown UUID is being discarded.
[!] <PBXSourcesBuildPhase UUID=1D60588E0D05DD3D006BFB54> attempted to initialize an object with an unknown UUID. E23C540A0DA14793BE17F093 for attribute: files. This can be the result of a merge and  the unknown UUID is being discarded.
[!] <PBXSourcesBuildPhase UUID=1D60588E0D05DD3D006BFB54> attempted to initialize an object with an unknown UUID. 1AC97AB1822E4E15997E168E for attribute: files. This can be the result of a merge and  the unknown UUID is being discarded.
[!] <PBXSourcesBuildPhase UUID=1D60588E0D05DD3D006BFB54> attempted to initialize an object with an unknown UUID. AE2A50F808434C37B9584D53 for attribute: files. This can be the result of a merge and  the unknown UUID is being discarded.
[!] <PBXSourcesBuildPhase UUID=1D60588E0D05DD3D006BFB54> attempted to initialize an object with an unknown UUID. EB49FF87CB794718B96280A7 for attribute: files. This can be the result of a merge and  the unknown UUID is being discarded.
[!] <PBXSourcesBuildPhase UUID=1D60588E0D05DD3D006BFB54> attempted to initialize an object with an unknown UUID. 998B570BB91F4A0FB8D4B663 for attribute: files. This can be the result of a merge and  the unknown UUID is being discarded.
[!] <PBXSourcesBuildPhase UUID=1D60588E0D05DD3D006BFB54> attempted to initialize an object with an unknown UUID. 8562C2D8B88748C69F022169 for attribute: files. This can be the result of a merge and  the unknown UUID is being discarded.
[!] <PBXSourcesBuildPhase UUID=1D60588E0D05DD3D006BFB54> attempted to initialize an object with an unknown UUID. F07DC83F4D744CFB8600CBAF for attribute: files. This can be the result of a merge and  the unknown UUID is being discarded.
[!] <PBXSourcesBuildPhase UUID=1D60588E0D05DD3D006BFB54> attempted to initialize an object with an unknown UUID. 4C4252986B454BB2AEA5BEAA for attribute: files. This can be the result of a merge and  the unknown UUID is being discarded.
[!] <PBXSourcesBuildPhase UUID=1D60588E0D05DD3D006BFB54> attempted to initialize an object with an unknown UUID. D544E47F51E34013A8BEBA26 for attribute: files. This can be the result of a merge and  the unknown UUID is being discarded.
[!] <PBXSourcesBuildPhase UUID=1D60588E0D05DD3D006BFB54> attempted to initialize an object with an unknown UUID. 6656642C828846CFB54B5435 for attribute: files. This can be the result of a merge and  the unknown UUID is being discarded.
[!] <PBXSourcesBuildPhase UUID=1D60588E0D05DD3D006BFB54> attempted to initialize an object with an unknown UUID. 04BA6D2DC48E4F5FAA2DED24 for attribute: files. This can be the result of a merge and  the unknown UUID is being discarded.
[!] <PBXSourcesBuildPhase UUID=1D60588E0D05DD3D006BFB54> attempted to initialize an object with an unknown UUID. 10D1F6C3D92944F8A234B8E0 for attribute: files. This can be the result of a merge and  the unknown UUID is being discarded.
[!] <PBXSourcesBuildPhase UUID=1D60588E0D05DD3D006BFB54> attempted to initialize an object with an unknown UUID. C45D56F95DA240C8860DB1BE for attribute: files. This can be the result of a merge and  the unknown UUID is being discarded.
[!] <PBXSourcesBuildPhase UUID=1D60588E0D05DD3D006BFB54> attempted to initialize an object with an unknown UUID. DA4F045443BB4C2295CE5FB2 for attribute: files. This can be the result of a merge and  the unknown UUID is being discarded.
[!] <PBXSourcesBuildPhase UUID=1D60588E0D05DD3D006BFB54> attempted to initialize an object with an unknown UUID. C398E45C799B4779BDC63608 for attribute: files. This can be the result of a merge and  the unknown UUID is being discarded.
[!] <PBXSourcesBuildPhase UUID=1D60588E0D05DD3D006BFB54> attempted to initialize an object with an unknown UUID. FAF195B091384AC58493678C for attribute: files. This can be the result of a merge and  the unknown UUID is being discarded.

@tushar-velingkar that's more of an issue with CocoaPods than the plugin. See these issues:
https://github.com/CocoaPods/Xcodeproj/issues/42
https://github.com/CocoaPods/CocoaPods/issues/1822

I have reinstalled the cocoapods and tried but getting same error.
Here in this link
http://stackoverflow.com/questions/21366549/errorthe-sandbox-is-not-in-sync-with-the-podfile-lock-after-installing-res/22878202#22878202
Theres one step : Remove all libPods*.a in Build Phases > Link Binary With Libraries
Where to find these files in phonegap-plugin-push project?

@tushar-velingkar you'd have to open the Xcode workspace in platforms/ios

Closing, inactivity. Please comment/re-open if you have more details.


Client launches job and exits

The current run_circuit behavior is to wait online for the results.
An alternative behavior is the client sends the request, the server answer success and the client immediately exits.
The user can see when the results are ready on the webapp user page. He can also download the files from browser by clicking a button there.

For this point, I would like to suggest defining a syntax similar to https://docs.quantum.ibm.com/api/qiskit/0.19/qiskit.providers.ibmq.job.IBMQJob.

Just blocking within the library is never a great option, but sometimes you might want to return a handle that will execute in the same script, whenever it's ready, without blocking other possible actions.
The way to do this is to use an async primitive:
https://docs.python.org/3/library/asyncio.html
Then, identifying jobs with a token, and being able to fetch results even in a separate script is a good idea as well (because the client might crash for whatever reason, but if you dispatched an expensive calculation you might still want to be able to retrieve the result).

For this point, I would like to suggest defining a syntax similar to https://docs.quantum.ibm.com/api/qiskit/0.19/qiskit.providers.ibmq.job.IBMQJob.

If we want to mimic the Qiskit interface, the run_circuit function shouldn't return the result:
https://github.com/qiboteam/qibo-client/blob/2e358efa6568816c1f12ffefc874efe0702ff2ac/src/qibo_client/qibo_client.py#L146-L179

Indeed, it should return a job object. Could you please elaborate on a proposal about this?

I'm implementing something like the following
client = Client(token, url="http://localhost:8011/")
job = client.run_circuit(circuit, nshots=100, device="sim")
result = job.result()
print(result)

The job object is similar to this: https://docs.quantum.ibm.com/api/qiskit/0.19/qiskit.providers.ibmq.job.IBMQJob
At the moment I've thought about the following methods:

refresh
status
running
done
result

It will be available in  a commit of the PR soon


v1.12 Backports 2023-12-05

[ ] #29182 (@viktor-kurchenko)
[ ] #29566 (@christarazi)

Once this PR is merged, a GitHub action will update the labels of these PRs:
 29182 29566

@viktor-kurchenko @christarazi Some minor conflicts were hit, please check commit notes for details.

/test-backport-1.12

/test-backport-1.12

/test-1.17-4.9


.X float numbers converted like @import X

If I try to convert something like:
@transition-speed: .3s;

it will be converted to:
$transition-speed: @import 3s;

Thanks for this great tool!

Woot! @mismith thanks for the PR. Just checking it now....

Woot! @mismith thanks for the PR. Just checking it now....

Close by #8.

Close by #8.


Enhance notification centre with better event handling

Signed-off-by: ashish<EMAIL_ADDRESS>Description
This PR

Adds a circular buffer queue for events to be stored and reflected to all new connected clients.
Ensures that, in case multiple clients are connected to single Meshery instance then all events on that Meshery instance are forwarded to all connected clients.

Notes for Reviewers
Signed commits

[x] Yes, I signed my commits.

@MUzairS15  We will start our discussion from here.


tests on ./src/net/client_websocket_test.go timeout

Describe the bug
If you type:
go test ./src/net/...

FAIL	github.com/andrecronje/lachesis/src/net	600.005s

To Reproduce
See above.
Expected behavior
The test should finish (hopefully in less than a second).

I'll have a look into this tommorow

@rishflab to test client addr parameter you are passing is the address of websocket server and the server must be up and running to test client. In test case 10 messages exchange happens between server and client and both go off.

Hey thanks for you response.
The tests pass when i run the server test and the client tests sequentially but the processes still hang. Gracefulshutdown doesn’t seem to work on my machine, does it work on yours? (I’m running Ubuntu 18.04)
Also we are setting up CI/CD and these tests won’t work there as  must run in a specific order which cannot be guaranteed.

@rishflab I have tested on my machine (macOS Mojave) and it worked. To test client its mandatory to run server first. So what we can do is running server within client test other than depending on server test, in same way in server test have to add client test stuffs.

Uh, if the client needs the server to be or if some order is required, then this is not a unit test any more (which is what go test assumes).
Is there a way we can mock the server? If not, maybe we can move this test out of the unit test chain and make some kind of integration test?

Yeh we should make this sort of test an integration test.
I don't think the websocket server is currently being used anywhere in the codebase. I removed it along with many other unused transports and everything seems to be running. I don't think it should be in master unless it is being used in master. It is unneccesary cognitive overhead and maintenance burden.
If it is part of an incomplete feature it should probably sit in that feature branch until it is complete.

@rishflab the purpose of test was to clarify the usage. And so far I can remember @andrecronje told me that it will be used to send events within nodes. Not sure if we are still on the track or decided something else to use.

Yeh im curious myself, because i think gRPC is being used for internode communication, not 100% sure.

Hi, plz leave comments to help understand or resolve the issue.
@s4kibs4mi which issue does those new files belong to?
Agree with @AgustinCB. The tests need to be rewritten. In general, every test should not depend on any other tests.

Agreed. Unit tests should be independent, and finish rapidly.
The distinction is made clearly by Martin Fowler, between Sociable Tests and Solitary Tests.
https://martinfowler.com/bliki/UnitTest.html
(referencing Jay Fields, who originated these terms in https://leanpub.com/wewut)
We want only Solitary Tests to run from go test.

I will rewrite the tests.
@quan8 @andrecronje can clarify.