Cleanup error handling in ipsec

Handle all returned errors as flagged by golangci-lint
Propagate errors instead of calling Fatalf
Refactored runCharon to propagate the error if cmd.Start() fails.
Note that prior, cmd.Wait() would've returned an error if cmd.Start()
failed and and thus immediately exited via Fatalf but I think it's cleaner
to propagate the error via StartEngine.

Signed-off-by: Tom Pantelis<EMAIL_ADDRESS>

@skitt @sridhargaddam


[Issue-214] Fix UI issue related to currency symbol

PR for #214

🚀 Deployed on https://pr-216--papaya-melba-f5c160.netlify.app


failure to use raw ('r') strings for regex

https://github.com/olliequ/KittyBot/blob/e8edbf3e29781c080888a58ae2885d3aa64d93e3/extensions/duplicate_message_policing.py#L53
This leads to the ugly necessity of having two backslashes \ when only one would be needed in a raw string. i.e. r"<a?:[a-z]+:\d+>"

See also: https://github.com/olliequ/KittyBot/blob/e8edbf3e29781c080888a58ae2885d3aa64d93e3/extensions/userinfo.py#L63


fix: Stop logging prLogs to stdout in case it fails

Description
https://issues.redhat.com/browse/RHTAPBUGS-1095
Issue ticket number and link
Type of change

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update

How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration
Checklist:

[ ] I have performed a self-review of my code
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[ ] I have added meaningful description with JIRA/GitHub issue key(if applicable), for example HASSuiteDescribe("STONE-123456789 devfile source")
[ ] I have updated labels (if needed)

Not needed now, issue addressed in the git clone task itself


Implement support for pushing/pulling updates

Mancenter

Prepared for with configurable db paths, needs support for stopping and starting services.


GitHub Enterprise Server 3.11.5 compatibility

As of late we are getting this error with GitHub Enterprise Server:
Run actions/deploy-pages@v3
Artifact exchange URL: https://XXX/_services/pipelines/N9xhoXOaQkwWLka4yOLfdfR2C0RRPkrQNLI8joO5jYtVMBmgRu/_apis/pipelines/workflows/708392/artifacts?api-version=6.0-preview
Creating Pages deployment with payload:
{
	"artifact_url": "XXX/_services/pipelines/N9xhoXOaQkwWLka4yOLfdfR2C0RRPkrQNLI8joO5jYtVMBmgRu/_apis/pipelines/1/runs/97/artifacts?artifactName=github-pages&%24expand=SignedContent",
	"pages_build_version": "63c2c2cda058d5b52de2de2[13](https://XXX/XXX/XXX/actions/runs/708392/job/1168886#step:2:14)3994b4ddfee97aa",
	"oidc_token": "***"
}
Created deployment for 63c2c2cda058d5b52de2de2133994b4ddfee97aa, ID: 63c2c2cda058d5b52de2de2133994b4ddfee97aa
Getting Pages deployment status...
Error: Deployment failed, try again later.

I believe it might happen since GitHub Enterprise Server has been updated to version 3.11.5.
Tried it with deploy-pages@v3 and v3.0.1 (also v4 just in case).
Tested GitHub Runner version: 2.311.0 and 2.313.0

This issue suddenly started also to us, we're running GHES 3.10.7... @brookman have you found any fix or workaround?

Unfortunately not. Except manual deployment using a "pages" branch.

We have left a bug slip in the hot patch logic of GHES – 3.11.5 is one of the patch impacted (and not the only one). Documentation is on the way and support is already aware and can assist you if you prefer.
The workaround is to run the following commands on all your Pages fileservers:
if [ -d "$CHROOT_PATH/data/pages-untar" ] ; then
  rm -rf "$CHROOT_PATH/data/pages-untar"
fi
pages_untar_image_tag="$(cat "$CHROOT_PATH/data/docker-image-tags/pages_untar_image_tag")"
id="$(docker create "pages-untar:$pages_untar_image_tag")"
sudo docker cp "$id:/data/pages-untar" "$BASE_PATH/$CHROOT_PATH/data/pages-untar/"
docker rm "$id"

This won't cause downtime, need a restart or reboot of anything. It impacts only Pages builds that run within Actions (e.g. with a custom workflow like you are doing here).

@yoannchaudet thx for sharing this. We've contacted GHES support and we've applied the fix. It worked :)
If you have any official issue for this bug, I would appreciate to follow it to know when this is officially fixed.
Thx once again :)

@yoannchaudet has this fix made it to any published GHES version yet (I can't see anything like it in the release notes)?
FWIW we're seeing it in v3.10.7 that came out at the same time as 3.11.5...

👋

The issue only impact hot patches so not 3.12.
The release notes are being updated shortly to add the Pages known issue mention for the versions of GHES we missed (basically anything published on or after 1/30)
The issue has been fixed and is being backported everywhere now


Memory leaks

There's even 100% memory leak when send file and 200% when receive ...

Solved a little in the newest release but not really solved - here's seemed to be still a copy of sending content. Will it be better if I inline something?

In latest version here's already none :)


Add more validation to PDFLinkService_navigateTo

Please refer to the individual commit messages.

This change is

/botio-linux preview

/botio test

Thank you for the patch!


chore(autoware_default_adapi)!: prefix autoware to package name

Description
Prefix "autoware" to package name.
Related links
Parent Issue:

https://github.com/orgs/autowarefoundation/discussions/4097

How was this PR tested?
Run planning simulation and drive auto mode.
Notes for reviewers
None.
Interface changes
None.

Effects on system behavior
None.

@go-sakayori @kosuke55 @kyoichi-sugahara @satoshi-ota @shmpwk @takayuki5168 @TomohitoAndo @tkimura4
Can someone please review autoware_behavior_path_planner/README.md?  Only link update.


Support comma in subtitle string when (not json)

Is your feature request related to a problem? Please describe.
The new subtitle is great but it doesn't support comma like progress text does. It will break the line remove the part starting from the comma. We need to be able to append the string to the command file instead of the JSON (because of the workflow we have).
Describe the solution you'd like
Support comma like in progress text.
Describe alternatives you've considered
I tried a fullwidth comma but this isn't passed through to the client correctly.

Can you attach screenshots and sample configuration code to this issue?

For example.
Subtitle

Microsoft Defender is an endpoint security platform designed to help prevent, detect, investigate, and respond to advanced threats.

Result

Microsoft Defender is an endpoint security platform designed to help prevent

@martinvandiemen : it thinks ", detect" is the next argument in the command.  Try putting it in single quotes or double quotes.

@BigMacAdmin  @bradtchapman this is not a bug, it's a feature request. Like @bartreardon meantioned it's not supported currently: https://github.com/swiftDialog/swiftDialog/issues/331#issuecomment-1905339553. Quotes around it, escaping comma, or whatsover doesn't helpt.

yeah, it's because commas are being used as the separator to split one argument into multiple related properties. It's not doing anything smart about it, simply splitting on comma and processing the pieces so in a subtitle it'll see a comma and consider that the end of the subtitle property.

@bartreardon would it be possible to ignore the comma if it's between quotes?


Include list-unsubscribe-post in DKIM signature

Closes #2788

Yes - this will be added to v3 which will be available in the next day or so.

Awesome! Thanks


NO SOUND WHEN typing in visual studio 2019

When typing in visual studio 2019, I can't hear the sound.
Windows 10
Visual Studio 2019

It also doesn't work in MSVS2022 on Win11


Apply style to Toolbar of session detail screen to change back button color.

Issue

In session detail screen, back key color is not white.
Overview (Required)

Apply theme to Toolbar to set standard colors of this app.

Screenshot

Before
After

:eyes:

Thanks! Let me confirm the detail.
This SessionDetail page uses CollapsingToolbar and is applied different theme by each topic color.
I want to see other session detail page screenshot in the case of expand/collapsed toolbar.

I have added screen shots of other themes.

Thank you for perfect screenshots... 🆒
LGTM!


Custom Layer Using Packages Other Than Tensorflow

System information

TensorFlow version (2.4.1):
Are you willing to contribute it (If you pay yes):

Describe the feature and the current behavior/state.
Currently you can't use packages other than tensorflow to build a layer
Will this change the current api? How?
I don't know
Who will benefit with this feature?
Everyone who wants to use packages like graph analysis or topological data analysis to build a custom layer for specific works .

@Javadcs
This is a great idea with the perspective that TensorFlow can incorporate things without any constraints. Unfortunately, this is not the case, actually far from it. Reason is (sort of) simple - Graph mode and associated things. Models and Layers in TensorFlow usually work with Graph mode on, which means that they need to be traced before execution. Now, we cannot trace non-TensorFlow constructs in the graph, it's just the way it works. The primary reason being compatibility and performance. Compatibility- TF's core is made of predefined ops and kernels, which can be extended by the user if need arises, but are in my opinion difficult to manipulate. Performance- by making such a graph and using TF constructs, TF is very fast, even for very complex operations like training a model. Thus, adding a feature allowing custom packages is not currently possible in TensorFlow, unless there are some MAJOR changes.
And by the way, nobody's getting paid here (atleast most of them). All of them are here for the love of it :) .

Thanks @AdityaKane2001 for the reply.
@Javadcs, could you give a more specific example about what exact issue you are facing? A small reproducible example might help us better understand you issue.

@Javadcs
This is a great idea with the perspective that TensorFlow can incorporate things without any constraints. Unfortunately, this is not the case, actually far from it. Reason is (sort of) simple - Graph mode and associated things. Models and Layers in TensorFlow usually work with Graph mode on, which means that they need to be traced before execution. Now, we cannot trace non-TensorFlow constructs in the graph, it's just the way it works. The primary reason being compatibility and performance. Compatibility- TF's core is made of predefined ops and kernels, which can be extended by the user if need arises, but are in my opinion difficult to manipulate. Performance- by making such a graph and using TF constructs, TF is very fast, even for very complex operations like training a model. Thus, adding a feature allowing custom packages is not currently possible in TensorFlow, unless there are some MAJOR changes.
And by the way, nobody's getting paid here (atleast most of them). All of them are here for the love of it :) .

Hi, thanks for answering me I appreciated it, that was a great idea to improve performance in this area which had two winters that both of them were related to it.
Can you guide me to know what is the structure of TensorFlow again I would appreciate it.
That was a joke for my friend I didn't intend to write it seriously I hope you and other researchers didn't take any offense
Good luck and good wishes.

@Javadcs
What do you want to know about TensorFlow's structure? Any specific parts?
I'm also new to this, but I'll try my best.

@JKhodadadi Is there any actionable item like raising PR?
Please note that Keras development moved to another repository to focus entirely on only keras. Could you please repost this issue on keras-team/keras repo.. Thanks!


fix github 2165

Docs Build status updates of commit 466bb2a:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

dynamics-nav/IMPORTFILE-Function--MediaSet-.md
:bulb:Suggestion

Details

dynamics-nav/includes/MimeType_md.md
:white_check_mark:Succeeded

dynamics-nav/IMPORTFILE-Function--MediaSet-.md

Line 2, Column 1: [Suggestion-description-missing] Missing required attribute: 'description'.

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching in the Docs contributor and Admin GuideSee the frequently asked questionsPost your question in the Docs support channel


Set Firebase Options

Give the possibility to the user to pass FirebaseOptions to initialize the Firebase app with options instead of json/plist firebase files.

@moh-abdullah-it

thank you @fpatelm


docs: Sample performance metrics

Fixes #409 by adding a sample test run results across a varying number of service/ingressroutes and load to Envoy running within a sample AWS environment.
The sample doc is only a guideline across many different sets of test run criteria.
Given the results, I came up with these sample resource constraints that could apply to a generic "catch-all" type environment:
Envoy:
       resources:
          requests:
            memory: "256Mi"
            cpu: 1
          limits:
            memory: "512Mi"
            cpu: 2

Contour:
     resources:
          requests:
            memory: "100Mi"
            cpu: "500m"
          limits:
            memory: "256Mi"
            cpu: 1

Signed-off-by: Steve Sloka<EMAIL_ADDRESS>

Default requests look good too. Maybe we'll need a note/comment about them only being starting points in the examples though?

@youngnick good point on including the samples in the doc! I was hesitant to add to the deployment/yaml files, so this is a good place for them.

Double LGTM, awesome.


readonly

Added KeyBinding
Made example of readonly text.

@garyb please, review

As far as I understand what's going on this looks good to me. I'm not sure the example is quite right though, as I found a way of editing the first character in the readonly region: enter a character right before it, and then press delete:

Thank you! Fixed C-d and Del behaviour in example

I'll reopen pr after porting all needed api funcs.

Ok, sure :)


