Custom Trackpad Gestures

Description of the new feature / enhancement
What is the expected behavior of the proposed feature?
The idea is for the user to be able to add custom gestures for trackpads, that allow for multi-figure gestures.
I know that Microsoft has some leniency built into windows to allow certain gestures, but they are too simple and offer few features.
The idea is to allow the user to launch apps, run a bash script or have something done inside certain apps. Like a two-finger pinch would reveal all open windows on the desktop, or a series of user-defined taps and scrolls on a certain region of the trackpad to open an app, disable the camera, mic etc.
Scenario when this would be used?
What is the scenario this would be used? Why is this important to your workflow as a power user?
My laptop comes with a pretty good, large, and precise trackpad that works really well. I was hoping to give it more use and functionality.
For instance, I do not have easy access to screen brightness, so a two-finger swirl gesture  on the corner of my trackpad would be mapped to screen brightness, similarly, on the opposite corner to volume, while keeping my four-finger swipes to their default action.,
Supporting information
As for additional support, I am not sure in this case, perhaps this video that showcases a laptop with a dedicated dial on the trackpad surface would help showcase what this feature would do.
https://www.youtube.com/watch?v=PMRZWAVyerM

/dup https://github.com/microsoft/PowerToys/issues/19041


Added getter/setter, exception handling for OpflowQNN, CircuitQNN

Summary
This PR closes #75:

Added getter and setter to OpflowQNN
In CircuitQNN, raises errors in methods for which a quantum_instance is required

Details and comments
My first PR in this repo, still figuring things out :)

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

@woodsp-ibm @adekusar-drl Thanks so much for the feedback, will address these comments shortly

@stephenmurray2 Would you be able to finish the PR? There's just one open comment left.

@adekusar-drl yes! will address today

@woodsp-ibm I'm having some issues getting unit tests to pass for test_circuit_qnn. I even checked out an old commit which was passing on CI (ccf4748) and I ran make test and I am getting some failures. Any ideas?

and I ran make test and I am getting some failures. Any ideas?

Did you remove a logging warning about output shape? This PR #127 was done, while this has been in progress, to help users understand what happens around output shape behavior. The unit tests seem related to that from what I can see which check that the warning gets emitted as expected.
I fixed the merge conflict between the file in that PR and here, which included the warning into the code here, and as far as I recall that was working fine then.

@woodsp-ibm I see that the version of qiskit-terra has been bumped to 0.18.0, but this version isn't yet available pip. Do I have to build it from the source?

In general for development the CI here, and even locally, we run/test against the latest Terra from their main branch. When we checked recently there are some failures against the current release hence we bumped the dependency version in readiness for the release. You can simply clone and install Terra from its repo - this has more info in case its of use https://qiskit.org/documentation/contributing_to_qiskit.html#installing-from-source

In general for development the CI here, and even locally, we run/test against the latest Terra from their main branch. When we checked recently there are some failures against the current release hence we bumped the dependency version in readiness for the release. You can simply clone and install Terra from its repo - this has more info in case its of use https://qiskit.org/documentation/contributing_to_qiskit.html#installing-from-source

Thanks, checking out the Qiskit Terra repo and installing the package from the source resolved the issue 👍

@woodsp-ibm please take a look, the code is heavily revised, you may consider it as a brand new version.

@woodsp-ibm could please take a look?

@dlasecki thanks a lot!
@stephenmurray2 thanks for looking into it. I'm sorry for the "goodfirstissue" label, apparently it was misleading. This issue was not a very good first issue. Appreciated!


Add example: a sine wave sound generator.

I thought a second example, where we generate a sound wave ourselves, would be great, so here you are!

@jeremyletang Hi, what do you think?

Closing this in favour of new sine.rs example that uses the latest API and aims to closely match original portaudio paex_sine.c more closesly.


Pre release v2.5.0rc2

Checklist

[x] Used a personal fork of the feedstock to propose changes
[x] Bumped the build number (if the version is unchanged)
[x] Reset the build number to 0 (if the version changed)
[ ] Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
[ ] Ensured the license file is being packaged.

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.

@conda-forge-admin, please rerender

How do I get this list of dependencies? Do we need to list all of the dependencies of ESMValCore's environment.yml and setup.py here?

I believe nested-lookup needs in as well. Yes, pretty much that, all deps that are needed explicitly dumped in the recipe

