immediateStop does not work as expected for Http2

Description:
public function main() returns error? {
    http:Listener 'listener = check new(9090);
    http:Service 'service = service object {
        int i = 0;
        resource function get bar () returns string {
            self.i = self.i + 1;
            return "Hello " + self.i.toString();
        }
    };
    check 'listener.attach('service, "hello");
    check 'listener.'start();

    http:Client 'client = check new("localhost:9090");
    string res = check 'client->get("/hello/bar");
    io:println(res);

    check 'listener.immediateStop();
    runtime:sleep(5);
    res = check 'client->get("/hello/bar");
    io:println(res);
}

In the above code, the expected output is only Hello 1. However, the output is Hello 1 Hello 2. Noticed this when adding tests for immediateStop in gRPC listener (uses the same immediateStop implementation of http).
Affected Versions:
2.5.0-20221020-145800-ad2461d

Tested the above code with HTTP 1.1 listener and I am getting error: Something wrong with the connection for the second request as expected.

This issue is not reproducible in the latest pack (http:2.5.0). Hence closing.

This issue can be reproduced when we use 2 http:Clients for above scenario.

The reproducible code :
import ballerina/io;
import ballerina/lang.runtime;
import ballerina/http;

public function main() returns error? {
    http:Listener 'listener = check new(9090);
    http:Service 'service = service object {
        resource function get hello () returns string {
            return "Hello ";
        }
    };
    check 'listener.attach('service);
    check 'listener.'start();

    http:Client client1 = check new("localhost:9090");
    string res = check client1->get("/hello");
    io:println(res);

    check 'listener.immediateStop();
    runtime:sleep(5);

    http:Client client2 = check new("localhost:9090");
    res = check client2->get("/hello");
    io:println(res);
}

Run the file using bal run main.bal
Output :
Hello
Hello

Expected :
Hello
error: Something wrong with the connection

This is working as expected with HTTP/1.1 listener and giving the above output for HTTP/2 listener

This fix is need for 2201.2.x as well

Fixed via https://github.com/ballerina-platform/module-ballerina-http/pull/1351


Open Camera Slowly on Android.

Symptoms
Camera opens slowly in android studio project. Please see attached image below

Environment

Android 12
Oppo Reno 4 ( 8GB/128GB)
Mediapipe latest version.

Time measurement
The screen is black for about 2 seconds before showing camera frames.
This is logcat of  measurement while running application
2022-09-16 10:29:40.555 19250-19250/com.thinhnguyen.xface D/ObjectRecordsViewModel: setupStreamingPipeline takse:<PHONE_NUMBER> ns
The function setupStreamingPipeline in code snip below.
Code snip
Full class: https://pastebin.com/pE1QdjbR
Some of code related to setup stream pipeline:
private val faceDetectionPreview by lazy {
        FaceDetection(
            activity, FaceDetectionOptions
                .builder()
                .setStaticImageMode(false)
                .setModelSelection(0) //short range model
                .build()
        )
    }

override fun onResume() {
        super.onResume()
        // objectRecordsViewModel.fetchObjectRecords() and objectRecordsViewModel.runTestFace() do background job in coroutine.
        objectRecordsViewModel.fetchObjectRecords()
        objectRecordsViewModel.runTestFace()
        if (allPermissionsGranted()) {
            getAvailableLensFacing()
            val elaspe = measureNanoTime {
                setupStreamingPipeline()
            }
            Timber.d("setupStreamingPipeline takse: $elaspe ns")
        } else {
            requestPermissionLauncher.launch(REQUIRED_PERMISSIONS)
        }
    }

private fun setupStreamingPipeline() {

        faceDetectionPreview.setErrorListener { message, e ->
            Timber.e(TAG,"setupStreamingPipeline: $message -- ${e.message}"
            )
        }
        cameraInput = CameraInput(activity)
        cameraInput?.setNewFrameListener { textureFrame ->
            faceDetectionPreview.send(textureFrame)
        }
        glSurfaceView = SolutionGlSurfaceView(
            activity, faceDetectionPreview.glContext,
            faceDetectionPreview.glMajorVersion
        )
        glSurfaceView?.setSolutionResultRenderer(FaceDetectionResultGlRenderer())
        glSurfaceView?.setRenderInputImage(true)
        faceDetectionPreview.setResultListener { faceDetectionResult ->
            setupFaceDetectionResults(faceDetectionResult)
        }
        glSurfaceView?.post { starCamera() }
        binding.glSurface.removeAllViews()
        binding.glSurface.addView(glSurfaceView)
        glSurfaceView?.visibility = View.VISIBLE
        binding.glSurface.requestLayout()
    }

    private fun starCamera() {
        cameraInput?.start(activity,
        faceDetectionPreview.glContext,
        if (viewModel.getCurrentCameraId() == CameraSelector.LENS_FACING_FRONT) CameraInput.CameraFacing.FRONT else CameraInput.CameraFacing.BACK,
        glSurfaceView!!.width,
        glSurfaceView!!.height)
    }

Is it possible to make it faster? Please correct me if any wrong usage?

Hi @NguyenTrongThinh,
We have similar closed issue #3384 and comment(3384), which will give you the better understanding for you query.
Thank you!

Hi @kuaashish, thank you for your answer.

Hi @NguyenTrongThinh, Currently MediaPipe has limited resources for new features and needs improvement in the model performance. We will update if there is any specific update on this issue. Thank you!

Hi @kuaashish, sure! Thanks and hope for a new release with some improvement in model performance.


Missing focal_loss package

Hi, please insert focal_loss==0.0.7 to requirements.txt file

Hi there, added the new requirement. Thank you.


Error popup styling

Open Contacts Error (DB) and try to change the selected record:
Safari:

Chrome:

Safari shows a small line above buttons (until you move the window) and Chrome doesn't show the line.
Both browsers show round gray corners:

So there's something wrong!
The desktop UI:

There's no gray line.
If you test with Messages screen and open the Information:

looks in react UI:

So there's something wrong with styling, because:
Error popup has shadow in header, messages doesn't have such shadow. Error popup has big paddings, message doesn't use the same padding.
With Messages screen, you can test both, with Button:

Fehler
Error (closed)

the error dialog paddings are not good enough, because the right padding is not the same as the left? buttons vs. icon...

There also seems to be a difference between an actual error (e.g. in Contacts Error) and the Error styled Dialog in the Messages screen.
I'd suggest the following adjustments:

[ ] always have icon in the the header to the left of the title
[ ] haromnize paddings
[ ] harmonize visual lines e.g. same distance to left in dialog title and body

the styling of the two different error dialogs should be harmonized now


Create/Edit Page: Preview field copies its image to Full Size Image field

If Preview Image Screenshots in populated when saving, the system automatically copies the image into Full Size Image field.
The user may thing they populated the field.

Confirmed in development branch

@jal-vsi can you confirm this is fixed?

This is no longer an issue


[Feature]: Integrate Writing in the Margins inference pattern ($5,000 Bounty)

🚀 The feature, motivation and pitch
Writer has introduced "Writing in the Margins" algorithm (WiM) that
boosts results for long context window retrieval. The task is composed from "context" and "query" that is put at the end.
The basic idea is to generate additional text while doing chunked prefill. The extra decoding step does not contribute to the KV-cache prefilling. The text is later concatenated and added to the final chunk.
There exists a pure HuggingFace transformers implementation: https://github.com/writer/writing-in-the-margins
This is a high level overview of the inference pattern:

And this is more detailed explanation how to do it efficiently by batch generation and prefill requests.

The algorithm itself:

The expected solution can be a feature added to vllm or a vllm fork, we are happy to maintain it.
The WiM solution assumes extra input preprocessing steps (nltk splitting) and variable chunk size for chunked prefill, but those details can be left out from the solution.
We offer $5,000 bounty for the main contributor (but the bounty can be shared if there is more than one developer involved).
paper: ArXiv
press coverage:

#1 Paper of the day in HuggingFace
Paper Club
Writer's blog

Alternatives
No response
Additional context
Github: https://github.com/writer/writing-in-the-margins
Before submitting a new issue...

[X] Make sure you already searched for relevant issues, and asked the chatbot living at the bottom right corner of the documentation page, which can answer lots of frequently asked questions.

That's a brilliant idea.
I think
This algorithm can be implemented efficiently through prefix cache, and vllm supports prefix cache.
So you can implement this algorithm without modifying any vllm code.
specific

start vllm with prefix cache open
submit Margin generation requests in order
immediately submit the next Margin generation request when the previous request returns the first token.

How do I get $5,000? （joke）

Thank you!
Indeed Automatic Prefix Caching could be used to simulate WiM algorithm. However there are a few issues related with this:

Different tokenization:

The real issue is the different tokenization you get by sending the text "A gentle breeze stirred" and then "the leaves as children" or the text "A gentle breeze stirred the leaves as children". To really apply WiM by exploiting Prefix Caching, you need to send multiple requests trimmed at the exact point in which you want the tokenizer to be break the text, but this would mean sending multiple requests to vLLM (which is what you do when you "simulate it"), which would result in much longer time to process compared to prefill-generate-prefill-generate done in the same request.

High workload KV cache eviction:

In a high workload scenario, the KV-Cache would be evicted, and in case of cache-miss it would be re-created again. But is it a problem? It may be. The whole point of WiM is to reuse the partially prefilled KV-Cache (or in other terms, KV prefixes).

Storing customer data:
Automatic prefix caching means user data is stored in RAM. We would rather turn that feature off due to compliance issues.

To summarise: Good point with Automatic Prefix Caching, it can be used for prototyping. We still need something different for production use case.

Use prompt_token_ids as input can bypass the tokenizer.
The previous Margin generation is still in progress, so KV-Cache is still on the GPU. You cannot miss it.
Prefix Caching is almost a perfect solution


Add new tplink device type

Description:
Added new tplink device type.
Add version parameter in configuration file that user can specific to use one version of device component.
If version field is 0, the component works same as before.
Pull request in home-assistant.github.io with documentation (if applicable): home-assistant/home-assistant.github.io#<home-assistant.github.io PR number goes here>
Example entry for configuration.yaml (if applicable):
  - platform: tplink
    host: <IP_ADDRESS>
    username: admin
    password: xxxxxx
    version: 6

Checklist:
If user exposed functionality or configuration variables are added/changed:

[ ] Documentation added/updated in home-assistant.github.io

If the code communicates with devices, web services, or third-party tools:

[x] Local tests with tox run successfully. Your PR cannot be merged unless tests pass
[ ] Tests have been added to verify that the new code works.

Device Tplink6 supports detect multiple login, I am adding a configuration to it.
Old component does not have this detection, the conf won't effect.

The platform logic to talk to TP-Link routers will need to be extracted into a third party lib before we can add support for more TP-Link routers.

@fanthos any updates on this PR?

@andrey-git
Currently no updates on this PR.
TP-Link has many different web UI on their router, so their might be many problems to write one library for all models.
I think its might be better if home-assistant has something like components list(maybe marketplace?).

You don't have to have 1 library that fits all models. Instead just have all the code in 1 place that we can import from is good enough. It just should no longer be in Home Assistant.