Where is the .minkunet_backbone_batchnormmixer? I can't find it.

The minkunet_backbone_batchnormmixer was abandoned during past experiments and is no longer used. You can go ahead and delete that part from the init files, or you can wait for me to commit the updated code. I'm currently refactoring and debugging everything before the conference.

As mentioned in other issue, I mistakenly deleted that part while refactoring the code.
You can find it in a previous commit, or if you prefer, you can wait for me to commit the updated version. I'm currently refactoring and debugging everything before the conference day.

As I mentioned in here right before, I have fixed the issues and checked that the code runs correctly in the latest commit. Please check for this.

Thank you very much!


unable to parse '' as

Summary
When the jx-requirements.yml file is used to run jx boot, a parse error occurs on the verify-preinstall command.
STEP: verify-preinstall command: /bin/sh -c jx step verify preinstall --provider-values-dir="kubeProviders" in dir: /Users/gb/github/issaonline/gitops-k8s-dev/jenkins-x-boot-config

error: : unable to parse appdevwestus2 as <project id>_<zone>_<cluster name>
error: failed to interpret pipeline file /Users/gb/github/issaonline/gitops-k8s-dev/jenkins-x-boot-config/jenkins-x.yml: failed to run '/bin/sh -c jx step verify preinstall --provider-values-dir="kubeProviders"' command in directory '/Users/gb/github/issaonline/gitops-k8s-dev/jenkins-x-boot-config', output: ''

Below are the:

Input Terraform module configuration
Resulting jx-requirements.yml file
Output from running jx boot

Module Configuration
Note: I just cloned the current terraform-azurerm-jx repo locally to use the module
# location=uswest2
# environment=dev
variable "location" {
  type        = string
  description = "location of your resource group"
}

variable "environment" {
  type        = string
  description = "runtime environment: prod, dev"
}

module "aks-jx" {
  # source  = "jenkins-x/aks-jx/aks"
  source = "../src/terraform-azurerm-jx/jx_module"
  # version = "1.0.0"

  network_resource_group  = "rg-app-k8s-net-${var.environment}-${var.location}"
  cluster_resource_group  = "rg-app-k8s-clu-${var.environment}-${var.location}"
  dns_resource_group      = "rg-app-k8s-dns-${var.environment}-${var.location}"
  registry_resource_group = "rg-app-k8s-reg-${var.environment}-${var.location}"
  vault_resource_group    = "rg-app-k8s-vau-${var.environment}-${var.location}"

  cluster_name = "app${var.environment}${var.location}"

  create_registry         = true
  container_registry_name = "crappk8s${var.environment}${var.location}"

  # dev_env_approvers = ["gregberns"]

  jenkins_x_namespace = "jx" // default

  location = var.location

  dns_prefix   = "dnsappk8s"
  network_name = "vnet-app-k8s-${var.environment}-${var.location}"

  node_count = 1
  node_size  = "Standard_B2ms"

}

jx-requirements.yml File
autoUpdate:
  enabled: false
  schedule: ""
cluster:
  clusterName: appdevwestus2
  devEnvApprovers:
  - gregberns
  environmentGitOwner: isaaonline
  gitKind: github
  gitName: github
  gitServer: https://github.com
  namespace: jx
  provider: aks
  registry: crappk8sdevwestus2.azurecr.io
environments:
- ingress:
    domain: ""
    externalDNS: false
    namespaceSubDomain: ""
    tls:
      email: ""
      enabled: false
      production: false
  key: dev
  repository: environment-appdevwestus2-dev
- ingress:
    domain: ""
    externalDNS: false
    namespaceSubDomain: ""
    tls:
      email: ""
      enabled: false
      production: false
  key: staging
  repository: environment-appdevwestus2-staging
- ingress:
    domain: ""
    externalDNS: false
    namespaceSubDomain: ""
    tls:
      email: ""
      enabled: false
      production: false
  key: production
  repository: environment-appdevwestus2-production
gitops: true
ingress:
  domain: tfjxevidentmarlin.
  externalDNS: false
  ignoreLoadBalancer: true
  namespaceSubDomain: -jx.
  tls:
    email: ""
    enabled: false
    production: true
kaniko: true
repository: nexus
secretStorage: vault
storage:
  backup:
    enabled: false
    url: ""
  logs:
    enabled: false
    url: ""
  reports:
    enabled: false
    url: ""
  repository:
    enabled: false
    url: ""
terraform: true
vault: {}
velero:
  schedule: ""
  ttl: ""
versionStream:
  ref: v1.0.571
  url: https://github.com/jenkins-x/jenkins-x-versions.git
webhook: lighthouse

jx boot output
jx boot
Creating boot config with defaults, as not in an existing boot directory with a git repository.
No Jenkins X pipeline file jenkins-x.yml or no jx boot requirements file jx-requirements.yml found. You are not running this command from inside a Jenkins X Boot git clone
To continue we will clone https://github.com/jenkins-x/jenkins-x-boot-config.git @ master to jenkins-x-boot-config
? Do you want to clone the Jenkins X Boot Git repository? Yes

Cloning https://github.com/jenkins-x/jenkins-x-boot-config.git @ master to jenkins-x-boot-config
Attempting to resolve version for boot config https://github.com/jenkins-x/jenkins-x-boot-config.git from https://github.com/jenkins-x/jenkins-x-versions.git
Booting Jenkins X

STEP: validate-git command: /bin/sh -c jx step git validate in dir: /Users/gb/github/issaonline/gitops-k8s-dev/jenkins-x-boot-config/env

Git configured for user: Greg Berns and email<EMAIL_ADDRESS>
STEP: verify-preinstall command: /bin/sh -c jx step verify preinstall --provider-values-dir="kubeProviders" in dir: /Users/gb/github/issaonline/gitops-k8s-dev/jenkins-x-boot-config

error: : unable to parse appdevwestus2 as <project id>_<zone>_<cluster name>
error: failed to interpret pipeline file /Users/gb/github/issaonline/gitops-k8s-dev/jenkins-x-boot-config/jenkins-x.yml: failed to run '/bin/sh -c jx step verify preinstall --provider-values-dir="kubeProviders"' command in directory '/Users/gb/github/issaonline/gitops-k8s-dev/jenkins-x-boot-config', output: ''

Sorry, disregard. In my working directory was the jx-requirements.yml file, but a child directory contained the jenkins-x-boot-config git repo with the default GKE file - which was being used, or something.
The error generated seems like its coming from here:
https://github.com/jenkins-x/jx/blob/master/pkg/cloud/gke/helper.go#L150


Cannot install

I am trying to follow the tutorial here: https://coreos.com/blog/gRPC-protobufs-swagger.html
but I have the following error:
go get -u github.com/philips/grpc-gateway-example
# github.com/philips/grpc-gateway-example/echopb
echopb/service.pb.go:56: undefined: grpc.SupportPackageIsVersion3

Maybe same as here: https://github.com/bmeg/task-execution-server/issues/24 ?

I also came across this. The problem is that the autogenerated files are not being regenerated when you run "go get ..."; instead, it's using the files that have been checked into git. Those autogenerated files are now out of date with some other packages and it's triggering a compile-time assertion.
The instructions below assume that you are on Linux and have the $GOPATH environment variable set. You may need to do things slightly differently with other setups.
To regenerate the files, "cd" into "echopb" and type "make". You may find that you need to install some extra dependencies before that will work.
go get -u github.com/grpc-ecosystem/grpc-gateway/protoc-gen-grpc-gateway
go get -u github.com/grpc-ecosystem/grpc-gateway/protoc-gen-swagger
go get -u github.com/golang/protobuf/protoc-gen-go

Those will produce some executables such as "protoc-gen-go". Make sure that the location of those exectables is in your $PATH environment variable. Use the following command:
export PATH=$PATH:$GOPATH/bin

You will also need "protoc" which you can download from https://github.com/google/protobuf/releases

Copy "bin/protoc" to somewhere in your $PATH.
Copy the "include/google" directory into "$GOPATH/src".

With all the dependencies now installed, "make" should work without producing any errors. Once you have run "make", the original "go get ..." command should run without problems.

@samuelvarley can you submit a PR to bump the compiled assests?

OK, I have made PR #13.

Merged. This should be fixed now.


Removed Foreman provider to a separate gem.

Extraction of Foreman provider. Relies on moving https://github.com/juliancheal/manageiq-providers-foreman to ManageIQ org first.

@miq-bot add_label gem changes

@miq-bot assign @durandom

@durandom 💚

Merged since https://github.com/ManageIQ/manageiq-providers-foreman is live


Set idmap config for Ceph-NFS

Currently NFS Ganesha (ceph-nfs) consumes /etc/idmapd.conf, which
controls mapping of user/owner identities under NFSv4+.  With
containerized service deployment, this file is an immutable part of the
container image and cannot be modified.
Here we provide group variables, and a taskk and templates for the
ceph-nfs role, to set the path of the idmap configuration file and
to make the most common adjustment to the contents of that file --
namely to set the 'Domain'.  We default the path to /etc/ganesha/idmap.conf
so that we will not conflict with /etc/idmapd.conf on the controller nodes
where ganesha runs.  NFSv4 clients, as used for example by the Cinder NFS
driver, consume /etc/idmapd.conf and may require different settings than
what is wanted for NFS Ganesha.  Additionally, because we already bind
/etc/ganesha from the host into the ceph-nfs container, the file NFS
Ganesha consumes will no longer be an immutable part of the container.
Closes: https://bugzilla.redhat.com/show_bug.cgi?id=1925646
Signed-off-by: Tom Barron<EMAIL_ADDRESS>

