[SPARK-5212][SQL] Add support of schema-less transformation

According to Hive's language manual, the AS clause should be optional in transform syntax. This pr adds the support for it.

Test build #25462 has started for   PR 4014 at commit ccee49e.

This patch merges cleanly.

Test build #25462 has finished for   PR 4014 at commit ccee49e.

This patch fails Scala style tests.
This patch merges cleanly.
This patch adds no public classes.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/25462/
Test FAILed.

Test build #25463 has started for   PR 4014 at commit b1729d9.

This patch merges cleanly.

Test build #25463 has finished for   PR 4014 at commit b1729d9.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/25463/
Test PASSed.

Test build #25549 has started for   PR 4014 at commit 7a48e42.

This patch merges cleanly.

Test build #25549 has finished for   PR 4014 at commit 7a48e42.

This patch fails Scala style tests.
This patch merges cleanly.
This patch adds no public classes.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/25549/
Test FAILed.

Test build #25550 has started for   PR 4014 at commit ab22f7b.

This patch merges cleanly.

Test build #25550 has finished for   PR 4014 at commit ab22f7b.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/25550/
Test PASSed.

Test build #25669 has started for   PR 4014 at commit 5e0b864.

This patch merges cleanly.

Test build #25669 has finished for   PR 4014 at commit 5e0b864.

This patch fails Scala style tests.
This patch merges cleanly.
This patch adds the following public classes (experimental):
       val trimed_class = outputSerdeClass.split("'")(1)
        val trimed_class = inputSerdeClass.split("'")(1)

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/25669/
Test FAILed.

Test build #25670 has started for   PR 4014 at commit 4d21956.

This patch merges cleanly.

Test build #25670 has finished for   PR 4014 at commit 4d21956.

This patch fails PySpark unit tests.
This patch merges cleanly.
This patch adds the following public classes (experimental):
       val trimed_class = outputSerdeClass.split("'")(1)
        val trimed_class = inputSerdeClass.split("'")(1)

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/25670/
Test FAILed.

test again.

Jenkins, ok to test.

Failed by connection error. Please test again.

Test build #25699 has started for   PR 4014 at commit a711657.

This patch merges cleanly.

Test build #25699 has finished for   PR 4014 at commit a711657.

This patch passes all tests.
This patch merges cleanly.
This patch adds the following public classes (experimental):
       val trimed_class = outputSerdeClass.split("'")(1)
        val trimed_class = inputSerdeClass.split("'")(1)

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/25699/
Test PASSed.

Test build #25703 has started for   PR 4014 at commit ab22f7b.

This patch merges cleanly.

Test build #25703 has finished for   PR 4014 at commit ab22f7b.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/25703/
Test PASSed.

Test build #25723 has started for   PR 4014 at commit 32d3046.

This patch merges cleanly.

Test build #25723 has finished for   PR 4014 at commit 32d3046.

This patch fails Scala style tests.
This patch merges cleanly.
This patch adds the following public classes (experimental):
       val trimed_class = outputSerdeClass.split("'")(1)
        val trimed_class = inputSerdeClass.split("'")(1)

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/25723/
Test FAILed.

Test build #25724 has started for   PR 4014 at commit be2c3fc.

This patch merges cleanly.

Test build #25724 has finished for   PR 4014 at commit be2c3fc.

This patch passes all tests.
This patch merges cleanly.
This patch adds the following public classes (experimental):
       val trimed_class = outputSerdeClass.split("'")(1)
        val trimed_class = inputSerdeClass.split("'")(1)

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/25724/
Test PASSed.

Test build #25729 has started for   PR 4014 at commit 799b5e1.

This patch merges cleanly.

Test build #25729 has finished for   PR 4014 at commit 799b5e1.

This patch passes all tests.
This patch merges cleanly.
This patch adds the following public classes (experimental):
       val trimed_class = outputSerdeClass.split("'")(1)
        val trimed_class = inputSerdeClass.split("'")(1)

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/25729/
Test PASSed.

Test build #25756 has started for   PR 4014 at commit 7a14f31.

This patch merges cleanly.

Test build #25756 has finished for   PR 4014 at commit 7a14f31.

This patch fails to build.
This patch merges cleanly.
This patch adds the following public classes (experimental):
       val trimed_class = outputSerdeClass.split("'")(1)
        val trimed_class = inputSerdeClass.split("'")(1)

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/25756/
Test FAILed.

Test build #25758 has started for   PR 4014 at commit 9a6dc04.

This patch merges cleanly.

Test build #25758 has finished for   PR 4014 at commit 9a6dc04.

This patch passes all tests.
This patch merges cleanly.
This patch adds the following public classes (experimental):
       val trimed_class = outputSerdeClass.split("'")(1)
        val trimed_class = inputSerdeClass.split("'")(1)

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/25758/
Test PASSed.

@viirya it's great to have the feature, I have some general comments on this, let's see how to improve that.

Test build #26021 has started for   PR 4014 at commit 6000889.

This patch merges cleanly.

@chenghao-intel thanks for review. New commits are added for that.

Test build #26021 has finished for   PR 4014 at commit 6000889.

