deploy: update CSI sidecars to latest versions available

Describe what this PR does
Below sidecars are updated with latest available versions
csi-node-driver-registrar: v2.10.1
csi-resizer: v1.11.1
csi-provisioner: v5.0.1
csi-attacher: v4.6.1
csi-snapshotter: v8.0.1
Closes: #4632
Checklist:

[x] Commit Message Formatting: Commit titles and messages follow guidelines in the developer guide.
[x] Reviewed the developer guide on Submitting a Pull Request
[x] Pending release notes updated with breaking and/or notable changes for the next major release.
[x] Documentation has been updated, if necessary.
[x] Unit tests have been added, if necessary.
[x] Integration tests have been added, if necessary.

Show available bot commands
These commands are normally not required, but in case of issues, leave any of
the following bot commands in an otherwise empty comment in this PR:

/retest ci/centos/<job-name>: retest the <job-name> after unrelated
failure (please report the failure too!)

@iPraveenParihar rebase this PR?

@iPraveenParihar rebase this PR?

yea, once this is merged https://github.com/ceph/ceph-csi/pull/4658.

@Mergifyio rebase

/test ci/centos/mini-e2e/k8s-1.30

failed at

Trying to pull registry.k8s.io/sig-storage/csi-node-driver-registrar:v2.11.0...

Error: initializing source docker://registry.k8s.io/sig-storage/csi-node-driver-registrar:v2.11.0: reading manifest v2.11.0 in registry.k8s.io/sig-storage/csi-node-driver-registrar: manifest unknown: Failed to fetch "v2.11.0"

https://github.com/kubernetes-csi/node-driver-registrar/issues/415

failed at

Trying to pull registry.k8s.io/sig-storage/csi-node-driver-registrar:v2.11.0...

Error: initializing source docker://registry.k8s.io/sig-storage/csi-node-driver-registrar:v2.11.0: reading manifest v2.11.0 in registry.k8s.io/sig-storage/csi-node-driver-registrar: manifest unknown: Failed to fetch "v2.11.0"

kubernetes-csi/node-driver-registrar#415

@iPraveenParihar lets update other except this one.

@iPraveenParihar lets update other except this one.

using last working tag: v2.10.1

@Mergifyio queue

/retest ci/centos/k8s-e2e-external-storage/1.27

/retest ci/centos/k8s-e2e-external-storage/1.28

/retest ci/centos/k8s-e2e-external-storage/1.29

/retest ci/centos/k8s-e2e-external-storage/1.30

/retest ci/centos/mini-e2e-helm/k8s-1.27

/retest ci/centos/mini-e2e-helm/k8s-1.28

/retest ci/centos/mini-e2e-helm/k8s-1.29

/retest ci/centos/mini-e2e-helm/k8s-1.30

/retest ci/centos/mini-e2e/k8s-1.30

@mergifyio rebase

@mergifyio queue

ci/centos/mini-e2e-helm/k8s-1.27 had a timeout while creating the 1st CephFS PV, please have a look at the logs and see if you can identify a reason for it (logs)

/test ci/centos/mini-e2e-helm/k8s-1.27

/test ci/centos/mini-e2e-helm/k8s-1.27

/test ci/centos/mini-e2e-helm/k8s-1.28

@Mergifyio refresh

@Mergifyio rebase

/test ci/centos/mini-e2e-helm/k8s-1.28

@mergifyio rebase

/test ci/centos/mini-e2e-helm/k8s-1.30

/test ci/centos/mini-e2e/k8s-1.30

/test ci/centos/mini-e2e-helm/k8s-1.30

@mergifyio rebase

@Mergifyio rebase

@Mergifyio queue


HivePath -> add FlakeFragment(Flake, Fragment)

#[derive(Debug)]
pub enum HivePath {
     /// A regular .nix file
     Legacy(PathBuf),

     /// A flake + fragment (`colmena` output  only being the default fragment if no fragment supplied)
     FlakeFragment(Flake, Fragment),
}

Provides the capability to use colmena seamlessly outside of the assumption of a standard flake schema, based on the acknowledgement that the current output schema is deficient.
See  this discussion argument: https://discourse.nixos.org/t/hello-std-the-nix-flake-framework-for-perfectionists-with-deadlines/18831/5

That is indeed a non-requirement once eval.nix itself is swappable.


Troubleshoot the Azure Monitor agent on Windows Arc-enabled server - Missing Data Sources

There should be sections for Custom JSON and Text Log collection.

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

ID: dd8bd9ad-2e6c-0da1-ab37-57c9b0e7fe4c
Version Independent ID: 3488e649-f82d-ec1d-342d-552179f2ad9c
Content: Troubleshoot the Azure Monitor agent on Windows Arc-enabled server - Azure Monitor
Content Source: articles/azure-monitor/agents/azure-monitor-agent-troubleshoot-windows-arc.md
Service: azure-monitor
Sub-service: agents
GitHub Login: @guywi-ms
Microsoft Alias: guywild

@Viajaz Thanks for your comment! We will review and provide an update as appropriate.

https://learn.microsoft.com/en-us/azure/azure-monitor/agents/data-collection-text-log?tabs=portal#troubleshoot

Thanks for your dedication to our documentation. This issue has been moved to an internal work item for triage and prioritization. Thanks in advance for your understanding as we investigate to provide the most accurate documentation updates. #please-close
Internal work item: User Story 217627: GitHub issue 119735
Our support team is available to assist you if you have any pressing questions or problems that need to be resolved. You can create a support ticket by visiting the following link: https://azure.microsoft.com/support/create-ticket/


How to split traffic in pox controller between ports at switch

Hi,
We are trying to develop a load balancer in pox controller, after evaluating statistics at traffic shaping (TS)  nodes, we want to split the traffic at the switch between two ports
After researching through the pox controller examples, we were not able to find an example which splits the incoming traffic, based on percentage or evenly.
Can someone help direct us ?
Thanks,

Hi Athyagat,
did you get what you were doing? i am asking this because i am trying the same thing and i am also lost. if you have done it already, can you please share your findings?

Hi Zafar,
No. We had to change our problem statement, since I didn't find any
solutions for it.
Thanks,
Akhilesh
On Aug 28, 2015 12:16 PM, "ZafarHussain88"<EMAIL_ADDRESS>wrote:

Hi Athyagat,
did you get what you were doing? i am asking this because i am trying the
same thing and i am also lost. if you have done it already, can you please
share your findings?
—
Reply to this email directly or view it on GitHub
https://github.com/noxrepo/pox/issues/141#issuecomment-135863977.

Hello there
I have developed a traffic steering systems, based on link utilisation, my controller will instruct the switch to steer a specific Vlan to another port based on threshold value. Now I am building an algorithm of a load balance to kick in after the steering is done.


[Secure Boot V2] Unable to flash signed App binary after flashing signed bootloader. (IDFGH-10705)

Answers checklist.

[X] I have read the documentation ESP-IDF Programming Guide and the issue is not addressed there.
[X] I have updated my IDF branch (master or release) to the latest version and checked that the issue is present there.
[X] I have searched the issue tracker for a similar issue and not found a similar issue.

General issue report
Question:
How can I enable Secure Boot V2 and be able to flash a signed bootloader AND a signed app binary on an ESP32-S3 (N8R8) chip?
Context:
I am trying to configure Secure Boot V2 on my ESP32-S3 (N8R8) chip. I followed the steps mentioned in the documentation i.e.:

Checking the box for Enable hardware Secure Boot in bootloader in Menuconfig -> App Signing Scheme
Selecting Enable Secure Boot version 2 in Menuconfig -> Select secure boot version
Specifying the path to my signing key (ECDSA private key)
Selecting Permanently switch to Secure mode in Menuconfig -> UART ROM download mode
Building the signed app binary, OTA, and partition table with idf.py build
Building the signed bootloader with idf.py bootloader
Flashing the signed bootloader with idf.py bootloader-flash

Everything works until this point. The problem arises when I try to flash the app binary, partition table and OTA using idf.py flash.
I get the following error logs when I run idf.py flash:
esptool esp32s3 -p /dev/ttyUSB0 -b 460800 --before=default_reset --after=no_reset --no-stub write_flash --flash_mode dio --flash_freq 80m --flash_size keep 0x100000 embed-reader-firmware-2.bin 0x10000 partition_table/partition-table.bin 0x11000 ota_data_initial.bin
esptool.py v4.5.1
Serial port /dev/ttyUSB0
Connecting....
Chip is ESP32-S3 (revision v0.1)
Features: WiFi, BLE
Crystal is 40MHz
MAC: f4:12:fa:df:30:10
Changing baud rate to 460800
Changed.
Enabling default SPI flash mode...
Configuring flash size...
Flash will be erased from 0x00100000 to 0x00280fff...
Flash will be erased from 0x00010000 to 0x00010fff...
Flash will be erased from 0x00011000 to 0x00012fff...
Erasing flash...

A fatal error occurred: Failed to enter Flash download mode (result was 01060000: Operation or feature not supported)
CMake Error at run_serial_tool.cmake:55 (message):

  /home/****/.espressif/python_env/idf5.0_py3.10_env/bin/python;;/home/****/esp/esp-idf/components/esptool_py/esptool/esptool.py;--chip;esp32s3
  failed

I have also tried manually entering the command with the --force option but I get the same output as above.
Have I missed a step in configuring Secure Boot V2?

@robokrishan
Please try replacing --flash_size keep with the specific flash capacity on your dev board (e.g., --flash_size 4MB) and that should fix this issue. Please see prior discussion on this topic here https://github.com/espressif/esp-idf/issues/10959#issuecomment-1519369823


can't display any charater!!!

mac high sierra 10.13.3
key can't display any character  when i use it, need help!!!!!!!!

press "command + shift + 4" to get screenshot, but not display "4"

I got the same situation in Catalina.

Same Issue here Big Sur 11.5.2

Same issue (only modifier keys) on Mojave 10.14.6

Any updates now?

Same question... I don't know why my previous question was closed when it wasn't working either


Add OrcSchemaConversionValidator

Dear Gobblin maintainers,
Please accept this PR. I understand that it will not be reviewed until I have checked off all the steps below!
JIRA

[ ] My PR addresses the following Gobblin JIRA issues and references them in the PR title. For example, "[GOBBLIN-XXX] My Gobblin PR"

https://issues.apache.org/jira/browse/GOBBLIN-XXX

Description

[ ] Here are some details about my PR, including screenshots (if applicable):

Tests

[ ] My PR adds the following unit tests OR does not need testing for this extremely good reason:

Commits

[ ] My commits all reference JIRA issues in their subject lines, and I have squashed multiple commits if they address the same issue. In addition, my commits follow the guidelines from "How to write a good git commit message":

Subject is separated from body by a blank line
Subject is limited to 50 characters
Subject does not end with a period
Subject uses the imperative mood ("add", not "adding")
Body wraps at 72 characters
Body explains "what" and "why", not "how"

Codecov Report

Merging #3794 (09f986a) into master (028b85f) will decrease coverage by 1.20%.
Report is 2 commits behind head on master.
The diff coverage is 50.00%.

@@             Coverage Diff              @@
##             master    #3794      +/-   ##
============================================
- Coverage     47.32%   46.12%   -1.20%
+ Complexity    10955     2181    -8774
============================================
  Files          2152      416    -1736
  Lines         85114    17968   -67146
  Branches       9451     2191    -7260
============================================
- Hits          40279     8288   -31991
+ Misses        41184     8796   -32388
+ Partials       3651      884    -2767

Files
Coverage Δ

...pache/gobblin/util/orc/AvroOrcSchemaConverter.java
56.86% <50.00%> (-1.48%)
:arrow_down:

... and 1742 files with indirect coverage changes
:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


Date Picker for dates way in the past like Birthdays

