Cluster alike Component

Hey guys, Thank you for this amazing library. Loved it.
There is a missing component "Cluster" which can make a cluster of Markers or polylines.
That way it's possible to hide/show multiple polylines at once (cluster-wise).
Cluster Example in vue2 library:
https://xkjyeah.github.io/vue-google-maps/all-components.html
As of now, v-if isn't a working option (especially when using v-if in v-for).
Code trying to show multiple trip markers and polylines.

    <Marker :key="index2" v-for="(route, index2) in trip.routeData" :options="route.marker" />
    <Polyline :key="index3" v-for="(route, index3) in trip.routeData" :options="route.polylines" />

In the above example, v-show doesn't work neither does v-if in same place.
Let me know your view on this. Is there a way I can contribute to this project?

Hey @gdbhosale
You're right there's quite a few features missing from the library but unfortunately we don't have much spare time to work on it at the moment.
WRT v-show unfortunately that won't work because it relies on Vue adding a style display: none to the nodes to be hidden but the map elements are rendered by the Google Maps API and not Vue. v-if should work though because it does trigger creation/destruction of our components which act as a proxy to call the corresponding create/remove logic using the Google Maps API. If you do find a bug please share a reproduction link on CodeSandbox and I'll take a look.

Is there a way I can contribute to this project?

Any contribution is welcome. If you think you can implement a particular feature or fix a bug please open a PR.

Hey @gdbhosale
You're right there's quite a few features missing from the library but unfortunately we don't have much spare time to work on it at the moment.
WRT v-show unfortunately that won't work because it relies on Vue adding a style display: none to the nodes to be hidden but the map elements are rendered by the Google Maps API and not Vue. v-if should work though because it does trigger creation/destruction of our components which act as a proxy to call the corresponding create/remove logic using the Google Maps API. If you do find a bug please share a reproduction link on CodeSandbox and I'll take a look.

Is there a way I can contribute to this project?

Any contribution is welcome. If you think you can implement a particular feature or fix a bug please open a PR.

Above toggle issue resolved with v-if in version 0.5.2. Thank you !!!

Above toggle issue resolved with v-if in version 0.5.2. Thank you !!!


Final WPF API doc

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

AdaptiveCards/display/libraries/WPF.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


[ci:component:github.com/gardener/ext-authz-server:0.6.0->0.7.0]

Release Notes:
Add rules for verification, formatting, linting and testing to Makefile.

/lgtm

/approve
/kind enhancement


Peer dependencies

I've changed the dependencies to exclude react.

If you fix the conflicts I will be happy to merge this!

Fixed!. Sorry for the multiple commits.

NP, thanks for this!


bug: ImportError: cannot import name 'packages_distributions' from 'importlib_metadata'

Environment information
ape will not run after install
$ ape --version
# ...copy and paste result of above command here...

$ ape plugins list
# ...copy and paste result of above command here...

Python Version: 3.8.10
OS: ubuntu 20.04LTS server linux

What went wrong?
$ ape --version
Traceback (most recent call last):
  File "/home/sabotage/.local/bin/ape", line 5, in <module>
    from ape._cli import cli
  File "/home/sabotage/.local/lib/python3.8/site-packages/ape/__init__.py", line 5, in <module>
    from .api.contracts import _Contract
  File "/home/sabotage/.local/lib/python3.8/site-packages/ape/api/__init__.py", line 1, in <module>
    from .accounts import AccountAPI, AccountContainerAPI
  File "/home/sabotage/.local/lib/python3.8/site-packages/ape/api/accounts.py", line 7, in <module>
    from ape.types import ContractType
  File "/home/sabotage/.local/lib/python3.8/site-packages/ape/types/__init__.py", line 1, in <module>
    from .contract import ABI, Bytecode, Checksum, Compiler, ContractType, Source
  File "/home/sabotage/.local/lib/python3.8/site-packages/ape/types/contract.py", line 5, in <module>
    from ape.utils import compute_checksum
  File "/home/sabotage/.local/lib/python3.8/site-packages/ape/utils.py", line 12, in <module>
    from importlib_metadata import PackageNotFoundError, packages_distributions, version
ImportError: cannot import name 'packages_distributions' from 'importlib_metadata' (/usr/lib/python3/dist-packages/importlib_metadata/__init__.py)