This PR seems to have gone stale. Closing it. You can reopen it when you're ready to finish it.


xunit xml test results

Test produces a json report that was jenkins compatible. Need to modify it to produce an xunit xml file for use by bitbucket and other similar tools

This is closed by PR #33

This is closed by PR #33


Disable kustomization_override in flux_bootstrap_git resource

Hi, thanks a lot for the terraform provider.
I would like to ask if it is possible to disable the kustomization_override in flux_bootstrap_git resource, so that the resource doesn't check for any changes in the Kustomization file.
My use case is using the flux_bootstrap_git only for bootstrapping, and modifying the kustomization.yaml file through git repo in the flux-system directory instead of in terraform.

These types of things become very difficult to implement. I am already stretching the possibilities of Terraforms state diff by a bit as it is. Adding exceptions would make things more challenging.
Could I ask what your use case for this would be? Why not manage everything with Terraform?

My use case is to use the flux_bootstrap_git strictly for bootstrapping, and to do any YAML modification in the bootstrapped git repo. There is just an aversion in my organization to install YAML through terraform, but if it is not possible then overriding the Kustomization in terraform would work just fine

@aditditto the kustomization_override should be used only for Flux and since you decided to bootstrap with Terraform instead of the Flux CLI, the Flux upgrades must be managed from TF. If you patch the Flux controllers outside of TF, then how are you going to upgrade?
What type of changes are you making to the Kustomization file? How often do you make them?

@aditditto the kustomization_override should be used only for Flux and since you decided to bootstrap with Terraform instead of the Flux CLI, the Flux upgrades must be managed from TF. If you patch the Flux controllers outside of TF, then how are you going to upgrade?
What type of changes are you making to the Kustomization file? How often do you make them?

I have never tried upgrading, but my best guess for how to upgrade Flux would be to change the version field in the flux_bootsrap_git resource.
Currently we are still migrating to Kubernetes, so I am still testing out Flux. Currently I only want to patch the service account to use GKE Workload Identity, so something like this
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
  - gotk-components.yaml
  - gotk-sync.yaml
patches:
  - patch: |
      apiVersion: v1
      kind: ServiceAccount
      metadata:
        name: source-controller
        annotations:
          iam.gke.io/gcp-service-account: <identity-name>
    target:
      kind: ServiceAccount
      name: source-controller

I've got a similar issue; bootstrapping a new cluster and then letting Flux self-manage from the repo.
Problem is that the kustomization.yaml being bootstrapped is blank, and doesn't contain the service account details, so it overwrites it each time and, besides causing a redeployment, it makes commits and gets involved with our CI :upside_down_face:
I've tried lifecycle { ignore_changes = all } but it still tries to update it every time. Adding the kustomization_override file to the Terraform directory was the only way to prevent it re-bootstrapping every time.

Seems like a dup https://github.com/fluxcd/terraform-provider-flux/issues/530. Is there a plan to support this?

Echoing @stefanprodan's insights, it's crucial to handle Flux's configuration exclusively through Terraform, especially when utilizing flux_bootstrap_git. As mentioned above, this approach ensures smooth operations and helps avoid issues that might arise otherwise. I will close this issue as @stefanprodan stated the fix above.


API endpoint to find a User by their ID

I would like to: Provide an API endpoint to find a User by their ID
So that I can: Integrate this User Management Service with the SERaaS API

Development Note
Endpoint: GET /authentication/validate/{userId}
Description: Send a userId and check if it corresponds with any user registered in the database.
Input:

userId (Path) - String

Output:
{
	-- true if user exists, otherwise false
	userExists: true
}

Test Cases

Should give true if user exists in the database
Should give false if user does not exist in the database
Should give error if user ID provided is not an appropriate string
Should give error if no user ID provided to path

Done in endpoint-validate-userid branch.


[Storage Blob Service] Bearer challenge Support in storage SDK

is this for getting Bearer token?  @antkmsft  isn't that the secret credential?

I don't know what this feature involves either. It's just a feature in storage team's backlog that i'm going to work on in the future.

is this for getting Bearer token? @antkmsft isn't that the secret credential?

No, it's different.

This feature needs to be implemented in Azure.Identity first, and then Storage is going to integrate the new TokenPolicy.

Hi @XiaoningLiu since you're the feature owner, can you elaborate what needs to be done in Identity sdk and what needs to be done in storage sdk?

relevant to https://github.com/Azure/azure-sdk-for-cpp/issues/304

@Jinming-Hu @XiaoningLiu What is the timelime for this work?  What is the priority for this ask?

Confirmed by @XiaoningLiu that JS currently does not have it supported. However, @RickWinter you might want to follow up with Ashish regarding the priority instead.

Part of, and basically is largely #1601


Form Data Restoration

As user shared feedback that when a group will be restored, any forms and form related data will also be restored.
Problem: https://github.com/MicrosoftDocs/OfficeDocs-O365ITPro/issues/441

@nenonix @JohanFreelancer9 - kindly do the copy editor review for this PR. Thanks.

@joinimran - please merge the commit on the copy/edit review made by nenonix or make the necessary changes on the PR following the suggestions he made. Thank you.


It can't works well with react

Like this line should be like this
and It became like this
<
View style = { styles.container } >
which cause error.
how to avoid that?

Yeah, I love this extension but can not use it with react especially JSX.
Will you guys try to fix it?

Same here.. would love for it to have an option to enable JSX formatting in js code instead of mangling my jsx templates. For now I've just turned off formatting on save.


Auto-update for packages related to 'MediatR'

Updates package 'MediatR' to version '8.0.2'
Updates package 'MediatR.Extensions.Microsoft.DependencyInjection' to version '8.0.1'

/azp run

The SQL packages in the common repo need to be updated before this can go though. There is also an even newer version out (8.1.0)


Flank crashes on startup claiming APK on bucket doesn't exist

Flank v20.09.0 crashes on startup with my test suit, claiming that one of the apks doesn't exist:
[gs-url] from additional-app-test-apks.app doesn't exist
I redacted the gs url, but it definitely does point to a valid APK, and running the same configurations on flank v20.08.03 allows tests to be ran without this issue.
I use fladle so I can't get the raw yaml being passed to flank until flank gets far enough in its startup sequence, but here's the fladle configs I pass in (minus the specified APKs):
                variant.set("debug")
                serviceAccountCredentials.set(project.rootDir.resolve("firebase.json"))
                testTimeout = "40m"
                recordVideo = false
                performanceMetrics = false
                projectId = GCLOUD_PROJECT_ID
                flankVersion.set("20.09.0")
                shardTime = 120
                resultsBucket = // some bucket
                runTimeout.set("45m")
                ignoreFailedTests.set(false)
                smartFlankDisableUpload = false
                disableSharding = false
                outputStyle.set("single")

                smartFlankGcsPath = // smark flank gcs path
                devices = listOf(mapOf(
                  "model" to "Nexus7",
                  "version" to "22",
                  "locale" to "en_US"
                ))
                useOrchestrator = true
                flakyTestAttempts = 0
                legacyJunitResult.set(true)

Thanks for reporting! We'll take a look.

@MatthewTPage this is fixed in v20.09.1 (releasing today)


🐛 Bug Report - Mozambique digits

The number of Mozambique has in total of 9 digits after the prefix 258, however, the antd-phone-input only accept 8 digits.

According to Wikipedia, 8 and 9 are both valid length phone numbers for Mozambique, and only 8 is considered in validations.json. Thank you, @Elson-Timana, for the report. This will be fixed in the next release

Thanks, but i cannot find this file in my project, as you can see in image below.

It was not supposed to be in your project. The file is a part of the antd-phone-input, and you use it as a dependency.

Thanks, then how can i resolve this issue? it's important to my project because I'm from Mozambique

If you want to contribute, you can clone this repository, open the src/legacy/validations.json, and add another possible length to the phoneNumber property in the list. You should change the mz only. After you make the changes, you should build and install the local build to verify the validity. If all looks okay, open a pull request through GitHub and I will review it.
Or just wait for 1-2 days, I will fix this with upcoming optimizations and you will use the fresh release.

Sounds great, I think I can wait.


[BUG] You can't migrate a VM off of a host that is unavailable

Describe the bug

You can't migrate a VM off of a host that is unavailable
To Reproduce
Steps to reproduce the behavior:

Create a new VM on a host in a cluster with at least 4 nodes
Turn off that host
Try to migrate the VM to a new host
Expected behavior

The VM should be able to be migrated
Support bundle

harvester-supportbundle_c77a57eb-bc3d-4ed3-9037-6f9da0c0e2f6_2021-06-28T23-39-53Z.zip
Environment:

Harvester ISO version: master-158a35d3-head
Underlying Infrastructure (e.g. Baremetal with Dell PowerEdge R630): bare metal on DL160

Additional context
It gets stuck on migrating.

We basically cannot do anything to the VM right now if the host where it is running suddenly goes offline.

@guangbochen This was marked as blocked by https://github.com/harvester/harvester/issues/982 but was moved into ready for testing? Is it not blocked anymore?

Tested in master-a412145f-head.

Turned off host that had VMs on it
Waited for host to show as powered off in ILO
Tried to migrate VM to new host
I got an error that said that the VM wasn't in ready status and a 500 error in the console.

@noahgildersleeve, I think it is expected behavior. We can't "Live Migrate" a VM from a shutdown node, so we show the error message to users.
We already have another PR to handle VMs on a shutdown node. It needs users to set vm-force-deletion-policy. https://github.com/harvester/harvester/pull/1502

Closing as working as designed.


Organization of the Op-Design Repository(Designfree week)-1

-Organization of GitHub OctopOS Prime Design repository.
-Edit the visuals you have designed in 2D and 3D of our Octopos Prime project.

Mascot works I made for Octopus Prime


feat: add cgroup setter node

Description

This PR adds cgroup setter node which attach processes to your custom cgroup.
Related links

Tests performed

Confirmed that this node attach processes to some custom cgroups.
Confirmed that this node output error logs when it fail to write attach processes to a cgroup, pgrep fail to find a pid, or the config file is wrong.
Confirmed that this node publish proper /diagnostics.

Notes for reviewers

Assumptions, Write permission is required for a custom cgroup, and /sys/fs/cgroup/cgroup.procs to attach a PID to the cgroup.
Interface changes

ROS Topic Changes

ROS Parameter Changes

Effects on system behavior

Pre-review checklist for the PR author
The PR author must check the checkboxes below when creating the PR.

[x] I've confirmed the contribution guidelines.
[x] The PR follows the pull request guidelines.

In-review checklist for the PR reviewers
The PR reviewers must check the checkboxes below before approval.

[ ] The PR follows the pull request guidelines.
[ ] The PR has been properly tested.
[ ] The PR has been reviewed by the code owners.

Post-review checklist for the PR author
The PR author must check the checkboxes below before merging.

[ ] There are no open discussions or they are tracked via tickets.
[ ] The PR is ready for merge.

After all checkboxes are checked, anyone who has write access can merge the PR.

@TetsuKawa @ito-san Do you still need this modification?


Get 419 error at login form

