cr-raft-ha-storage.yaml is broken

Describe the bug:
Applying cr-raft-ha-storage.yaml fails with the following errors:
error: error validating "https://raw.githubusercontent.com/banzaicloud/bank-vaults/main/operator/deploy/cr-raft-ha-storage.yaml": error validating data: [ValidationError(Vault.spec.affinity.nodeAffinity.preferredDuringSchedulingIgnoredDuringExecution[0]): unknown field "podAffinityTerm" in com.banzaicloud.vault.v1alpha1.Vault.spec.affinity.nodeAffinity.preferredDuringSchedulingIgnoredDuringExecution, ValidationError(Vault.spec.affinity.nodeAffinity.preferredDuringSchedulingIgnoredDuringExecution[0]): missing required field "preference" in com.banzaicloud.vault.v1alpha1.Vault.spec.affinity.nodeAffinity.preferredDuringSchedulingIgnoredDuringExecution, ValidationError(Vault.spec.volumeClaimTemplates[0].spec): unknown field "hostPath" in com.banzaicloud.vault.v1alpha1.Vault.spec.volumeClaimTemplates.spec]; if you choose to ignore these errors, turn validation off with --validate=false

I changed the YAML to match the CRD to the best of my ability, after which I was able to apply the YAML, but vault-operator doesn't start any vault instances, and vault-configurer just fails forever with:
2022-08-20T00:16:36-07:00 {"level":"error","msg":"error checking if vault is sealed: error checking status: context deadline exceeded, waiting 5s before trying again...","time":"2022-08-20T07:16:36Z"}
2022-08-20T00:16:41-07:00 {"level":"info","msg":"checking if vault is sealed...","time":"2022-08-20T07:16:41Z"}
2022-08-20T00:17:41-07:00 {"level":"error","msg":"error checking if vault is sealed: error checking status: context deadline exceeded, waiting 5s before trying again...","time":"2022-08-20T07:17:41Z"}
2022-08-20T00:17:46-07:00 {"level":"info","msg":"checking if vault is sealed...","time":"2022-08-20T07:17:46Z"}

Expected behaviour:
Applying the YAML should work without any errors, vault instances should be spun up
Steps to reproduce the bug:
Install vault-operator using helm, apply the rbac yaml, try to apply https://raw.githubusercontent.com/banzaicloud/bank-vaults/main/operator/deploy/cr-raft-ha-storage.yaml
Environment details:

Kubernetes version (e.g. v1.10.2): v1.24.1+k3s1
Cloud-provider/provisioner (e.g. AKS, GKE, EKS, PKE etc): Bare metal
bank-vaults version (e.g. 0.4.17): 1.15.8
Install method (e.g. helm or static manifests): helm
Logs from the misbehaving component (and any other relevant logs):

Here are the logs from vault-operator:
2022-08-20T00:13:41-07:00 {"level":"info","ts":1660979621.9926412,"logger":"cmd","msg":"Watched namespace: "}
2022-08-20T00:13:42-07:00 {"level":"info","ts":1660979622.9337153,"logger":"controller-runtime.metrics","msg":"metrics server is starting to listen","addr":":8383"}
2022-08-20T00:13:42-07:00 {"level":"info","ts":1660979622.9338908,"logger":"cmd","msg":"Registering Components."}
2022-08-20T00:13:43-07:00 {"level":"info","ts":1660979623.7365143,"logger":"cmd","msg":"Starting the Cmd."}
2022-08-20T00:13:43-07:00 {"level":"info","ts":1660979623.7366886,"logger":"controller-runtime.manager","msg":"starting metrics server","path":"/metrics"}
2022-08-20T00:13:43-07:00 I0820 07:13:43.736806       1 leaderelection.go:243] attempting to acquire leader lease vault/vault-operator-lock...
2022-08-20T00:14:01-07:00 I0820 07:14:01.159093       1 leaderelection.go:253] successfully acquired lease vault/vault-operator-lock
2022-08-20T00:14:01-07:00 {"level":"info","ts":1660979641.1594145,"logger":"controller-runtime.manager.controller.vault-controller","msg":"Starting EventSource","source":"kind source: /, Kind="}
2022-08-20T00:14:01-07:00 {"level":"info","ts":1660979641.1595492,"logger":"controller-runtime.manager.controller.vault-controller","msg":"Starting Controller"}
2022-08-20T00:14:01-07:00 {"level":"info","ts":1660979641.2909288,"logger":"controller-runtime.manager.controller.vault-controller","msg":"Starting workers","worker count":1}
2022-08-20T00:14:01-07:00 {"level":"info","ts":1660979641.2910993,"logger":"controller_vault","msg":"Reconciling Vault","Request.Namespace":"vault","Request.Name":"vault"}
2022-08-20T00:15:50-07:00 {"level":"info","ts":1660979750.7725778,"logger":"controller_vault","msg":"Reconciling Vault","Request.Namespace":"vault","Request.Name":"vault"}
2022-08-20T00:16:50-07:00 {"level":"info","ts":1660979810.8944893,"logger":"controller_vault","msg":"Reconciling Vault","Request.Namespace":"vault","Request.Name":"vault"}
2022-08-20T00:17:51-07:00 {"level":"info","ts":1660979871.0938833,"logger":"controller_vault","msg":"Reconciling Vault","Request.Namespace":"vault","Request.Name":"vault"}
2022-08-20T00:18:51-07:00 {"level":"info","ts":1660979931.1938345,"logger":"controller_vault","msg":"Reconciling Vault","Request.Namespace":"vault","Request.Name":"vault"}
2022-08-20T00:19:51-07:00 {"level":"info","ts":1660979991.2975862,"logger":"controller_vault","msg":"Reconciling Vault","Request.Namespace":"vault","Request.Name":"vault"}
2022-08-20T00:20:51-07:00 {"level":"info","ts":1660980051.3187408,"logger":"controller_vault","msg":"Reconciling Vault","Request.Namespace":"vault","Request.Name":"vault"}

Resource definition (possibly in YAML format) that caused the issue, without sensitive data:

/kind bug

The problem with vault-0 not showing up was related to a misconfiguration on my part of the PVC, but the YAML being invalid is still an issue.

Most likely because, as mentioned in the docs:
Note: When using the Integrated Storage backend, a separate ha_storage backend cannot be declared.


Where can I find tutorial to make my own device driver for a device under I2C bus?

I'm trying to make my own device driver. the board has ADC chip connected to I2C pins.
Is there any tutorial to make device driver from scratch in zephyr?
I'm trying to find code example from devicetree through Kconfig and application usage, but I couldn't find yet.

I know it's hard to start with drivers. I suggest to have a look at /drivers/adc/adc_nrfx.c to see an actual implementation of the ADC API.
And for the I2C stuff, I recommend to look at a sensor driver for a starting point, most of them use I2C.
To enable configuration of your driver in devicetree check /dts/bindings/
The yamls contain the definition of what can be configured via DT.