I tried using a Date Picker for specifying a Birthday, like:
                    FormBuilderDateTimePicker(
                      attribute: "birthday",
                      inputType: InputType.date,
                      format: DateFormat("MMM dd, yyyy"),
                      decoration: InputDecoration(
                          icon: Icon(Icons.cake),
                          labelText: "Birthday (optional)"),
                      validators: [FormBuilderValidators.date()],
                    ),

But the Date input seems to be designed more for choosing a date near today -- which a lot of use cases have.  However, when choosing a Birthday, you are likely needing to specify an OLD YEAR first, then the month, then the day...
Is there an alternative inputType that can be better suited for choosing past dates like a birthday?

I just discovered that I can add this:
                      initialDatePickerMode: DatePickerMode.year,

This will do.


Add bundle recipe

Add a bundle recipe for our image.

i think it is better to create a new phytec-esec-iotdm-image with only necessary parts. At the moment in the test image are e.g. the whole tpm2-tools and gnu-tools for the first integration implementation for provisioning and on boarding. In the minimal start sytem are only some tools necessary.
We have a little security lifecycle process with a additional and separate image for the start system, provisioning and update example image.
What do you mean?

I guess it makes sense to create a separated test and "production-ready" image. I would include the "production-ready" image in the test image then.

I now renamed the image and bundle to phytec-esec-test-(image|bundle) to make it unique and to avoid any future naming conflicts, because phytec-test-image may be too generic. A phytec-esec-iotdm-image for production-ready devices can be added later to only contain the needed software (without testing tools).


Support meal preference priority

In IRL, if a meal is unavailable, the user decides on their second choice. Many users will probably have a common fallback. We should support this by accepting a ranked preference of meals/restaurants. The retry logic will need to understand when a meal is sold out (vs. a http timeout) and to attempt to reserve the next choice.

As we go into more complex use cases like these, I think having some kind of more interactive user interface (e.g. web frontend) would be easier to use than through a CLI, i.e. something like an offline version of Mealpal's map interface. Images (crucial in choosing my preferences!) in particular will be wasted through CLI, especially if we want to list restaurants, meals, etc.
We can consider moving this v2 into a new project instead, which can support less technical users.

My opinion is for this tool to remain a CLI/scheduled task. The main use case is to automatically reserve a meal, so we don't need to remember to do so, especially if we know what we already want. Meal priority is for "error handling", listing meals( #7) are quality-of-life improvements to maintain our sanity (reading json blobs).
The UX you've suggesting starts to out-run the usefulness of the tool: you only need to use these extra features (very rarely) to initially setup preferences/scheduler. But probably very costly to set something slick up for non-technical user.

Good points, let's keep this CLI only then.


Add Vite build step to deploy script

Summary
Adds a step to the  handle-deploy-update.sh script in order to produce a new application bundle and process static assets upon its execution.

Merged this in @zach2825 if you have any reservations, then please holler.
This worked manually on stage and live to build the CSS and JS assets for the new HG Labs page, so that's why we added it to the deploy script.


filter cards not working

In GitLab by @lakhoune on Dec 31, 2020, 13:43

Location: carousel
Description: Filter is notworking. Even when selecting new filters, all cards seem to be displayed
Expected behaviour: cards should be filtered by tags
Steps to reproduce: Go to any lecture with more than one tag and then select a filter

In GitLab by @lakhoune on Jan 18, 2021, 18:18
seems to be fixed


(Refactor): Upgraded Docusaurus to v3

Summary of Changes
Upgraded Docusaurus to the latest veriosn 3.0.0, refer to: https://docusaurus.io/blog/releases/3.0
Related Issue
Closes #121
Checklist

[x] I have read and followed the project's contribution guidelines, including code style and commit message conventions.
[x] My code is well-documented, and I've updated relevant documentation.
[x] I have tested these changes on my local environment.
[x] All tests pass, and there are no new linting errors.
[x] I have reviewed and proofread my code and the changes.
[x] The branch is up-to-date with the base branch.

the visual check says it's identical to previous site!

well, I doubt that, I think there must be some visual changes in the content as docusaurus v3 uses mdx3 which has some strict rules related to markdown, so I updated that accordingly and I think those changes should be pointed out by Argos CI, do you think this CI working fine?

the visual check says it's identical to previous site!

Well I doubt that, I think there must be some visual changes in the content as docusaurus v3 uses mdx3 which has some strict rules related to markdown, so I updated that accordingly and I think those changes should be pointed out by Argos CI, do you think this CI working fine?

Good question. It certainly seems like the workflow worked. The markdown in our site is mostly just text, so perhaps no issues with the migration.


Doesn't handle urls for images

Must add tests and implementation for url compatibility for images for java wrapper

About to tackle this.


Doing Q&A over tabular data

Hey there! Does this support analysis of csv files similar to ChatGPT?

this uses chat gpt to achieve the same via (gpt-4) api. (3.5-turbo) can also be used but results are better while using gpt-4)

this uses chat gpt to achieve the same via (gpt-4) api. (3.5-turbo) can also be used but results are better while using gpt-4)

Is there a guide on how to do that?

just follow  the repo you may face some issues ,most of them are answered on the issues page


upgrade python 3.5 to 3.7 for cd docker

Description
Upgrades python version from 3.5 to 3.7 for CD docker images, fixing https://jenkins.mxnet-ci.amazon-ml.com/blue/organizations/jenkins/restricted-mxnet-cd%2Fmxnet-cd-release-job/detail/mxnet-cd-release-job/2186/pipeline/
As per discussion in this PR: https://github.com/apache/incubator-mxnet/pull/19674
@josephevans

Sorry I missed the message at: https://github.com/apache/incubator-mxnet/pull/19674#issuecomment-749835360

Sure. Currently we are using ubuntu16 base images that come with Python3.5. Do you know if we can upgrade them to ubuntu18? @leezu
Or we can upgrade python version on ubuntu16 docker images.

Is this image used only for testing or also for building? If only for testing, it's fine to upgrade. If for building, we should actually use CentOS7 image.
Let's merge this PR already to unblock the issue.

Sorry I missed the message at: https://github.com/apache/incubator-mxnet/pull/19674#issuecomment-749835360

Sure. Currently we are using ubuntu16 base images that come with Python3.5. Do you know if we can upgrade them to ubuntu18? @leezu
Or we can upgrade python version on ubuntu16 docker images.

Is this image used only for testing or also for building? If only for testing, it's fine to upgrade. If for building, we should actually use CentOS7 image.
Let's merge this PR already to unblock the issue.


Improve error reporting when parsing CSV translation files.

I think that this completely solves #46682
If you forget to add a closing " in the CSV file now there is a warning. And if there is an incorrect number of lang values, it shows a helpful error instead of silently continuing.
Note: should the closing " thing give an error instead of a warning? I think that it should, but then I suppose that ResourceImporterCSVTranslation::import should also return an error, and that would mean that there would be two errors messages. I don't know if that's more confusing.
Edit: upsi, my editor suggested me to change key != "" to !key.empty() and I didn't check if it compiled :p
Bugsquad edit:

Fixes #46682