This patch passes all tests.
This patch merges cleanly.
This patch adds the following public classes (experimental):
case class ScriptInputOutputSchema(
       val trimed_class = ioschema.outputSerdeClass.split("'")(1)
        val trimed_class = ioschema.inputSerdeClass.split("'")(1)

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/26021/
Test PASSed.

@viirya the SerDe and RowFormat is quite headache problem, probably we'd better keep reusing the Hive code as much as possible, and also keep it more independent and generic. I will also investigate how we can reuse the Hive Code.

Test build #26222 has started for   PR 4014 at commit ccb71e3.

This patch merges cleanly.

Test build #26222 has finished for   PR 4014 at commit ccb71e3.

This patch passes all tests.
This patch merges cleanly.
This patch adds the following public classes (experimental):
case class HiveScriptIOSchema (
      val trimed_class = serdeClassName.split("'")(1)
case class ShimWritable(writable: Writable)
case class ShimWritable(writable: Writable)

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/26222/
Test PASSed.

@chenghao-intel Thanks for comments. I refactor the codes for these issues.
For reusing Hive existing codes, I check the links you mentioned. However, the codes parsing input/output format and SerDe are contained in private classes. So I think it may not work to reuse them.
To make logical.ScriptTransformation parameterized would cause problem in Analyzer. So I skip it and move Hive implementation details to another class HiveScriptIOSchema.
For the special case regarding AvroGenericRecordWritable, I move it to HiveShim so making it work on both Hive 0.12.0 and 0.13.1.

Test build #26232 has started for   PR 4014 at commit a422562.

This patch merges cleanly.

Test build #26232 has finished for   PR 4014 at commit a422562.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds the following public classes (experimental):
case class HiveScriptIOSchema (
      val trimed_class = serdeClassName.split("'")(1)
case class ShimWritable(writable: Writable)
case class ShimWritable(writable: Writable)

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/26232/
Test FAILed.

Upload Hive golden answer files.

Test build #26268 has started for   PR 4014 at commit 575f695.

This patch merges cleanly.

Test build #26268 has finished for   PR 4014 at commit 575f695.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds the following public classes (experimental):
case class HiveScriptIOSchema (
      val trimed_class = serdeClassName.split("'")(1)
case class ShimWritable(writable: Writable)
case class ShimWritable(writable: Writable)

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/26268/
Test FAILed.

Test build #26273 has started for   PR 4014 at commit aa10fbd.

This patch merges cleanly.

Test build #26273 has finished for   PR 4014 at commit aa10fbd.

This patch passes all tests.
This patch merges cleanly.
This patch adds the following public classes (experimental):
case class HiveScriptIOSchema (
      val trimed_class = serdeClassName.split("'")(1)
case class ShimWritable(writable: Writable)
case class ShimWritable(writable: Writable)

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/26273/
Test PASSed.

@rxin Would you like to take a look at this too and see if it is ready to merge? Thanks.

Can you explain in the PR what is schema-less delimiter?

Schema-less Map-reduce Scripts is a feature of Hive transform syntax. That is there is no AS clause after USING my_script. Hive assumes that the script output contains two columns: key and value. The example SQL looks like:
SELECT TRANSFORM (key, value) USING 'cat' FROM src
Custom delimiter is defined by ROW FORMAT clause such as:
SELECT TRANSFORM (key) ROW FORMAT DELIMITED FIELDS TERMINATED BY '\002' USING 'cat' AS (tKey) ROW FORMAT DELIMITED FIELDS TERMINATED BY '\002' FROM src
So you can use field delimiters other than default \t.

@rxin I have added the explanation for this feature. Would you have time to review this pr and see if it is ok to merge? Thanks!

Thanks for working on this!  It would be great if this could be updated soon so we can include it in 1.3.

Test build #26516 has started for   PR 4014 at commit ac2d1fe.

This patch merges cleanly.

Test build #26516 has finished for   PR 4014 at commit ac2d1fe.

This patch passes all tests.
This patch merges cleanly.
This patch adds the following public classes (experimental):
case class HiveScriptIOSchema (
      val trimed_class = serdeClassName.split("'")(1)

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/26516/
Test PASSed.

@marmbrus I did some refactoring for the comments. It should be better now.

Thanks!  Merged to master.

I just file a jira issue, https://issues.apache.org/jira/browse/SPARK-7119. @viirya can you help on investigate this?

@chenghao-intel ok.


aws: key derivation fix and test case

Commit Message: fix for sigv4a key derivation error and add test cases to cover
Additional Description: Bug introduced (by me) in https://github.com/envoyproxy/envoy/pull/32487
Risk Level: Low
Testing: Unit
Docs Changes: N/A
Release Notes: N/A
Platform Specific Features:
[Optional Runtime guard:]
[Optional Fixes #Issue]
[Optional Fixes commit #PR or SHA]
[Optional Deprecated:]
[Optional API Considerations:]

/assign nbaws

/assign @nbaws

/retest

@suniltheta @lavignes can you PTAL at the PR?

Thanks for fixing this. Minor nits, but otherwise LGTM!

more fundamental fixes for this included. ty for your review!

Previously approved by @suniltheta (code-owner), merging.


❓ Turning off torch mid-recording

Question
I'm currently using expo-camera for a project that requires me to a) turn torch on upon recording start and b) turn torch off N seconds into the recording. Expo Camera unfortunately cannot support this feature so I'm thinking of ejecting into a bare React Native app and using React-Native-Vision-Camera.
If I start a recording using camera.current.startRecording with the flash property of RecordVideoOptions set to "on", is it possible to toggle this off N seconds into the recording? What would this look like? I just want confirmation that this feature would work before committing to ejecting.
What I tried
No response
VisionCamera Version
3.1.0
Additional information

[X] I am using Expo
[X] I have read the Troubleshooting Guide
[X] I agree to follow this project's Code of Conduct
[X] I searched for similar questions in the issues page as well as in the discussions page and found none.

I have an app that offers a torch toggle during video recording. Works well.

I have an app that offers a torch toggle during video recording. Works well.

@jkaufman Awesome, that's great to know! Just a quick question –– I was wondering how you configured the toggle. is it a on/off state variable that changes the RecordVideoOptions of camera.current.startRecording, or the CameraProps of the camera object itself?

The latter. The button simply toggles the torch prop.

Do we need additional permissions to enable flash? I tried the example code with flash prop. Flash is not working for photo/video. Tried 3 different devices.
Any help would be appreciated

I wanted to follow up and clarify that I can only confirm the behavior on v2, not v3.

how I on torch in react native Vision camera by click on button


NameError: name 'Union' is not defined

When I try to use prettyformatter I get this error
File "/home/almpez/work/thetoolbox/systemweaver/systemweaver.py", line 8, in <module>     from prettyformatter import PrettyClass, PrettyDataclass   File "/home/almpez/.local/lib/python3.8/site-packages/prettyformatter/__init__.py", line 195, in <module>     from ._pretty_class import PrettyClass   File "/home/almpez/.local/lib/python3.8/site-packages/prettyformatter/_pretty_class.py", line 12, in <module>     class PrettyClass:   File "/home/almpez/.local/lib/python3.8/site-packages/prettyformatter/_pretty_class.py", line 80, in PrettyClass     specifier: Union[ NameError: name 'Union' is not defined
Addin Union in _pretty_class.py solved the problem
from typing import AbstractSet, Any, Dict, List, Tuple, TypeVar, Union

Thanks for pointing out the error, fixed in #9 along with the removal of deprecated type-hints for python >= 3.9. You can now download it with
$ pip install --upgrade prettyformatter


[refactor] #4075: Move metrics related functionality into MetricsReporter

Description

sumergai no longer responsible for handling metrics for torii
fix bug with not proper view change index in metrics

Linked issue

Closes #4075

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

0 of 136 (0.0%)  changed or added relevant lines in 4 files are covered.
5226 unchanged lines in 95 files lost coverage.
Overall coverage increased (+0.9%) to 57.722%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

core/src/sumeragi/mod.rs
0
9
0.0%

torii/src/routing.rs
0
9
0.0%

torii/src/lib.rs
0
16
0.0%

core/src/metrics.rs
0
102
0.0%

Files with Coverage Reduction
New Missed Lines
%

primitives/src/conststr.rs
1
91.14%

crypto/src/hash.rs
1
73.78%

ffi/derive/src/convert.rs
1
84.45%

primitives/src/lib.rs
1
0.0%

core/src/sumeragi/network_topology.rs
1
98.78%

primitives/src/must_use.rs
2
74.29%

crypto/src/signature/bls/mod.rs
2
0.0%

config/src/snapshot.rs
3
78.57%

data_model/derive/src/has_origin.rs
3
95.16%

config/src/kura.rs
3
80.0%

Totals

Change from base Build<PHONE_NUMBER>:
0.9%

Covered Lines:
23351

Relevant Lines:
40454

💛  - Coveralls


Use proper background job management

There are some cases where loading the web page failed, possibly due to rate limiting by cloudflare, and the post not having a reply due to an exception.
In order to prevent this from happening in the future, there should be a proper job management which will automatically retry.
Using Hangfire will also make it easier to monitor successful/failed jobs via the web interface.

The issue where the web page occasionally failed to load was fixed with #22 but it should still be a good idea to migrate over to hangfire for better future proofing.

.NET Worker Service template might be a more suitable and lighter weight alternative to hangfire.

.NET Worker Service template might be a more suitable and lighter weight alternative to hangfire.


Translations update from Weblate

Translations update from Weblate for Wavelog/Main Translation.
Current translation status:

closing this and let weblate recreate for testing purposes


doc: please describesubscriberOptions

It's not super clear by referencing the documentation whether the options we set for topic.subscription(name[, options]) and pubsub.subscription(name[, options]) are the same.

Are they both of type SubscriberOptions? But one just tells me it's of type object.
Why does type SubscriberOptions get a description that says "Subscription options"?
Is there a link we can add to type SubscriberOptions? Which values can users pass to it?

There is a type we can link to, but I think because its declared before a TypeScript interface it gets stripped out when compiled to JS. We need to move it somewhere else, probably above/below the Subscriber class overview docs.


feat: add new token manager for ICP4D

Changes:

Introduced a constructor parameter, authentication_type, for specifying the authentication pattern. This will be required for using ICP4D
A new token manager is added, handling ICP4D-style requests
I created a new generic class, called JwtTokenManager for all token-managing needs. This is a base class for the new ICP token manager. I also refactored the IAM token manger to extend the new JWT class too

I still need to write tests but want to start getting feedback on the implementation now, so I don't have to re-write the tests too many times
TODO:

[x] Write tests
[x] Add documentation to the README for using authentication_type

cc @ehdsouza @mediumTaj @lpatino10 @mamoonraja

Should we rename the IcpTokenManagerV1 class to something like Icp4dTokenManagerV1? The name's kind of obnoxious but I think it might be more clear, since ICP and ICP4D are different and use different auth methods. I could see someone getting tripped up by that.

It is ICP4D specific, so that's definitely not a bad idea. I'll make that change, unless anyone disagrees

Okay last minute (small) changes have been made and all tests have been added. Officially ready for final review
@germanattanasio @mkistler @padamstx

We're not using refresh tokens anymore. We are requesting a new token when the token is expired and I might have referred to that as a "refresh" but I agree that may be misleading. I'll update that

:tada: This PR is included in version 0.3.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

@dpopp07 can you add an icon to ibm-devx-automation 😛 ?

no

Haha I would if I could 🤷♂

@germanattanasio Oh wait, it looks like it does have an icon!


chore: Added more strict type checking to pva publish extension

Description
On some users' machines, when building from source they were seeing build time errors due to the lack of @types/node-fetch.
This PR adds the node-fetch types and adds some strict type checking in the tsconfig settings.
#minor

Coverage remained the same at 54.456% when pulling 8215ae6a42c352916b4b95706f10ccc1c92ca90a on toanzian/fix/publish-types into 053b8ba32a67a2410b0f24009f49983fabb84832 on main.


Have consistent file names for all benchmark models

Adding a script to verify. checkNames.py

once that all is unique (in particular model_ or not ...), it might also be good to create the imports with just the model name as input, not measurement file name, conditions file, parameters file etc., in https://github.com/ICB-DCM/PEtab/blob/master/petab/core.py#L13.


UI: Add "type" to the confirmation to namespace deletion

What kind of request is this (question/bug/enhancement/feature request):
Feature Request
Steps to reproduce (least amount of steps as possible):
Navigate to the Workloads page of a project. Look at the right hand portion of the screen by the first namespace listed.

Result:

One of our developers accidentally deleted a namespace when they were trying to delete the first workload on the page.
While people should be more careful, It was surprising that you can delete a namespace from the "Workloads" page with no prompt.
Deleting a namespace seems like a very intentional action which should require navigating  to a dedicated page. Alternatively, a confirmation message could have avoided this situation.
Environment information

Rancher version (rancher/rancher/rancher/server image tag or shown bottom left in the UI): v2.1.5
Installation option (single install/HA): HA

Add "type" to the delete.  So instead of saying "Are you sure you want to delete:" resource.  It would says "Are you sure you want to delete namespace:" resource.

Yep!

After the word "delete", please add "the ": to the popup delete.  The  can be bold if you want it to stand out.

Version: master-head (v2.3) (9/17/19)
Note: (v2.3.0-rc4 uses local UI so did not have change, used latest master-head to test)
Now we indicate the type of resource being deleted in the delete modals.

I don't see this for some resources like workloads though. We don't show the type it's the same style. Is this expected? Only changes are namespace, project, and cluster objects?
I Also see lots of changes to translations. Is this expected? I thought we normally don't touch these for languages we don't natively know?
cc: @tfiduccia @vincent99

Tested with version v2.3.0-rc4
Deleting a namespace from the workloads page indicates that a namespace is being deleted

As @davidnuzik points out, type is not displayed for workloads (while deleting)

Version: master-head (v2.3) (9/17/19)
Note: (v2.3.0-rc4 uses local UI so did not have change, used latest master-head to test)
Now we indicate the type of resource being deleted in the delete modals.

I don't see this for some resources like workloads though. We don't show the type it's the same style. Is this expected? Only changes are namespace, project, and cluster objects?
I Also see lots of changes to translations. Is this expected? I thought we normally don't touch these for languages we don't natively know?
cc: @tfiduccia @vincent99

Per this comment I only added namespaces, projects and clusters

This wasn't really well described in the issue, but seems like the bold message should be shown for deleting namespaces or "higher" (project, cluster).
https://github.com/rancher/ui/pull/3352#issuecomment-531056326

And in the PR I mentioned

I didn't provide any translations beyond en-us. I did change a string id which I carried through.
https://github.com/rancher/ui/pull/3352#issuecomment-531371836

Thanks @codyrancher that was my fault for misreading the diff. I had read it too fast and thought the value was changed for each, not just the value.
@tfiduccia @vincent99 are we sure we're okay with only changing these areas? Would it be a chore/pain to add other resources like workloads, pods, etc, etc? What about just adding in workloads?

Reopened for @tfiduccia @vincent99 review.

It's not a big chore/pain to add other resources. If we wanted to add this for all resource types I think we should discuss I more reliable way to enumerate and translate the resource types.

@davidnuzik @codyrancher - I think we should make this consistent across all "types".  But if we want to discuss a more reliable way/better solution to do this, I would prefer to have a separate issues that we can push to 2.4 if Denise wants?  For now the confusion with Namespace is at least solved.


al jazeera not working

in the united states. FYI the al jazeera pluging by jonathan beluch (jbel) not working either.

Got it. I'll give you the URL, but I can't update the plugin.
This URL is working as of now: http://c.brightcove.com/services/mobile/streaming/index/master.m3u8?videoId=5190156849001
Please note, this is Al Jazeera English. (I'm assuming this is the one you want, since you're typing in English.

I appreciate you getting back to me. the link you sent is a recorded
documentary. not alive news feed.
On May 15, 2017 11:37 AM, "notanewbie"<EMAIL_ADDRESS>wrote:

Got it. I'll give you the URL, but I can't update the plugin.
This URL is working as of now: http://c.brightcove.com/
services/mobile/streaming/index/master.m3u8?videoId=5190156849001
Please note, this is Al Jazeera English. (I'm assuming this is the one you
want, since you're typing in English.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/k3oni/plugin.video.world.news.live/issues/26#issuecomment-301513429,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AbWdYdpkTy67u2yh6gfmhfDniSejjnYgks5r6HEwgaJpZM4NaOcN
.

That’s too bad, they’re using the videoId part of the URL to segment the video. Unfortunately, there’s not way to get the live stream through a consistent URL.

no problem but I do appreciate it thank you
On May 18, 2017 2:02 PM, "notanewbie"<EMAIL_ADDRESS>wrote:

That’s too bad, they’re using the videoId part of the URL to segment the
video. Unfortunately, there’s not way to get the live stream through a
consistent URL.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/k3oni/plugin.video.world.news.live/issues/26#issuecomment-302492230,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AbWdYWRoyqSNuoz734KtfGsIXhUYP9ceks5r7IfDgaJpZM4NaOcN
.

Hey, a couple of weeks ago I found a working URL for Al Jazeera English. Not quite sure if it's the specific Al Jazeera station you were looking for but here you go:
http://aljazeera-eng-hd-live.hls.adaptive.level3.net/aljazeera/english2/index.m3u8


Colab Notebook taking too long?

Thanks to the author for the Google Colab Notebook.
I managed to install all prerequisites without problem.
Yet, executing the cell "Synthesis" hasn't finished after 1h 20m.
This seems to be too long for the short example sentence,
so I would be grateful for any time/GPU!
As sidenote, I'm using Colab Pro that offers an Nividia P100 as GPU.

That is strange.
Let me confirm several questions:

Which notebook did you use? This one?

If you use the above notebook, which language did you try?
English or Japanese or Mandarin

If you use the above notebook, which model did you try?
Text2Mel: Tacotron2 or Transformer or FastSpeech
Mel2Wav: Parallel WaveGAN or MelGAN

If you use the above notebook, what is the your input sentence?

That is strange.
Let me confirm several questions:
1. Which notebook did you use? [This one](https://colab.research.google.com/github/espnet/notebook/blob/master/tts_realtime_demo.ipynb)?

yes

2. If you use the above notebook, which language did you try?
   English or Japanese or Mandarin

English

3. If you use the above notebook, which model did you try?
   Text2Mel: Tacotron2 or Transformer or FastSpeech

Tacotron2

   Mel2Wav: Parallel WaveGAN or MelGAN

Parallel WaveGAN

4. If you use the above notebook, what is the your input sentence?

I used the example sentence, and this one:
"Hi cousins, I'm looking forward to our dinner on Friday!"
Just out of curiosity:
The Colab notebook does not need to clone the parallel-wavegan github repo, correct?

I just tried now, it works.

Maybe colab's problem? Please try to reset the runtime.

Just out of curiosity:
The Colab notebook does not need to clone the parallel-wavegan github repo, correct?

Yes, in the notebook, we install this repository througth pypi.

ok thanks a lot for testing it.
Could you just tell me how long it took, and which GPU you were using?
Also, I was thinking that it may have to do with some of the path settings?
Are there any absolute paths used in the code?
I installed everything not under /content but /content/sync, that may be the root problem?
On Apr 14, 2020 23:48 +0900, Tomoki Hayashi<EMAIL_ADDRESS>wrote:

I just tried now, it works.
Maybe colab's problem? Please try to reset the runtime.

Just out of curiosity:
The Colab notebook does not need to clone the parallel-wavegan github repo, correct?
Yes, in the notebook, we install this repository througth pypi.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.

Tesla K80.
Tue Apr 14 14:53:05 2020
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 440.64.00    Driver Version: 418.67       CUDA Version: 10.1     |
|-------------------------------+----------------------+----------------------+
| GPU  Name        Persistence-M| Bus-Id        Disp.A | Volatile Uncorr. ECC |
| Fan  Temp  Perf  Pwr:Usage/Cap|         Memory-Usage | GPU-Util  Compute M. |
|===============================+======================+======================|
|   0  Tesla K80           Off  | 00000000:00:04.0 Off |                    0 |
| N/A   63C    P0    70W / 149W |    744MiB / 11441MiB |      0%      Default |
+-------------------------------+----------------------+----------------------+

+-----------------------------------------------------------------------------+
| Processes:                                                       GPU Memory |
|  GPU       PID   Type   Process name                             Usage      |
|=============================================================================|
+-----------------------------------------------------------------------------+

Also, I was thinking that it may have to do with some of the path settings?
Are there any absolute paths used in the code?
I installed everything not under /content but /content/sync, that may be the root problem?

I think all of the codes based on relative path.
If you encountered the error like FileNotFound or ImportError, it may be the problem. But if not, it is no problem.

Thanks a lot.
Then it is must be an issue with Google Colab runtime,
as I don’t get any error messages about FileNotFound etc.
If it only takes 1s with a K80, then the runtime is just clogged (as so often).
On Apr 14, 2020 23:56 +0900, Tomoki Hayashi<EMAIL_ADDRESS>wrote:

Tesla K80.
Tue Apr 14 14:53:05 2020
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 440.64.00    Driver Version: 418.67       CUDA Version: 10.1     |
|-------------------------------+----------------------+----------------------+
| GPU  Name        Persistence-M| Bus-Id        Disp.A | Volatile Uncorr. ECC |
| Fan  Temp  Perf  Pwr:Usage/Cap|         Memory-Usage | GPU-Util  Compute M. |
|===============================+======================+======================|
|   0  Tesla K80           Off  | 00000000:00:04.0 Off |                    0 |
| N/A   63C    P0    70W / 149W |    744MiB / 11441MiB |      0%      Default |
+-------------------------------+----------------------+----------------------+
+-----------------------------------------------------------------------------+
| Processes:                                                       GPU Memory |
|  GPU       PID   Type   Process name                             Usage      |
|=============================================================================|
+-----------------------------------------------------------------------------+

Also, I was thinking that it may have to do with some of the path settings?
Are there any absolute paths used in the code?
I installed everything not under /content but /content/sync, that may be the root problem?
I think all of the codes based on relative path.
If you encountered the error like FileNotFound or ImportError, it may be the problem. But if not, it is no problem.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.


Advanced conditional comparisons

... in form of c [logical operation] [comparison operation], for example: candeq, candne, candle, candge, candlt, candgt, coreq, corne, corle, corge, corlt, corgt, supporting all comparison operations AND the following logical operations: and, or, xor. Also, I plan on implementing logical xor as a standalone instruction.
Example usage:
@isdigit
    cge r1, .0
    candle r1, .9
    clr r2
    cmov r2, 1
    ret

Done!


Pops::Loaders thread safety: synchronization in find_loader and []

Re: #9252
This patch makes reads and writes to Puppet::Pops::Loaders' instance variable @module_resolver thread-safe.
Without this, enabling threading on our stock Puppet 7 masters yields errors of the following form, on ~3-5% of agent runs:
ERROR [qtp735649759-289] [puppetserver] Puppet Server Error: Evaluation Error: Error while evaluating a Type-Name, Internal Error: Attempt to redefine loader named '<foo> private' (file: /path/to/our/modules/foo/manifests/init.pp, line: 12, column: 18) on node clientnode.example.com

(I theorize that this a race condition between multiple modules in our ecosystem resolving dependencies-in-common at the same time)
Applying this patch does seem to correct the behavior. We've been running this for a while on two of our active masters with no ill effects.
It seems likely that there are other thread-shared instance variables that should be wrapped in environment.lock.synchronize. I'm not particularly familiar with this code, so I stuck with the method that was trigger errors for us, as well as a nearby sibling, where it was clear that there was no danger of introducing deadlocks.

Can one of the admins verify this patch?

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.John Stange seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.


preserve original dimension, coordinate and variable order in concat

The problem is that the result_vars-dict is filled in two separate loops, handling variables and coordinates (AFAICT). This can change the ordering of dimensions and coordinates depending over which dimensions is concatenated.
This fix hooks into the second loop and reinsert the variable in question at the appropriate position by popping it out of the result_vars. There might be a more elegant solution to this.

[x] Closes #2811, #4072
[x] Tests added
[x] Passes isort . && black . && mypy . && flake8
[x] User visible changes (including notable bug fixes) are documented in whats-new.rst
[ ] New functions/methods are listed in api.rst

@keewis @dcherian I've tried to get rid of the ValueError: dimension 'time' already exists as a scalar variable in the test by using 1D numpy array. Hope this fits better now style-wise.
Also added whats-new.rst entry. This is now good to go from my side. Thanks for taking care.

thanks and sorry for that, I guess the error was caused by me proposing changes without actually testing they would work

Thanks @kmuehlbauer !


Remove Microsoft.Bcl.AsyncInterfaces dependency

This is no longer produced by corefx as of https://github.com/dotnet/corefx/pull/41270

I'm a little confused by this. We still need this dependency for netstandard2.0 builds. Isn't this going to cause all these builds to fail now?
What's the goal here? Is it just about stopping dependency flow of this package? That makes some sense, but I think we'll need to stay on the public 3.0 GA build of this package then, not remove it entirely.

I'm a little confused by this. We still need this dependency for netstandard2.0 builds. Isn't this going to cause all these builds to fail now?
What's the goal here? Is it just about stopping dependency flow of this package? That makes some sense, but I think we'll need to stay on the public 3.0 GA build of this package then, not remove it entirely.

No longer being produced from corefx, so we probably just need to pin to the public 3.0 GA release.  I'll do that.

Should work better now.

error NU1605: Detected package downgrade: Microsoft.Bcl.AsyncInterfaces from 1.2.0-alpha1.19504.7 to 1.0.0. Reference the package directly from the project to select a different version.

I think the baseline file may need to be updated? @aspnet/build ?

Suggest pinning the package at 1.2.0-alpha1.19504.7 instead of going back to 1.0.0. (Seems likely something else in CoreFx or core-setup is referencing that version.)

Suggest pinning the package at 1.2.0-alpha1.19504.7 instead of going back to 1.0.0

That's not going to work either right? It sounds like there isn't going to be a 1.2.0 GA release of the package, but we need to ship using some GA version of this package.

Suggest pinning the package at 1.2.0-alpha1.19504.7 instead of going back to 1.0.0. (Seems likely something else in CoreFx or core-setup is referencing that version.)

I think actually we just need to update the dependencies.  That version was the last time it was actually produced.

That did it....any other concerns?

@mmitche @Anipik @ViktorHofer @ericstj am I correct we'll need this change in 'release/3.1' as well? We have the same dependency there.
@ajcvickers @bricelam I suspect fixing things here is necessary to unblock aspnet/EntityFrameworkCore#18453.

I don't think so.  I still see versions of that being produced in 3.1 as recent as the 18th.
PS D:\enlistments\AspNetCore-Tooling> darc get-asset --name "Microsoft.Bcl.AsyncInterfaces" --channel ".NET Core 3.1 Dev"                                                   Looking up assets with name 'Microsoft.Bcl.AsyncInterfaces' on channel '.NET Core 3.1 Dev' in the last 30 days                                                              Microsoft.Bcl.AsyncInterfaces @ 1.1.0-preview2.19518.6
Repository:    https://github.com/dotnet/corefx
Branch:        release/3.1
Commit:        58dbf71fd0d9593c4bf8a1ecb2d5d4ff6882e782
Build Number:  20191018.6
Date Produced: 10/18/2019 2:13 PM
Build Link:    https://dev.azure.com/dnceng/internal/_build/results?buildId=393631
BAR Build Id:  31902
Channels:
- .NET Core 3.1 Dev
Locations:
- https://dev.azure.com/dnceng/internal/_apis/build/builds/393631/artifacts (Container)
- https://dotnetfeed.blob.core.windows.net/dotnet-core/index.json (NugetFeed)
- https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet3.1/nuget/v3/index.json (NugetFeed)

Right, we removed those packages only in master which currently targets 5.0. No need to react in 3.x.


ignore seems not to work

I wanted to ignore some files for translation but it seems not to work at all.
I'm using the crowdin command line tool (2.0.17) with the following crowdin.yml-file (without project_identifier etc.):
files: [
 {
  "source" : "\\SDC.Resources\\*.resx",
  "translation" : "\\SDC.Resources\\%file_name%.%two_letters_code%.resx",
  "ignore" : [
    "\\SDC.Resources\\AccountRes.de.resx",
    ],
 },

In the SDC.Resources folder are the source-files (*.resx) as well as the translated files which end with *.de.resx.
I tried many other ignore patterns like
"**\\*.de.resx",
"*.de.resx",
"/*.de.resx",
"**/*.de.resx"

In the end I tried to explicitly ignore one file but even that seems not work.
I'm using the Windows-style directory separator as suggested in the docs for setting the base_path and the source and I assumed to do that also in the ignore-section.
Am I doing something wrong or is there something wrong?

#57
Hello @Remolutionary
Fixed this bug.
Thanks a lot!

Very nice! Thank you for the quick fix!
I'm using the following ignore settings and everything works as expected now.
"ignore" : [
    "\\**\\*.[a-z][a-z].resx",
    "\\**\\*.[a-z][a-z]-[A-Z][A-Z].resx",
    ]


Bookmarks' minimal number

Bookmarks should be on grid, not on flex layout, min 3 on each lines

Fixed in #38


No authorization test

Currently we can put a plug in front of the router for wobserver to block access for an unauthorized user, but currently there is no way to do the same for the socket without hijacking between them.  The router should probably take a callback function that we can supply that gets passed the plug's conn and returns either a token (binary? easily generate-able securely via phoenix for example by the user) or an error.  If a token is returned then they are allowed to access the wobserver, if an error then it should just 404 or whatever.  The token should also be passed to the socket via the web page (or cookie) and the socket should verify that it is an allowed token (perhaps by passing it back to yet another user function, these could be specified in the config or on the injection sites), and if it is verified and allowed then the socket connection establishes else it is dropped.
Currently even if blocking the /wobserver route the outside can still access the websocket directly to query.
The most simple solution would probably just be adding 2 callback functions to the config, and if they exist use them, else allow all as it does now.

Issue has been fixed in release v0.1.7.
Security is now per default used as long as a :security_key is set in the config.
It is also possible to create a module that has the following methods:

authenticate(Conn.t) :: Conn.t
authenticated?(Conn.t) :: boolean
authenticated?(:cowboy_req.req) :: boolean

These will authenticate and check authentication on web connect and on socket connect. The custom module can be enabled by setting the :security config to the module name.


Update root password for vr-vqfx

Update default password from admin:admin@123 to root:Juniper, in accordance to the documentation here

I stand corrected! Thank you for the reference 😄


Payment ID

My transaction to purchase Electroneum failed and Changelly is telling me I need to provide my ETN wallet's "payment ID". But where do I find this? The payment ID section in my ETN wallet says "not provided".

<EMAIL_ADDRESS>


Tests: Use more public import, hoist imports

Some imports, such as std.algorithm, are ubiquitous in the test code.
Instead of copy-pasting a large list of import everywhere, we should make it easier to write test cases.
Simplifying the dependency is a first step in that direction.

That makes a lot of sense.


da1469x: otp and serial script enhancements

This PR provides script enhancements to

da146x_serial.py: Makes the reset script optional. Use manual reset method or script to enter serial load mode.
otp_tool.py: Provide a common function that flushes serial port when initially opened.

@agross-korg @benmccrea Please review.

Test logs
Manual reset:
./repos/apache-mynewt-core/hw/bsp/dialog_da1469x-dk-pro/da1469x_serial.py load -u /dev/ttyUSB1 ./bin/targets/ram_executable/ram_executable.elf.bin
Please reset board to enter ROM uart recovery
b'\x02'
Detected serial boot protocol
Loading application to RAM
Successfully loaded RAM, board will now boot executable

Communicate with the target:
$ ./repos/apache-mynewt-core/hw/bsp/dialog_da1469x-dk-pro/otp_tool.py test-alive-target -u /dev/ttyUSB0
Successfully communicated with target

and performed other one time programmable routines.


⚠ Cioos Pacific CKAN has degraded performance

In a0d1448, Cioos Pacific CKAN (https://catalogue.cioospacific.ca) experienced degraded performance:

HTTP code: 200
Response time: 6536 ms

Resolved: Cioos Pacific CKAN performance has improved in 04fe9e4 after 11 minutes.


⚠ Bofrost.be has degraded performance

In 6f0ecd6, Bofrost.be (https://www.bofrost.be) experienced degraded performance:

HTTP code: 200
Response time: 1710 ms

Resolved: Bofrost.be performance has improved in 2e6628e.


ionic2  2.0.0 rc3  how to use non ionic-native cordova plugin

i use declare var xxx;
error not defied;
@alakra
@mlynch

Please do not submit support requests here, use one of these channels: https://forum.ionicframework.com/ or http://ionicworldwide.herokuapp.com/
But you should be able to use a cordova plugin directly accessing the window variable
window.PLUGIN


Wsl2 ping didn't work as well as cannot install any packages(dns resolution problem)

Version
Version 10.0.19044.1826
WSL Version

[X] WSL 2
[ ] WSL 1

Kernel Version
5.10.16
Distro Version
No response
Other Software
No response
Repro Steps
I have face some issue on wsl2 which is installed my windows 10. When I try to ping something it didn't work as well as i cannot install the package also.
If i try to ping sudo ping google.com it says ping: google.com: Temporary failure in name resolution
If i try to ping sudo ping 8.8..8.8 or <IP_ADDRESS> then it just print this one line PING <IP_ADDRESS> (<IP_ADDRESS>) 56(84) bytes of data. and 100% packet loss.
but if i try to ping my windows host ip is like <IP_ADDRESS> then it successfully ping with no packet loss.
and when I try to sudo apt update or sudo apt-get update  then it shows:
Ign:1 https://http.kali.org/kali kali-rolling InRelease
Ign:1 https://http.kali.org/kali kali-rolling InRelease
Ign:1 https://http.kali.org/kali kali-rolling InRelease
Err:1 https://http.kali.org/kali kali-rolling InRelease
  Temporary failure resolving 'http.kali.org'
Reading package lists... Done
W: Failed to fetch https://http.kali.org/kali/dists/kali-rolling/InRelease  Temporary failure resolving 'http.kali.org'
W: Some index files failed to download. They have been ignored, or old ones used instead.

like this.
So what is the problem is here I also edit /etc/resolv.conf with nameserver <IP_ADDRESS> or try other public ip like <IP_ADDRESS>
but it didn't also work.
Can anyone please help me to how to solve this dns resolution problem
Expected Behavior
Because of dns resolution problem I cannot ping any ip or dns as well as cannot install kali packages
Actual Behavior
Because of dns resolution problem I cannot ping any ip or dns as well as cannot install kali packages
Diagnostic Logs
No response

Check the IP address of your eth0 with ip addr | grep eth0 and verify that this netblock and/or your vEthernet is not blocked by your firewall. See e.g. https://stackoverflow.com/questions/63784906/firewall-blocking-wsl-2


Refactor views to use class-based views

This pull request refactors the views in the codebase to use class-based views instead of function-based views. This improves code organization and maintainability. Additionally, the URL paths have been shortened for better readability. This pull request fixes issue #2.

Thanks to @donmart85 for code contribution


[scaffolder] Update default templates to use new templating action

Feature Suggestion
Update the scaffolder templates which currently use the fetch:cookicutter action to use the new nodejs-based templating action created in #6285.

Migration plan
The plan below is one potential option; however, other migration plans should be explored based on desired template distribution plans. @backstage/maintainers please let us know your thoughts.
Possible plan

Copy existing sample templates into software-templates repository (this will also close #3383)
Update templates in software templates repo to use new nodejs-based action
Update example app in this repo to ingest templates from the new location (which use the new action)
Update README in software-templates repo to indicate that files should not be directly referenced, as they are mutable and could result in breaking changes
Wait one month, then remove cookiecutter-based templates from scaffolder-backend plugin directory

Context
Backstage integrators routinely consume the templates in the repository — see current search results for examples. These default templates will be updated with backwards-incompatible changes by adding this new action.

Template migration done in https://github.com/backstage/software-templates/pull/2


A problem about position ids of blocks which are not the anchor block?

As mentioned in the paper, the position ids of anchor block is set to be the same as first block. Then how those blocks'position ids which are not the anchor block, change? For example, the host 1 hosts c1, and c3,  whether is the c3's position ids set to be its original position ids?

Yes, the position IDs for each block remains same as in the original prompt.
We create the position IDs based on the context length
https://github.com/NVIDIA/Star-Attention/blob/443bb9340555af7da192df7f733001f5f00382d7/model.py#L193
Then, when splitting the context block, we also split the corresponding position IDs
https://github.com/NVIDIA/Star-Attention/blob/443bb9340555af7da192df7f733001f5f00382d7/model.py#L246-L250
This way, for example if the block size is 4K, then for c1 the position ID is (0, 4K) and for c3 it would be (8K, 12K).


proposal: spec: generics: make type parameters discoverable from interfaces

Author background

Would you consider yourself a novice, intermediate, or experienced Go programmer?

Experienced.

What other languages do you have experience with?

C, C++, Common Lisp, Java, Modula-2, Oberon, Pascal, Prolog, Scheme.
Related proposals
This proposal is a feature that adds to the current generics proposal.
Proposal

What is the proposed change?

The idea of this proposal is to make type parameters discoverable through type switch statements.

Who does this proposal help, and why?

I am currently implementing a matrix library in Go 1.18 (beta/gotip version). It would be helpful to provide polymorphic function signatures, and for that it would be good to make type parameters discoverable from interface types. Otherwise, users of the library will always have to be explicit which specific function signatures they want.
Example: There is an element-wise multiplication operation both applicable to vectors and matrices:
func ElementWiseMultVector[T Number](v1, v2 Vector[T]) Vector[T] {...}
func ElementWiseMultMatrix[T Number](m1, m2 Matrix[T]) Matrix[T] {...}

(This is a simplified example, the actual library requires more parameters and more type parameters.)
It would be good to be able to provide a more abstract function like this:
func ElementWiseMult(o1, o2 any) any {
     switch c1 := o1.(type) {
     case Vector[T Number]:
          return ElementWiseMultVector(c1, o2.(Vector[T]))
     case Matrix[T Number]:
          return ElementWiseMultMatrix(c1, o2.(Matrix[T]))
     default:
          panic("invalid type")
     }
}

Please describe as precisely as possible the change to the language.

With "discoverability" I mean that the type switch clauses can introduce new constrained type parameters which then bind to the concrete type of the underlying value.

Is this change backward compatible?

I believe so.

Alternatives

With the current specification, it is already possible to "discover" types by requiring the user to explicitly pass them, as follows:
func ElementWiseMult[T Number](o1, o2 any) any {
     switch c1 := o1.(type) {
     case Vector[T]:
          return ElementWiseMultVector(c1, o2.(Vector[T]))
     case Matrix[T]:
          return ElementWiseMultMatrix(c1, o2.(Matrix[T]))
     default:
         panic("invalid type")
     }
}

I believe with the proposal above, the code is easier to use:
ElementWiseMult[float64](m1, m2)    // vs.
ElementWiseMult(m1, m2)

Note that, to the best of my understanding, type inference cannot help with avoiding having to pass the type parameter when the parameters are of type any.
It may also be the case that the Go community prefers the explicit function signatures in general and prefers to discourage polymorphic signatures, for example because they delay checks of type correctness from compile time to runtime.
Costs
I don't understand the current implementation of type parameters, so I don't know what the incurred costs would be.

Hi @pcostanza, does this overlap with #45380?

It's an interesting idea but I don't see how to implement this.  It means that we can have arbitrary generic code inside a non-generic function.  That can only work if the non-generic function is generic, but it's not.

Alternative idea:
func ElementWiseMult[S any](o1, o2 S) any {
     switch c1 := o1.(type) {
     case Vector[T Number]:
          return ElementWiseMultVector(c1, o2.(Vector[T]))
     case Matrix[T Number]:
          return ElementWiseMultMatrix(c1, o2.(Matrix[T]))
     default:
          panic("invalid type")
     }
}

So, given var v1, v2 Vector[float64], S would be bound to Vector[float64]. Therefore, the first case would match, and T would then be bound to float64.

@pcostanza, for a compiler using a stenciling approach, that would require the compiler to identify the set of all types T that implement Number and may be used to instantiate Vector or Matrix for any variable passed to ElementWiseMulti.
The same is true for the “GC shape” implementation approach, if the type-constraint is not as restrictive as something like Number.
Solving those instantiations in general involves either solving a very difficult static-analysis problem, or instantiating things conservatively — and producing massive binary bloat in the process (for hypothetical instantiations that end up not actually being reachable).
As far as I can tell, that all but forces the implementation to use the “dictionary” approach, which seems like a high cost to pay relative to the value of being able to write these kinds of type-switches.

@bcmills I realize that I should have described the underlying problem before suggesting a solution (which rather looks like a non-solution based on your explanation). The underlying problem is as follows: Among other things, the library is supposed to be able to load matrices from input files, like the matrix market file format, for example. Unfortunately, the element type for a matrix stored in such an input file is also part of the contents of that file. This means that when opening the file, you cannot statically know in the Go source code what element type to expect. Effectively:
m, err := ReadMatrixFile("foo.txt")

Since the type cannot be known in advance, I am currently returning any from ReadMatrixFile. This in turn means I have to do a manual dispatch afterwards:
	m, err := ReadMatrixFile("foo.txt")
	handle(err)
	switch m := m.(type) {
	case Matrix[uint8]:
		processMatrix[uint8](m)
	case Matrix[int8]:
		processMatrix[int8](m)
	case Matrix[uint16]:
		processMatrix[uint16](m)
	case Matrix[int16]:
		processMatrix[int16](m)
	case Matrix[uint32]:
		processMatrix[uint32](m)
	case Matrix[int32]:
		processMatrix[int32](m)
	case Matrix[uint64]:
		processMatrix[uint64](m)
	case Matrix[int64]:
		processMatrix[int64](m)
	case Matrix[float32]:
		processMatrix[float32](m)
	case Matrix[float64]:
		processMatrix[float64](m)
	default:
		panic("unknown matrix element type")
	}

I'm already seeing this in several places in the code, and processMatrix is always a different function call. Since type parameters are not first-class, I don't see a way how to abstract away from this and make this less cumbersome to write. My "discoverability" idea above was a suggestion how to make this work...

@pcostanza, certainly there are places where this kind of type-switch would be useful. (In type theory, in is formalized as a “dependent sum type” or “Σ type”. So I agree that it could be useful — I'm just not sure that the increase in utility is worth the additional constraints it would impose on Go implementations.

I would put it this way: I don't see any feasible way that this can be implemented.  If nobody can describe a way to implement this, then this proposal can't be accepted.  Sorry.

Closing as infeasible.

The code that triggered this proposal is open sourced by now. You can find examples of the issue in the following places:

https://github.com/intel/forGraphBLASGo/blob/main/api_Vector.go lines 265-295

https://github.com/intel/forGraphBLASGo/blob/main/api_Matrix.go lines 360-390

https://github.com/intel/forLAGraphGo/blob/main/api_BreadthFirstSearch_vanilla_test.go lines 242-283

https://github.com/intel/forLAGraphGo/blob/main/api_TriangleCount_test.go lines 136-177

I'm not advocating for my proposal above anymore, just wanted to ensure that the underlying issue is illustrated by somewhat more realistic examples.


Crashes in iOS Shipping build

Shipping build of the game crashes on iOS with the following message:
*** error for object %p: pointer being freed was not allocated
 > MyGame-IOS-Shipping > MyGame-IOS-Shipping(45544,0x16be63000) malloc: *** error for object 0x4000000: pointer being freed was not allocated

According to captured crash call stacks the above error can come from a variety of places in plugin source code depending on the user's game flow (see the attachments). In some cases it can be "fixed" by not freeing up memory which was allocated for certain structs that the plugin's API exposes however that introduces memory leaks and doesn't feel like a proper solution by any means.
Callstack1.txt
Callstack2.txt
Callstack3.txt
Shipping build of the game is distributed via TestFlight and that's the only scenario when crash can be reproduced. The development build has been tested on several iOS devices and this configuration works as expected.
Also, here's an article that describes somewhat a similar problem but the suggested workaround doesn't seem to be applicable for engine downloaded via Epic Games launcher.
Additional info:
TurboLink plugin version: 1.3
Unreal Engine version: UE 5.3 (binary distribution)
macOS: 14.2.1
iOS: 17.2.1, 16.5
Xcode: 15.2

Yes. the interesting thing is that on development we

Yes. Same here. 🤚🏼
The interesting part is that when developing we didn't encounter those - probably because when developing - the ide holds a lot of pointers to those memory areas. and when shipping we immediately encounter them.
In our experience - this happened when our .proto had a bytes type. But I saw that happens in a few other places - memory got allocated and immediately deallocated on ios when shipping.


sql: disable interleaved tables by default

PR: https://github.com/cockroachdb/cockroach/pull/59248
From release notes:

Creation of interleaved tables and indexes is now disabled by default. They can be re-enabled temporarily by running SET CLUSTER SETTING sql.defaults.interleaved_tables.enabled=true. [#59248][#59248] {% comment %}doc{% endcomment %}

Related PR: https://github.com/cockroachdb/docs/pull/9296


Update XML element table for DisableTacCommunication

Added the following XML setting to the XML element table.
<DisableTacCommunication>
This update should be released soon after the 4.5.x.x MTR application is released to store.  Date is TBD.

@JohanFreelancer9 Copy editing is needed for this PR. Thanks.

@LanaChin PR has been copyedited and is ready for final review, could you please check and merge? Thanks!

Reassigning to @dstrome


Fixes for adapting in serial PR

Here are some changes that I think address all issues raised in the original PR #72:

I am creating the checkpoint dir using tempfile.mkdtemp, as suggested in this comment
Instead of the checkpoint file name, save_checkpoint and load_checkpoint now take the checkpoint file path as an argument. The main reason for this is to tidy up the code since I don't really see a benefit of doing it the other way around. But I'm happy to revert this!
I moved get_checkpoint_dir from utility.py to checkpointing.py. I'm not sure why we'd have checkpointing-related things outside of checkpointing.py? :)
Added a test for attempting to load a checkpoint file that doesn't exist

I opened #117 for the error raised in the failing tests. Should be ready for review after that is addressed :)


Add NegativeLogLikelihoodLoss operator

Similar to softmax cross entropy loss #3008 , thus able to leverage all the existing logic of this and test method.
Added verify tests for the 3 reduction cases in varying datatypes.
Parser tests nearly identical to softmaxcrossentropyloss but without the softmax operator.

Review after #3008  goes in and this is updated off develop. Changes are minimal. Moving out of draft to get CI run.

I think you have to not add the log on L450 for nllloss. Reading the onnx spec for this op, it looks like log isnt part of it. https://onnx.ai/onnx/operators/onnx__NegativeLogLikelihoodLoss.html

Fixed this and retried it with the gold data check. should be the same now.
root@138e47fae32c:/code/AMDMIGraphX/test/onnx# python3 softmaxcrossentropyloss_gold_data_check.py
(4, 2, 2)
(4, 4, 2, 2)
[[[[ 1.  2.]
   [ 3.  4.]]

  [[ 5.  6.]
   [ 7.  8.]]

  [[ 9. 10.]
   [11. 12.]]

  [[13. 14.]
   [15. 16.]]]

 [[[17. 18.]
   [19. 20.]]

  [[21. 22.]
   [23. 24.]]

  [[25. 26.]
   [27. 28.]]

  [[29. 30.]
   [31. 32.]]]

 [[[33. 34.]
   [35. 36.]]

  [[37. 38.]
   [39. 40.]]

  [[41. 42.]
   [43. 44.]]

  [[45. 46.]
   [47. 48.]]]

 [[[49. 50.]
   [51. 52.]]

  [[53. 54.]
   [55. 56.]]

  [[57. 58.]
   [59. 60.]]

  [[61. 62.]
   [63. 64.]]]]
Onnx ref output
[array([[[  -1. ,  -56. ],
        [  -3.5,  -24. ]],

       [[ -17. , -120. ],
        [ -11.5,  -56. ]],

       [[ -33. , -184. ],
        [ -19.5,  -88. ]],

       [[ -49. , -248. ],
        [ -27.5, -120. ]]])]


Use case 33: Implement Email Alerts for Live Data on the Live Server

Implement Email Alerts for Live Data on the Live Server
User Story
As a user, I want to receive email alerts when live sensor data exceeds my configured thresholds so that I can take timely action.
Description
This use case involves setting up an email alert system that monitors live sensor data on the live server. When sensor readings exceed user-defined thresholds, the system sends email alerts to notify users. The alerts should include detailed information about the condition, such as the sensor type, current reading, threshold value, and timestamp.
Acceptance Criteria
Email alerts are triggered when live sensor data exceeds user-defined thresholds.
The email includes the following details:
Sensor type (e.g., temperature, humidity, soil moisture)
Threshold value
Current sensor reading
Timestamp of the alert
The email is sent promptly after the alert condition is met.
Users can enable or disable email alerts from the settings page.
The system logs all email alert events for tracking and debugging
Testing
Normal Flow of Events
The backend continuously monitors live sensor data from the database.
The system detects when live data exceeds user-defined thresholds.
The system generates an email containing alert details and sends it to the user.
The user receives the email promptly and verifies the details are accurate.
Alternate/Exceptional Flows
####S-1: Email fails to send
If the email fails to send, the system retries sending up to a defined limit.
The failure is logged for troubleshooting, and an optional notification is sent to the user in-app.
S-2: Delayed email delivery
If email delivery is delayed due to server or network issues, the system includes timestamps in the alert to clarify when the condition occurred.
####S-3: Incorrect alert details
If the email contains incorrect data, the system logs the issue, and developers verify the data pipeline from the database to the email generation system.

I have documented the "Implement Email Alerts for Live Data on the Live Server" use case, covering all requirements and testing scenarios. The system monitors live sensor data, triggers alerts when thresholds are exceeded, and sends detailed emails with the sensor type, threshold, current reading, and timestamp. Users can manage alerts from the settings page. Robust error handling is included, such as retries for failed emails, logging issues, and timestamps to clarify delays.

Going to work on it and try to get it done before live demo


ble_ll_scan.c calls ble_ll_scan_init twice, which corrupts g_os_mempool_list

While troubleshooting why mpool cli command does not show anything beyond ble_ll_aux_scan_pool.
repro:
To watch it corrupt g_os_mempool_list, I did something like this following, where 0x20003648-0x2000364a is the pointer to the first of my missing mpool entries (via cli).
So, I didn't know what was altering the memory, and I didn't own JTAG w/ TRACE, so I wrote a small MWU IRQ to catch whatever was altering this memory.  I then moved stack pointer back, so my Clion could show me the real offending stack.   I setup the MWU after all usual inits of mpools ran (at which point g_os_mpool_list was still accurate), then it hit (corrupted) when the ble stack was coming up.
Let me know if you have some more clever way to watch memory on the ARM for changes, I am just learning how to debug more advanced stuff.
So, ble_ll_scan_init triggered it, but on the 2nd runthrough.  So, my mpool was in the linked-list, but the 'new' mpool for ble_ll_scan_init was sorta replaced, and broke the linked list (cutoff any mpools after it).
This only occurs when BLE_LL_CFG_FEAT_LL_EXT_ADV is defined.
I will post a PR for the fix, verified it already.
------------- example code to catch this program in action------
void MWU_IRQHandler( void );
// start memory watch of 0x20003648 for debug
NRF_MWU->REGION[2].START = (uint32_t) 0x20003648;
NRF_MWU->REGION[2].END   = (uint32_t) 0x2000364a;
//NRF_MWU->INTENCLR    = MWU_INTENCLR_REGION3WA_Clear << MWU_INTENSET_REGION2WA_Pos;
NRF_MWU->INTENSET    = MWU_INTENSET_REGION2WA_Enabled << MWU_INTENSET_REGION2WA_Pos;
NRF_MWU->REGIONENSET = MWU_REGIONENSET_RGN2WA_Enabled << MWU_REGIONENSET_RGN2WA_Pos;
NVIC_SetVector(MWU_IRQn, (uint32_t)MWU_IRQHandler);
NVIC_SetPriority(MWU_IRQn, (1 << __NVIC_PRIO_BITS) - 1);
NVIC_ClearPendingIRQ(MWU_IRQn);
NVIC_EnableIRQ(MWU_IRQn);
/* As the last thing, process events from default event queue. */
while (1) {
    os_eventq_run(os_eventq_dflt_get());
}

}
void HardFault_Handler() {
while (1) {
if (hal_debugger_connected()) {
/*
* If debugger is attached, breakpoint here.
*/
asm("bkpt");
}
NVIC_SystemReset();
}
}
void MWU_IRQHandler( void )
{
asm volatile(
" tst lr,#4       \n"
" ite eq          \n"
" mrseq r0,msp    \n"
" mrsne r0,psp    \n"
" mov sp, r0       \n"
" bkpt #1          \n"
);
}

I've pushed PR with proposed os_mempool_clear functionality that should allow to fix this correctly
https://github.com/apache/mynewt-core/pull/1030

All patches are now merged, please test if issue is fixed.

It seems like this issue is fixed, thanks!


Flow control implementation

Check commit bodies for detail.
Precedence is not correct, there is shift/reduce conflicts. By default they are always shifting now.
Nevertheless, We can merge this, so everyone can build on current implementation ,and we can iron out this problem later.

Closed because we merged another branch that contains these changes


Prompt#ask echoes fast input, even with echo disabled

Hi there,
I was doing some testing on a project that uses tty-prompt, and I noticed that echo: false doesn't stop characters from showing up on the terminal if the user types rapidly. Not everything shows up, but enough to partially compromise the privacy of the input.
Here's a live demo:

Thanks for all the hard work on tty-prompt! It's been a pleasure to use :smile:

Great to hear that you're enjoying using tty-prompt!
I think you need to stop typing fast 😉 I won't have time to investigate this anytime soon and definitely not this month as I'm busy preparing other tty projects for a conference. However, if you have some spare time then I would encourage you to look into tty-reader which I believe to be the source of the bug as it is responsible for processing input and displaying it back in the console. That would be great help!

Thanks for the response!
I'll take a look at tty-reader in a bit.

Hi @woodruffw!
Have you had a chance to look into it? I was curious and tried it in my machine and you must be typing hella fast because I can't reproduce it. 😅
I've tested both with TTY reader and TTY prompt and I can't make it happen in any of them.
Maybe OS related? Does it happen in any specific OS or is it unrelated?

Have you had a chance to look into it? I was curious and tried it in my machine and you must be typing hella fast because I can't reproduce it. sweat_smile

Yeah, I can't reproduce it any more either. I guess it got fixed some time in the last 7 months!
FWIW, the original OS was Linux (Ubuntu 16.04) running urxvt for the terminal emulator.


onPreResponse doesn't invoke in hapi 17.5.5

I wrote a test which passing on hapi: 17.5.4 but failing on hapi: 17.5.5. Difference that when your response schema failing and on request, you don't specify headers in 17.5.4 onPreResponse doesn't invoke. Server will response with json but in 17.5.5 it invokes onPreResponse.
This is branch with new test: https://github.com/venikman/hapi-dev-errors/blob/master/test/failed-response-schema.js

@venikman Hi Stan, do you expect a JSON response as the default? Because there’s no accept header that matches json, the response is HTML.

@venikman I’ve checked the recent hapi changes and it seems like the previous handling was a bug.
The response before hapi 17.5.4 added the application/json request header, even though it wasn’t on the request originally.
With hapi 17.5.5, this changed and hapi-dev-errors responds with HTML because the request doesn’t want JSON explicitly.

@marcuspoehls  So you think right now it response right way?

@venikman Yeah, I think the behavior of hapi-dev-errors is correct for hapi 17.5.5.

Yes please, I really appreciate a PR to add this test. That's a great idea, thank you!
Can you please add a second test that makes sure JSON response is sent for requests that want JSON (set the accept header to application/JSON).

Sure! No problem.


The argument "fqdns" was already set at fqdns = ["x.x.x.x"]

Awesome project -thanks
resource "azurerm_application_gateway"
backend_address_pool {
name = "be21"
fqdns = ["x.x.x.x"]
fqdns = ["x.x.x.x"]
Think this should be a list

quick fix posted  - let me know if it works !

reproduced here - fix posted


[ASCII-1277] Remove sub packages from pkg/status. All agents now use the status component

What does this PR do?
After all the work done to migrate the different agent to use the status component:

https://github.com/DataDog/datadog-agent/pull/23518
https://github.com/DataDog/datadog-agent/pull/23472
https://github.com/DataDog/datadog-agent/pull/23398
https://github.com/DataDog/datadog-agent/pull/23263
https://github.com/DataDog/datadog-agent/pull/22610
https://github.com/DataDog/datadog-agent/pull/22115
https://github.com/DataDog/datadog-agent/pull/22287

We can remove all the legacy subpakcges of pkg/status 🔥

Motivation

Additional Notes

Possible Drawbacks / Trade-offs

Describe how to test/QA your changes

/merge


Timeout after update to 3.0.0-beta.76 and next 15.0.0-canary.104

Link to reproduction
No response
Payload Version
3.0.0-beta.76
Node Version
v20.9.0
Next.js Version
15.0.0-canary.104
Describe the Bug
After updating from payload beta 74 and next canary 86 to Payload beta 76 and Next Canary 104, the admin panel can no longer be accessed and results in a timeout. The login page does not render.
Before the update, everything was working perfectly.
The problem occurs only in a production build. Everything continues to work fine in development mode.
Reproduction Steps
Update to the payload 3.0.0-beta.76 and next canary 104. Create a and run a production build. Then try to access the payload login page.
Adapters and Plugins
db-mongodb, storage-vercel-blob, form-builder, nested-docs, seo, live-previewrichtext-lexical,

Encountering the same problem, runtime error:
TypeError: Cannot read properties of undefined (reading 'query')
    at tV (/home/dovchik/source/payload-play/.next/server/chunks/8447.js:193:1420)
    at async Object.tz [as findGlobal] (/home/dovchik/source/payload-play/.next/server/chunks/8447.js:193:4292)
    at async l (/home/dovchik/source/payload-play/.next/server/chunks/8447.js:266:102390)
    at async f (/home/dovchik/source/payload-play/.next/server/chunks/6310.js:1:16628) {
  digest: '3855654830'
}

This might be the same issue: https://discord.com/channels/967097582721572934/1215659716538273832/1271103045908037672
Here is a reproduction of this issue: https://github.com/payloadcms/payload-3.0-demo/compare/main...remarcable:payload-3.0-demo:admin-panel-loading-repro?expand=1
The reason seems to be richText fields nested inside blocks.

I just created another bug, which I will delete. Same error. Just upgraded from beta.36 though

I got the same issue now, but when I downgrade the next.js version to 15.0.0-canary.77, it works fine again?? What's going on here?

Hi all - we're seeing a similar issue:
On production builds only - i.e., pnpm build && pnpm start - the Payload admin app will not load if there is more than one collection with a richText field (they don't have to be nested in a block).
For example - we created test Foo and Bar collections - based on the built-in Lexical richtext editor and in each there are only two fields: title (text) and content as (richText).
Foo and Bar collections each have the following richtext field definition:
{
type: 'richText',
name: 'richText',
label: 'RichText',
required: true,
},
We can compile and load the admin dashboard if we load just the Foo collection or just the Bar collection - but not both. We can only load both along with the admin dashboard in development. :-(
In a production build - the request for the /admin URL remains stuck at 'pending' (with zero output - errors or other).
Here's a link to a reproducible repo - a fork of Demo 3 repo.
https://github.com/infonomic/payload-3.0-demo
pnpm install && pnpm build && pnpm start - should reproduce the problem. All that's changed is another collection with a richText field was added to payload.config.ts Navigating to /admin will fail  on 'pending' indefinitely.
Hope this helps.

For us, everything works fine on payload 3.0.0-beta.77 and (!) next 15.0.0-canary.87.
So it seems like an issue with the next >15.0.0-canary.87 (or newer).

Just updated to v3.0.0-beta.78 and still getting a timeout when loading the admin login page.

For us, everything works fine on payload 3.0.0-beta.77 and (!) next 15.0.0-canary.87. So it seems like an issue with the next >15.0.0-canary.87 (or newer).

I can confirm. The admin panel works for us with 3.0.0-beta.78 and next 15.0.0-canary.87. Won’t work with next versions higher than that. We also have multiple richText fields in various places.

I recommend either staying on an older payload & Next.js version, or attacking an editor to every richtext field causing this issue for now. This issue has been introduced by the recent Next.js update - if objects with same references are passed down as props to 2+ components, Next.js started hanging like this. For richText fields, this issue can appear because they reference the same root richText editor.
We will fix this once we're done with https://github.com/payloadcms/payload/pull/7620

@AlessioGr attaching an editor to every richtText field does not seem to work for us. Tried both:
Tried invoking the editor separately and passing it:
import { lexicalEditor } from '@payloadcms/richtext-lexical'
import type { RichTextField } from 'payload'

// Hotfix: https://github.com/payloadcms/payload/issues/7578#issuecomment-2286571529
export function contentField(editor: ReturnType<typeof lexicalEditor>) {
  const contentField: RichTextField = {
    name: 'content',
    type: 'richText',
    editor: editor,
  }

  return contentField
}

And tried setting it manually:
import { lexicalEditor } from '@payloadcms/richtext-lexical'
import type { RichTextField } from 'payload'

const editor = lexicalEditor()

export const contentField: RichTextField = {
  name: 'content',
  type: 'richText',
  editor: editor,
}

Running 3.0.0-beta.78 and next 15.0.0-canary.104

@robinscholz make sure you're using a uniquely initialized editor for every field, without sharing the editor object between fields

Fixed by https://github.com/payloadcms/payload/pull/7620

Encountering the same problem, runtime error:
TypeError: Cannot read properties of undefined (reading 'query')
    at tV (/home/dovchik/source/payload-play/.next/server/chunks/8447.js:193:1420)
    at async Object.tz [as findGlobal] (/home/dovchik/source/payload-play/.next/server/chunks/8447.js:193:4292)
    at async l (/home/dovchik/source/payload-play/.next/server/chunks/8447.js:266:102390)
    at async f (/home/dovchik/source/payload-play/.next/server/chunks/6310.js:1:16628) {
  digest: '3855654830'
}

TypeError: Cannot read properties of undefined (reading 'query')
    at tV (/home/dovchik/source/payload-play/.next/server/chunks/8447.js:193:1420)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:540:9)
    at process.processTimers (node:internal/timers:514:7)
    at async Object.tz [as findGlobal] (/home/dovchik/source/payload-play/.next/server/chunks/8447.js:193:4292)
    at async l (/home/dovchik/source/payload-play/.next/server/chunks/8447.js:266:102390)
    at async f (/home/dovchik/source/payload-play/.next/server/chunks/6310.js:1:16628) {
  digest: '343576256'
}

@AlessioGr
I'm still getting the same bunch of errors and admin panel not loading with<EMAIL_ADDRESS>and<EMAIL_ADDRESS>

Okay, that seems to be related to how I passed payload instance around
Seems that getPayloadHMR in root level of a document was breaking it all

It is still happening, running on next: 15.0.0-canary.128, payload: 3.0.0-beta.91, node: 20.9.0.
Only after dropping lexical (which was used in just one collection) did things start working again.


configuration/network_filters/mongo_proxy_filter.md

原文：https://github.com/servicemesher/envoy/tree/master/configuration/network_filters/mongo_proxy_filter.md

认领


adding bulk discount on configurable variants

hi , i wanted to know the case where i want to add discount to all variants of a configurable product . i wonder to know how to do that because if i update the product_flat it just change the show of price and when user wants to pay it would be the same old price and i dont understand how its adding it in product_attribute_values in float_value coloumn i mean how the system detects which one is the special price or the original price . thanks in advance

Hi @farshadff
You can create Catalog rule for the same ( Under Promotions Section ) using a required condition like name, SKU etc by which discount will be automatically applied on products and its variants.

I hope above reply solved you problem. I am closing this issue


Add HTTP endpoint that serves a requested shard

With this change a datanode can stream the requested shard to the
client. An error is returned if the shard does not exist or the the
shard is not local to that node.
1 data node can hit this endpoint to request data for a given shard if
the data no longer resides on the broker.

@corylanou @jwilder

Updated with changes as suggested by @jwilder

:+1:

Actually, as an alternative approach, why not stop streaming to the shard and then just ship the whole bolt file instead of using a bolt transaction?  Once it's shipped, start the shard streaming again.

@jwilder -- I don't really follow you. Why would we do that? The transaction approach (is* the way to get a consistent snapshot in time. The whole point is we don't need to care if the shard is being written to or not.
https://github.com/boltdb/bolt#database-backups

This was concerning to me: https://godoc.org/github.com/boltdb/bolt#Tx in combination w/ copying a large shard.  Also am not sure how streaming a large shard via bolt would perform in comparison to just raw file streaming off the filesystem.  (e.g. shard file of several GB)

We can check @benbjohnson but it was he who suggested this approach. I will say the added of complexity of pausing streaming while this is going on doesn't appeal to me.

I'm fine with the current approach.  I do see merit in Jason's concerns/approach as well, but may be something we optimize in a future refactor.  +1

Updated with the enhanced error reporting, as requested by @corylanou

I'm fine w/ this as well for now too.  So still :+1:

OK, thanks @jwilder @corylanou -- we can certainly revisit if there is a problem. I will check with @benbjohnson


Allow target _blank in message boxes

DOMpurify removes all instances of target in anchor elements, even if proper relationships exist to keep it secure:
https://web.dev/external-anchors-use-rel-noopener/
This prevents adding links to message boxes that open in new windows, which is the desirable behavior in most instances.
I attempted to have this addressed in that library, but it appears it is recommended to work around it in consuming applications:
https://github.com/cure53/DOMPurify/issues/317#issuecomment-761088912
This change is workaround to allow the target attr if noopener or noreferrer rel also exist on the element

Please fix lint errors.

Please fix lint errors.

Please fix lint errors.

Fixed. As part of the fixes I disabled jam3/no-sanitizer-with-danger due to a false positive since I am calling the sanitizer function earlier with a condition.

Please fix lint errors.

Fixed. As part of the fixes I disabled jam3/no-sanitizer-with-danger due to a false positive since I am calling the sanitizer function earlier with a condition.

Please address test coverage in ui-core

Please address test coverage in ui-core

Please address test coverage in ui-core

on it

Please address test coverage in ui-core

on it


[SPARKC-342] support Joda time for LocalDate type

Adds type conversion support for org.joda.time.DateTime to com.datastax.driver.core.LocalDate. Solves  SPARKC-342
@RussellSpitzer  @pkolaczk for review

Hi Masssg
thanks
would you mind posting the URL to [sparkc-342]

@AEDWIP Hi Andy,  I updated the description with the link.

+1


Expressing default_factory

Is there some way to express Pydantic's default_factory using typing.Annotated + this library?
I am looking to remove Field below and directly use typing.Annotated
from pydantic import BaseModel, Field

class MyModel(BaseModel):
    some_list: list[int] = Field(default_factory=list)

No, there isn't. But you can combine them:
from typing import Annotated
from annotated_types import Gt, Len
from pydantic import BaseModel, Field

class MyModel(BaseModel):
    some_list: Annotated[list[Annotated[int, Gt(0)], Len(0, 10), Field(default_factory=list)]


Have a paste button for importing private key and keystore JSON?

Since they are all meant to be copy and pasted?
Watch:

Import private key:

Yes. Good idea.


mediawiki: wfGetDB deprecated

Describe the bug
The mediawiki-init service from the nixos mediawiki module prints Deprecated: Use of wfGetDB was deprecated in MediaWiki 1.39. [Called from eval in /nix/store/5l29115zkw07afy0li8m74nc503vr1f6-mediawiki-full-1.42.1/share/mediawiki/maintenance/eval.php(126) : eval()'d code at line 1] in /nix/store/5l29115zkw07afy0li8m74nc503vr1f6-mediawiki-full-1.42.1/share/mediawiki/includes/debug/MWDebug.php on line 379
Steps To Reproduce
Steps to reproduce the behavior:

Enable mediawiki service in NixOS config
Rebuild
Start mediawiki-init.service

Expected behavior
I did expect the nixos module not to use deprecated mediawiki php config options.
Notify maintainers
@aanderse @Mic92
Metadata
Please run nix-shell -p nix-info --run "nix-info -m" and paste the result.
[user@system:~]$ nix-shell -p nix-info --run "nix-info -m"
 - system: `"x86_64-linux"`
 - host os: `Linux 6.6.44, NixOS, 24.11 (Vicuna), 24.11.20240818.8a33541`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.18.5`
 - channels(root): `""`
 - nixpkgs: `/nix/store/d9gbq853jvbccrz5g3y0irbwgc57w137-source`

Add a :+1: reaction to issues you find important.

hi @auroraanna thanks for filing this bug! i think https://wiki.nixos.org uses this module so it is very helpful that you filed it
i want to clarify that i am not a wordpress maintainer though, and don't believe i ever have been

if you have the knowledge on how to fix this i'm sure the team would really appreciate if you could create a PR, though if not then maybe payas, @GetPsyched, @ibizaman, or @573 would be interested in taking a look

Unfortunately, I don't work with the wiki (yet).
Anyway, I did a quick search on nixpkgs and there's one use of wfGetDB here. Beyond this, I have no idea, sorry.

I found

https://www.mediawiki.org/wiki/Manual:Database_access
https://phabricator.wikimedia.org/T273239

but i don't know how to apply them…

This looks like the right fix: https://gerrit.wikimedia.org/r/c/mediawiki/extensions/ContributionScores/+/1051391/5/src/ContributionScores.php

getDBLoadBalancer() doesn't sound right, i thought it would be getPrimaryDatabase() but i couldn't get it working

Why not? It's a database loadbalancer and this is just a read query?


Cannot GET /

Cannot GET /

when restarting forever I get
Cannot GET / on page

Fixed

Fixed

how did you fix it ?

How?

Rofl, but it not work!)
пн, 4 нояб. 2019 г., 12:59 sohuynnamito<EMAIL_ADDRESS>
How?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/3s3s/opentrade/issues/276?email_source=notifications&email_token=ACL35GGJBP4IOUFW7UCZ3MTQR7XATA5CNFSM4HPLFMG2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEC6W2SA#issuecomment-549285192,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ACL35GEZHTRPYS2XVD62U5LQR7XATANCNFSM4HPLFMGQ
.

how did you fix it ?


Introduce an API to server author to return the audit log supported severities in the stored servers on the fetch of the platform

The server audit logs have supported severities per server that will be returned in the storedServer in the Platform.
We will configure each audit log separately so we can handle errors better.

Note that the same audit log destination type may be used multiple times with different log categories and destination details.

The audit log destinations are connectors - so there is no definitive list.  We have helper methods for the connectors supplied with Egeria.  The categories of log messages (severities) are specfied in the request body.
Here is the documentation https://egeria.odpi.org/open-metadata-implementation/admin-services/docs/user/configuring-the-audit-log.html

The helper methods use default values for the destination.  If you want to do something fancy such as send one set of serverities to one event topic and another set of severities to another, it is necessary to use the connection version of the command and call it multiple times.  If you want I could add calls that allow the destination to be supplied in the request body allong with the severities?

in the server author view service I was thinking of returning an array of AuditLogDestination in the getPlatform that returns the Platform object with the stored servers and registered services for the platform.
AuditLogDestination being a server author object of shape (with fields to help it display nicely without needing to hard code in the UI)
public class AuditLogDestination {     private String auditLogName;     private String auditLogDescription;     private String auditLogDisplayName;     private List<String> supportedSeverities; ...
Then on the post to supply the severities I was thinking of supplying a list of AuditLogDestination with the name and supportedSeverities. It would only send up audit logs destinations and severities that the platform said it supported. If there was a way to name a custom connection then I could have included this in the list with the supported severities.
There is a case to put this API into the admin layer as well - so I could just make one backend call from the view service;  I can make the individual calls otherwise.

On discussion, it is not appropriate to associate the audit log destinations with the platform, these are server audit logs. The server audit logs have supported severities per server that we ill be returned in the storedServer in the Platform.
We will configure each audit log separately so we can handle errors better.

@mandy-chessell @planetf1 I have the following situation:
The server author exposes a call to get the Platforms , within each platform object are a list of stored servers. We decided that we would not return the server status. This issue is to amend the server object to add in the audit log severities that could be different for each server.
In general the code uses the PropertyServerException SERVICE_NOT_AVAILABLE(404, "OMAG-MULTI-TENANT-404-002".
I have the situation where there is a server cocoMDS4 that is not available. When I issue the call to the repository services, I get a response with an invalid parameter exception (as the server name could be incorrect) with message  SERVER_NOT_AVAILABLE(404, "OMAG-MULTI-TENANT-404-001",. The current view service logic bombs out with this error - I could look for the message in the invalid exception response, or change the exception to a PropertyServerException - which would make the calling code less sensitive to message changes.
Though it would be nice to move to the new Exception type - I suspect I need to keep the API the same and not change the exception (which could have an impact or existing callers) and look for the message by number - do you agree?

I am thinking of doing this as the only parameters are server name and userid.
  AuditLogServicesClient auditLogServicesClient = new AuditLogServicesClient(serverName, platFormEndpoint);                         List<OMRSAuditLogReportSeverity> severities;                         try {                              severities = auditLogServicesClient.getAuditLogSupportedSeverities(userId);                         } catch (InvalidParameterException error) {                             // cannot contact the server, so default the severity list                             severities = OMRSAuditLogRecordSeverity.getSeverityList();                         }                         storedServer.setAuditLogSupportedSeverities(severities);
I will proceed with this unless there are concerns.

I am repurposing this issue again to  only introduce a audit client to get the supported severities using the interface and to then amend the server author view to use this client


READMES Update to new version

Make the How To Use Section of README more detailed.

Please explain

Make A Issue


Framework component

This change is

[!WARNING]
This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more

#761  👈
#712
#711
#710
#708
#707
#715
#714
#713
#706
#705
#704
#702
#701
dev

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @spapinistarkware and the rest of your teammates on  Graphite

Codecov Report
Attention: Patch coverage is 99.07407% with 1 line in your changes missing coverage. Please review.

Project coverage is 93.24%. Comparing base (b40bca7) to head (9982532).

Files
Patch %
Lines

...rates/prover/src/constraint_framework/component.rs
99.07%
1 Missing :warning:

Additional details and impacted files
@@                          Coverage Diff                          @@
##           spapini/07-08-poseidon_with_logup     #761      +/-   ##
=====================================================================
- Coverage                              93.28%   93.24%   -0.05%
=====================================================================
  Files                                     89       90       +1
  Lines                                  11608    11716     +108
  Branches                               11608    11716     +108
=====================================================================
+ Hits                                   10829    10924      +95
- Misses                                   679      692      +13
  Partials                                 100      100

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

Merge activity

Jul 30, 9:05 AM EDT: @spapinistarkware started a stack merge that includes this pull request via Graphite.


Punctuation list - can't go backwards

Hi, I just updated from v31.0 to v41.0 on Sonim XP3900. Lots of new features! Thanks. I especially like the text editing cut/past options!
When I press 1 to get punctuation, I used to use the <- back arrow key to quickly access ? and ! characters. Now pressing the <- back arrow key escapes out of the punctuation list. Is this intentional? I noticed you have a setup option to re-order the punctuation character list. I just changed the order to put the ? and the ! following the , and . characters, which is an acceptable work around.

So, this issue is not confined to the punctuation list, it occurs in all the suggestions lists. The back arrow escapes out of the suggestions list rather than selecting the previous (to the left) suggestion.

Could you please check the hotkey assignments? Is "Previous Suggestion" assigned to the correct key? If it is not too much trouble for you, could you also try to reset the hotkeys to the defaults? This should definitely fix the problem, if it is caused by a misconfiguration.
Another problem might be some application tampering with the key presses. Does it happen in all apps or only in a specific one?

Thanks, yes the "previous suggestion" was assigned to volume up key, apparently by mistake of myself as I was exploring the setup options. I checked my wife's identical phone that I updated at the same time and it had the correct default. Restoring defaults reset it to the correct <- key and works as expected now. Thanks!


Fix dataplane_kuttl

dataplane_kuttl_prep is needed as dependency for CI: https://github.com/openshift/release/blob/master/ci-operator/step-registry/openstack-k8s-operators/kuttl/openstack-k8s-operators-kuttl-commands.sh#L100

recheck

/override rdoproject.org/github-check


Error: getaddrinfo ENOENT raw.githubusercontent.com

Environment data

VS Code version: 1.77
I have download the sourceCode of the jupyter, when I run npm install or yarn, it always wrong, I and My group members have tried
two days, we are crazy, Can you help to fix? thanks very very very much!

Try the latest version of the source code, you shouldn’t come across this error

Should be fine in the latest source
Closing this as I believe this isn’t an issue anymore
Please feel free to reopen or ping here or create a new issue of this still exists


Cartesian Stiffness Reference Frame

Hi, thanks for your efforts in releasing the package.
I was wondering if the Cartesian stiffness can be set accordingly to a different frame other than the robot base frame (this->rbdyn_wrapper_.root_link();)
Partially related to this, can also be the pose reference frames changed from the this->rbdyn_wrapper_.root_link();, or is it a sort of constraint of rbdyn?
Thanks!

Thank you for your interest.
I don't see why this shouldn't be possible in principle to use other frames. Since the calculations are also done in the root frame, the limitation is that in other frames these matrices need to be updated. These transformation updates should happen at every time step, which was one of the reasons why I didn't tackle it yet.
For the pose references it would be similar, but I only allowed the root frame since the controller should be able to quickly process updates without any TF lookups. Similar reasoning for the wrench references. Right now it can be given in an arbitrary frame, but they are immediately transformed into the root frame and not updated, since that would require continuous updates.
One of the things to consider is that some robots like the Franka Emika Robot strictly require frequent control commands at 1kHz. Nevertheless, my take is that it's possible, even with the 1 ms time limit and would just need to be done.
If you want to make a PR, I am happy to review and merge it.

Hi thanks for the answer.
Indeed I would like to try it on a real franka ;)
I was looking at the code, to see what should be changed (for now regarding the different reference for the Cartesian Stiffness).
The control is here:
https://github.com/matthias-mayr/Cartesian-Impedance-Controller/blob/3c6b61697b67366b05dea9661527310c4bd972ef/src/cartesian_impedance_controller.cpp#L268
Hence, is it here that should I transform the error_ and the _jacobian ?
Any other clues should I take care?

Hi, I just opened a PR solving both my questions. I tried also on a real franka and things still work.
I rotated some matrices according to a new frame control_frame settable as rosparam.
The pose reference subscriber now considers the frame_id field of the message
You can check my modifications if you like them.
Best!