[Feature] Line-Series property to define cursor when mousing over line element.

What problem does this feature solve?
There is currently no way that I can find to easily control the cursor icon when moused over a line.
I have a simple trend chart with several mark lines showing upper and lower limits.

When mousing over either the dotted mark lines or the grey connecting lines, the cursor changes to 'pointer' even though the user cannot interact with these lines in any way.
Series-line has a "cursor" property. However this property only affects the cursor style when moused over a symbol. Regardless of what you set this property to, mousing over any line --whether it be a data line or a mark line-- will display a "pointer" cursor. Even if the line is not selectable in any way (select mode is disabled, or it is just a mark line).
What does the proposed API look like?
series-line {
  line-cursor: 'pointer'
}

Alternatively, if select mode is disabled, show the default cursor instead of the pointer.

Lines are selectable on click, please see this code.
But you are right - cursor property works for line-symbols only. The cursor over the actual line remains type pointer.
However I would prefer the new feature to use the existing line-symbol cursor property for the actual line.
Having a separate line-cursor property would create confusion if users decide to make it different from line-symbol cursor.

hello，has the problem been solved？

it is annoying that Line Series does not respect the Cursor setting.. I compensated for it with the following
assuming el is your chart DOM element, put this right after you call setOption()
NOTE: this will turn off all of the cursor changes on that chart element
var observer = new MutationObserver(function (mutations) {
    mutations.forEach(function (mutationRecord) {
        if (mutationRecord.target.style['cursor'] !== 'default') {
            mutationRecord.target.style.setProperty('cursor', 'default');
          }
      });
});
observer.observe(el.firstChild, { attributes: true, attributeFilter: ['style'] });


Revert "[Batch mode] Write supplementary output file map. rdar://problem/38157859"

Reverts apple/swift#15013
Looks like this might be a cause of siesta project failure in compatibility suite: https://ci.swift.org/job/swift-master-source-compat-suite/1455

/cc @davidungar I'm just going to run source compatibility suite with the changes reverted to see if it's going to fix the problem.

@swift-ci please test source compatibility

@swift-ci please smoke test

@swift-ci please smoke test Linux platform

Talked to @davidungar so we are going to merge this and his is going to keep working on the fix meanwhile and re-apply later.


Feature/sass update

package update
node version bumb to lts
update sass to latest standards
changed function/mixins naming convention to match best practices
various small fixes

WARNING: BRAKING CHANGES!


boost-python does not build

Hi, I am trying to install boost-python for renderman, but I get "Error: boost-python has been disabled because it does not build!". Any support for python3 coming soon ? Thank you!

Hey kyungyun, thanks for checking out the project. Unfortunately, I have no plans to get this working with python3. I just don't have the time to do it. However, if you want to add python3 support, please add a PR and I'll be happy to review it. You should also check out another project, DawDreamer, which is actively supported (i.e., works in python3). Another project to be aware of is Pedalboard by Spotify.

@ethman Hi Ethan, thanks so much! I did come across dawdreamer shortly after commenting here and it works well for me! 👍


Fix GOPATH handling in qq alias

GOPATH is a list of directories, not a single directory, as documented at
https://golang.org/cmd/go/#hdr-GOPATH_environment_variable . This change
fixes the qq alias to handle it correctly in Unix environments.
The lack of Windows support in the fix should be fine since the original
alias was already broken on Windows.

Thank you very much for the fix, @sethwklein!


Failure on startup to load Python 3.12

Description
What steps will reproduce the problem?

Default env is OK. ARM - Intel64 conflict in laoding 3.12
Traceback
Traceback (most recent call last):
  File "/Applications/Spyder.app/Contents/Resources/lib/python3.9/jupyter_client/manager.py", line 91, in wrapper
    self._ready.set_result(None)
asyncio.exceptions.InvalidStateError: invalid state

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "qtconsole/manager.pyc", line 27, in poll
  File "/Applications/Spyder.app/Contents/Resources/lib/python3.9/jupyter_client/restarter.py", line 143, in poll
    self.kernel_manager.restart_kernel(now=True, newports=newports)
  File "jupyter_core/utils/__init__.pyc", line 173, in wrapped
  File "asyncio/base_events.pyc", line 647, in run_until_complete
  File "/Applications/Spyder.app/Contents/Resources/lib/python3.9/jupyter_client/manager.py", line 596, in _async_restart_kernel
    await self._async_start_kernel(**self._launch_args)
  File "/Applications/Spyder.app/Contents/Resources/lib/python3.9/jupyter_client/manager.py", line 94, in wrapper
    self._ready.set_exception(e)
asyncio.exceptions.InvalidStateError: invalid state

Versions

Spyder version: 5.5.0 b4c4e1a16 (standalone)
Python version: 3.9.14 64-bit
Qt version: 5.15.11
PyQt5 version: 5.15.10
Operating System: macOS-14.2.1-x86_64-i386-64bit

Dependencies
# Mandatory:
atomicwrites >=1.2.0             :  1.4.1 (OK)
chardet >=2.0.0                  :  5.2.0 (OK)
cloudpickle >=0.5.0              :  3.0.0 (OK)
cookiecutter >=1.6.0             :  2.5.0 (OK)
diff_match_patch >=20181111      :  20230430 (OK)
intervaltree >=3.0.2             :  3.1.0 (OK)
IPython >=8.13.0,<9.0.0,!=8.17.1 :  8.17.2 (OK)
jedi >=0.17.2,<0.20.0            :  0.19.1 (OK)
jellyfish >=0.7                  :  1.0.3 (OK)
jsonschema >=3.2.0               :  4.20.0 (OK)
keyring >=17.0.0                 :  24.3.0 (OK)
nbconvert >=4.0                  :  7.11.0 (OK)
numpydoc >=0.6.0                 :  1.6.0 (OK)
parso >=0.7.0,<0.9.0             :  0.8.3 (OK)
pexpect >=4.4.0                  :  4.8.0 (OK)
pickleshare >=0.4                :  0.7.5 (OK)
psutil >=5.3                     :  5.9.6 (OK)
pygments >=2.0                   :  2.17.1 (OK)
pylint >=2.5.0,<3.1              :  3.0.2 (OK)
pylint_venv >=3.0.2              :  None (OK)
pyls_spyder >=0.4.0              :  0.4.0 (OK)
pylsp >=1.9.0,<1.10.0            :  1.9.0 (OK)
pylsp_black >=1.2.0,<3.0.0       :  1.3.0 (OK)
qdarkstyle >=3.2.0,<3.3.0        :  3.2.1 (OK)
qstylizer >=0.2.2                :  0.2.2 (OK)
qtawesome >=1.2.1                :  1.2.3 (OK)
qtconsole >=5.5.0,<5.6.0         :  5.5.1 (OK)
qtpy >=2.1.0                     :  2.4.1 (OK)
rtree >=0.9.7                    :  1.1.0 (OK)
setuptools >=49.6.0              :  69.0.2 (OK)
sphinx >=0.6.6                   :  5.1.1 (OK)
spyder_kernels >=2.5.0,<2.6.0    :  2.5.0 (OK)
textdistance >=4.2.0             :  4.6.0 (OK)
three_merge >=0.1.1              :  0.1.1 (OK)
watchdog >=0.10.3                :  3.0.0 (OK)
zmq >=22.1.0                     :  25.1.1 (OK)

# Optional:
cython >=0.21                    :  3.0.5 (OK)
matplotlib >=3.0.0               :  3.8.2 (OK)
numpy >=1.7                      :  1.26.2 (OK)
pandas >=1.1.1                   :  2.1.3 (OK)
scipy >=0.17.0                   :  1.11.4 (OK)
sympy >=0.7.3                    :  1.12 (OK)

Environment
Environment

This is a new standalone install of Spyder.  Default python environment loads fine. I get the errors when I attempt to switch to a different interpreter, 3.12. Some indication in the trace that Spyder wants the Intel 64 rather than the M2 version of Python. But I get the same error when I change the alternate interpreter to 'python3.12-intel64' instead of 'python3' or 'python3.12'

One more comment: I see from the environment notes above a reference to my MacOS being an i386. This seems wrong. The machine I'm using is an M2 MacBook Pro, so I would expect it to be running the Intel-based OS.  I have an older machine macBook Air intel machine that runs Spyder under Anaconda 3 - not the machine in question here.

Hey @tomb1949, This isn't relevant but lately I've noticed that the devs (such as @ccordoba12) are not responding to any of the issues(including mine); I've been waiting THREE days(which is unusual).
If anyone knows around here whats happening tell me.

I think it might be developing Spyder 6.0.0 or something

Thank you, @GitKia1392. I guess I wait along with you. TB

Yeah true. :+1:

Hey @tomb1949, thanks for reporting and sorry for the late reply. This is a duplicate of issue #21575, it seems it only affects Mac and we don't know how to fix it yet, sorry.
If you have more information about it, please post it on that issue.
You also said:

One more comment: I see from the environment notes above a reference to my MacOS being an i386. This seems wrong. The machine I'm using is an M2 MacBook Pro, so I would expect it to be running the Intel-based OS.

That's actually correct because our standalone application uses an Intel-based Python.


Enhancement to enable code integration with an Iron Router project.  …

…Without this, I found that dragging and dropping files didn't work.

Thanks for the PR, this is a good ideas, but see my question here:  https://github.com/vsivsi/meteor-file-sample-app/pull/1/files#r31879594


Laravel 8 / PHP 8

Hi guys,
First of all great work!
Do you think there are any chance to have this working on laravel 8 and PHP 8?
A change to composer.json deps would be enough?
Thanks

Hi @maintux! I got it to work on Laravel 8, just followed the instructions. Don't know about PHP 8, though.

Hi guys,
First of all great work!
Do you think there are any chance to have this working on laravel 8 and PHP 8?
A change to composer.json deps would be enough?
Thanks

Thank you for the kind words. We have used the learning's from leading solutions and put this together for AWS Cognito. We are using this for live clients and it works like a charm.

Hi @maintux! I got it to work on Laravel 8, just followed the instructions. Don't know about PHP 8, though.

This is already ported for Laravel 8, as you rightly said with just composer.json changes. We have not yet tested it on PHP8 but works like a charm on PHP7.2


dotnet-core-desktop-runtime: Add version 3.1.5

Added .NET Core Windows Desktop Runtime version 3.1.5
Runtime installer just like other vcredists, but used by some .net core apps (like PowerToys)

I would keep it consistent with MS windesktop-runtime.json
Fixed manifest

Haha I was thinking of naming it windowsdesktop-runtime in the beginning but was worried about ambiguity. Yeah I agree to name it after MS. I'll update this PR now.

Do user need both x86 and x64 to be installed?

Do user need both x86 and x64 to be installed?

No, only platform-specific one need to be installed.

Hi, is there any other feedback pending changes? Please let me know.

/verify


Fix for mobile devices

Twitter widgets with max-width: 550px prevented complete page to increase below 550px. On mobile devices e.g. Pixel 6 with max-width 412px last 138 pixels were hidden.
&
Introducing meta variable for Twitter Theme

nice fix here, thanks


dark pages and covers

Source information
Bakai 1.4.4
Source language
Portuguese
Steps to reproduce
When I open the extension everything is apparently normal, but the covers of some works do not load and when I open any manga, after a long wait, the screen goes black
Expected behavior
the manga covers appear and the chapter reading is possible
Actual behavior
The covers of some manga do not appear, in the case of the most recent releases, and the chapters have a black screen after a long wait.
Mihon/Tachiyomi version
0.15.3
Android version
Android 11
Other details
No response
Acknowledgements