How can it be fixed?
I'm not sure if this is a path error or what

Are you running this with Python 3.6 or 3.7?

running this with python 3.8. I noticed I got this error when I'm in the wrong pyenv before installing ape. so i tried this:
~/ape/ape$ pyenv virtualenv freshape
~/ape/ape$ pyenv activate freshape
~/ape/ape$ pip install -e .
[truncated]
Installing collected packages: eth-ape
  Attempting uninstall: eth-ape
    Found existing installation: eth-ape 0.1.0a16
    Uninstalling eth-ape-0.1.0a16:
      Successfully uninstalled eth-ape-0.1.0a16
  Running setup.py develop for eth-ape
    ERROR: Command errored out with exit status 1:
     command: /usr/bin/python3 -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/home/sabotage/ape/ape/setup.py'"'"'; __file__='"'"'/home/sabotage/ape/ape/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' develop --no-deps --user --prefix=
         cwd: /home/sabotage/ape/ape/
    Complete output (18 lines):
    running develop
    WARNING: The user site-packages directory is disabled.
    error: can't create or remove files in install directory

    The following error occurred while trying to add or remove files in the
    installation directory:

        [Errno 2] No such file or directory: '/usr/lib/python3.8/site-packages/test-easy-install-99759.write-test'

    The installation directory you specified (via --install-dir, --prefix, or
    the distutils default setting) was:

        /usr/lib/python3.8/site-packages/

    This directory does not currently exist.  Please create it and try again, or
    choose a different installation directory (using the -d or --install-dir
    option).

    ----------------------------------------
  Rolling back uninstall of eth-ape
[truncated]
ERROR: Command errored out with exit status 1: /usr/bin/python3 -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/home/sabotage/ape/ape/setup.py'"'"'; __file__='"'"'/home/sabotage/ape/ape/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' develop --no-deps --user --prefix= Check the logs for full command output.

running this with python 3.8. I noticed I got this error when I'm in the wrong pyenv before installing ape. so i tried this:

This looks like pyenv isn't doing the job of segregating by virtualenv correctly... which is strange. Let's work through this together.

this was an issue with pyenv, and the appropriate pyenv was not added to the ~/.bashrc
# So pyenv gets recognized
export PATH="$PATH:$HOME/.pyenv/bin"
eval "$(pyenv init --path)"
eval "$(pyenv init -)"
eval "$(pyenv virtualenv-init -)"

then run source ~/.bashrc
after this my pyenv was installed in the wrong place
$ pyenv virtualenvs
  apeworx (created from /usr)

so i deleted my pyenv and recreated it and it looks right
$ pyenv virtualenv-delete apeworx
$ pyenv virtualenv apeworx && pyenv activate apeworx
$ which python
/home/sabotage/.pyenv/shims/python
$ pyenv virtualenvs
  apeworx (created from /home/sabotage/.pyenv/versions/3.8.10)

once I did that my eth-ape was still in the wrong place
$ which ape
/usr/local/bin/ape
$ sudo rm /usr/local/bin/ape
$ pip install eth-ape
Successfully installed eth-ape-0.1.0a17
$ which ape
/home/sabotage/.pyenv/shims/ape
$ ape --version
0.1.0a17

ok great now this is looking good


allow using Heap.js in a webWorker

in a worker, the global 'window' object does not exist, whereas the 'self' global object exists in both cases

Thanks for the PR.
It would be great if you could instead use the Universal Module Definition, so that this library can be used by more clients.

okay, will do that. I noticed that this module actually was written using coffeescript. Does this mean I need to submit a coffeescript patch?

Yes, the file that needs to be modified is src/heap.coffee instead of lib/heap.js.
After the .coffee change is done, you can run npm install -d and make to compile the .coffee into .js(Feel free to leave this step to me if you don't feel like to configure the dependencies.)
Thanks :)


🐛 timeshift-launcher is not working in fresh install

branch
stable
Architecture
x86_64
Description
In a fresh install timeshift-launcher fails to open timeshift due to the missing optional package xorg-xhost.
Reproduction steps
- New install of manjaro-sway
- Run timeshift-launcher
- Timeshift is not starting

- Solution: install missing optional deps xorg-xhost

Screenshots
No response
Logs
No response

Bust isn't the bug then, that Timeshift launcher has implicit dependencies that should be explicit? Or are those tools something that should always be installed?