Closing as this is old, and the question has been answered (there isn't one).  The best available advice remains look at examples for similar drivers and follow what they do.


nexcloud: 16.0.4 -> 16.0.5

Motivation for this change
Latest minor version for Nextcloud 16.
Nextcloud 17 is out (and package #69636) but many plugins are not yet functional.
I use it personally.
Things done

[ ] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nix-review --run "nix-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[x] Ensured that relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

Notify maintainers
cc @

Backported as 000a9108aee65c9944fc94f6d3ce505cc05e1e1e.


Fix "data points outside time range" when there is no datapoints and aggregate function is used

Patch to fix misleading "data points outside time range" alert message on a graph using aggregate function (say median(10m)) if metric has no data in a selected time range.
groupBy_perf function in datasource-zabbix/timeseries.js do not properly handle empty datapoints[] case inserting bogus [undefined, 0] sample with last grouped_series.push([frame_value, frame_ts]) call.

I'll check it soon, thanks for PR!


Allow the filter to take a list of choices rather than just using the distinct set of values for a column

Hi there, I've copied your code into my project, and after a couple of tweaks, have successfully integrated it with my ui-grid.  Here's my feedback.
I think you need to add a choices binding to the directive and use it if supplied, rather than the values for a given column.
scope : {
choices : '='
buttonLabel : '='
    }

This is because if external pagination is used then all the values for a column aren't necessarily on the current page.
I think being able to supply a configurable button label is also a good idea.

Hi @MurrayFurtado,
Thanks for your suggestion, will work on soon. Thanks.


Folder structure for sample input data

Currently all files are in the 10_inputs folder.

Perhaps this needs to be split out as rasters are saved as "25m" subfolder.
exclusion polygons for each bec unit are also sitting in the same folder.
need to be clipped to aoi also (as apposed to landscape scale).  - thisi is also done when using the bec mask layer so not needed

Updated the folder structure to create a 02_masks folder in sample plan.
Still need to address files in subfolders. Currently using a helper function to clean up after created all (however this is sitting in vignette not as separate function)
`
root_path <- fs::path(PEMprepr::read_fid()$dir_201010_inputs$path_abs)
move_files <- function(root_path){
ftm <- fs::dir_ls(root_path,recurse = T, regexp = ".tif$")
for (i in ftm){
# i = ftm[1]
finame <- basename(i)
froot <-  basename(fs::dir_ls(root_path, recurse = F, regexp = ".tif$"))

if(finame %in% froot) {
  cli::cli_alert_success(
    " {.val finame}. skipped "
  )
} else {

  fnew <- fs::path(root_path, finame)
  fmove <- fs::file_move(i, fnew)
  cli::cli_alert_success(
    " {.val i}. moved to  "
  )
}

}
}
move_files(root_path)
`


glow backend?

Hi again, and thanks for a really nice looking library!
I was wondering if you have considered using (or adding) glow as the OpenGL backend in three-d?
Some direct benefits:

No need for build.rs (I tend to shy away from libraries using it).
No need to build and maintain the cross-platform OpenGL bindings yourself (though I guess most of that work is already behind you).
You can use egui_glow instead of rolling your own.

The reason I ask is for egotistical reasons. I would love to be able to write an eframe app and then add a high-level 3D rendering library on top of it. And three-d looks like it could be a great candidate for such a library! In such a world eframe could focus on being a good framework for setting up a window, and three-d could focus on being a great 3D rendering library.
Of course we could instead build out the framework part of three-d to be as feature-complete as eframe, but that's a lot of work (for instance: eframe has a bunch of code in it to handle mobile text input on the web), and it would greatly detract from what three-d is: a 3D rendering crate.
There are likely subtleties here that I'm not seeing, but I thought I would at least throw out the idea!
I guess another way to phrase this issue is: do you think three-d could be made into a library, built on top of glow?
PS: even though I am the author of eframe I would love to throw it away if there was a good alternative.

Thanks a lot! 👍 I'm glad you liked it, then I don't feel that bad doing shameless self-promotion 🙂
Also, I think it sounds like a great idea! 🚀  I would really like to integrate with other libraries and focus on rendering! I definitely don't want to make three-d into a framework, I only have the window part of the library to make it easy to get started and I had always figured that that was something people would replace with something more advanced, though I'm not sure it happens in practice. So I'm all in for integrating with eframe or any other framework for that matter. I guess eframe would depend on three-d, just as eframe depends on egui, or did I get that wrong?
About glow, I have definitely considered it. The reason why I don't use it is because it didn't exist 4 years ago when I started this project. I have even talked to grovesNL about that we are doing almost the same thing, though my focus was something more high-level and therefore I only implemented the gl functionality that I needed, whereas for glow, the gl functionality is an end goal in itself. The reason why I didn't change the backend is simply because I didn't have a very big incentive to do it. As you also point out, most of the work is already done, so there is more work in changing to glow. However, it shouldn't be a big task since all of the functionality is the same and even with almost the same naming.
Do you need anything else other than changing the backend to glow?

That's great to hear!
My current thinking is to leave three-d and eframe as unrelated crates that share a dependency on glow. Then an eframe user could add a dependency on three-d to get access to a high-level 3D rendering library. eframe creates the glow context, and the user would pass it to three-d. This keeps things very modular. For instance, a user can easily swap out eframe for another framework (e.g. tao).
If you like to discuss it more, maybe find me on the egui discord and DM me!

Related: https://github.com/emilk/egui/pull/1351

The timeline is that I finish up the 0.11 release and then I start on this for the 0.12 release.

@emilk Wasn't too big an effort, so I just merged it into master together with other changes in 40972900d52d08fc61c8966a17fb94ff49993217 . Will you test if it works for you? The entrypoint is Context::from_gl_context that takes an Rc to a glow context.

I will test!

I tested it, and it in https://github.com/emilk/egui/pull/1407, and it works great! Thanks @asny !


Add DEFAULT_BRANCH_PRERELEASE

The problem
I'm trying to integrate semantic-release into the CI pipeline for our services. Currently, every merge to master gets deployed to the dev stage and we create a release when we want to deploy to prod. Unfortunately, we will end up with prod deployments on every merge by switching to semantic-release.
The solution
I'm totally open to other suggestions but my change allows us to create pre-releases on merge to master (with only dev deployment) and just marking them as "ready for release" when we want a prod deployment. Another option would be to allow overriding branches config but I can't think of a nice way to achieve that without overriding the whole semantic-release config.

Interesting. Reading through semantic-release's docs on pre-releases, they seem to recommend using branches specifically named beta (and alpha if you want two pre-releases at once) for this kind of thing. I'm guessing that would be a major departure in terms of workflow for you though.
One alternate technique that my team has used successfully is to do the dev deployment in the pull request phase. So each commit to a branch actually deploys to a dev environment that you can use and test with. Then when the merge to main (aka master) happens, the production deployment is done. IMO, this is a better mental model since ideally code in master is in production or ready to go to production at any point.

Interesting. Reading through semantic-release's docs on pre-releases, they seem to recommend using branches specifically named beta (and alpha if you want two pre-releases at once) for this kind of thing. I'm guessing that would be a major departure in terms of workflow for you though.
One alternate technique that my team has used successfully is to do the dev deployment in the pull request phase. So each commit to a branch actually deploys to a dev environment that you can use and test with. Then when the merge to main (aka master) happens, the production deployment is done. IMO, this is a better mental model since ideally code in master is in production or ready to go to production at any point.

OK, thanks for your feedback. I've spent some time thinking about this and don't believe using alpha and beta branches makes a lot of sense in our case, but I agree that pre-releasing on the default branch is a temporary workaround for our niche use case and it does not make sense to extend this action. I'm gonna close this PR and I'll put a custom configuration in package.json temporarily which should get us going.

Sounds good Anton, thanks for the good discussion!


Js url from containers

@paetling
Resolves #555

ok. seems legit.  this is pretty awesome

Yeah it was real easy to implement, you were right


More flexible file hashing support

Please fill in the fields below to submit a pull request.  The more information
that is provided, the better.
Fixes issue #:
Description of the changes being introduced by the pull request:

Don't use securesystemslib.settings.HASH_ALGORITHMS for file hashing – doing so is poor cohesion and overloading a setting meant for key hashing
Add a new tuf.settings.FILE_HASHING_ALGORITHM for file hashing
Use tuf.settings.FILE_HASHING_ALGORITHM for hashes in timestamp and targets metadata

Please verify and check that the pull request fulfills the following
requirements:

[ ] The code follows the Code Style Guidelines
[ ] Tests have been added for the bug fix or new feature
[ ] Docs have been added for the bug fix or new feature

I'm closing this pull request because I don't want the branch name 'dirtyhack' to live in perpetuity in the merge commit.


[Question] Can you fetch public posts with a certain hashtag?

BTW I found that it's possible to retrieve json from a specific tags like this https://www.instagram.com/explore/tags/example/?__a=1.

Hmm, how do you get the response in JSON?

I'll make a PR where I've implemented a custom method for it

But simply put, adding the ?__a=1 parameter makes it a JSON response.

Oh, I see. I'll look into it.

The output is entirely different and we only get four posts in total.

If you find a way to get posts by tags which has a similar output to the current setup I'm all ears. In the mean time I'll close this.


jigsaw-blog-template 1.2.0 is broken with jigsaw 1.3.34

jigsaw init blog terminates with this error:
> npm run local
npm ERR! missing script: local

npm ERR! A complete log of this run can be found in:
npm ERR!     /root/.npm/_logs/2021-02-07T00_44_50_430Z-debug.log

There was an error running the command 'npm run local'

This likely stems from the local npm script being removed in this change.
vendor/tightenco/jigsaw/stubs/mix/package.json:        "dev": "npm run local",
vendor/tightenco/jigsaw/stubs/mix/package.json:        "watch": "npm run local -- --watch"
vendor/tightenco/jigsaw/src/Scaffold/DefaultInstaller.php:        'npm run local',

The easiest way to address this is probably to create a local script that invokes the same command as the dev script: mix watch.

Thanks! Should be fixed in Jigsaw v1.3.35, it'll run npm run dev now.


Lot of inconsistencies in Demo and Main Repo

There is a verified commit for the demo version which also has a lot of inconsistencies and mistakes as compared to the main repo.
The verified commit is: https://github.com/m-Ryan/easy-email-demo/tree/f15b96b00f25f6cec267c389c1895dad987a70ef
The main repo I am referring to is: https://github.com/arco-design/easy-email
Kindly upload the latest code on the demo as well with a verified commit.
As some things are working on the main repo while some are not working on a demo.
Looking forward to your kind response.
Thank You

Dependencies have been updated now. But what are the inconsistencies you said?


Change pcf policy branch to cf

Connected to #30
This PR renames the policy prefix from pcf to cf to make the demo app compatible with the tutorial updates in https://github.com/cyberark/conjur-org/pull/317.

Thanks @jtuttle, I've updated the filenames as well now.
The cf_4_with_entitlement.yml does still exist. For the local demo, for example, it's loaded in 08-privilege-app. The Conjur V4 demo works just fine in the local demo still. I don't have a public V4 instance to check with the installed tile demo.


Added support for Swift LSP

Describe your changes
Added a Swift LSP support in neovim. Started working with Swift code in Linux using neovim. Found that there was no support for LSP binidings in Mason, hence took some time to introduce sourcekit-lsp for Swift programming language. There exists a VS code extension maintained by SSWC, I'm creating required mason-registry to pull it from the VSX repository.
Issue ticket number and link

Checklist before requesting a review

[ x] I have successfully tested installation of the package.
[ x] I have successfully tested the package after installation.

Screenshots

Hi,
I found one issue while testing. I don't see any discussion forum to get answers. Please let me know how to go about it?
Question:
When I used the local package it is installing. But when I open a swift file and do "LspInfo" there are no clients attahed. After further investingation I figured that there is an error I'm getting when i try to run "sourckit" locally manuall regarding "Error: nomodule named vscode" any inputs on how to solve these errors? This is coming from the vsix package I'm downloading. Looks like not all the dependencies are not packaged as part of the vsix file. How to put some preconditions for this installations?

I think the schema should also be added if one is available

Done. Added Schema.


NIFI-4538 - Add Process Group information to...

...Search results

Separated the search functionality.
Added a unit test.
Added the PG info to UI (a mere draft).

For all changes:

[x] Is there a JIRA ticket associated with this PR? Is it referenced
in the commit message?

[x] Does your PR title start with NIFI-XXXX where XXXX is the JIRA number you are trying to resolve? Pay particular attention to the hyphen "-" character.

[x] Has your PR been rebased against the latest commit within the target branch (typically master)?

[x] Is your initial contribution a single, squashed commit?

For code changes:

[x] Have you ensured that the full suite of tests is executed via mvn -Pcontrib-check clean install at the root nifi folder?
[x] Have you written or updated unit tests to verify your changes?
[ ] If adding new dependencies to the code, are these dependencies licensed in a way that is compatible for inclusion under ASF 2.0?
[ ] If applicable, have you updated the LICENSE file, including the main LICENSE file under nifi-assembly?
[ ] If applicable, have you updated the NOTICE file, including the main NOTICE file found under nifi-assembly?
[ ] If adding new Properties, have you added .displayName in addition to .name (programmatic access) for each of the new properties?

For documentation related changes:

[ ] Have you ensured that format looks appropriate for the output in which it is rendered?

The PG names/IDs display style improvements are welcomed.
Note: The GET flow/search-results API was changed.

@mcgilman In my experience, the top level group information was not really as useful as the parent one. So I don't mind the change you proposed.
Anyway, @mattyb149 should be asked since he had created the original request.

@mcgilman 's suggestion makes sense to me and should prove useful in the search results.  Make it so! :)

@mcgilman Implementation of the nearest versioned group is done.

Thanks @yuri1969! This has been merged to master.


StatsWorker: undefined method `count' for nil:NilClass

kontena-etcd logs an Error ERROR -- Kontena::Workers::StatsWorker: error on stats fetching: undefined method 'count' for nil:NilClass from stats_worker.rb#L71 when (I think) ::per_cpu_usage is nil.
Here's the approriate line: num_cores = current_stat[:cpu][:usage][:per_cpu_usage].count from send_container_stats.
Surely not a huge issue, but seems like an issue nonetheless.
kontena-agent version is 0.12.2 and docker version is 1.8.2-el7.

fixed in #769


References to internal sap webservers in documentation

I did a search of the project for "wdf.sap.corp" and found the following:

The Kubernetes clusters provided by Gardener use role based access control (RBAC). To authorize the Prometheus node-exporter to access hardware and OS relevant metrics of your cluster’s worker nodes specific artifacts need to be deployed.

I suspect a reference was missed...

Just FYI.  It happens in 5 places.  Here is the URL for the search:  https://github.com/gardener/website/search?q=wdf.sap.corp&unscoped_q=wdf.sap.corp

thanks for the report.
We are currently in process to bring the internal project out to the external github.
We remove this asap.
I move the ticket to the https://github.com/gardener/documentation repo
greetings


Add an authentication method for EC2 with IMDSv2 enabled

Recently faced and issue where we enabled IMDSv2 for our ec2 which has the docker container which now throws 401 errors when trying to spawn fargate tasks. The reason is because we use FargateSpawnerEC2InstanceProfileAuthentication method which does not work anymore because of IMDSv2. I would recommend adding another method that does the same thing but for EC2 instances that has this setting enabled. It would be a similar method but with the added fact that now, we would have to fetch the token (http://<IP_ADDRESS>/latest/api/token) and then use the token to then fetch the metadata.

Is it possible to get access to push code as I have the code ready if allowed to contribute @michalc @sekharpanja

PR https://github.com/uktrade/fargatespawner/pull/27 to address this


Fix DOM exception

Fix DOMException: Failed to execute 'insertBefore' on 'Node': The node before which the new node is to be inserted is not a child of this node. error in content.js.

Fixed in v1.4.4.


HentaiNexus sometimes didnt show picture cover

Source information
HentaiNexus 1.4.10
Source language
English
Steps to reproduce

Open Tachiyomi
Select Browse
Select HentaiNexus
Select Manga
Cover didnt show

Expected behavior
When select manga at HentaiNexus, cover pictureshowing. And even its not showing, after refreshing at selected manga the cover showing up
Actual behavior
When select manga at HentaiNexus, cover picture didnt showing even after refresh
Mihon/Tachiyomi version
Mihon 0.16.5
Android version
Android 14 (HyperOS Xiaomi)
Other details

Acknowledgements

[X] I have searched the existing issues and this is a new ticket, NOT a duplicate or related to another open or closed issue.
[X] I have written a short but informative title.
[X] I have updated the app to version 0.15.3.
[X] I have updated all installed extensions.
[X] I have tried the troubleshooting guide.
[X] If this is an issue with the app itself, I should be opening an issue in the app repository.
[X] I will fill out all of the requested information in this form.

Looking at the webpages, the thumbnails are not in a .card-image img anymore, I think that the extension is actually fetching the first page of the title instead, but I'm not sure why the behavior is inconsistent when fetching.


Change theme dependent on time (of day)

This is another feature request:
It would be great if the theme could be changed automatically dependent on the time of day (or alternatively dependent on the theme of the OS - as it is common in macOS).

Thanks @tbrodbeck for the suggestion!

or alternatively dependent on the theme of the OS

There is a similar issue in the JupyterLab repo: https://github.com/jupyterlab/jupyterlab/issues/8777
But it would indeed be useful to try it in a third-party extension like this one first.
Would you like to give it a try in a PR, maybe by following some of the hints from https://github.com/jupyterlab/jupyterlab/issues/8777?

Closing as tracked in https://github.com/jupyterlab/jupyterlab/issues/8777
And there is now a draft PR to address the issue: https://github.com/jupyterlab/jupyterlab/pull/14808


<EMAIL_ADDRESS>translation keys in ra-language-french

Some translation keys are missing in package ra-language-french ; it triggers some warnings in the console :

Warning: Missing translation for key: "ra.message.loading"
Warning: Missing translation for key: "ra.page.loading"

Environment

Admin-on-rest version: v2.0.0-beta1

Fix in #1465


[BUG] Cannot send to ServiceBus Queue in state ReceiveDisabled

Describe the bug
From this SO question.
When you set a ServiceBus queue to ReceiveDisabled you cannot send messages to it using the .NET SDK. You get the error

Microsoft.Azure.ServiceBus.MessagingEntityDisabledException: 'Messaging entity 'sb://xxx.servicebus.windows.net/xxxx' is currently disabled.

If you put it to SendDisabled you get the correct error:

Microsoft.Azure.ServiceBus.MessagingEntityDisabledException: 'Messaging entity 'xxxxx:Queue:demofunctionqueue' is currently disabled for Send operations.

Expected behavior
In state ReceiveDisabled you should still be able to send messages as stated here
Actual behavior (include Exception or Stack Trace)
See above.
Interesting fact: In ServiceBusExplorer I still can send a message in state ReceiveDisabled. So there might be a SDK issue here rather than an issue in SB itself.
//Edit: It also works correctly when I use the REST API (using Postman) and SAS token.
To Reproduce
            var cs = "Endpoint=sb://...";
            var queueName = "demofunctionqueue";

            var serviceBusManagementClient = new ManagementClient(cs);
            var queues = await serviceBusManagementClient.GetQueuesAsync();
            foreach (var queueItem in queues)
            {
                Console.WriteLine($"Disabling {queueItem.Path}");
                queueItem.Status = EntityStatus.ReceiveDisabled;
                await serviceBusManagementClient.UpdateQueueAsync(queueItem);
            }

            var messageSender = new MessageSender(cs, queueName);
            var message = new Message(Encoding.UTF8.GetBytes("hello"));
            await messageSender.SendAsync(message);

Environment:

.NET Core 3.1
Microsoft.Azure.ServiceBus 4.1.2

Isn't this a broker issue, i.e. https://github.com/Azure/azure-service-bus/

I haven’t tried any other SDK, but since plain http is working correctly, it might be, yes.
Is there an easy way to move an issue to a different repo?

Yeah we will have to evaluate if its a client side issue or backend. Thanks for reporting this. We will investigate and get back to you..

Any update on this? Thanks!

This is service bug. Just fixed. It will be rolled out to production over the next month. We have reduced the frequency of deployments during this COVID-19 lockdown.

@yvgopal  By service bug do you mean that we need to update the client library or not? And in that case which client and version will the fix be in?

@Magnus12 I think what it means is that there shouldn't be any client change. The broker/back-end/service-side is patched and the client SDK will just work.


Sync mongodb with arangodb

We are using mongodb at present. We want to use arangodb on top of mongodb. For this, we need to sync them. How can we sync mongodb with arangodb?

As long as you're only inserting values via Arangodb on single instances you could use the replication in a similar way as @baslr does in his arangochair
Regarding sync'ing the other way around - I don't have a good idea how to get latest changes from mongodb.
In general, ArangoDBs Multi model approach is meant to deliver a superset of MongoDB's features to circumvent the need for such workarounds.

Community suggestions for syncing MongoDB with ArangoDB are very welcome!

Linking a SO question about the same topic: https://stackoverflow.com/questions/40107712/how-to-sync-mongodb-with-arango-db


Adblock dosen't block all type of ads

I just ran a few tests with the adblock and it seems that it doesn't block popup ads or redirect ads as seen in this url https://canyoublockit.com/extreme-test/
This specific test uses a bunch of different ad servers that is not specific to google ads.

Thanks for the feedback. We block trackers and Ads based on a list of common cross-site trackers that we continuously update. So this is part of our app that is continuously improving 🚀

Related issues:
https://github.com/duckduckgo/Android/issues/306
https://github.com/duckduckgo/Android/issues/482
Closing this issue.


Doesn't receive data from TK103 device

Hello guys,
I have this device - http://goo.gl/K3YMmF
I set it to my server IP and port 5002 but I didn't receive any data.
It's possible to work on other port? For identifier I enter the IMEI. Here is text from tracker-server log file.
2016-08-24 10:24:45  INFO: Shutting down server...
2016-08-24 10:24:47  INFO: Operating system name: Windows 10 version: 10.0 architecture: amd64
2016-08-24 10:24:47  INFO: Java runtime name: Java HotSpot(TM) 64-Bit Server VM vendor: Oracle Corporation version: 25.92-b14
2016-08-24 10:24:47  INFO: Memory limit heap: 1810mb non-heap: 0mb
2016-08-24 10:24:47  INFO: Character encoding: UTF-8 charset: UTF-8
2016-08-24 10:24:47  INFO: Version: 3.5-SNAPSHOT
2016-08-24 10:24:49  INFO: Starting server...

If anybody can help, will be grate!

clone and not the original checks with 5001

You mean to change the port from 5002 to 5001?

Check this page:
https://www.traccar.org/troubleshooting/


feat: remove label button

Is your feature request related to a problem? Please describe.
I just spoke with the RedCross team and they told me they were not able to delete a label from within the UI. Especially, after creating a wrong label.
Describe the solution you'd like
hey would like to have a "remove label" button, besides the "create label" button.
Describe alternatives you've considered
Re-creating the dataset or leaving wrong/un-used labels
Additional context
do keep in mind that deleting labels might remove them from previously annotated records.

+1.
We first need something for #1854 and #1857. Deleting a label side effects as you mention so we need to be careful with permission. Permissions are relevant to add labels too.
Having said that, in the current version, once the label set is defined, we recommend to use dataset settings from the Python client to set the labels. If labels are predefined from the cli the annotators cant create new labels (a more consistent experience will be provided once we have roles and dataset settings in the UI)

Having a label class delete/ edit button would be a feature I'd love to see as well

Closing, will be resolved in #1854


g3sinks can run on Windows??

Is g3Sinks can use "Visual Studio 2015" build and run on Windows?

I believe g3sinks only runs on OSX and Linux at the moment. With C++17 you should be able to run it on Windows. I've an experiemental PR for that up but it isn't polished up enough for it to work 100%


Works for mobile devices?

Hello!
I am wondering if the Bleno library supports mobile peripheral mode - that is, am I able to send Ble Advertisements as a mobile device?
Cheers!

@ThomasJFR please read the first section of the read me for supported OS'es: https://github.com/sandeepmistry/bleno#bleno


Fix typo

Changes:

Fix typo

Thanks for your awesome works. I found a tiny missed typo :) Have a nice day.


Create Domain

Describe the bug
executing $tenant->domains()->create() returns an error.
Argument 1 passed to Stancl\Tenancy\Jobs\CreateDatabase::__construct() must be an instance of Stancl\Tenancy\Contracts\TenantWithDatabase, instance of Stancl\Tenancy\Database\Models\Tenant given, called in E:\Projetos\api-test\vendor\stancl\jobpipeline\src\JobPipeline.php on line 61
Steps to reproduce
Route::get('/tentant', [TenantController::class, 'createTenant'])->name('createTenant');
<?php

namespace App\Http\Controllers;

use Stancl\Tenancy\Database\Models\Tenant;

class TenantController extends Controller
{
    function createTenant(){
        $company = 'teste';

        $tenant = Tenant::create([
            'id' => $company,
            'plan' => 'trial'
        ]);

        $tenant->domains()->create([
            'domain' => $company
        ]);
    }
}

<?php

namespace App\Models;

use Stancl\Tenancy\Database\Models\Tenant as BaseTenant;
use Stancl\Tenancy\Contracts\TenantWithDatabase;
use Stancl\Tenancy\Database\Concerns\HasDatabase;
use Stancl\Tenancy\Database\Concerns\HasDomains;

class Tenant extends BaseTenant implements TenantWithDatabase
{
    use HasDatabase, HasDomains;
}

Laravel version: 8.40
stancl/tenancy version: 3.4

Problem solved.
Needed to change model use Stancl\Tenancy\Database\Models\Tenant; to use \App\Models\Tenant;

Hey!
Thanks for opening the issue. This doesn't seem to be a bug in package, seems to be related to your setup.
If you need quick support, you can visit our Discord community here: https://discord.gg/vHjEyrw
Thanks

Yes, seems to be that you didn't change the model in the config file as the docs suggest.


audio/wav and audio/mp3 mimeTypes are not supported in Chrome?

Was there a change in Chrome that removed mp3 and wav support from the MediaRecorder?
I'm getting the error MediaRecorder API seems unable to record mimeType: audio/wav when using Chrome Version 79.0.3945.88 on macOS Catalina.
Calling
MediaRecorder.isTypeSupported('audio/mp3') // false
MediaRecorder.isTypeSupported('audio/wav') // false

Error

Configuration
RecordRTC(mediaStream, {
  mimeType: 'audio/wav',
  numberOfAudioChannels: isEdge ? 1 : 2,
  type: 'audio',
  checkForInactiveTracks: true,
  ...(isSafari || isEdge ? {recorderType: RecordRTC.StereoAudioRecorder} : {}),
});

@muaz-khan any thoughts on this?

Please try (and force) {recorderType: RecordRTC.StereoAudioRecorder} on all browsers including Chrome. It will generate audio/wav.
You can use mp3 encoders to convert .wav into .mp3. (You can find such js-encoders on github)
recorder = new RecordRTC(mediaStream, {
    type: 'audio',
    recorderType: RecordRTC.StereoAudioRecorder, // force for all browsers
    numberOfAudioChannels: 2
});

Was just reaching that same conclusion after looking at https://github.com/muaz-khan/RecordRTC/blob/master/dev/GetRecorderType.js#L25.
Thank you for your help and your contributions to this library


[ARCTIC-725] [optimizer,ams]Reporter createTime cannot be updated when failover or attempt

fix #725 #1248
Why are the changes needed?
Since createtime is initialized in the Reporter constructor instead of the open() method, Reporter createTime cannot be updated when a failover or attempt is made
2023-06-08 00:00:49,061 INFO [pool-4-thread-260] [com.netease.arctic.ams.server.service.impl.OptimizerService] [] - get report OptimizerStateReport(optimizerId:502369, optimizerState:
{status_identification=1685938140303, flink-job-id=43c46ea9645533421327c5a6e7dcc73d})
#after failover，createtime is not updated
2023-06-08 16:55:33,177 INFO [pool-4-thread-199] [com.netease.arctic.ams.server.service.impl.OptimizerService] [] - get report OptimizerStateReport(optimizerId:502369, optimizerState:
{status_identification=1685938140303, flink-job-id=43c46ea9645533421327c5a6e7dcc73d}
)

Brief change log

[Flink-external-optimizer] update [Reporter createtime] when open() is executed

  public void open() throws Exception {
    super.open();
    createTime = System.currentTimeMillis();

How was this patch tested?

[ ] Add some test cases that check the changes thoroughly including negative and positive cases if possible

[ ] Add screenshots for manual tests if appropriate

[x] Run test locally before making a pull request

LGTM


Should be able to specify table name in column in SELECT

SELECT test2.pk FROM test2; fails with ERROR: table not found: test2 (errno 1146) (sqlstate HY000) (SQLSTATE XX000)
Added a skipped test here

Fixed by https://github.com/dolthub/doltgresql/pull/512


Manage namespaces and prefixes.

Reference Issue

Fixes #604 and #817
What does this implement/fix? Explain your changes.

Manage namespaces and prefixes in SvgElement.
SvgCustomAttributeCollection has namespace.

Any other comments?

@mrbean-bremen
Will this be merged ?

Will this be merged ?

I missed that, apparently - will have a look tonight. Is this a breaking change (at a first glance, there seems to be a namespace change)?

I change to parse XML namespaces.

Is this a breaking change ?

This PR considers compatibility.


ref: Type hints for init()

Fix #272

@bluetech Since you're using mypy in real code together with the SDK, could you test if this still works with this PR? If yes I'll release it.

I installed from master, and verified that sentry.init() now type-checks its arguments - nice! There weren't any new errors from mypy. Note I didn't get a chance to actually execute the code (sentry init is skipped locally).

That seems fine, the runtime code didn't change. Will release now, thanks!


Fix install.sh for DS 2.0 and add comment to install_config.conf

Make our install work for dolphinscheduler 2.0

I will submit PR for our website to flush how we use install.sh later


e2e: fix CNI Logging level test case

It can happen that clock of the cluster nodes is not aligned to the clock of test runner. In such cases, asking a pod for logs since a given time might end in an empty response, as the requested time can be in the future (from the cluster perspective).
Use the pod's CreationTimestamp timestamp field to be sure to pass to the API server a meaningful value.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.04%) to 34.78%

Totals

Change from base Build<PHONE_NUMBER>:
0.04%

Covered Lines:
4208

Relevant Lines:
12099

💛  - Coveralls


Objective-c?

Is the scrollview available in objective-c? I could only find the swift project, it looks very good, was hoping to find its objective-c flavour.

Hi JillianJM,
You can refer to Swift and Objective-C in the Same Project and find Importing Swift into Objective-C section.
I will add an example in objective-c to the README.md file later. And if that resolve your problem, please give us a star! Thank you!

I have update the README file and add a chapter about Using ACTabScrollView in Objective-C Project
https://github.com/azurechen/ACTabScrollView#using-actabscrollview-in-objective-c-project
Thank you!


Update AutoRest C# version

Update AutoRest C# version to 3.0.0-beta.20220628.2

The CI failure is the common glitch...

Issues resolving at https://github.com/Azure/azure-sdk-for-net/pull/29521


[FLINK-23532] Unify stop-with-savepoint without and with drain

What is the purpose of the change
This PR unifies the code paths for stop-with-savepoint both with and without drain.
Brief change log

EndOfData emitted both in case of stop-with-savepoint --drain and --no-drain
Stopping the source both with & without drain. We do not process data after stop-with-savepoint
Removed the synchronous loop. We always wait in the afterInvoke method.

Verifying this change

All existing tests passed.
Removed a couple of tests which do no longer hold. They were testing for corner case behaviours of stop-with-savepoint --no-drain which do no longer hold.
Modified testTriggerStopWithSavepointNoDrainWhenWaitingForFinalCheckpointOnSourceTask

Does this pull request potentially affect one of the following parts:

Dependencies (does it add or upgrade a dependency): (yes / no)
The public API, i.e., is any changed class annotated with @Public(Evolving): (yes / no)
The serializers: (yes / no / don't know)
The runtime per-record code paths (performance sensitive): (yes / no / don't know)
Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Kubernetes/Yarn, ZooKeeper: (yes / no / don't know)
The S3 file system connector: (yes / no / don't know)

Documentation

Does this pull request introduce a new feature? (yes / no)
If yes, how is the feature documented? (not applicable / docs / JavaDocs / not documented)

Very thanks @dawidwys for the PR! I'll have a look~

@flinkbot run azure

@flinkbot run azure


consider removing :beta: label on »docker-flow-swarm-listener«

@vfarcic from projects commit history and existing tags/version (> 1.x) the project is out of 'beta' (?)

You're right. It's out of beta for a while now.

Thank you @vfarcic for the update, will open a PR.


Removal of Open-iSCSI ?

BurmillaOS Version: Not yet installed, still using rancheros
Where are you running BurmillaOS? Baremetal at Hetzner
Do you use some service(s) which are not enabled by default? open-iscsi
I am planning to do a test run of BurmillaOS including installation and documentation for Hetzner, was there a reason to remove the open-iscsi service as it would be needed for Longhorn ?
https://longhorn.io/docs/1.0.2/deploy/install/#installation-requirements

was there a reason to remove the open-iscsi service

Good question. This definitely need to be described on documentation.
I find out a while ago that open-iscsi services didn't worked correctly on Ubuntu console (and most probably that is case on all non-default consoles). When investigated it I find out this https://github.com/rancher/os/issues/2636
To avoid that kind of console specific issues I decided that it is better to support only one console and it ended to be Debian (discussed on #9). As part of that work I included open-iscsi to console.
So "open-iscsi" is already included to BurmillaOS and it just need to be activated by including this to cloud-init:
write_files:
- content: |+
    #!/bin/bash
    /etc/init.d/iscsid start
    modprobe iscsi_tcp
    exit 0
  owner: root
  path: /etc/rc.local

Depending feedback we can just write that to documentation as many iSCSI use cases anyway need some other commands to run on server start anyway (we example check that nutanix-dvp-docker-volume-plug-in is installed and enabled on rc.local after start iscsi service).
Other option would be reinvent open-iscsi service on way that it will just run those two commands after server start.

as it would be needed for Longhorn ?
https://longhorn.io/docs/1.0.2/deploy/install/#installation-requirements

Also note that at least on my current thinking we do not plan support K8s or any its tools on BurmillaOS (more about it on #22) but with that extension to cloud-init config it most probably will work.

Even though it is not officially supported by BurmillaOS, I got RKE + Longhorn working using your snippet.
A small change needs to be made as rc.local needs to be executable:
write_files:
- content: |+
    #!/bin/bash
    /etc/init.d/iscsid start
    modprobe iscsi_tcp
    exit 0
  owner: root
  permissions: '0700'
  path: /etc/rc.local

Even though it is not officially supported by BurmillaOS, I got RKE + Longhorn working

Just to clarify, we are not planning to do any changes which would break this configuration. "Not supported" in this context means that we do not test that configuration or promise that it works on future version. However based on information in here it might be that Kubernetes 1.23 does not anymore contain Docker support so it will not be possible run that on BurmillaOS.


JS Dev Center - JS metadata update

@diberry : Thanks for your contribution! The author(s) have been notified to review your proposed change.

#sign-off

@diberry: I'm sorry - only the author of this article, @orspod, can sign off on your changes. But we do have an exception process - if you are on the Microsoft content or product team for this product area, you can ask the PR review team to review and merge it by sending mail to the techdocprs alias.

Hi @diberry -- Would you make this content update in the private repo? Thank you! We'll close this PR.


Two Factor Authenticatioon

https://zimmermanzimmerman.atlassian.net/secure/RapidBoard.jspa?rapidView=54&projectKey=DEV&modal=detail&selectedIssue=DEV-384&assignee=5ce283a0f433c20ff1130508

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


Capped sceneLocationEstimates to 30

In response to issue #126
this caps the sceneLocationEstimates array to 30 entries. Any more and the oldest entry gets removed. The 30 Elements have been chosen arbitrarily so a different number or even approach might be better. This did fix my problem however.

Looks good, thanks!


mat-select not setting value when using *ngFor to fill list

Bug, feature request, or proposal:
Maybe a bug.
What is the expected behavior?
I would expect the [(value)] binding on both of these mat-selects to work, but I can only get it to work on the first one.

this is the ts code

this is the result

So, only when not using the ngFor, does the [(value)] binding seem to work as expected.
What are the steps to reproduce?
https://stackblitz.com/edit/angular-1k7ykb?file=app%2Fselect-value-binding-example.html>
Which versions of Angular, Material, OS, TypeScript, browsers are affected?
Material 6.4.7
Angular 6.1.7

You've forgot to add brackets around "value"-attribute, [value]="o" will solve the problem.
Also consider using [(ngModel)] instead of [(value)] on the select.
See stackblitz: https://stackblitz.com/edit/angular-1k7ykb-cfmaq7

use [value]="o" or value="{{o}}" solve your problem.

@feeloor and @mungpara are correct. In your current example, the value for all the options is set to o. Closing as a non-issue.


[Bug] A file containing both HDR10+ and DV profiles is incorrectly matched

Which Guide
HDR10+ profile within the Radarr guide
Describe the Error in the Guide
The following file contains both DV and HDR10+, but the matching shows only [DV] and [Hybrid]
mediainfo Ant-Man.and.the.Wasp.Quantumania.2023.German.EAC3D.DL.2160p.Hybrid.WEB.DV.HDR10Plus.HEVC-QfG.mkv
...
HDR format: Dolby Vision, Version 1.0, dvhe.08.06, BL+RPU, HDR10 compatible / SMPTE ST 2094 App 4, Version 1, HDR10+ Profile A compatible
...

Expected behavior
The file should also match [HDR10+] and [HDR10+ Boost] and therefore be downloaded.
Screenshots

It's easier to discuss this in discord.
But the cf matching works like how Radarr handles it.
DV HDR10Plus doesn't officially exist
So HDR10Plus cf shouldn't match
But I can take a look at the HDR10Plus booster to match these non official existing combination.

Sorry I am not quite sure how to use Discord.
It seems that this movie is an hybrid file including both profiles, I haven't tried to play this on my AppleTV so far. I am curious what profile will be used. Will do when I get home.
Can I provide you with any more information/help? I would be happy to do so.

I do use Recyclarr for the syncing. I don't even pretend I would change something in your holy guides.
The filter for [DV HDR10] specifically rejects the match if there is a "+" at the end. But here it actually says "Plus", so I don't know.

Correct the custom formats follows the official formats, the same that Radarr uses
Being that Radarr after import won't rename it to DV HDR10+ but to DV HDR10

It's easier to discuss this in discord. But the cf matching works like how Radarr handles it. DV HDR10Plus doesn't officially exist So HDR10Plus cf shouldn't match But I can take a look at the HDR10Plus booster to match these non official existing combination.

I'm 90% sure that changing the HDR10Plus booster CF to match that, will result in download loops:
DV + HDR10Plus on download -> 1500 + 901 = 2401
DV HDR10 on import -> 1500

ahh true that's why we never added it, couldn't remember it, and it isn't really needed if you follow the guide scores.

Hello there,
I would like to reopen this issue, given that Radarr just added support for this hybrid format in #9457.
BR


As a user, I want to be able to search for what food 'item' I want

http://react-components.com/component/react-shopping-cart-starter-kit


TQ-1:Login Form Design

Feat:

Created the Login Form (with continuous improvement)
Added  login functionality
Bugs:
Needs some formatting in the code.


Issue in updating table constructed with different mapping entries when there is no contextually expected type

Description:
$title.
Steps to reproduce:
public function main() {

    var tb = table [
        {id: 1, name: "Mary", salary: 100.0},
        {id: 2, name: "Jo", age: 1}
    ];

    tb.put({id: 3, name: "abc", salary: 200.0, age: 1});
}

$ ballerina run qwe.bal
Compiling source
        qwe.bal
error: .::qwe.bal:8:48: undefined field 'age' in record 'record {| int id; string name; float salary?; int age?; |}'

If the initial entries are swapped, the error is for salary
public function main() {

    var tb = table [
        {id: 2, name: "Jo", age: 1},
        {id: 1, name: "Mary", salary: 100.0}
    ];

    tb.put({id: 3, name: "abc", salary: 200.0, age: 1});
}

$ ballerina run qwe.bal
Compiling source
        qwe.bal
error: .::qwe.bal:8:33: undefined field 'salary' in record 'record {| int id; string name; int age?; float salary?; |}'

Seems like an incorrect symbol is being used.

Thanks @MaryamZi for reporting the issue. I could guess root cause for the issue; I'll check this.


Name of a connection-string not correctly displayed in error message

In the following error message, the name of the connection-string is not correctly displayed and in place we've NBi.Xml.Settings.ConnectionStringXml``.
NBi.NUnit.Runtime.TestSuite.ExecuteTestCases:
System.ArgumentOutOfRangeException : Specified argument was out of the range of valid values.
Parameter name: Some connectionStrings are provided through the config file but the default connection string is trying to reference a connection string named 'NBi.Xml.Settings.ConnectionStringXml' which has not been found.

This fix is available in 1.22.0-beta0076 or at https://ci.appveyor.com/project/Seddryck/nbi/builds/30116757/artifacts


Get plain text secret when using a credential of kind "Secret text"

Hello,
I'm really having a difficult time trying to get a plain text string of a credential of "Secret text."  I need the plain text representation since it's an API key that gets passed as a parameter in a URL.  I can't find many examples since I think this is a fairly new feature of the plugin.
Basic example of what I'm trying...
//credentialsAuthToken is the ID of the token in the plugin currently
if (credentialsAuthToken != null && !credentialsAuthToken.isEmpty()) {
     StandardUsernameCredentials credentials = lookupCredentials(credentialsAuthToken);
     if (credentials != null) {
         //The question is, how do I do something like the following commented out lines (the following code compiled when the type is PasswordCredentials
         //Secret secret = credentials.getPassword();
         //if (secret != null) {
         //return secret.getPlainText();
     }
}

Thank you!

I think your comment explains it. StandardUsernameCredentials don't have passwords do they? Don't you need a https://github.com/jenkinsci/credentials-plugin/blob/master/src/main/java/com/cloudbees/plugins/credentials/common/StandardUsernamePasswordCredentials.java or at least UsernamePasswordCredentials

Isn't UsernamePasswordCredentials for when you have a username and a password?  I'm using a secret, which is just that, just a secret.  How is that implemented in this plugin, I had a hard time understanding that from looking at the code locally.

I've only played with credentials a bit.
How are you using a secret? you'll need to create a credentials object with the right interfaces defined, then when you consume it (which is what you saying), then you need to know which interface was used.
UsernameCredentials (and standard) afaik is just an interface that says "This credentials has a username"

In our case, the secret is an API key which by definition doesn't have a username.  The credentials plugin supports this successfully.  To create a secret in the plugin go to "Manage Credentials" then add a new credential.  For the "Kind" choose "Secret text".

How are you using a secret? you'll need to create a credentials object with the right interfaces defined, then when you consume it (which is what you saying), then you need to know which interface was used.

I'm having a hard time determining what the interface is...the name of classes in the code don't lineup super well with the names display in the plugin which makes it really hard to find a solution.
Look for "Secret text" here for some images/description: https://cloudbees.zendesk.com/hc/en-us/articles/203802500-Injecting-Secrets-into-Jenkins-Build-Jobs

Ah interesting interesting.
Could it be https://github.com/jenkinsci/plain-credentials-plugin/blob/master/src/main/java/org/jenkinsci/plugins/plaincredentials/StringCredentials.java ?
credential instanceOf StringCredentials?

If you look at the credentials.xml directly you can see which classes they use

Ah, good find with the PlainCredentials repo.  I'll look into that and report back.
Where did you find a credentials.xml file?  I don't see one in either repo.

I got it working!  Thanks so much for your help, this issue can be closed!

@fgs-dbudwin credentials.xml would be in your $JENKINS_HOME
awesome


Parse JTAG scan chain from CMSIS-SDF file

Describe the solution you'd like
This pull request added support for specifying the JTAG scan chain in the target file. An enhancement to that would be to update the target-gen process to try and parse scan chain from the System Description File (SDF) that is part of CMSIS pack.
Describe alternatives you've considered

Try to parse SDF and autopopulate the scan chain in the target.yaml if it is present in the cmsis pack.

Additional context

Need to assess how many (if any) packs have one of these files. TI's MSP432 is a device that has a CMSIS pack and supports JTAG so could be a good candidate to check
This is where the scan chain would need to be populated see TODO in generate.rs

@Yatekii, as we discussed.
I will first work on Adding TI's CC13xx/CC26xx, but maybe can get to it after. We will see :) Making the issue so we don't lose it.

Sounds great, thanks!

Didn't mean to close this one.

To toss in a couple interesting cases, the STM32F401xB/C and STM32F401xD/E MCUs have two TAPs, though (IIRC) the CMSIS packs don't declare them. From the manual:

23.5 STM32F401xB/C and STM32F401xD/E JTAG TAP connection
The STM32F401xB/C and STM32F401xD/E MCUs integrate two serially connected JTAG TAPs, the boundary scan TAP (IR is 5-bit wide) and the Cortex ®-M4 with FPU TAP (IR is 4-bit wide).
To access the TAP of the Cortex ®-M4 with FPU for debug purposes:

First, it is necessary to shift the BYPASS instruction of the boundary scan TAP.
Then, for each IR shift, the scan chain contains 9 bits (=5+4) and the unused TAP instruction must be shifted in using the BYPASS instruction.
For each data shift, the unused TAP, which is in BYPASS mode, adds 1 extra data bit in the data scan chain.

Note: Important: Once Serial-Wire is selected using the dedicated Arm® JTAG sequence, the
boundary scan TAP is automatically disabled (JTMS forced high).


Add glutin support to imgui-winit-support

Surprisingly trivial, all I needed to do was add a cfg condition to wherever there was a winit-22 condition.
Working test Gitlab - 8bitkitkat/imgui-winit-supoort-gluin-test

Doesn't glutin just re-export winit stuff, so you should be able to use winit-22 feature directly?
See the discussion in https://github.com/Gekkio/imgui-rs/issues/188 and how imgui-glutin-support was changed into imgui-winit-support around two years ago.

huh, it does work. Don't know why I thought it required its own feature.


Text, raw varint, bytecode distinction

miscellaneous,,
raw,                raw binary,               0x55

Ok. This valid raw varint code.

bases encodings,,
identity,           raw binary,               NUL

Empty string or 0x00 or what?

base1,              unary,                    "1"

Only when i open raw table.csv i see " in there.

multiaddrs
...
udp 		0x0111

This not valid raw varint code.
Can be same codes in different sections?
In https://github.com/multiformats/multihash/issues/55#issuecomment-376473831 i use raw varint prefix

0x84... - Varint Prefix for Merkle Hash Tree Root

Is there conflict with sctp?

sctp,               ,                         0x84

I ran into that same concern and added the following to the README. Does this help?

A multicodec identifier may either be a varint (in a byte string) or a symbol (in a text string).

(if not, we need to improve the readme)
When the table uses codes in the form 0x..., those codes are expected to appear in a binary (byte string) context as varints. Otherwise, the codes are "symbols".

identity, raw binary, NUL

Empty string or 0x00 or what?

NUL means the NUL character. Text encodings usually encode this as 0x00.

base1, unary, "1"

Only when i open raw table.csv i see " in there.

Hm. Yes, we should consider escaping those quotes. This case is the same as NUL.
It means the symbol "1" (however your chosen text encoding encodes "1").

udp 0x0111

This not valid raw varint code.

The table shows them as numbers. When encoded in a byte string, they must be
converted to varints.

Can be same codes in different sections?

Nope. That's why we made this table.

In multiformats/multihash#55 (comment) i use raw varint prefix

0x84... - Varint Prefix for Merkle Hash Tree Root

Is there conflict with sctp?

sctp, , 0x84

As 0x84 is just a number, no (I'll comment on your other PR separately).

@Stebalien

A multicodec identifier may either be a varint (in a byte string) or a symbol (in a text string).

This is indeed very confusing.  I really don't understand what do you mean by symbol.
If you check my https://github.com/multiformats/multicodec/issues/89, you will understand my problem.
For example,
multihash 0x31 - base1 '1', which is 0x31
multicodec 0x30 - base2 '0', which is 0x30
dns6 0x37 - base8 '7', which is 0x37

@Stebalien
If you check the JS implementation here base-table.js#L11:
exports['base1'] = Buffer.from('01', 'hex')
exports['base2'] = Buffer.from('00', 'hex')
exports['base8'] = Buffer.from('07', 'hex')
exports['base10'] = Buffer.from('09', 'hex')

All of them are treated as 0x01, 0x00 (which is conflicting with Identity), 0x07, 0x09.
They are supposed to be symbol (in a text string), as you call it.

The JS implementation is wrong, thanks for catching that: https://github.com/multiformats/js-multicodec/issues/29

This is indeed very confusing. I really don't understand what do you mean by symbol.

For example, binary is composed of two symbols 0 and 1 (or true and false). Bytes are defined to each be a string of 8 binary symbols but are also, themselves, symbols (there are 256 of them).
Every character is also a symbol. On a computer, these symbols may be encoded into bits/bytes but there are often several ways to encode a single symbol into bits/bytes and the symbol exists apart from these encodings (an '1' on paper is a '1', not 0x31).

@Stebalien
In this case, the python implementation is also wrong: https://github.com/multiformats/py-multicodec/blob/master/multicodec/constants.py

Gah...

Let's continue all discussion on your new issue (#89) so we don't split it.


Change cross-version source directory support to use CrossVersion.binary instead of CrossVersion.partialVersion

That way during pre-releases you don't have to keep moving sources from 2.13.0-RC1 to 2.13.0-RC2, or alternatively redefine your own cross-version source directories.
Possibly this must wait for 1.0.0. TBD.
For context see @SethTisue's comments in https://github.com/scala/community-builds/pull/382

See https://github.com/sbt/sbt/pull/1799#issuecomment-69937528

I think following the symmetry with crossTarget goes against the UX.

a workaround for 0.13.13 would be appreciated.

https://github.com/milessabin/shapeless/blob/eec3d55d1840a2ab31efedc9f8badefd6a49f5f9/build.sbt#L212-L222

I think we should do this.
But I also want to cross-link the related #2310, which I believe would solve at least a good chunk of these real-world cases.

binary? Or patch?

@milessabin No, not patch, binary.
patch is the "alternative" (of sorts) to full. But neither are relevant here.
Cross-version source directories currently use partialVersion, but binary is a better (imo) and more lax variant. Under partialVersion scalaVersion 2.13.0-RC1 is 2.13.0-RC1 (ie no change), under binary it's 2.13.

@eed3si9n

See #1799 (comment)

I completely miss-understood what you said. What did you mean by "see this comment"?

Ugh.

Cross-version source directories currently use partialVersion, but binary is a better (imo) and more lax variant. Under partialVersion scalaVersion 2.13.0-RC1 is 2.13.0-RC1 (ie no change), under binary it's 2.13.

Take that, except switch the names. We're using binary, and we want to use partial instead. I confused the two from the beginning.
Only realised thanks to @SethTisue's great docs in https://github.com/scala/community-builds/wiki/Eligibility

Your project must be able to correctly handle Scala version numbers such as 2.12.1-933bab2-nightly.
Instead of taking apart scalaVersion.value yourself, use sbt's CrossVersion.partialVersion.
Don't assume that scalaBinaryVersion is always a short string such as 2.12. It might be e.g. 2.12.0-RC1 or 2.12.1-933bab2-nightly. Again, use CrossVersion.partialVersion.

Btw, we should probably also create and define a scalaPartialVersion key.
How many times have you seen the code snippet CrossVersion partialVersion scalaVersion.value?

What did you mean by see this comment.

I wrote in https://github.com/sbt/sbt/pull/1799#issuecomment-69937528

I think we should be symmetric with the crossTarget and only add src/main/scala-. The reuse of crossPaths is fine with me.

We already have a facility of dealing with multiple Scala versions within a build (albeit via axis of evil) and that is cross publishing. The way we "cross source" should be symmetric with the way we cross build, and that's how target directory is laid out.
CrossVersion.binary means exactly what it sounds like. It's the minor (or third segment) versions that are binary compatible with each other. It's nonsensical to promise stronger semantics for CrossVersion.partialVersion just because Scala mostly happens to maintain bincompat during RCs. If that's the case, we should change the CrossVersion.binary semantics, not the other way around.

Right, I see.

just because Scala mostly happens to maintain bincompat during RCs

For the source code of your project you don't need bincompat, you just need source compat. And I think that's pretty much always true (can you remember a time when scala broke source compatibilitiy between pre-releases?).
When you consider the cost of continuously having to deal with scalaBinaryVersion changing over prereleases, on balance, I'm happy for the source directories to be partialVersion-based and the target directories to be binaryVersion-based.

For the source code of your project you don't need bincompat, you just need source compat. And I think that's pretty much always true (can you remember a time when scala broke source compatibilitiy between pre-releases?).

agree. well, when Scala is still in milestones, we do sometimes break source compatibility, but in the context of the question we're considering here, that doesn't matter because basically nobody needs to support multiple Scala milestones in the same build of their library. if source changes are needed to move from some Scala M1 to Scala M2, then the library version must bump as well, and M1 support is simply dropped. that's what pretty much everybody did during the 2.12 cycle.

@dwijnand @SethTisue ok. I am coming around to the idea that src/main/scala-2.13 is useful during the (binary incompatible) 2.13.0-Mx milestones. I am also thinking this could go in sbt 1.2.0 timeline, and marking this a Good First task.

To potential contributor: Likely the related code location is:

https://github.com/sbt/sbt/blob/1d7b35bd67722511b9a058113e7a1070984e6758/main/src/main/scala/sbt/Defaults.scala#L333-L338
https://github.com/sbt/sbt/blob/1d7b35bd67722511b9a058113e7a1070984e6758/main/src/main/scala/sbt/Defaults.scala#L449
https://github.com/sbt/sbt/blob/1d7b35bd67722511b9a058113e7a1070984e6758/main/src/main/scala/sbt/Keys.scala#L212

If partialVersion returns None, just use the full version instead.

I needed this today. Just seeing how much work it is to get scala-swing on 2.13.0-M5 (too much).


Added support for attaching Time stamp authority Response in attach command

Summary
The PR provide the support to attach Timestamp authority response for signed signature time stamp in attach command.
using this functionality now we can attach a TSR response for the generated signature and attach that along with the associated certificates and certificate chain. This PR will help specifically in private CA cases where now Private CA can issue short lived certificates and attach the Time stamp of the signature. This will help in checking the validity of the associated certificates using the signature time stamp
Release Note
Following files have been modified for the PR.
cmd/cosign/cli/attach.go
cmd/cosign/cli/attach/sig.go
cmd/cosign/cli/options/attach.go
doc/cosign_attach_signature.md
test/e2e_test.go
test/e2e_test_attach.sh
test/testdata/test_attach_freetsacacert.pem
Add a release note for each of the following conditions:
Documentation
This PR introduce a new parameter that can be used in the Attach command to pass the path of the Time stamp Authority response.
The updated command help is as below
$ ./cosign attach signature --help
Attach signatures to the supplied container image
Usage:
cosign attach signature [flags]
Examples:
cosign attach signature
Flags:
--allow-http-registry                                                                      whether to allow using HTTP protocol while connecting to registries. Don't use this for anything but testing
--allow-insecure-registry                                                                  whether to allow insecure connections to registries (e.g., with expired or self-signed TLS certificates). Don't use this for anything but testing
--attachment-tag-prefix [AttachmentTagPrefix]sha256-[TargetImageDigest].[AttachmentName]   optional custom prefix to use for attached image tags. Attachment images are tagged as: [AttachmentTagPrefix]sha256-[TargetImageDigest].[AttachmentName]
--certificate string                                                                       path to the X.509 certificate in PEM format to include in the OCI Signature
--certificate-chain string                                                                 path to a list of CA X.509 certificates in PEM format which will be needed when building the certificate chain for the signing certificate. Must start with the parent intermediate CA certificate of the signing certificate and end with the root certificate. Included in the OCI Signature
-h, --help                                                                                help for signature
--k8s-keychain                                                                             whether to use the kubernetes keychain instead of the default keychain (supports workload identity).
--payload string                                                                           path to the payload covered by the signature
--signature string                                                                         path to the signature, or {-} for stdin
--timeStampedSignatureResponse string                                                      path to the Time Stamped Signature Response from RFC3161 compliant TSA
Global Flags:
--output-file string   log output to a file
-t, --timeout duration     timeout for commands (default 3m0s)
-d, --verbose              log debug output
Testing
Make , lint , Docgen test were done. also e2e test related to attach command were done. attached are the logs
Build_Lint_Docgen_test_logs.txt
e2e_attach_test_logs.txt

Thanks @malancas for the review @haydentherapper  can you pls also review the PR changes

Thanks @haydentherapper for the review i have done the required changes pls check


Populate Learning Goals Document

name: 📝 Document Issue
about: Report an issue or request for non-code documents (e.g., updates or new documents)
title: "[DOC] Complete Learning Goals Document"
labels: documentation
assignees: ''

📝 Description of the Issue or Request
Provide a clear and concise description of the issue or request.
Is this for updating an existing document or creating a new one?

[x] Update existing document
[ ] Create a new document

🔍 Details

Document Name/Section: Learning Goals document
Specific Location/Line: The entire document, as it currently contains only the template.

⚠ Problem, Request, or Improvement
The Learning Goals document has been provided as a template, but it is currently incomplete and needs to be filled out. Team members have contributed their individual goals, and collective goals were discussed collaboratively. These contributions need to be compiled, reviewed, and formatted to complete the document.

✅ Suggested Fix, Improvement, or New Document Content
For updating the document:

Use the team’s input to populate the sections in the template.
Ensure the "Collective Goals" and "Individual Goals" sections are well-organized and formatted consistently.

The Learning Goals document has been successfully populated with individual and team goals. The template is now complete, and the updated file has been committed to the repository. Thank you, everyone, for your contributions and feedback. Closing this issue now.


Use read_parquet(..., engine='pyarrow')

According to the source
dask/dataframe/io/parquet.py:755: UserWarning: parquet with engine='arrow' is deprecated, use engine='pyarrow' instead

[ ] Tests added / passed
[ ] Passes flake8 dask
[ ] Fully documented, including docs/source/changelog.rst for all changes
and one of the docs/source/*-api.rst files for new API

Thanks!


Update screaming-frog-seo-spider

Add older version

Thank you for the contribution. It was merged directly as 07dd8ed91a6220c72120a298dd5f422c6d25abd2 to keep commit history cleaner. Your contribution is still credited to you.


Add max_retry options in RabbitMQRopic

requeue ([bool](https://docs.python.org/3/library/functions.html#bool)) – If requeue is true, the server will attempt to requeue the message. If requeue is false or the requeue attempt fails the messages are discarded or dead-lettered.

I think if the queue is full, the message won't get retried..

@isra17 @mlefebvre

When a message is requeued, it will be placed to its original position in its queue, if possible. If not (due to concurrent deliveries and acknowledgements from other consumers when multiple consumers share a queue), the message will be requeued to a position closer to queue head.

Requeued messages may be immediately ready for redelivery depending on their position in the queue and the prefetch value used by the channels with active consumers. This means that if all consumers requeue because they cannot process a delivery due to a transient condition, they will create a requeue/redelivery loop. Such loops can be costly in terms of network bandwidth and CPU resources. Consumer implementations can track the number of redeliveries and reject messages for good (discard them) or schedule requeueing after a delay.


Some fixes

[x] No Responsive Layout in LITE_mode
[x] Background color should be fixed to ffffff (fix in integration branch, to progage the taipy_integration)

It's done.
See integration and taipy_integration branches

Thanks Ghiles, it is OK


Support now and today built-ins

What should we do?
Support new now() and today() built-ins, defined in DMN 1.4.
Why should we do it?
Support latest DMN standard.

Already supported.


fix(popover): matched min/max-width so popover has consistent width

fixes https://github.com/patternfly/patternfly-next/issues/2632
@mceledonia can you confirm that you don't consider this a visual breaking change?

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Docs about backup should mention that we don't dump cluster settings

We should say it on this page
http://rethinkdb.com/docs/backup/

@danielmewes - is this still true, after the more recent changes? If it is still true, is there any advice to give people about how to save and restore cluster settings (e.g., scripts using administration commands to reconfigure servers)?

@chipotle That's still true.
People could theoretically take the output of r.db('rethinkdb').table('table_config'), and then try to write those documents back into the new cluster. That's somewhat fragile though, depends on all server names to match, and I think you will have to remove secondary index entries from the documents before writing them back or you will get an error.
I think it's enough to mention the limitation for now.


Move to new invoke proto, specify contenttype in response to the dapr…

Description
Move to new invoke proto, specify contenttype in response to the dapr/config message, clarify sample.
Issue reference
We strive to have all PR being opened based on an issue, where the problem or feature have been discussed prior to implementation.
Please reference the issue this PR will close: #290
Checklist
Please make sure you've completed the relevant tasks for this PR, out of the following list:

[x] Code compiles correctly
[x] Created/updated tests
[ ] Extended the documentation

@LMWF  Thanks, this LGTM overall, suggested few changes,


Consider single-container version of Superset for local devtest use cases

Migrated from GitLab: https://gitlab.com/meltano/files-superset/-/issues/6
Originally created by @aaronsteers on 2022-01-27 20:32:24

The current implementation takes a docker-compose.yml file which runs several containers.
Our initial spec in https://gitlab.com/meltano/meltano/-/issues/2205+ will expect a single container definition.
Following from the alternate instructions at https://superset.apache.org/docs/installation/installing-superset-from-scratch, what do you think about us having a version of this that runs in a single container? Assumption being that the PostgresDB is launched in a separate process, and does not need to be part of the execution command.
In theory a bootstrap script in the docker container could import the file definitions and then export after execution completes (assuming it gets a graceful shutdown, or assuming ctrl+c is only hit once and enough time is allowed before a hard process kill).
@pnadolny13, @pandemicsyn - Curious as to your thoughts.

View 7 previous comments from the original issue on GitLab


Issue #219 - Implement GetStreamAsync & GetMD5Hash for OouiPlatformServices

Also provides an optional way to ignore certificate errors.
In order to implement a solution described by michael-watson in #104 (comment), I have extended OouiPlatformServices on a local clone of Ooui. Shortly, I'll submit a PR for this case.
If interested, I can also include a UriNoCacheImageSource class that is the UriImageSource class without any caching in it.

Thank you so much!


Support alarms

I could not find any way to program alarms in the docs. Is this feature planned?
I might try to contribute this back myself, but i'm just getting into embedded so it might take some time.

I have already added support for the alarms although I have not published a new version yet. See Changelog.
Do you need it urgently?

Urgently is a strong word. I was planning on playing around this weekend.

Sure. I can publish a new version including alarm support today or tomorrow.

That would be great!

Ok, I did some small improvements I had in the pipeline for this crate and just published version 0.2.0.
Please feel free to report any further issues, improvements or feedback.
Have fun!


Using com.amazonaws.xray.emitters.daemonAddress doesn't set TCPAddress and UDPAddress

Setting com.amazonaws.xray.emitters.daemonAddress doesn't set TCPAddress and UDPAddress properties in code here:
https://github.com/aws/aws-xray-sdk-java/blob/4034a834f0c580c9f661d096028f9bc654843aff/aws-xray-recorder-sdk-core/src/main/java/com/amazonaws/xray/config/DaemonConfiguration.java#L46
and that causes null pointer exception here:
https://github.com/aws/aws-xray-sdk-java/blob/901f2f93cfcfabf43bbbb61f74f076c9158f1bac/aws-xray-recorder-sdk-core/src/main/java/com/amazonaws/xray/strategy/sampling/XRayClient.java#L26
Now, I might be doing something wrong but it seems TCPAddress and UDPAddress  are not set when property is set. They are, however, set when environment variable is used or when there is no property or env variable.
thanks,
gorazd

Thanks for reporting the issue. We will look into a fix soon.

This issue is fixed as part of 2.1.0 release. See CHANGELOG for details.


Tests not found in explorer if project folder name contains spaces

If I have a project called "Project A", the Test Explorer panel doesn't find any test. If I rename the project folder to "ProjectA" (remove the space), everything works ok.
Even if the project folder name has no spaces, but any of its parents folders names has, tests are not found.
For example, I have all my projects in "My Projects" and I can't use this extension in any of them (it doesn't matter how they are called because its parent name has spaces).
I'm using Windows 10.
Thanks
Ps: Excuse my English.

You haven't said what test adapter or what test framework you use, I would assume your problem is caused by that rather than test explorer.
e.g. with Haxe's test adapter I can run tests inside a folder with spaces and they show up, so it's not that test explorer can't handle spaces.

Sorry. I was talking about Jest Explorer (rtbenfield.vscode-jest-test-adapter).
I have used the wrong Repository. I'll copy my issue to the right one.
Thanks


Wrap database logger with database name

Fixes: #133
Signed-off-by: heylongdacoder<EMAIL_ADDRESS>

 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.You have signed the CLA already but the status is still pending? Let us recheck it.

Great! Thank you!


Error, If there are no options available and click Enter

Hello, getting this error:
Uncaught TypeError: Cannot read property 'isLabel' of undefined
    at VueComponent.addPointerElement (vue-multiselect.js:1)
    at Array.<anonymous> (vue-multiselect.js:1)
    at HTMLInputElement.<anonymous> (vue-2.1.8.js:2221)

Thanks.

Also, got this one when selecting a value...
[Vue warn]: You may have an infinite update loop in watcher with expression "internalValue"  (found in component <vue-multiselect>)

Also, when unselecting (not multiple):
Vue warn]: Error when rendering component <vue-multiselect>:
warn @ vue-2.1.8.js:525
Vue._render @ vue-2.1.8.js:3103
(anonymous) @ vue-2.1.8.js:2464
get @ vue-2.1.8.js:1663
run @ vue-2.1.8.js:1732
flushSchedulerQueue @ vue-2.1.8.js:1548
(anonymous) @ vue-2.1.8.js:477
nextTickHandler @ vue-2.1.8.js:426
2017-02-04 23:45:47.917 vue-2.1.8.js:439 TypeError: Cannot read property 'id' of null

Should I open them as separate issues? I'm just not sure if they're real issues or my misunderstanding how it suppose to work...

The second one should be fixed after I finally release the new version. Sorry for the delay, I had to change apartments last week so I had no time to work on multiselect. Hope to do it this week.

Same error here. Happens when you press enter when tag input field is empty.
Here is my full component: https://gist.github.com/Christilut/3ae5fa966ee2cec6358f7642a3d6b75a

I hope to release it this weekend. Sorry for the delay.

@Christilut @sellvana beta.14 released and should fix this problem. Sorry you had to wait so long :(
Please read: https://github.com/monterail/vue-multiselect/blob/2.0/README.md
Breaking change regarding the styles.

No worries, thanks for your hard work 👍

Thank you for hard work! Just to confirm, all 3 errors should be fixed, or only some of them?

@unirgy all 3 should be fixed. I say should because some of those problems were connected with different issues that I fixed with this release.
I also want to change the release flow in this project to CD and publish whatever is merged to a new dev branch as new beta/nightly/dev releases and at least once a month push a new version to master with a stable version. Also the current master will be moved to 1.x branch as there is no further development there. I might however merge new PRs there and release the 1.x version given community contributions. Though I would recommend migrating to 2.x.


Increase DSE requests timeouts on the Stargate side in tests

... due to slow CI

/gcbrun

/gcbrun

/gcbrun

/gcbrun


Better UI indication of why taskbar icon is filling/downloading

(I understand what's going on here, just putting on my ignorant user hat.)
When the LBRY desktop app is running and downloading a file, it fills the icon in the taskbar as the file is downloading.
However, outside of being on the URL of the specific file being downloaded, there is no way to tell what this bar is or why it is filling. Especially for users who (already) get confused about the fact that downloads are happening when they click play, this seems somewhat likely to cause confusion.
I'm not sure what the proper solution to this is, but one idea to consider is whether we should have an indicator in some combination of Subscriptions, My LBRY, Downloads, or the cards themselves when something is actively downloading.

It's been removed


Person detection sensor is not working

Describe the bug
Motion detection works with the integration - in my case: binary_sensor.reolink520a_motion.
But person detection not - binary_sensor.reolink520a_person_detected.
Anyway, the person detection works, is available with the integration, but the dedicated sensor for it doesn't work.
I set up my own binary sensor accessing the attributes of the motion sensor.
To Reproduce
I can compare the states in motion and person detection sensors:
The motion sensor has attributes:
people_state: true/false
vehicle_state: true/false
In case of motion by person:
{{ state_attr("binary_sensor.reolink520a_motion", "people_state") }} --> TRUE
{{ states("binary_sensor.reolink520a_person_detected") }} --> FALSE
Expected behavior
binary_sensor.reolink520a_person_detected has the same state as attribute in motion sensor.
Environment:
Please provide useful information about your environment, like:

Home Assistant 2021.11.5
Reolink camera model: 520a
Camera firmware number v<IP_ADDRESS>_21012100

Additional context
In Reolink app the person detection works.

Hello, was looking for an answer for the same issue. The general motion sensor in HA triggers, people or vehicle do not. I have three Reolink Outdoors all with the same issue.

Version
core-2021.11.5

Installation Type
Home Assistant Container

Development
false

Supervisor
false

Docker
true

User
root

Virtual Environment
false

Python Version
3.9.7

Operating System Family
Linux

Operating System Version
5.10.63-v7l+

CPU Architecture
armv7l

Reolink IP camera: v0.42

Please up your firmware to v<IP_ADDRESS>4
And make sure you apply the following advices: https://github.com/fwestenberg/reolink_dev/blob/master/TSHOOT.md
This document will also tell you how to enable better logging

Thank you, I have it, that's stupid...
It is not that I would not read that page, BUT I thought I'm using the latest FW.
The Reolink apps are not providing this latest version (v<IP_ADDRESS>4) automatically - I had to dowload it manually from their download center.
Maybe a local issue, here in Czechia ...
Thank you very much, after FW update it works as it should!

Can it be about the camera firmware if motion sensor triggers but person/vehicle detection do not? I have the latest available firmware downloaded from Reolink site in my E1 Outdoors so not sure what to update...

Having same issue, motion sensor is available, but vehicle and person are not available as seen in screenshot..
Tried deleting camera from ha but same entities appear after adding camera again..
What am I doing wrong?

Hi, firstly it is not the same issue as originaly posted.
Have you tried to check in developer tools - states for an entity like: binary_sensor.cam1_person_detected ?
The screenshot may not show everything what is available by the integration.

No there are no more entities available for cam1, and person/vehicle are not listed as attributes as well.. - so not able to access them

Solved my issue - turns out I did not have the latest integration - updated and now its solved. Sorry to hijack the original issue - though it was the same issue I experienced.

Reolink RLC-520A platform IPC_523128M5MP, firmware v<IP_ADDRESS>4_21073000 (last official), I have 6 items.
The "person" and "motion" detection sensors in the  fwestenberg/reolink_dev does not match the detection in the camera.

@tomasjuchelka v0.47 is out and the following was added in https://github.com/fwestenberg/reolink_dev/blob/master/TSHOOT.md:
You can re-configure default timer called "Motion states update fallback delay (seconds)" for a specific camera, it defaults to 30 seconds but you can go down to 2-5 seconds. Because it will hammer your camera's API every X seconds, it may have CPU/RAM/stability impacts on your camera.


Display Target Goal Amount

Feature Request
Firstly my apologies if I have done this wrong. I am new to contributing, but am keen to help.
This feature is for those who use the budget subcategory name to show the target goal amount for each category.

This is ok, however when you edit the goal amount, you then have to edit it again in the budget subcategory name.
If anybody is interested, I have created the feature and created a pull request.
I have also made it work with the existing Add Goals Indication feature.

Closing this in favor for your already merged PR!


zia_firewall_filtering_network_application_groups name not recognized as set?

Community Note

Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for issue followers and do not help prioritize the request
If you are interested in working on this issue or have submitted a pull request, please leave a comment

Terraform Version
$ terraform -v
Terraform v1.3.0
on linux_amd64

provider registry.terraform.io/zscaler/zia v2.2.0
provider registry.terraform.io/zscaler/zpa v2.3.0

Affected Resource(s)

zia_firewall_filtering_network_application_groups

Terraform Configuration Files
resource "zia_firewall_filtering_network_application_groups" "zia_firewall_filtering_network_application_groups_Microsoft_Office365" {
    name = "Microsoft Office365"
    description = "Microsoft Office365"
    network_applications = [
        "OFFICE365",
        "ONEDRIVE",
        "OUTLOOK",
        "SHAREPOINT",
        "SHAREPOINT_ADMIN",
        "SHAREPOINT_BLOG",
        "SHAREPOINT_CALENDAR",
        "SHAREPOINT_DOCUMENT",
        "SHAREPOINT_ONLINE",
        "SKYPE_FOR_BUSINESS",
        "YAMMER"
    ]
}```

### Debug Output
https://gist.github.com/chris-bornmann/d1ea0e5444ccd11da84e59d311c7cb51

### Panic Output
N/A

### Expected Behavior
The "terraform plan" command should report no changes need to be made because the name attribute is already set.

### Actual Behavior
The "terraform plan" command says that the name attribute needs to be set.

### Steps to Reproduce

<!--- Please list the steps required to reproduce the issue. --->

1. `terraform plan`

### Important Factoids
N/A

### References
N/A

Hi @chris-bornmann
I have used the same configuration snippet you provided above, and I did not identify any drift issues as you can see in the below screenshot. If the issue still persists, I am happy to reopen this Issue or have an offline conversation to investigate.
Thanks


TypeError when nodes missing

assert len(missing_nodes) == 0, f"The nodes {missing_nodes} were declared in the config but do not exist in the input file {self.folder_path + 'set_nodes'}"

TypeError: unsupported operand type(s) for +: 'WindowsPath' and 'str'

Resolved with #675


need example of sharing memory between JS and Rust

I want to create a Float64Array in JS code and make it available to a Rust function through shared memory without passing/copying it. I've spent quite a bit of time looking for an example of doing this and haven't found one. Does wasm-bindgen support this? If so, can you point me to an example?

Hey there.
I think that this should do the trick -> https://rustwasm.github.io/wasm-bindgen/reference/types/pointers.html

Sorry let me clarify.
One approach off the top of my head would be to:

Allocate a Vec<f32> on the Rust side with whatever capacity that you need and return a pointer to it *mut f64.

Create a Float64Array using the wasm memory buffer. The second and third argument for a new typed array allow you to specify the start and end index within the underlying buffer.

@chinedufn Thanks so much! I think I'm close to having this working. After populating the shared memory on the JS side I pass the pointer and the number of elements to the Rust side. In the Rust code I can iterate over the numbers, but I don't know how to get them. I assume I have to do something like this with an unsafe block.
#[wasm_bindgen]
pub fn sum(ptr: *mut f64, count: usize) -> f64 {
    let mut sum = 0.0;
    unsafe {
        for i in 0..count {
            let number = ptr[i * 8] as f64; // THIS LINE IS WRONG!
            sum += number;
        }
    }
    sum
}

I have it working now, but the Rust version still is much slower than the JS version.
See https://github.com/mvolkmann/wasm-bind-demo/blob/11d4cf749c102078e0b8687b6527ac7f77bee8f5/index.js#L45
and https://github.com/mvolkmann/wasm-bind-demo/blob/11d4cf749c102078e0b8687b6527ac7f77bee8f5/src/lib.rs#L17.

Potential reasons:

You're allocating memory in your Rust microbenchmark, but not in JS https://github.com/rustwasm/wasm-bindgen/blob/master/crates/js-sys/src/lib.rs#L4990-L4995

There is overhead with going from JS -> Wasm -> JS

Your JS engine might be doing a good job of optimizing your sum function

You are not compiling your Rust code in release mode

You might be running into any number of those.
Glad it all works. If you're in good shape feel free to close this issue.
Good luck.

Also you'll want to store that Vec<f64> somewhere. You're dropping it and thus freeing the memory that backs it.
Something like:
#[wasm(bindgen)]
struct MyApp {
    my_data: Vec<f32>
}

#[wasm_bindgen]
impl MyApp {
    #[wasm_bindgen(constructor)]
    fn new (capacity: usize) -> Self {
        MyApp { my_data: Vec::with_capacity(capacity) }
    }
}

Then when you are summing you don't need to allocate a new vector.
Although, as alluded to above, summing might not be the most informative/realistic/useful benchmark. I'm just sharing some tips under the assumption that you're mainly just experimenting.

Interesting. If I use this approach of preallocating the vector by creating an instance of MyApp where does that instance get created ... that is where should I place the call to MyApp::new()?

Take a look here https://rustwasm.github.io/docs/wasm-bindgen/reference/attributes/on-rust-exports/constructor.html

If you haven't already, have a look at the game of life tutorial https://rustwasm.github.io/book/introduction.html .

Also see https://github.com/rustwasm/wasm-bindgen/issues/1643 and https://github.com/rustwasm/wasm-bindgen/issues/1993#issuecomment-583614609.

Here is what I did. I allocate a vector is WASM and then pass it as a view (via view_mut_raw) to JS. I can then write a function that expects an WasmUint8Array and reads its buffer (e.g. data.0).
#[wasm_bindgen]
pub struct WasmUint8Array(Vec<u8>);

#[wasm_bindgen]
impl WasmUint8Array {
    #[wasm_bindgen(constructor)]
    pub fn new(size: usize) -> Self {
        let buffer = vec![0; size];
        Self { 0: buffer }
    }

    #[wasm_bindgen(getter, js_name = buffer)]
    pub fn buffer(&mut self) -> js_sys::Uint8Array {
        unsafe { js_sys::Uint8Array::view_mut_raw(self.0.as_mut_ptr(), self.0.len()) }
    }
}

I think everything here looks like it's been answered and handled (thanks @chinedufn!), so I'm going to close.


chore: Release 19 june 23

Release promotion created on 19 June 23 for v1.9.24

/build-deploy-preview skipTests=true


typings and adal

I am trying to incorporate angular 2 ADAL into this template using:
https://github.com/alenny/angular2-adal-example/
but I get the following error as desribed with their issue:
https://github.com/alenny/angular2-adal-example/issues/2
However, if this spa template that you have created, there isn't a typings.json file.... Do I simply add it to the custom-typings.d.ts file or is there something I am missing?
many thanks

This project is using typescript 2 which added support for typings as npm packages. if you see package.json, thats where are the typings exist now. So if you try adding adal typings as a node package in package.json file, see if error goes away.

Closing for now.


[INLONG-1569] The first_registered is not the same with its naming

Fixes #1569

Codecov Report

Merging #1577 (d8bcbf5) into master (5807044) will decrease coverage by 0.01%.
The diff coverage is n/a.

@@             Coverage Diff              @@
##             master    #1577      +/-   ##
============================================
- Coverage     12.19%   12.18%   -0.02%
- Complexity     1046     1048       +2
============================================
  Files           392      392
  Lines         32755    32755
  Branches       5159     5159
============================================
- Hits           3996     3992       -4
- Misses        27995    27997       +2
- Partials        764      766       +2

Impacted Files
Coverage Δ

.../java/org/apache/flume/sink/tubemq/TubemqSink.java
51.42% <0.00%> (-4.00%)
:arrow_down:

...bemq/server/common/heartbeat/HeartbeatManager.java
36.36% <0.00%> (-2.03%)
:arrow_down:

.../producer/qltystats/DefaultBrokerRcvQltyStats.java
45.31% <0.00%> (+1.17%)
:arrow_up:

.../client/producer/qltystats/BrokerStatsItemSet.java
72.09% <0.00%> (+4.65%)
: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 5807044...d8bcbf5. Read the comment docs.


Add Primitive data types article by Scaler

Add article of primitive data types by Scaler.

Please review it. Thank you

Hi @Shaluag123 Line 165 has different indentation compared to 163 and 164. Which indentation I have to follow. Thank you

Previously I added accoring to 164, now I changed to indentation according to line 165. Can you please review and let me know, if there are any changes. Thank you.

now it is fine no further modification needed.

Hi @leonardomso , can you please accept my Pull request. Thank you