use workload identity for all prow integrations

This way, we don't have to give service account creds to Prow admins.

/cc @fejta

Do you know anywhere that you are explicitly requiring a secret.json file? If not then we can just remove it and validate things work

ref https://github.com/kubernetes/test-infra/issues/15806

Here are the promoter's Prow jobs that use volume-mounted creds:

post-k8sio-cip (logs)
ci-k8sio-cip (logs)
pull-cip-e2e (logs)
ci-k8sio-backup (logs)
pull-k8sio-backup (logs)
pull-cip-auditor-e2e (logs)

What happens when this flag is missing? https://github.com/kubernetes/test-infra/blob/97c0e7b13dda19b6a34bf04140151b7ef8d27fbb/config/jobs/kubernetes/test-infra/test-infra-trusted.yaml#L688

Then the service account creds are never loaded. This means go-containerregistry will have to fall back to some other auth mechanism (presumably).
I am not sure how WI interacts with go-containnerregistry's Copy() function which I use to push images to registries.

I am not sure how WI interacts with go-containnerregistry's Copy() function which the promoter uses to push images.

That loads credentials from the docker config file. I don't have much context for this issue but assuming you're doing something like:
$ gcloud auth configure-docker

... to wire up gcloud as a config helper, this might work? I'm not sure if gcloud's credential helper actually works with workload identity.
Here's a primer on docker auth: https://github.com/google/go-containerregistry/blob/master/pkg/authn/README.md
If you can get a shell in one of these pods where you haven't activated a secret.json file, you could try:
echo "gcr.io" | docker-credential-gcloud get

to see if that returns valid credentials. You should get an access token as the Secret.
This will check the token you get back:
 curl "https://www.googleapis.com/oauth2/v1/tokeninfo?access_token=$(echo 'gcr.io' | docker-credential-gcloud get | jq .Secret -r)"

If that doesn't work there are definitely things we can do to work around this, let me know.

Can you point me to the code that does this? I've mostly just had to do:

Only call gcloud auth activate-service-account to a file if the env variable is set
Always call gcloud auth configure-docker even when the env isn't set

Example: https://github.com/kubernetes/test-infra/commit/966711a1eba124dca3f55c2936369d3d8a483a42#diff-9f51d141e18f12470d41311d7ced5631

Can you point me to the code that does this?

The crane package uses authn.DefaultKeychain by default: https://github.com/google/go-containerregistry/blob/4336215636f7ace860f1e499cf5033d12073a44b/pkg/crane/options.go#L33
Which is just a thin wrapper around github.com/docker/cli/cli/config, which fetches credentials based on your config file as you would expect (i.e. it works with gcloud auth configure-docker).
From the linked diff things should just work, assuming gcloud has been set up appropriately.

Linus, do you have opinions about the way you want these jobs to run gcloud auth configure-docker?
It isn't obvious to me that google/cloud-sdk has comes preconfigured for docker.  Most obvious solution would be to add a layer that adds this file to /root/.docker/config.json:
{
  "credHelpers": {
    "gcr.io": "gcloud",
    "us.gcr.io": "gcloud",
    "eu.gcr.io": "gcloud",
    "asia.gcr.io": "gcloud",
    "staging-k8s.gcr.io": "gcloud",
    "marketplace.gcr.io": "gcloud"
  }
}

I can send a PR to do that, or I can do something else you'd prefer

Actually I don't even think that's necessary, this should just work as expected: https://github.com/kubernetes-sigs/k8s-container-image-promoter/blob/b7378030785b6cf6da2cde095eb68ff06483712b/pkg/filepromoter/token.go#L40

/assign

Linus, do you have opinions about the way you want these jobs to run gcloud auth configure-docker?
It isn't obvious to me that google/cloud-sdk has comes preconfigured for docker. Most obvious solution would be to add a layer that adds this file to /root/.docker/config.json:
{
  "credHelpers": {
    "gcr.io": "gcloud",
    "us.gcr.io": "gcloud",
    "eu.gcr.io": "gcloud",
    "asia.gcr.io": "gcloud",
    "staging-k8s.gcr.io": "gcloud",
    "marketplace.gcr.io": "gcloud"
  }
}

I can send a PR to do that, or I can do something else you'd prefer

FWIW I already set up a json like that in the Prow jobs. E.g. https://github.com/kubernetes-sigs/k8s-container-image-promoter/blob/90a75d7781a432cd5e9b56446af4d49747ff986b/test-e2e/cip/e2e-entrypoint-from-container.sh#L31-L34