Hi,
I get a 419 error in the login form. After deploying the website on a Windows server and Apache service I get this error.
Could you please help me with this?

Could please help me to solve the problem?

Hi @nimafam, this error is not directly related to the package. Your setup has problems with Session. There are too many options here, from lack of reading/write permissions to proxying an apache request. The best way to look at tutorials on setting up laravel for your environment. There is also a lot of information on the Internet with this on the request "laravel 419 sessions not working"

reading/write permissions to proxying an apache request

Hi @tabuna, thank you for your answer, Ok I try to search about ut


Any release or download?

Hi. First thank you for providing another package tracker app for Android. The design looks really good to me. But I'm not (yet) an Android programmer, so may I ask if there's any kind of releases? Say, what is the Play Store link of this app? Or would you provide APK download via Github release?
Have a nice day.

Sorry, no apk yet. But I recommend you download another one if you want to use it daily. Click here.


"Error, Can't Open ES App Startup file: /cf/cfe_es_startup.scr" when running a sample cpu1 application

Is your feature request related to a problem? Please describe.
I apologize in advance if the following issue that I am reporting is caused by my misunderstanding of the cFS/cFE CMake build system.
The issue is that I am getting the following issue when 1) I run the make command from the CFS repository and also 2) if I run it from CLion with the changes described in #478.
1)
cp cfe/cmake/Makefile.sample Makefile
cp -r cfe/cmake/sample_defs sample_defs
make && ./build/cpu1/cpu1/core-cpu1

The log:
...
Current working dir: /home/stanislaw/workspace/code/cFS
open(./cf/cfe_es_startup.scr): No such file or directory
1980-012-14:03:20.25202 zES Startup: Error, Can't Open ES App Startup file: /cf/cfe_es_startup.scr EC = 0xFFFFFFFF
1980-012-14:03:20.25205 ES Startup: CFE_ES_Main entering APPS_INIT state
1980-012-14:03:20.25206 ES Startup: CFE_ES_Main entering OPERATIONAL state
EVS Port1 42/1/CFE_TIME 21: Stop FLYWHEEL

2
cp cfe/cmake/Makefile.sample Makefile
cp -r cfe/cmake/sample_defs sample_defs
# Building cpu1-all and then core-cpu1 in CLion

The log:
1980-012-14:03:20.25314 ES Startup: CFE_ES_Main entering CORE_READY state
Current working dir: /home/stanislaw/workspace/code/cFS/cmake-build-debug-cfs-cpu1/cfe/cpu1
open(./cf/cfe_es_startup.scr): No such file or directory
1980-012-14:05:45.46664 zES Startup: Error, Can't Open ES App Startup file: /cf/cfe_es_startup.scr EC = 0xFFFFFFFF
1980-012-14:05:45.46666 ES Startup: CFE_ES_Main entering APPS_INIT state
1980-012-14:05:45.46667 ES Startup: CFE_ES_Main entering OPERATIONAL state
EVS Port1 42/1/CFE_TIME 21: Stop FLYWHEEL```

Looking for a missing file indicates that there is no way a running CFS can find a file because it is neither copied to a predetermined location nor the relative file ./cf/cfe_es_startup.scr points to a meaningful location.
$ find . | grep cfe_es_startup.scr
./cfe/cmake/sample_defs/cpu1_cfe_es_startup.scr
./sample_defs/cpu1_cfe_es_startup.scr

Describe the solution you'd like
Our understanding is that the cfe_es_startup.scr is an important file and without loading its contents CFS does not work properly. We would expect some action to exist in the CMake script files that would copy this file and make it available to the running cFS.
Describe alternatives you've considered
We assume that there is no other way of having CFS to run properly. There should be a procedure or instructions on how to make the .scr file available to CFS.
Additional context
None.
Requester Info
Stanislav Pankevich (PTS, private German space company)

Can we close based on original topic being resolved?  Feel free to open a new thread for other topics.


RouterPoint Convertor

Hi ,
How to convert RoutePoint to Coordinate for CalculateTSP ?
Or
How to use RouterPoint for CalculateTSP ?

You convert a routerpoint from a location by resolving:
https://docs.itinero.tech/docs/itinero/basic-concepts/routerpoint.html


[FlatButton] Merge styles prop for FontIcon node

[x] PR has tests / docs demo, and is linted.
[x] Commit and PR titles begin with [ComponentName], and are in imperative form: "[Component] Fix leaky abstraction".
[x] Description explains the issue / use-case resolved, and auto-closes the related issue(s) (http://tr.im/vFqem).

At the moment, a few default styles are merged into the icon node passed to FlatButton, overriding any styles the user passes. This resolves that by reordering the merge to favor the user's styles. Fixes #4632.

Does the "Needs Revision" label mean I need to do something before this can move forward?

@TristanJMcCormick That looks good. Thanks! I'm gonna fix this on the RaisedButton too.

Excellent!


Xamarin Forms + Parse 1.6.2 Component Error 404 and 400

Hi,
Sorry to ask this as maybe it's covered somewhere but I'm not having much look finding it.
Whenever I make a LoginAsync request, or SignUpAsync (amongst others) if an error occurs (incorrect password, email already exists etc) rather than receive a reason I get either 404 not found or 400 bad request.
I'm sure this used to work in Parse 1.5.5
Example SignUp using an email that already exists
        await user.SignUpAsync ().ContinueWith (t => {
            if (t.IsFaulted || t.IsCanceled) {
                Console.WriteLine(t.Exception.InnerException.Message); // 400 bad request
            } else {
                Console.WriteLine("account created");
            }
        });

Try Catch ParseException gives nothing back either.
I'm using Xamarin.Forms 2 with shared projects, not PCL. When not intentionally trying to cause an error Parse works fine, can Login, Create, Save etc.
Any ideas on this one?
Cheers
Edit : Actually no sooner I wrote that I find https://www.parse.com/questions/unity-sdk-handling-errors with the exact same problem.
So is this valid for Xamarin too? If so, then this used to work or did I imagine it?

Our networking stack was changed in 1.6.0 and as a result our error reporting is not the same.
We do need to fix this at some point so that we can properly throw ParseExceptions again.

Okay thanks Richard, that's unusable in my case. I'll check out the REST API instead.

Closing as out of date.


Question about debug Abstract Command Access Register Behavior when Zilsd extension present for RV32

Hi @kasanovic @christian-herber-nxp ,
I have a question about when we implement Zilsd extension in RV32IMAC target, for the debug module, if we use Abstract command -> Access Register to access a GPR such as X0 as below:

If the aarsize is 3(64bit), will this command still fail, or can be ok now if we have Zilsd extension, for RTL implementation, previous this register access  64bit is translated ld, for RV32IMAC, this will fail, but for RV32IMAC_Zilsd, the ld instruction now present, so register access 64bit seems to be ok now.
So here I want to confirm, what the real behavior for rv32imac_zilsd ISA processor to do register access for 64bit, will it still fail or return ok?
Thanks
Huaqi

Good question, but I think it's safe to assume that a 64-bit access to a register should still fail since the size of the actual registers doesn't change with this extension - it only gives you the opportunity to use them in pairs for memory accesses.

Good question, but I think it's safe to assume that a 64-bit access to a register should still fail since the size of the actual registers doesn't change with this extension - it only gives you the opportunity to use them in pairs for memory accesses.

Ok, thanks for your reply, if this is confirmed, maybe we can add it in this spec.

Hi @christian-herber-nxp ， do you have any comments on this issue

I agree with what was said. The l registers are still 32 bit, so you cannot access the lowest 64 bit of a register. Should still fail.

Ok, got it. Thanks


Credential not found for default user.

Hey, I've been experiencing troubles with (Credential not found for default user. Please make sure your configuration/APIContext has credential information)
This is my call:
        $token = '***';
        $credentials = new SimpleTokenCredential($token);

        $config = array(
            'log.LogEnabled' => true,
            'log.FileName' => '../BlockCypher.log',
            'log.LogLevel' => 'DEBUG',
            'validation.level' => 'log'
        );

        $apiContext = ApiContext::create($credentials, $config);

        ApiContext::setDefault($apiContext);

        foreach (Payments::whereConfirmed(false)->get() as $payment) {
            dd(Address::get($payment->crypto_address));
        }

I am also having these issue. I dont know why this kind of error should be experienced in a deployed library.
Please let me know if you got over it


Initial unit tests

Slight refactor to allow unit tests to be run using Mocha. Mocha is a little strict wrt modular JS and use of imports, so to satisfy its requirements the require() statements have been changed to import ones.
Also automatically computes test coverage which can be found in the coverage/ directory after tests are run.
Run from the commandline using
npm t

or execute/debug indiviual tests from your IDE if it has mocha integration.

Thanks!


Why the email always reminds me that it already exists

http://<IP_ADDRESS>:5100/#!/signup

http://<IP_ADDRESS>:5000   Can't open, why

save problem.

Have you ensured that the api url you defined in the docker compose is accessible via your browser? You may also have to do port forwarding to expose that port if you are trying to access the server out of the servers network.

save problem

Have you ensured that the api url you defined in the docker compose is accessible via your browser? You may also have to do port forwarding to expose that port if you are trying to access the server out of the servers network.

Thank you. It has been solved.


Avoid_use - DESCRIBE TABLE .. LINES

use lines( ) builtin function insted.

was lines() introduced in 702 or earlier?

Works even on 700.

okay
try again, released as 2.51.0


Status bar problem on Android (termux)

I started using this yesterday on Termux and it worked fine. Used for hours. Today, when using again,  the status bar started flickering, and I get an error:

host is ubuntu 22.04 and I'm trying over SSH using Termius on Android. I also cannot divide into panes as it starts to flicker. I tried rebooting everything, on both sides.
Did I do something wrong? I installed with

$ cd
$ git clone https://github.com/gpakosz/.tmux.git
$ ln -s -f .tmux/.tmux.conf
$ cp .tmux/.tmux.conf.local .

and did not modify the .tmux.conf.

Hello @lattice0 👋
Are you still having problems with termux?


Access to "Open Settings (JSON)" from Command Palette

To get to settings.json from the Command Palette, I first have to open up the user settings:

Which brings me here:

And then I have to click on that tiny "Open Settings (JSON)" button.
Could you please add another command to just directly open the JSON-file? When there's something I want to change quickly, that I know I already have in my settings.json file, it's quite annoying that can find the settings only using my keyboard, but then have to use my mouse to get to the actual JSON file.
The current command is named "Preferences: Open User Settings". The alternative could for example be named "Preferences: Open settings.json", "Preferences: Open User Settings (JSON)", or something like that.
Goal would be to just need to press CtrlShiftP, type settings json, hit Enter and immediately be able to edit the file in an editor.

Sorry. Apparently the @vscodebot is better at finding similarly named issues than the GitHub search. And for some reason I didn't see the existing option in the Command Palette further down in the menu... 🙄


Calendar icon moving when it should stay put.

Describe the bug

The calendar icon is moving when the field become active but the icon should stay put

To Reproduce
Steps to reproduce the behavior:

Go to 'The date examples'
If you zoom in you'll see the white text behind the grey placeholder text.

Expected behavior
No text visible
Screenshots

@braven112 the issue title says one thing and the description says another. I am assuming that you are raising an issue about the placeholder text, but I want to make sure.

Just checked the Auro site and this issue appears to be resolved. Cleaning house and closing this issue.


npm run generate has failed

npm WARN deprecated<EMAIL_ADDRESS>Use mz or fs-extra^3.0 with Promise Support
added 660 packages, and audited 661 packages in 1m
153 packages are looking for funding
run npm fund for details
found 0 vulnerabilities
Using OpenAI model:  gpt-3.5-turbo
Created '.env' file. Please check the settings.
Copying test data to /home/ubuntu/Desktop/my-app7/data
Running npm run generate to generate the context data.

<EMAIL_ADDRESS>generate
node app/api/chat/engine/generate.mjs

Generating storage context...
No valid data found at path: cache/doc_store.json starting new store.
No valid data found at path: cache/index_store.json starting new store.
No valid data found at path: ./cache/vector_store.json starting new store.
file:///home/ubuntu/Desktop/my-app7/node_modules/llamaindex/dist/index.mjs:739
_this.data[collection][key] = _.clone(val); // Creating a shallow copy of the object
^
TypeError: _.clone is not a function
at file:///home/ubuntu/Desktop/my-app7/node_modules/llamaindex/dist/index.mjs:739:45
at Generator.next ()
at asyncGeneratorStep$K (file:///home/ubuntu/Desktop/my-app7/node_modules/llamaindex/dist/index.mjs:705:28)
at _next (file:///home/ubuntu/Desktop/my-app7/node_modules/llamaindex/dist/index.mjs:723:17)
at file:///home/ubuntu/Desktop/my-app7/node_modules/llamaindex/dist/index.mjs:728:13
at new Promise ()
at file:///home/ubuntu/Desktop/my-app7/node_modules/llamaindex/dist/index.mjs:720:16
at SimpleKVStore.put (file:///home/ubuntu/Desktop/my-app7/node_modules/llamaindex/dist/index.mjs:743:11)
at file:///home/ubuntu/Desktop/my-app7/node_modules/llamaindex/dist/index.mjs:1362:33
at Generator.next ()
at asyncGeneratorStep$I (file:///home/ubuntu/Desktop/my-app7/node_modules/llamaindex/dist/index.mjs:1189:28)
at _next (file:///home/ubuntu/Desktop/my-app7/node_modules/llamaindex/dist/index.mjs:1207:17)
at file:///home/ubuntu/Desktop/my-app7/node_modules/llamaindex/dist/index.mjs:1212:13
at new Promise ()
at file:///home/ubuntu/Desktop/my-app7/node_modules/llamaindex/dist/index.mjs:1204:16
at SimpleDocumentStore.setDocumentHash (file:///home/ubuntu/Desktop/my-app7/node_modules/llamaindex/dist/index.mjs:1363:11)
Node.js v20.11.0
Aborting installation.
npm run generate has failed.
create-llama version<EMAIL_ADDRESS>& also @latest has same issue !!

The issue is inside SimpleKVStore I don't have a solution, but if it helps the console.log for lodash there doesn't have .clone. switching to Object.assign for shallow copy helps things move forward.

@parhammmm that won't fix the issue, lodash is used in other places in the same file (_.isNil) and you will face the same issue. The import statement is wrong, should be import _ from "lodash"
https://github.com/akhoury/LlamaIndexTS/commit/416f0c466c0049b12ed07d027c0186565529898d
I will submit PR once I setup a dev env and test it


PATCH applicant and seedlot info

Create an API to allow the first Seedlot registration screen to be edited.
TBD: keep or clean all the data for that seedlot (on the table)?
Subtask of #463

Use case:

Goal:
Create a PATCH endpoint that update an entry in the seedlot table, only the editable fields can be updated through this endpoint.
Criteria:

Patch Endpoint is created -> PATCH: `/seedlots/{seedlotNumber}/applicant-and-seedlot-info
Fields that can be updated on the seedlot table:

