api: add new progression for waiting on user cleanup

Signed-off-by: Raghavendra Talur<EMAIL_ADDRESS>

Sample output
$ k get drpc -o wide -w
NAME          AGE   PREFERREDCLUSTER   FAILOVERCLUSTER   DESIREDSTATE   CURRENTSTATE   PROGRESSION   START TIME             DURATION   PEER READY
test-1-drpc   18h   rdr-dr1            rdr-dr2           Failover       FailedOver     Cleaning Up   2024-05-12T14:22:12Z              False
test-1-drpc   18h   rdr-dr1            rdr-dr2           Failover       FailedOver     Cleaning Up   2024-05-12T14:22:12Z              False
test-1-drpc   18h   rdr-dr1            rdr-dr2           Failover       FailedOver     Cleaning Up   2024-05-12T14:22:12Z              False
test-1-drpc   18h   rdr-dr1            rdr-dr2           Failover       FailedOver     Cleaning Up   2024-05-12T14:22:12Z              False
test-1-drpc   18h   rdr-dr1            rdr-dr2           Failover       FailedOver     Cleaning Up   2024-05-12T14:22:12Z              False
test-1-drpc   19h   rdr-dr1            rdr-dr2           Failover       FailedOver     Cleaning Up   2024-05-12T14:22:12Z              False
test-1-drpc   19h   rdr-dr1            rdr-dr2           Failover       FailedOver     Cleaning Up   2024-05-12T14:22:12Z              False
test-1-drpc   19h   rdr-dr1            rdr-dr2           Failover       FailedOver     WaitOnUserToCleanUp   2024-05-12T14:22:12Z              False
test-1-drpc   19h   rdr-dr1            rdr-dr2           Failover       FailedOver     WaitOnUserToCleanUp   2024-05-12T14:22:12Z              False
test-1-drpc   19h   rdr-dr1            rdr-dr2           Failover       FailedOver     WaitOnUserToCleanUp   2024-05-12T14:22:12Z              False
test-1-drpc   19h   rdr-dr1            rdr-dr2           Failover       FailedOver     WaitOnUserToCleanUp   2024-05-12T14:22:12Z              False
test-1-drpc   19h   rdr-dr1            rdr-dr2           Failover       FailedOver     WaitOnUserToCleanUp   2024-05-12T14:22:12Z              False
test-1-drpc   19h   rdr-dr1            rdr-dr2           Failover       FailedOver     WaitOnUserToCleanUp   2024-05-12T14:22:12Z              False
test-1-drpc   19h   rdr-dr1            rdr-dr2           Failover       FailedOver     WaitOnUserToCleanUp   2024-05-12T14:22:12Z              False
test-1-drpc   19h   rdr-dr1            rdr-dr2           Failover       FailedOver     WaitOnUserToCleanUp   2024-05-12T14:22:12Z              False
test-1-drpc   19h   rdr-dr1            rdr-dr2           Failover       FailedOver     WaitOnUserToCleanUp   2024-05-12T14:22:12Z              False
test-1-drpc   19h   rdr-dr1            rdr-dr2           Failover       FailedOver     WaitOnUserToCleanUp   2024-05-12T14:22:12Z              False
test-1-drpc   19h   rdr-dr1            rdr-dr2           Failover       FailedOver     WaitOnUserToCleanUp   2024-05-12T14:22:12Z              False
test-1-drpc   19h   rdr-dr1            rdr-dr2           Failover       FailedOver     WaitOnUserToCleanUp   2024-05-12T14:22:12Z              False
test-1-drpc   19h   rdr-dr1            rdr-dr2           Failover       FailedOver     WaitOnUserToCleanUp   2024-05-12T14:22:12Z              False
test-1-drpc   19h   rdr-dr1            rdr-dr2           Failover       FailedOver     WaitOnUserToCleanUp   2024-05-12T14:22:12Z              False
test-1-drpc   19h   rdr-dr1            rdr-dr2           Failover       FailedOver     WaitOnUserToCleanUp   2024-05-12T14:22:12Z              False
test-1-drpc   19h   rdr-dr1            rdr-dr2           Failover       FailedOver     WaitOnUserToCleanUp   2024-05-12T14:22:12Z              False
test-1-drpc   19h   rdr-dr1            rdr-dr2           Failover       FailedOver     WaitOnUserToCleanUp   2024-05-12T14:22:12Z              False
test-1-drpc   19h   rdr-dr1            rdr-dr2           Failover       FailedOver     WaitOnUserToCleanUp   2024-05-12T14:22:12Z              False
test-1-drpc   19h   rdr-dr1            rdr-dr2           Failover       FailedOver     WaitOnUserToCleanUp   2024-05-12T14:22:12Z              False
test-1-drpc   19h   rdr-dr1            rdr-dr2           Failover       FailedOver     Cleaning Up           2024-05-12T14:22:12Z              False
test-1-drpc   19h   rdr-dr1            rdr-dr2           Failover       FailedOver     Completed             2024-05-12T14:22:12Z   15h18m23.34414583s   True
test-1-drpc   19h   rdr-dr1            rdr-dr2           Failover       FailedOver     Completed             2024-05-12T14:22:12Z   15h18m23.34414583s   True
test-1-drpc   19h   rdr-dr1            rdr-dr2           Failover       FailedOver     Completed             2024-05-12T14:22:12Z   15h18m23.34414583s   True
test-1-drpc   19h   rdr-dr1            rdr-dr2           Relocate       FailedOver     Completed             2024-05-12T14:22:12Z   15h18m23.34414583s   True
test-1-drpc   19h   rdr-dr1            rdr-dr2           Relocate       Initiating     PreparingFinalSync    2024-05-13T05:42:00Z                        True
test-1-drpc   19h   rdr-dr1            rdr-dr2           Relocate       Relocating     RunningFinalSync      2024-05-13T05:42:00Z                        True
test-1-drpc   19h   rdr-dr1            rdr-dr2           Relocate       Relocating     WaitOnUserToCleanUp   2024-05-13T05:42:00Z                        False

Quick comment, update comment above setProgression to include this progression under the appropriate categories.

Done


No daily build nuget packages produced since 2017-09-19

The latest testfx "daily" build nuget package drops on myget.org are from 2017-09-19.
https://dotnet.myget.org/feed/mstestv2/package/nuget/MSTest.TestFramework
https://dotnet.myget.org/feed/mstestv2/package/nuget/MSTest.TestFramework/1.2.0-build-20170919-01
In particular, there are no package drops yet containing the [already merged] PR fix #277 solution to bug #249 for the problem when Assert.Inconclusive is used within an async test method.
The problem with the build glitch for recent packages since 09-19 has already been mentioned on discussion thread for issue #249, and from that thread the bug is already affecting / blocking several people / teams.
I am logging this issue as a standalone work item primarily for tracking purposes, because the bug fix work for #249 is already completed.

This issue has been resolved now.
Up to date myget build packages for testfx were produced on Tue, 10 Oct 2017 15:42:06 GMT.
https://dotnet.myget.org/feed/mstestv2/package/nuget/MSTest.TestFramework/1.2.0


discussion(playground): design and features

Playground design and features
The playground is the entry door to tests models. However as a developers, I might want to call the models directly to test it in my application. How do we empower the developers ?
Providing generated code in several languages to call directly the API
This is tricky as we do not want to support a tool responsible of generating the code, we might want to use something that already exists.
We are using the openia npm package to prompt the model server in our playground implementation today.

⚠ IMHO we should move away from this library as it is mainly made for calling Openia apis, and I would rather avoid promoting their system when we try to provide local, and open source models.

A nice alternative is to use openapi speicification. For example, the library mention above, is mainly a client for the following swagger github/openai/openai-openapi/openapi.yaml.
We could instead of using this library, generate a client for the given methods our server support, and call them directly. Moreover, since this is an open well known format, we could even display it in the playground
mockup playground with OpenAPI spec

Providing the curl command to replicates what happened in the playground
We should probably limit the magic that the playground is doing, to make it easily reproducible with basic command by the user. If we execute only basic curl command, we could use then tools such as curlconverter to provide code snippet for developers.

❓ I couldn't not find documentation, but if it is possible, we could also support "open in Postman". As a developers I like to reproduce easily in tool I am familiar with.