As ceph-ansible is slowly disappearing then we will need a bugzilla in order to priorize and triage this.
Any downstream target for this ? AFAIK this could be only usefull for RHCS 4 (nautilus) because RHCS 5 uses cephadm so this would be targeted as an RFE for RHCS 4.3
I'm not a ganesha expert but instead of using a dedicated idmap file for ganesha (with only the domain part set) why don't you use the DomainName [1] option in the NFSv4 section ?
[1] https://github.com/nfs-ganesha/nfs-ganesha/wiki/NFS4Params

As ceph-ansible is slowly disappearing then we will need a bugzilla in order to priorize and triage this.
Any downstream target for this ? AFAIK this could be only usefull for RHCS 4 (nautilus) because RHCS 5 uses cephadm so this would be targeted as an RFE for RHCS 4.3
I'm not a ganesha expert but instead of using a dedicated idmap file for ganesha (with only the domain part set) why don't you use the DomainName [1] option in the NFSv4 section ?
[1] https://github.com/nfs-ganesha/nfs-ganesha/wiki/NFS4Params

Downstream we'd target OSP16.z, so corresponding to  RHCS4.  (We'd want to integrate it with the rest of the CephNFS functionality provided currently by ceph-ansible in the solution for CephNFS  with cephadm for OSP17 and RHCS5.)
The OSP bug driving this patch is https://bugzilla.redhat.com/show_bug.cgi?id=1917356 Should I clone it for ceph-ansible as well?
With regard to using the NFSv4 section of ganesha.conf instead, we may well have other parameters from idmap.conf than Domainname that need to be set in the future that are not also exposed in that file.

The OSP bug driving this patch is https://bugzilla.redhat.com/show_bug.cgi?id=1917356 Should I clone it for ceph-ansible as well?

Yes please

With regard to using the NFSv4 section of ganesha.conf instead, we may well have other parameters from idmap.conf than Domainname that need to be set in the future that are not also exposed in that file.

Ack.
In that case we will probably need to have a smarter solution instead of adding new variable each time. So one solution would be to use the config_template plugin [1] and an override variable like we're doing with the ceph config [2] and ceph_conf_override [3] (as it looks like the idmap config file is in INI format).
With this kind of solution, one would be able to change anything in the idmap configuration without modifying the ceph-ansible code.
We're also doing this in the ganesha configuration file (ganesha_conf_override [4]) but differently since the format isn't standard.
Maybe something to consider is the backward compatibility (if any) if one was relying on the default idmap configuration file (/etc/idmapd.conf) with something custom settings as the PR force to use the new file.
[1] https://github.com/ceph/ceph-ansible/blob/master/plugins/actions/config_template.py
[2] https://github.com/ceph/ceph-ansible/blob/master/roles/ceph-config/tasks/main.yml#L107-L115
[3] https://github.com/ceph/ceph-ansible/blob/master/roles/ceph-defaults/defaults/main.yml#L504-L526
[4] https://github.com/ceph/ceph-ansible/blob/master/roles/ceph-nfs/defaults/main.yml#L79-L100

@dsavineau Thanks for the quick helpful review!

I cloned ceph-ansible bug https://bugzilla.redhat.com/show_bug.cgi?id=1925646
Thanks for the pointers to the config_template stuff, which does sound like a more general solution.
We're OK for OSP consumers of ganesha because the version of /etc/idmapd.conf they see is baked into a container so they could not have changed its parameter values from the default.  If we need to worry about other consumers (RGW?) then I can set the default value of the idmap file to /etc/idmapd.conf and override it from THT when OSP is using ceph-nfs.  Let me know what seems best, please.

hey @tombarron :slightly_smiling_face:
do you mind adding the Closes: https://bugzilla.redhat.com/show_bug.cgi?id=1925646 in your commit message please?
also, could you rebase on master?
Thanks!

@tombarron any news?

Closing in favor of #6338


carousel added

Hi added the carousel in the bootstrap directory with the name carousel. Please accept my PR.

Please add the hacktoberfest-accepted label to it.

LGMT @vishakha868 ! Nice work.
Merging wrt #67


Unify REVA gateway configuration

Description
Changed Envvars for REVA access to REVA_GATEWAY_ADDR. Unified descriptions and cli parameter names
Related Issue

Fixes https://github.com/owncloud/ocis/issues/2091

Motivation and Context

Was marked as good-first-issue
How Has This Been Tested?

Tested on localhost
Screenshots (if appropriate):
Types of changes

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[x] Breaking change (fix or feature that would cause existing functionality to change)
[x] Technical debt
[ ] Tests only (no source changes)

Checklist:

[x] Code changes
[ ] Unit tests added
[ ] Acceptance tests added
[ ] Documentation ticket raised:

@kobergj could you please add an changelog in a separate PR since this one doesn't have one?


[release-4.14] Make changes in microshift script to create bundles of 4.14 changes

As of now our microshift script only able to run for released version but not for what is going to come, like we have for OCP. We need to update our script to make sure it will also able to work with upcoming versions.

we have CI in place to create the bundle and PR is merged #790


Test | Parallel purchases

Will probably lead to using transactions.

See https://github.com/dipeshhkc/Golang-Gorm-MultiLayer-DB-Transaction


Apply template syntax check to files in the templates dir only. This avo...

...ids false positives for .erb files in the files subdirectory which are not actually Chef templates.
Obvious fix.

Hi. I am an automated pull request bot named Curry. There are commits in this pull request whose authors are not yet authorized to contribute to Chef Software, Inc. projects or are using a non-GitHub verified email address. To become authorized to contribute, you will need to sign the Contributor License Agreement (CLA) as an individual or on behalf of your company. You can read more on Chef's blog.
GitHub Users Who Are Not Authorized To Contribute
The following GitHub users do not appear to have signed a CLA:

@victorhahncastell

Please sign the CLA here.


Upgrade pinot client version

What changed?
Upgrade pinot-go-client version to v0.2.0, it is the latest release version that supports pinot version 0.12.0 which is the version used internally

Why?

How did you test it?

Potential risks

Release notes

Documentation Changes

Pull Request Test Coverage Report for Build 018daedd-c4d7-4e21-b456-76c002abd778
Details

0 of 0   changed or added relevant lines in 0 files are covered.
95 unchanged lines in 17 files lost coverage.
Overall coverage decreased (-0.03%) to 62.721%

Files with Coverage Reduction
New Missed Lines
%

client/history/client.go
2
38.1%

common/persistence/sql/sqlplugin/postgres/db.go
2
85.0%

common/persistence/sql/sqlplugin/postgres/task.go
2
73.4%

common/task/fifo_task_scheduler.go
2
85.57%

common/task/weighted_round_robin_task_scheduler.go
2
88.56%

service/history/execution/mutable_state_util.go
2
37.63%

service/history/handler.go
2
49.97%

service/matching/taskListManager.go
2
80.46%

service/matching/taskReader.go
2
84.88%

service/frontend/api/handler.go
4
62.11%

Totals

Change from base Build 018dae9f-1cbd-4682-94eb-c8ea3a325702:
-0.03%

Covered Lines:
92590

Relevant Lines:
147622

💛  - Coveralls


Selected day of the month remains visibly selected when navigating through months

Describe the bug
Selected day of the month remains visibly selected when navigating through months
To Reproduce
Steps to reproduce the behavior:

Go to https://reactdatepicker.com/#example-default
Select a date from the Default date picker
Navigate to different month
Day of the month remains selected, but input value does not update

Expected behavior
If I select September 15th 2021, then navigate to November - I would expect no date to be visibly selected.
Screenshots

I also just came across this issue.
That's not the actual selected but the keyboard-selected day.
You can customize the styling by using the CSS class react-datepicker__day--keyboard-selected (as opposed to react-datepicker__day--selected for the actual selected day).

Hi @SapuSeven , thanks for the tip - this fixed it!
.react-datepicker__day--keyboard-selected {
        background-color: transparent !important;

        &:hover {
            background-color:  // same as react-datepicker__day
        }
    }


Fixes DF-1620 - adds request a speaker page

Fixes DF-1620 - Adds a request a speaker page to events section.
Additions

Adds /events/request-a-speaker/ page.
Adds separate _faq.html page for FAQ expandables.

Changes

Modifies the expandable groups pattern to wrap all .expandables in a .expandable-group_items class so that a top border can be applied when the expandables group doesn't have a header.
Regenerates assets.

Testing

Visit /events/request-a-speaker/

Review

@jimmynotjim
@sebworks
@duelj
et al.

Preview
Desktop:

Tablet:

Mobile:

Notes

The Step 3 email address doesn't look like the mock, as I followed the existing CF style for a link with an icon, which includes the icon in the link, instead of outside of it. I also noticed the icon in icon-link__mail differs from the one in cf-icons, but that seems like a cf-typography issue.

Nevermind on that note, I should have been using icon-link__email, pushing an update.

@anselmbradford , did you mean to include static/css/cf-enhancements.less?

@sebworks Thanks for checking, I did mean to include it. https://github.com/cfpb/cfgov-refresh/pull/455/files#diff-87809e3f08e68bfee8816ef17bc7a666R510 is new adjustments to the expandables. However, I didn't  mean to add the extra lines at the end... fixed in https://github.com/cfpb/cfgov-refresh/commit/eda1452f0e9d7e743ed6d90f6943a062ea1c8d82

:+1:

:+1:


Any way to get auto prefixing like when using postcss?

I haven't been able to find this option. Is this something you will include In the pipeline at some point, or do you have any alternatives if I need autoprefixing?

Has the Status of this changed, is autoprefixing supported?


Add name and description

Fixes #634
With this PR now the frontend can read and write the name and description properties from the metadata object returned when parsing the source code. And when passed in that same metadata, it will place the name and description in the proper places.
As Integration and Binding have no description, it will  be added as an annotation.
In Camel Route, name will be used as the route id and description will be dropped (nowhere I know of to place it).

Trying to fix Windows failing...


US_5.3: Provide materials

As
organizer
I want to
be able to provide materials
in order to
all participants get materials

depencies: role organizer


Fix compare bug

#17

Codecov Report

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

@@          Coverage Diff          @@
##           master    #18   +/-   ##
=====================================
  Coverage     100%   100%
=====================================
  Files           2      2
  Lines          22     16    -6
=====================================
- Hits           22     16    -6

Impacted Files
Coverage Δ

src/index.js
100% <ø> (ø)
:arrow_up:

src/utils.js
100% <ø> (ø)
: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 215e657...8399436. Read the comment docs.


CASMNET-2134 | Improve network install docs

Description
Improvements to network management to make installation and finding resources easier.
https://jira-pro.it.hpe.com:8443/browse/CASMNET-2134

Checklist

