make petalinux sysroot target .PHONY

Add .PHONY: sysroot to the petalinux directory Makefile, otherwise the sysroot target will always be up-to-date as the target name is the same as the SYSROOT directory name.
This target must execute before the further steps of the platform build occur.
https://github.com/Xilinx/mlir-air/blob/4b3a639f0d84285f07de280cc69b80d0101bee3d/platforms/xilinx_vck190_air/petalinux/Makefile#L33

Thank you @muwyse-amd for the fix here!


Feature Request: Documentation to unit test functional router guard

Describe the feature or problem you'd like to solve
Angular deprecated the use of class based router guard, in favor of functional guard.
I did not find documentation to test router guard of such nature on the reference page (https://ng-mocks.sudo.eu/guides/routing-guard)
Proposed solution
Writing a documentation for this kind of implementation (functional router guard) will be needed, as more and more developers will follow angular guideline to use such instead of class based guards.
Additional context
Thanks @satanTime for the message on gitter.
--
I tried to follow https://ng-mocks.sudo.eu/guides/routing-guard but it does not seems to work (tested canMatchFn & canActivateFn guards)

v14.10.0 has been released and contains a fix for the issue. Feel free to reopen the issue or to submit a new one if you meet any problems.

Thanks a lot @satanTime

Always welcome, @qdelettre! 🤘🤘🤘


index: introduce basic add()

Building entries from file/directory and adding them at a specific key. Similar to dvc add, but without hashing. Allows us to virtually add files/directories to the index, without having to have everything locally.

Codecov Report
Base: 53.00% // Head: 53.63% // Increases project coverage by +0.63% :tada:

Coverage data is based on head (0df0c1d) compared to base (2e6d0ca).
Patch coverage: 100.00% of modified lines in pull request are covered.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #200      +/-   ##
==========================================
+ Coverage   53.00%   53.63%   +0.63%
==========================================
  Files          47       48       +1
  Lines        2730     2763      +33
  Branches      468      387      -81
==========================================
+ Hits         1447     1482      +35
+ Misses       1216     1215       -1
+ Partials       67       66       -1

Impacted Files
Coverage Δ

src/dvc_data/index/__init__.py
100.00% <100.00%> (ø)

src/dvc_data/index/add.py
100.00% <100.00%> (ø)

tests/test_index.py
100.00% <100.00%> (ø)

src/dvc_data/index/build.py
91.66% <0.00%> (+8.33%)
:arrow_up:

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


fix(provisioning): add cilium taint and label

Description
Adds cilium startup taint (https://karpenter.sh/docs/concepts/nodepools/#cilium-startup-taint) and add cillium ebpf-dataplaine label (so that Karpenter can take the corresponding DaemonSet into account when computing the expected overhead), to example and default E2E NodePools.
How was this change tested?

make presubmit
E2E - pending

Does this change impact docs?

[ ] Yes, PR includes docs updates
[ ] Yes, issue opened: #
[ ] No

Release Note

Pull Request Test Coverage Report for Build<PHONE_NUMBER>0
Details

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

Totals

Change from base Build<PHONE_NUMBER>4:
0.0%

Covered Lines:
36307

Relevant Lines:
37084

💛  - Coveralls


Avoid NDArray indexing in inference.

Surprisingly, allocating memory for sequences/attentions once in beam search and writing to index t seems to be slower than concatenating with every step.
Likewise, getting rid of the pad_dist write to C.PAD_ID index is faster.
This change gives about +1.5 sent/sec on a laptop/CPU with latest MXNet.
I have no access to a GPU right now, so no data on GPU performance. @tdomhan?
Pull Request Checklist

[x] Changes are complete (if posting work-in-progress code, prefix your pull request title with '[WIP]'
until you can check this box.
[x] Unit tests pass (pytest)
[x] System tests pass (pytest test/system)
[x] Passed code style checking (./style-check.sh)

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

I can test it.

Nice improvement!  Using 4 physical CPUs with mxnet-mkl, the translation speed goes up slightly as well with identical output.  Still need to test on GPUs, but looking good.

This is just one run each, but the gains are pretty consistent:
Seconds / sentence (lower better). P2 (top) and P3 (bottom).
|          |      5 |     10 |     20 |
|----------+--------+--------+--------|
| baseline | 0.5681 | 0.6720 | 0.8557 |
| no_index | 0.5517 | 0.6382 | 0.8100 |
|----------+--------+--------+--------|
| baseline | 0.2828 | 0.3110 | 0.3730 |
| no_index | 0.2495 | 0.2884 | 0.3500 |

this is additive to the improvements in the “blocks” and “gemm” branches which further improve things.
Once this is merged, I will rebase those branches.

I guess one thing we forgot on this was to bump the version and add a note.


Cleanup .gitignore

Cleanup .gitignore
.DS_Store is a system-wise ignore pattern

Which happens to apply to me :) I'd rather keep it, thanks though

I find that a lot of devs forget to add a global exclusion list to git as well, so it just makes things easier than asking that they delete the files.

True - In some ways a "per repository user custom ignore" feature is missing from Git...


Update peerDependencies to include React 18

Using this package together with React 18 will result in a dependency conflict. This updates peerDependencies to allow React 18.

@HarshRohila any chance this can be approved?


fix: export font-family css var design tokens and correct documentation

Github Issue or Trello Card
We're currently not making the font family design tokens available as css variables. This PR fixes that as well as corrects the variable names in the documenation.
What type of change is this?
Please delete options that are not relevant.

[x] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] Updating documentation.
[ ] Updating deployment/build pipeline.
[ ] Updating Project Dependencies
[ ] Improving or adding to Test Coverage

Completeness Checklist

[ ] TESTS: My changes maintain the baseline required test coverage, as specified by code climate analysis.
[ ] DOCS: All new component work is covered in that component's Overview docs.
[ ] DOCS: All new component work is covered in a component Playground.
[ ] DOCS: All new visual changes or options are covered under relevant components' VisualTests.
[ ] My code has no linting or typescript compile warnings.
[ ] My work is tied to a Github issue and satisfies the acceptance criteria (if applicable) of the corresponding issue.

Quality Checklist:

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

UI Checklist

[ ] I have conducted visual UAT on my changes/features.
[ ] My solution works well on desktop, tablet, and mobile browsers.

@juanfabrega In order for the css variables to work, the quotation marks around the font families needs to be removed. I can't figure out how to do that.
This in build/css/variables-assets.css


Filtering by badge is difficult

Checklist

[X] I'm reporting a problem with Chatterino
[X] I've verified that I'm running the most recent nightly build or stable release
[X] I've looked for my problem on the wiki
[X] I've searched the issues and pull requests for similar looking reports

Describe your issue
I want to filter my chat based on a badge, but I can only filter based on the badge key, which is not accessible to me as a normal user. I only have access to the badge text.
Screenshots
No response
OS and Chatterino Version

As a solution, we should add another filter author.badge_texts or something like that that's a list of your badges display texts, rather than the keys. That allows for more "temporary" badge filters as Twitch may choose to edit the display text at any time.

I think having access to the badge text would also allow to filter by sub length/tier with some clever regexes.

Or perhaps an option to expose the badge keys so we can use them in filters would be in order.


Next swallows logs from custom servers

I loved next.js log, which indicated compiling status so well.
But It seems eat all console.log from custom server and might make debugging harder.
// version
"next": "^2.0.0-beta.13"
"node": 6.9.1

I didn't exactly got the question.
But you could try something like this:
const app = next({ dev, quiet: true })

If we get a better way to reproduce this, we could help more.

@arunoda Hmm...It seems to work now.
Just forget about it. Might get into some weird situation that day.
BTW, @timneutkens 's suggestion is nice ;)

@Huxpro @arunoda Opened #717 for that suggestion.


Removing summary doesn't update counters

Removing the summary notification doesn't update the notification counters.
Steps to reproduce:

Add one notification // message count 1
Swipe away notificaiton // message count 0
Add 3 notifications // message count 4
Swipe away summary notification // message count 4

Expected

Add 3 notifications // message count 4
Swipe away summary notification // message count 0

This sample has been deprecated/archived (check README for more information on newer samples related to this technology).
As recommended by GitHub, we are closing all issues and pull requests.


Can I reduce the time a mouseover popup takes to appear?

I'd like to reduce the time a mouseover popup on a marker takes to appear. How to I eliminate the current delay?

Do you mean the L.popup or the browser's "popup" (which is a tooltip).
As far as I know, there's no built in "popup on mouseover" in L.popup.
As for the browser's tooltip, I don't think you can change it through javascript.

It seems that I meant the tooltip. Thank you for that clarification.
If it can't be done via Javascript, I'll close this issue.


AssertionError: assert depth * 3 + len(self.offset).bit_length() <= 63 when inferencing on my LiDAR point clouds

Hi, thanks for the pretrained model and contributions on LiDAR semantic segmentation.
However, I met problems when I tried to predict the labels of my LiDAR point clouds using pretrained PTv3 model on Nuscenes on my dataset. I think this is because my point cloud is much denser than the point clouds provided in Nuscenes. The error is in the following: I would like to know how to solve this, should I modify the grid_size in test config?

load pcd的时候，对你的点云和segment加一个mask

load pcd的时候，对你的点云和segment加一个mask

Hi, thanks for the reply. But I am still a bit confused.
The original shape of my point clouds is [n, 4], where n represents the number of point clouds, and 4 represents x, y, z and strenth. In order to adapt the data in Nuscenes, I expand the original point clouds to [n, 5]. n is more than 230k in my point clouds, where the number of points in Nuscenes is about 35k. At the same time, I don't have the segment results, what I want to do is to generate the masks of point clouds.
Since I'm new at processing with point clouds. Hope I don't misunderstand what you mean.

我举一个例子，你报错的时候就是depth * 3 + len(self.offset).bit_length() > 63，说明你有一帧点云不满足depth * 3 + len(self.offset).bit_length() <= 63，你可以去定位到这一帧点云，一步步往前翻到底是哪一步计算出来的激光不满足条件了。根据我的经验，应该是你的点云数据某一帧或者几帧点的x,y,z过大，导致不满足条件，所以我的意思是，你不是从pcd读取x,y,z值么，你限制一下，超过多少米的不要了，只要一定范围之内的点云，这样就好了。另外根据你的描述，你没有GT值，应该只是用来推理，没有segment很正常，那为什么shape会是(n,5)？而不是(n,3)，应该coord的shape是(n,3)才对啊，没有segment的话，会默认为-1，不用管，只不过输出的miou会是0而已

Thanks for the explanation. About the dimension, the fourth dimension of my point clouds is the strength required for the pretrained model for Nuscenes. The fifth dimension is just to adapt the data shape of point clouds in Nuscenes which is useless.
I will try to set a threshold for x, y, z and see if this will be solved.
再次感谢大哥！

Hi, it is because your custom point cloud has a really long real-world range, maybe you can choose to crop the point cloud or increase the grid size in both augmentation and ptv3 model. I think 0.1 is a good choice.

Hi, it is because your custom point cloud has a really long real-world range, maybe you can choose to crop the point cloud or increase the grid size in both augmentation and ptv3 model. I think 0.1 is a good choice.

Thanks for the reply, my problem was solved!

@BotaoSun Hello, I encountered similar issues while training with NuScenes and SemanticKITTI. How did you ultimately resolve them?Thank you very much for your help.

@BotaoSun Hello, I encountered similar issues while training with NuScenes and SemanticKITTI. How did you ultimately resolve them?Thank you very much for your help.

Hi, maybe you could check if there exists 'inf' in the point coordinates or if there exists points exceeding the maximum range.

@BotaoSun您好，我在使用 NuScenes 和 SemanticKITTI 进行训练时遇到了类似的问题。您最终是如何解决的？非常感谢您的帮助。

您好，也许您可以检查点坐标中是否存在“inf”或者是否存在超出最大范围的点。

Hello, thank you for your response. I have indeed noticed that when I train on the NuScenes and SemanticKITTI datasets, the following warning appears each time before the error occurs, as shown in the attached image.

Additionally, I have noticed that each interruption is due to the depth being too large. Specifically, the grid_coord.max() used to calculate depth becomes abnormally large, reaching<PHONE_NUMBER>854775807.
Do you have any suggestions on how to resolve this issue for these public datasets? I greatly appreciate your help.


Changes to previously imported file cause recompilation

If a .less file (A) is imported by another .less file (B) which is in turn imported by the parent .less file (C), changes to A cause recompilation of C. If B is changed so that it no longer imports A, C is recompiled. If you then make a change to A, C is recompiled even though neither it nor any of its imports depend on file A.
Example directory structure:
content/less/desktop.less                   (imports home.less and search.less)
content/less/desktop/includes/colours.less  (contains colour variables)
content/less/desktop/pages/home.less        (just styles, no imports)
content/less/desktop/pages/search.less      (styles + import colours.less)

Example task:
gulp.task('less-watch', function () {
    return gulp
         .src(['content/less/*.less'])
         .pipe(watchLess('content/less/*.less', { verbose: true, base: 'content/less' }))
         .pipe(less())
         .pipe(gulp.dest('content/css'));
});

Steps to reproduce:

Remove the import statement from search.less
Make a change to colours.less.

Step 1 should (and does) cause a recompilation of desktop.less.
Step 2 should not (but does) cause a recompilation of desktop.less.

Maybe it's fixed as the 2.0 is more reliable on imports watch.
Can you try the new latest version to check this issue?

Sorry, not fixed.

@marsupialmouse  Please test master if the latest commit solves this issue.

@marsupialmouse The test cases covers this now.


Dotnet 5 updated syntax for C# 9.0

Updating to what's new in C# 8.0 and 9.0

Converted to draft until dotnet 5 actually hits. Build won't be successful until afew upstream changes take effect after release.

Cleaned up commits and pushed proper csproj.


"TypeError: expected string or bytes-like object" while downloading profile

Describe the bug
TypeError: expected string or bytes-like object while running instaloader profile loqesangra
To Reproduce
Run instaloader profile loqesangra
Expected behavior
Download the whole profile.
Error messages and tracebacks
[195/319] loqesangra/2021-02-24_17-48-00_UTC.jpg exists Traceback (most recent call last):
  File "/usr/local/bin/instaloader", line 10, in <module>
    sys.exit(main())
  File "/Library/Python/3.8/site-packages/instaloader/__main__.py", line 470, in main
    _main(loader,
  File "/Library/Python/3.8/site-packages/instaloader/__main__.py", line 219, in _main
    instaloader.download_profiles(profiles,
  File "/Library/Python/3.8/site-packages/instaloader/instaloader.py", line 1489, in download_profiles
    self.posts_download_loop(posts_to_download, profile_name, fast_update, post_filter,
  File "/Library/Python/3.8/site-packages/instaloader/instaloader.py", line 1064, in posts_download_loop
    downloaded = self.download_post(post, target=target)
  File "/Library/Python/3.8/site-packages/instaloader/instaloader.py", line 773, in download_post
    self.download_pic(filename=filename, url=post.video_url, mtime=post.date_local))
  File "/Library/Python/3.8/site-packages/instaloader/instaloader.py", line 97, in call
    return func(instaloader, *args, **kwargs)
  File "/Library/Python/3.8/site-packages/instaloader/instaloader.py", line 340, in download_pic
    urlmatch = re.search('\\.[a-z0-9]*\\?', url)
  File "/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.8/lib/python3.8/re.py", line 199, in search
    return _compile(pattern, flags).search(string)
TypeError: expected string or bytes-like object

Instaloader version
~/Downloads $ instaloader --version
/Users/marcelo/Library/Python/3.8/lib/python/site-packages/urllib3/__init__.py:34: NotOpenSSLWarning: urllib3 v2.0 only supports OpenSSL 1.1.1+, currently the 'ssl' module is compiled with 'LibreSSL 2.8.3'. See: https://github.com/urllib3/urllib3/issues/3020
  warnings.warn(
4.10

I'm also getting the same (well, nearly) error on the .exe version on multiple accounts.

Instaloader version
~/Downloads $ instaloader --version
/Users/marcelo/Library/Python/3.8/lib/python/site-packages/urllib3/__init__.py:34: NotOpenSSLWarning: urllib3 v2.0 only supports OpenSSL 1.1.1+, currently the 'ssl' module is compiled with 'LibreSSL 2.8.3'. See: https://github.com/urllib3/urllib3/issues/3020
  warnings.warn(
4.10

Does this also happen with a recent Instaloader version?

Hi @aandergr , I uploaded the version:
 ~/psl/instaloader $ instaloader --version
4.13.1

and now I'm getting:
[195/320] loqesangra/2021-02-24_20-42-32_UTC.jpg [Si chequeaste las stories y n…] json
[196/320] loqesangra/2021-02-24_17-48-00_UTC.jpg Traceback (most recent call last):
  File "/opt/anaconda3/bin/instaloader", line 8, in <module>
    sys.exit(main())
             ^^^^^^
  File "/opt/anaconda3/lib/python3.12/site-packages/instaloader/__main__.py", line 563, in main
    exit_code = _main(loader,
                ^^^^^^^^^^^^^
  File "/opt/anaconda3/lib/python3.12/site-packages/instaloader/__main__.py", line 300, in _main
    instaloader.download_profiles(profiles,
  File "/opt/anaconda3/lib/python3.12/site-packages/instaloader/instaloader.py", line 1506, in download_profiles
    self.posts_download_loop(posts_to_download, profile_name, fast_update, post_filter,
  File "/opt/anaconda3/lib/python3.12/site-packages/instaloader/instaloader.py", line 1076, in posts_download_loop
    downloaded = self.download_post(post, target=target)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/opt/anaconda3/lib/python3.12/site-packages/instaloader/instaloader.py", line 778, in download_post
    self.download_pic(filename=filename, url=post.video_url, mtime=post.date_local))
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/opt/anaconda3/lib/python3.12/site-packages/instaloader/instaloader.py", line 97, in call
    return func(instaloader, *args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/opt/anaconda3/lib/python3.12/site-packages/instaloader/instaloader.py", line 340, in download_pic
    urlmatch = re.search('\\.[a-z0-9]*\\?', url)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/opt/anaconda3/lib/python3.12/re/__init__.py", line 177, in search
    return _compile(pattern, flags).search(string)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: expected string or bytes-like object, got 'NoneType'

Does this also happen with a recent Instaloader version?

Just updated to 4.13, yes, same as it always has.
Traceback (most recent call last):   File "__main__.py", line 609, in <module>   File "__main__.py", line 606, in __main   File "__main__.py", line 563, in main   File "__main__.py", line 300, in _main   File "instaloader\instaloader.py", line 1483, in download_profiles   File "instaloader\instaloader.py", line 1276, in download_tagged   File "instaloader\instaloader.py", line 1076, in posts_download_loop   File "instaloader\instaloader.py", line 778, in download_post   File "instaloader\instaloader.py", line 97, in call   File "instaloader\instaloader.py", line 340, in download_pic   File "re\__init__.py", line 177, in search TypeError: expected string or bytes-like object, got 'NoneType' [10836] Failed to execute script '__main__' due to unhandled exception!

Hi @aandergr , I uploaded the version:
 ~/psl/instaloader $ instaloader --version
4.13.1

Thanks for trying with the latest version. Indeed, it is reproducible that for this post (shortcode CLrxLZglPIC), the video_url field is None and the download aborts with the mentioned error message.

Expected behavior
Download the whole profile.

The video of that particular post cannot be accessed even when accessing Instagram with the browser, making it unlikely that Instaloader can access it. However, Instaloader should not fail with an error and abort the whole download process, rather it should skip downloading this video, show a warning message, and continue.


Please upgrade Apache httpclient dependency to 4.5.3

Version 4.5.3 fixes a number of defects, and one of them caused an issue in our project. The issue disappeared after we included 'org.apache.httpcomponents:httpclient:4.5.3' into the classpath.

No problem. I updated the dependency and uploaded a new snapshot. If you wish you can try it as follows:
buildscript {
    repositories {
        jcenter()
        maven {
            url "https://oss.sonatype.org/content/repositories/snapshots/"
        }
    }
    dependencies {
        classpath 'de.undercouch:gradle-download-task:3.2.1-SNAPSHOT'
    }
}

apply plugin: 'de.undercouch.download'

Let me know if the snapshot solves your problem or not.


Require that sub-classes include default params when overriding concrete functions

Suggestion
I almost introduced a bug today due to the following code:
class Parent {
    foo(baz = false) {
        this.bar(baz);
    }

    bar(baz = false) {
        console.log(baz)
    }
}

class Child extends Parent {
    foo(baz = false) {
        // some extra logic
        return super.foo(baz)
    }

    bar() { // this should fail to compile because bar is an override and is missing the optional param
        // some extra logic
        return super.bar();
    }
}

const x = new Child();
x.bar(true); // fails because extra param

I think Child should fail to compile because Child.bar does not contain an optional param. Otherwise, Parent's this.bar(baz) call seems unsafe because it includes a parameter that a sub-class can ignore.
Additionally, this seems like the concrete mirror of the follow abstract setup, which rightly fails to compile:
abstract class Parent {
    foo(baz = false) {
        this.bar(baz);
    }

    abstract bar(baz?: boolean): void;
}

class Child extends Parent {
    foo(baz = false) {
        return super.foo(baz)
    }

    bar() { // fails
        console.log();
    }
}

Here, Child.bar rightly fails to compile for not accepting an optional parameter. This feels like an inconsistency?
🔍 Search Terms
sub-class sub class override default param parameter fail
✅ Viability Checklist
This would be a breaking change, but otherwise this seems to be an inconsistency at best and dangerous at worst.

This is by design on the basis that omitting the parameter is the same as actually including it and then ignoring it at runtime.  See https://github.com/microsoft/TypeScript/wiki/FAQ#why-are-functions-with-fewer-parameters-assignable-to-functions-that-take-more-parameters
Enforcing this would mean you’d always have to include all parameters in callbacks even if you don’t use them (the index param of an arr.map(), for instance).
I don’t know why the abstract case has different behavior, though.

Here, Child.bar rightly fails to compile for not accepting an optional parameter.

But I don't see any error here.

@whzx5byb well there goes half my argument - good catch.
I've known about https://github.com/microsoft/TypeScript/wiki/FAQ#why-are-functions-with-fewer-parameters-assignable-to-functions-that-take-more-parameters but didn't make the connection here

@boconnell Yeah, method overrides are checked in terms of “is this function assignable to the one in the base class?” so the same argument applies as in that FAQ entry.


dotnet test without shared runtime

From @Rast1234 on Tuesday, 23 April 2019 12:06:14
Currently we run our apps with heavily customized corporate docker image. We publish self-contained apps, because we deemed it too time consuming and potentially problematic to get shared runtime to run in there.
So basically we do this (extra stuff omitted) in microsoft's SDK image:
RUN dotnet restore "Foo.csproj" --runtime linux-x64
RUN dotnet build "Foo.csproj" --runtime linux-x64 --no-restore
RUN dotnet publish "Foo.csproj" --runtime linux-x64 --no-restore --self-contained

Then we copy results to our image and just run the binary.
Is it possible to publish and run tests the same way? I am aware that test project is not executable by itself and requires a test runner. Test runner relies on shared runtime AFAIK. Can we get a self-contained test runner somehow? Or integrate it into test project maybe?
Copied from original issue: dotnet/sdk#3170

@Rast1234 you can take a reference on Microsoft.TestPlatform itself https://www.nuget.org/packages/Microsoft.TestPlatform/16.0.2-preview-20190502-01

Locking this conversation, if you want to get back to us on this, please open a new issue.


Transform part in Train

    for b in range(batch_size):
            center = molgrid.float3(float(centers[b][0]), float(centers[b][1]), float(centers[b][2]))
            #intialise transformer for rotaional augmentation
            transformer = molgrid.Transform(center, 0, True)
            #center=transformer.get_quaternion().rotate(center.x,center.y,center.z)
            # random rotation on input protein
            transformer.forward(batch[b],batch[b])
            # Update input tensor with b'th datapoint of the batch
            gmaker.forward(center, batch[b].coord_sets[0], input_tensor[b])

The above code takes part in train.py. Can you explain why you are using this code please?
Why do we need to rotate or another processes on coordinates data while we train our data?
I am asking this question because
transformer.get_rotation_center().x is equal to centers[b][0]
transformer.get_rotation_center().y is equal to centers[b][1]
transformer.get_rotation_center().z is equal to centers[b][2]
What is your main goal by using transformer here ?

Transform is used to apply a random rotation to the input protein around the center

Does this provide more information to the model to improve accuracy?  but how?
With these questions, I hope that your valued paper will be cited more because people understand better in the light of your answers. Thank you.

Its basically for data augmentation and to make the model more robust to random rotations along any axis passing through the center.

Great answer

Hello @drorhunvural have you re-run data preparation for a custom data? If yes, please help me.
I am trying to use the instruction to prepare data for training a new classifier.
I have stuck in make_types step because I can't find train.txt and test.txt files.
Moreover, I have 4 questions:

If I want to add several pdb files to the available scPDB dataset, how can I complete it?
The instruction for preparing data only works for a single pdb file, does it? If not, I need to write a pipeline to wrap up it.
How to prepare train.txt and test.txt files to run make_types.py?
Could you please show me which file/folder needed inputting from previous to each step?

I am tried on this pdb.
Thank you very much.
p.s: I have asked in the issue https://github.com/devalab/DeepPocket/issues/26.


publish using zip deploy is not supported for virtual application

For deployment issues, please provide us with the following information:

Repro steps.

your project built successfully on your dev machine but failed on Azure? Yes

The log/error given by the failure.

I am tyring to deploy an application as virtual application in Azure app service (eg site/wwwroot/app1) using zip deploy. But im getting the following error.
"publish using zip deploy is not supported for virtual application"

i came acrorss this thread https://github.com/Microsoft/azure-pipelines-tasks/issues/10035, where the same problem was reported. and closing notes as "it is a feature request to Azure App Service. Can you please post your query here?"
is this feature  still not available?

Hi
You can use the new /publish endpoint (aka OneDeploy) on App Service.
For more info:
https://learn.microsoft.com/en-us/azure/app-service/deploy-zip?tabs=cli#kudu-publish-api-reference
If the problem persists, please file incidents in Azure, so we can better track and assist on this case:
https://learn.microsoft.com/en-us/azure/azure-portal/supportability/how-to-create-azure-support-request
Thanks,
Joaquin


ads closed automatically in 1 second at Samsung note 9.

Hello.
It works well at iOS device and Galasy Edge.
Problem occurs at Samsung note9.
This error log.
2019-07-12 18:48:15.537 25716-25716/com.xxxx.xxx D/GenericAdPlugin: AdMob, onAdDismiss, {'adNetwork':'AdMob','adType':'rewardvideo','adEvent':'onAdDismiss'}
2019-07-12 18:52:14.459 25716-25725/com.xxx.xxxx D/StrictMode: StrictMode policy violation: android.os.strictmode.WebViewMethodCalledOnWrongThreadViolation
2019-07-12 18:52:15.587 25716-27215/com.xxx.xxxx E/FA: Missing google_app_id. Firebase Analytics disabled. See https://goo.gl/NAOOOI
Thank you in advance.
Paul.

and, this error log.
2019-07-12 18:52:14.459 25716-25725/com.xxx.xxxx D/StrictMode: StrictMode policy violation: android.os.strictmode.WebViewMethodCalledOnWrongThreadViolation

Sorry I can't help with your issue, but I am just curious whether it's normal that I don't get any ad impression recognized, when I watch my ads from my friends phone. That's pretty weird, is it possible that Ratson integrated something to show his own ads instead of mine? :(


Can't add more than 5 services in the ESP-IDF BLE (IDFGH-8750)

Answers checklist.

[X] I have read the documentation ESP-IDF Programming Guide and the issue is not addressed there.
[X] I have updated my IDF branch (master or release) to the latest version and checked that the issue is present there.
[X] I have searched the issue tracker for a similar issue and not found a similar issue.

General issue report
ESP-IDF example as base:
I'm using this code as a base, a GATT server:
https://github.com/espressif/esp-idf/tree/master/examples/bluetooth/bluedroid/ble/gatt_server
At first everything was fine, with 5 services, but when I added one more service the kernel returned an error status 128. It doesn't even call the events I set up in the big switch-case, in the enum constants esp_gatts_cb_event_t.
The error:
I did all the configuration of the 6 services correctly. I know this because if I only enter 5 services, all five will work perfectly no matter which one.
In this case, the last service added (the sixth one, no matter which one) gives me an error:
"(1399) BLE TASK: Reg app failed, app_id 0005, status 128"
The code:
Below is the function that registers the services:
void vInitBluetooth(void) {
    esp_err_t ret;

    // Initialize NVS.
    ret = nvs_flash_init();
    if (ret == ESP_ERR_NVS_NO_FREE_PAGES || ret == ESP_ERR_NVS_NEW_VERSION_FOUND) {
        ESP_ERROR_CHECK(nvs_flash_erase());
        ret = nvs_flash_init();
    }
    ESP_ERROR_CHECK(ret);

    ESP_ERROR_CHECK(esp_bt_controller_mem_release(ESP_BT_MODE_CLASSIC_BT));

    esp_bt_controller_config_t bt_cfg = BT_CONTROLLER_INIT_CONFIG_DEFAULT();
    ret = esp_bt_controller_init(&bt_cfg);
    if (ret) {
        ESP_LOGE(GATTS_TAG, "%s initialize controller failed: %s\n", __func__, esp_err_to_name(ret));
        return;
    }

    ret = esp_bt_controller_enable(ESP_BT_MODE_BLE);
    if (ret) {
        ESP_LOGE(GATTS_TAG, "%s enable controller failed: %s\n", __func__, esp_err_to_name(ret));
        return;
    }
    ret = esp_bluedroid_init();
    if (ret) {
        ESP_LOGE(GATTS_TAG, "%s init bluetooth failed: %s\n", __func__, esp_err_to_name(ret));
        return;
    }
    ret = esp_bluedroid_enable();
    if (ret) {
        ESP_LOGE(GATTS_TAG, "%s enable bluetooth failed: %s\n", __func__, esp_err_to_name(ret));
        return;
    }

    ret = esp_ble_gatts_register_callback(gatts_event_handler);
    if (ret) {
        ESP_LOGE(GATTS_TAG, "gatts register error, error code = %x", ret);
        return;
    }
    ret = esp_ble_gap_register_callback(gap_event_handler);
    if (ret) {
        ESP_LOGE(GATTS_TAG, "gap register error, error code = %x", ret);
        return;
    }
    ret = esp_ble_gatts_app_register(PROFILE_ANGLE_APP_ID);
    if (ret) {
        ESP_LOGE(GATTS_TAG, "gatts app register error, error code = %x", ret);
        return;
    }
    ret = esp_ble_gatts_app_register(PROFILE_P_CONTROL_APP_ID);
    if (ret) {
        ESP_LOGE(GATTS_TAG, "gatts app register error, error code = %x", ret);
        return;
    }
    ret = esp_ble_gatts_app_register(PROFILE_I_CONTROL_APP_ID);
    if (ret) {
        ESP_LOGE(GATTS_TAG, "gatts app register error, error code = %x", ret);
        return;
    }
    ret = esp_ble_gatts_app_register(PROFILE_D_CONTROL_APP_ID);
    if (ret) {
        ESP_LOGE(GATTS_TAG, "gatts app register error, error code = %x", ret);
        return;
    }
    ret = esp_ble_gatts_app_register(PROFILE_MODE_CONTROL_APP_ID);
    if (ret) {
        ESP_LOGE(GATTS_TAG, "gatts app register error, error code = %x", ret);
        return;
    }
    ret = esp_ble_gatts_app_register(PROFILE_SENSOR_CONTROL_APP_ID);
    if (ret) {
        ESP_LOGE(GATTS_TAG, "gatts app register error, error code = %x", ret);
        return;
    }
    esp_err_t local_mtu_ret = esp_ble_gatt_set_local_mtu(500);
    if (local_mtu_ret) {
        ESP_LOGE(GATTS_TAG, "set local  MTU failed, error code = %x", local_mtu_ret);
    }
}

I changed the maximum number of services in menuconfig (the variable CONFIG_BT_GATT_MAX_SR_PROFILES) to 9, but it doesn't seem to have any effect.
Does anyone have any ideas?

https://github.com/espressif/esp-idf/issues/1644#issuecomment-369189302

Hi, @pedrobotelho15 , Please tell me which IDF version (git describe --tags) and which chip you are using.
I have not reproduced the problem you encountered, my test code is as follows, please check if it is different from your code
https://github.com/xulongzhuang/tmp_examples/blob/master/gatt_server/main/gatts_demo.c
In my test code, the setting of CONFIG_BT_GATT_MAX_SR_PROFILES is valid, when CONFIG_BT_GATT_MAX_SR_PROFILES is set to 5 but I registered 6 APP_ID, the same error as yours will appear (error status 128)， But if CONFIG_BT_GATT_MAX_SR_PROFILES is set to 8 or 9, the program can run normally

@boltragons Does this problem still exist in the latest IDF version?

Hi, I have the same problem, regardless of what I set CONFIG_BT_GATT_MAX_SR_PROFILES to be it always fails to register the 3rd profile. I have the same error message Reg app failed, app_id 2, status 128.
This used to register successfully until I registered a new service before it, therefore hitting the limit.
I am unsure as to why editing CONFIG_BT_GATT_MAX_SR_PROFILES does not work.
I wonder if there is another define overwriting this sdkconfig value?
I am using ESP-IDF v5.1.4

Thanks for reporting, will close due to inactivity, feel free to reopen with more updates.


HIVE-26905: Backport HIVE-25173 to 3.2.0: Exclude pentaho-aggdesigner-algorithm from upgrade-acid build.

What changes were proposed in this pull request?
Exclude pentaho-aggdesigner-algorithm from upgrade-acid build.
Why are the changes needed?
In the current branch-3, upgrade-acid has a dependency on an old hive-exec version that has a transitive dependency to org.pentaho:pentaho-aggdesigner-algorithm. This artifact is no longer available in commonly supported Maven repositories, which causes a build failure. We can safely exclude the dependency, as was originally done in HIVE-25173.
Differences from the master patch branch are:

On master, this applied to the pre-upgrade sub-module. This sub-module doesn't exist in branch-3, so the patch was rebased to the parent upgrade-acid module.
Additionally, the pom.xml code had changed quite a bit on master. This is just applying the equivalent exclusion from the HIVE-25173 diff: a1d4c8a6b3cf8465ac1ae074748a8f5a04bb473f.

Does this PR introduce any user-facing change?
No.
How was this patch tested?
I can run a full local build from branch-3 after applying this patch.
mvn -B -T 8 clean install -Pitests -DskipTests

Prior to this patch, my build failed while trying to download the org.pentaho:pentaho-aggdesigner-algorithm artifact.

@amanraj2520 , FYI on another branch-3 patch.


fix(bootstrap): missing bootstrap include

The bootstrap imports are missing.

nevermind i see they have been moved to the index.html


Getting error ReferenceError: Cannot access 'Base' before initialization

I'm getting the error in the title when trying to run dev locally.

How are you running it locally? Works fine for me with 'vercel dev'.

I get the same error using vercel dev, hmmmm I'll keep digging

this should be resolved with https://github.com/pseudozach/nostr.directory/commit/6b32efd409266aee46b0d6d460f22efa62803429
please let me know if you're still having issues


How to develop REST resources in Intershop Commerce Platform

How to develop REST resources in the Intershop Commerce Platform. Stefan Holzknecht a long time employee will show you how to create new and how to customize existing resources. He will demonstrate how Google Guice can help you with those normal tasks.

The VOD is now available on Youtube: https://youtu.be/kfeZ1zOAlJ0


Add platform-specific release configuration

Match macOS wd_benchmark link options with wd_binary options
Correct spelling of WIN32_LEAN_AND_MEAN
/await and /GF are ignored by clang-cl, no need to pass them in the
Windows build.

Thank you for reviewing James!
CC @penalosa @mrbbot @jp4a50 this has nothing that should cause breakage per se, but there are release configuration changes that did not go through CI before. If problems pop up with releases, please shout!


remove use of unsupported log4gv1

ISSUE TYPE

Improvement Request

https://github.com/apache/cloudstack/blob/main/pom.xml#L79
Log4jv1 has not been supported in many years and has multiple CVEs open against it. The ASF gets multiple daily queries/requests about log4j and most of them are expecting us to upgrade

log4jv2 2.17.1 and above is one option
reload4j is a fork of log4j that is maintained

Thanks for the report, I've raised a PR to fix this issue. https://github.com/apache/cloudstack/pull/5878

Fixed in #5878


👷 use latest major version for actions/checkout

Before submitting a pull request make sure you have:

[x] Searched the bugtracker for similar pull requests
[x] Read adding new extractor tutorial
[x] Read youtube-dl coding conventions and adjusted the code to meet them
[x] Covered the code with tests (note that PRs without tests will be REJECTED)
[x] Checked the code with flake8

In order to be accepted and merged into youtube-dl each piece of code must be in public domain or released under Unlicense. Check one of the following options:

[x] I am the original author of this code and I am willing to release it under Unlicense
[ ] I am not the original author of this code but it is in public domain or released under Unlicense (provide reliable evidence)

What is the purpose of your pull request?

[ ] Bug fix
[x] Improvement
[ ] New extractor
[ ] New feature

Description of your pull request and other information
Use latest major version of actions/checkout for GitHub Actions.

What would be useful is to go through the CI here, and in the dependent actions repos here, and in the nightly repo (separate PRs, obvs) changing all uses to v4 **and setting progress: false in the with parameter list (see the action changelog and PR 1067 describing this). If you, or anyone, does do so, pls announce any new PRs from the other repos here.

Hey @dirkf , are you interested in my PR or should I close it? Can I help in anyway with your CI or what will be done…? 🤔

I just love the pointless version dependency hell that is the GH actions ecosystem.
Apparently changing to v4 might clear some warnings about node.js versions. Why that needs new major version is far from clear. But we do get the new --show-progress option that we should set, as above. Instead we could set version master, or whatever syntax, if it exists, that means v4 or later (is this field actually a git commit-ish ?)
Then we need to make the equivalent changes in the nightly repo.

That looks better! But I'm still undecided whether it's appropriate to use @v4, @master, or no version.
To expand on https://github.com/ytdl-org/youtube-dl/pull/32672#issuecomment-2150330366, in principle it should be enough to use @v4. However the action devs don't maintain a v4 interface. Instead if they want to use a new version of, say, Node (an internal change that should not affect action functionality) they make the change in the latest release only, so propagating their technical debt to all users of the action. Those users then have to update the action version even if they are not using any new features of the action.


When expand one item, how to collapse all the others

Hi,
I'm trying to find a way to collapse all the expanded parent item when another one is expanding.
Is it possible?

This is in principle doable (i've done that in version 1.0.3 with this library see https://github.com/bignerdranch/expandable-recycler-view/issues/55 as reference to close parents prior to version 2.0.0 ) but i think in this version there is a bug see https://github.com/bignerdranch/expandable-recycler-view/issues/91 as an (not yet working) excample

I try your VERSION3 solution and it works. But unfortunately I've a particular layout who animates based on collapsing/expanding.
@pythoneer I have another small question...how can I determine the parent position based on one of the children click event (assuming to have more than one parent opened)?

@nicopasso regarding your position problem. The easiest way would be to use the version suggested by paul-turner at my other issue #91 . Do not use the ontouch listener cuz it was just a workaround. if you use the version from paul-turner you already get the clicked item position if you need to scroll the view to that position – like myself – use this code instead
        @Override
        public void onParentListItemExpanded(int position) {
            Object parent = mItemList.get(position);
            collapseAllParents();
            position = mItemList.indexOf(parent);
            LinearLayoutManager llm = (LinearLayoutManager) mRecyclerView.getLayoutManager();
            llm.scrollToPositionWithOffset(position, 0);
            // Alternatively keep track of the single item that is expanded and explicitly collapse that row (more efficient)
            super.onParentListItemExpanded(position);
        }

With this solution seems like when a click occurs on an expanded parent item, the expanded parent is not collapsing anymore. It collapse only when the click occurs on one of the others collapsed parent.
I'm doing something wrong?

@nicopasso i have the same behavior. I guess its due to the effect of callapsing all items while one – the current one – is also expanding. I've not looked at the library code but i guess the lib code is toggling instead of following the "real" state and setting it expanded or collapsed. Some kind of race condition i would say. So to avoid this, you simply collapse all parents but the current one being clicked on. This works for me:
        @Override
        public void onParentListItemExpanded(int position) {
            Object parent = mItemList.get(position);
//            collapseAllParents();
            for(int idx = 0; idx < mItemList.size(); idx++) {
                if(idx != position) {
                    collapseParent(idx);
                }
            }
            position = mItemList.indexOf(parent);
            LinearLayoutManager llm = (LinearLayoutManager) mRecyclerView.getLayoutManager();
            llm.scrollToPositionWithOffset(position, 0);
            // Alternatively keep track of the single item that is expanded and explicitly collapse that row (more efficient)
            super.onParentListItemExpanded(position);
        }

That didn't work for me.
I've an ArrayIndexOutOfBound exception...I think my problem is that I have more than one children under a parent and this could lead to a "bad" indexing of the parents.
Right now I've 4 parents and 8 children for every parent.
The logcat tells me that the lenght of the mItemList is 12 instead of 4, beacuse I've opened the first parent and the array add the 8 children to the mItemList.

I have used your code and got ArrayIndexOutOfBound exception.I have check when scroll with expand view then list size increase by 1 automatically.I have modify in your code and its working fine.but this is not good solution.
    @Override
    public void onParentListItemExpanded(int position) {
        Object parent = mItemList.get(position);

//            collapseAllParents();
for(int idx = 0; idx < mItemList.size(); idx++) {
if (idx != position && idx < mItemList.size() - 1) {
collapseParent(idx);
}
}
position = mItemList.indexOf(parent);
LinearLayoutManager llm = (LinearLayoutManager) mRecyclerView.getLayoutManager();
llm.scrollToPositionWithOffset(position, 0);
// Alternatively keep track of the single item that is expanded and explicitly collapse that row (more efficient)
super.onParentListItemExpanded(position);
}

Below is a quick solution. The issue lies in the call to collapse all, this changes the view of item we are about to expand to think it is collapsed even though it isn't. I'd recommend keeping track of the last expanded item instead.
We are thinking of making this a "mode" of expansion for the library, so all you have to do is set the mode when creating the adapter and we will take care of only having one expanded at the time. For now the below should fill your needs.
    @Override
    public void onParentListItemExpanded(int position) {
        Object parent = mItemList.get(position);
        collapseAllParents();    // Alternatively keep track of the single item that is expanded and explicitly collapse that row (more efficient)
        expandParent(((ParentWrapper) parent).getParentListItem());
    }

Closing this for now, will create a new issue for tracking the ideas of expand modes for the library

Hi @paul-turner
I used the code you provided in my MyExpandableAdapter.java
Everything works fine but after i browse the application, change the device configuration to landscape and switch to another application there was an error occurred related to
ArrayIndexOutOfBound in the mExpandableAdapter.onRestoreInstanceState(savedInstanceState);
Caused by: java.lang.IndexOutOfBoundsException: Invalid index 20, size is 20
at com.bignerdranch.expandablerecyclerview.Adapter.ExpandableRecyclerAdapter.getListItem(ExpandableRecyclerAdapter.java:490)
at com.bignerdranch.expandablerecyclerview.Adapter.ExpandableRecyclerAdapter.onRestoreInstanceState(ExpandableRecyclerAdapter.java:445)
at com.eyey.android.eyeynews.ui.MainActivity.onRestoreInstanceState(MainActivity.java:87)
How can i solved this issue?
Thank

@vsay01 does the crash still occur if you don't have the code I provided? it seems like this issue may be separate from the changes I suggest.

@paul-turner I tried tested it again.
I just tested it again, thing a bit different, When I put your code things work fine even i change device configuration and browse around however after a while of running by changing back and forth the applications. The same error occurred.
When i don't use your code, things work fine.
What should I do?

@vsay01 I've made a new issue (#122) to track this crash, the problem is with the restoring of state somehow, might be more likely to happen with the code we talk about here (and that is noted in the issue)

Hi guys,
I have the same issue, that occurs when there is already a child expanded.

@samy-baili, are you saying that you're seeing the same crash as the one in #122?

onBindParentViewHolder > parentPosition is always coming 0.

@NsAveek Can you be more specific with what issue you are seeing. Please open a new issue if you are seeing a bug. This issue is just a question with suggested answers.

Declare
private int lastExpandedPosition = -1;
I used a trick from Expandable ListView,
mAdapter.setExpandCollapseListener(new ExpandableRecyclerAdapter.ExpandCollapseListener() {
            @UiThread
            @Override
            public void onParentExpanded(int parentPosition) {
                if (lastExpandedPosition != -1
                        && parentPosition != lastExpandedPosition) {
                    mAdapter.collapseParent(lastExpandedPosition);
                }
                lastExpandedPosition = parentPosition;
            }

            @UiThread
            @Override
            public void onParentCollapsed(int parentPosition) {

            }
        });

Following @htooaunghlaing, i just adjust scroll position like @pythoneer answer and its work fine.
  mAdapter.setExpandCollapseListener(new ExpandableRecyclerAdapter.ExpandCollapseListener() {
            @UiThread
            @Override
            public void onParentExpanded(int parentPosition) {
                if (lastExpandedPosition != -1
                        && parentPosition != lastExpandedPosition) {
                    mAdapter.collapseParent(lastExpandedPosition);
                }
                lastExpandedPosition = parentPosition;
                LinearLayoutManager llm = (LinearLayoutManager) mRecyclerView.getLayoutManager();
                llm.scrollToPositionWithOffset(parentPosition, 0);
            }

            @UiThread
            @Override
            public void onParentCollapsed(int parentPosition) {

            }
        });

@pedrohdsl I was scratching my head for this,  Thanks

@htooaunghlaing, thanks a lot for your suggestion

have a question the others father items (not visibles because not see in size my phone), have a fix.

item not see
init screen
item
item
item
end screen
item not see

my items not see never update


Add keyboard shortcut note

Why:
Addresses https://github.com/github/feedback/discussions/6162

What's being changed:

Adds note about . potentially being inaccessible depending on user's local keyboard layout.
Check off the following:

[x] I have reviewed my changes in staging (look for "Automatically generated comment" and click Modified to view your latest changes).
[x] For content changes, I have completed the self-review checklist.

Writer impact (This section is for GitHub staff members only):

[ ] This pull request impacts the contribution experience

[ ] I have added the 'writer impact' label
[ ] I have added a description and/or a video demo of the changes below (e.g. a "before and after video")

@bamurtaugh
Thanks so much for opening a PR! I'll get this triaged for review :zap:

Please help me my problem automatic adjust


add entries for 'chws', 'vchw'

Amendment 1 of ISO/IEC 14496-22:2019 adds entries for two new feature tags:
'chws' Contextual Half-width Spacing
'vchw' Vertical Contextual Half-width Spacing

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: b624d059-5498-9f87-7be3-8ab01aaf3b89
Version Independent ID: cc92acc8-d227-09e4-a1eb-140d185308e5
Content: Registered features - Typography
Content Source: typographydocs/opentype/spec/featurelist.md
Product: typography
GitHub Login: @PeterCon
Microsoft Alias: PeterCon

Issue in OFF wording:

When using the [GPOS] type 2 lookup on a run of glyphs, it’s critical to remember to not consume the last glyph, but to keep it available as the first glyph in a subsequent run (this is a departure from normal lookup behavior).

This seems to contradict the spec for how lookup processing is done, which doesn't allow for any feature-specific processing differences.
It turns out this wording was copied from 'kern' and 'vkrn' feature descriptions. Looking into history, the wording wasn't in the TTO feature registry, but was added some time before OT 1.4.
I got feedback leading me to conclude that what was intended was actually not something for application / layout engine implementers to do as currently suggested by the text in question being in the “Application interface” portion of the feature descriptions. Rather, it appears what was likely intended was guidance to font implementations: when crafting type 2 lookups for ‘kern’/’vkrn’/’chws’/’vchw’, make sure to have the valueFormat2 field set to 0 so that the second glyph is not “consumed” as the lookup is processed over the glyph sequence but becomes the “next” glyph (first glyph for the next pair in the sequence. Otherwise, only every other pair of glyphs can be kerned.

Using revised wording for Recommended implementation and Application interface sections of 'kern' etc. feature descriptions:

Recommended implementation: The font stores a set of adjustments for pairs of glyphs (GPOS lookup type 2 or 8). These may be stored as one or more tables matching left and right classes, &/or as individual pairs. Additional adjustments may be provided for larger sets of glyphs (e.g. triplets, quadruplets, etc.) to overwrite the results of pair kerns in particular combinations.
When using a GPOS type 2 lookup, it is recommended that no positioning adjustment be applied to the second glyph in a pair. (That is, that valueFormat2 be set to 0.) As a result, the next glyph pair to be processed after the lookup has been applied to this pair will start at the second glyph. In this way, every glyph in a sequence can undergo positioning adjustment as the first glyph in a pair. Otherwise, if positioning of the second glyph is adjusted, then the next glyph pair to be processed will begin with the glyph following the second glyph. That will result in kerning adjustment happening only for every other pair of glyphs.
Application interface: The application passes a sequence of GIDs to the 'kern' table, and gets back adjusted positions (XPlacement, XAdvance, YPlacement and YAdvance) for those GIDs. When using the type 2 lookup on a run of glyphs, it’s critical to remember to not consume the last glyph, but to keep it available as the first glyph in a subsequent run (this is a departure from normal lookup behavior).

It seems that the new paragraph doesn't belong to the feature descriptions, but to the GPOS lookup type 2 description (as a note). That description states that “if valueFormat2 is set to 0, then the second glyph of the pair is the “next” glyph for which a lookup should be performed” or similar, but it’s easy to miss the significance of that.

The spec for GPOS lookup type 2 already states this.
This is correcting the misleading description for these features suggesting that a client needs to use special-case lookup processing when processing these particular features, which definitely is wrong. The change could have been reduced to only deleting the second sentence in the Application interface section. But the feature descriptions that had been submitted were intending to provide guidance on how to implement so that each glyph pair could get kerned rather than only every other glyph pair. There's no reason to remove that guidance; it's just moved into the appropriate section, Recommended implementation and worded is a way that avoids jargon like "consuming" glyphs.

Fixed for next version.

See #536 for latest draft for 'chws. See #538 for latest draft for 'vchw'.
Review feedback applicable to both can be provided here.


Auto discover Alpha Innotec SWC 140 H/K

The Alpha Innotec SWC 140 H/K from year 2012 has a MAC address starting with 40:EC:F8 (Siemens AG).

@BenPru, my heatpump wasn't detected automatically. I read the readme a looked up te MAC address and hostname. I doesn't seem to have a hostname (tried to find it using Wireshark/nmap).
I added the MAC address to the manifest. Hopefully, that does the trick.


Can't drag timeline with private mp3/mp4 file

I have uploaded a mp3 file into a private folder. What I see, with MediaElement.js, it plays, but I can't drag the timeline. When I click on timeline or drag it, it always starts from 0 seconds. Alternately if I upload in a public folder, it works and I can drag the timeline.
You can check the player here, https://bbsradio.com/podcast/unlimited-life-february-17-2021.
Can you suggest any? I have enabled the pre-load but having the same result.

Sorry issue is fixed now. For reference, solution is here: https://www.drupal.org/project/drupal/issues/3201455


Fix neuralnetwork property logic

exception::invalid_property for not allowed property should not be
ignored for some cases. So, parsing process is patched accordingly
Self evaluation:

Build test: [X]Passed [ ]Failed [ ]Skipped
Run test: [X]Passed [ ]Failed [ ]Skipped

Signed-off-by: Jihoon Lee<EMAIL_ADDRESS>

:memo: TAOS-CI Version: 1.4.20191203. Thank you for submitting PR #330. Please a submit 1commit/1PR (one commit per one PR) policy to get comments quickly from reviewers. Your PR must pass all verificiation processes of cibot before starting a review process from reviewers. If you are new member to join this project, please read manuals in documentation folder and wiki page. In order to monitor a progress status of your PR in more detail, visit http://nnsuite.mooo.com/.

Is this resolves #326 ?

Is this resolves #326 ? @kparichay

Yes, it did. #326 is closed.


ZeroSSL changes

It appears ZeroSSL has made changes and requires an email address to be registered. Please can you recommend a temporary or permanent fix. We are using the nextcloud-reloaded with Ubuntu.
`  TASK [tls-certificate : get certificates] **************************************
Monday 14 June 2021  18:52:43 +0000 (0:00:00.418)       0:00:55.981 ***********
fatal: [localhost]: FAILED! => changed=true
cmd:

./acme.sh
--issue
--home
/opt/acme/sh
--config-home
/opt/acme/sh/conf
--domain
test1943.objectivedatastorage.com
--keylength
ec-256
--cert-home
/opt/acme/sh/certs
--cert-file
/etc/ssl/private/test1943.objectivedatastorage.com/test1943.objectivedatastorage.com.crt
--keylength
ec-256
--cert-home
/opt/acme/sh/certs
--cert-file
/etc/ssl/private/test1943.objectivedatastorage.com/test1943.objectivedatastorage.com.crt
--key-file
/etc/ssl/private/test1943.objectivedatastorage.com/test1943.objectivedatastorage.com.key
--ca-file
/etc/ssl/private/test1943.objectivedatastorage.com/ca.crt
--fullchain-file
/etc/ssl/private/test1943.objectivedatastorage.com/fullchain.crt
--webroot
/var/www/letsencrypt
--reloadcmd
systemctl restart nginx
delta: '0:00:00.550492'
end: '2021-06-14 18:52:44.005657'
failed_when_result: true
msg: non-zero return code
rc: 1
start: '2021-06-14 18:52:43.455165'
stderr: |-
[Mon Jun 14 18:52:44 UTC 2021] Please add '--debug' or '--log' to check more details.
[Mon Jun 14 18:52:44 UTC 2021] See: https://github.com/acmesh-official/acme.sh/wiki/How-to-debug-acme.sh
stderr_lines:
stdout: |-
[Mon Jun 14 18:52:43 UTC 2021] Using CA: https://acme.zerossl.com/v2/DV90
[Mon Jun 14 18:52:43 UTC 2021] Create account key ok.
[Mon Jun 14 18:52:43 UTC 2021] No EAB credentials found for ZeroSSL, let's get one
[Mon Jun 14 18:52:43 UTC 2021] acme.sh is using ZeroSSL as default CA now.
[Mon Jun 14 18:52:43 UTC 2021] Please update your account with an email address first.
[Mon Jun 14 18:52:43 UTC 2021] acme.sh --register-account -m<EMAIL_ADDRESS>[Mon Jun 14 18:52:44 UTC 2021] See: https://github.com/acmesh-official/acme.sh/wiki/ZeroSSL.com-CA
stdout_lines: `

I have got this working again by setting --server letsencrypt when running ./acme.sh --issue

should be fixed now. with commit a61466848fce0351bd7d031d8bc917c062dd2167


Update Notification Service with the removed controls format

User Story
Automate notification users might want to see the summary of the truncated results in an InSpec report. The format of an InSpec report was recently updated to truncate test results. With the truncation a new JSON object called "removed_control_results" was added to give a summary of the removed results.
Definition of Done
For truncated InSpec controls display the "removed_control_results" summary in webhook slack, servicenow notifications.
Demo Script / Repro Steps

Create a notification point to a webhook. One example is http://requestbin.sjcmmsn.com/.
Send a truncated InSpec report. JSON_FILE=/src/components/compliance-service/test_data/audit_reports/2018-02-09_debian\(2\)-zeta-linux\(f\)-apache\(p\)-failed.json send_inspec_example.
Check if the "removed_results_counts" is displayed in the notification.

Below is a slack notification with the incorrect number of failed tests it should be 152 including the truncated tests in the "removed_results_counts" object.

The notifications-service does not send the number of tests to ServiceNow.


Archive this project

See: https://github.com/lynndylanhurley/redux-auth/issues/127.
Since the name is generic (e.g "redux-auth"), devs could try to use it, then have problems since it's abandoned.

Ping @lynndylanhurley


txn: add rollback log for pipelined dml

What is changed and how it works?

Issue Number: ref #16291

What's Changed:
Add rollback log for pipelined dml for better diagnosis.

Related changes

[ ] PR to update pingcap/docs/pingcap/docs-cn:
[ ] Need to cherry-pick to the release branch

Check List
Tests

[ ] Unit test
[ ] Integration test
[x] Manual test (add detailed scripts or steps below)
[ ] No code

The log be like
[check_txn_status.rs:180] ["flushed lock has been rollbacked"] [current_ts=18446744073709551615] [lock="Lock { lock_type: Put, primary_key:<PHONE_NUMBER>000002BF5F698000000000000001037FFFFFFFFF676982038000000000000002, start_ts: TimeStamp(449257004056182793), ttl: 1361000, short_value: 30, for_update_ts: TimeStamp(0), txn_size:<PHONE_NUMBER>3709551615, min_commit_ts: TimeStamp(449257004056182794), use_async_commit: false, secondaries: [], rollback_ts: [], last_change: Unknown, txn_source: 0, is_locked_with_conflict: false, generation: 1 }"] [thread_id=64]

Side effects

[ ] Performance regression: Consumes more CPU
[ ] Performance regression: Consumes more Memory
[ ] Breaking backward compatibility

Release note

None

/merge

/merge


How can I verify your algorithm performance?

Hello, I have some questions while running your NDP algorithm.
I finished environment settings and run code about 8hrs with
$ sh run_rl.sh faucet dmp 2 1
however it seems not working as well.

My questions are

How much time to train ppo and ndp algorithm for example environment?
How can I know or visualize result plot?
I am wondering about dmp_train.py code line 45 to line 72

for j in range(num_updates):
        if args.use_linear_lr_decay:
            utils.update_linear_schedule(
                agent.optimizer, j, num_updates,
                agent.optimizer.lr if args.algo == "acktr" else args.lr)
        envs.reset()
        for step in range(args.num_steps):
            if step % args.T == 0:
                with torch.no_grad():
                    values, actions, action_log_probs_list, recurrent_hidden_states_lst = actor_critic.act(
                        rollouts.obs[step], rollouts.recurrent_hidden_states[step],
                        rollouts.masks[step])

                action = actions[step % args.T]
                action_log_probs = action_log_probs_list[step % args.T]
                recurrent_hidden_states = recurrent_hidden_states_lst[0]
                value = values[:, step % args.T].view(-1, 1)

            obs, reward, done, infos = envs.step(action)

            episode_rewards.append(reward[0].item())
            masks = torch.FloatTensor(
                [[0.0] if done_ else [1.0] for done_ in done])
            bad_masks = torch.FloatTensor(
                [[0.0] if 'bad_transition' in info.keys() else [1.0]
                 for info in infos])
            rollouts.insert(obs, recurrent_hidden_states, action,
                            action_log_probs, value, reward, masks, bad_masks)

in this code, you input same action for step Ts to T(s+1)-1 (T = args.T), but i think that for each step, it is right to set action to actions[step%args.N] since dmp actor outputs N steps(N=args.N) actions.
could you explain more detail about this part?
Thank you!

Hi @OhJeongwoo,
To answer your questions:

How much time to train ppo and ndp algorithm for example environment?: It should take around 3M steps to see some good results, which should be around 4-6 hours (but this could vary drastically based on your machine.

How can I know or visualize result plot?: The logs are saved in epoch_data.npy, you can use any visualization package you want. I will update the repo with some visualization code shortly.

I am wondering about dmp_train.py code line 45 to line 72: Actually, args.T is the length of the NDP rollout. Every T steps, the NDP will output DMP parameters and execute the trajectory for T steps. So we should take the kth action for k=0, ..., T-1. More details cand be found in: https://arxiv.org/pdf/2012.02788.pdf

I have to disagree with your answer regarding 3. While it is true that you generate a new set of weights every T timesteps, I agree with @OhJeongwoo that the step action execution is incorrect. From the resulting trajectory of length T (here actions), you only ever use the first action for T steps, as action is never updated before the next DMP weights are sampled.


fix to granular_to_broad converions

An exciting fix!
The broad steps were being incremented from granular steps "a little late".
This is because an indexing tool I was using called "first_granular_step_per_broad_step" was actually the LAST granular step per broad step.
Example of the index:
 [0, 1, 3, 4, 6, 7, 8, 9, 11, 12, 14, 17, 18]

granular step 3 = the LAST granular step of broad step 2 (so granular_step 2 is also part of broad_step 2). It was previously assumed to be the first granular step (so granular_step 2 was assumed to be part of step 1).
We noticed latency in incrementing broad steps in the system. This will certainly improve that issue.

Some evidence that the mappings seem correct now:

The first part_of_broad was  equal to 1 before, which was wrong.

@hdefazio @joshanderson-kw PTAL.


Automated cherry pick of #4304: fix: 支持忽略cloudaccount健康检查

Cherry pick of #4304 on release/2.13.
#4304: fix: 支持忽略cloudaccount健康检查

Codecov Report

:exclamation: No coverage uploaded for pull request base (release/2.13@4074dde). Click here to learn what that means.
The diff coverage is 0%.

@@              Coverage Diff               @@
##             release/2.13   #4305   +/-   ##
==============================================
  Coverage                ?   6.87%
==============================================
  Files                   ?     520
  Lines                   ?   88195
  Branches                ?       0
==============================================
  Hits                    ?    6063
  Misses                  ?   81629
  Partials                ?     503

Flag
Coverage Δ

#aFlag
6.87% <0%> (?)

Impacted Files
Coverage Δ

pkg/compute/models/cloudaccounts.go
0.86% <0%> (ø)

Continue to review full report at Codecov.

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

/lgtm

/approve


While an ad is on the bottom of the screen, another ad also shows up on the top of the screen

While the banner ad is showing at the bottom of the screen, another ad is suddenly appearing on the top of the screen as well, so that ads displayed simultaneously both at the bottom and at the top. The hide method only closes the bottom ad, but does not close the top ad. The top ad does not go away until the user closes the app.
my config:
admob.banner.config({
id: admobid.banner,
isTesting: false,
bannerAtTop: false,
overlap: false,
autoShow: false
});
admob.banner.prepare();

I found the same issue (testing on Android)...
I found that with overlap false, if the webview is reloaded programatically/natively (using Android Java),  another banner will appear at the top (even if position is set to bottom and there's already an ad area). Each time the view is reloaded natively more ads will be added at the top in a stack.
Did you find a resolution to this issue?


NUTCH-2518 Must check return value of job.waitForCompletion()

This is a preliminary PR for review purposes w.r.t. NUTCH-2518.

Correct, that's one point. But also have a look at #239 what has been done in Injector.

@kpm1985 closing this off


Raise docstring

I added raise section into docstring of the function.

Hi, thanks a lot for doing that! However, I think that these docstrings should be implemented in the actual fucntion definitions not in the test functions. Could you maybe change that?


Problem with generateInstCat

A number of instanceCatalog failures occurred this evening as Run 1.1p production ramps up.  Is this a bug in the generator code, or is this an I/O bottleneck?  I am suspicious about the need to lock a file.
Here is an example output:
Tue Feb 20 20:32:49 PST 2018
$ /usr/bin/time generateInstCat.py --db /global/projecta/projectdirs/lsst/groups/SSim/DC2/minion_1016_desc_dithered_v4.db --agn_db_name /global/projecta/projectdirs/lsst/groups/SSim/DC2/agn_db_mbh_7.0_m_i_30.0.sqlite --descqa_catalog protoDC2 --fov 2.1 --protoDC2_ra 55.064 --protoDC2_dec -29.783 --enable_sprinkler --min_mag 10.0 --out_dir /global/cscratch1/sd/descpho/Pipeline-tasks/DC2-phoSim-3_WFD-r/000111/instCat --ids 250408

/global/common/software/lsst/common/miniconda/py3-4.3.21/lib/python3.6/site-packages/matplotlib/__init__.py:1405: UserWarning:
This call to matplotlib.use() has no effect because the backend has already
been chosen; matplotlib.use() must be called *before* pylab, matplotlib.pyplot,
or matplotlib.backends is imported for the first time.

  warnings.warn(_use_error_msg)
/global/common/software/lsst/cori-haswell-gcc/stack/w.2018.03_py3/stack/miniconda3-4.3.21-10a4fa6/Linux64/sims_catalogs/2.5.0.sims/python/lsst/sims/catalogs/db/dbConnection.py:553: UserWarning: Duplicate object type id 4 specified:
Output object ids may not be unique.
This may not be a problem if you do not want globally unique id values
  'want globally unique id values')
/global/common/software/lsst/cori-haswell-gcc/stack/w.2018.03_py3/stack/miniconda3-4.3.21-10a4fa6/Linux64/sims_catalogs/2.5.0.sims/python/lsst/sims/catalogs/db/dbConnection.py:553: UserWarning: Duplicate object type id 28 specified:
Output object ids may not be unique.
This may not be a problem if you do not want globally unique id values
  'want globally unique id values')
WARNING: ErfaWarning: ERFA function "utcut1" yielded 1 of "dubious year (Note 3)" [astropy._erfa.core]
/global/common/software/lsst/cori-haswell-gcc/stack/w.2018.03_py3/stack/miniconda3-4.3.21-10a4fa6/Linux64/sims_catUtils/2.5.0.sims+1/python/lsst/sims/catUtils/mixins/VariabilityMixin.py:852: RuntimeWarning: divide by zero encountered in true_divide
  dd = _au_to_parsec/parallax
Traceback (most recent call last):
  File "/global/common/software/lsst/cori-haswell-gcc/sims_GCRCatSimInterface/sims_GCRCatSimInterface-0.1.1/bin/generateInstCat.py", line 51, in
    instcat_writer.write_catalog(obsHistID, out_dir=args.out_dir, fov=args.fov)
  File "/global/common/software/lsst/cori-haswell-gcc/sims_GCRCatSimInterface/sims_GCRCatSimInterface-0.1.1/python/desc/sims/GCRCatSimInterface/InstanceCatalogWriter.py", line 327, in write_catalog
    write_header=False)
  File "/global/common/software/lsst/cori-haswell-gcc/sims_GCRCatSimInterface/sims_GCRCatSimInterface-0.1.1/python/desc/sims/GCRCatSimInterface/TwinklesClasses.py", line 89, in write_catalog
    dbo = dboClass()
  File "/global/common/software/lsst/cori-haswell-gcc/sims_GCRCatSimInterface/sims_GCRCatSimInterface-0.1.1/python/desc/sims/GCRCatSimInterface/DatabaseEmulator.py", line 220, in __init__
    gc = GCRCatalogs.load_catalog(yaml_file_name, config_overwrite)
  File "/global/common/software/lsst/common/miniconda/py3-4.3.21/lib/python3.6/site-packages/GCRCatalogs/register.py", line 169, in load_catalog
    return load_catalog_from_config_dict(config)
  File "/global/common/software/lsst/common/miniconda/py3-4.3.21/lib/python3.6/site-packages/GCRCatalogs/register.py", line 120, in load_catalog_from_config_dict
    BaseGenericCatalog)(**catalog_config)
  File "/global/common/software/lsst/common/miniconda/py3-4.3.21/lib/python3.6/site-packages/GCR.py", line 60, in __init__
    self._subclass_init(**kwargs)
  File "/global/common/software/lsst/common/miniconda/py3-4.3.21/lib/python3.6/site-packages/GCRCatalogs/alphaq.py", line 81, in _subclass_init
    with h5py.File(self._file, 'r') as fh:
  File "/global/common/software/lsst/common/miniconda/py3-4.3.21/lib/python3.6/site-packages/h5py/_hl/files.py", line 271, in __init__
    fid = make_fid(name, mode, userblock_size, fapl, swmr=swmr)
  File "/global/common/software/lsst/common/miniconda/py3-4.3.21/lib/python3.6/site-packages/h5py/_hl/files.py", line 101, in make_fid
    fid = h5f.open(name, flags, fapl=fapl)
  File "h5py/_objects.pyx", line 54, in h5py._objects.with_phil.wrapper
  File "h5py/_objects.pyx", line 55, in h5py._objects.with_phil.wrapper
  File "h5py/h5f.pyx", line 78, in h5py.h5f.open
OSError: Unable to open file (Unable to lock file, errno = 524, error message = 'unknown error 524')
146.08user 38.38system 18:28.22elapsed 16%CPU (0avgtext+0avgdata 1760112maxresident)k
0inputs+45952outputs (78major+778603minor)pagefaults 0swaps

@TomGlanzman see if this fixes it:
export HDF5_USE_FILE_LOCKING=FALSE

Ref: http://www.nersc.gov/users/data-analytics/data-management/i-o-libraries/hdf5-2/h5py/#toc-anchor-6

@yymao thanks, I put in that change a few minutes after you posted and that particular problem seems to have gone away.  Will close this issue.  Thanks again!


ANT parameter to specify path to additional catalog file

For now the DITA OT only looks in the "catalog-dita.xml" for catalog mappings.
It would be interesting to add a new parameter which specifies the path to an additional custom user defined catalog file.
In this way the user could use the specialization DTDs from an external location without making them into a plugin.
For example in Oxygen XML Editor the bundled DITA OT is located in the installation directory which may not have access rights for regular users.

@jelovirt on Dec. 19, 2014: but do the pipeline tasks support URI resolution or even the plugin: URI mechanism?
Our existing 1.5.2 implementation uses URIs within stylesheets for stylesheet imports. Some tasks that have been migrated to pipeline tasks in 2.3 (i.e. maplink) no longer resolve URI-based imports within stylesheets inserted in maplink.xsl via dita.xsl.maplink.


This adds the any-matcher

You guys already added the all-matcher. This is very helpful. Unfortunately there's no any-matcher available. I hope I do not oversaw a similar functionality.
To have the any-matcher along this would make code at cucumber/aurba easier. This PR adds this matcher. It is based on the All-matcher and is a sub-class of this and re-uses most code given there.
BTW:
This PR also changes the behaviour of all when an exception - aka ArgumentError - is raised. Now the matches-call is wrapped with in a begin; end-block to make it check all objects and not to stop on the first one where the exception occured.

Normally I don't change a project's Gemfile, but without that change I was not able to run the test suite.

Is there a timeline when you drop support for End of Service-rubies?

Not yet. As a testing framework we should be the last to drop them, but we are vaguely debating dropping 1.8.7 in 4.0

Not yet. As a testing framework we should be the last to drop them, but we are vaguely debating dropping 1.8.7 in 4.0

Ok. Good to know.
What do you think about the PR?

We have intentionally not provided an any matcher for two reasons:

include already provides the same capability.  expect(list).to include(a_value > 10) passes if list.any? { |x| x > 10 }.
expect(list).to all be_odd reads like English; but expect(list).to any be_odd is completely nonsensical to a native English speaker.  (I'm actually not sure of the grammatical reasons for why that is.)

As for the rescue added to all, we take the position that it is the responsibility of each matcher to to return true/false from matches? so for a case like expect([1, 'a', 11]).to all(be < 10), the bug is in hte be < 10 matcher as it should return false rather than raising an error when given 'a'.  See 7838ca3d4254c168d49ad06783d364ef4b4f0bc5 as an example of how we've done this for other matchers.  Want to work up a separate PR that fixes the be < matcher?
Also, if you want to work up a PR to improve our all docs to mention that we have include instead of any we could merge that.

include already provides the same capability. expect(list).to include(a_value > 10) passes if list.any? { |x| x > 10 }.

Will this work with it { expect(all_commands).to include have_output("foo") }? If yes, does it makes sense to add a new alias have_at_least_one_member to make it more readable?

expect(list).to all be_odd reads like English; but expect(list).to any be_odd is completely nonsensical to a native English speaker. (I'm actually not sure of the grammatical reasons for why that is.)

Mmh, if this really is the problem, I could add some aliases for this:
it { expect([1, 3, 11]).to have_any_member( be < 10 ) }
it { expect([1, 3, 11]).to have_a_member( be < 10 ) }
it { expect([1, 3, 11]).to have_at_least_one_member( be < 10 ) }

Want to work up a separate PR that fixes the be < matcher?
Also, if you want to work up a PR to improve our all docs to mention that we have include instead of any we could merge that.

Yes, will do that for both tomorrow.

Will this work with it { expect(all_commands).to include have_output("foo") }?

Yes.

If yes, does it makes sense to add a new alias have_at_least_one_member to make it more readable?

I don't consider it more readable, but if you want that alias, it's one line of code to add it:
RSpec::Matchers.alias_matcher :have_at_least_one_member, :include

Ok, perfect. Thanks.

Ok. I send you 2 PRs.


Collect image, size, location and platform info when deploy failed.

Even deploy fail, we still need collect as much info as we can.

Merge latest commits to previous, because it handles same things in this PR.

Done.


signature decrypt not working anymore

seems like youtube changed something. I cannot download ANYTHING, it shows me the link but its redirecting me to a blank page.

seems like it has something to do with the signatures?
i can download not ciphered stuff tho

Without at least one video ID to test, I can't do much.
I can download videos here. please check if Google blocked you or not

It should be fixed in 2.9.2. Test it please

@masihyeganeh Please test the video id: nk8_rNFdlTA


Revert "Copy flutter.bat before execution"

Reverts flutter/flutter#20554
Speculatively reverting to see if it fixes the Windows Chromebot, which is sometimes failing with "The process cannot access the file because it is being used by another process.". The failure does not reproduce locally or on Cirrus :(

LG


Implement Kernel#initialize_copy

I can't find much about this method -- is it just there as a hook for user programs to override and add functionality? (It doesn't seem to do anything otherwise.)

@seven1m It's an internal method that gets called by both #initialize_dup and #initialize_clone, which are hooks called by #dup and #clone. I don't think it's something you'd override very often in user programs, there are some stdlib classes which override it in MRI.
My intention is to next implement #initialize_dup and #initialize_clone, then we need to hook those into #dup and #clone to make it useful—I would have included more in this pull request but I think Object::dup needs re-implementing to make it spec compliant, which is a non trivial change.

Cool, sounds good. Thanks for the explanation. <3


documentation: nbconvert: % width, height not working

chart disappears in the generated html if width or height is a percentage

outdated: create a new documentation site with mkdocs material


TypeError: Cannot read property 'document' of undefined

PrettifyCommand and ConvertSeparatorsCommand
https://sentry.io/silvenga/vscode-edi-support/issues/536003786/
https://sentry.io/silvenga/vscode-edi-support/issues/536004503/
TypeError: Cannot read property 'document' of undefined
  File "C:\Users\REDACTED\.vscode\extensions\Silvenga.edi-x12-support-0.10.9\out\src\commands\convertSeparatorsCommand.js", line 31, col 60, in ConvertSeparatorsCommand.<anonymous>
    let document = vscode_1.window.activeTextEditor.document.getText();
  ?, in Generator.next
  File "C:\Users\REDACTED\.vscode\extensions\Silvenga.edi-x12-support-0.10.9\out\src\commands\convertSeparatorsCommand.js", line 16, col 71, in null.<anonymous>
    step((generator = generator.apply(thisArg, _arguments || [])).next());
  ?, in Promise
  File "C:\Users\REDACTED\.vscode\extensions\Silvenga.edi-x12-support-0.10.9\out\src\commands\convertSeparatorsCommand.js", line 12, col 12, in __awaiter
    return new (P || (P = Promise))(function (resolve, reject) {
  File "C:\Users\REDACTED\.vscode\extensions\Silvenga.edi-x12-support-0.10.9\out\src\commands\convertSeparatorsCommand.js", line 30, col 16, in ConvertSeparatorsCommand.command
    return __awaiter(this, void 0, void 0, function* () {
  File "C:\Users\REDACTED\.vscode\extensions\Silvenga.edi-x12-support-0.10.9\out\src\decorators\logExceptions.js", line 10, col 43, in ConvertSeparatorsCommand.descriptor.value
    const result = originalMethod.apply(this, args);
  File "Code\resources\app\out\vs\workbench\node\extensionHostProcess.js", line 595, col 160, in e._executeContributedCommand (c:\Program Files\Microsoft VS
  File "Code\resources\app\out\vs\workbench\node\extensionHostProcess.js", line 595, col 577, in e.$executeContributedCommand (c:\Program Files\Microsoft VS
  File "Code\resources\app\out\vs\workbench\node\extensionHostProcess.js", line 560, col 395, in e._doInvokeHandler (c:\Program Files\Microsoft VS
  File "Code\resources\app\out\vs\workbench\node\extensionHostProcess.js", line 560, col 113, in e._invokeHandler (c:\Program Files\Microsoft VS
  File "Code\resources\app\out\vs\workbench\node\extensionHostProcess.js", line 559, col 237, in e._receiveRequest (c:\Program Files\Microsoft VS
  File "Code\resources\app\out\vs\workbench\node\extensionHostProcess.js", line 559, col 6, in e._receiveOneMessage (c:\Program Files\Microsoft VS
  File "Code\resources\app\out\vs\workbench\node\extensionHostProcess.js", line 558, col 75, in c:\Program Files\Microsoft VS
  File "Code\resources\app\out\vs\workbench\node\extensionHostProcess.js", line 560, col 929, in c:\Program Files\Microsoft VS
  File "Code\resources\app\out\vs\workbench\node\extensionHostProcess.js", line 88, col 30, in c:\Program Files\Microsoft VS
  File "Code\resources\app\out\vs\workbench\node\extensionHostProcess.js", line 89, col 344, in e.fire (c:\Program Files\Microsoft VS
  File "Code\resources\app\out\vs\workbench\node\extensionHostProcess.js", line 143, col 1008, in Socket.<anonymous> (c:\Program Files\Microsoft VS
  File "events.js", line 96, col 13, in emitOne
  File "events.js", line 191, col 7, in Socket.emit
  File "_stream_readable.js", line 178, col 18, in readableAddChunk
  File "_stream_readable.js", line 136, col 10, in Socket.Readable.push
  File "net.js", line 560, col 20, in **Pipe.onread**

VSCode v1.22.2 - Extension v0.10.9

Looks like this was related to VSCode.


Fixed Java version dependent on Flink.

As per this site, I clear Java 8 and add Java 17.
Adding Java 21 to beta based on contributor feedback.
The Maven version is modified to 3.9.0, the minimum version that rejects Java 8.

#24982

@flinkbot run azure

Why not ‘marge’?

#24982


_.intersection should work with arrays regardless of if the first arg is an array

Currently _.intersection(null, [1, 2, 3]); returns an empty array [] but it should return [1, 2, 3] just as _.intersection(null, [1, 2], null, [2, 3]) should return [2].
This would allign with the current behavior of _.union which _.union(null, [1, 2], null, [3]); returns [1, 2, 3].

The intersection of nothing and something is nothing. The union of nothing and something is something. I think the current behavior is the correct behavior.


/messages/mentions mentioning user in comment to status issue

Hi,
I've noticed that when someone mentions a user in comment to Deviation message contains both comment and deviation; when mention in comment to user profile - message contains both profile and comment.
But when mention happens in comment to Status -- no status object present, only comment itself.
Is it a bug?

Sorry, was an issue that it was a stacked message.


Tailwind or theme cursor issue?

I'm noticing that in the MarkdownEditor the text cursor is not centered where I'm typing.  It's actually way off.  I start typing where there cursor is but the text is showing up on a different line.
The cursor is where the yellow is.  but the text is coming out where the red is.  The further I go down in the editor to larger the offset between the cursor and text.

I thought this was a tailwind issue cause the MD wasn't showing up in the preview window correctly.
I've tried using Tailwind Typography like the docs mention.  But looks like the only way to use that is to wrap the the MarkdownEditor in a div like this.

<MarkdownEditor mode="tabs"  {carta} bind:value />

This formats the MD correctly but the text cursor in the editor is still not correct.

Hello, you need to specify your font and line height, as stated in the Getting Stated example, otherwise they might not match(as in your case). Just need to add the following:

The Tailwind Typography and other themes do not affect the editor styles: they are stylesheets for the final rendered HTML.

Hello, you need to specify your font and line height, as stated in the Getting Stated example, otherwise they might not match(as in your case). Just need to add the following:

Thanks for the reply!   I should have pasted in my whole code.    I did have this in there.
now I'm playing with it more and seeing that if I tweak it I can get it closer.
  :global(.carta-font-code) {
    font-family: '...', monospace;
    font-size: 1.1em;
    line-height: 32px;
 }

But this is still off.  How can I find the exact values to make this match up?  I've been inspecting the textarea element.  or do I just need to define them all in this css class maybe?

Usually setting the properties of .carta-font-code is enough. There are probably some conflicting styles. Could you please share a reproducible example?

I had this exact same issue. In my case it was due to this piece of CSS coming from styles.css which I was importing in my top level +layout.svelte
pre {
	padding: 0.5em;
}

As soon as I removed that from styles.css the cursor lined up properly.
This CSS is included in the official Sveltekit demo app so maybe also why you had it.

I'll close this for now, since I cannot reproduce the issue and the discussion has been inactive. Let me know if you still need help


Error handling for too long password

I get an assertion error when trying to use a password 40 chars in length:
assert len(key_bytes) == 32
AssertionError

Can you give an example of this error?  I just tried a 40 character password from the command line and it worked.

Probably misused it then. Closing


kapp adds default additional ownership and label scoping rules

Hi all!
I'm new to kapp and trying it out for our use-case.
I had resources preapplied to my cluster and was trying to get kapp to adopt them.
The command I used is:
kapp deploy -a myapp -f dump.yaml
The command failed with:
Invalid value: v1.LabelSelector{MatchLabels:map[string]string{"app":"ml-pipeline-viewer-crd", "app.kubernetes.io/component":"pipelines-viewer", "app.kubernetes.io/name":"pipelines-viewer", "kapp.k14s.io/a$
p":"1598878090435084849"}, MatchExpressions:[]v1.LabelSelectorRequirement(nil)}: field is immutable (reason: Invalid)

This is because kapp also tries to inject the label in things with spec.selector, like Deployment. But that field is immutable.
Is this by design? Why isn't kapp just applying the labels to the top-level object?

kapp by default applies additional ownership and label scoping rules to resources for the purpose of better tracking and resource "isolation" (see ownershipLabelRules and labelScopingRules in https://github.com/k14s/kapp/blob/develop/docs/config.md#ownershiplabelrules). you can disable them by adding annotations kapp.k14s.io/disable-default-ownership-label-rules: "" and kapp.k14s.io/disable-default-label-scoping-rules: "". (typically is used when adopting existing resources vs having kapp create them from scratch).

closing per explanation above. feel free to reopen if more discussion is wanted.

Also having this "error";
What are the effects of adding kapp.k14s.io/disable-default-ownership-label-rules: "" and kapp.k14s.io/disable-default-label-scoping-rules: "" to the deployments ?

Also having this "error";
What are the effects of adding kapp.k14s.io/disable-default-ownership-label-rules: "" and kapp.k14s.io/disable-default-label-scoping-rules: "" to the deployments ?

This seems pretty common when importing existing resources. It would be nice if kapp were smarter about not modifying immutable fields and if the docs provided more guidance about how to handle this.

@gabegorelick pointed out:

This seems pretty common when importing existing resources. It would be nice if kapp were smarter about not modifying immutable fields ...

Yes. #214 is where we're shaping the improved out-of-the-box experience. 👍🏼

... and if the docs provided more guidance about how to handle this.
Agreed. As a stopgap, we added an item to the FAQ (i.e. vmware-tanzu/carvel.dev#84 yielded https://carvel.dev/kapp/docs/latest/faq/#migrating-from-kubectl-apply-to-kapp) as a contextualized instance of this. Which is helpful....

But there's evidence that the whole configuring rules mechanism is not sufficiently documented in @revolunet's question:

What are the effects of adding kapp.k14s.io/disable-default-ownership-label-rules: "" and kapp.k14s.io/disable-default-label-scoping-rules: "" to the deployments ?

Today, most of the kapp docs are reference materials. The FAQ section is currently serving to attempt to fill the gap on "how to"s. But this issue is just one example of where without a guide, attempting to configure a kapp deploy can have lots of surprises.
While the roadmap for the maintainers does not currently have a slot for writing such guides, we can at least start to capture the needs.  I've done so here: kapp How to Guides (epic).

See also FAQ "... Field is immutable error"
The FAQ doesn't mention but the CLI option --apply-default-update-strategy=fallback-on-replace can be used to force replacement of resources kapp added the unwanted labels to, so you'll want to use
kapp deploy --default-label-scoping-rules=false --apply-default-update-strategy=fallback-on-replace ...


.v8flags.json on Linux

Could the .v8flags.(version).(username).json file be written to the standard directory ~/.cache on Linux?

Sure could. Feel free to PR for that.

#21


Write log

Please fix this PR by starting from master branch if you want to change the master branch and not experimental.


Validation issue with<PHONE_NUMBER>4653 (FR)

Please read the "guidelines for contributing" (linked above) and fill in the template below.
Country/region affected (e.g., "US"): FR
Example number(s) affected ("+1<PHONE_NUMBER>"):<PHONE_NUMBER>4653 (random number in tested range)
The phone number range(s) to which the issue applies ("+1 555 555-XXXX"):
National plan:
07000020000000<PHONE_NUMBER>9999
07000010000000<PHONE_NUMBER>9999
07000030000000<PHONE_NUMBER>9999
07000000000000<PHONE_NUMBER>9999
The type of the number(s) ("fixed-line", "mobile", "short code", etc.): mobile
The cost, if applicable ("toll-free", "premium rate", "shared cost"):
Supporting evidence (for example, national numbering plan, announcement from mobile carrier, news article): IMPORTANT - anything posted here is made public. Read the guidelines first!
Official numbering plan (direct link to xls file)
General news post about this change

link to demo

@Zehir,
Thank you for using libphonenumber!
As per below official docs these 13 to 14 digit 700 numbers are extended length mobile numbers that are used for M2M communications.
http://www.arcep.fr/uploads/tx_gsavis/12-0855.pdf
http://www.arcep.fr/index.php?id=8146
libphonenumber presently do not support M2M numbers. But we are checking on the options on how to support M2M numbers.
Please take a look at below pages.
What about m2m machine to machine numbers
Support M2M numbers
This issue is actually duplicate of French Prefix 0700.
If you think that these are not M2M numbers, please feel free to reopen and provide your inputs.

Sorry I dont see the duplicate issues.
Thank


Add fallbacks for dbc endpoints

These fallbacks make the SceneScript viewer work again

There were two issues, the first is that the request to load the SceneScriptPackage is not lower case which results in a "DB2 not found" issue and the second was that the build was set to null. The request url looks like this on the latest version (0.4.1) on my site https://.../dbc/header/SceneScriptPackage/?build=null.

It not being lowercase shouldn't matter as DBCProvider's StreamForTableName already lowercases the DB2, so the .ToLower change shouldn't do anything. The build being null is an issue though, are you running in online mode maybe?


Looks like we need account context after all...

TODO:

Make it compile
Test everything!
Write down / formalize how I'm managing account state, cookies, and redirects/refreshes in the Issue.

Okay, I think I could have ManageAccount pass in an "after submitting" function to AccountForm as a parameter. That "after submitting" function could update the displayed username.

Better idea: Inside AccountForm, let's check if the form has a "username" field, and if it does then let's setAccount using that. This modification should reduce code duplication across everything except the update password form.

TODO:

Display success message on password change (since the user currently doesn't get any confirmation).
Make it compile
Test everything!
Write down / formalize how I'm managing account state, cookies, and redirects/refreshes in the Issue.

I think it's actually working!
TODO for future branches:

Display success message on password change (since the user currently doesn't get any confirmation).
Write down / formalize how I'm managing account state, cookies, and redirects/refreshes in the Issue.


[NLP] Fix URL normalization

Example - https://twitter.com/marielgoddu/status/1784709899357716521

@ShaRefOh  not sure, please open an issue with steps to reproduce the error (a list of urls or something similar)

Ok, but for that, I will need to go through the posts one by one instead of using the batch parser function.


Doubling of data point at edges of TextGrid intervals

VoiceSauce and OpenSauce have a strange behavior when processing files using TextGrids.  At the edge of a TextGrid interval, where the label switches, the data point is calculated twice.
For example:

Filename        Label   seg_Start       seg_End t_ms    snackF0
beijing_f3_50_a.wav     C1      0.766   0.866   865.000 211.009
beijing_f3_50_a.wav     C1      0.766   0.866   866.000 210.769
beijing_f3_50_a.wav     V1      0.866   1.074   866.000 210.769
beijing_f3_50_a.wav     V1      0.866   1.074   867.000 210.632

Notice that the data point for t = 866 ms is repeated twice, each with a different label C1 and V1.  The values calculated are the same for both entries with t = 866 ms, but it's strange that it's repeated twice with different labels.

We make it a command line option where or not to double the interval end point.  The command line option --include-interval-endpoint includes the upper end point, i.e. [a, b].  Conversely, the command line option --exclude-interval-endpoint excludes the upper end point, i.e. [a, b).  Using the option --include-interval-endpoint emulates the VoiceSauce behavior of doubling the interval end point.  Currently, we set the OpenSauce default to --exclude-interval-endpoint, so there is no doubling.  The command line options are addressed in commits https://github.com/voicesauce/opensauce-python/commit/0efe5ea2a74a358ece161abc02666b689859d8b4 and https://github.com/voicesauce/opensauce-python/commit/c94bd646b3505690e5ae1d9e1d27434872c18feb


[q/bug] duplication of selectors in print stuff

Hi there!
I noticed that in final file of 4.0 release there is duplication of .hidden-print selector. however in 3.x version its single. is that intentional or its a bug?
vasyl@vzuzyak-hp /tmp $ grep 'rap v' boot*
bootstrap.css: * Bootstrap v3.3.5 (http://getbootstrap.com)
bootstrap.css~: * Bootstrap v4.0.0-alpha (http://getbootstrap.com)
vasyl@vzuzyak-hp /tmp $ grep -n -B1 -A3 '.hidden-print {' boo*
bootstrap.css-6795-@media print {
bootstrap.css:6796:  .hidden-print {
bootstrap.css-6797-    display: none !important;
bootstrap.css-6798-  }
bootstrap.css-6799-}
--
bootstrap.css~-6296-@media print {
bootstrap.css~:6297:  .hidden-print .hidden-print {
bootstrap.css~-6298-    display: none !important;
bootstrap.css~-6299-  }
bootstrap.css~-6300-}
vasyl@vzuzyak-hp /tmp $

Not present in the last version of dist/bootstrap.css :
https://github.com/twbs/bootstrap/blob/v4-dev/dist/css/bootstrap.css#L6290-L6294

then I guess issue may be closed..