pillow is the implementation of PIL (a drop-in replacement for the older library actually called PIL). There was a problem with a wrong version of pillow being pulled in from the defaults channel, but that may not be a problem anymore.

Would it have been better to do a git rebase main first before these changes? How should the rc branch always be ahead of main?

Closes #15

Looking quite good. After the last 2.4.0rc, there were a few changes to the dependencies in the master branch for 2.4.0. Could you please port those over manually?
If I am not mistaken, they concern the addition of the following packages
* cartopy

* importlib_resources

* pandas

* pillow

and the removal of the following packages
* nc-time-axis

* pydot

I did all of this (except for the removal of nc-time-axis which still is in our setup.py.
In addition, I pinned flake8<4 for the tests.

@conda-forge-admin, please rerender

I was grappling with this myself. Perhaps we should merge the main branch into the rc branch. But this is made more complicated by all the stuff created by the rerendering. That's why I suggested the manual approach. Let's do the dependencies manually for now and think a bit more about how to do that long term.

Let's do the dependencies manually for now and think a bit more about how to do that long term.

Done!

@conda-forge-admin, please rerender

@zklaus @valeriupredoi Please merge if you think this is fine, I don't have the rights to do it.

Just merged. Congratulations, @schlunma! :tada:
Here is what happens next:

The package is build again from the rc branch (will take ~15min)
The package and metadata is uploaded to the server
It is distributed to the content delivery network (CDN) (will take ~2-5 hr)

Only after the last step will the package be installable. Then we should modify the environment.yml in ESMValTool to take the package from the rc channel and will get pretty much immediate feedback on how things work :grimacing:.

Sounds great, thanks Klaus!!


Day 208

Good morning! Here's your coding interview problem for today.
This problem was asked by LinkedIn.
Given a linked list of numbers and a pivot k, partition the linked list so that all nodes less than k come before nodes greater than or equal to k.
For example, given the linked list 5 -> 1 -> 8 -> 0 -> 3 and k = 3, the solution could be 1 -> 0 -> 5 -> 8 -> 3.

The problem originally read as follow:
For example, given the linked list 5 -> 1 -> 8 -> 0 -> 3 and k = 3, the solution could be 1 -> 0 -> 5 -> 8 -> 3.
However, I think the provided solution is invalid.
Instead the solution should be 1 -> 0 -> 3 -> 5 -> 8


Conflicting statements in note about BRE Call Rules

In the first tip of this paragraph, BizTalk Server is mentioned twice with conflicting statements. I guess one of them applies to Visual Studio, while the other one applies to BizTalk Server Administration Console.

In BizTalk Server, you do not need to have an atomic scope to insert a Call Rules shape. You can drag a Call Rules shape into the Orchestration Design Surface from the Toolbox. However, in BizTalk Server, the Call Rules menu item is disabled in the context menu if you try to insert a Call Rules shape inside an orchestration that does not have an atomic scope. This is a limitation with the BizTalk Server product.

Maybe make a PR and edit the second one to say "However, in Visual Studio," instead. Let me know if you need help making the PR. I would be glad to do it.

Are we sure the second one applies to Visual Studio? That's why I didn't create a PR with a proposed change. I'm not really sure what's correct. But I would guess the first sentence is about Visual Studio, since it mentions an Orchestration Design Surface and Toolbox. 🤔

@eloekset @clineer We clarified the note. And, this limitation is fixed in BizTalk 2016. Not sure about BizTalk 2013 or 2013 R2. Changes should be live shortly.


IE9 / Windows 7: Placeholder text does not display in search bar

In IE9, the placeholder text "Search..." does not display in the search bar.

Bootstrap explicitly says it does not support ie9 Placeholders - http://v4-alpha.getbootstrap.com/getting-started/browsers-devices/#internet-explorer-9


add documentation for vertical line charts

Noticed while answering an issue on stack that we only have the indexAxis property documented for bar charts while this also works for line charts.

I coppied it from bar chart but noticed now that it is not supposed to be in that spot since it's configured in the options object and not in the dataset itself, will adjust this

I coppied it from bar chart but noticed now that it is not supposed to be in that spot since it's configured in the options object and not in the dataset itself, will adjust this

It is possible to configure in multiple places:
https://github.com/chartjs/Chart.js/blob/df1303f9437894125d1de12bf06ac029124d033a/src/core/core.config.js#L9
mixed index axis: https://codepen.io/kurkle/pen/GRjzOeW

It is possible to configure in multiple places:
https://github.com/chartjs/Chart.js/blob/df1303f9437894125d1de12bf06ac029124d033a/src/core/core.config.js#L9
mixed index axis: https://codepen.io/kurkle/pen/GRjzOeW

It is possible to configure in multiple places:
https://github.com/chartjs/Chart.js/blob/df1303f9437894125d1de12bf06ac029124d033a/src/core/core.config.js#L9
mixed index axis: https://codepen.io/kurkle/pen/GRjzOeW

Seems like in my quick test I did it wrong, will put it back

It is possible to configure in multiple places:
https://github.com/chartjs/Chart.js/blob/df1303f9437894125d1de12bf06ac029124d033a/src/core/core.config.js#L9
mixed index axis: https://codepen.io/kurkle/pen/GRjzOeW

Seems like in my quick test I did it wrong, will put it back


Remote HTTP provider

What does this PR do?
Add support for Remote HTTP configuration provider
Motivation
To enable custom integrations with various config management tools, the use of Remote HTTP configuration provider enables to call an HTTP endpoint either at pre-configured interval or using long-poll option to retrieve Traefik configuration in a TOML format
More

[x] Added/updated tests
[x] Added/updated documentation

Hey there @aantono. Without having looked more thoroughly into the code, what's the difference between your extension and querying the /api endpoint (along with possibly converting the JSON to YAML)?

@timoreimann The /api endpoint allows to query Traefik and do various manipulations.  The remote provider allows Traefik to pull remote HTTP endpoint for config, either once, or at interval or with long-polling.  Does that make sense?

I think so. Couldn't this also implemented though by pushing configuration changes to the /api endpoint once or periodically?

In theory "probably", the reality is that not all systems support push model (most are just do have http endpoints though), and also having to push config out to the entire cluster would require "knowing" where each node runs and have access to it (firewall rules typically allow egress, but not ingress).

@aantono gotcha. Assuming we approve the overall usefulness of this feature, I wonder if it should be implemented by a dedicated provider or something to integrate into the web one.
But let's have Emile review the design first.

@timoreimann I thought web was more about providing ways to interact with Traefik from outside, not the other way around, where Traefik calls external resources.  Am I wrong?

@aantono you might be correct. Just throwing in random thoughts here. :-)