Bust isn't the bug then, that Timeshift launcher has implicit dependencies that should be explicit? Or are those tools something that should always be installed?

xorg-host is required for authorization on Wayland. It should be an explicit dependency for timeshift in sway

I tried adding a quick and dirty script for pkexec to work on manjaro sway. Not sure if s a great idea and not sure what to do about theming. Would you like to give it a try? It should land in manjaro-sway-settings-git soon.

I think my current version of that script works just fine. Would be great to hear, if this fixes the problem for you.

Hi boredland, thanks for the quick response. The fix solves the problem here as well. Thank you very much!


Filters are applied twice

I have the following query param:
'load_relations' => [
    'location' => 'query',
    'type'     => 'string',
    'required' => false,
    'filters'  => ['json_encode'],
],

So, when I call $client->getCustomers(['load_relations' => ['Contact']); I'd expect Guzzle to send a request with the following query string: ?load_relations=%5B%22Contact%22%5D.
But instead I got: ?load_relations=%22%5B%5C%22Contact%5C%22%5D%22.
That's because Guzzle is filtering the value with json_encode twice:
1 - https://github.com/guzzle/guzzle-services/blob/1.1.0/src/Handler/ValidatedDescriptionHandler.php#L47
2- https://github.com/guzzle/guzzle-services/blob/1.1.0/src/RequestLocation/AbstractLocation.php#L65

<EMAIL_ADDRESS>

Hi,
This issue is still present in the 1.1.2 release,
"startDate": {
          "description": "creation date for filtering. Format: 'yyyy-MM-dd'T'HH:mm:ss'",
          "location": "query",
          "sentAs": "start_date",
          "filters" : [
            {
              "method": "date_format",
              "args" : ["@value", "Y-m-d\\TH:i:s\\Z"]
            }
          ]
        },

This will crash because in the ValidationDescriptionHandler the filtering is already done, and later on, the filtering is done again by the Parameters->filter
which caused the fallowing issue
Warning: date_format() expects parameter 1 to be DateTimeInterface, string given

I am not sure I understand why filtering is done at all at the validation step. Originally my parameter description was :
        "startDate": {
          "type": "object",
          "instanceOf" : "DateTime",
          "description": "creation date for filtering. Format: 'yyyy-MM-dd'T'HH:mm:ss'",
          "location": "query",
          "sentAs": "start_date",
          "filters" : [
            {
              "method": "date_format",
              "args" : ["@value", "Y-m-d\\TH:i:s\\Z"]
            }
          ]
        },

But this creates another error because the filtering is done before the check and therefore I don't have a \DateTime anymore`

Hey @oliverde8, this issue was reintroduced since my PR #135 got reverted by https://github.com/guzzle/guzzle-services/commit/65ded511e534f98fa3abe4471a28ab7317237cf4. It seems like https://github.com/guzzle/guzzle-services/issues/145 relies on this behavior :/

Hi,
the removal introduced a regression or as @danizord mentioned, some folks rely on the odd behavior. I plan to work on that issue and other stuff regarding this package in September again. Stay tuned or provide a PR which takes both issues into account and comes with proper tests :-)

Hi,
I will be using 1.1.1 for now as I have limited time on this part of the application and need to finish everything by mid September. I basically upgraded a library that was using guzzle 4 but couldn't use as it is due to other dependencies requiring guzzle 6.
If i have any time I will look into it for a PR, but I don't think I will have time,
Thanks for you support

You can just create your own location class that implements AbstractLocation and override the functions that are calling the filters again.


Add testing for pkg/reconciler/[cluster]buildtemplate

This tracks my IOU for tests, since I want to wait for us to move some of the common testing capabilities for pkg/reconciler into knative/pkg, but they are still getting improvements.

The framework for this didn't land, so moving out.


Cannot open forked TQ or TN projects

I have been working on https://git.door43.org/Worldview/en_tq/src/branch/master/tq_MRK.tsv in tCC for several months. Last week, it stopped opening the file. Just spins with no explanation. File seems to be OK on Door43. Tried to open other files in https://git.door43.org/Worldview/en_tq with same problem. Tried files in https://git.door43.org/Worldview/en_tn with same problem.
Did something change in tCC to stop opening projects from other organizations? Nothing else has changed. I have tried two logins and two browsers with the same result.

