BLD: update dependencies for 1.13.0 release and numpy 2.0

These are @rgommers proposed changes on the new release branch with respect to pyproject.toml.
We probably need a resolution to gh-20268 (which is this upstream: https://github.com/numpy/numpy/issues/26060) before further testing can proceed on wheel build viability, given the change in size of a public NumPy struct this late in the game. Anyway, either we backport a patch or they back that out, but probably not getting resolved this evening.

The "build with gcc8" job is failing though:
ERROR Missing dependencies:
	numpy<2.3,>=2.0.0b1

Let me have a look at that first.

Thanks Ralf. I had a read through some of the stuff happening in Sebastian's pybind11 PR. That stuff is pretty hard to understand, and to be fair even some pybind11 devs seem a bit confused!
Anyway, I'll try to move the rc1 process forward a bit today. I'll probably have another backport PR where I test the waters a bit on the wheel builds as well.


The API cannot compile without binaryninjacore and binaryninjaui

The current CMakfLists.txt complains about config error when it cannot find the core and the UI, whereas out intention is that it can compile fine even without them.

Our API requires a binaryninjacore to build.


Deadline: webservice password

Changelog Description
This PR provides support for Deadline Webservice authentication.
Additional info
Settings are rudimentary and will need to be changed as we currently don't have password type of SettingsField which would mask and hash values. AFAIK I cannot use Secrets as they are not per artist.
Currently each artist needs to provide credentials via Site Settings, I didn't provide some default values as I assume if client expects  authentication they will not use shared account.
This PR actually affects all existing DL integrations as they might need to have authentication injected.

[ ] After Effects
[ ] Blender
[x] Maya
[ ] 3ds Max
[ ] Fusion
[ ] Nuke
[ ] Houdini

Testing notes:

Enable authentication in Deadline Monitor Tools>Configure Repository Options>Web Service Settings>Require Authentication
Build and deploy new deadline addon
Enable authentication requirement for DL server in ayon+settings://deadline

Create user in DL and provide password (in Webservice password)

Use these credentials in Site Settings

I have setup it as in testing steps and turn auth on

So far looks good ...tested in maya 2024
Succesfully rendered on DL...here is my LOG for consideration if the auth was taken into account during the process...
Job_2024-04-03_17-03-55_660d6fdb2918cdaa07e3bf0b.txt

just curious how this will work in a studio environment with remote profiles (artists do not have a dedicated computer, but can move from machine to machine depending on workload. So one machine can be shared by multiple artists and one artist can use multiple machines)

Not sure I completely follow, this password is only used during submission, it protects open DL webservice from anybody touching them. This password is completely separate from OS based password which might be used if artist machine is taken as a worker.

@m-u-r-p-h-y I think it really depends just what credentials they log in with...the auth and password being stored per user on the server....doesnt matter what machine they use??

Not sure I completely follow, this password is only used during submission, it protects open DL webservice from anybody touching them. This password is completely separate from OS based password which might be used if artist machine is taken as a worker.

My only concern (or maybe just misunderstanding) is the way we store the user credentials in Ayon. It seemed like local, per machine setting to me.

My only concern (or maybe just misunderstanding) is the way we store the user credentials in Ayon. It seemed like local, per machine setting to me.

Site settings are per user-machine. Question is if is should work more like credentials to ftrack - stored using login dialog during tray launch.

We dont have support for it, but we definitely should revisit question of User profile and credentials for additional external services. Similar question came up also during Perforce WG.
I would like for users to set their credentials on their profile only. Issues for that:

totally new concept of "settings" (not Project, not Site)
a lot of issues connected to that (
-- should they be production/staging?
-- How they would appear in addon settings models
-- how they will be retrieved by ayon_api
-- could they be set by admins
-- should all of them be triggered from Tray?
-- how to store/receive them safely

I think it should be completely separate Epic covering that, irrelevant for this PR for now.

I can't even get to the point 5. Deadline addon is not displayed at Site sync tab:-(

I can't even get to the point 5. Deadline addon is not displayed at Site sync tab:-

Please make sure that you have deadline addon set in Production bundle, Site Settings are on applicable for addons in  there. They will be used even if you use Dev bundle, but they must be in Production one too (which is a bit confusing).

When I set a authentication in DL, Deadline web service validator fails:
DEBUG: http://<IP_ADDRESS>:8081 "GET / HTTP/1.1" 401 0
Traceback (most recent call last):
  File "C:\Users\qam\AppData\Local\Ynput\AYON\dependency_packages\ayon_2403071252_windows.zip\dependencies\pyblish\plugin.py", line 527, in __explicit_process
    runner(*args)
  File "C:\Users\qam\AppData\Local\Ynput\AYON\addons\core_0.3.1-dev.1\ayon_core\modules\deadline\plugins\publish\validate_deadline_connection.py", line 32, in process
    assert response.ok, "Response must be ok"
AssertionError: Response must be ok

Speaking of Fusion all working well and without any issues... tested on Fusion 18

Sucessfully tested also in Nuke host app. All fine and no errors experienced.

@MustafaJafar could you test in Houdini host pls? thx

In AE it fails during DL web service validation:
  File "C:\Users\qam\AppData\Local\Ynput\AYON\dependency_packages\ayon_2403071252_windows.zip\dependencies\pyblish\plugin.py", line 527, in __explicit_process
    runner(*args)
  File "C:\Users\qam\AppData\Local\Ynput\AYON\addons\core_0.3.1-dev.1\ayon_core\modules\deadline\plugins\publish\validate_deadline_connection.py", line 24, in process
    deadline_url = instance.data["deadline"]["url"]
TypeError: 'NoneType' object is not subscriptable

When Nuke job is already on farm, there is DL error:
Error
=======================================================
Error: Global job preload script 'C:\ProgramData\Thinkbox\Deadline10\workers\qamtop\plugins\66354fbf50445baecead81e2\GlobalJobPreLoad.py': Missing required env vars: AVALON_PROJECT, AVALON_ASSET, AVALON_TASK, AVALON_APP_NAME (FranticX.Scripting.PythonNetException)
  File "C:\ProgramData\Thinkbox\Deadline10\workers\qamtop\plugins\66354fbf50445baecead81e2\GlobalJobPreLoad.py", line 487, in inject_ayon_environment
    raise RuntimeError((
  File "C:\ProgramData\Thinkbox\Deadline10\workers\qamtop\plugins\66354fbf50445baecead81e2\GlobalJobPreLoad.py", line 624, in __main__
    inject_ayon_environment(deadlinePlugin)
   at Python.Runtime.PythonException.ThrowLastAsClrException() in C:\thinkbox-conda\conda-bld\dotnet_pythonnet_1688438502375\work\src\runtime\PythonException.cs:line 53
   at Python.Runtime.PyObject.Invoke(PyObject[] args) in C:\thinkbox-conda\conda-bld\dotnet_pythonnet_1688438502375\work\src\runtime\PythonTypes\PyObject.cs:line 750
   at Python.Runtime.PyObject.InvokeMethod(String name, PyObject[] args) in C:\thinkbox-conda\conda-bld\dotnet_pythonnet_1688438502375\work\src\runtime\PythonTypes\PyObject.cs:line 818
   at FranticX.Scripting.PythonNetScriptEngine.CallFunction(String moduleName, String functionName, Object[] args)
   at Deadline.Plugins.PluginWrapper.d()
   at Deadline.Plugins.PluginWrapper.StartJob(String& outMessage, AbortLevel& abortLevel)

=======================================================
Type
=======================================================
RenderPluginException

=======================================================
Stack Trace
=======================================================
   at Deadline.Plugins.SandboxedPlugin.d(DeadlineMessage bgq, CancellationToken bgr)
   at Deadline.Plugins.SandboxedPlugin.StartJob(Job job, CancellationToken cancellationToken)
   at Deadline.Slaves.SlaveRenderThread.c(TaskLogWriter ajv, CancellationToken ajw)```

My job's envs are:
![Screenshot 2024-05-03 232858](https://github.com/ynput/ayon-core/assets/26925793/21bd55d1-abd4-486e-8b72-0283f0849691)

Fixed AE (issue in order).
I think that issue with GlobalJobPreLoad is that you have older version, not ayon-core.0.3.0 one.
Code should like this:


Support Symfony 3.3 optional class for named services compiler pass

Followed by https://github.com/Haehnchen/idea-php-symfony2-plugin/pull/1265. This makes the class in services optional which fallsback to the id then.
Note: I did not test this against a working installtion, but looks to me all is in to support this Symfony feature here also.
    <services>
        <service id="AppBundle\Mailer">
            <argument>sendmail</argument>
        </service>
    </services>

https://symfony.com/blog/new-in-symfony-3-3-optional-class-for-named-services

1. Why is this change necessary?
Improve Symfony support by supporting id as classes in service files
2. What does this change do, exactly?
https://symfony.com/blog/new-in-symfony-3-3-optional-class-for-named-services
3. Describe each step to reproduce the issue or behaviour.
4. Please link to the relevant issues (if any).
https://symfony.com/blog/new-in-symfony-3-3-optional-class-for-named-services
5. Which documentation changes (if any) need to be made because of this PR?
6. Checklist

Hey @Haehnchen,
please squash your commits.
Also, please remember to sign the CLA.

Hello,
thank you for creating this pull request.
I have opened an issue on our Issue Tracker for you. See the issue link: https://issues.shopware.com/issues/SW-23122
Please use this issue to track the state of your pull request.

Hey @Haehnchen,
i have looked in to it and it works currently also without your Change. The compiler pass ResolveClassPass is already called internal from Symfony.
But thanks for the Pull Request and the interesting Blog post :blue_heart:


Unit Tests

Add unit tests

Added in version 0.0.4
https://github.com/Cloud2Box/c2b-session/commit/7e1872128731fce4829b4621f8867be28752ea69


Cannot find Slugify

Am running spotify-downloader on Ubuntu 16.04 LTS on Raspberry Pi.
Whenever I attempt to run the program with a: sudo python spotdl.py
I have this return to me:

Traceback (most recent call last):
File "spotdl.py", line 6, in
from core import misc
File "/home/fenix/Downloads/spotify-downloader/core/misc.py", line 4, in
from slugify import slugify
ImportError: No module named slugify

I then attempted to install slugify with a: pip install slugify
which returned that have it installed to the most up to date version, this doesn't seem to click with running SD (spotify-downloader).
so I then attempted to install:
python-slugify, slugify, and awesome slugify.
both via pip, and Ubuntu repositories, having two of them installed twice. Still no dice.
However going to the python-slugify repository on Github and cloning it directly into the directory will get me passed it, however I then run into an issue with spotipy.
attempting to run SD again gives me:

Traceback (most recent call last):
File "spotdl.py", line 6, in
from core import misc
File "/home/fenix/Downloads/spotify-downloader/core/misc.py", line 5, in
import spotipy.oauth2 as oauth2
ImportError: No module named spotipy.oauth2

not really sure where to go from here.

Hey, you do not need to manually install them! I must ask you to run pip uninstall <package_name> on whatever slugify you installed. The thing we need is called unicode-slugify.
You can simply do pip install -r requirements.txt to install all the required dependencies. You should really go through README.md if you haven't already.
Let me know if further problems!

I forgot to mention that I did follow the instructions and run pip install -r requirements.txt
I uninstalled the other slugify versions that I found, and the output remains the same, it is unable to find slugify.
upon running pip install -r requirements.txt this is my output:

pip install -r requirements.txt
Requirement already satisfied: pathlib>=1.0.1 in /usr/local/lib/python3.5/site-packages (from -r requirements.txt (line 1))
Requirement already satisfied: BeautifulSoup4>=0.4.13 in /usr/local/lib/python3.5/site-packages (from -r requirements.txt (line 2))
Requirement already satisfied: youtube_dl>=2017.5.1 in /usr/local/lib/python3.5/site-packages (from -r requirements.txt (line 3))
Requirement already satisfied: pafy>=<IP_ADDRESS> in /usr/local/lib/python3.5/site-packages (from -r requirements.txt (line 4))
Requirement already satisfied: spotipy>=2.4.4 in /usr/local/lib/python3.5/site-packages (from -r requirements.txt (line 5))
Requirement already satisfied: mutagen>=1.37 in /usr/local/lib/python3.5/site-packages (from -r requirements.txt (line 6))
Requirement already satisfied: unicode-slugify>=0.1.3 in /usr/local/lib/python3.5/site-packages (from -r requirements.txt (line 7))
Requirement already satisfied: titlecase>=0.10.0 in /usr/local/lib/python3.5/site-packages (from -r requirements.txt (line 8))
Requirement already satisfied: requests>=1.0 in /usr/local/lib/python3.5/site-packages (from spotipy>=2.4.4->-r requirements.txt (line 5))
Requirement already satisfied: unidecode in /usr/local/lib/python3.5/site-packages (from unicode-slugify>=0.1.3->-r requirements.txt (line 7))
Requirement already satisfied: six in /usr/local/lib/python3.5/site-packages (from unicode-slugify>=0.1.3->-r requirements.txt (line 7))
Requirement already satisfied: chardet<3.1.0,>=3.0.2 in /usr/local/lib/python3.5/site-packages (from requests>=1.0->spotipy>=2.4.4->-r requirements.txt (line 5))
Requirement already satisfied: idna<2.6,>=2.5 in /usr/local/lib/python3.5/site-packages (from requests>=1.0->spotipy>=2.4.4->-r requirements.txt (line 5))
Requirement already satisfied: certifi>=2017.4.17 in /usr/local/lib/python3.5/site-packages (from requests>=1.0->spotipy>=2.4.4->-r requirements.txt (line 5))
Requirement already satisfied: urllib3<1.22,>=1.21.1 in /usr/local/lib/python3.5/site-packages (from requests>=1.0->spotipy>=2.4.4->-r requirements.txt (line 5))

so it seems as though they are all installed. However slugify is still not found.

I am not really sure what is causing this but there is a small possibility that your python and pip versions do not match.
What is the output of python -V and pip -V?

python -V
Python 2.7.12
pip -V
pip 9.0.1 from /home/user/.local/lib/python3.5/site-packages (python 3.5)

I just figured it out: if I run the command as:
sudo python3 spotdl.py
it works just fine. You were 100% correct on the pip and python not matching. Thank you. :)

Its all good. :)


Type definitions for asp.net webforms ajax and client side validation

ASP.NET webforms comes with client side validation functions as well as other functions in the Sys namespace of ASP.NET webforms.
examples include functions like __doPostBack and Page Request Manager that are part of the framework that are unique to ASP.NET webforms.

New to TypeScript...to get around this issue are we just supposed declare the IString interface in our *.ts files and call the String.localeFormat via (String).localeFormat?  I'm on TypeScript 1.4 in VS2013.


Create 0000-01-02-Arteliese.md

Ive tried everything and yet im still stuck here, whata surprise, great tutorial system that does nothing but explain whats most likely already known by familiar users, while trying to use complex multistep explanations to new comers like me in your entry level tutorial, love it!

Uhhhmmm, total disaster for me. I didn't understand any steps of the processes you "taught" me and was lost the entire time. None of your links helped and just made me more confused. Your expectations of steps was still too much for what little knowledge I have using this product. I'm coming from a college level class that's introducing me to databases and queries and have zero frame of reference to coding and community hubs dedicated to the coding community. You rely on fundamental vocabulary that was never introduced and in the end I have most likely learned no applicable skills or comfortability with navigating and contributing to this website.

Uhhhmmm, total disaster for me. I didn't understand any steps of the processes you "taught" me and was lost the entire time. None of your links helped and just made me more confused. Your expectations of steps was still too much for what little knowledge I have using this product. I'm coming from a college level class that's introducing me to databases and queries and have zero frame of reference to coding and community hubs dedicated to the coding community. You rely on fundamental vocabulary that was never introduced and in the end I have most likely learned no applicable skills or comfortability with navigating and contributing to this website.


[BUG]journey sees my virtuals servers as no compliant with AS3

Environment

F5OS Platform and Version

Base OS Version: 1.7.0-8741
Service Version: 1.7.0-8741

DESTINATION BIG-IP VERSION
Sys::Version
Main Package
Product     BIG-IP
Version     <IP_ADDRESS>
Build       0.0.12
Edition     Point Release 3
Date        Wed Nov 15 11:32:44 PST 2023

SOURCE BIG-IP VERSION
Sys::Version
Main Package
Product     BIG-IP
Version     <IP_ADDRESS>
Build       0.0.4
Edition     Point Release 6
Date        Fri Jan 29 02:32:44 PST 2021

SUMMARY

All my virtuals servers are not compliant with AS3, please let me know how to do to make my virtuals servers compliant with AS3, it's very urgent forme brcause i have a teal migration to do for my customer.:
Uncompliant Applications
Some of the Virtual Servers are not compliant with AS3. Only Tenants with all green Applications/VS' can be later converted to AS3 and deployed to a BIG-IP instance.
Please drill down to uncompliant VS' and fix unsupported configurations using the editor provided.
STEPS TO REPRODUCE

EXPECTED RESULTS

I want mu virtuals servers to be compliant to as3
ACTUAL RESULTS

Screenshots:

Journeys Logs:

Developer console output:

App Version:
 version 4

@d-bamini - what configuration are you trying to migrate (LTM, APM, ...)?

Red - Virtual configuration includes some objects that are currently marked as as3NotConverted by f5-automation-config-converter, and are considered undeployable.

Red normally means that there is a part of an application that is not supported in AS3. You need to manually verify if migration of such application is something customer agrees to and accept some functionality loss.

@d-bamini - what configuration are you trying to migrate (LTM, APM, ...)?

Red - Virtual configuration includes some objects that are currently marked as as3NotConverted by f5-automation-config-converter, and are considered undeployable.

Red normally means that there is a part of an application that is not supported in AS3. You need to manually verify if migration of such application is something customer agrees to and accept some functionality loss.

i want to migrate LYM configuration, let me know if i can send you my ucs file and it's a migration per application i want to do.
other question , let me hnow it currently , there are compabilities issues between AS3 and IRULES
Thanks for your answer, it very urgent for me
Many thank, i'm waiting for your answer

Please open an SR ticket and upload the UCS file.

@azahajkiewicz I have a similar scenario that is easily reproduceable.  Happy to jump on teams to show you what I see or to learn what I may be doing wrong.  This could be multiple issues coming together as similar symptoms are reported in https://github.com/f5devcentral/f5-journeys/issues/118 as well.


Removes useage of OS specfic path separator

TAR uses "/" regardless of the OS therefore usage of "" causes
incorrect behavior.
Resolves #185
Checklist

[x] I have viewed, signed, and submitted the Contributor License Agreement.
[x] I have linked issue(s) that this PR should close using keywords or the Github UI (See docs)
[x] I have reviewed the styleguide for guidance on my code quality.
[x] I'm happy with the commit history on this PR (I have rebased/squashed as needed).

@micahyoung If you wouldn't mind giving this branch a shot and see if it resolves everything for you that would be mighty helpful.


Tiltfile error

Got a build error in the tilt:
Starting Tilt (v0.12.8, built 2020-03-12)…
Beginning Tiltfile execution
Successfully loaded Tiltfile (5.071517ms)
Traceback (most recent call last):
  /home/furkat/First Task/capi/capi-dev/Tiltfile:9:17: in <toplevel>
  <builtin>: in default_registry
Error: default_registry: for parameter host: got NoneType, want string

There is no host parameter in the Tiltfile

@kashifest can you please give some hints?

Can you give some more details? What are you trying to run?

If in case you are trying to install CAPI-dev, follow this PR instead, https://github.com/Nordix/airship-clusterapi-docs/pull/29/

@kashifest can you please give some hints?

I was following this https://github.com/Nordix/airship-clusterapi-docs/tree/master/capi-dev document and after running tilt up command at the end I got the above provided error

@furkatgofurov7  that was made for v1alpha2, a lot has changed since then and I believe the information has become obsolete now. @jan-est has played with it recently and the above link that I gave is his PR, so he can also give some directions in-case you have some issues.

@furkatgofurov7 that was made for v1alpha2, a lot has changed since then and I believe the information has become obsolete now. @jan-est has played with it recently and the above link that I gave is his PR, so he can also give some directions in-case you have some issues.

Thanks @kashifest for information, forgot to check when the document was created.


Missing Authorization Header

✅ Prerequisites

[x] Did you perform a cursory search of open issues? Is this bug already reported elsewhere?
[x] Are you running the latest SDK version?
[x] Are you reporting to the correct repository (magic-sdk)?

🐛 Description
I'm seeing intermittent errors when using loginWithCredential using magic-sdk.
🧩 Steps to Reproduce
Unfortunately I'm not able to reproduce since it happens most often on mobile web and intermittently.
🤔 Expected behavior
Expect error not to throw
😮 Actual behavior

💻 Code Sample
let magic: Magic | undefined;
if (
  typeof window !== "undefined" &&
  process.env.NEXT_PUBLIC_MAGIC_PUBLISHABLE_KEY
) {
  magic = new Magic(process.env.NEXT_PUBLIC_MAGIC_PUBLISHABLE_KEY);
}

export const useLoginCallback = (): string => {
  const [login] = useMutation(LOGIN);
  const [error, setError] = useState("");
  useEffect(() => {
    async function completeLogin() {
      if (!magic) return;
      if (typeof window === "undefined") return;
      try {
        const didToken = await magic.auth.loginWithCredential();
        const { data } = await login({
          variables: { didToken },
        });
      } catch (e) {
        setError(e.message);
      }
    }
    completeLogin();
  }, []);
  return error;
};

🌎 Environment

Software
Version(s)

magic-sdk
7

Browser
Chrome Mobile, Safari Mobile

yarn
1.22.4

Operating System
Mac OSX

Please take the time to share a CodeSandbox which demonstrates the issue. The code snippet you provided is much appreciated, but it only encapsulates the "callback" side of the login flow. We'll need to see a complete implementation to understand if there's a bug.

@smithki the issue is intermittent on mobile web so I haven't been able to reproduce. We are calling the function on the callback url page if that helps.

The issue, as described, potentially indicates the callback query parameter might be missing or malformed by the time loginWithCredential is called.

Oh interesting, the error seems to suggest that there's a missing http header. I'll add some more logging and see if I can get the query params that are present when the error happens.

I logged the query params, and it appears that there are no query params present when the function is called. Any idea as why that would be happening?

Unfortunately, without a full code sample (even one that reproduces the issue only occasionally), I can't discern that for you 😞

Hi @melissafzhang , I've been reviewing your case.  Unfortunately I'm unable to reproduce the problem so will be marking it closed.  If you're still experiencing issues, feel free to reply back with more details and/or a reproducible code snippet and we can revisit.  Thanks!


✨Edit doc title on click

Feature Request
We would like to update our doc directly from the doc page (not from the modal).
We thought to edit the title directly from the doc page, by clicking on the title:

Duplicate of https://github.com/numerique-gouv/impress/issues/272


PHP 8.1 / PHP 8.0 compatibility issue

this plugin is not compatible with PHP 8.1 / PHP 8.0
smoke billows out of this area:
  Composer\EventDispatcher\Event::__construct(): Argument #1 ($name) must be of type string, null given, called in vendor/civicrm/composer-compile-plugin/src/Event
  /CompileTaskEvent.php on line 55```

@olstjos Are you running v0.18?
I would expect that #20's 9787277c8ba6fc2a6916ec4373c03759d77abd00 would fix that.
(I can't see any other path that would provide null value of $name. But if you do get the error on 0.18, could you post a bigger backtrace?)

I've run this a bit on php81 and updated the test-matrix to include php81 (#23).
Please feel free to reopen if there's still an issue.


Update Validate Azure Stack Certificates syntax

Update Validate Azure Stack Certificates syntax and certificate types.
Note: The link to PaaS cert validation on https://docs.microsoft.com/en-us/azure-stack/operator/azure-stack-app-service-before-you-get-started?view=azs-1910 will be invalid after this change.

 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.:x: erskinejohn sign nowYou have signed the CLA already but the status is still pending? Let us recheck it.

@erskinejohn : Thanks for your contribution! The author(s) have been notified to review your proposed change.

#sign-off

hi @erskinejohn - due to the number of changes in this PR, we need to move the commits to the private repository so we can take advantage of proofing, validation, and staging tools there.
@mattbriggs - we'll assign the new PR to you for a quick review and sign off when it's ready.
Thanks.

New PR https://github.com/MicrosoftDocs/azure-stack-docs-pr/pull/2086

The URL doesn’t seem valid.
From: Jak Koke<EMAIL_ADDRESS>Sent: 19 December 2019 16:49
To: MicrosoftDocs/azure-stack-docs<EMAIL_ADDRESS>Cc: John Erskine<EMAIL_ADDRESS>Mention<EMAIL_ADDRESS>Subject: Re: [MicrosoftDocs/azure-stack-docs] Update Validate Azure Stack Certificates syntax (#549)
New PR MicrosoftDocs/azure-stack-docs-pr#2086https://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FMicrosoftDocs%2Fazure-stack-docs-pr%2Fpull%2F2086&data=02|01|john.erskine%40microsoft.com|cae9d721a3934810ce5408d784a3654e|72f988bf86f141af91ab2d7cd011db47|1|0|637123709645253421&sdata=RYuQLmMWgL9QJUgfKFl5%2F2Z3FQXz%2FSEOr1CaJCnRnpE%3D&reserved=0
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FMicrosoftDocs%2Fazure-stack-docs%2Fpull%2F549%3Femail_source%3Dnotifications%26email_token%3DAMEMVBBURFHVNCNRSMW7AILQZOQZBA5CNFSM4J5IWNQ2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEHKG5VA%23issuecomment-567570132&data=02|01|john.erskine%40microsoft.com|cae9d721a3934810ce5408d784a3654e|72f988bf86f141af91ab2d7cd011db47|1|0|637123709645263416&sdata=uGSob3VaMctY1%2FVPJaMOIQjyg%2ByG6uLUnYR2pi4pG9Q%3D&reserved=0, or unsubscribehttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAMEMVBCVUBXDZZ2ZTET6FEDQZOQZBANCNFSM4J5IWNQQ&data=02|01|john.erskine%40microsoft.com|cae9d721a3934810ce5408d784a3654e|72f988bf86f141af91ab2d7cd011db47|1|0|637123709645263416&sdata=ztlHeP6%2FTzaju%2FqU1YqsIvjVU%2Bq2EWk1d3VjahdoOTw%3D&reserved=0.

Hi @erskinejohn - the link appears to give a 404 because you don't have access to the private repo. Once we've checked the changes for any issues, they'll be merged into the master branch and published live where you'll be able to see them. The PR is still in process at this time. thanks.


chore(package.json): bump up typescript version

bump up typescript compiler version, compile with --pretty option
markdown test is moved to travis

Small changes to build script,

Typescript pretty option
: basically this option will prints out additional detail when compile fails like below, help someone does not have editor side compiler support.

markdown test is moved to travis
: markdown test doesn't necessarily need to be executed per every local unit test run, moved into travis.

I can check in this once got signed off.

This needs to be rebased. Outside of that, I'm pretty indifferent about TypeScript versions, as long as we're up to date and things build properly.

OK. I'll rebase and check this in by myself.

Merged with 836b140, this requires npm install to update typescript compiler.


Code Review

Explain the code base

Hi,
My task was to create a package for the Dowell Mail service API. This django package consists of the mail url, which when called upon loads up the home view function which points to the home.html template. The template has a form for the email details. The view function loads the API key from the environment variable, and takes the email details (sender's email, sender's name, receiver's email and the email body) from the submitted form from the home.html template. It first validates the email though the type=validate endpoint. It then checks if the response was successful (if success==True) then it goes on to send an email via type=send-email endpoint, and sets the email response's message to the messages.html template, which will be shown to the user. If false, the email will not be sent but the validation response's message will be set to the messages.html template and then shown to the user.

Ok code base looks good , You should write more clean code which is readable @rezarex

Thanks for the feedback. I will keep that in mind and focus on writing more clean code in future.

Hi @manishdashsharma , I have done some refactoring on the code. Is it okay if I push the updates on this branch?


drm mode fails to draw on H616 processor

I can't get drm mode to work within lvgl on my SBC (Orange Pi Zero 2).
This example works fine:
https://github.com/dvdhrm/docs/blob/master/drm-howto/modeset-atomic.c
However only fbdev seems to work with lvgl.
Here is how I'm initializing it. The screen flashes, then I'm back in the console.
`    drm_init();
lv_disp_draw_buf_init(&disp_buf, buf, buf2, DISP_BUF_SIZE);
/*Initialize and register a display driver*/
disp_drv.draw_buf = &disp_buf;
disp_drv.flush_cb = drm_flush;
disp_drv.hor_res = 800;
disp_drv.ver_res = 480;
disp_drv.full_refresh = true;
lv_disp_drv_register(&disp_drv);`

I cc @superna9999 and @leiflm who contributed the DRM driver.
Could you take lake look at this issue?

I am sorry. I am currently not using lvgl.
Maybe using DRM environment variables to debug will help you to find precisely what goes wrong.
@danielwalton In case you are addressing the wrong device, you can use the environment variable DRM_CARD to specify a different one.
Good luck!


[Feat] Add Support for onMouseOver and onMouseLeave props in <AdvancedMarker />

Target Use Case
Adding these props would enable developers to build functionality around AdvancedMarker hover states. e.g I'd like to be able to show a preview of some metadata in an InfoWindow when a marker is being hovered over.
Proposal
Add onMouseOver and onMouseLeave as props, similar to the current api of onClick and the drag event handlers.

I ran into this too. You can work around this by adding the props to your AdvancedMarker content, for example;
<AdvancedMarker
	ref={markerRef}
	position={markerPosition}
	onClick={() => setInfowindowOpen(true)}
	{...other}
>

 setInfowindowOpen(true)}
		onMouseOut={() => setInfowindowOpen(false)}
		style={{
			width: 20,
			height: 20,
			position: 'absolute',
			top: 0,
			left: 0,
			background: '#F00',
			border: `2px solid #FFF`,
			borderRadius: '50%',
			transform: 'translate(-50%, -50%)'
		}}
	/>
	{infowindowOpen && (
		<InfoWindow
			anchor={marker}
			maxWidth={200}
			onCloseClick={() => setInfowindowOpen(false)}
		>
			infowindow content
		</InfoWindow>
	)}
</AdvancedMarker>

Unfortunately, that doesn't work if your content is just a Pin component. I should be able to look into this tomorrow.

Were you able to look into it @usefulthink. I was looking into the API reference for AdvanceMarker here. Seems that the addEventListener method is part of beta version as of now. The APIProvider component does allow us to pass version as prop. Was wondering if this will work:

Pass version as beta in APIProvider prop
The AdvancedMarker component extends for all EventListener.
The user passes any listener as prop, let say onMouseEnter
If APIProvider is initialized in beta mode then we allow this events, else give error saying that its still in beta and needs to initialize APIProvider in beta version.

The benefit of this approach is that we don't have to manually add each listener to the components like AdvancedMarker or Pin

We're in a bit of a transition-period right now – the version currently in beta will introduce the web-components (<gmp-map> and <gmp-advanced-marker>), and with that we'll probably also get support for DOM events on the AdvancedMarkerElement itself.
But I wouldn't want to make the beta-channel a requirement for using AdvancedMarker, if we can solve this in another way.
Until the web-components are in GA (weekly and quarterly channels), the best thing to do is probably to add the event-listeners to the advancedMarker.element instead. We probably don't even need a different handling of this for when web-components are released, but that remains to be seen.

Is there any example of adding listeners to the advancedMarker.element or does it need to be built?

No, it's on my ToDo-list, but I haven't gotten to it yet. I'm still pondering if we should use wrapped events for the markers like we do for the map itself, or if we should just use the native events.

Earlier it made sense to add each declaration because the type of events was MapMouseEvent and not the native events emitted by the element. But as per the docs, they will be emitting native events so I think it will be better to go the native way.

Yeah, I'm thinking the same. For the map it was necessary because the map-events mostly don't contain any useful data about the event, but here we have perfectly functional DOM-events already :)

Facing the same issue. AdvanceMarker support  onMouseOver and  onMouseEnter , but unfortunately the events for onMouseOut and onMouseLeave are not firing...
kinda dependent on these events to perform some UI states, does anyone found a workaround or react-google-maps have a solution for it yet ?

Hi @usefulthink ,
I am trying attach event ot AdvanceMarkerElement like as mentioend above to attach event manually:
const [markerRef, marker] = useAdvancedMarkerRef();

...

useEffect(() => {
  if (marker) {
    marker.addEventListener('mouseleave', handleUnHoverMarker, false);
  }

  return () => {
    if (marker) {
      marker?.removeEventListener('mouseleave', handleUnHoverMarker, false);
     }
  };
}, [marker, handleUnHoverMarker]);

return (
  <>
    <AdvancedMarker
      ref={refCallback}
      onClick={handleOpen}
      position={point}
      title={point.name}
      zIndex={50}
      {...props}
    >

...

However, its throwing an error as attached in screenshot. Do you know the version in which it will be available or any work around for this please ?

Did anyone ever figure this out, I am following generally what you are saying but don't know how to implement the addition of listener.

I ran into this too. You can work around this by adding the props to your AdvancedMarker content, for example;
<AdvancedMarker
	ref={markerRef}
	position={markerPosition}
	onClick={() => setInfowindowOpen(true)}
	{...other}
>

 setInfowindowOpen(true)}
		onMouseOut={() => setInfowindowOpen(false)}
		style={{
			width: 20,
			height: 20,
			position: 'absolute',
			top: 0,
			left: 0,
			background: '#F00',
			border: `2px solid #FFF`,
			borderRadius: '50%',
			transform: 'translate(-50%, -50%)'
		}}
	/>
	{infowindowOpen && (
		<InfoWindow
			anchor={marker}
			maxWidth={200}
			onCloseClick={() => setInfowindowOpen(false)}
		>
			infowindow content
		</InfoWindow>
	)}
</AdvancedMarker>

I was able to use this method but was only able to use it after setting version='beta' in the props for APIProvider

Were you able to look into it @usefulthink. I was looking into the API reference for AdvanceMarker here. Seems that the addEventListener method is part of beta version as of now. The APIProvider component does allow us to pass version as prop. Was wondering if this will work:

Pass version as beta in APIProvider prop
The AdvancedMarker component extends for all EventListener.
The user passes any listener as prop, let say onMouseEnter
If APIProvider is initialized in beta mode then we allow this events, else give error saying that its still in beta and needs to initialize APIProvider in beta version.

The benefit of this approach is that we don't have to manually add each listener to the components like AdvancedMarker or Pin

Can you share a code example of this? I'm unable to make it work how you describe


[update-rke2-charts] Ensure packageVersion is reset every time Chart version changes

Background
The rke2-charts are downstream updated each time a Kubernetes component or Kubernetes itself. The big picture desire has been documented on rke2#2077.
There are validation rules between the relationship specific values in Chart.yaml and package.yaml that currently are not supported.
Original request

Whenever we update a chart value, packageVersion should increase its value otherwise CI will fail. Example: https://github.com/rancher/rke2-charts/runs/4948436190?check_suite_focus=true
[...]
The reason for that is that otherwise we would be overwriting an existing helm chart and users might get confused. The name of the chart contains the packageVersion: https://github.com/rancher/rke2-charts/tree/main/charts/rke2-canal/rke2-canal.
To be fully accurate, when changing the version, we should go back to packageVersion: 1

Request
Ensure packageVersion (package.yaml) is reset to 1  every time the Chart version changes

Requirement updates will be done on #12


The publisher should close the Ably connection when it has no trackables

By default we start the connection with ably, even If there are no trackables in a Publisher, since the ARTClientOptions.autoConnect in Ably Cocoa defaults to true.
We should change this behaviour:

The connection should be stopped when the publisher is created -we need to pass false to the ARTClientOptions.autoConnect
When the first trackable is added the connection should be started
When the last trackable is removed the connection should be stopped

Here's a related Android issue, with some more info/discussions/considerations.

Added this to the 1.0.0 milestone - as this is behaviour that happens in Android

@AndyTWF I believe this will be covered by #563 (for starting the connection) and #557 and #559 (for stopping the connection) — no additional work required, right?

Actually, the other change is to not auto connect. Would that be something we'd want to add once these workers are all implemented?

Have moved no autoconnecting into https://github.com/ably/ably-asset-tracking-swift/issues/589 as part of the 1.0.0 milestone


Install devbio napari on an arm64 mac

Since Robert Muench asked for help with installing devbio-napari on an arm64 mac, I thought I write down my way to get this to work as a blog article.
@haesleinhuepf did you maybe find an easier way?
The way I describe allows to have both the arm64 and the i386 versions in parallel, which makes it a bit complicated - but allows to run python code that works on arm64 natively.

Thanks @thawn for this blog post! Before merging it I'd like to wait for the potential fixes here:

https://github.com/haesleinhuepf/devbio-napari/issues/23

Bah, something in devbio-napari has PyQt5 as a hard depend rather than qtpy so you can't easily work around the lack of pyqt5 for arm64 on pip by installing pyqt from conda-forge. What a bummer.

I've found the PyQt culprit: it's PlatyMatch. I will see if I can make a PR there to fix it, just sanity checking on zulip that I understand things correctly.

PR made:
https://github.com/juglab/PlatyMatch/pull/7
This should make PlatyMatch pip installable on arm64 M1.

@psobolewskiPhD kudos for the PlayMatch PR :-)

wait for the potential fixes here: https://github.com/haesleinhuepf/devbio-napari/issues/23

I am a bit worried, that the simpleitk migration to arm64 might not come in time for our course. Also, the rosetta installation requires sudo, which means that some students that do not have admin rights will need assistance from the IT department. Therefore, I would like to give the students with an arm64 system the chance to install devbio-napari with help from the IT in the week before the course.
I am perfectly fine with sending them the link to this branch, without merging the article. However, I was wondering if @haesleinhuepf found an installation method that is a bit simpler (i.e. not requiring manual edits of .zsh_profile)

Also pure conda install should be working soon too!
I think this is the only holdup: https://github.com/conda-forge/simpleitk-feedstock/pull/27#pullrequestreview-1128790505

obsolete because native arm64 installation works now


Fix slerp with Rotations.jl

Codecov Report

Merging #29 into master will increase coverage by 1.62%.
The diff coverage is 0.00%.

@@            Coverage Diff             @@
##           master      #29      +/-   ##
==========================================
+ Coverage   70.02%   71.64%   +1.62%
==========================================
  Files          51       51
  Lines        2682     2846     +164
==========================================
+ Hits         1878     2039     +161
- Misses        804      807       +3

Impacted Files
Coverage Δ

src/util/quaternion.jl
61.36% <0.00%> (+1.83%)
:arrow_up:

src/util/util.jl
100.00% <0.00%> (ø)

src/util/shapes.jl
100.00% <0.00%> (ø)

src/bounds/impact.jl
100.00% <0.00%> (ø)

src/bounds/friction.jl
100.00% <0.00%> (ø)

src/components/state.jl
100.00% <0.00%> (ø)

src/solver/sparseldu.jl
100.00% <0.00%> (ø)

src/joints/rotational.jl
100.00% <0.00%> (ø)

src/joints/translational.jl
100.00% <0.00%> (ø)

src/components/initialize.jl
100.00% <0.00%> (ø)

... and 24 more

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 d5f9c94...59fffc6. Read the comment docs.


Implement GridWrapper to support native Delphi/C++Builder grids

GridWrapper implementation might be based on GVM_* messages.
Delphi demo applications can be downloaded as a binaries from here.

Have you tried https://github.com/yinkaisheng/Python-UIAutomation-for-Windows to see if its UIA support solves your problem? I noticed that it does recognize the Calculator buttons (Win10 metro). Not sure about owner-drawn widgets in Delphi. But I am interested in the subject.

I'm afraid Delphi grids are not visible in Inspect.exe as grids. So UIA support will not help.
After small research few months ago we discovered that DBGrid and similar grids do not respond on standard GVM_* messages. It means native Win32 API support for this kind of grids looks impossible.


Doc URL keywords

🚀 Feature Proposal
Hard-coded documentation URLs require maintenance across the specification source files when our URLs change. In Kibana, we use a documentation link service that maps keywords to URLs, so that we can use the keywords within the apps and maintain the full URLs in a single place. A similar keyword<->URL mapping list and support for keywords in the docUrl field and @doc_url comments would be helpful.
In the long run, we might want to move to using primed doc queries instead of linking to specific pages. That could be accomplished within the keyword mapping file too but in the future we might want to consider supporting primed search terms in the docUrl field.
Motivation
Hardcoded URLs in the spec are subject to link rot and, in the current system, frequent build failures as content moves around.
Example
Instead of something like this:

"docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/current/async-search.html",

or

/**
*  Boolean) If true, the request is real-time as opposed to near-real-time.
* @doc_url https://www.elastic.co/guide/en/elasticsearch/reference/current/docs-get.html#realtime
*/

... we would ideally have a simple unique keyword (or in the long term, maybe search terms) that is resolved into the appropriate URL as part of the client/docs generation.

Currently, the docUrl is being used in many clients, so I would prefer to leave it as is and have a dual solution until the new system is up and running.
How about docId?

+1 with the addition of a @doc_id tag in the TypeScript specification with a similar (or the same?) documentation service as in Kibana, and migrate away from @doc_url once it's in place.
The compilation of TypeScript specs to the JSON schema can then produce the same docUrl property as today by resolving the @doc_id tag if present using the link service.
And in the transition phase from @doc_url to @doc_id, the compiler can use @doc_id if present and fallback to @doc_url otherwise.

That sounds reasonable to me, thanks!


Python - plot window appears, but is blank white

Great package, thanks. When I try to run your tutorials output appears in the console and a matplotlib window appears. But it remains blank. I get this error statement after running python tractrac.py -p 1 -a from the python folder:

It can come from the backend your matplotlib is using. Try forcing tkagg by adding a matplotlibrc file insidein the TracTrac Python folder with inside :
backend : TKagg


Add note about transaction fees

Description
This adds a final bullet point under the 3 existing for "Requirements for Replace Artwork proposal:" and highlights to the user that it could incur serious gas fees. The bullet point is bold/red to warn the user.
Motivation & context
This will help future DAO members understand the high gas fees associated with both proposing and executing a transaction to repalce the artwork.
Code review
Should be fairly straightforward - a basic addition of a singular bullet point.
Type of change
Provides more context to a user before they initiate a costly trait update proposal.
Checklist

[x] I have done a self-review of my own code
[X] Any new and existing tests pass locally with my changes
[X] My changes generate no new warnings (lint warnings, console warnings, etc)

Reach me on Discord @borg00000


improve cornerScore()

I improve the simd function "cornerScore()".
Please check the changes.

Please do squash the commits to fewer commits since most failed the checks anyways.

I squashed the commits.
Please check "a607755" or "Files changed".

doesn't seem squashed to me. Seems like you didnt push.

doesn't seem squashed to me.
How did you squash?
Sorry.
It was not able to successfully.

I added only the ssse3 codes.
I didn't change the existing code.
Do I have to rebase?

how did you try to squash? If you want some help, I can gladly walk you through squashing.

Dear Phillip.
Sorry. I closed the pull request #6465.
Instead of it, I open the pull request #6509.
The contents are the same.
From k-shinotsuka.
On 2016年05月04日 20:44, Philip wrote:

doesn't seem squashed to me. Seems like you didnt push.
—
You are receiving this because you commented.
Reply to this email directly or view it on GitHub
https://github.com/Itseez/opencv/pull/6465#issuecomment-216836147

Dear sashidhar guntury.
Sorry. I closed the pull request #6465.
Instead of it, I open the pull request #6509.
The contents are the same.
From k-shinotsuka.
On 2016年05月06日 01:07, sashidhar guntury wrote:

how did you try to squash? If you want some help, I can gladly walk
you through squashing.
—
You are receiving this because you modified the open/close state.
Reply to this email directly or view it on GitHub
https://github.com/Itseez/opencv/pull/6465#issuecomment-217196365


Fix tests order

Make sure to run Update to canary after all other tests.

Codecov Report

Merging #2565 into canary will decrease coverage by <.01%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           canary    #2565      +/-   ##
==========================================
- Coverage    13.7%   13.69%   -0.01%
==========================================
  Files         257      257
  Lines        9465     9457       -8
  Branches     1086     1084       -2
==========================================
- Hits         1297     1295       -2
+ Misses       8044     8038       -6
  Partials      124      124

Impacted Files
Coverage Δ

src/util/dev/builder-cache.ts
78.48% <0%> (+1.21%)
:arrow_up:

src/util/metrics.ts
68.18% <0%> (+6.64%)
:arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 60a5659...6f79887. Read the comment docs.


Use symbol to stay consistent with other options

The other options in here are all symbols and the x-max-priority option was used as a string. It makes sense to use a symbol here as well to be consistent. New usage:
HireFire::Macro::Bunny.queue(queue, amqp_url: url, 'x-max-priority': 10 )

Thanks!


Add Groop dataset site link

Publishing Checklist
I confirm the following:

[x] My open data feeds conform to one of the permissable combinations specified in https://developer.openactive.io/publishing-data/data-feeds/types-of-feed
[ ] My open data feeds all pass the OpenActive Validator's model validation (https://validator.openactive.io/)
[x] My open data feeds all pass the OpenActive Validator's RPDE feed validation (https://validator.openactive.io/rpde)
[x] My open data feeds include activity list references as specified in https://developer.openactive.io/publishing-data/activity-list-references
[x] My dataset site(s) each reference a GitHub Issues Board

Maintenance Checklist
Our organisation is committed to:

[x] Resolving issues that are raised on the GitHub Issues Board(s)
[x] Ensuring activity providers are aware of the OpenActive opportunity on an ongoing basis

Thanks for submitting this for review!
The dataset appears to be failing OpenActive Validator's model validation, and the dataset site itself also appears to be missing JSON-LD data (validation, Step 3 of Other Languages).
See the dataset site here for a good example, and search for <script type="application/ld+json"> in the source.
Please address these issues, and rerun validation by pressing "Rerun Jobs" in the top right of this page - you should find it passes!
Let me know if you need any specific guidance around any of the errors reported by the validator.

Thanks Nick. I'll take a look at those issues now. The dataset site was forked from https://github.com/openactive/dataset-site-template so I'm not sure why the JSON-LD data is missing?

Ah it's because the build script misses Step 2
See the line in the prototype code from the example:
    data.json = JSON.stringify(data, null, 2);

So you probably just want to have a small build script that does something like:
    var data = JSON.parse(fs.readFileSync('data.json', {encoding:'utf8'}));
    data.json = JSON.stringify(data, null, 2);

    //Use the resulting JSON with the mustache template to render the dataset site.
    var html = Mustache.render(template, data);
    fs.writeFileSync('index.html', html, {encoding:'utf8'});

OK, I've updated our site, it should pass the validation now

Validation is still failing I'm afraid. It will not pass until all the tick boxes in the "Publishing Checklist" in this PR can be ticked.
Can you please confirm that you are passing the following, or let me know if you need any more help with these errors.
1. RPDE Validation: https://validator.openactive.io/rpde?url=https://api.groop.com/events
This error should be tackled first:

The next property "https://api.groop.com/events?afterTimeStamp=1617024092632&afterId=6c690c235f5345ebaa8905772" must not be equal to the current page URL "https://api.groop.com/events?afterTimeStamp=1617024092632&afterId=6c690c235f5345ebaa8905772" where there are more than zero items in the page. The last item in each page must be used to generate the next URL.

This video explains this, at 3:08.
2. Model Validation: https://validator.openactive.io/?url=https://api.groop.com/events
There are a number of errors listed here that must also be resolved

@groop-moray I should have mentioned earlier - if more interactive assistance would be helpful, please feel free to jump on https://slack.openactive.com/ - we can also schedule a call to talk through your implementation if thou would find that useful

I've updated our endpoint to match the spec, however I've noticed some discrepancies between the spec and the validator. The key one for us is that the spec says the location property of an Event (https://developer.openactive.io/data-model/types/event) may simple text data, however the validator says that it must be a Place. What should the location be?

We've updated our endpoint to handled locations correctly and the validation now passes. Can you take a look again?

@nickevansuk Is there anything else that we need to do to get this PR merged?

@nickevansuk can this PR be merged?

I've just rerun the test suite over this (see here) and there's an error that's getting in the way of it running completely. Hopefully this is resolved everything else will just pass!
This is due to an inconsistency between the tooling and documentation that has now been resolved - so all you need to do is add an @id property to the Event.
See https://developer.openactive.io/data-model/types/event for details.

Hi Nick, we've updated the endpoint so Events now have the @id property.

Hi @nickevansuk, any update on this?

Thanks for the feedback. We're using test data until the feed is approved - our customers don't want to use this feature until it is complete. We had several problems adhering to your schema as the validation tools and the documentation were often at odds. I'll go back to the team and see if we can schedule this work.

Hello @groop-moray ! Hope you're well - it's been a while! Apologies for the very long delay in reply, there was a funding gap for implementation support so we're only just coming back to this now.
What's the status of this? Is it still planned to go live?


add Japanese docs for website

This PR will add Japanese translations of the .mdx files for the website, plus add ja-locale to website/docusaurus.config.js.
All recent changes/additions made to the English version of the documents are reflected.
[additional note]
I've also made some changes on Japanese wordings on code.json and current.json from the last PR #1021

That's epic, thank you!

It looks like deploy is failing because the Dart snippets imports are incorrect. Could you fix that? :pray:

On a side note, I did not translate the [refresh.mdx] and [search_as_we_type.mdx] yet, since they seem to be not public yet.

That's fair, I'm not done with those anyway :)

@rrousselGit done!

Awesome thanks!


Storage Account - connection string output

Hello,
How can I obtain connection string to storage account?
Old provider had an output called PrimaryConnectionString - the new one has only PrimaryEndpoints that do not contain connection strings.

This a bit more manual with ARM. Basically, ARM doesn't export any sensitive properties by default - you have to call list* functions to get them. In this particular case, you need to fetch a primary key and then build the connection string. Here is an example in TypeScript: https://github.com/pulumi/templates/blob/master/azure-nextgen-typescript/index.ts#L23-L25
Here is a full example in C#: https://github.com/mikhailshilkov/azure-serverless-workshop/blob/master/02-serverless/code/step5.ts#L31-L35

Thank you - your C# example link seems to be pointing to TypeScript code, though.

Oh, I guess I'm getting crazy. Here is the best I have for C#: https://github.com/pulumi/templates/blob/master/azure-nextgen-csharp/MyStack.cs#L39
You then need to return $"DefaultEndpointsProtocol=https;AccountName={accountName};AccountKey={accountKeys.Keys[0].Value}"

My scenario involves creating a storage account and adding connection string to KeyVault.
Am I supposed to invoke this async method in non-async strack constructor (block on .Result)? ListStorageAccountKeysArgs arguments are not Inputs, just strings - do I need to use Apply?

You should invoke it inside an Apply similar to https://github.com/pulumi/templates/blob/master/azure-nextgen-csharp/MyStack.cs#L32-L33

Please disregard my comment above - just saw the code above

A full C# example here: https://github.com/pulumi/pulumi-azure-nextgen/issues/192#issuecomment-752664446


Feature/long press menu enhancements

Task/Issue URL: https://app.asana.com/0/608920331025315/800270854347855
Tech Design URL:
CC:
Description:
Small improvements to the browser's long press menu.

Show url that was pressed in the dialog title
Add option to copy url to clipboard
If long pressing on an anchor which is also an image, then adding the various options for opening new tabs as well as the option to download image.

Steps to test this PR:

Navigate to a site with links (e.g., https://bbc.co.uk/news)
Long press on a link
Verify url is shown in the title (it'll truncate if too long so test that too if you can)
Verify there is an option to copy url
Find a link which is an image type (e.g., https://www.w3schools.com/tags/tryit.asp?filename=tryhtml_link_image). Long press and verify you have the options to

Download image
Copy link address
Open in new tab
Open in BG tab
Share

Internal references:
Software Engineering Expectations
Technical Design Template

@brindy good call; added mlp_c


chore: bdd-nh-1586342524 to 0.0.1

chore: Promote bdd-nh-1586342524 to version 0.0.1

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by:
To fully approve this pull request, please assign additional approvers.
We suggest the following additional approvers:
If they are not already assigned, you can assign the PR to them by writing /assign  in a comment when ready.
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment


Investigate making the binding phase lazy

Today, any semantic or language service operations must be preceded by a phase of our compiler called binding. This phase does two things:

creates symbol tables as well as symbols per scope
sets parent pointers (because it's already walking the tree anyhow)

However, this can end up being a of unnecessary up-front work. For type-checking a given file, the only files that need to be bound are

files that affect global namespaces (e.g. global files or files containing module augmentations, global augmentations, and UMD namespaces)
any file that needs to be checked to check the current file

Recently, I spent a bit of time on a plane ride wondering if we could do less work based on this. Instead of forcing all files to be bound, we could bind only global-affecting files up-front, and then force a bind prior to checking or resolving a given file. This has the advantage that something like quick info only needs to bind the minimal set of dependencies before coming back with an answer, making checking significantly lazier. It also means that skipLibCheck could end up working faster in command-line scenarios by binding fewer .d.ts files that are automatically included (e.g. why bind .d.ts files for Jest if you're compiling app code instead of test code?).
The flip side of this is that making this lazy can complicate a lot of other operations. Many language service operations don't actually care about binding, but they do care about parent pointers being set. They'll be preceded by a call to getTypeChecker() just to ensure files are bound before performing specific steps.

Yeah, I know, weird design!

The other issue is that certain type-checker APIs likely need to be guarded against to ensure a requested file is bound. I haven't dived deep here, so this is more of a speculative concern.
Finally, while laziness means that we can partially amortize each operation into incremental chunks of work, there's no telling when pulling on a thread of work will trigger TypeScript to do ALL of the work. Currently TypeScript does ALL the work up front, but that might be good for avoiding frustrating delays later on. For example, if not all files are bound yet, TypeScript can't immediately respond to go to symbol, find all references, or even some cases of get completions (thanks to auto-imports!) before ensuring every file is bound.
On the other hand, once that work gets done, it's done! Only re-parsed files need to be re-bound. So TypeScript might start out slow on some operations, warming up, and eventually staying hot going forward. There are also other possibilities of making this easier. For example, the services layer could also potentially bind unbound files in the background on idle time if it turned out we really needed to.

I was investigating adding support for a Bazel option (unused_inputs_list https://github.com/bazelbuild/rules_nodejs/issues/968) that lets a tool output a list of files that it was given as dependencies, but never used, which helps prevent unnecessary rebuilds.
I've learned that this list is empty for the TypeScript compiler, as every file passed in the "files" attribute of tsconfig.json is read and parsed, even if it is never depended on by any of the actual source files.
Not only would I think this would be a huge performance gain (quick back of the napkin estimates our full build would require ~1,500,000 fewer file bindings).
This would drastically expand the scope, but if it were possible to specify in the tsconfig "files" input which files are of the "global augmenting" variety, then it would be great to not even read the other ones from the file system.  This would be another large performance gain (I'd estimate this one closer to ~1,000,000 fewer file system reads and parses), and it would also enable much better caching between builds in Bazel.

I'm not totally sure if I've understood how this helps, but I should try to give some background.
This optimization was mostly targeted at language service operations so that type-checking operations could do less work (e.g. quick info, requesting errors, etc.) - if you're never checking another file, you never need to set up scopes in that file.
But to understand the transitive closure of files that a program forms, that involves something totally independent - program construction. Program construction needs to happen regardless of type-checking to get a complete picture of the world, and it doesn't require binding files at all.
If you have a custom tool that knows what that picture of the world is, you might want to try playing with --noResolve. If you need to know about all files without binding/checking/emitting, try `--listFilesOnly.
Additionally, binding often is not the bottleneck in most compilations that we've seen - try running with --extendedDiagnostics on a project to get a sense of how much you're losing to binding.

I wasn't able to get extendedDiagnostics to do anything from the compiler api, but I put in some debuggers and grabbed ts.performance.getDuration("Bind"); and it looks like binding isn't taking all that much time, about 80ms for 1500 files. If binding magically took 0ms then we would be seeing full cli savings of around 80 seconds of cpu time.
I will create a new issue for discussing optimizations to createProgram


Can't change stream player playback settings

Unity 5.5.1f1 Personal
I can't seem to change the playback setting in the stream player. Are they read only?

I have this problem too in 5.6.0b6
As a quick workaround, if you switch the Inspector to 'Debug' mode you can make changes.

Works now. Thanks!


Examples/index.html mod.js missing

I'm trying to get an extism plugin running inside a browser without node.js and albeit the index.html example is a very useful one, i cannot get it to work without the referenced mod.js.
Could you suggest a workaround?
Edit: I have the feeling that i simply do not understand something quite crucial here. I was able to find the mod.js in the npm repository of the js-sdk module. Which is quite big: apprx. 95 kB. Is it the correct one?

Hey! Are you using a JS bundler or anything and can't load the library?
Or simply just trying to create a script tag in a html file and run in the browser?
If the latter, see if this works as a starting point:

<input class="input" value="..." disabled />

I tried the latter! The solution
 const extism = await import("https://esm.sh/@extism/extism")
worked like a charm! I've got now a working example. I'll try the JS bundling way as well. Thank you!


CertDump: init at 2023-07-12

Description of changes
Util used to dump certificates from PE (portable executable, windows binaries).
Things done

Built on platform(s)

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

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

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

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

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

cc @RaitoBezarius for no reasons what so ever.

thanks! sent an updated PR in https://github.com/NixOS/nixpkgs/pull/248587


포스트 리스트 Pagination 추가

Close #32

Deploy preview for flynndev processing.
Built with commit 22cd0e214ff8f2139f4e01796f706541984c1034
https://app.netlify.com/sites/flynndev/deploys/5ae928fe3672df28b1bef59d


Bug in IE

The menu list items will not be shown with the correct height unless you set the "li" explicitly to "display:block". This fixes it for me from IE 8 up to 11!
Or is it just me?

It already has display:block,


Icon not found via note Properties ("Error: Icon [icon name] could not be found")

Upon entering a valid icon name in my icon property, an error appears stating that the icon cannot be found, despite the icon file being present in the <vault>\.obsidian\icons\lucide-icons directory. (Obsidian 1.5.8.)
Steps to reproduce the behavior:

Enable Use icon in frontmatter in settings
Create an icon property
Create or edit a note and specify an icon for that property

Expected behavior:
Icon is recognized and used.
Console:
Error: Icon cassette-tape could not be found.
    at saveIconToIconPack (plugin:obsidian-icon-folder:2656:15)
    at IconFolderPlugin.eval (plugin:obsidian-icon-folder:5740:29)
    at Generator.next (<anonymous>)
    at eval (plugin:obsidian-icon-folder:34:71)
    at new Promise (<anonymous>)
    at __awaiter (plugin:obsidian-icon-folder:30:12)
    at eval (plugin:obsidian-icon-folder:5718:79)
    at e.tryTrigger (app.js:1:717538)
    at e.trigger (app.js:1:717471)
    at t.trigger (app.js:1:1775016)
eval @ plugin:obsidian-icon-folder:5744

Line 5744:
                    catch (e) {
                        console.error(e);
                        new obsidian.Notice(e.message);
                        return;
                    }

heyhey, thanks for the report. do you use a custom icon pack?

heyhey, thanks for the report. do you use a custom icon pack?

Hey there. I have in the past, but when I ran across this issue I was only using Lucide (enabled normally via the plugin settings).

hey, same issue here ...

I've run into a similar issue when trying to use Lucide icon pack via properties.
My issue was using a wrong file name. I've set the icon property based on the Iconize default icon picker, which uses full name incl. spaces. But the icon property seems to expect a shortened icon name
🔴 This doesn't work: Folder (Li)
🟢 This works: LiFolder
Maybe this helps someone.


More stacktrace

What is your Quests version / build number (do not say "latest")?
Quests v3.9.3-b101
Describe the problem and how to replicate it. Any console errors to post using Pastebin.com?
Stacktrace
If applicable, can you provide an example quest from quests.yml using Pastebin.com?
https://pastebin.com/rwDdZyUm

Duplicate of #1205


Selecting initial image for dream

Awesome project!
I looked through train_image.py but didn't find where I can specify an initial image for a dream. I want to make a fork which takes as input initial image and priors then outputs a short dream.

https://github.com/317070/Twitch-plays-LSD-neural-net/blob/master/models/default.py#L49


Archived petitions improvement

Detailed ACs in here:
PT: https://www.pivotaltracker.com/n/projects/307301/stories/97375798

Tiny comment on the number of petitions, but this looks good (code - not checked what it looks like in browser) to me!

Let's rebase and merge this.

Hi @otlaitil and @h-lame - there was some changes in ACs for that story, but now it's ready for re-review :)


CMD+H to hide application not working on Mac

It seems like the very commonly used CMD+H shortcut to hide an app is overridden to show the help menu. Could this shortcut be reconsidered?

Sure.
I think a lot of mac users use Cmd+H and overriding it to show the help menu (an action that is performed rarely) does not justify it.
Will remove this shortcut so that Cmd+H will work like expected

The cmd+h hotkey has been freed in v0.17.0

The hotkey has indeed been freed, unfortunately cmd+h does not hide the app (tested with v0.17.0)
The option in not available in the menu

As a comparison, a working example with pulsar

Tested again today, version 0.24.0
Nothing in the menu, BUG cmd+h properly hides the app 😄
I guess the issue can now be closed - do you confirm @chriscasola?

Thanks Everyone!


NERDTree incorrectly sorts filenames with double digit or higher numbers

E.g.
|-chap0.xml
|-chap1.xml
|-chap10.xml
|-chap2.xml
chap10.xml should be after chap2.xml
This should at least be an option.

Feature added in #536


Fix version check in import_utils.py

IIUC, the check is currently comparing 3 to 3.8 and so is always true. I noticed this because Pyright crashes because it special cases the version check.

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint.


use git logo for the git types (not github logo)

git is separate from github
the logos for definition entry and the stats page should be updated

You can find their logos here: https://git-scm.com/downloads/logos

@dabutvin so in the definition entry we should associate images checking for the coordinates type rather than the provider?


exabgp: Add version 4.0.5

To use "exabgpcli", which is an useful CLI tool for calling ExaBGP's APIs on GoBGP's scenario test containers, this patch adds a new Dockerfile with ExaBGP version 4.0.5(*).
(*): "exabgpcli" is introduced at version 4.0.2, but has some bugs related to Python 3 compatibility and FlowSpec rules combinations, then we need to use version 4.0.5 or later.

Pushed, thanks. The docker image will be available soon. This means that we can remove the images of 3.X versions?

As far as the use of GoBGP's scenario test, we can delete the 3.x versions after https://github.com/osrg/gobgp/pull/1589 are merged. But sorry, I don't know if osrg/exabgp images are used somewhere else.


Branch sorting (branches and PR page)

Gitea version (or commit ref): 176a604
Git version: 2.17.1
Operating system: ubuntu
Database (use [x]):

[ ] PostgreSQL
[x ] MySQL
[ ] MSSQL
[ ] SQLite

Can you reproduce the bug at https://try.gitea.io:

[ X] Yes (provide example URL)
[ ] No
[ ] Not relevant

Log gist:

Description
Can branches be sorted by last commit date or maybe by date created? They are now sorted alphabetically and this doesn't help me much when I'd like to find my most recent branch.
I have to go and type it's name, it would be much easier to pick it if it was up front in list.
This goes for "Branches" page or when creating a new pull request.
Screenshots

Here, test4 branch would come first in list if they were sorted by last commit date.

Anyone give some guide for this issues. I will try to implement.


Support for variable digit lengths

Adding support for variable digits.
Battle.net requires 8 digits instead of 6.

I'll start a new pull request with the simplified version.


Add support for older versions and Darwin AArch64

Hello! I was putting the finishing touches on my own plugin to retrieve Swag when I realized I'd overlooked yours. Your plugin works great for the newest versions of Swag on Linux/Darwin x86_64. However, while trawling through past Swag releases, I noticed that many of them are quite inconsistent: in the architectures they support, in the release archive filenames, and even in the contents of those archives. While I was writing extra code to handle that, I also handled selection of x86_64 and AArch64 builds for Darwin as appropriate and as available. And I thought you might be interested in integrating these features into your plugin.

Greetings! Nicely done!
I did not pay a lot of attention to this plugin last time, but will merge it with pleasure.
ty

Thanks for merging!


is there a way to install zbxtable in ubuntu?

Is there a way to install zbxtable in ubuntu? Or any future develop for it?

zbxtable can install on ubunt see https://zbxtable.com/docs/install/install/


Update prometheus doc

What does this PR do?
Update prometheus README to add link to the sample yaml file
Also made some formatting and wording updates
Motivation
Trello request
Review checklist

[x] PR has a meaningful title or PR has the no-changelog label attached
~- [ ] Feature or bugfix has tests~
[x] Git history is clean
[x] If PR impacts documentation, docs team has been notified or an issue has been opened on the documentation repo

Shouldn't this be renamed to OpenMetrics?


clear cache with redis / group?

Hi,
I'm having a bit of an issue with being able to clear the cache stored on redis. Looking at the docs I can see the recomended way to clear cache is to use apicacheGroup
req.apicacheGroup = 'bookList'
So, in my route, I have the apicachegroup at the beginning of the route. When I look at my redis instance, I see the group name that was created with the request.
Now, when I try and 'clear' the cache using
apicache.clear('bookList')
It appears to 'clear' the group that was created, however the actual data 'keys' remain, I also noticed that when the cache timeout hits, it will clear our the actual cached items, but leaves the group?
I'm probably not setting this up correctly, however the docs make no mention of how to clear with redis so I'm a bit confused by this.
Basically, the flow I'm looking to do is

API returns JSON
User updates record on CMS
After update a purge to that specific cache 'group'
Next request will get updated data

Thanks for any help

@mster81 You are clearing it correctly. You may want to await it but it will block the response until clearing end, so it's optional.
The data keys stays there a little more, cause their values may be in use (in the middle of a response streaming) but their time to live gets decremented.
The actual group should be deleted too after each group's key. But it may be recreated right after by another request so maybe that's why you see it?

@arthurfranca Thanks for the info!
I was actually able to get this working shortly after posting the question :D It was an issue on my end so I was bit premature in posting the question.
What I ended up doing actually is right after clearing the group, I prime the page so as well, that way I can control the recaching a bit better, but its good to know how or why the keys still remained.


[question] Why custom Emotion shouldForwardProps?

I was wondering why it is needed to manually set the shouldForwardProps for the box elements 🤔
https://github.com/gregberge/xstyled/blob/main/packages/emotion/src/createStyled.ts#L63
Wouldnt emotion handle the props that should be sent to the next component by itself?
I'm probably not seeing some of the issues of skipping it

Emotion doesn't know anything about system props, and it only filters non-HTML attrs when the wrapped component is directly an HTML tag.
const H1 = props => <h1 {...props} />

const StyledH1 = styled(H1)(system)

<StyledH1 backgroundColor="blue" />

With that example, you'd get the expected background color setting, but you'd also get backgroundColor in the HTML.
For some more convoluted history, along with some explanation of missing functionality in emotion, see https://github.com/gregberge/xstyled/pull/231

But the styles are going to the DOM right now https://codesandbox.io/s/gifted-germain-23xjb?file=/src/App.js 🤷🏻♂
If I use the "normal" styled.<tag> and add the system to it everything works as expected because it does not modify the shouldForwardProps
For instance, the box tags use the custom-styled generator which handles shouldForwardProps, I see that the problem is real for components built by the styled function (styled(<component>), but the box ones shouldn't have the same behavior right?
I force the box options to use the "normal" styled.<tag>+system and it seems to be working as expected.
https://codesandbox.io/s/gifted-germain-23xjb?file=/src/App.js
Let me know if it worth a PR

The problem is that Emotion makes it impossible to do both:

Avoid forwarding system props to non-primitive components
Avoid forwarding non-HTML props to primitive components

The way that Emotion implements shouldForwardProp makes it impossible to do (1) without sacrificing (2). The details of this are in #231
This was fixed in styled-components in https://github.com/styled-components/styled-components/pull/3436 but there is no equivalent for Emotion yet.
In xstyled we are responsible for system props, so we choose to set shouldForwardProp to catch the props for which we're responsible. This is a compromise but we don't have better options.

I force the box options to use the "normal" styled.<tag>+system and it seems to be working as expected.

In that case you've chosen case (2). I think for trivial applications it probably works out better, but eventually as things get more complex you run into system props leaking from styled wrappers to the components they wrap.
It would be great to get this fixed in Emotion upstream similar to the fix in styled-components.


Oven Curing: Value shouldn't be negative

The values in the duration field shouldn't be able to be negative.

addressed in pull request #61


My discord account was used to send links

My discord account was used to send links.
I already fixed the problem, but I was deleted from the server. Let me come back, please!
I was a fan, and use korepi!

I think I've already helped you with this once before.

Yes, I forgot to close here!
Thank you!


Compiler should lift generic dispatch out of loops

If you have a curried loop operation, for example:
IN: scratchpad : foo ( seq -- ? ) [ 42 < ] all? ;

IN: scratchpad 10 iota foo .
t

You can see that it calls nth-unsafe, but each iteration of the loop performs the same generic dispatch on the same curried object.  It would great, if that dispatch were lifted out of the loop, so each loop iteration directly dispatches to the appropriate generic method.
IN: scratchpad \ foo optimized.
[
    dup >R length R> "COMPLEX SHUFFLE" 0 "COMPLEX SHUFFLE"
    \ ( gensym ) [
        pick pick < [
            ( 7294369 7294373 7294676 -- 7294369 7294676 7294369 7294373 7294676 )
            >R >R >R nth-unsafe 42 < R> R> R> >R rot R> swap [
                "COMPLEX SHUFFLE" 1 over tag 0 eq?
                [ fixnum+ ] [ fixnum>bignum bignum+ ] if
                "COMPLEX SHUFFLE" ( gensym )
            ] [ 3drop f ] if
        ] [ 3drop \ t ] if
    ] label
]

How come generic dispatch inside loops isn't fast? After the first iteration of the loop, you know that the object at address 0x1234... should dispatch to some real word on the generic nth-unsafe. So on the next loop iterations, just consult some small lookup table. Shouldn't that be very fast?