[ ] If I added any command snippets, the steps they belong to follow the prompt conventions (see example).
[ ] If I added a new directory, I also updated .github/CODEOWNERS with the corresponding team in Cray-HPE.
[x] My commits or Pull-Request Title contain my JIRA information, or I do not have a JIRA.

Lintcheck fails because of:
2 links checked.
[✖] ../../troubleshooting/known_issues/qlogic_driver_crash.md → Status: 400
PR https://github.com/Cray-HPE/docs-csm/pull/3822 Needs to be merged first

Rebased on main after merging #3822 and #3814

closing because of merge conficts from pet changes and want to make cleaner PR


Top Performers and Statistics Leaders per season and surface

Make Top Performers and Statistics Leaders available per season too and surface

Per season implemented.

Statistics per surface implemented.


Some variable names to be avoided?

I think there are some variable names that don't work as well.  For example, consider the following script:
	var stow_objects bronze bola, a polished steel poignard and a small rock.

	eval stow_objects replacere("%stow_objects", ", a |, an | and a | and an ", "|")
	eval stow_objects replacere("%stow_objects", "\|[^\|]* (?=\w*($|\|))", "|")
	eval stow_objects replacere("%stow_objects", "^[^\|]* (?=\w*($|\|))", "")

	echo Stow Objects:%stow_objects

	var feet_objects bronze bola, a polished steel poignard and a small rock.

	eval feet_objects replacere("%feet_objects", ", a |, an | and a | and an ", "|")
	eval feet_objects replacere("%feet_objects", "\|[^\|]* (?=\w*($|\|))", "|")
	eval feet_objects replacere("%feet_objects", "^[^\|]* (?=\w*($|\|))", "")

	echo Feet Objects:%feet_objects

It's doing the exact same thing to the two variables, so they should contain the same string at the end.  Instead, this is the output:
Stow Objects:bola|poignard|rock.
Feet Objects:bronze bola, a polished steel poignard and a small rock.

The replacere just didn't do anything to feet_objects.
I'm happy to work around it by choosing appropriate variable names, but could you give some idea what makes a variable name bad?

This is the same issue as #93 and #106 - it looks like eval + replacere doesn't like using the same variable name as both input and replacement.


Associated import lead to import fails

System Info
Both transformers 4.16.0(currently demanded by gpt2 fp16 on ort training) and transformers 4.18.0 will fail when I tried to import ORTTrainer, as the import of ORTModel demands features newly integrated into transformers. I find this dependence not good, and a more robust import strategy shall be applied probably like what we have in transformers.
Who can help?
@JingyaHuang @regisss @morgan
Reproduction
>>> from optimum.onnxruntime import ORTTrainer
/home/ubuntu/anaconda3/envs/venv_ort_train/lib/python3.8/site-packages/cerberus/__init__.py:13: UserWarning: Module optimum was already imported from None, but /home/ubuntu/optimum is being added to sys.path
  from pkg_resources import get_distribution, DistributionNotFound