applicant_email_address
to_be_registered_ind
bc_source_ind
seedlot_source_code

Lowering the points to a 2 due to simplicity


Add Gradle Enterprise Build Scanning

Sorry - did not intend to include the version upgrades in this PR; will re-push.


Unidentified Symbol error when running train_sed.py

I used to have issues running generate_dcase_task4_2021.py, but fixed it using by doing this:
import desed
desed.download.filter_sins("PATH/TO/DCASE2018-task5-dev",  destination_folder=os.path.join("PATH/TO/background", "sins"),
classes_kept=["other"],
rm_original_sins=True)
however, after running generate_dcase_task4_2021.py, I now get this error when trying to run train_sed.py:
Traceback (most recent call last):
File "train_sed.py", line 17, in
from desed_task.utils.encoder import ManyHotEncoder
File "/media/roestlab/Data3/User/LeonX/github/DESED_task/desed_task/utils/init.py", line 2, in
from .schedulers import ExponentialWarmup
File "/media/roestlab/Data3/User/LeonX/github/DESED_task/desed_task/utils/schedulers.py", line 1, in
from asteroid.engine.schedulers import *
File "/home/roestlab/anaconda3/envs/dcase2021/lib/python3.8/site-packages/asteroid/init.py", line 3, in
from .models import ConvTasNet, DCCRNet, DCUNet, DPRNNTasNet, DPTNet, LSTMTasNet, DeMask
File "/home/roestlab/anaconda3/envs/dcase2021/lib/python3.8/site-packages/asteroid/models/init.py", line 2, in
from .base_models import BaseModel
File "/home/roestlab/anaconda3/envs/dcase2021/lib/python3.8/site-packages/asteroid/models/base_models.py", line 4, in
from .. import separate
File "/home/roestlab/anaconda3/envs/dcase2021/lib/python3.8/site-packages/asteroid/separate.py", line 14, in
from .dsp.overlap_add import LambdaOverlapAdd
File "/home/roestlab/anaconda3/envs/dcase2021/lib/python3.8/site-packages/asteroid/dsp/init.py", line 2, in
from .overlap_add import LambdaOverlapAdd, DualPathProcessing
File "/home/roestlab/anaconda3/envs/dcase2021/lib/python3.8/site-packages/asteroid/dsp/overlap_add.py", line 3, in
from ..losses.pit_wrapper import PITReorder
File "/home/roestlab/anaconda3/envs/dcase2021/lib/python3.8/site-packages/asteroid/losses/init.py", line 14, in
from .stoi import NegSTOILoss as SingleSrcNegSTOI
File "/home/roestlab/anaconda3/envs/dcase2021/lib/python3.8/site-packages/asteroid/losses/stoi.py", line 5, in
from torch_stoi import NegSTOILoss as _NegSTOILoss
File "/home/roestlab/anaconda3/envs/dcase2021/lib/python3.8/site-packages/torch_stoi/init.py", line 1, in
from .stoi import NegSTOILoss
File "/home/roestlab/anaconda3/envs/dcase2021/lib/python3.8/site-packages/torch_stoi/stoi.py", line 5, in
import torchaudio
File "/home/roestlab/anaconda3/envs/dcase2021/lib/python3.8/site-packages/torchaudio/init.py", line 1, in
from . import extension
File "/home/roestlab/anaconda3/envs/dcase2021/lib/python3.8/site-packages/torchaudio/extension/init.py", line 5, in
_init_extension()
File "/home/roestlab/anaconda3/envs/dcase2021/lib/python3.8/site-packages/torchaudio/extension/extension.py", line 12, in _init_extension
_init_script_module(ext)
File "/home/roestlab/anaconda3/envs/dcase2021/lib/python3.8/site-packages/torchaudio/extension/extension.py", line 19, in _init_script_module
torch.classes.load_library(path)
File "/home/roestlab/anaconda3/envs/dcase2021/lib/python3.8/site-packages/torch/_classes.py", line 46, in load_library
torch.ops.load_library(path)
File "/home/roestlab/anaconda3/envs/dcase2021/lib/python3.8/site-packages/torch/_ops.py", line 104, in load_library
ctypes.CDLL(path)
File "/home/roestlab/anaconda3/envs/dcase2021/lib/python3.8/ctypes/init.py", line 381, in init
self._handle = _dlopen(self._name, mode)
OSError: /home/roestlab/anaconda3/envs/dcase2021/lib/python3.8/site-packages/torchaudio/_torchaudio.so: undefined symbol: _ZNK3c104Type14isSubtypeOfExtESt10shared_ptrIS0_EPSo
I tried to delete all the symlinks and re-run generate_dcase_task4_2021.py but still get this error when trying to run train_sed.py .

Did you succeed to solve your problem ?


Translation

I would like to contribute with the translation of AntiDupl Description.

It's great! What language do you want to add?

I can try to do in Croatian, but could definitely improve the existing English text, make it more appropriate from the language point of view.

It will be great! My English was so-so ten years ago.

I would like to contribute too with spanish translation.


Update broccoli-filter version

I just released broccoli-filter 1.0.0 identical to 0.2.0, just to bump to 1.x.

Folded into #72.


Regression when consuming UMD: ReferenceError: module is not defined

We have some old AnguarJS code that embeds Carbon components using react2angular.
The Karma tests fail with:
 "message": "An error was thrown in afterAll\nReferenceError: module is not defined\n    at <Jasmine>\n    at Suite.<anonymous>

This code doesn’t have a webpack build it consumes the following UMDs:
      './node_modules/react/umd/react.production.min.js',
      './node_modules/react-dom/umd/react-dom.production.min.js',
      './node_modules/classnames/index.js',
      './node_modules/prop-types/prop-types.min.js',
      './node_modules/carbon-icons/dist/carbon-icons.js',
      './node_modules/carbon-components-react/umd/carbon-components-react.js',

The problem started in carbon-components-react v6.53.2 after this PR:
https://github.com/IBM/carbon-components-react/pull/1540

@asudoh @alisonjoseph @joshblack this is a weird one. I reverted to the previous commit, built carbon-components-react.js and it's fine, but with carbon-components-react.js build with the CSS prefix changes, it fails. Is there a UMD for carbon-components I should be loading now as well?

@asudoh do we just need to add the UMD global name in our rollup config?

That looks promising @joshblack! I was able to get things working by adding:
'carbon-components': 'CarbonComponents'

to rollup, and then adding this to the list of UMDs we load:
'./node_modules/carbon-components/scripts/carbon-components.min.js'

Is that the right UMD for carbon-components? Why isn't it in the umd folder?


Miscellaneous warning fixes

Fix a bunch of sparse and compiler warnings, enable -Wall -Werror because it's generally a good idea.
Signed-off-by: Andrew Donnellan<EMAIL_ADDRESS>

Thanks.


Adding a config to skip_healthcheck

Signed-off-by: Deep Datta<EMAIL_ADDRESS>Description
Add a skip_healthcheck config, which is false by default. When set to true it will not send a GET request to the healthcheck endpoint. However it will still send the HEAD request to make sure the node is alive.
To get a version number in that scenario, add another config default_server_major_version which is 2 by default denoting OpenSearch 2.x, but can be changed by the user.
Issues Resolved
Add a config to skip doing a GET on the healthcheck endpoint #165
Check List