This seems to be the same thing that the Farsi Team is experiencing.

I strongly urge you to address this technical issue as soon as possible with your team. The delays caused by this problem are wasting our time and putting our project timeline at risk. We must resolve this immediately so our tC Create team can get back on track with our work. Please review the attached screenshot and download the video from the below link which demonstrates the loading problem we are encountering. Your swift action in resolving this issue is greatly appreciated, as it will allow us to complete our work on time. https://www.transfernow.net/dl/20230828a7iKaXxG

@larrysallee We're all looking into this. Do you know when was the last time you COULD view and edit with tCC usig your Wordview org?

Rich,
I believe it quit last Wednesday.
Larry
Sent from my iPhone
On Aug 29, 2023, at 9:47 AM, Richard Mahn @.***> wrote:

@larrysalleehttps://github.com/larrysallee We're all looking into this. Do you know when was the last time you COULD view and edit with tCC usig your Wordview org?
—
Reply to this email directly, view it on GitHubhttps://github.com/unfoldingWord/tc-create-app/issues/1610#issuecomment-1697480219, or unsubscribehttps://github.com/notifications/unsubscribe-auth/BCGHTGJKBNVI54BKYPZDOJLXXXXF7ANCNFSM6AAAAAA4BRW2RQ.
You are receiving this because you were mentioned.Message ID: @.***>

@larrysallee Ok, worked with a bunch of developers this morning and we figured out a problem. Deploying a fix now. You should be able to work in tCC in an hour.