Needs a rebase, but should be fine to merge then (after the 4.0 release, as we're already at RC stage so not taking any risks for non critical fixes).

Rebased myself, should be good now.

I fixed the unit test suite to separate generic FileAccess CSV testing from using CSV as translation.
And added more CSV translation tests while at it.

Thanks!


Cannot deploy model that contains dots/colons in its name

Hi,
I'm trying to deploy some models using the operator, but I'm facing some naming issues if these models contain dots or invalid caracters for kubernetes spec.metadata.name. Some examples:
Example to deploy qwen2.5: https://ollama.com/library/qwen2.5
Model CRD:
apiVersion: ollama.ayaka.io/v1
kind: Model
metadata:
  name: 'qwen2.5'
spec:
  image: qwen2.5
  persistentVolume:
    accessMode: ReadWriteOnce

I receive:
2024-11-19T14:31:45Z    ERROR   Reconciler error        {"controller": "model", "controllerGroup": "ollama.ayaka.io", "controllerKind": "Model", "Model": {"name":"qwen2.5","namespace":"default"}, "namespace": "default", "name": "qwen2.5", "reconcileID": "bdd6e0f4-05b3-49e0-ae01-e3db0aaae0ab", "error": "Service \"ollama-model-qwen2.5\" is invalid: metadata.name: Invalid value: \"ollama-model-qwen2.5\": a DNS-1035 label must consist of lower case alphanumeric characters or '-', start with an alphabetic character, and end with an alphanumeric character (e.g. 'my-name',  or 'abc-123', regex used for validation is '[a-z]([-a-z0-9]*[a-z0-9])?')"}
So its k8s service is not created.
I'm also wondering how can I deploy a model that contains a colon, something like: qwen2.5:32b. It fails due to the same reason, metadata.name can't contain colons.
I see that we have this init command harcoded in the operator:
fmt.Sprintf("apt update && apt install curl -y && ollama pull %s && curl http://ollama-models-store:11434/api/generate -d '{\"model\": \"%s\"}'"+image, name) and it fetches this name from the metadata.name field.
Can you help me?
Thanks!

Ah yes, you will have to alter the name to qwen2-5 or qwen25 to prevent this.
Such issue was constraint by Kubernetes for the name of the resources.
For the metadata.name to preload the model, this is a bug and it should not happen. Let me fix it.

Hi again @nekomeowww,
Probably one of the best ways to circumvent this model fetch bug, and not using the name from metadata.name (which can't contain dots/colons), could be creating extra fields on the Model CRD.
Something like modelName and modelTag:
E.g.
apiVersion: ollama.ayaka.io/v1
kind: Model
metadata:
  name: qwen2-5
spec:
  image: qwen2.5
  modelName: qwen2.5   # new field
  modelTag: 32b        # new field
  ...

What do you think?

modelTag isn't necessary, you can specify qwen2.5:32b then it should work.


Empty space before closing tag breaks rendering

Hi there,
if i have a markdown like **bold ** with a space before the "closing" ** the markdown is not beeing rendered. Do you have a solution for that?
Regards,
Bernd

Not really, this is the way most markdown parsers work, including here on **GitHub **.
Changing this could cause unwanted rendering for a lot of people, so I'm going to close this.
You could always try to solve it using regular expressions;
const input = 'Bold text is neat, **especially ** with markdown.'
const fixed = input.replace(/\*\*\s*(.*?)\s*\*\*/g, '**$1**')

Ok. Thx


Debugging bad requests?

Whenever I call spotifyApi.addTracksToPlaylist('someUserId', 'somePlaylistId', ['someTrackSpotifyUri'], function(ret) { console.log(ret) }), I get a WebApiError with the message set to Bad Request. How would I debug this and figure out what is causing it? I can't even wireshark it because, well, it uses SSL.

You would need to edit the library in your node_modules and print what URL is being called and with what parameters. Maybe you can replace those ids and uris with the real values you are sending and paste it here so it's easier to debug.

I'm closing the ticket for now then


Site does not show IP4 when go to certain sites

Hi all. Please tell me, I've already broken my head. When going to the site, bet365 does not show ip4, although everything is in order on the same browserleaks site. I'm attaching screenshots for your understanding. I use OpenVpn, the problem, as I understand it, is that the udp protocol does not completely transfer traffic to the browser. I would appreciate any help, thanks!
Here is the screenshot when switching to bet365
http://joxi.ru/LmGwGBQCBa4EMm
Here is the screenshot when switching to browserleaks
http://joxi.ru/V2VwE9kCBjEPGA

@angristan Personally, I would delete this entire issue as spam.


Roadmap for SteamVR support in Unity 2020

My team wants to use Unity 2020 on our VR project, but as far as I can tell end users must use a beta version of SteamVR with the current implementation of the SteamVR Unity plugin. Clearly, we can't ship a game that requires end users to use a beta version of SteamVR.
So, what is the current roadmap for the SteamVR unity plugin / Unity OpenXR? When can we expect it to be supported by the mainline version of SteamVR? Unity 2020 has had long term support versions out for quite a while now. We're over half way through 2021. Where is the SteamVR support? Where is the updated information? WHERE IS THE ROADMAP? When is it going to be safe for VR developers to start using Unity 2020?
You're really leaving us developers in the dark here. I need to know if my team can use the features of Unity 2020 or if we will have to ship with Unity 2019. This isn't a decision we can just make at the last minute right before ship, and we can't make the decision until we know when to expect full SteamVR support! Please, help Unity VR developers out and give us some information on your plans and when you expect things to happen.

I sort of given up on steamVR for now since I'm using 2021 and focusing on oculus ( via OpenXR ) - not a fan of the oculus SDK but whatever is provided by Unity-XR seems to be enough for my purposes right now ( with the hopes once steamVR+openXR feature appears i wouldn't need to pull out the spine from my game just to implement the controls all over again ). Also I second that , we need a roadmap , as soon as possible , looking at you Gabe 👀

if your app uses the Unity openxr plugin, this should work just fine with SteamVR as well as other conformant runtimes (e.g. ViveOpenXR, WMR, Monado)

would be nice to know still.... its Jan 2022 and would be nice to use the finger tracking of SteamVR Knuckles.


Need a way to choose the scheme when redirect after create/edit

Hi,
I closed the port 80 in production so I get a timeout after create/edit an object.
I don't want this port open for multiple reasons. What is the most simple and efficient way to be redirect on 443 port instead 80? I tried to set PREFERRED_URL_SCHEME="https" but it doesn't change anything
Thanks

I forgot to precise that I was behind a load balancer so it's why url_for redirect to http.
I finally manage this using:
application.wsgi_app = ProxyFix(application.wsgi_app)


Enforce pre commit take 2

Continuation of #1434

[ ] Make travis pre-commit to run only on newly added code and not on the whole project (needed?)
[ ] Fix shellcheck errors? (there are many)
[x] Fix shfmt errors? (also many)

@nwinkler we need to enable pre-commit in the travis docker image...
I formatted the whole project with shfmt, which is nice, and disabled shellcheck in the CI for the moment as there are too many errors. We still run shellcheck on our commits, so I may clean up some files in a future PR

So this PR is ready @cornfeedhobo @nwinkler @davidpfarrell
This PR include autofixes for shellcheck and shfmt, pre commit configuration, and CI configuration that runs the pre-commit hooks on the repo (skipping shellcheck, which has many fixes that can not be autofixed)
I think this is a good way forward to standardize the code in this project, and will help us create better and safer code. I will continue to make shellcheck-fixin PRs to files I come across, in the final goal of enabling shellcheck on all files in CI runs.
What do you think guys?

You'll have to give me some days. I've got writers block on another project, but this is on my mind and I'll read through it soon.

I like this idea in general! Help me understand how this is going to work - I'm sure I'm missing something. My biggest concern is that we're making lots of changes here and then other people create PRs without having the same local configuration, resulting in incompatible PRs with lots of formatting back and forth...
How does this work for the casual contributor? Do people need to install/setup anything locally to apply or check the formatting when making local changes? I know that we provide an .editorconfig file, but that only works if people have the respective plugin in their editor.
How (and when) are we enforcing formatting rules here? During the CI run on Travis? Do people have to enable the commit hook manually (one-time) or is it enabled automatically with this PR?
(Sorry for the many questions - that's one of the reason why I held back on this PR for so long, I guess I don't fully understand how this is going to work...)

I like this idea in general! Help me understand how this is going to work - I'm sure I'm missing something. My biggest concern is that we're making lots of changes here and then other people create PRs without having the same local configuration, resulting in incompatible PRs with lots of formatting back and forth...
How does this work for the casual contributor? Do people need to install/setup anything locally to apply or check the formatting when making local changes? I know that we provide an .editorconfig file, but that only works if people have the respective plugin in their editor.
How (and when) are we enforcing formatting rules here? During the CI run on Travis? Do people have to enable the commit hook manually (one-time) or is it enabled automatically with this PR?
(Sorry for the many questions - that's one of the reason why I held back on this PR for so long, I guess I don't fully understand how this is going to work...)

So- few explanations:

This PR changes all files to be shfmt formatted and also makes many shellcheck autofixes, this, in turn, will result in conflict in almost all PRs... even if there is a conflict, users should use --strategy-option=ours in  order to ignore the changes and use their commits.
This PR adds a lint stage in travis, which runs most pre-commit hooks on all files (only shellcheck is disabled). that will ensure that new PRs are not introducing new problems
This PR also adds pre-commit configuration which allows developers of this project to do pre-commit install. this will run all checks when they are commiting. We have no way of enforcing it though apart from running pre-commit in the travis-ci. The hook is not enabled automatically, and also a bit problematic since shellcheck still fails. I may remove shellcheck entirely for the time being.
This needs to be followed up by shellcheck PRs which fix file by file. This is a long and tedious process, but I will spend time on it. I am thinking about enabling shellcheck in the ci on all files which we "cleared". This way they can not be dirty again as the ci will fail (and pre-commit should shout at them as well if they installed it)

I hope what I wrote is clear enough, I will disable shellcheck in the pre-commit config now in order for the hook to work locally, other than that I think this PR is pretty ready

This is good idea - I'm a fan of pre-commit (i even have my own hook libary for go)
230+ files is a lot for one commit.  I'm pretty risk-averse so a PR this big worries me.
What do you think of the idea of adding the core functionality/pre-commit support but with all hooks disabled on first commit, then doing follow-up PRs where we enable 1 (or a few) hooks to keep the overall change sets smaller?

Thanks for the detailed explanation - makes sense to me! I like the fact that there is documentation about how to install the pre-commit hook.
I agree with @davidpfarrell, if possible, we should try to aim at a smaller change set to minimize risk. Is there a way to create an allow list for some of the files, i.e. only running the checks on files that we sanitized?

Thanks for the detailed explanation - makes sense to me! I like the fact that there is documentation about how to install the pre-commit hook.
I agree with @davidpfarrell, if possible, we should try to aim at a smaller change set to minimize risk. Is there a way to create an allow list for some of the files, i.e. only running the checks on files that we sanitized?

Moved the changes to a seperate PR, and left only the configuration. Each time we "clear" a file, we should add it to the clean_files.txt and then nobody can "destroy" them.
In the meantime, we should all install the pre-commit hooks. Next time we will try to commit and change files, this will cause us to firstly lint them in a seperate PR...

Thanks - much appreciated. I'll install the pre-commit hooks now...

Thanks - much appreciated. I'll install the pre-commit hooks now...

I am warning you already- for each file you touched in the commit you will be bombarded with errors. This is a bit annoying, but we can create "clean <filename.bash>" PRs and slowly but steadily standardize all of the files!

I like where this is heading!

I am warning you already- for each file you touched in the commit you will be bombarded with errors.

Could you set the commit hook to also only work on "cleaned files"?

I like where this is heading!

I am warning you already- for each file you touched in the commit you will be bombarded with errors.

Could you set the pre-commit hook to also only work on "cleaned files" like you're doing in travis?

This will be harder, as I have less control after doing pre-commit install
In the CI I can do pre-commit run --files ...
I do not think I can do that in the local environment. You can always uninstall the hooks if they annoy you

@nwinkler @seefood @cornfeedhobo @davidpfarrell I think it's time to merge this, and start working on cleaning up the files
We should continue with #1687 and #1688

CI is working, caching, and looking well overall :smile:

I'm sold.
And I do appreciate the extra effort taken to minimize large commits, thanks !

Thank you @davidpfarrell !
The large commits will happen eventually, as we need to fix many newlines in files, but I want to do it in a separate PR (#1687)
Anyway thanks for the kind words! I will wait a bit for more comments and merge this in the following day. In the meantime I will rebase #1687 so you will be able to CR it as well, then we can start to clean the files up :)

I guess it is time.. for a merge!
We shall continue on #1687, which will allow us to start clearing files one by one 😄

Awesome - thanks for working through this!


Improve the kind quickstart

Clarify the prerequisites
Added information on kind
Added a Cleanup section
Minor style changes

Signed-off-by: nyechiel<EMAIL_ADDRESS>

A few suggestions to try to make the default deployment Broker and workers more clear to users.
I can do this as a follow-up PR if that's better?

Sent https://github.com/submariner-io/submariner-website/pull/355. :heavy_check_mark:


issues with Hayhooks docker image

docker pull deepset/hayhooks
fails:
Using default tag: latest
Error response from daemon: manifest for deepset/hayhooks:latest not found: manifest unknown: manifest unknown

This is by design, the image doesn't support the latest tag, see https://vsupalov.com/docker-latest-tag/.
There was a problem in any case, the main tag wasn't updated correctly, that was fixed in 6c798b00


[DOC] Add max_shard_size parameter to shrink API page

Signed-off-by: gaobinlong<EMAIL_ADDRESS>Description
Relates to https://github.com/opensearch-project/documentation-website/issues/2044.
The main change of this PR is adding a new parameter named max_shard_size to shrink API page, the parameter was added to OpenSearch core in this PR: 5229, so we need to add the parameter to the documentation.
Issues Resolved
Closes https://github.com/opensearch-project/documentation-website/issues/2044
Checklist

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

Closing this PR in favor of #2519


Reset timestamps to 1970-01-01 during packaging for repeatable builds

Ref https://github.com/sbt/io/pull/279
This is a resend of https://github.com/sbt/sbt/pull/5233
original description
This is a continuation of the work in https://github.com/sbt/io/pull/58 , which I decided to get back into partly because Maven has been adding features to the core plugins, and it would be good to be on par :).
As discussed in https://github.com/sbt/io/pull/58, we should be careful about the risk of breaking incremental builds - I haven't found any such issues yet though. Note that this PR only affects the timestamps of entries in jars: timestamps of classes on the filesystem and the filesystem timestamp of the jar itself are not affected.
Discussing this with @eed3si9n, there could be special-purposes build configurations that (for example in order to avoid deleting/creating many files) compile classes directly into a jar rather than first to individual files. I haven't seen this configuration yet, but I suspect it wouldn't use Defaults.packageTask, but a custom Package/IO invocation. Any custom build configuration that requires non-static timestamps can pass None as the time parameter to keep the original behavior.
This PR requires https://github.com/sbt/io/pull/279

I think the orElse(Some(0L) is incorrect, causing files in the output jar to have a timestamp of 0.

Timestamp 0 is the intended behavior of sbt 1.4.0 to make the build more repeatable.

commenting and saying "1970" so it comes up in search results :)
1970 1970 1970 1970 !!!

+1 to the previous comments and the linked play issue https://github.com/playframework/playframework/issues/10572, this change breaks etag computation in play. while the suggested fix in that thread (of setting an environment variable) does work, it's frustrating that there's no way to do it directly from sbt. it might be nicer if there was an sbt setting for this, useEpochTimestamp in packageBin or something of the sort?
also, since the new code always provides Some(0) as a backup, it seems there's no way to go back to the old behavior of preserving asset timestamps; you must either choose a static date for all of them, or you get the epoch by default. this seems suboptimal - it would be ideal to preserve asset timestamps since they rarely change.

+1 to the previous comments and the linked play issue https://github.com/playframework/playframework/issues/10572, this change breaks etag computation in play. while the suggested fix in that thread (of setting an environment variable) does work, it's frustrating that there's no way to do it directly from sbt. it might be nicer if there was an sbt setting for this, useEpochTimestamp in packageBin or something of the sort?
also, since the new code always provides Some(0) as a backup, it seems there's no way to go back to the old behavior of preserving asset timestamps; you must either choose a static date for all of them, or you get the epoch by default. this seems suboptimal - it would be ideal to preserve asset timestamps since they rarely change.

@dontgitit I've created a new issue for this - https://github.com/sbt/sbt/issues/6235

@dontgitit I've created a new issue for this - https://github.com/sbt/sbt/issues/6235


Datastore testing

Hi, thanks for your help in making the code clearer. I wonder if datastore/get_datastore_chat.py could remain unchanged since a small datastore is important for situations with limited resources.


Fix cases of broken user:// paths.

Properly validate paths when supplying the project name.
Ensures that the user data dir will always be valid.

Fixes #69366.

Changed approach so dots are treated as a special case (I still think this is pointless, this dir is pretty much invisible). If still not good, I accept suggestions.

Thanks!


changes for auto provisioning

the settings tab is now Settings & monitoring, and the interface changed. Updated lab steps.
Replace issue name M00-LAB00:QUICK_DESCRIPTION, for example "M01-LAB01: My new issue" (or same name as linked Issue)
Related Issue
Link related Github Issue 🢂 Fixes # . (Include issue number after #)
Checklist
Mark completed with "x" between brackets, "[x]", or checking the box once the PR is created:

[ ] Has related GitHub Issue 💥 Create Issue 📝
[x ] Tested it
[ x] Read the PR collaboration guide 👓 Collaboration Guide 📝

Changes proposed in this pull request:

I already fixed this one and a spelling error. Thanks for posting.


feat: started working on vision

Codecov Report
Attention: Patch coverage is 55.55556% with 8 lines in your changes missing coverage. Please review.

Project coverage is 82.79%. Comparing base (5f231dc) to head (bcb564c).

Files
Patch %
Lines

gptme/message.py
50.00%
8 Missing :warning:

Additional details and impacted files
@@            Coverage Diff             @@
##           master      #91      +/-   ##
==========================================
- Coverage   83.03%   82.79%   -0.25%
==========================================
  Files          32       32
  Lines        2199     2214      +15
==========================================
+ Hits         1826     1833       +7
- Misses        373      381       +8

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


Unable to use Vault Webhook with External Vault

Describe the bug:
It doesn't work. Logs aren't quite useful.
Expected behaviour:
I should see the secret mutate
Steps to reproduce the bug:
Deploy the helm chart.
Deploy this rbac change too to avoid the error here:
https://github.com/coreos/vault-operator/issues/359
apiVersion: rbac.authorization.k8s.io/v1beta1
kind: ClusterRoleBinding
metadata:
  name: vault-tokenreview-binding
  namespace: vswh
roleRef:
  apiGroup: rbac.authorization.k8s.io
  kind: ClusterRole
  name: system:auth-delegator
subjects:
- kind: ServiceAccount
  name: vswh-vault-secrets-webhook
  namespace: vswh

Additional context:
Log Output:
PS C:\> gcloud logging read "labels.k8s-pod/app_kubernetes_io/name=vault-secrets-webhook" --project REDACTED --format json --freshness 15h | jq 'reverse[] | .textPayload ' --raw-output -j
2019/09/20 22:42:55 Failed to request new Vault token Error making API request.

URL: PUT https://vault.borg.dev/v1/auth/kubernetes/traffic/login
Code: 500. Errors:

* {"kind":"Status","apiVersion":"v1","metadata":{},"status":"Failure","message":"tokenreviews.authentication.k8s.io is forbidden: User \"system:serviceaccount:vswh:vswh-vault-secrets-webhook\" cannot create resource \"tokenreviews\" in API group \"authentication.k8s.io\" at the cluster scope","reason":"Forbidden","details":{"group":"authentication.k8s.io","kind":"tokenreviews"},"code":403}
2019/09/20 22:43:00 Failed to request new Vault token Error making API request.

URL: PUT https://vault.borg.dev/v1/auth/kubernetes/traffic/login
Code: 500. Errors:

* {"kind":"Status","apiVersion":"v1","metadata":{},"status":"Failure","message":"tokenreviews.authentication.k8s.io is forbidden: User \"system:serviceaccount:vswh:vswh-vault-secrets-webhook\" cannot create resource \"tokenreviews\" in API group \"authentication.k8s.io\" at the cluster scope","reason":"Forbidden","details":{"group":"authentication.k8s.io","kind":"tokenreviews"},"code":403}
2019/09/20 22:43:06 Failed to request new Vault token Error making API request.

URL: PUT https://vault.borg.dev/v1/auth/kubernetes/traffic/login
Code: 500. Errors:

* {"kind":"Status","apiVersion":"v1","metadata":{},"status":"Failure","message":"tokenreviews.authentication.k8s.io is forbidden: User \"system:serviceaccount:vswh:vswh-vault-secrets-webhook\" cannot create resource \"tokenreviews\" in API group \"authentication.k8s.io\" at the cluster scope","reason":"Forbidden","details":{"group":"authentication.k8s.io","kind":"tokenreviews"},"code":403}
2019/09/20 22:43:12 Failed to request new Vault token Error making API request.

URL: PUT https://vault.borg.dev/v1/auth/kubernetes/traffic/login
Code: 500. Errors:

* {"kind":"Status","apiVersion":"v1","metadata":{},"status":"Failure","message":"tokenreviews.authentication.k8s.io is forbidden: User \"system:serviceaccount:vswh:vswh-vault-secrets-webhook\" cannot create resource \"tokenreviews\" in ACode: 500. Errors:

* {"kind":"Status","apiVersion":"v1","metadata":{},"status":"Failure","message":"tokenreviews.authentication.k8s.io is forbidden: User \"system:serviceaccount:vswh:vswh-vault-secrets-webhook\" cannot create resource \"tokenreviews\" in API group \"authentication.k8s.io\" at the cluster scope","reason":"Forbidden","details":{"group":"authentication.k8s.io","kind":"tokenreviews"},"code":403}
2019/09/20 22:43:19 Received new Vault token
2019/09/20 22:43:20 Renewed Vault Token
2019/09/20 22:44:55 Received new Vault token
2019/09/20 22:44:55 Initial Vault token arrived
2019/09/20 22:44:56 Renewed Vault Token
2019/09/20 22:44:56 Vault token renewal closed
time="2019-09-20T22:52:34Z" level=warning msg="no tracer active"
time="2019-09-20T22:52:34Z" level=warning msg="no tracer active"
time="2019-09-20T22:52:34Z" level=warning msg="no tracer active"
time="2019-09-20T22:52:34Z" level=info msg="Listening on https://:8443"
time="2019-09-20T22:52:57Z" level=warning msg="no tracer active"
time="2019-09-20T22:52:57Z" level=warning msg="no tracer active"
time="2019-09-20T22:52:57Z" level=warning msg="no tracer active"
time="2019-09-20T22:52:57Z" level=info msg="Listening on https://:8443"
time="2019-09-21T10:35:54Z" level=warning msg="no tracer active"
time="2019-09-21T10:35:54Z" level=warning msg="no tracer active"
time="2019-09-21T10:35:54Z" level=warning msg="no tracer active"
time="2019-09-21T10:35:54Z" level=info msg="Listening on https://:8443"
time="2019-09-21T10:36:05Z" level=warning msg="no tracer active"
time="2019-09-21T10:36:05Z" level=warning msg="no tracer active"
time="2019-09-21T10:36:05Z" level=warning msg="no tracer active"
time="2019-09-21T10:36:05Z" level=info msg="Listening on https://:8443"
time="2019-09-21T10:41:07Z" level=warning msg="no tracer active"
time="2019-09-21T10:41:07Z" level=warning msg="no tracer active"
time="2019-09-21T10:41:07Z" level=warning msg="no tracer active"
time="2019-09-21T10:41:07Z" level=warning msg="no tracer active"
time="2019-09-21T10:41:07Z" level=warning msg="no tracer active"
time="2019-09-21T10:41:07Z" level=warning msg="no tracer active"
time="2019-09-21T10:41:07Z" level=warning msg="no tracer active"
time="2019-09-21T10:41:07Z" level=warning msg="no tracer active"
time="2019-09-21T10:41:07Z" level=warning msg="no tracer active"
time="2019-09-21T10:41:07Z" level=info msg="Listening on https://:8443"
time="2019-09-21T10:41:07Z" level=info msg="Listening on https://:8443"
time="2019-09-21T10:41:07Z" level=info msg="Listening on https://:8443"

Environment details:

Kubernetes version: 1.13.7-gke.8
Platform: GKE Private Cluster
bank-vaults version: 0.5.1
Install method (e.g. helm or static manifests): Helm
Logs from the misbehaving component (and any other relevant logs):
Resource definition (possibly in YAML format) that caused the issue, without sensitive data:

I want to mutate this secret:
apiVersion: v1
data:
  estafette-key: dmF1bHQ6a3YvcmF4L2djcC1vcHMvI2VzdGFmZXR0ZS1zYV9qc29u
kind: Secret
metadata:
  annotations:
    vault.security.banzaicloud.io/vault-addr: https://vault.borg.dev
    vault.security.banzaicloud.io/vault-path: kubernetes-traffic
    vault.security.banzaicloud.io/vault-role: traffic
  name: sample-secret2
  namespace: vswh
type: generic

Cluster Firewall Rules:
cy@cloudshell:~ (REDACTED)$ gcloud --project REDACTED-vpc compute firewall-rules list     --filter 'name~^gke-traffic'     --format 'table(
        name,
        network,
        direction,
        sourceRanges.list():label=SRC_RANGES,
        allowed[].map().firewall_rule().list():label=ALLOW,W
        targetTags.list():label=TARGET_TAGS
    )'
NAME                         NETWORK   DIRECTION  SRC_RANGES       ALLOW                         TARGET_TAGS
gke-traffic-345c95b5-all     main-net  INGRESS    <IP_ADDRESS>/18  tcp,udp,icmp,esp,ah,sctp      gke-traffic-345c95b5-node
gke-traffic-345c95b5-master  main-net  INGRESS    <IP_ADDRESS>/28   tcp:10250,tcp:443,tcp:8443    gke-traffic-345c95b5-node
gke-traffic-345c95b5-vms     main-net  INGRESS    <IP_ADDRESS>/16    icmp,tcp:1-65535,udp:1-65535  gke-traffic-345c95b5-node

/kind bug
Vault Configuration(deployed via Terraform)
resource "vault_auth_backend" "kubernetes-traffic" {
  type = "kubernetes"
  path = "kubernetes-traffic"
}

resource "vault_kubernetes_auth_backend_config" "example" {
  backend            = vault_auth_backend.kubernetes-traffic.path
  kubernetes_host    = "https://<IP_ADDRESS>"
  kubernetes_ca_cert = <<EOT
  -----BEGIN CERTIFICATE-----
REDACTED
-----END CERTIFICATE-----
EOT
}

resource "vault_kubernetes_auth_backend_role" "traffic" {
  backend                          = vault_auth_backend.kubernetes-traffic.path
  role_name                        = "traffic"
  bound_service_account_names      = ["vswh-vault-secrets-webhook"]
  bound_service_account_namespaces = ["*"]
  token_ttl                        = 3600
  token_policies                   = ["default", "automation"]
}

So I found out that you can't mutate something in the same namespace as the vault webhook.
https://github.com/banzaicloud/bank-vaults/issues/583
Now I have this secret and it doesn't mutate.
apiVersion: v1
data:
  estafette-key: dmF1bHQ6a3YvcmF4L2djcC1vcHMvI2VzdGFmZXR0ZS1zYV9qc29u
kind: Secret
metadata:
  annotations:
    vault.security.banzaicloud.io/vault-addr: https://vault.borg.dev
    vault.security.banzaicloud.io/vault-path: kubernetes-traffic
    vault.security.banzaicloud.io/vault-role: traffic
  name: sample-secret2
  namespace: default
type: generic

Please upgrade the chart with enabled failurePolicy, it's ignore by default: https://github.com/banzaicloud/bank-vaults/blob/5e5f9faba339661a2292f66ed35c850451ee9140/charts/vault-secrets-webhook/values.yaml#L73

And try to post the Secret again after this, sorry.

I ran this command for the chart now:
helm upgrade vswh banzaicloud-stable/vault-secrets-webhook --wait \
--set secretsFailurePolicy=Fail

The secret mutates to blank value.
cy@cloudshell:~ (REDACTED)$ kubectl get secret/sample-secret2 -o yaml
apiVersion: v1
data:
  estafette-key: ""
kind: Secret
metadata:
  annotations:
    kubectl.kubernetes.io/last-applied-configuration: |
      {"apiVersion":"v1","data":{"estafette-key":"dmF1bHQ6a3YvcmF4L2djcC1vcHMjZXN0YWZldHRlLXNhX2pzb24="},"kind":"Secret","metadata":{"annotations":{"vault.security.banzaicloud.io/vault-addr":"https://vault.borg.dev","vault.security.banzaicloud.io/vault-path":"kubernetes-traffic","vault.security.banzaicloud.io/vault-role":"traffic","vault.security.banzaicloud.io/vault-skip-verify":"true"},"name":"sample-secret2","namespace":"default"},"type":"generic"}
    vault.security.banzaicloud.io/vault-addr: https://vault.borg.dev
    vault.security.banzaicloud.io/vault-path: kubernetes-traffic
    vault.security.banzaicloud.io/vault-role: traffic
    vault.security.banzaicloud.io/vault-skip-verify: "true"
  creationTimestamp: "2019-09-21T16:15:55Z"
  name: sample-secret2
  namespace: default
  resourceVersion: "2832991"
  selfLink: /api/v1/namespaces/default/secrets/sample-secret2
  uid: 16b520a4-dc8b-11e9-9f7f-42010afa0117
type: generic

kubectl get MutatingWebhookConfiguration/vswh-vault-secrets-webhook -n vswh -o yaml
Show the Fail policy but nothing happens in the pod logs.
PS C:\> gcloud logging read "labels.k8s-pod/app_kubernetes_io/name=vault-secrets-webhook" --project REDACTED --format json --freshness 15m | jq 'reverse[] | .textPayload ' --raw-output -j
time="2019-09-21T16:14:43Z" level=warning msg="no tracer active"
time="2019-09-21T16:14:43Z" level=warning msg="no tracer active"
time="2019-09-21T16:14:43Z" level=warning msg="no tracer active"
time="2019-09-21T16:14:43Z" level=info msg="Listening on https://:8443"
time="2019-09-21T16:14:48Z" level=warning msg="no tracer active"
time="2019-09-21T16:14:48Z" level=warning msg="no tracer active"
time="2019-09-21T16:14:48Z" level=warning msg="no tracer active"
time="2019-09-21T16:14:48Z" level=info msg="Listening on https://:8443"
2019/09/21 16:15:55 Received new Vault token
2019/09/21 16:15:55 Initial Vault token arrived
2019/09/21 16:15:55 Renewed Vault Token
2019/09/21 16:15:55 Vault token renewal closed

One more thing:
The secret had an extra slash before the # which blocked the mutation.
This is the current value of the secret.
vault:kv/rax/gcp-ops#estafette-sa_json

dmF1bHQ6a3YvcmF4L2djcC1vcHMjZXN0YWZldHRlLXNhX2pzb24=

Okay, what do you have under vault:kv/rax/gcp-ops#estafette-sa_json in Vault? Is it kv2 or kv1?
vault read kv/rax/gcp-ops ...

It is kv2

Then you probably have to add the /data/ section after the mount point, I guess then the path should be vault:kv/data/rax/gcp-ops#estafette-sa_json

I don't quite understand.
Docs says vault kv v2 is supported and that is how this path was set up.
https://banzaicloud.com/blog//inject-secrets-into-pods-vault/
I can use kv v1 but that is not what I read at the link above.

Since from the url it is impossible to guess which secret backend are you using the webhook uses the standard read method which the vault go client exposes. The only thing you have to do is to add /data/ you don't have to use kv1.

Thank you.
This works now.
dmF1bHQ6a3YvcmF4L2RhdGEvZ2NwLW9wcyNlc3RhZmV0dGUtc2FfanNvbgo=
vault:kv/rax/data/gcp-ops#estafette-sa_json

Secret mutates correctly but I don't get log entries for successful mutations or failures.

Great stuff, np! Actually you have put together a pretty complex setup here, nice job! Would you mind adding some log entries to the code here about this in a PR? No previous Go experience is needed. Please join us on Slack (see the README for the link), we are happy to help there as well.


Split System modules

[One line description of your change]
Motivation:
[Explain here the context, and why you're making that change. What is the problem you're trying to solve.]
Modifications:
[Describe the modifications you've done.]
Result:
[After your change, what will change.]

I don't know if you missed it, but there are still a chunk of Linux test failures here.

Ill try to run this on a Linux environment and re-upload (with a rebase)

Looks like the syscall wrapper test has to be rewritten. It looks for files with the wrong name.

Specifically this line needs to be updated to bring across all the relevant System.swift files:
https://github.com/apple/swift-nio/blob/648a6712ff8a62f5c85274f7b8e9df43ba8c1058/IntegrationTests/tests_02_syscall_wrappers/defines.sh#L42

This took too long, ended up just merging it into a single ginormous patch.


How to create an application under default web site?

Hi
Please see below the URL for detail. I want to create an application under either IIS site E.g. default web site\MyApp instead of create a new site.
https://social.msdn.microsoft.com/Forums/vstudio/en-US/dbe679de-35b3-4342-85b3-6cf56b83660d/winrm-iis-web-app-management-under-default-web-site?forum=tfsbuild

As stated in the comments of the extension:
[https://marketplace.visualstudio.com/items?itemName=ms-vscs-rm.iiswebapp](Creating Web Application is in our backlog and we are working on it)
Any news on this matter?

Hi, Thanks for your feedback. Today we dont have support for virtual directory in this task. We will take this as enhancement

I am also facing the same issue.
Error message:Can not set attribute "name" to value
"Common/S2S".

Hi , I have the same issue, I am using it with TFS 2018 Update 3. I am using WinRM - IIS Web App Management Task. Under Website Name , I am using Default Web Site\MyWebSite
Website Name = Default Web Site\MyWebSite
I am getting the error System.Exception: ERROR ( message:Can not set attribute "name" to value "Default Web Site/MyWebSite". )
How to Fix this error? How can I have "MyWebSite" under "Default Web Site"
Thanks for help.


bug: command doc does not mention IMW existence pre-req

Describe the bug
The documentation for kubectl kubestellar ensure location and kubectl kubestellar prep-for-cluster does not mention that these commands require that the IMW (IS) already exists.
Steps To Reproduce
Read the doc.
Expected Behavior
I expect the doc to not confuse users.
Additional Context
No response

Moot now.


ci: add master core install for lint/test/dev

I see we need some code changes to be compliant with the recent version of langchain-core - I'll get to them today!


Drop Messaging/Stream/Integration/SpEL

Description
Following up on the announcement at #1244, this PR removes several Steeltoe components:

Steeltoe.Messaging
Steeltoe.Stream
Steeltoe.Integration
Steeltoe.Common.Expression (SpEL)
Several parts in Steeltoe.Common that were used only by the above (see individual commits)

Additionally, adds test projects for Prometheus and Wavefront to the solution that existed on disk but were not included.

Quality checklist

[x] Your code complies with our Coding Style.
[x] You've updated unit and/or integration tests for your change, where applicable.
[ ] You've updated documentation for your change, where applicable.
If your change affects other repositories, such as Documentation, Samples and/or MainSite, add linked PRs here.
[x] There's an open issue for the PR that you are making. If you'd like to propose a new feature or change, please open an issue to discuss the change or find an existing issue.
[x] You've added required license files and/or file headers (explaining where the code came from with proper attribution), where code is copied from StackOverflow, a blog, or OSS.

/azp run Steeltoe.All


Document tf.nn.conv1d

Can one of the admins verify this patch?

Jenkins, test this please.

Failures seem unrelated here, e.g.,
============== BEGINS failure log content ==============
Traceback (most recent call last):
  File "/workspace/pip_test/tests/retrain_test.py", line 24, in <module>
    from tensorflow.examples.image_retraining import label_image
ImportError: cannot import name label_image


Environments list empty in Bruno 1.10

In Bruno 1.10 the environments dropdown in the upper right corner is empty, only containing "No environment" and the "Configure" buttons. The environments subfolder contains environments. A new environment created in the "Configure" dialog is also not visible, but is created in the environments subfolder.
Version: Bruno v1.10.0
Package: bruno_1.10.0_amd64_linux.deb
OS: Pop!_OS 22.04 LTS (Ubuntu based)

The problem disappeared when downgrading to 1.9 and upgrading to 1.10 again


No documents at runtime

Make it so Java developers never have to build Java or JSON to interact with the API (other than to build documents, of course). Specifying the behavior of a query should not require creating a document. The payload may be a document, but that's an implementation detail.

Builders rather than document config

Closing this to keep Search API stabilized.


Functions hangs when trying to read stream from URL

This issue happens on my Mac locally. I am unable to isolate the cause.
Attached is the zip file of my function, it inferences Tensorflow InceptionV3 model
Added sample code in init.py to read from img url (followed predict shark example) but when running the function, it hangs - breakpoint revealed it hangs while trying to do urllib read:
image_url = req.params.get('img')
image_data = urllib.request.urlopen(image_url).read()

Unzip the attached file and just create a virtual environment and pip install to see the results.
TEST.zip
This problem was steadily reproducible if a wrong file path was given to tensorflow's File open method,
outside of functions it fails, but within functions it hangs.

Identified issue as being 403 forbidden when trying to read an image url without proper headers. I identified this by trying this out with Python shell which clearly tells me 403 forbidden, but python functions just hangs. Here is a snippet of code to try out:
Scenario 1
user_agent_header = 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/535.19 (KHTML, like Gecko) Ubuntu/12.04 Chromium/18.0.1025.168 Chrome/18.0.1025.168 Safari/535.19'
**req_img = urllib.request.Request(image_url, headers={'User-Agent': user_agent_header})**
response_img = urllib.request.urlopen(req_img)
image_data = response_img.read()

Now remove the user_agent header in the line in bold above and function hangs.
Scenario 2
Try to read a file with wrong path using Tensorflow:
For eg: model_file is the absolute path to a model, just make it an invalid path. Function hangs.
with tf.gfile.FastGFile(model_file, 'rb') as f:
    graph_def = tf.GraphDef()
    graph_def.ParseFromString(f.read())
    _ = tf.import_graph_def(graph_def, name='')

@priyaananthasankar Can you elaborate on what you mean by "function hangs".  The scenarios you listed generate a Python exception, which is propagated to the host as a Microsoft.Azure.WebJobs.Host.FunctionInvocationException, and the function execution is terminated.  We have a test for that in the suite:
https://github.com/Azure/azure-functions-python-worker/blob/659c9772c00c39f12dbf6117a698ad96f1c2cbf4/tests/http_functions/unhandled_error/main.py#L1-L5

@elprans : No errors are thrown. Last seen log will be "Python HTTP trigger function processed a request" Basically nothing happens. The Postman or CURL will just be executing saying "Loading" etc without any response.

This is indeed a bug in the worker.  Certain user exceptions crash the worker.  #225 should fix this.


Is there a way to convert css animation into gif?

You can try using html2canvas. It might not support all the CSS properties you want, or may not work with CSS animation, I don't know. You can check supported CSS properties here: https://html2canvas.hertzen.com/features/

When using html2canvas to intercept CSS animation, only the first screen animation position can be intercepted. It is recommended to use the animejs library to realize animation

👀 try https://github.com/qq15725/dom-vcr


Remove race condition by disabling esIndexCleaner till after SmokeTes…

…t runs
Signed-off-by: Kevin Earls<EMAIL_ADDRESS>

@objectiser  Please review.  Note that no variable names contain swears.  :-)


Cannot build locally after clean

make build clean on master results in
error: failed to generate package: open /Users/tkappler/pulumi/pulumi-aws/sdk/nodejs/arn.ts: no such file or directory

It comes from this invocation in the Makefile: ./bin/pulumi-tfgen-aws nodejs --overlays provider/overlays/nodejs --out sdk/nodejs/ which is odd since I didn't expect tfgen to read from the sdk folder?
make build on a clean checkout works since sdk/nodejs is present.

Reclassifying as kind/engineering because I think this is not affecting end-users.

Same thing in azure: https://github.com/pulumi/pulumi-azure/issues/1160


Add Ride Health to companies list

Please review our Contribution Guidelines to ensure your changes abides by it.
Changes should be made to the end of the file.
Review your changes and complete the checklist below.

[x] Company name
[x] Industry
[x] Company location
[x] Company description
[x] How Elixir is used
[x] GitHub / blog links
[x] Job listings

Thanks for the addition @AlanRice93 😁


builder: proritize dirty projects

launch clean and lint first
build modified projects first

@spearce said it was mostly not horrible, self-merging.


Why my training result is bad by simply executing the given command

Thank you for the readable codes.
I executed the training command as outlined in the README.md. However, the model's performance after 20,000 iterations differs from that of the pretrained model when running random_playground.py. The robot frequently falls and has difficulty standing up, consistently failing to do so. I trained the model using the default settings. What could be the issue?
Here is my log and model data.
https://cloud.tsinghua.edu.cn/d/6cc1547cfec3406286b5/

I reviewed the checkpoint you submitted, and it does seem to be a bit odd... I ran PlayGround/track_playground.py, and it seems like the characters can't even reconstruct motions. This might be due to some version inconsistencies in the code, and I'm attempting to retrain. Please give me a little time.

By the way, could you provide me with some of the BVH outputs from the training process? Because from what I've seen, your training curves seem normal, but there seems to be an issue with the output strategy.

I have uploaded the training BVH files to that cloud. I am retraining with your modification, too.

Hi, I've finished training, and the result seems right this time. Did you get the right output?

Yes! Thanks for your efficient replies!


Let's continue on the other PR: https://github.com/datahub-project/datahub/pull/7055


Fix language toggle overflowing, when zooming in on iOS

Bug #: 90289062
Summary
Fixes an issue with zooming in/out and the language toggle getting cutoff.
Dependencies
NA
Testing
Steps:

Zoom in with cmd + until you see the mobile localnav
Zoom out with cmd - or do cmd 0 to zoom 100% out.
Assert the toggle is no longer cutoff

Checklist
Make sure you check off the following items. If they cannot be completed, provide a reason.

[x] Add tests
[ ] Add a release note in the radar
[ ] Assign the bug to the primary reviewer

@swift-ci test


url() helper returns UrlGenerator|string

Larastan Version: 0.3.4
--level used: 6

Description:
When using the url() helper provided by Laravel, it returns an instance of Illuminate\Contracts\Routing\UrlGenerator when the $path parameter is null (which it is by default). But when providing a string to the url() method, it always returns a string.
Passing the return result of the url() method to a function that requires a string, raises an error:
Parameter #2 $url of method Illuminate\Notifications\Messages\SimpleMessage::action() expects string, Illuminate\Contracts\Routing\UrlGenerator|string given.

Laravel code where the issue was found:
$redirectTarget = url('http://somewebsite.com');

We are open to a PR!


Work on HHH-15099

https://hibernate.atlassian.net/browse/HHH-15099
@NotFound work

Mainly this is to check cross-db testing, but if y'all wanted to check...

Integrated upstream


Upgraded sample size from 34 to 56

Samples are derived from the same study, but increased in count to allow for further use in machine learning. Per 7 different timepoints (0, 30, 50, 84, 112, 120, 140), 8 samples (2 hosts x 4 sample sites) were taken for a total of 56 samples.

@alavrinienko if you haven't already, please update your repo for the latest data! I've made a few fixes in the read processing notebook too.
With 56 samples (some of which have a good number of reads), some processing steps take a little longer. I would recommend having participants run the first few cells as you start your lecture, so they can run in the background while you introduce QIIME 2 / amplicon sequencing.


Example for compiler error BC32051 does not generate BC32051

Example for compiler error BC32051 does not generate BC32051
The example for BC32051 generates BC36645 rather than BC32051.
The source code is:
Public Sub DoSomething(Of T)(arg1 As T(), arg2 As T)
End Sub

Public Sub Main()
    DoSomething(6, 42)
End Sub

The compiler output is:

c:\Visual Studio Projects\bc32051\bc32051ex.vb(7) : error BC36645: Data type(s) of the type parameter(s) in method 'Public Sub DoSomething(Of T)(arg1 As T(), arg2 As T)' cannot be inferred from these arguments. Specifying the data type(s) explicitly might correct this error.
DoSomething(6, 42)

The error 32051 doesn't even exist in Roslyn repo. https://github.com/dotnet/roslyn/blob/master/src/Compilers/VisualBasic/Portable/Errors/Errors.vb


Copy/Paste action causes exception in log if done reasonably fast on canvas with reasonbly large number of molecules

Steps to Reproduce

Load molecule from file: AllPossibleQueryFeatures.zip (unzip first)
Select few rings
Press Ctrl+C/Ctrl+V reasonably fast

https://github.com/epam/ketcher/assets/26869421/cdfb0850-d7e2-4e9e-8713-c5d637123290
Actual behavior
System throws exception in log: nightly.test.lifescience.opensource.epam.com-1704464999857.log
No copy to clipboard happens
Expected behavior
No exception, copy to clipboard happens
Issue found while testing https://github.com/epam/Indigo/issues/1446
Desktop (please complete the following information):

OS: Win10
Browser Chrome Version 120.0.6099.130 (Official Build) (64-bit)

Ketcher version [e.g. v2.4.2].
Ketcher Version 2.15.0-rc.4 Build at 2023-10-25; 14:15:43
Indigo Toolkit Version 1.18.0-dev.2.0-g369c82f8c-x86_64-linux-gnu-11.4.0

@rrodionov91 to investigate


ctrl-Z deletes instead of restores!

Issue Type: Bug
somehow, randomly, ctrl-Z in VS Code with a jupyter notebook file deletes a cell!?!?! why??? and then ctrl-z to try to un-delete, just deletes yet another cell??? is this funny to someone? like "haha they can put a man on the moon but they can't un-delete python cells!"

VS Code version: Code 1.67.1 (da15b6fd3ef856477bf6f4fb29ba1b7af717770d, 2022-05-06T12:37:03.389Z)
OS version: Windows_NT x64 10.0.22000
Restricted Mode: No

System Info

Item
Value

CPUs
AMD Ryzen 9 3900XT 12-Core Processor            (24 x 3793)

GPU Status
2d_canvas: enabledcanvas_oop_rasterization: disabled_offdirect_rendering_display_compositor: disabled_off_okgpu_compositing: enabledmultiple_raster_threads: enabled_onoop_rasterization: enabledopengl: enabled_onrasterization: enabledraw_draw: disabled_off_okskia_renderer: enabled_onvideo_decode: enabledvideo_encode: enabledvulkan: disabled_offwebgl: enabledwebgl2: enabled

Load (avg)
undefined

Memory (System)
31.93GB (14.45GB free)

Process Argv
--crash-reporter-id f068710a-abae-418b-80bf-c9cbb94e10fd

Screen Reader
no

VM
0%

Extensions (8)

Extension
Author (truncated)
Version

pinescript
Jey
3.0.1

vscode-docker
ms-
1.22.0

python
ms-
2022.6.2

vscode-pylance
ms-
2022.5.2

jupyter
ms-
2022.4.1021342353

jupyter-keymap
ms-
1.0.0

jupyter-renderers
ms-
1.0.6

remote-containers
ms-
0.234.0

Thanks for creating this issue! It looks like you may be using an old version of VS Code, the latest stable release is 1.67.2. Please try upgrading to the latest version and checking whether this issue remains.
Happy Coding!

We closed this issue because it is a question about using VS Code rather than an issue or feature request. Please search for help on StackOverflow, where the community has already answered thousands of similar questions. You may find their guide on asking a new question helpful if your question has not already been asked. See also our issue reporting guidelines.
Happy Coding!

Thanks for your feedback! Notebook editor is currently fully integrated with the rest of the VS Code workbench, including ctrl+z, ctrl+shift+z, ctrl+f, etc.
To move off this feature, you can add following snippet in your keybindings.json to ensure that ctrl+z doens't undo in the notebook at all
{
        "key": "ctrl+z",
        "command": "-undo",
        "when": "notebookEditorFocused"
    }

I'll continue to keep an eye on similar issues to see if we need to introduce a setting or update the keybindings in Jupyter to support disabling this.

This has affected me as well. I think ctrl-z should not be deleting cells. It is unexpected behavior. I noticed cells going missing a number of times while working in my notebooks. I am pressing ctrl-z to undo something I have typed and somehow inadvertently losing cells with content.


Finalize the list with php-cs-fixer rules

I would like to propose and we can discuss about a final list with rules for php-cs-fixer:
        '@PSR2' => true,
        'array_syntax' => ['syntax' => 'short'],
        'blank_line_after_opening_tag' => true,
        'concat_space' => ['spacing' => 'one'],
        'declare_strict_types' => false,
        'function_to_constant' => ['functions' => ['php_sapi_name']],
        'fully_qualified_strict_types' => true,
        'header_comment' => false,
        'lowercase_cast' => true,
        'is_null' => ['use_yoda_style' => false],
        'magic_method_casing' => true,
        'modernize_types_casting' => true,
        'multiline_comment_opening_closing' => true,
        'native_constant_invocation' => true,
        'no_alias_functions' => true,
        'no_alternative_syntax' => true,
        'no_blank_lines_after_phpdoc' => true,
        'no_empty_comment' => true,
        'no_empty_phpdoc' => true,
        'no_extra_blank_lines' => true,
        'no_leading_import_slash' => true,
        'no_spaces_around_offset' => true,
        'no_superfluous_phpdoc_tags' => ['allow_mixed' => true],
        'no_trailing_comma_in_singleline_array' => true,
        'no_unset_cast' => true,
        'no_unused_imports' => true,
        'no_useless_else' => true,
        'no_useless_return' => true,
        'no_whitespace_in_blank_line' => true,
        'ordered_imports' => true,
        'php_unit_mock' => ['target' => 'newest'],
        'php_unit_dedicate_assert_internal_type' => ['target' => 'newest'],
        'php_unit_expectation' => ['target' => 'newest'],
        'php_unit_no_expectation_annotation' => ['target' => 'newest'],
        'php_unit_test_annotation' => ['style' => 'prefix'],
        'php_unit_test_case_static_method_calls' => ['call_type' => 'self'],
        'php_unit_mock_short_will_return' => true,
        'phpdoc_align' => ['align' => 'vertical'],
        'phpdoc_line_span' => ['method' => 'multi', 'property' => 'multi'],
        'phpdoc_scalar' => true,
        'phpdoc_separation' => true,
        'phpdoc_single_line_var_spacing' => true,
        'phpdoc_trim' => true,
        'phpdoc_trim_consecutive_blank_line_separation' => true,
        'phpdoc_types' => true,
        'phpdoc_types_order' => ['null_adjustment' => 'always_last', 'sort_algorithm' => 'none'],
        'phpdoc_var_without_name' => true,
        'short_scalar_cast' => true,
        'single_trait_insert_per_statement' => true,
        'standardize_not_equals' => true,
        'visibility_required' => true,
        'yoda_style' => false,

Some of these might not be useful today but they will be useful during reviews.
You can find more details of the rules here: https://mlocati.github.io/php-cs-fixer-configurator/#version:2.16

'@PSR2' => true,

I would suggest to stick with PSR-12 from the beginning, even if it's not released as a separate ruleset yet (should be available soon).

I tired to stick with PSR-12 (adding any rule I know that already exists).
Do you see any rule from the ones added that violates it... or do you have rule that should be added?

or do you have rule that should be added?

No, I'm definitely fine with all the rules above. Just thought that we can reuse something like this until PSR-12 ruleset is released officially.

Not entirely sure what you are suggesting @alexeyshockov . Do you suggest using the easy coding standard tool? (Quickly went through the post, but I couldn't find a "use this snippet until PSR-12 is out" kinda thing.)

We should also add 'compact_nullable_typehint' => true,. This is a requirement of the PSR-12 spec.

Also, 'declare_equal_normalize' => ['space' => 'none'],, even though Guzzle doesn't use this (yet).

We should add the following rules too, which are PSR-12 rules:
[
    'compact_nullable_typehint' => true,
    'declare_equal_normalize' => ['space' => 'none'],
    'function_typehint_space' => true,
    'no_leading_namespace_whitespace' => true,
    'space_before' => 'none',
]

Quickly went through the post, but I couldn't find a "use this snippet until PSR-12 is out" kinda thing.

I've just created one on the upstream repo. ;)

Many of the new rules and subtle changes aren't yet supported by php-cs-fixer, yet, so the rule list is not complete, or totally accurate in the changes it actually makes (in particular, the PSR2 braces stuff is not compatible with the PSR-12 braces stuff, but close enough for now).

Hello after the great work of @rvanlaak here I would to bring up again this matter and proceed with this..
The PR above contained some style fixes that could be spotted by php-cs-fixer and it could help future reviews.

Maybe update the concept PSR12 config and go with that for now? Looks like CS-Fixer will have the final set ready before Guzzle 7.0 will get released.

Closing... updates might still occur.

I think we should add the rule(s) that makes sure casts are normalised: cast_spaces, lowercase_cast.


Initial Roadmap: Example notebooks

Description

Notebooks for general Tasks and Application examples could get separate sections on readthedocs

General tasks

[x] Find best way to link between notebooks and other parts of readthedocs
[x] Decide: Make notebooks downloadable
[x] Setup myBinder.org / jupyter.org/hub / google code lab / github code spaces. Requirements

Read notebooks and resources from github
host multiple notebooks
No login required
Docker container

[x] Update pyfar.org or completely move to gallery as the main homepage? (Fabian)
[ ] Add links between notebooks and to and from the documentation of other packages
[ ] In each notebook, mention at the beginning if there are other examples that should be read first (?)

Notebooks showing simple pyfar functionality as part of the pyfar docs

[x] Working with Audio Objects (Fabian) #4
[x] Working with Coordinates Objects (Anne) #6
[x] Working with Orientation Objects (Anne) #14
[ ] Plotting Data from Audio Objects (Pascal) #23
[ ] Reading and Writing Data to Disk
[x] FFT and FFT conventions (Simon) #28
[x] Arithmetic Operations on Audio Objects (Fabian) #10
[x] Filtering Signal Objects (Fabian) #9

Notebooks implementing DSP tasks/examples/applications
(potentially put in a separate repository)

[x] Sweep based IR measurement (Fabian) #10
[ ] Audio artifacts
[x] Add examples from sofar #31
[ ] Impulse response alignment
[ ] Loudspeaker equalization and cross-over (Marco)
[x] Binaural synthesis #24
[ ] Reverberation time (Marco)

Notebooks for the application gallery

[x] Overview of Filter Types (Fabian) #16

Final touches on Homepage

[ ] Sort notebooks
[ ] CC-BY logo in Notebooks not found (maybe must be added to static)
[ ] Switch for dar/light mode went away (probably edit conf.py)
[ ] Insert blank lines to unify layout of short package descriptions
[ ] Add image for coming next
[ ] Change number of colums to 3 or less (see mobile view) #36

@f-brinkmann The logo is directly included from the CC homepage. It seems, that VSCode is sometimes messing that up. On binder and readthedocs, this issue does not seem to persist.


Any support for lumi.airrtc.vrfegl01?

Looks like it has something in common with #101

#113

I'll look into it when I have some free time

I'll look into it when I have some free time

OK.


500 error on full-text search for bills endpoint

https://api.opencivicdata.org/bills/?q=Wisconsin

IIRC that isn't implemented, nice!

It's on its way!
https://github.com/opencivicdata/pupa/pull/190


Change in Document

[In general, the Strict protection profile tends to quarantine less harmful email (for example, bulk and spam) than the Strict protection profile, but many of the settings in both profiles are the same (in particular, for unquestionably harmful email like malware or phishing). For a comparison of the setting differences, see the tables in the next section.]
The word Strict which is highlighted in above paragraph from the document should be word "Standard".
Please make the correction.
Thank you!!

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

ID: d4194fdd-c5de-d424-319a-5e83774b36c2
Version Independent ID: 83997ad4-a9bd-146e-5da0-8022458cf3ea
Content: Order and precedence of email protection
Content Source: microsoft-365/security/office-365-security/how-policies-and-protections-are-combined.md
Service: microsoft-365-security
Sub-service: mdo
GitHub Login: @chrisda
Microsoft Alias: chrisda

@Chaitanya-Shirsat, fixed. In the future, you too can make fixes like this yourself without opening a GitHub issue first. Instructions are here.
Thanks for the feedback.
Closing


Fix chained comparisons to_s to work #4663

Fixed #4663
The ASTNode of 1 <= 2 <= 3 is to_s-ed to (1 <= 2) <= 3. Right side parenthesis is not required and it causes #4653 error.

Is this getting looked at? @RX14  or @matiasgarciaisaia :)


Allow setting falsey config values

I was having trouble setting config options to falsey values. For example, attempting to disable restartOnRequestAfter or elements by setting them to false would result in the default value, but setting it to a positive number would work fine.
This change checks for the existence of a property on the baseConfig.pace object when merging with the default values, rather than testing the truthiness of the value.

Any updates on merging that?

@grabbou no word yet :cry:

Switching tou your fork then as having pace preloader showing on every state change by default is useless (because it even triggers for static pages when animations take long)

Wooo!

@grabbou @andybluntish Sorry guys, I was on vacation.
Thanks a lot for the pull request, it's merged and 0.0.13 version is deployed to NPM. Please let me know, if something else might be improved!

@vectart No worries, glad to help. Hope you had a fun break.


Set alpha channel on return color in lv_color_to32

Set alpha channel on return color in lv_color_to32 for 8-bit to 32-bit
color conversions.

Good catch, thank you!


chore: Introduce EventSelector class

Fixes #2632

Benchmark results
No metrics with a significant change found.

Detailed results
All benchmarks are run on txs on the Benchmarking contract on the repository. Each tx consists of a batch call  to create_note and increment_balance, which guarantees that each tx has a private call, a nested private call, a public call, and a nested public call, as well as an emitted private note, an unencrypted log, and public storage read and write.
This benchmark source data is available in JSON format on S3 here.
Values are compared against data from master at commit 7002a332 and shown if the difference exceeds 1%.
L2 block published to L1
Each column represents the number of txs on an L2 block published to L1.

Metric
8 txs
32 txs
128 txs

l1_rollup_calldata_size_in_bytes
45,444
179,588
716,132

l1_rollup_calldata_gas
220,812
866,276
3,447,884

l1_rollup_execution_gas
933,956
3,968,750
24,791,420

l2_block_processing_time_in_ms
1,517 (+13%)
5,107 (-1%)
21,068 (-1%)

note_successful_decrypting_time_in_ms
309
929 (-3%)
3,394 (-1%)

note_trial_decrypting_time_in_ms
19.4 (-5%)
54.6 (-34%)
144 (+6%)

l2_block_building_time_in_ms
14,881
59,313
237,999

l2_block_rollup_simulation_time_in_ms
10,511
42,005 (+1%)
168,916

l2_block_public_tx_process_time_in_ms
4,339
17,226
68,757

L2 chain processing
Each column represents the number of blocks on the L2 chain where each block has 16 txs.

Metric
5 blocks
10 blocks

node_history_sync_time_in_ms
15,185 (-1%)
29,562 (+1%)

note_history_successful_decrypting_time_in_ms
2,427 (+10%)
4,401 (+1%)

note_history_trial_decrypting_time_in_ms
80.5 (-37%)
187 (+2%)

node_database_size_in_bytes
3,619,529
3,733,990

pxe_database_size_in_bytes
29,923
59,478

Circuits stats
Stats on running time and I/O sizes collected for every circuit run across all benchmarks.

Circuit
circuit_simulation_time_in_ms
circuit_input_size_in_bytes
circuit_output_size_in_bytes

private-kernel-init
213
44,681
25,561

private-kernel-ordering
165
43,753
14,809

base-rollup
1,068
128,338
881

root-rollup
80.9
4,088
709

private-kernel-inner
290
71,208
25,561

public-kernel-private-input
205
31,863
25,561

public-kernel-non-first-iteration
203
31,905
25,561

merge-rollup
8.42
2,608
881

Tree insertion stats
The duration to insert a fixed batch of leaves into each tree type.

Metric
1 leaves
2 leaves
8 leaves
16 leaves
32 leaves
64 leaves
128 leaves
512 leaves
1024 leaves
2048 leaves
8192 leaves

batch_insert_into_append_only_tree_ms
11.2
91.0 (+1%)
15.1 (+12%)
17.9 (+1%)
23.6 (-2%)
49.9 (-1%)
89.0 (-1%)
240 (-1%)
474
912
3,564

batch_insert_into_indexed_tree_ms
N/A
N/A
N/A
64.8
N/A
59.7
111
361 (-1%)
739 (-1%)
1,407
5,561

Miscellaneous
Transaction sizes based on how many contracts are deployed in the tx.

Metric
0 deployed contracts
1 deployed contracts

tx_size_in_bytes
15,455
32,231

Transaction processing duration by data writes.

Metric
0 new commitments
1 new commitments

tx_pxe_processing_time_ms
373
1,084

Metric
1 public data writes

tx_sequencer_processing_time_ms
537

@benesjan ready!


Tuples of lists of indices does not work as in numpy

Making a issue for posterity after showing this to Jim in the hallway.
This is in awkward 0.5.3.
from awkward import JaggedArray
test = JaggedArray.fromcounts([1,2,1],[1,2,3,4])
test[1,0]

results in 2, as expected.
test[[1],[0]]

results in:
array([[1],
       [2],
       [4]])

Which is incorrect compared to its equivalent for a 3x2 array in numpy (repeating values below to fill out dimension).
import numpy as np
temp = np.array([[1,1],[2,3],[4,4]])
temp[[1],[0]]

results in:
array([2])

and
temp[[1,0],[0,0]]

results in:
array([2, 1])

and
test[[1,0],[0,0]]

results in:
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/anaconda2/lib/python2.7/site-packages/awkward/array/jagged.py", line 608, in __getitem__
    index = (index.reshape(-1, len(head)) + self._starts.reshape(-1, 1)).reshape(-1)
ValueError: operands could not be broadcast together with shapes (2,2) (3,1)

I put this fix in a branch where I'm still developing the deep reducers, but that ought to be finished tomorrow. (They seem to be working already; I just need to generalize it to all awkward types, which involves introducing a concept of "deepest jagged" that I'll use to solve #56, so two-in-one.)
Check out how minimal the patch is. It's a typo and an isolated incident: there shouldn't be any references to self in this block of code; it's where we're chaining operations onto the output, where everything should happen on node. It was testing code that snuck into the implementation.
Here's your output with the fix:
>>> import awkward
>>> test = awkward.JaggedArray.fromcounts([1, 2, 1], [1, 2, 3, 4])'
>>> test
<JaggedArray [[1] [2 3] [4]] at 0x7f69164eef28>
>>> test[1, 0]
2
>>> test[[1], [0]]
array([[2]])
>>> test[[1, 0], [0, 0]]
array([[2, 2],
       [1, 1]])

Hi Jim, shouldn't the output be an array of dimension one?

Yikes! What is Numpy doing? I thought I understood all of its behaviors, but it's stepping out of line with the normal behavior of array[sel1, sel2] means "sel2 is a next-dimensional cross-section of what sel1 picked out.
For example,
>>> temp = numpy.array([[1, 2], [3, 4], [5, 6]])
>>> temp[:2, [0, 1]]
array([[1, 2],
       [3, 4]])

:2 picks the first two outer lists, [1, 2] and [3, 4], and then [0, 1] picks the zeroth and first elements from those. Thus,
>>> temp = awkward.JaggedArray.fromiter([[1, 2], [3, 4], [5, 6]])
>>> temp[:2, [0, 1]]
array([[1, 2],
       [3, 4]])
>>> temp[[0, 1], [0, 1]]
array([[1, 2],
       [3, 4]])

awkward-array does the same thing, regardless of whether the first selector is :2 or [0, 1].
But then Numpy does this???
>>> temp = numpy.array([[1, 2], [3, 4], [5, 6]])
>>> temp[[0, 1], [0, 1]]
array([1, 4])

I thought I had seen everything, but I guess not. I suppose the logic of this is that the tuple represents a pair of coordinate arrays...
>>> temp[[0, 1, 2], [0, 1]]
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
IndexError: shape mismatch: indexing arrays could not be broadcast together with shapes (3,) (2,)

Apparently. As far as I can tell, this is breaking the pattern established with the temp[:2, [0, 1]] example, but I see the use-case: you want all the elements that satisfy (i=0 and j=0) or (i=1 and j=1) (two elements), whereas awkward-array gives all the elements that satisfy (i=0 or j=0) or (i=1 or j=1) (four elements). But only if everything in the tuple is a sequence of integers, not if some are slices.
It would be hard to retrofit awkward-array to implement this exception to the rule. It's a recursive implementation in which each part only knows its own level of depth, then passes on the baton. Not necessarily impossible, but hard to think about.
Also, I think this Numpy behavior might only work for regular arrays, not jagged arrays (in general). I'll have to think about that. If so, then this could justify the different behavior. (Another example: the axis parameter is incompatible with jagged arrays.)

Thinking about it while walking, yes, it can be retrofitted. It's just a special case exception to the usual behavior, and will require more special case code.
I'll need to pass down some kind of a marker to indicate that we're in this case.

You know, if you have a jagged array that happens to be regular (all dimensions have constant size), you can convert it to a regular numpy array with array.regular().

Unfortunately I am not so lucky :-(
Fortunately I can work around this by instead making a list that is valargs = jagged.offsets[dim1args] + dim2args.
Where dim{1,2}args are the indices resulting from a search.
However, I think this is not the interface you would like to present to users!

 When I thought the rules we were targeting were simpler, I was more optimistic about implementing them all in complete generality in Numpy only. Now I'm beginning to think that the future compiled version of this wouldn't be just for a speedup, but also get get better parity with the original; maybe organize the code to mirror Numpy's.
This is still in the "feature-particle-matching-example" branch.


##[error]ADFT0029: Unknown object type: BigDataPool.

Hello Kamil,
Thank for you adding the new notebook activity type. However, we are receiving an additional error when deploying the new notebook activity. This is for when using a bigDataPool in synapse (Dedicated SQL Pool).
Error: ##[error]ADFT0029: Unknown object type: BigDataPool.
Thanks.

Released in ver.1.3


Change the “UPRM Emergency Network” value in index.h

Is your feature request related to a problem? Please describe.
This project was developed with Puerto Rico in mind, but I don't think you want new Duck networks sprouting up over the world with that name. Perhaps use generic text?
Describe the solution you'd like
Change the "“UPRM Emergency Network” value to something generic or specific to the user needs.
Describe alternatives you've considered
Not really sure what to use, perhaps something like "OWL Emergency Experimental Network" or something like that.
Additional context
None

Closing. Duplicate of #7


data which u reciev over onData is private

If u add a listner to onData u dont get the data
room.OnData += (object sender, MessageEventArgs e) => Debug.Log(e.data);

The data is private and so u cant accessible

Hey @Wenish,
I believe you need to cast the data to the type you're sending from the server-side. e.g.:
room.OnData += (object sender, MessageEventArgs e) => {
  IndexedDictionary<string, object> data = (IndexedDictionary<string, object>) e.data;
}


org.nextrtc.signalingserver.DaggerNextRTCComponent not found

hi,guys
I can not find the class of org.nextrtc.signalingserver.DaggerNextRTCComponent, how can i get this one?

Hello
The best way is to build project by maven  (mvn clean install) and later on
refresh yours IDE - This class is autogenerated one.
Best regards
05.08.2017 11:53 "leozhaocc"<EMAIL_ADDRESS>napisał(a):

hi,guys
I can not find the class of org.nextrtc.signalingserver.DaggerNextRTCComponent,
how can i get this one?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/mslosarz/nextrtc-signaling-server/issues/22, or mute
the thread
https://github.com/notifications/unsubscribe-auth/ADysRQGKp80JIURUt8PghCp2fwWnF-n2ks5sVDuygaJpZM4Oua0a
.

i understood, thank you very much!


Code Explanation

Explaining non-obvious design decisions in top-level comments
Guiding thru the overall structure/architecture
Adding typedocs to every public interface/constant/class/etc

Current Progress (checked indicates that documentation/comment polishing for that package has been merged into master):

[x] benchmark-utils
[x] lodestar
[x] lodestar-beacon-state-transition
[x] lodestar-cli
[x] lodestar-config
[x] lodestar-db
[x] lodestar-fork-choice
[x] lodestar-params
[x] lodestar-spec-test-util
[x] lodestar-types
[x] lodestar-utils
[x] lodestar-validator
[x] spec-test-runner

I'm starting this off by making sure we have our comments covered in lodestar-cli.  I'm thinking it's probably a good idea to break this up into chunks so we don't have a massive diff, if we end up needing a lot of more comments, so I will probably make a PR just for the lodestar-cli comment updates.

I'm moving on to continue this process for the lodestar-validator package

I just added the list of checkmarks above in @wemeetagain 's original comment.  I figured it might less less unwieldy than having an issue for every package.  If enough people disagree, I'll make issues for each package, but for now, if anyone starts working on this effort for a particular package, just say so.  That way we don't accidentally step on each others toes :)

i'm starting on lodestar-beacon-state-transition next

moving on to lodestar-fork-choice next

calling this done

calling this done


Newer songs on Deezer are downloaded in 128kbps only

I have noticed that songs starting from September 2021 (ish) are downloaded in 128kbps only. Older songs are downloaded as good as always. Deezer changed something? Hope we can get back to 320 kbps etc.

Encountering this issue as well; I wonder if 320 kbps files are no longer available or if the API just changed slightly.

I've read here and there about this. Apparently the Deezer API is blacking high quality tracks for free accounts/ARLs hence the issue. Not sure why this is not retroactive (and old songs are still available in HQ). So as far as I know, one needs a premium ARL to keep downloading HQ. I hope this can be worked around.


Update WriteMsg to return (int, error)

Discussed in https://github.com/coredns/coredns/issues/2317
This will be integrated into coredns in a follow-up pr in that repo.

Codecov Report

Merging #870 into master will increase coverage by 0.06%.
The diff coverage is 33.33%.

@@            Coverage Diff             @@
##           master     #870      +/-   ##
==========================================
+ Coverage   57.25%   57.31%   +0.06%
==========================================
  Files          41       41
  Lines       10534    10531       -3
==========================================
+ Hits         6031     6036       +5
+ Misses       3422     3416       -6
+ Partials     1081     1079       -2

Impacted Files
Coverage Δ

xfr.go
0% <0%> (ø)
:arrow_up:

client.go
62.15% <42.85%> (+0.64%)
:arrow_up:

server.go
66.35% <57.14%> (+0.15%)
:arrow_up:

msg.go
79.37% <0%> (+0.66%)
: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 450ab7d...325acf4. Read the comment docs.

Yeah, the whole thing becomes a very big mess if the two libraries don't agree on the interface. It didn't take long to update, if you're ever interested in making this change.


Failing co19 tests for regular expressions

This issue was originally filed by<EMAIL_ADDRESS>
The following tests fail on most backends (runtime, dart2dart, dart2js*)
LibTest/core/RegExp/Pattern_semantics/firstMatch_CharacterEscape_A06_t02
LibTest/core/RegExp/Pattern_semantics/firstMatch_DecimalEscape_A01_t02
LibTest/core/RegExp/Pattern_semantics/firstMatch_NonEmptyClassRanges_A01_t01
LibTest/core/RegExp/Pattern_semantics/firstMatch_NonEmptyClassRanges_A01_t05
LibTest/core/RegExp/Pattern_semantics/firstMatch_NonEmptyClassRanges_A01_t06
LibTest/core/RegExp/firstMatch_A01_t01

These are bugs in the co19 tests. See:
https://code.google.com/p/co19/issues/detail?id=740
https://code.google.com/p/co19/issues/detail?id=741
https://code.google.com/p/co19/issues/detail?id=742


Failed to retrieve a download URL for registry.opentofu.org/terraform-google-modules/github-actions-runners/google

Thank you for reporting an issue.
Open tofu failed to retrieve download url for registry.opentofu.org/terraform-google-modules/github-actions-runners/google//modules/gh-oidc, even when error clearly state the location for the module.
Full error code:
registry.opentofu.org/terraform-google-modules/github-actions-runners/google//modules/gh-oidc 3.1.2 from
registry.opentofu.org: failed to get download URL for
"registry.opentofu.org/terraform-google-modules/github-actions-runners/google": 200 OK resp:{
  "location": "git::https://github.com/terraform-google-modules/terraform-google-github-actions-runners?ref=v3.1.2"
}```

### OpenTofu Version

```shell
OpenTofu v1.6.0-dev
on darwin_arm64
+ provider registry.opentofu.org/alekc/kubectl v2.0.3
+ provider registry.opentofu.org/hashicorp/google v5.4.0
+ provider registry.opentofu.org/hashicorp/google-beta v5.5.0
+ provider registry.opentofu.org/hashicorp/kubernetes v2.22.0
+ provider registry.opentofu.org/integrations/github v5.45.0

OpenTofu Configuration Files
module "workload_identity_federation" {
  source = "terraform-google-modules/github-actions-runners/google//modules/gh-oidc"

  project_id  = data.google_client_config.gcp.id
  pool_id     = "project-pool"
  provider_id = "project-provider"
  issuer_uri  = "https://token.actions.githubusercontent.com"

  attribute_mapping = {
    "google.subject"                = "\"repository_id:\" + assertion.repository_id + \":repository_owner_id:\" + assertion.repository_owner_id + \":workflow:\" + assertion.workflow"
    "attribute.actor"               = "assertion.actor"
    "attribute.aud"                 = "assertion.aud"
    "attribute.repository_id"       = "assertion.repository_id"
    "attribute.repository_owner_id" = "assertion.repository_owner_id"
    "attribute.workflow"            = "assertion.workflow"
    "attribute.workflow_ref"        = "assertion.workflow_ref"
    "attribute.event_name"          = "assertion.event_name"
  }

  sa_mapping = {
    "terraform_prod" = {
      sa_name   = "projects/${data.google_client_config.gcp.project}/serviceAccounts/${google_service_account.terraform_executor.email}"
      attribute = "subject/repository_id:111111111:repository_owner_id:3333333:workflow:prod-terraform"
    }
  }
}

Hi @KacperMalachowski, would you be able to share which version of OpenTofu you are using?
I believe this is an issue with older versions of OpenTofu (pre-GA release).

Hi @Yantrio. I queickly checked that and yes. I had locally 1.6.0-alpha5 opentofu version from homebrew. Upgrading to 1.6.1 fixed the issue.
Sorry for inconvinece and thanks for quick help!