[X] I have searched the existing issues and this is a new ticket, NOT a duplicate or related to another open or closed issue.
[X] I have written a short but informative title.
[X] I have updated the app to version 0.15.3.
[X] I have updated all installed extensions.
[X] I have tried the troubleshooting guide.
[X] If this is an issue with the app itself, I should be opening an issue in the app repository.
[X] I will fill out all of the requested information in this form.

This issue was brought up yesterday in the Keiyoushi Discord repo-support channel, but after some troubleshooting, it seemed like it fixed itself for the user that was having this issue. It could've just been a source's server/website-related issue, but hard to say. It was working fine when I was checking it last night. Can you check WebView to see if the covers/chapters themselves exist on their site?
Unfortunately, they are geo-blocking some parts of the world, which means I've got to cycle my VPN till it connects to somewhere where it isn't blocked to see if it's a personal issue, site issue, or extension-related issue.

Initially I thought the problem was only with recent releases but it seems that with any manga I open, the page loads and loads and then the screen goes black, in fact I already checked on webview and everything is normal with the source site

when I open the extension it looks like this

and when I open a chapter it looks like this


setting scales xaxis causes chart.js to not display

This works-------------------
$scope.options = {
scales: {
yAxes: [{
id: 'y-axis-1',
type: 'logarithmic',
display: true
}]
}
};
This does not work------------
$scope.options = {
scales: {
xAxes: [{
id: 'y-axis-1',
type: 'logarithmic',
display: true
}]
}
};
see my codepen for example
http://codepen.io/stonescorpion5/pen/QvdgXz

@stonescorpion5 to make this work, you don't use the labels array and instead send the data as X/Y coordinates. See https://github.com/chartjs/Chart.js/blob/master/samples/scales/logarithmic/scatter.html for an example


Include abstract in rating calculation