2022-07-07 09:59:03.368586: W tensorflow/stream_executor/platform/default/dso_loader.cc:64] Could not load dynamic library 'libcudart.so.11.0'; dlerror: libcudart.so.11.0: cannot open shared object file: No such file or directory; LD_LIBRARY_PATH: /usr/local/cuda-10.2/lib64:
2022-07-07 09:59:03.368625: I tensorflow/stream_executor/cuda/cudart_stub.cc:29] Ignore above cudart dlerror if you do not have a GPU set up on your machine.
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/home/ubuntu/optimum/optimum/onnxruntime/__init__.py", line 53, in <module>
    from .modeling_ort import (
  File "/home/ubuntu/optimum/optimum/onnxruntime/modeling_ort.py", line 29, in <module>
    from transformers.onnx.utils import get_preprocessor
ImportError: cannot import name 'get_preprocessor' from 'transformers.onnx.utils' (/home/ubuntu/anaconda3/envs/venv_ort_train/lib/python3.8/site-packages/transformers/onnx/utils.py)

Ideas
Importing ORTTrainer shouldn't rely on the dependencies of ORTModels. This could be done by importing with transformers.utils._LazyModule. WDYT?

@JingyaHuang I agree with what you propose, I'm going to assign this issue to myself and propose a PR soon!

Awesome! Thx @regisss, keep me posted!


Discuss the best way to enforce HC procedures name uniqueness

Explore possibility to use annotation member value to check for the name at boot time

Qualifier seems the best place to define a unique name


Fix duplicate packages in complex spack environments (templates)

This PR does two things:

Fix CI builds by making a number of small changes:

Use macos-11 image for macos-gcc until the Xcode command line utilities are fixed. The current version macos-latest=macos-12 uses Xcode command line utilities 14.0, which cause problems building code with gcc, see https://stackoverflow.com/questions/73714336/xcode-update-to-version-2395-ld-compile-problem-occurs-computedatomcount-m for an example. Once this version gets updated to 14.3, we should be able to switch back to the latest macOS image.
Add export FCFLAGS="-fallow-argument-mismatch" because mpich isn't happy with just FFLAGS.
Update mpich and openmpi versions.

Fix duplicate packages in complex environments (skylab-dev, jedi-ufs-all) by adding variant information for cmake and pinning py-setuptools and py-setuptools-scm versions in configs/common/packages.yaml.

The PR also updates the submodule pointer for spack to include the latest bug fixes for building met on macOS (see https://github.com/NOAA-EMC/spack/pull/185).

All CI tests finished within the 6hr window :-) merging now, thanks for the reviews.


Jorgel/githooks/ktlint

This PR adds ktlint format checker as part of the githooks. The ktlint format checker checks for code violations.  If the check finds code violations, the githook will not pass.
Checks

./gradlew test passed
./gradlew testEnd2End passed
All tasks from build passed
./quick-test all passed

Testing

[ X] Tested locally?
[ ] Ran quickTest all?
[ ] Ran ./prime test against local Docker ReportStream container?
[ ] Downloaded a file from http://localhost:7071/api/download?
[ ] Added tests?

Fixes

#1963

This PR is too broad and contains changes unrelated to the work being described; please rip those out and put them in a different PR

Note for reviewers: the reason a bunch of .kt files are included in this PR is because they've been formatted. As long as they are formatting changes, it's ok; but functional changes should not be part of the PR.

Added on additional reviews, since we should verify this works across multiple developer machines, since it will be part of the standard commit hook.

Looking better! I can now successfully run:
.environment/ktlint/run-ktlintCheck.sh --all

However, when doing so, I have violations. So, I'm attempting to fix them with:
.environment/ktlint/run-ktlintCheck.sh --all --fix

But it appears I cannot use both options together.

Nice, I'm glad we are making progress! The --all option checks the whole project for code violations. Unfortunately, the format option only applies to staged files ready to be committed. Formatting for the whole project might be something that we can add to it once the githook is up and running, let me know what you think.

Looking better! I can now successfully run:
.environment/ktlint/run-ktlintCheck.sh --all

However, when doing so, I have violations. So, I'm attempting to fix them with:
.environment/ktlint/run-ktlintCheck.sh --all --fix

But it appears I cannot use both options together.

I'm glad that it's coming together. Please try both options again, I made a couple of adjustments. As a reminder, --format only formats the staged files, --all --format will format all files in the project with .kt and kts extension.

Looking better! I can now successfully run:
.environment/ktlint/run-ktlintCheck.sh --all

However, when doing so, I have violations. So, I'm attempting to fix them with:
.environment/ktlint/run-ktlintCheck.sh --all --fix

But it appears I cannot use both options together.

I'm glad that it's coming together. Please try both options again, I made a couple of adjustments. As a reminder, --format only formats the staged files, --all --format will format all files in the project with .kt and kts extension.

Just gave that a go, but still no luck:
 prime-data-hub git:(jorgel/githooks/ktlint) ✗ .environment/ktlint/run-ktlintCheck.sh --all
ktlint> info: Checking for ktlint code violations...
[+] Building 1.7s (17/17) FINISHED
 => [internal] load build definition from Dockerfile                                                                                0.0s
 => => transferring dockerfile: 37B                                                                                0.0s
 => [internal] load .dockerignore                                                                                0.0s
 => => transferring context: 2B                                                                                0.0s
 => [internal] load metadata for docker.io/library/java:alpine                                                                                1.6s
 => [internal] load metadata for docker.io/library/alpine:3                                                                                1.6s
 => [downloader 1/8] FROM docker.io/library/alpine:3@sha256:e1c082e3d3c45cccac829840a25941e679c25d438cc8412c2fa221cf1a824e6a                                                                                0.0s
 => [stage-1 1/4] FROM docker.io/library/java:alpine@sha256:d49bf8c44670834d3dade17f8b84d709e7db47f1887f671a0e098bafa9bae49f                                                                                0.0s
 => CACHED [downloader 2/8] RUN apk update     && apk add curl gnupg                                                                                0.0s
 => CACHED [downloader 3/8] WORKDIR /tmp                                                                                0.0s
 => CACHED [downloader 4/8] RUN curl -sS https://keybase.io/ktlint/pgp_keys.asc | gpg --import                                                                                0.0s
 => CACHED [downloader 5/8] RUN curl --output /tmp/ktlint -sSLO https://github.com/pinterest/ktlint/releases/download/0.42.1/ktlint                                                                                0.0s
 => CACHED [downloader 6/8] RUN curl --output /tmp/ktlint.asc -sSLO https://github.com/pinterest/ktlint/releases/download/0.42.1/ktlint.asc                                                                                0.0s
 => CACHED [downloader 7/8] RUN gpg --verify ktlint.asc                                                                                0.0s
 => CACHED [downloader 8/8] RUN chmod a+x /tmp/ktlint                                                                                0.0s
 => CACHED [stage-1 2/4] COPY --from=downloader /tmp/ktlint /usr/bin/                                                                                0.0s
 => CACHED [stage-1 3/4] RUN mkdir "/src"                                                                                0.0s
 => CACHED [stage-1 4/4] WORKDIR /src                                                                                0.0s
 => exporting to image                                                                                0.0s
 => => exporting layers                                                                                0.0s
 => => writing image sha256:6b00e8e9750ffda1f364a2fca8dccf1f82c1985e0511307d628eff8c8b7974df                                                                                0.0s
 => => naming to docker.io/library/reportstream-ktlint:latest                                                                                0.0s

Use 'docker scan' to run Snyk tests against images to find vulnerabilities and learn how to fix them
    ././prototypes/as2./main/kotlin/AS2ExpCommand.kt:17:1: Wildcard import (cannot be auto-corrected)
    ././prototypes/as2./main/kotlin/AS2ExpCommand.kt:19:1: Needless blank line(s)
    ././prototypes/as2./main/kotlin/AS2ExpCommand.kt:50:20: Missing spacing before ":"
    ././prototypes/as2./main/kotlin/AS2ExpCommand.kt:52:44: Missing spacing around "="
    ././prototypes/as2./main/kotlin/AS2ExpCommand.kt:53:46: Missing spacing around "="
    ././prototypes/as2./main/kotlin/AS2ExpCommand.kt:54:44: Missing spacing around "="
    ././prototypes/as2./main/kotlin/AS2ExpCommand.kt:63:31: Unexpected spacing before "("
    ././prototypes/as2./main/kotlin/AS2ExpCommand.kt:79:1: Unexpected indentation (16) (should be 12)
    ././prototypes/as2./main/kotlin/AS2ExpCommand.kt:80:1: Unexpected indentation (16) (should be 12)
    ././prototypes/as2./main/kotlin/AS2ExpCommand.kt:89:42: Redundant "toString()" call in string template
    ././prototypes/as2/build.gradle.kts:22:2: Redundant newline (\n) at the end of file
    ././prototypes/as2/settings.gradle.kts:1:28: Redundant newline (\n) at the end of file
    ././prototypes/as2/settings.gradle.kts:3:1: Needless blank line(s)
ktlint> ERROR: You likely have ktlint violations, check the output or 'ktlint.log' for more information
ktlint> info: You may be able to fix the violations by invoking '.environment/ktlint/run-ktlintCheck.sh --format'.

➜  prime-data-hub git:(jorgel/githooks/ktlint) .environment/ktlint/run-ktlintCheck.sh --all --format
ktlint> info: Checking for ktlint code violations...
[+] Building 0.6s (17/17) FINISHED
 => [internal] load build definition from Dockerfile                                                                                0.0s
 => => transferring dockerfile: 37B                                                                                0.0s
 => [internal] load .dockerignore                                                                                0.0s
 => => transferring context: 2B                                                                                0.0s
 => [internal] load metadata for docker.io/library/java:alpine                                                                                0.3s
 => [internal] load metadata for docker.io/library/alpine:3                                                                                0.4s
 => [downloader 1/8] FROM docker.io/library/alpine:3@sha256:e1c082e3d3c45cccac829840a25941e679c25d438cc8412c2fa221cf1a824e6a                                                                                0.0s
 => [stage-1 1/4] FROM docker.io/library/java:alpine@sha256:d49bf8c44670834d3dade17f8b84d709e7db47f1887f671a0e098bafa9bae49f                                                                                0.0s
 => CACHED [downloader 2/8] RUN apk update     && apk add curl gnupg                                                                                0.0s
 => CACHED [downloader 3/8] WORKDIR /tmp                                                                                0.0s
 => CACHED [downloader 4/8] RUN curl -sS https://keybase.io/ktlint/pgp_keys.asc | gpg --import                                                                                0.0s
 => CACHED [downloader 5/8] RUN curl --output /tmp/ktlint -sSLO https://github.com/pinterest/ktlint/releases/download/0.42.1/ktlint                                                                                0.0s
 => CACHED [downloader 6/8] RUN curl --output /tmp/ktlint.asc -sSLO https://github.com/pinterest/ktlint/releases/download/0.42.1/ktlint.asc                                                                                0.0s
 => CACHED [downloader 7/8] RUN gpg --verify ktlint.asc                                                                                0.0s
 => CACHED [downloader 8/8] RUN chmod a+x /tmp/ktlint                                                                                0.0s
 => CACHED [stage-1 2/4] COPY --from=downloader /tmp/ktlint /usr/bin/                                                                                0.0s
 => CACHED [stage-1 3/4] RUN mkdir "/src"                                                                                0.0s
 => CACHED [stage-1 4/4] WORKDIR /src                                                                                0.0s
 => exporting to image                                                                                0.0s
 => => exporting layers                                                                                0.0s
 => => writing image sha256:6b00e8e9750ffda1f364a2fca8dccf1f82c1985e0511307d628eff8c8b7974df                                                                                0.0s
 => => naming to docker.io/library/reportstream-ktlint:latest                                                                                0.0s

Use 'docker scan' to run Snyk tests against images to find vulnerabilities and learn how to fix them
    ././prototypes/as2./main/kotlin/AS2ExpCommand.kt:17:1: Wildcard import (cannot be auto-corrected)
ktlint> ERROR: You likely have ktlint violations, check the output or 'ktlint.log' for more information
ktlint> info: You may be able to fix the violations by invoking '.environment/ktlint/run-ktlintCheck.sh --format'.

➜  prime-data-hub git:(jorgel/githooks/ktlint) ✗ .environment/ktlint/run-ktlintCheck.sh --all
ktlint> info: Checking for ktlint code violations...
[+] Building 0.5s (17/17) FINISHED
 => [internal] load build definition from Dockerfile                                                                                0.0s
 => => transferring dockerfile: 37B                                                                                0.0s
 => [internal] load .dockerignore                                                                                0.0s
 => => transferring context: 2B                                                                                0.0s
 => [internal] load metadata for docker.io/library/java:alpine                                                                                0.3s
 => [internal] load metadata for docker.io/library/alpine:3                                                                                0.3s
 => [downloader 1/8] FROM docker.io/library/alpine:3@sha256:e1c082e3d3c45cccac829840a25941e679c25d438cc8412c2fa221cf1a824e6a                                                                                0.0s
 => [stage-1 1/4] FROM docker.io/library/java:alpine@sha256:d49bf8c44670834d3dade17f8b84d709e7db47f1887f671a0e098bafa9bae49f                                                                                0.0s
 => CACHED [downloader 2/8] RUN apk update     && apk add curl gnupg                                                                                0.0s
 => CACHED [downloader 3/8] WORKDIR /tmp                                                                                0.0s
 => CACHED [downloader 4/8] RUN curl -sS https://keybase.io/ktlint/pgp_keys.asc | gpg --import                                                                                0.0s
 => CACHED [downloader 5/8] RUN curl --output /tmp/ktlint -sSLO https://github.com/pinterest/ktlint/releases/download/0.42.1/ktlint                                                                                0.0s
 => CACHED [downloader 6/8] RUN curl --output /tmp/ktlint.asc -sSLO https://github.com/pinterest/ktlint/releases/download/0.42.1/ktlint.asc                                                                                0.0s
 => CACHED [downloader 7/8] RUN gpg --verify ktlint.asc                                                                                0.0s
 => CACHED [downloader 8/8] RUN chmod a+x /tmp/ktlint                                                                                0.0s
 => CACHED [stage-1 2/4] COPY --from=downloader /tmp/ktlint /usr/bin/                                                                                0.0s
 => CACHED [stage-1 3/4] RUN mkdir "/src"                                                                                0.0s
 => CACHED [stage-1 4/4] WORKDIR /src                                                                                0.0s
 => exporting to image                                                                                0.0s
 => => exporting layers                                                                                0.0s
 => => writing image sha256:6b00e8e9750ffda1f364a2fca8dccf1f82c1985e0511307d628eff8c8b7974df                                                                                0.0s
 => => naming to docker.io/library/reportstream-ktlint:latest                                                                                0.0s

Use 'docker scan' to run Snyk tests against images to find vulnerabilities and learn how to fix them
    ././prototypes/as2./main/kotlin/AS2ExpCommand.kt:17:1: Wildcard import (cannot be auto-corrected)
ktlint> ERROR: You likely have ktlint violations, check the output or 'ktlint.log' for more information
ktlint> info: You may be able to fix the violations by invoking '.environment/ktlint/run-ktlintCheck.sh --format'.


The specified Android SDK Build Tools version (25.0.1) is ignored, as it is below the minimum supported version (26.0.2) for Android Gradle Plugin 3.0.0.

Error:The specified Android SDK Build Tools version (25.0.1) is ignored, as it is below the minimum supported version (26.0.2) for Android Gradle Plugin 3.0.0.
Android SDK Build Tools 26.0.2 will be used.
To suppress this warning, remove "buildToolsVersion '25.0.1'" from your build.gradle file, as each version of the Android Gradle Plugin now has a default version of the build tools.
Update Build Tools version and sync projectOpen File

@teolemon Please close this issue as it has been taken care of.

thanks @samagra14


store embeddings as float32

we changed llm training precision to float16, but we should store the embeddings still as float32. this https://github.com/odissei-lifecourse/life-sequencing-dutch/blob/4fbe878a13f49db49538165833fc3414d51cb4d8/code/llm/src/new_code/infer_embedding.py#L75
and the following line should be updated, so that embeddings are converted to float32 before they are saved on disk.
see also #54

closing; in parquet it's in float32 anyway


⚠ Bofrost.nl has degraded performance

In 4091401, Bofrost.nl (https://www.bofrost.nl) experienced degraded performance:

HTTP code: 200
Response time: 1588 ms

Resolved: Bofrost.nl performance has improved in 52da450.


Add option outputfile

Allow to save a copy of stdout to a file

Why? What's the use-case?

In my gulp file I have got:
function runRegulatoryTests() {
	return gulp.src([
		"tests/regulatory/commentPeriods.js",
	]).pipe(ava({
		tap: true,
		failFast: argv["ava-failfast"],
		concurrency: parseInt(argv["ava-concurrency"]),
		outputfile: 'tests/output/tapOutput.txt',
		"_":[
			"--",
			"--browser",
			argv["ava-browser"],
			"--headless",
			argv["ava-headless"],
		]
	}));
}

The new option outputfile allows me to store a copy of the stdout (and not stderr) of ava (and nothing more) as a file. This allows me to further process the output (we actually generate a graphical test report containing test descriptions and screenshots).

It seems like this would be better as an option for AVA itself, not just this Gulp plugin.

I have to agree. I didn't think far enough.

I just created a ticket in AVA to get a confirmation for the idea: https://github.com/avajs/ava/issues/2431

After the answer of @novemberborn in the AVA ticket it is a gulp-ava topic again, I guess?

And alternative approach would be to add an option outputstreams which would allow to pass in one ore more outputstreams. This would allow to use different TAP reportes simultaneously, e.g. faucet for the output in the console (stdout) and ava-tap-json which would get piped to a file write stream.
When streaming the output to the console one should activate the option silent to prevent mixed output.
Both the original approach using outputfile and the newly proposed using outputstreams would extend the current functionality without having a risk to break something.
I personally like the new idea better even though it is a bit harder to understand, because it allows more flexibility. What do you think?

FWIW I have no interest in maintaining gulp-ava (sorry @adymorz). I'm happy to ship whatever here.

Alright. Let's add it here then.


Fixed a bug that caused the binary lenght ot be 20 when generating xid from a string

Thank you for publishing the xid implementation.
I have generated an xid object from the xid string and also obtained its binary, which seems to be of different length.
I would appreciate your confirmation.
import xid

guid = xid.XID()
guid_b = guid.bytes()
guid_b_from_string = xid.XID(guid.string()).bytes()
print("guid bytes len %s, guid bytes form string len %s" % (len(guid_b), len(guid_b_from_string)))
# guid bytes len 12, guid bytes form string len 20

Nice catch! Thank you!


S2I build fails if init.groovy.d/ present

It looks like #440 might have caused a regression on client builds that want to bake in init.groovy.d/ scripts:
---> Installing new Jenkins configuration ...
mv: cannot move ‘/tmp/tmp.isnFJKrzxzjenkins/configuration/init.groovy.d’ to ‘/opt/openshift/configuration/init.groovy.d’: Directory not empty
error: build error: non-zero (13) exit code from openshift/jenkins-2-centos7@sha256:8e5a8cfb470ac744b903cc2fc6607a78d3d98b7ee6af5e718a39f7730c6d9663

@gabemontero please revert this out of the 3.9 branch while we sort this out.  it's not needed for 3.9 anyway (the template changes are sufficient).

sure ... while users laying claim to the init.groovy file is speculative IMO, either in the top level dir or init.groovy.do subdir, the time needed to sort through that debate conflicts with our 3.9 timetable.

I posted an easy fix for this in #529. Though I'm fine with reverting as well. Ideally, we would have "merge" semantics there.

On Tue, Mar 6, 2018 at 3:05 PM, Jonathan Lebon<EMAIL_ADDRESS>wrote:

I posted an easy fix for this in #529
https://github.com/openshift/jenkins/pull/529. Though I'm fine with
reverting as well. Ideally, we would have "merge" semantics there.

Yep saw that - thanks.  That said, in theory there might be users who
assumed they could lay claim to the other file as well.
We'll want to give the issue proper consideration.
Thanks for the quick heads up by the way ;-)

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/openshift/jenkins/issues/528#issuecomment-370910486,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ADbadAygKFlkK5e0gWZmSrms8hSpcBuTks5tbuwagaJpZM4SfVBM
.

Ideally, we would have "merge" semantics there.

I just updated #529 to do this.

On Tue, Mar 6, 2018 at 3:10 PM, Jonathan Lebon<EMAIL_ADDRESS>wrote:

Ideally, we would have "merge" semantics there.
I just updated #529 https://github.com/openshift/jenkins/pull/529 to do
this.

OK cool.  We'll certainly cross reference with that when we revisit this.
Thanks again.

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/openshift/jenkins/issues/528#issuecomment-370911899,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ADbadJ3nV5hKyG1IKwv9UbXHQzeIq-PXks5tbu1AgaJpZM4SfVBM
.

This has been backed out with the recent centos image updates and is part of 3.9 rhel
I'll see about some form of what @jlebon proposed or some augmentation of that as part of the continuing resolution efforts around slow login ... place in the beginning of our 3.10 cycle so it can get more soaking / review


Create a Scientific Calculator

Create a Scientific Calculator with well documented

Please assign this to me

plz assign me the task sir @gvpHactober .

I wish to contribute. Kindly assign me to this.


MudDataGrid FilterString to use it with Blazor Wasm

Feature request type
Enhance component
Component name
MudDataGrid
Is your feature request related to a problem?
When using blazor webassembly it should be nice to generate a filter string ftom the filter expression and send it to the backend API. Radzen components are doing the following Expression to string convertion.
That filter string from the Radzen LoadDataArgs can be used in a EF query like query.Where(args.Filter) and everything is working as expected.
Describe the solution you'd like
The ability to provide a way to transform the FilterDefinition.GenerateFilterFunction() to string in order to send it over a request and do the filtering out of the box
Have you seen this feature anywhere else?
Radzen DataGrid with the use of LoadData and args.Filter
Describe alternatives you've considered
No response
Pull Request

[ ] I would like to do a Pull Request

Code of Conduct

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

Hello,
I'm afraid we won't be able to provide support for that. The library System.Linq.Dynamic.Core, is developed by a third-party, namely zzzprojects. As per our current policy, we refrain from utilizing external libraries. Additionally, this particular library lacks support for trimming, which goes against our policy as well.
Thank you.

Hello @ScarletKuro It is not the need to use it with System.Linq.Dynamic.Core but find a way to forward the filtering to the backend API and have an easier implementation of generic filtering. I managed to somehow get it done by using the GenerateFilterExpression of the FilterDefinition to get the expression, the serialize it with Serialize.Linq and in server side, deserialize it and pass it down to EF Core and worked!! Is there any plan to not remove the GenerateFilterExpression in the upcoming releases and let us customize it because as it is mentioned in https://github.com/MudBlazor/MudBlazor/pull/7057 EF Core do not work with StringComparison.
So, adding a parameter to FilterOptions to ignore the comparisonType and not removing the GenerateFilterExpression should great for our case

Hello @ScarletKuro It is not the need to use it with System.Linq.Dynamic.Core but find a way to forward the filtering to the backend API and have an easier implementation of generic filtering. I managed to somehow get it done by using the GenerateFilterExpression of the FilterDefinition to get the expression, then serialize it with Serialize.Linq, and deserialize it server side and pass it down to EF Core and it worked!!
Is there any plan to not remove the GenerateFilterExpression in the upcoming releases and let us customize it because as it is mentioned in #7057 EF Core do not work with StringComparison.
So, adding a parameter to FilterOptions to ignore the comparisonType and not removing the GenerateFilterExpression should great for our case.
I would be more than happy to create a PR

In the upcoming release of MudBlazor (which is scheduled to arrive soon), you will have the opportunity to create your own IFilterDefinition that is compatible with EF. This feature is made possible by the following two pull requests: https://github.com/MudBlazor/MudBlazor/pull/7057 and https://github.com/MudBlazor/MudBlazor/pull/6848.
To utilize this functionality, you simply need to invoke the following API: mudDataGridRef.SetDefaultFilterDefinition<YourOwnFilterDefinition<DataType>>(), or alternatively, mudDataGridRef.SetDefaultFilterDefinition(() => new YourOwnFilterDefinition<DataType>()). Once this is done, the DataGrid will employ your custom implementation instead of the default one provided by us.
Furthermore, all other APIs now also accept IFilterDefinition, such as AddFilterAsync, allowing you to seamlessly integrate your custom filter definitions.

I managed to somehow get it done by using the GenerateFilterExpression of the FilterDefinition to get the expression, then serialize it with Serialize.Linq, and deserialize it server side and pass it down to EF Core and it worked

Could you please show me an example of the code? I would like to understand how you modified it and how you pass it back to the DataGrid component. It's just sounds a bit hacky to me.

If the GenerateFilterExpression will stay public and only add a new filter option to not use StringComparison all the rest will work as expected.
Let's assume we have the following entity and dto
public class MyEntity
{
   public long Id { get; set; }
   public string Name { get; set; } = null!;
}

public class MyEntityDto
{
   public long Id { get; set; }
   public string Name { get; set; } = null!;
}

public class ListMyEntityDto
{
   public List<string> Filters { get; set; } = new();
}

Now define a MudDataGrid<MyEntityDto> and inside the ServerData do the following
var listEntityRequest = new ListMyEntityDto();
if (state.FilterDefinitions.Count > 0)
{
   var linqSerializer = new Serialize.Linq.Serializers.ExpressionSerializer(new Serialize.Linq.Serializers.JsonSerializer());
   var filterExpressions = state.FilterDefinitions
       .Cast<FilterDefinition<MyEntityDto>>()
       .Select(x => x.GenerateFilterExpression())
       .Select(x => linqSerializer.SerializeText(x))
       .ToList();

   listEntityRequest.Filters = filterExpressions;
}

// await ExecuteRequest.....

In the Backend we add the following code:
var query = DataContext.MyEntity.AsQueryable();
if (request.Filters is not null && request.Filters.Any())
{
    var linqSerializer = new Serialize.Linq.Serializers.ExpressionSerializer(new Serialize.Linq.Serializers.JsonSerializer());
    var expressions = options.Filter
        .Select(x => linqSerializer.DeserializeText(x))
        .ToList();

    foreach (var expression in expressions)
    {
        if (expression is Expression<Func<MyEntityDto, bool>> whereExpression)
        {
            query = query.Where(whereExpression);
        }
    }
}

return await query.ToListAsync();

Also to copy paste the FilterDefinition, the Column?.PropertyType must be public instead of protected internal

Ah, I overlooked that Column?.PropertyType is internally protected.
However, there is currently a workaround available. The IFilterDefinition interface provides a default implementation: FieldType FieldType => FieldType.Identify(Column?.PropertyType);. To access this default implementation within a class that implements IFilterDefinition, you'll need to perform a cast like this: ((IFilterDefinition<T>)this).FieldType.InnerType and you will have the property column type.

Now define a MudDataGrid<MyEntityDto> and inside the ServerData do the following
var listEntityRequest = new ListMyEntityDto();
if (state.FilterDefinitions.Count > 0)
{
   var linqSerializer = new Serialize.Linq.Serializers.ExpressionSerializer(new Serialize.Linq.Serializers.JsonSerializer());
   var filterExpressions = state.FilterDefinitions
       .Cast<FilterDefinition<MyEntityDto>>()
       .Select(x => x.GenerateFilterExpression())
       .Select(x => linqSerializer.SerializeText(x))
       .ToList();

   listEntityRequest.Filters = filterExpressions;
}

// await ExecuteRequest.....

Thank you for the example. now I understand how it's being used. However, my opinion remains unchanged. I still believe that previously exposed GenerateFilterExpression method within the FilterDefinition class was a problem with encapsulation. In scenarios involving IFilterDefinition, there might be cases where users don't require an Expression and simply want to implement a straightforward custom Func that's why I preferred only to expose GenerateFilterFunction.
In my view, it would be more appropriate to move the GenerateFilterExpression method to a public utility class, such as FilterExpressionGenerator. This utility class can accept an IFilterDefinition and use the provided information to construct the expression. What are your thoughts, would that also work for you?"

filter option to not use StringComparison all the rest will work as expected.

Are you certain that StringComparison is the sole obstacle preventing the expressions from functioning correctly in EF? If you could provide a sample project (unfortunately, I am currently short on time to create one myself) that includes EF and the MudDataGrid, I would be able to internally test whether it does indeed work. If I can verify its effectiveness, I can then discuss with the team about the possibility of implementing an feature to opt out of StringComparison in the FilterOption.

First of all thank you @ScarletKuro for the immediate feedback!

In my view, it would be more appropriate to move the GenerateFilterExpression method to a public utility class, such as FilterExpressionGenerator. This utility class can accept an IFilterDefinition and use the provided information to construct the expression. What are your thoughts, would that also work for you?"

Yes that would do the trick!
I have a reproduction repository here. Just run docker-compose up --build and go to http://localhost:5000/fetchdata and try to add a filter to the FirstName. If you open the browser console you will see the detailed error about the translation error.
So I think it should be mandatory to add a new option to the FilterOption to ignore the StringComparison

Hello again @ScarletKuro. I have created this PR https://github.com/MudBlazor/MudBlazor/pull/7109 to address this issue.


JWT Access Token speck is old

should we be pointing at 10?
https://datatracker.ietf.org/doc/html/draft-ietf-oauth-access-token-jwt-10

@msmock ?

Will be solved with CP-ITI-1288.


Test by disabling the suspected culprit

Changes in this PR

a bug has been introduced into the test suite that is impeding other specs
this spec has been temporarily disabled to allow work to continue


LynxKite broken in Chrome 90

The popups won't appear due to this change in third_party/blink/renderer/core/html/resources/html.css:
https://github.com/chromium/chromium/commit/2024c426de3346666cb45f9c65ad9dec2246be99
popup:not(:-internal-popup-open) {
    display: none !important;
}

We have a popup element. It's unrelated to Chrome's popups, but it's still affected by this rule, and gets hidden.
That's an unexpected risk factor! I guess migrating off Angular.js would protect against this, but maybe there is something less invasive?
Anyway, we've got to make a quick fix for now.

https://www.webcomponents.org/community/articles/how-should-i-name-my-element says we should always have a dash in the directive name. (Directives are implemented as custom elements.) That would have worked here for sure.


WPT test warning after all runs

In local and CI runs we get the following error:
0:00.05 WARNING Falling back to getting metadata update properties from wptrunner browser product file, this will be removedTraceback (most recent call last):  File "/usr/local/google/home/nvitkov/bidi/wpt/wpt", line 10, in <module>    wpt.main()  File "/usr/local/google/home/nvitkov/bidi/wpt/tools/wpt/wpt.py", line 233, in main    rv = script(*args, **kwargs)         ^^^^^^^^^^^^^^^^^^^^^^^  File "/usr/local/google/home/nvitkov/bidi/wpt/tools/wpt/update.py", line 44, in update_expectations    update_properties = metadata.get_properties(properties_file=kwargs["properties_file"],                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^  File "/usr/local/google/home/nvitkov/bidi/wpt/tools/wptrunner/wptrunner/metadata.py", line 107, in get_properties    properties, dependents = products.load_product_update(config, product)                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^  File "/usr/local/google/home/nvitkov/bidi/wpt/tools/wptrunner/wptrunner/products.py", line 54, in load_product_update    module = product_module(config, product)             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^  File "/usr/local/google/home/nvitkov/bidi/wpt/tools/wptrunner/wptrunner/products.py", line 9, in product_module    raise ValueError("Unknown product %s" % product)

Most likely there was a WPT infra change related to metadata, that could explain why our auto-update expectations have not been working lately.

Possibly related: https://github.com/web-platform-tests/wpt/issues/41184

Yup, this is the same as the issue above.
"product" is deprecated: https://github.com/web-platform-tests/wpt/blame/49d6aa17ff973bd570aec96f322b145b47977360/tools/wptrunner/wptrunner/metadata.py#L4
So we should remove --product chrome from our script.
That said, when we do it, we hit the same error as gsnedders@ in the bug above.

Possible culprit: https://github.com/web-platform-tests/wpt/commit/64082e7b0d5f34648dd227b14de68966ba1943aa

@foolip: Do you know how this issue could be resolved?

@thiagowfx I'm not familiar with the changes that caused this breakage, so I don't know off hand. But feel free to ping me if you try to debug this and can't work out how to fix it.

Closing as not an issue on our end, and I can't repo any more.


Add encoding/decoding of bit array to string

Fixes https://github.com/swiing/Bit-TypedArray/issues/5
Added general functions for encoding/decoding with appropriate documentation and tests; added 2 helper pairs for commonly used variants of base64 encoding.

@swiing For the decode/encode, don't you think this naming is a bit too generic? Like if I have import { encode, decode } from 'BitArray', it's very uncertain looking at this what these functions might do; similarly it could be unclear if you saw them in code. You can look at the help text of course, but it seems better to me if you can understand the code just by reading it, when possible.
Including the functions as members of BitArray provide more information to the reader; the static version kinda matches the interface of from(...) and of(...). Removing the 'WithCharacterSet' suffix makes sense as it's understood in context, but  curious to hear your thoughts on the function scope before pushing the change.

that leaves the issue of reconstructing a BitArray as a view on an ArrayBuffer

Indeed, it has little to do with ArrayBuffers  :grinning:
Neverminds, it addresses another issue (or at least it adds a feature) :thumbsup:


Delete lessons from user and contacts

Codecov Report

Merging #93 (da76637) into master (21a5593) will decrease coverage by 2.11%.
The diff coverage is 0.00%.

 Learn more


python310Packages.vt-py: 0.17.3 -> 0.17.4

Diff: https://github.com/VirusTotal/vt-py/compare/refs/tags/0.17.3...0.17.4
Changelog: https://github.com/VirusTotal/vt-py/releases/tag//0.17.4
Description of changes

Things done

Built on platform(s)

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

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

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

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

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[ ] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 213923 run on x86_64-linux 1

1 package failed to build:

ioccheck

2 packages built:

python310Packages.vt-py
python311Packages.vt-py

ioccheck is already broken.


permission denied after update shopware <IP_ADDRESS>

PHP Version
8.3
Shopware Version
<IP_ADDRESS>
Plugin Version
2.1.2
Actual behaviour
After updating shopware to <IP_ADDRESS>, i get an error as:
Uncaught PHP Exception Symfony\Component\Process\Exception\ProcessStartFailedException: "The command "'du' '-s' '/..../staging1/var/cache/dev_hf58137c4d7d70c1d186f7d854e39f295'" failed. Working directory: /...../staging1/public Error: proc_open(): posix_spawn() failed: Permission denied" at Process.php line 371 {"exception":"[object] (Symfony\Component\Process\Exception\ProcessStartFailedException(code: 0): The command "'du' '-s' '/..../staging1/var/cache/dev_hf58137c4d7d70c1d186f7d854e39f295'" failed.\n\nWorking directory: /..../staging1/public\n\nError: proc_open(): posix_spawn() failed: Permission denied at /....../staging1/vendor/symfony/process/Process.php:371)"} []
This is the result:

With <IP_ADDRESS> it works without issues. For me it seems there was a change in the core and calling the function disk usage gets the "permission denied".
Expected behaviour
Normal usage with function disk usage
Steps to Reproduce?
Update from shopware <IP_ADDRESS> to <IP_ADDRESS>

Hi @chrimaluxe
I've transferred your issue to the FroshTools-Repo, while it doesn't match to MailArchive, does it?
It looks like you have some mixed permissions within the cache-folder. Could you please remove it manually?

Hi @tinect
Yes, FroshTools-Repo is correct, sorry.
I have removed the cache folder and after restart, it was created again, but with the same result, permission denied. The main cache folder has 777 rights. But within the folder, there are some additional folders and files with different permissions, Looks like that:

But when i check with a <IP_ADDRESS> installation, the permissions within the cache folder are the same. But <IP_ADDRESS> is working, <IP_ADDRESS> not.

Here is a comment, that i was told by a friend:
Es wurde bei Symfony der Code für Systemaufrufe in letzter Zeit mehrfach überarbeitet, früher wurde keine Exception "geworfen", jetzt schon und im FroshTool wird das nicht abgefangen, was es (inzwischen) eigentlich müsste, sonst passiert genau das, was jetzt passiert.

thank you, then please just allow the execution.

I don't know how I could do that. Even if I give the entire folder 777 rights, it doesn't work. That's all I can do here. The problem may be due to different users calling the individual scripts. However, only a user who has his own server can check this. Anyone who uses a hoster has no influence here and can only set the user rights to 777.
Perfect, when you check this. Thanks!

If files are generated with the wrong user, there might be additional issues with your installation beyond the processes being used. You should address this in your setup. Catching process usage won't fix permission problems, and using 777 is not a solution for anything.
You will understand that we cannot support every configuration of setups with hosting providers.
Therefore, I will close this ticket for now. Please have someone with DevOps and possibly Symfony experience review your setup and especially the hosting provider.


compile tink cpp library for ios

I am uploading the encrypted file to Google Drive from the Android app using Streaming AEAD and the same file downloading in the iOS app. Tink Streaming AEAD encryption/decryption works fine in Android, but now I want to do the same thing in iOS too.
As per Streaming AEAD is not supported by the objective-c tink library.
So I would like to integrate the cpp library with Xcode to use the Streaming AEAD encryption/decryption function in my swift code.
I followed lots of documents but I am not able to figure out how to link the cpp library with Xcode.
If anyone has an idea please let me answer briefly in the comment.
An example will be more appreciated.
@chuckx  @thaidn @jclinton @kant @divegeek @theory

Please have a look at https://github.com/google/tink/issues/632#issuecomment-1876672949 which may help you with this

@morambro It is also my question. I posted again because of did not get any appropriate answer.
Still, I looking for brief answer. If you have any ideas regarding the question.
I think if objective-c library will support  Streaming AEAD functionalities then it will be more appreciable.

Please follow-up in https://github.com/google/tink/issues/632 if you have more questions/concerns.


Added 2 new build stages

"Broken" happens when the build fails after previously being successful
"Fixed" happens when the build succeeds after having previously failed
Clean up of #1081

Does the build class need to be updated with these two new statuses as well? Wondering if that's causing a disconnect for other plugins, like the Slack notification plugin.
class Build extends BuildBase
{
    const STATUS_NEW = 0;
    const STATUS_RUNNING = 1;
    const STATUS_SUCCESS = 2;
    const STATUS_FAILED = 3;

It doesn't actually have the status of the build, the build is still either STATUS_FAILED or STATUS_SUCCESS, it is just that it checks when the build finishes whether or not the previous build was the opposite result and if so runs the options defined

^^ What he said.

Thanks :) that's what I thought as well, just found it strange that the Slack issue was raised today right after this update. :) (Was thinking there might be a connection.) I haven't had issues with slack notifications either. Working fine for me.


Warning: Could not retrieve version/homepage information: HTTP Error 301: Moved Permanently

I am unable to use dts-gen as it complains about an HTTP 301.
The error message is Warning: Could not retrieve version/homepage information: HTTP Error 301: Moved Permanently for http://registry.npmjs.org/get-github-user.

This may be fixed by #174


Fix!: fix bigquery nested types

What do you think about writing some tests against dtype_to_sql? Cover some common primitives, array, struct, and then nested struct/array.

problem is that it takes in bigquery types


Assignment 2 of Udacity course

Lecture one covers logistic regression and stochastic gradient descent. Assignment 2, assignment of this lecture, requests students to implement a neural network which is covered in later chapter.
I suggest the question should be related to the topic of lecture.

Thanks for pointing it out!
The first part of Assignment 2 (code provided) is relevant immediately after SGD in L1, but the stated problem requires knowledge of ReLUs and the ability to create a multi-layer network. So Assignment 2 has been moved to right after Backprop in L2, and just before discussing deeper networks.


error: no matching package named crc found

My Cargo.toml is
[package]
name = "suricata"
version = "4.1.0-dev"

[lib]
crate-type = ["staticlib"]

[profile.release]
debug = true

[features]
lua = []
experimental = ["ntp-parser"]
strict = []
debug = []

[dependencies]
nom = "~3.2.1"
libc = "^0.2.36"
crc = "~1.7.0"

ntp-parser = { version = "^0", optional = true }

and after run cargo build, i got:
error: no matching package named `crc` found (required by `suricata`)
location searched: registry https://github.com/rust-lang/crates.io-index
version required: ~1.7.0

I am new to rust, so can anybody help me?
Thanks a lot,
Kris

Thanks for the report! This works locally for me (suspicious!) so I wonder, do you have a proxy and/or cargo configuration (something in .cargo/config somewhere) for a source replacement or otherwise configuration of the registry?

Thanks alexcrichton, it's a network issue, it's very slow to download the index from github in China, so I updated the .cargo/config and use a mirror site, now it's work.
Thanks again,
Kris

@zhangqunshi  can you give more details how this be solved?

how this be solved?
git://mirrors.ustc.edu.cn/crates.io-index


[Question]

Question ❓
I have an error when running the DRL usage example, both the python script and the notebook example.
The error occurs at the line
model = DQN('MlpPolicy', env, verbose=1)
I provided the file showing the error, it's basically :
AssertionError: The algorithm only supports (<class 'gym.spaces.discrete.Discrete'>,) as action spaces but Discrete(10) was provided.
I wondered if someone encountered this issue and how to solve it ?
Additional context
drl.md

Add any other context about the question here.
I found a similar issue here : https://stackoverflow.com/questions/75108957/assertionerror-the-algorithm-only-supports-class-gym-spaces-box-box-as-acti
But I could not find a way to make it work with the solutions they proposed.
Checklist

[ ] I have read the documentation (required)
[ ] I have checked that there is no similar issue in the repo (required)

:pencil: Please, don't forget to include more labels besides question if it is necessary.

Hi @Theophile11!
Can you told me more information about your workspace?
Describe the characteristic of your environment:

Describe how Sinergym was installed: (pip, docker, source, ...)
Sinergym Version: (e.g. 2.3.0)
OS: (Ubuntu 22.04 LTS,Dockerfile,...)
Python version (3.10)
Gymnasium version:
Versions of SB3:

If you are using our container you don't need to give us that information. I will take a look to see if we have a problem in the tool. Thank you so much for your report.

Hi @Theophile11!
We have activated Stable Baselines 3 tests in this hotfix (these tests were deactivated due to the fact that Stable Baselines 3 was adapting to gymnasium API). We have passed tests correctly, try to run tests and maybe it gives you information about what is wrong.


Virtual Wan point to site feature redesign

Latest improvements:
MSFT employees can try out our new experience at OpenAPI Hub  - one location for using our validation tools and finding your workflow.

Contribution checklist:

[x] I have reviewed the documentation for the workflow.
[ ] Validation tools were run on swagger spec(s) and have all been fixed in this PR.
[ ] The OpenAPI Hub was used for checking validation status and next steps.

ARM API Review Checklist

[x] Service team MUST add the "WaitForARMFeedback" label if the management plane API changes fall into one of the below categories.
adding/removing APIs.
adding/removing properties.
adding/removing API-version.
adding a new service in Azure.

Failure to comply may result in delays for manifest application. Note this does not apply to data plane APIs.

[ ] If you are blocked on ARM review and want to get the PR merged urgently, please get the ARM oncall for reviews (RP Manifest Approvers team under Azure Resource Manager service) from IcM and reach out to them.
Please follow the link to find more details on API review process.

Automation for azure-sdk-for-python

VpnServerConfiguration resource APIs were already reviewed as a part of past PR:- https://github.com/Azure/azure-rest-api-specs/pull/6644

Can one of the admins verify this patch?

Automation for azure-sdk-for-go

This looks like breaking change.
cc: @MikhailTryakhov

@majastrz please review this from ARM's side

API version in the following examples is wrong
P2SVpnGatewayGetConnectionHealthDetailed.json
VpnServerConfigurationDelete.json
VpnServerConfigurationGet.json
VpnServerConfigurationList.json
VpnServerConfigurationListByResourceGroup.json
VpnServerConfigurationPut.json
VpnServerConfigurationUpdateTags.json

Done.

@mentat9 is added to the review. #Closed

@majastrz Incorporated  review comments, Please take a look. Thanks!

There's an issue with the default error response schema. I added a comment.

Fixed it.

Looks good now.

In reply to: 533361590 [](ancestors = 533361590)

@number213 Build is passed. Can you help merge the changes?

@tjprescott could you please merge this PR?


 The setting changed to MONGO_URI recently..

I don't understand how to set the MONGO_URI. Can you give me a deploy documentation of the alerta master step-by-step .Thank you very much .

http://docs.alerta.io/en/latest/configuration.html#mongodb-settings
log in to https://gitter.im/alerta/chat and i'll walk you thru it.

AUTH_REQUIRED = False
PLUGINS = ['reject']
ALLOWED_ENVIRONMENTS = ['Production', 'Development']  # reject alerts without allowed environments
MONGO_URI = 'mongodb://localhost:27017/monitoring'
MONGO_DATABASE = 'monitoring'
I still can't login

You don't even have authentication enabled so the issue has nothing to do with logins. See above ...
AUTH_REQUIRED = False

I suspect it is to do with CORS... http://alerta.readthedocs.io/en/latest/faq.html#why-can-t-i-see-any-alerts-in-the-web-browser
Do you see any errors in the Javascript console of your browser?

Thanks for your kind help,I really don't know how to set (alertad.conf and config.js). Now  I can up alerta-server ,but  at the alerta-client point ,I have seen nothing. How to set Web UI and make the alerts show out on the Web.
Thank you so much for me .

Please join https://gitter.im/alerta/chat if you want me to help you troubleshoot this.


🐞 /auth endpoint renders an empty page

This should either show PageNotFound or redirect to login/signup.

Closed by #612


Error while npm run build or yarn build

Describe the bug
The lowest version of nodejs may not be 12.0.0
Reproduction

npm init vite@latest test-project --template vue-ts
npm i
npm run build

notice: This issue was resolved when I upgraded Node to 16.13.0, but the official website shows

System Info
System:
    OS: Windows 7 6.1.7601
    CPU: (24) x64 Intel(R) Xeon(R) CPU           X5670  @ 2.93GHz
    Memory: 24.51 GB / 31.98 GB
  Binaries:
    Node: 12.22.7 - D:\Programs\nodejs\node.EXE
    Yarn: 1.22.17 - D:\Programs\nodejs\yarn.CMD
    npm: 6.14.15 - D:\Programs\nodejs\npm.CMD
  Browsers:
    Chrome: 92.0.4515.107
    Internet Explorer: 11.0.9600.19597

Used Package Manager
npm
Logs
No response
Validations

[X] Follow our Code of Conduct
[X] Read the Contributing Guidelines.
[X] Read the docs.
[X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
[X] Make sure this is a Vite issue and not a framework-specific issue. For example, if it's a Vue SFC related bug, it should likely be reported to https://github.com/vuejs/vue-next instead.
[X] Check that this is a concrete bug. For Q&A open a GitHub Discussion or join our Discord Chat Server.
[X] The provided reproduction is a minimal reproducible example of the bug.

The documentation is now updated.


Silence Xcode 'Conversion to Swift 4.2 is available' warning

Issue Info

Info
Value

Platform
ios

Platform Version
9.0

SnapKit Version
4.0.1

Integration Method
cocoapods

xcode
10

Issue Description
Silence Xcode 'Conversion to Swift 4.2 is available' warning

@jessecoding this is fixed in develop and will release a new version in the next 1-2 weeks

@robertjpayne although I am pointing to the develop branch in my current project but the warning wont disappear
Platform : ios
SnapKit Version: 4.0.1
xcode: 10.0
Swift: 4.2
Integration Method: pod 'SnapKit', :git => 'git@github.com:SnapKit/SnapKit.git', branch: 'develop'

@robertjpayne please take a look at my PR #551


A file can become orphnaed when cloning a record with unique constraints

Hello,
We are experiencing an issue with a table that contains two fields:

name (type: varchar) with a unique constraint
file (type: file)

Here is the sequence of actions leading to the issue:

We create a new record with name set as "bbb" and attach a file to it.
We then attempt to duplicate this record by uploading a new file while keeping the name field unchanged.

As expected, we receive an error due to the unique constraint on the name field. However, the file upload still proceeds before the constraint validation takes place, resulting in the uploaded file being stored even though the record itself is rejected. This leaves us with an uploaded file that belongs to a non-existent record and requires manual deletion.
Suggested Solution:
We believe this behaviour could be improved if the file upload is only executed after validating all field constraints, thereby ensuring no orphaned files are left in the system.

This is already fixed in v0.23.0-rc (it is in the develop branch). I'll consider backporting it to v0.22 sometime later this week.

I've pushed a fix in master and it will be available with the next minor v0.22.24 release later this week.


Fix implicit fallthrough in array inference.

Without these returns, these switches fail to compile on a Debian system with gcc 7.2.0 because of -Werror=implicit-fallthrough.  I didn't spend any time scrutinizing this part of the code to determine if the fallthroughs were intentional, and it's possible that there's something strange about my setup that causes this to be a problem, but I figured the best course of action was just to open a PR and see what happens.
I don't think it makes a difference, but the command I used to build was:
make config=release prefix=$HOME/lib/pony all install

Awesome catch. Thanks @tokenrove!

Excellent! Thanks for fixing this bug.

Thanks!


How to move the Modules folder under App?

Hi guys,
I am using Laravel 8.49.2 version. My goal is to have all Modules under App folder.
Here it is how my composer.json looks like:
    "autoload": {
        "psr-4": {
            "App\\": "app/",
			"Modules\\": "app/Modules/",
            "Database\\Factories\\": "database/factories/",
            "Database\\Seeders\\": "database/seeders/"
        }
    },

and here is some part of the config/modules.php:
'namespace' => 'App\Modules',
'paths' => [
        'modules' => 'app/Modules',
        ....
]

By calling artisan it works fine, unfortunately, the routes and the views don't work. I have placed the route in the default web.php and then I can open the URL, but then it cannot find the view. It comes to the following error:
No hint path defined for [publication].
What I am doing wrong?

Maybe your problem is with service provider of module
add module service provider to the main list maybe it work!

Maybe your problem is with service provider of module add module service provider to the main list maybe it work!

Do you mean to include my module service provider in the config/app.php? I did that, but then i got this error: "Call to a member function getPath() on null"

Maybe laravel can't find or load those classes
I suggest check your autoload and try to run
composer dump-autoload
it is hard to figure out the problem without source code and more details!

Actually there is an easy way to do that just public configuration of the package(Laravel-modular) and
in my case it is in line 73
modules' => base_path('Modules')
as you can see this is the path you can edit and customize it.

Thank you @luckyboy1001 it was the base_path()
I dont know why i have removed it, but that was causing the problem :)


Hierarchical Multiple Instance Learning | Tomas Pevny | JuliaCon 2021

Video link: https://www.youtube.com/watch?v=Bf0CvltIDbE
0:08 Introduction and Motivation
1:07 Possible solutions to the deviceID problem
2:52 HMIL approach
6:32 Comparison to SOTA
7:20 Theoretical guarantees
8:29 Mill.jl: node types
9:11 Mill.jl: representing leafs
10:58 Mill.jl: representing dicts
11:59 Mill.jl: representing arrays
13:19 Mill.jl: working with the whole sample
14:26 Mill.jl: training a model with JsonGrinder.jl and Flux.jl
19:58 Summary

Woohoo, added!