[ ] New functionality includes testing.

[ ] All tests pass

[ ] New functionality has been documented.

[ ] New functionality has documentation added

[X] Commits are signed as per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Similar comment as the templates PR, please include these changes in the README.


Guide to show how to write Actions with customizable images (registry/repo/version) with good defaults

What is the issue?
Today, some Universe Actions have hard-coded images or versions, in general, these should be customizable by the consumer of the package.
Example of solution: https://github.com/dagger/dagger/pull/2632/files
Example of issue: #2604

https://github.com/dagger/dagger/discussions/2781


fix(commands)!: remove slash commands

closes #172.

Current dependencies on/for this PR:

main

PR #175   👈

This stack of pull requests is managed by Graphite.


[20.09] Staging next

Motivation for this change
Deliver staging changes.
Things done

Latest hydra (as of description update time) https://hydra.nixos.org/eval/1645567

@roberth Awesome!
I have one problem so far:
building the system configuration...
error: Linux v5.10.11 is not yet supported by zfsonlinux v0.8.6.
Try zfsUnstable or set the NixOS option boot.zfs.enableUnstable.

This is weird, because I'm not even using ZFS in my configuration. Setting boot.zfs.enableUnstable doesn't work to go past this. I've commented out the check and am currently building my system configuration. Will report back whether I see any issues.

@roberth Awesome!
I have one problem so far:
building the system configuration...
error: Linux v5.10.11 is not yet supported by zfsonlinux v0.8.6.
Try zfsUnstable or set the NixOS option boot.zfs.enableUnstable.

This is weird, because I'm not even using ZFS in my configuration. Setting boot.zfs.enableUnstable doesn't work to go past this. I've commented out the check and am currently building my system configuration. Will report back whether I see any issues.

@blitz I don't think it's caused by the zfs update commit. Does it also happen on release-20.09?

@blitz I don't think it's caused by the zfs update commit. Does it also happen on release-20.09?

@blitz I don't think it's caused by the zfs update commit. Does it also happen on release-20.09?

No, there it's fine because the included ZFS version is still compatible with linuxPackages_latest (5.9.16).

@blitz I don't think it's caused by the zfs update commit. Does it also happen on release-20.09?

No, there it's fine because the included ZFS version is still compatible with linuxPackages_latest (5.9.16).

@lheckemann @NeQuissimus it seems that the linux/zfs update doesn't build cleanly. Could you try fix it?

@blitz I don't think it's caused by the zfs update commit. Does it also happen on release-20.09?

No, there it's fine because the included ZFS version is still compatible with linuxPackages_latest (5.9.16).

@lheckemann @NeQuissimus it seems that the linux/zfs update doesn't build cleanly. Could you try fix it?

@blitz I don't think it's caused by the zfs update commit. Does it also happen on release-20.09?

No, there it's fine because the included ZFS version is still compatible with linuxPackages_latest (5.9.16).

I also noticed a stale linux_5_9 attribute:
% nix-build -A pkgs.linux_5_9
error: getting status of '/home/julian/src/own/nixpkgs/pkgs/os-specific/linux/kernel/linux-5.9.nix': No such file or directory

This might cause grahamcofborg-eval to fail, because it says:
getting status of '/var/lib/ofborg/checkout/repo/38dca4e3aa6bca43ea96d2fcc04e8229/mr-est/ofborg-evaluator-0/pkgs/os-specific/linux/kernel/linux-5.9.nix': No such file or directory

I also noticed a stale linux_5_9 attribute:
% nix-build -A pkgs.linux_5_9
error: getting status of '/home/julian/src/own/nixpkgs/pkgs/os-specific/linux/kernel/linux-5.9.nix': No such file or directory

This might cause grahamcofborg-eval to fail, because it says:
getting status of '/var/lib/ofborg/checkout/repo/38dca4e3aa6bca43ea96d2fcc04e8229/mr-est/ofborg-evaluator-0/pkgs/os-specific/linux/kernel/linux-5.9.nix': No such file or directory

Besides the ZFS evaluation issues, it looks good. I'm writing this from a system running these changes after patching out the ZFS version check.

Besides the ZFS evaluation issues, it looks good. I'm writing this from a system running these changes after patching out the ZFS version check.

@roberth #109029 had a solution for the ZFS issue. You can cherry-pick the last two commits from my branch, if you want:
https://github.com/blitz/nixpkgs/commits/staging-20.09

@roberth #109029 had a solution for the ZFS issue. You can cherry-pick the last two commits from my branch, if you want:
https://github.com/blitz/nixpkgs/commits/staging-20.09

OpenZFS 2.0.1 is the first release with compatibility for Linux 5.10. We'll have to update to that.
I just pushed 326d8f4f5ad.

OpenZFS 2.0.1 is the first release with compatibility for Linux 5.10. We'll have to update to that.
I just pushed 326d8f4f5ad.

Stale attribute gone as well.

Stale attribute gone as well.

ZFS does not yet work.
$ nix-build -A linuxPackages.zfs
[...]
substitute(): ERROR: file './module/zfs/zfs_ctldir.c' does not exist
builder for '/nix/store/5wsjzfkyrqz7r3lmmq0ywwvybnfyzh2k-zfs-kernel-2.0.1-5.4.93.drv' failed with exit code 1

ZFS does not yet work.
$ nix-build -A linuxPackages.zfs
[...]
substitute(): ERROR: file './module/zfs/zfs_ctldir.c' does not exist
builder for '/nix/store/5wsjzfkyrqz7r3lmmq0ywwvybnfyzh2k-zfs-kernel-2.0.1-5.4.93.drv' failed with exit code 1

@mweinelt I am just picking the necessary ZFS changes onto staging-20.09 and building them. Give me an hour

@mweinelt I am just picking the necessary ZFS changes onto staging-20.09 and building them. Give me an hour

Verified with nix-build -A linuxPackages.zfs -A linuxPackages.zfsUnstable -A linuxPackages_latest.zfs -A linuxPackages_latest.zfsUnstable and nix-build ./nixos/tests/zfs.nix.

Verified with nix-build -A linuxPackages.zfs -A linuxPackages.zfsUnstable -A linuxPackages_latest.zfs -A linuxPackages_latest.zfsUnstable and nix-build ./nixos/tests/zfs.nix.

I believe there's also a patch that should be included as there was a regression with people using legacy mounts

I believe there's also a patch that should be included as there was a regression with people using legacy mounts

Oh, which patch is this?

Oh, which patch is this?

@NeQuissimus @jonringer I think this is the zfs legacy mount issue you're talking about https://github.com/NixOS/nixpkgs/issues/110376.
@NeQuissimus What's the reason to remove Linux 5.9? Seems wrong to do so on the stable branch.
I'd like to merge staging-20.09 asap, before it gets delayed any further due to scope creep.

@NeQuissimus @jonringer I think this is the zfs legacy mount issue you're talking about https://github.com/NixOS/nixpkgs/issues/110376.
@NeQuissimus What's the reason to remove Linux 5.9? Seems wrong to do so on the stable branch.
I'd like to merge staging-20.09 asap, before it gets delayed any further due to scope creep.

@NeQuissimus What's the reason to remove Linux 5.9? Seems wrong to do so on the stable branch.

Because 5.9 is EOL and the next LTS release cycle is 5.10.

@NeQuissimus What's the reason to remove Linux 5.9? Seems wrong to do so on the stable branch.

Because 5.9 is EOL and the next LTS release cycle is 5.10.

Oh, which patch is this?

this one https://github.com/NixOS/nixpkgs/pull/111375

Oh, which patch is this?

this one https://github.com/NixOS/nixpkgs/pull/111375


Improve performance of initial bake (create) call

In the case of a bake(..) we perform 2 write and 1 read operation on the persistence journal.
The read operation can be omitted by passing Recovery.none on the first create.
This is blocked by https://github.com/akka/akka/issues/25072

In the recipe petri net there are a lot of transitions that basically do nothing.
An optimisation could be to not persist these.
The effect of these transitions can simply be re-computed and applied on replay.
This would significantly reduce the number of persisted messages.

Since "Preliminary tests" do not show big enough improvements we will close this.


server, schedule: use ttl cache for limiter

Problem:
Now tikv will report heartbeat at soon as finishing conf_change, and then pd will finish operator and decrease limiter count and schedule a new operator. For this reason, tikv will always be busy for conf_change even though limit is small, namely, limiter can't control schedule speed anymore.
Solution:
we introduce ttl(one minute) cache for limiter and it records operator count grouping by store. When operator has finished, pd don't remove it from ttl cache.  So limit now can represent concrete schedule speed that the max count of changed region/leader for one store every minute.

please add description for your PR.

1m for one leader/region change is small for a store?
If we want to evict the leader from a store, can it be finished soon? Or if we add a new store, how can we do the balance quickly?

@siddontang not one for 1m, it's up to limit config. If you want to speed up balance, just increase the limit config.


tlf_edit_history: update cached history in response to new MD updates

This PR adds a background processor to TlfEditHistory that processes batches of RootMetadatas and updates the cached edit history in response, if one has already been cached.  It adds edits for newly-created and newly-edited files, and it also removes deleted files and renames moved files.
Issue: KBFS-912

First pass done, mostly looks good. A few bits and questions.

Implemented your suggestions, ready for another look, thanks!

LGTM


Can it is possible to add limitations

The gemini free api Provides can it is possible to add a message limit of 3 mer minute per person.

yes, you can if you know how to write code.
this is place from where you can start https://github.com/Zain-ul-din/whatsapp-ai-bot/blob/master/src/models/GeminiModel.ts
Basic Overview:

use msg.from to get sender id and then construct map using sender id
increment map value each time someone send request
allow request only if elapsed time is greater than 1 min or map value is under 3

const useLimitRequest = (timeInMs, requestAllowed) => {
  const map = {};

  return (sender) => {
    if (map[sender] == undefined) {
      map[sender] = {
        count: 0,
        lastRequestTime: new Date(),
      };
    }

    const { count, lastRequestTime } = map[sender];
    const elapsedTime = new Date() - lastRequestTime;

    if (elapsedTime >= timeInMs) {
      map[sender] = { count: 1, lastRequestTime: new Date() };
      return true;
    }

    if (count >= requestAllowed) {
      return false;
    }

    map[sender] = { count: count + 1, lastRequestTime };
    return true;
  };
};

// usage
const isUserAllowed = useLimitRequest(60000, 3) // 60000ms = 1min

if(!isUserAllowed(msg.from)) return; // quota exceed

from  string- ID for the Chat that this message was sent to, except if the message was sent by the current user.

Appendix
Whatspp Js Docs link: https://docs.wwebjs.dev/Message.html

I can paste this code in gemini.ts to get the function

I added a rate-limiting feature to this branch but it has not been tested yet. check this out
https://github.com/zainuldeen/whatsapp-ai-bot/tree/issue_23


Avoid address mismatch by always setting whitelist/validators from ge…

Summary:

Always set whitelist/validators addresses from genesis accounts
Tweak tracker server /network_info API
Fix a bug in random peer assignment