The https://github.com/kubernetes/test-infra/pull/16724 PR reverted https://github.com/kubernetes/test-infra/pull/16463, because we saw permissions issues like this:
E0310 19:54:40.826604      11 inventory.go:1621] Request {{0 gcr.io/k8s-staging-cluster-api eu.gcr.io/k8s-artifacts-prod/cluster-api<EMAIL_ADDRESS>cluster-api-controller cluster-api-controller sha256:b36ed8334a9d95116eb6dfb84eb54e58319fb8a3b2b4d97e014381e6ce144b2e  v0.3.0} <nil>}: error(s) encountered: [{running writeImage() failed to copy index: GET https://eu.gcr.io/v2/token?scope=repository%3Ak8s-artifacts-prod%2Fcluster-api%2Fcluster-api-controller%3Apush%2Cpull&service=eu.gcr.io: UNAUTHORIZED: You don't have the needed permissions to perform this operation, and you may have invalid credentials. To authenticate your request, follow the steps in: https://cloud.google.com/container-registry/docs/advanced-authentication}]

This was most likely caused by the lack of a WI permission binding that needed to be actuated in the k8s-artifacts-prod project for the Prow bot account, like so:
gcloud iam service-accounts add-iam-policy-binding \
  --role roles/iam.workloadIdentityUser \
    --member "serviceAccount:k8s-prow-builds.svc.id.googtest-pods/k8s-artifacts-prod" \
<EMAIL_ADDRESS>
I need to add this binding into the infra scripts set up here.

Pasting from https://github.com/kubernetes/k8s.io/pull/655#issuecomment-597910313:

I think we have to actuate this first, then un-revert kubernetes/test-infra#16463 and see if the ci-k8sio-cip job (or post-k8sio-cip job) still works. Once all the jobs have migrated to WI, then the JSON keys can be revoked.

/cc @thockin

Once https://github.com/kubernetes/test-infra/pull/16917 merges I will have a much better understanding of WI, enabling me to port the remaining Prow jobs to WI systematically. The concept is simple but it's a bit of grunt work to get all the details right.

Since https://github.com/kubernetes/k8s.io/pull/695 and https://github.com/kubernetes/test-infra/pull/16948, the ci-k8sio-cip job is working!
I have some other more urgent matters to attend to (need to fixup #199), but I now understand the pattern to apply to workload-identity-ize the rest of the jobs.

/unassign
/assign @listx
Awesome!

/remove-lifecycle stale


Add reuse existing container strategy

New shiny strategy to have lightning fast integration tests ⚡
Resolve #781

+1
Tried it with our existing Containers and it works amazingly !
Would be great to have it in the next release

@AnkBurov  : I have some troubles i use a reuseable GenericContainer as a TestRule. Dont know if the error is on my side or in the implementation

@arnzel Yes, I see this too - if GenericContainer initialized via @ClassRule then it unconditionally gets destroyed after tests completion. It happens because Junit calls GenericContainer.finished() method when test is finished which unconditionally invokes GenericContainer.stop() method which stops and destroys Docker container.
Basicaly it can be solved via adding logic like:
protected void finished(Description description) {
        if (isReusingEnabledWhenReusable) {
            containerId = null;
            containerInfo = null;
        } else {
            this.stop();
        }
    }

It still allows to stop and destroy container explicitly by calling stop() method, but it won't get destroyed by Junit when tests are finished and reusing is enabled.
But I have some doubts that this PR is ever going to be merged so I don't feel like spending efforts to features no one needs including me (static Delegate approach works well for my tasks).

@arnzel but thanks for your report, it's definitely a problem case with TestRules in the pr :+1:

@AnkBurov  : Thank your for have a look. Maybe i can add logic for TestRule when i have time

I'm sorry, but this is not the direction that we'd like to take Testcontainers, so I'm going to close. I'm sorry to do this with something that you've invested time into.
@bsideup, @kiview and myself have given reasons on #781, and have discussed this extensively amongst ourselves. We don't enjoy turning a PR down.
We would like to do more to tackle the underlying constraint of container startup time, but if and when we do this, we'd like to do it in a way that's more aligned with the goals of the project.
As such, I'll close this PR.

@rnorth & @arnzel : Just out of curiosity, is this feature still a long-term goal of the project? It sounds like the reasoning to close this PR was more political than anything, so I hope I can provide more value propositions:

Our team will greatly benefit from a container re-use feature. Our team leverages Elasticsearch, and mocking out a complex and constantly fluctuating API is not really manageable for our team nor does it give us a high level of confidence in our tests.

Starting and stopping Elasticsearch for a variety of our test suites bloats our build times by many minutes and pushes our resource usage on CI tools to the threshold of our account limits, encouraging us to use alternative methods.

On the other hand, perhaps you can provide example code strategies to effectively accomplish this through via existing test tooling (e.g. Spring Boot)?

hi @forgo,
First of all, I can assure you that the decision wasn't "political" at all. It is always hard to reject PRs, but, if we do it, there must be a strong reason behind.
In case of this PR, there were a couple of major things left unconsidered, and due to some core natures of Testcontainers, not solvable atm.
That does not mean that we don't want to see this feature (in fact, I think this is most wanted feature we as a team would like to see implemented), but we need to "prepare the ground" for it first. In fact, we were discussing one of them with the core team just a few days ago.

usage on CI tools

Be aware that this feature was not designed to be used anywhere except local environment (for TDD use cases). Strict cleanup on CI environments remans a very important focus for us and we will strongly advice against using this feature on CI systems.
There are ways of optimizing the tests, e.g. the Singleton Pattern, but reusing the containers between CI runs is not a good idea.
We keep https://github.com/testcontainers/testcontainers-java/issues/781 as "acknowledged" and will track the progress there. I will also try to find time to describe the challenges we need to solve more widely (you can find some arguments here and there already)

Thanks @bsideup - I think that sums up the status well, and I'll post my current thoughts more fully over on #781.

I'd like to add two cents as an author of the PR. I've been using the fork with feature since PR's creation and since then I've seen only two minor problems:

Incorrect reusing behavior when using @ClassRule as @arnzel helped to discover, but I don't use class rules so no suffering  from that. Anyway it can be solved with one missed if.
If container startup fails (for example on init script initializing), the last exception in the log shows a little bit wrong description while the real reason being logged above in the log file. I'm just too lazy to fix it :)

Other than that I've seen no issues with this reusing feature for stateless (like Consul for example) and stateful (database or Splunk) containers. It even works in CI environment to speed up the build process, but I wouldn't recommend using this feature in CI without being cautious.
Anyway, it would be nice if Testcontainers team would implement their own solution for reusing existing containers so I could finally jump off the fork.

@AnkBurov Do you think you could extract this functionality into some kind of experimental module?
So instead of making the changes in the core module, have it in its own module, either as part of Testcontainers (and marked as experimental), or in it's own repository?

I would also really like to see this feature in a module.

@kiview well, maybe I could do that. I think I could come up with a generic container delegate that will take an instance of generic container (or its descendants) in a constructor and delegate every GenericContainer method except few. But it'll also require a little refactoring of GenericContainer like this:
private void tryStart() { // existing method
        try {
            String dockerImageName = image.get();
            tryStartContainer(profiler, dockerImageName);
            // rest of the existing method
        }
    }

protected void tryStartContainer(Profiler profiler, String dockerImageName) {
        tryStartDisposableContainer(profiler, dockerImageName);
}

protected void tryStartDisposableContainer(Profiler profiler, String dockerImageName) {
        logger().debug("Starting container: {}", dockerImageName);
        createContainer(profiler, dockerImageName); // refactored existing code
        startContainer(profiler); // refactored existing code
    }

While in ReusableDelegate the method tryStartContainer would be overridden like this:
@RequiredArgsConstructor
public class ReusableDelegate<SELF extends GenericContainer<SELF>> extends GenericContainer<SELF> {

    @Delegate // delegate all other methods
    private final GenericContainer<SELF> delegate;

    @Override
    protected void tryStartContainer() {
        if (isReusingEnabledWhenReusable) {
            tryUseReusableContainer(profiler, dockerImageName); // for local environment or for brave CI evnironments :)
        } else { // for CI environment
            tryStartDisposableContainer(profiler, dockerImageName);
        }
    }
}

Not sure although if it worths the efforts to invest into it further.


display_image: Allow Chafa backend to stretch image to desired size

Fixes issue #1295.

I'd much rather aspect ratio be respected. Can I see some screenshots as a comparison?

When you're scaling the image to multiples of, say, 8 pixels per character cell, the aspect will often be off by a fraction, since the scaling factor that yields a multiple of 8 for the width will not necessarily yield an exact multiple of 8 for the height. The gaps are likely down to differences in rounding between Neofetch and Chafa.
The quick fix is adding --stretch (and maybe --zoom), which makes Chafa behave exactly like Pixterm. I.e. it will produce output at the exact size specified, respecting Neofetch's aspect calculation.
What prompted this is the following comment, which has pictures:
https://github.com/dylanaraps/neofetch/issues/1292#issuecomment-516933096
I think what's happening there is that the image gets aspect corrected in make_thumbnail() and then Chafa is trying to preserve the aspect on top of that by adding borders.

:+1:


Soundimage (free audio)

@carstene1ns
I think this site could cover all the free audio needs.
Free Music, Sound Effects and Images for Your Projects by Eric Matyas.
http://soundimage.org/

Thanks for your contribution but because the "RTP" is a general purpose collection of assets & audio for any type of RPG the license is too restrictive. Also the attribution part with mentioning in the credits screen is problematic because probably almost all games would violate these clauses by accident.
"My license is exactly the same as CC by Attribution 4.0 with one restriction: The use of my music in any media that violates Youtube community standards is prohibited. In other words, you can’t use my music in obscene material. Please see my “About” page for the full license."


Provide r.run options to the underlying javascript driver?

There is a way to provide run(options) as explained here? https://www.rethinkdb.com/api/javascript/run/
I would like to apply the "noreply:true" and "durability:soft" options since they make a major performance improvement.
Thanks

Yes, just pass the options to run.
On Sun, Jun 5, 2016, 01:09 Aviran<EMAIL_ADDRESS>wrote:

There is a way to provide run(options) as explained here?
https://www.rethinkdb.com/api/javascript/run/
I would like to apply the "noreply:true" and "durability:soft" options
since they make a major performance improvement.
Thanks
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/neumino/rethinkdbdash/issues/257, or mute the thread
https://github.com/notifications/unsubscribe/ABZOu-fir-Q0KU_ASccK33G1sCHS3oCGks5qIoRDgaJpZM4IuTma
.

Thanks.


Prepare for release

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (14b6a01) 80.02% compared to head (14b6a01) 80.02%.

:exclamation: Current head 14b6a01 differs from pull request most recent head d8bb957. Consider uploading reports for the commit d8bb957 to get more accurate results

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@           Coverage Diff            @@
##           develop     #316   +/-   ##
========================================
  Coverage    80.02%   80.02%
========================================
  Files           49       49
  Lines         3714     3714
========================================
  Hits          2972     2972
  Misses         742      742

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


Can't clone the repo on Windows

I know the driver is not supported on Windows, but I tried to clone the repo to use platform-agnostic packages ur_bringup and ur_moveit_config to test MoveIt on a Windows machine with the driver running on a remote Linux machine.
If I try to clone the repo, I get this:
(humble) C:\Code\ros2\humble_ws\src>git clone https://github.com/UniversalRobots/Universal_Robots_ROS2_Driver.git
Cloning into 'Universal_Robots_ROS2_Driver'...
remote: Enumerating objects: 3783, done.
remote: Counting objects: 100% (570/570), done.
remote: Compressing objects: 100% (261/261), done.
remote: Total 3783 (delta 383), reused 443 (delta 300), pack-reused 3213
Receiving objects: 100% (3783/3783), 41.00 MiB | 8.38 MiB/s, done.
Resolving deltas: 100% (2273/2273), done.
error: invalid path 'ur_robot_driver/resources/ursim_driver/ursim/aux/.vol/urcap_ros_control.installation'
fatal: unable to checkout working tree
warning: Clone succeeded, but checkout failed.
You can inspect what was checked out with 'git status'
and retry with 'git restore --source=HEAD :/'

The cloned directory is empty and git status shows everything in it as deleted:

(humble) c:\Code\ros2\humble_ws\src\Universal_Robots_ROS2_Driver>dir
 Volume in drive C is Windows-SSD
 Volume Serial Number is BC74-9D52

 Directory of c:\Code\ros2\humble_ws\src\Universal_Robots_ROS2_Driver

06/29/2022  01:20 PM    <DIR>          .
06/29/2022  01:22 PM    <DIR>          ..
               0 File(s)              0 bytes
               2 Dir(s)  171,948,130,304 bytes free

(humble) c:\Code\ros2\humble_ws\src\Universal_Robots_ROS2_Driver>git status
On branch main
Your branch is up to date with 'origin/main'.

Changes to be committed:
  (use "git restore --staged <file>..."  This does work, using Robostack ROS2 Humble.
Feel free to close without action. For any real configuration beyond testing I'll have custom MoveIt configs and launch files anyway.
However, I wanted to report this in case it's an easy fix.

If I try git restore --source=HEAD :/ as suggested in the  I get this
(humble) c:\Code\ros2\humble_ws\src\Universal_Robots_ROS2_Driver>git restore --source=HEAD :/
error: invalid path 'ur_robot_driver/resources/ursim_driver/ursim/aux/.vol/urcap_ros_control.installation'
error: invalid path 'ur_robot_driver/resources/ursim_driver/ursim/aux/.vol/urcap_ros_control.script'
error: invalid path 'ur_robot_driver/resources/ursim_driver/ursim/aux/.vol/urcap_ros_control.txt'
error: invalid path 'ur_robot_driver/resources/ursim_driver/ursim/aux/.vol/urcap_ros_control.urp'
error: invalid path 'ur_robot_driver/resources/ursim_driver/ursim/aux/.vol/urcap_ros_control.variables'
error: invalid path 'ur_robot_driver/resources/ursim_driver/ursim/aux/externalcontrol-1.0.5.urcap'
error: invalid path 'ur_robot_driver/resources/ursim_driver/ursim/aux/ros_control.urscript'
error: invalid path 'ur_robot_driver/resources/ursim_driver/ursim/aux/rs485-1.0.urcap'

I think I found the problem. Evidently windows does (or did) not allow directories and folders named aux/aux.*
https://stackoverflow.com/questions/63727594/github-git-checkout-returns-error-invalid-path-on-windows
I can create files
(humble) c:\Code\dbgdump>mkdir aux
The directory name is invalid.

I can create files named aux.* on Windows 11, so maybe this has been alleviated there, and I can create files with no extension, but I can't create a file named aux alone:
(humble) c:\Code\dbgdump>echo "hello" > aux.go

(humble) c:\Code\dbgdump>echo "hello" > aux.log

(humble) c:\Code\dbgdump>echo "hello" > aux
The system cannot find the file specified.

(humble) c:\Code\dbgdump>echo "hello" > noextensionfile

(humble) c:\Code\dbgdump>dir | findstr aux
06/29/2022  02:52 PM                10 aux.go
06/29/2022  02:52 PM                10 aux.log

(humble) c:\Code\dbgdump>dir | findstr noext
06/29/2022  02:53 PM                10 noextensionfile

https://docs.microsoft.com/en-us/windows/win32/fileio/naming-a-file#naming-conventions

Do not use the following reserved names for the name of a file:
CON, PRN, AUX, NUL, COM1, COM2, COM3, COM4, COM5, COM6, COM7, COM8, COM9, LPT1, LPT2, LPT3, LPT4, LPT5, LPT6, LPT7, LPT8, and LPT9. Also avoid these names followed immediately by an extension; for example, NUL.txt is not recommended. For more information, see Namespaces.

Closing because obviously there's no reason for fixing it or way to fix it, and with #403 on the horizon, even downloading a release to use ur_bringup seems like it will be out of the picture.


Storage Stabilizer.

Describe the bug
The layout of the Storage setup is wrong. Two of the stabilizers are facing the wrong direction, halving the storage.
To Reproduce
Open the dictionary, go to the  section on storage stabilizer setup and then click the eye button. right click to place on the ground. Does not show complete with the stabilizers facing the correct direction.
System (please complete the following information):

Occultism Version: 1.19.2-1.6.9
OS: [e.g. Windows] Windows 10
Minecraft Version: Java
Modpack Link and Version, or list of mods: https://www.feed-the-beast.com/modpacks/114-ftb-presents-abepack?tab=mods

Additional context
Love the mod. Has been quite fun to play. I realize that the dictionary does say that the stabilizers should face the actuator.

Fixed a few versions ago


allow this article to download in pdf format

Please this article is very useful to all new users those are all want to learn markup language to edit existing article. so allow this complete article to download in pdf format..
So please consider this feedback as priority basis
and  add download option to get in pdf format.
Thanking you.

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

ID: 6dd2bb3d-3104-1be7-7232-8a194074af4b
Version Independent ID: 2efecbe2-8538-8659-7740-6f8852f7875b
Content: Markdown reference for docs.microsoft.com - Contributor Guide
Content Source: Contribute/markdown-reference.md
Product: non-product-specific
GitHub Login: @meganbradley
Microsoft Alias: mbradley

@Jim-Parker @RAJU2529
You can download the whole guide as PDF, then find the Docs Markdown reference at page 611. Unfortunately we don't have the ability to make individual pages downloaded, and PDF feature enhancements aren't a priority of this time.


Add iTerm2 as an option for synchronized panes

iTerm2 has been considered "the best terminal emulator" for macOS (admittedly a subjective opinion), however, it is probably the most popular one after the default, Apple's Terminal.
I thought it could be a good idea to include information for running iTerm2 on macOS, together with the already provided tmux information.

Thanks for the suggestion but my goal is not to document everything, but at least one path that I can test and keep up to date.


Batch processing?

I've been using Verk for the past year with great success. However, I have a current project that requires jobs to be processed in batches of 500, with a timeout of, say, 5 seconds. This means that my process will wait 5 seconds, or until it has 500 jobs to process, then will process the jobs accordingly.
I'm wondering what people more clever than I would do to solve this problem. Is there any way in Verk to chunk jobs into batches, or should I be looking at other libraries and solutions to solve this? I'm looking into GenStage, and ETS/DETS as possible solutions, but I like the "a job is never only in memory" guarantee that Verk affords me, and I'd like to stick to that ethos. If there's anything in Verk itself that can do this, I'd love to know, and if not, if anyone has solved such a problem, it would be lovely to hear how. Thank you in advance

Hey @heyitsjames ,
Maybe you could try writing workers that simply "synchronise" work by talking to a single process accumulating inside an ETS table?
This single process would simply hold an ETS table.
Once 500 is reached (your work adding jobs directly to this ETS table can find out if 500 was reached) or the time is up (5 seconds) then execute the work and reply back to all workers that are waiting? The jobs will be done once the batch is processed?
There are issues with this implementation as if you reach say 1500 jobs very quickly you may have a bottleneck.
This is not trivial to be solved as there's a lot of coordination. Maybe some redis scripts ? 😆 Feel free to look at the existing ones inside Verk 1.* (Verk 2.0 is coming one day and it uses Redis Streams)

@edgurgel Thank you for the response!
As an update, I ended up using a Verk queue with a max of 500 jobs, and then using GenStateMachine to handle batching and timeout/flush operations.
Ended up working quite nicely, is very performant, and can scale nicely with adding more queues and linking them to their own batcher.
Each of my worker processes declares a receive block that the batcher can send success or failure, which allows me to use all the retry/requeue niceties that Verk affords me.
If I have time, it honestly doesn't seem like a stretch to add this into Verk itself. Instead of perform, there could be a batch_perform behaviour with timeout options.
Closing this now, if that's ok! Thanks for your help.


Update API for setting limits to article title and content

@robertu7 this issue need confirm with Alex in the meeting


added cf az variables

PR for adding cf az variables.  Used to support issue 18 in terraform-aws-cf-install project.

Thank you for this!


The workspace could not save the added directory.

Hello, I have a problem adding to the directory in the workspace. After restarting the editor, it will be cleared and need to be added again.

VS Code version: 1.46.0
OS version : MacOs Catalina 10.15.4 (19E287)
extensions : empty(Empty the installation)
steps

start the vscode.
explorer -> Open Folder => Select a directory to open.
File => Close Window.
start the vscode again ，The exploer is empty

I can not reproduce this. Thanks for filling this issue. Can you reproduce using Visual Studio Code Insiders https://code.visualstudio.com/insiders/

I can not reproduce this. Thanks for filling this issue. Can you reproduce using Visual Studio Code Insiders https://code.visualstudio.com/insiders/

Thanks，It should be the system

Then I am closing this issue, if more users mention this we can reopen and investigate further. Thanks


java.lang.IllegalArgumentException: already added :  Landroid/support/v4/accessibilityservice/AccessibilityServiceInfoCompat;

First and foremost thanks to this wonderful library. Its just made us more productive.
Im currently using zxing 2.2.9.
After installing I cannot run the project anymore because of the error
 java.lang.IllegalArgumentException: already added : Landroid/support/v4/accessibilityservice/AccessibilityServiceInfoCompat;

Kindly provide feedback/guidelines to accommodate my issue. Thanks

Fixed just update the Support.v4 to latest

@spurdow - thanks for your solution.  This worked for me, too; however, 'update the Support.v4 to latest' was not as simple form me as I had hoped.  Sharing my experience as it might help others.
I am using ZXing.Mobile library with Visual Studio/Xamarin Forms (PCL - Android and iOS).  My Android target framework was 7.1.  I was unable to update the Support.v4 library, because the newer version (required to resolve the problem reported in this thread) was not compatible with my target framework.  I needed to increase my target framework to 8.0 in order to update Support.v4.  I also needed to re-run Update Nuget Packages to make sure that other packages were updated and compatible.

Update all your support libraries in the affected project alone e.g android project.

I updated my libraries and it worked for me. do same.


Class with int[] property

If you have class with array of int:
	public class TestClassWithArray
	{
		public int[] ArrayOfInt { get; set; }
	}

And then create object:
var expected = new TestClassWithArray() {ArrayOfInt = new int[] {1, 2, 3}};

Serializer works correct:
<?xml version="1.0" encoding="utf-8"?>
<TestClassWithArray xmlns="clr-namespace:ExtendedXmlSerializer.Tests.TestObject;assembly=ExtendedXmlSerializer.Tests">
	<ArrayOfInt>
		<int xmlns="https://extendedxmlserializer.github.io/system">1</int>
		<int xmlns="https://extendedxmlserializer.github.io/system">2</int>
		<int xmlns="https://extendedxmlserializer.github.io/system">3</int>
	</ArrayOfInt>
</TestClassWithArray>

But deserializer raises exception:
System.InvalidOperationException was unhandled by user code
  HResult=-2146233079
  Message=An attempt was made to load a type with the fully qualified name of 'clr-namespace:ExtendedXmlSerializer.Tests.TestObject;assembly=ExtendedXmlSerializer.Tests:ArrayOfInt', but no type could be located with that name.
  Source=ExtendedXmlSerializer
  StackTrace:
       at ExtendedXmlSerializer.ContentModel.Extensions.GetClassification(IClassification this, IFormatReader parameter, TypeInfo defaultValue) in C:\Work\ExtendedXmlSerializer\src\ExtendedXmlSerializer\ContentModel\Extensions.cs:line 55
       at ExtendedXmlSerializer.ContentModel.Collections.ArrayReader.Get(IFormatReader parameter) in C:\Work\ExtendedXmlSerializer\src\ExtendedXmlSerializer\ContentModel\Collections\ArrayReader.cs:line 50
       at ExtendedXmlSerializer.ContentModel.Serializer.Get(IFormatReader reader) in C:\Work\ExtendedXmlSerializer\src\ExtendedXmlSerializer\ContentModel\Serializer.cs:line 40
       at ExtendedXmlSerializer.ContentModel.Members.MemberSerializer.Get(IFormatReader parameter) in C:\Work\ExtendedXmlSerializer\src\ExtendedXmlSerializer\ContentModel\Members\MemberSerializer.cs:line 44
       at ExtendedXmlSerializer.ContentModel.Members.MemberHandler.Handle(IInnerContent contents, IMemberSerializer member) in C:\Work\ExtendedXmlSerializer\src\ExtendedXmlSerializer\ContentModel\Members\MemberHandler.cs:line 40
       at ExtendedXmlSerializer.ContentModel.Content.InnerContentServices.Handle(IInnerContent contents, IMemberSerializer member) in C:\Work\ExtendedXmlSerializer\src\ExtendedXmlSerializer\ContentModel\Content\InnerContentServices.cs:line 62
       at ExtendedXmlSerializer.ContentModel.Members.MemberInnerContentHandler.IsSatisfiedBy(IInnerContent parameter) in C:\Work\ExtendedXmlSerializer\src\ExtendedXmlSerializer\ContentModel\Members\MemberInnerContentHandler.cs:line 52
       at ExtendedXmlSerializer.ContentModel.Members.MemberInnerContentHandler.Execute(IInnerContent parameter) in C:\Work\ExtendedXmlSerializer\src\ExtendedXmlSerializer\ContentModel\Members\MemberInnerContentHandler.cs:line 57
       at ExtendedXmlSerializer.ContentModel.Content.InnerContentReader.Get(IFormatReader parameter) in C:\Work\ExtendedXmlSerializer\src\ExtendedXmlSerializer\ContentModel\Content\InnerContentReader.cs:line 46
       at ExtendedXmlSerializer.ContentModel.Serializer.Get(IFormatReader reader) in C:\Work\ExtendedXmlSerializer\src\ExtendedXmlSerializer\ContentModel\Serializer.cs:line 40
       at ExtendedXmlSerializer.ContentModel.Serializer.Get(IFormatReader reader) in C:\Work\ExtendedXmlSerializer\src\ExtendedXmlSerializer\ContentModel\Serializer.cs:line 40
       at ExtendedXmlSerializer.ExtensionModel.Xml.ExtendedXmlSerializer.Deserialize(XmlReader reader) in C:\Work\ExtendedXmlSerializer\src\ExtendedXmlSerializer\ExtensionModel\Xml\ExtendedXmlSerializer.cs:line 63
       at ExtendedXmlSerializer.ExtensionModel.Xml.Extensions.Deserialize[T](IExtendedXmlSerializer this, IXmlReaderFactory factory, Stream stream) in C:\Work\ExtendedXmlSerializer\src\ExtendedXmlSerializer\ExtensionModel\Xml\Extensions.cs:line 158
       at ExtendedXmlSerializer.ExtensionModel.Xml.Extensions.Deserialize[T](IExtendedXmlSerializer this, XmlReaderSettings settings, Stream stream) in C:\Work\ExtendedXmlSerializer\src\ExtendedXmlSerializer\ExtensionModel\Xml\Extensions.cs:line 155
       at ExtendedXmlSerializer.ExtensionModel.Xml.Extensions.Deserialize[T](IExtendedXmlSerializer this, String data) in C:\Work\ExtendedXmlSerializer\src\ExtendedXmlSerializer\ExtensionModel\Xml\Extensions.cs:line 149
       at ExtendedXmlSerializer.Tests.Support.Extensions.Cycle[T](IExtendedXmlSerializer this, T instance) in C:\Work\ExtendedXmlSerializer\test\ExtendedXmlSerializer.Tests\Support\Extensions.cs:line 32
       at ExtendedXmlSerializer.Tests.ExtensionModel.Xml.ExtendedXmlSerializerTests.ClassWithArray() in C:\Work\ExtendedXmlSerializer\test\ExtendedXmlSerializer.Tests\ExtensionModel\Xml\ExtendedXmlSerializerTests.cs:line 246
  InnerException:

I've added ClassWithArray test.

It was working in v1.5.

There is lagacy test: https://github.com/wojtpl2/ExtendedXmlSerializer/blob/v2.0.0/test/ExtendedXmlSerializer.Tests.Legacy/SerializationArray.cs#L49-L55

This is addressed now with the latest changes.  Please re-open this issue if unexpected behavior persists.

(Nice find, btw. 👍 )

I am getting this error when deserializing an XML string with version 2.1.2:
An attempt was made to load a type with the fully qualified name of 'http://namespace/file.xsd:myMessage', but no type could be located with that name.
XML:
<?xml version="1.0"?>
<myMessage xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://namespace/file.xsd">
  <myElement uniqueId="12345">
</myMessage>

Class:
    // <remarks />
    [Serializable]
    [XmlType(AnonymousType = true, Namespace = "http://namespace/file.xsd")]
    [XmlRoot("myMessage", Namespace = "http://namespace/file.xsd",
        IsNullable = false)]
    public class MyMessage
    {
        /// <remarks />
        [XmlElement("myElement")]
        public MyElementType MyElement { get; set; }
    }

Call to the serializer:
_xmlSerializer.Deserialize<MyMessage>(xml)


Potential STM32WL Support

Do you think trying to implement the STM32WL would be practical? It should have enough flash (256KB), but the amount of RAM is limiting (64KB). I'm coming from Meshtastic and their implementation is already too big for the 256KB limitation.
I did some initial changes to convert to STM32FreeRTOS, but refactoring the code to remove the ESP32 and RadioLib module object dependencies, to STM32 and RadioLab's STM32WL object seems like it would take some effort.
Just wanted to ask if you think the hardware specs would be too restraining for LoRaMesher before I try to pursue it.

Hi @EddieCarrera!
Based on my experience, the current implementation typically requires around 150KB, but this may vary depending on the network traffic.
We are indeed considering plans to evolve LoRaMesher into a more versatile solution, independent of freeRTOS. However, due to current time constraints, I may not be able to undertake this task in the upcoming months.
I will keep you updated and let you know as soon as I begin testing the new implementation.
I appreciate your understanding and patience.


How to prevent data area from getting smaller as axis tick labels get larger

ScottPlot Version:  4.1.63
Operating System: win10 22H2
Application Type: WPF
Question:
When I tried to zoom in/out on the chart, I noticed that as I changed the zoom level, the length of the tick labels also changed, which caused the actual area of the entire grid region to change, and the coordinate axis to move (especially on the vertical axis).
I have tried many methods, but none of them can achieve satisfactory results, including limiting the length of axis labels by formatting and adjusting the Plot.Layout's left value.
But these methods cannot fundamentally solve the problem, because the size of the dataset cannot limit the scale of the zoom. I looked at the zooming of echarts and found that no matter how it is zoomed, its coordinate axis will not shift, so it will not cause the graph area to become smaller and smaller with the zoom. How can I achieve this effect in scottPlot?
The following two images show that with the change of the scaling size, it is obvious that there is a significant displacement of the Y-axis.

The following two images show a comparison of zooming in echarts, where the Y-axis remains in a fixed position without any offset regardless of the zoom level.

Hi @mYcheng-95, thank you for this question and the excellent screenshots!
Layout
It looks like you already discovered the layout options which allow users to define a fixed width for each axis: https://scottplot.net/cookbook/4.1/category/layout/#plot-layout
formsPlot1.Plot.Layout(left: 100);

Offset Notation
It looks like eCharts reduces the size of the tick labels by using an offset notation which is a feature you can enable with ScottPlot: https://scottplot.net/cookbook/4.1/category/advanced-axis-features/#offset-notation
formsPlot1.Plot.YAxis.TickLabelNotation(offset: true);

Let me know if this does not resolve your issue 👍

I see. Could you please explain in more detail what you are trying to achieve and what specific problems you are facing with the current approach? I might be able to suggest alternative solutions based on that.
On the one hand, it will cause the YAxis title to shift to the left. On the other hand, it may lead to some confusion when displaying the plot.
I see. Even with Plot.PixelPadding to fix the borders, the yAxis still moves. Although you have tried to use TickLabelFormat, there are still some flaws.


Always lasting last letter of a word

client.UserMessageRecieved += (s, e) =>             {                 Console.WriteLine(e.PrivateMessage.Message);             };
Wrote a simple code to try if it works correctly.
Here's the output: http://lolo.s-ul.eu/fRFq7Rgi
Also checked the message lenght: http://lolo.s-ul.eu/oNO5442Y
client.UserMessageRecieved += (s, e) =>             {                 Console.WriteLine(e.PrivateMessage.Message.Length);             };

I couldn't reproduce this bug using the information you provided. I used the exact same code as you did and here are my results:
Console.WriteLine("PrivMsg: {1}{0}IrcMsg:{2}", Environment.NewLine, e.PrivateMessage.Message, e.IrcMessage.RawMessage);

>> :Xinayder!~alex@unaffiliated/rockytv PRIVMSG ChatSharp :hello
PrivMsg: hello
IrcMsg::Xinayder!~alex@unaffiliated/rockytv PRIVMSG ChatSharp :hello


First step towards visualization destruction with AR models

This closes #11912.
Notable things:

We were not correctly destroying related visualization when destroying a dataset (we used a delete instead of destroy). Took the chance to move this to the UserTable models
We were not deleting layers when destroying a map (with AR models)
There was an error (probably since the layer refactor) so that named maps were not being regenerated on layer deletion. Fixed that as well. We didn't notice because there are so many operations already invalidating, that other operations were covering this bad behaviour.

Acceptance
Remember to check Rollbar for errors/warnings, including debug traces from user table refactor.

[ ] Delete a visualization in multiple ways

[x] Dataset
[x] Map
[ ] Dataset with maps depending on it
[ ] Via ghost tables (delete dataset via SQL API, run ghost tables)
[ ] Delete a user with visualizations
[ ] Delete a synced dataset
[ ] Delete a shared (within org) dataset
[ ] Delete a shared (within org) map

I did not include acceptance checks for deleting all visualization dependencies, since this is better tested with the specs in this PR.

Ready for second round.

@javitonino : although you deserve all the credit, GitHub won't allow me to accept it, because I opened the issue :D.
👍  Moving to acceptance. Please write down any relevant check that you think that should be tested.

It's just one of those PRs where we end up switching roles 😆. Gave you (me?) the thumbs up, and added acceptance checks (basically, everyway way of destroying a visualization I could think of).

Deleting datasets won't work, it triggers two requests, one https that gets cancelled by a http one that fails because of not being https. You need https to reproduce it.

I don't get why two request are launched, but I looked at the code and I think we are missing an ssl_required in the new controller (and we can remote it from the old one).

Deleting a synched dataset with a map triggers mutual locks:
         952 | postgres     |        16511 | postgres      | DELETE FROM "overlays" WHERE "overlays"."id" = 'cb6f669a-4542-4b6d-92e7-e869f670c4a2'             | DELETE FROM "layers_user_tables" WHERE ("user_table_id" = '5ee863c5-a4c6-49aa-8b26-7b12d02f7f68')
       32446 | postgres     |        16511 | postgres      | DELETE FROM "synchronizations" WHERE ("id" = '8765bf12-1eb2-11e7-b24b-040146742701')              | DELETE FROM "layers_user_tables" WHERE ("user_table_id" = '5ee863c5-a4c6-49aa-8b26-7b12d02f7f68')
       16511 | postgres     |        30265 | postgres      | DELETE FROM "layers_user_tables" WHERE ("user_table_id" = '5ee863c5-a4c6-49aa-8b26-7b12d02f7f68') | DELETE FROM "maps" WHERE "maps"."id" = '6325beb6-1762-4833-8bce-97431b21b974'
         952 | postgres     |        30265 | postgres      | DELETE FROM "overlays" WHERE "overlays"."id" = 'cb6f669a-4542-4b6d-92e7-e869f670c4a2'             | DELETE FROM "maps" WHERE "maps"."id" = '6325beb6-1762-4833-8bce-97431b21b974'
       32446 | postgres     |        30265 | postgres      | DELETE FROM "synchronizations" WHERE ("id" = '8765bf12-1eb2-11e7-b24b-040146742701')              | DELETE FROM "maps" WHERE "maps"."id" = '6325beb6-1762-4833-8bce-97431b21b974'
       16511 | postgres     |        32446 | postgres      | DELETE FROM "layers_user_tables" WHERE ("user_table_id" = '5ee863c5-a4c6-49aa-8b26-7b12d02f7f68') | DELETE FROM "synchronizations" WHERE ("id" = '8765bf12-1eb2-11e7-b24b-040146742701')
         952 | postgres     |        32446 | postgres      | DELETE FROM "overlays" WHERE "overlays"."id" = 'cb6f669a-4542-4b6d-92e7-e869f670c4a2'             | DELETE FROM "synchronizations" WHERE ("id" = '8765bf12-1eb2-11e7-b24b-040146742701')
       16511 | postgres     |          952 | postgres      | DELETE FROM "layers_user_tables" WHERE ("user_table_id" = '5ee863c5-a4c6-49aa-8b26-7b12d02f7f68') | DELETE FROM "overlays" WHERE "overlays"."id" = 'cb6f669a-4542-4b6d-92e7-e869f670c4a2'
       32446 | postgres     |          952 | postgres      | DELETE FROM "synchronizations" WHERE ("id" = '8765bf12-1eb2-11e7-b24b-040146742701')              | DELETE FROM "overlays" WHERE "overlays"."id" = 'cb6f669a-4542-4b6d-92e7-e869f670c4a2'
(9 rows)

Without a map it also triggers locks:
         952 | postgres     |        16511 | postgres      | DELETE FROM "synchronizations" WHERE ("id" = '74efa0ea-0eeb-11e7-b090-040146742701') | DELETE FROM "user_tables" WHERE "user_tables"."id" = '14396695-8b86-4ccc-b681-f6a654343ea5'

It ends after some time, probably thanks to timeout. Back to development.

✨  On 🍏 , --> acceptance

There's an issue deleting a dataset. STR:

Go to datasets, select two of them and create a map.
Delete one of them.

Expected: its layer gets deleted.
Actual: the layer is not deleted.

@javitonino deployment fails:
undefined method require_dependency' for main:Object`

It seems all our recent problems have to do with require_dependency 😅
I reverted the culprit commit (although this breaks hot-reloading when touching the layer model). It should be fine now. Btw, I forgot to mention in a comment (I only edited the initial one):

There was an error (probably since the layer refactor) so that named maps were not being regenerated on layer deletion. Fixed that as well. We didn't notice because there are so many operations already invalidating, that other operations were covering this bad behaviour.


DetectorTime.py

Added DetectorTime.py, which looks up the detector in gen/sn_times and gen/neutrino_times, and stores the values in sn_time and neutrino_time in the payload.

The sn_time and neutrino_time fields should just contain the number, rather than having to name the detector again.  The intention is that all downstream nodes will know what detector they're looking at.

Whoops, sorry, just noticed that the sn_time and neutrino_time fields are still assigned dictionary values with the detector name as key.  Should be just numbers.


Glorp doesn't support ssl connexion for P3

Glorp should support SSL connexion for Postgres databases as SSL connexion is implemented in P3 project.

Merged your PR


discord-canary: 0.0.169 -> 0.0.170

Automatic update generated by nixpkgs-update tools. This update was made based on information from passthru.updateScript.
meta.description for discord-canary is: All-in-one cross-platform voice and text chat for gamers
meta.homepage for discord-canary is: https://discordapp.com/
Updates performed

Ran passthru.UpdateScript

To inspect upstream changes
Impact

Checks done (click to expand)

built on NixOS
The tests defined in passthru.tests, if any, passed
found 0.0.170 with grep in /nix/store/5y0bd7f5qpl6zz6q1058vdcfj63cihaw-discord-canary-0.0.170
found 0.0.170 in filename of file in /nix/store/5y0bd7f5qpl6zz6q1058vdcfj63cihaw-discord-canary-0.0.170

Rebuild report (if merged into master) (click to expand)

1 total rebuild path(s)

1 package rebuild(s)

First fifty rebuilds by attrpath
discord-canary

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/5y0bd7f5qpl6zz6q1058vdcfj63cihaw-discord-canary-0.0.170 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A discord-canary https://github.com/r-ryantm/nixpkgs/archive/58046991815f3950d8689154a138d8dc4ce6d9ad.tar.gz

Or:
nix build github:r-ryantm/nixpkgs/58046991815f3950d8689154a138d8dc4ce6d9ad#discord-canary

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/5y0bd7f5qpl6zz6q1058vdcfj63cihaw-discord-canary-0.0.170
ls -la /nix/store/5y0bd7f5qpl6zz6q1058vdcfj63cihaw-discord-canary-0.0.170/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

1 package built:

discord-canary

Maintainer pings
cc @MP2E @Scrumplex @Artturin @Infinidoge @jopejoe1 for testing.

https://github.com/NixOS/nixpkgs/pull/259699


download_multiqc_from_OSD.py doesn't accept output directory

gitpod /workspace/dp_tools (metrics_extraction_subfeature) $ python download_multiqc_from_OSD.py --osd-id --output-dir multiQC_output_ASB
Usage: download_multiqc_from_OSD.py [OPTIONS]
Try 'download_multiqc_from_OSD.py --help' for help.
Error: Got unexpected extra argument (multiQC_output_ASB)

Looks like this is because there's supposed to be an osd-id specified, so with the command I used it's taking the output-dir option as the OSDid


pull request for e2e test at 11/06/2016 15:56:07

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

optest/docs/updated_at.md
:white_check_mark:Succeeded

Details

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


Added PHP 8.3 Support

Thanks! For the contributing medal🏅 : could you update the workflows so 8.3 is with the others and no longer experimental and add 8.4 as experimental?

I added 8.3 and 8.4 to workflow. I also added information to the changelog.md file.
Thanks @Jeroen-G

Thank you 🙏

Released as 3.11.0


Rename space view to view everywhere

So far we sometimes called it space view and sometimes just view. This PR cleans up the repository & docs to just call it view.
This comes with a few smaller breaking changes, see migration guide.
Luckily this very rarely affects user facing types as illustrated by how the lack of changes in our samples & snippets

[ ] pass full check

@rerun-bot full-check

@rerun-bot full-check


Error when Converting CSV to a Specific format

I first have to thank you for this awesome library. I read through the shapeless guide and got to understand HList. I however want to try out this library for a specific use case where the csv fields look like this:
MeterId,Date,00:30,01:00,01:30,02:00,02:30,03:00,03:30,04:00
8814791409,08/02/2017,0,0,0,0,0,0,170.153

I want to parse this into a case class like:
class MeterData(meterId: String, dateTime: DateTime, meterReadings: Map[String, Double])
where meterReadings are 00:30 -> 0, 01:00 -> 0, 01:30 -> 0 and so on...
I just tried doing this bluntly with the PureCSV library and as expected it fails
scala> CSVReader[MeterData].readCSVFromFile("meter.csv")
<console>:16: error: could not find implicit value for parameter rfcImp: purecsv.unsafe.converter.RawFieldsConverter[MeterData]
       CSVReader[MeterData].readCSVFromFile("meter.csv")

I guess I need to spin up my own implicit converter, but I could not figure out how. Would you mind throwing some light on this?

I assume you are using Joda, my example will use java.time but you can adapt it. Here what I would do:
import pureconfig.unsafe.convert._

import java.time.ZonedDateTime
import java.time.format.DateTimeFormatter.ISO_ZONED_DATE_TIME

case class MeterData(meterId: String, date: ZonedDateTime, meterReadings: Map[String, Double])

implicit val meterDataRFC =
  new RawFieldsConverter[MeterData] {

    def intervals: Seq[String] =
      Seq("00:30", "01:00", "01:30", "02:00", "02:30", "03:00", "03:30", "04:00")

    def from(line: Seq[String]): MeterData = {
      val Seq(meterId, rawDate, rawMeterReadings@_*) = line
      val date = ZonedDateTime.parse(rawDate, ISO_ZONED_DATE_TIME)
      val meterReadings = intervals.zip(rawMeterReadings.map(StringConverter[Double].from)).toMap
      new MeterData(meterId, date, meterReadings)
    }

    def to(meterData: MeterData): Seq[String] =
      Seq(meterData.meterId, meterData.date.toString) ++ meterData.meterReadings.values.map(StringConverter[Double].to)
  }
```


'Convert users from per-user MFA to Conditional Access based MFA' script is upside down

The script at the bottom of the page is upside down, the relying functions are going from bottom to top instead of top to bottom. If an administrator were to run this script from top to bottom it would not work.
Suggest moving Set-MfaState to the top of the script, followed by Disable-Mfa, and finally 'Get-MsolUser -All | Disable-MFA -KeepMethods'

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

ID: 4cb129d2-9594-bf0c-5946-982f0ed0d888
Version Independent ID: 6522b038-6853-3552-55c8-f174cf56573d
Content: Azure Multi-Factor Authentication user states - Azure Active Directory
Content Source: articles/active-directory/authentication/howto-mfa-userstates.md
Service: active-directory
Sub-service: authentication
GitHub Login: @MicrosoftGuyJFlo
Microsoft Alias: joflore

@andrewbeaumont hank you for your query. We will check it with the engineering internally and let you know accordingly.

@MicrosoftGuyJFlo
John, could the script be corrected ?

@andrewbeaumont Sounds reasonable. If you would like to make the edit using the edit button on the doc I am happy to approve the change. If you cant then I will add it to my backlog and get to it when I get some free time.

@MicrosoftGuyJFlo I have made the aforementioned changes

@andrewbeaumont Awesome! Thank you! Just approved and signed off on the change.

#please-close


⚠ Bofrost.be has degraded performance

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

HTTP code: 200
Response time: 2942 ms

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


Wait for gridengine to be up before running tests

Will undo commit 6516429c13d329d77f57eb0a69b24a1f2ac4fb1d ,because log level gave problems in travis-ci , like build taking >50min and capped log file

Closed as travis build https://travis-ci.org/NLeSC/Xenon/jobs/88807311 shows permission problems with private key.This needs to be resolved be before pull request can be merged

Disabling docker build step make travis complete successfully. See https://travis-ci.org/NLeSC/Xenon/jobs/88980244


--ips_by_dns option raising error even though DNS is valid

@mccalluc bug?
;^) ruby scripts/ssh_opt.rb --name openvault.wgbh-mla.org --ips_by_dns
/Users/andrew_myers/Projects/WGBH/aws-wrapper/lib/core/dns_wrapper.rb:68:in `lookup_dns_cname_record_set': Expected 1 record set, not 0 (RuntimeError)
	from /Users/andrew_myers/Projects/WGBH/aws-wrapper/lib/core/dns_wrapper.rb:55:in `lookup_dns_cname_record'
	from /Users/andrew_myers/Projects/WGBH/aws-wrapper/lib/core/dns_wrapper.rb:13:in `lookup_cname'
	from /Users/andrew_myers/Projects/WGBH/aws-wrapper/lib/util/ssh_opter.rb:25:in `lookup_ip'
	from /Users/andrew_myers/Projects/WGBH/aws-wrapper/lib/util/ssh_opter.rb:36:in `ip_by_dns'
	from scripts/ssh_opt.rb:39:in `<main>'

check your zone_name? Since this keeps coming up, maybe it should just scan all the zones? Or figure out the zone based on the name?

Or just add a hint to the output in case of that error.
Or I could just remember to do it right.


Fix linting issues and run prettier

Description
Follow-up to #29
Summary

Remove lint rules that could not be found
Fix lint issues
Run Prettier

Motivation
Check failed
Checklist
General

[x] PR title is clear and descriptive
[x] PR description explains the purpose and changes
[x] Code follows project coding standards
[ ] Self-review of the code has been done
[x] Changes have been tested locally
[ ] Screenshots have been attached (if applicable)
[ ] Documentation has been updated (if applicable)

Client (if applicable)

[x] No console errors or warnings

Workflow is passing :)


Added json helper to Pretender

Added Pretender.json() helper
Added tests for json helper
Added docs to README about json helper

PR created on @stefanpenner's recommendation

ya, i found this little helper made worlds of difference in readability to my pretender code.
https://github.com/stefanpenner/ember-jobs/blob/master/tests/acceptance/posting-test.js#L26-L39

How is this different than/interacts with configuring your pretender server with prepareBody and prepareHeaders?

I tried that, this seemed to click more for me. So maybe this personal preference?

This would be lovely :+1:

rebased https://github.com/pretenderjs/pretender/pull/104


webgl_generator's crates.io uses an outdated version of the code

The version of webgl_generator on crates.io (https://crates.io/crates/webgl_generator) uses an outdated version of the code. The crate was last updated 5 months ago, but the code in the repository was updated 4 months ago. Can we push the latest version of webgl_generator to crates.io?

Ah thanks! Must have missed this!


Icons/missing colors

Problem:

There's still some icons missing in specific colours
Some icons used an older / incorrect style

Fix:
Solves the problems by fixing the identified issues in a way that addresses the specific shortcomings

It's also a change to icons.tsx - I think is fine, but will let the tests run before merging.


Make cmdline options for mill-server mode and repl more clear

We see confusion about the -i option quite a lot in Gitter channel and also advise to use -i very often when things don't work as expected.
I propose to deprecate the current -i, --interactive option in favour of two new options:

--repl - Starts a interactive mill session and will implicitly not use the mill server (same as old --interactive)
--server 0|false|off|no or --no-server - Starts mill without using a server process
--server 1|true|on|yes - Starts mill with a background server process

I'd suggest that while server-related switches are being considered, a switch to force the server to restart or to stop should be added.
There will continue to be things that are frozen at server start time or build init time (whether unintentionally or because there's simply no other choice at the moment.) Not needing to find and kill the old server by hand would be a pleasant improvement.

Looking at this a bit right now. From what I can see, the reason -i is so fundamental (has to be the first argument, etc.) comes from way back in fd8a2567ad32c11bcf8adbaca85bdba72bb4f935.
When -i isn't used, it starts MillClientMain which is Java code and starts faster and then spawns off a separate process for the server which loads up Scala. And then if you do use -i, it starts mill.MillMain which brings in the Scala libraries and is a bit slower.
MillClientMain currently doesn't interpret its arguments at all--it just shoves them all over to the server for handling.
Because of all of this it might be easiest to keep this as simple as possible, so it can be done in the launcher script without too much trouble.  So I'm going to suggest:

--repl - Starts a interactive mill session and will implicitly not use the mill server (same as old --interactive with no target), and complains if a target is given.
--no-server - Starts mill without using a server process (same as old --interactive with a target), and complains if no target is given.
--interactive - Same as the current behavior for compatibility, -i does this. Maybe have this produce a warning that its behavior will be the same as --no-server at some point in the future.

All of these arguments are very simple (presence or absence), and can be restricted to "must be the very first argument". That makes them easy to handle with the current launcher script.

I just tossed up #927 as a first pass at doing this. It does what I suggested in my last comment.

Merged right now. Thank you very much!


unable to open netflix: "netflix error" on screen

I'm submitting a ...

[x ] bug report
[ ] feature request
[ ] support request

General information
after installing the repossitory and the netflix addon I get a "netflix error" message on screen when trying to open the addon.
Addon version used
netflix v0.14.1
Description
after installing the repossitory and the netflix addon I get a "netflix error" message on screen when trying to open the addon.
Steps to Reproduce

click on netflix addon
error message: Netflix error

Expected behavior: addon opening
Actual behavior: addon not opening
Context (Environment)
Installation

[ ] I installed the plugin via zip from the Releases page
[ ] I´m using the Netflix Repo
[x ] I´m using a different source (CastagnaIT/plugin.video.netflix )

Operating System

[ ] Linux (x86/x64)
[ ] OSX (x86/x64)
[ ] Windows (x86/x64)
[ x] Linux (ARM)
[ ] Android

Additional informatin on the environment
LibreELEC release: RPi2.arm-9.0.1
Debug log
https://paste.kodi.tv/ecobazujac.kodi
Other information
I only have one other addon installed on my Libreelec: Vrt Nu

Same Netflix error at kodi 18.2 startup on Debian stretch.
kodi.log

deleted all .pyc files and reboot

Finally I made Netflix on OSMC working by doing the following from an ssh connection:
sudo apt-get update
sudo apt-get install -y python-pip python-crypto
sudo apt-get install -y build-essential
sudo apt-get install -y python-all-dev python-setuptools python-wheel
sudo apt-get install -y python-crypto-dbg python-crypto-doc python-pip
pip install pycryptodomex
The above procedure comes from https://makingstuffwork.net/technology/install-netflix-amazon-prime-video-plex-raspberry-pi-kodi-osmc/


Analyzing Features of CLIP Image Encoder

Thanks for your work!
Hello, can you provide detailed information on this part of the experiment

Hi, the analyses of CLIP image encoder are quite straightforward. First, synthesizing noisy images from clean ones (using Gaussian or poison noise). Then, directly send these noisy and clean images to the CLIP ResNet encoder, without crop, resize or normalization as done in the original CLIP preprocessing. Finally, obtain the dense features of noisy images and clean images from CLIP ResNet encoder, respectively, and compute their similarities (using e.g., cosine distance or CKA similarity).


After interacting with the editor, the table gets stuck

I've seen this in my browser. Restarted browser, replicated. Also replicated on someone elses account

@xavijam did a fix for this

No no, I made a fix after deleting a column, but @andrewxhill is showing us the editor without scroll from the beginning. In any case, I need more details:

Is the new_modals flag enabled?
Is it still happening?
Could you share your dataset to reproduce the same environment in my local?


images in posts are not responsible

when I insert images in posts via markdown they are not responsible and cross the boarders of the post's text.
You can see an example here. The first img in the text is inserted using markdown. The other images are inserted via html.
https://www.cloudcoffeebreak.de/2024/04/06/azure-policies-waechter-der-cloud-compliance.html
In html I can see that there is no class defined for the image inserted via Markdown.
When I add the images via html like this <img class="container"... >  they are responsible.
you can find the repo here:
https://github.com/chris4jahn/Cloud-Coffeebreak
How can I ensure that all images are responsible even when inserting via markdown?
Thanks for your help.

Sorry, this is not the version I'm using. I'm using the Jekyll version.


Refactor NewK8sDatastore function

Rename to NewDatastore to to avoid stuttering
Return error instead of calling Fatalf
Move instantiation of Datastore to the end return

Signed-off-by: Tom Pantelis<EMAIL_ADDRESS>

@skitt Stephen - requesting review.


The Text  on "Add Package" button and selected "nuget.org" dropdown elements are not having 4.5:1 color contrast ratio.

Steps to Reproduce

Launch Xamarin Work application. It will open "Create a new workbook" window.
Navigate to File -> Add a Nuget package and activate it. Take a screenshot of opened popup having "nuget.org" element in selected state. (Refer Screenshot)
Check the colour contrast ration of "Add Package" button and "nuget.org" selected text in dropdown using the screenshot taken.

Expected Behavior
Colour contrast ratio should be minimum 4.5:1
Actual Behavior
Colour contrast ratio is lesser than 4.5:1
as shown in the attached screen-shots.
User Impact:
Low vision user will feel difficulty in seeing the text.
Environment
MAC: macOS High Sierra [10.13.4]
Workbook - 1.4 (master/b3f92f9)
Log File

Please add the following labels to this bug:
A11yMAS
Accessibility
MAS1.4.3
Xamarin-Workbook-MAC
Wipro

This is a stock macOS control. We do not influence or control the rendering of this control. The system-wide "Graphite" appearance may exhibit 4.5:1 contrast. Regardless, this is not something we can or should address in our code as it comes from macOS itself.

Exemption Approved - 1833


Bump dartdoc to 0.34.0

Description
Bump dartdoc to latest version and make newly introduced warnings fatal.
Related Issues
n/a
Tests
I added the following tests:
n/a
Checklist
Before you create this PR, confirm that it meets all requirements listed below by checking the relevant checkboxes ([x]). This will ensure a smooth and quick review process.

[x] I read the Contributor Guide and followed the process outlined there for submitting PRs.
[x] I signed the CLA.
[x] I read and followed the Flutter Style Guide, including Features we expect every widget to implement.
[x] I read the Tree Hygiene wiki page, which explains my responsibilities.
[x] I updated/added relevant documentation (doc comments with ///).
[x] All existing and new tests are passing.
[x] The analyzer (flutter analyze --flutter-repo) does not report any problems on my PR.
[x] I am willing to follow-up on review comments in a timely manner.

Breaking Change
Did any tests fail when you ran them? Please read Handling breaking changes.

[x] No, no existing tests failed, so this is not a breaking change.
[ ] Yes, this is a breaking change. If not, delete the remainder of this section.

[ ] I wrote a design doc: https://flutter.dev/go/template Replace this with a link to your design doc's short link
[ ] I got input from the developer relations team, specifically from: Replace with the names of who gave advice
[ ] I wrote a migration guide: https://flutter.dev/go/breaking-changes-template Replace this with a link to a pull request that adds the migration guide to https://flutter.dev/docs/release/breaking-changes

/cc @srawlins

Gold has detected about 9 untriaged digest(s) on patchset 2.
View them at https://flutter-gold.skia.org/cl/github/66048

The gold results are confusing. Gold was disabled by an infra change, so these images do not appear related.

Love it


enh: toggle option for group users to make models public

Feature Request

Context
In 0.4.x users are able to make their own models inside of a group. These models can either be made public for all users in openwebui or private for a specific group.
Describe the solution you'd like
A administrative setting/toggle set at each individual group (but with a default option available) to do the following:

Allow users in a group to publish models publicly for all users
Prevent users from making their models public and only allow them to set it to a specific group of their choosing

Describe alternatives you've considered
None
Additional context
Essentially this is creating the ability for more of a private workspace only for a user in a group instead of a pseudo-admin style privilege

i realized this should probably also be extended to prompts and knowledge as well.

Building on from this, ideally would like Workplace Models to behave like GPTs.

Allow users to create Models (AKA GPT's), with custom knowledge.
For privacy reasons, allow anyone to use the Model\GPT but only the creator or admin can edit or view the knowledge article.


k9s: 0.32.5 -> 0.32.6

Changes: https://github.com/derailed/k9s/compare/v0.32.5...v0.32.6
Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[x] Tested, as applicable:

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

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

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

[x] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

nixpkgs-review result
Generated using nixpkgs-review.
Command: nixpkgs-review pr 356238

x86_64-linux

:white_check_mark: 1 package built:

k9s

x86_64-darwin

:white_check_mark: 1 package built:

k9s

aarch64-darwin

:white_check_mark: 1 package built:

k9s

Thank you!


check if conn is nil and return error in function virtiofsSupported

Is this still needed?

i'd say nice to have (no release needed just for this)


fix(curriculum): Add 3 more certs to Chinese curriculum

Checklist:

[x] I have read freeCodeCamp's contribution guidelines.
[x] My pull request has a descriptive title (not a vague title like Update index.md)
[x] My pull request targets the main branch of freeCodeCamp.
[x] All the files I changed are in the same world language, for example: only English changes, or only Chinese changes, etc.

Per discussion in dev-team chat, I am proposing we go ahead and add 3 more certifications to the Chinese curriculum, since they are now 100% translated and approved on Crowdin and have had audits performed regarding inline code blocks and removal of Description and Instruction section code block comments.

Will deploy this later in a bit once I have gone thru some more PRs.


Improve merge behaviour

Pull request
Description
Ensure that we merge objects in a sensible way and not overwrite the target with a non object.
Checklist

[x] The RFC, if required, has been submitted and approved
[x] Any user-facing impact of the changes is reflected in docs.tremor.rs
[x] The code is tested
[x] Use of unsafe code is reasoned about in a comment
[x] Update CHANGELOG.md appropriately, recording any changes, bug fixes, or other observable changes in behavior
[x] The performance impact of the change is measured (see below)

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
53 unchanged lines in 2 files lost coverage.
Overall coverage increased (+0.03%) to 85.363%

Files with Coverage Reduction
New Missed Lines
%

src/connectors.rs
1
85.89%

tremor-script/src/interpreter.rs
52
91.95%

Totals

Change from base Build<PHONE_NUMBER>:
0.03%

Covered Lines:
39595

Relevant Lines:
46384

💛  - Coveralls


Overlapping icons in PDF viewer (print certificates)

Avoid duplicates

[X] Bug is not mentioned in the FAQ
[X] Bug is specific for iOS only, for general issues / questions that apply to iOS and Android please raise them in the documentation repository
[X] Bug is not already reported in another issue

Technical details

Device name: iPhone XR
iOS version: 15.0.2
App version: 2.12.1

Describe the bug
In the screen where the user can view the PDF before printing it, the buttons are overlapping:

Steps to reproduce the issue

Open the CWA
Click on the "Certificates" tab
Click on a certificate or add one
Click on "More"
Click on "Display Print Version"
Click on "Continue"
See the broken layout on the top

Expected behaviour
No overlapping icons.
Additional information
It seems like the background of the icons on the PDF viewer screen is translucent, thus one sees the icons of the PDF viewer and the icons of the certificates detail view.

Internal Tracking ID: EXPOSUREAPP-10179

PR: #3904

Confirm fixed in version 2.15:

Closing this issue as fixed.

I will remark in the internal ticket, that the fix was confirmed by the community.


awsbatch create failing in Codebuild ubuntu1804

Environment:

AWS ParallelCluster: aws-parallelcluster-2.5.1
Config:

`[global]
cluster_template = default
update_check = true
sanity_check = true
[aws]
aws_region_name = eu-west-2
[aliases]
ssh = ssh {CFN_USER}@{MASTER_IP} {ARGS}
[vpc bioinformatics]
vpc_id = vpc-####
master_subnet_id = subnet-076####
compute_subnet_id = subnet-076####
ssh_from = <IP_ADDRESS>/32
additional_sg = sg-####
use_public_ips = false
[cluster default]
key_name = ###
master_instance_type = t2.medium
#compute_instance_type = t2.micro
scheduler = awsbatch
cluster_type = ondemand
post_install = s3://####/aws-parallel-cluster-config/post_install.sh
post_install_args = "<IP_ADDRESS>/24"
ephemeral_dir = /scratch
base_os = ubuntu1804
s3_read_resource = arn:aws:s3::####/aws-parallel-cluster-config/*
ebs_settings = data01,software
raid_settings = scratch
vpc_settings = bioinformatics
[ebs software]
shared_dir = /nfs/software
volume_type = gp2
volume_size = 100
[ebs data01]
shared_dir = /data01
volume_type = gp2
volume_size = 20
[raid scratch]
shared_dir = /raid_scratch
raid_type = 0
num_of_raid_volumes = 4
volume_type = gp2
volume_size = 250`
Bug description and how to reproduce:
Hi Guys,
Could someone have a quick look at a problem Im having?
pcluster is failing in CodeBuild for awsbatch clusters for ubuntu1804. It is very likely an IAM  permissions problem at my end but the CodeBuild logs suggest that the ubuntu1804 docker image is missing - Im assuming that it is not looking in my own ECR but the CodeBuild logs indicate that an attempt to log into ECR (possibly for push purposes??).
There are no errors reported in /var/logs/cfn-init-cmd.log on the master node.
Any help would be appreciated.
Best,
J
Additional context:
Have a look at my CodeBuild logs for details:
`[Container] 2020/01/08 16:07:50 Waiting for agent ping
[Container] 2020/01/08 16:07:52 Waiting for DOWNLOAD_SOURCE
[Container] 2020/01/08 16:07:52 Phase is DOWNLOAD_SOURCE
[Container] 2020/01/08 16:07:52 CODEBUILD_SRC_DIR=/codebuild/output/src871444249/src
[Container] 2020/01/08 16:07:52 YAML location is /codebuild/output/src871444249/src/buildspec.yml
[Container] 2020/01/08 16:07:52 No commands found for phase name: INSTALL
[Container] 2020/01/08 16:07:52 Processing environment variables
[Container] 2020/01/08 16:07:52 Moving to directory /codebuild/output/src871444249/src
[Container] 2020/01/08 16:07:52 Registering with agent
[Container] 2020/01/08 16:07:52 Phases found in YAML: 4
[Container] 2020/01/08 16:07:52  BUILD: 4 commands
[Container] 2020/01/08 16:07:52  POST_BUILD: 3 commands
[Container] 2020/01/08 16:07:52  INSTALL: 0 commands
[Container] 2020/01/08 16:07:52  PRE_BUILD: 2 commands
[Container] 2020/01/08 16:07:52 Phase complete: DOWNLOAD_SOURCE State: SUCCEEDED
[Container] 2020/01/08 16:07:52 Phase context status code:  Message:
[Container] 2020/01/08 16:07:52 Entering phase INSTALL
[Container] 2020/01/08 16:07:52 Running command echo "Installing Docker version 18 ..."
Installing Docker version 18 ...
[Container] 2020/01/08 16:07:52 Phase complete: INSTALL State: SUCCEEDED
[Container] 2020/01/08 16:07:52 Phase context status code:  Message:
[Container] 2020/01/08 16:07:52 Entering phase PRE_BUILD
[Container] 2020/01/08 16:07:52 Running command echo Logging in to Amazon ECR...
Logging in to Amazon ECR...
[Container] 2020/01/08 16:07:52 Running command $(aws ecr get-login --no-include-email --region $AWS_DEFAULT_REGION)
WARNING! Using --password via the CLI is insecure. Use --password-stdin.
WARNING! Your password will be stored unencrypted in /root/.docker/config.json.
Configure a credential helper to remove this warning. See
https://docs.docker.com/engine/reference/commandline/login/#credentials-store
Login Succeeded
[Container] 2020/01/08 16:07:56 Phase complete: PRE_BUILD State: SUCCEEDED
[Container] 2020/01/08 16:07:56 Phase context status code:  Message:
[Container] 2020/01/08 16:07:56 Entering phase BUILD
[Container] 2020/01/08 16:07:56 Running command echo Build started on date
Build started on Wed Jan 8 16:07:56 UTC 2020
[Container] 2020/01/08 16:07:56 Running command echo Building the Docker images...
Building the Docker images...
[Container] 2020/01/08 16:07:56 Running command sh ./build-docker-images.sh
Building image ubuntu1804
Dockerfile not found for image ubuntu1804. Exiting...
[Container] 2020/01/08 16:07:56 Command did not exit successfully sh ./build-docker-images.sh exit status 1
[Container] 2020/01/08 16:07:56 Phase complete: BUILD State: FAILED
[Container] 2020/01/08 16:07:56 Phase context status code: COMMAND_EXECUTION_ERROR Message: Error while executing command: sh ./build-docker-images.sh. Reason: exit status 1
[Container] 2020/01/08 16:07:56 Entering phase POST_BUILD
[Container] 2020/01/08 16:07:56 Running command if [ $CODEBUILD_BUILD_SUCCEEDING = 0 ]; then echo Build failed; exit 1; fi
Build failed
[Container] 2020/01/08 16:07:56 Command did not exit successfully if [ $CODEBUILD_BUILD_SUCCEEDING = 0 ]; then echo Build failed; exit 1; fi exit status 1
[Container] 2020/01/08 16:07:56 Phase complete: POST_BUILD State: FAILED
[Container] 2020/01/08 16:07:56 Phase context status code: COMMAND_EXECUTION_ERROR Message: Error while executing command: if [ $CODEBUILD_BUILD_SUCCEEDING = 0 ]; then echo Build failed; exit 1; fi. Reason: exit status 1 `

Hi @microbioticajon
Currently, when using awsbatch as as scheduler, the only supported operating system is alinux.
Thank you for reporting this.
I'm going to mark it as a bug because we have to add a validation of the configuration parameters to detect this case before creation.
Why did you select Ubuntu18? Is it ok for you to use Amazon Linux as operating system?

Thanks @enrico-usai
I must have missed that bit about alinux in the docs - apologies.
Its mainly because our current system is based and validated on Ubuntu 1804. Also all our build scripts are geared for compiling with apt and we have a lot of tools to install and we wanted to maintain some consistency if we moved to using parallel-cluster. Im sure we would hit problems with missing system libraries in the ECR containers but I was going to investigate those once I was up and running :-)
It is not an insurmountable problem, it will just require a bit more work at our end if we want to use Batch. Batch would be nicer as it provides a heterogeneous compute environment for when we have large memory jobs.
Best,
J

Thanks for describing your use case.
I removed the bug label since I fixed the validator and the documentation and added the enhancement one to keep track of your request.


[go_router] Can anyone know's how to add AuthGuard web in this package

@nachiketghelani54
Please ask support questions on platforms like StackOverflow or Flutter's reddit help page.
Closing from here.


[Event Request] codeunit 7312 "Create Pick" OnCreateTempItemTrkgLinesOnAfterCalcTotalAvailQtyToPick

Hello,
Is it possible to add the following Event:
if not ((EntrySummary."Serial No." <> '') and (QtyTracked > 0)) then begin
WhseItemTrackingLine.CopyTrackingFromEntrySummary(EntrySummary);
TotalAvailQtyToPickBase :=
CalcTotalAvailQtyToPick(
Location.Code, ItemNo, VariantCode, WhseItemTrackingLine,
SourceType, SourceSubType, SourceNo, SourceLineNo, SourceSubLineNo, 0, HasExpiryDate);
                    // DINNL <<
                    OnCreateTempItemTrkgLinesOnAfterCalcTotalAvailQtyToPick(EntrySummary, ItemNo, VariantCode, '', TotalAvailQtyToPickBase);
                    // DINNL >>
                    if CalledFromWksh and (WhseWkshLine."From Bin Code" <> '') then begin
                        FromBinContentQty :=
                            GetFromBinContentQty(
                                WhseWkshLine."Location Code", WhseWkshLine."From Bin Code", WhseWkshLine."Item No.",
                                WhseWkshLine."Variant Code", WhseWkshLine."From Unit of Measure Code", WhseItemTrackingLine);
                        if TotalAvailQtyToPickBase > FromBinContentQty then
                            TotalAvailQtyToPickBase := FromBinContentQty;
                    end;

[IntegrationEvent(false, false)]
local procedure OnCreateTempItemTrkgLinesOnAfterCalcTotalAvailQtyToPick(EntrySummary: Record "Entry Summary"; ItemNo: Code[20]; VariantCode: Code[10]; BinCode: Code[20]; var TotalAvailQtyToPickBase: Decimal)
begin
end;

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. Please do not reply to this, as we do not monitor closed issues. If you have follow-up questions or requests, please create a new issue where you reference this one.


Lifetime bound error when deriving Encode and Decode with v2.0.0-rc.3

Minified example:
use bincode::{Decode, Encode};

#[derive(Encode, Decode)]
struct Foo<B: Bar> {
    bar: Vec<B>,
}

trait Bar: Encode + Decode {}

Throws:
error[E0310]: the parameter type `B` may not live long enough
 --> src/main.rs:5:10
  |
5 | #[derive(Encode, Decode)]
  |          ^^^^^^ ...so that the type `B` will meet its required lifetime bounds
  |
  = note: this error originates in the derive macro `Encode` (in Nightly builds, run with -Z macro-backtrace for more info)
help: consider adding an explicit lifetime bound...
  |
6 | struct Foo<B: Bar + 'static> {
  |                   +++++++++

error[E0310]: the parameter type `B` may not live long enough
 --> src/main.rs:5:18
  |
5 | #[derive(Encode, Decode)]
  |                  ^^^^^^ ...so that the type `B` will meet its required lifetime bounds
  |
  = note: this error originates in the derive macro `Decode` (in Nightly builds, run with -Z macro-backtrace for more info)
help: consider adding an explicit lifetime bound...
  |
6 | struct Foo<B: Bar + 'static> {
  |                   +++++++++

For more information about this error, try `rustc --explain E0310`.
error: could not compile `pad` (bin "pad") due to 2 previous errors

I've managed to reproduce the same error when replacing Vec<B> with e.g. [B; 1], though the error is only thrown for Decode.
I don't yet know the codebase but could this be related to https://github.com/bincode-org/bincode/pull/635?
Thanks!
Edit: I've done a little further digging and it would seem that there is a 'static bound introduced by the use of TypeId for both [T; N] and Vec<T> (amongst a few others). Although it likely won't be an issue in a lot of cases, this might end up being impractical for types that might want to carry references?

I have the same issue, specifically when deriving Encode on a struct that has a Vec with &'a str items.
Minimal reproducible example that does not compile using RC-3:
use bincode::Encode;

#[derive(Encode)]
struct MyStruct<'a> {
    vec_of_str: Vec<&'a str>,
}

Compilation error:
error[E0521]: borrowed data escapes outside of method
 --> src/lib.rs:3:10
  |
3 | #[derive(Encode)]
  |          ^^^^^^
  |          |
  |          `self` is a reference that is only valid in the method body
  |          `self` escapes the method body here
  |          lifetime `'a` defined here
  |          argument requires that `'a` must outlive `'static`
  |
  = note: this error originates in the derive macro `Encode` (in Nightly builds, run with -Z macro-backtrace for more info)

For more information about this error, try `rustc --explain E0521`.
error: could not compile `untitled8` (lib) due to previous error

I am encountering the same problem. I tried a good bit of types, and I got that any simple slice is going to fail:

Vec<T<'a>>
Box<[T<'a>]>
&'s [T<'a>]

where T is covariant over 's all fails. This is not insolvable, given that both BTreeSet<T<'s>> and BTreeMap<T<'s>,_> works with no problem (and they contains a slice under the hood)

Have something similar: we have a newtype wrapping over a heapless::Vec<T, N> to be able to derive bincode on stucts containing it. I'm pretty sure that this used to work previously (version = "2.0.0-rc.2"), but now fails to compile: 😿
code
#[derive(Clone, Debug, Default)]
#[repr(transparent)]
pub struct BincodeVec<T, const N: usize>(pub Vec<T, N>);

impl<T: Encode, const N: usize> Encode for BincodeVec<T, N> {
    fn encode<E: bincode::enc::Encoder>(&self, encoder: &mut E) -> Result<(), EncodeError> {
        self.0.as_slice().encode(encoder)
    }
}

compilation output
error[E0310]: the parameter type `T` may not live long enough
  --> src/appcfg/heapless_bincode.rs:53:9
   |
53 |         self.0.as_slice().encode(encoder)
   |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ...so that the type `T` will meet its required lifetime bounds
   |
help: consider adding an explicit lifetime bound...
   |
51 | impl<T: Encode + 'static, const N: usize> Encode for BincodeVec<T, N> {
   |                +++++++++

Update: does compile with the version from current trunk (https://github.com/bincode-org/bincode/commit/73258a773595d9c0b8367f8a63968a1e8a528849). Issue seems to be fixed (in my case) from https://github.com/bincode-org/bincode/commit/08556caaa527ada2ae32cc847e2cafbeab9b30cb onwards.

Very good, we're planning to do a new release candidate soon:tm: :+1:


added an API_URI_FILTER config option, refs #114

Codecov Report

Merging #115 into master will increase coverage by 0.09%.
The diff coverage is 100%.

@@            Coverage Diff            @@
##           master    #115      +/-   ##
=========================================
+ Coverage    96.8%   96.9%   +0.09%
=========================================
  Files           3       3
  Lines         313     323      +10
  Branches       68      74       +6
=========================================
+ Hits          303     313      +10
  Misses          6       6
  Partials        4       4

Impacted Files
Coverage Δ

sanic_openapi/swagger.py
95% <100%> (+0.45%)
:arrow_up:

Continue to review full report at Codecov.

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

Thanks, i haven't noticed it! I've committed the suggested version.


Resizing items in the current demo does not appear to work.

When trying to resize a grid element in the current demo it returns back to the original size after the left mouse button is released.
In the old demo resizing works properly.
I'm trying to use this library but struggling to get resizing to work without a working example. If I use an old version (0.18.3) then resizing works, but with 1.0.0 and newer it doesn't.

Looks like I introduced a new bug - sorry! Use 1.2.0 in the meantime, I'll
deprecate and publish a fix shortly.
On Mon, Mar 1, 2021 at 5:57 PM Antti Kaikkonen<EMAIL_ADDRESS>wrote:

When trying to resize a grid element in the current demo
https://react-grid-layout.github.io/react-grid-layout/examples/0-showcase.html
it returns back to the original size after the left mouse button is
released.
In the old demo
http://strml.github.io/react-grid-layout/examples/0-showcase.html
resizing works properly.
I'm trying to use this library but struggling to get resizing to work
without a working example. If I use an old version (0.18.3) then resizing
works, but with 1.0.0 and newer it doesn't.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/react-grid-layout/react-grid-layout/issues/1407, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AAJEKPZTEAZ3HQGPTUFSHIDTBQLV7ANCNFSM4YNQPZZQ
.

Looks like I introduced a new bug - sorry! Use 1.2.0 in the meantime, I'll deprecate and publish a fix shortly.
Thanks for the quick response. I already tried that version and it didn't work. It is possible that I did something wrong so I will try again when there is a working demo.

Yep, thanks. 1.2.2 fixes this.

Thanks for the quick fix. I tested it and it is working now.


docker version always got Cannot connect to zookeeoer. Connection time-out

Hi mijialko. thanks for share good tools. but I tried your docker image. but always got
Cannot connect to zookeeper. Connection time-out.   could you take a look when you free. thanks.

Hi,
your url to zookeeper is not ok. If zookeeper is in container, then url can be something like:
myzkcontainername:2181, if container name iz myzkcontainername

Hi,
Thanks for reply.  But my zookeeper is running on my local env (
<IP_ADDRESS>:2181) not in docker's containner. and could been found by
dubbo-admin.
Aleksandar Mijalkovic<EMAIL_ADDRESS>于2019年8月30日周五 下午5:17写道：

Hi,
your url to zookeeper is not ok. If zookeeper is in container, then url
can be something like:
myzkcontainername:2181, if container name iz myzkcontainername
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/mijalko/zookeeper_browser/issues/7?email_source=notifications&email_token=AGLLKGT6WK7BNRI3X7W4UB3QHDQSDA5CNFSM4ISI5IFKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD5RDBYY#issuecomment-526528739,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AGLLKGVWPJN5LHZA6XSQZH3QHDQSDANCNFSM4ISI5IFA
.

Containers cannot reach services on your host machine. On mac there is option to use docker.for.mac.localhost as an url. I am not sure if there is such option for docker on linux


Merge multisig transactions (raw) + test

https://github.com/algorand/java-algorand-sdk/blob/840cf26043f475e43938c64fbda4526a874c258f/src/test/java/com/algorand/algosdk/account/TestAccount.java#L194-L203
https://github.com/manuelmauro/algonaut/blob/4f934e0648e6a8e1bad5b430c201380d627e792a/tests/test_account.rs#L195-L201

Not sure we need this: AFAIR the removed mergeMultisigTransactions was just merging the signatures. Can't we just deserialize the transactions and construct a multisig?

We probably don't need an SDK function for this, with the way the transactions are structured here it should be safe for users to merge the multisig themselves. We only would have to expose a function to deserialize the transactions.

I'll close this as it seems at best a peripheral utility and if it's required it will be implemented as part of the SDKs test suite.


change this sample to use file scoped namespace

change this sample to use file scoped namespace like the other samples in the page
sorry for what looks like repeat PRs, I'm using the browser for this.

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.:x: prjseal sign nowYou have signed the CLA already but the status is still pending? Let us recheck it.

These are too much work to review for little benefit. As we upgrade we're doing that. BTW, if we were to accept a PR like this, from the Files tab, select Edit file, then navigate to other files you want to change.


Mobile form editor for embedControl static text should be localizable.

Is your feature request related to a problem? Please describe.
Any static text in the embedControl form XML should be able to be localized, otherwise, it would need the form repeated many times for maybe one or two text fields.
Describe the solution you'd like
Save the default text in the XML, and allow users to edit and add more locales later.

Closed, won't be done.


fix: all Artifacts that were written should be saved and garbage collected

Fixes #13583
Motivation
Two issues:

Optional artifacts that were not written were still being passed back through the WorkflowTaskResult, which was causing Artifact GC to try to delete them (and fail to do so)
If any non-optional artifact did fail to get saved because it wasn't present, other artifacts would not get saved

Modifications
To address # 1 above, only write to WorkflowTaskResult the artifacts which have been written, whether or not they're marked "Optional". This is what Artifact GC will attempt to delete.
To address # 2 above, don't prematurely return if an artifact fails to be saved.
Verification
e2e test for Artifact GC now includes tests for these cases.
To test # 1 above, see artgc-optional-artifact-not-written.yaml, which includes an Optional artifact that isn't present, which we confirm does not fail ArtifactGC. We also confirm that the Workflow succeeds in this case.
To test # 2 above, see artgc-non-optional-artifact-not-written.yaml , which includes a non-Optional artifact that isn't present, plus another artifact which is present and we confirm does get saved. We also confirm that the Workflow succeeds in this case, since the Artifact that wasn't present was non-optional.

Hey @agilgur5 - I know you mentioned saving artifacts in parallel would be a good improvement. My thought was that with what I did it's clearly just a "fix" (which could theoretically be patched), and that saving in parallel would be more of a feature. I was also paranoid there could be some new risk of doing it in parallel, that some artifact type may not be able to handle the concurrent saves, although maybe that's not likely. If you feel this is silly, I can revise.


feat: common module options (show_if, on_click, tooltip)

The first three of many options that are common to all modules.
Includes documentation for each new option.
Resolves #36. Resolves partially #34.

Only formatting, next few pushes will sort that.


Use Hamcrest assertions instead of JUnit in tests/integration/mp-bean-validation - backport 2.x (#1749)

Part of #1749
Original PR

/trigger


What is the number of people it can support

I am planning to set up this is my university, what are the maximum faces it can support(we have about 5000 students)

Well, it all depends on the server you use. If you use let's say 40 cameras that request the same server every 2 seconds, well you will need to scale up the server.
The system itself doesn't have limits but the way you will deploy it, access the data,... Will need to be adapted depending on your usage. Also, I really advise you to fully read the code and to see what has to be optimized. I wrote it in a week during my studies, it totally not production-ready as it is. Images should be resized and optimized, the back has to be wrapped with more try/except with specific exceptions,....
Good luck! And if you need any help, feel free to reach me :)


Run npm dedupe and update cross-spawn and micromatch

Proposed Changes
(Describe your changes here. Also describe the motivation for your changes: what problem do they solve, or how do they improve the application or codebase? If this pull request fixes an open issue, use a keyword to link this pull request to the issue.)
Regular npm upkeep: run npm dedupe and also npm audit, which resulted in updating micromatch (see https://github.com/advisories/GHSA-952p-6rrq-rcjv) and cross-spawn (see https://github.com/advisories/GHSA-3xgq-45jj-v275).

Screenshots of your changes (if applicable)

Associated documentation repository pull request (if applicable)

Type of Change
(Write an X or a brief description next to the type or types that best describe your changes.)

Type
Applies?

🚨 Breaking change (fix or feature that would cause existing functionality to change)

✨ New feature (non-breaking change that adds functionality)

🐛 Bug fix (non-breaking change that fixes an issue)

🎨 User interface change (change to user interface; provide screenshots)

♻ Refactoring (internal change to codebase, without changing functionality)

🚦 Test update (change that only adds or modifies tests)

📦 Dependency update (change that updates a dependency)
X

🔧 Internal (change that only affects developers or continuous integration)

Checklist
(Complete each of the following items for your pull request. Indicate that you have completed an item by changing the [ ] into a [x] in the raw text, or by clicking on the checkbox in the rendered description on GitHub.)
Before opening your pull request:

[X] I have performed a self-review of my changes.

Check that all changed files included in this pull request are intentional changes.
Check that all changes are relevant to the purpose of this pull request, as described above.

[ ] I have added tests for my changes, if applicable.

This is required for all bug fixes and new features.

[ ] I have updated the project documentation, if applicable.

This is required for new features.

[ ] If this is my first contribution, I have added myself to the list of contributors.

After opening your pull request:

[ ] I have updated the project Changelog (this is required for all changes).
[ ] I have verified that the pre-commit.ci checks have passed.
[ ] I have verified that the CI tests have passed.
[ ] I have reviewed the test coverage changes reported by Coveralls.
[ ] I have requested a review from a project maintainer.

Questions and Comments
(Include any questions or comments you have regarding your changes.)

Pull Request Test Coverage Report for Build<PHONE_NUMBER>4
Details

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 91.76%

Totals

Change from base Build<PHONE_NUMBER>9:
0.0%

Covered Lines:
41258

Relevant Lines:
44285

💛  - Coveralls