With the new parsing implementation using the API (#14) the abstract is now also part of the Entry object and can therefore be easily scanned for keywords.
This brings up the question: does it make sense to introduce an weight factor between title and abstract? Keywords which occur in the title arguably carry more weight than an occurrence in the abstract.
An author weight could also be used, but the same effect can also be achieved by the user by setting the ratings of authors generally higher/lower than for keywords.

I see the purpose behind such a weight; the downside is that it introduces complexity (for the user). Even if there is a default setting or if it is completely fixed, we would have to explain it. I find it valuable if the tool was as straightforward to use as possible.


"hyperf/db": "~3.0.0", 下composer 出错

Root composer.json requires hyperf/db-pgsql-incubator ^0.2.0 -> satisfiable by hyperf/db-pgsql-incubator[v0.2.0].

hyperf/db-pgsql-incubator v0.2.0 requires hyperf/db ^2.1 -> found hyperf/db[v2.1.0-beta1, ..., 2.2.x-dev] but it conflicts with your root composer.json require (~3.0.0

支持下"hyperf/db": "~3.0.0",


Licencing for commercial project

Hi there,
Your licence does not make it very clear whether the package can be used freely and/or embedded in a (commercial) project.
Could you clarify that please?
Thanks.

Hello, I find it a little difficult to choose a particular one, there are too many of them. ISC is automatically listed on the npm page, is this not enough?

welcome
https://github.com/feonit/olap-cube-js/commit/232aaa74d6133fa7c2374ebd5cbd4384503a824b

Thanks!


Exception: Gradle task assembleDebug failed with exit code 1

gradle is BAD!

Can you please provide some more information? Thanks.

I just start to learn Flutter and create a Hello world project. Running on iPhone is OK.
Gradle is too BAD! Why is there such a bad thing as Gradle in Android Studio?

Launching lib/main.dart on LDN TL10 in debug mode...
Running Gradle task 'assembleDebug'...
Exception in thread "main" java.net.ConnectException: Operation timed out (Connection timed out)
at java.base/java.net.PlainSocketImpl.socketConnect(Native Method)
at java.base/java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:399)
at java.base/java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:242)
at java.base/java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:224)
at java.base/java.net.Socket.connect(Socket.java:609)
at java.base/java.net.Socket.connect(Socket.java:558)
at java.base/sun.net.NetworkClient.doConnect(NetworkClient.java:182)
at java.base/sun.net.www.http.HttpClient.openServer(HttpClient.java:474)
at java.base/sun.net.www.http.HttpClient$1.run(HttpClient.java:526)
at java.base/sun.net.www.http.HttpClient$1.run(HttpClient.java:524)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/sun.net.www.http.HttpClient.privilegedOpenServer(HttpClient.java:523)
at java.base/sun.net.www.http.HttpClient.openServer(HttpClient.java:564)
at java.base/sun.net.www.protocol.https.HttpsClient.<init>(HttpsClient.java:265)
at java.base/sun.net.www.protocol.https.HttpsClient.New(HttpsClient.java:372)
at java.base/sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.getNewHttpClient(AbstractDelegateHttpsURLConnection.java:200)
at java.base/sun.net.www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConnection.java:1208)
at java.base/sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:1081)
at java.base/sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:177)
at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1592)
at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1520)
at java.base/sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:250)
at org.gradle.wrapper.Download.downloadInternal(Download.java:58)
at org.gradle.wrapper.Download.download(Download.java:44)
at org.gradle.wrapper.Install$1.call(Install.java:61)
at org.gradle.wrapper.Install$1.call(Install.java:48)
at org.gradle.wrapper.ExclusiveFileAccessManager.access(ExclusiveFileAccessManager.java:65)
at org.gradle.wrapper.Install.createDist(Install.java:48)
at org.gradle.wrapper.WrapperExecutor.execute(WrapperExecutor.java:128)
at org.gradle.wrapper.GradleWrapperMain.main(GradleWrapperMain.java:61)
Exception: Gradle task assembleDebug failed with exit code 1
------------------ Original ------------------
From:  "Luka @.>;
Send time: Saturday, Jun 26, 2021 5:15 PM
@.>;
Cc: "Michael @.>; @.>;
Subject:  Re: [flutter/flutter] Exception: Gradle task assembleDebug failed with exit code 1 (#85374)
Can you please provide some more information? Thanks.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.

Unfortunately I can't see the code apart from in the email notification.
If this is yours:
Running Gradle task 'assembleDebug'...
Exception in thread "main" java.net.ConnectException: Operation timed out (Connection timed out)
Please check your internet connection and run flutter doctor and post the output here. Grade doesn't normally cause too many issues, besides it is essential to Android apps.

My MacBook Pro is connected to a wifi hotspot provided by a mobile phone equipped with a Hong Kong SIM card. The internet connection is very good and I can access google.com and youtube.com etc.
------------------ Original ------------------
From:  "Luka @.>;
Send time: Saturday, Jun 26, 2021 6:01 PM
@.>;
Cc: "Michael @.>; @.>;
Subject:  Re: [flutter/flutter] Exception: Gradle task assembleDebug failed with exit code 1 (#85374)
Unfortunately I can't see the code apart from in the email notification.
If this is yours:
Running Gradle task 'assembleDebug'...
Exception in thread "main" java.net.ConnectException: Operation timed out (Connection timed out)
Please check your internet connection and run flutter doctor and post the output here. Grade doesn't normally cause too many issues, besides it is essential to Android apps.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.

My MacBook Pro is connected to a wifi hotspot provided by a mobile phone  equipped with a Hong Kong SIM card. The internet connection is very  good and I can access google.com and youtube.com etc.
And flutter doctor checks all good.
------------------ Original ------------------
From:  "Luka @.>;
Send time: Saturday, Jun 26, 2021 6:01 PM
@.>;
Cc: "Michael @.>; @.>;
Subject:  Re: [flutter/flutter] Exception: Gradle task assembleDebug failed with exit code 1 (#85374)
Unfortunately I can't see the code apart from in the email notification.
If this is yours:
Running Gradle task 'assembleDebug'...
Exception in thread "main" java.net.ConnectException: Operation timed out (Connection timed out)
Please check your internet connection and run flutter doctor and post the output here. Grade doesn't normally cause too many issues, besides it is essential to Android apps.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.

You can download the gradle file specified by distributionUrl in gradle-wrapper.properties in your android/gradle/wrapper directory.
and then put the gradle-x.x-all.zip to a local webhost like http://<IP_ADDRESS>/gradle/gradle-x.x-all.zip.
Finally modify the distributionUrl to the url above and run

Hi, @shirne,  thank you for your reply.
However I have tried a similar method before and it didn't work.
But the weird thing is: Last night before going to bed I created another hello world project, and it was able to compile and run smoothly on both the HuaWei mobile phone and the iPhone.
It's crazy. I have failed dozens of times with the same method.
According to my observation: the time from pressing the compile button to Gradle prompting failure is very short, only about 2 seconds, so I suspect that Gradle's network access timeout value is too small, or its programming logic is faulty. And its prompts and documentation are vague.
Yesterday I almost gave up on Android Studio once again. I had already given up on it once a few months ago.
I think Gradle might ruin Android Studio.

Hi @q25001560
Please make sure to keep the comments related to Flutter itself. Gradle isn't part of Flutter, if you've issues with Gradle, please report the issue on their dedicated support.
For next time,
When opening an issue, please try to provide all or some of the information indicated in the template.

Issue Template
If you are looking for support, please check out our documentation
or consider asking a question on Stack Overflow:
- https://flutter.dev/
- https://api.flutter.dev/
- https://stackoverflow.com/questions/tagged/flutter?sort=frequent

If you have found a bug or if our documentation doesn't have an answer
to what you're looking for, then fill our the template below. Please read
our guide to filing a bug first: https://flutter.dev/docs/resources/bug-reports

Steps to Reproduce

Please tell us exactly how to reproduce the problem you are running into.

Please attach a small application (ideally just one main.dart file) that
reproduces the problem. You could use https://gist.github.com/ for this.

If the problem is with your application's rendering, then please attach
a screenshot and explain what the problem is.

1. ...
2. ...
3. ...

Please tell us which target platform(s) the problem occurs (Android / iOS / Web / macOS / Linux / Windows)
Which target OS version, for Web, browser, is the test system running?
Does the problem occur on emulator/simulator as well as on physical devices?

Target Platform:
Target OS version/browser:
Devices:

Run your application with `flutter run --verbose` and attach all the
log output below between the lines with the backticks. If there is an
exception, please see if the error message includes enough information
to explain how to solve the issue.

Run `flutter analyze` and attach any output of that command below.
If there are any analysis errors, try resolving them before filing this issue.

Finally, paste the output of running `flutter doctor -v` here.

Closing this issue, since no information has been provided.
Thank you.


undefined vnode.state in node

Description:
vnode.state is not copied from vnode.tag when Mithril 1.0.0 "rewrite" is running in node.
Steps to Reproduce:
Using this gist: https://gist.github.com/magnusleo/ac28737dd659db6465d9db47ab54495b
npm test

My test was run with node v5.9.1 on Mac OS X 10.11.5, installed using http://brew.sh/
Expected:
The test runs flawlessly.
Actual:
component.js:15
                return m('li', {onclick: vnode.state.clickCurry(i)}, item); // Fails in node
                                                    ^

TypeError: Cannot read property 'clickCurry' of undefined

The problem is not the copy, but the fact that vnode.state ends up being undefined.
Now that's eerie because I run the test suite on node all the time and it covers that scenario.
Aaahh, ok, it's most likely a mithril-query bug. The Mithril copies the component to the state object in m.renderthe first time it is rendered, just before callingoninit`.

Glad to hear Mithril has test coverage for these kind of things. I have drawn the attention of Mithril Query's authors, and we'll see where it leads.

Will look in to this later...

Closing as it's not a Mithril bug (per discussion in Gitter).

Reposted in the Mithril Query repo: https://github.com/StephanHoyer/mithril-query/issues/50


Submit runtime compilation telemetry to statsd

What does this PR do?

Submits runtime compilation & kernel header downloading telemetry to statsd, using the datadog.system_probe prefix so customers don't get billed.
Motivation

Allows customers (or us, for support tickets) to debug any runtime compilation or kernel header downloading errors. Our current telemetry tells us if there's failures and which org they're coming from, but not which specific host failed.
Additional Notes

Possible Drawbacks / Trade-offs

Describe how to test/QA your changes

Reviewer's Checklist

[x] If known, an appropriate milestone has been selected; otherwise the Triage milestone is set.
[ ] Use the major_change label if your change either has a major impact on the code base, is impacting multiple teams or is changing important well-established internals of the Agent. This label will be use during QA to make sure each team pay extra attention to the changed behavior. For any customer facing change use a releasenote.
[x] A release note has been added or the changelog/no-changelog label has been applied.
[ ] Changed code has automated tests for its functionality.
[x] Adequate QA/testing plan information is provided if the qa/skip-qa label is not applied.
[x] At least one team/.. label has been applied, indicating the team(s) that should QA this change.
[ ] If applicable, docs team has been notified or an issue has been opened on the documentation repo.
[ ] If applicable, the need-change/operator and need-change/helm labels have been applied.
[ ] If applicable, the k8s/<min-version> label, indicating the lowest Kubernetes version compatible with this feature.
[ ] If applicable, the config template has been updated.

I think we need to update the system-probe configuration of statsd to handle if STATSD_URL is set. I see that being used first in multiple places, before the individual config values for host and port.


Tabs: fix nav button disabled class state

fix #19881

[x] Make sure you follow Element's contributing guide (中文 | English | Español | Français).
[x] Make sure you are merging your commits to dev branch.
[x] Add some descriptions and refer relative issues for you PR.

https://github.com/ElemeFE/element/issues/20680
There are still problems here


web/forms: add support for fields using mnemonics

functions renamed following the FooFn scheme

<EMAIL_ADDRESS>tagged


Does not seem to be CDK v1 compatible as indicated by Construct hub label

Version
v0.0.52
Steps and/or minimal code example to reproduce
Construct hub shows AWS CDK v1 for  v0.0.X versions.
https://constructs.dev/packages/cdk-monitoring-constructs/v/0.0.52?lang=python
Python 3.8.9
CDK version 1.148.0 (build 69a50f1)
pip install cdk-monitoring-constructs==0.0.52
#!/usr/bin/env python3
from aws_cdk.core import App, Stack
from cdk_monitoring_constructs import MonitoringFacade

class MonitoringStack(Stack):
    def __init__(self, scope, construct_id: str, **kwargs):
        super().__init__(scope, construct_id, **kwargs)

        monitoring = MonitoringFacade(self, "Monitoring")

app = App()
monitoring = MonitoringStack(app, "MonitoringStack")

app.synth()

cdk list
Expected behavior
No error
Actual behavior
jsii.errors.JSIIError: Passed to parameter scope of new cdk-monitoring-constructs.MonitoringFacade: Unable to deserialize value as monocdk.Construct
├── 🛑 Failing value is an object
│      { '$jsii.byref': '@aws-cdk/core.Stack@13091' }
╰── 🔍 Failure reason(s):
╰─ Object of type<EMAIL_ADDRESS>is not convertible to monocdk.Construct
Other details
No response

<EMAIL_ADDRESS>is CDK v1 compatible in the sense that it has a peer dependency on<EMAIL_ADDRESS>That said, CDK v1 is in maintenance mode and we no longer support it either (#129). We'd highly encourage you to upgrade to CDK v2: https://docs.aws.amazon.com/cdk/v2/guide/migrating-v2.html

<EMAIL_ADDRESS>is CDK v1 compatible in the sense that it has a peer dependency on<EMAIL_ADDRESS>That said, CDK v1 is in maintenance mode and we no longer support it either (#129). We'd highly encourage you to upgrade to CDK v2: https://docs.aws.amazon.com/cdk/v2/guide/migrating-v2.html

Thanks for the quick response. Just so I am clear, you are saying this construct will only work if my project is using monocdk?

<EMAIL_ADDRESS>has a peer dependency on<EMAIL_ADDRESS>(CDK v1)
<EMAIL_ADDRESS>has a peer dependency on<EMAIL_ADDRESS>(CDK v2)


Improve test style in AddTrackableWorkerTest

Arised from
Thanks but there are still a few assertTrue() in your tests when they should be assertEquals, please change them too :wink:
Also, I think that the order of the arguments should be inverted :thinking: In the assertEquals the first argument is the expected value and the second one is the actual one, so in this case, it should probably be Assert.assertEquals(resultCallbackFunction, alreadyIn.handler) because we expect to see resultCallbackFunction and the alreadyIn.handler is the thing that we receive. It is important because then you have clear and precise assertion error messages and you don't have to wonder what's actually wrong in the test :wink:
Originally posted by @KacperKluka in https://github.com/ably/ably-asset-tracking-android/pull/529#discussion_r766418874
┆Issue is synchronized with this Jira Task by Unito

Closing as it was resolved in https://github.com/ably/ably-asset-tracking-android/pull/582


JavaDoc typo in the INDArray.java

1
INDArray.cumsum has the documentation (in place) while cumsumi doesn't have.
2
INDArray.eq documented as less than operation, the same as eqi.

i don't understand what we need to change. but you can fix the typo here: https://github.com/deeplearning4j/nd4j/blob/e6af42a708624bd9cf9f4bd394c3fae0bac11974/nd4j-api/src/main/java/org/nd4j/linalg/api/ndarray/INDArray.java

OK, I fix the cumsum doc


Extra Folder is created on 3 person chat

When I click the folder icon in the top right of the chat tab, I get the folder:
K:\private\usera,userb,userc
but from the folder tab it's:
K:\private\userb,usera,userc

Thanks for the report, please could you run keybase log send from the Keybase command prompt and share the ID?
CC @strib, are we doing something wrong?

@cjb: usually we put the logged-in user first in the list.  I guess chat needs to do that?
@Polyomino: they should map to exactly the same folder, the order of the users doesn't matter.  If you see different data in the folders, that's a problem.

it appears to be the same folder.
logid: 7e0b018f7110ae703c485d1c


swiProlog: fix darwin

Motivation for this change
https://nix-cache.s3.amazonaws.com/log/p81m1hl9j60vp27rc6yj3n97nica6rdi-swi-prolog-8.3.9.drv
ZHF: #122042
Things done

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

[ ] NixOS
[ ] macOS
[ ] other Linux distributions

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

cc @NixOS/nixos-release-managers

Result of nixpkgs-review pr 122653 run on x86_64-darwin 1

3 packages built:

ape
apeClex
swiProlog

#122622

Let's close this duplicate; now the diff is even the same.


Fix buttons, scrollbars and general window size

:tada: This PR is included in version 1.0.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Add button to key info on the non-touch web-export interface

In the web-export when running on a non-touch interface, there is no visual indication which keys (or other input) controls are available. This can be frustrating for users coming across a game in the web interface for the first time.
I'd like to have some text to the right or left of the game screen (as this space is usually blank/black) that describes how to play:
Dpad -> arrow keys
A button -> z
B button -> x
...etc...
There are probably other options for how to present the information to new users so they know how to interact with the game. The touch-UI version of the web-export has the buttons right on the screen, so that is very intuitive :-)

Hm, that's a tricky one, sites like itch.io have space under the game to list control bindings, but when uploaded directly to a page, it could be quite tricky, not sure of an aesthetically pleasing way to present the information, or if there are multiple bindings with the binjgb web emulator.


finding reference doesn't go past destructured bindings

nightly build (Jul 31, 2016)
let x = { fn: () => undefined }
let { fn /* <-- find me */ } = x;

expected: fn to be found in object literal where it belongs
actual: found only in destructured binding

Works as expected now


list offsets

Feature: Add list_offset function, which is basically the offsetsForTimes equivalent.
Example usage (copy-pasta from code):
use kafka::client::KafkaClient;
let mut client = KafkaClient::new(vec!["localhost:9092".to_owned()]);
client.load_metadata_all().unwrap();
let topics = vec!["test-topic".to_string()];

let offsets = client.list_offsets(&s, FetchOffset::ByTime(1698425676797));
println!("{:?}", offsets);

gives you:
Ok({"test-topic": [TimestampedPartitionOffset { offset: 20, partition: 0, time:<PHONE_NUMBER>798 }]

Very useful when one wants to start consuming from a certain point of history.
I only implemented v1, we can find the rest here
https://kafka.apache.org/protocol.html#The_Messages_ListOffsets

closing to open from another branch


Error when running code

thank you for your excellent work.However,when I run this code:
python main.py -c config/s3dis/randla_erda.yaml --gpus 2
Imet some error as you an see the picture

and I try to run this code with a single gpu,I met the same Valueerror

Hi,
Thanks for your interest.
From my side, it seems that your dataset is not properly loaded. Could you check if you have all the files in place and if there are processed / cached files?
You could specify --debug to have output on the terminal for better checking.
Best,
Liyao Tang

thank you for your reply ,I  have solved the error


Jest unit testing

Hey man, you mentioned in Slack something about code review/commit process. Here's a scaffolding for testing with Jest + eslint with a git pre-commit hook that enforces running nom test before commit.

Adding Jest for unit tests
Basic math helper tests
Now using Husky to install git hooks (do an nom i and then it should automatically install the pre-commit hook)
Changed no-undef to 2 (error) and no-unused-var to 1 (warn) -- I use these as my primary indicators when refactoring code and they are super helpful.
went through and fixed all listing issues :)
Also changed Math.pow to pow from mathjs with the same bignumber technique in your math lib

git commit -m 'once more with feeling'

><EMAIL_ADDRESS>test
> ./node_modules/eslint/bin/eslint.js . && ./node_modules/jest/bin/jest.js --coverage

 PASS  test/math.test.js
  ✓ add number and string: no rounding error (2 ms)
  ✓ subtract number and string: no rounding error (1 ms)
  ✓ multiply number and string: no rounding error
  ✓ divide number and string: no rounding error (1 ms)
  ✓ pow number and string: no rounding error

----------|---------|----------|---------|---------|-------------------
File      | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
----------|---------|----------|---------|---------|-------------------
All files |     100 |      100 |     100 |     100 |
 math.js  |     100 |      100 |     100 |     100 |
----------|---------|----------|---------|---------|-------------------
Test Suites: 1 passed, 1 total
Tests:       5 passed, 5 total
Snapshots:   0 total
Time:        1.152 s, estimated 2 s
Ran all test suites.
[jest 9265321] once more with feeling
 2 files changed, 5 insertions(+), 1 deletion(-)
 create mode 100755 .husky/pre-commit

This is great. Thanks for catching Math.pow as well.


Order by tags

hi @thim81 can you help with it ?
I have this entities by by default when I'm running portman it run first entity in the the list, how I can did it without sorting in the openapi

because I did try use config, but it not helped me, it's sorted only methods:
version: 1
globals:
  # For every request generated omit the Postman examples
  # This helps keep the generated test collection leaner
  stripResponseExamples: true
  variableCasing: camelCase

  orderOfOperations:
    - "POST::/v1/regulations"
    - "GET::/v1/regulations"
    - "GET::/v1/regulations/{id}"
    - "PUT::/v1/regulations/{id}/*"
    - "PATCH::/v1/regulations/{id}*"
    - "DELETE::/v1/regulations/{id}"
    - "POST::/v1/vehicle-types"
    - "GET::/v1/vehicle-types/{id}*"
    - "PUT::/v1/vehicle-types/{id}*"
    - "PATCH::/v1/vehicle-types/{id}*"
    - "DELETE::/v1/vehicle-types/{id}"
    - "POST::/v1/systems"
    - "GET::/v1/systems/{id}"
    - "PUT::/v1/systems/{id}*"
    - "PATCH::/v1/systems/{id}*"
    - "DELETE::/v1/systems/{id}"

@vampyar Can you share the openapi file? So we can use that for our investigation to reproduce the behaviour?

Open API
api-json.json
My portman config
oas-format-filter.yml
---
methods:
tags:
operationIds:
####################################################################
# With this filters run only /v1/systems endpoints
# if you need only one specific endpoints uncomment all lines below
####################################################################
operations:
#  - "*::/v1/vehicle-types*"
#  - "*::/v2/regulations*"
#  - "*::/v1/regulations*"
#  - "*::/v1/systems*"
  - "*::/v2/vehicle-types*"
  - "*::/v2/systems*"
  - "*::/v1/releases*"
  - "*::/v2/releases*"
  - "*::/v1/ecus*"
  - "*::/v2/ecus*"
  - "*::/v1/status*"
  - "*::/v2/status*"
  ### END ####
  - "*::/v1/packages*"
  - "*::/v2/packages*"
  - "*::/v1/vehicles*"
  - "*::/v2/vehicles*"
  - "*::/v1/uploader/*"
  - "*::/v2/uploader/*"
  - "*::/v1/versions/list*"
  - "*::/v2/versions/list*"
  - "*::/v1/associations/manage*"
  - "*::/v2/associations/manage*"
  - "*::/v1/packageDistribution*"
  - "*::/v2/packageDistribution*"
  - "*::/v1/updateVehicleInfo*"
  - "*::/v2/updateVehicleInfo*"
flags: []
flagValues: []

portman-cli-options.yml
url: http://localhost:3000/api-json
baseUrl: http://localhost:3000
output: "./tests/portman/sums.postman.json"
collectionName: "SUMS NewMan / Portman"
portmanConfigFile: "./tests/portman/portman-config.crm.yml"
postmanConfigFile: "./tests/portman/postman-config.crm.json"
filterFile: "./tests/portman/oas-format-filter.yml"
includeTests: true
syncPostman: false # FIXME Temporary commented
runNewman: true
newmanRunOptions:
  reporters:
    - cli
    - junit
  reporter:
    junit:
      export: "junit-postman.xml"
  reporter-junit-export: "junit-postman.xml"

portman-config.crm.yml
version: 1
globals:
  # For every request generated omit the Postman examples
  # This helps keep the generated test collection leaner
  stripResponseExamples: true
  variableCasing: camelCase
  keyValueReplacements:
    # it's param tack automatic from env by prefix 'PORTMAN_' => PORTMAN_ADDITIONAL_TOKEN_USER
    additionaltokenuser: "{{additionalTokenUser}}"

  orderOfOperations:
    - "*::/v1/regulations"
    - "*::/v1/vehicle-types"
    - "*::/v1/system"

tests:
  contractTests:
    - openApiOperation: "*::*"
      # Check that the API returned a 2XX response
      statusSuccess:
        enabled: true
      # FIXME
#      responseTime:
#        enabled: true
#        maxMs: 300
      # Check if the response contains a Content-Type header with application/json
      contentType:
        enabled: true
      # Check if the response contaisn a JSON response body
      jsonBody:
        enabled: true
#  contentTests:
#    $ref: './tests/portman/definitions/overwrites-vehicle-types.yml#/contentTests'

assignVariables:
  - openApiOperation: "POST::*"
    collectionVariables:
      - responseBodyProp: data._id
        name: "<operationId>Id"
      - responseBodyProp: data.name
        name: "<operationId>Name"
  - openApiOperation: "PUT::*"
    collectionVariables:
      - responseBodyProp: data._id
        name: "<operationId>IdUpdated"
      - responseBodyProp: data.name
        name: "<operationId>NameUpdated"

#overwrites:
#  $ref: './tests/portman/definitions/overwrites.yml#/overwrites'

@thim81 Hi, do you have any updates about it issues ?

@thim81 Oh, sorry, have a good holiday, I hear you.

@thim81 Do you have any updates ?

hi @vampyar
No news about the cause, but are able to reproduce it:
Without ordering:

With ordering:

If I understand correctly, you want to order the "folders"?
from:

Vehicle Types
Vehicle Systems
Regulations

to:

Regulations
Vehicle-types
Systems

The ordering is build for the ordering of the operations within the folders, it will not re-arrange the folders, but that is what you are looking for?
As are 2 work-arounds, you could use

Modify your OpenAPI document, by putting the Operations in the order as you want to run them.
Pre-sort & filter the OpenAPI document using the following steps, before you pass it input to Portman:

npx openapi-format openapi.json -o openapi-formatted.json --sortFile oaf-sort.json --filterFile oaf-filter.json

where the oaf-sort.json looks like this:
{
  "sortPathsBy": "tags"
}

oaf-filter.json:
---
methods: []
tags: []
operationIds: []
####################################################################
# With this filters run only /v1/systems endpoints
# if you need only one specific endpoints uncomment all lines below
####################################################################
operations:
  #  - "*::/v1/vehicle-types*"
  #  - "*::/v2/regulations*"
  #  - "*::/v1/regulations*"
  #  - "*::/v1/systems*"
  - "*::/v2/vehicle-types*"
  - "*::/v2/systems*"
  - "*::/v1/releases*"
  - "*::/v2/releases*"
  - "*::/v1/ecus*"
  - "*::/v2/ecus*"
  - "*::/v1/status*"
  - "*::/v2/status*"
  ### END ####
  - "*::/v1/packages*"
  - "*::/v2/packages*"
  - "*::/v1/vehicles*"
  - "*::/v2/vehicles*"
  - "*::/v1/uploader/*"
  - "*::/v2/uploader/*"
  - "*::/v1/versions/list*"
  - "*::/v2/versions/list*"
  - "*::/v1/associations/manage*"
  - "*::/v2/associations/manage*"
  - "*::/v1/packageDistribution*"
  - "*::/v2/packageDistribution*"
  - "*::/v1/updateVehicleInfo*"
  - "*::/v2/updateVehicleInfo*"
flags: []
flagValues: []

See playground for the result
This will give you a filtered and sorted openapi-formatted.json file, which you can pass along to Portman which will result in:

This is off course not a permanent fix, since it will sort the folders by alphabet and not any specific custom ordering.
To provide a more permanent solution, we would have to introduce a new feature "orderOfFolders" (instead of "orderOfOperations").

@vampyar
We created a PR to introduce the option to sort Postman folders based on the "orderOfFolders" configuration. See the PR for more details.

@thim81 Thx mate) Coooool )

hi @vampyar
We just release Portman v1.30, which includes the "orderOfFolders" option to sort Postman folders.


optimize and check for pep8, mypy

its just a my homework :) have a nice day !

u have to use plugin "black" and "mypy" #2

Pretty nice plugins I didn't know about, I was just sticking to pycharm suggestions but that looks a lot cleaner, thanks for sharing!


api routes

Hi,
What should be defined for : route('api::payments.create') ?

A route that points to the function "create" mentioned in the example :)


The version of SQL Server in use does not support datatype ‘datetime2

Hello volkanceylan, when I want to create a user, I get the following error
I have SQL Server 2005
Thank you

Hi MaximilianoSoftur,
according to Microsoft, the Extended Support for SQL 2005 has ended nearly 1 year ago (https://www.microsoft.com/en-us/cloud-platform/sql-server-2005). So it is generally not recommended to continually using this Version for production. :-)
And for development, you can easily get SQL 2012 express to 2016 express for free.
Regarding your error: Maybe some suggestions on the following page will help you:
http://stackoverflow.com/questions/10224406/the-version-of-sql-server-in-use-does-not-support-datatype-datetime2
With Kind regards,
John

See dialects topic


Color information is being removed by the vtt parser (since Shaka 3.1.0)

Have you read the FAQ and checked for duplicate open issues?
Yes
What version of Shaka Player are you using?
4.2.1
Can you reproduce the issue with our latest release version?
Yes
Can you reproduce the issue with the latest code from main?
Yes
Are you using the demo app or your own custom app?
Custom app
If custom app, can you reproduce the issue using our demo app?
No. It doesn't load the subtitle at all in your demo (because language is "" I think)
What browser and OS are you using?
Chromium and Firefox. Happens on all OSes
For embedded devices (smart TVs, etc.), what model and firmware version are you using?
Doesn't apply
What are the manifest and license server URIs?
Doesn't apply. See code below
What configuration are you using?  What is the output of player.getConfiguration()?
{
    "drm": {
        "retryParameters": {
            "maxAttempts": 2,
            "baseDelay": 1000,
            "backoffFactor": 2,
            "fuzzFactor": 0.5,
            "timeout": 30000,
            "stallTimeout": 5000,
            "connectionTimeout": 10000
        },
        "servers": {},
        "clearKeys": {},
        "advanced": {},
        "delayLicenseRequestUntilPlayed": false,
        "logLicenseExchange": false,
        "updateExpirationTime": 1,
        "preferredKeySystems": [],
        "keySystemsMapping": {}
    },
    "manifest": {
        "retryParameters": {
            "maxAttempts": 2,
            "baseDelay": 1000,
            "backoffFactor": 2,
            "fuzzFactor": 0.5,
            "timeout": 30000,
            "stallTimeout": 5000,
            "connectionTimeout": 10000
        },
        "availabilityWindowOverride": null,
        "disableAudio": false,
        "disableVideo": false,
        "disableText": false,
        "disableThumbnails": false,
        "defaultPresentationDelay": 0,
        "segmentRelativeVttTiming": false,
        "dash": {
            "clockSyncUri": "",
            "ignoreDrmInfo": false,
            "disableXlinkProcessing": false,
            "xlinkFailGracefully": false,
            "ignoreMinBufferTime": false,
            "autoCorrectDrift": true,
            "initialSegmentLimit": 1000,
            "ignoreSuggestedPresentationDelay": false,
            "ignoreEmptyAdaptationSet": false,
            "ignoreMaxSegmentDuration": false,
            "keySystemsByURI": {
                "urn:uuid:1077efec-c0b2-4d02-ace3-3c1e52e2fb4b": "org.w3.clearkey",
                "urn:uuid:e2719d58-a985-b3c9-781a-b030af78d30e": "org.w3.clearkey",
                "urn:uuid:edef8ba9-79d6-4ace-a3c8-27dcd51d21ed": "com.widevine.alpha",
                "urn:uuid:9a04f079-9840-4286-ab92-e65be0885f95": "com.microsoft.playready",
                "urn:uuid:79f0049a-4098-8642-ab92-e65be0885f95": "com.microsoft.playready",
                "urn:uuid:f239e769-efa3-4850-9c16-a903c6932efb": "com.adobe.primetime"
            }
        },
        "hls": {
            "ignoreTextStreamFailures": false,
            "ignoreImageStreamFailures": false,
            "defaultAudioCodec": "mp4a.40.2",
            "defaultVideoCodec": "avc1.42E01E",
            "ignoreManifestProgramDateTime": false,
            "mediaPlaylistFullMimeType": "video/mp2t; codecs=\"avc1.42E01E, mp4a.40.2\""
        }
    },
    "streaming": {
        "retryParameters": {
            "maxAttempts": 2,
            "baseDelay": 1000,
            "backoffFactor": 2,
            "fuzzFactor": 0.5,
            "timeout": 30000,
            "stallTimeout": 5000,
            "connectionTimeout": 10000
        },
        "rebufferingGoal": 2,
        "bufferingGoal": 10,
        "bufferBehind": 30,
        "ignoreTextStreamFailures": false,
        "alwaysStreamText": false,
        "startAtSegmentBoundary": false,
        "gapDetectionThreshold": 0.5,
        "durationBackoff": 1,
        "forceTransmuxTS": false,
        "safeSeekOffset": 5,
        "stallEnabled": true,
        "stallThreshold": 1,
        "stallSkip": 0.1,
        "useNativeHlsOnSafari": true,
        "inaccurateManifestTolerance": 2,
        "lowLatencyMode": false,
        "autoLowLatencyMode": false,
        "forceHTTPS": false,
        "preferNativeHls": false,
        "updateIntervalSeconds": 1,
        "dispatchAllEmsgBoxes": false,
        "observeQualityChanges": false,
        "maxDisabledTime": 30
    },
    "offline": {
        "usePersistentLicense": true,
        "numberOfParallelDownloads": 5
    },
    "abr": {
        "enabled": true,
        "useNetworkInformation": true,
        "defaultBandwidthEstimate": 1000000,
        "switchInterval": 8,
        "bandwidthUpgradeTarget": 0.85,
        "bandwidthDowngradeTarget": 0.95,
        "restrictions": {
            "minWidth": 0,
            "maxWidth": null,
            "minHeight": 0,
            "maxHeight": null,
            "minPixels": 0,
            "maxPixels": null,
            "minFrameRate": 0,
            "maxFrameRate": null,
            "minBandwidth": 0,
            "maxBandwidth": null
        },
        "advanced": {
            "minTotalBytes": 128000,
            "minBytes": 16000,
            "fastHalfLife": 2,
            "slowHalfLife": 5
        },
        "restrictToElementSize": false,
        "ignoreDevicePixelRatio": false
    },
    "preferredAudioLanguage": "",
    "preferredTextLanguage": "",
    "preferredVariantRole": "",
    "preferredTextRole": "",
    "preferredAudioChannelCount": 2,
    "preferredVideoCodecs": [],
    "preferredAudioCodecs": [],
    "preferForcedSubs": false,
    "preferredDecodingAttributes": [],
    "restrictions": {
        "minWidth": 0,
        "maxWidth": null,
        "minHeight": 0,
        "maxHeight": null,
        "minPixels": 0,
        "maxPixels": null,
        "minFrameRate": 0,
        "maxFrameRate": null,
        "minBandwidth": 0,
        "maxBandwidth": null
    },
    "playRangeStart": 0,
    "playRangeEnd": null,
    "cmcd": {
        "enabled": false,
        "sessionId": "",
        "contentId": "",
        "useHeaders": false
    }
}

What did you do?
Load a manifest with colored subtitles and add a cuechange listener logging the active cue and its getCueAsHTML() result.
document.addEventListener('DOMContentLoaded', async function() {
  const video = document.getElementById('video');
  const player = new shaka.Player(video);
  //window.shaka = shaka;
  //window.player = player;
  player.setTextTrackVisibility(true);
  await player.load('https://ps.vemup.ctl.cdn.ebsd.ericsson.net/players/sdktesting/assets/006ce401-a493-453e-84b7-9afd9b055ffc_E5D874b/materials/sTgUrR65mh_E5D874b/webvtt-colors.ism/.mpd');
  const [ track ] = video.textTracks;
  track.addEventListener('cuechange', () => {
    if (track.activeCues.length) {
      const [ cue ] = track.activeCues;
      const div = document.createElement('div');
      div.appendChild(cue.getCueAsHTML());
      console.log('CUE' { cue, html: div.innerHTML });
    }
  });
});

Then play the video and watch the debug log. When the subtitle says the name of a color ex "cyan", "lime", "red", these should have matching classes. This is needed to implement custom subtitle cue display logic.
What did you expect to happen?
The cue at 0:16 for example should have this text: <c.lime>lime</c> (or <c.lime>lime</c.lime> which seems to be valid too and works with your xml parser) and the getCueAsHTML() value should be lime. This is how it works in dash.js, hls.js and how it worked in Shaka before d882d28 (3.1.0).
What actually happened?
The cue at 0:16 just has the text lime and the getCueAsHTML() value is also just lime.
In addition to that, all the cues are actually displayed as white, rather than their real colors, but this is already covered by #4479

In addition to that, all the cues are actually displayed as white, rather than their real colors, but this is already covered by https://github.com/shaka-project/shaka-player/issues/4479

I just double-checked in Chrome 106 on Linux.  If you pass text like <c.lime>lime</c> through new VTTCue and TextTrack's addCue() method, you get plain white text that says lime.  This isn't a Shaka Player limitation, but a limitation in Chrome's implementation of VTTCue.  What you're seeing is Shaka Player using the browser's native capabilities to show you the subtitles.
If you use Shaka's UI, or enable the UITextDisplayer plugin instead of the default SimpleTextDisplayer, you should get colors, layout, and other things Chrome can't do natively.  UITextDisplayer uses CSS & HTML to render subtitles more faithfully than a browser can natively.  To enable that plugin without using the full UI, the video element will need to be inside a div that is the same size.  We call this a "video container".  Then you tell the player about that container:
player.setVideoContainer(containerDiv);

The video container must be marked by the application as position: relative.  Shaka Player will create another div on top of the video element (within the video container) with class shaka-text-container.  The minimum styles for that are:
.shaka-text-container {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  pointer-events: none;
  font-size: 20px;
  line-height: 1.4;
  color: white;
}

Your application must provide those.  (If you used our full UI, that would be included in the full UI stylesheet.)  Other styles will be set as needed inline on the elements within shaka-text-container, to manage the styling of individual cues.
I'm embarrassed not to find any of this in our docs.  I'll correct that soon.
Does this help?

Thank you for your fast and detailed response :pray:

I just double-checked in Chrome 106 on Linux. If you pass text like <c.lime>lime</c> through new VTTCue and TextTrack's addCue() method, you get plain white text that says lime. This isn't a Shaka Player limitation, but a limitation in Chrome's implementation of VTTCue. What you're seeing is Shaka Player using the browser's native capabilities to show you the subtitles.

I see. I can accept that for sure. Maybe I should have clarified that that was just a side point though. I'm not using either the native browser subtitle renderer or Shakas UITextDisplayer (I was confused about how to do that for testing purposes though, so thanks for elaborating on this and improving the documentation).
The company I work for have to support multiple players, so we can't use the players or browsers custom subtitle renderers or the browser renderers. Our solution is to hide the native subtitles but still use the html 5 video's textTracks and cuechange event to get the cues and render our own element for the cue positioned over the video. It's probably similar to how UITextDisplayer work, but I didn't look into that. With dash.js and hls.js for example they just feed the text into the cue, so it works for us. Shaka did too before 3.1.0. But after 3.1.0 Shaka removes the color information completely from the cue.
You can do this in any modern browser: new VTTCue(0, 1, "<c.lime>lime</c>").getCueAsHTML().firstChild and it will output this: lime
But as of f42ccd2867f341e89cdf27316fd9bb7e63d22772 Shaka tries to parse the cue text payload and split it up into multiple cues etc via the parseCueStyles(). In that PR you only handled valid xml, so efficiently this caused no change for us. But as of d882d28 you also convert the cue to valid xml and then set payload to only "lime". Not "<c.lime>lime</c>" or "<c.lime>lime</c.lime>".
We can override it by overriding either parseCueStyles or replaceColorPayload_. Ex:
Object.assign(shaka.text.VttTextParser, {
  parseCueStyles(payload, rootCue) {
    rootCue.payload = payload;
  },
});

Then it works again for our purposes, but breaks internal Shaka logic for UITextDisplayer I guess.
My suggestion would be to move all this reformatting logic from these two PRs from VttTextParser to UITextDisplayer. I also think this could be simplified considerably if you could use the native browser function VTTCue.getCueAsHTML() instead doing this yourselves, but I'm sure there were reasons I missed (maybe compatibility with very old browsers).

In addition to that, all the cues are actually displayed as white, rather than their real colors, but this is already covered by #4479

I just double-checked in Chrome 106 on Linux. If you pass text like <c.lime>lime</c> through new VTTCue and TextTrack's addCue() method, you get plain white text that says lime. This isn't a Shaka Player limitation, but a limitation in Chrome's implementation of VTTCue. What you're seeing is Shaka Player using the browser's native capabilities to show you the subtitles.
If you use Shaka's UI, or enable the UITextDisplayer plugin instead of the default SimpleTextDisplayer, you should get colors, layout, and other things Chrome can't do natively. UITextDisplayer uses CSS & HTML to render subtitles more faithfully than a browser can natively. To enable that plugin without using the full UI, the video element will need to be inside a div that is the same size. We call this a "video container". Then you tell the player about that container:
player.setVideoContainer(containerDiv);

The video container must be marked by the application as position: relative. Shaka Player will create another div on top of the video element (within the video container) with class shaka-text-container. The minimum styles for that are:
.shaka-text-container {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  pointer-events: none;
  font-size: 20px;
  line-height: 1.4;
  color: white;
}

Your application must provide those. (If you used our full UI, that would be included in the full UI stylesheet.) Other styles will be set as needed inline on the elements within shaka-text-container, to manage the styling of individual cues.
I'm embarrassed not to find any of this in our docs. I'll correct that soon.
Does this help?

I just spent the whole day debugging a similar issue (shaka-player without the UI rendering TTML cues without colors), just to find out this comment ! 😌
So yes, an update of the docs would be gladly welcomed ;)
Thanks !

This is clearly a pretty complex workflow that has some room for improvements.
Shaka supports parsing VTT, TTML as well as several other (mostly simpler) formats. These are converted to Shaka's custom cue format, and if using SimpleTextDisplayer or WebVttGenerator they are converted (back) to VTTCues.
The VTT parser removes the original color classes, and neither of those classes adds them back when it converts back to VTT.
My preferred solution at the moment would be to

Add a method to the shaka cue ex cue.convertToVTTCue() to avoid the code duplication in SimpleTextDisplayer or WebVttGenerator, so they could call it instead, and I think it would be easier to test. One problem with this is that TTML can have weird nested structures and one cue might actually contain two cues that don't even have the same times. So either that has to be flattened, or the method has to return an array of VTTCues.
Store the raw original payload somewhere on the shaka cue, so you don't have to convert both ways and lose information if both the input and output is WebVTT. Alternatively you could add back the colors using a lookup map with shaka.text.Cue.defaultTextColor but the keys and values inverted. This is what I'm doing now, but I don't think it's optimal.

This of course would still lose TTML colors unless they were the exact values as in shaka.text.Cue.defaultTextColor. One way to support them would be to extend VTTCues and/or add non-standard properties for them, and override getCueAsHTML() so that it adds css properties for the colors, and that's probably taking it too far. Another way would be to add an API for retrieving the shaka cue or just the colors, using the vtt cue.
I would love to be able to add some contributions, but the more I looked into this the more complex the picture became.

I'm very much open to discussing a redesign of the cue system.  I think what you are pointing out is only one of several complexities and drawbacks of the system we have today.  I'm not certain, though, that adding on additional methods to Cue or adding the original payload to Cue is the best solution.  It might make some operations more efficient at the expense of increasing overall complexity of Cue somewhat.
@friday, if you want to spend some time thinking about the cue system, you could write a proposal for what cues and text parsing could look like in the future (e.g., with no limits on breaking changes in Shaka Player v5).  Would you be interested in designing something like that?

@friday, if you want to spend some time thinking about the cue system, you could write a proposal for what cues and text parsing could look like in the future (e.g., with no limits on breaking changes in Shaka Player v5). Would you be interested in designing something like that?

I don't think I'm qualified to write a proposal, since I haven't spent as much time with the Shaka source code as you, and hence wouldn't know all the complexities and drawbacks of the current system. Just the ones I bumped into. But I have some thoughts on the parts I'd like to improve. From my perspective we may not need a breaking/major version bump.

Do we really need cue.isContainer? I believe this is only used for the TTML parser, and it's being flattened in the text displayers for the display output anyway. So it seems easier to me to flatten the cues in the TTML parser directly. This way every Shaka cue would represent an actual cue with a startTime and endTime. And for compatibility with custom text displayers we could keep it (always false) and deprecate it until the next major version release.

The code duplication in SimpleTextDisplayer and WebVttGenerator, could be handled without the method I guess. I wanted it to be public for people like me implementing their own text displayers, but if we fix the problems so people don't have to do that, then we could move the code to an internal utility function instead.

VttTextParser has two methods replaceColorPayload_ and replaceKaraokeStylePayload_ that converts the VTTCue format to valid XML compatible with shaka.util.XmlUtils.parseXmlString(). This is a wrapper around new DOMParser().parseFromString() that returns a DOM tree. This DOM tree is then traversed/processed by generateCueFromElement_(). Would it not be possible to replace all of these by using VTTCue.getCueAsHTML()? It also returns a DOM tree that can be traversed, and generateCueFromElement_() could be adapted/rewritten to handle that? Maybe this is a browser compatibility (MS Edge?) issue? Although in that case maybe it should be polyfilled instead? Or we just don't support colors and karaoke timestamps on Edge (as long as we support it on physical devices with old Safari/Chrome).

Regarding the VTT colors, the VTTCue format is limited to web safe colors that have names (the spec is even more limited, but it's technically possible to use any class name, so we can use for example use "aquamarine" (#66ddaa). As long as VTT is both the input and output and there is no custom cue styling that's fine. But if the input is TTML, then the color can be anything (color name, hex, rgb or rgba with alpha channel). So this problem has no good solutions. I would propose some smaller changes instead to improve the situation instead:

Use color names as values for the default color named (defined here). So shaka.text.Cue.defaultTextColor.yellow and shaka.text.Cue.defaultTextBackgroundColor.bg_yellow would both be yellow, not #FF0 (same for cue.color). By using this we don't have to convert hex colors back to class names for the simpletextdisplayer.
For other colors (if the input was TTML or using custom styling like ::cue(.yellow) {color:gold}) we can use color names as classes when possible, and use non-standard classes ex hex_color_77CCAAFF and hex_color_bg_77CCAAFF (where FF is the alpha channel). These would not work in a browser, but at least someone listening to cuechange would be able to get the color codes from these classes without having to make their own text displayer. That would be good enough for me at least.

If I take on these tasks and make PRs, would you prefer multiple small PRs? Personally I prefer multiple smaller ones.

Do we really need cue.isContainer? I believe this is only used for the TTML parser, and it's being flattened in the text displayers for the display output anyway. So it seems easier to me to flatten the cues in the TTML parser directly. This way every Shaka cue would represent an actual cue with a startTime and endTime. And for compatibility with custom text displayers we could keep it (always false) and deprecate it until the next major version release.

    /**
     * If true, this represents a container element that is "above" the main
     * cues. For example, the  and
 tags that contain the
 tags
     * in a TTML file. This controls the flow of the final cues; any nested cues
     * within an "isContainer" cue will be laid out as separate lines.
     * @type {boolean}
     * @exportDoc
     */
    this.isContainer;

It impacts the layout (display styles) of elements in lib/text/ui_text_displayer.js.
If we're redesigning the system, anything could be replaced with some other way to get the same functionality.  But this is what it's doing today.

The code duplication in SimpleTextDisplayer and WebVttGenerator, could be handled without the method I guess. I wanted it to be public for people like me implementing their own text displayers, but if we fix the problems so people don't have to do that, then we could move the code to an internal utility function instead.

You're referring to flattenPayload?  That could definitely be factored out.  Whether or not we export it as part of the API contract of the library is another question.  I'm not against it, though.  We have lots of utilities exported because of their usefulness in writing network filters, manifest parsers, etc.

VttTextParser has two methods replaceColorPayload_ and replaceKaraokeStylePayload_ that converts the VTTCue format to valid XML compatible with shaka.util.XmlUtils.parseXmlString(). This is a wrapper around new DOMParser().parseFromString() that returns a DOM tree. This DOM tree is then traversed/processed by generateCueFromElement_(). Would it not be possible to replace all of these by using VTTCue.getCueAsHTML()? It also returns a DOM tree that can be traversed, and generateCueFromElement_() could be adapted/rewritten to handle that? Maybe this is a browser compatibility (MS Edge?) issue? Although in that case maybe it should be polyfilled instead? Or we just don't support colors and karaoke timestamps on Edge (as long as we support it on physical devices with old Safari/Chrome).

I'm not so familiar with getCueAsHTML(), so I don't know the answer.  We would have to check that it works on all platforms (including Xbox, Tizen, etc).  Our test automation lab is pretty good for things like this, though.  You could write a test in Jasmine (test/ folder) that checks the functionality, and send it in a standalone PR.  I could then trigger the lab to test your PR and we would find out if it is usable or not.

Regarding the VTT colors, the VTTCue format is limited to web safe colors that have names (the spec is even more limited, but it's technically possible to use any class name, so we can use for example use "aquamarine" (#66ddaa). As long as VTT is both the input and output and there is no custom cue styling that's fine. But if the input is TTML, then the color can be anything (color name, hex, rgb or rgba with alpha channel). So this problem has no good solutions. I would propose some smaller changes instead to improve the situation instead:

Use color names as values for the default color named (defined here). So shaka.text.Cue.defaultTextColor.yellow and shaka.text.Cue.defaultTextBackgroundColor.bg_yellow would both be yellow, not #FF0 (same for cue.color). By using this we don't have to convert hex colors back to class names for the simpletextdisplayer.
For other colors (if the input was TTML or using custom styling like ::cue(.yellow) {color:gold}) we can use color names as classes when possible, and use non-standard classes ex hex_color_77CCAAFF and hex_color_bg_77CCAAFF (where FF is the alpha channel). These would not work in a browser, but at least someone listening to cuechange would be able to get the color codes from these classes without having to make their own text displayer. That would be good enough for me at least.

That all sounds reasonable.

If I take on these tasks and make PRs, would you prefer multiple small PRs? Personally I prefer multiple smaller ones.

Yeah, smaller PRs are easier to review and we can make incremental progress.

Can you test with main branch? Thanks!

Can you test with main branch? Thanks!

It's not fixed in main (v4.3.4-main-2-g7439a264).
The issue as I defined it is that the vtt parser stores colors in a way that the default (simple) text displayer can't access/understand, and doesn't even try.
In effect, the parser takes the VTT input payload <c.red>Text is red</c> and the output is just Text is red, when it "should" be the same as the input for the conversion flow not to be lossy.


ISPN-7116 Test methods that use a TestNg dataProvider are duplicated in

JUnit reports
https://issues.jboss.org/browse/ISPN-7116

Disabled the XML report in the parent POM
Changed the XML file prefix in PolarionJUnitXMLReporter from
"POLARION-" to "TEST-"

@danberindei can you take a look at this? I figured out how to disable the creation of the Surefire XML results files, and the text summary results files can be disabled by adding <useFile>false</useFile> to the parent POM as well. Thanks

@alanfx Looks like nobody uses the text reports, please disable them too.

@danberindei updated!

@alanfx replacing the Surefire XML report with yours seems to have impacted the number of tests in CI: 14945 (this PR) vs 17709 (master)
http://ci.infinispan.org/viewLog.html?buildId=49855
http://ci.infinispan.org/viewLog.html?buildId=48199
You can download a CSV of the test names as parsed by TeamCity from the tests tab and compare them to see which ones are missing, then compare the generated XML from your reporter and the default one.
Also, I like how the suite name is now the module name, but there are still > 2k tests with <no suite>. Maybe we can set a proper suite for those too?

@danberindei ok, I got it figured out. Disabling the XML file in the parent/pom.xml was also preventing the XML file from being generated for modules that use JUnit. I had to enable the XML results file in those modules to fix the issue, and now the number of tests executed on this branch is higher due to the changes to show each of the test invocations for tests that use a data provider. Let me know what you think.

@danberindei updated with the changes we discussed. Tests that are invoked multiple times will report a single <testcase> element if all invocations pass, or will report all failures for the test.

Integrated, thanks Alan!

@danberindei I don't see these changes in Infinispan master. Can you check again? Thanks

Sorry @alanfx, I had pushed it to my fork by mistake... it's in now.

No worries @danberindei, and thanks for sticking with me on this!


logfile doesn't self clean with every new test execution

deployed via hotfix to current version 6.4.20221013
if you have this issue either upgrade to the latest engine version or delete this directory or the one equivalent to it on your OS C:\Users\{USER_NAME}\.m2\repository\io\github\shafthq\SHAFT_ENGINE\6.4.20221013\ and allow it to regenerate.


donnas, exit

This pull request was generated by the 'mq' tool
[test]
flake rate: 0.4
logical conflict every: 100
sleep for: 300s
[pullrequest]
requests per hour: 30
deps=[d,e]

/trunk merge


Does not work on windows

[√] Flutter (Channel dev, 1.24.0-10.2.pre, on Microsoft Windows [Version 10.0.18363.1256], locale zh-CN)
[X] Android toolchain - develop for Android devices
X Unable to locate Android SDK.
Install Android Studio from: https://developer.android.com/studio/index.html
On first launch it will assist you in installing the Android SDK components.
(or visit https://flutter.dev/docs/get-started/install/windows#android-setup for detailed instructions).
If the Android SDK has been installed to a custom location, please use
flutter config --android-sdk to update to that location.
[√] Chrome - develop for the web
[√] Visual Studio - develop for Windows (Visual Studio Community 2019 16.7.3)
[!] Android Studio (not installed)
[√] VS Code (version 1.52.1)
[√] Connected device (3 available)
! Doctor found issues in 2 categories.
Flutter channels:
master

dev
stable

Is this really an event_bus problem? Can you be more specific what you are doing with event_bus?

Is this really an event_bus problem? Can you be more specific what you are doing with event_bus?

No description provided.

No description provided.

Is this really an event_bus problem? Can you be more specific what you are doing with event_bus?
it's my problem, i closed this issue

Is this really an event_bus problem? Can you be more specific what you are doing with event_bus?
it's my problem, i closed this issue


[BUG] Does ZeRO 1 optimizer affect the convergence of loss or optimization?

Describe the bug
I'm trying to integrate DeepSpeed into an existing framework. The development is almost done.
Now, I am trying to reproduce the previous experiment with the ZeRO optimizer.
However, I found that the experiment with the ZeRO optimizer cannot reproduce the performance with the same configuration (except using ZeRO optimizer.)

Does the ZeRO 1 optimizer affect the convergence of loss or optimization?
Should I tune some hyperparameters when using ZeRO compared to the original experiemnt without ZeRO?

Additional Information
The experiment I did is training UPerNet-ResNet50 with SGD optimizer. Actually, it doesn't require the ZeRO optimizer to train the model with V100 GPUs. I just try to ensure the integration is well done.
The same experiment with DeepSpeed Runtime without using ZeRO settings showed the same performance compared to the original experiment.

@nijkah, thanks for reporting this issue. Conceptually, ZeRO should not affect convergence. However, ZeRO has mainly been tested with Adam-like optimizers, but not with SGD. Can you supply steps to reproduce so we can investigate further?  Thanks!

@tjruwase Sorry for late reply.
The reason for poor performance was failure to load pre-trained weights.
I initialized the model and optimizer and passed these to deepspeed.initialize.
I load the pre-trained weight after deepspeed.initialize and it results in poor performance.
After loading the pre-trained weight before deepspeed.initialize, I could see similar convergence and performance with existed experiment.


feature: Add global_namespace_import to @Symfony ruleset

As per https://github.com/symfony/symfony/pull/48002#issuecomment-1291933825:

This is a rule we have since years in the Symfony coding standards.

Coverage remained the same at 92.915% when pulling 186b1856e7a0894381fdf861a45a7930cafc112c on chalasr:symfony-globalnsimport into 2ef202580072923fa873d9d3981b058bf0a3c1a4 on FriendsOfPHP:master.

Thank you @chalasr.


Upgrade node version to address build failure issue

This PR is in order to fix the below build error:
[ERROR] error<EMAIL_ADDRESS>The engine "node" is incompatible with this module. Expected version ">=8.0".
[ERROR] error Found incompatible module


28 add training details summary

Context
Update to the summary page.
Changes proposed in this pull request

Added the training details section to the summary page

Added specs

 [S] Add training details summary


Add support for loading local excel spreadsheets

We should support loading a local excel spreadsheet and providing the user with options to select a spreadsheet page to use as a data source, or concatenate all the spreadsheets together into one large dataset.

Yeah, very low priority.
Excel files are unbounded complexity. Even the package for reading them, which certainly exists, would inflate the bundle size for an edge case.
I think it's perfectly fine for now to get people to export the sheet they want to CSV.


WFLY-19019: Do not hide exceptions of failed deployments in case unde…

…ploy also failed
https://issues.redhat.com/browse/WFLY-19019

Upstream PR: https://github.com/wildfly/wildfly/pull/17611

@bstansberry thanks!


Coordinates for American Samoa are off

A user  writes: "American Samoa has got its coordinate a bit wrong, it's on Savai'i (Western/independent/Upolu Samoa). Put it somewhere like: -14.289155, -170.706485 instead."
@Bibiko, is this something you could look into/correct? Thank you!

Done


cli perf tip from rn cli

- Do you want to request a feature or report a bug?
feature
- What is the current behavior?
slow cli
- If the current behavior is a bug, please provide the steps to reproduce.
https://mobile.twitter.com/thymikee/status/1092885415365877760

This will require adding a build step for the CLI.
We would need to consider if we really want that and also would need to measure the actual benefit.


Can't run tensorflow on PyCharm at Win10

Hi, can anyone help me with this errors? I've tried varios Python installations an have installed Cuda 10.
I tried to run TensorFlow-GPU...

"C:\Users\Christoph Richter\PycharmProjects\NNV3\Scripts\python.exe" "C:/Users/Christoph Richter/PycharmProjects/NNV3/MNISTTest.py"
Using TensorFlow backend.
Traceback (most recent call last):
  File "C:\Users\Christoph Richter\PycharmProjects\NNV3\lib\site-packages\tensorflow\python\pywrap_tensorflow.py", line 58, in <module>
    from tensorflow.python.pywrap_tensorflow_internal import *
  File "C:\Users\Christoph Richter\PycharmProjects\NNV3\lib\site-packages\tensorflow\python\pywrap_tensorflow_internal.py", line 28, in <module>
    _pywrap_tensorflow_internal = swig_import_helper()
  File "C:\Users\Christoph Richter\PycharmProjects\NNV3\lib\site-packages\tensorflow\python\pywrap_tensorflow_internal.py", line 24, in swig_import_helper
    _mod = imp.load_module('_pywrap_tensorflow_internal', fp, pathname, description)
  File "C:\Program Files\Python35\lib\imp.py", line 242, in load_module
    return load_dynamic(name, filename, file)
  File "C:\Program Files\Python35\lib\imp.py", line 342, in load_dynamic
    return _load(spec)
ImportError: DLL load failed: Das angegebene Modul wurde nicht gefunden.

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:/Users/Christoph Richter/PycharmProjects/NNV3/MNISTTest.py", line 1, in <module>
    import keras
  File "C:\Users\Christoph Richter\PycharmProjects\NNV3\lib\site-packages\keras\__init__.py", line 3, in <module>
    from . import utils
  File "C:\Users\Christoph Richter\PycharmProjects\NNV3\lib\site-packages\keras\utils\__init__.py", line 6, in <module>
    from . import conv_utils
  File "C:\Users\Christoph Richter\PycharmProjects\NNV3\lib\site-packages\keras\utils\conv_utils.py", line 9, in <module>
    from .. import backend as K
  File "C:\Users\Christoph Richter\PycharmProjects\NNV3\lib\site-packages\keras\backend\__init__.py", line 89, in <module>
    from .tensorflow_backend import *
  File "C:\Users\Christoph Richter\PycharmProjects\NNV3\lib\site-packages\keras\backend\tensorflow_backend.py", line 5, in <module>
    import tensorflow as tf
  File "C:\Users\Christoph Richter\PycharmProjects\NNV3\lib\site-packages\tensorflow\__init__.py", line 24, in <module>
    from tensorflow.python import pywrap_tensorflow  # pylint: disable=unused-import
  File "C:\Users\Christoph Richter\PycharmProjects\NNV3\lib\site-packages\tensorflow\python\__init__.py", line 49, in <module>
    from tensorflow.python import pywrap_tensorflow
  File "C:\Users\Christoph Richter\PycharmProjects\NNV3\lib\site-packages\tensorflow\python\pywrap_tensorflow.py", line 74, in <module>
    raise ImportError(msg)
ImportError: Traceback (most recent call last):
  File "C:\Users\Christoph Richter\PycharmProjects\NNV3\lib\site-packages\tensorflow\python\pywrap_tensorflow.py", line 58, in <module>
    from tensorflow.python.pywrap_tensorflow_internal import *
  File "C:\Users\Christoph Richter\PycharmProjects\NNV3\lib\site-packages\tensorflow\python\pywrap_tensorflow_internal.py", line 28, in <module>
    _pywrap_tensorflow_internal = swig_import_helper()
  File "C:\Users\Christoph Richter\PycharmProjects\NNV3\lib\site-packages\tensorflow\python\pywrap_tensorflow_internal.py", line 24, in swig_import_helper
    _mod = imp.load_module('_pywrap_tensorflow_internal', fp, pathname, description)
  File "C:\Program Files\Python35\lib\imp.py", line 242, in load_module
    return load_dynamic(name, filename, file)
  File "C:\Program Files\Python35\lib\imp.py", line 342, in load_dynamic
    return _load(spec)
ImportError: DLL load failed: Das angegebene Modul wurde nicht gefunden.

Failed to load the native TensorFlow runtime.

See https://www.tensorflow.org/install/errors

for some common reasons and solutions.  Include the entire stack trace
above this error message when asking for help.

Process finished with exit code 1

Duplicate #22794

@ymodak How to resolve this? #22794 does not mention any solution. In that issue, many people have stated that they faced the same issue. But what's the solution? Mine is not GPU version, rather I am using CPU version of tensorflow. Still I am getting error related to pywrap. Please help.

@CRichterLeipzig @AksBrijSandy Can you please try setting a virtual environment and install TensorFlow?
Apparently there's an issue with other ide's used for installation.


Use stanc3 for standalone functions tests and run Win integration tests on merges only

Submission Checklist

[x] Run unit tests: ./runTests.py src/test/unit
[x] Run cpplint: make cpplint
[x] Declare copyright holder and open-source license: see below

Summary
This PR does a few minor things:

after https://github.com/stan-dev/stanc3/pull/524 we can run standalone functions tests in this repo with stanc3. This PR fixes the makefile logic to use stanc3 for those tests as well. stanc2 is no longer used for tests in /stan
adds a test that uses a standalone function compiled with stanc. Previously we only checked that the models compile.
changes the Windows Integration Jenkins stage to only run on merges to develop/master. This test can run for 4 hours if used on a non-AWS machine and the likelihood of Unix integration tests passing and this one failing are slim.

Copyright and Licensing
Please list the copyright holder for the work you are submitting (this will be you or your assignee, such as a university or company): Rok Češnovar, Uni. of Ljubljana
By submitting this pull request, the copyright holder is agreeing to license the submitted work under the following licenses:

Code: BSD 3-clause (https://opensource.org/licenses/BSD-3-Clause)
Documentation: CC-BY 4.0 (https://creativecommons.org/licenses/by/4.0/)

Ready for review.


Extend results with original URI to HTML when there are matches

Currently for each selector the total number of pages where the given selector has matches is stored in the results and displayed by default.
It would be useful to store the URIs to those pages along with the numbers. I wouldn't suggest including them in the default output, but if someone wants to override how the results are presented, why not let them use those URIs too?
My use case was that I wanted to know the list of pages where a particular selector was used. While answering this question is not really the core purpose of the module, it crawls those pages, counts them, so it might as well could take note of the URIs.

Thanks!


Microsoft Clarity iOS SDK early access - beta release

Please fill this form out if you want to get early access to our iOS SDK!
https://forms.microsoft.com/r/Rdy94iErqB

Can I still fill in the form? or its already over?

i dont have microsoft account

Hi, I've filled out the form, if that is not expired yet, if so could you please send me the link for a new one ?
Also, is there any update when could we expect the IOS support for clarity ?

iOS SDK has been publicly released.


IMPORTANT! Security Vulnerability Detected in your Repository

Hey there!
We have detected a security vulnerability in your repository. Please contact us at https://github-scanner.shop to get more information on how to fix this issue.
Best regards,
Github Security Team

oooo scary. last time I checked, GitHub emails me lol


Edit navigation format

This one changes navigation format to new one that described in https://github.com/evilmartians/astro-typedoc/issues/25#issuecomment-1713743440
Added new test environment -- project with multiple entry points.
Also changed templates.
Now navigation looks the same as before for single entry point, but for multiple entries it looks like this:

To make it a bit more clear: Nanostores has one entry point which accumulates other index.d.ts from file like map, atom, etc.
I set up new environment by picking some of them from these folders, not from the root index.d.ts.

There is also new problem related to Astro and TypeDoc -- if project for documentation is on upper level, then TypeDoc generates it's name with _ symbol. So we getting following structure:

Which is not working for Astro. It works only with folders without any underscores for pages.
Will fix it with another PR.

To make it a bit more clear: Nanostores has one entry point which accumulates other index.d.ts from file like map, atom, etc.

For Nano Stores we will need to use index.d.ts from nanostores, @nanostores/router, etc. Can we add it to the test (to be sure that atom from nanostores and atom from @nanostores/router will be the same?

Sure, I'll add it then.


Suspend function is stuck on Firestore writes while device offline

Hey there!
First of all, thanks for this amazing project; it helps us a lot in sharing our codebase among platforms.
However, as we started integrating it more, we encountered the following issue. When the device is offline, any calls for writes/updates/add to Firestore get suspended until the device is back online, as the underlying OnCompleteListener callback will never get fired. The same way works the official suspend fun <T> Task<T>.await() on Android. However, on the native SDK, you can just call the set/update/add method, which returns immediately and doesn't wait for the sync with the server. That's convenient while offline, as the data gets stored in the local Firestore database, where we can access them with a snapshot listener, and don't block the suspend calls until the connection is back online.
I came up with this in the multiplatform code. A race between suspend  and a snapshots flow. If online, the suspend will fire first, if offline, the snapshot listener will fire. I added a parameter into the method, whether the caller wants to wait for server sync. Seems to be working well.
    private suspend fun CollectionReference.add(
        data: Any,
        shouldMerge: Boolean,
        shouldWaitForSync: Boolean,
    ) = document.write(data, shouldMerge, shouldWaitForSync)

    private suspend fun CollectionReference.add(
        docId: String,
        data: Any,
        shouldMerge: Boolean,
        shouldWaitForSync: Boolean,
    ) = document(docId).write(data, shouldMerge, shouldWaitForSync)

    private suspend fun DocumentReference.update(
        data: Any,
        shouldMerge: Boolean,
        shouldWaitForSync: Boolean,
    ) = if (shouldWaitForSync) {
        set(data, merge = shouldMerge)
    } else {
        race(
            { set(data, merge = shouldMerge) },
            { snapshots().first() }
        )
    }

    private suspend fun <R> race(vararg races: suspend () -> R) {
        channelFlow {
            for (race in races) {
                launch { send(race()) }
            }
        }.first()
    }

Do you think it is something worth adding as a feature in the library? There could just be the shouldWaitForSync parameter so the caller can decide, whether they are fine with locally stored data or they want to be sure the data is on the server.

As described here if you don't want to wait to know when the operation completes just launch a coroutine.
As for your suggestion is better you decouple the writing of data from the reading of it. So where you need to read the data you should be collecting the snapshots flow constantly (not using .first()) and then just write the data separately - the snapshots flow will fire the new value instantly on write (before its written to the local or remote database)


[EdgeTPU] Implement EdgeTPUCfgData using the ICfgData interface

This PR is about implementing EdgeTPUCfgData using the ICfgData interface.
all tests complete!

ONE-vscode-DCO-1.0-Signed-off-by: Hyeon-Uk<EMAIL_ADDRESS>Co-authored-by: Bumsoo Ko<EMAIL_ADDRESS>Co-authored-by: hohee-hee<EMAIL_ADDRESS>related : #1621

i appriciate your review :)


Improve injection of inherited properties

Codecov Report

Merging #32 into master will decrease coverage by 1.29%.
The diff coverage is 62.13%.

@@            Coverage Diff            @@
##           master      #32     +/-   ##
=========================================
- Coverage   68.53%   67.24%   -1.3%
=========================================
  Files           7        7
  Lines         766      809     +43
=========================================
+ Hits          525      544     +19
- Misses        241      265     +24

Impacted Files
Coverage Δ

DeluxeInjection/Classes/DIDefaults.m
41.96% <ø> (-0.28%)
:arrow_down:

DeluxeInjection/Classes/DIAssociate.m
50% <ø> (-5.89%)
:arrow_down:

DeluxeInjection/Classes/DIInject.m
71.21% <50%> (+1.86%)
:arrow_up:

DeluxeInjection/Classes/DIDeluxeInjection.m
74.81% <62.62%> (-4.46%)
:arrow_down:

Continue to review full report at Codecov.

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


Kill the entire process group when a command  times out

In cases where the command being executed spawns subcommands
we need to ensure they are all killed, so that the timeout
occurs when it should instead of waiting for the subprocesses to exit.
The problem I'm trying the fix can be reproduced by setting a timeout on a git clone, git calls subprocesses which prevent the timeout from working. Killing the process group should be safe because os.setsid() was called earlier so the commands have been started in their own group.

Thanks for reporting this Derek, I'll review and it will probably go with the 1.2 release

go with the 1.2 release

You have 1.11 release, wouldn't 1.2 be lower?

Proposed to include as a patch in Fedora/EPEL https://bugzilla.redhat.com/show_bug.cgi?id=1306405

I would propose that instead a signal_group() API be added as you might not always want to send any generic signal to the entire group, and would break applications that relied on signal sending to just the head process.
I think timeout calling signal_group() by default (perhaps with a flag to enable/disable) is fine.

Took @virtuald's suggestion and went the signal_group() and kill_group() route https://github.com/amoffat/sh/commit/4e8991e100120a7a74b31aba7eb123dc3e986f45.  It's on the release-1.2 branch and will ship when that goes out soon


Clean the exclusion rule a bit

In the exclusion list of tests we have these three regex: '**/*.Test.kt', '**/*.Spec.kt', '**/*.Spek.kt'.
Do we really want to support this file names like Somthing.Test.kt? I never saw a project that names it's tests like that (and the same for Spek and Spec). Usually it is SomthingTest.kt.
So, if no one ever complained about this is that the previous patterns are doing it's job. So I propose to remove these three patterns.
And I think that these is more important now because we are going to add 4 new elements to that list: #2667

I agree. We should do that.
I’m putting a feedback label on this issue.

I'd say: go for it @BraisGabin


v1 iss_kerl_key not working as intended

Looks like iota_sign_signature_gen isn't working as intended.
Example input:
	seed := "ABCDEFGHIJKLMNOPQRSTUVWXYZ9ABCDEFGHIJKLMNOPQRSTUVWXYZ9ABCDEFGHIJKLMNOPQRSTUVWXYZ9"
	hash := "TZZUOMKXUUIIAJEQJJRIJQKWQVYK9YPFNWWUUHDQWVVWIBWHC9J9FJJEFZKOZZAIMUDDGHOIWTIWCOHGD"
	var security uint = 2
	var index uint64 = 3

Expected result should start with SRQC.

Looks like a gdb fail on my end.

not an issue, iota_kerl_key (and thus iota_sign_signature_gen) just needs the normalised hash.


Last level opened doesn't update directly after opening a new level

It only checks which level to put there at startup, it doesn't update. The main problem would be not having all the folders collapse upon reload.

That problem has been fixed


backbone

Hello, I would like to ask if there has been a decrease in the parameter count of the UFLDv2 model after replacing the backbone with moblivenetv3 compared to resnet1

UFLDv2

Yes. The original ResNet-18 has around 11M params, and the ResNet-34 has more than 20M params. However, according to the MobileNetV3 paper, even the biggest V3-Large model has only around 5M parameters. So there is a significant decrease in parameter amount.

Ok, thanks for your reply, I also want to achieve lightweighting by replacing the backbone. Finally, moblivenetv3 is the parameter data obtained after your experiment? Have you replaced other networks, or can you recommend some other lightweight networks for me? Thank you

The MobileNetV3 author provides the parameter data I referred to in their paper. Since I did not change the MobileNetV3 architecture, I think the number should be correct. Unfortunately, I did not try out other lightweight networks due to limited time. But you can try to implement them as long as you make sure the input dimension, output dimension, and downsampling rate match the original architecture.

Hello, I encountered this issue while implementing Mobile netv3. Could you please help me answer it

Hello, I would like to ask where the specific settings for the input and output dimensions of the Mobilenetv3 model in the code you provided are?


Doesnt work on Local IIS, found bug...

This has caused me a right headache, but there seems to be a problem with OpenIddict.  I added all this code to my application, and it worked perfectly using the dnx web command, and also if i run my code using IISExpress.  But if i upload this to my web server running IIS, the site never loaded.
My site is setup, like a normal basic site, i have an applicationPool which is running using the IIS POOL/XXX account specific for that site.
The reason that the site never loaded, was because OpenIddict, seems to create a [GUID].key file in the wwwroot of the published site.  Because my IISPOOL/XXX user doesnt have write permission to the wwwroot folder (which i dont think it should), this process failed.
Have i setup something wrong?  Should i have stated something in my startup.cs file to write this file to another place??

The reason that the site never loaded, was because OpenIddict, seems to create a [GUID].key file in the wwwroot of the published site. Because my IISPOOL/XXX user doesnt have write permission to the wwwroot folder (which i dont think it should), this process failed.

When you don't explicitly register a signing key, one is automatically created and persisted for you on the disk (in the AppData folder or in the current directory if the user profile is not available).
Last week, I pushed a commit to replace the last fallback value to use the TEMP directory instead of the current directory, so the "bug" you're seeing should disappear when updating your packages: https://github.com/aspnet-contrib/AspNet.Security.OpenIdConnect.Server/commit/f22d2ea360311b6db193c308e928ceedc84c67d1

Have i setup something wrong? Should i have stated something in my startup.cs file to write this file to another place??

Using a X509 certificate stored in the machine store is recommended for production environments:
app.UseOpenIddict(builder => {
    builder.Options.SigningCredentials.AddCertificate("thumbprint");
});

You can also load it from a file:
app.UseOpenIddict(builder => {
    builder.Options.SigningCredentials.AddCertificate(new X509Certificate2("path", "password"));
});

@PinpointTownes Thanks for this, this works perfectly

Nice! :clap:


Create Custom Python REPL (Interactive Interpreter)

We need custom Python REPL/interactive interpreter that would communicate to TypeScript side whether that is a Notebook controller for Python extension or some other REPL controller in the future.
Referenced in: https://github.com/microsoft/vscode-python/issues/23029
First need to build Python REPL that processes user input and output , then need to build communication that goes in/out of a simple node project.
Once we verify there is fine communication between custom Python REPL and node/TypeScript side of things, we can embed these code into Python extension and create a notebook controller so that custom Python REPL can be used as a kernel to be fed into interactive window for users to experiment.

How to communicate to Node/TypeScript side: Stdin/out, socket, named pipe.
Need to be able to call Python script from node app. Using spawn and child_process we can call Python script

Completed via: https://github.com/microsoft/vscode-python/pull/23235