#204

@platfowner Thanks for the code cleanup!! It is now way clearer to read'em! LGTM


Change Catalog registration/delete messages

This is related to #31 and #32.
Now, LKOD URL is used as the IRI for the Catalog. This is a bit unfortunate. The following changes are necessary:

Catalog registration - the API URL will be attached using dcat:endpointURL, the catalog itself will be a blank node
Catalog deletion - The form will be called with a (NKOD assigned) Catalog IRI, similarly to how it is done for datasets (a named graph with the IRI will be in the NKOD endpoint). In there, the data corresponding to the registration message will be present to be displayed. The catalog deletion message will use the catalog IRI (not endpoint IRI), type dcat:Catalog, and the withdrawn status as in dataset deletion message.

Example registration (in Turtle), not including unchanged properties:
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
@prefix dcat: <http://www.w3.org/ns/dcat#> .
@prefix nkod: <https://data.gov.cz/slovník/nkod/> .

[] a dcat:Catalog, nkod:DcatApSparql ;
     dcat:endpointURL "https://data.cssz.cz/sparql"^^xsd:anyURI .

Example catalog deletion:
<https://data.gov.cz/zdroj/lkod/12345> a dcat:Catalog ;
         adms:status status:Withdrawn .

Where https://data.gov.cz/zdroj/lkod/12345 is the Catalog IRI assigned to the registered one by NKOD

Any data on dev for testing?

Yes, the data is now in dev.nkod.opendata.cz


External references/packages are incorrectly included in to the compiled DLL

Hey,
I am using DllExport for this project and I need a library (Newtonsoft.Json) that serialized JSON for me. As usual, I install it using NuGet. However, when using it inside my Java projects it crashes due to it not being able to find the dependency. As a double check I created another .NET project and simply just referenced the built DLL from there and got the same result. Whenever I use the DLL that is not generated by DllExport it works fine. Only the DLL built using DllExport has this issue.
I've checked the DLL that was generated using a dependency inspector tool ( https://github.com/lucasg/Dependencies ) and it seems like the dependency is registered however it is not found as you can see here:

I have attached the build log and full project.
Steps to reproduce:

DllExport -version: 1.7.1
Used Visual Studio / MSBuild / : Visual Studio 2019 / Jetbrains Rider 2020.1

Information from Data tab or log data:
build_new.txt
Demo Project files / Samples / etc.:
GDBridgeProject.zip

Thanks for the updated information. I will continue our discussion from twitter here.
For the problem with DependenciesLib
This looks similar to #136 where problem is also due to the used third-party tool.
I've quickly inspected mentioned tool and this is it:
https://github.com/lucasg/Dependencies/blob/eb144c9b91561fb84a456d43ba2d5b9942c18aaf/DependenciesLib/FindPeModule.cs#L87
((TestPe.LoadSuccessful) && (TestPe.GetProcessor() == ProcessorArch))
.............................^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

