port_server's output file prevents wiping out workspace

Jenkins is often failing not being able to wipe out workspace. It looks like temporary file used as port_server's output is located in the jenkins workspace - which prevents the workspace from being cleaned up because port server lives beyond the lifetime of a single test run.
https://grpc-testing.appspot.com/view/Pull requests/job/gRPC_pull_requests/3773/config=opt,language=c,platform=windows/console
c:\jenkins\workspace\gRPC_pull_requests\config\opt\language\c\platform\windows
Wiping out workspace first.
java.io.IOException: remote file operation failed: c:\jenkins\workspace\gRPC_pull_requests\config\opt\language\c\platform\windows at hudson.remoting.Channel@6c9027f3:grpc-jenkins-windows-worker1: java.nio.file.FileSystemException: c:\jenkins\workspace\gRPC_pull_requests\config\opt\language\c\platform\windows\tmp_htaan: The process cannot access the file because it is being used by another process.

    at hudson.FilePath.act(FilePath.java:987)
    at hudson.FilePath.act(FilePath.java:969)
    at hudson.FilePath.deleteContents(FilePath.java:1184)
    at hudson.plugins.git.extensions.impl.WipeWorkspace.beforeCheckout(WipeWorkspace.java:28)
    at hudson.plugins.git.GitSCM.checkout(GitSCM.java:1040)
    at hudson.scm.SCM.checkout(SCM.java:485)
    at hudson.model.AbstractProject.checkout(AbstractProject.java:1277)
    at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:610)
    at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:86)
    at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:532)
    at hudson.model.Run.execute(Run.java:1741)
    at hudson.matrix.MatrixRun.run(MatrixRun.java:146)
    at hudson.model.ResourceController.execute(ResourceController.java:98)
    at hudson.model.Executor.run(Executor.java:408)

Contents of temporary file   tmp_htaan:
port server running on port 32767
<IP_ADDRESS> - - [12/Oct/2015 20:28:04] "GET /get HTTP/1.1" 200 -
<IP_ADDRESS> - - [12/Oct/2015 20:28:04] found available port 1025
<IP_ADDRESS> - - [12/Oct/2015 20:28:05] found available port 1026
<IP_ADDRESS> - - [12/Oct/2015 20:28:05] found available port 1027
<IP_ADDRESS> - - [12/Oct/2015 20:28:05] found available port 1028
<IP_ADDRESS> - - [12/Oct/2015 20:28:05] found available port 1029
<IP_ADDRESS> - - [12/Oct/2015 20:28:05] found available port 1030
...

Wiping out workspace first.
java.io.IOException: remote file operation failed: c:\jenkins\workspace\gRPC_pull_requests\config\dbg\language\csharp\platform\windows at hudson.remoting.Channel@6ccda927:grpc-jenkins-windows-worker2: java.nio.file.FileSystemException: c:\jenkins\workspace\gRPC_pull_requests\config\dbg\language\csharp\platform\windows\tmpx1r0uk: The process cannot access the file because it is being used by another process.

Let's use something other than mkstemp in run_tests.py to choose the temp file name then?

Still looking into this. Interestingly, mkstemp should create a tempfile in temp directory if possible.
>>> import tempfile
>>> print tempfile.mkstemp()
(3, 'c:\\users\\grpc-t~1\\appdata\\local\\temp\\2\\tmpli6dnf')�

On the other hand, I can see quite clearly that portserver gets invoked with -l parameter referring to tmpfile name is in the current directory:
C:\Python27\python.exe tools/run_tests/port_server.py -p 32767 -l c:\jenkins\wor                                                                                kspace\grpc_pull_requests\config\opt\language\c\platform\windows\tmp_htaan �

So I guess cygwin might be interfering with the environment settings and make msktemp work incorrectly.