@aantono

In theory "probably", the reality is that not all systems support push model (most are just do have http endpoints though), and also having to push config out to the entire cluster would require "knowing" where each node runs and have access to it (firewall rules typically allow egress, but not ingress).

Hmmmm, I think in this use case, it could make sense to share the configuration in a KV store when deploying multiple Traefik instances. WDYT?
(Before opening a pull request to add a new feature, I advise you to talk with the maintainer team before on Slack. This can avoid a lot of wasted time ;) )

@emilevauge Sorry for not asking on Slack first, the coding part didn't take that long (was able to do it over a weekend), so I figured I'd just submit the code to have some substance to discuss over. ;)
On the use of KV vs HTTP pull, it's a matter of simplicity, I guess.  One could always build a bunch of bridges on their end to transform whatever their source of data is and either use Traefik API by pushing to it, or rely on KV like Consul or etcd and push there instead.  Those solutions require adding complexity in a form of a sidecar bridge that would be keeping those things in sync, where with HTTP Remote provider things become a lot simpler to maintain (IMHO).  But I could see if there is reluctance to add another provider, though the amount of code and complexity in brings are very small (IMHO).
Thoughts?

Any thoughts on this PR, or should this be moved to Slack for discussion?


Regarding License key for Pganalyze

I'm attempting to set up the enterprise version of pganalyze on our Kubernetes cluster where our PostgreSQL database is running. However, during the installation process, it keeps prompting me for a license key. I believe this key is supposed to be provided by the product team. Can anyone offer assistance with obtaining and applying this license key?

@jahnavisana2812 Please reach out to us using our Contact Us form to get access to an Enterprise Server license key: https://pganalyze.com/contact


envy build bump=none is zeroing out pre tags

fixed in https://github.com/lhopki01/docker-chain-builder/tree/v1.1.8