@axel7083 I like the idea of providing the user direct access to the model (and all its associated API's) from the playground.
The OpenAI OpenAPI might have endpoints that are not implemented by our server though. The current playground server exposes its API's at http://<IP_ADDRESS>:8001/docs and http://<IP_ADDRESS>:8001/openapi.json

I really like the logs section

Closing as resolved by PlaygroundV2


Error when using action: apko not found

Description
When using the apko-publish action, the following error is returned:
/bin/sh: /usr/bin/apko: not found

When debugging the issue, it appears that the image wolfi-dev/sdk should be used instead of wolfi-dev/apko:
echo PLEASE USE ghcr.io/wolfi-dev/sdk INSTEAD; exit 1
❯ crane config ghcr.io/wolfi-dev/apko:latest | jq .
{
  "architecture": "amd64",
  "author": "github.com/chainguard-dev/apko",
  "created": "2024-05-13T17:38:35Z",
  "history": [
    {
      "author": "apko",
      "created": "2024-05-13T17:38:35Z",
      "created_by": "apko",
      "comment": "This is an apko single-layer image"
    }
  ],
  "os": "linux",
  "rootfs": {
    "type": "layers",
    "diff_ids": [
      "sha256:b1e08228bcaad8a845ac36d9c2cfdb7da7d040e1311ed42fd79b1fbcb2851763"
    ]
  },
  "config": {
    "Cmd": [
      "-c",
      "echo PLEASE USE ghcr.io/wolfi-dev/sdk INSTEAD; exit 1"
    ],
    "Entrypoint": [
      "/bin/sh"
    ],
    "Env": [
      "PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
      "SSL_CERT_FILE=/etc/ssl/certs/ca-certificates.crt"
    ]
  }
}

+1 here. Seeing the same behavior that started some time within the last few days.


Add jam for windows to releases

Resolves #46
Signed-off-by: Andrew Meyer<EMAIL_ADDRESS>

Went ahead and PR'd in my original request #46. That said, I haven't fully validated jam for Windows. Are there any inherent incompatibilities that led to excluding Windows in the first place? Thanks!

This looks great. I don't know of anything off the top of my head that would make jam incompatible with Windows, but I've also not tried it.
One note, the PR should also update the workflow to create a draft release: https://github.com/paketo-buildpacks/packit/blob/8dfde6003401202f4520db53b78eacd81e496b56/.github/workflows/create-release.yml#L40-L62. In that section, you will need to include the Windows jam executable so that it gets included as an asset in the release.

This looks great. I don't know of anything off the top of my head that would make jam incompatible with Windows, but I've also not tried it.
One note, the PR should also update the workflow to create a draft release:
https://github.com/paketo-buildpacks/packit/blob/8dfde6003401202f4520db53b78eacd81e496b56/.github/workflows/create-release.yml#L40-L62
In that section, you will need to include the Windows jam executable so that it gets included as an asset in the release.

Thanks @ryanmoran. I had already included a change to the release workflow. Is there something I'm still missing?

No. I just failed to fully read the file names. 😞


fix(vue-jsx): support jsx imports with queries

Description
Fixes https://github.com/vitejs/vite/issues/7118
Additional context

What is the purpose of this pull request?

[x] Bug fix
[ ] New Feature
[ ] Documentation update
[ ] Other

Before submitting the PR, please make sure you do the following

[x] Read the Contributing Guidelines.
[x] Read the Pull Request Guidelines and follow the Commit Convention.
[x] Check that there isn't already a PR that solves the problem the same way to avoid creating a duplicate.
[x] Provide a description in this PR that addresses what the PR is solving, or reference the issue that it solves (e.g. fixes #123).
[x] Ideally, include relevant tests that fail without this PR but pass with it.

Any ETAs when this wonderful fix would be released? 😄

@baryla published as<EMAIL_ADDRESS>

Not sure if this is the correct spot for this, but I think I am facing the same issue but with the react plugin (and in a .js file).  I may be way off on why this is erroring out, but the query is the only thing I have come up with.  Any chance of getting this fix ported over to the react plugin as well if it is indeed the issue?  This is with the react-native-reanimated package that supports the web (and webpack is seemingly unaffected).
My error is ```bash
12:10:47 PM [vite] Internal server error: Failed to parse source for import analysis because the content contains invalid JS syntax. If you are using JSX, make sure to name the file with the .jsx or .tsx extension.
Plugin: vite:import-analysis
File: /Users/123/Documents/code/omniv1/node_modules/react-native-reanimated/lib/reanimated1/Transitioning.js?v=14818354
36 |        <TransitioningContext.Consumer>
37 |          {(context) => <Comp context={context} {...props} />}
38 |        </TransitioningContext.Consumer>
|                                        ^
39 |      );
40 |    };
at formatError (/Users/123/Documents/code/omniv1/node_modules/vite/dist/node/chunks/dep-9c153816.js:38098:46)
at TransformContext.error (/Users/123/Documents/code/omniv1/node_modules/vite/dist/node/chunks/dep-9c153816.js:38094:19)
at TransformContext.transform (/Users/123/Documents/code/omniv1/node_modules/vite/dist/node/chunks/dep-9c153816.js:69775:22)
at async Object.transform (/Users/123/Documents/code/omniv1/node_modules/vite/dist/node/chunks/dep-9c153816.js:38334:30)
at async doTransform (/Users/123/Documents/code/omniv1/node_modules/vite/dist/node/chunks/dep-9c153816.js:53030:29)
12:10:47 PM [vite] Internal server error: Failed to parse source for import analysis because the content contains invalid JS syntax. If you are using JSX, make sure to name the file with the .jsx or .tsx extension.
Plugin: vite:import-analysis
File: /Users/123/Documents/code/omniv1/node_modules/react-native-reanimated/lib/reanimated2/component/FlatList.js?v=14818354
19 |          return (<WrappedComponents.View layout={itemLayoutAnimation} onLayout={props.onLayout}>
20 |          {props.children}
21 |        </WrappedComponents.View>);
|                                   ^
22 |      };
23 |      return cellRenderer;
at formatError (/Users/123/Documents/code/omniv1/node_modules/vite/dist/node/chunks/dep-9c153816.js:38098:46)
at TransformContext.error (/Users/123/Documents/code/omniv1/node_modules/vite/dist/node/chunks/dep-9c153816.js:38094:19)
at TransformContext.transform (/Users/123/Documents/code/omniv1/node_modules/vite/dist/node/chunks/dep-9c153816.js:69775:22)
at async Object.transform (/Users/123/Documents/code/omniv1/node_modules/vite/dist/node/chunks/dep-9c153816.js:38334:30)
at async doTransform (/Users/123/Documents/code/omniv1/node_modules/vite/dist/node/chunks/dep-9c153816.js:53030:29)

Not sure if this is the correct spot for this, but I think I am facing the same issue but with the react plugin (and in a .js file). I may be way off on why this is erroring out, but the query is the only thing I have come up with. Any chance of getting this fix ported over to the react plugin as well if it is indeed the issue? This is with the react-native-reanimated package that supports the web (and webpack is seemingly unaffected).
12:10:47 PM [vite] Internal server error: Failed to parse source for import analysis because the content contains invalid JS syntax. If you are using JSX, make sure to name the file with the .jsx or .tsx extension.
  Plugin: vite:import-analysis
  File: /Users/123/Documents/code/omniv1/node_modules/react-native-reanimated/lib/reanimated1/Transitioning.js?v=14818354
  36 |        <TransitioningContext.Consumer>
  37 |          {(context) => <Comp context={context} {...props} />}
  38 |        </TransitioningContext.Consumer>
     |                                        ^
  39 |      );
  40 |    };
      at formatError (/Users/123/Documents/code/omniv1/node_modules/vite/dist/node/chunks/dep-9c153816.js:38098:46)
      at TransformContext.error (/Users/123/Documents/code/omniv1/node_modules/vite/dist/node/chunks/dep-9c153816.js:38094:19)
      at TransformContext.transform (/Users/123/Documents/code/omniv1/node_modules/vite/dist/node/chunks/dep-9c153816.js:69775:22)
      at async Object.transform (/Users/123/Documents/code/omniv1/node_modules/vite/dist/node/chunks/dep-9c153816.js:38334:30)
      at async doTransform (/Users/123/Documents/code/omniv1/node_modules/vite/dist/node/chunks/dep-9c153816.js:53030:29)
12:10:47 PM [vite] Internal server error: Failed to parse source for import analysis because the content contains invalid JS syntax. If you are using JSX, make sure to name the file with the .jsx or .tsx extension.
  Plugin: vite:import-analysis
  File: /Users/123/Documents/code/omniv1/node_modules/react-native-reanimated/lib/reanimated2/component/FlatList.js?v=14818354
  19 |          return (<WrappedComponents.View layout={itemLayoutAnimation} onLayout={props.onLayout}>
  20 |          {props.children}
  21 |        </WrappedComponents.View>);
     |                                   ^
  22 |      };
  23 |      return cellRenderer;
      at formatError (/Users/123/Documents/code/omniv1/node_modules/vite/dist/node/chunks/dep-9c153816.js:38098:46)
      at TransformContext.error (/Users/123/Documents/code/omniv1/node_modules/vite/dist/node/chunks/dep-9c153816.js:38094:19)
      at TransformContext.transform (/Users/123/Documents/code/omniv1/node_modules/vite/dist/node/chunks/dep-9c153816.js:69775:22)
      at async Object.transform (/Users/123/Documents/code/omniv1/node_modules/vite/dist/node/chunks/dep-9c153816.js:38334:30)
      at async doTransform (/Users/123/Documents/code/omniv1/node_modules/vite/dist/node/chunks/dep-9c153816.js:53030:29)

@gorbypark did you find any solution? 🥲


Add end method to ChunkedStreamDecoder for compatibility with Response

Fixes #61

:-1: This class implements the ReadableStreamInterface, while the end() method is only defined on the WritableStreamInterface. I'm aware of #61, but why is this method called in the first place?

end() is called because the stream coming into Response is a DuplexStreamInterface and close() kills off the response with an exception.
Another option to this issue is to check if $this->stream implements WritableStreamInterface before calling end().

I've just checked the Response class, afaict it actually violates the stream interface by calling end() within its close() method, so I think this should be fixed.
Also, afaict it doesn't really make sense this expects a DuplexStreamInterface in the first place, as it's only using its read-only side anyway. We should be able to change this to a ReadableStreamInterface without causing a BC break (Liskov substitution principle).
I'd vote for closing this one to keep this discussion and vote for somebody to file a new PR that fixes this in the Response instead :+1:

That makes even more sense, I'll close this PR and file a new PR shortly with the suggested change :+1: .


UnicodeEncodeError in tree.write(f, encoding='unicode')

Traceback (most recent call last):
File "main.py", line 94, in
tree.write(f, encoding='unicode')
File "C:\Users\xxxxxxx\AppData\Local\Programs\Python\Python37\lib\xml\etree\ElementTree.py", line 935, in _serialize_xml
write(" %s="%s"" % (qnames[k], v))
File "C:\Users\xxxxxxx\AppData\Local\Programs\Python\Python37\lib\encodings\cp1252.py", line 19, in encode
return codecs.charmap_encode(input,self.errors,encoding_table)[0]
UnicodeEncodeError: 'charmap' codec can't encode character '\u2194' in position 41: character maps to

Solved with this change (by using a supported encoding like 'utf-8) :
with open(newOSMLocation, 'w', encoding='utf-8') as f:
    tree.write(f, encoding='unicode')

Instead of :
with open(newOSMLocation, 'w') as f:
    tree.write(f, encoding='unicode')


[Q] progressively growing metric data load..

I'm having this kind of error. and after few hours it crashes with the wandb backend process shutdown.
Is this something to do with wandb.watch() ?
I'm using 4 watch() functions with log_freq of 100.
and also I'm visualizing the loss and 3 images via wandb by 100 step.
how can I fix this problem??

You'll need to remove or reduce the number of watch calls you're making.  They add a lot of data to the payloads and the maximum amount of data we allow is 10MB

Hi @yolkandwhite, I wanted to follow up on this request. Please let us know if we can be of further assistance or if your issue has been resolved.


[PROPOSAL] Adjust design to fit wide screen resolutions

What are you proposing?
I'm kindly asking to update website design to occupy more space on the screen. Unfortunately, the crucial part of the page is fixed on 740px width, which leaves too much blank space on any monitor of the 21st century. See pic below:

My screen has 2560*1440 resolution, so I have 3/4 of screen blank.
Furthermore, such restriction makes some parts of documentation unreadable, as you can see on the screenshot. It is table Options on this page.
What is the user experience going to be?

The text block dimensions should be adjusted and extended to the window size automatically;
A user should be able to hide navigation blocks on the left and on the right, which would allocate more space for the central block.
or
A user should be able to adjust size of side blocks manually. See Jira as a good example.

This was reported for v2.0.0, and fixed: https://github.com/opensearch-project/documentation-website/issues/554. Let me see if we can push the fix also in 1.3.x.

This has been implemented.

I confirm, great job!


Fix for permissions/admin page

This page looks messed up 😬

I noticed this issue, with the Fixes branch I opened but, worse 🤣 Will be fixed shortly, remember, it's only a Super Mega Ultra Unstable release.

Working on this now.

I've set it to Medium as you can still use the Admin Panel and it works fine but, this will be fixed this year during development.


Header images update

Header image typo fix

@ajitbohra If you have an account on https://wordpress.org then share your username with us, will add it to the list of developers.

@ashwch  username is "lubus" https://profiles.wordpress.org/lubus


DNS discovery should not trim final dot

I wish to question this line. It is commented:

// Remove the final dot from rooted DNS names to make them look more usual.

but why do we care how it looks?  A rooted name has a different meaning from a non-rooted name.
More practically, in a typical Kubernetes installation it causes 4-5 pointless DNS lookups as the search path is traversed.

The code has been there since the inception of the DNS SD [1] but I agree that it should be removed. Maybe @juliusv has some opinion?
[1] https://github.com/prometheus/prometheus/pull/297/files#diff-de6c481fa836cf8897a7b6d1ae60e5d5R74

Can we start by agreeing on the nature of the problem, which I think is something like:
“Prometheus alters the SD results it gets from a DNS SRV lookup by removing any final dot, transforming fully-qualified names into relative names. Removing this artefact proved to inconvenience some users, so we choose to retain it”
If we agree on this, I think my suggestion would be to add another Prometheus SD type which uses the unaltered DNS response.

@bboreham Fully agreed on the problem description. We probably wouldn't need a completely new SD type, but just add an option to the DNS SD?

During the discussions in the bug scrub we decided that it is better to provide the original value as a metadata.


update to Babel 7

This change is

Coverage remained the same at 100.0% when pulling 93b753592c2f735a55ba7721e7e404525df2ca9e on sergeyt:babel7 into 42d65093a36997bb87077e2ea8bf181bee0d4572 on AMorgaut:master.


Typings issue

Hello,
I just installed the latest stable version 4.10.1 with npm as well as typings 4.7.3 and if I use the code from the documentation Getting started, I have types error:
const history = createBrowserHistory();
Error : Type 'History' is missing the following properties from type 'History': scrollRestoration, state, back, forward, and 2 more.ts(2740)
Then, I try to get the current location:
const location = history.location;
Error : TS Property “location” does not exist on type 'History'.ts(2339)
Are typings not up to date or did I do anything wrong ?
Thanks !

It's likely the typings are not up to date. We don't maintain them in this repo, but we probably should. It's on my TODO list to bring them in.

Great, thanks !

@mjackson Hi, is there anything I can help a little in this issue? I am getting started with github.


Question related to the configuration

First of all, thanks for providing this starter kit. I'm using it, and it's very useful, so thanks for that.
I'm using your examples as a starting point, but I had a question on the TemplateExtension class. It's using an outputFile of type RegularFileProperty. This type is documented with the following:

Note: This interface is not intended for implementation by build script or plugin authors.

Which, to me, seems like this property maybe shouldn't be used when building a plugin. Any thoughts on this, and/or any recommendations what instead to do when pointing to a file or url? Just use a URL or String type?

never mind, I misread: you can use it, but you shouldn't implement the interface. Got it.


Create tutorial.md

  Astro Python SDK

  Tutorial

Introduction
This tutorial demonstrates how to use the Astro Python SDK through a simple ETL example that you can run on your local machine:

Extract a file from S3 into a Snowflake relational table
Transform that table in Snowflake
Load that transformed table into a reporting table in Snowflake

You'll need to use existing Amazon S3 and Snowflake accounts, or create some trial versions.

Let's do some setup
Install Airflow
For macOS, you can follow these steps:

Install homebrew:
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"

brew install pip

brew install python

Install Airflow:
pip3 install apache-airflow --constraint "https://raw.githubusercontent.com/apache/airflow/constraints-2.2.5/constraints-3.9.txt"

Initialize Airflow:
airflow db init

Set up your data stores
Set up S3
(TODO: add some generic instructions for setting up a trial S3 instance)
Upload this datafile from your local machine to your newly created aws bucket
order_id,customer_id,purchase_date,amount
ORDER1,CUST1,1/1/2021,100
ORDER2,CUST2,2/2/2022,200
ORDER3,CUST3,3/3/2023,300

Set up Snowflake
(TODO: Add some generic instructions for setting up a trial Snowflake instance)
Install Astro on your local machine

Install the Astro CLI, following the additional steps to create an Astro project.

In the project directory you just created, create a .env file using your favorite file editor:

AIRFLOW__CORE__ENABLE_XCOM_PICKLING=True
AIRFLOW__ASTRO__SQL_SCHEMA=<snowflake_schema>

Note: prior to running astrocloud dev start you'll need to navigate to your Docker Desktop application and double-click on it.

Check out your Astronomer Airflow UI at http://localhost:8080/

Setup Airflow connections
In your Astronomer Airflow UI select Admin-->Connectors

Connect S3 to Airflow
Click on the blue "+" icon to Add a new record
Set these fields:

Connection Id: aws_default
Connection Type: S3
Extra: {"aws_access_key_id": "<your_access_key", "aws_secret_access_key": "<you_secret_access_key"}

Connect Snowflake to Airflow
Click on the blue "+" icon to Add a new record

Connection Id: snowflake_default
Connection Type: Snowflake
Host: https://<account>.<region>.snowflakecomputing.com/. This is the URL where you can log into your Snowflake account
Schema:
Login:
Password:
Account:
Database:
Region: (something like us-east-1)
Role:
Warehouse:

Create and populate some tables in Snowflake
We'll create some auxiliary tables in Snowflake and populate with a small amount of data for our ETL example.

Create and populate a customer table to join with an orders table that we create with the Astro Python SDK:

CREATE OR REPLACE TABLE customers_table (customer_id CHAR(10), customer_name VARCHAR(100), type VARCHAR(10) )

INSERT INTO customers_table (CUSTOMER_ID, CUSTOMER_NAME,TYPE) VALUES ('CUST1','NAME1','TYPE1'),('CUST2','NAME2','TYPE1'),('CUST3','NAME3','TYPE2')

Create and populate a reporting table into which we'll merge our transformed data:

CREATE OR REPLACE TABLE reporting_table (
    CUSTOMER_ID CHAR(10), CUSTOMER_NAME VARCHAR(100), ORDER_ID CHAR(10), PURCHASE_DATE DATE, AMOUNT FLOAT, TYPE CHAR(10));

INSERT INTO reporting_table (CUSTOMER_ID, CUSTOMER_NAME, ORDER_ID, PURCHASE_DATE, AMOUNT, TYPE) VALUES
('INCORRECT_CUSTOMER_ID','INCORRECT_CUSTOMER_NAME','ORDER2','2/2/2022',200,'TYPE1'),
('CUST3','NAME3','ORDER3','3/3/2023',300,'TYPE2'),
('CUST4','NAME4','ORDER4','4/4/2022',400,'TYPE2')

Simple ETL workflow
Use your favorite code editor or text editor to copy-paste the following code into a *.py file in /dags/ directory.
Here's the code for the simple ETL workflow:

from airflow.decorators import dag
from astro.sql import transform, append, load_file
from astro.sql.table import Table, TempTable
from astro import dataframe as df
from astro import sql as aql
from datetime import datetime
from airflow.models import DAG
import pandas as pd
from pandas import DataFrame
from airflow.decorators import dag, task
from airflow.providers.snowflake.hooks.snowflake import SnowflakeHook
from airflow.providers.snowflake.operators.snowflake import SnowflakeOperator
from airflow.operators.python_operator import PythonOperator
from airflow.providers.snowflake.transfers.s3_to_snowflake import S3ToSnowflakeOperator
from airflow.providers.amazon.aws.hooks.s3 import S3Hook

S3_FILE_PATH = 's3://<aws-bucket-name>'
S3_CONN_ID = 'aws_default'
SNOWFLAKE_CONN_ID = 'snowflake_default'
SNOWFLAKE_ORDERS = 'orders_table'
SNOWFLAKE_FILTERED_ORDERS = 'filtered_table'
SNOWFLAKE_DATABASE = '<database>'
SNOWFLAKE_SCHEMA = '<schema>'
SNOWFLAKE_WAREHOUSE = '<warehouse>'
SNOWFLAKE_JOINED = 'joined_table'
SNOWFLAKE_CUSTOMERS = 'customers_table'
SNOWFLAKE_REPORTING = 'reporting_table'

@aql.transform
def filter_orders (input_table: Table):
   return "SELECT * FROM {{input_table}} WHERE amount > 150"

@aql.transform
def join_orders_customers (filtered_orders_table: Table, customers_table: Table):
    return """SELECT c.customer_id, customer_name, order_id, purchase_date, amount, type
    FROM {{filtered_orders_table}} fo JOIN {{customers_table}} c
    ON fo.customer_id = c.customer_id"""

@df
def transform_dataframe(df: DataFrame):
    purchase_dates = df.loc[:,"purchase_date"]
    print('purchase dates:',purchase_dates)
    return purchase_dates

dag = DAG(
    dag_id="astro_orders",
    start_date=datetime(2019, 1, 1),
    schedule_interval='@daily',
    catchup=False,
)

with dag:

    # Extract a file with a header from S3 into a Table object
    orders_data = aql.load_file(
        # data file needs to have a header row
        path=S3_FILE_PATH + '/orders_data_header.csv',
        file_conn_id=S3_CONN_ID, output_table=Table(database=SNOWFLAKE_DATABASE,conn_id=SNOWFLAKE_CONN_ID)
    )

    # create a Table object for customer data in our Snowflake database
    customers_table =
    Table(table_name=SNOWFLAKE_CUSTOMERS,conn_id=SNOWFLAKE_CONN_ID, database=SNOWFLAKE_DATABASE)

    # filter the orders data and then join with the customer table
    joined_data = join_orders_customers(filter_orders(orders_data),customers_table)

    # merge the joined data into our reporting table, based on the order_id .
    # If there's a conflict in the customer_id or customer_name then use the ones from
    # the joined data
    reporting_table = aql.merge(target_table =   Table(table_name=SNOWFLAKE_REPORTING,conn_id=SNOWFLAKE_CONN_ID,database=SNOWFLAKE_DATABASE,schema=SNOWFLAKE_SCHEMA,warehouse=SNOWFLAKE_WAREHOUSE),
        merge_table=joined_data,
        merge_columns=["customer_id", "customer_name"],
        target_columns=["customer_id", "customer_name"],
        merge_keys={"order_id": "order_id"},
        conflict_strategy="update")

    purchase_dates = transform_dataframe (reporting_table)

Run it!
In your Astronomer UI's home page, you should see a DAG called astro_orders. Toggle the DAG to unpause it:

Then, trigger it to run it:

Click on the astro_orders DAG name to see the tree view of its execution:

Walk through the code
Extract
To extract from S3 into a Table object, we need only specify the location on S3 of the data and a connection for Snowflake that the Python SDK can use for internal purposes:
# Extract a file with a header from S3 into a Table object
orders_data = aql.load_file(
    # data file needs to have a header row
    path=S3_FILE_PATH + '/orders_data_header.csv',
    file_conn_id=S3_CONN_ID, output_table=Table(database=SNOWFLAKE_DATABASE,conn_id=SNOWFLAKE_CONN_ID)
)

Transform
We can execute a filter and join in a single line of code to fill in a value for joined_data:
@aql.transform
def filter_orders (input_table: Table):
   return "SELECT * FROM {{input_table}} WHERE amount > 150"

@aql.transform
def join_orders_customers (filtered_orders_table: Table, customers_table: Table):
    return """SELECT c.customer_id, customer_name, order_id, purchase_date, amount, type
    FROM {{filtered_orders_table}} fo JOIN {{customers_table}} c
    ON fo.customer_id = c.customer_id"""

# create a Table object for customer data in our Snowflake database
customers_table =
Table(table_name=SNOWFLAKE_CUSTOMERS,conn_id=SNOWFLAKE_CONN_ID, database=SNOWFLAKE_DATABASE)

# filter the orders data and then join with the customer table
joined_data = join_orders_customers(filter_orders(orders_data),customers_table)

Merge
As our penultimate step, we call a database-agnostic merge function:
    # merge the joined data into our reporting table, based on the order_id .
    # If there's a conflict in the customer_id or customer_name then use the ones from
    # the joined data
    reporting_table = aql.merge(target_table =   Table(table_name=SNOWFLAKE_REPORTING,conn_id=SNOWFLAKE_CONN_ID,database=SNOWFLAKE_DATABASE,schema=SNOWFLAKE_SCHEMA,warehouse=SNOWFLAKE_WAREHOUSE),
        merge_table=joined_data,
        merge_columns=["customer_id", "customer_name"],
        target_columns=["customer_id", "customer_name"],
        merge_keys={"order_id": "order_id"},
        conflict_strategy="update")

Dataframe transformation
As an illustration of the @df decorator, we show a simple dataframe operation:
@df
def transform_dataframe(df: DataFrame):
    purchase_dates = df.loc[:,"purchase_date"]
    print('purchase dates:',purchase_dates)
    return purchase_dates

After all that, you'll find the meager output of this example in the logs of the final task:

To view this log output, in the tree view of the DAG, click on the green box next to transform_dataframe and then on "Log" button.


Issue with docs.zowe.org/stable/user-guide/start-zowe-zos/

Description

This page states:

With Zowe version 1, you can issue C command to stop Zowe main server. This is not supported in version 2 anymore. A P command is required to make sure Zowe components can be shuted down properly.

"shuted" is a typo
C is a CANCEL command which would "stop" Zowe server, but it's confusing to state that you issue a CANCEL command to "stop" as that mixes up two distinct MVS system commands.
Is this alert really necessary? Was STOP not accepted in the prior release?  If it was, I think this alert could be deleted entirely as we would just direct people to use the STOP command.

Pages to Update

Issue with docs.zowe.org/stable/user-guide/start-zowe-zos/
Screenshots

Expected behavior

Additional context

With Zowe version 1, you can issue C command to stop Zowe main server. This command is no longer supported in version 2. The P command is now required to ensure that the Zowe components shut down properly.

I agree. This is confusing. It almost seems, what we have written MVS command C, which is not supported in V2 :smile:
Doc and state for V1:

zowe-stop.sh is using CANCEL

I don't know, what is the reason to use cancel for stop

Suggested way is CANCEL for ZWESVSTC (Zowe Main Task)
And STOP for ZWESLSTC (launcher)

Based on the doc and code, this is simple and true:
In version 1, use C command for ZWESVSTC (Zowe Main Server).
Regardless the version, use P command for the ZWESLSTC (Zowe Launcher).


Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

    Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.
For the most up to date status, view the checks section at the bottom of the pull request.
Originally posted by @google-cla[bot] in https://github.com/googlecast/CastAndroidTvReceiver/issues/5#issuecomment-1336024426

Do you need help with the CLA process?

Hello, thank you for your contribution, however the samples are being maintained by Google. If there are any suggestions or issues encountered please open another issue.


[GEP-19] Support Prometheus PVC migration w/o subpath

How to categorize this PR?

/area usability
/kind enhancement
What this PR does / why we need it:
Some existing Prometheus instances might be deployed w/o subPath for their databases, but the current migration code does not support this scenario yet.
With this PR, it's possible to specify the old sub path and facilitate migration.
Which issue(s) this PR fixes:
Follow-up of #9543
Special notes for your reviewer:
Release note:

NONE

/cc @ScheererJ


Remove cucumber pro publish job

Details
Removing a failing task from circleCI
Motivation and Context
It's long been failing, and was added a while back: https://github.com/cucumber/cucumber-ruby/commit/24e3a2ec659a02ee7797375178de19eac7e41d0f
In the SHA @mattwynne you mention adding an SSH key. Was this done? As it keeps failing for invalid authentication
Just trying to tidy up the build process with @olleolleolle to get everything green and trustworthy again

@mattwynne Are we ok to merge this?

For sure! It would be good to set up publishing to Jam but we don't need to do it like this anymore.


How to access API

I am looking at the user guide, how do I access API?

Nervermind, I found it: http://localhost:8000/api/v1/

Hello, where to get api token?


Feature/tidharm-structure

Signed-off-by: tidharm<EMAIL_ADDRESS>

@samq-ws I resolved the conflicts, PR can be merged now.


Nav: Wheel encoder outlier detection

Outlier detection system for the wheel encoders. Based on the current system used for IMUs.

Codecov Report

Merging #142 (824a769) into master (70e5929) will decrease coverage by 0.40%.
The diff coverage is 0.00%.

@@            Coverage Diff             @@
##           master     #142      +/-   ##
==========================================
- Coverage   38.94%   38.54%   -0.41%
==========================================
  Files          66       66
  Lines        3782     3822      +40
==========================================
  Hits         1473     1473
- Misses       2309     2349      +40

Impacted Files
Coverage Δ

src/navigation/navigation.cpp
10.49% <0.00%> (-1.59%)
:arrow_down:

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 70e5929...824a769. Read the comment docs.


Hoisted functions defined after control flow exits scope are not type checked

c is not declared, but file type checks:
/* @flow */

function a(a:number) {
    return b(a);

    function b(b) { return c + 1; } // c is not declared
}

a(1)

See #205.
Flow 0.23.0

Also in 0.24.2

This is fixed in the latest version of Flow 👍
https://flow.org/try/#0PQKgBAAgZgNg9gdzCYAoVUCuA7AxgFwEs5swBDACjIC5tMBbAIwFMAnASjAG9Uw+xWzfJlalGVdgG50-MFjxESYcY05cBQkaVxgA1GACMksAF8wwYGB2EAzmGxx8YACbNcMMoOeoT6SgfYgA


Weather App not showing up in OSE after Skin change

I noticed you guys updated the screen weather app skin. For some reason on the screens the weather info does not show up but it does show up if I put the URL in a separate browser for testing.
I went as far as reconfiguring the weather app to make a new URL and adding it back to screenly and same result of no data showing on the screenly screens but it does in a new browser on my desktop for example. What can be the cause and how should I fix it?

We've tested it on OSE and it should work fine. Only chance is that if you are running the 'old' production release. If so, you're still using the old generation browser, where it is very plausible that it is broken.
The solution is to upgrade or re-install the latest release as per the updated installation instructions.


Getting groups user is in

I am able to use "primaryclanid" fine to retrieve the users primary group.
But how could i take this script further to retreive all the group ID the user is in?
I would use this to check if they have joined my steam group, by comparing the list of returned group IDs.
Thanks alot.

Unfortunately that is a bit more complicated because you cannot directly get the user's group list.
Instead you need to call the memberlist of your group and check if the user is in it.
For example http://steamcommunity.com/gid/103582791429521412/memberslistxml/?xml=1 (for VALVE group). Replace the number after /gid/ with your group's unique ID. It returns XML so you might have to dig into that a bit.

 Sorry for grammarfaults, I'm typing this on phone.

You could, but its a violation of valve's TOS, slow and dirty.

Oh, OK, nvm then :x


Add notes on Firestore indexes

What this PR does / why we need it:
Which issue(s) this PR fixes:
Fixes #
Does this PR introduce a user-facing change?:

NONE

/lgtm

Modified taking your advice!

Modified taking your advice!

Thanks 🙏

😁
/approve


Remove unused "get_or_create_main_db" statements

@michellethomas @timifasubaa , any idea why this was added originally? git blame points to there SHAs:

8dd052de4 - PR: https://github.com/apache/incubator-superset/pull/4565/files
d40ded0be - PR: https://github.com/apache/incubator-superset/pull/5693 (appears unrelated, statement was only moved here...)

Nevermind...


Deduplicate script fetches

As of #20, if n interest groups in a single auction all use the same biddingLogicUrl, we fetch it n times. This is clearly undesirable.

Does this actually cause multiple fetches on the wire? I would expect them to hit the browser cache, and be very fast?

Good question. In principle it could always depend on the cache headers, and explicit reliance on browser cache has bitten us before in other contexts. I think it's probably better to do whatever Chrome does; I vaguely recall that they do explicit deduplication, but I'm not confident in that and should check.

Also, the fetches go out in parallel, not serially. Does Chrome wait for the first response in that case to see if it's cacheable? If not then this won't work.

(I do not currently make any attempt at all to test the interaction of any of this code with browser-cache behavior. I'm not sure to what extent Service Workers make this possible.)

It should work fine with parallel requests: chrome or any other browser will notice that it has multiple outstanding requests for the same resource, and wait for them to come back


[WIP] Replace DHTMLX toolbar

@epwinchell PR on your request

@jzigmund : You are moving a lot of the logic down to the view partial here. I am afraid we need to go the other way round. Instead of hashes we need classes to represent parts of the toolbar and we need methods on those classes or methods that will work with those classes to contain the logic that I see in the view in your PR. Get to me when you are available to talk about it, please.

@martinpovolny I'm supporting your idea about the classes, class methods, as you can recall we made a deal about the splitting work (you wanted to create the back-end - classes and proper method with all needed logic, I was working only on the UI part, so I've tried to use existing parts as much as I could. I'm fully at peace with removing all the new UI methods those I've created). I've done this PR on demand because @epwinchell could set proper CSS styling during my PTO.
Yes, let's get in touch for next cooperation

@dclarizio @martinpovolny @skateman updated PR.
Done:

removed dhtmlx js libs/css/images
cleaned the app/helpers/application_helper/toolbar_builder.rb (basically I moved methods related to build toolbars to new presenter class)
cleaned up the building methods from the "dead code" (i.e. we are going to not use XML definition for rendering toolbar)
defined new hash object based on YAML definition of toolbar
updated CSS styles based on new patternfly gem version (in app/views/layouts/_dhtmlxtoolbar.html.haml)
https://rawgit.com/patternfly/patternfly/master/tests/toolbar.html merged in https://github.com/ManageIQ/manageiq/pull/4752

ToDo:

finish the route/url building for toolbar buttons
write client-side JS (as far as I know @skateman is working on that)
moar testing (till now I used for testing only few parts of the application - mostly Cloud/Providers and CI/Reports but also other views working. In some special views could missing some building methods from application_helper/toolbar_builder.rb, they should be just moved to the presenter with small refactoring)
write rspecs

I'm a bit sad that from current point seems that the PR has competitive PR https://github.com/ManageIQ/manageiq/pull/4853 .. I don't understand to not work on one PR (although I see and understand the intension of creation the lazy rendering) .. I've spent on this a lot of hours, days, nights (in last 2 weeks) so I'm not amused with divergent ways.


Fix swerve drift

After the robot is driving for a bit, the encoder and swerve modules get out of sync. We need to sync the encoders on teleop init and autonomous init.

This should be resolved with fixing the swerve. The encoders will now automatically re-sync when the robot is not moving


in a "clusterctl move" the IPAM resources are not migrated to the new cluster

When a cluster is moved from a CAPI manager to another with
clusterctl move
the IPAM resources (GlobalInClusterIPPool, InClusterIPPool, IPAddressClaim and IPAddress) are not migrated to the destination CAPI management cluster.
The IPPool needs to be created beforehand on the destination, and the IPAddresses end up being different than on the source (luckily the IPAM controller does not try to change the VMs).

/assign


Github action build-and-test fails randomly

fail on make go.test.coverage

https://github.com/envoyproxy/gateway/actions/runs/3406968389/jobs/5666166782

fail on make conformance v1.23.6

https://github.com/envoyproxy/gateway/actions/runs/3407232578/jobs/5666696862

fail on make conformance v1.24

https://github.com/envoyproxy/gateway/actions/runs/3407315316/jobs/5666855486

Error from server (InternalError): error when creating "internal/provider/kubernetes/config/samples/gatewayclass.yaml": Internal error occurred: failed calling webhook "validate.gateway.networking.k8s.io": failed to call webhook: Post "[https://gateway-api-admission-server.gateway-system.svc:443/validate?timeout=10s](https://gateway-api-admission-server.gateway-system.svc/validate?timeout=10s)": x509: certificate signed by unknown authority

I think we should wait job completed, but not 100%

Probably right, the cert might not be generated, so the auth is failed.


enable phase interrupt/continue in PlanResource  && enable custom resource endpoint BrokerController in kafka

PlanResource
KafkaService
BrokerController

retest this please

retest this please


Remove boilerplate

It would be good if Felling had a method which used the config json to remove a log messages boilerplate and just return the log messages content

Not sure how to split up a log message based on the log format


[docs] Remove remnants Hidden component

[x] I have followed (at least) the PR section of the contributing guide.

I realized that there are still remains of the extinct component Hidden 😄

uhm? why? what was wrong with it?


running server: opening server: starting DisCo: joining an existing cluster is unsupported

I want to build a new cluster, but when I write cluster-url = "http://my-ip:10401" in conf, that tell me :  running server: opening server: starting DisCo: joining an existing cluster is unsupported

"__type":"InvalidParameterException","message":"Missing required parameter USERNAME"

@rxl19990103 How did you solve this problem?


Added popup if a key has already been assigned to another action.

Contains
Added a fix for issue #2552 where if a key has already been mapped to another action, a popup is raised which asks the user to confirm the change. It opens a popup instead of flashing a red error message because I think that will look slightly out of style.
How to test
To test -

Open the Input section in the Settings screen.

Click on button to map.

Choose a key that has already been assigned for another task. (Say S when you're rebinding W)

Select OK to continue with the rebinding or cancel to go back and reconsider.

Can one of the admins please verify this patch?

I haven't used IDEA before so I'm guessing it was the auto-complete / auto-import feature which made me import things when I was trying things haha! Changed will be made soon. 👍

I have made the necessary changes. 😄

Thanks for the contribution, merged! 😄  Also added you to the game credits.


4 CVEs have CPE that lack vendor/product information

4 CVEs have CPE that lack vendor/product information
cpe:2.3:o:-:-:-:::::::*
CVE-2024-3979
CVE-2024-30974
CVE-2024-32566
CVE-2024-4014

@patrickmgarrity I've passed this up to the analysts to examine and fix upstream. Our systems were going through some pretty rapid development cycles as this effort ramped up, so this may have been the result of a bug during that time.


Installer should allow selection of installation location / path

Following up on this issue, I tried following these instructions to reinstall Atom, using the AtomSetup-x64.exe for v1.42.0.
The first few times, the installation failed, sometimes silently (after "Atom will launch when the installation is complete, that view disappeared and nothing else happened) and sometimes with an explicit error.  Clicking to view details, I found a "squirrelSetup" file noting that that Atom was attempting to install into the Microsoft Teams installation directory.  Why? No clue.  The issue was further confused because pinned shortcuts still worked to open Atom, despite Windows reporting that the app had been completely uninstalled, and the directories in the provided instructions no longer existing.  (Apparently it had been opening code at C:\Users\username\Programs\Atom x64\atom.exe, perhaps from a portable version.)  These difficulties reinforced the perception that upgrading Atom is not quick & easy and that it's important to wait until a time when greater disruption can be tolerated and more time is available for debugging.
Further, there are some use cases for allowing people to choose where to install an app.  This is why many other applications allow you to specify the install directory as part of the installation procedure.
I don't know specifically why my installation attempts repeatedly failed or eventually succeeded; that would be filed as a separate issue even if I had reproducible steps handy.  However, I do know that not being able to know where Atom was installing to made the issue harder to debug, and it definitely shouldn't have been trying to install into the Teams subdirectory.  I also know that in other installations I have sought to customize the install location when running the installer and been unable to do so, and would like to be able to do that.  This feature request is exclusively for adding an option to customize the install path to the installer.

As a follow-up, in addition to the automatically linked issues above, #20299 contains some additional information about the install failures.  However, this present issue should remain focused on adding an option to customize the install path in the installer.

Thank you for contributing!
We require the issue template to be filled out on all new issues and pull requests. We do this so that we can be certain we have all the information we need to address your submission efficiently. This allows the maintainers to spend more time fixing bugs, implementing enhancements, and reviewing and merging pull requests. Please open a new issue and fill out the template for us.
Thanks for understanding and meeting us half way :grinning:

Also, this is a specific design decision that reduces the support load. If you want to customize where Atom is installed you can use the zip file method.

@lee-dohm FYI, your link to the issue template returns 404.
However, the issue template for feature requests (which this is, so that template is what this post started with) is relatively thin.  It requires a summary (which I put in the summarizing title, and in bold), motivation (Why are we doing this? What use cases does it support? What is the expected outcome?) which is the bulk of the text, and why I included information about the installation failures that I think is otherwise not particularly relevant, additional context which is incorporated in providing a context-rich description, and describe alternatives you've considered.
Only the latter is missing from the above post and that's because the primary alternative is the status quo: Atom installs to wherever it currently installs to, with no user option.  To me, the "status quo alternative" is always implicit and I didn't think it needed to be made explicit, but here it is as an addition to the post.
Further, I could go through each of the lines in documentation about how to customize Atom after it's been installed, but none of them address how to customize in the installer and there is no documentation about installer customization options because there currently are none.  I also thought going into detail describing that would be a waste of time and more an obstacle than a help to all the more useful tasks you enumerated ("fixing bugs, implementing enhancements, and reviewing and merging pull requests").
IMHO, I think this issue satisfies the template requirements and should be reopened.

Thanks for the pointer on the broken link 🙇♂
As far as whether your submission includes all the required information from the template or not, we require people to use the template so that we can more efficiently evaluate the submissions that people give. One of the ways that this is achieved is that people who have less experience or in depth knowledge of the project can quickly skim to verify that all the right information is there, then someone with more experience can go back, read the whole thing, and evaluate it. This saves the maintainer team time overall, which, as I stated in my response before means that more time can be spent fixing bugs, implementing enhancements, and reviewing and merging pull requests.
Regardless of whether this satisfies the template requirements, we aren't going to be adding an option to the installer to customize the installation location. Your suggestion of improving the documentation to talk about how to install atom in a custom location is a good one though. An issue or pull request for this kind of change in https://github.com/atom/flight-manual.atom.io would be welcome.

Also, this is a duplicate of this previous issue.

@lee-dohm Thanks for the dupe-pointer.  I had searched for "install location" with a non-default to include closed issues, but hadn't found that one.
Reading through other related issues, I think a PR in documentation might be appropriate.  However, after reinstalling, I seem to have lost the "Open with Atom" item in context menus, even after restoring preferences via the instructions in the second link in the Issue, and can't seem to get Pin to Start working when unzipping to install.  I would not want to recommend the ZIP install strategy without documenting workarounds to get these pieces of functionality back, to allow people to reopen Atom after first installation.


visdom starting error

Hi guys... I'm new to visdom. Please help me out. I'm getting this error while i'm just running demo code... I have run the command "python -m visdom.server" before running my code and opened in browser getting. see the attachment.
code is:

import visdom
import numpy as np
vis = visdom.Visdom()
vis.text('Hello, world!')
vis.image(np.ones((3, 10, 10)))
WARNING:root:Setting up a new session...
ERROR:visdom:Connection is already closed.
ERROR:visdom:Connection is already closed.
ERROR:visdom:Connection is already closed.
WARNING:visdom:Visdom python client failed to establish socket to get messages from the server. This feature is optional and can be disabled by initializing Visdom with use_incoming_socket=False, which will prevent waiting for this request to timeout.

Hi @aamirk5 - do you still have the issue if you update the code and set use_incoming_socket to False as suggested? It's possible you need to update some packages (request, websockets) as I tend to only see this failing over localhost when an underlying package is out of date and the system perceives it as a security issue.

Hi @JackUrb..... thanks for your help... yes, i updated the packages you mentioned but still the same error...and when i did this vis = visdom.Visdom(use_incoming_socket=False) i got the below warning and still no display....
import visdom
import numpy as np
vis = visdom.Visdom(use_incoming_socket=False)
vis = visdom.Visdom()
vis.text('Hello, world!')
vis.image(np.ones((3, 10, 10)))
WARNING:root:Setting up a new session...
WARNING:visdom:Without the incoming socket you cannot receive events from the server or register event handlers to your Visdom client.
second try...
import visdom
import numpy as np
vis = visdom.Visdom(use_incoming_socket=False)
vis = visdom.Visdom()
vis.text('Hello, world!')
vis.image(np.ones((3, 10, 10)))
Setting up a new session...
Connection is already closed.
Connection is already closed.
Connection is already closed.
Visdom python client failed to establish socket to get messages from the server. This feature is optional and can be disabled by initializing Visdom with use_incoming_socket=False, which will prevent waiting for this request to timeout.
I'm using python==3.6.5, visdom==<IP_ADDRESS> websockets==8.1 and requests=2.23.0...

What does it say on the process that's running visdom.server?

@JackUrb this

@aamirk5 Why it is Offline?

@JafferWilson i don't know... is there any problem with offline? how to make it online?

@aamirk5 Just click on the offline button and check if it becomes online. If not then please remove the visdom and reinstall it once again. I guess it will help you. Sometimes moving a step back helps a lot.

@JafferWilson no,, button isn't working.... and i reinstall as you said but still not working,,, it's still offline........

@JackUrb this

Sorry, this isn't the console that's running the server - in order to see what's going on I need to see the process (in a terminal window or somewhere) that is hosting this page.

@aamirk5 What @JackUrb  want to see is how you have started this page. You might have tried visdom on your command prompt or python -m visdom.server.
Just run any of the above an show the command window.
There are certain logs, that will make sense.

Closing as I don't have enough information to move forward and I never saw the server console output.

yeah thank you so much, my problem has been solved... that was because of some malware in my computer preventing the http connections...


Fixed #25617 -- Added case-insensitive unique username validation in UserCreationForm

Fixes #25617
Renamed original UserCreationForm to BaseUserCreationForm. The new UserCreationForm is a subclass of BaseUserCreationForm with one additional method that checks if a username already exists that differs only in case. Created one additional test ("test_user_already_iexists") for the new behavior and provided different username where necessary to make sure the old tests pass.

The docs fail to build due to a reference error. Not sure what I'm doing wrong. Am I not using the Sphinx syntax correctly? Thanks for the input!

Thanks for the comments and suggestions! After rebasing on upstream/main I noticed that UserCreationForm had been modified by #16333 since I took up the ticket, hence there were some merge conflicts to deal with. Most of it is pretty straightforward, I think, but I'm not entirely sure about the documentation part. Let me know if this needs to be improved. Happy holidays!

@pi-sigma Welcome aboard :boat:


Provide helm values via secrets or configmaps

Is your feature request related to a problem? Please describe.
When you have many Helm charts to install that require a lot of values the only way to pass these values is via the "values" parameter.
Describe the solution you'd like
It would be great if a reference can be given to a configmap or secret so that it's easier to both provide secret values to a chart but also help organise the ClusterProfiles.
A similar functionality is "PolicyRef"
policyRefs:

name: requirements
namespace: default
kind: ConfigMap

This works really great for one-off yaml files that need to be applied such as CRDs.
Describe alternatives you've considered
There isn't really a great alternative at the moment. One can install Helm Controller (https://fluxcd.io/flux/guides/helmreleases/#refer-to-values-in-secret-generated-with-kustomize-and-sops) and manage helm charts separately but this just adds more tools to manage and keep an eye on.
Additional context
Add any other context or screenshots about the feature request here.

Proposing this:
	// Values field allows to define configuration for the Helm release.
	// These values can be static or leverage Go templates for dynamic customization.
	// When expressed as templates, the values are filled in using information from
	// resources within the management cluster before deployment.
	// +optional
	Values string `json:"values,omitempty"`

	// ValuesFrom can reference ConfigMap/Secret instances. Within the ConfigMap or Secret data,
	// it is possible to store configuration for the Helm release.
	// These values can be static or leverage Go templates for dynamic customization.
	// When expressed as templates, the values are filled in using information from
	// resources within the management cluster before deployment.
	// +optional
	ValuesFrom []ValueFrom `json:"valuesFrom,omitempty"`

with
type ValueFrom struct {
	// Namespace of the referenced resource.
	// For ClusterProfile namespace can be left empty. In such a case, namespace will
	// be implicit set to cluster's namespace.
	// For Profile namespace must be left empty. The Profile namespace will be used.
	Namespace string `json:"namespace"`

	// Name of the referenced resource.
	// +kubebuilder:validation:MinLength=1
	Name string `json:"name"`

	// Kind of the resource. Supported kinds are:
	// - ConfigMap/Secret
	// +kubebuilder:validation:Enum=ConfigMap;Secret
	Kind string `json:"kind"`
}

Fixed. Will be available in v0.29.0


Ant Design Vue - Dropdown menu item group not rendered

Environment

Operating System: Darwin
Node Version:     v21.6.1
Nuxt Version:     3.10.1
CLI Version:      3.10.0
Nitro Version:    2.8.1
Package Manager<EMAIL_ADDRESS>Builder:          -
User Config:      build, modules
Runtime Modules<EMAIL_ADDRESS>Build Modules:    -

Reproduction
https://codesandbox.io/p/devbox/nuxt-minimal-cvvr79?file=%2Fapp.vue
Describe the bug
Hi, I'm using Nuxt with Ant Design Vue for my project, but the menu item group is not rendered
Additional context
I also tested without Nuxt, only ant-design-vue and it works. Here is codesandbox for that: https://codesandbox.io/p/sandbox/antd-vue-minimal-jyvy6h?file=%2Fsrc%2FApp.vue%3A14%2C12
Logs
No response

Would you check with Vue SSR (without Nuxt)?
https://stackblitz.com/github/nuxt-contrib/vue3-ssr-starter

Hi @danielroe
I have tested and it's not rendered

So, is it Vue SSR issue?

Thank you for checking. I would guess it's probably an issue with Ant Design Vue. I would suggest raising an issue there first, and if they think it's a Vue SSR issue then you can take things to vuejs/core.

Thanks for helping me to address it


Update _index.md

Creating an index page for the learn section to introduce all the various learning resources pages. Note that the images will need updating - but this is to create the overall format and the text. the Articles page has been removed to be considered at a later date in line with the latest discussions on that.

Closing as @voborgus did a super job including the text in the existing format.

@claredillon given that this PR is closed, I assume it is fine to delete the branch?


Tenor queries need to be encoded with %20, not +.

Describe the bug
Kagi encodes spaces in !tenor searches as +, and Tenor doesn't decode those back to spaces, so queries become malformed on Tenor's end.

To Reproduce
Steps to reproduce the behavior:

Use the !tenor bang with a search term that includes spaces
Observe that Tenor searches for the same term, but filled with plus signs
Manually change the Tenor search to use spaces
Observe that Tenor preserves the spaces, and also shows different results

Expected behavior
Tenor sees the search as having spaces
Additional context
This is not just an aesthetic concern. Tenor produces different search results with +- spaces vs actual-space-spaces.

I'm still seeing malformed queries:

Ah my bad, should be online later this week / next week.


Updated unit tests for mapnik 3.3.1 with different rounding in mapnik…

…-vector tiles

/cc @springmeyer

this is not passing yet because the node-mapnik which fix it are still in process of being built (https://travis-ci.org/mapnik/node-mapnik/builds/65939231). But I confirmed on a local linux machine that these are fixed. So, this pull should go green once rebuilt after updated binaries are available.

yay, finally passing on travis: https://travis-ci.org/mapbox/tilelive-bridge/builds/67929035

over here now: #50


Introducing actions

Codecov Report

Merging #22 (f2e8c1c) into main (51b08b9) will decrease coverage by 3.49%.
The diff coverage is 58.92%.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
@@            Coverage Diff             @@
##             main      #22      +/-   ##
==========================================
- Coverage   83.88%   80.39%   -3.49%
==========================================
  Files           4        4
  Lines         273      352      +79
==========================================
+ Hits          229      283      +54
- Misses         37       55      +18
- Partials        7       14       +7

Impacted Files
Coverage Δ

openpgp/openpgp.go
57.03% <58.92%> (+15.96%)
:arrow_up:

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


fix(02,06,07): suggested by LiamGoodacre

attempt to fix #73
@avigad and @LiamGoodacre: Could you review the changes?

Yes, those are helpful fixes. There is still one typo in 07: "can be find" should be "can be found". If you don't fix it now, though, I'll fix it during the week. I have a round of corrections to make to 08 and 09.

06 now wouldn't type check;
Previously:
definition pr2 {A B : Type} (p : A × B) : A :=
prod.rec_on p (λa b, a)

The a was changed to b without updating the result type:
definition pr2 {A B : Type} (p : A × B) : A :=
prod.rec_on p (λa b, b)

The result type should be B, as in:
definition pr2 {A B : Type} (p : A × B) : B :=
prod.rec_on p (λa b, b)

Right.. I'll fix it soon.

@LiamGoodacre, thanks for finding those issues. I've only fixed up to chapter 6.
@avigad, I didn't change chapter 7 and 8 to prevent merge conflicts.

I won't be able to work on the tutorial again until Tuesday afternoon or Wednesday.
Are there proposed changes to 7 and 8? If so, please feel free to make them.

I will do that this morning.

@avigad, it's done by 1b0ae9b92b6a68b499724ed09fb48f431a486117 andb53b26bf92a36a1d6174dfa9f7b27b1610836eea.

@soonhokong you're welcome.  I enjoyed the tutorial, I went through the whole thing in an afternoon :)

@LiamGoodacre
Thanks, Liam, this is really encouraging. There is a long way to go, and we really appreciate your willingness to experiment with Lean at this early stage.


Separate examples workflows

These should live in their own context menu/section on the workflows view

Added in ab1d7c3


Transliteration

I Wonder if it’s possible to do real time audio to text ?
then coukd translate the text and show it in the bottom of the screen or in a side chat window specific to each users own language.
Then you could do video meeting with many people where none of them speak anyone else’s language !!
hope this is the right repo to raise this in.
anyway even if this is not fully possible yet , if the hooks are there we could work on getting the transliteration workers going

This is possible with Track Egress and a third party translation service.

Hey @gedw99,
You can take a look at our demo KITT, there is an implementation of realtime transcription using Google Speech To Text. This might be a good starting point for your needs.

Thanks @theomonnom
will try it


Once Again Labs - The Raptor dealt too much damage

The Raptor dealt 4 damage, when it was the only dragon in play. (I wasn't using Dragon Tamer, so there weren't any hero dragons in play)

I'm guessing I forgot the "IsInPlayAndHasRuleText" check

I'm guessing I forgot the "IsInPlayAndHasRuleText" check

Confirmed.

Confirmed.


styhead/rz sbc: new hierarchy output

PR for internal review

@nam-vo-khac-rvc ,
Please check unresolved conversations and discuss with me offline if anything is unclear.

@nam-vo-khac-rvc ,
Check unresolve conversation and confirm to me ASAP.


Rename retrieve_race_details to retrieve_running_race_details

That was a quick merge! Thanks. @jaredholdcroft
I realised it's probably more appropriate to name the API method to retrieve_running_race_details for consistency. What do you think? Up to you to decide I guess.

Sounds good!


Integration with AngularFire2 error

I'm submitting a ...  (check one with "x")
[*] bug report => search github for a similar issue or PR before submitting
[ ] feature request
[ ] support request => Please do not submit support request here, instead see use [gitter](https://gitter.im/mgechev/angular2-seed) or [stackoverflow](https://stackoverflow.com/questions/tagged/angular2)

Current behavior

I following this guide https://github.com/mgechev/angular-seed/wiki/Integration-with-AngularFire2
When i tried use 'AngularFireAuth' (import { AngularFireAuth } from 'angularfire2/auth';) i have an error in browser console:
Failed to load resource: the server responded with a status of 404 (Not Found) :5555/node_modules/angularfire2/bundles/angularfire2.umd.js/auth.js

localhost/:89 Error: Fetch error: 404 Not Found
    at http://localhost:5555/node_modules/systemjs/dist/system.src.js?1497644285152:1500:13
    at ZoneDelegate.invoke (http://localhost:5555/node_modules/zone.js/dist/zone.js?1497644285155:391:26)
    at Zone.run (http://localhost:5555/node_modules/zone.js/dist/zone.js?1497644285155:141:43)
    at http://localhost:5555/node_modules/zone.js/dist/zone.js?1497644285155:817:57
    at ZoneDelegate.invokeTask (http://localhost:5555/node_modules/zone.js/dist/zone.js?1497644285155:424:31)
    at Zone.runTask (http://localhost:5555/node_modules/zone.js/dist/zone.js?1497644285155:191:47)
    at drainMicroTaskQueue (http://localhost:5555/node_modules/zone.js/dist/zone.js?1497644285155:584:35)
    at <anonymous> Not expecting this error? Report it at https://github.com/mgechev/angular-seed/issues

Expected behavior

Minimal reproduction of the problem with instructions

What is the motivation / use case for changing the behavior?

Please tell us about your environment:

Win 10, VsCode, NPM,

Angular Seed Version:  latest

Node: node --version = 8.0

For support requests you can use gitter or take a look at project's the wiki page in order to get more complete idea on how the it works.

OK, but your wiki page https://github.com/mgechev/angular-seed/wiki/Integration-with-AngularFire2 out-of-date...


Issue #1205 Repair logic to support proxy connections

Ever since (some months ago) we have a DNS cache, where we store the SINGLE IPAD that we have successfully connected to, even if the server has multiple IP Addresses, we can rely on our own connect logic to pick up this same IPAD again on EPSV requests.
So therefore, the previous fix, by getting the IPAD from the socket endpoint, is no longer needed. Trouble was: On EPSV, this broke the proxy connect logic, where the proxy expects a DNS name and cannot make head not tail of the socket endpoint IP address.
Fixes issue #1205

https://www.nuget.org/packages/FluentFTP/45.2.0


fix: Removing old gsutil cp command

make build currently gives an error due to the line
@gsutil -m cp -r 'dags/*' ${BUCKET_COMPOSER_DAGS}
this folder no longer exists on main
PR also includes a minor change to common/session.py which makes specifying the hail path more flexible for working locally.

Codecov Report

Merging #161 (2cbcdd6) into main (6cf098d) will not change coverage.
The diff coverage is n/a.

:exclamation: Current head 2cbcdd6 differs from pull request most recent head 08d0c14. Consider uploading reports for the commit 08d0c14 to get more accurate results

@@           Coverage Diff           @@
##             main     #161   +/-   ##
=======================================
  Coverage   90.97%   90.97%
=======================================
  Files          66       66
  Lines        1440     1440
=======================================
  Hits         1310     1310
  Misses        130      130

Files
Coverage Δ

src/otg/common/session.py
75.00% <ø> (ø)


changed borders

borders change on hovering

please check out our open issues for actual changes that we want in this repo


Infer object in array reductions

[x] Tests added / passed
[x] Passes black dask / flake8 dask

Closes https://github.com/dask/dask/issues/6570

Sorry for the delay, thanks!


Feature AVFoundation video capture example

It would be a great feature to have the ability to record a video to a canvas if it's possible other means to capure a video should be effective as well.

I can probably put something together for this in about a month, remind me if I haven't by mid May.

Any news on this?

Does the RecordPlayVideo example view provide what is needed? Manually recording video using AVFoundation is very difficult in Xojo and I was not able to create a stable implementation of it. Sorry for not updating this issue earlier

i've stepped out of this with xojo. We use another tool for this kind of stuff for now.


Error: There's already a module with namespace "base" - upgrading to V3

Having made the switch to Codyframe V3 I am getting this error in my terminal when changing the default breakpoints:
Message:
    src/assets/scss/style.scss
Error: There's already a module with namespace "base".
    ╷
1   │ ┌ @use 'base' with (
2   │ │   $breakpoints: (
3   │ │     'xs': 32rem, // ~512px
4   │ │     'sm': 48rem, // ~768px
5   │ │     'md': 64rem, // ~1024px
6   │ │     'lg': 80rem, // ~1280px
7   │ │     'xl': 90rem  // ~1440px
8   │ │   ),
9   │ │   $grid-columns: 8
10  │ │ );
    │ └─^ original @use
... │
13  │   @use 'base';
    │   ^^^^^^^^^^^ new @use

This isn't something that I use often, but I can't seem to find a way around applying a different number of grid columns or changing the default breakpoints without throwing an error. Google has not brought up anything on this. As a FYI, I am importing the base style files from node_modules. Am I putting this in the correct place? I have changed the name of the base sass file, which is importing the base stylesheet from node_modules and that does not fix the error. style.scss file is as follows:
@use 'base' with (
  $breakpoints: (
    'xs': 32rem, // ~512px
    'sm': 48rem, // ~768px
    'md': 64rem, // ~1024px
    'lg': 80rem, // ~1280px
    'xl': 90rem  // ~1440px
  ),
  $grid-columns: 8
);

/*! purgecss start ignore */
@use 'base';
@use 'custom-style';
@use 'components';
/*! purgecss end ignore */

Thanks

Ahhh I see now! I did not realise they were the both imports. Thank you for clearing that up @claudia-romano!


feat: no_std

Motivation
Make ruint no_std-compatible.
Supersedes #260.

Solution
See original description in #260.
Since core::error::Error is unstable, we instead implement the formatting using core::fmt and gate impl std::error::Error with #[cfg(feature = "std")]

PR Checklist

[x] Added Tests
[x] Added Documentation
[x] Updated the changelog

Coverage is actually unchanged because it didn't count code generated by the macro


Reduce snapshot tolerance

Update missed snapshot test.
Looks like the tolerance was too high to miss the difference between
"Get Certificate" and "View Certificate".
I set it to a super low value, and we can raise it up a little if
it ends up being a problem.

@mikekatz please review

:+1:  in general, but it looks like it's causing a few other tests to fail?


[FIX] Fixes revision errors in 10.0 pos multi session

@GabbasovDinar you need to rebase your branch


SVG in SVG does not have x/y props applied

Bug
When embedding an svg inside another svg, setting the x and y props do not have an effect. On the web, they do
Environment info
Run react-native info in your terminal and copy the results here. Also, include the precise version number of this library that you are using in the project
React native info output:
info Fetching system and libraries information...
System:
    OS: macOS 10.15.2
    CPU: (4) x64 Intel(R) Core(TM) i5-4278U CPU @ 2.60GHz
    Memory: 50.89 MB / 8.00 GB
    Shell: 5.7.1 - /bin/zsh
  Binaries:
    Node: 12.8.0 - /usr/local/bin/node
    Yarn: 1.17.3 - /usr/local/bin/yarn
    npm: 6.10.3 - /usr/local/bin/npm
    Watchman: 4.9.0 - /usr/local/bin/watchman
  SDKs:
    iOS SDK:
      Platforms: iOS 13.2, DriverKit 19.0, macOS 10.15, tvOS 13.2, watchOS 6.1
  IDEs:
    Xcode: 11.3.1/11C504 - /usr/bin/xcodebuild
  npmPackages:
    react: 16.11.0 => 16.11.0
    react-native: 0.62.0-rc.1 => 0.62.0-rc.1
  npmGlobalPackages:
    react-native-cli: 2.0.1

Library version: 11.0.1
Steps To Reproduce
https://snack.expo.io/HkekkSQmI
Describe what you expected to happen:

iOS, Android, and web are identical

Short, Self Contained, Correct (Compilable), Example
https://snack.expo.io/HkekkSQmI

Hello @jacobp100,
It looks like that issue is already solved.
<EMAIL_ADDRESS>let me know if you still face that problem, Thank you.


[system] Fix sx prop types when CSS variables are used with nested selectors

I noticed this in https://github.com/mui/material-ui/pull/31138. Basically, if the CSS variables are used together with some nested selectors in the sx prop, it breaks the types. I've added tests and update the types, see https://github.com/mui/material-ui/pull/31163#discussion_r811163352.
I had to remove two @ts-expect-errors, not ideal, but I think fixing the problem with the CSS variables used together with the nested selectors is more important.

@everyone can someone explain to me what this project is all about?


Investigate how to use dcgm embedded mode

What would you like to be added?
As mentioned here, using standalone mode requires hostNetwork and install nv-hostengine on each node.
Why is this needed?
Using embedded will potentially remove the dependency.

K8s Clusters with GPUs typically has DCGM exporter installed, which will deploy dcgm daemon in each node.
In the case, the standalone version should be used, however, if dcgm daemon is not available, we can use the embedded.
I have tested this logic before, I will create a PR for this.


fix(join/start gtm problem)

join/start gtm problem
you can check if its working by viewing page source and look for gtm id or when you see the chatbot it means that a gtm is now attached.
when logged in it wont attached gtm but when not logged in it will now attached in join/start page.

It's working again - thank you!


Dealing with partially/un-parametrized systems

Consider the current constructor:
class System(BaseModel):
    """The OpenFF System object."""

    topology: Union[Topology, OpenMMTopology]
    forcefield: Union[ForceField, ParameterHandler] = None
    slot_smirks_map: Dict = None
    smirks_potential_map: Dict = None
    term_collection: SMIRNOFFTermCollection = None
    positions: UnitArray
    box: UnitArray

This is effectively a topology, a handful of ways to deal with force field data and typing information, positions, and box vectors. It may seem counter-intuitive, but in order to facilitate #19 it may be valuable to support states with no parameters, in addition to those with some but not all.
# specify a topology, force field, positions, and box vectors

mysystem = System(topology, positions, box)  # Create an "empty" system

# Apply select ParameterHandler objects, instead of the entire force field all at once
mysystem.apply_parameter_handler(forcefield['vdW'])
mysystem.apply_parameter_handler(forcefield['Bonds'])
...

This may be feasible with a subclass from System or perhaps a common ancestor that specifies the common components. Or maybe composition over inheritance.

https://github.com/openforcefield/openff-system/blob/beea7ae236016c311c7b71b77435d7c5f0522247/system/tests/test_system.py#L124-L143


Use Enzyme C-API

@wsmoses can you figure out why the binary is not loaded on MacOS?

Can do, mysterious


[Enhancement] assign tablets to driver sequence only if num_buckets>1

What type of PR is this：

[ ] bug
[ ] feature
[x] enhancement
[ ] refactor
[ ] others

Problem Summary(Required) ：

As for a local bucket shuffle join, we assign tablets to each driver sequence, and set DOP to the number of buckets a BE is assigned, in order to avoid local shuffle.
When enabling tablet internal parallel, we prefer setting numBuckets to numBEs, that is , each BE has one bucket.
Therefore, DOP of local bucket shuffle join in this scenario is only one.
In this case, we should insert local shuffle to improve the degree of parallelism of JoinOperator. Therefore, apply the strategy about assign tablets to each driver sequence, only if num_buckets_of_one_BE > 1.
Checklist:

[ ] I have added test cases for my bug fix or my new feature
[ ] I have added user document for my new feature or new function

run all

run starrocks_admit_test

run starrocks_admit_test

@Mergifyio backport branch-2.4

run starrocks_admit_test

run starrocks_fe_unittest

[FE PR Coverage Check]
:disappointed: fail : 11 / 15 (73.33%)
file detail

path
covered_line
new_line
coverage
not_covered_line_detail

:large_blue_circle:
com/starrocks/qe/Coordinator.java
11
15
73.33%
[1448, 1449, 1521, 1522]

use starrocks_admit_test

run starrocks_admit_test

[FE PR Coverage Check]
:disappointed: fail : 11 / 15 (73.33%)
file detail

path
covered_line
new_line
coverage
not_covered_line_detail

:large_blue_circle:
com/starrocks/qe/Coordinator.java
11
15
73.33%
[1448, 1449, 1521, 1522]

run starrocks_admit_test

run starrocks_admit_test

run all

run all

run all

run starrocks_admit_test

run all

run starrocks_admit_test

[FE PR Coverage Check]
:disappointed: fail : 15 / 19 (78.95%)
file detail

path
covered_line
new_line
coverage
not_covered_line_detail

:large_blue_circle:
com/starrocks/qe/Coordinator.java
15
19
78.95%
[1448, 1449, 1521, 1522]

run starrocks_admit_test

run starrocks_admit_test

run starrocks_fe_unittest

run starrocks_admit_test

run starrocks_fe_unittest

[FE PR Coverage Check]
:disappointed: fail : 15 / 19 (78.95%)
file detail

path
covered_line
new_line
coverage
not_covered_line_detail

:large_blue_circle:
com/starrocks/qe/Coordinator.java
15
19
78.95%
[1448, 1449, 1521, 1522]

run starrocks_admit_test

run starrocks_admit_test

run starrocks_admit_test

[FE PR Coverage Check]
:disappointed: fail : 15 / 19 (78.95%)
file detail

path
covered_line
new_line
coverage
not_covered_line_detail

:large_blue_circle:
com/starrocks/qe/Coordinator.java
15
19
78.95%
[1448, 1449, 1521, 1522]


How about add a feature "Comment Reply Notification"?

Just succeeded in installing it and wonder how to notify one whose comment is replied

duplicate of #233

I've read that. Is it included in the newest commit? Or I should install from that commit?
Also I wonder how to upgrade isso from github......Directly overriding the files would make the isso invalid thus it couldn't submit any new comment.

Maybe I should manually edit the latest commit according to his three commits and makefile myself then install on a new computer?

I really like the title changes. Comment reply notifications are not implemented, yet. The suggested implementation (#50) can be easily exploited to send e.g. spam.
My implementation thoughts currently:

implement user/group management (for example: IP-based, OAuth-based (GitHub, Twitter etc.))
allow certain groups to trigger reply notification

Thanks for ur reply.
Looking forward to the feature implemented and added to a future summit.
Maybe it'll allow an author with name and email to send and receive the notification

Hello @posativ

The suggested implementation (#50) can be easily exploited to send e.g. spam.

How about implement the reply notification like the comments moderation? When someone replies the comment, sent a mail to admin and provide a link to let admin determines whether
send reply notification to the one being commented on.

That's a bit heavy for the admin and it means to handle use cases where admin come back from vacation and hit "Notify" on all his mails and users get a bulk of notifications, which is bad.
The discussion on the PR #50 is about implementing double opt-in & opt-out on notifications (which is the standard on notification systems, law stuff…)


when using with chromedriver open blank new tab

Hi!
First thank you for your work.
I'm experiencing a strange behavior with this extension when using it with chromedriver.
It causes chrome to open a new blank tab with "about:blank" on the address bar.it doesnt happen if I dont add the extension to chromedriver options.
Being my application a kiosk app it is fullscreen and makes it imposible to close the new tab(need to do it from code but feels like hacky)
Did anyone notice this behavior or has any solution?
Thanks

Can you please let me know how can I replicate it?  Never experienced this issue yet.
Thanks

Managed to replicate it and fixed it in v1.12.2.  Can you please try again?


Could not find 'php'. The program may not be installed.

today i use my atom-beautiful to fixer the PHP formate but i got this error followed:

 E:\Brian Work\MyWeb Project\xtpeeps.cn\首页\test.php11:1 CRLFUTF-8PHP Could not find 'php'. The program may not be installed. See https://github.com/FriendsOfPHP/PHP-CS-Fixer for program installation instructions. Your program is properly installed if running 'where.exe php' in your CMD prompt returns an absolute path to the executable. If this does not work then you have not installed the program correctly and so Atom Beautify will not find the program. Atom Beautify requires that the program be found in your PATH environment variable.  Note that this is not an Atom Beautify issue if beautification does not work and the above command also does not work: this is expected behaviour, since you have not properly installed your program. Please properly setup the program and search through existing Atom Beautify issues before creating a new issue. See https://github.com/Glavin001/atom-beautify/search?q=php&type=Issues for related Issues and https://github.com/Glavin001/atom-beautify/tree/master/docs for documentation. If you are still unable to resolve this issue on your own then please create a new issue and ask for help. Hide Stack Trace Error: Could not find 'php'. The program may not be installed.     at PHPCSFixer.module.exports.Beautifier.commandNotFoundError (file:///C:/Users/42161/.atom/packages/atom-beautify/src/beautifiers/beautifier.coffee:231:14)     at file:///C:/Users/42161/.atom/packages/atom-beautify/src/beautifiers/beautifier.coffee:331:22     at tryCatcher (C:\Users\42161\.atom\packages\atom-beautify\node_modules\bluebird\js\release\util.js:16:23)     at Promise._settlePromiseFromHandler (C:\Users\42161\.atom\packages\atom-beautify\node_modules\bluebird\js\release\promise.js:512:31)     at Promise._settlePromise (C:\Users\42161\.atom\packages\atom-beautify\node_modules\bluebird\js\release\promise.js:569:18)     at Promise._settlePromise0 (C:\Users\42161\.atom\packages\atom-beautify\node_modules\bluebird\js\release\promise.js:614:10)     at Promise._settlePromises (C:\Users\42161\.atom\packages\atom-beautify\node_modules\bluebird\js\release\promise.js:689:18)     at Async._drainQueue (C:\Users\42161\.atom\packages\atom-beautify\node_modules\bluebird\js\release\async.js:133:16)     at Async._drainQueues (C:\Users\42161\.atom\packages\atom-beautify\node_modules\bluebird\js\release\async.js:143:10)     at Async.drainQueues (C:\Users\42161\.atom\packages\atom-beautify\node_modules\bluebird\js\release\async.js:17:14)     at process._tickCallback (internal/process/next_tick.js:103:7)
how do i do to fix this problem?

this is not the atom-beautify repo, sorry!


Set multiple dates that can be selected(e.g. Feb 2, 8 and 20 only)

How to set multiple dates that can be selected? But can only choose ONE.
e.g. February 2, 8 and 20 are the dates that the user can only choose from.

Have you got the solution?


Progress bar proposal

Overview
For a long-running query, user might expect an estimated finish time and terminate early on if needed. One way to provide such estimation is to add an optional configuration to print progress bar to various outputs. This proposal explains how progress should be implemented.
Progress Definition
To understand query progress, one need to first understand query execution. A query is first compiled to a physical plan and a physical plan is then divided in to multiple pipelines. A pipeline is a chain of physical operators whose execution can be parallelized. Dependencies may exists between pipelines so we force pipelines to be executed on after the other.
Query progress thus can be defined as

how many pipelines has been finished (trivial)
progress of current pipeline

Pipeline Progress
Recall that each pipeline is a chain of physical operator. And first operator (source operator) is responsible of dispatching inputs to the current pipeline. Therefore, a pipeline progress is defined as the percentage of inputs being dispatched. E.g. if the source operator is a ScanNodeID, its total cardinality should be the number of nodes tracked in statistics and we need to track how many node IDs have been scanned to compute the progress of this pipeline.
Notes

The total cardinality of a source operator may not always be available. E.g. if source operator is scanning from an external csv file, we can only estimate number of lines of csv but cannot get an accurate number. I suggest we don't support progress on such pipeline in our initial version.

Progress Bar Printing
Ideally we should print progress bar into various outputs, e.g. terminal, web interface, etc... As a starting point, let's simply implement printing to terminal.
Standard progress bar only consumes one float (between 0 and 1) and render a bar from it. To do so, we need to somehow combine number of pipelines finished and progress of current pipeline. This is non-trivial because execution time across different pipelines could differ dramatically. So instead, I suggest we print them independently. So one line for number of pipelines finished (this can be a percentage if you want) and another line for current pipeline progress (this is a percentage).
Print frequency
Print frequency shouldn't be too fast (otherwise hurt performance too much) nor too slow. Each pipeline is executed with multiple threads, and one pipeline over one thread is called a task. We should print whenever a task has finished. See TaskSchedular for control logic.
Progress Bar Configuration
Progress bar printing should be optional because

inevitably it will hurt performance
for small queries progress is not important
we don't want progress bar mess up our testing log

So add a database configuration to enable/disable progress bar printing.

Closing this issue because it's done mostly by @MSebanc.
We didn't implement progress for

Source operators that finishes instantly, e.g. CALL table_info()
Scan RDF because estimating line size is not easy.


Optimize slurp and barf times

Many of the HTML [hell 🔥] examples here simply take wayyyy too long to perform slurps and barfs on!
The goal of this issue is to identify major bottlenecks and [hopefully] optimize them. If a massive structural changes are necessary i.e. changing to some sort of chunking model then that work will probably necessitate the creation of a separate issue.

sigh
Unfortunately, the main bottleneck seems to be the JavaScript runtime for Antlr4 itself. For example, this Discord homepage HTML file takes eons to just parse i.e. (ocall parser :html) 👎 The JavaScript runtime doesn't have access to UnbufferedCharStreams either, so optimization options that would be available in the Java runtime are lacking here 💩
The Java runtime, on the other hand, seems to be pretty zippy with its parsing. I ran the same parse rule on the same file via grun and it only took ~4 seconds.
antlr4 HTMLLexer.g4 HTMLParser.g4
javac HTML*.g4
cat test-data/discord.html | grun HTML html -gui

As a result, three subtasks will be added to this issue:

Create an LSP server in Clojure and setup the corresponding client for the VSCode extension.
Spike on using the Antlr4 Java runtime to parse HTML via the LSP server
Spike on using an incremental parser via Tree Sitter. Incrementally parsing could cut down subsequent runs of tagedit commands; it's worth looking into 🔍 !


Error when launching Code OSS from debugger

Does this issue occur when all extensions are disabled?: Yes/No

Version: 1.57.0-insider (Universal)
Commit: b4c1bd0a9b03c749ea011b06c6d2676c8091a70c
Date: 2021-06-09T10:41:06.148Z (1 day ago)
Electron: 12.0.9
Chrome: 89.0.4389.128
Node.js: 14.16.0
V8: <IP_ADDRESS>-electron.0
OS: Darwin x64 20.5.0
Steps to Reproduce:

Clone vscode
Run yarn and yarn watch
Run the debugger with VS Code debug play button.
See error:

Error processing attach: Error: Could not connect to debug target at http://localhost:5870: Promise was canceled
at Object.retryGetNodeEndpoint (/Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/ms-vscode.js-debug/src/extension.js:1:123640)
at processTicksAndRejections (internal/process/task_queues.js:93:5)
at t (/Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/ms-vscode.js-debug/src/extension.js:59:46048)
at C.launch (/Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/ms-vscode.js-debug/src/extension.js:1:145270)
at t.Binder.captureLaunch (/Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/ms-vscode.js-debug/src/extension.js:59:181643)
at t.Binder._launch (/Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/ms-vscode.js-debug/src/extension.js:59:181194)
at async Promise.all (index 5)
at t.Binder._boot (/Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/ms-vscode.js-debug/src/extension.js:59:180254)
at t.default._onMessage (/Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/ms-vscode.js-debug/src/extension.js:1:92546)

How did you launch VS Code from debugger? Your 3 steps from above don't mention debugging in any way.

Oh whoops sorry! I used the VS Code debugger so just the debug play button.

This sounds a lot like @hediet problem.

@tanhakabir the play button operates on the selected debug configurations. What was your selected debug configuration?

I guess https://github.com/microsoft/vscode/issues/125841#issuecomment-859516670 should fix this for now.

Thanks for the issue. This usually means nothing is listening on that port, so a few questions:

Is OSS just being very slow to launch -- e.g. is the window up an running by the time you see this error?
Do you see anything about the extension host not being able to launch / can you verify that the extension host is running in the OSS window when you see this error?
Are you able to see whether anything is listening on port 5870? Going to http://localhost:5870/json/list should work

@weinand it was just the launch config for VS Code not web or any of the other options

@connor4312

is the window up an running by the time you see this error?

The window started but everything was blank and then this notification showed up and nothing happened afterwards. Comparatively running ./scripts/code.sh seems to be working perfectly.

Do you see anything about the extension host not being able to launch / can you verify that the extension host is running in the OSS window when you see this error?

How do I verify this? I just saw an empty Code-OSS window.
Also weirdly I can't seem to repro this again so I'm not sure why it's a flakey issue.

This was very likely fixed by @connor4312 change to inline sourcemaps?

closing since it might have been fixed already by @connor4312!