According to this listing, the "TEMP" variable is not set in the jenkins environment (I've verified that tempfile.mkstemp() depends on that variable on windows)
https://grpc-testing.appspot.com/view/Pull requests/job/gRPC_pull_requests/3780/config=dbg,language=c,platform=windows/console

As a quick solution, I created C:\Temp directory on each of the workers.  If this location exists, it is picked up by tempfile.mkstemp() and the temporary files are not put into cwd.

Could you elaborate how the issue has been solved.?

@mmdmeeran  The solution is to create the temporary file to store the output outside of your workspace The port server's output file is created by tempfile.mkstemp(). Look at the source and make sure it generates a tempfile outside of your workspace (in our case, it goes to C:\Temp).


Frontend Update Package

@dobby5 I'm working in the v2 branch to adjust all frontend code to the new backend. I've restructured the code as much as I can, including the latest versions of all packages. If possible, can you rebase your branch to the v2 branch ?
Or maybe better idea, create smaller PR's with changes that target the v2 branch ?
Sorry for the bit of status quo atm but I'm really occupied with the rewrite of the core of MA but we're almost there!

@dobby5 I'm finally done with the V2 refactoring. The frontend is adjusted to the new backend now. Now we could have a look at cherry picking smaller chunks from your branch ?


[ci skip] adding user @freddyaboulton

Hi! This is the friendly automated conda-forge-webservice.
I've added user @freddyaboulton as instructed in #22.
Merge this PR to add the user. Please do not rerender this PR or change it in any way. It has [ci skip] in the commit message to avoid pushing a new build and so the build configuration in the feedstock should not be changed.
Please contact conda-forge/core to have this PR merged, if the maintainer is unresponsive.
Fixes #22

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

Not sure what has happened but this change appears to have been merged.


Crash when switching off bluetooth while scan is ongoing

Version: from 1.7.0 (not tested earlier)
Steps to reproduce:

Launch a scan
on your device go to the settings to switch off bluetooth

result:
Thread 5: Fatal error: SWIFT TASK CONTINUATION MISUSE: scanForPeripherals(withServices:options:) tried to resume its continuation more than once, throwing operationCancelled!
in CentralManaager().scanForPeripherals(...) in the catch block, line 87
expected:

scan is "paused"

Modification: working correctly in 1.4.1

Aha! I know why this is happening!! scanForPeripherals will resume with an async stream, but the enqueue call stays awaiting until the stream completes. Turning off Bluetooth does not terminate the stream. So you're probably calling cancelAllOperations when the bluetooth is turned off, which tries to send an operationCancelled to the enqueued operations. But since the scanForPeripherals continuation has already been used, the app crashes.
I'm going to want to re-think the strategy here, but I have a quick workaround for this. Stay tuned....

Cool; thanks


[CJP-7913] JVM settings for astro repositories

@reviewbybees @cloudbees/team-astro

No PR build kicked in?!

Filed https://cloudbees.atlassian.net/browse/OPS-3080

Fixed permissions and re-ran PR build - all blue.

So Blue. Thanks Ben.


Enable NewRelic

may want to benchmark any performance oriented routes with this before rolling too far with it.
i haven't touched this space with python in the last year, but in previous encounters, catchall instrumentation has proved costly.

Do you mean specific to New Relic, or just that you've had bad experiences with the concept of catch all instruentation?

catchall instrumentation tends to affect performance similarly, but not nearly as drastically as a profiler.
consider the kinds of introspection that are occurring to provide the rich data that new relic (and similar) provide.
in the end, if the value attained from this outweighs the performance penalty it's not a problem. just note that some benchmarking may be worthwhile to know what that performance penalty is.


Problem using CSRF

Hi there!
CSRF validation must be enabled by default, however, it does not work for me!
When I manually test my code and send a request without a CSRF token to my form it does accept my request. Also, when I change the CSRF token and send the request again, programme accepts it again. It seems that CSRF validation is completely out of service in my programme. How should I fix it?
Here is my form:
    <?php $form = ActiveForm::begin(['options' => ['enctype' => 'multipart/form-data']]); ?>
    <?= $form->field($model, 'img_upload')->widget(FileInput::classname(), [
        'options' => ['accept' => 'images/*'],
        'pluginOptions' => [
            'allowedFileExtensions'=> ['jpg', 'jpeg', 'png',],
            'showUpload' => false,
            'browseLabel' => '',
            'removeLabel' => '',
            'mainClass' => 'input-group-lg',
            'maxImageHeight'=> 70,
            'maxFileSize'=>1024,
            'resizeImage'=> true,
            'resizeIfSizeMoreThan'=> 1000,
            'msgInvalidFileExtension' => 'Invalid File Extension',
            'msgSizeTooLarge' => 'Size Too Large'
        ]
    ])->label(false);?>
    <?= $form->field($model, 'org_name')->textInput(['class' => 'form-control lefter input-ltr','maxlength' => 255]) ?>
    <?= $form->field($model, 'employee_full_name')->textInput(['class' => 'form-control lefter input-ltr','maxlength' => 255]) ?>
    <div class="form-group">
        <?= Html::submitButton($model->isNewRecord ? Yii::t('app', 'Create') : Yii::t('app', 'Update'), ['class' => $model->isNewRecord ? 'btn btn-success left' : 'btn btn-primary left']) ?>
    </div>
    <?php ActiveForm::end(); ?>

Yii version: <IP_ADDRESS>
PHP version: 7.2.4
Operating system: Debian 9.4

How do you send it manually?

I have not changed default configurations of CSRF validation of Yii2. I use "Burp Suite" to test whether it works properly or not. When I send a request to my form using "Burp Suite", I am able to change form parameters like CSRFToken. When I change or remove CSRFToken and then pass the form I expect an error to occur, however, the form will be passed and changes will be done. So, CSRF attack is possible to be done in my form.
When does the issue occur?

In every page that contains a form (such as user information update form).
What do you see?
The programme works irrespective of CSRFToken value.
What was the expected result?
Bad request error (400)

I have not changed default configurations of CSRF validation of Yii2. I use "Burp Suite" to test whether it works properly or not. When I send a request to my form using "Burp Suite", I am able to change form parameters like CSRFToken. When I change or remove CSRFToken and then pass the form I expect an error to occur, however, the form will be passed and changes will be done. So, CSRF attack is possible to be done in my form.
When does the issue occur?
-In every page that contains a form (such as user information update form).
What do you see?
-The programme works irrespective of CSRFToken value.
What was the expected result?
-Bad request error (400)

Also, I ought to mention that CSRF validation for those forms which are placed in Yii default advanced project (such as SiteController) are working properly and are protected against CSRF attacks. The above issue is for those new forms that I created them using gii.

Do you have an idea what request is made with burp suite? Have you started with default basic application? Which form do you test?

Do you have an idea what request is made with burp suite?
This is my request using Burp suite. Now, if I change or even remove CSRF token, the request will be still valid.
`POST /organizations/update/1.html HTTP/1.1
Host: localhost:1234
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:54.0) Gecko/20100101 Firefox/54.0
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,/;q=0.8
Accept-Language: en-US,en;q=0.5
Accept-Encoding: gzip, deflate
Referer: http://localhost:1234/organizations/update/1.html
Content-Type: multipart/form-data; boundary=---------------------------31604743225288
Content-Length: 1253
Cookie: BACKSESSID=q2a6k85aolqums91lp98pro5n1; _backendCSRF=d084915b0ef623b7ee4ad4b036a6c5840876efbf8994be7d364709346c5c9898a%3A2%3A%7Bi%3A0%3Bs%3A12%3A%22_backendCSRF%22%3Bi%3A1%3Bs%3A32%3A%22fOCiPSs5hQUJJcqj0SYMatvL880wrfUI%22%3B%7D; FRONTSESSID=ij631hbfoeej4b1pm3nq9ofec5; _frontendCSRF=a507c14234f1515b78fd85dfb0f46b582c7744b58d0b0ae6cef2a3de025466f3a%3A2%3A%7Bi%3A0%3Bs%3A13%3A%22_frontendCSRF%22%3Bi%3A1%3Bs%3A32%3A%22qVYtzGFaCs8ZnhzAB-J8KThlLyhL5GHh%22%3B%7D; _identity=89eb0d6b0a85f394609e12e371d596307fcf96d2cd51a5341c9a270b65670c71a%3A2%3A%7Bi%3A0%3Bs%3A9%3A%22_identity%22%3Bi%3A1%3Bs%3A46%3A%22%5B2%2C%22bW0ArQcwCWXMn0WP30aFMMSprJ0CY_F6%22%2C2592000%5D%22%3B%7D
Connection: keep-alive
Upgrade-Insecure-Requests: 1
-----------------------------31604743225288
Content-Disposition: form-data; name="_backendCSRF"
7T2mX8V8jEcsSIiMtG2jJuFpE5zdDt8aY57gf5Q72HyLcuU2lS__ckQZ3cb-DtJM0TpK0bx6qVZbptAI5l2NNQ==
-----------------------------31604743225288
Content-Disposition: form-data; name="Organizations[org_name]"
ORG_name1
-----------------------------31604743225288
Content-Disposition: form-data; name="Organizations[employee_full_name]"
AKBAR
-----------------------------31604743225288
`
Have you started with default basic application?

No, I started with default advanced application.
Which form do you test?
I want to update a user account via update form which uses _form.php. and I made them all by gii.

OMG, what's about _backendCSRF and _frontendCSRF? Did you reconfigure the csrfParam of default yii\web\Request in config file?
Please give your config.

No, I did not change default configuration files (yii\web\Request, yii\web\Controller, and etc.) at all. I just changed the name of csrfParam in {backend, frontend}\config\main.php
'components' => [                  'request' => [             'cookieValidationKey' => 'XXXX',             'csrfParam' => '_backendCSRF',         ], ],

Worth to note that I've upgraded Yii version from 2.0.6 to <IP_ADDRESS> and honestly I have no idea whether CSRF token validation was working correctly before I upgraded it or not.

You aren't testing it properly. CSRF protection is meant to protect against cross-site requests but you're making the request from the same domain having a CSRF-token cookie in place. That's why it works.

Problem solved! My test environment was totally fine and the test was done correctly. I just found out that I made a mistake by overriding beforeAction method.
If you override beforeAction method like this
    public function beforeAction($action)     {         if (Yii::$app->user->isGuest) {             Yii::info(['Backend. Guest user attempt to access organizations.', 'OrganizationsController', 'failed'],'activity');             return $this->goHome();         }         else{             return Yii::$app->request->url;         }     }
You will lose CSRF validation. However, if you change "return Yii::$app->request->url;" to "return parent::beforeAction($action);" the problem will be solved.
Thank you for your consideration.

Me too, when I not login, problem not occur, but when logged and post form with change csrf or remove input csrf, the request will be still success. Have you a idea for this problem? @samdark

@bactv17 likely that's something interfering with the filter. You need to debug it to find out.


Version 2.0.0-rc.2

GitHub Actions seems to really be struggling with network errors right now, so going to sit on this for a bit until it stabilizes enough to actually run our CI.


[Event Request] Codeunit 7302 "WMS Management" - procedure GetWhseJnlLineBinCode - OnGetWhseJnlLineBinCodeOnBeforeExit

Please add an Event OnGetWhseJnlLineBinCodeOnBeforeExit in GetWhseJnlLineBinCode in Codeunit 7302 "WMS Management"
local procedure GetWhseJnlLineBinCode(SourceCode: Code[10]; BinCode: Code[20]; AdjBinCode: Code[20]): Code[20]
    var
        SourceCodeSetup: Record "Source Code Setup";
        IsHandled: Boolean; <-- NEW VAR
        Result: Code[20]; <-- NEW VAR
    begin
        if BinCode = '' then
            exit(AdjBinCode);
        SourceCodeSetup.Get();
        if SourceCode = SourceCodeSetup."Service Management" then
            exit(BinCode);

        IsHandled := false;
        OnGetWhseJnlLineBinCodeOnBeforeExit(SourceCode,SourceCodeSetup,BinCode,AdjBinCode,IsHandled, Result); <-- NEW EVENT
        If IsHandled then
            exit(Result);

        exit(AdjBinCode);
    end;

    [IntegrationEvent(false, false)]
    local procedure OnGetWhseJnlLineBinCodeOnBeforeExit(SourceCode: Code[10]; SourceCodeSetup: Record "Source Code Setup"; BinCode: Code[20]; AdjBinCode: Code[20]; var IsHandled: Boolean; var Result: Code[20])
    begin
    end;

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. Please do not reply to this, as we do not monitor closed issues. If you have follow-up questions or requests, please create a new issue where you reference this one.
Build ID: 42575.


I am new to itk.js and planning to use in my react application. Is there any tutorial/documentation/examples that I can refer?

I have been trying to check out some or any documentation on itk.js.  Most of my search has led me to 404 error. Please let me know if I have missed any links that i may have missed.

Hello @Sneha-pk,
This question is with respect to itk.js and this repository is associated with the SimpleITK tutorial, so not the relevant forum.
Please ask the question on the ITK discourse.


Feature Request: Should link to settings if permission has been declined.

@DylanVann - I leave that up to the developer to implement. See here for an example:
https://github.com/yonahforst/react-native-permissions/blob/master/Example/Example.js#L48-L65
or is this not what you meant?

closed for inactivity


coverage plugin reports strange issues

What happened?
This line does not pop up if i run coverage locally:

What would you expect to happen?
not seeing this message
What steps did you take?
open a PR
Code PushUp package version
No response
What operation system are you on?
Linux
Node version
No response
Relevant log output
No response

This seems to be related to
https://github.com/vitest-dev/vitest/issues/3605
and
https://github.com/kulshekhar/ts-jest/issues/377
I do see these non-covered lines reported locally too


Create updatelucee.sh

Added updatelucee.sh for updating lucee to a new version.
If for some reason the update didn't work, you can set the current version to the previous working version of lucee by by using the ln command:
sudo ln -s /opt/lucee/workingversion /opt/lucee/current
Change workingversion to whatever version number that was working before the update.

I don't think it would need to install the mod_cfml valve again, but otherwise I think it looks good. Was there a reason for the mod_cfml code?


[NO-JIRA] - adding Dockerfile to app-sre build process

Signed-off-by: Mauricio Magnani<EMAIL_ADDRESS>Insert JIRA Issue number and update link
PR owner checklist
Please make sure that your PR meets the following requirements:

[ ] Your code is properly formatted according to this configuration.
Run mvn clean verify -DskipTests so that imports are correctly set.
[ ] Your commit messages are clear and reference the JIRA issue e.g: "[MGDOBR-1] - $clear_explanation_of_what_you_did"
[ ] All new functionality is tested
[ ] Pull Request title is properly formatted: MGDOBR-XYZ Subject
[ ] Pull Request contains link to the JIRA issue
[ ] Pull Request contains link to any dependent or related Pull Request
[ ] Pull Request contains description of the issue
[ ] Pull Request does not include fixes for issues other than the main ticket

PR reviewer(s) checklist

[ ] Check if code and Github action workflows have been modified and if the modification is safe
[ ] If the modification is safe, add the safe to test label

How to trigger pipelines and use the bots:

Run the end to end pipeline
Annotate the pull request with the label: safe to test. If you want to run the pipeline again, remove and add it again.

Rebase the pull request
Comment with: /rebase.

@all Some points:

I'm using "-Dquickly " because there is some test failing so to proceed at this point I added this. We can investigate and fix this later.

I'm using "-Quarkus.container-image.build=false" to prevent the Fleet shard image from being built, as it would need the Docker binary and we don't have it in ubi8/ubi-minimal


As a user I want to know that my account creation on MDN was successful so I can move on

User story
As a user I want to know that my account creation on MDN was successful so I can move on
Context
We send emails after account creation that are heavily skewed towards contributors. That will be confusing to people who sign up to use a feature. We should instead have an email that is user focused. For the current email, see here: https://github.com/mdn/kuma/issues/6067#issuecomment-555003827
Acceptance criteria

[ ] draft of email that has a clear user focus is posted
[ ] users creating new accounts get the new email

Tasks
If relevant, you can make a checklist for tasks.

[ ] This is an incomplete task.

Let's leave the second part of the email for now and only change the first line.
so, intead of You've completed the first step of Getting Started on MDN by creating a profile. Now, keep going by picking a task on MDN, and doing it! We have a bunch of intro tasks you can choose based on your interests
Hey (username), thanks for creating an MDN account. Soon, we'll share with you opportunities to customize MDN to get the most out of it. In the mean time, MDN is from web developer for web developers, it thrives on contributions from developers like you. We have a bunch of intro tasks you can choose based on your interests, and we can't wait for you to join us.
and then the previous parts:
{# Note: If you change this string also change WELCOME_EMAIL_STRINGS in kuma/users/tasks.py #}
{# L10n: This is an email. Whitespace matters! #}
{{ _('Like words?') }}
{{ add_utm('https://developer.mozilla.org/en-US/docs/MDN/Getting_started#Option_1.3A_I_like_words', 'welcome') }}
{# L10n: This is an email. Whitespace matters! #}
{{ _('Like code?') }}
{{ add_utm('https://developer.mozilla.org/en-US/docs/MDN/Getting_started#Option_2.3A_I_like_code', 'welcome') }}
{# L10n: This is an email. Whitespace matters! #}
{{ _('Like both words and code?') }}
{{ add_utm('https://developer.mozilla.org/en-US/docs/MDN/Getting_started#Option_3.3A_I_like_both_words_and_code', 'welcome') }}
{# L10n: This is an email. Whitespace matters! #}
{{ _('Want to translate MDN to your language?') }}
{{ add_utm('https://developer.mozilla.org/en-US/docs/MDN/Getting_started#Option_4.3A_I_want_MDN_in_my_language', 'welcome') }}
schalkneethling added a commit to schalkneethling/kuma that referenced this issue 17 days ago
@schalkneethling
Fixes mdn#6067, remove contributor messaging post signup
6a3966c
@schalkneethling schalkneethling connected this issue to mdn/kuma#6134 Fixes #6067, remove contributor messaging post signup 17 days ago


Add error handler with meaningful error message on grpc.load

grpc for node, v1.1.2
Add error handler with meaningful error message on grpc.load method
Current behaviour:
when path to proto file is wrong program breaks with following exception: TypeError: Cannot read property 'ns' of null
This error message does not help to figure out what went wrong.
Related issue: https://github.com/grpc/grpc/issues/7524
Expected behaviour:
check if proto file exist, if not then throw exception with meaningful error like:
Error: ENOENT: no such file or directory, open '/Users/piotrek/.../service.proto'

This has been fixed by grpc/grpc-node#228.


Automatic jar release with TravisCI

Configure Travis CI to release a jar when pushing to the master a commit with a tag.
Using the Maven command mvn install generates a jar, and Travis CI*could be used to deploy to the GitHub releases.
GitHub Releases Uploading

Incorrect Jar file name and release name.
Release name should be the same as the version and the jar should be event-dispatcher-v*.jar

The release name, still doesnt generate correctly as mentioned in https://github.com/FerMod/EventDispatcher/issues/22#issuecomment-491418305.


InitialMousedown complexity

the elm-select code inherits a lot of complexity from the original Kaizen design system code. There is a lot of tracking about what node gets a mousedown event fired first. The update function then reacts to this and calculates what to do.
e.g
A SelectInput gets a mousedown, it dispatches the InputMouseDowned Msg. Because the SelectInput lives inside the container which also is listening for mousedown event it also gets fired with a ContainerMouseDowned Msg. If it finds that the InitialMousedown was the InputMouseDown it adjusts state accordingly.
Proposed Solution
Instead of all this InitialMouseDown trickery we can simply stop propagation when it makes sense to do so. For the example above we could stop propagation and handle all the necessary state changes from the InputMouseDowned Msg update instead of ContainerMouseDowned needing to check what was mousedowned first.
InputMouseDowned is a great candidate to try this change on first.

I did improve this a bit in this diff. Essentially I was forced to to make the menu variants work.
You might need to open the Select.elm part of that diff for it to highlight properly.


False Positive on TestPlatform nuget package (vstest)

I am looking for confirmation if findings on TestPlatform NuGet package are false positives or true positives.
Attachments:

The location of the dependency: https://www.nuget.org/packages/Microsoft.TestPlatform/
The CPE that is believed to be false positive: please review my investigation on vstest project issue - https://github.com/microsoft/vstest/issues/2620

Example
False positive on library Microsoft.VisualStudio.TestTools.UITest.Extension.IE64.Communication.dll - reported as cpe:2.3:a:microsoft:visual_studio::::::::

Unable to replicate.  I ran the following 9where dotnet_fp is a sample project I use for testing)
cd ~/Projects/samples/dotnet_fp
dotnet add package Microsoft.TestPlatform --version 16.8.3
dependency-check.sh -o .--enableExperimental -s ~/Projects/samples/dotnet_fp

These were not identified.  How are you scanning?

Ok, here are my steps:

Download latest OWASP DependencyCheck release
Download TestPlatform v.16.8.3 NuGet package
Extract contents of TestPlatform package into separate folder
Run DependencyCheck scan on that folder

My script:
./dependency-check/bin/dependency-check.bat -o ./out -s ./vstest

Hi,
Is there any progress on this? Do you need any additional assistance?

suppression rules have been added and will be included in 6.0.5.

suppression rules have been added and will be included in 6.0.5.


Add multi_2 network test case

issue #465
Under a multiple server circumstance, test whether a client connected to multiple servers can correctly synchronize the entire network.

hmm


Speech support in emulator for all bots

Talked to @vishwacsena offline. The behavior is correct:

Flighted bots

Emulator (connected to bots with app ID and password)
Embed (which include "Test in Web Chat" blade)
~CDN~
~NPM~

Provide your own Cognitive Services Speech key

~Emulator~ (no way to provide key)
~Embed~ (no way to provide key)
CDN
NPM

Post-Ignite, we will create a better story about speech token, which is more likely:

Everyone

Emulator
Test in Web Chat
Embed (a way to provide key)
CDN (as of today: a way to provide key)
NPM (as of today: a way to provide key)


structMap/div/fptr/par

Remove

@karinbredenberg It's not in the table anyway?

Not as separate element but present in structMap/div/fptr so either its own eleemnt aor only say structMap/div/fptr is used.

Removed


Update to Core9 and use improved Jandex APIs

Linux with security manager Build 1851 is now running using a merge of 3cd62d70a8587153bf06b44c23c4ef9610d89d62

Windows Build 2027 is now running using a merge of 3cd62d70a8587153bf06b44c23c4ef9610d89d62

Linux Build 6957 is now running using a merge of 3cd62d70a8587153bf06b44c23c4ef9610d89d62

Linux with security manager Build 1851 outcome was FAILURE using a merge of 3cd62d70a8587153bf06b44c23c4ef9610d89d62
Summary: Cannot start build runner Build time: 0:01:13
Build problems:
Failed to start build runner 'Maven2'

Linux Build 6957 outcome was FAILURE using a merge of 3cd62d70a8587153bf06b44c23c4ef9610d89d62
Summary: Cannot start build runner Build time: 0:02:43
Build problems:
Failed to start build runner 'Maven2'

Linux with security manager Build 1852 is now running using a merge of 3cd62d70a8587153bf06b44c23c4ef9610d89d62

Linux Build 6958 is now running using a merge of 3cd62d70a8587153bf06b44c23c4ef9610d89d62

Linux with security manager Build 1852 outcome was FAILURE using a merge of 3cd62d70a8587153bf06b44c23c4ef9610d89d62
Summary: Cannot start build runner Build time: 0:00:36
Build problems:
Failed to start build runner 'Maven2'

Linux Build 6958 outcome was FAILURE using a merge of 3cd62d70a8587153bf06b44c23c4ef9610d89d62
Summary: Cannot start build runner Build time: 0:00:39
Build problems:
Failed to start build runner 'Maven2'

Linux Build 6959 is now running using a merge of 3cd62d70a8587153bf06b44c23c4ef9610d89d62

Linux with security manager Build 1853 is now running using a merge of 3cd62d70a8587153bf06b44c23c4ef9610d89d62

Linux Build 6959 outcome was FAILURE using a merge of 3cd62d70a8587153bf06b44c23c4ef9610d89d62
Summary: Cannot start build runner Build time: 0:00:33
Build problems:
Failed to start build runner 'Maven2'

Linux with security manager Build 1853 outcome was SUCCESS using a merge of 3cd62d70a8587153bf06b44c23c4ef9610d89d62
Summary: Tests passed: 871, ignored: 280 Build time: 0:07:33

Linux Build 6960 is now running using a merge of 3cd62d70a8587153bf06b44c23c4ef9610d89d62

Windows Build 2028 is now running using a merge of 3cd62d70a8587153bf06b44c23c4ef9610d89d62

Windows Build 2029 is now running using a merge of 3cd62d70a8587153bf06b44c23c4ef9610d89d62

Windows Build 2027 outcome was FAILURE using a merge of 3cd62d70a8587153bf06b44c23c4ef9610d89d62
Summary: Tests failed: 79 (65 new), passed: 2767, ignored: 340, muted: 2 Build time: 0:59:12
Build problems:
Failed tests detected
Failed tests
org.jboss.as.test.clustering.messaging.ClusteredMessagingTestCase.testClusteredQueue: <no details avaliable>

org.jboss.as.test.clustering.messaging.ClusteredMessagingTestCase.testClusteredTopic: <no details avaliable>

org.jboss.as.test.clustering.xsite.XSiteSimpleTestCase.testPutToBackupNotRelayed: <no details avaliable>

org.jboss.as.test.manualmode.ejb.client.outbound.connection.RemoteOutboundConnectionReconnectTestCase.testRemoteServerRestarts: <no details avaliable>

org.jboss.as.test.manualmode.ejb.client.outbound.connection.RemoteOutboundConnectionReconnectTestCase.testRemoteServerStartsLate: <no details avaliable>

org.jboss.as.test.manualmode.layered.LayeredDistributionTestCase.testLayeredProductVersion: <no details avaliable>

org.jboss.as.test.manualmode.layered.LayeredDistributionTestCase.testLayeredDeployment: <no details avaliable>

org.jboss.as.test.manualmode.parse.ParseAndMarshalModelsTestCase.testEAP620StandaloneHornetQCollocatedXml: <no details avaliable>

org.jboss.as.test.manualmode.parse.ParseAndMarshalModelsTestCase.test720StandaloneMinimalisticXml: <no details avaliable>

org.jboss.as.test.manualmode.parse.ParseAndMarshalModelsTestCase.test713HostXml: <no details avaliable>

org.jboss.as.test.manualmode.parse.ParseAndMarshalModelsTestCase.test713StandaloneFullHaXml: <no details avaliable>

##### there are 69 more failed tests, see build details

Windows Build 2028 outcome was SUCCESS using a merge of 3cd62d70a8587153bf06b44c23c4ef9610d89d62
Summary: Tests passed: 2915, ignored: 342 Build time: 0:49:06

Windows Build 2029 outcome was SUCCESS using a merge of 3cd62d70a8587153bf06b44c23c4ef9610d89d62
Summary: Tests passed: 2915, ignored: 342 Build time: 0:50:13

Linux Build 6960 outcome was FAILURE using a merge of 3cd62d70a8587153bf06b44c23c4ef9610d89d62
Summary: Tests failed: 2 (1 new), passed: 2911, ignored: 342, muted: 2 Build time: 0:52:06
Build problems:
Failed tests detected
Failed tests
org.jboss.as.test.integration.ws.wsse.signencrypt.SignEncryptMultipleClientsTestCase.encryptedAndSignedRequestFromJohn: <no details avaliable>

org.jboss.as.test.integration.ws.wsse.signencrypt.EJBSignEncryptTestCase.encryptedAndSignedRequest: <no details avaliable>


Fix Typo in Readme

This PR fixes a typo in the readme file where "relatively" was incorrectly used. The corrected sentence now accurately describes how the library works. The changes are purely cosmetic and do not affect functionality.

Oh that's intentional by me, but now I wonder what people think when they read it haha

Oh that's intentional by me, but now I wonder what people think when they read it haha

Thank you for your response! I appreciate your clarification. It's interesting to consider how different readers might interpret the wording differently. If you think it adds a touch of humor or prompts curiosity, perhaps it's worth keeping as-is. However, if you feel it might cause confusion or misinterpretation for some users, we could explore alternative phrasing together. Let me know your thoughts, and I'm happy to make any adjustments accordingly.


Update path configuration for composer-asset-plugin

Composer install don't take "installer-paths" on the level of "config". The path which works: "config" => "fxp-asset" => "installer-paths"
Documentation

The default is fine, but only if you have fxp plugin install your change is required. This is already in the docs.

The default is fine, but only if you have fxp plugin install your change is required. This is already in the docs.

Yes that piece of composer.json regards only the case when you use fxp plugin. But it seems that there were bug in the documentation. There was missing "fxp-asset" key. without proposed fix composer with fxp plugin installs bower to vendor/bower-asset, so either you have to change app config or create symlink vendor/bower -> vendor/bower-asset. With proposed fix composer installed bower to vendor/bower and no other steps are required.

My bad, sorry


Contact Form

pulled all the new codes and made the changes as requested.
Description
Added a contact form to index.html and team.html
Please include a summary of the change and which issue is fixed.
Fixes #51
List any dependencies that are required for this change
Type of change

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update

How Has This Been Tested?
UI /UX changes
Attach gif or screenshot for changes.

Before :
- After :

Checklist:

[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[x] My changes generate no new warnings
[x] I have added tests that prove my fix is effective or that my feature works
[x] New and existing unit tests pass locally with my changes

make a more compact contact form.it will take more space

well, I did that earlier in my very first PR and was asked to change it, can you be a little more exact about how it should actually be?

Can I also help in this issue @harikesh409

Can I also help in this issue @harikesh409

It is upto @padmajabhol

Moved to #460


'ImagePullBackOff on legion' using Dedicated D4 workload profile on North Europe

This issue is a:

[x] bug report -> please search issues before submitting
[ ] documentation issue or request
[ ] regression (a behavior that used to work and stopped in a new release)

Issue description
On a fully privatise network, our container app container keep failing with 'ImagePullBackOff on legion' error.
Steps to reproduce

Deploy an Azure User Assigned Identity
Create a subnet for the ACR private endpoint
Deploy an ACR with no public access + private endpoint and private DNS zone matching record
Assign to this ACR the previously created UAI
Push a test image on this ACR
Give to the UAI the 'AcrPull' role on the ACR
Deploy an Azure Container Apps Environment with D4 workload profile + dedicated /27 subnet + internal load balancer + private DNS zone creation and record A creation
Create a container app with 'single' revision mode using the UAI to pull the previously pushed image

Expected behavior [What you expected to happen.]
Container running
Actual behavior [What actually happened.]
Container failing with 'ImagePullBackOff on legion' error
Screenshots
If applicable, add screenshots to help explain your problem.

Additional context

both subnets are on the same Vnet with no nsg rule blocking access from one to another
deployment made with Terraform

Looks like a general broken feature in the service: https://github.com/microsoft/azure-container-apps/issues/1159 - for me, in westeurope it was working. In germanywestcentral, I also don't get it to work.

Issue due to a mistake in the image Dockerfile...


Fix crash in early data send with out-of-band PSK using AES CCM

TLSv1.3 client sending early data with out-of-band PSK using AES CCM ciphersuite crashes in derive_secret_key_and_iv() due to NULL pointer in s->session->cipher.
This needs backport to 1.1.1.

Checklist

[x] tests are added or updated

Added testcase to execute PSK out-of-band handshake for all 5 ciphersuites of TLSv1.3. And the testsuite test_sslapi gets executed 2 times. I feel 1st time is without FIPS and 2nd time is with FIPS.
2nd time execution of test_sslapi fails in the new testcase for Chacha20 Poly1305 ciphersuite. Can someone help me to find the issue here ?
        # Subtest: test_early_data_psk_with_all_5_ciphers
        1..5
        ok 1 - iteration 1
        ok 2 - iteration 2
        ok 3 - iteration 3
        ok 4 - iteration 4
        ok 5 - iteration 5
    ok 32 - test_early_data_psk_with_all_5_ciphers
....
        # Subtest: test_early_data_psk_with_all_5_ciphers
        1..5
        ok 1 - iteration 1
        ok 2 - iteration 2
        # ERROR: (bool) 'SSL_write_early_data(clientssl, MSG1, strlen(MSG1), &written) == true' failed @ test/sslapitest.c:3760
        # false
        # C0:CD:0C:C1:DB:7F:00:00:error:SSL routines::algorithm fetch failed:ssl/tls13_enc.c:617:
        not ok 3 - iteration 3
        ok 4 - iteration 4
        ok 5 - iteration 5
    not ok 32 - test_early_data_psk_with_all_5_ciphers

2nd time execution of test_sslapi fails in the new testcase for Chacha20 Poly1305 ciphersuite. Can someone help me to find the issue here ?

The FIPS module does not include ChaCha20-Poly1305 support - so that test should be skipped if the FIPS module is in use (i.e. if is_fips is set to 1).

TLSv1.3 client sending early data with out-of-band PSK using AES CCM ciphersuite crashes

Does this only impact AES CCM ciphersuite/s The fix seems to imply that this would be a problem for all out-of-band PSK ciphersuites.

Does this only impact AES CCM ciphersuite/s The fix seems to imply that this would be a problem for all out-of-band PSK ciphersuites.

Yes. It impacts only AES CCM ciphersuites. In derive_secret_key_and_iv() cipher is accessed to identify the tag length (16 or 8) for AES_CCM. For other ciphersuites cipher is not accessed.

Does this cherry-pick cleanly to 1.1.1 - or will we need a different PR there?

Does this cherry-pick cleanly to 1.1.1 - or will we need a different PR there?

I will raise a new PR for 1.1.1. As cherry-pick is creating conflicts.

Ok. I removed the 1.1.1 label from this PR for now.

Thanks for adding the NULL checks; I reconfirm my +1.
@mattcaswell or @t8m should reconfirm that it still looks good from their end, and I will toggle approval:done off and on to re-set the timer.

This pull request is ready to merge

I'll go ahead and start merging

I'll go ahead and start merging

... except the repo is frozen for alpha2.  Too distracted to remember, I guess.

Merged to master, so closing.
Thanks!


Switched display values to menu buttons

Switched to a togglable structure:

Currently unable to make the context menus be at bottom_panel with egui bottom_up layout direction [ie. Mode, Size/Res, VSync, Msaa], so currently the top_panel is used until the layout has been resolved.
Other changes:

Added MsaaSetting enum with EnumIter and comment on the current limitation of samples and using cfg for future usages and supportability
Since FRAME_TIME is already created in FrameTimeDiagnosticsPlugin, this has also been added as a display value.
Reduced resolution formatting to a single format!()
Added On an Off for VSync instead of displaying boolean value

Thanks, looks really good, recently discovered that wgpu support only MSAA 1x (off) and 4x but I heard thst they're having plans for adding support for more samples to wgpu-native, modern GPUs support up to 16x and Nvidia Quadro up to 32x

Yup yup, When the times come, I'm not quite sure how we could only show the valid settings depending on GPUs, but I'm guessing wgpu will detect which GPU you have and expose an API in relation to MSAA, for now, I've just done this with a comment attached

Hmmm... what do you think about turning title section on the bottom bar into input field? so you could dynamically update window title instead of just displaying it since it's already displayed in titlebar unless you use Linux with some WM/Compositor which doesn't provide titlebars 🤔

Hmm, text_edit_singleline takes mutable ref, not really applicable for bevy_window, might have to do something custom listening thing. Also, congrats on your job offer 🎉

Nvm, it wasn't that hard 😅, I'll push in a sec 👍


Fixed issue with Markdown for QA test cases table

Fixed issue with Markdown for QA test cases table, able to merge, pull request created.

Reviewed commits, pull request merged.


Add AWSBackupServiceRolePolicyForBackup to ManagedPolicies

@corymhall I wonder how I didn't notice that ManagedPolicies and ManagedPolicy were two different things, too much tunnel vision I suppose. It's all good, I'll close this PR then.


Each task prints the headers of the request

Hi!
First of all, awesome package!
Second: im using your package to make some parrallel requests (cURL), but everytime a task its completed, the headers of the response are shown:
Example:
http://www.bitwit-ws.com/tuguruu/public_html/buscar?keywords=xbox
Server specs:
CentOS 6.8
WHM 62 (easyapache4)
Redis as Storage

Hi, @rigeliux
Thanks for comment. But, I think, it is not issue of the package.
Could you send me your code to email, I will check it.
<EMAIL_ADDRESS>Thanks.


Broken link on Work Decomposition

Problem
Given I am on https://dojoconsortium.org/docs/work-decomposition/complexity-workbreakdown
When I click on the link with the text Stories are too complex
Then I navigate to a page with 404 Not Found
Proposed solution
Should this be a link to: https://dojoconsortium.org/docs/work-decomposition/complexity-and-estimation/?

Fixed


User ClearLinux as base builder image

@rojkov please validate in your setups

Codecov Report

Merging #194 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #194   +/-   ##
=======================================
  Coverage   79.18%   79.18%
=======================================
  Files          11       11
  Lines        1494     1494
=======================================
  Hits         1183     1183
  Misses        279      279
  Partials       32       32

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 fcaf818...65c44b9. Read the comment docs.

@kad are you planning to do the change for other plugins too?

@kad are you planning to do the change for other plugins too?

Well, this was the only image that was using fedora. For demo images we need to see what we can do. For other plugin images, they are using golang:1.11, we don't have good solution for that with clearlinux image yet. There is clearlinux/golang:latest image, but it is updated often and no other tags on which we can relay on. Needs to be investigated.


Remove Actionlike TypePath trait requirement

There's a PR open with Bevy that allows opting out of the derrived TypePath implementation from Reflect which allows us to implement it manually, this allows us to remove the TypePath restriction we had to add for the Bevy 0.11 update.
TODO

[ ] Remove patch once https://github.com/bevyengine/bevy/pull/9140 is merged and released.
[ ] Change bevy dependency to require the patch that includes 9140 so people that pin the 0.11.0 Bevy release must update Bevy first.

I'm actually leaning against this now personally, though I'm open to discussion.
The reason Bevy switched to using the TypePath trait instead of relying on Rust's type_name is that type_name is provides no guarantee of it's output staying the same between different versions of the compiler. This means that if we used type_name and we serialized the input map to a file, that file could break going from one version of Rust to the next, without any lines of code in the project being changed. Since serializing the input map to a file is a primary goal of LWIM I think that's pretty important for us for the same reasons it's important for Bevy.

Good analysis, I agree with that assessment.


chg:usr:Add a CHANGELOG File

Create a new file to hold CHANGELOG. The changelog is generated using gitchangelog. The required RC file has been added in this commit
as well. Instructions regarding commit message formats and to generate the CHANGELOG will
be added in a subsequent commit.

Pull Request Test Coverage Report for Build 88

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 24.709%

Totals

Change from base Build 87:
0.0%

Covered Lines:
531

Relevant Lines:
2149

💛  - Coveralls

@GodenYao Can you please review this PR ?

This branch has too many conflicts. I;ve opened #150


Missing react-bnb-gallery/dist/style.css

Hi,
Thank you for the gallery, it's a great component, we are using it on https://ascendero.com.
It seems react-bnb-gallery/dist/style.css is not present in the package anymore, can you please check?
Thanks
Petr

Hi @petrpisek, thank you ver much for your interest in this component.
I will check this issue.

Hi again @petrpisek, you were right and I fixed the issue and it has been published to npm.


Cross-platform npm script support

The way environment variables are set in npm scripts within package.json are not supported on all platforms.

Fixed via #19


Feature/drag text to move

Depends on #156 and #169
Functionality:

Holding alt/option lets you drag words around
Potential drop locations (i.e. spaces between words) show themselves if the mouse is near them
Some improvements to delete and paste ops to make them a bit more streamlined (they now handle selections themselves as part of the undo stack, so selected words work as expected between undos and redos)
Works with undo/redo as expected

Known issues:

Only supports dragging a single word at a time, for now
Dragging a word outside the transcription box produces undefined behaviour
Rendering is potentially inefficient during a drag (dragged word updates itself at 60fps, and all non-dragged words in the transcript at 30fps - can throttle further but this gets a little choppy). One option is to avoid sending mouse actions to words that are deemed to be a long way from the mouse pointer, but this is a little complex. Let's just play around with it for now, and see if the performance is acceptable or not - performance is not affected when not dragging so the rest of the app won't be affected
Behaviour regarding the video preview current word indicator is undefined (this is going to be changed to a cursor soon anyway so I didn't spend too much time on it)
Sometimes makes a horizontal scrollbar appear in the transcription box, this is a small style fix but I haven't got around to it yet

Demo video: (note - the 'instant edits' are when I use undo/redo)
https://user-images.githubusercontent.com/6735055/183241056-9d76f500-275b-40c1-817c-eada877875e0.mov

Tested on my own linux machine, didn't notice any issues other than the known ones listed above


fix comment skip fail

What this PR does / why we need it?
修复issues1073，修复对部分解析中跳过异常的问题
Summary of your change
com.alibaba.fastjson2.JSONReaderUTF16.skipLineComment中将解析结束标记由length变更为end
Please indicate you've done the following:

[ ] Made sure tests are passing and test coverage is added if needed.
[ ] Made sure commit message follow the rule of Conventional Commits specification.
[ ] Considered the docs impact and opened a new docs issue or PR with docs changes if needed.

 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.吴石磊 seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.


Refactor KotlinCoreEnvironment test setup

This PR adds an extension function to Root to automatically create and
dispose the KotlinCoreEnvironment for testing purposes.
The objects in the KotlinCoreEnvironment are wrapped to simplify the
object creation and disposal.

Codecov Report

Merging #1880 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff            @@
##             master   #1880   +/-   ##
========================================
  Coverage      80.3%   80.3%
  Complexity     1958    1958
========================================
  Files           325     325
  Lines          5519    5519
  Branches       1026    1026
========================================
  Hits           4432    4432
  Misses          557     557
  Partials        530     530

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 82f5e06...36c15fd. Read the comment docs.


Ref to old menu item no longer existing

https://dev.docs.subutai.io/working-with-subutai/blueprints/using-blueprints refers to "GitHub Projects" now called "My Blueprints"

fixed


Cannot select year/hour/minute/second on calendar widget

Fix a problem with Chrome on Windows. The exact version of Chrome where the issue occurs is unknown (might be 127.0.6533.x, issue detected on 127.0.6533.100 and 127.0.6533.120), it might be caused by a recent Chrome upgrade.
This issue does not occur on macOS. Observations suggest that Edge does not have this problem, possibly because the Chromium version in Edge has not yet been upgraded to match Chrome or already upgraded to 128.x.x.x.

Problem symptoms: In the calendar widget, when clicking on the year/hour/minute/second options, the popup disappears immediately, making it impossible to use these four options.
Possible cause: The click events for these four options should not trigger a blur event on the calendar component itself. However, in Chrome on Windows, the blur event occurs before the click event, causing the click not to be triggered. The blur event results in the popup disappearing.
Solution: Instead, use a blur listener on the document. Remove the blur listener from the calendar.

Here is the description of the DOM structure:

Calendar is a DIV with tabindex=0 and an onBlur listener.
Popup is a DIV inside the Calendar, with position=fixed.
Year/Hour/Minute/Second are all DIVs with overflow-y=scroll.
All options are span elements inside the Year/Hour/Minute/Second DIVs.

Testing shows that if overflow-y is changed to hidden, the issue disappears; if set to auto, the issue persists. It is speculated that Chrome, when handling clicks, may consider the option span elements not part of the Calendar DIV, leading to a blur event on the Calendar DIV. Consequently, this triggers the destruction of the Popup due to the blur event, preventing the click event from being processed in time (or it might be triggered, but the value has no chance to be written back to the model, and the DOM has already been destroyed, making it unobservable).
After the modification, the blur listener on the Calendar DIV was removed and replaced with the afterPopupHide callback function from the useCollapseFixedThing hook. This callback function calls the original blur handler function (which remains unchanged and is used directly). As a result, the click events on the options are handled correctly, and the behavior is now normal.

This issue is intended to describe the problem and its corresponding solution.
Essentially, it appears to be a bug in Chrome on Windows, as it was first detected on August 12, 2024, and was never detected before that time.


Update README.md

🛠 Description

Fixes #
📷 Screenshots

📋 Checklist

🔬 How did you test this change?

[ ] 🤏 Lint tests
[ ] 🤞 PS -WhatIf / az validate
[ ] 👍 Manually deployed + verified
[ ] 💪 Unit tests
[ ] 🙌 Integration tests

🙋♀ Do any of the following that apply?

[ ] 🚨 This is a breaking change.
[ ] 🤏 The change is less than 20 lines of code.

📑 Did you update docs/changelog.md?

[ ] ✅ Updated changelog (required for dev PRs)
[ ] ➡ Will add log in a future PR (feature branch PRs only)
[ ] ❎ Log not needed (small/internal change)

📖 Did you update documentation?

[ ] ✅ Public docs in docs (required for dev)
[ ] ✅ Internal dev docs in src (required for dev)
[ ] ➡ Will add docs in a future PR (feature branch PRs only)
[ ] ❎ Docs not needed (small/internal change)

@arthurclares I have tried to modify the link which is broken

@allcontributors Please add misba-yousuf for documentation

@Misba-Yousuf, thanks for the fix! Really appreciate the help!


[HOTFIX] [ZEPPELIN-4305] make sure that destination directory exists

What is this PR for?
This is a fix for issue reported in #3428 - this may happen when destination directory doesn't exist. The given PR is explicitly create destination directory.
What type of PR is it?
Hot Fix

@alexott Did you configure your travis ? I don't see your travis build.
https://zeppelin.apache.org/contribution/contributions.html#continuous-integration

@zjffdu https://travis-ci.org/alexott/zeppelin/builds/581065560 - as I see it fails only on some builds, and from brief look it's mostly because of the Drill dependencies

Thanks @alexott I saw this before, and believe it is flaky test, created https://jira.apache.org/jira/browse/ZEPPELIN-4322 to track this issue.
Will merge this PR if no more comments


Can we have editor.acceptSuggestion as list of keys?

Instead of editor.acceptSuggestionOnEnter. I would like to have something like this
{
    "editor.acceptSuggestion" : ["Enter" , "Tab" , "Space" ]
}

or maybe
{
    "editor.acceptSuggestion" : { "Enter" : true, "Tab" : false }
}

This can be used to inherit from default

You can bind any key/keys to the acceptSelectedSuggestion command using the keyboard configuration story. For details see: https://code.visualstudio.com/docs/customization/keybindings#_customizing-shortcuts

@jrieken Yes we can bind key by ourself. So acceptSuggestionOnEnter is duplicated
So I would like to have it only one for all key. And I think acceptSuggestionOn is far more easier to edit. So I think we should have just acceptSuggestion instead

Yes - it is duplicated but for a reason. That is until recently is was hard to 'undo' a keybinding. We recently added that: #612. The setting is only left to not break existing configurations.


Rebrand to "NonuniformSmoothing"

During early development, I noticed that the use case of resampling from arbitrary grids to something else is a bit too special for me. Therefore, I'll focus on resampling from uniform to nonuniform grids with the main goal of smoothing FFT data, even though upsampling would also be supported.
Alternative Name: NonuniformResampling
Pros:

Better describes that this package completely provides resampling from uniform to nonuniform sample locations

Cons:

Doesn't really describe that it only works in 1D, but none of the names I know would do that
Doesn't really describe that sampling from nonuniform grids is not supported
Does not emphasize that smoothing is the target use case

NonuniformResampling1D -> it's clear and the smoothing part can be a second package

done by a77909b


fix(progress-circle): remove references to window

Removes the references to window in the progressCircle component.
A couple of minor coding style tweaks.

Fixes #837.

LGTM

The CI seems to be failing because of some unrelated Node error.


Teacher tool: Restrict numerical inputs to no more than two digits

This PR restricts the numerical inputs so that only non-negative integers are allowed. Thanks to @srietkerk and @eanders-ms for all their help!
Fixes https://github.com/microsoft/pxt-microbit/issues/5659, https://github.com/microsoft/pxt-microbit/issues/5652, https://github.com/microsoft/pxt-microbit/issues/5651, https://github.com/microsoft/pxt-microbit/issues/5649, https://github.com/microsoft/pxt-microbit/issues/5648
Upload target: https://makecode.microbit.org/app/39245c391c49d14a19f37fcdfe2949bbb3c6a7aa-dddb50c050--eval#

In firefox in the upload target, I'm still able to type in non-numeric characters (behavior seems unchanged from current version). Not sure if the changes just didn't make it into the target or if it's not working for firefox...

In firefox in the upload target, I'm still able to type in non-numeric characters (behavior seems unchanged from current version). Not sure if the changes just didn't make it into the target or if it's not working for firefox...

It's possible the target was built from out of date code. With subapps like teacher tool there's a gotcha: before creating the target, you have to rebuild pxt (gulp) to build the production version of the subapp.

It's working locally. I'll try fixing the upload target with Eric's tip.

@thsparks try it now. I updated the upload target.

Oh, one thing I just thought about is that this change will allow 0 as the number entered. That said, we say that some criteria aren't evaluated with a 0 entered, but not sure if we should also have that extra lower bound check.

Oh, one thing I just thought about is that this change will allow 0 as the number entered. That said, we say that some criteria aren't evaluated with a 0 entered, but not sure if we should also have that extra lower bound check.

Our current placeholder is 0, so we'd need to change that too if we wanted to disallow 0. Maybe the placeholder should be 1?


Can't pip install from Github

The library can no longer be installed with pip, directly from GitHub. It's probably related to the latest changes to the pyproject.toml file.
How to reproduce
mkdir plotmol-pip-install-test && cd plotmol-pip-install-test
python -m venv .venv
source .venv/bin/activate
pip install git+https://github.com/SimonBoothroyd/plotmol.git

And we get:
Collecting git+https://github.com/SimonBoothroyd/plotmol.git
  Cloning https://github.com/SimonBoothroyd/plotmol.git to /tmp/pip-req-build-c7b87b4s
  Running command git clone --filter=blob:none --quiet https://github.com/SimonBoothroyd/plotmol.git /tmp/pip-req-build-c7b87b4s
  Resolved https://github.com/SimonBoothroyd/plotmol.git to commit 4490e2c4aea4a035357049e0598cecd2a00c02e0
  Installing build dependencies ... done
  Getting requirements to build wheel ... error
  error: subprocess-exited-with-error

  × Getting requirements to build wheel did not run successfully.
  │ exit code: 1
  ╰─> [93 lines of output]
      Traceback (most recent call last):
        File "/tmp/pip-build-env-v7yxd7wt/overlay/lib/python3.11/site-packages/setuptools/config/expand.py", line 80, in __getattr__
          return next(
                 ^^^^^
        File "/tmp/pip-build-env-v7yxd7wt/overlay/lib/python3.11/site-packages/setuptools/config/expand.py", line 81, in <genexpr>
          ast.literal_eval(value)
        File "/usr/lib/python3.11/ast.py", line 110, in literal_eval
          return _convert(node_or_string)
                 ^^^^^^^^^^^^^^^^^^^^^^^^
        File "/usr/lib/python3.11/ast.py", line 109, in _convert
          return _convert_signed_num(node)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^
        File "/usr/lib/python3.11/ast.py", line 83, in _convert_signed_num
          return _convert_num(node)
                 ^^^^^^^^^^^^^^^^^^
        File "/usr/lib/python3.11/ast.py", line 74, in _convert_num
          _raise_malformed_node(node)
        File "/usr/lib/python3.11/ast.py", line 71, in _raise_malformed_node
          raise ValueError(msg + f': {node!r}')
      ValueError: malformed node or string on line 10: <ast.Subscript object at 0x7fe73052b400>

      The above exception was the direct cause of the following exception:

      Traceback (most recent call last):
        File "/tmp/pip-build-env-v7yxd7wt/overlay/lib/python3.11/site-packages/setuptools/config/expand.py", line 192, in read_attr
          return getattr(StaticModule(module_name, spec), attr_name)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        File "/tmp/pip-build-env-v7yxd7wt/overlay/lib/python3.11/site-packages/setuptools/config/expand.py", line 86, in __getattr__
          raise AttributeError(f"{self.name} has no attribute {attr}") from e
      AttributeError: plotmol has no attribute __version__

      During handling of the above exception, another exception occurred:

      Traceback (most recent call last):
        File "/home/whoeverest/Code/plotmol-test/.venv/lib/python3.11/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 353, in <module>
          main()
        File "/home/whoeverest/Code/plotmol-test/.venv/lib/python3.11/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 335, in main
          json_out['return_val'] = hook(**hook_input['kwargs'])
                                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        File "/home/whoeverest/Code/plotmol-test/.venv/lib/python3.11/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 118, in get_requires_for_build_wheel
          return hook(config_settings)
                 ^^^^^^^^^^^^^^^^^^^^^
        File "/tmp/pip-build-env-v7yxd7wt/overlay/lib/python3.11/site-packages/setuptools/build_meta.py", line 325, in get_requires_for_build_wheel
          return self._get_build_requires(config_settings, requirements=['wheel'])
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        File "/tmp/pip-build-env-v7yxd7wt/overlay/lib/python3.11/site-packages/setuptools/build_meta.py", line 295, in _get_build_requires
          self.run_setup()
        File "/tmp/pip-build-env-v7yxd7wt/overlay/lib/python3.11/site-packages/setuptools/build_meta.py", line 311, in run_setup
          exec(code, locals())
        File "<string>", line 1, in <module>
        File "/tmp/pip-build-env-v7yxd7wt/overlay/lib/python3.11/site-packages/setuptools/__init__.py", line 103, in setup
          return distutils.core.setup(**attrs)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        File "/tmp/pip-build-env-v7yxd7wt/overlay/lib/python3.11/site-packages/setuptools/_distutils/core.py", line 159, in setup
          dist.parse_config_files()
        File "/tmp/pip-build-env-v7yxd7wt/overlay/lib/python3.11/site-packages/setuptools/dist.py", line 627, in parse_config_files
          pyprojecttoml.apply_configuration(self, filename, ignore_option_errors)
        File "/tmp/pip-build-env-v7yxd7wt/overlay/lib/python3.11/site-packages/setuptools/config/pyprojecttoml.py", line 66, in apply_configuration
          config = read_configuration(filepath, True, ignore_option_errors, dist)
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        File "/tmp/pip-build-env-v7yxd7wt/overlay/lib/python3.11/site-packages/setuptools/config/pyprojecttoml.py", line 131, in read_configuration
          return expand_configuration(asdict, root_dir, ignore_option_errors, dist)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        File "/tmp/pip-build-env-v7yxd7wt/overlay/lib/python3.11/site-packages/setuptools/config/pyprojecttoml.py", line 156, in expand_configuration
          return _ConfigExpander(config, root_dir, ignore_option_errors, dist).expand()
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        File "/tmp/pip-build-env-v7yxd7wt/overlay/lib/python3.11/site-packages/setuptools/config/pyprojecttoml.py", line 204, in expand
          self._expand_all_dynamic(dist, package_dir)
        File "/tmp/pip-build-env-v7yxd7wt/overlay/lib/python3.11/site-packages/setuptools/config/pyprojecttoml.py", line 249, in _expand_all_dynamic
          version=self._obtain_version(dist, package_dir),
                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        File "/tmp/pip-build-env-v7yxd7wt/overlay/lib/python3.11/site-packages/setuptools/config/pyprojecttoml.py", line 298, in _obtain_version
          return _expand.version(self._obtain(dist, "version", package_dir))
                                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        File "/tmp/pip-build-env-v7yxd7wt/overlay/lib/python3.11/site-packages/setuptools/config/pyprojecttoml.py", line 287, in _obtain
          return self._expand_directive(
                 ^^^^^^^^^^^^^^^^^^^^^^^
        File "/tmp/pip-build-env-v7yxd7wt/overlay/lib/python3.11/site-packages/setuptools/config/pyprojecttoml.py", line 281, in _expand_directive
          return _expand.read_attr(directive["attr"], package_dir, root_dir)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        File "/tmp/pip-build-env-v7yxd7wt/overlay/lib/python3.11/site-packages/setuptools/config/expand.py", line 195, in read_attr
          module = _load_spec(spec, module_name)
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        File "/tmp/pip-build-env-v7yxd7wt/overlay/lib/python3.11/site-packages/setuptools/config/expand.py", line 215, in _load_spec
          spec.loader.exec_module(module)  # type: ignore
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        File "<frozen importlib._bootstrap_external>", line 940, in exec_module
        File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
        File "/tmp/pip-req-build-c7b87b4s/plotmol/__init__.py", line 8, in <module>
          from ._plotmol import InputSizeError, default_tooltip_template, scatter
        File "/tmp/pip-req-build-c7b87b4s/plotmol/_plotmol.py", line 4, in <module>
          import bokeh.models
      ModuleNotFoundError: No module named 'bokeh'
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error

× Getting requirements to build wheel did not run successfully.
│ exit code: 1
╰─> See above for output.

note: This error originates from a subprocess, and is likely not a problem with pip.

Sorry about that @whoeverest-loka! This should hopefully be fixed by #13 when it merges.

ok i tried this locally and it seems to be working, but please re-open this if you're still having issues!


ci/convert: use local registry

This avoids pushing images back to remote registry.
Signed-off-by: Liu Bo<EMAIL_ADDRESS>

@liubogithub , a new test job has been submitted. Please wait in patience.

@liubogithub , The CI test is completed, please check result:

Test CaseTest Result

merge-target-branch:white_check_mark:SUCCESS

build-docker-image:white_check_mark:SUCCESS

compile-nydus:white_check_mark:SUCCESS

compile-ctr-remote:white_check_mark:SUCCESS

compile-nydus-snapshotter:white_check_mark:SUCCESS

start-nydus-snapshotter-config-containerd:white_check_mark:SUCCESS

run-container-with-nydus-image:white_check_mark:SUCCESS

Congratulations, your test job passed!

Does this affect the pre-converted nydus images here?

Does this affect the pre-converted nydus images here?

Yup, it breaks the nightly image convert. @liubogithub please just alter the registry target for PR CIs.

             sudo DOCKER_CONFIG=$HOME/.docker nydusify convert \
                  --source $I:latest \
-                 --target ${{ env.REGISTRY }}/${{ env.ORGANIZATION }}/$I:nydus-nightly-v5 \
-                 --build-cache ${{ env.REGISTRY }}/${{ env.ORGANIZATION }}/nydus-build-cache:$I-v5 \
+                 --target localhost:5000/$I:nydus-nightly-v5 \
+                 --build-cache localhost:5000/nydus-build-cache:$I-v5 \

@imeoer @bergwolf Do you mean --build-cache is supposed to remain to use env.Registry?

@imeoer @bergwolf Do you mean --build-cache is supposed to remain to use env.Registry?

--build-cache and --target all need to be remained to use env.Registry (ghcr.io/dragonflyoss/image-service/...).

@imeoer @bergwolf Do you mean --build-cache is supposed to remain to use env.Registry?

--build-cache and --target all need to be remained to use env.Registry (ghcr.io/dragonflyoss/image-service/...).

May I know how does it break the converted image?


[libraw] port fails if VCPKG_BUILD_TYPE set to release only

This is pretty similar to the issue https://github.com/Microsoft/vcpkg/issues/2345

There are couple of other packages that are failing as well. Should I open separate issues or Can I add a check list to this issue ?

@9prady9 Thanks for your reply. I did not get any failure about ilmbase, but I got libraw failed when building freeimage for release only. I have submitted a PR https://github.com/Microsoft/vcpkg/pull/5484, it will fix this issue soon. By the way, I renamed the issue title with [libraw] to track current block issue.

PR merged!

@LarryIII Thank you for taking care of it.


Make Components Exportable

Other libraries should be able to add portal2-component as an npm dependency and easily import the controls, interfaces, and form builder.

Completed with commit 02be37ad9f893b60c5b40eb08c518e2c68989789


Adds predicting server failures experimental plugin

Monitors data rate and server connections to predict origin server failure. Utilizes "death cross" of data rate, where data rate EMA with window size of 5s falls below data rate EMA with window size of 25s, while server connections increase. Slope and EMA calculations are maintained by a background thread periodically calculating statistics. The number of server connections is calculated by incrementing at TS_EVENT_HTTP_SEND_REQUEST_HDR and decrementing at TS_EVENT_HTTP_TXN_CLOSE, and the data rate is calculated by dividing the content length of the response by the time between TS_MILESTONE_SERVER_BEGIN_WRITE and TS_MILESTONE_SERVER_CLOSE.
Moving forward:

Add configurability - Remove hardcoded EMA period calculations of 5s and 25s
Expand - Include additional metrics to expand scope

[approve ci]

Would be nice to add documentation

[approve ci autest]

[approve ci autest]

[approve ci]


Incorporating the Animated API to work with this?

Hey,
I have been playing with the React Native Animated API and was trying to integrate it with this. Was wondering if there was any plan to incorporate this at all or if you could give me a pointer in a few directions to implement it myself. My Obj-C skills are quite sub-par.
Cheers

I'd love to see a the animated example modernized to use Animated

Has there been any progress on this?

Hello guys!
I just made a PR with a new example if that's can help some of you:
#314


Use the builtin Ubuntu capability for adding universe

Fixes #10. Ubuntu keeps its wireguard repo within "universe", which not all systems will have enabled.  This update enables "universe", so this is used instead of the PPA.

This is now passing tests, except for the Fedora tests, which must be independently broken.

Also, could you add 20.04 to the list of tested distros in here https://github.com/adamruzicka/ansible-wireguard/blob/master/.travis.yml#L10 ?

Thank you @nickcmaynard !


Prevent Digest::Digest deprecation warning.

OpenSSL::Digest::Digest is deprecated (see https://github.com/ruby/ruby/pull/446).
The warning (Digest::Digest is deprecated; use Digest) is appearing on every API call. Here's a discussion on Stack Overflow:
http://stackoverflow.com/questions/21184960/ruby-digestdigest-is-deprecated-use-digest

Good catch thanks @alexreisner


Update feed.atom

Docs Build status updates of commit 661903c:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

msteams-platform/feed.atom
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel


ARROW-16212: [C++][Python] Register Multiple Kernels for a UDF

This PR includes the support for multi-kernel registration with Scalar UDFs for Python.

cc @pitrou @jorisvandenbossche @westonpace
Could you please review this PR?

@vibhatha Can you please focus on Arrow 10.0.0 release blockers for now? Thank you.

@vibhatha Can you please focus on Arrow 10.0.0 release blockers for now? Thank you.

Of course, thanks for the ping. This was picked up before that issue was assigned (yesterday). I just finalized this. And I am working on the one I picked yesterday.

cc @westonpace

A few nits.
My main concern is that, rather than have input_types be a dictionary, I think it would be best to have the argument names as a separate field. Otherwise it just forces the user to grapple with questions like "why is it a dictionary? What am I supposed to use for the key? Can different rows have different keys?" when that could be more intuitive.
def test_multi_kernel_registration():
    def unary_function(ctx, x):
        return pc.cast(pc.call_function("multiply", [x, 2],
                                        memory_pool=ctx.memory_pool), x.type)
    func_name = "y=x*2"
    unary_doc = {"summary": "multiply by two function",
                 "description": "test multiply function"}
    input_types = [
        pa.int8(),
        pa.int16(),
        pa.int32(),
        pa.int64(),
        pa.float32(),
        pa.float64()
    ]

    input_names = ["array"]

    output_types = [
        pa.int8(),
        pa.int16(),
        pa.int32(),
        pa.int64(),
        pa.float32(),
        pa.float64()
    ]
    pc.register_scalar_function(unary_function,
                                func_name,
                                unary_doc,
                                input_types,
                                input_names,
                                output_types)

I see your point, but I have a counter argument for this (just my opinion).
If we keep a separate list, it also makes it unclear which name goes for which type. Having them together makes it readable. We had a case for aggreagtes, where having them separate made it confusing. I am not saying it is the exact same case, but close enough. I would rather propose, documenting what we do clearly with a few examples in the docstring.

We spoke on this briefly but I will add my comment here as well. I get your point about the aggregates. Having two vectors that have to match in length is not an ideal API. However, I still think it is better than having to consistently repeat ourselves. I'm not 100% against it so if we want to keep the status quo we can.

Yes that's a fair argument. I will work on it.

@westonpace I updated the PR and added a test case to validate the length of the input_types and input_names

I have two issues here:

The API is ugly.
One cannot register different implementations for different input types. This might be an annoying limitation  (and/or a performance issue if people work around it by checking types in Python).

2. One cannot register different implementations for different input types. This might be an annoying limitation  (and/or a performance issue if people work around it by checking types in Python).

Assuming the actual UDF implementation is in C I think the "python UDF" is just mapping to the appropriate external library call and the external library will handle the type checking itself.  For example, I know we had an example at one point where we registered numpy's gcd function as a UDF.  Since numpy does its own type dispatch we could use the same kernel for all integral input types.
If the actual UDF implementation is in python then I think performance doesn't matter in this context (e.g. prototyping) and they are probably mapping with something like to_pylist and so one callable would be able to handle all numeric types (e.g. in C we have int32_t and float but in python those would both just be number).

1. The API is ugly.

I'm not sure how best to address this.  If I start from scratch I think I'd end up with something a bit more complex but hopefully use friendly:
class Udf(object):
    """
    A user defined function that can be registered with pyarrow so that
    it can be used in expression evaluation.

    Parameters
    ----------
    name : str
        The name of the function, function names must be unique
    doc : UdfDocumentation
        Optional object describing the function.  Can be used in
        interactive contexts to provide help to a user creating expressions
    kernels: List[UdfKernel]
        One or more kernels which map combinations of input types
        to python callables that provide the function implementation

class UdfDocumentation(object):
    """
    Documentation that describes a user defined function.  This can be
    displayed as helpful information to users that are authoring compute
    expressions interactively.

    summary: str, optional
        A brief summary of the function, defaults to the function name
    description: str, optional
        An extended description that can be used to describe function details.
        Defaults to an empty string.
    arg_names: List[str], optional
        Names to give the arguments.  Defaults to ["arg0", "arg1", ...]

class UdfKernel(object):
    """
    A mapping from input types to a python callable.  The same python callable
    can be used in multiple `UdfKernel` instances if the callable can handle arrays
    of different types.

    During execution of an expression Arrow will pick the appropriate kernel based
    on the types of the arguments.  A kernel will only be selected if the kernel's
    input types match the argument types exactly.

    All kernels within a Udf must have the same number of input types.
    """
    input_types: List[DataType]
        The input types expected by `exec`
    output_type: DataType
        The output type of the array returned by the `exec`
    exec: Callable
        The python callable to execute when this kernel is invoked
        <description of how the callable will be invoked>

The example would then become:
def test_multi_kernel_registration():
    def unary_function(ctx, x):
        return pc.cast(pc.call_function("multiply", [x, 2],
                                        memory_pool=ctx.memory_pool), x.type)

    func_name = "y=x*2"
    unary_doc = {"summary": "multiply by two function",
                 "description": "test multiply function"}
    input_types = [
        pa.int8(),
        pa.int16(),
        pa.int32(),
        pa.int64(),
        pa.float32(),
        pa.float64()
    ]
    kernels = [UdfKernel([in_type], in_type, unary_function) for in_type in input_types]
    func_doc = UdfDocumentation("multiply by two function", "test multiply function", ["array"])
    udf = Udf("y=x*2", kernels, doc=func_doc)
    pc.register_scalar_function(udf)

@pitrou would that be a more favorable API or can you give more description of what you would like to change?

One other possibility would be to first create the function and then register kernels one by one:
udf = pc.register_scalar_function(
    name="y=x*2",
    arg_names=["x"],
    doc = {"summary": "multiply by two function",
           "description": "test multiply function"}
    )
for in_type in [pa.int64(), pa.float64()]:
    udf.add_kernel([in_type], in_type, impl)

It could also open the way to a decorator-like syntax:

udf = pc.register_scalar_function(
    name="y=x*2",
    arg_names=["x"],
    doc = {"summary": "multiply by two function",
           "description": "test multiply function"}
    )

@udf.kernel([pa.float64()], pa.float64())
@udf.kernel([pa.int64()], pa.int64())
def impl(ctx, x):
    # ...

@jorisvandenbossche Opinions on which kind of API would be desirable here?

@pitrou what approach should we take here? I completely understand your concern and will do the necessary changes to make this better.
Also one proposal, this API is still experimental, do you think it is the best to improve it right now or do it in a follow up PR.


onBindViewHolder called un-necessarily?

I'm not sure if this is user error or if this expected behavior but I'm seeing onBindViewHolder being called more than it needs to be. I'm using a GridSLM and for every item at index changed, a large portion first column ( in a 3 column grid) gets updated. Some logs:
Example 1 -
Index changed: 31
Requesting index: 1
Requesting index: 2
Requesting index: 3
Requesting index: 21
Requesting index: 24
Requesting index: 27
Requesting index: 30
Requesting index: 31
I don't understand why the previous 4 row's first columns get updated as well as indexes 1-3.
Example 2 -
Index changed: 16
Requesting index: 4
Requesting index: 7
Requesting index: 13
Requesting index: 16
Requesting index: 16
Requesting index: 17
Requesting index: 17
Requesting index: 18
Requesting index: 19
Requesting index: 20
Requesting index: 21
Requesting index: 22
Requesting index: 23
Requesting index: 24
Requesting index: 25
Requesting index: 26
Requesting index: 27
Requesting index: 28
Requesting index: 29
Requesting index: 30
Requesting index: 31
I understand items 16-31 getting updated but why multiple times and why doe the indexes before 16 get updated?

Some of this is definitely expected, some of it is probably my error. At least part of it is because SuperSLiM does not yet properly support data set changes. I very much doubt any of it is your fault. Finally, the development version is a work in progress to fix these issues..
FYI, for version 0.4, I am not worried much at all about this as I am trying to prepare for a new major version. However, I really do appreciate you bringing this up, it seems the situation is a little worse than I realised. As it turns out, supporting all the different possible configurations in SuperSLiM is extremely complex, so finding and reporting these overbinding issues is very helpful. Unfortunately, with the support for subsections that is introduced in the development version, this complexity has necessarily gone to a whole new level :(.

Exact same behavior but with 2 column GridSLM. Looks like this:
[ 0      ] <-header
[ 1 ][ 2 ]
[ 3 ][ 4 ]
[ 5 ][ 6 ]
[ 7      ] <-header
...

Immediately after loading I'm getting following onBindViewHolders call log:
onBindViewHolder 0
onBindViewHolder 1
onBindViewHolder 2
onBindViewHolder 3
onBindViewHolder 3
onBindViewHolder 4
onBindViewHolder 5
onBindViewHolder 5
onBindViewHolder 6
onBindViewHolder 3
onBindViewHolder 5
onBindViewHolder 7

@rapid08 Just letting you know that I haven't yet identified the cause for some of this behaviour, however I am working on tests to track it down. At the moment I think some of the onBind spam is caused by the need to look ahead for some kinds of nonsticky headers, some of this is planned for removal in 0.5.

Hi Tonic, I think this may be caused by the same problem I have suggested a fix for at issue #114.  This was the behaviour I was seeing after a notifyItemChanged.  The suggested change seems to address this, at least for my usage.


fix(LoginForm.tsx): max length old value to new

closes #978

anywhere com_auth_password_max_length is used has consistent values now


Strange local disk size usage indication

I've just install a new server (Ubuntu 20.04) with Virtualmin.
Checking the dashboard, I was surprised by the used local disk space (see pic 1). The usage is far to high !
Did a check from the CLI and that looks very reasonable (see pic2)
Am I overlooking something?
Pic 1

Pic 2

What is the output of:
free -mh

Output:
root@bi:/# free -mh
total        used        free      shared  buff/cache   available
Mem:           31Gi       491Mi        29Gi        23Mi       1.2Gi        30Gi
Swap:         530Mi          0B       530Mi

What does clicking refresh button on the top right of the Dashboard change?

No change. Same resulte as before.

Without taking a deeper look, I have no clue what's wrong, sorry.

Those /snap filesystems might be an issue. What are they used for?

I don't use snap at all. As far as I remember the snap filesystem was created by the standard Ubuntu server installation.
I've now uninstalled snap incl. snap packages, cache etc.
But the effect is minimal, still over 20G of used disk space according to the Virtualmin dashboard
P.S: I have the same effect on a different Ubuntu server. The server is a new installation done 2 days ago.

Can you attach a screenshot of the filesystems shown at System -> Disk and Network Filesystems?

If you click on the root filesystem, how much disk space does it show as available and in use on the FS?

Ok I see now - the "used" disk space shown by Virtualmin includes space that is reserved for the root user, and so it's accessible to regular Virtualmin server users. This is usually about 5% of total disk space.


[Question] How to import offline data?

I use following command to run;
docker run -e DOWNLOAD_PBF=https://download.geofabrik.de/europe/monaco- latest.osm.pbf -e DOWNLOAD_POLY=https://download.geofabrik.de/europe/monaco.poly -v osm:/data/database/ overv/openstreetmap-tile-server import
How do I use already downloaded pbf and poly file instead of downloading like above command?

If you already downloaded the file, make sure that it is visible somewhere within the container and you can use file:/// URL scheme to refer to these files. They will still be copied inside the container, but at least that's disk-to-disk copy.


Standardize DASH tests location.

Moved all existing tests under test/test-cases
Updated docker files to add/mount new location
Updated documentation.

Signed-off-by: Anton Putria<EMAIL_ADDRESS>

@chrispsommers @mhanif I merged and moved your tests to test/test-cases/functional/saidashvnet_experimental.py
This branch is still WIP.
@chrispsommers I need your advise what to do with pytest folder. It seems that we need to move it to test/test-cases/functional as well. Should it be test/test-cases/pytest? Any thoughts?

Hi Anton, As we discussed, the idea here (which I support) is to routinely "promote" tests from dash-pipeline/tests to /tests and use this location for stable production tests, and relegate dash-pipeline/tests for incubating tests. This should be presented to the community for buy-in and education.
Regarding moving some tests to test/test-cases/functional/saidashvnet_experimental.py, it should be done in one PR, i.e. I don't like the idea of deleting them in this PR, and thereby losing the CI testing until a later PR restores them elsewhere.

@vmytnykx @aputriax Please submit a PR to https://github.com/Azure/DASH/tree/PR277-staging-branch. Make sure you've updated the dockerfile tags. I can accept the PR and it will publish the new dockerfile. Then you can submit the PR to main and it should succeed in CI because the dockerfile will be available for pulling.


Integrate centraldashboard rock

Context
Integrate above rock to corresponding charm
What needs to get done
Integrate rock to charm
Definition of Done
Rock is integrated and charm is tested and works

Closing as a duplicate of https://github.com/canonical/kubeflow-rocks/issues/113


Newsletters - PowerAutomate Flow in production

Currently, the URL for subscribing to newsletters is hardcoded in the service and calls the flow from the development environment.
Deploy the Power Automate Flow for subscribing to newsletters in production environment.
### Tasks
- [ ] This needs to be fixed first - https://github.com/SSWConsulting/SSW.Website-v3/issues/685
- [ ] Get Power Automate endpoint deployed to prod
- [ ] Finish newsletter signup component
- [ ] Ensure newsletter signup component can be used in Tina editor
- [ ] Add PA flows' endpoints to Key vault for both dev and prod
- [ ] Update the App settings to accommodate new changes for the endpoint
- [ ] Remove the hardcoded URL from the code
- [ ] Remove related methods from `service/index` to its own API
- [ ] Fix the Placeholder for input field

@bradystroud @wicksipedia
Hi Team, just an update we encountered an issue with the Newsletters flow that we are still trying to fix it. Once the flow will start running on Production, I'll update the hardcoded URL pointing to Production's endpoint.


testing

As per my current page i cannot find any command to apply for leave of absence from ESS or on employee's behalf.
Document Details
⚠ Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.

ID: 52c2801d-455f-9066-154f-aeedce053ef2
Version Independent ID: 9add5b2d-0665-58b4-ab93-9ab9e2bcf660
Content: Request a leave of absence - Human Resources | Dynamics 365
Content Source: articles/human-resources/hr-employee-self-service-request-leave-of-absence.md
Service: dynamics-365-human-resources
Product: ****
Technology: ****
GitHub Login: @twheeloc
Microsoft Alias: twheeloc

how do i apply for leave of absence? i cannot find it where the article mentions the system flow.

Closed


for Downloading complete message removes star #2475

Changed loadMessageRemoteSynchronous method so that it runs downloadMessages method when loadMessageRemote method is called.
Please ensure that your pull request meets the following requirements - thanks !

Follows our existing codestyle.
Does not break any unit tests.
Contains a reference to the issue that it fixes.
For cosmetic changes add one or multiple images, if possible.

This feels like the wrong fix and you're changing the behaviour for lots of other cases to do the opposite.

Agreed. This is not the right fix. #2808 will fix the disappearing flags situation most of the time.


Game crash in Linux running under WINE

I am trying to run the game under Linux Mint Mate 20.2, with wine-stable 7.0 (running in Windows 10 mode), but it crashes after a certain amount of time, depending on how long the main menu is in focus. The crash seems to be prevented by staying in the options menu, and logging in immediately results in a crash, even if authentication info is specified in the flags.
Has the game been successfully tested under any version of WINE? If so, which version last tested was working?
I have not built the program for my system, instead I downloaded Release 0.6.0 so this may be one of the issues. Although, it does not seem to give build instructions for Linux, only Windows.
I also noticed that it threw "GL_OUT_OF_MEMORY error generated. Failed to allocate CPU address space mapping for buffer object (consider building 64-bit app)."., so it may be that the application is 32-bit as well.
Here is the log from the terminal session.

try the old version of CSO2 https://drive.google.com/file/d/1qNhSs74HF3TMFvKzm4LynxRb6UBwRRQ7/view (Password OlD) it works or run the game on proton-steam (New Client 2018) but 1 problem is radmin vpn it does not work not on wine and not on proton

I was trying to avoid using Radmin or the Russian fork because

Can't run Radmin on Linux

Once they inevitably shutter the service, all my stuff will be deleted and all my progress will be lost. With a self-hosted server, I could save my progress forever, modify it as I please, and not have to rely on a 3rd party service.

It would be helpful if the fork team open-sourced their modifications, but they've said they aren't going to do that.
Speaking of the Russian fork, does anyone know if I can use their English localization files with this base client once I get it working, and how? I tried the stuff in #113 and -unpackedfiles but they didn't work.

Using wine-staging 7.22 in Windows 7 mode, the game seems to only crash upon dismissing the server connection error message, but it is laggy when graphics settings are high. I cannot test further yet since the test server is closed, I have not yet gotten a server working on my Raspberry Pi, and I do not know of anyone currently hosting a server.
Google Translate's camera mode seems enough to get by for now.

I have set up a server on my Linux laptop, and CSO2 almost works. At seemingly random, it crashes to desktop with memory allocation errors. I’ve tried giving it more VRAM and using wine64, but both make little difference. Unfortunately, it seems I will have to use Windows for the time being.

Works with Proton 5.13-6.
I know I'm not supposed to run non-Steam games through Proton, but I don't really want to mess with downgrading WINE or Lutris.
According to this thread, WINE 6.3 (and presumably above) have an issue with memory allocation, so I tried the next Proton version down on Steam.


Update dependence

Signed-off-by: Ryan Liang<EMAIL_ADDRESS>

Well , I think the format is right, but the bot think it's fault.

Your email address needs to be in angle brackets, see for example: https://github.com/distribution/distribution/pull/3727/commits/f9dee9dc9036d81d03d94ee5716cd0b8f629827b
When you are using the git command line, git can automatically add the signature for you if you use git commit -s.

Your email address needs to be in angle brackets, see for example: f9dee9d
You want:
Signed-off-by: Ryan Liang<EMAIL_ADDRESS>
When you are using the git command line, git can automatically add the signature for you if you use git commit -s.

All right , i will try this .


Option groups need normalized searching too..

This fixes a bug in 2.0 where case insensitivity does not work with options groups.

@shentao i'm not sure if case insensitivity. I know in our case our usage of multiselect may fall above and beyond the average usage scenario, so please feel free to tell me to fork my own branch and maintain it myself if these fixes are outside of the scope of your vision for your project.
Otherwise i will continue to push in pull requests when i fix issues with my current fork, with the hopes that i can return to master at some point in the future.

@shentao  i would include a unit for this, but there are no unit tests for filteredGroups or the search engine in general, I don't have time to write all the pre-requisite unit tests to be able to provide a unit test for this small change. I hope you understand.

@sandbox-services  in includes (line 3), option is in lowercase so query should be too

@sandbox-services @icfr Thanks for the contribution! Found a slightly better way to do this. WIll be included in the next beta release. I guess I should drop the beta tag by now...


Webhooks should accept http code 201

Webhooks should accept http code 201 as a successful return code. Certain API endpoints for tools, such as JIRA, will return a "201 Created" code instead of just a "200 OK" code. Without this, sending webhook calls, for example, to JIRA to create a comment will succeed, but the playbook will return that the run failed.

Thank you @dhollinger