For the case with Newtonsoft.Json.dll it will return different arch because it was written for 80386 (anycpu for this case regarding CLR) while parent modified module may point to other (see ResolveModule(PE RootPe,... ).
Therefore, you may also note the correct resolving for x86 but not for x64.
Also noticed they used value from offset 0x84, not from offset 0x98 (it could be more clear for resolving in CLR context).
Anyway, you need to report there because this is not related to .NET DllExport.
For the problem with Java

when using it inside my Java projects it crashes due to it not being able to find the dependency.

Again, make sure that all dependencies are accessible to load with correct architecture. But seems like this is duplicate of #101
AssemblyResolve is one of the possible solutions. You can also try Pre-processing same as for Conari.

I'm closing the issue due to inactivity,
You need to contact lucasg/Dependencies in order to fix his project using the information from my comment above.
Let me also know if solution with AssemblyResolve and/or Pre-processing may not help in some cases.


factor out splitImpl and mergeImpl + generalize acquireImpl and releaseImpl

https://github.com/digital-asset/daml-finance/issues/638


[CUR-407] Resolving errors and warnings in the curriculum unit tests

Description
Resolving the warnings and errors that are seen when running npm t curriculum which I hope covers most if not all curriculum based unit tests.
NOTE - One test did require the UL and LI tags to be adjusted, it does result in slightly different vertical spacing, but I believe it looks better now.

Current
New

How to test

Go to https://deploy-preview-2378--oak-web-application.netlify.thenational.academy/teachers/curriculum/music-secondary-edexcel/overview
Check visuals and accessibility

Checklist

[ ] Added or updated tests where appropriate
[ ] Manually tested across browsers / devices
[ ] Considered impact on accessibility
[ ] Design sign-off
[ ] Approved by product owner
[ ] Does this PR update a package with a breaking change

@BTitterington This is a pre-existing issue, but the nesting of these list elements looks wrong:

At the moment it's:
UL
  LI
  LI
  LI
    UL
      LI [Sequences learning over time]
    UL
      LI
      LI
      LI
  LI

But looks like it should be:
  LI
  LI
  LI [Sequences learning over time]
    UL
      LI
      LI
      LI
  LI

Is it possible to fix this as part of this PR?

:tada: This PR is included in version 1.419.2 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Switching back to main

What type of PR is this?

Uncomment only one  /kind <> line, hit enter to put that in a new line, and remove leading whitespaces from that line:
/kind bug

/kind cleanup

/kind design
/kind documentation
/kind failing-test
/kind feature
/kind flake

What this PR does / why we need it:
After R3 has it's own branch it's time to switch main to work on main again
Which issue(s) this PR fixes:

Fixes #
Special notes for your reviewer:
Does this PR introduce a user-facing change?:

/retest-required
/test e2e-free5gc-fedora-34
/test e2e-oai-fedora-34

/test e2e-oai-ubuntu-jammy

/test e2e-oai-ubuntu-jammy

/test install-integration

/test bootstrap-integration

/override e2e-oai-fedora-34

/override bootstrap-integration

/approve
/lgtm


[Storage] Fix samples

Merging this without waiting for @XiaoningLiu and @jiacfan as it deals with fixing samples and doesn't touch any code


Could not install with ipykernel >= 5.0.0

I would install sshkernel on Ubuntu1804 but sshkernel requires an older version. May sshkernel would run with ipykernel >= 5.0.0
pip install -U sshkernel

Collecting sshkernel
  Downloading https://files.pythonhosted.org/packages/53/66/cecadb8f0f613c4daf62945d87e2ef056e0924c450646a551c54f2cf51a6/sshkernel-0.11.0.tar.gz
Collecting ipykernel>=5.0.0 (from sshkernel)
  Could not find a version that satisfies the requirement ipykernel>=5.0.0 (from sshkernel) (from versions: 4.0.1, 4.0.2, 4.0.3, 4.1.0, 4.1.1, 4.2.0, 4.2.1, 4.2.2, 4.3.0, 4.3.1, 4.4.0, 4.4.1, 4.5.0, 4.5.1, 4.5.2, 4.6.0, 4.6.1, 4.7.0, 4.8.0, 4.8.1, 4.8.2, 4.9.0, 4.10.0, 4.10.1)
No matching distribution found for ipykernel>=5.0.0 (from sshkernel)

My fault. I have to install it with:
python3 -m pip install sshkernel

then the ipykernel is right.
I close this issue.


Parameter Store is not found in native version

I have simple Spring Boot project that works fine in JVM version.
After compile with ./gradlew nativeCompile and try execute I got :
Config data resource '[ParameterStoreConfigDataResource@41369e7b context = '/muniz/lab/', optional = false]' via location 'aws-parameterstore:/muniz/lab/' does not exist
Looks like it is not found the credentials to achieve the resource that contain the parameter store.
JDK : 21
Spring Boot : 3.3.6
Spring Cloud : 2023.0.4
Spring Cloud AWS : 3.2
GrallVM Compiler : Liberica 23.1.5.r21
To test project just need call : http://localhost:8080/param
Spring Boot project attached.
parameter-store.zip

Hey @mmuniz75 ,
Native hints will be found in 3.3.0-M2 release.
With following hints I have samples that are loading properties normally on the start up with localstack

        hints.reflection().registerType(TypeReference.of(ParameterStorePropertySources.class),
                hint -> hint.withMembers(MemberCategory.INVOKE_DECLARED_CONSTRUCTORS,
                        MemberCategory.INTROSPECT_DECLARED_METHODS, MemberCategory.DECLARED_FIELDS));

        hints.reflection().registerType(TypeReference.of(SecretsManagerPropertySources.class),
                hint -> hint.withMembers(MemberCategory.INVOKE_DECLARED_CONSTRUCTORS,
                        MemberCategory.INTROSPECT_DECLARED_METHODS, MemberCategory.DECLARED_FIELDS));

        hints.resources().registerPattern("io/awspring/cloud/core/SpringCloudClientConfiguration.properties");

Please make sample and publish it on a github instead of zip since we don't accept zips.

Hey @mmuniz75 ,
Please check provided github sample here
Please tell me if you example has something different. For me all loading works and I am seeing message printed out. Also, I see fail if parameter is not in localstack.

Hi MatejNedic,
After I add the : hints.resources().registerPattern("io/awspring/cloud/core/SpringCloudClientConfiguration.properties");
It works !!
Thanks for all


[Docs] re-enable jazzy in build-docs.sh because it now supports Swift 1.2

Jazzy 0.2.0 is installed on all CI workers.

device tests failed for an unrelated reason. merging.


Unable to use function GetAccountTeam, error in "account_id"

When using the function GetAccountTeam, I get the following error:
    TypeError: get_account_team() got multiple values for argument 'account_id'

Steps to reproduce
# Create an account
account = aiven.Account("test",
                        name="test",
                        tenant_id="timescale")

# Create a team, this finishes successfully
aiven.AccountTeam("developers",
                  account_id=account.account_id,
                  name="Developers")

# Get a team, this fails
aiven.get_account_team("owners",
                       account_id=account.account_id,
                       name="Account Owners")

I also tried to use a string with the correct value and I get the same error.

@Sodki can you try removing "owners" from get_account_team?
https://www.pulumi.com/docs/reference/pkg/aiven/getaccountteam/#using first input param is account_id which you're later setting, so it appears the error you're getting back is actually intended. Let me know if this helps solve your problem

Oh you're absolutely right @emiliza! I'm so used to having resource names everywhere that I overlooked this documentation detail. Thank you!


Error using cache in v3.8.0

Description:
In the last 12 hours we've started getting the following error on the post setup:
Cache folder paths are not retrieved for pnpm with cache-dependency-path =

This seems to coincide with the release of v3.8.0 of the action.
Action version:
3.8.0
Platform:

[x] Ubuntu
[ ] macOS
[ ] Windows

Runner type:

[x] Hosted
[ ] Self-hosted

Tools version:
pnpm 9.6.7
Repro steps:
Use setup-node@v3 with caching enabled:
    - name: Set up node
      uses: actions/setup-node@v3
      with:
        node-version: 18.17.0
        cache: pnpm

Expected behavior:
Post step to complete successfully
Actual behavior:
Getting the following error on the post setup:
[Action-log-extract.txt](https://github.com/actions/setup-node/files/12340857/Action-log-extract.txt)
[Action-log-extract.txt](https://github.com/actions/setup-node/files/12340862/Action-log-extract.txt)
[Action-post-log.txt](https://github.com/actions/setup-node/files/12340864/Action-post-log.txt)

Cache folder paths are not retrieved for pnpm with cache-dependency-path =

Workarounds

Removing the cache setting
Pinning to v3.7.0 of setup-node

Hopefully this makes sense 😃

For some reason I could not see https://github.com/actions/setup-node/issues/828 until I posted this.
Closing as duplicate


recurse up from buffer rather than cwd

Sorry for being slow on this.
How do you configure your eslint in your init.vim?  just set the exe=nrun#Which('eslint') directly there?

Thanks!
I've got a few different ways, but at the moment I'm either using a similar ftplugin that's part of my dotfiles to the one with a copied nvim embedded, just using the plugin directly, or using an autocmd to set it. Trying to figure out the cleanest way to keep all my plugin and filetype configurations organized for easy maintenance.


[META] Next Steps for Web3Torrent

[ ] Get xstate-wallet to work instead of FakeChanneProvider. #1135
[ ] Figure out how we will set tab budget; what does App and Wallet need to do. #1132
[ ] Add local storage persistence to estate-wallet.
[ ] Add integration tests.
[ ] Add “offline mode” capability and detection (coffee shop) #1129

We'll use the project board to track next steps.


The @each function does not inherit variables from main view, while @include does so

In my view file I have this loop
@foreach($object as $o)
    @include('displaymodules._showmodule_'.$showmodule_type)
@endforeach

it works perfectly well, but... I wanted to make my code more beautiful and use `@each` function

https://laravel.com/docs/5.2/blade#displaying-data

`@each('displaymodules._showmodule_'.$itemkind.'_'.$showmodule_type, $option, 'o', 'segments._notice_no_data')`

unfortunately, after I implemented the rewrite, the variable `$object` is not recognized within the template, which full name (including strings provided by varaibles) is `displaymodules._itemtypevalue_dimmer`. It seems that variables (in case pf `$itemkind` it is defined in my controller) are not inherited by the view defined in `@each`. I get this error

    Undefined variable: itemkind (View: \resources\views\displaymodules\_showmodule_itemtypevalue_dimmer.blade.php)

In other words, the variable works in the main view and it also works in the original solution's sub-view defined by `       @include('displaymodules._showmodule_'.$showmodule_type)`

------------------

Please also refer to my question in StackOverflow, which is pasted above.
http://stackoverflow.com/questions/36685456/the-each-function-does-not-inherit-variables-from-main-view-while-include

See #13090

I wanted to make my code more beautiful and use @each function

proceeds to make the code look terrible


Quick Switch does not always have focus after opening it

Bug description:
After pressing Ctrl+S, the dialog oftentimes does not have focus and can not be navigated using keyboard.
E.g. when pressing up or down arrow keys, the selection does not change. When pressing tab, the selection does not change, but I can see in the "blurred" background, that the focused element in the currently open service changes. I.e. the focus is still on the service instead of the quick switch dialog.
Also oftentimes pressing Esc does not close the quick switch dialog.
Steps to reproduce:

Go to slack service tab
Place cursor in "Message input" area
Press Ctrl+S

The error is not 100% reproducible this way but it happens quite frequently.
Expected behavior
Keyboard navigation with up, down, tab & esc keys shall always work, when quick switch dialog is open.
Also, when opening the quick switcher, the "search" textbox should always be focused so that I can start typing immediately to filter the list.
Environment:

Operating System: Windows 10 v1909
Ferdi Version: See image below
Server: Using without an account

Debug information:
I'm hesitant publishing the debug info here and don't think that it is needed/helpful in this case. Please let me know if you think that it'll help you fix the bug, then I'll post it later.

Duplicate of #322.
This is a known bug which we unfortunately cannot fix: Electron does not allow Ferdi to focus the box if the focus is currently inside a webview.
Related:
https://github.com/electron/electron/issues/17882
https://github.com/getferdi/ferdi/issues/68#issuecomment-534146281
https://github.com/getferdi/ferdi/blob/1fea645b0b94e52a31158d47d0ad921110dfa95e/src/features/quickSwitch/Component.js#L232-L235

Wow, that is unfortunate. I'd even go so far and say that this bug renders the quick switcher completely useless. I mean the quick switcher is there to allow easier keyboard only navigation which is simply not possible with this bug 🙁


Where is typings?

I found this link https://www.npmjs.com/package/tronweb-typings but as I understood it's not official and updated 3 years ago. Could add typescript support with all typings?

See https://github.com/tronprotocol/tronweb/issues/346


feat: change log rotate size

Signed-off-by: Gaius<EMAIL_ADDRESS>
Description

Change log rotate size.

Related Issue

Motivation and Context

Screenshots (if appropriate)
Types of changes

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
[ ] Documentation Update (if none of the other choices apply)

Checklist

[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
[x] I have read the CONTRIBUTING document.
[ ] I have added tests to cover my changes.

Codecov Report

Merging #1879 (82db517) into main (c186322) will decrease coverage by 0.03%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main    #1879      +/-   ##
==========================================
- Coverage   43.10%   43.07%   -0.04%
==========================================
  Files         132      132
  Lines       16744    16744
==========================================
- Hits         7218     7212       -6
- Misses       8983     8990       +7
+ Partials      543      542       -1

Flag
Coverage Δ

Object-compatibility-e2etests
?

e2etests
?

unittests
43.07% <ø> (-0.04%)
:arrow_down:

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

Impacted Files
Coverage Δ

client/daemon/peer/peertask_conductor.go
57.03% <0.00%> (-0.65%)
:arrow_down:

...ent/daemon/peer/peertask_piecetask_synchronizer.go
50.45% <0.00%> (+0.91%)
:arrow_up:


Gradle & @Nested tests: Propagate test failures to parents

Consider the following failing test case:
@PredictWithSkippy
public class RootTest {

    @Nested
    class NestedTest {

        @Test
        void testSomething() {
            assertEquals("something$", ProductionClass.returnSomething());  // fails
        }

    }

}

Release 0.0.22 will generate the following failed-tests.txt file in the Skippy folder:
com.example.RootTest$NestedTest

This results in incorrect predictions: Upon re-run, RootTest will be skipped:
com.example.RootTest,SKIP,NO_CHANGE

RootTest must be included in failed-tests.txt as well.

https://github.com/skippy-io/skippy/pull/171
https://github.com/skippy-io/skippy-regression-suite/pull/5


Add a NULL check to EVP_PKEY_assign

Fixes  #12619
Checklist

[x] tests are added or updated

Please can you submit a CLA? Or if you consider this to be a trivial contribution (from a copyright perspective) - please add the line "CLA: trivial" in a line on its own in the commit description.

I sent in an ICLA to<EMAIL_ADDRESS>from the email address in question<EMAIL_ADDRESS>more than a week ago now...

Close/reopen to kick CLA bot

I sent in an ICLA to<EMAIL_ADDRESS>from the email address in question<EMAIL_ADDRESS>more than a week ago now...

Apologies. This somehow got over looked. I've processed it now.

This pull request is ready to merge

Merged to master. Thank you for the contribution.


lv_draw_basic: use uint16_t for letter width

The width of the letter is not enough to correctly draw fonts more than 64 px

(cc @puzrin @kisvegabor)

uint8_t is really small there. Thank you for the fix!


Added fragment block and home page styling

Fix #8
Test URLs:

Before: https://main--bevespi--hlxsites.hlx.page/
After: https://issue-20-home-styling--bevespi--hlxsites.hlx.page/

@lansami I think it needs some styling adjustments, see screenshot:

There are some style fix required, see screenshot below:

Resources and support has a different font face
pink icon is missing (I see you noted it is known, but I would prefer to include pictures in this PR; any reason to not include them?)
Explore the services.. text; should not be upper case, and should be 16px not 17px
Based on what we decided for the project, font size is in rem with font root size 10px and everything else (padding, margin, etc..) is px
Padding top bottom. should be increased a bit

Style fixes for the fragment part:

Orange title font size should be 18px not 22px, 14px for mobile
text font size should be 15px not 16px, 13px for mobile
collapsed fragment font size should be 15px not 9px
fragment should expand as soon as its title get above the fold, not later
scroll when clicking on the + should be slower
we changed max-width to 1200px for header, footer and content (fragment still at 1002px)
after scrolling on mobile the title should be close to the to of the window (there is some padding now)
ul should not have padding left
bold text is not rendered


granting access for adopted plugin

AS per discussion here:
https://groups.google.com/forum/#!topic/jenkinsci-dev/KmgkVuHKD7U
cc @daniel-beck @rtyler

Failure is due to some post build step:
GitHub has been notified of this commit’s build result

org.jenkinsci.plugins.credentialsbinding.impl.CredentialNotFoundException: artifactoryAdmin
	at org.jenkinsci.plugins.credentialsbinding.MultiBinding.getCredentials(MultiBinding.java:124)
	at org.jenkinsci.plugins.credentialsbinding.impl.UsernamePasswordMultiBinding.bind(UsernamePasswordMultiBinding.java:68)
	at org.jenkinsci.plugins.credentialsbinding.impl.BindingStep$Execution.start(BindingStep.java:92)
	at org.jenkinsci.plugins.workflow.cps.DSL.invokeStep(DSL.java:184)

but passes otherwise

@michaelneale The joys of GitHub org folder building PRs for a repo set up to only be a single-branch Pipeline…

@i386 Okay if Michael also has the upload permission?

@daniel-beck yes absolutely 👍


I want to print node contents.

Hi, i want to print this tree node inside contents in console when i clicked node... i cant find any resolution..
and one more, can i add data like 'connInf', and use another side?
import React from "react";
import {
  StaticTreeDataProvider,
  UncontrolledTreeEnvironment,
  Tree,
} from "react-complex-tree";

export default function AppTester() {
  const child1 = "Time";

  const items = {
    root: {
      index: "root",
      isFolder: true,
      children: ["child1", "child2"],
      data: `Root item ${child1}`,
    },
    child1: {
      index: "child1",
      isFolder: true,
      children: [],
      data: `Child item 1  ${child1}`,
      connInf: "aa",
    },
    child2: {
      index: "child2",
      isFolder: true,
      children: ["child3"],
      data: "Child item 2",
    },
    child3: {
      index: "child3",
      isFolder: true,
      children: [],
      data: "Child item 3",
    },
  };

  const dataProvider = new StaticTreeDataProvider(items, (item, newName) => ({
    ...item,
    data: newName,
  }));

  const handleOnclick = (e) => {
    console.log(e);
  };

  return (
    <UncontrolledTreeEnvironment
      dataProvider={dataProvider}
      getItemTitle={(item) => item.data}
      viewState={{}}
      canDragAndDrop={true}
      canDropOnFolder={true}
      canReorderItems={true}
    >
      <Tree
        treeId="tree-2"
        rootItem="root"
        treeLabel="Tree Example"
        onclick={handleOnclick}
      />
    </UncontrolledTreeEnvironment>
  );
}

Hi! The most straight forward solution to your problem is to register a onFocusItem prop on the tree environment or tree, that will trigger whenever the user clicks on an item, and provides the clicked item, as argument: https://rct.lukasbach.com/docs/api/interfaces/TreeEnvironmentConfiguration#onfocusitem
You can also use custom render hooks or custom interaction providers to register custom click events, see the respective docs pages for that.
If you want to carry additional information in your items, you should use the "data" field. It doesn't have to be a string, you can store any data you want in it.


Roll Engine from 939fb62b303b to fc77f221f890 (4 revisions)

https://github.com/flutter/engine/compare/939fb62b303b...fc77f221f890
2021-06-03<EMAIL_ADDRESS>Roll Skia from 6f4bacb9df54 to 7b6a92818d23 (1 revision) (flutter/engine#26563)
2021-06-03<EMAIL_ADDRESS>Roll Fuchsia Mac SDK from pCoQB3Wr-... to vGpSL2e_a... (flutter/engine#26561)
2021-06-03<EMAIL_ADDRESS>Roll Dart SDK from cd41b767a29d to 6186a3ef5ffa (2 revisions) (flutter/engine#26560)
2021-06-03<EMAIL_ADDRESS>Migrate flutter_runner to Scenic.CreateSessionT. (flutter/engine#26536)
Also rolling transitive DEPS:
fuchsia/sdk/core/mac-amd64 from pCoQB3Wr-3pv to vGpSL2e_a3b7
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Please CC<EMAIL_ADDRESS>on the revert to ensure that a human
is aware of the problem.
To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/master/autoroll/README.md

Commit queue failed; closing this roll.


Template on different domain permissions

Users from different domain than the template's domain should be excluded. Example; Admin can see ROOT domain users but not add template permission if the template belongs to a subdomain
ISSUE TYPE

Bug Report
Improvement Request

COMPONENT NAME
UI

CLOUDSTACK VERSION
4.13.1, master

CONFIGURATION
N/A
OS / ENVIRONMENT
Not relevant
SUMMARY
Users from different domain than the template's domain should be excluded
STEPS TO REPRODUCE
Create subdomain
Create user
User registers template
Admin updates template permission

EXPECTED RESULTS
Users in ROOT domain not displayed

ACTUAL RESULTS
Users in ROOT domain displayed and selectable (fail when selected)

@nvazquez is this still a valid issue?
(seems minor/simple to me and could go towards 4.16)

@nvazquez is this still a valid issue?
(seems minor/simple to me and could go towards 4.16)

@DaanHoogland I've tested this on 4.15 with the Primate UI and the issue is still present

Fixed in https://github.com/apache/cloudstack/pull/4744 tested by David and Pearl


Only match disk with profile if that profile is needed (#6916)

Summary:
The initial support for volume profiles would match disk resources with a profile, even if no profile was required. This commit changes this behavior so that disks resources are not used if the service for which we are matching offers does not require a disk with that profile.
JIRA issues: DCOS_OSS-5211

We really ought to update the changelog for this.

https://github.com/mesosphere/marathon/pull/6924

@meichstedt could you re-review.


AnimationPlayer's advance(0) updates property to first key found in track with UPDATE_DISCRETE, while advance(delta) doesn't

Godot version
v3.4.4.stable.official [419e713a2]
System information
Ubuntu 20.04.3 LTS
Issue description
When an animation track has its first key at a non-zero time, and the mode is set to UPDATE_DISCRETE, animationPlayer.advance(0) will update the property to that key, regardless of the position of said key within the track, this is also the case when an animation is set to autoplay.
This behavior is contradicted by the behavior AnimationPlayer has when play() is called, where the property isn't updated until its position in the animation is reached.
Simply put, for this animation:

the code
$AnimationPlayer.play("anim")
$AnimationPlayer.advance(0)

will instantly update the color to red
while the code
$AnimationPlayer.play("anim")

will only do so when the animation reaches 0.5 seconds.
Steps to reproduce

Set up a scene like this

Each AnimationPlayer with these two animations

(notice the track's update mode is marked as discrete)

Attach this script to the node named "advance_0"

extends Node2D

func _ready():
	$AnimationPlayer.play("anim")
	$AnimationPlayer.advance(0)

Attach this script to the node named "no_advance"

extends Node2D

func _ready():
	$AnimationPlayer.play("anim")

Run the scene
Notice one sprite is always red(the child of advance_0) while the other remains blue for the time it takes the animation to reach the key frame of the modulate (one second in this example)

EDIT: this incongruence is also observed when advance(delta) is called, where delta is a non-zero value, meaning the following code, with $AnimationPlayer's playback set to manual,
extends Node2D

func _ready():
	$AnimationPlayer.play("anim")
func _physics_process(delta):
	$AnimationPlayer.advance(delta)

won't instantly update the property to the first found key in the track, the way advance(0) will.
Minimal reproduction project
advance_0_bug.zip

Hi! I've submitted a fix, but I'm not sure if it's the right direction ... According to the comment that I've deleted, setting delta to 0 means this should work like seek. And the behavior of advance(0) is the same as seek(0, true), for the mode UPDATE_DISCRETE. So, perhaps it's the behavior of the play method that should be changed? Could someone provide more info here? :)

@pfertyk I'm inclined to believe play() is the one working correctly, though there seems to be a bit of ambiguity:

on one hand, according to one of the tutorials:

"Discrete: Only update the property on keyframes."

It seems clear that play() is the one working correctly

but then the documentation for Animation says

UPDATE_DISCRETE = 1 --- Update at the keyframes and hold the value.

Which may leave room to interpret that once you play an animation, it should instantly update to the last keyframe on the track (because that would be the value "held" since the last keyframe).
Still, the interpretation that it should only update the value when a keyframe is actually reached seems more intuitive.

As I commented in https://github.com/godotengine/godot/pull/62714#issuecomment-1234901434, probably play() which acts like a CAPTURE mode, is the wrong behavior.

I've updated the PR and added a comment, sorry it took me a month :( Please let me know if the solution is correct now.


Bytes only rust

Making a PR so it'll be easy to squash merge.

LGTM 👍 thanks for making those changes.


Separate projection from export_svg

When exporting to SVG a projection is done of the Shape to create a set of visible and hidden Edges. These generated Edges are written to the SVG file.  As such the projection is a general operation not specific to SVG. In addition, separation would potentially allow more control - when color is added to Shape objects (and potentially stroke width & stroke style to Edge/Wires) these attributes could be used directly when writing to SVG (or DXF?).
export_svg would then expect planar Edges/Wires and be able to translate them to the XY plane for writing.

You can assign this to me.

Making progress.  Separated the projection into a Drawing class and rebuilt the SVG export to export true circles and Bézier paths.  Also has multi-layer support similar to the latest CQ DXF exporter.  Plenty of little details still to work out, and then refactoring DXF into the system.
A projected drawing on an enclosure:

And a planar section of the matching PCB.

@jrmobley
This is a very good decision. The projection should be separated from the exporter. So, projection is an optional step before the exporter has been called. This helps a lot for applications that want to pack a 2D-objects into a SVG-file. My typical workflow is to design a 3D-model and then make a section() on a certain plane and the result should go into a 2D-SVG-file. This is exactly what is needed for my router. The SVG-file will directly drive this router without any cam-application in between. The color-encoding (see cut-type-encoding) determines what the router should perform. My focus here is the 2D-SVG-exporter, it should preserve the shapes, e.g. circles should be encoded as circles, and not as polylines. And it is important that polylines are closed, this will enable some very comfortable functions inside the router (helix-mode). And, also very important, the SVG-exporter must do its job without any internal re-scalings, the measures must be preserved in any case. I would like to discuss some details with you, just to make sure that the 2D-SVG-exporter becomes an interface that is universal enough to accomplish such requirements. Maybe we can make close cooperation. Let me know, if this fits to your plans and activities.

I've only done a little non-functional work on the code to start to get it to pass pylint. It will need unit testing, examples and documentation as well so there is a fair amount still to do.

I still need a few days to port a cadquery-project to build123d. Coding with build123d makes fun. I like the architecture of build123d, especially the algebra-mode. Great work, thanks for this contribution. Let me know, when the projection-free SVG-exporter will be available.

Done with commit 76c4f2e


Close #16: random recipe

Codecov Report

Merging #21 (81003b6) into master (67d39fc) will increase coverage by 0.34%.
Report is 1 commits behind head on master.
The diff coverage is 81.48%.

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.
@@            Coverage Diff             @@
##           master      #21      +/-   ##
==========================================
+ Coverage   87.26%   87.60%   +0.34%
==========================================
  Files           7        8       +1
  Lines         212      234      +22
==========================================
+ Hits          185      205      +20
- Misses         27       29       +2

Files Changed
Coverage Δ

recipes/models.py
79.84% <0.00%> (-1.26%)
:arrow_down:

recipes/views.py
96.07% <83.33%> (+0.72%)
:arrow_up:

recipes/repositories.py
100.00% <100.00%> (ø)


MRG: Enable smooth shading for pyvista backend

What does this implement/fix?
This PR enables smooth shading for the pyvista 3d backend by default. This feature can be disabled by passing smooth_shading=False at the creation of the _Renderer.
Additional information
With smooth shading:

Without smooth shading:

What do you think @larsoner , @agramfort ?

why not making smooth shading  the default unless it's not supported? then no need for a parameter :)

thx @GuillaumeFavelier !


ruff: unnecessary-assign

https://docs.astral.sh/ruff/rules/unnecessary-assign/

This is becoming golf


LinkedIn successful sign in redirect bug.

Greetings!
I am having an issue with the LinkedIn function. After a successful login the Innappbrowser tries to redirect to the callback url, I am met with an error page for about 2/3rds of a second, saying page not found. After the 2/3rds of second I return back to the app and successfully complete my login flow. I have tried modifying the plugin so the browser closes immediately after a successful login however I am having no success.
Any tips or suggestions would greatly appreciated,
Cheers, Rylan.

This is due to a race condition with providers that don't use implicit grants like LinkedIn.  The InAppBrowser processes requests faster than the API can produce and since technically Apache Cordova applications don't serve on localhost, it gets an error.
The only solution to fix this is to override the redirect_uri to a website that exists, not being served on localhost.  Use that same redirect_uri in the LinkedIn dashboard.
Best,

Hey thanks for you reply, I have switched up the redirect_url. However, I am a little confused as to how I would give control back to ionic after the innappbrowser redirects to a URL which exists? Currently, after a successful sign in I am redirected to the URL but then it just stalls. I am not sure if it matters but I recently installed crosswalk

Hi, can you lease show me an example of how to code the redirect URI. I tried this but it didn't work:
$cordovaOauth.linkedin(LINKEDIN_OAUTH_ID, LINKEDIN_OAUTH_SECRET,redirectUri,["r_basicprofile", "r_emailaddress"],randomString()).then(function(result)
	    {
	    	$scope.$storage.linkedInUser  = result.access_token
	    	console.log ($scope.$storage.linkedInUser )....