Rich,
Just came back up. Thanks.
Larry
From: Richard Mahn @.>
Date: Tuesday, August 29, 2023 at 2:09 PM
To: unfoldingWord/tc-create-app @.>
Cc: Larry Sallee @.>, Mention @.>
Subject: Re: [unfoldingWord/tc-create-app] Cannot open forked TQ or TN projects (Issue #1610)
@larrysalleehttps://github.com/larrysallee Ok, worked with a bunch of developers this morning and we figured out a problem. Deploying a fix now. You should be able to work in tCC in an hour.
—
Reply to this email directly, view it on GitHubhttps://github.com/unfoldingWord/tc-create-app/issues/1610#issuecomment-1697909644, or unsubscribehttps://github.com/notifications/unsubscribe-auth/BCGHTGIZXLY7VDY5PW3OVUDXXYV33ANCNFSM6AAAAAA4BRW2RQ.
You are receiving this because you were mentioned.Message ID: @.***>


[bug] z-index on autocomplete

Reproduction
Use StackBlitz to reproduce your issue: https://stackblitz.com/fork/components-issue
Steps to reproduce:
1.
2.

Expected Behavior
provider better way to override z-index depend upon application
Actual Behavior
it is overlapping other elements on dom
Environment

Angular:
CDK/Material:
Browser(s): Chrome
Operating System (e.g. Windows, macOS, Ubuntu): Windows

This is working as expected. Overlays are set up so they open on top of everything else.

Hi @crisbeto ,
Scenario:
Step 1: I have set cdk overlay z-index to 1 for every components with that it will not overflow to my navbar.
Step 2: In that component, I have ngbModal from ng-bootstrap which has greater z-index than cdk overlay as i changed the cdk overlay z-index: 1
Step 3: Now i cant see MatAutoComplete dropdown in ngbModal.
Expected: Can we have option in matautocomplete to set z-index dynamically for cdk overlay.


Dynamic changes of className are not reflected upon rerender

When the style is dynamic with the use of the if statement directly in the render method, its changes are not reflected upon state change.
Example:
function Foo() {
  const [state, setState] = useState('none');

    return (
      <button className={(state !== 'game' ? ' class1' : ' class2')}
        onClick={() => (state !== 'game' ? setState('game') : setState('none'))}>
          Test
      </button>
    );
}

Actual result
Nothing happens
Expected result
Assuming class1 should set scale to 125 and class2 should set scale to 100
https://user-images.githubusercontent.com/5092066/165640284-ad62f2dc-0217-46c2-8751-60ed89688658.mp4

Can't reproduce. Maybe there is another error, like parsing is failing? Did you try with a style other than scale? Btw there is no transform in ReactUnity. There are separate properties for translate, scale and rotate. I guess this may be a problem for Tailwind.

You are right, my bad :(

transform property is not available. It is a shorthand for translate scale and rotate. Operations like matrix, perspective and skew won't work. Also % and px cannot be mixed for same dimension of translate.


Add way to open Markdown links in a different editor group

Scenario:
Markdown file is open in left editor group.  This file has a lot of links to other .md files that I want to preview in the right editor group.  But  Markdown links can currently only be opened into the same editor.
Please consider.  Thanks!

Adding @gregvanl per our discussion about this one

@tedhudek Do you mean that you would like an option to make the open preview to side command to open the preview to the left instead of to the right of the current editor?

@mjbvz No, sorry, I should have been more specific.  Here's what I mean:

Double-click to open a .md file in a persistent editor in Code, preferably a file with many links to other local .md files.
In the file, Ctrl+click a link to another .md file.
The other file opens in a new editor, in the same editor group.

Desired: open the link as a raw .md file in a new or existing (separate) editor group.
Then, when I go back to the original file and ctrl+click another .md link, open that raw .md into the same editor group the previous one opened into.  So I can quickly ctrl+click through a bunch of links and see the raw .md while my original file (the one with all the links) stays in view.

Ok, thanks for explaining the expected behavior in more detail. Marking as help wanted if anyone wants to investigate this. To get started look at:

normalizeLink in documentLinkProvider.ts This is where we  map markdown links to _markdown.openDocumentLink  command links

The handler of _markdown.openDocumentLink in extension.ts This is where we convert the command into an editor action. Instead of opening in the current editor, we would want to open in a new editor group here

For verification:

A new setting was added called "markdown.links.openLocation"
There are two options: "currentGroup" (the default) and "beside"
All links in md text files (not the preview) should respect this option
The default behavior should be to open links in the current group

Can't verify because of https://github.com/microsoft/vscode/issues/81849

I can verify this on Mac.

Thanks for adding this!


No clear documentation of default parameter values

Default metric is not even mentioned in this article: https://umap-learn.readthedocs.io/en/latest/parameters.html
Could not find any place that lists all default parameters, which is very confusing to me. Otherwise a great package!

The default metric can be found in the docstring and should be being auto
populated by Sphinx here:
https://umap-learn.readthedocs.io/en/latest/api.html.  Unfortunately,
something seems to have gone wrong with the auto documentation call to
Sphinx.  Thanks for pointing out the problem.  In the meantime you can use
shift-tab-tab in Jupyter notebook or ?umap.UMAP in ipython to have a look
at the docstring.
On Mon, Apr 22, 2024 at 4:18 PM Sean Pedersen @.***>
wrote:

Default metric is not even mentioned in this article:
https://umap-learn.readthedocs.io/en/latest/parameters.html
Could not find any place that lists all default parameters, which is very
confusing to me. Otherwise a great package!
—
Reply to this email directly, view it on GitHub
https://github.com/lmcinnes/umap/issues/1115, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AC3IUWWC2WLNEM3HVI5GQQ3Y6VWBJAVCNFSM6AAAAABGTOJFH6VHI2DSMVQWIX3LMV43ASLTON2WKOZSGI2TOMZZGAYTMMY
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>


Episode section remove from Aside Nav

Fixed as part of https://github.com/aemsites/phoenix/pull/73


gnupg: 2.2.21 -> 2.2.23 [security]

Motivation for this change
fixes critical security issue: https://lists.gnupg.org/pipermail/gnupg-announce/2020q3/000448.html
Things done

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

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

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

@GrahamcOfBorg build gnupg

seems to be a similar PR to #97034 but that one has a different source version? not sure what that is about.

Because it's targeted against staging, which is already on 2.2.22.
Given that this would need to be targeted to staging as well, I suggest to close this PR and rally behind the other one.

Superceded by https://github.com/NixOS/nixpkgs/pull/97034; closing.


Placeholder quoting

checkForUnmatchedPlaceholderExpression and checkForUnmatchedPlaceholderExpression replace and check input text by pattern ${(.+?)}, but we can skip this.
For example we have sql:
insert into test values('${test'}); I don't want replace this text, but flyway tries to replace this text, but can't and after they throw exception in checkForUnmatchedPlaceholderExpression.

Placeholders are replaced first, before any sql language parsing takes place. If you do not want them replaced, you can use a different prefix or suffix.
Works as designed.